Hello community, here is the log from the commit of package sysprof for openSUSE:Factory checked in at 2016-11-09 11:39:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysprof (Old) and /work/SRC/openSUSE:Factory/.sysprof.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysprof" Changes: -------- --- /work/SRC/openSUSE:Factory/sysprof/sysprof.changes 2016-10-19 13:15:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sysprof.new/sysprof.changes 2016-11-09 11:39:59.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Nov 2 18:18:28 UTC 2016 - [email protected] + +- Update to version 3.22.2: + + ftruncate() when creating a capture in case we overwrite a + previous capture file. This ensures we don't leave junk at the + end of the capture. + + Handle EAGAIN when writing the opportunistic end-time header. + + Capture cursor should short circuit when no read delegate was + found. + + Updated translations. + +------------------------------------------------------------------- Old: ---- sysprof-3.22.1.tar.xz New: ---- sysprof-3.22.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysprof.spec ++++++ --- /var/tmp/diff_new_pack.e2KWoh/_old 2016-11-09 11:40:00.000000000 +0100 +++ /var/tmp/diff_new_pack.e2KWoh/_new 2016-11-09 11:40:00.000000000 +0100 @@ -18,7 +18,7 @@ Name: sysprof -Version: 3.22.1 +Version: 3.22.2 Release: 0 Summary: A system-wide Linux profiler License: GPL-3.0+ ++++++ sysprof-3.22.1.tar.xz -> sysprof-3.22.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/ChangeLog new/sysprof-3.22.2/ChangeLog --- old/sysprof-3.22.1/ChangeLog 2016-10-12 05:50:10.000000000 +0200 +++ new/sysprof-3.22.2/ChangeLog 2016-11-01 22:09:46.000000000 +0100 @@ -1,11 +1,125 @@ -commit 90878168cac6365a4208c15ef28f3e81aaf3d2bc +commit 4412a566be00f85db56287520a2e3ee6aff1bb96 Author: Christian Hergert <[email protected]> -Date: Tue Oct 11 20:50:03 2016 -0700 +Date: Tue Nov 1 14:06:34 2016 -0700 + + release 3.22.2 + +M NEWS +M configure.ac + +commit 757a62c69243389274f66d652c6da68428421bc0 +Author: Christian Hergert <[email protected]> +Date: Mon Oct 17 20:03:46 2016 -0700 + + empty-state: allow action:// in labels + + This allows us to have an action in the label that can execute a UI + element. + +M lib/sp-empty-state-view.c + +commit 71e1134cbce95ecf8b9dee1d3a1c4328419a2aec +Author: Christian Hergert <[email protected]> +Date: Sun Oct 16 13:23:16 2016 -0700 + + capture-writer: ftruncate() when creating capture + + We risk overwriting existing data leaving our file in a somewhat + broken + state. So first ftruncate() to zero so we are starting from scratch. + +M lib/sp-capture-writer.c + +commit cca23054fd8c6baabc55e78ee5a0aa96b968bab5 +Author: Marek Černocký <[email protected]> +Date: Sun Oct 16 22:09:13 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit a321c8dda4d0ae15d7a39ef2c3a495c7306420b6 +Author: Dušan Kazik <[email protected]> +Date: Sun Oct 16 19:46:32 2016 +0000 + + Update Slovak translation + +M po/sk.po + +commit 392aa177b6c966bee905d0daf69090f2ee9a526d +Author: Christian Hergert <[email protected]> +Date: Sat Oct 15 10:26:36 2016 -0700 + + capture-writer: handle EAGAIN + + This field is opportunistic, so failure isn't a big deal, but we + can at + least try again in an EAGAIN case. Should also squash a compiler + warning + about unused results. + +M lib/sp-capture-writer.c + +commit a760a6ca1028f9231296c50f11bf01498e84fdbb +Author: Christian Hergert <[email protected]> +Date: Fri Oct 14 11:40:55 2016 -0700 + + build: silence some cast-align warnings on ARM + +M lib/sp-visualizer-ticks.c +M lib/sp-zoom-manager.c + +commit 4b95b38c0a2f984fce24af2e6fa717549df9c9d5 +Author: Christian Hergert <[email protected]> +Date: Wed Oct 12 01:35:13 2016 -0700 + + capture-cursor: skip when no read delegate was found + + If we were skipping due to no matching read delegate, then + we can just ignore any checks on that frame and move to the + next. + +M lib/sp-capture-cursor.c + +commit e22df464fb8054bf0e8d962aac6b3876c01ef1b9 +Author: Christian Hergert <[email protected]> +Date: Tue Oct 11 20:52:12 2016 -0700 + + Release 3.22.1 + + Overview of changes in Sysprof 3.22.1 + ===================================== + + Changes since 3.22.0 + + * A new data source called "hostinfo" has been added. It records + various + CPU datapoints as "counters" in the sysprof capture. + * A new visualizers abstraction has been added so that we can start + providing new ways to look at profiler data. + * A CPU visualizer has been added which renders datapoints recorded + from the hostinfo data source. + * Selecting ranges of the visualizer will update the callgraph + limiting + stacktrace samples, to the given time range. + * Missing headers are now installed which may be needed by + applications + using libsysprof-ui. + * A keyboard shortcuts dialog has been added. + * A theme manager has been added to allow us to provide custom + CSS for + various themes. Currently, we have additional styling added for + Adwaita and Adwaita-dark. + +M NEWS + +commit b10948a51a886c9e96b81aafdad14799e6539d87 +Author: Christian Hergert <[email protected]> +Date: Tue Oct 11 20:51:41 2016 -0700 build: fix distcheck M Makefile.am -M NEWS M lib/Makefile.am M tests/test-capture-cursor.c M tests/test-capture.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/NEWS new/sysprof-3.22.2/NEWS --- old/sysprof-3.22.1/NEWS 2016-10-12 05:24:56.000000000 +0200 +++ new/sysprof-3.22.2/NEWS 2016-11-01 22:06:14.000000000 +0100 @@ -1,3 +1,18 @@ +Overview of changes in Sysprof 3.22.2 +===================================== + +Changes since 3.22.1 + + * ftruncate() when creating a capture in case we overwrite a previous + capture file. This ensures we don't leave junk at the end of the + capture. + * Handle EAGAIN when writin the opportunistic end-time header. + * Capture cursor should short circuit when no read delegate was found. + +Translations: + + * Czech and Slovak translations were updated. + Overview of changes in Sysprof 3.22.1 ===================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/configure new/sysprof-3.22.2/configure --- old/sysprof-3.22.1/configure 2016-10-10 09:59:03.000000000 +0200 +++ new/sysprof-3.22.2/configure 2016-11-01 22:06:43.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sysprof 3.22.1. +# Generated by GNU Autoconf 2.69 for sysprof 3.22.2. # # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='sysprof' PACKAGE_TARNAME='sysprof' -PACKAGE_VERSION='3.22.1' -PACKAGE_STRING='sysprof 3.22.1' +PACKAGE_VERSION='3.22.2' +PACKAGE_STRING='sysprof 3.22.2' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof' PACKAGE_URL='' @@ -1434,7 +1434,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sysprof 3.22.1 to adapt to many kinds of systems. +\`configure' configures sysprof 3.22.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1504,7 +1504,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sysprof 3.22.1:";; + short | recursive ) echo "Configuration of sysprof 3.22.2:";; esac cat <<\_ACEOF @@ -1664,7 +1664,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sysprof configure 3.22.1 +sysprof configure 3.22.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2120,7 +2120,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sysprof $as_me 3.22.1, which was +It was created by sysprof $as_me 3.22.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2581,7 +2581,7 @@ MINOR_VERSION=22 -MICRO_VERSION=1 +MICRO_VERSION=2 API_VERSION=2 @@ -3073,7 +3073,7 @@ # Define the identity of the package. PACKAGE='sysprof' - VERSION='3.22.1' + VERSION='3.22.2' cat >>confdefs.h <<_ACEOF @@ -23381,7 +23381,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sysprof $as_me 3.22.1, which was +This file was extended by sysprof $as_me 3.22.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -23447,7 +23447,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sysprof config.status 3.22.1 +sysprof config.status 3.22.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/configure.ac new/sysprof-3.22.2/configure.ac --- old/sysprof-3.22.1/configure.ac 2016-10-10 09:57:48.000000000 +0200 +++ new/sysprof-3.22.2/configure.ac 2016-11-01 22:06:26.000000000 +0100 @@ -6,7 +6,7 @@ dnl *********************************************************************** m4_define([major_version],[3]) m4_define([minor_version],[22]) -m4_define([micro_version],[1]) +m4_define([micro_version],[2]) m4_define([package_version],[major_version.minor_version.micro_version]) m4_define([bug_report_url],[https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof]) m4_define([api_version],[2]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sp-capture-cursor.c new/sysprof-3.22.2/lib/sp-capture-cursor.c --- old/sysprof-3.22.1/lib/sp-capture-cursor.c 2016-10-11 01:19:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sp-capture-cursor.c 2016-10-12 10:34:36.000000000 +0200 @@ -80,7 +80,7 @@ { const SpCaptureFrame *frame; SpCaptureFrameType type = 0; - ReadDelegate delegate; + ReadDelegate delegate = NULL; if (!sp_capture_reader_peek_type (self->reader, &type)) return; @@ -130,7 +130,10 @@ break; } - if (delegate != NULL && NULL == (frame = delegate (self->reader))) + if (delegate == NULL) + continue; + + if (NULL == (frame = delegate (self->reader))) return; if (self->conditions->len == 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sp-capture-writer.c new/sysprof-3.22.2/lib/sp-capture-writer.c --- old/sysprof-3.22.1/lib/sp-capture-writer.c 2016-10-11 01:19:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sp-capture-writer.c 2016-10-16 22:23:37.000000000 +0200 @@ -375,6 +375,9 @@ g_assert (fd != -1); g_assert (buffer_size % getpagesize() == 0); + if (ftruncate (fd, 0) != 0) + return NULL; + self = g_new0 (SpCaptureWriter, 1); self->ref_count = 1; self->fd = fd; @@ -714,15 +717,20 @@ sp_capture_writer_flush_end_time (SpCaptureWriter *self) { gint64 end_time = SP_CAPTURE_CURRENT_TIME; + ssize_t ret; g_assert (self != NULL); /* This field is opportunistic, so a failure is okay. */ - pwrite (self->fd, - &end_time, - sizeof (end_time), - G_STRUCT_OFFSET (SpCaptureFileHeader, end_time)); +again: + ret = pwrite (self->fd, + &end_time, + sizeof (end_time), + G_STRUCT_OFFSET (SpCaptureFileHeader, end_time)); + + if (ret < 0 && errno == EAGAIN) + goto again; return TRUE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sp-empty-state-view.c new/sysprof-3.22.2/lib/sp-empty-state-view.c --- old/sysprof-3.22.1/lib/sp-empty-state-view.c 2016-10-11 01:19:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sp-empty-state-view.c 2016-10-18 04:58:46.000000000 +0200 @@ -16,6 +16,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#define G_LOG_DOMAIN "sp-empty-state-view" + +#include <string.h> + #include "sp-empty-state-view.h" typedef struct @@ -41,6 +45,98 @@ return g_object_new (SP_TYPE_EMPTY_STATE_VIEW, NULL); } +static gboolean +sp_empty_state_view_action (GtkWidget *widget, + const gchar *prefix, + const gchar *action_name, + GVariant *parameter) +{ + GtkWidget *toplevel; + GApplication *app; + GActionGroup *group = NULL; + + g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE); + g_return_val_if_fail (prefix, FALSE); + g_return_val_if_fail (action_name, FALSE); + + app = g_application_get_default (); + toplevel = gtk_widget_get_toplevel (widget); + + while ((group == NULL) && (widget != NULL)) + { + group = gtk_widget_get_action_group (widget, prefix); + widget = gtk_widget_get_parent (widget); + } + + if (!group && g_str_equal (prefix, "win") && G_IS_ACTION_GROUP (toplevel)) + group = G_ACTION_GROUP (toplevel); + + if (!group && g_str_equal (prefix, "app") && G_IS_ACTION_GROUP (app)) + group = G_ACTION_GROUP (app); + + if (group && g_action_group_has_action (group, action_name)) + { + g_action_group_activate_action (group, action_name, parameter); + return TRUE; + } + + if (parameter && g_variant_is_floating (parameter)) + { + parameter = g_variant_ref_sink (parameter); + g_variant_unref (parameter); + } + + g_warning ("Failed to locate action %s.%s", prefix, action_name); + + return FALSE; +} + +static gboolean +sp_empty_state_view_activate_link (SpEmptyStateView *self, + const gchar *uri, + GtkLabel *label) +{ + g_assert (SP_IS_EMPTY_STATE_VIEW (self)); + g_assert (uri != NULL); + g_assert (GTK_IS_LABEL (label)); + + if (g_str_has_prefix (uri, "action://")) + { + g_autofree gchar *full_name = NULL; + g_autofree gchar *action_name = NULL; + g_autofree gchar *group_name = NULL; + g_autoptr(GVariant) param = NULL; + g_autoptr(GError) error = NULL; + + uri += strlen ("action://"); + + if (g_action_parse_detailed_name (uri, &full_name, ¶m, &error)) + { + const gchar *dot = strchr (full_name, '.'); + + if (param != NULL && g_variant_is_floating (param)) + param = g_variant_ref_sink (param); + + if (dot == NULL) + return FALSE; + + group_name = g_strndup (full_name, dot - full_name); + action_name = g_strdup (++dot); + + sp_empty_state_view_action (GTK_WIDGET (self), + group_name, + action_name, + param); + + return TRUE; + } + else + g_warning ("%s", error->message); + } + + return FALSE; +} + static void sp_empty_state_view_set_property (GObject *object, guint prop_id, @@ -97,5 +193,13 @@ static void sp_empty_state_view_init (SpEmptyStateView *self) { + SpEmptyStateViewPrivate *priv = sp_empty_state_view_get_instance_private (self); + gtk_widget_init_template (GTK_WIDGET (self)); + + g_signal_connect_object (priv->subtitle, + "activate-link", + G_CALLBACK (sp_empty_state_view_activate_link), + self, + G_CONNECT_SWAPPED); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sp-visualizer-ticks.c new/sysprof-3.22.2/lib/sp-visualizer-ticks.c --- old/sysprof-3.22.1/lib/sp-visualizer-ticks.c 2016-10-11 01:19:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sp-visualizer-ticks.c 2016-10-14 20:40:33.000000000 +0200 @@ -34,7 +34,7 @@ gint64 epoch; gint64 begin_time; gint64 end_time; -}; +} __attribute__((aligned(8))); enum { TICK_MINUTES, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sp-zoom-manager.c new/sysprof-3.22.2/lib/sp-zoom-manager.c --- old/sysprof-3.22.1/lib/sp-zoom-manager.c 2016-10-11 01:19:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sp-zoom-manager.c 2016-10-14 20:40:02.000000000 +0200 @@ -32,7 +32,7 @@ gdouble min_zoom; gdouble max_zoom; gdouble zoom; -}; +} __attribute__((aligned(8))); enum { PROP_0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/lib/sysprof-version.h new/sysprof-3.22.2/lib/sysprof-version.h --- old/sysprof-3.22.1/lib/sysprof-version.h 2016-10-12 05:40:54.000000000 +0200 +++ new/sysprof-3.22.2/lib/sysprof-version.h 2016-11-01 22:06:46.000000000 +0100 @@ -50,14 +50,14 @@ * * sysprof micro version component (e.g. 3 if %SYSPROF_VERSION is 1.2.3) */ -#define SYSPROF_MICRO_VERSION (1) +#define SYSPROF_MICRO_VERSION (2) /** * SYSPROF_VERSION * * sysprof version. */ -#define SYSPROF_VERSION (3.22.1) +#define SYSPROF_VERSION (3.22.2) /** * SYSPROF_VERSION_S: @@ -65,7 +65,7 @@ * sysprof version, encoded as a string, useful for printing and * concatenation. */ -#define SYSPROF_VERSION_S "3.22.1" +#define SYSPROF_VERSION_S "3.22.2" #define SYSPROF_ENCODE_VERSION(major,minor,micro) \ ((major) << 24 | (minor) << 16 | (micro) << 8) Files old/sysprof-3.22.1/po/cs.gmo and new/sysprof-3.22.2/po/cs.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/po/cs.po new/sysprof-3.22.2/po/cs.po --- old/sysprof-3.22.1/po/cs.po 2016-09-24 04:14:13.000000000 +0200 +++ new/sysprof-3.22.2/po/cs.po 2016-10-16 22:23:37.000000000 +0200 @@ -8,10 +8,10 @@ "Project-Id-Version: sysprof\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=sysprof&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2016-05-03 10:01+0000\n" -"PO-Revision-Date: 2016-05-03 12:05+0200\n" +"POT-Creation-Date: 2016-10-10 10:23+0000\n" +"PO-Revision-Date: 2016-10-16 22:08+0200\n" "Last-Translator: Marek Černocký <[email protected]>\n" -"Language-Team: Czech <[email protected]>\n" +"Language-Team: čeština <[email protected]>\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ "X-Generator: Gtranslator 2.91.7\n" #: data/org.gnome.Sysprof2.desktop:4 src/resources/ui/sp-window.ui:12 -#: src/resources/ui/sp-window.ui:20 src/sp-application.c:167 +#: src/resources/ui/sp-window.ui:20 src/sp-application.c:181 msgid "Sysprof" msgstr "Sysprof" @@ -32,7 +32,8 @@ msgid "Profile an application or entire system." msgstr "Profilujte aplikace nebo celý systém." -#: data/org.gnome.Sysprof2.desktop:9 +#. Translators: Do NOT translate or transliterate this text (this is an icon file name)! +#: data/org.gnome.Sysprof2.desktop:10 msgid "sysprof" msgstr "sysprof" @@ -135,40 +136,40 @@ msgid "Something unexpectedly went wrong while trying to profile your system." msgstr "Při pokusu o profilování vašeho systému se něco neočekávaně pokazilo." -#: lib/resources/ui/sp-profiler-menu-button.ui:56 +#: lib/resources/ui/sp-profiler-menu-button.ui:58 msgid "Profile my _entire system" msgstr "Profilovat c_elý můj systém" -#: lib/resources/ui/sp-profiler-menu-button.ui:93 +#: lib/resources/ui/sp-profiler-menu-button.ui:95 msgid "Search" msgstr "hledat" -#: lib/resources/ui/sp-profiler-menu-button.ui:117 +#: lib/resources/ui/sp-profiler-menu-button.ui:121 msgid "Existing Process" msgstr "Stávající proces" -#: lib/resources/ui/sp-profiler-menu-button.ui:127 +#: lib/resources/ui/sp-profiler-menu-button.ui:131 msgid "Command Line" msgstr "Příkazový řádek" -#: lib/resources/ui/sp-profiler-menu-button.ui:146 +#: lib/resources/ui/sp-profiler-menu-button.ui:150 msgid "Environment" msgstr "Prostředí" -#: lib/resources/ui/sp-profiler-menu-button.ui:160 +#: lib/resources/ui/sp-profiler-menu-button.ui:164 msgid "Inherit current environment" msgstr "Zdědit aktuální prostředí" -#: lib/resources/ui/sp-profiler-menu-button.ui:178 +#: lib/resources/ui/sp-profiler-menu-button.ui:182 msgid "Key" msgstr "Klíč" -#: lib/resources/ui/sp-profiler-menu-button.ui:193 +#: lib/resources/ui/sp-profiler-menu-button.ui:197 msgid "Value" msgstr "Hodnota" -#: lib/resources/ui/sp-profiler-menu-button.ui:211 -#: lib/sp-profiler-menu-button.c:116 +#: lib/resources/ui/sp-profiler-menu-button.ui:215 +#: lib/sp-profiler-menu-button.c:118 msgid "New Process" msgstr "Nový proces" @@ -183,7 +184,7 @@ "Víte, že k zaznamenávání můžete použít <a href=\"help:sysprof\">sysprof-cli</" "a>?" -#: lib/sp-callgraph-profile.c:318 +#: lib/sp-callgraph-profile.c:414 msgid "Sysprof was unable to generate a callgraph from the system capture." msgstr "Sysprof nebyl schopen ze systémového záznamu vygenerovat graf volání." @@ -199,18 +200,17 @@ msgid "An error occurred while attempting to access performance counters: %s" msgstr "Nastala chyba při pokusu o přístup k počitadlům výkonu: %s" -#: lib/sp-profiler-menu-button.c:114 lib/sp-profiler-menu-button.c:129 +#: lib/sp-profiler-menu-button.c:116 lib/sp-profiler-menu-button.c:131 msgid "All Processes" msgstr "Všechny procesy" -#: lib/sp-profiler-menu-button.c:135 +#: lib/sp-profiler-menu-button.c:137 #, c-format msgid "Process %d" msgstr "Proces %d" -#: lib/sp-profiler-menu-button.c:140 +#: lib/sp-profiler-menu-button.c:142 #, c-format -#| msgid "%u Processes" msgid "%u Process" msgid_plural "%u Processes" msgstr[0] "%u proces" @@ -221,6 +221,76 @@ msgid "The command line arguments provided are invalid" msgstr "Zadané argumenty příkazového řádku nejsou platné" +#: src/resources/gtk/help-overlay.ui:8 +msgctxt "shortcut window" +msgid "Sysprof Shortcuts" +msgstr "Klávesové zkratky Sysprof" + +#: src/resources/gtk/help-overlay.ui:12 +msgctxt "shortcut window" +msgid "Recording" +msgstr "Záznam" + +#: src/resources/gtk/help-overlay.ui:16 +msgctxt "shortcut window" +msgid "Stop recording" +msgstr "Zastavit záznam" + +#: src/resources/gtk/help-overlay.ui:25 +msgctxt "shortcut window" +msgid "Callgraph" +msgstr "Graf volání" + +#: src/resources/gtk/help-overlay.ui:29 +msgctxt "shortcut window" +msgid "Expand function" +msgstr "Rozbalit funkci" + +#: src/resources/gtk/help-overlay.ui:30 +msgctxt "shortcut window" +msgid "Shows the direct descendants of the callgraph function" +msgstr "Zobrazit přímé potomky funkce v grafu volání" + +#: src/resources/gtk/help-overlay.ui:37 +msgctxt "shortcut window" +msgid "Collapse function" +msgstr "Sbalit funkci" + +#: src/resources/gtk/help-overlay.ui:38 +msgctxt "shortcut window" +msgid "Hides all callgraph descendants below the selected function" +msgstr "Skrýt všechny potomky v grafu volání ve vybrané funkci" + +#: src/resources/gtk/help-overlay.ui:45 +msgctxt "shortcut window" +msgid "Jump into function" +msgstr "Přejít do funkce" + +#: src/resources/gtk/help-overlay.ui:46 +msgctxt "shortcut window" +msgid "Selects the function or file as the top of the callgraph" +msgstr "Vybere funkci nebo soubor jako nejvyšší úroveň grafu volání" + +#: src/resources/gtk/help-overlay.ui:55 +msgctxt "shortcut window" +msgid "Visualizers" +msgstr "Vizualizace" + +#: src/resources/gtk/help-overlay.ui:59 +msgctxt "shortcut window" +msgid "Zoom in" +msgstr "Přiblížit" + +#: src/resources/gtk/help-overlay.ui:66 +msgctxt "shortcut window" +msgid "Zoom out" +msgstr "Oddálit" + +#: src/resources/gtk/help-overlay.ui:73 +msgctxt "shortcut window" +msgid "Reset zoom" +msgstr "Výchozí přiblížení" + #: src/resources/gtk/menus.ui:6 msgid "_New Window" msgstr "_Nové okno" @@ -238,119 +308,139 @@ msgstr "Nápověda" #: src/resources/gtk/menus.ui:26 +msgid "Keyboard Shortcuts" +msgstr "Klávesové zkratky" + +#: src/resources/gtk/menus.ui:30 msgid "_Quit" msgstr "U_končit" -#: src/resources/gtk/menus.ui:34 src/sp-window.c:930 +#: src/resources/ui/sp-window.ui:30 src/sp-window.c:309 +msgid "Not running" +msgstr "Neběží" + +#: src/resources/ui/sp-window.ui:44 +msgid "_Record" +msgstr "_Záznam" + +#: src/resources/ui/sp-window.ui:118 +msgid "_Close" +msgstr "_Zavřít" + +#: src/resources/ui/sp-window.ui:174 +msgid "CPU" +msgstr "Procesor" + +#: src/resources/ui/sp-window.ui:222 +msgid "Zoom out (Ctrl+-)" +msgstr "Oddálit (Ctrl+-)" + +#: src/resources/ui/sp-window.ui:238 +msgid "Reset zoom level (Ctrl+0)" +msgstr "Výchozí úroveň přiblížení (Ctrl+0)" + +#: src/resources/ui/sp-window.ui:252 +msgid "Zoom in (Ctrl++)" +msgstr "Přiblížit (Ctrl++)" + +#: src/resources/ui/sp-window.ui:277 src/sp-window.c:999 msgid "Open" msgstr "Otevřít" -#: src/resources/gtk/menus.ui:40 +#: src/resources/ui/sp-window.ui:284 msgid "Save As" msgstr "Uložit jako" -#: src/resources/gtk/menus.ui:46 +#: src/resources/ui/sp-window.ui:297 msgid "Screenshot" msgstr "Snímek obrazovky" -#: src/resources/gtk/menus.ui:52 +#: src/resources/ui/sp-window.ui:310 msgid "Close" msgstr "Zavřít" -#: src/resources/ui/sp-window.ui:30 src/sp-window.c:281 -msgid "Not running" -msgstr "Neběží" - -#: src/resources/ui/sp-window.ui:44 -msgid "_Record" -msgstr "_Záznam" - -#: src/resources/ui/sp-window.ui:116 -msgid "_Close" -msgstr "_Zavřít" - -#: src/sp-application.c:160 +#: src/sp-application.c:174 msgid "A system profiler" msgstr "Systémový profiler" -#: src/sp-application.c:164 +#: src/sp-application.c:178 msgid "translator-credits" msgstr "Marek Černocký <[email protected]>" -#: src/sp-application.c:170 +#: src/sp-application.c:184 msgid "Learn more about Sysprof" msgstr "Přečtěte si o Sysprof více" -#: src/sp-window.c:139 +#: src/sp-window.c:148 #, c-format msgid "Samples: %u" msgstr "Vzorky: %u" -#: src/sp-window.c:172 +#: src/sp-window.c:181 msgid "[Memory Capture]" msgstr "[Záznam paměti]" -#: src/sp-window.c:185 +#: src/sp-window.c:194 #, c-format msgid "%s - %s" msgstr "%s – %s" -#: src/sp-window.c:219 +#: src/sp-window.c:230 msgid "Not enough samples were collected to generate a callgraph" msgstr "Nebyl sesbírán dostatek vzorků pro vygenerování grafu volání" -#: src/sp-window.c:273 src/sp-window.c:317 +#: src/sp-window.c:301 src/sp-window.c:345 msgid "Record" msgstr "Zaznamenávat" -#: src/sp-window.c:293 +#: src/sp-window.c:321 msgid "Stop" msgstr "Zastavit" -#: src/sp-window.c:298 +#: src/sp-window.c:326 msgid "Recording…" msgstr "Zaznamenává se…" -#: src/sp-window.c:309 +#: src/sp-window.c:337 msgid "Building profile…" msgstr "Sestavuje se profil…" #. SpProfiler::stopped will move us to generating -#: src/sp-window.c:404 +#: src/sp-window.c:438 msgid "Stopping…" msgstr "Zastavuje se…" -#: src/sp-window.c:553 +#: src/sp-window.c:590 msgid "Save Capture As" msgstr "Uložení záznamu jako" -#: src/sp-window.c:556 src/sp-window.c:929 -msgid "Cancel" -msgstr "Zrušit" - -#: src/sp-window.c:557 +#: src/sp-window.c:593 msgid "Save" msgstr "Uložit" -#: src/sp-window.c:589 +#: src/sp-window.c:594 src/sp-window.c:1000 +msgid "Cancel" +msgstr "Zrušit" + +#: src/sp-window.c:624 #, c-format msgid "An error occurred while attempting to save your capture: %s" msgstr "Vyskytla se chyba při pokusu uložit váš záznam: %s" -#: src/sp-window.c:896 +#: src/sp-window.c:969 #, c-format msgid "The file \"%s\" could not be opened. Only local files are supported." msgstr "Soubor „%s“ nelze otevřít. Podporovány jsou jen místní soubory." -#: src/sp-window.c:924 +#: src/sp-window.c:996 msgid "Open Capture" msgstr "Otevření záznamu" -#: src/sp-window.c:936 +#: src/sp-window.c:1003 msgid "Sysprof Captures" msgstr "Záznam Sysprof" -#: src/sp-window.c:941 +#: src/sp-window.c:1008 msgid "All Files" msgstr "Všechny soubory" Files old/sysprof-3.22.1/po/sk.gmo and new/sysprof-3.22.2/po/sk.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysprof-3.22.1/po/sk.po new/sysprof-3.22.2/po/sk.po --- old/sysprof-3.22.1/po/sk.po 2016-09-24 04:14:13.000000000 +0200 +++ new/sysprof-3.22.2/po/sk.po 2016-10-16 22:23:37.000000000 +0200 @@ -8,19 +8,19 @@ "Project-Id-Version: sysprof master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=sysprof&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2016-08-09 13:38+0000\n" -"PO-Revision-Date: 2016-08-10 15:33+0200\n" +"POT-Creation-Date: 2016-10-10 10:23+0000\n" +"PO-Revision-Date: 2016-10-16 20:49+0200\n" +"Last-Translator: Dušan Kazik <[email protected]>\n" "Language-Team: Slovak <[email protected]>\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n" -"Last-Translator: Dušan Kazik <[email protected]>\n" -"X-Generator: Poedit 1.8.8\n" +"X-Generator: Poedit 1.8.9\n" #: data/org.gnome.Sysprof2.desktop:4 src/resources/ui/sp-window.ui:12 -#: src/resources/ui/sp-window.ui:20 src/sp-application.c:167 +#: src/resources/ui/sp-window.ui:20 src/sp-application.c:181 msgid "Sysprof" msgstr "Sysprof" @@ -147,32 +147,32 @@ msgid "Search" msgstr "Vyhľadajte" -#: lib/resources/ui/sp-profiler-menu-button.ui:119 +#: lib/resources/ui/sp-profiler-menu-button.ui:121 msgid "Existing Process" msgstr "Existujúci proces" -#: lib/resources/ui/sp-profiler-menu-button.ui:129 +#: lib/resources/ui/sp-profiler-menu-button.ui:131 msgid "Command Line" msgstr "Príkazový riadok" -#: lib/resources/ui/sp-profiler-menu-button.ui:148 +#: lib/resources/ui/sp-profiler-menu-button.ui:150 msgid "Environment" msgstr "Prostredie" -#: lib/resources/ui/sp-profiler-menu-button.ui:162 +#: lib/resources/ui/sp-profiler-menu-button.ui:164 msgid "Inherit current environment" msgstr "Zdediť aktuálne prostredie" -#: lib/resources/ui/sp-profiler-menu-button.ui:180 +#: lib/resources/ui/sp-profiler-menu-button.ui:182 msgid "Key" msgstr "Kľúč" -#: lib/resources/ui/sp-profiler-menu-button.ui:195 +#: lib/resources/ui/sp-profiler-menu-button.ui:197 msgid "Value" msgstr "Hodnota" -#: lib/resources/ui/sp-profiler-menu-button.ui:213 -#: lib/sp-profiler-menu-button.c:116 +#: lib/resources/ui/sp-profiler-menu-button.ui:215 +#: lib/sp-profiler-menu-button.c:118 msgid "New Process" msgstr "Nový proces" @@ -187,7 +187,7 @@ "Vedeli ste, že môžete použiť program <a href=\"help:sysprof\">sysprof-cli</" "a> na vytvorenie záznamu?" -#: lib/sp-callgraph-profile.c:318 +#: lib/sp-callgraph-profile.c:414 msgid "Sysprof was unable to generate a callgraph from the system capture." msgstr "" "Aplikácia Sysprof nebola schopná vygenerovať graf volaní zo systémového " @@ -206,16 +206,16 @@ msgid "An error occurred while attempting to access performance counters: %s" msgstr "Vyskytla sa chyba pri pokuse získať prístup k počítadlám výkonu: %s" -#: lib/sp-profiler-menu-button.c:114 lib/sp-profiler-menu-button.c:129 +#: lib/sp-profiler-menu-button.c:116 lib/sp-profiler-menu-button.c:131 msgid "All Processes" msgstr "Všetky procesy" -#: lib/sp-profiler-menu-button.c:135 +#: lib/sp-profiler-menu-button.c:137 #, c-format msgid "Process %d" msgstr "Proces č. %d" -#: lib/sp-profiler-menu-button.c:140 +#: lib/sp-profiler-menu-button.c:142 #, c-format msgid "%u Process" msgid_plural "%u Processes" @@ -227,6 +227,76 @@ msgid "The command line arguments provided are invalid" msgstr "Poskytnuté parametre príkazového riadku sú neplatné" +#: src/resources/gtk/help-overlay.ui:8 +msgctxt "shortcut window" +msgid "Sysprof Shortcuts" +msgstr "Skratky aplikácie Sysprof" + +#: src/resources/gtk/help-overlay.ui:12 +msgctxt "shortcut window" +msgid "Recording" +msgstr "Zaznamenávanie" + +#: src/resources/gtk/help-overlay.ui:16 +msgctxt "shortcut window" +msgid "Stop recording" +msgstr "Zastavenie zaznamenávania" + +#: src/resources/gtk/help-overlay.ui:25 +msgctxt "shortcut window" +msgid "Callgraph" +msgstr "Graf volaní" + +#: src/resources/gtk/help-overlay.ui:29 +msgctxt "shortcut window" +msgid "Expand function" +msgstr "Rozbalenie funkcie" + +#: src/resources/gtk/help-overlay.ui:30 +msgctxt "shortcut window" +msgid "Shows the direct descendants of the callgraph function" +msgstr "" + +#: src/resources/gtk/help-overlay.ui:37 +msgctxt "shortcut window" +msgid "Collapse function" +msgstr "Zbalenie funkcie" + +#: src/resources/gtk/help-overlay.ui:38 +msgctxt "shortcut window" +msgid "Hides all callgraph descendants below the selected function" +msgstr "" + +#: src/resources/gtk/help-overlay.ui:45 +msgctxt "shortcut window" +msgid "Jump into function" +msgstr "Skok do funkcie" + +#: src/resources/gtk/help-overlay.ui:46 +msgctxt "shortcut window" +msgid "Selects the function or file as the top of the callgraph" +msgstr "" + +#: src/resources/gtk/help-overlay.ui:55 +msgctxt "shortcut window" +msgid "Visualizers" +msgstr "Zobrazovače" + +#: src/resources/gtk/help-overlay.ui:59 +msgctxt "shortcut window" +msgid "Zoom in" +msgstr "Zväčšenie" + +#: src/resources/gtk/help-overlay.ui:66 +msgctxt "shortcut window" +msgid "Zoom out" +msgstr "Zmenšenie" + +#: src/resources/gtk/help-overlay.ui:73 +msgctxt "shortcut window" +msgid "Reset zoom" +msgstr "Obnovenie priblíženia" + #: src/resources/gtk/menus.ui:6 msgid "_New Window" msgstr "_Nové okno" @@ -244,119 +314,139 @@ msgstr "Pomocník" #: src/resources/gtk/menus.ui:26 +msgid "Keyboard Shortcuts" +msgstr "Klávesové skratky" + +#: src/resources/gtk/menus.ui:30 msgid "_Quit" msgstr "_Ukončiť" -#: src/resources/gtk/menus.ui:34 src/sp-window.c:932 +#: src/resources/ui/sp-window.ui:30 src/sp-window.c:309 +msgid "Not running" +msgstr "Nie je spustený" + +#: src/resources/ui/sp-window.ui:44 +msgid "_Record" +msgstr "Zaz_namenať" + +#: src/resources/ui/sp-window.ui:118 +msgid "_Close" +msgstr "_Zavrieť" + +#: src/resources/ui/sp-window.ui:174 +msgid "CPU" +msgstr "Procesor" + +#: src/resources/ui/sp-window.ui:222 +msgid "Zoom out (Ctrl+-)" +msgstr "" + +#: src/resources/ui/sp-window.ui:238 +msgid "Reset zoom level (Ctrl+0)" +msgstr "" + +#: src/resources/ui/sp-window.ui:252 +msgid "Zoom in (Ctrl++)" +msgstr "" + +#: src/resources/ui/sp-window.ui:277 src/sp-window.c:999 msgid "Open" msgstr "Otvoriť" -#: src/resources/gtk/menus.ui:40 +#: src/resources/ui/sp-window.ui:284 msgid "Save As" msgstr "Uložiť ako" -#: src/resources/gtk/menus.ui:46 +#: src/resources/ui/sp-window.ui:297 msgid "Screenshot" msgstr "Snímka obrazovky" -#: src/resources/gtk/menus.ui:52 +#: src/resources/ui/sp-window.ui:310 msgid "Close" msgstr "Zavrieť" -#: src/resources/ui/sp-window.ui:30 src/sp-window.c:281 -msgid "Not running" -msgstr "Nie je spustený" - -#: src/resources/ui/sp-window.ui:44 -msgid "_Record" -msgstr "Zaz_namenať" - -#: src/resources/ui/sp-window.ui:117 -msgid "_Close" -msgstr "_Zavrieť" - -#: src/sp-application.c:160 +#: src/sp-application.c:174 msgid "A system profiler" msgstr "Nástroj na tvorbu systémových profilov" -#: src/sp-application.c:164 +#: src/sp-application.c:178 msgid "translator-credits" msgstr "Dušan Kazik <[email protected]>" -#: src/sp-application.c:170 +#: src/sp-application.c:184 msgid "Learn more about Sysprof" msgstr "Zistite viac o aplikácii Sysprof" -#: src/sp-window.c:139 +#: src/sp-window.c:148 #, c-format msgid "Samples: %u" msgstr "Vzorky: %u" -#: src/sp-window.c:172 +#: src/sp-window.c:181 msgid "[Memory Capture]" msgstr "[Záznam pamäte]" -#: src/sp-window.c:185 +#: src/sp-window.c:194 #, c-format msgid "%s - %s" msgstr "%s - %s" -#: src/sp-window.c:219 +#: src/sp-window.c:230 msgid "Not enough samples were collected to generate a callgraph" msgstr "Nebol zozbieraný dostatok vzoriek na vygenerovanie grafu volaní" -#: src/sp-window.c:273 src/sp-window.c:317 +#: src/sp-window.c:301 src/sp-window.c:345 msgid "Record" msgstr "Zaznamenať" -#: src/sp-window.c:293 +#: src/sp-window.c:321 msgid "Stop" msgstr "Zastaviť" -#: src/sp-window.c:298 +#: src/sp-window.c:326 msgid "Recording…" msgstr "Zaznamenáva sa…" -#: src/sp-window.c:309 +#: src/sp-window.c:337 msgid "Building profile…" msgstr "Zostavuje sa profil…" #. SpProfiler::stopped will move us to generating -#: src/sp-window.c:406 +#: src/sp-window.c:438 msgid "Stopping…" msgstr "Zastavuje sa…" -#: src/sp-window.c:555 +#: src/sp-window.c:590 msgid "Save Capture As" msgstr "Uloženie záznamu ako" -#: src/sp-window.c:558 src/sp-window.c:931 -msgid "Cancel" -msgstr "Zrušiť" - -#: src/sp-window.c:559 +#: src/sp-window.c:593 msgid "Save" msgstr "Uložiť" -#: src/sp-window.c:591 +#: src/sp-window.c:594 src/sp-window.c:1000 +msgid "Cancel" +msgstr "Zrušiť" + +#: src/sp-window.c:624 #, c-format msgid "An error occurred while attempting to save your capture: %s" msgstr "Vyskytla sa chyba pri pokuse o uloženie vášho záznamu: %s" -#: src/sp-window.c:898 +#: src/sp-window.c:969 #, c-format msgid "The file \"%s\" could not be opened. Only local files are supported." msgstr "Súbor „%s“ sa nepodarilo otvoriť. Podporované sú iba lokálne súbory." -#: src/sp-window.c:926 +#: src/sp-window.c:996 msgid "Open Capture" msgstr "Otvorenie záznamu" -#: src/sp-window.c:938 +#: src/sp-window.c:1003 msgid "Sysprof Captures" msgstr "Záznamy aplikácie Sysprof" -#: src/sp-window.c:943 +#: src/sp-window.c:1008 msgid "All Files" msgstr "Všetky súbory"
