Damien Elmes
c79db601c6
typo
2011-02-14 03:22:08 +09:00
Damien Elmes
e9ec7f3649
don't escape remote image links
...
thanks to mark (mhl) for the report
2011-02-14 03:13:16 +09:00
Damien Elmes
f156f81a84
don't add a mature bonus when cramming
2011-02-09 00:36:16 +09:00
Damien Elmes
8828027729
when calculating next interval ensure we don't have a negative delay
2011-02-09 00:23:45 +09:00
Damien Elmes
8a1df1728f
rebuildTypes()
...
- ensure we're fixing relativeDelay for suspended cards
- remove priority compat code
2011-02-08 02:46:07 +09:00
Damien Elmes
07db17be88
off by one in relativeDelay sync code
2011-02-07 00:04:39 +09:00
Damien Elmes
ff38dad5b2
remove redundant code
2011-02-04 20:33:13 +09:00
Damien Elmes
1b027af439
bump version
2011-02-03 00:22:03 +09:00
Damien Elmes
340b5864c8
when deck is finished stop timeboxing timer
2011-02-03 00:18:42 +09:00
Damien Elmes
f3a336a4e4
when exporting a standard anki deck, don't put media in dropbox
2011-02-03 00:14:36 +09:00
Damien Elmes
b8e19d5506
don't copy media on export if disabled
2011-02-03 00:10:40 +09:00
Damien Elmes
1464394d58
when the day rolls over, update due cutoffs too, and rebuild queue
2011-02-02 23:52:34 +09:00
Damien Elmes
e49a9bb5ac
relative sibling spacing for reviews
...
Anki 1.0 had a similar feature but we do things a bit differently now. The
relative spacing applies only to reviews, and spaces cards according to their
interval, instead of spacing all cards the same. Any delay < 1 full day is
treated as no delay, so with the default 10% setting, reviews with an interval
< 10 days are not spaced at all. This should hopefully cut down on support
queries for people wondering why many of their cards were delayed, allows the
two settings to be documented separately, and does away with the somewhat
confusing usage of non-integer new sibling values to disable review spacing.
2011-02-02 23:47:58 +09:00
Damien Elmes
66e44f494b
don't update factor in cram, learn more, etc
2011-02-02 22:12:06 +09:00
Damien Elmes
338838583e
more last interval preservation into cram scheduler code
2011-02-02 22:10:44 +09:00
Damien Elmes
09e6e1bd65
fix media db check freezing interface if no media folder
2011-02-02 22:04:12 +09:00
Damien Elmes
9bf850c701
don't allow & in filenames as qt tries to escape them in a string
2011-02-02 18:44:49 +09:00
Damien Elmes
80bb59024c
utility for percent-escaping images
2011-02-02 18:36:58 +09:00
Damien Elmes
b426ad4271
fix html comments in translator's patch
2011-02-01 18:57:44 +09:00
Damien Elmes
04babfb102
if latex didn't run, prompt user to install
2011-01-31 13:00:11 +09:00
Damien Elmes
e0d5b9d69e
never set lastSync=0 when toggling syncing
...
we should rely on needFullSync() to determine whether a full sync is actually
necessary.
2011-01-30 15:31:29 +09:00
Damien Elmes
d362decca2
Merge https://github.com/ymasory/libanki
2011-01-30 12:46:13 +09:00
Yuvi Masory
b0b9cd2ce3
suppress indentation
2011-01-29 22:40:29 -05:00
Damien Elmes
ab9451253c
now all clients are updated, set delay1 = 0 if 600
2011-01-29 11:01:43 +09:00
Damien Elmes
eb0bb89f44
bump version
2011-01-27 08:13:10 +09:00
Damien Elmes
523adc468e
allow user to disable review spacing
2011-01-27 07:45:45 +09:00
Damien Elmes
be8eec52bc
make sure latex.py works indepent of gui
2011-01-26 15:06:51 +09:00
Damien Elmes
942307190e
catch duplicate tags in upgrade
2011-01-26 15:04:32 +09:00
Damien Elmes
ed5a8b0e3e
make sure created is reset
2011-01-26 14:36:45 +09:00
Damien Elmes
be3f32755e
new option for tz reset without unpack
2011-01-26 14:32:53 +09:00
Damien Elmes
744cf3b16c
don't create empty media folder in upgrade
2011-01-26 13:59:54 +09:00
Damien Elmes
6071f8e209
include latex in alt tags of generated image
2011-01-26 13:01:12 +09:00
Damien Elmes
b533c99375
typo in upgrade code
2011-01-24 09:07:47 +09:00
Damien Elmes
7a56e26be6
bump version
2011-01-22 07:36:10 +09:00
Damien Elmes
e042ef5e62
make the format upgrading smarter
2011-01-22 07:36:05 +09:00
Damien Elmes
c1d15b8a9e
clearer message when facts missing after sync
2011-01-21 11:02:07 +09:00
Damien Elmes
6860bba0de
ensure failed mature come at the start of the future day
...
- this fixes a state where cards failed on that future day could end up
with an earlier due date that the rest of the failed mature cards, leading
to the newly failed cards being repeated prematurely
- this leads to non-deterministic scheduling of the mature bonus fails, so
they are effectively randomized which is probably what most users want
2011-01-21 09:36:04 +09:00
Damien Elmes
4859778d2c
preserve old default card-level formatting
2011-01-21 06:41:34 +09:00
Damien Elmes
0e08092f65
disable callable replacement which isn't supported on older pythons
2011-01-20 05:32:30 +09:00
Damien Elmes
f945e60d6d
when renaming fields, look for the non-space version instead
2011-01-19 05:17:39 +09:00
Damien Elmes
0fc662a919
don't try to delete normalized version
2011-01-19 02:34:13 +09:00
Damien Elmes
bd7f5787cc
fix a bug with relativeDelay not being set on card answer
2011-01-19 01:18:27 +09:00
Damien Elmes
d57a371ca5
bump version
2011-01-18 04:33:16 +09:00
Damien Elmes
b8711fe853
fix win32 audio issue when temp dir has foreign chars
2011-01-18 02:22:55 +09:00
Damien Elmes
e55d4768a3
normalize for check, but not for db
2011-01-18 01:18:29 +09:00
Damien Elmes
98fb0f5bb9
apply selective study to review early
2011-01-17 01:36:19 +09:00
Damien Elmes
3d5a427f85
fix include&exclude tags case
2011-01-14 23:08:09 +09:00
Damien Elmes
0a9c498cbd
fix media db check on non-unicode dir
2011-01-14 22:50:03 +09:00
Damien Elmes
276ec634b9
ignore new cards in hiddenCards()
2011-01-14 19:03:02 +09:00
Damien Elmes
f7a813831c
don't error out if sound is missing on win32
2011-01-14 05:28:32 +09:00
Damien Elmes
ab5c1621e3
bump version
2011-01-14 02:54:53 +09:00
Damien Elmes
29a53b268f
strip qt's rtl marker
2011-01-14 00:31:07 +09:00
Damien Elmes
31df2fac01
work around osx decomposing files on HFS+ partitions. sigh.
2011-01-13 23:32:25 +09:00
Damien Elmes
eec317bfc3
work around mplayer on win32 not handling foreign characters
2011-01-13 21:27:35 +09:00
Damien Elmes
149fbee33e
fix new-style template replacement; support cond rendering
2011-01-13 20:00:35 +09:00
Damien Elmes
cdcde2f2d3
fix unicode warning when invalid template message given
2011-01-13 19:43:38 +09:00
Damien Elmes
9b7a55d964
remove some old indices
2011-01-13 19:21:40 +09:00
Damien Elmes
0b07707e68
make sure we don't try to send the queues when bundling deck
2011-01-13 07:55:39 +09:00
Damien Elmes
bef86bdbf3
make sure default font sizes are set on upgrade
2011-01-13 06:21:23 +09:00
Damien Elmes
5c0421b6e0
bump version
2011-01-13 05:54:41 +09:00
Damien Elmes
3fe6167d7f
Revert "temp hack to prevent latex generation on ankiweb"
...
This reverts commit a334f839b8 .
fixed on the server side now
2011-01-13 05:25:20 +09:00
Damien Elmes
fdd88080c8
work around ankidroid getbool bug
2011-01-13 05:25:05 +09:00
Damien Elmes
3f5befc2e7
don't alter lastSync on upgrade
2011-01-13 04:20:37 +09:00
Damien Elmes
a334f839b8
temp hack to prevent latex generation on ankiweb
2011-01-12 20:36:12 +09:00
Damien Elmes
175f3f0a0e
bump version
2011-01-12 16:31:02 +09:00
Damien Elmes
46a441fc0b
remove obsolete bulk fetching
2011-01-10 19:26:43 +09:00
Damien Elmes
c534362071
bump version
2011-01-10 19:02:33 +09:00
Damien Elmes
9af5d4d5ed
apply limit to new card count
2011-01-10 18:58:59 +09:00
Damien Elmes
87ffbedf16
remove unused clause in earliestTime()
2011-01-09 15:23:09 +09:00
Damien Elmes
2ca1627add
use cardLimit() in cardsDueBy(), not just earliestTime()
2011-01-09 15:13:33 +09:00
Damien Elmes
82231a71b2
bump version
2011-01-07 21:43:13 +09:00
Damien Elmes
7cb17e6e8d
restart mplayer if it's died
2011-01-07 21:42:24 +09:00
Damien Elmes
2ca27d389f
fix local syncing
2011-01-07 13:35:15 +09:00
Damien Elmes
2e2d93649e
bump version
2011-01-06 14:24:30 +09:00
Damien Elmes
1f34abc003
more fixes for skewed clocks
...
if a client with a clock greater than server time synced a deck, the modified
time ended up higher than lastSync when the deck was modified on the server.
instead we force the modified time to be <= the server time, which is known
correct.
2011-01-04 15:51:24 +09:00
Damien Elmes
d717be8849
move to a thread event to fix race condition
...
The old conditional objects had a problem where the calling code was
notifyAll()ing before the helper threads had started waiting.
2011-01-04 12:32:33 +09:00
Damien Elmes
3a7f8fdc7a
change win32 mplayer testing location
2011-01-04 11:59:24 +09:00
Damien Elmes
33cbbdc368
bump version number
2011-01-03 13:46:27 +09:00
Damien Elmes
5a9c75dfe4
don't stop audio playing on clear
2011-01-03 13:01:05 +09:00
Damien Elmes
a4df210667
add group_concat compat code from wm port
2011-01-02 22:17:34 +09:00
Damien Elmes
545c2cddcd
bump version
2011-01-02 19:25:27 +09:00
Damien Elmes
b235461d8b
space cards to next session if per-day off
2011-01-02 17:43:53 +09:00
Damien Elmes
b45f071581
option to limit graphs to selective study
2011-01-02 17:36:11 +09:00
Damien Elmes
329ab99ff7
add seen card count back for plugins
2011-01-02 13:05:18 +09:00
Damien Elmes
d56bddea2d
refactor sound code
...
this addresses a bug where mplayer was sometimes not being restarted when
opening a new deck, and should remove the need for atexit or hacks in the GUI
code to make sure mplayer is closed
2010-12-28 03:53:30 +09:00
Damien Elmes
ece9b2eccd
don't limit failed cards to 0 when cramming
2010-12-27 21:39:20 +09:00
Damien Elmes
a18abb0f97
add timestamp to recording files
2010-12-27 04:32:25 +09:00
Damien Elmes
6f10c588f6
bump version number
2010-12-27 03:01:39 +09:00
Damien Elmes
a2606dd70a
remove some unused calls
2010-12-26 07:35:20 +09:00
Damien Elmes
9890c77514
update finished screen to use blanket inactive/suspended msg
2010-12-26 07:29:31 +09:00
Damien Elmes
856839e055
include reviews in spaced card count; bold text
2010-12-26 06:01:24 +09:00
Damien Elmes
63106578cd
don't decrement due counts when spacing
...
This works fine if the user is showing all cards, but if they have limited
reviews to certain categories, it can result in the counts going negative
because we decremented for cards which weren't actually due. Determining if a
card was actually due or not is an expensive operation, so instead we leave
the counts alone and make sure reviews will finish early if the new/rev counts
are non-zero but the queue is empty.
2010-12-26 05:54:05 +09:00
Damien Elmes
93a67931da
bump version number
2010-12-25 12:49:31 +09:00
Damien Elmes
ff5bc72121
pass in a 0 timediff if using stock sync()
2010-12-25 12:43:35 +09:00
Damien Elmes
f0bf1989bc
new code to download remote links and replace with local ones
2010-12-25 12:42:28 +09:00
Damien Elmes
50622a3127
encode latex after everything else
2010-12-22 08:06:44 +09:00
Damien Elmes
61812b173d
mention syncing disabled case
2010-12-21 23:58:36 +09:00
Damien Elmes
ee7da2bd65
update comment
2010-12-21 06:41:42 +09:00
Damien Elmes
afa34d9d39
bump version
2010-12-21 01:45:17 +09:00
Damien Elmes
425789535f
don't trim whitespace in sections
2010-12-20 00:37:16 +09:00