Damien Elmes
859e18e923
add hw accel toggle to prefs
2018-08-30 13:39:04 +10:00
Damien Elmes
5c749c240f
disable question fade when using software rendering
2018-08-30 13:26:08 +10:00
Damien Elmes
ee1bd755a0
Merge pull request #249 from lins05/front-preview-type-input-readonly
...
make the "type:" input readonly in the front preview
2018-08-29 10:35:21 +10:00
Damien Elmes
a36f504a87
don't repeat shortcuts when key held down
...
https://anki.tenderapp.com/discussions/ankidesktop/29405-space-bar-repeat-problem
2018-08-29 10:07:33 +10:00
Shuai Lin
4be0eda5d1
make the "type:" input readonly in the front preview
2018-08-28 09:01:17 +08:00
Damien Elmes
c6b74646b9
handle 'jpg' and leading space in inlined images
2018-08-20 13:02:30 +10:00
Damien Elmes
3157372fdd
handle conf group with string id
...
https://anki.tenderapp.com/discussions/ankidesktop/29112-cant-delete-a-deck
2018-08-09 15:03:19 +10:00
Damien Elmes
5f71f91cd0
support specifying gfx driver in profile folder
...
We need to set the OpenGL mode prior to Qt initialisation, but
want to fetch the current driver from the profile manager - and
the profile manager required Qt to already be set up.
Work around this by moving away from QStandardPaths in favour of
a pure Python module. The profile manager now does early setup
using winpaths, and we defer most of the setup until Qt has been
initialised.
Also we install a message handler to catch OpenGL initialisation
errors, and automatically switch to the next driver so users
don't need to manually change the driver.
The --hwaccel option has been removed, as it is no longer necessary.
2018-08-08 23:48:25 +10:00
Damien Elmes
096dbd6aff
fix winpaths for py3
2018-08-08 23:31:18 +10:00
Damien Elmes
631865917c
bundle winpaths
2018-08-08 23:30:41 +10:00
Damien Elmes
99fb8b6403
favour urls over images in local file case
...
fixes copying&pasting from finder pasting icons instead of actual image
https://anki.tenderapp.com/discussions/ankidesktop/29082-found-several-issues-in-anki-21
2018-08-08 12:46:51 +10:00
Damien Elmes
afdcc8871e
fix images not pasting as links
2018-08-08 12:45:59 +10:00
Damien Elmes
31f0fa4ab5
don't save window geom when window is fullscreen
...
fixes windows being shown in extra workspaces instead of tabs on osx
https://anki.tenderapp.com/discussions/ankidesktop/29094-anki-21-issue
2018-08-08 12:30:58 +10:00
Damien Elmes
59d376fb98
rewrite data uris from html pastes as well
2018-08-08 11:38:45 +10:00
Damien Elmes
2695391891
support rtl text in sort field in browser
2018-08-08 10:39:54 +10:00
Damien Elmes
3036a5c43c
fix exporting not working with regular scheduler
2018-08-07 14:27:48 +10:00
Damien Elmes
7b2c0533c1
shortcut to mhchem
2018-08-06 13:17:57 +10:00
Damien Elmes
a1c23c770c
don't unmaximize when showing browser
...
https://anki.tenderapp.com/discussions/beta-testing/1228-anki-210-release-candidate/page/2#comment_45812673
2018-08-01 21:11:35 +10:00
Damien Elmes
1c538fb943
add webm
2018-07-30 12:06:38 +10:00
Damien Elmes
217074e710
Merge pull request #248 from glutanimate/addon-onconfigupdated
...
Extend add-on API with setConfigUpdatedAction
2018-07-28 18:50:29 +10:00
Damien Elmes
1d97d284e9
support dynamic sync url
2018-07-28 18:08:16 +10:00
Glutanimate
335406641a
Pass new config on to add-on
2018-07-28 09:25:38 +02:00
Glutanimate
adab94e0ec
Only update config if actually modified
2018-07-28 09:09:17 +02:00
Glutanimate
880a1d80d0
Extend add-on API with setConfigUpdatedAction
...
Allows add-on authors to define an action to be performed upon
manual editing of the add-on configuration through the ConfigEditor
2018-07-28 09:00:49 +02:00
Damien Elmes
4a79775510
remove beta warning
2018-07-28 16:44:23 +10:00
Damien Elmes
c84ae1e7c3
default to software rendering on Windows/Linux
2018-07-28 16:43:19 +10:00
Damien Elmes
b6a64991de
Merge pull request #245 from glutanimate/fix-findreplace-showinfo-focus
...
Set showInfo parent explicitly in in browser find and replace
2018-07-26 16:31:13 +10:00
Damien Elmes
c7c559930e
Merge pull request #244 from glutanimate/fix-togglefield-reset
...
Make sure to end model reset when prematurely returning from toggleField
2018-07-26 16:25:01 +10:00
Glutanimate
2518c13f16
Set showInfo parent explicitly in in browser find and replace
...
Fixes an issue where focus would be passed over to mw after longer
find and replace processing times.
2018-07-25 12:00:08 +02:00
Glutanimate
574edf9d2c
Make sure to end model reset when prematurely returning from toggleField
...
Fixes an issue where Anki would stall after trying to remove the
last browser column.
2018-07-25 11:52:21 +02:00
Glutanimate
f0f1efd73d
Add a hook to browser.onContextMenu for add-on authors
...
This will grant add-on authors more flexibility in implementing
custom context menu actions.
2018-07-25 11:40:49 +02:00
Damien Elmes
75c25b2b80
save file selector state
2018-07-23 13:57:17 +10:00
Damien Elmes
991aa7d402
fixes for mpv focus switching
...
- avoid changing focus if an Anki window is already focused
- only try to restore focus when playing videos
2018-07-23 13:57:09 +10:00
Damien Elmes
8d1cc6de23
select current card in card layout from edit current
2018-07-23 12:54:26 +10:00
Damien Elmes
42c590e5b8
select current card when browser opened
...
https://anki.tenderapp.com/discussions/beta-testing/1208-no-way-to-know-which-card-im-seeing-anymore
2018-07-23 12:50:10 +10:00
Damien Elmes
73ed513408
catch v2 sched export before file created
...
https://anki.tenderapp.com/discussions/beta-testing/1210-scheduling-error#comment_45692960
2018-07-23 12:01:45 +10:00
Damien Elmes
8f38ddd2b9
leave space after deck:current
...
https://anki.tenderapp.com/discussions/ankidesktop/28662-add-space-after-deckcurrent
2018-07-23 11:01:21 +10:00
Damien Elmes
f656a2da09
support customizing hard factor
2018-07-11 21:23:22 +10:00
Damien Elmes
72a8330143
separate cram into review cards(resched=1) and all cards(resched=0)
...
rescheduling on is useful for preventing extra work, but when applied to
new cards it will leave the user with a large number of reviews
2018-07-11 20:35:08 +10:00
Damien Elmes
1e63ed2965
remove study card count cap in v2 sched
...
- cap kept for the deck list, as we need to calculate it for multiple
decks
- v2 sched can calculate review limit faster, as it doesn't have to
check each deck separately
- filtered deck cap is same as in interface
- as this will be deployed on ankiweb, beta clients will need to update
or risk getting sanity check errors when syncing with high due counts
2018-07-11 20:03:36 +10:00
Damien Elmes
933bec4c45
don't attempt to rename profile folder if it's a file
2018-07-11 15:23:24 +10:00
Damien Elmes
dae7f56328
warn and close when media server requests fail
2018-06-29 17:17:13 +10:00
Damien Elmes
dbb1444a38
fix card info dialog size not being remembered
2018-06-25 11:56:27 +10:00
Damien Elmes
b6cbe64314
fix error reporting when collection not open
2018-06-21 15:51:32 +10:00
Damien Elmes
616e59bacc
change wording to differentiate from 'browse' in toolbar
2018-06-21 15:23:41 +10:00
Damien Elmes
517fd21961
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
ae1220aec0
show sched ver in debug info
2018-06-08 12:33:05 +10:00
Damien Elmes
56aec99462
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
d0467b0e65
another many decks speedup
2018-05-31 16:24:34 +10:00
Damien Elmes
08538a48dc
catch name resolution errors in sync
2018-05-31 13:24:49 +10:00