Hello community,

here is the log from the commit of package python-atspi for openSUSE:Factory 
checked in at 2013-08-30 17:14:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2013-06-28 18:56:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new/python-atspi.changes   
2013-08-30 17:14:14.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 20 07:05:45 UTC 2013 - [email protected]
+
+- Update to version 2.9.90:
+  + Added getStringAtOffset.
+
+-------------------------------------------------------------------
python3-atspi.changes: same change

Old:
----
  pyatspi-2.9.3.tar.xz

New:
----
  pyatspi-2.9.90.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.wxfCbQ/_old  2013-08-30 17:14:16.000000000 +0200
+++ /var/tmp/diff_new_pack.wxfCbQ/_new  2013-08-30 17:14:16.000000000 +0200
@@ -36,7 +36,7 @@
 
 Name:           python-atspi
 %define _name   pyatspi
-Version:        2.9.3
+Version:        2.9.90
 Release:        0
 Summary:        Assistive Technology Service Provider Interface - Python 
bindings
 License:        LGPL-2.0

python3-atspi.spec: same change
++++++ pyatspi-2.9.3.tar.xz -> pyatspi-2.9.90.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.9.3/NEWS new/pyatspi-2.9.90/NEWS
--- old/pyatspi-2.9.3/NEWS      2013-06-17 23:04:19.000000000 +0200
+++ new/pyatspi-2.9.90/NEWS     2013-08-19 23:55:46.000000000 +0200
@@ -1,3 +1,7 @@
+What's new in pyatspi 2.9.90:
+
+* Added getStringAtOffset.
+
 What's new in pyatspi 2.9.3:
 
 * Add some examples (Magdalen Berns, BGO#701063).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyatspi-2.9.3/configure new/pyatspi-2.9.90/configure
--- old/pyatspi-2.9.3/configure 2013-06-17 23:32:44.000000000 +0200
+++ new/pyatspi-2.9.90/configure        2013-08-19 23:55:30.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.9.3.
+# Generated by GNU Autoconf 2.69 for pyatspi 2.9.90.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='pyatspi'
 PACKAGE_TARNAME='pyatspi'
-PACKAGE_VERSION='2.9.3'
-PACKAGE_STRING='pyatspi 2.9.3'
+PACKAGE_VERSION='2.9.90'
+PACKAGE_STRING='pyatspi 2.9.90'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1376,7 +1376,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.9.3 to adapt to many kinds of systems.
+\`configure' configures pyatspi 2.9.90 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1450,7 +1450,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of pyatspi 2.9.3:";;
+     short | recursive ) echo "Configuration of pyatspi 2.9.90:";;
    esac
   cat <<\_ACEOF
 
@@ -1592,7 +1592,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-pyatspi configure 2.9.3
+pyatspi configure 2.9.90
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1870,7 +1870,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.9.3, which was
+It was created by pyatspi $as_me 2.9.90, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2717,7 +2717,7 @@
 
 # Define the identity of the package.
  PACKAGE='pyatspi'
- VERSION='2.9.3'
+ VERSION='2.9.90'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13828,7 +13828,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.9.3, which was
+This file was extended by pyatspi $as_me 2.9.90, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13894,7 +13894,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.9.3
+pyatspi config.status 2.9.90
 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.9.3/configure.ac 
new/pyatspi-2.9.90/configure.ac
--- old/pyatspi-2.9.3/configure.ac      2013-06-17 23:32:39.000000000 +0200
+++ new/pyatspi-2.9.90/configure.ac     2013-08-19 23:55:22.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [2.9.3], [[email protected]])
+AC_INIT([pyatspi], [2.9.90], [[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.9.3/pyatspi/text.py 
new/pyatspi-2.9.90/pyatspi/text.py
--- old/pyatspi-2.9.3/pyatspi/text.py   2013-05-22 23:26:40.000000000 +0200
+++ new/pyatspi-2.9.90/pyatspi/text.py  2013-08-19 23:42:49.000000000 +0200
@@ -34,6 +34,11 @@
            "TEXT_CLIP_MIN",
            "TEXT_CLIP_MAX",
            "TEXT_CLIP_BOTH",
+           "TEXT_GRANULARITY_CHAR",
+           "TEXT_GRANULARITY_WORD",
+           "TEXT_GRANULARITY_SENTENCE",
+           "TEXT_GRANULARITY_LINE",
+           "TEXT_GRANULARITY_PARAGRAPH",
           ]
 
 #------------------------------------------------------------------------------
@@ -74,6 +79,23 @@
 
 #------------------------------------------------------------------------------
 
+class TEXT_GRANULARITY_TYPE(Enum):
+        _enum_lookup = {
+                0:'TEXT_GRANULARITY_CHAR',
+                1:'TEXT_GRANULARITY_WORD',
+                2:'TEXT_GRANULARITY_SENTENCE',
+                3:'TEXT_GRANULARITY_LINE',
+                4:'TEXT_GRANULARITY_PARAGRAPH',
+        }
+
+TEXT_GRANULARITY_CHAR = TEXT_GRANULARITY_TYPE(0)
+TEXT_GRANULARITY_WORD = TEXT_GRANULARITY_TYPE(1)
+TEXT_GRANULARITY_SENTENCE = TEXT_GRANULARITY_TYPE(2)
+TEXT_GRANULARITY_LINE = TEXT_GRANULARITY_TYPE(3)
+TEXT_GRANULARITY_PARAGRAPH = TEXT_GRANULARITY_TYPE(4)
+
+#------------------------------------------------------------------------------
+
 class Text(interface):
         """
         The text interface should be implemented by objects which place
@@ -388,6 +410,7 @@
 
         def getTextAfterOffset(self, offset, type):
                 """
+                Deprecated in favor of getStringAtOffset.
                 Obtain a subset of the text content of an object which entirely
                 follows offset, delimited by character, word, line, or sentence
                 boundaries as specified by type. The starting and ending 
offsets
@@ -416,6 +439,7 @@
 
         def getTextAtOffset(self, offset, type):
                 """
+                Deprecated in favor of getStringAtOffset.
                 Obtain a subset of the text content of an object which includes
                 the specified offset, delimited by character, word, line, or
                 sentence boundaries as specified by type. The starting and 
ending
@@ -443,6 +467,7 @@
 
         def getTextBeforeOffset(self, offset, type):
                 """
+                Deprecated in favor of getStringAtOffset.
                 Obtain a subset of the text content of an object which entirely
                 precedes offset, delimited by character, word, line, or 
sentence
                 boundaries as specified by type. The starting and ending 
offsets
@@ -468,6 +493,34 @@
                 ret = Atspi.Text.get_text_before_offset(self.obj, offset, type)
                 return textRangeToList(ret)
 
+        def getStringAtOffset(self, offset, type):
+                """
+                Obtain a subset of the text content of an object which includes
+                the specified offset, delimited by character, word, line, 
sentence
+                or paragraph granularity as specified by type. The starting 
and ending
+                offsets of the resulting substring are returned in startOffset
+                and endOffset.
+                @param : offset
+                the offset from which the substring search begins, and which
+                must lie within the returned substring.
+                @param : type
+                the text granularity which determines whether the  returned 
text
+                constitures a character, word, line, sentence or paragraph (and
+                possibly attendant  whitespace). For all of those cases, 
boundaries
+                will always be defined from the start of the current substring 
to
+                the start of the following one for the same granularity.
+                @param : startOffset
+                back-filled with the starting offset of the resulting 
substring,
+                if one exists.
+                @param : endOffset
+                back-filled with the offset of the character immediately 
following
+                the resulting substring, if one exists.
+                @return a string which is a substring of the text content of
+                the object, delimited by the specified text granularity.
+                """
+                ret = Atspi.Text.get_string_at_offset(self.obj, offset, type)
+                return textRangeToList(ret)
+
         def removeSelection(self, selectionNum):
                 """
                 Deselect the text contained in the specified selectionNum, if

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to