1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

270 Commits

Author SHA1 Message Date
Athanasius
2f35275024 config.py: Revert conditional orders for Windows Registry gets
I failed to realise the values I'd moved earlier in the conditional were
being passed by reference to the ctypes call.  Thus they had initial
values only upon test, rather than the 'returned' values as they should.

This caused no values to be loaded from the Registry!
2021-04-01 14:45:44 +01:00
Athanasius
61a714513e config.py: Final function type annotations 2021-04-01 14:45:44 +01:00
Athanasius
1e24c297e0 config.py: Don't need to sub-class object 2021-04-01 14:45:44 +01:00
Athanasius
cb795b2230 config.py: Remove u-prefix from strings. More specific Exceptions
* u-prefix is un-necessary, remove it.
* We should get ValueError in some cases, so catch it first.
* Change debug log for if linux config file not yet present.
2021-04-01 14:45:44 +01:00
Athanasius
0274c98e50 config.py: Convert darwin test to isinstance(val, list) as well 2021-04-01 14:45:44 +01:00
Athanasius
f356d9c1d1 config.py: No need for typing.Iterable 2021-04-01 14:45:44 +01:00
Athanasius
93dc1a988a config.py: linux Config class & overall typing
* This changes the test in set() from hasattr(val, '__iter__') to
  isinstance(val, list) as the passed values *should* be lists for that
  case.
2021-04-01 14:45:43 +01:00
Athanasius
b7f41796c9 config.py: win32 Config class cleanup 2021-04-01 14:45:43 +01:00
Athanasius
854c79c070 config.py: Log exception type from darwin getint()
* Also sets up `logger`.
2021-04-01 14:45:43 +01:00
Athanasius
fcb7685d71 config.py: darwin Config class code cleanup
# Conflicts:
#	config.py
2021-04-01 14:45:43 +01:00
Athanasius
07fd4dc634 config.py: ctypes import order 2021-04-01 14:45:43 +01:00
Athanasius
c3150dae76 config.py: More import clean & misc. 2021-04-01 14:45:43 +01:00
Athanasius
b2629286b4 config.py: top-level docstring, import order, minor edits 2021-04-01 14:45:43 +01:00
Athanasius
3a0423381f Version to 4.2.0-beta1 to distinguish Python 3.8 builds
* I don't want to be checking something against 4.1.x releases when my
  last build was with Python 3.8.

# Conflicts:
#	config.py

# Conflicts:
#	config.py

# Conflicts:
#	config.py
2021-04-01 14:45:39 +01:00
Athanasius
d458034471 Release 4.2.7: appversion and changelog 2021-04-01 14:22:12 +01:00
Athanasius
25fd5ffff9 Release 4.2.6: appversion & changelog 2021-04-01 11:37:18 +01:00
Athanasius
f9cc742de4 Release 4.2.5: appversion and changelog 2021-03-29 16:02:17 +01:00
Athanasius
eed8db965a config.py: Compatibility layer for newer API calls.
This way a plugin updated for 5.0.0+ will work on next stable release.
2021-03-28 11:07:52 +01:00
Athanasius
d01404b160 Release 4.2.4: appversion and changelog 2021-03-23 14:29:14 +00:00
Athanasius
22811adf30 Release 4.2.3: appversion and changelog 2021-03-18 12:14:10 +00:00
Athanasius
a532f38e2e Extend EDCD copyright into 2021. 2021-03-17 17:34:06 +00:00
Athanasius
aff1cfa6c8 Release 4.2.2: appversion and changelog 2021-03-17 12:08:50 +00:00
Athanasius
977fec25b0 Release 4.2.1: appversion and changelog 2021-03-15 19:11:27 +00:00
Athanasius
5b1bd01c56 Release 4.2.0: appversion and changelog 2021-03-12 12:39:42 +00:00
Athanasius
773629afbe Pre-Release 4.2.0-beta3: version and changelog 2021-03-09 12:43:48 +00:00
Athanasius
8052998658 Pre-Release 4.2.0-beta2: version and changelog 2021-03-06 18:55:35 +00:00
Athanasius
79ad7a596a Pre-Release 4.2.0-beta1: version and changelog 2021-03-06 11:09:05 +00:00
Athanasius
3b2b658881 Add --force-localserver-for-auth CL arg to EDMarketConnector 2021-01-22 13:11:42 +00:00
Athanasius
c3663d8be8 Move the 'duplicate' constants into a new constants.py
1. So now they're only defined in one place.
2. config.py does an import of them, and `from config import ...` then
   chains through, so no need to update other users.
3. No need to ' # noqa E402' the killswitch/config imports now.
2021-01-18 14:43:45 +00:00
Athanasius
52193a9f07 Release 4.1.6: config version and changelog 2021-01-12 16:24:10 +00:00
Athanasius
67e72f7477 Pre-Release 4.1.6-rc3: config version and changelog 2021-01-11 17:35:54 +00:00
Athanasius
c90392ab89 Merge branch 'release-4.1.6-rc2' into release-4.1.6-rc3 2021-01-11 17:24:42 +00:00
Athanasius
247577c5f4 config: Also set Config.shutting_down to be @propety on win32 and linux 2021-01-11 17:13:31 +00:00
Athanasius
462cd25312 config: Make config.shutting_down() a property, and change 'callers' 2021-01-11 16:54:09 +00:00
Athanasius
50f520ab66 config: Change self.in_shutdown to be mangled.
I specifically made set_shutdown() *not* take an argument and only ever
set this true so no-one else can monkey with it, so might as well mangle
it too.
2021-01-11 15:53:12 +00:00
Athanasius
f92385244c config: Add class member and methods for signalling/checking shutdown status 2021-01-11 15:37:17 +00:00
Athanasius
decb889242 Pre-Release 4.1.6-rc2 version and changelog 2021-01-08 15:51:27 +00:00
Athanasius
207bb9920f 4.1.6-rc1: version bump and changelog 2021-01-05 15:01:09 +00:00
Athanasius
741d62c072 Release 4.1.5: Config.py version bump 2020-12-15 19:57:24 +00:00
Athanasius
64f203517d Release 4.1.4 2020-10-15 11:49:30 +01:00
Athanasius
187dee5f81 Release 4.1.3 2020-10-08 15:23:47 +01:00
Athanasius
42b71e8d26 Release 4.1.2 2020-10-07 10:08:40 +01:00
Athanasius
4ee2957913 Release 4.1.1 2020-10-06 16:29:04 +01:00
Athanasius
8a09430d92 Release 4.1.0
* Re-used -rc2 changelog with minor edits.
2020-10-05 11:43:32 +01:00
Athanasius
bf375da1f1 Pre-Release 4.1.0-rc2 2020-10-01 12:09:31 +01:00
Athanasius
974aa7530b Pre-Release 4.1.0-rc1 2020-09-29 14:00:28 +01:00
Athanasius
ea09271ece Pre-Release 4.1.0-beta9 2020-09-28 14:08:53 +01:00
Athanasius
87324661d9 Pre-Release 4.1.0-beta8 2020-09-28 13:39:14 +01:00
Athanasius
99ee6e0a57 Pre-Release 4.1.0-beta7 2020-09-23 12:44:30 +01:00
Athanasius
4cec46b028 Pre-Release 4.1.0-beta6 2020-09-22 16:30:49 +01:00