Commit Graph

12344 Commits

Author SHA1 Message Date
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 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
rdb b417d6a373 backport: A few thread safety things for free-threaded builds 2025-08-28 11:34:37 +02:00
rdb aa554a2130 task: Backport fix for generators without send()
Backport of 00b5357b8e
2025-08-28 10:25:11 +02:00
rdb d63f708e2c pstats: Actually support large frames (remove check)
Fixes #1574
2025-08-26 12:59:18 +02:00
rdb 00b5357b8e task: More robust handling of iterators without send()/throw() 2025-08-26 12:22:47 +02:00
rdb 66c9264f30 bam: Add forward compatibility for bam 6.46
See #1657 and 052bd77030
2025-08-03 12:00:10 +02:00
rdb 052bd77030 loader: Remember type of loader object used to load models
Fixes #1657
2025-08-03 11:56:56 +02:00
rdb e57c71d8e4 event: Change result of AsyncFuture gather() to return list
Better matches asyncio gather

See #1738
2025-07-28 15:43:12 +02:00
rdb 9a2da04573 Merge branch 'release/1.10.x' 2025-07-28 15:41:08 +02:00
rdb ab357ea120 tinydisplay: Try to fix SDL compile errors
Fixes #1708
2025-07-28 15:29:56 +02:00
rdb 0a94971f1a event: Fix memory leak I just introduced in 41e4cf5 2025-07-28 15:26:35 +02:00
omg-really 85e4d0734d bam2egg: Fix support for more than two tags
Fixes #1725
2025-07-28 15:20:01 +02:00
rdb a70d7c8012 collide: get_wrt_mat() et al should return a copy
Fixes #1725
2025-07-28 15:19:14 +02:00
rdb 5bc9b70e86 event: Make cancel() for regular tasks work like remove()
Fixes #1741
2025-07-28 15:18:03 +02:00
rdb 6ef4699a48 collide: Fix potential use-after-free with transform cache disabled
Fixes #1733
2025-07-28 15:10:31 +02:00
rdb 41e4cf5d11 event: Fix `await gather()` returning first item instead of tuple
Fixes #1738
2025-07-28 14:58:42 +02:00
rdb 2767bddbe6 x11: Add config vars to disable usage of X11 extensions 2025-07-28 10:05:10 +02:00
rdb de4865b324 putil: grab GIL while decreffing function 2025-07-28 10:01:11 +02:00
omn14 98a50a794d
x11: Add function for detecting auto repeat key events (#1735) 2025-04-16 13:52:24 +02:00
omn14 33e6ed8907
physics: Add support for distance-based falloff (#1731) 2025-04-15 15:59:15 +02:00
rdb eae39b339c collide: Fix CollisionNode owner crash (grab GIL when destructing) 2025-04-15 10:45:05 +02:00
rdb 7c16720bb9 webgl: Improve canvas resizing behavior
Automatically resize canvas to the CSS size
2025-02-25 12:11:24 +01:00
rdb 85541de504 grutil: Add support for playing video via HTML video+WebGL 2025-02-24 22:45:48 +01:00
rdb c960874d4e downloader: Add url property to VirtualFileHTTP 2025-02-24 20:07:31 +01:00
rdb ab57b3c72f downloader: Fix HTTP downloads on latest emscripten 2025-02-24 20:06:28 +01:00
rdb f4da124b50 pgraphnodes: Add setter for shadow buffer sort 2025-02-22 11:06:31 +01:00
rdb a7f8c57681 display: Add per-shader PStats timer for compute dispatches
Also add a total work group counter

Fixes #1721
2025-02-05 10:12:52 +01:00
rdb c729c75b29 display: Add queries for max work group count/size/invocations
Fixes #1713
2025-02-05 10:03:54 +01:00
rdb 79d6727077 Move MAIN_DIR initialization code from interrogate to panda3d
Using the new -init flag, see panda3d/interrogate#3
2025-02-02 20:11:32 +01:00
rdb 0404febf96 windisplay: Fix IME result not showing up without `ime-aware true` 2025-01-30 14:13:15 +01:00
rdb e681c17215 glgsg: Use glClearTexImage even when tex has no storage
Just use glTexImage with null image to create the storage first, then
clear it, this prevents needlessly generating a filled RAM image on the
CPU
2025-01-30 11:58:25 +01:00
rdb 99b3888712 gobj: Fix Texture::clear_clear_color() 2025-01-30 11:38:00 +01:00
rdb f6f391bd3d glgsg: Don't override texture clear color for FBO attachments
This applies to FBOs without a clear set; the clear color set on the
texture should determine the initial color.
2025-01-30 11:36:23 +01:00
rdb 8114971c56 webgl: Improve handling of canvas focus
Can now forcibly focus to the canvas with a foreground request, and now
focuses automatically on window open (except if requested not to)
2025-01-29 17:05:21 +01:00
rdb 1281875cbc linmath: Fix degenerate case in decompose_matrix
Regression in 583f7366db
2025-01-29 17:05:16 +01:00