26131 Commits

Author SHA1 Message Date
rdb
deb24afe18 display: properly prioritize preferred pipe
Previously, load-display of a module with more than one pipe would cause the first available pipe to be loaded, rather than the one returned by `get_pipe_type_<module>()`
2023-11-30 23:46:18 +01:00
Dakota Smith
3097d2637c bullet: Fix deadlock when contact added callback accesses certain data or executes bullet methods 2023-11-19 02:17:54 +01:00
git2323
f9a86bced6
device: fix small typo, fixes 1571 (#1572) 2023-11-18 11:49:53 +01:00
rdb
e3ea397665 workflow: Delete clang-tidy workflows for now
There are a number of issues with them, they need to be revisited at some point

[skip ci]
2023-11-06 17:36:05 +01:00
WMOkiishi
4c2581a4d2
pgui: Add more property-style accessors (#1552) 2023-10-26 23:18:12 +02:00
rdb
1a3ee2b232 tinydisplay: Fix build when no platform display module is enabled
Fixes #1554
2023-10-23 12:18:09 +02:00
rdb
20a2b26090 cocoa: Support EDR windows with float framebuffer
Requires macOS 10.11
2023-10-23 12:17:28 +02:00
rdb
edf4b7d448 tests: Also skip Cg unit tests on arm64 reporting as aarch64
[skip ci]
2023-10-22 12:24:33 +02:00
rdb
b7fa25f8f4 assimp: Disable loading .glb and .gltf via Assimp by default
Fixes #1537
2023-10-22 12:08:09 +02:00
rdb
3833a35fa9 Merge branch 'release/1.10.x' 2023-10-22 12:06:18 +02:00
rdb
0121e74aa4 assimp: Add assimp-disable-extensions config var (for #1537)
This can be used to disable certain extensions from being loaded via Assimp

Also makes the `get_additional_extensions()` method a bit more efficient by having it avoid string concatenation, using a temporary buffer instead
2023-10-22 11:59:30 +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
rdb
4bdf85348f tests: Don't expect mypy to be on the system PATH 2023-10-22 10:39:41 +02:00
Disyer
62203fb299 contrib: Remove temp-hpr-fix from contrib/sceneeditor 2023-10-22 10:35:04 +02:00
WMOkiishi
0380a60e58
tests: Fix mypy test (#1551) 2023-10-22 10:34:46 +02:00
rdb
0a7afb37d9 wgldisplay: Fix HDR framebuffers with newer NVIDIA drivers
[skip ci]
2023-10-21 17:14:26 +02:00
rdb
7c3e660b15 display: make refresh_rate float, deprecate get_display_mode_xyz 2023-10-21 15:07:50 +02:00
rdb
a52744a973 cocoa: Improvements to VSync implementation:
- Use futex instead of condition var
- Prepare for adaptive sync support (#1553)
- Support in tinydisplay
2023-10-21 15:05:44 +02:00
rdb
034f1ea358 patomic: Implement futexes on macOS using ulock API
This is what is also used by the libc++ futex implementation on macOS, and should be more efficient than the fallback hash table approach
2023-10-21 14:46:51 +02:00
rdb
eec66c585e display: Add method for querying current display mode index
Note that it doesn't work on macOS with high-DPI displays, this requires #1308 (which is on master), otherwise it will just report -1 for now

Fixes #1550
2023-10-21 14:03:51 +02:00
rdb
78f8e1eaa9 test_wheel: Update set of packages to install with pip
setuptools is required because test_imports imports direct.dist.commands

[skip ci]
2023-10-16 00:26:40 +02:00
rdb
84020d4fb6 Require pytest >= 3.9.0 (due to use of tmp_path) 2023-10-15 23:03:01 +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
3059f8f76b tests: Add site.py file for deploy-stub test 2023-10-15 16:23:02 +02:00
rdb
cb7f25f59c tests: Fix an issue running tests with some Python 3.4 setups 2023-10-15 16:21:30 +02:00
rdb
479774477b tests: Compat w/ older pytest by using tmpdir instead of tmp_path 2023-10-15 14:48:01 +02:00
rdb
a0ea85d39e test_wheel: Put python DLL on system PATH for FreezeTool unit test 2023-10-15 14:28:38 +02:00
rdb
00c6bee3f6 Add Python 3.12 to setup.cfg 2023-10-15 14:27:27 +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
39e4e4167c CMake: Switch use of distutils.sysconfig to sysconfig in Python 3.12
Part of #1395
2023-10-15 11:43:42 +02:00
rdb
c48fcba3d8 CMake: build tinydisplay using CMake
Based on work by @toadkarter (#1487) and @pmp-p (#1547)

Fixes #1481
2023-10-15 11:34:47 +02:00
rdb
a6ab238abc Merge branch 'release/1.10.x' into incoming 2023-10-14 21:35:00 +02:00
rdb
5e4fc7999e Switch to 1.10.14 thirdparties, enable Python 3.12 CI on Windows 2023-10-14 21:25:42 +02:00
rdb
1db6dbc166 tests: Don't cache loaded test model 2023-10-14 21:24:22 +02:00
rdb
476374b814 tests: Don't run tkpanels.Placer test without Tk already inited
Necessary for being able to run test suite on macOS
2023-10-14 20:07:35 +02:00
rdb
87e69b71bf workflow: Add $pythonLocation/lib to LD_LIBRARY_PATH for tests 2023-10-14 19:38:22 +02:00
rdb
9dce403bee tinydisplay: fix missing include in zmath.h 2023-10-14 18:05:47 +02:00
rdb
f9c213fcbb tests: Run runtime executable generated by FreezeTool test 2023-10-14 17:35:16 +02:00
rdb
b2465c3b38 tests: Fix running tests on Windows and with Python 2.7 2023-10-14 17:31:35 +02:00
rdb
d368fac3e3 pstats: Update macOS timeline view to show more of collector name
Now shows the parent collector name if there's room and a single character if there's no room for anything more, just like the other implementations
2023-10-14 14:25:45 +02:00
rdb
10110cbfff CMake: Build PStats port for macOS 2023-10-14 12:59:18 +02:00
rdb
98330b586f Add setuptools to requirements-test.txt 2023-10-14 12:58:45 +02:00
rdb
972c0009ac workflow: Add setuptools as requirement when testing Python 3.12 2023-10-14 11:29:02 +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
c77697a2c0 pytest: Don't skip "dist" directory in test discovery 2023-10-14 09:55:51 +02:00
rdb
f24a18f45e tests: Add unit test for Freezer.generateRuntimeFromStub 2023-10-14 09:55:37 +02:00