Athanasius
a6866fb4d1
EDMCLogging: Return 'best efforts' if erroring in caller_attributes()
2021-04-01 14:45:50 +01:00
Athanasius
d589ca6ed2
Expand caller_attributes() docstring to params and return
2021-04-01 14:45:50 +01:00
Athanasius
81e25adfb1
Bump version to 5.0.0-beta1, due to removal of {stations,systems}.p files
2021-04-01 14:45:50 +01:00
Athanasius
357f2278b2
Remove last references to, and generation of, systems.p file
...
This was the last code in eddb.py, so that has now been removed.
This was historically used by the core EDDB plugin to construct a valid
URL for a given station. EDDB has long-since provided alternate URL
formats that negate the need for this.
Plugin authors have been warned not to use this already.
# Conflicts:
# setup.py
2021-04-01 14:45:50 +01:00
Athanasius
09730adbe6
Remove last references to, and generation of, stations.p file.
...
This was historically used by the core EDDB plugin to construct a valid
URL for a given station. EDDB has long-since provided alternate URL
formats that negate the need for this.
Plugin authors have been warned not to use this already.
2021-04-01 14:45:50 +01:00
Athanasius
180d5b0cb6
Bump Python 3.8 -> 3.9 in {pr,push}-checks.yml GH workflows
...
Closes #893
2021-04-01 14:45:50 +01:00
Athanasius
4255a2fd28
monitor: Fix isort complains
...
* Tested with py2exe build on Windows 10 native. Frontier auth works.
2021-04-01 14:45:50 +01:00
Athanasius
1504f25d8f
protocol: Expand slightly on WNDCLASS with some references.
2021-04-01 14:45:49 +01:00
Athanasius
1692cac51c
protocol: docstring WNDCLASS structure
...
* Built with py2exe.
* Frontier Auth from scratch works on Windows 10 native.
2021-04-01 14:45:49 +01:00
Athanasius
165f55bba4
protocol: Work around incompatible types using conditional on wine_get_version
2021-04-01 14:45:49 +01:00
Athanasius
9a82874c7e
journal_lock: Now fully type-hinted.
2021-04-01 14:45:49 +01:00
Athanasius
6be73dc50e
journal_lock: Fix import order & add/expand docstrings
2021-04-01 14:45:49 +01:00
Athanasius
d39c0521da
Move JournalLock class into its own file
...
Closes #891
# Conflicts:
# journal_lock.py
# monitor.py
2021-04-01 14:45:49 +01:00
A_D
ceb2f74855
Final type annotation pass
2021-04-01 14:45:49 +01:00
A_D
adba94efa2
re-added appname import from constants
2021-04-01 14:45:49 +01:00
A_D
660878dcff
removed object
2021-04-01 14:45:49 +01:00
A_D
a55e43c0b5
Made linters happy
2021-04-01 14:45:49 +01:00
A_D
4e75941311
Made sure windll names are correct
...
A/W has meaning and should ALWAYS be noted
2021-04-01 14:45:49 +01:00
Athanasius
67d41d63dc
Added more comments to windows DDE
...
# Conflicts:
# protocol.py
2021-04-01 14:45:49 +01:00
A_D
96ac23a6eb
Made sure to use super() call
...
Assuming you know what your super is is a bad idea
2021-04-01 14:45:49 +01:00
A_D
1b0b482105
Replaced old formatting with fstring
2021-04-01 14:45:49 +01:00
A_D
d5670d9b08
Simplified GET response
2021-04-01 14:45:49 +01:00
Athanasius
65645ee224
Added docstrings
...
# Conflicts:
# protocol.py
2021-04-01 14:45:49 +01:00
A_D
4d7ec87746
Renamed ProtocolHandler implementations so not to clash
2021-04-01 14:45:49 +01:00
A_D
52494893e5
Refactored WindowProc callback
...
Who knew comments and a bit of explanation could help?
2021-04-01 14:45:49 +01:00
A_D
328f8c7397
Broke up giant if
2021-04-01 14:45:49 +01:00
A_D
d4cce9ee84
Removed * Imports
2021-04-01 14:45:49 +01:00
A_D
47d5dce6fe
Autoformatted code
2021-04-01 14:45:49 +01:00
Athanasius
64f090487e
Need from config import appname
else DDE ctypes code fails
2021-04-01 14:45:49 +01:00
Athanasius
d656354a9a
Releasing.md: Document necessary updates when changing Python version
2021-04-01 14:45:49 +01:00
Athanasius
31da53200b
Bump python version in the github windows build workflow
2021-04-01 14:45:49 +01:00
Athanasius
355d3790d2
build: Now using Python 3.9
...
* .msi installs
* .exe in that runs
* Basic tests like 'Update' via CAPI and coriolis ship build work.
* `plugintest` use of shutil and sqlite also works.
2021-04-01 14:45:49 +01:00
Athanasius
851c4f0c7e
Update config.get() calls to config.get_str()
...
# Conflicts:
# monitor.py
2021-04-01 14:45:49 +01:00
Athanasius
55ee4485d1
Implement retry of locking when journal dir changed.
...
In case the user does have another EDMC instance running that they need
to kill first.
# Conflicts:
# monitor.py
2021-04-01 14:45:49 +01:00
Athanasius
0cb0701ca8
Implement releasing of monitor.JournalLock()
...
* Implement JournalLock.release_lock().
* Renamed other methods to remove journaldir_ prefix.
* Slightly tweak the code flow for obtaining the lock.
* Implement JournalLock.update_lock(), called from AppWindow.postprefs().
# Conflicts:
# EDMarketConnector.py
2021-04-01 14:45:49 +01:00
Athanasius
b3959cb8d2
Move journal locking code into new monitor.JournalLock class
2021-04-01 14:45:49 +01:00
Athanasius
471714f149
Bump version for develop
to 4.3.0-beta1
...
Work against stable/main is going to be using 4.2.0-beta1 shortly.
2021-04-01 14:45:49 +01:00
dependabot[bot]
8c83625592
Bump coverage[toml] from 5.4 to 5.5
...
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy ) from 5.4 to 5.5.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.4...coverage-5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
49cc2b4f0d
Bump watchdog from 2.0.1 to 2.0.2
...
Bumps [watchdog](https://github.com/gorakhargosh/watchdog ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases )
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst )
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.0.1...v2.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
2abd3e825d
Bump mypy from 0.800 to 0.812
...
Bumps [mypy](https://github.com/python/mypy ) from 0.800 to 0.812.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.800...v0.812 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
f18a18f7dd
Bump py2exe from 0.10.2.0 to 0.10.2.1
...
Bumps [py2exe](https://github.com/py2exe/py2exe ) from 0.10.2.0 to 0.10.2.1.
- [Release notes](https://github.com/py2exe/py2exe/releases )
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog )
- [Commits](https://github.com/py2exe/py2exe/compare/v0.10.2.0...v0.10.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
ce5a586ed0
Bump watchdog from 2.0.0 to 2.0.1
...
Bumps [watchdog](https://github.com/gorakhargosh/watchdog ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases )
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst )
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.0.0...v2.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
b24b4ce675
Bump watchdog from 1.0.2 to 2.0.0
...
Bumps [watchdog](https://github.com/gorakhargosh/watchdog ) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases )
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst )
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v1.0.2...v2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
03c2e6a26c
Bump autopep8 from 1.5.4 to 1.5.5
...
Bumps [autopep8](https://github.com/hhatto/autopep8 ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/hhatto/autopep8/releases )
- [Commits](https://github.com/hhatto/autopep8/compare/v1.5.4...v1.5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
f4d261d5b2
Bump flake8-noqa from 1.0.5 to 1.1.0
...
Bumps [flake8-noqa](https://github.com/plinss/flake8-noqa ) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/plinss/flake8-noqa/releases )
- [Commits](https://github.com/plinss/flake8-noqa/compare/v1.0.5...v1.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
Athanasius
5093fb58ee
Add --force-localserver-for-auth
CL arg to EDMarketConnector
2021-04-01 14:45:49 +01:00
Athanasius
409e851840
Port in the journals_dir locking and other changes
...
* Use a lock file in the journals_dir location to prevent more than one
instance running against the same journals. We no longer check just
for a Windows handle. So this is more correct on win32 *and* is now a
thing on all other platforms.
* Adds `--suppress-dupe-process-popup` CL arg to suppress "we're a
dupe!" popup to aid those using batch files to launch EDMC alongside
the game.
* Two minor fixups of typos in PLUGINS.md.
* Misc noqa comments and other flake8 fixups. We're now only missing
type annotations in EDMarketConnector.py.
# Conflicts:
# EDMarketConnector.py
2021-04-01 14:45:49 +01:00
dependabot[bot]
8b70ae7027
Bump coverage[toml] from 5.3.1 to 5.4
...
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy ) from 5.3.1 to 5.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.3.1...coverage-5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
ba85df78de
Bump pytest from 6.2.1 to 6.2.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.1...6.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00
dependabot[bot]
588fd7a717
Bump py2exe from 0.10.1.0 to 0.10.2.0
...
Bumps [py2exe](https://github.com/py2exe/py2exe ) from 0.10.1.0 to 0.10.2.0.
- [Release notes](https://github.com/py2exe/py2exe/releases )
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog )
- [Commits](https://github.com/py2exe/py2exe/compare/v0.10.1.0...v0.10.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:49 +01:00