Commit graph

577 commits

Author SHA1 Message Date
Damien Elmes
c9010e984e fix race condition in deck browser signal handlers 2010-07-21 18:53:43 +09:00
Damien Elmes
e3f50540d5 detect sync conflicts and offer choice of direction 2010-07-21 18:35:55 +09:00
Damien Elmes
f93910128f multi-deck sync and related improvements
- deck open & browser refresh done after splash screen hidden now
- splash reduced to 3 steps
- new options sync on program load/close
- per-deck auto sync disabled on upgrade
- plugins are now always loaded before a deck has been opened
- don't prompt for sync params in auto sync, for both all and single deck
- refresh deck browser after multi sync
- wait on sync thread until syncFinished called, could fix crashes
- after a full sync, ensure interface is still disabled
- sync menu option now available in deck browser
- new option to tell a progress window it should appear immediately
2010-07-21 13:16:07 +09:00
Damien Elmes
77ede46ebb fix closing logic 2010-07-19 22:46:35 +09:00
Damien Elmes
8199799249 warn about cram for edit current too 2010-07-19 20:31:11 +09:00
Damien Elmes
75fb9a111e make the close button an application shortcut, raise window for osx terminal 2010-07-11 17:13:43 +09:00
Damien Elmes
014c993688 colour times by default, add another mac build script 2010-07-11 16:43:24 +09:00
Damien Elmes
e3ab11213d make sure to move to noDeck at least once 2010-07-08 21:55:56 +09:00
Damien Elmes
722227050a don't save closed deck on sync failure, don't refresh deck browser twice 2010-06-29 08:03:26 +09:00
Damien Elmes
0cab72ef1e remove string exceptions for python2.6 2010-06-10 13:24:35 +09:00
Damien Elmes
a563109e53 don't assume media directory exists 2010-04-15 22:18:41 +09:00
Damien Elmes
3db9c0f937 update error message 2010-04-15 22:08:16 +09:00
Damien Elmes
f0236932b9 correct capitalization 2010-04-12 11:49:13 +09:00
Damien Elmes
4928c21914 delete media folder too 2010-04-06 18:59:43 +09:00
Damien Elmes
9266a3b204 delegate all links 2010-04-05 19:09:12 +09:00
Damien Elmes
02003ff1ed remove pyqt broken check hack 2010-04-01 23:04:15 +09:00
Damien Elmes
d7075ecae9 add support for custom document dir 2010-03-23 17:15:00 +09:00
Damien Elmes
ed948ee810 use unicode for error 2010-03-23 17:06:27 +09:00
Damien Elmes
a94e0ed29e ensure actions are updated after plugins loaded 2010-02-22 18:09:45 +09:00
Damien Elmes
f083d95282 fix page reload 2010-02-22 16:22:51 +09:00
Damien Elmes
1daf8f9601 if an error occurs during progress op, reactivate main window 2010-02-12 16:46:10 +09:00
Damien Elmes
20f9e69b79 capitalization tweak 2010-02-12 15:51:11 +09:00
Damien Elmes
d320c01372 separate button labels and default buttons 2010-02-12 14:02:29 +09:00
Damien Elmes
fb6d5a8556 strip angle brackets from syncName when downloading 2010-02-06 01:29:56 +09:00
Damien Elmes
ea42e18a58 catch errors in inital startup and report them before dying 2010-02-06 01:29:56 +09:00
Damien Elmes
e9ae61a5fd forget last card when moving to state 'auto' 2010-02-02 00:48:47 +09:00
Damien Elmes
1621092741 hide missing decks when drawing recent decks list 2010-02-02 00:33:07 +09:00
Damien Elmes
ed35093359 clear current card when deck finished 2010-02-01 03:39:16 +09:00
Damien Elmes
d28096241a update card stats when transitioning to finished screen, too 2010-02-01 03:37:39 +09:00
Damien Elmes
b3f16c60ff add 'anki' to documentDir 2010-01-30 02:48:59 +09:00
Damien Elmes
8c34fabff8 add some precision to the daily study stats 2010-01-29 20:06:11 +09:00
Damien Elmes
e96472b2b7 default to 2 for new cards 2010-01-29 17:44:07 +09:00
Damien Elmes
1eaedfafa5 vary button labels depending on the card's last answer 2010-01-29 17:42:55 +09:00
Damien Elmes
9d02179875 give confirmation after db check 2010-01-29 17:18:03 +09:00
Damien Elmes
4a3114155b revert modtime after deck closed in deck browser 2010-01-29 17:13:33 +09:00
Damien Elmes
68ab1244fc add option to forget inaccessible decks 2010-01-29 17:07:49 +09:00
Damien Elmes
b3e0b302ff add hidden option to disable repeating of audio in question 2010-01-26 01:50:45 +09:00
Damien Elmes
ea76ddc9f3 honor styles in css in add/edit dialogs too 2010-01-26 01:23:53 +09:00
Damien Elmes
dcf65465b3 don't warn about unsaved decks if the decks are not modified 2010-01-24 03:51:08 +09:00
Damien Elmes
294ac8045c five second tooltip delay 2010-01-24 00:50:27 +09:00
Damien Elmes
be4b3faeb2 custom tooltip handler that doesn't hide on mouse movement 2010-01-24 00:29:25 +09:00
Damien Elmes
dbe6809ebb only reshow the deck browser on change 2010-01-23 22:12:26 +09:00
Damien Elmes
4438ea62f6 handle case where there is no active window 2010-01-23 21:35:15 +09:00
Damien Elmes
42159eac4f readme.html, not readme.txt 2010-01-23 21:14:00 +09:00
Damien Elmes
4fcc04cf30 delay progress dialog appearance (prevents flashing, avoids stuck window bugs) 2010-01-23 20:36:07 +09:00
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