Commit Graph

3478 Commits

Author SHA1 Message Date
雷宇辰
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
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
Damien Elmes
9f73d67b5a
Merge pull request #478 from Arthur-Milchior/missing_constant
countsIdx return a queue type.
2020-03-02 15:43:31 +10:00
Damien Elmes
5cf7d6672e
Merge pull request #476 from Arthur-Milchior/hook_browser_init
Hook browser init
2020-03-02 15:40:10 +10:00
Damien Elmes
3d7f643184
Merge pull request #472 from Arthur-Milchior/hook_init_clayout
Hook init clayout
2020-03-02 15:39:23 +10:00
Damien Elmes
4617a4b1f4
Merge pull request #483 from alanhdu/monkeytype
Add some typehints to qt/aqt [3/n]
2020-03-02 15:38:21 +10:00
evandrocoan
5fae10d73c Created a relative badge link README.md 2020-03-01 23:10:40 -03:00
evandrocoan
9460082a91 Allow to define a externally PYTHON_BIN and ACTIVATE_SCRIPT 2020-03-01 22:41:06 -03:00
evandrocoan
7957b51cb8 Fixed rspy/Makefile trying to use python3 on Windows 2020-03-01 22:41:06 -03:00