Leakfixes from Padraig O'Briain for bug #361386 and bug #369377.
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2006-11-07  Bill Haneman <bill.haneman@sun.com>
2
3         Patches from Padraig O'Briain for bugs #361386 and #369377.
4         
5         * registryd/registry.c:
6         (struct NotifyContext): Change the e_out
7         member from an Accessibility_Event struct to a pointer to 
8         struct.
9         (notify_listeners_cb): Modify to use the new struct definition above.
10         Allows use of ORBit_copy_value instead of CORBA_any__copy.
11
12         * registryd/deviceeventcontroller.c:
13         (spi_dec_button_update_and_emit): Free the event's any_data
14         after emission.
15         (spi_dec_mouse_check):Free the event details any struct
16         after emission.
17         (spi_device_event_controller_forward_mouse_event): Free any.
18         (spi_device_event_controller_forward_key_event): Ditto.
19         
20 2006-11-07  Bill Haneman <bill.haneman@sun.com>
21
22         * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
23         Don't require gtk+ and gail for building most of at-spi
24         including libspi.
25
26         * registryd/registry-main.c (main): We now get te value of display
27         using the env var DISPLAY rather than using the gdk_display_get_default
28         to avoid dependancy of gdk. Also, once the registry is started, we set 
29         the ior of the registry as an X property.
30         (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
31
32         * atk-bridge/bridge.c (atk_bridge_init): We keep track whether 
33         the registration was successfull.
34         (spi_atk_bridge_do_registration): This function now returns success 
35         or not on activating the registry. 
36         (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
37         has been set in the X root window and return it if available.
38         (spi_atk_bridge_get_registry): We now get the registry using the IOR 
39         saved as  a X property rather than using the OAFID. 
40
41 2006-10-01  Bill Haneman <bill.haneman@sun.com>
42
43         * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
44
45 2006-09-25  Bill Haneman <bill.haneman@sun.com>
46
47         * registryd/registry.c:
48         (desktop_remove_application): Don't pass a ref to the
49         dead application with the event, since it's probably
50         defunct and will cause SEGV if we try to unref, 
51         extract app name, etc.
52         Bug #353226.
53         
54 2006-09-20  Bill Haneman <bill.haneman@sun.com>
55
56         Patch from Neo Liu <nian.liu@sun.com>,
57         bug #356688.
58
59         * atk-bridge/bridge.c:
60         (spi_atk_bridge_document_event_listener): New, for 
61         AtkDocument signals.
62
63 2006-08-30  Bill Haneman <bill.haneman@sun.com>
64
65         * idl/*.idl:
66         Changed some parameter names so as not to 
67         collide with class names - allows IDL to be compiled with
68         OMNIorb compiler.  Thanks to Gary Cramblitt for this patch.
69         
70 2006-08-22  Bill Haneman <bill.haneman@sun.com>
71
72         * atk-bridge/bridge.c:
73         (spi_atk_bridge_signal_listener): 
74         Patch from Ginn Chen, assign detail1 in children-changed
75         so that the child object can be assigned to the Any when the
76         at-spi event is emitted.  Bug #350552.
77
78         * libspi/application.c:
79         (spi_application_finalize): Remove g_print debug output.
80         Bug #350958.
81         
82 2006-08-21  Bill Haneman <bill.haneman@sun.com>
83
84         * configure.in: Revved to AT-SPI 1.7.11.
85
86         * libspi/accessible.c:
87         (spi_accessible_new): Aggregate Hyperlink interface
88         if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
89
90         * libspi/hyperlink.c:
91         (spi_hyperlink_new): Don't aggregate Action a second time if this
92         interface is created for an AtkHyperlinkImpl object (i.e. for a 
93         child Accessible, as opposed to the Hyperlink instance from
94         Hypertext:getLink.
95         (get_hyperlink_from_servant): Obtain the hyperlink from
96         atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
97         
98         Patch section from Ginn Chen...
99
100         * cspi/spi_accessible.c:
101         (_cspi_accessible_set_from_sequence): 
102         Changed g_newa to g_new0 on Ginn Chen's suggestion.
103
104         * libspi/accessible.c:
105         (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
106         (spi_accessible_new): Add the Document interface if present.
107
108         * libspi/document.c:
109         (impl_getAttributes): Fixed to use AtkAttribute properly.
110
111         * libspi/text.c:
112         (impl_getAttributes, impl_getDefaultAttributes): 
113         (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
114         
115 2006-08-17  Bill Haneman <bill.haneman@sun.com>
116
117         * cspi/spi-private.h, cspi/spi_accessible.c:
118         (_cspi_attribute_set_from_sequence): Renamed from
119         cspi_attribute_set_from_sequence, to suppress export.
120
121         * cspi/spi.h:
122         (SPIRelationType): Fixed typo in PARENT_WINDOW_OF 
123         inline docs, which was keeping the doc from appearing.
124         (SPIExceptionHandler): Doc this.
125         
126         * cspi/spi_document.c:
127         Added inline gtk-docs cut-n-pasted from the doxygen
128         docs in the corresponding IDL files.
129         (AccessibleDocument_getAttributes): Fix the retval here.
130
131         * cspi/spi_streamablecontent.c:
132         Fixed some 'Since' tags that were accidentally doxygen-style.
133
134         * cspi/spi_table.c:
135         (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
136         docs from the IDL file.
137
138         * docs/reference/cspi/at-spi-cspi-docs.sgml:
139         Added entities for Document and StreamableContent interfaces.
140
141         * docs/reference/cspi/at-spi-cspi-sections.txt:
142         Added some docs that were present inline but not getting
143         exported to HTML.
144         
145 2006-07-31  Bill Haneman <bill.haneman@sun.com>
146
147         * libspi/text.c:
148         (impl_getRangeExtents): Use the atk_text_get_range_extents
149         API instead of looping over character bounds, now that
150         ATK includes it.
151         (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
152         (_spi_text_bounds_contain): Remove, not needed anymore.
153         (_spi_text_rect_union): Remove, not needed anymore.
154         
155 2006-07-31  Bill Haneman <bill.haneman@sun.com>
156
157         * atk-bridge/bridge.c: 
158         (spi_atk_emit_eventv): Fix the CORBA_free call which was
159         causing 64-bit troubles and memory leaks.
160         Special thanks to Alexander Larsson who finally seems to 
161         have tracked down the problem, not just here but in
162         libspi/util.c...
163         
164         * libspi/util.c:
165         (spi_init_any_object): Make sure we copy the CORBA value
166         when initializing an object for passing as a CORBA_Any.
167         Bug #337239.
168         
169 2006-07-21  Bill Haneman <billh@gnome.org>
170
171         * idl/Accessibility.idl:
172         Reverted pragma changes, this broke the build in some envs
173         including the Debian team's build and some tinderbox builds.
174         
175 2006-07-19  Bill Haneman <billh@gnome.org> modifications to patch from
176
177         * configure.in:
178         Revved to 1.7.10, and edited the Xevie check (bug #319994).
179
180         * idl/Accessibility.idl:
181         Reworked inclusion of Bonobo_Unknown.idl, to 
182         avoid double-linking libs in the Bonobo environment.
183         Thanks to Michael Meeks for the workaround, see bug #313122.
184
185         * registryd/deviceeventcontroller.c:
186         (spi_controller_notify_keylisteners): 
187         Set the SPI_NUMLOCK_MASK bit if the modifier 
188         corresponding to the conceptual numlock state is set.
189         Bug #143702.
190         
191 2006-07-18  Bill Haneman <billh@gnome.org> modifications to patch from
192
193         * idl/Accessibility_Selection.idl:
194         (deselectChild): New method.
195
196         * libspi/selection.c:
197         (impl_deselectChild): Implement the new IDL method.
198
199         * cspi/spi.h:
200         (AccessibleSelection_deselectChild): Added new method.
201         
202         * cspi/spi_selection.c:
203         (AccessibleSelection_deselectChild): New method implemented.
204         
205 2006-07-13  Bill Haneman <billh@gnome.org> modifications to patch from
206
207         * cspi/bonobo/cspi-bonobo.c:
208         (cspi_init): Replace g_error with g_warning, prevent
209         SEGV if the registry cannot be activated. Bug #346393.
210         
211 2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
212
213         * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
214         
215 2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
216 2006-07-12  Ariel Rios  <arios@us.ibm.com>
217
218         See RFE #326536.
219         
220         * idl/Accessibility_Table.idl:
221         (getRowColumnExtentsAtIndex): New method for getting
222         selection status and extents in one API call.
223
224         * libspi/table.c:
225         (impl_getRowColumnExtentsAtIndex): Implementation of
226         new method above.
227         (spi_table_class_init): Add above to epv.
228
229         * cspi/spi.h:
230         * cspi/spi_table.c:
231         (AccessibleTable_getRowColumnExtentsAtIndex): New
232         method, retrieves selection status and row/col extents
233         for a table cell in a single API call.
234
235 2006-07-12  Bill Haneman <billh@gnome.org> modifications to patch from
236 2006-07-12  Ariel Rios  <arios@us.ibm.com>
237
238         * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
239
240         * cspi/spi_text.c: 
241         (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
242         New bindings for new methods defined in idl and libspi.
243
244         * cspi/spi.h: 
245         (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
246        Added prototype functions.
247
248         * libspi/text.c: 
249         (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
250         Bug #326520
251         (spi_text_class_init): Added previous methods.
252        
253         * libspi/spi.h:  
254         (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
255         * libspi/spi-private.h: Corrections.
256
257 2006-06-29  Bill Haneman <bill.haneman@sun.com>
258
259         Added Document interface (see bug #326520), 
260         with work from Ariel Rios <arios@us.ibm.com>.
261
262         * configure.in: Bump to 1.7.8.
263         
264         * libspi/Makefile.am: Added document.[ch] to sources 
265
266         * libspi/document.h: 
267         (SpiDocument, SpiDocumentClass):
268                New interface implementation.
269         (spi_document_get_type, spi_document_construct)
270         (spi_document_interface_new): New methods added. 
271         (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
272         (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS): 
273         Added macros for SpiDocument 
274         for new object.                     
275
276         * libspi/document.c: 
277         (spi_document_interface_new): Get a  
278         new document interface. New.
279         (get_document_from_servant): Get an AtkDocument from servant New.
280         (impl_getLocale, impl_getAttributeValue, impl_getAttributes): 
281         Implementation of methods defined on idl.
282         (spi_document_class_init, spi_document_init) 
283         Init methods for SpiDocument. new
284
285         * idl/Accessibility.idl: Added Accessibility_Document.idl.
286
287         * cspi/Makefile.am: Added spi_document.c to sources.
288
289         * cspi/spi_document.c: 
290         (AccessibleDocument_ref, AccessibleDocument_unref):      Added.
291         (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
292         (AccessibleDocument_getAttributes): Bindings for methods defined
293         on libspi
294
295         * cspi/spi_accessible.c: 
296         (Accessible_isDocument, Accessible_getDocument) New.
297         * cspi/spi.h: 
298         (Accessible_isDocument, Accessible_getDocument)
299         (AccessibleDocument_ref, AccessibleDocument_unref)
300         (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
301         (AccessibleDocument_getAttributes): Bindings added.
302         
303         * idl/Makefile.am: Added Accessibility_Document.idl to
304         idl_DATA.
305         
306 2006-06-29  Bill Haneman <bill.haneman@sun.com>
307
308         * idl/Accessibility_Document.idl: New interface
309         for complex documents.  First stage of fix for RFE
310         #326520.
311         
312 2006-06-27  Bill Haneman <bill.haneman@sun.com>
313
314         * libspi/streamablecontent.c:
315         (impl_content_stream_close):
316         Unref the GIOChannel on close.
317         
318 2006-06-23  Bill Haneman <bill.haneman@sun.com>
319
320         * idl/Accessibility_Role.idl: 
321         * libspi/accessiblerole.c:
322         * cspi/spi_accessible.c: Added ROLE_LINK,
323         ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
324         Bug #345758 and bug #140635.
325
326         
327 2006-06-22  Bill Haneman <bill.haneman@sun.com>
328
329         Bug #345701.
330         
331         * idl/Accessibility_StreamableContent.idl:
332         Fix derivation of StreamableContent and ContentStream.
333
334         * cspi/spi_streamablecontent.c:
335         (accessible_content_stream_client_read):
336         Fix the datatype of the content stream used.
337         Interpret short reads as EOF, and stop trying to 
338         read when we've fulfilled the request.
339         (AccessibleStreamableContent_getContentTypes):
340         Use g_strdup, not CORBA_string_dup, for the strings.
341         (AccessibleStreamableContent_open):
342         Correctly use the new getStream method for opening,
343         not the deprecated getContent method.
344         Use the object reference as the stream hash key.
345         Make note of the 'one stream per client per streamable'
346         limitation in the docs.
347         
348         * libspi/libspi.h:
349         Add streamablecontent.h to the list of #includes.
350
351         * libspi/streamablecontent.c:
352         (impl_content_stream_read): Initialize the GError.
353         Allocate the incoming buffer if reading a fixed length of
354         data.  Use g_memmove instead of memcpy.
355         (impl_accessibility_streamable_get_content_types):
356         Init typelist->_maximum.  Only allocate the buffer if
357         there is a non-zero number of content types available.
358         (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
359
360         * libspi/streamablecontent.h:
361         (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
362
363         * libspi/value.h: 
364         (SPI_IS_VALUE): Fix a typo in this macro too.
365         
366 2006-06-16  Bill Haneman <bill.haneman@sun.com>
367
368         RFE #326532:
369         
370         * idl/Accessibility_StreambleContent.idl:
371         Deprecate the Bonobo_Stream-based methods in favor of
372         a self-contained "ContentStream" interface.  This should 
373         allow us to remove BonoboStream dependencies entirely, since
374         there were no non-NIL implementations of the old methods anyway.
375         (ContentStream): New interface.
376         (ContentStream::SeekType): Enum.
377         (ContentStream::seek): New.
378         (ContentStream::read): New.
379         (ContentStream::close): New.
380         (getContent): Deprecate.
381         (getURI): New method, returns a URI pointing to the content, if available.
382         
383         * libspi/streamablecontent.c:
384         (SpiContentStream): Internal object type definition used to
385         implement Accessibility::StreamableContent::ContentStream via
386         AtkStreamableContent's GIOChannel back-end.
387         (spi_content_stream_new, spi_content_stream_dispose): See above;
388         static methods.
389         (impl_content_stream_seek, impl_content_stream_read):
390         (impl_content_stream_close): New, implementations of
391         ContentStream's IDL.
392         (impl_accessibility_streamable_get_stream): Implement the 
393         public method Accessibility::StreamableContent::getStream.
394         (impl_accessibility_streamable_get_uri): Implement the 
395         public method Accessibility::StreamableContent::getURI.
396
397         * cspi/spi_streamablecontent.c:
398         (accessible_bonobo_stream_client_seek): Replaced by
399         (accessible_content_stream_client_seek).
400         (accessible_bonobo_stream_client_read): Replaced by
401         (accessible_content_stream_client_read).
402         (AccessibleStreamableContent_open):
403         (AccessibleStreamableContent_seek):
404         (AccessibleStreamableContent_read):
405         (AccessibleStreamableContent_close): Use the new 'getStream'
406         API instead of the deprecated 'getContent' API, inside the cspi wrappers.
407         
408 2006-06-15  Bill Haneman <bill.haneman@sun.com>
409
410         * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
411         remove from other .idl files (except LoginHelper).
412         See bug #313122.
413
414 2006-06-14  Bill Haneman <bill.haneman@sun.com>
415
416         * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
417         Bug #308239.
418
419         * configure.in, */Makefile.am: mingw patch, modified from
420         original patch by yselkowitz.  Bug #314216.
421
422         * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
423         for completeness.  Bug #163111.
424
425         * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
426         * libspi/util.c,  registryd/registry-main.c:
427         Fix guint/char* casts.
428         Patch from chpe, bug #333883.
429         
430 2006-06-12  Bill Haneman <bill.haneman@sun.com>
431
432         * configure.in: Require atk-1.12.0, to pick up
433         new API. (bug #344412).
434
435         * libspi-1.0-uninstalled.pc.in:
436         * libspi-1.0.pc.in:
437         * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
438         Fix for #341488 from Samual Thibault.
439
440         * configure.in, LINGUAS: Use LINGUAS, bug #338023.
441         Thanks to Brian Pepple.
442         
443 2006-06-09  Bill Haneman <bill.haneman@sun.com>
444
445         * libspi/table.c:
446         (impl_get_nSelectedRows, impl_get_nSelectedColumns):
447         New, missing implementations of attribute reading methods
448         in epv.  Bug #339021.
449
450         * cspi/spi.h, spi_value.c:
451         (AccessibleValue_getMinimumIncrement): New methods wrapping 
452         the (formerly unimplemented) property from Value.idl.
453         
454         * libspi/value.c:
455         (impl_get_minimumIncrement): Implementation for retrieving
456         the minimum valuator increment, (formerly unimplemented).
457         Bug #344265.
458         
459 2006-06-09  Bill Haneman <bill.haneman@sun.com>
460
461         * idl/Accessibility_State.idl:
462         Added STATE_VISITED (bug #338369).
463         
464         * cspi/spi_accessible.c: 
465         (spi_state_to_corba) Fixed marshalling of new statetypes.
466         
467         * libspi/stateset.c:
468         (spi_init_state_tables, impl_getStates): 
469         Fixed conversion of new statetypes to/from ATK.
470
471         * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
472
473         * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling 
474         definitions/conversions for new roles from ATK.
475
476         * idl/Accessibility_Relation.idl:
477         * libspi/relation.c:
478         * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and 
479         SPI_RELATION_DESCRIPTION_FOR.  (bug #344264) Also
480         SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
481
482         * libspi/accessible.c: Fixed marshalling of new role types from
483         ATK.
484         
485 2006-04-17  Matthias Clasen  <mclasen@redhat.com>
486
487         * revert my previous change
488
489 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
490
491         * configure.in: Remove obssolete no_NO locale
492         * po/no.po: And the translation.
493
494 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
495
496         * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a 
497         memory-management error that caused crashes on x86_64.
498         (#337239)
499
500 2006-03-30  Guntupalli Karunakar  <karunakar@indlinux.org>
501
502         * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
503
504 2006-03-27  Bill Haneman <bill.haneman@sun.com>
505
506         * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
507         to strip "cspi_*" from the symbol table.
508         
509         * cspi/spi_streamablecontent.c:
510         (get_streams): Make this method static.
511
512         * cspi/spi_main.c:
513         (_cspi_exception_throw): rename to cspi_exception_throw,
514         so we can strip it with the rest...
515
516         * cspi/Makefile.am:
517         Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
518         
519 2006-03-27  Bill Haneman <bill.haneman@sun.com>
520
521         Add doxygen-generated IDL docs to tarball, and enable 
522         doxygen during build/install when available.  Bug #301345.
523         
524         * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
525
526         * docs/reference/Makefile.am: Add idl to SUBDIRS.
527
528         * docs/reference/idl/Makefile.am: Optionally use
529         doxygen to create docs.
530         
531 2006-03-20  Vladimer Sichinava  <vlsichinava@gmail.com>
532
533         * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
534
535 2006-03-20  Bill Haneman <bill.haneman@sun.com>
536
537         * libspi/table.c:
538         (impl_get_selected_rows): Don't free the selection if it's
539         empty or has not been assigned; init it to NULL so you can tell.
540         Also, allow for zero selected rows.
541         (impl_getSelectedColumns): Ditto.  Bug #319088.
542
543 2006-03-11  Vincent Untz  <vuntz@gnome.org>
544
545         Leak fix for bug #334217.
546
547         * libspi/application.c: spi_application_toolkit_event_listener():
548         don't duplicate the string we pass as an argument to
549         spi_init_any_nil() since spi_init_any_nil() already does it
550         * registryd/deviceeventcontroller.c:
551         (spi_dec_button_update_and_emit): ditto
552         (spi_dec_mouse_check): ditto
553         (spi_dec_emit_modifier_event): ditto
554         (spi_device_event_controller_forward_mouse): ditto
555         * registryd/registry.c:
556         (desktop_add_application): ditto
557         (desktop_remove_application): ditto
558
559 2006-02-20  Bill Haneman <billh@gnome.org>
560
561         * configure.in: Rev to 1.7.6.
562
563         Leak fixes for bug #331924.
564         
565         * atk-bridge/bridge.c:
566         (spi_atk_bridge_init_base): Don't dup the string, it's already
567         been dup-ed.  Fixes a leak.
568         (spi_atk_emit_eventv): Move the CORBA_free call here, 
569         instead of spi_atk_state_event_listener; fixes another leak.
570         (spi_atk_bridge_key_listener):Free the dup'ed key strings after
571         notifying the registry; fixes another leak.
572
573         * registryd/registry.c:
574         (registry_flush_event_queue): Free the CORBA_any when 
575         flushing the event, not just the string.  Fixes another leak.
576         (registry_queue_event): Free the CORBA_any when dropping
577         events on the floor; fixes another leak.
578
579         * libspi/util.c:
580         (spi_init_any_object, spi_init_any_nil): 
581         Always set _release to TRUE.  Fixes another leak.
582
583 2006-02-20  Bill Haneman <billh@gnome.org>
584
585         * configure.in: Rev to 1.7.5.
586         Reinstate localization of this module.  Thanks for Rodney
587         Dawes for fixing my patch.
588
589         * registryd/Makefile.am: Remove Accessibility_Registry.server 
590         from dist, since it needs to be re-created at configure time.
591         Fixes bug #3331484.
592         
593 2006-01-31  Bill Haneman <billh@gnome.org>
594
595         * configure.in: Rev to 1.7.4 (to include build fix below).
596         
597         * idl/Makefile.am: Include Selector.idl in dist.
598         Fixes bug #328859.
599
600         * cspi/spi_event.c:
601         (cspi_internal_event_get_object): Handle case where
602         "object" isn't present, i.e. CORBA_TC_Object doesn't match
603         the EventDetails data.
604         (cspi_internal_event_get_text): Handle NULL string.
605         (cspi_internal_event_get_rect): Handle missing/empty rect
606         data, Accessibility_TC_RectBounds doesn't match any_data.
607
608 2006-01-30  Bill Haneman <billh@gnome.org>
609
610         * Released 1.7.3.
611
612         * atk-bridge/bridge.c:
613         (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT 
614         interface and use that when instantiating a new source
615         accessible.  Better fix for bug #321814.
616         
617 2006-01-27  Bill Haneman <billh@gnome.org>
618
619         * idl/Accessibility_Selector.idl: Added to the cvs repository.
620
621         * configure.in: Revved to 1.7.3.
622         
623 2006-01-17  Bill Haneman <billh@gnome.org>
624
625         * configure.in: Revved to 1.7.2, re-dist to include docs.
626
627 2006-01-09  Bill Haneman <billh@gnome.org>
628
629         * configure.in: Removed po/Makefile.in inclusion, we do not need
630         it.  Revved to 1.7.0.
631
632         * idl/Accessibility.idl: Improved documentation here, and for all
633         IDL in the 'GNOME::Accessibility' namespace.
634
635         * idl/Accessibility_Accessible.idl:
636         (LOCALE_TYPE): Added enum.
637         (AttributeSet): New, for returning multiple name/value attribute pairs.
638         (RoleSet): New, sequence of Roles, to be used in upcoming
639         Collection API.
640         (getAttributes): New API, allows retrieval of name/value pair
641         annotations for all kinds of Accessible objects.  C.f. 
642         Text:getAttributes, which is only for typographic/textual/semantic tags in
643         text content.
644         (getApplication): New, retrieves the host/containing Application
645         instance for an object (without having to walk up the whole tree).
646
647         * idl/Accessibility_Component.idl:
648         (getAlpha): New method, returns the alpha blending (aka 'opacity')
649         value for an object.  An alpha of 1.0 is fully opaque, 0.0 is
650         fully transparent.
651
652         * idl/Accessibility_Event.idl:
653         (EventDetails): New struct definition, for encapsulating
654         commonly-queried information about emitted events.  The use of
655         this structure in emitted events (in the 'any' member of
656         Accessibility_Event) should greatly reduce the number of
657         client-server roundtrips necessary.
658
659         * idl/Accessibility_Image.idl:
660         (imageLocale): New, a readonly attribute indicating the POSIX 
661         LC_MESSAGES locale of the image and associated Alt/descriptive
662         text.
663
664         * idl/Accessibility_Relation.idl:
665         (RELATION_PARENT_WINDOW_OF): Include, as complement to
666         RELATION_POPUP_FOR.
667
668         * idl/Accessibility_Role.idl:
669         (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
670         (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
671         complex document and form support.
672
673         * idl/Accessibility_State.idl:
674         (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
675         (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
676         (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
677         for support of complex documents and forms.
678
679         * idl/Accessibility_StreamableContent.idl:
680         (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
681         allow old bonobo-stream interfaces to be deprecated in the next
682         release.
683
684         * idl/Accessibility_Text.idl:
685         (getAttributeValue): New method, allows query-by-name of single
686         attributes.
687
688         * libspi/accessible.c:
689         Added support for new roles.  Implemented new methods
690         (impl_accessibility_accessible_get_application): New
691         (impl_accessibility_accessible_get_attributes): New
692
693         * libspi/component.c:
694         (impl_accessibility_component_get_alpha): New.
695
696         * libspi/image.c:
697         (impl_accessibility_image_get_locale): New.
698
699         * libspi/relation.c: Added support for new relation type.
700
701         * libspi/stateset.c: Added support for new state types.
702
703         * libspi/text.c: 
704         (impl_getAttributeValue): New.
705         
706         * libspi/util.c:
707         New prototypes for private methods
708         spi_init_any_nil,
709         spi_init_any_object, spi_init_any_string,
710         spi_init_any_rect.
711         
712         * libspi/spi_event.c: 
713         Use EventDetails in the event emission methods.
714
715         * cspi/spi-private.h:
716         (cspi_role_from_spi_role): Expose this adapter method, since
717         we need it in the bridge (see below).
718
719         * cspi/spi.h:
720         (AccessibleEvent_getSourceName):
721         (AccessibleEvent_getSourceRole):
722         (AccessibleEvent_getSourceApplication):
723         (AccessibleEvent_getSourceDetails):
724         New methods for interrogating/demarshalling
725         event details (i.e. source's accessible name, role, 
726         and host app).
727
728         * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
729         Make use of the new EventDetails struct in events, if present.
730         (AccessibleEvent_getSourceName)
731         (AccessibleEvent_getSourceRole)
732         (AccessibleEvent_getSourceApplication)
733         (AccessibleEvent_getSourceDetails): Implement the newly exposed
734         methods from spi.h.
735         (Accessible_getAttributes): New, wraps
736         Accessibility_Accessible_getAttributes.
737         (Accessible_getHostApplication): New, wraps
738         Accessibility_Accessible_getApplication.
739
740         * cspi/spi_image.c:
741         (AccessibleImage_getImageLocale): New wrapper for
742         Accessibility_Image_get_imageLocale.
743
744         * cspi/spi_component.c:
745         (AccessibleComponent_getAlpha): New wrapper for
746         Accessibility_Component_getAlpha.
747         
748         * atk-bridge/bridge.c:
749         Use new prototyped for init_any methods.
750         (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
751         (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
752         (spi_atk_bridge_init_base): Wrappers
753         for spi_init_any_* methods, due to refactor; include extended
754         information in the Accessibility_EventDetails struct, for instance
755         accessible-name, Role, and containing Application.
756
757         * registryd/registry.c: 
758         Use new event emission (with EventDetails).
759         
760         * registryd/deviceeventcontroller.c:
761         Use new event emission (with EventDetails).
762
763 2006-01-09  Kjartan Maraas <kmaraas@gnome.org>
764
765         * configure.in: Generate po/Makefile.in
766         * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
767         * cspi/spi_streamablecontent.c: 
768         (accessible_bonobo_stream_client_seek),
769         (AccessibleStreamableContent_seek): Remove unused vars.
770         * libspi/application.c: Missing header.
771         * libspi/text.c: (impl_getDefaultAttributes): Unused vars
772         * login-helper/login-helper.c: (login_helper_finalize),
773         (login_helper_init): Remove unused stuff
774         * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
775         (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
776         and surround some with #ifdef GRAB_BUTTON.
777         * test/event-listener-test.c: (main), (report_event),
778         (report_caret_event), (report_detail_event),
779         (report_detail1_event), (report_bounds_event), (report_text_event),
780         (report_text_selection_event),
781         (report_active_descendant_changed_event),
782         (report_children_changed_event), (report_name_changed_event),
783         (report_description_changed_event), (report_parent_changed_event),
784         (report_window_event), (report_table_summary_event),
785         (report_table_header_event), (report_table_caption_event),
786         (report_table_row_description_event),
787         (report_table_column_description_event), (timing_test_event):
788         Remove a bunch of unused variables and fix a slew of format specifiers
789         * test/key-listener-test.c: (report_all_key_event): Format specifier
790         * test/keypad-test.c: (print_key_event): Same
791         * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
792         unused var.
793         * test/screen-review-test.c: (main), (print_chunk_debug),
794         (review_buffer_get_text_chunk), (debug_chunk_list),
795         (string_guess_clip), (text_chunk_get_clipped_string),
796         (text_chunk_list_to_string), (get_screen_review_line_at):
797         Remove unused variables and fix format specifiers.
798         * test/simple-at.c: (report_text_event): Format specifier fix.
799         * test/stress-test.c: (main): Remove unused var.
800
801 2005-12-29  Abel Cheung  <maddog@linuxhall.org>
802
803         * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
804         (yes I know that's useless)
805
806 2005-11-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>
807
808         * configure.in: Added "th" (Thai) to ALL_LINGUAS.
809
810 2005-11-17  Michael Meeks  <michael.meeks@novell.com>
811
812         * atk-bridge/bridge.c (spi_atk_emit_eventv): 
813         urgh-fix embarassing typo.
814
815 2005-11-16  Michael Meeks  <michael.meeks@novell.com>
816
817         * atk-bridge/bridge.c (spi_atk_emit_eventv):
818         do a faster, less problematic _unref call on this local
819         object, rather than a slower (potentially cross-thread
820         complicated) CORBA call.
821
822 2005-11-02  Kjartan Maraas  <kmaraas@gnome.org>
823
824         * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
825         * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
826         * registryd/deviceeventcontroller.c:
827         (spi_controller_notify_mouselisteners),
828         (impl_generate_keyboard_event):
829         * test/screen-review-test.c: (chunk_bounds_within):
830         * test/test-simple.c: (test_desktop): Remove some unused code
831         and fix compiler warnings. Closes bug #320049.
832
833 2005-10-27 Bill Haneman <bill.haneman@sun.com>
834
835         * registryd/deviceeventcontroller.c:
836         (spi_controller_notify_keylisteners): Check
837         to make sure the event listener has requested 'preemptive'
838         status before pre-empting an event.
839         
840 2005-08-29 Bill Haneman <bill.haneman@sun.com>
841
842         * configure.in, README, NEWS: Release 1.6.5.
843         
844 2005-07-25  Matthias Clasen  <mclasen@redhat.com>
845
846         * test/window-listener-test.c: Fix a printf
847         format error.  (#169453)
848
849 2005-07-15  Bill Haneman <bill.haneman@sun.com>
850
851         * tests/test-simple.c: 
852         (key_listener_cb): Ensure that the keystring is dup'ed instead of
853         relying on the old string from the key event hanging around after
854         the event handler returns.  Fixes broken 'make check'.
855         
856 2005-06-06  Swapnil Hajare  <dreamil@gmail.com>
857
858         * Added Marathi (mr_IN) translations.
859
860 2005-05-27  Kjartan Maraas  <kmaraas@gnome.org>
861
862         * cspi/bonobo/cspi-bonobo-listener.c:
863         (cspi_event_list_remove_by_cb): Fix the build.
864
865 2005-05-26  Michael Meeks  <michael.meeks@novell.com>
866
867         * cspi/bonobo/cspi-bonobo-listener.c
868         (cspi_event_list_remove_by_cb): actually filter by callback.
869
870 2005-05-25  Bill Haneman <bill.haneman@sun.com>
871
872         * registryd/registry.c (remove_listener_cb):
873         Make deregistration filter rules match the event emission rules.
874
875 2005-05-25  Michael Meeks  <michael.meeks@novell.com>
876
877         * registryd/registry.c (remove_listener_cb),
878         (impl_accessibility_registry_deregister_global_event_listener),
879         (impl_accessibility_registry_deregister_global_event_listener_all): 
880         pass a closure to the remove callback to filter listeners more
881         accurately on remove.
882
883 2005-04-05  Bill Haneman <bill.haneman@sun.com>
884
885         * configure.in: Revved to 1.6.4.
886         Remember to put quotes around XEVIE_LIBS assignment.
887         Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
888         Fixes bug #303694.
889
890         * tests/event-listener-test.c: Tweaked the tests - more detail
891         from caret events, and some interrogation of AccessibleText APIs.
892         Commented-out the bounds-changed events by default, since they can
893         be very noisy.
894
895 2005-04-14  Kjartan Maraas  <kmaraas@gnome.org>
896
897         * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
898         * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
899         Same here. Closes bug #167806
900
901 2005-04-05  Bill Haneman <bill.haneman@sun.com>
902
903         * atk-bridge/bridge.c: 
904         (spi_atk_bridge_signal_listener):
905         Free the any._value if any._release is TRUE,
906         since the ORB won't do it for us in this case
907         [because this method is not a skel].
908         Fix for bug #168679.    
909         
910 2005-03-30  Steve Murphy  <murf@e-tools.com>
911
912         * configure.in: Added "rw" to ALL_LINGUAS.
913
914 2005-03-29  Bill Haneman <bill.haneman@sun.com>
915
916         * configure.in: Improved check for HAVE_XEVIE, to detect 
917         presence on XOrg, where -lXevie is a separate library.
918
919 2005-03-08  Bill Haneman <bill.haneman@sun.com>
920
921         * configure.in, NEWS, README: Revved to 1.6.3.
922
923 2005-02-16  Adi Attar  <aattar@cvs.gnome.org>
924
925         * configure.in: Added "xh" to ALL_LINGUAS.
926
927 2005-02-07  Bill Haneman <bill.haneman@sun.com>
928
929         * atk-bridge/bridge.c: 
930         (atk_bridge_init): Added missing NULL in g_strconcat(),
931         also check for symlink before logging to 
932         insecure directory.  Thanks to meissner@suse.de.
933
934 2005-01-25  Padraig O'Briain <padraig.obriain@sun.com>
935
936         * tests/login-helper-server-test.c: Add return call to main
937         function. Patch from Chris Lahey. Fixes bug #165129.
938
939 2004-12-20  Padraig O'Briain <padraig.obriain@sun.com>
940
941         * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
942
943 2004-12-09  Bill Haneman <billh@gnome.org>
944
945         * registryd/registry-main.c:
946         Added #define <string.h> for strrchr. (bug 160862).
947         Thanks to Vincent Berger for catching.
948         
949 2004-12-09  Padraig O'Briain <padraig.obriain@sun.com>
950
951         * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
952         restart registry process if the registry process is found to have died
953         and the current process is exiting.
954         (spi_atk_bridge_exit_func): Do not attempt to deregister the
955         application if the registry process has died.
956         (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
957         does not return a registry object.
958         (spi_atk_tidy_windows): Give up if the registry process has died.
959
960         This fixes problems with hangs and crashes when logging out.
961
962 2004-12-03  Padraig O'Briain <padraig.obriain@sun.com>
963
964         * registryd/desktop.c: Add checking that we are not exiting before
965         calling spi_desktop_remove_application in 
966         abnormal_application_termination. Fix for bug #152147.
967
968 2004-12-02  Bill Haneman <billh@gnome.org>
969
970         * configure.in, NEWS, README: Revved to 1.6.1.
971         
972         Patch from Padraig O'Briain <padraig.obriain@sun.com>
973         * atk-bridge/bridge.c:
974         (atk_bridge_init): Save the pid when we start, to detect forks.
975         (spi_atk_bridge_exit_func): Don't call the cleanup routines
976         if we're in a forked pid.
977         
978 2004-10-09  Bill Haneman <billh@gnome.org>
979
980         * idl/Accessibility_LoginHelper.idl:
981         Improved inline documentation.
982
983 2004-10-02  Jesus Bravo Alvarez  <suso@trasno.net>
984
985         * configure.in: Added gl (Galician) to ALL_LINGUAS
986
987 2004-09-30  Kjartan Maraas  <kmaraas@gnome.org>
988
989         * libspi/accessible.c:
990         (impl_accessibility_accessible_get_role_name),
991         (impl_accessibility_accessible_get_local_role_name):
992         NULL vs. 0 cleanups.
993         * libspi/component.c:
994         (impl_accessibility_component_get_accessible_at_point):
995         Same here.
996         * libspi/eventlistener.c: (spi_event_listener_new):
997         ANSIfication.
998         * libspi/stateset.c: (impl_compare): More of the same
999         * libspi/table.c: (impl_getRowDescription): Again.
1000         * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1001         * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1002         (impl_generate_keyboard_event): Same.
1003         * registryd/registry-main.c: (main): Same
1004         * test/event-listener-test.c: (test_exit): Same
1005         * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1006         * test/keysynth-test.c: (test_key_synthesis): Same
1007         * test/login-helper-server-test.c: (main): Fix warning.
1008         * test/screen-review-test.c: (test_exit): Fix include.
1009         * test/simple-at.c: (simple_at_exit), (_festival_init):
1010         ANSIfication.
1011
1012 2004-09-13  Padraig O'Briain <padraig.vriain@sun.com>
1013
1014         * configure.in, NEWS, README: Revved to 1.6.0.
1015
1016 2004-09-12  Bill Haneman <bill.haneman@sun.com>
1017
1018         * configure.in: Rev and re-dist, since the 1.5.4 tarball
1019         was missing the HTML docs.
1020
1021 2004-09-12  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1022
1023         * configure.in: only cleanups:
1024         - better looking PKG_CHECK_MODULES() output,
1025         - justification,
1026         - declare in one common place required versions of other tools using
1027           m4_define().
1028
1029 2004-09-11  J.H.M. Dassen (Ray) <jdassen@debian.org>
1030
1031         * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1032         (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1033         required ATK version accordingly.
1034
1035 2004-09-03 Bill Haneman    <bill.haneman@sun.com>
1036
1037         * cspi/bonobo/cspi-bonobo.c:
1038         (cspi_display_name): Fix C99ism.
1039         * atk-bridge/bridge.c:
1040         (spi_display_name): Fix C99ism.
1041         Patch from Jens Granseuer, jensgr@gmx.net.
1042         
1043 2004-09-03  Gora Mohanty  <gmohanty@cvs.gnome.org>
1044  
1045         * configure.in: Added "or" to ALL_LINGUAS.
1046
1047 2004-08-20  Bill Haneman    <bill.haneman@sun.com>
1048
1049         * configure.in, NEWS, README: Revved to 1.5.4.
1050         
1051         * registryd/registry-main.c:
1052         (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1053         $DISPLAY.  
1054         
1055         * cspi/bonobo/cspi-bonobo.c:
1056         (cspi_display_name): New convenience method, gets DISPLAY with
1057         screen number stripped, if AT_SPI_DISPLAY isn't already set.
1058         (cspi_init): Set the activation env value above before getting
1059         the registry.
1060         
1061         * atk-bridge/bridge.c:
1062         (spi_display_name): Create the AT_SPI_DISPLAY activation
1063         environment for an app, based on the DISPLAY environment with the
1064         screen number stripped off.
1065         (atk_bridge_init):  Allow redirection of error messages to a log.
1066         (spi_atk_bridge_get_registry): Call
1067         bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1068
1069         Fixes for bugs #149962, #136986, #144086.
1070         
1071 2004-08-16  Christian Rose  <menthos@menthos.com>
1072
1073         * configure.in: Added "bs" to ALL_LINGUAS.
1074
1075 2004-08-12  Kjartan Maraas  <kmaraas@gnome.org>
1076
1077         * configure.in: Added nb to ALL_LINGUAS.
1078
1079 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1080
1081         * cspi/spi_main.c:
1082         (SPI_init): Return error code '2' if the activated
1083         registry cannot be pinged. Fixes bug #147648.
1084         
1085 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1086
1087         * registryd/deviceeventcontroller.c:
1088         (spi_dec_init_mouse_listener): Don't do XGrabButton, 
1089         rely on timer-poll instead, to avoid conflict with 
1090         xstroke.
1091         
1092 2004-07-20  Bill Haneman <bill.haneman@sun.com>
1093
1094         * configure.in: Revved to 1.5.3.
1095
1096         * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1097
1098         * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1099
1100         * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1101
1102         * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1103         
1104 2004-06-11  Bill Haneman <bill.haneman@sun.com>
1105
1106         * atk-bridge/bridge.c:
1107         (spi_atk_bridge_do_registration): 
1108         Register with ATK for AtkComponent:bounds-changed events.
1109         (api_atk_bridge_signal_listener): 
1110         Marshal the AtkRectangle info into the event notification
1111         for object:bounds-changed events.
1112         
1113         * libspi/util.c:
1114         (spi_init_any_rect): New method, inits a corba struct of
1115         type Accessibility_BoundingBox from an AtkRectangle.
1116
1117         * libspi/spi-private.h: Declared spi_init_any_rect (above).
1118         
1119         * cspi/spi.h:
1120         (SPIRect): New struct definition.
1121         (SPI_freeRect): New declaration.
1122         (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1123
1124         * cspi/spi_event.c:
1125         (AccessibleBoundsChangedEvent_getNewBounds): New method,
1126         implemented.  Gets the bounding box data from the CORBA_any
1127         associated with a bounds-changed event notification.
1128         (cspi_internal_event_get_rect): New, used internally by above method.
1129         
1130         * cspi/spi_main.c:
1131         (SPI_freeRect): Implemented this new method, for freeing
1132         SPIRect structs.
1133         
1134         * test/event-listener-test.c:
1135         (main, report_bounds_event):
1136         Added a test for object:bounds-changed events.
1137         
1138 2004-06-01  Bill Haneman <bill.haneman@sun.com>
1139
1140         * test/login-helper-server-test.c:
1141         (main): Fix C99-ism.  Thanks to Jens Granseuer.
1142         
1143 2004-05-28  Padraig O'Briain <padraig.obriain@sun.com>
1144
1145         * libloginhelper-1.0.pc.in:
1146         * idl/Accessibility_LoginHelper.idl: 
1147         * login-helper/Makefile.am:
1148         * login-helper/login-helper.[ch]:
1149         * test/login-helper-client-test.c:
1150         * test/login-helper-server-test.c: Added files missing from CVS.
1151         Files obtained from at-spi-1.5.2 tarball.
1152
1153 2004-05-27  Bill Haneman <bill.haneman@sun.com>
1154
1155         * configure.in: Create login-helper/Makefile.  
1156         Incremented micro version.
1157
1158         * Makefile.am:  Add login-helper subdir and pkgconfig data.
1159         
1160         * login-helper: New subdir.
1161
1162         * libloginhelper-1.0.pc.in: New.
1163
1164         * idl/Accessibility_LoginHelper.idl: New file, defines
1165         interface whereby authentication clients can identify agents which
1166         need access to services during the login process, e.g. screen lock
1167         dialogs, etc.
1168
1169         * login-helper/Makefile.am : New.
1170
1171         * login-helper/login-helper.[ch] : New, implementation of
1172         a LoginHelper base class.  Services needing LoginHelper can subclass.
1173
1174         * test/Makefile.am : Added test for login-helper, client and
1175         server.
1176
1177         * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1178         Use proper prefix in #include files.
1179
1180         * test/login-helper-client-test.c: New.
1181         
1182         * test/login-helper-server-test.c: New.
1183
1184 2004-05-27  Alexander Shopov <ash@contact.bg>
1185
1186         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1187
1188 2004-05-14  Padraig O'Briain <padraig.obriain@sun.com>
1189
1190         * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1191         is positive. This should make it easier to detect inapprorpiate unref
1192         calls.
1193
1194 2004-05-11  James Henstridge  <james@daa.com.au>
1195
1196         * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1197         no-op and deprecated.
1198
1199 2004-05-03  Pablo Saratxaga  <pablo@mandrakesoft.com>
1200
1201         * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1202
1203 2004-04-28 Bill Haneman <billh@gnome.org>
1204
1205         * Makefile.am: Added --enable-gtk-doc to
1206         DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1207         
1208 2004-04-19 Bill Haneman <billh@gnome.org>
1209
1210         * configure.in: Revved to 1.5.1.
1211
1212         * registryd/deviceeventcontroller.c:
1213         #define XK_LATIN1.
1214         (DEControllerPrivateData): Added fields for 
1215         reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1216         (spi_dec_replace_map_keysym): New internal utility for
1217         replacing a keysym in the keymap - used to allow
1218         synthesis of individual characters which aren't in the
1219         current X keymap.
1220         (spi_dec_reset_reserved): New; resets the changed keysym value 
1221         in the map.
1222         (keycode_for_keysym): We now try to deal with failed
1223         XKeysymToKeycode requests by changing a keymap value
1224         and returning a reserved keycode.  We now take 
1225         a DEController pointer as first arg.
1226         (spi_controller_register_with_devices): Call XkbGetMap with 
1227         the XkbKeySymsMask.  Find the highest keycode in the current
1228         keymap which doesn't have any grabs, and mark that one for
1229         temporary re-mapping when out-of-range KeySyms are synthesized.
1230         (dec_synth_keycode_press): Call XFlush after synthesizing the key
1231         event.
1232         
1233 2004-04-08  Guntupalli Karunakar  <karunakar@freedomink.org>
1234
1235         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1236
1237 2004-03-24  Alexander Winston  <alexander.winston@comcast.net>
1238
1239         * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1240
1241 2004-03-24  Bill Haneman <billh@gnome.org>
1242
1243         * cspi/spi.h:
1244         (AccessibleTable_addRowSelection),
1245         (AccessibleTable_addColumnSelection),
1246         (AccessibleTable_removeRowSelection),
1247         (AccessibleTable_removeColumnSelection):
1248         Add declarations for spi wrappers which were
1249         inadvertantly omitted.  Fixes bug #133413.
1250
1251         * configure.in:
1252         Revved to 1.5.0 (unstable series for GNOME 2.7).
1253         
1254 2004-03-24  Bill Haneman <billh@gnome.org>
1255
1256         * atk-bridge/bridge.c:
1257         Bracketed some debug output in 
1258         conditionals, to avoid printing it in normal use.
1259         Fixes bug #136660.
1260
1261         * libspi/hyperlink.c:
1262         Don't cast 'object' to ATK_OBJECT when constructing
1263         an AtkAction interface for a hyperlink.
1264         See discussion in bug #120659.
1265
1266         * test/key-listener-test.c:
1267         (report_all_key_event): Send output to stderr,
1268         not stdout, for consistency with the rest of the test callbacks.
1269
1270         * configure.in:
1271         Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1272         Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1273         Incremented to 1.4.1 (but didn't dist yet - I'm going to 
1274         try incrementing the revision AFTER doing a dist, at least
1275         for awhile).
1276         
1277 2004-03-22  Bill Haneman <billh@gnome.org>
1278
1279         * configure.in: Revved to 1.4.0, libtool 9.14.9
1280
1281 2004-03-17  Laszlo Peter  <laca@sun.com>
1282
1283         * libspi-1.0-uninstalled.pc.in: add idldir
1284
1285         * cspi-1.0-uninstalled.pc.in: add idldir
1286
1287 2004-03-16  Gareth Owen <gowen72@yahoo.com>
1288
1289         * configure.in: Added "en_GB" to ALL_LINGUAS
1290
1291 2004-03-15  Bill Haneman <billh@gnome.org>
1292
1293         * configure.in: Revved to 1.3.16, 
1294         libtool 9.13.9.
1295         
1296 2004-03-15  Laszlo Peter  <laca@sun.com>
1297
1298         * libspi-1.0-uninstalled.pc.in: new file
1299
1300         * cspi-1.0-uninstalled.pc.in: new file
1301
1302         * configure.in: add the new pc files to AC_OUTPUT
1303
1304         * Makefile.am: add the new pc files to EXTRA_DIST
1305
1306 2004-03-12  Bill Haneman <billh@gnome.org>
1307
1308         * atk-bridge/bridge.c:
1309         (spi_atk_bridge_key_listener):
1310         Make sure to return consumed=FALSE if snoop 
1311         event is not dispatched to listener.
1312         Fixes #134037.
1313         
1314 2004-03-01  Bill Haneman <billh@gnome.org>
1315
1316         * configure.in: Revved to 1.3.15, 
1317         libtool 9.12.9.
1318         
1319 2004-03-07  Danilo Segan  <dsegan@gmx.net>
1320
1321         * configure.in: Added "sr@ije" to ALL_LINGUAS.
1322
1323 2004-03-03  Guntupalli Karunakar  <karunakar@freedomink.org>
1324
1325         * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1326
1327 2004-03-01  Bill Haneman <billh@gnome.org>
1328
1329         * configure.in: Revved to 1.3.14.
1330         
1331         * cspi/spi_main.c:
1332         (SPI_exit): Removed "bye-bye" exit message.
1333         Moved "leak" report to happen before the
1334         iteration over the leaked refs list.
1335         Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1336         
1337 2004-02-24  Bill Haneman <billh@gnome.org>
1338
1339         * configure.in: Revved to 1.3.13.
1340
1341         * docs/reference/cspi/Makefile.am:
1342         Correct typo that was breaking the docs build.
1343
1344 2004-02-11  Padraig O'Briain <padraig.obriain@sun.com>
1345
1346         * autogen.sh: Require version 1.7 of automake.
1347         
1348         * configure.in: call GTK_DOC_CHECK([1.0])
1349
1350         * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1351
1352         * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1353
1354         * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1355
1356         * test/Makefile.am:  Remove use of CFLAGS.
1357
1358         This fixes bug #132987.
1359
1360 2004-02-11  Bill Haneman <billh@gnome.org>
1361
1362         * reverted most of Tomasz' patch below, since it was breaking
1363         builds (see bug #134058).
1364         
1365 2004-02-10  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1366
1367         * docs/reference/cspi/at-spi-cspi.types: added empty file for
1368           correct pass "make dist" (empty .. because seems no sach types in
1369           header files with gtk-doc markups).
1370         * docs/reference/cspi/Makefile.am, configure.in:
1371           Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1372           from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1373         * Makefile.am: added:
1374           DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1375           for force correct pass generate documentation on "make distcheck".
1376         * libspi/Makefile.am: fixes for automake >= 1.6.
1377         * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1378           AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1379           substed by default.
1380
1381 Sun Feb  8 11:20:50 2004  Matthias Clasen  <maclas@gmx.de>
1382
1383         * docs/reference/cspi/Makefile.am (install-data-local): Install
1384         index.sgml since the doc autobuilder on widget.gnome.org looks for
1385         that file.
1386
1387 2004-02-02  Padraig O'Briain  <padraig.obriain@sun.com>
1388
1389         * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1390         g_object_unref.
1391
1392 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
1393
1394         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1395
1396 2004-01-27  Brian Cameron <brian.cameron@sun.com>
1397
1398         * test/simple-at.c: Fixed null string problems that cause core
1399           dumping problems on Solaris.
1400
1401 2004-01-12  Bill Haneman <billh@gnome.org>
1402         
1403         * configure.in: Incremented version to 1.3.11.
1404
1405 2004-01-05  Padraig O'Briain  <padraig.obriain@sun.com>
1406
1407         * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1408         DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1409         Bacher.
1410
1411 2004-01-01  Roozbeh Pournader  <roozbeh@sharif.edu>
1412
1413         * configure.in: Added "fa" to ALL_LINGUAS.
1414
1415 2003-12-20  Arafat Medini <lumina@silverpen.de>
1416
1417         * configure.in: Added "ar" to ALL_LINGUAS
1418
1419 2003-12-16      Bill Haneman <billh@gnome.org>
1420
1421         * registryd/registry-main.c:
1422         (main):
1423         Set the reg_env DISPLAY variable before registering the
1424         activated registry service.  Fixes bug #129479.
1425
1426 2003-12-16      Mohammad DAMT  <mdamt@bisnisweb.com>
1427
1428         * configure.in: Added "id" in ALL_LINGUAS
1429         * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1430
1431 2003-12-15  Padraig O'Briain <padraig.obriain@sun.com>
1432
1433         * registryd/deviceeventcontroller.c (global_filter_fn):
1434         When an event is consumed discard any XEvents were added to
1435         the queue while dealing with the the event. This can happen if
1436         processing of the event takes a long time. Call XUngrabKeyboard
1437         if an event was discarded. This fixes bug $124837.
1438         Only call wait_for_release_event for a KeyPress.
1439         Use local variable display instead of spi_get_display().
1440         (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1441         outside for loop.
1442
1443 2003-12-11  Padraig O'Briain <padraig.obriain@sun.com>
1444
1445         * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1446         Allow for mask to contain values other than NumLock mask.
1447         Fixes bug #129103.
1448
1449 2003-12-10  Padraig O'Briain <padraig.obriain@sun.com>
1450
1451         * registryd/devieceventcontroller.c:
1452         (wait_for_release_event): Change first parameter from GdkEvent to 
1453         XEvent.
1454         (global_filter_fn); Correct call to wait_for_release_event.
1455
1456         Fixes bug #128912.
1457
1458 2003-12-08  Bill Haneman <billh@gnome.org>
1459
1460         Version 1.3.10.
1461
1462         * registryd/ucs2keysym.c: New file.
1463
1464         * registryd/deviceeventcontroller.c:
1465         (dec_keysym_for_unichar): Remove old partial implementation and
1466         replace with call to ucs2keysym(), which is much more complete.
1467         Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1468         the public domain.
1469
1470         Fixes bug #128824.
1471
1472 2003-12-05  Bill Haneman <billh@gnome.org>
1473
1474         * configure.in: Version 1.3.9.
1475
1476         * docs/reference/cspi/tmpl/spi_registry.sgml:
1477         Added reference to libspi/keymasks.h to the
1478         description of Registry queries: AccessibleKeyMaskType.
1479         Fixes bug #118103.
1480
1481 2003-12-04  Bill Haneman <billh@gnome.org>
1482
1483         Fix for bug #121974.
1484         
1485         * idl/Accessibility_Application.idl:
1486         (Accessibility::LOCALE_TYPE): New enum, corresponds to
1487         setlocale's LC_TYPEs.
1488         (Accessibility::Application::getLocale): New method.
1489         Allows clients to query the locale, by type, of an app.
1490         
1491         * cspi/spi.h:
1492         * cspi/spi_application.c:
1493         (AccessibleApplication_getLocale): New method, wraps IDL above.
1494
1495         * libspi/application.c:
1496         (spi_application_class_init): Init epv entry for getLocale.
1497         (impl_accessibility_application_get_locale): Impl for above.
1498
1499         * test/test-simple.c:
1500         (test_application): Added assertion for getLocale, i.e.
1501         that the string from AccessibleApplication_getLocale (app, type) 
1502         is the same as that from setlocale (type, NULL);
1503
1504 2003-12-03  Padraig O'Briain <padraig.obriain@sun.com>
1505
1506         *registryd/deviceeventcontroller.c: Add an idle handler which polls
1507         the keyboard on a timeout intil the key state goes from pressed to
1508         released. Fixes bug #111429.
1509
1510 2003-12-03  Padraig O'Briain <padraig.obriain@sun.com>
1511
1512         * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application 
1513         root object so that it is present when a context menu in an 
1514         out-of-process applet is popped up.
1515         (spi_atk_bridge_do_registration): Create acceessible application root
1516         object only if it does not exist.
1517
1518         This fixes bug #125834.
1519
1520 2003-12-01  Bill Haneman <billh@gnome.org>
1521
1522         Fix for bug #114926.  Thanks to Michael Meeks for some of this patch.
1523
1524         * cspi/spi.h:
1525         Added enum for AccessibleStreamableContentSeekType.
1526         (AccessibleStreamableContent_freeContentTypeList): New.
1527         
1528         * cspi/spi_streamablecontent.c:
1529         (accessible_bonobo_stream_client_seek): New private method.
1530         (AccessibleStreamableContent_seek): Implemented this method,
1531         using Bonobo_Stream_seek.
1532         (AccessibleStreamableContent_freeContentTypeList): New method
1533         for freeing the return value from 
1534         AccessibleStreamableContent_getContentTypes.
1535         (stream_cache_item_free): Replaces stream_release; stop leaks.
1536         (stream_release): removed.
1537         (AccessibleStreamableContent_read): Use properly init'd CORBA_evs, 
1538         free the memory properly.
1539
1540 2003-12-02  Padraig O'Briain <padraig.obriain@sun.com>
1541
1542         Fix for bug #116009.
1543
1544         * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1545
1546         * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1547
1548         * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1549
1550         * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1551
1552 2003-12-01  Bill Haneman <billh@gnome.org>
1553
1554         Fix for bug/rfe #127463.
1555         
1556         * idl/Accessibility_Accessible.idl:
1557         (getLocalizedRoleName): New.
1558         (unimplemented4): Removed (replaced by above).
1559
1560         * libspi/accessible.c:
1561         (impl_accessibility_accessible_get_local_role_name): New.
1562         (spi_accessible_class_init): Add getLocalizedRoleName entry to
1563         epv.
1564         
1565         * cspi/spi.h:
1566         (Accessible_getLocalizedRoleName): New.
1567
1568         * cspi/spi_accessible.c:
1569         (Accessible_getLocalizedRoleName): New.
1570         
1571 2003-12-01  Bill Haneman <billh@gnome.org>
1572         
1573         Fix for bug #118581.
1574         * idl/Accessibility_Text.idl:
1575         (getDefaultAttributes): New.
1576         (unimplemented4): Removed (replaced by above method).
1577
1578         * libspi/text.c:
1579         (impl_getDefaultAttributes): New method.
1580         (spi_text_class_init):
1581         initialize the get_default_attributes slot in the epv.
1582
1583         * cspi/spi.h:
1584         (AccessibleText_getDefaultAttributes): New prototype.
1585
1586         * cspi/spi_text.c:
1587         (AccessibleText_getDefaultAttributes): New method.
1588
1589 2003-11-06  Padraig O'Briain <padraig.obriain@sun.com>
1590
1591         * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1592         write beyond the end of the table. Fixes bug #120473.
1593
1594 2003-09-30  Christian Rose  <menthos@menthos.com>
1595
1596         * configure.in: Added "eu" to ALL_LINGUAS.
1597
1598 2003-09-28  Kjartan Maraas  <kmaraas@gnome.org>
1599
1600         * configure.in: ALL_LINGUAS: Added no.
1601
1602 2003-09-28  Gediminas Paulauskas  <menesis@delfi.lt>
1603
1604     * configure.in: Added lt to ALL_LINGUAS.
1605
1606 2003-09-25  Padraig O'Briain <padraig.obriain@sun.com>
1607
1608         * atk-bridge/bridge.c:
1609         (atk_bridge_init): Register event listeners always even for 
1610         out-of-process applet.
1611         (spi_atk_bridge_toplevel_added): Remove call to 
1612         spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1613         (spi_atk_bridge_toplevelk_removed): Remove call to 
1614         spi_atk_deregister_event_listenersa as the listeners are now always
1615         registered
1616         (spi_atk_bridge_register_application): Remove call to
1617         spi_atk_register_event_listeners as it is not done in atk_bridge_init
1618
1619         This fixes bug #120991.
1620
1621         * libspi/table.c (impl_getColumnDescription): Correct typo,
1622         pointed out by Bolian.Yin@sun.com.
1623
1624 2003-09-21  Ãƒ\85smund Skjæveland  <aasmunds@fys.uio.no>
1625
1626         * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1627
1628 2003-09-08  Bill Haneman <billh@gnome.org>
1629
1630         * configure.in: Revved to 1.3.7.
1631
1632         This is the GNOME 2.4.0 release of at-spi.
1633
1634         * docs/reference/cspi/Makefile.am:
1635         Removed spurious inclusion of 'index.sgml' in the
1636         html directory; this was breaking make distcheck and
1637         also some other build environments.
1638
1639 2003-09-05  Padraig O'Briain <padraig.obriain@sun.com>
1640
1641         * registryd/registry.[ch}:
1642         Add queue_handler_id and focus_object to SpiRegistry data structure.
1643         (registry_flush_event_queue): If event being discarded is 
1644         "state-change:focused" store object as focus_object.
1645         (registry_start_queue): Remove queue handler and focus object
1646         if present.
1647         (registry_discard_event): New function which discards a focus event
1648         if we had stored focus object in the registry.
1649         (registry_queue_event): Add new check that is_queueing is set as this
1650         function is reentrant.
1651         (registry_filer_event): Add call to registry_discard_event.
1652         
1653         This resolves issues raised in bug #108664.
1654         
1655 2003-09-05  Taneem Ahmed  <taneem@bengalinux.org>
1656
1657         * configure.in: Added "bn" to ALL_LINGUAS.
1658
1659 2003-09-04  Bill Haneman <billh@gnome.org>
1660
1661         * cspi/spi_event.c: Documentation improvements for
1662         (SPI_registerAccessibleKeylistener).
1663
1664         * docs/reference/tmpl/spi_registry.sgml:
1665         Documentation improvements for SpiAccessibleKeylistenerCB.
1666
1667 2003-09-02  Mugurel Tudor  <mugurelu@go.ro>
1668
1669         * configure.in: Added "ro" to ALL_LINGUAS.
1670
1671
1672 2003-09-01  Padraig O'Briain <padraig.obriain@sun.com>
1673
1674         * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1675         not decremented to zero. Fixes bug #120725.
1676
1677 2003-08-30  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>
1678
1679         * configure.in: Added "ja" to ALL_LINGUAS.
1680
1681 2003-08-22  Samúel Jón Gunnarsson  <sammi@techattack.nu>
1682
1683         * configure.in: Added "is" to ALL_LINGUAS.
1684         
1685 2003-08-22  Christian Rose  <menthos@menthos.com>
1686
1687         * configure.in: Added "nl" to ALL_LINGUAS.
1688
1689 2003-08-19  Padraig O'Briain <padraig.obriain@sun.com>
1690
1691         * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1692         * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1693         to return a value.
1694         * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1695         arguments.
1696         * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1697         type for unspecified exception.
1698         * cspi_streamablecontect): Add include of string.h for memcpy.
1699         (stream_release): Correct call to bonobo_object_release_unref
1700         (stream_cache_item_free): Correct call to bonobo_object_release_unref
1701         * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1702         argument of _cspi_expection_throw.
1703         * libspi/hyperlink.c: Add include of libspi/action.h:
1704         (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1705         * libspi/streamablecontent.c: add include of libspi/component.h.
1706         * regisrtyd/deviceeventcontroller.c:
1707         (spi_dec_translate_mask): Removed unused variable priv.
1708         (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1709         * registryd/registry.c:
1710         (registry_filter_event): Remove unused variable queue_is-empty.
1711         (impl_registry_notify_event): Use correct modifier in fprintf call.
1712
1713         This fixes compiler warnings reported in bug #120220.
1714         
1715 2003-08-18  Padraig O'Briain <padraig.obriain@sun.com>
1716
1717         * registryd/registryd.c: Remove this file.
1718
1719 2003-08-17  Sanlig Badral  <badral@openmn.org>
1720
1721         * configure.in: Added mn to ALL_LINGUAS.
1722
1723 2003-08-16  Tõivo Leedjärv  <toivo@linux.ee>
1724
1725         * configure.in: Added et to ALL_LINGUAS.
1726
1727 2003-08-13  Padraig O'Briain <padraig.obriain@sun.com>
1728
1729         * test/event-listener-test.c: Change active-descendant to 
1730         active-descendant-changed.
1731
1732 2003-08-10  Sami Pesonen  <sampeson@iki.fi>
1733
1734         * configure.in: Added "fi" in ALL_LINGUAS.
1735
1736 2003-08-08  Guntupalli Karunakar  <karunakar@freedomink.org>
1737
1738         * configure.in: Added "hi" in ALL_LINGUAS.
1739
1740 2003-08-08  Padraig O'Briain <padraig.obriain@sun.com>
1741
1742         * configure.in: Revved to 1.3.6.
1743
1744         * NEWS: updated.
1745         
1746 2003-08-07  Padraig O'Briain <padraig.obriain@sun.com>
1747
1748         * registryd/deviceeventcontroller.c
1749         (spi_device_event_controller_object_finalize): Fix typo in previous 
1750         commit.
1751
1752 2003-08-07  Marc Mulcahy  <marc.mulcahy@sun.com>
1753
1754         * registryd/deviceeventcontroller.c
1755         (spi_device_event_controller_object_finalize): Fix build on
1756         systems without XEvIE.
1757         
1758 2003-08-06  Brian Cameron <Brian.Cameron@sun.com>
1759
1760         * acconfig.h, configure.in, registryd/Makefile.am,
1761           registryd/devicecontoller.[ch]: Add XEViE support.
1762
1763 2003-08-06  Wang Jian  <lark@linux.net.cn>
1764
1765         * configure.in: Added "zh_CN" to ALL_LINGUAS.
1766
1767 2003-08-06  Metin Amiroff<metin@karegen.com>
1768
1769         * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1770
1771 2003-08-06  Padraig O'Briain <padraig.obriain@sun.com>
1772
1773         * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1774         MODIFIER_ALT in correct place. 
1775
1776         This fixes part of bug #118114.
1777
1778 2003-07-30  Alessio Frusciante  <algol@firenze.linux.it>
1779
1780         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1781
1782 2003-07-28  Changwoo Ryu  <cwryu@debian.org>
1783
1784         * configure.in: Added "ko" to ALL_LINGUAS.
1785
1786 2003-07-28  Ole Laursen  <olau@hardworking.dk>
1787
1788         * configure.in: Added "da" to the commented out ALL_LINGUAS.
1789
1790 2003-07-27  Laurent Dhima  <laurenti@alblinux.net>
1791
1792         * configure.in: Added "sq" to ALL_LINGUAS.
1793
1794 2003-07-27  Hasbullah Bin Pit  <sebol@ikhlas.com>
1795                                                                                 
1796         * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1797
1798 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
1799
1800         * configure.in: updated ALL_LINGUAS list
1801
1802 2003-07-24  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
1803
1804         * configure.in: Added Belarusian to ALL_LINGUAS.
1805
1806 2003-07-23  Padraig O'Briain <padraig.obriain@sun.com>
1807
1808         * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1809         event->data.
1810         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call 
1811         CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1812
1813         This fixes bug #116949.
1814
1815 2003-07-22  Padraig O'Briain <padraig.obriain@sun.com>
1816
1817         * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1818         Correct CSPI to SPI in function documentation.
1819
1820         This fixes bug #118054.
1821
1822 2003-07-16  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
1823
1824         * configure.in: Added Russian to ALL_LINGUAS.
1825
1826 2003-07-16  Duarte Loreto <happyguy_pt@hotmail.com>
1827
1828         * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1829
1830 2003-07-14  Danilo Ã… Segan  <dsegan@gmx.net>
1831
1832         * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1833
1834 2003-07-10  Joel Brich <joel.brich@laposte.net>
1835
1836         * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1837
1838 2003-07-07  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
1839
1840         * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1841
1842 2003-07-07  Padraig O'Briain <padraig.obriain@sun.com>
1843
1844         * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1845         resources allocated for AccessibleEvent. See cspi_event().
1846
1847         * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1848         static variable streams to NULL.
1849
1850         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1851         Update so that AcessibleEvent_ref will work.
1852
1853         This fixes bug #116624.
1854
1855 2003-07-06  Jordi Mallach  <jordi@sindominio.net>
1856
1857         * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1858
1859 2003-07-06  Christophe Merlet  <redfox@redfoxcenter.org>
1860
1861         * configure.in: Added "fr" (French) to ALL_LINGUAS.
1862
1863 2003-07-02  Christian Neumair  <chris@gnome-de.org>
1864
1865         * configure.in: Added "de" (German) to ALL_LINGUAS.
1866
1867 2003-07-01  Dafydd Harries  <daf@parnassus.ath.cx>
1868
1869         * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1870
1871 2003-07-01  Miloslav Trmac  <mitr@volny.cz>
1872
1873         * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1874
1875 2003-07-01  Artur Flinta  <aflinta@cvs.gnome.org>
1876
1877         * configure.in: Added "pl" to ALL_LINGUAS.
1878
1879 2003-07-01  Gil "Dolfin" Osher <dolfin@rpg.org.il>
1880
1881         * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1882
1883 2003-06-30  Bill Haneman <bill.haneman@sun.com>
1884         
1885         * libspi/action.c:
1886         (get_action_from_servant): 
1887         Removed assertion that action is implemented on an AtkObject.
1888
1889         * libspi/hyperlink.c:
1890         (spi_hyperlink_new):
1891         Aggregate AccessibleAction interface on the hyperlink object if
1892         the object implements AtkAction.  (This convention is used in
1893         gtkhtml2.)
1894         
1895 2003-06-30  Bill Haneman <bill.haneman@sun.com>
1896
1897         * configure.in: Revved to 1.3.5.
1898         
1899         * registryd/Accessibility_Registry.server.in.in:
1900         Marked up appropriate strings for translation.
1901         
1902         * atk-bridge/bridge.c: Marked a couple of
1903         user-visible warnings for translation.  Questionable
1904         whether they are really useful, but possibly so.
1905
1906         
1907 2003-06-28  Christian Rose  <menthos@menthos.com>
1908
1909         * configure.in: Added "sv" to ALL_LINGUAS.
1910
1911 2003-06-26  Bill Haneman <bill.haneman@sun.com>
1912
1913         * registryd/registry.c: 
1914         (spi_registry_object_finalize): Unref the deviceeventcontroller.
1915         (registry_defer_on_event): Defer focus: events, this is an
1916         improvement to the patch for bug #108664.
1917
1918         * TODO: Update with 2.4/"Dev Complete" items.
1919
1920 2003-06-26  Padraig O'Briain <padraig.obriain@sun.com>
1921
1922         * atk-bridge/bridge.c:
1923         (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1924         looks up signals once.
1925         (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1926         if doing registration.
1927         (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1928         when doing registration.
1929         
1930         This fixes bug #115014.
1931
1932 2003-06-25  Padraig O'Briain <padraig.obriain@sun.com>
1933
1934         * atk-bridge/bridge.c:
1935         (atk_bridge_init): Add signal handler for children-changed:remove on
1936         root when in a BonoboComponent.
1937         (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1938         for first toplevel only other incrememt variable toplevels.
1939         (spi_atk_bridge_toplevel_removed): For last toplevel deregister 
1940         application and remove listeners.
1941         (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1942         consistency.
1943         (spi_atk_deregister_event_listeners): New function which removes
1944         listeners.
1945         (reinit_register_vars): New fuction which reinitializes variables.
1946
1947         This fixes bug #111578.
1948
1949 2003-06-13  Bill Haneman <bill.haneman@sun.com>
1950
1951         * configure.in: version 1.3.4.
1952
1953         * cspi/spi_accessible.c:
1954         Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1955
1956
1957 2003-06-13  Michael Meeks  <michael@ximian.com>
1958
1959         * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1960
1961         * cspi/spi_main.c (cspi_peek_ev): impl.
1962
1963 2003-06-11  Padraig O'Briain <padraig.obriain@sun.com>
1964
1965         * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1966
1967         * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1968
1969         * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role 
1970         SPI_ROLE_AUTOCOMPLETE
1971
1972         * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1973
1974         * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1975         for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1976
1977 2003-06-11  Bill Haneman <bill.haneman@sun.com>
1978
1979         * libspi/streamablecontent.h:
1980         * libspi/streamablecontent.c:
1981         New files, provide implementation/wrappers for
1982         Accessibility_StreamableContent.
1983
1984         * cspi/spi_streamablecontent.c:
1985         Connected the C wrappers to the libspi C bindings.
1986         (AccessibleStreamableContent_close): New method.
1987
1988         * cspi/spi.h:
1989         (AccessibleStreamableContent_close): New method, needed
1990         since we have an "open, [seek], read, close" model in cspi.
1991         
1992 2003-06-11  Bill Haneman <bill.haneman@sun.com>
1993
1994         Fix for #108664; Padraig's revision of my original patch.
1995         
1996         * registryd/registry.h:
1997         Added event queue list, is_queuing, and exit_notify_timeout
1998         to the registry struct.
1999         
2000         * registryd/registry.c:
2001         (registry_init): Initialize new struct from registry.h.
2002         (impl_registry_notify_event):
2003         Filter events before notifying, in case some need to be
2004         deferred, etc.
2005         (registry_filter_event): New,
2006         we defer certain incoming events (for instance 
2007         window:deactivate) because we may wish to hide
2008         or reject them based on pending events.  This is
2009         mostly a workaround for bug #108664.
2010         (registry_queue_event, registry_start_queue): New.
2011         (registry_defer_on_event): Test event to see if it
2012         initiates queuing.
2013         (registry_reset_on_event): Returns TRUE if the
2014         event should cause a queue reset.
2015         (registry_discard_on_event): Returns TRUE if the event
2016         should cause the previous queue contents to be discarded.
2017         (registry_timeout_flush_queue): Flushes the pending event
2018         queue if no reset/discard-triggering events have come in 
2019         within the timeout period.
2020         (registry_emit_event): New.
2021         (registry_clone_notify_context): New, used when queueing the 
2022         event notify contexts.
2023
2024 2003-06-10  Bill Haneman <bill.haneman@sun.com>
2025
2026         * configure.in: Version revved to 1.3.2, lt 0.9.2
2027         Incremented ATK required version to 1.3.4.
2028
2029         * cspi/spi_registry.c:
2030         (SPI_generateKeyEvent):
2031         We now pass the keystring along if it's non-null.
2032         
2033         * registryd/deviceeventcontroller.c:
2034         (keysym_mod_mask): New method, returns modifier mask 
2035         required to generate a keysym from a given keycode.
2036         (dec_synth_keysym): New method.
2037         (dec_synth_keystring): New method.
2038         (dec_get_modifier_state): New method.
2039         (dec_lock_modifiers): New
2040         (dec_unlock_modifiers): New.
2041         (dec_keysym_for_unichar): New, rather brute-force
2042         conversion from UCS-4 to X KeySyms.  Only works for
2043         Latin at the moment, with partial implementations for
2044         Greek, Hebrew, and (incomplete) Katakana.
2045         (impl_generate_keyboard_event): Now implement 
2046         "KEYSTRING" synthesis and implement "KEYSYM"
2047         synthesis properly.
2048         (keycode_from_keysym): Improved, passes a returned
2049         modmask value now if the corresponding param is non-NULL.
2050         
2051         Fixes bugs #92143  and #109776.
2052
2053         * test/Makefile.am:
2054         * test/keysynth-test.c:
2055         New test program for key synthesis, to confirm fixes for
2056         above bugs.
2057
2058
2059 2003-06-10  Padraig O'Briain <padraig.obriain@sun.com>
2060
2061         * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2062
2063         * cspi/spi_accessible.c (cspi_init_relation_type_table):
2064         Add line for RELATION_POPUP_FOR
2065
2066         * docs/reference/cspi/tmpl/spi_relation.sgml: 
2067         Add relation SPI_RELATION_POPUP_FOR
2068
2069         * docs/reference/cspi/tmpl/spi_stateset.sgml: 
2070         Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE 
2071
2072         * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2073
2074         * libspi/relation.c (spi_init_relation_type_table): 
2075         Add line for RELATION_POPUP_FOR
2076
2077 2003-06-10  Padraig O'Briain <padraig.obriain@sun.com>
2078
2079         * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if 
2080         there are still windows which have not been deleted and emit 
2081         window:deactivate, if necessary and window:destroy events.
2082         This fixes bug #114370. The change on June 5th was not correct.
2083
2084 2003-06-09  Bill Haneman <bill.haneman@sun.com>
2085
2086         * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2087
2088         * cspi/spi.h: 
2089         (SPI_dupString): Allow dup-ing of a string such that it's safe to
2090         SPI_freeString it.
2091         New methods for client exception handling and interception.
2092         (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2093         (SPI_exceptionHandlerPop): You guessed it... 
2094         (SPI_getSourceType): Return the type of object which offended.
2095         (SPI_getExceptionCode): Return an enum code telling, possibly, 
2096         what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2097         (SPIAccessibleException_getSource): get the source object for
2098         exceptions that come from Accessibles, if SPIExceptionSourceType is
2099         SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2100         (SPIException_getDescription): New, returns a string description of
2101         the problem.  [Not yet a stable ABI, strings are not frozen]
2102
2103         * cspi/spi-private.h:
2104         Added implementation details of opaque SPIException
2105         structure.
2106         
2107         * cspi/spi_main.c:
2108         Implementations of above.  Also
2109         (_cspi_exception_throw): new private method that 
2110         dispatches exceptions to handlers, called from cspi-bonobo.c
2111
2112         * cspi/bonobo/cspi-bonobo.c:
2113         (cspi_check_ev): call _cspi_exception_throw.
2114         Don't print a warning message if the exception has been 
2115         handled by _cspi_exception_throw.
2116         
2117 2003-06-05  Padraig O'Briain <padraig.obriain@sun.com>
2118
2119         * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if 
2120         there are still windows which have not been deleted and emit 
2121         window:deactivate, if necessary and window:destroy events.
2122         This fixes bug #114370.
2123
2124 2003-06-03  Bill Haneman <bill.haneman@sun.com>
2125
2126         * cspi/spi_main.c:
2127         (cspi_accessible_is_a): Make non-fatal 
2128         if the object reference is dead.
2129
2130 Mon Jun  2 15:35:29 2003  Jonathan Blandford  <jrb@redhat.com>
2131
2132         * cspi/spi_main.c: #include <stdio.h>
2133         * test/simple-at.c: ditto
2134         * test/event-listener-test.c: ditto
2135         * test/screen-review-test.c: ditto
2136
2137 2003-05-30  Michael Meeks  <michael@ximian.com>
2138
2139         * test/test-simple.c (main): use CORBA_ORB_perform_work
2140         instead of an unnecessary linc_ call.
2141
2142 2003-05-20  Padraig O'Briain <padraig.obriain@sun.com>
2143
2144         * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2145         Add SPI_STATE_INDETERMINATE.
2146
2147         * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2148         INDETERMINATE.
2149
2150         * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2151
2152         * libspi/stateset.c (init_state_type_tables): Add support for
2153         INDETERMINATE.
2154
2155 2003-05-19  Padraig O'Briain <padraig.obriain@sun.com>
2156
2157         * configure: Update versions of atk and gail required.
2158         This fixes bug #113268.
2159         
2160 2003-05-02  Bill Haneman  <bill.haneman@sun.com>
2161
2162         * configure.in: Revved micro version to 1.3.1 (because of build fix).
2163
2164 2003-05-02  Frederic Crozat  <fcrozat@mandrakesoft.com>
2165
2166         * libspi/Makefile.am:
2167         Ensure headers are generated before being used by c sources.
2168
2169 2003-05-01  Bill Haneman <bill.haneman@sun.com>
2170
2171         * configure.in:
2172         Simplified lt versioning rules.
2173         Incremented version to 1.3.0, to indicate that we're on the
2174         unstable branch now.  
2175
2176 2003-04-29  Padraig O'Briain <padraig.obriain@sun.com>
2177
2178         * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2179         Add MKDB_OPTIONS=--outtput-format=xml
2180
2181         * docs/reference/cspi/at-spi-cspi-docs.sgml
2182         docs/reference/idl/at-spi-idl-docs.sgml:
2183         Convert to Docbook XML.
2184
2185         This fixes bug #111793.
2186
2187 2003-04-25  Padraig O'Briain <padraig.obriain@sun.com>
2188
2189         * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2190         AcccessibleKeyEventType, AccessibleKeyMaskType.
2191
2192         * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2193
2194         * cspi/state-types.h: Add documentation for AccessibleState.
2195
2196         * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2197         AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2198         AccessibleKeySynthType, AccessibleKeyListenerSyncType, 
2199         AccessibleComponentLayer.
2200
2201         * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs 
2202         in documentation.
2203
2204         * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2205
2206         * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of 
2207         Accessible.  Add description of AccessibleEvent, 
2208         AccessibleEventListenerCB.
2209
2210         * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra 
2211         documentation.
2212
2213         * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra 
2214         documentation. Add description of AccessibleKeystrokeListenerCB,
2215         AccessibleKeyEventMask, AccessibleModifierMaskType, 
2216         AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2217         AccessibleDeviceEventMask, AccessibleDeviceListenerCB. 
2218
2219         * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2220         AccessibleStateSet.
2221
2222         * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra 
2223         documentation.
2224
2225         This fixes bug #104730.
2226
2227 2003-04-24  Padraig O'Briain <padraig.obriain@sun.com>
2228
2229         * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2230         Set is_text field of Accessibility_DeviceEvent data structure.
2231
2232         * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2233         is-text field of AccessibleDeviceEvent data structure.
2234
2235         This addresses part of bug #108666.
2236
2237         * registryd/devcieeventcontroller.c: Unset debug option.
2238
2239 2003-04-14  Padraig O'Briain <padraig.obriain@sun.com>
2240
2241         * cspi/accessible.c:
2242         (cpi_initial_relation_type_table): New function which initializes 
2243         mapping between Accessibility_RelationType and AccessibleRelationType.
2244         (cspi_relation_type_from_spi_relation_type): New function which
2245         translates an Accessibility_RelationType into an AccessibleRelationType.
2246         (AccessibleRelation_getRelationType): Use 
2247         cpi_relation_type_get_spi_relation_type to return correct value.
2248         (spi_state_to_corba): Return correct type for default case.
2249
2250         * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2251         Use Accessibility_EventType instead of Accessibility_KeyEventType.
2252
2253         * cspi/cspi-bonobo-listener.c:
2254         Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2255         warnings.
2256
2257         * libspi/accessible.c, libspi/action.c, libspi/application.c,
2258         libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2259         libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2260         libspi/image.c, libspi/listener.c, libspi/selection.c, 
2261         libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c, 
2262         registryd/desktop.c, registryd/registry.c:
2263         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2264
2265         * libspi/eventlistener.c
2266         Remove semicolon after BONOBO_TYPE_FUNC.
2267
2268         * libspi/relation.c:
2269         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2270         (spi_init_relation_type_table): Initialize using correct type.
2271
2272         * registryd/desktop.c:
2273         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2274         (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead 
2275         of Accessibility_KeyEventType.
2276
2277         * test/key-listener-test.c (report_tab_key_event): Use fprintf
2278         instead of g_print.
2279
2280         * tests/simple-at.c, tests/screen-review-test.c:
2281         Add include for <strings.h>.
2282
2283         * tests.stress-test.c:
2284         Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2285
2286         These changes fix compiler warnings when using FORTE compiler on
2287         Solaris; fixes bug #107479.
2288
2289         
2290 2003-04-10  Bill Haneman <bill.haneman@sun.com>
2291
2292
2293         * configure.in: revved to 1.1.10
2294         
2295         * libspi/keymasks.h:
2296         (SPI_KEYMASK_NUMLOCK): Added.
2297
2298         * registryd/deviceeventcontroller.c:
2299         (spi_key_event_matches_listener): AND with a smaller
2300         bitmask (as we should).  
2301         (spi_dec_translate_mask): 
2302         New method, sets the virtual NumLock modifier bit
2303         if numlock is on.  Eventually it can handle other virtual
2304         modifier bits if needed, or other marshalling from
2305         at-spi modifier masks to platform (X) masks.
2306         (spi_dec_key_listener_new):
2307         Call spi_dec_translate_mask to set up virtual mod bits
2308         in the 'mask' field when creating a new listener struct.
2309         (spi_dec_emit_modifier_event):
2310         Set the virtual (i.e. NumLock) bits before emitting event.
2311         (spi_controller_register_with_devices):
2312         Query for the NumLock modifier 'physical' bit if Xkb is
2313         present, for use in above methods.
2314
2315         Fix for 107261.
2316         
2317 2003-04-10  Bill Haneman <bill.haneman@sun.com>
2318         
2319         * registryd/deviceeventcontroller.c:
2320         (spi_keystroke_from_x_key_event):
2321         Instead of checking to see if the keysym is
2322         printable, check the string from XLookupString
2323         if available, get the first unicode character from it,
2324         and call g_unichar_isprint to determine whether the
2325         is_text flag should be TRUE or FALSE.
2326         
2327         Fix for bug 110419.
2328
2329 2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
2330
2331         * atk-bridge/bridge.c: Add support for extended events
2332         * cspi/spi_event.c: Add documentation and implementation for
2333         extended events.
2334         * tests/event-listener-test.c: Add tests for extended events.
2335
2336         This fixes bugs #100424 and #100426.
2337  
2338 2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
2339
2340         * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2341         of LT_CURRENT. This fixes bug #89350.
2342
2343 2003-04-01  Padraig O'Briain <padraig.obriain@sun.com>
2344
2345         * atk-bridge/bridge.c (spi_bridge_signal_listener):  Add check for
2346         number of signal parameter values before accessing them. This fixes
2347         bug #109626.
2348
2349 2003-04-01  Bill Haneman <bill.haneman@sun.com>
2350
2351         * configure.in: Fixed duplicate inclusion of -lspi.
2352         * branched for gnome-2-2/HEAD.  
2353         [created tag "gnome-2-2"]
2354
2355 2003-03-07  Bill Haneman <bill.haneman@sun.com>
2356
2357         * configure.in: 1.1.9 release.
2358         * NEWS: updated.
2359         
2360 2003-03-07  Bill Haneman <bill.haneman@sun.com>
2361
2362         [needed by GOK, to fix bugs 107985 and 107988]
2363         * registryd/deviceeventcontroller.c:
2364         (spi_dec_clear_unlatch_pending):
2365         New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2366         (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2367         (spi_dec_init_mouse_listener):Emit warning if mouse button
2368         passive grab fails.
2369         (spi_device_event_controller_forward_mouse_event):
2370         Removed unnecessary parens from a conditional.
2371         (global_filter_fn):Added TODO comment.
2372         (impl_generate_keyboard_event):
2373         Cancel a pending relatch if a 'delatching' key was 
2374         synthesized.
2375         
2376 2003-03-07  Padraig O'Briain <padraig.obriain@sun.com>
2377
2378         * atk-bridge/bridge.c:
2379         Change atk_signal_child_changed to atk_signal_children_changed. 
2380         Reorganize code in spi_atk_bridge_signal_listener().
2381
2382         * test/event-listener-test.c:
2383         Add children_changed_listener and report_children_changed_event()
2384         to test AccessibleChildEvent_getChildAccessible.
2385
2386 2003-03-05  Padraig O'Briain <padraig.obriain@sun.com>
2387
2388         * cspi/spi_event.c (cspi_internal_event_get_text): Change
2389         g_strdup to CORBA_String_dup (bug #105291)
2390
2391         * test/event-listener-test.c (report_text_event): Add call to
2392         SPI_freeString.
2393
2394 2003-02-28  Bill Haneman <bill.haneman@sun.com>
2395
2396         * registryd/deviceeventcontroller.c:
2397         (spi_keystroke_from_x_key_event): 
2398         Fix string and keysym return codes to match modifier state. 
2399         [bug #107256]
2400
2401 2003-02-28  Bill Haneman <bill.haneman@sun.com>
2402
2403         * registryd/deviceeventcontroller.c:
2404         (spi_keystroke_from_x_key_event): 
2405         Fix segv due to improper use of isprint(c). [bug #107254]
2406
2407 2003-02-24  Bill Haneman <bill.haneman@sun.com>
2408
2409         * cspi/spi_text.c:
2410         (get_accessible_text_boundary_type):
2411         Move default return value to (new) default case in switch.
2412         (get_accessible_text_clip_type):
2413         Move default return value to (new) default case in switch.
2414         
2415         * libspi/application.c:
2416         (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2417         Remove unused methods.
2418         (impl_accessibility_application_register_object_event_listener):
2419         Remove unused methods.
2420
2421         * libspi/value.c:
2422         Added #include of <math.h>.
2423
2424         * registryd/deviceeventcontroller.c:
2425         (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since 
2426         we don't currently use this method.
2427         (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2428         have_xkb is TRUE.
2429         (impl_generate_key_event):
2430         Remove unused variables.
2431         (impl_generate_mouse_event):
2432         Initialize button to zero, just in case we get an invalid
2433         input.  Added support for mouse buttons 4 and 5.
2434         (spi_device_event_controller_new):
2435         Removed unused variable declaration for 'private'.
2436         (registry.h):
2437         Added #include of <gdk/gdk.h>
2438
2439 2003-02-14  Padraig O'Briain <padraig.obriain@sun.com>
2440
2441         * configure.in: Update to work when X is not installed in expected 
2442         location. Fixes bug #105836.
2443
2444         * atk-bridge/bridge.c
2445         (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2446         AtkHypertext
2447         (spi_atk_register_event_listener): Add signal listener for 
2448         link-selected
2449         (spi_atk_bridge_signal_listener): Event event when link-selected
2450         signal is emitted. (bug #104622)
2451
2452         * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2453         on returned string. (bug #105291)
2454
2455         * test/event-listener-test.c: Add test for link-selected.
2456         
2457 2003-02-14  Padraig O'Briain <padraig.obriain@sun.com>
2458
2459         * atk-bridge/Makefile.am: Correct typo in previous commit.
2460
2461 2003-02-13  Padraig O'Briain <padraig.obriain@sun.com>
2462
2463         * atk-bridge/Makefile.am: Allow for build directory to be different 
2464         from source directory
2465
2466         * registryd/Makefile.am: Allow for build directory to be different
2467         from source directory
2468
2469         Bug #104744.
2470
2471 2003-01-29  Bill Haneman <bill.haneman@sun.com>
2472         
2473         * cspi/Makefile.am:
2474         Fixed dependencies for libcspi so that libspi gets pulled in
2475         properly.  Fixes 104741.
2476
2477         * cspi/spi.h:
2478         * cspi/spi_event.c:
2479         Clean up inline docs a little.
2480
2481 2003-01-27  Padraig O'Briain <padraig.obriain@sun.com>
2482
2483         * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2484         This is done by implementing AtkComponent for SpiAtkDesktop, which is
2485         the AtkObject within an SpiDesktop.
2486         This addresses bug #101524.
2487
2488         * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2489         Remove call to gdk_init().
2490
2491         * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2492         so that Display is set when SpiDesktop is created.
2493
2494 2003-01-21  Padraig O'Briain <padraig.obriain@sun.com>
2495
2496         * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2497         This fixes bug #102830.
2498
2499 2003-01-15  Padraig O'Briain <padraig.obriain@sun.com>
2500
2501         * test/test-simple.c: Update to take account of fact that GailButton 
2502         now implements AtkText.
2503         (create_text_window): Set name on AtkObject for GtkEntry.
2504         (validate_accessible): Check accessible name before calling test_text().
2505
2506         * libspi/Makefile.am: Fix problem with building outside of source
2507         directory. Bug #98120.
2508
2509         * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2510         typo in documentation comments. Bug #94275.
2511
2512 2003-01-15  Padraig O'Briain <padraig.obriain@sun.com>
2513
2514         * libspi/text.c (impl_getBoundedRanges): Bug fix.
2515
2516 2003-01-10  Padraig O'Briain <padraig.obriain@sun.com>
2517
2518         * libspi/text.c:
2519         Add includes to avoid compiler warnings on Solaris.
2520         (impl_getRangeExtents): Bug fix.
2521
2522 2002-12-17  Bill Haneman <bill.haneman@sun.com>
2523
2524         Fix for 100944, [API addition approved by Gman and murrayc].
2525         
2526         * NEWS: updated.
2527         
2528         * configure.in:
2529         Revved to 1.1.8.
2530
2531         * idl/Accessibility_Text.idl:
2532         (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2533         (Text::getRangeExtents): New method for efficient 
2534         bounds query of a text range.
2535         (Text::getBoundedRanges): New method for efficient
2536         clipping of text to bounding boxes.
2537         (unImplemented7, unImplemented8): 
2538         Removed these padding methods to preserve bincompat.
2539
2540         * libspi/text.c:
2541         (impl_getRangeExtents): implementation of new IDL.
2542         (impl_getBoundedRanges): implementation of new IDL.
2543         (SpiTextRect): Internal use struct.
2544         (_spi_text_rect_union): internal method, calculates union of two
2545         SpiTextRect bounding rects.
2546         (_spi_text_range_seq_from_gslist): internal method, allows us
2547         to build our sequence efficiently as a gslist then convert it
2548         to a CORBA seq.
2549         (_spi_bounds_contain): internal method, determines whether
2550         a text character is "in" or "out" of a clip rect according to
2551         values of TEXT_CLIP_TYPE.
2552         (spi_text_class_init): Initialize the new methods in the epv.
2553         
2554         * cspi/spi.h:
2555         (AccessibleTextClipType): New enum used by screen review api.
2556         (AccessibleTextRange): New struct used by screen review api.
2557         (AccessibleText_getRangeExtents): 
2558         cspi binding for Accessibility_Text_getRangeExtents.
2559         (AccessibleText_getBoundedRanges):
2560         cspi binding for Accessibility_Text_getBoundedRanges.
2561         (AccessibleTextRange_freeRanges): convenience method.
2562         
2563         * cspi/spi_text.c:
2564         (AccessibleText_getRangeExtents): 
2565         cspi binding for Accessibility_Text_getRangeExtents.
2566         (AccessibleText_getBoundedRanges):
2567         cspi binding for Accessibility_Text_getBoundedRanges.
2568         (AccessibleTextRange_freeRanges): convenience method.
2569         (get_accessible_text_clip_type): internal conversion method.
2570         (get_accessible_text_ranges_from_range_seq): internal conversion method.
2571
2572         * registryd/deviceeventcontroller.c:
2573         (spi_dec_mouse_check):
2574         Improved behavior for mouse:abs events 
2575         [same granularity as mouse:rel events, and no
2576         events when mouse is idle].     
2577         
2578 2002-12-16  Michael Meeks  <michael@ximian.com>
2579
2580         * cspi/spi_accessible.c (spi_state_to_corba): rename.
2581
2582         * libspi/stateset.c (state_spi_to_atk): split out
2583         ( fix several remote array bounds nasties )
2584         (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2585         (impl_remove): make safe from array bounds issues.
2586         (spi_atk_state_from_spi_state): impl.
2587
2588         * libspi/stateset.h (spi_state_set_cache_is_empty): 
2589         add a set of wrapper defines to get layering right.
2590
2591         * cspi/spi_accessible.c: update state set stuff to
2592         use it.
2593
2594 2002-12-14  Michael Meeks  <michael@ximian.com>
2595
2596         * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2597         to avoid 2 roundtrips to the registry per key event
2598         (spi_atk_bridge_key_listener): upd.
2599         (deregister_application): release the dec.
2600
2601         * registryd/registry.c (notify_listeners_cb):
2602         bin lots of re-enterant complexity - we no longer
2603         do a round-trip bonobo ref here, ensure that a single
2604         listener's exception failure won't poison all other
2605         notifications.
2606         (impl_registry_notify_event): bin obvious memory leak.
2607
2608 2002-12-13  Michael Meeks  <michael@ximian.com>
2609
2610         * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2611         init the ev so the error is meaningful.
2612         (spi_atk_bridge_key_listener): ditto.
2613
2614         * cspi/spi_main.c (cspi_ev): init the ev so we start
2615         with a clean slate, otherwise the first exception
2616         kills us completely.
2617
2618         * cspi/spi_text.c (get_accessible_text_boundary_type): 
2619         add a fallthrough for no warnings.
2620
2621         * cspi/spi_registry.c: prune unused warnings.
2622
2623         * cspi/spi_main.c (cspi_object_take): fix
2624         mind-blowing brokenness ( by watching the compile
2625         warnings )
2626
2627         * cspi/spi_accessible.c (Accessible_getStateSet):
2628         re-impl. to use an AtkStateSet.
2629         (spi_state_type_from_accessible_state),
2630         (init_state_table): bin these.
2631
2632         * libspi/stateset.c (spi_atk_state_set_from_sequence):
2633         split out from
2634         (atk_state_set_from_accessibility_state_set): here.
2635
2636         * cspi/spi_accessible.c (spi_state_to_atk): impl.
2637         (AccessibleStateSet_contains, AccessibleStateSet_ref),
2638         (AccessibleStateSet_unref, AccessibleStateSet_contains),
2639         (AccessibleStateSet_add, AccessibleStateSet_remove),
2640         (AccessibleStateSet_equals, AccessibleStateSet_compare),
2641         (AccessibleStateSet_isEmpty): re-write to use a local
2642         AtkStateSet object.
2643
2644 2002-12-13  Bill Haneman <bill.haneman@sun.com>
2645
2646         * configure.in: Revved to 1.1.7 (new keymask vals).
2647
2648 2002-12-10  Bill Haneman <bill.haneman@sun.com>
2649
2650         * libspi/keymasks.h:
2651         Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2652
2653 2002-12-10  Padraig O'Briain  <padraig.obriain@sun.com>
2654
2655         * cspi/spi_event.c 
2656         (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent() 
2657         to compare two CORBA_TypeCodes.
2658         (cspi_internal_event_add): Silence warning from FORTE compiler.
2659
2660         * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to 
2661         avoid implicit declaration of functions.
2662         
2663 2002-12-09  Padraig O'Briain  <padraig.obriain@sun.com>
2664
2665         * atk-bridge/bridge.c:
2666         (spi_atk_bridge_init_event_type_consts): Store signal id for
2667         active-descendant-changed signal.
2668         (spi_atk_register_event_listeners): Add signal listener for
2669         active-descendant-changed signal,
2670         (spi_atk_bridge_signal_listener): Move code in function 
2671         spi_atk-signal_emit_event() into this function.
2672         Add support for active-descendant-changed
2673         Update support for child-changed signal.
2674         (spi_bridge_window_event_listener): Silence warning.
2675
2676         * libspi/spi_private.[ch]:
2677         (spi_init_any_object): Change second parameter from CORBA_Object to
2678         CORBA_Object*.
2679         Omit call to CORBA_Object_duplicate(). 
2680         Set CORBA_any's _value to CORBA_Object*.        
2681
2682 2002-12-06  Bill Haneman  <bill.haneman@sun.com>
2683
2684         * configure.in:
2685         Revved to 1.1.6.
2686         
2687         * cspi/spi.h: 
2688         (AccessibleEvent_ref, AccessibleEvent_unref):
2689         New methods, for persisting an event outside the emission context.
2690         Must be used if the new accessor methods are to be called
2691         outside of the event listener's callback.
2692
2693         * cspi/bonobo/cspi-bonobo.c:
2694         (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2695         as second parameter instead of NULL, so we can call
2696         cspi_check_ev afterwards.
2697         
2698         * cspi/spi_main.c:
2699         (cspi_object_take): New internal method, 
2700         converts a CORBA_Object reference to a hard ref on
2701         an Accessible if possible, returning NULL if the object
2702         reference is invalid or an Accessible * otherwise.
2703
2704         * cspi/spi_event.c:
2705         (AccessibleEvent_ref): 
2706         Increment the event's internal private refcount, and 
2707         add the event's internal struct to an internal cache 
2708         if it's not already there.
2709         (AccessibleEvent_unref): 
2710         Decrement the event's refcount and remove it from
2711         the cspi event cache if refcount==0.
2712         (cspi_event_compare): New private method.
2713         Compares two event structs via their ids. Used 
2714         for queue lookup.
2715         (cspi_internal_event_lookup): New private method.
2716         (cspi_internal_event_check): New private method,
2717         a 0-order sanity check for events to make sure their
2718         private data is intact.
2719         (cspi_internal_event_add, cspi_internal_event_remove):
2720         New private methods for managiing the event cache.
2721
2722         * cspi/bonobo/cspi-bonobo-listener.c:
2723         (cspi_event):
2724         Initialize the new private data elements (id, magic, ref_count).
2725         
2726         * atk-bridge/bridge.c:
2727         (spi_atk_bridge_signal_listener):
2728         Fixed bug #100530, passing wrong params to emission func.
2729
2730         * registryd/deviceeventcontroller.c:
2731         (spi_dec_button_update_and_emit): 
2732         Fixed type in mask bit operations; fix for #99799.
2733         
2734 2002-12-02  Bill Haneman  <bill.haneman@sun.com>
2735
2736         Removed some of the more dangerous workarounds from
2737         previous commit; they are only needed by GOK, which
2738         in reality should be using another method to accomplish
2739         the goals.  So on reconsideration some of the workarounds
2740         need to be reverted:
2741         
2742         * registryd/deviceeventcontroller.c:
2743         (spi_keycodes_contain, spi_dec_init_keycode_list): 
2744         Removed these methods, used only by a nasty hack to try
2745         and detect whether a key synthesis should be allowed
2746         to reset the XKB latch state or not. This code was only
2747         required to work around an interaction between GOK,
2748         button events, and XKB.
2749         (impl_generate_key_event):
2750         Removed hack at end of key generation that tried to
2751         "do the right thing" if XKB latch keys were generated
2752         in the midst of button press/release pairs.  
2753
2754         * configure.in:
2755         Added a check for HAVE_XINPUT.  Not normally used yet.
2756
2757 2002-11-25  Bill Haneman  <bill.haneman@sun.com>
2758
2759         Workarounds and fixes for mouse event/XKB interaction.
2760         
2761         * registryd/deviceeventcontroller.c:
2762         (spi_keycodes_contain, spi_dec_init_keycode_list): 
2763         New internal methods.
2764         (spi_dec_set_unlatch_pending):
2765         Split the method that tells XKB to expect an
2766         unlatch (and revert it) out of the rest of the
2767         event handling code.  This method is called by the
2768         two mouse event handlers (the poll and the filter).
2769         (spi_dec_update_and_emit, spi_dec_mouse_check): 
2770         New methods split from spi_dec_poll_mouse_moved.
2771         The second one is now called from inside the filterFn
2772         when an XKB delatch event is received, to determine 
2773         whether to revert the delatch or not.
2774         (spi_poll_mouse_moved): Refactor; also we can now
2775         properly handle the case where multiple button states
2776         have changed between polling cycles and we didn't get
2777         notified due to another client's grab.
2778         (global_filter_fn): 
2779         Synchronize the server while handling an XKB notification.
2780         Ugly, but apparently necessary to avoid nasty races.
2781         Check the mouse state on receipt of an XKB latch change,
2782         to decide whether to revert the latch or not. (Latches are
2783         reverted if there is an immediately preceding mouse button
2784         event that a client has consumed, in which case we don't want
2785         the user to see the side-effect of the event).
2786         (spi_device_event_controller_forward_mouse_event):
2787         Check for modifier events and fire before resetting mouse_mask_state,
2788         prevents losing modifier events.
2789
2790         (impl_generate_keyboard_event):
2791         If we've just generated a keyboard event for a non-shift key,
2792         we don't want to revert the pending XKB latch. 
2793         Otherwise, check the modifier state (via a call to 
2794         spi_dev_mouse_check) and set the relatch mask to 
2795         that state before returning.
2796         
2797 2002-11-24  Bill Haneman  <bill.haneman@sun.com>
2798
2799         * NEWS: 
2800         Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2801         retagged).
2802         
2803         * atk-bridge/bridge.c:
2804         (spi_atk_register_event_listeners):
2805         Don't re-register for ATK events if the registry has died
2806         and the app needs to re-register; the ATK listeners are in
2807         process and doing so will cause duplicate emission.
2808
2809         * registryd/deviceeventcontroller.c:
2810         (spi_poll_mouse_moved):
2811         Reformat the source, detect and emit multiple button-change
2812         events (i.e. if multiple buttons have changed between poll
2813         intervals).
2814         Add code to detect mouse-down events even when the pointer
2815         is grabbed; workaround for GOK bug 98420.
2816         (spi_controller_register_with_devices):
2817         Call XTestGrabControl with 'impervious' flag set to True,
2818         allows us to synthesize events and query the pointer even during
2819         an active grab by another client.
2820         (spi_device_event_controller_forward_mouse_event):
2821         Set the mouse_mask_state to the mouse_button_state from
2822         the intercepted event, to synchronize the grab listener with
2823         the poll state.
2824         
2825 2002-11-20  Bill Haneman  <bill.haneman@sun.com>
2826
2827         * cspi/spi_accessible.c:
2828         (AccessibleRole_getName):
2829         Added necessary strings for making this (deprecated) 
2830         method work with the new role types. 
2831         (init_role_table, role_table):
2832         Added definition of SPI_ROLE_APPLICATION.
2833
2834         * libspi/spi-roletypes.h:
2835         Added SPI_ROLE_APPLICATION.
2836
2837         * idl/Accessibility_Role.idl:
2838         Added ROLE_APPLICATION. 
2839
2840         * docs/reference/cspi/at-spi-cspi-decl.txt:
2841         Added SPI_ROLE_APPLICATION to docs.
2842
2843 2002-11-20  Padraig O'Briain  <padraig.obriain@sun.com>
2844
2845         * cspi/spi_accessible.c
2846         (cspi_init_role_table): Do not write beyond end of role_table.
2847         (Accessible_getRole): Use correct type for value returned by
2848         Accessibility_Accessible_getRole().
2849
2850         * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2851         beyond end of role_table. (This fixes bug #98269)
2852
2853         * libspi/application.c: Add include file spi-private.h for 
2854         definition of spi_init_any_nil.
2855
2856 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2857
2858         FIX for bug 99024.
2859         
2860         * libspi/spi-private.h:
2861         Added DGB() macro, and extern int _dbg declaration.
2862         
2863         * registryd/registry.c:
2864         (definitions) storage for _dbg.
2865         (spi_registry_init):
2866         Get environment variable "AT_SPI_DEBUG".
2867         (spi_registry_set_debug):
2868         New method, to initialize _dbg value.
2869         (spi_listener_struct_new, spi_registry_object_finalize):
2870         (notify_listeners_cb):
2871         Changed fprintfs to use DBG and g_warning().
2872
2873         * registryd/deviceeventcontroller.c:
2874         (_deregister_keygrab, spi_controller_register_device_listener):
2875         Changed debug/warning messages to use DBG macro.
2876
2877         * libspi/listener.c:
2878         (impl_notify_event):
2879         Changed warning messages to use DBG macro and g_warning().
2880
2881         * atk-bridge/bridge.c:
2882         (atk_bridge_init, spi_atk_bridge_get_registry):
2883         (spi_atk_bridge_exit_func):
2884         (spi_atk_bridge_property_event_listener):
2885         Changed status, warning, and error messages to use
2886         g_warning, g_message, and DBG macros.
2887
2888         (atk_bridge_init):
2889         Read the state of the AT_SPI_DEBUG environment variable
2890         and set a local '_dbg' accordingly.
2891         
2892 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2893
2894         FIXES for 98836, 98842, other bugs.
2895         
2896         * configure.in:
2897         Revved to 1.1.4, interface-age=4, binary-age=4.
2898
2899         * registryd/deviceeventcontroller.c:
2900         (statics):
2901         Fixed crasher bug in last_mouse_pos initialization.
2902
2903         * registryd/registry.c:
2904         (desktop_add_application, desktop_remove_application):
2905         Added (and then commented out) some support for
2906         object context marshalling. [TODO]
2907
2908         * atk-bridge/bridge.c:
2909         (spi_atk_bridge_event_context_create):
2910         Commented out object context creation until it can
2911         be properly tested and debugged.
2912
2913         * registryd/registry.c:
2914         (impl_registry_notify_event):
2915         Fixed crasher bug, we were calling 
2916         spi_re_entrant_list_foreach () with an empty list.
2917
2918 2002-11-18  Bill Haneman <bill.haneman@sun.com>
2919         
2920         * idl/Accessibility_Action.idl:
2921         * idl/Accessibility_Component.idl:
2922         * idl/Accessibility_Desktop.idl:
2923         * idl/Accessibility_Event.idl:
2924         * idl/Accessibility_Hyperlink.idl:
2925         * idl/Accessibility_Image.idl:
2926         * idl/Accessibility_Relation.idl:
2927         * idl/Accessibility_Selection.idl:
2928         * idl/Accessibility_State.idl:
2929         * idl/Accessibility_Value.idl:
2930         Updated unimplemented slot count to minimum of
2931         four for all interfaces, for ABI freeze. 
2932
2933         * idl/Accessibility_EditableText.idl:
2934         * idl/Accessibility_Text.idl:
2935         Updated unimplemented slot count to six
2936         for ABI freeze. 
2937         
2938         * idl/Accessibility_Registry.idl:
2939         Updated unimplemented slot count to six
2940         (also for DeviceEventController), 
2941         for ABI freeze. 
2942
2943         * idl/Accessibility_Table.idl:
2944         Updated unimplemented slot count to eight,
2945         for ABI freeze. 
2946
2947         * idl/Accessibility_Event.idl:
2948         Added CORBA_any "any_data" member to Event struct.
2949
2950         * idl/Accessibility_Event.idl:
2951         Added CORBA_any "any_data" member to Event struct.
2952
2953         * atk-bridge/bridge.c:
2954         (statics):
2955         atk_signal_text_changed, atk_signal_child_changed,
2956         signal ids queried from gtype system.
2957         (AtkBridgeEventContextType): New enum.
2958         (AtkBridgeEventContextData): New struct.
2959         (AtkBridgeEventContext): New struct.
2960         (atk_bridge_init_event_type_consts):
2961         New method, initializes type contants for comparison 
2962         prior to emit_eventv.
2963         (atk_bridge_event_context_init): New method,
2964         initializes a CORBA_any from an AtkBridgeEventContext.
2965         (atk_bridge_focus_tracker): Call spi_init_any_nil to
2966         initialize the event.any_data struct.
2967         (spi_atk_bridge_event_context_create): New method,
2968         creates an AtkBridgeEventContext from signal/event info.
2969         (spi_atk_bridge_event_context_free): New method.
2970         (spi_atk_emit_eventv): Changed to take an 
2971         AtkBridgeEventContext parameter. We now initialize
2972         the event.any_data member prior to notifying the 
2973         Registry, via the AtkBridgeEventContext.
2974         (spi_atk_bridge_property_event_listener):
2975         (spi_atk_bridge_state_event_listener):
2976         Match emit_eventv signature.
2977         (spi_atk_bridge_object_event_listener):
2978         Match emit_eventv signature, and create an
2979         event context from the event details.
2980         Free the event context afterwards.
2981         (spi_atk_bridge_window_event_listener):
2982         Create an event context, pass it to the
2983         emit_eventv call.
2984         
2985         * cspi/spi_event.c:
2986         (AccessibleEvent_getContextString):
2987         (AccessibleEvent_getContextObject):
2988         New methods, allow query of AccessibleEvent objects
2989         for more context details (via the "any_data" member 
2990         of the Event struct, above).
2991         
2992         * cspi/spi.h:
2993         Definitions for AccessibleEvent_getContextString
2994         and AccessibleEvent_getContextObject.
2995
2996         * cspi/spi_listener.h:
2997         (InternalEvent): New struct.
2998
2999         * cspi/spi_event.c:
3000         (AccessibleEvent_getContextString):
3001         (AccessibleEvent_getContextObject):
3002         Implementations of new methods, for obtaining
3003         additional context information from some event types.
3004
3005         * cspi/spi_registry.c:
3006         (SPI_registerGlobalEventListener):
3007         Added mention of active-descendant-changed event in docs.
3008
3009         * cspi/cspi-bonobo-listener.c:
3010         (cspi_event):
3011         Marshal the any into the AccessibleEvent via
3012         InternalEvent.
3013         
3014         * libspi/spi-private.h:
3015         #include <orbit/orbit.h>
3016         (spi_init_any_nil):
3017         (spi_init_any_string):
3018         (spi_init_any_object):
3019         New convenience function declarations.
3020
3021         * libspi/util.c:
3022         (spi_init_any_nil):
3023         (spi_init_any_string):
3024         (spi_init_any_object):
3025         New convenience function implementations.
3026
3027         * registryd/deviceeventcontroller.c:
3028         (spi_poll_dec_mouse_moved):
3029         (spi_device_event_controller_forward_mous_event):
3030         Initialize any_data member of event.
3031         (spi_deregister_controller_device_listener):
3032         Fix incorrect param pass which was preventing deregistration.
3033
3034         * registryd/registry.c:
3035         (desktop_add_application):
3036         (desktop_remove_application):
3037         Add object data to event's any_data before dispatch.
3038         (parse_event_type):
3039         Fix for error messages from GAIL.
3040         
3041         * test/event-listener-test.c:
3042         Test new ContextString and "any_data" API:
3043         (report_text_event): New method query and output context string.
3044         (main): register a new text listener with report_text_event
3045         callback.
3046
3047 2002-11-19  Darren Kenny  <darren.kenny@sun.com>
3048
3049         Fixes for bugs 98127 and 97914.
3050         * cspi/spi-roletypes.h:
3051         Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3052         SPI_ROLE_RULER
3053         * cspi/spi-statetypes.h:
3054         Added SPI_STATE_MANAGES_DESCENDANTS
3055         * cspi/spi.h:
3056         Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3057         SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3058         * cspi/spi_accessible.c:
3059         Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3060         Added mapping from SPI_STATE_MANAGES_DESCENDANTS to 
3061         Accessibility_STATE_MANAGES_DESCENDANTS
3062         * libspi/accessible.c:
3063         Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3064         Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} 
3065         As requested by Bill, I also cleaned up the alignment.
3066         * libspi/relation.c:
3067         Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3068         EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3069         * libspi/stateset.c:
3070         Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3071         Accessibility_STATE_MANAGES_DESCENDANTS
3072         * docs/reference/cspi/tmpl/spi_accessible.sgml:
3073         Document changes reflecting modifications to roles.
3074         * docs/reference/cspi/tmpl/spi_relation.sgml:
3075         Document changes reflecting modifications to relations.
3076         * docs/reference/cspi/tmpl/spi_stateset.sgml:
3077         Document changes reflecting modifications to states.
3078
3079 2002-11-17  Bill Haneman <bill.haneman@sun.com>
3080
3081         * configure.in:
3082         Revved to 1.1.3, interface-age=3, binary-age=3.
3083         Added REBUILD macro.
3084
3085         * test/Makefile.am:
3086         Removed accessx-gui from the tests, since we have a nice
3087         keyboard accessibility capplet now :-)
3088
3089         * test/keysynth-demo.c:
3090         (increment_scan): removed do-nothing default: case,
3091         silences warning.
3092
3093         * test/visual-bell.c:
3094         (main) : removed do-nothing default: case, 
3095         silences warning.
3096
3097         * cspi/spi_action.c:
3098         (AccessibleAction_getKeyBinding_): 
3099         Documented keybinding string format.
3100         FIX for bug 97916.
3101
3102         * cspi/spi_text.c:
3103         (AccessibleText_getAttributes):
3104         Documented the text attribute string format.
3105         It's changed to use semicolon delimiters also,
3106         to prevent clashes with CSS attributes, but the old
3107         trick of looking for ", " strings will still work
3108         (as unreliably as ever).  Fix for bug related to 97916.
3109
3110         * cspi/spi_event.c:
3111         Include <cspi/bonobo/cspi-bonobo-listener.h>
3112         Fixes build warning.
3113         (SPI_freeAccessibleKeySet):
3114         (AccessibleKeystrokeListener_addCallback):
3115         (AccessibleKeystrokeListener_removeCallback):
3116         Modify to use AccessibleDeviceListener API internally,
3117         instead of AccessibleKeystrokeListener.
3118         
3119         * idl/Accessibility_Event.idl:
3120         Added two more empty slots to EventListener (for a total of four).
3121
3122         * idl/Accessibility_Accessible.idl:
3123         Added four empty slots to Accessible interface.
3124
3125 2002-11-15  Bill Haneman <bill.haneman@sun.com>
3126
3127         * idl/Accessibility_Registry.idl:
3128         (KeyEventType, EventType):
3129         Marked KeyEventType as deprecated; it duplicates
3130         functionality of EventType, which has been extended to
3131         include Mouse-button events.
3132         (KeyEventTypeSeq): defined in terms of EventType.
3133         (registerDeviceEventListener, deregisterDeviceEventListener):
3134         New methods, for managing listeners to device events,
3135         which potentially may consume them.     
3136         
3137         * cspi/spi-impl.h:
3138         Added definition for AccessibleDeviceListener.
3139
3140         * cspi/spi-listener.h:
3141         (enum AccessibleDeviceEventType):
3142         Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3143         Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3144         for backwards compat.
3145         (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3146         and typedef'd AccessibleKeystroke to it for back-compat.
3147         (AccessibleDeviceListenerCB):
3148         New function prototype typedef.
3149
3150         * cspi/spi.h:
3151         (AccessibleDeviceEventMask): New typedef.
3152         (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3153         (AccessibleKeyMaskType): 
3154         Set equivalent to AccessibleModifierMaskType for back-compat.   
3155         (SPI_createAccessibleKeystrokeListener):
3156         (AccessibleKeystrokeListener_unref):
3157         Deprecated in favor of equivalent (better-named) new API below..
3158         keystroke listeners are like all device listeners.
3159         (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3160         New API names for old features :-).
3161         (AccessibleDeviceListener_addCallback):
3162         (AccessibleDeviceListener_removeCallback): 
3163         (SPI_registerDeviceEventListener): 
3164         (SPI_deregisterDeviceEventListener): 
3165         New methods.
3166         
3167         * cspi/spi_event.c:
3168         (SPI_createAccessibleKeystrokeListener):
3169         Use new preferred API, cspi_device_listener_new() and
3170         cspi_device_listener_add_cb().
3171         (AccessibleKeystrokeListener_removeCallback):
3172         Use new preferred API, cspi_device_listener_remove_cb().
3173         (AccessibleKeystrokeListener_unref):
3174         Use new preferred API, cspi_device_listener_unref().
3175         (SPI_createAccessibleDeviceListener):
3176         (AccessibleDeviceListener_addCallback):
3177         (AccessibleDeviceListener_removeCallback):
3178         Implementation of new API.
3179
3180         * cspi/spi_registry.c:
3181         (SPI_registerDeviceEventListener):
3182         (SPI_deregisterDeviceEventListener):
3183         Implementation of new API.  Fixed memory leak and removed need to
3184         allocate EventTypeSeq (thanks Michael for catching this).
3185         Squashed a wayward CORBA_exception_free that shouldn't get called.
3186
3187         * cspi/bonobo/cspi-bonobo-listener.c:
3188         (EventHandler):
3189         Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3190         (cspi_key_event): renamed to cspi_device_event().
3191         Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3192         Extended to handle mouse button events as well as key events.
3193         (CSpiKeystrokeListener):
3194         Class superceded by CSpiDeviceListener.
3195         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3196         These internal APIs changed to "*device_listener" from "*keystroke_listener".
3197
3198         * cspi/bonobo/cspi-bonobo-listener.h:
3199         (CSpiKeystrokeListener):
3200         Class superceded by CSpiDeviceListener.
3201         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3202         These internal APIs changed to "*device_listener" from "*keystroke_listener".
3203
3204         * libspi/Makefile.am:
3205         Replaced keystrokelistener.h and keystrokelistener.c
3206         with devicelistener.h and devicelistener.c; keystrokelisener.h
3207         stub retained for back-compat.
3208
3209         * libspi/keystrokelistener.c:
3210         Removed file.
3211
3212         * libspi/libspi.h:
3213         Replaced inclusion of keystrokelistener.h with devicelistener.h.        
3214
3215         * registryd/deviceeventcontroller.c:
3216         (DEControllerListener): Added Accessibility_EventTypeSeq member.
3217         (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3218         (DEControllerPrivateData): Added xkb settings data.
3219         (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3220         button release events (which can't be captured via XGrabButton).
3221         Don't dispatch via the 'normal' event mechanism if the device event was
3222         consumed.
3223         (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3224         Handle the typeseq data in its new location (see above).
3225         (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3226         New methods, for "generic" device listeners.
3227         (spi_controller_register_device_listener):
3228         Now handle mouse event listeners as well as key listeners.
3229         (spi_controller_notify_mouselisteners):
3230         New internal method.
3231         (spi_device_event_controller_forward_mouse_event):
3232         Now we notify mouse device listeners as well as generating the
3233         non-consumable "mouse:" events.  
3234         (global_filter_fn):
3235         We must check and restore the XKB
3236         modifier map if we consume the event, since the act of triggering
3237         a mouse event will normally reset the XKB latch.  This is required for 
3238         instance by GOK.
3239         (spi_controller_register_with_devices):
3240         Load the XKB settings when registering, and register for XKB 
3241         state notify events. 
3242         (spi_key_eventtype_seq_contains_event):
3243         Renamed spi_eventtype_seq_contains_event, since it's used
3244         internally for all device event types now.
3245         (spi_key_event_matches_listener):
3246         Uses spi_eventtype_seq_contains_event now.
3247         (spi_device_event_controller_object_finalize):
3248         Free the private data and the XkbKeyboard struct.
3249         (impl_register_device_listener, impl_deregister_device_listener):
3250         Implementation of new IDL.
3251         (spi_deregister_controller_device_listener):
3252         New internal method.
3253         (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3254         More efficient implementation, we don't have to create a new
3255         XkbControls structure every time we query.
3256         (spi_device_event_controller_class_init):
3257         Initialize the epv entries for the new IDL.  Assign the 
3258         "spi-dec-private" quark.
3259         (spi_device_event_controller_init):
3260         Initialize the private data.
3261         (spi_device_event_controller_forward_key_event):
3262         Removed a bogus CORBA_exception_free() call.
3263         
3264         * registryd/deviceeventcontroller.h:
3265         Replaced inclusion of keystrokelistener.h with
3266         devicelistener.h.
3267
3268         * test/event-listener-test.c:
3269         (report_mouse_event):
3270         New method.
3271         (main):
3272         Added mouse-event device listener.
3273
3274         * test/test-simple.c:
3275         (create_test_window):
3276         Fixed regression (we were instantiating a GtkRange,
3277         which is now an abstract class).  Also fixed to match
3278         existing AtkRole names, this seems to have changed in ATK
3279         awhile ago; too late now I think, and the new
3280         mechanism is at least elegant and consistent with the
3281         glib enum "nick" APIs.  
3282
3283 2002-11-15  Darren Kenny  <darren.kenny@sun.com>
3284
3285         * idl/Accessibility_Relation.idl:
3286         add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3287         RELATION_EMBEDS,RELATION_EMBEDDED_BY
3288         * idl/Accessibility_Role.idl:
3289         add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3290         * idl/Accessibility_State.idl:
3291         add STATE_MANAGES_DESCENDANTS
3292         * test/event-listener-test.c:
3293         Added a listener for active-descendant events.
3294
3295 2002-11-15  Padraig O'Briain  <padraig.obriain@sun.com>
3296
3297         * atk-bridge/bridge.c
3298         (atk_bridge_init): If application is Bonobo component wait until top
3299         level is added before registering
3300         (spi_atk_bridge_do_registration): New function which contains code, 
3301         formerly in atk_bridge_init, to do application registration.
3302         (spi_atk_bridge_toplevel_added): Signal called when top level
3303         added to Bonobo component
3304
3305         This fixes bug #83134.
3306
3307 2002-10-23  Vitaly Tishkov  <tvv@sparc.spb.su>
3308
3309         * registryd/deviceeventcontroller.c
3310         Fixed compilation error caused by calling gettimeofday() 
3311         with 1 parameter
3312
3313 2002-10-18  Bill Haneman  <bill.haneman@sun.com>
3314
3315         BUGFIX for #95828.
3316
3317         * acconfig.h:
3318         Added template for HAVE_XKB.
3319         
3320         * configure.in:
3321         Changes to check for XKB, and to set the HAVE_XKB #define if it 
3322         is available.
3323         
3324         * libspi/listener.c:
3325         ()impl_notify_event): Make failure to get event source name
3326         nonfatal.
3327
3328         * registryd/deviceeventcontroller.c:
3329         (#include): include X11/XKBlib.h.
3330         (DEControllerPrivateData) : New struct.
3331         (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) : 
3332         New methods.
3333         (dec_synth_keycode_press) (dec_synth_keycode_release):
3334         New methods; split the key synthesis code into these methods.
3335         They check XKB settings before determining the "time" values to
3336         pass to Xtest; this fixes bug #95828.
3337         (impl_generate_keyboard_event): Changed to use methods above,
3338         instead of callng Xtest directly.
3339         (spi_device_event_controller_init): Initialize new privae struct s
3340         above.
3341         (spi_device_event_controllr_object_finalize):
3342         Free the (new) private data.
3343
3344         * registryd/deviceeventcontroller.h:
3345         Add new gpointer to end of struct data.
3346
3347 2002-10-16  Bill Haneman  <bill.haneman@sun.com>
3348
3349         * configure.in:
3350         Incremented revision to 1.1.2, SONAME is still '.so', library
3351         extensions are ".so.0.0.2".
3352
3353         * registryd/deviceeventcontroller.c:
3354         FIXES FOR #93592 and #95940.
3355         (statics):  renamed mouse_button_state to mouse_mask_state, 
3356         added key_modifier_mask.
3357         (spi_dec_poll_mouse_moved): 
3358         Added key modifier checks, and emit "keyboard:modifiers"
3359         events when the key modifiers currently in use change.
3360         Also generate "mouse:abs" events periodically, even if the mouse
3361         is stationary (should we?).
3362         Alternatively we could generate "mouse:abs" events for either all
3363         mouse movements, or every 'nth' mouse movement, or at the
3364         beginning and end of every "active" mouse period.
3365         
3366         * test/event-listener-test.c:
3367         (main): Added listener for "keyboard:modifiers" events.
3368         
3369 2002-10-15  Bill Haneman  <bill.haneman@sun.com>
3370
3371         * libspi/keymasks.h:
3372         Added key mask #defines for mouse buttons; e.g.
3373         SPI_KEYMASK_BUTTON1, etc.
3374
3375         * configure.in:
3376         Incremented dependency on ATK to version 1.1.0. (This dependency
3377         is probably premature but will soon be real enough).
3378
3379 2002-10-11  Padraig O'Briain  <padraig.obriain@sun.com>
3380
3381         * libspi/hyperlink.[ch]
3382         (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3383         (get_hyperlink_from_servant): Check object is AtkHyperlink not 
3384         AtkObject.
3385
3386         * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3387         AtkObject.
3388
3389         Fixes bug #95517.
3390
3391 2002-10-10  Padraig O'Briain  <padraig.obriain@sun.com>
3392
3393         * registryd/deviceeventcontroller.c
3394         (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3395         events to be ignored.
3396         (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3397         keyboard_mode so that XAllowEvents() can be called.
3398
3399         Fixes bug #93658.
3400
3401 2002-10-08  Padraig O'Briain  <padraig.obriain@sun.com>
3402
3403         * cspi/spi-accessible.c: Correct names of roles returned by
3404         AccessibleRole_getName(). Fixes bug #95055.
3405
3406 2002-10-03  Padraig O'Briain  <padraig.obriain@sun.com>
3407
3408         * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3409         object.
3410
3411         * registryd/registry.c
3412         (desktop_remove_application: Write diagnostic message to stderr for
3413         consistency.
3414
3415         (impl_accessibility_registry_deregister_global_event_listener):
3416         Correct size of lists array. This addresses bug #94555).
3417
3418 2002-09-24  Padraig O'Briain  <padraig.obriain@sun.com>
3419
3420         * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3421         in some role names.
3422
3423 2002-09-19  Padraig O'Briain  <padraig.obriain@sun.com>
3424
3425         * registryd/Makefile: Add CLEANFILES so that .server file is removed
3426         on make clean
3427
3428         * registryd/registry.c (impl_registry_notify_event): Remove
3429         unnecessary call to parser_event_type().
3430
3431         * docs/reference/cspi/tmpl/spi_component.sgml:
3432         Add reference to SPI_LAYER_WINDOW.
3433
3434 2002-09-17  Padraig O'Briain  <padraig.obriain@sun.com>
3435
3436         * registryd/registry.c
3437         (desktop_add_application): Remove leak.
3438         (desktop_remove_application): Remove leak.
3439         (parser_event_type): Remove leak.
3440
3441 2002-09-16  Padraig O'Briain  <padraig.obriain@sun.com>
3442
3443         * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3444         bogus call to CORBA_string_dup(). Also removed unnecessary
3445         g_string_dup/g_free calls.
3446         
3447 2002-09-13  Bill Haneman <bill.haneman@sun.com>
3448
3449         * registryd/deviceeventcontroller.c:
3450         spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3451
3452         * test/event-listener-test.c:
3453         main: commented out three redundant listeners, to reduce output
3454         noise. (They still are potentially useful for testing).
3455         
3456
3457 2002-09-13  Michael Meeks  <michael@ximian.com>
3458
3459         * Update all the copyrights to include Ximian.
3460
3461 2002-09-06  Mark McLoughlin  <mark@skynet.ie>
3462
3463         * cspi/spi.h: add SPI_LAYER_WINDOW.
3464
3465         * cspi/spi_component.c: (AccessibleComponent_getLayer):
3466         add Accessibility_LAYER_WINDOW case.
3467
3468         * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3469
3470         * libspi/component.c: (impl_accessibility_component_get_layer):
3471         add ATK_LAYER_WINDOW case.
3472
3473 2002-08-28  Bill Haneman <bill.haneman@sun.com>
3474
3475         * configure.in: incremented micro version.
3476
3477         * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3478
3479 2002-08-20  Bill Haneman <bill.haneman@sun.com>
3480
3481         * HACKING: 
3482         Clarified and reworded our commit policy.
3483
3484         * NEWS:
3485         Started an API "todo" addition list for 2.2.
3486
3487         * libspi/text.c:
3488         (impl_getSelection):
3489         Free char pointer from atk_text_get_selection, which was being leaked.
3490
3491 2002-08-19  Bill Haneman <bill.haneman@sun.com>
3492
3493         * AUTHORS: 
3494         Small revision to author acknowledgement.
3495
3496 2002-08-19  Padraig O'Briain  <padraig.obriain@sun.com>
3497
3498         * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3499         If signal has detail add it to the type of the event.
3500         (bug #90838)
3501         
3502 2002-08-12  Michael Meeks  <michael@ximian.com>
3503
3504         * test/test-simple.c (global_listener_cb): bin bogosity.
3505         (test_keylisteners): disable, still doesn't work reliably,
3506         certainly not on my system anyway.
3507
3508         * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3509         don't leak a reference on the DEC. This round-trip
3510         fetching of the DEC per keystroke sucks, it should be
3511         cached.
3512
3513         * cspi/spi-private.h,
3514         * cspi/cspi-lowlevel.h,
3515         * cspi/bonobo/cspi-bonobo-listener.[ch],
3516         * cspi/bonobo/cspi-bonobo.c: get the copyright
3517         notices better - there is still a large amount of
3518         work in at-spi falsely attributed solely to Sun.
3519
3520         * cspi/spi_main.c (cspi_object_ref): kill bogus
3521         hash lookup, just increment the ref.
3522         (SPI_freeString): make explicit the fact that we
3523         handle NULL strings just fine.
3524         (report_leaked_ref): obey coding standards.
3525         (cspi_object_hash, cspi_object_equal): kill retval.
3526         (cspi_object_release): only release if not on loan.
3527         (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3528         (cspi_object_borrow, cspi_object_return): impl.
3529
3530         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3531         use cspi_object_borrow / return.
3532
3533 2002-08-12  Darren Kenny  <darren.kenny@sun.com>
3534
3535         * cspi/bonobo/cspi-bonobo-listener.c: 
3536         (cspi_event):
3537         Don't call cspi_oject_new() because this is creating a new Accessible
3538         every single time that an event is fired. This causes ATs like at-poke
3539         to nolonger recognise the source of the event and thus ignore it.
3540         Re-use the object from the cache, ref it and then unref it after the
3541         listeners have been called.
3542
3543 2002-08-06  Darren Kenny  <darren.kenny@sun.com>
3544
3545         * test/event-listener-test.c: 
3546         Added command-line options to disable mouse events (m) and
3547         show usage (h). 
3548
3549 2002-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
3550
3551         * configure.in: Update required versions of ATK, GTK+ and GAIL
3552
3553         * cspi-1.0.pc.in: Add dependency for X include files
3554
3555         * cspi/Makefile.am:
3556         * cspi/bonobo/Makefile.am: 
3557         Add $(X_CFLAGS) so that X include files 
3558         are picked up even if not in standard place (bug #71686)
3559
3560 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
3561
3562         * registryd/deviceeventcontroller.c: fix for 84261
3563         (spi_dec_mouse_moved):
3564         Added test of mouse button mask, so that we can detect mouse
3565         button release.  Unfortunately we can't otherwise detect mouse
3566         button release events without consuming the mouse press event,
3567         because of the way XGrabButton works.  This means that our mouse
3568         release events have a latency dependent on the polling period
3569         while the mouse button is down.  At least in this case we only
3570         have to poll while the button is down, and not at other times.
3571         If the button masks don't match with what the last press event
3572         reported, we report the appropriate button release event.
3573         (spi_dec_ungrab_mouse):
3574         New method (not yet called).
3575         (spi_device_event_controller_forward_mouse_event):
3576         New method, sends mouse press event from GdkFilter.
3577         (spi_dec_init_mouse_listener):
3578         Added code to call XGrabButton, redirecting mouse button events to
3579         the root window and our Gdk event loop.
3580         (global_filter_fn):
3581         Added code to filter mouse button events, and reordered.
3582         
3583         * test/event-listener-test.c:
3584         (main):
3585         Added registration for mouse events of type "mouse:button".
3586
3587 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
3588
3589         * registryd/deviceeventcontroller.c: partial fix for 84261
3590         (spi_dec_poll_mouse_idle):
3591         New method, a timeout which checks to see if the mouse
3592         has moved.
3593         (spi_dec_poll_mouse_moving):
3594         A timeout to be called when mouse motion is underway.
3595         (spi_dec_poll_mouse_moved):
3596         A method which fires an event if the mouse has moved, and reports
3597         whether or not it did so. 
3598         (spi_dec_init_mouse_listener):
3599         A method which sets up the timeouts above.
3600         (spi_device_event_controller_new):
3601         Now calls spi_dec_init_mouse_listener.
3602
3603         * registryd/registry.c:
3604         (spi_registry_init):
3605         Now we initialize the device event controller when the registry is
3606         initialized, instead of waiting until a client has requested a key
3607         event notification; this is because we need the event controller
3608         for mouse events, but the mouse event registration API is a
3609         "registry" call and doesn't explicitly call the 
3610         deviceeventcontroller.
3611         We now report mouse motion events with a 100 ms idle latency and
3612         a 20 ms granularity when motion is in progress.
3613
3614         * test/event-listener-test.c:
3615         (main):
3616         We now register the "detail listener" for events of type 
3617         "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3618         delivered only for the first mouse event received, and thereafter
3619         "mouse:abs" events are delivered.)
3620
3621         * cspi/spi_registry.c:
3622         DOCS: Documented the above mouse event typestrings.
3623         
3624 2002-06-21  Bill Haneman  <bill.haneman@sun.com>
3625
3626         Happy Summer Solstice...
3627
3628         * registryd/deviceeventcontroller.c: [fix for bug 84100]
3629         (spi_controller_notify_keylisteners):
3630         Changes to remove a listener from the listener list, freeing its
3631         open keygrabs, if a notification to that listener fails.  This
3632         means that although a dead listener can continue to hold a passive
3633         keygrab, a maximum of one dispatch to such a listener can fail
3634         before the listener is removed from the list, thus the keygrab
3635         will be released on the next occurrence.
3636         As part of this fix:
3637         (spi_notify_keylisteners):
3638         Renamed to spi_controller_notify_keylisteners, as the controller
3639         instance must now be passed as an argument.
3640         The copied 'notify' GList is now a list of DEControllerKeyListener
3641         objects, since we need more than just the CORBA reference if a
3642         notify fails and we need to deregister the listener.
3643         (impl_notify_listeners_sync):
3644         (impl_notify_listeners_async):
3645         (spi_device_event_controller_forward_key_event):
3646         Modify use of notify_keylisteners in accordance with above
3647         changes.
3648         (spi_deregister_controller_key_listener):
3649         New method introduced by refactoring, from 
3650         impl_deregister_keystroke_listener.
3651         (impl_deregister_keystroke_listener):
3652         Call spi_deregister_controller_key_listener.
3653         (spi_key_listener_clone):
3654         New method to copy a key listner without doing a 'ref' on the
3655         remote object instance; used to create a notifier list.
3656         (spi_key_listener_data_free):
3657         New method, frees data without unreffing the source.
3658         Used in refactor.
3659         (spi_key_listener_clone_free): new method.
3660         (spi_key_listener_free): 
3661         refactored to call spi_key_listener_data_free.
3662         
3663 2002-06-20  Bill Haneman  <bill.haneman@sun.com>
3664
3665         * registryd/registry.c: [fix for bug 86048]
3666         (notify_listeners_cb):
3667         Clear CORBA system exceptions which occur when notifying
3668         listeners, before returning to the source of the original event,
3669         since the event source doesn't care if the relayed notify failed.
3670         In other words, don't complain to the atk-bridge if the registry
3671         could not notify all its listeners, that's no fault of the
3672         application and thus should not appear to be an error from the
3673         application's perspective.
3674         
3675         * cspi/spi_main.c: [fix for bug 85980]
3676         (cspi_object_ref):
3677         Replaced use of bonobo_object_dup_ref with call to the wrapper
3678         method, csou_dup_ref (); this silences a compiler warning and
3679         provided more portability.
3680         (cspi_registry):
3681         Ping the registry before return, and restart if necessary.
3682
3683         * cspi/bonobo/cspi-bonobo.c:
3684         (cspi_ping):
3685         New internal method.
3686         (cspi_dup_ref):
3687         Fixed this method to return an object reference, as it should have
3688         all along.
3689
3690         * cspi/cspi-lowlevel.h:
3691         Added internal definition for cspi_ping() and fixed 
3692         return type of cspi_dup_ref().
3693         
3694
3695 2002-06-19  Bill Haneman  <bill.haneman@sun.com>
3696
3697         * atk-bridge/bridge.c:  [fix for bug 85305]
3698         (spi_atk_bridge_register_application):
3699         New method where the initial application registry calls have been
3700         moved; it allows an application to re-register in response to
3701         certain error conditions (such as a registry restart, see below).
3702         (atk_bridge_init):
3703         Moved some initialization code to the method
3704         spi_atk_bridge_get_registry, below.
3705         (spi_atk_bridge_get_registry):
3706         New, private accessor function for the Accessibility_Registry
3707         instance.  If the registry has not been started before, or has
3708         died (as detected by failure of a CORBA exception), it is
3709         restarted before return, and spi_atk_bridge_register_application
3710         is called again to register with the new bridge instance.
3711         (spi_atk_emit_eventv):
3712         Set registry_died on error; use spi_atk_bridge_get_registry () to
3713         access the registry.
3714         
3715         * registryd/registry.c:
3716         (impl_accessibility_registry_register_global_event_listener):
3717         Set listener's event_type_quark to etype.minor instead of
3718         etype.major (fix for bug 84856).
3719
3720         * test/event-listener-test.c:
3721         (report_detail_event):
3722         Change the output string so that user/tester can tell that the
3723         'detail listener' was called instead of the 'generic listener'.
3724         
3725 2002-06-18  Bill Haneman  <bill.haneman@sun.com>
3726
3727         Fixes for bugs 84900, 84908, 84897, 84898.
3728
3729         * NEWS: updated.
3730         
3731         * configure.in:
3732         Revved version to 1.1.0 
3733         (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3734         version is going to HEAD which will be used for gnome-2-0-1 and later.)
3735         
3736         * idl/Accessibility_Registry.idl:
3737         (EventListener::notifyEvent):
3738         Removed 'oneway' directive after extensive consulation with
3739         ORBit2 team and others.  This means also that unref() of the event
3740         source can and should be done synchronously after emission, rather
3741         than remotely in the client, after servicing the notify call on
3742         the listener side.
3743
3744         NOTE: This change speeds up listener performance considerably, but
3745         introduces new latency on the application side.  We may want to
3746         add an event queue to the atk-bridge.
3747
3748         * atk-bridge/bridge.c:
3749         (spi_atk_bridge_focus_tracker):
3750         Do a local unref() on the event source after emission.
3751         
3752         * registryd/registry.c:
3753         (desktop_remove_application):
3754         Do an unref() on the event source after emission.
3755         (desktop_add_application):
3756         Do an unref() on the event source after emission.
3757         (notify_listeners_cb):
3758         When relaying an event, don't automatically add the event source
3759         to the local object cache, just CORBA_dup it instead.  Likewise,
3760         if this method reenters, release the ref rather than calling
3761         unref() as well.
3762         (impl_registry_notify_event):
3763         No longer call remote unref() on the event source after dispatch.
3764
3765         * libspi/eventlistener.c:
3766         (impl_accessible_event_notify_event):
3767         Removed remote unref ()
3768         
3769         * cspi/bonobo/cspi-bonobo-listener.c:
3770         (cspi_event):
3771         We now call cspi_object_new() instead of cspi_object_add() on
3772         receipt of an event; thus we only have an implicit object ref
3773         while the cspi_event method is being executed.  If we need to keep
3774         a reference to the object, the listener must call ref() on the
3775         object.  Thus also we don't need to call cspi_object_unref() after
3776         invoking the listener callbacks in this method.
3777         
3778         * cspi/spi_main.c:
3779         (cspi_object_new):
3780         New internal API for creating a new cspi object, without adding it
3781         to the object cache.
3782         (cspi_object_add):
3783         Now uses cspi_object_new() to create the cspi object instance.
3784         (cspi_object_ref):
3785         Now checks to see if the object is in the internal object cache,
3786         and adds it if necessary before incrementing its refcount (note
3787         that new objects are added with a refcount of 1).
3788         (report_leaked_ref):
3789         New method which gives some information on leaked object instances
3790         if leak detection is turned on.
3791
3792         * test/event-listener-test.c:
3793         (timing_test_event):
3794         New method, used for testing event delivery timing for special
3795         events of type "object:test".  It reports elapsed time and
3796         events/sec every 500 events.
3797         (main):
3798         Added a new listener, 'test listener', to check timing of event
3799         receipt as noted above.
3800         (report_event):
3801         Added some timing output here also, reports elapsed time every 100
3802         events.
3803
3804         * test/stress-test.c:
3805         Emit events of type "object:test", for use with "event-listener-test".
3806
3807         * test/test-simple.c:
3808         (global_listener_cb):
3809         Call Accessible_ref() on the event source before calling
3810         validate_accessible, since the validation process does pointer
3811         comparisons on the event source, meaning that the event source
3812         needs to be added to the local object cache first.  Any use of
3813         such pointer comparisons between Accessible objects requires that
3814         the caller hold an explicit reference to those objects.
3815         We also must therefore call Accessible_unref() when leaving this method.
3816
3817 2002-06-13  Bill Haneman  <bill.haneman@sun.com>
3818
3819         * registryd/deviceeventcontroller.c:
3820         (spi_controller_update_key_grabs):
3821         Fix for #84735, subsequent keygrab listeners not informed of
3822         registration failure.
3823
3824         * libspi/base.c:
3825         (spi_base_construct):
3826         Add an assertion on construct, to make sure the GObject passed in
3827         is really a GObject.
3828         (spi_base_init):
3829         Explicitly initialize object->gobj pointer to NULL;
3830
3831         * cspi/bonobo/cspi-bonobo-listener.c:
3832         (cspi_object_add_ref):
3833         New method, can specify whether to dup-ref a bonobo object passed
3834         in if it's newly added to the object cache.
3835         (cspi_object_add):
3836         Now calls cspi_object_add_ref with second param of "FALSE".  This
3837         prevents us from doing a pointless dup-ref followed by
3838         release-unref for all those cases where the object is already in
3839         our object cache (fix for #85205).
3840
3841         * atk-bridge/bridge.c:
3842         (spi_atk_bridge_idle_init):
3843         Removed this method, we don't need to initialize in an idle
3844         handler anymore;
3845         (atk_bridge_init):
3846         Changed to call spi_atk_register_event_listeners directly, not via an
3847         idle handler. (fix for #81139)
3848         (gnome_accessibility_module_shutdown):
3849         Removed conditional around deregistration of listeners, since we
3850         don't use the idle handler and thus have always registered when
3851         shutdown is called.
3852         (spi_init_keystroke_from_atk_key_event):
3853         Changed references to Accessibility_KEY_PRESSED to 
3854         Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3855         
3856 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
3857
3858         (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3859         
3860         * configure.in:
3861         Revved to 1.0.1
3862
3863         * test/stress-test.c:
3864         Added file.
3865
3866         (may have been an incomplete commit yesterday?)
3867
3868 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
3869
3870         * test/Makefile.am:
3871         Added target for new stress-test.
3872         
3873         * test/stress-test.c:
3874         New test, sends 1000 focus notifies in quick succession.
3875
3876         * test/key-listener-test.c:
3877         Now we report whether a keylistener registration
3878         request succeeded or failed.
3879
3880         * test/event-listener-test.c:
3881         Uncommented some listeners which are now implemented.
3882
3883
3884 2002-06-06  Bill Haneman  <bill.haneman@sun.com>
3885
3886         * registryd/deviceeventcontroller.c:
3887         (spi_controller_update_key_grabs):
3888         Fix for #82509, lack of failure notification when
3889         ALL_WINDOWS keygrabs fail due to XGrabKey
3890         failure: we synchronize the server when 
3891         registering a passive grab, to make sure we get the
3892         error message before the call returns.
3893
3894 2002-06-03  Bill Haneman  <bill.haneman@sun.com>
3895
3896         * test/test-simple.c:
3897         (key_listener_cb):
3898         Removed #ifdef KEY_IMPL_WORKS guards.
3899         (test_keylisteners):
3900         Removed #ifdef KEY_IMPL_WORKS guards.
3901         Fixed bug which was causing a hang waiting for a 
3902         "press" event (which was already overwritten by a "release" 
3903         event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3904         (key_listener_cb):
3905         Added code to set globals 'key_press_received' and
3906         'key_release_received'.
3907
3908         * TODO:
3909         Added section "1.1 API Proposed Additions" which
3910         lists API additions desired for at-spi-1.1 (only one so far).
3911         Updated TODO list a little.
3912         
3913 2002-06-02  Bill Haneman  <bill.haneman@sun.com>
3914
3915         AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3916         API frozen.
3917         
3918         * configure.in: Revved to 1.0.0.
3919
3920         * idl/Accessibility_Registry.idl:
3921         (registerKeystrokeListener):
3922         Added boolean return value.
3923         
3924         * registryd/registry.c:
3925         (notify_listeners_cb): Minor fix to debug output.
3926
3927         * registryd/Accessibility_Registry.server.in.in:
3928         Revved version number in OAFIID to 1.0.
3929
3930         * registryd/registryd.c:
3931         (main):
3932         Use new OAFIID version.
3933
3934         * cspi/bonobo/cspi-bonobo.c:
3935         (cspi_init):
3936         Use new OAFIID version.
3937
3938         * test/at.c:
3939         (main):
3940         * test/app.c:
3941         (main):
3942         * atk-bridge/bridge.c:
3943         (atk_bridge_init):
3944         Use new OAFIID version.
3945
3946         * registryd/deviceeventcontroller.c:
3947         (impl_register_keystroke_listener):
3948         Added CORBA_boolean return value.
3949         (spi_controller_register_device_listener):
3950         Added gboolean return value.
3951         (spi_controller_register_global_keygrabs):
3952         Added gboolean return value.
3953         (spi_key_set_contains_key):
3954         Added implementation for many more control keys,
3955         for instance F1-F12, arrow keys, End, Home, Page_Up,
3956         Page_Down, Escape.
3957         [TODO: some still not implemented]. 
3958         
3959         * text/screen-review-test.c:
3960         (text_chunk_pad_string):
3961         New function: it provides mapping between coordinate
3962         positions of text chunks and character positions in the
3963         screen-review-line output string.
3964         (text_chunk_to_string):
3965         New function, calls text_chunk_pad_string with various
3966         pad/delimiter characters. Pushbuttons are delimited with
3967         square brackets, Frames with vertical 'pipe' lines, and 
3968         other text with double quotes.
3969         (text_chunk_list_to_string):
3970         Calls new function text_chunk_to_string.
3971         (toplevel_composite):
3972         New function to composite layers CANVAS through
3973         POPUP in each toplevel (other layers are composited
3974         across toplevels, i.e. BACKGROUND and OVERLAY).
3975         (review_buffer_composite):
3976         Revise to use new methods.
3977         
3978         
3979         
3980         
3981
3982 2002-05-31  Laszlo Peter  <laca@sun.com>
3983
3984         * configure.in: add the Xtst libdir to the runpath on Solaris,
3985         since it's not in the default library search path.
3986
3987 2002-05-29  jacob berkman  <jacob@ximian.com>
3988
3989         * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3990
3991 2002-05-29  Bill Haneman  <bill.haneman@sun.com>
3992
3993         * test/screen-review-test.c:
3994         (text_chunk_pad_string):
3995         Added method, which pads the string according to the 
3996         text bounds of the chunk.  It also takes a 3-character
3997         string as a param which indicates the characters to be 
3998         used for start, padding, and end delimitation of the chunk.
3999         (text_chunk_to_string):
4000         Changed to use text_chunk_pad_string.
4001         
4002         * configure.in: Fixed bug in AC_OUTPUT that was
4003         causing path substitution in Accessibility_Registry.server
4004         to fail.
4005
4006 2002-05-23  Bill Haneman  <bill.haneman@sun.com>
4007
4008         * text/screen-review-test.c:
4009         (guess_string_clip):
4010         New method which attempts a best-guess at clipping
4011         text from components (like Java labels) which don't
4012         actually implement AccessibleText.  This inaccurate
4013         clip is based on the assumption that the label is
4014         justified left-and-right, and monospaced.
4015         (text_chunk_get_clipped_string):
4016         We now call guess_string_clip() for text-containing
4017         components that don't implement AccessibleText.
4018
4019         * test/screen-review-test.c:
4020         (review_buffer_get_text_chunk):
4021         We now pull "name" from labels if they do not implement
4022         AccessibleText (i.e. for Java labels).
4023         (get_screen_review_line_at):
4024         Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4025
4026         * configure.in:
4027         Replaceded AC_OUTPUT target
4028         registryd/Accessibility_Registry.server with 
4029         registryd/Accessibility_Registry.server.in.
4030
4031         * registryd/Accessibility_Registry.server.in:
4032         Removed (this is now a Makefile target).
4033
4034         * registryd/Accessibility_Registry.server.in.in:
4035         Added (source for target above).  We now use $(libexecdir) as
4036         prefix for the executable at-spi-registryd.
4037
4038         * registry/Makefile.am: 
4039         Now install at-spi-registryd into $(libexecdir), and build .server
4040         file with path (see above).
4041         
4042 2002-05-22  Bill Haneman  <bill.haneman@sun.com>
4043
4044         * test/screen-review-test.c:
4045         (text_chunk_get_clipped_string):        
4046         We now check to see if words fall within clip bounds 
4047         before resorting to character-by-character clip bounds testing.
4048
4049         * TODO: Added a section for "2.2 Proposed API Additions".
4050
4051 2002-05-21  Bill Haneman  <bill.haneman@sun.com>
4052
4053         * test/screen-review-test.c:
4054         * test/Makefile.am:
4055         Added a screen review benchmarking and test program to test
4056         directory.
4057
4058         * cspi/spi_accessible.c:
4059         * cspi/spi_main.c:
4060         Made some of the debug strings passed to cspi_check_ev a
4061         little more specific.
4062
4063 2002-05-21  Padraig O'Briain  <padraig.obriain@sun.com>
4064
4065         * test/screen-review-test.c: Fix crashes in debug statements
4066
4067 2002-05-20  Bill Haneman  <bill.haneman@sun.com>
4068
4069         * test/screen-review-test.c: Added this file.
4070
4071 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
4072
4073         * atk-bridge/bridge.c: changed "object:state-change" to
4074         "object:state-changed" to match docs.
4075
4076 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
4077
4078         * atk-bridge/bridge.c: Hooked up state-change event details.
4079
4080 2002-05-11  Bill Haneman <bill.haneman@sun.com>
4081
4082         * registryd/registry.c:
4083         Fixed quarking bug in event string parsing; now events with
4084         detail parameters get matched correctly to listeners.
4085         [Bugzilla 80608].
4086
4087         * util/idl/Magnifier.idl: remove.
4088         * util/idl: remove
4089         * util/*.[ch]: Remove.
4090         Magnification utilities and IDL are now in module gnome-mag.
4091
4092 2002-05-10  Bill Haneman <bill.haneman@sun.com>
4093
4094         * registryd/deviceeventcontroller.c:
4095         Fixed bug in grab key conversion which was causing keycode grabs
4096         to be converted to AnyKey grabs.
4097
4098         * NEWS:
4099         updated NEWS file to reflect recent spin-off of gnome-mag.
4100
4101 2002-05-09  Marc Mulcahy <marc.mulcahy@sun.com>
4102
4103         * cspi/spi_accessible.c: Added exception checks.  Fixed completely
4104         busted AccessibleStateSet_compare.  Removed redundant casts.
4105         
4106         * cspi/spi-action.c: Removed redundant casts.
4107
4108         * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4109
4110         * cspi/spi_component.c: Fixed typos and casting error.
4111
4112         * cspi/spi_editabletext.c: Removed redundant casts.
4113
4114         * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4115
4116         * cspi/spi_hypertext.c: Eliminated redundant casts.
4117
4118         * cspi/spi_image.c: Eliminated redundant casts.
4119
4120         * cspi/spi_registry.c: Eliminated redundant casts.
4121         SPI_deregisterGlobalEventListenerAll () removed retval variable.
4122         * cspi/spi_selection.c: Removed redundant casts.
4123         * cspi/spi_text.c: Eliminated redundant casts.  Fixed exception
4124         handling.  Screen geometry and text offsets were being returned as 0
4125         on error which is technically valid-- changed these to return -1.
4126         Added marshaller for text boundary types to fix bug with boundary
4127         types being passed incorrectly to atk.
4128                         
4129 2002-05-09  Bill Haneman <bill.haneman@sun.com>
4130
4131         
4132         * cspi/spi_registry.c:
4133         Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4134         which was uncovered by the recent key changes.
4135
4136 2002-05-09  Bill Haneman <bill.haneman@sun.com>
4137
4138         * test/event-listener-test.c:
4139         * test/Makefile.am:
4140         Added new test, "event-listener-test"; 
4141         this code does two things; it benchmarks traversal time 
4142         for the accessible hierarchy for the first running accessible 
4143         app, and it connects listeners for all supported event types.  
4144         It is thus useful as an example event listener and for 
4145         diagnostics/debugging of event generation.
4146         
4147 2002-05-08  Bill Haneman <bill.haneman@sun.com>
4148
4149         * test/Makefile.am:
4150         Removed unnecessary dependency on libutil.
4151
4152         * configure.in:
4153         Revved micro version: 0.13.1
4154
4155 2002-05-08  Bill Haneman <bill.haneman@sun.com>
4156
4157         * configure.in: 
4158         Removed util/Makefile from targets.
4159
4160         * Makefile.am:
4161         Removed util subdir from SUBDIRS (temporarily, 
4162         pending removal of magnifier-only code
4163         from UTIL).
4164
4165         * test/simple-at.c:
4166         #ifdef-ed out magnifier dependencies, since
4167         magnifier IDL, headers, and binary now live in
4168         module gnome-mag and we don't want at-spi to depend 
4169         on gnome-mag.  A magnifier demo which can run alongside
4170         simple-at is forthcoming in the gnome-mag module.
4171         
4172         NOTE: Split magnifier binary, IDL, and magnification
4173         activation code from at-spi into module gnome-mag.
4174
4175 2002-05-03  Marc Mulcahy <marc.mulcahy@sun.com>
4176  
4177         * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4178         cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4179  
4180 2002-05-03  Bill Haneman <bill.haneman@sun.com>
4181
4182         * configure.in:
4183         Revved to version 0.13.0
4184         
4185         * idl/Accessibility_Registry.idl:
4186         Changed definition of KeySet from sequence of longs to sequence of
4187         KeyDefinitions, and added KeyDefinition struct.
4188         Required for fix to bug 80616.
4189
4190         * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4191         Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4192         to use new definition (see above).  
4193
4194         * registryd/deviceeventcontroller.c: handle_keygrab(), 
4195         spi_keyset_contains_key():
4196         Changed to make use of new struct; this allows matching based on
4197         string key-name, for instance "Tab".  This also allows matching of
4198         composed characters, non-alphanumeric characters in a way that
4199         doesn't involve dependencies on X keysym codes directly, etc.
4200         
4201         * test/key-listener-test.c:
4202         Added test for Alt-Tab key using "string" specification of keyset,
4203         and modified one of the tests to use a keycode-based keyset.
4204         Thus this test both tests and demonstrates the creation and use of
4205         keysets of three forms:  specified via keycode array, 
4206         keysym array, and string array. (The string case only contains a
4207         single string, i.e. a string array of length 1).        
4208
4209         * test/simple-at.c:
4210         Turned on PRINT_TREE option by default.  Also fixed a
4211         string-freeing bug in the PRINT_TREE code.  
4212         Added a listener to window:minimize events.
4213         
4214 2002-05-08  Padraig O'Briain  <padraig.obriain@sun.com>
4215
4216         * atk-bridge/bridge.c:
4217         (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4218         for window:activate and window:deactiveate
4219         (atk_bridge_property_event_listener atk_bridge_signal_listener
4220         atk_bridge_window_event_listener) Tidy debug code
4221
4222 2002-05-02  Marc Mulcahy <marc.mulcahy@sun.com>
4223
4224         * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4225         Fixed handling for NULL return value from ATK.
4226
4227         * libspi/action.c libspi/component.c libspi/editabletext.
4228         libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4229         libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4230         Removed redundant casts.
4231         
4232         * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4233         Fixed off by one bug.
4234         
4235         *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4236         function not present in idl)
4237         
4238 2002-05-02  jacob berkman  <jacob@ximian.com>
4239
4240         * atk-bridge/Makefile.am: make atk-bridge a real module
4241
4242 2002-04-26  Radek Doulik  <rodo@ximian.com>
4243
4244         * libspi/stateset.c (spi_init_state_type_tables): fix size of
4245         atk_state_types table
4246
4247 2002-04-22  jacob berkman  <jacob@ximian.com>
4248
4249         * util/Makefile.am: 
4250         * libspi/Makefile.am: add deps on the built files to help
4251         automake, and don't version the ORBit typelib
4252
4253 2002-04-19  Padraig O'Briain  <padraig.obriain@sun.com>
4254
4255         * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h 
4256         cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4257         cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c 
4258         cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4259         cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4260         cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4261         cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4262         libspi/accessible.h libspi/accessible.h libspi/base.h 
4263         libspi/component.h libspi/editabletext.h libspi/hyperlink.h 
4264         libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4265         libspi/relation.h libspi/remoteobject.h libspi/selection.h 
4266         libspi/spi-private.h libspi/statetset.h libspi/table.h
4267         libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4268         util/mag_client.h util/mag_control.c util/mag_image.c
4269         util/mag_image.h util/magnifier.c util/magnifier.h: 
4270         Add missing file headers; standardize existing ones
4271
4272 2002-04-18  Marc Mulcahy  <marc.mulcahy@sun.com>
4273
4274         * atk-bridge/bridge.c: Added window event support.
4275
4276 2002-04-18  Michael Meeks  <michael@ximian.com>
4277
4278         * libspi/relation.c (impl_getNTargets): impl.
4279         (impl_getTarget): impl.
4280
4281         * libspi/Makefile.am: fix stateset install.
4282
4283 2002-04-17  Bill Haneman <bill.haneman@sun.com>
4284
4285         * NEWS:
4286         Started putting useful info in this file.
4287         
4288 2002-04-17  Marc Mulcahy <marc.mulcahy@sun.com>
4289  
4290         * atk-bridge/bridge.c: 
4291         Propagate state-changed notifications to ATs
4292  
4293         * cspi/spi_registry.c: update docs to reflect actual behavior of
4294         state-change events.
4295
4296 2002-04-17  Bill Haneman <bill.haneman@sun.com>
4297
4298         * configure.in:
4299         Incremented version to 0.12.1
4300         
4301         * util/mag_client.h:
4302         Add missing declaration for magnifier_exit, 
4303         used by mag_control.c - Forte compiler didn't like
4304         the implicit redeclaration of the function :-(
4305
4306
4307 2002-04-16  Bill Haneman <bill.haneman@sun.com>
4308
4309         * configure.in:
4310         Revved version to 0.12 due to API change (see below).
4311
4312         * cspi/spi-roletypes.h:
4313         removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE 
4314         definition from the inline docs, and added docs
4315         for SPI_ROLE_LAST_DEFINED.
4316
4317         * cspi/spi.h:
4318         * cspi/spi_streamablecontent.c:
4319         Added missing seek_type parameter to
4320         (so far unused) method, 
4321         AccessibleStreamableContent_seek().
4322         [ RT approval JodyG. ]
4323
4324         * cspi/spi_event.c:
4325         Fixed docs for SPI_createAccessibleKeystrokeListener.
4326
4327         * cspi/spi_registry.c:
4328         Fixed docs for SPI_KEYSET_ALL_KEYS.
4329         
4330         * docs/reference/cspi/at-spi-cspi-sections.txt:
4331         Added a number of missing APIs to SECTIONS.
4332         
4333 2002-04-16  Bill Haneman <bill.haneman@sun.com>
4334
4335         * registryd/Makefile.am:
4336         * cspi/Makefile.am:
4337         * cspi/bonobo/Makefile.am:
4338         Add $(X_LIBS) to makefiles.
4339
4340 2002-04-15  Bill Haneman <bill.haneman@sun.com>
4341
4342         * configure.in:
4343         Revved version to 0.11.
4344
4345         * libspi/component.c:
4346         Added implementation for grabFocus.
4347
4348         * idl/Accessibility_Component.idl
4349         (Accessibility_Component_grabFocus):
4350         Made this method return boolean to indicate success or failure, to
4351         be consistent with cspi and the corresponding ATK method.
4352         
4353         * idl/Accessibility_Selection.idl
4354         (Accessibility_Selection_selectAll) :
4355         Made these methods return boolean to indicate success or
4356         failure, to be consistent with cspi and the corresponding ATK methods.
4357         
4358         * idl/Accessibility_EditableText.idl 
4359         (Accessibility_EditableText_setTextContents,
4360          Accessibility_EditableText_insertText,
4361          Accessibility_EditableText_cutText,
4362          Accessibility_EditableText_deleteText,
4363          Accessibility_EditableText_pasteText):
4364         Made these methods return boolean to indicate
4365         success or failure.
4366
4367         * cspi/spi_editabletext.c:
4368         Made these methods return booleans.
4369
4370         * libspi/selection.c:
4371         * libspi/component.c:
4372         * libspi/editabletext.c:
4373         Connected the boolean returns from ATK
4374         to the server-side code referenced above.
4375         
4376 2002-04-14  Bill Haneman <bill.haneman@sun.com>
4377
4378         * idl/Accessibility_Table.idl: Added missing methods,
4379         Accessibility_Table_addRowSelection,
4380         Accessibility_Table_addColumnSelection,
4381         Accessibility_Table_removeRowSelection,
4382         Accessibility_Table_removeColumnSelection.
4383
4384         * cspi/spi_table.c:
4385         Added C wrappers for above IDL:
4386         AccessibleTable_addRowSelection,
4387         AccessibleTable_addColumnSelection,
4388         AccessibleTable_removeRowSelection,
4389         AccessibleTable_removeColumnSelection.
4390         
4391         * libspi/table.c:
4392         Added server-side implementation code for IDL above, connecting
4393         to pre-existing ATK api.
4394         
4395 2002-04-13  Marc Mulcahy <marc.mulcahy@sun.com>
4396
4397         * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4398
4399         * libspi/accessible.c: Added implementation fo
4400         Accessibility_Accessible_get_state.
4401         
4402         * libspi/libspi.h: Added stateset.h to the list of includes.
4403
4404         * libspi/stateset.c: Fixed broken implementation.
4405
4406 2002-04-13  Bill Haneman <bill.haneman@sun.com>
4407
4408         * util/magnifier.c:
4409         Added implementation code for Accessibility_Magnifier_exit ().
4410
4411         * util/mag_control.c:
4412         Added test code for above method; you can
4413         now kill an existing magnifier via 
4414         ./mag_control q, from the util directory.
4415
4416         * test/key-listener-test.c:
4417         * test/Makefile.am:
4418         Added a new test, for our key listener API.
4419
4420 2002-04-11  Bill Haneman <bill.haneman@sun.com>
4421
4422         * test/app.c, test/keysynth-demo.c:
4423         * util/magnifier.c:
4424         Replace use of snprintf with g_snprintf.
4425         (fix for bugzilla 78249)
4426
4427 2002-03-27  Michael Meeks  <michael@ximian.com>
4428
4429         * Version 0.10.0
4430
4431         * util/Makefile.am (INCLUDES): fix.
4432         (DONT_DIST_SOURCE): don't distribute the
4433         generated files.
4434
4435         * libspi/Makefile.am (dist-hook): ditto.
4436
4437 2002-03-27  Padraig O'Briain  <padraig.obriain@sun.com>
4438
4439         * libspi/hypertext.c:
4440         Fix warnings when yelp is used with atk-bridge
4441
4442 2002-03-21  Michael Meeks  <michael@ximian.com>
4443
4444         * libspi/application.c (spi_application_new):
4445         use spi_accessible_construct so we use the AtkObject
4446         cache correctly.
4447
4448 2002-03-19  Michael Meeks  <michael@ximian.com>
4449
4450         * registryd/registry.c (desktop_remove_application),
4451         (desktop_add_application): clean coding style.
4452
4453         * registryd/desktop.c (spi_desktop_remove_application),
4454         (spi_desktop_add_application): kill re-enterency hazards.
4455         (spi_desktop_dispose): remove bogus redundant cast
4456         obscuring bug; fix bug too.
4457         (spi_desktop_init): make the desktop object immortal.
4458
4459 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4460
4461         * test/simple-at.c:
4462         Added a #define-guarded tree-traversal step
4463         when enumerating the apps (diagnostic tool).
4464
4465 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4466
4467         * idl/Accessibility_Role.idl:
4468         Added ROLE_DRAWING_AREA which seemed to be missing from the
4469         previous commit.
4470
4471 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4472
4473         * cspi/spi-roletypes.h cspi/spi_accessible.c
4474         idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4475         types with ATK.
4476
4477         * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4478         Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4479         AT when applications are added and removed from the desktop.  This
4480         reverts the previous broken implementation using the backing
4481         AtkObject for the SpiDesktop.
4482         
4483         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
4484
4485         * registryd/desktop.c: emit the "children-changed::add" and
4486         "children-changed::remove" signals on the backing ATK object for
4487         the desktop so AT can tell when applications are started and shut
4488         down.
4489
4490         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
4491
4492         * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4493
4494         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
4495
4496         * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4497
4498         * cspi/spi_accessible.c: Implemented c bindings for stateset support
4499
4500         * cspi/state-types.h: synched with IDL and ATK
4501
4502         2002-03-13  Bill Haneman <bill.haneman@sun.com>
4503
4504         * libspi/accessible.c 
4505         (impl_accessibility_accessible_get_child_at_index):
4506         Change return value for g_return_if_fail ()
4507         to CORBA_OBJECT_NIL instead of "0" (!)
4508
4509         * registryd/Makefile.am:
4510         * registryd/Accessibility_Register.server.in:
4511         Changed name of executable, "registryd",
4512         to something more informative:
4513         "at-spi-registryd".
4514
4515 2002-03-13  Michael Meeks  <michael@ximian.com>
4516
4517         * atk-bridge/bridge.c (atk_bridge_init): don't register
4518         if we're in a bonobo-component, rather than a bonobo app.
4519
4520 2002-03-13  Michael Meeks  <michael@ximian.com>
4521
4522         * atk-bridge/bridge.c (gtk_module_init): split
4523         out body to (atk_bridge_init): here, since otherwise
4524         we get symbol conflicts and oddness when invoked
4525         from (gnome_accessibility_module_init): here (upd.)
4526
4527 2002-03-11  Bill Haneman  <bill.haneman@sun.com>
4528
4529         * HACKING:
4530         New file.  Explicitly allow "build sheriff" putbacks provided
4531         they are tested on Solaris.
4532         
4533         * docs/reference/cspi/Makefile.am:
4534         Added '-' to the "cp" command for index.sgml.
4535         ("patch by thomasvs, soon coming to a GUADEC near you")
4536
4537         * configure.in:
4538         Incremented version number (0.9.0) for new release.
4539         Changed macro that checks for popt, to better detect
4540         obsolete versions of popt.
4541         
4542         * configure.in:
4543         Added X_LIBS to AC_SUBST, for applications
4544         that call Xlib API directly.
4545         
4546
4547 2002-03-07  Bill Haneman  <bill.haneman@sun.com>
4548
4549         * configure.in:
4550         Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4551
4552         * util/Makefile.am:
4553         Fix regression caused by hard-coding major
4554         version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4555         (see above change).
4556         
4557         * test/test-simple.c (test_editable_text),
4558         (test_test): revert previous change (error was 
4559         a regression in gail which is now fixed).
4560         
4561 2002-03-04  Michael Meeks  <michael@ximian.com>
4562
4563         * test/test-simple.c (test_editable_text),
4564         (test_text): pass G_MAXINT instead of '-1' for
4565         whole string - is this a good thing !?
4566
4567         * cspi/spi_accessible.c
4568         (Accessible_getRelationSet): fix crasher bug
4569         overwriting the end of the array.
4570
4571         * test/test-simple.c (validate_accessible): free,
4572         not g_free returned relation set.
4573
4574 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4575
4576         * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4577         implemented stateset support
4578
4579         * idl/Accessibility_State.idl: Made necessary changes to
4580         the IDL to support state sets.
4581
4582 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4583
4584         * registryd/deviceeventcontroller.c:
4585         Added implementation for generateMouseEvent.
4586
4587         * cspi/spi_registry.c:
4588         Connected new implementation for generateMouseEvent
4589         to the C bindings.
4590         
4591 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4592
4593         * configure.in: 0.8
4594         Incremented revision (but no change in public API
4595         outside of 'utils', which are not installed public yet.)
4596
4597         * libspi/component.c:
4598         Changed to use atk_component API for layers and
4599         mdi_zorder, instead of deprecated atk_object API.
4600         
4601         Magnification Utility Enhancements:
4602         
4603         * util/magnifier.c:
4604         Added implementation of createZoomRegion, clearAllZoomRegions,
4605         resizeZoomRegion.  Added new commandline argument
4606         "--no-initial-region".  Note that clearAllZoomRegions doesn't
4607         unmap the old '0' region as it should (yet), and the other
4608         methods only work when creating/resizing a single region,
4609         which is "region 0".  
4610         (Code for multiple region support will be added later.)
4611
4612         * util/mag_image.c:
4613         Now we raise the magnifier window each time it's refreshed;
4614         this will help keep it on top.
4615         
4616         * util/mag_client.h:
4617         Added simple wrappers for above, used by mag_control.
4618         For general use, it's recommended to use the bonobo magnifier
4619         control API directly instead of using these wrappers.
4620
4621         * util/mag_image.h:
4622         Moved ZoomRegionData from magnifier.c to this file.
4623         
4624         * util/mag_control.c: 
4625         Added some code to exercise new IDL implementations.
4626         
4627 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4628
4629         * libspi/text.c: Provide implementation for getAttributes.
4630
4631 2002-02-04  Bill Haneman <bill.haneman@sun.com>
4632         
4633         * configure.in:
4634         Incremented revision.
4635
4636         * test/test-simple.c:
4637         Replaced use of deprecated g_main_iteration with 
4638         g_main_context_iteration.
4639         
4640 2002-01-28  Padraig O'Briain <padraig.obriain@sun.com>
4641
4642         * configure.in:
4643         Incremented revision for desktop alpha 2.
4644
4645 2002-01-28  Mark McLoughlin  <mark@skynet.ie>
4646
4647         * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4648         than an atk object.
4649
4650         * test/simple-at.c: include netinet/in.h.
4651
4652 2002-01-24  Mark McLoughlin  <mark@skynet.ie>
4653
4654         * cspi/spi_accessible.c: (Accessible_getRelationSet):
4655         use NULL, not CORBA_OBJECT_NIL.
4656
4657         * libspi/accessible.c:
4658         (impl_accessibility_accessible_get_relation_set):
4659         allocate the sequence correctly.
4660
4661         * libspi/remoteobject.h: kill spi_remote_object_new.
4662
4663         * test/test-simple.c: (validate_accessible): add code
4664         to test relation sets, now all we need is to figure
4665         out how to excercise this code path :/
4666
4667 2002-01-18  Michael Meeks  <michael@ximian.com>
4668
4669         * test/test-simple.c
4670         (key_listener_cb): consume the key.
4671         (test_keylisteners): update.
4672         (main): wait for any pending unrefs on events.
4673
4674         * registryd/deviceeventcontroller.c
4675         (spi_controller_update_key_grabs): only re-issue the
4676         grab on a key release.
4677         (spi_device_event_controller_forward_key_event):
4678         refresh the keygrabs before we notify the listeners,
4679         to reduce the X ungrab / re-grab race.
4680         (spi_controller_register_with_devices): remove
4681         XSelectInput - we do that with the gdk_window_ call.
4682         (_spi_controller_device_error_handler): return a value.
4683         s/GDK_DISPLAY/spi_get_display/
4684
4685 2002-01-17  Michael Meeks  <michael@ximian.com>
4686
4687         * registryd/deviceeventcontroller.c
4688         (_deregister_keygrab): don't blow out the later
4689         assertion.
4690
4691         * test/test-simple.c (test_keylisteners): do a
4692         more intelligent validation.
4693
4694 2002-01-14  Michael Meeks  <michael@ximian.com>
4695
4696         * atk-bridge/bridge.c
4697         (gnome_accessibility_module_init),
4698         (gnome_accessibility_module_shutdown): impl.
4699         (gtk_module_init): protect vs. double inits.
4700         (add_signal_listener): impl.
4701         (spi_atk_bridge_state_event_listener): kill
4702         (deregister_application): split out of
4703         (spi_atk_bridge_exit_func): here.
4704
4705 2002-01-18  Bill Haneman <bill.haneman@sun.com>
4706
4707         * test/simple-at.c:
4708         Added caret tracking when using magnifier, and 
4709         now use text bounds for focus tracking of text elements, rather than
4710         the component bounds - this is helpful for short text fields in long
4711         table cells, at high magnification.
4712         
4713 2002-01-16  Bill Haneman <bill.haneman@sun.com>
4714
4715         * registryd/deviceeventcontroller.c:
4716         Regression fix for keylistener de-registration; global keygrabs
4717         were not being released when deregisterKeystrokeListener was
4718         called in cspi, since 
4719         Accessibility_DeviceEventController_deregisterKeystrokeListener
4720         was called with a zero-length keyset.  That is because the cspi
4721         method, SPI_deregisterKeystrokeListener, does not take a keyset
4722         parameter but instead should remove all the key grabs held be a
4723         keystroke listener.  
4724         The code in impl_deregister_keystroke_listener was changed to copy
4725         the keylist from the listener instance previously registered with
4726         the DeviceEventController before releasing the grabs.
4727
4728         * registryd/registry.c:
4729         * registryd/deviceeventcontroller.c:
4730         * libspi/spi-private.h:
4731         * libspi/util.c:
4732         Changed spelling of "re-enterant" to "re-entrant" globally.
4733
4734 2002-01-16  Bill Haneman <bill.haneman@sun.com>
4735
4736         * test/test-simple.c:
4737         Changed key listeners test - the test was slightly mis-using the
4738         (admittedly poorly documented) SPI_generateKeyboardEvent API.
4739         It now uses '=' as the key event listened to and generated,
4740         relying on a keysym match rather than assuming that keycode 33 
4741         is always equal to keysym '!'.
4742
4743 2002-01-15  Bill Haneman <bill.haneman@sun.com>
4744
4745         * test/simple-at.c:
4746         Changed simple-at to use a specific keyset, rather than
4747         SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4748         manager, desktop, etc.
4749         
4750 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4751
4752         * registryd/deviceeventcontroller.c:
4753         Replaced standard X error handler with a special handler that 
4754         is non-fatal for failed keygrabs.  This works around 
4755         problems with keygrab clashes sometimes observed on 
4756         Solaris using CDE.
4757         Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate 
4758         mouse handling code as yet).
4759         
4760 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4761
4762         * configure.in:
4763         Incremented revision for desktop alpha release.
4764
4765         * README:
4766         Fixed a couple of the more glaring errors (still not 
4767         very up-to-date).
4768
4769 2002-01-11  Michael Meeks  <michael@ximian.com>
4770
4771         * registryd/deviceeventcontroller.c
4772         (spi_device_event_controller_forward_key_event): kill
4773         XUngrabKey / XKeyGrab race.
4774         (spi_controller_grab_keyboard): rename to
4775         (spi_controller_update_key_grabs): this, and deal
4776         with incremental adding / removing grabs more
4777         sensibly.
4778         (_register_keygrab): ensure we're not pending a remove.
4779         (spi_grab_mask_free): impl.
4780         (spi_controller_register_global_keygrabs): split out
4781         common code into:
4782         (handle_keygrab): impl.
4783         (_deregister_keygrab): impl.
4784         (spi_controller_deregister_global_keygrabs): impl.
4785         (spi_controller_update_key_grabs): re-issue the grab if
4786         we just recieved a notification.
4787
4788         * test/test-simple.c (key_listener_cb): remove debug.
4789
4790         * registryd/deviceeventcontroller.c
4791         (spi_controller_register_device_listener): after
4792         registering a global keygrab, actualy register it !
4793         don't wait for a timeout; doh !
4794
4795         * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4796         to make it more readable / manipulable.
4797         s/grabmask/grab_mask/ s/refcount/ref_count/
4798         s/keyval/key_val/ s/modmask/mod_mask
4799
4800 2002-01-08  Michael Meeks  <michael@ximian.com>
4801
4802         * registryd/deviceeventcontroller.c
4803         (spi_controller_register_with_devices): use gdk calls to
4804         setup a filter.
4805         (global_filter_fn): implement the filter.
4806         (spi_device_event_controller_check_key_event): rename to
4807         (spi_device_event_controller_forward_key_event): this & upd.
4808         (spi_get_display): replace with GDK_DISPLAY.
4809
4810         * registryd/deviceeventcontroller.c
4811         (spi_controller_deregister_device_listener): unroll into
4812         (impl_deregister_keystroke_listener): here to simplify.
4813         (spi_controller_register_global_keygrabs): split cut and
4814         paste (!) out into (_register_keygrab): here, shorter & sweeter.
4815         (spi_controller_deregister_device_listener): remove.
4816         (impl_register_mouse_listener): remove, no mouse listener
4817         support in at-spi-1.0
4818
4819         * registryd/registry.c
4820         (_device_event_controller_hook): kill.
4821         (spi_registry_init): upd.
4822
4823         * registryd/deviceeventcontroller.c
4824         (spi_device_event_controller_class_init): upd.
4825         (spi_check_key_event): merge into.
4826         (spi_device_event_controller_check_key_event):
4827         here and kill strange static ev init, don't leak
4828         the x_event - nor dynamicaly allocate it.
4829
4830         * registryd/registry-main.c (main): re-direct
4831         timeout to remove strange vtable mess.
4832
4833         * registryd/deviceeventcontroller.c
4834         (remove_listener_cb): impl.
4835         (spi_controller_deregister_device_listener):
4836         fix re-enterancy hazard.
4837
4838 2002-01-07  Michael Meeks  <michael@ximian.com>
4839
4840         * registryd/deviceeventcontroller.c
4841         (spi_device_event_controller_new): upd.
4842         (impl_notify_listeners_sync): upd. debug.
4843         (spi_notify_keylisteners): fix re-enterancy hazards,
4844         prettify, remove O(n*n) iteration.
4845         (spi_controller_grab_keyboard): fix iteration.
4846         (spi_check_key_event): re-format to suit coding style.
4847         Clean all the warnings - we're warning free.
4848
4849         * registryd/deviceeventcontroller.h:
4850         * registryd/registry.h: make mutualy referential with
4851         typesafe forward references instead of (!) void pointer
4852         hacks.
4853
4854 2002-01-11  Michael Meeks  <michael@ximian.com>
4855
4856         * cspi/spi_accessible.c (role_names): add a role name
4857         to sync this array with the enum; and make the regression
4858         tests pass, sigh.
4859
4860 2002-01-10  Michael Meeks  <michael@ximian.com>
4861
4862         * cspi/spi_registry.c (SPI_generateKeyboardEvent): 
4863         allow expansion of enumeration & kill warning.
4864
4865         * test/test-simple.c (key_listener_cb): impl.
4866         (test_keylisteners): impl.
4867
4868         * cspi/spi-listener.h: make listener signatures const
4869         on the provided (const) events.
4870
4871         * test/keysynth-demo.c: upd. to const events.
4872
4873         * test/simple-at.c: ditto.
4874
4875 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4876
4877         * configure.in:
4878         Rev the version to 0.5 (the previous tarball was named 0.4, 
4879         even though the micro number was 3), so we need to rev upwards
4880         again for beta2/"desktop-alpha" 
4881  
4882         * test/demo.csh:
4883         Checked in a demo script, which requires editing before use!
4884         Proceed with caution.
4885         
4886         * libspi/value.h:
4887         Fixed typo in header which was redefining SPI_ACTION_CLASS.
4888
4889         * cspi/spi_accessible.c:
4890         Add a couple of missing enum initializations, and fix some enum
4891         comments.
4892
4893         * cspi/spi_registry.c:
4894         Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4895         
4896         * docs/reference/cspi/at-spi-cspi-sections.txt:
4897         Remove/fix a couple of broken document references.
4898
4899         * test/simple-at.c:
4900         Minor tweaks to the demo.  We now (sigh) use Alt-SHIFTLOCK as well
4901         as Alt-Control to listen for commands, since on some systems
4902         Control-Alt may already be grabbed.
4903
4904 2002-01-10  Bill Haneman <bill.haneman@sun.com>
4905
4906         * configure.in:
4907         Update version number to 0.4 for Beta2.
4908         
4909         * libspi/accessible.c, libspi/accessible.h:
4910         Expose spi_accessible_construct, to enable libgail-gnome
4911         construction from spi_accessible subtype.
4912
4913         * utils/magnifier.c:
4914         Workaround for bug in some non-gnome-compliant window managers
4915         which made magnifier resize improperly.
4916
4917 2002-01-09  Bill Haneman <bill.haneman@sun.com>
4918
4919         * libspi/accessible.c: (spi_accessible_new) :
4920         Move the test for SPI_IS_REMOTE_OBJECT to
4921         spi_accessible_new_return, fixing a bug and compile time warning.
4922         
4923 2002-01-08  Michael Meeks  <michael@ximian.com>
4924
4925         * registryd/registry.c (parse_event_type): remove strndup.
4926
4927         * libspi/Makefile.am (libspi_la_SOURCES): remove
4928         sources already included in the headers section.
4929
4930         * libspi/util.c: add.
4931
4932         * libspi/spi-private.h: add.
4933
4934         * registryd/registry.c: update to moved list iterators.
4935
4936 2002-01-05  Michael Meeks  <michael@ximian.com>
4937
4938         * test/simple-at.c (main): upd. auto-module set to atk-bridge
4939
4940         * test/test-simple.c (main): ditto.
4941
4942 2002-01-04  Michael Meeks  <michael@ximian.com>
4943
4944         * libspi/accessible.c (spi_accessible_new): remove 2nd,
4945         redundant construct.
4946
4947         * registryd/registry.c
4948         (get_listener_list): impl.
4949         (impl_accessibility_registry_register_global_event_listener):
4950         re-impl. to simplify using ~, remove dodgy const cast off.
4951         (parse_event_type): constify.
4952         (impl_accessibility_registry_deregister_global_event_listener_all): 
4953         re-write, more efficiency and simplicity, kill re-enterancy
4954         hazard.
4955         (compare_listener_corbaref, compare_corba_objects),
4956         (compare_listener_quarks): define out.
4957         (impl_accessibility_registry_deregister_global_event_listener): 
4958         re-write for effiency, and nail re-enterancy hazard.
4959         (impl_accessibility_registry_get_desktop_list): impl.
4960         (re_enterant_list_delete_link): impl.
4961         (re_enterant_list_foreach): impl.
4962         (remove_listener_cb): impl.
4963         (_registry_notify_listeners): kill.
4964         (notify_listeners_cb): impl.
4965
4966         * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4967         (SPI_getDesktopList): impl.
4968
4969         * test/test-simple.c (test_desktop): test the methods.
4970
4971 2002-01-03  Michael Meeks  <michael@ximian.com>
4972
4973         * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4974         keystrings since we free them
4975         (SPI_freeAccessibleKeySet): in here.
4976
4977         * libspi/accessible.c (spi_accessible_new): kill warning,
4978         wonder what is going on with the constructor here.
4979
4980 2002-03-01  Bill Haneman <bill.haneman@sun.com>
4981
4982         * libspi/accessible.c (spi_accessible_new ()) :
4983         Added check to see if AtkObject is an SpiRemoteObject before
4984         creating an SpiAccessible.
4985         
4986 2002-05-01  Bill Haneman <bill.haneman@sun.com>
4987
4988         * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4989         Enable keygrabs using the Control modifier, now that they are
4990         working properly (they were previously disabled).
4991
4992         * test/simple-at.c:
4993         Change the command keygrab for this demo to "Control+Alt", so as
4994         to conflict with fewer other key commands on the system; this
4995         means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4996
4997         Removed a pointlessly-chatty keylistener for unshifted keys
4998         (shifted keys are still reported).
4999         
5000 2002-02-01  Bill Haneman <bill.haneman@sun.com>
5001
5002         * libspi/remoteobject.h:
5003         * libspi/remoteobject.c:
5004         Added definitions for special AtkObject subtype, required for
5005         support of remote components (specifically, used by BonoboControl
5006         accessibility implementation).
5007         
5008 2002-01-02 Marc Mulcahy  <marc.mulcahy@sun.com>
5009
5010         * cspi/spi.h: synched relation types with ATK
5011
5012         * cspi/spi_accessible.c: Added implementations of
5013         AcccessibleRelation_* methods
5014
5015         * idl/Accessibility_Relation.idl: added getRelationTypeName
5016         method.  Synched known relation types with ATK.  Allowed for
5017         relation type extension with the RELATION_EXTENDED type.
5018         
5019         * libspi/relation.c: Provided implementations for
5020         AccessibleRelation methods.
5021
5022 2002-01-01  Bill Haneman <bill.haneman@sun.com>
5023
5024         API tweaks for today's API 'freeze'.
5025
5026         * idl/*:
5027         Added placeholder functions to allow future compatible expansion
5028         of the IDL interfaces.
5029
5030         * idl/Accessibility_Registry.idl:
5031         Changed generateKeyEvent to generateKeyboardEvent.  Changed
5032         signature of this method to accept an optional keystring in
5033         parameter (for complex text input synthesis) and changed use of
5034         simple 'boolean' parameter in registerKeystrokeListener to a
5035         struct, EventListenerMode.
5036
5037         * cspi/spi_accessible.c:
5038         * cspi/spi.h:
5039         * cspi/spi_streamablecontent.c:
5040         Added references to AccessibleStreamableContent interface, and
5041         definition and implementation of AccessibleStreamableContent 
5042         C bindings.
5043
5044         * cspi/spi_registry.c:
5045         * cspi/spi.h:
5046         Changed generateKeyEvent API to generateKeyboardEvent,
5047         taking a new (optional) keystring parameter to support complex
5048         text input.
5049         
5050         * at-bridge/*:
5051         * atk-bridge/*:
5052         Renamed directory (to better reflect its actual purpose, bridging
5053         from at-spi to ATK).  The .so module is also now named
5054         libatk-bridge.so.
5055
5056         * idl/Accessibility_Hypertext.idl:
5057         * libspi/accessible.c:
5058         * libspi/hypertext.h:
5059         * libspi/hypertext.c:
5060         Changed Accessibility_Hypertext to *not* derive from
5061         Accessibility_Text.
5062
5063         * cspi/spi_registry.c:
5064         Added list of legal event type names for 'window' events, which
5065         completes the registry event API.
5066
5067 2001-12-22  Marc Mulcahy  <marc.mulcahy@sun.com>
5068
5069         * at-bridge/bridge.c: Added registration for separate
5070         "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5071         signals.  If either of the first two parameters to the generic
5072         bridge signal handler are ints, they are passed on as event
5073         details.  This allows an AT to determine what text was inserted.
5074
5075 2001-12-21  Bill Haneman <bill.haneman@sun.com>
5076
5077         * registryd/deviceeventcontroller.c:
5078         Fixed regressions in generateKeyEvent caused by the removal of
5079         gdk_init from registryd; we now use pure X calls to connect to the
5080         display, which makes sense because deviceeventcontroller already
5081         uses a fair bit of X API (should eventually be migrated to a
5082         'portability layer').
5083
5084         * registryd/desktop.c:
5085         Fixed minor regression in spi_desktop_init, changed the way the
5086         desktop name is being set to work with new spi_base API
5087         (gobject-based, rather than AtkObject-based).
5088
5089         * registryd/Makefile.am:
5090         Minor revision of makefile to use XTST_LIBS variable rather than
5091         hard-wiring the Xtst LD_ADD element.
5092
5093         * test/keysynth-demo.c:
5094         Tweaked an output message; added initialization of the
5095         'keystrings' member of the "switch listener" key_set.
5096
5097         * libspi/relation.c:
5098         Squashed compile-time warning.
5099
5100         * libspi/accessible.c:
5101         Cosmetic and formatting fixes, renamed a static method.
5102         
5103 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5104
5105         * libspi/accessible.c 
5106         * libspi/action.c
5107         * libspi/application.c 
5108         * libspi/base.c 
5109         * libspi/base.h
5110         * libspi/component.c 
5111         * libspi/editabletext.c
5112         * libspi/hyperlink.c 
5113         * libspi/hypertext.c
5114         * libspi/image.c 
5115         * libspi/selection.c 
5116         * libspi/table.c
5117         * libspi/text.c 
5118         * libspi/value.c 
5119         * registryd/desktop.c:
5120         Changed SpiBase to contain a GObject pointer rather than an AtkObject
5121
5122 2001-12-17  Bill Haneman <bill.haneman@sun.com>
5123
5124         * idl/Accessibility_Registry.idl:
5125         Added boolean member 'is_text' to DeviceEvent.  This is for the
5126         use of key events, and helps prevent ambiguity between composed
5127         key strings and keysym names, since both may potentially be
5128         returned in the 'event_string' member.
5129
5130         * at-bridge/bridge.c:
5131         * registryd/deviceeventcontroller.c:
5132         Use the 'is_text' member when notifying device event listeners.
5133         Knon issue: composed characters are not dealt with correctly by
5134         the global key listener implementation yet.
5135         
5136 2001-12-17  Bill Haneman <bill.haneman@sun.com>
5137
5138         * at-bridge/bridge.c:
5139         Namespaced local static methods to spi_atk_bridge_* where
5140         previously named bridge_*, and spi_* elsewhere.
5141
5142         * at-bridge/bridge.c:
5143         * cspi/bonobo/cspi-bonobo-listener.c:
5144         Added demarshalling/conversion for string member of
5145         Accessibility_DeviceEvent to AccessibleKeystroke.
5146
5147         * registryd/deviceeventcontroller.c:
5148         Added code to fill the Accessibility_DeviceEvent key string value
5149         member for global key events (i.e. from XGrabKey), to match
5150         behavior of Accessibility_DeviceEvent from the toolkit key events
5151         from the bridge.  Fixed timestamp in global key event notifications.
5152
5153         * test/simple-at.c:
5154         Added printout of key event's string value to
5155         report_ordinary_key_event, for demo/debugging purposes.
5156
5157 2001-12-15  Bill Haneman <bill.haneman@sun.com>
5158
5159         * idl/Accessibility_Registry.idl:
5160         Removed Accessibility_KeyStroke structure in favor of generic
5161         Accessibility_DeviceEvent structure.
5162         Changed Accessibility_ControllerEventMask from a struct to an
5163         unsigned long.
5164
5165         * at-bridge/bridge.c:
5166         Changed APIs to use DeviceEvent structure as above, and removed
5167         bogus casting between these event structures.
5168
5169         * cspi/spi-listener.h:
5170         Added keystring member of AccessibleKeystroke structure, to enable
5171         matching on event "names" rather than only hardware codes and
5172         keysyms.
5173
5174         * cspi/spi.h:
5175         Added keystrings member of AccessibleKeySet struct, to allow
5176         matching on event names (as above).
5177         Added declarations for SPI_createAccessibleKeySet and
5178         SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
5179         event modmasks directly as unsigned ints rather than structs with
5180         refcounts, in the DeviceEventController methods.
5181
5182         * cspi/spi_registry.c:
5183         Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5184
5185         * cspi/spi-roletypes.h:
5186         Added documentation of newly added SPI Roles.
5187
5188         * cspi/bonobo/cspi-bonobo-listener.c:
5189         Changes in support of API changes above.
5190         
5191         * libspi/accessible.c:
5192         Converted APIs to use DeviceEvent structure (see IDL changes
5193         above). 
5194
5195         * registryd/deviceeventcontroller.c:
5196         Added DEControllerGrabMask structure to track keygrabs not only by
5197         modmask but by keyset as well; this allows us to do "global"
5198         (i.e. X) keygrabs on a per-key or keyset basis rather than always
5199         grabbing on AnyKey and then filtering after-the-fact.
5200         Bugfixes for event filtration mean that we don't get false matches
5201         on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5202
5203         * registryd/deviceeventcontroller.c:
5204         Namespaced a number of static methods to use spi_ prefix.  Major
5205         revision to internals of global (i.e. X) key grabs.
5206
5207         * registryd/deviceeventcontroller.h:
5208         Removed keymask_list and added keygrabs_list to
5209         SpiDeviceEventController struct.
5210
5211         * test/simple-at.c:
5212         Added use of SPI_createAccessibleKeySet API when creating a
5213         listener for only one key.  Attach a listener to "shift spacebar
5214         SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
5215         X key event names to SPI key event names, so that listeners are
5216         registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5217         
5218         * test/keysynth-demo.c:
5219         Changed (incorrect) use of X key event names (KeyPressed,
5220         KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5221         
5222
5223 2001-12-12  Bill Haneman <bill.haneman@sun.com>
5224
5225         * libspi/accessible.c:
5226         Convert all AtkRole enumerations to Accessibility_Role enums when
5227         getting a role from an AtkObject.
5228         
5229         * cspi/spi_accessible.c:
5230         Complete the conversion of Accessibility_Role enums at runtime to
5231         AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5232         role enums correctly match those given in spi-roletypes.h.  
5233         Re-synchronize the local names list for AccessibleRole_getName ().
5234         AccessibleRole_getName is now deprecated, since it duplicates the
5235         more reliable Accessible_getRoleName.
5236         Added some role types from Accessibility_Role.idl.
5237
5238         * idl/Accessibility_Role.idl:
5239         Added some role types used by AtkRole.
5240
5241 2001-12-12  Bill Haneman <bill.haneman@sun.com>
5242         
5243         * cspi/spi.h:
5244         * cspi/spi_registry.c:
5245         * cspi/spi_event.c:
5246         * cspi/cspi-bonobo-listener.c:
5247         Namespaced all methods that did not begin with an "SPI_" or
5248         "Accessible" prefix to "SPI_".  
5249
5250         * cspi/spi_main.c:
5251         Homogenized internal function namespace to "cspi_" for statics.
5252         
5253         * test/*.c:
5254         Patched tests to use the new CSPI API.
5255
5256         * docs/reference/cspi/at-spi-cspi-sections.txt:
5257         Updated docs to reflect namespace changes, and added a number of
5258         methods to the documentation.
5259         
5260         * registryd/registry.c:
5261         Changed use of strings and string hashes in listener event
5262         matching and parse_event_string to use GQuark, which is guaranteed
5263         unique.
5264         
5265         * registryd/registry.h:
5266         Squashed annoying warning.
5267
5268         * idl/Accessibility_Role.idl:
5269         Extended range of available Accessibility_Role values.
5270
5271         * cspi/spi_accessible.c:
5272         Re-ordered role names. 
5273
5274 2001-12-12  Bill Haneman <bill.haneman@sun.com>
5275
5276         * idl/Accessibility_Value.idl:
5277         Revert use of union back to CORBA_double, since the double type is
5278         more efficient and can contain the other types without loss of
5279         precision.
5280
5281         * idl/Accessibility_Accessible.idl:
5282         Added method Accessibility:Accessible:getRoleName, to complement
5283         Accessibility:Accessible:getRole.
5284
5285         * cspi/spi_accessible.c:
5286         * cspi/spi.h:
5287         Added C binding for above, Accessible_getRoleName (), and changed
5288         signature of Accessible_getRole () to return an AccessibleRole.
5289
5290         * cspi/spi-roletypes.h:
5291         Changed AccessibleRole_getName to return a char * instead of a
5292         const char *.  This method is now at least temporarily deprecated 
5293         in favor of asking Accessibles for their RoleNames directly.
5294
5295         * libspi/value.c:
5296         Revert to match Accessibility_Value.idl;
5297
5298         * cspi/spi_value.c:
5299         * cspi/spi.h:
5300         Change signature of AccessibleValue methods to use double rather
5301         than float.
5302
5303         * cspi/spi.h:
5304         * cspi/spi_accessible.c:
5305         Changed Accessible_getRole to return an AccessibleRole enum rather
5306         than a UTF-8 string.  The UTF-8 string can still be obtained via
5307         AccessibleRole_getName ().
5308         
5309         * test/test-simple.c:
5310         Add test_action.  Small fixup to match API change to Accessible_getRole.
5311
5312         * libspi/action.c:
5313         Bugfix for get_action_from_servant ().
5314
5315 2001-12-11  Michael Meeks  <michael@ximian.com>
5316
5317         * libspi/libspi.h: remove registry.h and
5318         desktop.h, deviceeventcontroller.h
5319
5320         * libspi/Makefile.am: remove registry.[ch],
5321         desktop.[ch], deviceeventcontroller.[ch]
5322
5323         * registryd/Makefile.am: add registry.[ch],
5324         desktop.[ch], rename registryd.c to registry-main.c.
5325         add deviceeventcontroller.[ch]
5326
5327 2001-12-11  Bill Haneman <bill.haneman@sun.com>
5328
5329         * test/simple-at.c:
5330         Replace setenv() call with putenv ().
5331
5332         * libspi/component.c:
5333         Bugfix in AccessibleComponent_getExtents (),
5334         (from Adi Dascal).
5335         
5336 2001-12-11  Michael Meeks  <michael@ximian.com>
5337
5338         * libspi/image.c (impl_getImageExtents): impl.
5339         (spi_image_class_init): upd.
5340
5341         * cspi/spi_image.c
5342         (AccessibleImage_getImageDescription): fix daft bug
5343         of mine (doh).
5344
5345         * test/test-simple.c (global_listener_cb): update
5346         to only quit if not --poke
5347         (main): catch --poke.
5348         (validate_accessible): upd. dumping, call test_image
5349         (test_image): impl.
5350
5351         * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5352         dependencies.
5353
5354         * idl/Accessibility.idl: update all IDL includes.
5355
5356         * idl/*.idl - rename to namespace - this sucks, blame
5357         mjs' bad decision for oafd.
5358
5359         * test/test-simple.c (create_test_window): add more tests.
5360         (create_tree): split this out.
5361         (validate_accessible): bugfix.
5362
5363 2001-12-11  Michael Meeks  <michael@ximian.com>
5364
5365         * cspi/bonobo/cspi-bonobo-listener.c: 
5366         (cspi_kestroke_listener_unref),
5367         (cspi_event_listener_unref): impl. undoing previous
5368         homenous environment - for Bill.
5369
5370         * cspi/spi_table.c (long_seq_to_array): use
5371         malloc instead.
5372
5373         * cspi/spi_main.c: split out all bonoboish bits into
5374         bonobo/
5375
5376         * cspi/spi-impl.h: upd. typedefs.
5377
5378         * cspi/spi_registry.c: update to lowlevel API,
5379         return booleans to indicate success in some places.
5380
5381         * cspi/spi_event.c: update to lowlevel API.
5382
5383         * cspi/bonobo/Makefile.am: add.
5384
5385         * cspi/bonobo/cspi-lowlevel.h: add
5386
5387         * cspi/bonobo/cspi-bonobo.c: add
5388
5389         * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5390
5391         * cspi/Makefile.am: remove spi-listener-impl.[ch],
5392         (SUBDIRS): add bonobo, link in the libs.
5393
5394         * cspi/spi-util.c: kill this file.
5395
5396         * TODO: merge in my bits.
5397
5398 2001-12-11  Michael Meeks  <michael@ximian.com>
5399
5400         * test/test-simple.c (test_value, test_table, main):
5401         remove unused variables causing warnings.
5402
5403         * configure.in: cleanup checks - require gail.
5404
5405 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
5406
5407         * idl/Value.idl:
5408         Changed Value interface to use SValue (scalars) rather than
5409         assuming all values are floats.  This allows floats, doubles,
5410         longs, shorts, and unsigned values to be manipulated.
5411         Introduced Accessibility:SValue union.
5412
5413         * libspi/value.c:
5414         Updated to use new API above, and to work correctly with GValues
5415         of different types in AtkValue.
5416
5417         * cspi/spi_value.c:
5418         Updated to use new API above.  cspi's API is as yet unchanged.
5419
5420         * TODO: 
5421         Updated the Value revision action item.
5422         
5423 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
5424
5425         * test/test-simple.c:
5426         Added test_table (GtkTreeView widget in test window to follow).
5427         Un-commented test_value, added GtkRange widget.
5428         Added GtkTreeView widget with GtkListStore.  It passes regression
5429         test but leaks one SPI object for some reason.
5430
5431         * libspi/value.c:
5432         Fixed bug in impl__set_currentValue.
5433
5434 2001-12-10  Michael Meeks  <michael@ximian.com>
5435
5436         * cspi/spi_text.c: audit for exception handling,
5437         tolerating NULL object references safely etc.
5438
5439         * cspi/spi_value.c: ditto.
5440
5441         * cspi/spi_table.c (AccessibleTable_getSummary),
5442         (AccessibleTable_getAccessibleAt),
5443         (AccessibleTable_getRowHeader),
5444         (AccessibleTable_getColumnHeader),
5445         (AccessibleTable_getCaption): fix bugs hidden by
5446         incorrect casts.
5447         (long_seq_to_array): impl.
5448         (AccessibleTable_getSelectedRows),
5449         (AccessibleTable_getSelectedColumns): use it.
5450
5451 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
5452
5453         * TODO:
5454         Added a TODO list (rough and short for now).
5455
5456         * cspi/spi_hyperlink.c:
5457         * cspi/spi_hypertext.c:
5458         Fixed macro name typos, and remove use of obsolete macro in 
5459         AccessibleHyperlink_getLink.
5460
5461         * cspi/spi_action.c:
5462         * cspi/spi_accessible.c:
5463         * cspi/spi_application.c:
5464         * cspi/spi_component.c:
5465         * cspi/spi_selection.c:
5466         * cspi/spi_text.c:
5467         * cspi/spi_value.c:
5468         Documentation fixes (removed return values from ref/unref methods).
5469
5470 2001-12-10  Michael Meeks  <michael@ximian.com>
5471
5472         * cspi/spi_action.c: audit for exception handling,
5473         tolerating NULL object references safely etc.
5474
5475         * cspi/spi_accessible.c: ditto.
5476
5477         * cspi/spi_component.c: ditto.
5478
5479         * cspi/spi_editabletext.c: ditto.
5480
5481         * cspi/spi_hyperlink.c: ditto.
5482
5483         * cspi/spi_hypertext.c: ditto.
5484
5485         * cspi/spi_image.c: ditto.
5486
5487         * cspi/spi_selection.c: ditto.
5488
5489 2001-12-10  Michael Meeks  <michael@ximian.com>
5490
5491         * configure.in: use cspi/libspi.pc.in instead.
5492
5493         * Makefile.am (pkgconfig_DATA): upd. to match.
5494
5495         * test/simple-at.c (report_focus_event): kill hacks around
5496         bad return values, use putenv not setenv
5497
5498         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5499         fire ChildGone - I killed it.
5500
5501         * libspi/component.c
5502         (impl_accessibility_component_get_extents): remove
5503         bogus return.
5504
5505         * idl/Accessible.idl: kill ChildGone exception.
5506
5507         * cspi/*.[ch]: kill int return from ref / unref.
5508         
5509         * cspi/spi_main.c (cspi_object_add_check): fold into
5510         (cspi_object_add): here.
5511
5512         * cspi/spi_component.c (AccessibleComponent_getExtents):
5513         handle exceptions elegantly.
5514
5515         * cspi/spi-private.h (cspi_check_ev_return),
5516         (cspi_return_if_fail): impl.
5517
5518         * cspi/spi_accessible.c: use extensively.
5519         (AccessibleStateSet_equals): add direct compare check.
5520
5521         * cspi/spi_selection.c: tolerate NULL objs, and check
5522         exceptions before return.
5523
5524         * cspi/spi-util.c (cspi_warn_ev): rename to
5525         (cspi_check_ev): this & don't pass ev in; no point.
5526
5527 2001-12-10  Michael Meeks  <michael@ximian.com>
5528
5529         * test/test-simple.c: use putenv not setenv
5530         (get_environment_vars): more chatty if you're not using
5531         the fun bits.
5532
5533         * test/simple-at.c: do the setenv so more people see the
5534         nice demo easily.
5535
5536 2001-12-10  Bill Haneman <bill.haneman@sun.com>
5537
5538         * libspi/registry.c:
5539         Changed check of CORBA_environment on notification to be a warning
5540         instead of an error for the moment, since we can recover from this
5541         error when caused by a queued notification from a dead app.
5542         
5543         * libspi/value.c:
5544         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5545         used by all current implementors of AtkValue), and coerce to
5546         CORBA_float. (Proper general case fix may require change to Value.idl).
5547
5548 2001-12-09  Bill Haneman <bill.haneman@sun.com>
5549
5550         * cspi/spi.h:
5551         * cspi/spi_event.c:
5552         * cspi/spi_accessible.c:
5553         Documentation fixes: added user_data params to documentation for 
5554         listeners and callbacks.  
5555
5556         * cspi/spi_accessible.c: 
5557         Changed AccessibleStateSet_compare to return a
5558         StateSet rather than return the difference set into a third parameter.
5559         
5560         
5561 2001-12-09  Bill Haneman <bill.haneman@sun.com>
5562
5563         * configure.in:
5564         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5565         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5566         it). 
5567
5568         * Makefile.am:
5569         Remove subdirectory po from SUBDIRS for now.
5570
5571         * at-bridge/bridge.c:
5572         Beefed up a couple of debug printouts.
5573         One-line fix for signal notification name formatting.
5574
5575         * libspi/accessible.c:
5576         Added assertion to spi_accessible_new ().
5577
5578         * libspi/application.c:
5579         Put #ifdef qualifiers around a printf.
5580
5581         * libspi/value.c:
5582         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5583
5584         * registryd/Makefile.am:
5585         * util/Makefile.am:
5586         Replaces use of XML_I18N_MERGE_SERVER_RULE with
5587         INTLTOOL_SERVER_RULE macro.
5588
5589         * test/simple-at.c:
5590         Added an event listener for several ATK signals, for
5591         testing and debugging.  Removed a few g_warnings.
5592         Added test output if focussed item implements the Value interface.
5593
5594         * test/test-simple.c:
5595         Added test_value () function (known not to pass at the moment, so
5596         not actually called yet.
5597         
5598 2001-12-08  Michael Meeks  <michael@ximian.com>
5599
5600         * at-bridge/bridge.c (bridge_focus_tracker),
5601         (emit_eventv): fix the same ref. leak.
5602         (register_atk_event_listeners): don't leak.
5603
5604         * cspi/spi-listener-impl.c (cspi_event): more 
5605         protection from client code.
5606
5607         * test/test-simple.c (test_desktop): unref the app.
5608
5609         * test/Makefile.am: upd. TESTS.
5610
5611         * at-bridge/bridge.c (bridge_exit_func): release the registry.
5612
5613         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5614
5615         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5616
5617         * cspi/spi_registry.c: constify in strings.
5618         (deregisterGlobalEventListenerAll): don't release the ref.
5619
5620         * cspi/spi.h: start removing redundant / conflicting
5621         gtkdoc comments, making the API readable at a glance :-)
5622         
5623         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5624
5625         * test/keysynth-demo.c (keysynth_exit, main): upd.
5626
5627         * test/simple-at.c (main, simple_at_exit): upd.
5628
5629         * test/test-simple.c (unutterable_horror): kill.
5630         (utterable_normal_derefs): kill.
5631         (main): upd & do a setenv before gtk_init, so that we
5632         can use memprof - and to save the pain of remembering
5633         this, if we're running under memprof - don't exit.
5634
5635         * cspi/spi_main.c (SPI_exit): return exit status
5636         for cspi.
5637         (SPI_event_quit): impl.
5638         (SPI_event_main): simplify.
5639         (cspi_is_gnome_app): kill.
5640         (SPI_init): kill isGNOMEapp arg.
5641
5642         * at-bridge/bridge.c (register_atk_event_listeners):
5643         re-instate the unref.
5644         (bridge_exit_func): don't re-activate the registry,
5645         protect vs. theoretical re-entry, use the
5646         AT_BRIDGE_SHUTDOWN env. var to determine whether to
5647         assert a clean shutdown - for regression tests.
5648
5649 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
5650
5651         * configure.in: Comment out dummy i18n support for now,
5652           otherwise it fails to build.
5653         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5654           EXTRA_DIST. They are missing in tarball.
5655
5656 2001-12-07  Michael Meeks  <michael@ximian.com>
5657
5658         * util/magnifier.c: kill bonobo activation reg. race.
5659
5660         * libspi/component.c
5661         (impl_accessibility_component_get_extents): make it match
5662         it's sig.
5663
5664         * libspi/registry.c (_registry_notify_listeners):
5665         re-remove X headers & reconcile conflicts.
5666         (spi_listener_struct_free): bad conflict resolve.
5667         (impl_accessibility_registry_register_application):
5668         more bad merging fixed.
5669         (impl_accessibility_registry_deregister_application): ditto.
5670         (spi_registry_new): ditto.
5671         (spi_registry_init): don't have an applications field.
5672
5673 [ merge fixups2 branch to here ]
5674 2001-12-07  Michael Meeks  <michael@ximian.com>
5675
5676         * test/simple-at.c (report_focus_event),
5677         (report_focussed_accessible): remove g_warning debug.
5678
5679 2001-12-07  Michael Meeks  <michael@ximian.com>
5680
5681         * test/test-simple.c (validate_tree): comment out some checks.
5682         (test_desktop): app now not registered idly - horay.
5683
5684 2001-12-07  Michael Meeks  <michael@ximian.com>
5685
5686         * cspi/spi_registry.c
5687         (registerAccessibleKeystrokeListener): clean, stop it leaking
5688         great swathes of memory, and device event controller references.
5689         ensure we always pass valid sequences.
5690         (deregisterAccessibleKeystrokeListener): ditto.
5691         (generateKeyEvent): upd.
5692
5693         * at-bridge/bridge.c (bridge_key_listener): handle
5694         registry dead exception gracefully.
5695         (bridge_focus_tracker, emit_eventv): free ev.
5696
5697         * test/simple-at.c (report_focus_event): fix polarity.
5698
5699         * libspi/application.c (notify_listeners): kill the ev
5700         argument, and make sure we init the ev we use.
5701         (spi_application_object_event_listener): split out a chunk
5702         (get_atk_object_ref): here & fixup.
5703         (reverse_lookup_name_for_toolkit_event): make const.
5704         (spi_application_toolkit_event_listener): fixup, kill leaks
5705         ref problems etc.
5706
5707         * at-bridge/bridge.c (register_atk_event_listeners):
5708         don't unref the noop object - causes grief.
5709
5710         * libspi/registry.c: remove the X headers.
5711         turn off the debug churn.
5712
5713         * libspi/accessible.c (spi_accessible_new_return): only
5714         release the ref if we are supposed to [doh]
5715
5716         * test/simple-at.c (report_button_press, report_focus_event):
5717         guard vs. unexpected exit.
5718
5719         * at-bridge/bridge.c (gtk_module_init): prune printf.
5720         (bridge_exit_func): fix app unref.
5721
5722         * libspi/Makefile.am: don't install registry or desktop.h
5723
5724         * libspi/*.h: update includes.
5725
5726         * libspi/application.h: don't include ourself, or
5727         other redundant headers.
5728
5729 2001-12-06  Michael Meeks  <michael@ximian.com>
5730
5731         * libspi/accessible.c
5732         (get_accessible_from_servant): impl.
5733         Upd. all CORBA impl.s to use it killing cut and paste.
5734
5735         * cspi/spi_main.c (cspi_cleanup): guard vs. double
5736         invokes.
5737         (SPI_init): register atexit cleanup handler here.
5738
5739 2001-12-06  Michael Meeks  <michael@ximian.com>
5740
5741         * at-bridge/bridge.c (gtk_module_init): g_error on
5742         activation exception
5743
5744 2001-12-06  Michael Meeks  <michael@ximian.com>
5745
5746         * at-bridge/bridge.c (gtk_module_init): some sort of
5747         confusing merge clash - reverted.
5748         (bridge_idle_init): ditto.
5749
5750         * test/test-simple.c (main, utterable_normal_derefs):
5751         merge from Bill - somehow not committed.
5752
5753 2001-12-06  Michael Meeks  <michael@ximian.com>
5754
5755         * libspi/value.c (spi_value_class_init): upd.
5756         (spi_value_finalize): kill.
5757
5758         * libspi/table.c (spi_table_finalize): kill.
5759         (spi_table_interface_new): upd.
5760         (spi_table_class_init): upd.
5761         (get_table_from_servant): impl.
5762         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5763
5764         * libspi/selection.c (spi_selection_finalize): kill.
5765         (spi_selection_interface_new): upd.
5766         (spi_selection_class_init): upd.
5767         (get_selection_from_servant): impl.
5768         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5769
5770         * libspi/relation.c (spi_relation_finalize): kill.
5771         (spi_relation_class_init, spi_relation_new): upd
5772
5773         * libspi/image.c (spi_image_finalize): kill.
5774         (spi_image_class_init): upd.
5775         (spi_image_interface_new): upd.
5776         (get_image_from_servant): impl.
5777         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5778
5779         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5780         (spi_hyperlink_finalize): kill.
5781         (spi_hyperlink_new): upd.
5782         (get_hyperlink_from_servant): impl.
5783         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5784
5785         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5786         (spi_hypertext_finalize): kill.
5787         (spi_hypertext_class_init): upd.
5788         (get_hypertext_from_servant): impl.
5789         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5790
5791         * libspi/editabletext.c (spi_editable_text_finalize): kill.
5792         (spi_editable_text_interface_new): upd.
5793         (get_editable_text_from_servant): impl.
5794         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5795         
5796         * libspi/text.c (get_text_from_servant): impl.
5797         All impls - update to use it killing more cut and paste,
5798         also fix bad string returns on duff args ( a somewhat
5799         impossible case to handle - but hey ).
5800         (spi_text_construct): impl.
5801         (spi_text_interface_new): upd.
5802         (spi_text_object_finalize): kill.
5803
5804         * libspi/component.c
5805         (accessibility_component_object_finalize): kill.
5806         (spi_component_class_init): upd.
5807         (get_component_from_servant): impl. helper to kill cut & paste.
5808         (impl_accessibility_component_contains): 
5809         (impl_accessibility_component_get_accessible_at_point): 
5810         (impl_accessibility_component_get_position): 
5811         (impl_accessibility_component_get_extents): 
5812         (impl_accessibility_component_get_mdi_z_order): 
5813         (impl_accessibility_component_get_layer): 
5814         (spi_component_interface_new): upd.
5815
5816         * libspi/action.c (spi_action_finalize): kill.
5817         (spi_action_class_init): upd. inherit from SpiObject.
5818         (spi_action_interface_new): upd.
5819         (get_action_from_servant): impl. helper to reduce cut & paste.
5820         (impl_getKeyBinding, impl_getName, impl_doAction),
5821         (impl_getDescription): Use it everywhere.
5822
5823         * cspi/spi_main.c (get_live_refs): a pointer hash.
5824         (spi_object_hash, spi_object_equal): comment out.
5825         There are issues with CORBA object hashing that need
5826         solving.
5827
5828         * libspi/application.c (spi_application_init),
5829         (spi_application_new): upd.
5830
5831         * libspi/accessible.c (spi_accessible_object_finalize): kill.
5832         (spi_accessible_class_init): upd.
5833         s/accessible/object/ in epv methods.
5834
5835 2001-12-05  Bill Haneman <bill.haneman@sun.com>
5836
5837         * at-bridge/bridge.c:
5838         Reorder the bridge initialization into the bridge gtk_module_init,
5839         an immediate call to bridge_register_app, and an idle_add for
5840         register_atk_event_listeners (the only code that *must* wait until
5841         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5842         the activation, creates the application's Accessible object, and
5843         queues the bridge_idle_init function.  Restored call to
5844         Accessibility_Registry_deregisterApplication().  
5845         Prior to making this call we obtain a new reference to the
5846         registry, which is a temporary hack that helps us handle apps that
5847         shut down the bonobo mainloop before we get there.
5848
5849         * libspi/registry.c:
5850         Fix string leakage in debug block, and don't segv if a an app
5851         dies before its event notifications have been propagated.
5852
5853         * cpi/spi_util.c:
5854         Modify cspi_check_ev() to call g_warning() rather than g_error(),
5855         as stopgap measure until we get proper exception handling when 
5856         objects die during or before interrogation.  
5857
5858         * cspi/spi_main.c:
5859         * cspi/spi.h:
5860         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5861         Also changed default value of is_gnome_app to TRUE.
5862
5863         * test/simple-at.c:
5864         * test/keysynth-demo.c:
5865         Changed use of SPI_init and SPI_event_main to reflect API change above.
5866
5867         * test/simple-at.c:
5868         Made report_focus_event check the warning value from getName
5869         before reporting on focussed accessible; simplifies handling of
5870         notifications from dead objects.
5871
5872         * test/test-simple.c: (Changes not in this patch since source is
5873         not in CVS ?)
5874         
5875 2001-12-05  Michael Meeks  <michael@ximian.com>
5876
5877         * registryd/registryd.c (main): protect against
5878         bonobo-activation startup race condition.
5879
5880         * cspi/spi_main.c (cspi_object_add_check): cope
5881         with the exception elegantly.
5882
5883         * idl/Accessible.idl: decl. ChildGone
5884
5885         * libspi/desktop.c (spi_desktop_dispose): impl.
5886         (spi_desktop_class_init): upd.
5887         (spi_desktop_add_application),
5888         (spi_desktop_remove_application),
5889         (abnormal_application_termination): impl.
5890         (impl_desktop_get_child_at_index): re-impl.
5891
5892         * libspi/registry.c
5893         (impl_accessibility_registry_deregister_application),
5894         (impl_accessibility_registry_register_application): 
5895         kill excessive debug clutter.
5896
5897         * test/test-simple.c (test_misc): test some NULL
5898         tolerance. (main): upd.
5899
5900         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5901         implements no interfaces - so let's not crash.
5902
5903         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5904
5905         * libspi/accessible.c (spi_accessible_new_return): impl.
5906         helper to calm the cut and paste, to cope with
5907         NULL AtkObjects effectively and efficiently, and to kill
5908         the referencing bugs.
5909
5910         * libspi/table.c (impl_getAccessibleAt),
5911         (impl_getRowHeader, impl_getColumnHeader): upd.
5912
5913         * libspi/hyperlink.c (impl_getObject): upd.
5914
5915         * libspi/accessible.c
5916         (impl_accessibility_accessible_get_child_at_index): upd.
5917
5918         * libspi/component.c
5919         (impl_accessibility_component_get_accessible_at_point): upd.
5920
5921         * test/test-simple.c (test_editable_text, test_text): impl.
5922         some simple tests.
5923
5924         * cspi/spi_editabletext.c
5925         (AccessibleEditableText_insertText): constify.
5926
5927         * test/test-simple.c (focus_me): make more robust.
5928
5929         * libspi/accessible.c: remove some printfs in methods that
5930         we test and work fine, so we can get a clean tree dump.
5931
5932         * test/test-simple.c (validate_accessible),
5933         (validate_tree): make tree dumping pretty too.
5934
5935         * at-bridge/bridge.c (bridge_signal_listener): upd. so
5936         it builds without debug on.
5937
5938         * test/test-simple.c (validate_accessible): fix the most
5939         ludicrous bug.
5940
5941         * cspi/spi_main.c (spi_object_release): leave the nicely
5942         blanked memory around if in debug mode.
5943
5944         * cspi/spi-listener-impl.c (cspi_event): use add_check.
5945
5946 [committed to fixups2]
5947 2001-12-05  Michael Meeks  <michael@ximian.com>
5948
5949         * libspi/editabletext.c
5950         (spi_editable_text_class_init): g_type_class_peek_parent,
5951         not interface peek - so we finalize cleanly.
5952
5953         * libspi/accessible.c (spi_accessible_new): kill debug.
5954
5955         * test/test-simple.c (validate_accessible): fix ref.
5956         leak, print strings before freeing them; sigh, comment a
5957         chunk out due to strangeness.
5958         (validate_tree): unref the child after use.
5959
5960         * cspi/spi_component.c (AccessibleComponent_getLayer):
5961         add missing break statement, switch on zlayer not the
5962         uninitialized retval.
5963
5964         * cspi/spi_main.c (cspi_object_add): add assert, local ref
5965         before (possibly re-entering) remote unref.
5966
5967         * test/simple-at.c (main): unref the desktop.
5968
5969         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
5970         into:
5971         
5972         * cspi/spi_main.c (cspi_accessible_is_a): here to 
5973         isolate bonobo API usage more.
5974
5975         * libspi/registry.c (impl_accessibility_registry_register_application): 
5976         prune bogus comment.
5977
5978 2001-12-04  Michael Meeks  <michael@ximian.com>
5979
5980         * test/test-simple.c (validate_tree): upd.
5981         IndexInParent check to make it more lucid.
5982         (validate_accessible): dump the tree.
5983
5984         * libspi/accessible.c (de_register_public_ref),
5985         (get_public_refs): impl.
5986         (spi_accessible_new): make more efficient & intuitive.
5987         Now IndexInParent check works.
5988
5989 2001-12-04  Michael Meeks  <michael@ximian.com>
5990
5991         * cspi/spi-util.h: remove.
5992
5993         * cspi/spi.h: move SPI_freeString here
5994
5995         * libspi/component.c (impl_accessibility_component_get_layer): 
5996         warning fixage.
5997         (impl_accessibility_component_get_mdi_z_order): ditto,
5998         return -1 on error - is this ok ?
5999
6000         * test/test-simple.c (test_application): impl.
6001
6002         * cspi/spi_accessible.c (Accessible_getApplication),
6003         (Accessible_isApplication): impl.
6004
6005         * libspi/registry.c (spi_listener_struct_free): release
6006         the CORBA reference too.
6007
6008         * libspi/accessible.c
6009         (impl_accessibility_accessible_get_parent): fix ref leak.
6010
6011         * libspi/registry.c (spi_registry_new): make the registry
6012         immortal - we don't want it to go away ever.
6013
6014         * libspi/application.c
6015         (spi_accessible_application_finalize): impl. cleanup.
6016
6017         * cspi/spi_registry.c
6018         (deregisterGlobalEventListenerAll),
6019         (deregisterGlobalEventListener),
6020         (deregisterAccessibleKeystrokeListener): fix ref leak.
6021
6022         * cspi/spi_main.c (SPI_init): remove redundant ref.
6023
6024         * test/test-simple.c (unutterable_horror): impl. to force a
6025         clean shutdown.
6026         (main): use it.
6027
6028         * libspi/registry.c
6029         (impl_accessibility_registry_deregister_application): release
6030         the application when we de-register it.
6031
6032         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6033         until we have the infastructure to get it right.
6034
6035 2001-12-03  Michael Meeks  <michael@ximian.com>
6036
6037         * libspi/Makefile.am: only build eventlistener.[ch]
6038
6039         * libspi/accessible.c
6040         (impl_accessibility_accessible_get_child_at_index): don't leak.
6041
6042         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6043         before we hit the idle handler.
6044
6045         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6046         debugging than exit.
6047
6048         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6049
6050         * libspi/listener.c (impl_notify_event): check source
6051         not NIL before unref.
6052
6053         * libspi/registry.c (impl_registry_notify_event): ditto.
6054
6055         * libspi/eventlistener.c
6056         (impl_accessible_event_notify_event): unref the source.
6057
6058         * libspi/accessibleeventlistener.c
6059         (impl_accessible_event_notify_event): unref the source.
6060
6061         * idl/Event.idl: remove 'hash_id' attribute - of no
6062         concievable use.
6063
6064         * libspi/application.c (notify_listeners): upd list
6065         iteration & sig.
6066         (spi_application_object_event_listener), 
6067         (spi_application_toolkit_event_listener): upd to do correct
6068         CORBA ref counting.
6069
6070         * libspi/registry.c
6071         (_registry_notify_listeners): update.
6072         (parse_event_type): this method also leaks like a sieve.
6073         (impl_accessibility_registry_deregister_global_event_listener): 
6074         fix ETYPE_WINDOW case.
6075
6076         * libspi/application.c
6077         (impl_accessibility_application_register_object_event_listener): 
6078         kill leak.
6079
6080         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6081
6082         * libspi/hypertext.c (impl_getLink): ditto.
6083
6084         * cspi/spi_main.c (cspi_object_add): remove
6085         bogus CORBA_Object_duplicate.
6086
6087         * cspi/spi-listener-impl.c (cspi_event): dup/ref
6088         on the object_add.
6089
6090         * cspi/spi_accessible.c
6091         (Accessible_getRelationSet): fix leak / referencing issue.
6092
6093         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6094         (cspi_object_add, cspi_object_unref): upd.
6095         (spi_object_release, get_live_refs): impl.
6096         (cspi_cleanup): simplify.
6097
6098         * *.[ch]: s/boolean/SpiBoolean/
6099
6100         * cspi/spi_accessible.c (role_names): actualy order so it
6101         corresponds with the enum !
6102
6103         * test/test-simple.c (test_roles): check some role strings
6104         vs. enums to detect offset errors.
6105
6106 2001-12-01  Michael Meeks  <michael@ximian.com>
6107
6108         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6109
6110         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6111         check ev before 
6112         (Accessible_getChildAtIndex): use cspi_add_check so we
6113         check the ev before using a (possibly) invalid value.
6114
6115         * libspi/accessible.c
6116         (impl_accessibility_accessible_get_parent): don't segv
6117         on a NULL parent.
6118
6119         * at-bridge/bridge.c (gtk_module_init): upd.
6120         (bridge_property_event_listener): don't leak strings
6121         and events !
6122         (bridge_state_event_listener),
6123         (bridge_property_event_listener): don't use a static
6124         buffer in case of recursive event emission &
6125         re-enterancy - split out the swathe of cut and paste
6126         into:
6127         (emit_eventv): and fix 2 ref leaks here & comply to the
6128         coding style.
6129         (bridge_register_app): rename to 
6130         (bridge_idle_init): this and kill arg parsing, split
6131         various inits & bonobo-activation registration to module
6132         init time, kill referencing error.
6133         (bridge_exit_func): fix the same leak.
6134         (bridge_focus_tracker): don't leak event structures
6135         and strings.
6136         (bridge_signal_listener): more leakage and cut & paste
6137         fixage.
6138         (bridge_key_listener): return the result - FIXME is
6139         this polarity correct ?
6140         (accessibility_keystroke_from_atk_key_event): rename
6141         (accessibility_init_keystroke_from_atk_key_event): and stop
6142         leakage.
6143         (gtk_module_init): return a value - not that it is checked by
6144         Gtk - but hey.
6145         (bridge_key_listener): register my horror at casting between
6146         IDL defined structs.
6147         (bridge_get_registry): kill - not used.
6148
6149         * cspi/spi_accessible.c (Accessible_getRole): make return const.
6150
6151         * test/test-simple.c (test_roles): impl.
6152         (test_desktop, validate_accessible, validate_tree): impl.
6153
6154         * cspi/spi_accessible.c (role_names): fixup bogus
6155         MAX_ROLES setup, make constants const for efficient linkage
6156         (AccessibleRole_getName): conform to coding style, make
6157         return 'const'
6158
6159 2001-11-30  Michael Meeks  <michael@ximian.com>
6160
6161         * cspi/spi.h: add missing prototype.
6162
6163         * libspi/registry.c (spi_listener_struct_new): fix sig.
6164
6165         * test/Makefile.am: add test-simple
6166
6167         * test/test-simple.c: add
6168
6169         * test/test.sh: add.
6170
6171         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6172
6173         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6174         do it straight - since otherwise we often get an activation race.
6175
6176 [ work before Bill duplicated a chunk of it ... ]
6177 2001-11-30  Michael Meeks  <michael@ximian.com>
6178
6179         * libspi/keystrokelistener.c
6180         (spi_keystroke_listener_class_init): fixup arg
6181         count (doh).
6182
6183         * libspi/eventlistener.c
6184         (spi_event_listener_class_init): ditto.
6185
6186         * tests/test.sh: add.
6187
6188         * cspi/spi-listener-impl.h: update macros.
6189
6190         * cspi/spi-listener-impl.c
6191         (cspi_event_listener_remove_callback): add
6192         correct pre-conditions.
6193
6194         * cspi/spi_main.c (SPI_exit): guard vs. double
6195         exits, exit the mainloop nicely.
6196         (SPI_event_main): make more sense.
6197         (SPI_init): move the atexit evilness here so we
6198         always do it (yuck).
6199         (SPI_event_main): upd.
6200
6201         * test/simple-at.c: update for listener changes.
6202
6203         * registryd/registryd.c (main): prune kruft.
6204
6205         * libspi/libspi.h: upd.
6206
6207         * libspi/eventlistener.[ch]: rename broken macros.
6208
6209         * libspi/accessibleeventlistener.[ch]: remove.
6210
6211         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6212
6213         * test/test-simple.c: Add - automated tests.
6214
6215         * cspi/spi-listener-impl.c (cspi_event),
6216         (cspi_key_event): add user_data to invoke.
6217         (cspi_keystroke_listener_finalize): impl.
6218         (cspi_keystroke_listener_class_init): upd.
6219
6220         * cspi/spi_event.c
6221         (createAccessibleEventListener),
6222         (AccessibleEventListener_addCallback),
6223         (createAccessibleKeystrokeListener),
6224         (AccessibleKeystrokeListener_addCallback): upd.
6225
6226         * libspi/deviceeventcontroller.c
6227         (spi_device_event_controller_check_key_event): add public proto.
6228
6229         * libspi/registry.c
6230         (impl_accessibility_registry_deregister_global_event_listener): 
6231         always init listeners.
6232         (_registry_notify_listeners): yes it is.
6233
6234         * cspi/spi-listener-impl.c (cspi_key_event): 
6235         move debug to here.
6236         (cspi_event_listener_finalize): impl.
6237         (cspi_event_listener_class_init): hook up.
6238         (event_handler_new, event_handler_free),
6239         (event_list_remove_by_callback): impl.
6240         (cspi_event_listener_remove_callback),
6241         (cspi_keystroke_listener_remove_callback),
6242         (cspi_keystroke_listener_add_callback),
6243         (cspi_event_listener_add_callback): upd.
6244
6245         * libspi/keystrokelistener.c
6246         (keystroke_listener_object_finalize): kill
6247         (spi_keystroke_listener_class_init): upd.
6248         (spi_keystroke_listener_add_callback),
6249         (spi_keystroke_listener_remove_callback): kill,
6250         use signals.
6251         (impl_key_event): prune drasticaly.
6252
6253         * libspi/eventlistener.c
6254         (spi_event_listener_add_callback),
6255         (spi_event_listener_remove_callback): kill, use
6256         signals.
6257         (impl_accessible_event_notify_event): upd.
6258         (spi_event_listener_object_finalize): remove.
6259
6260         * libspi/Makefile.am: use eventlistener.[ch]
6261
6262 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
6263
6264         * libspi/registry.c (_registry_notify_listeners):
6265         Changed listener loop iteration to use preferred convention.
6266         Got rid of string memory leaks caused be calling g_strconcat
6267         inside function calls.
6268
6269         * libspi/registry.c (parse_event_type):
6270         Stopped g_strconcat memory leaks, free the g_strsplit return,
6271         g_strdup the split pieces when used, etc.
6272
6273 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
6274
6275         * idl/State.idl: 
6276         Change method 'compare' to return a 'difference set' rather than
6277         taking a StateSet as an out parameter (more Java-friendly).
6278
6279         * idl/Accessible.idl:
6280         Added CORBA struct 'BoundingBox', to faciliate API changes below:
6281         
6282         * idl/Component.idl:
6283         * idl/Image.idl:
6284         Changed methods 'getExtents' and 'getImageExtents' in these
6285         interfaces to return a BoundingBox structure.  
6286         (getPosition and getSize are redundant and possibly should be
6287         removed, rather than creating a corresponding Point struct.)
6288
6289         * cspi/spi_component.c:
6290         Modify implementation of getExtents to reflect the above IDL
6291         change.
6292         
6293         * cspi/spi_image.c:
6294         * cspi/spi.h:
6295         Add (missing) AccessibleImage_getExtents () API.
6296
6297         * docs/reference/cspi/at-spi-cspi-sections.txt:
6298         Added AccessibleImage_getImageExtents () to docs.
6299         
6300 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
6301
6302         * idl/Component.idl:
6303         Added two methods, getLayer () and getMDIZOrder (), to reflect
6304         the new ATK methods atk_object_get_layer and
6305         atk_object_get_mdi_z_order. (Which arguably should be part of the
6306         AtkComponent API and AtkObject).  Also added an enum,
6307         ComponentLayer, for the first method's return value.
6308
6309         * libspi/component.c:
6310         Added implementations for these methods.
6311
6312         * cspi/spi_component.c:
6313         * cspi/spi.h:
6314         Added cspi binding methods for above, 
6315         AccessibleComponent_getLayer() and
6316         AccessibleComponent_getMDIZOrder().
6317         Added cspi enum 'AccessibleComponentLayer'.
6318
6319         * docs/reference/cspi/at-spi-cspi-sections.txt:
6320         Added above methods to docs.
6321
6322         * cspi/spi-impl.h:
6323         * cspi/spi*.[ch]:
6324         Changed typedef for 'boolean' type (and all references to it) to
6325         SPIBoolean, to avoid keyword clashes with C++.
6326
6327         * test/simple-at.c:
6328         Changed usages of 'boolean' to SPIBoolean.
6329
6330         * test/keysynth-demo.c:
6331         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6332         app), except where SPIBoolean is required by the callbacks API.
6333         
6334 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
6335
6336         * cspi/spi_registry.c:
6337         Removed obsolete X event loop for passive keygrabs (which now
6338         lives in libspi).
6339
6340         * registryd/registryd.c:
6341         Removed unnecessary call to gdk_init() [cruft]. This also allows
6342         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6343         * configure.in.
6344
6345 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
6346
6347         * docs/reference/cspi:
6348         Included docs for SPI_freeString in generated documentation.
6349
6350         * cspi/spi-util.c:c
6351         Renamed spi_freeString to SPI_freeString, for consistency.  Added
6352         documentation for this function.
6353
6354         * cspi/spi-util.h:
6355         Renamed spi_freeString to SPI_freeString, for consistency.  
6356         Removed obsolete method declaration string_from_corba_string.
6357
6358         * test/keysynth-demo.c:
6359         Small tweak to comments.
6360
6361         * test/simple-at.c:
6362         Stopped leaking the strings returned from CSPI. 
6363
6364 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
6365
6366         Merged Michael's branch (see his ChangeLog entries below).
6367         
6368         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6369         bridge is alive, release on exit.
6370         
6371         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6372         Fix type check macro.
6373         
6374         * cspi/spi_event.c:
6375         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6376         
6377         * cspi/spi_main.c: 
6378         Added is_gnome_app static, and method cspi_is_gnome_app(), 
6379         so we can call the appropriate shutdown routine at exit in SPI_exit.
6380         
6381         * cspi/spi_main.c (cspi_object_ref):
6382         Duplicate the corba object passed in, since we're keeping it around.
6383         
6384         * cspi/SPI_exit.c, cspi_cleanup:
6385         Moved the releasing of the live refs to its own function, so we
6386         can put it in g_atexit ().  Call the appropriate shutdown API
6387         depending on whethe calling client is a gnome app or not
6388         (bonobo_main_quit or CORBA_ORB_shutdown).
6389         
6390         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6391         Unref the listener when this method is called, after
6392         deregistration.  Updated the API docs to note this behavior.
6393
6394         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6395         Bugfixes: Ref the bonobo object when returning a parent or child 
6396         reference, or an AccessibleRelation.  Generally made sure
6397         BonoboObject refcount is incremented whenever we return an
6398         Accessible.
6399
6400         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6401         Fixed typo/bug in signal declaration.
6402         
6403         * libspi/accessibleeventlistener.h:
6404         Fixed a type macro.
6405
6406         * libspi/application.c (spi_application_new):
6407         Fixed leak in initialization.
6408
6409         * libspi/desktop.c:
6410         Remembered to increment bonobo-object refcount when returning
6411         children (applications) from desktop object.
6412         Added (empty) finalize method.
6413
6414         * libspi/deviceeventcontroller.c:
6415         Hold a ref to listeners inside DEControllerKeyListeners.
6416         Added dec_key_listener_free() method.  Use prepend instead of
6417         append in key_listener list.  Fixed some refcount madness and
6418         leaks in the listener registration/deregistration - deregistration
6419         now calls dec_key_listener_free() on listeners, and on the
6420         temporarily constructed dec_key_listener() used to perform the search/match.
6421
6422         * libspi/hypertext.c (spi_hypertest_finalize):
6423         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6424         class.  Also fixed spi_hypertext_interface_new() and
6425         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
6426
6427         * libspi/hypertext.h: 
6428         Removed pointless and duplicate AtkObject pointer from
6429         SpiHypertextClass.
6430
6431         * libspi/keystrokelistener.c:
6432         Fixed incorrect type of keystroke_listener_parent_class,
6433         renamed keystroke_listener_object_finalize to
6434         spi_keystroke_listener_object_finalize.
6435         Fixed typo in signal declaration
6436         (spi_keystroke_listener_class_init).
6437
6438         * libspi/registry.c:
6439         Added funcsions spi_listener_struct_new() and
6440         spi_listener_struct_free() to help with memory management issues.
6441         We also now use these methods instead of gnew + poking stuff into
6442         the struct, and to decrement listener counts/free the listeners
6443         when deregistering them.
6444         Fix more refcount bugs in getDesktop() and
6445         getDeviceEventController().  
6446
6447         * test/simple-at.c:
6448         De-ref the desktop after enumerating the applications.  Explicitly
6449         decrement the refcounts on the created listeners on exit (using
6450         _unref for keystroke listeners, and via the
6451         deregisterGlobalEventListenerAll command for other event
6452         listeners).
6453         
6454 2001-11-27  Michael Meeks  <michael@ximian.com>
6455
6456         * cspi/spi-listener.h: fixup enum.
6457
6458 2001-11-27  Michael Meeks  <michael@ximian.com>
6459
6460         * cspi/spi-listener-impl.c (cspi_event_listener_new),
6461         (cspi_keystroke_listener_new): Use the cspi variants.
6462
6463 2001-11-26  Michael Meeks  <michael@ximian.com>
6464
6465         * test/keysynth-demo.c: fix 2 compile warnings, missing
6466         type in decl. etc.
6467
6468         * test/simple-at.c (report_focussed_accessible),
6469         (report_focus_event, report_button_press),
6470         (check_property_change, is_command_key),
6471         (report_ordinary_key_event, report_command_key_event): upd.
6472
6473         * util/mag_client.h: include pre-requisites.
6474
6475         * libspi/accessibleeventlistener.c
6476         (spi_event_listener_object_finalize): free any lingering
6477         callbacks.
6478         
6479         * libspi/keystrokelistener.c
6480         (keystroke_listener_object_finalize): ditto.
6481
6482         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6483         callbacks, with cspi types.
6484         
6485         * cspi/spi_event.c (createAccessibleEventListener): chain to
6486         (AccessibleEventListener_addCallback): here.
6487         (createAccessibleKeystrokeListener): chain to 
6488         (AccessibleKeystrokeListener_addCallback): here.
6489
6490         * libspi/keystrokelistener.c
6491         (spi_keystroke_listener_class_init): add signal.
6492         (impl_key_event): emit the event.
6493         (boolean_handled_accumulator): impl.
6494         (marshal_BOOLEAN__POINTER): add, gack.
6495
6496         * libspi/accessibleeventlistener.c
6497         (spi_event_listener_class_init): add signal.
6498         (impl_accessible_event_notify_event): emit the signal &
6499         make the loop efficient.
6500         (spi_event_listener_add_callback): prepend the callback.
6501
6502         * libspi/accessibleeventlistener.h: add an 'event' signal,
6503         decl type on callback.
6504
6505         * libspi/keystrokelistener.h: ditto.
6506
6507         * cspi/spi-listener.h: make methods typesafe and
6508         make them use the new event typedefs.
6509
6510         * test/simple-at.c (report_focussed_accessible):
6511         include mag_client.h
6512         Use *(void *)text_interface not the other thing.
6513         
6514         * configure.in: add gtk to registryd bits - since we use
6515         gdk there ( why ? )
6516
6517         * util/magnifier.c: include libbonobo.h
6518         
6519 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
6520
6521         * test/keysynth-demo.c:
6522         Turned this into a simple scanning keyboard, to demonstrate the
6523         use of g_timeout_add () as a means of creating timers for
6524         scanning, and the use of GtkStyle for visually indicating when
6525         virtual keyboard elements are selected.
6526
6527         keysynth-demo now listens to any keyboard keys with zero-valued
6528         keycodes (i.e. 'unused' keys) and interprets them as
6529         single-switches.
6530
6531         Reworked the shiftlatch code so that shift-down state isn't held
6532         for long periods (it's only synthesized immediately prior to
6533         the keysynth event it's modifying).  Note that shiftlatch in this
6534         demo is a convenience, not intended to take the place of AccessX 
6535         which is the better choice for getting 'sticky' modifier keys.
6536
6537         * libspi/deviceeventcontroller.c:
6538         * at-bridge/bridge.c:
6539         * cspi/spi_registry.c:
6540         Removed some debug print stuff, and put other verbosity in #ifdef
6541         blocks.
6542
6543         * util/magnifier.c:
6544         * util/mag_image.h:
6545         Implemented some more of the magnifier IDL for the simple
6546         magnifier: namely, getZoomRegionParams. 
6547         Added mag_x and mag_y members to MagnifierData struct, aid of this
6548         implementation.
6549         Added GtkWindow::realize signal handler to magnifier, to keep it
6550         from receiving keyboard focus from the WM.
6551
6552 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
6553
6554         * cspi/spi-private.h: my guess at what michael forgot
6555         before he ran off to NZ :-)
6556
6557 2001-11-23  Michael Meeks  <michael@ximian.com>
6558
6559         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6560         comment out non existant method invoke so we link.
6561
6562         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6563         use bonobo_exception_get_text for more friendly warnings.
6564
6565         * cspi/spi.c (Obj_Add): move into spi_main & rename
6566         spi_object_add; kill spi.c
6567
6568         * cspi/spi_registry.c
6569         (deregisterGlobalEventListener),
6570         (deregisterGlobalEventListenerAll),
6571         (registerGlobalEventListener): fix exception leaks.
6572
6573         * cspi/spi_main.c (spi_exception): impl. helper, so we
6574         don't leak exceptions.
6575
6576         * cspi/spi_selection.c
6577         (AccessibleSelection_deselectSelectedChild): return the
6578         success state.
6579
6580         * cspi/spi_main.c (spi_ev): impl; hack - gack.
6581         (spi_registry): ditto.
6582         (SPI_init): guard against double inits.
6583
6584         * cspi/*.c: use spi_ev (), and spi_registry () where
6585         appropriate - a temporary hack until we have something
6586         better. Use spi_object_add
6587
6588 2001-11-22  Michael Meeks  <michael@ximian.com>
6589
6590         * cspi/Makefile.am: re organise, install the headers.
6591
6592         * cspi/*.h: add G_BEGIN/END_DECLS
6593
6594 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
6595
6596         * test/simple-at.c:
6597         Added non-preemptive keylistener for key events with no modifiers
6598         and shift-only modifier.
6599
6600         * libspi/keystrokelistener.c:
6601         Removed some verbose diagnostics printout.
6602
6603         * cspi/spi_registry.c:
6604         Fixed a bug that caused all key listeners to be registered as
6605         pre-emptive.
6606         
6607         * libspi/deviceeventcontroller.c:
6608         Fixed bug that caused XGrabKey (preemptive key grab) to be called
6609         for non-preemptive key masks.
6610
6611
6612 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
6613
6614         * docs/reference/idl/at-spi-idl-docs.sgml:
6615         * docs/reference/idl/at-spi-idl-sections.txt:
6616         * docs/reference/idl/at-spi-idl-overrides.txt:
6617         Added missing files.
6618
6619         * docs/reference/Makefile.am:
6620         removed idl from SUBDIRS until we can figure a way to get gtk-doc
6621         to scan the IDL files :-(
6622
6623         * docs/reference:
6624         * docs/cspi:
6625         * docs/idl:
6626         Added .cvsignore files.
6627         
6628 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
6629
6630         * libspi/deviceeventcontroller.c:
6631         * libspi/keystrokelistener.c:
6632         * cspi/spi_event.c:
6633         * cspi/spi_registry.c:
6634         Added filters for KeySets, KeyEventSeq, and event types to key
6635         event dispatching, so listeners should only receive those events
6636         that they requested :-)
6637
6638 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
6639
6640         * configure.in:
6641         * docs/Makefile.am:
6642         * docs/reference:
6643         * docs/reference:Makefile.am:
6644         * docs/reference/cspi:
6645         * docs/reference/cspi:Makefile.am:
6646         * docs/reference/cspi:tmpl:
6647         * docs/reference/cspi:tmpl:*.sgml:
6648         * docs/reference/idl:
6649         * docs/reference/idl:Makefile.am:
6650         * docs/reference/idl:at-spi-idl-sections.txt:
6651         * docs/reference/idl:at-spi-idl-docs.sgml:
6652         * docs/reference/idl:tmpl:
6653         * docs/reference/idl:tmpl:*.sgml:
6654
6655         Restructured docs directory to allow separate 'reference' docs
6656         section, and forked idl and cspi docs.  Added the sgml template
6657         files to CVS.  Added the first sections/structural sgml for the
6658         IDL docs.
6659
6660 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
6661
6662         * configure.in, libspi/Makefile.am: find libXtst.
6663
6664 2001-11-21  Michael Meeks  <michael@ximian.com>
6665
6666         * test/accessx-gui.c: s/spi_value/value/ - doh.
6667
6668         * libspi/base.[ch]: add.
6669
6670 2001-11-18  Bill Haneman <bill.haneman@sun.com>
6671
6672         * idl/Accessible.idl:
6673         * idl/Application.idl:
6674         * idl/Registry.idl:
6675         * idl/Action.idl:
6676         Started gtk-doc cleanup on IDL.
6677
6678         * libspi/deviceeventcontroller.c:
6679         Added and connected non-preemptive key notification from the
6680         toolkits (in addition to the pre-emptive support from XServer
6681         which we had before, but which causes 'focus flashing').  Filters
6682         are presently limited to key modifiers and global/non-global,
6683         KeySets are presently ignored, as are KeyEvent masks.
6684
6685         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6686         structs into the persistant structure rather than just storing
6687         pointers to things that might not persist across servant
6688         invocations.
6689
6690         The XGrabKey call now does async keygrabs, because synchronous
6691         ones were deadlocking with GDK_event code in a very nasty way.
6692
6693         Added boolean to internal method notify_keylisteners, to indicate
6694         whether the event came from the 'toolkit source' or the 'global
6695         (XServer) source' - this is used in the notification process to
6696         determine which listeners to send the event to.
6697
6698         deviceeventcontroller.c is now warning-free.
6699         
6700         * libspi/registry.c:
6701         Fixed regression in application de-registration.
6702         Also fixed some really brain-dead weirdness having to do with
6703         event dispatching - event structs are now duplicated before being
6704         re-marshalled in the dispatch to listeners.  This also fixes a
6705         Solaris build problem.
6706         
6707         
6708 2001-11-20  Michael Meeks  <michael@ximian.com>
6709
6710         * libspi/registry.c
6711         (impl_accessibility_registry_deregister_global_event_listener): 
6712         segv. protection.
6713
6714         * libspi/deviceeventcontroller.c
6715         (spi_device_event_controller_check_key_event): return
6716         FALSE on no virtual method.
6717
6718         * libspi/*..h: make includes work on a correctly pathed install.
6719
6720         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6721
6722         * libspi/application.h: kill unused ( and whacked out )
6723         gboolean *spi_application_set_id (AtkObject *app, long id);
6724
6725 2001-11-20  Michael Meeks  <michael@ximian.com>
6726
6727         * libspi/*.[ch]: further convert to bonobo's type func
6728         macros, remove redundnant casts etc.
6729
6730         * libspi/text.c s/accessibility_text/spi_text/g,
6731         re-order to de-cruft.
6732
6733         * libspi/hypertext.c: re-order to kill a huge slew
6734         of redundant forward decls.
6735
6736         * libspi/relation.c: ditto.
6737
6738         * libspi/image.c: ditto.
6739
6740         * */.cvsignore: update
6741         
6742 2001-11-20  Michael Meeks  <michael@ximian.com>
6743
6744         * libspi/deviceeventcontroller.c
6745         (_controller_register_with_devices): use g_getenv,
6746         kill stdlib.h include.
6747
6748         * libspi/keystrokelistener.c
6749         (spi_keystroke_listener_get_type): kill
6750         (spi_keystroke_listener_class_init),
6751         (spi_keystroke_listener_init): rename to this.
6752
6753         * libspi/text.c (impl_getAttributes): fix warning / bug.
6754
6755         * libspi/*.[ch]: more headers, includes and over commenting.
6756         
6757 2001-11-20  Michael Meeks  <michael@ximian.com>
6758
6759         * libspi/*.[ch]: fixup headers, includes and over commenting.
6760
6761         * libspi/image.c (impl__get_imageDescription): const
6762         correctness warning fix. remove redundant casting.
6763
6764         * libspi/table.c (impl_getRowDescription): ditto.
6765         (impl_getColumnDescription): ditto.
6766
6767         * libspi/libspi.h: add.
6768
6769 2001-11-19  Michael Meeks  <michael@ximian.com>
6770
6771         * libspi/editabletext.c (impl_setAttributes): fix warnings.
6772
6773         * libspi/component.c (accessibility_component_get_type): 
6774         rename to (spi_component_get_type): and macroify.
6775         (accessibility_component_init): rename to
6776         (spi_component_init): this
6777         (accessibility_component_class_init): rename to
6778         (spi_component_class_init): this
6779
6780         * libspi/action.c (spi_action_get_type): kill, use the macro.
6781
6782         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6783         to avoid prototype.
6784
6785         * libspi/application.c (spi_application_object_event_listener),
6786         (impl_accessibility_application_register_object_event_listener):
6787         warning fixes / const understanding updates.
6788
6789         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6790         warning fixes.
6791
6792 2001-11-18  Bill Haneman <bill.haneman@sun.com>
6793
6794         * libspi/spi_accessible.c: Added docs and C bindings for
6795         AccessibleStateSet. (No implementations yet).  Documentation
6796         coverage for C bindings now 100%. Made docs for event listeners
6797         more explicit.
6798         
6799         * idl/Registry.idl:
6800         Added methods 
6801             boolean notifyListenersSync (in DeviceEventListener listener,
6802                                      in DeviceEvent event);
6803
6804             oneway void notifyListenersAsync (in DeviceEventListener listener,
6805                                           in DeviceEvent event);
6806
6807         Added DeviceEventListener and DeviceEvent structs (may deprecate
6808         KeyStroke and KeystrokeListener in favor of this generic
6809         event/listener framework for devices).
6810
6811         * libspi/deviceeventcontroller.c:
6812
6813         Changed some key listener code to take masks, etc., and paved the
6814         way for integration of toolkit/non-preemptive key events. Changed
6815         signatures of some internal methods.
6816
6817         * at-bridge/bridge.c:
6818         Fixed regression connecting to interface signals, apparently
6819         caused by GTK+ changes.
6820
6821         Added an internal bridge_state_listener to deal with
6822         property-change:accessible-state signals.
6823
6824         Changed the key_listeners GList to store structs (including masks,
6825         etc.) instead of just CORBA_Objects (required for full
6826         implementation of key listener API).
6827
6828         Connected the bridge to all currently supported Atk signals.
6829         Events now supported: 
6830             object:property-change
6831             object:property-change:accessible-name
6832             object:property-change:accessible-state
6833             object:property-change:accessible-description
6834             object:property-change:accessible-parent
6835             object:property-change:accessible-value
6836             object:property-change:accessible-role
6837             object:property-change:accessible-table-caption
6838             object:property-change:accessible-table-column-description
6839             object:property-change:accessible-table-column-header
6840             object:property-change:accessible-table-row-description
6841             object:property-change:accessible-table-row-header
6842             object:property-change:accessible-table-summary
6843             object:children-changed
6844             object:visible-data-changed
6845             object:selection-changed
6846             object:text-selection-changed
6847             object:text-changed
6848             object:text-caret-moved
6849             object:row-inserted
6850             object:row-reordered
6851             object:row-deleted
6852             object:column-inserted
6853             object:column-reordered
6854             object:column-deleted
6855             object:model-changed        
6856
6857 2001-11-16  Bill Haneman <bill.haneman@sun.com>
6858
6859         * libspi/hyperlink.c,h:
6860         Fixed some broken stuff in hyperlink.
6861         
6862         * libspi/relation.h:
6863         * libspi/relation.c:
6864         * cspi/spi_accessible.c:
6865         Initial implementations of AccessibleRelation methods, and docs.
6866
6867         * libspi/accessible.c:
6868         Fixed a bug that caused SEGV  if an accessible
6869         object's description is NULL, and a client
6870         requests it.  An empty string is now returned.
6871
6872         * cspi/spi_editabletext.c:
6873         * cspi/spi_hypertext.c:
6874         * cspi/spi_image.c:
6875         * cspi/spi_hyperlink.c:
6876         * cspi/spi_table.c:
6877         Added docs.  
6878
6879         Doc coverage now 95%.
6880
6881 2001-11-16  Bill Haneman <bill.haneman@sun.com>
6882
6883         One last namespacing revision:
6884         * libspi/accessibleeventlistener.[ch]:
6885         Renamed SpiAccessibleEventListener to SpiEventListener,
6886         (no need for two namespaces ;-)
6887
6888         And lots of documentation fixes:
6889
6890         * docs/at-spi-docs.sgml:
6891         Fixed 'underscore vs. hyphen' bug that was preventing
6892         the gtk-doc API docs from being automatically generated.
6893
6894         * cspi/spi-impl.h
6895         * cspi/spi-listener.h
6896         * cspi/spi.h
6897         * cspi/spi_accessible.c
6898         * cspi/spi_action.c
6899         * cspi/spi_application.c
6900         * cspi/spi_component.c
6901         * cspi/spi_editabletext.c
6902         * cspi/spi_event.c
6903         * cspi/spi_hypertext.c
6904         * cspi/spi_main.c
6905         * cspi/spi_registry.c
6906         * cspi/spi_selection.c
6907         * cspi/spi_text.c
6908         * cspi/spi_value.c
6909         * docs/Makefile.am
6910         * docs/at-spi-docs.sgml
6911         * docs/at-spi-sections.txt
6912         
6913         Added and fixed up gtk-doc documentation in cspi.
6914         
6915         Interfaces now (fully) documented (subject to revision and enhancement):
6916         SPI_main
6917         Event Listener Support
6918         Registry API
6919         AccessibleApplication
6920         Accessible
6921         AccessibleAction
6922         AccessibleComponent
6923         AccessibleEditableText
6924         AccessibleSelection
6925         AccessibleText
6926         AccessibleValue
6927
6928         still pending:
6929         AccessibleStateSet
6930         AccessibleRelationSet
6931         AccessibleImage
6932         AccessibleTable
6933         AccessibleHyperlink
6934         
6935 2001-11-14  Bill Haneman <bill.haneman@sun.com>
6936
6937         * at-bridge/bridge.c:
6938         Initial work for toolkit-level key snooper connection by bridge.
6939
6940         * cspi/spi-impl.h:
6941         * cspi/spi_*.h:
6942         * cspi/spi_*.c:
6943         New typedefs and fixes to support new namespacing, and cleaner
6944         separation of cspi bindings from libspi bonobo implementation.  
6945         Removed inconsistent and extraneous Spi* namespace prefix that
6946         had crept into cspi headers.
6947         Lots of comment fixes that sed had missed.
6948
6949         * cspi/spi-roletypes.h:
6950         * cspi/spi-statetypes.h:
6951         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6952         to AccessibleRoleType.
6953         
6954         * libspi/accessibleeventlistener.h:
6955         Fixed minor namespacing weirdness.
6956
6957         * libspi/deviceeventcontroller.c:
6958         Reordered some internal API for device listeners.
6959         Changed the key registry final boolean to 'is_system_global'
6960         rather than 'is_synchronous', which is more descriptive of its 
6961         actual meaning.
6962         Added spi_device_event_controller_new().
6963         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
6964          
6965         * libspi/keystrokelistener.[ch]:
6966         Namespaced KeystrokeListener to SpiKeystrokeListener.
6967         Changed uses of keymasks to use SPI_ prefix, and did other
6968         knock-on fixups.
6969
6970         * libspi/keymasks.h:
6971         Namespaced keymask constants with SPI_ prefix.
6972
6973         * libspi/registry.c:
6974         Some warning fixes, and knock-on fixes from namespace changes.
6975
6976         * test/Makefile.am:
6977         Added rules for accessx-gui test program.
6978
6979         * test/accessx-gui.c:
6980         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6981         utility.  It doesn't actually use at-spi, but it's still cool and
6982         useful ;-)
6983
6984         * test/keysynth-demo.c:
6985         * test/simple-at.c:
6986         * test/at.c:
6987         * test/app.c:
6988         Fixes so that these test clients work properly with the namespaced
6989         libraries. (Incompletely tested for technical reasons, fixes may follow)
6990         
6991
6992 2001-11-13  Michael Meeks  <michael@ximian.com>
6993
6994         * libspi/application.c
6995         (impl_accessibility_application_get_version),
6996         (impl_accessibility_application_get_toolkit_name):
6997         warning fixes.
6998         (impl_accessibility_application_set_id),
6999         (impl_accessibility_application_get_id): remove
7000         redundant casting code.
7001
7002         * libspi/action.c (impl_getDescription): fix warnings.
7003
7004         * libspi/accessible.c
7005         (impl_accessibility_accessible_get_parent),
7006         (impl_accessibility_accessible_get_child_at_index),
7007         (impl_accessibility_accessible_get_state),
7008         (impl_accessibility_accessible_get_relation_set):
7009         warning fixes & include action.h
7010
7011 2001-11-13  Michael Meeks  <michael@ximian.com>
7012
7013         * *.[ch] fix bits I screwed up:
7014
7015                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7016                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7017         
7018 2001-11-13  Michael Meeks  <michael@ximian.com>
7019
7020         * *.[ch] Namespace libspi into spi_ and Spi.
7021
7022 2001-13-11  Michael Meeks  <michael@ximian.com>
7023
7024         * Makefile.am: dist & install at-spi-1.0.pc
7025
7026         * libspi/Makefile.am: install into at-spi-1.0
7027
7028         * idl/Makefile.am (idldir): install into at-spi-1.0
7029
7030         * at-spi-1.0.pc.in: add.
7031
7032         * configure.in: build it.
7033
7034 2001-11-12  Bill Haneman <bill.haneman@sun.com>
7035
7036         * test/keysynth-demo.c:
7037         Use a 'realize' signal-handler to set the WM properties for
7038         the virtual keyboard, rather than making it a "POPUP" type
7039         override-redirect window (thanks to anders carlsson for that
7040         tip!)
7041
7042 2001-11-11  Bill Haneman <bill.haneman@sun.com>
7043
7044         * test/Makefile.am:
7045         * test/keysynth-demo.c:
7046         Added new test of key synthesis, which creates a simple
7047         (mouse-operated) onscreen keyboard.  It inserts key events into
7048         the currently-focused window, thus it does not grab keyboard focus
7049         itself.
7050
7051         * cspi/spi_registry.c:
7052         Added C binding for AT-SPI generateKeyEvent.
7053
7054         * libspi/deviceeventcontroller.c:
7055         Added call to XFilterEvent so that key listener works with XIM (we
7056         hope).  Added event_synth_type to generateKeyEvent, so that we can
7057         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7058         synthesize a press/release pair for KeySyms.    
7059         
7060 2001-11-09  Bill Haneman <bill.haneman@sun.com>
7061
7062         * libspi/Makefile.am: 
7063         * registryd/Makefile.am:
7064         (temporary) hack to include libXtst in libspi and registryd.
7065         (Needed for keystroke synthesis, see below).
7066
7067         * idl/Registry.idl:
7068         Improved API for registerKeystrokeListener, in accordance with
7069         discussions with Gnopernicus team and X server research.
7070
7071         * libspi/registry.c:
7072         * libspi/deviceeventcontroller.c:
7073         * libspi/accessible.c:
7074         * libspi/keystrokelistener.c:
7075         Changes and fixes to support keylisteners for potentially
7076         consumed key events (that is, 'passive grabs').
7077         Added implementation for generateKeyEvent() [untested].
7078
7079         * cspi/spi.h:
7080         Changes to registerKeystrokeListener() API, as above.
7081         Added deregisterGlobalEventListenerAll(), and 
7082         deregisterKeystrokeListener(), which are needed for clean exit of
7083         clients.
7084         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7085         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7086         
7087         * cspi/spi_registry.c:
7088         Added implementations of function prototypes mentioned above.
7089         
7090         * registryd/registryd.c:
7091         Added the key listener event source as a g_timeout(), to allow
7092         receipt of key events that are not caught by GDK (since GDK
7093         doesn't support passive keygrabs, this was necessary).
7094
7095         * test/simple-at.c:
7096         Changed to attach a keylistener to 'Alt' keys, and
7097         respond to the following keycommands: Alt-M (toggle magnifier);
7098         Alt-F (toggle speech); Alt-Q (quit).
7099         Added an exit routine to deregister the listeners, and a key
7100         listener that prints some key info to the console when a key
7101         matches the listener mask (and is thus received by the listener).
7102         
7103         * util/idl/Magnifier.idl:
7104         Changes to magnifier API to support multiple zoom regions,
7105         non-uniform scaling in x and y, markDirty, and a host of other
7106         features that would be useful to magnification.
7107
7108         * util/mag_image.h:
7109         * util/mag_client.c:
7110         * util/mag_client.h:
7111         * util/mag_control.c:
7112         * util/magnifier.c:
7113         Source code changes to support the above IDL changes.
7114         
7115         * util/mag_image.c:
7116         As above, and also changes to use a (slower) generic conversion
7117         path for colormap conversions, since the fast RGB conversions have been
7118         reported to fail for 16-bit displays.
7119
7120 2001-10-26  Michael Meeks  <michael@ximian.com>
7121
7122         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7123
7124 2001-10-26  Laszlo Peter <laca@ireland.sun.com>
7125
7126         * at-bridge/Makefile.am: fix LDFLAGS.
7127
7128 2001-10-09  Bill Haneman <bill.haneman@sun.com>
7129
7130         * at-bridge/bridge.c:
7131         Re-worked listeners for toolkit events, now we have signal
7132         and property listeners. Added a private method
7133         register_atk_event_listeners(), which registers with the
7134         various atk and gtk signals we need to monitor in order to emit
7135         our at-spi events.
7136         Added emission hook for AtkObject:property-change events, to
7137         support the 'property listeners'.
7138         Fixed some alloc()s of Accessibility_Event structs to use CORBA
7139         allocation.
7140
7141         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7142         which emit warnings and exit, respectively, if CORBA errors occur
7143         during remote calls, and we now use these methods to check most of
7144         our CORBA calls in the C bindings.
7145
7146         * cspi/spi_accessible.c:
7147         Changed AccessibleSelection_refSelectedChild() to
7148         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7149         now increment refcounts.
7150
7151         * cspi/spi_component.c:
7152         Fixed some long pointer casts (dangerous!) to pass pointers to
7153         CORBA_longs of the proper type to the CORBA stubs, and copy the
7154         data into the longs that were passed into the C bindings code.
7155         
7156         * at-bridge/bridge.c:
7157         
7158         * libspi/accessible.c:
7159         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7160         hyperlinks, AtkHyperlink is an object type.     
7161
7162         * libspi/application.c:
7163         Added various conversions to and from "generic" event types and
7164         atk-specific types; this is really part of the 'bridge'
7165         implementation but is valid for all AtkObject-based accessibility 
7166         implementations.
7167
7168         * libspi/editabletext.c:
7169         Fixed nasty bug wherein editable text's finalize method was
7170         unref'ing tha AtkObject reference that the text parent class was
7171         about to unref _again_.  There was also a nasty inheritance bug
7172         that meant that the AccessibleEditableText class was corrupt.
7173
7174         * libspi/selection.c:
7175         Provided implementations for some selection API that was broken.
7176         
7177         * idl/Application.idl:
7178         Added registerObjectEventListener () method.
7179
7180         * THROUGHOUT:
7181         Fixed a number of return values that were Bonobo_Unknowns from
7182         bonobo_object_corba_objref(), which I
7183         forgot to dup before returning.  Changed instances of 
7184         bonobo_object_corba_objref (bonobo_object(o)) to
7185         BONOBO_OBJREF(o), for concision and clarity.
7186         
7187 2001-10-13  Louise Miller <louise.miller@sun.com>
7188
7189         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7190         idl/Event.idl, idl/Registry.idl
7191         Changed these files to include Bonobo_Unknown.idl instead
7192         of Bonobo.idl
7193
7194 2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
7195
7196         * libspi/component.c libspi/component.h:
7197                 Fixed typo.  Added assertions for object checks in 
7198         AccessibleComponent code.
7199
7200 2001-10-09  Bill Haneman <bill.haneman@sun.com>
7201
7202         * idl/Accessible.idl:
7203                 Added 'isEqual (Accessible *object)' 
7204         method for Accessible. (Not Yet Implemented).
7205         
7206         * idl/Registry.idl:
7207                 Changed signature of registerKeystrokeListener() to
7208         take a KeySet and KeyEventSeq so that specific keys and event
7209         types could be requested for monitoring, and added a flag
7210         is_synchronous so that either synchronous or asynchronous
7211         notification could be requested.  (However this is not all
7212         implemented yet). This also meant adding two new typedefs,
7213         KeyEventSeq and KeySet.
7214
7215         * idl/Relation.idl: 
7216                 Added two new relations, RELATION_TOOLTIP_FOR and
7217         RELATION_LEAFNODE_OF.
7218
7219         * idl/State.idl:
7220                 Added new state, STATE_HAS_TOOLTIP.
7221         
7222         * libspi/text.c, editabletext.c:
7223                 Added new assertions to all casts of bonobo-objects from
7224         CORBA servants, to prevent Text API calls on non-text objects.
7225                 Changed suspect casts of int-pointer types, so that we
7226         always send a valid CORBA_long pointer to the CORBA APIs that use
7227         in/out long parameters.  We then have to copy from the CORBA_long
7228         into the regular long or int for return to the C bindings, or
7229         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7230         
7231         * cspi/spi_text.c:
7232         * libspi/deviceeventcontroller.c:
7233                 Cleaned these sources up.
7234         * idl/Text.idl:
7235                 Changed return type for getCharacterAtOffset to
7236         CORBA_unsigned_long, to allow for 32-bit characters.
7237         
7238                 
7239 2001-10-08  Bill Haneman <bill.haneman@sun.com>
7240
7241         * util/Makefile.am:
7242         * idl/Makefile.am:
7243                 Fixed 'make dist' so that distro compiles...
7244         * libspi/keymasks.h:
7245                 new file.
7246         * cspi/spi-listener.c:
7247                 KeystrokeListenerCB now returns a boolean.
7248         * cspi/spi.h:
7249                 Added KeyEventType struct, and KeyStroke.
7250                 Also added createKeystrokeListener(),
7251         KeystrokeListener_addCallback(),
7252         KeystrokeListener_removeCallback(), and added a keymask to
7253         registerKeystrokeListener().
7254         * cspi/spi_accessible.c:
7255                 Changed numerous return types for interfaces from
7256         AccessibleComponent to Accessible<InterfaceName>; this was
7257         probably a cut-and-paste error.
7258         * cspi/spi_event.c:
7259                 Implementations of new KeystrokeListener api (from spi.h,
7260         above).
7261         * idl/Registry.idl:
7262                 Changes to key modifier mapping.
7263                 Created ControllerEventMask struct.
7264                 Made DeviceEventController derive from Bonobo::Unknown.
7265         * idl/Text.idl:
7266                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7267         * libspi/deviceeventcontroller.c:
7268                 Added a number of new internal (private) methods.
7269         * libspi/editabletext.c:
7270         * libspi/editabletext.h:
7271                 Fixed a number of bugs related to the fact that
7272         editabletext inherits from text.  Fixed the EditableText struct,
7273         the init() call, and use correct casts when calling Text methods
7274         from an EditableText object.  Removed (duplicate) atko from the
7275         EditableText structure, we use the one in the parent Text
7276         structure via the casts mentioned above.
7277         * libspi/keystrokelistener.[ch]:
7278         * libspi/registry.c:
7279                 Changes in support of keyboard handling (above).
7280         
7281         Keyboard handling, though partly functional, is still not
7282         recommended for at-spi client use as there is considerable 
7283         work yet to be done.
7284
7285         * libspi/text.c:
7286                 Changed some places where pointers to various int types
7287         are cast to be pointers to CORBA_long types and vice-versa:
7288         pointer casting is not safe so we pass pointers of the correct
7289         types and then cast the result before putting it into the target
7290         pointers.
7291
7292         * libspi/text.h: minor typos corrected.
7293         * test/simple-at.c: 
7294                 We now speak not only the name of a Text element, but the
7295         first sentence of its content, when it receives focus.
7296                 I also changed the text compression to 75% from 50%.
7297         * util/Accessibility_Util.server.in:
7298                 Changed the default magnifier type to be a 3x vertical
7299         splitscreen magnifier (was previously a 2x horizontal one).
7300
7301 2001-10-03  Bill Haneman <bill.haneman@sun.com>
7302
7303         * libspi/keystrokelistener.h:
7304         * libspi/keystrokelistener.c:
7305                 Initial functional implementations of KeystrokeListener.
7306         * idl/Registry.idl:
7307         
7308 2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
7309
7310         Fixed string handling for NULL strings in libspi.
7311         Added spi_freeString to free strings returned by C bindings.
7312
7313 2001-09-30  Bill Haneman <bill.haneman@sun.com>
7314
7315         * libspi/keystrokelistener.h:
7316         * libspi/keystrokelistener.c:
7317                 Began (no-op) implementations of KeystrokeListener
7318                         (see below).
7319         * libspi/deviceeventcontroller.c:
7320         * libspi/deviceeventcontroller.h:
7321                 Began creating implementations of DeviceEventController,
7322                         to handle keystroke and mouse event listening and
7323                         synthesis.
7324         * libspi/accessible.c:
7325                 Stubbed-in the implementations for
7326                         Accessibility_Accessible_getState and
7327                         Accessibility_Accessible_getRelationSet.
7328         * libspi/registry.c:
7329                 Improved de-registration process and fixed some bugs, 
7330                         deregistration now works correctly.
7331         * libspi/desktop.c:
7332                 Added initialization of applications list (to NULL).
7333         * util/magnifier.c:
7334                 Reduced speech compression from 0.5 to 0.7, for demo.
7335                 Changed call to gdk_window_set_decorations()
7336                         to gtk_window_set_decorated().
7337         * at-bridge/bridge.c:
7338                 Bridge now deregisters when app exits, via
7339                         registration of a cleanup function
7340                         with the g_atexit() call.
7341                         Required making 'app' static, renamed 'this_app'.
7342                 Fixed broken use of bonobo_init, passing argv wrongly.
7343
7344 2001-09-27  Bill Haneman <bill.haneman@sun.com>
7345
7346         * util:
7347         * util/Makefile.am: 
7348                 Created a new directory for 
7349                         accessibility-related utilities, primarily for
7350                         testing and demo purposes, but with possible
7351                         end-user utility.
7352         
7353         * util/magnifier.c:
7354         * util/magnifier.h:
7355         * util/mag_image.c:
7356         * util/mag_image.h:
7357                 Onscreen magnifier utility that
7358                         is implemented as a bonobo service.
7359         
7360         * util/mag_client.c:
7361         * util/mag_client.h:
7362                 Client-side support (simple C bindings) 
7363                         for Magnification service
7364         
7365         * util/mag_control.c:
7366                 Client program example for 
7367                         Magnification service
7368         
7369         * util/Accessibility_Magnifier.server.in:
7370                 Bonobo-activation file for the 
7371                         Magnification service.
7372         
7373         * util/idl:
7374         * util/idl/Magnifier.idl:
7375                 IDL defining the bonobo Magnification
7376                         service interface.
7377
7378         * test/simple-at.c:
7379                 Modifications to use the bonobo-activated magnifier
7380                         above, in place of trying to connect to an existing
7381                         magnifier that uses socket-listening IPC.
7382
7383                 If env variable MAGNIFIER is set, a magnifier service
7384                         will be started if one does not exist.
7385         
7386 2001-09-25  Bill Haneman <bill.haneman@sun.com>
7387
7388         * at-bridge/bridge.c:
7389                 applied patch from Marc to build and run 
7390                 against new glib and gtk+ (seemed like a change 
7391                 to bonobo_init signature was made ?)
7392         * test/simple-at.c:
7393                 made festival-server support turned off by default.
7394                 Added support for a simple magnifier (off by default)
7395                 which will be added to a 'util' directory later.
7396         * at-bridge/Makefile.am:
7397                 Changed "application.h" header from a 'source'
7398                 to a 'dependency' of libat-bridge.
7399
7400 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
7401
7402         * cspi/Makefile.am:
7403                 Added spi-util.c.
7404
7405         * cspi/spi-util.c:
7406                 Fixed typo
7407
7408         * cspi/spi.c:
7409                 Added interface implementation c files to list of
7410                         includes so they are included in libcspi.
7411
7412         * cspi/spi.h:
7413                 Changed prototype of AccessibleAction_doAction to return a
7414                         boolean.
7415                 Changed prototype of AccessibleTable_getCaption to
7416                         return an Accessible.
7417                 Changed prototype of AccessibleTable_getSelectedRows
7418                         and AccessibleTable_getSelectedColumns to
7419                         return a long (returns the number of selected rows
7420                         or columns respectively).
7421                 Changed name of AccessibleText_refRunAttributes to
7422                         AccessibleText_getAttributes.
7423                 Changed prototype of AccessibleText_getCharacterExtents to
7424                         return a void rather than a boolean. 
7425                 Added support for a AccessibleCoordType parameter
7426                         specifying what type of coordinates are desired.
7427                 Added an AccessibleCordType parameter to
7428                         AccessibleText_getPointAtOffset.
7429
7430         * cspi/spi_accessible.c:
7431                 Added code to return the outstanding interfaces from
7432                         Accessible_queryInterface.
7433
7434         * cspi/spi_action.c:
7435                 Fixed typos.
7436                 Corrected call to getNActions to call the c binding
7437                         for an attribute.
7438
7439         * cspi/spi_editabletext.c:
7440                 Fixed typos.
7441                 Changed name from setRunAttributes to setAttributes.
7442
7443         * cspi/spi_hyperlink.c:
7444                 Fixed typos.
7445                 Changed call to getNAnchors to correctly call the c
7446                         binding for an attribute.
7447
7448         * cspi/spi_hypertext.c:
7449                 Fixed typos.
7450                 Changed getImageDescription to correctly call the
7451                         binding for an attribute.
7452
7453         * cspi/spi_selection.c:
7454                 Changed getNSelectedChildren to correctly call the c
7455                         binding for the attribute.
7456                 Changed refSelectedChild to getSelectedChild.
7457
7458         * cspi/spi_table.c:
7459                 Fixed typos.
7460                 Changed getCaption to return an Accessible.
7461                 Fixed calls which retrieve attributes.
7462                 Changed refAt to getAccessibleAt.
7463                 Changed getNSelectedRows and getNSelectedColumns to
7464                         return longs.
7465
7466         * cspi/spi_text.c:
7467                 Changed getCharacterExtents and getPointAtOffset to accept an
7468                         AccessibleCoordType.
7469                 Fixed typos.
7470                 Changed calls which retrieve attributes.
7471                 Changed refRunAttributes to getAttributes.
7472
7473         * cspi/spi_value.c:
7474                 Fixed typos.
7475
7476         * idl/Hyperlink.idl:
7477                 Changed n_anchors attribute to nAnchors to keep naming
7478                         convention consistent.
7479
7480         * idl/Table.idl:
7481                 Made Table inherit from Bonobo::Unknown.
7482                 Added nSelectedColumns and nSelectedRows attributes.
7483
7484         * idl/Value.idl:
7485                 Made Value inherit from Bonobo::Unknown.
7486
7487         * libspi/hyperlink.c:
7488                 Change for nAnchors attributte name change.
7489
7490 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
7491         * cspi/Makefile.am:
7492                 Added spi-util.c.
7493
7494         * cspi/spi-util.c:
7495                 Fixed typo
7496
7497         * cspi/spi.c:
7498                 Added interface implementation c files to list of
7499                         includes so they are included in libcspi.
7500
7501         * cspi/spi.h:
7502                 Changed prototype of AccessibleAction_doAction to return a
7503                         boolean.
7504                 Changed prototype of AccessibleTable_getCaption to
7505                         return an Accessible.
7506                 Changed prototype of AccessibleTable_getSelectedRows
7507                         and AccessibleTable_getSelectedColumns to
7508                         return a long (returns the number of selected rows
7509                         or columns respectively).
7510                 Changed name of AccessibleText_refRunAttributes to
7511                         AccessibleText_getAttributes.
7512                 Changed prototype of AccessibleText_getCharacterExtents to
7513                         return a void rather than a boolean. 
7514                 Added support for a AccessibleCoordType parameter
7515                         specifying what type of coordinates are desired.
7516                 Added an AccessibleCordType parameter to
7517                         AccessibleText_getPointAtOffset.
7518
7519         * cspi/spi_accessible.c:
7520                 Added code to return the outstanding interfaces from
7521                         Accessible_queryInterface.
7522
7523         * cspi/spi_action.c:
7524                 Fixed typos.
7525                 Corrected call to getNActions to call the c binding
7526                         for an attribute.
7527
7528         * cspi/spi_editabletext.c:
7529                 Fixed typos.
7530                 Changed name from setRunAttributes to setAttributes.
7531
7532         * cspi/spi_hyperlink.c:
7533                 Fixed typos.
7534                 Changed call to getNAnchors to correctly call the c
7535                         binding for an attribute.
7536
7537         * cspi/spi_hypertext.c:
7538                 Fixed typos.
7539                 Changed getImageDescription to correctly call the
7540                         binding for an attribute.
7541
7542         * cspi/spi_selection.c:
7543                 Changed getNSelectedChildren to correctly call the c
7544                         binding for the attribute.
7545                 Changed refSelectedChild to getSelectedChild.
7546
7547         * cspi/spi_table.c:
7548                 Fixed typos.
7549                 Changed getCaption to return an Accessible.
7550                 Fixed calls which retrieve attributes.
7551                 Changed refAt to getAccessibleAt.
7552                 Changed getNSelectedRows and getNSelectedColumns to
7553                         return longs.
7554
7555         * cspi/spi_text.c:
7556                 Changed getCharacterExtents and getPointAtOffset to accept an
7557                         AccessibleCoordType.
7558                 Fixed typos.
7559                 Changed calls which retrieve attributes.
7560                 Changed refRunAttributes to getAttributes.
7561
7562         * cspi/spi_value.c:
7563                 Fixed typos.
7564
7565         * idl/Hyperlink.idl:
7566                 Changed n_anchors attribute to nAnchors to keep naming
7567                         convention consistent.
7568
7569         * idl/Table.idl:
7570                 Made Table inherit from Bonobo::Unknown.
7571                 Added nSelectedColumns and nSelectedRows attributes.
7572
7573         * idl/Value.idl:
7574                 Made Value inherit from Bonobo::Unknown.
7575
7576         * libspi/hyperlink.c:
7577                 Change for nAnchors attributte name change.
7578
7579
7580 2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
7581
7582         implementations-- made server implementations own AtkObject pointers
7583         rather than their respective AtkInterrface pointers to fix
7584         refcounting.  AtkHyperlink is still broken.
7585
7586 2001-09-04  Bill Haneman <bill.haneman@sun.com>
7587         * cspi/spi_accessible.c:
7588                 Added method Accessible_Role_getName(),
7589                         and requisite string array (role_names).
7590                 Added conversion string_from_corba_strin() call
7591                         to Accessible_getName and _getDescription.
7592         * libspi/accessible.c:
7593                 Added implementation for Accessible_getRole()
7594         * test/simple-at.c:
7595                 Added festival support, used if environment variable
7596                         FESTIVAL is set.
7597         
7598 2001-09-04  Bill Haneman <bill.haneman@sun.com>
7599
7600         * at-bridge/bridge.c:
7601             Now allocate Accessibility_Event using
7602             Accessibility_Event__alloc() instead of g_new0().
7603         * libspi/accessibleeventlistener.c:
7604             Initialize AccessibleEventListener->callbacks to NULL.
7605             Fixed accessible__event_listener_init() param, changed to
7606             "AccessibleEventListener *" type.
7607             Changed a bonobo_object_release_unref() call to
7608             Accessibility_Accessible_unref().
7609         * libspi/listener.c:
7610             Changed Bonobo_Unknown_unref to (equivalent) 
7611             Accessibility_Accessible_unref.
7612         * libspi/registry.c:
7613             Changed bonobo_object_release_unref to 
7614             Accessibility_Accessible_unref.
7615         
7616 2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
7617         
7618         * Added files:
7619             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7620             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7621             spi-util.c spi-util.h
7622             Implementations for C bindings to remaining accessibility 
7623             interfaces.
7624
7625 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7626         
7627         * idl/Action.idl:
7628             changed return value of Action from void to boolean to 
7629             bring in line with ATK.
7630
7631         * idl/Text.idl:
7632             Changed getText funcions to return "out" start and end offsets.
7633             Changed getAttributes to take and offset and return the start 
7634             and end offset of the attribute run.
7635             Changed getOffsetAtPoint and getCharacterExtents to take an 
7636              enum describing whether coordinates are window or screen.
7637
7638         * Added files:
7639             libspi/action.c libspi/action.h libspi/editabletext.c 
7640             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7641             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
7642             libspi/image.h libspi/selection.c libspi/selection.h
7643             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
7644             libspi/value.c libspi/value.h
7645             Added server implementations for outstanding ATK interfaces 
7646             not yet implemented.
7647  
7648 2001-09-04  Bill Haneman <bill.haneman@sun.com>
7649
7650         * idl/Action.idl:
7651                 Added (missing) getName() method. 
7652                 Made nActions an attribute.
7653         * idl/EditableText.idl:
7654                 Changed order of params in setAttributes.
7655         * idl/Hyperlink.idl:
7656                 Removed getAnchor, added getURI.
7657         * idl/Image.idl:
7658                 Changed attributes to methods, for efficiency
7659                 (so that getting extents can be done in one call)
7660         * idl/Selection.idl:
7661                 Changed nSelectedChildren to attribute, and re-indented.
7662         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
7663                 to attributes.
7664         * idl/Text.idl: reformatted to match our coding style.
7665                 (temporarily?) removed getRowColumnAtOffset().
7666                 Changed text selection API to support multi-select and
7667                 non-contiguous selections, as in ATK.
7668         * idl/Value.idl: changed some methods to attributes.
7669
7670 2001-08-24  Mark McLoughlin <mark@skynet.ie>
7671
7672         * libspi/listener.c(impl_notify_event):
7673         BonoboUnkown_unref the source instead
7674         of bonobo_object_release_unref - the ORB
7675         handles the releasing.
7676
7677         * configure.in: require ORBit-2.3.94 for
7678         this behaviour.
7679
7680 2001-08-21  Bill Haneman <bill.haneman@sun.com>
7681
7682         Tagged CVS repository 'EA_1_0'.
7683         * README.EARLY_ACCESS:
7684         Alphabetized acknowledgements list, and
7685         added someone.
7686         Listed some known dependencies of at-spi.
7687
7688 2001-08-20  Bill Haneman <bill.haneman@sun.com>
7689
7690         * docs/at-spi-docs.sgml:
7691         * docs/at-spi-sections.txt:
7692         * docs/at-spi-overrides.txt: (Added zero-length file)
7693         Documentation improvements - gtk-doc should build
7694         docs for all implemented C bindings now.
7695         * cspi/Makefile.am:
7696         * cspi/spi_main.c:
7697         * cspi/spi.c: (New file)
7698         * cspi/spi_event.c: (New file)
7699         * cspi/spi_registry.c: (New file)
7700         * cspi/spi_accessible.c: (New file)
7701         * cspi/spi_application.c: (New file)
7702         * cspi/spi_component.c: (New file)
7703         Split spi_main.c into six parts, and included them from
7704         "spi.c".  This is a bit of a hack, probably temporary,
7705         but required by gtk-doc, apparently.
7706         
7707 2001-08-20  Bill Haneman <bill.haneman@sun.com>
7708
7709         * docs/Makefile.am:
7710         * docs/at-spi-docs.sgml:
7711         * docs/at-spi-sections.txt:
7712         * configure.in:
7713         Initial checkins/modifications for gtk-doc generation.
7714         * cspi/spi.h:
7715         * cspi/spi.c:
7716         Added (missing) interface query methods to Accessible's C binding.
7717         * cspi/spi-impl.h:
7718         Added GenericInterface type definition.
7719         * test/simple-at.c:
7720         Added query for AccessibleComponent interface to focus event handler.
7721         Added printout of bounding box for focussed component.
7722         * libspi/component.c:
7723         Added partial implementation for AccessibleComponent to C binding.
7724         * idl/Application.idl:
7725         * libspi/registry.c:
7726         * libspi/listener.c:
7727         * libspi/application.c:
7728         * libspi/application.h:
7729         Changed "ID" attribute type from string to long.
7730
7731 2001-08-19  Bill Haneman <bill.haneman@sun.com>
7732
7733         * cspi/spi.h:
7734         * cspi/spi.c:
7735         Made method naming consistent: methods taking object args
7736         start with uppercase, other methods (except those using
7737         acronyms) start with lowercase.  Underscores delimit between
7738         object names and method names:
7739         SPI_init() - uppercase since it starts with an acronym.
7740         getDesktopCount () - lowercase start since no object param0.
7741         Accessible_getName() - uppercase object type name, studlyCaps method
7742                                name.
7743
7744         * cspi/spi.h:
7745         Added gtk-doc documentation for all currently implemented
7746         methods in the C bindings API.
7747
7748 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7749
7750         * Makefile.am : changed build order to build test last.
7751         * cspi/spi.h :
7752         * cspi/spi_main.c :
7753         Changed "createEventListener" to "CreateEventListener".
7754         * libspi/accessibleeventlistener.c :
7755         Bugfix for addition of callbacks.
7756         * test/Makefile.am :
7757         * test/simple-at.c :
7758         Added new test that uses the C bindings API.
7759         * idl/Event.idl :
7760         * libspi/listener.c :
7761         * libspi/registry.c :
7762         * libspi/accessibleeventlistener.c :
7763         * at-bridge/bridge.c :
7764         Renamed member "target" of Accessibility_Event to "source",
7765         which is more descriptive.
7766         
7767
7768 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7769
7770         * Makefile.am: 
7771         * configure.in :
7772         * cspi/Makefile.am :
7773         Added makefile support for at-spi/cspi directory.
7774         * cspi/spi.h : 
7775         * cspi/spi-impl.h :
7776         * cspi/spi-listener.h : (NEW FILE)
7777         Added support for/use of spi-listener.h.
7778         * cspi/spi_main.c :
7779         C bindings now build successfully, with no warnings.
7780         * libspi/accessibleeventlistener.h : (NEW FILE)
7781         * libspi/accessibleeventlistener.c : (NEW FILE)
7782         * libspi/Makefile.am :
7783         Added new object type "AccessibleEventListener"
7784         which inherits from Listener, and allows attachment
7785         of in-process callbacks (so that a client with a listening
7786         object instance can add functionality to the local 
7787         implementation, dynamically).
7788
7789 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7790
7791         * libspi/accessible.c: 
7792         Add implementation for get_index_in_parent().
7793         * cspi/spi.h : 
7794         Added #include of "spi-roletypes.h", and
7795         added enumerated type AccessibleCoordType.
7796         Added definition for KeystrokeListener (function type).
7797
7798         ADDED FILES:
7799         * cspi/spi-statetypes.h :
7800         * cspi/spi-roletypes.h :
7801         * cspi/spi-impl.h :
7802         Added these headers, used by spi.h.
7803         * cspi/spi_main.c : 
7804         Added code (NOTE: not yet built by make).
7805
7806 2001-08-18  Mark McLoughlin <mark@skynet.ie>
7807
7808         * libspi/Makefile.am: generate imodule
7809         at the same time as other idl compiler 
7810         generated files. 
7811
7812 2001-08-17  Bill Haneman <bill.haneman@sun.com>
7813         * libspi/registry.c :
7814         * libspi/application.c :
7815         * idl/Application.idl :
7816         Made registration with toolkit an application method,
7817         which is required since each app has its own toolkit static
7818         environment.  Thus the bridge must register for 
7819         notification of toolkit events from each application in turn.
7820         Toolkit notifications are now successfully registered for, and
7821         sent to the listening at client.
7822         * test/at.c :
7823         Changed toolkit event string to use hyphens rather than underscores.
7824         * libspi/listener.c :
7825         listner now gives more info in debug mode - it reports the
7826         name of the event received, as well as the name of the source.
7827         
7828
7829 2001-08-16  Bill Haneman <bill.haneman@sun.com>
7830
7831         * libspi/registry.c :
7832         added more implementation for toolkit events.
7833         Fixed bug such that toolkit event registrations
7834         (via atk) use the whole event name string, not 
7835         just minor+detail.
7836         Removed a useless call to an ORBit_ method.
7837         * at-bridge/bridge.c :
7838         Removed unused local sbuf[] variable.
7839         * test/at.c :
7840         We now register for Gtk:GtkWidget:button_press_event 
7841         events as well as "focus:" events.
7842         * cspi/spi.h :
7843         Add some more API from Registry.idl that was missing,
7844         for keystroke listening, keystroke and mouse event
7845         synthesis, and enumeration of accessible desktops.
7846
7847 2001-08-16  Michael Meeks  <michael@ximian.com>
7848
7849         * configure.in: use AM_GLIB_GNU_GETTEXT.
7850
7851         * Makefile.am (SUBDIRS): kill intl.
7852
7853 2001-08-15  Michael Meeks  <michael@ximian.com>
7854
7855         * registryd/Makefile.am: s/oaf/server/ relocate info file.
7856
7857         * configure.in: upd.
7858
7859         * configure.in: depend on a recent bonobo-activation that
7860         will find our server files ...
7861
7862 2001-08-16  Bill Haneman <bill.haneman@sun.com>
7863
7864         * libspi/accessible.c : accessible_new() :
7865         Now we add the Component interface via bonobo_object_add_interface,
7866         if the contained AtkObject implements AtkComponent.
7867         * libspi/accessible.h : now include "component.h"
7868         * libspi/component.h :
7869         * libspi/component.c : added files - implementation of
7870         bonobo wrapper object for Accessibility/Component
7871         * libspi/listener.c :
7872         Added test code to check for Accessibility/Component:1.0
7873         interface and report whether it is implemented by the
7874         event source.
7875         * libspi/registry.c :
7876         Now we check for not only the hash of the whole event 
7877         string before relaying the event, we also check the
7878         "minor" event string (without the detail string).
7879         This allows event listeners to be registered against
7880         all events of a certain major+minor type, or just
7881         against a specific major+minor+detail type.
7882         * libspi/accessible.c :
7883         Added implementations for Accessible:get_parent(),
7884         Accessible:getChildCount(), and Accessible:getChildAtIndex().
7885         * libspi/registry.c :
7886         * libspi/listener.c :
7887         Replaced calls to Accessibility_Accessible_ref() and
7888         Accessibility_Accessible_unref() with 
7889         calls to bonobo_object_dup_ref() and 
7890         bonobo_object_release_unref(), so that the CORBA object
7891         is dup-ed and released when relayed, as well as the bonobo object.
7892
7893 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7894
7895         * libspi/Makefile.am,
7896           registryd/Makefile.am,
7897           at-bridge/Makefile.am.
7898           test/Makefile.am, configure.in:
7899         reverse previous changes.
7900
7901         * /idl/Image.idl: fix typo.
7902
7903         * test/Makefile.am: put DEBUG_FLAGS
7904         in CFLAGS.
7905
7906 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7907
7908         * test/app.c: use argv[0] instead of
7909         g_type_prgname.
7910
7911 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7912
7913         * libspi/Makefile.am,
7914           registryd/Makefile.am,
7915           at-bridge/Makefile.am.
7916           test/Makefile.am, configure.in:
7917         cleanup, replace individual LIBS/CFLAGS with
7918         AT_COMMON_{LIBS|CFLAGS}.
7919
7920         * README: format.
7921
7922 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7923         
7924         * configure.in, libspi/Makefile.am:
7925         Change IDL path checking for bonobo-activation
7926         as opposed to oaf.
7927
7928 2001-08-15  Bill Haneman <bill.haneman@sun.com>
7929
7930         * registryd/registry.c : separated event listeners to use
7931         3 separate lists (focus, window, toolkit).  Began testing
7932         event names against hashes before relaying events.
7933         * test/at.c : now register for events of type "focus:"
7934         * test/app.c : now generate events of type "focus:"
7935         * at-bridge/bridge.c : register with ATK for focus events,
7936         and we now relay those focus events to any "focus:" listeners.
7937         This now works with the bridge as a GTK_MODULE when running test/at.
7938         * libspi/registry.c :
7939         * libspi/listener.c : 
7940         now we ref event sources before propagating, and unref on receipt.
7941         * libspi/registry.c : 
7942         some changes to internal structs, to support event typestring hashes.
7943         * text/app.c : changed the way the appname is generated.
7944         * cspi : added directory that will hold the C bindings library for 
7945                 non-CORBA/bonobo-savvy clients.
7946         * cspi/spi.h : header file that contains the function prototypes for the C binding.
7947         * idl/Component.idl : added in parameter to indicate coord system for
7948                 geometry-related calls.
7949         * idl/Hyperlink.idl : added readonly n_links attribute
7950         * idl/Image.idl : changed methods to attributes.
7951         
7952 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7953
7954         * at-bridge/Makefile.am: link against
7955         ../libspi/libspi.la instead of -lspi.
7956
7957         * at-spi/test/app.c: include 
7958         bonobo-activation.h. Use a default appname
7959         if one is not provided.
7960
7961 2001-08-14  Bill Haneman <bill.haneman@sun.com>
7962
7963         * idl/Registry.idl : temporarily changed register_Application
7964         to oneway, to work around issue with initial registration 
7965         re-entrancy.
7966         * idl/Application.idl : changed attribute "id" from readonly 
7967         to read-write, since it needs to be assigned by Registry.
7968         * registryd/registryd.c : added call to set application id 
7969         on registration.
7970         * registryd/registry.c : changed de-registration procedure to
7971         use CORBA_Object_hash() to find matching object ref in application
7972         lists and listener lists.
7973         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7974         began distinguishing between event types (work in progress).
7975
7976 2001-08-13  Bill Haneman <bill.haneman@sun.com>
7977
7978         CHANGES:
7979         * libspi/application.c:
7980         Added implementations for get/set id, get_toolkitName,
7981         get_version.
7982         * registryd/registryd.c :
7983         * test/at.c :
7984         * test/app.c :
7985         * Makefile.am :
7986         Converted from use of OAF to bonobo-activation.
7987         * libspi/desktop.h :
7988         * libspi/desktop.c :
7989         * test/app.c :
7990         Removed references to atksimpleobject, since base atkobject
7991         implementation now provides functionality we need.
7992         * libspi/atksimpleobject.c :
7993         * libspi/atksimpleobject.h :
7994         Removed.
7995         
7996         ADDITIONS:
7997         * at-bridge
7998         * at-bridge/Makefile.am
7999         * at-bridge/bridge.c
8000         * configure.in
8001         * Makefile.am
8002         Added directory "bridge" and contents, and added dependencies
8003         in Makefile.am/configure.in.  
8004         Initial checkin of "at-bridge".
8005         This code is a GTK_MODULE which automatically registers
8006         GTK+ apps with the accessibility registry, using an object
8007         reference to the root ATK object.
8008         
8009 2001-08-10  Mark McLoughlin <mark@skynet.ie>
8010
8011         * po/Makefile.in.in: Remove. Again. If this
8012         doesn't get autogenerated - you need to update
8013         gnome-common.
8014
8015 2001-08-07  Mark McLoughlin <mark@skynet.ie>
8016
8017         * po/Makefile.in.in: Add. Again.
8018
8019 2001-07-31  Bill Haneman <bill.haneman@sun.com>
8020
8021         * libspi/accessible.c : added support for 'description' property.
8022         * libspi/accessible.c
8023         * libspi/desktop.c
8024         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8025             (since the two are now equivalent in libbonobo)
8026         * idl/Action.idl
8027         * idl/Component.idl
8028         * idl/Hyperlink.idl
8029         * idl/Image.idl
8030         * idl/Selection.idl
8031         * idl/Table.idl
8032         * idl/Text.idl
8033         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8034              Bonobo::Unknown as does Accessibility::Accessible.
8035         * idl/StreamableContent.idl : as above, and replaced internal InputStream
8036              interface with Bonobo::Stream, since it was redundant with it.
8037              (The Stream returned by a StreamableContext object is expected to
8038              implement only a subset of Bonobo::Stream)
8039
8040 2001-07-28  Anders Carlsson  <andersca@gnome.org>
8041
8042         * libspi/accessible.c (accessible_object_finalize): Change
8043           g_free to g_object_unref since the AtkObject is a GObject.
8044
8045 2001-07-30  Bill Haneman <bill.haneman@sun.com>
8046
8047         * idl/Accessibility.idl: add new IDL files
8048         
8049         Added:
8050         * idl/Action.idl: Definitions of actionable UI object
8051         * idl/Component.idl: Definitions of UI component geometry, etc.
8052         * idl/Hyperlink.idl: Defs of hyperlink behavior
8053         * idl/Image.idl: Def of accessible image
8054         * idl/Selection.idl: Definition of UI object with selectable children
8055         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8056         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8057         * idl/Text.idl: Interface defs for UI elements with complex textual content
8058         * idl/Value.idl: Definition of UI element that is a value controller or display
8059         
8060 2001-07-27  Michael Meeks  <michael@ximian.com>
8061
8062         * po/Makefile.in.in: remove autogenerated file from CVS.
8063
8064         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8065         type library.
8066
8067         * idl/Registry.idl: include guard.
8068
8069         * idl/Accessibility.idl: Add, and include all the other IDL
8070         files.
8071
8072         * idl/*.idl: remove mass of pragmas etc.
8073
8074 2001-07-26  Michael Meeks  <michael@ximian.com>
8075
8076         * registryd/Makefile.am (registryd_SOURCES): remove
8077         redundant at_.
8078
8079 2001-07-27  Mark McLoughlin <mark@skynet.ie>
8080
8081         * libspi/.cvsignore, registryd/.cvsignore,
8082           test/.cvsignore: updated.
8083
8084         * po/Makefile.in.in: gettext update.
8085
8086 2001-07-25  Bill Haneman <bill.haneman@sun.com>
8087
8088         * initial CVS checkin
8089
8090 2001-06-29  Michael Meeks  <michael@ximian.com>
8091
8092         * configure.in: add AM_CONFIG_HEADER to gen config.h
8093
8094         * acconfig.h: add.
8095