Commit graph

1187 commits

Author SHA1 Message Date
Damien Elmes
7698d36f84 catch media adding errors 2010-04-06 19:15:30 +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
fce5fd73e8 sort by combined due 2010-03-23 17:59:43 +09:00
Damien Elmes
d7075ecae9 add support for custom document dir 2010-03-23 17:15:00 +09:00
Damien Elmes
032ab3fb49 last completion change broke completion - fix 2010-03-23 17:10:55 +09:00
Damien Elmes
ed948ee810 use unicode for error 2010-03-23 17:06:27 +09:00
Christian Krause
e4d4ecf221 Fix crash with enabled sys tray icon
If sys tray icon is enabled anki crash when e.g. the graphs
view is opened. Removing the lambda functions used for the
signal registration fixes the problem.
2010-02-28 15:06:48 +09:00
Damien Elmes
21969b1549 add swf+flv 2010-02-26 16:44:35 +09:00
Damien Elmes
2da5c6c4e9 don't force the user to fix a duplicate field anymore 2010-02-23 17:33:58 +09:00
Damien Elmes
a94e0ed29e ensure actions are updated after plugins loaded 2010-02-22 18:09:45 +09:00
Damien Elmes
c2186f2a59 don't bump deck modified until fact is commited 2010-02-22 18:00:10 +09:00
Damien Elmes
f083d95282 fix page reload 2010-02-22 16:22:51 +09:00
Damien Elmes
edc680b2ea don't error out if ret hit in tag list before selection visible 2010-02-18 17:23:21 +09:00
Shawn M Moore
3f551e70f9 Keep track of whether the FactEditor is used for Add or Edit 2010-02-15 13:49:43 -05:00
Shawn M Moore
c234423f04 Forgot to return the new fact from initializeNewFact 2010-02-15 12:51:15 -05:00
Shawn M Moore
c0003c4c03 Factor out drawField 2010-02-14 18:41:26 -05:00
Shawn M Moore
f3b81d0024 Factor out initializeNewFact 2010-02-14 18:21:57 -05:00
Shawn M Moore
fe82902d5d Factor out clearOldFact method 2010-02-14 18:13:01 -05:00
Shawn M Moore
02c6e0c2bb Factor out addFact logic 2010-02-14 17:50:45 -05:00
Shawn M Moore
79579676c5 Factor out reportAddedFact 2010-02-14 17:49:20 -05:00
Damien Elmes
bd595a1e0d update hungarian name 2010-02-14 12:49:24 +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
0f3a083278 convert reverse order menu item to toggle button 2010-02-12 16:35:11 +09:00
Damien Elmes
20f9e69b79 capitalization tweak 2010-02-12 15:51:11 +09:00
Damien Elmes
64cd0499ba make sure to open a browser when link clicked in preview 2010-02-12 15:16:20 +09:00
Damien Elmes
d320c01372 separate button labels and default buttons 2010-02-12 14:02:29 +09:00
Damien Elmes
1c858f48b0 move cloze & preview to first line, enable preview & expand always 2010-02-12 03:05:03 +09:00
Damien Elmes
b7cd8a1385 add hack for qt underline bug back in 2010-02-10 23:00:50 +09:00
Damien Elmes
11357d5736 add ogv/ogx/oga, separate from translation 2010-02-10 00:49:53 +09:00
Damien Elmes
dde3c13cfe add some more file types 2010-02-09 04:08:03 +09:00
Damien Elmes
c5b02a5835 make sure to always deinit modelChooser 2010-02-07 01:07:23 +09:00
Damien Elmes
7d74be890b better warning about setting templates to nothing 2010-02-06 02:01:26 +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
db4fb87d68 only update changed card ids after generating cards 2010-02-05 12:59:42 +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
38b1d3b48a update display after selecting facts 2010-02-02 00:02:33 +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
aeb23cdbcc strip media before comparing with the correct answer 2010-01-29 20:20:14 +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
45ba91697e if no tag completion, pass return to default button 2010-01-29 17:22:41 +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
e2cbfd1916 don't clear window only to write to it again 2010-01-27 20:06:24 +09:00
Damien Elmes
bbe933890f don't call parseTags twice 2010-01-26 03:35:16 +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
355d78f177 tweak tag field alignment on linux 2010-01-23 22:23:03 +09:00
Damien Elmes
dbe6809ebb only reshow the deck browser on change 2010-01-23 22:12:26 +09:00
Damien Elmes
09b3016462 make sure progress dialog gets shown when update called 2010-01-23 21:48:06 +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
c909e2ad7a tweak layout of browser 2010-01-23 21:03:23 +09:00
Damien Elmes
e3de050ee6 don't forget selection when refreshing after card changes 2010-01-23 20:36:44 +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
68b8b8a5dc use layoutChanged() instead of dataChanged() 2010-01-23 18:26:41 +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
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