24085 Commits

Author SHA1 Message Date
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
ca7ba4eab3 py_panda: Add Dtool_GetPyTypeObject macro
This is a cleaner, future-proof way of accessing a Panda type as PyTypeObject pointer
2024-08-07 15:53:27 +02:00
rdb
b8d6c7a2ef workflow: Update macOS-11 to macOS-12 runner 2024-08-07 11:57:19 +02:00
rdb
46833e9144 Update BACKERS.md
[skip ci]
2024-08-07 11:56:55 +02:00
rdb
122453811d glgsg: Fix clear of offscreen buffer if back buffers requested 2024-06-30 11:53:17 +02:00
rdb
b6ec48b27c Fix invalid metadata version 2.0 (should be 2.1) 2024-05-28 22:28:37 +02:00
rdb
105f938d68 interrogate: Fix non-deterministic order of external import types
Fixes #1651
2024-05-28 11:11:21 +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
d44f9ae3dc makepanda: Use new dist hooks location introduced by 1f41edd
Fixes #1624
2024-03-27 12:01:53 +01:00
rdb
1f41edd0a0 dist: Remove panda3d dependency for global dist hook
Fixes #1624
2024-03-27 11:23:17 +01:00
kamgha
aa58b4ccf2 palettizer: Fix magfilter on KW_mipmap
Closes #1631
2024-03-27 11:12:58 +01:00
rdb
a50b9d83aa interval: Fix creating LerpFunctionInterval from partial
Fixes #1623
2024-03-27 11:10:08 +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
80147990cc cppparser: Fix problems with recursive expansion in preprocessor
Other half of #1635
2024-03-26 15:55:50 +01:00
mingodad
685b98021c cppparser: Skip comments after preprocessor directive
See #1635
2024-03-26 15:54:33 +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
4f7b153c3f egg-qtess: Fix an unused variable warning 2024-03-12 15:32:44 +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
0ce7215ee9 interrogate: Fix typo in code
Fixes #1627

[skip ci]
2024-03-12 15:10:14 +01:00
rdb
06b9e3af8b makepanda: Remove net.py(d) file if present
In anticipation of #1466

[skip ci]
2024-03-01 17:50:48 +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
rdb
8c74919a8b dgui: Make copy of mutable default value
Fixes #1587
2024-01-23 14:51:44 +01:00
rdb
16afdd2bf9 Prepare installer.nsi for Python 3.13 2024-01-23 14:24:37 +01:00
rdb
26ce3eab29 Update version number to 1.10.15 2024-01-23 14:24:23 +01:00
kamgha
fe63dee524 Assorted docstring fixes
Closes #1588
2024-01-08 19:53:46 +01:00
rdb
ab05b75933 readme: Update link to SDK to point to 1.10.14
[skip ci]
2024-01-08 17:02:06 +01:00
rdb
8e539bd998 doc: Add release notes for 1.10.14
[skip ci]
v1.10.14
2024-01-08 14:54:48 +01:00
rdb
876512932a makepanda: Add _d suffix to .pyd files in debug mode on Windows
Fixes #1566
2024-01-08 14:13:51 +01:00
rdb
7926a3a929 interrogate: Fix some pointless code generation case
Some cases of eg. inplace ternary operator would needlessly construct and then immediately destruct a tuple
2024-01-05 14:52:52 +01:00
rdb
37c9e58ea0 interrogate: Fix handling of RF_self / inplace binary operator 2024-01-05 14:32:26 +01:00
rdb
46e662bd8e interrogate: Add cleverness to avoid writing out dead code
Hopefully fixes GCC 13 compile regression, see #1580
2024-01-05 13:56:02 +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
kamgha
25b85041d5 egg-palettize: fix writing Magfilter
Fixes a typo that applied the value from the Minfilter to the entry of the Magfilter.

Closes #1585
2024-01-04 16:22:30 +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
0cc3f8fbf6 dist: Fix error when using bam_model_extensions with bdist_apps 2023-12-09 23:55:01 +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