60 Commits

Author SHA1 Message Date
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
720c852aa5 Fixed tabbing out of autocompleted field doesn't close the list 2020-07-13 13:17:38 +02:00
CMDR-Kiel42
98f1f67361 Fixed flickering autocompleter 2020-07-13 02:00:23 +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
ed57a3aa04 Changelog + version update 2020-05-21 19:59:45 +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
0xz00n
6855d3ee03 It loads and shuts down cleanly in python3 now 2020-02-09 16:06:19 -06:00
0xz00n
6cdca49438 Changes to work with python3. Still running into NoneType error for init_gui. Maybe global variables are to blame? 2020-02-09 15:20:51 -06: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
CMDR-Kiel42
7875825f57 Use the Git API to get the changelog instead of parsing the whole .md file 2019-10-29 21:36:11 +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
c27d74ef01 Fixed Tk state being accessed in a thread 2019-10-28 19:30:40 +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
CMDR-Kiel42
871ae75273 Add right click menu to the system entries 2019-08-15 00:28:09 +02:00
CMDR-Kiel42
04971e8bba Save route and offset more often 2019-08-15 00:26:37 +02:00
CMDR-Kiel42
4f1c69984e Actually show system suggestions on Windows 2019-08-12 20:36:30 +02:00
CMDR-Kiel42
435506a0a2 Keep previous systems in plotting entries 2019-08-11 20:22:58 +02:00
CMDR-Kiel42
d301d6fcb6 Make route start at next waypoint when already in first system on route 2019-08-11 20:06:03 +02:00
CMDR-Kiel42
4461854e39 Properly handle FocusOut events 2019-08-10 19:29:13 +02:00
CMDR-Kiel42
5b5cdf3cd8 Properly handle mouse events when selecting systems 2019-08-10 19:12:06 +02:00
CMDR-Kiel42
ee72e6655f Show Spansh errors on entry fields 2019-08-10 18:09:17 +02:00
CMDR-Kiel42
0ba4cf18a7 Check range errors on the fly and make them more visible 2019-08-10 17:35:37 +02:00
CMDR-Kiel42
c707021bee Check range is valid before plotting a route 2019-08-10 16:55:14 +02:00