Athanasius
a9ff256afd
Merge branch 'release-5.7.0' into develop
2022-12-16 11:18:47 +00:00
Athanasius
defdc2b325
Release 5.7.0: appversion & changelog
...
No functional changes from 5.7.0-rc1, just a few ChangeLog tweaks.
Release/5.7.0
2022-12-16 10:51:43 +00:00
Athanasius
3c99435865
Merge pull request #1757 from EDCD/dependabot/pip/develop/autopep8-2.0.1
...
build(deps-dev): bump autopep8 from 2.0.0 to 2.0.1
2022-12-15 18:36:08 +00:00
dependabot[bot]
395dde1c09
build(deps-dev): bump autopep8 from 2.0.0 to 2.0.1
...
Bumps [autopep8](https://github.com/hhatto/autopep8 ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/hhatto/autopep8/releases )
- [Commits](https://github.com/hhatto/autopep8/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: autopep8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 17:00:54 +00:00
Athanasius
bd6243c845
Merge pull request #1756 from EDCD/dependabot/pip/develop/isort-5.11.2
...
build(deps-dev): bump isort from 5.11.1 to 5.11.2
2022-12-14 17:02:31 +00:00
dependabot[bot]
28071181a1
build(deps-dev): bump isort from 5.11.1 to 5.11.2
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.11.1...5.11.2 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 17:01:07 +00:00
Athanasius
34fe5917ae
develop: Bump appversion to 5.7.1-alpha0
2022-12-14 15:32:10 +00:00
Athanasius
39867acdd5
5.7.0-rc1/ChangeLog: Fix minor typo
2022-12-14 14:21:43 +00:00
Athanasius
858efbdd54
Pre-Release 5.7.0-rc1: appversion and changelog
Release/5.7.0-rc1
2022-12-14 14:02:34 +00:00
Athanasius
e2f4f8f665
PLUGINS.md: Slightly improve CAPI Legacy/Live doc
2022-12-14 13:51:29 +00:00
Athanasius
281703aa99
FDevIDs: Updated to latest master
2022-12-14 12:26:56 +00:00
Athanasius
d6103aee9e
corilios-data: Updated, and new modules.p content.
2022-12-14 12:26:05 +00:00
Athanasius
0a01a8c24c
edmc_data: Small tweaks to try and make outfitting.py happier
...
But, as it turns out, the uses of this code and data are very minimal.
No-one's been complaining about things being out of date or not working.
All of these *_map dictionaries are just for mapping parts of module
identifiers to English Text. In the end they only end up in the output of
`EDMC.py -e <file>`, which despite being called "E:D Shipyard plain text
format" isn't actually supported by edsy.org.
2022-12-14 12:24:07 +00:00
Athanasius
97d0ecec7b
coriolis.py: Don't bother with the 'Check data is present' thing
...
* Also two missileracks are *not* now 'missing' in coriolis-data, so no need
to manually add them.
2022-12-14 12:23:14 +00:00
Athanasius
fa8bbe8fa4
Python: Bump to version 3.11.1, still 32-bit
...
Build tested, both .exe files work from `dist.win32` directory.
2022-12-14 11:47:07 +00:00
Athanasius
57cdda6218
docs/Releasing: no .wxs file updated needed for python version bump
...
The file is auto-generated, so the "different filename of python DLLs" is
taken care of by the build process.
2022-12-14 11:45:59 +00:00
Athanasius
2fdc14c371
requirements-dev: Bump lxml
to 4.9.2
...
This version has Python 3.11 wheels.
2022-12-14 11:39:05 +00:00
Athanasius
d48501c37b
Merge pull request #1754 from EDCD/fix/1720/EDMC_-n
...
EDMC.py quietening and fixes
2022-12-14 11:32:13 +00:00
Athanasius
e245a75e61
EDMC: Get -n
working again
...
* eddn: Don't schedule `queue_check_and_send()` if EDMC_NO_UI.
* `export_(commodites|outfitting|shipyard)` lost the `is_odyssey` argument
in 556ace5306bebbcf34c1a56a9023a822218a73f1 .
* EDDNSender: Helper `set_ui_status()` in which the check for EDMC_NO_UI
is performed. Used in `send_message()`. In the EDMC_NO_UI case it will
INFO log the text instead.
2022-12-14 11:15:20 +00:00
Athanasius
79bbc8917f
Move 'this is the GameVersion we found' logging to DEBUG
...
This quietens it for normal EDMC.py usage.
2022-12-14 10:51:37 +00:00
Athanasius
2ff04dd659
Merge pull request #1753 from EDCD/dependabot/pip/develop/isort-5.11.1
...
build(deps-dev): bump isort from 5.10.1 to 5.11.1
2022-12-14 10:42:28 +00:00
Athanasius
320236f7a7
Merge pull request #1752 from EDCD/dependabot/pip/develop/safety-2.3.5
...
build(deps-dev): bump safety from 2.3.4 to 2.3.5
2022-12-14 10:42:21 +00:00
Athanasius
605ad07aac
Merge pull request #1747 from EDCD/enhancement/1728/capi-for-legacy
...
CAPI: Enable use of Legacy host when applicable.
2022-12-14 10:42:05 +00:00
dependabot[bot]
d49e865260
build(deps-dev): bump isort from 5.10.1 to 5.11.1
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.10.1 to 5.11.1.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.1 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 17:01:07 +00:00
dependabot[bot]
eb2f211188
build(deps-dev): bump safety from 2.3.4 to 2.3.5
...
Bumps [safety](https://github.com/pyupio/safety ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/pyupio/safety/releases )
- [Changelog](https://github.com/pyupio/safety/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyupio/safety/compare/2.3.4...2.3.5 )
---
updated-dependencies:
- dependency-name: safety
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 17:01:02 +00:00
Athanasius
9781e87c53
Merge pull request #1749 from EDCD/dependabot/pip/develop/certifi-2022.12.7
...
build(deps): bump certifi from 2022.9.24 to 2022.12.7
2022-12-09 09:52:06 +00:00
Athanasius
3260ff7ae2
Merge pull request #1748 from EDCD/dependabot/pip/develop/safety-2.3.4
...
build(deps-dev): bump safety from 2.3.3 to 2.3.4
2022-12-09 09:51:10 +00:00
dependabot[bot]
862aa611b1
build(deps): bump certifi from 2022.9.24 to 2022.12.7
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.9.24 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 17:01:13 +00:00
dependabot[bot]
1af1ea86f8
build(deps-dev): bump safety from 2.3.3 to 2.3.4
...
Bumps [safety](https://github.com/pyupio/safety ) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/pyupio/safety/releases )
- [Changelog](https://github.com/pyupio/safety/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyupio/safety/compare/2.3.3...2.3.4 )
---
updated-dependencies:
- dependency-name: safety
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 17:01:08 +00:00
Athanasius
7e1d756db7
Merge pull request #1746 from EDCD/enhancement/1739/navroute-read-on-catchup
...
monitor/NavRoute: Load NavRoute after catching_up ends.
2022-12-08 14:01:58 +00:00
Athanasius
84615db839
PLUGINS.md: Allow use of CAPIData.source_host
...
* Additional Allowed Imports `from companion ...`.
* Plugin authors will still need to chain `cmdr_data_legacy()` to calling
`cmdr_data()`, but with sanctioned access to `data.source_host` they can
then determine the galaxy data source.
* Re-worked the documentation for CAPI data a little to make all of this as
clear as possible.
2022-12-08 13:17:13 +00:00
Athanasius
af5d998464
PLUGINS.md: Correct the statement about python stdlib
2022-12-08 12:59:36 +00:00
Athanasius
a3a52055d3
CAPI/PLUGINS.md: Document cmdr_data_legacy()
...
For now warn against trying to use extra CAPIData properties to determine
the galaxy.
2022-12-08 12:53:31 +00:00
Athanasius
0915bad95d
CAPI/EDDN: Enable sending of Legacy data
...
As we already took some care in the EDDN code we can just make
`cmdr_data_legacy()` call through to `cmdr_data()`.
2022-12-08 12:10:15 +00:00
Athanasius
ccdc187efa
CAPI: Remove 'safeties' preventing Legacy CAPI queries
2022-12-08 11:58:34 +00:00
Athanasius
088da2e5f0
td.py: Update Price-Data format URL to github
2022-12-08 11:44:30 +00:00
Athanasius
78e9db710f
td.py: Fix 'oops' with file header wrt platform
...
Lost the `sys.platform == ` part of:
`sys.platform == 'darwin' and ...`
2022-12-08 11:42:57 +00:00
Athanasius
75ee57939a
EDMarketConnector: Force type of ship_state
...
It can be `tk.NORMAL` or `tk.DISABLED`. Why `True` was ever used I don't
know, possibly relying on undefined behaviour.
However, those 'types' end up as `Literal['normal']` and `Literal['disabled']`
and the only way to declare a Union of those is to be explicit with the
actual strings. tk.(NORMAL|DISABLED) are not a types.
2022-12-08 11:32:41 +00:00
Athanasius
6a580576ec
mpyp: Always use --check-untyped-defs
...
`mypy EDMarketConnector.py` was throwing a warning:
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
for some things. Bizarrely including e.g.
play_bad: bool = False
2022-12-08 11:29:49 +00:00
Athanasius
b6fe115ea7
CAPI: Add support for plugin cmdr_data_legacy()
...
* Renames `plug.notify_newdata()` to the more precise `notify_capidata()`.
* If CAPI data was from SERVER_LEGACY, then use plugin `cmdr_data_legacy()`
instead of `cmdr_data()`.
2022-12-08 11:17:52 +00:00
Athanasius
b754ef8700
companion: mypy fixups & misc
...
* Some `Optiona[str]` required.
* Remove old pre-CAPIData comment about adding it
2022-12-08 11:06:43 +00:00
Athanasius
9fdf768ce3
CAPI: Enable selection of SERVER_LEGACY in capi_host_for_galaxy()
...
Also adds DEBUG logging for the selection.
2022-12-08 11:02:39 +00:00
Athanasius
0523e2289a
EDMarketConnector: Improve 'develop only for devs' check
...
* Move it later, after CLI args processing. This would allow for a magic
'override' this, providing a key or similar.
* Correct text 'XAthan' to 'Athan' in 'win32' check.
* If `git_branch != 'develop'` check if `-alpha0` is in the app version.
Such version strings are never in any pre-release or release.
2022-12-08 10:51:31 +00:00
Athanasius
0d65adb77e
EDMarketConnector: Tweak 'only developers in develop' message
2022-12-07 20:10:41 +00:00
Athanasius
a69b271928
EDMarketConnector: Only developers should be running develop
2022-12-07 19:45:55 +00:00
Athanasius
410b52979b
python: Bump to version 3.10.9
...
* And point out in ChangeLog.md that we're (still) 32-bit.
2022-12-07 17:45:56 +00:00
Athanasius
a0887f1410
Merge pull request #1742 from EDCD/enhancement/theme/use-constants-not-magic-numbers
...
themes: Use defined constants for which theme throughout
2022-12-06 15:46:50 +00:00
Athanasius
3e15aa0fe6
PLUGINS.md: More fully document state['NavRoute'
...
This includes the "catching up" load of the data.
2022-12-06 15:42:59 +00:00
Athanasius
25ed649b7a
monitor/NavRoute: Load NavRoute after catching_up ends.
...
This is to allow restart of EDMarketConnector whilst the game is running
to have `state['NavRoute']` hold data when the synthetic `StartUp` event
is passed to plugins.
NB: Probably need to note this in PLUGINS.md
2022-12-06 15:34:12 +00:00
Athanasius
36f54ba120
Merge branch 'develop' of https://github.com/EDCD/EDMarketConnector into develop
2022-12-06 14:51:21 +00:00