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