Damien Elmes
3bf7f19843
bump version
2017-11-27 11:17:42 +10:00
Damien Elmes
77bb67a555
accept current and future mnemosyne imports
2017-11-27 10:49:38 +10:00
Damien Elmes
5ee1ee0450
restore media dir mod check
...
https://anki.tenderapp.com/discussions/beta-testing/853-anki-210-beta-21/page/1#comment_44071381
2017-11-20 14:22:53 +10:00
Damien Elmes
44e88afed0
bump version
2017-11-17 17:35:36 +10:00
Damien Elmes
8e7ef1d1be
detect image extension, catch errors, add timeout
2017-11-17 17:30:01 +10:00
Damien Elmes
0b3685193d
fix crash when deleting nested default deck
...
https://anki.tenderapp.com/discussions/ankidesktop/25777-bug-report-syn
2017-11-14 13:13:52 +10:00
Damien Elmes
64b55f0e55
bump version
2017-11-11 12:15:38 +10:00
Damien Elmes
645f6714d2
favour most recent modified when importing template changes
2017-11-11 12:11:45 +10:00
Damien Elmes
b6972a22e8
fix stutter when multiple audio files on card on windows
...
setting playlist pos to 0 was causing half-played sound to restart
2017-11-10 19:52:20 +10:00
Damien Elmes
905692b2a7
bump version
2017-10-27 18:07:29 +10:00
Damien Elmes
3b7c0ff733
bump version
2017-10-26 19:57:47 +10:00
Damien Elmes
d96517710a
bump version
2017-10-25 20:47:00 +10:00
Damien Elmes
554ff3d8d2
drop experimental prewrap mode
...
- pasting in prewrap mode had been broken for a while and nobody noticed
- needs changes to export code and cloze handling code to deal with the
newlines
- newline rewriting in filterNode() is likely fragile
- may revisit post 2.1
2017-10-25 19:18:00 +10:00
Damien Elmes
6b479fc839
don't leave a wav file lying around when recording
2017-10-25 18:35:39 +10:00
Damien Elmes
e3885fd924
fix detection of media refs in cloze
...
https://anki.tenderapp.com/discussions/beta-testing/796-another-check-media-issue
2017-10-18 21:56:57 +10:00
Damien Elmes
8d0eb42c01
bump version
2017-10-13 13:12:36 +10:00
Damien Elmes
ec9c2476a3
don't capture media keys
2017-10-13 13:11:22 +10:00
Damien Elmes
519187e941
probable fix for win32 startup errors; add timeout to mpv start
2017-10-13 12:14:40 +10: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
d3233f2446
don't show album artwork
2017-10-05 14:35:58 +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
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
b04c2212b5
stripHTML() should work when tag split over multiple lines
2017-09-30 15:33:05 +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
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
0c80b5454f
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
593569d0dc
only strip formatting when inside mathjax
2017-09-08 19:35:34 +10:00
Damien Elmes
4990b2f8eb
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
bdcc8e284b
re.escape() deck search
2017-09-08 15:13:46 +10:00
Damien Elmes
1d257c05ce
'oldest first' now uses the revlog for correct ordering
2017-09-06 13:02:52 +10:00
Damien Elmes
ca6412b6c9
don't force win32 audio output
...
was added in 2008 as a hack around sound problems users were having, but
it causes problems for other users and prevents overriding in the conf
file, so let's try with the default
report:
https://anki.tenderapp.com/discussions/ankidesktop/24859-poor-playback-with-mono-mp3
originally changed in c50203b9a1
2017-09-04 19:05:02 +10:00
Damien Elmes
62a1382c0d
python 3 doesn't save us from misconfigured locales
2017-09-02 13:59:10 +10:00
Damien Elmes
ecb683cdd1
bump version
2017-08-31 22:00:37 +10:00
Damien Elmes
5fd9228273
handle invalid filename encodings
...
on Linux users can end up creating filenames that can't be encoded to utf8,
which breaks Anki when it tries to store the filename in sqlite
2017-08-31 18:55:25 +10:00
Damien Elmes
c18bd47a6e
scan media each time
...
Experiment with ignoring dirMod and scanning the folder for changes on
each sync. Use scandir() for better performance. Please let me know if
this causes a noticeable slowdown for you.
2017-08-29 10:52:13 +10:00
Damien Elmes
25cb6d3abe
bump version
2017-08-28 22:30:05 +10:00