Commit Graph

622 Commits

Author SHA1 Message Date
bf293d6128 Updated Swedish translation 2016-05-06 17:28:22 +00:00
a6c9cc25fe doap: add language and app section to sysprof.doap 2016-05-06 12:23:47 +03:00
acfe40f52d Updated Brazilian Portuguese translation 2016-05-03 18:34:31 +00:00
cfd14c3731 Updated Polish translation 2016-05-03 13:18:16 +02:00
3c3eb33930 Updated Czech translation 2016-05-03 12:05:57 +02:00
27be8a1f7a Czech translation 2016-05-03 12:01:12 +02:00
67efcc462b Fix handling plural forms
https://bugzilla.gnome.org/show_bug.cgi?id=765929
2016-05-03 12:42:20 +03:00
395ab9025a doap: update doap for sysprof bugzilla product 2016-04-28 16:04:10 -07:00
273736da98 Updated Hungarian translation 2016-04-28 21:03:26 +00:00
113baca655 build: fix a few warnings from clang 2016-04-28 04:00:27 -07:00
a799765066 Initial Hungarian translation 2016-04-26 19:18:22 +02:00
721f8b3435 Added hu to LINGUAS 2016-04-26 19:16:58 +02:00
012516fc1e tests: fix warning 2016-04-25 23:53:13 -07:00
9c6cec9b49 perf: avoid authorization dialog when user owns target pid
If we check the UID of the pid from /proc/pid/status and the UID matches
our current user, we should be able to forego the authorization dialog.

This should fix a regression where sysprof worked from jhbuild when
profiling a process you have access to.
2016-04-25 15:11:54 -07:00
afadd90834 perf: ping the sysprofd service before we consider it up
This should help catch failures where the peer is not yet up and might
fail to start, before we actually block on communicating with it.
2016-04-24 17:49:03 -07:00
c2cafc9882 build: add some scary warning messages 2016-04-24 17:23:04 -07:00
82d924b87a docs: update DESIGN.md 2016-04-22 18:34:48 -07:00
8709eaff14 build: let gcc know our cast is safe
Data is already aligned, so casting the ->data field is fine.
2016-04-20 22:35:17 -07:00
e759f2999f elf: tag GtkSourceView symbols
We see this library enough in the platform that it is work tagging.
2016-04-20 20:36:01 -07:00
b97425b300 perf: make sure we emit finished after last process exits
This fixes the "auto-stop" feature when the child exits, at least in the
case of /usr/bin/gnome-calculator. However, when testing with gedit I
did not see it accurately clean up, so something still needs to be
troubleshooted.
2016-04-18 22:31:39 -07:00
a85bd6e41f build: ensure COPYING.gpl-2 is bundled in tarballs 2016-04-18 18:53:26 -07:00
a594d06b0c perf: let the compiler know our cast is alignment-safe
We know everything is 64-bit aligned, so casting via (void*) squashes
the compiler warning.
2016-04-18 18:52:20 -07:00
58a2946e45 remove duplicated COPYING for GPLv2. 2016-04-18 18:51:45 -07:00
ba32676d12 Updated Brazilian Portuguese translation 2016-04-18 12:45:18 +00:00
ff395e94c6 window: protect against delayed ::stopped
Large captures could take a while to complete the stop request, so protect
against that so that the user can't accidentally start another capture.
2016-04-18 00:02:50 -07:00
cd98ded300 Added Swedish translation 2016-04-17 20:06:30 +00:00
b37ca76238 Updated Polish translation 2016-04-17 15:30:12 +02:00
7a639e9bf8 menu-button: ensure the scrolled window is always full width
When no items were present, this was shrinking. It should always maintain
width of the popover.
2016-04-16 18:58:43 -07:00
57faf5b9e6 menu-button: show process arguments in process list
This parses the \0 out of the cmdline proc entry and makes them visible
as both in the list of processes and as tooltips when hovered.
2016-04-16 18:57:50 -07:00
9e082a257d menu-button: hide the process list when whole-system is enabled
No sense in showing a desensitized widget that cannot be toggled except
for discover-ability. But progressive disclosure is probably better.
2016-04-16 18:21:26 -07:00
4fdd7aca71 menu-button: improve error reporting on argv command line 2016-04-16 17:40:07 -07:00
117d4c480d about: handle response from about dialog
On systems where this shows a close button, we need to handle the
response and destroy the dialog.
2016-04-16 17:22:52 -07:00
f4aabd8b7c perf: ignore not-supported failures
If the pre-authorize fails due to lacking support for sysprofd, that is
fine, we can fail later on if authorization was required.
2016-04-16 17:16:29 -07:00
f5904bc493 perf: fix typo
Typo when polkit/sysprofd is unavailable to pre-authorize the request.
2016-04-16 17:14:42 -07:00
4479c56135 perf: polkit is optional for the library
So changing this was a little backwards. The goal here is to allow using
libsysprof-2 without polkit, it just won't have the ability to elevate
privileges.
2016-04-16 17:13:56 -07:00
74d88245c5 perf: use #ifdef not #if
This is conditionally added to CFLAGS, so make sure we use #ifdef instead
of #if.
2016-04-16 17:08:38 -07:00
c2eecefe50 build: add polkit cflags/libs to libsysprof-2 target 2016-04-16 17:05:56 -07:00
f307ce50ab platform: fix missing ;
Clearly, we are testing the fallback path well.
2016-04-16 17:00:56 -07:00
f2d40eda89 platform: include gstdio for g_unlink(). 2016-04-16 16:57:11 -07:00
9f8f33b210 perf: use #ifdef, not #if
config.h does not unconditionally define these, they are not defined when
inactive.
2016-04-16 16:56:41 -07:00
06aaff90e5 perf: optionally enable clockid and use_clockid
Some kernels to not have this feature yet, so check for support in
linux/perf_event.h and optionally enable the struct field.
2016-04-16 16:07:11 -07:00
de572f4ed6 memfd: add workaround for systems without memfd
Just a quick workaround to use a tmpfile if memfd is not available. We
should try to ensure that we get something on tmpfs, but this is probably
good enough for a fallback.
2016-04-16 15:49:03 -07:00
15370ecc42 Updated Brazilian Portuguese translation 2016-04-16 11:03:26 +00:00
605572d645 post-release bump 2016-04-15 19:24:48 -07:00
aaf81c5cfb release Sysprof 3.20.0 2016-04-15 19:22:30 -07:00
8291e05da3 menu-button: sync menu button settings when attaching profiler
We were failing to launch a program a second or third time, due to the
settings not beeing sync'd to the profiler instance.
2016-04-15 18:19:20 -07:00
36008c4ab4 window: notify the user when no valid samples were collected
If we failed to collect any samples in the target profile, let the user
know why the callgraph is empty.
2016-04-15 18:11:31 -07:00
ceeb29b0e6 callgraph: add accessor to determine number of functions
We can use this to notify the user that not enough samples where collected
to build a callgraph. This can happen when all the samples collected are
ignored (due to being in ignored kernel space address ranges for example).
2016-04-15 18:11:02 -07:00
d4ab108786 window: title should be set on headerbar
When set on the window, we seem to lose the value when inserting the
headerbar, resulting in the title being "sysprof" (binary name) according
to the shell. Setting this on the headerbar seems to fix that.
2016-04-15 17:51:32 -07:00
ae5338aaf1 theme: add fallback styling for 3.18
New styling doesn't apply on 3.18 which is used on F23. Since packages are
being built for that, might as well fix the styling.
2016-04-15 17:17:44 -07:00