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