Commit graph

623 commits

Author SHA1 Message Date
Damien Elmes
e1f505b853 don't randomize field ids anymore 2009-04-18 22:00:49 +09:00
Damien Elmes
451c266591 make sure tag index is unique 2009-04-18 04:45:41 +09:00
Damien Elmes
541dd3e38e improve speed of tagIds() 2009-04-18 02:39:18 +09:00
Damien Elmes
19e597cbc9 don't update tag for each card, we do it for the fact 2009-04-18 02:32:03 +09:00
Damien Elmes
1d4710b6d6 flush after startProgress() in case a lost focus has been triggered 2009-04-17 23:18:05 +09:00
Damien Elmes
099202c28f trailing whitespace 2009-04-14 02:01:07 +09:00
Damien Elmes
06b1ee47f9 add support for turning off backups 2009-04-14 00:15:45 +09:00
Damien Elmes
5a912faeab escape tags on mnemosyne import 2009-04-13 12:40:51 +09:00
Damien Elmes
b9789cbd50 Chinese translation from Siliang GUO 2009-04-11 23:17:50 +09:00
Damien Elmes
3cb299a1d5 bump version, remove debugging code 2009-04-11 02:35:55 +09:00
Damien Elmes
b7a81f952c don't mark deck modified on upgrade, just commit 2009-04-11 02:15:52 +09:00
Damien Elmes
49089732c4 make sure to set progress handler envs before setting handler 2009-04-11 01:05:51 +09:00
Damien Elmes
d4235aaa34 parse lastSync as a float to fix problem with latest simplejson 2009-04-11 01:05:35 +09:00
Damien Elmes
51213784a8 init progress handle at start, tweaks for faster deck startup 2009-04-11 00:20:52 +09:00
Damien Elmes
0959689463 use external player on mac too 2009-04-10 22:23:41 +09:00
Susanna Björverud
56098f18a8 Updated Swedish translation and reran translation.sh 2009-04-10 14:46:29 +02:00
Susanna Björverud
356d9365bb Clean up, removing commented out no longer needed lines 2009-04-10 14:45:27 +02:00
Susanna Björverud
f2db5c27d6 Merge branch 'newSpaced' 2009-04-10 14:43:21 +02:00
Susanna Björverud
87b4e72f47 Experimenting with selecting cards that are both new and spaced 2009-04-10 10:57:49 +02:00
Damien Elmes
c3d67c9818 add mark's latest taiwanese translations, run translate.sh 2009-04-10 16:00:22 +09:00
Susanna Björverud
426eb204a4 Updated Swedish translation and reran translation.sh 2009-04-09 15:22:27 +02:00
Susanna Björverud
2738ee9100 Changed 'At the same time...' to 'At this time...' 2009-04-09 15:21:11 +02:00
Susanna Björverud
6715f32237 Updated Swedish translation and reran translation.sh 2009-04-07 11:14:41 +02:00
Susanna Björverud
8d9c1cf191 Adding html comments to strings to allow them to be translated differently 2009-04-07 11:14:10 +02:00
Susanna Björverud
ac2213b89b Updated Swedish translation and reran translation.sh 2009-04-07 08:57:00 +02:00
Susanna Björverud
c4304fa195 Plural support for some strings 2009-04-07 08:56:35 +02:00
Damien Elmes
ba716e2066 conditionally apply meta 2009-04-07 12:22:35 +09:00
Damien Elmes
d9aa62d370 bump version number 2009-04-07 11:57:49 +09:00
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