Anki/anki
Damien Elmes f74d9b68fe trigger the db progress handler after more operations
We originally were triggering on 100 opcodes, because at the time we were
doing write-heavy alterations to the DB for inactive tags, and a higher level
of opcodes would pause the interface for a long time. The query structure is
different now, so we can afford to save the overhead of more frequent calls.

With the change, a .reset() triggers the handler 3 times; fixIntegrity()
triggers it 30 times over a period of 4.5 seconds.
2011-04-28 09:23:55 +09:00
..
importing implement field cache, fix unit tests, remove some importers 2011-04-28 09:23:54 +09:00
template disable callable replacement which isn't supported on older pythons 2011-01-20 05:32:30 +09:00
__init__.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
cards.py add genCards(), previewCards(), and more unit tests 2011-04-28 09:23:54 +09:00
consts.py implement sort fields; make sure they're updated on upgrade 2011-04-28 09:23:54 +09:00
cram.py start work on learn mode, change models, more 2011-04-28 09:23:28 +09:00
db.py trigger the db progress handler after more operations 2011-04-28 09:23:55 +09:00
deck.py trigger the db progress handler after more operations 2011-04-28 09:23:55 +09:00
errors.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
exporting.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
facts.py fact.model -> fact.model() 2011-04-28 09:23:54 +09:00
find.py change field storage format, improve upgrade speed 2011-04-28 09:23:53 +09:00
graphs.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
groups.py ints makes no sense in the context of failed cards; tweak learn code 2011-04-28 09:23:54 +09:00
hooks.py updateCache -> renderQA, move some functions around 2011-04-28 09:23:54 +09:00
lang.py remove self explanatory module docstrings; strip trailing whitespace 2011-04-28 09:21:07 +09:00
latex.py remove q/a cache, tags in fields, rewrite remaining ids, more 2011-04-28 09:23:53 +09:00
media.py updateCache -> renderQA, move some functions around 2011-04-28 09:23:54 +09:00
models.py add genCards(), previewCards(), and more unit tests 2011-04-28 09:23:54 +09:00
sched.py fix integrity check, move dynamic indices into scheduler 2011-04-28 09:23:54 +09:00
sound.py remove self explanatory module docstrings; strip trailing whitespace 2011-04-28 09:21:07 +09:00
stats.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
stdmodels.py convert templates to a json object, and replace tid with ord 2011-04-28 09:23:54 +09:00
storage.py fix integrity check, move dynamic indices into scheduler 2011-04-28 09:23:54 +09:00
sync.py remove q/a cache, tags in fields, rewrite remaining ids, more 2011-04-28 09:23:53 +09:00
utils.py more checksum work 2011-04-28 09:23:54 +09:00