Commit Graph

25984 Commits

Author SHA1 Message Date
rdb d368fac3e3 pstats: Update macOS timeline view to show more of collector name
Now shows the parent collector name if there's room and a single character if there's no room for anything more, just like the other implementations
2023-10-14 14:25:45 +02:00
rdb 10110cbfff CMake: Build PStats port for macOS 2023-10-14 12:59:18 +02:00
rdb 98330b586f Add setuptools to requirements-test.txt 2023-10-14 12:58:45 +02:00
rdb 6f89b8e720 makepanda: Remove stray distutils import 2023-10-13 23:32:48 +02:00
rdb e627c7c63d particles: Fix deprecation warning 2023-10-13 23:30:21 +02:00
rdb 5b041474ff glgsg: Fix wrong value for deprecated shadowMatrix shader input 2023-10-13 23:29:21 +02:00
rdb e01cb590de Merge branch 'release/1.10.x' 2023-10-13 23:24:48 +02:00
rdb c45e14a563 interrogatedb: Switch T_OBJECT to T_OBJECT_EX for this_metatype
T_OBJECT has been deprecated.
2023-10-13 21:21:29 +02:00
WMOkiishi 098fe634a5
task: Annotate core functions (#1548) 2023-10-13 21:20:20 +02:00
rdb bf456baa35 workflow: Skip Python 3.12 tests on Windows for now
Until we've added Python 3.12 to thirdparty packages
2023-10-13 13:35:40 +02:00
rdb e4738194d5 pfreeze: use clang, fix missing path with non-system Python on macOS 2023-10-13 13:22:17 +02:00
rdb 2a5228b05f Fix compatibility with Python 3.12 by removing use of imp module
Some modules (such as VFSImporter, and various modules in direct.p3d that depend on it) are still unavailable.
2023-10-13 13:21:34 +02:00
rdb 7f0eafcc27 workflow: Disable Python 3.7 CI, enable Python 3.12 CI 2023-10-13 12:10:08 +02:00
rdb 225b577ccd tests: Skip Cg tests on arm64 machines 2023-10-13 10:55:17 +02:00
Mitchell Stokes 893f5ce492 Fix assert on Py_SIZE(long) when using Python 3.12
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
Mitchell Stokes 521cad206d makepanda: Stop using deprecated distutils (#1549)
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.

Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
David Crompton ad8882123b Panda3DToolsGUI: Update setup.py to use setuptools and change Print statements to Python3 syntax 2023-10-11 19:25:42 -07:00
rdb 5685949588 shader: Fix regression fetching material shader inputs 2023-10-11 16:07:55 +02:00
rdb 79a60688ce pnmimage: Support reading of .bmp files with RLE8 compression 2023-10-11 15:53:57 +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 b8ea788440 display: Fix shadowViewMatrix regression for NodePath shader inputs
Stopped working in ba388e2866
2023-10-09 17:44:36 +02:00
rdb 93a75d8fe2 Merge branch 'release/1.10.x' 2023-10-09 17:43:02 +02:00
rdb d5263b597b makepanda: Strip version suffixes when parsing setup.cfg metadata
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb a2fa54f385 gobj: fix `_contexts != nullptr` assert when prepare fails 2023-10-09 16:52:45 +02:00
rdb dcc96a60b1 makepanda: Make version parsing in CreatePandaVersionFiles more robust 2023-10-09 16:50:59 +02:00
rdb ae4151c9e1 showbase: Fix import of Loader if AudioLoadRequest is not available 2023-10-09 12:51:52 +02:00
rdb 86aa437804 dtoolbase: Fix static init ordering regression
This was a regression in bf65624298 that caused crashes on startup in static builds due to the "small" DeletedBufferChain array not being initialized early enough

For some reason it wasn't being constant-initialized, it is now by setting the _buffer_size field to 0 initially and changing it later in get_deleted_chain
2023-10-09 12:49:04 +02:00
WMOkiishi 1ca0e3f1ea
directnotify: annotate types (#1527) 2023-10-09 09:46:32 +02:00
rdb 526994c302 pview: Don't require a window in screenshot mode 2023-10-08 23:36:59 +02:00
rdb e5869ac750 pview: Fix camera positioning differences with offscreen window 2023-10-08 23:30:00 +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 2c727940ae glgsg: Fix code issue with new integer ShaderMatSpec 2023-09-18 14:11:22 +02:00
rdb cb4597ebb8 shader: Pass built-in array shader input in one go
This applies to `p3d_TextureMatrix[]` and `p3d_ClipPlane[]`

This is more efficient and also works around Apple driver bugs (like #846)

Fixes #883
2023-09-17 19:18:40 +02:00
rdb ba388e2866 shader: More efficient state-based shader input fetching
Previously every input was fetched as a matrix.  Now, every input is fetched as a vector, with matrices taking up multiple vectors.  This saves a lot of copying and a lot of space in the cache.

Furthermore, integer state-based inputs can be defined (for future use)

Naming still needs to be revised, since it's called the "mat part cache" etc.
2023-09-17 17:54:17 +02:00
rdb c99fe581d3 Merge branch 'release/1.10.x' 2023-09-16 09:57:09 +02:00
rdb 27daecf030 Add .DS_Store to .gitignore 2023-09-16 09:52:55 +02:00
rdb 8596207d8e directnotify: Don't assume presence of softspace attribute 2023-09-16 09:50:55 +02:00
rdb 144479d8e4 cocoa: squelch secure restorable state warning on macOS 14 2023-09-16 09:50:17 +02:00
rdb 71154492b9 pstats: Add macOS port
Closes #1531
2023-08-30 15:08:46 +02:00
rdb aa13953f2b makepanda: Fix error in plistlib.load invocation 2023-08-30 15:06:17 +02:00
rdb b22b970d10 makepanda: Require macOS SDK 10.12 or higher
This does not remove support for older macOS versions, they can still be targeted by newer SDKs (10.9 can still be targeted by the macOS 12 SDK)

I would like to require macOS 11 SDK, but we still need 10.13 for FMOD
2023-08-29 22:51:17 +02:00
rdb e6f4128c0b makepanda: Add macOS SDK versions 14.0, 13.3 2023-08-29 22:51:17 +02:00
rdb 577dc25130 pstats: Fix erroneous highlight in strip chart before oldest frame 2023-08-29 22:51:17 +02:00