Commit Graph

5649 Commits

Author SHA1 Message Date
Damien Elmes
17a221dfa0 bump pickle proto to v4; change column type to blob 2020-12-16 15:38:07 +10:00
Damien Elmes
4b04905ff8 mention requirements.txt in editing docs 2020-12-16 15:38:02 +10:00
Damien Elmes
266c19461f enable Python warnings when running 2020-12-16 14:59:04 +10:00
Damien Elmes
8e7e01ccfd don't catch DeprecationWarnings in the GUI 2020-12-16 14:25:11 +10:00
Damien Elmes
06399446e3 add some code editing/completion docs 2020-12-16 14:16:08 +10:00
Damien Elmes
4c06d89644 fix path to anki lib in ts/ when editing 2020-12-16 14:15:49 +10:00
Damien Elmes
24e69e3803
Merge pull request #851 from hgiesel/cardtypeprobs
Remove unicode isolation from card type names
2020-12-16 13:37:44 +10:00
Damien Elmes
c8f989239b remove conditional rsbackend_gen import
It causes PyCharm to think methods are missing on col.backend, and
should not be needed with the move to Bazel.
2020-12-16 13:30:54 +10:00
Damien Elmes
937247ab06 add type stub for _rsbridge to make PyCharm happy 2020-12-16 13:13:42 +10:00
Henrik Giesel
f06fd23319 Remove unicode isolation from card type names 2020-12-16 03:09:33 +01:00
Damien Elmes
c72e3987d3 add missing '-' to section marker 2020-12-16 12:02:49 +10:00
Damien Elmes
dcb85a9bb8 remove set -x from Buildkite scripts 2020-12-16 12:01:21 +10:00
Damien Elmes
ed607782de add section markers to Buildkite 2020-12-16 11:59:07 +10:00
Damien Elmes
53276b3044 symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
Damien Elmes
dee0a2fc18 fix reposition not being applied in browser sort order
https://forums.ankiweb.net/t/reposition-function-not-working/5817

Also changed id->cid in the non-sorting case, as otherwise when
using all_searched_cards() on a sorted list, the results will be wrong.
2020-12-16 10:58:46 +10:00
Damien Elmes
1b98e7e48f add ability to specify an individual Python test 2020-12-16 10:40:29 +10:00
cecini
d2ae874d9e fix float to int conversion DeprecationWarning 2020-12-15 13:10:12 +00:00
Damien Elmes
4adf6c62e0 tweak graphs search error msg 2020-12-15 20:40:58 +10:00
Damien Elmes
d49416649c update to latest cargo-raze 2020-12-15 20:28:10 +10:00
Damien Elmes
75cbbea048
Merge pull request #848 from cecini/rslibdep
Update Rust deps, and nom to v6
2020-12-15 20:04:02 +10:00
Damien Elmes
9b021d59ec
Merge pull request #847 from cecini/pb
Update protobuf repo to 3.14.0
2020-12-15 20:00:34 +10:00
Damien Elmes
2449dc4b1a
Merge pull request #849 from cecini/updatepy
fix update.py for compatible
2020-12-15 20:00:07 +10:00
Damien Elmes
ae04097b41
Merge pull request #846 from abdnh/dupe-decode-entities
Fix duplicate check not decoding entities
2020-12-15 19:58:13 +10:00
cecini
d37ea0f5f7 Update rslib dep nom 2020-12-15 08:19:52 +00:00
cecini
aa715eee93 fix update.py for compatible 2020-12-15 08:09:11 +00:00
cecini
f8addab8b3 Update protobuf repo to 3.14.0
update
2020-12-15 07:18:11 +00:00
abdo
197d665de8 Fix duplicate check not decoding entities
This is a regression introduced in 358d0f957e

See https://forums.ankiweb.net/t/bug-duplicates-not-detecting-on-paste/5753
2020-12-14 15:13:00 +03:00
Damien Elmes
77c9db5bba plural rules and decimal separator should use bundle's language
Instead of providing the list of languages in preferred order, when
creating a bundle we need to specify the bundle language as the first
language, so that the correct plural rules are used. Fluent's docs
are misleading here; I will submit a PR to fix them.

The old behaviour caused:
https://forums.ankiweb.net/t/bug-in-review-intervals-for-some-languages-in-number-of-cards/5744
2020-12-14 14:23:49 +10:00
Damien Elmes
6d596c8fc9 avoid distributing BUILD.bazel in js/vendor 2020-12-12 10:35:01 +10:00
Damien Elmes
d01391b40d disable worker when building wheels
Will override a user.bazelrc setting, except if it's specified
for a specific OS (eg build:windows)
2020-12-12 10:27:18 +10:00
Damien Elmes
1da327c725 minor doc updates 2020-12-11 22:37:12 +10:00
Damien Elmes
b80f33d14d document worker and disable it by default 2020-12-11 21:04:06 +10:00
Damien Elmes
6faaecbb5a mention clang 2020-12-11 20:56:08 +10:00
Damien Elmes
13d66b22f4 remove unwanted leading '/' in wheel records 2020-12-10 23:02:18 +10:00
Damien Elmes
fe4fda7039 remove obsolete docker instructions 2020-12-10 20:34:48 +10:00
Damien Elmes
c942dbc998 add note about ccache
https://forums.ankiweb.net/t/building-with-ccache/5677
2020-12-10 20:28:33 +10:00
Damien Elmes
0cbb60169c simplify wheel building 2020-12-10 20:27:21 +10:00
Damien Elmes
daf9ca5e5e tidy up .gitignore 2020-12-10 20:26:41 +10:00
Damien Elmes
330d13d320 set the minimum ease to 131% for now
https://forums.ankiweb.net/t/force-sync-triggers-2-1-34-ease-fixup-behaviour/5632/
2020-12-10 15:46:22 +10:00
Damien Elmes
fb680aa77e update rules_rust + persistent_worker 2020-12-10 15:35:37 +10:00
Damien Elmes
46b3b1938d add disk and repo cache to Linux CI 2020-12-10 08:49:37 +10:00
Damien Elmes
6967c71aad
Merge pull request #845 from hgiesel/answerfix
Switch back to fadeTo rather than fadeIn/fadeOut
2020-12-10 00:06:17 +10:00
Henrik Giesel
0ad3c062bb Switch back to fadeTo rather than fadeIn/fadeOut 2020-12-09 14:19:45 +01:00
Damien Elmes
a9ea8e11a2 fix filtered decks not honoring sort order
https://forums.ankiweb.net/t/2-1-36-filtered-decks-bug/5649/
2020-12-09 22:50:49 +10:00
Damien Elmes
dffbe2bfdf move author check to top; add hint about GitHub UI 2020-12-09 21:15:38 +10:00
Damien Elmes
f2db4f4996 move contributor check into Buildkite 2020-12-09 21:01:11 +10:00
Damien Elmes
89a9798b20 update badge 2020-12-09 20:29:35 +10:00
Damien Elmes
f42ea874fb tweak Windows CI entrypoint 2020-12-09 20:09:07 +10:00
Damien Elmes
5f099e5514 minor doc tweaks 2020-12-09 19:59:06 +10:00
Damien Elmes
1399ea9f13 bump py deps 2020-12-09 15:54:35 +10:00