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-01-15 19:44:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vte (Old) and /work/SRC/openSUSE:Factory/.vte.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vte" Fri Jan 15 19:44:44 2021 rev:126 rq:862314 version:0.62.2 Changes: -------- --- /work/SRC/openSUSE:Factory/vte/vte.changes 2020-11-23 10:53:05.566758443 +0100 +++ /work/SRC/openSUSE:Factory/.vte.new.28504/vte.changes 2021-01-15 19:44:55.909906014 +0100 @@ -1,0 +2,19 @@ +Sat Jan 09 21:41:54 UTC 2021 - bjorn....@gmail.com + +- Update to version 0.62.2: + + widget: + - Limit select-all to the writable region not including the + scrollback + - Fix idle child-exited signal after dispose + + app: + - Fix search next/prev button sensitivity + - Fix background image drawing + + lib: + - desc is not a smart pointer in 0.62 + - Fix unused variable warning when not using getrlimit + - Use sysconf on macos to get the upper limit of number of FDs + - Sanitise the passed-in font description + - Add missing nullable annotation to spawn child setup + functions + +------------------------------------------------------------------- Old: ---- vte-0.62.1.tar.xz New: ---- vte-0.62.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.0VLU7h/_old 2021-01-15 19:44:56.473906854 +0100 +++ /var/tmp/diff_new_pack.0VLU7h/_new 2021-01-15 19:44:56.477906859 +0100 @@ -1,7 +1,7 @@ # # spec file for package vte # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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.62.1 +Version: 0.62.2 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.0VLU7h/_old 2021-01-15 19:44:56.509906907 +0100 +++ /var/tmp/diff_new_pack.0VLU7h/_new 2021-01-15 19:44:56.513906913 +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.62.1</param> + <param name="revision">refs/tags/0.62.2</param> <param name="exclude">doc/vttest.*</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.0VLU7h/_old 2021-01-15 19:44:56.533906943 +0100 +++ /var/tmp/diff_new_pack.0VLU7h/_new 2021-01-15 19:44:56.537906949 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/vte.git</param> - <param name="changesrevision">62c4908953e3fea8e0771fa82212462157d46d4f</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">73713ec0644e232fb740170e399282be778d97f9</param></service></servicedata> \ No newline at end of file ++++++ vte-0.62.1.tar.xz -> vte-0.62.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.62.1/meson.build new/vte-0.62.2/meson.build --- old/vte-0.62.1/meson.build 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/meson.build 2020-12-26 14:01:28.000000000 +0100 @@ -17,7 +17,7 @@ project( 'vte', ['c', 'cpp'], - version: '0.62.1', + version: '0.62.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.62.1/src/app/app.cc new/vte-0.62.2/src/app/app.cc --- old/vte-0.62.1/src/app/app.cc 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/src/app/app.cc 2020-12-26 14:01:28.000000000 +0100 @@ -452,6 +452,17 @@ return alpha; } + double get_alpha_bg_for_draw() const + { + double alpha; + if (whole_window_transparent) + alpha = 1.0; + else + alpha = get_alpha(); + + return alpha; + } + GdkRGBA get_color_bg() const { GdkRGBA color{bg_color}; @@ -812,12 +823,12 @@ vte_regex_unref(regex); if (error.error()) { - popover->has_regex = true; + popover->has_regex = false; popover->regex_pattern = pattern; /* adopt */ pattern = nullptr; /* adopted */ gtk_widget_set_tooltip_text(popover->search_entry, nullptr); } else { - popover->has_regex = false; + popover->has_regex = true; gtk_widget_set_tooltip_text(popover->search_entry, error.message()); } } @@ -1035,7 +1046,7 @@ cairo_paint(cr); cairo_pop_group_to_source(cr); - cairo_paint_with_alpha(cr, bg.alpha); + cairo_paint_with_alpha(cr, options.get_alpha_bg_for_draw()); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.62.1/src/missing.cc new/vte-0.62.2/src/missing.cc --- old/vte-0.62.1/src/missing.cc 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/src/missing.cc 2020-12-26 14:01:28.000000000 +0100 @@ -90,16 +90,21 @@ getrlimit_NOFILE_max(void) { #ifdef HAVE_SYS_RESOURCE_H +#ifdef __linux__ +{ struct rlimit rlim; -#ifdef __linux__ if (prlimit(0 /* this PID */, RLIMIT_NOFILE, nullptr, &rlim) == 0) return rlim.rlim_max; return RLIM_INFINITY; +} #endif /* __linux__ */ #ifdef __GLIBC__ +{ + struct rlimit rlim; + /* Use getrlimit() function provided by the system if it is known to be * async-signal safe. * @@ -107,13 +112,14 @@ */ if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) return rlim.rlim_max; +} /* fallback */ -#endif +#endif /* __GLIBC__ */ #endif /* HAVE_SYS_RESOURCE_H */ -#if defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) /* Use sysconf() function provided by the system if it is known to be * async-signal safe. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.62.1/src/vte.cc new/vte-0.62.2/src/vte.cc --- old/vte-0.62.1/src/vte.cc 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/src/vte.cc 2020-12-26 14:01:28.000000000 +0100 @@ -784,12 +784,17 @@ static gboolean emit_eof_idle_cb(VteTerminal *terminal) +try { _vte_terminal_get_impl(terminal)->emit_eof(); - // @terminal might be destroyed at this point return G_SOURCE_REMOVE; } +catch (...) +{ + vte::log_exception(); + return G_SOURCE_REMOVE; +} void Terminal::queue_eof() @@ -814,12 +819,17 @@ static gboolean emit_child_exited_idle_cb(VteTerminal *terminal) +try { _vte_terminal_get_impl(terminal)->emit_child_exited(); - // @terminal might be destroyed at this point return G_SOURCE_REMOVE; } +catch (...) +{ + vte::log_exception(); + return G_SOURCE_REMOVE; +} /* Emit a "child-exited" signal on idle, so that if the handler destroys * the terminal, we're not deep within terminal code callstack @@ -6709,7 +6719,10 @@ /* * Terminal::select_all: * - * Selects all text within the terminal (including the scrollback buffer). + * Selects all text within the terminal. Note that we only select the writable + * region, *not* the scrollback buffer, due to this potentially selecting so + * much data that putting it on the clipboard either hangs the process for a long + * time or even crash it directly. (FIXME!) */ void Terminal::select_all() @@ -6718,8 +6731,8 @@ m_selecting_had_delta = TRUE; - m_selection_resolved.set ({ _vte_ring_delta (m_screen->row_data), 0 }, - { _vte_ring_next (m_screen->row_data), 0 }); + m_selection_resolved.set({m_screen->insert_delta, 0}, + {_vte_ring_next(m_screen->row_data), 0}); _vte_debug_print(VTE_DEBUG_SELECTION, "Selecting *all* text.\n"); @@ -7327,6 +7340,14 @@ "Using default monospace font.\n"); } + /* Sanitise the font description. Style and weight need to be default here, + * since those are set via SGR attributes; and gravity makes no sense in vte. + */ + pango_font_description_unset_fields(desc, + PangoFontMask(PANGO_FONT_MASK_GRAVITY | + PANGO_FONT_MASK_STYLE | + PANGO_FONT_MASK_WEIGHT)); + bool const same_desc = m_unscaled_font_desc && pango_font_description_equal(m_unscaled_font_desc.get(), desc); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.62.1/src/vtegtk.cc new/vte-0.62.2/src/vtegtk.cc --- old/vte-0.62.1/src/vtegtk.cc 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/src/vtegtk.cc 2020-12-26 14:01:28.000000000 +0100 @@ -2095,7 +2095,6 @@ #endif " " #ifdef __linux__ - " " #ifdef WITH_SYSTEMD "+SYSTEMD" #else @@ -3364,8 +3363,8 @@ * @n_map_fds: the number of elements in @map_fds, or 0 if @map_fds is %NULL * @spawn_flags: flags from #GSpawnFlags * @child_setup: (allow-none) (scope async): an extra child setup function to run in the child just before exec(), or %NULL - * @child_setup_data: (closure child_setup): user data for @child_setup, or %NULL - * @child_setup_data_destroy: (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL + * @child_setup_data: (nullable) (closure child_setup): user data for @child_setup, or %NULL + * @child_setup_data_destroy: (nullable) (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL * @timeout: a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely * @cancellable: (allow-none): a #GCancellable, or %NULL * @callback: (nullable) (scope async): a #VteTerminalSpawnAsyncCallback, or %NULL @@ -3479,8 +3478,8 @@ * variables to be added to the environment before starting the process, or %NULL * @spawn_flags: flags from #GSpawnFlags * @child_setup: (allow-none) (scope async): an extra child setup function to run in the child just before exec(), or %NULL - * @child_setup_data: (closure child_setup): user data for @child_setup, or %NULL - * @child_setup_data_destroy: (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL + * @child_setup_data: (nullable) (closure child_setup): user data for @child_setup, or %NULL + * @child_setup_data_destroy: (nullable) (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL * @timeout: a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely * @cancellable: (allow-none): a #GCancellable, or %NULL * @callback: (nullable) (scope async): a #VteTerminalSpawnAsyncCallback, or %NULL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vte-0.62.1/src/vtepty.cc new/vte-0.62.2/src/vtepty.cc --- old/vte-0.62.1/src/vtepty.cc 2020-10-03 14:15:37.000000000 +0200 +++ new/vte-0.62.2/src/vtepty.cc 2020-12-26 14:01:28.000000000 +0100 @@ -731,8 +731,8 @@ * @n_map_fds: the number of elements in @map_fds, or 0 if @map_fds is %NULL * @spawn_flags: flags from #GSpawnFlags * @child_setup: (allow-none) (scope async): an extra child setup function to run in the child just before exec(), or %NULL - * @child_setup_data: (closure child_setup): user data for @child_setup, or %NULL - * @child_setup_data_destroy: (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL + * @child_setup_data: (nullable) (closure child_setup): user data for @child_setup, or %NULL + * @child_setup_data_destroy: (nullable) (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL * @timeout: a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely * @cancellable: (allow-none): a #GCancellable, or %NULL * @callback: (nullable) (scope async): a #GAsyncReadyCallback, or %NULL @@ -850,8 +850,8 @@ * variables to be added to the environment before starting the process, or %NULL * @spawn_flags: flags from #GSpawnFlags * @child_setup: (allow-none) (scope async): an extra child setup function to run in the child just before exec(), or %NULL - * @child_setup_data: (closure child_setup): user data for @child_setup, or %NULL - * @child_setup_data_destroy: (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL + * @child_setup_data: (nullable) (closure child_setup): user data for @child_setup, or %NULL + * @child_setup_data_destroy: (nullable) (destroy child_setup_data): a #GDestroyNotify for @child_setup_data, or %NULL * @timeout: a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely * @cancellable: (allow-none): a #GCancellable, or %NULL * @callback: (nullable) (scope async): a #GAsyncReadyCallback, or %NULL