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