anki/pylib/anki
Damien Elmes 9baa8530d5 move deck/notetype update hooks to gui
We need to migrate away from firing hooks in libanki, since libanki
methods may be running on a background thread, and hook consumers
typically expect the code to run in the main thread. We could document
it, but it would frequently be forgotten about, and could lead to
crashes.

https://anki.tenderapp.com/discussions/ankidesktop/41748-qobject-cannot-create-children-for-a-parent-that-is-in-a-different-thread-when-hitting-the-save-button-on-clayoutpy-window
2020-05-22 10:47:14 +10:00
..
importing storage->collection 2020-05-20 17:58:28 +10:00
__init__.py storage->collection 2020-05-20 17:58:28 +10:00
.gitignore add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
cards.py storage->collection 2020-05-20 17:58:28 +10:00
collection.py storage->collection 2020-05-20 17:58:28 +10:00
config.py storage->collection 2020-05-20 17:58:28 +10:00
consts.py add switch in prefs for new timezone handling code; bump sync version 2020-03-10 17:50:18 +10:00
db.py drop lock() and setAutocommit() 2020-03-20 21:15:23 +10:00
dbproxy.py move storage logic into collection.py; fix export bug 2020-05-20 17:43:34 +10:00
decks.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
errors.py Monkeytype pylib/anki/errors.py 2020-02-27 00:07:19 -05:00
exporting.py storage->collection 2020-05-20 17:58:28 +10:00
find.py storage->collection 2020-05-20 17:58:28 +10:00
hooks.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
httpclient.py Fixed HttpClient session not being closed 2020-05-20 19:20:41 -03:00
lang.py don't error when -l passes in language without _ 2020-03-25 08:53:31 +10:00
latex.py storage->collection 2020-05-20 17:58:28 +10:00
media.py storage->collection 2020-05-20 17:58:28 +10:00
models.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
notes.py storage->collection 2020-05-20 17:58:28 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py catch protobuf error as well 2020-05-19 13:10:20 +10:00
sched.py storage->collection 2020-05-20 17:58:28 +10:00
schedv2.py storage->collection 2020-05-20 17:58:28 +10:00
sound.py support speed control in tts tags 2020-01-26 14:31:07 +10:00
stats.py fix deck age being used instead of collection 2020-05-20 19:46:01 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py storage->collection 2020-05-20 17:58:28 +10:00
storage.py storage->collection 2020-05-20 17:58:28 +10:00
sync.py storage->collection 2020-05-20 17:58:28 +10:00
tags.py storage->collection 2020-05-20 17:58:28 +10:00
template_legacy.py comment out the unused legacy code 2020-01-17 10:51:36 +10:00
template.py can't use _card.note_type() in clayout 2020-05-22 09:58:58 +10:00
types.py connect media sync progress to Python, add a progress dialog 2020-02-17 08:40:16 +10:00
utils.py clone db.py into dbproxy.py 2020-03-20 21:15:23 +10:00