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