Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ibus-table for openSUSE:Factory checked in at 2023-07-14 15:35:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibus-table (Old) and /work/SRC/openSUSE:Factory/.ibus-table.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus-table" Fri Jul 14 15:35:59 2023 rev:36 rq:1098626 version:1.17.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ibus-table/ibus-table.changes 2023-04-08 17:39:28.898189868 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-table.new.3193/ibus-table.changes 2023-07-14 15:36:06.118096922 +0200 @@ -1,0 +2,10 @@ +Fri Jul 14 06:51:54 UTC 2023 - Hillwood Yang <[email protected]> + +- Update version to 1.17.1 + * Fix mypy warnings + * Return empty program_name and window_title in get_active_window_xprop() when + xprop results are unexpected (Resolves: + https://bugzilla.redhat.com/show_bug.cgi?id=2215466) + * Translation update from Weblate + +------------------------------------------------------------------- @@ -5 +15,2 @@ -- New option commit_invalid_mode: Choose what happens when a character not in valid input characters is typed +- New option commit_invalid_mode: Choose what happens when a character not in + valid input characters is typed @@ -12 +23,2 @@ -- Fix a problem in C/POSIX and invalid locales: Use lower() on LC_MESSAGES only if it is a string and not None +- Fix a problem in C/POSIX and invalid locales: Use lower() on LC_MESSAGES only + if it is a string and not None @@ -20 +32,2 @@ -- Use IBus.PreeditFocusMode.COMMIT and make sure the input is cleared and the UI updated when the focus changes +- Use IBus.PreeditFocusMode.COMMIT and make sure the input is cleared and the UI + updated when the focus changes Old: ---- ibus-table-1.17.0.tar.gz New: ---- ibus-table-1.17.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibus-table.spec ++++++ --- /var/tmp/diff_new_pack.lqmfmJ/_old 2023-07-14 15:36:06.858101226 +0200 +++ /var/tmp/diff_new_pack.lqmfmJ/_new 2023-07-14 15:36:06.862101249 +0200 @@ -17,7 +17,7 @@ Name: ibus-table -Version: 1.17.0 +Version: 1.17.1 Release: 0 Summary: The Table engine for IBus platform License: LGPL-2.1-or-later ++++++ ibus-table-1.17.0.tar.gz -> ibus-table-1.17.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/ChangeLog new/ibus-table-1.17.1/ChangeLog --- old/ibus-table-1.17.0/ChangeLog 2023-04-07 14:35:49.000000000 +0200 +++ new/ibus-table-1.17.1/ChangeLog 2023-07-10 11:33:04.000000000 +0200 @@ -1,4 +1,38 @@ -commit 65952e57609da616ef6a7d38d837fd1a65d383d0 +commit 2f34c9e9a4e32e66ed6ffa5c7246f56b82ae13d6 +Author: Mike FABIAN <[email protected]> +Date: Mon Jul 10 11:07:21 2023 +0200 + + Release 1.17.1 + +commit 0802887fb746ef49bcdabac9776bded06a8fd9fb +Author: Mike FABIAN <[email protected]> +Date: Mon Jul 10 11:28:14 2023 +0200 + + Fix mypy warnings + +commit 9188fa74a5445e0a3763ee5273193dc7147a4a4a +Author: Mike FABIAN <[email protected]> +Date: Mon Jul 10 11:00:28 2023 +0200 + + Return empty program_name and window_title in get_active_window_xprop() when xprop results are unexpected + + Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2215466 + + See also this ibus-typing-booster bug: https://bugzilla.redhat.com/show_bug.cgi?id=2175009 + +commit a39794d39f45e0c4faecef68e757175b0e473d07 +Author: Anonymous <[email protected]> +Date: Tue May 30 08:20:43 2023 +0200 + + Translated using Weblate (Sinhala) + + Currently translated at 10.0% (15 of 150 strings) + + Co-authored-by: Anonymous <[email protected]> + Translate-URL: https://translate.fedoraproject.org/projects/ibus-table/app/si/ + Translation: ibus-table/app + +commit 9c48742c0bf0f443f97d4e46a8447ddf0bfdb1dc Author: Mike FABIAN <[email protected]> Date: Wed Apr 5 11:15:27 2023 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/configure new/ibus-table-1.17.1/configure --- old/ibus-table-1.17.0/configure 2023-04-07 14:49:09.000000000 +0200 +++ new/ibus-table-1.17.1/configure 2023-07-10 11:44:47.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for ibus-table 1.17.0. +# Generated by GNU Autoconf 2.71 for ibus-table 1.17.1. # # Report bugs to <https://github.com/mike-fabian/ibus-table/issues>. # @@ -610,8 +610,8 @@ # Identity of this package. PACKAGE_NAME='ibus-table' PACKAGE_TARNAME='ibus-table' -PACKAGE_VERSION='1.17.0' -PACKAGE_STRING='ibus-table 1.17.0' +PACKAGE_VERSION='1.17.1' +PACKAGE_STRING='ibus-table 1.17.1' PACKAGE_BUGREPORT='https://github.com/mike-fabian/ibus-table/issues' PACKAGE_URL='' @@ -1327,7 +1327,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ibus-table 1.17.0 to adapt to many kinds of systems. +\`configure' configures ibus-table 1.17.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1398,7 +1398,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ibus-table 1.17.0:";; + short | recursive ) echo "Configuration of ibus-table 1.17.1:";; esac cat <<\_ACEOF @@ -1518,7 +1518,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ibus-table configure 1.17.0 +ibus-table configure 1.17.1 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1641,7 +1641,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ibus-table $as_me 1.17.0, which was +It was created by ibus-table $as_me 1.17.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2902,7 +2902,7 @@ # Define the identity of the package. PACKAGE='ibus-table' - VERSION='1.17.0' + VERSION='1.17.1' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -7328,7 +7328,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ibus-table $as_me 1.17.0, which was +This file was extended by ibus-table $as_me 1.17.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7387,7 +7387,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -ibus-table config.status 1.17.0 +ibus-table config.status 1.17.1 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/configure.ac new/ibus-table-1.17.1/configure.ac --- old/ibus-table-1.17.0/configure.ac 2023-04-07 14:28:27.000000000 +0200 +++ new/ibus-table-1.17.1/configure.ac 2023-07-10 11:32:53.000000000 +0200 @@ -25,7 +25,7 @@ m4_define([ibus_released], [1]) m4_define([ibus_major_version], [1]) m4_define([ibus_minor_version], [17]) -m4_define([ibus_micro_version], [0]) +m4_define([ibus_micro_version], [1]) m4_define(ibus_maybe_datestamp, m4_esyscmd([if test ]ibus_released[ != 1; then date +.%Y%m%d | tr -d '\n\r'; fi])) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/engine/it_active_window.py new/ibus-table-1.17.1/engine/it_active_window.py --- old/ibus-table-1.17.0/engine/it_active_window.py 2023-02-04 12:09:59.000000000 +0100 +++ new/ibus-table-1.17.1/engine/it_active_window.py 2023-07-10 11:32:53.000000000 +0200 @@ -104,7 +104,7 @@ self._on_window_deactivate, 'window:deactivate') self._events_registered = True LOGGER.info('AtspiMonitor events registered.') - except Exception as error: + except Exception as error: # pylint: disable=broad-except LOGGER.exception('%s: %s ', error.__class__.__name__, error) @@ -129,7 +129,7 @@ try: self._active_program_name = event.host_application.name self._active_window_title = event.source_name - except Exception as error: + except Exception as error: # pylint: disable=broad-except LOGGER.exception('%s: %s', error.__class__.__name__, error) LOGGER.info('window activated: %s currently active: %s title: %s', self._active_program_name, @@ -142,7 +142,7 @@ program_name = '' try: program_name = event.host_application.name - except Exception as error: + except Exception as error: # pylint: disable=broad-except LOGGER.exception('%s: %s', error.__class__.__name__, error) # There are some windows where the 'window:activate', # 'window:deactivate' signals do not work, for example windows @@ -195,7 +195,7 @@ :return: A tuple (program_name, window_title) giving information about the currently focused window. ''' - global _ACTIVE_WINDOW + global _ACTIVE_WINDOW # pylint: disable=global-statement try: desktop = pyatspi.Registry.getDesktop(0) # pylint: disable=no-value-for-parameter for application in desktop: @@ -205,7 +205,7 @@ if window.get_state_set().contains(pyatspi.STATE_ACTIVE): _ACTIVE_WINDOW = (application.name, window.name) return - except Exception as error: + except Exception as error: # pylint: disable=broad-except LOGGER.exception('%s: %s', error.__class__.__name__, error) _ACTIVE_WINDOW = ('', '') @@ -216,7 +216,7 @@ :return: A tuple (program_name, window_title) giving information about the currently focused window. ''' - global _ACTIVE_WINDOW + global _ACTIVE_WINDOW # pylint: disable=global-statement _ACTIVE_WINDOW = ('', '') if not IMPORT_PYATSPI_SUCCESSFUL: return ('', '') @@ -258,7 +258,10 @@ return (program_name, window_title) # result now looks like in this example: # - # b'_NET_ACTIVE_WINDOW(WINDOW) 0x1e02d79' + # '_NET_ACTIVE_WINDOW(WINDOW) 0x1e02d79' + if len(result.stdout.split()) < 2: + LOGGER.error('Unexpected xprop output for id of active window') + return (program_name, window_title) window_id = result.stdout.split()[-1:][0] if window_id == '0x0': return (program_name, window_title) @@ -274,7 +277,11 @@ return (program_name, window_title) # result now looks like in this example # - # b'WM_CLASS(STRING) = "xfce4-terminal", "Xfce4-terminal"\n' + # 'WM_CLASS(STRING) = "xfce4-terminal", "Xfce4-terminal"\n' + if '=' not in result.stdout or ',' not in result.stdout: + LOGGER.error( + 'Unexpected xprop output for program name of active window') + return (program_name, window_title) program_name = result.stdout.split( '=', maxsplit=1)[1].split(',')[1].strip()[1:-1].lower() try: @@ -289,7 +296,10 @@ return (program_name, window_title) # result now looks like in this example # - # b'_NET_WM_NAME(UTF8_STRING) = "âºfoo = "bar"\n' + # '_NET_WM_NAME(UTF8_STRING) = "âºfoo = "bar"\n' + if '=' not in result.stdout: + LOGGER.error('Unexpected xprop output for title of active window') + return (program_name, window_title) window_title = result.stdout.split('=', maxsplit=1)[1].strip()[1:-1] return (program_name, window_title) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/engine/table.py new/ibus-table-1.17.1/engine/table.py --- old/ibus-table-1.17.0/engine/table.py 2023-04-05 15:51:55.000000000 +0200 +++ new/ibus-table-1.17.1/engine/table.py 2023-07-10 11:32:53.000000000 +0200 @@ -4344,7 +4344,7 @@ LOGGER.debug( 'self._input_purpose = %s (Unknown)', self._input_purpose) - for hint in list(it_util.InputHints): + for hint in it_util.InputHints: if self._input_hints & hint: LOGGER.debug( 'hint: %s %s', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/engine/table.xml.in new/ibus-table-1.17.1/engine/table.xml.in --- old/ibus-table-1.17.0/engine/table.xml.in 2023-04-07 14:49:11.000000000 +0200 +++ new/ibus-table-1.17.1/engine/table.xml.in 2023-07-10 11:44:49.000000000 +0200 @@ -4,7 +4,7 @@ <name>org.freedesktop.IBus.Table</name> <description>Table Component</description> <exec>${libexecdir}/ibus-engine-table --ibus</exec> - <version>1.17.0</version> + <version>1.17.1</version> <author>Yuwei Yu <[email protected]></author> <license>LGPL</license> <homepage>https://github.com/mike-fabian/ibus-table</homepage> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/engine/tabsqlitedb.py new/ibus-table-1.17.1/engine/tabsqlitedb.py --- old/ibus-table-1.17.0/engine/tabsqlitedb.py 2022-05-02 19:42:44.000000000 +0200 +++ new/ibus-table-1.17.1/engine/tabsqlitedb.py 2023-07-10 11:32:53.000000000 +0200 @@ -1488,7 +1488,7 @@ if self._is_chinese and phrase in CHINESE_NOCHECK_CHARS: return if not dynamic_adjust: - if not self.user_can_define_phrase or not self.is_chinese: + if not self.user_can_define_phrase or not self._is_chinese: return tabkeys = self.parse_phrase(phrase) if not tabkeys: @@ -1516,7 +1516,7 @@ tabkeys=tabkeys, phrase=phrase, freq=0, user_freq=1, database='user_db') else: - if not self.user_can_define_phrase or not self.is_chinese: + if not self.user_can_define_phrase or not self._is_chinese: return tabkeys = self.parse_phrase(phrase) if not tabkeys: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/engine/version.py new/ibus-table-1.17.1/engine/version.py --- old/ibus-table-1.17.0/engine/version.py 2023-04-07 14:49:11.000000000 +0200 +++ new/ibus-table-1.17.1/engine/version.py 2023-07-10 11:44:49.000000000 +0200 @@ -24,4 +24,4 @@ ''' Returns the current version number of ibus-table. ''' - return '1.17.0' + return '1.17.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/ibus-table.appdata.xml new/ibus-table-1.17.1/ibus-table.appdata.xml --- old/ibus-table-1.17.0/ibus-table.appdata.xml 2023-04-07 14:47:28.000000000 +0200 +++ new/ibus-table-1.17.1/ibus-table.appdata.xml 2023-07-10 11:32:53.000000000 +0200 @@ -38,6 +38,30 @@ <url type="translate">https://translate.fedoraproject.org/projects/ibus-table/</url> <content_rating type="oars-1.1" /> <releases> + <release version="1.17.1" date="2023-07-10" urgency="medium"> + <url>https://github.com/mike-fabian/ibus-table/releases/tag/1.17.1</url> + <description> + <p>This new stable release includes these changes:</p> + <ul> + <li> + Fix mypy warnings + </li> + <li> + Return empty program_name and window_title in + get_active_window_xprop() when xprop results are + unexpected (Resolves: rhbz#2215466) + </li> + <li> + Translation update from Weblate (si 10.0%) + </li> + </ul> + </description> + <issues> + <issue url="https://bugzilla.redhat.com/show_bug.cgi?id=2215466"> + rhbz#2215466 + </issue> + </issues> + </release> <release version="1.17.0" date="2023-04-07" urgency="medium"> <url>https://github.com/mike-fabian/ibus-table/releases/tag/1.17.0</url> <description> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/ibus-table.spec new/ibus-table-1.17.1/ibus-table.spec --- old/ibus-table-1.17.0/ibus-table.spec 2023-04-07 14:49:11.000000000 +0200 +++ new/ibus-table-1.17.1/ibus-table.spec 2023-07-10 11:44:49.000000000 +0200 @@ -1,5 +1,5 @@ Name: ibus-table -Version: 1.17.0 +Version: 1.17.1 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -90,5 +90,5 @@ %{_datadir}/ibus/engine/latex.engine %changelog -* Wed Aug 19 2008 Yu Yuwei <[email protected]> - 1.17.0-1 +* Wed Aug 19 2008 Yu Yuwei <[email protected]> - 1.17.1-1 - The first version. Binary files old/ibus-table-1.17.0/po/si.gmo and new/ibus-table-1.17.1/po/si.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/po/si.po new/ibus-table-1.17.1/po/si.po --- old/ibus-table-1.17.0/po/si.po 2023-04-05 13:42:09.000000000 +0200 +++ new/ibus-table-1.17.1/po/si.po 2023-07-10 11:44:52.000000000 +0200 @@ -7,7 +7,7 @@ "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://github.com/mike-fabian/ibus-table/issues\n" "POT-Creation-Date: 2023-04-05 10:41+0200\n" -"PO-Revision-Date: 2021-08-26 12:04+0000\n" +"PO-Revision-Date: 2023-05-30 06:20+0000\n" "Last-Translator: Anonymous <[email protected]>\n" "Language-Team: Sinhala <https://translate.fedoraproject.org/projects/ibus-" "table/app/si/>\n" @@ -16,7 +16,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.8\n" +"X-Generator: Weblate 4.17\n" #. Translators: This is the menu entry to select #. when one wants to input only Simplified Chinese. @@ -126,11 +126,11 @@ #: engine/table.py:775 msgid "Input mode" -msgstr "" +msgstr "à¶à¶¯à·à¶± à¶à·âරමය" #: engine/table.py:776 msgid "Switch Input mode" -msgstr "" +msgstr "à¶à¶¯à·à¶± à¶à·âරමය මà·à¶»à·à·" #. Translators: This is the mode to use half width letters #. while in âTable inputâ mode. @@ -356,7 +356,7 @@ #: setup/main.py:129 setup/main.py:189 msgid "Preferences" -msgstr "" +msgstr "à¶ à¶·à·à¶´à·âà¶»à·à¶" #: setup/main.py:212 msgid "About" @@ -567,11 +567,11 @@ #: setup/main.py:647 msgid "Horizontal" -msgstr "" +msgstr "à¶à·à¶»à·à·" #: setup/main.py:649 msgid "Vertical" -msgstr "" +msgstr "à·à·à¶»à·à·" #: setup/main.py:651 msgid "System default" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-table-1.17.0/setup/version.py new/ibus-table-1.17.1/setup/version.py --- old/ibus-table-1.17.0/setup/version.py 2023-04-07 14:49:11.000000000 +0200 +++ new/ibus-table-1.17.1/setup/version.py 2023-07-10 11:44:49.000000000 +0200 @@ -24,4 +24,4 @@ ''' Returns the current version number of ibus-table. ''' - return '1.17.0' + return '1.17.1'
