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