Revved to 1.5.3; added ROLE_EMBEDDED (bug #144415).
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 20 Jul 2004 14:17:28 +0000 (14:17 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 20 Jul 2004 14:17:28 +0000 (14:17 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@678 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
NEWS
README
configure.in
cspi/spi-roletypes.h
cspi/spi_accessible.c
idl/Accessibility_Role.idl
libspi/accessible.c

index 5970814..3dd76ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2004-07-20  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Revved to 1.5.3.
+
+       * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
+
+       * libspi/accessible.c: Added support for ROLE_EMBEDDED.
+
+       * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
+
+       * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
+       
 2004-06-11  Bill Haneman <bill.haneman@sun.com>
 
        * atk-bridge/bridge.c:
 2004-06-11  Bill Haneman <bill.haneman@sun.com>
 
        * atk-bridge/bridge.c:
diff --git a/NEWS b/NEWS
index ff95992..53d84fa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+What's new in at-spi-1.5.3: 
+
+* New role EMBEDDED (bug #144415).
+
+* Added object:bounds-changed event, for detecting when the 
+  component bounds of an object have changed onscreen.
+
+==============
+
 What's new in at-spi-1.5.2: 
 
 * Added Accessibility_LoginHelper interface, and
 What's new in at-spi-1.5.2: 
 
 * Added Accessibility_LoginHelper interface, and
diff --git a/README b/README
index 73e46a1..8adc44e 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
 README
 
 README
 
-at-spi version 1.5.2
+at-spi version 1.5.3
 
 *** Welcome to the Gnome Accessibility Project! ***
 
 
 *** Welcome to the Gnome Accessibility Project! ***
 
index 84052fc..e3b2a90 100644 (file)
@@ -2,9 +2,9 @@ AC_INIT(idl/Accessibility.idl)
 
 AT_SPI_MAJOR_VERSION=1
 AT_SPI_MINOR_VERSION=5
 
 AT_SPI_MAJOR_VERSION=1
 AT_SPI_MINOR_VERSION=5
-AT_SPI_MICRO_VERSION=2
-AT_SPI_INTERFACE_AGE=2
-AT_SPI_BINARY_AGE=2
+AT_SPI_MICRO_VERSION=3
+AT_SPI_INTERFACE_AGE=3
+AT_SPI_BINARY_AGE=3
 AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION"
 AM_INIT_AUTOMAKE(at-spi, $AT_SPI_VERSION)
 AC_SUBST(AT_SPI_MAJOR_VERSION)
 AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION"
 AM_INIT_AUTOMAKE(at-spi, $AT_SPI_VERSION)
 AC_SUBST(AT_SPI_MAJOR_VERSION)
@@ -16,7 +16,7 @@ AC_SUBST(AT_SPI_BINARY_AGE)
 # libtool versioning
 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
 LT_CURRENT=10
 # libtool versioning
 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
 LT_CURRENT=10
-LT_REVISION=2
+LT_REVISION=3
 LT_AGE=10
 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
 AC_SUBST(LT_VERSION_INFO)
 LT_AGE=10
 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
 AC_SUBST(LT_VERSION_INFO)
index c3b5a1f..2453509 100644 (file)
@@ -142,7 +142,11 @@ extern "C" {
  *                         insertion into an entry widget, for instance a list 
  *                          of words for completion of a text entry.
  * @SPI_ROLE_EDITBAR: The object is an editable text object in a toolbar
  *                         insertion into an entry widget, for instance a list 
  *                          of words for completion of a text entry.
  * @SPI_ROLE_EDITBAR: The object is an editable text object in a toolbar
-
+ * @SPI_ROLE_EMBEDDED: The object is an embedded component container.  
+ *                     This role is a  "grouping" hint that the contained 
+ *                     objects share a context which is different from the 
+ *                     container in which this accessible is embedded.
+ *                     Uses: document embedding, "panel applets", etc.
  * @SPI_ROLE_LAST_DEFINED: Used to determine the end of the role enumeration.
  *
  * Describes the role of an object
  * @SPI_ROLE_LAST_DEFINED: Used to determine the end of the role enumeration.
  *
  * Describes the role of an object
@@ -230,6 +234,7 @@ typedef enum
   SPI_ROLE_APPLICATION,
   SPI_ROLE_AUTOCOMPLETE,
   SPI_ROLE_EDITBAR,
   SPI_ROLE_APPLICATION,
   SPI_ROLE_AUTOCOMPLETE,
   SPI_ROLE_EDITBAR,
+  SPI_ROLE_EMBEDDED,
   SPI_ROLE_LAST_DEFINED
 } AccessibleRole;
 
   SPI_ROLE_LAST_DEFINED
 } AccessibleRole;
 
index ac37399..e5d3f7b 100644 (file)
@@ -190,6 +190,7 @@ cspi_init_role_table (AccessibleRole *role_table)
   role_table [Accessibility_ROLE_APPLICATION] = SPI_ROLE_APPLICATION;
   role_table [Accessibility_ROLE_AUTOCOMPLETE] = SPI_ROLE_AUTOCOMPLETE;
   role_table [Accessibility_ROLE_EDITBAR] = SPI_ROLE_EDITBAR;
   role_table [Accessibility_ROLE_APPLICATION] = SPI_ROLE_APPLICATION;
   role_table [Accessibility_ROLE_AUTOCOMPLETE] = SPI_ROLE_AUTOCOMPLETE;
   role_table [Accessibility_ROLE_EDITBAR] = SPI_ROLE_EDITBAR;
+  role_table [Accessibility_ROLE_EMBEDDED] = SPI_ROLE_EMBEDDED;
 
   return TRUE;
 }
 
   return TRUE;
 }
index 3d1a115..a64f66a 100644 (file)
@@ -274,6 +274,14 @@ module Accessibility {
    * The object is an editable text object in a toolbar.
    */
   ROLE_EDITBAR,
    * The object is an editable text object in a toolbar.
    */
   ROLE_EDITBAR,
+  /*
+   * The object is an embedded component container.  This role is a 
+   * "grouping" hint that the contained objects share a context which is 
+   * different from the container in which this accessible is embedded.
+   * In particular, it is used for some kinds of document embedding, and
+   * for embedding of out-of-process component, "panel applets", etc.
+   */
+  ROLE_EMBEDDED,
   /* not a valid role, used for finding end of enumeration. */
   ROLE_LAST_DEFINED
   };
   /* not a valid role, used for finding end of enumeration. */
   ROLE_LAST_DEFINED
   };
index db49f5b..9b4f70c 100644 (file)
@@ -120,7 +120,8 @@ spi_init_role_lookup_table (Accessibility_Role *role_table)
   role_table [ATK_ROLE_RULER] =               Accessibility_ROLE_RULER;
   role_table [ATK_ROLE_APPLICATION] =         Accessibility_ROLE_APPLICATION;
   role_table [ATK_ROLE_AUTOCOMPLETE] =        Accessibility_ROLE_AUTOCOMPLETE;
   role_table [ATK_ROLE_RULER] =               Accessibility_ROLE_RULER;
   role_table [ATK_ROLE_APPLICATION] =         Accessibility_ROLE_APPLICATION;
   role_table [ATK_ROLE_AUTOCOMPLETE] =        Accessibility_ROLE_AUTOCOMPLETE;
-  
+  role_table [ATK_ROLE_EDITBAR] =             Accessibility_ROLE_EDITBAR;
+  role_table [ATK_ROLE_EMBEDDED] =            Accessibility_ROLE_EMBEDDED;
   return TRUE;
 }
 
   return TRUE;
 }