Commit Graph

3735 Commits

Author SHA1 Message Date
Glutanimate
0f9683a850 Add cursory type annotations for aqt.DialogManager
Typing DialogManager._dialogs properly would require more extensive
changes which could break a number of add-ons
2020-03-07 17:29:37 +01:00
Arthur Milchior
5adbc33d4c hook debug_ran_hook 2020-03-06 15:01:22 +01:00
Arthur Milchior
3319b114de hook debug_will_show_hook 2020-03-06 15:01:02 +01:00
Damien Elmes
4290bc81eb
Merge pull request #496 from TooYoungTooSimp/patch-1
Use anki.consts.SYNC_BASE instead of hardcoded url
2020-03-06 21:22:18 +10:00
Damien Elmes
5f4839a901
Merge pull request #495 from Arthur-Milchior/check_schema_before_accepting
add-on config check schema of user config
2020-03-06 21:14:47 +10:00
雷宇辰
eba14828a6
Update CONTRIBUTORS 2020-03-06 19:10:34 +08:00
雷宇辰
a2604b80f5
Use anki.consts.SYNC_BASE instead of hardcoded url
Use `anki.consts.SYNC_BASE` instead of hardcoded url in function `MediaSyncer._endpoint`
2020-03-06 18:55:07 +08:00
Damien Elmes
071722c057 rspy version 2020-03-06 19:15:02 +10:00
Damien Elmes
d1ddc1f6eb bump version
.21 will be a bugfix release
2020-03-06 19:11:21 +10:00
Damien Elmes
62aa3031b5 fix invert() in packaged builds
invert() was working in the QT 5.14 test environment, but failing
in 5.13
2020-03-06 18:02:22 +10:00
Damien Elmes
f7ec2faba6 update to failure 0.1.7 2020-03-06 15:08:58 +10:00
Arthur Milchior
01c74bc015 add-on config check schema of user config 2020-03-05 16:31:17 +01:00
Damien Elmes
2f20be7a5a fix incorrect mark_collection_modified()
- usn shouldn't be changed
- mtime is in milliseconds
2020-03-05 14:55:03 +10:00
Damien Elmes
bb0e5dfa93 work around bug in failure crate 2020-03-05 11:06:44 +10:00
Damien Elmes
862e2b48f0 add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
Damien Elmes
6b204274c0 fix retain cycle caused by col.tr
We can't use a weakref.proxy with a method, so manually proxy the
call instead.
2020-03-05 09:45:51 +10:00
Damien Elmes
6bc3462700 fix regression introduced by PR #492 2020-03-05 09:24:26 +10:00
Damien Elmes
94b90d23fb
Merge pull request #493 from glutanimate/type-annotate-editor-card
Type-annotate editor.card
2020-03-05 07:26:40 +10:00
Damien Elmes
78e9959e78
Merge pull request #492 from Arthur-Milchior/print_json_decode_error
print json decode error message
2020-03-05 07:26:17 +10:00
Damien Elmes
a66e1a1f1a
Merge pull request #479 from Arthur-Milchior/change_sched_values
Change sched values
2020-03-05 07:20:39 +10:00
Glutanimate
3948b778e8 Type-annotate editor.card 2020-03-04 17:41:26 +01:00
Arthur Milchior
0c9de3b19c hooks for limit new/rev for a single deck 2020-03-04 16:11:13 +01:00
Arthur Milchior
c4b2ab96a6 single return in sched2 _deckRevLimitSingle 2020-03-04 16:07:15 +01:00
Arthur Milchior
85966f42dc print json decode error message
The main point is to allow add-on dev' to debug their own json
2020-03-04 15:29:48 +01:00
Damien Elmes
c35afd4aaa add diffing script 2020-03-04 21:34:18 +10:00
Damien Elmes
e95eea68ec remove a few more common methods 2020-03-04 21:33:44 +10:00
Damien Elmes
c14132332b use _deckLimit() in a few more places 2020-03-04 21:24:09 +10:00
Damien Elmes
8f2c08e656
Merge pull request #491 from evandroforks/fix_unused_variable_warning
Fixed "Makefile:4: warning: undefined variable 'OS'"
2020-03-04 21:11:39 +10:00
Damien Elmes
b87db06867
Merge pull request #484 from Arthur-Milchior/addon_show_config
hook prettify_json
2020-03-04 21:11:18 +10:00
Arthur Milchior
bc67268d82 config_unprettify_json 2020-03-04 08:25:14 +01:00
Arthur Milchior
e4986c7784 hook prettify_json 2020-03-04 08:25:14 +01:00
Damien Elmes
f054fa14d6 reuse _leftToday() 2020-03-04 12:26:57 +10:00
Damien Elmes
0e8339358b import tidyup 2020-03-04 12:25:02 +10:00
Damien Elmes
e8bdd8616b reuse _deckNewLimitSingle() 2020-03-04 12:23:56 +10:00
Damien Elmes
2079854d3f reuse v2's _logRev() 2020-03-04 12:23:42 +10:00
Damien Elmes
961026b04b remove duplicate methods from sched.py 2020-03-04 12:14:26 +10:00
Damien Elmes
1c09d80558 add some type hints that were only in the v1 scheduler 2020-03-04 12:10:38 +10:00
Damien Elmes
8c3e4a8bee make v1 scheduler inherit from v2 so we can delete duplicate code 2020-03-04 11:41:23 +10:00
evandrocoan
ff3ea28de0 Fixed "Makefile:4: warning: undefined variable 'OS'" due the usage
of MAKEFLAGS += --warn-undefined-variables
2020-03-03 20:51:56 -03:00
Damien Elmes
ffe6ecf44c use weakref for backrefs so collection doesn't need to be garbage collected 2020-03-03 21:25:32 +10:00
Damien Elmes
a8e6fbd0fd fix backend not deallocating due to circular reference 2020-03-03 21:12:38 +10:00
Damien Elmes
e9f4ac0e14
Merge pull request #490 from evandroforks/deprecate_cygwin_usr_bin_note
Deprecate the Cygwin /usr/bin/ note README.development
2020-03-03 18:35:57 +10:00
Damien Elmes
20ce1eca96
Merge pull request #485 from evandroforks/allow_to_define_python_bin
Allow to define python bin
2020-03-03 18:32:55 +10:00
evandrocoan
8b1f302dc9 Deprecate the Cygwin /usr/bin/ note README.development
Such change seem to break my Cygwin installation and it is not
required as a installation step anymore because it was only useful
when the user attempted to install `gettext` using `apt-cyg`, but
now I instruct them to download the binaries directly from their
website.
2020-03-02 16:51:27 -03:00
evandrocoan
f13d9dfb8a Merge remote-tracking branch 'danielelmes/master' into allow_to_define_python_bin
# Conflicts:
#	rspy/Makefile
2020-03-02 11:44:45 -03:00
Damien Elmes
669bb3737f
Merge pull request #454 from glutanimate/display-addon-name-in-config-window
Display add-on name in add-on configuration window title
2020-03-02 16:59:44 +10:00
Damien Elmes
e4886b9761
Merge pull request #488 from evandroforks/relative_actions_link_per_fork
Created a relative badge link README.md
2020-03-02 16:30:24 +10:00
Damien Elmes
a98ecb642c
Merge pull request #487 from evandroforks/fix_rspy_makefile_rebuild
Fixed rspy/Makefile not rebuilding when rspy/src files are changed
2020-03-02 16:30:01 +10:00
Damien Elmes
74e33ffc75
Merge pull request #486 from evandroforks/hide_makefile_buildhash_verbosity
Hide the Makefile buildhash rule verbosity
2020-03-02 16:28:59 +10:00
Damien Elmes
229c33ff62
Merge pull request #481 from evandroforks/fixed_python3_windows_usage
Fixed rspy/Makefile trying to use python3 on Windows
2020-03-02 15:46:17 +10:00