Anki/anki
Damien Elmes 6ec898ca4b Require explicit reset for most queue-modifying functions
When you call operations like deleteCards(), suspendCards() and so on, it is
now necessary to call deck.reset() afterwards. This allows the calling code to
delay a reset if necessary. If the calling code calls a function that says the
caller must reset, the caller should be sure to call .reset() and fetch the
current card again. Failure to do the latter will result in answerCard()
attempting to remove the card from the queue, when the queue has been cleared.
2010-11-23 17:41:36 +09:00
..
importing Require explicit reset for most queue-modifying functions 2010-11-23 17:41:36 +09:00
__init__.py bump version for coming development release 2010-11-21 12:58:14 +09:00
cards.py more type handling updates; don't munge counts on sync 2010-11-13 18:39:24 +09:00
db.py remove string exceptions for python2.6 2010-06-10 13:24:46 +09:00
deck.py Require explicit reset for most queue-modifying functions 2010-11-23 17:41:36 +09:00
errors.py rename instance var to avoid deprecation warning 2009-04-29 15:28:13 +09:00
exporting.py more type handling updates; don't munge counts on sync 2010-11-13 18:39:24 +09:00
facts.py add a field cache for searching without html 2010-10-27 19:00:49 +09:00
fonts.py initial commit from hg 2008-09-27 23:50:03 +09:00
graphs.py don't include suspended cards in graphs 2010-11-14 07:37:51 +09:00
history.py fix reviewHistory table by rebuilding it 2009-03-15 07:27:44 +09:00
hooks.py allow arbitrary number of args in filters 2009-06-12 22:21:57 +09:00
lang.py translation patches from Piotr 2009-01-20 23:33:50 +09:00
latex.py python2.7/win32 fix for latex 2010-11-12 13:05:43 +09:00
media.py don't die when filename case is borked in media check 2010-08-16 19:28:45 +09:00
models.py document 'features' reuse, add tool to get var as string 2010-01-19 01:51:35 +09:00
sound.py avoid passing the second fade argument, as it seems to be more robust 2010-11-16 18:04:04 +09:00
stats.py more type handling updates; don't munge counts on sync 2010-11-13 18:39:24 +09:00
stdmodels.py strip all chinese/japanese support out in favour of plugins 2009-06-10 22:58:28 +09:00
sync.py Require explicit reset for most queue-modifying functions 2010-11-23 17:41:36 +09:00
tags.py don't create empty tags on export 2010-02-05 12:27:32 +09:00
utils.py marcus: handle html entities properly when stripping html 2010-10-27 20:12:00 +09:00