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