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