Commit Graph

24172 Commits

Author SHA1 Message Date
rdb 6010c711c0 tests: Add bin dir to PATH when running FreezeTool test 2024-10-30 14:14:25 +01:00
rdb 5b80f19d01 Changes in preparation for Python 3.14 2024-10-30 14:13:44 +01:00
rdb f47b34d2a1 Fix remaining uses of ._PyType member in extension code
This should be replaced with Dtool_GetPyTypeObject, hiding the implementation details a bit so that we can more easily change the underlying structure if we need later

Also adds Py_NewRef to py_compat.h, backporting from master
2024-10-30 13:26:34 +01:00
rdb df5f8d77da makepanda: Build fixes for Python 3.13t on Windows 2024-10-30 13:17:33 +01:00
rdb e238588118 makepanda: Fix wrong flag for excluding pythonXX_d.lib 2024-10-30 13:17:11 +01:00
rdb 0ba2aadcd6 Introduce Py_IS_TYPE, use for Py_TYPE comparisons 2024-10-30 13:17:11 +01:00
rdb 64454b1c9f Replace direct uses of ob_type, which gives problems in nogil build 2024-10-30 13:17:11 +01:00
rdb 10da05e2a6 workflow: Skip Windows builds for Python 3.13 for now 2024-10-30 12:53:54 +01:00
rdb f9a5445d42 workflow: Test Python 3.13, update setup-python to v5 2024-10-29 19:23:47 +01:00
rdb dbeab0b97b makepanda: Backport Python 3.13t build fixes 2024-10-29 19:20:27 +01:00
rdb 12bb7d12bb showbase: Fix DistancePhasedNode exception at module clean-up time 2024-10-29 17:34:48 +01:00
rdb 9cbc45b9bf collide: Handle CollisionBox bam read without 2D info 2024-10-28 11:57:27 +01:00
rdb d758d2b232 pgui: Fix crash when PGEntry removes itself w/ background focus
Fixes #1650
2024-10-24 16:41:56 +02:00
rdb aa0462a35a fsm: Fix "no attribute notifier" error in requestNext/Prev
Fixes #1644
2024-10-24 16:17:49 +02:00
rdb b022fc9301 stdpy: Fix glob not finding files in VFS
Half of fix to #1675
2024-10-24 16:10:35 +02:00
rdb 42e2659636 filter: Add Khronos PBR Neutral tonemapping operator
Closes #1661
Fixes #1659

Co-authored-by: Raytopia <54505044+raytopianprojects@users.noreply.github.com>
2024-10-24 15:42:55 +02:00
rdb 822d35d15b putil: Minor SimpleHashMap::remove() optimization 2024-10-14 14:26:20 +02:00
rdb 52a7224d6e Fix various compiler warnings 2024-10-14 12:05:27 +02:00
rdb 51e469d065 Update BACKERS.md
[skip ci]
2024-10-10 19:41:14 +02:00
rdb cd2e3dfde9 dxgsg9: Fix crash on window event after `close_window()` 2024-10-10 01:08:54 +02:00
rdb beb49b3cd3 dxgsg9: Fix some format handling, support for r32f and rgba32f textures 2024-10-03 13:43:22 +02:00
rdb 0ea0d5fa2b dxgsg9: Fix crash when copying inverted framebuffer to texture RAM 2024-10-03 13:36:02 +02:00
rdb 51876c6116 dxgsg9: Fix crash with buffer when there is no depth buffer 2024-10-03 13:36:02 +02:00
rdb c05a63f4ae pipeline: Fix compile error without pipelining enabled
Closes #1684

[skip ci]
2024-09-21 10:55:05 +02:00
rdb cdafd81764 Fix compilation issues with Python 3.13 2024-09-19 15:47:50 +02:00
rdb e70d0b47fc distributed: Fix very minor memory leak 2024-09-19 14:20:35 +02:00
rdb d7ede81aa3 cocoa: Fix compile error with MacOSX 10.6 SDK 2024-09-19 11:15:44 +02:00
rdb 9f493f588d display: Fix significant memory leak on newer macOS versions
It seems the Metal-based OpenGL driver uses autorelease a lot for resources that last only a single frame, so we need to create an autorelease pool around the frame lest the resources will only get cleaned up at application exit.
2024-09-19 00:23:06 +02:00
rdb 756fe2e72b cocoa: Fix a very minor memory leak in DisplayInformation 2024-09-18 23:51:09 +02:00
rdb e2fb2d1241 cocoa: Prevent eating keyUp when switching to FS from macOS' FS 2024-09-16 13:39:16 +02:00
rdb c7bcec1ff5 cocoa: Exit macOS' fullscreen mode when switching fullscreen
Prevents black screen when switching to fullscreen
2024-09-16 13:39:16 +02:00
rdb 82b9a1266c cocoa: Fix error when switching to FS while macOS' FS is active 2024-09-16 13:39:16 +02:00
rdb 9e87af9dd7 linmath: Fix compiler warning with gcc 14 2024-08-14 19:09:20 +02:00
rdb 8d1524b675 distort: Fix unprotected debug output 2024-08-14 19:09:08 +02:00
rdb 78ace53dbe dtoolutil: Fix typo in pfstream causing compiler warning 2024-08-14 19:08:49 +02:00
rdb ddaeb05367 Fix compilation when building without bison 2024-08-14 19:08:16 +02:00
rdb 057c3f5476 Update BACKERS.md
[skip ci]
2024-08-07 22:26:33 +02:00
rdb 8c8cbeea98 linmath: For repr, use as much precision as needed for roundtrip
Will use as few digits as is necessary to ensure that round-tripping the same number with pstrtod will result in the same vector.  This prevents eg. 3.3 formatting as 3.29999995 while still ensuring that two floats that are not equal (other than nan) are guaranteed to have a different string representation.

Uses a hacky pftoa function that can be abandoned as soon as we adopt C++17, which has to_chars that does what we need

Fixes #1671
2024-08-07 17:24:11 +02:00
rdb ca7ba4eab3 py_panda: Add Dtool_GetPyTypeObject macro
This is a cleaner, future-proof way of accessing a Panda type as PyTypeObject pointer
2024-08-07 15:53:27 +02:00
rdb b8d6c7a2ef workflow: Update macOS-11 to macOS-12 runner 2024-08-07 11:57:19 +02:00
rdb 46833e9144 Update BACKERS.md
[skip ci]
2024-08-07 11:56:55 +02:00
rdb 122453811d glgsg: Fix clear of offscreen buffer if back buffers requested 2024-06-30 11:53:17 +02:00
rdb b6ec48b27c Fix invalid metadata version 2.0 (should be 2.1) 2024-05-28 22:28:37 +02:00
rdb 105f938d68 interrogate: Fix non-deterministic order of external import types
Fixes #1651
2024-05-28 11:11:21 +02:00
rdb a655784d8d x11: attempt to fix UTF-8 window titles (see #209) 2024-05-16 20:30:27 +02:00
rdb 2436a06527 glgsg: Better error when invalid ShaderPtrSpec type is encountered 2024-05-14 22:45:01 +02:00
Disyer a9206041d9 ffmpeg: Use ch_layout in favor of removed channel_layout and channels
Closes #1641
2024-04-08 13:32:51 +02:00
rdb 5da013e2e9 text: Properly handle surrogate pairs in text on Windows
Fixes #1629
2024-04-08 12:12:00 +02:00
rdb 2adc167f26 windisplay: Fix regression related to fullscreen switching
Fixes #1594
2024-04-08 11:29:43 +02:00
rdb 0e2a706ec8 audio: Fix changing sound time not working on macOS
Fixes #1607
2024-03-27 12:02:12 +01:00