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
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
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
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
krassowski
11a01a3ea0
Setup shortcuts after setting-up web.
2017-10-11 18:51:26 +00: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
Damien Elmes
2689d6f84c
remove lodpi hack, don't assume physical DPI is always 72
2017-10-05 16:42:46 +10:00
Damien Elmes
66d701cfc4
catch errors caused by old mpv versions
2017-10-05 15:46:20 +10:00
Damien Elmes
1d0746dd03
show field numbers for easier positioning
2017-10-05 14:52:05 +10:00
Damien Elmes
445480b5df
increase default number of backups; don't put in trash
2017-10-05 14:39:47 +10:00
Damien Elmes
e84c42e751
user-friendly warning when mpv missing
2017-10-05 13:48:24 +10:00
Damien Elmes
80f441fa6d
pass opts to main window; force zoom factor to 1 on lodpi
2017-10-03 12:12:57 +10:00
Damien Elmes
9a641432aa
make sure we clear the queue when previewing attached
2017-10-02 17:21:34 +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
7a3bcc62ae
mpv support
2017-09-30 19:29:48 +10:00
Damien Elmes
1b5cba06ff
normalize filenames in colpkg import
2017-09-30 19:29:21 +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
c5720e14f9
Add docstring explaining introduced arguments of _run()
2017-09-23 15:01:29 +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
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
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
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
94f6d8a70d
force correct css mime type
...
fixes broken styling on machines with an incorrect mime type
2017-09-07 14:52:46 +10:00
Damien Elmes
267bc44bfd
provide more info in error screen, and link to support site
2017-09-06 16:40:35 +10:00
Damien Elmes
f05a24bca6
Merge pull request #205 from matthin/master
...
Fix typo in error message
2017-09-06 13:04:06 +10:00
Damien Elmes
38688ef8ef
prepareQA hook
...
see updated docs on https://apps.ankiweb.net/docs/addons21.html
2017-09-06 13:02:00 +10:00
Justin Harrison
2cd188e5ae
Fix typo in error message
2017-09-05 15:29:45 -07:00
Damien Elmes
27b42fcac9
use readable name instead of mid in browser searches
...
mid should no longer be required now that note type names are made
unique
2017-09-02 16:15:01 +10:00
Damien Elmes
a0afec9938
escape ideographic space
2017-09-02 16:10:19 +10:00
Damien Elmes
a7ed7fa4e3
fix cutting and copying between fields
...
the shortcut keys are handled by webengine on platforms other than
osx, so rather than messing with an event filter we catch the cut and
copy events in js and send a signal back
2017-09-02 13:48:03 +10:00
Damien Elmes
be14703e7f
strip trailing <br> tag when saving field
2017-09-02 13:26:57 +10:00
Damien Elmes
3b79204924
update self.card on multiple selection
...
fixes
https://anki.tenderapp.com/discussions/beta-testing/713-anki-210-beta-13#comment_43315776
2017-08-31 20:38:12 +10:00
Damien Elmes
f9f8b117d9
fix formatting preservation when pasting between fields
...
- make sure js is passed the internal flag
- make sure we flag text after the asynchronous clipboard change
- be explicit about clipboard data update
2017-08-31 18:10:37 +10:00
Damien Elmes
598df47967
Merge pull request #204 from glutanimate/tagedit-improve-keyboard-nav
...
Improve keyboard navigation in TagEdit
2017-08-31 16:04:59 +10:00