Commit Graph

3386 Commits

Author SHA1 Message Date
Damien Elmes
f4d38f579d strip whitespace in extracted strings 2020-02-27 17:38:02 +10:00
Damien Elmes
da86c27d05 fix extract-po-string path 2020-02-27 17:37:40 +10:00
Damien Elmes
244326c130
Merge pull request #467 from alanhdu/monkeytype
Add some type annotations [1/n]
2020-02-27 17:25:50 +10:00
Alan Du
2476e120ad Fix type warning 2020-02-27 00:07:19 -05:00
Alan Du
53b088f09a Monkeytype pylib/anki/latex.py 2020-02-27 00:07:19 -05:00
Alan Du
b83e44b688 Monkeytype pylib/anki/stdmodels.py 2020-02-27 00:07:19 -05:00
Alan Du
ad90af3c37 Monkeytype pylib/anki/stats.py 2020-02-27 00:07:19 -05:00
Alan Du
1942d97cf5 Monkeytype pylib/anki/template.py 2020-02-27 00:07:19 -05:00
Alan Du
78a002d666 Monkeytype anki/tags.py 2020-02-27 00:07:19 -05:00
Alan Du
ac76c61a2f Monkeytype pylib/anki/errors.py 2020-02-27 00:07:19 -05:00
Alan Du
750a3e4aed Monkeytype pylib/anki/db.py 2020-02-27 00:07:19 -05:00
Alan Du
948c09e84b Monkeytype pylib/anki/decks.py 2020-02-27 00:07:19 -05:00
Damien Elmes
dc1542c6b5 remove submodule that crept into Alan's patch 2020-02-27 14:33:15 +10:00
Damien Elmes
3e1ba9e573 less wordy anki_extra_pip, and readme tweaks 2020-02-27 14:22:53 +10:00
Damien Elmes
e797d4f35a
Merge pull request #465 from alanhdu/rust-deps
Upgrade some rust deps
2020-02-27 14:13:26 +10:00
Damien Elmes
aefce51dae
Merge pull request #459 from evandroforks/fix_windows_build
Fixed development compilation with Windows 10
2020-02-27 14:13:06 +10:00
evandrocoan
ba3a84f89a Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	CONTRIBUTORS
2020-02-27 00:54:16 -03:00
Damien Elmes
64bc9de7c5
Merge pull request #464 from alanhdu/mypy
Improve mypy config
2020-02-27 13:52:06 +10:00
evandrocoan
faaab30809 Fixed syntax error near unexpected token `&&' due ANKI_EXTRA_PIP
variable being undefined and added the last missing @ silencer on
the Makefile.
2020-02-27 00:51:36 -03:00
Alan Du
3ebdaa14de Update blake3 to 0.2 2020-02-26 22:50:48 -05:00
Alan Du
3867c20cfd Update prost-build version to 0.6
This is the same version as Prost, and lets us reduce the number of deps
we have to compile
2020-02-26 22:48:16 -05:00
Alan Du
a63c9e5a9a Apply mypy improvements to aqt 2020-02-26 22:27:58 -05:00
Alan Du
22ec886e07 Add to contributors 2020-02-26 22:22:40 -05:00
Alan Du
cbeb47f8df Improve mypy config
- Make mypy stricter
- Warn for unnecessary workarounds
2020-02-26 22:22:40 -05:00
evandrocoan
f206940d5c Added back missing Makefile @ silencers 2020-02-27 00:22:08 -03:00
evandrocoan
dc049ce26a Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	Makefile
2020-02-27 00:20:34 -03:00
Damien Elmes
e04cbfd7f8
Merge pull request #462 from Arthur-Milchior/filter_empty_card
Add a hook to change empty cards to delete
2020-02-27 12:53:52 +10:00
Damien Elmes
5ea8a59139 match Alan's patch 2020-02-27 12:52:00 +10:00
Damien Elmes
34fcbf6af8 pipefail requires removing -q
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00
Damien Elmes
4d917cc65b add self.col.tr() shortcut 2020-02-27 12:33:15 +10:00
Damien Elmes
0c49431719 FString -> TR 2020-02-27 12:25:19 +10:00
Damien Elmes
e439e8cdec add string for media log title, and add button in prefs to access it 2020-02-27 12:22:24 +10:00
Damien Elmes
b4c3bf99ab extra newline in network details 2020-02-27 11:22:48 +10:00
Damien Elmes
67942b54f5 use debug description for untranslated errors; fix template error 2020-02-27 11:07:18 +10:00
Damien Elmes
b610ff781f info is superfluous 2020-02-27 10:53:49 +10:00
Damien Elmes
644670d0d6 return a localized error for all error kinds
some errors are not yet localized, but now the Python code
doesn't need to think about which property to use
2020-02-27 10:46:24 +10:00
Damien Elmes
bec4699e27 add comment to sync.ftl 2020-02-27 09:18:49 +10:00
Damien Elmes
71c18a9372 separate out infallible and fallible commands in .proto 2020-02-27 08:46:09 +10:00
Arthur Milchior
5ff1f3890f Add a hook to change empty cards to delete 2020-02-26 10:59:34 -08:00
Damien Elmes
cfe4af81cf add missing short argument to legacy fmtTimeSpan() 2020-02-26 20:36:59 +10:00
Damien Elmes
e4bce71f2b need to invoke make for pull-i18n
suggestions on a more elegant want to avoid executing these rules
every time without needing to invoke make welcome!
2020-02-26 20:07:55 +10:00
Damien Elmes
2555990c9c fix pull-i18n running on every build 2020-02-26 18:32:47 +10:00
Damien Elmes
4983eb8e3d fix push-i18n 2020-02-26 18:09:06 +10:00
Damien Elmes
e8b2182d79 mention need to update translations and link to docs 2020-02-26 18:05:32 +10:00
Damien Elmes
cd0a09c865 fetch qt/ftl/repo on first build
needs to happen prior to develop step to ensure qt translations
get compiled into rspy
2020-02-26 18:01:05 +10:00
Damien Elmes
46fadc2a82 don't abort build if mo file fails; rename files for consistency
Issues are now checked for in CI, so there's no need to break the
build for everyone each time there's a problem with the gettext
catalogs.
2020-02-26 17:47:02 +10:00
Damien Elmes
a634188ec5 fix dark mode target Qt version 2020-02-26 16:53:35 +10:00
evandrocoan
ddb1788c22 Reverted back to use pyenv (without using system wide packages) 2020-02-25 23:44:18 -03:00
evandrocoan
d88e5eb308 Removed the qt/Makefile INSTALL_PYAUDIO variable and
created the Makefile SYSTEM_PACKAGES updating README.development
2020-02-25 21:08:05 -03:00
evandrocoan
14a86273c4 Deprecated SHELLCMD, moved the pyaudio installation instructions to
its repository updating the instruction on README.development
2020-02-25 21:08:05 -03:00