diff --git a/COPYING b/COPYING index 09a50d1..2ff764f 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2007-2020 Yoran Heling +Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/ChangeLog b/ChangeLog index dcb02cb..c15292d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +1.16 - 2021-07-02 + - Increase width of size bar depending on terminal size (Christian Göttsche) + - Set/increment $NCDU_LEVEL variable when spawning a shell + - Indicate whether apparent size or disk usage is being displayed + - Display setuid, setgid and sticky bits in file flags in extended mode + - Fix error handling while reading --exclude-from file + - Improve JSON import to allow for several future extensions to the format + - Export link count in JSON dumps + - Don't export inode in JSON dumps for non-hardlinks + 1.15.1 - 2020-06-10 - (Linux) Fix build on older Linux systems (Christian Göttsche) - (MacOS) Revert "Exclude firmlinks by default" behavior (until we have a better solution) diff --git a/README b/README index 816ccd3..709e913 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -ncdu 1.15.1 -=========== +ncdu 1.16 +========= DESCRIPTION @@ -33,7 +33,7 @@ INSTALL COPYING - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/configure.ac b/configure.ac index a5d1cd4..d2562d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -AC_INIT([ncdu],[1.15.1],[projects@yorhel.nl]) +AC_INIT([ncdu],[1.16],[projects@yorhel.nl]) AC_CONFIG_SRCDIR([src/global.h]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([foreign std-options subdir-objects]) diff --git a/doc/ncdu.pod b/doc/ncdu.pod index 02ac48a..2fcc981 100644 --- a/doc/ncdu.pod +++ b/doc/ncdu.pod @@ -434,8 +434,8 @@ anything can happen. On macOS 10.15 and later, running ncdu on the root directory without `--exclude-firmlinks` may cause directories to be scanned and counted multiple -times. Firmlink cycles are currently (1.15.1) not detected, so it may also -cause ncdu to get stuck in an infinite loop and eventually run out of memory. +times. Firmlink cycles are currently (1.16) not detected, so it may also cause +ncdu to get stuck in an infinite loop and eventually run out of memory. Please report any other bugs you may find at the bug tracker, which can be found on the web site at https://dev.yorhel.nl/ncdu diff --git a/src/browser.c b/src/browser.c index 61f8858..7467d20 100644 --- a/src/browser.c +++ b/src/browser.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/browser.h b/src/browser.h index 9f1579c..03c3f8b 100644 --- a/src/browser.h +++ b/src/browser.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/delete.c b/src/delete.c index d60ee6c..ab3534c 100644 --- a/src/delete.c +++ b/src/delete.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/delete.h b/src/delete.h index 6abb431..9b2dcd7 100644 --- a/src/delete.h +++ b/src/delete.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir.h b/src/dir.h index 39bb41f..c46bb31 100644 --- a/src/dir.h +++ b/src/dir.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir_common.c b/src/dir_common.c index 9eb06e8..c67336d 100644 --- a/src/dir_common.c +++ b/src/dir_common.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir_export.c b/src/dir_export.c index 83590d4..3ca8fd7 100644 --- a/src/dir_export.c +++ b/src/dir_export.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir_import.c b/src/dir_import.c index ed5dbe2..0f42d5e 100644 --- a/src/dir_import.c +++ b/src/dir_import.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir_mem.c b/src/dir_mem.c index f513ab7..fa19c6a 100644 --- a/src/dir_mem.c +++ b/src/dir_mem.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dir_scan.c b/src/dir_scan.c index 9629f32..87b416b 100644 --- a/src/dir_scan.c +++ b/src/dir_scan.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dirlist.c b/src/dirlist.c index bf2ea01..2061007 100644 --- a/src/dirlist.c +++ b/src/dirlist.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/dirlist.h b/src/dirlist.h index e833b01..0b0493a 100644 --- a/src/dirlist.h +++ b/src/dirlist.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/exclude.c b/src/exclude.c index 572335f..6a343db 100644 --- a/src/exclude.c +++ b/src/exclude.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/exclude.h b/src/exclude.h index 72eff50..83f6c09 100644 --- a/src/exclude.h +++ b/src/exclude.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/global.h b/src/global.h index afb9c5e..a5d1b02 100644 --- a/src/global.h +++ b/src/global.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/help.c b/src/help.c index 4ceeebc..e0730f1 100644 --- a/src/help.c +++ b/src/help.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/help.h b/src/help.h index 09fd553..0fbc38e 100644 --- a/src/help.h +++ b/src/help.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/main.c b/src/main.c index 6e85c52..c72a208 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/path.c b/src/path.c index 8ccdfa9..41232c7 100644 --- a/src/path.c +++ b/src/path.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/path.h b/src/path.h index 773da9d..b70adb7 100644 --- a/src/path.h +++ b/src/path.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/quit.c b/src/quit.c index 154e319..dddade5 100644 --- a/src/quit.c +++ b/src/quit.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2015-2020 Yoran Heling + Copyright (c) 2015-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/quit.h b/src/quit.h index 6c50d5e..1031891 100644 --- a/src/quit.h +++ b/src/quit.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2015-2020 Yoran Heling + Copyright (c) 2015-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/shell.c b/src/shell.c index b881700..04e6033 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Shell support: Copyright (c) 2014 Thomas Jarosch Permission is hereby granted, free of charge, to any person obtaining diff --git a/src/shell.h b/src/shell.h index b0e53b7..6b5709d 100644 --- a/src/shell.h +++ b/src/shell.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Shell support: Copyright (c) 2014 Thomas Jarosch Permission is hereby granted, free of charge, to any person obtaining diff --git a/src/util.c b/src/util.c index 5a1abea..8ea0f49 100644 --- a/src/util.c +++ b/src/util.c @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/src/util.h b/src/util.h index 2c3e5ed..98b2ee3 100644 --- a/src/util.h +++ b/src/util.h @@ -1,6 +1,6 @@ /* ncdu - NCurses Disk Usage - Copyright (c) 2007-2020 Yoran Heling + Copyright (c) 2007-2021 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/static/build.sh b/static/build.sh index 37cfabf..ad61b45 100755 --- a/static/build.sh +++ b/static/build.sh @@ -12,7 +12,7 @@ # where $arch = 'arm', 'i486' or 'x86_64' MUSL_CROSS_PATH=/opt/cross -NCURSES_VERSION=6.0 +NCURSES_VERSION=6.2 export CFLAGS="-O3 -g -static"