- Feb 04, 2019
-
-
Yorhel authored
-
- Jan 21, 2019
-
-
Alex Wilson authored
This adds an 'm' command to show the latest modified time of all files in a directory. The 'M' command allows for ascending and descending mtime sorting. These are only enabled with the -e flag and overload the dir_ext mtime field.
-
- Jul 24, 2018
-
-
Yorhel authored
Implements https://dev.yorhel.nl/ncdu/bug/43
-
- Jan 29, 2018
-
-
Yorhel authored
-
- Jan 23, 2018
-
-
Yorhel authored
It's looking a bit cramped, but I'm lazy.
-
- Jan 21, 2018
-
-
Yorhel authored
I've decided not to use ls-like file name coloring for now, instead just coloring the difference between a (regular) file and a dir. Still looking for a good color scheme for light backgrounds.
-
- Jul 08, 2017
-
-
Yorhel authored
TODO: - Add (ls-like) colors to the actual file names -> Implement full $LS_COLORS handling or something simple and custom? - Test on a white/black terminal, and provide an alternate color scheme if necessary. - Make colors opt-in?
-
- Jan 06, 2017
-
-
Yorhel authored
Fixes https://dev.yorhel.nl/ncdu/bug/94
-
- Aug 24, 2016
-
-
Yorhel authored
-
- Sep 20, 2015
-
-
Max Klinger authored
-
- Sep 19, 2015
-
-
piyo authored
-
- Aug 03, 2015
-
-
Robin Schneider authored
-
- Apr 05, 2015
-
-
Yorhel authored
Can cause too much confusion otherwise; The imported data may not at all reflect the filesystem that ncdu has access to.
-
- Dec 14, 2014
-
-
Thomas Jarosch authored
Key 'b' in the browse window spawns a shell in the current directoy. We first check the $SHELL environment variable of the user for the preferred shell interpreter. If it's not set, we fall back to the compile time configured default shell (usually /bin/bash). Signed-off-by:
Thomas Jarosch <thomas.jarosch@intra2net.com>
-
- Jan 22, 2014
-
-
Yorhel authored
-
Yorhel authored
Turns out that being able to open an empty directory actually has its uses: - If you delete the last file in a directory, you now won't be directed to the parent directory anymore. This allows keeping 'd' pressed without worrying that you'll delete stuff outside of the current dir. (This is the primary motivation for doing this) - You can now scan and later refresh an empty directory, as suggested by #2 in http://dev.yorhel.nl/ncdu/bug/15
-
Yorhel authored
-
- Jul 23, 2013
-
-
Yorhel authored
As per http://dev.yorhel.nl/ncdu/bug/31
-
- Jun 05, 2013
-
-
Yorhel authored
This has apparently been broken since version 1.7 (v1.6-7-g5db9c2a to be precise), yet NOBODY TOLD ME!? :-( The OSS community has left me in despair!
-
- May 09, 2013
-
-
Yorhel authored
Most of which made sense.
-
- Jan 13, 2013
-
-
Chris West (Faux) authored
-
Chris West (Faux) authored
-
- Sep 06, 2012
- Aug 27, 2012
-
-
Yorhel authored
This allows scanning stuff without initializing ncurses. Not too useful at this point since ncdu will switch to an ncurses environment when it's done anyway, but this will become more useful when the export-to-file feature has been implemented.
-
- Aug 26, 2012
-
-
Yorhel authored
This silences clang and gcc with -O2 -Wall -Wextra
-
Yorhel authored
The architecture is explained in dir.h. The reasons for these changes is two-fold: - calc.c was too complex, it simply did too many things. 399ccdeb is a nice example of that: Should have been an easy fix, but it introduced a segfault (fixed in 0b49021a), and added a small memory leak. - This architecture features a pluggable input/output system, which should make a file export/import feature relatively simple. The current commit does not feature any user interface, so there's no feedback yet when scanning a directory. I'll get to that in a bit. I've also not tested the new scanning code very well yet, so I might have introduced some bugs.
-
- Jan 18, 2012
-
-
Yorhel authored
Damn, it's 2012 already.
-
- Oct 31, 2011
- Sep 09, 2011
-
-
Rodolfo Borges authored
-
- Aug 13, 2010
-
-
Yorhel authored
This used to be the default before 1.5, but for some reason the default changed in 1.5 and 1.6. Changing it back now, because the graph really is useful, and there's still enough space for the filename even in smaller terminals.
-
- Jul 18, 2010
-
-
Yorhel authored
This solution is far cleaner. Thanks to Ben North for pointing me to the *-width-specifier that has apparently been built into the printf-family functions for, well, quite a while, it seems.
-
- Apr 28, 2010
-
-
Yorhel authored
The memory for this format is now statically allocated as well. I was under the impression its size would depend on wincols, but this is the format we're talking about, the string does not have to hold the actual line contents. I must have been sleeping again... Oh well, this is a slight performance improvement, although it doesn't seem the be the cause of the browing slowness when running under valgrind. (Obviously running ncdu with valgrind is supposed to be slower, but the current performance is rather bad...)
-
Yorhel authored
This changes the behaviour back to it was before the dirlist abstraction, which is the behaviour I prefer.
-
- Apr 27, 2010