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