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