rdb
c7bcec1ff5
cocoa: Exit macOS' fullscreen mode when switching fullscreen
...
Prevents black screen when switching to fullscreen
2024-09-16 13:39:16 +02:00
rdb
82b9a1266c
cocoa: Fix error when switching to FS while macOS' FS is active
2024-09-16 13:39:16 +02:00
rdb
9e87af9dd7
linmath: Fix compiler warning with gcc 14
2024-08-14 19:09:20 +02:00
rdb
8d1524b675
distort: Fix unprotected debug output
2024-08-14 19:09:08 +02:00
rdb
8c8cbeea98
linmath: For repr, use as much precision as needed for roundtrip
...
Will use as few digits as is necessary to ensure that round-tripping the same number with pstrtod will result in the same vector. This prevents eg. 3.3 formatting as 3.29999995 while still ensuring that two floats that are not equal (other than nan) are guaranteed to have a different string representation.
Uses a hacky pftoa function that can be abandoned as soon as we adopt C++17, which has to_chars that does what we need
Fixes #1671
2024-08-07 17:24:11 +02:00
rdb
122453811d
glgsg: Fix clear of offscreen buffer if back buffers requested
2024-06-30 11:53:17 +02:00
rdb
a655784d8d
x11: attempt to fix UTF-8 window titles (see #209 )
2024-05-16 20:30:27 +02:00
rdb
2436a06527
glgsg: Better error when invalid ShaderPtrSpec type is encountered
2024-05-14 22:45:01 +02:00
Disyer
a9206041d9
ffmpeg: Use ch_layout in favor of removed channel_layout and channels
...
Closes #1641
2024-04-08 13:32:51 +02:00
rdb
5da013e2e9
text: Properly handle surrogate pairs in text on Windows
...
Fixes #1629
2024-04-08 12:12:00 +02:00
rdb
2adc167f26
windisplay: Fix regression related to fullscreen switching
...
Fixes #1594
2024-04-08 11:29:43 +02:00
rdb
0e2a706ec8
audio: Fix changing sound time not working on macOS
...
Fixes #1607
2024-03-27 12:02:12 +01:00
rdb
237d27dfd9
text: Error instead of crash when glyph does not fit into page
...
Fixes #1626
2024-03-27 10:59:52 +01:00
rdb
8ea2301d16
pgui: Fix PGEntry::get_cursor_Y()
...
It returned the Y position, which is always 0.0, instead of the Z position.
Fixes #1633
2024-03-27 10:22:54 +01:00
rdb
06e72b5d7d
text: Add docstring for `set_text_color()`
...
Fixes #1621
2024-03-27 10:06:39 +01:00
rdb
f7cca55e14
pnmimagetypes: Fix double return statement in bmp.h
...
Fixes #1628
[skip ci]
2024-03-12 17:28:05 +01:00
rdb
c4adc17d55
display: Fix assorted unreachable code warnings
2024-03-12 15:30:32 +01:00
rdb
bfe1c95d29
pgraph: Python wrappers for TransformState getters no longer return reference to temporary
...
Fixes #1625
2024-03-12 15:29:54 +01:00
rdb
3303bac902
x11: Fix error message when xf86dga extension is not found
...
[skip ci]
2024-02-09 15:06:27 +01:00
rdb
b49dbaca2b
Report errors if calls to `close()` fail
2024-01-25 12:33:20 +01:00
kamgha
fe63dee524
Assorted docstring fixes
...
Closes #1588
2024-01-08 19:53:46 +01:00
rdb
6b3dfc7e16
pgraph: add note to LensNode::is_in_view docstring about CS
...
Closes panda3d/panda3d-docs#143
2024-01-04 16:22:41 +01:00
jb
7277199d6e
windisplay: fix handling of invalid devices, replaced 0 with nullptr
...
Fixes #1559
Closes #1563
2023-12-10 13:24:31 +01:00
Ian Eborn (Thaumaturge)
1c4a91858b
grutil: Change docstring for MeshDrawer link_segment method
...
In short, this adds notes regarding the manner in which the method makes use of the "frame" and "color" parameters.
Fixes #1560
Closes #1569
2023-12-10 13:21:12 +01:00
rdb
be958c409f
recorder: Fix error reading multiple recorders from .bam file
...
Modified version of #1564 without changing ABI
Fixes #1561
2023-12-10 13:18:47 +01:00
rdb
4f37d97cf6
glgsg: Show internal format in debug output
2023-12-10 13:18:23 +01:00
rdb
89701270dd
gles2gsg: Fix image load/store support in OpenGL ES 3.1
...
This does require gl-immutable-texture-storage to be on, so it is not enabled by default unless that variable is set. That is not a breaking change since before this change, support was never enabled to begin with
2023-12-09 21:15:28 +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
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
9dce403bee
tinydisplay: fix missing include in zmath.h
2023-10-14 18:05:47 +02:00
Mitchell Stokes
893f5ce492
Fix assert on Py_SIZE(long) when using Python 3.12
...
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
rdb
79a60688ce
pnmimage: Support reading of .bmp files with RLE8 compression
2023-10-11 15:53:57 +02:00
rdb
a2fa54f385
gobj: fix `_contexts != nullptr` assert when prepare fails
2023-10-09 16:52:45 +02:00
rdb
144479d8e4
cocoa: squelch secure restorable state warning on macOS 14
2023-09-16 09:50:17 +02:00
rdb
0bc290eb2c
event: Replace _PyGen_FetchStopIterationValue in Python 3.13+
...
See python/cpython#106320 and python/cpython#107032
Closes #1526
2023-08-05 16:37:01 +02:00
Aidan Noll
4097dc2e28
downloader: Fix issues with error codes with LibreSSL on Windows
...
Closes #1503
Co-authored-by: rdb <git@rdb.name>
2023-08-02 12:40:01 +02:00
rdb
262bde3082
grutil: Add clear_color method to CardMaker
2023-08-02 08:08:25 +02:00
rdb
3c9aea1ee1
text: Fix missing epvector.h include in textAssembler.h
2023-08-02 07:51:46 +02:00
rdb
787e14fade
egg2pg: Fix infinite recursion when `<Collide>` used with `<Line>`
...
Fixes #1515
2023-07-19 11:10:49 +02:00
rdb
94ebd7c953
pstats: Fix exception when `__module__` is a descriptor
...
This comes up when using metaclasses
Fixes #1505
2023-06-12 09:54:25 +02:00
rdb
b79d8efce6
Don't use RTTI features when building with `-fno-rtti`
...
This should make it possible to use `-fno-rtti` in a C++ application even when Panda has been compiled with RTTI enabled.
2023-05-25 14:11:51 +02:00
rdb
d2e93cc185
gobj: Fix post_load_store_cache field being uninitialized on cycle
...
This is randomly causing textures to be downloaded, which can be a significant performance drain
2023-05-25 13:55:22 +02:00
rdb
c958919037
Make API documentation for Filename and VirtualFileSystem clearer
...
Mention specifically that Filename methods act on the physical disk whereas VirtualFileSystem methods act on the VFS
Fixes #1493
[skip ci]
2023-05-08 11:19:03 +02:00
max
cc74efa79a
Fix assorted instances of leftover Python 3 syntax
...
Closes #1490
2023-05-05 11:08:17 +02:00
rdb
45fbfab094
pgraph: Add file_version property to BamFile (like BamReader/Writer)
2023-05-05 10:52:46 +02:00
rdb
749e297a02
putil: Add file_version property to BamWriter (mirroring BamReader)
2023-05-05 10:51:24 +02:00
rdb
86804b3ed1
putil: Fix a faulty docstring in BamReader
2023-05-05 10:48:04 +02:00
rdb
eb82dbc765
putil: Accept bytes in DatagramOutputFile::write_header()
2023-05-05 10:47:14 +02:00
rdb
87b46a61ed
display: minor doc fix and code cleanup
2023-05-05 10:45:26 +02:00