Commit Graph

38 Commits

Author SHA1 Message Date
Damien Elmes
294813f4fd switch undo shortcut
on windows webengine seems to install a permanent ctrl+z handler that is
active even when an editing area is not selected, so our shortcut is
never triggered when the webengineview is focused.
2017-06-24 19:24:43 +10:00
Damien Elmes
ca08b742fa Revert "work around https://bugreports.qt.io/browse/QTBUG-54755"
This reverts commit 0bd79abe11.
2017-06-05 16:52:22 +10:00
Dmitry Mikheev
5a0ac657a9 Correct hotkey to Add-ons >> Browse & Install... 2017-02-18 18:53:38 +05:00
Damien Elmes
b58c082e29 tweaks to add-on downloading
- avoid opening and closing multiple progress dialogs
- report errors at the end; download what we can
- update dialog text
2017-02-15 15:55:31 +10:00
Damien Elmes
1609ffc92a increase deck conf default size 2017-01-08 19:41:12 +10:00
Damien Elmes
259023f369 write backups in thread; remove strip html & compress options
we do the backup compression/writing in a separate thread so it
doesn't slow down profile switching/syncing, and remove the option
to write uncompressed backups

the strip html option is no longer used, so remove it from preferences
2017-01-08 19:29:57 +10:00
Damien Elmes
0bd79abe11 work around https://bugreports.qt.io/browse/QTBUG-54755 2016-12-15 21:12:51 +10:00
Damien Elmes
a001553f66 move the editor buttons into the webview
use new icons, which scale with dpi changes
2016-06-22 14:52:17 +10:00
Damien Elmes
de7e40537d port majority of code to qt5.5+
- a few issues to work out still, and editor changes not done yet
- for communication between webengine and python code, we set window
.location to 'http://anki/<something>' - the leading http is
necessary for qt to call the link handler, which was introduced
in qt5.5
- the designer files now use a promoted qobject to create instances
of AnkiWebView
- we use the css zoom property to alter webengine font size based on
system dpi
- prefs and addons folder stored in new location (at least for now)
2016-05-31 18:51:40 +10:00
Damien Elmes
864a9135dc allow language changing in prefs
avoided adding this in the past as on a multi user system it allows
one profile user to annoys others by changing the interface language,
but it comes at the expense of easily changing the language for users
who choose the wrong one on first startup
2016-04-05 11:02:01 +10:00
Damien Elmes
3cceba085d change repos shortcut to ctrl+shift+s to avoid conflict 2016-03-27 20:50:59 +10:00
Damien Elmes
818c4534e9 ctrl+shift+p for reposition 2016-02-23 14:50:01 +10:00
Soren I. Bjornstad
5dbe267c46 add keyboard shortcut for 'manage note types' 2014-08-10 13:52:09 -05:00
Houssam Salem
3aeb5d86da Added search saving feature to card browser. 2014-04-09 04:35:00 +10:00
Houssam Salem
8f61dd3bf2 Merge branch 'master' of https://github.com/dae/anki 2014-04-06 16:38:32 +10:00
ospalh
49919b4eb6 Fix png images causing libpng 1.6.3 to print warnings. 2014-03-19 15:09:41 +01:00
Houssam Salem
068a63270d Changed location of import button (#1018).
Also updated help link in same window to point to a valid anchor.
2014-02-22 21:30:32 +11:00
Damien Elmes
96eeacbf69 increase filtered deck size limit to 99999 2014-01-14 15:12:45 +09:00
Damien Elmes
647ca8bffa option to disable backup compression 2013-12-06 13:35:31 +09:00
Damien Elmes
d506515564 wher resizing columns in browser, move others 2013-11-23 18:45:17 +09:00
Damien Elmes
9baa3e197a add option to disable burying of reviews 2013-10-18 10:38:29 +09:00
Damien Elmes
f64c07ca40 show sync username in prefs screen 2013-10-04 06:09:36 +09:00
Damien Elmes
0d1d8c5bf9 define standard encoding for unicode (#893)
- always store media references in fields in NFC form
- always encode filenames on disk in NFC form on machines other than macs
- use relevant encoding when placing files in the media folder during syncs
  and apkg imports as well
- rename 'unused media' back to 'check media'
- check media can now automatically change media references and filename
  encodings to the correct format
2013-09-20 19:28:44 +09:00
Damien Elmes
afde11671e rework sibling handling and change bury semantics
First, burying changes:

- unburying now happens on day rollover, or when manually unburying from
  overview screen

- burying is not performed when returning to deck list, or when closing
  collection, so burying now must mark cards as modified to ensure sync
  consistent

- because they're no longer temporary to a session, make sure we exclude them
  in filtered decks in -is:suspended

Sibling spacing changes:

- core behaviour now based on automatically burying related cards when we
  answer a card

- applies to reviews, optionally to new cards, and never to cards in the
  learning queue (partly because we can't suspend/bury cards in that queue at
  the moment)

- this means spacing works consistently in filtered decks now, works on
  reviews even when user is late to review, and provides better separation of
  new cards

- if burying new cards disabled, we just discard them from the current queue.
  an option to set due=ord*space+due would be nicer, but would require
  changing a lot of code and is more appropriate for a future major version
  change. discarding from queue suffers from the same issue as the new card
  cycling in that queue rebuilds may cause cards to be shown close together,
  so the default burying behaviour is preferable

- refer to them as 'related cards' rather than 'siblings'

These changes don't require any changes to the database format, so they
should hopefully coexist with older clients without issue.
2013-08-10 15:56:26 +09:00
Damien Elmes
c573faeaae starting easy should go no lower than 130% 2013-07-19 17:21:10 +09:00
Damien Elmes
1a06402f53 merge 'limit to tags' and 'cram' custom study optionts (#584) 2013-05-27 13:50:01 +09:00
Damien Elmes
d74338b6e9 allow font sizes > 20 in browser (#492) 2013-05-23 14:12:04 +09:00
Damien Elmes
d44348ea47 remove broken accelerator from preview button; add tooltip 2013-05-22 10:04:34 +09:00
Damien Elmes
61f69fd346 convert about to webview so we can scroll if too small 2013-05-17 16:09:24 +09:00
Damien Elmes
23b5cbd13a clearer options group warning (#661) 2013-05-16 16:50:48 +09:00
Damien Elmes
79d4451299 move full sync into preferences, and remove maintenance menu 2013-05-14 15:27:40 +09:00
Damien Elmes
5951ccb09e preliminary preview support 2013-05-04 15:45:57 +09:00
Damien Elmes
d97b199abe add close to browser edit menu (#481) 2013-01-15 07:33:03 +09:00
Damien Elmes
1cd687a1cb clarify that deck description is not in option group 2013-01-08 10:45:57 +09:00
Damien Elmes
df43ef26d0 "manage note types" 2012-12-29 06:21:43 +09:00
Damien Elmes
d11a1e0d54 allow browser font customization on a per-template basis 2012-12-22 10:10:52 +09:00
Damien Elmes
ce4c62fcbb add 'note types' to main menu 2012-12-22 08:21:24 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00