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