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