RumovZ
c4bea9e3c0
Use enforced re to parse deck
...
Fix write_deck not recognising escaped deck name separators:
\:\: -> ::
2020-11-15 21:32:36 +01:00
RumovZ
065d9e939b
Annotate RegEx for invalid-escape check
2020-11-15 14:22:16 +01:00
RumovZ
e1ddc3d63a
Extend tests for new search parsing
...
(Also fix indentation)
2020-11-15 12:00:20 +01:00
RumovZ
6d4d1369d4
Fix escape check for escaped backslash
2020-11-15 11:57:11 +01:00
RumovZ
2e54817870
Move whitespace check for tags from to sqlwriter
...
Instead of not parsing a tag containing whitespace, check for spaces
when writing sql and if there are any, explicitly match nothing.
2020-11-15 11:54:21 +01:00
RumovZ
022efd5956
Always use regex for tag search
...
Don't distinguish between the glob and no-glob cases when comparing
tags but always use regexp. Thus, avoid problems with SQL wildcards in
registered tags.
2020-11-15 09:52:00 +01:00
RumovZ
66241f642a
Update frontend test to new escape handling
2020-11-15 09:39:10 +01:00
RumovZ
8fc5d4c897
Update frontend search escapes to new parsing
2020-11-14 20:37:40 +01:00
RumovZ
d65b1f96f7
Fix tests for new search parsing (and reformat)
2020-11-14 19:13:09 +01:00
RumovZ
59f0010783
Fix whitespace in write_tag and parser/whitespac0
2020-11-14 19:10:56 +01:00
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
ea0b222afa
Merge pull request #811 from ianki/media_filters_head
...
Add hooks for filtering media.
2020-11-09 20:41:56 +10:00
ianki
28ad68d490
Add hooks for filtering media.
2020-11-09 02:12:23 -08:00
Damien Elmes
27e14dc59e
Merge pull request #814 from k12ish/master
...
Improve compatibility with graphics pad/touchscreen
2020-11-09 19:42:41 +10:00
Damien Elmes
b3db379655
Merge pull request #813 from RumovZ/fix-search-combos
...
Fix clicking filters with keyboard modifiers
2020-11-09 19:42:13 +10:00
Damien Elmes
715f976a21
update Windows CI
2020-11-09 19:09:23 +10:00
k12ish
405cb7207a
Update CONTRIBUTORS
2020-11-08 18:49:12 +00:00
k12ish
5588069885
Revert "Update CONTRIBUTORS"
...
This reverts commit 1fee0d0858 .
2020-11-08 18:38:02 +00:00
k12ish
1fee0d0858
Update CONTRIBUTORS
2020-11-08 18:34:30 +00:00
k12ish
1ca0eb04bb
Improve compatibility with graphics pad/touchscreen
...
When using anki with a graphics pad, text is often selected on accident. This snippet of CSS will fix that issue
2020-11-08 18:14:37 +00:00
RumovZ
7f9aa879b5
Fix clicking filters with keyboard modifiers
2020-11-08 11:05:11 +01:00
Damien Elmes
8cc6f338f5
fix missing QAudioDeviceInfo on macOS
2020-11-06 12:01:37 +10:00
Damien Elmes
5e3a4d2c88
Merge pull request #808 from sobjornstad/reposition-highlight
...
Start with default value in reposition spinbox selected
2020-11-06 11:09:15 +10:00
Damien Elmes
434fdae4f0
Merge pull request #805 from cecini/duecounts
...
align rslib get_subnode impl with anki pythonapi find_deck_in_tree
2020-11-06 10:57:49 +10:00
Damien Elmes
aaa950f66c
handle notes with invalid utf8
2020-11-06 10:21:51 +10:00
Damien Elmes
8d3f673ce7
disable Windows CI for now
2020-11-05 21:00:02 +10:00
Damien Elmes
e64093edda
doc updates
2020-11-05 20:25:48 +10:00
Damien Elmes
f128f0f79a
fix aqt version requirement; use py3 instead of cp38 tag
2020-11-05 20:25:08 +10:00
Damien Elmes
49dc572d4c
Revert "remove gif-lfs"
...
This reverts commit 39599a6c34 .
Issue fixed.
2020-11-05 18:46:22 +10:00
Damien Elmes
da3239a8f2
packages.bzl -> repos.bzl; update rules_rust
2020-11-05 14:22:45 +10:00
Damien Elmes
39599a6c34
remove gif-lfs
...
https://github.com/actions/virtual-environments/issues/1983
2020-11-05 12:31:14 +10:00
Damien Elmes
6dff04456e
migrate away from insecure add-path statement
2020-11-05 12:27:36 +10:00
Damien Elmes
470119d130
gettext and bazelisk come standard on macOS runner
2020-11-05 12:24:10 +10:00
Damien Elmes
b3af4d6652
show Bazel timestamps in CI
2020-11-05 12:23:06 +10:00
Damien Elmes
9c4368ec32
experiment with repo/disk cache instead of output root
...
edit to trigger rebuild
2020-11-05 12:07:01 +10:00
Damien Elmes
e049062147
fix missing buildinfo on Windows
2020-11-05 11:21:27 +10:00
Damien Elmes
338836ebb9
cleanups
2020-11-05 11:21:13 +10:00
Damien Elmes
ad809943bf
fix backend_pb2 race
2020-11-05 11:02:40 +10:00
Damien Elmes
4f8b19dcfb
fix external consumption of ts rules, and simplify import path
2020-11-05 11:01:52 +10:00
Damien Elmes
54c4462292
support user bazelrc
2020-11-04 22:11:28 +10:00
Damien Elmes
d6e13ee28e
fix tests on Linux
2020-11-04 21:39:41 +10:00
Damien Elmes
507a17b9e0
unused import
2020-11-04 21:04:42 +10:00
Damien Elmes
c7939cdc5c
hash the lock files
...
GitHub's cache is not a great fit for Bazel, but this will do for now
2020-11-04 21:02:10 +10:00
Damien Elmes
f738053c35
fixes for consuming rust lib from external repo
2020-11-04 19:20:49 +10:00
Damien Elmes
35066d6950
extract version from defs.bzl; gate buildhash on optimized build
2020-11-04 14:02:08 +10:00
Damien Elmes
f2e2ef6fc0
doc updates
2020-11-04 14:01:14 +10:00
Damien Elmes
e4ba941cf1
move aqt_data into source folder; implement wheel building
2020-11-04 12:14:03 +10:00
Damien Elmes
f0e3d29979
switch to the stable Python ABI
...
Should allow the library to be imported in both Python 3.8+3.9.
2020-11-03 20:29:07 +10:00