Add new function atk_text_get_default_attributes Rename
[platform/upstream/atk.git] / ChangeLog
index 628a949..3328e46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2001-10-10  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-10-09  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atktext.c (atk_attribute_set_free):
+       Avoid leaking of AtkAttributeSet data structure; speed up code.
+
+       * docs/tmpl.atk*.sgml
+       Updated to reflect current APIs.
+
+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
+
+2001-10-01  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Add AC_LIBTOOL_WIN32_DLL.
+
+Sat Sep 29 19:45:00 2001  Bill Haneman <bill.haneman@sun.com>
+       
+       * configure.in (ATK_MICRO_VERSION): Version 0.6
+       (because libglade will depend on a the small api addition below)
+
+       * atk/makefile.msc (PKG_VER): Version 0.6
+
+       * atk/atkrelation.h:
+       * atk/atkrelation.c: (AtkRelationType 
+       atk_relation_type_from_string (const gchar *name)): Added method.
+
+       
+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
+
+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
+
+Wed Sep 19 10:46:44 2001  Tim Janik  <timj@gtk.org>
+
+       * Released 0.4.
+
+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.
+
+2001-09-11  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkobject.c:
+       Add object reference when object is set as accessible_parent
+
+2001-09-05  Mark McLoughlin <mark@skynet.ie>
+
+       * configure.in: remember ACLOCAL_FLAGS.
+
+2001-09-05  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+       
+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  
+
+2001-09-03  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-08-24  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+       
+2001-08-23  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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()
+
+2001-08-23  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-08-22  Marc Mulcahy <marc.mulcahy@sun.com>
+
+       * atk/atkaction.c atk/atkaction.h:
+       Made atk_action_do_action return a gboolean as the class member of 
+       AtkActionIface does.
+       * .cvsignore:
+       Added atk.spec
+
+2001-08-20  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-08-17  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+       
+2001-08-16  Bill Haneman  <bill.haneman@sun.com>
+
+        * atk/atkutil.c :
+        Changed g_type_class_peek() to g_type_class_ref()
+        in atk_add_global_event_listener(), since
+        g_type_class_peek() could return NULL when an
+        instance of the class had not been created.
+
+2001-08-16  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * docs/atk-sections.txt, docs/tmpl/atktext.sgml:
+       Ensure that atk_attribute_set_free is in the documentation.
+
+2001-08-16  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atktext.[c|h], docs/tmpl/atktext.sgml:
+       Changed "length" argument of atk_text_get_character_extents() to
+       "height".
+
+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.
+
+2001-08-13  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+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.
+
+2001-08-09  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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()
+
+2001-08-07  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkimage.[ch] docs/atk-sections.txt
+       docs/tmpl/atkimage.sgml
+       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.
+
+2001-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkobject.c
+       Create an object relation set when the object is created.
+
+2001-07-30  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkutil.[ch]
+       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.
+
+2001-07-27  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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
+
+2001-07-27  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * 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.
+
+2001-07-26  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/Makefile.am
+       Fix problem with ATK not building after running make maintainer-clean
+       and autogen.sh: add extra files to MAINTAINERCLEANFILES
+
+2001-07-25 Bill Haneman <bill.haneman@sun.com>
+
+       * atk/atktext.h
+       * atk/atkeditabletext.h
+       * atk.pc.in
+       * atk-uninstalled.pc.in
+       * atk/makefile.msc
+       * configure.in
+       Removed (unused) #defines of pango/pango.h
+       Removed references to/dependencies on pango from .pc files
+       Removed dependencies on pango from makefile.msc and configure.in
+
+2001-07-24  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkobject.[c|h]
+       Move some implementation from GAIL:
+       Default implementations for some some functions
+       atk_object_real_get_name, atk_object_real_set_name,
+       atk_object_real_get_description, atk_object_real_set_description,
+       atk_object_real_get_parent, atk_object_real_set_parent,
+       atk_object_real_get_role,
+       atk_object_real_connect_property_change_handler,
+       atk_object_real_remove_property_change_handler,
+       atk_object_notify,
+       definition of property-changed signal.
+       Initialize pointers to NULL in atk_object_init().
+       Initialize uninitialized function pointers to NULL in 
+       atk_object_class_init().
+       
+2001-07-23  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkobject.c
+       Changed children_changed signal to allow NULL pointers
+       for the 2nd argument to the signal handler.
+
+2001-07-20  Hans Breuer  <hans@breuer.org>
+
+       * atk/atk.def : added more exports
+       * atk/makefile.msc : updated win32 build
+
+2001-07-20  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkaction.[c|h], docs/atk-sections.txt, 
+       docs/tmpl/atkaction.sgml
+       Add atk_action_get_name() and atk_action_set_description()
+
+2001-07-18  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkstate.[c|h]
+       Add ATK_STATE_ENABLED so we can distinguish between a consistent
+       and inconsistent GtkToggleButton
+
+2001-07-16  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkeditabletext.c atk/atktext.c atk/atktext.h atk/atkutil.h
+       docs/atk-sections.txt docs/tmpl/atktext.sgml docs/tmpl/atkutil.sgml
+       gail_textattributes_update.pat is for gail/gail and integrates the 
+       ATK_ATTRIBUTE_* macros in the gail implementations.
+       atk_docs_textattributes_update.pat is for atk/docs and patches
+       atk-sections.txt etc. for improved docs
+       atk_atk_textattributes_update.pat is for atk/atk and included the
+       new ATK_ATTRIBUTE_* macros and updated gtk-doc comments.
+
+2001-07-13  Darin Adler  <darin@bentspoon.com>
+
+       * atk/atkstate.c: Add missing <string.h> include.
+       * tests/teststateset.c: Add missing <string.h> include.
+
+2001-07-13  Darin Adler  <darin@bentspoon.com>
+
+       * .cvsignore: Ignore some generated files.
+       * autogen.sh: Get rid of call to autoheader since the
+       configure file doesn't include AM_CONFIG_HEADER.
+
+2001-07-11  Brian Cameron <brian.cameron@sun.com>
+
+       * tmpl/atkdocument.sgml
+       Added new file for docs.
+
+2001-07-11  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkimage.c atk/atkutil.c
+       Changes to build with Sun's FORTE compiler.
+
+2001-07-10  Brian Cameron <brian.cameron@sun.com>
+
+       * tmpl/atk-unused.sgml tmpl/atkcomponent.sgml tmpl/atkeditabletext.sgml
+       tmpl/atkimage.sgml tmpl/atkselection.sgml tmpl/atkstate.sgml
+       tmpl/atkstreamablecontent.sgml tmpl/atktable.sgml
+       tmpl/atktext.sgml tmpl/atkutil.sgml
+       Updated docs pages.
+
+Mon Jul  2 06:37:09 2001  Tim Janik  <timj@gtk.org>
+
+       * atk/atktext.c (atk_text_base_init): 
+       * atk/atktable.c (atk_table_base_init): 
+       * atk/atkobject.c (atk_object_init): s/signal_newc/signal_new/
+       to adapt to recent GSignal changes.
+
+2001-06-28  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkutil.c atk/atkutil.h docs/atk-sections.txt
+       docs/tmpl/atkutil.sgml
+       Added new functiosn to AtkUtil.
+
+2001-06-28  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/Makefile.am atk/atk.h atk/atkdocument.c atk/atkdocument.h
+       docs/atk-docs.sgml docs/atk-sections.txt docs/tmpl/atk-unused.sgml
+       docs/tmpl/atkobject.sgml
+       Added new atk document interface.
+
+2001-06-28  Brian Cameron <brian.cameron@sun.com>
+
+       * atk/atkcomponent.c atk/atkcomponent.h atk/atkimage.c
+       atk/atkimage.h atk/atktext.c atk/atktext.h atk/atkutil.h
+       Updated so that functions that take screen coords as 
+       input/output also take an enum specifying whether
+       the coords are screen or top-level window based.
+       Updated docs as well.
+
+2001-06-28  Brian Cameron <brian.cameron@sun.com>
+
+       *atk/atkaction.c atk/atkcomponent.c atk/atkeditabletext.c
+       atk/atkhyperlink.c atk/atkobject.c atk/atkregistry.c
+       atk/atkstate.c atk/atkstateset.c atk/atkstreamablecontent.c
+       atk/atktable.c atk/atktext.c atk/atkutil.c atk/atkvalue.c
+       atk/docs/tmpl/atkstreamablecontent.sgml
+       Cleaned up docs.  Added atkstreamablecontent.sgml
+
+2001-06-28  Brian Cameron <brian.cameron@sun.com>
+
+       *atk/atktable.h, atk/atktable.c
+       Updated signal handler definitions.
+
+2001-06-27  Brian Cameron <brian.cameron@sun.com>
+
+       *atk/atktext.h
+       Updated AtkXYCoords enum.
+
+2001-06-27  Brian Cameron <brian.cameron@sun.com>
+
+       *atk/atkaction.c atk/atkaction.h atk/atkcomponent.c
+       atk/atkcomponent.h atk/atkhyperlink.c atk/atkhypertext.c
+       atk/atkimage.c atk/atkimage.h atk/atkobject.c
+       atk/atkobject.h atk/atkobjectfactory.c atk/atkregistry.c
+       atk/atkstateset.c atk/atkstreamablecontent.c
+       atk/atkstreamablecontent.h atk/atktable.c
+       atk/atktext.c, docs/atk-docs.sgml docs/atk-sections.txt
+       and some docs/tmpl files.
+       Updated gtk-docs fixing spelling errors and making minor
+       changes to the API.
+
+2001-06-27  Louise Miller <lousie.miller@sun.com>
+
+       *atk/atkselection.h, atk/atkselection.c
+       changed return type to gboolean for 
+       atk_selection_select_all_selection
+
+2001-06-26  Brian Cameron <brian.cameron@sun.com>
+
+       *atk/atkstate.h atk/atkstate.c
+       docs/tmpl/atk-unused.sgml docs/tmpl/atkselection.sgml
+       docs/tmpl/atkstate.sgml docs/tmpl/atktable.sgml
+       docs/tmpl/atktext.sgml
+       Added ATK_STATE_STALE.  Updated docs.
+
+2001-06-22  Lucy Brophy <lucy.brophy@sun.com>
+
+       *atk/atktext.h
+       Removed the macro ATK_TEXT_BOUNDARY_CURSOR_POS
+
 2001-06-21  Brian Cameron <brian.cameron@sun.com>
+
        * atk/atkeditabletext.h, atk/atkobject.h,
        atktext.[ch]
        Added AtkAttributeSet_free() convenience
        function.
 
 2001-06-20  Peter Williams  <peterw@ximian.com>
+
        * atk/atknoopobject.h: Correct prototype name: agtk_widget_get_type ->
        atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer
        G_{BEGIN,END}_DECLS.
 
 2001-06-20  Brian Cameron <brian.cameron@sun.com>
+
        * atk/atktable.c, atk/atkmarshal.list
        Removed needless marshal and updated signal handlers in
        atktable.c
 
 2001-06-20  Louise Miller <louise.miller@sun.com>
+
        *atk/atktable.h, atk/table.c, docs/tmpl/atktable.sgml   
        Changed parameters for get_selected_rows/get_selected_columns
        Added 4 new functions, add_row_selection, remove_row_selection,
        add_column_selection, remove_column_selection
 
 2001-06-19  Brian Cameron <brian.cameron@sun.com>
+
        * atk/atktable.c
        Fixed minor bug with signals.
 
 2001-06-18  Brian Cameron <brian.cameron@sun.com>
+
        * atk/atktable
        Added signals.
 
 2001-06-15  Brian Cameron & Lucy Brophy  <brian.cameron@sun.com>
+
        * atk/atkselection.h atk/atkselection.c
        Now add_selection, clear_selection, and remove_selection 
        return a boolean indicating SUCCESS/FAILURE to indicate
        if the operation was successful.
 
 2001-06-13  Brian Cameron & Lucy Brophy  <brian.cameron@sun.com>
+
        * atk/atktable.h atk/atktable.h
        Updated so now the get_text_before|at|after functions
        return the start & end offset of the string.  Updated the
@@ -130,6 +569,7 @@ Thu Jun  7 17:03:37 2001  Owen Taylor  <otaylor@redhat.com>
 
        * New files atk/atkstreamablecontent.[ch]
        Updated files: atk/Makefile.am, atk/atk.h
+
        * atk/atkvalue.c: Updated comments
 
 2001-06-06  Padraig O'Briain  <padraig.obriain@sun.com>
@@ -144,11 +584,13 @@ Thu Jun  7 17:03:37 2001  Owen Taylor  <otaylor@redhat.com>
 
        * atk/atkobject.c: Add support for setting and getting 
        accessible-value property.
+
        * atk/atkvalue.[ch] Make GValue in atk_value_set_current_value const
 
 Fri Jun 01  Brian Cameron <brian.cameron@sun.com>
 
         * atk/atkeditabletext.[ch], atk/atktext.[ch]
+
         * docs/atk-overrides.txt, docs/Makefile.am
           Updated the interface for dealing with selected
           text to handle multiple selected regions.  Removed
@@ -174,7 +616,9 @@ Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
        accessible-caret, accessible-selection and accessible-value
 
 2001-05-29  Brian Cameron <brian.cameron@sun.com>
+
         * docs/atk-sections.txt
+
         * docs/tmpl/*
         Improved the layout/formatting of the atk docs.  Added docs/tmpl
         files.
@@ -201,6 +645,7 @@ Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
 2001-05-23  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * atk/atkobject.h: Correct naming of role for status bar
+
         * atk/atktext.c: 
        Clarify behaviour of atk_text_get_text_after/at/before_offset