1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

22 Commits

Author SHA1 Message Date
Jonathan Harris
929bd82684 Allow executable and plugins to be run from non-ASCII paths
Fixes #234
2017-08-19 16:03:39 +01:00
Jonathan Harris
a2ce9da44e Revert "Don't generate .pyc/.pyo files for plugins"
since this breaks __file__ for the plugin. Document removal of .pyc/.pyo files instead.

Reverts b8d252a.
2017-08-17 10:11:55 +01:00
Jonathan Harris
b8d252ae25 Don't generate .pyc/.pyo files for plugins 2017-08-16 19:27:40 +01:00
Jonathan Harris
b206015eef Put plugins and strings in their own folders in packaged app
Load plugins with name 'plugin_*' in order to not pollute the global namespace.

Addresses #230
2017-08-16 14:36:12 +01:00
Jonathan Harris
5e5ac2db31 Log plugin's load path
Fixes #232
2017-08-16 14:06:16 +01:00
Jonathan Harris
8bc117ff32 Allow plugins to show error in status area asynchronously 2017-08-13 18:34:23 +01:00
Jonathan Harris
91ee6f3722 Notify plugins on program closing 2017-08-13 18:34:23 +01:00
Jonathan Harris
c8ff0a9701 Continue to call plugin callbacks if earlier one fails 2017-08-13 15:21:02 +01:00
Jonathan Harris
d223770af8 Add plugins' folders to sys.path again.
Was broken by 084128e.
2017-08-02 09:05:31 +01:00
Jonathan Harris
60ad3b4c09 Inform plugins of Cmdr and Beta status
Notify plugins when Cmdr or Beta status changes while the preferences dialog
is open.

Display a note on the Credentials tab when Cmdr is not set. Addresses #224
2017-07-29 15:36:43 +01:00
Jonathan Harris
084128e797 Add support for internal plugins
Settings tab shows current plugins.
2017-07-29 14:41:59 +01:00
Jonathan Harris
5797af8861 Add plugins' folders to sys.path 2017-06-24 00:41:40 +01:00
Jonathan Harris
1e51d2f29b Add interaction() plugin callback
Fixes #220
2017-06-18 02:32:25 +01:00
Jonathan Harris
7ebd71b127 Tidy 2017-06-12 01:04:41 +01:00
Jonathan Harris
320b1977c2 Fix loading plugins from non-ASCII paths
Workaround for http://bugs.python.org/issue9425
Fixes #219
2017-06-12 00:59:30 +01:00
inb
bc657f55fe Add a tab to the Settings dialog. Users can directly open the plugins folder. Can also disable plugins by adding ".disabled" to the end of their folder name. 2017-04-25 08:41:02 +01:00
Jonathan Harris
9c6b9e71f7 Share monitor state with plugins 2017-03-01 01:25:51 +00:00
Jonathan Harris
3ad8322e70 Plugin enhancements
- New callback notify_prefs_changed
- Plugin can set settings tab name
- Plugin can return a pair of widgets for display in main window - typically (label, status)
2016-11-14 02:07:18 +00:00
Jonathan Harris
4583f0e316 Monitor the journal file and send events to EDDN
Sends 'FSDJump', 'Docked' and 'Scan' events in draft
http://schemas.elite-markets.net/eddn/journal/1 format.
2016-09-16 17:47:53 +01:00
Jonathan Harris
c5e50240b0
Get system coordinates from 1.6/2.1 netlog 2016-06-04 02:42:57 +01:00
Jonathan Harris
b3d585693e Load plugins from outside the source tree.
So that plugins work with the packaged app on Windows and Mac.
2016-01-09 18:27:02 +00:00
Ian Norton
477e60a64f plugin support for EDMC 2016-01-09 18:27:01 +00:00