Yorhel
7a0730f5d2
(Partly) rewrote browser.c to the new system
...
Not fully finished yet with this one, though.
2009-04-13 17:25:46 +02:00
Yorhel
fb7b9f94df
util.c:freedir() doesn't have to do anything with the selected flag
2009-04-11 14:16:51 +02:00
Yorhel
690eb3f593
Header file cleanup
...
Moved everything that doesn't belong in ncdu.h into the other header
or c files. Looks much better this way.
2009-04-11 13:49:08 +02:00
Yorhel
fa90c77c96
Rewrote util.h to the new style
2009-04-11 11:38:36 +02:00
Yorhel
b10a0f536f
Removed ncdu.h dependency from exclude.c
2009-04-11 10:53:39 +02:00
Yorhel
6c0a56a26f
Rewrote exclude.c to the new style
2009-04-11 10:53:13 +02:00
Yorhel
cc8cc99213
Moved definitions for calc.c to separate header file
...
Though it's not really useful yet now ncdu.h still includes it
2009-04-11 10:04:24 +02:00
Yorhel
c4be23a4c5
Each state can have it's own global variable
2009-04-11 09:58:33 +02:00
Yorhel
f392bf3ee1
Rewrote calc.c in the new style & framework
...
ncdu is currently pretty much in a non-working state, but things will
get fixed eventually after porting the other source files to the new
framework.
2009-04-10 18:16:33 +02:00
Yorhel
02705d2c7f
Renamed parseCli() and added argument for root dir
2009-04-08 19:40:18 +02:00
Yorhel
a0252cb0f2
Removing extern keyword from function declarations
...
Because that's the default, anyway.
2009-04-08 19:37:24 +02:00
Yorhel
c89686a8ab
Defined the first states in ncdu.h
2009-04-08 19:09:24 +02:00
Yorhel
e45afea1d6
Small manual page formatting cleanup
2009-04-05 15:23:16 +02:00
Yorhel
b56a70afc3
Updated the TODO list
...
...so I know what I can work on
2009-04-05 15:06:00 +02:00
Yorhel
c6dfb73040
Converting ignores and versions from subversion to git
2009-04-05 14:59:05 +02:00
yorhel
e7fb90fc67
Year bump
...
git-svn-id: svn://blicky.net/ncdu/trunk@48 ce56bc8d-f834-0410-b703-f827bd498a76
2009-01-11 09:34:19 +00:00
yorhel
20296b2567
Fixed rpath() bug on /.
...
git-svn-id: svn://blicky.net/ncdu/trunk@47 ce56bc8d-f834-0410-b703-f827bd498a76
2009-01-11 09:30:53 +00:00
yorhel
ca7ae5c142
Items are ordered by displayed size rather than disk usage
...
git-svn-id: svn://blicky.net/ncdu/trunk@46 ce56bc8d-f834-0410-b703-f827bd498a76
2008-12-11 17:13:03 +00:00
yorhel
c050d775d5
Size graph uses the apparent size if that is displayed
...
git-svn-id: svn://blicky.net/ncdu/trunk@45 ce56bc8d-f834-0410-b703-f827bd498a76
2008-12-11 17:07:55 +00:00
yorhel
6f2d258354
Pressing q while the info box is shown now hides the box, instead of quiting ncdu
...
git-svn-id: svn://blicky.net/ncdu/trunk@44 ce56bc8d-f834-0410-b703-f827bd498a76
2008-10-19 08:02:02 +00:00
yorhel
57be9e2905
Current directory is assumed when no directory is given on the commandline (more du-like), and give a proper error if a given dir exceeds PATH_MAX
...
git-svn-id: svn://blicky.net/ncdu/trunk@43 ce56bc8d-f834-0410-b703-f827bd498a76
2008-10-10 10:56:48 +00:00
yorhel
fec2f9a1c0
Made browse keys work when file information window is displayed
...
git-svn-id: svn://blicky.net/ncdu/trunk@42 ce56bc8d-f834-0410-b703-f827bd498a76
2008-09-20 09:35:21 +00:00
yorhel
01f9a1f552
Fixed incorrect apparent size on directory refresh
...
git-svn-id: svn://blicky.net/ncdu/trunk@41 ce56bc8d-f834-0410-b703-f827bd498a76
2008-09-17 16:40:39 +00:00
yorhel
04b7032846
Decided to get rid of that startup window...
...
git-svn-id: svn://blicky.net/ncdu/trunk@40 ce56bc8d-f834-0410-b703-f827bd498a76
2008-09-10 15:14:12 +00:00
yorhel
02a94d79e8
Updated Changelog and TODO
...
git-svn-id: svn://blicky.net/ncdu/trunk@39 ce56bc8d-f834-0410-b703-f827bd498a76
2008-09-10 14:22:27 +00:00
yorhel
4fdebc82d5
Added spaces around the path in browser.c (debian bug #472194 )
...
git-svn-id: svn://blicky.net/ncdu/trunk@38 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 18:29:35 +00:00
yorhel
c306d3fe3b
Updated copyright year to cover 2008 as well
...
git-svn-id: svn://blicky.net/ncdu/trunk@36 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 13:59:58 +00:00
yorhel
a4480b9523
Got rid of the FF_PAR hack
...
git-svn-id: svn://blicky.net/ncdu/trunk@35 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 13:43:39 +00:00
yorhel
9e2eb51ef4
Moved cursor to selected items in browser and deletion dialog for improved accessibility
...
git-svn-id: svn://blicky.net/ncdu/trunk@34 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 13:31:21 +00:00
yorhel
cd2ade76c6
Included patch from Cygwin package: Fix crash on names with slashes from /proc/registry
...
git-svn-id: svn://blicky.net/ncdu/trunk@33 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 11:14:48 +00:00
yorhel
6621d70d99
Removed export and import code from trunk and created separate development branch.
...
git-svn-id: svn://blicky.net/ncdu/trunk@32 ce56bc8d-f834-0410-b703-f827bd498a76
2008-08-02 09:37:49 +00:00
yorhel
1313c268dd
Updated ncdu -h
...
git-svn-id: svn://blicky.net/ncdu/trunk@31 ce56bc8d-f834-0410-b703-f827bd498a76
2007-11-24 08:54:22 +00:00
yorhel
6b05cc9f72
Bugfix: total disk usage and apparent size in the status bar were always equal
...
git-svn-id: svn://blicky.net/ncdu/trunk@30 ce56bc8d-f834-0410-b703-f827bd498a76
2007-11-02 19:22:20 +00:00
yorhel
abeb59fe30
Bugfix for systems that don't have an S_BLKSIZE of 512
...
git-svn-id: svn://blicky.net/ncdu/trunk@29 ce56bc8d-f834-0410-b703-f827bd498a76
2007-11-02 11:44:18 +00:00
yorhel
8a71f8860c
Fixed buffer overflow when supplying a path longer than PATH_MAX (patch by Tobias Stoeckmann)
...
git-svn-id: svn://blicky.net/ncdu/trunk@28 ce56bc8d-f834-0410-b703-f827bd498a76
2007-11-01 19:40:30 +00:00
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
70f7adecda
Fixed version in ncdu.1, and filenames ending with a tilde are now also hidden with the 'h'-key
...
git-svn-id: svn://blicky.net/ncdu/trunk@24 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-07 09:38:54 +00:00
yorhel
2533cb196d
Preperations for version 1.3
...
git-svn-id: svn://blicky.net/ncdu/trunk@23 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-05 12:14:52 +00:00
yorhel
4654bb93c4
Two small bug fixes: interface bug in the delete progress, and getpath returned double slash on root
...
git-svn-id: svn://blicky.net/ncdu/trunk@22 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-05 11:12:40 +00:00
yorhel
66bdf71f97
Documented the 'a' and 'i'-keys, help window is more dynamic and updated TODO
...
git-svn-id: svn://blicky.net/ncdu/trunk@21 ce56bc8d-f834-0410-b703-f827bd498a76
2007-08-05 10:23:18 +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
4859bc8810
Documented the refresh feature and made some improvements in the help window
...
git-svn-id: svn://blicky.net/ncdu/trunk@17 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-29 14:53:12 +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
62f1293b89
Fixed a few compiler warnings and added a TODO list
...
git-svn-id: svn://blicky.net/ncdu/trunk@15 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-29 10:50:48 +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