Skip to content
Snippets Groups Projects
  1. Jan 25, 2020
  2. 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
  3. Apr 19, 2019
  4. Feb 04, 2019
  5. Jan 24, 2019
  6. Dec 16, 2018
  7. Sep 03, 2018
  8. Jun 13, 2018
  9. Mar 29, 2018
  10. Jan 29, 2018
  11. Jan 23, 2018
  12. Jan 21, 2018
  13. 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
  14. Jan 06, 2017
  15. Aug 24, 2016
  16. Jan 12, 2016
  17. Sep 20, 2015
  18. Sep 19, 2015
  19. Dec 14, 2014
  20. Apr 13, 2014
  21. Jan 22, 2014
  22. Jul 23, 2013
  23. Apr 25, 2013
    • Yorhel's avatar
      Move khash & yopt to deps/ · 09c44475
      Yorhel authored
      Both microlibraries come from another source, and are not maintained as
      part of ncdu. This separation of src/ and deps/ makes the relation more
      clear.
      09c44475
  24. Apr 12, 2013
  25. Apr 10, 2013
  26. Jan 13, 2013
  27. Sep 08, 2012
  28. Sep 06, 2012
  29. Sep 05, 2012
  30. Aug 29, 2012
  31. Aug 28, 2012
  32. Aug 27, 2012
    • Yorhel's avatar
      Fixing some whitespace issues · dfbeed9d
      Yorhel authored
      dfbeed9d
    • Yorhel's avatar
      Added -u option to change the scan UI · 44e63ce2
      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.
      44e63ce2
  33. Aug 26, 2012
    • Yorhel's avatar
      Re-added scanning UI and improved error handling · 5064b4d6
      Yorhel authored
      5064b4d6
    • Yorhel's avatar
      Split calc.c into separate components (dir_(mem|scan|common).c) · 0fd7dec7
      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.
      0fd7dec7
  34. Aug 18, 2012
  35. Jan 18, 2012
  36. Oct 31, 2011
Loading