Commit Graph

4227 Commits

Author SHA1 Message Date
a837eaa67a Update Hungarian translation 2024-08-30 14:26:50 +00:00
2d4e3bf304 Update Portuguese translation 2024-08-30 11:06:26 +00:00
24af009c65 Update Korean translation 2024-08-29 23:31:40 +00:00
1da6f7fe3b Update Czech translation 2024-08-29 22:46:35 +00:00
d6acbbefcd Merge branch 'City-busz-master-patch-65356' into 'master'
Set icon for the window

See merge request GNOME/sysprof!102
2024-08-29 16:00:47 +00:00
23299b0746 Set icon for the window 2024-08-29 16:28:43 +02:00
4d8f524077 Update Catalan translation 2024-08-28 15:16:25 +00:00
3c086533c9 Update Brazilian Portuguese translation 2024-08-26 12:11:25 +00:00
1dec43d1c9 Update Persian translation 2024-08-26 09:08:03 +00:00
2a9b04d01b Update Chinese (China) translation 2024-08-25 05:26:55 +00:00
9465fe9579 Update Ukrainian translation 2024-08-23 10:30:09 +00:00
6c6c203b89 Update Georgian translation 2024-08-23 08:11:43 +00:00
9cd94b2374 Update Romanian translation 2024-08-23 05:05:08 +00:00
40c1653bad Update German translation 2024-08-22 20:20:07 +00:00
3a5d110b1d Update Hebrew translation 2024-08-22 15:50:39 +00:00
10217bb0e2 libsysprof-capture: fix set_fd_blocking()
It was missing an include for the define and the variable was flat out
wrong when porting.

Fixes: #124
2024-08-22 08:33:45 -07:00
3ab494539e Merge branch 'nzimmermann/issue-123-make-polkit-agent-optional' into 'master'
Turn polkit-agent support into an optional feature.

See merge request GNOME/sysprof!100
2024-08-20 21:43:45 +00:00
8ce302d65f Merge branch 'wip/utilities' into 'master'
desktop: Move to GNOME Shell Utilities folder

See merge request GNOME/sysprof!101
2024-08-20 21:43:00 +00:00
744f198018 desktop: Move to GNOME Shell Utilities folder 2024-08-20 17:39:04 -04:00
b726f49d15 Turn polkit-agent support into an optional feature.
This simplifies deployment on embedded devices, where polkit is usually
unncessary at runtime, but pulls in quite a few otherwise unncessary
dependencies. Start to improve the situation by allowing to selectively
disable polkit-agent support at compile time, which aids in container
usage scenarios, where one wants to invoke 'sysprof-cli' from within
the container. Bypassing polkit-agent in the container is then desired,
since the host sysprofd will handle asking for permissions to enable
the tracing. It allows for a simpler setup of rootless podman
containers, avoiding UID mismatches, that lead to rejection of the
tracing enablement.

- Add a new 'polkit-agent' meson build feature, that allows to force disabling
  polkit-agent support (-Dpolkit-agent=disabled).

- Mark the 'polkit-agent' feature as enabled, by default, to reflect
  the current status (sysprof-cli did not build without polkit-agent support).

- libsysprof/sysprof-instrument.c: Build fix when polkit is not available,
  remove the unnecessary 'g_autopr(PolkitDetails) details' variable.

- Alter the sysprof-cli dependencies to only attempt to link against
  polkit-agent, if necessary. Modify sysprof-cli.c to wrap all code using
  polkit-agent in HAVE_POLKIT_AGENT blocks.
2024-08-20 20:46:11 +02:00
9276012c2b Update Russian translation 2024-08-19 13:33:32 +00:00
54295a1466 libsysprof: port GPtrArray sort to gtk_tim_sort() 2024-08-16 12:50:21 -07:00
b06c08c64e sysprof: use gtk_tim_sort() to sort rectangles for bsearch 2024-08-16 12:46:36 -07:00
fbab86314a libsysprof: use gtk_tim_sort() to sort jitmaps 2024-08-16 12:43:13 -07:00
e11e2e3bc8 libsysprof: use gtk_tim_sort() for kernel kallsyms array 2024-08-16 12:41:37 -07:00
9c896e0bb4 libsysprof: use gtk_tim_sort() for packed symbols 2024-08-16 12:39:41 -07:00
dde273e25e libsysprof: correct awkward double values
We still get some really crazy huge numbers from GTK for FPS, likely from
division issues. Just normalize it to zero for now.
2024-08-16 12:37:53 -07:00
cdb011b403 libsysprof: use gtk_tim_sort() for counter value sorting
This is generally faster than g_array_sort() due to all the heuristics
involved, which are likely to hold true for us with counter data.
2024-08-16 12:14:05 -07:00
d67adc598b sysprof: fix upper bound for graphics charts 2024-08-16 12:01:51 -07:00
6d9a8d490b sysprof: add gio/mutter to graphics section 2024-08-16 11:13:07 -07:00
8e95191a28 Merge branch 'gbsneto/mark-name-in-waterfall-fixes' into 'master'
sysprof: Also render labels for instant marks

See merge request GNOME/sysprof!99
2024-08-15 20:54:59 +00:00
265eeeb12f sysprof: Also render labels for instant marks
This was an oversight from the original commit!

Render labels for instant marks as well. The PangoLayout is shared
between ranged and instant marks, and therefore moved to an earlier
point in the function.
2024-08-15 17:52:01 -03:00
cf7dfbb22d sysprof: use black when not using dark mode
This extremely unclever hack works around the styling issue in light mode
from !98 as mentioned at:

  https://gitlab.gnome.org/GNOME/sysprof/-/merge_requests/98#note_2196955

It just uses black if we're out of rect and not in dark mode.
2024-08-15 13:16:53 -07:00
32690091ef sysprof-cli: set GJS_ENABLE_PROFILER 2024-08-14 14:40:39 -07:00
836edc0c87 libsysprof: fix tracefd string for child process 2024-08-14 14:36:25 -07:00
1a19aba570 sysprof: use AdwAboutDialog 2024-08-14 13:55:11 -07:00
ec2b207191 Merge branch 'gbsneto/mark-name-in-waterfall' into 'master'
sysprof: show mark name in waterfall marks

See merge request GNOME/sysprof!98
2024-08-07 20:34:55 +00:00
444b4fff75 sysprof: Adjust font size slightly
Makes the Waterfall view look better.
2024-08-07 14:05:59 -03:00
43dd3f5062 sysprof: Render label outside rect if it doesn't fit
This allows reading the mark name even when it is too small to fit any
text.
2024-08-07 14:05:59 -03:00
aa15d5f49f sysprof: Don't initialize GValue before evaluation
GtkExpression infrastructure already initializes the GValue.

Fixes a warning introduced by the previous commit.
2024-08-07 11:32:29 -03:00
7cd51d1502 sysprof: show mark name in waterfall marks
This makes is much easier to inspect waterfall marks, since we can spot
at a glance which marks are there, without having to hover each mark
individually with the cursor to see the tooltip.

This helps WebKit profiling in particular, which is a heavy user of
marks.
2024-08-07 11:18:03 -03:00
e81cfb64dd Post-release version bump 2024-08-06 14:16:54 -07:00
b0693fe097 Release 47.beta 2024-08-06 14:16:08 -07:00
fd67844d8b sysprof: put recording pad contents in a window handle
So that it can be dragged around easier by users.
2024-08-06 14:14:30 -07:00
cf298348a6 Update Romanian translation
(cherry picked from commit b0f1a461f6883a5d74bbb532092378afa7eb494c)
2024-08-04 18:14:19 +00:00
1f271e2b7d Update Turkish translation 2024-07-29 20:54:00 +00:00
c50b52e440 Update Hindi translation 2024-07-29 18:38:14 +00:00
93944eb993 Update Slovenian translation 2024-07-27 09:08:45 +00:00
f82c88d86f Merge branch 'color-fix' into 'master'
sysprof: fix color array initialization

See merge request GNOME/sysprof!97
2024-07-26 17:53:14 +00:00
a4c92033a2 sysprof: fix color array initialization 2024-07-26 23:05:24 +05:30