Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package orca for openSUSE:Factory checked in 
at 2022-02-03 23:16:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orca (Old)
 and      /work/SRC/openSUSE:Factory/.orca.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orca"

Thu Feb  3 23:16:30 2022 rev:159 rq:950302 version:41.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/orca/orca.changes        2022-01-11 
00:02:25.841268584 +0100
+++ /work/SRC/openSUSE:Factory/.orca.new.1898/orca.changes      2022-02-03 
23:17:20.200264565 +0100
@@ -1,0 +2,11 @@
+Mon Jan 31 15:24:35 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 41.2:
+  + Web: Fix bug causing widgets descending from off-screen label
+    elements to be skipped over.
+  + General:
+    - Fix bug causing accessing preferences to fail for Esperanto.
+    - Add more event-flood detection and handling for improved
+      performance.
+
+-------------------------------------------------------------------

Old:
----
  orca-41.1.tar.xz

New:
----
  orca-41.2.tar.xz

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

Other differences:
------------------
++++++ orca.spec ++++++
--- /var/tmp/diff_new_pack.U1JAHU/_old  2022-02-03 23:17:20.784260578 +0100
+++ /var/tmp/diff_new_pack.U1JAHU/_new  2022-02-03 23:17:20.792260524 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           orca
-Version:        41.1
+Version:        41.2
 Release:        0
 Summary:        Screen reader for GNOME
 License:        LGPL-2.1-or-later

++++++ orca-41.1.tar.xz -> orca-41.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/ChangeLog new/orca-41.2/ChangeLog
--- old/orca-41.1/ChangeLog     2021-12-01 15:41:37.000000000 +0100
+++ new/orca-41.2/ChangeLog     2022-01-31 16:04:05.000000000 +0100
@@ -1,5 +1,42 @@
 # Generated by Makefile. Do not edit.
 
+2022-01-31 12:55:29 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Fix bug causing accessing preferences to fail for esperanto
+
+M      src/orca/speechdispatcherfactory.py
+
+2022-01-13 12:01:23 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Event Manager: Ignore all text changed events for embedded objects
+
+M      src/orca/event_manager.py
+
+2022-01-03 13:46:04 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Web: Improve behavior of label ancestors of widgets
+
+M      src/orca/scripts/web/script_utilities.py
+
+2021-12-06 12:33:29 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Event Manager: Treat text-selection-changed as a flood-pruning event
+
+M      src/orca/event_manager.py
+
+2021-12-06 12:28:31 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Event Manager: Handle text-attributes-changed event flood
+
+M      src/orca/event_manager.py
+
+2021-12-01 15:46:03 +0100 Joanmarie Diggs <jdi...@igalia.com>
+
+        Post-release version bump
+
+M      README.md
+M      configure.ac
+
 2021-12-01 15:40:47 +0100 Joanmarie Diggs <jdi...@igalia.com>
 
         Release prep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/Makefile.in new/orca-41.2/Makefile.in
--- old/orca-41.1/Makefile.in   2021-12-01 15:41:21.000000000 +0100
+++ new/orca-41.2/Makefile.in   2022-01-31 16:03:24.000000000 +0100
@@ -195,7 +195,7 @@
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/run_pylint.sh.in \
        ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
        compile config.guess config.rpath config.sub install-sh \
-       missing py-compile
+       missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/NEWS new/orca-41.2/NEWS
--- old/orca-41.1/NEWS  2021-12-01 15:35:00.000000000 +0100
+++ new/orca-41.2/NEWS  2022-01-31 16:02:54.000000000 +0100
@@ -1,3 +1,18 @@
+41.2 - 31 January 2022
+
+Web:
+
+* Fix bug causing widgets descending from off-screen label elements
+  to be skipped over
+
+General:
+
+* Fix bug causing accessing preferences to fail for Esperanto
+
+* Add more event-flood detection and handling for improved performance
+
+=========
+
 41.1 - 1 December 2021
 
 Web:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/README new/orca-41.2/README
--- old/orca-41.1/README        2021-12-01 15:36:13.000000000 +0100
+++ new/orca-41.2/README        2022-01-31 16:04:02.000000000 +0100
@@ -1,4 +1,4 @@
-# Orca v41.1
+# Orca v41.2
 
 ## Introduction
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/README.md new/orca-41.2/README.md
--- old/orca-41.1/README.md     2021-09-16 14:11:43.000000000 +0200
+++ new/orca-41.2/README.md     2022-01-31 15:48:55.000000000 +0100
@@ -1,4 +1,4 @@
-# Orca v41.1
+# Orca v41.2
 
 ## Introduction
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/configure new/orca-41.2/configure
--- old/orca-41.1/configure     2021-12-01 15:41:21.000000000 +0100
+++ new/orca-41.2/configure     2022-01-31 16:03:24.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for orca 41.1.
+# Generated by GNU Autoconf 2.69 for orca 41.2.
 #
 # Report bugs to <https://gitlab.gnome.org/GNOME/orca/-/issues/>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='orca'
 PACKAGE_TARNAME='orca'
-PACKAGE_VERSION='41.1'
-PACKAGE_STRING='orca 41.1'
+PACKAGE_VERSION='41.2'
+PACKAGE_STRING='orca 41.2'
 PACKAGE_BUGREPORT='https://gitlab.gnome.org/GNOME/orca/-/issues/'
 PACKAGE_URL=''
 
@@ -1323,7 +1323,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 orca 41.1 to adapt to many kinds of systems.
+\`configure' configures orca 41.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1394,7 +1394,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of orca 41.1:";;
+     short | recursive ) echo "Configuration of orca 41.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1524,7 +1524,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-orca configure 41.1
+orca configure 41.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1704,7 +1704,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by orca $as_me 41.1, which was
+It was created by orca $as_me 41.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2571,7 +2571,7 @@
 
 # Define the identity of the package.
  PACKAGE='orca'
- VERSION='41.1'
+ VERSION='41.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -8646,7 +8646,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by orca $as_me 41.1, which was
+This file was extended by orca $as_me 41.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -8703,7 +8703,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-orca config.status 41.1
+orca config.status 41.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/configure.ac new/orca-41.2/configure.ac
--- old/orca-41.1/configure.ac  2021-09-16 14:11:29.000000000 +0200
+++ new/orca-41.2/configure.ac  2022-01-31 15:48:55.000000000 +0100
@@ -1,4 +1,4 @@
-m4_define([orca_version], [41.1])
+m4_define([orca_version], [41.2])
 
 m4_define(pygobject_required_version, 3.18)
 m4_define(atspi_required_version, 2.26)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/po/orca.pot new/orca-41.2/po/orca.pot
--- old/orca-41.1/po/orca.pot   2021-10-29 15:51:39.000000000 +0200
+++ new/orca-41.2/po/orca.pot   2022-01-31 16:03:28.000000000 +0100
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: orca 41.1\n"
+"Project-Id-Version: orca 41.2\n"
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/orca/issues\n";
-"POT-Creation-Date: 2021-10-29 15:51+0200\n"
+"POT-Creation-Date: 2022-01-31 16:03+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <l...@li.org>\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/src/orca/event_manager.py 
new/orca-41.2/src/orca/event_manager.py
--- old/orca-41.1/src/orca/event_manager.py     2021-11-08 13:44:45.000000000 
+0100
+++ new/orca-41.2/src/orca/event_manager.py     2022-01-31 15:48:55.000000000 
+0100
@@ -191,13 +191,14 @@
                 debug.println(debug.LEVEL_INFO, msg, True)
                 return True
 
-        if event.type.startswith('object:text-changed') and 
event.type.endswith('system'):
+        if event.type.startswith('object:text-changed') \
+           and self.EMBEDDED_OBJECT_CHARACTER in event.any_data \
+           and not event.any_data.replace(self.EMBEDDED_OBJECT_CHARACTER, ""):
             # We should also get children-changed events telling us the same 
thing.
             # Getting a bunch of both can result in a flood that grinds us to 
a halt.
-            if event.any_data == self.EMBEDDED_OBJECT_CHARACTER:
-                msg = 'EVENT MANAGER: Ignoring because changed text is 
embedded object'
-                debug.println(debug.LEVEL_INFO, msg, True)
-                return True
+            msg = 'EVENT MANAGER: Ignoring because changed text is only 
embedded objects'
+            debug.println(debug.LEVEL_INFO, msg, True)
+            return True
 
         try:
             # TODO - JD: For now we won't ask for the name. Simply asking for 
the name should
@@ -787,6 +788,7 @@
                   "object:text-changed:insert",
                   "object:text-changed:delete:system",
                   "object:text-changed:insert:system",
+                  "object:text-attributes-changed",
                   "object:children-changed:add",
                   "object:children-changed:add:system",
                   "object:property-change:accessible-name",
@@ -815,6 +817,7 @@
                   "object:text-changed:insert",
                   "object:text-changed:delete:system",
                   "object:text-changed:insert:system",
+                  "object:text-attributes-changed",
                   "object:children-changed:add",
                   "object:children-changed:add:system",
                   "object:property-change:accessible-name",
@@ -836,6 +839,9 @@
         if event.type.startswith("object:state-changed:selected"):
             return event.detail1
 
+        if event.type.startswith("object:text-selection-changed"):
+            return True
+
         if event.type.startswith("window:activate"):
             return True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/src/orca/orca_platform.py 
new/orca-41.2/src/orca/orca_platform.py
--- old/orca-41.1/src/orca/orca_platform.py     2021-12-01 15:41:24.000000000 
+0100
+++ new/orca-41.2/src/orca/orca_platform.py     2022-01-31 16:03:27.000000000 
+0100
@@ -28,11 +28,11 @@
 
 # $ORCA_VERSION
 #
-version     = "41.1"
+version     = "41.2"
 
 # The revision if built from git; otherwise an empty string
 #
-revision = "e296b5cd9"
+revision = "a06219637"
 
 # "--prefix" parameter used when configuring the build.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/src/orca/scripts/web/script_utilities.py 
new/orca-41.2/src/orca/scripts/web/script_utilities.py
--- old/orca-41.1/src/orca/scripts/web/script_utilities.py      2021-11-11 
16:07:06.000000000 +0100
+++ new/orca-41.2/src/orca/scripts/web/script_utilities.py      2022-01-31 
15:48:55.000000000 +0100
@@ -73,6 +73,7 @@
         self._isFocusableWithMathChild = {}
         self._mathNestingLevel = {}
         self._isOffScreenLabel = {}
+        self._labelIsAncestorOfLabelled = {}
         self._elementLinesAreSingleChars= {}
         self._elementLinesAreSingleWords= {}
         self._hasNoSize = {}
@@ -167,6 +168,7 @@
         self._isFocusableWithMathChild = {}
         self._mathNestingLevel = {}
         self._isOffScreenLabel = {}
+        self._labelIsAncestorOfLabelled = {}
         self._elementLinesAreSingleChars= {}
         self._elementLinesAreSingleWords= {}
         self._hasNoSize = {}
@@ -3249,6 +3251,23 @@
         self._elementLinesAreSingleChars[hash(obj)] = rv
         return rv
 
+    def labelIsAncestorOfLabelled(self, obj):
+        if not (obj and self.inDocumentContent(obj)):
+            return False
+
+        rv = self._labelIsAncestorOfLabelled.get(hash(obj))
+        if rv is not None:
+            return rv
+
+        rv = False
+        for target in self.targetsForLabel(obj):
+            if pyatspi.findAncestor(target, lambda x: x == obj):
+                rv = True
+                break
+
+        self._labelIsAncestorOfLabelled[hash(obj)] = rv
+        return rv
+
     def isOffScreenLabel(self, obj):
         if not (obj and self.inDocumentContent(obj)):
             return False
@@ -3257,6 +3276,9 @@
         if rv is not None:
             return rv
 
+        if self.labelIsAncestorOfLabelled(obj):
+            return False
+
         rv = False
         targets = self.labelTargets(obj)
         if targets:
@@ -3514,6 +3536,9 @@
         if rv is not None:
             return rv
 
+        if self.labelIsAncestorOfLabelled(obj):
+            return False
+
         rv = False
         if not obj.getState().contains(pyatspi.STATE_FOCUSABLE) \
            and not self.isFocusModeWidget(obj):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orca-41.1/src/orca/speechdispatcherfactory.py 
new/orca-41.2/src/orca/speechdispatcherfactory.py
--- old/orca-41.1/src/orca/speechdispatcherfactory.py   2021-07-12 
12:30:50.000000000 +0200
+++ new/orca-41.2/src/orca/speechdispatcherfactory.py   2022-01-31 
15:48:55.000000000 +0100
@@ -564,7 +564,7 @@
         # set according to the current locale.
         from locale import getlocale, LC_MESSAGES
         locale = getlocale(LC_MESSAGES)[0]
-        if locale is None or locale == 'C':
+        if locale is None or not '_' in locale:
             locale_language = None
         else:
             locale_lang, locale_dialect = locale.split('_')

Reply via email to