History log of /haiku/src/bin/query.cpp
Revision Date Author Comments
# b4a9359d 05-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Automatic whitespace cleanup


# 216ba459 05-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Automatic whitespace cleanup


# ee6a2e55 27-Mar-2011 Jonas Sundström <jonas@kirilla.com>

* Extend the Model class with a method bool HasLocalizedName().
* Disallow renaming of entries with localized names for now - this is meant to be temporary - and so far only in Tracker's Info window. Renames do not result in a change, visually, as the localized name hides the real name, and results in a bad user experience. One could possibly allow renames of the localized name, writing it back to the catalog. I've experimented with using BCatalogAddOn::SetString() but haven't been able to make it stick yet.
* Disallow renaming Trash in Tracker's Info window via Command-E.
* Adjust the argument order of BLocaleRoster::GetLocalizedFileName().
* Add a BLocaleRoster::GetLocalizedFileName() variant to look up another app's name given its signature and unlocalized, canonical name.

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


# 77fa0e92 26-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Add an -l option to 'query' - enabling lookup of path for localized names (or parts thereof). I'm not sure it should be part of 'query', but here it is. Due to using BString it is currently case-sensitive beyond plain ascii names.

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


# 7d5b23fb 22-Feb-2011 Jonas Sundström <jonas@kirilla.com>

Unsafe use of strncpy replaced by strlcpy. CID 2258.

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


# 06447030 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# fb3edfeb 24-Aug-2008 Bruno G. Albuquerque <bga@bug-br.org.br>

- TAB is a valid character in a file name (although weird) and it also needs to
be escaped.



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


# a38e60f2 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added "-f" option to only show real files.
Some cleanups and minor fixes.


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


# 17049c45 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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


# b4a9359d8496bef688bc27d5dcf1b01ffc4f5936 05-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Automatic whitespace cleanup


# 216ba45933836b446b7faf6880d6210dcf6305c3 05-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Automatic whitespace cleanup


# ee6a2e5589a8ff169bb64870650b8f194aa9da14 27-Mar-2011 Jonas Sundström <jonas@kirilla.com>

* Extend the Model class with a method bool HasLocalizedName().
* Disallow renaming of entries with localized names for now - this is meant to be temporary - and so far only in Tracker's Info window. Renames do not result in a change, visually, as the localized name hides the real name, and results in a bad user experience. One could possibly allow renames of the localized name, writing it back to the catalog. I've experimented with using BCatalogAddOn::SetString() but haven't been able to make it stick yet.
* Disallow renaming Trash in Tracker's Info window via Command-E.
* Adjust the argument order of BLocaleRoster::GetLocalizedFileName().
* Add a BLocaleRoster::GetLocalizedFileName() variant to look up another app's name given its signature and unlocalized, canonical name.

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


# 77fa0e926939a87b082f5b56ab15ec64216adc5c 26-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Add an -l option to 'query' - enabling lookup of path for localized names (or parts thereof). I'm not sure it should be part of 'query', but here it is. Due to using BString it is currently case-sensitive beyond plain ascii names.

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


# 7d5b23fb4438b6f4cd55989d72661bf73b8445c8 22-Feb-2011 Jonas Sundström <jonas@kirilla.com>

Unsafe use of strncpy replaced by strlcpy. CID 2258.

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


# 0644703068ca08535bb57369fd63f90f1300d5bc 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# fb3edfeb2786e13f10a36c76245e68fbb6312578 24-Aug-2008 Bruno G. Albuquerque <bga@bug-br.org.br>

- TAB is a valid character in a file name (although weird) and it also needs to
be escaped.



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


# a38e60f2231f5de38e2488c36a2070276448e9e2 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added "-f" option to only show real files.
Some cleanups and minor fixes.


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


# 17049c451a91f427aec94b944b75876b611103e7 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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