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