1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

47 Commits

Author SHA1 Message Date
Jonathan Harris
092dda84f5 More docs for dashboard_entry() 2018-06-15 09:43:02 -05:00
Jonathan Harris
9265646a38 Correct dashboard example 2018-06-15 09:11:23 -05:00
Jonathan Harris
a442d2cd14 Extend localisation support to plugins 2018-05-12 20:50:45 +01:00
Jonathan Harris
fa3cf23c09 Load any plugins that are also packages first
Addresses #313
2018-04-26 18:53:29 +01:00
Jonathan Harris
f42d5d7af6 plugin_app() can return None
so it can be used as a callback after the main window and all other plugins are initialised.
2018-04-02 13:03:39 +01:00
Jonathan Harris
0b0ac162e1 Add dashboard constants 2018-02-27 19:47:54 +00:00
Jonathan Harris
9c8c9e8e83 Correct dashboard_entry() docs 2018-02-27 02:01:45 +00:00
Jonathan Harris
75edff5fc3 Rename plugin callback to dashboard_entry 2018-01-30 00:11:49 +00:00
Jonathan Harris
a081b6b637 Monitor player status, and call new "status" plugin callback 2018-01-29 01:36:14 +00:00
Jonathan Harris
95f96c1c03 Send "ShutDown" event to plugins on quitting to Main Menu 2017-12-03 17:14:18 +00:00
Jonathan Harris
d763e5931a Correct config examples
config.get() never returns int for consistency across platforms.
Fixes #271
2017-12-03 12:46:45 +00:00
Jonathan Harris
f65d2623ac Send ShutDown event on game close 2017-11-26 14:25:38 +00:00
Jonathan Harris
e3323f8f6f Drop support for interaction log 2017-11-24 08:59:50 +00: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
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
7a7cfa9de7 Tweaks 2017-07-31 22:55:46 +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
e11224ea27 Add l10n.Locale object
Provides stringFromNumber() and numberFromString()
2017-07-29 15:36:42 +01:00
Jonathan Harris
6c640ea7fe Formatting 2017-07-05 10:40:54 +01:00
Jonathan Harris
a77ce12849 Tidy 2017-07-02 09:34:34 +01:00
Jonathan Harris
5797af8861 Add plugins' folders to sys.path 2017-06-24 00:41:40 +01:00
Jonathan Harris
53f225a01c Typo 2017-06-20 12:30:58 +01:00
Jonathan Harris
1e736fe066 Document use of interaction 'Epoch' 2017-06-19 14:31:39 +01:00
Jonathan Harris
1e51d2f29b Add interaction() plugin callback
Fixes #220
2017-06-18 02:32:25 +01:00
Jonathan Harris
df67fba10c Typo 2017-05-02 10:44:59 +01:00
Jonathan Harris
cf2aaed37d Document error log file. 2017-05-02 00:42:25 +01:00
inb
26e7398805 update PLUGINS.md doc 2017-04-25 08:48:28 +01:00
Jonathan Harris
123ecd922e Tidy up 2017-03-01 01:32:05 +00:00
Peter Magnusson
1ca13a85e1 Update PLUGINS.md (#184) 2017-03-01 01:26:38 +00:00
Jonathan Harris
9c6b9e71f7 Share monitor state with plugins 2017-03-01 01:25:51 +00:00
Jonathan Harris
22de16e505 Generate StartUp monitor event on joining live game 2017-03-01 01:25:50 +00:00
Jonathan Harris
0625ed1d49 Fix documentation of prefs_changed plugin hook 2017-01-02 18:10:45 +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
fb7b0401fa
Document how to make plugins work with dark theme 2016-06-03 23:48:38 +01:00
Jonathan Harris
5a63f3172c Typos. 2016-01-10 23:34:02 +00:00
Jonathan Harris
a5665552aa Doc correction. 2016-01-09 18:27:03 +00:00
Jonathan Harris
7b38c9e637 Document packaging and installing plugins. 2016-01-09 18:27:03 +00:00
Jonathan Harris
d9203191af Document storing and retrieving plugin settings. 2016-01-09 18:27:03 +00:00
Jonathan Harris
9e42b5b25f Doc tweak. 2016-01-09 18:27:03 +00:00
Jonathan Harris
a337319475 Update plugin docs and exmaple.
Use nb or ttk widgets as appropriate for correct look-and-feel.
Print messages to stderr so they appear when the plugin is loaded by the
packaged Windows exe.
Do something with the example's main window widget.
2016-01-09 18:27:03 +00: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
c8e7d42b00 typo 2016-01-09 18:27:02 +00:00
Ian Norton
827e08d1fe typo in PLUGINS readme 2016-01-09 18:27:02 +00:00
Ian Norton
477e60a64f plugin support for EDMC 2016-01-09 18:27:01 +00:00