History log of /haiku-fatelf/src/apps/diskusage/App.h
Revision Date Author Comments
# 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


# 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


# f75a7bf5 07-Sep-2008 Stephan Aßmus <superstippi@gmx.de>

Imported the nice disk usage tool "Guido" into the repo as "DiskUsage". Guido
was originally written by Mike Steed. The code was freely available from his
website at one point, which I am no longer able to find. I believe the license
was a kind of public domain, at least compatible with our MIT/X11 license.

The original code was well written with it's own coding style which was not
very far from the Haiku coding style. I have hopefully adopted it completely
to our coding style. While I did this, I came across several places with
comments for a minor bug which I was able to resolve all. I also found ways
to simplify certain places and I elliminated all non-necessary "inter-class
knowledge" which was used to directly access members of other classes which
should have been private.

All in all, this should be a nice little addition, a useful tool which I found
handy a lot of times. If I should not have added this without first consulting
everyone, please voice your disagreement, and it can be removed it again. It
is not part of the image yet.


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


# 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


# f75a7bf508f3156d63a14f8fd77c5e0ca4d08c42 07-Sep-2008 Stephan Aßmus <superstippi@gmx.de>

Imported the nice disk usage tool "Guido" into the repo as "DiskUsage". Guido
was originally written by Mike Steed. The code was freely available from his
website at one point, which I am no longer able to find. I believe the license
was a kind of public domain, at least compatible with our MIT/X11 license.

The original code was well written with it's own coding style which was not
very far from the Haiku coding style. I have hopefully adopted it completely
to our coding style. While I did this, I came across several places with
comments for a minor bug which I was able to resolve all. I also found ways
to simplify certain places and I elliminated all non-necessary "inter-class
knowledge" which was used to directly access members of other classes which
should have been private.

All in all, this should be a nice little addition, a useful tool which I found
handy a lot of times. If I should not have added this without first consulting
everyone, please voice your disagreement, and it can be removed it again. It
is not part of the image yet.


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