Damien Elmes
87d19a2619
bump version
2017-10-26 19:57:47 +10:00
Damien Elmes
ffcd0833be
bump version
2017-10-25 20:47:00 +10:00
Damien Elmes
86c50f067c
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
d35210c42b
don't leave a wav file lying around when recording
2017-10-25 18:35:39 +10:00
Damien Elmes
61cc3cec86
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
3b23cdafc2
bump version
2017-10-13 13:12:36 +10:00
Damien Elmes
6a61516622
don't capture media keys
2017-10-13 13:11:22 +10:00
Damien Elmes
0fa24f4e0b
probable fix for win32 startup errors; add timeout to mpv start
2017-10-13 12:14:40 +10:00
Damien Elmes
f87bd23f3f
bump version
2017-10-11 14:50:28 +10:00
Damien Elmes
37dc564402
bump version
2017-10-05 17:26:48 +10:00
Damien Elmes
253dcd5e1f
don't show album artwork
2017-10-05 14:35:58 +10:00
Damien Elmes
1edcafcd5d
add coding: line to mpv.py for xgettext
2017-10-02 16:41:14 +10:00
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
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
8cfc1e1315
stripHTML() should work when tag split over multiple lines
2017-09-30 15:33:05 +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
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
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
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
d1f35ae909
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
Damien Elmes
3faa82571c
warn about subfolders
2017-08-28 22:01:13 +10:00
Damien Elmes
ca37b15aa7
bump version
2017-08-26 15:25:10 +10:00
Damien Elmes
2c9f286026
update python ver dep
2017-08-25 16:39:21 +10:00
Damien Elmes
08e0174f2e
remove dupeOnSchemaChange
...
no longer required now that anki 1.x importing dropped
2017-08-21 13:50:11 +10:00
Damien Elmes
ff2e7b9e81
typo in stats
2017-08-21 11:29:54 +10:00
Damien Elmes
3ad9261c8c
catch corrupt media db, fix it in 'check media'
2017-08-17 13:33:54 +10:00
Damien Elmes
e8cc960da3
bump version
2017-08-16 21:53:21 +10:00
Damien Elmes
375c071a26
catch attempts to write outside the media folder
...
big thanks to David Bailey for discovering this
2017-08-16 21:08:46 +10:00
Damien Elmes
af14051637
add check to see if drag&drop caused a recent bug
...
user was getting errors because they had a deck starting with double
quotes
2017-08-15 15:11:59 +10:00
Damien Elmes
a353135af3
add type-in-the-answer note type
2017-08-13 19:42:27 +10:00