platform/upstream/atk.git
22 years agosetup parent class (atk_relation_finalize): chain to parent.
Michael Meeks [Thu, 27 Dec 2001 09:48:40 +0000 (09:48 +0000)]
setup parent class (atk_relation_finalize): chain to parent.

2001-12-15  Michael Meeks  <michael@ximian.com>

        * atk/atkrelation.c (atk_relation_class_init):
        setup parent class
        (atk_relation_finalize): chain to parent.

        * atk/atkrelationset.c (atk_relation_set_class_init),
        (atk_relation_set_finalize): same fix.

22 years agoVersion 0.8, require GLib-1.3.12 ATK_0_8
Owen Taylor [Sun, 23 Dec 2001 22:42:00 +0000 (22:42 +0000)]
Version 0.8, require GLib-1.3.12

Sat Dec 22 12:26:51 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 0.8, require GLib-1.3.12

        * atk/makefile.msc (PKG_VER): Version 0.8.

22 years agoSet GPATH - necessary for correct srcdir != builddir operation when
Owen Taylor [Thu, 20 Dec 2001 05:34:43 +0000 (05:34 +0000)]
Set GPATH - necessary for correct srcdir != builddir operation when

Thu Dec 20 00:33:47 2001  Owen Taylor  <otaylor@redhat.com>
        * atk/Makefile.am (EXTRA_DIST): Set GPATH - necessary
for correct srcdir != builddir operation when
        generating source files in srcdir.

22 years agoremove some conflict indicators.
Owen Taylor [Thu, 20 Dec 2001 05:28:37 +0000 (05:28 +0000)]
remove some conflict indicators.

Thu Dec 20 00:27:01 2001  Owen Taylor  <otaylor@redhat.com>
        * docs/tmpl/atkutil.sgml: remove some conflict
        indicators.

22 years agoAdd new functions
Padraig O'Briain [Wed, 19 Dec 2001 14:18:48 +0000 (14:18 +0000)]
Add new functions

* atk/atk.def:
Add new functions

22 years agoAdd new files atk/atkgobjectaccessible.c atk/atkgobjectaccessible.h
Padraig O'Briain [Wed, 19 Dec 2001 12:34:25 +0000 (12:34 +0000)]
Add new files atk/atkgobjectaccessible.c atk/atkgobjectaccessible.h
docs/tmpl/atkgobjectaccessible.sgml

* atk/Makefile.am atk/atk.h:
Add references to new files

* atk/atkobject.c atk/atkobject.h
docs/tmpl/atkobject.sgml:
Add new function atk_object_initialize

* atk/atkobjectfactory.c atk/atkobjectfactory.h
docs/tmpl/atkobjectfactory.sgml:
Add new function atk_object_factory_get_accessible_type

* docs/atk-sections.txt:
Add new functions.
Add functions in atk-unused.txt

22 years agoAdd missing #include <string.h>
Darin Adler [Mon, 17 Dec 2001 19:54:44 +0000 (19:54 +0000)]
Add missing #include <string.h>

* atk/atktext.c: Add missing #include <string.h>

22 years agoCompile with -DG_DISABLE_DEPRECATED. See #52790.
Sebastian Wilhelmi [Thu, 13 Dec 2001 17:21:22 +0000 (17:21 +0000)]
Compile with -DG_DISABLE_DEPRECATED. See #52790.

2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* atk/Makefile.am, tests/Makefile.am: Compile with
-DG_DISABLE_DEPRECATED. See #52790.

22 years agoRemove unnecessary g_retunn_val_if_fail() call.
Padraig O'Briain [Tue, 11 Dec 2001 17:51:01 +0000 (17:51 +0000)]
Remove unnecessary g_retunn_val_if_fail() call.

* atk/atkcomponent.c (atk_component_ref_accessible_at_position):
Remove unnecessary g_retunn_val_if_fail() call.

22 years agoparanoia is not appropriate here, setup parent_class, don't create a new
Michael Meeks [Mon, 10 Dec 2001 10:32:45 +0000 (10:32 +0000)]
paranoia is not appropriate here, setup parent_class, don't create a new

2001-12-08  Michael Meeks  <michael@ximian.com>

* atk/atkregistry.c (atk_registry_class_init):
paranoia is not appropriate here, setup parent_class,
don't create a new default registry here - makes no
sense.
(atk_registry_finalize): chain to parent class, do
g_hash_table_destroys instead of g_frees.

22 years agoatk/Makefile.am: Update to create atk-enum-types.h before compiling source
Padraig O'Briain [Fri, 7 Dec 2001 14:42:21 +0000 (14:42 +0000)]
atk/Makefile.am: Update to create atk-enum-types.h before compiling source

atk/Makefile.am:
Update to create atk-enum-types.h before compiling source files
(Problem reported by xavier ordoquy <xordoquy@aurora-linux.com>)

22 years agoshut up cvs
Manish Singh [Wed, 5 Dec 2001 20:11:30 +0000 (20:11 +0000)]
shut up cvs

22 years agoChange atk_attribute_register to atk_text_attribute_register,
Padraig O'Briain [Wed, 5 Dec 2001 09:34:12 +0000 (09:34 +0000)]
Change atk_attribute_register to atk_text_attribute_register,

* atk/atk.def atk/atktext.c atk/atktext.h docs/atk-sections.txt
docs/tmpl/atktext.sgml tests/testrelation.c:
Change atk_attribute_register to atk_text_attribute_register,
atk_attribute_get_value to atk_text_attribute_get_value,
atk_attribute_get_name to atk_text_attribute_get_name
atk_attribute_for_name to atk_text_attribuute_for_name

22 years agoAdd implementation of atk_attribute_register, atk_attribute_for_name Udate
Padraig O'Briain [Tue, 4 Dec 2001 18:39:20 +0000 (18:39 +0000)]
Add implementation of atk_attribute_register, atk_attribute_for_name Udate

* atk/atktext.c:
Add implementation of atk_attribute_register, atk_attribute_for_name
Udate atk_attribute_get_name to use ATK_TYPE_TEXT__ATTRIBUTE and
support extra attributes being defined

* atk/atktext.h:
Add ATK_TEXT_ATTR_INVALID and ATK_TEXT_ATTR_LAST_DEFINED to allow
extra attributes to be defined
Add atk_attribute_register() and atk_attribute_for_name()

* atk/atk.def:
Add new functions

* docs/atk-sections.txt docs/tmpl/atktext.sgml
Update because of additions to atk/atktext.h

* tests/testrelation.c:
Add tests for text attributes

22 years agoUpdate atk_role_register() to allow extra roles to be defined Update
Padraig O'Briain [Tue, 4 Dec 2001 17:12:48 +0000 (17:12 +0000)]
Update atk_role_register() to allow extra roles to be defined Update

* atk/atkobject.c:
Update atk_role_register() to allow extra roles to be defined
Update atk_role_get_name() and atk_role_for_name() for newly defined
roles

* tests/testrelation.c:
Add tests for roles

22 years agoUse ATK_TYPE_RELATION_TYPE in atk_relation_type_get_name() and
Padraig O'Briain [Mon, 3 Dec 2001 09:07:05 +0000 (09:07 +0000)]
Use ATK_TYPE_RELATION_TYPE in atk_relation_type_get_name() and

* atk/atkrelation.c:
Use ATK_TYPE_RELATION_TYPE in atk_relation_type_get_name() and
atk_relation_type_for_name()

* atk/atkstate.c:
Use ATK_TYPE_STATE_TYPE in atk_state_type_get_name() and
atk_state_type_for_name()

* tests/testrelation.c, tests/teststateset.c:
Update tests as name componenets are separated by hyphen (-) rather
than underline (_)

22 years agoGenerate files atk-enum-types.c and atk-enums-types.h to create types for
Padraig O'Briain [Thu, 29 Nov 2001 18:03:16 +0000 (18:03 +0000)]
Generate files atk-enum-types.c and atk-enums-types.h to create types for

* atk/Makefile.am:
Generate files atk-enum-types.c and atk-enums-types.h to create
types for enums.

* atk/atkobject.c:
Use ATK_TYPE_ROLE in atk_role_get_name() and atk_role_for_name()

22 years agoFixed bug in atkutil when no impl library (e.g. libgail) is loaded.
Bill Haneman [Thu, 29 Nov 2001 15:51:40 +0000 (15:51 +0000)]
Fixed bug in atkutil when no impl library (e.g. libgail) is loaded.
Fixed small doc bug in atkobject.

22 years agoAdd functions atk_role_get_name() and atk_role_for_name() which transform
Padraig O'Briain [Wed, 28 Nov 2001 09:14:37 +0000 (09:14 +0000)]
Add functions atk_role_get_name() and atk_role_for_name() which transform

* atk/atkobject.[c|h]:
Add functions atk_role_get_name() and atk_role_for_name() which
transform a role into an untranslated string
Update comments in atkobject.h which refer to property names

* atk/atkrelation.c:
Correct error in atk_relation_type_get_name

* docs/atk-sections.txt
Added atk_role_get_name and atk_role_for_name

* docs/tmpl/*sgml
Updated files

22 years agosync docs
Tim Janik [Sun, 25 Nov 2001 21:59:14 +0000 (21:59 +0000)]
sync docs

22 years agoupdated externals
Hans Breuer [Fri, 23 Nov 2001 16:00:40 +0000 (16:00 +0000)]
updated externals

2001-11-23  Hans Breuer  <hans@breuer.org>

* atk/atk.def : updated externals

* atk/atktext.c atk/atkutil.c : added two spaces to fix
minor coding style issues. Found by my exports generator.

* atk/makefile.msc : version 0.7, use build dir from
$(TOP)\glib

22 years agoVersion 0.7 ATK_0_7
Owen Taylor [Thu, 22 Nov 2001 20:00:43 +0000 (20:00 +0000)]
Version 0.7

Thu Nov 22 14:37:40 2001  Owen Taylor  <otaylor@redhat.com>

        * Version 0.7

        * configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.11

22 years agoSpecify role as ATK_ROLE_INVALID and layer as ATK_LAYER_INVALID when
Padraig O'Briain [Thu, 22 Nov 2001 17:53:46 +0000 (17:53 +0000)]
Specify role as ATK_ROLE_INVALID and layer as ATK_LAYER_INVALID when

* atk/atknoopobject.c:
Specify role as ATK_ROLE_INVALID and layer as ATK_LAYER_INVALID
when creating object

22 years agoChange atk_relation_type_from_string to atk_relation_type_for_name Add
Padraig O'Briain [Thu, 22 Nov 2001 15:58:58 +0000 (15:58 +0000)]
Change atk_relation_type_from_string to atk_relation_type_for_name Add

* atk/atk.def, atk/atkrelationtype.h, docs/atk-sections.txt,
docs/tmpl/atkrelation.sgml:
Change atk_relation_type_from_string to atk_relation_type_for_name
Add atk_relation_type_get_name

* atk/atkrelationtype.c:
Change atk_relation_type_from_string to atk_relation_type_for_name
Add atk_relation_type_get_name
Update atk_relation_type_register() to correctly register new
relation types

* atk/atkstate.c:
Changed name of static variable type to last_type
Changed name of paremeter if atk_state_type_get_name to type to match
comments

* docs/tmpl/*sgml
Updated files

* tests/README, tests/Makefile.am
Add new test file testrelation.c

22 years agoFix/clarify gtk-doc comment in atk_add_key_event_listener in atkutil.c
Bill Haneman [Thu, 22 Nov 2001 13:21:04 +0000 (13:21 +0000)]
Fix/clarify gtk-doc comment in atk_add_key_event_listener in atkutil.c

22 years agoswitch to class_peek.
Michael Meeks [Thu, 22 Nov 2001 11:56:09 +0000 (11:56 +0000)]
switch to class_peek.

2001-11-22  Michael Meeks  <michael@ximian.com>

        * atk/atkutil.c (atk_add_key_event_listener): switch
        to class_peek.

        * atk/atkobject.c (atk_object_real_get_property):
        add missing 'break'.

2001-11-21  Michael Meeks  <michael@ximian.com>

        * atk/atkrelation.c: pull in string.h for strcmp

        * atk/atktext.c (atk_text_get_selection): fix bug / warning.

        * atk/atkutil.c (atk_add_global_event_listener),
        (atk_get_toolkit_name, atk_get_toolkit_version):
        constify

23 years agoAdded missing gtk-doc comments for atk_relation_type_from_string.
Bill Haneman [Wed, 21 Nov 2001 23:15:33 +0000 (23:15 +0000)]
Added missing gtk-doc comments for atk_relation_type_from_string.

23 years agoBack out an uneeded version number bump
Owen Taylor [Wed, 21 Nov 2001 23:06:39 +0000 (23:06 +0000)]
Back out an uneeded version number bump

23 years agoVersions 0.0.8, interface, binary age 0. Fix trailing comma on
Owen Taylor [Wed, 21 Nov 2001 23:05:32 +0000 (23:05 +0000)]
Versions 0.0.8, interface, binary age 0. Fix trailing comma on

Wed Nov 21 17:54:44 2001  Owen Taylor  <otaylor@redhat.com>
        * configure.in (ATK_MICRO_VERSION): Versions 0.0.8,
        interface, binary age 0.
        * atk/atkobject.h (enum): Fix trailing comma on
        enumeration.
        * docs/atk-sections.txt: Update.
        * NEWS: Updates

23 years agoAdd additional argument (name) to state-change signal Update
Padraig O'Briain [Wed, 21 Nov 2001 16:09:24 +0000 (16:09 +0000)]
Add additional argument (name) to state-change signal Update

* atk/atkobject.[c|h]:
Add additional argument (name) to state-change signal
Update atk_object_notify_state_change to take account of
extra argument for state-change

* atk/atkmarshal.list:
Add marshaller for VOID:STRING,BOOLEAN

23 years agoAdd enum AtkLayer and functions atk_object_get_layer and
Padraig O'Briain [Wed, 21 Nov 2001 14:52:34 +0000 (14:52 +0000)]
Add enum AtkLayer and functions atk_object_get_layer and

* atk/atkobject.[c|h], docs/atk-sections.txt, docs/tmpl/atkobject.sgml:
Add enum AtkLayer and functions atk_object_get_layer and
atk_object_get_mdi_zorder

23 years agoAdded missing 'break' in atk_object_real_get_property.
Bill Haneman [Wed, 21 Nov 2001 09:33:20 +0000 (09:33 +0000)]
Added missing 'break' in atk_object_real_get_property.

23 years agoRemove property accessible-state; use signal state-change instead Change
Padraig O'Briain [Tue, 20 Nov 2001 11:38:38 +0000 (11:38 +0000)]
Remove property accessible-state; use signal state-change instead Change

* atk/atkobject.[c|h]:
Remove property accessible-state; use signal state-change instead
Change signature of state-change handler to take gboolean as argument
instead of AtkPropertyValues
Update atk_object_notify_state_change() to emit state-change signal

* atk/atkstate.[c|h], docs.atkstate.sgml:
Remove state ATK_STATE_COLLAPSED

23 years agoIntroduced AtkKeyEventType, to insulate us from GDK dependencies.
Bill Haneman [Tue, 20 Nov 2001 11:34:09 +0000 (11:34 +0000)]
Introduced AtkKeyEventType, to insulate us from GDK dependencies.

23 years agoChange to signature of atk_add_event_listener to use AtkKeySnoopFunc instead
Bill Haneman [Mon, 19 Nov 2001 15:39:12 +0000 (15:39 +0000)]
Change to signature of atk_add_event_listener to use AtkKeySnoopFunc instead
of pointer to same.
Changed AtkKeySnoopFunc sig: removed AtkObjectImplementor arg since snooped
keys are not reliably associated with AtkObjects.

23 years agoAdded state-change signal to AtkObject (will deprecate accessible-state property)
Bill Haneman [Mon, 19 Nov 2001 10:48:31 +0000 (10:48 +0000)]
Added state-change signal to AtkObject (will deprecate accessible-state property)
Fixed API problem in atk_util_add_key_listener.

23 years agoFix bug in calculation of number of toggle states
Padraig O'Briain [Mon, 19 Nov 2001 10:13:52 +0000 (10:13 +0000)]
Fix bug in calculation of number of toggle states

* atk/atkobject.c (atk_object_notify_state_change):
Fix bug in calculation of number of toggle states

* atk/atkstate.c:
Correct out-by-1 error in atk_state_type_register()
Use type (number of states defined) in atk_state_type_get_name()
and atk_state_type_for_name()

23 years agoRemove unused structure _AtkEditableTextIfaceClass
Padraig O'Briain [Sat, 17 Nov 2001 11:56:03 +0000 (11:56 +0000)]
Remove unused structure _AtkEditableTextIfaceClass

* atk/atkeditabletext.c:
Remove unused structure _AtkEditableTextIfaceClass

* atk/atkobject.[c|h]
Remove signals model_changed and selection_changed

* atk/selection.[c|h]
Add signal selection_changed

* atk/atktable.[c|h]
Remove unused structure _AtkTableIfaceClass
Add signal model_changed

* atk/atktext.[c|h]
Remove unused structure _AtkTextIfaceClass
Add signal text_selection_changed

* docs/tmpl/atkobject.sgml, docs/tmpl/atkselection.sgml,
docs/tmpl/atktable.sgml, atk/tmpl/atktext.sgml:
Documentation changes

23 years agoBuild separate runtime and developer packages.
Tor Lillqvist [Sat, 17 Nov 2001 01:21:11 +0000 (01:21 +0000)]
Build separate runtime and developer packages.

2001-11-17  Tor Lillqvist  <tml@iki.fi>

* atk-zip.sh.in: Build separate runtime and developer packages.

* atk/atk.def: Update.

23 years agoAdded (missing) functions atk_add_key_listener() and atk_remove_key_listener()
Bill Haneman [Thu, 15 Nov 2001 01:41:37 +0000 (01:41 +0000)]
Added (missing) functions atk_add_key_listener() and atk_remove_key_listener()

23 years agoRevved micro version, since API was added last checkin.
Bill Haneman [Wed, 14 Nov 2001 14:38:01 +0000 (14:38 +0000)]
Revved micro version, since API was added last checkin.

23 years agoAdded API for key snoop functions, to allow non-GTK-specific registration
Bill Haneman [Wed, 14 Nov 2001 14:32:54 +0000 (14:32 +0000)]
Added API for key snoop functions, to allow non-GTK-specific registration
of toolkit-level key snoopers.

23 years agoNotify previous value when a state if toggled, e.g. ATK_STATE_COLLAPSED to
Padraig O'Briain [Thu, 8 Nov 2001 09:24:47 +0000 (09:24 +0000)]
Notify previous value when a state if toggled, e.g. ATK_STATE_COLLAPSED to

* atk/atkobject.c (atk_object_notify_state_change):
Notify previous value when a state if toggled, e.g. ATK_STATE_COLLAPSED
to ATK_STATE_EXPANDED or vice versa.

23 years agoAdd role ATK_ROLE_TREE_TABLE
Padraig O'Briain [Mon, 5 Nov 2001 12:42:21 +0000 (12:42 +0000)]
Add role ATK_ROLE_TREE_TABLE

* atk/atkobject.h:
Add role ATK_ROLE_TREE_TABLE

* atk/atkrelation.h:
Remove ATK_RELATION_NODE_CHILDREN and ATK_RELATION_NODE_PARENT
and added ATK_RELATION_NODE_CHILD_OF; this is for use by TreeTable

* docs/tmpl/atk-unused.sgml, docs/tmpl/atkaction.smgl,
docs/tmpl/atkcomponent.sgml, docs/tmpl/atkdocument.sgml,
docs/tmpl/atkeditabletext.tmpl, docs/tmpl/atkimage.tmpl,
docs/tmpl/atkobject.sgml, docs/tmpl/atkrelation.sgml,
docs/tmpl/atkselection.sgml, docs/tmpl/atkstate.sgml,
docs/tmpl/atkstreamablecontent.sgml, docs/tmpl/atktable.sgml,
docs/tmpl/atktext.sgml, docs/tmpl/atkutil.sgml:
Update to reflect the current state of the documentation in the code.

23 years agoAdd two new relations ATK_RELATION_NODE_CHILDREN and
Padraig O'Briain [Wed, 31 Oct 2001 15:35:58 +0000 (15:35 +0000)]
Add two new relations ATK_RELATION_NODE_CHILDREN and

* atk/relation.h, docs/tmpl/atkrelation.sgml:
Add two new relations ATK_RELATION_NODE_CHILDREN and
ATK_RELATION_NODE_PARENT to support compound objects in a
node or cell of a tree or table
Added descriptions of all relations which are defined

* atk/atktable.c:
Remove functions atk_table_real_get_index_at(),
atk_table_real_get_column_at_index() and
atk_table_real_get_row_at_index()
Correct typos in documentation of other functions.

23 years agoshut up CVS
Sven Neumann [Tue, 30 Oct 2001 16:57:36 +0000 (16:57 +0000)]
shut up CVS

23 years agoNew file, used to build developer package for Win32.
Tor Lillqvist [Sun, 28 Oct 2001 10:59:50 +0000 (10:59 +0000)]
New file, used to build developer package for Win32.

2001-10-28  Tor Lillqvist  <tml@iki.fi>

* atk-zip.sh.in: New file, used to build developer package for
Win32.

* Makefile.am
* configure.in: Add it.

* atk/Makefile.am: Add rules to install and uninstall mingw import
library.

23 years agodoc building updates.
Tim Janik [Fri, 26 Oct 2001 14:03:39 +0000 (14:03 +0000)]
doc building updates.

23 years agoatk/atkobject.[c|h] Remove the following properties accessible-child - use
Padraig O'Briain [Fri, 26 Oct 2001 08:57:38 +0000 (08:57 +0000)]
atk/atkobject.[c|h] Remove the following properties accessible-child - use

* atk/atkobject.[c|h]
Remove the following properties
accessible-child - use signal children_changed for notification
accessible-text - use signal text_changed for notification
accessible-caret - use signal text_caret_moved for notification
accessible-selection - use new signal selection_changed
for notification
accessible-visible-data - use new signal visible_data_changed
for notification
accessible-model - use new signal model_changed for notification
Notify when role or parent changes
Allow parent and role to be set or got using g_object_set() or
g_object_get()

23 years agoVersion 0.6 ATK_0_6
Owen Taylor [Thu, 25 Oct 2001 18:59:53 +0000 (18:59 +0000)]
Version 0.6

Wed Oct 24 11:13:13 2001  Owen Taylor  <otaylor@redhat.com>

        * Version 0.6

        * NEWS: Updates.

23 years agoAdd role ATK_ROLE_TERMINAL for an accessible terminal.
Padraig O'Briain [Thu, 25 Oct 2001 12:49:39 +0000 (12:49 +0000)]
Add role ATK_ROLE_TERMINAL for an accessible terminal.

* atk/atkobject.h, docs/tmpl/atkobject.sgml:
Add role ATK_ROLE_TERMINAL for an accessible terminal.

23 years agoInitialize AtkPropertyValue data structure to 0 instead of using memset.
Padraig O'Briain [Mon, 22 Oct 2001 07:25:09 +0000 (07:25 +0000)]
Initialize AtkPropertyValue data structure to 0 instead of using memset.

* atk/atkobject.c (atk_object_notify_state_change):
Initialize AtkPropertyValue data structure to 0 instead of using
memset.

23 years agoSet automake conditionals OS_WIN32 if on (native) Win32, and
Tor Lillqvist [Fri, 19 Oct 2001 20:18:22 +0000 (20:18 +0000)]
Set automake conditionals OS_WIN32 if on (native) Win32, and

2001-10-19  Tor Lillqvist  <tml@iki.fi>

* configure.in: Set automake conditionals OS_WIN32 if on (native)
Win32, and MS_LIB_AVAILABLE if lib.exe is available. Calculate
LT_CURRENT - LT_AGE and set LT_CURRENT_MINUS_AGE to that value.

* atk/Makefile.am: Add atk.def to EXTRA_DIST. On Win32, use
-export-symbols atk.def. If lib.exe is available, generate
atk.lib, and install it.

* atk/atk.def: Update with new entry points.

23 years agoAdd convenience function atk_object_notify_state_change() to generate
Padraig O'Briain [Fri, 19 Oct 2001 15:21:01 +0000 (15:21 +0000)]
Add convenience function atk_object_notify_state_change() to generate

* atk/atkobject.[c|], docs/atk-sections.txt,
docs/tmpl/atkobject.sgml:
Add convenience function atk_object_notify_state_change()
to generate property notification of state change.

* atk/atktext.c, docs/tmpl/atk-unused.sgml:
Correct comments on functions atk_attribute_get_name() and
atk_attribute_get_value()

23 years agoUpdate comments in atk_text_get_text_[at|after|before]_offset() to clarify
Padraig O'Briain [Wed, 17 Oct 2001 16:00:39 +0000 (16:00 +0000)]
Update comments in atk_text_get_text_[at|after|before]_offset() to clarify

* atk/atktext.c:
Update comments in atk_text_get_text_[at|after|before]_offset()
to clarify what these functions will return.

23 years agoUpdate comments in atk_text_get_run_attributes() and
Padraig O'Briain [Tue, 16 Oct 2001 17:23:14 +0000 (17:23 +0000)]
Update comments in atk_text_get_run_attributes() and

* atk/atktext.c:
Update comments in atk_text_get_run_attributes() and
atk_text_get_default_attributes().

23 years agoChange "property-change" signal to allow detail (i.e. property name) and
Padraig O'Briain [Mon, 15 Oct 2001 14:26:06 +0000 (14:26 +0000)]
Change "property-change" signal to allow detail (i.e. property name) and

* atk/atkobject;c:
Change "property-change" signal to allow detail (i.e. property name)
and add detail in atk_object_notify().

23 years agoCorrect order of attribute names in text_attr_name array.
Padraig O'Briain [Mon, 15 Oct 2001 08:06:40 +0000 (08:06 +0000)]
Correct order of attribute names in text_attr_name array.

* atk/atktext.c:
Correct order of attribute names in text_attr_name array.

23 years agoUse enum AtkTextAttribute to specify what attribute are supported rather
Padraig O'Briain [Fri, 12 Oct 2001 16:22:48 +0000 (16:22 +0000)]
Use enum AtkTextAttribute to specify what attribute are supported rather

* atk/atktext.[c|h]:
* docs/atk-sections.txt, docs/tmpl/atktext.sgml:
Use enum AtkTextAttribute to specify what attribute are supported
rather than hash defines. Define new functions atk_attribute_get_name()
and atk_attribute_get_value() which return the strings for the
attribute name and values for those attribute which have named values.

23 years agoAdd call to set iface.
Padraig O'Briain [Wed, 10 Oct 2001 14:59:28 +0000 (14:59 +0000)]
Add call to set iface.

* atk/atktext.c (atk_text_get_default_attributes):
Add call to set iface.

23 years agoCorrect typo.
Padraig O'Briain [Wed, 10 Oct 2001 14:47:50 +0000 (14:47 +0000)]
Correct typo.

* atk/atktext.c (atk_text_get_run_attributes):
Correct typo.

23 years agoAdd new function atk_text_get_default_attributes Rename
Padraig O'Briain [Wed, 10 Oct 2001 11:49:47 +0000 (11:49 +0000)]
Add new function atk_text_get_default_attributes Rename

* atk/atktext.[c|h]:
* docs/atk-sections.txt, docs/tmpl/atktext.sgml:
Add new function atk_text_get_default_attributes
Rename atk_text_ref_run_attributes to atk_text_get_run_attributes

23 years agodocs/tmpl.atk*.sgml Updated to reflect current APIs.
Padraig O'Briain [Tue, 9 Oct 2001 14:11:13 +0000 (14:11 +0000)]
docs/tmpl.atk*.sgml Updated to reflect current APIs.

* docs/tmpl.atk*.sgml
Updated to reflect current APIs.

23 years agoAvoid leaking of AtkAttributeSet data structure; speed up code.
Padraig O'Briain [Tue, 9 Oct 2001 14:01:44 +0000 (14:01 +0000)]
Avoid leaking of AtkAttributeSet data structure; speed up code.

* atk/atktext.c (atk_attribute_set_free):
Avoid leaking of AtkAttributeSet data structure; speed up code.

23 years agodepend on all-local so that make dist works correctly w/o having to build
jacob berkman [Mon, 1 Oct 2001 23:39:49 +0000 (23:39 +0000)]
depend on all-local so that make dist works correctly w/o having to build

2001-10-01  jacob berkman  <jacob@ximian.com>

* docs/Makefile.am (dist-hook-local): depend on all-local so that
make dist works correctly w/o having to build first

23 years agoAdd AC_LIBTOOL_WIN32_DLL.
Tor Lillqvist [Mon, 1 Oct 2001 20:26:53 +0000 (20:26 +0000)]
Add AC_LIBTOOL_WIN32_DLL.

2001-10-01  Tor Lillqvist  <tml@iki.fi>

* configure.in: Add AC_LIBTOOL_WIN32_DLL.

23 years agoUpped rev to match other makefiles.
Bill Haneman [Sat, 29 Sep 2001 22:58:04 +0000 (22:58 +0000)]
Upped rev to match other makefiles.

23 years agoAdded method for getting an AtkRelationType from a string.
Bill Haneman [Sat, 29 Sep 2001 18:52:37 +0000 (18:52 +0000)]
Added method for getting an AtkRelationType from a string.
Rev'ed package as a result.

23 years agoVersion 0.5 ATK_0_5
Owen Taylor [Tue, 25 Sep 2001 16:40:03 +0000 (16:40 +0000)]
Version 0.5

Tue Sep 25 12:08:52 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in (ATK_MICRO_VERSION): Version 0.5

        * configure.in (GLIB_REQUIRED_VERSION): Up to 1.3.9

        * atk/makefile.msc (PKG_VER): Version 0.5

23 years agoupdated externals version 0.4
Hans Breuer [Fri, 21 Sep 2001 19:53:03 +0000 (19:53 +0000)]
updated externals version 0.4

2001-09-21  Hans Breuer  <hans@breuer.org>

* atk/atk.def : updated externals
* atk/makefile.msc : version 0.4

* atk/atktext.c (atk_text_get_character_extents) : real_height
is a reference to int, so use &local_height

23 years agoReleased 0.4. ATK_0_4
Tim Janik [Wed, 19 Sep 2001 09:05:23 +0000 (09:05 +0000)]
Released 0.4.

Wed Sep 19 10:46:44 2001  Tim Janik  <timj@gtk.org>

        * Released 0.4.

23 years agoauto init from ATK_VERSION. up ATK_VERSION to 0.4, interface age 0, binary
Tim Janik [Tue, 18 Sep 2001 23:39:51 +0000 (23:39 +0000)]
auto init from ATK_VERSION. up ATK_VERSION to 0.4, interface age 0, binary

Tue Sep 18 23:41:32 2001  Tim Janik  <timj@gtk.org>

        * configure.in (AM_INIT_AUTOMAKE): auto init from ATK_VERSION.
        up ATK_VERSION to 0.4, interface age 0, binary age 0.
        (from 0.2 which was not properly updated last time).
        depend on glib 1.3.8.

        * NEWS: updates.

23 years agoAdd object reference when object is set as accessible_parent
Padraig O'Briain [Tue, 11 Sep 2001 08:58:58 +0000 (08:58 +0000)]
Add object reference when object is set as accessible_parent

* atk/atkobject.c:
Add object reference when object is set as accessible_parent

23 years agoremember ACLOCAL_FLAGS.
Mark McLoughlin [Wed, 5 Sep 2001 13:49:12 +0000 (13:49 +0000)]
remember ACLOCAL_FLAGS.

2001-09-05  Mark McLoughlin <mark@skynet.ie>

        * configure.in: remember ACLOCAL_FLAGS.

23 years agoatk/atktable.[c|h] Change atk_table_get_caption() and
Padraig O'Briain [Wed, 5 Sep 2001 10:45:22 +0000 (10:45 +0000)]
atk/atktable.[c|h] Change atk_table_get_caption() and

* atk/atktable.[c|h]
Change atk_table_get_caption() and atk_table_set_caption()
to deal with AtkObject* rather than gchar*
Remove redundant and incorrect comments

23 years agoVersion 0.3 ATK_0_3
Owen Taylor [Tue, 4 Sep 2001 15:09:30 +0000 (15:09 +0000)]
Version 0.3

Mon Sep  3 19:42:47 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 0.3

        * configure.in (GLIB_REQUIRED_VERSION): Require GTK+-1.3.7

        * NEWS: Update

23 years agoCorrect property definitions for "accessible-table-caption",
Padraig O'Briain [Mon, 3 Sep 2001 14:36:07 +0000 (14:36 +0000)]
Correct property definitions for "accessible-table-caption",

* atk/atkobject.c:
Correct property definitions for "accessible-table-caption",
"accessible-table-column-description",
"accessible-table-row-description"
* atk/atkobject.h:
Update comments to include all properties defined

23 years agoMon Aug 27 2001 Jens Finke <jens@gnome.org> - glib2 package now required -
Jens Finke [Mon, 27 Aug 2001 14:36:17 +0000 (14:36 +0000)]
Mon Aug 27 2001 Jens Finke <jens@gnome.org> - glib2 package now required -

* Mon Aug 27 2001 Jens Finke <jens@gnome.org>
- glib2 package now required
- updated source url

23 years agoChange AtkHyperLink to AtkHyperlink in comment Change AtkHyperLink to
Padraig O'Briain [Fri, 24 Aug 2001 10:31:34 +0000 (10:31 +0000)]
Change AtkHyperLink to AtkHyperlink in comment Change AtkHyperLink to

* atk/atkhyperlink.h:
Change AtkHyperLink to AtkHyperlink in comment
* atk/atkhypertext.[c|h]:
Change AtkHyperLink to AtkHyperlink
* atk/atktable.[c|h]:
Make gchar* arguments const; make return value of type gchar*
G_CONST_RETURN
* docs/atk-sections.txt
Remove reference to AtkHyperLink
* docs/atk-used.sgml, docs/tmpl/atkhyperlink.sgml
docs/tmpl/atkhypertext.sgml, docs/tmpl/atkdocs.sgml:
Updated by make

23 years agoatk/atktable.c Add functions atk_table_real_get_index_at(),
Padraig O'Briain [Thu, 23 Aug 2001 12:28:30 +0000 (12:28 +0000)]
atk/atktable.c Add functions atk_table_real_get_index_at(),

* atk/atktable.c
Add functions atk_table_real_get_index_at(),
atk_table_real_get_row_at_index(), atk_table_real_get_column_at_index()
as default implementations for atk_table_get_index_at(),
atk_table_get_row_at_index(), atk_table_get_column_at_index()

23 years agoRefer to return value in function documentation for atk_action_do_action
Padraig O'Briain [Thu, 23 Aug 2001 07:41:34 +0000 (07:41 +0000)]
Refer to return value in function documentation for atk_action_do_action

* atk/atkaction.c:
Refer to return value in function documentation for
atk_action_do_action
* atk/atkimage.c:
Fix typo in comments
* docs/tmpl/atkaction.sgml:
Update to include return value

23 years agoAtkAction.c AtkAction.h:
Marc Mulcahy [Thu, 23 Aug 2001 04:32:08 +0000 (04:32 +0000)]
AtkAction.c AtkAction.h:
Made atk_action_do_action return a gboolean as the class member of AtkActionIface does.

.cvsignore:
Added atk.spec

23 years agoSwap height and width arguments to atk_image_get_image_size Swap height EA_1_0
Padraig O'Briain [Mon, 20 Aug 2001 08:35:46 +0000 (08:35 +0000)]
Swap height and width arguments to atk_image_get_image_size Swap height

* docs/tmpl/atkimage.sgml atk/atkimage.h:
Swap height and width arguments to atk_image_get_image_size
* atk/atkimage.c:
Swap height and height arguments to atk_image_get_image_size
Do not crash if NULL pointers are passed for return values

23 years agoSwap height and width arguments to atk_image_get_image_size Swap height
Padraig O'Briain [Fri, 17 Aug 2001 14:56:55 +0000 (14:56 +0000)]
Swap height and width arguments to atk_image_get_image_size Swap height

* docs/tmpl/atkimage.sgml atk/atktext.h:
Swap height and width arguments to atk_image_get_image_size
* atk/atktext.c:
Swap height and height arguments to atk_image_get_image_size
Do not crash if NULL pointers are passed for return values

23 years agoChange parameter names *offset to *_offset Do not crash if NULL pointers
Padraig O'Briain [Fri, 17 Aug 2001 14:34:21 +0000 (14:34 +0000)]
Change parameter names *offset to *_offset Do not crash if NULL pointers

* docs/tmpl/atktext.sgml atk/atktext.h:
Change parameter names *offset to *_offset
* atk/atkcomponent.c:
Do not crash if NULL pointers are passed for return values
* atk/atktext.c:
Change parameter names *offset to *_offset
Do not crash if NULL pointers are passed for return values

23 years agoChanged atk_util_add_global_event_listener to ensure that
Bill Haneman [Thu, 16 Aug 2001 21:47:42 +0000 (21:47 +0000)]
Changed atk_util_add_global_event_listener to ensure that
ATK_UTIL class has been registered before the call.

23 years agoEnsure that atk_attribute_set_free is in the documentation.
Padraig O'Briain [Thu, 16 Aug 2001 11:51:51 +0000 (11:51 +0000)]
Ensure that atk_attribute_set_free is in the documentation.

* docs/atk-sections.txt, docs/tmpl/atktext.sgml:
Ensure that atk_attribute_set_free is in the documentation.

23 years agoSwapped order of width and height arguments to
Padraig O'Briain [Thu, 16 Aug 2001 11:36:03 +0000 (11:36 +0000)]
Swapped order of width and height arguments to

* atk/atktext.[c|h], docs/tmpl/atktext.sgml:
Swapped order of width and height arguments to
atk_text_get_character_extents()
Changed AtkAttrributeSet_free to atk_attribute_set_free

23 years agoChanged "length" argument of atk_text_get_character_extents() to "height".
Padraig O'Briain [Wed, 15 Aug 2001 16:54:52 +0000 (16:54 +0000)]
Changed "length" argument of atk_text_get_character_extents() to "height".

* atk/atktext.[c|h], docs/tmpl/atktext.sgml:
Changed "length" argument of atk_text_get_character_extents() to
"height".

23 years agoAdded atk.spec and atk.spec.in files. Moved GLIB_REQUIRED_VERSION to top
Jens Finke [Tue, 14 Aug 2001 22:32:17 +0000 (22:32 +0000)]
Added atk.spec and atk.spec.in files. Moved GLIB_REQUIRED_VERSION to top

2001-08-15  Jens Finke <jens@gnome.org>

* Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files.
* configure.in: Moved GLIB_REQUIRED_VERSION to top of file and
added a AC_SUBST for it. This is needed for the spec.in file.
Added atk.spec to output list.
* atk.spec.in: New file.

23 years agoatk/atkcomponent.[c|h] docs/atk-sections.txt, docs/tmpl/atkcomponent.sgml
Padraig O'Briain [Mon, 13 Aug 2001 16:02:44 +0000 (16:02 +0000)]
atk/atkcomponent.[c|h] docs/atk-sections.txt, docs/tmpl/atkcomponent.sgml

* atk/atkcomponent.[c|h]
* docs/atk-sections.txt, docs/tmpl/atkcomponent.sgml
Change atk_component_get_accessible_at_point to
atk_component_ref_accessible_at_point so it will work for flyweights

23 years agoSet GPATH to fix srcdir != builddir problems with GNU make.
Owen Taylor [Sun, 12 Aug 2001 14:35:04 +0000 (14:35 +0000)]
Set GPATH to fix srcdir != builddir problems with GNU make.

Sun Aug 12 10:33:02 2001  Owen Taylor  <otaylor@redhat.com>

* docs/Makefile.am: Set GPATH to fix srcdir != builddir problems
        with GNU make.

23 years agoUpdated docs
Brian Cameron [Thu, 9 Aug 2001 11:28:15 +0000 (11:28 +0000)]
Updated docs

23 years agoatk/atkaction.c, atk/atkcomponent.c Remove all instances of
Padraig O'Briain [Thu, 9 Aug 2001 10:58:07 +0000 (10:58 +0000)]
atk/atkaction.c, atk/atkcomponent.c Remove all instances of

* atk/atkaction.c, atk/atkcomponent.c
Remove all instances of g_return_if_fail (foo != NULL); that are
immediately before a g_return_if_fail (ATK_IS_FOO (foo));
since the second check catches the NULL.
* atk/atkcomponent.c
Add functions atk_component_real_contains(),
atk_component_real_get_position(), atkcomponent_real_get_size()
as default implementations for atk_component_contains(),
atk_component_get_position(), atk_component_get_size()

23 years agoUpdated AtkImage get_position to get_image_position
Brian Cameron [Tue, 7 Aug 2001 15:26:38 +0000 (15:26 +0000)]
Updated AtkImage get_position to get_image_position
so the naming is consistant.  Now get_image_position
and get_image_size return -1 for x/y/height/width
if AtkImage implementations of these functions is
not found.

23 years agoatk/atkobject.c Create an object relation set when the object is created.
Padraig O'Briain [Tue, 31 Jul 2001 09:19:49 +0000 (09:19 +0000)]
atk/atkobject.c Create an object relation set when the object is created.

* atk/atkobject.c
Create an object relation set when the object is created.

23 years agoChanged first argument of atk_add_global_event_listener
Brian Cameron [Mon, 30 Jul 2001 17:42:46 +0000 (17:42 +0000)]
Changed first argument of atk_add_global_event_listener
so the callback function is of type GSignalEmissionHook
instead of AtkEventListener.  AtkEventListener is
appropriate for Focus event callbacks, but not generic
ones.

23 years agoAdd function atk_object_real_ref_state_set() which creates the state set
Padraig O'Briain [Fri, 27 Jul 2001 14:12:01 +0000 (14:12 +0000)]
Add function atk_object_real_ref_state_set() which creates the state set

* atk/atkobject.c:
Add function atk_object_real_ref_state_set() which creates the
state set and adds states ATK_STATE_SELECTABLE and ATK_STATE_SELECTED
if appropriate

23 years agoRemove all instances of g_return_if_fail (foo != NULL); that are
Padraig O'Briain [Fri, 27 Jul 2001 08:33:35 +0000 (08:33 +0000)]
Remove all instances of g_return_if_fail (foo != NULL); that are

* atk/*.c:
Remove all instances of g_return_if_fail (foo != NULL); that are
immediately before a g_return_if_fail (ATK_IS_FOO (foo));
since the second check catches the NULL.

23 years agoUpdated ChangeLog entries which had gotten misplaced.
Bill Haneman [Thu, 26 Jul 2001 09:40:36 +0000 (09:40 +0000)]
Updated ChangeLog entries which had gotten misplaced.