Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ibus-m17n for openSUSE:Factory 
checked in at 2023-08-04 15:03:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-m17n (Old)
 and      /work/SRC/openSUSE:Factory/.ibus-m17n.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibus-m17n"

Fri Aug  4 15:03:59 2023 rev:33 rq:1102259 version:1.4.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-m17n/ibus-m17n.changes      2023-02-22 
15:21:32.845847973 +0100
+++ /work/SRC/openSUSE:Factory/.ibus-m17n.new.22712/ibus-m17n.changes   
2023-08-04 15:04:19.168615685 +0200
@@ -1,0 +2,9 @@
+Fri Aug  4 04:26:10 UTC 2023 - Gordon Leung <[email protected]>
+
+- Update to 1.4.20
+ * Reduce preedit flicker
+ * Remove xml:lang="en" from the screenshot in appdata.xml
+ * Use ibus_text_new_from_string (string) instead of 
ibus_text_new_from_static_string (string) in ibus_m17n_engine_commit_string()
+ * Add missing g_free (buf) in ibus_m17n_mtext_to_utf8()
+
+-------------------------------------------------------------------

Old:
----
  ibus-m17n-1.4.19.tar.gz

New:
----
  ibus-m17n-1.4.20.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ibus-m17n.spec ++++++
--- /var/tmp/diff_new_pack.JtK5XL/_old  2023-08-04 15:04:19.700619000 +0200
+++ /var/tmp/diff_new_pack.JtK5XL/_new  2023-08-04 15:04:19.704619026 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           ibus-m17n
-Version:        1.4.19
+Version:        1.4.20
 Release:        0
 Summary:        The M17N engine for IBus platform
 License:        GPL-2.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.JtK5XL/_old  2023-08-04 15:04:19.740619249 +0200
+++ /var/tmp/diff_new_pack.JtK5XL/_new  2023-08-04 15:04:19.740619249 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/ibus/ibus-m17n</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="scm">git</param>
-    <param name="revision">1.4.19</param>
+    <param name="revision">1.4.20</param>
     <param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param>
     <param name="versionrewrite-replacement">\1</param>
   </service>

++++++ ibus-m17n-1.4.19.tar.gz -> ibus-m17n-1.4.20.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/configure 
new/ibus-m17n-1.4.20/configure
--- old/ibus-m17n-1.4.19/configure      2023-02-19 13:03:14.000000000 +0100
+++ new/ibus-m17n-1.4.20/configure      2023-08-01 21:53:32.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-m17n 1.4.19.
+# Generated by GNU Autoconf 2.71 for ibus-m17n 1.4.20.
 #
 # Report bugs to <http://code.google.com/p/ibus/issues/entry>.
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='ibus-m17n'
 PACKAGE_TARNAME='ibus-m17n'
-PACKAGE_VERSION='1.4.19'
-PACKAGE_STRING='ibus-m17n 1.4.19'
+PACKAGE_VERSION='1.4.20'
+PACKAGE_STRING='ibus-m17n 1.4.20'
 PACKAGE_BUGREPORT='http://code.google.com/p/ibus/issues/entry'
 PACKAGE_URL=''
 
@@ -1416,7 +1416,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-m17n 1.4.19 to adapt to many kinds of systems.
+\`configure' configures ibus-m17n 1.4.20 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1487,7 +1487,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ibus-m17n 1.4.19:";;
+     short | recursive ) echo "Configuration of ibus-m17n 1.4.20:";;
    esac
   cat <<\_ACEOF
 
@@ -1623,7 +1623,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ibus-m17n configure 1.4.19
+ibus-m17n configure 1.4.20
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2046,7 +2046,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-m17n $as_me 1.4.19, which was
+It was created by ibus-m17n $as_me 1.4.20, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3534,7 +3534,7 @@
 
 # Define the identity of the package.
  PACKAGE='ibus-m17n'
- VERSION='1.4.19'
+ VERSION='1.4.20'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -5106,9 +5106,9 @@
 
 # define PACKAGE_VERSION_* variables
 
-  PACKAGE_VERSION_MAJOR=$(echo 1.4.19 | cut -d'.' -f1)
-  PACKAGE_VERSION_MINOR=$(echo 1.4.19 | cut -d'.' -f2)
-  PACKAGE_VERSION_MICRO=$(echo 1.4.19 | cut -d'.' -f3)
+  PACKAGE_VERSION_MAJOR=$(echo 1.4.20 | cut -d'.' -f1)
+  PACKAGE_VERSION_MINOR=$(echo 1.4.20 | cut -d'.' -f2)
+  PACKAGE_VERSION_MICRO=$(echo 1.4.20 | cut -d'.' -f3)
 
 
 
@@ -5118,7 +5118,7 @@
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
 printf %s "checking nano version... " >&6; }
 
-  NANO=$(echo 1.4.19 | cut -d'.' -f4)
+  NANO=$(echo 1.4.20 | cut -d'.' -f4)
 
   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
@@ -21463,7 +21463,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by ibus-m17n $as_me 1.4.19, which was
+This file was extended by ibus-m17n $as_me 1.4.20, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -21531,7 +21531,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-ibus-m17n config.status 1.4.19
+ibus-m17n config.status 1.4.20
 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-m17n-1.4.19/configure.ac 
new/ibus-m17n-1.4.20/configure.ac
--- old/ibus-m17n-1.4.19/configure.ac   2023-02-19 12:59:17.000000000 +0100
+++ new/ibus-m17n-1.4.20/configure.ac   2023-08-01 21:53:05.000000000 +0200
@@ -22,7 +22,7 @@
 m4_define([ibus_released], [1])
 m4_define([ibus_major_version], [1])
 m4_define([ibus_minor_version], [4])
-m4_define([ibus_micro_version], [19])
+m4_define([ibus_micro_version], [20])
 m4_define(ibus_maybe_datestamp,
     m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d 
'\n\r'; fi]))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/m17n.appdata.xml 
new/ibus-m17n-1.4.20/m17n.appdata.xml
--- old/ibus-m17n-1.4.19/m17n.appdata.xml       2023-02-19 13:01:37.000000000 
+0100
+++ new/ibus-m17n-1.4.20/m17n.appdata.xml       2023-08-01 21:53:05.000000000 
+0200
@@ -17,7 +17,7 @@
   </keywords>
   <screenshots>
     <screenshot type="default">
-      <image type="source" xml:lang="en">
+      <image type="source">
         
https://raw.githubusercontent.com/ibus/ibus-m17n/main/screenshots/hi-itrans-screenshot.png
       </image>
       <caption>ibus-m17n screenshot</caption>
@@ -34,6 +34,34 @@
   <url 
type="translate">https://translate.fedoraproject.org/projects/ibus-m17n/</url>
   <content_rating type="oars-1.1" />
   <releases>
+    <release version="1.4.20" date="2023-07-30" urgency="medium">
+      <url>https://github.com/ibus/ibus-m17n/releases/tag/1.4.20</url>
+      <description>
+        <p>This new stable release includes these changes:</p>
+        <ul>
+          <li>
+            Reduce preedit flicker (Resolves: github-ibus-issues#2536)
+          </li>
+          <li>
+            Remove `xml:lang="en"` from the screenshot in appdata.xml
+            (There must be one image in the default locale, and there
+            can be some translated ones, but having only translated
+            images is not okay).
+          </li>
+          <li>
+            Use ibus_text_new_from_string (string) instead of 
ibus_text_new_from_static_string (string) in ibus_m17n_engine_commit_string()
+          </li>
+          <li>
+            Add missing g_free (buf) in ibus_m17n_mtext_to_utf8()
+          </li>
+        </ul>
+      </description>
+      <issues>
+        <issue url="https://github.com/ibus/ibus/issues/2536";>
+          github-ibus-issues#2536
+        </issue>
+      </issues>
+    </release>
     <release version="1.4.19" date="2023-02-19" urgency="medium">
       <url>https://github.com/ibus/ibus-m17n/releases/tag/1.4.19</url>
       <description>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/ar.po 
new/ibus-m17n-1.4.20/po/ar.po
--- old/ibus-m17n-1.4.19/po/ar.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/ar.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.9\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2022-09-04 07:05+0000\n"
 "Last-Translator: Avid Seeker <[email protected]>\n"
 "Language-Team: Arabic <https://translate.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/bn.po 
new/ibus-m17n-1.4.20/po/bn.po
--- old/ibus-m17n-1.4.19/po/bn.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/bn.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.3\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2021-04-04 09:01+0000\n"
 "Last-Translator: Abu Huraira <[email protected]>\n"
 "Language-Team: Bengali <https://translate.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/de.po 
new/ibus-m17n-1.4.20/po/de.po
--- old/ibus-m17n-1.4.19/po/de.po       2023-02-19 13:03:18.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/de.po       2023-08-01 21:53:35.000000000 +0200
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.0\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2019-12-19 09:38+0000\n"
 "Last-Translator: Mike FABIAN <[email protected]>\n"
 "Language-Team: German <https://translate.stg.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/es.po 
new/ibus-m17n-1.4.20/po/es.po
--- old/ibus-m17n-1.4.19/po/es.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/es.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2020-06-19 12:40+0000\n"
 "Last-Translator: Emilio Herrera <[email protected]>\n"
 "Language-Team: Spanish <https://translate.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/fa.po 
new/ibus-m17n-1.4.20/po/fa.po
--- old/ibus-m17n-1.4.19/po/fa.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/fa.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/fr.po 
new/ibus-m17n-1.4.20/po/fr.po
--- old/ibus-m17n-1.4.19/po/fr.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/fr.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2020-01-18 16:32+0000\n"
 "Last-Translator: Julien Humbert <[email protected]>\n"
 "Language-Team: French <https://translate.stg.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/ibus-m17n.pot 
new/ibus-m17n-1.4.20/po/ibus-m17n.pot
--- old/ibus-m17n-1.4.19/po/ibus-m17n.pot       2023-02-19 13:03:18.000000000 
+0100
+++ new/ibus-m17n-1.4.20/po/ibus-m17n.pot       2023-08-01 21:53:05.000000000 
+0200
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: ibus-m17n 1.4.19\n"
+"Project-Id-Version: ibus-m17n 1.4.20\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <[email protected]>\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/id.po 
new/ibus-m17n-1.4.20/po/id.po
--- old/ibus-m17n-1.4.19/po/id.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/id.po       2023-08-01 21:53:35.000000000 +0200
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2019-12-20 00:06+0000\n"
 "Last-Translator: Mike FABIAN <[email protected]>\n"
 "Language-Team: Indonesian <https://translate.stg.fedoraproject.org/projects/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/ja.po 
new/ibus-m17n-1.4.20/po/ja.po
--- old/ibus-m17n-1.4.19/po/ja.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/ja.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2019-12-19 09:38+0000\n"
 "Last-Translator: Mike FABIAN <[email protected]>\n"
 "Language-Team: Japanese <https://translate.stg.fedoraproject.org/projects/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/ka.po 
new/ibus-m17n-1.4.20/po/ka.po
--- old/ibus-m17n-1.4.19/po/ka.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/ka.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.10\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/pt_BR.po 
new/ibus-m17n-1.4.20/po/pt_BR.po
--- old/ibus-m17n-1.4.19/po/pt_BR.po    2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/pt_BR.po    2023-08-01 21:53:35.000000000 +0200
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2021-03-08 02:01+0000\n"
 "Last-Translator: Rafael Fontenelle <[email protected]>\n"
 "Language-Team: Portuguese (Brazil) <https://translate.fedoraproject.org/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/si.po 
new/ibus-m17n-1.4.20/po/si.po
--- old/ibus-m17n-1.4.19/po/si.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/si.po       2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.3\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2023-02-19 11:57+0000\n"
 "Last-Translator: Hela Basa <[email protected]>\n"
 "Language-Team: Sinhala <https://translate.fedoraproject.org/projects/ibus-";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/tr.po 
new/ibus-m17n-1.4.20/po/tr.po
--- old/ibus-m17n-1.4.19/po/tr.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/tr.po       2023-08-01 21:53:35.000000000 +0200
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.0\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2019-12-19 11:20+0000\n"
 "Last-Translator: Oğuz Ersen <[email protected]>\n"
 "Language-Team: Turkish <https://translate.stg.fedoraproject.org/projects/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/uk.po 
new/ibus-m17n-1.4.20/po/uk.po
--- old/ibus-m17n-1.4.19/po/uk.po       2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/uk.po       2023-08-01 21:53:35.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2020-01-17 17:15+0000\n"
 "Last-Translator: Yuri Chornoivan <[email protected]>\n"
 "Language-Team: Ukrainian <https://translate.stg.fedoraproject.org/projects/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/zh_CN.po 
new/ibus-m17n-1.4.20/po/zh_CN.po
--- old/ibus-m17n-1.4.19/po/zh_CN.po    2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/zh_CN.po    2023-08-01 21:53:35.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2021-01-28 17:40+0000\n"
 "Last-Translator: Dingzhong Chen <[email protected]>\n"
 "Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/po/zh_TW.po 
new/ibus-m17n-1.4.20/po/zh_TW.po
--- old/ibus-m17n-1.4.19/po/zh_TW.po    2023-02-19 13:03:19.000000000 +0100
+++ new/ibus-m17n-1.4.20/po/zh_TW.po    2023-08-01 21:53:35.000000000 +0200
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ibus-m17n 1.4.1\n"
 "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n";
-"POT-Creation-Date: 2023-02-19 13:03+0100\n"
+"POT-Creation-Date: 2023-07-30 20:35+0200\n"
 "PO-Revision-Date: 2022-07-21 06:42+0000\n"
 "Last-Translator: Mike FABIAN <[email protected]>\n"
 "Language-Team: Chinese (Traditional) <https://translate.fedoraproject.org/";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibus-m17n-1.4.19/src/engine.c 
new/ibus-m17n-1.4.20/src/engine.c
--- old/ibus-m17n-1.4.19/src/engine.c   2022-09-17 21:29:54.000000000 +0200
+++ new/ibus-m17n-1.4.20/src/engine.c   2023-08-01 21:52:54.000000000 +0200
@@ -552,7 +552,7 @@
 
     buf = ibus_m17n_mtext_to_utf8 (m17n->context->preedit);
     if (buf) {
-        text = ibus_text_new_from_static_string (buf);
+        text = ibus_text_new_from_string (buf);
         if (klass->preedit_foreground != INVALID_COLOR)
             ibus_text_append_attribute (text, IBUS_ATTR_TYPE_FOREGROUND,
                                         klass->preedit_foreground, 0, -1);
@@ -567,6 +567,7 @@
                                                    mtext_len 
(m17n->context->preedit) > 0,
                                                    klass->preedit_focus_mode);
     }
+    g_free (buf);
 }
 
 static void
@@ -574,8 +575,22 @@
                                 const gchar    *string)
 {
     IBusText *text;
-    text = ibus_text_new_from_static_string (string);
+    text = ibus_text_new_from_string (string);
     ibus_engine_commit_text ((IBusEngine *)m17n, text);
+    /*
+      Updating the preedit after commit is necessary because some
+      applications (OpenOffice.org or Evolution) expect that
+      "preedit-changed" is signalled after "commit" and clear
+      applications' preedit buffers on "commit".  However, ibus-m17n
+      (possibly other IME) may signal "commit" just after
+      "preedit-changed". So we need to make sure to signal
+      "preedit-changed" after "commit".
+
+      Test case: type "iupap,h" on oowriter with
+      "m17n:si:wijesekera - si-wijesekera (m17n)".
+      You won't see the n+1’th character in the preedit buffer updating
+      the preedit after commit.
+    */
     ibus_m17n_engine_update_preedit (m17n);
 }
 
@@ -591,7 +606,7 @@
        if (code == altgr)
          ...
      }
-                
+
    Since IBus engines are supposed to be cross-platform, the code
    should go into IBus core, instead of ibus-m17n. */
 static MSymbol
@@ -732,20 +747,44 @@
         break;
     }
 
+    /*
+      Compose support:
+
+      IBusM17NEngine inherits from
+      IBusEngineSimple. IBUS_ENGINE_CLASS(parent_class)->process_key_event()
+      calls ibus_engine_simple_process_key_event(). If this does not
+      start to process a compose sequence, it calls
+      ibus_engine_hide_preedit_text((IBusEngine *)simple) before
+      returning FALSE. If m17n->context->preedit was not empty when
+      this happens, the preedit of IBusM17NEngine disappears for a
+      very short moment until it is shown again later when
+      IBusM17NEngine continues processing the key event. This may
+      cause a flicker in the preedit.  How visible this flicker is
+      depends on the circumstances, but sometimes it can be quite
+      visible and annoying. It seems possible to avoid 99% of the
+      flicker by calling ibus_engine_show_preedit_text ((IBusEngine
+      *)m17n) directly before **and** after
+      IBUS_ENGINE_CLASS(parent_class)->process_key_event() if the
+      preedit of IBusM17NEngine is not empty.
+    */
+    if (mtext_len (m17n->context->preedit) > 0)
+        ibus_engine_show_preedit_text ((IBusEngine *)m17n);
     if (IBUS_ENGINE_CLASS (parent_class)->process_key_event (engine, keyval, 
keycode, modifiers)) {
-      if (mtext_len (m17n->context->preedit) > 0) {
-       gchar *buf;
-       buf = ibus_m17n_mtext_to_utf8 (m17n->context->preedit);
-       if (buf) {
-         IBusText *text;
-         text = ibus_text_new_from_string (buf);
-         ibus_engine_commit_text (engine, text);
-         g_free (buf);
-       }
-       minput_reset_ic (m17n->context);
-      }
-      return TRUE;
+        if (mtext_len (m17n->context->preedit) > 0) {
+            gchar *buf;
+            buf = ibus_m17n_mtext_to_utf8 (m17n->context->preedit);
+            if (buf) {
+                IBusText *text;
+                text = ibus_text_new_from_string (buf);
+                ibus_engine_commit_text (engine, text);
+                g_free (buf);
+            }
+            minput_reset_ic (m17n->context);
+        }
+        return TRUE;
     }
+    if (mtext_len (m17n->context->preedit) > 0)
+        ibus_engine_show_preedit_text ((IBusEngine *)m17n);
 
     if (modifiers & IBUS_RELEASE_MASK)
         return FALSE;

Reply via email to