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