Commit Graph

12378 Commits

Author SHA1 Message Date
rdb 3d3c2e7b7c text: Give default font a default name
This is mostly so that the texture gets a name other than "_0"
2025-12-31 20:00:09 +01:00
TRIGON69 585c58198a movies: Update FLAC decoder
- Modernized FlacAudio implementation using updated dr_flac APIs.
- Fixed Interrogate syntax error in dr_flac.h by guarding MSVC-specific __int64 types with !defined(CPPPARSER).
- Updated FlacAudioCursor to use PCM frame-based read and seek methods.
- Implemented required callbacks (cb_tell_proc) for modern dr_flac support.

Fixes #1570
Closes #1791
2025-12-29 10:57:32 +01:00
rdb 86d0376054 glgsg: Mark SSBO unbound from all binding points upon deletion
Fixes a consistency issue where the buffer might not be rebound properly
2025-12-22 22:20:57 +01:00
rdb 0e41b62743 Merge branch 'release/1.10.x' 2025-12-22 16:12:54 +01:00
rdb f123cb142d shader: Fix memory corruption with matrix array shader inputs
Fixes #1788
2025-12-22 15:59:06 +01:00
rdb 64b98ea813 GLSL: Add p3d_MetallicRoughnessTexture input mapped to M_metallic_roughness
This new M_metallic_roughness enum value is just an alias of M_selector
2025-12-22 12:43:21 +01:00
rdb 975a9fb484 egg: Add limited forward compatibility for ORM textures
Mainly intended to be able to passthrough 1.11 egg files safely
2025-12-22 12:41:34 +01:00
rdb 33888de3b5 glgsg: Do not prefer depth-stencil ms renderbuffers on macOS
Fixes #1719

Backport of fa64a52fca
2025-12-22 12:13:25 +01:00
rdb 6b3ed01756 framework: Clean up task manager on close_framework()
This prevents crashes due to the tasks it spawns continuing to run

Backport of a32030d46e
2025-12-22 12:01:13 +01:00
rdb d020b25afe windisplay: Fix recursive loop in adjust_z_order
Cherry-pick of 639497310e with alteration
to preserve ABI (replacing an unused bool field)
2025-12-22 11:58:14 +01:00
rdb c8c5ae829d putil: Fix SparseArray get_lowest_on_bit and get_lowest_off_bit
Cherry-pick of d173086a6f
2025-12-22 11:57:03 +01:00
a2cy df4ebca335 audiotraits: Add support for different coordinate systems for 3d audio
Backport of 4705b32943 (#1786)
2025-12-22 11:46:11 +01:00
rdb 04e5cbe706 Add support for (occlusion-)metallic-roughness textures
Existing "selector" mode (which was unused and has been used to
implement ORM textures has been renamed to metallic-roughness, and new
modes have been added for occlusion and occlusion-metallic-roughness.
New GLSL input names have been added.  The .egg format has been
extended.  The Assimp loader has been updated.  The shader generator now
handles occlusion maps, and a unit test for that is added.
2025-12-22 11:44:45 +01:00
rdb f24bcf9739 ode: Add set_first_contact and set_backface_cull to OdeRayGeom
Also deprecated get_params and set_params
2025-12-18 13:47:00 +01:00
a2cy 4705b32943
audiotraits: Add support for different coordinate systems for 3d audio 2025-12-17 23:58:19 +01:00
rdb 12facf4a59 x11: Set x-detectable-auto-repeat to true by default
See #1735
2025-12-06 21:11:03 +01:00
rdb ea55924e59 android: Fix assorted compatibility issues with plyer/pyjnius
pyjnius needs to do env->FindClass in the app thread, which only works if the app thread was created by Java, so I changed android_native_app_glue to do that instead of via pthreads
2025-12-06 21:09:57 +01:00
rdb ba6b66fbb6 android: Fix crash when setting window title on wrong thread 2025-12-06 21:09:09 +01:00
rdb 2c9997ee6d x11: Remove methods added erroneously during bad merge 2025-11-12 11:47:48 +01:00
omn14 a01e039669 x11: Add function for detecting auto repeat key events (#1735)
Cherry-picked from master
2025-11-12 11:44:28 +01:00
rdb 23782ec511 task: Also check for subclasses of coroutine
Apparently Nuitka uses custom coroutine classes that inherit from Python's own coroutine class, causing PyCoro_CheckExact to be inadequate

In the future we may want to check the ABC or check the existence of send/throw methods
2025-11-12 11:41:51 +01:00
jtfedd 56cdea16c9 pgui: Fix bugs with pgSliderBar dragging
Closes #1722
2025-11-10 11:27:47 +01:00
Mohamed Yasser Mostafa 429af9ae57
putil: Add method to clear BamCache on disk (#1774) 2025-11-10 10:37:53 +01:00
rdb 7c7f09241d android: Robustify blob mapping 2025-11-10 00:09:26 +01:00
rdb e809c9eb92 android: Complete support for android:extractNativeLibs=false
This is the non-legacy way to ship native libraries nowadays, leaving them in the .apk so that there doesn't need to be an extraction step and the app takes up less space.
2025-11-09 21:58:08 +01:00
rdb 3d1b897c31 android: Work on supporting extractNativeLibs:false, separate blob
The blob is now stored in a raw resource, so no longer duplicated between each architecture

Setting extractNativeLibs:false doesn't yet work, the remaining step is somehow getting Python to load extension modules that are still part of the apk
2025-11-09 18:02:10 +01:00
rdb 8a23014cc6 android: Set Activity title to window title 2025-11-09 12:07:26 +01:00
rdb 90ca53ac2d android: Fixes to allow Panda to run from the adb shell 2025-11-05 12:50:30 +01:00
rdb 418d041252 pipeline: Fixes for fragile TLS implementation on Android 2025-11-04 23:50:05 +01:00
rdb 4a7e5288c0 express: Fix compiler warning on Android 2025-11-04 22:07:37 +01:00
rdb a40e8f9fb0 android: Fix incorrect usage of ALooper_pollOnce 2025-11-04 22:05:51 +01:00
rdb 9df9409eae cocoadisplay: Fix some DPI handling issues on resize 2025-10-26 11:10:52 +01:00
rdb ba717b0db6 display: Fix compile warning 2025-10-19 14:18:55 +02:00
rdb bd76aba87c audiotraits: fix compile warning on macOS 2025-10-19 14:18:17 +02:00
rdb 57793822fe glgsg: Fix crash if task chain was destroyed before GSG 2025-10-15 20:46:56 +02:00
rdb e415457c05 glstuff: Fix a wrong docstring 2025-10-15 13:40:30 +02:00
rdb 97b3c18960 express: Fix build with older OpenSSL versions 2025-10-15 11:59:07 +02:00
rdb 25ef6112de express: Update SHA256 code in ZipArchive for OpenSSL v3 2025-10-15 11:43:10 +02:00
rdb 2540648ac9 nativenet: Change deprecated sprintf to snprintf 2025-10-10 14:13:17 +02:00
rdb 77fa04adb0 glgsg: Fix typo causing SSBO support not always detected 2025-10-06 21:02:07 +02:00
rdb e68a3db7c9 glgsg: Fix typo causing SSBO support not always detected 2025-10-06 21:01:20 +02:00
rdb e661d02815 glgsg: Fix sharing shaders between GSGs
Fixes #1728
2025-09-14 11:00:26 +02:00
rdb b275a72d0f pstats: Fix version check for ref tracing feature 2025-09-14 09:59:05 +02:00
rdb b32d5c6724 pstats: Enable ref tracing feature in Python 3.13.3+ as well
The fix to Python was backported here.
2025-09-05 09:59:44 +02:00
rdb cd791ca7fc pstats: Add new feature to count Python objects by type
This is useful for profiling cases where the number of Python objects is growing more than expected

Requires Python 3.14a6 and can be enabled with pstats-python-ref-tracer true
2025-09-04 16:29:15 +02:00
rdb d65e46e7b7 pgraph: Track CullableObject memory usage 2025-09-04 14:05:29 +02:00
rdb b6dc37cfb0 pgraph: Fix CullableObject incorrect use of memory usage tracking 2025-09-04 13:46:56 +02:00
rdb 557ce7a841 express: Fix track-memory-usage with DeletedBufferChain off
mark_pointer gets called twice, which is now legal
2025-09-04 13:32:10 +02:00
rdb 0c0eca60d3 express: Error check in set_encryption_password, don't use Dtool_Return_None 2025-09-03 23:38:05 +02:00
rdb d8e9afb3f8 Merge branch 'release/1.10.x' 2025-08-28 11:49:12 +02:00