Commit Graph

1674 Commits

Author SHA1 Message Date
krassowski
e21de9ed7e Setup shortcuts after setting-up web. 2017-10-11 18:51:26 +00:00
Damien Elmes
c08818119c bump version 2017-10-11 14:50:28 +10:00
Damien Elmes
17cc7d6eec bump version 2017-10-05 17:26:48 +10:00
Damien Elmes
d8d6430ec7 fall back to mplayer if mpv not found or too old
ubuntu 14.04 looks to be using an ancient mpv version
2017-10-05 17:24:55 +10:00
Damien Elmes
33c5b5f9e7 remove lodpi hack, don't assume physical DPI is always 72 2017-10-05 16:42:46 +10:00
Damien Elmes
3840f012be catch errors caused by old mpv versions 2017-10-05 15:46:20 +10:00
Damien Elmes
0b15a4a3b3 show field numbers for easier positioning 2017-10-05 14:52:05 +10:00
Damien Elmes
7b844d12cb increase default number of backups; don't put in trash 2017-10-05 14:39:47 +10:00
Damien Elmes
d3233f2446 don't show album artwork 2017-10-05 14:35:58 +10:00
Damien Elmes
d0929e5bab run unit tests in parallel 2017-10-05 14:17:12 +10:00
Damien Elmes
f7062ff0c6 user-friendly warning when mpv missing 2017-10-05 13:48:24 +10:00
Damien Elmes
e1a4c52175 pass opts to main window; force zoom factor to 1 on lodpi 2017-10-03 12:12:57 +10:00
Damien Elmes
3407feeceb mplayer->mpv 2017-10-02 17:24:03 +10:00
Damien Elmes
78d7ae388e make sure we clear the queue when previewing attached 2017-10-02 17:21:34 +10:00
Damien Elmes
f9f5a3d9f6 add coding: line to mpv.py for xgettext 2017-10-02 16:41:14 +10:00
Damien Elmes
b75b4ae470 bump version 2017-10-02 16:38:20 +10:00
Damien Elmes
ca95552408 integrate _packagedCmd() into mpv for binary distrib 2017-10-02 16:37:52 +10:00
Damien Elmes
d530134218 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
384a01e53b turn off mpv debug 2017-09-30 19:33:09 +10:00
Damien Elmes
e8b4d276b4 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
7dc8f82906 mpv support 2017-09-30 19:29:48 +10:00
Damien Elmes
bb661a4b7d 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
e7d9d1264d add mpv.py 2017-09-30 19:29:48 +10:00
Damien Elmes
d0a9a87095 fix normalization in normal import 2017-09-30 19:29:33 +10:00
Damien Elmes
fad6b244cd normalize filenames in colpkg import 2017-09-30 19:29:21 +10:00
Damien Elmes
b04c2212b5 stripHTML() should work when tag split over multiple lines 2017-09-30 15:33:05 +10:00
Damien Elmes
fff49a1370 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
7327452e71 Remove test_run.py and changes introduced in .travis.yml 2017-09-23 15:03:02 +00:00
krassowski
755c9487c9 Add docstring explaining introduced arguments of _run() 2017-09-23 15:01:29 +00:00
krassowski
3334cbd249 Build GUI before running tests 2017-09-21 03:52:03 +00:00
krassowski
153e560c3d Add requirements allowing to test GUI: PyQt5 and sip. 2017-09-21 03:46:46 +00:00
krassowski
b863d7972c Allow to run App&GUI without entering the main event loop 2017-09-21 03:02:39 +00:00
Damien Elmes
6007cf5e3a add missing shortcuts back to advanced menu 2017-09-19 17:07:28 +10:00
Damien Elmes
1842db2a8f 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
8fe766c750 improve wording of replayQuestion
based on some old feedback
2017-09-13 17:59:28 +10:00
Damien Elmes
324f3716ae ignore tex environments/refs outside of math tags 2017-09-13 13:08:43 +10:00
Damien Elmes
e166b2204d Revert "use inline-block so enter inserts br tags"
This reverts commit fa498626a0.

works for empty fields, but picks up existing separator on existing content
2017-09-13 11:31:24 +10:00
Damien Elmes
fa498626a0 use inline-block so enter inserts br tags 2017-09-13 11:23:09 +10:00
Damien Elmes
8737c6737b another fix for mathjax+cloze 2017-09-12 13:53:08 +10:00
Damien Elmes
bd414595de Merge pull request #209 from sieben/simplify_comparisons
Simplify comparisons
2017-09-11 15:01:07 +10:00
Damien Elmes
f786ad1594 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
0c6eabc462 Merge pull request #207 from sieben/trailing_semicolon
Remove trailing semicolon
2017-09-11 15:00:26 +10:00
Rémy Léone
4446b85ef2 Simplify comparisons 2017-09-10 15:32:51 +02:00
Rémy Léone
8f1ad57931 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
9e574a448b Remove trailing semicolon 2017-09-10 14:41:38 +02:00
Damien Elmes
67728e73d7 fix broken cloze deletion 2017-09-10 19:51:25 +10:00
Damien Elmes
ce803b9f44 bump version 2017-09-10 18:54:08 +10:00
Damien Elmes
5deb75f5c4 preserve user_files folder in add-ons 2017-09-10 18:53:47 +10:00
Damien Elmes
0bc4a1a220 replace _ with space in add-on names 2017-09-10 17:02:32 +10:00
Damien Elmes
905bd10efe 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