From bd703dfccbb700770f4629e5b5a8af45c3a8dfc3 Mon Sep 17 00:00:00 2001 From: billh Date: Tue, 20 Jul 2004 14:17:28 +0000 Subject: [PATCH] Revved to 1.5.3; added ROLE_EMBEDDED (bug #144415). git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@678 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 12 ++++++++++++ NEWS | 9 +++++++++ README | 2 +- configure.in | 8 ++++---- cspi/spi-roletypes.h | 7 ++++++- cspi/spi_accessible.c | 1 + idl/Accessibility_Role.idl | 8 ++++++++ libspi/accessible.c | 3 ++- 8 files changed, 43 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5970814..3dd76ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2004-07-20 Bill Haneman + + * 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 * atk-bridge/bridge.c: diff --git a/NEWS b/NEWS index ff95992..53d84fa 100644 --- 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 diff --git a/README b/README index 73e46a1..8adc44e 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ README -at-spi version 1.5.2 +at-spi version 1.5.3 *** Welcome to the Gnome Accessibility Project! *** diff --git a/configure.in b/configure.in index 84052fc..e3b2a90 100644 --- a/configure.in +++ b/configure.in @@ -2,9 +2,9 @@ AC_INIT(idl/Accessibility.idl) 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) @@ -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 -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) diff --git a/cspi/spi-roletypes.h b/cspi/spi-roletypes.h index c3b5a1f..2453509 100644 --- a/cspi/spi-roletypes.h +++ b/cspi/spi-roletypes.h @@ -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 - + * @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 @@ -230,6 +234,7 @@ typedef enum SPI_ROLE_APPLICATION, SPI_ROLE_AUTOCOMPLETE, SPI_ROLE_EDITBAR, + SPI_ROLE_EMBEDDED, SPI_ROLE_LAST_DEFINED } AccessibleRole; diff --git a/cspi/spi_accessible.c b/cspi/spi_accessible.c index ac37399..e5d3f7b 100644 --- a/cspi/spi_accessible.c +++ b/cspi/spi_accessible.c @@ -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_EMBEDDED] = SPI_ROLE_EMBEDDED; return TRUE; } diff --git a/idl/Accessibility_Role.idl b/idl/Accessibility_Role.idl index 3d1a115..a64f66a 100644 --- a/idl/Accessibility_Role.idl +++ b/idl/Accessibility_Role.idl @@ -274,6 +274,14 @@ module Accessibility { * 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 }; diff --git a/libspi/accessible.c b/libspi/accessible.c index db49f5b..9b4f70c 100644 --- a/libspi/accessible.c +++ b/libspi/accessible.c @@ -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_EDITBAR] = Accessibility_ROLE_EDITBAR; + role_table [ATK_ROLE_EMBEDDED] = Accessibility_ROLE_EMBEDDED; return TRUE; } -- 2.7.4