Damien Elmes
e6fcfb7379
need to record active window prior to playing in mpv
2018-05-31 13:22:17 +10:00
Damien Elmes
9b7c701f25
new stats shortcut
2018-05-31 13:05:37 +10:00
Damien Elmes
e93dedc7c6
avoid running on qt 5.11
...
updates will be needed for Qt's latest round of breaking changes
2018-05-29 19:25:23 +10:00
Damien Elmes
46a540e22f
sync field contents before applying cloze deletion
...
based on a patch by dlon:
https://github.com/dae/anki/pull/236
2018-05-28 13:40:35 +10:00
Damien Elmes
4cee52a994
Merge pull request #237 from maharmstone/master
...
stdHtml: fix certain fonts not working on Linux
2018-05-28 12:15:43 +10:00
Mark Harmstone
40612c5329
stdHtml: fix certain fonts not working on Linux
2018-05-27 21:16:55 +01:00
Damien Elmes
cfaedfef4a
include aria-label in top toolbar
...
qt doesn't seem to support it at the moment though
https://anki.tenderapp.com/discussions/beta-testing/1130-latest-anki-beta-not-accessible-with-voiceover-on-mac-os
2018-05-14 11:24:04 +10:00
Damien Elmes
0de4e65950
fix previously pasted image appearing in place of drop/text paste
...
mime.imageData() was returning stale data, and may have been causing
crashes as well
2018-05-10 16:44:55 +10:00
Damien Elmes
32b32bb881
don't try to use mpv on Windows
...
some users had mpv lying around from previous installs, and the Windows
implementation seems to hang with the idle hook introduced in the
previous build
2018-05-10 14:50:23 +10:00
Damien Elmes
de955e57c4
fix busy cursor in full sync screen
2018-05-01 14:34:03 +10:00
Damien Elmes
4b28151b61
add space to 'waiting for editing' screen
2018-05-01 13:35:28 +10:00
Damien Elmes
88de6b5075
support pasting of images from inlined base64 text
...
chrome exports image data as text when using 'copy image location'
2018-05-01 13:16:46 +10:00
Damien Elmes
5bf3349e05
favour images over urls when pasting
...
fixes dragging of images from safari+google images, and pasting of
'copy image' from chrome
2018-05-01 12:47:41 +10:00
Damien Elmes
47370af7c3
work around video focus stealing
...
https://anki.tenderapp.com/discussions/ankidesktop/27401-bug-when-playing-a-video-on-anki-for-mac-anki-lanches-mplayer-and-doesnt-quit-it-or-return-to-anki
2018-04-30 17:12:26 +10:00
Damien Elmes
fc23241f0a
add custom steps back to v1 sched options
2018-04-30 16:26:43 +10:00
Damien Elmes
560c21c59d
add experimental scheduler to preferences
2018-04-30 16:26:19 +10:00
Damien Elmes
bdaedb7898
onReset() already sets note; don't need to do it twice
2018-04-30 15:15:43 +10:00
Damien Elmes
38178e5281
catch attempts to save field contents to wrong note
2018-04-30 15:15:20 +10:00
Damien Elmes
1b20dc3311
fix field getting overwritten when showing duplicates
2018-04-30 14:51:28 +10:00
Damien Elmes
35516048a7
sox was dropped years ago
2018-04-19 17:15:49 +10:00
Damien Elmes
eca6ecf90f
hack around premature completer deletion
...
haven't been able to identify why qt sometimes deletes the completer
early, so just suppress the error for now
https://anki.tenderapp.com/discussions/beta-testing/884-freeze-and-sigabrt-when-add-dialog-is-left-open-for-about-one-hour-and-used-afterwards#comment_44837119
2018-04-18 13:21:10 +10:00
Damien Elmes
8577fe71cc
Merge pull request #231 from ljcooke/config-md-unicode
...
Read config.md as UTF-8
2018-04-06 16:47:31 +10:00
Damien Elmes
821b6a65aa
Revert "work around issues writing to Windows clipboard"
...
This reverts commit 25c3f2cb24
.
seemed to be causing crashes, and the underlying race condition wasn't solved
2018-04-06 16:46:09 +10:00
Liam Cooke
0c1136e379
Read config.md as UTF-8
2018-04-05 22:11:44 +10:00
Damien Elmes
c01ba49168
remove stale journal file when resetting prefs
2018-03-22 14:10:23 +10:00
Glutanimate
410d1226bc
Revert debug console shortcut workaround
...
Seems like the assignment to "Ctrl+:" is working again
cf. fb81f63fe3
2018-03-18 15:50:50 +01:00
Damien Elmes
56e1643bfa
allow pycmd() to return a value
...
based on pull request #228
2018-03-08 17:48:14 +10:00
Damien Elmes
9db9d144b9
don't show completion dropdown on focus in
...
obscures buttons and gives the impression something needs to be chosen
https://anki.tenderapp.com/discussions/ankidesktop/27132-anki-bug-with-tags-and-decks#comment_44820594
2018-03-02 12:19:10 +10:00
Damien Elmes
dc6ebca944
filter middle click pastes
2018-03-02 11:16:02 +10:00
Damien Elmes
25c3f2cb24
work around issues writing to Windows clipboard
...
https://anki.tenderapp.com/discussions/beta-testing/1014-cannot-copy-from-fields-in-anki-210beta36
2018-03-01 15:53:25 +10:00
Damien Elmes
53f0793b9e
clean up deck chooser hook on importer close
...
fixes
https://anki.tenderapp.com/discussions/ankidesktop/20841-editingimport-limitation#comment_44777511
2018-03-01 14:20:30 +10:00
Damien Elmes
724513ca91
clarify 'delete unused' button, and don't show when n/a
2018-03-01 14:00:05 +10:00
Damien Elmes
c87b9be73a
ignore delete key if card list is not focused
...
https://anki.tenderapp.com/discussions/beta-testing/1004-ctrl-delete-erases-my-cards
2018-03-01 13:31:52 +10:00
Damien Elmes
9902e21cba
fix error when unsetting browser appearance
2018-02-26 11:21:12 +11:00
Damien Elmes
9a23f0958d
load add-ons in consistent order
...
if ANKIREVADDONS env var is defined, reverse order for debugging
partially addresses pull req #225
2018-02-24 13:23:15 +11:00
Damien Elmes
8a15bc897b
fix importing of v2 colpkg files
2018-02-05 15:30:57 +10:00
Damien Elmes
5cd063a8bd
check shift key when paste starts; avoid progress dlg for local file
...
https://anki.tenderapp.com/discussions/ankidesktop/26661-conot-paste-image-and-text-together-from-word-into-anki
2018-02-05 13:40:56 +10:00
Damien Elmes
b08e25dafb
fix temp folder msg
2018-02-05 12:34:38 +10:00
Damien Elmes
275af7e9b5
catch more problems with corrupt collections
...
if collapseTime is missing from col.conf, the initial load was
succeeding, but then the UI was getting stuck in moveToState()
2018-02-05 12:34:31 +10:00
Damien Elmes
a617be1779
prevent find duplicates scrolling to top on link click
2018-02-03 17:11:32 +10:00
Damien Elmes
1b7a7df4f0
raise profile window on macos
...
otherwise profile manager opens without focus
2018-02-01 12:14:04 +10:00
Damien Elmes
0cce540d83
enforce schema version; allow importing+exporting v2 scheduler
...
To avoid all sorts of problems, we need to ensure cards scheduled with
the V2 scheduler are not studied in older clients. Unfortunately we
can't just bump the file's schema version, as the existing clients will
freely import files created with newer versions. This patch changes
that, so things should be a bit easier in the future.
In the mean time, we need a way to prevent older clients from importing
files created with the V2 scheduler. To do this, we switch to using a
'collection.anki21' file in the archive, and include a dummy collection
.anki2 file.
The code has been tested with both deck and collection packages, but
exporting deck packages w/ scheduling info will remain disabled until
the V2 scheduler has had more testing.
2018-01-29 14:12:04 +10:00
Damien Elmes
8cceb24857
preserve newlines when pasting plain text
2018-01-26 19:18:24 +10:00
Damien Elmes
ed9110d530
fix unbury op w/ v1 scheduler
2018-01-26 19:05:08 +10:00
Damien Elmes
a6ccae95b6
remove missed format literals
2018-01-24 21:07:06 +10:00
Damien Elmes
d78176debe
fix opening prefs screen in V1 sched
2018-01-22 11:24:45 +10:00
Damien Elmes
d3d61ce93f
add option to show day learn cards before reviews
2018-01-20 16:07:57 +10:00
Damien Elmes
b17a0552d0
support customizing day cutoff w/ V2 scheduler
2018-01-20 15:32:52 +10:00
Damien Elmes
651b107b18
make preview delay customizable
2018-01-20 15:26:11 +10:00
Damien Elmes
fecd1a0354
log traceback in case of sync error
2018-01-20 11:24:01 +10:00