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