History log of /haiku/src/apps/diskusage/DiskUsage.cpp
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


# fffc0e2a 13-Jul-2013 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: reuse string_for_size in libshared.a


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 95780b64 07-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Allow DiskUsage to be used as a Tracker add-on again.

Fixes #7343.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40859 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


# 15676f3a 01-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Code style cleanup.

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


# 9eb3adda 30-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Adapted to use TrackerAddonAppLaunch.h. A little cleanup. Not necessary for alphabranch.

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


# de23995a 08-Sep-2008 Stephan Aßmus <superstippi@gmx.de>

* Full integration as a Tracker add-on. Code taken from TextSearch.
* Fixed settings file saving when the settings file didn't exist yet.
* Fixed problem with launching DiskUsage with refs. In that case, ReadyToRun()
is called later than RefsReceived(). I remember the same thing happens on
BeOS.


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


# fffc0e2a7b1798852b7d839614ce6347132003f8 13-Jul-2013 Philippe Saint-Pierre <stpere@gmail.com>

DiskUsage: reuse string_for_size in libshared.a


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 95780b6475cd3c755d396cb2c17ff225a26c73cf 07-Mar-2011 Philippe Saint-Pierre <stpere@gmail.com>

Allow DiskUsage to be used as a Tracker add-on again.

Fixes #7343.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40859 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


# 15676f3a876aa89db228c24032b7d6ee970253d6 01-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Code style cleanup.

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


# 9eb3adda451068cecfe17fd9fbe813f79afaf945 30-Aug-2009 Jonas Sundström <jonas@kirilla.com>

Adapted to use TrackerAddonAppLaunch.h. A little cleanup. Not necessary for alphabranch.

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


# de23995a7fe8eb1d6f5e52a03de68b6e97808e65 08-Sep-2008 Stephan Aßmus <superstippi@gmx.de>

* Full integration as a Tracker add-on. Code taken from TextSearch.
* Fixed settings file saving when the settings file didn't exist yet.
* Fixed problem with launching DiskUsage with refs. In that case, ReadyToRun()
is called later than RefsReceived(). I remember the same thing happens on
BeOS.


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