RumovZ
|
baf3dd9dde
|
For deck searches, unescape quotes only
For now, revert to the old handling of deck names using text_to_re from
text.rs and have parser.rs only unescape quotes.
|
2020-11-14 19:06:37 +01:00 |
|
RumovZ
|
c27175238c
|
Fix 'escaped' parser for empty string
Fix a bug where 'escaped' parsers (nom) accepted the empty
string by wrapping them in 'verify' parsers.
|
2020-11-14 18:28:24 +01:00 |
|
RumovZ
|
e09486d088
|
Fix bugs and inconsistencies in the search parser
|
2020-11-12 17:27:50 +01:00 |
|
Damien Elmes
|
f7d4bf8489
|
support did:[deck id] search
|
2020-09-03 16:43:22 +10:00 |
|
Damien Elmes
|
4894025cfc
|
add separate sched/user bury searches, and fix bury enums
|
2020-09-01 10:24:38 +10:00 |
|
Damien Elmes
|
b9f6bde2dc
|
catch leading/trailing boolean operators
https://forums.ankiweb.net/t/is-it-only-me-anki-giving-corrupt-collection-error/2424/20
|
2020-08-27 09:59:29 +10:00 |
|
Damien Elmes
|
3da7884e19
|
reject double comma in id list
https://forums.ankiweb.net/t/anki-2-1-29-and-below-2-small-bugs/1496
|
2020-07-29 13:05:34 +10:00 |
|
Damien Elmes
|
8cfafdbc32
|
supported edited:n
https://forums.ankiweb.net/t/feature-request-advanced-broswer-search-by-edited/268
|
2020-07-01 10:17:57 +10:00 |
|
Damien Elmes
|
06d9f64dea
|
lint fixes
|
2020-06-29 15:53:56 +10:00 |
|
Damien Elmes
|
4be8e7923a
|
fix partially quoted text not handling escaped quotes
https://forums.ankiweb.net/t/how-to-search-for-cards-containing-quotes/500/10
|
2020-06-29 15:48:01 +10:00 |
|
Damien Elmes
|
6d7be475e6
|
catch invalid regex in search
https://github.com/ankitects/anki/pull/652
|
2020-06-09 11:46:07 +10:00 |
|
Damien Elmes
|
0a87b1ef2c
|
support disabling unicode normalization in notes
|
2020-05-12 21:13:34 +10:00 |
|
Damien Elmes
|
811bcda14c
|
support globbing chars inside word boundary search
|
2020-04-25 09:43:08 +10:00 |
|
Damien Elmes
|
2f8396a951
|
add w: shortcut for searching on word boundaries
|
2020-04-25 08:48:01 +10:00 |
|
Damien Elmes
|
bca49bd054
|
load/save note types in backend
This allows us to normalize bad data, and is the first step towards
splitting note types into separate tables.
|
2020-04-08 10:05:07 +10:00 |
|
Damien Elmes
|
9bce844df7
|
fix duplicates search
|
2020-04-04 17:38:35 +10:00 |
|
Damien Elmes
|
4150480709
|
NoteTypeID
|
2020-03-26 15:00:24 +10:00 |
|
Damien Elmes
|
17f7a69830
|
handle trailing whitespace inside group
|
2020-03-22 18:52:44 +10:00 |
|
Damien Elmes
|
3392fe8708
|
increase the rated search cap to 365, and allow searches for ease 0
An add-on appears to use ease 0 when rescheduling cards, and it may
make sense for Anki to do the same in the future as well.
|
2020-03-21 16:05:17 +10:00 |
|
Damien Elmes
|
cf50821d3b
|
add search that ignores combining chars
On a test of a ~40k card collection, the 'ignore accents' add-on
takes about 1150ms, and this code takes about 70ms.
|
2020-03-21 15:15:59 +10:00 |
|
Damien Elmes
|
32efd1789b
|
support regexp search in single field
|
2020-03-21 13:06:46 +10:00 |
|
Damien Elmes
|
9dd5fef0a1
|
support regex searches
|
2020-03-21 12:00:48 +10:00 |
|
Damien Elmes
|
861139ea9e
|
support deck:"foo bar" style searches
|
2020-03-21 09:34:24 +10:00 |
|
Damien Elmes
|
798ea78a37
|
don't crash when card:0 passed in
|
2020-03-21 07:56:55 +10:00 |
|
Damien Elmes
|
1e21fa325b
|
handle empty searches and leading/trailing whitespace
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
ac8534f4ee
|
fix escape handling, and handle sql wildcards
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
f36857ae27
|
prototype of integration
no ordering yet, and no tests
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
91270251bf
|
address some clippy lints
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
4217031780
|
separate out template ordinal and name search
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
0b33131971
|
use .eq_ignore_ascii_case() to avoid allocating
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
4014e054a9
|
ensure rated ease in range
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
28defd2b3c
|
ensure id list not empty
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
02af7b2ab1
|
decode search terms in parser
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
c12ebc6124
|
split up searches with a qualifier
|
2020-03-20 21:15:23 +10:00 |
|
Damien Elmes
|
43f21b8135
|
basic search parsing
|
2020-03-20 21:15:23 +10:00 |
|