Commit Graph

36 Commits

Author SHA1 Message Date
Damien Elmes
ac81fefc14 add note about being an alpha 2017-06-14 11:59:58 +10:00
Illia Volochii
13b7e01044 Stop inheriting from object
It is not needed in Python 3.
2017-02-07 00:21:33 +02:00
Damien Elmes
b56ca60d2f remove mac setLibraryPaths() call 2016-12-16 21:20:08 +10:00
Damien Elmes
6377dd161f fix mesa driver being loaded on nvidia driver machines 2016-08-01 12:16:06 +10:00
Damien Elmes
6a109caa7c dialogs.open() needs to un-minimize as well 2016-07-18 13:02:21 +10:00
Damien Elmes
34b95514b5 import anki earlier so we can catch invalid python version 2016-06-22 14:42:41 +10:00
Damien Elmes
de7e40537d port majority of code to qt5.5+
- a few issues to work out still, and editor changes not done yet
- for communication between webengine and python code, we set window
.location to 'http://anki/<something>' - the leading http is
necessary for qt to call the link handler, which was introduced
in qt5.5
- the designer files now use a promoted qobject to create instances
of AnkiWebView
- we use the css zoom property to alter webengine font size based on
system dpi
- prefs and addons folder stored in new location (at least for now)
2016-05-31 18:51:40 +10:00
Damien Elmes
15b349e3a8 start port to python 3
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Damien Elmes
346dfe1c7f start new instance if existing instance hung 2014-08-26 15:25:22 +09:00
Julien Baley
ee55d3e96c Do not ignore the state of a window when opening it 2014-07-13 18:42:18 +01:00
Damien Elmes
760e16dfbf catch more startup errors 2014-07-07 10:41:56 +09:00
Damien Elmes
41a5f4eb4e work around a font issue on osx10.9 2013-10-26 10:53:27 +09:00
Damien Elmes
184ea3503a use file system encoding for cmdline args
thanks to to wlhunag for the initial patch!
2013-10-21 09:22:14 +09:00
Damien Elmes
0f7000db83 refactor second instance detection
- get rid of shared memory check as it was causing problems when an existing
  session was forcefully closed; instead we rely on the socket
- include a hash of the user's name in the key so that multiple users can run
  anki at the same time
2013-10-04 07:37:19 +09:00
Damien Elmes
3d33436a86 move version number into libanki 2013-10-02 03:50:19 +09:00
Damien Elmes
ed5df2b251 bump version 2013-07-24 01:05:06 +09:00
Damien Elmes
1a9ef3734e bump version 2013-06-14 13:15:18 +09:00
Damien Elmes
b71282ea0b bump version 2013-06-12 11:22:27 +09:00
Damien Elmes
55ca4b42bb bump version 2013-06-03 17:53:01 +09:00
Damien Elmes
e367d04a08 print to console when existing copy running 2013-05-17 14:32:57 +09:00
Damien Elmes
47e7f28779 make sure windows that are minimized are restored (#853) 2013-05-14 21:18:30 +09:00
Damien Elmes
fc2c772115 more qt5 mac fixes
- workaround for -psn_0 being passed in
- use fusion if plastique missing
2013-04-16 19:54:23 +09:00
Damien Elmes
ce9e09d4c5 changes for qt5 on mac
- setShown() -> setVisible()
- qt_mac_set_menubar_icons() no longer exported, use alternative method
2013-04-15 13:46:07 +09:00
Damien Elmes
0994bd332c cancel sync if user elects to keep unsaved card content (#705) 2013-04-11 19:23:32 +09:00
hut
370fd6507d move parseArgs to the top of aqt.run()
By placing argument parsing at the top, we skip starting up all the QT
stuff when using options like --help or --version that cause the program
to exit anyway.
2013-02-21 20:55:37 +01:00
hut
4dc60e4f1e added --version option
Every program should have this, really.
2013-02-21 20:54:13 +01:00
Damien Elmes
295723ee8f bump version 2013-02-11 06:05:43 +09:00
Damien Elmes
bfeafe29d9 bump version 2013-01-29 10:05:51 +09:00
Damien Elmes
6c97ab3508 allow qt4.6 with a warning 2013-01-29 09:02:58 +09:00
Damien Elmes
14397e31e8 bump version 2013-01-23 15:30:33 +09:00
Damien Elmes
23650f6ee0 bump version 2013-01-15 08:51:14 +09:00
Damien Elmes
ba23d7eb7b bump version 2013-01-08 11:05:19 +09:00
Damien Elmes
32288a1bf6 bump version 2012-12-22 19:42:32 +09:00
Damien Elmes
b2457811a2 optimize imports 2012-12-22 09:17:10 +09:00
Damien Elmes
1f1fa125f0 fix i18n on linux install 2012-12-21 18:04:26 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00