Damien Elmes
fac3ee4604
bump version
2017-10-02 16:38:20 +10:00
Damien Elmes
c9aac25fba
integrate _packagedCmd() into mpv for binary distrib
2017-10-02 16:37:52 +10:00
Damien Elmes
1f3cc1bd9f
option to disable qt's hidpi scaling
...
https://anki.tenderapp.com/discussions/beta-testing/765-problem-with-the-ui-of-anki
2017-10-02 16:26:23 +10:00
Damien Elmes
28893890f5
turn off mpv debug
2017-09-30 19:33:09 +10:00
Damien Elmes
975f19b642
use named pipes for mpv on windows
...
currently using non-blocking mode which involves a sleep in the read
loop - overlapped i/o might be a better option in the future
2017-09-30 19:32:48 +10:00
Damien Elmes
7a3bcc62ae
mpv support
2017-09-30 19:29:48 +10:00
Damien Elmes
5c4296d41c
mpv.py fixes
...
- enable input keys for video seeking
- output debug info to stdout so it's not caught by anki's error handler
- before sending a command, check the process is still alive, and
restart if necessary - otherwise a user who closes a video window will
end up with errors
2017-09-30 19:29:48 +10:00
Damien Elmes
4f0afb0a20
add mpv.py
2017-09-30 19:29:48 +10:00
Damien Elmes
5af1d67cef
fix normalization in normal import
2017-09-30 19:29:33 +10:00
Damien Elmes
1b5cba06ff
normalize filenames in colpkg import
2017-09-30 19:29:21 +10:00
Damien Elmes
8cfc1e1315
stripHTML() should work when tag split over multiple lines
2017-09-30 15:33:05 +10:00
Damien Elmes
083878c305
Merge pull request #211 from krassowski/master
...
Allow to run App&GUI without entering the main event loop
2017-09-26 13:21:59 +10:00
krassowski
a09700bfc5
Remove test_run.py and changes introduced in .travis.yml
2017-09-23 15:03:02 +00:00
krassowski
c5720e14f9
Add docstring explaining introduced arguments of _run()
2017-09-23 15:01:29 +00:00
krassowski
70934efc6d
Build GUI before running tests
2017-09-21 03:52:03 +00:00
krassowski
e3c974279c
Add requirements allowing to test GUI: PyQt5 and sip.
2017-09-21 03:46:46 +00:00
krassowski
9c0f773f8b
Allow to run App&GUI without entering the main event loop
2017-09-21 03:02:39 +00:00
Damien Elmes
1c4bec73d7
add missing shortcuts back to advanced menu
2017-09-19 17:07:28 +10:00
Damien Elmes
50fb6945e3
work around python not handling non-latin hostname
...
https://anki.tenderapp.com/discussions/beta-testing/763-anki-does-not-seem-to-start-on-windows-10
2017-09-16 12:19:44 +10:00
Damien Elmes
8049adf404
improve wording of replayQuestion
...
based on some old feedback
2017-09-13 17:59:28 +10:00
Damien Elmes
2d1021dfd5
ignore tex environments/refs outside of math tags
2017-09-13 13:08:43 +10:00
Damien Elmes
663471001c
Revert "use inline-block so enter inserts br tags"
...
This reverts commit 72c00aea9a .
works for empty fields, but picks up existing separator on existing content
2017-09-13 11:31:24 +10:00
Damien Elmes
72c00aea9a
use inline-block so enter inserts br tags
2017-09-13 11:23:09 +10:00
Damien Elmes
ed0561e914
another fix for mathjax+cloze
2017-09-12 13:53:08 +10:00
Damien Elmes
830258b2b3
Merge pull request #209 from sieben/simplify_comparisons
...
Simplify comparisons
2017-09-11 15:01:07 +10:00
Damien Elmes
a3c2efee89
Merge pull request #208 from sieben/none_comparison
...
Comparison with None shouldn't use equality
2017-09-11 15:01:01 +10:00
Damien Elmes
032dd658ae
Merge pull request #207 from sieben/trailing_semicolon
...
Remove trailing semicolon
2017-09-11 15:00:26 +10:00
Rémy Léone
2a2b4a86dd
Simplify comparisons
2017-09-10 15:32:51 +02:00
Rémy Léone
4ee2ebdada
Comparison with None shouldn't use equality
...
That type of comparisons should always be done with 'is' or 'is not',
never the equality operators.
2017-09-10 15:30:22 +02:00
Rémy Léone
02fc117096
Remove trailing semicolon
2017-09-10 14:41:38 +02:00
Damien Elmes
f10968769f
fix broken cloze deletion
2017-09-10 19:51:25 +10:00
Damien Elmes
2460311f6a
bump version
2017-09-10 18:54:08 +10:00
Damien Elmes
55ace773cf
preserve user_files folder in add-ons
2017-09-10 18:53:47 +10:00
Damien Elmes
db5a1f6a5d
replace _ with space in add-on names
2017-09-10 17:02:32 +10:00
Damien Elmes
6419f16c6d
use documents instead of desktop as default location
...
have observed users doing a collection export to their desktop, then
thinking that double clicking the collection file was the way to
start Anki in the future
2017-09-10 17:01:52 +10:00
Damien Elmes
9658fbb91e
use separate .colpkg extension for collection exports
...
- allows translations of filename
- allows users to keep multiple collection exports in the same folder
- provides a clearer distinction between deck and collection packages
- the collection/backup .apkg special cases will continue to work in
future 2.1.x releases
2017-09-10 16:58:55 +10:00
Damien Elmes
5190cbbb91
default to desktop in getSaveFile; don't force desktop in stats
2017-09-10 16:42:29 +10:00
Damien Elmes
39fb87fbac
allow user to pick graph save location
2017-09-10 15:50:34 +10:00
Damien Elmes
67f9e9dd4e
prefs and dialog tweaks
...
- manage prefs window so it only opens once, and gets closed properly
- provide silentlyClose shortcut to dialogmanager windows
2017-09-10 15:15:12 +10:00
Damien Elmes
f1c96eb143
fix delay opening preferences screen
...
qt currently seems very slow at calculating width of language dropdown,
so we change the setting to delay dropdown appearance instead of
appearance of the dialog
2017-09-10 15:13:52 +10:00
Damien Elmes
faace5aa59
fix backups failing to complete
...
the behaviour of daemon=True was the opposite of what I expected
2017-09-10 13:17:56 +10:00
Damien Elmes
b80cb43645
fix backup rotation
...
add missing d and make pattern more specific
2017-09-10 12:56:27 +10:00
Damien Elmes
fe209d9535
close preview window on collection close
2017-09-08 19:44:13 +10:00
Damien Elmes
0129bc9ca1
make sure we update preview buttons at after state determined
...
fixes duplicate calls and inability to reveal answer of last card
2017-09-08 19:43:35 +10:00
Damien Elmes
cb69ff7eac
only strip formatting when inside mathjax
2017-09-08 19:35:34 +10:00
Damien Elmes
d91faa67b4
mathjax tweaks
...
- drop support for $$ in favour of separate opening and closing tags
- add shortcuts to add mathjax
- don't highlight any clozes in blue if field contains mathjax chars
2017-09-08 19:20:37 +10:00
Damien Elmes
d0b969235d
fix silentlyClose check
2017-09-08 18:42:26 +10:00
Damien Elmes
3cb8feb857
fix margins in deck conf
2017-09-08 16:06:09 +10:00
Damien Elmes
d1f35ae909
re.escape() deck search
2017-09-08 15:13:46 +10:00
Damien Elmes
94f6d8a70d
force correct css mime type
...
fixes broken styling on machines with an incorrect mime type
2017-09-07 14:52:46 +10:00