Commit Graph

1053 Commits

Author SHA1 Message Date
1d10c90aba window: add ellipsis to dialogs
This makes the title more closely match the menu items.
2018-09-24 20:59:23 -07:00
bf1472b009 app-menu: move to using window menu instead of app-menu
This starts moving things towards our 3.32 goals of using window menus
intead of the app-menu.
2018-09-24 20:55:20 -07:00
1584fca77a profiler-menu-button: be robust against window destroy
If the window is closed, we want to be more careful about accessing
structure data. This short-circuits some of those situations.
2018-09-24 20:49:28 -07:00
e4a5f5f629 post release version bump
This bumps us to 3.31 for 3.32 development. See the sysprof-3-30 branch
for updated patches to 3.30.
2018-09-24 17:51:41 -07:00
790b41ddbc release 3.30.1 2018-09-24 17:47:19 -07:00
db6445d6aa Update Brazilian Portuguese translation
(cherry picked from commit 982cd11ae4fbc50ad193e9afc72982b3818ebf11)
2018-09-15 07:22:16 +00:00
c8d97eb198 filter: backport fixes from dazzle 2018-09-10 17:07:29 -07:00
08a8423c41 Merge branch 'master' into 'master'
capture: use size of void* instead of glibc-specific __WORDSIZE

See merge request GNOME/sysprof!5
2018-09-07 17:24:37 +00:00
013d2dc575 Merge branch 'format' into 'master'
Fix clang warnings

See merge request GNOME/sysprof!6
2018-09-07 17:23:03 +00:00
fa1def2afc fix non-literal format string issues
clang errors out when using -Werror=format-nonliteral
since the definition of g_strdup_vprintf() from glib-2.0
is using va_list and clangs still warns where as
gcc doesn't do that for va_list arguments

Fixes
src/sp-window.c:96:27: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
|   str = g_strdup_vprintf (format, args);
|                           ^~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-09-07 11:21:39 +01:00
bc7e3e27c2 capture: use size of void* instead of glibc-specific __WORDSIZE
__WORDSIZE is glibc-specific so sp-capture-types.h doesn't work with musl.
2018-09-07 10:52:52 +01:00
b4b19ceb3e Update Swedish translation 2018-09-05 11:07:11 +00:00
1b059ca806 Update Hungarian translation 2018-09-05 05:26:11 +00:00
139a6365a8 release 3.30.0 2018-09-04 21:45:44 -07:00
d2a8f16e97 Update Swedish translation 2018-09-03 12:29:58 +00:00
de586a552c Update Italian translation 2018-09-03 12:23:29 +00:00
28c28eb11a kernel-symbol: respect ENABLE_POLKIT setting
This fixes the compilation when we have sysprofd fully disabled.
That is not an ideal configuration, but keeping it working
ensures that some of the code is easy copy/paste'able in the
future for some situations.
2018-08-28 12:22:57 -07:00
94cdb1a6c7 Update Indonesian translation 2018-08-27 07:37:37 +00:00
6f635ad371 build: don't disable assert on tests
This fixes #2 where meson errors about tests and assert being disabled.
2018-08-22 13:06:15 -07:00
6ead0097de build: fix warnings for release builds 2018-08-22 13:06:15 -07:00
c1b4fe3838 build: remove disabling of checks
This is excessive and not really worth it.
2018-08-22 13:06:15 -07:00
0676870d2d Updated Spanish translation 2018-08-21 11:26:52 +02:00
d1f6ebf0c4 Update German translation 2018-08-12 13:26:21 +00:00
bfac3ab762 tests: fix leak in test
This allows the test to pass under ASAN.
2018-07-27 18:02:15 -07:00
9e770999ee Update Brazilian Portuguese translation 2018-07-05 18:05:51 +00:00
716e8e860f Updated Spanish translation 2018-06-22 12:08:26 +02:00
45a3fb8e66 Merge branch 'pc-config-fix' into 'master'
build: fix overriding libdir & includedir

See merge request GNOME/sysprof!2
2018-06-20 20:48:10 +00:00
f1a558e6ef Merge branch 'master' into 'master'
README tweaks

See merge request GNOME/sysprof!1
2018-06-20 20:45:46 +00:00
9ff4dfca6e Merge branch 'suggsted-action' into 'master'
window: fix spelling of suggested-action CSS class

See merge request GNOME/sysprof!3
2018-06-20 20:44:45 +00:00
f7b27bcd59 window: fix spelling of suggested-action CSS class
I think this was masked by the .destructive-action class being defined
later in the Adwaita CSS than the .suggested-action class, so its values
for each property win.
2018-06-20 14:34:08 +01:00
7cb15d2de7 perf: fix incorrect free func for ptr array 2018-06-19 14:19:44 -07:00
984d58f958 release 3.29.3 2018-06-18 20:42:59 -07:00
f11bc530c3 hostinfo: fix pid parameter 2018-06-17 23:43:41 -07:00
50ccd73592 visualizers: use double instead of float
To give us less changes of incorrect values when converting between scales
(at the cost of 2x the array size).
2018-06-16 20:22:53 -07:00
c9c86ff37a hostinfo: up the sample rate
Now that our CPU sampling has a bit less overhead, we can up the sampling
rate a bit without too much affect on performance.
2018-06-16 20:07:38 -07:00
9665cebbdc hostinfo: reuse proc FD and memory when parsing
Re-opening the FD on every poll is pretty expensive. So we should avoid
doing that as well re-use the read buffer (page-aligned, <=1 page) for
the sample data.
2018-06-16 19:50:44 -07:00
a1e3d06296 cpu: make row a bit bigger
We should make it at least the size of the minimum for the view area, or
things look weird when we dont have marks added.
2018-06-16 19:48:23 -07:00
20e4204919 kernel: use "Kernel" instead of "Linux"
It's more clear about that a nebulous term like Linux.
2018-06-16 19:39:18 -07:00
d19a496bb5 build: fix overriding libdir & includedir
Previously, pkgconfig files hard-coded the include and lib directory names,
breaking the configuration when they were overridden.
2018-05-31 01:19:37 +02:00
cdd9a64177 cat: protect against writing binary to TTY 2018-05-29 16:05:47 -07:00
8ac448d349 README: Some markdown format tweaks 2018-05-26 18:19:52 +00:00
4de98bde53 Move to markdown extension 2018-05-26 18:14:58 +00:00
b3bf7968ad capture: avoid GObject in libsysprof-capture-2.a
The point of this file was to be easily usable by applications that want
to generate capture files (or proxy them). The intention here is that we
only have SpCaptureReader/SpCaptureWriter (and associated bits necessary
to support that).

This makes sure that we do not use GObject from the libsysprof-capture-2.a
while still having GType's in the libsysprof-2.so dynamic library.

We also invert the GObject macro check so that the default is to not
register a GType which increases the chances that copy/paste code does
not run into double-registering a GType if used with an application that
links against libsysprof-2. (One such example could be if Gtk uses this
code for timers, as it would break Sysprof itself).
2018-05-21 13:52:16 -07:00
5cc838fd47 tests: request counter range
We are required to request the counter range before blindly associating
values for the counter id.
2018-05-21 12:56:25 -07:00
c518fa5aa3 Updated Czech translation 2018-05-21 09:59:37 +02:00
8a4318d4f1 fps: use fill for fps line 2018-05-20 15:51:35 -07:00
0535691afa line-visualizer: add support for filling line areas
This allows us to fill the area and set it to an RGBA instead of the same
as the line color itself.
2018-05-20 15:51:35 -07:00
fc0eff6d4b visualizers: add comment about how to add data visualizers 2018-05-20 15:51:35 -07:00
ff37ffa8a4 Update Polish translation 2018-05-20 20:53:24 +02:00
2e54a1766e visualizers: tweak row heights 2018-05-18 17:50:33 +01:00