Commit graph

68 commits

Author SHA1 Message Date
Damien Elmes
8a4fbcc430 unbury in deckbrowser, not deckduelist() (#946) 2013-08-08 15:19:57 +09:00
Damien Elmes
5ea074ed2a make sure we always show 3 buttons for cards in initial learning (#928)
even if there's only a single learning step, the easy bonus means we need to
show both buttons
2013-07-11 17:59:44 +09:00
Damien Elmes
56143c346a fix graph regression caused by div changes (#913) 2013-07-03 04:06:44 +09:00
Damien Elmes
d72fb35825 need to order cards after import for sibling spacing (#464) 2013-05-22 13:16:12 +09:00
Damien Elmes
201b54777a leave new cards alone when exporting, so order is preserved (#447) 2013-05-17 16:22:11 +09:00
Damien Elmes
403a53cebf shuffle after importing when random on (#576) 2013-05-16 21:55:57 +09:00
Damien Elmes
a7b9a7b055 fix bug where 2 buttons shown on second learn step (#864) 2013-05-16 17:10:31 +09:00
Damien Elmes
e06594a303 fix rescheduling of relearn cards (#874)
- need to reset 'odue'
- also need to reset 'due' so the new cards don't take on - timestamp
  positions
2013-05-16 16:36:37 +09:00
Mike Blume
dcf097b55f use futuristic division
Python used to use C-style division, where division of two ints was
truncated, and division involving a float resulted in a float.

This is confusing, because you often can't tell from looking at a
line of code in isolation what sort of division it's supposed to do.

With 'from __future__ import division' Python ensures that division is
always explicit.

// means (floored) integer division
/ means float division

regardless of argument types.

This should make the source a bit clearer now, as well as removing one
obstacle if Anki is ever ported to Python 3.
2013-05-05 11:09:16 -07:00
Damien Elmes
3de7b34fc6 must remove from lrn queue before resched as rev (#668) 2013-02-20 14:47:30 +09:00
Damien Elmes
71bc925e8b show (end) when exiting with resched=off 2013-02-01 00:25:01 +09:00
Damien Elmes
cb1485d18b when reapplying fail mult, ensure minInt (#552) 2013-01-23 15:30:11 +09:00
Damien Elmes
aefc58d5d5 we must remove cards from learning queue on bury
or they end up with an invalid status when unburied

https://anki.lighthouseapp.com/projects/100923/tickets/484-cant-sync
2013-01-15 05:38:40 +09:00
Damien Elmes
26ae5e1c47 spread reviews before sibling check 2012-12-22 12:36:51 +09:00
Damien Elmes
b2457811a2 optimize imports 2012-12-22 09:17:10 +09:00
Damien Elmes
e27cbd2cb7 reapply failure mult on failures in lrn queue 2012-12-22 07:32:49 +09:00
Damien Elmes
f6ff63eeb8 earlier fix for logging new in filt broke logging of non-new in filt 2012-12-21 20:30:08 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00