Commit Graph

467 Commits

Author SHA1 Message Date
b91fd26dbf general: Remove "visible=true" properties
Widgets are shown by default in GTK4, so using
"visible=true" is no longer necessary.
2023-03-06 11:31:44 -03:00
49c57c4a6f visualizer-group: Fix insert()
sysprof_visualizer_group_insert() would insert widgets intended for
position 0 at position 1 instead. This caused a bug in the marks section
where the "Timings" row, which is supposed to be at the top, would
instead be at position 1. Because the menu buttons are in the top row,
disabling a row through the menu could cause the menu buttons to
disappear.
2023-02-21 17:21:28 -06:00
ca3b4844b0 application: Mark 4 strings translatable 2023-02-13 19:51:45 +00:00
d2af3d72ac chore: fix typo in comment: psuedo -> pseudo 2023-02-11 20:24:47 +01:00
c65dc2fa4d libsysprof-ui: Avoid to rely on g_object_set_data to associate header and group
Actually add a construct-only property on SysprofVisualizerGroupHeader
2023-01-18 22:12:52 +01:00
2df6bd6fe0 Merge branch 'tintou/mark-details-treeview' into 'master'
display: Use gatomicrefcount to track the active tasks

See merge request GNOME/sysprof!56
2023-01-17 19:28:22 +00:00
5695a3afd5 display: Use gatomicrefcount to track the active tasks
Without this we can have some racing and release the GTask without returning
a value.
2023-01-17 15:17:39 +01:00
8967b2db33 details-page: Use a GtkColumnView instead of a GtkTreeView
Remove the use of the now deprecated GtkTreeView and allow the colums to be sorted.
2023-01-17 15:16:56 +01:00
6d50f3ca7b meson: Override dependencies to improve usage as a subproject
With this change, sysprof can be consumed as a subproject without
making any changes to the build files of a project. All you need to do
is provide a wrap file with a `[provide]` section:

https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section

This is also necessary because otherwise projects need to hard-code
the subproject name, which might be `sysprof` when using `wrap-git` or
`sysprof-3.46.0` when using `wrap-file` (to build from a release
tarball). This can cause conflicts between different subprojects that
consume sysprof differently.

Other projects like glib, cairo, pango, etc already do this.
2022-12-18 10:04:00 +05:30
3d02ea81fa libsysprof-ui: remove EggThreeGrid from build 2022-07-22 14:50:14 -07:00
1a628d6469 libsysprof-ui: move memprof button box to bottom
This is just too hit-target dense at the top, so try to get it out of
the way a bit.
2022-07-22 14:49:40 -07:00
131953150c libsysprof-ui: add spacing around toggle buttons 2022-07-22 14:48:20 -07:00
cd4a22ed4b libsysprof-ui: use AdwPreferencesPage for memprof page 2022-07-22 14:46:59 -07:00
3e2a704231 libsysprof-ui: remove use of EggTreeGrid in details page 2022-07-22 14:32:24 -07:00
feccf5fbeb css: fix object select image styling for profiler assistant
Fixes #79
2022-07-22 13:30:43 -07:00
3002640c50 build: use app-id to determine installed icon
This means we don't install org.gnome.Sysprof.svg anymore when building
with -Ddevelopment=true (and vice versa). We do use org.gnome.Sysprof.svg
from libsysprof-ui, but that embeds the appropriate resources.
2022-07-22 13:13:59 -07:00
1945660912 build: move application id to org.gnome.Sysprof
We use org.gnome.Sysprof3 for the sysprofd daemon, but we need not
complicate the application with such an application id.
2022-07-22 12:24:42 -07:00
d8b2dee297 libsysprof-ui: cleanup failed state view 2022-07-11 13:11:22 -07:00
0be07b989e libsysprof-ui: remove grid include from assistant 2022-07-11 13:04:54 -07:00
c6ae3221a1 libsysprof-ui: use adwaita rows for assistant
This isn't exactly ideal in our use, but it's transitionary so that we
can get rid of the EggThreeGrid which is very out of place in a libadwaita
world.
2022-07-11 12:55:12 -07:00
dd7d080642 libsysprof-ui: be more specific in environment label 2022-07-11 12:52:02 -07:00
672a15b734 libsysprof-ui: make aid icons smaller 2022-07-11 12:51:50 -07:00
757d36ae8e Cleanup the build a bit
Makes the Meson build a little bit better and cleans up some of the
formatting.
2022-05-25 14:07:02 -05:00
808b957682 libsysprof-ui: fix can-replay notification
Otherwise we don't get this until we switch tabs.
2022-05-18 15:53:57 -07:00
aae829741e libsysprof-ui: avoid splashing the assistant view 2022-05-17 15:45:59 -07:00
14a1a2f8df libsysprof-ui: fix spread of left-side paned 2022-04-02 15:12:10 -07:00
7f9599bd3e libsysprof-ui: fix missing toggle button usage 2022-04-01 17:12:52 -07:00
17d2c16957 libsysprof-ui: make the boxes fit in scrollmap better 2022-04-01 16:48:18 -07:00
39a6fe3466 libsysprof-ui: remove unnecessary box from hierarchy 2022-04-01 16:39:50 -07:00
fa88603024 egg-resizer: ignore unset drag positions 2022-04-01 16:39:02 -07:00
846c59a874 libsysprof-ui: remove some unnecessary properties 2022-04-01 16:32:43 -07:00
b8bfc5c516 libsysprof-ui: fix positioning of instruments label 2022-04-01 16:32:23 -07:00
79fe38a832 libsysprof-ui: cleanup display ui properties 2022-04-01 16:21:19 -07:00
2b9c24497b libsysprof-ui: remove dead size_allocate code
This is never getting run because there is a layout manager.
2022-04-01 16:20:49 -07:00
23e128d1a0 libsysprof-ui: fix alignment of visualizers to ticks 2022-04-01 14:21:42 -07:00
6ccf961829 libsysprof-ui: fix drawing of selections 2022-04-01 14:20:12 -07:00
8a73f72f97 libsysprof-ui: fix infloop in measurements
Apparently the box margin seems to be causing issues with boxlayout.
2022-04-01 14:09:31 -07:00
df0ff1449d libsysprof-ui: fix compilation warning 2022-04-01 14:09:31 -07:00
31201aef63 libsysprof-ui: cleanup marks page 2022-04-01 14:09:31 -07:00
b048b78429 libsysprof-ui: cleanup builder ui style a bit
We can remove lots of things and be more consistent with conventions.
2022-04-01 14:09:31 -07:00
6bb18a8f8c callgraphpage: fix right/left arrow handling
This was working, but signal signature was wrong.
2022-04-01 13:17:15 -07:00
d26f1d8d75 memprofpage: fix togglebuttons and panels 2022-04-01 13:17:12 -07:00
2f7d133d5a notebook: fix discovery of empty displays 2022-04-01 13:16:35 -07:00
4c7a6b8311 display: fix removal of pages 2022-04-01 13:16:35 -07:00
77ee8f3c81 callgraphpage: set loading page as default 2022-04-01 13:16:35 -07:00
93b37f9c3f visualizersframe: fix cursor to visualizers area 2022-04-01 13:16:35 -07:00
6ebedd4f06 threegrid: use layout manager to layout three grid
There is still some work that needs to be done to fix the baseline for
each row.
2022-04-01 13:16:35 -07:00
6be7087c74 libsysprof-ui: clean up and remove child widgets 2022-04-01 13:16:35 -07:00
f4b8dccb52 display: remove stack on dispose 2022-04-01 13:16:35 -07:00
22aefaa2c1 resizer: fix warnings 2022-04-01 13:16:35 -07:00