Commit Graph

24963 Commits

Author SHA1 Message Date
rdb eb6eb9f1dd Merge branch 'release/1.10.x' 2021-03-24 13:58:00 +01:00
rdb 8372b8150a gobj: Cube map sampling support in TexturePeeker
Closes #1098

Co-authored-by: Mitchell Stokes <mogurijin@gmail.com>
2021-03-24 12:50:42 +01:00
rdb 1fb8480585 Exclude GLVND from built distributions 2021-03-24 11:56:24 +01:00
LD 23150bd6d6 pgraph: Add the shader attrib to the filled wireframe render state
Fixes #1021
Closes #1124
2021-03-23 16:18:00 +01:00
rdb 94806801e3 Add p3headlessgl render plug-in on Linux using EGL as fallback for GLX
Fixes #1086
2021-03-23 15:04:20 +01:00
rdb 8bde2f2b1b tests: Add unit tests for GeomPrimitive::offset_vertices() 2021-03-22 22:04:08 +01:00
rdb 3ecc8c857a gobj: Also fix GeomPrimitive::offset_vertices() overload with begin/end
See 40b94c1f97
2021-03-22 22:04:03 +01:00
rdb 3732d3f1e6 PythonUtil: Fix Python 3 next() for SerialNumGen, AlphabetCounter 2021-03-22 21:49:58 +01:00
rdb 3579855ff1 distributed: Switch DistributedSmoothNodeBase.BroadcastTypes to IntEnum
The Enum from PythonUtil is obsolete since the introduction of a proper enum module in Python 3.4.
2021-03-22 19:29:21 +01:00
rdb 107d338d88 PythonUtil: Remove old next() interface from EnumIter
This was just there to support Python 2, which we no longer support.
2021-03-22 19:00:25 +01:00
rdb d0028ba103 physics: Make PhysicalNode class thread-safe
It is, however, not yet pipeline-cycled, and the Physical object itself is not yet thread-safe.
2021-03-22 16:01:13 +01:00
rdb 0e36a99574 Merge branch 'release/1.10.x' 2021-03-22 15:45:45 +01:00
rdb 8f55d32cb1 glgsg: Workaround for Cg shader issue with multiple GSGs
Fixes #1117
2021-03-22 15:37:43 +01:00
rdb 40b94c1f97 gobj: Fix GeomPrimitive::offset_vertices() with strip cut index
This was called, among other things, by the egg-unify process, which could ruin the strip cut index.

At the same time, I've reimplemented the indexed case for offset_vertices() to make it a little bit more efficient.

Fixes #1122
2021-03-22 11:35:03 +01:00
rdb fe29aab568 dgui: Reset DirectOptionMenu highlighted index when replacing items
Not doing this causes issues if the item list is replaced by an item callback, since that means the unhighlight callback is never fired.

Fixes #1125
2021-03-22 10:08:31 +01:00
rdb c1fbb70c6d display: Temporary fix for base.win.properties.size et al
Previously, calling that without storing a temporary object would cause the WindowProperties to go out of scope and the return value to point to random memory.
2021-03-21 16:55:19 +01:00
rdb 1654860f36 makepanda: Rename aarch64 thirdparty dir to arm64 for consistency 2021-03-21 15:50:00 +01:00
rdb 2531f09024 makepanda: Don't enable X11 on Android 2021-03-21 14:55:46 +01:00
rdb b5c78e8035 Update BACKERS.md 2021-03-21 14:55:00 +01:00
rdb f450aa5edf physics: Add additional properties 2021-03-21 14:40:10 +01:00
rdb db2936a318 physics: Slight code cleanup in PhysicalNode::clear() 2021-03-21 14:39:57 +01:00
rdb f1782d73e5 physics: Fix crash in PhysicsNode::add_physicals_from() 2021-03-21 14:39:31 +01:00
rdb 74910ff310 physics: Don't assert destructing
This could have been produced with make_copy(), which can create a situation where the Physical objects don't have the same node associated -- see b6a118448d
2021-03-21 14:36:14 +01:00
rdb b6a118448d physics: Warn when copying PhysicalNode with physicals attached
We can't currently support this because a Physical can have only one PhysicalNode associated.
2021-03-21 14:35:28 +01:00
rdb 1c754738bd physics: Prevent adding same Physical to more than one PhysicalNode
Also silently ignore if the same Physical is added to the same PhysicalNode more than once.
2021-03-21 13:00:08 +01:00
rdb 52c0e2759e glgsg: Fix copy-to-texture/ram for multisample FBO
Should read from resolved FBO, not from multisample FBO

Fixes #1129
2021-03-16 18:45:27 +01:00
rdb 915e079596 makewheel: Make sure everything has an ad-hoc code signature
Fixes #927
2021-03-13 16:51:59 +01:00
rdb b817e19ab6 Merge branch 'release/1.10.x' 2021-03-13 16:50:12 +01:00
rdb dc516c5ef1 dist: Remove aux-display lines for excluded plug-ins
No point trying to load optional modules that we know aren't included.
2021-03-13 14:03:54 +01:00
rdb 3c9673b48e dist: Actually replace p3fmod_audio with p3openal_audio
This was meant to be effected in 9e80282aff but was not properly checked in (only the warning was shown, but the change was not actually made).
2021-03-13 13:55:35 +01:00
rdb 13a764c91e makewheel: Don't run codesign --remove-signature on files without signature
See #927
2021-03-13 13:09:46 +01:00
LD 209e031964 cocoadisplay: Test all the fullscreen modes to find the valid one
Closes #1039
2021-03-13 12:44:30 +01:00
rdb 84051384b8 dist: Some work on getting PyQt5 dlls found on Windows
There is more work to do to get PyQt5 to work, however.
2021-03-12 00:36:42 +01:00
rdb eca18f3c19 windisplay: Don't try to activate window when resizing/moving it
This fixes an issue where if you quickly alt-tab when the window opens, it receives a WM_ACTIVATE event and thinks it continues to be active, which causes issues with applying cursor confinement.

I think you can probably still reproduce that issue, but your reflexes have to be significantly more ninja now.
2021-03-11 23:50:45 +01:00
rdb 7f4d030032 windisplay: Fix some situations in which the mouse could stay confined
Fixes #1115
2021-03-11 23:29:13 +01:00
rdb c1c2183561 windisplay: Parented child windows are implicitly undecorated
I'm pretty sure applying these styles does nothing anyway, but we shouldn't specify them.
2021-03-11 22:30:35 +01:00
rdb 48fb2f721f windisplay: Fix parented child window being offset
This would happen if the undecorated flag is not set; it would receive an additional offset equal to the size of the window decoration.

Fixes regression presumably caused by a968caf1d2
2021-03-11 22:19:41 +01:00
rdb b5cdcb8539 Revert "tests: Consider all warnings errors"
This reverts commit a80262cde4.
2021-03-11 11:48:07 +01:00
rdb e6487651e7 prc: Fix bool conversion for empty/zero config variables 2021-03-09 19:40:24 +01:00
rdb fd5cab1a3f dtoolutil: Rename Filename::__nonzero__() to __bool__()
This is the Python 3 convention (even though interrogate supports both)
2021-03-09 19:35:09 +01:00
rdb e4ecb548bf interrogate: Use __bool__ for default name of operator bool 2021-03-09 19:33:50 +01:00
rdb a80262cde4 tests: Consider all warnings errors 2021-03-09 19:21:53 +01:00
rdb 817f04d19e tests: Ignore DeprecationWarning in OnscreenText tests 2021-03-09 19:21:41 +01:00
rdb 3fe1780f16 direct: Fix use of various deprecated APIs 2021-03-09 19:21:26 +01:00
Timothy Paustian 2493c0689f direct: Use warnings module for more verbose deprecation prints
Closes #1067
Fixes #669
2021-03-09 18:34:53 +01:00
rdb 576c25b3ea makewheel: Re-sign arm64 macOS binaries after removing signature
Fixes #1123
2021-03-08 11:27:38 +01:00
rdb ff80adc680 Merge branch 'release/1.10.x' 2021-03-05 11:59:21 +01:00
rdb 5cadd86d1e glgsg: Fix get_screenshot() for multisample FBOs
An FM_refresh bind should not bind the multisample FBO, but the resolved one (and while we're at it, FM_refresh should not try to resolve multisamples).
2021-03-05 11:57:05 +01:00
rdb 1851cc35bc models: Add dotless i to shipped static fonts
This makes it possible for Panda to synthesize the cheesy accent marks for íîì on top of the dotless form, which looks better than putting them on top of the dotted i.
2021-03-04 21:50:10 +01:00
rdb b4a242a4e3 x11: Provide labels for more keys (esp. international keys) 2021-03-04 21:49:55 +01:00