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