Commit graph

1120 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
441e459af5 ignore wheel event in figure graph 2010-01-22 03:51:30 +09:00
Damien Elmes
85ed9910cd use answer font family as well as size in answer comparison 2010-01-22 00:31:50 +09:00
Damien Elmes
a3b3e7312a this time webkit breaks bold. sigh 2010-01-21 03:02:43 +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
149e3e5b76 make sure both card and deck are set when returning base 2010-01-20 18:54:40 +09:00
Damien Elmes
30949edbc3 update getBase call for preview 2010-01-20 02:13:19 +09:00
Damien Elmes
bdba8cea83 support remote images (add remoteImages=1 to deckVars table) 2010-01-19 01:51:05 +09:00
Damien Elmes
d4d713a60a disable signals while updating bold/italic/underline buttons 2010-01-12 01:54:19 +09:00
Damien Elmes
24b9a9d1a8 update deck corrupt messages, include debug info 2010-01-11 19:28:50 +09:00
Damien Elmes
aa731470ec fix segfault on qt4.6 by storing index in local var 2010-01-08 23:35:51 +09:00
Damien Elmes
4a4ec4ad19 add warning if mature < young 2010-01-08 21:55:50 +09:00
Damien Elmes
4a01fb9565 don't update cards on reset (fixes button being off) 2010-01-08 21:45:20 +09:00
Damien Elmes
b6dab37a0a allow unicode in media url 2010-01-08 19:06:51 +09:00
Damien Elmes
728d97104f redraw status after card add 2009-12-16 05:56:28 +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
581422892f make browser colours more easily adjustable 2009-11-27 20:19:48 +09:00
Damien Elmes
b2a72d5672 place no limit on number of remembered decks 2009-11-27 19:53:55 +09:00
Damien Elmes
b852a6405a don't error out if delete card double clicked 2009-11-27 19:31:59 +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
210c11671b fix 'download' when deck not open 2009-11-19 17:35:49 +09:00
Damien Elmes
28420be794 fix h. pos of type answer box 2009-11-19 13:17:47 +09:00
Damien Elmes
94bad194a6 fix for mark cmd 2009-11-19 12:56:44 +09:00
Damien Elmes
c023837b76 fix bury, increase recent deck paths limit 2009-10-29 17:09:18 +09:00
Damien Elmes
c8c7ad0b62 factor spacing into due time 2009-10-01 20:17:40 +09:00
Damien Elmes
f4f3c94ec0 add timeout and better error msg to getshared 2009-10-01 19:39:19 +09:00
Damien Elmes
cbb7f236cd clock>stopwatch 2009-09-30 17:29:55 +09:00
Damien Elmes
0f6b0054f3 underline workaround 2009-09-30 12:59:54 +09:00
Damien Elmes
9231e79f08 add sigint handler 2009-09-28 06:50:54 +09:00
Damien Elmes
84914fabb9 reduce chunk size in getshared, don't die when reporting error w/ foreign chars 2009-09-28 06:41:36 +09:00
Damien Elmes
7239195df3 add prompt to latex cache del 2009-09-27 00:27:27 +09:00
Damien Elmes
24b8ddce29 display helpful dialog if cloze bad 2009-09-26 23:23:41 +09:00
Damien Elmes
057af500ce hide status tips on osx 2009-09-26 17:28:06 +09:00
Damien Elmes
7784cea4b0 don't attempt to open directories for writing in getshared 2009-09-26 06:58:05 +09:00
Damien Elmes
2f42e36ffe when warning about broken plugins, escape untranslatable text 2009-09-26 06:46:48 +09:00
Damien Elmes
24adb7b8bb add russian to translations 2009-09-26 05:22:42 +09:00
Damien Elmes
1629c859d0 don't remove temporarily inaccesible decks 2009-09-26 05:15:59 +09:00
Damien Elmes
ff81ca0c06 add window title to silence sampling 2009-09-26 04:21:27 +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
a520a61d8a use string rep for interval size instead of 0.3f 2009-09-24 17:26:28 +09:00
Damien Elmes
ecd9ffe2b9 open libanki with progress handler 2009-09-22 18:32:26 +09:00
Damien Elmes
ac5839b3e8 don't ignore bundled zero byte files 2009-09-15 23:55:21 +09:00
Damien Elmes
a72e56bc45 patch from saturnien, make mp3 encoding optional 2009-09-06 17:17:13 +09:00
Damien Elmes
119fa31eb9 add more languages 2009-09-04 13:36:15 +09:00
Damien Elmes
452c379d30 remove duplicate import lines 2009-08-19 17:44:37 +09:00
Damien Elmes
be9aba4d1a ensure failure multiplier <= 1 2009-08-17 07:44:36 +09:00
Damien Elmes
65012283ec ensure failed max >= 2 2009-08-17 07:43:33 +09:00
Damien Elmes
cd1bf3a645 download deck>download 2009-08-17 06:58:56 +09:00
Damien Elmes
25009326d0 -start and end range 2009-08-17 06:58:19 +09:00
Damien Elmes
614793d4d4 delegate external links in preview 2009-08-17 06:57:26 +09:00
Damien Elmes
dbfcb44ea7 if esc hit, don't add/delete tags 2009-08-17 06:54:50 +09:00
Damien Elmes
52bd264c05 don't use float(text()) to get values from spinbox 2009-08-17 06:49:48 +09:00
Damien Elmes
2860b32222 fix sort by fact created 2009-08-17 06:45:59 +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
e5c898fb68 preserve selection when suspending/unsuspending 2009-08-17 06:18:01 +09:00
Damien Elmes
664b221c58 close deck windows on saveas 2009-08-17 05:26:27 +09:00
Damien Elmes
bfc852a892 unescape &amp 2009-08-17 05:23:31 +09:00
Damien Elmes
74137721bf properly support reverse new order 2009-08-17 05:20:48 +09:00
Damien Elmes
4c6301d3ca don't die if there's only one field 2009-08-17 05:13:13 +09:00
Damien Elmes
ef30c88ad8 if win32 document dir invalid, use home dir instead 2009-08-17 04:58:33 +09:00
Damien Elmes
863dcfe389 update titlebar after 'select facts' 2009-08-17 04:44:01 +09:00
Damien Elmes
0e3c23bae4 reps>repetitions 2009-07-28 23:26:05 +09:00
Damien Elmes
27f23b54a5 init ctypes only once 2009-07-27 21:29:34 +09:00
Damien Elmes
117fff96b0 patch from "halabund" to remember keyboard layout in fields on win32 2009-07-27 21:11:30 +09:00
Damien Elmes
c5857de1a7 add a hook for enabling/disabling menus 2009-07-24 13:46:43 +09:00
Damien Elmes
85750a3d20 disable toolbar when fact invalid 2009-07-15 09:59:47 +09:00
Damien Elmes
39c7410d94 reopen deck after sync in case of subscription 2009-07-10 01:40:23 +09:00
Damien Elmes
0bb1791905 update about 2009-07-09 23:15:09 +09:00
Damien Elmes
e06337ee1f save & restore toolbar state in cardlist 2009-07-09 22:36:14 +09:00
Damien Elmes
6792dcb760 clear error area on sync, make sure to save randomize order 2009-07-09 22:28:57 +09:00
Timo Paulssen
50bb21b343 now you can paste audio and image files from gnome apps, too. 2009-07-08 13:59:21 +02:00
Damien Elmes
7c68e2fb68 unified cardlist toolbar 2009-07-08 14:54:29 +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
6256e5bd36 mark inacitve and suspended in different colours 2009-07-08 13:48:23 +09:00
Damien Elmes
184afcf4b5 toolbar in cardlist, toggleable suspend&mark, coloured marked cards 2009-07-08 13:39:10 +09:00
Damien Elmes
957c0b02d8 over a month>mature, etc 2009-07-08 12:40:29 +09:00
Damien Elmes
85fb576bea use hebrew for ivrit 2009-07-08 12:30:55 +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
7265d13537 add per-field rtl customization 2009-07-05 02:16:04 +09:00
Damien Elmes
e4e5fcd792 use native languages, add esperanto, hebrew, romanian and dutch 2009-07-04 17:41:14 +09:00
Damien Elmes
454f216ac9 ensure collapseTime is on when cramming 2009-07-04 16:35:02 +09:00
Damien Elmes
1318d8c5f8 handle errors with foreign characters 2009-07-04 15:59:19 +09:00
Damien Elmes
2249f18913 add support for exporting original files, tidy up whitespace 2009-07-04 15:18:25 +09:00
Damien Elmes
ed6a16f014 don't forget importer delimiter when changing mapping 2009-07-04 00:48:08 +09:00
Damien Elmes
fcf656c396 fix case where tags label is bigger than all fields 2009-07-04 00:34:26 +09:00
Damien Elmes
af26bfe69f fix sorting by ease, define any() for python2.4 2009-07-04 00:30:02 +09:00
Damien Elmes
05677925f4 avoid backwards-moving progress bars 2009-07-03 01:09:33 +09:00
Damien Elmes
1b849ccf07 greatly speed up select facts, add progress bar 2009-07-03 01:09:19 +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
8afdec9850 take a backup prior to sync 2009-06-30 16:06:34 +09:00
Damien Elmes
1122eed357 add link to add cards from browser 2009-06-30 16:00:24 +09:00
Damien Elmes
57584572b6 fix recursion error, update docs 2009-06-30 11:47:30 +09:00
Damien Elmes
8a1f6bfcd0 remove locales, update prefs for new format 2009-06-30 11:32:55 +09:00
Damien Elmes
16662fd7ab add modified to shared deck browser 2009-06-30 11:20:30 +09:00
Damien Elmes
5db68f9f41 allow https urls too 2009-06-29 14:14:40 +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
383840619b updated jp translations from jarvik 2009-06-26 09:49:48 +09:00
Damien Elmes
4210869f4d fix bug that broke other importers 2009-06-26 09:46:52 +09:00
Damien Elmes
3036d3baf9 Merge branch 'master' of git://github.com/sanna/ankiqt 2009-06-26 09:43:37 +09:00
Damien Elmes
f7dd0623b7 when showing leeches, no need to ensure they're suspended 2009-06-26 08:26:20 +09:00
Damien Elmes
136d056779 add support for aligning by lapses, center third column 2009-06-26 08:26:00 +09:00
Damien Elmes
a932f059e6 move leech detection into libanki 2009-06-26 08:10:45 +09:00
Damien Elmes
cf1b0e45f0 don't let user remove facts by disabling all card models 2009-06-26 07:28:43 +09:00
Damien Elmes
edcad222d0 add ability to customize separator when importing, fix tab order 2009-06-26 07:12:57 +09:00
Susanna Björverud
90f1f62643 Reinsert web site url into translatable string to not make it harder to choose
web site entry by language
2009-06-25 11:34:10 +02:00
Susanna Björverud
9492cdfddc Split up about string into several, moving html that does not need to be translated out. 2009-06-25 11:25:20 +02: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
5cb7d45008 if initial connection fails, don't show window 2009-06-25 06:34:06 +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
Damien Elmes
35deffea75 make deck browser length configurable 2009-06-23 23:28:11 +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
6067afe85f when importing, too 2009-06-23 05:19:55 +09:00
Damien Elmes
e7223120ea always deinit modelchooser 2009-06-23 05:17:21 +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
0f3ad34af2 make update check more fault tolerant 2009-06-23 01:49:11 +09:00
Damien Elmes
baacc0e333 remove grid in get shared, make sure selection is one row only 2009-06-21 06:59:30 +09:00
Damien Elmes
5118b4d88d add support for media url setting in model properties 2009-06-21 06:54:27 +09:00
Damien Elmes
17ad85e8b8 update about 2009-06-21 03:35:29 +09:00
Damien Elmes
60b5cd0e3e not a left-pointing arrow anymore 2009-06-20 02:18:59 +09:00
Damien Elmes
c6def7d5e9 remove bulk media support 2009-06-19 11:50:45 +09:00
Damien Elmes
a3da966462 fix spacing on win32/mac 2009-06-18 06:05:44 +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
35e9356d82 remove suspended from deck properties 2009-06-18 03:26:48 +09:00
Damien Elmes
efeb3786bb remove suspended tag from active tags 2009-06-18 03:26:32 +09:00
Damien Elmes
7b7473f558 color manually suspended too, add leech criteria, suspend manually 2009-06-17 16:03:40 +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
04b6278cd7 apply translation patch from piotr 2009-06-16 02:24:22 +09:00
Damien Elmes
32639bcbd5 add leech detection, message window on sync failure 2009-06-16 02:06:06 +09:00
Damien Elmes
d3fb52199a add automatically delete media option 2009-06-16 00:21:34 +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
12c1590d3f support videos, pass current card to style gen, tweak q/a size when q hidden 2009-06-15 11:38:16 +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
85a9b7c919 make sure to set loadLastDeck on prefs init 2009-06-15 05:33:14 +09:00
Damien Elmes
ff73353609 use single space in status area 2009-06-13 15:58:43 +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
e508239998 pass current card to drawquestion/answer filter 2009-06-12 22:22:40 +09:00
Damien Elmes
1d1ed411f7 apply same filters in preview 2009-06-12 20:43:03 +09:00
Damien Elmes
42a4c21d9c don't strip all html on cloze, just the misaligned style 2009-06-12 20:11:36 +09:00
Damien Elmes
20f0d49e42 add minimize option for osx 2009-06-12 19:53:24 +09:00
Damien Elmes
f3e8f6a5db only close deck if downloading deck, not plugin 2009-06-12 12:21:07 +09:00
Damien Elmes
56d0e20cca include last modified time in description & plugin area 2009-06-12 11:50:08 +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
4ceebb4a89 add filter for styles 2009-06-10 23:45:44 +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
eeede2008d don't dirty cards 2009-06-10 19:36:37 +09:00
Damien Elmes
93eb5b5a93 alternate colours when suspended 2009-06-10 12:39:31 +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
e16647c86a adjust # of tabs in model properties 2009-06-09 05:05:20 +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
Samson Melamed
6c6473762f perform bulk (media) sync after full sync with server 2009-06-08 14:07:11 -04:00