Anki/pylib/anki
Damien Elmes 0087eee6d9 handle conditional replacement in Rust
This extends the existing Rust code to handle conditional
replacement. The replacement of field names and filters to text
remains in Python, so that add-ons can still define their own
field modifiers.

The code is currently running the old Pystache rendering and the
new implementation in parallel, and will print a message to the
console if they don't match. If you notice any problems, please
let me know.
2020-01-08 20:28:04 +10:00
..
importing Merge remote-tracking branch 'upstream/master' into add-tags-on-update 2020-01-03 08:13:04 +02:00
template move filter reversal into pystache 2020-01-08 18:59:05 +10:00
.gitignore add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
__init__.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
cards.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
collection.py handle conditional replacement in Rust 2020-01-08 20:28:04 +10:00
consts.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
db.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
decks.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
errors.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
exporting.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
find.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
hooks.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
lang.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
latex.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
media.py move the rest of Anki's code out of pystache 2020-01-08 17:15:46 +10:00
models.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
notes.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
pybackend.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
rsbackend.py handle conditional replacement in Rust 2020-01-08 20:28:04 +10:00
sched.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
schedv2.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
sound.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stats.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py drop 'extra' from default cloze note type 2020-01-03 13:40:50 +10:00
storage.py add a partial Python implementation of the backend 2020-01-06 12:24:47 +10:00
sync.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
tags.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
template2.py handle conditional replacement in Rust 2020-01-08 20:28:04 +10:00
types.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
utils.py add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00