WMOkiishi
098fe634a5
task: Annotate core functions ( #1548 )
2023-10-13 21:20:20 +02:00
rdb
c00f3b18f5
direct: More reduction of reliance on builtins, mypy fixes
2023-10-11 11:07:56 +02:00
rdb
3922800aa4
tkpanels: Fix error running with Python 3.8
2023-10-11 10:26:56 +02:00
rdb
b6eee1045a
direct: Reduce dependence on builtins, satisfy mypy a bit more
2023-10-11 00:20:34 +02:00
LD
ae3cbe4b12
cocoadisplay: Add support for high-dpi screens ( #1308 )
2023-10-10 16:56:04 +02:00
Kylie Smith
e55bb94996
Added missing control message types
2023-10-10 13:03:36 +02:00
rdb
f7718b466b
direct: Fix assorted issues when using mypyc
2023-10-10 12:52:26 +02:00
rdb
ef25b67ddb
interval: Remove unrunnable IntervalTest module
2023-10-10 12:45:21 +02:00
rdb
ae4151c9e1
showbase: Fix import of Loader if AudioLoadRequest is not available
2023-10-09 12:51:52 +02:00
WMOkiishi
1ca0e3f1ea
directnotify: annotate types ( #1527 )
2023-10-09 09:46:32 +02:00
rdb
b99b3dc7d4
directnotify: Fix invalid syntax
2023-10-08 17:22:37 +02:00
rdb
c63a92bdec
directnotify: Fix RotatingLog filePath error when sizeLimit is None
2023-10-08 17:12:08 +02:00
rdb
9de9b8c680
directnotify: Remove obsolete softspace attribute from RotatingLog
2023-08-26 11:15:57 +02:00
dakotachasesmith
160ba090a5
clientrepositorybase: Prevent crash on handleUpdateField if updates are handled in Python and repo does not have owner view
2023-08-06 08:09:32 +02:00
WMOkiishi
32edfa43fd
direct: Get direct to pass a mypy check
...
Closes #1476
2023-08-04 14:31:44 +02:00
rdb
ab93d88f1b
stdpy: Remove obsolete check for None function on module shutdown
...
This behaviour was removed in Python 3.4 so should no longer be an issue
2023-08-04 14:28:52 +02:00
rdb
f80cd08993
Remove support for EOL Python versions 3.6 and 3.7
2023-08-04 14:20:59 +02:00
rdb
a68ecb9765
Merge branch 'release/1.10.x'
2023-08-04 14:07:41 +02:00
rdb
360bf20933
dcparser: Fix segfault with nested struct or switch
...
Fixes #1499
2023-08-04 14:02:13 +02:00
rdb
c08353dea7
showbase: Don't disable Windows mesasge loop with multi-threaded pipeline
...
Fixes half of #1494
2023-08-04 13:52:11 +02:00
WMOkiishi
f7f3179a89
Move test code from across `direct` to proper test modules
...
Closes #1480
2023-08-02 08:37:51 +02:00
WMOkiishi
d1f4212acd
direct: Utilize the built-in `sorted` function
...
Closes #1479
2023-08-02 08:37:51 +02:00
rdb
d126ec71f7
PythonUtil: Add SerialMaskedGen to `__all__`
...
Fixes #1496
2023-05-09 09:16:29 +02:00
rdb
cdc95acf81
Merge branch 'release/1.10.x'
2023-05-08 20:08:48 +02:00
rdb
3df594a6dd
dist: Add hidden import for shapely
...
[skip ci]
2023-05-08 19:50:21 +02:00
rdb
e582436719
dist: Fix bdist_apps regression as of 88d27aa31c
2023-05-08 19:48:57 +02:00
rdb
1072e6bf1a
dist: Show better error message when targeting outdated platform
...
This occurs if someone explicitly mentions eg. manylinux1 in their platforms list and then updates to Python 3.10
2023-05-08 18:30:25 +02:00
rdb
3f76f4aa70
dist: Strip out delvewheel patch from packaged Python code
...
Fixes #1492
2023-05-08 18:18:42 +02:00
rdb
aed2581ce6
showbase: Clean up internal event handlers on destroy()
...
Fixes regression in cd6ad8285e
2023-03-09 11:22:35 +01:00
rdb
4da2059758
dist: Add extraInitFuncs option to FreezeTool
...
Useful for init_libpnmimagetypes in particular
2023-02-26 11:20:00 +01:00
Erica M. ("Loonatic")
cd0eb27dc7
NotifyPanel: Rename variable that shadows builtin ( #1470 )
2023-02-25 11:22:47 +01:00
rdb
32c73763e2
Merge branch 'release/1.10.x' into incoming
2023-02-24 22:40:53 +01:00
rdb
4f9542c96a
dist: Fix issues with deploying setuptools
2023-02-24 22:39:55 +01:00
rdb
88d27aa31c
dist: Import pkg_resources lazily
2023-02-24 22:39:55 +01:00
rdb
036e5dc2db
dist: Switch FreezeTool over to sysconfig
...
distutils is deprecated and will be removed as of Python 3.12
Its use should not be affected by #1230 since it only uses it to query the include directory, not any other paths
Addresses part of #1395
2023-02-24 22:39:51 +01:00
rdb
eeba583176
dist: Support overriding list of built-in modules
...
Useful when building for a platform that has a different set of built-in modules
2023-02-24 22:36:07 +01:00
rdb
7cd4ca07ed
task: Check sys.platform instead of PandaSystem for emscripten tag
...
This seems to have been standardized in upstream cpython now
2023-02-24 22:35:21 +01:00
rdb
622eda951f
dist: Implement fallback for sysconfig for FreezeTool (see #1395 )
2023-02-24 22:24:41 +01:00
rdb
79ba760319
direct: Backport assorted fixes from master
2023-02-24 22:20:01 +01:00
rdb
6cfa73d268
dist: Add hidden import for setuptools.monkey -> setuptools.msvc
2023-02-24 22:19:33 +01:00
rdb
0fdb8a244b
dist: Silently ignore missing hidden imports
2023-02-24 22:19:03 +01:00
rdb
ed4d2a2280
dist: Add support for emscripten platform to FreezeTool.py
2023-02-24 22:05:05 +01:00
rdb
17e3f3331c
directtools: Import cluster code only on demand
...
This prevents importing directtools modules also importing cluster code, which may fail to import with Panda builds that have net code disabled
2023-02-22 23:49:15 +01:00
rdb
e08cba191e
dist: Significant performance boost for pfreeze
...
This method seems to run very slow in some versions of Python, this runs much faster
2023-02-22 21:54:53 +01:00
rdb
10dd0f79bc
particles: Fix regression loading .ptf files
...
Regression introduced in #1454
2023-02-22 20:26:51 +01:00
rdb
eefb51f510
dtoolutil: Add small_vector implementation and use it
...
This vector implementation does is optimized for the case of having only a small number of elements, which are stored directly on the vector object rather than being allocated from the heap. If the capacity exceeds this small number, then a heap allocation is done.
This should improve performance in a couple of cases where vectors typically store 1 element and rarely more than that.
2023-02-22 16:48:11 +01:00
rdb
4f9092d568
wxwidgets: Fix errors running Panda shell
2023-02-22 12:04:51 +01:00
rdb
37b5c9ad9e
direct: More code style changes
2023-02-22 11:52:19 +01:00
rdb
9a15e9245c
direct: Additional cleanup, update .pylintrc file
2023-02-22 02:44:53 +01:00
rdb
88a6484ab3
PythonUtil: Remove unused "superlog" functions
2023-02-20 20:59:33 +01:00