Damien Elmes
358b453906
always update buried/reviewEarly cards
2009-06-19 08:02:40 +09:00
Damien Elmes
3e2c150b17
only set lastDue if card is not new, hide due for new cards in stats
2009-06-19 07:46:26 +09:00
Susanna Björverud
98be8e1c47
Fixed error in Swedish translation and reran translation.sh
2009-06-18 10:36:39 +02:00
Susanna Björverud
6a8e3effe8
Updated Swedish translation and reran translation.sh
2009-06-18 09:54:08 +02:00
Damien Elmes
a1981cf220
strip suspended upgrade code, users will have to do it manually
2009-06-18 07:57:38 +09:00
Damien Elmes
b079df2a13
don't use communicate(), catch win32 error
2009-06-18 07:11:39 +09:00
Damien Elmes
e6b207f7af
force media sync to go in one direction
2009-06-18 06:48:41 +09:00
Damien Elmes
d0653f2f7a
make mplayer threads daemons
2009-06-18 06:43:12 +09:00
Damien Elmes
22efbaaf81
fix mplayer blocking on debug output
2009-06-18 06:39:21 +09:00
Damien Elmes
0cd3b517b3
make sure to use unicode in suspended
2009-06-18 06:11:22 +09:00
Damien Elmes
9cab497217
remove obsolete methods in csvfile
2009-06-18 05:52:03 +09:00
Damien Elmes
ad5a7c8bf7
close mplayer on deck close as media path may change
2009-06-18 05:49:08 +09:00
Damien Elmes
8c8a76d08d
updated japanese translation from jarvik
2009-06-18 05:39:03 +09:00
Damien Elmes
5eb1a69735
catch unicode decode errors in csv import
2009-06-18 05:37:56 +09:00
Damien Elmes
e62967ecb1
switch to python csv
2009-06-18 05:21:47 +09:00
Damien Elmes
b6a50db1c2
rebuild queue after upgrade mostly done
2009-06-18 04:25:45 +09:00
Damien Elmes
093fb4695b
suspend/unsuspend noweb on full sync
2009-06-18 04:04:50 +09:00
Damien Elmes
33c23bc082
add leech report to congrats, remove bold from less important items
2009-06-18 03:43:31 +09:00
Damien Elmes
285bf5a9a0
add search for inactive
2009-06-18 03:14:22 +09:00
Damien Elmes
5bca5bc0da
make distinction between suspended/inactive
2009-06-18 03:13:58 +09:00
Damien Elmes
58c4e6eb27
fix error caused by upgrading deck without queue built
2009-06-18 02:40:18 +09:00
Damien Elmes
6a286d1eca
obsolete suspended tag
...
- add suspendCards/unsuspendCards()
- set priority = -3 to manually suspend
- ignore cards with negative priorities when updating
- remove suspended from list of initial tags
2009-06-18 02:25:50 +09:00
Damien Elmes
03369658ee
remove sleep debugging
2009-06-16 04:01:13 +09:00
Damien Elmes
717044dcad
add progress handler back to full sync upload
2009-06-16 03:59:54 +09:00
Susanna Björverud
88dab64bfc
Updated Swedish translation and reran translation.sh
2009-06-15 20:06:48 +02:00
Damien Elmes
aca7962fe3
updated polish translation from piotr
2009-06-16 02:25:11 +09:00
Damien Elmes
cffa1e50c3
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-16 02:24:49 +09:00
Damien Elmes
a478e9af6b
apply translation patch from piotr
2009-06-16 02:23:56 +09:00
Susanna Björverud
0402c2b8e2
Updated Swedish translation
2009-06-15 17:46:56 +02:00
Susanna Björverud
7d34b35b75
Merge branch 'master' of git://ichi2.net/libanki
2009-06-15 17:37:03 +02:00
Damien Elmes
5b8832402a
fix close post sync
2009-06-16 00:02:26 +09:00
Damien Elmes
3b99232f7a
switch to urllib2 to pick up proxy, monkey-patch httplib to incrementally send
2009-06-15 23:01:43 +09:00
Damien Elmes
09e002c8d6
when generating cards in ordered mode, set due = fact creation + ordinal
2009-06-15 11:57:25 +09:00
Damien Elmes
8e92a4dfc8
don't poll empty mplayer
2009-06-15 11:45:11 +09:00
Damien Elmes
e66e66c614
don't catch all osx errors
2009-06-15 11:37:02 +09:00
Damien Elmes
7cac17a543
restart mplayer if it has stopped
2009-06-15 11:26:42 +09:00
Damien Elmes
8d3678b9fb
mark deck dirty on reset cards
2009-06-15 06:57:50 +09:00
Damien Elmes
fb8f2bd09f
handle interrupted system call errors on mplayer shutdown
2009-06-15 06:57:36 +09:00
Damien Elmes
e578ffc721
map all file descriptors to work with py2exe
2009-06-13 16:01:58 +09:00
Damien Elmes
efb71c754c
bump protocol version
2009-06-13 01:14:54 +09:00
Damien Elmes
2db2b65df0
set deck created time on download
2009-06-12 22:41:21 +09:00
Damien Elmes
b5da38474f
allow arbitrary number of args in filters
2009-06-12 22:21:57 +09:00
Damien Elmes
9d8df81e11
cleanup mplayer slave on exit
2009-06-12 20:26:00 +09:00
Susanna Björverud
79aada5288
Bump version number, no string changes, for Swedish translation
2009-06-12 08:42:30 +02:00
Damien Elmes
d67b4b2ed9
remove obsolote newSpacedCount()
2009-06-11 22:49:15 +09:00
Damien Elmes
d2ac7fc13e
don't dirty cards/fact on full check, rely on lastSync = 0
2009-06-11 03:49:16 +09:00
Damien Elmes
3085ce7328
use mplayer slave mode
2009-06-11 03:29:07 +09:00
Damien Elmes
2d32e1aaa1
strip all chinese/japanese support out in favour of plugins
2009-06-10 22:58:28 +09:00
Damien Elmes
28f6df93cb
assert response ok
2009-06-10 22:33:20 +09:00
Damien Elmes
261c70b8c2
set first answered on reset
2009-06-10 21:23:30 +09:00
Damien Elmes
0dc07bcfd1
support get(x, default) in facts
2009-06-10 21:22:29 +09:00
Damien Elmes
fe6fb005b6
do partial tag update on sync
2009-06-10 20:58:54 +09:00
Damien Elmes
cc50a5fdae
updated spanish translations
2009-06-09 04:09:55 +09:00
Damien Elmes
abbd7f1d3c
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-09 01:40:43 +09:00
Damien Elmes
8a40dbc35c
bump version number
2009-06-09 01:31:38 +09:00
Damien Elmes
5cb85176e6
include all jinmei in missing/seen
2009-06-08 21:44:21 +09:00
Damien Elmes
c9f78cb7b6
add class to question/answer
2009-06-08 13:39:17 +09:00
Damien Elmes
845aede221
if show failed cards at end, use maxFailed = 0
2009-06-08 12:36:23 +09:00
Susanna Björverud
4e023797d7
Updated Swedish translation and reran translation.sh
2009-06-07 18:59:05 +02:00
Damien Elmes
bf59bcd1d7
remap mnemosyne latex tags
2009-06-07 02:50:09 +09:00
Damien Elmes
6ffa8cd191
make kakasi cmd more easily customizable
2009-06-06 23:51:58 +09:00
Damien Elmes
f47afc3ebf
bump version
2009-06-06 22:36:34 +09:00
Damien Elmes
1ec8baa459
add filter support
2009-06-06 21:56:44 +09:00
Damien Elmes
40a7278aa5
include kanji in reading generation
2009-06-06 21:24:20 +09:00
Damien Elmes
bd31fb4e69
numerous optimizations - cold cache start is much faster now
...
- fix priorityDue index order
- force correct index on checkDue() and spacedCardCount()
- don't check due again if reviewEarly & newEarly false
- optimize reviewEarly/buried unsuspend
2009-06-06 18:49:30 +09:00
Damien Elmes
06780e56fd
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-06 17:37:56 +09:00
Damien Elmes
c5cabb7e84
analyze after adding index
2009-06-06 17:37:48 +09:00
Damien Elmes
598b2e79e9
add index for average factor calculation
2009-06-06 17:32:51 +09:00
Damien Elmes
82e8555793
remove debugging from fixIntegrity
2009-06-06 03:42:01 +09:00
Susanna Björverud
eaf63612a8
Updated Swedish translation and reran translation.sh
2009-06-05 20:37:12 +02:00
Damien Elmes
d1c73cb002
don't use full sync in local sync
2009-06-06 01:11:14 +09:00
Damien Elmes
d7961413b4
make sure to set card model id when creating cards, tweak code formatting
2009-06-06 01:09:08 +09:00
Damien Elmes
f5facee398
make sure to close temp file fds, add full sync to sync()
2009-06-05 15:16:11 +09:00
Damien Elmes
dd9ba0e833
support htmlquestion/answer without orm
2009-06-04 17:17:09 +09:00
Damien Elmes
15b5e3b6c0
hack for race condition with queue clearing
2009-06-04 09:37:59 +09:00
Damien Elmes
c6cddeb163
respect max failed cards with 'show failed cards at end', set to default 1000
2009-06-04 07:22:03 +09:00
Damien Elmes
b136e505b0
strip <style> tags as well
2009-06-04 07:07:49 +09:00
Damien Elmes
91afe651b3
randomize after .anki import
2009-06-04 06:59:07 +09:00
Damien Elmes
4effec1c59
remove extra newline
2009-06-04 05:28:32 +09:00
Damien Elmes
3e40dc1557
return if numBackups = 0
2009-06-04 05:17:36 +09:00
Damien Elmes
4d1ea887dd
rename rather than copy file if same name but different case in media check
2009-06-04 04:20:19 +09:00
Damien Elmes
5692c91855
add check for fields without field model
2009-06-04 04:19:53 +09:00
Damien Elmes
feac19941d
updated polish translations
2009-06-02 15:59:16 +09:00
Damien Elmes
4b883e2c16
don't clobber original deck if failure in sync
2009-06-02 15:41:30 +09:00
Damien Elmes
d35ef18889
make sure to set host header
2009-06-02 04:16:49 +09:00
Damien Elmes
76b114f584
make sure to include type= when raising deck access error
2009-06-02 03:21:40 +09:00
Damien Elmes
a1166215fd
implement full sync downloading
2009-06-02 03:19:16 +09:00
Damien Elmes
8a19bd4c57
implement full sync uploading
2009-05-31 01:23:31 +09:00
Damien Elmes
22b086fbad
better error report if deck is missing decks table
2009-05-31 01:22:06 +09:00
Damien Elmes
b237bcbdf0
support searching for fact ids
2009-05-30 18:22:55 +09:00
Emilio Wuerges
d9d7fff820
fixed jinmei (reg) and jinmei (var) lists
2009-05-29 02:27:23 +09:00
Damien Elmes
bb21a0a517
update jinmeiyou and tweak formatting
2009-05-28 00:54:45 +09:00
Damien Elmes
c681159951
strip trailing whitespace, joyo->jouyou
2009-05-28 00:39:26 +09:00
Emilio Wuerges
1add5e4ca8
Added New Joyo Kanji list to kanji statistics
2009-05-28 00:31:22 +09:00
Damien Elmes
ddbe0b8657
make sure utcoffset defaults to -1 so initialized on first load
2009-05-27 00:30:29 +09:00
Damien Elmes
df0e4d2446
ensure tags are synced properly in one way sync
2009-05-21 02:11:33 +09:00
Damien Elmes
423974934c
unify decks/deck -> Deck, fix & build translatations
2009-05-21 01:04:15 +09:00
Damien Elmes
a9044a4d8c
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-21 01:00:10 +09:00
Damien Elmes
b8e4358b7b
Norwegian translations from Lars Lem
2009-05-21 00:59:54 +09:00
Susanna Björverud
b9e30cb9ba
Updated version string in Swedish translation and reran translation.sh
2009-05-17 19:06:42 +02:00
Damien Elmes
7588eb9650
don't need to mention views/indices
2009-05-16 05:12:44 +09:00
Damien Elmes
936106e4c9
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-16 05:12:13 +09:00
Damien Elmes
ea9ad13932
add support for alternative media dir and disabling media copy on export
2009-05-16 04:07:54 +09:00
Susanna Björverud
dd8f7c4c43
Updated Swedish translation
2009-05-15 20:17:12 +02:00
Damien Elmes
6ccafcb996
optimize change model - much faster for large decks
2009-05-16 03:14:23 +09:00
Damien Elmes
2a9e88cb5d
support quick db check, don't forget deletions, report deleted cards
2009-05-16 02:47:51 +09:00
Damien Elmes
d091166fe5
bump version
2009-05-16 00:50:30 +09:00
Damien Elmes
876fac87b3
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-16 00:49:51 +09:00
Damien Elmes
ebf83d898e
don't clobber deck modified when expired cards on open
2009-05-16 00:49:33 +09:00
Susanna Björverud
1c6cc5dbf2
Updated Swedish translation and reran translation.sh
2009-05-14 14:45:34 +02:00
Damien Elmes
1e275db81d
add stats sync direction to make it clearer
2009-05-13 15:41:31 +09:00
Damien Elmes
2b5f2fa896
if the time is over a minute, cap to a minute instead of assuming avg
2009-05-11 18:57:35 +09:00
Damien Elmes
6e58308370
bump version again
2009-05-09 06:53:28 +09:00
Damien Elmes
57b659ca36
optimize updatePriorities(), get a 2-3x speedup
2009-05-09 05:58:42 +09:00
Damien Elmes
6893d01458
add back priorityDue index
2009-05-09 04:17:53 +09:00
Damien Elmes
b653d4dba9
bump version
2009-05-09 04:13:45 +09:00
Damien Elmes
2f4b853140
improve speed of unused tag deletion in updateCardTags()
2009-05-09 03:46:59 +09:00
Damien Elmes
19bc9768f1
delete unused tags on card delete, do it efficiently
2009-05-09 03:26:34 +09:00
Damien Elmes
d15dd71b68
speed up deleteDanglingFacts()
2009-05-09 03:25:46 +09:00
Damien Elmes
bc7bdc24c4
update all card priorities at once on add
2009-05-09 03:25:24 +09:00
Damien Elmes
9df4b3278f
don't flushMod() unless modified
2009-05-07 17:26:29 +09:00
Damien Elmes
3de46f701b
type->is
2009-05-06 16:40:03 +09:00
Damien Elmes
29cd8aefc9
bump version
2009-05-06 16:07:24 +09:00
Damien Elmes
2550d3ec08
new 'learn more' handling
2009-05-06 15:45:15 +09:00
Damien Elmes
f8b6d18dff
add search for delayed
2009-05-06 13:47:57 +09:00
Damien Elmes
eac428f6b3
fail>failed
2009-05-06 13:40:49 +09:00
Damien Elmes
0b9df42400
support searching for card type
2009-05-06 13:32:00 +09:00
Damien Elmes
91f06b31d6
updated Polish and German from Piotr Kubowicz
2009-05-06 12:45:55 +09:00
Damien Elmes
992f7af50e
make priorities sort better
2009-05-06 12:44:43 +09:00
Damien Elmes
3b7bf1f573
updated mongolian translations from Charlene Barina
2009-05-06 12:34:13 +09:00
Damien Elmes
ac5a92214e
don't include new cards in workload calculation
2009-05-04 01:50:09 +09:00
Damien Elmes
f32f96fb53
if updating priorities results in a suspend, update due counts
2009-05-01 04:36:26 +09:00
Susanna Björverud
961db76e63
Updated Swedish translation and reran translation.sh
2009-04-30 10:36:10 +02:00
Damien Elmes
4a59e9d5ae
patch to fix sync translation from piotr
2009-04-30 05:21:52 +09:00
Damien Elmes
2424151c9f
update polish translations from piotr
2009-04-30 05:21:43 +09:00
Damien Elmes
9692041087
bump version
2009-04-30 05:14:05 +09:00
Damien Elmes
796ad5962b
rename instance var to avoid deprecation warning
2009-04-29 15:28:13 +09:00
Damien Elmes
1d24158f90
bump version
2009-04-29 12:44:28 +09:00
Damien Elmes
143a78dd2a
handle buried cards in deck load
2009-04-29 12:12:07 +09:00
Damien Elmes
32d5dccbc9
randomize after reset; refresh deck
2009-04-29 11:51:33 +09:00
Damien Elmes
54252afaf1
more chinese translations from GUO Siliang
2009-04-28 17:59:59 +09:00
Damien Elmes
de693dbc91
Merge branch 'master' of git://github.com/sanna/libanki
2009-04-28 17:59:27 +09:00
Damien Elmes
33c59a3006
new review early handling so that we can recover on load
2009-04-28 17:12:50 +09:00
Susanna Björverud
5d0fb5579f
Updated Swedish translation and reran translation.sh
2009-04-27 20:11:16 +02:00
Damien Elmes
c89d75b01c
bump version
2009-04-25 21:41:13 +09:00
Damien Elmes
90f726e634
remove version numbers from import, as osx gets confused
2009-04-25 03:57:56 +09:00
Damien Elmes
e51fec907b
bump version
2009-04-25 03:28:21 +09:00
Damien Elmes
169dc16ced
remove deprecated popen call
2009-04-25 03:27:46 +09:00
Damien Elmes
61fc7b4430
lower tags in python, as sqlite doesn't have full unicode tables
2009-04-25 03:04:52 +09:00
Damien Elmes
2944b8194b
if audio player fails to start, give better error
2009-04-25 02:38:48 +09:00
Damien Elmes
c0c969d686
Merge branch 'master' of git://github.com/sanna/libanki
2009-04-25 01:10:37 +09:00
Damien Elmes
2c60151a45
ignore console input in mplayer
2009-04-24 02:16:54 +09:00
Susanna Björverud
87d8656f49
Updated Swedish translation and reran translation.sh
2009-04-23 18:13:32 +02:00
Damien Elmes
bc2e9d9593
fix adding cards while in random mode
2009-04-23 16:49:55 +09:00
Damien Elmes
2393775f80
add type to factid index
2009-04-23 04:05:37 +09:00
Damien Elmes
94df742a59
fix bug with zero imports, improve speed with zero imports
2009-04-23 02:00:52 +09:00
Damien Elmes
155de15101
greatly improve import speed on large decks, randomize too
2009-04-23 01:58:40 +09:00
Damien Elmes
d1a44e308e
handle randomize progress in ankiqt, add helper for updating facts
2009-04-23 01:57:54 +09:00
Damien Elmes
f4997f328c
don't randomize on upgrade, will cause sync problems
2009-04-23 01:36:25 +09:00
Damien Elmes
35837ef213
mark cards modified when randomizing/ordering
2009-04-23 01:35:41 +09:00
Damien Elmes
ae7047f5af
add progress dialogs
2009-04-23 01:33:59 +09:00
Damien Elmes
fbf31d60da
new random handling
2009-04-23 01:25:42 +09:00
Damien Elmes
a6827b8dd7
check if modified in setvar()
2009-04-23 00:32:40 +09:00
Damien Elmes
19584bd642
don't dirty cards on sync
2009-04-22 21:57:25 +09:00
Damien Elmes
cd87adbe71
fix new count where cards are suspended, highlight type in blue too
2009-04-22 21:37:42 +09:00
Damien Elmes
bc8b7f45da
fix plural of suspended cards
2009-04-22 21:34:38 +09:00
Damien Elmes
09e158ac74
update card priorities after fact tags updated
2009-04-22 21:34:17 +09:00
Damien Elmes
3c9ad98a44
remove comma from delete tags
2009-04-22 18:10:54 +09:00
Damien Elmes
c8731bc49c
add mongolian translation from Charlene Barina
2009-04-20 23:46:43 +09:00
Damien Elmes
013f3d00a8
support * wildcard in normal text search too
2009-04-20 21:50:29 +09:00
Damien Elmes
5be89d13d7
bump version
2009-04-18 23:44:55 +09:00
Damien Elmes
c0b46ff994
mark cards modified when priority changed
2009-04-18 22:41:03 +09:00
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