25401 Commits

Author SHA1 Message Date
rdb
ecf4d19e83 Merge branch 'release/1.10.x' 2022-05-10 16:12:36 +02:00
rdb
3d55945535 interrogatedb: Add new functions to interrogate_interface.h:
- `interrogate_function_is_constructor()`
- `interrogate_function_is_destructor()`
- `interrogate_wrapper_parameter_is_optional()`
- `interrogate_wrapper_parameter_is_scoped_enum()`
- `interrogate_wrapper_parameter_is_final()`

Only `interrogate_wrapper_parameter_is_optional()` requires a rebuild of the database with the new changes.
2022-05-10 15:58:34 +02:00
rdb
6ab6acfbaf interrogate: Do not write wrappers taking rvalue reference to interrogatedb
These are not actually exported by the Python binding generator anyway
2022-05-10 15:58:34 +02:00
rdb
6fb2acc9cd makepanda: Always build tinydisplay, even without X11, for offline rendering
Closes #1288

Co-authored-by: Brian Gontowski <brian@gontowski.com>
2022-05-10 15:58:34 +02:00
Sergei Korotkov
e3cf5be500 filter: Remove the silly dependency on the ShowBase instance
Closes #1302
2022-05-10 15:58:33 +02:00
rdb
42a19860d5 Fix errors when compiling headers with MinGW 2022-05-10 15:58:33 +02:00
rdb
fbea0056f5 general: Allow compiling Panda headers on Windows without NOMINMAX 2022-05-10 15:58:33 +02:00
rdb
0538106d52 glgsg: Fix half float color buffers with GLES 3 / WebGL 2
Part of fix for #1296
2022-05-10 15:58:32 +02:00
rdb
7b5ec481f3 Merge branch 'release/1.10.x' 2022-05-05 10:44:51 +02:00
rdb
59755a043e distributed: Fix regression from c917a9e (which was fix for #1262)
With that fix, getDatagram would return the wrong result after the datagram was reassigned in C++
2022-05-05 10:44:26 +02:00
rdb
d2fc682fd7 glgsg: Support floating-point FBOs in OpenGL ES 2+
See issue #1296
2022-05-05 10:41:01 +02:00
rdb
d98f966693 display: Extra spam message about what window a flip is done for 2022-05-05 10:38:25 +02:00
Geraldo Nascimento
5ceaf66079 v4l: O_NONBLOCK flag should be OR'ed to O_RDWR or mmap will fail below
Closes #1299
2022-05-05 10:28:55 +02:00
rdb
1b21e604f0 Merge branch 'release/1.10.x' 2022-04-21 11:09:28 +02:00
rdb
98314da00f showbase: Fix BufferViewer frame in non-standard coordinate systems 2022-04-04 10:30:35 +02:00
rdb
e7dd93d0d4 filter: Fix CommonFilters with non-default coordinate system
Fixes #1289
2022-04-04 10:28:18 +02:00
rdb
646611bfa6 workflow: Update GitHub CI builder to Windows 2019 2022-04-04 09:40:42 +02:00
rdb
aab149e75a windisplay: Add debug prints listing display devices and monitors 2022-04-02 20:42:04 +02:00
rdb
3f901243f2 display: Add additional spam prints 2022-04-02 20:40:58 +02:00
rdb
3084fcd8dc dist: Correct fix for android x86_64 ABI
[skip ci]
2022-03-17 13:29:13 +01:00
rdb
e272de8708 dist: Fix accidental error message with x86_64 ABI with Android
[skip ci]
2022-03-17 09:23:38 +01:00
rdb
cafcdede5f dist: Disable _bootlocale injection for Python 3.10+
Python 3.10 removed the _bootlocale module (see bpo-42208)

[skip ci]
2022-03-15 11:20:39 +01:00
rdb
b610a6492e dist: Don't set sys.platform to "android" on Android
Let's just do what upstream does, so that there are no surprises.
2022-03-12 18:19:51 +01:00
rdb
e02a9989fb android: Changes to add compatibility with pyjnius/plyer 2022-03-12 18:18:15 +01:00
rdb
83038146b3 makepanda: Fix dependency problem in threaded mode
This seems to happen when TargetAdd calls are specified out-of-order
2022-03-12 16:56:02 +01:00
rdb
bb68abdd59 makepanda: Ignore system imports when scanning .java files 2022-03-12 16:55:37 +01:00
rdb
5c03cd59fb dist: Add special support for hidden imports of plyer module 2022-03-12 16:52:12 +01:00
rdb
218f2af7fb dist: Support .* imports inside wheels
No longer try to import modules directly (we can do this if we really have to, but then we have to load it from the proper location) since we don't want to grab the system version of the package which may not be present or may be a different version.  Support discovering .* imports inside .whl files that are on sys.path.
2022-03-12 16:50:05 +01:00
rdb
98d70147bd pipeline: Fix Thread::bind_thread() assertion on Android 2022-03-12 16:48:46 +01:00
rdb
3d31f117e0 express: Fix compilation error with GCC 2022-03-09 16:23:37 +01:00
rdb
5475084717 build: Enable -fno-semantic-interposition for GCC
This matches the more optimized clang behavior for -fPIC
2022-03-09 16:23:37 +01:00
rdb
3456769703 gobj: Fix crash in PythonTexturePoolFilter 2022-03-09 16:23:37 +01:00
rdb
c62d2319e0 CMake: Add --exclude-libs flags to static thirdparty libraries
Matching makepanda, this avoids symbol conflicts and may have optimization benefits.

This is a temporary hack until CMake 3.24 is released, which offers a cleaner way of doing this.
2022-03-09 16:23:37 +01:00
rdb
6ea1e8d65c CMake: Update OpenEXR package handling to use new targets 2022-03-09 16:23:37 +01:00
rdb
e8f3565af2 CMake: Transfer target_link_options from component libs to metalibs 2022-03-09 16:23:37 +01:00
rdb
264747d213 CMake: Drop support for CMake versions below 3.13
We are already using target_link_options, and while it's possible to keep supporting older versions, it doesn't sound worth it.  I can revert this out if someone gives me a really good reason to.
2022-03-09 16:23:37 +01:00
rdb
e716dba8d4 CMake: Update FindLibSquish.cmake, support looking in thirdparty dir 2022-03-09 16:23:37 +01:00
rdb
59f422c056 CMake: Support thirdparty packages on systems other than Windows/macOS 2022-03-09 16:23:37 +01:00
rdb
683c54938c task: Don't capture SIGINT on Android
There's no point to doing that, and doing so restricts the ability to run Python in a separate thread
2022-03-09 16:23:37 +01:00
rdb
573df4b320 dist: Add more resource codes for AndroidManifest.xml values 2022-03-09 16:23:37 +01:00
rdb
37c48ea829 dist: Helpful error for invalid android_abis value 2022-03-09 16:23:37 +01:00
rdb
72f98ec30d gobj: Delete assignment operator of Geom* classes
They are unused and it would probably be a bad idea to try to use them.
2022-03-09 16:23:37 +01:00
rdb
6b9dea3e30 cleanup: Fix comparison between pointer and 0 (instead of nullptr) 2022-03-09 16:23:37 +01:00
rdb
657a8f890c interrogate: Squelch weird "Manifests" output from interrogate_module 2022-03-09 16:23:37 +01:00
rdb
8cdac14db3 collide: First pass at reducing memory overhead of CollisionBox
This is just the low-hanging fruit, there are a lot more gains to be realized.
2022-03-09 16:23:34 +01:00
rdb
21cfb8dba5 readme: Update instructions for building for Android
[skip ci]
2022-03-02 14:17:03 +01:00
rdb
dae147ec0c Merge branch 'release/1.10.x' 2022-03-02 10:51:23 +01:00
rdb
76fb49252c dist: Fix regression with data_dir NameError in build_apps
Fixes #1276

Also let's consistently use the term "assets" for all the application data (and not the gaming-specific term "game files") and use the term "data" for package data only
2022-03-02 10:45:57 +01:00
rdb
930e5da438 texture: Fix get_ram_image_as() with 3D and multiview textures
Fixes #1277
2022-03-02 10:42:45 +01:00
rdb
ad187b29f8 makepanda: Force choose correct extension suffix for Windows
Even when cross-compiling for 32-bit using a 64-bit copy of Python, and vice versa
2022-03-02 10:03:48 +01:00