26495 Commits

Author SHA1 Message Date
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
dependabot[bot]
70c6251c76
build(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 23:15:19 +00: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
3f45a8e367 dtool: Improve memory usage tracking without USE_DELETED_CHAIN
Now all classes that use ALLOC_DELETED_CHAIN participate in memory usage tracking even when USE_DELETED_CHAIN is not set (as long as DO_MEMORY_USAGE is set)
2025-09-04 14:35:56 +02:00
rdb
d65e46e7b7 pgraph: Track CullableObject memory usage 2025-09-04 14:05:29 +02:00
rdb
9427f2b590 dtool: Track DeletedChain memory use even without USE_DELETED_CHAIN 2025-09-04 14:04:48 +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
212ad7486c prc: Fix recursion reading notify-timestamp config.prc variable 2025-09-04 13:31:24 +02:00
rdb
32d2a13751 dtoolutil: Fix missing std:: prefix 2025-09-04 00:57:37 +02:00
rdb
05a610fadf build: Update to interrogate 0.7.0 2025-09-04 00:44:12 +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
2ab3ea39c4 interrogatedb: Name interrogate_request structs
This allows them to be forward-declared
2025-09-03 23:36:43 +02:00
rdb
f5713d1240 cleanup: Fix missing std:: prefixes 2025-09-03 23:36:04 +02:00
rdb
469df73ce7 tests: Add unit tests for send() and throw() on generator wrapper 2025-08-28 12:31:51 +02:00
rdb
2625c19ccf build: Update to interrogate 0.6.1 2025-08-28 12:31:34 +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
86ba156a7b py_compat: Update for Python 3.13 and 3.14 2025-08-28 11:33:12 +02:00
rdb
aa554a2130 task: Backport fix for generators without send()
Backport of 00b5357b8ebfe521851f296b7d555d3ba1cf16f6
2025-08-28 10:25:11 +02:00
rdb
cc6674643e tests: Fix test_typed_writable_subclass for Python 3.14
[skip ci]
2025-08-26 14:20:23 +02:00
rdb
d1f4be7305 py_compat: Add PyUnstable_Object_IsUniquelyReferenced 2025-08-26 14:19:27 +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
WMOkiishi
67e3ccada7
showbase: Annotate some debug functions (#1767) 2025-08-23 10:50:17 +02:00
dependabot[bot]
be2ff15634 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 23:37:23 +02:00
rdb
66c9264f30 bam: Add forward compatibility for bam 6.46
See #1657 and 052bd770300f407b11a428f3cfb74e24515abdd1
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
chandini sri mounika vissamsetti
3564f2df53
readme: Improve bug reporting section with links (#1761)
[skip ci]
2025-08-02 16:44:42 +02:00
WMOkiishi
0e1a3f2ab7
stdpy: Annotate threading functions (#1765) 2025-08-02 16:43:50 +02:00
WMOkiishi
f00cec70e6
showbase: Annotate VFSImporter functions (#1764) 2025-08-02 16:42:58 +02:00
rdb
fe65114cd7 VFSImporter: Add ignore directive for mypy
It's complaining about something in the Python source, nothing we can do
about that
2025-07-28 22:50:52 +02:00
rdb
e4e5d75df7 tests: Fix mypy, Windows test failures 2025-07-28 22:47:16 +02:00
rdb
bd4b3dd1a7 showbase: Rewrite VFSImporter for newer Python import system
Fixes #1718
2025-07-28 20:35:00 +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
535105c373 build: Update to interrogate 0.6.0
Fixes #1743
2025-07-28 15:18:03 +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
WMOkiishi
ddcfee18b4
showbase: Annotate methods of Event, Interval, and Job Managers (#1762) 2025-07-28 11:15:23 +02:00
rdb
7d7a08e66f cppparser: Consider reference types destructible
Fixes #1743
2025-07-28 11:11:32 +02:00
rdb
6a9dde43da workflow: Fix Windows build 2025-07-28 11:11:27 +02:00
rdb
2767bddbe6 x11: Add config vars to disable usage of X11 extensions 2025-07-28 10:05:10 +02:00