Skip to content
Snippets Groups Projects
  1. Nov 14, 2019
    • Yorhel's avatar
      Fix cross compiler targets · a5e08cf5
      Yorhel authored
      I assumed that ./configure would fail if it can't find a suitable
      compiler for the given --host, but it just falls back to the host gcc.
      
      Fixes #138
      a5e08cf5
  2. Aug 17, 2019
  3. Aug 05, 2019
  4. Aug 04, 2019
  5. 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
  6. Apr 19, 2019
  7. Feb 19, 2019
  8. Feb 18, 2019
  9. Feb 04, 2019
  10. Jan 24, 2019
  11. Jan 21, 2019
  12. 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
  13. Dec 16, 2018
  14. Dec 01, 2018
  15. Sep 03, 2018
  16. Jul 24, 2018
  17. Jun 13, 2018
  18. Mar 29, 2018
  19. Feb 21, 2018
  20. Jan 29, 2018
  21. Jan 23, 2018
  22. Jan 21, 2018
  23. 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
  24. 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
  25. Mar 27, 2017
  26. Jan 06, 2017
Loading