Commit graph

456 commits

Author SHA1 Message Date
Damien Elmes
5eddecd75d add space to type answer field 2009-06-15 11:53:18 +09:00
Damien Elmes
2f8508d13a if user/pass is wrong, open prefs 2009-06-15 09:26:36 +09:00
Damien Elmes
4f99bcdae4 summarize progress for the day 2009-06-15 07:41:47 +09:00
Damien Elmes
f145855132 pad deck browser 2009-06-15 07:07:14 +09:00
Damien Elmes
5143da2132 show progress of deck/plugin download, don't process events 2009-06-13 15:25:58 +09:00
Damien Elmes
56e8e4b3eb more robust error reporting 2009-06-13 01:15:33 +09:00
Damien Elmes
20f0d49e42 add minimize option for osx 2009-06-12 19:53:24 +09:00
Damien Elmes
50275c74f1 do count check inside try block 2009-06-12 11:00:47 +09:00
Damien Elmes
09e8fe8e33 don't set fixed width if stats not available 2009-06-11 04:56:46 +09:00
Damien Elmes
49178bd6ae make sure move to question only happens once 2009-06-11 03:01:24 +09:00
Damien Elmes
6297a8c2f5 clear audio queue on replay 2009-06-11 02:47:26 +09:00
Damien Elmes
af9e54f036 disable card menu items after plugin load 2009-06-11 01:51:37 +09:00
Damien Elmes
c9220f9f60 remove old actions, add hooks to enable/disable card items 2009-06-10 23:45:32 +09:00
Damien Elmes
102e63acf0 strip all japanese support out in favour of a plugin 2009-06-10 23:04:15 +09:00
Damien Elmes
5fc9389e13 ctrl->alt in shortcut tooltips 2009-06-10 12:18:26 +09:00
Damien Elmes
76729e0d04 fix study options expanding 2009-06-10 01:38:05 +09:00
Damien Elmes
5d0e64b3a3 render deck browser properly with large fonts 2009-06-10 01:19:18 +09:00
Damien Elmes
7ae0211d22 fix osx layout 2009-06-09 08:00:02 +09:00
Damien Elmes
3c8c600feb more compact deck browser, default to smaller size 2009-06-09 07:14:14 +09:00
Damien Elmes
90388239f1 fix spacing of answer text on osx, make type answer field smaller 2009-06-09 05:49:47 +09:00
Damien Elmes
c9b4e84d87 fix cramming 2009-06-09 05:05:14 +09:00
Samson Melamed
c5ff8111a9 fix height of 'more' dropdown in deck browser on win32 when using alt theme 2009-06-08 14:21:22 -04:00
Damien Elmes
37c7b42d4f fix deck browser spacing on osx 2009-06-09 01:14:40 +09:00
Damien Elmes
6e7c258b6a add warning to forget, add scrolling to deck browser, use as much space as possible 2009-06-09 00:32:14 +09:00
Damien Elmes
b5fdca39e7 customizable deck order, nicer layout of browser and study options 2009-06-08 23:06:48 +09:00
Damien Elmes
3bab1b6829 set custom style earlier in initialization 2009-06-08 22:45:16 +09:00
Damien Elmes
3b97f082e8 process events before showing combo box 2009-06-08 21:54:24 +09:00
Damien Elmes
e67e3320a9 don't remove deck from list until deletion confirmed 2009-06-07 03:20:56 +09:00
Damien Elmes
a1d23c3e7b switch ctrl+r and shift+ctrl+r 2009-06-06 23:16:08 +09:00
Damien Elmes
9fe87329cd remove debugging code 2009-06-06 23:12:23 +09:00
Damien Elmes
dd5b3bacc8 if the file is in use, hide from browser but don't forget 2009-06-06 22:27:00 +09:00
Damien Elmes
8cd6692c84 don't use same card if priority == 0, ensure same card in browser too 2009-06-06 22:19:49 +09:00
Damien Elmes
39588816b6 always show the same card after editing current 2009-06-06 22:12:41 +09:00
Damien Elmes
9b8ad4596f use a smaller font instead of italics, it renders badly 2009-06-06 01:13:40 +09:00
Damien Elmes
c4c3bf102a add shortcuts back to browser 2009-06-06 00:26:47 +09:00
Damien Elmes
fbfbda1a58 new recent decks system, improve deck browser 2009-06-06 00:21:29 +09:00
Damien Elmes
89783c3e17 add recent decks menu back, inhibit startup progress bar 2009-06-05 22:22:53 +09:00
Damien Elmes
1001d6b7af load last deck if args set 2009-06-05 15:33:43 +09:00
Damien Elmes
17a967f5b8 ensure boxes are drawn around frames on win32 2009-06-05 15:10:07 +09:00
Damien Elmes
e8fd6922a0 patches from richard: fix typo, more robust proxy error checking 2009-06-04 17:42:45 +09:00
Damien Elmes
d0be463cc6 remove debugging code 2009-06-04 09:52:29 +09:00
Damien Elmes
5c3f538d07 if there's only one deck, load it, not browser 2009-06-04 09:46:06 +09:00
Damien Elmes
abdaf9e9df implement deck browser 2009-06-04 09:41:40 +09:00
Damien Elmes
0d76d987ca rebind mark card shortcut on osx 2009-06-04 07:15:17 +09:00
Damien Elmes
fb0a7da397 close current deck only if user decides to download a new one 2009-06-04 05:51:14 +09:00
Damien Elmes
8e91cde377 add proxy config & numBackups to preferences, based on richard's plugin 2009-06-04 05:26:25 +09:00
Damien Elmes
3123951e46 don't update value when downloading 2009-06-02 15:08:28 +09:00
Damien Elmes
65a718fdbe implement full sync downloading 2009-06-02 03:23:06 +09:00
Damien Elmes
b351946f55 set state = nostate before sync to prevent keystrokes getting in 2009-06-02 03:22:40 +09:00
Damien Elmes
470a501caa handler errors without 'type' set 2009-06-02 03:20:28 +09:00
Damien Elmes
619d2bcbaf implement full sync uploading 2009-05-31 01:24:42 +09:00
Damien Elmes
7a4855233b clear audio queue on question, not answer 2009-05-30 19:08:03 +09:00
Damien Elmes
23d39daeaa add show answer button to type in the answer area 2009-05-30 16:41:02 +09:00
Damien Elmes
250f1bec8f update priority after marking 2009-05-30 10:29:15 +09:00
Damien Elmes
769b4d28a8 exclude user events in db progress handler 2009-05-27 04:02:21 +09:00
Damien Elmes
5cd30656b4 display the full error in a textarea 2009-05-27 01:11:14 +09:00
Damien Elmes
11353079c0 mention how to change user/pass when setting up details 2009-05-27 00:56:43 +09:00
Damien Elmes
dbd2ee1f13 default # of backups to 20, make a config option 2009-05-21 02:12:41 +09:00
Damien Elmes
7541485e87 save the cramming check before closing the deck 2009-05-16 05:23:09 +09:00
Damien Elmes
ff20e23b50 when cramming, don't copy, just use old media dir 2009-05-16 04:08:15 +09:00
Damien Elmes
d205cd7602 add quick db check 2009-05-16 02:47:27 +09:00
Damien Elmes
1c690c5477 translation patch from piotr 2009-05-11 12:07:13 +09:00
Damien Elmes
02930e5713 forget last card when study stats opened 2009-05-09 02:27:23 +09:00
Damien Elmes
54d6c7c86b make sure to update title bar when resetting 2009-05-07 17:26:11 +09:00
Damien Elmes
2eaadcfa08 make sync msg box configurable, fix bug in initial->study screen 2009-05-06 15:39:33 +09:00
Damien Elmes
1261bb185c move back to study screen on reset() 2009-05-06 15:22:01 +09:00
Damien Elmes
0ab355f87d don't accept space to show answer if type answer mode 2009-05-06 14:24:28 +09:00
Damien Elmes
a9e7ecff12 new learn early handling, add tooltips 2009-05-06 14:14:38 +09:00
Damien Elmes
c87bf9a3b8 remove unused lock import 2009-05-02 15:18:29 +09:00
Damien Elmes
0be6b2965d workaround for setEnabled() recursively calling setBusy() 2009-05-02 15:17:56 +09:00
Damien Elmes
8ff716be64 catch db access in progress handler 2009-05-02 05:42:52 +09:00
Damien Elmes
ab1f923387 set focus on show answer button to avoid double tap 2009-05-01 04:36:50 +09:00
Susanna Björverud
dc25ec8e13 Split up two long texts
Split up session options and its tooltip consisting of interlaced html and strings to translate into
strings that should and need not be translated.
2009-04-30 11:40:03 +02:00
Damien Elmes
4bfdc04ac0 fix exporting packaged decks w/ media on win32 2009-04-29 15:40:37 +09:00
Damien Elmes
be93b007ab if in the study screen, just refresh instead of moving to congrats 2009-04-29 12:49:49 +09:00
Damien Elmes
2915a36a71 rebuild the queue before start of study, so new card modulus is fixed 2009-04-29 12:43:43 +09:00
Damien Elmes
b6305085e8 add bury fact option 2009-04-29 12:14:36 +09:00
Damien Elmes
0ddc1d7d72 accept space no matter what is focused, don't focus show answer as faster 2009-04-29 11:02:15 +09:00
Damien Elmes
c71c2c90c6 add option to prevent edits while question shown 2009-04-29 10:01:31 +09:00
Damien Elmes
94d7a74bca add object name for type answer field 2009-04-29 07:12:08 +09:00
Damien Elmes
fde70d80ce update search when current card deleted 2009-04-28 17:55:42 +09:00
Damien Elmes
cafe070624 fix reference to isCramming 2009-04-25 21:38:18 +09:00
Damien Elmes
d0f918cdb0 add tooltip to study stats 2009-04-25 20:06:31 +09:00
Damien Elmes
4fd65c37c5 refactor error handler to handle error messages in other threads, mention mplayer 2009-04-25 02:38:16 +09:00
Damien Elmes
ec287445a5 set reviewing started at start to avoid errors 2009-04-23 17:54:47 +09:00
Damien Elmes
92b19171f7 ensure tag order correct when suspending too 2009-04-23 04:18:03 +09:00
Damien Elmes
ccf96a04e1 when marking cards, ensure order is correct 2009-04-23 04:17:42 +09:00
Damien Elmes
1fe922fed4 prevent import in cramming, warn when editing in cramming 2009-04-23 03:54:28 +09:00
Damien Elmes
af2bd52003 increase cram randomization speed by a factor of 5, prevent add cards open on cram 2009-04-23 03:46:22 +09:00
Damien Elmes
2ab8b7a574 generalize tooltips, make sync no contact msg a tooltip 2009-04-23 02:30:08 +09:00
Damien Elmes
16d0323965 handle randomize progress instead of in libanki 2009-04-23 01:58:53 +09:00
Damien Elmes
a3c5caa544 randomize/order when settings changed 2009-04-23 01:33:49 +09:00
Damien Elmes
c84f97c33c Revert "check if anki is already open and prompt user"
This reverts commit a05fc37d94.
2009-04-22 22:11:14 +09:00
Damien Elmes
93a20e13b6 fix timer hiding, fix session start time being reset 2009-04-22 22:11:01 +09:00
Damien Elmes
a05fc37d94 check if anki is already open and prompt user 2009-04-22 22:10:14 +09:00
Damien Elmes
c19c45ef4a fix inMainWindow() 2009-04-18 04:56:14 +09:00
Damien Elmes
e1b7da08e5 show study screen regardless of deck due or not, tweak 'initial' 2009-04-18 00:59:01 +09:00
Damien Elmes
ba9279c126 suppress timers in db progress handler, disable UI during progress 2009-04-17 21:59:57 +09:00
Damien Elmes
f45fccb93f fix concurrent mod error when deleting card while edit current open 2009-04-16 17:43:54 +09:00
Damien Elmes
8259347f34 move errorOccurred up the top 2009-04-16 17:17:16 +09:00
Damien Elmes
d6351c666d avoid setting new card/session limit if unchanged 2009-04-11 01:30:03 +09:00
Damien Elmes
c89356f6f1 only mark deck modified if study options changed 2009-04-10 23:28:25 +09:00
Susanna Björverud
42a23a8f55 Use ungettext instead of ngettext for unicode support 2009-04-07 08:32:36 +02:00
Damien Elmes
9418b62c7a if the due counts are disabled, hide in titlebar too 2009-04-07 11:31:56 +09:00
Damien Elmes
6c758babe0 add ngettext to ankiqt namespace 2009-04-07 08:44:10 +09:00
Damien Elmes
14c67e7ab9 add cram in editor, rename editor to browser 2009-04-06 13:29:24 +09:00
Damien Elmes
6fa907f198 catch apple odoc load events 2009-04-04 13:45:38 +09:00
Damien Elmes
a681817266 fix card marking 2009-03-29 03:58:00 +09:00
Damien Elmes
a601268d4c close(not hide) deck windows before deck close, remove stale hooks 2009-03-28 22:51:38 +09:00
Damien Elmes
a48f0fd649 don't do anything if study options clicked twice 2009-03-28 14:40:22 +09:00
Damien Elmes
3ef4b19b0e Revert "use a toggle to show study screen change"
This reverts commit 3b9435b192.
2009-03-28 14:39:09 +09:00
Damien Elmes
3b9435b192 use a toggle to show study screen change 2009-03-28 14:37:05 +09:00
Damien Elmes
aef0e521e8 make sure errorOccurred is available early 2009-03-24 08:54:23 +09:00
Damien Elmes
db63fc51bc inherit system locale 2009-03-24 08:39:22 +09:00
Damien Elmes
74d408ece8 update finnish translations, support lazy load of importing trans 2009-03-23 10:46:40 +09:00
Damien Elmes
57f655c119 move sync on load to after deck load 2009-03-22 11:42:14 +09:00
Damien Elmes
7b6761b9bf use registered plugin name if available 2009-03-21 13:24:17 +09:00
Damien Elmes
9ed6e11b1a use utc offset of -1 2009-03-21 03:55:35 +09:00
Damien Elmes
7ed1c458e8 ensure that anki restarted before check db run 2009-03-16 06:33:17 +09:00
Damien Elmes
0abe7f1de2 add wait kwarg to call() 2009-03-15 06:35:56 +09:00
Damien Elmes
1d855589c1 improve error msg 2009-03-14 09:46:20 +09:00
Damien Elmes
a910a99a77 if model changed, refresh fact editor 2009-03-14 05:41:28 +09:00
Damien Elmes
e3d6e3fa29 refresh fact & cardmodel too 2009-03-13 18:32:08 +09:00
Damien Elmes
91e89d99e6 ensure card is refreshed before expunging 2009-03-13 07:41:27 +09:00
Damien Elmes
6d5791c92c fix problem dropping unique index 2009-03-13 06:13:26 +09:00
Susanna Björverud
0c4a892045 make database optimization return message translatable 2009-03-11 05:30:24 +09:00
Damien Elmes
2646a40edb deck and plugin sharing 2009-03-11 05:19:26 +09:00
Damien Elmes
f9cc13bd23 do auto update after plugins loaded 2009-03-07 07:33:48 +09:00
Damien Elmes
a012e78a12 disable lookup shortcuts if not japanese model 2009-03-07 05:08:21 +09:00
Damien Elmes
8e621c03fb save/restore toolbar state 2009-03-06 05:48:48 +09:00
Damien Elmes
c6d9d0ceec pass the diag, not the python obj 2009-03-05 00:26:37 +09:00
Damien Elmes
f3f68a496b bugfix 2009-03-05 00:22:52 +09:00
Damien Elmes
d53ac03b7b layered progress windows 2009-03-04 20:50:10 +09:00
Damien Elmes
9033dd8afc update splash screen 2009-03-04 10:09:57 +09:00
Damien Elmes
44412c72e4 make sure splash is shown on win32, use finish() instead of hide 2009-02-26 03:16:18 +09:00
Damien Elmes
d1e8a1d18a fix open online when no initial password 2009-02-26 01:06:21 +09:00
Damien Elmes
1e9c3ff253 better sync failure message, don't prompt for save if open online fails 2009-02-26 00:49:41 +09:00
Damien Elmes
35e28717d3 hide splash before main window shown 2009-02-25 23:33:12 +09:00
Damien Elmes
579802303d splash screen 2009-02-25 23:30:41 +09:00
Damien Elmes
594d888993 fix suspending of current fact 2009-02-24 01:16:09 +09:00
Damien Elmes
e9ecde6433 fix status bar & sync on open 2009-02-21 18:55:37 +09:00
Damien Elmes
f763a3d06b only unset cursor if set 2009-02-20 17:31:33 +09:00
Damien Elmes
e7f64eab1c don't reset priorities unless instructed 2009-02-20 00:04:07 +09:00
Damien Elmes
7f0832fd61 db busy handler & busy cursor 2009-02-19 15:56:55 +09:00
Damien Elmes
e03b0bf4f5 after opening online, interactive=False 2009-02-18 00:41:43 +09:00
Damien Elmes
43f60b92c8 add warning about saving, fix statusbar transient messages 2009-02-15 20:40:39 +09:00
Damien Elmes
ed86beceb7 no need to alter shortcuts anymore 2009-02-15 00:09:48 +09:00
Damien Elmes
ad80548f19 disable some commands when not in main window, allow command+w from any window 2009-02-15 00:08:45 +09:00
Damien Elmes
8c8da8dedc bigger 'type in the answer' button 2009-02-14 23:02:25 +09:00
Damien Elmes
348dd82905 prevent progress updates from other threads 2009-02-14 20:22:11 +09:00