rdb
4ba3df7082
pgui: Fix missing cursor when typing candidate
2021-07-05 17:37:48 +02:00
rdb
25f9d3ff13
pgui: Don't clear candidate on keypresses like shift/ctrl etc
2021-07-05 17:37:15 +02:00
rdb
f27e9b2a86
linmath: Add __rmul__ operator for left scalar multiplication
...
Fixes #1048
2021-07-05 14:16:55 +02:00
rdb
98054d1bbd
interrogate: Support reverse binary operators as extension methods
...
Necessary for implementing #1048
2021-07-05 14:12:39 +02:00
rdb
bfe595f4dc
glgsg: Implement partial updates of texture arrays / cube maps
...
Also, simplify the cube map upload mechanism somewhat.
Fixes #1168
2021-07-04 17:03:14 +02:00
rdb
494631ac54
gobj: Implement texture modification tracking for individual pages
...
Part of #1168 , GL implementation in following commit
2021-07-04 16:36:26 +02:00
rdb
77f486a07b
putil: Improve SparseArray output printing
2021-07-04 16:35:11 +02:00
rdb
0c5fedfc9b
Merge branch 'release/1.10.x'
2021-07-02 16:03:41 +02:00
rdb
0e219fa5c9
display: Remove obsolete mouse_mode_relative/absolute methods
2021-07-02 16:00:41 +02:00
rdb
14e95eec72
assimp: Load normal column as C_normal instead of C_vector
...
Fixes #1163
2021-07-02 15:45:56 +02:00
rdb
bcbef3f6c8
pgraph: Add RenderState::get_unused_states() by analogy with TransformState
2021-07-02 15:22:44 +02:00
rdb
1415ccca61
pgraph: Fix assertion error in get_num_unused_states()
...
Fixes #1172
2021-07-02 15:11:33 +02:00
rdb
388ddda9d7
x11: Fix black screen when switching fullscreen without WM
...
Reconfiguring the window to origin 0, 0 is unnecessary and if the win origin is already 0, 0 this results in Panda waiting for a ConfigureNotify that never comes.
2021-07-02 14:04:57 +02:00
rdb
199b797d72
Merge branch 'release/1.10.x'
2021-06-01 11:50:12 +02:00
rdb
5804c663a9
tests: Backport unit test fix from c0d34912230495bb20c581de9d111a87a0336893
2021-06-01 11:47:19 +02:00
Ben Humphries
0415a08416
cocoadisplay: Round refresh rates when choosing display mode on macOS
...
Closes #1144
Co-authored-by: rdb <git@rdb.name>
2021-06-01 10:56:55 +02:00
rdb
2386e80448
linmath: Backport support for floor division to 1.10
...
Backport of 89447378440e9b9472a7290facbd8949f41a64ae
(Also fixes return type of `__pow__` to always be derived class)
2021-06-01 10:45:56 +02:00
rdb
4e0e945279
linmath: Backport round(), floor(), ceil() support for vectors
...
See #821
2021-06-01 10:23:58 +02:00
rdb
42d292ee17
glgsg: Slight optimization, don't get texture type more than once
2021-06-01 10:00:43 +02:00
rdb
967fbbc49e
glgsg: Fix regression uploading buffer texture with null image
...
Regression in c1babd1ad157b16f0a8d63b21d303e82c48489f4 - it caused an assertion to be thrown when uploading a buffer texture without a RAM image.
2021-06-01 09:56:04 +02:00
rdb
c9508f3215
task: Prevent error indicator being sporadically cleared
2021-05-31 17:44:57 +02:00
rdb
e63eab9aa2
Merge branch 'release/1.10.x'
2021-05-31 17:44:53 +02:00
Paul m. p. P
70ac82d5da
bullet: Fix compilation issue with BulletHeightfieldShape
...
Fixes #1161
2021-05-31 17:43:50 +02:00
rdb
1d2407f667
ffmpeg: Fix compile error with latest ffmpeg version
...
Fixes #1164
2021-05-17 11:19:55 +02:00
rdb
571946739e
task: Fix cancelling gather() of tasks
2021-05-11 12:21:37 +02:00
rdb
91a6ff1d81
task: Prevent "unexpected task state" when cancelling task sometimes
2021-05-11 12:21:30 +02:00
rdb
55fb14b792
Merge branch 'release/1.10.x'
2021-05-11 12:21:24 +02:00
rdb
9410418840
pnmimagetypes: Changes to support compilation with OpenEXR 3.0.1
2021-05-11 11:38:40 +02:00
rdb
be03011f21
rplight: PSSMCameraRig::update() should accept cam node directly
...
Previously it would always use the first child of the given node (presumably expecting that `base.camera` is passed in), which is inconvenient when dealing with multiple cameras.
2021-05-11 10:31:03 +02:00
rdb
2ed61c91fc
gobj: make_lines_in_place() (& points, patches) should change primitive type
2021-05-10 13:35:47 +02:00
Daniel Stokes
0a8e401f3a
Lint asteroids sample
2021-05-02 23:02:56 +02:00
rdb
c1babd1ad1
texture: Don't try to compress buffer textures by default
...
Buffer textures don't support compression, so we shouldn't try to driver-compress them, and we should not try to compress the RAM image unless explicitly overridden.
2021-04-29 20:33:52 +02:00
rdb
18e8918138
interrogate: Reimplement subscript assignment "operator"
...
This redoes the handling of `obj[n] = item` to occur in InterrogateBuilder instead so that it doesn't prevent the same remap from being used as getitem.
This fixes the non-const variant of InstanceList[n].
2021-04-25 11:27:18 +02:00
rdb
5ef1b44455
event: cancel future being awaited when cancelling coroutine task
...
Fixes #1136
2021-04-18 17:05:00 +02:00
rdb
cdf5b16ddd
task: Add AsyncFuture::shield() ability, part of #1136
...
This is modelled after `asyncio.shield()` and can be used to protect an inner future from cancellation when the outer future is cancelled.
2021-04-09 18:28:07 +02:00
rdb
e9e1bb1bc6
dtoolutil/express: Resolving empty filename should yield no result
...
See #1140 - I may revert this if someone can demonstrate a compelling use case (for current directory, you can use "." instead), but it seems to have the potential to cause unintuitive behavior.
2021-04-09 18:26:00 +02:00
rdb
47f35a287c
Merge branch 'release/1.10.x'
2021-04-09 18:25:57 +02:00
rdb
69c6050fa8
glgsg: Only copy depth of 32-bit float depth-stencil framebuffer
...
We don't support float-32-unsigned-int-24-8 component types in texture yet, so this is the only choice. Avoids a GL error when binding to RTP_depth_stencil slot.
Fixes case 2 of #1142
2021-04-09 10:47:54 +02:00
rdb
715d786813
display: Prevent attempt to copy depth from non-depth framebuffer
...
Fixes case 1 of #1142
2021-04-09 10:45:22 +02:00
rdb
99a3188af2
glgsg: Fix missing component types in glReadPixels spam message
2021-04-09 10:30:45 +02:00
rdb
31feeb9b9f
glgsg: Fixes to format selection for copy-to-ram of framebuffer
...
Fixes #1141
2021-04-08 18:46:10 +02:00
rdb
eee1426e37
glgsg: Fix ability to get r11g11b10 float renderbuffer
2021-04-08 18:44:52 +02:00
rdb
dd3510eea7
Merge branch 'release/1.10.x'
2021-04-08 12:30:35 +02:00
rdb
5be46c4124
dgui: Fix DirectSlider unit test failure
2021-04-08 12:28:22 +02:00
rdb
4a7d03d9b1
pnmtext: Fix loading an invalid font resulting in a crash
...
Related to #1140
2021-04-08 12:08:03 +02:00
rdb
addbc8a2e8
dtoolutil: Work around odd Linux bug with lseek on a directory fd
...
Fixes #1140
2021-04-08 12:07:00 +02:00
rdb
ab4367ee7b
glgsg: Fixes to format selection in OpenGL renderbuffers
...
Fixes #1137
2021-04-07 00:20:38 +02:00
rdb
bcb61fec09
pgraphnodes: Fix draw callback called twice in certain cases
...
This would happen if you call upcall() in a CallbackNode's cull callback.
2021-04-06 16:38:51 +02:00
rdb
67b6729d38
Also switch from Travis to GitHub Actions on release branch
2021-04-05 17:26:29 +02:00
rdb
51a6923008
device: Work around FreeBSD kernel bug for querying gamepad axes
...
This is to support older kernels, which always returned 0 from successful ioctl, rather than the number of bits. This was fixed in the FreeBSD kernel trunk.
2021-04-05 17:19:47 +02:00