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