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