Commit graph

1570 commits

Author SHA1 Message Date
Damien Elmes
f010bbc80a force break word when it hits the reviewer margin 2017-11-28 09:52:56 +10:00
Damien Elmes
78a3cc7370 note media check stage in sync dialog 2017-11-27 11:21:03 +10:00
Damien Elmes
63c03eea83 bump version 2017-11-27 11:17:42 +10:00
Damien Elmes
c32690a5d0 allow user to override scaling
which may help wth issues like
https://anki.tenderapp.com/discussions/beta-testing/918-text-size-in-ubuntu-1710
and
https://anki.tenderapp.com/discussions/ankidesktop/25708-anki-with-high-dpi-screen
2017-11-27 11:01:15 +10:00
Damien Elmes
e3a29ac3d1 accept current and future mnemosyne imports 2017-11-27 10:49:38 +10:00
Damien Elmes
b632a1805d 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
e36e112097 Merge pull request #216 from Derbeth/translation
Allow to better translate add-ons dialog
2017-11-20 14:07:01 +10:00
Piotr Kubowicz
a9a406c860 Allow to better translate add-ons dialog 2017-11-19 10:28:04 +01:00
Damien Elmes
3cda126717 bump version 2017-11-17 17:35:36 +10:00
Damien Elmes
a97f1d87ff detect image extension, catch errors, add timeout 2017-11-17 17:30:01 +10:00
Damien Elmes
e673e642ac don't check extension when localizing image sources
fixes https://anki.tenderapp.com/discussions/beta-testing/916-pictures-not-showing-on-iphoneipad-ios11-when-not-connected-to-internet
2017-11-17 16:20:33 +10:00
Damien Elmes
ee4e1cadbf 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
cf3da168a8 don't error if pasted image in temp folder
https://anki.tenderapp.com/discussions/ankidesktop/25805-anki-21-error-reporting
2017-11-13 11:05:46 +10:00
Damien Elmes
7d9530377e bump version 2017-11-11 12:15:38 +10:00
Damien Elmes
1631160ddc favour most recent modified when importing template changes 2017-11-11 12:11:45 +10:00
Damien Elmes
49fb1f072d fix broken image links when pasting between fields
https://anki.tenderapp.com/discussions/beta-testing/853-anki-210-beta-21#comment_43959510
2017-11-11 11:51:30 +10:00
Damien Elmes
97833c71ad 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
3447d4408d disable main window while collection unloaded
fixes error when pressing y then d in rapid succession
2017-11-01 12:38:43 +10:00
Damien Elmes
3da4b9f60e bump version 2017-10-27 18:07:29 +10:00
Damien Elmes
24d8af5271 fix drag&drop failing to save again
I'm guessing the move to qt 5.9.2 caused this regression
2017-10-27 18:06:21 +10:00
Damien Elmes
87d19a2619 bump version 2017-10-26 19:57:47 +10:00
Damien Elmes
378429927e remove unwanted whitespace in paste filter
libreoffice adds newlines to exported HTML which interfere with cloze
deletion
2017-10-26 16:36:34 +10:00
Damien Elmes
60bab2ddbc fix hang on internal paste due to shadowed var 2017-10-26 11:45:05 +10:00
Damien Elmes
9feaa30212 fix arg name 2017-10-26 11:44:51 +10:00
Damien Elmes
ffcd0833be bump version 2017-10-25 20:47:00 +10:00
Damien Elmes
93ecd17703 separate basic and extended paste modes
- basic mode is the default, and includes only HTML elements that can be
added/edited easily with the default editor
- extended mode is enabled by holding down shift and includes a bunch of
other HTML elements
2017-10-25 20:20:28 +10:00
Damien Elmes
d1421edb4f use requests library for media downloads
fixes SSL errors when pasting media from https website
2017-10-25 19:42:20 +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
e0d5955261 clear audio queue when showing answer
fixes question audio playing again on answer
2017-10-25 19:00:24 +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
4cabea6801 filter out background and font settings in internal paste
should fix
https://anki.tenderapp.com/discussions/beta-testing/842-issue-when-copy-pasting-add-edit-and-browse-windows
and
https://anki.tenderapp.com/discussions/beta-testing/840-copy-paste-in-anki-editor-causes-copied-text-to-include-redundant-tags-which-is-deterimental-to-ux-when-using-night-mode-addon

this change will of course prevent these attributes from being copied
when they were manually included in the field instead of implicitly set
on the parent - I don't see a good way to distinguish between the two
cases
2017-10-25 17:51:22 +10:00
Damien Elmes
a8298c8e96 fix shift+tab on osx again
presumably broke in upgrade to qt 5.9.2
2017-10-25 16:54:24 +10:00
Damien Elmes
d395fa04b6 delay setting q/a if previous operation is still running
fixes incorrect formatting when undoing previous review then immediately
hitting enter
2017-10-24 17:09:22 +10:00
Damien Elmes
809a873d16 fix type answer race condition
user may hit enter before the question has been written, due to fade out
delay
2017-10-24 17:08:36 +10:00
Damien Elmes
c17e717920 Revert "avoid setting modality in progress dialog"
This reverts commit 059db539a7.

seems to work correctly in qt 5.9.2
2017-10-20 13:25:38 +10:00
Damien Elmes
e0461483a2 Merge branch 'master' of github.com:dae/anki 2017-10-20 11:26:15 +10:00
Damien Elmes
664135fe4b Merge pull request #214 from krassowski/cleanup
Clean up reviewer code from unused code
2017-10-20 11:26:01 +10:00
krassowski
60270d519e Clean up reviewer code from unused code 2017-10-18 16:12:04 +00:00
Damien Elmes
ae63dfb520 fix detection of media links in paste
'.aspx' was matching the 'spx' filter
2017-10-18 21:58:36 +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
ad56e7eb36 ctrl+d to deselect all in tag picker 2017-10-16 15:31:29 +10:00
Damien Elmes
5142ff0ccd don't die on _anki.png et al
https://anki.tenderapp.com/discussions/beta-testing/747-anki-210-beta-16/page/2#comment_43769227
2017-10-16 15:02:16 +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
a8f4fff41a Merge pull request #213 from krassowski/shortcuts_after_web
Setup shortcuts after setting-up web.
2017-10-12 11:35:12 +10:00
krassowski
11a01a3ea0 Setup shortcuts after setting-up web. 2017-10-11 18:51:26 +00: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
0a95c39e65 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