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
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
b454d6f169
default to desktop in getSaveFile; don't force desktop in stats
2017-09-10 16:42:29 +10:00
Damien Elmes
1e2f934480
allow user to pick graph save location
2017-09-10 15:50:34 +10:00
Damien Elmes
d3d96222bc
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
5f68b62450
fix delay opening preferences screen
...
qt currently seems very slow at calculating width of language dropdown,
so we change the setting to delay dropdown appearance instead of
appearance of the dialog
2017-09-10 15:13:52 +10:00
Damien Elmes
a5bbdf0c5f
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
c5188d9f3a
fix backup rotation
...
add missing d and make pattern more specific
2017-09-10 12:56:27 +10:00
Damien Elmes
5bd2e10f3c
close preview window on collection close
2017-09-08 19:44:13 +10:00
Damien Elmes
35923630bf
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
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
90a5a48d6c
fix silentlyClose check
2017-09-08 18:42:26 +10:00
Damien Elmes
394fffde13
fix margins in deck conf
2017-09-08 16:06:09 +10:00
Damien Elmes
bdcc8e284b
re.escape() deck search
2017-09-08 15:13:46 +10:00
Damien Elmes
63befa7c0c
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
9858ab3dbe
clarify logo license
2017-09-06 17:01:23 +10:00
Damien Elmes
2e7da0f3c6
provide more info in error screen, and link to support site
2017-09-06 16:40:35 +10:00
Damien Elmes
e518619ed3
Merge pull request #205 from matthin/master
...
Fix typo in error message
2017-09-06 13:04:06 +10:00
Damien Elmes
1d257c05ce
'oldest first' now uses the revlog for correct ordering
2017-09-06 13:02:52 +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
5e3cee8c6c
Fix typo in error message
2017-09-05 15:29:45 -07: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 c50203b9a12ef30867b8cac7f7068f6e51880d3a
2017-09-04 19:05:02 +10:00
Damien Elmes
f941e9dea8
remove ellipsis from some menu items
...
to reflect that they execute immediately
https://anki.tenderapp.com/discussions/ankidesktop/21165-bug-menu-items-lie-about-actions
2017-09-04 11:34:41 +10: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
62a1382c0d
python 3 doesn't save us from misconfigured locales
2017-09-02 13:59:10 +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
ecb683cdd1
bump version
2017-08-31 22:00:37 +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
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
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
Damien Elmes
2689c7cfe1
setConfigAction() and writeConfig() should work in submodules
2017-08-31 14:41:00 +10:00
Glutanimate
8d6507c062
Space-separate inserted tags
...
New completions now show up after hitting space again
2017-08-30 14:52:58 +02:00
Glutanimate
e237324873
Show new autosuggestions on typing space
2017-08-30 14:19:15 +02:00
Glutanimate
a7cdff6d96
Invoke autosuggestion pop-up with arrow-key up/down
2017-08-30 13:13:10 +02:00
Glutanimate
153849c01b
Apply first tag autosuggestion with Enter/Return
2017-08-30 13:11:03 +02:00
Glutanimate
0c85aed04a
Navigate through tag autocompletions with Ctrl+Tab
2017-08-30 12:49:04 +02:00
Damien Elmes
7b93d8423f
make sure media server can handle a flood of requests
...
fixes intermittent failures when loading js/css files, especially during
startup
2017-08-30 16:05:39 +10:00
Damien Elmes
f58ea62aec
shortcut key for add-ons dialog
2017-08-30 15:31:16 +10:00
Damien Elmes
5a11efa0e3
merge new keys from config.json into user conf
2017-08-30 15:31:03 +10:00
Damien Elmes
9fb9d9c902
Merge pull request #203 from glutanimate/previewer-both-sides-patches
...
Assign "both sides" toggle to hotkey, refresh preview on toggle
2017-08-30 15:03:32 +10:00
Glutanimate
fc59fab967
Assign "both sides" toggle to hotkey, refresh preview on toggle
2017-08-29 16:41:01 +02:00
Damien Elmes
fc60cfec28
fix margins in prefs screen
2017-08-29 17:33:09 +10:00
Damien Elmes
9ddaa20881
syncing media -> syncing
...
in the no changes case, the progress window is forced open for a while,
making it look like media syncing is to blame
2017-08-29 14:11:41 +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