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