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