Hello community,

here is the log from the commit of package vte for openSUSE:Factory checked in 
at 2020-06-08 23:48:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vte (Old)
 and      /work/SRC/openSUSE:Factory/.vte.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vte"

Mon Jun  8 23:48:26 2020 rev:124 rq:811425 version:0.60.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/vte/vte.changes  2020-04-29 20:43:04.215750254 
+0200
+++ /work/SRC/openSUSE:Factory/.vte.new.3606/vte.changes        2020-06-08 
23:49:19.350343650 +0200
@@ -1,0 +2,15 @@
+Fri May 29 21:49:35 UTC 2020 - bjorn....@gmail.com
+
+- Update to version 0.60.3:
+  * widget:
+    - Fix underlining the space character in a matched regex
+    - Notify correct property when setting the scroll-on-keystroke
+    - Set error from vte_terminal_set_encoding when built without
+      ICU
+  * pty: Call grantpt/unlockpt when opening the PTY
+  * icu: glue: Set error callback on the from-unicode conversion
+  * lib: Fix switching between legacy encodings
+  * all: Fix the build without ICU
+  * docs: Add index for API new in 0.60
+
+-------------------------------------------------------------------

Old:
----
  vte-0.60.2.tar.xz

New:
----
  vte-0.60.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.14vZiO/_old  2020-06-08 23:49:20.802348129 +0200
+++ /var/tmp/diff_new_pack.14vZiO/_new  2020-06-08 23:49:20.806348142 +0200
@@ -23,7 +23,7 @@
 %define _name   vte
 
 Name:           vte
-Version:        0.60.2
+Version:        0.60.3
 Release:        0
 Summary:        Terminal Emulator Library
 License:        LGPL-2.0-only AND LGPL-3.0-only AND GPL-3.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.14vZiO/_old  2020-06-08 23:49:20.838348240 +0200
+++ /var/tmp/diff_new_pack.14vZiO/_new  2020-06-08 23:49:20.838348240 +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.60.2</param>
+    <param name="revision">refs/tags/0.60.3</param>
     <param name="exclude">doc/vttest.*</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.14vZiO/_old  2020-06-08 23:49:20.862348314 +0200
+++ /var/tmp/diff_new_pack.14vZiO/_new  2020-06-08 23:49:20.862348314 +0200
@@ -1,6 +1,4 @@
 <servicedata>
 <service name="tar_scm">
-            <param name="url">git://git.gnome.org/vte</param>
-          <param 
name="changesrevision">961927a8115c82f35deafe09c1d68689ff069905</param></service><service
 name="tar_scm">
                 <param 
name="url">https://gitlab.gnome.org/GNOME/vte.git</param>
-              <param 
name="changesrevision">c893450ae32b85870df3313021d9ce1fdfcbe49e</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">14e68fbe47de262e8b25d8bbbf6eef6fd7c28cc2</param></service></servicedata>
\ No newline at end of file

++++++ vte-0.60.2.tar.xz -> vte-0.60.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/meson.build new/vte-0.60.3/meson.build
--- old/vte-0.60.2/meson.build  2020-04-25 12:28:54.000000000 +0200
+++ new/vte-0.60.3/meson.build  2020-05-13 11:51:07.000000000 +0200
@@ -17,7 +17,7 @@
 project(
   'vte',
   ['c', 'cpp'],
-  version: '0.60.2',
+  version: '0.60.3',
   license: ['LGPL-3.0-or-later', 'GPL-3.0-or-later'],
   default_options: [
     'buildtype=release',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/po/LINGUAS new/vte-0.60.3/po/LINGUAS
--- old/vte-0.60.2/po/LINGUAS   2020-04-25 12:28:54.000000000 +0200
+++ new/vte-0.60.3/po/LINGUAS   2020-05-13 11:51:07.000000000 +0200
@@ -15,6 +15,7 @@
 bs
 ca
 ca@valencia
+ckb
 cs
 cy
 da
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/po/ckb.po new/vte-0.60.3/po/ckb.po
--- old/vte-0.60.2/po/ckb.po    1970-01-01 01:00:00.000000000 +0100
+++ new/vte-0.60.3/po/ckb.po    2020-05-13 11:51:07.000000000 +0200
@@ -0,0 +1,43 @@
+# Kurdish (Sorani) translation for vte2.91
+# Copyright (c) 2020 Rosetta Contributors and Canonical Ltd 2020
+# This file is distributed under the same license as the vte2.91 package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: vte2.91\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2019-05-13 09:31+0000\n"
+"PO-Revision-Date: 2020-05-05 01:16+0300\n"
+"Last-Translator: Jwtiyar Nariman <jwti...@gmail.com>\n"
+"Language-Team: Kurdish (Sorani) <c...@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2020-05-04 22:12+0000\n"
+"X-Generator: Poedit 2.3\n"
+"Language: ckb\n"
+
+#. Translators: %s is replaced with error message returned by strerror().
+#: ../src/vte.cc:3928
+#, c-format
+msgid "Error reading from child: %s."
+msgstr "هەڵەی خوێندنەوە لە مناڵەوە: %s."
+
+#: ../src/vte.cc:4078
+#, c-format
+msgid "Error (%s) converting data for child, dropping."
+msgstr "هەڵە(%s) لە گۆڕینی زانیاری فۆر منداڵ، فڕێدان."
+
+#: ../src/vte.cc:7889
+msgid "WARNING"
+msgstr "ئاگاداربە"
+
+#: ../src/vte.cc:7890
+msgid "GnuTLS not enabled; data will be written to disk unencrypted!"
+msgstr "GnuTLS چالاک نیە؛ زانیارییەکان دەکرێنە سەر پەپکە بێ ئەوەی 
پارێزراوبکرێن!"
+
+#: ../src/vtegtk.cc:3666
+#, c-format
+msgid "Unable to convert characters from %s to %s."
+msgstr "نەتوانرا نووسەکان بگۆڕدرێت لە %s بۆ %s."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/src/pty.cc new/vte-0.60.3/src/pty.cc
--- old/vte-0.60.2/src/pty.cc   2020-04-25 12:28:54.000000000 +0200
+++ new/vte-0.60.3/src/pty.cc   2020-05-13 11:51:07.000000000 +0200
@@ -128,16 +128,6 @@
         if (masterfd == -1)
                 _exit(127);
 
-        if (grantpt(masterfd) != 0) {
-                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "grantpt");
-                _exit(127);
-        }
-
-       if (unlockpt(masterfd) != 0) {
-                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "unlockpt");
-                _exit(127);
-        }
-
         if (!(m_flags & VTE_PTY_NO_SESSION)) {
                 /* This starts a new session; we become its process-group 
leader,
                  * and lose our controlling TTY.
@@ -622,6 +612,18 @@
 static int
 fd_setup(int fd)
 {
+        if (grantpt(fd) != 0) {
+                vte::util::restore_errno errsv;
+                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "grantpt");
+                return -1;
+        }
+
+        if (unlockpt(fd) != 0) {
+                vte::util::restore_errno errsv;
+                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "unlockpt");
+                return -1;
+        }
+
         if (fd_set_cloexec(fd) < 0) {
                 vte::util::restore_errno errsv;
                 _vte_debug_print(VTE_DEBUG_PTY,
@@ -706,6 +708,18 @@
                 return -1;
         }
 
+        if (grantpt(fd) != 0) {
+                vte::util::restore_errno errsv;
+                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "grantpt");
+                return {};
+        }
+
+        if (unlockpt(fd) != 0) {
+                vte::util::restore_errno errsv;
+                _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "unlockpt");
+                return {};
+        }
+
        _vte_debug_print(VTE_DEBUG_PTY, "Allocated pty on fd %d.\n", (int)fd);
 
         return fd.steal();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/src/vte.cc new/vte-0.60.3/src/vte.cc
--- old/vte-0.60.2/src/vte.cc   2020-04-25 12:28:54.000000000 +0200
+++ new/vte-0.60.3/src/vte.cc   2020-05-13 11:51:07.000000000 +0200
@@ -8760,7 +8760,8 @@
         vte::grid::column_t i, j, lcol, vcol;
         int y;
         guint fore = VTE_DEFAULT_FG, nfore, back = VTE_DEFAULT_BG, nback, deco 
= VTE_DEFAULT_FG, ndeco;
-        gboolean hyperlink = FALSE, nhyperlink, hilite = FALSE, nhilite;
+        gboolean hyperlink = FALSE, nhyperlink;  /* non-hovered explicit 
hyperlink, needs dashed underlining */
+        gboolean hilite = FALSE, nhilite;        /* hovered explicit hyperlink 
or regex match, needs continuous underlining */
         gboolean selected;
         gboolean nrtl = FALSE, rtl;  /* for debugging */
         uint32_t attr = 0, nattr;
@@ -8938,12 +8939,15 @@
                         g_assert(cell != nullptr);
 
                         nhyperlink = (m_allow_hyperlink && 
cell->attr.hyperlink_idx != 0);
+                        nhilite = (nhyperlink && cell->attr.hyperlink_idx == 
m_hyperlink_hover_idx) ||
+                                  (!nhyperlink && regex_match_has_current() && 
m_match_span.contains(row, lcol));
                         if (cell->c == 0 ||
                                 ((cell->c == ' ' || cell->c == '\t') &&  // 
FIXME '\t' is newly added now, double check
                                  cell->attr.has_none(VTE_ATTR_UNDERLINE_MASK |
                                                      
VTE_ATTR_STRIKETHROUGH_MASK |
                                                      VTE_ATTR_OVERLINE_MASK) &&
-                                 !nhyperlink) ||
+                                 !nhyperlink &&
+                                 !nhilite) ||
                             cell->attr.fragment() ||
                             cell->attr.invisible()) {
                                 /* Skip empty or fragment cell. */
@@ -8956,9 +8960,6 @@
                         selected = cell_is_selected_log(lcol, row);
                         determine_colors(cell, selected, &nfore, &nback, 
&ndeco);
 
-                        nhilite = (nhyperlink && cell->attr.hyperlink_idx == 
m_hyperlink_hover_idx) ||
-                                  (!nhyperlink && regex_match_has_current() && 
m_match_span.contains(row, lcol));
-
                         /* See if it no longer fits the run. */
                         if (item_count > 0 &&
                                    (((attr ^ nattr) & (VTE_ATTR_BOLD_MASK |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vte-0.60.2/src/vtegtk.cc new/vte-0.60.3/src/vtegtk.cc
--- old/vte-0.60.2/src/vtegtk.cc        2020-04-25 12:28:54.000000000 +0200
+++ new/vte-0.60.3/src/vtegtk.cc        2020-05-13 11:51:07.000000000 +0200
@@ -4475,7 +4475,7 @@
        g_return_if_fail(VTE_IS_TERMINAL(terminal));
 
         if (IMPL(terminal)->set_scroll_on_keystroke(scroll != FALSE))
-                g_object_notify_by_pspec(G_OBJECT(terminal), 
pspecs[PROP_SCROLL_ON_OUTPUT]);
+                g_object_notify_by_pspec(G_OBJECT(terminal), 
pspecs[PROP_SCROLL_ON_KEYSTROKE]);
 }
 
 /**


Reply via email to