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