Commit Graph

462 Commits

Author SHA1 Message Date
c35e109958 duplexvisualizer: minimal GTK 4 port
This should be rewritten to draw offscreen and then upload textures as
necessary to the GPU for blitting.
2022-04-01 13:14:51 -07:00
52e6727beb scrollmap: port to GTK 4
And use snapshots to paint color blocks
2022-04-01 13:14:51 -07:00
e0b1271994 visualizersframe: inherit from GtkWidget and port to GTK 4
Lots that can go wrong here, and most likely we'll want to redo how
selections work over time to use a drag gesture instead of the sort
of annoying click/motion stuff we're doing here.
2022-04-01 13:14:51 -07:00
f1adbe7d3f memprof: port visualizer to GTK 4 2022-04-01 13:14:51 -07:00
ddb8db5872 cellrendererpercent: subclass private progress implementation
We might get this subclassable in GTK soon, but until then just subclass
so we can move on and port more things.
2022-04-01 13:14:51 -07:00
c6da3d3898 recordingstateview: port to GTK 4 2022-04-01 13:14:51 -07:00
d6b1a820d0 failedstateview: port to GTK 4 2022-04-01 13:14:51 -07:00
e1c2f0ee55 visualizergroup: port to GTK 4 2022-04-01 13:14:51 -07:00
9a95835b59 profilerassistant: port to GTK 4 2022-04-01 13:14:51 -07:00
e29b1836cc page: start porting to GTK 4
More work to be done, but setup the base object.
2022-04-01 13:14:51 -07:00
8136484846 environeditor: port to GTK 4
This required using an intermediate object, so will need further testing.
2022-04-01 13:14:51 -07:00
ae61e9ceca detailspage: port to GTK 4 2022-04-01 13:14:51 -07:00
6759bc4ac8 cpuaid: port to GTK 4 2022-04-01 13:14:51 -07:00
226a1f147b procsvisualizer: port to GTK 4
This is a minimal port. We'll definitely want to cache the rendered cairo
surface going forward instead of redrawing every frame.
2022-04-01 13:14:51 -07:00
234d37ea12 libsysprof-ui: inherit visualizer from GtkWidget 2022-04-01 13:14:51 -07:00
36a9e37ee2 display: inherit from GtkWidget 2022-04-01 13:14:51 -07:00
5e55f5f2cc build: switch build to GTK 4 2022-04-01 13:14:51 -07:00
a1f8f7e9f8 build: remove dazzle reference 2022-04-01 13:14:51 -07:00
b4c8530019 build: remove libdazzle 2022-04-01 13:14:51 -07:00
ae25672f0e memprofpage: cleanup warnings 2022-04-01 13:14:51 -07:00
304b2901ac detailspage: dedazzle 2022-04-01 13:14:51 -07:00
48d8b3da8e libsysprof-ui: add EggThreeGrid
So we can drop our use from libdazzle. We'll need to port this to GTK 4
but it shouldn't be too bad.
2022-04-01 13:14:51 -07:00
3b2c111598 visualizergroupheader: dedazzle 2022-04-01 13:14:51 -07:00
4e8b2ce9c5 sysprof-ui: remove dazzle header 2022-04-01 13:14:51 -07:00
24c1cfe5bf memprofpage: remove dazzle usage
We will need to use some replacements in GTK 4 though.
2022-04-01 13:14:51 -07:00
5a6e0a3594 marksaid: embed rgba shading code 2022-04-01 13:14:51 -07:00
99a4cd8309 css: remove dead CSS 2022-04-01 13:14:51 -07:00
07d2de5d3a cellrendererduration: inline rounded rectangle
We can just embed this instead of relying on dazzle, and inline it at
the same time.
2022-04-01 13:14:51 -07:00
fb16745723 visualizer: remove DzlBin usage
We can just use GtkBin for now, and in GTK 4 we'll switch to using
GtkWidget as the parent type. But this helps us progress on de-dazzling.
2022-04-01 13:14:51 -07:00
94d7e90206 display: use GtkPaned
We don't need MultiPaned here (other than it works nicer than GtkPaned).
We can move to PanelMultiPaned in the future if we need it.
2022-04-01 13:14:51 -07:00
f56c36b054 callgraphpage: remove dazzle for shortcuts
We can do this manually with a key controller.

In the future, we will do this with GTK 4's shortcut controller.
2022-04-01 13:14:51 -07:00
2888ae2ad8 visualizergroup: remove dazzle usage 2022-04-01 13:14:51 -07:00
d05f1cba57 Preload correct speedtrack lib in GUI
Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com>
2021-11-16 15:42:37 -05:00
7a040a6032 memprof: add section for allocation leaks
These are defined by allocation records that do not have a corresponding
release record.
2021-11-04 21:10:44 -07:00
66d412b235 display: show time in local time
Fixes #67
2021-10-28 19:01:18 -07:00
e02785ba23 start on new resolver for paths 2021-09-14 19:53:46 -07:00
d1a43dc4a8 libsysprof-ui: Fix a typo in a label 2021-03-08 15:27:27 -08:00
c93286cf9a libsysprof-ui: remove GTK aid
This isn't needed anymore now that we have the Control FD source which is
used to pass data between processes.
2021-02-24 14:20:17 -08:00
6d3398f258 libsysprof-ui: always setup governor source on Linux
We need this for disabling paranoid perf event.
2021-02-24 12:19:08 -08:00
3e1686a7f4 ui: tweak layout of recording button a bit
This makes things look a lot better on the initial display. If the window
is too large, the compositor can maximize it anyway.
2021-02-23 15:50:10 -08:00
b77523eb3d use g_memdup2() 2021-02-23 15:39:25 -08:00
f0303f4b68 meson: Fix pkgconfig generation
This fix error when gio is a subproject, when there is pc file
assotiated for objects in libraries_private meson automatically promote
them to requires.

Also remove some values that are already the default.
2020-10-01 10:15:38 -04:00
93a21a25ab format: improve string formatting for smaller timings 2020-09-30 12:29:07 -07:00
04b6fdfcbe libsysprof, libsysprof-ui: Generate pkg-config dependencies
Otherwise, using libsysprof-ui will usually fail because <dazzle.h>
is not added to the search path.

Resolves: https://gitlab.gnome.org/GNOME/sysprof/-/issues/49
Signed-off-by: Simon McVittie <smcv@debian.org>
2020-09-16 10:48:04 +01:00
68c50ba869 build: Pass libraries to pkgconfig.generate as a positional argument
This allows Meson to associate the pkg-config module with the "main"
library that it represents, in an unambiguous way.

Signed-off-by: Simon McVittie <smcv@debian.org>
2020-09-16 10:47:22 +01:00
620f1f0ff0 build: fix build warnigns with Clang 2020-08-14 12:57:50 -07:00
eae4eb4ad7 build: Drop redundant _GNU_SOURCE definitions
It’s defined in `meson.build` now. See the previous commit.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-07-06 11:27:28 +01:00
3c7b76c6ba build: Move Meson dependency() calls to where they’re used
This avoids making the project depend on all its dependencies, some of
which are optional, when being built as a Meson subproject.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-07-03 22:01:33 +01:00
97ddf5a0cc libsysprof: port UI to new ABI
Some minor changes were necessary so that we could change the ABI in
libsysprof-capture to be free from GLib (and therefore used by GLib).

This also adds some wrappers for capture API in libsysprof so that we
can continue to use GError from UI code.
2020-07-03 22:00:34 +01:00
51021ece1a libsysprof-ui: use "Recording" instead of "Capture" 2020-07-01 17:50:36 -07:00