Commit graph

231 commits

Author SHA1 Message Date
Damien Elmes
a08776137b move to resetRequired on add/edit current 2012-04-22 07:00:54 +09:00
Damien Elmes
bf4057ce98 don't make the empty cards dialog modal 2012-04-21 07:26:20 +09:00
Damien Elmes
e3f5ff712d fix i18n of empty cards msg 2012-04-21 00:25:56 +09:00
Damien Elmes
9fc21a61dc inline exceptions 2012-04-20 03:19:47 +09:00
Damien Elmes
e3a59f8cf7 add simple debug console 2012-04-20 03:05:59 +09:00
Damien Elmes
ff6abe2b9d strip reviewing card info into separate add-on 2012-04-20 02:16:21 +09:00
Damien Elmes
c60a6560c1 split empty card removal into separate diag 2012-04-19 11:14:36 +09:00
Damien Elmes
b91b5babe2 don't show schema msg in deck upgrades 2012-04-19 08:16:02 +09:00
Damien Elmes
0a0190103f shortcuts should be uppercase 2012-04-19 06:29:14 +09:00
Damien Elmes
d919615475 refactor language handling
Because Qt translations need to be initialized before any widgets are created,
and because the Qt language needs to match the gettext language in order for
translated shortcuts to work, per-profile language settings aren't possible.
So instead of storing the language in the profile, we use
pm.meta['defaultLang'] for all profiles and initialize language handling in
__init__.py

The language selection in the preferences has been removed, because in a
school setting a student fiddling with the language could potentially cause
other students to be unable to navigate the UI. Instead, Anki will accept
-l/--lang passed on the command line to override the original language chosen
at first program startup.
2012-04-18 03:06:56 +09:00
Damien Elmes
dbc004e0ef show # of empty cards to be deleted 2012-04-18 02:06:41 +09:00
Damien Elmes
d469428471 add jump to deck feature 2012-04-17 23:48:47 +09:00
Damien Elmes
2253b879de if check db passes, show in tooltip 2012-04-17 20:16:31 +09:00
Damien Elmes
0f483a6f59 use global language for profile manager 2012-04-17 17:41:13 +09:00
Damien Elmes
b9eb89d270 add confirmation to full sync 2012-04-16 23:20:19 +09:00
Damien Elmes
7fca98092c add option to force full sync 2012-04-12 19:01:45 +09:00
Damien Elmes
402b24fbf6 fix for win32 and osx aqt translations 2012-04-11 22:53:42 +09:00
Damien Elmes
05684b5575 option to edit current card's config 2012-04-11 20:59:03 +09:00
Damien Elmes
4948687f05 hide the bottom bar when 'close to resume' is shown 2012-04-08 21:45:19 +09:00
Damien Elmes
8a2ca46a7a remove debugging 2012-04-07 18:21:03 +09:00
Damien Elmes
a1ef0c2d73 add option to cram current deck 2012-04-06 12:04:34 +09:00
Damien Elmes
56b89fdc91 allow the user to cancel creation/editing of cram deck 2012-04-06 11:55:01 +09:00
Damien Elmes
e177fae220 need to rebuild queue when burying, too 2012-03-27 05:54:46 +09:00
Damien Elmes
5d7562a9e4 'delete unused' 2012-03-19 22:20:39 +09:00
Damien Elmes
37061c6661 when deleting a note, we need to rebuild the queue 2012-03-19 22:20:02 +09:00
Damien Elmes
d1cf46d0c8 timeboxing 2012-03-16 19:55:59 +09:00
Damien Elmes
996271de4b move to overview after cram deck created 2012-03-16 19:10:40 +09:00
Damien Elmes
557cff8250 label tweak 2012-03-13 21:27:36 +09:00
Damien Elmes
8fd29bed1c cram creation & config 2012-03-13 19:02:39 +09:00
Damien Elmes
8ddcc9a73c tweak schema mod msg 2012-03-09 19:06:07 +09:00
Damien Elmes
eab18e9588 remove testing onImport() line 2012-03-08 06:24:20 +09:00
Damien Elmes
562f33635c update import dialog; skip when mapping not required 2012-02-26 07:03:07 +09:00
Damien Elmes
6b2766c2f1 update exporting dialog 2012-02-26 03:12:21 +09:00
Damien Elmes
96748e8621 fix due counts on undo/edit 2012-02-13 16:30:47 +09:00
Damien Elmes
7be3935c02 ensure the same card appears after an undo 2012-02-13 12:50:44 +09:00
Kieran Clancy
a5ca6a90b0 make card info checkable and toggle with menu item / keyboard shortcut 2012-02-09 17:23:13 +10:30
Damien Elmes
bd6188d41b after suspending we need to rebuild the queue 2012-01-30 08:15:07 +09:00
Damien Elmes
dd2891b5ba hide unused media dialog after deletion 2012-01-30 08:03:39 +09:00
Damien Elmes
65072ad43c profile renaming 2012-01-17 11:18:48 +09:00
Damien Elmes
167dc79550 fix help links; add tooltip when loading browser 2012-01-16 11:00:57 +09:00
Damien Elmes
54e6e94153 fix translation dir 2012-01-11 18:41:20 +09:00
Damien Elmes
19faea87b4 hide main window when profile diag shown 2011-12-20 19:40:03 +09:00
Damien Elmes
789773f550 reset deck list too after edits 2011-12-15 15:24:23 +09:00
Damien Elmes
1f3f948ad1 should be changing state in collection load, not profile load 2011-12-14 12:18:43 +09:00
Damien Elmes
b14e6b306b fix double syncs 2011-12-13 10:30:29 +09:00
Damien Elmes
07ce5983f9 add empty card del hook, make sure we update templates on clayout close 2011-12-12 00:02:12 +09:00
Damien Elmes
60ba70b1b5 add cards dialog & model chooser 2011-12-10 21:21:20 +09:00
Damien Elmes
f8d39ca210 update deck configuration dialog 2011-12-10 04:21:53 +09:00
Damien Elmes
279c40b5f5 implement prefs window 2011-12-09 00:41:31 +09:00
Damien Elmes
7ca5a23e7c add styles back 2011-12-08 05:19:09 +09:00
Damien Elmes
6148a28bfb make sure we autosync on collection close 2011-12-08 02:32:44 +09:00
Damien Elmes
b025eb9983 add auto optimiziation on close 2011-12-08 01:42:14 +09:00
Damien Elmes
fb88fe2e45 backups 2011-12-08 01:22:25 +09:00
Damien Elmes
9d26496ceb profile switching & refactor closing 2011-12-08 00:47:29 +09:00
Damien Elmes
681c8dea9f add autosync flag, make sure we close col windows on sync 2011-12-08 00:31:04 +09:00
Damien Elmes
9a6ddae1cb removeHook -> remHook 2011-12-06 00:11:48 +09:00
Damien Elmes
d34ee6822f fix ctrl+c handler 2011-12-06 00:08:42 +09:00
Damien Elmes
aca30de49e default to deck browser if decks > 1 2011-12-05 15:01:52 +09:00
Damien Elmes
0085c9fc6c fix closing 2011-12-05 14:52:20 +09:00
Damien Elmes
7916dea182 make sure undo is updated on col load 2011-12-04 19:10:08 +09:00
Damien Elmes
64ed220fba fix autoupdate; make program limit 5 minutes too 2011-12-04 16:24:58 +09:00
Damien Elmes
67285cd230 fix full upload 2011-12-04 15:30:12 +09:00
Damien Elmes
e03b51fae8 option to disable media sync 2011-12-04 14:01:22 +09:00
Damien Elmes
7a71a0798c new sync gui 2011-12-04 13:54:00 +09:00
Damien Elmes
52881b655d improve unused media deletion 2011-12-02 22:30:33 +09:00
Damien Elmes
3ac7aacb54 remove optimize sync warning 2011-12-02 21:50:07 +09:00
Damien Elmes
975f66e693 get type answer support working again 2011-12-02 17:58:53 +09:00
Damien Elmes
ac7602675a tooltips 2011-12-02 17:19:57 +09:00
Damien Elmes
da25e87ac4 key handling stuff 2011-12-01 19:42:36 +09:00
Damien Elmes
5e97a285a1 timer, global shortcuts 2011-12-01 18:45:13 +09:00
Damien Elmes
9c5eb98114 hook up context menu and remaining count 2011-12-01 17:05:04 +09:00
Damien Elmes
5dd5ab710a connect current card editor; ensure same card is reviewed 2011-12-01 15:41:24 +09:00
Damien Elmes
cecec92934 work on reviewer 2011-12-01 15:15:20 +09:00
Damien Elmes
c2176edd07 snapshot of work on new show answer button 2011-11-30 21:10:33 +09:00
Damien Elmes
0965c3a888 revert the dockable changes, strip old status code 2011-11-30 18:20:18 +09:00
Damien Elmes
b745567bb3 add another toolbar at the bottom 2011-11-30 17:54:55 +09:00
Damien Elmes
bea1e60fc8 remove actions that'll be placed on the card 2011-11-30 15:58:39 +09:00
Damien Elmes
b9522487ad finish fields dialog 2011-11-30 12:36:12 +09:00
Damien Elmes
3362ca06a3 move card info into separate diag 2011-11-29 17:46:32 +09:00
Damien Elmes
1c58306d7a new toolbar for the browser 2011-11-29 13:35:13 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
Damien Elmes
f2a39aad2a move the toolbar into a separate file and make it global 2011-11-27 11:25:13 +09:00
Damien Elmes
f75ef69fba experimenting with a new toolbar 2011-11-26 22:07:10 +09:00
Damien Elmes
5f1b762a15 fix stats, start work on revamped overview 2011-11-26 13:20:55 +09:00
Damien Elmes
67c2ccc954 should init profile regardless of upgrade being required or not 2011-11-26 08:12:59 +09:00
Damien Elmes
a1a7e7341c upgrade wizard and first startup language selection dialog 2011-11-25 15:08:41 +09:00
Damien Elmes
7c68b58d44 profile gui, new deck browser 2011-11-24 18:42:06 +09:00
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00
Damien Elmes
87da9f48b1 facts->notes 2011-11-23 13:35:14 +09:00
Damien Elmes
2f7bbd4d86 libanki tweaks 2011-09-21 03:07:57 +09:00
Damien Elmes
27533c0fc8 tweak wording 2011-09-07 22:18:50 +09:00
Damien Elmes
18812655ab some initial porting to the latest libanki 2011-08-28 15:24:30 +09:00
Damien Elmes
ef5e94db9e only reset() if there's an active deck 2011-05-04 16:42:33 +09:00
Damien Elmes
247276b223 fix rename 2011-04-29 11:39:27 +09:00
Damien Elmes
3a4443404b don't call toString() on registry results; don't cast QUrl.toString() 2011-04-28 09:28:03 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
e28f5fe931 tweak config and startup 2011-04-28 09:28:02 +09:00
Damien Elmes
1a0d273b78 plugins -> add-ons; ditch separate download menu
Because of the extensive changes almost all plugins will require an update to
work with 2.0, and add-ons is a slightly friendlier name.
2011-04-28 09:28:02 +09:00
Damien Elmes
60001e41e4 rename support, titlebar, recent decks
- use libanki's new .rename(); don't need to close any deck windows anymore
- titlebar updated only on app load now. No longer shows card
  count or due count, as computing it is expensive, and drops the deck
  name as it's more effective to use groups than separate decks now
2011-04-28 09:28:02 +09:00
Damien Elmes
a45f2ceedc add autosave; improve undo state handling 2011-04-28 09:28:01 +09:00