1
1
Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
Yorhel
fcc871737a Version bump + ChangeLog update for 1.8
I'm now following the same idea from ncdc of using $VERSION+g in the git
repositories.
2011-11-03 13:06:20 +01:00
Yorhel
46f0334111 ChangeLog update for the 1.7 release 2010-08-13 15:08:20 +02:00
Yorhel
3860ba217b Display size graph by default
This used to be the default before 1.5, but for some reason the default
changed in 1.5 and 1.6. Changing it back now, because the graph really
is useful, and there's still enough space for the filename even in
smaller terminals.
2010-08-13 11:38:27 +02:00
Yorhel
9f7bc01f11 Fixed segfault when launched on a nonexistant directory
Forgot to check the return value of path_absolute() in path_real(),
path_absolute() would return an error when getcwd() fails.

Fixes bug #3012787.
2010-07-19 12:45:33 +02:00
Yorhel
4d188cb9a2 TODO + ChangeLog update 2010-07-19 12:43:03 +02:00
Yorhel
b7ccf78b90 More intuitive multi-page browsing
Here is the new multi-page listing functionality I promised in
5db9c2aea1.

It may look very easy, but getting this to work right wasn't,
unfortunately.
2010-04-28 13:32:30 +02:00
Yorhel
c68a229e09 Fixed buffer overflow when some directories can't be scanned
Also changed other occurences of the same situation to use the same
checking method (>= rather than a +1) for consistency.

Fixes bug #2981704.
2010-04-28 10:08:45 +02:00
Yorhel
cc15863fcc Updated ChangeLog with the changes on the git repo 2010-04-27 12:55:06 +02:00
Yorhel
24db8a8866 ChangeLog & man page version/date bump for 1.6 2009-10-23 14:37:07 +02:00
Yorhel
06cab8cc30 Added some keybindings and changed 'h' to 'e' in browser 2009-10-18 12:52:00 +02:00
Yorhel
adaf8a6098 Call setlocale() at initialization
This (in combination with linking to ncursesw) fixes the display of
non-ASCII characters.
2009-10-18 12:05:36 +02:00
Yorhel
783993dbf5 Link to ncursesw when available
Or force the use of a library with --with-ncurses or --with-ncursesw.
Implementation based on/stolen from the configure.ac in ncmpc.
2009-10-18 11:55:47 +02:00
Yorhel
b7d59bee5b Properly display MiB units instead of MB
Fixes bug #2831412 (debian #539553)
2009-08-03 14:26:10 +02:00
Yorhel
26c77cfc14 Return to previously opened directory on failed recalculation
...instead of displaying an empty and unusable browser.
2009-06-06 23:26:05 +02:00
Yorhel
e5cc7703d7 Properly free return value of opendir() on calculation interrupt
When interrupinting the calculation process by pressing 'q' while
it's looping through a directory, or when a directory could be openend
but not chdir()'ed into, closedir() wasn't called.
2009-06-06 23:22:30 +02:00
Sebastian Kayser
3d8751b495 Fixed non-void return in void delete_process()
Fixes bug #2789781.
2009-05-16 10:36:03 +02:00
Yorhel
a0bf6deebb Removed reliance on dirfd() 2009-05-16 10:20:58 +02:00
Yorhel
06a5f5215f Properly select the next item after deletion
Setting FF_BSEL after calling browse_init() causes two items to be
selected, as browse_init() makes sure something will be selected,
while calc_process() assumes nothing is, because the previously
selected item had just been deleted.
2009-05-11 20:14:52 +02:00
Yorhel
6de0a8ec00 Use correct hard link information after partial recalculation or deletion
Hard link detection is now done in a separate pass on the in-memory tree,
and duplicates can be 'removed' and 're-added' on the fly. When making any
changes in the tree, all hard links are re-added before the operation and
removed again afterwards.

While this guarantees that all hard link information is correct, it does
have a few drawbacks. I can currently think of two:

 1. It's not the most efficient way to do it, and may be quite slow on
    large trees. Will have to do some benchmarks later to see whether
    it is anything to be concerned about.

 2. The first encountered item is considered as 'counted' and all items
    encountered after that are considered as 'duplicate'. Because the
    order in which we traverse the tree doesn't always have to be the
    same, the items that will be considered as 'duplicate' can vary with
    each deletion or re-calculation. This might cause confusion for
    people who aren't aware of how hard links work.
2009-05-11 20:02:46 +02:00
Yorhel
188265c594 Version & date bump for ChangeLog and manual page 2009-05-02 13:11:02 +02:00
Yorhel
95b314de73 Fixed line width when displaying 100%
Which would happen if there's only one file is in a directory
2009-05-01 09:00:59 +02:00
Yorhel
91ad9df126 Updated ChangeLog and TODO 2009-04-26 11:35:03 +02:00
Yorhel
1739ee74d6 Updated manpage to reflect the removal of the 1000/1024 switch 2009-04-19 14:56:50 +02:00
Yorhel
c6dfb73040 Converting ignores and versions from subversion to git 2009-04-05 14:59:05 +02: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
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
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
eb10ca8a4b * Changed ncdu version to "svn" - only actual releases will have the correct version
* Updated and changed padding in the ChangeLog


git-svn-id: svn://blicky.net/ncdu/trunk@12 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-26 13:06:13 +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
5390111c4b SVN cleanup: removed automatically generated build files, added autogen.sh to create these, and added svn:ignore to ignore common files
git-svn-id: svn://blicky.net/ncdu/trunk@5 ce56bc8d-f834-0410-b703-f827bd498a76
2007-07-22 16:27:04 +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
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