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
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
b4a242a4e3
x11: Provide labels for more keys (esp. international keys)
2021-03-04 21:49:55 +01:00
rdb
2e3ce27865
device: Add Windows gamepad mapping with VID:PID 2563:0523
...
From https://discourse.panda3d.org/t/gamepad-emulator-and-panda/27336
2021-03-04 20:47:55 +01:00
rdb
9be2f307c5
text: Fix glyphs with flipped UVs not being processed correctly
...
This caused the cheesy-accent code to not flip the caron correctly.
2021-03-04 20:06:51 +01:00
rdb
064e0383be
event: Allow AsyncFuture to store arbitrary PyObject result
2021-03-01 19:16:22 +01:00
rdb
bdb2ef1631
pipeline: Fix crash upon exception in custom thread
...
We can't call PyErr_Restore() without a valid thread state, which won't exist in a custom thread if we just called PyGILState_Release(). Not sure how this has ever worked.
2021-03-01 16:19:53 +01:00
rdb
2b3f2bb98c
event: gather() should schedule coroutines with task manager
...
This matches the behaviour of asyncio. It schedules with the current task's manager and chain. If no current manager is found, it prints a warning. (The user can just add the coroutine to a task manager themselves and pass the resulting task into gather() if needed.)
See discussion here:
https://discourse.panda3d.org/t/task-gather-does-not-seem-to-work/27313
2021-03-01 11:22:13 +01:00
rdb
e348d216e5
event: Fix memory leak getting future result in some cases
2021-03-01 11:09:10 +01:00
rdb
b6096c3d40
glgsg: Suppress useless shader linking warnings on macOS
2021-02-26 13:33:25 +01:00
rdb
6a51709332
event: Don't suppress coroutine exceptions in optimized builds
2021-02-26 11:44:50 +01:00
rdb
2d9cc2dea0
egl: Further robustify EGL device initialization process
...
Sometimes, the default device fails to initialize, so then we need to fall back to alternatives (eg. GBM)
2021-02-24 17:31:00 +01:00
rdb
2e38ca1042
egl: Fall back to EGL_EXT_platform_device for device selection
...
See #557
2021-02-24 11:41:42 +01:00
rdb
7f20bcd8e0
egl: Fix ability to create multisample FBO
...
Fixes #1089
2021-02-24 10:11:58 +01:00
rdb
778c6ee6be
pgui: Add missing pipeline.h include
2021-02-24 09:46:53 +01:00
rdb
18cb4a7ccc
vorbis: Disable cross-lapped seeking by default, to reduce clicking
...
Fixes #1108
2021-02-22 10:58:18 +01:00
rdb
f2e488fd6b
pgui: Workaround for text disappearing in multithreaded pipeline
...
The text could appear from a DirectButton or other GUI element if updating eg. the text_fg property.
2021-02-21 11:00:22 +01:00
rdb
5c4909b4ab
pgui: Some code cleanup for PGItem
2021-02-21 10:17:14 +01:00
rdb
a05405c475
pgraph: API reference improvements for NodePath
2021-02-21 10:15:33 +01:00
rdb
3592404fa8
display: Fix GraphicsWindow::get_pointer() listed as deprecated
...
[skip ci]
2021-02-17 10:56:46 +01:00
rdb
6374a7f240
express: Fix up Patchfile docstrings
...
[skip ci]
2021-02-15 14:13:24 +01:00
rdb
a704d2c228
display: Fix typos in docstrings
...
[skip ci]
2021-02-15 12:46:29 +01:00
rdb
592f776f76
downloader: Fix missing includes in virtualFileHTTP.cxx
2021-02-15 12:36:29 +01:00
rdb
84c2a18d00
downloader: Implement VirtualFileHTTP::read_file()
2021-02-15 11:18:13 +01:00
rdb
20bdd32765
downloader: Fix an uninitialized member
2021-02-15 11:13:57 +01:00
rdb
4e27264cac
downloader: Add properties to HTTPCookie
2021-02-11 03:28:43 +01:00
rdb
59ab828098
linmath: Fix typo in Mat4 isub docstring
...
Fixes panda3d/panda3d-docs#96
2021-02-11 03:28:34 +01:00
rdb
28ad032210
collide: Fix CollisionHandlerGravity docstrings
...
[skip ci]
2021-02-08 19:41:46 +01:00
rdb
8c8a73a1a7
event: Fix compilation with Python 2.7
2021-02-07 14:49:10 +01:00
rdb
f6b39345f7
event: don't exit task if future __await__ yields None
...
This matches the behavior of asyncio's Task implementation, where this is the equivalent of `yield Task.cont`.
I've kept regular generator tasks unaffected for now, since this might break existing usage.
2021-02-07 12:38:16 +01:00
rdb
af60f8200e
glgsg: Gracefully degrade when using 64-bit float in OpenGL ES
2021-02-06 19:35:48 +01:00
rdb
068ceaaf58
event: Clear exception flag after trying asyncio exception import
2021-02-06 01:21:52 +01:00
rdb
642f4a4e55
bullet: Implement make_copy() for BulletGhostNode
2021-02-05 23:48:41 +01:00
Stephen Imhoff
cc4701d299
Add ability to persist ghost nodes.
2021-02-05 20:31:10 +00:00
rdb
a1e4cf059f
glgsg: Fix attempt to detect glTexStorage1D in OpenGL ES
2021-02-03 12:53:20 +01:00
rdb
60f3ac5163
gobj: Assert instead of crash when printing unresolved GV(A)D
2021-01-30 20:06:32 +01:00
rdb
79dae16a2c
glgsg: Show error for unrecognized p3d_TextureXYZ input
2021-01-30 20:05:36 +01:00
rdb
b1942e8065
collide: Add wires to CollisionBox viz
...
This should make it a lot easier to see the box as opposed to looking at a continuous white shape.
2021-01-30 13:52:03 +01:00
rdb
29cdd78c4e
mathutil: Fix scaling BoundingSphere to infinite causing assertions
...
This error occurs when a BoundingSphere with a large radius is scaled by an even larger radius such that the radius becomes infinite. In this case, the BoundingSphere should be properly marked as infinite so that it behaves properly (and doesn't cause other assertions down the line).
2021-01-18 19:03:00 +01:00
rdb
3e1d98c105
multify: Respect SOURCE_DATE_EPOCH variable when used from command-line
...
That said, we should probably encourage the use of -T0 (which doesn't write out timestamps to begin with).
2021-01-18 14:16:25 +01:00
rdb
8924b77da4
egldisplay: Backport changes for creating headless EGL contexts
...
Backport of fbc4947455 and 9f1289b492
See #557
2021-01-17 16:46:57 +01:00
rdb
fb6ec557ce
egl: Add missing init_type() for eglGraphicsBuffer/Pixmap
2021-01-17 15:40:19 +01:00
rdb
a5a0809949
gobj: Support integer texture formats in TexturePeeker
2021-01-17 15:27:19 +01:00
rdb
4783c2902d
grutil: Add missing switch case
2021-01-17 15:17:13 +01:00
rdb
b060767bd8
glgsg: slight refactor of get_internal_image_format()
2021-01-17 15:17:09 +01:00
rdb
1fda6e7d51
texture: Add missing integer texture formats
2021-01-17 15:17:03 +01:00
rdb
38d304f2fe
glgsg: Force nearest filtering on isampler/usampler
...
Without this, Intel drivers will sample (0, 0, 0, 1)
2021-01-17 12:10:42 +01:00