Commit Graph

7724 Commits

Author SHA1 Message Date
rdb 6f2231620d build_apps: Add bam_embed_textures option 2024-10-31 13:07:02 +01:00
rdb 5dcd70dcb5 build_apps: Fix wrong relative paths with bam_model_extensions
Fixes #1642
2024-10-31 13:07:02 +01:00
rdb e5ac1d0141 build_apps: Don't warn about missing ld-linux lib on aarch64 2024-10-31 13:07:02 +01:00
rdb 27ce5c991e dist: Python 3.13 requires macOS 10.13+ 2024-10-30 14:57:35 +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 12bb7d12bb showbase: Fix DistancePhasedNode exception at module clean-up time 2024-10-29 17:34:48 +01: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 52a7224d6e Fix various compiler warnings 2024-10-14 12:05:27 +02:00
rdb e70d0b47fc distributed: Fix very minor memory leak 2024-09-19 14:20:35 +02:00
rdb ddaeb05367 Fix compilation when building without bison 2024-08-14 19:08:16 +02:00
rdb 1f41edd0a0 dist: Remove panda3d dependency for global dist hook
Fixes #1624
2024-03-27 11:23:17 +01:00
rdb a50b9d83aa interval: Fix creating LerpFunctionInterval from partial
Fixes #1623
2024-03-27 11:10:08 +01:00
rdb 8c74919a8b dgui: Make copy of mutable default value
Fixes #1587
2024-01-23 14:51:44 +01:00
rdb 0cc3f8fbf6 dist: Fix error when using bam_model_extensions with bdist_apps 2023-12-09 23:55:01 +01:00
rdb b4e8cf6958 dist: Fix crash running deploy-stub on arm64 with 16 KiB pages
arm64/aarch64 kernels may be configured with 4K, 16K or 64K pages, 16K seems to be most common.

The alignment does cause a big waste of space, we may have to revisit the use of mmap, or just mmap the whole executable
2023-10-22 11:29:23 +02:00
rdb 2539de14fc wxwidgets: Fix some issues with WxSlider, code cleanup 2023-10-22 11:27:15 +02:00
rdb 26fae21cb9 showbase: Suppress deprecation warning 2023-10-15 16:29:11 +02:00
rdb ab0c177c79 showbase: Fix redundant call to `entry_points()` in Loader 2023-10-15 14:26:56 +02:00
rdb b2465c3b38 tests: Fix running tests on Windows and with Python 2.7 2023-10-14 17:31:35 +02:00
rdb c1c035d5c9 showbase: Switch Loader entry point detection to importlib.metadata
Only in Python 3.8 and up, where this module is available, otherwise it falls back to pkg_resources

Add unit test for custom entry point loaders
2023-10-14 11:27:46 +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 8596207d8e directnotify: Don't assume presence of softspace attribute 2023-09-16 09:50:55 +02:00
rdb 360bf20933 dcparser: Fix segfault with nested struct or switch
Fixes #1499
2023-08-04 14:02:13 +02:00
rdb c08353dea7 showbase: Don't disable Windows mesasge loop with multi-threaded pipeline
Fixes half of #1494
2023-08-04 13:52:11 +02:00
rdb 3df594a6dd dist: Add hidden import for shapely
[skip ci]
2023-05-08 19:50:21 +02:00
rdb 1072e6bf1a dist: Show better error message when targeting outdated platform
This occurs if someone explicitly mentions eg. manylinux1 in their platforms list and then updates to Python 3.10
2023-05-08 18:30:25 +02:00
rdb 3f76f4aa70 dist: Strip out delvewheel patch from packaged Python code
Fixes #1492
2023-05-08 18:18:42 +02:00
rdb 622eda951f dist: Implement fallback for sysconfig for FreezeTool (see #1395) 2023-02-24 22:24:41 +01:00
rdb 79ba760319 direct: Backport assorted fixes from master 2023-02-24 22:20:01 +01:00
rdb 6cfa73d268 dist: Add hidden import for setuptools.monkey -> setuptools.msvc 2023-02-24 22:19:33 +01:00
rdb 0fdb8a244b dist: Silently ignore missing hidden imports 2023-02-24 22:19:03 +01:00
rdb ed4d2a2280 dist: Add support for emscripten platform to FreezeTool.py 2023-02-24 22:05:05 +01:00
rdb 93670b5942 dist: Strip .abi3.so suffix from libraries 2023-02-20 18:32:04 +01:00
rdb ccd1d4727d dist: Add hidden imports for older scipy version 2023-02-20 18:31:54 +01:00
rdb 718f72fe01 cluster: Fix typo in ClusterServer.addControlMapping 2023-02-20 18:25:28 +01:00
rdb 5ecd6249d1 directdevices: Fix typo in DirectDeviceManager.normalizeChannel 2023-02-20 18:24:15 +01:00
rdb 92e3dbbe58 dist: Remove dead code in Icon class 2023-02-20 18:04:35 +01:00
rdb 127798437f particles: Fix missing import in ParticleFloorTest 2023-02-20 18:04:22 +01:00
rdb a3f6a62de0 showbase: Fix undefined function use in ProfileSession.py 2023-02-20 18:04:04 +01:00
rdb afd3df8ef1 tkpanels: Fix use of removed `cmp()` function 2023-02-20 17:44:37 +01:00
rdb 6aef8159b1 leveleditor: Fix use of removed `cmp()` function 2023-02-20 17:29:00 +01:00
Disyer 6cb074e5c8 distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro

Closes #1430
2023-01-16 15:14:31 +01:00
rdb eafcfe1d70 motiontrail: Fix Python implementation error in double-prec mode 2022-12-19 15:17:19 +01:00
rdb 32297ecd02 showbase: Fix some members not showing up in API documentation 2022-12-16 19:37:49 +01:00
rdb 42372e139c motiontrail: Update API documentation 2022-12-16 19:37:28 +01:00
rdb 19186781f3 motiontrail: Clean up and optimization of C++ implementation 2022-12-16 16:14:06 +01:00
rdb 8ab37b8804 motiontrail: Add easier way to call `add_vertex()`
Currently, you must pass in a function, which is a little awkward compared to just passing in a position.  Now you can just pass in a vertex position, similar to the C++ interface.
2022-12-15 17:58:46 +01:00