Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vte for openSUSE:Factory checked in at 2026-11-25 16:11:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vte (Old) and /work/SRC/openSUSE:Factory/.vte.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vte" Wed Nov 25 16:11:43 2026 rev:177 rq:1400242 version:0.84.2 Changes: -------- --- /work/SRC/openSUSE:Factory/vte/vte.changes 2026-08-09 21:32:14.159833275 +0200 +++ /work/SRC/openSUSE:Factory/.vte.new.1340718/vte.changes 2026-11-25 16:12:01.863009952 +0100 @@ -1,0 +2,15 @@ +Mon Nov 23 11:47:29 UTC 2026 - Bjørn Lie <[email protected]> + +- Update to version 0.84.2: + * widget: + + Use correct data type + + Update the scrollbar position when mapping the widget + * ring: Fix rewrapping TAB characters that don't fit in a row + * app: Make progress icon go clockwise + * lib: Avoid a potential division by zero + * vte.sh: Use two-level escaping for backslash characters in prompts + * a11y: gtk4: Allow optional out params to be nullptr + * gtk4: reuse unchanged background textures +- Update version dependencies according to meson.build. + +------------------------------------------------------------------- Old: ---- vte-0.84.1.tar.xz New: ---- vte-0.84.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.a6y9kb/_old 2026-11-25 16:12:02.926055806 +0100 +++ /var/tmp/diff_new_pack.a6y9kb/_new 2026-11-25 16:12:02.928055892 +0100 @@ -27,7 +27,7 @@ %bcond_with glade_support Name: vte -Version: 0.84.1 +Version: 0.84.2 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 @@ -60,13 +60,13 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.72.0 BuildRequires: pkgconfig(gnutls) >= 3.2.7 BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0 %if %{with gtk4_support} BuildRequires: pkgconfig(gtk4) >= 4.14.0 %endif BuildRequires: pkgconfig(liblz4) >= 1.9 BuildRequires: pkgconfig(libpcre2-8) >= 10.21 -BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libsystemd) >= 220 BuildRequires: pkgconfig(pango) >= 1.22.0 BuildRequires: pkgconfig(simdutf) >= 6.2.0 BuildRequires: pkgconfig(vapigen) >= 0.24 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.a6y9kb/_old 2026-11-25 16:12:02.956057100 +0100 +++ /var/tmp/diff_new_pack.a6y9kb/_new 2026-11-25 16:12:02.960057272 +0100 @@ -1,6 +1,7 @@ -mtime: 1785655608 -commit: f8257ab66d8c3d0e5013ea83c660242a8a38460f8f15b2f1624fc8730e5d03ac +mtime: 1795434754 +commit: fa3bfc4e09af3782eb33be84e5dab34fc2e9751acf632e058da7105df538cf0b url: https://src.opensuse.org/GNOME/vte -revision: f8257ab66d8c3d0e5013ea83c660242a8a38460f8f15b2f1624fc8730e5d03ac +revision: fa3bfc4e09af3782eb33be84e5dab34fc2e9751acf632e058da7105df538cf0b +trackingbranch: factory projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj ++++++ _service ++++++ --- /var/tmp/diff_new_pack.a6y9kb/_old 2026-11-25 16:12:02.977058006 +0100 +++ /var/tmp/diff_new_pack.a6y9kb/_new 2026-11-25 16:12:02.980058135 +0100 @@ -5,7 +5,7 @@ <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> - <param name="revision">0.84.1</param> + <param name="revision">0.84.2</param> <param name="exclude">doc/vttest.*</param> </service> <service name="tar" mode="manual"/> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.a6y9kb/_old 2026-11-25 16:12:03.002059084 +0100 +++ /var/tmp/diff_new_pack.a6y9kb/_new 2026-11-25 16:12:03.006059257 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/vte.git</param> - <param name="changesrevision">f2223e45d7f04c5383c59e76772501f0ed4215bc</param></service></servicedata> + <param name="changesrevision">6e8f399d97844a08100e815b1ca15253c3865f1e</param></service></servicedata> (No newline at EOF) ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-23 12:52:34.000000000 +0100 @@ -0,0 +1,5 @@ +*.obscpio +*.osc +_build.* +.pbuild +osc-collab.* ++++++ vte-0.84.1.tar.xz -> vte-0.84.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/meson.build new/vte-0.84.2/meson.build --- old/vte-0.84.1/meson.build 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/meson.build 2026-11-16 23:47:08.000000000 +0100 @@ -17,7 +17,7 @@ project( 'vte', ['c', 'cpp'], - version: '0.84.1', + version: '0.84.2', 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.84.1/src/app/app.cc new/vte-0.84.2/src/app/app.cc --- old/vte-0.84.1/src/app/app.cc 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/app/app.cc 2026-11-16 23:47:08.000000000 +0100 @@ -4028,8 +4028,8 @@ if (fraction < 1.) { cairo_move_to(cr.get(), xc, yc); - cairo_line_to(cr.get(), xc + radius, yc); - cairo_arc_negative(cr.get(), xc, yc, radius, 0, 2 * G_PI * (1. - fraction)); + cairo_line_to(cr.get(), xc, yc - radius); + cairo_arc(cr.get(), xc, yc, radius, - G_PI / 2.0, 2.0 * G_PI * (fraction - 0.25)); cairo_line_to(cr.get(), xc, yc); } else { cairo_arc(cr.get(), xc, yc, radius, 0, 2 * G_PI); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/drawing-gsk.cc new/vte-0.84.2/src/drawing-gsk.cc --- old/vte-0.84.1/src/drawing-gsk.cc 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/drawing-gsk.cc 2026-11-16 23:47:08.000000000 +0100 @@ -298,21 +298,38 @@ DrawingGsk::flush_background(Rectangle const& rect) { if (m_background_set) { - auto bytes = vte::take_freeable - (g_bytes_new_take(m_background_data.release(), - m_background_len * sizeof(r8g8b8a8))); - auto texture = vte::glib::take_ref - (gdk_memory_texture_new(m_background_cols, - m_background_rows, - GDK_MEMORY_R8G8B8A8, - bytes.get(), - m_background_cols * sizeof(r8g8b8a8))); + auto const size = m_background_len * sizeof(r8g8b8a8); + gsize old_size = 0; + auto const* old_data = m_background_bytes ? + g_bytes_get_data(m_background_bytes.get(), &old_size) : nullptr; + auto const can_reuse = m_background_texture && old_data && + size_t(gdk_texture_get_width(m_background_texture.get())) == m_background_cols && + size_t(gdk_texture_get_height(m_background_texture.get())) == m_background_rows && + old_size == size; + + if (can_reuse && memcmp(m_background_data.get(), old_data, size) == 0) { + /* Preserve texture identity for GSK's node diff and avoid + * replacing the cached bytes when only the text changed. */ + m_background_data.reset(); + } else { + m_background_bytes = vte::take_freeable + (g_bytes_new_take(m_background_data.release(), size)); + m_background_texture = vte::glib::take_ref + (gdk_memory_texture_new(m_background_cols, + m_background_rows, + GDK_MEMORY_R8G8B8A8, + m_background_bytes.get(), + m_background_cols * sizeof(r8g8b8a8))); + } + gtk_snapshot_append_scaled_texture(m_snapshot, - texture.get(), + m_background_texture.get(), GSK_SCALING_FILTER_NEAREST, rect.graphene()); } else { m_background_data.reset(); + m_background_texture.reset(); + m_background_bytes.reset(); } m_background_cols = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/drawing-gsk.hh new/vte-0.84.2/src/drawing-gsk.hh --- old/vte-0.84.1/src/drawing-gsk.hh 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/drawing-gsk.hh 2026-11-16 23:47:08.000000000 +0100 @@ -22,6 +22,7 @@ #include "drawing-context.hh" #include "glib-glue.hh" #include "minifont.hh" +#include "refptr.hh" #define GDK_ARRAY_NAME vte_glyphs #define GDK_ARRAY_TYPE_NAME VteGlyphs @@ -157,6 +158,8 @@ size_t m_background_cols{0}; size_t m_background_rows{0}; bool m_background_set{false}; + vte::glib::RefPtr<GdkTexture> m_background_texture{}; + vte::Freeable<GBytes> m_background_bytes{}; void flush_glyph_string(PangoFont* font, const GdkRGBA* rgba); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/ring.cc new/vte-0.84.2/src/ring.cc --- old/vte-0.84.1/src/ring.cc 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/ring.cc 2026-11-16 23:47:08.000000000 +0100 @@ -1356,7 +1356,12 @@ paragraph_len -= runlength; } else { while (runlength) { - if (col >= columns - attr_change.attr.columns() + 1) { + /* If the next character wouldn't fit in this row then we need to wrap now. + * Except if we're in the first column: then wrapping is pointless (the + * character wouldn't fit in the next row either), and our streams don't + * support empty soft-wrapped rows that such wrapping would create. + * See https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8158 */ + if (col > 0 && col >= columns - attr_change.attr.columns() + 1) { /* Wrap now, write the soft wrapped row's record */ new_record.width = col; new_record.soft_wrapped = 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/vte.cc new/vte-0.84.2/src/vte.cc --- old/vte-0.84.1/src/vte.cc 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/vte.cc 2026-11-16 23:47:08.000000000 +0100 @@ -1932,10 +1932,10 @@ } void -Terminal::queue_adjustment_value_changed(double v) +Terminal::queue_adjustment_value_changed(double v, bool force) { /* FIXME: do this check in pixel space? */ - if (_vte_double_equal(v, m_screen->scroll_delta)) + if (_vte_double_equal(v, m_screen->scroll_delta) && !force) return; _vte_debug_print(vte::debug::category::ADJ, @@ -8149,7 +8149,7 @@ drop3 = old_top_lines - new_top_lines; drop = MIN(MIN(drop1, drop2), drop3); if (drop > 0) { - int new_ring_next = screen_->insert_delta + m_row_count - drop; + auto new_ring_next = screen_->insert_delta + m_row_count - drop; _vte_debug_print(vte::debug::category::RESIZE, "Dropping {} [== MIN({}, {}, {})] rows at the bottom", drop, drop1, drop2, drop3); @@ -8580,6 +8580,9 @@ { m_widget_mapped = true; adjust_adjustments_full(); + /* Force updating the scrollbar position: + * https://gitlab.gnome.org/GNOME/vte/-/work_items/2969 */ + queue_adjustment_value_changed(m_screen->scroll_delta, true); } void @@ -11085,7 +11088,7 @@ g_timer_reset(process_timer); process_incoming(); auto elapsed = g_timer_elapsed(process_timer, NULL) * 1000; - gssize target = VTE_MAX_PROCESS_TIME / elapsed * m_input_bytes; + gssize target = VTE_MAX_PROCESS_TIME / std::max(elapsed, 1e-6) * m_input_bytes; m_max_input_bytes = (m_max_input_bytes + target) / 2; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/vte.sh.in new/vte-0.84.2/src/vte.sh.in --- old/vte-0.84.1/src/vte.sh.in 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/vte.sh.in 2026-11-16 23:47:08.000000000 +0100 @@ -36,8 +36,12 @@ __vte_termprop_signal_psN() { local errsv="$?" - # https://gitlab.gnome.org/GNOME/vte/-/work_items/2951 - printf '\\e]666;%s!\\e\\\\' "$1" + # Emit \e (two bytes) and \\\\ (four bytes) to represent the escape byte + # and a literal backslash (respectively) in prompt variables. + # printf needs twice as many backslashes in its first parameter. + # See https://gitlab.gnome.org/GNOME/vte/-/work_items/2951 + # and https://gitlab.gnome.org/GNOME/vte/-/work_items/2966 + printf '\\e]666;%s!\\e\\\\\\\\' "$1" return $errsv } @@ -93,43 +97,49 @@ PROMPT_COMMAND="__vte_prompt_command" fi - # '\r' serves two purposes here. - # It ensures that the kernel's cooked mode has the right idea of - # the column, important for handling TAB followed by BS keypresses. - # It is also a workaround for the string not to end in a backslash, as - # that would need different level of escaping in the 'promptvars' vs. - # non-'promptvars' cases to prevent spillover if a custom user string - # is appended, see - # https://gitlab.gnome.org/GNOME/vte/-/work_items/2951 - PS0=$(__vte_termprop_signal_psN "vte.shell.preexec")'\r'"${PS0:-}" - - # Shell integration - if [[ "$PS1" != *\]133\;* ]]; then - - # Enclose the primary prompt between - # ← OSC 133;D;retval ST (report exit status of previous command) - # ← OSC 133;A ST (mark beginning of prompt) - # → OSC 133;B ST (mark end of prompt, beginning of command line) - PS1='\[\e]133;D;$?\e\\\e]133;A\e\\\]'"$PS1"'\[\e]133;B\e\\\]' - - # Prepend OSC 133;L ST for a conditional newline if the previous - # command's output didn't end in one. - # This is not done here by default, in order to provide the default - # visual behavior of shells. Uncomment if you want this feature. - #PS1='\[\e]133;L\e\\\]'"$PS1" - - # iTerm2 doesn't touch the secondary prompt. - # Konsole encloses it between 133;A and 133;B. - # For efficient jumping between commands, we follow iTerm2 by default - # and don't mark PS2 as prompt. Uncomment if you want to mark it. - #PS2='\[\e]133;A\e\\\]'"$PS2"'\[\e]133;B\e\\\]' + # Only set up shell integration if promptvars is enabled. Use four + # backslashes in the prompt in order to send one backslash to the terminal. + # See https://gitlab.gnome.org/GNOME/vte/-/work_items/2966 + if shopt -q promptvars; then - # Mark the beginning of the command's output by OSC 133;C ST. - # '\r' ensures that the kernel's cooked mode has the right idea of + # '\r' serves two purposes here. + # It ensures that the kernel's cooked mode has the right idea of # the column, important for handling TAB followed by BS keypresses. - # Prepend to the user's PS0 to preserve whether it ends in '\r'. - # Note that bash doesn't support the \[ \] markers here. - PS0='\e]133;C\e\\\r'"${PS0:-}" + # It is also a workaround for the string not to end in a backslash, as + # that would need different level of escaping in the 'promptvars' vs. + # non-'promptvars' cases to prevent spillover if a custom user string + # is appended, see + # https://gitlab.gnome.org/GNOME/vte/-/work_items/2951 + PS0=$(__vte_termprop_signal_psN "vte.shell.preexec")'\r'"${PS0:-}" + + # Shell integration + if [[ "$PS1" != *\]133\;* ]]; then + + # Enclose the primary prompt between + # ← OSC 133;D;retval ST (report exit status of previous command) + # ← OSC 133;A ST (mark beginning of prompt) + # → OSC 133;B ST (mark end of prompt, beginning of command line) + PS1='\[\e]133;D;$?\e\\\\\e]133;A\e\\\\\]'"$PS1"'\[\e]133;B\e\\\\\]' + + # Prepend OSC 133;L ST for a conditional newline if the previous + # command's output didn't end in one. + # This is not done here by default, in order to provide the default + # visual behavior of shells. Uncomment if you want this feature. + #PS1='\[\e]133;L\e\\\\\]'"$PS1" + + # iTerm2 doesn't touch the secondary prompt. + # Konsole encloses it between 133;A and 133;B. + # For efficient jumping between commands we follow iTerm2 by default + # and don't mark PS2 as prompt. Uncomment if you want to mark it. + #PS2='\[\e]133;A\e\\\\\]'"$PS2"'\[\e]133;B\e\\\\\]' + + # Mark the beginning of the command's output by OSC 133;C ST. + # '\r' ensures that the kernel's cooked mode has the right idea of + # the column, important for handling TAB followed by BS keypresses. + # Prepend to the user's PS0 to preserve whether it ends in '\r'. + # Note that bash doesn't support the \[ \] markers here. + PS0='\e]133;C\e\\\\\r'"${PS0:-}" + fi fi elif [[ -n "${ZSH_VERSION:-}" ]]; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/vteaccess-gtk4.cc new/vte-0.84.2/src/vteaccess-gtk4.cc --- old/vte-0.84.1/src/vteaccess-gtk4.cc 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/vteaccess-gtk4.cc 2026-11-16 23:47:08.000000000 +0100 @@ -561,10 +561,11 @@ VteAccessibleText *state = vte_accessible_text_get (terminal); g_assert (VTE_IS_TERMINAL (terminal)); - g_assert (ranges != nullptr); - *n_ranges = 0; - *ranges = nullptr; + if (n_ranges) [[likely]] + *n_ranges = 0; + if (ranges) + *ranges = nullptr; try { auto impl = _vte_terminal_get_impl (terminal); @@ -575,6 +576,11 @@ impl->m_selection[std::to_underlying(vte::platform::ClipboardType::PRIMARY)] == nullptr) return FALSE; + if (n_ranges) [[likely]] + *n_ranges = 1; + if (!ranges) + return true; + auto start_column = impl->m_selection_resolved.start_column(); auto start_row = impl->m_selection_resolved.start_row(); auto end_column = impl->m_selection_resolved.end_column(); @@ -586,7 +592,6 @@ range.start = gsize(start_offset); range.length = gsize(end_offset - start_offset); - *n_ranges = 1; *ranges = (GtkAccessibleTextRange *)g_memdup2 (&range, sizeof range); return TRUE; @@ -621,16 +626,17 @@ guint i; g_assert (VTE_IS_TERMINAL (accessible)); - g_assert (ranges != nullptr); - g_assert (attribute_names != nullptr); - g_assert (attribute_values != nullptr); contents = &state->contents[state->contents_flip]; - *n_ranges = 0; - *ranges = nullptr; - *attribute_names = nullptr; - *attribute_values = nullptr; + if (n_ranges) [[likely]] + *n_ranges = 0; + if (ranges) + *ranges = nullptr; + if (attribute_names) + *attribute_names = nullptr; + if (attribute_values) + *attribute_values = nullptr; attr = *vte_char_attr_list_get (&contents->attrs, offset); start = 0; @@ -686,16 +692,22 @@ attrs[n_attrs].value = bg_color; n_attrs++; - *attribute_names = g_new0 (char *, n_attrs + 1); - *attribute_values = g_new0 (char *, n_attrs + 1); - *n_ranges = n_attrs; - *ranges = g_new (GtkAccessibleTextRange, n_attrs); - - for (i = 0; i < n_attrs; i++) { - (*attribute_names)[i] = g_strdup (attrs[i].name); - (*attribute_values)[i] = g_strdup (attrs[i].value); - (*ranges)[i].start = range.start; - (*ranges)[i].length = range.length; + if (attribute_names) { + *attribute_names = g_new0 (char *, n_attrs + 1); + for (i = 0; i < n_attrs; i++) + (*attribute_names)[i] = g_strdup (attrs[i].name); + } + if (attribute_values) { + *attribute_values = g_new0 (char *, n_attrs + 1); + for (i = 0; i < n_attrs; i++) + (*attribute_values)[i] = g_strdup (attrs[i].value); + } + if (n_ranges) [[likely]] + *n_ranges = n_attrs; + if (ranges) { + *ranges = g_new (GtkAccessibleTextRange, n_attrs); + for (i = 0; i < n_attrs; i++) + *(*ranges + i) = range; } return TRUE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.84.1/src/vteinternal.hh new/vte-0.84.2/src/vteinternal.hh --- old/vte-0.84.1/src/vteinternal.hh 2026-07-18 20:17:22.000000000 +0200 +++ new/vte-0.84.2/src/vteinternal.hh 2026-11-16 23:47:08.000000000 +0100 @@ -1343,7 +1343,7 @@ void emit_eof(); void emit_selection_changed(); void queue_adjustment_changed(); - void queue_adjustment_value_changed(double v); + void queue_adjustment_value_changed(double v, bool force = false); void queue_adjustment_value_changed_clamped(double v); void adjust_adjustments(); void adjust_adjustments_full(); ++++++ vte.obsinfo ++++++ --- /var/tmp/diff_new_pack.a6y9kb/_old 2026-11-25 16:12:03.304072111 +0100 +++ /var/tmp/diff_new_pack.a6y9kb/_new 2026-11-25 16:12:03.307072241 +0100 @@ -1,5 +1,5 @@ name: vte -version: 0.84.1 -mtime: 1784398642 -commit: f2223e45d7f04c5383c59e76772501f0ed4215bc +version: 0.84.2 +mtime: 1794869228 +commit: 6e8f399d97844a08100e815b1ca15253c3865f1e
