1 2004-05-27 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Create login-helper/Makefile.
4 Incremented micro version.
6 * Makefile.am: Add login-helper subdir and pkgconfig data.
8 * login-helper: New subdir.
10 * libloginhelper-1.0.pc.in: New.
12 * idl/Accessibility_LoginHelper.idl: New file, defines
13 interface whereby authentication clients can identify agents which
14 need access to services during the login process, e.g. screen lock
17 * login-helper/Makefile.am : New.
19 * login-helper/login-helper.[ch] : New, implementation of
20 a LoginHelper base class. Services needing LoginHelper can subclass.
22 * test/Makefile.am : Added test for login-helper, client and
25 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
26 Use proper prefix in #include files.
28 * test/login-helper-client-test.c: New.
30 * test/login-helper-server-test.c: New.
32 2004-05-27 Alexander Shopov <ash@contact.bg>
34 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
36 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
38 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
39 is positive. This should make it easier to detect inapprorpiate unref
42 2004-05-11 James Henstridge <james@daa.com.au>
44 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
47 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
49 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
51 2004-04-28 Bill Haneman <billh@gnome.org>
53 * Makefile.am: Added --enable-gtk-doc to
54 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
56 2004-04-19 Bill Haneman <billh@gnome.org>
58 * configure.in: Revved to 1.5.1.
60 * registryd/deviceeventcontroller.c:
62 (DEControllerPrivateData): Added fields for
63 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
64 (spi_dec_replace_map_keysym): New internal utility for
65 replacing a keysym in the keymap - used to allow
66 synthesis of individual characters which aren't in the
68 (spi_dec_reset_reserved): New; resets the changed keysym value
70 (keycode_for_keysym): We now try to deal with failed
71 XKeysymToKeycode requests by changing a keymap value
72 and returning a reserved keycode. We now take
73 a DEController pointer as first arg.
74 (spi_controller_register_with_devices): Call XkbGetMap with
75 the XkbKeySymsMask. Find the highest keycode in the current
76 keymap which doesn't have any grabs, and mark that one for
77 temporary re-mapping when out-of-range KeySyms are synthesized.
78 (dec_synth_keycode_press): Call XFlush after synthesizing the key
81 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
83 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
85 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
87 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
89 2004-03-24 Bill Haneman <billh@gnome.org>
92 (AccessibleTable_addRowSelection),
93 (AccessibleTable_addColumnSelection),
94 (AccessibleTable_removeRowSelection),
95 (AccessibleTable_removeColumnSelection):
96 Add declarations for spi wrappers which were
97 inadvertantly omitted. Fixes bug #133413.
100 Revved to 1.5.0 (unstable series for GNOME 2.7).
102 2004-03-24 Bill Haneman <billh@gnome.org>
104 * atk-bridge/bridge.c:
105 Bracketed some debug output in
106 conditionals, to avoid printing it in normal use.
109 * libspi/hyperlink.c:
110 Don't cast 'object' to ATK_OBJECT when constructing
111 an AtkAction interface for a hyperlink.
112 See discussion in bug #120659.
114 * test/key-listener-test.c:
115 (report_all_key_event): Send output to stderr,
116 not stdout, for consistency with the rest of the test callbacks.
119 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
120 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
121 Incremented to 1.4.1 (but didn't dist yet - I'm going to
122 try incrementing the revision AFTER doing a dist, at least
125 2004-03-22 Bill Haneman <billh@gnome.org>
127 * configure.in: Revved to 1.4.0, libtool 9.14.9
129 2004-03-17 Laszlo Peter <laca@sun.com>
131 * libspi-1.0-uninstalled.pc.in: add idldir
133 * cspi-1.0-uninstalled.pc.in: add idldir
135 2004-03-16 Gareth Owen <gowen72@yahoo.com>
137 * configure.in: Added "en_GB" to ALL_LINGUAS
139 2004-03-15 Bill Haneman <billh@gnome.org>
141 * configure.in: Revved to 1.3.16,
144 2004-03-15 Laszlo Peter <laca@sun.com>
146 * libspi-1.0-uninstalled.pc.in: new file
148 * cspi-1.0-uninstalled.pc.in: new file
150 * configure.in: add the new pc files to AC_OUTPUT
152 * Makefile.am: add the new pc files to EXTRA_DIST
154 2004-03-12 Bill Haneman <billh@gnome.org>
156 * atk-bridge/bridge.c:
157 (spi_atk_bridge_key_listener):
158 Make sure to return consumed=FALSE if snoop
159 event is not dispatched to listener.
162 2004-03-01 Bill Haneman <billh@gnome.org>
164 * configure.in: Revved to 1.3.15,
167 2004-03-07 Danilo Segan <dsegan@gmx.net>
169 * configure.in: Added "sr@ije" to ALL_LINGUAS.
171 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
173 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
175 2004-03-01 Bill Haneman <billh@gnome.org>
177 * configure.in: Revved to 1.3.14.
180 (SPI_exit): Removed "bye-bye" exit message.
181 Moved "leak" report to happen before the
182 iteration over the leaked refs list.
183 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
185 2004-02-24 Bill Haneman <billh@gnome.org>
187 * configure.in: Revved to 1.3.13.
189 * docs/reference/cspi/Makefile.am:
190 Correct typo that was breaking the docs build.
192 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
194 * autogen.sh: Require version 1.7 of automake.
196 * configure.in: call GTK_DOC_CHECK([1.0])
198 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
200 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
202 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
204 * test/Makefile.am: Remove use of CFLAGS.
206 This fixes bug #132987.
208 2004-02-11 Bill Haneman <billh@gnome.org>
210 * reverted most of Tomasz' patch below, since it was breaking
211 builds (see bug #134058).
213 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
215 * docs/reference/cspi/at-spi-cspi.types: added empty file for
216 correct pass "make dist" (empty .. because seems no sach types in
217 header files with gtk-doc markups).
218 * docs/reference/cspi/Makefile.am, configure.in:
219 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
220 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
221 * Makefile.am: added:
222 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
223 for force correct pass generate documentation on "make distcheck".
224 * libspi/Makefile.am: fixes for automake >= 1.6.
225 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
226 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
229 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
231 * docs/reference/cspi/Makefile.am (install-data-local): Install
232 index.sgml since the doc autobuilder on widget.gnome.org looks for
235 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
237 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
240 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
242 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
244 2004-01-27 Brian Cameron <brian.cameron@sun.com>
246 * test/simple-at.c: Fixed null string problems that cause core
247 dumping problems on Solaris.
249 2004-01-12 Bill Haneman <billh@gnome.org>
251 * configure.in: Incremented version to 1.3.11.
253 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
255 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
256 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
259 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
261 * configure.in: Added "fa" to ALL_LINGUAS.
263 2003-12-20 Arafat Medini <lumina@silverpen.de>
265 * configure.in: Added "ar" to ALL_LINGUAS
267 2003-12-16 Bill Haneman <billh@gnome.org>
269 * registryd/registry-main.c:
271 Set the reg_env DISPLAY variable before registering the
272 activated registry service. Fixes bug #129479.
274 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
276 * configure.in: Added "id" in ALL_LINGUAS
277 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
279 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
281 * registryd/deviceeventcontroller.c (global_filter_fn):
282 When an event is consumed discard any XEvents were added to
283 the queue while dealing with the the event. This can happen if
284 processing of the event takes a long time. Call XUngrabKeyboard
285 if an event was discarded. This fixes bug $124837.
286 Only call wait_for_release_event for a KeyPress.
287 Use local variable display instead of spi_get_display().
288 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
291 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
293 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
294 Allow for mask to contain values other than NumLock mask.
297 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
299 * registryd/devieceventcontroller.c:
300 (wait_for_release_event): Change first parameter from GdkEvent to
302 (global_filter_fn); Correct call to wait_for_release_event.
306 2003-12-08 Bill Haneman <billh@gnome.org>
310 * registryd/ucs2keysym.c: New file.
312 * registryd/deviceeventcontroller.c:
313 (dec_keysym_for_unichar): Remove old partial implementation and
314 replace with call to ucs2keysym(), which is much more complete.
315 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
320 2003-12-05 Bill Haneman <billh@gnome.org>
322 * configure.in: Version 1.3.9.
324 * docs/reference/cspi/tmpl/spi_registry.sgml:
325 Added reference to libspi/keymasks.h to the
326 description of Registry queries: AccessibleKeyMaskType.
329 2003-12-04 Bill Haneman <billh@gnome.org>
333 * idl/Accessibility_Application.idl:
334 (Accessibility::LOCALE_TYPE): New enum, corresponds to
335 setlocale's LC_TYPEs.
336 (Accessibility::Application::getLocale): New method.
337 Allows clients to query the locale, by type, of an app.
340 * cspi/spi_application.c:
341 (AccessibleApplication_getLocale): New method, wraps IDL above.
343 * libspi/application.c:
344 (spi_application_class_init): Init epv entry for getLocale.
345 (impl_accessibility_application_get_locale): Impl for above.
347 * test/test-simple.c:
348 (test_application): Added assertion for getLocale, i.e.
349 that the string from AccessibleApplication_getLocale (app, type)
350 is the same as that from setlocale (type, NULL);
352 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
354 *registryd/deviceeventcontroller.c: Add an idle handler which polls
355 the keyboard on a timeout intil the key state goes from pressed to
356 released. Fixes bug #111429.
358 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
360 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
361 root object so that it is present when a context menu in an
362 out-of-process applet is popped up.
363 (spi_atk_bridge_do_registration): Create acceessible application root
364 object only if it does not exist.
366 This fixes bug #125834.
368 2003-12-01 Bill Haneman <billh@gnome.org>
370 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
373 Added enum for AccessibleStreamableContentSeekType.
374 (AccessibleStreamableContent_freeContentTypeList): New.
376 * cspi/spi_streamablecontent.c:
377 (accessible_bonobo_stream_client_seek): New private method.
378 (AccessibleStreamableContent_seek): Implemented this method,
379 using Bonobo_Stream_seek.
380 (AccessibleStreamableContent_freeContentTypeList): New method
381 for freeing the return value from
382 AccessibleStreamableContent_getContentTypes.
383 (stream_cache_item_free): Replaces stream_release; stop leaks.
384 (stream_release): removed.
385 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
386 free the memory properly.
388 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
392 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
394 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
396 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
398 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
400 2003-12-01 Bill Haneman <billh@gnome.org>
402 Fix for bug/rfe #127463.
404 * idl/Accessibility_Accessible.idl:
405 (getLocalizedRoleName): New.
406 (unimplemented4): Removed (replaced by above).
408 * libspi/accessible.c:
409 (impl_accessibility_accessible_get_local_role_name): New.
410 (spi_accessible_class_init): Add getLocalizedRoleName entry to
414 (Accessible_getLocalizedRoleName): New.
416 * cspi/spi_accessible.c:
417 (Accessible_getLocalizedRoleName): New.
419 2003-12-01 Bill Haneman <billh@gnome.org>
422 * idl/Accessibility_Text.idl:
423 (getDefaultAttributes): New.
424 (unimplemented4): Removed (replaced by above method).
427 (impl_getDefaultAttributes): New method.
428 (spi_text_class_init):
429 initialize the get_default_attributes slot in the epv.
432 (AccessibleText_getDefaultAttributes): New prototype.
435 (AccessibleText_getDefaultAttributes): New method.
437 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
439 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
440 write beyond the end of the table. Fixes bug #120473.
442 2003-09-30 Christian Rose <menthos@menthos.com>
444 * configure.in: Added "eu" to ALL_LINGUAS.
446 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
448 * configure.in: ALL_LINGUAS: Added no.
450 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
452 * configure.in: Added lt to ALL_LINGUAS.
454 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
456 * atk-bridge/bridge.c:
457 (atk_bridge_init): Register event listeners always even for
458 out-of-process applet.
459 (spi_atk_bridge_toplevel_added): Remove call to
460 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
461 (spi_atk_bridge_toplevelk_removed): Remove call to
462 spi_atk_deregister_event_listenersa as the listeners are now always
464 (spi_atk_bridge_register_application): Remove call to
465 spi_atk_register_event_listeners as it is not done in atk_bridge_init
467 This fixes bug #120991.
469 * libspi/table.c (impl_getColumnDescription): Correct typo,
470 pointed out by Bolian.Yin@sun.com.
472 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
474 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
476 2003-09-08 Bill Haneman <billh@gnome.org>
478 * configure.in: Revved to 1.3.7.
480 This is the GNOME 2.4.0 release of at-spi.
482 * docs/reference/cspi/Makefile.am:
483 Removed spurious inclusion of 'index.sgml' in the
484 html directory; this was breaking make distcheck and
485 also some other build environments.
487 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
489 * registryd/registry.[ch}:
490 Add queue_handler_id and focus_object to SpiRegistry data structure.
491 (registry_flush_event_queue): If event being discarded is
492 "state-change:focused" store object as focus_object.
493 (registry_start_queue): Remove queue handler and focus object
495 (registry_discard_event): New function which discards a focus event
496 if we had stored focus object in the registry.
497 (registry_queue_event): Add new check that is_queueing is set as this
498 function is reentrant.
499 (registry_filer_event): Add call to registry_discard_event.
501 This resolves issues raised in bug #108664.
503 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
505 * configure.in: Added "bn" to ALL_LINGUAS.
507 2003-09-04 Bill Haneman <billh@gnome.org>
509 * cspi/spi_event.c: Documentation improvements for
510 (SPI_registerAccessibleKeylistener).
512 * docs/reference/tmpl/spi_registry.sgml:
513 Documentation improvements for SpiAccessibleKeylistenerCB.
515 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
517 * configure.in: Added "ro" to ALL_LINGUAS.
520 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
522 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
523 not decremented to zero. Fixes bug #120725.
525 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
527 * configure.in: Added "ja" to ALL_LINGUAS.
529 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
531 * configure.in: Added "is" to ALL_LINGUAS.
533 2003-08-22 Christian Rose <menthos@menthos.com>
535 * configure.in: Added "nl" to ALL_LINGUAS.
537 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
539 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
540 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
542 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
544 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
545 type for unspecified exception.
546 * cspi_streamablecontect): Add include of string.h for memcpy.
547 (stream_release): Correct call to bonobo_object_release_unref
548 (stream_cache_item_free): Correct call to bonobo_object_release_unref
549 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
550 argument of _cspi_expection_throw.
551 * libspi/hyperlink.c: Add include of libspi/action.h:
552 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
553 * libspi/streamablecontent.c: add include of libspi/component.h.
554 * regisrtyd/deviceeventcontroller.c:
555 (spi_dec_translate_mask): Removed unused variable priv.
556 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
557 * registryd/registry.c:
558 (registry_filter_event): Remove unused variable queue_is-empty.
559 (impl_registry_notify_event): Use correct modifier in fprintf call.
561 This fixes compiler warnings reported in bug #120220.
563 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
565 * registryd/registryd.c: Remove this file.
567 2003-08-17 Sanlig Badral <badral@openmn.org>
569 * configure.in: Added mn to ALL_LINGUAS.
571 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
573 * configure.in: Added et to ALL_LINGUAS.
575 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
577 * test/event-listener-test.c: Change active-descendant to
578 active-descendant-changed.
580 2003-08-10 Sami Pesonen <sampeson@iki.fi>
582 * configure.in: Added "fi" in ALL_LINGUAS.
584 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
586 * configure.in: Added "hi" in ALL_LINGUAS.
588 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
590 * configure.in: Revved to 1.3.6.
594 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
596 * registryd/deviceeventcontroller.c
597 (spi_device_event_controller_object_finalize): Fix typo in previous
600 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
602 * registryd/deviceeventcontroller.c
603 (spi_device_event_controller_object_finalize): Fix build on
604 systems without XEvIE.
606 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
608 * acconfig.h, configure.in, registryd/Makefile.am,
609 registryd/devicecontoller.[ch]: Add XEViE support.
611 2003-08-06 Wang Jian <lark@linux.net.cn>
613 * configure.in: Added "zh_CN" to ALL_LINGUAS.
615 2003-08-06 Metin Amiroff<metin@karegen.com>
617 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
619 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
621 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
622 MODIFIER_ALT in correct place.
624 This fixes part of bug #118114.
626 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
628 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
630 2003-07-28 Changwoo Ryu <cwryu@debian.org>
632 * configure.in: Added "ko" to ALL_LINGUAS.
634 2003-07-28 Ole Laursen <olau@hardworking.dk>
636 * configure.in: Added "da" to the commented out ALL_LINGUAS.
638 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
640 * configure.in: Added "sq" to ALL_LINGUAS.
642 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
644 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
646 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
648 * configure.in: updated ALL_LINGUAS list
650 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
652 * configure.in: Added Belarusian to ALL_LINGUAS.
654 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
656 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
658 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
659 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
661 This fixes bug #116949.
663 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
665 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
666 Correct CSPI to SPI in function documentation.
668 This fixes bug #118054.
670 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
672 * configure.in: Added Russian to ALL_LINGUAS.
674 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
676 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
678 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
680 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
682 2003-07-10 Joel Brich <joel.brich@laposte.net>
684 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
686 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
688 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
690 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
692 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
693 resources allocated for AccessibleEvent. See cspi_event().
695 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
696 static variable streams to NULL.
698 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
699 Update so that AcessibleEvent_ref will work.
701 This fixes bug #116624.
703 2003-07-06 Jordi Mallach <jordi@sindominio.net>
705 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
707 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
709 * configure.in: Added "fr" (French) to ALL_LINGUAS.
711 2003-07-02 Christian Neumair <chris@gnome-de.org>
713 * configure.in: Added "de" (German) to ALL_LINGUAS.
715 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
717 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
719 2003-07-01 Miloslav Trmac <mitr@volny.cz>
721 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
723 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
725 * configure.in: Added "pl" to ALL_LINGUAS.
727 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
729 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
731 2003-06-30 Bill Haneman <bill.haneman@sun.com>
734 (get_action_from_servant):
735 Removed assertion that action is implemented on an AtkObject.
737 * libspi/hyperlink.c:
739 Aggregate AccessibleAction interface on the hyperlink object if
740 the object implements AtkAction. (This convention is used in
743 2003-06-30 Bill Haneman <bill.haneman@sun.com>
745 * configure.in: Revved to 1.3.5.
747 * registryd/Accessibility_Registry.server.in.in:
748 Marked up appropriate strings for translation.
750 * atk-bridge/bridge.c: Marked a couple of
751 user-visible warnings for translation. Questionable
752 whether they are really useful, but possibly so.
755 2003-06-28 Christian Rose <menthos@menthos.com>
757 * configure.in: Added "sv" to ALL_LINGUAS.
759 2003-06-26 Bill Haneman <bill.haneman@sun.com>
761 * registryd/registry.c:
762 (spi_registry_object_finalize): Unref the deviceeventcontroller.
763 (registry_defer_on_event): Defer focus: events, this is an
764 improvement to the patch for bug #108664.
766 * TODO: Update with 2.4/"Dev Complete" items.
768 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
770 * atk-bridge/bridge.c:
771 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
772 looks up signals once.
773 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
774 if doing registration.
775 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
776 when doing registration.
778 This fixes bug #115014.
780 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
782 * atk-bridge/bridge.c:
783 (atk_bridge_init): Add signal handler for children-changed:remove on
784 root when in a BonoboComponent.
785 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
786 for first toplevel only other incrememt variable toplevels.
787 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
788 application and remove listeners.
789 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
791 (spi_atk_deregister_event_listeners): New function which removes
793 (reinit_register_vars): New fuction which reinitializes variables.
795 This fixes bug #111578.
797 2003-06-13 Bill Haneman <bill.haneman@sun.com>
799 * configure.in: version 1.3.4.
801 * cspi/spi_accessible.c:
802 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
805 2003-06-13 Michael Meeks <michael@ximian.com>
807 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
809 * cspi/spi_main.c (cspi_peek_ev): impl.
811 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
813 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
815 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
817 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
818 SPI_ROLE_AUTOCOMPLETE
820 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
822 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
823 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
825 2003-06-11 Bill Haneman <bill.haneman@sun.com>
827 * libspi/streamablecontent.h:
828 * libspi/streamablecontent.c:
829 New files, provide implementation/wrappers for
830 Accessibility_StreamableContent.
832 * cspi/spi_streamablecontent.c:
833 Connected the C wrappers to the libspi C bindings.
834 (AccessibleStreamableContent_close): New method.
837 (AccessibleStreamableContent_close): New method, needed
838 since we have an "open, [seek], read, close" model in cspi.
840 2003-06-11 Bill Haneman <bill.haneman@sun.com>
842 Fix for #108664; Padraig's revision of my original patch.
844 * registryd/registry.h:
845 Added event queue list, is_queuing, and exit_notify_timeout
846 to the registry struct.
848 * registryd/registry.c:
849 (registry_init): Initialize new struct from registry.h.
850 (impl_registry_notify_event):
851 Filter events before notifying, in case some need to be
853 (registry_filter_event): New,
854 we defer certain incoming events (for instance
855 window:deactivate) because we may wish to hide
856 or reject them based on pending events. This is
857 mostly a workaround for bug #108664.
858 (registry_queue_event, registry_start_queue): New.
859 (registry_defer_on_event): Test event to see if it
861 (registry_reset_on_event): Returns TRUE if the
862 event should cause a queue reset.
863 (registry_discard_on_event): Returns TRUE if the event
864 should cause the previous queue contents to be discarded.
865 (registry_timeout_flush_queue): Flushes the pending event
866 queue if no reset/discard-triggering events have come in
867 within the timeout period.
868 (registry_emit_event): New.
869 (registry_clone_notify_context): New, used when queueing the
870 event notify contexts.
872 2003-06-10 Bill Haneman <bill.haneman@sun.com>
874 * configure.in: Version revved to 1.3.2, lt 0.9.2
875 Incremented ATK required version to 1.3.4.
877 * cspi/spi_registry.c:
878 (SPI_generateKeyEvent):
879 We now pass the keystring along if it's non-null.
881 * registryd/deviceeventcontroller.c:
882 (keysym_mod_mask): New method, returns modifier mask
883 required to generate a keysym from a given keycode.
884 (dec_synth_keysym): New method.
885 (dec_synth_keystring): New method.
886 (dec_get_modifier_state): New method.
887 (dec_lock_modifiers): New
888 (dec_unlock_modifiers): New.
889 (dec_keysym_for_unichar): New, rather brute-force
890 conversion from UCS-4 to X KeySyms. Only works for
891 Latin at the moment, with partial implementations for
892 Greek, Hebrew, and (incomplete) Katakana.
893 (impl_generate_keyboard_event): Now implement
894 "KEYSTRING" synthesis and implement "KEYSYM"
896 (keycode_from_keysym): Improved, passes a returned
897 modmask value now if the corresponding param is non-NULL.
899 Fixes bugs #92143 and #109776.
902 * test/keysynth-test.c:
903 New test program for key synthesis, to confirm fixes for
907 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
909 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
911 * cspi/spi_accessible.c (cspi_init_relation_type_table):
912 Add line for RELATION_POPUP_FOR
914 * docs/reference/cspi/tmpl/spi_relation.sgml:
915 Add relation SPI_RELATION_POPUP_FOR
917 * docs/reference/cspi/tmpl/spi_stateset.sgml:
918 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
920 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
922 * libspi/relation.c (spi_init_relation_type_table):
923 Add line for RELATION_POPUP_FOR
925 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
927 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
928 there are still windows which have not been deleted and emit
929 window:deactivate, if necessary and window:destroy events.
930 This fixes bug #114370. The change on June 5th was not correct.
932 2003-06-09 Bill Haneman <bill.haneman@sun.com>
934 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
937 (SPI_dupString): Allow dup-ing of a string such that it's safe to
939 New methods for client exception handling and interception.
940 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
941 (SPI_exceptionHandlerPop): You guessed it...
942 (SPI_getSourceType): Return the type of object which offended.
943 (SPI_getExceptionCode): Return an enum code telling, possibly,
944 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
945 (SPIAccessibleException_getSource): get the source object for
946 exceptions that come from Accessibles, if SPIExceptionSourceType is
947 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
948 (SPIException_getDescription): New, returns a string description of
949 the problem. [Not yet a stable ABI, strings are not frozen]
951 * cspi/spi-private.h:
952 Added implementation details of opaque SPIException
956 Implementations of above. Also
957 (_cspi_exception_throw): new private method that
958 dispatches exceptions to handlers, called from cspi-bonobo.c
960 * cspi/bonobo/cspi-bonobo.c:
961 (cspi_check_ev): call _cspi_exception_throw.
962 Don't print a warning message if the exception has been
963 handled by _cspi_exception_throw.
965 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
967 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
968 there are still windows which have not been deleted and emit
969 window:deactivate, if necessary and window:destroy events.
970 This fixes bug #114370.
972 2003-06-03 Bill Haneman <bill.haneman@sun.com>
975 (cspi_accessible_is_a): Make non-fatal
976 if the object reference is dead.
978 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
980 * cspi/spi_main.c: #include <stdio.h>
981 * test/simple-at.c: ditto
982 * test/event-listener-test.c: ditto
983 * test/screen-review-test.c: ditto
985 2003-05-30 Michael Meeks <michael@ximian.com>
987 * test/test-simple.c (main): use CORBA_ORB_perform_work
988 instead of an unnecessary linc_ call.
990 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
992 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
993 Add SPI_STATE_INDETERMINATE.
995 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
998 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1000 * libspi/stateset.c (init_state_type_tables): Add support for
1003 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1005 * configure: Update versions of atk and gail required.
1006 This fixes bug #113268.
1008 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1010 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1012 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1014 * libspi/Makefile.am:
1015 Ensure headers are generated before being used by c sources.
1017 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1020 Simplified lt versioning rules.
1021 Incremented version to 1.3.0, to indicate that we're on the
1022 unstable branch now.
1024 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1026 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1027 Add MKDB_OPTIONS=--outtput-format=xml
1029 * docs/reference/cspi/at-spi-cspi-docs.sgml
1030 docs/reference/idl/at-spi-idl-docs.sgml:
1031 Convert to Docbook XML.
1033 This fixes bug #111793.
1035 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1037 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1038 AcccessibleKeyEventType, AccessibleKeyMaskType.
1040 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1042 * cspi/state-types.h: Add documentation for AccessibleState.
1044 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1045 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1046 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1047 AccessibleComponentLayer.
1049 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1052 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1054 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1055 Accessible. Add description of AccessibleEvent,
1056 AccessibleEventListenerCB.
1058 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1061 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1062 documentation. Add description of AccessibleKeystrokeListenerCB,
1063 AccessibleKeyEventMask, AccessibleModifierMaskType,
1064 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1065 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1067 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1070 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1073 This fixes bug #104730.
1075 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1077 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1078 Set is_text field of Accessibility_DeviceEvent data structure.
1080 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1081 is-text field of AccessibleDeviceEvent data structure.
1083 This addresses part of bug #108666.
1085 * registryd/devcieeventcontroller.c: Unset debug option.
1087 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1089 * cspi/accessible.c:
1090 (cpi_initial_relation_type_table): New function which initializes
1091 mapping between Accessibility_RelationType and AccessibleRelationType.
1092 (cspi_relation_type_from_spi_relation_type): New function which
1093 translates an Accessibility_RelationType into an AccessibleRelationType.
1094 (AccessibleRelation_getRelationType): Use
1095 cpi_relation_type_get_spi_relation_type to return correct value.
1096 (spi_state_to_corba): Return correct type for default case.
1098 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1099 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1101 * cspi/cspi-bonobo-listener.c:
1102 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1105 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1106 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1107 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1108 libspi/image.c, libspi/listener.c, libspi/selection.c,
1109 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1110 registryd/desktop.c, registryd/registry.c:
1111 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1113 * libspi/eventlistener.c
1114 Remove semicolon after BONOBO_TYPE_FUNC.
1116 * libspi/relation.c:
1117 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1118 (spi_init_relation_type_table): Initialize using correct type.
1120 * registryd/desktop.c:
1121 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1122 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1123 of Accessibility_KeyEventType.
1125 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1128 * tests/simple-at.c, tests/screen-review-test.c:
1129 Add include for <strings.h>.
1131 * tests.stress-test.c:
1132 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1134 These changes fix compiler warnings when using FORTE compiler on
1135 Solaris; fixes bug #107479.
1138 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1141 * configure.in: revved to 1.1.10
1143 * libspi/keymasks.h:
1144 (SPI_KEYMASK_NUMLOCK): Added.
1146 * registryd/deviceeventcontroller.c:
1147 (spi_key_event_matches_listener): AND with a smaller
1148 bitmask (as we should).
1149 (spi_dec_translate_mask):
1150 New method, sets the virtual NumLock modifier bit
1151 if numlock is on. Eventually it can handle other virtual
1152 modifier bits if needed, or other marshalling from
1153 at-spi modifier masks to platform (X) masks.
1154 (spi_dec_key_listener_new):
1155 Call spi_dec_translate_mask to set up virtual mod bits
1156 in the 'mask' field when creating a new listener struct.
1157 (spi_dec_emit_modifier_event):
1158 Set the virtual (i.e. NumLock) bits before emitting event.
1159 (spi_controller_register_with_devices):
1160 Query for the NumLock modifier 'physical' bit if Xkb is
1161 present, for use in above methods.
1165 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1167 * registryd/deviceeventcontroller.c:
1168 (spi_keystroke_from_x_key_event):
1169 Instead of checking to see if the keysym is
1170 printable, check the string from XLookupString
1171 if available, get the first unicode character from it,
1172 and call g_unichar_isprint to determine whether the
1173 is_text flag should be TRUE or FALSE.
1177 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1179 * atk-bridge/bridge.c: Add support for extended events
1180 * cspi/spi_event.c: Add documentation and implementation for
1182 * tests/event-listener-test.c: Add tests for extended events.
1184 This fixes bugs #100424 and #100426.
1186 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1188 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1189 of LT_CURRENT. This fixes bug #89350.
1191 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1193 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1194 number of signal parameter values before accessing them. This fixes
1197 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1199 * configure.in: Fixed duplicate inclusion of -lspi.
1200 * branched for gnome-2-2/HEAD.
1201 [created tag "gnome-2-2"]
1203 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1205 * configure.in: 1.1.9 release.
1208 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1210 [needed by GOK, to fix bugs 107985 and 107988]
1211 * registryd/deviceeventcontroller.c:
1212 (spi_dec_clear_unlatch_pending):
1213 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1214 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1215 (spi_dec_init_mouse_listener):Emit warning if mouse button
1217 (spi_device_event_controller_forward_mouse_event):
1218 Removed unnecessary parens from a conditional.
1219 (global_filter_fn):Added TODO comment.
1220 (impl_generate_keyboard_event):
1221 Cancel a pending relatch if a 'delatching' key was
1224 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1226 * atk-bridge/bridge.c:
1227 Change atk_signal_child_changed to atk_signal_children_changed.
1228 Reorganize code in spi_atk_bridge_signal_listener().
1230 * test/event-listener-test.c:
1231 Add children_changed_listener and report_children_changed_event()
1232 to test AccessibleChildEvent_getChildAccessible.
1234 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1236 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1237 g_strdup to CORBA_String_dup (bug #105291)
1239 * test/event-listener-test.c (report_text_event): Add call to
1242 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1244 * registryd/deviceeventcontroller.c:
1245 (spi_keystroke_from_x_key_event):
1246 Fix string and keysym return codes to match modifier state.
1249 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1251 * registryd/deviceeventcontroller.c:
1252 (spi_keystroke_from_x_key_event):
1253 Fix segv due to improper use of isprint(c). [bug #107254]
1255 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1258 (get_accessible_text_boundary_type):
1259 Move default return value to (new) default case in switch.
1260 (get_accessible_text_clip_type):
1261 Move default return value to (new) default case in switch.
1263 * libspi/application.c:
1264 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1265 Remove unused methods.
1266 (impl_accessibility_application_register_object_event_listener):
1267 Remove unused methods.
1270 Added #include of <math.h>.
1272 * registryd/deviceeventcontroller.c:
1273 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1274 we don't currently use this method.
1275 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1277 (impl_generate_key_event):
1278 Remove unused variables.
1279 (impl_generate_mouse_event):
1280 Initialize button to zero, just in case we get an invalid
1281 input. Added support for mouse buttons 4 and 5.
1282 (spi_device_event_controller_new):
1283 Removed unused variable declaration for 'private'.
1285 Added #include of <gdk/gdk.h>
1287 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1289 * configure.in: Update to work when X is not installed in expected
1290 location. Fixes bug #105836.
1292 * atk-bridge/bridge.c
1293 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1295 (spi_atk_register_event_listener): Add signal listener for
1297 (spi_atk_bridge_signal_listener): Event event when link-selected
1298 signal is emitted. (bug #104622)
1300 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1301 on returned string. (bug #105291)
1303 * test/event-listener-test.c: Add test for link-selected.
1305 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1307 * atk-bridge/Makefile.am: Correct typo in previous commit.
1309 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1311 * atk-bridge/Makefile.am: Allow for build directory to be different
1312 from source directory
1314 * registryd/Makefile.am: Allow for build directory to be different
1315 from source directory
1319 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1322 Fixed dependencies for libcspi so that libspi gets pulled in
1323 properly. Fixes 104741.
1327 Clean up inline docs a little.
1329 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1331 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1332 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1333 the AtkObject within an SpiDesktop.
1334 This addresses bug #101524.
1336 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1337 Remove call to gdk_init().
1339 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1340 so that Display is set when SpiDesktop is created.
1342 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1344 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1345 This fixes bug #102830.
1347 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1349 * test/test-simple.c: Update to take account of fact that GailButton
1350 now implements AtkText.
1351 (create_text_window): Set name on AtkObject for GtkEntry.
1352 (validate_accessible): Check accessible name before calling test_text().
1354 * libspi/Makefile.am: Fix problem with building outside of source
1355 directory. Bug #98120.
1357 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1358 typo in documentation comments. Bug #94275.
1360 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1362 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1364 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1367 Add includes to avoid compiler warnings on Solaris.
1368 (impl_getRangeExtents): Bug fix.
1370 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1372 Fix for 100944, [API addition approved by Gman and murrayc].
1379 * idl/Accessibility_Text.idl:
1380 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1381 (Text::getRangeExtents): New method for efficient
1382 bounds query of a text range.
1383 (Text::getBoundedRanges): New method for efficient
1384 clipping of text to bounding boxes.
1385 (unImplemented7, unImplemented8):
1386 Removed these padding methods to preserve bincompat.
1389 (impl_getRangeExtents): implementation of new IDL.
1390 (impl_getBoundedRanges): implementation of new IDL.
1391 (SpiTextRect): Internal use struct.
1392 (_spi_text_rect_union): internal method, calculates union of two
1393 SpiTextRect bounding rects.
1394 (_spi_text_range_seq_from_gslist): internal method, allows us
1395 to build our sequence efficiently as a gslist then convert it
1397 (_spi_bounds_contain): internal method, determines whether
1398 a text character is "in" or "out" of a clip rect according to
1399 values of TEXT_CLIP_TYPE.
1400 (spi_text_class_init): Initialize the new methods in the epv.
1403 (AccessibleTextClipType): New enum used by screen review api.
1404 (AccessibleTextRange): New struct used by screen review api.
1405 (AccessibleText_getRangeExtents):
1406 cspi binding for Accessibility_Text_getRangeExtents.
1407 (AccessibleText_getBoundedRanges):
1408 cspi binding for Accessibility_Text_getBoundedRanges.
1409 (AccessibleTextRange_freeRanges): convenience method.
1412 (AccessibleText_getRangeExtents):
1413 cspi binding for Accessibility_Text_getRangeExtents.
1414 (AccessibleText_getBoundedRanges):
1415 cspi binding for Accessibility_Text_getBoundedRanges.
1416 (AccessibleTextRange_freeRanges): convenience method.
1417 (get_accessible_text_clip_type): internal conversion method.
1418 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1420 * registryd/deviceeventcontroller.c:
1421 (spi_dec_mouse_check):
1422 Improved behavior for mouse:abs events
1423 [same granularity as mouse:rel events, and no
1424 events when mouse is idle].
1426 2002-12-16 Michael Meeks <michael@ximian.com>
1428 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1430 * libspi/stateset.c (state_spi_to_atk): split out
1431 ( fix several remote array bounds nasties )
1432 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1433 (impl_remove): make safe from array bounds issues.
1434 (spi_atk_state_from_spi_state): impl.
1436 * libspi/stateset.h (spi_state_set_cache_is_empty):
1437 add a set of wrapper defines to get layering right.
1439 * cspi/spi_accessible.c: update state set stuff to
1442 2002-12-14 Michael Meeks <michael@ximian.com>
1444 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1445 to avoid 2 roundtrips to the registry per key event
1446 (spi_atk_bridge_key_listener): upd.
1447 (deregister_application): release the dec.
1449 * registryd/registry.c (notify_listeners_cb):
1450 bin lots of re-enterant complexity - we no longer
1451 do a round-trip bonobo ref here, ensure that a single
1452 listener's exception failure won't poison all other
1454 (impl_registry_notify_event): bin obvious memory leak.
1456 2002-12-13 Michael Meeks <michael@ximian.com>
1458 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1459 init the ev so the error is meaningful.
1460 (spi_atk_bridge_key_listener): ditto.
1462 * cspi/spi_main.c (cspi_ev): init the ev so we start
1463 with a clean slate, otherwise the first exception
1464 kills us completely.
1466 * cspi/spi_text.c (get_accessible_text_boundary_type):
1467 add a fallthrough for no warnings.
1469 * cspi/spi_registry.c: prune unused warnings.
1471 * cspi/spi_main.c (cspi_object_take): fix
1472 mind-blowing brokenness ( by watching the compile
1475 * cspi/spi_accessible.c (Accessible_getStateSet):
1476 re-impl. to use an AtkStateSet.
1477 (spi_state_type_from_accessible_state),
1478 (init_state_table): bin these.
1480 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1482 (atk_state_set_from_accessibility_state_set): here.
1484 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1485 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1486 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1487 (AccessibleStateSet_add, AccessibleStateSet_remove),
1488 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1489 (AccessibleStateSet_isEmpty): re-write to use a local
1492 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1494 * configure.in: Revved to 1.1.7 (new keymask vals).
1496 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1498 * libspi/keymasks.h:
1499 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1501 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1504 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1505 to compare two CORBA_TypeCodes.
1506 (cspi_internal_event_add): Silence warning from FORTE compiler.
1508 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1509 avoid implicit declaration of functions.
1511 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1513 * atk-bridge/bridge.c:
1514 (spi_atk_bridge_init_event_type_consts): Store signal id for
1515 active-descendant-changed signal.
1516 (spi_atk_register_event_listeners): Add signal listener for
1517 active-descendant-changed signal,
1518 (spi_atk_bridge_signal_listener): Move code in function
1519 spi_atk-signal_emit_event() into this function.
1520 Add support for active-descendant-changed
1521 Update support for child-changed signal.
1522 (spi_bridge_window_event_listener): Silence warning.
1524 * libspi/spi_private.[ch]:
1525 (spi_init_any_object): Change second parameter from CORBA_Object to
1527 Omit call to CORBA_Object_duplicate().
1528 Set CORBA_any's _value to CORBA_Object*.
1530 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1536 (AccessibleEvent_ref, AccessibleEvent_unref):
1537 New methods, for persisting an event outside the emission context.
1538 Must be used if the new accessor methods are to be called
1539 outside of the event listener's callback.
1541 * cspi/bonobo/cspi-bonobo.c:
1542 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1543 as second parameter instead of NULL, so we can call
1544 cspi_check_ev afterwards.
1547 (cspi_object_take): New internal method,
1548 converts a CORBA_Object reference to a hard ref on
1549 an Accessible if possible, returning NULL if the object
1550 reference is invalid or an Accessible * otherwise.
1553 (AccessibleEvent_ref):
1554 Increment the event's internal private refcount, and
1555 add the event's internal struct to an internal cache
1556 if it's not already there.
1557 (AccessibleEvent_unref):
1558 Decrement the event's refcount and remove it from
1559 the cspi event cache if refcount==0.
1560 (cspi_event_compare): New private method.
1561 Compares two event structs via their ids. Used
1563 (cspi_internal_event_lookup): New private method.
1564 (cspi_internal_event_check): New private method,
1565 a 0-order sanity check for events to make sure their
1566 private data is intact.
1567 (cspi_internal_event_add, cspi_internal_event_remove):
1568 New private methods for managiing the event cache.
1570 * cspi/bonobo/cspi-bonobo-listener.c:
1572 Initialize the new private data elements (id, magic, ref_count).
1574 * atk-bridge/bridge.c:
1575 (spi_atk_bridge_signal_listener):
1576 Fixed bug #100530, passing wrong params to emission func.
1578 * registryd/deviceeventcontroller.c:
1579 (spi_dec_button_update_and_emit):
1580 Fixed type in mask bit operations; fix for #99799.
1582 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1584 Removed some of the more dangerous workarounds from
1585 previous commit; they are only needed by GOK, which
1586 in reality should be using another method to accomplish
1587 the goals. So on reconsideration some of the workarounds
1588 need to be reverted:
1590 * registryd/deviceeventcontroller.c:
1591 (spi_keycodes_contain, spi_dec_init_keycode_list):
1592 Removed these methods, used only by a nasty hack to try
1593 and detect whether a key synthesis should be allowed
1594 to reset the XKB latch state or not. This code was only
1595 required to work around an interaction between GOK,
1596 button events, and XKB.
1597 (impl_generate_key_event):
1598 Removed hack at end of key generation that tried to
1599 "do the right thing" if XKB latch keys were generated
1600 in the midst of button press/release pairs.
1603 Added a check for HAVE_XINPUT. Not normally used yet.
1605 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1607 Workarounds and fixes for mouse event/XKB interaction.
1609 * registryd/deviceeventcontroller.c:
1610 (spi_keycodes_contain, spi_dec_init_keycode_list):
1611 New internal methods.
1612 (spi_dec_set_unlatch_pending):
1613 Split the method that tells XKB to expect an
1614 unlatch (and revert it) out of the rest of the
1615 event handling code. This method is called by the
1616 two mouse event handlers (the poll and the filter).
1617 (spi_dec_update_and_emit, spi_dec_mouse_check):
1618 New methods split from spi_dec_poll_mouse_moved.
1619 The second one is now called from inside the filterFn
1620 when an XKB delatch event is received, to determine
1621 whether to revert the delatch or not.
1622 (spi_poll_mouse_moved): Refactor; also we can now
1623 properly handle the case where multiple button states
1624 have changed between polling cycles and we didn't get
1625 notified due to another client's grab.
1627 Synchronize the server while handling an XKB notification.
1628 Ugly, but apparently necessary to avoid nasty races.
1629 Check the mouse state on receipt of an XKB latch change,
1630 to decide whether to revert the latch or not. (Latches are
1631 reverted if there is an immediately preceding mouse button
1632 event that a client has consumed, in which case we don't want
1633 the user to see the side-effect of the event).
1634 (spi_device_event_controller_forward_mouse_event):
1635 Check for modifier events and fire before resetting mouse_mask_state,
1636 prevents losing modifier events.
1638 (impl_generate_keyboard_event):
1639 If we've just generated a keyboard event for a non-shift key,
1640 we don't want to revert the pending XKB latch.
1641 Otherwise, check the modifier state (via a call to
1642 spi_dev_mouse_check) and set the relatch mask to
1643 that state before returning.
1645 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1648 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1651 * atk-bridge/bridge.c:
1652 (spi_atk_register_event_listeners):
1653 Don't re-register for ATK events if the registry has died
1654 and the app needs to re-register; the ATK listeners are in
1655 process and doing so will cause duplicate emission.
1657 * registryd/deviceeventcontroller.c:
1658 (spi_poll_mouse_moved):
1659 Reformat the source, detect and emit multiple button-change
1660 events (i.e. if multiple buttons have changed between poll
1662 Add code to detect mouse-down events even when the pointer
1663 is grabbed; workaround for GOK bug 98420.
1664 (spi_controller_register_with_devices):
1665 Call XTestGrabControl with 'impervious' flag set to True,
1666 allows us to synthesize events and query the pointer even during
1667 an active grab by another client.
1668 (spi_device_event_controller_forward_mouse_event):
1669 Set the mouse_mask_state to the mouse_button_state from
1670 the intercepted event, to synchronize the grab listener with
1673 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1675 * cspi/spi_accessible.c:
1676 (AccessibleRole_getName):
1677 Added necessary strings for making this (deprecated)
1678 method work with the new role types.
1679 (init_role_table, role_table):
1680 Added definition of SPI_ROLE_APPLICATION.
1682 * libspi/spi-roletypes.h:
1683 Added SPI_ROLE_APPLICATION.
1685 * idl/Accessibility_Role.idl:
1686 Added ROLE_APPLICATION.
1688 * docs/reference/cspi/at-spi-cspi-decl.txt:
1689 Added SPI_ROLE_APPLICATION to docs.
1691 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1693 * cspi/spi_accessible.c
1694 (cspi_init_role_table): Do not write beyond end of role_table.
1695 (Accessible_getRole): Use correct type for value returned by
1696 Accessibility_Accessible_getRole().
1698 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1699 beyond end of role_table. (This fixes bug #98269)
1701 * libspi/application.c: Add include file spi-private.h for
1702 definition of spi_init_any_nil.
1704 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1708 * libspi/spi-private.h:
1709 Added DGB() macro, and extern int _dbg declaration.
1711 * registryd/registry.c:
1712 (definitions) storage for _dbg.
1713 (spi_registry_init):
1714 Get environment variable "AT_SPI_DEBUG".
1715 (spi_registry_set_debug):
1716 New method, to initialize _dbg value.
1717 (spi_listener_struct_new, spi_registry_object_finalize):
1718 (notify_listeners_cb):
1719 Changed fprintfs to use DBG and g_warning().
1721 * registryd/deviceeventcontroller.c:
1722 (_deregister_keygrab, spi_controller_register_device_listener):
1723 Changed debug/warning messages to use DBG macro.
1725 * libspi/listener.c:
1726 (impl_notify_event):
1727 Changed warning messages to use DBG macro and g_warning().
1729 * atk-bridge/bridge.c:
1730 (atk_bridge_init, spi_atk_bridge_get_registry):
1731 (spi_atk_bridge_exit_func):
1732 (spi_atk_bridge_property_event_listener):
1733 Changed status, warning, and error messages to use
1734 g_warning, g_message, and DBG macros.
1737 Read the state of the AT_SPI_DEBUG environment variable
1738 and set a local '_dbg' accordingly.
1740 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1742 FIXES for 98836, 98842, other bugs.
1745 Revved to 1.1.4, interface-age=4, binary-age=4.
1747 * registryd/deviceeventcontroller.c:
1749 Fixed crasher bug in last_mouse_pos initialization.
1751 * registryd/registry.c:
1752 (desktop_add_application, desktop_remove_application):
1753 Added (and then commented out) some support for
1754 object context marshalling. [TODO]
1756 * atk-bridge/bridge.c:
1757 (spi_atk_bridge_event_context_create):
1758 Commented out object context creation until it can
1759 be properly tested and debugged.
1761 * registryd/registry.c:
1762 (impl_registry_notify_event):
1763 Fixed crasher bug, we were calling
1764 spi_re_entrant_list_foreach () with an empty list.
1766 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1768 * idl/Accessibility_Action.idl:
1769 * idl/Accessibility_Component.idl:
1770 * idl/Accessibility_Desktop.idl:
1771 * idl/Accessibility_Event.idl:
1772 * idl/Accessibility_Hyperlink.idl:
1773 * idl/Accessibility_Image.idl:
1774 * idl/Accessibility_Relation.idl:
1775 * idl/Accessibility_Selection.idl:
1776 * idl/Accessibility_State.idl:
1777 * idl/Accessibility_Value.idl:
1778 Updated unimplemented slot count to minimum of
1779 four for all interfaces, for ABI freeze.
1781 * idl/Accessibility_EditableText.idl:
1782 * idl/Accessibility_Text.idl:
1783 Updated unimplemented slot count to six
1786 * idl/Accessibility_Registry.idl:
1787 Updated unimplemented slot count to six
1788 (also for DeviceEventController),
1791 * idl/Accessibility_Table.idl:
1792 Updated unimplemented slot count to eight,
1795 * idl/Accessibility_Event.idl:
1796 Added CORBA_any "any_data" member to Event struct.
1798 * idl/Accessibility_Event.idl:
1799 Added CORBA_any "any_data" member to Event struct.
1801 * atk-bridge/bridge.c:
1803 atk_signal_text_changed, atk_signal_child_changed,
1804 signal ids queried from gtype system.
1805 (AtkBridgeEventContextType): New enum.
1806 (AtkBridgeEventContextData): New struct.
1807 (AtkBridgeEventContext): New struct.
1808 (atk_bridge_init_event_type_consts):
1809 New method, initializes type contants for comparison
1810 prior to emit_eventv.
1811 (atk_bridge_event_context_init): New method,
1812 initializes a CORBA_any from an AtkBridgeEventContext.
1813 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1814 initialize the event.any_data struct.
1815 (spi_atk_bridge_event_context_create): New method,
1816 creates an AtkBridgeEventContext from signal/event info.
1817 (spi_atk_bridge_event_context_free): New method.
1818 (spi_atk_emit_eventv): Changed to take an
1819 AtkBridgeEventContext parameter. We now initialize
1820 the event.any_data member prior to notifying the
1821 Registry, via the AtkBridgeEventContext.
1822 (spi_atk_bridge_property_event_listener):
1823 (spi_atk_bridge_state_event_listener):
1824 Match emit_eventv signature.
1825 (spi_atk_bridge_object_event_listener):
1826 Match emit_eventv signature, and create an
1827 event context from the event details.
1828 Free the event context afterwards.
1829 (spi_atk_bridge_window_event_listener):
1830 Create an event context, pass it to the
1834 (AccessibleEvent_getContextString):
1835 (AccessibleEvent_getContextObject):
1836 New methods, allow query of AccessibleEvent objects
1837 for more context details (via the "any_data" member
1838 of the Event struct, above).
1841 Definitions for AccessibleEvent_getContextString
1842 and AccessibleEvent_getContextObject.
1844 * cspi/spi_listener.h:
1845 (InternalEvent): New struct.
1848 (AccessibleEvent_getContextString):
1849 (AccessibleEvent_getContextObject):
1850 Implementations of new methods, for obtaining
1851 additional context information from some event types.
1853 * cspi/spi_registry.c:
1854 (SPI_registerGlobalEventListener):
1855 Added mention of active-descendant-changed event in docs.
1857 * cspi/cspi-bonobo-listener.c:
1859 Marshal the any into the AccessibleEvent via
1862 * libspi/spi-private.h:
1863 #include <orbit/orbit.h>
1865 (spi_init_any_string):
1866 (spi_init_any_object):
1867 New convenience function declarations.
1871 (spi_init_any_string):
1872 (spi_init_any_object):
1873 New convenience function implementations.
1875 * registryd/deviceeventcontroller.c:
1876 (spi_poll_dec_mouse_moved):
1877 (spi_device_event_controller_forward_mous_event):
1878 Initialize any_data member of event.
1879 (spi_deregister_controller_device_listener):
1880 Fix incorrect param pass which was preventing deregistration.
1882 * registryd/registry.c:
1883 (desktop_add_application):
1884 (desktop_remove_application):
1885 Add object data to event's any_data before dispatch.
1887 Fix for error messages from GAIL.
1889 * test/event-listener-test.c:
1890 Test new ContextString and "any_data" API:
1891 (report_text_event): New method query and output context string.
1892 (main): register a new text listener with report_text_event
1895 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1897 Fixes for bugs 98127 and 97914.
1898 * cspi/spi-roletypes.h:
1899 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1901 * cspi/spi-statetypes.h:
1902 Added SPI_STATE_MANAGES_DESCENDANTS
1904 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1905 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1906 * cspi/spi_accessible.c:
1907 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1908 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1909 Accessibility_STATE_MANAGES_DESCENDANTS
1910 * libspi/accessible.c:
1911 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1912 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1913 As requested by Bill, I also cleaned up the alignment.
1914 * libspi/relation.c:
1915 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1916 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1917 * libspi/stateset.c:
1918 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1919 Accessibility_STATE_MANAGES_DESCENDANTS
1920 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1921 Document changes reflecting modifications to roles.
1922 * docs/reference/cspi/tmpl/spi_relation.sgml:
1923 Document changes reflecting modifications to relations.
1924 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1925 Document changes reflecting modifications to states.
1927 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1930 Revved to 1.1.3, interface-age=3, binary-age=3.
1931 Added REBUILD macro.
1934 Removed accessx-gui from the tests, since we have a nice
1935 keyboard accessibility capplet now :-)
1937 * test/keysynth-demo.c:
1938 (increment_scan): removed do-nothing default: case,
1941 * test/visual-bell.c:
1942 (main) : removed do-nothing default: case,
1945 * cspi/spi_action.c:
1946 (AccessibleAction_getKeyBinding_):
1947 Documented keybinding string format.
1951 (AccessibleText_getAttributes):
1952 Documented the text attribute string format.
1953 It's changed to use semicolon delimiters also,
1954 to prevent clashes with CSS attributes, but the old
1955 trick of looking for ", " strings will still work
1956 (as unreliably as ever). Fix for bug related to 97916.
1959 Include <cspi/bonobo/cspi-bonobo-listener.h>
1960 Fixes build warning.
1961 (SPI_freeAccessibleKeySet):
1962 (AccessibleKeystrokeListener_addCallback):
1963 (AccessibleKeystrokeListener_removeCallback):
1964 Modify to use AccessibleDeviceListener API internally,
1965 instead of AccessibleKeystrokeListener.
1967 * idl/Accessibility_Event.idl:
1968 Added two more empty slots to EventListener (for a total of four).
1970 * idl/Accessibility_Accessible.idl:
1971 Added four empty slots to Accessible interface.
1973 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1975 * idl/Accessibility_Registry.idl:
1976 (KeyEventType, EventType):
1977 Marked KeyEventType as deprecated; it duplicates
1978 functionality of EventType, which has been extended to
1979 include Mouse-button events.
1980 (KeyEventTypeSeq): defined in terms of EventType.
1981 (registerDeviceEventListener, deregisterDeviceEventListener):
1982 New methods, for managing listeners to device events,
1983 which potentially may consume them.
1986 Added definition for AccessibleDeviceListener.
1988 * cspi/spi-listener.h:
1989 (enum AccessibleDeviceEventType):
1990 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1991 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1992 for backwards compat.
1993 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1994 and typedef'd AccessibleKeystroke to it for back-compat.
1995 (AccessibleDeviceListenerCB):
1996 New function prototype typedef.
1999 (AccessibleDeviceEventMask): New typedef.
2000 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2001 (AccessibleKeyMaskType):
2002 Set equivalent to AccessibleModifierMaskType for back-compat.
2003 (SPI_createAccessibleKeystrokeListener):
2004 (AccessibleKeystrokeListener_unref):
2005 Deprecated in favor of equivalent (better-named) new API below..
2006 keystroke listeners are like all device listeners.
2007 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2008 New API names for old features :-).
2009 (AccessibleDeviceListener_addCallback):
2010 (AccessibleDeviceListener_removeCallback):
2011 (SPI_registerDeviceEventListener):
2012 (SPI_deregisterDeviceEventListener):
2016 (SPI_createAccessibleKeystrokeListener):
2017 Use new preferred API, cspi_device_listener_new() and
2018 cspi_device_listener_add_cb().
2019 (AccessibleKeystrokeListener_removeCallback):
2020 Use new preferred API, cspi_device_listener_remove_cb().
2021 (AccessibleKeystrokeListener_unref):
2022 Use new preferred API, cspi_device_listener_unref().
2023 (SPI_createAccessibleDeviceListener):
2024 (AccessibleDeviceListener_addCallback):
2025 (AccessibleDeviceListener_removeCallback):
2026 Implementation of new API.
2028 * cspi/spi_registry.c:
2029 (SPI_registerDeviceEventListener):
2030 (SPI_deregisterDeviceEventListener):
2031 Implementation of new API. Fixed memory leak and removed need to
2032 allocate EventTypeSeq (thanks Michael for catching this).
2033 Squashed a wayward CORBA_exception_free that shouldn't get called.
2035 * cspi/bonobo/cspi-bonobo-listener.c:
2037 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2038 (cspi_key_event): renamed to cspi_device_event().
2039 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2040 Extended to handle mouse button events as well as key events.
2041 (CSpiKeystrokeListener):
2042 Class superceded by CSpiDeviceListener.
2043 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2044 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2046 * cspi/bonobo/cspi-bonobo-listener.h:
2047 (CSpiKeystrokeListener):
2048 Class superceded by CSpiDeviceListener.
2049 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2050 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2052 * libspi/Makefile.am:
2053 Replaced keystrokelistener.h and keystrokelistener.c
2054 with devicelistener.h and devicelistener.c; keystrokelisener.h
2055 stub retained for back-compat.
2057 * libspi/keystrokelistener.c:
2061 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2063 * registryd/deviceeventcontroller.c:
2064 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2065 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2066 (DEControllerPrivateData): Added xkb settings data.
2067 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2068 button release events (which can't be captured via XGrabButton).
2069 Don't dispatch via the 'normal' event mechanism if the device event was
2071 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2072 Handle the typeseq data in its new location (see above).
2073 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2074 New methods, for "generic" device listeners.
2075 (spi_controller_register_device_listener):
2076 Now handle mouse event listeners as well as key listeners.
2077 (spi_controller_notify_mouselisteners):
2078 New internal method.
2079 (spi_device_event_controller_forward_mouse_event):
2080 Now we notify mouse device listeners as well as generating the
2081 non-consumable "mouse:" events.
2083 We must check and restore the XKB
2084 modifier map if we consume the event, since the act of triggering
2085 a mouse event will normally reset the XKB latch. This is required for
2087 (spi_controller_register_with_devices):
2088 Load the XKB settings when registering, and register for XKB
2089 state notify events.
2090 (spi_key_eventtype_seq_contains_event):
2091 Renamed spi_eventtype_seq_contains_event, since it's used
2092 internally for all device event types now.
2093 (spi_key_event_matches_listener):
2094 Uses spi_eventtype_seq_contains_event now.
2095 (spi_device_event_controller_object_finalize):
2096 Free the private data and the XkbKeyboard struct.
2097 (impl_register_device_listener, impl_deregister_device_listener):
2098 Implementation of new IDL.
2099 (spi_deregister_controller_device_listener):
2100 New internal method.
2101 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2102 More efficient implementation, we don't have to create a new
2103 XkbControls structure every time we query.
2104 (spi_device_event_controller_class_init):
2105 Initialize the epv entries for the new IDL. Assign the
2106 "spi-dec-private" quark.
2107 (spi_device_event_controller_init):
2108 Initialize the private data.
2109 (spi_device_event_controller_forward_key_event):
2110 Removed a bogus CORBA_exception_free() call.
2112 * registryd/deviceeventcontroller.h:
2113 Replaced inclusion of keystrokelistener.h with
2116 * test/event-listener-test.c:
2117 (report_mouse_event):
2120 Added mouse-event device listener.
2122 * test/test-simple.c:
2123 (create_test_window):
2124 Fixed regression (we were instantiating a GtkRange,
2125 which is now an abstract class). Also fixed to match
2126 existing AtkRole names, this seems to have changed in ATK
2127 awhile ago; too late now I think, and the new
2128 mechanism is at least elegant and consistent with the
2129 glib enum "nick" APIs.
2131 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2133 * idl/Accessibility_Relation.idl:
2134 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2135 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2136 * idl/Accessibility_Role.idl:
2137 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2138 * idl/Accessibility_State.idl:
2139 add STATE_MANAGES_DESCENDANTS
2140 * test/event-listener-test.c:
2141 Added a listener for active-descendant events.
2143 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2145 * atk-bridge/bridge.c
2146 (atk_bridge_init): If application is Bonobo component wait until top
2147 level is added before registering
2148 (spi_atk_bridge_do_registration): New function which contains code,
2149 formerly in atk_bridge_init, to do application registration.
2150 (spi_atk_bridge_toplevel_added): Signal called when top level
2151 added to Bonobo component
2153 This fixes bug #83134.
2155 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2157 * registryd/deviceeventcontroller.c
2158 Fixed compilation error caused by calling gettimeofday()
2161 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2166 Added template for HAVE_XKB.
2169 Changes to check for XKB, and to set the HAVE_XKB #define if it
2172 * libspi/listener.c:
2173 ()impl_notify_event): Make failure to get event source name
2176 * registryd/deviceeventcontroller.c:
2177 (#include): include X11/XKBlib.h.
2178 (DEControllerPrivateData) : New struct.
2179 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2181 (dec_synth_keycode_press) (dec_synth_keycode_release):
2182 New methods; split the key synthesis code into these methods.
2183 They check XKB settings before determining the "time" values to
2184 pass to Xtest; this fixes bug #95828.
2185 (impl_generate_keyboard_event): Changed to use methods above,
2186 instead of callng Xtest directly.
2187 (spi_device_event_controller_init): Initialize new privae struct s
2189 (spi_device_event_controllr_object_finalize):
2190 Free the (new) private data.
2192 * registryd/deviceeventcontroller.h:
2193 Add new gpointer to end of struct data.
2195 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2198 Incremented revision to 1.1.2, SONAME is still '.so', library
2199 extensions are ".so.0.0.2".
2201 * registryd/deviceeventcontroller.c:
2202 FIXES FOR #93592 and #95940.
2203 (statics): renamed mouse_button_state to mouse_mask_state,
2204 added key_modifier_mask.
2205 (spi_dec_poll_mouse_moved):
2206 Added key modifier checks, and emit "keyboard:modifiers"
2207 events when the key modifiers currently in use change.
2208 Also generate "mouse:abs" events periodically, even if the mouse
2209 is stationary (should we?).
2210 Alternatively we could generate "mouse:abs" events for either all
2211 mouse movements, or every 'nth' mouse movement, or at the
2212 beginning and end of every "active" mouse period.
2214 * test/event-listener-test.c:
2215 (main): Added listener for "keyboard:modifiers" events.
2217 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2219 * libspi/keymasks.h:
2220 Added key mask #defines for mouse buttons; e.g.
2221 SPI_KEYMASK_BUTTON1, etc.
2224 Incremented dependency on ATK to version 1.1.0. (This dependency
2225 is probably premature but will soon be real enough).
2227 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2229 * libspi/hyperlink.[ch]
2230 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2231 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2234 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2239 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2241 * registryd/deviceeventcontroller.c
2242 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2243 events to be ignored.
2244 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2245 keyboard_mode so that XAllowEvents() can be called.
2249 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2251 * cspi/spi-accessible.c: Correct names of roles returned by
2252 AccessibleRole_getName(). Fixes bug #95055.
2254 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2256 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2259 * registryd/registry.c
2260 (desktop_remove_application: Write diagnostic message to stderr for
2263 (impl_accessibility_registry_deregister_global_event_listener):
2264 Correct size of lists array. This addresses bug #94555).
2266 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2268 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2271 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2273 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2276 * registryd/registry.c (impl_registry_notify_event): Remove
2277 unnecessary call to parser_event_type().
2279 * docs/reference/cspi/tmpl/spi_component.sgml:
2280 Add reference to SPI_LAYER_WINDOW.
2282 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2284 * registryd/registry.c
2285 (desktop_add_application): Remove leak.
2286 (desktop_remove_application): Remove leak.
2287 (parser_event_type): Remove leak.
2289 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2291 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2292 bogus call to CORBA_string_dup(). Also removed unnecessary
2293 g_string_dup/g_free calls.
2295 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2297 * registryd/deviceeventcontroller.c:
2298 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2300 * test/event-listener-test.c:
2301 main: commented out three redundant listeners, to reduce output
2302 noise. (They still are potentially useful for testing).
2305 2002-09-13 Michael Meeks <michael@ximian.com>
2307 * Update all the copyrights to include Ximian.
2309 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2311 * cspi/spi.h: add SPI_LAYER_WINDOW.
2313 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2314 add Accessibility_LAYER_WINDOW case.
2316 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2318 * libspi/component.c: (impl_accessibility_component_get_layer):
2319 add ATK_LAYER_WINDOW case.
2321 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2323 * configure.in: incremented micro version.
2325 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2327 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2330 Clarified and reworded our commit policy.
2333 Started an API "todo" addition list for 2.2.
2336 (impl_getSelection):
2337 Free char pointer from atk_text_get_selection, which was being leaked.
2339 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2342 Small revision to author acknowledgement.
2344 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2346 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2347 If signal has detail add it to the type of the event.
2350 2002-08-12 Michael Meeks <michael@ximian.com>
2352 * test/test-simple.c (global_listener_cb): bin bogosity.
2353 (test_keylisteners): disable, still doesn't work reliably,
2354 certainly not on my system anyway.
2356 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2357 don't leak a reference on the DEC. This round-trip
2358 fetching of the DEC per keystroke sucks, it should be
2361 * cspi/spi-private.h,
2362 * cspi/cspi-lowlevel.h,
2363 * cspi/bonobo/cspi-bonobo-listener.[ch],
2364 * cspi/bonobo/cspi-bonobo.c: get the copyright
2365 notices better - there is still a large amount of
2366 work in at-spi falsely attributed solely to Sun.
2368 * cspi/spi_main.c (cspi_object_ref): kill bogus
2369 hash lookup, just increment the ref.
2370 (SPI_freeString): make explicit the fact that we
2371 handle NULL strings just fine.
2372 (report_leaked_ref): obey coding standards.
2373 (cspi_object_hash, cspi_object_equal): kill retval.
2374 (cspi_object_release): only release if not on loan.
2375 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2376 (cspi_object_borrow, cspi_object_return): impl.
2378 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2379 use cspi_object_borrow / return.
2381 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2383 * cspi/bonobo/cspi-bonobo-listener.c:
2385 Don't call cspi_oject_new() because this is creating a new Accessible
2386 every single time that an event is fired. This causes ATs like at-poke
2387 to nolonger recognise the source of the event and thus ignore it.
2388 Re-use the object from the cache, ref it and then unref it after the
2389 listeners have been called.
2391 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2393 * test/event-listener-test.c:
2394 Added command-line options to disable mouse events (m) and
2397 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2399 * configure.in: Update required versions of ATK, GTK+ and GAIL
2401 * cspi-1.0.pc.in: Add dependency for X include files
2404 * cspi/bonobo/Makefile.am:
2405 Add $(X_CFLAGS) so that X include files
2406 are picked up even if not in standard place (bug #71686)
2408 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2410 * registryd/deviceeventcontroller.c: fix for 84261
2411 (spi_dec_mouse_moved):
2412 Added test of mouse button mask, so that we can detect mouse
2413 button release. Unfortunately we can't otherwise detect mouse
2414 button release events without consuming the mouse press event,
2415 because of the way XGrabButton works. This means that our mouse
2416 release events have a latency dependent on the polling period
2417 while the mouse button is down. At least in this case we only
2418 have to poll while the button is down, and not at other times.
2419 If the button masks don't match with what the last press event
2420 reported, we report the appropriate button release event.
2421 (spi_dec_ungrab_mouse):
2422 New method (not yet called).
2423 (spi_device_event_controller_forward_mouse_event):
2424 New method, sends mouse press event from GdkFilter.
2425 (spi_dec_init_mouse_listener):
2426 Added code to call XGrabButton, redirecting mouse button events to
2427 the root window and our Gdk event loop.
2429 Added code to filter mouse button events, and reordered.
2431 * test/event-listener-test.c:
2433 Added registration for mouse events of type "mouse:button".
2435 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2437 * registryd/deviceeventcontroller.c: partial fix for 84261
2438 (spi_dec_poll_mouse_idle):
2439 New method, a timeout which checks to see if the mouse
2441 (spi_dec_poll_mouse_moving):
2442 A timeout to be called when mouse motion is underway.
2443 (spi_dec_poll_mouse_moved):
2444 A method which fires an event if the mouse has moved, and reports
2445 whether or not it did so.
2446 (spi_dec_init_mouse_listener):
2447 A method which sets up the timeouts above.
2448 (spi_device_event_controller_new):
2449 Now calls spi_dec_init_mouse_listener.
2451 * registryd/registry.c:
2452 (spi_registry_init):
2453 Now we initialize the device event controller when the registry is
2454 initialized, instead of waiting until a client has requested a key
2455 event notification; this is because we need the event controller
2456 for mouse events, but the mouse event registration API is a
2457 "registry" call and doesn't explicitly call the
2458 deviceeventcontroller.
2459 We now report mouse motion events with a 100 ms idle latency and
2460 a 20 ms granularity when motion is in progress.
2462 * test/event-listener-test.c:
2464 We now register the "detail listener" for events of type
2465 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2466 delivered only for the first mouse event received, and thereafter
2467 "mouse:abs" events are delivered.)
2469 * cspi/spi_registry.c:
2470 DOCS: Documented the above mouse event typestrings.
2472 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2474 Happy Summer Solstice...
2476 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2477 (spi_controller_notify_keylisteners):
2478 Changes to remove a listener from the listener list, freeing its
2479 open keygrabs, if a notification to that listener fails. This
2480 means that although a dead listener can continue to hold a passive
2481 keygrab, a maximum of one dispatch to such a listener can fail
2482 before the listener is removed from the list, thus the keygrab
2483 will be released on the next occurrence.
2484 As part of this fix:
2485 (spi_notify_keylisteners):
2486 Renamed to spi_controller_notify_keylisteners, as the controller
2487 instance must now be passed as an argument.
2488 The copied 'notify' GList is now a list of DEControllerKeyListener
2489 objects, since we need more than just the CORBA reference if a
2490 notify fails and we need to deregister the listener.
2491 (impl_notify_listeners_sync):
2492 (impl_notify_listeners_async):
2493 (spi_device_event_controller_forward_key_event):
2494 Modify use of notify_keylisteners in accordance with above
2496 (spi_deregister_controller_key_listener):
2497 New method introduced by refactoring, from
2498 impl_deregister_keystroke_listener.
2499 (impl_deregister_keystroke_listener):
2500 Call spi_deregister_controller_key_listener.
2501 (spi_key_listener_clone):
2502 New method to copy a key listner without doing a 'ref' on the
2503 remote object instance; used to create a notifier list.
2504 (spi_key_listener_data_free):
2505 New method, frees data without unreffing the source.
2507 (spi_key_listener_clone_free): new method.
2508 (spi_key_listener_free):
2509 refactored to call spi_key_listener_data_free.
2511 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2513 * registryd/registry.c: [fix for bug 86048]
2514 (notify_listeners_cb):
2515 Clear CORBA system exceptions which occur when notifying
2516 listeners, before returning to the source of the original event,
2517 since the event source doesn't care if the relayed notify failed.
2518 In other words, don't complain to the atk-bridge if the registry
2519 could not notify all its listeners, that's no fault of the
2520 application and thus should not appear to be an error from the
2521 application's perspective.
2523 * cspi/spi_main.c: [fix for bug 85980]
2525 Replaced use of bonobo_object_dup_ref with call to the wrapper
2526 method, csou_dup_ref (); this silences a compiler warning and
2527 provided more portability.
2529 Ping the registry before return, and restart if necessary.
2531 * cspi/bonobo/cspi-bonobo.c:
2533 New internal method.
2535 Fixed this method to return an object reference, as it should have
2538 * cspi/cspi-lowlevel.h:
2539 Added internal definition for cspi_ping() and fixed
2540 return type of cspi_dup_ref().
2543 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2545 * atk-bridge/bridge.c: [fix for bug 85305]
2546 (spi_atk_bridge_register_application):
2547 New method where the initial application registry calls have been
2548 moved; it allows an application to re-register in response to
2549 certain error conditions (such as a registry restart, see below).
2551 Moved some initialization code to the method
2552 spi_atk_bridge_get_registry, below.
2553 (spi_atk_bridge_get_registry):
2554 New, private accessor function for the Accessibility_Registry
2555 instance. If the registry has not been started before, or has
2556 died (as detected by failure of a CORBA exception), it is
2557 restarted before return, and spi_atk_bridge_register_application
2558 is called again to register with the new bridge instance.
2559 (spi_atk_emit_eventv):
2560 Set registry_died on error; use spi_atk_bridge_get_registry () to
2561 access the registry.
2563 * registryd/registry.c:
2564 (impl_accessibility_registry_register_global_event_listener):
2565 Set listener's event_type_quark to etype.minor instead of
2566 etype.major (fix for bug 84856).
2568 * test/event-listener-test.c:
2569 (report_detail_event):
2570 Change the output string so that user/tester can tell that the
2571 'detail listener' was called instead of the 'generic listener'.
2573 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2575 Fixes for bugs 84900, 84908, 84897, 84898.
2580 Revved version to 1.1.0
2581 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2582 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2584 * idl/Accessibility_Registry.idl:
2585 (EventListener::notifyEvent):
2586 Removed 'oneway' directive after extensive consulation with
2587 ORBit2 team and others. This means also that unref() of the event
2588 source can and should be done synchronously after emission, rather
2589 than remotely in the client, after servicing the notify call on
2592 NOTE: This change speeds up listener performance considerably, but
2593 introduces new latency on the application side. We may want to
2594 add an event queue to the atk-bridge.
2596 * atk-bridge/bridge.c:
2597 (spi_atk_bridge_focus_tracker):
2598 Do a local unref() on the event source after emission.
2600 * registryd/registry.c:
2601 (desktop_remove_application):
2602 Do an unref() on the event source after emission.
2603 (desktop_add_application):
2604 Do an unref() on the event source after emission.
2605 (notify_listeners_cb):
2606 When relaying an event, don't automatically add the event source
2607 to the local object cache, just CORBA_dup it instead. Likewise,
2608 if this method reenters, release the ref rather than calling
2610 (impl_registry_notify_event):
2611 No longer call remote unref() on the event source after dispatch.
2613 * libspi/eventlistener.c:
2614 (impl_accessible_event_notify_event):
2615 Removed remote unref ()
2617 * cspi/bonobo/cspi-bonobo-listener.c:
2619 We now call cspi_object_new() instead of cspi_object_add() on
2620 receipt of an event; thus we only have an implicit object ref
2621 while the cspi_event method is being executed. If we need to keep
2622 a reference to the object, the listener must call ref() on the
2623 object. Thus also we don't need to call cspi_object_unref() after
2624 invoking the listener callbacks in this method.
2628 New internal API for creating a new cspi object, without adding it
2629 to the object cache.
2631 Now uses cspi_object_new() to create the cspi object instance.
2633 Now checks to see if the object is in the internal object cache,
2634 and adds it if necessary before incrementing its refcount (note
2635 that new objects are added with a refcount of 1).
2636 (report_leaked_ref):
2637 New method which gives some information on leaked object instances
2638 if leak detection is turned on.
2640 * test/event-listener-test.c:
2641 (timing_test_event):
2642 New method, used for testing event delivery timing for special
2643 events of type "object:test". It reports elapsed time and
2644 events/sec every 500 events.
2646 Added a new listener, 'test listener', to check timing of event
2647 receipt as noted above.
2649 Added some timing output here also, reports elapsed time every 100
2652 * test/stress-test.c:
2653 Emit events of type "object:test", for use with "event-listener-test".
2655 * test/test-simple.c:
2656 (global_listener_cb):
2657 Call Accessible_ref() on the event source before calling
2658 validate_accessible, since the validation process does pointer
2659 comparisons on the event source, meaning that the event source
2660 needs to be added to the local object cache first. Any use of
2661 such pointer comparisons between Accessible objects requires that
2662 the caller hold an explicit reference to those objects.
2663 We also must therefore call Accessible_unref() when leaving this method.
2665 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2667 * registryd/deviceeventcontroller.c:
2668 (spi_controller_update_key_grabs):
2669 Fix for #84735, subsequent keygrab listeners not informed of
2670 registration failure.
2673 (spi_base_construct):
2674 Add an assertion on construct, to make sure the GObject passed in
2675 is really a GObject.
2677 Explicitly initialize object->gobj pointer to NULL;
2679 * cspi/bonobo/cspi-bonobo-listener.c:
2680 (cspi_object_add_ref):
2681 New method, can specify whether to dup-ref a bonobo object passed
2682 in if it's newly added to the object cache.
2684 Now calls cspi_object_add_ref with second param of "FALSE". This
2685 prevents us from doing a pointless dup-ref followed by
2686 release-unref for all those cases where the object is already in
2687 our object cache (fix for #85205).
2689 * atk-bridge/bridge.c:
2690 (spi_atk_bridge_idle_init):
2691 Removed this method, we don't need to initialize in an idle
2694 Changed to call spi_atk_register_event_listeners directly, not via an
2695 idle handler. (fix for #81139)
2696 (gnome_accessibility_module_shutdown):
2697 Removed conditional around deregistration of listeners, since we
2698 don't use the idle handler and thus have always registered when
2700 (spi_init_keystroke_from_atk_key_event):
2701 Changed references to Accessibility_KEY_PRESSED to
2702 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2704 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2706 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2711 * test/stress-test.c:
2714 (may have been an incomplete commit yesterday?)
2716 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2719 Added target for new stress-test.
2721 * test/stress-test.c:
2722 New test, sends 1000 focus notifies in quick succession.
2724 * test/key-listener-test.c:
2725 Now we report whether a keylistener registration
2726 request succeeded or failed.
2728 * test/event-listener-test.c:
2729 Uncommented some listeners which are now implemented.
2732 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2734 * registryd/deviceeventcontroller.c:
2735 (spi_controller_update_key_grabs):
2736 Fix for #82509, lack of failure notification when
2737 ALL_WINDOWS keygrabs fail due to XGrabKey
2738 failure: we synchronize the server when
2739 registering a passive grab, to make sure we get the
2740 error message before the call returns.
2742 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2744 * test/test-simple.c:
2746 Removed #ifdef KEY_IMPL_WORKS guards.
2747 (test_keylisteners):
2748 Removed #ifdef KEY_IMPL_WORKS guards.
2749 Fixed bug which was causing a hang waiting for a
2750 "press" event (which was already overwritten by a "release"
2751 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2753 Added code to set globals 'key_press_received' and
2754 'key_release_received'.
2757 Added section "1.1 API Proposed Additions" which
2758 lists API additions desired for at-spi-1.1 (only one so far).
2759 Updated TODO list a little.
2761 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2763 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2766 * configure.in: Revved to 1.0.0.
2768 * idl/Accessibility_Registry.idl:
2769 (registerKeystrokeListener):
2770 Added boolean return value.
2772 * registryd/registry.c:
2773 (notify_listeners_cb): Minor fix to debug output.
2775 * registryd/Accessibility_Registry.server.in.in:
2776 Revved version number in OAFIID to 1.0.
2778 * registryd/registryd.c:
2780 Use new OAFIID version.
2782 * cspi/bonobo/cspi-bonobo.c:
2784 Use new OAFIID version.
2790 * atk-bridge/bridge.c:
2792 Use new OAFIID version.
2794 * registryd/deviceeventcontroller.c:
2795 (impl_register_keystroke_listener):
2796 Added CORBA_boolean return value.
2797 (spi_controller_register_device_listener):
2798 Added gboolean return value.
2799 (spi_controller_register_global_keygrabs):
2800 Added gboolean return value.
2801 (spi_key_set_contains_key):
2802 Added implementation for many more control keys,
2803 for instance F1-F12, arrow keys, End, Home, Page_Up,
2805 [TODO: some still not implemented].
2807 * text/screen-review-test.c:
2808 (text_chunk_pad_string):
2809 New function: it provides mapping between coordinate
2810 positions of text chunks and character positions in the
2811 screen-review-line output string.
2812 (text_chunk_to_string):
2813 New function, calls text_chunk_pad_string with various
2814 pad/delimiter characters. Pushbuttons are delimited with
2815 square brackets, Frames with vertical 'pipe' lines, and
2816 other text with double quotes.
2817 (text_chunk_list_to_string):
2818 Calls new function text_chunk_to_string.
2819 (toplevel_composite):
2820 New function to composite layers CANVAS through
2821 POPUP in each toplevel (other layers are composited
2822 across toplevels, i.e. BACKGROUND and OVERLAY).
2823 (review_buffer_composite):
2824 Revise to use new methods.
2830 2002-05-31 Laszlo Peter <laca@sun.com>
2832 * configure.in: add the Xtst libdir to the runpath on Solaris,
2833 since it's not in the default library search path.
2835 2002-05-29 jacob berkman <jacob@ximian.com>
2837 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2839 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2841 * test/screen-review-test.c:
2842 (text_chunk_pad_string):
2843 Added method, which pads the string according to the
2844 text bounds of the chunk. It also takes a 3-character
2845 string as a param which indicates the characters to be
2846 used for start, padding, and end delimitation of the chunk.
2847 (text_chunk_to_string):
2848 Changed to use text_chunk_pad_string.
2850 * configure.in: Fixed bug in AC_OUTPUT that was
2851 causing path substitution in Accessibility_Registry.server
2854 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2856 * text/screen-review-test.c:
2857 (guess_string_clip):
2858 New method which attempts a best-guess at clipping
2859 text from components (like Java labels) which don't
2860 actually implement AccessibleText. This inaccurate
2861 clip is based on the assumption that the label is
2862 justified left-and-right, and monospaced.
2863 (text_chunk_get_clipped_string):
2864 We now call guess_string_clip() for text-containing
2865 components that don't implement AccessibleText.
2867 * test/screen-review-test.c:
2868 (review_buffer_get_text_chunk):
2869 We now pull "name" from labels if they do not implement
2870 AccessibleText (i.e. for Java labels).
2871 (get_screen_review_line_at):
2872 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2875 Replaceded AC_OUTPUT target
2876 registryd/Accessibility_Registry.server with
2877 registryd/Accessibility_Registry.server.in.
2879 * registryd/Accessibility_Registry.server.in:
2880 Removed (this is now a Makefile target).
2882 * registryd/Accessibility_Registry.server.in.in:
2883 Added (source for target above). We now use $(libexecdir) as
2884 prefix for the executable at-spi-registryd.
2886 * registry/Makefile.am:
2887 Now install at-spi-registryd into $(libexecdir), and build .server
2888 file with path (see above).
2890 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2892 * test/screen-review-test.c:
2893 (text_chunk_get_clipped_string):
2894 We now check to see if words fall within clip bounds
2895 before resorting to character-by-character clip bounds testing.
2897 * TODO: Added a section for "2.2 Proposed API Additions".
2899 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2901 * test/screen-review-test.c:
2903 Added a screen review benchmarking and test program to test
2906 * cspi/spi_accessible.c:
2908 Made some of the debug strings passed to cspi_check_ev a
2909 little more specific.
2911 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2913 * test/screen-review-test.c: Fix crashes in debug statements
2915 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2917 * test/screen-review-test.c: Added this file.
2919 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2921 * atk-bridge/bridge.c: changed "object:state-change" to
2922 "object:state-changed" to match docs.
2924 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2926 * atk-bridge/bridge.c: Hooked up state-change event details.
2928 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2930 * registryd/registry.c:
2931 Fixed quarking bug in event string parsing; now events with
2932 detail parameters get matched correctly to listeners.
2935 * util/idl/Magnifier.idl: remove.
2937 * util/*.[ch]: Remove.
2938 Magnification utilities and IDL are now in module gnome-mag.
2940 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2942 * registryd/deviceeventcontroller.c:
2943 Fixed bug in grab key conversion which was causing keycode grabs
2944 to be converted to AnyKey grabs.
2947 updated NEWS file to reflect recent spin-off of gnome-mag.
2949 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2951 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2952 busted AccessibleStateSet_compare. Removed redundant casts.
2954 * cspi/spi-action.c: Removed redundant casts.
2956 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2958 * cspi/spi_component.c: Fixed typos and casting error.
2960 * cspi/spi_editabletext.c: Removed redundant casts.
2962 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2964 * cspi/spi_hypertext.c: Eliminated redundant casts.
2966 * cspi/spi_image.c: Eliminated redundant casts.
2968 * cspi/spi_registry.c: Eliminated redundant casts.
2969 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2970 * cspi/spi_selection.c: Removed redundant casts.
2971 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2972 handling. Screen geometry and text offsets were being returned as 0
2973 on error which is technically valid-- changed these to return -1.
2974 Added marshaller for text boundary types to fix bug with boundary
2975 types being passed incorrectly to atk.
2977 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2980 * cspi/spi_registry.c:
2981 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2982 which was uncovered by the recent key changes.
2984 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2986 * test/event-listener-test.c:
2988 Added new test, "event-listener-test";
2989 this code does two things; it benchmarks traversal time
2990 for the accessible hierarchy for the first running accessible
2991 app, and it connects listeners for all supported event types.
2992 It is thus useful as an example event listener and for
2993 diagnostics/debugging of event generation.
2995 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2998 Removed unnecessary dependency on libutil.
3001 Revved micro version: 0.13.1
3003 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3006 Removed util/Makefile from targets.
3009 Removed util subdir from SUBDIRS (temporarily,
3010 pending removal of magnifier-only code
3014 #ifdef-ed out magnifier dependencies, since
3015 magnifier IDL, headers, and binary now live in
3016 module gnome-mag and we don't want at-spi to depend
3017 on gnome-mag. A magnifier demo which can run alongside
3018 simple-at is forthcoming in the gnome-mag module.
3020 NOTE: Split magnifier binary, IDL, and magnification
3021 activation code from at-spi into module gnome-mag.
3023 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3025 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3026 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3028 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3031 Revved to version 0.13.0
3033 * idl/Accessibility_Registry.idl:
3034 Changed definition of KeySet from sequence of longs to sequence of
3035 KeyDefinitions, and added KeyDefinition struct.
3036 Required for fix to bug 80616.
3038 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3039 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3040 to use new definition (see above).
3042 * registryd/deviceeventcontroller.c: handle_keygrab(),
3043 spi_keyset_contains_key():
3044 Changed to make use of new struct; this allows matching based on
3045 string key-name, for instance "Tab". This also allows matching of
3046 composed characters, non-alphanumeric characters in a way that
3047 doesn't involve dependencies on X keysym codes directly, etc.
3049 * test/key-listener-test.c:
3050 Added test for Alt-Tab key using "string" specification of keyset,
3051 and modified one of the tests to use a keycode-based keyset.
3052 Thus this test both tests and demonstrates the creation and use of
3053 keysets of three forms: specified via keycode array,
3054 keysym array, and string array. (The string case only contains a
3055 single string, i.e. a string array of length 1).
3058 Turned on PRINT_TREE option by default. Also fixed a
3059 string-freeing bug in the PRINT_TREE code.
3060 Added a listener to window:minimize events.
3062 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3064 * atk-bridge/bridge.c:
3065 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3066 for window:activate and window:deactiveate
3067 (atk_bridge_property_event_listener atk_bridge_signal_listener
3068 atk_bridge_window_event_listener) Tidy debug code
3070 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3072 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3073 Fixed handling for NULL return value from ATK.
3075 * libspi/action.c libspi/component.c libspi/editabletext.
3076 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3077 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3078 Removed redundant casts.
3080 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3081 Fixed off by one bug.
3083 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3084 function not present in idl)
3086 2002-05-02 jacob berkman <jacob@ximian.com>
3088 * atk-bridge/Makefile.am: make atk-bridge a real module
3090 2002-04-26 Radek Doulik <rodo@ximian.com>
3092 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3093 atk_state_types table
3095 2002-04-22 jacob berkman <jacob@ximian.com>
3098 * libspi/Makefile.am: add deps on the built files to help
3099 automake, and don't version the ORBit typelib
3101 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3103 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3104 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3105 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3106 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3107 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3108 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3109 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3110 libspi/accessible.h libspi/accessible.h libspi/base.h
3111 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3112 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3113 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3114 libspi/spi-private.h libspi/statetset.h libspi/table.h
3115 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3116 util/mag_client.h util/mag_control.c util/mag_image.c
3117 util/mag_image.h util/magnifier.c util/magnifier.h:
3118 Add missing file headers; standardize existing ones
3120 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3122 * atk-bridge/bridge.c: Added window event support.
3124 2002-04-18 Michael Meeks <michael@ximian.com>
3126 * libspi/relation.c (impl_getNTargets): impl.
3127 (impl_getTarget): impl.
3129 * libspi/Makefile.am: fix stateset install.
3131 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3134 Started putting useful info in this file.
3136 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3138 * atk-bridge/bridge.c:
3139 Propagate state-changed notifications to ATs
3141 * cspi/spi_registry.c: update docs to reflect actual behavior of
3142 state-change events.
3144 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3147 Incremented version to 0.12.1
3149 * util/mag_client.h:
3150 Add missing declaration for magnifier_exit,
3151 used by mag_control.c - Forte compiler didn't like
3152 the implicit redeclaration of the function :-(
3155 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3158 Revved version to 0.12 due to API change (see below).
3160 * cspi/spi-roletypes.h:
3161 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3162 definition from the inline docs, and added docs
3163 for SPI_ROLE_LAST_DEFINED.
3166 * cspi/spi_streamablecontent.c:
3167 Added missing seek_type parameter to
3168 (so far unused) method,
3169 AccessibleStreamableContent_seek().
3170 [ RT approval JodyG. ]
3173 Fixed docs for SPI_createAccessibleKeystrokeListener.
3175 * cspi/spi_registry.c:
3176 Fixed docs for SPI_KEYSET_ALL_KEYS.
3178 * docs/reference/cspi/at-spi-cspi-sections.txt:
3179 Added a number of missing APIs to SECTIONS.
3181 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3183 * registryd/Makefile.am:
3185 * cspi/bonobo/Makefile.am:
3186 Add $(X_LIBS) to makefiles.
3188 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3191 Revved version to 0.11.
3193 * libspi/component.c:
3194 Added implementation for grabFocus.
3196 * idl/Accessibility_Component.idl
3197 (Accessibility_Component_grabFocus):
3198 Made this method return boolean to indicate success or failure, to
3199 be consistent with cspi and the corresponding ATK method.
3201 * idl/Accessibility_Selection.idl
3202 (Accessibility_Selection_selectAll) :
3203 Made these methods return boolean to indicate success or
3204 failure, to be consistent with cspi and the corresponding ATK methods.
3206 * idl/Accessibility_EditableText.idl
3207 (Accessibility_EditableText_setTextContents,
3208 Accessibility_EditableText_insertText,
3209 Accessibility_EditableText_cutText,
3210 Accessibility_EditableText_deleteText,
3211 Accessibility_EditableText_pasteText):
3212 Made these methods return boolean to indicate
3215 * cspi/spi_editabletext.c:
3216 Made these methods return booleans.
3218 * libspi/selection.c:
3219 * libspi/component.c:
3220 * libspi/editabletext.c:
3221 Connected the boolean returns from ATK
3222 to the server-side code referenced above.
3224 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3226 * idl/Accessibility_Table.idl: Added missing methods,
3227 Accessibility_Table_addRowSelection,
3228 Accessibility_Table_addColumnSelection,
3229 Accessibility_Table_removeRowSelection,
3230 Accessibility_Table_removeColumnSelection.
3233 Added C wrappers for above IDL:
3234 AccessibleTable_addRowSelection,
3235 AccessibleTable_addColumnSelection,
3236 AccessibleTable_removeRowSelection,
3237 AccessibleTable_removeColumnSelection.
3240 Added server-side implementation code for IDL above, connecting
3241 to pre-existing ATK api.
3243 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3245 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3247 * libspi/accessible.c: Added implementation fo
3248 Accessibility_Accessible_get_state.
3250 * libspi/libspi.h: Added stateset.h to the list of includes.
3252 * libspi/stateset.c: Fixed broken implementation.
3254 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3257 Added implementation code for Accessibility_Magnifier_exit ().
3259 * util/mag_control.c:
3260 Added test code for above method; you can
3261 now kill an existing magnifier via
3262 ./mag_control q, from the util directory.
3264 * test/key-listener-test.c:
3266 Added a new test, for our key listener API.
3268 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3270 * test/app.c, test/keysynth-demo.c:
3272 Replace use of snprintf with g_snprintf.
3273 (fix for bugzilla 78249)
3275 2002-03-27 Michael Meeks <michael@ximian.com>
3279 * util/Makefile.am (INCLUDES): fix.
3280 (DONT_DIST_SOURCE): don't distribute the
3283 * libspi/Makefile.am (dist-hook): ditto.
3285 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3287 * libspi/hypertext.c:
3288 Fix warnings when yelp is used with atk-bridge
3290 2002-03-21 Michael Meeks <michael@ximian.com>
3292 * libspi/application.c (spi_application_new):
3293 use spi_accessible_construct so we use the AtkObject
3296 2002-03-19 Michael Meeks <michael@ximian.com>
3298 * registryd/registry.c (desktop_remove_application),
3299 (desktop_add_application): clean coding style.
3301 * registryd/desktop.c (spi_desktop_remove_application),
3302 (spi_desktop_add_application): kill re-enterency hazards.
3303 (spi_desktop_dispose): remove bogus redundant cast
3304 obscuring bug; fix bug too.
3305 (spi_desktop_init): make the desktop object immortal.
3307 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3310 Added a #define-guarded tree-traversal step
3311 when enumerating the apps (diagnostic tool).
3313 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3315 * idl/Accessibility_Role.idl:
3316 Added ROLE_DRAWING_AREA which seemed to be missing from the
3319 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3321 * cspi/spi-roletypes.h cspi/spi_accessible.c
3322 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3325 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3326 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3327 AT when applications are added and removed from the desktop. This
3328 reverts the previous broken implementation using the backing
3329 AtkObject for the SpiDesktop.
3331 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3333 * registryd/desktop.c: emit the "children-changed::add" and
3334 "children-changed::remove" signals on the backing ATK object for
3335 the desktop so AT can tell when applications are started and shut
3338 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3340 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3342 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3344 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3346 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3348 * cspi/state-types.h: synched with IDL and ATK
3350 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3352 * libspi/accessible.c
3353 (impl_accessibility_accessible_get_child_at_index):
3354 Change return value for g_return_if_fail ()
3355 to CORBA_OBJECT_NIL instead of "0" (!)
3357 * registryd/Makefile.am:
3358 * registryd/Accessibility_Register.server.in:
3359 Changed name of executable, "registryd",
3360 to something more informative:
3363 2002-03-13 Michael Meeks <michael@ximian.com>
3365 * atk-bridge/bridge.c (atk_bridge_init): don't register
3366 if we're in a bonobo-component, rather than a bonobo app.
3368 2002-03-13 Michael Meeks <michael@ximian.com>
3370 * atk-bridge/bridge.c (gtk_module_init): split
3371 out body to (atk_bridge_init): here, since otherwise
3372 we get symbol conflicts and oddness when invoked
3373 from (gnome_accessibility_module_init): here (upd.)
3375 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3378 New file. Explicitly allow "build sheriff" putbacks provided
3379 they are tested on Solaris.
3381 * docs/reference/cspi/Makefile.am:
3382 Added '-' to the "cp" command for index.sgml.
3383 ("patch by thomasvs, soon coming to a GUADEC near you")
3386 Incremented version number (0.9.0) for new release.
3387 Changed macro that checks for popt, to better detect
3388 obsolete versions of popt.
3391 Added X_LIBS to AC_SUBST, for applications
3392 that call Xlib API directly.
3395 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3398 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3401 Fix regression caused by hard-coding major
3402 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3405 * test/test-simple.c (test_editable_text),
3406 (test_test): revert previous change (error was
3407 a regression in gail which is now fixed).
3409 2002-03-04 Michael Meeks <michael@ximian.com>
3411 * test/test-simple.c (test_editable_text),
3412 (test_text): pass G_MAXINT instead of '-1' for
3413 whole string - is this a good thing !?
3415 * cspi/spi_accessible.c
3416 (Accessible_getRelationSet): fix crasher bug
3417 overwriting the end of the array.
3419 * test/test-simple.c (validate_accessible): free,
3420 not g_free returned relation set.
3422 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3424 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3425 implemented stateset support
3427 * idl/Accessibility_State.idl: Made necessary changes to
3428 the IDL to support state sets.
3430 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3432 * registryd/deviceeventcontroller.c:
3433 Added implementation for generateMouseEvent.
3435 * cspi/spi_registry.c:
3436 Connected new implementation for generateMouseEvent
3439 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3442 Incremented revision (but no change in public API
3443 outside of 'utils', which are not installed public yet.)
3445 * libspi/component.c:
3446 Changed to use atk_component API for layers and
3447 mdi_zorder, instead of deprecated atk_object API.
3449 Magnification Utility Enhancements:
3452 Added implementation of createZoomRegion, clearAllZoomRegions,
3453 resizeZoomRegion. Added new commandline argument
3454 "--no-initial-region". Note that clearAllZoomRegions doesn't
3455 unmap the old '0' region as it should (yet), and the other
3456 methods only work when creating/resizing a single region,
3457 which is "region 0".
3458 (Code for multiple region support will be added later.)
3461 Now we raise the magnifier window each time it's refreshed;
3462 this will help keep it on top.
3464 * util/mag_client.h:
3465 Added simple wrappers for above, used by mag_control.
3466 For general use, it's recommended to use the bonobo magnifier
3467 control API directly instead of using these wrappers.
3470 Moved ZoomRegionData from magnifier.c to this file.
3472 * util/mag_control.c:
3473 Added some code to exercise new IDL implementations.
3475 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3477 * libspi/text.c: Provide implementation for getAttributes.
3479 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3482 Incremented revision.
3484 * test/test-simple.c:
3485 Replaced use of deprecated g_main_iteration with
3486 g_main_context_iteration.
3488 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3491 Incremented revision for desktop alpha 2.
3493 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3495 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3498 * test/simple-at.c: include netinet/in.h.
3500 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3502 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3503 use NULL, not CORBA_OBJECT_NIL.
3505 * libspi/accessible.c:
3506 (impl_accessibility_accessible_get_relation_set):
3507 allocate the sequence correctly.
3509 * libspi/remoteobject.h: kill spi_remote_object_new.
3511 * test/test-simple.c: (validate_accessible): add code
3512 to test relation sets, now all we need is to figure
3513 out how to excercise this code path :/
3515 2002-01-18 Michael Meeks <michael@ximian.com>
3517 * test/test-simple.c
3518 (key_listener_cb): consume the key.
3519 (test_keylisteners): update.
3520 (main): wait for any pending unrefs on events.
3522 * registryd/deviceeventcontroller.c
3523 (spi_controller_update_key_grabs): only re-issue the
3524 grab on a key release.
3525 (spi_device_event_controller_forward_key_event):
3526 refresh the keygrabs before we notify the listeners,
3527 to reduce the X ungrab / re-grab race.
3528 (spi_controller_register_with_devices): remove
3529 XSelectInput - we do that with the gdk_window_ call.
3530 (_spi_controller_device_error_handler): return a value.
3531 s/GDK_DISPLAY/spi_get_display/
3533 2002-01-17 Michael Meeks <michael@ximian.com>
3535 * registryd/deviceeventcontroller.c
3536 (_deregister_keygrab): don't blow out the later
3539 * test/test-simple.c (test_keylisteners): do a
3540 more intelligent validation.
3542 2002-01-14 Michael Meeks <michael@ximian.com>
3544 * atk-bridge/bridge.c
3545 (gnome_accessibility_module_init),
3546 (gnome_accessibility_module_shutdown): impl.
3547 (gtk_module_init): protect vs. double inits.
3548 (add_signal_listener): impl.
3549 (spi_atk_bridge_state_event_listener): kill
3550 (deregister_application): split out of
3551 (spi_atk_bridge_exit_func): here.
3553 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3556 Added caret tracking when using magnifier, and
3557 now use text bounds for focus tracking of text elements, rather than
3558 the component bounds - this is helpful for short text fields in long
3559 table cells, at high magnification.
3561 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3563 * registryd/deviceeventcontroller.c:
3564 Regression fix for keylistener de-registration; global keygrabs
3565 were not being released when deregisterKeystrokeListener was
3566 called in cspi, since
3567 Accessibility_DeviceEventController_deregisterKeystrokeListener
3568 was called with a zero-length keyset. That is because the cspi
3569 method, SPI_deregisterKeystrokeListener, does not take a keyset
3570 parameter but instead should remove all the key grabs held be a
3572 The code in impl_deregister_keystroke_listener was changed to copy
3573 the keylist from the listener instance previously registered with
3574 the DeviceEventController before releasing the grabs.
3576 * registryd/registry.c:
3577 * registryd/deviceeventcontroller.c:
3578 * libspi/spi-private.h:
3580 Changed spelling of "re-enterant" to "re-entrant" globally.
3582 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3584 * test/test-simple.c:
3585 Changed key listeners test - the test was slightly mis-using the
3586 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3587 It now uses '=' as the key event listened to and generated,
3588 relying on a keysym match rather than assuming that keycode 33
3589 is always equal to keysym '!'.
3591 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3594 Changed simple-at to use a specific keyset, rather than
3595 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3596 manager, desktop, etc.
3598 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3600 * registryd/deviceeventcontroller.c:
3601 Replaced standard X error handler with a special handler that
3602 is non-fatal for failed keygrabs. This works around
3603 problems with keygrab clashes sometimes observed on
3605 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3606 mouse handling code as yet).
3608 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3611 Incremented revision for desktop alpha release.
3614 Fixed a couple of the more glaring errors (still not
3617 2002-01-11 Michael Meeks <michael@ximian.com>
3619 * registryd/deviceeventcontroller.c
3620 (spi_device_event_controller_forward_key_event): kill
3621 XUngrabKey / XKeyGrab race.
3622 (spi_controller_grab_keyboard): rename to
3623 (spi_controller_update_key_grabs): this, and deal
3624 with incremental adding / removing grabs more
3626 (_register_keygrab): ensure we're not pending a remove.
3627 (spi_grab_mask_free): impl.
3628 (spi_controller_register_global_keygrabs): split out
3630 (handle_keygrab): impl.
3631 (_deregister_keygrab): impl.
3632 (spi_controller_deregister_global_keygrabs): impl.
3633 (spi_controller_update_key_grabs): re-issue the grab if
3634 we just recieved a notification.
3636 * test/test-simple.c (key_listener_cb): remove debug.
3638 * registryd/deviceeventcontroller.c
3639 (spi_controller_register_device_listener): after
3640 registering a global keygrab, actualy register it !
3641 don't wait for a timeout; doh !
3643 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3644 to make it more readable / manipulable.
3645 s/grabmask/grab_mask/ s/refcount/ref_count/
3646 s/keyval/key_val/ s/modmask/mod_mask
3648 2002-01-08 Michael Meeks <michael@ximian.com>
3650 * registryd/deviceeventcontroller.c
3651 (spi_controller_register_with_devices): use gdk calls to
3653 (global_filter_fn): implement the filter.
3654 (spi_device_event_controller_check_key_event): rename to
3655 (spi_device_event_controller_forward_key_event): this & upd.
3656 (spi_get_display): replace with GDK_DISPLAY.
3658 * registryd/deviceeventcontroller.c
3659 (spi_controller_deregister_device_listener): unroll into
3660 (impl_deregister_keystroke_listener): here to simplify.
3661 (spi_controller_register_global_keygrabs): split cut and
3662 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3663 (spi_controller_deregister_device_listener): remove.
3664 (impl_register_mouse_listener): remove, no mouse listener
3665 support in at-spi-1.0
3667 * registryd/registry.c
3668 (_device_event_controller_hook): kill.
3669 (spi_registry_init): upd.
3671 * registryd/deviceeventcontroller.c
3672 (spi_device_event_controller_class_init): upd.
3673 (spi_check_key_event): merge into.
3674 (spi_device_event_controller_check_key_event):
3675 here and kill strange static ev init, don't leak
3676 the x_event - nor dynamicaly allocate it.
3678 * registryd/registry-main.c (main): re-direct
3679 timeout to remove strange vtable mess.
3681 * registryd/deviceeventcontroller.c
3682 (remove_listener_cb): impl.
3683 (spi_controller_deregister_device_listener):
3684 fix re-enterancy hazard.
3686 2002-01-07 Michael Meeks <michael@ximian.com>
3688 * registryd/deviceeventcontroller.c
3689 (spi_device_event_controller_new): upd.
3690 (impl_notify_listeners_sync): upd. debug.
3691 (spi_notify_keylisteners): fix re-enterancy hazards,
3692 prettify, remove O(n*n) iteration.
3693 (spi_controller_grab_keyboard): fix iteration.
3694 (spi_check_key_event): re-format to suit coding style.
3695 Clean all the warnings - we're warning free.
3697 * registryd/deviceeventcontroller.h:
3698 * registryd/registry.h: make mutualy referential with
3699 typesafe forward references instead of (!) void pointer
3702 2002-01-11 Michael Meeks <michael@ximian.com>
3704 * cspi/spi_accessible.c (role_names): add a role name
3705 to sync this array with the enum; and make the regression
3708 2002-01-10 Michael Meeks <michael@ximian.com>
3710 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3711 allow expansion of enumeration & kill warning.
3713 * test/test-simple.c (key_listener_cb): impl.
3714 (test_keylisteners): impl.
3716 * cspi/spi-listener.h: make listener signatures const
3717 on the provided (const) events.
3719 * test/keysynth-demo.c: upd. to const events.
3721 * test/simple-at.c: ditto.
3723 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3726 Rev the version to 0.5 (the previous tarball was named 0.4,
3727 even though the micro number was 3), so we need to rev upwards
3728 again for beta2/"desktop-alpha"
3731 Checked in a demo script, which requires editing before use!
3732 Proceed with caution.
3735 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3737 * cspi/spi_accessible.c:
3738 Add a couple of missing enum initializations, and fix some enum
3741 * cspi/spi_registry.c:
3742 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3744 * docs/reference/cspi/at-spi-cspi-sections.txt:
3745 Remove/fix a couple of broken document references.
3748 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3749 as Alt-Control to listen for commands, since on some systems
3750 Control-Alt may already be grabbed.
3752 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3755 Update version number to 0.4 for Beta2.
3757 * libspi/accessible.c, libspi/accessible.h:
3758 Expose spi_accessible_construct, to enable libgail-gnome
3759 construction from spi_accessible subtype.
3761 * utils/magnifier.c:
3762 Workaround for bug in some non-gnome-compliant window managers
3763 which made magnifier resize improperly.
3765 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3767 * libspi/accessible.c: (spi_accessible_new) :
3768 Move the test for SPI_IS_REMOTE_OBJECT to
3769 spi_accessible_new_return, fixing a bug and compile time warning.
3771 2002-01-08 Michael Meeks <michael@ximian.com>
3773 * registryd/registry.c (parse_event_type): remove strndup.
3775 * libspi/Makefile.am (libspi_la_SOURCES): remove
3776 sources already included in the headers section.
3778 * libspi/util.c: add.
3780 * libspi/spi-private.h: add.
3782 * registryd/registry.c: update to moved list iterators.
3784 2002-01-05 Michael Meeks <michael@ximian.com>
3786 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3788 * test/test-simple.c (main): ditto.
3790 2002-01-04 Michael Meeks <michael@ximian.com>
3792 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3793 redundant construct.
3795 * registryd/registry.c
3796 (get_listener_list): impl.
3797 (impl_accessibility_registry_register_global_event_listener):
3798 re-impl. to simplify using ~, remove dodgy const cast off.
3799 (parse_event_type): constify.
3800 (impl_accessibility_registry_deregister_global_event_listener_all):
3801 re-write, more efficiency and simplicity, kill re-enterancy
3803 (compare_listener_corbaref, compare_corba_objects),
3804 (compare_listener_quarks): define out.
3805 (impl_accessibility_registry_deregister_global_event_listener):
3806 re-write for effiency, and nail re-enterancy hazard.
3807 (impl_accessibility_registry_get_desktop_list): impl.
3808 (re_enterant_list_delete_link): impl.
3809 (re_enterant_list_foreach): impl.
3810 (remove_listener_cb): impl.
3811 (_registry_notify_listeners): kill.
3812 (notify_listeners_cb): impl.
3814 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3815 (SPI_getDesktopList): impl.
3817 * test/test-simple.c (test_desktop): test the methods.
3819 2002-01-03 Michael Meeks <michael@ximian.com>
3821 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3822 keystrings since we free them
3823 (SPI_freeAccessibleKeySet): in here.
3825 * libspi/accessible.c (spi_accessible_new): kill warning,
3826 wonder what is going on with the constructor here.
3828 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3830 * libspi/accessible.c (spi_accessible_new ()) :
3831 Added check to see if AtkObject is an SpiRemoteObject before
3832 creating an SpiAccessible.
3834 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3836 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3837 Enable keygrabs using the Control modifier, now that they are
3838 working properly (they were previously disabled).
3841 Change the command keygrab for this demo to "Control+Alt", so as
3842 to conflict with fewer other key commands on the system; this
3843 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3845 Removed a pointlessly-chatty keylistener for unshifted keys
3846 (shifted keys are still reported).
3848 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3850 * libspi/remoteobject.h:
3851 * libspi/remoteobject.c:
3852 Added definitions for special AtkObject subtype, required for
3853 support of remote components (specifically, used by BonoboControl
3854 accessibility implementation).
3856 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3858 * cspi/spi.h: synched relation types with ATK
3860 * cspi/spi_accessible.c: Added implementations of
3861 AcccessibleRelation_* methods
3863 * idl/Accessibility_Relation.idl: added getRelationTypeName
3864 method. Synched known relation types with ATK. Allowed for
3865 relation type extension with the RELATION_EXTENDED type.
3867 * libspi/relation.c: Provided implementations for
3868 AccessibleRelation methods.
3870 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3872 API tweaks for today's API 'freeze'.
3875 Added placeholder functions to allow future compatible expansion
3876 of the IDL interfaces.
3878 * idl/Accessibility_Registry.idl:
3879 Changed generateKeyEvent to generateKeyboardEvent. Changed
3880 signature of this method to accept an optional keystring in
3881 parameter (for complex text input synthesis) and changed use of
3882 simple 'boolean' parameter in registerKeystrokeListener to a
3883 struct, EventListenerMode.
3885 * cspi/spi_accessible.c:
3887 * cspi/spi_streamablecontent.c:
3888 Added references to AccessibleStreamableContent interface, and
3889 definition and implementation of AccessibleStreamableContent
3892 * cspi/spi_registry.c:
3894 Changed generateKeyEvent API to generateKeyboardEvent,
3895 taking a new (optional) keystring parameter to support complex
3900 Renamed directory (to better reflect its actual purpose, bridging
3901 from at-spi to ATK). The .so module is also now named
3904 * idl/Accessibility_Hypertext.idl:
3905 * libspi/accessible.c:
3906 * libspi/hypertext.h:
3907 * libspi/hypertext.c:
3908 Changed Accessibility_Hypertext to *not* derive from
3911 * cspi/spi_registry.c:
3912 Added list of legal event type names for 'window' events, which
3913 completes the registry event API.
3915 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3917 * at-bridge/bridge.c: Added registration for separate
3918 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3919 signals. If either of the first two parameters to the generic
3920 bridge signal handler are ints, they are passed on as event
3921 details. This allows an AT to determine what text was inserted.
3923 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3925 * registryd/deviceeventcontroller.c:
3926 Fixed regressions in generateKeyEvent caused by the removal of
3927 gdk_init from registryd; we now use pure X calls to connect to the
3928 display, which makes sense because deviceeventcontroller already
3929 uses a fair bit of X API (should eventually be migrated to a
3930 'portability layer').
3932 * registryd/desktop.c:
3933 Fixed minor regression in spi_desktop_init, changed the way the
3934 desktop name is being set to work with new spi_base API
3935 (gobject-based, rather than AtkObject-based).
3937 * registryd/Makefile.am:
3938 Minor revision of makefile to use XTST_LIBS variable rather than
3939 hard-wiring the Xtst LD_ADD element.
3941 * test/keysynth-demo.c:
3942 Tweaked an output message; added initialization of the
3943 'keystrings' member of the "switch listener" key_set.
3945 * libspi/relation.c:
3946 Squashed compile-time warning.
3948 * libspi/accessible.c:
3949 Cosmetic and formatting fixes, renamed a static method.
3951 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3953 * libspi/accessible.c
3955 * libspi/application.c
3958 * libspi/component.c
3959 * libspi/editabletext.c
3960 * libspi/hyperlink.c
3961 * libspi/hypertext.c
3963 * libspi/selection.c
3967 * registryd/desktop.c:
3968 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3970 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3972 * idl/Accessibility_Registry.idl:
3973 Added boolean member 'is_text' to DeviceEvent. This is for the
3974 use of key events, and helps prevent ambiguity between composed
3975 key strings and keysym names, since both may potentially be
3976 returned in the 'event_string' member.
3978 * at-bridge/bridge.c:
3979 * registryd/deviceeventcontroller.c:
3980 Use the 'is_text' member when notifying device event listeners.
3981 Knon issue: composed characters are not dealt with correctly by
3982 the global key listener implementation yet.
3984 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3986 * at-bridge/bridge.c:
3987 Namespaced local static methods to spi_atk_bridge_* where
3988 previously named bridge_*, and spi_* elsewhere.
3990 * at-bridge/bridge.c:
3991 * cspi/bonobo/cspi-bonobo-listener.c:
3992 Added demarshalling/conversion for string member of
3993 Accessibility_DeviceEvent to AccessibleKeystroke.
3995 * registryd/deviceeventcontroller.c:
3996 Added code to fill the Accessibility_DeviceEvent key string value
3997 member for global key events (i.e. from XGrabKey), to match
3998 behavior of Accessibility_DeviceEvent from the toolkit key events
3999 from the bridge. Fixed timestamp in global key event notifications.
4002 Added printout of key event's string value to
4003 report_ordinary_key_event, for demo/debugging purposes.
4005 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4007 * idl/Accessibility_Registry.idl:
4008 Removed Accessibility_KeyStroke structure in favor of generic
4009 Accessibility_DeviceEvent structure.
4010 Changed Accessibility_ControllerEventMask from a struct to an
4013 * at-bridge/bridge.c:
4014 Changed APIs to use DeviceEvent structure as above, and removed
4015 bogus casting between these event structures.
4017 * cspi/spi-listener.h:
4018 Added keystring member of AccessibleKeystroke structure, to enable
4019 matching on event "names" rather than only hardware codes and
4023 Added keystrings member of AccessibleKeySet struct, to allow
4024 matching on event names (as above).
4025 Added declarations for SPI_createAccessibleKeySet and
4026 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4027 event modmasks directly as unsigned ints rather than structs with
4028 refcounts, in the DeviceEventController methods.
4030 * cspi/spi_registry.c:
4031 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4033 * cspi/spi-roletypes.h:
4034 Added documentation of newly added SPI Roles.
4036 * cspi/bonobo/cspi-bonobo-listener.c:
4037 Changes in support of API changes above.
4039 * libspi/accessible.c:
4040 Converted APIs to use DeviceEvent structure (see IDL changes
4043 * registryd/deviceeventcontroller.c:
4044 Added DEControllerGrabMask structure to track keygrabs not only by
4045 modmask but by keyset as well; this allows us to do "global"
4046 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4047 grabbing on AnyKey and then filtering after-the-fact.
4048 Bugfixes for event filtration mean that we don't get false matches
4049 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4051 * registryd/deviceeventcontroller.c:
4052 Namespaced a number of static methods to use spi_ prefix. Major
4053 revision to internals of global (i.e. X) key grabs.
4055 * registryd/deviceeventcontroller.h:
4056 Removed keymask_list and added keygrabs_list to
4057 SpiDeviceEventController struct.
4060 Added use of SPI_createAccessibleKeySet API when creating a
4061 listener for only one key. Attach a listener to "shift spacebar
4062 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4063 X key event names to SPI key event names, so that listeners are
4064 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4066 * test/keysynth-demo.c:
4067 Changed (incorrect) use of X key event names (KeyPressed,
4068 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4071 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4073 * libspi/accessible.c:
4074 Convert all AtkRole enumerations to Accessibility_Role enums when
4075 getting a role from an AtkObject.
4077 * cspi/spi_accessible.c:
4078 Complete the conversion of Accessibility_Role enums at runtime to
4079 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4080 role enums correctly match those given in spi-roletypes.h.
4081 Re-synchronize the local names list for AccessibleRole_getName ().
4082 AccessibleRole_getName is now deprecated, since it duplicates the
4083 more reliable Accessible_getRoleName.
4084 Added some role types from Accessibility_Role.idl.
4086 * idl/Accessibility_Role.idl:
4087 Added some role types used by AtkRole.
4089 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4092 * cspi/spi_registry.c:
4094 * cspi/cspi-bonobo-listener.c:
4095 Namespaced all methods that did not begin with an "SPI_" or
4096 "Accessible" prefix to "SPI_".
4099 Homogenized internal function namespace to "cspi_" for statics.
4102 Patched tests to use the new CSPI API.
4104 * docs/reference/cspi/at-spi-cspi-sections.txt:
4105 Updated docs to reflect namespace changes, and added a number of
4106 methods to the documentation.
4108 * registryd/registry.c:
4109 Changed use of strings and string hashes in listener event
4110 matching and parse_event_string to use GQuark, which is guaranteed
4113 * registryd/registry.h:
4114 Squashed annoying warning.
4116 * idl/Accessibility_Role.idl:
4117 Extended range of available Accessibility_Role values.
4119 * cspi/spi_accessible.c:
4120 Re-ordered role names.
4122 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4124 * idl/Accessibility_Value.idl:
4125 Revert use of union back to CORBA_double, since the double type is
4126 more efficient and can contain the other types without loss of
4129 * idl/Accessibility_Accessible.idl:
4130 Added method Accessibility:Accessible:getRoleName, to complement
4131 Accessibility:Accessible:getRole.
4133 * cspi/spi_accessible.c:
4135 Added C binding for above, Accessible_getRoleName (), and changed
4136 signature of Accessible_getRole () to return an AccessibleRole.
4138 * cspi/spi-roletypes.h:
4139 Changed AccessibleRole_getName to return a char * instead of a
4140 const char *. This method is now at least temporarily deprecated
4141 in favor of asking Accessibles for their RoleNames directly.
4144 Revert to match Accessibility_Value.idl;
4148 Change signature of AccessibleValue methods to use double rather
4152 * cspi/spi_accessible.c:
4153 Changed Accessible_getRole to return an AccessibleRole enum rather
4154 than a UTF-8 string. The UTF-8 string can still be obtained via
4155 AccessibleRole_getName ().
4157 * test/test-simple.c:
4158 Add test_action. Small fixup to match API change to Accessible_getRole.
4161 Bugfix for get_action_from_servant ().
4163 2001-12-11 Michael Meeks <michael@ximian.com>
4165 * libspi/libspi.h: remove registry.h and
4166 desktop.h, deviceeventcontroller.h
4168 * libspi/Makefile.am: remove registry.[ch],
4169 desktop.[ch], deviceeventcontroller.[ch]
4171 * registryd/Makefile.am: add registry.[ch],
4172 desktop.[ch], rename registryd.c to registry-main.c.
4173 add deviceeventcontroller.[ch]
4175 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4178 Replace setenv() call with putenv ().
4180 * libspi/component.c:
4181 Bugfix in AccessibleComponent_getExtents (),
4184 2001-12-11 Michael Meeks <michael@ximian.com>
4186 * libspi/image.c (impl_getImageExtents): impl.
4187 (spi_image_class_init): upd.
4190 (AccessibleImage_getImageDescription): fix daft bug
4193 * test/test-simple.c (global_listener_cb): update
4194 to only quit if not --poke
4195 (main): catch --poke.
4196 (validate_accessible): upd. dumping, call test_image
4199 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4202 * idl/Accessibility.idl: update all IDL includes.
4204 * idl/*.idl - rename to namespace - this sucks, blame
4205 mjs' bad decision for oafd.
4207 * test/test-simple.c (create_test_window): add more tests.
4208 (create_tree): split this out.
4209 (validate_accessible): bugfix.
4211 2001-12-11 Michael Meeks <michael@ximian.com>
4213 * cspi/bonobo/cspi-bonobo-listener.c:
4214 (cspi_kestroke_listener_unref),
4215 (cspi_event_listener_unref): impl. undoing previous
4216 homenous environment - for Bill.
4218 * cspi/spi_table.c (long_seq_to_array): use
4221 * cspi/spi_main.c: split out all bonoboish bits into
4224 * cspi/spi-impl.h: upd. typedefs.
4226 * cspi/spi_registry.c: update to lowlevel API,
4227 return booleans to indicate success in some places.
4229 * cspi/spi_event.c: update to lowlevel API.
4231 * cspi/bonobo/Makefile.am: add.
4233 * cspi/bonobo/cspi-lowlevel.h: add
4235 * cspi/bonobo/cspi-bonobo.c: add
4237 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4239 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4240 (SUBDIRS): add bonobo, link in the libs.
4242 * cspi/spi-util.c: kill this file.
4244 * TODO: merge in my bits.
4246 2001-12-11 Michael Meeks <michael@ximian.com>
4248 * test/test-simple.c (test_value, test_table, main):
4249 remove unused variables causing warnings.
4251 * configure.in: cleanup checks - require gail.
4253 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4256 Changed Value interface to use SValue (scalars) rather than
4257 assuming all values are floats. This allows floats, doubles,
4258 longs, shorts, and unsigned values to be manipulated.
4259 Introduced Accessibility:SValue union.
4262 Updated to use new API above, and to work correctly with GValues
4263 of different types in AtkValue.
4266 Updated to use new API above. cspi's API is as yet unchanged.
4269 Updated the Value revision action item.
4271 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4273 * test/test-simple.c:
4274 Added test_table (GtkTreeView widget in test window to follow).
4275 Un-commented test_value, added GtkRange widget.
4276 Added GtkTreeView widget with GtkListStore. It passes regression
4277 test but leaks one SPI object for some reason.
4280 Fixed bug in impl__set_currentValue.
4282 2001-12-10 Michael Meeks <michael@ximian.com>
4284 * cspi/spi_text.c: audit for exception handling,
4285 tolerating NULL object references safely etc.
4287 * cspi/spi_value.c: ditto.
4289 * cspi/spi_table.c (AccessibleTable_getSummary),
4290 (AccessibleTable_getAccessibleAt),
4291 (AccessibleTable_getRowHeader),
4292 (AccessibleTable_getColumnHeader),
4293 (AccessibleTable_getCaption): fix bugs hidden by
4295 (long_seq_to_array): impl.
4296 (AccessibleTable_getSelectedRows),
4297 (AccessibleTable_getSelectedColumns): use it.
4299 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4302 Added a TODO list (rough and short for now).
4304 * cspi/spi_hyperlink.c:
4305 * cspi/spi_hypertext.c:
4306 Fixed macro name typos, and remove use of obsolete macro in
4307 AccessibleHyperlink_getLink.
4309 * cspi/spi_action.c:
4310 * cspi/spi_accessible.c:
4311 * cspi/spi_application.c:
4312 * cspi/spi_component.c:
4313 * cspi/spi_selection.c:
4316 Documentation fixes (removed return values from ref/unref methods).
4318 2001-12-10 Michael Meeks <michael@ximian.com>
4320 * cspi/spi_action.c: audit for exception handling,
4321 tolerating NULL object references safely etc.
4323 * cspi/spi_accessible.c: ditto.
4325 * cspi/spi_component.c: ditto.
4327 * cspi/spi_editabletext.c: ditto.
4329 * cspi/spi_hyperlink.c: ditto.
4331 * cspi/spi_hypertext.c: ditto.
4333 * cspi/spi_image.c: ditto.
4335 * cspi/spi_selection.c: ditto.
4337 2001-12-10 Michael Meeks <michael@ximian.com>
4339 * configure.in: use cspi/libspi.pc.in instead.
4341 * Makefile.am (pkgconfig_DATA): upd. to match.
4343 * test/simple-at.c (report_focus_event): kill hacks around
4344 bad return values, use putenv not setenv
4346 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4347 fire ChildGone - I killed it.
4349 * libspi/component.c
4350 (impl_accessibility_component_get_extents): remove
4353 * idl/Accessible.idl: kill ChildGone exception.
4355 * cspi/*.[ch]: kill int return from ref / unref.
4357 * cspi/spi_main.c (cspi_object_add_check): fold into
4358 (cspi_object_add): here.
4360 * cspi/spi_component.c (AccessibleComponent_getExtents):
4361 handle exceptions elegantly.
4363 * cspi/spi-private.h (cspi_check_ev_return),
4364 (cspi_return_if_fail): impl.
4366 * cspi/spi_accessible.c: use extensively.
4367 (AccessibleStateSet_equals): add direct compare check.
4369 * cspi/spi_selection.c: tolerate NULL objs, and check
4370 exceptions before return.
4372 * cspi/spi-util.c (cspi_warn_ev): rename to
4373 (cspi_check_ev): this & don't pass ev in; no point.
4375 2001-12-10 Michael Meeks <michael@ximian.com>
4377 * test/test-simple.c: use putenv not setenv
4378 (get_environment_vars): more chatty if you're not using
4381 * test/simple-at.c: do the setenv so more people see the
4384 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4386 * libspi/registry.c:
4387 Changed check of CORBA_environment on notification to be a warning
4388 instead of an error for the moment, since we can recover from this
4389 error when caused by a queued notification from a dead app.
4392 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4393 used by all current implementors of AtkValue), and coerce to
4394 CORBA_float. (Proper general case fix may require change to Value.idl).
4396 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4400 * cspi/spi_accessible.c:
4401 Documentation fixes: added user_data params to documentation for
4402 listeners and callbacks.
4404 * cspi/spi_accessible.c:
4405 Changed AccessibleStateSet_compare to return a
4406 StateSet rather than return the difference set into a third parameter.
4409 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4412 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4413 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4417 Remove subdirectory po from SUBDIRS for now.
4419 * at-bridge/bridge.c:
4420 Beefed up a couple of debug printouts.
4421 One-line fix for signal notification name formatting.
4423 * libspi/accessible.c:
4424 Added assertion to spi_accessible_new ().
4426 * libspi/application.c:
4427 Put #ifdef qualifiers around a printf.
4430 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4432 * registryd/Makefile.am:
4434 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4435 INTLTOOL_SERVER_RULE macro.
4438 Added an event listener for several ATK signals, for
4439 testing and debugging. Removed a few g_warnings.
4440 Added test output if focussed item implements the Value interface.
4442 * test/test-simple.c:
4443 Added test_value () function (known not to pass at the moment, so
4444 not actually called yet.
4446 2001-12-08 Michael Meeks <michael@ximian.com>
4448 * at-bridge/bridge.c (bridge_focus_tracker),
4449 (emit_eventv): fix the same ref. leak.
4450 (register_atk_event_listeners): don't leak.
4452 * cspi/spi-listener-impl.c (cspi_event): more
4453 protection from client code.
4455 * test/test-simple.c (test_desktop): unref the app.
4457 * test/Makefile.am: upd. TESTS.
4459 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4461 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4463 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4465 * cspi/spi_registry.c: constify in strings.
4466 (deregisterGlobalEventListenerAll): don't release the ref.
4468 * cspi/spi.h: start removing redundant / conflicting
4469 gtkdoc comments, making the API readable at a glance :-)
4471 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4473 * test/keysynth-demo.c (keysynth_exit, main): upd.
4475 * test/simple-at.c (main, simple_at_exit): upd.
4477 * test/test-simple.c (unutterable_horror): kill.
4478 (utterable_normal_derefs): kill.
4479 (main): upd & do a setenv before gtk_init, so that we
4480 can use memprof - and to save the pain of remembering
4481 this, if we're running under memprof - don't exit.
4483 * cspi/spi_main.c (SPI_exit): return exit status
4485 (SPI_event_quit): impl.
4486 (SPI_event_main): simplify.
4487 (cspi_is_gnome_app): kill.
4488 (SPI_init): kill isGNOMEapp arg.
4490 * at-bridge/bridge.c (register_atk_event_listeners):
4491 re-instate the unref.
4492 (bridge_exit_func): don't re-activate the registry,
4493 protect vs. theoretical re-entry, use the
4494 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4495 assert a clean shutdown - for regression tests.
4497 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4499 * configure.in: Comment out dummy i18n support for now,
4500 otherwise it fails to build.
4501 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4502 EXTRA_DIST. They are missing in tarball.
4504 2001-12-07 Michael Meeks <michael@ximian.com>
4506 * util/magnifier.c: kill bonobo activation reg. race.
4508 * libspi/component.c
4509 (impl_accessibility_component_get_extents): make it match
4512 * libspi/registry.c (_registry_notify_listeners):
4513 re-remove X headers & reconcile conflicts.
4514 (spi_listener_struct_free): bad conflict resolve.
4515 (impl_accessibility_registry_register_application):
4516 more bad merging fixed.
4517 (impl_accessibility_registry_deregister_application): ditto.
4518 (spi_registry_new): ditto.
4519 (spi_registry_init): don't have an applications field.
4521 [ merge fixups2 branch to here ]
4522 2001-12-07 Michael Meeks <michael@ximian.com>
4524 * test/simple-at.c (report_focus_event),
4525 (report_focussed_accessible): remove g_warning debug.
4527 2001-12-07 Michael Meeks <michael@ximian.com>
4529 * test/test-simple.c (validate_tree): comment out some checks.
4530 (test_desktop): app now not registered idly - horay.
4532 2001-12-07 Michael Meeks <michael@ximian.com>
4534 * cspi/spi_registry.c
4535 (registerAccessibleKeystrokeListener): clean, stop it leaking
4536 great swathes of memory, and device event controller references.
4537 ensure we always pass valid sequences.
4538 (deregisterAccessibleKeystrokeListener): ditto.
4539 (generateKeyEvent): upd.
4541 * at-bridge/bridge.c (bridge_key_listener): handle
4542 registry dead exception gracefully.
4543 (bridge_focus_tracker, emit_eventv): free ev.
4545 * test/simple-at.c (report_focus_event): fix polarity.
4547 * libspi/application.c (notify_listeners): kill the ev
4548 argument, and make sure we init the ev we use.
4549 (spi_application_object_event_listener): split out a chunk
4550 (get_atk_object_ref): here & fixup.
4551 (reverse_lookup_name_for_toolkit_event): make const.
4552 (spi_application_toolkit_event_listener): fixup, kill leaks
4555 * at-bridge/bridge.c (register_atk_event_listeners):
4556 don't unref the noop object - causes grief.
4558 * libspi/registry.c: remove the X headers.
4559 turn off the debug churn.
4561 * libspi/accessible.c (spi_accessible_new_return): only
4562 release the ref if we are supposed to [doh]
4564 * test/simple-at.c (report_button_press, report_focus_event):
4565 guard vs. unexpected exit.
4567 * at-bridge/bridge.c (gtk_module_init): prune printf.
4568 (bridge_exit_func): fix app unref.
4570 * libspi/Makefile.am: don't install registry or desktop.h
4572 * libspi/*.h: update includes.
4574 * libspi/application.h: don't include ourself, or
4575 other redundant headers.
4577 2001-12-06 Michael Meeks <michael@ximian.com>
4579 * libspi/accessible.c
4580 (get_accessible_from_servant): impl.
4581 Upd. all CORBA impl.s to use it killing cut and paste.
4583 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4585 (SPI_init): register atexit cleanup handler here.
4587 2001-12-06 Michael Meeks <michael@ximian.com>
4589 * at-bridge/bridge.c (gtk_module_init): g_error on
4590 activation exception
4592 2001-12-06 Michael Meeks <michael@ximian.com>
4594 * at-bridge/bridge.c (gtk_module_init): some sort of
4595 confusing merge clash - reverted.
4596 (bridge_idle_init): ditto.
4598 * test/test-simple.c (main, utterable_normal_derefs):
4599 merge from Bill - somehow not committed.
4601 2001-12-06 Michael Meeks <michael@ximian.com>
4603 * libspi/value.c (spi_value_class_init): upd.
4604 (spi_value_finalize): kill.
4606 * libspi/table.c (spi_table_finalize): kill.
4607 (spi_table_interface_new): upd.
4608 (spi_table_class_init): upd.
4609 (get_table_from_servant): impl.
4610 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4612 * libspi/selection.c (spi_selection_finalize): kill.
4613 (spi_selection_interface_new): upd.
4614 (spi_selection_class_init): upd.
4615 (get_selection_from_servant): impl.
4616 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4618 * libspi/relation.c (spi_relation_finalize): kill.
4619 (spi_relation_class_init, spi_relation_new): upd
4621 * libspi/image.c (spi_image_finalize): kill.
4622 (spi_image_class_init): upd.
4623 (spi_image_interface_new): upd.
4624 (get_image_from_servant): impl.
4625 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4627 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4628 (spi_hyperlink_finalize): kill.
4629 (spi_hyperlink_new): upd.
4630 (get_hyperlink_from_servant): impl.
4631 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4633 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4634 (spi_hypertext_finalize): kill.
4635 (spi_hypertext_class_init): upd.
4636 (get_hypertext_from_servant): impl.
4637 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4639 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4640 (spi_editable_text_interface_new): upd.
4641 (get_editable_text_from_servant): impl.
4642 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4644 * libspi/text.c (get_text_from_servant): impl.
4645 All impls - update to use it killing more cut and paste,
4646 also fix bad string returns on duff args ( a somewhat
4647 impossible case to handle - but hey ).
4648 (spi_text_construct): impl.
4649 (spi_text_interface_new): upd.
4650 (spi_text_object_finalize): kill.
4652 * libspi/component.c
4653 (accessibility_component_object_finalize): kill.
4654 (spi_component_class_init): upd.
4655 (get_component_from_servant): impl. helper to kill cut & paste.
4656 (impl_accessibility_component_contains):
4657 (impl_accessibility_component_get_accessible_at_point):
4658 (impl_accessibility_component_get_position):
4659 (impl_accessibility_component_get_extents):
4660 (impl_accessibility_component_get_mdi_z_order):
4661 (impl_accessibility_component_get_layer):
4662 (spi_component_interface_new): upd.
4664 * libspi/action.c (spi_action_finalize): kill.
4665 (spi_action_class_init): upd. inherit from SpiObject.
4666 (spi_action_interface_new): upd.
4667 (get_action_from_servant): impl. helper to reduce cut & paste.
4668 (impl_getKeyBinding, impl_getName, impl_doAction),
4669 (impl_getDescription): Use it everywhere.
4671 * cspi/spi_main.c (get_live_refs): a pointer hash.
4672 (spi_object_hash, spi_object_equal): comment out.
4673 There are issues with CORBA object hashing that need
4676 * libspi/application.c (spi_application_init),
4677 (spi_application_new): upd.
4679 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4680 (spi_accessible_class_init): upd.
4681 s/accessible/object/ in epv methods.
4683 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4685 * at-bridge/bridge.c:
4686 Reorder the bridge initialization into the bridge gtk_module_init,
4687 an immediate call to bridge_register_app, and an idle_add for
4688 register_atk_event_listeners (the only code that *must* wait until
4689 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4690 the activation, creates the application's Accessible object, and
4691 queues the bridge_idle_init function. Restored call to
4692 Accessibility_Registry_deregisterApplication().
4693 Prior to making this call we obtain a new reference to the
4694 registry, which is a temporary hack that helps us handle apps that
4695 shut down the bonobo mainloop before we get there.
4697 * libspi/registry.c:
4698 Fix string leakage in debug block, and don't segv if a an app
4699 dies before its event notifications have been propagated.
4702 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4703 as stopgap measure until we get proper exception handling when
4704 objects die during or before interrogation.
4708 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4709 Also changed default value of is_gnome_app to TRUE.
4712 * test/keysynth-demo.c:
4713 Changed use of SPI_init and SPI_event_main to reflect API change above.
4716 Made report_focus_event check the warning value from getName
4717 before reporting on focussed accessible; simplifies handling of
4718 notifications from dead objects.
4720 * test/test-simple.c: (Changes not in this patch since source is
4723 2001-12-05 Michael Meeks <michael@ximian.com>
4725 * registryd/registryd.c (main): protect against
4726 bonobo-activation startup race condition.
4728 * cspi/spi_main.c (cspi_object_add_check): cope
4729 with the exception elegantly.
4731 * idl/Accessible.idl: decl. ChildGone
4733 * libspi/desktop.c (spi_desktop_dispose): impl.
4734 (spi_desktop_class_init): upd.
4735 (spi_desktop_add_application),
4736 (spi_desktop_remove_application),
4737 (abnormal_application_termination): impl.
4738 (impl_desktop_get_child_at_index): re-impl.
4741 (impl_accessibility_registry_deregister_application),
4742 (impl_accessibility_registry_register_application):
4743 kill excessive debug clutter.
4745 * test/test-simple.c (test_misc): test some NULL
4746 tolerance. (main): upd.
4748 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4749 implements no interfaces - so let's not crash.
4751 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4753 * libspi/accessible.c (spi_accessible_new_return): impl.
4754 helper to calm the cut and paste, to cope with
4755 NULL AtkObjects effectively and efficiently, and to kill
4756 the referencing bugs.
4758 * libspi/table.c (impl_getAccessibleAt),
4759 (impl_getRowHeader, impl_getColumnHeader): upd.
4761 * libspi/hyperlink.c (impl_getObject): upd.
4763 * libspi/accessible.c
4764 (impl_accessibility_accessible_get_child_at_index): upd.
4766 * libspi/component.c
4767 (impl_accessibility_component_get_accessible_at_point): upd.
4769 * test/test-simple.c (test_editable_text, test_text): impl.
4772 * cspi/spi_editabletext.c
4773 (AccessibleEditableText_insertText): constify.
4775 * test/test-simple.c (focus_me): make more robust.
4777 * libspi/accessible.c: remove some printfs in methods that
4778 we test and work fine, so we can get a clean tree dump.
4780 * test/test-simple.c (validate_accessible),
4781 (validate_tree): make tree dumping pretty too.
4783 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4784 it builds without debug on.
4786 * test/test-simple.c (validate_accessible): fix the most
4789 * cspi/spi_main.c (spi_object_release): leave the nicely
4790 blanked memory around if in debug mode.
4792 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4794 [committed to fixups2]
4795 2001-12-05 Michael Meeks <michael@ximian.com>
4797 * libspi/editabletext.c
4798 (spi_editable_text_class_init): g_type_class_peek_parent,
4799 not interface peek - so we finalize cleanly.
4801 * libspi/accessible.c (spi_accessible_new): kill debug.
4803 * test/test-simple.c (validate_accessible): fix ref.
4804 leak, print strings before freeing them; sigh, comment a
4805 chunk out due to strangeness.
4806 (validate_tree): unref the child after use.
4808 * cspi/spi_component.c (AccessibleComponent_getLayer):
4809 add missing break statement, switch on zlayer not the
4810 uninitialized retval.
4812 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4813 before (possibly re-entering) remote unref.
4815 * test/simple-at.c (main): unref the desktop.
4817 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4820 * cspi/spi_main.c (cspi_accessible_is_a): here to
4821 isolate bonobo API usage more.
4823 * libspi/registry.c (impl_accessibility_registry_register_application):
4824 prune bogus comment.
4826 2001-12-04 Michael Meeks <michael@ximian.com>
4828 * test/test-simple.c (validate_tree): upd.
4829 IndexInParent check to make it more lucid.
4830 (validate_accessible): dump the tree.
4832 * libspi/accessible.c (de_register_public_ref),
4833 (get_public_refs): impl.
4834 (spi_accessible_new): make more efficient & intuitive.
4835 Now IndexInParent check works.
4837 2001-12-04 Michael Meeks <michael@ximian.com>
4839 * cspi/spi-util.h: remove.
4841 * cspi/spi.h: move SPI_freeString here
4843 * libspi/component.c (impl_accessibility_component_get_layer):
4845 (impl_accessibility_component_get_mdi_z_order): ditto,
4846 return -1 on error - is this ok ?
4848 * test/test-simple.c (test_application): impl.
4850 * cspi/spi_accessible.c (Accessible_getApplication),
4851 (Accessible_isApplication): impl.
4853 * libspi/registry.c (spi_listener_struct_free): release
4854 the CORBA reference too.
4856 * libspi/accessible.c
4857 (impl_accessibility_accessible_get_parent): fix ref leak.
4859 * libspi/registry.c (spi_registry_new): make the registry
4860 immortal - we don't want it to go away ever.
4862 * libspi/application.c
4863 (spi_accessible_application_finalize): impl. cleanup.
4865 * cspi/spi_registry.c
4866 (deregisterGlobalEventListenerAll),
4867 (deregisterGlobalEventListener),
4868 (deregisterAccessibleKeystrokeListener): fix ref leak.
4870 * cspi/spi_main.c (SPI_init): remove redundant ref.
4872 * test/test-simple.c (unutterable_horror): impl. to force a
4877 (impl_accessibility_registry_deregister_application): release
4878 the application when we de-register it.
4880 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4881 until we have the infastructure to get it right.
4883 2001-12-03 Michael Meeks <michael@ximian.com>
4885 * libspi/Makefile.am: only build eventlistener.[ch]
4887 * libspi/accessible.c
4888 (impl_accessibility_accessible_get_child_at_index): don't leak.
4890 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4891 before we hit the idle handler.
4893 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4894 debugging than exit.
4896 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4898 * libspi/listener.c (impl_notify_event): check source
4899 not NIL before unref.
4901 * libspi/registry.c (impl_registry_notify_event): ditto.
4903 * libspi/eventlistener.c
4904 (impl_accessible_event_notify_event): unref the source.
4906 * libspi/accessibleeventlistener.c
4907 (impl_accessible_event_notify_event): unref the source.
4909 * idl/Event.idl: remove 'hash_id' attribute - of no
4912 * libspi/application.c (notify_listeners): upd list
4914 (spi_application_object_event_listener),
4915 (spi_application_toolkit_event_listener): upd to do correct
4919 (_registry_notify_listeners): update.
4920 (parse_event_type): this method also leaks like a sieve.
4921 (impl_accessibility_registry_deregister_global_event_listener):
4922 fix ETYPE_WINDOW case.
4924 * libspi/application.c
4925 (impl_accessibility_application_register_object_event_listener):
4928 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4930 * libspi/hypertext.c (impl_getLink): ditto.
4932 * cspi/spi_main.c (cspi_object_add): remove
4933 bogus CORBA_Object_duplicate.
4935 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4938 * cspi/spi_accessible.c
4939 (Accessible_getRelationSet): fix leak / referencing issue.
4941 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4942 (cspi_object_add, cspi_object_unref): upd.
4943 (spi_object_release, get_live_refs): impl.
4944 (cspi_cleanup): simplify.
4946 * *.[ch]: s/boolean/SpiBoolean/
4948 * cspi/spi_accessible.c (role_names): actualy order so it
4949 corresponds with the enum !
4951 * test/test-simple.c (test_roles): check some role strings
4952 vs. enums to detect offset errors.
4954 2001-12-01 Michael Meeks <michael@ximian.com>
4956 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4958 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4960 (Accessible_getChildAtIndex): use cspi_add_check so we
4961 check the ev before using a (possibly) invalid value.
4963 * libspi/accessible.c
4964 (impl_accessibility_accessible_get_parent): don't segv
4967 * at-bridge/bridge.c (gtk_module_init): upd.
4968 (bridge_property_event_listener): don't leak strings
4970 (bridge_state_event_listener),
4971 (bridge_property_event_listener): don't use a static
4972 buffer in case of recursive event emission &
4973 re-enterancy - split out the swathe of cut and paste
4975 (emit_eventv): and fix 2 ref leaks here & comply to the
4977 (bridge_register_app): rename to
4978 (bridge_idle_init): this and kill arg parsing, split
4979 various inits & bonobo-activation registration to module
4980 init time, kill referencing error.
4981 (bridge_exit_func): fix the same leak.
4982 (bridge_focus_tracker): don't leak event structures
4984 (bridge_signal_listener): more leakage and cut & paste
4986 (bridge_key_listener): return the result - FIXME is
4987 this polarity correct ?
4988 (accessibility_keystroke_from_atk_key_event): rename
4989 (accessibility_init_keystroke_from_atk_key_event): and stop
4991 (gtk_module_init): return a value - not that it is checked by
4993 (bridge_key_listener): register my horror at casting between
4994 IDL defined structs.
4995 (bridge_get_registry): kill - not used.
4997 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4999 * test/test-simple.c (test_roles): impl.
5000 (test_desktop, validate_accessible, validate_tree): impl.
5002 * cspi/spi_accessible.c (role_names): fixup bogus
5003 MAX_ROLES setup, make constants const for efficient linkage
5004 (AccessibleRole_getName): conform to coding style, make
5007 2001-11-30 Michael Meeks <michael@ximian.com>
5009 * cspi/spi.h: add missing prototype.
5011 * libspi/registry.c (spi_listener_struct_new): fix sig.
5013 * test/Makefile.am: add test-simple
5015 * test/test-simple.c: add
5017 * test/test.sh: add.
5019 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5021 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5022 do it straight - since otherwise we often get an activation race.
5024 [ work before Bill duplicated a chunk of it ... ]
5025 2001-11-30 Michael Meeks <michael@ximian.com>
5027 * libspi/keystrokelistener.c
5028 (spi_keystroke_listener_class_init): fixup arg
5031 * libspi/eventlistener.c
5032 (spi_event_listener_class_init): ditto.
5034 * tests/test.sh: add.
5036 * cspi/spi-listener-impl.h: update macros.
5038 * cspi/spi-listener-impl.c
5039 (cspi_event_listener_remove_callback): add
5040 correct pre-conditions.
5042 * cspi/spi_main.c (SPI_exit): guard vs. double
5043 exits, exit the mainloop nicely.
5044 (SPI_event_main): make more sense.
5045 (SPI_init): move the atexit evilness here so we
5046 always do it (yuck).
5047 (SPI_event_main): upd.
5049 * test/simple-at.c: update for listener changes.
5051 * registryd/registryd.c (main): prune kruft.
5053 * libspi/libspi.h: upd.
5055 * libspi/eventlistener.[ch]: rename broken macros.
5057 * libspi/accessibleeventlistener.[ch]: remove.
5059 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5061 * test/test-simple.c: Add - automated tests.
5063 * cspi/spi-listener-impl.c (cspi_event),
5064 (cspi_key_event): add user_data to invoke.
5065 (cspi_keystroke_listener_finalize): impl.
5066 (cspi_keystroke_listener_class_init): upd.
5069 (createAccessibleEventListener),
5070 (AccessibleEventListener_addCallback),
5071 (createAccessibleKeystrokeListener),
5072 (AccessibleKeystrokeListener_addCallback): upd.
5074 * libspi/deviceeventcontroller.c
5075 (spi_device_event_controller_check_key_event): add public proto.
5078 (impl_accessibility_registry_deregister_global_event_listener):
5079 always init listeners.
5080 (_registry_notify_listeners): yes it is.
5082 * cspi/spi-listener-impl.c (cspi_key_event):
5084 (cspi_event_listener_finalize): impl.
5085 (cspi_event_listener_class_init): hook up.
5086 (event_handler_new, event_handler_free),
5087 (event_list_remove_by_callback): impl.
5088 (cspi_event_listener_remove_callback),
5089 (cspi_keystroke_listener_remove_callback),
5090 (cspi_keystroke_listener_add_callback),
5091 (cspi_event_listener_add_callback): upd.
5093 * libspi/keystrokelistener.c
5094 (keystroke_listener_object_finalize): kill
5095 (spi_keystroke_listener_class_init): upd.
5096 (spi_keystroke_listener_add_callback),
5097 (spi_keystroke_listener_remove_callback): kill,
5099 (impl_key_event): prune drasticaly.
5101 * libspi/eventlistener.c
5102 (spi_event_listener_add_callback),
5103 (spi_event_listener_remove_callback): kill, use
5105 (impl_accessible_event_notify_event): upd.
5106 (spi_event_listener_object_finalize): remove.
5108 * libspi/Makefile.am: use eventlistener.[ch]
5110 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5112 * libspi/registry.c (_registry_notify_listeners):
5113 Changed listener loop iteration to use preferred convention.
5114 Got rid of string memory leaks caused be calling g_strconcat
5115 inside function calls.
5117 * libspi/registry.c (parse_event_type):
5118 Stopped g_strconcat memory leaks, free the g_strsplit return,
5119 g_strdup the split pieces when used, etc.
5121 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5124 Change method 'compare' to return a 'difference set' rather than
5125 taking a StateSet as an out parameter (more Java-friendly).
5127 * idl/Accessible.idl:
5128 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5130 * idl/Component.idl:
5132 Changed methods 'getExtents' and 'getImageExtents' in these
5133 interfaces to return a BoundingBox structure.
5134 (getPosition and getSize are redundant and possibly should be
5135 removed, rather than creating a corresponding Point struct.)
5137 * cspi/spi_component.c:
5138 Modify implementation of getExtents to reflect the above IDL
5143 Add (missing) AccessibleImage_getExtents () API.
5145 * docs/reference/cspi/at-spi-cspi-sections.txt:
5146 Added AccessibleImage_getImageExtents () to docs.
5148 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5150 * idl/Component.idl:
5151 Added two methods, getLayer () and getMDIZOrder (), to reflect
5152 the new ATK methods atk_object_get_layer and
5153 atk_object_get_mdi_z_order. (Which arguably should be part of the
5154 AtkComponent API and AtkObject). Also added an enum,
5155 ComponentLayer, for the first method's return value.
5157 * libspi/component.c:
5158 Added implementations for these methods.
5160 * cspi/spi_component.c:
5162 Added cspi binding methods for above,
5163 AccessibleComponent_getLayer() and
5164 AccessibleComponent_getMDIZOrder().
5165 Added cspi enum 'AccessibleComponentLayer'.
5167 * docs/reference/cspi/at-spi-cspi-sections.txt:
5168 Added above methods to docs.
5172 Changed typedef for 'boolean' type (and all references to it) to
5173 SPIBoolean, to avoid keyword clashes with C++.
5176 Changed usages of 'boolean' to SPIBoolean.
5178 * test/keysynth-demo.c:
5179 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5180 app), except where SPIBoolean is required by the callbacks API.
5182 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5184 * cspi/spi_registry.c:
5185 Removed obsolete X event loop for passive keygrabs (which now
5188 * registryd/registryd.c:
5189 Removed unnecessary call to gdk_init() [cruft]. This also allows
5190 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5193 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5195 * docs/reference/cspi:
5196 Included docs for SPI_freeString in generated documentation.
5199 Renamed spi_freeString to SPI_freeString, for consistency. Added
5200 documentation for this function.
5203 Renamed spi_freeString to SPI_freeString, for consistency.
5204 Removed obsolete method declaration string_from_corba_string.
5206 * test/keysynth-demo.c:
5207 Small tweak to comments.
5210 Stopped leaking the strings returned from CSPI.
5212 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5214 Merged Michael's branch (see his ChangeLog entries below).
5216 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5217 bridge is alive, release on exit.
5219 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5220 Fix type check macro.
5223 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5226 Added is_gnome_app static, and method cspi_is_gnome_app(),
5227 so we can call the appropriate shutdown routine at exit in SPI_exit.
5229 * cspi/spi_main.c (cspi_object_ref):
5230 Duplicate the corba object passed in, since we're keeping it around.
5232 * cspi/SPI_exit.c, cspi_cleanup:
5233 Moved the releasing of the live refs to its own function, so we
5234 can put it in g_atexit (). Call the appropriate shutdown API
5235 depending on whethe calling client is a gnome app or not
5236 (bonobo_main_quit or CORBA_ORB_shutdown).
5238 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5239 Unref the listener when this method is called, after
5240 deregistration. Updated the API docs to note this behavior.
5242 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5243 Bugfixes: Ref the bonobo object when returning a parent or child
5244 reference, or an AccessibleRelation. Generally made sure
5245 BonoboObject refcount is incremented whenever we return an
5248 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5249 Fixed typo/bug in signal declaration.
5251 * libspi/accessibleeventlistener.h:
5254 * libspi/application.c (spi_application_new):
5255 Fixed leak in initialization.
5258 Remembered to increment bonobo-object refcount when returning
5259 children (applications) from desktop object.
5260 Added (empty) finalize method.
5262 * libspi/deviceeventcontroller.c:
5263 Hold a ref to listeners inside DEControllerKeyListeners.
5264 Added dec_key_listener_free() method. Use prepend instead of
5265 append in key_listener list. Fixed some refcount madness and
5266 leaks in the listener registration/deregistration - deregistration
5267 now calls dec_key_listener_free() on listeners, and on the
5268 temporarily constructed dec_key_listener() used to perform the search/match.
5270 * libspi/hypertext.c (spi_hypertest_finalize):
5271 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5272 class. Also fixed spi_hypertext_interface_new() and
5273 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5275 * libspi/hypertext.h:
5276 Removed pointless and duplicate AtkObject pointer from
5279 * libspi/keystrokelistener.c:
5280 Fixed incorrect type of keystroke_listener_parent_class,
5281 renamed keystroke_listener_object_finalize to
5282 spi_keystroke_listener_object_finalize.
5283 Fixed typo in signal declaration
5284 (spi_keystroke_listener_class_init).
5286 * libspi/registry.c:
5287 Added funcsions spi_listener_struct_new() and
5288 spi_listener_struct_free() to help with memory management issues.
5289 We also now use these methods instead of gnew + poking stuff into
5290 the struct, and to decrement listener counts/free the listeners
5291 when deregistering them.
5292 Fix more refcount bugs in getDesktop() and
5293 getDeviceEventController().
5296 De-ref the desktop after enumerating the applications. Explicitly
5297 decrement the refcounts on the created listeners on exit (using
5298 _unref for keystroke listeners, and via the
5299 deregisterGlobalEventListenerAll command for other event
5302 2001-11-27 Michael Meeks <michael@ximian.com>
5304 * cspi/spi-listener.h: fixup enum.
5306 2001-11-27 Michael Meeks <michael@ximian.com>
5308 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5309 (cspi_keystroke_listener_new): Use the cspi variants.
5311 2001-11-26 Michael Meeks <michael@ximian.com>
5313 * test/keysynth-demo.c: fix 2 compile warnings, missing
5316 * test/simple-at.c (report_focussed_accessible),
5317 (report_focus_event, report_button_press),
5318 (check_property_change, is_command_key),
5319 (report_ordinary_key_event, report_command_key_event): upd.
5321 * util/mag_client.h: include pre-requisites.
5323 * libspi/accessibleeventlistener.c
5324 (spi_event_listener_object_finalize): free any lingering
5327 * libspi/keystrokelistener.c
5328 (keystroke_listener_object_finalize): ditto.
5330 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5331 callbacks, with cspi types.
5333 * cspi/spi_event.c (createAccessibleEventListener): chain to
5334 (AccessibleEventListener_addCallback): here.
5335 (createAccessibleKeystrokeListener): chain to
5336 (AccessibleKeystrokeListener_addCallback): here.
5338 * libspi/keystrokelistener.c
5339 (spi_keystroke_listener_class_init): add signal.
5340 (impl_key_event): emit the event.
5341 (boolean_handled_accumulator): impl.
5342 (marshal_BOOLEAN__POINTER): add, gack.
5344 * libspi/accessibleeventlistener.c
5345 (spi_event_listener_class_init): add signal.
5346 (impl_accessible_event_notify_event): emit the signal &
5347 make the loop efficient.
5348 (spi_event_listener_add_callback): prepend the callback.
5350 * libspi/accessibleeventlistener.h: add an 'event' signal,
5351 decl type on callback.
5353 * libspi/keystrokelistener.h: ditto.
5355 * cspi/spi-listener.h: make methods typesafe and
5356 make them use the new event typedefs.
5358 * test/simple-at.c (report_focussed_accessible):
5359 include mag_client.h
5360 Use *(void *)text_interface not the other thing.
5362 * configure.in: add gtk to registryd bits - since we use
5365 * util/magnifier.c: include libbonobo.h
5367 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5369 * test/keysynth-demo.c:
5370 Turned this into a simple scanning keyboard, to demonstrate the
5371 use of g_timeout_add () as a means of creating timers for
5372 scanning, and the use of GtkStyle for visually indicating when
5373 virtual keyboard elements are selected.
5375 keysynth-demo now listens to any keyboard keys with zero-valued
5376 keycodes (i.e. 'unused' keys) and interprets them as
5379 Reworked the shiftlatch code so that shift-down state isn't held
5380 for long periods (it's only synthesized immediately prior to
5381 the keysynth event it's modifying). Note that shiftlatch in this
5382 demo is a convenience, not intended to take the place of AccessX
5383 which is the better choice for getting 'sticky' modifier keys.
5385 * libspi/deviceeventcontroller.c:
5386 * at-bridge/bridge.c:
5387 * cspi/spi_registry.c:
5388 Removed some debug print stuff, and put other verbosity in #ifdef
5393 Implemented some more of the magnifier IDL for the simple
5394 magnifier: namely, getZoomRegionParams.
5395 Added mag_x and mag_y members to MagnifierData struct, aid of this
5397 Added GtkWindow::realize signal handler to magnifier, to keep it
5398 from receiving keyboard focus from the WM.
5400 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5402 * cspi/spi-private.h: my guess at what michael forgot
5403 before he ran off to NZ :-)
5405 2001-11-23 Michael Meeks <michael@ximian.com>
5407 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5408 comment out non existant method invoke so we link.
5410 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5411 use bonobo_exception_get_text for more friendly warnings.
5413 * cspi/spi.c (Obj_Add): move into spi_main & rename
5414 spi_object_add; kill spi.c
5416 * cspi/spi_registry.c
5417 (deregisterGlobalEventListener),
5418 (deregisterGlobalEventListenerAll),
5419 (registerGlobalEventListener): fix exception leaks.
5421 * cspi/spi_main.c (spi_exception): impl. helper, so we
5422 don't leak exceptions.
5424 * cspi/spi_selection.c
5425 (AccessibleSelection_deselectSelectedChild): return the
5428 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5429 (spi_registry): ditto.
5430 (SPI_init): guard against double inits.
5432 * cspi/*.c: use spi_ev (), and spi_registry () where
5433 appropriate - a temporary hack until we have something
5434 better. Use spi_object_add
5436 2001-11-22 Michael Meeks <michael@ximian.com>
5438 * cspi/Makefile.am: re organise, install the headers.
5440 * cspi/*.h: add G_BEGIN/END_DECLS
5442 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5445 Added non-preemptive keylistener for key events with no modifiers
5446 and shift-only modifier.
5448 * libspi/keystrokelistener.c:
5449 Removed some verbose diagnostics printout.
5451 * cspi/spi_registry.c:
5452 Fixed a bug that caused all key listeners to be registered as
5455 * libspi/deviceeventcontroller.c:
5456 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5457 for non-preemptive key masks.
5460 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5462 * docs/reference/idl/at-spi-idl-docs.sgml:
5463 * docs/reference/idl/at-spi-idl-sections.txt:
5464 * docs/reference/idl/at-spi-idl-overrides.txt:
5465 Added missing files.
5467 * docs/reference/Makefile.am:
5468 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5469 to scan the IDL files :-(
5474 Added .cvsignore files.
5476 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5478 * libspi/deviceeventcontroller.c:
5479 * libspi/keystrokelistener.c:
5481 * cspi/spi_registry.c:
5482 Added filters for KeySets, KeyEventSeq, and event types to key
5483 event dispatching, so listeners should only receive those events
5484 that they requested :-)
5486 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5491 * docs/reference:Makefile.am:
5492 * docs/reference/cspi:
5493 * docs/reference/cspi:Makefile.am:
5494 * docs/reference/cspi:tmpl:
5495 * docs/reference/cspi:tmpl:*.sgml:
5496 * docs/reference/idl:
5497 * docs/reference/idl:Makefile.am:
5498 * docs/reference/idl:at-spi-idl-sections.txt:
5499 * docs/reference/idl:at-spi-idl-docs.sgml:
5500 * docs/reference/idl:tmpl:
5501 * docs/reference/idl:tmpl:*.sgml:
5503 Restructured docs directory to allow separate 'reference' docs
5504 section, and forked idl and cspi docs. Added the sgml template
5505 files to CVS. Added the first sections/structural sgml for the
5508 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5510 * configure.in, libspi/Makefile.am: find libXtst.
5512 2001-11-21 Michael Meeks <michael@ximian.com>
5514 * test/accessx-gui.c: s/spi_value/value/ - doh.
5516 * libspi/base.[ch]: add.
5518 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5520 * idl/Accessible.idl:
5521 * idl/Application.idl:
5524 Started gtk-doc cleanup on IDL.
5526 * libspi/deviceeventcontroller.c:
5527 Added and connected non-preemptive key notification from the
5528 toolkits (in addition to the pre-emptive support from XServer
5529 which we had before, but which causes 'focus flashing'). Filters
5530 are presently limited to key modifiers and global/non-global,
5531 KeySets are presently ignored, as are KeyEvent masks.
5533 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5534 structs into the persistant structure rather than just storing
5535 pointers to things that might not persist across servant
5538 The XGrabKey call now does async keygrabs, because synchronous
5539 ones were deadlocking with GDK_event code in a very nasty way.
5541 Added boolean to internal method notify_keylisteners, to indicate
5542 whether the event came from the 'toolkit source' or the 'global
5543 (XServer) source' - this is used in the notification process to
5544 determine which listeners to send the event to.
5546 deviceeventcontroller.c is now warning-free.
5548 * libspi/registry.c:
5549 Fixed regression in application de-registration.
5550 Also fixed some really brain-dead weirdness having to do with
5551 event dispatching - event structs are now duplicated before being
5552 re-marshalled in the dispatch to listeners. This also fixes a
5553 Solaris build problem.
5556 2001-11-20 Michael Meeks <michael@ximian.com>
5559 (impl_accessibility_registry_deregister_global_event_listener):
5562 * libspi/deviceeventcontroller.c
5563 (spi_device_event_controller_check_key_event): return
5564 FALSE on no virtual method.
5566 * libspi/*..h: make includes work on a correctly pathed install.
5568 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5570 * libspi/application.h: kill unused ( and whacked out )
5571 gboolean *spi_application_set_id (AtkObject *app, long id);
5573 2001-11-20 Michael Meeks <michael@ximian.com>
5575 * libspi/*.[ch]: further convert to bonobo's type func
5576 macros, remove redundnant casts etc.
5578 * libspi/text.c s/accessibility_text/spi_text/g,
5579 re-order to de-cruft.
5581 * libspi/hypertext.c: re-order to kill a huge slew
5582 of redundant forward decls.
5584 * libspi/relation.c: ditto.
5586 * libspi/image.c: ditto.
5588 * */.cvsignore: update
5590 2001-11-20 Michael Meeks <michael@ximian.com>
5592 * libspi/deviceeventcontroller.c
5593 (_controller_register_with_devices): use g_getenv,
5594 kill stdlib.h include.
5596 * libspi/keystrokelistener.c
5597 (spi_keystroke_listener_get_type): kill
5598 (spi_keystroke_listener_class_init),
5599 (spi_keystroke_listener_init): rename to this.
5601 * libspi/text.c (impl_getAttributes): fix warning / bug.
5603 * libspi/*.[ch]: more headers, includes and over commenting.
5605 2001-11-20 Michael Meeks <michael@ximian.com>
5607 * libspi/*.[ch]: fixup headers, includes and over commenting.
5609 * libspi/image.c (impl__get_imageDescription): const
5610 correctness warning fix. remove redundant casting.
5612 * libspi/table.c (impl_getRowDescription): ditto.
5613 (impl_getColumnDescription): ditto.
5615 * libspi/libspi.h: add.
5617 2001-11-19 Michael Meeks <michael@ximian.com>
5619 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5621 * libspi/component.c (accessibility_component_get_type):
5622 rename to (spi_component_get_type): and macroify.
5623 (accessibility_component_init): rename to
5624 (spi_component_init): this
5625 (accessibility_component_class_init): rename to
5626 (spi_component_class_init): this
5628 * libspi/action.c (spi_action_get_type): kill, use the macro.
5630 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5633 * libspi/application.c (spi_application_object_event_listener),
5634 (impl_accessibility_application_register_object_event_listener):
5635 warning fixes / const understanding updates.
5637 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5640 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5642 * libspi/spi_accessible.c: Added docs and C bindings for
5643 AccessibleStateSet. (No implementations yet). Documentation
5644 coverage for C bindings now 100%. Made docs for event listeners
5649 boolean notifyListenersSync (in DeviceEventListener listener,
5650 in DeviceEvent event);
5652 oneway void notifyListenersAsync (in DeviceEventListener listener,
5653 in DeviceEvent event);
5655 Added DeviceEventListener and DeviceEvent structs (may deprecate
5656 KeyStroke and KeystrokeListener in favor of this generic
5657 event/listener framework for devices).
5659 * libspi/deviceeventcontroller.c:
5661 Changed some key listener code to take masks, etc., and paved the
5662 way for integration of toolkit/non-preemptive key events. Changed
5663 signatures of some internal methods.
5665 * at-bridge/bridge.c:
5666 Fixed regression connecting to interface signals, apparently
5667 caused by GTK+ changes.
5669 Added an internal bridge_state_listener to deal with
5670 property-change:accessible-state signals.
5672 Changed the key_listeners GList to store structs (including masks,
5673 etc.) instead of just CORBA_Objects (required for full
5674 implementation of key listener API).
5676 Connected the bridge to all currently supported Atk signals.
5677 Events now supported:
5678 object:property-change
5679 object:property-change:accessible-name
5680 object:property-change:accessible-state
5681 object:property-change:accessible-description
5682 object:property-change:accessible-parent
5683 object:property-change:accessible-value
5684 object:property-change:accessible-role
5685 object:property-change:accessible-table-caption
5686 object:property-change:accessible-table-column-description
5687 object:property-change:accessible-table-column-header
5688 object:property-change:accessible-table-row-description
5689 object:property-change:accessible-table-row-header
5690 object:property-change:accessible-table-summary
5691 object:children-changed
5692 object:visible-data-changed
5693 object:selection-changed
5694 object:text-selection-changed
5696 object:text-caret-moved
5698 object:row-reordered
5700 object:column-inserted
5701 object:column-reordered
5702 object:column-deleted
5703 object:model-changed
5705 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5707 * libspi/hyperlink.c,h:
5708 Fixed some broken stuff in hyperlink.
5710 * libspi/relation.h:
5711 * libspi/relation.c:
5712 * cspi/spi_accessible.c:
5713 Initial implementations of AccessibleRelation methods, and docs.
5715 * libspi/accessible.c:
5716 Fixed a bug that caused SEGV if an accessible
5717 object's description is NULL, and a client
5718 requests it. An empty string is now returned.
5720 * cspi/spi_editabletext.c:
5721 * cspi/spi_hypertext.c:
5723 * cspi/spi_hyperlink.c:
5727 Doc coverage now 95%.
5729 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5731 One last namespacing revision:
5732 * libspi/accessibleeventlistener.[ch]:
5733 Renamed SpiAccessibleEventListener to SpiEventListener,
5734 (no need for two namespaces ;-)
5736 And lots of documentation fixes:
5738 * docs/at-spi-docs.sgml:
5739 Fixed 'underscore vs. hyphen' bug that was preventing
5740 the gtk-doc API docs from being automatically generated.
5743 * cspi/spi-listener.h
5745 * cspi/spi_accessible.c
5747 * cspi/spi_application.c
5748 * cspi/spi_component.c
5749 * cspi/spi_editabletext.c
5751 * cspi/spi_hypertext.c
5753 * cspi/spi_registry.c
5754 * cspi/spi_selection.c
5758 * docs/at-spi-docs.sgml
5759 * docs/at-spi-sections.txt
5761 Added and fixed up gtk-doc documentation in cspi.
5763 Interfaces now (fully) documented (subject to revision and enhancement):
5765 Event Listener Support
5767 AccessibleApplication
5771 AccessibleEditableText
5778 AccessibleRelationSet
5783 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5785 * at-bridge/bridge.c:
5786 Initial work for toolkit-level key snooper connection by bridge.
5791 New typedefs and fixes to support new namespacing, and cleaner
5792 separation of cspi bindings from libspi bonobo implementation.
5793 Removed inconsistent and extraneous Spi* namespace prefix that
5794 had crept into cspi headers.
5795 Lots of comment fixes that sed had missed.
5797 * cspi/spi-roletypes.h:
5798 * cspi/spi-statetypes.h:
5799 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5800 to AccessibleRoleType.
5802 * libspi/accessibleeventlistener.h:
5803 Fixed minor namespacing weirdness.
5805 * libspi/deviceeventcontroller.c:
5806 Reordered some internal API for device listeners.
5807 Changed the key registry final boolean to 'is_system_global'
5808 rather than 'is_synchronous', which is more descriptive of its
5810 Added spi_device_event_controller_new().
5811 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5813 * libspi/keystrokelistener.[ch]:
5814 Namespaced KeystrokeListener to SpiKeystrokeListener.
5815 Changed uses of keymasks to use SPI_ prefix, and did other
5818 * libspi/keymasks.h:
5819 Namespaced keymask constants with SPI_ prefix.
5821 * libspi/registry.c:
5822 Some warning fixes, and knock-on fixes from namespace changes.
5825 Added rules for accessx-gui test program.
5827 * test/accessx-gui.c:
5828 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5829 utility. It doesn't actually use at-spi, but it's still cool and
5832 * test/keysynth-demo.c:
5836 Fixes so that these test clients work properly with the namespaced
5837 libraries. (Incompletely tested for technical reasons, fixes may follow)
5840 2001-11-13 Michael Meeks <michael@ximian.com>
5842 * libspi/application.c
5843 (impl_accessibility_application_get_version),
5844 (impl_accessibility_application_get_toolkit_name):
5846 (impl_accessibility_application_set_id),
5847 (impl_accessibility_application_get_id): remove
5848 redundant casting code.
5850 * libspi/action.c (impl_getDescription): fix warnings.
5852 * libspi/accessible.c
5853 (impl_accessibility_accessible_get_parent),
5854 (impl_accessibility_accessible_get_child_at_index),
5855 (impl_accessibility_accessible_get_state),
5856 (impl_accessibility_accessible_get_relation_set):
5857 warning fixes & include action.h
5859 2001-11-13 Michael Meeks <michael@ximian.com>
5861 * *.[ch] fix bits I screwed up:
5863 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5864 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5866 2001-11-13 Michael Meeks <michael@ximian.com>
5868 * *.[ch] Namespace libspi into spi_ and Spi.
5870 2001-13-11 Michael Meeks <michael@ximian.com>
5872 * Makefile.am: dist & install at-spi-1.0.pc
5874 * libspi/Makefile.am: install into at-spi-1.0
5876 * idl/Makefile.am (idldir): install into at-spi-1.0
5878 * at-spi-1.0.pc.in: add.
5880 * configure.in: build it.
5882 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5884 * test/keysynth-demo.c:
5885 Use a 'realize' signal-handler to set the WM properties for
5886 the virtual keyboard, rather than making it a "POPUP" type
5887 override-redirect window (thanks to anders carlsson for that
5890 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5893 * test/keysynth-demo.c:
5894 Added new test of key synthesis, which creates a simple
5895 (mouse-operated) onscreen keyboard. It inserts key events into
5896 the currently-focused window, thus it does not grab keyboard focus
5899 * cspi/spi_registry.c:
5900 Added C binding for AT-SPI generateKeyEvent.
5902 * libspi/deviceeventcontroller.c:
5903 Added call to XFilterEvent so that key listener works with XIM (we
5904 hope). Added event_synth_type to generateKeyEvent, so that we can
5905 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5906 synthesize a press/release pair for KeySyms.
5908 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5910 * libspi/Makefile.am:
5911 * registryd/Makefile.am:
5912 (temporary) hack to include libXtst in libspi and registryd.
5913 (Needed for keystroke synthesis, see below).
5916 Improved API for registerKeystrokeListener, in accordance with
5917 discussions with Gnopernicus team and X server research.
5919 * libspi/registry.c:
5920 * libspi/deviceeventcontroller.c:
5921 * libspi/accessible.c:
5922 * libspi/keystrokelistener.c:
5923 Changes and fixes to support keylisteners for potentially
5924 consumed key events (that is, 'passive grabs').
5925 Added implementation for generateKeyEvent() [untested].
5928 Changes to registerKeystrokeListener() API, as above.
5929 Added deregisterGlobalEventListenerAll(), and
5930 deregisterKeystrokeListener(), which are needed for clean exit of
5932 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5933 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5935 * cspi/spi_registry.c:
5936 Added implementations of function prototypes mentioned above.
5938 * registryd/registryd.c:
5939 Added the key listener event source as a g_timeout(), to allow
5940 receipt of key events that are not caught by GDK (since GDK
5941 doesn't support passive keygrabs, this was necessary).
5944 Changed to attach a keylistener to 'Alt' keys, and
5945 respond to the following keycommands: Alt-M (toggle magnifier);
5946 Alt-F (toggle speech); Alt-Q (quit).
5947 Added an exit routine to deregister the listeners, and a key
5948 listener that prints some key info to the console when a key
5949 matches the listener mask (and is thus received by the listener).
5951 * util/idl/Magnifier.idl:
5952 Changes to magnifier API to support multiple zoom regions,
5953 non-uniform scaling in x and y, markDirty, and a host of other
5954 features that would be useful to magnification.
5957 * util/mag_client.c:
5958 * util/mag_client.h:
5959 * util/mag_control.c:
5961 Source code changes to support the above IDL changes.
5964 As above, and also changes to use a (slower) generic conversion
5965 path for colormap conversions, since the fast RGB conversions have been
5966 reported to fail for 16-bit displays.
5968 2001-10-26 Michael Meeks <michael@ximian.com>
5970 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5972 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5974 * at-bridge/Makefile.am: fix LDFLAGS.
5976 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5978 * at-bridge/bridge.c:
5979 Re-worked listeners for toolkit events, now we have signal
5980 and property listeners. Added a private method
5981 register_atk_event_listeners(), which registers with the
5982 various atk and gtk signals we need to monitor in order to emit
5984 Added emission hook for AtkObject:property-change events, to
5985 support the 'property listeners'.
5986 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5989 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5990 which emit warnings and exit, respectively, if CORBA errors occur
5991 during remote calls, and we now use these methods to check most of
5992 our CORBA calls in the C bindings.
5994 * cspi/spi_accessible.c:
5995 Changed AccessibleSelection_refSelectedChild() to
5996 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5997 now increment refcounts.
5999 * cspi/spi_component.c:
6000 Fixed some long pointer casts (dangerous!) to pass pointers to
6001 CORBA_longs of the proper type to the CORBA stubs, and copy the
6002 data into the longs that were passed into the C bindings code.
6004 * at-bridge/bridge.c:
6006 * libspi/accessible.c:
6007 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6008 hyperlinks, AtkHyperlink is an object type.
6010 * libspi/application.c:
6011 Added various conversions to and from "generic" event types and
6012 atk-specific types; this is really part of the 'bridge'
6013 implementation but is valid for all AtkObject-based accessibility
6016 * libspi/editabletext.c:
6017 Fixed nasty bug wherein editable text's finalize method was
6018 unref'ing tha AtkObject reference that the text parent class was
6019 about to unref _again_. There was also a nasty inheritance bug
6020 that meant that the AccessibleEditableText class was corrupt.
6022 * libspi/selection.c:
6023 Provided implementations for some selection API that was broken.
6025 * idl/Application.idl:
6026 Added registerObjectEventListener () method.
6029 Fixed a number of return values that were Bonobo_Unknowns from
6030 bonobo_object_corba_objref(), which I
6031 forgot to dup before returning. Changed instances of
6032 bonobo_object_corba_objref (bonobo_object(o)) to
6033 BONOBO_OBJREF(o), for concision and clarity.
6035 2001-10-13 Louise Miller <louise.miller@sun.com>
6037 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6038 idl/Event.idl, idl/Registry.idl
6039 Changed these files to include Bonobo_Unknown.idl instead
6042 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6044 * libspi/component.c libspi/component.h:
6045 Fixed typo. Added assertions for object checks in
6046 AccessibleComponent code.
6048 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6050 * idl/Accessible.idl:
6051 Added 'isEqual (Accessible *object)'
6052 method for Accessible. (Not Yet Implemented).
6055 Changed signature of registerKeystrokeListener() to
6056 take a KeySet and KeyEventSeq so that specific keys and event
6057 types could be requested for monitoring, and added a flag
6058 is_synchronous so that either synchronous or asynchronous
6059 notification could be requested. (However this is not all
6060 implemented yet). This also meant adding two new typedefs,
6061 KeyEventSeq and KeySet.
6064 Added two new relations, RELATION_TOOLTIP_FOR and
6065 RELATION_LEAFNODE_OF.
6068 Added new state, STATE_HAS_TOOLTIP.
6070 * libspi/text.c, editabletext.c:
6071 Added new assertions to all casts of bonobo-objects from
6072 CORBA servants, to prevent Text API calls on non-text objects.
6073 Changed suspect casts of int-pointer types, so that we
6074 always send a valid CORBA_long pointer to the CORBA APIs that use
6075 in/out long parameters. We then have to copy from the CORBA_long
6076 into the regular long or int for return to the C bindings, or
6077 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6080 * libspi/deviceeventcontroller.c:
6081 Cleaned these sources up.
6083 Changed return type for getCharacterAtOffset to
6084 CORBA_unsigned_long, to allow for 32-bit characters.
6087 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6091 Fixed 'make dist' so that distro compiles...
6092 * libspi/keymasks.h:
6094 * cspi/spi-listener.c:
6095 KeystrokeListenerCB now returns a boolean.
6097 Added KeyEventType struct, and KeyStroke.
6098 Also added createKeystrokeListener(),
6099 KeystrokeListener_addCallback(),
6100 KeystrokeListener_removeCallback(), and added a keymask to
6101 registerKeystrokeListener().
6102 * cspi/spi_accessible.c:
6103 Changed numerous return types for interfaces from
6104 AccessibleComponent to Accessible<InterfaceName>; this was
6105 probably a cut-and-paste error.
6107 Implementations of new KeystrokeListener api (from spi.h,
6110 Changes to key modifier mapping.
6111 Created ControllerEventMask struct.
6112 Made DeviceEventController derive from Bonobo::Unknown.
6114 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6115 * libspi/deviceeventcontroller.c:
6116 Added a number of new internal (private) methods.
6117 * libspi/editabletext.c:
6118 * libspi/editabletext.h:
6119 Fixed a number of bugs related to the fact that
6120 editabletext inherits from text. Fixed the EditableText struct,
6121 the init() call, and use correct casts when calling Text methods
6122 from an EditableText object. Removed (duplicate) atko from the
6123 EditableText structure, we use the one in the parent Text
6124 structure via the casts mentioned above.
6125 * libspi/keystrokelistener.[ch]:
6126 * libspi/registry.c:
6127 Changes in support of keyboard handling (above).
6129 Keyboard handling, though partly functional, is still not
6130 recommended for at-spi client use as there is considerable
6131 work yet to be done.
6134 Changed some places where pointers to various int types
6135 are cast to be pointers to CORBA_long types and vice-versa:
6136 pointer casting is not safe so we pass pointers of the correct
6137 types and then cast the result before putting it into the target
6140 * libspi/text.h: minor typos corrected.
6142 We now speak not only the name of a Text element, but the
6143 first sentence of its content, when it receives focus.
6144 I also changed the text compression to 75% from 50%.
6145 * util/Accessibility_Util.server.in:
6146 Changed the default magnifier type to be a 3x vertical
6147 splitscreen magnifier (was previously a 2x horizontal one).
6149 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6151 * libspi/keystrokelistener.h:
6152 * libspi/keystrokelistener.c:
6153 Initial functional implementations of KeystrokeListener.
6156 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6158 Fixed string handling for NULL strings in libspi.
6159 Added spi_freeString to free strings returned by C bindings.
6161 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6163 * libspi/keystrokelistener.h:
6164 * libspi/keystrokelistener.c:
6165 Began (no-op) implementations of KeystrokeListener
6167 * libspi/deviceeventcontroller.c:
6168 * libspi/deviceeventcontroller.h:
6169 Began creating implementations of DeviceEventController,
6170 to handle keystroke and mouse event listening and
6172 * libspi/accessible.c:
6173 Stubbed-in the implementations for
6174 Accessibility_Accessible_getState and
6175 Accessibility_Accessible_getRelationSet.
6176 * libspi/registry.c:
6177 Improved de-registration process and fixed some bugs,
6178 deregistration now works correctly.
6180 Added initialization of applications list (to NULL).
6182 Reduced speech compression from 0.5 to 0.7, for demo.
6183 Changed call to gdk_window_set_decorations()
6184 to gtk_window_set_decorated().
6185 * at-bridge/bridge.c:
6186 Bridge now deregisters when app exits, via
6187 registration of a cleanup function
6188 with the g_atexit() call.
6189 Required making 'app' static, renamed 'this_app'.
6190 Fixed broken use of bonobo_init, passing argv wrongly.
6192 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6196 Created a new directory for
6197 accessibility-related utilities, primarily for
6198 testing and demo purposes, but with possible
6205 Onscreen magnifier utility that
6206 is implemented as a bonobo service.
6208 * util/mag_client.c:
6209 * util/mag_client.h:
6210 Client-side support (simple C bindings)
6211 for Magnification service
6213 * util/mag_control.c:
6214 Client program example for
6215 Magnification service
6217 * util/Accessibility_Magnifier.server.in:
6218 Bonobo-activation file for the
6219 Magnification service.
6222 * util/idl/Magnifier.idl:
6223 IDL defining the bonobo Magnification
6227 Modifications to use the bonobo-activated magnifier
6228 above, in place of trying to connect to an existing
6229 magnifier that uses socket-listening IPC.
6231 If env variable MAGNIFIER is set, a magnifier service
6232 will be started if one does not exist.
6234 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6236 * at-bridge/bridge.c:
6237 applied patch from Marc to build and run
6238 against new glib and gtk+ (seemed like a change
6239 to bonobo_init signature was made ?)
6241 made festival-server support turned off by default.
6242 Added support for a simple magnifier (off by default)
6243 which will be added to a 'util' directory later.
6244 * at-bridge/Makefile.am:
6245 Changed "application.h" header from a 'source'
6246 to a 'dependency' of libat-bridge.
6248 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6257 Added interface implementation c files to list of
6258 includes so they are included in libcspi.
6261 Changed prototype of AccessibleAction_doAction to return a
6263 Changed prototype of AccessibleTable_getCaption to
6264 return an Accessible.
6265 Changed prototype of AccessibleTable_getSelectedRows
6266 and AccessibleTable_getSelectedColumns to
6267 return a long (returns the number of selected rows
6268 or columns respectively).
6269 Changed name of AccessibleText_refRunAttributes to
6270 AccessibleText_getAttributes.
6271 Changed prototype of AccessibleText_getCharacterExtents to
6272 return a void rather than a boolean.
6273 Added support for a AccessibleCoordType parameter
6274 specifying what type of coordinates are desired.
6275 Added an AccessibleCordType parameter to
6276 AccessibleText_getPointAtOffset.
6278 * cspi/spi_accessible.c:
6279 Added code to return the outstanding interfaces from
6280 Accessible_queryInterface.
6282 * cspi/spi_action.c:
6284 Corrected call to getNActions to call the c binding
6287 * cspi/spi_editabletext.c:
6289 Changed name from setRunAttributes to setAttributes.
6291 * cspi/spi_hyperlink.c:
6293 Changed call to getNAnchors to correctly call the c
6294 binding for an attribute.
6296 * cspi/spi_hypertext.c:
6298 Changed getImageDescription to correctly call the
6299 binding for an attribute.
6301 * cspi/spi_selection.c:
6302 Changed getNSelectedChildren to correctly call the c
6303 binding for the attribute.
6304 Changed refSelectedChild to getSelectedChild.
6308 Changed getCaption to return an Accessible.
6309 Fixed calls which retrieve attributes.
6310 Changed refAt to getAccessibleAt.
6311 Changed getNSelectedRows and getNSelectedColumns to
6315 Changed getCharacterExtents and getPointAtOffset to accept an
6316 AccessibleCoordType.
6318 Changed calls which retrieve attributes.
6319 Changed refRunAttributes to getAttributes.
6324 * idl/Hyperlink.idl:
6325 Changed n_anchors attribute to nAnchors to keep naming
6326 convention consistent.
6329 Made Table inherit from Bonobo::Unknown.
6330 Added nSelectedColumns and nSelectedRows attributes.
6333 Made Value inherit from Bonobo::Unknown.
6335 * libspi/hyperlink.c:
6336 Change for nAnchors attributte name change.
6338 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6346 Added interface implementation c files to list of
6347 includes so they are included in libcspi.
6350 Changed prototype of AccessibleAction_doAction to return a
6352 Changed prototype of AccessibleTable_getCaption to
6353 return an Accessible.
6354 Changed prototype of AccessibleTable_getSelectedRows
6355 and AccessibleTable_getSelectedColumns to
6356 return a long (returns the number of selected rows
6357 or columns respectively).
6358 Changed name of AccessibleText_refRunAttributes to
6359 AccessibleText_getAttributes.
6360 Changed prototype of AccessibleText_getCharacterExtents to
6361 return a void rather than a boolean.
6362 Added support for a AccessibleCoordType parameter
6363 specifying what type of coordinates are desired.
6364 Added an AccessibleCordType parameter to
6365 AccessibleText_getPointAtOffset.
6367 * cspi/spi_accessible.c:
6368 Added code to return the outstanding interfaces from
6369 Accessible_queryInterface.
6371 * cspi/spi_action.c:
6373 Corrected call to getNActions to call the c binding
6376 * cspi/spi_editabletext.c:
6378 Changed name from setRunAttributes to setAttributes.
6380 * cspi/spi_hyperlink.c:
6382 Changed call to getNAnchors to correctly call the c
6383 binding for an attribute.
6385 * cspi/spi_hypertext.c:
6387 Changed getImageDescription to correctly call the
6388 binding for an attribute.
6390 * cspi/spi_selection.c:
6391 Changed getNSelectedChildren to correctly call the c
6392 binding for the attribute.
6393 Changed refSelectedChild to getSelectedChild.
6397 Changed getCaption to return an Accessible.
6398 Fixed calls which retrieve attributes.
6399 Changed refAt to getAccessibleAt.
6400 Changed getNSelectedRows and getNSelectedColumns to
6404 Changed getCharacterExtents and getPointAtOffset to accept an
6405 AccessibleCoordType.
6407 Changed calls which retrieve attributes.
6408 Changed refRunAttributes to getAttributes.
6413 * idl/Hyperlink.idl:
6414 Changed n_anchors attribute to nAnchors to keep naming
6415 convention consistent.
6418 Made Table inherit from Bonobo::Unknown.
6419 Added nSelectedColumns and nSelectedRows attributes.
6422 Made Value inherit from Bonobo::Unknown.
6424 * libspi/hyperlink.c:
6425 Change for nAnchors attributte name change.
6428 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6430 implementations-- made server implementations own AtkObject pointers
6431 rather than their respective AtkInterrface pointers to fix
6432 refcounting. AtkHyperlink is still broken.
6434 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6435 * cspi/spi_accessible.c:
6436 Added method Accessible_Role_getName(),
6437 and requisite string array (role_names).
6438 Added conversion string_from_corba_strin() call
6439 to Accessible_getName and _getDescription.
6440 * libspi/accessible.c:
6441 Added implementation for Accessible_getRole()
6443 Added festival support, used if environment variable
6446 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6448 * at-bridge/bridge.c:
6449 Now allocate Accessibility_Event using
6450 Accessibility_Event__alloc() instead of g_new0().
6451 * libspi/accessibleeventlistener.c:
6452 Initialize AccessibleEventListener->callbacks to NULL.
6453 Fixed accessible__event_listener_init() param, changed to
6454 "AccessibleEventListener *" type.
6455 Changed a bonobo_object_release_unref() call to
6456 Accessibility_Accessible_unref().
6457 * libspi/listener.c:
6458 Changed Bonobo_Unknown_unref to (equivalent)
6459 Accessibility_Accessible_unref.
6460 * libspi/registry.c:
6461 Changed bonobo_object_release_unref to
6462 Accessibility_Accessible_unref.
6464 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6467 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6468 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6469 spi-util.c spi-util.h
6470 Implementations for C bindings to remaining accessibility
6473 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6476 changed return value of Action from void to boolean to
6477 bring in line with ATK.
6480 Changed getText funcions to return "out" start and end offsets.
6481 Changed getAttributes to take and offset and return the start
6482 and end offset of the attribute run.
6483 Changed getOffsetAtPoint and getCharacterExtents to take an
6484 enum describing whether coordinates are window or screen.
6487 libspi/action.c libspi/action.h libspi/editabletext.c
6488 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6489 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6490 libspi/image.h libspi/selection.c libspi/selection.h
6491 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6492 libspi/value.c libspi/value.h
6493 Added server implementations for outstanding ATK interfaces
6494 not yet implemented.
6496 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6499 Added (missing) getName() method.
6500 Made nActions an attribute.
6501 * idl/EditableText.idl:
6502 Changed order of params in setAttributes.
6503 * idl/Hyperlink.idl:
6504 Removed getAnchor, added getURI.
6506 Changed attributes to methods, for efficiency
6507 (so that getting extents can be done in one call)
6508 * idl/Selection.idl:
6509 Changed nSelectedChildren to attribute, and re-indented.
6510 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6512 * idl/Text.idl: reformatted to match our coding style.
6513 (temporarily?) removed getRowColumnAtOffset().
6514 Changed text selection API to support multi-select and
6515 non-contiguous selections, as in ATK.
6516 * idl/Value.idl: changed some methods to attributes.
6518 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6520 * libspi/listener.c(impl_notify_event):
6521 BonoboUnkown_unref the source instead
6522 of bonobo_object_release_unref - the ORB
6523 handles the releasing.
6525 * configure.in: require ORBit-2.3.94 for
6528 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6530 Tagged CVS repository 'EA_1_0'.
6531 * README.EARLY_ACCESS:
6532 Alphabetized acknowledgements list, and
6534 Listed some known dependencies of at-spi.
6536 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6538 * docs/at-spi-docs.sgml:
6539 * docs/at-spi-sections.txt:
6540 * docs/at-spi-overrides.txt: (Added zero-length file)
6541 Documentation improvements - gtk-doc should build
6542 docs for all implemented C bindings now.
6545 * cspi/spi.c: (New file)
6546 * cspi/spi_event.c: (New file)
6547 * cspi/spi_registry.c: (New file)
6548 * cspi/spi_accessible.c: (New file)
6549 * cspi/spi_application.c: (New file)
6550 * cspi/spi_component.c: (New file)
6551 Split spi_main.c into six parts, and included them from
6552 "spi.c". This is a bit of a hack, probably temporary,
6553 but required by gtk-doc, apparently.
6555 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6558 * docs/at-spi-docs.sgml:
6559 * docs/at-spi-sections.txt:
6561 Initial checkins/modifications for gtk-doc generation.
6564 Added (missing) interface query methods to Accessible's C binding.
6566 Added GenericInterface type definition.
6568 Added query for AccessibleComponent interface to focus event handler.
6569 Added printout of bounding box for focussed component.
6570 * libspi/component.c:
6571 Added partial implementation for AccessibleComponent to C binding.
6572 * idl/Application.idl:
6573 * libspi/registry.c:
6574 * libspi/listener.c:
6575 * libspi/application.c:
6576 * libspi/application.h:
6577 Changed "ID" attribute type from string to long.
6579 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6583 Made method naming consistent: methods taking object args
6584 start with uppercase, other methods (except those using
6585 acronyms) start with lowercase. Underscores delimit between
6586 object names and method names:
6587 SPI_init() - uppercase since it starts with an acronym.
6588 getDesktopCount () - lowercase start since no object param0.
6589 Accessible_getName() - uppercase object type name, studlyCaps method
6593 Added gtk-doc documentation for all currently implemented
6594 methods in the C bindings API.
6596 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6598 * Makefile.am : changed build order to build test last.
6601 Changed "createEventListener" to "CreateEventListener".
6602 * libspi/accessibleeventlistener.c :
6603 Bugfix for addition of callbacks.
6604 * test/Makefile.am :
6605 * test/simple-at.c :
6606 Added new test that uses the C bindings API.
6608 * libspi/listener.c :
6609 * libspi/registry.c :
6610 * libspi/accessibleeventlistener.c :
6611 * at-bridge/bridge.c :
6612 Renamed member "target" of Accessibility_Event to "source",
6613 which is more descriptive.
6616 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6620 * cspi/Makefile.am :
6621 Added makefile support for at-spi/cspi directory.
6624 * cspi/spi-listener.h : (NEW FILE)
6625 Added support for/use of spi-listener.h.
6627 C bindings now build successfully, with no warnings.
6628 * libspi/accessibleeventlistener.h : (NEW FILE)
6629 * libspi/accessibleeventlistener.c : (NEW FILE)
6630 * libspi/Makefile.am :
6631 Added new object type "AccessibleEventListener"
6632 which inherits from Listener, and allows attachment
6633 of in-process callbacks (so that a client with a listening
6634 object instance can add functionality to the local
6635 implementation, dynamically).
6637 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6639 * libspi/accessible.c:
6640 Add implementation for get_index_in_parent().
6642 Added #include of "spi-roletypes.h", and
6643 added enumerated type AccessibleCoordType.
6644 Added definition for KeystrokeListener (function type).
6647 * cspi/spi-statetypes.h :
6648 * cspi/spi-roletypes.h :
6650 Added these headers, used by spi.h.
6652 Added code (NOTE: not yet built by make).
6654 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6656 * libspi/Makefile.am: generate imodule
6657 at the same time as other idl compiler
6660 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6661 * libspi/registry.c :
6662 * libspi/application.c :
6663 * idl/Application.idl :
6664 Made registration with toolkit an application method,
6665 which is required since each app has its own toolkit static
6666 environment. Thus the bridge must register for
6667 notification of toolkit events from each application in turn.
6668 Toolkit notifications are now successfully registered for, and
6669 sent to the listening at client.
6671 Changed toolkit event string to use hyphens rather than underscores.
6672 * libspi/listener.c :
6673 listner now gives more info in debug mode - it reports the
6674 name of the event received, as well as the name of the source.
6677 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6679 * libspi/registry.c :
6680 added more implementation for toolkit events.
6681 Fixed bug such that toolkit event registrations
6682 (via atk) use the whole event name string, not
6684 Removed a useless call to an ORBit_ method.
6685 * at-bridge/bridge.c :
6686 Removed unused local sbuf[] variable.
6688 We now register for Gtk:GtkWidget:button_press_event
6689 events as well as "focus:" events.
6691 Add some more API from Registry.idl that was missing,
6692 for keystroke listening, keystroke and mouse event
6693 synthesis, and enumeration of accessible desktops.
6695 2001-08-16 Michael Meeks <michael@ximian.com>
6697 * configure.in: use AM_GLIB_GNU_GETTEXT.
6699 * Makefile.am (SUBDIRS): kill intl.
6701 2001-08-15 Michael Meeks <michael@ximian.com>
6703 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6705 * configure.in: upd.
6707 * configure.in: depend on a recent bonobo-activation that
6708 will find our server files ...
6710 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6712 * libspi/accessible.c : accessible_new() :
6713 Now we add the Component interface via bonobo_object_add_interface,
6714 if the contained AtkObject implements AtkComponent.
6715 * libspi/accessible.h : now include "component.h"
6716 * libspi/component.h :
6717 * libspi/component.c : added files - implementation of
6718 bonobo wrapper object for Accessibility/Component
6719 * libspi/listener.c :
6720 Added test code to check for Accessibility/Component:1.0
6721 interface and report whether it is implemented by the
6723 * libspi/registry.c :
6724 Now we check for not only the hash of the whole event
6725 string before relaying the event, we also check the
6726 "minor" event string (without the detail string).
6727 This allows event listeners to be registered against
6728 all events of a certain major+minor type, or just
6729 against a specific major+minor+detail type.
6730 * libspi/accessible.c :
6731 Added implementations for Accessible:get_parent(),
6732 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6733 * libspi/registry.c :
6734 * libspi/listener.c :
6735 Replaced calls to Accessibility_Accessible_ref() and
6736 Accessibility_Accessible_unref() with
6737 calls to bonobo_object_dup_ref() and
6738 bonobo_object_release_unref(), so that the CORBA object
6739 is dup-ed and released when relayed, as well as the bonobo object.
6741 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6743 * libspi/Makefile.am,
6744 registryd/Makefile.am,
6745 at-bridge/Makefile.am.
6746 test/Makefile.am, configure.in:
6747 reverse previous changes.
6749 * /idl/Image.idl: fix typo.
6751 * test/Makefile.am: put DEBUG_FLAGS
6754 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6756 * test/app.c: use argv[0] instead of
6759 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6761 * libspi/Makefile.am,
6762 registryd/Makefile.am,
6763 at-bridge/Makefile.am.
6764 test/Makefile.am, configure.in:
6765 cleanup, replace individual LIBS/CFLAGS with
6766 AT_COMMON_{LIBS|CFLAGS}.
6770 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6772 * configure.in, libspi/Makefile.am:
6773 Change IDL path checking for bonobo-activation
6776 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6778 * registryd/registry.c : separated event listeners to use
6779 3 separate lists (focus, window, toolkit). Began testing
6780 event names against hashes before relaying events.
6781 * test/at.c : now register for events of type "focus:"
6782 * test/app.c : now generate events of type "focus:"
6783 * at-bridge/bridge.c : register with ATK for focus events,
6784 and we now relay those focus events to any "focus:" listeners.
6785 This now works with the bridge as a GTK_MODULE when running test/at.
6786 * libspi/registry.c :
6787 * libspi/listener.c :
6788 now we ref event sources before propagating, and unref on receipt.
6789 * libspi/registry.c :
6790 some changes to internal structs, to support event typestring hashes.
6791 * text/app.c : changed the way the appname is generated.
6792 * cspi : added directory that will hold the C bindings library for
6793 non-CORBA/bonobo-savvy clients.
6794 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6795 * idl/Component.idl : added in parameter to indicate coord system for
6796 geometry-related calls.
6797 * idl/Hyperlink.idl : added readonly n_links attribute
6798 * idl/Image.idl : changed methods to attributes.
6800 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6802 * at-bridge/Makefile.am: link against
6803 ../libspi/libspi.la instead of -lspi.
6805 * at-spi/test/app.c: include
6806 bonobo-activation.h. Use a default appname
6807 if one is not provided.
6809 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6811 * idl/Registry.idl : temporarily changed register_Application
6812 to oneway, to work around issue with initial registration
6814 * idl/Application.idl : changed attribute "id" from readonly
6815 to read-write, since it needs to be assigned by Registry.
6816 * registryd/registryd.c : added call to set application id
6818 * registryd/registry.c : changed de-registration procedure to
6819 use CORBA_Object_hash() to find matching object ref in application
6820 lists and listener lists.
6821 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6822 began distinguishing between event types (work in progress).
6824 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6827 * libspi/application.c:
6828 Added implementations for get/set id, get_toolkitName,
6830 * registryd/registryd.c :
6834 Converted from use of OAF to bonobo-activation.
6835 * libspi/desktop.h :
6836 * libspi/desktop.c :
6838 Removed references to atksimpleobject, since base atkobject
6839 implementation now provides functionality we need.
6840 * libspi/atksimpleobject.c :
6841 * libspi/atksimpleobject.h :
6846 * at-bridge/Makefile.am
6847 * at-bridge/bridge.c
6850 Added directory "bridge" and contents, and added dependencies
6851 in Makefile.am/configure.in.
6852 Initial checkin of "at-bridge".
6853 This code is a GTK_MODULE which automatically registers
6854 GTK+ apps with the accessibility registry, using an object
6855 reference to the root ATK object.
6857 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6859 * po/Makefile.in.in: Remove. Again. If this
6860 doesn't get autogenerated - you need to update
6863 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6865 * po/Makefile.in.in: Add. Again.
6867 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6869 * libspi/accessible.c : added support for 'description' property.
6870 * libspi/accessible.c
6872 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6873 (since the two are now equivalent in libbonobo)
6881 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6882 Bonobo::Unknown as does Accessibility::Accessible.
6883 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6884 interface with Bonobo::Stream, since it was redundant with it.
6885 (The Stream returned by a StreamableContext object is expected to
6886 implement only a subset of Bonobo::Stream)
6888 2001-07-28 Anders Carlsson <andersca@gnome.org>
6890 * libspi/accessible.c (accessible_object_finalize): Change
6891 g_free to g_object_unref since the AtkObject is a GObject.
6893 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6895 * idl/Accessibility.idl: add new IDL files
6898 * idl/Action.idl: Definitions of actionable UI object
6899 * idl/Component.idl: Definitions of UI component geometry, etc.
6900 * idl/Hyperlink.idl: Defs of hyperlink behavior
6901 * idl/Image.idl: Def of accessible image
6902 * idl/Selection.idl: Definition of UI object with selectable children
6903 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6904 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6905 * idl/Text.idl: Interface defs for UI elements with complex textual content
6906 * idl/Value.idl: Definition of UI element that is a value controller or display
6908 2001-07-27 Michael Meeks <michael@ximian.com>
6910 * po/Makefile.in.in: remove autogenerated file from CVS.
6912 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6915 * idl/Registry.idl: include guard.
6917 * idl/Accessibility.idl: Add, and include all the other IDL
6920 * idl/*.idl: remove mass of pragmas etc.
6922 2001-07-26 Michael Meeks <michael@ximian.com>
6924 * registryd/Makefile.am (registryd_SOURCES): remove
6927 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6929 * libspi/.cvsignore, registryd/.cvsignore,
6930 test/.cvsignore: updated.
6932 * po/Makefile.in.in: gettext update.
6934 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6936 * initial CVS checkin
6938 2001-06-29 Michael Meeks <michael@ximian.com>
6940 * configure.in: add AM_CONFIG_HEADER to gen config.h