1 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
4 (impl_accessibility_accessible_get_role_name),
5 (impl_accessibility_accessible_get_local_role_name):
8 (impl_accessibility_component_get_accessible_at_point):
10 * libspi/eventlistener.c: (spi_event_listener_new):
12 * libspi/stateset.c: (impl_compare): More of the same
13 * libspi/table.c: (impl_getRowDescription): Again.
14 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
15 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
16 (impl_generate_keyboard_event): Same.
17 * registryd/registry-main.c: (main): Same
18 * test/event-listener-test.c: (test_exit): Same
19 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
20 * test/keysynth-test.c: (test_key_synthesis): Same
21 * test/login-helper-server-test.c: (main): Fix warning.
22 * test/screen-review-test.c: (test_exit): Fix include.
23 * test/simple-at.c: (simple_at_exit), (_festival_init):
26 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
28 * configure.in, NEWS, README: Revved to 1.6.0.
30 2004-09-12 Bill Haneman <bill.haneman@sun.com>
32 * configure.in: Rev and re-dist, since the 1.5.4 tarball
33 was missing the HTML docs.
35 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
37 * configure.in: only cleanups:
38 - better looking PKG_CHECK_MODULES() output,
40 - declare in one common place required versions of other tools using
43 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
45 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
46 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
47 required ATK version accordingly.
49 2004-09-03 Bill Haneman <bill.haneman@sun.com>
51 * cspi/bonobo/cspi-bonobo.c:
52 (cspi_display_name): Fix C99ism.
53 * atk-bridge/bridge.c:
54 (spi_display_name): Fix C99ism.
55 Patch from Jens Granseuer, jensgr@gmx.net.
57 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
59 * configure.in: Added "or" to ALL_LINGUAS.
61 2004-08-20 Bill Haneman <bill.haneman@sun.com>
63 * configure.in, NEWS, README: Revved to 1.5.4.
65 * registryd/registry-main.c:
66 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
69 * cspi/bonobo/cspi-bonobo.c:
70 (cspi_display_name): New convenience method, gets DISPLAY with
71 screen number stripped, if AT_SPI_DISPLAY isn't already set.
72 (cspi_init): Set the activation env value above before getting
75 * atk-bridge/bridge.c:
76 (spi_display_name): Create the AT_SPI_DISPLAY activation
77 environment for an app, based on the DISPLAY environment with the
78 screen number stripped off.
79 (atk_bridge_init): Allow redirection of error messages to a log.
80 (spi_atk_bridge_get_registry): Call
81 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
83 Fixes for bugs #149962, #136986, #144086.
85 2004-08-16 Christian Rose <menthos@menthos.com>
87 * configure.in: Added "bs" to ALL_LINGUAS.
89 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
91 * configure.in: Added nb to ALL_LINGUAS.
93 2004-09-03 Bill Haneman <bill.haneman@sun.com>
96 (SPI_init): Return error code '2' if the activated
97 registry cannot be pinged. Fixes bug #147648.
99 2004-07-28 Bill Haneman <bill.haneman@sun.com>
101 * registryd/deviceeventcontroller.c:
102 (spi_dec_init_mouse_listener): Don't do XGrabButton,
103 rely on timer-poll instead, to avoid conflict with
106 2004-07-20 Bill Haneman <bill.haneman@sun.com>
108 * configure.in: Revved to 1.5.3.
110 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
112 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
114 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
116 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
118 2004-06-11 Bill Haneman <bill.haneman@sun.com>
120 * atk-bridge/bridge.c:
121 (spi_atk_bridge_do_registration):
122 Register with ATK for AtkComponent:bounds-changed events.
123 (api_atk_bridge_signal_listener):
124 Marshal the AtkRectangle info into the event notification
125 for object:bounds-changed events.
128 (spi_init_any_rect): New method, inits a corba struct of
129 type Accessibility_BoundingBox from an AtkRectangle.
131 * libspi/spi-private.h: Declared spi_init_any_rect (above).
134 (SPIRect): New struct definition.
135 (SPI_freeRect): New declaration.
136 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
139 (AccessibleBoundsChangedEvent_getNewBounds): New method,
140 implemented. Gets the bounding box data from the CORBA_any
141 associated with a bounds-changed event notification.
142 (cspi_internal_event_get_rect): New, used internally by above method.
145 (SPI_freeRect): Implemented this new method, for freeing
148 * test/event-listener-test.c:
149 (main, report_bounds_event):
150 Added a test for object:bounds-changed events.
152 2004-06-01 Bill Haneman <bill.haneman@sun.com>
154 * test/login-helper-server-test.c:
155 (main): Fix C99-ism. Thanks to Jens Granseuer.
157 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
159 * libloginhelper-1.0.pc.in:
160 * idl/Accessibility_LoginHelper.idl:
161 * login-helper/Makefile.am:
162 * login-helper/login-helper.[ch]:
163 * test/login-helper-client-test.c:
164 * test/login-helper-server-test.c: Added files missing from CVS.
165 Files obtained from at-spi-1.5.2 tarball.
167 2004-05-27 Bill Haneman <bill.haneman@sun.com>
169 * configure.in: Create login-helper/Makefile.
170 Incremented micro version.
172 * Makefile.am: Add login-helper subdir and pkgconfig data.
174 * login-helper: New subdir.
176 * libloginhelper-1.0.pc.in: New.
178 * idl/Accessibility_LoginHelper.idl: New file, defines
179 interface whereby authentication clients can identify agents which
180 need access to services during the login process, e.g. screen lock
183 * login-helper/Makefile.am : New.
185 * login-helper/login-helper.[ch] : New, implementation of
186 a LoginHelper base class. Services needing LoginHelper can subclass.
188 * test/Makefile.am : Added test for login-helper, client and
191 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
192 Use proper prefix in #include files.
194 * test/login-helper-client-test.c: New.
196 * test/login-helper-server-test.c: New.
198 2004-05-27 Alexander Shopov <ash@contact.bg>
200 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
202 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
204 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
205 is positive. This should make it easier to detect inapprorpiate unref
208 2004-05-11 James Henstridge <james@daa.com.au>
210 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
211 no-op and deprecated.
213 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
215 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
217 2004-04-28 Bill Haneman <billh@gnome.org>
219 * Makefile.am: Added --enable-gtk-doc to
220 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
222 2004-04-19 Bill Haneman <billh@gnome.org>
224 * configure.in: Revved to 1.5.1.
226 * registryd/deviceeventcontroller.c:
228 (DEControllerPrivateData): Added fields for
229 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
230 (spi_dec_replace_map_keysym): New internal utility for
231 replacing a keysym in the keymap - used to allow
232 synthesis of individual characters which aren't in the
234 (spi_dec_reset_reserved): New; resets the changed keysym value
236 (keycode_for_keysym): We now try to deal with failed
237 XKeysymToKeycode requests by changing a keymap value
238 and returning a reserved keycode. We now take
239 a DEController pointer as first arg.
240 (spi_controller_register_with_devices): Call XkbGetMap with
241 the XkbKeySymsMask. Find the highest keycode in the current
242 keymap which doesn't have any grabs, and mark that one for
243 temporary re-mapping when out-of-range KeySyms are synthesized.
244 (dec_synth_keycode_press): Call XFlush after synthesizing the key
247 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
249 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
251 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
253 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
255 2004-03-24 Bill Haneman <billh@gnome.org>
258 (AccessibleTable_addRowSelection),
259 (AccessibleTable_addColumnSelection),
260 (AccessibleTable_removeRowSelection),
261 (AccessibleTable_removeColumnSelection):
262 Add declarations for spi wrappers which were
263 inadvertantly omitted. Fixes bug #133413.
266 Revved to 1.5.0 (unstable series for GNOME 2.7).
268 2004-03-24 Bill Haneman <billh@gnome.org>
270 * atk-bridge/bridge.c:
271 Bracketed some debug output in
272 conditionals, to avoid printing it in normal use.
275 * libspi/hyperlink.c:
276 Don't cast 'object' to ATK_OBJECT when constructing
277 an AtkAction interface for a hyperlink.
278 See discussion in bug #120659.
280 * test/key-listener-test.c:
281 (report_all_key_event): Send output to stderr,
282 not stdout, for consistency with the rest of the test callbacks.
285 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
286 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
287 Incremented to 1.4.1 (but didn't dist yet - I'm going to
288 try incrementing the revision AFTER doing a dist, at least
291 2004-03-22 Bill Haneman <billh@gnome.org>
293 * configure.in: Revved to 1.4.0, libtool 9.14.9
295 2004-03-17 Laszlo Peter <laca@sun.com>
297 * libspi-1.0-uninstalled.pc.in: add idldir
299 * cspi-1.0-uninstalled.pc.in: add idldir
301 2004-03-16 Gareth Owen <gowen72@yahoo.com>
303 * configure.in: Added "en_GB" to ALL_LINGUAS
305 2004-03-15 Bill Haneman <billh@gnome.org>
307 * configure.in: Revved to 1.3.16,
310 2004-03-15 Laszlo Peter <laca@sun.com>
312 * libspi-1.0-uninstalled.pc.in: new file
314 * cspi-1.0-uninstalled.pc.in: new file
316 * configure.in: add the new pc files to AC_OUTPUT
318 * Makefile.am: add the new pc files to EXTRA_DIST
320 2004-03-12 Bill Haneman <billh@gnome.org>
322 * atk-bridge/bridge.c:
323 (spi_atk_bridge_key_listener):
324 Make sure to return consumed=FALSE if snoop
325 event is not dispatched to listener.
328 2004-03-01 Bill Haneman <billh@gnome.org>
330 * configure.in: Revved to 1.3.15,
333 2004-03-07 Danilo Segan <dsegan@gmx.net>
335 * configure.in: Added "sr@ije" to ALL_LINGUAS.
337 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
339 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
341 2004-03-01 Bill Haneman <billh@gnome.org>
343 * configure.in: Revved to 1.3.14.
346 (SPI_exit): Removed "bye-bye" exit message.
347 Moved "leak" report to happen before the
348 iteration over the leaked refs list.
349 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
351 2004-02-24 Bill Haneman <billh@gnome.org>
353 * configure.in: Revved to 1.3.13.
355 * docs/reference/cspi/Makefile.am:
356 Correct typo that was breaking the docs build.
358 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
360 * autogen.sh: Require version 1.7 of automake.
362 * configure.in: call GTK_DOC_CHECK([1.0])
364 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
366 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
368 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
370 * test/Makefile.am: Remove use of CFLAGS.
372 This fixes bug #132987.
374 2004-02-11 Bill Haneman <billh@gnome.org>
376 * reverted most of Tomasz' patch below, since it was breaking
377 builds (see bug #134058).
379 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
381 * docs/reference/cspi/at-spi-cspi.types: added empty file for
382 correct pass "make dist" (empty .. because seems no sach types in
383 header files with gtk-doc markups).
384 * docs/reference/cspi/Makefile.am, configure.in:
385 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
386 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
387 * Makefile.am: added:
388 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
389 for force correct pass generate documentation on "make distcheck".
390 * libspi/Makefile.am: fixes for automake >= 1.6.
391 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
392 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
395 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
397 * docs/reference/cspi/Makefile.am (install-data-local): Install
398 index.sgml since the doc autobuilder on widget.gnome.org looks for
401 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
403 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
406 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
408 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
410 2004-01-27 Brian Cameron <brian.cameron@sun.com>
412 * test/simple-at.c: Fixed null string problems that cause core
413 dumping problems on Solaris.
415 2004-01-12 Bill Haneman <billh@gnome.org>
417 * configure.in: Incremented version to 1.3.11.
419 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
421 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
422 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
425 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
427 * configure.in: Added "fa" to ALL_LINGUAS.
429 2003-12-20 Arafat Medini <lumina@silverpen.de>
431 * configure.in: Added "ar" to ALL_LINGUAS
433 2003-12-16 Bill Haneman <billh@gnome.org>
435 * registryd/registry-main.c:
437 Set the reg_env DISPLAY variable before registering the
438 activated registry service. Fixes bug #129479.
440 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
442 * configure.in: Added "id" in ALL_LINGUAS
443 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
445 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
447 * registryd/deviceeventcontroller.c (global_filter_fn):
448 When an event is consumed discard any XEvents were added to
449 the queue while dealing with the the event. This can happen if
450 processing of the event takes a long time. Call XUngrabKeyboard
451 if an event was discarded. This fixes bug $124837.
452 Only call wait_for_release_event for a KeyPress.
453 Use local variable display instead of spi_get_display().
454 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
457 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
459 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
460 Allow for mask to contain values other than NumLock mask.
463 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
465 * registryd/devieceventcontroller.c:
466 (wait_for_release_event): Change first parameter from GdkEvent to
468 (global_filter_fn); Correct call to wait_for_release_event.
472 2003-12-08 Bill Haneman <billh@gnome.org>
476 * registryd/ucs2keysym.c: New file.
478 * registryd/deviceeventcontroller.c:
479 (dec_keysym_for_unichar): Remove old partial implementation and
480 replace with call to ucs2keysym(), which is much more complete.
481 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
486 2003-12-05 Bill Haneman <billh@gnome.org>
488 * configure.in: Version 1.3.9.
490 * docs/reference/cspi/tmpl/spi_registry.sgml:
491 Added reference to libspi/keymasks.h to the
492 description of Registry queries: AccessibleKeyMaskType.
495 2003-12-04 Bill Haneman <billh@gnome.org>
499 * idl/Accessibility_Application.idl:
500 (Accessibility::LOCALE_TYPE): New enum, corresponds to
501 setlocale's LC_TYPEs.
502 (Accessibility::Application::getLocale): New method.
503 Allows clients to query the locale, by type, of an app.
506 * cspi/spi_application.c:
507 (AccessibleApplication_getLocale): New method, wraps IDL above.
509 * libspi/application.c:
510 (spi_application_class_init): Init epv entry for getLocale.
511 (impl_accessibility_application_get_locale): Impl for above.
513 * test/test-simple.c:
514 (test_application): Added assertion for getLocale, i.e.
515 that the string from AccessibleApplication_getLocale (app, type)
516 is the same as that from setlocale (type, NULL);
518 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
520 *registryd/deviceeventcontroller.c: Add an idle handler which polls
521 the keyboard on a timeout intil the key state goes from pressed to
522 released. Fixes bug #111429.
524 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
526 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
527 root object so that it is present when a context menu in an
528 out-of-process applet is popped up.
529 (spi_atk_bridge_do_registration): Create acceessible application root
530 object only if it does not exist.
532 This fixes bug #125834.
534 2003-12-01 Bill Haneman <billh@gnome.org>
536 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
539 Added enum for AccessibleStreamableContentSeekType.
540 (AccessibleStreamableContent_freeContentTypeList): New.
542 * cspi/spi_streamablecontent.c:
543 (accessible_bonobo_stream_client_seek): New private method.
544 (AccessibleStreamableContent_seek): Implemented this method,
545 using Bonobo_Stream_seek.
546 (AccessibleStreamableContent_freeContentTypeList): New method
547 for freeing the return value from
548 AccessibleStreamableContent_getContentTypes.
549 (stream_cache_item_free): Replaces stream_release; stop leaks.
550 (stream_release): removed.
551 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
552 free the memory properly.
554 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
558 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
560 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
562 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
564 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
566 2003-12-01 Bill Haneman <billh@gnome.org>
568 Fix for bug/rfe #127463.
570 * idl/Accessibility_Accessible.idl:
571 (getLocalizedRoleName): New.
572 (unimplemented4): Removed (replaced by above).
574 * libspi/accessible.c:
575 (impl_accessibility_accessible_get_local_role_name): New.
576 (spi_accessible_class_init): Add getLocalizedRoleName entry to
580 (Accessible_getLocalizedRoleName): New.
582 * cspi/spi_accessible.c:
583 (Accessible_getLocalizedRoleName): New.
585 2003-12-01 Bill Haneman <billh@gnome.org>
588 * idl/Accessibility_Text.idl:
589 (getDefaultAttributes): New.
590 (unimplemented4): Removed (replaced by above method).
593 (impl_getDefaultAttributes): New method.
594 (spi_text_class_init):
595 initialize the get_default_attributes slot in the epv.
598 (AccessibleText_getDefaultAttributes): New prototype.
601 (AccessibleText_getDefaultAttributes): New method.
603 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
605 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
606 write beyond the end of the table. Fixes bug #120473.
608 2003-09-30 Christian Rose <menthos@menthos.com>
610 * configure.in: Added "eu" to ALL_LINGUAS.
612 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
614 * configure.in: ALL_LINGUAS: Added no.
616 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
618 * configure.in: Added lt to ALL_LINGUAS.
620 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
622 * atk-bridge/bridge.c:
623 (atk_bridge_init): Register event listeners always even for
624 out-of-process applet.
625 (spi_atk_bridge_toplevel_added): Remove call to
626 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
627 (spi_atk_bridge_toplevelk_removed): Remove call to
628 spi_atk_deregister_event_listenersa as the listeners are now always
630 (spi_atk_bridge_register_application): Remove call to
631 spi_atk_register_event_listeners as it is not done in atk_bridge_init
633 This fixes bug #120991.
635 * libspi/table.c (impl_getColumnDescription): Correct typo,
636 pointed out by Bolian.Yin@sun.com.
638 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
640 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
642 2003-09-08 Bill Haneman <billh@gnome.org>
644 * configure.in: Revved to 1.3.7.
646 This is the GNOME 2.4.0 release of at-spi.
648 * docs/reference/cspi/Makefile.am:
649 Removed spurious inclusion of 'index.sgml' in the
650 html directory; this was breaking make distcheck and
651 also some other build environments.
653 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
655 * registryd/registry.[ch}:
656 Add queue_handler_id and focus_object to SpiRegistry data structure.
657 (registry_flush_event_queue): If event being discarded is
658 "state-change:focused" store object as focus_object.
659 (registry_start_queue): Remove queue handler and focus object
661 (registry_discard_event): New function which discards a focus event
662 if we had stored focus object in the registry.
663 (registry_queue_event): Add new check that is_queueing is set as this
664 function is reentrant.
665 (registry_filer_event): Add call to registry_discard_event.
667 This resolves issues raised in bug #108664.
669 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
671 * configure.in: Added "bn" to ALL_LINGUAS.
673 2003-09-04 Bill Haneman <billh@gnome.org>
675 * cspi/spi_event.c: Documentation improvements for
676 (SPI_registerAccessibleKeylistener).
678 * docs/reference/tmpl/spi_registry.sgml:
679 Documentation improvements for SpiAccessibleKeylistenerCB.
681 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
683 * configure.in: Added "ro" to ALL_LINGUAS.
686 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
688 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
689 not decremented to zero. Fixes bug #120725.
691 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
693 * configure.in: Added "ja" to ALL_LINGUAS.
695 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
697 * configure.in: Added "is" to ALL_LINGUAS.
699 2003-08-22 Christian Rose <menthos@menthos.com>
701 * configure.in: Added "nl" to ALL_LINGUAS.
703 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
705 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
706 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
708 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
710 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
711 type for unspecified exception.
712 * cspi_streamablecontect): Add include of string.h for memcpy.
713 (stream_release): Correct call to bonobo_object_release_unref
714 (stream_cache_item_free): Correct call to bonobo_object_release_unref
715 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
716 argument of _cspi_expection_throw.
717 * libspi/hyperlink.c: Add include of libspi/action.h:
718 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
719 * libspi/streamablecontent.c: add include of libspi/component.h.
720 * regisrtyd/deviceeventcontroller.c:
721 (spi_dec_translate_mask): Removed unused variable priv.
722 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
723 * registryd/registry.c:
724 (registry_filter_event): Remove unused variable queue_is-empty.
725 (impl_registry_notify_event): Use correct modifier in fprintf call.
727 This fixes compiler warnings reported in bug #120220.
729 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
731 * registryd/registryd.c: Remove this file.
733 2003-08-17 Sanlig Badral <badral@openmn.org>
735 * configure.in: Added mn to ALL_LINGUAS.
737 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
739 * configure.in: Added et to ALL_LINGUAS.
741 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
743 * test/event-listener-test.c: Change active-descendant to
744 active-descendant-changed.
746 2003-08-10 Sami Pesonen <sampeson@iki.fi>
748 * configure.in: Added "fi" in ALL_LINGUAS.
750 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
752 * configure.in: Added "hi" in ALL_LINGUAS.
754 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
756 * configure.in: Revved to 1.3.6.
760 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
762 * registryd/deviceeventcontroller.c
763 (spi_device_event_controller_object_finalize): Fix typo in previous
766 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
768 * registryd/deviceeventcontroller.c
769 (spi_device_event_controller_object_finalize): Fix build on
770 systems without XEvIE.
772 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
774 * acconfig.h, configure.in, registryd/Makefile.am,
775 registryd/devicecontoller.[ch]: Add XEViE support.
777 2003-08-06 Wang Jian <lark@linux.net.cn>
779 * configure.in: Added "zh_CN" to ALL_LINGUAS.
781 2003-08-06 Metin Amiroff<metin@karegen.com>
783 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
785 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
787 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
788 MODIFIER_ALT in correct place.
790 This fixes part of bug #118114.
792 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
794 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
796 2003-07-28 Changwoo Ryu <cwryu@debian.org>
798 * configure.in: Added "ko" to ALL_LINGUAS.
800 2003-07-28 Ole Laursen <olau@hardworking.dk>
802 * configure.in: Added "da" to the commented out ALL_LINGUAS.
804 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
806 * configure.in: Added "sq" to ALL_LINGUAS.
808 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
810 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
812 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
814 * configure.in: updated ALL_LINGUAS list
816 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
818 * configure.in: Added Belarusian to ALL_LINGUAS.
820 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
822 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
824 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
825 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
827 This fixes bug #116949.
829 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
831 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
832 Correct CSPI to SPI in function documentation.
834 This fixes bug #118054.
836 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
838 * configure.in: Added Russian to ALL_LINGUAS.
840 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
842 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
844 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
846 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
848 2003-07-10 Joel Brich <joel.brich@laposte.net>
850 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
852 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
854 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
856 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
858 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
859 resources allocated for AccessibleEvent. See cspi_event().
861 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
862 static variable streams to NULL.
864 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
865 Update so that AcessibleEvent_ref will work.
867 This fixes bug #116624.
869 2003-07-06 Jordi Mallach <jordi@sindominio.net>
871 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
873 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
875 * configure.in: Added "fr" (French) to ALL_LINGUAS.
877 2003-07-02 Christian Neumair <chris@gnome-de.org>
879 * configure.in: Added "de" (German) to ALL_LINGUAS.
881 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
883 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
885 2003-07-01 Miloslav Trmac <mitr@volny.cz>
887 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
889 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
891 * configure.in: Added "pl" to ALL_LINGUAS.
893 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
895 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
897 2003-06-30 Bill Haneman <bill.haneman@sun.com>
900 (get_action_from_servant):
901 Removed assertion that action is implemented on an AtkObject.
903 * libspi/hyperlink.c:
905 Aggregate AccessibleAction interface on the hyperlink object if
906 the object implements AtkAction. (This convention is used in
909 2003-06-30 Bill Haneman <bill.haneman@sun.com>
911 * configure.in: Revved to 1.3.5.
913 * registryd/Accessibility_Registry.server.in.in:
914 Marked up appropriate strings for translation.
916 * atk-bridge/bridge.c: Marked a couple of
917 user-visible warnings for translation. Questionable
918 whether they are really useful, but possibly so.
921 2003-06-28 Christian Rose <menthos@menthos.com>
923 * configure.in: Added "sv" to ALL_LINGUAS.
925 2003-06-26 Bill Haneman <bill.haneman@sun.com>
927 * registryd/registry.c:
928 (spi_registry_object_finalize): Unref the deviceeventcontroller.
929 (registry_defer_on_event): Defer focus: events, this is an
930 improvement to the patch for bug #108664.
932 * TODO: Update with 2.4/"Dev Complete" items.
934 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
936 * atk-bridge/bridge.c:
937 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
938 looks up signals once.
939 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
940 if doing registration.
941 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
942 when doing registration.
944 This fixes bug #115014.
946 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
948 * atk-bridge/bridge.c:
949 (atk_bridge_init): Add signal handler for children-changed:remove on
950 root when in a BonoboComponent.
951 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
952 for first toplevel only other incrememt variable toplevels.
953 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
954 application and remove listeners.
955 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
957 (spi_atk_deregister_event_listeners): New function which removes
959 (reinit_register_vars): New fuction which reinitializes variables.
961 This fixes bug #111578.
963 2003-06-13 Bill Haneman <bill.haneman@sun.com>
965 * configure.in: version 1.3.4.
967 * cspi/spi_accessible.c:
968 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
971 2003-06-13 Michael Meeks <michael@ximian.com>
973 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
975 * cspi/spi_main.c (cspi_peek_ev): impl.
977 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
979 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
981 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
983 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
984 SPI_ROLE_AUTOCOMPLETE
986 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
988 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
989 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
991 2003-06-11 Bill Haneman <bill.haneman@sun.com>
993 * libspi/streamablecontent.h:
994 * libspi/streamablecontent.c:
995 New files, provide implementation/wrappers for
996 Accessibility_StreamableContent.
998 * cspi/spi_streamablecontent.c:
999 Connected the C wrappers to the libspi C bindings.
1000 (AccessibleStreamableContent_close): New method.
1003 (AccessibleStreamableContent_close): New method, needed
1004 since we have an "open, [seek], read, close" model in cspi.
1006 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1008 Fix for #108664; Padraig's revision of my original patch.
1010 * registryd/registry.h:
1011 Added event queue list, is_queuing, and exit_notify_timeout
1012 to the registry struct.
1014 * registryd/registry.c:
1015 (registry_init): Initialize new struct from registry.h.
1016 (impl_registry_notify_event):
1017 Filter events before notifying, in case some need to be
1019 (registry_filter_event): New,
1020 we defer certain incoming events (for instance
1021 window:deactivate) because we may wish to hide
1022 or reject them based on pending events. This is
1023 mostly a workaround for bug #108664.
1024 (registry_queue_event, registry_start_queue): New.
1025 (registry_defer_on_event): Test event to see if it
1027 (registry_reset_on_event): Returns TRUE if the
1028 event should cause a queue reset.
1029 (registry_discard_on_event): Returns TRUE if the event
1030 should cause the previous queue contents to be discarded.
1031 (registry_timeout_flush_queue): Flushes the pending event
1032 queue if no reset/discard-triggering events have come in
1033 within the timeout period.
1034 (registry_emit_event): New.
1035 (registry_clone_notify_context): New, used when queueing the
1036 event notify contexts.
1038 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1040 * configure.in: Version revved to 1.3.2, lt 0.9.2
1041 Incremented ATK required version to 1.3.4.
1043 * cspi/spi_registry.c:
1044 (SPI_generateKeyEvent):
1045 We now pass the keystring along if it's non-null.
1047 * registryd/deviceeventcontroller.c:
1048 (keysym_mod_mask): New method, returns modifier mask
1049 required to generate a keysym from a given keycode.
1050 (dec_synth_keysym): New method.
1051 (dec_synth_keystring): New method.
1052 (dec_get_modifier_state): New method.
1053 (dec_lock_modifiers): New
1054 (dec_unlock_modifiers): New.
1055 (dec_keysym_for_unichar): New, rather brute-force
1056 conversion from UCS-4 to X KeySyms. Only works for
1057 Latin at the moment, with partial implementations for
1058 Greek, Hebrew, and (incomplete) Katakana.
1059 (impl_generate_keyboard_event): Now implement
1060 "KEYSTRING" synthesis and implement "KEYSYM"
1062 (keycode_from_keysym): Improved, passes a returned
1063 modmask value now if the corresponding param is non-NULL.
1065 Fixes bugs #92143 and #109776.
1068 * test/keysynth-test.c:
1069 New test program for key synthesis, to confirm fixes for
1073 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1075 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1077 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1078 Add line for RELATION_POPUP_FOR
1080 * docs/reference/cspi/tmpl/spi_relation.sgml:
1081 Add relation SPI_RELATION_POPUP_FOR
1083 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1084 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1086 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1088 * libspi/relation.c (spi_init_relation_type_table):
1089 Add line for RELATION_POPUP_FOR
1091 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1093 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1094 there are still windows which have not been deleted and emit
1095 window:deactivate, if necessary and window:destroy events.
1096 This fixes bug #114370. The change on June 5th was not correct.
1098 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1100 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1103 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1105 New methods for client exception handling and interception.
1106 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1107 (SPI_exceptionHandlerPop): You guessed it...
1108 (SPI_getSourceType): Return the type of object which offended.
1109 (SPI_getExceptionCode): Return an enum code telling, possibly,
1110 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1111 (SPIAccessibleException_getSource): get the source object for
1112 exceptions that come from Accessibles, if SPIExceptionSourceType is
1113 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1114 (SPIException_getDescription): New, returns a string description of
1115 the problem. [Not yet a stable ABI, strings are not frozen]
1117 * cspi/spi-private.h:
1118 Added implementation details of opaque SPIException
1122 Implementations of above. Also
1123 (_cspi_exception_throw): new private method that
1124 dispatches exceptions to handlers, called from cspi-bonobo.c
1126 * cspi/bonobo/cspi-bonobo.c:
1127 (cspi_check_ev): call _cspi_exception_throw.
1128 Don't print a warning message if the exception has been
1129 handled by _cspi_exception_throw.
1131 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1133 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1134 there are still windows which have not been deleted and emit
1135 window:deactivate, if necessary and window:destroy events.
1136 This fixes bug #114370.
1138 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1141 (cspi_accessible_is_a): Make non-fatal
1142 if the object reference is dead.
1144 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1146 * cspi/spi_main.c: #include <stdio.h>
1147 * test/simple-at.c: ditto
1148 * test/event-listener-test.c: ditto
1149 * test/screen-review-test.c: ditto
1151 2003-05-30 Michael Meeks <michael@ximian.com>
1153 * test/test-simple.c (main): use CORBA_ORB_perform_work
1154 instead of an unnecessary linc_ call.
1156 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1158 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1159 Add SPI_STATE_INDETERMINATE.
1161 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1164 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1166 * libspi/stateset.c (init_state_type_tables): Add support for
1169 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1171 * configure: Update versions of atk and gail required.
1172 This fixes bug #113268.
1174 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1176 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1178 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1180 * libspi/Makefile.am:
1181 Ensure headers are generated before being used by c sources.
1183 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1186 Simplified lt versioning rules.
1187 Incremented version to 1.3.0, to indicate that we're on the
1188 unstable branch now.
1190 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1192 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1193 Add MKDB_OPTIONS=--outtput-format=xml
1195 * docs/reference/cspi/at-spi-cspi-docs.sgml
1196 docs/reference/idl/at-spi-idl-docs.sgml:
1197 Convert to Docbook XML.
1199 This fixes bug #111793.
1201 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1203 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1204 AcccessibleKeyEventType, AccessibleKeyMaskType.
1206 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1208 * cspi/state-types.h: Add documentation for AccessibleState.
1210 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1211 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1212 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1213 AccessibleComponentLayer.
1215 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1218 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1220 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1221 Accessible. Add description of AccessibleEvent,
1222 AccessibleEventListenerCB.
1224 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1227 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1228 documentation. Add description of AccessibleKeystrokeListenerCB,
1229 AccessibleKeyEventMask, AccessibleModifierMaskType,
1230 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1231 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1233 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1236 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1239 This fixes bug #104730.
1241 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1243 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1244 Set is_text field of Accessibility_DeviceEvent data structure.
1246 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1247 is-text field of AccessibleDeviceEvent data structure.
1249 This addresses part of bug #108666.
1251 * registryd/devcieeventcontroller.c: Unset debug option.
1253 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1255 * cspi/accessible.c:
1256 (cpi_initial_relation_type_table): New function which initializes
1257 mapping between Accessibility_RelationType and AccessibleRelationType.
1258 (cspi_relation_type_from_spi_relation_type): New function which
1259 translates an Accessibility_RelationType into an AccessibleRelationType.
1260 (AccessibleRelation_getRelationType): Use
1261 cpi_relation_type_get_spi_relation_type to return correct value.
1262 (spi_state_to_corba): Return correct type for default case.
1264 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1265 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1267 * cspi/cspi-bonobo-listener.c:
1268 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1271 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1272 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1273 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1274 libspi/image.c, libspi/listener.c, libspi/selection.c,
1275 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1276 registryd/desktop.c, registryd/registry.c:
1277 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1279 * libspi/eventlistener.c
1280 Remove semicolon after BONOBO_TYPE_FUNC.
1282 * libspi/relation.c:
1283 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1284 (spi_init_relation_type_table): Initialize using correct type.
1286 * registryd/desktop.c:
1287 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1288 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1289 of Accessibility_KeyEventType.
1291 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1294 * tests/simple-at.c, tests/screen-review-test.c:
1295 Add include for <strings.h>.
1297 * tests.stress-test.c:
1298 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1300 These changes fix compiler warnings when using FORTE compiler on
1301 Solaris; fixes bug #107479.
1304 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1307 * configure.in: revved to 1.1.10
1309 * libspi/keymasks.h:
1310 (SPI_KEYMASK_NUMLOCK): Added.
1312 * registryd/deviceeventcontroller.c:
1313 (spi_key_event_matches_listener): AND with a smaller
1314 bitmask (as we should).
1315 (spi_dec_translate_mask):
1316 New method, sets the virtual NumLock modifier bit
1317 if numlock is on. Eventually it can handle other virtual
1318 modifier bits if needed, or other marshalling from
1319 at-spi modifier masks to platform (X) masks.
1320 (spi_dec_key_listener_new):
1321 Call spi_dec_translate_mask to set up virtual mod bits
1322 in the 'mask' field when creating a new listener struct.
1323 (spi_dec_emit_modifier_event):
1324 Set the virtual (i.e. NumLock) bits before emitting event.
1325 (spi_controller_register_with_devices):
1326 Query for the NumLock modifier 'physical' bit if Xkb is
1327 present, for use in above methods.
1331 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1333 * registryd/deviceeventcontroller.c:
1334 (spi_keystroke_from_x_key_event):
1335 Instead of checking to see if the keysym is
1336 printable, check the string from XLookupString
1337 if available, get the first unicode character from it,
1338 and call g_unichar_isprint to determine whether the
1339 is_text flag should be TRUE or FALSE.
1343 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1345 * atk-bridge/bridge.c: Add support for extended events
1346 * cspi/spi_event.c: Add documentation and implementation for
1348 * tests/event-listener-test.c: Add tests for extended events.
1350 This fixes bugs #100424 and #100426.
1352 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1354 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1355 of LT_CURRENT. This fixes bug #89350.
1357 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1359 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1360 number of signal parameter values before accessing them. This fixes
1363 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1365 * configure.in: Fixed duplicate inclusion of -lspi.
1366 * branched for gnome-2-2/HEAD.
1367 [created tag "gnome-2-2"]
1369 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1371 * configure.in: 1.1.9 release.
1374 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1376 [needed by GOK, to fix bugs 107985 and 107988]
1377 * registryd/deviceeventcontroller.c:
1378 (spi_dec_clear_unlatch_pending):
1379 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1380 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1381 (spi_dec_init_mouse_listener):Emit warning if mouse button
1383 (spi_device_event_controller_forward_mouse_event):
1384 Removed unnecessary parens from a conditional.
1385 (global_filter_fn):Added TODO comment.
1386 (impl_generate_keyboard_event):
1387 Cancel a pending relatch if a 'delatching' key was
1390 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1392 * atk-bridge/bridge.c:
1393 Change atk_signal_child_changed to atk_signal_children_changed.
1394 Reorganize code in spi_atk_bridge_signal_listener().
1396 * test/event-listener-test.c:
1397 Add children_changed_listener and report_children_changed_event()
1398 to test AccessibleChildEvent_getChildAccessible.
1400 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1402 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1403 g_strdup to CORBA_String_dup (bug #105291)
1405 * test/event-listener-test.c (report_text_event): Add call to
1408 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1410 * registryd/deviceeventcontroller.c:
1411 (spi_keystroke_from_x_key_event):
1412 Fix string and keysym return codes to match modifier state.
1415 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1417 * registryd/deviceeventcontroller.c:
1418 (spi_keystroke_from_x_key_event):
1419 Fix segv due to improper use of isprint(c). [bug #107254]
1421 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1424 (get_accessible_text_boundary_type):
1425 Move default return value to (new) default case in switch.
1426 (get_accessible_text_clip_type):
1427 Move default return value to (new) default case in switch.
1429 * libspi/application.c:
1430 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1431 Remove unused methods.
1432 (impl_accessibility_application_register_object_event_listener):
1433 Remove unused methods.
1436 Added #include of <math.h>.
1438 * registryd/deviceeventcontroller.c:
1439 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1440 we don't currently use this method.
1441 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1443 (impl_generate_key_event):
1444 Remove unused variables.
1445 (impl_generate_mouse_event):
1446 Initialize button to zero, just in case we get an invalid
1447 input. Added support for mouse buttons 4 and 5.
1448 (spi_device_event_controller_new):
1449 Removed unused variable declaration for 'private'.
1451 Added #include of <gdk/gdk.h>
1453 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1455 * configure.in: Update to work when X is not installed in expected
1456 location. Fixes bug #105836.
1458 * atk-bridge/bridge.c
1459 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1461 (spi_atk_register_event_listener): Add signal listener for
1463 (spi_atk_bridge_signal_listener): Event event when link-selected
1464 signal is emitted. (bug #104622)
1466 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1467 on returned string. (bug #105291)
1469 * test/event-listener-test.c: Add test for link-selected.
1471 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1473 * atk-bridge/Makefile.am: Correct typo in previous commit.
1475 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1477 * atk-bridge/Makefile.am: Allow for build directory to be different
1478 from source directory
1480 * registryd/Makefile.am: Allow for build directory to be different
1481 from source directory
1485 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1488 Fixed dependencies for libcspi so that libspi gets pulled in
1489 properly. Fixes 104741.
1493 Clean up inline docs a little.
1495 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1497 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1498 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1499 the AtkObject within an SpiDesktop.
1500 This addresses bug #101524.
1502 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1503 Remove call to gdk_init().
1505 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1506 so that Display is set when SpiDesktop is created.
1508 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1510 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1511 This fixes bug #102830.
1513 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1515 * test/test-simple.c: Update to take account of fact that GailButton
1516 now implements AtkText.
1517 (create_text_window): Set name on AtkObject for GtkEntry.
1518 (validate_accessible): Check accessible name before calling test_text().
1520 * libspi/Makefile.am: Fix problem with building outside of source
1521 directory. Bug #98120.
1523 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1524 typo in documentation comments. Bug #94275.
1526 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1528 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1530 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1533 Add includes to avoid compiler warnings on Solaris.
1534 (impl_getRangeExtents): Bug fix.
1536 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1538 Fix for 100944, [API addition approved by Gman and murrayc].
1545 * idl/Accessibility_Text.idl:
1546 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1547 (Text::getRangeExtents): New method for efficient
1548 bounds query of a text range.
1549 (Text::getBoundedRanges): New method for efficient
1550 clipping of text to bounding boxes.
1551 (unImplemented7, unImplemented8):
1552 Removed these padding methods to preserve bincompat.
1555 (impl_getRangeExtents): implementation of new IDL.
1556 (impl_getBoundedRanges): implementation of new IDL.
1557 (SpiTextRect): Internal use struct.
1558 (_spi_text_rect_union): internal method, calculates union of two
1559 SpiTextRect bounding rects.
1560 (_spi_text_range_seq_from_gslist): internal method, allows us
1561 to build our sequence efficiently as a gslist then convert it
1563 (_spi_bounds_contain): internal method, determines whether
1564 a text character is "in" or "out" of a clip rect according to
1565 values of TEXT_CLIP_TYPE.
1566 (spi_text_class_init): Initialize the new methods in the epv.
1569 (AccessibleTextClipType): New enum used by screen review api.
1570 (AccessibleTextRange): New struct used by screen review api.
1571 (AccessibleText_getRangeExtents):
1572 cspi binding for Accessibility_Text_getRangeExtents.
1573 (AccessibleText_getBoundedRanges):
1574 cspi binding for Accessibility_Text_getBoundedRanges.
1575 (AccessibleTextRange_freeRanges): convenience method.
1578 (AccessibleText_getRangeExtents):
1579 cspi binding for Accessibility_Text_getRangeExtents.
1580 (AccessibleText_getBoundedRanges):
1581 cspi binding for Accessibility_Text_getBoundedRanges.
1582 (AccessibleTextRange_freeRanges): convenience method.
1583 (get_accessible_text_clip_type): internal conversion method.
1584 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1586 * registryd/deviceeventcontroller.c:
1587 (spi_dec_mouse_check):
1588 Improved behavior for mouse:abs events
1589 [same granularity as mouse:rel events, and no
1590 events when mouse is idle].
1592 2002-12-16 Michael Meeks <michael@ximian.com>
1594 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1596 * libspi/stateset.c (state_spi_to_atk): split out
1597 ( fix several remote array bounds nasties )
1598 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1599 (impl_remove): make safe from array bounds issues.
1600 (spi_atk_state_from_spi_state): impl.
1602 * libspi/stateset.h (spi_state_set_cache_is_empty):
1603 add a set of wrapper defines to get layering right.
1605 * cspi/spi_accessible.c: update state set stuff to
1608 2002-12-14 Michael Meeks <michael@ximian.com>
1610 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1611 to avoid 2 roundtrips to the registry per key event
1612 (spi_atk_bridge_key_listener): upd.
1613 (deregister_application): release the dec.
1615 * registryd/registry.c (notify_listeners_cb):
1616 bin lots of re-enterant complexity - we no longer
1617 do a round-trip bonobo ref here, ensure that a single
1618 listener's exception failure won't poison all other
1620 (impl_registry_notify_event): bin obvious memory leak.
1622 2002-12-13 Michael Meeks <michael@ximian.com>
1624 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1625 init the ev so the error is meaningful.
1626 (spi_atk_bridge_key_listener): ditto.
1628 * cspi/spi_main.c (cspi_ev): init the ev so we start
1629 with a clean slate, otherwise the first exception
1630 kills us completely.
1632 * cspi/spi_text.c (get_accessible_text_boundary_type):
1633 add a fallthrough for no warnings.
1635 * cspi/spi_registry.c: prune unused warnings.
1637 * cspi/spi_main.c (cspi_object_take): fix
1638 mind-blowing brokenness ( by watching the compile
1641 * cspi/spi_accessible.c (Accessible_getStateSet):
1642 re-impl. to use an AtkStateSet.
1643 (spi_state_type_from_accessible_state),
1644 (init_state_table): bin these.
1646 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1648 (atk_state_set_from_accessibility_state_set): here.
1650 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1651 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1652 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1653 (AccessibleStateSet_add, AccessibleStateSet_remove),
1654 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1655 (AccessibleStateSet_isEmpty): re-write to use a local
1658 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1660 * configure.in: Revved to 1.1.7 (new keymask vals).
1662 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1664 * libspi/keymasks.h:
1665 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1667 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1670 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1671 to compare two CORBA_TypeCodes.
1672 (cspi_internal_event_add): Silence warning from FORTE compiler.
1674 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1675 avoid implicit declaration of functions.
1677 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1679 * atk-bridge/bridge.c:
1680 (spi_atk_bridge_init_event_type_consts): Store signal id for
1681 active-descendant-changed signal.
1682 (spi_atk_register_event_listeners): Add signal listener for
1683 active-descendant-changed signal,
1684 (spi_atk_bridge_signal_listener): Move code in function
1685 spi_atk-signal_emit_event() into this function.
1686 Add support for active-descendant-changed
1687 Update support for child-changed signal.
1688 (spi_bridge_window_event_listener): Silence warning.
1690 * libspi/spi_private.[ch]:
1691 (spi_init_any_object): Change second parameter from CORBA_Object to
1693 Omit call to CORBA_Object_duplicate().
1694 Set CORBA_any's _value to CORBA_Object*.
1696 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1702 (AccessibleEvent_ref, AccessibleEvent_unref):
1703 New methods, for persisting an event outside the emission context.
1704 Must be used if the new accessor methods are to be called
1705 outside of the event listener's callback.
1707 * cspi/bonobo/cspi-bonobo.c:
1708 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1709 as second parameter instead of NULL, so we can call
1710 cspi_check_ev afterwards.
1713 (cspi_object_take): New internal method,
1714 converts a CORBA_Object reference to a hard ref on
1715 an Accessible if possible, returning NULL if the object
1716 reference is invalid or an Accessible * otherwise.
1719 (AccessibleEvent_ref):
1720 Increment the event's internal private refcount, and
1721 add the event's internal struct to an internal cache
1722 if it's not already there.
1723 (AccessibleEvent_unref):
1724 Decrement the event's refcount and remove it from
1725 the cspi event cache if refcount==0.
1726 (cspi_event_compare): New private method.
1727 Compares two event structs via their ids. Used
1729 (cspi_internal_event_lookup): New private method.
1730 (cspi_internal_event_check): New private method,
1731 a 0-order sanity check for events to make sure their
1732 private data is intact.
1733 (cspi_internal_event_add, cspi_internal_event_remove):
1734 New private methods for managiing the event cache.
1736 * cspi/bonobo/cspi-bonobo-listener.c:
1738 Initialize the new private data elements (id, magic, ref_count).
1740 * atk-bridge/bridge.c:
1741 (spi_atk_bridge_signal_listener):
1742 Fixed bug #100530, passing wrong params to emission func.
1744 * registryd/deviceeventcontroller.c:
1745 (spi_dec_button_update_and_emit):
1746 Fixed type in mask bit operations; fix for #99799.
1748 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1750 Removed some of the more dangerous workarounds from
1751 previous commit; they are only needed by GOK, which
1752 in reality should be using another method to accomplish
1753 the goals. So on reconsideration some of the workarounds
1754 need to be reverted:
1756 * registryd/deviceeventcontroller.c:
1757 (spi_keycodes_contain, spi_dec_init_keycode_list):
1758 Removed these methods, used only by a nasty hack to try
1759 and detect whether a key synthesis should be allowed
1760 to reset the XKB latch state or not. This code was only
1761 required to work around an interaction between GOK,
1762 button events, and XKB.
1763 (impl_generate_key_event):
1764 Removed hack at end of key generation that tried to
1765 "do the right thing" if XKB latch keys were generated
1766 in the midst of button press/release pairs.
1769 Added a check for HAVE_XINPUT. Not normally used yet.
1771 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1773 Workarounds and fixes for mouse event/XKB interaction.
1775 * registryd/deviceeventcontroller.c:
1776 (spi_keycodes_contain, spi_dec_init_keycode_list):
1777 New internal methods.
1778 (spi_dec_set_unlatch_pending):
1779 Split the method that tells XKB to expect an
1780 unlatch (and revert it) out of the rest of the
1781 event handling code. This method is called by the
1782 two mouse event handlers (the poll and the filter).
1783 (spi_dec_update_and_emit, spi_dec_mouse_check):
1784 New methods split from spi_dec_poll_mouse_moved.
1785 The second one is now called from inside the filterFn
1786 when an XKB delatch event is received, to determine
1787 whether to revert the delatch or not.
1788 (spi_poll_mouse_moved): Refactor; also we can now
1789 properly handle the case where multiple button states
1790 have changed between polling cycles and we didn't get
1791 notified due to another client's grab.
1793 Synchronize the server while handling an XKB notification.
1794 Ugly, but apparently necessary to avoid nasty races.
1795 Check the mouse state on receipt of an XKB latch change,
1796 to decide whether to revert the latch or not. (Latches are
1797 reverted if there is an immediately preceding mouse button
1798 event that a client has consumed, in which case we don't want
1799 the user to see the side-effect of the event).
1800 (spi_device_event_controller_forward_mouse_event):
1801 Check for modifier events and fire before resetting mouse_mask_state,
1802 prevents losing modifier events.
1804 (impl_generate_keyboard_event):
1805 If we've just generated a keyboard event for a non-shift key,
1806 we don't want to revert the pending XKB latch.
1807 Otherwise, check the modifier state (via a call to
1808 spi_dev_mouse_check) and set the relatch mask to
1809 that state before returning.
1811 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1814 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1817 * atk-bridge/bridge.c:
1818 (spi_atk_register_event_listeners):
1819 Don't re-register for ATK events if the registry has died
1820 and the app needs to re-register; the ATK listeners are in
1821 process and doing so will cause duplicate emission.
1823 * registryd/deviceeventcontroller.c:
1824 (spi_poll_mouse_moved):
1825 Reformat the source, detect and emit multiple button-change
1826 events (i.e. if multiple buttons have changed between poll
1828 Add code to detect mouse-down events even when the pointer
1829 is grabbed; workaround for GOK bug 98420.
1830 (spi_controller_register_with_devices):
1831 Call XTestGrabControl with 'impervious' flag set to True,
1832 allows us to synthesize events and query the pointer even during
1833 an active grab by another client.
1834 (spi_device_event_controller_forward_mouse_event):
1835 Set the mouse_mask_state to the mouse_button_state from
1836 the intercepted event, to synchronize the grab listener with
1839 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1841 * cspi/spi_accessible.c:
1842 (AccessibleRole_getName):
1843 Added necessary strings for making this (deprecated)
1844 method work with the new role types.
1845 (init_role_table, role_table):
1846 Added definition of SPI_ROLE_APPLICATION.
1848 * libspi/spi-roletypes.h:
1849 Added SPI_ROLE_APPLICATION.
1851 * idl/Accessibility_Role.idl:
1852 Added ROLE_APPLICATION.
1854 * docs/reference/cspi/at-spi-cspi-decl.txt:
1855 Added SPI_ROLE_APPLICATION to docs.
1857 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1859 * cspi/spi_accessible.c
1860 (cspi_init_role_table): Do not write beyond end of role_table.
1861 (Accessible_getRole): Use correct type for value returned by
1862 Accessibility_Accessible_getRole().
1864 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1865 beyond end of role_table. (This fixes bug #98269)
1867 * libspi/application.c: Add include file spi-private.h for
1868 definition of spi_init_any_nil.
1870 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1874 * libspi/spi-private.h:
1875 Added DGB() macro, and extern int _dbg declaration.
1877 * registryd/registry.c:
1878 (definitions) storage for _dbg.
1879 (spi_registry_init):
1880 Get environment variable "AT_SPI_DEBUG".
1881 (spi_registry_set_debug):
1882 New method, to initialize _dbg value.
1883 (spi_listener_struct_new, spi_registry_object_finalize):
1884 (notify_listeners_cb):
1885 Changed fprintfs to use DBG and g_warning().
1887 * registryd/deviceeventcontroller.c:
1888 (_deregister_keygrab, spi_controller_register_device_listener):
1889 Changed debug/warning messages to use DBG macro.
1891 * libspi/listener.c:
1892 (impl_notify_event):
1893 Changed warning messages to use DBG macro and g_warning().
1895 * atk-bridge/bridge.c:
1896 (atk_bridge_init, spi_atk_bridge_get_registry):
1897 (spi_atk_bridge_exit_func):
1898 (spi_atk_bridge_property_event_listener):
1899 Changed status, warning, and error messages to use
1900 g_warning, g_message, and DBG macros.
1903 Read the state of the AT_SPI_DEBUG environment variable
1904 and set a local '_dbg' accordingly.
1906 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1908 FIXES for 98836, 98842, other bugs.
1911 Revved to 1.1.4, interface-age=4, binary-age=4.
1913 * registryd/deviceeventcontroller.c:
1915 Fixed crasher bug in last_mouse_pos initialization.
1917 * registryd/registry.c:
1918 (desktop_add_application, desktop_remove_application):
1919 Added (and then commented out) some support for
1920 object context marshalling. [TODO]
1922 * atk-bridge/bridge.c:
1923 (spi_atk_bridge_event_context_create):
1924 Commented out object context creation until it can
1925 be properly tested and debugged.
1927 * registryd/registry.c:
1928 (impl_registry_notify_event):
1929 Fixed crasher bug, we were calling
1930 spi_re_entrant_list_foreach () with an empty list.
1932 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1934 * idl/Accessibility_Action.idl:
1935 * idl/Accessibility_Component.idl:
1936 * idl/Accessibility_Desktop.idl:
1937 * idl/Accessibility_Event.idl:
1938 * idl/Accessibility_Hyperlink.idl:
1939 * idl/Accessibility_Image.idl:
1940 * idl/Accessibility_Relation.idl:
1941 * idl/Accessibility_Selection.idl:
1942 * idl/Accessibility_State.idl:
1943 * idl/Accessibility_Value.idl:
1944 Updated unimplemented slot count to minimum of
1945 four for all interfaces, for ABI freeze.
1947 * idl/Accessibility_EditableText.idl:
1948 * idl/Accessibility_Text.idl:
1949 Updated unimplemented slot count to six
1952 * idl/Accessibility_Registry.idl:
1953 Updated unimplemented slot count to six
1954 (also for DeviceEventController),
1957 * idl/Accessibility_Table.idl:
1958 Updated unimplemented slot count to eight,
1961 * idl/Accessibility_Event.idl:
1962 Added CORBA_any "any_data" member to Event struct.
1964 * idl/Accessibility_Event.idl:
1965 Added CORBA_any "any_data" member to Event struct.
1967 * atk-bridge/bridge.c:
1969 atk_signal_text_changed, atk_signal_child_changed,
1970 signal ids queried from gtype system.
1971 (AtkBridgeEventContextType): New enum.
1972 (AtkBridgeEventContextData): New struct.
1973 (AtkBridgeEventContext): New struct.
1974 (atk_bridge_init_event_type_consts):
1975 New method, initializes type contants for comparison
1976 prior to emit_eventv.
1977 (atk_bridge_event_context_init): New method,
1978 initializes a CORBA_any from an AtkBridgeEventContext.
1979 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1980 initialize the event.any_data struct.
1981 (spi_atk_bridge_event_context_create): New method,
1982 creates an AtkBridgeEventContext from signal/event info.
1983 (spi_atk_bridge_event_context_free): New method.
1984 (spi_atk_emit_eventv): Changed to take an
1985 AtkBridgeEventContext parameter. We now initialize
1986 the event.any_data member prior to notifying the
1987 Registry, via the AtkBridgeEventContext.
1988 (spi_atk_bridge_property_event_listener):
1989 (spi_atk_bridge_state_event_listener):
1990 Match emit_eventv signature.
1991 (spi_atk_bridge_object_event_listener):
1992 Match emit_eventv signature, and create an
1993 event context from the event details.
1994 Free the event context afterwards.
1995 (spi_atk_bridge_window_event_listener):
1996 Create an event context, pass it to the
2000 (AccessibleEvent_getContextString):
2001 (AccessibleEvent_getContextObject):
2002 New methods, allow query of AccessibleEvent objects
2003 for more context details (via the "any_data" member
2004 of the Event struct, above).
2007 Definitions for AccessibleEvent_getContextString
2008 and AccessibleEvent_getContextObject.
2010 * cspi/spi_listener.h:
2011 (InternalEvent): New struct.
2014 (AccessibleEvent_getContextString):
2015 (AccessibleEvent_getContextObject):
2016 Implementations of new methods, for obtaining
2017 additional context information from some event types.
2019 * cspi/spi_registry.c:
2020 (SPI_registerGlobalEventListener):
2021 Added mention of active-descendant-changed event in docs.
2023 * cspi/cspi-bonobo-listener.c:
2025 Marshal the any into the AccessibleEvent via
2028 * libspi/spi-private.h:
2029 #include <orbit/orbit.h>
2031 (spi_init_any_string):
2032 (spi_init_any_object):
2033 New convenience function declarations.
2037 (spi_init_any_string):
2038 (spi_init_any_object):
2039 New convenience function implementations.
2041 * registryd/deviceeventcontroller.c:
2042 (spi_poll_dec_mouse_moved):
2043 (spi_device_event_controller_forward_mous_event):
2044 Initialize any_data member of event.
2045 (spi_deregister_controller_device_listener):
2046 Fix incorrect param pass which was preventing deregistration.
2048 * registryd/registry.c:
2049 (desktop_add_application):
2050 (desktop_remove_application):
2051 Add object data to event's any_data before dispatch.
2053 Fix for error messages from GAIL.
2055 * test/event-listener-test.c:
2056 Test new ContextString and "any_data" API:
2057 (report_text_event): New method query and output context string.
2058 (main): register a new text listener with report_text_event
2061 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2063 Fixes for bugs 98127 and 97914.
2064 * cspi/spi-roletypes.h:
2065 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2067 * cspi/spi-statetypes.h:
2068 Added SPI_STATE_MANAGES_DESCENDANTS
2070 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2071 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2072 * cspi/spi_accessible.c:
2073 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2074 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2075 Accessibility_STATE_MANAGES_DESCENDANTS
2076 * libspi/accessible.c:
2077 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2078 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2079 As requested by Bill, I also cleaned up the alignment.
2080 * libspi/relation.c:
2081 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2082 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2083 * libspi/stateset.c:
2084 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2085 Accessibility_STATE_MANAGES_DESCENDANTS
2086 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2087 Document changes reflecting modifications to roles.
2088 * docs/reference/cspi/tmpl/spi_relation.sgml:
2089 Document changes reflecting modifications to relations.
2090 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2091 Document changes reflecting modifications to states.
2093 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2096 Revved to 1.1.3, interface-age=3, binary-age=3.
2097 Added REBUILD macro.
2100 Removed accessx-gui from the tests, since we have a nice
2101 keyboard accessibility capplet now :-)
2103 * test/keysynth-demo.c:
2104 (increment_scan): removed do-nothing default: case,
2107 * test/visual-bell.c:
2108 (main) : removed do-nothing default: case,
2111 * cspi/spi_action.c:
2112 (AccessibleAction_getKeyBinding_):
2113 Documented keybinding string format.
2117 (AccessibleText_getAttributes):
2118 Documented the text attribute string format.
2119 It's changed to use semicolon delimiters also,
2120 to prevent clashes with CSS attributes, but the old
2121 trick of looking for ", " strings will still work
2122 (as unreliably as ever). Fix for bug related to 97916.
2125 Include <cspi/bonobo/cspi-bonobo-listener.h>
2126 Fixes build warning.
2127 (SPI_freeAccessibleKeySet):
2128 (AccessibleKeystrokeListener_addCallback):
2129 (AccessibleKeystrokeListener_removeCallback):
2130 Modify to use AccessibleDeviceListener API internally,
2131 instead of AccessibleKeystrokeListener.
2133 * idl/Accessibility_Event.idl:
2134 Added two more empty slots to EventListener (for a total of four).
2136 * idl/Accessibility_Accessible.idl:
2137 Added four empty slots to Accessible interface.
2139 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2141 * idl/Accessibility_Registry.idl:
2142 (KeyEventType, EventType):
2143 Marked KeyEventType as deprecated; it duplicates
2144 functionality of EventType, which has been extended to
2145 include Mouse-button events.
2146 (KeyEventTypeSeq): defined in terms of EventType.
2147 (registerDeviceEventListener, deregisterDeviceEventListener):
2148 New methods, for managing listeners to device events,
2149 which potentially may consume them.
2152 Added definition for AccessibleDeviceListener.
2154 * cspi/spi-listener.h:
2155 (enum AccessibleDeviceEventType):
2156 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2157 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2158 for backwards compat.
2159 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2160 and typedef'd AccessibleKeystroke to it for back-compat.
2161 (AccessibleDeviceListenerCB):
2162 New function prototype typedef.
2165 (AccessibleDeviceEventMask): New typedef.
2166 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2167 (AccessibleKeyMaskType):
2168 Set equivalent to AccessibleModifierMaskType for back-compat.
2169 (SPI_createAccessibleKeystrokeListener):
2170 (AccessibleKeystrokeListener_unref):
2171 Deprecated in favor of equivalent (better-named) new API below..
2172 keystroke listeners are like all device listeners.
2173 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2174 New API names for old features :-).
2175 (AccessibleDeviceListener_addCallback):
2176 (AccessibleDeviceListener_removeCallback):
2177 (SPI_registerDeviceEventListener):
2178 (SPI_deregisterDeviceEventListener):
2182 (SPI_createAccessibleKeystrokeListener):
2183 Use new preferred API, cspi_device_listener_new() and
2184 cspi_device_listener_add_cb().
2185 (AccessibleKeystrokeListener_removeCallback):
2186 Use new preferred API, cspi_device_listener_remove_cb().
2187 (AccessibleKeystrokeListener_unref):
2188 Use new preferred API, cspi_device_listener_unref().
2189 (SPI_createAccessibleDeviceListener):
2190 (AccessibleDeviceListener_addCallback):
2191 (AccessibleDeviceListener_removeCallback):
2192 Implementation of new API.
2194 * cspi/spi_registry.c:
2195 (SPI_registerDeviceEventListener):
2196 (SPI_deregisterDeviceEventListener):
2197 Implementation of new API. Fixed memory leak and removed need to
2198 allocate EventTypeSeq (thanks Michael for catching this).
2199 Squashed a wayward CORBA_exception_free that shouldn't get called.
2201 * cspi/bonobo/cspi-bonobo-listener.c:
2203 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2204 (cspi_key_event): renamed to cspi_device_event().
2205 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2206 Extended to handle mouse button events as well as key events.
2207 (CSpiKeystrokeListener):
2208 Class superceded by CSpiDeviceListener.
2209 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2210 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2212 * cspi/bonobo/cspi-bonobo-listener.h:
2213 (CSpiKeystrokeListener):
2214 Class superceded by CSpiDeviceListener.
2215 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2216 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2218 * libspi/Makefile.am:
2219 Replaced keystrokelistener.h and keystrokelistener.c
2220 with devicelistener.h and devicelistener.c; keystrokelisener.h
2221 stub retained for back-compat.
2223 * libspi/keystrokelistener.c:
2227 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2229 * registryd/deviceeventcontroller.c:
2230 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2231 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2232 (DEControllerPrivateData): Added xkb settings data.
2233 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2234 button release events (which can't be captured via XGrabButton).
2235 Don't dispatch via the 'normal' event mechanism if the device event was
2237 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2238 Handle the typeseq data in its new location (see above).
2239 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2240 New methods, for "generic" device listeners.
2241 (spi_controller_register_device_listener):
2242 Now handle mouse event listeners as well as key listeners.
2243 (spi_controller_notify_mouselisteners):
2244 New internal method.
2245 (spi_device_event_controller_forward_mouse_event):
2246 Now we notify mouse device listeners as well as generating the
2247 non-consumable "mouse:" events.
2249 We must check and restore the XKB
2250 modifier map if we consume the event, since the act of triggering
2251 a mouse event will normally reset the XKB latch. This is required for
2253 (spi_controller_register_with_devices):
2254 Load the XKB settings when registering, and register for XKB
2255 state notify events.
2256 (spi_key_eventtype_seq_contains_event):
2257 Renamed spi_eventtype_seq_contains_event, since it's used
2258 internally for all device event types now.
2259 (spi_key_event_matches_listener):
2260 Uses spi_eventtype_seq_contains_event now.
2261 (spi_device_event_controller_object_finalize):
2262 Free the private data and the XkbKeyboard struct.
2263 (impl_register_device_listener, impl_deregister_device_listener):
2264 Implementation of new IDL.
2265 (spi_deregister_controller_device_listener):
2266 New internal method.
2267 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2268 More efficient implementation, we don't have to create a new
2269 XkbControls structure every time we query.
2270 (spi_device_event_controller_class_init):
2271 Initialize the epv entries for the new IDL. Assign the
2272 "spi-dec-private" quark.
2273 (spi_device_event_controller_init):
2274 Initialize the private data.
2275 (spi_device_event_controller_forward_key_event):
2276 Removed a bogus CORBA_exception_free() call.
2278 * registryd/deviceeventcontroller.h:
2279 Replaced inclusion of keystrokelistener.h with
2282 * test/event-listener-test.c:
2283 (report_mouse_event):
2286 Added mouse-event device listener.
2288 * test/test-simple.c:
2289 (create_test_window):
2290 Fixed regression (we were instantiating a GtkRange,
2291 which is now an abstract class). Also fixed to match
2292 existing AtkRole names, this seems to have changed in ATK
2293 awhile ago; too late now I think, and the new
2294 mechanism is at least elegant and consistent with the
2295 glib enum "nick" APIs.
2297 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2299 * idl/Accessibility_Relation.idl:
2300 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2301 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2302 * idl/Accessibility_Role.idl:
2303 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2304 * idl/Accessibility_State.idl:
2305 add STATE_MANAGES_DESCENDANTS
2306 * test/event-listener-test.c:
2307 Added a listener for active-descendant events.
2309 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2311 * atk-bridge/bridge.c
2312 (atk_bridge_init): If application is Bonobo component wait until top
2313 level is added before registering
2314 (spi_atk_bridge_do_registration): New function which contains code,
2315 formerly in atk_bridge_init, to do application registration.
2316 (spi_atk_bridge_toplevel_added): Signal called when top level
2317 added to Bonobo component
2319 This fixes bug #83134.
2321 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2323 * registryd/deviceeventcontroller.c
2324 Fixed compilation error caused by calling gettimeofday()
2327 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2332 Added template for HAVE_XKB.
2335 Changes to check for XKB, and to set the HAVE_XKB #define if it
2338 * libspi/listener.c:
2339 ()impl_notify_event): Make failure to get event source name
2342 * registryd/deviceeventcontroller.c:
2343 (#include): include X11/XKBlib.h.
2344 (DEControllerPrivateData) : New struct.
2345 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2347 (dec_synth_keycode_press) (dec_synth_keycode_release):
2348 New methods; split the key synthesis code into these methods.
2349 They check XKB settings before determining the "time" values to
2350 pass to Xtest; this fixes bug #95828.
2351 (impl_generate_keyboard_event): Changed to use methods above,
2352 instead of callng Xtest directly.
2353 (spi_device_event_controller_init): Initialize new privae struct s
2355 (spi_device_event_controllr_object_finalize):
2356 Free the (new) private data.
2358 * registryd/deviceeventcontroller.h:
2359 Add new gpointer to end of struct data.
2361 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2364 Incremented revision to 1.1.2, SONAME is still '.so', library
2365 extensions are ".so.0.0.2".
2367 * registryd/deviceeventcontroller.c:
2368 FIXES FOR #93592 and #95940.
2369 (statics): renamed mouse_button_state to mouse_mask_state,
2370 added key_modifier_mask.
2371 (spi_dec_poll_mouse_moved):
2372 Added key modifier checks, and emit "keyboard:modifiers"
2373 events when the key modifiers currently in use change.
2374 Also generate "mouse:abs" events periodically, even if the mouse
2375 is stationary (should we?).
2376 Alternatively we could generate "mouse:abs" events for either all
2377 mouse movements, or every 'nth' mouse movement, or at the
2378 beginning and end of every "active" mouse period.
2380 * test/event-listener-test.c:
2381 (main): Added listener for "keyboard:modifiers" events.
2383 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2385 * libspi/keymasks.h:
2386 Added key mask #defines for mouse buttons; e.g.
2387 SPI_KEYMASK_BUTTON1, etc.
2390 Incremented dependency on ATK to version 1.1.0. (This dependency
2391 is probably premature but will soon be real enough).
2393 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2395 * libspi/hyperlink.[ch]
2396 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2397 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2400 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2405 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2407 * registryd/deviceeventcontroller.c
2408 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2409 events to be ignored.
2410 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2411 keyboard_mode so that XAllowEvents() can be called.
2415 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2417 * cspi/spi-accessible.c: Correct names of roles returned by
2418 AccessibleRole_getName(). Fixes bug #95055.
2420 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2422 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2425 * registryd/registry.c
2426 (desktop_remove_application: Write diagnostic message to stderr for
2429 (impl_accessibility_registry_deregister_global_event_listener):
2430 Correct size of lists array. This addresses bug #94555).
2432 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2434 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2437 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2439 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2442 * registryd/registry.c (impl_registry_notify_event): Remove
2443 unnecessary call to parser_event_type().
2445 * docs/reference/cspi/tmpl/spi_component.sgml:
2446 Add reference to SPI_LAYER_WINDOW.
2448 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2450 * registryd/registry.c
2451 (desktop_add_application): Remove leak.
2452 (desktop_remove_application): Remove leak.
2453 (parser_event_type): Remove leak.
2455 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2457 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2458 bogus call to CORBA_string_dup(). Also removed unnecessary
2459 g_string_dup/g_free calls.
2461 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2463 * registryd/deviceeventcontroller.c:
2464 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2466 * test/event-listener-test.c:
2467 main: commented out three redundant listeners, to reduce output
2468 noise. (They still are potentially useful for testing).
2471 2002-09-13 Michael Meeks <michael@ximian.com>
2473 * Update all the copyrights to include Ximian.
2475 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2477 * cspi/spi.h: add SPI_LAYER_WINDOW.
2479 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2480 add Accessibility_LAYER_WINDOW case.
2482 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2484 * libspi/component.c: (impl_accessibility_component_get_layer):
2485 add ATK_LAYER_WINDOW case.
2487 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2489 * configure.in: incremented micro version.
2491 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2493 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2496 Clarified and reworded our commit policy.
2499 Started an API "todo" addition list for 2.2.
2502 (impl_getSelection):
2503 Free char pointer from atk_text_get_selection, which was being leaked.
2505 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2508 Small revision to author acknowledgement.
2510 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2512 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2513 If signal has detail add it to the type of the event.
2516 2002-08-12 Michael Meeks <michael@ximian.com>
2518 * test/test-simple.c (global_listener_cb): bin bogosity.
2519 (test_keylisteners): disable, still doesn't work reliably,
2520 certainly not on my system anyway.
2522 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2523 don't leak a reference on the DEC. This round-trip
2524 fetching of the DEC per keystroke sucks, it should be
2527 * cspi/spi-private.h,
2528 * cspi/cspi-lowlevel.h,
2529 * cspi/bonobo/cspi-bonobo-listener.[ch],
2530 * cspi/bonobo/cspi-bonobo.c: get the copyright
2531 notices better - there is still a large amount of
2532 work in at-spi falsely attributed solely to Sun.
2534 * cspi/spi_main.c (cspi_object_ref): kill bogus
2535 hash lookup, just increment the ref.
2536 (SPI_freeString): make explicit the fact that we
2537 handle NULL strings just fine.
2538 (report_leaked_ref): obey coding standards.
2539 (cspi_object_hash, cspi_object_equal): kill retval.
2540 (cspi_object_release): only release if not on loan.
2541 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2542 (cspi_object_borrow, cspi_object_return): impl.
2544 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2545 use cspi_object_borrow / return.
2547 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2549 * cspi/bonobo/cspi-bonobo-listener.c:
2551 Don't call cspi_oject_new() because this is creating a new Accessible
2552 every single time that an event is fired. This causes ATs like at-poke
2553 to nolonger recognise the source of the event and thus ignore it.
2554 Re-use the object from the cache, ref it and then unref it after the
2555 listeners have been called.
2557 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2559 * test/event-listener-test.c:
2560 Added command-line options to disable mouse events (m) and
2563 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2565 * configure.in: Update required versions of ATK, GTK+ and GAIL
2567 * cspi-1.0.pc.in: Add dependency for X include files
2570 * cspi/bonobo/Makefile.am:
2571 Add $(X_CFLAGS) so that X include files
2572 are picked up even if not in standard place (bug #71686)
2574 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2576 * registryd/deviceeventcontroller.c: fix for 84261
2577 (spi_dec_mouse_moved):
2578 Added test of mouse button mask, so that we can detect mouse
2579 button release. Unfortunately we can't otherwise detect mouse
2580 button release events without consuming the mouse press event,
2581 because of the way XGrabButton works. This means that our mouse
2582 release events have a latency dependent on the polling period
2583 while the mouse button is down. At least in this case we only
2584 have to poll while the button is down, and not at other times.
2585 If the button masks don't match with what the last press event
2586 reported, we report the appropriate button release event.
2587 (spi_dec_ungrab_mouse):
2588 New method (not yet called).
2589 (spi_device_event_controller_forward_mouse_event):
2590 New method, sends mouse press event from GdkFilter.
2591 (spi_dec_init_mouse_listener):
2592 Added code to call XGrabButton, redirecting mouse button events to
2593 the root window and our Gdk event loop.
2595 Added code to filter mouse button events, and reordered.
2597 * test/event-listener-test.c:
2599 Added registration for mouse events of type "mouse:button".
2601 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2603 * registryd/deviceeventcontroller.c: partial fix for 84261
2604 (spi_dec_poll_mouse_idle):
2605 New method, a timeout which checks to see if the mouse
2607 (spi_dec_poll_mouse_moving):
2608 A timeout to be called when mouse motion is underway.
2609 (spi_dec_poll_mouse_moved):
2610 A method which fires an event if the mouse has moved, and reports
2611 whether or not it did so.
2612 (spi_dec_init_mouse_listener):
2613 A method which sets up the timeouts above.
2614 (spi_device_event_controller_new):
2615 Now calls spi_dec_init_mouse_listener.
2617 * registryd/registry.c:
2618 (spi_registry_init):
2619 Now we initialize the device event controller when the registry is
2620 initialized, instead of waiting until a client has requested a key
2621 event notification; this is because we need the event controller
2622 for mouse events, but the mouse event registration API is a
2623 "registry" call and doesn't explicitly call the
2624 deviceeventcontroller.
2625 We now report mouse motion events with a 100 ms idle latency and
2626 a 20 ms granularity when motion is in progress.
2628 * test/event-listener-test.c:
2630 We now register the "detail listener" for events of type
2631 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2632 delivered only for the first mouse event received, and thereafter
2633 "mouse:abs" events are delivered.)
2635 * cspi/spi_registry.c:
2636 DOCS: Documented the above mouse event typestrings.
2638 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2640 Happy Summer Solstice...
2642 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2643 (spi_controller_notify_keylisteners):
2644 Changes to remove a listener from the listener list, freeing its
2645 open keygrabs, if a notification to that listener fails. This
2646 means that although a dead listener can continue to hold a passive
2647 keygrab, a maximum of one dispatch to such a listener can fail
2648 before the listener is removed from the list, thus the keygrab
2649 will be released on the next occurrence.
2650 As part of this fix:
2651 (spi_notify_keylisteners):
2652 Renamed to spi_controller_notify_keylisteners, as the controller
2653 instance must now be passed as an argument.
2654 The copied 'notify' GList is now a list of DEControllerKeyListener
2655 objects, since we need more than just the CORBA reference if a
2656 notify fails and we need to deregister the listener.
2657 (impl_notify_listeners_sync):
2658 (impl_notify_listeners_async):
2659 (spi_device_event_controller_forward_key_event):
2660 Modify use of notify_keylisteners in accordance with above
2662 (spi_deregister_controller_key_listener):
2663 New method introduced by refactoring, from
2664 impl_deregister_keystroke_listener.
2665 (impl_deregister_keystroke_listener):
2666 Call spi_deregister_controller_key_listener.
2667 (spi_key_listener_clone):
2668 New method to copy a key listner without doing a 'ref' on the
2669 remote object instance; used to create a notifier list.
2670 (spi_key_listener_data_free):
2671 New method, frees data without unreffing the source.
2673 (spi_key_listener_clone_free): new method.
2674 (spi_key_listener_free):
2675 refactored to call spi_key_listener_data_free.
2677 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2679 * registryd/registry.c: [fix for bug 86048]
2680 (notify_listeners_cb):
2681 Clear CORBA system exceptions which occur when notifying
2682 listeners, before returning to the source of the original event,
2683 since the event source doesn't care if the relayed notify failed.
2684 In other words, don't complain to the atk-bridge if the registry
2685 could not notify all its listeners, that's no fault of the
2686 application and thus should not appear to be an error from the
2687 application's perspective.
2689 * cspi/spi_main.c: [fix for bug 85980]
2691 Replaced use of bonobo_object_dup_ref with call to the wrapper
2692 method, csou_dup_ref (); this silences a compiler warning and
2693 provided more portability.
2695 Ping the registry before return, and restart if necessary.
2697 * cspi/bonobo/cspi-bonobo.c:
2699 New internal method.
2701 Fixed this method to return an object reference, as it should have
2704 * cspi/cspi-lowlevel.h:
2705 Added internal definition for cspi_ping() and fixed
2706 return type of cspi_dup_ref().
2709 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2711 * atk-bridge/bridge.c: [fix for bug 85305]
2712 (spi_atk_bridge_register_application):
2713 New method where the initial application registry calls have been
2714 moved; it allows an application to re-register in response to
2715 certain error conditions (such as a registry restart, see below).
2717 Moved some initialization code to the method
2718 spi_atk_bridge_get_registry, below.
2719 (spi_atk_bridge_get_registry):
2720 New, private accessor function for the Accessibility_Registry
2721 instance. If the registry has not been started before, or has
2722 died (as detected by failure of a CORBA exception), it is
2723 restarted before return, and spi_atk_bridge_register_application
2724 is called again to register with the new bridge instance.
2725 (spi_atk_emit_eventv):
2726 Set registry_died on error; use spi_atk_bridge_get_registry () to
2727 access the registry.
2729 * registryd/registry.c:
2730 (impl_accessibility_registry_register_global_event_listener):
2731 Set listener's event_type_quark to etype.minor instead of
2732 etype.major (fix for bug 84856).
2734 * test/event-listener-test.c:
2735 (report_detail_event):
2736 Change the output string so that user/tester can tell that the
2737 'detail listener' was called instead of the 'generic listener'.
2739 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2741 Fixes for bugs 84900, 84908, 84897, 84898.
2746 Revved version to 1.1.0
2747 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2748 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2750 * idl/Accessibility_Registry.idl:
2751 (EventListener::notifyEvent):
2752 Removed 'oneway' directive after extensive consulation with
2753 ORBit2 team and others. This means also that unref() of the event
2754 source can and should be done synchronously after emission, rather
2755 than remotely in the client, after servicing the notify call on
2758 NOTE: This change speeds up listener performance considerably, but
2759 introduces new latency on the application side. We may want to
2760 add an event queue to the atk-bridge.
2762 * atk-bridge/bridge.c:
2763 (spi_atk_bridge_focus_tracker):
2764 Do a local unref() on the event source after emission.
2766 * registryd/registry.c:
2767 (desktop_remove_application):
2768 Do an unref() on the event source after emission.
2769 (desktop_add_application):
2770 Do an unref() on the event source after emission.
2771 (notify_listeners_cb):
2772 When relaying an event, don't automatically add the event source
2773 to the local object cache, just CORBA_dup it instead. Likewise,
2774 if this method reenters, release the ref rather than calling
2776 (impl_registry_notify_event):
2777 No longer call remote unref() on the event source after dispatch.
2779 * libspi/eventlistener.c:
2780 (impl_accessible_event_notify_event):
2781 Removed remote unref ()
2783 * cspi/bonobo/cspi-bonobo-listener.c:
2785 We now call cspi_object_new() instead of cspi_object_add() on
2786 receipt of an event; thus we only have an implicit object ref
2787 while the cspi_event method is being executed. If we need to keep
2788 a reference to the object, the listener must call ref() on the
2789 object. Thus also we don't need to call cspi_object_unref() after
2790 invoking the listener callbacks in this method.
2794 New internal API for creating a new cspi object, without adding it
2795 to the object cache.
2797 Now uses cspi_object_new() to create the cspi object instance.
2799 Now checks to see if the object is in the internal object cache,
2800 and adds it if necessary before incrementing its refcount (note
2801 that new objects are added with a refcount of 1).
2802 (report_leaked_ref):
2803 New method which gives some information on leaked object instances
2804 if leak detection is turned on.
2806 * test/event-listener-test.c:
2807 (timing_test_event):
2808 New method, used for testing event delivery timing for special
2809 events of type "object:test". It reports elapsed time and
2810 events/sec every 500 events.
2812 Added a new listener, 'test listener', to check timing of event
2813 receipt as noted above.
2815 Added some timing output here also, reports elapsed time every 100
2818 * test/stress-test.c:
2819 Emit events of type "object:test", for use with "event-listener-test".
2821 * test/test-simple.c:
2822 (global_listener_cb):
2823 Call Accessible_ref() on the event source before calling
2824 validate_accessible, since the validation process does pointer
2825 comparisons on the event source, meaning that the event source
2826 needs to be added to the local object cache first. Any use of
2827 such pointer comparisons between Accessible objects requires that
2828 the caller hold an explicit reference to those objects.
2829 We also must therefore call Accessible_unref() when leaving this method.
2831 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2833 * registryd/deviceeventcontroller.c:
2834 (spi_controller_update_key_grabs):
2835 Fix for #84735, subsequent keygrab listeners not informed of
2836 registration failure.
2839 (spi_base_construct):
2840 Add an assertion on construct, to make sure the GObject passed in
2841 is really a GObject.
2843 Explicitly initialize object->gobj pointer to NULL;
2845 * cspi/bonobo/cspi-bonobo-listener.c:
2846 (cspi_object_add_ref):
2847 New method, can specify whether to dup-ref a bonobo object passed
2848 in if it's newly added to the object cache.
2850 Now calls cspi_object_add_ref with second param of "FALSE". This
2851 prevents us from doing a pointless dup-ref followed by
2852 release-unref for all those cases where the object is already in
2853 our object cache (fix for #85205).
2855 * atk-bridge/bridge.c:
2856 (spi_atk_bridge_idle_init):
2857 Removed this method, we don't need to initialize in an idle
2860 Changed to call spi_atk_register_event_listeners directly, not via an
2861 idle handler. (fix for #81139)
2862 (gnome_accessibility_module_shutdown):
2863 Removed conditional around deregistration of listeners, since we
2864 don't use the idle handler and thus have always registered when
2866 (spi_init_keystroke_from_atk_key_event):
2867 Changed references to Accessibility_KEY_PRESSED to
2868 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2870 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2872 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2877 * test/stress-test.c:
2880 (may have been an incomplete commit yesterday?)
2882 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2885 Added target for new stress-test.
2887 * test/stress-test.c:
2888 New test, sends 1000 focus notifies in quick succession.
2890 * test/key-listener-test.c:
2891 Now we report whether a keylistener registration
2892 request succeeded or failed.
2894 * test/event-listener-test.c:
2895 Uncommented some listeners which are now implemented.
2898 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2900 * registryd/deviceeventcontroller.c:
2901 (spi_controller_update_key_grabs):
2902 Fix for #82509, lack of failure notification when
2903 ALL_WINDOWS keygrabs fail due to XGrabKey
2904 failure: we synchronize the server when
2905 registering a passive grab, to make sure we get the
2906 error message before the call returns.
2908 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2910 * test/test-simple.c:
2912 Removed #ifdef KEY_IMPL_WORKS guards.
2913 (test_keylisteners):
2914 Removed #ifdef KEY_IMPL_WORKS guards.
2915 Fixed bug which was causing a hang waiting for a
2916 "press" event (which was already overwritten by a "release"
2917 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2919 Added code to set globals 'key_press_received' and
2920 'key_release_received'.
2923 Added section "1.1 API Proposed Additions" which
2924 lists API additions desired for at-spi-1.1 (only one so far).
2925 Updated TODO list a little.
2927 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2929 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2932 * configure.in: Revved to 1.0.0.
2934 * idl/Accessibility_Registry.idl:
2935 (registerKeystrokeListener):
2936 Added boolean return value.
2938 * registryd/registry.c:
2939 (notify_listeners_cb): Minor fix to debug output.
2941 * registryd/Accessibility_Registry.server.in.in:
2942 Revved version number in OAFIID to 1.0.
2944 * registryd/registryd.c:
2946 Use new OAFIID version.
2948 * cspi/bonobo/cspi-bonobo.c:
2950 Use new OAFIID version.
2956 * atk-bridge/bridge.c:
2958 Use new OAFIID version.
2960 * registryd/deviceeventcontroller.c:
2961 (impl_register_keystroke_listener):
2962 Added CORBA_boolean return value.
2963 (spi_controller_register_device_listener):
2964 Added gboolean return value.
2965 (spi_controller_register_global_keygrabs):
2966 Added gboolean return value.
2967 (spi_key_set_contains_key):
2968 Added implementation for many more control keys,
2969 for instance F1-F12, arrow keys, End, Home, Page_Up,
2971 [TODO: some still not implemented].
2973 * text/screen-review-test.c:
2974 (text_chunk_pad_string):
2975 New function: it provides mapping between coordinate
2976 positions of text chunks and character positions in the
2977 screen-review-line output string.
2978 (text_chunk_to_string):
2979 New function, calls text_chunk_pad_string with various
2980 pad/delimiter characters. Pushbuttons are delimited with
2981 square brackets, Frames with vertical 'pipe' lines, and
2982 other text with double quotes.
2983 (text_chunk_list_to_string):
2984 Calls new function text_chunk_to_string.
2985 (toplevel_composite):
2986 New function to composite layers CANVAS through
2987 POPUP in each toplevel (other layers are composited
2988 across toplevels, i.e. BACKGROUND and OVERLAY).
2989 (review_buffer_composite):
2990 Revise to use new methods.
2996 2002-05-31 Laszlo Peter <laca@sun.com>
2998 * configure.in: add the Xtst libdir to the runpath on Solaris,
2999 since it's not in the default library search path.
3001 2002-05-29 jacob berkman <jacob@ximian.com>
3003 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3005 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3007 * test/screen-review-test.c:
3008 (text_chunk_pad_string):
3009 Added method, which pads the string according to the
3010 text bounds of the chunk. It also takes a 3-character
3011 string as a param which indicates the characters to be
3012 used for start, padding, and end delimitation of the chunk.
3013 (text_chunk_to_string):
3014 Changed to use text_chunk_pad_string.
3016 * configure.in: Fixed bug in AC_OUTPUT that was
3017 causing path substitution in Accessibility_Registry.server
3020 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3022 * text/screen-review-test.c:
3023 (guess_string_clip):
3024 New method which attempts a best-guess at clipping
3025 text from components (like Java labels) which don't
3026 actually implement AccessibleText. This inaccurate
3027 clip is based on the assumption that the label is
3028 justified left-and-right, and monospaced.
3029 (text_chunk_get_clipped_string):
3030 We now call guess_string_clip() for text-containing
3031 components that don't implement AccessibleText.
3033 * test/screen-review-test.c:
3034 (review_buffer_get_text_chunk):
3035 We now pull "name" from labels if they do not implement
3036 AccessibleText (i.e. for Java labels).
3037 (get_screen_review_line_at):
3038 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3041 Replaceded AC_OUTPUT target
3042 registryd/Accessibility_Registry.server with
3043 registryd/Accessibility_Registry.server.in.
3045 * registryd/Accessibility_Registry.server.in:
3046 Removed (this is now a Makefile target).
3048 * registryd/Accessibility_Registry.server.in.in:
3049 Added (source for target above). We now use $(libexecdir) as
3050 prefix for the executable at-spi-registryd.
3052 * registry/Makefile.am:
3053 Now install at-spi-registryd into $(libexecdir), and build .server
3054 file with path (see above).
3056 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3058 * test/screen-review-test.c:
3059 (text_chunk_get_clipped_string):
3060 We now check to see if words fall within clip bounds
3061 before resorting to character-by-character clip bounds testing.
3063 * TODO: Added a section for "2.2 Proposed API Additions".
3065 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3067 * test/screen-review-test.c:
3069 Added a screen review benchmarking and test program to test
3072 * cspi/spi_accessible.c:
3074 Made some of the debug strings passed to cspi_check_ev a
3075 little more specific.
3077 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3079 * test/screen-review-test.c: Fix crashes in debug statements
3081 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3083 * test/screen-review-test.c: Added this file.
3085 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3087 * atk-bridge/bridge.c: changed "object:state-change" to
3088 "object:state-changed" to match docs.
3090 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3092 * atk-bridge/bridge.c: Hooked up state-change event details.
3094 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3096 * registryd/registry.c:
3097 Fixed quarking bug in event string parsing; now events with
3098 detail parameters get matched correctly to listeners.
3101 * util/idl/Magnifier.idl: remove.
3103 * util/*.[ch]: Remove.
3104 Magnification utilities and IDL are now in module gnome-mag.
3106 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3108 * registryd/deviceeventcontroller.c:
3109 Fixed bug in grab key conversion which was causing keycode grabs
3110 to be converted to AnyKey grabs.
3113 updated NEWS file to reflect recent spin-off of gnome-mag.
3115 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3117 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3118 busted AccessibleStateSet_compare. Removed redundant casts.
3120 * cspi/spi-action.c: Removed redundant casts.
3122 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3124 * cspi/spi_component.c: Fixed typos and casting error.
3126 * cspi/spi_editabletext.c: Removed redundant casts.
3128 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3130 * cspi/spi_hypertext.c: Eliminated redundant casts.
3132 * cspi/spi_image.c: Eliminated redundant casts.
3134 * cspi/spi_registry.c: Eliminated redundant casts.
3135 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3136 * cspi/spi_selection.c: Removed redundant casts.
3137 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3138 handling. Screen geometry and text offsets were being returned as 0
3139 on error which is technically valid-- changed these to return -1.
3140 Added marshaller for text boundary types to fix bug with boundary
3141 types being passed incorrectly to atk.
3143 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3146 * cspi/spi_registry.c:
3147 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3148 which was uncovered by the recent key changes.
3150 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3152 * test/event-listener-test.c:
3154 Added new test, "event-listener-test";
3155 this code does two things; it benchmarks traversal time
3156 for the accessible hierarchy for the first running accessible
3157 app, and it connects listeners for all supported event types.
3158 It is thus useful as an example event listener and for
3159 diagnostics/debugging of event generation.
3161 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3164 Removed unnecessary dependency on libutil.
3167 Revved micro version: 0.13.1
3169 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3172 Removed util/Makefile from targets.
3175 Removed util subdir from SUBDIRS (temporarily,
3176 pending removal of magnifier-only code
3180 #ifdef-ed out magnifier dependencies, since
3181 magnifier IDL, headers, and binary now live in
3182 module gnome-mag and we don't want at-spi to depend
3183 on gnome-mag. A magnifier demo which can run alongside
3184 simple-at is forthcoming in the gnome-mag module.
3186 NOTE: Split magnifier binary, IDL, and magnification
3187 activation code from at-spi into module gnome-mag.
3189 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3191 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3192 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3194 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3197 Revved to version 0.13.0
3199 * idl/Accessibility_Registry.idl:
3200 Changed definition of KeySet from sequence of longs to sequence of
3201 KeyDefinitions, and added KeyDefinition struct.
3202 Required for fix to bug 80616.
3204 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3205 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3206 to use new definition (see above).
3208 * registryd/deviceeventcontroller.c: handle_keygrab(),
3209 spi_keyset_contains_key():
3210 Changed to make use of new struct; this allows matching based on
3211 string key-name, for instance "Tab". This also allows matching of
3212 composed characters, non-alphanumeric characters in a way that
3213 doesn't involve dependencies on X keysym codes directly, etc.
3215 * test/key-listener-test.c:
3216 Added test for Alt-Tab key using "string" specification of keyset,
3217 and modified one of the tests to use a keycode-based keyset.
3218 Thus this test both tests and demonstrates the creation and use of
3219 keysets of three forms: specified via keycode array,
3220 keysym array, and string array. (The string case only contains a
3221 single string, i.e. a string array of length 1).
3224 Turned on PRINT_TREE option by default. Also fixed a
3225 string-freeing bug in the PRINT_TREE code.
3226 Added a listener to window:minimize events.
3228 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3230 * atk-bridge/bridge.c:
3231 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3232 for window:activate and window:deactiveate
3233 (atk_bridge_property_event_listener atk_bridge_signal_listener
3234 atk_bridge_window_event_listener) Tidy debug code
3236 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3238 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3239 Fixed handling for NULL return value from ATK.
3241 * libspi/action.c libspi/component.c libspi/editabletext.
3242 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3243 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3244 Removed redundant casts.
3246 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3247 Fixed off by one bug.
3249 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3250 function not present in idl)
3252 2002-05-02 jacob berkman <jacob@ximian.com>
3254 * atk-bridge/Makefile.am: make atk-bridge a real module
3256 2002-04-26 Radek Doulik <rodo@ximian.com>
3258 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3259 atk_state_types table
3261 2002-04-22 jacob berkman <jacob@ximian.com>
3264 * libspi/Makefile.am: add deps on the built files to help
3265 automake, and don't version the ORBit typelib
3267 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3269 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3270 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3271 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3272 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3273 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3274 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3275 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3276 libspi/accessible.h libspi/accessible.h libspi/base.h
3277 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3278 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3279 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3280 libspi/spi-private.h libspi/statetset.h libspi/table.h
3281 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3282 util/mag_client.h util/mag_control.c util/mag_image.c
3283 util/mag_image.h util/magnifier.c util/magnifier.h:
3284 Add missing file headers; standardize existing ones
3286 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3288 * atk-bridge/bridge.c: Added window event support.
3290 2002-04-18 Michael Meeks <michael@ximian.com>
3292 * libspi/relation.c (impl_getNTargets): impl.
3293 (impl_getTarget): impl.
3295 * libspi/Makefile.am: fix stateset install.
3297 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3300 Started putting useful info in this file.
3302 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3304 * atk-bridge/bridge.c:
3305 Propagate state-changed notifications to ATs
3307 * cspi/spi_registry.c: update docs to reflect actual behavior of
3308 state-change events.
3310 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3313 Incremented version to 0.12.1
3315 * util/mag_client.h:
3316 Add missing declaration for magnifier_exit,
3317 used by mag_control.c - Forte compiler didn't like
3318 the implicit redeclaration of the function :-(
3321 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3324 Revved version to 0.12 due to API change (see below).
3326 * cspi/spi-roletypes.h:
3327 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3328 definition from the inline docs, and added docs
3329 for SPI_ROLE_LAST_DEFINED.
3332 * cspi/spi_streamablecontent.c:
3333 Added missing seek_type parameter to
3334 (so far unused) method,
3335 AccessibleStreamableContent_seek().
3336 [ RT approval JodyG. ]
3339 Fixed docs for SPI_createAccessibleKeystrokeListener.
3341 * cspi/spi_registry.c:
3342 Fixed docs for SPI_KEYSET_ALL_KEYS.
3344 * docs/reference/cspi/at-spi-cspi-sections.txt:
3345 Added a number of missing APIs to SECTIONS.
3347 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3349 * registryd/Makefile.am:
3351 * cspi/bonobo/Makefile.am:
3352 Add $(X_LIBS) to makefiles.
3354 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3357 Revved version to 0.11.
3359 * libspi/component.c:
3360 Added implementation for grabFocus.
3362 * idl/Accessibility_Component.idl
3363 (Accessibility_Component_grabFocus):
3364 Made this method return boolean to indicate success or failure, to
3365 be consistent with cspi and the corresponding ATK method.
3367 * idl/Accessibility_Selection.idl
3368 (Accessibility_Selection_selectAll) :
3369 Made these methods return boolean to indicate success or
3370 failure, to be consistent with cspi and the corresponding ATK methods.
3372 * idl/Accessibility_EditableText.idl
3373 (Accessibility_EditableText_setTextContents,
3374 Accessibility_EditableText_insertText,
3375 Accessibility_EditableText_cutText,
3376 Accessibility_EditableText_deleteText,
3377 Accessibility_EditableText_pasteText):
3378 Made these methods return boolean to indicate
3381 * cspi/spi_editabletext.c:
3382 Made these methods return booleans.
3384 * libspi/selection.c:
3385 * libspi/component.c:
3386 * libspi/editabletext.c:
3387 Connected the boolean returns from ATK
3388 to the server-side code referenced above.
3390 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3392 * idl/Accessibility_Table.idl: Added missing methods,
3393 Accessibility_Table_addRowSelection,
3394 Accessibility_Table_addColumnSelection,
3395 Accessibility_Table_removeRowSelection,
3396 Accessibility_Table_removeColumnSelection.
3399 Added C wrappers for above IDL:
3400 AccessibleTable_addRowSelection,
3401 AccessibleTable_addColumnSelection,
3402 AccessibleTable_removeRowSelection,
3403 AccessibleTable_removeColumnSelection.
3406 Added server-side implementation code for IDL above, connecting
3407 to pre-existing ATK api.
3409 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3411 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3413 * libspi/accessible.c: Added implementation fo
3414 Accessibility_Accessible_get_state.
3416 * libspi/libspi.h: Added stateset.h to the list of includes.
3418 * libspi/stateset.c: Fixed broken implementation.
3420 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3423 Added implementation code for Accessibility_Magnifier_exit ().
3425 * util/mag_control.c:
3426 Added test code for above method; you can
3427 now kill an existing magnifier via
3428 ./mag_control q, from the util directory.
3430 * test/key-listener-test.c:
3432 Added a new test, for our key listener API.
3434 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3436 * test/app.c, test/keysynth-demo.c:
3438 Replace use of snprintf with g_snprintf.
3439 (fix for bugzilla 78249)
3441 2002-03-27 Michael Meeks <michael@ximian.com>
3445 * util/Makefile.am (INCLUDES): fix.
3446 (DONT_DIST_SOURCE): don't distribute the
3449 * libspi/Makefile.am (dist-hook): ditto.
3451 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3453 * libspi/hypertext.c:
3454 Fix warnings when yelp is used with atk-bridge
3456 2002-03-21 Michael Meeks <michael@ximian.com>
3458 * libspi/application.c (spi_application_new):
3459 use spi_accessible_construct so we use the AtkObject
3462 2002-03-19 Michael Meeks <michael@ximian.com>
3464 * registryd/registry.c (desktop_remove_application),
3465 (desktop_add_application): clean coding style.
3467 * registryd/desktop.c (spi_desktop_remove_application),
3468 (spi_desktop_add_application): kill re-enterency hazards.
3469 (spi_desktop_dispose): remove bogus redundant cast
3470 obscuring bug; fix bug too.
3471 (spi_desktop_init): make the desktop object immortal.
3473 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3476 Added a #define-guarded tree-traversal step
3477 when enumerating the apps (diagnostic tool).
3479 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3481 * idl/Accessibility_Role.idl:
3482 Added ROLE_DRAWING_AREA which seemed to be missing from the
3485 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3487 * cspi/spi-roletypes.h cspi/spi_accessible.c
3488 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3491 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3492 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3493 AT when applications are added and removed from the desktop. This
3494 reverts the previous broken implementation using the backing
3495 AtkObject for the SpiDesktop.
3497 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3499 * registryd/desktop.c: emit the "children-changed::add" and
3500 "children-changed::remove" signals on the backing ATK object for
3501 the desktop so AT can tell when applications are started and shut
3504 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3506 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3508 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3510 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3512 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3514 * cspi/state-types.h: synched with IDL and ATK
3516 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3518 * libspi/accessible.c
3519 (impl_accessibility_accessible_get_child_at_index):
3520 Change return value for g_return_if_fail ()
3521 to CORBA_OBJECT_NIL instead of "0" (!)
3523 * registryd/Makefile.am:
3524 * registryd/Accessibility_Register.server.in:
3525 Changed name of executable, "registryd",
3526 to something more informative:
3529 2002-03-13 Michael Meeks <michael@ximian.com>
3531 * atk-bridge/bridge.c (atk_bridge_init): don't register
3532 if we're in a bonobo-component, rather than a bonobo app.
3534 2002-03-13 Michael Meeks <michael@ximian.com>
3536 * atk-bridge/bridge.c (gtk_module_init): split
3537 out body to (atk_bridge_init): here, since otherwise
3538 we get symbol conflicts and oddness when invoked
3539 from (gnome_accessibility_module_init): here (upd.)
3541 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3544 New file. Explicitly allow "build sheriff" putbacks provided
3545 they are tested on Solaris.
3547 * docs/reference/cspi/Makefile.am:
3548 Added '-' to the "cp" command for index.sgml.
3549 ("patch by thomasvs, soon coming to a GUADEC near you")
3552 Incremented version number (0.9.0) for new release.
3553 Changed macro that checks for popt, to better detect
3554 obsolete versions of popt.
3557 Added X_LIBS to AC_SUBST, for applications
3558 that call Xlib API directly.
3561 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3564 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3567 Fix regression caused by hard-coding major
3568 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3571 * test/test-simple.c (test_editable_text),
3572 (test_test): revert previous change (error was
3573 a regression in gail which is now fixed).
3575 2002-03-04 Michael Meeks <michael@ximian.com>
3577 * test/test-simple.c (test_editable_text),
3578 (test_text): pass G_MAXINT instead of '-1' for
3579 whole string - is this a good thing !?
3581 * cspi/spi_accessible.c
3582 (Accessible_getRelationSet): fix crasher bug
3583 overwriting the end of the array.
3585 * test/test-simple.c (validate_accessible): free,
3586 not g_free returned relation set.
3588 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3590 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3591 implemented stateset support
3593 * idl/Accessibility_State.idl: Made necessary changes to
3594 the IDL to support state sets.
3596 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3598 * registryd/deviceeventcontroller.c:
3599 Added implementation for generateMouseEvent.
3601 * cspi/spi_registry.c:
3602 Connected new implementation for generateMouseEvent
3605 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3608 Incremented revision (but no change in public API
3609 outside of 'utils', which are not installed public yet.)
3611 * libspi/component.c:
3612 Changed to use atk_component API for layers and
3613 mdi_zorder, instead of deprecated atk_object API.
3615 Magnification Utility Enhancements:
3618 Added implementation of createZoomRegion, clearAllZoomRegions,
3619 resizeZoomRegion. Added new commandline argument
3620 "--no-initial-region". Note that clearAllZoomRegions doesn't
3621 unmap the old '0' region as it should (yet), and the other
3622 methods only work when creating/resizing a single region,
3623 which is "region 0".
3624 (Code for multiple region support will be added later.)
3627 Now we raise the magnifier window each time it's refreshed;
3628 this will help keep it on top.
3630 * util/mag_client.h:
3631 Added simple wrappers for above, used by mag_control.
3632 For general use, it's recommended to use the bonobo magnifier
3633 control API directly instead of using these wrappers.
3636 Moved ZoomRegionData from magnifier.c to this file.
3638 * util/mag_control.c:
3639 Added some code to exercise new IDL implementations.
3641 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3643 * libspi/text.c: Provide implementation for getAttributes.
3645 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3648 Incremented revision.
3650 * test/test-simple.c:
3651 Replaced use of deprecated g_main_iteration with
3652 g_main_context_iteration.
3654 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3657 Incremented revision for desktop alpha 2.
3659 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3661 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3664 * test/simple-at.c: include netinet/in.h.
3666 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3668 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3669 use NULL, not CORBA_OBJECT_NIL.
3671 * libspi/accessible.c:
3672 (impl_accessibility_accessible_get_relation_set):
3673 allocate the sequence correctly.
3675 * libspi/remoteobject.h: kill spi_remote_object_new.
3677 * test/test-simple.c: (validate_accessible): add code
3678 to test relation sets, now all we need is to figure
3679 out how to excercise this code path :/
3681 2002-01-18 Michael Meeks <michael@ximian.com>
3683 * test/test-simple.c
3684 (key_listener_cb): consume the key.
3685 (test_keylisteners): update.
3686 (main): wait for any pending unrefs on events.
3688 * registryd/deviceeventcontroller.c
3689 (spi_controller_update_key_grabs): only re-issue the
3690 grab on a key release.
3691 (spi_device_event_controller_forward_key_event):
3692 refresh the keygrabs before we notify the listeners,
3693 to reduce the X ungrab / re-grab race.
3694 (spi_controller_register_with_devices): remove
3695 XSelectInput - we do that with the gdk_window_ call.
3696 (_spi_controller_device_error_handler): return a value.
3697 s/GDK_DISPLAY/spi_get_display/
3699 2002-01-17 Michael Meeks <michael@ximian.com>
3701 * registryd/deviceeventcontroller.c
3702 (_deregister_keygrab): don't blow out the later
3705 * test/test-simple.c (test_keylisteners): do a
3706 more intelligent validation.
3708 2002-01-14 Michael Meeks <michael@ximian.com>
3710 * atk-bridge/bridge.c
3711 (gnome_accessibility_module_init),
3712 (gnome_accessibility_module_shutdown): impl.
3713 (gtk_module_init): protect vs. double inits.
3714 (add_signal_listener): impl.
3715 (spi_atk_bridge_state_event_listener): kill
3716 (deregister_application): split out of
3717 (spi_atk_bridge_exit_func): here.
3719 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3722 Added caret tracking when using magnifier, and
3723 now use text bounds for focus tracking of text elements, rather than
3724 the component bounds - this is helpful for short text fields in long
3725 table cells, at high magnification.
3727 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3729 * registryd/deviceeventcontroller.c:
3730 Regression fix for keylistener de-registration; global keygrabs
3731 were not being released when deregisterKeystrokeListener was
3732 called in cspi, since
3733 Accessibility_DeviceEventController_deregisterKeystrokeListener
3734 was called with a zero-length keyset. That is because the cspi
3735 method, SPI_deregisterKeystrokeListener, does not take a keyset
3736 parameter but instead should remove all the key grabs held be a
3738 The code in impl_deregister_keystroke_listener was changed to copy
3739 the keylist from the listener instance previously registered with
3740 the DeviceEventController before releasing the grabs.
3742 * registryd/registry.c:
3743 * registryd/deviceeventcontroller.c:
3744 * libspi/spi-private.h:
3746 Changed spelling of "re-enterant" to "re-entrant" globally.
3748 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3750 * test/test-simple.c:
3751 Changed key listeners test - the test was slightly mis-using the
3752 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3753 It now uses '=' as the key event listened to and generated,
3754 relying on a keysym match rather than assuming that keycode 33
3755 is always equal to keysym '!'.
3757 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3760 Changed simple-at to use a specific keyset, rather than
3761 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3762 manager, desktop, etc.
3764 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3766 * registryd/deviceeventcontroller.c:
3767 Replaced standard X error handler with a special handler that
3768 is non-fatal for failed keygrabs. This works around
3769 problems with keygrab clashes sometimes observed on
3771 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3772 mouse handling code as yet).
3774 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3777 Incremented revision for desktop alpha release.
3780 Fixed a couple of the more glaring errors (still not
3783 2002-01-11 Michael Meeks <michael@ximian.com>
3785 * registryd/deviceeventcontroller.c
3786 (spi_device_event_controller_forward_key_event): kill
3787 XUngrabKey / XKeyGrab race.
3788 (spi_controller_grab_keyboard): rename to
3789 (spi_controller_update_key_grabs): this, and deal
3790 with incremental adding / removing grabs more
3792 (_register_keygrab): ensure we're not pending a remove.
3793 (spi_grab_mask_free): impl.
3794 (spi_controller_register_global_keygrabs): split out
3796 (handle_keygrab): impl.
3797 (_deregister_keygrab): impl.
3798 (spi_controller_deregister_global_keygrabs): impl.
3799 (spi_controller_update_key_grabs): re-issue the grab if
3800 we just recieved a notification.
3802 * test/test-simple.c (key_listener_cb): remove debug.
3804 * registryd/deviceeventcontroller.c
3805 (spi_controller_register_device_listener): after
3806 registering a global keygrab, actualy register it !
3807 don't wait for a timeout; doh !
3809 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3810 to make it more readable / manipulable.
3811 s/grabmask/grab_mask/ s/refcount/ref_count/
3812 s/keyval/key_val/ s/modmask/mod_mask
3814 2002-01-08 Michael Meeks <michael@ximian.com>
3816 * registryd/deviceeventcontroller.c
3817 (spi_controller_register_with_devices): use gdk calls to
3819 (global_filter_fn): implement the filter.
3820 (spi_device_event_controller_check_key_event): rename to
3821 (spi_device_event_controller_forward_key_event): this & upd.
3822 (spi_get_display): replace with GDK_DISPLAY.
3824 * registryd/deviceeventcontroller.c
3825 (spi_controller_deregister_device_listener): unroll into
3826 (impl_deregister_keystroke_listener): here to simplify.
3827 (spi_controller_register_global_keygrabs): split cut and
3828 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3829 (spi_controller_deregister_device_listener): remove.
3830 (impl_register_mouse_listener): remove, no mouse listener
3831 support in at-spi-1.0
3833 * registryd/registry.c
3834 (_device_event_controller_hook): kill.
3835 (spi_registry_init): upd.
3837 * registryd/deviceeventcontroller.c
3838 (spi_device_event_controller_class_init): upd.
3839 (spi_check_key_event): merge into.
3840 (spi_device_event_controller_check_key_event):
3841 here and kill strange static ev init, don't leak
3842 the x_event - nor dynamicaly allocate it.
3844 * registryd/registry-main.c (main): re-direct
3845 timeout to remove strange vtable mess.
3847 * registryd/deviceeventcontroller.c
3848 (remove_listener_cb): impl.
3849 (spi_controller_deregister_device_listener):
3850 fix re-enterancy hazard.
3852 2002-01-07 Michael Meeks <michael@ximian.com>
3854 * registryd/deviceeventcontroller.c
3855 (spi_device_event_controller_new): upd.
3856 (impl_notify_listeners_sync): upd. debug.
3857 (spi_notify_keylisteners): fix re-enterancy hazards,
3858 prettify, remove O(n*n) iteration.
3859 (spi_controller_grab_keyboard): fix iteration.
3860 (spi_check_key_event): re-format to suit coding style.
3861 Clean all the warnings - we're warning free.
3863 * registryd/deviceeventcontroller.h:
3864 * registryd/registry.h: make mutualy referential with
3865 typesafe forward references instead of (!) void pointer
3868 2002-01-11 Michael Meeks <michael@ximian.com>
3870 * cspi/spi_accessible.c (role_names): add a role name
3871 to sync this array with the enum; and make the regression
3874 2002-01-10 Michael Meeks <michael@ximian.com>
3876 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3877 allow expansion of enumeration & kill warning.
3879 * test/test-simple.c (key_listener_cb): impl.
3880 (test_keylisteners): impl.
3882 * cspi/spi-listener.h: make listener signatures const
3883 on the provided (const) events.
3885 * test/keysynth-demo.c: upd. to const events.
3887 * test/simple-at.c: ditto.
3889 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3892 Rev the version to 0.5 (the previous tarball was named 0.4,
3893 even though the micro number was 3), so we need to rev upwards
3894 again for beta2/"desktop-alpha"
3897 Checked in a demo script, which requires editing before use!
3898 Proceed with caution.
3901 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3903 * cspi/spi_accessible.c:
3904 Add a couple of missing enum initializations, and fix some enum
3907 * cspi/spi_registry.c:
3908 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3910 * docs/reference/cspi/at-spi-cspi-sections.txt:
3911 Remove/fix a couple of broken document references.
3914 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3915 as Alt-Control to listen for commands, since on some systems
3916 Control-Alt may already be grabbed.
3918 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3921 Update version number to 0.4 for Beta2.
3923 * libspi/accessible.c, libspi/accessible.h:
3924 Expose spi_accessible_construct, to enable libgail-gnome
3925 construction from spi_accessible subtype.
3927 * utils/magnifier.c:
3928 Workaround for bug in some non-gnome-compliant window managers
3929 which made magnifier resize improperly.
3931 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3933 * libspi/accessible.c: (spi_accessible_new) :
3934 Move the test for SPI_IS_REMOTE_OBJECT to
3935 spi_accessible_new_return, fixing a bug and compile time warning.
3937 2002-01-08 Michael Meeks <michael@ximian.com>
3939 * registryd/registry.c (parse_event_type): remove strndup.
3941 * libspi/Makefile.am (libspi_la_SOURCES): remove
3942 sources already included in the headers section.
3944 * libspi/util.c: add.
3946 * libspi/spi-private.h: add.
3948 * registryd/registry.c: update to moved list iterators.
3950 2002-01-05 Michael Meeks <michael@ximian.com>
3952 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3954 * test/test-simple.c (main): ditto.
3956 2002-01-04 Michael Meeks <michael@ximian.com>
3958 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3959 redundant construct.
3961 * registryd/registry.c
3962 (get_listener_list): impl.
3963 (impl_accessibility_registry_register_global_event_listener):
3964 re-impl. to simplify using ~, remove dodgy const cast off.
3965 (parse_event_type): constify.
3966 (impl_accessibility_registry_deregister_global_event_listener_all):
3967 re-write, more efficiency and simplicity, kill re-enterancy
3969 (compare_listener_corbaref, compare_corba_objects),
3970 (compare_listener_quarks): define out.
3971 (impl_accessibility_registry_deregister_global_event_listener):
3972 re-write for effiency, and nail re-enterancy hazard.
3973 (impl_accessibility_registry_get_desktop_list): impl.
3974 (re_enterant_list_delete_link): impl.
3975 (re_enterant_list_foreach): impl.
3976 (remove_listener_cb): impl.
3977 (_registry_notify_listeners): kill.
3978 (notify_listeners_cb): impl.
3980 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3981 (SPI_getDesktopList): impl.
3983 * test/test-simple.c (test_desktop): test the methods.
3985 2002-01-03 Michael Meeks <michael@ximian.com>
3987 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3988 keystrings since we free them
3989 (SPI_freeAccessibleKeySet): in here.
3991 * libspi/accessible.c (spi_accessible_new): kill warning,
3992 wonder what is going on with the constructor here.
3994 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3996 * libspi/accessible.c (spi_accessible_new ()) :
3997 Added check to see if AtkObject is an SpiRemoteObject before
3998 creating an SpiAccessible.
4000 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4002 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4003 Enable keygrabs using the Control modifier, now that they are
4004 working properly (they were previously disabled).
4007 Change the command keygrab for this demo to "Control+Alt", so as
4008 to conflict with fewer other key commands on the system; this
4009 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4011 Removed a pointlessly-chatty keylistener for unshifted keys
4012 (shifted keys are still reported).
4014 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4016 * libspi/remoteobject.h:
4017 * libspi/remoteobject.c:
4018 Added definitions for special AtkObject subtype, required for
4019 support of remote components (specifically, used by BonoboControl
4020 accessibility implementation).
4022 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4024 * cspi/spi.h: synched relation types with ATK
4026 * cspi/spi_accessible.c: Added implementations of
4027 AcccessibleRelation_* methods
4029 * idl/Accessibility_Relation.idl: added getRelationTypeName
4030 method. Synched known relation types with ATK. Allowed for
4031 relation type extension with the RELATION_EXTENDED type.
4033 * libspi/relation.c: Provided implementations for
4034 AccessibleRelation methods.
4036 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4038 API tweaks for today's API 'freeze'.
4041 Added placeholder functions to allow future compatible expansion
4042 of the IDL interfaces.
4044 * idl/Accessibility_Registry.idl:
4045 Changed generateKeyEvent to generateKeyboardEvent. Changed
4046 signature of this method to accept an optional keystring in
4047 parameter (for complex text input synthesis) and changed use of
4048 simple 'boolean' parameter in registerKeystrokeListener to a
4049 struct, EventListenerMode.
4051 * cspi/spi_accessible.c:
4053 * cspi/spi_streamablecontent.c:
4054 Added references to AccessibleStreamableContent interface, and
4055 definition and implementation of AccessibleStreamableContent
4058 * cspi/spi_registry.c:
4060 Changed generateKeyEvent API to generateKeyboardEvent,
4061 taking a new (optional) keystring parameter to support complex
4066 Renamed directory (to better reflect its actual purpose, bridging
4067 from at-spi to ATK). The .so module is also now named
4070 * idl/Accessibility_Hypertext.idl:
4071 * libspi/accessible.c:
4072 * libspi/hypertext.h:
4073 * libspi/hypertext.c:
4074 Changed Accessibility_Hypertext to *not* derive from
4077 * cspi/spi_registry.c:
4078 Added list of legal event type names for 'window' events, which
4079 completes the registry event API.
4081 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4083 * at-bridge/bridge.c: Added registration for separate
4084 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4085 signals. If either of the first two parameters to the generic
4086 bridge signal handler are ints, they are passed on as event
4087 details. This allows an AT to determine what text was inserted.
4089 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4091 * registryd/deviceeventcontroller.c:
4092 Fixed regressions in generateKeyEvent caused by the removal of
4093 gdk_init from registryd; we now use pure X calls to connect to the
4094 display, which makes sense because deviceeventcontroller already
4095 uses a fair bit of X API (should eventually be migrated to a
4096 'portability layer').
4098 * registryd/desktop.c:
4099 Fixed minor regression in spi_desktop_init, changed the way the
4100 desktop name is being set to work with new spi_base API
4101 (gobject-based, rather than AtkObject-based).
4103 * registryd/Makefile.am:
4104 Minor revision of makefile to use XTST_LIBS variable rather than
4105 hard-wiring the Xtst LD_ADD element.
4107 * test/keysynth-demo.c:
4108 Tweaked an output message; added initialization of the
4109 'keystrings' member of the "switch listener" key_set.
4111 * libspi/relation.c:
4112 Squashed compile-time warning.
4114 * libspi/accessible.c:
4115 Cosmetic and formatting fixes, renamed a static method.
4117 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4119 * libspi/accessible.c
4121 * libspi/application.c
4124 * libspi/component.c
4125 * libspi/editabletext.c
4126 * libspi/hyperlink.c
4127 * libspi/hypertext.c
4129 * libspi/selection.c
4133 * registryd/desktop.c:
4134 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4136 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4138 * idl/Accessibility_Registry.idl:
4139 Added boolean member 'is_text' to DeviceEvent. This is for the
4140 use of key events, and helps prevent ambiguity between composed
4141 key strings and keysym names, since both may potentially be
4142 returned in the 'event_string' member.
4144 * at-bridge/bridge.c:
4145 * registryd/deviceeventcontroller.c:
4146 Use the 'is_text' member when notifying device event listeners.
4147 Knon issue: composed characters are not dealt with correctly by
4148 the global key listener implementation yet.
4150 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4152 * at-bridge/bridge.c:
4153 Namespaced local static methods to spi_atk_bridge_* where
4154 previously named bridge_*, and spi_* elsewhere.
4156 * at-bridge/bridge.c:
4157 * cspi/bonobo/cspi-bonobo-listener.c:
4158 Added demarshalling/conversion for string member of
4159 Accessibility_DeviceEvent to AccessibleKeystroke.
4161 * registryd/deviceeventcontroller.c:
4162 Added code to fill the Accessibility_DeviceEvent key string value
4163 member for global key events (i.e. from XGrabKey), to match
4164 behavior of Accessibility_DeviceEvent from the toolkit key events
4165 from the bridge. Fixed timestamp in global key event notifications.
4168 Added printout of key event's string value to
4169 report_ordinary_key_event, for demo/debugging purposes.
4171 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4173 * idl/Accessibility_Registry.idl:
4174 Removed Accessibility_KeyStroke structure in favor of generic
4175 Accessibility_DeviceEvent structure.
4176 Changed Accessibility_ControllerEventMask from a struct to an
4179 * at-bridge/bridge.c:
4180 Changed APIs to use DeviceEvent structure as above, and removed
4181 bogus casting between these event structures.
4183 * cspi/spi-listener.h:
4184 Added keystring member of AccessibleKeystroke structure, to enable
4185 matching on event "names" rather than only hardware codes and
4189 Added keystrings member of AccessibleKeySet struct, to allow
4190 matching on event names (as above).
4191 Added declarations for SPI_createAccessibleKeySet and
4192 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4193 event modmasks directly as unsigned ints rather than structs with
4194 refcounts, in the DeviceEventController methods.
4196 * cspi/spi_registry.c:
4197 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4199 * cspi/spi-roletypes.h:
4200 Added documentation of newly added SPI Roles.
4202 * cspi/bonobo/cspi-bonobo-listener.c:
4203 Changes in support of API changes above.
4205 * libspi/accessible.c:
4206 Converted APIs to use DeviceEvent structure (see IDL changes
4209 * registryd/deviceeventcontroller.c:
4210 Added DEControllerGrabMask structure to track keygrabs not only by
4211 modmask but by keyset as well; this allows us to do "global"
4212 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4213 grabbing on AnyKey and then filtering after-the-fact.
4214 Bugfixes for event filtration mean that we don't get false matches
4215 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4217 * registryd/deviceeventcontroller.c:
4218 Namespaced a number of static methods to use spi_ prefix. Major
4219 revision to internals of global (i.e. X) key grabs.
4221 * registryd/deviceeventcontroller.h:
4222 Removed keymask_list and added keygrabs_list to
4223 SpiDeviceEventController struct.
4226 Added use of SPI_createAccessibleKeySet API when creating a
4227 listener for only one key. Attach a listener to "shift spacebar
4228 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4229 X key event names to SPI key event names, so that listeners are
4230 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4232 * test/keysynth-demo.c:
4233 Changed (incorrect) use of X key event names (KeyPressed,
4234 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4237 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4239 * libspi/accessible.c:
4240 Convert all AtkRole enumerations to Accessibility_Role enums when
4241 getting a role from an AtkObject.
4243 * cspi/spi_accessible.c:
4244 Complete the conversion of Accessibility_Role enums at runtime to
4245 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4246 role enums correctly match those given in spi-roletypes.h.
4247 Re-synchronize the local names list for AccessibleRole_getName ().
4248 AccessibleRole_getName is now deprecated, since it duplicates the
4249 more reliable Accessible_getRoleName.
4250 Added some role types from Accessibility_Role.idl.
4252 * idl/Accessibility_Role.idl:
4253 Added some role types used by AtkRole.
4255 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4258 * cspi/spi_registry.c:
4260 * cspi/cspi-bonobo-listener.c:
4261 Namespaced all methods that did not begin with an "SPI_" or
4262 "Accessible" prefix to "SPI_".
4265 Homogenized internal function namespace to "cspi_" for statics.
4268 Patched tests to use the new CSPI API.
4270 * docs/reference/cspi/at-spi-cspi-sections.txt:
4271 Updated docs to reflect namespace changes, and added a number of
4272 methods to the documentation.
4274 * registryd/registry.c:
4275 Changed use of strings and string hashes in listener event
4276 matching and parse_event_string to use GQuark, which is guaranteed
4279 * registryd/registry.h:
4280 Squashed annoying warning.
4282 * idl/Accessibility_Role.idl:
4283 Extended range of available Accessibility_Role values.
4285 * cspi/spi_accessible.c:
4286 Re-ordered role names.
4288 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4290 * idl/Accessibility_Value.idl:
4291 Revert use of union back to CORBA_double, since the double type is
4292 more efficient and can contain the other types without loss of
4295 * idl/Accessibility_Accessible.idl:
4296 Added method Accessibility:Accessible:getRoleName, to complement
4297 Accessibility:Accessible:getRole.
4299 * cspi/spi_accessible.c:
4301 Added C binding for above, Accessible_getRoleName (), and changed
4302 signature of Accessible_getRole () to return an AccessibleRole.
4304 * cspi/spi-roletypes.h:
4305 Changed AccessibleRole_getName to return a char * instead of a
4306 const char *. This method is now at least temporarily deprecated
4307 in favor of asking Accessibles for their RoleNames directly.
4310 Revert to match Accessibility_Value.idl;
4314 Change signature of AccessibleValue methods to use double rather
4318 * cspi/spi_accessible.c:
4319 Changed Accessible_getRole to return an AccessibleRole enum rather
4320 than a UTF-8 string. The UTF-8 string can still be obtained via
4321 AccessibleRole_getName ().
4323 * test/test-simple.c:
4324 Add test_action. Small fixup to match API change to Accessible_getRole.
4327 Bugfix for get_action_from_servant ().
4329 2001-12-11 Michael Meeks <michael@ximian.com>
4331 * libspi/libspi.h: remove registry.h and
4332 desktop.h, deviceeventcontroller.h
4334 * libspi/Makefile.am: remove registry.[ch],
4335 desktop.[ch], deviceeventcontroller.[ch]
4337 * registryd/Makefile.am: add registry.[ch],
4338 desktop.[ch], rename registryd.c to registry-main.c.
4339 add deviceeventcontroller.[ch]
4341 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4344 Replace setenv() call with putenv ().
4346 * libspi/component.c:
4347 Bugfix in AccessibleComponent_getExtents (),
4350 2001-12-11 Michael Meeks <michael@ximian.com>
4352 * libspi/image.c (impl_getImageExtents): impl.
4353 (spi_image_class_init): upd.
4356 (AccessibleImage_getImageDescription): fix daft bug
4359 * test/test-simple.c (global_listener_cb): update
4360 to only quit if not --poke
4361 (main): catch --poke.
4362 (validate_accessible): upd. dumping, call test_image
4365 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4368 * idl/Accessibility.idl: update all IDL includes.
4370 * idl/*.idl - rename to namespace - this sucks, blame
4371 mjs' bad decision for oafd.
4373 * test/test-simple.c (create_test_window): add more tests.
4374 (create_tree): split this out.
4375 (validate_accessible): bugfix.
4377 2001-12-11 Michael Meeks <michael@ximian.com>
4379 * cspi/bonobo/cspi-bonobo-listener.c:
4380 (cspi_kestroke_listener_unref),
4381 (cspi_event_listener_unref): impl. undoing previous
4382 homenous environment - for Bill.
4384 * cspi/spi_table.c (long_seq_to_array): use
4387 * cspi/spi_main.c: split out all bonoboish bits into
4390 * cspi/spi-impl.h: upd. typedefs.
4392 * cspi/spi_registry.c: update to lowlevel API,
4393 return booleans to indicate success in some places.
4395 * cspi/spi_event.c: update to lowlevel API.
4397 * cspi/bonobo/Makefile.am: add.
4399 * cspi/bonobo/cspi-lowlevel.h: add
4401 * cspi/bonobo/cspi-bonobo.c: add
4403 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4405 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4406 (SUBDIRS): add bonobo, link in the libs.
4408 * cspi/spi-util.c: kill this file.
4410 * TODO: merge in my bits.
4412 2001-12-11 Michael Meeks <michael@ximian.com>
4414 * test/test-simple.c (test_value, test_table, main):
4415 remove unused variables causing warnings.
4417 * configure.in: cleanup checks - require gail.
4419 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4422 Changed Value interface to use SValue (scalars) rather than
4423 assuming all values are floats. This allows floats, doubles,
4424 longs, shorts, and unsigned values to be manipulated.
4425 Introduced Accessibility:SValue union.
4428 Updated to use new API above, and to work correctly with GValues
4429 of different types in AtkValue.
4432 Updated to use new API above. cspi's API is as yet unchanged.
4435 Updated the Value revision action item.
4437 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4439 * test/test-simple.c:
4440 Added test_table (GtkTreeView widget in test window to follow).
4441 Un-commented test_value, added GtkRange widget.
4442 Added GtkTreeView widget with GtkListStore. It passes regression
4443 test but leaks one SPI object for some reason.
4446 Fixed bug in impl__set_currentValue.
4448 2001-12-10 Michael Meeks <michael@ximian.com>
4450 * cspi/spi_text.c: audit for exception handling,
4451 tolerating NULL object references safely etc.
4453 * cspi/spi_value.c: ditto.
4455 * cspi/spi_table.c (AccessibleTable_getSummary),
4456 (AccessibleTable_getAccessibleAt),
4457 (AccessibleTable_getRowHeader),
4458 (AccessibleTable_getColumnHeader),
4459 (AccessibleTable_getCaption): fix bugs hidden by
4461 (long_seq_to_array): impl.
4462 (AccessibleTable_getSelectedRows),
4463 (AccessibleTable_getSelectedColumns): use it.
4465 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4468 Added a TODO list (rough and short for now).
4470 * cspi/spi_hyperlink.c:
4471 * cspi/spi_hypertext.c:
4472 Fixed macro name typos, and remove use of obsolete macro in
4473 AccessibleHyperlink_getLink.
4475 * cspi/spi_action.c:
4476 * cspi/spi_accessible.c:
4477 * cspi/spi_application.c:
4478 * cspi/spi_component.c:
4479 * cspi/spi_selection.c:
4482 Documentation fixes (removed return values from ref/unref methods).
4484 2001-12-10 Michael Meeks <michael@ximian.com>
4486 * cspi/spi_action.c: audit for exception handling,
4487 tolerating NULL object references safely etc.
4489 * cspi/spi_accessible.c: ditto.
4491 * cspi/spi_component.c: ditto.
4493 * cspi/spi_editabletext.c: ditto.
4495 * cspi/spi_hyperlink.c: ditto.
4497 * cspi/spi_hypertext.c: ditto.
4499 * cspi/spi_image.c: ditto.
4501 * cspi/spi_selection.c: ditto.
4503 2001-12-10 Michael Meeks <michael@ximian.com>
4505 * configure.in: use cspi/libspi.pc.in instead.
4507 * Makefile.am (pkgconfig_DATA): upd. to match.
4509 * test/simple-at.c (report_focus_event): kill hacks around
4510 bad return values, use putenv not setenv
4512 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4513 fire ChildGone - I killed it.
4515 * libspi/component.c
4516 (impl_accessibility_component_get_extents): remove
4519 * idl/Accessible.idl: kill ChildGone exception.
4521 * cspi/*.[ch]: kill int return from ref / unref.
4523 * cspi/spi_main.c (cspi_object_add_check): fold into
4524 (cspi_object_add): here.
4526 * cspi/spi_component.c (AccessibleComponent_getExtents):
4527 handle exceptions elegantly.
4529 * cspi/spi-private.h (cspi_check_ev_return),
4530 (cspi_return_if_fail): impl.
4532 * cspi/spi_accessible.c: use extensively.
4533 (AccessibleStateSet_equals): add direct compare check.
4535 * cspi/spi_selection.c: tolerate NULL objs, and check
4536 exceptions before return.
4538 * cspi/spi-util.c (cspi_warn_ev): rename to
4539 (cspi_check_ev): this & don't pass ev in; no point.
4541 2001-12-10 Michael Meeks <michael@ximian.com>
4543 * test/test-simple.c: use putenv not setenv
4544 (get_environment_vars): more chatty if you're not using
4547 * test/simple-at.c: do the setenv so more people see the
4550 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4552 * libspi/registry.c:
4553 Changed check of CORBA_environment on notification to be a warning
4554 instead of an error for the moment, since we can recover from this
4555 error when caused by a queued notification from a dead app.
4558 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4559 used by all current implementors of AtkValue), and coerce to
4560 CORBA_float. (Proper general case fix may require change to Value.idl).
4562 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4566 * cspi/spi_accessible.c:
4567 Documentation fixes: added user_data params to documentation for
4568 listeners and callbacks.
4570 * cspi/spi_accessible.c:
4571 Changed AccessibleStateSet_compare to return a
4572 StateSet rather than return the difference set into a third parameter.
4575 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4578 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4579 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4583 Remove subdirectory po from SUBDIRS for now.
4585 * at-bridge/bridge.c:
4586 Beefed up a couple of debug printouts.
4587 One-line fix for signal notification name formatting.
4589 * libspi/accessible.c:
4590 Added assertion to spi_accessible_new ().
4592 * libspi/application.c:
4593 Put #ifdef qualifiers around a printf.
4596 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4598 * registryd/Makefile.am:
4600 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4601 INTLTOOL_SERVER_RULE macro.
4604 Added an event listener for several ATK signals, for
4605 testing and debugging. Removed a few g_warnings.
4606 Added test output if focussed item implements the Value interface.
4608 * test/test-simple.c:
4609 Added test_value () function (known not to pass at the moment, so
4610 not actually called yet.
4612 2001-12-08 Michael Meeks <michael@ximian.com>
4614 * at-bridge/bridge.c (bridge_focus_tracker),
4615 (emit_eventv): fix the same ref. leak.
4616 (register_atk_event_listeners): don't leak.
4618 * cspi/spi-listener-impl.c (cspi_event): more
4619 protection from client code.
4621 * test/test-simple.c (test_desktop): unref the app.
4623 * test/Makefile.am: upd. TESTS.
4625 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4627 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4629 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4631 * cspi/spi_registry.c: constify in strings.
4632 (deregisterGlobalEventListenerAll): don't release the ref.
4634 * cspi/spi.h: start removing redundant / conflicting
4635 gtkdoc comments, making the API readable at a glance :-)
4637 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4639 * test/keysynth-demo.c (keysynth_exit, main): upd.
4641 * test/simple-at.c (main, simple_at_exit): upd.
4643 * test/test-simple.c (unutterable_horror): kill.
4644 (utterable_normal_derefs): kill.
4645 (main): upd & do a setenv before gtk_init, so that we
4646 can use memprof - and to save the pain of remembering
4647 this, if we're running under memprof - don't exit.
4649 * cspi/spi_main.c (SPI_exit): return exit status
4651 (SPI_event_quit): impl.
4652 (SPI_event_main): simplify.
4653 (cspi_is_gnome_app): kill.
4654 (SPI_init): kill isGNOMEapp arg.
4656 * at-bridge/bridge.c (register_atk_event_listeners):
4657 re-instate the unref.
4658 (bridge_exit_func): don't re-activate the registry,
4659 protect vs. theoretical re-entry, use the
4660 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4661 assert a clean shutdown - for regression tests.
4663 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4665 * configure.in: Comment out dummy i18n support for now,
4666 otherwise it fails to build.
4667 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4668 EXTRA_DIST. They are missing in tarball.
4670 2001-12-07 Michael Meeks <michael@ximian.com>
4672 * util/magnifier.c: kill bonobo activation reg. race.
4674 * libspi/component.c
4675 (impl_accessibility_component_get_extents): make it match
4678 * libspi/registry.c (_registry_notify_listeners):
4679 re-remove X headers & reconcile conflicts.
4680 (spi_listener_struct_free): bad conflict resolve.
4681 (impl_accessibility_registry_register_application):
4682 more bad merging fixed.
4683 (impl_accessibility_registry_deregister_application): ditto.
4684 (spi_registry_new): ditto.
4685 (spi_registry_init): don't have an applications field.
4687 [ merge fixups2 branch to here ]
4688 2001-12-07 Michael Meeks <michael@ximian.com>
4690 * test/simple-at.c (report_focus_event),
4691 (report_focussed_accessible): remove g_warning debug.
4693 2001-12-07 Michael Meeks <michael@ximian.com>
4695 * test/test-simple.c (validate_tree): comment out some checks.
4696 (test_desktop): app now not registered idly - horay.
4698 2001-12-07 Michael Meeks <michael@ximian.com>
4700 * cspi/spi_registry.c
4701 (registerAccessibleKeystrokeListener): clean, stop it leaking
4702 great swathes of memory, and device event controller references.
4703 ensure we always pass valid sequences.
4704 (deregisterAccessibleKeystrokeListener): ditto.
4705 (generateKeyEvent): upd.
4707 * at-bridge/bridge.c (bridge_key_listener): handle
4708 registry dead exception gracefully.
4709 (bridge_focus_tracker, emit_eventv): free ev.
4711 * test/simple-at.c (report_focus_event): fix polarity.
4713 * libspi/application.c (notify_listeners): kill the ev
4714 argument, and make sure we init the ev we use.
4715 (spi_application_object_event_listener): split out a chunk
4716 (get_atk_object_ref): here & fixup.
4717 (reverse_lookup_name_for_toolkit_event): make const.
4718 (spi_application_toolkit_event_listener): fixup, kill leaks
4721 * at-bridge/bridge.c (register_atk_event_listeners):
4722 don't unref the noop object - causes grief.
4724 * libspi/registry.c: remove the X headers.
4725 turn off the debug churn.
4727 * libspi/accessible.c (spi_accessible_new_return): only
4728 release the ref if we are supposed to [doh]
4730 * test/simple-at.c (report_button_press, report_focus_event):
4731 guard vs. unexpected exit.
4733 * at-bridge/bridge.c (gtk_module_init): prune printf.
4734 (bridge_exit_func): fix app unref.
4736 * libspi/Makefile.am: don't install registry or desktop.h
4738 * libspi/*.h: update includes.
4740 * libspi/application.h: don't include ourself, or
4741 other redundant headers.
4743 2001-12-06 Michael Meeks <michael@ximian.com>
4745 * libspi/accessible.c
4746 (get_accessible_from_servant): impl.
4747 Upd. all CORBA impl.s to use it killing cut and paste.
4749 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4751 (SPI_init): register atexit cleanup handler here.
4753 2001-12-06 Michael Meeks <michael@ximian.com>
4755 * at-bridge/bridge.c (gtk_module_init): g_error on
4756 activation exception
4758 2001-12-06 Michael Meeks <michael@ximian.com>
4760 * at-bridge/bridge.c (gtk_module_init): some sort of
4761 confusing merge clash - reverted.
4762 (bridge_idle_init): ditto.
4764 * test/test-simple.c (main, utterable_normal_derefs):
4765 merge from Bill - somehow not committed.
4767 2001-12-06 Michael Meeks <michael@ximian.com>
4769 * libspi/value.c (spi_value_class_init): upd.
4770 (spi_value_finalize): kill.
4772 * libspi/table.c (spi_table_finalize): kill.
4773 (spi_table_interface_new): upd.
4774 (spi_table_class_init): upd.
4775 (get_table_from_servant): impl.
4776 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4778 * libspi/selection.c (spi_selection_finalize): kill.
4779 (spi_selection_interface_new): upd.
4780 (spi_selection_class_init): upd.
4781 (get_selection_from_servant): impl.
4782 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4784 * libspi/relation.c (spi_relation_finalize): kill.
4785 (spi_relation_class_init, spi_relation_new): upd
4787 * libspi/image.c (spi_image_finalize): kill.
4788 (spi_image_class_init): upd.
4789 (spi_image_interface_new): upd.
4790 (get_image_from_servant): impl.
4791 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4793 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4794 (spi_hyperlink_finalize): kill.
4795 (spi_hyperlink_new): upd.
4796 (get_hyperlink_from_servant): impl.
4797 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4799 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4800 (spi_hypertext_finalize): kill.
4801 (spi_hypertext_class_init): upd.
4802 (get_hypertext_from_servant): impl.
4803 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4805 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4806 (spi_editable_text_interface_new): upd.
4807 (get_editable_text_from_servant): impl.
4808 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4810 * libspi/text.c (get_text_from_servant): impl.
4811 All impls - update to use it killing more cut and paste,
4812 also fix bad string returns on duff args ( a somewhat
4813 impossible case to handle - but hey ).
4814 (spi_text_construct): impl.
4815 (spi_text_interface_new): upd.
4816 (spi_text_object_finalize): kill.
4818 * libspi/component.c
4819 (accessibility_component_object_finalize): kill.
4820 (spi_component_class_init): upd.
4821 (get_component_from_servant): impl. helper to kill cut & paste.
4822 (impl_accessibility_component_contains):
4823 (impl_accessibility_component_get_accessible_at_point):
4824 (impl_accessibility_component_get_position):
4825 (impl_accessibility_component_get_extents):
4826 (impl_accessibility_component_get_mdi_z_order):
4827 (impl_accessibility_component_get_layer):
4828 (spi_component_interface_new): upd.
4830 * libspi/action.c (spi_action_finalize): kill.
4831 (spi_action_class_init): upd. inherit from SpiObject.
4832 (spi_action_interface_new): upd.
4833 (get_action_from_servant): impl. helper to reduce cut & paste.
4834 (impl_getKeyBinding, impl_getName, impl_doAction),
4835 (impl_getDescription): Use it everywhere.
4837 * cspi/spi_main.c (get_live_refs): a pointer hash.
4838 (spi_object_hash, spi_object_equal): comment out.
4839 There are issues with CORBA object hashing that need
4842 * libspi/application.c (spi_application_init),
4843 (spi_application_new): upd.
4845 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4846 (spi_accessible_class_init): upd.
4847 s/accessible/object/ in epv methods.
4849 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4851 * at-bridge/bridge.c:
4852 Reorder the bridge initialization into the bridge gtk_module_init,
4853 an immediate call to bridge_register_app, and an idle_add for
4854 register_atk_event_listeners (the only code that *must* wait until
4855 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4856 the activation, creates the application's Accessible object, and
4857 queues the bridge_idle_init function. Restored call to
4858 Accessibility_Registry_deregisterApplication().
4859 Prior to making this call we obtain a new reference to the
4860 registry, which is a temporary hack that helps us handle apps that
4861 shut down the bonobo mainloop before we get there.
4863 * libspi/registry.c:
4864 Fix string leakage in debug block, and don't segv if a an app
4865 dies before its event notifications have been propagated.
4868 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4869 as stopgap measure until we get proper exception handling when
4870 objects die during or before interrogation.
4874 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4875 Also changed default value of is_gnome_app to TRUE.
4878 * test/keysynth-demo.c:
4879 Changed use of SPI_init and SPI_event_main to reflect API change above.
4882 Made report_focus_event check the warning value from getName
4883 before reporting on focussed accessible; simplifies handling of
4884 notifications from dead objects.
4886 * test/test-simple.c: (Changes not in this patch since source is
4889 2001-12-05 Michael Meeks <michael@ximian.com>
4891 * registryd/registryd.c (main): protect against
4892 bonobo-activation startup race condition.
4894 * cspi/spi_main.c (cspi_object_add_check): cope
4895 with the exception elegantly.
4897 * idl/Accessible.idl: decl. ChildGone
4899 * libspi/desktop.c (spi_desktop_dispose): impl.
4900 (spi_desktop_class_init): upd.
4901 (spi_desktop_add_application),
4902 (spi_desktop_remove_application),
4903 (abnormal_application_termination): impl.
4904 (impl_desktop_get_child_at_index): re-impl.
4907 (impl_accessibility_registry_deregister_application),
4908 (impl_accessibility_registry_register_application):
4909 kill excessive debug clutter.
4911 * test/test-simple.c (test_misc): test some NULL
4912 tolerance. (main): upd.
4914 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4915 implements no interfaces - so let's not crash.
4917 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4919 * libspi/accessible.c (spi_accessible_new_return): impl.
4920 helper to calm the cut and paste, to cope with
4921 NULL AtkObjects effectively and efficiently, and to kill
4922 the referencing bugs.
4924 * libspi/table.c (impl_getAccessibleAt),
4925 (impl_getRowHeader, impl_getColumnHeader): upd.
4927 * libspi/hyperlink.c (impl_getObject): upd.
4929 * libspi/accessible.c
4930 (impl_accessibility_accessible_get_child_at_index): upd.
4932 * libspi/component.c
4933 (impl_accessibility_component_get_accessible_at_point): upd.
4935 * test/test-simple.c (test_editable_text, test_text): impl.
4938 * cspi/spi_editabletext.c
4939 (AccessibleEditableText_insertText): constify.
4941 * test/test-simple.c (focus_me): make more robust.
4943 * libspi/accessible.c: remove some printfs in methods that
4944 we test and work fine, so we can get a clean tree dump.
4946 * test/test-simple.c (validate_accessible),
4947 (validate_tree): make tree dumping pretty too.
4949 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4950 it builds without debug on.
4952 * test/test-simple.c (validate_accessible): fix the most
4955 * cspi/spi_main.c (spi_object_release): leave the nicely
4956 blanked memory around if in debug mode.
4958 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4960 [committed to fixups2]
4961 2001-12-05 Michael Meeks <michael@ximian.com>
4963 * libspi/editabletext.c
4964 (spi_editable_text_class_init): g_type_class_peek_parent,
4965 not interface peek - so we finalize cleanly.
4967 * libspi/accessible.c (spi_accessible_new): kill debug.
4969 * test/test-simple.c (validate_accessible): fix ref.
4970 leak, print strings before freeing them; sigh, comment a
4971 chunk out due to strangeness.
4972 (validate_tree): unref the child after use.
4974 * cspi/spi_component.c (AccessibleComponent_getLayer):
4975 add missing break statement, switch on zlayer not the
4976 uninitialized retval.
4978 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4979 before (possibly re-entering) remote unref.
4981 * test/simple-at.c (main): unref the desktop.
4983 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4986 * cspi/spi_main.c (cspi_accessible_is_a): here to
4987 isolate bonobo API usage more.
4989 * libspi/registry.c (impl_accessibility_registry_register_application):
4990 prune bogus comment.
4992 2001-12-04 Michael Meeks <michael@ximian.com>
4994 * test/test-simple.c (validate_tree): upd.
4995 IndexInParent check to make it more lucid.
4996 (validate_accessible): dump the tree.
4998 * libspi/accessible.c (de_register_public_ref),
4999 (get_public_refs): impl.
5000 (spi_accessible_new): make more efficient & intuitive.
5001 Now IndexInParent check works.
5003 2001-12-04 Michael Meeks <michael@ximian.com>
5005 * cspi/spi-util.h: remove.
5007 * cspi/spi.h: move SPI_freeString here
5009 * libspi/component.c (impl_accessibility_component_get_layer):
5011 (impl_accessibility_component_get_mdi_z_order): ditto,
5012 return -1 on error - is this ok ?
5014 * test/test-simple.c (test_application): impl.
5016 * cspi/spi_accessible.c (Accessible_getApplication),
5017 (Accessible_isApplication): impl.
5019 * libspi/registry.c (spi_listener_struct_free): release
5020 the CORBA reference too.
5022 * libspi/accessible.c
5023 (impl_accessibility_accessible_get_parent): fix ref leak.
5025 * libspi/registry.c (spi_registry_new): make the registry
5026 immortal - we don't want it to go away ever.
5028 * libspi/application.c
5029 (spi_accessible_application_finalize): impl. cleanup.
5031 * cspi/spi_registry.c
5032 (deregisterGlobalEventListenerAll),
5033 (deregisterGlobalEventListener),
5034 (deregisterAccessibleKeystrokeListener): fix ref leak.
5036 * cspi/spi_main.c (SPI_init): remove redundant ref.
5038 * test/test-simple.c (unutterable_horror): impl. to force a
5043 (impl_accessibility_registry_deregister_application): release
5044 the application when we de-register it.
5046 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5047 until we have the infastructure to get it right.
5049 2001-12-03 Michael Meeks <michael@ximian.com>
5051 * libspi/Makefile.am: only build eventlistener.[ch]
5053 * libspi/accessible.c
5054 (impl_accessibility_accessible_get_child_at_index): don't leak.
5056 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5057 before we hit the idle handler.
5059 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5060 debugging than exit.
5062 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5064 * libspi/listener.c (impl_notify_event): check source
5065 not NIL before unref.
5067 * libspi/registry.c (impl_registry_notify_event): ditto.
5069 * libspi/eventlistener.c
5070 (impl_accessible_event_notify_event): unref the source.
5072 * libspi/accessibleeventlistener.c
5073 (impl_accessible_event_notify_event): unref the source.
5075 * idl/Event.idl: remove 'hash_id' attribute - of no
5078 * libspi/application.c (notify_listeners): upd list
5080 (spi_application_object_event_listener),
5081 (spi_application_toolkit_event_listener): upd to do correct
5085 (_registry_notify_listeners): update.
5086 (parse_event_type): this method also leaks like a sieve.
5087 (impl_accessibility_registry_deregister_global_event_listener):
5088 fix ETYPE_WINDOW case.
5090 * libspi/application.c
5091 (impl_accessibility_application_register_object_event_listener):
5094 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5096 * libspi/hypertext.c (impl_getLink): ditto.
5098 * cspi/spi_main.c (cspi_object_add): remove
5099 bogus CORBA_Object_duplicate.
5101 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5104 * cspi/spi_accessible.c
5105 (Accessible_getRelationSet): fix leak / referencing issue.
5107 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5108 (cspi_object_add, cspi_object_unref): upd.
5109 (spi_object_release, get_live_refs): impl.
5110 (cspi_cleanup): simplify.
5112 * *.[ch]: s/boolean/SpiBoolean/
5114 * cspi/spi_accessible.c (role_names): actualy order so it
5115 corresponds with the enum !
5117 * test/test-simple.c (test_roles): check some role strings
5118 vs. enums to detect offset errors.
5120 2001-12-01 Michael Meeks <michael@ximian.com>
5122 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5124 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5126 (Accessible_getChildAtIndex): use cspi_add_check so we
5127 check the ev before using a (possibly) invalid value.
5129 * libspi/accessible.c
5130 (impl_accessibility_accessible_get_parent): don't segv
5133 * at-bridge/bridge.c (gtk_module_init): upd.
5134 (bridge_property_event_listener): don't leak strings
5136 (bridge_state_event_listener),
5137 (bridge_property_event_listener): don't use a static
5138 buffer in case of recursive event emission &
5139 re-enterancy - split out the swathe of cut and paste
5141 (emit_eventv): and fix 2 ref leaks here & comply to the
5143 (bridge_register_app): rename to
5144 (bridge_idle_init): this and kill arg parsing, split
5145 various inits & bonobo-activation registration to module
5146 init time, kill referencing error.
5147 (bridge_exit_func): fix the same leak.
5148 (bridge_focus_tracker): don't leak event structures
5150 (bridge_signal_listener): more leakage and cut & paste
5152 (bridge_key_listener): return the result - FIXME is
5153 this polarity correct ?
5154 (accessibility_keystroke_from_atk_key_event): rename
5155 (accessibility_init_keystroke_from_atk_key_event): and stop
5157 (gtk_module_init): return a value - not that it is checked by
5159 (bridge_key_listener): register my horror at casting between
5160 IDL defined structs.
5161 (bridge_get_registry): kill - not used.
5163 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5165 * test/test-simple.c (test_roles): impl.
5166 (test_desktop, validate_accessible, validate_tree): impl.
5168 * cspi/spi_accessible.c (role_names): fixup bogus
5169 MAX_ROLES setup, make constants const for efficient linkage
5170 (AccessibleRole_getName): conform to coding style, make
5173 2001-11-30 Michael Meeks <michael@ximian.com>
5175 * cspi/spi.h: add missing prototype.
5177 * libspi/registry.c (spi_listener_struct_new): fix sig.
5179 * test/Makefile.am: add test-simple
5181 * test/test-simple.c: add
5183 * test/test.sh: add.
5185 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5187 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5188 do it straight - since otherwise we often get an activation race.
5190 [ work before Bill duplicated a chunk of it ... ]
5191 2001-11-30 Michael Meeks <michael@ximian.com>
5193 * libspi/keystrokelistener.c
5194 (spi_keystroke_listener_class_init): fixup arg
5197 * libspi/eventlistener.c
5198 (spi_event_listener_class_init): ditto.
5200 * tests/test.sh: add.
5202 * cspi/spi-listener-impl.h: update macros.
5204 * cspi/spi-listener-impl.c
5205 (cspi_event_listener_remove_callback): add
5206 correct pre-conditions.
5208 * cspi/spi_main.c (SPI_exit): guard vs. double
5209 exits, exit the mainloop nicely.
5210 (SPI_event_main): make more sense.
5211 (SPI_init): move the atexit evilness here so we
5212 always do it (yuck).
5213 (SPI_event_main): upd.
5215 * test/simple-at.c: update for listener changes.
5217 * registryd/registryd.c (main): prune kruft.
5219 * libspi/libspi.h: upd.
5221 * libspi/eventlistener.[ch]: rename broken macros.
5223 * libspi/accessibleeventlistener.[ch]: remove.
5225 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5227 * test/test-simple.c: Add - automated tests.
5229 * cspi/spi-listener-impl.c (cspi_event),
5230 (cspi_key_event): add user_data to invoke.
5231 (cspi_keystroke_listener_finalize): impl.
5232 (cspi_keystroke_listener_class_init): upd.
5235 (createAccessibleEventListener),
5236 (AccessibleEventListener_addCallback),
5237 (createAccessibleKeystrokeListener),
5238 (AccessibleKeystrokeListener_addCallback): upd.
5240 * libspi/deviceeventcontroller.c
5241 (spi_device_event_controller_check_key_event): add public proto.
5244 (impl_accessibility_registry_deregister_global_event_listener):
5245 always init listeners.
5246 (_registry_notify_listeners): yes it is.
5248 * cspi/spi-listener-impl.c (cspi_key_event):
5250 (cspi_event_listener_finalize): impl.
5251 (cspi_event_listener_class_init): hook up.
5252 (event_handler_new, event_handler_free),
5253 (event_list_remove_by_callback): impl.
5254 (cspi_event_listener_remove_callback),
5255 (cspi_keystroke_listener_remove_callback),
5256 (cspi_keystroke_listener_add_callback),
5257 (cspi_event_listener_add_callback): upd.
5259 * libspi/keystrokelistener.c
5260 (keystroke_listener_object_finalize): kill
5261 (spi_keystroke_listener_class_init): upd.
5262 (spi_keystroke_listener_add_callback),
5263 (spi_keystroke_listener_remove_callback): kill,
5265 (impl_key_event): prune drasticaly.
5267 * libspi/eventlistener.c
5268 (spi_event_listener_add_callback),
5269 (spi_event_listener_remove_callback): kill, use
5271 (impl_accessible_event_notify_event): upd.
5272 (spi_event_listener_object_finalize): remove.
5274 * libspi/Makefile.am: use eventlistener.[ch]
5276 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5278 * libspi/registry.c (_registry_notify_listeners):
5279 Changed listener loop iteration to use preferred convention.
5280 Got rid of string memory leaks caused be calling g_strconcat
5281 inside function calls.
5283 * libspi/registry.c (parse_event_type):
5284 Stopped g_strconcat memory leaks, free the g_strsplit return,
5285 g_strdup the split pieces when used, etc.
5287 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5290 Change method 'compare' to return a 'difference set' rather than
5291 taking a StateSet as an out parameter (more Java-friendly).
5293 * idl/Accessible.idl:
5294 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5296 * idl/Component.idl:
5298 Changed methods 'getExtents' and 'getImageExtents' in these
5299 interfaces to return a BoundingBox structure.
5300 (getPosition and getSize are redundant and possibly should be
5301 removed, rather than creating a corresponding Point struct.)
5303 * cspi/spi_component.c:
5304 Modify implementation of getExtents to reflect the above IDL
5309 Add (missing) AccessibleImage_getExtents () API.
5311 * docs/reference/cspi/at-spi-cspi-sections.txt:
5312 Added AccessibleImage_getImageExtents () to docs.
5314 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5316 * idl/Component.idl:
5317 Added two methods, getLayer () and getMDIZOrder (), to reflect
5318 the new ATK methods atk_object_get_layer and
5319 atk_object_get_mdi_z_order. (Which arguably should be part of the
5320 AtkComponent API and AtkObject). Also added an enum,
5321 ComponentLayer, for the first method's return value.
5323 * libspi/component.c:
5324 Added implementations for these methods.
5326 * cspi/spi_component.c:
5328 Added cspi binding methods for above,
5329 AccessibleComponent_getLayer() and
5330 AccessibleComponent_getMDIZOrder().
5331 Added cspi enum 'AccessibleComponentLayer'.
5333 * docs/reference/cspi/at-spi-cspi-sections.txt:
5334 Added above methods to docs.
5338 Changed typedef for 'boolean' type (and all references to it) to
5339 SPIBoolean, to avoid keyword clashes with C++.
5342 Changed usages of 'boolean' to SPIBoolean.
5344 * test/keysynth-demo.c:
5345 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5346 app), except where SPIBoolean is required by the callbacks API.
5348 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5350 * cspi/spi_registry.c:
5351 Removed obsolete X event loop for passive keygrabs (which now
5354 * registryd/registryd.c:
5355 Removed unnecessary call to gdk_init() [cruft]. This also allows
5356 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5359 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5361 * docs/reference/cspi:
5362 Included docs for SPI_freeString in generated documentation.
5365 Renamed spi_freeString to SPI_freeString, for consistency. Added
5366 documentation for this function.
5369 Renamed spi_freeString to SPI_freeString, for consistency.
5370 Removed obsolete method declaration string_from_corba_string.
5372 * test/keysynth-demo.c:
5373 Small tweak to comments.
5376 Stopped leaking the strings returned from CSPI.
5378 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5380 Merged Michael's branch (see his ChangeLog entries below).
5382 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5383 bridge is alive, release on exit.
5385 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5386 Fix type check macro.
5389 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5392 Added is_gnome_app static, and method cspi_is_gnome_app(),
5393 so we can call the appropriate shutdown routine at exit in SPI_exit.
5395 * cspi/spi_main.c (cspi_object_ref):
5396 Duplicate the corba object passed in, since we're keeping it around.
5398 * cspi/SPI_exit.c, cspi_cleanup:
5399 Moved the releasing of the live refs to its own function, so we
5400 can put it in g_atexit (). Call the appropriate shutdown API
5401 depending on whethe calling client is a gnome app or not
5402 (bonobo_main_quit or CORBA_ORB_shutdown).
5404 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5405 Unref the listener when this method is called, after
5406 deregistration. Updated the API docs to note this behavior.
5408 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5409 Bugfixes: Ref the bonobo object when returning a parent or child
5410 reference, or an AccessibleRelation. Generally made sure
5411 BonoboObject refcount is incremented whenever we return an
5414 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5415 Fixed typo/bug in signal declaration.
5417 * libspi/accessibleeventlistener.h:
5420 * libspi/application.c (spi_application_new):
5421 Fixed leak in initialization.
5424 Remembered to increment bonobo-object refcount when returning
5425 children (applications) from desktop object.
5426 Added (empty) finalize method.
5428 * libspi/deviceeventcontroller.c:
5429 Hold a ref to listeners inside DEControllerKeyListeners.
5430 Added dec_key_listener_free() method. Use prepend instead of
5431 append in key_listener list. Fixed some refcount madness and
5432 leaks in the listener registration/deregistration - deregistration
5433 now calls dec_key_listener_free() on listeners, and on the
5434 temporarily constructed dec_key_listener() used to perform the search/match.
5436 * libspi/hypertext.c (spi_hypertest_finalize):
5437 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5438 class. Also fixed spi_hypertext_interface_new() and
5439 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5441 * libspi/hypertext.h:
5442 Removed pointless and duplicate AtkObject pointer from
5445 * libspi/keystrokelistener.c:
5446 Fixed incorrect type of keystroke_listener_parent_class,
5447 renamed keystroke_listener_object_finalize to
5448 spi_keystroke_listener_object_finalize.
5449 Fixed typo in signal declaration
5450 (spi_keystroke_listener_class_init).
5452 * libspi/registry.c:
5453 Added funcsions spi_listener_struct_new() and
5454 spi_listener_struct_free() to help with memory management issues.
5455 We also now use these methods instead of gnew + poking stuff into
5456 the struct, and to decrement listener counts/free the listeners
5457 when deregistering them.
5458 Fix more refcount bugs in getDesktop() and
5459 getDeviceEventController().
5462 De-ref the desktop after enumerating the applications. Explicitly
5463 decrement the refcounts on the created listeners on exit (using
5464 _unref for keystroke listeners, and via the
5465 deregisterGlobalEventListenerAll command for other event
5468 2001-11-27 Michael Meeks <michael@ximian.com>
5470 * cspi/spi-listener.h: fixup enum.
5472 2001-11-27 Michael Meeks <michael@ximian.com>
5474 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5475 (cspi_keystroke_listener_new): Use the cspi variants.
5477 2001-11-26 Michael Meeks <michael@ximian.com>
5479 * test/keysynth-demo.c: fix 2 compile warnings, missing
5482 * test/simple-at.c (report_focussed_accessible),
5483 (report_focus_event, report_button_press),
5484 (check_property_change, is_command_key),
5485 (report_ordinary_key_event, report_command_key_event): upd.
5487 * util/mag_client.h: include pre-requisites.
5489 * libspi/accessibleeventlistener.c
5490 (spi_event_listener_object_finalize): free any lingering
5493 * libspi/keystrokelistener.c
5494 (keystroke_listener_object_finalize): ditto.
5496 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5497 callbacks, with cspi types.
5499 * cspi/spi_event.c (createAccessibleEventListener): chain to
5500 (AccessibleEventListener_addCallback): here.
5501 (createAccessibleKeystrokeListener): chain to
5502 (AccessibleKeystrokeListener_addCallback): here.
5504 * libspi/keystrokelistener.c
5505 (spi_keystroke_listener_class_init): add signal.
5506 (impl_key_event): emit the event.
5507 (boolean_handled_accumulator): impl.
5508 (marshal_BOOLEAN__POINTER): add, gack.
5510 * libspi/accessibleeventlistener.c
5511 (spi_event_listener_class_init): add signal.
5512 (impl_accessible_event_notify_event): emit the signal &
5513 make the loop efficient.
5514 (spi_event_listener_add_callback): prepend the callback.
5516 * libspi/accessibleeventlistener.h: add an 'event' signal,
5517 decl type on callback.
5519 * libspi/keystrokelistener.h: ditto.
5521 * cspi/spi-listener.h: make methods typesafe and
5522 make them use the new event typedefs.
5524 * test/simple-at.c (report_focussed_accessible):
5525 include mag_client.h
5526 Use *(void *)text_interface not the other thing.
5528 * configure.in: add gtk to registryd bits - since we use
5531 * util/magnifier.c: include libbonobo.h
5533 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5535 * test/keysynth-demo.c:
5536 Turned this into a simple scanning keyboard, to demonstrate the
5537 use of g_timeout_add () as a means of creating timers for
5538 scanning, and the use of GtkStyle for visually indicating when
5539 virtual keyboard elements are selected.
5541 keysynth-demo now listens to any keyboard keys with zero-valued
5542 keycodes (i.e. 'unused' keys) and interprets them as
5545 Reworked the shiftlatch code so that shift-down state isn't held
5546 for long periods (it's only synthesized immediately prior to
5547 the keysynth event it's modifying). Note that shiftlatch in this
5548 demo is a convenience, not intended to take the place of AccessX
5549 which is the better choice for getting 'sticky' modifier keys.
5551 * libspi/deviceeventcontroller.c:
5552 * at-bridge/bridge.c:
5553 * cspi/spi_registry.c:
5554 Removed some debug print stuff, and put other verbosity in #ifdef
5559 Implemented some more of the magnifier IDL for the simple
5560 magnifier: namely, getZoomRegionParams.
5561 Added mag_x and mag_y members to MagnifierData struct, aid of this
5563 Added GtkWindow::realize signal handler to magnifier, to keep it
5564 from receiving keyboard focus from the WM.
5566 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5568 * cspi/spi-private.h: my guess at what michael forgot
5569 before he ran off to NZ :-)
5571 2001-11-23 Michael Meeks <michael@ximian.com>
5573 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5574 comment out non existant method invoke so we link.
5576 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5577 use bonobo_exception_get_text for more friendly warnings.
5579 * cspi/spi.c (Obj_Add): move into spi_main & rename
5580 spi_object_add; kill spi.c
5582 * cspi/spi_registry.c
5583 (deregisterGlobalEventListener),
5584 (deregisterGlobalEventListenerAll),
5585 (registerGlobalEventListener): fix exception leaks.
5587 * cspi/spi_main.c (spi_exception): impl. helper, so we
5588 don't leak exceptions.
5590 * cspi/spi_selection.c
5591 (AccessibleSelection_deselectSelectedChild): return the
5594 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5595 (spi_registry): ditto.
5596 (SPI_init): guard against double inits.
5598 * cspi/*.c: use spi_ev (), and spi_registry () where
5599 appropriate - a temporary hack until we have something
5600 better. Use spi_object_add
5602 2001-11-22 Michael Meeks <michael@ximian.com>
5604 * cspi/Makefile.am: re organise, install the headers.
5606 * cspi/*.h: add G_BEGIN/END_DECLS
5608 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5611 Added non-preemptive keylistener for key events with no modifiers
5612 and shift-only modifier.
5614 * libspi/keystrokelistener.c:
5615 Removed some verbose diagnostics printout.
5617 * cspi/spi_registry.c:
5618 Fixed a bug that caused all key listeners to be registered as
5621 * libspi/deviceeventcontroller.c:
5622 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5623 for non-preemptive key masks.
5626 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5628 * docs/reference/idl/at-spi-idl-docs.sgml:
5629 * docs/reference/idl/at-spi-idl-sections.txt:
5630 * docs/reference/idl/at-spi-idl-overrides.txt:
5631 Added missing files.
5633 * docs/reference/Makefile.am:
5634 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5635 to scan the IDL files :-(
5640 Added .cvsignore files.
5642 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5644 * libspi/deviceeventcontroller.c:
5645 * libspi/keystrokelistener.c:
5647 * cspi/spi_registry.c:
5648 Added filters for KeySets, KeyEventSeq, and event types to key
5649 event dispatching, so listeners should only receive those events
5650 that they requested :-)
5652 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5657 * docs/reference:Makefile.am:
5658 * docs/reference/cspi:
5659 * docs/reference/cspi:Makefile.am:
5660 * docs/reference/cspi:tmpl:
5661 * docs/reference/cspi:tmpl:*.sgml:
5662 * docs/reference/idl:
5663 * docs/reference/idl:Makefile.am:
5664 * docs/reference/idl:at-spi-idl-sections.txt:
5665 * docs/reference/idl:at-spi-idl-docs.sgml:
5666 * docs/reference/idl:tmpl:
5667 * docs/reference/idl:tmpl:*.sgml:
5669 Restructured docs directory to allow separate 'reference' docs
5670 section, and forked idl and cspi docs. Added the sgml template
5671 files to CVS. Added the first sections/structural sgml for the
5674 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5676 * configure.in, libspi/Makefile.am: find libXtst.
5678 2001-11-21 Michael Meeks <michael@ximian.com>
5680 * test/accessx-gui.c: s/spi_value/value/ - doh.
5682 * libspi/base.[ch]: add.
5684 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5686 * idl/Accessible.idl:
5687 * idl/Application.idl:
5690 Started gtk-doc cleanup on IDL.
5692 * libspi/deviceeventcontroller.c:
5693 Added and connected non-preemptive key notification from the
5694 toolkits (in addition to the pre-emptive support from XServer
5695 which we had before, but which causes 'focus flashing'). Filters
5696 are presently limited to key modifiers and global/non-global,
5697 KeySets are presently ignored, as are KeyEvent masks.
5699 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5700 structs into the persistant structure rather than just storing
5701 pointers to things that might not persist across servant
5704 The XGrabKey call now does async keygrabs, because synchronous
5705 ones were deadlocking with GDK_event code in a very nasty way.
5707 Added boolean to internal method notify_keylisteners, to indicate
5708 whether the event came from the 'toolkit source' or the 'global
5709 (XServer) source' - this is used in the notification process to
5710 determine which listeners to send the event to.
5712 deviceeventcontroller.c is now warning-free.
5714 * libspi/registry.c:
5715 Fixed regression in application de-registration.
5716 Also fixed some really brain-dead weirdness having to do with
5717 event dispatching - event structs are now duplicated before being
5718 re-marshalled in the dispatch to listeners. This also fixes a
5719 Solaris build problem.
5722 2001-11-20 Michael Meeks <michael@ximian.com>
5725 (impl_accessibility_registry_deregister_global_event_listener):
5728 * libspi/deviceeventcontroller.c
5729 (spi_device_event_controller_check_key_event): return
5730 FALSE on no virtual method.
5732 * libspi/*..h: make includes work on a correctly pathed install.
5734 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5736 * libspi/application.h: kill unused ( and whacked out )
5737 gboolean *spi_application_set_id (AtkObject *app, long id);
5739 2001-11-20 Michael Meeks <michael@ximian.com>
5741 * libspi/*.[ch]: further convert to bonobo's type func
5742 macros, remove redundnant casts etc.
5744 * libspi/text.c s/accessibility_text/spi_text/g,
5745 re-order to de-cruft.
5747 * libspi/hypertext.c: re-order to kill a huge slew
5748 of redundant forward decls.
5750 * libspi/relation.c: ditto.
5752 * libspi/image.c: ditto.
5754 * */.cvsignore: update
5756 2001-11-20 Michael Meeks <michael@ximian.com>
5758 * libspi/deviceeventcontroller.c
5759 (_controller_register_with_devices): use g_getenv,
5760 kill stdlib.h include.
5762 * libspi/keystrokelistener.c
5763 (spi_keystroke_listener_get_type): kill
5764 (spi_keystroke_listener_class_init),
5765 (spi_keystroke_listener_init): rename to this.
5767 * libspi/text.c (impl_getAttributes): fix warning / bug.
5769 * libspi/*.[ch]: more headers, includes and over commenting.
5771 2001-11-20 Michael Meeks <michael@ximian.com>
5773 * libspi/*.[ch]: fixup headers, includes and over commenting.
5775 * libspi/image.c (impl__get_imageDescription): const
5776 correctness warning fix. remove redundant casting.
5778 * libspi/table.c (impl_getRowDescription): ditto.
5779 (impl_getColumnDescription): ditto.
5781 * libspi/libspi.h: add.
5783 2001-11-19 Michael Meeks <michael@ximian.com>
5785 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5787 * libspi/component.c (accessibility_component_get_type):
5788 rename to (spi_component_get_type): and macroify.
5789 (accessibility_component_init): rename to
5790 (spi_component_init): this
5791 (accessibility_component_class_init): rename to
5792 (spi_component_class_init): this
5794 * libspi/action.c (spi_action_get_type): kill, use the macro.
5796 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5799 * libspi/application.c (spi_application_object_event_listener),
5800 (impl_accessibility_application_register_object_event_listener):
5801 warning fixes / const understanding updates.
5803 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5806 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5808 * libspi/spi_accessible.c: Added docs and C bindings for
5809 AccessibleStateSet. (No implementations yet). Documentation
5810 coverage for C bindings now 100%. Made docs for event listeners
5815 boolean notifyListenersSync (in DeviceEventListener listener,
5816 in DeviceEvent event);
5818 oneway void notifyListenersAsync (in DeviceEventListener listener,
5819 in DeviceEvent event);
5821 Added DeviceEventListener and DeviceEvent structs (may deprecate
5822 KeyStroke and KeystrokeListener in favor of this generic
5823 event/listener framework for devices).
5825 * libspi/deviceeventcontroller.c:
5827 Changed some key listener code to take masks, etc., and paved the
5828 way for integration of toolkit/non-preemptive key events. Changed
5829 signatures of some internal methods.
5831 * at-bridge/bridge.c:
5832 Fixed regression connecting to interface signals, apparently
5833 caused by GTK+ changes.
5835 Added an internal bridge_state_listener to deal with
5836 property-change:accessible-state signals.
5838 Changed the key_listeners GList to store structs (including masks,
5839 etc.) instead of just CORBA_Objects (required for full
5840 implementation of key listener API).
5842 Connected the bridge to all currently supported Atk signals.
5843 Events now supported:
5844 object:property-change
5845 object:property-change:accessible-name
5846 object:property-change:accessible-state
5847 object:property-change:accessible-description
5848 object:property-change:accessible-parent
5849 object:property-change:accessible-value
5850 object:property-change:accessible-role
5851 object:property-change:accessible-table-caption
5852 object:property-change:accessible-table-column-description
5853 object:property-change:accessible-table-column-header
5854 object:property-change:accessible-table-row-description
5855 object:property-change:accessible-table-row-header
5856 object:property-change:accessible-table-summary
5857 object:children-changed
5858 object:visible-data-changed
5859 object:selection-changed
5860 object:text-selection-changed
5862 object:text-caret-moved
5864 object:row-reordered
5866 object:column-inserted
5867 object:column-reordered
5868 object:column-deleted
5869 object:model-changed
5871 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5873 * libspi/hyperlink.c,h:
5874 Fixed some broken stuff in hyperlink.
5876 * libspi/relation.h:
5877 * libspi/relation.c:
5878 * cspi/spi_accessible.c:
5879 Initial implementations of AccessibleRelation methods, and docs.
5881 * libspi/accessible.c:
5882 Fixed a bug that caused SEGV if an accessible
5883 object's description is NULL, and a client
5884 requests it. An empty string is now returned.
5886 * cspi/spi_editabletext.c:
5887 * cspi/spi_hypertext.c:
5889 * cspi/spi_hyperlink.c:
5893 Doc coverage now 95%.
5895 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5897 One last namespacing revision:
5898 * libspi/accessibleeventlistener.[ch]:
5899 Renamed SpiAccessibleEventListener to SpiEventListener,
5900 (no need for two namespaces ;-)
5902 And lots of documentation fixes:
5904 * docs/at-spi-docs.sgml:
5905 Fixed 'underscore vs. hyphen' bug that was preventing
5906 the gtk-doc API docs from being automatically generated.
5909 * cspi/spi-listener.h
5911 * cspi/spi_accessible.c
5913 * cspi/spi_application.c
5914 * cspi/spi_component.c
5915 * cspi/spi_editabletext.c
5917 * cspi/spi_hypertext.c
5919 * cspi/spi_registry.c
5920 * cspi/spi_selection.c
5924 * docs/at-spi-docs.sgml
5925 * docs/at-spi-sections.txt
5927 Added and fixed up gtk-doc documentation in cspi.
5929 Interfaces now (fully) documented (subject to revision and enhancement):
5931 Event Listener Support
5933 AccessibleApplication
5937 AccessibleEditableText
5944 AccessibleRelationSet
5949 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5951 * at-bridge/bridge.c:
5952 Initial work for toolkit-level key snooper connection by bridge.
5957 New typedefs and fixes to support new namespacing, and cleaner
5958 separation of cspi bindings from libspi bonobo implementation.
5959 Removed inconsistent and extraneous Spi* namespace prefix that
5960 had crept into cspi headers.
5961 Lots of comment fixes that sed had missed.
5963 * cspi/spi-roletypes.h:
5964 * cspi/spi-statetypes.h:
5965 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5966 to AccessibleRoleType.
5968 * libspi/accessibleeventlistener.h:
5969 Fixed minor namespacing weirdness.
5971 * libspi/deviceeventcontroller.c:
5972 Reordered some internal API for device listeners.
5973 Changed the key registry final boolean to 'is_system_global'
5974 rather than 'is_synchronous', which is more descriptive of its
5976 Added spi_device_event_controller_new().
5977 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5979 * libspi/keystrokelistener.[ch]:
5980 Namespaced KeystrokeListener to SpiKeystrokeListener.
5981 Changed uses of keymasks to use SPI_ prefix, and did other
5984 * libspi/keymasks.h:
5985 Namespaced keymask constants with SPI_ prefix.
5987 * libspi/registry.c:
5988 Some warning fixes, and knock-on fixes from namespace changes.
5991 Added rules for accessx-gui test program.
5993 * test/accessx-gui.c:
5994 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5995 utility. It doesn't actually use at-spi, but it's still cool and
5998 * test/keysynth-demo.c:
6002 Fixes so that these test clients work properly with the namespaced
6003 libraries. (Incompletely tested for technical reasons, fixes may follow)
6006 2001-11-13 Michael Meeks <michael@ximian.com>
6008 * libspi/application.c
6009 (impl_accessibility_application_get_version),
6010 (impl_accessibility_application_get_toolkit_name):
6012 (impl_accessibility_application_set_id),
6013 (impl_accessibility_application_get_id): remove
6014 redundant casting code.
6016 * libspi/action.c (impl_getDescription): fix warnings.
6018 * libspi/accessible.c
6019 (impl_accessibility_accessible_get_parent),
6020 (impl_accessibility_accessible_get_child_at_index),
6021 (impl_accessibility_accessible_get_state),
6022 (impl_accessibility_accessible_get_relation_set):
6023 warning fixes & include action.h
6025 2001-11-13 Michael Meeks <michael@ximian.com>
6027 * *.[ch] fix bits I screwed up:
6029 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6030 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6032 2001-11-13 Michael Meeks <michael@ximian.com>
6034 * *.[ch] Namespace libspi into spi_ and Spi.
6036 2001-13-11 Michael Meeks <michael@ximian.com>
6038 * Makefile.am: dist & install at-spi-1.0.pc
6040 * libspi/Makefile.am: install into at-spi-1.0
6042 * idl/Makefile.am (idldir): install into at-spi-1.0
6044 * at-spi-1.0.pc.in: add.
6046 * configure.in: build it.
6048 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6050 * test/keysynth-demo.c:
6051 Use a 'realize' signal-handler to set the WM properties for
6052 the virtual keyboard, rather than making it a "POPUP" type
6053 override-redirect window (thanks to anders carlsson for that
6056 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6059 * test/keysynth-demo.c:
6060 Added new test of key synthesis, which creates a simple
6061 (mouse-operated) onscreen keyboard. It inserts key events into
6062 the currently-focused window, thus it does not grab keyboard focus
6065 * cspi/spi_registry.c:
6066 Added C binding for AT-SPI generateKeyEvent.
6068 * libspi/deviceeventcontroller.c:
6069 Added call to XFilterEvent so that key listener works with XIM (we
6070 hope). Added event_synth_type to generateKeyEvent, so that we can
6071 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6072 synthesize a press/release pair for KeySyms.
6074 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6076 * libspi/Makefile.am:
6077 * registryd/Makefile.am:
6078 (temporary) hack to include libXtst in libspi and registryd.
6079 (Needed for keystroke synthesis, see below).
6082 Improved API for registerKeystrokeListener, in accordance with
6083 discussions with Gnopernicus team and X server research.
6085 * libspi/registry.c:
6086 * libspi/deviceeventcontroller.c:
6087 * libspi/accessible.c:
6088 * libspi/keystrokelistener.c:
6089 Changes and fixes to support keylisteners for potentially
6090 consumed key events (that is, 'passive grabs').
6091 Added implementation for generateKeyEvent() [untested].
6094 Changes to registerKeystrokeListener() API, as above.
6095 Added deregisterGlobalEventListenerAll(), and
6096 deregisterKeystrokeListener(), which are needed for clean exit of
6098 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6099 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6101 * cspi/spi_registry.c:
6102 Added implementations of function prototypes mentioned above.
6104 * registryd/registryd.c:
6105 Added the key listener event source as a g_timeout(), to allow
6106 receipt of key events that are not caught by GDK (since GDK
6107 doesn't support passive keygrabs, this was necessary).
6110 Changed to attach a keylistener to 'Alt' keys, and
6111 respond to the following keycommands: Alt-M (toggle magnifier);
6112 Alt-F (toggle speech); Alt-Q (quit).
6113 Added an exit routine to deregister the listeners, and a key
6114 listener that prints some key info to the console when a key
6115 matches the listener mask (and is thus received by the listener).
6117 * util/idl/Magnifier.idl:
6118 Changes to magnifier API to support multiple zoom regions,
6119 non-uniform scaling in x and y, markDirty, and a host of other
6120 features that would be useful to magnification.
6123 * util/mag_client.c:
6124 * util/mag_client.h:
6125 * util/mag_control.c:
6127 Source code changes to support the above IDL changes.
6130 As above, and also changes to use a (slower) generic conversion
6131 path for colormap conversions, since the fast RGB conversions have been
6132 reported to fail for 16-bit displays.
6134 2001-10-26 Michael Meeks <michael@ximian.com>
6136 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6138 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6140 * at-bridge/Makefile.am: fix LDFLAGS.
6142 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6144 * at-bridge/bridge.c:
6145 Re-worked listeners for toolkit events, now we have signal
6146 and property listeners. Added a private method
6147 register_atk_event_listeners(), which registers with the
6148 various atk and gtk signals we need to monitor in order to emit
6150 Added emission hook for AtkObject:property-change events, to
6151 support the 'property listeners'.
6152 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6155 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6156 which emit warnings and exit, respectively, if CORBA errors occur
6157 during remote calls, and we now use these methods to check most of
6158 our CORBA calls in the C bindings.
6160 * cspi/spi_accessible.c:
6161 Changed AccessibleSelection_refSelectedChild() to
6162 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6163 now increment refcounts.
6165 * cspi/spi_component.c:
6166 Fixed some long pointer casts (dangerous!) to pass pointers to
6167 CORBA_longs of the proper type to the CORBA stubs, and copy the
6168 data into the longs that were passed into the C bindings code.
6170 * at-bridge/bridge.c:
6172 * libspi/accessible.c:
6173 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6174 hyperlinks, AtkHyperlink is an object type.
6176 * libspi/application.c:
6177 Added various conversions to and from "generic" event types and
6178 atk-specific types; this is really part of the 'bridge'
6179 implementation but is valid for all AtkObject-based accessibility
6182 * libspi/editabletext.c:
6183 Fixed nasty bug wherein editable text's finalize method was
6184 unref'ing tha AtkObject reference that the text parent class was
6185 about to unref _again_. There was also a nasty inheritance bug
6186 that meant that the AccessibleEditableText class was corrupt.
6188 * libspi/selection.c:
6189 Provided implementations for some selection API that was broken.
6191 * idl/Application.idl:
6192 Added registerObjectEventListener () method.
6195 Fixed a number of return values that were Bonobo_Unknowns from
6196 bonobo_object_corba_objref(), which I
6197 forgot to dup before returning. Changed instances of
6198 bonobo_object_corba_objref (bonobo_object(o)) to
6199 BONOBO_OBJREF(o), for concision and clarity.
6201 2001-10-13 Louise Miller <louise.miller@sun.com>
6203 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6204 idl/Event.idl, idl/Registry.idl
6205 Changed these files to include Bonobo_Unknown.idl instead
6208 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6210 * libspi/component.c libspi/component.h:
6211 Fixed typo. Added assertions for object checks in
6212 AccessibleComponent code.
6214 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6216 * idl/Accessible.idl:
6217 Added 'isEqual (Accessible *object)'
6218 method for Accessible. (Not Yet Implemented).
6221 Changed signature of registerKeystrokeListener() to
6222 take a KeySet and KeyEventSeq so that specific keys and event
6223 types could be requested for monitoring, and added a flag
6224 is_synchronous so that either synchronous or asynchronous
6225 notification could be requested. (However this is not all
6226 implemented yet). This also meant adding two new typedefs,
6227 KeyEventSeq and KeySet.
6230 Added two new relations, RELATION_TOOLTIP_FOR and
6231 RELATION_LEAFNODE_OF.
6234 Added new state, STATE_HAS_TOOLTIP.
6236 * libspi/text.c, editabletext.c:
6237 Added new assertions to all casts of bonobo-objects from
6238 CORBA servants, to prevent Text API calls on non-text objects.
6239 Changed suspect casts of int-pointer types, so that we
6240 always send a valid CORBA_long pointer to the CORBA APIs that use
6241 in/out long parameters. We then have to copy from the CORBA_long
6242 into the regular long or int for return to the C bindings, or
6243 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6246 * libspi/deviceeventcontroller.c:
6247 Cleaned these sources up.
6249 Changed return type for getCharacterAtOffset to
6250 CORBA_unsigned_long, to allow for 32-bit characters.
6253 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6257 Fixed 'make dist' so that distro compiles...
6258 * libspi/keymasks.h:
6260 * cspi/spi-listener.c:
6261 KeystrokeListenerCB now returns a boolean.
6263 Added KeyEventType struct, and KeyStroke.
6264 Also added createKeystrokeListener(),
6265 KeystrokeListener_addCallback(),
6266 KeystrokeListener_removeCallback(), and added a keymask to
6267 registerKeystrokeListener().
6268 * cspi/spi_accessible.c:
6269 Changed numerous return types for interfaces from
6270 AccessibleComponent to Accessible<InterfaceName>; this was
6271 probably a cut-and-paste error.
6273 Implementations of new KeystrokeListener api (from spi.h,
6276 Changes to key modifier mapping.
6277 Created ControllerEventMask struct.
6278 Made DeviceEventController derive from Bonobo::Unknown.
6280 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6281 * libspi/deviceeventcontroller.c:
6282 Added a number of new internal (private) methods.
6283 * libspi/editabletext.c:
6284 * libspi/editabletext.h:
6285 Fixed a number of bugs related to the fact that
6286 editabletext inherits from text. Fixed the EditableText struct,
6287 the init() call, and use correct casts when calling Text methods
6288 from an EditableText object. Removed (duplicate) atko from the
6289 EditableText structure, we use the one in the parent Text
6290 structure via the casts mentioned above.
6291 * libspi/keystrokelistener.[ch]:
6292 * libspi/registry.c:
6293 Changes in support of keyboard handling (above).
6295 Keyboard handling, though partly functional, is still not
6296 recommended for at-spi client use as there is considerable
6297 work yet to be done.
6300 Changed some places where pointers to various int types
6301 are cast to be pointers to CORBA_long types and vice-versa:
6302 pointer casting is not safe so we pass pointers of the correct
6303 types and then cast the result before putting it into the target
6306 * libspi/text.h: minor typos corrected.
6308 We now speak not only the name of a Text element, but the
6309 first sentence of its content, when it receives focus.
6310 I also changed the text compression to 75% from 50%.
6311 * util/Accessibility_Util.server.in:
6312 Changed the default magnifier type to be a 3x vertical
6313 splitscreen magnifier (was previously a 2x horizontal one).
6315 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6317 * libspi/keystrokelistener.h:
6318 * libspi/keystrokelistener.c:
6319 Initial functional implementations of KeystrokeListener.
6322 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6324 Fixed string handling for NULL strings in libspi.
6325 Added spi_freeString to free strings returned by C bindings.
6327 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6329 * libspi/keystrokelistener.h:
6330 * libspi/keystrokelistener.c:
6331 Began (no-op) implementations of KeystrokeListener
6333 * libspi/deviceeventcontroller.c:
6334 * libspi/deviceeventcontroller.h:
6335 Began creating implementations of DeviceEventController,
6336 to handle keystroke and mouse event listening and
6338 * libspi/accessible.c:
6339 Stubbed-in the implementations for
6340 Accessibility_Accessible_getState and
6341 Accessibility_Accessible_getRelationSet.
6342 * libspi/registry.c:
6343 Improved de-registration process and fixed some bugs,
6344 deregistration now works correctly.
6346 Added initialization of applications list (to NULL).
6348 Reduced speech compression from 0.5 to 0.7, for demo.
6349 Changed call to gdk_window_set_decorations()
6350 to gtk_window_set_decorated().
6351 * at-bridge/bridge.c:
6352 Bridge now deregisters when app exits, via
6353 registration of a cleanup function
6354 with the g_atexit() call.
6355 Required making 'app' static, renamed 'this_app'.
6356 Fixed broken use of bonobo_init, passing argv wrongly.
6358 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6362 Created a new directory for
6363 accessibility-related utilities, primarily for
6364 testing and demo purposes, but with possible
6371 Onscreen magnifier utility that
6372 is implemented as a bonobo service.
6374 * util/mag_client.c:
6375 * util/mag_client.h:
6376 Client-side support (simple C bindings)
6377 for Magnification service
6379 * util/mag_control.c:
6380 Client program example for
6381 Magnification service
6383 * util/Accessibility_Magnifier.server.in:
6384 Bonobo-activation file for the
6385 Magnification service.
6388 * util/idl/Magnifier.idl:
6389 IDL defining the bonobo Magnification
6393 Modifications to use the bonobo-activated magnifier
6394 above, in place of trying to connect to an existing
6395 magnifier that uses socket-listening IPC.
6397 If env variable MAGNIFIER is set, a magnifier service
6398 will be started if one does not exist.
6400 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6402 * at-bridge/bridge.c:
6403 applied patch from Marc to build and run
6404 against new glib and gtk+ (seemed like a change
6405 to bonobo_init signature was made ?)
6407 made festival-server support turned off by default.
6408 Added support for a simple magnifier (off by default)
6409 which will be added to a 'util' directory later.
6410 * at-bridge/Makefile.am:
6411 Changed "application.h" header from a 'source'
6412 to a 'dependency' of libat-bridge.
6414 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6423 Added interface implementation c files to list of
6424 includes so they are included in libcspi.
6427 Changed prototype of AccessibleAction_doAction to return a
6429 Changed prototype of AccessibleTable_getCaption to
6430 return an Accessible.
6431 Changed prototype of AccessibleTable_getSelectedRows
6432 and AccessibleTable_getSelectedColumns to
6433 return a long (returns the number of selected rows
6434 or columns respectively).
6435 Changed name of AccessibleText_refRunAttributes to
6436 AccessibleText_getAttributes.
6437 Changed prototype of AccessibleText_getCharacterExtents to
6438 return a void rather than a boolean.
6439 Added support for a AccessibleCoordType parameter
6440 specifying what type of coordinates are desired.
6441 Added an AccessibleCordType parameter to
6442 AccessibleText_getPointAtOffset.
6444 * cspi/spi_accessible.c:
6445 Added code to return the outstanding interfaces from
6446 Accessible_queryInterface.
6448 * cspi/spi_action.c:
6450 Corrected call to getNActions to call the c binding
6453 * cspi/spi_editabletext.c:
6455 Changed name from setRunAttributes to setAttributes.
6457 * cspi/spi_hyperlink.c:
6459 Changed call to getNAnchors to correctly call the c
6460 binding for an attribute.
6462 * cspi/spi_hypertext.c:
6464 Changed getImageDescription to correctly call the
6465 binding for an attribute.
6467 * cspi/spi_selection.c:
6468 Changed getNSelectedChildren to correctly call the c
6469 binding for the attribute.
6470 Changed refSelectedChild to getSelectedChild.
6474 Changed getCaption to return an Accessible.
6475 Fixed calls which retrieve attributes.
6476 Changed refAt to getAccessibleAt.
6477 Changed getNSelectedRows and getNSelectedColumns to
6481 Changed getCharacterExtents and getPointAtOffset to accept an
6482 AccessibleCoordType.
6484 Changed calls which retrieve attributes.
6485 Changed refRunAttributes to getAttributes.
6490 * idl/Hyperlink.idl:
6491 Changed n_anchors attribute to nAnchors to keep naming
6492 convention consistent.
6495 Made Table inherit from Bonobo::Unknown.
6496 Added nSelectedColumns and nSelectedRows attributes.
6499 Made Value inherit from Bonobo::Unknown.
6501 * libspi/hyperlink.c:
6502 Change for nAnchors attributte name change.
6504 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6512 Added interface implementation c files to list of
6513 includes so they are included in libcspi.
6516 Changed prototype of AccessibleAction_doAction to return a
6518 Changed prototype of AccessibleTable_getCaption to
6519 return an Accessible.
6520 Changed prototype of AccessibleTable_getSelectedRows
6521 and AccessibleTable_getSelectedColumns to
6522 return a long (returns the number of selected rows
6523 or columns respectively).
6524 Changed name of AccessibleText_refRunAttributes to
6525 AccessibleText_getAttributes.
6526 Changed prototype of AccessibleText_getCharacterExtents to
6527 return a void rather than a boolean.
6528 Added support for a AccessibleCoordType parameter
6529 specifying what type of coordinates are desired.
6530 Added an AccessibleCordType parameter to
6531 AccessibleText_getPointAtOffset.
6533 * cspi/spi_accessible.c:
6534 Added code to return the outstanding interfaces from
6535 Accessible_queryInterface.
6537 * cspi/spi_action.c:
6539 Corrected call to getNActions to call the c binding
6542 * cspi/spi_editabletext.c:
6544 Changed name from setRunAttributes to setAttributes.
6546 * cspi/spi_hyperlink.c:
6548 Changed call to getNAnchors to correctly call the c
6549 binding for an attribute.
6551 * cspi/spi_hypertext.c:
6553 Changed getImageDescription to correctly call the
6554 binding for an attribute.
6556 * cspi/spi_selection.c:
6557 Changed getNSelectedChildren to correctly call the c
6558 binding for the attribute.
6559 Changed refSelectedChild to getSelectedChild.
6563 Changed getCaption to return an Accessible.
6564 Fixed calls which retrieve attributes.
6565 Changed refAt to getAccessibleAt.
6566 Changed getNSelectedRows and getNSelectedColumns to
6570 Changed getCharacterExtents and getPointAtOffset to accept an
6571 AccessibleCoordType.
6573 Changed calls which retrieve attributes.
6574 Changed refRunAttributes to getAttributes.
6579 * idl/Hyperlink.idl:
6580 Changed n_anchors attribute to nAnchors to keep naming
6581 convention consistent.
6584 Made Table inherit from Bonobo::Unknown.
6585 Added nSelectedColumns and nSelectedRows attributes.
6588 Made Value inherit from Bonobo::Unknown.
6590 * libspi/hyperlink.c:
6591 Change for nAnchors attributte name change.
6594 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6596 implementations-- made server implementations own AtkObject pointers
6597 rather than their respective AtkInterrface pointers to fix
6598 refcounting. AtkHyperlink is still broken.
6600 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6601 * cspi/spi_accessible.c:
6602 Added method Accessible_Role_getName(),
6603 and requisite string array (role_names).
6604 Added conversion string_from_corba_strin() call
6605 to Accessible_getName and _getDescription.
6606 * libspi/accessible.c:
6607 Added implementation for Accessible_getRole()
6609 Added festival support, used if environment variable
6612 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6614 * at-bridge/bridge.c:
6615 Now allocate Accessibility_Event using
6616 Accessibility_Event__alloc() instead of g_new0().
6617 * libspi/accessibleeventlistener.c:
6618 Initialize AccessibleEventListener->callbacks to NULL.
6619 Fixed accessible__event_listener_init() param, changed to
6620 "AccessibleEventListener *" type.
6621 Changed a bonobo_object_release_unref() call to
6622 Accessibility_Accessible_unref().
6623 * libspi/listener.c:
6624 Changed Bonobo_Unknown_unref to (equivalent)
6625 Accessibility_Accessible_unref.
6626 * libspi/registry.c:
6627 Changed bonobo_object_release_unref to
6628 Accessibility_Accessible_unref.
6630 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6633 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6634 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6635 spi-util.c spi-util.h
6636 Implementations for C bindings to remaining accessibility
6639 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6642 changed return value of Action from void to boolean to
6643 bring in line with ATK.
6646 Changed getText funcions to return "out" start and end offsets.
6647 Changed getAttributes to take and offset and return the start
6648 and end offset of the attribute run.
6649 Changed getOffsetAtPoint and getCharacterExtents to take an
6650 enum describing whether coordinates are window or screen.
6653 libspi/action.c libspi/action.h libspi/editabletext.c
6654 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6655 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6656 libspi/image.h libspi/selection.c libspi/selection.h
6657 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6658 libspi/value.c libspi/value.h
6659 Added server implementations for outstanding ATK interfaces
6660 not yet implemented.
6662 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6665 Added (missing) getName() method.
6666 Made nActions an attribute.
6667 * idl/EditableText.idl:
6668 Changed order of params in setAttributes.
6669 * idl/Hyperlink.idl:
6670 Removed getAnchor, added getURI.
6672 Changed attributes to methods, for efficiency
6673 (so that getting extents can be done in one call)
6674 * idl/Selection.idl:
6675 Changed nSelectedChildren to attribute, and re-indented.
6676 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6678 * idl/Text.idl: reformatted to match our coding style.
6679 (temporarily?) removed getRowColumnAtOffset().
6680 Changed text selection API to support multi-select and
6681 non-contiguous selections, as in ATK.
6682 * idl/Value.idl: changed some methods to attributes.
6684 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6686 * libspi/listener.c(impl_notify_event):
6687 BonoboUnkown_unref the source instead
6688 of bonobo_object_release_unref - the ORB
6689 handles the releasing.
6691 * configure.in: require ORBit-2.3.94 for
6694 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6696 Tagged CVS repository 'EA_1_0'.
6697 * README.EARLY_ACCESS:
6698 Alphabetized acknowledgements list, and
6700 Listed some known dependencies of at-spi.
6702 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6704 * docs/at-spi-docs.sgml:
6705 * docs/at-spi-sections.txt:
6706 * docs/at-spi-overrides.txt: (Added zero-length file)
6707 Documentation improvements - gtk-doc should build
6708 docs for all implemented C bindings now.
6711 * cspi/spi.c: (New file)
6712 * cspi/spi_event.c: (New file)
6713 * cspi/spi_registry.c: (New file)
6714 * cspi/spi_accessible.c: (New file)
6715 * cspi/spi_application.c: (New file)
6716 * cspi/spi_component.c: (New file)
6717 Split spi_main.c into six parts, and included them from
6718 "spi.c". This is a bit of a hack, probably temporary,
6719 but required by gtk-doc, apparently.
6721 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6724 * docs/at-spi-docs.sgml:
6725 * docs/at-spi-sections.txt:
6727 Initial checkins/modifications for gtk-doc generation.
6730 Added (missing) interface query methods to Accessible's C binding.
6732 Added GenericInterface type definition.
6734 Added query for AccessibleComponent interface to focus event handler.
6735 Added printout of bounding box for focussed component.
6736 * libspi/component.c:
6737 Added partial implementation for AccessibleComponent to C binding.
6738 * idl/Application.idl:
6739 * libspi/registry.c:
6740 * libspi/listener.c:
6741 * libspi/application.c:
6742 * libspi/application.h:
6743 Changed "ID" attribute type from string to long.
6745 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6749 Made method naming consistent: methods taking object args
6750 start with uppercase, other methods (except those using
6751 acronyms) start with lowercase. Underscores delimit between
6752 object names and method names:
6753 SPI_init() - uppercase since it starts with an acronym.
6754 getDesktopCount () - lowercase start since no object param0.
6755 Accessible_getName() - uppercase object type name, studlyCaps method
6759 Added gtk-doc documentation for all currently implemented
6760 methods in the C bindings API.
6762 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6764 * Makefile.am : changed build order to build test last.
6767 Changed "createEventListener" to "CreateEventListener".
6768 * libspi/accessibleeventlistener.c :
6769 Bugfix for addition of callbacks.
6770 * test/Makefile.am :
6771 * test/simple-at.c :
6772 Added new test that uses the C bindings API.
6774 * libspi/listener.c :
6775 * libspi/registry.c :
6776 * libspi/accessibleeventlistener.c :
6777 * at-bridge/bridge.c :
6778 Renamed member "target" of Accessibility_Event to "source",
6779 which is more descriptive.
6782 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6786 * cspi/Makefile.am :
6787 Added makefile support for at-spi/cspi directory.
6790 * cspi/spi-listener.h : (NEW FILE)
6791 Added support for/use of spi-listener.h.
6793 C bindings now build successfully, with no warnings.
6794 * libspi/accessibleeventlistener.h : (NEW FILE)
6795 * libspi/accessibleeventlistener.c : (NEW FILE)
6796 * libspi/Makefile.am :
6797 Added new object type "AccessibleEventListener"
6798 which inherits from Listener, and allows attachment
6799 of in-process callbacks (so that a client with a listening
6800 object instance can add functionality to the local
6801 implementation, dynamically).
6803 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6805 * libspi/accessible.c:
6806 Add implementation for get_index_in_parent().
6808 Added #include of "spi-roletypes.h", and
6809 added enumerated type AccessibleCoordType.
6810 Added definition for KeystrokeListener (function type).
6813 * cspi/spi-statetypes.h :
6814 * cspi/spi-roletypes.h :
6816 Added these headers, used by spi.h.
6818 Added code (NOTE: not yet built by make).
6820 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6822 * libspi/Makefile.am: generate imodule
6823 at the same time as other idl compiler
6826 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6827 * libspi/registry.c :
6828 * libspi/application.c :
6829 * idl/Application.idl :
6830 Made registration with toolkit an application method,
6831 which is required since each app has its own toolkit static
6832 environment. Thus the bridge must register for
6833 notification of toolkit events from each application in turn.
6834 Toolkit notifications are now successfully registered for, and
6835 sent to the listening at client.
6837 Changed toolkit event string to use hyphens rather than underscores.
6838 * libspi/listener.c :
6839 listner now gives more info in debug mode - it reports the
6840 name of the event received, as well as the name of the source.
6843 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6845 * libspi/registry.c :
6846 added more implementation for toolkit events.
6847 Fixed bug such that toolkit event registrations
6848 (via atk) use the whole event name string, not
6850 Removed a useless call to an ORBit_ method.
6851 * at-bridge/bridge.c :
6852 Removed unused local sbuf[] variable.
6854 We now register for Gtk:GtkWidget:button_press_event
6855 events as well as "focus:" events.
6857 Add some more API from Registry.idl that was missing,
6858 for keystroke listening, keystroke and mouse event
6859 synthesis, and enumeration of accessible desktops.
6861 2001-08-16 Michael Meeks <michael@ximian.com>
6863 * configure.in: use AM_GLIB_GNU_GETTEXT.
6865 * Makefile.am (SUBDIRS): kill intl.
6867 2001-08-15 Michael Meeks <michael@ximian.com>
6869 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6871 * configure.in: upd.
6873 * configure.in: depend on a recent bonobo-activation that
6874 will find our server files ...
6876 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6878 * libspi/accessible.c : accessible_new() :
6879 Now we add the Component interface via bonobo_object_add_interface,
6880 if the contained AtkObject implements AtkComponent.
6881 * libspi/accessible.h : now include "component.h"
6882 * libspi/component.h :
6883 * libspi/component.c : added files - implementation of
6884 bonobo wrapper object for Accessibility/Component
6885 * libspi/listener.c :
6886 Added test code to check for Accessibility/Component:1.0
6887 interface and report whether it is implemented by the
6889 * libspi/registry.c :
6890 Now we check for not only the hash of the whole event
6891 string before relaying the event, we also check the
6892 "minor" event string (without the detail string).
6893 This allows event listeners to be registered against
6894 all events of a certain major+minor type, or just
6895 against a specific major+minor+detail type.
6896 * libspi/accessible.c :
6897 Added implementations for Accessible:get_parent(),
6898 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6899 * libspi/registry.c :
6900 * libspi/listener.c :
6901 Replaced calls to Accessibility_Accessible_ref() and
6902 Accessibility_Accessible_unref() with
6903 calls to bonobo_object_dup_ref() and
6904 bonobo_object_release_unref(), so that the CORBA object
6905 is dup-ed and released when relayed, as well as the bonobo object.
6907 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6909 * libspi/Makefile.am,
6910 registryd/Makefile.am,
6911 at-bridge/Makefile.am.
6912 test/Makefile.am, configure.in:
6913 reverse previous changes.
6915 * /idl/Image.idl: fix typo.
6917 * test/Makefile.am: put DEBUG_FLAGS
6920 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6922 * test/app.c: use argv[0] instead of
6925 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6927 * libspi/Makefile.am,
6928 registryd/Makefile.am,
6929 at-bridge/Makefile.am.
6930 test/Makefile.am, configure.in:
6931 cleanup, replace individual LIBS/CFLAGS with
6932 AT_COMMON_{LIBS|CFLAGS}.
6936 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6938 * configure.in, libspi/Makefile.am:
6939 Change IDL path checking for bonobo-activation
6942 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6944 * registryd/registry.c : separated event listeners to use
6945 3 separate lists (focus, window, toolkit). Began testing
6946 event names against hashes before relaying events.
6947 * test/at.c : now register for events of type "focus:"
6948 * test/app.c : now generate events of type "focus:"
6949 * at-bridge/bridge.c : register with ATK for focus events,
6950 and we now relay those focus events to any "focus:" listeners.
6951 This now works with the bridge as a GTK_MODULE when running test/at.
6952 * libspi/registry.c :
6953 * libspi/listener.c :
6954 now we ref event sources before propagating, and unref on receipt.
6955 * libspi/registry.c :
6956 some changes to internal structs, to support event typestring hashes.
6957 * text/app.c : changed the way the appname is generated.
6958 * cspi : added directory that will hold the C bindings library for
6959 non-CORBA/bonobo-savvy clients.
6960 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6961 * idl/Component.idl : added in parameter to indicate coord system for
6962 geometry-related calls.
6963 * idl/Hyperlink.idl : added readonly n_links attribute
6964 * idl/Image.idl : changed methods to attributes.
6966 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6968 * at-bridge/Makefile.am: link against
6969 ../libspi/libspi.la instead of -lspi.
6971 * at-spi/test/app.c: include
6972 bonobo-activation.h. Use a default appname
6973 if one is not provided.
6975 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6977 * idl/Registry.idl : temporarily changed register_Application
6978 to oneway, to work around issue with initial registration
6980 * idl/Application.idl : changed attribute "id" from readonly
6981 to read-write, since it needs to be assigned by Registry.
6982 * registryd/registryd.c : added call to set application id
6984 * registryd/registry.c : changed de-registration procedure to
6985 use CORBA_Object_hash() to find matching object ref in application
6986 lists and listener lists.
6987 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6988 began distinguishing between event types (work in progress).
6990 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6993 * libspi/application.c:
6994 Added implementations for get/set id, get_toolkitName,
6996 * registryd/registryd.c :
7000 Converted from use of OAF to bonobo-activation.
7001 * libspi/desktop.h :
7002 * libspi/desktop.c :
7004 Removed references to atksimpleobject, since base atkobject
7005 implementation now provides functionality we need.
7006 * libspi/atksimpleobject.c :
7007 * libspi/atksimpleobject.h :
7012 * at-bridge/Makefile.am
7013 * at-bridge/bridge.c
7016 Added directory "bridge" and contents, and added dependencies
7017 in Makefile.am/configure.in.
7018 Initial checkin of "at-bridge".
7019 This code is a GTK_MODULE which automatically registers
7020 GTK+ apps with the accessibility registry, using an object
7021 reference to the root ATK object.
7023 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7025 * po/Makefile.in.in: Remove. Again. If this
7026 doesn't get autogenerated - you need to update
7029 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7031 * po/Makefile.in.in: Add. Again.
7033 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7035 * libspi/accessible.c : added support for 'description' property.
7036 * libspi/accessible.c
7038 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7039 (since the two are now equivalent in libbonobo)
7047 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7048 Bonobo::Unknown as does Accessibility::Accessible.
7049 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7050 interface with Bonobo::Stream, since it was redundant with it.
7051 (The Stream returned by a StreamableContext object is expected to
7052 implement only a subset of Bonobo::Stream)
7054 2001-07-28 Anders Carlsson <andersca@gnome.org>
7056 * libspi/accessible.c (accessible_object_finalize): Change
7057 g_free to g_object_unref since the AtkObject is a GObject.
7059 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7061 * idl/Accessibility.idl: add new IDL files
7064 * idl/Action.idl: Definitions of actionable UI object
7065 * idl/Component.idl: Definitions of UI component geometry, etc.
7066 * idl/Hyperlink.idl: Defs of hyperlink behavior
7067 * idl/Image.idl: Def of accessible image
7068 * idl/Selection.idl: Definition of UI object with selectable children
7069 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7070 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7071 * idl/Text.idl: Interface defs for UI elements with complex textual content
7072 * idl/Value.idl: Definition of UI element that is a value controller or display
7074 2001-07-27 Michael Meeks <michael@ximian.com>
7076 * po/Makefile.in.in: remove autogenerated file from CVS.
7078 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7081 * idl/Registry.idl: include guard.
7083 * idl/Accessibility.idl: Add, and include all the other IDL
7086 * idl/*.idl: remove mass of pragmas etc.
7088 2001-07-26 Michael Meeks <michael@ximian.com>
7090 * registryd/Makefile.am (registryd_SOURCES): remove
7093 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7095 * libspi/.cvsignore, registryd/.cvsignore,
7096 test/.cvsignore: updated.
7098 * po/Makefile.in.in: gettext update.
7100 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7102 * initial CVS checkin
7104 2001-06-29 Michael Meeks <michael@ximian.com>
7106 * configure.in: add AM_CONFIG_HEADER to gen config.h