mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-12 15:27:14 +03:00
[PRE-RELEASE] .12.1-rc4
This commit is contained in:
parent
ab02f49aba
commit
dab510bb21
25
ChangeLog.md
25
ChangeLog.md
@ -6,6 +6,31 @@ This is the master changelog for Elite Dangerous Market Connector. Entries are
|
|||||||
in the source (not distributed with the Windows installer) for the
|
in the source (not distributed with the Windows installer) for the
|
||||||
currently used version.
|
currently used version.
|
||||||
---
|
---
|
||||||
|
Pre-Release 5.12.1-rc4
|
||||||
|
===
|
||||||
|
|
||||||
|
This is a release candidate for 5.12.1. It has been pushed to the "Beta" track for updates!
|
||||||
|
|
||||||
|
This release continues to refine fixes for with EDMC authentication.
|
||||||
|
|
||||||
|
**Changes and Enhancements**
|
||||||
|
* Fixed a typo in the prior release notes
|
||||||
|
|
||||||
|
**Bug Fixes**
|
||||||
|
* Fixed a bug where the EDMC System Profiler wouldn't load details properly
|
||||||
|
* Reverted a number of usages of Pathlib back to os.path for further validation testing
|
||||||
|
* Fixed a bug where EDMC would error out with a max() ValueError
|
||||||
|
* Fixed an issue where the EDMC protocol wouldn't be processed properly via prototyping
|
||||||
|
|
||||||
|
**Plugin Developers**
|
||||||
|
* nb.Entry is deprecated, and is slated for removal in 6.0 or later. Please migrate to nb.EntryMenu
|
||||||
|
* nb.ColoredButton is deprecated, and is slated for removal in 6.0 or later. Please migrate to tk.Button
|
||||||
|
* Calling internal translations with `_()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to importing `translations` and calling `translations.translate` or `translations.tl` directly
|
||||||
|
* `Translations` as the translate system singleton is deprecated, and is slated for removal in 6.0 or later. Please migrate to the `translations` singleton
|
||||||
|
* `help_open_log_folder()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to open_folder()
|
||||||
|
* `update_feed` is deprecated, and is slated for removal in 6.0 or later. Please migrate to `get_update_feed()`.
|
||||||
|
|
||||||
|
|
||||||
Pre-Release 5.12.1-rc2
|
Pre-Release 5.12.1-rc2
|
||||||
===
|
===
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ appcmdname = 'EDMC'
|
|||||||
# <https://semver.org/#semantic-versioning-specification-semver>
|
# <https://semver.org/#semantic-versioning-specification-semver>
|
||||||
# Major.Minor.Patch(-prerelease)(+buildmetadata)
|
# Major.Minor.Patch(-prerelease)(+buildmetadata)
|
||||||
# NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
|
# NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
|
||||||
_static_appversion = '5.12.1-rc2'
|
_static_appversion = '5.12.1-rc4'
|
||||||
_cached_version: semantic_version.Version | None = None
|
_cached_version: semantic_version.Version | None = None
|
||||||
copyright = '© 2015-2019 Jonathan Harris, 2020-2024 EDCD'
|
copyright = '© 2015-2019 Jonathan Harris, 2020-2024 EDCD'
|
||||||
|
|
||||||
|
11
protocol.py
11
protocol.py
@ -77,8 +77,6 @@ if (config.auth_force_edmc_protocol # noqa: C901
|
|||||||
MSG, UINT, WPARAM
|
MSG, UINT, WPARAM
|
||||||
)
|
)
|
||||||
import win32gui
|
import win32gui
|
||||||
import win32con
|
|
||||||
import win32api
|
|
||||||
|
|
||||||
class WNDCLASS(Structure):
|
class WNDCLASS(Structure):
|
||||||
"""
|
"""
|
||||||
@ -108,13 +106,6 @@ if (config.auth_force_edmc_protocol # noqa: C901
|
|||||||
CreateWindowExW.restype = HWND
|
CreateWindowExW.restype = HWND
|
||||||
RegisterClassW = windll.user32.RegisterClassW
|
RegisterClassW = windll.user32.RegisterClassW
|
||||||
RegisterClassW.argtypes = [POINTER(WNDCLASS)]
|
RegisterClassW.argtypes = [POINTER(WNDCLASS)]
|
||||||
# DefWindowProcW
|
|
||||||
# Ref: <https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-defwindowprocw>
|
|
||||||
# LRESULT DefWindowProcW([in] HWND hWnd,[in] UINT Msg,[in] WPARAM wParam,[in] LPARAM lParam);
|
|
||||||
# As per example at <https://docs.python.org/3/library/ctypes.html#ctypes.WINFUNCTYPE>
|
|
||||||
|
|
||||||
prototype = WINFUNCTYPE(c_long, HWND, UINT, WPARAM, LPARAM)
|
|
||||||
paramflags = (1, "hWnd"), (1, "Msg"), (1, "wParam"), (1, "lParam")
|
|
||||||
|
|
||||||
GetParent = windll.user32.GetParent
|
GetParent = windll.user32.GetParent
|
||||||
SetForegroundWindow = windll.user32.SetForegroundWindow
|
SetForegroundWindow = windll.user32.SetForegroundWindow
|
||||||
@ -385,7 +376,7 @@ else: # Linux / Run from source
|
|||||||
if self.parse():
|
if self.parse():
|
||||||
self.send_header('Content-Type', 'text/html')
|
self.send_header('Content-Type', 'text/html')
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write(self._generate_auth_response().encode('utf-8'))
|
self.wfile.write(self._generate_auth_response().encode())
|
||||||
else:
|
else:
|
||||||
self.send_response(404)
|
self.send_response(404)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user