Commit Graph

821 Commits

Author SHA1 Message Date
Damien Elmes
99d82c1f2d fix hasIllegal check, and associated unit test 2013-11-26 03:19:11 +09:00
Damien Elmes
6ed971cb6b we need to retry when we get BadStatusLine
this is caused by the http keep alive being closed by the server
2013-11-26 02:43:59 +09:00
Damien Elmes
d506515564 wher resizing columns in browser, move others 2013-11-23 18:45:17 +09:00
Damien Elmes
fb8cb34532 fix clayout switching back to original tab when flipping 2013-11-18 10:29:40 +09:00
Damien Elmes
ae8074ec01 make sure we reset odue when rescheduling as new
if we fail to do this for a relearning card, it sticks around
until it causes problems later
2013-11-17 16:03:58 +09:00
Damien Elmes
4bf63b6ad0 bump version 2013-11-14 14:41:31 +09:00
Damien Elmes
0389eebc43 ask people to check media when media sanity occurs 2013-11-14 12:12:37 +09:00
Damien Elmes
8812472b53 catch "no such file or directory" error when connecting with no net
soren reports it happening on his computer; can't repro it here

also make sure exception is always converted to string in reliable way
2013-11-14 11:14:21 +09:00
Soren I. Bjornstad
294f177152 Merge branch 'master' of https://github.com/dae/anki 2013-11-13 10:34:51 -06:00
Damien Elmes
f6b9dadf13 catch invalid file encodings in media check & sync 2013-11-13 17:19:25 +09:00
Damien Elmes
75f87201a2 rotate log file when it hits 10MB 2013-11-13 17:00:20 +09:00
Damien Elmes
9334bc37fa log media sanity 2013-11-13 16:54:25 +09:00
Damien Elmes
853faa90cd don't bother logging sortCards() 2013-11-13 16:51:40 +09:00
Damien Elmes
c3300f733a make sure we don't 'fix' req for cloze type 2013-11-13 16:49:49 +09:00
Damien Elmes
ef9157a8ee don't open log for export or upgrade, only regular+sync 2013-11-13 16:48:22 +09:00
Damien Elmes
9f548ad85a recover from a corrupt prefs.db that fails to load at all 2013-11-13 15:29:50 +09:00
Damien Elmes
9c678c32ad further simplify augmented httplib2 conn_request 2013-11-13 15:15:03 +09:00
Damien Elmes
927e618f53 disable plastique theme on osx as possible crash fix 2013-11-13 14:56:37 +09:00
Damien Elmes
1df385db12 cards must be removed from filtered decks before they're buried
if not, removeLrn() resets due=odue and odue=0, leading to an invalid
delay calculation when they're later reviewed in the filtered deck

to fix this we'll need to make the same changes required to support
learning cards retaining their state when being emptied from a
filtered deck
2013-11-13 09:06:48 +09:00
Damien Elmes
d7e452de1f fix note types with missing reqs 2013-11-13 08:33:54 +09:00
Soren I. Bjornstad
69d7e10e7d Merge branch 'master' of https://github.com/dae/anki 2013-11-09 17:11:33 -06:00
Damien Elmes
db77c8c80b make sure simplejson always returns unicode 2013-11-10 04:57:15 +09:00
Damien Elmes
3dbc6fa0dd strip out buggy retry code
it assumed there'd be at least one retry, and was trying to return
response that was initialized
2013-11-08 01:14:49 +09:00
Damien Elmes
be81d282ac catch temp folder issue when importing 2013-11-07 21:57:23 +09:00
Soren I. Bjornstad
f491d79d28 Merge branch 'master' of https://github.com/dae/anki 2013-11-04 16:13:14 -06:00
Damien Elmes
5dfe95aa67 move debug logging into libanki
we want to be able to log the initial automatic sync, which
happens before the debug logging was set up in ankiqt

also skip the flush, as it should eventually get written
2013-11-04 23:04:27 +09:00
Damien Elmes
2e22b6218b don't close log on profile close
we want the log to stick around for syncs, and if the user
changes to another profile the log will be closed then
2013-11-04 06:35:30 +09:00
Damien Elmes
1d2ef1dbfb seeking on win32 is slow, so keep file handle around 2013-11-03 18:39:03 +09:00
Damien Elmes
433f2b06f9 make sure suspended/buried cards are reset on export too 2013-11-03 16:12:43 +09:00
Soren I. Bjornstad
16f54c98dd Merge branch 'master' of https://github.com/dae/anki 2013-11-01 08:10:10 -05:00
Damien Elmes
6d69c5e292 bump version 2013-11-01 18:19:30 +09:00
Damien Elmes
1f3a57104c fix new cards not being shown in new order 2013-11-01 17:32:02 +09:00
Damien Elmes
32147b2d76 buggy i18n def 2013-11-01 03:09:20 +09:00
Damien Elmes
e5d7a69631 fix an issue where non-new cards were not reset on export
only happened for cards in a filtered deck
2013-10-30 23:28:52 +09:00
Damien Elmes
d8149910eb don't terminate review abruptly when sibs removed from queue 2013-10-30 23:07:21 +09:00
Damien Elmes
3348b091d0 tweak logging
- log only sched getCard(), not all getCard calls
- don't log sched.today unless it's changed
2013-10-30 22:42:32 +09:00
Damien Elmes
5f0ef85044 fix reversed check in media 2013-10-30 21:10:25 +09:00
Damien Elmes
41a5f4eb4e work around a font issue on osx10.9 2013-10-26 10:53:27 +09:00
Damien Elmes
04ff4cc3fc make 's' translatable in stats
thanks to "lumininous spice" for the heads up
2013-10-26 10:53:15 +09:00
Soren I. Bjornstad
5be945ec05 Merge branch 'master' of https://github.com/dae/anki 2013-10-25 16:38:10 -05:00
Damien Elmes
330e991d7d bump version 2013-10-23 18:58:00 +09:00
Damien Elmes
013f879d4e support cid:<card id> search 2013-10-23 18:57:22 +09:00
Damien Elmes
1fe04a29b2 change env var name 2013-10-23 16:04:44 +09:00
Soren I. Bjornstad
2339f4bafc Merge branch 'master' of https://github.com/dae/anki 2013-10-22 07:34:46 -05:00
Damien Elmes
82a54c780f catch invalid temp folder and other tweaks
- tweak sync code so that a failure in loading the collection
  won't leave the app with an unopen collection
- don't show corrupt collection message when the error is not
  a db error
- catch the temp folder issue when loading the collection. i suspect
  this was the issue that was causing some people to end up with
  an open anki instance with no collection loaded
2013-10-22 15:30:53 +09:00
Damien Elmes
553a908839 skip startup sync when restoring from backup 2013-10-22 14:57:56 +09:00
Damien Elmes
a9c9452271 bury card option 2013-10-22 14:28:45 +09:00
Damien Elmes
004998c8ec env var to skip expensive closing during dev 2013-10-22 14:28:17 +09:00
Damien Elmes
cf51f33c66 add separate is:buried and use with filtered deck 2013-10-22 14:20:31 +09:00
Damien Elmes
f8985c036c Merge pull request #47 from Derbeth/master
Fixing the translation in the warning about system clock
2013-10-21 01:04:52 -07:00