Commit graph

15 commits

Author SHA1 Message Date
yorhel
db920f8dab * Added error handling for the import feature
* Created own window-functions and removed ncurses window usage
* Rewrote fullsize


git-svn-id: svn://blicky.net/ncdu/trunk@27 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-16 08:36:58 +00:00
yorhel
96d0ffffa2 The "reference to parent directory" hack is now only used in drawBrowser in browser.c, and is not included in the main dir structure anymore. (less code, easier, faster, less memory usage)
git-svn-id: svn://blicky.net/ncdu/trunk@26 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-12 09:52:24 +00:00
yorhel
55405140f7 * (BETA) Implemented file list exporting and importing
* Added file format specification (README.fileformat)
* Moved settingsCli in settings.c to parseCli in main.c
* Bugfix: drawError in calc.c was not shown when an error occurred while reading the main dir


git-svn-id: svn://blicky.net/ncdu/trunk@25 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-11 20:01:16 +00:00
yorhel
ce53b81dc5 Configure checks for ncurses.h, fixes bug #1764304
git-svn-id: svn://blicky.net/ncdu/trunk@20 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-02 08:21:11 +00:00
yorhel
2a9b34ce2d * Added 'a'-key to toggle between showing apparent size and disk usage
* Added 'i'-key to show a small window containing info on the selected item
* Cleaned up file flags and browse flags


git-svn-id: svn://blicky.net/ncdu/trunk@19 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-01 15:01:42 +00:00
yorhel
fa0aa6b53b * Calculate both apparent size and disk usage
* Removed apparent sizes option
* Combined "files" and "dirs" to "items" in the dir structure
* Updated TODO


git-svn-id: svn://blicky.net/ncdu/trunk@18 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-01 13:17:26 +00:00
yorhel
b2b43689f0 Preperations for the export feature: re-ordered the file flags and removed FF_OTHER (which is the same as \!(FF_DIR | FF_FILE))
git-svn-id: svn://blicky.net/ncdu/trunk@16 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-29 14:06:05 +00:00
yorhel
614134b59b Items will not be unnecessarily resorted when they are already in the correct order
git-svn-id: svn://blicky.net/ncdu/trunk@14 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-27 07:52:50 +00:00
yorhel
c96bf1636a Changed struct dir from a doubly to a singly linked list (less memory usage, faster, and easier)
git-svn-id: svn://blicky.net/ncdu/trunk@13 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-26 16:37:33 +00:00
yorhel
ce6785124c Rewrote calc.c to be more flexible and clarifying, and changed the global 'dir' to a pointer
git-svn-id: svn://blicky.net/ncdu/trunk@10 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-25 18:38:49 +00:00
yorhel
32a535d6d7 * When changing sort order to size, automatically sort in descending order
* Removed unused and hidden feature to sort on number of files
* When sorting on size, and multiple items have the same size, sort them on filename
* Updated changelog


git-svn-id: svn://blicky.net/ncdu/trunk@8 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-24 08:53:55 +00:00
yorhel
87a7925b99 * Rewrote the file browser, help window, and delete windows
* Split browser.c into delete.c and help.c
* Added "reference to parent directory"-hack
* File browser doesn't use the ncurses menu lib anymore
* Fixed bug #1758403: large directories work fine now
* Fixed bug with wide characters in the browser
* Performance improvements when browsing large directories
* Required (instead of recommended) gettimeofday()


git-svn-id: svn://blicky.net/ncdu/trunk@6 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-24 07:58:22 +00:00
yorhel
3fddf6f09b Added exclude option and increased version numer
git-svn-id: svn://blicky.net/ncdu/trunk@3 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-21 13:55:51 +00:00
yorhel
4de245f29b Small bugfixes + cygwin patch
git-svn-id: svn://blicky.net/ncdu/trunk@2 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-20 11:29:50 +00:00
yorhel
6e3bbe69ee Initial import (ncdu-1.1)
git-svn-id: svn://blicky.net/ncdu/trunk@1 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-20 11:15:46 +00:00