Hello community,

here is the log from the commit of package python-atspi for openSUSE:Factory 
checked in at 2019-05-03 22:17:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Fri May  3 22:17:38 2019 rev:60 rq:695791 version:2.32.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2018-10-17 08:09:32.215178178 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new.5148/python-atspi.changes      
2019-05-03 22:17:39.748133033 +0200
@@ -1,0 +2,33 @@
+Thu Apr 18 14:21:18 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Avoid use of em dashes in titles.
+
+-------------------------------------------------------------------
+Wed Apr 10 08:28:46 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 2.32.1:
+  + Fix arguments in Text.addSelection.
+  + Document that extents are only meaningful when both visible and
+    showing.
+  + Fix default kind value for registerKeystrokeListener.
+
+-------------------------------------------------------------------
+Tue Mar 12 06:44:04 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 2.32.0:
+  + Stable release version bump.
+
+-------------------------------------------------------------------
+Wed Feb 20 10:06:50 UTC 2019 - [email protected]
+
+- Update to version 2.31.2:
+  + Add ScrollSubstringTo and ScrollSubstringToPoint text
+    interfaces.
+
+-------------------------------------------------------------------
+Tue Jan  8 13:45:47 UTC 2019 - [email protected]
+
+- Update to version 2.31.1:
+  + Add support for locking/unlocking modifiers.
+
+-------------------------------------------------------------------

Old:
----
  pyatspi-2.30.0.tar.xz

New:
----
  pyatspi-2.32.1.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.NDdano/_old  2019-05-03 22:17:40.304134148 +0200
+++ /var/tmp/diff_new_pack.NDdano/_new  2019-05-03 22:17:40.308134156 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-atspi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   pyatspi
 Name:           python-atspi
-Version:        2.30.0
+Version:        2.32.1
 Release:        0
-Summary:        Assistive Technology Service Provider Interface - Python 
bindings
+Summary:        Python bindings for the Assistive Technology Service Provider 
Interface
 License:        LGPL-2.0-only
 Group:          Development/Libraries/Python
 URL:            http://www.gnome.org/
-Source0:        
https://download.gnome.org/sources/pyatspi/2.30/%{_name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/pyatspi/2.32/%{_name}-%{version}.tar.xz
 
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module gobject >= 2.90.1}

++++++ pyatspi-2.30.0.tar.xz -> pyatspi-2.32.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/NEWS new/pyatspi-2.32.1/NEWS
--- old/pyatspi-2.30.0/NEWS     2018-08-14 00:42:26.000000000 +0200
+++ new/pyatspi-2.32.1/NEWS     2019-04-09 00:25:07.000000000 +0200
@@ -1,3 +1,23 @@
+What's new in pyatspi 2.32.1:
+
+* Fix arguments in Text.addSelection.
+
+* Document that extents are only meaningful when both visible and showing.
+
+* Fix default kind value for registerKeystrokeListener.
+
+What's new in pyatspi 2.31.2:
+
+* Add ScrollSubstringTo and ScrollSubstringToPoint text interfaces.
+
+What's new in pyatspi 2.31.1:
+
+* Add support for locking/unlocking modifiers.
+
+What's new in pyatspi 2.29.1:
+
+* Add ScrollTo and ScrollToPoint component interfaces.
+
 What's new in pyatspi 2.25.90:
 
 * registry: Rename async keyword for compatibility with Python 3.7.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/configure new/pyatspi-2.32.1/configure
--- old/pyatspi-2.30.0/configure        2018-09-03 23:31:42.000000000 +0200
+++ new/pyatspi-2.32.1/configure        2019-04-09 00:25:40.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for pyatspi 2.30.0.
+# Generated by GNU Autoconf 2.69 for pyatspi 2.32.1.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='pyatspi'
 PACKAGE_TARNAME='pyatspi'
-PACKAGE_VERSION='2.30.0'
-PACKAGE_STRING='pyatspi 2.30.0'
+PACKAGE_VERSION='2.32.1'
+PACKAGE_STRING='pyatspi 2.32.1'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1384,7 +1384,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 pyatspi 2.30.0 to adapt to many kinds of systems.
+\`configure' configures pyatspi 2.32.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1458,7 +1458,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of pyatspi 2.30.0:";;
+     short | recursive ) echo "Configuration of pyatspi 2.32.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1607,7 +1607,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-pyatspi configure 2.30.0
+pyatspi configure 2.32.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1885,7 +1885,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by pyatspi $as_me 2.30.0, which was
+It was created by pyatspi $as_me 2.32.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2771,7 +2771,7 @@
 
 # Define the identity of the package.
  PACKAGE='pyatspi'
- VERSION='2.30.0'
+ VERSION='2.32.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14513,7 +14513,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by pyatspi $as_me 2.30.0, which was
+This file was extended by pyatspi $as_me 2.32.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14579,7 +14579,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-pyatspi config.status 2.30.0
+pyatspi config.status 2.32.1
 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/pyatspi-2.30.0/configure.ac 
new/pyatspi-2.32.1/configure.ac
--- old/pyatspi-2.30.0/configure.ac     2018-09-03 23:31:33.000000000 +0200
+++ new/pyatspi-2.32.1/configure.ac     2019-04-09 00:25:27.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [2.30.0], [[email protected]])
+AC_INIT([pyatspi], [2.32.1], [[email protected]])
 AC_CONFIG_AUX_DIR(config)
 
 # The version of python used is determined by the executable pointed to by the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/Accessibility.py 
new/pyatspi-2.32.1/pyatspi/Accessibility.py
--- old/pyatspi-2.30.0/pyatspi/Accessibility.py 2018-08-09 17:07:43.000000000 
+0200
+++ new/pyatspi-2.32.1/pyatspi/Accessibility.py 2018-11-18 22:24:55.000000000 
+0100
@@ -245,6 +245,8 @@
 KEY_RELEASE = Atspi.KeySynthType.RELEASE
 KEY_STRING = Atspi.KeySynthType.STRING
 KEY_SYM = Atspi.KeySynthType.SYM
+KEY_LOCKMODIFIERS = Atspi.KeySynthType.LOCKMODIFIERS
+KEY_UNLOCKMODIFIERS = Atspi.KeySynthType.UNLOCKMODIFIERS
 
 ### cache ###
 cache = Atspi.Cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/component.py 
new/pyatspi-2.32.1/pyatspi/component.py
--- old/pyatspi-2.30.0/pyatspi/component.py     2018-08-14 00:28:47.000000000 
+0200
+++ new/pyatspi-2.32.1/pyatspi/component.py     2019-03-15 02:36:37.000000000 
+0100
@@ -145,6 +145,8 @@
                 """
                 Obtain the Component's bounding box, in pixels, relative to the
                 specified coordinate system. 
+                The returned values are meaningful only if the Component has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param coord_type
                 @return a BoundingBox which entirely contains the object's 
onscreen
                 visual representation.
@@ -172,6 +174,8 @@
                 """
                 Obtain the position of the current component in the coordinate
                 system specified by coord_type. 
+                The returned values are meaningful only if the Component has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : coord_type
                 @param : x
                 an out parameter which will be back-filled with the returned
@@ -187,6 +191,8 @@
                 Obtain the size, in the coordinate system specified by 
coord_type,
                 of the rectangular area which fully contains the object's 
visual
                 representation, without accounting for viewport clipping. 
+                The returned values are meaningful only if the Component has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : width
                 the object's horizontal extents in the specified coordinate 
system.
                 @param : height
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/deviceevent.py 
new/pyatspi-2.32.1/pyatspi/deviceevent.py
--- old/pyatspi-2.30.0/pyatspi/deviceevent.py   2018-08-09 17:07:43.000000000 
+0200
+++ new/pyatspi-2.32.1/pyatspi/deviceevent.py   2018-11-18 22:24:55.000000000 
+0100
@@ -67,13 +67,17 @@
                 2:'KEY_PRESSRELEASE',
                 3:'KEY_SYM',
                 4:'KEY_STRING',
+                5:'KEY_LOCKMODIFIERS',
+                6:'KEY_UNLOCKMODIFIERS',
         }
 
+KEY_LOCKMODIFIERS = KeySynthType(5)
 KEY_PRESS = KeySynthType(0)
 KEY_PRESSRELEASE = KeySynthType(2)
 KEY_RELEASE = KeySynthType(1)
 KEY_STRING = KeySynthType(4)
 KEY_SYM = KeySynthType(3)
+KEY_UNLOCKMODIFIERS = KeySynthType(6)
 
 #------------------------------------------------------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/image.py 
new/pyatspi-2.32.1/pyatspi/image.py
--- old/pyatspi-2.30.0/pyatspi/image.py 2018-08-09 17:07:43.000000000 +0200
+++ new/pyatspi-2.32.1/pyatspi/image.py 2019-03-15 02:36:37.000000000 +0100
@@ -43,6 +43,8 @@
                 as displayed on screen. The bounds returned do not account for
                 any viewport clipping or the fact that the image may be 
partially
                 or wholly obscured by other onscreen content. 
+                The returned values are meaningful only if the Image has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : coordType
                 If 0, the returned bounding box position is returned relative
                 to the screen; if 1, the bounding box position is returned 
relative
@@ -54,6 +56,8 @@
         def getImagePosition(self, coord_type):
                 """
                 Get the coordinates of the current image position on screen.
+                The returned values are meaningful only if the Image has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : x
                 Back-filled with the x coordinate of the onscreen image (i.e.
                 the minimum x coordinate) 
@@ -73,6 +77,8 @@
                 image. The extents returned do not account for any viewport 
clipping
                 or the fact that the image may be partially or wholly obscured
                 by other onscreen content. 
+                The returned values are meaningful only if the Image has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : width
                 Back-filled with the x extents of the onscreen image (i.e. the
                 image width in pixels) 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/registry.py 
new/pyatspi-2.32.1/pyatspi/registry.py
--- old/pyatspi-2.30.0/pyatspi/registry.py      2018-08-10 03:41:39.000000000 
+0200
+++ new/pyatspi-2.32.1/pyatspi/registry.py      2019-03-15 02:37:08.000000000 
+0100
@@ -266,8 +266,8 @@
         # 
-------------------------------------------------------------------------------
 
         # TODO: Remove this hack
-        _KEY_PRESSED_EVENT=1
-        _KEY_RELEASED_EVENT=2
+        _KEY_PRESSED_EVENT=0
+        _KEY_RELEASED_EVENT=1
 
         def makeSyncType(self, synchronous, preemptive, global_):
                 result = Atspi.KeyListenerSyncType.NOSYNC
@@ -386,7 +386,7 @@
                 Generates a keyboard event. One of the keycode or the keysym 
parameters
                 should be specified and the other should be None. The kind 
parameter is 
                 required and should be one of the KEY_PRESS, KEY_RELEASE, 
KEY_PRESSRELEASE,
-                KEY_SYM, or KEY_STRING.
+                KEY_SYM, KEY_STRING, KEY_LOCKMODIFIERS, or KEY_UNLOCKMODIFIERS.
 
                 @@param keycode: Hardware keycode or None
                 @@type keycode: integer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/table.py 
new/pyatspi-2.32.1/pyatspi/table.py
--- old/pyatspi-2.30.0/pyatspi/table.py 2018-08-09 17:07:43.000000000 +0200
+++ new/pyatspi-2.32.1/pyatspi/table.py 2019-03-15 02:36:37.000000000 +0100
@@ -98,6 +98,8 @@
                 Get the number of columns spanned by the table cell at the 
specific
                 row and column. (some tables can have cells which span multiple
                 rows and/or columns).
+                The returned values are meaningful only if the Table has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : row
                 the specified table row, zero-indexed. 
                 @param : column
@@ -149,6 +151,8 @@
                 extents, and whether the cell is currently selected. If the 
child
                 at index is not a cell (for instance, if it is a summary, 
caption,
                 etc.), False is returned.
+                The returned values are meaningful only if the Table has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : index
                 the index of the Table child whose row/column extents are 
requested.
                 @param : row
@@ -197,6 +201,8 @@
                 Get the number of rows spanned by the table cell at the 
specific
                 row and column. (some tables can have cells which span multiple
                 rows and/or columns).
+                The returned values are meaningful only if the Table has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : row
                 the specified table row, zero-indexed. 
                 @param : column
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.30.0/pyatspi/text.py 
new/pyatspi-2.32.1/pyatspi/text.py
--- old/pyatspi-2.30.0/pyatspi/text.py  2018-08-09 17:07:43.000000000 +0200
+++ new/pyatspi-2.32.1/pyatspi/text.py  2019-03-15 02:36:37.000000000 +0100
@@ -123,7 +123,7 @@
         and the set returned at a particular character offset via 
Text::getAttributeRun.
         """
 
-        def addSelection(self, index):
+        def addSelection(self, startOffset, endOffset):
                 """
                 The result of calling addSelection on objects which already 
have
                 one selection present, and which do not include 
STATE_MULTISELECTABLE,
@@ -135,7 +135,7 @@
                 other reasons (for instance if the user does not have 
permission
                 to copy the text into the relevant selection buffer).
                 """
-                return Atspi.Text.add_selection(self.obj, index)
+                return Atspi.Text.add_selection(self.obj, startOffset, 
endOffset)
 
         def getAttributeRun(self, offset, includeDefaults=True):
                 """
@@ -274,6 +274,8 @@
                 to multiple character offsets, for instance if the glyph is a
                 ligature, the bounding box reported will include the entire 
glyph
                 and therefore may apply to more than one character offset. 
+                The returned values are meaningful only if the Text has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : offset
                 the character offset of the character or glyph being queried.
                 @param : coordType
@@ -349,6 +351,8 @@
                 range. Negative values may be returned for the bounding box 
parameters
                 in the event that all or part of the text range is offscreen
                 or not mapped to the screen. 
+                The returned values are meaningful only if the Text has
+                both STATE_VISIBLE and STATE_SHOWING.
                 @param : startOffset
                 the offset of the first character in the specified range. 
                 @param : endOffset
@@ -586,6 +590,22 @@
                 """
         characterCount = property(fget=get_characterCount, 
doc=_characterCountDoc)
 
+        def scrollSubstringTo(self, startOffset, endOffset, scroll_type):
+                """
+                Makes the text range visible on the screen at a given position 
by
+                scrolling all necessary parents.
+                @return True if scrolling was successful.
+                """
+                return Atspi.Text.scroll_substring_to(self.obj, startOffset, 
endOffset, scroll_type)
+
+        def scrollSubstringToPoint(self, startOffset, endOffset, coord_type, 
x, y):
+                """
+                Makes the text range visible on the screen at a given position 
by
+                scrolling all necessary parents.
+                @return True if scrolling was successful.
+                """
+                return Atspi.Text.scroll_substring_to_point(self.obj, 
startOffset, endOffset, coord_type, x, y)
+
 def rangeToList(r):
         return (r.start_offset, r.end_offset)
 


Reply via email to