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