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