Commit graph

532 commits

Author SHA1 Message Date
Damien Elmes
85a6f4197d detect broken pyqt4.6 and recover/warn 2010-01-22 17:56:16 +09:00
Damien Elmes
d4491869c1 use a popup menu for deck operations 2010-01-22 04:59:20 +09:00
Damien Elmes
bd532500ef prevent recursive progress dialog invocations 2010-01-20 19:01:39 +09:00
Damien Elmes
1cfef7a295 unsuspend explicitly suspended cards before packaged deck export 2010-01-20 18:56:58 +09:00
Damien Elmes
24b9a9d1a8 update deck corrupt messages, include debug info 2010-01-11 19:28:50 +09:00
Damien Elmes
fa0ca3089c remove quick db check 2009-12-02 21:27:53 +09:00
Damien Elmes
87d976a547 unify deck load messages, add help, add critical msg box func 2009-11-30 14:31:05 +09:00
Damien Elmes
8a0d63c4ce mention the date may be off when clock is off 2009-11-28 16:35:39 +09:00
Damien Elmes
b2a72d5672 place no limit on number of remembered decks 2009-11-27 19:53:55 +09:00
Damien Elmes
8b6a8bb7ea add more languages to prefs, add farsi to list of RTL langs 2009-11-27 16:23:55 +09:00
Damien Elmes
c2e8c30514 fix leech suspension message 2009-11-27 15:59:22 +09:00
Damien Elmes
28420be794 fix h. pos of type answer box 2009-11-19 13:17:47 +09:00
Damien Elmes
c023837b76 fix bury, increase recent deck paths limit 2009-10-29 17:09:18 +09:00
Damien Elmes
cbb7f236cd clock>stopwatch 2009-09-30 17:29:55 +09:00
Damien Elmes
9231e79f08 add sigint handler 2009-09-28 06:50:54 +09:00
Damien Elmes
7239195df3 add prompt to latex cache del 2009-09-27 00:27:27 +09:00
Damien Elmes
057af500ce hide status tips on osx 2009-09-26 17:28:06 +09:00
Damien Elmes
2f42e36ffe when warning about broken plugins, escape untranslatable text 2009-09-26 06:46:48 +09:00
Damien Elmes
1629c859d0 don't remove temporarily inaccesible decks 2009-09-26 05:15:59 +09:00
Damien Elmes
8f47de9366 Revert "open libanki with progress handler"
This reverts commit ecd9ffe2b9.
2009-09-25 18:08:04 +09:00
Damien Elmes
ecd9ffe2b9 open libanki with progress handler 2009-09-22 18:32:26 +09:00
Damien Elmes
452c379d30 remove duplicate import lines 2009-08-19 17:44:37 +09:00
Damien Elmes
cd1bf3a645 download deck>download 2009-08-17 06:58:56 +09:00
Damien Elmes
b31ff97619 fail silently when setting locale, automatically save personal deck on download 2009-08-17 06:18:20 +09:00
Damien Elmes
664b221c58 close deck windows on saveas 2009-08-17 05:26:27 +09:00
Damien Elmes
74137721bf properly support reverse new order 2009-08-17 05:20:48 +09:00
Damien Elmes
ef30c88ad8 if win32 document dir invalid, use home dir instead 2009-08-17 04:58:33 +09:00
Damien Elmes
c5857de1a7 add a hook for enabling/disabling menus 2009-07-24 13:46:43 +09:00
Damien Elmes
6792dcb760 clear error area on sync, make sure to save randomize order 2009-07-09 22:28:57 +09:00
Damien Elmes
b8cf490543 add arabic to RTL, add arabic and hungarian to prefs 2009-07-08 14:14:08 +09:00
Damien Elmes
7160b4b05c ngettext export message 2009-07-08 12:20:00 +09:00
Damien Elmes
19169de050 allow re-randomizing, fix missing file %d 2009-07-08 11:48:11 +09:00
Damien Elmes
711d972c26 update new card order immediately 2009-07-05 17:05:34 +09:00
Damien Elmes
c395e84eef handle .off lying around 2009-07-05 16:50:22 +09:00
Damien Elmes
2d71e6d964 keep the answer buttons ltr 2009-07-05 02:23:14 +09:00
Damien Elmes
08228c8837 change ltr/rtl based on interface lang 2009-07-05 02:18:55 +09:00
Damien Elmes
454f216ac9 ensure collapseTime is on when cramming 2009-07-04 16:35:02 +09:00
Damien Elmes
2249f18913 add support for exporting original files, tidy up whitespace 2009-07-04 15:18:25 +09:00
Damien Elmes
d6553e5772 blank out edit menu too when no deck 2009-07-03 00:53:53 +09:00
Damien Elmes
ac66033d83 full database check 2009-07-03 00:34:13 +09:00
Damien Elmes
1122eed357 add link to add cards from browser 2009-06-30 16:00:24 +09:00
Damien Elmes
ad4cff620a remove broken osx code 2009-06-26 16:40:25 +09:00
Damien Elmes
65d35e1881 manually focus on osx 2009-06-26 10:51:00 +09:00
Damien Elmes
a932f059e6 move leech detection into libanki 2009-06-26 08:10:45 +09:00
Damien Elmes
479b0b6ed5 fix zero div issue, lim=0 turns off detection 2009-06-25 07:10:46 +09:00
Damien Elmes
eda8c2011a hide notice immediately on next card answer 2009-06-25 07:08:16 +09:00
Damien Elmes
3839c635a0 don't check if already a leech, since we don't trigger every time 2009-06-25 06:47:53 +09:00
Damien Elmes
ef4d9a42f8 only warn about a leech again after half the max fail rate 2009-06-25 06:46:05 +09:00
Damien Elmes
bd0c41c3d5 don't suspend leech if already tagged 2009-06-25 06:39:49 +09:00
Damien Elmes
4d624d286b strip qtnetwork in favour of urllib as it handles proxies better 2009-06-25 06:29:38 +09:00
Damien Elmes
7ee6032b81 fix replay audio in question 2009-06-25 05:37:01 +09:00
Damien Elmes
be0ce798d6 fix repeat audio after edit current 2009-06-25 05:30:39 +09:00
Damien Elmes
0797b4e772 add ability to customize leech & suspending per deck 2009-06-25 05:24:28 +09:00
Damien Elmes
33b3c65ad8 proxy patch from richard 2009-06-25 04:22:11 +09:00
Damien Elmes
b8b8dcd3af increase length, wrap text, improve doc string 2009-06-23 23:40:38 +09:00
Susanna Björverud
6a4c7659ed Enable plural support for one string. 2009-06-23 09:25:00 +02:00
Damien Elmes
47251a9276 return if no media urls found 2009-06-23 06:39:58 +09:00
Damien Elmes
2f0009da3e add download missing action 2009-06-23 06:37:08 +09:00
Damien Elmes
938abea109 add tooltip, merge->overwrite 2009-06-23 05:42:50 +09:00
Damien Elmes
76c6c3fa4d don't replay question audio when questionInAnswer 2009-06-23 02:32:14 +09:00
Damien Elmes
f047f0222a added finish button 2009-06-23 01:57:34 +09:00
Damien Elmes
60b5cd0e3e not a left-pointing arrow anymore 2009-06-20 02:18:59 +09:00
Damien Elmes
b4a23cc371 hide accels from menus on mac 2009-06-18 06:02:42 +09:00
Damien Elmes
3ba43984de refresh with f5, use different icon for deck browser 2009-06-18 04:19:26 +09:00
Damien Elmes
9031c6b61a suspend cards using new api 2009-06-18 03:27:09 +09:00
Damien Elmes
0519826b82 make length of deck browser customizable 2009-06-17 15:38:56 +09:00
Damien Elmes
e74539a7da fix leech criteria, fix html appearing 2009-06-17 02:52:33 +09:00
Damien Elmes
a539c636f8 work around osx recent deck bug 2009-06-16 04:29:39 +09:00
Damien Elmes
558caa8947 add custom button size for osx 2009-06-16 04:18:36 +09:00
Damien Elmes
5ab8e9fcf2 clarify leech wording 2009-06-16 03:22:46 +09:00
Damien Elmes
b9f73a2815 was>is 2009-06-16 03:15:50 +09:00
Damien Elmes
4735f0ec7b set custom button height on win32 2009-06-16 03:15:37 +09:00
Damien Elmes
b235a45f6b switch to blank screen when deck browser is loading 2009-06-16 02:30:57 +09:00
Damien Elmes
32639bcbd5 add leech detection, message window on sync failure 2009-06-16 02:06:06 +09:00
Damien Elmes
bdcd0c25ac more padding on osx to deal with scrollbar 2009-06-15 18:31:30 +09:00
Damien Elmes
1ed03b3f0b replace unprintable chars when showing an error 2009-06-15 12:55:17 +09:00
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