Commit Graph

1851 Commits

Author SHA1 Message Date
rdb c2ab647215 mac-stats: Widen strip chart sidebar to make smooth button fit on Tahoe 2025-10-19 11:42:58 +02:00
rdb 6274b478aa pstats: Better handle overlapping collectors in Timeline
Prevents staircase effect where overlapping bars will end up ever
increasing the number of rows
2025-02-27 15:11:16 +01:00
rdb 5a97488adf gtk-stats: Support trackpad zoom/pan gestures in Timeline view 2025-02-27 15:10:53 +01:00
rdb 73c6759984 android: Exit process after activity shutdown
Hack to help with #1216 a bit

Unfortunately this causes the activity to reopen sometimes, but maybe this can serve as a stopgap for now
2024-11-27 16:26:59 +01:00
rdb d6acaaffb0 dist: Android fixes, esp. for Python 3.13
This changes the use of sys.executable to sys.platlibdir, which requires Python 3.9+ (but that's probably okay since Python 3.8 is EOL)

Python 3.13 has proper official Android support, including built-in stdout/stderr redirection, but it only does so if sys.executable is not set
2024-11-27 00:21:11 +01:00
rdb c31041c8cc android: Fix assorted errors and deprecations 2024-11-26 16:42:02 +01:00
rdb 5caace1cdd imageprogs: Fix compilation with CMake and STDFLOAT_DOUBLE 2024-11-06 11:31:11 +01:00
rdb a632365b88 win-stats: Handle app commands, support back keybind in flame graph
See #1658
2024-10-29 22:23:50 +01:00
rdb c8a918a209 pstats: Add Alt+Left in GTK flame graph to go back
See #1658
2024-10-29 13:15:28 +01:00
rdb c48721493a pstats: Allow scrolling through frames in flame charts
Closes #1658
2024-10-28 13:17:56 +01:00
rdb 61f8df2d7d general: Fix assorted compiler warnings 2024-10-14 12:06:35 +02:00
rdb b32459ffa1 Merge branch 'release/1.10.x' 2024-09-19 15:51:25 +02:00
rdb cdafd81764 Fix compilation issues with Python 3.13 2024-09-19 15:47:50 +02:00
rdb ad4ecbcc16 makepanda: Remove Autodesk Maya plug-ins
These now live at https://github.com/panda3d/maya-egg

Fixes #1584
2024-08-13 11:06:31 +02:00
rdb fff9ea594c Split off 3ds Max exporter to a separate repository
It now lives at https://github.com/panda3d/max-egg-plugin

See #1584
2024-08-13 10:59:33 +02:00
rdb 4ca495d828 CMake: Add separate BUILD_TOOLS option to build binaries
This is separate from BUILD_PANDATOOL, which builds the pandatool tree
2024-08-12 16:39:20 +02:00
rdb c8390ae7d5 CMake: install assorted pandatoolbase libraries 2024-08-12 16:32:24 +02:00
rdb 1213d95560 Merge branch 'release/1.10.x' 2024-03-28 01:17:52 +01:00
kamgha aa58b4ccf2 palettizer: Fix magfilter on KW_mipmap
Closes #1631
2024-03-27 11:12:58 +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 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 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 d9052bae76 mac-stats: fix compile error with STDFLOAT_DOUBLE
[skip ci]
2024-02-12 11:46:25 +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 b49dbaca2b Report errors if calls to `close()` fail 2024-01-25 12:33:20 +01:00
rdb 9145b6c729 Merge branch 'release/1.10.x' 2024-01-04 16:36:03 +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
rdb b7fa25f8f4 assimp: Disable loading .glb and .gltf via Assimp by default
Fixes #1537
2023-10-22 12:08:09 +02:00
rdb 3833a35fa9 Merge branch 'release/1.10.x' 2023-10-22 12:06:18 +02:00
rdb 0121e74aa4 assimp: Add assimp-disable-extensions config var (for #1537)
This can be used to disable certain extensions from being loaded via Assimp

Also makes the `get_additional_extensions()` method a bit more efficient by having it avoid string concatenation, using a temporary buffer instead
2023-10-22 11:59:30 +02:00
rdb d368fac3e3 pstats: Update macOS timeline view to show more of collector name
Now shows the parent collector name if there's room and a single character if there's no room for anything more, just like the other implementations
2023-10-14 14:25:45 +02:00
rdb 10110cbfff CMake: Build PStats port for macOS 2023-10-14 12:59:18 +02:00
rdb 71154492b9 pstats: Add macOS port
Closes #1531
2023-08-30 15:08:46 +02:00
rdb 577dc25130 pstats: Fix erroneous highlight in strip chart before oldest frame 2023-08-29 22:51:17 +02:00
rdb da57279d9a pstats: Fix GTK strip chart total label and window title not updating
...when navigating around in a session that is not being updated automatically (eg. loaded from file)
2023-08-28 13:04:05 +02:00
Disyer 0cf2a5f385 pandatool: Correct header guard names (#1525) 2023-08-05 14:50:48 +02:00
rdb 35348fd74a express: Do not rely on OpenSSL for MD5 hash support
These hashes are used in various places in the Panda codebase (for integrity checks, not for crypto), so using an internal implementation allows retaining this functionality when building Panda without OpenSSL.

Based on the following public domain implementation:
https://github.com/B-Con/crypto-algorithms
2023-02-22 16:47:14 +01:00
Brian Lach 5f83882858 palettizer: don't respect srgb flag for alpha textures 2023-02-14 20:08:14 +01:00
Brian Lach 52d59b2df7 add sRGB support to egg-palettize, sluminance to egg 2023-02-14 11:34:24 +01:00
rdb 5e26aae1ff cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
Disyer af4a1bc7a9 python: Use public PyErr_Occurred API instead of private macro
The _PyErr_OCCURRED macro was removed in Python 3.10, so we shouldn't keep any compat code left around for it
2023-02-12 02:36:57 +02:00
rdb b282e8920d Merge branch 'release/1.10.x' 2023-01-13 22:32:35 +01:00
rdb 2157f1162e pstats: Proper thread cleanup after a thread exits (PStats 3.2)
The thread will linger around in the server as long as there is data (so, it will be removed after `pstats-history` seconds)

Fixes #450
2023-01-10 14:37:39 +01:00