Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vte for openSUSE:Factory checked in at 2023-04-18 15:52:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vte (Old) and /work/SRC/openSUSE:Factory/.vte.new.2023 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vte" Tue Apr 18 15:52:23 2023 rev:145 rq:1079949 version:0.72.1 Changes: -------- --- /work/SRC/openSUSE:Factory/vte/vte.changes 2023-03-24 15:17:42.098035795 +0100 +++ /work/SRC/openSUSE:Factory/.vte.new.2023/vte.changes 2023-04-18 15:52:25.861260567 +0200 @@ -1,0 +2,12 @@ +Sun Apr 16 13:30:24 UTC 2023 - bjorn....@gmail.com + +- Update to version 0.72.1: + + emulation: Fix invalid mouse scroll event on window edge + + widget: + - Fix compilation + - Fix setting clipboard with html data + - Fix introspection warnings + - Fix cursor blink timeout + + Updated translations. + +------------------------------------------------------------------- Old: ---- vte-0.72.0.obscpio New: ---- vte-0.72.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.WSXdiw/_old 2023-04-18 15:52:26.453263976 +0200 +++ /var/tmp/diff_new_pack.WSXdiw/_new 2023-04-18 15:52:26.461264022 +0200 @@ -27,7 +27,7 @@ %bcond_with glade_support Name: vte -Version: 0.72.0 +Version: 0.72.1 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.WSXdiw/_old 2023-04-18 15:52:26.513264322 +0200 +++ /var/tmp/diff_new_pack.WSXdiw/_new 2023-04-18 15:52:26.517264345 +0200 @@ -5,7 +5,7 @@ <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> - <param name="revision">refs/tags/0.72.0</param> + <param name="revision">refs/tags/0.72.1</param> <param name="exclude">doc/vttest.*</param> </service> <service name="tar" mode="buildtime" /> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.WSXdiw/_old 2023-04-18 15:52:26.541264483 +0200 +++ /var/tmp/diff_new_pack.WSXdiw/_new 2023-04-18 15:52:26.553264552 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/vte.git</param> - <param name="changesrevision">164c0f1eb5165786e0addfe5317cf6de3061ddf9</param></service></servicedata> + <param name="changesrevision">e86822b8b7013f96f3b3d2d86839395492cb1470</param></service></servicedata> (No newline at EOF) ++++++ vte-0.72.0.obscpio -> vte-0.72.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/meson.build new/vte-0.72.1/meson.build --- old/vte-0.72.0/meson.build 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/meson.build 2023-04-13 11:57:27.000000000 +0200 @@ -17,7 +17,7 @@ project( 'vte', ['c', 'cpp'], - version: '0.72.0', + version: '0.72.1', 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.72.0/po/bg.po new/vte-0.72.1/po/bg.po --- old/vte-0.72.0/po/bg.po 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/po/bg.po 2023-04-13 11:57:27.000000000 +0200 @@ -1,9 +1,9 @@ # Bulgarian translation of vte po-file. # Copyright (C) 2002, 2007, 2007, 2010, 2014, 2017 Free Software Foundation, Inc. -# Copyright (C) 2021 Alexander Shopov. +# Copyright (C) 2021, 2023 Alexander Shopov. # This file is distributed under the same license as the vte package. # Alexander Shopov <a...@kambanaria.org>, 2002, 2007, 2010, 2014, 2017. -# Alexander Shopov <a...@kambanaria.org>, 2021. +# Alexander Shopov <a...@kambanaria.org>, 2021, 2023. # Vladimir "Kaladan" Petkov <vpet...@i-space.org>, 2005. # Yavor Doganov <ya...@doganov.org>, 2005. # @@ -50,7 +50,7 @@ #: src/spawn.cc:190 #, c-format msgid "Failed to read from child pipe (%s)" -msgstr "ÐÑеÑка пÑи ÑеÑене Ð¾Ñ Ð´ÑÑеÑÐ½Ð¸Ñ Ð¿ÑоÑÐµÑ (%s)" +msgstr "ÐеÑÑпеÑно ÑеÑене Ð¾Ñ Ð´ÑÑеÑен канал (%s)" #: src/spawn.cc:620 #, c-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/src/clipboard-gtk.cc new/vte-0.72.1/src/clipboard-gtk.cc --- old/vte-0.72.0/src/clipboard-gtk.cc 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/src/clipboard-gtk.cc 2023-04-13 11:57:27.000000000 +0200 @@ -113,19 +113,22 @@ break; case ClipboardFormat::HTML: { - auto const type = gtk_selection_data_get_data_type(data); + auto const target = gtk_selection_data_get_target(data); - if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF8)) { + if (target == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF8)) { // This makes yet another copy of the data... :( - gtk_selection_data_set_text(data, str->data(), str->size()); - } else if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) { + gtk_selection_data_set(data, + target, + 8, + reinterpret_cast<guchar const*>(str->data()), + str->size()); + } else if (target == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) { auto [html, len] = text_to_utf16_mozilla(*str); // This makes yet another copy of the data... :( if (html) { gtk_selection_data_set(data, - gtk_selection_data_get_target(data), - // or gdk_atom_intern_static_string("text/html"), + target, 16, reinterpret_cast<guchar const*>(html.get()), len); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/src/vte.cc new/vte-0.72.1/src/vte.cc --- old/vte-0.72.0/src/vte.cc 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/src/vte.cc 2023-04-13 11:57:27.000000000 +0200 @@ -840,19 +840,20 @@ Terminal::cursor_blink_timer_callback() { m_cursor_blink_state = !m_cursor_blink_state; - m_cursor_blink_time += m_cursor_blink_cycle; + m_cursor_blink_time_ms += m_cursor_blink_cycle_ms; invalidate_cursor_once(true); /* only disable the blink if the cursor is currently shown. * else, wait until next time. */ - if (m_cursor_blink_time / 1000 >= m_cursor_blink_timeout && + if (m_cursor_blink_time_ms >= m_cursor_blink_timeout_ms && m_cursor_blink_state) { return false; } - m_cursor_blink_timer.schedule(m_cursor_blink_cycle, vte::glib::Timer::Priority::eLOW); + m_cursor_blink_timer.schedule(m_cursor_blink_cycle_ms, + vte::glib::Timer::Priority::eLOW); return false; } @@ -4471,8 +4472,9 @@ if (m_cursor_blink_timer) return; /* already added */ - m_cursor_blink_time = 0; - m_cursor_blink_timer.schedule(m_cursor_blink_cycle, vte::glib::Timer::Priority::eLOW); + m_cursor_blink_time_ms = 0; + m_cursor_blink_timer.schedule(m_cursor_blink_cycle_ms, + vte::glib::Timer::Priority::eLOW); } void @@ -7901,17 +7903,17 @@ void Terminal::set_blink_settings(bool blink, - int blink_time, - int blink_timeout) noexcept + int blink_time_ms, + int blink_timeout_ms) noexcept { m_cursor_blinks = m_cursor_blinks_system = blink; - m_cursor_blink_cycle = std::max(blink_time / 2, VTE_MIN_CURSOR_BLINK_CYCLE); - m_cursor_blink_timeout = std::max(blink_timeout, VTE_MIN_CURSOR_BLINK_TIMEOUT); + m_cursor_blink_cycle_ms = std::max(blink_time_ms / 2, VTE_MIN_CURSOR_BLINK_CYCLE); + m_cursor_blink_timeout_ms = std::max(blink_timeout_ms, VTE_MIN_CURSOR_BLINK_TIMEOUT); update_cursor_blinks(); /* Misuse gtk-cursor-blink-time for text blinking as well. This might change in the future. */ - m_text_blink_cycle = m_cursor_blink_cycle; + m_text_blink_cycle_ms = m_cursor_blink_cycle_ms; if (m_text_blink_timer) { /* The current phase might have changed, and an already installed * timer to blink might fire too late. So remove the timer and @@ -9247,7 +9249,7 @@ int allocated_width, allocated_height; int extra_area_for_cursor; bool text_blink_enabled_now; - gint64 now = 0; + auto now_ms = int64_t{0}; allocated_width = get_allocated_width(); allocated_height = get_allocated_height(); @@ -9293,8 +9295,8 @@ m_text_blink_state = true; text_blink_enabled_now = (unsigned)m_text_blink_mode & (unsigned)(m_has_focus ? TextBlinkMode::eFOCUSED : TextBlinkMode::eUNFOCUSED); if (text_blink_enabled_now) { - now = g_get_monotonic_time() / 1000; - if (now % (m_text_blink_cycle * 2) >= m_text_blink_cycle) + now_ms = g_get_monotonic_time() / 1000; + if (now_ms % (m_text_blink_cycle_ms * 2) >= m_text_blink_cycle_ms) m_text_blink_state = false; } /* Painting will flip this if it encounters any cell with blink attribute */ @@ -9345,7 +9347,7 @@ * implicitly by the timer not getting reinstalled anymore (often after a final unnecessary but * harmless repaint). */ if (G_UNLIKELY (m_text_to_blink && text_blink_enabled_now && !m_text_blink_timer)) - m_text_blink_timer.schedule(m_text_blink_cycle - now % m_text_blink_cycle, + m_text_blink_timer.schedule(m_text_blink_cycle_ms - now_ms % m_text_blink_cycle_ms, vte::glib::Timer::Priority::eLOW); m_invalidated_all = FALSE; @@ -9417,7 +9419,7 @@ cnt = -cnt; for (i = 0; i < cnt; i++) { /* Encode the parameters and send them to the app. */ - feed_mouse_event(grid_coords_from_view_coords(m_mouse_last_position), + feed_mouse_event(confined_grid_coords_from_view_coords(m_mouse_last_position), button, false /* not drag */, false /* not release */); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/src/vtegtk.cc new/vte-0.72.1/src/vtegtk.cc --- old/vte-0.72.0/src/vtegtk.cc 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/src/vtegtk.cc 2023-04-13 11:57:27.000000000 +0200 @@ -4362,7 +4362,7 @@ * @start_col: the first column of the range * @end_row: the last row of the range * @end_col: the last column of the range - * @length: (optional) (default 0) (out): a pointer to a #gsize to store the string length + * @length: (optional) (out): a pointer to a #gsize to store the string length * * Returns the specified range of text in the specified format. * @@ -5779,7 +5779,7 @@ * vte_terminal_get_text_selected_full: * @terminal: a #VteTerminal * @format: the #VteFormat to use - * @length: (optional) (default 0) (out): a pointer to a #gsize to store the string length + * @length: (optional) (out): a pointer to a #gsize to store the string length * * Gets the currently selected text in the format specified by @format. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/src/vteinternal.hh new/vte-0.72.1/src/vteinternal.hh --- old/vte-0.72.0/src/vteinternal.hh 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/src/vteinternal.hh 2023-04-13 11:57:27.000000000 +0200 @@ -462,9 +462,9 @@ bool m_cursor_blink_state{false}; bool m_cursor_blinks{false}; /* whether the cursor is actually blinking */ bool m_cursor_blinks_system{true}; /* gtk-cursor-blink */ - gint m_cursor_blink_cycle{1000}; /* gtk-cursor-blink-time / 2 */ - int m_cursor_blink_timeout{500}; /* gtk-cursor-blink-timeout */ - gint64 m_cursor_blink_time; /* how long the cursor has been blinking yet */ + int m_cursor_blink_cycle_ms{1000}; /* gtk-cursor-blink-time / 2 */ + int m_cursor_blink_timeout_ms{500}; /* gtk-cursor-blink-timeout */ + int64_t m_cursor_blink_time_ms; /* how long the cursor has been blinking yet */ bool m_has_focus{false}; /* is the widget focused */ /* Contents blinking */ @@ -475,7 +475,7 @@ bool m_text_blink_state{false}; /* whether blinking text should be visible at this very moment */ bool m_text_to_blink{false}; /* drawing signals here if it encounters any cell with blink attribute */ TextBlinkMode m_text_blink_mode{TextBlinkMode::eALWAYS}; - gint m_text_blink_cycle; /* gtk-cursor-blink-time / 2 */ + int m_text_blink_cycle_ms; /* gtk-cursor-blink-time / 2 */ /* DECSCUSR cursor style (shape and blinking possibly overridden * via escape sequence) */ @@ -922,8 +922,8 @@ #endif /* VTE_GTK */ void set_blink_settings(bool blink, - int blink_time, - int blink_timeout) noexcept; + int blink_time_ms, + int blink_timeout_ms) noexcept; void draw(cairo_t *cr, cairo_region_t const* region) noexcept; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.72.0/src/widget.cc new/vte-0.72.1/src/widget.cc --- old/vte-0.72.0/src/widget.cc 2023-03-11 11:19:11.000000000 +0100 +++ new/vte-0.72.1/src/widget.cc 2023-04-13 11:57:27.000000000 +0200 @@ -1861,15 +1861,15 @@ Widget::settings_changed() { auto blink = gboolean{}; - auto blink_time = int{}; - auto blink_timeout = int{}; + auto blink_time_ms = int{}; + auto blink_timeout_s = int{}; #if VTE_GTK == 4 auto aspect = double{}; #endif g_object_get(m_settings.get(), "gtk-cursor-blink", &blink, - "gtk-cursor-blink-time", &blink_time, - "gtk-cursor-blink-timeout", &blink_timeout, + "gtk-cursor-blink-time", &blink_time_ms, + "gtk-cursor-blink-timeout", &blink_timeout_s, #if VTE_GTK == 4 "gtk-cursor-aspect-ratio", &aspect, #endif @@ -1877,9 +1877,9 @@ _vte_debug_print(VTE_DEBUG_MISC, "Cursor blinking settings: blink=%d time=%d timeout=%d\n", - blink, blink_time, blink_timeout); + blink, blink_time_ms, blink_timeout_s * 1000); - m_terminal->set_blink_settings(blink, blink_time, blink_timeout); + m_terminal->set_blink_settings(blink, blink_time_ms, blink_timeout_s * 1000); #if VTE_GTK == 4 m_terminal->set_cursor_aspect(aspect); ++++++ vte.obsinfo ++++++ --- /var/tmp/diff_new_pack.WSXdiw/_old 2023-04-18 15:52:26.841266210 +0200 +++ /var/tmp/diff_new_pack.WSXdiw/_new 2023-04-18 15:52:26.845266234 +0200 @@ -1,5 +1,5 @@ name: vte -version: 0.72.0 -mtime: 1678529951 -commit: 164c0f1eb5165786e0addfe5317cf6de3061ddf9 +version: 0.72.1 +mtime: 1681379847 +commit: e86822b8b7013f96f3b3d2d86839395492cb1470