25187 Commits

Author SHA1 Message Date
rdb
2e0614138f display: Add pickle support to FrameBufferProperties 2021-12-14 11:42:40 +01:00
rdb
a354b774b3 interrogate: Add __reduce_ex__ to methods that shouldn't be renamed 2021-12-14 11:31:37 +01:00
rdb
a4d53a8ced pgraph: Fix unnecessary double state munge in prepare_scene()
[skip ci]
2021-12-13 13:23:38 +01:00
rdb
68f0931f43 dist: Fix use of Python 3.8+-only syntax 2021-12-13 09:35:38 +01:00
Daniel
1f39c3333f workflow: Build Windows using windows-2022 and Visual Studio 2022 2021-12-12 22:54:33 +01:00
rdb
fc625eec11 Merge branch 'release/1.10.x' into incoming 2021-12-12 22:54:15 +01:00
rdb
b397ddb311 workflow: Switch back from macOS-latest to 10.15 for now
See actions/virtual-environments#4060 - the 11.0 image is crashing for us so we'll upgrade when it's more mature
2021-12-12 22:48:39 +01:00
rdb
2766bca974 makepanda: Add macOS 11.3 SDK 2021-12-12 22:47:07 +01:00
Aidan Noll
8fbf972f30 putil: use Py_REFCNT macro instead of directly accessing reference count field
Closes #1197
2021-12-12 22:22:10 +01:00
Daniel
afadb556a2 maya: Add support for Maya 2022
Closes #1213
2021-12-12 22:20:21 +01:00
Daniel
6acb94f451 makepanda: Support Visual Studio 2022
Closes #1214
2021-12-12 22:18:47 +01:00
rdb
541b9471b5 workflow: Use thirdparty packages for 1.10.10 instead of 1.10.9 2021-12-12 18:40:31 +01:00
Daniel
3d1328fafb workflow: Upgrade to setup-python@v2 2021-12-12 18:40:03 +01:00
rdb
0e91f4ee1c device: Gracefully ignore invalid data index from raw input device 2021-12-12 18:38:09 +01:00
rdb
215ad6bfd9 Fix a few docstring typos 2021-12-12 18:38:09 +01:00
rdb
e4013226e1 general: Remove vestigial typedef.h file 2021-12-12 18:37:49 +01:00
rdb
3ef5d96efc putil: Slight BamReader optimization 2021-12-12 18:37:48 +01:00
rdb
eaf8cb79d5 Add pickle support to a variety of classes 2021-12-12 18:35:44 +01:00
rdb
650b958217 display: Add convenient shorthand for win.request_properties()
Now instead of this:

    win.request_properties(WindowProperties(title="Test"))

You can directly do this:

    win.request_properties(title="Test")
2021-12-12 14:54:47 +01:00
rdb
f79ef139ba device: Don't try to access raw input devices an Android
Fixes a log warning
2021-12-12 14:27:56 +01:00
rdb
73a27fa281 task: Get rid of unnecessary __makeTaskList
We can directly convert AsyncTaskCollection objects to a list (though even that is of questionable value since task collections behave list-like enough)
2021-12-12 13:46:26 +01:00
rdb
ec2084c23e samples: Use SamplerState::WM_clamp as wrap mode in Asteroids demo
[skip ci]
2021-12-12 13:42:33 +01:00
rdb
b8c301164a dist: Implement more reliable solution for logging stdout/stderr
The previous trick doesn't seem to work on one of my devices.  The disadvantage of the new solution, however, is that it doesn't capture anything until site.py is successfully executed.
2021-12-10 14:56:13 +01:00
rdb
cc865e6d21 pipeline: Don't exit process when SystemExit happens on external thread
PyErr_Print() causes the process to be forcibly exited when a SystemExit exception occurred, this is a big issue on Android.
2021-12-10 14:56:01 +01:00
rdb
25d57e0eef dist: Fix incorrect arch check for Android in build_apps 2021-12-10 13:42:20 +01:00
rdb
1289d5bfb4 dist: Build multi-ABI distributions on Android
[skip ci]
2021-12-09 15:42:43 +01:00
rdb
834bc2298f makepanda: Fix compiler error building for x86(_64) on Android 2021-12-09 15:34:36 +01:00
rdb
8b49b0f2b2 parser-inc: Add stub for <android/log.h> 2021-12-09 00:02:14 +01:00
rdb
429acd6e0d general: Remove use of proprietary unsigned integer typedefs 2021-12-08 14:51:52 +01:00
rdb
eb753be249 dist: Add support for automatically signing Android App Bundles 2021-12-08 14:50:05 +01:00
rdb
6a50a657be express: Add support for adding JAR-style signatures to .zip files
This is useful for writing apk/aab files in bdist_apps
2021-12-08 14:48:14 +01:00
rdb
c7cccd4791 makepanda: Fix compiling for older NDKs with armv7a 2021-12-08 14:46:42 +01:00
rdb
267907d329 dist: Support adding icons to Android applications
[skip ci]
2021-12-08 00:00:30 +01:00
rdb
17e00c5786 dist: Don't complain about libz.so being missing on Android
It's a system library there
2021-12-07 23:06:44 +01:00
rdb
60cc334cd9 gobj: Fix some TexturePeeker docstrings
[skip ci]
2021-12-07 23:05:49 +01:00
rdb
46b7fc6ee2 dist: Fix bug with grayscale icons becoming blue when scaled 2021-12-07 23:05:29 +01:00
rdb
25667f4094 dist: Fix bug with grayscale icons becoming blue when scaled 2021-12-07 23:04:39 +01:00
rdb
59ef701298 makepanda: Add back accidentally removed libc++_shared.so on Android 2021-12-07 23:03:37 +01:00
rdb
44e10d10a0 Support deploying Python apps for Android using bdist_apps 2021-12-07 21:00:08 +01:00
rdb
4c7e513dfd dist: Always compile Python code with optimize level 2 2021-12-07 18:12:19 +01:00
rdb
954bc75314 makepanda: Don't use SOABI from config vars when cross-compiling
[skip ci]
2021-12-06 22:34:01 +01:00
rdb
af6230cfda android: Update android_native_app_glue to latest from upstream 2021-12-06 22:30:13 +01:00
rdb
d473c794d9 makepanda: Use llvm-strip on Android instead of strip 2021-12-06 22:29:30 +01:00
rdb
9230af94a3 makepanda: Replace dx with d8 for building Dalvik executable (Android)
Also, do it in makepanda instead of in makepackage
2021-12-06 22:28:42 +01:00
rdb
798fa90513 makepanda: Fix missing OpenSLES link on Android 2021-12-06 22:27:32 +01:00
rdb
c594ab38ef Support building pandagles2 on Android 2021-12-06 22:26:56 +01:00
rdb
0122c07e10 makepanda: Add pandagles2 to Config.prc, fall back if pandagl not built 2021-12-06 22:25:28 +01:00
rdb
396e623aba android: Send nout to Android log, don't duplicate output to stderr 2021-12-06 22:24:36 +01:00
rdb
9dad304f85 interrogatedb: always define PyObject_CallNoArgs as inline 2021-12-06 22:23:44 +01:00
rdb
d9e335e978 makepanda: Updates for Android compilation with latest NDK
[skip ci]
2021-12-05 17:13:04 +01:00