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