Skip to content
Snippets Groups Projects
  1. Aug 17, 2019
  2. Aug 05, 2019
  3. Aug 04, 2019
  4. 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
  5. Apr 19, 2019
  6. Feb 19, 2019
  7. Feb 18, 2019
  8. Feb 04, 2019
  9. Jan 24, 2019
  10. Jan 21, 2019
  11. 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
  12. Dec 16, 2018
  13. Dec 01, 2018
  14. Sep 03, 2018
  15. Jul 24, 2018
  16. Jun 13, 2018
  17. Mar 29, 2018
  18. Feb 21, 2018
  19. Jan 29, 2018
  20. Jan 23, 2018
  21. Jan 21, 2018
  22. 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
  23. 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
  24. Mar 27, 2017
  25. Jan 06, 2017
  26. Aug 24, 2016
Loading