anki/qt/aqt
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
..
__init__.py Merge pull request #610 from evandroforks/ask_confirmation_before_moving_anki_collection 2020-05-18 19:44:27 +10:00
.gitignore basic night mode support 2020-01-23 17:27:07 +10:00
about.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
addcards.py deprecate removeTempNote() 2020-05-20 15:01:05 +10:00
addons.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
browser.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
clayout.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
customstudy.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
deckbrowser.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
deckchooser.py correct missing french translation 2020-02-05 20:48:30 -08:00
deckconf.py fix shared deck conf warning 2020-05-17 14:37:59 +10:00
dyndeckconf.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
editcurrent.py add qconnect helper and some type hints 2020-01-16 07:41:23 +10:00
editor.py use context manager in retrieveURL 2020-05-21 10:58:42 +10:00
emptycards.py update empty cards hook 2020-05-20 13:41:09 +10:00
errors.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
exporting.py handle default deck and filtered deck suppression in the backend 2020-05-15 21:21:10 +10:00
fields.py track changes in fields dialog as well 2020-05-15 13:59:44 +10:00
gui_hooks.py move deck/notetype update hooks to gui 2020-05-22 10:47:14 +10:00
importing.py Explicitly close the importer file descriptor 2020-05-18 15:54:20 -03:00
legacy.py Also fix legacy.py::anki.sound._soundReg accepting empty tags 2020-05-12 12:43:35 -03:00
main.py storage->collection 2020-05-20 17:58:28 +10:00
mediacheck.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
mediasrv.py storage->collection 2020-05-20 17:58:28 +10:00
mediasync.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
modelchooser.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
models.py drop mw.weakref usage in models.py for now 2020-05-20 13:53:34 +10:00
mpv.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
overview.py use deck tree for new/review count calculation 2020-05-16 20:28:03 +10:00
pinnedmodules.py python formatting+lints 2020-05-08 17:30:27 +10:00
preferences.py handle scheduling preferences in the backend 2020-05-12 21:13:34 +10:00
previewer.py tidy up Qt import 2020-05-20 13:38:55 +10:00
profiles.py Add missing close file descriptors using context managers 2020-05-18 15:54:20 -03:00
progress.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
qt.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
reviewer.py don't hide static template text when card is empty 2020-05-13 11:17:44 +10:00
schema_change_tracker.py track changes in fields dialog as well 2020-05-15 13:59:44 +10:00
sound.py avoid mention of pip 2020-05-05 16:30:22 +10:00
stats.py stats area grouping box fix 2020-05-08 16:03:29 +10:00
studydeck.py handle default deck and filtered deck suppression in the backend 2020-05-15 21:21:10 +10:00
sync.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
tagedit.py handle default deck and filtered deck suppression in the backend 2020-05-15 21:21:10 +10:00
taglimit.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
taskman.py remove an unused import 2020-05-12 21:13:34 +10:00
theme.py pare back dark mode support 2020-04-15 21:44:56 +10:00
toolbar.py Monkeytype qt/aqt/toolbar.py 2020-03-01 10:16:08 -05:00
tts.py fix audio getting stuck (2/2) 2020-03-15 09:34:04 +10:00
update.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
utils.py use qconnect everywhere, and fix some typing issues 2020-05-04 13:23:08 +10:00
webview.py Add missing close file descriptors using context managers 2020-05-18 15:54:20 -03:00
winpaths.py tweaking the folder names again 2020-01-03 07:48:38 +10:00