History log of /haiku/headers/private/file_systems/QueryParserUtils.h (Results 1 – 6 of 6)
Revision Date Author Comments
# 6d7e1817 01-Jun-2024 Augustin Cavalier <waddlesplash@gmail.com>

file_systems/QueryParser: Rewrite parsing logic to avoid recursion.

This way, we can handle parse trees of arbitrary depth without
running into stack overflows. Of course, evaluation is still
a prob

file_systems/QueryParser: Rewrite parsing logic to avoid recursion.

This way, we can handle parse trees of arbitrary depth without
running into stack overflows. Of course, evaluation is still
a problem...

While at it, use "const char*" everywhere, and also put the
query parser into an Init() function so we can return
more statuses than just B_BAD_VALUE.

Part of #18692.

Change-Id: Ib81e6545935ce484df10dfe36ca4ffcf2b3cd607
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7710
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

show more ...


# 2e75b752 13-Jul-2014 Julian Harnath <julian.harnath@rwth-aachen.de>

Fix building Haiku from Haiku

* Always include cdefs.h to have __[BEGIN|END]_DECLS defined.
Somehow, this didn't affect cross-build, but it made building
from Haiku fail.


# de9c0613 03-Jul-2014 Axel Dörfler <axeld@pinc-software.de>

bfs: Use the QueryParserUtils instead of its own copy.

* Ingo copied the methods into a shared location, and then obviously
"forgot" to let BFS use them. As a side note for Ingo: the complete
er

bfs: Use the QueryParserUtils instead of its own copy.

* Ingo copied the methods into a shared location, and then obviously
"forgot" to let BFS use them. As a side note for Ingo: the complete
error GCC reported was "std::fssh_size_t" not defined with the macro
wrapper as code location. The actual problem was a "using std::size_t"
in some C++ header that accidentally got included after the wrapper.
* The shared Query code is not yet used. That'll be done another time.
* Renamed BFS_SHELL define to FS_SHELL, such that QueryParserUtils can be
used in any file system shell, not just the bfs_shell.

show more ...


# a84e14ca 16-Dec-2011 Alex Wilson <yourpalal2@gmail.com>

Merge branch 'master' of git://github.com/haiku/haiku


# 6cc3dcdb 07-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move helper function out of QueryParser.h

They live in the new QueryParserUtils.{h,cpp} now.


# 01f7f92a 07-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move helper function out of QueryParser.h

They live in the new QueryParserUtils.{h,cpp} now.