Skip to content
Snippets Groups Projects
  1. Apr 08, 2020
  2. Apr 07, 2020
  3. Apr 01, 2020
  4. Feb 10, 2020
  5. Feb 04, 2020
  6. Jan 25, 2020
  7. Aug 17, 2019
  8. Aug 04, 2019
  9. Jul 23, 2019
    • Yorhel's avatar
      Handle malloc failure by pausing any activity · bb7b4196
      Yorhel authored
      This is a best-effort approach to save ncdu state when memory is low.
      There's likely allocation in libraries that isn't being checked
      (ncurses, printf).
      
      Fixes #132 (it actually doesn't, that needs a 64bit static binary too,
      but I'll get to that)
      bb7b4196
  10. Apr 19, 2019
  11. Feb 19, 2019
  12. Feb 18, 2019
  13. Feb 04, 2019
  14. Jan 24, 2019
  15. Jan 21, 2019
    • Alex Wilson's avatar
      add a max modified time, or mtime, view and sorting · 60fdac06
      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.
      60fdac06
  16. Jan 20, 2019
    • Yorhel's avatar
      Fix crash when attempting to sort an empty directory · 2501fb1a
      Yorhel authored
      I had taken care to not sort empty directories during dirlist_open(),
      but forgot that manual user actions can still cause dirlist_set_sort()
      to be called, which does not handle empty directories.
      
      Reported by Alex Wilson.
      2501fb1a
  17. Dec 16, 2018
  18. Dec 01, 2018
  19. Sep 03, 2018
  20. Jul 24, 2018
  21. Jun 13, 2018
  22. Mar 29, 2018
  23. Jan 29, 2018
  24. Jan 23, 2018
  25. Jan 21, 2018
  26. Aug 17, 2017
    • Yorhel's avatar
      Use C99 flexible array member for struct dir · a830f7df
      Yorhel authored
      This should fix https://dev.yorhel.nl/ncdu/bug/99 - with the downside
      that this requires a C99 compiler.
      
      I also replaced all occurrences of static allocation of struct dir with
      use dynamic allocation, because I wasn't really sure if static
      allocation of flexible structs is allowed. In the case of dirlist.c the
      dynamic allocation is likely required anyway, because it does store a
      few bytes in the name field.
      a830f7df
  27. Jul 08, 2017
    • Yorhel's avatar
      Add support for colors and sprinkle some colors around · a369a43d
      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?
      a369a43d
  28. Mar 27, 2017
Loading