Commit Graph

1765 Commits

Author SHA1 Message Date
Floren
f0d6ede6a3
Update lang.py 2018-06-16 21:32:47 +03:00
Damien Elmes
dfaf9251c3 hack to keep scroll position in deckbrowser
noticeable flash when page is redrawn; in the future we'll
need to use js to update the page
2018-06-12 13:46:15 +10:00
Damien Elmes
8b6ef5579f remove comments when stripping
gets rid of unwanted metadata from ms word pastes
2018-06-09 16:27:46 +10:00
Damien Elmes
89fd5cf6e5 make sure we don't import cards into a filtered deck 2018-06-08 14:51:55 +10:00
Damien Elmes
8eff5f3111 show sched ver in debug info 2018-06-08 12:33:05 +10:00
Damien Elmes
da246cb935 move back to requiring python 3.6
portions of libanki can run on python 3.5, but media syncing will fail
so we require 3.6 when running the GUI
2018-06-07 11:36:11 +10:00
Damien Elmes
01c58cfd85 ignore delay in hard case
https://anki.tenderapp.com/discussions/ankidesktop/27627-request-allow-setting-maximum-delay-for-interval-calculation-in-overdue-cards
2018-06-01 12:24:11 +10:00
Damien Elmes
99c50f1a93 bump version 2018-05-31 16:26:31 +10:00
Damien Elmes
0052c8044c another many decks speedup 2018-05-31 16:24:34 +10:00
Damien Elmes
c207c9bc8c speed up v2 deckDueList() in many decks case 2018-05-31 16:21:33 +10:00
Damien Elmes
ec090e02eb fix incorrect scheduling when importing cards in relearning
private link:
https://anki.tenderapp.com/discussions/ankidesktop/28234
2018-05-31 13:27:59 +10:00
Damien Elmes
e2e68e0c54 catch name resolution errors in sync 2018-05-31 13:24:49 +10:00
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
fd6d02bf6a fix regular reviews being treated as relearning in v2 sched 2018-05-31 12:44:23 +10:00
Damien Elmes
9c7c52b99c cache deck name->obj map to improve many decks case 2018-05-29 19:30:13 +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
Damien Elmes
146d332dc8 add Armenian lang 2018-05-28 11:23:24 +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
bfa8fe9022 bump version 2018-05-10 16:49:24 +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
478d244a4f bump version 2018-05-01 14:41:18 +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
cb68be7a1b Revert "Revert "workaround for some drags not being accepted""
This reverts commit e7046ba398.

Without this change, dragging images from Google searches doesn't work on the
latest Chrome (tested on macOS).
2018-05-01 13:24:08 +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
693bb955ad check upload doesn't exceed ankiweb limits
better to abort prior to upload instead of giving a misleading error
2018-04-30 16:58:00 +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
d44ec04751 add envvar to disable ssl verification 2018-04-30 15:36:55 +10:00
Damien Elmes
844778636c preserve cursor position when switching to another window
https://anki.tenderapp.com/discussions/beta-testing/1043-anki-21-beta-37-if-switch-from-another-program-to-continue-editing-the-cursor-will-move-to-the-bottom
2018-04-30 15:26:54 +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
0be03696d8
Merge pull request #235 from homocomputeris/feature_find_duplicates_wording
Refine wording in Find duplicates
2018-04-30 12:29:40 +10:00
Homo computeris
fc680c3a57 Refine wording in Find duplicates
In browser and other dialogues 'Search' and 'Filter' are used. Using the
same terms here make Find duplicates more intuitive
2018-04-28 15:50:16 +02: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
591f5eaeef allow for slow machines
https://anki.tenderapp.com/discussions/ankidesktop/27674-possible-race-condition-in-testtest_cardstest_delete-works-in-isolation
2018-04-12 17:59:51 +10:00
Damien Elmes
9eef6fe1c7
Merge pull request #232 from Dudemanguy911/master
force mpv --keep-open=no
2018-04-11 11:53:29 +10:00
Dudemanguy911
63b6ffea44 force mpv --keep-open=no 2018-04-08 11:18:51 -05: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