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