Commit Graph

8115 Commits

Author SHA1 Message Date
rdb 712300c9f1 Fix prebuilt bison cxx files includes to work with CMake build
Change makepanda to generate without the .yxx extension so that the include name is generated properly
2024-08-13 00:01:35 +02:00
rdb 4ca495d828 CMake: Add separate BUILD_TOOLS option to build binaries
This is separate from BUILD_PANDATOOL, which builds the pandatool tree
2024-08-12 16:39:20 +02:00
Drew Rogers 37152710b7 showbase: Add functions to get interval for Iris Transitions 2024-08-09 15:05:43 +02:00
Wizzerinus 3ffcce2cc2 add getPlayMode() for actor and anim interface 2024-05-14 11:06:06 +02:00
rdb 1213d95560 Merge branch 'release/1.10.x' 2024-03-28 01:17:52 +01: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 92db1840f9 net: Prepare to split these classes out into panda3d.net module
See #1466 - these classes are still part of panda3d.core as of 1.11, but they should really be imported from panda3d.net (they can be imported from either place in 1.11).  A future release will remove them from panda3d.core entirely.
2024-03-02 13:41:23 +01:00
darktohka b049c891d1 ext: Use different names for each gen_next method 2024-02-10 23:49:28 +01:00
rdb 73360393df Switch use of Py_INCREF to new Py_NewRef function
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on

A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
rdb ecc1e30ef6 Merge branch 'release/1.10.x' 2024-01-23 16:56:38 +01:00
rdb 8c74919a8b dgui: Make copy of mutable default value
Fixes #1587
2024-01-23 14:51:44 +01:00
rdb 9145b6c729 Merge branch 'release/1.10.x' 2024-01-04 16:36:03 +01:00
rdb 0cc3f8fbf6 dist: Fix error when using bam_model_extensions with bdist_apps 2023-12-09 23:55:01 +01:00
rdb 3833a35fa9 Merge branch 'release/1.10.x' 2023-10-22 12:06:18 +02: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
WMOkiishi 0380a60e58
tests: Fix mypy test (#1551) 2023-10-22 10:34:46 +02:00
rdb 277460061e Merge branch 'release/1.10.x' 2023-10-15 23:02:47 +02:00
rdb 02e6487585 dist: Fix odd FreezeTool.addModule behavior with empty text 2023-10-15 22:58:00 +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 36bcfe7705 dist: Switch build_apps from pkg_resources to importlib.metadata 2023-10-15 13:51:36 +02:00
rdb a6ab238abc Merge branch 'release/1.10.x' into incoming 2023-10-14 21:35:00 +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 e627c7c63d particles: Fix deprecation warning 2023-10-13 23:30:21 +02:00
rdb e01cb590de Merge branch 'release/1.10.x' 2023-10-13 23:24:48 +02:00
WMOkiishi 098fe634a5
task: Annotate core functions (#1548) 2023-10-13 21:20:20 +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 c00f3b18f5 direct: More reduction of reliance on builtins, mypy fixes 2023-10-11 11:07:56 +02:00
rdb 3922800aa4 tkpanels: Fix error running with Python 3.8 2023-10-11 10:26:56 +02:00
rdb b6eee1045a direct: Reduce dependence on builtins, satisfy mypy a bit more 2023-10-11 00:20:34 +02:00
LD ae3cbe4b12
cocoadisplay: Add support for high-dpi screens (#1308) 2023-10-10 16:56:04 +02:00
Kylie Smith e55bb94996 Added missing control message types 2023-10-10 13:03:36 +02:00
rdb f7718b466b direct: Fix assorted issues when using mypyc 2023-10-10 12:52:26 +02:00
rdb ef25b67ddb interval: Remove unrunnable IntervalTest module 2023-10-10 12:45:21 +02:00
rdb ae4151c9e1 showbase: Fix import of Loader if AudioLoadRequest is not available 2023-10-09 12:51:52 +02:00
WMOkiishi 1ca0e3f1ea
directnotify: annotate types (#1527) 2023-10-09 09:46:32 +02:00
rdb b99b3dc7d4 directnotify: Fix invalid syntax 2023-10-08 17:22:37 +02:00
rdb c63a92bdec directnotify: Fix RotatingLog filePath error when sizeLimit is None 2023-10-08 17:12:08 +02:00
rdb 8596207d8e directnotify: Don't assume presence of softspace attribute 2023-09-16 09:50:55 +02:00
rdb 9de9b8c680 directnotify: Remove obsolete softspace attribute from RotatingLog 2023-08-26 11:15:57 +02:00
dakotachasesmith 160ba090a5 clientrepositorybase: Prevent crash on handleUpdateField if updates are handled in Python and repo does not have owner view 2023-08-06 08:09:32 +02:00
WMOkiishi 32edfa43fd direct: Get direct to pass a mypy check
Closes #1476
2023-08-04 14:31:44 +02:00
rdb ab93d88f1b stdpy: Remove obsolete check for None function on module shutdown
This behaviour was removed in Python 3.4 so should no longer be an issue
2023-08-04 14:28:52 +02:00
rdb f80cd08993 Remove support for EOL Python versions 3.6 and 3.7 2023-08-04 14:20:59 +02:00
rdb a68ecb9765 Merge branch 'release/1.10.x' 2023-08-04 14:07:41 +02:00
rdb 360bf20933 dcparser: Fix segfault with nested struct or switch
Fixes #1499
2023-08-04 14:02:13 +02:00