1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 09:32:23 +03:00

2379 Commits

Author SHA1 Message Date
A_D
fdcca005a4 Added name mangling support to EDMCContextFilter
Python name mangling is more about name collisions than actually making
things private.

This commit adds a check to resolve mangled names to their runtime
names, and adds a just-in-case default to fetching the attribute.

Fixes #764
2020-10-18 12:02:39 +01:00
Athanasius
17ed1ef1db Merge branch 'stable' into main 2020-10-15 11:57:49 +01:00
Athanasius
69c94f0515 appcast 4.1.4 Release/4.1.4 2020-10-15 11:53:06 +01:00
Athanasius
64f203517d Release 4.1.4 2020-10-15 11:49:30 +01:00
Athanasius
3724f30a53
Merge pull request #760 from EDCD/fix/755-4.1.3-not-starting
Locale: Be even more paranoid about setting UTF-8 encoding
2020-10-14 20:03:33 +01:00
Athanasius
582b981afa Locale: Be even more paranoid about setting UTF-8 encoding
* Only set if not on win32, or if we are and a known good version of
 Windows 10 (or later).
2020-10-14 19:15:48 +01:00
Athanasius
aee4114edd Bug Report Template: git/Linux version info 2020-10-09 09:50:27 +01:00
Athanasius
f3e8dbf7c1 Merge branch 'stable' into main 2020-10-08 15:40:14 +01:00
A_D
beed337c70 Create dependabot config file
Dependabot will open PRs automatically for us to update dependencies, assuming they have no breaking changes.
2020-10-08 15:39:24 +01:00
Athanasius
d7641d6858 appcast 4.1.3 Release/4.1.3 2020-10-08 15:28:35 +01:00
Athanasius
187dee5f81 Release 4.1.3 2020-10-08 15:23:47 +01:00
Athanasius
9404ebabee
Merge pull request #743 from EDCD/fix/737-lutris-wine
try/except ctypes.windll.user32.CalculatePopupWindowPosition
2020-10-08 15:13:02 +01:00
Athanasius
5effd044ac try/except ctypes.windll.user32.CalculatePopupWindowPosition
As we can't rely on the is_wine check, use an exception for this.
2020-10-08 14:55:32 +01:00
Athanasius
0091267c00 Merge branch 'stable' into main 2020-10-08 14:47:01 +01:00
Athanasius
e515c5b3e0 setup.py: Check we're running under Python 3.7.x 2020-10-08 14:20:03 +01:00
Athanasius
ec8c95b1a8 Merge branch 'fix/734-revert-gdiscaling' into main 2020-10-07 18:09:48 +01:00
Athanasius
a6b23e741d Remove gdiScaling from EDMarketConnector.manifest
* This causes dpiAware to not work.
* Without dpiAware text is blurry under UI scaling.
* The bug with wrongly sized tkinter.ttk.RadioButton elements has been
  fixed in Tcl/Tk source, but no new release made yet, so the bug
  lingers in all released Python versions.
2020-10-07 18:07:43 +01:00
Athanasius
b977e93c63 Merge branch 'releases' into stable 2020-10-07 10:26:02 +01:00
Athanasius
b87ed70edb Merge tag 'release/4.1.2' into releases
Release 4.1.2
2020-10-07 10:25:27 +01:00
Athanasius
be716cfd27 Merge branch 'stable' of https://github.com/EDCD/EDMarketConnector into stable 2020-10-07 10:18:23 +01:00
Athanasius
7c699c9552 Merge branch 'fix/edmc-boolean-oops' into release-4.1.2 Release/4.1.2 2020-10-07 10:17:58 +01:00
Athanasius
5bbeeeee32 appcast 4.1.2 2020-10-07 10:12:38 +01:00
Athanasius
42b71e8d26 Release 4.1.2 2020-10-07 10:08:40 +01:00
Athanasius
56d7730249
Merge pull request #740 from EDCD/fix/edmc-boolean-oops
EDMC: Revert accidental change of boolean logic
2020-10-07 10:01:16 +01:00
Athanasius
72119d6818 EDMC: Revert accidental change of boolean logic
not (A or B) != not A or B

Although "not A and not B" would be equivalent.
2020-10-07 09:58:51 +01:00
Athanasius
c9cab1ada3 Merge branch 'release-4.1.1' into main 2020-10-06 16:43:13 +01:00
Athanasius
a2bda910e6 appcast 4.1.1 2020-10-06 16:41:01 +01:00
Athanasius
f3667dc09c Merge branch 'release-4.1.1' into releases 2020-10-06 16:38:07 +01:00
Athanasius
5d8b56d45a Merge branch 'release-4.1.1' into stable 2020-10-06 16:37:53 +01:00
Athanasius
4ee2957913 Release 4.1.1 Release/4.1.1 2020-10-06 16:29:04 +01:00
Athanasius
97d42e8806
Merge pull request #738 from EDCD/fix/revert-unicode-changes
Fix/revert unicode changes
2020-10-06 16:22:32 +01:00
Athanasius
58bf8466ae locale: Remove conditional on locale setting & comments cleanup
* We're using try/except so can just attempt the setting of a UTF-8
  encoding.  In cases where it doesn't work we'll have some obvious log
  output to help diagnose any issues it causes later.

* Cleaned up the comments to be more 'why' than 'what'.
2020-10-06 16:16:21 +01:00
Athanasius
2b65bbd768 Re-instate the non-tkinter file dialog.
* This will be gated behind win32 *and* not a UTF-8 encoding.  This way
  where we should be able to use tkinter.filedialog, we do.
2020-10-06 15:49:17 +01:00
Athanasius
b235684dd6 Only attempt locale changes if *not* running frozen on win32.
Any running from source, or on a non-win32 platform will attempt to
force UTF-8 encoding.

For frozen win32 we'll rely on the windows manifest setting.  On too-old
versions of Windows we'll have to ensure all code works with non-UTF-8
encodings.
2020-10-06 15:16:15 +01:00
Athanasius
fb21cdfa94 Add reporting of Windows version at startup. 2020-10-06 15:03:51 +01:00
Athanasius
83e09b888e Merge branch 'releases' into main 2020-10-05 20:18:23 +01:00
A_D
e787e78e90 Create dependabot config file
Dependabot will open PRs automatically for us to update dependencies, assuming they have no breaking changes.
2020-10-05 12:17:23 +01:00
Athanasius
2cb1309015 Update appcast 'length' for 4.1.0.msi 2020-10-05 11:57:12 +01:00
Athanasius
8a09430d92 Release 4.1.0
* Re-used -rc2 changelog with minor edits.
Release/4.1.0
2020-10-05 11:43:32 +01:00
Athanasius
bf375da1f1 Pre-Release 4.1.0-rc2 Release/4.1.0-rc2 2020-10-01 12:09:31 +01:00
Athanasius
4b814867d5
Merge pull request #727 from EDCD/fix/edsm-carrierjump
EDSM: Finer-grained and more detailed logging of API results
2020-10-01 11:57:18 +01:00
Athanasius
f7fdb9c3a4
Merge pull request #726 from EDCD/fix/725-locale-LC_ALL-invalid
Locale: Use LC_CTYPE as source of language for setting UTF-8 encoding
2020-10-01 11:55:46 +01:00
Athanasius
3d3baaea8e EDSM: Finer-grained and more detailed logging of API results 2020-10-01 11:47:31 +01:00
Athanasius
3063b237b6 Locale: Use LC_CTYPE as source of language for setting UTF-8 encoding
See #725 - LC_ALL is actually invalid here, but is allowed in Python
3.7.9, but not in later 3.8.x.
2020-10-01 11:00:11 +01:00
Athanasius
25ee03a1b6 Another minor format edit to Changelog Release/4.1.0-rc1 2020-09-29 14:15:24 +01:00
Athanasius
d9e158136f Minor edits to 4.1.0-rc1 changelog 2020-09-29 14:08:36 +01:00
Athanasius
974aa7530b Pre-Release 4.1.0-rc1 2020-09-29 14:00:28 +01:00
Athanasius
8afe6140cc Update debug log file name in bug report template. 2020-09-29 13:29:45 +01:00
Athanasius
27e6aaf0c7
Merge pull request #723 from EDCD/fix/edsm-carrierjump
EDSM: When we API call a Location event, log all events in that call.
2020-09-29 13:25:49 +01:00
Athanasius
969773b169 Debug log file name now EDMarketConnector-debug..log 2020-09-29 13:22:15 +01:00