Commit graph

504 commits

Author SHA1 Message Date
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
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