Commit graph

39 commits

Author SHA1 Message Date
zadam
2b1383205b test fixes 2020-09-23 21:05:26 +02:00
zadam
a73733d0fc renamed ParsingContext to SearchContext 2020-09-08 21:47:37 +02:00
zadam
f3efb22a50 extra search tests 2020-08-30 23:42:24 +02:00
zadam
46e373e822 "smart" date values can now freely contain whitespaces 2020-08-23 21:53:50 +02:00
zadam
0533b95562 Merge remote-tracking branch 'origin/master' 2020-08-20 23:15:45 +02:00
zadam
5b4826fd08 extra tests for escaping 2020-08-20 23:15:38 +02:00
zadam
d037420acb note. prefix also separates fulltext tokens from expression tokens 2020-08-20 13:53:15 +02:00
zadam
52e0f838a9 fulltext now ignores archived notes like it used to in the old implementation 2020-08-20 00:15:08 +02:00
zadam
5b1e229d7d added note.text + tests 2020-08-19 23:00:51 +02:00
zadam
3109233d4f better reporting for search parsing errors 2020-07-22 22:52:15 +02:00
zadam
60e8bd98b9 improvements to lexer and its tests 2020-07-21 23:42:59 +02:00
zadam
32ecb43b5c search refactoring 2020-07-21 00:01:07 +02:00
zadam
f03e4bc7d7 detect attempts to compare between labels (only with constants is possible) 2020-07-20 23:27:30 +02:00
zadam
4e5ddaf7d1 fix inQuotes + tests 2020-07-19 23:23:48 +02:00
zadam
35469f6f2d lexer now marks "in quotes" tokens 2020-07-19 23:19:45 +02:00
zadam
4c7b1d6543 shortcut negation syntax 2020-07-19 15:25:24 +02:00
zadam
99120be46d skeleton of first tests 2020-06-03 17:11:03 +02:00
zadam
eedeaca37d wip 2020-06-03 16:24:41 +02:00
zadam
55b210d7c5 added not() expression 2020-05-27 00:09:19 +02:00
zadam
c753f228ac more tests & fixes 2020-05-25 23:39:34 +02:00
zadam
a1a744bb00 order & limit implementation WIP 2020-05-25 00:25:47 +02:00
zadam
9ede77aead added ancestor 2020-05-23 23:44:55 +02:00
zadam
8ce2afff8a more tests 2020-05-23 22:18:06 +02:00
zadam
a2e1fb35b8 tests for note properties 2020-05-23 20:52:55 +02:00
zadam
bb03a8714a more tests 2020-05-23 18:42:32 +02:00
zadam
ae772288e2 support for long syntax of labels and relations 2020-05-23 18:13:35 +02:00
zadam
355ffd3d02 added querying by relation's properties 2020-05-23 12:27:44 +02:00
zadam
3d12341ff1 added querying by children 2020-05-23 10:36:49 +02:00
zadam
4ea934509e implemented property based access + parent 2020-05-23 10:25:22 +02:00
zadam
714881ad99 more search tests + numeric label comparison 2020-05-22 19:08:06 +02:00
zadam
ee053b9fdf basic search tests 2020-05-22 09:38:30 +02:00
zadam
cd48135394 refactoring to allow unit tests of the whole search subsystem 2020-05-21 14:05:56 +02:00
zadam
75d8627f1c refactoring to ParserContext 2020-05-21 11:46:01 +02:00
zadam
a8d12f723f fix highlighting 2020-05-21 11:18:15 +02:00
zadam
b26100479d parser tests added 2020-05-20 23:20:39 +02:00
zadam
99aa481ace refactoring for testing parser 2020-05-20 00:03:33 +02:00
zadam
b72dc977e6 parens handler + parser in progress 2020-05-19 00:00:35 +02:00
zadam
81bf84f2de lexer fixes + tests 2020-05-17 23:14:24 +02:00
zadam
e77e0ce675 lexer impl WIP + test 2020-05-17 19:43:37 +02:00