History log of /haiku/src/apps/diskusage/DiskUsage.h
Revision Date Author Comments
# 18497f03 04-Dec-2016 Janus <janus2@ymail.com>

DiskUsage: minor clean up

* remove unused code.
* make fPreviousSnapshot local.
* change app_flags to B_SINGLE_LAUNCH
when it is invoked by add-on reuses an already scanned volume


# 3e52a3d5 14-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: added ability to cancel an ongoing scan. fixes #6801.

Also, progress now goes from 0.0 to 1.0 rather than from 0.00 to 100.00
(to avoid a * 100, followed by a / 100)


# a4ef1e81 03-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: remove path monitoring and "outdated view" notification

Was unreliable, too many files to monitor (would exceed too easily the 4096 files limit).


# 4c3295fc 15-Aug-2012 Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>

Tweak DiskUsage pie view colors and drawing
* Use colors from http://haiku-os.org/files/downloads/2007-03-20_haiku-color-palette.png
* The pie view used a simple multiplication to lighten the colors, leading to overflows. Use tint_color instead
* The outline of each pie slice was drawn with lines, which did not align perfectly. Use StrokeArc with a slightly bigger pen size than the colored area instead.

Screenshot of the result:
http://pulkomandy.tk/drop/diskusage.png/


# e54b1016 29-Oct-2011 Oliver Tappe <zooey@hirschkaefer.de>

Close #3223 with patch provided by Humdinger (which I adjusted to the current state of the code).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42964 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d779aa8 22-Feb-2011 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage :
* add two missing break; (CID 3301, 3302)
* replace strcpy, strcat and sprintf by strlcpy, strlcat and snprintf
(CID 6804, 6805, 6806, 6807, 6808, 8962, 8963)
* remove a PrintToStream (left by accident for debugging purposes)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 973f8e21 14-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied yet another localization patch from Jorma Karvonen. Fixes #7169.

Beside of localization task some refactoring was performed:
- strings, stored previously in resources were moved from resource definition
file to cpp files at the place of using;
- cleanup of resource definitions and Common.cpp/Common.h.

Additionall tasks, made by S.Zharski:
- the rests of resource handling tasks were purged out from Common.cpp/Common.h;
- Common.h renamed to DiskUsage.h;
- the rests of code from Common.cpp merged into DiskUsage.cpp;
- the preprocessor tricks and magics targeted mainly for resources support
were removed;
- some code style fixes and "internationalization style" fixes were made.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40493 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3e52a3d5e5479a4de086a481f3363765149fbd4e 14-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: added ability to cancel an ongoing scan. fixes #6801.

Also, progress now goes from 0.0 to 1.0 rather than from 0.00 to 100.00
(to avoid a * 100, followed by a / 100)


# a4ef1e81ce551344c4f9d7489104a621ff390ed2 03-Nov-2012 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: remove path monitoring and "outdated view" notification

Was unreliable, too many files to monitor (would exceed too easily the 4096 files limit).


# 4c3295fc92ffeae75a603777bdc28041c3ff17df 15-Aug-2012 Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>

Tweak DiskUsage pie view colors and drawing
* Use colors from http://haiku-os.org/files/downloads/2007-03-20_haiku-color-palette.png
* The pie view used a simple multiplication to lighten the colors, leading to overflows. Use tint_color instead
* The outline of each pie slice was drawn with lines, which did not align perfectly. Use StrokeArc with a slightly bigger pen size than the colored area instead.

Screenshot of the result:
http://pulkomandy.tk/drop/diskusage.png/


# e54b10160f809bbb03eda8d0d933d22069c4e164 29-Oct-2011 Oliver Tappe <zooey@hirschkaefer.de>

Close #3223 with patch provided by Humdinger (which I adjusted to the current state of the code).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42964 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d779aa8df90e02f0d5f0b497d1cb6d947ceaa0d 22-Feb-2011 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage :
* add two missing break; (CID 3301, 3302)
* replace strcpy, strcat and sprintf by strlcpy, strlcat and snprintf
(CID 6804, 6805, 6806, 6807, 6808, 8962, 8963)
* remove a PrintToStream (left by accident for debugging purposes)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 973f8e214d612688c4a30fd48572a7eb57c902be 14-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied yet another localization patch from Jorma Karvonen. Fixes #7169.

Beside of localization task some refactoring was performed:
- strings, stored previously in resources were moved from resource definition
file to cpp files at the place of using;
- cleanup of resource definitions and Common.cpp/Common.h.

Additionall tasks, made by S.Zharski:
- the rests of resource handling tasks were purged out from Common.cpp/Common.h;
- Common.h renamed to DiskUsage.h;
- the rests of code from Common.cpp merged into DiskUsage.cpp;
- the preprocessor tricks and magics targeted mainly for resources support
were removed;
- some code style fixes and "internationalization style" fixes were made.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40493 a95241bf-73f2-0310-859d-f6bbb57e9c96