evandrocoan
59d45f309a
Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
...
# Conflicts:
# CONTRIBUTORS
2020-02-27 00:54:16 -03:00
Damien Elmes
cde403463e
Merge pull request #464 from alanhdu/mypy
...
Improve mypy config
2020-02-27 13:52:06 +10:00
evandrocoan
a522ba8fdb
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
df55645ced
Apply mypy improvements to aqt
2020-02-26 22:27:58 -05:00
Alan Du
cd0c4ecb73
Add to contributors
2020-02-26 22:22:40 -05:00
Alan Du
a095c44f40
Improve mypy config
...
- Make mypy stricter
- Warn for unnecessary workarounds
2020-02-26 22:22:40 -05:00
evandrocoan
337c616f30
Added back missing Makefile @ silencers
2020-02-27 00:22:08 -03:00
evandrocoan
4a2456f62f
Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
...
# Conflicts:
# Makefile
2020-02-27 00:20:34 -03:00
Damien Elmes
fcc965e81a
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
480de60947
match Alan's patch
2020-02-27 12:52:00 +10:00
Damien Elmes
bf46c89632
pipefail requires removing -q
...
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00
Damien Elmes
5d09981667
add self.col.tr() shortcut
2020-02-27 12:33:15 +10:00
Damien Elmes
93c2e04267
FString -> TR
2020-02-27 12:25:19 +10:00
Damien Elmes
3dc0567f89
add string for media log title, and add button in prefs to access it
2020-02-27 12:22:24 +10:00
Damien Elmes
5337ea457a
extra newline in network details
2020-02-27 11:22:48 +10:00
Damien Elmes
f20a23b1a9
use debug description for untranslated errors; fix template error
2020-02-27 11:07:18 +10:00
Damien Elmes
b030f2b40b
info is superfluous
2020-02-27 10:53:49 +10:00
Damien Elmes
83d894ac87
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
21c94c623c
add comment to sync.ftl
2020-02-27 09:18:49 +10:00
Damien Elmes
94953cf6b5
separate out infallible and fallible commands in .proto
2020-02-27 08:46:09 +10:00
Arthur Milchior
228db67c93
Add a hook to change empty cards to delete
2020-02-26 10:59:34 -08:00
Damien Elmes
946a2e6a3e
add missing short argument to legacy fmtTimeSpan()
2020-02-26 20:36:59 +10:00
Damien Elmes
84c066aa02
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
9e5e214891
fix pull-i18n running on every build
2020-02-26 18:32:47 +10:00
Damien Elmes
b276e6f9ac
fix push-i18n
2020-02-26 18:09:06 +10:00
Damien Elmes
eb6ffab60e
mention need to update translations and link to docs
2020-02-26 18:05:32 +10:00
Damien Elmes
2804bc18c5
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
7d691d7571
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
8b728b4a1e
fix dark mode target Qt version
2020-02-26 16:53:35 +10:00
evandrocoan
b0927266fa
Reverted back to use pyenv (without using system wide packages)
2020-02-25 23:44:18 -03:00
evandrocoan
0eee3061dc
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
3824358b93
Deprecated SHELLCMD, moved the pyaudio installation instructions to
...
its repository updating the instruction on README.development
2020-02-25 21:08:05 -03:00
Damien Elmes
94ba217c25
formatting fixes
2020-02-25 17:56:46 +10:00
Damien Elmes
5ca00fc92d
interrupt current audio when autoplay off
2020-02-25 17:49:06 +10:00
Damien Elmes
c240690da7
ensure user doesn't try to export into data folder
...
https://anki.tenderapp.com/discussions/ankidesktop/39008-export-path-accidentally-set-to-collectionmedia-possible-damage
2020-02-25 17:38:49 +10:00
Damien Elmes
c172557e47
formatting fix
2020-02-25 17:29:10 +10:00
Damien Elmes
59328d9ade
tweak rounding
...
- avoid rounding minutes
- round the seconds taken in the card info screen
- provide different precise and imprecise modes, since we need
to display seconds to multiple decimals in some areas
2020-02-25 17:29:06 +10:00
Damien Elmes
fa41f24bf6
fix display of 1+ day intervals in review history
...
https://anki.tenderapp.com/discussions/ankidesktop/39189-interval-field-of-card-info-display-wrong-unit
2020-02-25 17:00:02 +10:00
evandrocoan
4c9e62c77a
Added instructions to first try to download prebuilt pyaudio wheels
...
on README.development
2020-02-25 03:26:49 -03:00
Damien Elmes
999aa74eb2
ensure Anki starts on Windows systems that don't have TTS installed
2020-02-25 16:25:17 +10:00
Damien Elmes
8efc23229c
don't allow UI scale < 100%
...
Both Windows and Linux installs fail to render properly when the scale
is below 100%:
https://anki.tenderapp.com/discussions/ankidesktop/38909-user-interface-size
Retina Macs do render properly, but they tend to display at appropriate
size out of the box anyway.
2020-02-25 16:20:14 +10:00
evandrocoan
2d316748a7
Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
...
# Conflicts:
# Makefile
2020-02-25 03:16:57 -03:00
evandrocoan
9e690f80e7
Renamed FIND_EXEC to FIND, replaced IS_WINDOWS by specific commands
...
as PYTHON_BIN, ACTIVE_SCRIPT and INSTALL_PYAUDIO.
Fixed echo statements not using @ to suppress double message output.
Deprecated the usage of ECHOCMD := /bin/echo -e because it has no
effect: https://stackoverflow.com/questions/60387684/how-to-make-the-makefile-echos-to-use-bin-echo-e
# Conflicts:
# Makefile
2020-02-25 03:15:11 -03:00
Damien Elmes
9aa23c4846
don't pick up system dark theme in -alternate Mac build
...
The older Qt doesn't support it properly
2020-02-25 15:46:39 +10:00
Damien Elmes
592741deaa
change default night mode card background to dark grey
2020-02-25 15:43:56 +10:00
Damien Elmes
572bc557e0
add shortcut to update translations to makefile
2020-02-25 15:32:11 +10:00
Damien Elmes
d8695b215f
use -q instead of --for-msgfmt so older gettext versions don't break
...
I was mainly using it to keep the output tidy anyway
2020-02-25 13:52:40 +10:00
Damien Elmes
d26a68f20e
Merge pull request #458 from glutanimate/add-deck-conf-hooks
...
Add deck options hooks
2020-02-25 13:38:04 +10:00
Damien Elmes
e0dbb0d7aa
Merge pull request #460 from evandroforks/add_missing_set-e
...
Fixed build-mo-files not stopping on build errors
2020-02-25 13:37:09 +10:00
Damien Elmes
64851afa5e
cap answer buttons to 1 decimal place
...
we can switch to NUMBER() instead in the future, but will need
to update all the translations at the same time
2020-02-25 13:24:29 +10:00