Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vte for openSUSE:Factory checked in at 2021-05-06 22:51:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vte (Old) and /work/SRC/openSUSE:Factory/.vte.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vte" Thu May 6 22:51:52 2021 rev:129 rq:890145 version:0.64.0 Changes: -------- --- /work/SRC/openSUSE:Factory/vte/vte.changes 2021-04-12 12:38:47.437468738 +0200 +++ /work/SRC/openSUSE:Factory/.vte.new.2988/vte.changes 2021-05-06 22:52:02.466894546 +0200 @@ -1,0 +2,31 @@ +Sat Apr 17 08:46:03 UTC 2021 - [email protected] + +- Update to version 0.64.0: + + app: Add debug option to track clipboard targets. + + parser: Add new sequence from xterm 362. + + pty: Add support for PTY packet mode on sysv-like systems. + + app: Fix search next/prev button sensitivity. + + app: Use smart pointer. + + app: Fix background image drawing. + + emulation: sixel: Implement DECSET 1070. + + vte.sh: Avoid warnings if shell is configured with 'set -u'. + +------------------------------------------------------------------- +Sat Apr 17 08:44:04 UTC 2021 - [email protected] + +- Update to version 0.62.1: + + Export vte_pty_spawn_finish again. + + Post release version bump. + + docs: Remove three mistaken little words. + + gtk: Allow passing null callback to spawn_async. + + lib: Abort when alloc returns nullptr. + + parser: HTJ is not a NOP. + + pty: Allow null callback for spawn_async. + + vte.sh: Avoid warnings if shell is configured with 'set -u'. + + widget: Define text_view_bg in fallback CSS if the theme + doesn't. + + widget: Implement GtkScrollableInterface::get_border. + + widget: Reference terminals while processing. + + Updated translations. + +------------------------------------------------------------------- Old: ---- vte-0.63.91.obscpio New: ---- vte-0.64.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.SmFygT/_old 2021-05-06 22:52:02.910892715 +0200 +++ /var/tmp/diff_new_pack.SmFygT/_new 2021-05-06 22:52:02.910892715 +0200 @@ -23,7 +23,7 @@ %define _name vte Name: vte -Version: 0.63.91 +Version: 0.64.0 Release: 0 Summary: Terminal Emulator Library License: CC-BY-4.0 AND LGPL-3.0-or-later AND GPL-3.0-or-later AND MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.SmFygT/_old 2021-05-06 22:52:02.934892616 +0200 +++ /var/tmp/diff_new_pack.SmFygT/_new 2021-05-06 22:52:02.938892599 +0200 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> - <param name="revision">refs/tags/0.63.91</param> + <param name="revision">refs/tags/0.64.0</param> <param name="exclude">doc/vttest.*</param> </service> <service mode="buildtime" name="tar" /> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.SmFygT/_old 2021-05-06 22:52:02.954892534 +0200 +++ /var/tmp/diff_new_pack.SmFygT/_new 2021-05-06 22:52:02.954892534 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/vte.git</param> - <param name="changesrevision">3ade6aef026c181a2385b5678b62b6e2f8aea549</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">2520d6b6785646ceb5f501f9c37a1a0307fa4486</param></service></servicedata> \ No newline at end of file ++++++ vte-0.63.91.obscpio -> vte-0.64.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/Makefile.meson new/vte-0.64.0/Makefile.meson --- old/vte-0.63.91/Makefile.meson 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/Makefile.meson 2021-03-19 22:52:23.000000000 +0100 @@ -24,6 +24,8 @@ NJOBS = -j$(NTHREADS) NINJA = ninja $(NJOBS) +MESON = meson + # all: @@ -46,3 +48,9 @@ uninstall: $(NINJA) uninstall + +dist: + $(MESON) dist --no-tests + +distcheck: + $(MESON) dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/meson.build new/vte-0.64.0/meson.build --- old/vte-0.63.91/meson.build 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/meson.build 2021-03-19 22:52:23.000000000 +0100 @@ -17,7 +17,7 @@ project( 'vte', ['c', 'cpp'], - version: '0.63.91', + version: '0.64.0', license: ['LGPL-3.0-or-later', 'GPL-3.0-or-later'], default_options: [ 'buildtype=release', @@ -464,6 +464,12 @@ subdir('doc/reference') endif +# Dist + +meson.add_dist_script( + find_program('meson_changelog.sh'), +) + # Simple compat Makefile makefile_conf = configuration_data() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/meson_changelog.sh new/vte-0.64.0/meson_changelog.sh --- old/vte-0.63.91/meson_changelog.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/vte-0.64.0/meson_changelog.sh 2021-03-19 22:52:23.000000000 +0100 @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# Copyright ?? 2021 Christian Persch +# +# This programme is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or (at your +# option) any later version. +# +# This programme is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this programme. If not, see <https://www.gnu.org/licenses/>. + +set -e + +top_srcdir="$MESON_SOURCE_ROOT" +top_builddir="MESON_BUILD_ROOT" +top_distdir="$MESON_DIST_ROOT" + +if ! test -e "${top_srcdir}"/.git; then + echo "Must be run from gnome-terminal git checkout" + exit 1 +fi + +if ! test -e "${top_distdir}"; then + echo "Must be run from 'meson dist'" + exit 1 +fi + +GIT_DIR="${top_srcdir}"/.git git log --stat > "${top_distdir}"/ChangeLog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/po/fi.po new/vte-0.64.0/po/fi.po --- old/vte-0.63.91/po/fi.po 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/po/fi.po 2021-03-19 22:52:23.000000000 +0100 @@ -10,8 +10,8 @@ msgstr "" "Project-Id-Version: vte\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/vte/issues\n" -"POT-Creation-Date: 2018-06-20 20:20+0000\n" -"PO-Revision-Date: 2018-08-17 21:03+0300\n" +"POT-Creation-Date: 2021-02-22 17:16+0000\n" +"PO-Revision-Date: 2021-02-27 11:57+0200\n" "Last-Translator: Jiri Gr??nroos <[email protected]>\n" "Language-Team: suomi <[email protected]>\n" "Language: fi\n" @@ -19,31 +19,55 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.0.6\n" +"X-Generator: Poedit 2.4.2\n" -#. Translators: %s is replaced with error message returned by strerror(). -#: ../src/vte.cc:3966 -#, c-format -msgid "Error reading from child: %s." -msgstr "Virhe lapselta lukemisessa: %s." - -#: ../src/vte.cc:4122 -#, c-format -msgid "Error (%s) converting data for child, dropping." -msgstr "Virhe (%s) datan muuntamisessa lapselle, putoaa pois." - -#: ../src/vte.cc:8179 +#: src/vte.cc:7710 msgid "WARNING" msgstr "VAROITUS" -#: ../src/vte.cc:8180 +#: src/vte.cc:7712 msgid "GnuTLS not enabled; data will be written to disk unencrypted!" msgstr "GnuTLS ei ole k??yt??ss??; tiedot kirjoitetaan levylle ilman salausta!" -#: ../src/vtegtk.cc:3618 +#: src/spawn.cc:110 +#, c-format +msgid "Failed to set pipe nonblocking: %s" +msgstr "" + +#: src/spawn.cc:155 +#, c-format +msgid "poll error: %s" +msgstr "" + +#: src/spawn.cc:162 +msgid "Operation timed out" +msgstr "Toiminto aikakatkaistiin" + +#: src/spawn.cc:172 +msgid "Operation was cancelled" +msgstr "Toiminto peruttiin" + +#: src/spawn.cc:190 +#, fuzzy, c-format +#| msgid "Error reading from child: %s." +msgid "Failed to read from child pipe (%s)" +msgstr "Virhe lapselta lukemisessa: %s." + +#: src/spawn.cc:620 #, c-format -msgid "Unable to convert characters from %s to %s." -msgstr "Merkkien muuntaminen merkist??st?? %s merkist????n %s ei onnistu." +msgid "Failed to change to directory ???%s???: %s" +msgstr "" + +#: src/spawn.cc:689 +#, c-format +msgid "Failed to execute child process ???%s???: " +msgstr "Lapsiprosessin ???%s??? suorittaminen ep??onnistui: " + +#~ msgid "Error (%s) converting data for child, dropping." +#~ msgstr "Virhe (%s) datan muuntamisessa lapselle, putoaa pois." + +#~ msgid "Unable to convert characters from %s to %s." +#~ msgstr "Merkkien muuntaminen merkist??st?? %s merkist????n %s ei onnistu." #~ msgid "Copy" #~ msgstr "Kopioi" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/po/gl.po new/vte-0.64.0/po/gl.po --- old/vte-0.63.91/po/gl.po 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/po/gl.po 2021-03-19 22:52:23.000000000 +0100 @@ -5,16 +5,16 @@ # Ignacio Casal Quinteiro <[email protected]>, 2007, 2008. # Mancom??n - Centro de Referencia e Servizos de Software Libre <[email protected]>, 2009. # Fran Di??guez <[email protected]>, 2010, 2011. -# Fran Dieguez <[email protected]>, 2014-2020. +# Fran Dieguez <[email protected]>, 2014-2020. # msgid "" msgstr "" "Project-Id-Version: gl\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/vte/issues\n" -"POT-Creation-Date: 2020-05-27 19:17+0000\n" +"POT-Creation-Date: 2021-02-22 17:16+0000\n" "PO-Revision-Date: 2020-08-04 09:31+0200\n" -"Last-Translator: Fran Dieguez <[email protected]>\n" -"Language-Team: Galician <Proxecto Trasno <[email protected]>>\n" +"Last-Translator: Fran Dieguez <[email protected]>\n" +"Language-Team: Proxecto Trasno <[email protected]>\n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -22,15 +22,15 @@ "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Gtranslator 3.36.0\n" -#: src/vte.cc:7763 +#: src/vte.cc:7710 msgid "WARNING" msgstr "AVISO" -#: src/vte.cc:7765 +#: src/vte.cc:7712 msgid "GnuTLS not enabled; data will be written to disk unencrypted!" msgstr "GnuTLS non est?? activado; os datos escribiranse no disco sen cifrar!" -#: src/spawn.cc:111 +#: src/spawn.cc:110 #, c-format msgid "Failed to set pipe nonblocking: %s" msgstr "Produciuse un fallo ao estabelecer a tuber??a non bloqueante: %s" @@ -40,26 +40,25 @@ msgid "poll error: %s" msgstr "erro de consulta: %s" -#: src/spawn.cc:161 +#: src/spawn.cc:162 msgid "Operation timed out" msgstr "Expirou o tempo da operaci??n" -#: src/spawn.cc:171 +#: src/spawn.cc:172 msgid "Operation was cancelled" msgstr "Cancelouse a operaci??n" -#: src/spawn.cc:189 +#: src/spawn.cc:190 #, c-format -#| msgid "Error reading from child: %s." msgid "Failed to read from child pipe (%s)" msgstr "Produciuse un erro ao ler desde a tuber??a filla (%s)" -#: src/spawn.cc:576 +#: src/spawn.cc:620 #, c-format msgid "Failed to change to directory ???%s???: %s" msgstr "Produciuse un fallo ao cambiar ao directorio ??%s??: %s" -#: src/spawn.cc:645 +#: src/spawn.cc:689 #, c-format msgid "Failed to execute child process ???%s???: " msgstr "Produciuse un fallo ao executar o proceso fillo ??%s??: " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/src/app/app.cc new/vte-0.64.0/src/app/app.cc --- old/vte-0.63.91/src/app/app.cc 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/src/app/app.cc 2021-03-19 22:52:23.000000000 +0100 @@ -81,6 +81,7 @@ gboolean require_systemd_scope{false}; gboolean reverse{false}; gboolean test_mode{false}; + gboolean track_clipboard_targets{false}; gboolean use_theme_colors{false}; gboolean version{false}; gboolean whole_window_transparent{false}; @@ -486,7 +487,7 @@ char* argv[], GError** error) { - bool dummy_bool; + gboolean dummy_bool; char* dummy_string = nullptr; GOptionEntry const entries[] = { { "allow-window-ops", 0, 0, G_OPTION_ARG_NONE, &allow_window_ops, @@ -593,6 +594,8 @@ "Specify the number of scrollback-lines (-1 for infinite)", nullptr }, { "transparent", 'T', 0, G_OPTION_ARG_INT, &transparency_percent, "Enable the use of a transparent background", "0..100" }, + { "track-clipboard-targets", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &track_clipboard_targets, + "Track clipboard targets", nullptr }, { "verbose", 'v', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (void*)parse_verbosity, "Enable verbose debug output", nullptr }, @@ -2369,6 +2372,36 @@ return G_SOURCE_CONTINUE; } +static void +app_clipboard_targets_received_cb(GtkClipboard* clipboard, + GdkAtom* targets, + int n_targets, + VteappApplication* application) +{ + verbose_print("Clipboard has %d targets:", n_targets); + + for (auto i = 0; i < n_targets; ++i) { + auto atom_name = vte::glib::take_string(gdk_atom_name(targets[i])); + verbose_print(" %s", atom_name.get()); + } + verbose_print("\n"); +} + +static void +app_clipboard_owner_change_cb(GtkClipboard* clipboard, + GdkEvent* event G_GNUC_UNUSED, + VteappApplication* application) +{ + verbose_print("Clipboard owner-change, requesting targets\n"); + + /* We can do this without holding a reference to @application since + * the application lives as long as the process. + */ + gtk_clipboard_request_targets(clipboard, + (GtkClipboardTargetsReceivedFunc)app_clipboard_targets_received_cb, + application); +} + G_DEFINE_TYPE(VteappApplication, vteapp_application, GTK_TYPE_APPLICATION) static void @@ -2394,6 +2427,14 @@ (GUnixFDSourceFunc)app_stdin_readable_cb, application); } + + if (options.track_clipboard_targets) { + auto clipboard = gtk_clipboard_get_for_display(gdk_display_get_default(), + GDK_SELECTION_CLIPBOARD); + app_clipboard_owner_change_cb(clipboard, nullptr, application); + g_signal_connect(clipboard, "owner-change", + G_CALLBACK(app_clipboard_owner_change_cb), application); + } } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.63.91/src/vtegtk.cc new/vte-0.64.0/src/vtegtk.cc --- old/vte-0.63.91/src/vtegtk.cc 2021-02-13 22:52:05.000000000 +0100 +++ new/vte-0.64.0/src/vtegtk.cc 2021-03-19 22:52:23.000000000 +0100 @@ -114,8 +114,6 @@ std::shared_ptr<vte::platform::Widget> m_widget; }; -static void vte_terminal_scrollable_iface_init(GtkScrollableInterface* iface) noexcept; - #ifdef VTE_DEBUG G_DEFINE_TYPE_WITH_CODE(VteTerminal, vte_terminal, GTK_TYPE_WIDGET, { @@ -123,7 +121,7 @@ g_type_add_instance_private(g_define_type_id, sizeof(VteTerminalPrivate)); } g_type_add_class_private (g_define_type_id, sizeof (VteTerminalClassPrivate)); - G_IMPLEMENT_INTERFACE(GTK_TYPE_SCROLLABLE, vte_terminal_scrollable_iface_init) + G_IMPLEMENT_INTERFACE(GTK_TYPE_SCROLLABLE, nullptr) if (_vte_debug_on(VTE_DEBUG_LIFECYCLE)) { g_printerr("vte_terminal_get_type()\n"); }) @@ -134,7 +132,7 @@ g_type_add_instance_private(g_define_type_id, sizeof(VteTerminalPrivate)); } g_type_add_class_private (g_define_type_id, sizeof (VteTerminalClassPrivate)); - G_IMPLEMENT_INTERFACE(GTK_TYPE_SCROLLABLE, vte_terminal_scrollable_iface_init)) + G_IMPLEMENT_INTERFACE(GTK_TYPE_SCROLLABLE, nullptr)) #endif static inline auto @@ -2105,26 +2103,6 @@ #endif } -static gboolean -vte_terminal_scrollable_get_border(GtkScrollable* scrollable, - GtkBorder* border) noexcept -try -{ - *border = *WIDGET(VTE_TERMINAL(scrollable))->padding(); - return true; -} -catch (...) -{ - vte::log_exception(); - return false; -} - -static void -vte_terminal_scrollable_iface_init(GtkScrollableInterface* iface) noexcept -{ - iface->get_border = vte_terminal_scrollable_get_border; -} - /* public API */ /** ++++++ vte.obsinfo ++++++ --- /var/tmp/diff_new_pack.SmFygT/_old 2021-05-06 22:52:03.118891857 +0200 +++ /var/tmp/diff_new_pack.SmFygT/_new 2021-05-06 22:52:03.118891857 +0200 @@ -1,5 +1,5 @@ name: vte -version: 0.63.91 -mtime: 1613253125 -commit: 3ade6aef026c181a2385b5678b62b6e2f8aea549 +version: 0.64.0 +mtime: 1616190743 +commit: 2520d6b6785646ceb5f501f9c37a1a0307fa4486
