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
38a3048479
cppparser: Fix recursion in expanding function macro arguments
...
See #1635
2024-03-27 10:43:58 +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
c923cf6ee5
cppparser: Perform macro expansion on macro arguments
...
Fixes #1638
2024-03-27 02:26:14 +01:00
rdb
674c037c50
cppparser: Trim whitespace around macro arguments
2024-03-27 02:25:56 +01:00
rdb
c5ab6573b0
cppparser: Improve error messages involving macro expansion
...
Now shows the expansion of the macro if a parse error occurs in one.
2024-03-27 02:23:58 +01:00
rdb
6f6cbf318e
Merge branch 'release/1.10.x'
2024-03-26 17:08:52 +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
655aa49d81
putil: Remove outdated TypedWritable template files
...
See #1630
2024-03-18 02:39:51 +01:00
rdb
40b824bdcc
general: Consistently name all bam factory functions make_from_bam
...
See discussion in #1630
2024-03-18 02:38:41 +01:00
rdb
d4a3b9bfcd
glgsg: Fix docstring typo
2024-03-15 12:47:21 +01:00
rdb
91c22a0fd6
pstats: Perf improvement for smooth mode in strip chart with dropped frames
...
This significantly improves PStats strip chart performance with high frame rates and high number of dropped frames
2024-03-15 12:45:19 +01:00
rdb
07902429b8
pstats: optimize method that searches for frame at given time
...
This method is called a lot in the strip chart code and the current implementation can be very slow with a large frame rate
2024-03-15 12:44:14 +01:00
rdb
9fd9e2868e
pstats: Don't compute frame data for dropped frames
...
When a frame is dropped, the previous non-dropped frame is considered to be repeated, but the strip chart would compute new cached frame data for it, causing performance to be unusably slow at high frame rate data gathering even when most frames are skipped
This makes performance remotely usable in that situation
2024-03-14 10:22:18 +01:00
rdb
f59be2d6f7
pstats: Performance optimizations for strip chart
2024-03-13 23:22:15 +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
b50ad2efe9
eggprogs: Fix compiler warnings
2024-03-12 15:48:27 +01:00
rdb
af27a9523c
Merge branch 'release/1.10.x'
2024-03-12 15:39:16 +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
b605e1240c
tests: Add unit test to check new panda3d.net module
2024-03-02 13:41:23 +01:00
rdb
92db1840f9
net: Prepare to split these classes out into panda3d.net module
...
See #1466 - these classes are still part of panda3d.core as of 1.11, but they should really be imported from panda3d.net (they can be imported from either place in 1.11). A future release will remove them from panda3d.core entirely.
2024-03-02 13:41:23 +01:00
rdb
b221b492f7
CMake: pass full module name to interrogate_module
2024-03-02 13:41:23 +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
66367ba5e3
makepackage: Unbreak RPM file generation with new pstats.desktop
...
Fixes #1618
2024-03-01 15:49:20 +01:00
rdb
d9052bae76
mac-stats: fix compile error with STDFLOAT_DOUBLE
...
[skip ci]
2024-02-12 11:46:25 +01:00
rdb
09fc5b73d7
glgsg: Fix regressions with fog shader inputs in GLSL
2024-02-11 22:57:18 +01:00
darktohka
b049c891d1
ext: Use different names for each gen_next method
2024-02-10 23:49:28 +01:00
rdb
3303bac902
x11: Fix error message when xf86dga extension is not found
...
[skip ci]
2024-02-09 15:06:27 +01:00
Maxwell Dreytser
d8775fa01e
Fix unguarded python-specific headers.
2024-02-02 19:45:28 +01:00
Maxwell Dreytser
6dc274e38d
Remove .I files from _IGATEEXT.
2024-02-02 19:45:28 +01:00
LD
676a6df593
pstats: Workaround for Gtk bug that causes UI to crash when a session is closed
...
As workaround for https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2029 , we manually create a GtkFlowBoxChild instance and attach the label to it and increase its reference count so it it not prematurely destroyed when removed from the GtkFlowBox, causing the UI to segfault.
2024-02-01 00:34:13 +01:00
rdb
a9f6e6fd8a
pstats: Fix menus not updating in some conditions
...
Menus would only update properly if there was a strip chart open that would cause the PStatView to be updated
Calling `check_update()` in `new_collector()` doesn't work properly because the views haven't been updated there yet; calling `do_update()` there does work around it but I think the better fix is just to make sure we always update the view so that the `check_update()` (which is also called by `idle()`) works properly
2024-01-30 12:24:12 +01:00
rdb
73360393df
Switch use of Py_INCREF to new Py_NewRef function
...
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on
A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
rdb
f1f15a92a4
task: Fix refcount leak when assigning attribute of task object
...
Regression on 1.11
2024-01-29 16:03:43 +01:00
rdb
4b748d1aba
dtoolutil: Fix issue compiling interrogate without HAVE_PYTHON
...
Closes #1608
Co-authored-by: pmp-p <mail.peny@free.fr>
2024-01-28 15:15:27 +01:00
rdb
128000b03a
dtoolutil: writelines() should accept any iterable
2024-01-28 15:15:27 +01:00
rdb
84ed141b2a
Squash merge webgl-port branch into master
...
Adds support for emscripten as a build target / platform, and adds a WebGL renderer back-end
2024-01-25 15:37:38 +01:00
rdb
b49dbaca2b
Report errors if calls to close()
fail
2024-01-25 12:33:20 +01:00
rdb
ecc1e30ef6
Merge branch 'release/1.10.x'
2024-01-23 16:56:38 +01:00
rdb
0dad38d089
text: Enable text-use-harfbuzz by default, if compiled in
...
See #1591
2024-01-23 16:47:50 +01:00
rdb
23772c4722
text: Support explicit direction even with harfbuzz disabled
...
Fixes #1591
2024-01-23 16:45:39 +01:00
rdb
ca9b5dd44a
glgsg: Fix for when p3d_Color
is set to vec4 type
...
Fixes #1601
2024-01-23 15:42:13 +01:00
rdb
39d964c4bb
glgsg: Don't set immutable flag for buffer textures (regression)
...
Fixes #1602
2024-01-23 15:37:07 +01:00
rdb
8c74919a8b
dgui: Make copy of mutable default value
...
Fixes #1587
2024-01-23 14:51:44 +01:00