Hello community, here is the log from the commit of package vte for openSUSE:Factory checked in at 2019-11-29 15:57:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vte (Old) and /work/SRC/openSUSE:Factory/.vte.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vte" Fri Nov 29 15:57:17 2019 rev:120 rq:750947 version:0.58.3 Changes: -------- --- /work/SRC/openSUSE:Factory/vte/vte.changes 2019-11-23 23:21:05.418798167 +0100 +++ /work/SRC/openSUSE:Factory/.vte.new.26869/vte.changes 2019-11-29 16:00:43.552859352 +0100 @@ -1,0 +2,13 @@ +Sat Nov 23 21:50:44 UTC 2019 - [email protected] + +- Update to version 0.58.3: + + emulation: + - Report fixed origin for CSI 13 t. + - Maintain cursor column during screen switch. + - Ignore delete/insert line outside the scroll region. + - Fix vertical cursor movememnt outside the scroll region. + + pty: Set size on creation. + + build: Add no-exceptions sanity check. + + Updated translations. + +------------------------------------------------------------------- Old: ---- vte-0.58.2.tar.xz New: ---- vte-0.58.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.wfm7Nn/_old 2019-11-29 16:00:46.688858066 +0100 +++ /var/tmp/diff_new_pack.wfm7Nn/_new 2019-11-29 16:00:46.692858064 +0100 @@ -1,7 +1,7 @@ # # spec file for package vte # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %define _name vte Name: vte -Version: 0.58.2 +Version: 0.58.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.wfm7Nn/_old 2019-11-29 16:00:46.716858055 +0100 +++ /var/tmp/diff_new_pack.wfm7Nn/_new 2019-11-29 16:00:46.716858055 +0100 @@ -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.58.2</param> + <param name="revision">refs/tags/0.58.3</param> <param name="exclude">doc/vttest.*</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.wfm7Nn/_old 2019-11-29 16:00:46.732858048 +0100 +++ /var/tmp/diff_new_pack.wfm7Nn/_new 2019-11-29 16:00:46.732858048 +0100 @@ -3,4 +3,4 @@ <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">b7440da36396cbdbaca005adef3789d2a8852985</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">73f9e209f70050ea88ed3d80e819ea1a04c5a6e1</param></service></servicedata> \ No newline at end of file ++++++ vte-0.58.2.tar.xz -> vte-0.58.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.58.2/meson.build new/vte-0.58.3/meson.build --- old/vte-0.58.2/meson.build 2019-10-11 12:53:07.000000000 +0200 +++ new/vte-0.58.3/meson.build 2019-11-22 22:36:35.000000000 +0100 @@ -17,7 +17,7 @@ project( 'vte', ['c', 'cpp'], - version: '0.58.2', + version: '0.58.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.58.2/po/fa.po new/vte-0.58.3/po/fa.po --- old/vte-0.58.2/po/fa.po 2019-10-11 12:53:07.000000000 +0200 +++ new/vte-0.58.3/po/fa.po 2019-11-22 22:36:35.000000000 +0100 @@ -3,14 +3,13 @@ # Copyright (C) 2010 The IFSUG Translation Group # Roozbeh Pournader <[email protected]>, 2003. # Arash Mousavi <[email protected]>, 2010, 2015, 2016. -# Danial Behzadi <[email protected]>, 2017, 2018, 2019. # msgid "" msgstr "" "Project-Id-Version: vte\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/vte/issues\n" -"POT-Creation-Date: 2019-04-14 20:50+0000\n" -"PO-Revision-Date: 2019-09-14 20:51+0000\n" +"POT-Creation-Date: 2019-09-07 11:33+0000\n" +"PO-Revision-Date: 2019-09-14 20:54+0000\n" "Last-Translator: Arash Mousavi <[email protected]>\n" "Language-Team: Persian\n" "Language: fa\n" @@ -20,25 +19,25 @@ "X-Generator: Poedit 2.2.3\n" #. Translators: %s is replaced with error message returned by strerror(). -#: src/vte.cc:3928 +#: src/vte.cc:4184 #, c-format msgid "Error reading from child: %s." msgstr "خطا در خواندن از فرزند: %s." -#: src/vte.cc:4078 +#: src/vte.cc:4334 #, c-format msgid "Error (%s) converting data for child, dropping." msgstr "خطا (%s) در تبدیل داده برای فرزند. درحال رها کردن." -#: src/vte.cc:7889 +#: src/vte.cc:8258 msgid "WARNING" msgstr "هشدار" -#: src/vte.cc:7890 +#: src/vte.cc:8259 msgid "GnuTLS not enabled; data will be written to disk unencrypted!" msgstr "GnuTLS به کارنیفتاده؛ دادهها بدون رمزنگاری روی دیسک نوشته خواهند شد!" -#: src/vtegtk.cc:3653 +#: src/vtegtk.cc:3873 #, c-format msgid "Unable to convert characters from %s to %s." msgstr "نمیتوان نویسهها را از %s به %s تبدیل کرد." @@ -95,7 +94,7 @@ #~ msgstr "نمیتوان %s را اجرا کرد" #~ msgid "Error adding `%s' to environment, continuing." -#~ msgstr "خطا در اضافهکردن `%s' به محیطِ، ادامه میدهیم." +#~ msgstr "خطا در افزودن `%s' به محیطِ، ادامه میدهیم." #~ msgid "Error setting PTY size: %s." #~ msgstr "خطا در تنظیم اندازهٔ PTY: %s." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.58.2/src/vtegtk.cc new/vte-0.58.3/src/vtegtk.cc --- old/vte-0.58.2/src/vtegtk.cc 2019-10-11 12:53:07.000000000 +0200 +++ new/vte-0.58.3/src/vtegtk.cc 2019-11-22 22:36:35.000000000 +0100 @@ -2559,8 +2559,9 @@ * @cancellable: (allow-none): a #GCancellable, or %NULL * @error: (allow-none): return location for a #GError, or %NULL * - * Creates a new #VtePty, and sets the emulation property - * from #VteTerminal:emulation. + * Creates a new #VtePty, sets the emulation property + * from #VteTerminal:emulation, and sets the size using + * @terminal's size. * * See vte_pty_new() for more information. * @@ -2578,6 +2579,8 @@ if (pty == NULL) return NULL; + vte_pty_set_size(pty, IMPL(terminal)->m_row_count, IMPL(terminal)->m_column_count, NULL); + return pty; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.58.2/src/vteinternal.hh new/vte-0.58.3/src/vteinternal.hh --- old/vte-0.58.2/src/vteinternal.hh 2019-10-11 12:53:07.000000000 +0200 +++ new/vte-0.58.3/src/vteinternal.hh 2019-11-22 22:36:35.000000000 +0100 @@ -18,6 +18,23 @@ #pragma once +/* BEGIN sanity checks */ + +/* Some distributions pass -fexceptions in a way that overrides vte's + * own -fno-exceptions. This is a hard error; fail the build. + * See https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/207 + */ +#ifdef __EXCEPTIONS +#error You MUST NOT use -fexceptions to build vte! Fix your build; and DO NOT file a bug upstream! +#endif + +/* While we're at it, check -fno-rtti too */ +#ifdef __GXX_RTTI +#error You MUST NOT use -frtti to build vte! Fix your build system; and DO NOT file a bug upstream! +#endif + +/* END sanity checks */ + #include <glib.h> #include "vtedefines.hh" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.58.2/src/vteseq.cc new/vte-0.58.3/src/vteseq.cc --- old/vte-0.58.2/src/vteseq.cc 2019-10-11 12:53:07.000000000 +0200 +++ new/vte-0.58.3/src/vteseq.cc 2019-11-22 22:36:35.000000000 +0100 @@ -441,8 +441,10 @@ /* cursor.row includes insert_delta, adjust accordingly */ auto cr = m_screen->cursor.row - m_screen->insert_delta; + auto cc = m_screen->cursor.col; m_screen = new_screen; m_screen->cursor.row = cr + m_screen->insert_delta; + m_screen->cursor.col = cc; /* Make sure the ring is large enough */ ensure_row(); @@ -968,7 +970,7 @@ vte::grid::row_t end; // FIXMEchpe why not check DEC_ORIGIN here? - if (m_scrolling_restricted) { + if (m_scrolling_restricted && m_screen->cursor.row <= m_screen->insert_delta + m_scrolling_region.end) { end = m_screen->insert_delta + m_scrolling_region.end; } else { end = m_screen->insert_delta + m_row_count - 1; @@ -1140,7 +1142,7 @@ vte::grid::row_t start; //FIXMEchpe why not check DEC_ORIGIN mode here? - if (m_scrolling_restricted) { + if (m_scrolling_restricted && m_screen->cursor.row >= m_screen->insert_delta + m_scrolling_region.start) { start = m_screen->insert_delta + m_scrolling_region.start; } else { start = m_screen->insert_delta; @@ -1317,16 +1319,22 @@ void Terminal::insert_lines(vte::grid::row_t param) { - vte::grid::row_t end, i; + vte::grid::row_t start, end, i; /* Find the region we're messing with. */ auto row = m_screen->cursor.row; if (m_scrolling_restricted) { + start = m_screen->insert_delta + m_scrolling_region.start; end = m_screen->insert_delta + m_scrolling_region.end; } else { + start = m_screen->insert_delta; end = m_screen->insert_delta + m_row_count - 1; } + /* Don't do anything if the cursor is outside of the scrolling region: DEC STD 070 & bug #199. */ + if (m_screen->cursor.row < start || m_screen->cursor.row > end) + return; + /* Only allow to insert as many lines as there are between this row * and the end of the scrolling region. See bug #676090. */ @@ -1359,16 +1367,22 @@ void Terminal::delete_lines(vte::grid::row_t param) { - vte::grid::row_t end, i; + vte::grid::row_t start, end, i; /* Find the region we're messing with. */ auto row = m_screen->cursor.row; if (m_scrolling_restricted) { + start = m_screen->insert_delta + m_scrolling_region.start; end = m_screen->insert_delta + m_scrolling_region.end; } else { + start = m_screen->insert_delta; end = m_screen->insert_delta + m_row_count - 1; } + /* Don't do anything if the cursor is outside of the scrolling region: DEC STD 070 & bug #199. */ + if (m_screen->cursor.row < start || m_screen->cursor.row > end) + return; + /* Set the boundaries to hard wrapped where we're about to tear apart the contents. * Need to do it before scrolling up, for the end row to be the desired one. */ set_hard_wrapped(row - 1); @@ -2162,6 +2176,7 @@ * args[0]: 1 * * References: ECMA-48 § 8.3.19 + * DEC STD 070 page 5-43 */ #if 0 unsigned int num = 1; @@ -2260,6 +2275,7 @@ * args[0]: 1 * * References: ECMA-48 § 8.3.22 + * DEC STD 070 page 5-41 */ #if 0 unsigned int num = 1; @@ -5009,6 +5025,7 @@ * args[0]: 1 * * References: ECMA-48 § 8.3.32 + * DEC STD 070 page 5-148 * Terminal-wg/bidi */ #if 0 @@ -6031,6 +6048,7 @@ * and the SLH and SEE functions. * * References: ECMA-48 § 8.3.67 + * DEC STD 070 page 5-146 * Terminal-wg/bidi */ #if 0 @@ -8695,17 +8713,8 @@ break; case VTE_XTERM_WM_GET_WINDOW_POSITION: { - /* Send window location, in pixels. */ - /* FIXME: this is not supported on wayland; just hardwire - * it to a fixed return always. - */ - int x0, y0; - gdk_window_get_origin(gtk_widget_get_window(m_widget), &x0, &y0); - _vte_debug_print(VTE_DEBUG_EMULATION, - "Reporting window location (%d,%d).\n", x0, y0); - - reply(seq, VTE_REPLY_XTERM_WM, - {3, x0 + m_padding.left, y0 + m_padding.top}); + /* Send window location, in pixels. Reply with fixed origin. */ + reply(seq, VTE_REPLY_XTERM_WM, {3, 0, 0}); break; }
