Commit graph

845 commits

Author SHA1 Message Date
Damien Elmes
c7f9cec657 add deck vars 2009-04-07 11:55:08 +09:00
Damien Elmes
aed9fb1c61 update tag priorities when deck is bundled 2009-04-06 23:53:04 +09:00
Damien Elmes
1d6e3f0b97 bump version number 2009-04-06 13:49:00 +09:00
Damien Elmes
4e3e6d3148 update translations 2009-04-06 13:30:28 +09:00
Damien Elmes
d09709fb50 use tag cache for great speed increase in cram, allow card id limit 2009-04-06 12:16:09 +09:00
Damien Elmes
085fbf3bcc add hack to prevent qt movie for now 2009-04-06 11:47:14 +09:00
Damien Elmes
10816ee5d7 Merge branch 'master' of git://github.com/sanna/libanki 2009-04-06 11:43:32 +09:00
Damien Elmes
7e9453a43a new german translation 2009-04-06 11:42:48 +09:00
Damien Elmes
36825006d0 new search interface, support negating tags, use tag: not t: 2009-04-06 11:41:50 +09:00
Damien Elmes
62375e37a3 need to force a write lock even in explicit locking mode 2009-04-02 04:29:11 +09:00
Susanna Björverud
78265fdc24 Added back lost space in string 2009-03-30 10:43:44 +02:00
Damien Elmes
78ee6884f5 make sure to account for failed cards not due yet 2009-03-30 08:23:21 +09:00
Damien Elmes
e25e8ff0ed fix rebuildCounts() 2009-03-30 07:45:13 +09:00
Damien Elmes
5ca9afa0da update priorities on export 2009-03-29 11:53:44 +09:00
Damien Elmes
58044f8586 bump version number 2009-03-29 11:33:40 +09:00
Damien Elmes
4b3532f3eb on python2.4, fall back to non-localized strings 2009-03-29 03:52:49 +09:00
Damien Elmes
a958734f8b strip trailing whitespace and wrap lines in stats 2009-03-29 03:51:06 +09:00
Damien Elmes
08eb6ac063 Merge branch 'master' of git://github.com/sanna/libanki 2009-03-29 03:45:39 +09:00
Susanna Björverud
4e81717326 Reverting messed up german po-file 2009-03-28 09:08:02 +01:00
Susanna Björverud
ba42e3d3c1 Updated Swedish translation and ran translation.sh 2009-03-28 08:45:46 +01:00
Susanna Björverud
f156a9a436 Remove extra <br> in next-day msg 2009-03-28 08:40:25 +01:00
Damien Elmes
e9e5994248 make sure cards are tagged correctly when importing tags 2009-03-28 14:32:38 +09:00
Damien Elmes
19698d6256 only warn on a mac, include \n 2009-03-28 10:14:43 +09:00
Damien Elmes
7886d498bd warn about audio fallback 2009-03-28 08:33:16 +09:00
Susanna Björverud
9fe5d88c0c Minor tweaks to Swedish translation and ran translation.sh 2009-03-25 17:34:06 +01:00
Susanna Björverud
c442e1f460 Updated Swedish translation 2009-03-25 11:21:09 +01:00
Susanna Björverud
f4adc657bd Added fmtFloat def 2009-03-25 11:20:42 +01:00
Susanna Björverud
57ca74ce34 Use locale decimal point 2009-03-25 11:15:04 +01:00
Susanna Björverud
7bbbc3bd65 Revert "taiwanese from mark"
reverting binary update
This reverts commit 4370606fc1.
2009-03-25 10:32:26 +01:00
Susanna Björverud
e1379eba5d Updated Swedish libanki translation 2009-03-25 11:02:57 +09:00
Susanna Björverud
dfb477ec4b new def to format percentages with current locale decimal point 2009-03-25 11:02:50 +09:00
Damien Elmes
4370606fc1 taiwanese from mark 2009-03-25 10:38:13 +09:00
Damien Elmes
c2fb704c52 assert undoLog primary key not null 2009-03-25 09:42:44 +09:00
Damien Elmes
eed5df1038 use format_string() 2009-03-24 09:05:35 +09:00
Damien Elmes
9fba248489 fix locale.format location 2009-03-24 08:52:53 +09:00
Damien Elmes
1648d254d6 format decimals using locale 2009-03-24 08:38:29 +09:00
Damien Elmes
0bf018fe02 update priorities when changing model 2009-03-23 11:51:43 +09:00
Damien Elmes
827afacaaa update tags on card gen, update card model on model, delete old tags 2009-03-23 11:47:02 +09:00
Damien Elmes
1098bb1c5c make fmtTimeSpan strings translatable 2009-03-23 10:48:28 +09:00
Damien Elmes
caf91b287e update finish translation, support importing/* 2009-03-23 10:45:20 +09:00
Damien Elmes
da4461d48d only split on space 2009-03-23 10:29:26 +09:00
Damien Elmes
80464ab4a5 delete unreferenced tags on update 2009-03-23 10:21:48 +09:00
Damien Elmes
c7022fd37d force a commit before integrity check 2009-03-23 09:54:45 +09:00
Damien Elmes
aa430f15e0 bump version 2009-03-22 14:22:21 +09:00
Damien Elmes
be3fabeee7 update translations 2009-03-21 13:36:02 +09:00
Damien Elmes
107217ca6f make sure to update priorities on upgrade 2009-03-21 12:15:30 +09:00
Damien Elmes
1be887872d use utc offset of -1 instead 2009-03-21 03:55:24 +09:00
Damien Elmes
0bf59fa00b make sure to close cursor for first() 2009-03-21 03:50:43 +09:00
Damien Elmes
cf459aee7d spaced cards > delayed cards 2009-03-20 14:20:06 +09:00
Damien Elmes
1f56bc3ec0 support limiting to single field in find and replace 2009-03-20 14:18:56 +09:00
Damien Elmes
cd44f3308b add support for updating tags for a given model 2009-03-19 11:26:33 +09:00
Damien Elmes
6af560da9a make sure to set ret if wait=False 2009-03-19 11:06:53 +09:00
Damien Elmes
93ca931f01 improve progress handler 2009-03-19 10:42:12 +09:00
Damien Elmes
e2baf57744 Estonian from Meelis Vasser, Portuguese from Jo Nakashima 2009-03-19 08:55:24 +09:00
Damien Elmes
95b8d655e6 remove shared cache mode, it's not needed 2009-03-18 22:45:43 +09:00
Damien Elmes
34be5b47a7 fix reviewHistory table by rebuilding it 2009-03-15 07:27:44 +09:00
Damien Elmes
a111537c26 fix refs to reviewHistory's id 2009-03-15 06:43:45 +09:00
Damien Elmes
66cda18a69 fix call() 2009-03-15 06:41:53 +09:00
Damien Elmes
64275642ba pass unicode to simplejson.loads() 2009-03-15 06:39:08 +09:00
Damien Elmes
df3185ab0f add wait kwarg to call() 2009-03-15 06:36:19 +09:00
Damien Elmes
dfd70ce4a1 commit before pragmas 2009-03-15 01:52:22 +09:00
Damien Elmes
11cd9af5ca commit before attempting to change page size 2009-03-15 01:48:51 +09:00
Damien Elmes
bc7b4e4d18 remove tag replace from find&replace 2009-03-14 11:11:02 +09:00
Damien Elmes
fc66e909ae make sure to copy tags on saveas 2009-03-14 10:19:29 +09:00
Damien Elmes
b4b01f9fc4 fix initial tag setting when adding cards 2009-03-14 10:06:22 +09:00
Damien Elmes
f14ad8521d update initial tag priorities when creating deck 2009-03-14 10:02:25 +09:00
Damien Elmes
9eca0221f1 reset undo on check db 2009-03-14 09:42:42 +09:00
Damien Elmes
440321459a take out an exclusive lock on the deck 2009-03-14 09:38:58 +09:00
Damien Elmes
52cfef6e6c remove trailing undo barrier on end 2009-03-14 05:23:59 +09:00
Damien Elmes
95447a23ec fix 10.3 audio 2009-03-13 07:06:21 +09:00
Damien Elmes
38cfd6e7db new finnish translations from Niklas 2009-03-13 06:24:44 +09:00
Damien Elmes
0743f87187 add progress information to deck upgrade, fix legacy file format = 1 2009-03-13 05:36:44 +09:00
Damien Elmes
b527d31499 fix the review history growing bug properly 2009-03-12 17:21:11 +09:00
Damien Elmes
ba15b6d0c3 update translations 2009-03-11 05:39:56 +09:00
Susanna Björverud
183f7461b4 Updating Swedish translation 2009-03-11 05:36:31 +09:00
Damien Elmes
32f9f1952e simplified chinese from nick 2009-03-11 05:28:53 +09:00
Damien Elmes
004030af0d don't fail if progress handler unavailable or tags table existing 2009-03-10 23:38:29 +09:00
Damien Elmes
c266248edb fix review early bug, update indices on deck load 2009-03-10 12:28:36 +09:00
Damien Elmes
343b76da05 if utc offset is 24, set new utc offset and rebuild 2009-03-10 07:38:59 +09:00
Damien Elmes
46451dbd4d remove sox hack 2009-03-10 07:38:23 +09:00
Damien Elmes
3bd9dd8494 handle osx 10.3 audio 2009-03-06 06:35:43 +09:00
Damien Elmes
e75036adde mention sox failure 2009-03-06 05:09:24 +09:00
Damien Elmes
fa513cab72 remove duplicates from review history 2009-03-04 12:10:50 +09:00
Damien Elmes
4763e41180 add/delete tags should update card ids, not fact ids 2009-03-04 11:59:34 +09:00
Damien Elmes
da3d25e2d6 bulk delete cards when template deleted, add progress info on field delete 2009-03-04 11:52:41 +09:00
Damien Elmes
9d16b89c7d refresh after add/remove tags, don't use comma 2009-03-04 11:45:54 +09:00
Damien Elmes
32c621de32 fix low priority support 2009-03-04 10:58:44 +09:00
Damien Elmes
20ac55581a update translations 2009-03-01 15:17:39 +09:00
Susanna Björverud
27a1529703 Committed Swedish translation by Susanna Björverud. 2009-02-28 23:05:59 +01:00
Damien Elmes
1234420cb7 add tags based on user's priorities 2009-02-28 16:57:11 +09:00
Damien Elmes
36421cf166 use pure field model order when importing 2009-02-27 15:30:11 +09:00
Damien Elmes
97eb12e343 new osx audio based on qtmovie 2009-02-26 02:07:27 +09:00
Damien Elmes
83e27a12ce fix extra suspend tags 2009-02-26 00:49:54 +09:00
Damien Elmes
0ffc634094 update on openSession() 2009-02-26 00:11:37 +09:00
Damien Elmes
f9ace0178c update translations 2009-02-25 23:37:24 +09:00
Damien Elmes
14bb30becb expire after delete 2009-02-24 13:03:27 +09:00
Damien Elmes
94f7775b7f remove space from missing media tag 2009-02-24 01:23:47 +09:00
Damien Elmes
529ddef63a max=0 to progress support 2009-02-24 01:12:37 +09:00
Damien Elmes
7026ef9bd8 update card tags after model changed 2009-02-24 00:13:32 +09:00
Damien Elmes
7a12888eb2 report new cards as new always, make sure they come before vhp if 'show first' 2009-02-21 18:23:55 +09:00
Damien Elmes
12f73ef52a fix priority rebuild 2009-02-21 18:05:29 +09:00
Damien Elmes
3878a3eef2 allow partial priority rebulid for activeTags, speed up db with cache/page size 2009-02-20 17:25:41 +09:00
Damien Elmes
0d2429bee8 fix updatePriorities(), etc 2009-02-20 00:14:04 +09:00
Damien Elmes
0b1a135176 update card tags after sync, new priority handling 2009-02-20 00:12:19 +09:00
Damien Elmes
ebaa37fe55 update tags when importing 2009-02-20 00:11:44 +09:00
Damien Elmes
780010ad68 fix unit tests, turn off some debugging 2009-02-19 17:27:13 +09:00
Damien Elmes
e4354181c4 db progress handler, work on tag cache 2009-02-19 16:01:04 +09:00
Damien Elmes
deffd752c5 fix failed card policy being set as custom 2009-02-17 23:20:05 +09:00
Damien Elmes
9863bfe318 add brazillian portuguese translation from Jo Nakashima 2009-02-17 12:26:10 +09:00
Damien Elmes
0dfe83cd85 refresh deck after model change 2009-02-15 20:33:07 +09:00
Damien Elmes
58fd0f253c add cloneFact() back, it's still used by previewing 2009-02-15 15:49:04 +09:00
Damien Elmes
eac6324fcb raise keyerror(key) in facts 2009-02-15 15:25:56 +09:00
Damien Elmes
e3805476af remove obsolete cardsDueSoon 2009-02-14 22:21:06 +09:00
Damien Elmes
deed322c53 only bump deck mod time if there were reviewed-ahead cards 2009-02-14 20:09:50 +09:00
Damien Elmes
c81098c037 check due after resetting early 2009-02-14 20:08:40 +09:00
Damien Elmes
77a6488f6d when importing, tag cards as new, add unit test 2009-02-14 03:03:42 +09:00
Damien Elmes
724c1354a8 return number of changed facts in find&replace 2009-02-14 01:11:27 +09:00
Damien Elmes
8892ad9f90 expire instead of expunging 2009-02-14 00:12:28 +09:00
Damien Elmes
f6b24b6d9a find&replace 2009-02-13 21:38:11 +09:00
Damien Elmes
231b5fe9e7 only use failedcardmax with 'soon' failed card setting, fix tag unit test 2009-02-10 13:22:45 +09:00
Damien Elmes
a4e3badf80 update importing for new tag handling 2009-02-09 21:54:19 +09:00
Damien Elmes
55cf34e8ee make sure card model tags are included in allTags(), fix upgrade code 2009-02-09 20:21:34 +09:00
Damien Elmes
6d7ef66640 more upgrade fixes 2009-02-08 04:54:59 +09:00
Damien Elmes
fa1713e9ee fix upgrade code 2009-02-08 04:36:27 +09:00
Damien Elmes
9b4da171fe accept kwargs in tagslist 2009-02-08 03:21:16 +09:00
Damien Elmes
d127ae4175 separate tags with spaces 2009-02-08 03:13:37 +09:00
Damien Elmes
28f738f069 tweak order of failed card options 2009-02-07 21:34:46 +09:00
Damien Elmes
a342c73887 improve failed card handling 2009-02-07 21:31:44 +09:00
Damien Elmes
3b2ba252cd remove debugging code 2009-02-07 16:21:25 +09:00
Damien Elmes
50e9885c15 faster allTags() 2009-02-07 14:55:48 +09:00
Damien Elmes
0bff47cce9 only report kanji for models with japanese in the tags 2009-02-06 23:39:32 +09:00
Damien Elmes
d35320364a add progress bar for deleting cards 2009-02-06 19:30:39 +09:00
Damien Elmes
4d4e7afcff add undoredo hook 2009-02-06 19:12:03 +09:00
Damien Elmes
4fdaa1ec79 fix stats size on osx 2009-02-06 18:56:29 +09:00
Damien Elmes
bde46a94f6 fix audio recording on osx 2009-02-06 18:34:35 +09:00
Damien Elmes
09dbbecf3a fix suspended card msg when review early term early, tweak fin msg 2009-02-06 15:59:35 +09:00
Damien Elmes
8c9803e638 dynamic index generation, sort new in rev order 2009-02-06 01:28:21 +09:00
Damien Elmes
b91b458c6d Reverting "add 'make due now' option" 2009-02-05 16:41:57 +09:00
Damien Elmes
45829f9acc add 'make due now' option 2009-02-05 11:58:10 +09:00
Damien Elmes
e807b35ce5 production->recall 2009-02-05 11:35:22 +09:00
Damien Elmes
3a1c79e1ce only update priorities on due cards 2009-02-05 00:52:05 +09:00
Damien Elmes
d0fa667717 don't report deletions when renamed, assert checksum on client 2009-02-04 22:33:49 +09:00
Damien Elmes
89a31fdc9a don't checksum media locally 2009-02-04 22:24:54 +09:00
Damien Elmes
608b899e58 bugfix for change model 2009-02-04 22:05:16 +09:00
Damien Elmes
e2676c238f tweak review order wording 2009-02-04 21:55:51 +09:00
Damien Elmes
ca8e592840 handle x->y & y->x in card model rename, big speed increase for update qa 2009-02-04 21:46:14 +09:00
Damien Elmes
d44c3792e9 model changing support 2009-02-04 20:43:54 +09:00
Damien Elmes
b1835ff71b no need to replace into, since we delete fields anyway 2009-02-04 18:00:00 +09:00
Damien Elmes
d59ea678b3 new spanish translations 2009-02-02 15:53:12 +09:00
Damien Elmes
b2832b2363 get rid of spaces in congrats 2009-02-02 15:35:34 +09:00
Damien Elmes
40ed30b4ea don't show spaced cards notice if no new cards are left 2009-01-31 03:58:58 +09:00
Damien Elmes
3b8df0c337 add reports for seen and non-jouyou kanji 2009-01-31 03:39:55 +09:00
Damien Elmes
479f38fab2 background colour, reduce default spacing to a minute, tweak finished msg 2009-01-31 02:18:46 +09:00
Damien Elmes
275d962cb4 make sure not to create undo log on new deck 2009-01-27 03:09:12 +09:00
Damien Elmes
ea89f1d587 show # of facts in deck stats 2009-01-27 01:48:16 +09:00
Damien Elmes
bf77ed1db7 update chinese translations, translate script 2009-01-24 16:03:06 +09:00
Damien Elmes
c1e5e657b6 cards>interval in docs 2009-01-24 04:17:03 +09:00
Damien Elmes
585ed7f7f7 new translations from mark 2009-01-23 15:38:33 +09:00
Damien Elmes
a6b4252428 fix graph dividing, make sure to display 'x cards waiting' msg 2009-01-22 23:47:31 +09:00
Damien Elmes
5545f5f622 catch overflow errors during record 2009-01-22 17:18:01 +09:00
Damien Elmes
26272cba65 update translations 2009-01-21 21:34:30 +09:00
Damien Elmes
94184cbdf5 unset typeanswer on upgrade 2009-01-21 21:23:08 +09:00
Damien Elmes
8ae88b49d0 bump version 2009-01-21 21:17:58 +09:00
Damien Elmes
2a0f22348d ignore sqlalchemy 0.5 deprecation warnings for now 2009-01-21 18:36:58 +09:00
Damien Elmes
ded420dd9e fix allow empty answer problem in sync 2009-01-21 16:20:42 +09:00
Damien Elmes
f1397fcd86 fix warning on creating new deck 2009-01-21 15:58:59 +09:00
Damien Elmes
913fe96c07 ignore priority when reviewing early 2009-01-21 15:48:09 +09:00
Damien Elmes
222503ea8f store field to compare against in type answer 2009-01-21 01:43:23 +09:00
Damien Elmes
28b0a7b8d3 rescheduling support 2009-01-21 00:27:04 +09:00
Damien Elmes
098cc98471 translation patches from Piotr 2009-01-20 23:33:50 +09:00
Damien Elmes
bebac30811 hide status if deck integrity bad 2009-01-20 23:31:50 +09:00
Damien Elmes
e50ccf22e5 canonify tags when importing 2009-01-20 02:16:15 +09:00
Damien Elmes
9fe28df5dc add start of chinese traditional translations 2009-01-20 00:52:20 +09:00
Niklas Laxström
fdb32ecbfc New Finnish translations from Niklas Laxström. 2009-01-18 17:43:48 +01:00
Damien Elmes
1da037ba90 more polish translations and bugfixes from Piotr Kubowicz 2009-01-18 14:48:07 +09:00
Damien Elmes
2792d22bf5 win32/mac fixes for audio 2009-01-18 00:49:23 +09:00
Damien Elmes
f3368d3c1e fix recording, remove debugging 2009-01-17 23:57:08 +09:00
Damien Elmes
f5feaaa782 change wording 2009-01-17 23:00:51 +09:00
Damien Elmes
cfc458e45f fix exporting re 2009-01-17 22:45:00 +09:00
Damien Elmes
ff4cc7b0af add importing tag support, fix audio 2009-01-17 22:36:14 +09:00
Damien Elmes
835b4b5969 make sure learn ahead only looks at review cards 2009-01-17 19:04:26 +09:00
Damien Elmes
f636b71b8c strip field model html on text card export 2009-01-17 17:37:07 +09:00
Damien Elmes
c1d778971f always fix current model problem 2009-01-17 16:41:10 +09:00
Damien Elmes
75d6123dc3 identify temp files as anki, quiet lame 2009-01-17 16:29:45 +09:00
Damien Elmes
d4ac87bc19 add pyaudio recorder, remove external recorder 2009-01-17 14:14:28 +09:00
Damien Elmes
97359df499 add _ to anki10 2009-01-17 14:12:05 +09:00
Damien Elmes
e010abd2d3 give the fade a little more time 2009-01-17 01:27:42 +09:00
Damien Elmes
334d126237 recording & noise profile support on linux 2009-01-17 01:05:39 +09:00
Damien Elmes
f515a6c5f9 more precision on undo progress 2009-01-16 21:24:26 +09:00
Damien Elmes
1fa7466dd9 progress for importing 2009-01-16 20:22:46 +09:00
Damien Elmes
6015dbec04 add progress to export, speed up export, tweak undo progress 2009-01-16 19:23:23 +09:00
Damien Elmes
87fbd896fc fix undo bugs, add progress, improve progress of check media db 2009-01-16 18:54:32 +09:00
Damien Elmes
8bdb1b8c26 remove debug info 2009-01-16 18:18:19 +09:00
Damien Elmes
240d311ca0 optimize add/deleteTag(), add progress callbacks and check (media) db 2009-01-16 18:17:36 +09:00
Damien Elmes
8bd84d4dfe better learn-ahead handling 2009-01-16 16:24:38 +09:00
Damien Elmes
fe17d6c53e improve upgrade code 2009-01-16 13:14:40 +09:00
Damien Elmes
3670a0cb7b review early, learn more, tweak finished msg 2009-01-15 04:37:27 +09:00
Damien Elmes
9ac3926786 save priority too 2009-01-15 02:57:03 +09:00
Damien Elmes
dd5e7c45b4 make sure field & card models are not duplicated 2009-01-14 15:35:16 +09:00
Damien Elmes
93332079b5 add model copy support 2009-01-14 15:28:27 +09:00
Damien Elmes
8e71b5fbbf add change card model, fix bug in check db 2009-01-14 14:10:07 +09:00
Damien Elmes
39810aa3d0 make sure reps >= 0 in mnemosyne 2009-01-13 00:38:52 +09:00
Damien Elmes
ff2ca5a567 set factor based on easiness in mnemosyne import 2009-01-13 00:31:52 +09:00
Damien Elmes
eca41e5ec7 Merge branch 'master' of git://github.com/scout/libanki 2009-01-10 16:54:34 +09:00
Samson Melamed
314f6c9b1f fixes media sync progress bar not reaching 100% 2009-01-10 00:00:48 -05:00
Damien Elmes
5d2356804e graph review time in hours, not minutes 2009-01-10 13:53:14 +09:00
Damien Elmes
8c6647f1d5 fix graph translations, update polish translations 2009-01-09 12:11:45 +09:00
Damien Elmes
4b6dcf6f6c fix db.py for ankiweb 2009-01-08 11:18:38 +09:00
Damien Elmes
5f0716aa5f update translations, bump version 2009-01-08 10:01:22 +09:00
Damien Elmes
6e63bdfc7c make sure runHook is imported 2009-01-07 18:49:12 +09:00
Damien Elmes
f87c02f7a4 run deck closed hook in libanki 2009-01-07 12:48:44 +09:00
Damien Elmes
8dfeb01de6 remove superfluous statement 2009-01-07 12:32:26 +09:00
Damien Elmes
7c764763d2 sqlalchemy 0.5 compat 2009-01-07 11:37:01 +09:00
Damien Elmes
2b30578615 make sure to commit lastSync on summary, don't force table size 2009-01-07 10:56:32 +09:00
Damien Elmes
afa9565d12 make sure to copy media table on saveas 2009-01-07 09:47:54 +09:00
Damien Elmes
57a49e9b08 fix ordering, add index 2009-01-07 09:25:42 +09:00
Damien Elmes
f60a536159 record last session start 2009-01-07 08:51:27 +09:00
Damien Elmes
7ad0e99b59 fix problem with null card model props 2009-01-06 12:16:32 +09:00
Damien Elmes
8ab3e3250d new polish translations 2009-01-06 10:31:51 +09:00
Damien Elmes
36ae6df933 default to a ten minute session 2009-01-06 09:15:57 +09:00
Damien Elmes
68b7991492 fix default session limits 2009-01-05 17:06:56 +09:00
Damien Elmes
a44c7c3333 rebuild translations 2009-01-05 16:25:00 +09:00
Damien Elmes
36a715fd17 add type in answer support 2009-01-05 15:38:26 +09:00
Damien Elmes
86e3c19ad6 add review time graph 2009-01-05 14:57:28 +09:00
Damien Elmes
8bb063c226 strip some trailing whitespace in graphs 2009-01-05 14:40:22 +09:00
Damien Elmes
3e7d3bbf28 add support for clearing audio queue 2009-01-05 14:38:15 +09:00
Damien Elmes
2319cbcc71 timeboxing, delay lapsed 2009-01-05 13:41:19 +09:00
Damien Elmes
cdc37fa7c0 strip commented pygame from sound.py 2009-01-05 08:28:13 +09:00
Damien Elmes
da6211b9ef don't use full path to audio, as the working directory will do 2009-01-05 08:25:18 +09:00
Damien Elmes
7e74fe3844 fix media dir problem on win32, fix unicode issues with media 2009-01-05 08:20:49 +09:00
Damien Elmes
2aecbffafe fix backup on win32 2009-01-05 06:51:47 +09:00
Damien Elmes
8750b9bbbb don't convert to system encoding prior to converting to utf8 2009-01-05 06:40:08 +09:00
Damien Elmes
9c226d5b4f fix spacing in card stats 2009-01-05 06:14:00 +09:00
Damien Elmes
91e90d8092 card model > card template 2009-01-05 06:10:10 +09:00
Damien Elmes
e3feff6ca6 revert undo log to temporary table, fix slowdown on big undo log 2009-01-04 13:48:48 +09:00
Damien Elmes
73767124d8 fail gracefully if unihan.db is not available 2009-01-04 13:13:53 +09:00
Damien Elmes
6ce63b4889 fix plural definition 2009-01-04 11:57:41 +09:00
Damien Elmes
be5c162e6a polish translations from Piotr Kubowicz 2009-01-04 11:47:14 +09:00
Damien Elmes
a9c04a69d1 fix tagging in check media db 2009-01-04 10:03:32 +09:00
Damien Elmes
7adbad0ffa Merge branch 'master' of git://github.com/timo/libanki 2009-01-04 09:28:03 +09:00
Timo Paulssen
3a2fd8b5ad fixed "unsubscriptable object" when disabling all the graphs before workDone. 2009-01-04 01:26:46 +01:00
Damien Elmes
5efb6910ef fix name() on in-memory db 2009-01-04 08:05:42 +09:00
Damien Elmes
0f129f7aea fix saveas with no media dir 2009-01-04 07:43:45 +09:00
Damien Elmes
9765fdae73 support media for memory backed files 2009-01-04 07:40:32 +09:00
Damien Elmes
c973c1eb4f new decks now default to in-memory storage until saveas
- undo needs fixing
- media support needs to be changed to work with in-memory db
2009-01-04 07:13:30 +09:00
Damien Elmes
a5d64aaa7f make sure allowEmptyAnswer is a bool 2009-01-04 05:30:15 +09:00
Damien Elmes
ee71c66cdb document need to call refresh after merging models 2009-01-04 05:17:58 +09:00
Damien Elmes
dee4ee3e8a new translations from Christian Rusche 2009-01-03 07:29:39 +09:00
Damien Elmes
429e4252cb delete undo log outside of session 2008-12-27 16:14:43 +09:00
Damien Elmes
c0f49f1373 delete undo log and vacuum on close 2008-12-27 15:57:30 +09:00
Damien Elmes
559b6c6cb7 new spanish translations from pcsl 2008-12-26 14:30:32 +09:00
Damien Elmes
fe58ca6793 bump version 2008-12-25 19:36:33 +09:00
Damien Elmes
e1c056f8fa allow blank answers by default by changing field props 2008-12-25 15:24:34 +09:00
Damien Elmes
b161d6e485 add option to avoid building latex 2008-12-24 15:48:54 +09:00
Damien Elmes
35ef8e6fa9 make sure both args are unicode 2008-12-24 15:11:35 +09:00
Damien Elmes
b3be3772fb change to media dir when it's created 2008-12-24 14:58:17 +09:00
Damien Elmes
1abd3f4216 update translations 2008-12-23 22:11:00 +09:00
Damien Elmes
95f1779130 make undo log permanent 2008-12-23 22:09:33 +09:00
Damien Elmes
ac15b666ef untitled>mydeck, don't remove on saveas 2008-12-23 20:38:19 +09:00
Damien Elmes
c50203b9a1 use alternative sound library on win32 2008-12-23 19:09:37 +09:00
Damien Elmes
48257368cc make sure congrats screen is displayed using standard whitespace 2008-12-23 18:48:42 +09:00
Damien Elmes
feb0acf52c don't remove leading/trailing whitespace 2008-12-23 18:39:14 +09:00
Damien Elmes
6434d5c03e don't collapse multiple spaces 2008-12-23 18:38:54 +09:00
Damien Elmes
3b3fef4ebc refactor latex into media support 2008-12-23 18:00:12 +09:00
Damien Elmes
6a21be9d19 refactor latex handling 2008-12-23 16:24:06 +09:00
Damien Elmes
41fe0c92be rename function 2008-12-23 15:44:29 +09:00
Samson Melamed
9a9082529b mass un/tagging now updates modified cards 2008-12-23 15:43:58 +09:00
Damien Elmes
a0a6df0f8e fix problems with lastsync 2008-12-23 15:41:22 +09:00
Damien Elmes
75dd6d4420 update card models table earlier in deck open 2008-12-23 15:38:36 +09:00
Damien Elmes
490c7c4bed make japanese/chinese generation fields more easily customizable 2008-12-23 13:48:05 +09:00
Damien Elmes
f903288c59 add support for 'allow blank answer', default to allow 2008-12-23 13:42:22 +09:00
Damien Elmes
9e47063940 change graph colours 2008-12-21 00:37:20 +09:00
Damien Elmes
aca5a403e5 use mplayer on windows too 2008-12-20 18:31:18 +09:00
Damien Elmes
8a47538075 use lastsync not deck.lastsync 2008-12-20 18:30:02 +09:00
Damien Elmes
e812f69dee new audio handling 2008-12-20 18:29:06 +09:00
Damien Elmes
a6f7276b03 no need to rename on a case insensitive filename 2008-12-20 16:26:51 +09:00
Damien Elmes
499b6b76fc try again.. 2008-12-20 16:14:39 +09:00
Damien Elmes
1877bc6769 possible fix for case insensitive filenames 2008-12-20 16:06:04 +09:00
Damien Elmes
1ee40d0869 update new card order label 2008-12-20 15:41:01 +09:00
Damien Elmes
943e006322 support new cards first 2008-12-20 15:37:42 +09:00
Damien Elmes
e9d2e6595e Merge branch 'master' of git://github.com/timo/libanki 2008-12-20 14:12:18 +09:00
Damien Elmes
5b5cad55a5 make japanese reading behave like before 2008-12-20 14:12:14 +09:00
Timo Paulssen
2c85801006 Merge branch 'master' of git://ichi2.net/libanki 2008-12-19 00:51:34 +01:00
rageon
dd10c38f78 extracted colour definition and new colour scheme 2008-12-19 00:43:35 +01:00
Damien Elmes
025ad7b431 Merge branch 'master' of git://github.com/timo/libanki 2008-12-18 14:54:15 +09:00
Timo Paulssen
b665595c0c new, less "urgent" due graph colors. 2008-12-17 12:44:29 +01:00
Damien Elmes
cb765bcb72 deck stats should show all new cards, not just due 2008-12-17 00:41:13 +09:00
Timo Paulssen
dabe170bed don't display the "reviews over the lifetime of the deck" 2008-12-16 00:23:10 +01:00
Timo Paulssen
84f953c754 colorscheme v3 (again by rageon, complaints by Damien) 2008-12-14 14:15:35 +01:00
Timo Paulssen
61600f58ed revised colorscheme (thanks again, rageon) 2008-12-14 13:56:19 +01:00
Timo Paulssen
b71aecf626 new colorscheme (thanks, rageon!) 2008-12-14 13:16:30 +01:00
Timo Paulssen
ccfab29fb8 reversed new/young/mature in graphs, this made the graphs so much nicer! 2008-12-14 13:06:41 +01:00
Timo Paulssen
cc08fd402c fixed a silly mistake in the reviews code. 2008-12-13 18:50:05 +01:00
Timo Paulssen
ec401210fd added a legend to the reviews graph. 2008-12-13 18:39:36 +01:00
Timo Paulssen
9c1f76cf57 split "reviews" graph into new, young and mature layers.
next step: add a legend, too.
2008-12-13 18:30:49 +01:00
Damien Elmes
af28484154 various graph fixes
- remove bars, as they are the main cause of slowdowns
- limit cumulative and due only in the future (fixes late decks)
- don't use outlines for periods over 1 year
2008-12-13 18:04:43 +09:00
Damien Elmes
daeba6f78b fix a problem saving over a deck with an existing media folder 2008-12-13 16:44:59 +09:00
Damien Elmes
f1a2fc7feb new failed card eta from nick cook 2008-12-13 15:25:43 +09:00
Damien Elmes
9d3fb8d922 make sure to delete stats on export 2008-12-13 13:46:01 +09:00
Damien Elmes
d027892c5c always downcase media extensions, fix path on win32 2008-12-13 13:40:14 +09:00
Timo Paulssen
e7be3e080c sped up graph generation when switching from long intervals to short intervals 2008-12-13 04:11:52 +01:00
Timo Paulssen
d2e23af5e6 making the Figures lazy introduced a bug. fixed it here.
whenever the recently added or first answered graph was the first one to be calculated, it wouldn't have generated the stats yet.
2008-12-13 03:22:42 +01:00
Timo Paulssen
c810ed7254 added necessary import. moved code. made stuff nicer. 2008-12-13 02:32:01 +01:00
Timo Paulssen
7645483fc7 added first code for the work done graph. needs refactoring. 2008-12-13 02:32:01 +01:00
Damien Elmes
dacd318ffd conditionally encode path in media 2008-12-11 04:13:57 +09:00
Damien Elmes
7f9593816c prevent unicode error when pasting image 2008-12-11 03:27:05 +09:00
Timo Paulssen
5863453877 fixed: added recently and first answered always displayed 0 for the "first" day shown. 2008-12-10 19:11:42 +01:00
Damien Elmes
33257c38bc close deck after copy in saveas 2008-12-11 01:14:02 +09:00
Damien Elmes
634362dc76 encode media filename to unicode first 2008-12-11 01:13:52 +09:00
Damien Elmes
af52a50547 backs are no longer unique by default 2008-12-11 01:13:35 +09:00
Damien Elmes
3f3fe8354c bump version 2008-12-11 00:38:09 +09:00
Damien Elmes
071d861c3e fix congrats new cards link 2008-12-11 00:37:55 +09:00
Damien Elmes
5dc05735c5 rename default deck to untitled, delete on saveas 2008-12-11 00:19:19 +09:00
Damien Elmes
82870a9a19 remove labels from graphs, they don't support foreign text 2008-12-10 23:47:51 +09:00
Damien Elmes
89591073de properly set midnight offset, fix graph offset 2008-12-10 23:07:13 +09:00
Damien Elmes
3afcf982dd fix 'delete' option of media check 2008-12-10 22:05:44 +09:00
Damien Elmes
e1aa79336c show only user tags by default, provide model and card model as options 2008-12-10 20:05:49 +09:00
Damien Elmes
2d5e58ac99 routines for determining current new/rev card order 2008-12-10 18:03:34 +09:00
Damien Elmes
963d79069f make sure wrap() returns the new result 2008-12-10 16:46:49 +09:00
Damien Elmes
d035806723 update finish translations 2008-12-09 02:31:50 +09:00
Damien Elmes
b956eff6b5 split model & card model tags 2008-12-09 02:29:08 +09:00
Damien Elmes
78a15ab652 update priorities when adding/removing tags 2008-12-09 01:57:28 +09:00
Damien Elmes
b0eb995aa6 Merge git://github.com/timo/libanki 2008-12-09 01:30:35 +09:00
Damien Elmes
c3c7c6e43c flush after delete 2008-12-09 01:23:49 +09:00
Niklas Laxström
b193e88dbd added finnish translation. 2008-12-07 20:44:06 +01:00
Damien Elmes
1d5f9db9cb bump version 2008-12-07 23:29:34 +09:00
Damien Elmes
3dcc9c75f2 hack to make more compact table 2008-12-07 21:41:15 +09:00
Damien Elmes
8c9f883e68 dupe fact on add to avoid session issues 2008-12-07 11:38:35 +09:00
Damien Elmes
02a124b66d thinko in last change 2008-12-06 17:17:55 +09:00
Damien Elmes
d480e42f55 rebuild counts after undo, rebuild counts more efficiently 2008-12-06 16:13:34 +09:00
Damien Elmes
31d96923dc update legends for old matplotlib 2008-12-05 23:43:19 +09:00
Damien Elmes
82c3b83f57 remove obsolete graphs code 2008-12-05 21:43:54 +09:00
Damien Elmes
6a4f1d873b munge html on import 2008-12-05 19:30:44 +09:00
Damien Elmes
4b19cff16b 30 backups, not 100 2008-12-05 18:57:47 +09:00
Damien Elmes
0c5f65c1ea after deleting a field, make sure to update card models 2008-12-05 18:51:38 +09:00
Damien Elmes
60fdadd9e8 fix ease graphs for new button layout 2008-12-05 15:15:16 +09:00
Damien Elmes
7463ef570b remove redundant new cards from graphs, rewrite queries 2008-12-05 14:37:31 +09:00
Timo Paulssen
7b2abd7153 added a good-looking legend to the due cards graph.
i feel dirty now.
2008-12-03 22:23:44 +01:00
Timo Paulssen
3a1f6a9274 seperated cards due graph into three layers: new, young and mature. 2008-12-03 22:23:44 +01:00
Damien Elmes
1532868401 add some tags to stats 2008-12-04 02:12:42 +09:00
Damien Elmes
5e5381d66f make sure to update counts after addcards() 2008-12-04 01:50:52 +09:00
Damien Elmes
02e1fed2ef behave nicer if undo disabled 2008-12-04 01:14:11 +09:00
Damien Elmes
78f3c8b4ba refresh after undo 2008-12-04 00:55:51 +09:00
Damien Elmes
9331dac050 Merge git://github.com/timo/libanki 2008-12-04 00:12:56 +09:00
Timo Paulssen
4ba12dc753 graphs now pay attention to the "shift midnight" setting. 2008-12-03 16:09:31 +01:00
Timo Paulssen
b08833b6b6 fixed cards being attributed to the previous day if they were due past noon. 2008-12-03 15:47:04 +01:00
Damien Elmes
1d910be2cf remove hr tags from std models, balance is bad 2008-12-03 20:13:05 +09:00
Damien Elmes
21b59408cd refactor features to use hooks, update stdmodels, update findTags()
- remove description from fields, cards and models
- remove features and use field names instead
2008-12-03 19:22:15 +09:00
Damien Elmes
97caa8119f add instrumentation tools 2008-12-03 18:26:40 +09:00
Damien Elmes
e84c0072b0 don't commit deck on load if count hasn't changed 2008-12-03 02:06:58 +09:00
Damien Elmes
ada1cd04b7 check for null sources 2008-12-02 16:41:25 +09:00
Damien Elmes
0f8762c3fe forget deletions before deleting anything in fixIntegrity() 2008-12-01 12:51:35 +09:00
Damien Elmes
bf10f96cc2 python 2.4 compat 2008-12-01 01:37:54 +09:00
Damien Elmes
a7a40bd241 disable undo debugging 2008-12-01 01:07:34 +09:00
Damien Elmes
55df77e0d1 handle unique better 2008-12-01 01:00:01 +09:00
Damien Elmes
a83b41b939 add most of fieldmodels 2008-12-01 00:25:51 +09:00
Damien Elmes
0ff3b41745 don't add layers of undo barriers 2008-12-01 00:17:43 +09:00
Damien Elmes
1e98f8bf81 add card tags to fact 2008-11-30 05:47:36 +09:00
Damien Elmes
320d1fa758 conditionally enable undo 2008-11-30 05:47:15 +09:00
Damien Elmes
373e161a6c undo/redo support 2008-11-30 05:40:36 +09:00
Damien Elmes
a9a4f08e24 allTags() ignores card tag 2008-11-30 05:40:21 +09:00
Damien Elmes
0e7ebae9b8 make stats smaller 2008-11-29 16:12:58 +09:00
Damien Elmes
2480447eea update translations 2008-11-29 00:36:07 +09:00
Damien Elmes
a0adccc117 replace facts, don't ignore them 2008-11-29 00:13:59 +09:00
Damien Elmes
6172400706 bump version 2008-11-28 23:53:38 +09:00
Damien Elmes
dff358383a consider failures when calculating eta 2008-11-28 20:01:48 +09:00
Damien Elmes
cd64b0db9e add user tags list, sort tags in canonify 2008-11-28 18:53:04 +09:00
Damien Elmes
8f2efd83b3 fix ref to traceback, make sure to only delete existing indices 2008-11-28 17:15:22 +09:00
Damien Elmes
5119e46e7b replace add missing active cards with selectable version 2008-11-28 17:13:47 +09:00
Damien Elmes
8147e5002a update indices, make sure to build and analyze 2008-11-28 15:47:52 +09:00
Damien Elmes
0b52e2f0ec customizable revision order, refactor failed cards handling 2008-11-28 15:09:13 +09:00
Damien Elmes
75a61a00cc remove card tags 2008-11-28 14:40:27 +09:00
Damien Elmes
7e305111ad update translations 2008-11-23 09:25:14 +09:00
Damien Elmes
de2780e797 record exported card count when exporting anki deck 2008-11-23 09:18:41 +09:00
Damien Elmes
2442e9b719 bump version 2008-11-23 07:57:13 +09:00
Damien Elmes
e5126d7c3c preview support 2008-11-23 07:50:31 +09:00
Damien Elmes
6299e5f665 close other windows on reset() 2008-11-22 16:17:13 +09:00
Damien Elmes
8f983d5bcc always keep as unicode 2008-11-21 23:41:14 +09:00
Damien Elmes
fbcdae4c51 make 2->3 work better for larger 2 2008-11-21 20:39:44 +09:00
Damien Elmes
90487d86ad remove obsolete code 2008-11-21 20:24:23 +09:00
Damien Elmes
447985fc87 update q/a cache after bulk tag update 2008-11-21 16:05:39 +09:00
Damien Elmes
e1d3f791f5 do need to rebuild counts on export 2008-11-21 15:46:17 +09:00
Damien Elmes
0617e229a8 don't catch error reading deck 2008-11-21 15:35:44 +09:00
Damien Elmes
8af4c1200f don't fail silently 2008-11-21 13:36:19 +09:00
Damien Elmes
9c8af9d64f work around a sync bug 2008-11-21 13:16:48 +09:00
Damien Elmes
f49459fdfb del missing error ref 2008-11-21 13:08:24 +09:00
Damien Elmes
eff388974b refactor errors on load 2008-11-21 13:03:27 +09:00
Damien Elmes
c4d30a20d9 remove mergeTags() 2008-11-21 00:22:23 +09:00
Damien Elmes
ddcdda72c9 no need to wrap empty fields 2008-11-19 01:30:13 +09:00
Damien Elmes
cd383174c6 fix handling of delay1/2 2008-11-17 10:55:33 +09:00
Damien Elmes
1b69992e8f fix getCards() new card handling logic 2008-11-17 09:53:17 +09:00
Damien Elmes
9bbb240d37 fix order of cards table to fix saveas bug 2008-11-17 08:46:04 +09:00
Damien Elmes
de09e37006 no need to rebuild count on export, as it's done in sync 2008-11-17 08:30:14 +09:00
Damien Elmes
f1d61bc832 create intermediate dirs (for ipod) 2008-11-16 04:37:14 +09:00
Damien Elmes
26ad7e8149 rebuild due counts after sync 2008-11-16 04:20:14 +09:00
Damien Elmes
76e3659832 bump version 2008-11-16 02:47:25 +09:00
Damien Elmes
e09a29fe0e fix delay defaults 2008-11-16 02:38:48 +09:00
Damien Elmes
8ec77ebd53 add alternative failed card handling 2008-11-16 02:15:00 +09:00
Damien Elmes
2b9344d87c update italian translation 2008-11-16 00:38:42 +09:00
Damien Elmes
420fd4ec77 refactor deck/backup location 2008-11-16 00:36:27 +09:00