1 2004-07-20 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Revved to 1.5.3.
5 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
7 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
9 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
11 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
13 2004-06-11 Bill Haneman <bill.haneman@sun.com>
15 * atk-bridge/bridge.c:
16 (spi_atk_bridge_do_registration):
17 Register with ATK for AtkComponent:bounds-changed events.
18 (api_atk_bridge_signal_listener):
19 Marshal the AtkRectangle info into the event notification
20 for object:bounds-changed events.
23 (spi_init_any_rect): New method, inits a corba struct of
24 type Accessibility_BoundingBox from an AtkRectangle.
26 * libspi/spi-private.h: Declared spi_init_any_rect (above).
29 (SPIRect): New struct definition.
30 (SPI_freeRect): New declaration.
31 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
34 (AccessibleBoundsChangedEvent_getNewBounds): New method,
35 implemented. Gets the bounding box data from the CORBA_any
36 associated with a bounds-changed event notification.
37 (cspi_internal_event_get_rect): New, used internally by above method.
40 (SPI_freeRect): Implemented this new method, for freeing
43 * test/event-listener-test.c:
44 (main, report_bounds_event):
45 Added a test for object:bounds-changed events.
47 2004-06-01 Bill Haneman <bill.haneman@sun.com>
49 * test/login-helper-server-test.c:
50 (main): Fix C99-ism. Thanks to Jens Granseuer.
52 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
54 * libloginhelper-1.0.pc.in:
55 * idl/Accessibility_LoginHelper.idl:
56 * login-helper/Makefile.am:
57 * login-helper/login-helper.[ch]:
58 * test/login-helper-client-test.c:
59 * test/login-helper-server-test.c: Added files missing from CVS.
60 Files obtained from at-spi-1.5.2 tarball.
62 2004-05-27 Bill Haneman <bill.haneman@sun.com>
64 * configure.in: Create login-helper/Makefile.
65 Incremented micro version.
67 * Makefile.am: Add login-helper subdir and pkgconfig data.
69 * login-helper: New subdir.
71 * libloginhelper-1.0.pc.in: New.
73 * idl/Accessibility_LoginHelper.idl: New file, defines
74 interface whereby authentication clients can identify agents which
75 need access to services during the login process, e.g. screen lock
78 * login-helper/Makefile.am : New.
80 * login-helper/login-helper.[ch] : New, implementation of
81 a LoginHelper base class. Services needing LoginHelper can subclass.
83 * test/Makefile.am : Added test for login-helper, client and
86 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
87 Use proper prefix in #include files.
89 * test/login-helper-client-test.c: New.
91 * test/login-helper-server-test.c: New.
93 2004-05-27 Alexander Shopov <ash@contact.bg>
95 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
97 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
99 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
100 is positive. This should make it easier to detect inapprorpiate unref
103 2004-05-11 James Henstridge <james@daa.com.au>
105 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
106 no-op and deprecated.
108 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
110 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
112 2004-04-28 Bill Haneman <billh@gnome.org>
114 * Makefile.am: Added --enable-gtk-doc to
115 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
117 2004-04-19 Bill Haneman <billh@gnome.org>
119 * configure.in: Revved to 1.5.1.
121 * registryd/deviceeventcontroller.c:
123 (DEControllerPrivateData): Added fields for
124 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
125 (spi_dec_replace_map_keysym): New internal utility for
126 replacing a keysym in the keymap - used to allow
127 synthesis of individual characters which aren't in the
129 (spi_dec_reset_reserved): New; resets the changed keysym value
131 (keycode_for_keysym): We now try to deal with failed
132 XKeysymToKeycode requests by changing a keymap value
133 and returning a reserved keycode. We now take
134 a DEController pointer as first arg.
135 (spi_controller_register_with_devices): Call XkbGetMap with
136 the XkbKeySymsMask. Find the highest keycode in the current
137 keymap which doesn't have any grabs, and mark that one for
138 temporary re-mapping when out-of-range KeySyms are synthesized.
139 (dec_synth_keycode_press): Call XFlush after synthesizing the key
142 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
144 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
146 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
148 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
150 2004-03-24 Bill Haneman <billh@gnome.org>
153 (AccessibleTable_addRowSelection),
154 (AccessibleTable_addColumnSelection),
155 (AccessibleTable_removeRowSelection),
156 (AccessibleTable_removeColumnSelection):
157 Add declarations for spi wrappers which were
158 inadvertantly omitted. Fixes bug #133413.
161 Revved to 1.5.0 (unstable series for GNOME 2.7).
163 2004-03-24 Bill Haneman <billh@gnome.org>
165 * atk-bridge/bridge.c:
166 Bracketed some debug output in
167 conditionals, to avoid printing it in normal use.
170 * libspi/hyperlink.c:
171 Don't cast 'object' to ATK_OBJECT when constructing
172 an AtkAction interface for a hyperlink.
173 See discussion in bug #120659.
175 * test/key-listener-test.c:
176 (report_all_key_event): Send output to stderr,
177 not stdout, for consistency with the rest of the test callbacks.
180 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
181 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
182 Incremented to 1.4.1 (but didn't dist yet - I'm going to
183 try incrementing the revision AFTER doing a dist, at least
186 2004-03-22 Bill Haneman <billh@gnome.org>
188 * configure.in: Revved to 1.4.0, libtool 9.14.9
190 2004-03-17 Laszlo Peter <laca@sun.com>
192 * libspi-1.0-uninstalled.pc.in: add idldir
194 * cspi-1.0-uninstalled.pc.in: add idldir
196 2004-03-16 Gareth Owen <gowen72@yahoo.com>
198 * configure.in: Added "en_GB" to ALL_LINGUAS
200 2004-03-15 Bill Haneman <billh@gnome.org>
202 * configure.in: Revved to 1.3.16,
205 2004-03-15 Laszlo Peter <laca@sun.com>
207 * libspi-1.0-uninstalled.pc.in: new file
209 * cspi-1.0-uninstalled.pc.in: new file
211 * configure.in: add the new pc files to AC_OUTPUT
213 * Makefile.am: add the new pc files to EXTRA_DIST
215 2004-03-12 Bill Haneman <billh@gnome.org>
217 * atk-bridge/bridge.c:
218 (spi_atk_bridge_key_listener):
219 Make sure to return consumed=FALSE if snoop
220 event is not dispatched to listener.
223 2004-03-01 Bill Haneman <billh@gnome.org>
225 * configure.in: Revved to 1.3.15,
228 2004-03-07 Danilo Segan <dsegan@gmx.net>
230 * configure.in: Added "sr@ije" to ALL_LINGUAS.
232 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
234 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
236 2004-03-01 Bill Haneman <billh@gnome.org>
238 * configure.in: Revved to 1.3.14.
241 (SPI_exit): Removed "bye-bye" exit message.
242 Moved "leak" report to happen before the
243 iteration over the leaked refs list.
244 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
246 2004-02-24 Bill Haneman <billh@gnome.org>
248 * configure.in: Revved to 1.3.13.
250 * docs/reference/cspi/Makefile.am:
251 Correct typo that was breaking the docs build.
253 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
255 * autogen.sh: Require version 1.7 of automake.
257 * configure.in: call GTK_DOC_CHECK([1.0])
259 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
261 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
263 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
265 * test/Makefile.am: Remove use of CFLAGS.
267 This fixes bug #132987.
269 2004-02-11 Bill Haneman <billh@gnome.org>
271 * reverted most of Tomasz' patch below, since it was breaking
272 builds (see bug #134058).
274 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
276 * docs/reference/cspi/at-spi-cspi.types: added empty file for
277 correct pass "make dist" (empty .. because seems no sach types in
278 header files with gtk-doc markups).
279 * docs/reference/cspi/Makefile.am, configure.in:
280 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
281 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
282 * Makefile.am: added:
283 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
284 for force correct pass generate documentation on "make distcheck".
285 * libspi/Makefile.am: fixes for automake >= 1.6.
286 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
287 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
290 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
292 * docs/reference/cspi/Makefile.am (install-data-local): Install
293 index.sgml since the doc autobuilder on widget.gnome.org looks for
296 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
298 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
301 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
303 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
305 2004-01-27 Brian Cameron <brian.cameron@sun.com>
307 * test/simple-at.c: Fixed null string problems that cause core
308 dumping problems on Solaris.
310 2004-01-12 Bill Haneman <billh@gnome.org>
312 * configure.in: Incremented version to 1.3.11.
314 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
316 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
317 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
320 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
322 * configure.in: Added "fa" to ALL_LINGUAS.
324 2003-12-20 Arafat Medini <lumina@silverpen.de>
326 * configure.in: Added "ar" to ALL_LINGUAS
328 2003-12-16 Bill Haneman <billh@gnome.org>
330 * registryd/registry-main.c:
332 Set the reg_env DISPLAY variable before registering the
333 activated registry service. Fixes bug #129479.
335 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
337 * configure.in: Added "id" in ALL_LINGUAS
338 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
340 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
342 * registryd/deviceeventcontroller.c (global_filter_fn):
343 When an event is consumed discard any XEvents were added to
344 the queue while dealing with the the event. This can happen if
345 processing of the event takes a long time. Call XUngrabKeyboard
346 if an event was discarded. This fixes bug $124837.
347 Only call wait_for_release_event for a KeyPress.
348 Use local variable display instead of spi_get_display().
349 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
352 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
354 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
355 Allow for mask to contain values other than NumLock mask.
358 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
360 * registryd/devieceventcontroller.c:
361 (wait_for_release_event): Change first parameter from GdkEvent to
363 (global_filter_fn); Correct call to wait_for_release_event.
367 2003-12-08 Bill Haneman <billh@gnome.org>
371 * registryd/ucs2keysym.c: New file.
373 * registryd/deviceeventcontroller.c:
374 (dec_keysym_for_unichar): Remove old partial implementation and
375 replace with call to ucs2keysym(), which is much more complete.
376 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
381 2003-12-05 Bill Haneman <billh@gnome.org>
383 * configure.in: Version 1.3.9.
385 * docs/reference/cspi/tmpl/spi_registry.sgml:
386 Added reference to libspi/keymasks.h to the
387 description of Registry queries: AccessibleKeyMaskType.
390 2003-12-04 Bill Haneman <billh@gnome.org>
394 * idl/Accessibility_Application.idl:
395 (Accessibility::LOCALE_TYPE): New enum, corresponds to
396 setlocale's LC_TYPEs.
397 (Accessibility::Application::getLocale): New method.
398 Allows clients to query the locale, by type, of an app.
401 * cspi/spi_application.c:
402 (AccessibleApplication_getLocale): New method, wraps IDL above.
404 * libspi/application.c:
405 (spi_application_class_init): Init epv entry for getLocale.
406 (impl_accessibility_application_get_locale): Impl for above.
408 * test/test-simple.c:
409 (test_application): Added assertion for getLocale, i.e.
410 that the string from AccessibleApplication_getLocale (app, type)
411 is the same as that from setlocale (type, NULL);
413 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
415 *registryd/deviceeventcontroller.c: Add an idle handler which polls
416 the keyboard on a timeout intil the key state goes from pressed to
417 released. Fixes bug #111429.
419 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
421 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
422 root object so that it is present when a context menu in an
423 out-of-process applet is popped up.
424 (spi_atk_bridge_do_registration): Create acceessible application root
425 object only if it does not exist.
427 This fixes bug #125834.
429 2003-12-01 Bill Haneman <billh@gnome.org>
431 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
434 Added enum for AccessibleStreamableContentSeekType.
435 (AccessibleStreamableContent_freeContentTypeList): New.
437 * cspi/spi_streamablecontent.c:
438 (accessible_bonobo_stream_client_seek): New private method.
439 (AccessibleStreamableContent_seek): Implemented this method,
440 using Bonobo_Stream_seek.
441 (AccessibleStreamableContent_freeContentTypeList): New method
442 for freeing the return value from
443 AccessibleStreamableContent_getContentTypes.
444 (stream_cache_item_free): Replaces stream_release; stop leaks.
445 (stream_release): removed.
446 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
447 free the memory properly.
449 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
453 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
455 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
457 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
459 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
461 2003-12-01 Bill Haneman <billh@gnome.org>
463 Fix for bug/rfe #127463.
465 * idl/Accessibility_Accessible.idl:
466 (getLocalizedRoleName): New.
467 (unimplemented4): Removed (replaced by above).
469 * libspi/accessible.c:
470 (impl_accessibility_accessible_get_local_role_name): New.
471 (spi_accessible_class_init): Add getLocalizedRoleName entry to
475 (Accessible_getLocalizedRoleName): New.
477 * cspi/spi_accessible.c:
478 (Accessible_getLocalizedRoleName): New.
480 2003-12-01 Bill Haneman <billh@gnome.org>
483 * idl/Accessibility_Text.idl:
484 (getDefaultAttributes): New.
485 (unimplemented4): Removed (replaced by above method).
488 (impl_getDefaultAttributes): New method.
489 (spi_text_class_init):
490 initialize the get_default_attributes slot in the epv.
493 (AccessibleText_getDefaultAttributes): New prototype.
496 (AccessibleText_getDefaultAttributes): New method.
498 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
500 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
501 write beyond the end of the table. Fixes bug #120473.
503 2003-09-30 Christian Rose <menthos@menthos.com>
505 * configure.in: Added "eu" to ALL_LINGUAS.
507 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
509 * configure.in: ALL_LINGUAS: Added no.
511 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
513 * configure.in: Added lt to ALL_LINGUAS.
515 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
517 * atk-bridge/bridge.c:
518 (atk_bridge_init): Register event listeners always even for
519 out-of-process applet.
520 (spi_atk_bridge_toplevel_added): Remove call to
521 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
522 (spi_atk_bridge_toplevelk_removed): Remove call to
523 spi_atk_deregister_event_listenersa as the listeners are now always
525 (spi_atk_bridge_register_application): Remove call to
526 spi_atk_register_event_listeners as it is not done in atk_bridge_init
528 This fixes bug #120991.
530 * libspi/table.c (impl_getColumnDescription): Correct typo,
531 pointed out by Bolian.Yin@sun.com.
533 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
535 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
537 2003-09-08 Bill Haneman <billh@gnome.org>
539 * configure.in: Revved to 1.3.7.
541 This is the GNOME 2.4.0 release of at-spi.
543 * docs/reference/cspi/Makefile.am:
544 Removed spurious inclusion of 'index.sgml' in the
545 html directory; this was breaking make distcheck and
546 also some other build environments.
548 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
550 * registryd/registry.[ch}:
551 Add queue_handler_id and focus_object to SpiRegistry data structure.
552 (registry_flush_event_queue): If event being discarded is
553 "state-change:focused" store object as focus_object.
554 (registry_start_queue): Remove queue handler and focus object
556 (registry_discard_event): New function which discards a focus event
557 if we had stored focus object in the registry.
558 (registry_queue_event): Add new check that is_queueing is set as this
559 function is reentrant.
560 (registry_filer_event): Add call to registry_discard_event.
562 This resolves issues raised in bug #108664.
564 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
566 * configure.in: Added "bn" to ALL_LINGUAS.
568 2003-09-04 Bill Haneman <billh@gnome.org>
570 * cspi/spi_event.c: Documentation improvements for
571 (SPI_registerAccessibleKeylistener).
573 * docs/reference/tmpl/spi_registry.sgml:
574 Documentation improvements for SpiAccessibleKeylistenerCB.
576 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
578 * configure.in: Added "ro" to ALL_LINGUAS.
581 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
583 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
584 not decremented to zero. Fixes bug #120725.
586 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
588 * configure.in: Added "ja" to ALL_LINGUAS.
590 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
592 * configure.in: Added "is" to ALL_LINGUAS.
594 2003-08-22 Christian Rose <menthos@menthos.com>
596 * configure.in: Added "nl" to ALL_LINGUAS.
598 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
600 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
601 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
603 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
605 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
606 type for unspecified exception.
607 * cspi_streamablecontect): Add include of string.h for memcpy.
608 (stream_release): Correct call to bonobo_object_release_unref
609 (stream_cache_item_free): Correct call to bonobo_object_release_unref
610 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
611 argument of _cspi_expection_throw.
612 * libspi/hyperlink.c: Add include of libspi/action.h:
613 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
614 * libspi/streamablecontent.c: add include of libspi/component.h.
615 * regisrtyd/deviceeventcontroller.c:
616 (spi_dec_translate_mask): Removed unused variable priv.
617 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
618 * registryd/registry.c:
619 (registry_filter_event): Remove unused variable queue_is-empty.
620 (impl_registry_notify_event): Use correct modifier in fprintf call.
622 This fixes compiler warnings reported in bug #120220.
624 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
626 * registryd/registryd.c: Remove this file.
628 2003-08-17 Sanlig Badral <badral@openmn.org>
630 * configure.in: Added mn to ALL_LINGUAS.
632 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
634 * configure.in: Added et to ALL_LINGUAS.
636 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
638 * test/event-listener-test.c: Change active-descendant to
639 active-descendant-changed.
641 2003-08-10 Sami Pesonen <sampeson@iki.fi>
643 * configure.in: Added "fi" in ALL_LINGUAS.
645 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
647 * configure.in: Added "hi" in ALL_LINGUAS.
649 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
651 * configure.in: Revved to 1.3.6.
655 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
657 * registryd/deviceeventcontroller.c
658 (spi_device_event_controller_object_finalize): Fix typo in previous
661 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
663 * registryd/deviceeventcontroller.c
664 (spi_device_event_controller_object_finalize): Fix build on
665 systems without XEvIE.
667 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
669 * acconfig.h, configure.in, registryd/Makefile.am,
670 registryd/devicecontoller.[ch]: Add XEViE support.
672 2003-08-06 Wang Jian <lark@linux.net.cn>
674 * configure.in: Added "zh_CN" to ALL_LINGUAS.
676 2003-08-06 Metin Amiroff<metin@karegen.com>
678 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
680 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
682 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
683 MODIFIER_ALT in correct place.
685 This fixes part of bug #118114.
687 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
689 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
691 2003-07-28 Changwoo Ryu <cwryu@debian.org>
693 * configure.in: Added "ko" to ALL_LINGUAS.
695 2003-07-28 Ole Laursen <olau@hardworking.dk>
697 * configure.in: Added "da" to the commented out ALL_LINGUAS.
699 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
701 * configure.in: Added "sq" to ALL_LINGUAS.
703 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
705 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
707 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
709 * configure.in: updated ALL_LINGUAS list
711 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
713 * configure.in: Added Belarusian to ALL_LINGUAS.
715 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
717 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
719 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
720 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
722 This fixes bug #116949.
724 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
726 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
727 Correct CSPI to SPI in function documentation.
729 This fixes bug #118054.
731 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
733 * configure.in: Added Russian to ALL_LINGUAS.
735 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
737 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
739 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
741 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
743 2003-07-10 Joel Brich <joel.brich@laposte.net>
745 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
747 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
749 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
751 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
753 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
754 resources allocated for AccessibleEvent. See cspi_event().
756 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
757 static variable streams to NULL.
759 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
760 Update so that AcessibleEvent_ref will work.
762 This fixes bug #116624.
764 2003-07-06 Jordi Mallach <jordi@sindominio.net>
766 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
768 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
770 * configure.in: Added "fr" (French) to ALL_LINGUAS.
772 2003-07-02 Christian Neumair <chris@gnome-de.org>
774 * configure.in: Added "de" (German) to ALL_LINGUAS.
776 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
778 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
780 2003-07-01 Miloslav Trmac <mitr@volny.cz>
782 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
784 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
786 * configure.in: Added "pl" to ALL_LINGUAS.
788 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
790 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
792 2003-06-30 Bill Haneman <bill.haneman@sun.com>
795 (get_action_from_servant):
796 Removed assertion that action is implemented on an AtkObject.
798 * libspi/hyperlink.c:
800 Aggregate AccessibleAction interface on the hyperlink object if
801 the object implements AtkAction. (This convention is used in
804 2003-06-30 Bill Haneman <bill.haneman@sun.com>
806 * configure.in: Revved to 1.3.5.
808 * registryd/Accessibility_Registry.server.in.in:
809 Marked up appropriate strings for translation.
811 * atk-bridge/bridge.c: Marked a couple of
812 user-visible warnings for translation. Questionable
813 whether they are really useful, but possibly so.
816 2003-06-28 Christian Rose <menthos@menthos.com>
818 * configure.in: Added "sv" to ALL_LINGUAS.
820 2003-06-26 Bill Haneman <bill.haneman@sun.com>
822 * registryd/registry.c:
823 (spi_registry_object_finalize): Unref the deviceeventcontroller.
824 (registry_defer_on_event): Defer focus: events, this is an
825 improvement to the patch for bug #108664.
827 * TODO: Update with 2.4/"Dev Complete" items.
829 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
831 * atk-bridge/bridge.c:
832 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
833 looks up signals once.
834 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
835 if doing registration.
836 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
837 when doing registration.
839 This fixes bug #115014.
841 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
843 * atk-bridge/bridge.c:
844 (atk_bridge_init): Add signal handler for children-changed:remove on
845 root when in a BonoboComponent.
846 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
847 for first toplevel only other incrememt variable toplevels.
848 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
849 application and remove listeners.
850 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
852 (spi_atk_deregister_event_listeners): New function which removes
854 (reinit_register_vars): New fuction which reinitializes variables.
856 This fixes bug #111578.
858 2003-06-13 Bill Haneman <bill.haneman@sun.com>
860 * configure.in: version 1.3.4.
862 * cspi/spi_accessible.c:
863 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
866 2003-06-13 Michael Meeks <michael@ximian.com>
868 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
870 * cspi/spi_main.c (cspi_peek_ev): impl.
872 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
874 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
876 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
878 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
879 SPI_ROLE_AUTOCOMPLETE
881 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
883 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
884 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
886 2003-06-11 Bill Haneman <bill.haneman@sun.com>
888 * libspi/streamablecontent.h:
889 * libspi/streamablecontent.c:
890 New files, provide implementation/wrappers for
891 Accessibility_StreamableContent.
893 * cspi/spi_streamablecontent.c:
894 Connected the C wrappers to the libspi C bindings.
895 (AccessibleStreamableContent_close): New method.
898 (AccessibleStreamableContent_close): New method, needed
899 since we have an "open, [seek], read, close" model in cspi.
901 2003-06-11 Bill Haneman <bill.haneman@sun.com>
903 Fix for #108664; Padraig's revision of my original patch.
905 * registryd/registry.h:
906 Added event queue list, is_queuing, and exit_notify_timeout
907 to the registry struct.
909 * registryd/registry.c:
910 (registry_init): Initialize new struct from registry.h.
911 (impl_registry_notify_event):
912 Filter events before notifying, in case some need to be
914 (registry_filter_event): New,
915 we defer certain incoming events (for instance
916 window:deactivate) because we may wish to hide
917 or reject them based on pending events. This is
918 mostly a workaround for bug #108664.
919 (registry_queue_event, registry_start_queue): New.
920 (registry_defer_on_event): Test event to see if it
922 (registry_reset_on_event): Returns TRUE if the
923 event should cause a queue reset.
924 (registry_discard_on_event): Returns TRUE if the event
925 should cause the previous queue contents to be discarded.
926 (registry_timeout_flush_queue): Flushes the pending event
927 queue if no reset/discard-triggering events have come in
928 within the timeout period.
929 (registry_emit_event): New.
930 (registry_clone_notify_context): New, used when queueing the
931 event notify contexts.
933 2003-06-10 Bill Haneman <bill.haneman@sun.com>
935 * configure.in: Version revved to 1.3.2, lt 0.9.2
936 Incremented ATK required version to 1.3.4.
938 * cspi/spi_registry.c:
939 (SPI_generateKeyEvent):
940 We now pass the keystring along if it's non-null.
942 * registryd/deviceeventcontroller.c:
943 (keysym_mod_mask): New method, returns modifier mask
944 required to generate a keysym from a given keycode.
945 (dec_synth_keysym): New method.
946 (dec_synth_keystring): New method.
947 (dec_get_modifier_state): New method.
948 (dec_lock_modifiers): New
949 (dec_unlock_modifiers): New.
950 (dec_keysym_for_unichar): New, rather brute-force
951 conversion from UCS-4 to X KeySyms. Only works for
952 Latin at the moment, with partial implementations for
953 Greek, Hebrew, and (incomplete) Katakana.
954 (impl_generate_keyboard_event): Now implement
955 "KEYSTRING" synthesis and implement "KEYSYM"
957 (keycode_from_keysym): Improved, passes a returned
958 modmask value now if the corresponding param is non-NULL.
960 Fixes bugs #92143 and #109776.
963 * test/keysynth-test.c:
964 New test program for key synthesis, to confirm fixes for
968 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
970 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
972 * cspi/spi_accessible.c (cspi_init_relation_type_table):
973 Add line for RELATION_POPUP_FOR
975 * docs/reference/cspi/tmpl/spi_relation.sgml:
976 Add relation SPI_RELATION_POPUP_FOR
978 * docs/reference/cspi/tmpl/spi_stateset.sgml:
979 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
981 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
983 * libspi/relation.c (spi_init_relation_type_table):
984 Add line for RELATION_POPUP_FOR
986 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
988 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
989 there are still windows which have not been deleted and emit
990 window:deactivate, if necessary and window:destroy events.
991 This fixes bug #114370. The change on June 5th was not correct.
993 2003-06-09 Bill Haneman <bill.haneman@sun.com>
995 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
998 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1000 New methods for client exception handling and interception.
1001 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1002 (SPI_exceptionHandlerPop): You guessed it...
1003 (SPI_getSourceType): Return the type of object which offended.
1004 (SPI_getExceptionCode): Return an enum code telling, possibly,
1005 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1006 (SPIAccessibleException_getSource): get the source object for
1007 exceptions that come from Accessibles, if SPIExceptionSourceType is
1008 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1009 (SPIException_getDescription): New, returns a string description of
1010 the problem. [Not yet a stable ABI, strings are not frozen]
1012 * cspi/spi-private.h:
1013 Added implementation details of opaque SPIException
1017 Implementations of above. Also
1018 (_cspi_exception_throw): new private method that
1019 dispatches exceptions to handlers, called from cspi-bonobo.c
1021 * cspi/bonobo/cspi-bonobo.c:
1022 (cspi_check_ev): call _cspi_exception_throw.
1023 Don't print a warning message if the exception has been
1024 handled by _cspi_exception_throw.
1026 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1028 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1029 there are still windows which have not been deleted and emit
1030 window:deactivate, if necessary and window:destroy events.
1031 This fixes bug #114370.
1033 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1036 (cspi_accessible_is_a): Make non-fatal
1037 if the object reference is dead.
1039 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1041 * cspi/spi_main.c: #include <stdio.h>
1042 * test/simple-at.c: ditto
1043 * test/event-listener-test.c: ditto
1044 * test/screen-review-test.c: ditto
1046 2003-05-30 Michael Meeks <michael@ximian.com>
1048 * test/test-simple.c (main): use CORBA_ORB_perform_work
1049 instead of an unnecessary linc_ call.
1051 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1053 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1054 Add SPI_STATE_INDETERMINATE.
1056 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1059 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1061 * libspi/stateset.c (init_state_type_tables): Add support for
1064 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1066 * configure: Update versions of atk and gail required.
1067 This fixes bug #113268.
1069 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1071 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1073 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1075 * libspi/Makefile.am:
1076 Ensure headers are generated before being used by c sources.
1078 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1081 Simplified lt versioning rules.
1082 Incremented version to 1.3.0, to indicate that we're on the
1083 unstable branch now.
1085 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1087 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1088 Add MKDB_OPTIONS=--outtput-format=xml
1090 * docs/reference/cspi/at-spi-cspi-docs.sgml
1091 docs/reference/idl/at-spi-idl-docs.sgml:
1092 Convert to Docbook XML.
1094 This fixes bug #111793.
1096 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1098 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1099 AcccessibleKeyEventType, AccessibleKeyMaskType.
1101 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1103 * cspi/state-types.h: Add documentation for AccessibleState.
1105 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1106 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1107 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1108 AccessibleComponentLayer.
1110 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1113 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1115 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1116 Accessible. Add description of AccessibleEvent,
1117 AccessibleEventListenerCB.
1119 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1122 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1123 documentation. Add description of AccessibleKeystrokeListenerCB,
1124 AccessibleKeyEventMask, AccessibleModifierMaskType,
1125 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1126 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1128 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1131 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1134 This fixes bug #104730.
1136 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1138 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1139 Set is_text field of Accessibility_DeviceEvent data structure.
1141 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1142 is-text field of AccessibleDeviceEvent data structure.
1144 This addresses part of bug #108666.
1146 * registryd/devcieeventcontroller.c: Unset debug option.
1148 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1150 * cspi/accessible.c:
1151 (cpi_initial_relation_type_table): New function which initializes
1152 mapping between Accessibility_RelationType and AccessibleRelationType.
1153 (cspi_relation_type_from_spi_relation_type): New function which
1154 translates an Accessibility_RelationType into an AccessibleRelationType.
1155 (AccessibleRelation_getRelationType): Use
1156 cpi_relation_type_get_spi_relation_type to return correct value.
1157 (spi_state_to_corba): Return correct type for default case.
1159 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1160 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1162 * cspi/cspi-bonobo-listener.c:
1163 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1166 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1167 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1168 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1169 libspi/image.c, libspi/listener.c, libspi/selection.c,
1170 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1171 registryd/desktop.c, registryd/registry.c:
1172 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1174 * libspi/eventlistener.c
1175 Remove semicolon after BONOBO_TYPE_FUNC.
1177 * libspi/relation.c:
1178 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1179 (spi_init_relation_type_table): Initialize using correct type.
1181 * registryd/desktop.c:
1182 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1183 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1184 of Accessibility_KeyEventType.
1186 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1189 * tests/simple-at.c, tests/screen-review-test.c:
1190 Add include for <strings.h>.
1192 * tests.stress-test.c:
1193 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1195 These changes fix compiler warnings when using FORTE compiler on
1196 Solaris; fixes bug #107479.
1199 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1202 * configure.in: revved to 1.1.10
1204 * libspi/keymasks.h:
1205 (SPI_KEYMASK_NUMLOCK): Added.
1207 * registryd/deviceeventcontroller.c:
1208 (spi_key_event_matches_listener): AND with a smaller
1209 bitmask (as we should).
1210 (spi_dec_translate_mask):
1211 New method, sets the virtual NumLock modifier bit
1212 if numlock is on. Eventually it can handle other virtual
1213 modifier bits if needed, or other marshalling from
1214 at-spi modifier masks to platform (X) masks.
1215 (spi_dec_key_listener_new):
1216 Call spi_dec_translate_mask to set up virtual mod bits
1217 in the 'mask' field when creating a new listener struct.
1218 (spi_dec_emit_modifier_event):
1219 Set the virtual (i.e. NumLock) bits before emitting event.
1220 (spi_controller_register_with_devices):
1221 Query for the NumLock modifier 'physical' bit if Xkb is
1222 present, for use in above methods.
1226 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1228 * registryd/deviceeventcontroller.c:
1229 (spi_keystroke_from_x_key_event):
1230 Instead of checking to see if the keysym is
1231 printable, check the string from XLookupString
1232 if available, get the first unicode character from it,
1233 and call g_unichar_isprint to determine whether the
1234 is_text flag should be TRUE or FALSE.
1238 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1240 * atk-bridge/bridge.c: Add support for extended events
1241 * cspi/spi_event.c: Add documentation and implementation for
1243 * tests/event-listener-test.c: Add tests for extended events.
1245 This fixes bugs #100424 and #100426.
1247 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1249 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1250 of LT_CURRENT. This fixes bug #89350.
1252 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1254 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1255 number of signal parameter values before accessing them. This fixes
1258 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1260 * configure.in: Fixed duplicate inclusion of -lspi.
1261 * branched for gnome-2-2/HEAD.
1262 [created tag "gnome-2-2"]
1264 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1266 * configure.in: 1.1.9 release.
1269 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1271 [needed by GOK, to fix bugs 107985 and 107988]
1272 * registryd/deviceeventcontroller.c:
1273 (spi_dec_clear_unlatch_pending):
1274 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1275 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1276 (spi_dec_init_mouse_listener):Emit warning if mouse button
1278 (spi_device_event_controller_forward_mouse_event):
1279 Removed unnecessary parens from a conditional.
1280 (global_filter_fn):Added TODO comment.
1281 (impl_generate_keyboard_event):
1282 Cancel a pending relatch if a 'delatching' key was
1285 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1287 * atk-bridge/bridge.c:
1288 Change atk_signal_child_changed to atk_signal_children_changed.
1289 Reorganize code in spi_atk_bridge_signal_listener().
1291 * test/event-listener-test.c:
1292 Add children_changed_listener and report_children_changed_event()
1293 to test AccessibleChildEvent_getChildAccessible.
1295 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1297 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1298 g_strdup to CORBA_String_dup (bug #105291)
1300 * test/event-listener-test.c (report_text_event): Add call to
1303 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1305 * registryd/deviceeventcontroller.c:
1306 (spi_keystroke_from_x_key_event):
1307 Fix string and keysym return codes to match modifier state.
1310 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1312 * registryd/deviceeventcontroller.c:
1313 (spi_keystroke_from_x_key_event):
1314 Fix segv due to improper use of isprint(c). [bug #107254]
1316 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1319 (get_accessible_text_boundary_type):
1320 Move default return value to (new) default case in switch.
1321 (get_accessible_text_clip_type):
1322 Move default return value to (new) default case in switch.
1324 * libspi/application.c:
1325 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1326 Remove unused methods.
1327 (impl_accessibility_application_register_object_event_listener):
1328 Remove unused methods.
1331 Added #include of <math.h>.
1333 * registryd/deviceeventcontroller.c:
1334 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1335 we don't currently use this method.
1336 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1338 (impl_generate_key_event):
1339 Remove unused variables.
1340 (impl_generate_mouse_event):
1341 Initialize button to zero, just in case we get an invalid
1342 input. Added support for mouse buttons 4 and 5.
1343 (spi_device_event_controller_new):
1344 Removed unused variable declaration for 'private'.
1346 Added #include of <gdk/gdk.h>
1348 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1350 * configure.in: Update to work when X is not installed in expected
1351 location. Fixes bug #105836.
1353 * atk-bridge/bridge.c
1354 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1356 (spi_atk_register_event_listener): Add signal listener for
1358 (spi_atk_bridge_signal_listener): Event event when link-selected
1359 signal is emitted. (bug #104622)
1361 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1362 on returned string. (bug #105291)
1364 * test/event-listener-test.c: Add test for link-selected.
1366 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1368 * atk-bridge/Makefile.am: Correct typo in previous commit.
1370 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1372 * atk-bridge/Makefile.am: Allow for build directory to be different
1373 from source directory
1375 * registryd/Makefile.am: Allow for build directory to be different
1376 from source directory
1380 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1383 Fixed dependencies for libcspi so that libspi gets pulled in
1384 properly. Fixes 104741.
1388 Clean up inline docs a little.
1390 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1392 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1393 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1394 the AtkObject within an SpiDesktop.
1395 This addresses bug #101524.
1397 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1398 Remove call to gdk_init().
1400 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1401 so that Display is set when SpiDesktop is created.
1403 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1405 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1406 This fixes bug #102830.
1408 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1410 * test/test-simple.c: Update to take account of fact that GailButton
1411 now implements AtkText.
1412 (create_text_window): Set name on AtkObject for GtkEntry.
1413 (validate_accessible): Check accessible name before calling test_text().
1415 * libspi/Makefile.am: Fix problem with building outside of source
1416 directory. Bug #98120.
1418 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1419 typo in documentation comments. Bug #94275.
1421 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1423 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1425 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1428 Add includes to avoid compiler warnings on Solaris.
1429 (impl_getRangeExtents): Bug fix.
1431 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1433 Fix for 100944, [API addition approved by Gman and murrayc].
1440 * idl/Accessibility_Text.idl:
1441 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1442 (Text::getRangeExtents): New method for efficient
1443 bounds query of a text range.
1444 (Text::getBoundedRanges): New method for efficient
1445 clipping of text to bounding boxes.
1446 (unImplemented7, unImplemented8):
1447 Removed these padding methods to preserve bincompat.
1450 (impl_getRangeExtents): implementation of new IDL.
1451 (impl_getBoundedRanges): implementation of new IDL.
1452 (SpiTextRect): Internal use struct.
1453 (_spi_text_rect_union): internal method, calculates union of two
1454 SpiTextRect bounding rects.
1455 (_spi_text_range_seq_from_gslist): internal method, allows us
1456 to build our sequence efficiently as a gslist then convert it
1458 (_spi_bounds_contain): internal method, determines whether
1459 a text character is "in" or "out" of a clip rect according to
1460 values of TEXT_CLIP_TYPE.
1461 (spi_text_class_init): Initialize the new methods in the epv.
1464 (AccessibleTextClipType): New enum used by screen review api.
1465 (AccessibleTextRange): New struct used by screen review api.
1466 (AccessibleText_getRangeExtents):
1467 cspi binding for Accessibility_Text_getRangeExtents.
1468 (AccessibleText_getBoundedRanges):
1469 cspi binding for Accessibility_Text_getBoundedRanges.
1470 (AccessibleTextRange_freeRanges): convenience method.
1473 (AccessibleText_getRangeExtents):
1474 cspi binding for Accessibility_Text_getRangeExtents.
1475 (AccessibleText_getBoundedRanges):
1476 cspi binding for Accessibility_Text_getBoundedRanges.
1477 (AccessibleTextRange_freeRanges): convenience method.
1478 (get_accessible_text_clip_type): internal conversion method.
1479 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1481 * registryd/deviceeventcontroller.c:
1482 (spi_dec_mouse_check):
1483 Improved behavior for mouse:abs events
1484 [same granularity as mouse:rel events, and no
1485 events when mouse is idle].
1487 2002-12-16 Michael Meeks <michael@ximian.com>
1489 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1491 * libspi/stateset.c (state_spi_to_atk): split out
1492 ( fix several remote array bounds nasties )
1493 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1494 (impl_remove): make safe from array bounds issues.
1495 (spi_atk_state_from_spi_state): impl.
1497 * libspi/stateset.h (spi_state_set_cache_is_empty):
1498 add a set of wrapper defines to get layering right.
1500 * cspi/spi_accessible.c: update state set stuff to
1503 2002-12-14 Michael Meeks <michael@ximian.com>
1505 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1506 to avoid 2 roundtrips to the registry per key event
1507 (spi_atk_bridge_key_listener): upd.
1508 (deregister_application): release the dec.
1510 * registryd/registry.c (notify_listeners_cb):
1511 bin lots of re-enterant complexity - we no longer
1512 do a round-trip bonobo ref here, ensure that a single
1513 listener's exception failure won't poison all other
1515 (impl_registry_notify_event): bin obvious memory leak.
1517 2002-12-13 Michael Meeks <michael@ximian.com>
1519 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1520 init the ev so the error is meaningful.
1521 (spi_atk_bridge_key_listener): ditto.
1523 * cspi/spi_main.c (cspi_ev): init the ev so we start
1524 with a clean slate, otherwise the first exception
1525 kills us completely.
1527 * cspi/spi_text.c (get_accessible_text_boundary_type):
1528 add a fallthrough for no warnings.
1530 * cspi/spi_registry.c: prune unused warnings.
1532 * cspi/spi_main.c (cspi_object_take): fix
1533 mind-blowing brokenness ( by watching the compile
1536 * cspi/spi_accessible.c (Accessible_getStateSet):
1537 re-impl. to use an AtkStateSet.
1538 (spi_state_type_from_accessible_state),
1539 (init_state_table): bin these.
1541 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1543 (atk_state_set_from_accessibility_state_set): here.
1545 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1546 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1547 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1548 (AccessibleStateSet_add, AccessibleStateSet_remove),
1549 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1550 (AccessibleStateSet_isEmpty): re-write to use a local
1553 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1555 * configure.in: Revved to 1.1.7 (new keymask vals).
1557 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1559 * libspi/keymasks.h:
1560 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1562 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1565 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1566 to compare two CORBA_TypeCodes.
1567 (cspi_internal_event_add): Silence warning from FORTE compiler.
1569 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1570 avoid implicit declaration of functions.
1572 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1574 * atk-bridge/bridge.c:
1575 (spi_atk_bridge_init_event_type_consts): Store signal id for
1576 active-descendant-changed signal.
1577 (spi_atk_register_event_listeners): Add signal listener for
1578 active-descendant-changed signal,
1579 (spi_atk_bridge_signal_listener): Move code in function
1580 spi_atk-signal_emit_event() into this function.
1581 Add support for active-descendant-changed
1582 Update support for child-changed signal.
1583 (spi_bridge_window_event_listener): Silence warning.
1585 * libspi/spi_private.[ch]:
1586 (spi_init_any_object): Change second parameter from CORBA_Object to
1588 Omit call to CORBA_Object_duplicate().
1589 Set CORBA_any's _value to CORBA_Object*.
1591 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1597 (AccessibleEvent_ref, AccessibleEvent_unref):
1598 New methods, for persisting an event outside the emission context.
1599 Must be used if the new accessor methods are to be called
1600 outside of the event listener's callback.
1602 * cspi/bonobo/cspi-bonobo.c:
1603 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1604 as second parameter instead of NULL, so we can call
1605 cspi_check_ev afterwards.
1608 (cspi_object_take): New internal method,
1609 converts a CORBA_Object reference to a hard ref on
1610 an Accessible if possible, returning NULL if the object
1611 reference is invalid or an Accessible * otherwise.
1614 (AccessibleEvent_ref):
1615 Increment the event's internal private refcount, and
1616 add the event's internal struct to an internal cache
1617 if it's not already there.
1618 (AccessibleEvent_unref):
1619 Decrement the event's refcount and remove it from
1620 the cspi event cache if refcount==0.
1621 (cspi_event_compare): New private method.
1622 Compares two event structs via their ids. Used
1624 (cspi_internal_event_lookup): New private method.
1625 (cspi_internal_event_check): New private method,
1626 a 0-order sanity check for events to make sure their
1627 private data is intact.
1628 (cspi_internal_event_add, cspi_internal_event_remove):
1629 New private methods for managiing the event cache.
1631 * cspi/bonobo/cspi-bonobo-listener.c:
1633 Initialize the new private data elements (id, magic, ref_count).
1635 * atk-bridge/bridge.c:
1636 (spi_atk_bridge_signal_listener):
1637 Fixed bug #100530, passing wrong params to emission func.
1639 * registryd/deviceeventcontroller.c:
1640 (spi_dec_button_update_and_emit):
1641 Fixed type in mask bit operations; fix for #99799.
1643 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1645 Removed some of the more dangerous workarounds from
1646 previous commit; they are only needed by GOK, which
1647 in reality should be using another method to accomplish
1648 the goals. So on reconsideration some of the workarounds
1649 need to be reverted:
1651 * registryd/deviceeventcontroller.c:
1652 (spi_keycodes_contain, spi_dec_init_keycode_list):
1653 Removed these methods, used only by a nasty hack to try
1654 and detect whether a key synthesis should be allowed
1655 to reset the XKB latch state or not. This code was only
1656 required to work around an interaction between GOK,
1657 button events, and XKB.
1658 (impl_generate_key_event):
1659 Removed hack at end of key generation that tried to
1660 "do the right thing" if XKB latch keys were generated
1661 in the midst of button press/release pairs.
1664 Added a check for HAVE_XINPUT. Not normally used yet.
1666 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1668 Workarounds and fixes for mouse event/XKB interaction.
1670 * registryd/deviceeventcontroller.c:
1671 (spi_keycodes_contain, spi_dec_init_keycode_list):
1672 New internal methods.
1673 (spi_dec_set_unlatch_pending):
1674 Split the method that tells XKB to expect an
1675 unlatch (and revert it) out of the rest of the
1676 event handling code. This method is called by the
1677 two mouse event handlers (the poll and the filter).
1678 (spi_dec_update_and_emit, spi_dec_mouse_check):
1679 New methods split from spi_dec_poll_mouse_moved.
1680 The second one is now called from inside the filterFn
1681 when an XKB delatch event is received, to determine
1682 whether to revert the delatch or not.
1683 (spi_poll_mouse_moved): Refactor; also we can now
1684 properly handle the case where multiple button states
1685 have changed between polling cycles and we didn't get
1686 notified due to another client's grab.
1688 Synchronize the server while handling an XKB notification.
1689 Ugly, but apparently necessary to avoid nasty races.
1690 Check the mouse state on receipt of an XKB latch change,
1691 to decide whether to revert the latch or not. (Latches are
1692 reverted if there is an immediately preceding mouse button
1693 event that a client has consumed, in which case we don't want
1694 the user to see the side-effect of the event).
1695 (spi_device_event_controller_forward_mouse_event):
1696 Check for modifier events and fire before resetting mouse_mask_state,
1697 prevents losing modifier events.
1699 (impl_generate_keyboard_event):
1700 If we've just generated a keyboard event for a non-shift key,
1701 we don't want to revert the pending XKB latch.
1702 Otherwise, check the modifier state (via a call to
1703 spi_dev_mouse_check) and set the relatch mask to
1704 that state before returning.
1706 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1709 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1712 * atk-bridge/bridge.c:
1713 (spi_atk_register_event_listeners):
1714 Don't re-register for ATK events if the registry has died
1715 and the app needs to re-register; the ATK listeners are in
1716 process and doing so will cause duplicate emission.
1718 * registryd/deviceeventcontroller.c:
1719 (spi_poll_mouse_moved):
1720 Reformat the source, detect and emit multiple button-change
1721 events (i.e. if multiple buttons have changed between poll
1723 Add code to detect mouse-down events even when the pointer
1724 is grabbed; workaround for GOK bug 98420.
1725 (spi_controller_register_with_devices):
1726 Call XTestGrabControl with 'impervious' flag set to True,
1727 allows us to synthesize events and query the pointer even during
1728 an active grab by another client.
1729 (spi_device_event_controller_forward_mouse_event):
1730 Set the mouse_mask_state to the mouse_button_state from
1731 the intercepted event, to synchronize the grab listener with
1734 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1736 * cspi/spi_accessible.c:
1737 (AccessibleRole_getName):
1738 Added necessary strings for making this (deprecated)
1739 method work with the new role types.
1740 (init_role_table, role_table):
1741 Added definition of SPI_ROLE_APPLICATION.
1743 * libspi/spi-roletypes.h:
1744 Added SPI_ROLE_APPLICATION.
1746 * idl/Accessibility_Role.idl:
1747 Added ROLE_APPLICATION.
1749 * docs/reference/cspi/at-spi-cspi-decl.txt:
1750 Added SPI_ROLE_APPLICATION to docs.
1752 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1754 * cspi/spi_accessible.c
1755 (cspi_init_role_table): Do not write beyond end of role_table.
1756 (Accessible_getRole): Use correct type for value returned by
1757 Accessibility_Accessible_getRole().
1759 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1760 beyond end of role_table. (This fixes bug #98269)
1762 * libspi/application.c: Add include file spi-private.h for
1763 definition of spi_init_any_nil.
1765 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1769 * libspi/spi-private.h:
1770 Added DGB() macro, and extern int _dbg declaration.
1772 * registryd/registry.c:
1773 (definitions) storage for _dbg.
1774 (spi_registry_init):
1775 Get environment variable "AT_SPI_DEBUG".
1776 (spi_registry_set_debug):
1777 New method, to initialize _dbg value.
1778 (spi_listener_struct_new, spi_registry_object_finalize):
1779 (notify_listeners_cb):
1780 Changed fprintfs to use DBG and g_warning().
1782 * registryd/deviceeventcontroller.c:
1783 (_deregister_keygrab, spi_controller_register_device_listener):
1784 Changed debug/warning messages to use DBG macro.
1786 * libspi/listener.c:
1787 (impl_notify_event):
1788 Changed warning messages to use DBG macro and g_warning().
1790 * atk-bridge/bridge.c:
1791 (atk_bridge_init, spi_atk_bridge_get_registry):
1792 (spi_atk_bridge_exit_func):
1793 (spi_atk_bridge_property_event_listener):
1794 Changed status, warning, and error messages to use
1795 g_warning, g_message, and DBG macros.
1798 Read the state of the AT_SPI_DEBUG environment variable
1799 and set a local '_dbg' accordingly.
1801 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1803 FIXES for 98836, 98842, other bugs.
1806 Revved to 1.1.4, interface-age=4, binary-age=4.
1808 * registryd/deviceeventcontroller.c:
1810 Fixed crasher bug in last_mouse_pos initialization.
1812 * registryd/registry.c:
1813 (desktop_add_application, desktop_remove_application):
1814 Added (and then commented out) some support for
1815 object context marshalling. [TODO]
1817 * atk-bridge/bridge.c:
1818 (spi_atk_bridge_event_context_create):
1819 Commented out object context creation until it can
1820 be properly tested and debugged.
1822 * registryd/registry.c:
1823 (impl_registry_notify_event):
1824 Fixed crasher bug, we were calling
1825 spi_re_entrant_list_foreach () with an empty list.
1827 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1829 * idl/Accessibility_Action.idl:
1830 * idl/Accessibility_Component.idl:
1831 * idl/Accessibility_Desktop.idl:
1832 * idl/Accessibility_Event.idl:
1833 * idl/Accessibility_Hyperlink.idl:
1834 * idl/Accessibility_Image.idl:
1835 * idl/Accessibility_Relation.idl:
1836 * idl/Accessibility_Selection.idl:
1837 * idl/Accessibility_State.idl:
1838 * idl/Accessibility_Value.idl:
1839 Updated unimplemented slot count to minimum of
1840 four for all interfaces, for ABI freeze.
1842 * idl/Accessibility_EditableText.idl:
1843 * idl/Accessibility_Text.idl:
1844 Updated unimplemented slot count to six
1847 * idl/Accessibility_Registry.idl:
1848 Updated unimplemented slot count to six
1849 (also for DeviceEventController),
1852 * idl/Accessibility_Table.idl:
1853 Updated unimplemented slot count to eight,
1856 * idl/Accessibility_Event.idl:
1857 Added CORBA_any "any_data" member to Event struct.
1859 * idl/Accessibility_Event.idl:
1860 Added CORBA_any "any_data" member to Event struct.
1862 * atk-bridge/bridge.c:
1864 atk_signal_text_changed, atk_signal_child_changed,
1865 signal ids queried from gtype system.
1866 (AtkBridgeEventContextType): New enum.
1867 (AtkBridgeEventContextData): New struct.
1868 (AtkBridgeEventContext): New struct.
1869 (atk_bridge_init_event_type_consts):
1870 New method, initializes type contants for comparison
1871 prior to emit_eventv.
1872 (atk_bridge_event_context_init): New method,
1873 initializes a CORBA_any from an AtkBridgeEventContext.
1874 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1875 initialize the event.any_data struct.
1876 (spi_atk_bridge_event_context_create): New method,
1877 creates an AtkBridgeEventContext from signal/event info.
1878 (spi_atk_bridge_event_context_free): New method.
1879 (spi_atk_emit_eventv): Changed to take an
1880 AtkBridgeEventContext parameter. We now initialize
1881 the event.any_data member prior to notifying the
1882 Registry, via the AtkBridgeEventContext.
1883 (spi_atk_bridge_property_event_listener):
1884 (spi_atk_bridge_state_event_listener):
1885 Match emit_eventv signature.
1886 (spi_atk_bridge_object_event_listener):
1887 Match emit_eventv signature, and create an
1888 event context from the event details.
1889 Free the event context afterwards.
1890 (spi_atk_bridge_window_event_listener):
1891 Create an event context, pass it to the
1895 (AccessibleEvent_getContextString):
1896 (AccessibleEvent_getContextObject):
1897 New methods, allow query of AccessibleEvent objects
1898 for more context details (via the "any_data" member
1899 of the Event struct, above).
1902 Definitions for AccessibleEvent_getContextString
1903 and AccessibleEvent_getContextObject.
1905 * cspi/spi_listener.h:
1906 (InternalEvent): New struct.
1909 (AccessibleEvent_getContextString):
1910 (AccessibleEvent_getContextObject):
1911 Implementations of new methods, for obtaining
1912 additional context information from some event types.
1914 * cspi/spi_registry.c:
1915 (SPI_registerGlobalEventListener):
1916 Added mention of active-descendant-changed event in docs.
1918 * cspi/cspi-bonobo-listener.c:
1920 Marshal the any into the AccessibleEvent via
1923 * libspi/spi-private.h:
1924 #include <orbit/orbit.h>
1926 (spi_init_any_string):
1927 (spi_init_any_object):
1928 New convenience function declarations.
1932 (spi_init_any_string):
1933 (spi_init_any_object):
1934 New convenience function implementations.
1936 * registryd/deviceeventcontroller.c:
1937 (spi_poll_dec_mouse_moved):
1938 (spi_device_event_controller_forward_mous_event):
1939 Initialize any_data member of event.
1940 (spi_deregister_controller_device_listener):
1941 Fix incorrect param pass which was preventing deregistration.
1943 * registryd/registry.c:
1944 (desktop_add_application):
1945 (desktop_remove_application):
1946 Add object data to event's any_data before dispatch.
1948 Fix for error messages from GAIL.
1950 * test/event-listener-test.c:
1951 Test new ContextString and "any_data" API:
1952 (report_text_event): New method query and output context string.
1953 (main): register a new text listener with report_text_event
1956 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1958 Fixes for bugs 98127 and 97914.
1959 * cspi/spi-roletypes.h:
1960 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1962 * cspi/spi-statetypes.h:
1963 Added SPI_STATE_MANAGES_DESCENDANTS
1965 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1966 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1967 * cspi/spi_accessible.c:
1968 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1969 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1970 Accessibility_STATE_MANAGES_DESCENDANTS
1971 * libspi/accessible.c:
1972 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1973 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1974 As requested by Bill, I also cleaned up the alignment.
1975 * libspi/relation.c:
1976 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1977 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1978 * libspi/stateset.c:
1979 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1980 Accessibility_STATE_MANAGES_DESCENDANTS
1981 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1982 Document changes reflecting modifications to roles.
1983 * docs/reference/cspi/tmpl/spi_relation.sgml:
1984 Document changes reflecting modifications to relations.
1985 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1986 Document changes reflecting modifications to states.
1988 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1991 Revved to 1.1.3, interface-age=3, binary-age=3.
1992 Added REBUILD macro.
1995 Removed accessx-gui from the tests, since we have a nice
1996 keyboard accessibility capplet now :-)
1998 * test/keysynth-demo.c:
1999 (increment_scan): removed do-nothing default: case,
2002 * test/visual-bell.c:
2003 (main) : removed do-nothing default: case,
2006 * cspi/spi_action.c:
2007 (AccessibleAction_getKeyBinding_):
2008 Documented keybinding string format.
2012 (AccessibleText_getAttributes):
2013 Documented the text attribute string format.
2014 It's changed to use semicolon delimiters also,
2015 to prevent clashes with CSS attributes, but the old
2016 trick of looking for ", " strings will still work
2017 (as unreliably as ever). Fix for bug related to 97916.
2020 Include <cspi/bonobo/cspi-bonobo-listener.h>
2021 Fixes build warning.
2022 (SPI_freeAccessibleKeySet):
2023 (AccessibleKeystrokeListener_addCallback):
2024 (AccessibleKeystrokeListener_removeCallback):
2025 Modify to use AccessibleDeviceListener API internally,
2026 instead of AccessibleKeystrokeListener.
2028 * idl/Accessibility_Event.idl:
2029 Added two more empty slots to EventListener (for a total of four).
2031 * idl/Accessibility_Accessible.idl:
2032 Added four empty slots to Accessible interface.
2034 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2036 * idl/Accessibility_Registry.idl:
2037 (KeyEventType, EventType):
2038 Marked KeyEventType as deprecated; it duplicates
2039 functionality of EventType, which has been extended to
2040 include Mouse-button events.
2041 (KeyEventTypeSeq): defined in terms of EventType.
2042 (registerDeviceEventListener, deregisterDeviceEventListener):
2043 New methods, for managing listeners to device events,
2044 which potentially may consume them.
2047 Added definition for AccessibleDeviceListener.
2049 * cspi/spi-listener.h:
2050 (enum AccessibleDeviceEventType):
2051 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2052 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2053 for backwards compat.
2054 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2055 and typedef'd AccessibleKeystroke to it for back-compat.
2056 (AccessibleDeviceListenerCB):
2057 New function prototype typedef.
2060 (AccessibleDeviceEventMask): New typedef.
2061 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2062 (AccessibleKeyMaskType):
2063 Set equivalent to AccessibleModifierMaskType for back-compat.
2064 (SPI_createAccessibleKeystrokeListener):
2065 (AccessibleKeystrokeListener_unref):
2066 Deprecated in favor of equivalent (better-named) new API below..
2067 keystroke listeners are like all device listeners.
2068 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2069 New API names for old features :-).
2070 (AccessibleDeviceListener_addCallback):
2071 (AccessibleDeviceListener_removeCallback):
2072 (SPI_registerDeviceEventListener):
2073 (SPI_deregisterDeviceEventListener):
2077 (SPI_createAccessibleKeystrokeListener):
2078 Use new preferred API, cspi_device_listener_new() and
2079 cspi_device_listener_add_cb().
2080 (AccessibleKeystrokeListener_removeCallback):
2081 Use new preferred API, cspi_device_listener_remove_cb().
2082 (AccessibleKeystrokeListener_unref):
2083 Use new preferred API, cspi_device_listener_unref().
2084 (SPI_createAccessibleDeviceListener):
2085 (AccessibleDeviceListener_addCallback):
2086 (AccessibleDeviceListener_removeCallback):
2087 Implementation of new API.
2089 * cspi/spi_registry.c:
2090 (SPI_registerDeviceEventListener):
2091 (SPI_deregisterDeviceEventListener):
2092 Implementation of new API. Fixed memory leak and removed need to
2093 allocate EventTypeSeq (thanks Michael for catching this).
2094 Squashed a wayward CORBA_exception_free that shouldn't get called.
2096 * cspi/bonobo/cspi-bonobo-listener.c:
2098 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2099 (cspi_key_event): renamed to cspi_device_event().
2100 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2101 Extended to handle mouse button events as well as key events.
2102 (CSpiKeystrokeListener):
2103 Class superceded by CSpiDeviceListener.
2104 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2105 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2107 * cspi/bonobo/cspi-bonobo-listener.h:
2108 (CSpiKeystrokeListener):
2109 Class superceded by CSpiDeviceListener.
2110 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2111 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2113 * libspi/Makefile.am:
2114 Replaced keystrokelistener.h and keystrokelistener.c
2115 with devicelistener.h and devicelistener.c; keystrokelisener.h
2116 stub retained for back-compat.
2118 * libspi/keystrokelistener.c:
2122 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2124 * registryd/deviceeventcontroller.c:
2125 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2126 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2127 (DEControllerPrivateData): Added xkb settings data.
2128 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2129 button release events (which can't be captured via XGrabButton).
2130 Don't dispatch via the 'normal' event mechanism if the device event was
2132 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2133 Handle the typeseq data in its new location (see above).
2134 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2135 New methods, for "generic" device listeners.
2136 (spi_controller_register_device_listener):
2137 Now handle mouse event listeners as well as key listeners.
2138 (spi_controller_notify_mouselisteners):
2139 New internal method.
2140 (spi_device_event_controller_forward_mouse_event):
2141 Now we notify mouse device listeners as well as generating the
2142 non-consumable "mouse:" events.
2144 We must check and restore the XKB
2145 modifier map if we consume the event, since the act of triggering
2146 a mouse event will normally reset the XKB latch. This is required for
2148 (spi_controller_register_with_devices):
2149 Load the XKB settings when registering, and register for XKB
2150 state notify events.
2151 (spi_key_eventtype_seq_contains_event):
2152 Renamed spi_eventtype_seq_contains_event, since it's used
2153 internally for all device event types now.
2154 (spi_key_event_matches_listener):
2155 Uses spi_eventtype_seq_contains_event now.
2156 (spi_device_event_controller_object_finalize):
2157 Free the private data and the XkbKeyboard struct.
2158 (impl_register_device_listener, impl_deregister_device_listener):
2159 Implementation of new IDL.
2160 (spi_deregister_controller_device_listener):
2161 New internal method.
2162 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2163 More efficient implementation, we don't have to create a new
2164 XkbControls structure every time we query.
2165 (spi_device_event_controller_class_init):
2166 Initialize the epv entries for the new IDL. Assign the
2167 "spi-dec-private" quark.
2168 (spi_device_event_controller_init):
2169 Initialize the private data.
2170 (spi_device_event_controller_forward_key_event):
2171 Removed a bogus CORBA_exception_free() call.
2173 * registryd/deviceeventcontroller.h:
2174 Replaced inclusion of keystrokelistener.h with
2177 * test/event-listener-test.c:
2178 (report_mouse_event):
2181 Added mouse-event device listener.
2183 * test/test-simple.c:
2184 (create_test_window):
2185 Fixed regression (we were instantiating a GtkRange,
2186 which is now an abstract class). Also fixed to match
2187 existing AtkRole names, this seems to have changed in ATK
2188 awhile ago; too late now I think, and the new
2189 mechanism is at least elegant and consistent with the
2190 glib enum "nick" APIs.
2192 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2194 * idl/Accessibility_Relation.idl:
2195 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2196 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2197 * idl/Accessibility_Role.idl:
2198 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2199 * idl/Accessibility_State.idl:
2200 add STATE_MANAGES_DESCENDANTS
2201 * test/event-listener-test.c:
2202 Added a listener for active-descendant events.
2204 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2206 * atk-bridge/bridge.c
2207 (atk_bridge_init): If application is Bonobo component wait until top
2208 level is added before registering
2209 (spi_atk_bridge_do_registration): New function which contains code,
2210 formerly in atk_bridge_init, to do application registration.
2211 (spi_atk_bridge_toplevel_added): Signal called when top level
2212 added to Bonobo component
2214 This fixes bug #83134.
2216 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2218 * registryd/deviceeventcontroller.c
2219 Fixed compilation error caused by calling gettimeofday()
2222 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2227 Added template for HAVE_XKB.
2230 Changes to check for XKB, and to set the HAVE_XKB #define if it
2233 * libspi/listener.c:
2234 ()impl_notify_event): Make failure to get event source name
2237 * registryd/deviceeventcontroller.c:
2238 (#include): include X11/XKBlib.h.
2239 (DEControllerPrivateData) : New struct.
2240 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2242 (dec_synth_keycode_press) (dec_synth_keycode_release):
2243 New methods; split the key synthesis code into these methods.
2244 They check XKB settings before determining the "time" values to
2245 pass to Xtest; this fixes bug #95828.
2246 (impl_generate_keyboard_event): Changed to use methods above,
2247 instead of callng Xtest directly.
2248 (spi_device_event_controller_init): Initialize new privae struct s
2250 (spi_device_event_controllr_object_finalize):
2251 Free the (new) private data.
2253 * registryd/deviceeventcontroller.h:
2254 Add new gpointer to end of struct data.
2256 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2259 Incremented revision to 1.1.2, SONAME is still '.so', library
2260 extensions are ".so.0.0.2".
2262 * registryd/deviceeventcontroller.c:
2263 FIXES FOR #93592 and #95940.
2264 (statics): renamed mouse_button_state to mouse_mask_state,
2265 added key_modifier_mask.
2266 (spi_dec_poll_mouse_moved):
2267 Added key modifier checks, and emit "keyboard:modifiers"
2268 events when the key modifiers currently in use change.
2269 Also generate "mouse:abs" events periodically, even if the mouse
2270 is stationary (should we?).
2271 Alternatively we could generate "mouse:abs" events for either all
2272 mouse movements, or every 'nth' mouse movement, or at the
2273 beginning and end of every "active" mouse period.
2275 * test/event-listener-test.c:
2276 (main): Added listener for "keyboard:modifiers" events.
2278 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2280 * libspi/keymasks.h:
2281 Added key mask #defines for mouse buttons; e.g.
2282 SPI_KEYMASK_BUTTON1, etc.
2285 Incremented dependency on ATK to version 1.1.0. (This dependency
2286 is probably premature but will soon be real enough).
2288 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2290 * libspi/hyperlink.[ch]
2291 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2292 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2295 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2300 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2302 * registryd/deviceeventcontroller.c
2303 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2304 events to be ignored.
2305 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2306 keyboard_mode so that XAllowEvents() can be called.
2310 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2312 * cspi/spi-accessible.c: Correct names of roles returned by
2313 AccessibleRole_getName(). Fixes bug #95055.
2315 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2317 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2320 * registryd/registry.c
2321 (desktop_remove_application: Write diagnostic message to stderr for
2324 (impl_accessibility_registry_deregister_global_event_listener):
2325 Correct size of lists array. This addresses bug #94555).
2327 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2329 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2332 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2334 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2337 * registryd/registry.c (impl_registry_notify_event): Remove
2338 unnecessary call to parser_event_type().
2340 * docs/reference/cspi/tmpl/spi_component.sgml:
2341 Add reference to SPI_LAYER_WINDOW.
2343 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2345 * registryd/registry.c
2346 (desktop_add_application): Remove leak.
2347 (desktop_remove_application): Remove leak.
2348 (parser_event_type): Remove leak.
2350 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2352 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2353 bogus call to CORBA_string_dup(). Also removed unnecessary
2354 g_string_dup/g_free calls.
2356 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2358 * registryd/deviceeventcontroller.c:
2359 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2361 * test/event-listener-test.c:
2362 main: commented out three redundant listeners, to reduce output
2363 noise. (They still are potentially useful for testing).
2366 2002-09-13 Michael Meeks <michael@ximian.com>
2368 * Update all the copyrights to include Ximian.
2370 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2372 * cspi/spi.h: add SPI_LAYER_WINDOW.
2374 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2375 add Accessibility_LAYER_WINDOW case.
2377 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2379 * libspi/component.c: (impl_accessibility_component_get_layer):
2380 add ATK_LAYER_WINDOW case.
2382 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2384 * configure.in: incremented micro version.
2386 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2388 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2391 Clarified and reworded our commit policy.
2394 Started an API "todo" addition list for 2.2.
2397 (impl_getSelection):
2398 Free char pointer from atk_text_get_selection, which was being leaked.
2400 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2403 Small revision to author acknowledgement.
2405 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2407 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2408 If signal has detail add it to the type of the event.
2411 2002-08-12 Michael Meeks <michael@ximian.com>
2413 * test/test-simple.c (global_listener_cb): bin bogosity.
2414 (test_keylisteners): disable, still doesn't work reliably,
2415 certainly not on my system anyway.
2417 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2418 don't leak a reference on the DEC. This round-trip
2419 fetching of the DEC per keystroke sucks, it should be
2422 * cspi/spi-private.h,
2423 * cspi/cspi-lowlevel.h,
2424 * cspi/bonobo/cspi-bonobo-listener.[ch],
2425 * cspi/bonobo/cspi-bonobo.c: get the copyright
2426 notices better - there is still a large amount of
2427 work in at-spi falsely attributed solely to Sun.
2429 * cspi/spi_main.c (cspi_object_ref): kill bogus
2430 hash lookup, just increment the ref.
2431 (SPI_freeString): make explicit the fact that we
2432 handle NULL strings just fine.
2433 (report_leaked_ref): obey coding standards.
2434 (cspi_object_hash, cspi_object_equal): kill retval.
2435 (cspi_object_release): only release if not on loan.
2436 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2437 (cspi_object_borrow, cspi_object_return): impl.
2439 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2440 use cspi_object_borrow / return.
2442 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2444 * cspi/bonobo/cspi-bonobo-listener.c:
2446 Don't call cspi_oject_new() because this is creating a new Accessible
2447 every single time that an event is fired. This causes ATs like at-poke
2448 to nolonger recognise the source of the event and thus ignore it.
2449 Re-use the object from the cache, ref it and then unref it after the
2450 listeners have been called.
2452 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2454 * test/event-listener-test.c:
2455 Added command-line options to disable mouse events (m) and
2458 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2460 * configure.in: Update required versions of ATK, GTK+ and GAIL
2462 * cspi-1.0.pc.in: Add dependency for X include files
2465 * cspi/bonobo/Makefile.am:
2466 Add $(X_CFLAGS) so that X include files
2467 are picked up even if not in standard place (bug #71686)
2469 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2471 * registryd/deviceeventcontroller.c: fix for 84261
2472 (spi_dec_mouse_moved):
2473 Added test of mouse button mask, so that we can detect mouse
2474 button release. Unfortunately we can't otherwise detect mouse
2475 button release events without consuming the mouse press event,
2476 because of the way XGrabButton works. This means that our mouse
2477 release events have a latency dependent on the polling period
2478 while the mouse button is down. At least in this case we only
2479 have to poll while the button is down, and not at other times.
2480 If the button masks don't match with what the last press event
2481 reported, we report the appropriate button release event.
2482 (spi_dec_ungrab_mouse):
2483 New method (not yet called).
2484 (spi_device_event_controller_forward_mouse_event):
2485 New method, sends mouse press event from GdkFilter.
2486 (spi_dec_init_mouse_listener):
2487 Added code to call XGrabButton, redirecting mouse button events to
2488 the root window and our Gdk event loop.
2490 Added code to filter mouse button events, and reordered.
2492 * test/event-listener-test.c:
2494 Added registration for mouse events of type "mouse:button".
2496 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2498 * registryd/deviceeventcontroller.c: partial fix for 84261
2499 (spi_dec_poll_mouse_idle):
2500 New method, a timeout which checks to see if the mouse
2502 (spi_dec_poll_mouse_moving):
2503 A timeout to be called when mouse motion is underway.
2504 (spi_dec_poll_mouse_moved):
2505 A method which fires an event if the mouse has moved, and reports
2506 whether or not it did so.
2507 (spi_dec_init_mouse_listener):
2508 A method which sets up the timeouts above.
2509 (spi_device_event_controller_new):
2510 Now calls spi_dec_init_mouse_listener.
2512 * registryd/registry.c:
2513 (spi_registry_init):
2514 Now we initialize the device event controller when the registry is
2515 initialized, instead of waiting until a client has requested a key
2516 event notification; this is because we need the event controller
2517 for mouse events, but the mouse event registration API is a
2518 "registry" call and doesn't explicitly call the
2519 deviceeventcontroller.
2520 We now report mouse motion events with a 100 ms idle latency and
2521 a 20 ms granularity when motion is in progress.
2523 * test/event-listener-test.c:
2525 We now register the "detail listener" for events of type
2526 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2527 delivered only for the first mouse event received, and thereafter
2528 "mouse:abs" events are delivered.)
2530 * cspi/spi_registry.c:
2531 DOCS: Documented the above mouse event typestrings.
2533 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2535 Happy Summer Solstice...
2537 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2538 (spi_controller_notify_keylisteners):
2539 Changes to remove a listener from the listener list, freeing its
2540 open keygrabs, if a notification to that listener fails. This
2541 means that although a dead listener can continue to hold a passive
2542 keygrab, a maximum of one dispatch to such a listener can fail
2543 before the listener is removed from the list, thus the keygrab
2544 will be released on the next occurrence.
2545 As part of this fix:
2546 (spi_notify_keylisteners):
2547 Renamed to spi_controller_notify_keylisteners, as the controller
2548 instance must now be passed as an argument.
2549 The copied 'notify' GList is now a list of DEControllerKeyListener
2550 objects, since we need more than just the CORBA reference if a
2551 notify fails and we need to deregister the listener.
2552 (impl_notify_listeners_sync):
2553 (impl_notify_listeners_async):
2554 (spi_device_event_controller_forward_key_event):
2555 Modify use of notify_keylisteners in accordance with above
2557 (spi_deregister_controller_key_listener):
2558 New method introduced by refactoring, from
2559 impl_deregister_keystroke_listener.
2560 (impl_deregister_keystroke_listener):
2561 Call spi_deregister_controller_key_listener.
2562 (spi_key_listener_clone):
2563 New method to copy a key listner without doing a 'ref' on the
2564 remote object instance; used to create a notifier list.
2565 (spi_key_listener_data_free):
2566 New method, frees data without unreffing the source.
2568 (spi_key_listener_clone_free): new method.
2569 (spi_key_listener_free):
2570 refactored to call spi_key_listener_data_free.
2572 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2574 * registryd/registry.c: [fix for bug 86048]
2575 (notify_listeners_cb):
2576 Clear CORBA system exceptions which occur when notifying
2577 listeners, before returning to the source of the original event,
2578 since the event source doesn't care if the relayed notify failed.
2579 In other words, don't complain to the atk-bridge if the registry
2580 could not notify all its listeners, that's no fault of the
2581 application and thus should not appear to be an error from the
2582 application's perspective.
2584 * cspi/spi_main.c: [fix for bug 85980]
2586 Replaced use of bonobo_object_dup_ref with call to the wrapper
2587 method, csou_dup_ref (); this silences a compiler warning and
2588 provided more portability.
2590 Ping the registry before return, and restart if necessary.
2592 * cspi/bonobo/cspi-bonobo.c:
2594 New internal method.
2596 Fixed this method to return an object reference, as it should have
2599 * cspi/cspi-lowlevel.h:
2600 Added internal definition for cspi_ping() and fixed
2601 return type of cspi_dup_ref().
2604 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2606 * atk-bridge/bridge.c: [fix for bug 85305]
2607 (spi_atk_bridge_register_application):
2608 New method where the initial application registry calls have been
2609 moved; it allows an application to re-register in response to
2610 certain error conditions (such as a registry restart, see below).
2612 Moved some initialization code to the method
2613 spi_atk_bridge_get_registry, below.
2614 (spi_atk_bridge_get_registry):
2615 New, private accessor function for the Accessibility_Registry
2616 instance. If the registry has not been started before, or has
2617 died (as detected by failure of a CORBA exception), it is
2618 restarted before return, and spi_atk_bridge_register_application
2619 is called again to register with the new bridge instance.
2620 (spi_atk_emit_eventv):
2621 Set registry_died on error; use spi_atk_bridge_get_registry () to
2622 access the registry.
2624 * registryd/registry.c:
2625 (impl_accessibility_registry_register_global_event_listener):
2626 Set listener's event_type_quark to etype.minor instead of
2627 etype.major (fix for bug 84856).
2629 * test/event-listener-test.c:
2630 (report_detail_event):
2631 Change the output string so that user/tester can tell that the
2632 'detail listener' was called instead of the 'generic listener'.
2634 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2636 Fixes for bugs 84900, 84908, 84897, 84898.
2641 Revved version to 1.1.0
2642 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2643 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2645 * idl/Accessibility_Registry.idl:
2646 (EventListener::notifyEvent):
2647 Removed 'oneway' directive after extensive consulation with
2648 ORBit2 team and others. This means also that unref() of the event
2649 source can and should be done synchronously after emission, rather
2650 than remotely in the client, after servicing the notify call on
2653 NOTE: This change speeds up listener performance considerably, but
2654 introduces new latency on the application side. We may want to
2655 add an event queue to the atk-bridge.
2657 * atk-bridge/bridge.c:
2658 (spi_atk_bridge_focus_tracker):
2659 Do a local unref() on the event source after emission.
2661 * registryd/registry.c:
2662 (desktop_remove_application):
2663 Do an unref() on the event source after emission.
2664 (desktop_add_application):
2665 Do an unref() on the event source after emission.
2666 (notify_listeners_cb):
2667 When relaying an event, don't automatically add the event source
2668 to the local object cache, just CORBA_dup it instead. Likewise,
2669 if this method reenters, release the ref rather than calling
2671 (impl_registry_notify_event):
2672 No longer call remote unref() on the event source after dispatch.
2674 * libspi/eventlistener.c:
2675 (impl_accessible_event_notify_event):
2676 Removed remote unref ()
2678 * cspi/bonobo/cspi-bonobo-listener.c:
2680 We now call cspi_object_new() instead of cspi_object_add() on
2681 receipt of an event; thus we only have an implicit object ref
2682 while the cspi_event method is being executed. If we need to keep
2683 a reference to the object, the listener must call ref() on the
2684 object. Thus also we don't need to call cspi_object_unref() after
2685 invoking the listener callbacks in this method.
2689 New internal API for creating a new cspi object, without adding it
2690 to the object cache.
2692 Now uses cspi_object_new() to create the cspi object instance.
2694 Now checks to see if the object is in the internal object cache,
2695 and adds it if necessary before incrementing its refcount (note
2696 that new objects are added with a refcount of 1).
2697 (report_leaked_ref):
2698 New method which gives some information on leaked object instances
2699 if leak detection is turned on.
2701 * test/event-listener-test.c:
2702 (timing_test_event):
2703 New method, used for testing event delivery timing for special
2704 events of type "object:test". It reports elapsed time and
2705 events/sec every 500 events.
2707 Added a new listener, 'test listener', to check timing of event
2708 receipt as noted above.
2710 Added some timing output here also, reports elapsed time every 100
2713 * test/stress-test.c:
2714 Emit events of type "object:test", for use with "event-listener-test".
2716 * test/test-simple.c:
2717 (global_listener_cb):
2718 Call Accessible_ref() on the event source before calling
2719 validate_accessible, since the validation process does pointer
2720 comparisons on the event source, meaning that the event source
2721 needs to be added to the local object cache first. Any use of
2722 such pointer comparisons between Accessible objects requires that
2723 the caller hold an explicit reference to those objects.
2724 We also must therefore call Accessible_unref() when leaving this method.
2726 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2728 * registryd/deviceeventcontroller.c:
2729 (spi_controller_update_key_grabs):
2730 Fix for #84735, subsequent keygrab listeners not informed of
2731 registration failure.
2734 (spi_base_construct):
2735 Add an assertion on construct, to make sure the GObject passed in
2736 is really a GObject.
2738 Explicitly initialize object->gobj pointer to NULL;
2740 * cspi/bonobo/cspi-bonobo-listener.c:
2741 (cspi_object_add_ref):
2742 New method, can specify whether to dup-ref a bonobo object passed
2743 in if it's newly added to the object cache.
2745 Now calls cspi_object_add_ref with second param of "FALSE". This
2746 prevents us from doing a pointless dup-ref followed by
2747 release-unref for all those cases where the object is already in
2748 our object cache (fix for #85205).
2750 * atk-bridge/bridge.c:
2751 (spi_atk_bridge_idle_init):
2752 Removed this method, we don't need to initialize in an idle
2755 Changed to call spi_atk_register_event_listeners directly, not via an
2756 idle handler. (fix for #81139)
2757 (gnome_accessibility_module_shutdown):
2758 Removed conditional around deregistration of listeners, since we
2759 don't use the idle handler and thus have always registered when
2761 (spi_init_keystroke_from_atk_key_event):
2762 Changed references to Accessibility_KEY_PRESSED to
2763 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2765 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2767 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2772 * test/stress-test.c:
2775 (may have been an incomplete commit yesterday?)
2777 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2780 Added target for new stress-test.
2782 * test/stress-test.c:
2783 New test, sends 1000 focus notifies in quick succession.
2785 * test/key-listener-test.c:
2786 Now we report whether a keylistener registration
2787 request succeeded or failed.
2789 * test/event-listener-test.c:
2790 Uncommented some listeners which are now implemented.
2793 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2795 * registryd/deviceeventcontroller.c:
2796 (spi_controller_update_key_grabs):
2797 Fix for #82509, lack of failure notification when
2798 ALL_WINDOWS keygrabs fail due to XGrabKey
2799 failure: we synchronize the server when
2800 registering a passive grab, to make sure we get the
2801 error message before the call returns.
2803 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2805 * test/test-simple.c:
2807 Removed #ifdef KEY_IMPL_WORKS guards.
2808 (test_keylisteners):
2809 Removed #ifdef KEY_IMPL_WORKS guards.
2810 Fixed bug which was causing a hang waiting for a
2811 "press" event (which was already overwritten by a "release"
2812 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2814 Added code to set globals 'key_press_received' and
2815 'key_release_received'.
2818 Added section "1.1 API Proposed Additions" which
2819 lists API additions desired for at-spi-1.1 (only one so far).
2820 Updated TODO list a little.
2822 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2824 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2827 * configure.in: Revved to 1.0.0.
2829 * idl/Accessibility_Registry.idl:
2830 (registerKeystrokeListener):
2831 Added boolean return value.
2833 * registryd/registry.c:
2834 (notify_listeners_cb): Minor fix to debug output.
2836 * registryd/Accessibility_Registry.server.in.in:
2837 Revved version number in OAFIID to 1.0.
2839 * registryd/registryd.c:
2841 Use new OAFIID version.
2843 * cspi/bonobo/cspi-bonobo.c:
2845 Use new OAFIID version.
2851 * atk-bridge/bridge.c:
2853 Use new OAFIID version.
2855 * registryd/deviceeventcontroller.c:
2856 (impl_register_keystroke_listener):
2857 Added CORBA_boolean return value.
2858 (spi_controller_register_device_listener):
2859 Added gboolean return value.
2860 (spi_controller_register_global_keygrabs):
2861 Added gboolean return value.
2862 (spi_key_set_contains_key):
2863 Added implementation for many more control keys,
2864 for instance F1-F12, arrow keys, End, Home, Page_Up,
2866 [TODO: some still not implemented].
2868 * text/screen-review-test.c:
2869 (text_chunk_pad_string):
2870 New function: it provides mapping between coordinate
2871 positions of text chunks and character positions in the
2872 screen-review-line output string.
2873 (text_chunk_to_string):
2874 New function, calls text_chunk_pad_string with various
2875 pad/delimiter characters. Pushbuttons are delimited with
2876 square brackets, Frames with vertical 'pipe' lines, and
2877 other text with double quotes.
2878 (text_chunk_list_to_string):
2879 Calls new function text_chunk_to_string.
2880 (toplevel_composite):
2881 New function to composite layers CANVAS through
2882 POPUP in each toplevel (other layers are composited
2883 across toplevels, i.e. BACKGROUND and OVERLAY).
2884 (review_buffer_composite):
2885 Revise to use new methods.
2891 2002-05-31 Laszlo Peter <laca@sun.com>
2893 * configure.in: add the Xtst libdir to the runpath on Solaris,
2894 since it's not in the default library search path.
2896 2002-05-29 jacob berkman <jacob@ximian.com>
2898 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2900 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2902 * test/screen-review-test.c:
2903 (text_chunk_pad_string):
2904 Added method, which pads the string according to the
2905 text bounds of the chunk. It also takes a 3-character
2906 string as a param which indicates the characters to be
2907 used for start, padding, and end delimitation of the chunk.
2908 (text_chunk_to_string):
2909 Changed to use text_chunk_pad_string.
2911 * configure.in: Fixed bug in AC_OUTPUT that was
2912 causing path substitution in Accessibility_Registry.server
2915 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2917 * text/screen-review-test.c:
2918 (guess_string_clip):
2919 New method which attempts a best-guess at clipping
2920 text from components (like Java labels) which don't
2921 actually implement AccessibleText. This inaccurate
2922 clip is based on the assumption that the label is
2923 justified left-and-right, and monospaced.
2924 (text_chunk_get_clipped_string):
2925 We now call guess_string_clip() for text-containing
2926 components that don't implement AccessibleText.
2928 * test/screen-review-test.c:
2929 (review_buffer_get_text_chunk):
2930 We now pull "name" from labels if they do not implement
2931 AccessibleText (i.e. for Java labels).
2932 (get_screen_review_line_at):
2933 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2936 Replaceded AC_OUTPUT target
2937 registryd/Accessibility_Registry.server with
2938 registryd/Accessibility_Registry.server.in.
2940 * registryd/Accessibility_Registry.server.in:
2941 Removed (this is now a Makefile target).
2943 * registryd/Accessibility_Registry.server.in.in:
2944 Added (source for target above). We now use $(libexecdir) as
2945 prefix for the executable at-spi-registryd.
2947 * registry/Makefile.am:
2948 Now install at-spi-registryd into $(libexecdir), and build .server
2949 file with path (see above).
2951 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2953 * test/screen-review-test.c:
2954 (text_chunk_get_clipped_string):
2955 We now check to see if words fall within clip bounds
2956 before resorting to character-by-character clip bounds testing.
2958 * TODO: Added a section for "2.2 Proposed API Additions".
2960 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2962 * test/screen-review-test.c:
2964 Added a screen review benchmarking and test program to test
2967 * cspi/spi_accessible.c:
2969 Made some of the debug strings passed to cspi_check_ev a
2970 little more specific.
2972 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2974 * test/screen-review-test.c: Fix crashes in debug statements
2976 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2978 * test/screen-review-test.c: Added this file.
2980 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2982 * atk-bridge/bridge.c: changed "object:state-change" to
2983 "object:state-changed" to match docs.
2985 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2987 * atk-bridge/bridge.c: Hooked up state-change event details.
2989 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2991 * registryd/registry.c:
2992 Fixed quarking bug in event string parsing; now events with
2993 detail parameters get matched correctly to listeners.
2996 * util/idl/Magnifier.idl: remove.
2998 * util/*.[ch]: Remove.
2999 Magnification utilities and IDL are now in module gnome-mag.
3001 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3003 * registryd/deviceeventcontroller.c:
3004 Fixed bug in grab key conversion which was causing keycode grabs
3005 to be converted to AnyKey grabs.
3008 updated NEWS file to reflect recent spin-off of gnome-mag.
3010 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3012 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3013 busted AccessibleStateSet_compare. Removed redundant casts.
3015 * cspi/spi-action.c: Removed redundant casts.
3017 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3019 * cspi/spi_component.c: Fixed typos and casting error.
3021 * cspi/spi_editabletext.c: Removed redundant casts.
3023 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3025 * cspi/spi_hypertext.c: Eliminated redundant casts.
3027 * cspi/spi_image.c: Eliminated redundant casts.
3029 * cspi/spi_registry.c: Eliminated redundant casts.
3030 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3031 * cspi/spi_selection.c: Removed redundant casts.
3032 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3033 handling. Screen geometry and text offsets were being returned as 0
3034 on error which is technically valid-- changed these to return -1.
3035 Added marshaller for text boundary types to fix bug with boundary
3036 types being passed incorrectly to atk.
3038 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3041 * cspi/spi_registry.c:
3042 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3043 which was uncovered by the recent key changes.
3045 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3047 * test/event-listener-test.c:
3049 Added new test, "event-listener-test";
3050 this code does two things; it benchmarks traversal time
3051 for the accessible hierarchy for the first running accessible
3052 app, and it connects listeners for all supported event types.
3053 It is thus useful as an example event listener and for
3054 diagnostics/debugging of event generation.
3056 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3059 Removed unnecessary dependency on libutil.
3062 Revved micro version: 0.13.1
3064 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3067 Removed util/Makefile from targets.
3070 Removed util subdir from SUBDIRS (temporarily,
3071 pending removal of magnifier-only code
3075 #ifdef-ed out magnifier dependencies, since
3076 magnifier IDL, headers, and binary now live in
3077 module gnome-mag and we don't want at-spi to depend
3078 on gnome-mag. A magnifier demo which can run alongside
3079 simple-at is forthcoming in the gnome-mag module.
3081 NOTE: Split magnifier binary, IDL, and magnification
3082 activation code from at-spi into module gnome-mag.
3084 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3086 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3087 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3089 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3092 Revved to version 0.13.0
3094 * idl/Accessibility_Registry.idl:
3095 Changed definition of KeySet from sequence of longs to sequence of
3096 KeyDefinitions, and added KeyDefinition struct.
3097 Required for fix to bug 80616.
3099 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3100 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3101 to use new definition (see above).
3103 * registryd/deviceeventcontroller.c: handle_keygrab(),
3104 spi_keyset_contains_key():
3105 Changed to make use of new struct; this allows matching based on
3106 string key-name, for instance "Tab". This also allows matching of
3107 composed characters, non-alphanumeric characters in a way that
3108 doesn't involve dependencies on X keysym codes directly, etc.
3110 * test/key-listener-test.c:
3111 Added test for Alt-Tab key using "string" specification of keyset,
3112 and modified one of the tests to use a keycode-based keyset.
3113 Thus this test both tests and demonstrates the creation and use of
3114 keysets of three forms: specified via keycode array,
3115 keysym array, and string array. (The string case only contains a
3116 single string, i.e. a string array of length 1).
3119 Turned on PRINT_TREE option by default. Also fixed a
3120 string-freeing bug in the PRINT_TREE code.
3121 Added a listener to window:minimize events.
3123 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3125 * atk-bridge/bridge.c:
3126 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3127 for window:activate and window:deactiveate
3128 (atk_bridge_property_event_listener atk_bridge_signal_listener
3129 atk_bridge_window_event_listener) Tidy debug code
3131 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3133 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3134 Fixed handling for NULL return value from ATK.
3136 * libspi/action.c libspi/component.c libspi/editabletext.
3137 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3138 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3139 Removed redundant casts.
3141 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3142 Fixed off by one bug.
3144 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3145 function not present in idl)
3147 2002-05-02 jacob berkman <jacob@ximian.com>
3149 * atk-bridge/Makefile.am: make atk-bridge a real module
3151 2002-04-26 Radek Doulik <rodo@ximian.com>
3153 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3154 atk_state_types table
3156 2002-04-22 jacob berkman <jacob@ximian.com>
3159 * libspi/Makefile.am: add deps on the built files to help
3160 automake, and don't version the ORBit typelib
3162 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3164 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3165 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3166 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3167 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3168 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3169 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3170 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3171 libspi/accessible.h libspi/accessible.h libspi/base.h
3172 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3173 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3174 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3175 libspi/spi-private.h libspi/statetset.h libspi/table.h
3176 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3177 util/mag_client.h util/mag_control.c util/mag_image.c
3178 util/mag_image.h util/magnifier.c util/magnifier.h:
3179 Add missing file headers; standardize existing ones
3181 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3183 * atk-bridge/bridge.c: Added window event support.
3185 2002-04-18 Michael Meeks <michael@ximian.com>
3187 * libspi/relation.c (impl_getNTargets): impl.
3188 (impl_getTarget): impl.
3190 * libspi/Makefile.am: fix stateset install.
3192 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3195 Started putting useful info in this file.
3197 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3199 * atk-bridge/bridge.c:
3200 Propagate state-changed notifications to ATs
3202 * cspi/spi_registry.c: update docs to reflect actual behavior of
3203 state-change events.
3205 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3208 Incremented version to 0.12.1
3210 * util/mag_client.h:
3211 Add missing declaration for magnifier_exit,
3212 used by mag_control.c - Forte compiler didn't like
3213 the implicit redeclaration of the function :-(
3216 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3219 Revved version to 0.12 due to API change (see below).
3221 * cspi/spi-roletypes.h:
3222 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3223 definition from the inline docs, and added docs
3224 for SPI_ROLE_LAST_DEFINED.
3227 * cspi/spi_streamablecontent.c:
3228 Added missing seek_type parameter to
3229 (so far unused) method,
3230 AccessibleStreamableContent_seek().
3231 [ RT approval JodyG. ]
3234 Fixed docs for SPI_createAccessibleKeystrokeListener.
3236 * cspi/spi_registry.c:
3237 Fixed docs for SPI_KEYSET_ALL_KEYS.
3239 * docs/reference/cspi/at-spi-cspi-sections.txt:
3240 Added a number of missing APIs to SECTIONS.
3242 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3244 * registryd/Makefile.am:
3246 * cspi/bonobo/Makefile.am:
3247 Add $(X_LIBS) to makefiles.
3249 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3252 Revved version to 0.11.
3254 * libspi/component.c:
3255 Added implementation for grabFocus.
3257 * idl/Accessibility_Component.idl
3258 (Accessibility_Component_grabFocus):
3259 Made this method return boolean to indicate success or failure, to
3260 be consistent with cspi and the corresponding ATK method.
3262 * idl/Accessibility_Selection.idl
3263 (Accessibility_Selection_selectAll) :
3264 Made these methods return boolean to indicate success or
3265 failure, to be consistent with cspi and the corresponding ATK methods.
3267 * idl/Accessibility_EditableText.idl
3268 (Accessibility_EditableText_setTextContents,
3269 Accessibility_EditableText_insertText,
3270 Accessibility_EditableText_cutText,
3271 Accessibility_EditableText_deleteText,
3272 Accessibility_EditableText_pasteText):
3273 Made these methods return boolean to indicate
3276 * cspi/spi_editabletext.c:
3277 Made these methods return booleans.
3279 * libspi/selection.c:
3280 * libspi/component.c:
3281 * libspi/editabletext.c:
3282 Connected the boolean returns from ATK
3283 to the server-side code referenced above.
3285 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3287 * idl/Accessibility_Table.idl: Added missing methods,
3288 Accessibility_Table_addRowSelection,
3289 Accessibility_Table_addColumnSelection,
3290 Accessibility_Table_removeRowSelection,
3291 Accessibility_Table_removeColumnSelection.
3294 Added C wrappers for above IDL:
3295 AccessibleTable_addRowSelection,
3296 AccessibleTable_addColumnSelection,
3297 AccessibleTable_removeRowSelection,
3298 AccessibleTable_removeColumnSelection.
3301 Added server-side implementation code for IDL above, connecting
3302 to pre-existing ATK api.
3304 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3306 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3308 * libspi/accessible.c: Added implementation fo
3309 Accessibility_Accessible_get_state.
3311 * libspi/libspi.h: Added stateset.h to the list of includes.
3313 * libspi/stateset.c: Fixed broken implementation.
3315 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3318 Added implementation code for Accessibility_Magnifier_exit ().
3320 * util/mag_control.c:
3321 Added test code for above method; you can
3322 now kill an existing magnifier via
3323 ./mag_control q, from the util directory.
3325 * test/key-listener-test.c:
3327 Added a new test, for our key listener API.
3329 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3331 * test/app.c, test/keysynth-demo.c:
3333 Replace use of snprintf with g_snprintf.
3334 (fix for bugzilla 78249)
3336 2002-03-27 Michael Meeks <michael@ximian.com>
3340 * util/Makefile.am (INCLUDES): fix.
3341 (DONT_DIST_SOURCE): don't distribute the
3344 * libspi/Makefile.am (dist-hook): ditto.
3346 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3348 * libspi/hypertext.c:
3349 Fix warnings when yelp is used with atk-bridge
3351 2002-03-21 Michael Meeks <michael@ximian.com>
3353 * libspi/application.c (spi_application_new):
3354 use spi_accessible_construct so we use the AtkObject
3357 2002-03-19 Michael Meeks <michael@ximian.com>
3359 * registryd/registry.c (desktop_remove_application),
3360 (desktop_add_application): clean coding style.
3362 * registryd/desktop.c (spi_desktop_remove_application),
3363 (spi_desktop_add_application): kill re-enterency hazards.
3364 (spi_desktop_dispose): remove bogus redundant cast
3365 obscuring bug; fix bug too.
3366 (spi_desktop_init): make the desktop object immortal.
3368 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3371 Added a #define-guarded tree-traversal step
3372 when enumerating the apps (diagnostic tool).
3374 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3376 * idl/Accessibility_Role.idl:
3377 Added ROLE_DRAWING_AREA which seemed to be missing from the
3380 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3382 * cspi/spi-roletypes.h cspi/spi_accessible.c
3383 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3386 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3387 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3388 AT when applications are added and removed from the desktop. This
3389 reverts the previous broken implementation using the backing
3390 AtkObject for the SpiDesktop.
3392 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3394 * registryd/desktop.c: emit the "children-changed::add" and
3395 "children-changed::remove" signals on the backing ATK object for
3396 the desktop so AT can tell when applications are started and shut
3399 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3401 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3403 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3405 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3407 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3409 * cspi/state-types.h: synched with IDL and ATK
3411 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3413 * libspi/accessible.c
3414 (impl_accessibility_accessible_get_child_at_index):
3415 Change return value for g_return_if_fail ()
3416 to CORBA_OBJECT_NIL instead of "0" (!)
3418 * registryd/Makefile.am:
3419 * registryd/Accessibility_Register.server.in:
3420 Changed name of executable, "registryd",
3421 to something more informative:
3424 2002-03-13 Michael Meeks <michael@ximian.com>
3426 * atk-bridge/bridge.c (atk_bridge_init): don't register
3427 if we're in a bonobo-component, rather than a bonobo app.
3429 2002-03-13 Michael Meeks <michael@ximian.com>
3431 * atk-bridge/bridge.c (gtk_module_init): split
3432 out body to (atk_bridge_init): here, since otherwise
3433 we get symbol conflicts and oddness when invoked
3434 from (gnome_accessibility_module_init): here (upd.)
3436 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3439 New file. Explicitly allow "build sheriff" putbacks provided
3440 they are tested on Solaris.
3442 * docs/reference/cspi/Makefile.am:
3443 Added '-' to the "cp" command for index.sgml.
3444 ("patch by thomasvs, soon coming to a GUADEC near you")
3447 Incremented version number (0.9.0) for new release.
3448 Changed macro that checks for popt, to better detect
3449 obsolete versions of popt.
3452 Added X_LIBS to AC_SUBST, for applications
3453 that call Xlib API directly.
3456 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3459 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3462 Fix regression caused by hard-coding major
3463 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3466 * test/test-simple.c (test_editable_text),
3467 (test_test): revert previous change (error was
3468 a regression in gail which is now fixed).
3470 2002-03-04 Michael Meeks <michael@ximian.com>
3472 * test/test-simple.c (test_editable_text),
3473 (test_text): pass G_MAXINT instead of '-1' for
3474 whole string - is this a good thing !?
3476 * cspi/spi_accessible.c
3477 (Accessible_getRelationSet): fix crasher bug
3478 overwriting the end of the array.
3480 * test/test-simple.c (validate_accessible): free,
3481 not g_free returned relation set.
3483 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3485 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3486 implemented stateset support
3488 * idl/Accessibility_State.idl: Made necessary changes to
3489 the IDL to support state sets.
3491 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3493 * registryd/deviceeventcontroller.c:
3494 Added implementation for generateMouseEvent.
3496 * cspi/spi_registry.c:
3497 Connected new implementation for generateMouseEvent
3500 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3503 Incremented revision (but no change in public API
3504 outside of 'utils', which are not installed public yet.)
3506 * libspi/component.c:
3507 Changed to use atk_component API for layers and
3508 mdi_zorder, instead of deprecated atk_object API.
3510 Magnification Utility Enhancements:
3513 Added implementation of createZoomRegion, clearAllZoomRegions,
3514 resizeZoomRegion. Added new commandline argument
3515 "--no-initial-region". Note that clearAllZoomRegions doesn't
3516 unmap the old '0' region as it should (yet), and the other
3517 methods only work when creating/resizing a single region,
3518 which is "region 0".
3519 (Code for multiple region support will be added later.)
3522 Now we raise the magnifier window each time it's refreshed;
3523 this will help keep it on top.
3525 * util/mag_client.h:
3526 Added simple wrappers for above, used by mag_control.
3527 For general use, it's recommended to use the bonobo magnifier
3528 control API directly instead of using these wrappers.
3531 Moved ZoomRegionData from magnifier.c to this file.
3533 * util/mag_control.c:
3534 Added some code to exercise new IDL implementations.
3536 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3538 * libspi/text.c: Provide implementation for getAttributes.
3540 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3543 Incremented revision.
3545 * test/test-simple.c:
3546 Replaced use of deprecated g_main_iteration with
3547 g_main_context_iteration.
3549 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3552 Incremented revision for desktop alpha 2.
3554 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3556 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3559 * test/simple-at.c: include netinet/in.h.
3561 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3563 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3564 use NULL, not CORBA_OBJECT_NIL.
3566 * libspi/accessible.c:
3567 (impl_accessibility_accessible_get_relation_set):
3568 allocate the sequence correctly.
3570 * libspi/remoteobject.h: kill spi_remote_object_new.
3572 * test/test-simple.c: (validate_accessible): add code
3573 to test relation sets, now all we need is to figure
3574 out how to excercise this code path :/
3576 2002-01-18 Michael Meeks <michael@ximian.com>
3578 * test/test-simple.c
3579 (key_listener_cb): consume the key.
3580 (test_keylisteners): update.
3581 (main): wait for any pending unrefs on events.
3583 * registryd/deviceeventcontroller.c
3584 (spi_controller_update_key_grabs): only re-issue the
3585 grab on a key release.
3586 (spi_device_event_controller_forward_key_event):
3587 refresh the keygrabs before we notify the listeners,
3588 to reduce the X ungrab / re-grab race.
3589 (spi_controller_register_with_devices): remove
3590 XSelectInput - we do that with the gdk_window_ call.
3591 (_spi_controller_device_error_handler): return a value.
3592 s/GDK_DISPLAY/spi_get_display/
3594 2002-01-17 Michael Meeks <michael@ximian.com>
3596 * registryd/deviceeventcontroller.c
3597 (_deregister_keygrab): don't blow out the later
3600 * test/test-simple.c (test_keylisteners): do a
3601 more intelligent validation.
3603 2002-01-14 Michael Meeks <michael@ximian.com>
3605 * atk-bridge/bridge.c
3606 (gnome_accessibility_module_init),
3607 (gnome_accessibility_module_shutdown): impl.
3608 (gtk_module_init): protect vs. double inits.
3609 (add_signal_listener): impl.
3610 (spi_atk_bridge_state_event_listener): kill
3611 (deregister_application): split out of
3612 (spi_atk_bridge_exit_func): here.
3614 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3617 Added caret tracking when using magnifier, and
3618 now use text bounds for focus tracking of text elements, rather than
3619 the component bounds - this is helpful for short text fields in long
3620 table cells, at high magnification.
3622 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3624 * registryd/deviceeventcontroller.c:
3625 Regression fix for keylistener de-registration; global keygrabs
3626 were not being released when deregisterKeystrokeListener was
3627 called in cspi, since
3628 Accessibility_DeviceEventController_deregisterKeystrokeListener
3629 was called with a zero-length keyset. That is because the cspi
3630 method, SPI_deregisterKeystrokeListener, does not take a keyset
3631 parameter but instead should remove all the key grabs held be a
3633 The code in impl_deregister_keystroke_listener was changed to copy
3634 the keylist from the listener instance previously registered with
3635 the DeviceEventController before releasing the grabs.
3637 * registryd/registry.c:
3638 * registryd/deviceeventcontroller.c:
3639 * libspi/spi-private.h:
3641 Changed spelling of "re-enterant" to "re-entrant" globally.
3643 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3645 * test/test-simple.c:
3646 Changed key listeners test - the test was slightly mis-using the
3647 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3648 It now uses '=' as the key event listened to and generated,
3649 relying on a keysym match rather than assuming that keycode 33
3650 is always equal to keysym '!'.
3652 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3655 Changed simple-at to use a specific keyset, rather than
3656 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3657 manager, desktop, etc.
3659 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3661 * registryd/deviceeventcontroller.c:
3662 Replaced standard X error handler with a special handler that
3663 is non-fatal for failed keygrabs. This works around
3664 problems with keygrab clashes sometimes observed on
3666 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3667 mouse handling code as yet).
3669 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3672 Incremented revision for desktop alpha release.
3675 Fixed a couple of the more glaring errors (still not
3678 2002-01-11 Michael Meeks <michael@ximian.com>
3680 * registryd/deviceeventcontroller.c
3681 (spi_device_event_controller_forward_key_event): kill
3682 XUngrabKey / XKeyGrab race.
3683 (spi_controller_grab_keyboard): rename to
3684 (spi_controller_update_key_grabs): this, and deal
3685 with incremental adding / removing grabs more
3687 (_register_keygrab): ensure we're not pending a remove.
3688 (spi_grab_mask_free): impl.
3689 (spi_controller_register_global_keygrabs): split out
3691 (handle_keygrab): impl.
3692 (_deregister_keygrab): impl.
3693 (spi_controller_deregister_global_keygrabs): impl.
3694 (spi_controller_update_key_grabs): re-issue the grab if
3695 we just recieved a notification.
3697 * test/test-simple.c (key_listener_cb): remove debug.
3699 * registryd/deviceeventcontroller.c
3700 (spi_controller_register_device_listener): after
3701 registering a global keygrab, actualy register it !
3702 don't wait for a timeout; doh !
3704 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3705 to make it more readable / manipulable.
3706 s/grabmask/grab_mask/ s/refcount/ref_count/
3707 s/keyval/key_val/ s/modmask/mod_mask
3709 2002-01-08 Michael Meeks <michael@ximian.com>
3711 * registryd/deviceeventcontroller.c
3712 (spi_controller_register_with_devices): use gdk calls to
3714 (global_filter_fn): implement the filter.
3715 (spi_device_event_controller_check_key_event): rename to
3716 (spi_device_event_controller_forward_key_event): this & upd.
3717 (spi_get_display): replace with GDK_DISPLAY.
3719 * registryd/deviceeventcontroller.c
3720 (spi_controller_deregister_device_listener): unroll into
3721 (impl_deregister_keystroke_listener): here to simplify.
3722 (spi_controller_register_global_keygrabs): split cut and
3723 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3724 (spi_controller_deregister_device_listener): remove.
3725 (impl_register_mouse_listener): remove, no mouse listener
3726 support in at-spi-1.0
3728 * registryd/registry.c
3729 (_device_event_controller_hook): kill.
3730 (spi_registry_init): upd.
3732 * registryd/deviceeventcontroller.c
3733 (spi_device_event_controller_class_init): upd.
3734 (spi_check_key_event): merge into.
3735 (spi_device_event_controller_check_key_event):
3736 here and kill strange static ev init, don't leak
3737 the x_event - nor dynamicaly allocate it.
3739 * registryd/registry-main.c (main): re-direct
3740 timeout to remove strange vtable mess.
3742 * registryd/deviceeventcontroller.c
3743 (remove_listener_cb): impl.
3744 (spi_controller_deregister_device_listener):
3745 fix re-enterancy hazard.
3747 2002-01-07 Michael Meeks <michael@ximian.com>
3749 * registryd/deviceeventcontroller.c
3750 (spi_device_event_controller_new): upd.
3751 (impl_notify_listeners_sync): upd. debug.
3752 (spi_notify_keylisteners): fix re-enterancy hazards,
3753 prettify, remove O(n*n) iteration.
3754 (spi_controller_grab_keyboard): fix iteration.
3755 (spi_check_key_event): re-format to suit coding style.
3756 Clean all the warnings - we're warning free.
3758 * registryd/deviceeventcontroller.h:
3759 * registryd/registry.h: make mutualy referential with
3760 typesafe forward references instead of (!) void pointer
3763 2002-01-11 Michael Meeks <michael@ximian.com>
3765 * cspi/spi_accessible.c (role_names): add a role name
3766 to sync this array with the enum; and make the regression
3769 2002-01-10 Michael Meeks <michael@ximian.com>
3771 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3772 allow expansion of enumeration & kill warning.
3774 * test/test-simple.c (key_listener_cb): impl.
3775 (test_keylisteners): impl.
3777 * cspi/spi-listener.h: make listener signatures const
3778 on the provided (const) events.
3780 * test/keysynth-demo.c: upd. to const events.
3782 * test/simple-at.c: ditto.
3784 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3787 Rev the version to 0.5 (the previous tarball was named 0.4,
3788 even though the micro number was 3), so we need to rev upwards
3789 again for beta2/"desktop-alpha"
3792 Checked in a demo script, which requires editing before use!
3793 Proceed with caution.
3796 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3798 * cspi/spi_accessible.c:
3799 Add a couple of missing enum initializations, and fix some enum
3802 * cspi/spi_registry.c:
3803 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3805 * docs/reference/cspi/at-spi-cspi-sections.txt:
3806 Remove/fix a couple of broken document references.
3809 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3810 as Alt-Control to listen for commands, since on some systems
3811 Control-Alt may already be grabbed.
3813 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3816 Update version number to 0.4 for Beta2.
3818 * libspi/accessible.c, libspi/accessible.h:
3819 Expose spi_accessible_construct, to enable libgail-gnome
3820 construction from spi_accessible subtype.
3822 * utils/magnifier.c:
3823 Workaround for bug in some non-gnome-compliant window managers
3824 which made magnifier resize improperly.
3826 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3828 * libspi/accessible.c: (spi_accessible_new) :
3829 Move the test for SPI_IS_REMOTE_OBJECT to
3830 spi_accessible_new_return, fixing a bug and compile time warning.
3832 2002-01-08 Michael Meeks <michael@ximian.com>
3834 * registryd/registry.c (parse_event_type): remove strndup.
3836 * libspi/Makefile.am (libspi_la_SOURCES): remove
3837 sources already included in the headers section.
3839 * libspi/util.c: add.
3841 * libspi/spi-private.h: add.
3843 * registryd/registry.c: update to moved list iterators.
3845 2002-01-05 Michael Meeks <michael@ximian.com>
3847 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3849 * test/test-simple.c (main): ditto.
3851 2002-01-04 Michael Meeks <michael@ximian.com>
3853 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3854 redundant construct.
3856 * registryd/registry.c
3857 (get_listener_list): impl.
3858 (impl_accessibility_registry_register_global_event_listener):
3859 re-impl. to simplify using ~, remove dodgy const cast off.
3860 (parse_event_type): constify.
3861 (impl_accessibility_registry_deregister_global_event_listener_all):
3862 re-write, more efficiency and simplicity, kill re-enterancy
3864 (compare_listener_corbaref, compare_corba_objects),
3865 (compare_listener_quarks): define out.
3866 (impl_accessibility_registry_deregister_global_event_listener):
3867 re-write for effiency, and nail re-enterancy hazard.
3868 (impl_accessibility_registry_get_desktop_list): impl.
3869 (re_enterant_list_delete_link): impl.
3870 (re_enterant_list_foreach): impl.
3871 (remove_listener_cb): impl.
3872 (_registry_notify_listeners): kill.
3873 (notify_listeners_cb): impl.
3875 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3876 (SPI_getDesktopList): impl.
3878 * test/test-simple.c (test_desktop): test the methods.
3880 2002-01-03 Michael Meeks <michael@ximian.com>
3882 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3883 keystrings since we free them
3884 (SPI_freeAccessibleKeySet): in here.
3886 * libspi/accessible.c (spi_accessible_new): kill warning,
3887 wonder what is going on with the constructor here.
3889 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3891 * libspi/accessible.c (spi_accessible_new ()) :
3892 Added check to see if AtkObject is an SpiRemoteObject before
3893 creating an SpiAccessible.
3895 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3897 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3898 Enable keygrabs using the Control modifier, now that they are
3899 working properly (they were previously disabled).
3902 Change the command keygrab for this demo to "Control+Alt", so as
3903 to conflict with fewer other key commands on the system; this
3904 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3906 Removed a pointlessly-chatty keylistener for unshifted keys
3907 (shifted keys are still reported).
3909 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3911 * libspi/remoteobject.h:
3912 * libspi/remoteobject.c:
3913 Added definitions for special AtkObject subtype, required for
3914 support of remote components (specifically, used by BonoboControl
3915 accessibility implementation).
3917 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3919 * cspi/spi.h: synched relation types with ATK
3921 * cspi/spi_accessible.c: Added implementations of
3922 AcccessibleRelation_* methods
3924 * idl/Accessibility_Relation.idl: added getRelationTypeName
3925 method. Synched known relation types with ATK. Allowed for
3926 relation type extension with the RELATION_EXTENDED type.
3928 * libspi/relation.c: Provided implementations for
3929 AccessibleRelation methods.
3931 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3933 API tweaks for today's API 'freeze'.
3936 Added placeholder functions to allow future compatible expansion
3937 of the IDL interfaces.
3939 * idl/Accessibility_Registry.idl:
3940 Changed generateKeyEvent to generateKeyboardEvent. Changed
3941 signature of this method to accept an optional keystring in
3942 parameter (for complex text input synthesis) and changed use of
3943 simple 'boolean' parameter in registerKeystrokeListener to a
3944 struct, EventListenerMode.
3946 * cspi/spi_accessible.c:
3948 * cspi/spi_streamablecontent.c:
3949 Added references to AccessibleStreamableContent interface, and
3950 definition and implementation of AccessibleStreamableContent
3953 * cspi/spi_registry.c:
3955 Changed generateKeyEvent API to generateKeyboardEvent,
3956 taking a new (optional) keystring parameter to support complex
3961 Renamed directory (to better reflect its actual purpose, bridging
3962 from at-spi to ATK). The .so module is also now named
3965 * idl/Accessibility_Hypertext.idl:
3966 * libspi/accessible.c:
3967 * libspi/hypertext.h:
3968 * libspi/hypertext.c:
3969 Changed Accessibility_Hypertext to *not* derive from
3972 * cspi/spi_registry.c:
3973 Added list of legal event type names for 'window' events, which
3974 completes the registry event API.
3976 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3978 * at-bridge/bridge.c: Added registration for separate
3979 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3980 signals. If either of the first two parameters to the generic
3981 bridge signal handler are ints, they are passed on as event
3982 details. This allows an AT to determine what text was inserted.
3984 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3986 * registryd/deviceeventcontroller.c:
3987 Fixed regressions in generateKeyEvent caused by the removal of
3988 gdk_init from registryd; we now use pure X calls to connect to the
3989 display, which makes sense because deviceeventcontroller already
3990 uses a fair bit of X API (should eventually be migrated to a
3991 'portability layer').
3993 * registryd/desktop.c:
3994 Fixed minor regression in spi_desktop_init, changed the way the
3995 desktop name is being set to work with new spi_base API
3996 (gobject-based, rather than AtkObject-based).
3998 * registryd/Makefile.am:
3999 Minor revision of makefile to use XTST_LIBS variable rather than
4000 hard-wiring the Xtst LD_ADD element.
4002 * test/keysynth-demo.c:
4003 Tweaked an output message; added initialization of the
4004 'keystrings' member of the "switch listener" key_set.
4006 * libspi/relation.c:
4007 Squashed compile-time warning.
4009 * libspi/accessible.c:
4010 Cosmetic and formatting fixes, renamed a static method.
4012 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4014 * libspi/accessible.c
4016 * libspi/application.c
4019 * libspi/component.c
4020 * libspi/editabletext.c
4021 * libspi/hyperlink.c
4022 * libspi/hypertext.c
4024 * libspi/selection.c
4028 * registryd/desktop.c:
4029 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4031 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4033 * idl/Accessibility_Registry.idl:
4034 Added boolean member 'is_text' to DeviceEvent. This is for the
4035 use of key events, and helps prevent ambiguity between composed
4036 key strings and keysym names, since both may potentially be
4037 returned in the 'event_string' member.
4039 * at-bridge/bridge.c:
4040 * registryd/deviceeventcontroller.c:
4041 Use the 'is_text' member when notifying device event listeners.
4042 Knon issue: composed characters are not dealt with correctly by
4043 the global key listener implementation yet.
4045 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4047 * at-bridge/bridge.c:
4048 Namespaced local static methods to spi_atk_bridge_* where
4049 previously named bridge_*, and spi_* elsewhere.
4051 * at-bridge/bridge.c:
4052 * cspi/bonobo/cspi-bonobo-listener.c:
4053 Added demarshalling/conversion for string member of
4054 Accessibility_DeviceEvent to AccessibleKeystroke.
4056 * registryd/deviceeventcontroller.c:
4057 Added code to fill the Accessibility_DeviceEvent key string value
4058 member for global key events (i.e. from XGrabKey), to match
4059 behavior of Accessibility_DeviceEvent from the toolkit key events
4060 from the bridge. Fixed timestamp in global key event notifications.
4063 Added printout of key event's string value to
4064 report_ordinary_key_event, for demo/debugging purposes.
4066 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4068 * idl/Accessibility_Registry.idl:
4069 Removed Accessibility_KeyStroke structure in favor of generic
4070 Accessibility_DeviceEvent structure.
4071 Changed Accessibility_ControllerEventMask from a struct to an
4074 * at-bridge/bridge.c:
4075 Changed APIs to use DeviceEvent structure as above, and removed
4076 bogus casting between these event structures.
4078 * cspi/spi-listener.h:
4079 Added keystring member of AccessibleKeystroke structure, to enable
4080 matching on event "names" rather than only hardware codes and
4084 Added keystrings member of AccessibleKeySet struct, to allow
4085 matching on event names (as above).
4086 Added declarations for SPI_createAccessibleKeySet and
4087 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4088 event modmasks directly as unsigned ints rather than structs with
4089 refcounts, in the DeviceEventController methods.
4091 * cspi/spi_registry.c:
4092 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4094 * cspi/spi-roletypes.h:
4095 Added documentation of newly added SPI Roles.
4097 * cspi/bonobo/cspi-bonobo-listener.c:
4098 Changes in support of API changes above.
4100 * libspi/accessible.c:
4101 Converted APIs to use DeviceEvent structure (see IDL changes
4104 * registryd/deviceeventcontroller.c:
4105 Added DEControllerGrabMask structure to track keygrabs not only by
4106 modmask but by keyset as well; this allows us to do "global"
4107 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4108 grabbing on AnyKey and then filtering after-the-fact.
4109 Bugfixes for event filtration mean that we don't get false matches
4110 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4112 * registryd/deviceeventcontroller.c:
4113 Namespaced a number of static methods to use spi_ prefix. Major
4114 revision to internals of global (i.e. X) key grabs.
4116 * registryd/deviceeventcontroller.h:
4117 Removed keymask_list and added keygrabs_list to
4118 SpiDeviceEventController struct.
4121 Added use of SPI_createAccessibleKeySet API when creating a
4122 listener for only one key. Attach a listener to "shift spacebar
4123 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4124 X key event names to SPI key event names, so that listeners are
4125 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4127 * test/keysynth-demo.c:
4128 Changed (incorrect) use of X key event names (KeyPressed,
4129 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4132 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4134 * libspi/accessible.c:
4135 Convert all AtkRole enumerations to Accessibility_Role enums when
4136 getting a role from an AtkObject.
4138 * cspi/spi_accessible.c:
4139 Complete the conversion of Accessibility_Role enums at runtime to
4140 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4141 role enums correctly match those given in spi-roletypes.h.
4142 Re-synchronize the local names list for AccessibleRole_getName ().
4143 AccessibleRole_getName is now deprecated, since it duplicates the
4144 more reliable Accessible_getRoleName.
4145 Added some role types from Accessibility_Role.idl.
4147 * idl/Accessibility_Role.idl:
4148 Added some role types used by AtkRole.
4150 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4153 * cspi/spi_registry.c:
4155 * cspi/cspi-bonobo-listener.c:
4156 Namespaced all methods that did not begin with an "SPI_" or
4157 "Accessible" prefix to "SPI_".
4160 Homogenized internal function namespace to "cspi_" for statics.
4163 Patched tests to use the new CSPI API.
4165 * docs/reference/cspi/at-spi-cspi-sections.txt:
4166 Updated docs to reflect namespace changes, and added a number of
4167 methods to the documentation.
4169 * registryd/registry.c:
4170 Changed use of strings and string hashes in listener event
4171 matching and parse_event_string to use GQuark, which is guaranteed
4174 * registryd/registry.h:
4175 Squashed annoying warning.
4177 * idl/Accessibility_Role.idl:
4178 Extended range of available Accessibility_Role values.
4180 * cspi/spi_accessible.c:
4181 Re-ordered role names.
4183 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4185 * idl/Accessibility_Value.idl:
4186 Revert use of union back to CORBA_double, since the double type is
4187 more efficient and can contain the other types without loss of
4190 * idl/Accessibility_Accessible.idl:
4191 Added method Accessibility:Accessible:getRoleName, to complement
4192 Accessibility:Accessible:getRole.
4194 * cspi/spi_accessible.c:
4196 Added C binding for above, Accessible_getRoleName (), and changed
4197 signature of Accessible_getRole () to return an AccessibleRole.
4199 * cspi/spi-roletypes.h:
4200 Changed AccessibleRole_getName to return a char * instead of a
4201 const char *. This method is now at least temporarily deprecated
4202 in favor of asking Accessibles for their RoleNames directly.
4205 Revert to match Accessibility_Value.idl;
4209 Change signature of AccessibleValue methods to use double rather
4213 * cspi/spi_accessible.c:
4214 Changed Accessible_getRole to return an AccessibleRole enum rather
4215 than a UTF-8 string. The UTF-8 string can still be obtained via
4216 AccessibleRole_getName ().
4218 * test/test-simple.c:
4219 Add test_action. Small fixup to match API change to Accessible_getRole.
4222 Bugfix for get_action_from_servant ().
4224 2001-12-11 Michael Meeks <michael@ximian.com>
4226 * libspi/libspi.h: remove registry.h and
4227 desktop.h, deviceeventcontroller.h
4229 * libspi/Makefile.am: remove registry.[ch],
4230 desktop.[ch], deviceeventcontroller.[ch]
4232 * registryd/Makefile.am: add registry.[ch],
4233 desktop.[ch], rename registryd.c to registry-main.c.
4234 add deviceeventcontroller.[ch]
4236 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4239 Replace setenv() call with putenv ().
4241 * libspi/component.c:
4242 Bugfix in AccessibleComponent_getExtents (),
4245 2001-12-11 Michael Meeks <michael@ximian.com>
4247 * libspi/image.c (impl_getImageExtents): impl.
4248 (spi_image_class_init): upd.
4251 (AccessibleImage_getImageDescription): fix daft bug
4254 * test/test-simple.c (global_listener_cb): update
4255 to only quit if not --poke
4256 (main): catch --poke.
4257 (validate_accessible): upd. dumping, call test_image
4260 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4263 * idl/Accessibility.idl: update all IDL includes.
4265 * idl/*.idl - rename to namespace - this sucks, blame
4266 mjs' bad decision for oafd.
4268 * test/test-simple.c (create_test_window): add more tests.
4269 (create_tree): split this out.
4270 (validate_accessible): bugfix.
4272 2001-12-11 Michael Meeks <michael@ximian.com>
4274 * cspi/bonobo/cspi-bonobo-listener.c:
4275 (cspi_kestroke_listener_unref),
4276 (cspi_event_listener_unref): impl. undoing previous
4277 homenous environment - for Bill.
4279 * cspi/spi_table.c (long_seq_to_array): use
4282 * cspi/spi_main.c: split out all bonoboish bits into
4285 * cspi/spi-impl.h: upd. typedefs.
4287 * cspi/spi_registry.c: update to lowlevel API,
4288 return booleans to indicate success in some places.
4290 * cspi/spi_event.c: update to lowlevel API.
4292 * cspi/bonobo/Makefile.am: add.
4294 * cspi/bonobo/cspi-lowlevel.h: add
4296 * cspi/bonobo/cspi-bonobo.c: add
4298 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4300 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4301 (SUBDIRS): add bonobo, link in the libs.
4303 * cspi/spi-util.c: kill this file.
4305 * TODO: merge in my bits.
4307 2001-12-11 Michael Meeks <michael@ximian.com>
4309 * test/test-simple.c (test_value, test_table, main):
4310 remove unused variables causing warnings.
4312 * configure.in: cleanup checks - require gail.
4314 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4317 Changed Value interface to use SValue (scalars) rather than
4318 assuming all values are floats. This allows floats, doubles,
4319 longs, shorts, and unsigned values to be manipulated.
4320 Introduced Accessibility:SValue union.
4323 Updated to use new API above, and to work correctly with GValues
4324 of different types in AtkValue.
4327 Updated to use new API above. cspi's API is as yet unchanged.
4330 Updated the Value revision action item.
4332 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4334 * test/test-simple.c:
4335 Added test_table (GtkTreeView widget in test window to follow).
4336 Un-commented test_value, added GtkRange widget.
4337 Added GtkTreeView widget with GtkListStore. It passes regression
4338 test but leaks one SPI object for some reason.
4341 Fixed bug in impl__set_currentValue.
4343 2001-12-10 Michael Meeks <michael@ximian.com>
4345 * cspi/spi_text.c: audit for exception handling,
4346 tolerating NULL object references safely etc.
4348 * cspi/spi_value.c: ditto.
4350 * cspi/spi_table.c (AccessibleTable_getSummary),
4351 (AccessibleTable_getAccessibleAt),
4352 (AccessibleTable_getRowHeader),
4353 (AccessibleTable_getColumnHeader),
4354 (AccessibleTable_getCaption): fix bugs hidden by
4356 (long_seq_to_array): impl.
4357 (AccessibleTable_getSelectedRows),
4358 (AccessibleTable_getSelectedColumns): use it.
4360 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4363 Added a TODO list (rough and short for now).
4365 * cspi/spi_hyperlink.c:
4366 * cspi/spi_hypertext.c:
4367 Fixed macro name typos, and remove use of obsolete macro in
4368 AccessibleHyperlink_getLink.
4370 * cspi/spi_action.c:
4371 * cspi/spi_accessible.c:
4372 * cspi/spi_application.c:
4373 * cspi/spi_component.c:
4374 * cspi/spi_selection.c:
4377 Documentation fixes (removed return values from ref/unref methods).
4379 2001-12-10 Michael Meeks <michael@ximian.com>
4381 * cspi/spi_action.c: audit for exception handling,
4382 tolerating NULL object references safely etc.
4384 * cspi/spi_accessible.c: ditto.
4386 * cspi/spi_component.c: ditto.
4388 * cspi/spi_editabletext.c: ditto.
4390 * cspi/spi_hyperlink.c: ditto.
4392 * cspi/spi_hypertext.c: ditto.
4394 * cspi/spi_image.c: ditto.
4396 * cspi/spi_selection.c: ditto.
4398 2001-12-10 Michael Meeks <michael@ximian.com>
4400 * configure.in: use cspi/libspi.pc.in instead.
4402 * Makefile.am (pkgconfig_DATA): upd. to match.
4404 * test/simple-at.c (report_focus_event): kill hacks around
4405 bad return values, use putenv not setenv
4407 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4408 fire ChildGone - I killed it.
4410 * libspi/component.c
4411 (impl_accessibility_component_get_extents): remove
4414 * idl/Accessible.idl: kill ChildGone exception.
4416 * cspi/*.[ch]: kill int return from ref / unref.
4418 * cspi/spi_main.c (cspi_object_add_check): fold into
4419 (cspi_object_add): here.
4421 * cspi/spi_component.c (AccessibleComponent_getExtents):
4422 handle exceptions elegantly.
4424 * cspi/spi-private.h (cspi_check_ev_return),
4425 (cspi_return_if_fail): impl.
4427 * cspi/spi_accessible.c: use extensively.
4428 (AccessibleStateSet_equals): add direct compare check.
4430 * cspi/spi_selection.c: tolerate NULL objs, and check
4431 exceptions before return.
4433 * cspi/spi-util.c (cspi_warn_ev): rename to
4434 (cspi_check_ev): this & don't pass ev in; no point.
4436 2001-12-10 Michael Meeks <michael@ximian.com>
4438 * test/test-simple.c: use putenv not setenv
4439 (get_environment_vars): more chatty if you're not using
4442 * test/simple-at.c: do the setenv so more people see the
4445 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4447 * libspi/registry.c:
4448 Changed check of CORBA_environment on notification to be a warning
4449 instead of an error for the moment, since we can recover from this
4450 error when caused by a queued notification from a dead app.
4453 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4454 used by all current implementors of AtkValue), and coerce to
4455 CORBA_float. (Proper general case fix may require change to Value.idl).
4457 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4461 * cspi/spi_accessible.c:
4462 Documentation fixes: added user_data params to documentation for
4463 listeners and callbacks.
4465 * cspi/spi_accessible.c:
4466 Changed AccessibleStateSet_compare to return a
4467 StateSet rather than return the difference set into a third parameter.
4470 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4473 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4474 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4478 Remove subdirectory po from SUBDIRS for now.
4480 * at-bridge/bridge.c:
4481 Beefed up a couple of debug printouts.
4482 One-line fix for signal notification name formatting.
4484 * libspi/accessible.c:
4485 Added assertion to spi_accessible_new ().
4487 * libspi/application.c:
4488 Put #ifdef qualifiers around a printf.
4491 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4493 * registryd/Makefile.am:
4495 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4496 INTLTOOL_SERVER_RULE macro.
4499 Added an event listener for several ATK signals, for
4500 testing and debugging. Removed a few g_warnings.
4501 Added test output if focussed item implements the Value interface.
4503 * test/test-simple.c:
4504 Added test_value () function (known not to pass at the moment, so
4505 not actually called yet.
4507 2001-12-08 Michael Meeks <michael@ximian.com>
4509 * at-bridge/bridge.c (bridge_focus_tracker),
4510 (emit_eventv): fix the same ref. leak.
4511 (register_atk_event_listeners): don't leak.
4513 * cspi/spi-listener-impl.c (cspi_event): more
4514 protection from client code.
4516 * test/test-simple.c (test_desktop): unref the app.
4518 * test/Makefile.am: upd. TESTS.
4520 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4522 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4524 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4526 * cspi/spi_registry.c: constify in strings.
4527 (deregisterGlobalEventListenerAll): don't release the ref.
4529 * cspi/spi.h: start removing redundant / conflicting
4530 gtkdoc comments, making the API readable at a glance :-)
4532 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4534 * test/keysynth-demo.c (keysynth_exit, main): upd.
4536 * test/simple-at.c (main, simple_at_exit): upd.
4538 * test/test-simple.c (unutterable_horror): kill.
4539 (utterable_normal_derefs): kill.
4540 (main): upd & do a setenv before gtk_init, so that we
4541 can use memprof - and to save the pain of remembering
4542 this, if we're running under memprof - don't exit.
4544 * cspi/spi_main.c (SPI_exit): return exit status
4546 (SPI_event_quit): impl.
4547 (SPI_event_main): simplify.
4548 (cspi_is_gnome_app): kill.
4549 (SPI_init): kill isGNOMEapp arg.
4551 * at-bridge/bridge.c (register_atk_event_listeners):
4552 re-instate the unref.
4553 (bridge_exit_func): don't re-activate the registry,
4554 protect vs. theoretical re-entry, use the
4555 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4556 assert a clean shutdown - for regression tests.
4558 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4560 * configure.in: Comment out dummy i18n support for now,
4561 otherwise it fails to build.
4562 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4563 EXTRA_DIST. They are missing in tarball.
4565 2001-12-07 Michael Meeks <michael@ximian.com>
4567 * util/magnifier.c: kill bonobo activation reg. race.
4569 * libspi/component.c
4570 (impl_accessibility_component_get_extents): make it match
4573 * libspi/registry.c (_registry_notify_listeners):
4574 re-remove X headers & reconcile conflicts.
4575 (spi_listener_struct_free): bad conflict resolve.
4576 (impl_accessibility_registry_register_application):
4577 more bad merging fixed.
4578 (impl_accessibility_registry_deregister_application): ditto.
4579 (spi_registry_new): ditto.
4580 (spi_registry_init): don't have an applications field.
4582 [ merge fixups2 branch to here ]
4583 2001-12-07 Michael Meeks <michael@ximian.com>
4585 * test/simple-at.c (report_focus_event),
4586 (report_focussed_accessible): remove g_warning debug.
4588 2001-12-07 Michael Meeks <michael@ximian.com>
4590 * test/test-simple.c (validate_tree): comment out some checks.
4591 (test_desktop): app now not registered idly - horay.
4593 2001-12-07 Michael Meeks <michael@ximian.com>
4595 * cspi/spi_registry.c
4596 (registerAccessibleKeystrokeListener): clean, stop it leaking
4597 great swathes of memory, and device event controller references.
4598 ensure we always pass valid sequences.
4599 (deregisterAccessibleKeystrokeListener): ditto.
4600 (generateKeyEvent): upd.
4602 * at-bridge/bridge.c (bridge_key_listener): handle
4603 registry dead exception gracefully.
4604 (bridge_focus_tracker, emit_eventv): free ev.
4606 * test/simple-at.c (report_focus_event): fix polarity.
4608 * libspi/application.c (notify_listeners): kill the ev
4609 argument, and make sure we init the ev we use.
4610 (spi_application_object_event_listener): split out a chunk
4611 (get_atk_object_ref): here & fixup.
4612 (reverse_lookup_name_for_toolkit_event): make const.
4613 (spi_application_toolkit_event_listener): fixup, kill leaks
4616 * at-bridge/bridge.c (register_atk_event_listeners):
4617 don't unref the noop object - causes grief.
4619 * libspi/registry.c: remove the X headers.
4620 turn off the debug churn.
4622 * libspi/accessible.c (spi_accessible_new_return): only
4623 release the ref if we are supposed to [doh]
4625 * test/simple-at.c (report_button_press, report_focus_event):
4626 guard vs. unexpected exit.
4628 * at-bridge/bridge.c (gtk_module_init): prune printf.
4629 (bridge_exit_func): fix app unref.
4631 * libspi/Makefile.am: don't install registry or desktop.h
4633 * libspi/*.h: update includes.
4635 * libspi/application.h: don't include ourself, or
4636 other redundant headers.
4638 2001-12-06 Michael Meeks <michael@ximian.com>
4640 * libspi/accessible.c
4641 (get_accessible_from_servant): impl.
4642 Upd. all CORBA impl.s to use it killing cut and paste.
4644 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4646 (SPI_init): register atexit cleanup handler here.
4648 2001-12-06 Michael Meeks <michael@ximian.com>
4650 * at-bridge/bridge.c (gtk_module_init): g_error on
4651 activation exception
4653 2001-12-06 Michael Meeks <michael@ximian.com>
4655 * at-bridge/bridge.c (gtk_module_init): some sort of
4656 confusing merge clash - reverted.
4657 (bridge_idle_init): ditto.
4659 * test/test-simple.c (main, utterable_normal_derefs):
4660 merge from Bill - somehow not committed.
4662 2001-12-06 Michael Meeks <michael@ximian.com>
4664 * libspi/value.c (spi_value_class_init): upd.
4665 (spi_value_finalize): kill.
4667 * libspi/table.c (spi_table_finalize): kill.
4668 (spi_table_interface_new): upd.
4669 (spi_table_class_init): upd.
4670 (get_table_from_servant): impl.
4671 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4673 * libspi/selection.c (spi_selection_finalize): kill.
4674 (spi_selection_interface_new): upd.
4675 (spi_selection_class_init): upd.
4676 (get_selection_from_servant): impl.
4677 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4679 * libspi/relation.c (spi_relation_finalize): kill.
4680 (spi_relation_class_init, spi_relation_new): upd
4682 * libspi/image.c (spi_image_finalize): kill.
4683 (spi_image_class_init): upd.
4684 (spi_image_interface_new): upd.
4685 (get_image_from_servant): impl.
4686 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4688 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4689 (spi_hyperlink_finalize): kill.
4690 (spi_hyperlink_new): upd.
4691 (get_hyperlink_from_servant): impl.
4692 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4694 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4695 (spi_hypertext_finalize): kill.
4696 (spi_hypertext_class_init): upd.
4697 (get_hypertext_from_servant): impl.
4698 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4700 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4701 (spi_editable_text_interface_new): upd.
4702 (get_editable_text_from_servant): impl.
4703 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4705 * libspi/text.c (get_text_from_servant): impl.
4706 All impls - update to use it killing more cut and paste,
4707 also fix bad string returns on duff args ( a somewhat
4708 impossible case to handle - but hey ).
4709 (spi_text_construct): impl.
4710 (spi_text_interface_new): upd.
4711 (spi_text_object_finalize): kill.
4713 * libspi/component.c
4714 (accessibility_component_object_finalize): kill.
4715 (spi_component_class_init): upd.
4716 (get_component_from_servant): impl. helper to kill cut & paste.
4717 (impl_accessibility_component_contains):
4718 (impl_accessibility_component_get_accessible_at_point):
4719 (impl_accessibility_component_get_position):
4720 (impl_accessibility_component_get_extents):
4721 (impl_accessibility_component_get_mdi_z_order):
4722 (impl_accessibility_component_get_layer):
4723 (spi_component_interface_new): upd.
4725 * libspi/action.c (spi_action_finalize): kill.
4726 (spi_action_class_init): upd. inherit from SpiObject.
4727 (spi_action_interface_new): upd.
4728 (get_action_from_servant): impl. helper to reduce cut & paste.
4729 (impl_getKeyBinding, impl_getName, impl_doAction),
4730 (impl_getDescription): Use it everywhere.
4732 * cspi/spi_main.c (get_live_refs): a pointer hash.
4733 (spi_object_hash, spi_object_equal): comment out.
4734 There are issues with CORBA object hashing that need
4737 * libspi/application.c (spi_application_init),
4738 (spi_application_new): upd.
4740 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4741 (spi_accessible_class_init): upd.
4742 s/accessible/object/ in epv methods.
4744 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4746 * at-bridge/bridge.c:
4747 Reorder the bridge initialization into the bridge gtk_module_init,
4748 an immediate call to bridge_register_app, and an idle_add for
4749 register_atk_event_listeners (the only code that *must* wait until
4750 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4751 the activation, creates the application's Accessible object, and
4752 queues the bridge_idle_init function. Restored call to
4753 Accessibility_Registry_deregisterApplication().
4754 Prior to making this call we obtain a new reference to the
4755 registry, which is a temporary hack that helps us handle apps that
4756 shut down the bonobo mainloop before we get there.
4758 * libspi/registry.c:
4759 Fix string leakage in debug block, and don't segv if a an app
4760 dies before its event notifications have been propagated.
4763 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4764 as stopgap measure until we get proper exception handling when
4765 objects die during or before interrogation.
4769 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4770 Also changed default value of is_gnome_app to TRUE.
4773 * test/keysynth-demo.c:
4774 Changed use of SPI_init and SPI_event_main to reflect API change above.
4777 Made report_focus_event check the warning value from getName
4778 before reporting on focussed accessible; simplifies handling of
4779 notifications from dead objects.
4781 * test/test-simple.c: (Changes not in this patch since source is
4784 2001-12-05 Michael Meeks <michael@ximian.com>
4786 * registryd/registryd.c (main): protect against
4787 bonobo-activation startup race condition.
4789 * cspi/spi_main.c (cspi_object_add_check): cope
4790 with the exception elegantly.
4792 * idl/Accessible.idl: decl. ChildGone
4794 * libspi/desktop.c (spi_desktop_dispose): impl.
4795 (spi_desktop_class_init): upd.
4796 (spi_desktop_add_application),
4797 (spi_desktop_remove_application),
4798 (abnormal_application_termination): impl.
4799 (impl_desktop_get_child_at_index): re-impl.
4802 (impl_accessibility_registry_deregister_application),
4803 (impl_accessibility_registry_register_application):
4804 kill excessive debug clutter.
4806 * test/test-simple.c (test_misc): test some NULL
4807 tolerance. (main): upd.
4809 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4810 implements no interfaces - so let's not crash.
4812 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4814 * libspi/accessible.c (spi_accessible_new_return): impl.
4815 helper to calm the cut and paste, to cope with
4816 NULL AtkObjects effectively and efficiently, and to kill
4817 the referencing bugs.
4819 * libspi/table.c (impl_getAccessibleAt),
4820 (impl_getRowHeader, impl_getColumnHeader): upd.
4822 * libspi/hyperlink.c (impl_getObject): upd.
4824 * libspi/accessible.c
4825 (impl_accessibility_accessible_get_child_at_index): upd.
4827 * libspi/component.c
4828 (impl_accessibility_component_get_accessible_at_point): upd.
4830 * test/test-simple.c (test_editable_text, test_text): impl.
4833 * cspi/spi_editabletext.c
4834 (AccessibleEditableText_insertText): constify.
4836 * test/test-simple.c (focus_me): make more robust.
4838 * libspi/accessible.c: remove some printfs in methods that
4839 we test and work fine, so we can get a clean tree dump.
4841 * test/test-simple.c (validate_accessible),
4842 (validate_tree): make tree dumping pretty too.
4844 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4845 it builds without debug on.
4847 * test/test-simple.c (validate_accessible): fix the most
4850 * cspi/spi_main.c (spi_object_release): leave the nicely
4851 blanked memory around if in debug mode.
4853 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4855 [committed to fixups2]
4856 2001-12-05 Michael Meeks <michael@ximian.com>
4858 * libspi/editabletext.c
4859 (spi_editable_text_class_init): g_type_class_peek_parent,
4860 not interface peek - so we finalize cleanly.
4862 * libspi/accessible.c (spi_accessible_new): kill debug.
4864 * test/test-simple.c (validate_accessible): fix ref.
4865 leak, print strings before freeing them; sigh, comment a
4866 chunk out due to strangeness.
4867 (validate_tree): unref the child after use.
4869 * cspi/spi_component.c (AccessibleComponent_getLayer):
4870 add missing break statement, switch on zlayer not the
4871 uninitialized retval.
4873 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4874 before (possibly re-entering) remote unref.
4876 * test/simple-at.c (main): unref the desktop.
4878 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4881 * cspi/spi_main.c (cspi_accessible_is_a): here to
4882 isolate bonobo API usage more.
4884 * libspi/registry.c (impl_accessibility_registry_register_application):
4885 prune bogus comment.
4887 2001-12-04 Michael Meeks <michael@ximian.com>
4889 * test/test-simple.c (validate_tree): upd.
4890 IndexInParent check to make it more lucid.
4891 (validate_accessible): dump the tree.
4893 * libspi/accessible.c (de_register_public_ref),
4894 (get_public_refs): impl.
4895 (spi_accessible_new): make more efficient & intuitive.
4896 Now IndexInParent check works.
4898 2001-12-04 Michael Meeks <michael@ximian.com>
4900 * cspi/spi-util.h: remove.
4902 * cspi/spi.h: move SPI_freeString here
4904 * libspi/component.c (impl_accessibility_component_get_layer):
4906 (impl_accessibility_component_get_mdi_z_order): ditto,
4907 return -1 on error - is this ok ?
4909 * test/test-simple.c (test_application): impl.
4911 * cspi/spi_accessible.c (Accessible_getApplication),
4912 (Accessible_isApplication): impl.
4914 * libspi/registry.c (spi_listener_struct_free): release
4915 the CORBA reference too.
4917 * libspi/accessible.c
4918 (impl_accessibility_accessible_get_parent): fix ref leak.
4920 * libspi/registry.c (spi_registry_new): make the registry
4921 immortal - we don't want it to go away ever.
4923 * libspi/application.c
4924 (spi_accessible_application_finalize): impl. cleanup.
4926 * cspi/spi_registry.c
4927 (deregisterGlobalEventListenerAll),
4928 (deregisterGlobalEventListener),
4929 (deregisterAccessibleKeystrokeListener): fix ref leak.
4931 * cspi/spi_main.c (SPI_init): remove redundant ref.
4933 * test/test-simple.c (unutterable_horror): impl. to force a
4938 (impl_accessibility_registry_deregister_application): release
4939 the application when we de-register it.
4941 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4942 until we have the infastructure to get it right.
4944 2001-12-03 Michael Meeks <michael@ximian.com>
4946 * libspi/Makefile.am: only build eventlistener.[ch]
4948 * libspi/accessible.c
4949 (impl_accessibility_accessible_get_child_at_index): don't leak.
4951 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4952 before we hit the idle handler.
4954 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4955 debugging than exit.
4957 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4959 * libspi/listener.c (impl_notify_event): check source
4960 not NIL before unref.
4962 * libspi/registry.c (impl_registry_notify_event): ditto.
4964 * libspi/eventlistener.c
4965 (impl_accessible_event_notify_event): unref the source.
4967 * libspi/accessibleeventlistener.c
4968 (impl_accessible_event_notify_event): unref the source.
4970 * idl/Event.idl: remove 'hash_id' attribute - of no
4973 * libspi/application.c (notify_listeners): upd list
4975 (spi_application_object_event_listener),
4976 (spi_application_toolkit_event_listener): upd to do correct
4980 (_registry_notify_listeners): update.
4981 (parse_event_type): this method also leaks like a sieve.
4982 (impl_accessibility_registry_deregister_global_event_listener):
4983 fix ETYPE_WINDOW case.
4985 * libspi/application.c
4986 (impl_accessibility_application_register_object_event_listener):
4989 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4991 * libspi/hypertext.c (impl_getLink): ditto.
4993 * cspi/spi_main.c (cspi_object_add): remove
4994 bogus CORBA_Object_duplicate.
4996 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4999 * cspi/spi_accessible.c
5000 (Accessible_getRelationSet): fix leak / referencing issue.
5002 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5003 (cspi_object_add, cspi_object_unref): upd.
5004 (spi_object_release, get_live_refs): impl.
5005 (cspi_cleanup): simplify.
5007 * *.[ch]: s/boolean/SpiBoolean/
5009 * cspi/spi_accessible.c (role_names): actualy order so it
5010 corresponds with the enum !
5012 * test/test-simple.c (test_roles): check some role strings
5013 vs. enums to detect offset errors.
5015 2001-12-01 Michael Meeks <michael@ximian.com>
5017 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5019 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5021 (Accessible_getChildAtIndex): use cspi_add_check so we
5022 check the ev before using a (possibly) invalid value.
5024 * libspi/accessible.c
5025 (impl_accessibility_accessible_get_parent): don't segv
5028 * at-bridge/bridge.c (gtk_module_init): upd.
5029 (bridge_property_event_listener): don't leak strings
5031 (bridge_state_event_listener),
5032 (bridge_property_event_listener): don't use a static
5033 buffer in case of recursive event emission &
5034 re-enterancy - split out the swathe of cut and paste
5036 (emit_eventv): and fix 2 ref leaks here & comply to the
5038 (bridge_register_app): rename to
5039 (bridge_idle_init): this and kill arg parsing, split
5040 various inits & bonobo-activation registration to module
5041 init time, kill referencing error.
5042 (bridge_exit_func): fix the same leak.
5043 (bridge_focus_tracker): don't leak event structures
5045 (bridge_signal_listener): more leakage and cut & paste
5047 (bridge_key_listener): return the result - FIXME is
5048 this polarity correct ?
5049 (accessibility_keystroke_from_atk_key_event): rename
5050 (accessibility_init_keystroke_from_atk_key_event): and stop
5052 (gtk_module_init): return a value - not that it is checked by
5054 (bridge_key_listener): register my horror at casting between
5055 IDL defined structs.
5056 (bridge_get_registry): kill - not used.
5058 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5060 * test/test-simple.c (test_roles): impl.
5061 (test_desktop, validate_accessible, validate_tree): impl.
5063 * cspi/spi_accessible.c (role_names): fixup bogus
5064 MAX_ROLES setup, make constants const for efficient linkage
5065 (AccessibleRole_getName): conform to coding style, make
5068 2001-11-30 Michael Meeks <michael@ximian.com>
5070 * cspi/spi.h: add missing prototype.
5072 * libspi/registry.c (spi_listener_struct_new): fix sig.
5074 * test/Makefile.am: add test-simple
5076 * test/test-simple.c: add
5078 * test/test.sh: add.
5080 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5082 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5083 do it straight - since otherwise we often get an activation race.
5085 [ work before Bill duplicated a chunk of it ... ]
5086 2001-11-30 Michael Meeks <michael@ximian.com>
5088 * libspi/keystrokelistener.c
5089 (spi_keystroke_listener_class_init): fixup arg
5092 * libspi/eventlistener.c
5093 (spi_event_listener_class_init): ditto.
5095 * tests/test.sh: add.
5097 * cspi/spi-listener-impl.h: update macros.
5099 * cspi/spi-listener-impl.c
5100 (cspi_event_listener_remove_callback): add
5101 correct pre-conditions.
5103 * cspi/spi_main.c (SPI_exit): guard vs. double
5104 exits, exit the mainloop nicely.
5105 (SPI_event_main): make more sense.
5106 (SPI_init): move the atexit evilness here so we
5107 always do it (yuck).
5108 (SPI_event_main): upd.
5110 * test/simple-at.c: update for listener changes.
5112 * registryd/registryd.c (main): prune kruft.
5114 * libspi/libspi.h: upd.
5116 * libspi/eventlistener.[ch]: rename broken macros.
5118 * libspi/accessibleeventlistener.[ch]: remove.
5120 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5122 * test/test-simple.c: Add - automated tests.
5124 * cspi/spi-listener-impl.c (cspi_event),
5125 (cspi_key_event): add user_data to invoke.
5126 (cspi_keystroke_listener_finalize): impl.
5127 (cspi_keystroke_listener_class_init): upd.
5130 (createAccessibleEventListener),
5131 (AccessibleEventListener_addCallback),
5132 (createAccessibleKeystrokeListener),
5133 (AccessibleKeystrokeListener_addCallback): upd.
5135 * libspi/deviceeventcontroller.c
5136 (spi_device_event_controller_check_key_event): add public proto.
5139 (impl_accessibility_registry_deregister_global_event_listener):
5140 always init listeners.
5141 (_registry_notify_listeners): yes it is.
5143 * cspi/spi-listener-impl.c (cspi_key_event):
5145 (cspi_event_listener_finalize): impl.
5146 (cspi_event_listener_class_init): hook up.
5147 (event_handler_new, event_handler_free),
5148 (event_list_remove_by_callback): impl.
5149 (cspi_event_listener_remove_callback),
5150 (cspi_keystroke_listener_remove_callback),
5151 (cspi_keystroke_listener_add_callback),
5152 (cspi_event_listener_add_callback): upd.
5154 * libspi/keystrokelistener.c
5155 (keystroke_listener_object_finalize): kill
5156 (spi_keystroke_listener_class_init): upd.
5157 (spi_keystroke_listener_add_callback),
5158 (spi_keystroke_listener_remove_callback): kill,
5160 (impl_key_event): prune drasticaly.
5162 * libspi/eventlistener.c
5163 (spi_event_listener_add_callback),
5164 (spi_event_listener_remove_callback): kill, use
5166 (impl_accessible_event_notify_event): upd.
5167 (spi_event_listener_object_finalize): remove.
5169 * libspi/Makefile.am: use eventlistener.[ch]
5171 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5173 * libspi/registry.c (_registry_notify_listeners):
5174 Changed listener loop iteration to use preferred convention.
5175 Got rid of string memory leaks caused be calling g_strconcat
5176 inside function calls.
5178 * libspi/registry.c (parse_event_type):
5179 Stopped g_strconcat memory leaks, free the g_strsplit return,
5180 g_strdup the split pieces when used, etc.
5182 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5185 Change method 'compare' to return a 'difference set' rather than
5186 taking a StateSet as an out parameter (more Java-friendly).
5188 * idl/Accessible.idl:
5189 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5191 * idl/Component.idl:
5193 Changed methods 'getExtents' and 'getImageExtents' in these
5194 interfaces to return a BoundingBox structure.
5195 (getPosition and getSize are redundant and possibly should be
5196 removed, rather than creating a corresponding Point struct.)
5198 * cspi/spi_component.c:
5199 Modify implementation of getExtents to reflect the above IDL
5204 Add (missing) AccessibleImage_getExtents () API.
5206 * docs/reference/cspi/at-spi-cspi-sections.txt:
5207 Added AccessibleImage_getImageExtents () to docs.
5209 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5211 * idl/Component.idl:
5212 Added two methods, getLayer () and getMDIZOrder (), to reflect
5213 the new ATK methods atk_object_get_layer and
5214 atk_object_get_mdi_z_order. (Which arguably should be part of the
5215 AtkComponent API and AtkObject). Also added an enum,
5216 ComponentLayer, for the first method's return value.
5218 * libspi/component.c:
5219 Added implementations for these methods.
5221 * cspi/spi_component.c:
5223 Added cspi binding methods for above,
5224 AccessibleComponent_getLayer() and
5225 AccessibleComponent_getMDIZOrder().
5226 Added cspi enum 'AccessibleComponentLayer'.
5228 * docs/reference/cspi/at-spi-cspi-sections.txt:
5229 Added above methods to docs.
5233 Changed typedef for 'boolean' type (and all references to it) to
5234 SPIBoolean, to avoid keyword clashes with C++.
5237 Changed usages of 'boolean' to SPIBoolean.
5239 * test/keysynth-demo.c:
5240 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5241 app), except where SPIBoolean is required by the callbacks API.
5243 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5245 * cspi/spi_registry.c:
5246 Removed obsolete X event loop for passive keygrabs (which now
5249 * registryd/registryd.c:
5250 Removed unnecessary call to gdk_init() [cruft]. This also allows
5251 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5254 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5256 * docs/reference/cspi:
5257 Included docs for SPI_freeString in generated documentation.
5260 Renamed spi_freeString to SPI_freeString, for consistency. Added
5261 documentation for this function.
5264 Renamed spi_freeString to SPI_freeString, for consistency.
5265 Removed obsolete method declaration string_from_corba_string.
5267 * test/keysynth-demo.c:
5268 Small tweak to comments.
5271 Stopped leaking the strings returned from CSPI.
5273 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5275 Merged Michael's branch (see his ChangeLog entries below).
5277 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5278 bridge is alive, release on exit.
5280 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5281 Fix type check macro.
5284 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5287 Added is_gnome_app static, and method cspi_is_gnome_app(),
5288 so we can call the appropriate shutdown routine at exit in SPI_exit.
5290 * cspi/spi_main.c (cspi_object_ref):
5291 Duplicate the corba object passed in, since we're keeping it around.
5293 * cspi/SPI_exit.c, cspi_cleanup:
5294 Moved the releasing of the live refs to its own function, so we
5295 can put it in g_atexit (). Call the appropriate shutdown API
5296 depending on whethe calling client is a gnome app or not
5297 (bonobo_main_quit or CORBA_ORB_shutdown).
5299 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5300 Unref the listener when this method is called, after
5301 deregistration. Updated the API docs to note this behavior.
5303 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5304 Bugfixes: Ref the bonobo object when returning a parent or child
5305 reference, or an AccessibleRelation. Generally made sure
5306 BonoboObject refcount is incremented whenever we return an
5309 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5310 Fixed typo/bug in signal declaration.
5312 * libspi/accessibleeventlistener.h:
5315 * libspi/application.c (spi_application_new):
5316 Fixed leak in initialization.
5319 Remembered to increment bonobo-object refcount when returning
5320 children (applications) from desktop object.
5321 Added (empty) finalize method.
5323 * libspi/deviceeventcontroller.c:
5324 Hold a ref to listeners inside DEControllerKeyListeners.
5325 Added dec_key_listener_free() method. Use prepend instead of
5326 append in key_listener list. Fixed some refcount madness and
5327 leaks in the listener registration/deregistration - deregistration
5328 now calls dec_key_listener_free() on listeners, and on the
5329 temporarily constructed dec_key_listener() used to perform the search/match.
5331 * libspi/hypertext.c (spi_hypertest_finalize):
5332 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5333 class. Also fixed spi_hypertext_interface_new() and
5334 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5336 * libspi/hypertext.h:
5337 Removed pointless and duplicate AtkObject pointer from
5340 * libspi/keystrokelistener.c:
5341 Fixed incorrect type of keystroke_listener_parent_class,
5342 renamed keystroke_listener_object_finalize to
5343 spi_keystroke_listener_object_finalize.
5344 Fixed typo in signal declaration
5345 (spi_keystroke_listener_class_init).
5347 * libspi/registry.c:
5348 Added funcsions spi_listener_struct_new() and
5349 spi_listener_struct_free() to help with memory management issues.
5350 We also now use these methods instead of gnew + poking stuff into
5351 the struct, and to decrement listener counts/free the listeners
5352 when deregistering them.
5353 Fix more refcount bugs in getDesktop() and
5354 getDeviceEventController().
5357 De-ref the desktop after enumerating the applications. Explicitly
5358 decrement the refcounts on the created listeners on exit (using
5359 _unref for keystroke listeners, and via the
5360 deregisterGlobalEventListenerAll command for other event
5363 2001-11-27 Michael Meeks <michael@ximian.com>
5365 * cspi/spi-listener.h: fixup enum.
5367 2001-11-27 Michael Meeks <michael@ximian.com>
5369 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5370 (cspi_keystroke_listener_new): Use the cspi variants.
5372 2001-11-26 Michael Meeks <michael@ximian.com>
5374 * test/keysynth-demo.c: fix 2 compile warnings, missing
5377 * test/simple-at.c (report_focussed_accessible),
5378 (report_focus_event, report_button_press),
5379 (check_property_change, is_command_key),
5380 (report_ordinary_key_event, report_command_key_event): upd.
5382 * util/mag_client.h: include pre-requisites.
5384 * libspi/accessibleeventlistener.c
5385 (spi_event_listener_object_finalize): free any lingering
5388 * libspi/keystrokelistener.c
5389 (keystroke_listener_object_finalize): ditto.
5391 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5392 callbacks, with cspi types.
5394 * cspi/spi_event.c (createAccessibleEventListener): chain to
5395 (AccessibleEventListener_addCallback): here.
5396 (createAccessibleKeystrokeListener): chain to
5397 (AccessibleKeystrokeListener_addCallback): here.
5399 * libspi/keystrokelistener.c
5400 (spi_keystroke_listener_class_init): add signal.
5401 (impl_key_event): emit the event.
5402 (boolean_handled_accumulator): impl.
5403 (marshal_BOOLEAN__POINTER): add, gack.
5405 * libspi/accessibleeventlistener.c
5406 (spi_event_listener_class_init): add signal.
5407 (impl_accessible_event_notify_event): emit the signal &
5408 make the loop efficient.
5409 (spi_event_listener_add_callback): prepend the callback.
5411 * libspi/accessibleeventlistener.h: add an 'event' signal,
5412 decl type on callback.
5414 * libspi/keystrokelistener.h: ditto.
5416 * cspi/spi-listener.h: make methods typesafe and
5417 make them use the new event typedefs.
5419 * test/simple-at.c (report_focussed_accessible):
5420 include mag_client.h
5421 Use *(void *)text_interface not the other thing.
5423 * configure.in: add gtk to registryd bits - since we use
5426 * util/magnifier.c: include libbonobo.h
5428 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5430 * test/keysynth-demo.c:
5431 Turned this into a simple scanning keyboard, to demonstrate the
5432 use of g_timeout_add () as a means of creating timers for
5433 scanning, and the use of GtkStyle for visually indicating when
5434 virtual keyboard elements are selected.
5436 keysynth-demo now listens to any keyboard keys with zero-valued
5437 keycodes (i.e. 'unused' keys) and interprets them as
5440 Reworked the shiftlatch code so that shift-down state isn't held
5441 for long periods (it's only synthesized immediately prior to
5442 the keysynth event it's modifying). Note that shiftlatch in this
5443 demo is a convenience, not intended to take the place of AccessX
5444 which is the better choice for getting 'sticky' modifier keys.
5446 * libspi/deviceeventcontroller.c:
5447 * at-bridge/bridge.c:
5448 * cspi/spi_registry.c:
5449 Removed some debug print stuff, and put other verbosity in #ifdef
5454 Implemented some more of the magnifier IDL for the simple
5455 magnifier: namely, getZoomRegionParams.
5456 Added mag_x and mag_y members to MagnifierData struct, aid of this
5458 Added GtkWindow::realize signal handler to magnifier, to keep it
5459 from receiving keyboard focus from the WM.
5461 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5463 * cspi/spi-private.h: my guess at what michael forgot
5464 before he ran off to NZ :-)
5466 2001-11-23 Michael Meeks <michael@ximian.com>
5468 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5469 comment out non existant method invoke so we link.
5471 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5472 use bonobo_exception_get_text for more friendly warnings.
5474 * cspi/spi.c (Obj_Add): move into spi_main & rename
5475 spi_object_add; kill spi.c
5477 * cspi/spi_registry.c
5478 (deregisterGlobalEventListener),
5479 (deregisterGlobalEventListenerAll),
5480 (registerGlobalEventListener): fix exception leaks.
5482 * cspi/spi_main.c (spi_exception): impl. helper, so we
5483 don't leak exceptions.
5485 * cspi/spi_selection.c
5486 (AccessibleSelection_deselectSelectedChild): return the
5489 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5490 (spi_registry): ditto.
5491 (SPI_init): guard against double inits.
5493 * cspi/*.c: use spi_ev (), and spi_registry () where
5494 appropriate - a temporary hack until we have something
5495 better. Use spi_object_add
5497 2001-11-22 Michael Meeks <michael@ximian.com>
5499 * cspi/Makefile.am: re organise, install the headers.
5501 * cspi/*.h: add G_BEGIN/END_DECLS
5503 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5506 Added non-preemptive keylistener for key events with no modifiers
5507 and shift-only modifier.
5509 * libspi/keystrokelistener.c:
5510 Removed some verbose diagnostics printout.
5512 * cspi/spi_registry.c:
5513 Fixed a bug that caused all key listeners to be registered as
5516 * libspi/deviceeventcontroller.c:
5517 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5518 for non-preemptive key masks.
5521 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5523 * docs/reference/idl/at-spi-idl-docs.sgml:
5524 * docs/reference/idl/at-spi-idl-sections.txt:
5525 * docs/reference/idl/at-spi-idl-overrides.txt:
5526 Added missing files.
5528 * docs/reference/Makefile.am:
5529 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5530 to scan the IDL files :-(
5535 Added .cvsignore files.
5537 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5539 * libspi/deviceeventcontroller.c:
5540 * libspi/keystrokelistener.c:
5542 * cspi/spi_registry.c:
5543 Added filters for KeySets, KeyEventSeq, and event types to key
5544 event dispatching, so listeners should only receive those events
5545 that they requested :-)
5547 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5552 * docs/reference:Makefile.am:
5553 * docs/reference/cspi:
5554 * docs/reference/cspi:Makefile.am:
5555 * docs/reference/cspi:tmpl:
5556 * docs/reference/cspi:tmpl:*.sgml:
5557 * docs/reference/idl:
5558 * docs/reference/idl:Makefile.am:
5559 * docs/reference/idl:at-spi-idl-sections.txt:
5560 * docs/reference/idl:at-spi-idl-docs.sgml:
5561 * docs/reference/idl:tmpl:
5562 * docs/reference/idl:tmpl:*.sgml:
5564 Restructured docs directory to allow separate 'reference' docs
5565 section, and forked idl and cspi docs. Added the sgml template
5566 files to CVS. Added the first sections/structural sgml for the
5569 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5571 * configure.in, libspi/Makefile.am: find libXtst.
5573 2001-11-21 Michael Meeks <michael@ximian.com>
5575 * test/accessx-gui.c: s/spi_value/value/ - doh.
5577 * libspi/base.[ch]: add.
5579 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5581 * idl/Accessible.idl:
5582 * idl/Application.idl:
5585 Started gtk-doc cleanup on IDL.
5587 * libspi/deviceeventcontroller.c:
5588 Added and connected non-preemptive key notification from the
5589 toolkits (in addition to the pre-emptive support from XServer
5590 which we had before, but which causes 'focus flashing'). Filters
5591 are presently limited to key modifiers and global/non-global,
5592 KeySets are presently ignored, as are KeyEvent masks.
5594 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5595 structs into the persistant structure rather than just storing
5596 pointers to things that might not persist across servant
5599 The XGrabKey call now does async keygrabs, because synchronous
5600 ones were deadlocking with GDK_event code in a very nasty way.
5602 Added boolean to internal method notify_keylisteners, to indicate
5603 whether the event came from the 'toolkit source' or the 'global
5604 (XServer) source' - this is used in the notification process to
5605 determine which listeners to send the event to.
5607 deviceeventcontroller.c is now warning-free.
5609 * libspi/registry.c:
5610 Fixed regression in application de-registration.
5611 Also fixed some really brain-dead weirdness having to do with
5612 event dispatching - event structs are now duplicated before being
5613 re-marshalled in the dispatch to listeners. This also fixes a
5614 Solaris build problem.
5617 2001-11-20 Michael Meeks <michael@ximian.com>
5620 (impl_accessibility_registry_deregister_global_event_listener):
5623 * libspi/deviceeventcontroller.c
5624 (spi_device_event_controller_check_key_event): return
5625 FALSE on no virtual method.
5627 * libspi/*..h: make includes work on a correctly pathed install.
5629 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5631 * libspi/application.h: kill unused ( and whacked out )
5632 gboolean *spi_application_set_id (AtkObject *app, long id);
5634 2001-11-20 Michael Meeks <michael@ximian.com>
5636 * libspi/*.[ch]: further convert to bonobo's type func
5637 macros, remove redundnant casts etc.
5639 * libspi/text.c s/accessibility_text/spi_text/g,
5640 re-order to de-cruft.
5642 * libspi/hypertext.c: re-order to kill a huge slew
5643 of redundant forward decls.
5645 * libspi/relation.c: ditto.
5647 * libspi/image.c: ditto.
5649 * */.cvsignore: update
5651 2001-11-20 Michael Meeks <michael@ximian.com>
5653 * libspi/deviceeventcontroller.c
5654 (_controller_register_with_devices): use g_getenv,
5655 kill stdlib.h include.
5657 * libspi/keystrokelistener.c
5658 (spi_keystroke_listener_get_type): kill
5659 (spi_keystroke_listener_class_init),
5660 (spi_keystroke_listener_init): rename to this.
5662 * libspi/text.c (impl_getAttributes): fix warning / bug.
5664 * libspi/*.[ch]: more headers, includes and over commenting.
5666 2001-11-20 Michael Meeks <michael@ximian.com>
5668 * libspi/*.[ch]: fixup headers, includes and over commenting.
5670 * libspi/image.c (impl__get_imageDescription): const
5671 correctness warning fix. remove redundant casting.
5673 * libspi/table.c (impl_getRowDescription): ditto.
5674 (impl_getColumnDescription): ditto.
5676 * libspi/libspi.h: add.
5678 2001-11-19 Michael Meeks <michael@ximian.com>
5680 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5682 * libspi/component.c (accessibility_component_get_type):
5683 rename to (spi_component_get_type): and macroify.
5684 (accessibility_component_init): rename to
5685 (spi_component_init): this
5686 (accessibility_component_class_init): rename to
5687 (spi_component_class_init): this
5689 * libspi/action.c (spi_action_get_type): kill, use the macro.
5691 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5694 * libspi/application.c (spi_application_object_event_listener),
5695 (impl_accessibility_application_register_object_event_listener):
5696 warning fixes / const understanding updates.
5698 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5701 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5703 * libspi/spi_accessible.c: Added docs and C bindings for
5704 AccessibleStateSet. (No implementations yet). Documentation
5705 coverage for C bindings now 100%. Made docs for event listeners
5710 boolean notifyListenersSync (in DeviceEventListener listener,
5711 in DeviceEvent event);
5713 oneway void notifyListenersAsync (in DeviceEventListener listener,
5714 in DeviceEvent event);
5716 Added DeviceEventListener and DeviceEvent structs (may deprecate
5717 KeyStroke and KeystrokeListener in favor of this generic
5718 event/listener framework for devices).
5720 * libspi/deviceeventcontroller.c:
5722 Changed some key listener code to take masks, etc., and paved the
5723 way for integration of toolkit/non-preemptive key events. Changed
5724 signatures of some internal methods.
5726 * at-bridge/bridge.c:
5727 Fixed regression connecting to interface signals, apparently
5728 caused by GTK+ changes.
5730 Added an internal bridge_state_listener to deal with
5731 property-change:accessible-state signals.
5733 Changed the key_listeners GList to store structs (including masks,
5734 etc.) instead of just CORBA_Objects (required for full
5735 implementation of key listener API).
5737 Connected the bridge to all currently supported Atk signals.
5738 Events now supported:
5739 object:property-change
5740 object:property-change:accessible-name
5741 object:property-change:accessible-state
5742 object:property-change:accessible-description
5743 object:property-change:accessible-parent
5744 object:property-change:accessible-value
5745 object:property-change:accessible-role
5746 object:property-change:accessible-table-caption
5747 object:property-change:accessible-table-column-description
5748 object:property-change:accessible-table-column-header
5749 object:property-change:accessible-table-row-description
5750 object:property-change:accessible-table-row-header
5751 object:property-change:accessible-table-summary
5752 object:children-changed
5753 object:visible-data-changed
5754 object:selection-changed
5755 object:text-selection-changed
5757 object:text-caret-moved
5759 object:row-reordered
5761 object:column-inserted
5762 object:column-reordered
5763 object:column-deleted
5764 object:model-changed
5766 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5768 * libspi/hyperlink.c,h:
5769 Fixed some broken stuff in hyperlink.
5771 * libspi/relation.h:
5772 * libspi/relation.c:
5773 * cspi/spi_accessible.c:
5774 Initial implementations of AccessibleRelation methods, and docs.
5776 * libspi/accessible.c:
5777 Fixed a bug that caused SEGV if an accessible
5778 object's description is NULL, and a client
5779 requests it. An empty string is now returned.
5781 * cspi/spi_editabletext.c:
5782 * cspi/spi_hypertext.c:
5784 * cspi/spi_hyperlink.c:
5788 Doc coverage now 95%.
5790 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5792 One last namespacing revision:
5793 * libspi/accessibleeventlistener.[ch]:
5794 Renamed SpiAccessibleEventListener to SpiEventListener,
5795 (no need for two namespaces ;-)
5797 And lots of documentation fixes:
5799 * docs/at-spi-docs.sgml:
5800 Fixed 'underscore vs. hyphen' bug that was preventing
5801 the gtk-doc API docs from being automatically generated.
5804 * cspi/spi-listener.h
5806 * cspi/spi_accessible.c
5808 * cspi/spi_application.c
5809 * cspi/spi_component.c
5810 * cspi/spi_editabletext.c
5812 * cspi/spi_hypertext.c
5814 * cspi/spi_registry.c
5815 * cspi/spi_selection.c
5819 * docs/at-spi-docs.sgml
5820 * docs/at-spi-sections.txt
5822 Added and fixed up gtk-doc documentation in cspi.
5824 Interfaces now (fully) documented (subject to revision and enhancement):
5826 Event Listener Support
5828 AccessibleApplication
5832 AccessibleEditableText
5839 AccessibleRelationSet
5844 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5846 * at-bridge/bridge.c:
5847 Initial work for toolkit-level key snooper connection by bridge.
5852 New typedefs and fixes to support new namespacing, and cleaner
5853 separation of cspi bindings from libspi bonobo implementation.
5854 Removed inconsistent and extraneous Spi* namespace prefix that
5855 had crept into cspi headers.
5856 Lots of comment fixes that sed had missed.
5858 * cspi/spi-roletypes.h:
5859 * cspi/spi-statetypes.h:
5860 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5861 to AccessibleRoleType.
5863 * libspi/accessibleeventlistener.h:
5864 Fixed minor namespacing weirdness.
5866 * libspi/deviceeventcontroller.c:
5867 Reordered some internal API for device listeners.
5868 Changed the key registry final boolean to 'is_system_global'
5869 rather than 'is_synchronous', which is more descriptive of its
5871 Added spi_device_event_controller_new().
5872 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5874 * libspi/keystrokelistener.[ch]:
5875 Namespaced KeystrokeListener to SpiKeystrokeListener.
5876 Changed uses of keymasks to use SPI_ prefix, and did other
5879 * libspi/keymasks.h:
5880 Namespaced keymask constants with SPI_ prefix.
5882 * libspi/registry.c:
5883 Some warning fixes, and knock-on fixes from namespace changes.
5886 Added rules for accessx-gui test program.
5888 * test/accessx-gui.c:
5889 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5890 utility. It doesn't actually use at-spi, but it's still cool and
5893 * test/keysynth-demo.c:
5897 Fixes so that these test clients work properly with the namespaced
5898 libraries. (Incompletely tested for technical reasons, fixes may follow)
5901 2001-11-13 Michael Meeks <michael@ximian.com>
5903 * libspi/application.c
5904 (impl_accessibility_application_get_version),
5905 (impl_accessibility_application_get_toolkit_name):
5907 (impl_accessibility_application_set_id),
5908 (impl_accessibility_application_get_id): remove
5909 redundant casting code.
5911 * libspi/action.c (impl_getDescription): fix warnings.
5913 * libspi/accessible.c
5914 (impl_accessibility_accessible_get_parent),
5915 (impl_accessibility_accessible_get_child_at_index),
5916 (impl_accessibility_accessible_get_state),
5917 (impl_accessibility_accessible_get_relation_set):
5918 warning fixes & include action.h
5920 2001-11-13 Michael Meeks <michael@ximian.com>
5922 * *.[ch] fix bits I screwed up:
5924 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5925 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5927 2001-11-13 Michael Meeks <michael@ximian.com>
5929 * *.[ch] Namespace libspi into spi_ and Spi.
5931 2001-13-11 Michael Meeks <michael@ximian.com>
5933 * Makefile.am: dist & install at-spi-1.0.pc
5935 * libspi/Makefile.am: install into at-spi-1.0
5937 * idl/Makefile.am (idldir): install into at-spi-1.0
5939 * at-spi-1.0.pc.in: add.
5941 * configure.in: build it.
5943 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5945 * test/keysynth-demo.c:
5946 Use a 'realize' signal-handler to set the WM properties for
5947 the virtual keyboard, rather than making it a "POPUP" type
5948 override-redirect window (thanks to anders carlsson for that
5951 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5954 * test/keysynth-demo.c:
5955 Added new test of key synthesis, which creates a simple
5956 (mouse-operated) onscreen keyboard. It inserts key events into
5957 the currently-focused window, thus it does not grab keyboard focus
5960 * cspi/spi_registry.c:
5961 Added C binding for AT-SPI generateKeyEvent.
5963 * libspi/deviceeventcontroller.c:
5964 Added call to XFilterEvent so that key listener works with XIM (we
5965 hope). Added event_synth_type to generateKeyEvent, so that we can
5966 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5967 synthesize a press/release pair for KeySyms.
5969 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5971 * libspi/Makefile.am:
5972 * registryd/Makefile.am:
5973 (temporary) hack to include libXtst in libspi and registryd.
5974 (Needed for keystroke synthesis, see below).
5977 Improved API for registerKeystrokeListener, in accordance with
5978 discussions with Gnopernicus team and X server research.
5980 * libspi/registry.c:
5981 * libspi/deviceeventcontroller.c:
5982 * libspi/accessible.c:
5983 * libspi/keystrokelistener.c:
5984 Changes and fixes to support keylisteners for potentially
5985 consumed key events (that is, 'passive grabs').
5986 Added implementation for generateKeyEvent() [untested].
5989 Changes to registerKeystrokeListener() API, as above.
5990 Added deregisterGlobalEventListenerAll(), and
5991 deregisterKeystrokeListener(), which are needed for clean exit of
5993 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5994 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5996 * cspi/spi_registry.c:
5997 Added implementations of function prototypes mentioned above.
5999 * registryd/registryd.c:
6000 Added the key listener event source as a g_timeout(), to allow
6001 receipt of key events that are not caught by GDK (since GDK
6002 doesn't support passive keygrabs, this was necessary).
6005 Changed to attach a keylistener to 'Alt' keys, and
6006 respond to the following keycommands: Alt-M (toggle magnifier);
6007 Alt-F (toggle speech); Alt-Q (quit).
6008 Added an exit routine to deregister the listeners, and a key
6009 listener that prints some key info to the console when a key
6010 matches the listener mask (and is thus received by the listener).
6012 * util/idl/Magnifier.idl:
6013 Changes to magnifier API to support multiple zoom regions,
6014 non-uniform scaling in x and y, markDirty, and a host of other
6015 features that would be useful to magnification.
6018 * util/mag_client.c:
6019 * util/mag_client.h:
6020 * util/mag_control.c:
6022 Source code changes to support the above IDL changes.
6025 As above, and also changes to use a (slower) generic conversion
6026 path for colormap conversions, since the fast RGB conversions have been
6027 reported to fail for 16-bit displays.
6029 2001-10-26 Michael Meeks <michael@ximian.com>
6031 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6033 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6035 * at-bridge/Makefile.am: fix LDFLAGS.
6037 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6039 * at-bridge/bridge.c:
6040 Re-worked listeners for toolkit events, now we have signal
6041 and property listeners. Added a private method
6042 register_atk_event_listeners(), which registers with the
6043 various atk and gtk signals we need to monitor in order to emit
6045 Added emission hook for AtkObject:property-change events, to
6046 support the 'property listeners'.
6047 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6050 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6051 which emit warnings and exit, respectively, if CORBA errors occur
6052 during remote calls, and we now use these methods to check most of
6053 our CORBA calls in the C bindings.
6055 * cspi/spi_accessible.c:
6056 Changed AccessibleSelection_refSelectedChild() to
6057 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6058 now increment refcounts.
6060 * cspi/spi_component.c:
6061 Fixed some long pointer casts (dangerous!) to pass pointers to
6062 CORBA_longs of the proper type to the CORBA stubs, and copy the
6063 data into the longs that were passed into the C bindings code.
6065 * at-bridge/bridge.c:
6067 * libspi/accessible.c:
6068 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6069 hyperlinks, AtkHyperlink is an object type.
6071 * libspi/application.c:
6072 Added various conversions to and from "generic" event types and
6073 atk-specific types; this is really part of the 'bridge'
6074 implementation but is valid for all AtkObject-based accessibility
6077 * libspi/editabletext.c:
6078 Fixed nasty bug wherein editable text's finalize method was
6079 unref'ing tha AtkObject reference that the text parent class was
6080 about to unref _again_. There was also a nasty inheritance bug
6081 that meant that the AccessibleEditableText class was corrupt.
6083 * libspi/selection.c:
6084 Provided implementations for some selection API that was broken.
6086 * idl/Application.idl:
6087 Added registerObjectEventListener () method.
6090 Fixed a number of return values that were Bonobo_Unknowns from
6091 bonobo_object_corba_objref(), which I
6092 forgot to dup before returning. Changed instances of
6093 bonobo_object_corba_objref (bonobo_object(o)) to
6094 BONOBO_OBJREF(o), for concision and clarity.
6096 2001-10-13 Louise Miller <louise.miller@sun.com>
6098 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6099 idl/Event.idl, idl/Registry.idl
6100 Changed these files to include Bonobo_Unknown.idl instead
6103 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6105 * libspi/component.c libspi/component.h:
6106 Fixed typo. Added assertions for object checks in
6107 AccessibleComponent code.
6109 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6111 * idl/Accessible.idl:
6112 Added 'isEqual (Accessible *object)'
6113 method for Accessible. (Not Yet Implemented).
6116 Changed signature of registerKeystrokeListener() to
6117 take a KeySet and KeyEventSeq so that specific keys and event
6118 types could be requested for monitoring, and added a flag
6119 is_synchronous so that either synchronous or asynchronous
6120 notification could be requested. (However this is not all
6121 implemented yet). This also meant adding two new typedefs,
6122 KeyEventSeq and KeySet.
6125 Added two new relations, RELATION_TOOLTIP_FOR and
6126 RELATION_LEAFNODE_OF.
6129 Added new state, STATE_HAS_TOOLTIP.
6131 * libspi/text.c, editabletext.c:
6132 Added new assertions to all casts of bonobo-objects from
6133 CORBA servants, to prevent Text API calls on non-text objects.
6134 Changed suspect casts of int-pointer types, so that we
6135 always send a valid CORBA_long pointer to the CORBA APIs that use
6136 in/out long parameters. We then have to copy from the CORBA_long
6137 into the regular long or int for return to the C bindings, or
6138 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6141 * libspi/deviceeventcontroller.c:
6142 Cleaned these sources up.
6144 Changed return type for getCharacterAtOffset to
6145 CORBA_unsigned_long, to allow for 32-bit characters.
6148 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6152 Fixed 'make dist' so that distro compiles...
6153 * libspi/keymasks.h:
6155 * cspi/spi-listener.c:
6156 KeystrokeListenerCB now returns a boolean.
6158 Added KeyEventType struct, and KeyStroke.
6159 Also added createKeystrokeListener(),
6160 KeystrokeListener_addCallback(),
6161 KeystrokeListener_removeCallback(), and added a keymask to
6162 registerKeystrokeListener().
6163 * cspi/spi_accessible.c:
6164 Changed numerous return types for interfaces from
6165 AccessibleComponent to Accessible<InterfaceName>; this was
6166 probably a cut-and-paste error.
6168 Implementations of new KeystrokeListener api (from spi.h,
6171 Changes to key modifier mapping.
6172 Created ControllerEventMask struct.
6173 Made DeviceEventController derive from Bonobo::Unknown.
6175 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6176 * libspi/deviceeventcontroller.c:
6177 Added a number of new internal (private) methods.
6178 * libspi/editabletext.c:
6179 * libspi/editabletext.h:
6180 Fixed a number of bugs related to the fact that
6181 editabletext inherits from text. Fixed the EditableText struct,
6182 the init() call, and use correct casts when calling Text methods
6183 from an EditableText object. Removed (duplicate) atko from the
6184 EditableText structure, we use the one in the parent Text
6185 structure via the casts mentioned above.
6186 * libspi/keystrokelistener.[ch]:
6187 * libspi/registry.c:
6188 Changes in support of keyboard handling (above).
6190 Keyboard handling, though partly functional, is still not
6191 recommended for at-spi client use as there is considerable
6192 work yet to be done.
6195 Changed some places where pointers to various int types
6196 are cast to be pointers to CORBA_long types and vice-versa:
6197 pointer casting is not safe so we pass pointers of the correct
6198 types and then cast the result before putting it into the target
6201 * libspi/text.h: minor typos corrected.
6203 We now speak not only the name of a Text element, but the
6204 first sentence of its content, when it receives focus.
6205 I also changed the text compression to 75% from 50%.
6206 * util/Accessibility_Util.server.in:
6207 Changed the default magnifier type to be a 3x vertical
6208 splitscreen magnifier (was previously a 2x horizontal one).
6210 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6212 * libspi/keystrokelistener.h:
6213 * libspi/keystrokelistener.c:
6214 Initial functional implementations of KeystrokeListener.
6217 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6219 Fixed string handling for NULL strings in libspi.
6220 Added spi_freeString to free strings returned by C bindings.
6222 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6224 * libspi/keystrokelistener.h:
6225 * libspi/keystrokelistener.c:
6226 Began (no-op) implementations of KeystrokeListener
6228 * libspi/deviceeventcontroller.c:
6229 * libspi/deviceeventcontroller.h:
6230 Began creating implementations of DeviceEventController,
6231 to handle keystroke and mouse event listening and
6233 * libspi/accessible.c:
6234 Stubbed-in the implementations for
6235 Accessibility_Accessible_getState and
6236 Accessibility_Accessible_getRelationSet.
6237 * libspi/registry.c:
6238 Improved de-registration process and fixed some bugs,
6239 deregistration now works correctly.
6241 Added initialization of applications list (to NULL).
6243 Reduced speech compression from 0.5 to 0.7, for demo.
6244 Changed call to gdk_window_set_decorations()
6245 to gtk_window_set_decorated().
6246 * at-bridge/bridge.c:
6247 Bridge now deregisters when app exits, via
6248 registration of a cleanup function
6249 with the g_atexit() call.
6250 Required making 'app' static, renamed 'this_app'.
6251 Fixed broken use of bonobo_init, passing argv wrongly.
6253 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6257 Created a new directory for
6258 accessibility-related utilities, primarily for
6259 testing and demo purposes, but with possible
6266 Onscreen magnifier utility that
6267 is implemented as a bonobo service.
6269 * util/mag_client.c:
6270 * util/mag_client.h:
6271 Client-side support (simple C bindings)
6272 for Magnification service
6274 * util/mag_control.c:
6275 Client program example for
6276 Magnification service
6278 * util/Accessibility_Magnifier.server.in:
6279 Bonobo-activation file for the
6280 Magnification service.
6283 * util/idl/Magnifier.idl:
6284 IDL defining the bonobo Magnification
6288 Modifications to use the bonobo-activated magnifier
6289 above, in place of trying to connect to an existing
6290 magnifier that uses socket-listening IPC.
6292 If env variable MAGNIFIER is set, a magnifier service
6293 will be started if one does not exist.
6295 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6297 * at-bridge/bridge.c:
6298 applied patch from Marc to build and run
6299 against new glib and gtk+ (seemed like a change
6300 to bonobo_init signature was made ?)
6302 made festival-server support turned off by default.
6303 Added support for a simple magnifier (off by default)
6304 which will be added to a 'util' directory later.
6305 * at-bridge/Makefile.am:
6306 Changed "application.h" header from a 'source'
6307 to a 'dependency' of libat-bridge.
6309 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6318 Added interface implementation c files to list of
6319 includes so they are included in libcspi.
6322 Changed prototype of AccessibleAction_doAction to return a
6324 Changed prototype of AccessibleTable_getCaption to
6325 return an Accessible.
6326 Changed prototype of AccessibleTable_getSelectedRows
6327 and AccessibleTable_getSelectedColumns to
6328 return a long (returns the number of selected rows
6329 or columns respectively).
6330 Changed name of AccessibleText_refRunAttributes to
6331 AccessibleText_getAttributes.
6332 Changed prototype of AccessibleText_getCharacterExtents to
6333 return a void rather than a boolean.
6334 Added support for a AccessibleCoordType parameter
6335 specifying what type of coordinates are desired.
6336 Added an AccessibleCordType parameter to
6337 AccessibleText_getPointAtOffset.
6339 * cspi/spi_accessible.c:
6340 Added code to return the outstanding interfaces from
6341 Accessible_queryInterface.
6343 * cspi/spi_action.c:
6345 Corrected call to getNActions to call the c binding
6348 * cspi/spi_editabletext.c:
6350 Changed name from setRunAttributes to setAttributes.
6352 * cspi/spi_hyperlink.c:
6354 Changed call to getNAnchors to correctly call the c
6355 binding for an attribute.
6357 * cspi/spi_hypertext.c:
6359 Changed getImageDescription to correctly call the
6360 binding for an attribute.
6362 * cspi/spi_selection.c:
6363 Changed getNSelectedChildren to correctly call the c
6364 binding for the attribute.
6365 Changed refSelectedChild to getSelectedChild.
6369 Changed getCaption to return an Accessible.
6370 Fixed calls which retrieve attributes.
6371 Changed refAt to getAccessibleAt.
6372 Changed getNSelectedRows and getNSelectedColumns to
6376 Changed getCharacterExtents and getPointAtOffset to accept an
6377 AccessibleCoordType.
6379 Changed calls which retrieve attributes.
6380 Changed refRunAttributes to getAttributes.
6385 * idl/Hyperlink.idl:
6386 Changed n_anchors attribute to nAnchors to keep naming
6387 convention consistent.
6390 Made Table inherit from Bonobo::Unknown.
6391 Added nSelectedColumns and nSelectedRows attributes.
6394 Made Value inherit from Bonobo::Unknown.
6396 * libspi/hyperlink.c:
6397 Change for nAnchors attributte name change.
6399 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6407 Added interface implementation c files to list of
6408 includes so they are included in libcspi.
6411 Changed prototype of AccessibleAction_doAction to return a
6413 Changed prototype of AccessibleTable_getCaption to
6414 return an Accessible.
6415 Changed prototype of AccessibleTable_getSelectedRows
6416 and AccessibleTable_getSelectedColumns to
6417 return a long (returns the number of selected rows
6418 or columns respectively).
6419 Changed name of AccessibleText_refRunAttributes to
6420 AccessibleText_getAttributes.
6421 Changed prototype of AccessibleText_getCharacterExtents to
6422 return a void rather than a boolean.
6423 Added support for a AccessibleCoordType parameter
6424 specifying what type of coordinates are desired.
6425 Added an AccessibleCordType parameter to
6426 AccessibleText_getPointAtOffset.
6428 * cspi/spi_accessible.c:
6429 Added code to return the outstanding interfaces from
6430 Accessible_queryInterface.
6432 * cspi/spi_action.c:
6434 Corrected call to getNActions to call the c binding
6437 * cspi/spi_editabletext.c:
6439 Changed name from setRunAttributes to setAttributes.
6441 * cspi/spi_hyperlink.c:
6443 Changed call to getNAnchors to correctly call the c
6444 binding for an attribute.
6446 * cspi/spi_hypertext.c:
6448 Changed getImageDescription to correctly call the
6449 binding for an attribute.
6451 * cspi/spi_selection.c:
6452 Changed getNSelectedChildren to correctly call the c
6453 binding for the attribute.
6454 Changed refSelectedChild to getSelectedChild.
6458 Changed getCaption to return an Accessible.
6459 Fixed calls which retrieve attributes.
6460 Changed refAt to getAccessibleAt.
6461 Changed getNSelectedRows and getNSelectedColumns to
6465 Changed getCharacterExtents and getPointAtOffset to accept an
6466 AccessibleCoordType.
6468 Changed calls which retrieve attributes.
6469 Changed refRunAttributes to getAttributes.
6474 * idl/Hyperlink.idl:
6475 Changed n_anchors attribute to nAnchors to keep naming
6476 convention consistent.
6479 Made Table inherit from Bonobo::Unknown.
6480 Added nSelectedColumns and nSelectedRows attributes.
6483 Made Value inherit from Bonobo::Unknown.
6485 * libspi/hyperlink.c:
6486 Change for nAnchors attributte name change.
6489 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6491 implementations-- made server implementations own AtkObject pointers
6492 rather than their respective AtkInterrface pointers to fix
6493 refcounting. AtkHyperlink is still broken.
6495 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6496 * cspi/spi_accessible.c:
6497 Added method Accessible_Role_getName(),
6498 and requisite string array (role_names).
6499 Added conversion string_from_corba_strin() call
6500 to Accessible_getName and _getDescription.
6501 * libspi/accessible.c:
6502 Added implementation for Accessible_getRole()
6504 Added festival support, used if environment variable
6507 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6509 * at-bridge/bridge.c:
6510 Now allocate Accessibility_Event using
6511 Accessibility_Event__alloc() instead of g_new0().
6512 * libspi/accessibleeventlistener.c:
6513 Initialize AccessibleEventListener->callbacks to NULL.
6514 Fixed accessible__event_listener_init() param, changed to
6515 "AccessibleEventListener *" type.
6516 Changed a bonobo_object_release_unref() call to
6517 Accessibility_Accessible_unref().
6518 * libspi/listener.c:
6519 Changed Bonobo_Unknown_unref to (equivalent)
6520 Accessibility_Accessible_unref.
6521 * libspi/registry.c:
6522 Changed bonobo_object_release_unref to
6523 Accessibility_Accessible_unref.
6525 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6528 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6529 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6530 spi-util.c spi-util.h
6531 Implementations for C bindings to remaining accessibility
6534 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6537 changed return value of Action from void to boolean to
6538 bring in line with ATK.
6541 Changed getText funcions to return "out" start and end offsets.
6542 Changed getAttributes to take and offset and return the start
6543 and end offset of the attribute run.
6544 Changed getOffsetAtPoint and getCharacterExtents to take an
6545 enum describing whether coordinates are window or screen.
6548 libspi/action.c libspi/action.h libspi/editabletext.c
6549 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6550 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6551 libspi/image.h libspi/selection.c libspi/selection.h
6552 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6553 libspi/value.c libspi/value.h
6554 Added server implementations for outstanding ATK interfaces
6555 not yet implemented.
6557 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6560 Added (missing) getName() method.
6561 Made nActions an attribute.
6562 * idl/EditableText.idl:
6563 Changed order of params in setAttributes.
6564 * idl/Hyperlink.idl:
6565 Removed getAnchor, added getURI.
6567 Changed attributes to methods, for efficiency
6568 (so that getting extents can be done in one call)
6569 * idl/Selection.idl:
6570 Changed nSelectedChildren to attribute, and re-indented.
6571 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6573 * idl/Text.idl: reformatted to match our coding style.
6574 (temporarily?) removed getRowColumnAtOffset().
6575 Changed text selection API to support multi-select and
6576 non-contiguous selections, as in ATK.
6577 * idl/Value.idl: changed some methods to attributes.
6579 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6581 * libspi/listener.c(impl_notify_event):
6582 BonoboUnkown_unref the source instead
6583 of bonobo_object_release_unref - the ORB
6584 handles the releasing.
6586 * configure.in: require ORBit-2.3.94 for
6589 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6591 Tagged CVS repository 'EA_1_0'.
6592 * README.EARLY_ACCESS:
6593 Alphabetized acknowledgements list, and
6595 Listed some known dependencies of at-spi.
6597 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6599 * docs/at-spi-docs.sgml:
6600 * docs/at-spi-sections.txt:
6601 * docs/at-spi-overrides.txt: (Added zero-length file)
6602 Documentation improvements - gtk-doc should build
6603 docs for all implemented C bindings now.
6606 * cspi/spi.c: (New file)
6607 * cspi/spi_event.c: (New file)
6608 * cspi/spi_registry.c: (New file)
6609 * cspi/spi_accessible.c: (New file)
6610 * cspi/spi_application.c: (New file)
6611 * cspi/spi_component.c: (New file)
6612 Split spi_main.c into six parts, and included them from
6613 "spi.c". This is a bit of a hack, probably temporary,
6614 but required by gtk-doc, apparently.
6616 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6619 * docs/at-spi-docs.sgml:
6620 * docs/at-spi-sections.txt:
6622 Initial checkins/modifications for gtk-doc generation.
6625 Added (missing) interface query methods to Accessible's C binding.
6627 Added GenericInterface type definition.
6629 Added query for AccessibleComponent interface to focus event handler.
6630 Added printout of bounding box for focussed component.
6631 * libspi/component.c:
6632 Added partial implementation for AccessibleComponent to C binding.
6633 * idl/Application.idl:
6634 * libspi/registry.c:
6635 * libspi/listener.c:
6636 * libspi/application.c:
6637 * libspi/application.h:
6638 Changed "ID" attribute type from string to long.
6640 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6644 Made method naming consistent: methods taking object args
6645 start with uppercase, other methods (except those using
6646 acronyms) start with lowercase. Underscores delimit between
6647 object names and method names:
6648 SPI_init() - uppercase since it starts with an acronym.
6649 getDesktopCount () - lowercase start since no object param0.
6650 Accessible_getName() - uppercase object type name, studlyCaps method
6654 Added gtk-doc documentation for all currently implemented
6655 methods in the C bindings API.
6657 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6659 * Makefile.am : changed build order to build test last.
6662 Changed "createEventListener" to "CreateEventListener".
6663 * libspi/accessibleeventlistener.c :
6664 Bugfix for addition of callbacks.
6665 * test/Makefile.am :
6666 * test/simple-at.c :
6667 Added new test that uses the C bindings API.
6669 * libspi/listener.c :
6670 * libspi/registry.c :
6671 * libspi/accessibleeventlistener.c :
6672 * at-bridge/bridge.c :
6673 Renamed member "target" of Accessibility_Event to "source",
6674 which is more descriptive.
6677 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6681 * cspi/Makefile.am :
6682 Added makefile support for at-spi/cspi directory.
6685 * cspi/spi-listener.h : (NEW FILE)
6686 Added support for/use of spi-listener.h.
6688 C bindings now build successfully, with no warnings.
6689 * libspi/accessibleeventlistener.h : (NEW FILE)
6690 * libspi/accessibleeventlistener.c : (NEW FILE)
6691 * libspi/Makefile.am :
6692 Added new object type "AccessibleEventListener"
6693 which inherits from Listener, and allows attachment
6694 of in-process callbacks (so that a client with a listening
6695 object instance can add functionality to the local
6696 implementation, dynamically).
6698 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6700 * libspi/accessible.c:
6701 Add implementation for get_index_in_parent().
6703 Added #include of "spi-roletypes.h", and
6704 added enumerated type AccessibleCoordType.
6705 Added definition for KeystrokeListener (function type).
6708 * cspi/spi-statetypes.h :
6709 * cspi/spi-roletypes.h :
6711 Added these headers, used by spi.h.
6713 Added code (NOTE: not yet built by make).
6715 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6717 * libspi/Makefile.am: generate imodule
6718 at the same time as other idl compiler
6721 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6722 * libspi/registry.c :
6723 * libspi/application.c :
6724 * idl/Application.idl :
6725 Made registration with toolkit an application method,
6726 which is required since each app has its own toolkit static
6727 environment. Thus the bridge must register for
6728 notification of toolkit events from each application in turn.
6729 Toolkit notifications are now successfully registered for, and
6730 sent to the listening at client.
6732 Changed toolkit event string to use hyphens rather than underscores.
6733 * libspi/listener.c :
6734 listner now gives more info in debug mode - it reports the
6735 name of the event received, as well as the name of the source.
6738 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6740 * libspi/registry.c :
6741 added more implementation for toolkit events.
6742 Fixed bug such that toolkit event registrations
6743 (via atk) use the whole event name string, not
6745 Removed a useless call to an ORBit_ method.
6746 * at-bridge/bridge.c :
6747 Removed unused local sbuf[] variable.
6749 We now register for Gtk:GtkWidget:button_press_event
6750 events as well as "focus:" events.
6752 Add some more API from Registry.idl that was missing,
6753 for keystroke listening, keystroke and mouse event
6754 synthesis, and enumeration of accessible desktops.
6756 2001-08-16 Michael Meeks <michael@ximian.com>
6758 * configure.in: use AM_GLIB_GNU_GETTEXT.
6760 * Makefile.am (SUBDIRS): kill intl.
6762 2001-08-15 Michael Meeks <michael@ximian.com>
6764 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6766 * configure.in: upd.
6768 * configure.in: depend on a recent bonobo-activation that
6769 will find our server files ...
6771 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6773 * libspi/accessible.c : accessible_new() :
6774 Now we add the Component interface via bonobo_object_add_interface,
6775 if the contained AtkObject implements AtkComponent.
6776 * libspi/accessible.h : now include "component.h"
6777 * libspi/component.h :
6778 * libspi/component.c : added files - implementation of
6779 bonobo wrapper object for Accessibility/Component
6780 * libspi/listener.c :
6781 Added test code to check for Accessibility/Component:1.0
6782 interface and report whether it is implemented by the
6784 * libspi/registry.c :
6785 Now we check for not only the hash of the whole event
6786 string before relaying the event, we also check the
6787 "minor" event string (without the detail string).
6788 This allows event listeners to be registered against
6789 all events of a certain major+minor type, or just
6790 against a specific major+minor+detail type.
6791 * libspi/accessible.c :
6792 Added implementations for Accessible:get_parent(),
6793 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6794 * libspi/registry.c :
6795 * libspi/listener.c :
6796 Replaced calls to Accessibility_Accessible_ref() and
6797 Accessibility_Accessible_unref() with
6798 calls to bonobo_object_dup_ref() and
6799 bonobo_object_release_unref(), so that the CORBA object
6800 is dup-ed and released when relayed, as well as the bonobo object.
6802 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6804 * libspi/Makefile.am,
6805 registryd/Makefile.am,
6806 at-bridge/Makefile.am.
6807 test/Makefile.am, configure.in:
6808 reverse previous changes.
6810 * /idl/Image.idl: fix typo.
6812 * test/Makefile.am: put DEBUG_FLAGS
6815 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6817 * test/app.c: use argv[0] instead of
6820 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6822 * libspi/Makefile.am,
6823 registryd/Makefile.am,
6824 at-bridge/Makefile.am.
6825 test/Makefile.am, configure.in:
6826 cleanup, replace individual LIBS/CFLAGS with
6827 AT_COMMON_{LIBS|CFLAGS}.
6831 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6833 * configure.in, libspi/Makefile.am:
6834 Change IDL path checking for bonobo-activation
6837 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6839 * registryd/registry.c : separated event listeners to use
6840 3 separate lists (focus, window, toolkit). Began testing
6841 event names against hashes before relaying events.
6842 * test/at.c : now register for events of type "focus:"
6843 * test/app.c : now generate events of type "focus:"
6844 * at-bridge/bridge.c : register with ATK for focus events,
6845 and we now relay those focus events to any "focus:" listeners.
6846 This now works with the bridge as a GTK_MODULE when running test/at.
6847 * libspi/registry.c :
6848 * libspi/listener.c :
6849 now we ref event sources before propagating, and unref on receipt.
6850 * libspi/registry.c :
6851 some changes to internal structs, to support event typestring hashes.
6852 * text/app.c : changed the way the appname is generated.
6853 * cspi : added directory that will hold the C bindings library for
6854 non-CORBA/bonobo-savvy clients.
6855 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6856 * idl/Component.idl : added in parameter to indicate coord system for
6857 geometry-related calls.
6858 * idl/Hyperlink.idl : added readonly n_links attribute
6859 * idl/Image.idl : changed methods to attributes.
6861 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6863 * at-bridge/Makefile.am: link against
6864 ../libspi/libspi.la instead of -lspi.
6866 * at-spi/test/app.c: include
6867 bonobo-activation.h. Use a default appname
6868 if one is not provided.
6870 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6872 * idl/Registry.idl : temporarily changed register_Application
6873 to oneway, to work around issue with initial registration
6875 * idl/Application.idl : changed attribute "id" from readonly
6876 to read-write, since it needs to be assigned by Registry.
6877 * registryd/registryd.c : added call to set application id
6879 * registryd/registry.c : changed de-registration procedure to
6880 use CORBA_Object_hash() to find matching object ref in application
6881 lists and listener lists.
6882 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6883 began distinguishing between event types (work in progress).
6885 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6888 * libspi/application.c:
6889 Added implementations for get/set id, get_toolkitName,
6891 * registryd/registryd.c :
6895 Converted from use of OAF to bonobo-activation.
6896 * libspi/desktop.h :
6897 * libspi/desktop.c :
6899 Removed references to atksimpleobject, since base atkobject
6900 implementation now provides functionality we need.
6901 * libspi/atksimpleobject.c :
6902 * libspi/atksimpleobject.h :
6907 * at-bridge/Makefile.am
6908 * at-bridge/bridge.c
6911 Added directory "bridge" and contents, and added dependencies
6912 in Makefile.am/configure.in.
6913 Initial checkin of "at-bridge".
6914 This code is a GTK_MODULE which automatically registers
6915 GTK+ apps with the accessibility registry, using an object
6916 reference to the root ATK object.
6918 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6920 * po/Makefile.in.in: Remove. Again. If this
6921 doesn't get autogenerated - you need to update
6924 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6926 * po/Makefile.in.in: Add. Again.
6928 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6930 * libspi/accessible.c : added support for 'description' property.
6931 * libspi/accessible.c
6933 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6934 (since the two are now equivalent in libbonobo)
6942 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6943 Bonobo::Unknown as does Accessibility::Accessible.
6944 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6945 interface with Bonobo::Stream, since it was redundant with it.
6946 (The Stream returned by a StreamableContext object is expected to
6947 implement only a subset of Bonobo::Stream)
6949 2001-07-28 Anders Carlsson <andersca@gnome.org>
6951 * libspi/accessible.c (accessible_object_finalize): Change
6952 g_free to g_object_unref since the AtkObject is a GObject.
6954 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6956 * idl/Accessibility.idl: add new IDL files
6959 * idl/Action.idl: Definitions of actionable UI object
6960 * idl/Component.idl: Definitions of UI component geometry, etc.
6961 * idl/Hyperlink.idl: Defs of hyperlink behavior
6962 * idl/Image.idl: Def of accessible image
6963 * idl/Selection.idl: Definition of UI object with selectable children
6964 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6965 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6966 * idl/Text.idl: Interface defs for UI elements with complex textual content
6967 * idl/Value.idl: Definition of UI element that is a value controller or display
6969 2001-07-27 Michael Meeks <michael@ximian.com>
6971 * po/Makefile.in.in: remove autogenerated file from CVS.
6973 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6976 * idl/Registry.idl: include guard.
6978 * idl/Accessibility.idl: Add, and include all the other IDL
6981 * idl/*.idl: remove mass of pragmas etc.
6983 2001-07-26 Michael Meeks <michael@ximian.com>
6985 * registryd/Makefile.am (registryd_SOURCES): remove
6988 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6990 * libspi/.cvsignore, registryd/.cvsignore,
6991 test/.cvsignore: updated.
6993 * po/Makefile.in.in: gettext update.
6995 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6997 * initial CVS checkin
6999 2001-06-29 Michael Meeks <michael@ximian.com>
7001 * configure.in: add AM_CONFIG_HEADER to gen config.h