Changed atk_util_add_global_event_listener to ensure that
[platform/upstream/atk.git] / ChangeLog
1 2001-08-16  Bill Haneman  <bill.haneman@sun.com>
2
3         * atk/atkutil.c :
4         Changed g_type_class_peek() to g_type_class_ref()
5         in atk_add_global_event_listener(), since
6         g_type_class_peek() could return NULL when an
7         instance of the class had not been created.
8
9 2001-08-16  Padraig O'Briain  <padraig.obriain@sun.com>
10
11         * docs/atk-sections.txt, docs/tmpl/atktext.sgml:
12         Ensure that atk_attribute_set_free is in the documentation.
13
14 2001-08-16  Padraig O'Briain  <padraig.obriain@sun.com>
15
16         * atk/atktext.[c|h], docs/tmpl/atktext.sgml:
17         Swapped order of width and height arguments to
18         atk_text_get_character_extents()
19         Changed AtkAttrributeSet_free to atk_attribute_set_free
20
21 2001-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
22
23         * atk/atktext.[c|h], docs/tmpl/atktext.sgml:
24         Changed "length" argument of atk_text_get_character_extents() to
25         "height".
26
27 2001-08-15  Jens Finke <jens@gnome.org>
28
29         * Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files.
30         * configure.in: Moved GLIB_REQUIRED_VERSION to top of file and
31         added a AC_SUBST for it. This is needed for the spec.in file.
32         Added atk.spec to output list.
33         * atk.spec.in: New file.
34
35 2001-08-13  Padraig O'Briain  <padraig.obriain@sun.com>
36
37         * atk/atkcomponent.[c|h]
38         * docs/atk-sections.txt, docs/tmpl/atkcomponent.sgml
39         Change atk_component_get_accessible_at_point to 
40         atk_component_ref_accessible_at_point so it will work for flyweights
41
42 Sun Aug 12 10:33:02 2001  Owen Taylor  <otaylor@redhat.com>
43
44         * docs/Makefile.am: Set GPATH to fix srcdir != builddir problems
45         with GNU make.
46
47 2001-08-09  Padraig O'Briain  <padraig.obriain@sun.com>
48
49         * atk/atkaction.c, atk/atkcomponent.c
50         Remove all instances of g_return_if_fail (foo != NULL); that are
51         immediately before a g_return_if_fail (ATK_IS_FOO (foo));
52         since the second check catches the NULL.
53         * atk/atkcomponent.c
54         Add functions atk_component_real_contains(), 
55         atk_component_real_get_position(), atkcomponent_real_get_size() 
56         as default implementations for atk_component_contains(),
57         atk_component_get_position(), atk_component_get_size()
58
59 2001-08-07  Brian Cameron <brian.cameron@sun.com>
60
61         * atk/atkimage.[ch] docs/atk-sections.txt
62         docs/tmpl/atkimage.sgml
63         Updated AtkImage get_position to get_image_position
64         so the naming is consistant.  Now get_image_position
65         and get_image_size return -1 for x/y/height/width
66         if AtkImage implementations of these functions is
67         not found.
68
69 2001-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
70
71         * atk/atkobject.c
72         Create an object relation set when the object is created.
73
74 2001-07-30  Brian Cameron <brian.cameron@sun.com>
75
76         * atk/atkutil.[ch]
77         Changed first argument of atk_add_global_event_listener
78         so the callback function is of type GSignalEmissionHook
79         instead of AtkEventListener.  AtkEventListener is
80         appropriate for Focus event callbacks, but not generic
81         ones.
82
83 2001-07-27  Padraig O'Briain  <padraig.obriain@sun.com>
84
85         * atk/atkobject.c:
86         Add function atk_object_real_ref_state_set() which creates the
87         state set and adds states ATK_STATE_SELECTABLE and ATK_STATE_SELECTED
88         if appropriate
89
90 2001-07-27  Padraig O'Briain  <padraig.obriain@sun.com>
91
92         * atk/*.c:
93         Remove all instances of g_return_if_fail (foo != NULL); that are
94         immediately before a g_return_if_fail (ATK_IS_FOO (foo));
95         since the second check catches the NULL.
96
97 2001-07-26  Padraig O'Briain  <padraig.obriain@sun.com>
98
99         * atk/Makefile.am
100         Fix problem with ATK not building after running make maintainer-clean
101         and autogen.sh: add extra files to MAINTAINERCLEANFILES
102
103 2001-07-25 Bill Haneman <bill.haneman@sun.com>
104
105         * atk/atktext.h
106         * atk/atkeditabletext.h
107         * atk.pc.in
108         * atk-uninstalled.pc.in
109         * atk/makefile.msc
110         * configure.in
111         Removed (unused) #defines of pango/pango.h
112         Removed references to/dependencies on pango from .pc files
113         Removed dependencies on pango from makefile.msc and configure.in
114
115 2001-07-24  Padraig O'Briain  <padraig.obriain@sun.com>
116
117         * atk/atkobject.[c|h]
118         Move some implementation from GAIL:
119         Default implementations for some some functions
120         atk_object_real_get_name, atk_object_real_set_name,
121         atk_object_real_get_description, atk_object_real_set_description,
122         atk_object_real_get_parent, atk_object_real_set_parent,
123         atk_object_real_get_role,
124         atk_object_real_connect_property_change_handler,
125         atk_object_real_remove_property_change_handler,
126         atk_object_notify,
127         definition of property-changed signal.
128         Initialize pointers to NULL in atk_object_init().
129         Initialize uninitialized function pointers to NULL in 
130         atk_object_class_init().
131         
132 2001-07-23  Brian Cameron <brian.cameron@sun.com>
133
134         * atk/atkobject.c
135         Changed children_changed signal to allow NULL pointers
136         for the 2nd argument to the signal handler.
137
138 2001-07-20  Hans Breuer  <hans@breuer.org>
139
140         * atk/atk.def : added more exports
141         * atk/makefile.msc : updated win32 build
142
143 2001-07-20  Padraig O'Briain  <padraig.obriain@sun.com>
144
145         * atk/atkaction.[c|h], docs/atk-sections.txt, 
146         docs/tmpl/atkaction.sgml
147         Add atk_action_get_name() and atk_action_set_description()
148
149 2001-07-18  Padraig O'Briain  <padraig.obriain@sun.com>
150
151         * atk/atkstate.[c|h]
152         Add ATK_STATE_ENABLED so we can distinguish between a consistent
153         and inconsistent GtkToggleButton
154
155 2001-07-16  Brian Cameron <brian.cameron@sun.com>
156
157         * atk/atkeditabletext.c atk/atktext.c atk/atktext.h atk/atkutil.h
158         docs/atk-sections.txt docs/tmpl/atktext.sgml docs/tmpl/atkutil.sgml
159         gail_textattributes_update.pat is for gail/gail and integrates the 
160         ATK_ATTRIBUTE_* macros in the gail implementations.
161         atk_docs_textattributes_update.pat is for atk/docs and patches
162         atk-sections.txt etc. for improved docs
163         atk_atk_textattributes_update.pat is for atk/atk and included the
164         new ATK_ATTRIBUTE_* macros and updated gtk-doc comments.
165
166 2001-07-13  Darin Adler  <darin@bentspoon.com>
167
168         * atk/atkstate.c: Add missing <string.h> include.
169         * tests/teststateset.c: Add missing <string.h> include.
170
171 2001-07-13  Darin Adler  <darin@bentspoon.com>
172
173         * .cvsignore: Ignore some generated files.
174         * autogen.sh: Get rid of call to autoheader since the
175         configure file doesn't include AM_CONFIG_HEADER.
176
177 2001-07-11  Brian Cameron <brian.cameron@sun.com>
178
179         * tmpl/atkdocument.sgml
180         Added new file for docs.
181
182 2001-07-11  Padraig O'Briain  <padraig.obriain@sun.com>
183
184         * atk/atkimage.c atk/atkutil.c
185         Changes to build with Sun's FORTE compiler.
186
187 2001-07-10  Brian Cameron <brian.cameron@sun.com>
188
189         * tmpl/atk-unused.sgml tmpl/atkcomponent.sgml tmpl/atkeditabletext.sgml
190         tmpl/atkimage.sgml tmpl/atkselection.sgml tmpl/atkstate.sgml
191         tmpl/atkstreamablecontent.sgml tmpl/atktable.sgml
192         tmpl/atktext.sgml tmpl/atkutil.sgml
193         Updated docs pages.
194
195 Mon Jul  2 06:37:09 2001  Tim Janik  <timj@gtk.org>
196
197         * atk/atktext.c (atk_text_base_init): 
198         * atk/atktable.c (atk_table_base_init): 
199         * atk/atkobject.c (atk_object_init): s/signal_newc/signal_new/
200         to adapt to recent GSignal changes.
201
202 2001-06-28  Brian Cameron <brian.cameron@sun.com>
203
204         * atk/atkutil.c atk/atkutil.h docs/atk-sections.txt
205         docs/tmpl/atkutil.sgml
206         Added new functiosn to AtkUtil.
207
208 2001-06-28  Brian Cameron <brian.cameron@sun.com>
209
210         * atk/Makefile.am atk/atk.h atk/atkdocument.c atk/atkdocument.h
211         docs/atk-docs.sgml docs/atk-sections.txt docs/tmpl/atk-unused.sgml
212         docs/tmpl/atkobject.sgml
213         Added new atk document interface.
214
215 2001-06-28  Brian Cameron <brian.cameron@sun.com>
216
217         * atk/atkcomponent.c atk/atkcomponent.h atk/atkimage.c
218         atk/atkimage.h atk/atktext.c atk/atktext.h atk/atkutil.h
219         Updated so that functions that take screen coords as 
220         input/output also take an enum specifying whether
221         the coords are screen or top-level window based.
222         Updated docs as well.
223
224 2001-06-28  Brian Cameron <brian.cameron@sun.com>
225
226         *atk/atkaction.c atk/atkcomponent.c atk/atkeditabletext.c
227         atk/atkhyperlink.c atk/atkobject.c atk/atkregistry.c
228         atk/atkstate.c atk/atkstateset.c atk/atkstreamablecontent.c
229         atk/atktable.c atk/atktext.c atk/atkutil.c atk/atkvalue.c
230         atk/docs/tmpl/atkstreamablecontent.sgml
231         Cleaned up docs.  Added atkstreamablecontent.sgml
232
233 2001-06-28  Brian Cameron <brian.cameron@sun.com>
234
235         *atk/atktable.h, atk/atktable.c
236         Updated signal handler definitions.
237
238 2001-06-27  Brian Cameron <brian.cameron@sun.com>
239
240         *atk/atktext.h
241         Updated AtkXYCoords enum.
242
243 2001-06-27  Brian Cameron <brian.cameron@sun.com>
244
245         *atk/atkaction.c atk/atkaction.h atk/atkcomponent.c
246         atk/atkcomponent.h atk/atkhyperlink.c atk/atkhypertext.c
247         atk/atkimage.c atk/atkimage.h atk/atkobject.c
248         atk/atkobject.h atk/atkobjectfactory.c atk/atkregistry.c
249         atk/atkstateset.c atk/atkstreamablecontent.c
250         atk/atkstreamablecontent.h atk/atktable.c
251         atk/atktext.c, docs/atk-docs.sgml docs/atk-sections.txt
252         and some docs/tmpl files.
253         Updated gtk-docs fixing spelling errors and making minor
254         changes to the API.
255
256 2001-06-27  Louise Miller <lousie.miller@sun.com>
257
258         *atk/atkselection.h, atk/atkselection.c
259         changed return type to gboolean for 
260         atk_selection_select_all_selection
261
262 2001-06-26  Brian Cameron <brian.cameron@sun.com>
263
264         *atk/atkstate.h atk/atkstate.c
265         docs/tmpl/atk-unused.sgml docs/tmpl/atkselection.sgml
266         docs/tmpl/atkstate.sgml docs/tmpl/atktable.sgml
267         docs/tmpl/atktext.sgml
268         Added ATK_STATE_STALE.  Updated docs.
269
270 2001-06-22  Lucy Brophy <lucy.brophy@sun.com>
271
272         *atk/atktext.h
273         Removed the macro ATK_TEXT_BOUNDARY_CURSOR_POS
274
275 2001-06-21  Brian Cameron <brian.cameron@sun.com>
276
277         * atk/atkeditabletext.h, atk/atkobject.h,
278         atktext.[ch]
279         Added AtkAttributeSet_free() convenience
280         function.
281
282 2001-06-20  Peter Williams  <peterw@ximian.com>
283
284         * atk/atknoopobject.h: Correct prototype name: agtk_widget_get_type ->
285         atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer
286         G_{BEGIN,END}_DECLS.
287
288 2001-06-20  Brian Cameron <brian.cameron@sun.com>
289
290         * atk/atktable.c, atk/atkmarshal.list
291         Removed needless marshal and updated signal handlers in
292         atktable.c
293
294 2001-06-20  Louise Miller <louise.miller@sun.com>
295
296         *atk/atktable.h, atk/table.c, docs/tmpl/atktable.sgml   
297         Changed parameters for get_selected_rows/get_selected_columns
298         Added 4 new functions, add_row_selection, remove_row_selection,
299         add_column_selection, remove_column_selection
300
301 2001-06-19  Brian Cameron <brian.cameron@sun.com>
302
303         * atk/atktable.c
304         Fixed minor bug with signals.
305
306 2001-06-18  Brian Cameron <brian.cameron@sun.com>
307
308         * atk/atktable
309         Added signals.
310
311 2001-06-15  Brian Cameron & Lucy Brophy  <brian.cameron@sun.com>
312
313         * atk/atkselection.h atk/atkselection.c
314         Now add_selection, clear_selection, and remove_selection 
315         return a boolean indicating SUCCESS/FAILURE to indicate
316         if the operation was successful.
317
318 2001-06-13  Brian Cameron & Lucy Brophy  <brian.cameron@sun.com>
319
320         * atk/atktable.h atk/atktable.h
321         Updated so now the get_text_before|at|after functions
322         return the start & end offset of the string.  Updated the
323         docs.
324
325 2001-06-13  Padraig O'Briain  <padraig.obriain@sun.com>
326
327         * atk/Makefile.am: install atknoopobject.h and atknoopobjectfactory.h
328
329 2001-06-11  Havoc Pennington  <hp@redhat.com>
330
331         * NEWS: updated
332
333         * configure.in: bump version to 0.2 and add infrastructure for 
334         libtool version info. Assumes GTK versioning scheme (major.minor 
335         is binary compatible)
336         
337         * atk/Makefile.am (LDFLAGS): set version info
338         (stamp-atkmarshal.h): glib-genmarshal already includes top_builddir
339         
340 2001-06-13  Brian Cameron <brian.cameron@sun.com>
341
342         * atk/atktable.h, atk/atktable.c
343         Updated so that get/set row/column header functions
344         work with AtkObjects rather than AtkTables.  Organized
345         the header file a little more cleanly.  Also the get/set
346         row_description and caption functions now use gchar *
347         rather than AtkObject.
348
349 2001-06-12  Padraig O'Briain  <padraig.obriain@sun.com>
350
351         * atk/atkmarshal.list, atk/atktable.h atk/atktable.c:
352         Add signal model-changed.
353
354         * atk/atkobject.c: Add properties
355         accessible-role, accessible-table-caption, 
356         accessible-table-column-header, accessible-table-column_description.
357         accessible-table-row-header, accessible-table-row_description.
358         accessible-table-summary, accessible-model
359
360 2001-06-12  Brian Cameron <brian.cameron@sun.com>
361
362         * atk/atkeditabletext.[ch], atk/atktext.[ch], atk/atkobject.h
363         Updated atkeditabletext and atktext interfaces so they
364         now properly define the get/set attribute methods and now
365         get_offset_at_point and get_character_extents can request
366         x,y coords by either widget or screen coords.
367
368 Sat Jun  9 15:17:00 2001  Owen Taylor  <otaylor@redhat.com>
369
370         * configure.in (DEP_CFLAGS): Only include gthread-2.0 in
371         CFLAGS, not in LIBS. (Always linking with -lpthread
372         is a noticeable speed hit.)
373
374 Thu Jun  7 17:03:37 2001  Owen Taylor  <otaylor@redhat.com>
375
376         * atk/Makefile.am: Really fix marshal generation.
377
378 2001-06-07  Havoc Pennington  <hp@redhat.com>
379
380         * atk/Makefile.am ($(srcdir)/atkmarshal.c): fix up the
381         glib-genmarshal stuff
382
383 2001-06-07  Havoc Pennington  <hp@redhat.com>
384
385         * atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
386         glib-genmarshal
387
388         * configure.in: rearrange the library checks to support
389         uninstalled linking     
390
391         * autogen.sh: add support for AUTOGEN_SUBDIR_MODE
392
393         * atk-uninstalled.pc.in: new file, allows linking to uninstalled
394         ATK in giant GTK tarball
395
396 2001-06-07  Brian Cameron <brian.cameron@sun.com>
397
398         * docs/atk-api.sgml docs/atk-sections.txt
399         docs/tmpl/atk-unused.sgml docs/tmpl/atkeditabletext.sgml
400         docs/tmpl/atktext.sgml
401         Removed docs/atk-api.sgml since it is not used.
402         Updated sgml files and atk-sections.txt to reflect
403         recent changes to the atktext and atkeditabletext
404         interfaces
405
406 2001-06-06  Brian Cameron <brian.cameron@sun.com>
407
408         * atk/atktext.h atk/atktext.h
409         Updated to new atktext functions for getting attributes.
410
411 2001-06-06  Padraig O'Briain  <padraig.obriain@sun.com>
412
413         * New files atk/atkstreamablecontent.[ch]
414         Updated files: atk/Makefile.am, atk/atk.h
415
416         * atk/atkvalue.c: Updated comments
417
418 2001-06-06  Padraig O'Briain  <padraig.obriain@sun.com>
419
420         * atk/atkregistry.h: Add declaration for atk_registry_get_type()
421
422 2001-06-05  Padraig O'Briain  <padraig.obriain@sun.com>
423
424         * atk/atkobject.c: Add property accessible-visible-data
425
426 2001-06-01  Padraig O'Briain  <padraig.obriain@sun.com>
427
428         * atk/atkobject.c: Add support for setting and getting 
429         accessible-value property.
430
431         * atk/atkvalue.[ch] Make GValue in atk_value_set_current_value const
432
433 Fri Jun 01  Brian Cameron <brian.cameron@sun.com>
434
435         * atk/atkeditabletext.[ch], atk/atktext.[ch]
436
437         * docs/atk-overrides.txt, docs/Makefile.am
438           Updated the interface for dealing with selected
439           text to handle multiple selected regions.  Removed
440           get_row_col_at_offset from atktext.[ch].  Added
441           docs/atk-overrides.txt file.
442
443 Thu May 31  Brian Cameron <brian.cameron@sun.com>
444
445         * Makefile.am configure.in atk/Makefile.am atk/atktext.c
446           atk/atkutil.c docs/Makefile.am atk/atkmarshal.list
447           Added atk_marshal_VOID__INT_INT marshaller.  Updated the
448           Makefiles so the proper marshall files get included in the
449           dist.  Updated the Makefiles and configure.in so that the
450           docs get included in the dist.
451
452 Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
453
454         * autogen.sh (have_libtool): Fix GNU sedism (#55430)
455
456 2001-05-29  Padraig O'Briain  <padraig.obriain@sun.com>
457
458         * atk/atkobject.c: Define new properties accessible-text, 
459         accessible-caret, accessible-selection and accessible-value
460
461 2001-05-29  Brian Cameron <brian.cameron@sun.com>
462
463         * docs/atk-sections.txt
464
465         * docs/tmpl/*
466         Improved the layout/formatting of the atk docs.  Added docs/tmpl
467         files.
468
469 2001-05-28  Brian Cameron <brian.cameron@sun.com>
470
471         * atk/atktext.c
472         Now properly set the initialized flag when setting up signals.
473         Updated the atk-docs in several files
474
475 2001-05-24  Padraig O'Briain  <padraig.obriain@sun.com>
476
477         * atk/atkaction.c, atk/atkcomponent.c, atk/atkeditabletext.c,
478         atk/atkhyperlink.c, atk/atkhypertext.c, atk/atkimage.c,
479         atk/atkregistry.c, atk/atkselection.c, atk/atktable.c,
480         atk/atktext.c, atk/atkutil.c, atk/atkvalue.c
481         Fix warnings generated by Sun FORTE compiler
482
483 2001-05-24  Padraig O'Briain  <padraig.obriain@sun.com>
484
485         * atk/atkcomponent.c atk/atkvalue.c
486         Remove return calls in functions which return void
487         
488 2001-05-23  Padraig O'Briain  <padraig.obriain@sun.com>
489
490         * atk/atkobject.h: Correct naming of role for status bar
491
492         * atk/atktext.c: 
493         Clarify behaviour of atk_text_get_text_after/at/before_offset
494  
495 Sun May 13 11:35:32 2001  Owen Taylor  <otaylor@redhat.com>
496
497         * autogen.sh (have_automake): Require libtool-1.4, automake-1.4p1.
498
499 2001-01-06  Hans Breuer  <hans@breuer.org>
500
501         * atk/makefile.msc atk/atk.def (new files) :
502         Enable build for win32, no sourc changes necessary.
503
504 Sat May  5 07:46:47 2001  Owen Taylor  <otaylor@redhat.com>
505
506         * Released 0.1
507
508 Thu May  3 08:38:24 2001  Owen Taylor  <otaylor@redhat.com>
509
510         * atk/atkobject.c: Add missing include of <string.h> for strcmp.
511
512 Tue Apr 25 10:10:00 2001  Padraig Obriain <padraig.obriain@sun.com>
513
514         * Start a ChangeLog
515