Commit graph

34 commits

Author SHA1 Message Date
Damien Elmes
bc87e23e02 fix profile renaming 2012-09-06 02:24:41 +09:00
Damien Elmes
828c3583b2 refuse to rename if folder exists 2012-08-23 19:26:46 +09:00
Damien Elmes
fde7db2d14 refuse to run on a unc drive 2012-08-01 12:12:09 +09:00
Damien Elmes
bc758220a7 importing from the command line
- a file path provided on the command line now will now trigger the import
  process
- if anki was already running on win/lin, send the import to that process
- if no profile was open, wait until profile opened before importing
- don't do that for password-protected profiles, as it could be used abusively
  in a school environment
- drop the old pid-based instance check
2012-07-28 13:01:41 +09:00
Damien Elmes
f7b41a11f6 make sure we write profile README in utf8 2012-07-28 11:13:34 +09:00
Damien Elmes
37cc94c2fa tweak README to avoid i18n warning 2012-06-03 20:27:32 +09:00
Damien Elmes
97b645a7a0 add readme to base folder explaining folder moving 2012-05-27 14:44:53 +09:00
Damien Elmes
064803bce7 overhaul font handling
- set the default webview font to the system font
- remove explicit font size settings in favour of the default
- remove card list size customization in favour of the default
2012-05-26 20:28:30 +09:00
Damien Elmes
cf7ed9ea2f handle proxy config in libanki 2012-05-22 14:14:59 +09:00
Damien Elmes
d143a50358 platform-specific proxy pickup 2012-05-22 13:39:23 +09:00
Damien Elmes
a134338f5a fix custom proxy support 2012-05-20 18:29:11 +09:00
Damien Elmes
8d60bcaf05 fix pid detection on windows 2012-05-14 04:59:21 +09:00
Damien Elmes
b1ba96d517 add option to paste as pngs; compress pngs 2012-05-04 15:32:13 +09:00
Damien Elmes
18d671c3a3 getdefaultlocale() can fail 2012-05-02 11:54:16 +09:00
Damien Elmes
c3c9156fdb allow non-latin chars in profile names 2012-04-24 05:05:23 +09:00
Damien Elmes
74a092d9b1 move more startup routines after lang initialization 2012-04-23 01:55:47 +09:00
Damien Elmes
830d8ead25 add lastColour to profile 2012-04-22 10:54:49 +09:00
Damien Elmes
803e3059c7 simplify colour handling
Instead of maintaining a list of recent colours, remember last colour and
provide the option of picking a different colour, like in MS Word/LibreOffice.
2012-04-22 10:25:30 +09:00
Damien Elmes
d919615475 refactor language handling
Because Qt translations need to be initialized before any widgets are created,
and because the Qt language needs to match the gettext language in order for
translated shortcuts to work, per-profile language settings aren't possible.
So instead of storing the language in the profile, we use
pm.meta['defaultLang'] for all profiles and initialize language handling in
__init__.py

The language selection in the preferences has been removed, because in a
school setting a student fiddling with the language could potentially cause
other students to be unable to navigate the UI. Instead, Anki will accept
-l/--lang passed on the command line to override the original language chosen
at first program startup.
2012-04-18 03:06:56 +09:00
Damien Elmes
0f483a6f59 use global language for profile manager 2012-04-17 17:41:13 +09:00
mikem
60538f7c5c fixed: rename was creating a new empty folder causing the folder rename to fail 2012-01-31 03:25:28 +09:00
Damien Elmes
65072ad43c profile renaming 2012-01-17 11:18:48 +09:00
Damien Elmes
4fd1da00fd use a platform-specific font 2012-01-11 14:44:50 +09:00
Damien Elmes
569b903cdc move collection options into preferences 2011-12-10 23:41:33 +09:00
Damien Elmes
279c40b5f5 implement prefs window 2011-12-09 00:41:31 +09:00
Damien Elmes
08134c2462 implement addons 2011-12-08 04:38:47 +09:00
Damien Elmes
6148a28bfb make sure we autosync on collection close 2011-12-08 02:32:44 +09:00
Damien Elmes
b025eb9983 add auto optimiziation on close 2011-12-08 01:42:14 +09:00
Damien Elmes
681c8dea9f add autosync flag, make sure we close col windows on sync 2011-12-08 00:31:04 +09:00
Damien Elmes
e03b51fae8 option to disable media sync 2011-12-04 14:01:22 +09:00
Damien Elmes
2c45091367 ensure only one instance running at once 2011-12-03 19:13:39 +09:00
Damien Elmes
a1a7e7341c upgrade wizard and first startup language selection dialog 2011-11-25 15:08:41 +09:00
Damien Elmes
7c68b58d44 profile gui, new deck browser 2011-11-24 18:42:06 +09:00
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00