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