Damien Elmes
1d2afd1ab3
make sure .db is initialized at start of profiles init
...
fixes
File "aqt/profiles.pyc", line 253, in _loadMeta
File "aqt/profiles.pyc", line 234, in recover
AttributeError: 'ProfileManager' object has no attribute 'db'
2014-08-09 12:50:32 +09:00
Soren I. Bjornstad
9e69da6c9a
use Documents/Anki (in English) if no DocumentsLocation
...
Otherwise it gets created directly in the home folder, which is
confusing when you would expect that only to happen on older installs
which previously used it.
2014-07-22 11:22:06 -05:00
Damien Elmes
1099b743b7
yet another file locking bug: must close prefs.db before moving
2014-07-07 13:18:00 +09:00
Damien Elmes
bbefeb0cfd
make sure we don't rename to existing prefs.db.broken
2014-07-07 10:47:57 +09:00
Soren I. Bjornstad
8e2b653bd0
make path to documents folder translatable
2014-07-03 14:46:34 -05:00
Soren I. Bjornstad
0c937074eb
prevent profiles from getting out of sync when rename fails
...
If there is an error in renaming the folder, don't write the new profile
name to the database.
2014-06-28 11:31:02 -05:00
Soren I. Bjornstad
4619933e7e
change default Anki folder location on Linux to Documents/Anki
...
(leave in ~/Anki for existing installs)
2014-06-26 10:55:45 -05:00
Soren I. Bjornstad
9ac6ac4d2b
Merge branch 'windows-case-fix'
2014-06-24 15:30:32 -05:00
Soren I. Bjornstad
a2eb5a09c3
allow changing case of profile name on Windows
2014-06-24 15:28:32 -05:00
Soren I. Bjornstad
50e0d0b811
better message when Anki can't create a profile folder
2014-06-20 10:00:44 -05:00
Damien Elmes
8fecf53c3b
use qdesktopservices on qt5+pyqt4
2014-03-06 09:03:52 +09:00
Damien Elmes
4b217664aa
confirm interface language selection on first startup
2014-01-14 14:40:45 +09:00
Damien Elmes
1f05392113
change default import mode to ignore updates
2013-11-26 18:19:54 +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
99c90b929b
warn when prefs.db corrupt and catch another case
2013-07-18 18:59:14 +09:00
Damien Elmes
aa0cac1ed3
send to trash when deleting profile
2013-05-23 14:03:21 +09:00
Damien Elmes
0afce5f19a
support unc pathnames again
...
Turns out that WebKit does support UNC pathnames in the base tag, but it is
picky about the leading number of slashes.
2013-05-17 14:12:59 +09:00
Damien Elmes
ce99114dc3
more robust desktop location detection
2013-05-12 17:24:01 +09:00
Damien Elmes
616e731e34
when given base on cmdline, get abspath
2013-03-12 09:24:46 +09:00
Damien Elmes
d05331d31c
if global profile can't be loaded, start with new prefs.db
2013-02-15 08:59:44 +09:00
Damien Elmes
df961cc509
remember import mode
2013-01-08 10:32:41 +09:00
Damien Elmes
be7b293b15
remember allowHTML setting
2012-12-22 13:18:28 +09:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00