Commit Graph

14 Commits

Author SHA1 Message Date
b55c442590 Add missing import
It fixes compilation with some compilers
2021-02-08 08:38:15 +01:00
9643274b39 Enable manga in the search engine 2021-01-16 14:26:37 +01:00
f03ad848cb Add support for true and false literals to be used with bool fields
The lexer itself should be responsible for parsing those values but it will require a bigger refactoring.
2021-01-14 15:32:20 +01:00
f803b54f2e Add support for boolean folder fields 2021-01-14 12:25:24 +01:00
7b36100458 Use QString::fromStdString
Just to keep things consistent in the whole round trip conversion
2021-01-14 08:51:08 +01:00
260f538de3 Use an explicit constructor for TreeNode
List initialization ended using movable constructors which surprisingly caused data troubles in release mode, at least in VC2019 compiler. The tree being messed up caused crashes while SQL was generated.

I have no explanation for it.
2021-01-14 08:49:48 +01:00
f09c5955d8 Remove space and atWord tokens
`atWord` wasn't used at all and spaces should be eaten by the lexer

And added `unspecified` token
2021-01-14 08:39:16 +01:00
a777aa3fe8 Replace lexertl with a custom lexeter implementation
QueryLexeter does not parse "atWord" because I couldn't find what it is used for.
2021-01-12 18:56:59 +01:00
8efb9912ee Use concatenation, rather than ostringstream 2021-01-08 15:56:16 +01:00
4990093e3d Remove c++17 dependency 2021-01-08 15:56:16 +01:00
7ccb338455 Apply clang-format 2021-01-08 15:51:59 +01:00
30529dca43 Some small tidy ups 2021-01-08 15:51:56 +01:00
5fa7da1e46 Add folder into the query parser 2021-01-08 15:41:29 +01:00
4a50d438d0 Add query parser class 2021-01-08 15:41:28 +01:00