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