Commit Graph

1227 Commits

Author SHA1 Message Date
rdb fef27a7cb0 Update emscripten to 4.0.2, Python to 3.12.8, enable bulk memory 2025-02-03 18:09:00 +01:00
rdb 6452907b64 Improvements for env handling with node.js and emscripten
- Initializes the environment so that getenv et al works properly
- No longer calls JS functions at static init time; the JS preamble will
  pass the right env vars to ExecutionEnvironment
- Sets the binary name to the path of the .js file
2025-02-03 18:06:30 +01:00
rdb 8a1159f4a7 makepanda: Only build pnmimagetypes with exceptions if using OpenEXR 2025-02-02 20:12:17 +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 598a94abfc android: Set minimum to API level 21
[skip ci]
2024-12-26 15:00:55 +01:00
rdb 8a1d0f7a5a makepanda: use javac from JAVA_HOME, check for deprecations 2024-11-27 16:00:59 +01:00
rdb 44a41168bc makepanda: Fix assorted Android compile / package issues 2024-11-26 16:41:13 +01:00
rdb 36d07e478c makepanda: Remove unnecessary filesystem flags for emscripten run_tests 2024-11-06 11:14:08 +01:00
rdb 221d35d3a6 Allow running test suite with emscripten via node.js 2024-11-04 18:40:30 +01:00
rdb 8fcaea6e90 makepanda: pip-install interrogate before setting PYTHONHOME 2024-11-04 18:40:30 +01:00
rdb 5722e40520 makepanda: Expand tilde in -incdir and -libdir options 2024-11-04 18:40:30 +01:00
rdb 7a690bb071 makepanda: Link libmpdec.a et al in emscripten even with custom libdir 2024-11-04 18:40:30 +01:00
rdb f4d9a67888 makepanda: Add missing static libs for Python 3.12 emscripten build 2024-11-03 23:57:04 +01:00
rdb 5b6318e77f makepanda: Don't set macOS deployment target to 10.13 except when linking with Python
This prevents building for multiple Python versions in the same build

[skip ci]
2024-10-30 21:00:12 +01:00
rdb cfe3726aeb makepanda: Python 3.13 requires macOS 10.13 2024-10-30 18:40:52 +01:00
rdb 6d54aee0c7 Remove runtime dependency on interrogatedb 2024-10-30 17:46:26 +01:00
rdb 7560a1edd1 Merge branch 'release/1.10.x' 2024-10-30 13:42:21 +01:00
rdb e238588118 makepanda: Fix wrong flag for excluding pythonXX_d.lib 2024-10-30 13:17:11 +01:00
rdb f50fef3744 Switch over to C++14, drop support for MSVC 2015
The main reason is that the current development version of Eigen requires C++14 to be enabled, so otherwise we can't compile with the latest Eigen.

If really needed, we can keep support for MSVC 2015 (please make your voice heard) but that would lock us out of a few features of C++14.
2024-10-19 13:16:36 +02:00
gabe ad97e88a54
Enable OpenAL-Soft extensions for non-framework builds and add config for disabling HRTF (#1620) 2024-10-17 21:34:32 +02:00
rdb ca25efc5f6 makepanda: Remove --memory-init-file flag on emscripten
[skip ci]
2024-10-12 09:57:18 +02:00
rdb 7f88f6de24 makepanda: Silently ignore --no-maya flags
[skip ci]
2024-08-13 11:24:58 +02:00
rdb ad4ecbcc16 makepanda: Remove Autodesk Maya plug-ins
These now live at https://github.com/panda3d/maya-egg

Fixes #1584
2024-08-13 11:06:31 +02:00
rdb fff9ea594c Split off 3ds Max exporter to a separate repository
It now lives at https://github.com/panda3d/max-egg-plugin

See #1584
2024-08-13 10:59:33 +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 ce4b79750c makepanda: Stop building interrogate
Instead, install it using pip.  If you don't like this, submit a PR or use CMake
2024-08-10 16:55:00 +02:00
rdb ad57762e9f Merge branch 'release/1.10.x' 2024-08-07 22:34:08 +02:00
rdb b6ec48b27c Fix invalid metadata version 2.0 (should be 2.1) 2024-05-28 22:28:37 +02:00
rdb 1213d95560 Merge branch 'release/1.10.x' 2024-03-28 01:17:52 +01:00
rdb d44f9ae3dc makepanda: Use new dist hooks location introduced by 1f41edd
Fixes #1624
2024-03-27 12:01:53 +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
rdb 06b9e3af8b makepanda: Remove net.py(d) file if present
In anticipation of #1466

[skip ci]
2024-03-01 17:50:48 +01:00
rdb 84ed141b2a Squash merge webgl-port branch into master
Adds support for emscripten as a build target / platform, and adds a WebGL renderer back-end
2024-01-25 15:37:38 +01:00
rdb e01cb590de Merge branch 'release/1.10.x' 2023-10-13 23:24:48 +02:00
Mitchell Stokes 521cad206d makepanda: Stop using deprecated distutils (#1549)
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.

Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
rdb 93a75d8fe2 Merge branch 'release/1.10.x' 2023-10-09 17:43:02 +02:00
rdb d5263b597b makepanda: Strip version suffixes when parsing setup.cfg metadata
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb dcc96a60b1 makepanda: Make version parsing in CreatePandaVersionFiles more robust 2023-10-09 16:50:59 +02:00
rdb 71154492b9 pstats: Add macOS port
Closes #1531
2023-08-30 15:08:46 +02:00
rdb aa13953f2b makepanda: Fix error in plistlib.load invocation 2023-08-30 15:06:17 +02:00
rdb f80cd08993 Remove support for EOL Python versions 3.6 and 3.7 2023-08-04 14:20:59 +02:00
rdb f0a4e61fd9 Revert "general: Add headers explaining the renamed config_*.h"
This reverts commit 47f7d3f297.

These header files have been deprecated for years and can be safely removed now.
2023-07-26 20:02:49 +02:00
rdb a5fe1fa4bd tinydisplay: Add Cocoa-based backend
Adds support for tinydisplay rendering on macOS

Fixes #1285
2023-03-22 13:15:06 +01:00
rdb 545ede9d94 cocoa: Split out GL-specific code into new cocoagldisplay module
This makes it possible to create subclasses for tinydisplay and vulkandisplay without having to duplicate code
2023-03-21 23:16:36 +01:00
rdb 3954d43292 makepanda: Create __panda section in deploy-stub on macOS 2023-01-13 13:39:10 +01:00
rdb c82f95ad6b Merge branch 'release/1.10.x' 2022-12-06 20:02:35 +01:00
rdb 0a8e4e31f8 makepanda: Add handling for manylinux_2_28
Note that this version drops 32-bit intel support
2022-12-06 14:43:06 +01:00
rdb a5610f217e Merge branch 'release/1.10.x' into incoming 2022-11-29 20:58:51 +01:00
rdb 50cfdebd9c pstats: Integrate Python profiler with PStats
Enabled with `pstats-python-profiler 1`, requires recent version of PStats server.

Currently, it is limited to the main thread only.  Support for other threads may be added at a later date.
2022-11-29 16:00:09 +01:00
rdb 9bd66baa1c Merge branch 'release/1.10.x' 2022-11-21 19:02:50 +01:00