-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
151: Make (locale) compatible with Anki 2.1.22 and up #155
base: main
Are you sure you want to change the base?
151: Make (locale) compatible with Anki 2.1.22 and up #155
Commits on Dec 9, 2017
-
Merge pull request glutanimate#43 from dae/master
Support Anki 2.1.x
Configuration menu - View commit details
-
Copy full SHA for e36d74d - Browse repository at this point
Copy the full SHA e36d74dView commit details
Commits on Jan 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for dbe897c - Browse repository at this point
Copy the full SHA dbe897cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9264113 - Browse repository at this point
Copy the full SHA 9264113View commit details
Commits on Feb 25, 2018
-
same problem as https://github.com/glutanimate/anki-addons-misc/issues/38 code taken from fix glutanimate/anki-addons-misc@b68b8cb fixes glutanimate#46
Configuration menu - View commit details
-
Copy full SHA for bf5a2b9 - Browse repository at this point
Copy the full SHA bf5a2b9View commit details -
Merge pull request glutanimate#49 from khonkhortisan/patch-1
Fix encoding error in pathname2url on python3
Configuration menu - View commit details
-
Copy full SHA for 90311b0 - Browse repository at this point
Copy the full SHA 90311b0View commit details
Commits on Mar 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1003ca1 - Browse repository at this point
Copy the full SHA 1003ca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d1c6a - Browse repository at this point
Copy the full SHA b8d1c6aView commit details
Commits on Mar 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a7dcb55 - Browse repository at this point
Copy the full SHA a7dcb55View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d7468 - Browse repository at this point
Copy the full SHA d5d7468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a43cf - Browse repository at this point
Copy the full SHA 20a43cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0173582 - Browse repository at this point
Copy the full SHA 0173582View commit details
Commits on Mar 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8e13c29 - Browse repository at this point
Copy the full SHA 8e13c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for b49d363 - Browse repository at this point
Copy the full SHA b49d363View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6304b7b - Browse repository at this point
Copy the full SHA 6304b7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e5c6c5 - Browse repository at this point
Copy the full SHA 1e5c6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 972f54c - Browse repository at this point
Copy the full SHA 972f54cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad6035a - Browse repository at this point
Copy the full SHA ad6035aView commit details
Commits on Mar 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8679432 - Browse repository at this point
Copy the full SHA 8679432View commit details -
Force editor.Editor reload after I/O note editing
This is necessary for changes to image files to become visible in the EditCurrent and Browser editor instances. Fixes glutanimate#62
Configuration menu - View commit details
-
Copy full SHA for 397985f - Browse repository at this point
Copy the full SHA 397985fView commit details
Commits on Mar 18, 2018
-
Switch to version-agnostic svg-edit path
Allows us to experiment with different svg-edit versions
Configuration menu - View commit details
-
Copy full SHA for dacafaf - Browse repository at this point
Copy the full SHA dacafafView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc85b92 - Browse repository at this point
Copy the full SHA dc85b92View commit details -
Ability to perform incremental updates to templates
This implements a new method which grants us the limited possibility of performing in-place changes to the card template without discarding any potential changes that the user might have performed.
Configuration menu - View commit details
-
Copy full SHA for 303d3eb - Browse repository at this point
Copy the full SHA 303d3ebView commit details -
Set up add-on configuration and templates at profile initialization
Up to this point the add-on config/templates would only be set up upon user interaction (e.g. creating new I/O notes or changing options). This commit will allows us to update the note type before a user has the chance to interact with potentially outdated notes/cards. (of importance for instance with the switch to Anki 2.1, where updates to the card templates are needed for the cards to render correctly in the Reviewer)
Configuration menu - View commit details
-
Copy full SHA for cdb2631 - Browse repository at this point
Copy the full SHA cdb2631View commit details -
Only load original image after mask loading has completed
Fixes glutanimate#45. Most likely also fixes glutanimate#15. Even with a liberal fadein timer set, the image flashing problem would still persist on slower systems and/or systems that have performance issues with the new web engine (macOS?). Postponing image visibility until after the mask is loaded seems like the only surefire way to prevent instances of the answers flashing before the actual answer reveal. We still use a small aFade timer to make transitions between question and answer where the images have not been cached smoother. Because this change comes with a lot of increased complexity to the basic method of operation of the add-on, and because it has the potential to completely disrupt card reviewing, it will require extensive testing across all platforms (especially the mobile clients and AnkiWeb).
Configuration menu - View commit details
-
Copy full SHA for 7be290d - Browse repository at this point
Copy the full SHA 7be290dView commit details
Commits on Jun 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6aa60e7 - Browse repository at this point
Copy the full SHA 6aa60e7View commit details -
Now that we only have two modes left, it makes sense to explore more intuitive labels that are still close enough to the previous ones to not confuse existing users. (thanks to tmbb for the suggestion!)
Configuration menu - View commit details
-
Copy full SHA for 7f3fd9a - Browse repository at this point
Copy the full SHA 7f3fd9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2693e - Browse repository at this point
Copy the full SHA 8b2693eView commit details
Commits on Jun 23, 2018
-
Refactor dialogs module. Move most dialog messages to dialogs. Always…
… set parent. Fixes glutanimate#65
Configuration menu - View commit details
-
Copy full SHA for 1c30ea9 - Browse repository at this point
Copy the full SHA 1c30ea9View commit details
Commits on Jun 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d7c680b - Browse repository at this point
Copy the full SHA d7c680bView commit details -
Make sure to close dialogs before Anki exits (fixes glutanimate#68)
Might be worthwhile to look into using Anki's own dialog manager for I/O editor instances at some point.
Configuration menu - View commit details
-
Copy full SHA for b7fba1a - Browse repository at this point
Copy the full SHA b7fba1aView commit details
Commits on Jun 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 715df1e - Browse repository at this point
Copy the full SHA 715df1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f9cbc - Browse repository at this point
Copy the full SHA c6f9cbcView commit details -
Only show SVG-Edit once ready. New ImgOccEdit instance on each edit.
By delaying web view rendering until SVG-Edit is fully up and running, we eliminate most of the perceived glitchiness on Anki 2.1 (glutanimate#55.) Switching to a multi-instance model has been long overdue. Aside from contributing to the fix for image flashing regression (glutanimate#55), it will likely also address a number of longstanding problems that users experienced after longer I/O sessions (SVG-Edit malfunctioning, or stopping to work entirely after too many image changes). Previous attempts at refactoring the add-on in a similar way had failed because of issues with memory management (6d222df). This commit finally introduces proper clean up and garbage collection which surprisingly seems to work perfectly in QtWebEngine as opposed to QtWebKit (though I might have just learned how to handle objects in Python a bit better since my last attempt 2 years ago)
Configuration menu - View commit details
-
Copy full SHA for 2f7e41a - Browse repository at this point
Copy the full SHA 2f7e41aView commit details -
Call fitImageCanvas on changing image (resolves glutanimate#42)
With fitImageCanvas now using a JS timer, automatically fitting images to the canvas finally works.
Configuration menu - View commit details
-
Copy full SHA for 5048951 - Browse repository at this point
Copy the full SHA 5048951View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe6339 - Browse repository at this point
Copy the full SHA bfe6339View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f7885 - Browse repository at this point
Copy the full SHA f5f7885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dac389 - Browse repository at this point
Copy the full SHA 6dac389View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0acf81 - Browse repository at this point
Copy the full SHA b0acf81View commit details -
Call exporer.exe instead of using os.startfile
os.startfile is complaining about missing file associations, even though they appear to be set.
Configuration menu - View commit details
-
Copy full SHA for 9d2f956 - Browse repository at this point
Copy the full SHA 9d2f956View commit details
Commits on Jun 29, 2018
-
Don't assign parent to ImgOccEdit instances
This partially resolves glutanimate#76. Seems like this change has no noticeable ill effects on memory management.
Configuration menu - View commit details
-
Copy full SHA for a092283 - Browse repository at this point
Copy the full SHA a092283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a960d1 - Browse repository at this point
Copy the full SHA 7a960d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12eb009 - Browse repository at this point
Copy the full SHA 12eb009View commit details
Commits on Jul 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0e8cd86 - Browse repository at this point
Copy the full SHA 0e8cd86View commit details
Commits on Dec 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 97eaeaa - Browse repository at this point
Copy the full SHA 97eaeaaView commit details
Commits on Dec 11, 2018
-
Quick hotfix for Anki 2.1 compatibility
2.1's Python dist no longer ships with uuid (partially reverts 5908e13)
Configuration menu - View commit details
-
Copy full SHA for ad49e6d - Browse repository at this point
Copy the full SHA ad49e6dView commit details
Commits on Dec 24, 2018
-
Anki now ships uuid again. Seems like packaging uuid locally might have also caused some problems on macOS. Hopefully this fixes those.
Configuration menu - View commit details
-
Copy full SHA for dc6662b - Browse repository at this point
Copy the full SHA dc6662bView commit details
Commits on Mar 22, 2019
-
Merge pull request glutanimate#88 from zjosua/no-editorwebview
Don't try to reload ed.web whent it's None.
Configuration menu - View commit details
-
Copy full SHA for 496b559 - Browse repository at this point
Copy the full SHA 496b559View commit details
Commits on Apr 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 98063cc - Browse repository at this point
Copy the full SHA 98063ccView commit details
Commits on Apr 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 597f517 - Browse repository at this point
Copy the full SHA 597f517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f98f4d - Browse repository at this point
Copy the full SHA 5f98f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b28dbc9 - Browse repository at this point
Copy the full SHA b28dbc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba94f3 - Browse repository at this point
Copy the full SHA 3ba94f3View commit details
Commits on Jun 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e3d60a9 - Browse repository at this point
Copy the full SHA e3d60a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15ee9a2 - Browse repository at this point
Copy the full SHA 15ee9a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebb2148 - Browse repository at this point
Copy the full SHA ebb2148View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0404e5 - Browse repository at this point
Copy the full SHA a0404e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 678261f - Browse repository at this point
Copy the full SHA 678261fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8defe0d - Browse repository at this point
Copy the full SHA 8defe0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1641241 - Browse repository at this point
Copy the full SHA 1641241View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a9bb8 - Browse repository at this point
Copy the full SHA 17a9bb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 061975b - Browse repository at this point
Copy the full SHA 061975bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4506fc5 - Browse repository at this point
Copy the full SHA 4506fc5View commit details
Commits on Jun 22, 2019
-
Save clipboard images as jpg by default.
Add option to save clipboard images as png.
Configuration menu - View commit details
-
Copy full SHA for 14f762b - Browse repository at this point
Copy the full SHA 14f762bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cc1470 - Browse repository at this point
Copy the full SHA 2cc1470View commit details
Commits on Aug 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f2439a4 - Browse repository at this point
Copy the full SHA f2439a4View commit details
Commits on Sep 11, 2019
-
Move vendorized packages to _vendor, drop PIL, add imghdr
We were shipping a non-working version of PIL anyway that had been mangled in the 2to3 conversion step last year Due to the extension restrictions in the file selector dialog, imageProp almost never had to fall back to PIL, and so this issue remained undiscovered until now
Configuration menu - View commit details
-
Copy full SHA for e711c8a - Browse repository at this point
Copy the full SHA e711c8aView commit details -
Refactor image identification, making it more robust and expressive
thanks to Audrey for inspiring this change
Configuration menu - View commit details
-
Copy full SHA for b75f9f5 - Browse repository at this point
Copy the full SHA b75f9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12aaabd - Browse repository at this point
Copy the full SHA 12aaabdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 953b91a - Browse repository at this point
Copy the full SHA 953b91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b77124 - Browse repository at this point
Copy the full SHA 0b77124View commit details -
Fix additions_by_version data type
Fixes TypeError when updating template (thanks to Emma for the report)
Configuration menu - View commit details
-
Copy full SHA for a4e0157 - Browse repository at this point
Copy the full SHA a4e0157View commit details
Commits on Dec 4, 2019
-
Fix issue glutanimate#95 (crash in in-group editing mode)
This fixes the issue by calling leaveContext() before the calls to svgCanvasToString(). leaveContext() returns from a group context to the normal one.
Configuration menu - View commit details
-
Copy full SHA for 18bbcd9 - Browse repository at this point
Copy the full SHA 18bbcd9View commit details
Commits on Dec 14, 2019
-
This fixes issue glutanimate#123 - Surround (most) translatable Strings with 'gettext' calls - Change format Strings - Remove '_cardS()' * Kept most translations from 'main.py' + Add 'lang.py' + Add skeleton file, generated by `xgettext`
Configuration menu - View commit details
-
Copy full SHA for bd10bd3 - Browse repository at this point
Copy the full SHA bd10bd3View commit details
Commits on Jan 18, 2020
-
124: Add German translation and move old file to .pot file
+ Add complete German translation * Fix missing ‘>’ in 'dialogs.py' (“<b>Fixing a broken note type:</b\n”) * Move 'src/image_occlusion_enhanced/locale/de/LC_MESSAGES/anki-image-occlusion-enhanced.po' to 'src/image_occlusion_enhanced/locale/anki-image-occlusion-enhanced.pot' * Change file paths in comments of po(t) files
Configuration menu - View commit details
-
Copy full SHA for f6b75dd - Browse repository at this point
Copy the full SHA f6b75ddView commit details
Commits on Feb 23, 2020
-
124: Remove unused references to multi threading
* Only use local variables because the multi threading is only really useful for Anki * Update the modification comment
Configuration menu - View commit details
-
Copy full SHA for 7ea76b3 - Browse repository at this point
Copy the full SHA 7ea76b3View commit details
Commits on Mar 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 87f7798 - Browse repository at this point
Copy the full SHA 87f7798View commit details
Commits on Mar 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 509acb4 - Browse repository at this point
Copy the full SHA 509acb4View commit details
Commits on Apr 6, 2020
-
Merge pull request glutanimate#139 from zjosua/query-quotes
Use double quotes in queries and don't quote the field name individually
Configuration menu - View commit details
-
Copy full SHA for de0a8a8 - Browse repository at this point
Copy the full SHA de0a8a8View commit details
Commits on Apr 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b794a51 - Browse repository at this point
Copy the full SHA b794a51View commit details
Commits on Apr 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ae2a7aa - Browse repository at this point
Copy the full SHA ae2a7aaView commit details -
Merge pull request glutanimate#143 from zjosua/config-db
Change config access
Configuration menu - View commit details
-
Copy full SHA for 9522c0c - Browse repository at this point
Copy the full SHA 9522c0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5245961 - Browse repository at this point
Copy the full SHA 5245961View commit details -
Merge pull request glutanimate#146 from glutanimate/revert-143-config-db
Revert "Change config access"
Configuration menu - View commit details
-
Copy full SHA for 4cad106 - Browse repository at this point
Copy the full SHA 4cad106View commit details
Commits on Apr 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 13326c6 - Browse repository at this point
Copy the full SHA 13326c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb716f8 - Browse repository at this point
Copy the full SHA bb716f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aacc32a - Browse repository at this point
Copy the full SHA aacc32aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7148db9 - Browse repository at this point
Copy the full SHA 7148db9View commit details -
Merge pull request glutanimate#150 from davidculley/fix-version-number
Fix version number
Configuration menu - View commit details
-
Copy full SHA for cf781a1 - Browse repository at this point
Copy the full SHA cf781a1View commit details
Commits on Jun 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 751b5ec - Browse repository at this point
Copy the full SHA 751b5ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5942527 - Browse repository at this point
Copy the full SHA 5942527View commit details -
Merge pull request glutanimate#122 from 5hir0kur0/issue-95-ctrl-enter…
…-crash Fix issue glutanimate#95 (crash in in-group editing mode)
Configuration menu - View commit details
-
Copy full SHA for 960107b - Browse repository at this point
Copy the full SHA 960107bView commit details -
Merge pull request glutanimate#105 from zjosua/paste-png
Change how clipboard images are saved.
Configuration menu - View commit details
-
Copy full SHA for 39e8d71 - Browse repository at this point
Copy the full SHA 39e8d71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4caab1b - Browse repository at this point
Copy the full SHA 4caab1bView commit details -
Begin migrating to new hook system
DONE: + profile_did_open + editor_did_init_buttons + editor_will_show_context_menu (fixes glutanimate#151) TODO: + Editor.setNote + Reviewer._showAnswer + reviewStateShortcuts + browser.setupMenus + unloadProfile
Configuration menu - View commit details
-
Copy full SHA for 1352003 - Browse repository at this point
Copy the full SHA 1352003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c30461 - Browse repository at this point
Copy the full SHA 9c30461View commit details -
Configuration menu - View commit details
-
Copy full SHA for 762b642 - Browse repository at this point
Copy the full SHA 762b642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dd33c1 - Browse repository at this point
Copy the full SHA 0dd33c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f8e63 - Browse repository at this point
Copy the full SHA 99f8e63View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b4ab1 - Browse repository at this point
Copy the full SHA e0b4ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for df8b1c2 - Browse repository at this point
Copy the full SHA df8b1c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec07be - Browse repository at this point
Copy the full SHA 8ec07beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e76f4 - Browse repository at this point
Copy the full SHA 61e76f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f830e46 - Browse repository at this point
Copy the full SHA f830e46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59564f5 - Browse repository at this point
Copy the full SHA 59564f5View commit details -
Merge pull request glutanimate#125 from Noxgrim/124-add-translation-c…
…apability 124: Add localisation support
Configuration menu - View commit details
-
Copy full SHA for 95e8193 - Browse repository at this point
Copy the full SHA 95e8193View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80ea5a2 - Browse repository at this point
Copy the full SHA 80ea5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1766a2 - Browse repository at this point
Copy the full SHA c1766a2View commit details
Commits on Jun 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4480b28 - Browse repository at this point
Copy the full SHA 4480b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcb2cc1 - Browse repository at this point
Copy the full SHA bcb2cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db16be - Browse repository at this point
Copy the full SHA 6db16beView commit details -
Temporarily replace lang.currentLang with lang.currentLang
Just to get the add-on running again
Configuration menu - View commit details
-
Copy full SHA for 6e05330 - Browse repository at this point
Copy the full SHA 6e05330View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2efb40 - Browse repository at this point
Copy the full SHA b2efb40View commit details
Commits on Jun 7, 2020
-
151: Make compatible with Anki 2.1.22 and up
* Keep downwards compatibility until 2.1.15 * Idea for fix from @5hir0kur0 * Run `black` on `src/image_occlusion_enhanced/lang.py`
Configuration menu - View commit details
-
Copy full SHA for 6d96f70 - Browse repository at this point
Copy the full SHA 6d96f70View commit details