Glutanimate
|
af2c353aa7
|
Update 'top_toolbar_did_init_links' hook
|
2020-02-20 16:23:33 +01:00 |
|
Glutanimate
|
05f5b4d664
|
Merge branch 'master' into top_toolbar_links_hook
|
2020-02-20 15:17:48 +01:00 |
|
Damien Elmes
|
0a562c2eac
|
Merge pull request #449 from glutanimate/html-content-section-hooks
Add hooks for modifying HTML body sections in the deck browser and overview screens
|
2020-02-18 08:20:01 +10:00 |
|
Glutanimate
|
0e95badd80
|
Add overview_will_render_content hook
|
2020-02-17 16:49:21 +01:00 |
|
Glutanimate
|
803b0432f1
|
Bundle individual section hooks together into one
Uses new dataclass 'DeckBrowserContent'
|
2020-02-17 16:26:21 +01:00 |
|
Damien Elmes
|
e9884a4b14
|
add extra hook for media sync start/stop
|
2020-02-17 08:40:17 +10:00 |
|
Damien Elmes
|
738e415463
|
connect media sync progress to Python, add a progress dialog
|
2020-02-17 08:40:16 +10:00 |
|
Glutanimate
|
c3c31d1454
|
Add deck_browser_will_render_section hook
Allows add-on authors to specifcally target and modify individual
sections of the deck browser HTML body at string composition time.
|
2020-02-16 19:29:01 +01:00 |
|
Damien Elmes
|
415cb15661
|
Merge pull request #447 from glutanimate/browser-sidebar-tree-hooks
Add browser_will_build_tree filter
|
2020-02-16 08:36:28 +10:00 |
|
Glutanimate
|
5378587f67
|
Add top_toolbar_did_init_links hook
Allows extending the links in the top toolbar, in a similar
fashion to editor_did_init_shortcuts
|
2020-02-15 23:21:23 +01:00 |
|
Glutanimate
|
b7e0d4388a
|
Add browser_will_build_tree filter
Allows add-ons to populate the browser sidebar tree with their own
items, and/or take over specific construction stages in their
entirety
|
2020-02-15 21:03:15 +01:00 |
|
Glutanimate
|
356eda66f4
|
Update documentation for webview_will_set_content and WebContent
|
2020-02-15 15:03:58 +01:00 |
|
Glutanimate
|
d7836e3af8
|
Add webview_will_set_content hook & update supporting code accordingly
|
2020-02-12 22:00:13 +01:00 |
|
Damien Elmes
|
fc40182335
|
pass instance to webview_did_receive_js_message instead of string
|
2020-02-09 08:59:29 +10:00 |
|
Arthur Milchior
|
0d23f5dafb
|
Allow to change main window when overview/deckbrowser is shown
|
2020-02-08 08:09:12 -08:00 |
|
Glutanimate
|
dbe8e8f6e1
|
Fix formatting error
|
2020-01-24 15:48:05 +01:00 |
|
Glutanimate
|
b1cecb08d4
|
Equip Reviewer._showAnswer with hooks covering common add-on usages
|
2020-01-24 15:36:05 +01:00 |
|
Damien Elmes
|
712779886a
|
add a hook for when playback begins
|
2020-01-22 14:41:32 +10:00 |
|
Damien Elmes
|
4f9c9e1770
|
add a webview_did_receive_js_message hook
|
2020-01-22 11:06:12 +10:00 |
|
Damien Elmes
|
7bf4c9f08f
|
get mpv slave mode working with new API
Also move the mpv-specific hooks into AVPlayer
|
2020-01-20 22:01:38 +10:00 |
|
Damien Elmes
|
b22dc71810
|
more tweaks for readability/consistency
|
2020-01-15 17:45:35 +10:00 |
|
Damien Elmes
|
dd780b2898
|
more hook tweaks, and merge the pre-render field and template hooks
|
2020-01-15 17:18:11 +10:00 |
|
Damien Elmes
|
f6ccde1c2f
|
tidy hooks, add reviewCleanup
|
2020-01-15 13:03:11 +10:00 |
|
Damien Elmes
|
aa0300af90
|
migrate most of the remaining runHook() calls
|
2020-01-15 12:46:53 +10:00 |
|
Damien Elmes
|
550264b1e5
|
add more hooks, tweak wording for consistency
|
2020-01-15 12:16:54 +10:00 |
|
Damien Elmes
|
ac9470dd5f
|
move hook gen code out of anki/
It's not needed at runtime, and this allows hooks to be updated
even when the code is broken.
|
2020-01-15 09:11:20 +10:00 |
|