Commit Graph

8198 Commits

Author SHA1 Message Date
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 bd4b3dd1a7 showbase: Rewrite VFSImporter for newer Python import system
Fixes #1718
2025-07-28 20:35:00 +02:00
WMOkiishi ddcfee18b4
showbase: Annotate methods of Event, Interval, and Job Managers (#1762) 2025-07-28 11:15:23 +02:00
omn14 33e6ed8907
physics: Add support for distance-based falloff (#1731) 2025-04-15 15:59:15 +02:00
WMOkiishi 5435579567
showbase: Annotate basic `Messenger` methods (#1726) 2025-04-06 10:10:50 +02:00
WMOkiishi 4b4fa03895
direct: Annotate functions called directly by top-level code (#1727) 2025-04-06 10:10:15 +02:00
WMOkiishi 8de98592ca
showbase: Annotate basic `Loader` methods (#1723) 2025-02-19 18:59:19 +01:00
rdb ea1cbe47ac dist: Add missing hidden import for panda3d.core on enum 2025-02-02 20:07:10 +01:00
WMOkiishi b0e1e0c75a showbase: Annotate callback methods 2025-02-02 09:28:25 +01:00
WMOkiishi eb5366b991
tests: Update mypy to version 1.14.1 (#1715) 2025-01-16 16:04:09 +01:00
rdb 46cf9c0507 showbase: Fix Loader when destroying and recreating ShowBase 2024-12-14 14:47:28 +01:00
rdb 343ec6b367 showbase: Create Loader before ShowBase, importable from ShowBaseGlobal
This makes it possible to load models before opening ShowBase
2024-12-14 12:57:27 +01:00
rdb ff111132f4 android: Draw to whole window, ignoring contentRect
This contentRect is quite odd and blocks out a big chunk at the top of the screen which doesn't really seem to correspond to anything
2024-11-27 18:11:10 +01:00
rdb d87cbbce62 dist: Validate application_id when building for Android 2024-11-27 18:10:18 +01:00
rdb 7d753d479f dist: Set various AndroidManifest.xml attribs, support appCategory 2024-11-27 17:17:12 +01:00
rdb 6f0fa2b4ec dist: Fix for Android configuration changes restarting app
Intended to address most of #1216
2024-11-27 17:09:29 +01:00
rdb a855071bcf showbase: Fix regressions on Android due to not running on main thread 2024-11-27 15:57:05 +01:00
rdb d6acaaffb0 dist: Android fixes, esp. for Python 3.13
This changes the use of sys.executable to sys.platlibdir, which requires Python 3.9+ (but that's probably okay since Python 3.8 is EOL)

Python 3.13 has proper official Android support, including built-in stdout/stderr redirection, but it only does so if sys.executable is not set
2024-11-27 00:21:11 +01:00
rdb 55fa0e9912 Merge branch 'release/1.10.x' 2024-10-31 13:13:00 +01:00
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 957c4b9bce Merge branch 'release/1.10.x' into master 2024-10-30 18:40:32 +01:00
rdb 27ce5c991e dist: Python 3.13 requires macOS 10.13+ 2024-10-30 14:57:35 +01:00
rdb 7560a1edd1 Merge branch 'release/1.10.x' 2024-10-30 13:42:21 +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 5f96cc592e Merge branch 'release/1.10.x' 2024-10-27 09:40:52 +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
WMOkiishi f5b0b1e1d6
showbase: Annotate basic `ShowBase` setup/shutdown methods (#1558) 2024-10-24 15:57:36 +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
Drew Rogers 38261d4bb2
showbase: Patch for iris intervals 2024-09-25 22:34:19 -05:00
rdb beff684af3 Further thread safety changes for Python 3.13 free threading
See #1683
2024-09-19 20:43:06 +02:00
rdb 5106fc879f Changes for compatibility with Python 3.13
Includes some preliminary work to make free-threading safe, see also #1683
2024-09-19 16:01:10 +02:00
rdb b32459ffa1 Merge branch 'release/1.10.x' 2024-09-19 15:51:25 +02:00
rdb e70d0b47fc distributed: Fix very minor memory leak 2024-09-19 14:20:35 +02:00
Timothy Choi 8caf582b32
refactor(distributed): Un-nest generateGlobalObject's applyFieldValues function (#1667) 2024-09-16 13:55:53 +02:00
rdb ddaeb05367 Fix compilation when building without bison 2024-08-14 19:08:16 +02:00
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