Commit Graph
63 Commits
Author SHA1 Message Date
Cat Lady 241a2de4e9 Implemented "supercharge" checkbox during plotting. Mimics webpage toggle between normal overrcharge and supercharge overcharge. 2025-12-15 00:03:04 +01:00
Cat Lady c45db5fab9 Finalized implementing the LY distance info - now works for both imports of neutron plotter and galaxy plotter, plus when issuing API call from within the plugin itself. Properly restores on restarts of the EDMC. 2025-12-14 20:44:25 +01:00
Cat Lady abfb417878 Implemented displaying LY values for "Galaxy" plotter. 2025-12-11 19:46:11 +01:00
Cat Lady 829964f378 Fix for distance in LY after restart of the EDMC 2025-12-11 09:21:09 +01:00
Cat Lady 270711d7cb First batch of fixes for distance serving logic. 2025-12-05 15:37:11 +01:00
Cat Lady 3279e563cc Improvements to GUI styling 2025-12-05 14:18:38 +01:00
Cat Lady 902fd01e11 Ensured distances are shown to the right of previous, current, and next waypoint buttons - instead of in new lines under those. 2025-12-05 13:45:34 +01:00
Cat Lady 42e15a3c88 Implemented first version of the function that displays distance to next jump, distance to previous jump, and total distance remaining. 2025-12-05 12:25:13 +01:00
Cat Lady 31d4fe9fa7 Enabled ability to navigate waypoints with "next" and "previous" arrows even before plugin registers arriving in the starting system. Ensured we don't end up in negative waypoint scenario, and other edge cases like that. 2025-12-05 05:58:02 +01:00
norohind e163724976 Introduce env variable EDMC_SPANSH_ROUTER_XCLIP to allow use of something different other than xclip on linux machines 2025-06-23 18:15:53 +00:00
Khristian Sutherland 687a9d6986 bugfix: fleetcarrierimportheader now matches the current Spansh CSV header for fleetcarriers (#5) 2024-08-28 11:13:26 +03:00
norohind 4d5fe33d97 Fix indentation for changes of #3 2023-12-21 16:20:13 +03:00
Caboose 9d2d58489f Fix loading galaxy routes (#3) 2023-10-24 13:02:14 +03:00
norohind 00182da130 SpanshRouter: fix missing imports, regression of 6ffe1d6190 mostly 2023-01-24 02:20:01 +03:00
norohind b62d4cb2dd Replace usage of monitor.system with monitor.state['SystemName'] to work with latest EDMarketConnector version 2023-01-24 01:46:52 +03:00
norohind 92966570d8 Disable autoupdates system 2021-10-05 17:18:29 +03:00
norohind 6ffe1d6190 Imports optimize, some code style improvments 2021-08-02 13:26:37 +03:00
norohind 743d14212d Introduce proper logging
Replace all print() and sys.stderr.write() with logger.info() and logger.warning() respectively
2021-07-01 14:22:31 +03:00
Lukáš 'Radar' Kubíček 19a85934ed add support for Spansh galaxy plotter 2021-04-12 00:07:32 +02:00
Steve Towner 7b31b57622 Exporting flight plans for TCE now prompts for a file location rather than saving in the default location. 2021-01-24 10:05:00 -06:00
Steve Towner 60ca12742a Added Fleet Carrier CSV with display for jumps and refuel system. 2021-01-18 20:38:57 -06:00
Steve Towner 808325ef8a Removed temporary logging.
Added Road to Riches import from Spansh CSV.
Made next stop button 2 line to reduce the likelyhood of the GUI changing width.
2021-01-17 21:31:38 -06:00
Steve Towner 995c029ad8 Added export of route to TCE (Trade Computer Extension Mk.II) format. 2021-01-16 13:34:00 -06:00
Steve Towner 30193c93b2 Added logging per EDMC rexcommendation to help test changes. 2021-01-16 11:09:24 -06:00
caboose684 c698cf859e Fix saving and loading previous route
`csv` expects to handle its own newlines. Opening a csv file without `newline=''` leads to duplicate, inconsistent line newlines in the resultant file.

`save_route` always saves the Jumps header, even when there was no data imported. On reload, `row.get` returns an empty string instead of `None`, throwing a ValueError on the first line.
2020-08-23 23:46:39 -04:00
CMDR-Kiel42 f9ab59d9a2 Skip duplicates in CSV files
See https://github.com/CMDR-Kiel42/EDMC_SpanshRouter/issues/17#issuecomment-671048305
2020-08-10 21:48:05 +02:00
CMDR-Kiel42 40f8cbcf30 Only show lists when the entry has focus 2020-07-18 23:56:17 +02:00
CMDR-Kiel42 7e119f6c90 Don't use the placeholder color when filling the Source entry with the current system 2020-07-18 23:33:06 +02:00
CMDR-Kiel42 257b0ed66e Prevent suggestions from showing after cancelling a plot 2020-07-18 21:53:14 +02:00
CMDR-Kiel42 face54fc95 Prevent suggestions from showing after route is plotted 2020-07-18 21:47:03 +02:00
CMDR-Kiel42 4b557fbfbc Fixed placeholders not properly reset when focusing out 2020-07-13 01:44:08 +02:00
CMDR-Kiel42 ee74bc44f0 Moved all PlaceHolderEntry into PlaceHolder 2020-07-13 01:11:36 +02:00
CMDR-Kiel42 653bba386b Cleanup Python2/3 compatibility 2020-07-12 17:31:44 +02:00
Kiel 40d4393808 Allow selection in "Plot Route" with a single click 2020-06-23 12:07:17 +02:00
Kiel 2c5a4b11d5 Fixed exception on copy to clipboard when opening last route 2020-06-23 11:34:27 +02:00
Kiel a14d00312a Use response.text to avoid unnecessary conversion 2020-05-21 21:05:05 +02:00
Kiel a35b348dd9 Fixed cannot update when using Python3 2020-05-21 20:56:04 +02:00
Kiel 79c7f98850 Fixed an issue where the update popup would crash EDMC 2020-05-21 19:49:27 +02:00
Kiel 34cfc3eef6 Fixed Python2 issues 2020-05-09 23:25:17 +02:00
Kiel fdaafa8948 Fixed issue with files containing a BOM code 2020-05-09 15:25:22 +02:00
Elite-IGAU 62e55ee0be Copied modules outside SpanshRouter folder.
Python 3 seems to be having issues importing some modules.
2020-02-09 12:38:12 -07:00
Elite-IGAU 70e28aa9a7 Python 3 updates 2020-02-09 11:44:48 -07:00
CMDR-Kiel42 cee1a15193 Download and install the update according to what the user chose 2019-10-29 21:47:04 +01:00
Kiel42 24e15111b8 Fetch the changelogs and display them in a popup asking if we should install 2019-10-29 00:23:20 +01:00
Kiel42 79271aa607 Add header in the route save file 2019-10-28 19:30:40 +01:00
Kiel42 9aca2d1535 Use CSV header when importing a file
Make Jumps count optional
2019-10-28 19:30:40 +01:00
Kiel42 2a4deb87b6 Support only EDTS txt files 2019-10-28 15:48:12 +01:00
CMDR-Kiel42 bf4d5c0f23 Set current syste as default source system value 2019-08-18 11:59:23 +02:00
CMDR-Kiel42 12b21a45f8 Support text files 2019-08-18 00:33:37 +02:00
CMDR-Kiel42 333855af0d Better integration with themes 2019-08-15 00:49:52 +02:00