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