1 2004-03-22 Bill Haneman <billh@gnome.org>
3 * configure.in: Revved to 1.4.0, libtool 9.14.9
5 2004-03-17 Laszlo Peter <laca@sun.com>
7 * libspi-1.0-uninstalled.pc.in: add idldir
9 * cspi-1.0-uninstalled.pc.in: add idldir
11 2004-03-16 Gareth Owen <gowen72@yahoo.com>
13 * configure.in: Added "en_GB" to ALL_LINGUAS
15 2004-03-15 Bill Haneman <billh@gnome.org>
17 * configure.in: Revved to 1.3.16,
20 2004-03-15 Laszlo Peter <laca@sun.com>
22 * libspi-1.0-uninstalled.pc.in: new file
24 * cspi-1.0-uninstalled.pc.in: new file
26 * configure.in: add the new pc files to AC_OUTPUT
28 * Makefile.am: add the new pc files to EXTRA_DIST
30 2004-03-12 Bill Haneman <billh@gnome.org>
32 * atk-bridge/bridge.c:
33 (spi_atk_bridge_key_listener):
34 Make sure to return consumed=FALSE if snoop
35 event is not dispatched to listener.
38 2004-03-01 Bill Haneman <billh@gnome.org>
40 * configure.in: Revved to 1.3.15,
43 2004-03-07 Danilo Segan <dsegan@gmx.net>
45 * configure.in: Added "sr@ije" to ALL_LINGUAS.
47 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
49 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
51 2004-03-01 Bill Haneman <billh@gnome.org>
53 * configure.in: Revved to 1.3.14.
56 (SPI_exit): Removed "bye-bye" exit message.
57 Moved "leak" report to happen before the
58 iteration over the leaked refs list.
59 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
61 2004-02-24 Bill Haneman <billh@gnome.org>
63 * configure.in: Revved to 1.3.13.
65 * docs/reference/cspi/Makefile.am:
66 Correct typo that was breaking the docs build.
68 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
70 * autogen.sh: Require version 1.7 of automake.
72 * configure.in: call GTK_DOC_CHECK([1.0])
74 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
76 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
78 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
80 * test/Makefile.am: Remove use of CFLAGS.
82 This fixes bug #132987.
84 2004-02-11 Bill Haneman <billh@gnome.org>
86 * reverted most of Tomasz' patch below, since it was breaking
87 builds (see bug #134058).
89 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
91 * docs/reference/cspi/at-spi-cspi.types: added empty file for
92 correct pass "make dist" (empty .. because seems no sach types in
93 header files with gtk-doc markups).
94 * docs/reference/cspi/Makefile.am, configure.in:
95 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
96 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
98 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
99 for force correct pass generate documentation on "make distcheck".
100 * libspi/Makefile.am: fixes for automake >= 1.6.
101 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
102 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
105 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
107 * docs/reference/cspi/Makefile.am (install-data-local): Install
108 index.sgml since the doc autobuilder on widget.gnome.org looks for
111 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
113 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
116 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
118 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
120 2004-01-27 Brian Cameron <brian.cameron@sun.com>
122 * test/simple-at.c: Fixed null string problems that cause core
123 dumping problems on Solaris.
125 2004-01-12 Bill Haneman <billh@gnome.org>
127 * configure.in: Incremented version to 1.3.11.
129 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
131 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
132 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
135 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
137 * configure.in: Added "fa" to ALL_LINGUAS.
139 2003-12-20 Arafat Medini <lumina@silverpen.de>
141 * configure.in: Added "ar" to ALL_LINGUAS
143 2003-12-16 Bill Haneman <billh@gnome.org>
145 * registryd/registry-main.c:
147 Set the reg_env DISPLAY variable before registering the
148 activated registry service. Fixes bug #129479.
150 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
152 * configure.in: Added "id" in ALL_LINGUAS
153 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
155 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
157 * registryd/deviceeventcontroller.c (global_filter_fn):
158 When an event is consumed discard any XEvents were added to
159 the queue while dealing with the the event. This can happen if
160 processing of the event takes a long time. Call XUngrabKeyboard
161 if an event was discarded. This fixes bug $124837.
162 Only call wait_for_release_event for a KeyPress.
163 Use local variable display instead of spi_get_display().
164 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
167 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
169 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
170 Allow for mask to contain values other than NumLock mask.
173 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
175 * registryd/devieceventcontroller.c:
176 (wait_for_release_event): Change first parameter from GdkEvent to
178 (global_filter_fn); Correct call to wait_for_release_event.
182 2003-12-08 Bill Haneman <billh@gnome.org>
186 * registryd/ucs2keysym.c: New file.
188 * registryd/deviceeventcontroller.c:
189 (dec_keysym_for_unichar): Remove old partial implementation and
190 replace with call to ucs2keysym(), which is much more complete.
191 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
196 2003-12-05 Bill Haneman <billh@gnome.org>
198 * configure.in: Version 1.3.9.
200 * docs/reference/cspi/tmpl/spi_registry.sgml:
201 Added reference to libspi/keymasks.h to the
202 description of Registry queries: AccessibleKeyMaskType.
205 2003-12-04 Bill Haneman <billh@gnome.org>
209 * idl/Accessibility_Application.idl:
210 (Accessibility::LOCALE_TYPE): New enum, corresponds to
211 setlocale's LC_TYPEs.
212 (Accessibility::Application::getLocale): New method.
213 Allows clients to query the locale, by type, of an app.
216 * cspi/spi_application.c:
217 (AccessibleApplication_getLocale): New method, wraps IDL above.
219 * libspi/application.c:
220 (spi_application_class_init): Init epv entry for getLocale.
221 (impl_accessibility_application_get_locale): Impl for above.
223 * test/test-simple.c:
224 (test_application): Added assertion for getLocale, i.e.
225 that the string from AccessibleApplication_getLocale (app, type)
226 is the same as that from setlocale (type, NULL);
228 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
230 *registryd/deviceeventcontroller.c: Add an idle handler which polls
231 the keyboard on a timeout intil the key state goes from pressed to
232 released. Fixes bug #111429.
234 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
236 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
237 root object so that it is present when a context menu in an
238 out-of-process applet is popped up.
239 (spi_atk_bridge_do_registration): Create acceessible application root
240 object only if it does not exist.
242 This fixes bug #125834.
244 2003-12-01 Bill Haneman <billh@gnome.org>
246 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
249 Added enum for AccessibleStreamableContentSeekType.
250 (AccessibleStreamableContent_freeContentTypeList): New.
252 * cspi/spi_streamablecontent.c:
253 (accessible_bonobo_stream_client_seek): New private method.
254 (AccessibleStreamableContent_seek): Implemented this method,
255 using Bonobo_Stream_seek.
256 (AccessibleStreamableContent_freeContentTypeList): New method
257 for freeing the return value from
258 AccessibleStreamableContent_getContentTypes.
259 (stream_cache_item_free): Replaces stream_release; stop leaks.
260 (stream_release): removed.
261 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
262 free the memory properly.
264 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
268 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
270 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
272 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
274 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
276 2003-12-01 Bill Haneman <billh@gnome.org>
278 Fix for bug/rfe #127463.
280 * idl/Accessibility_Accessible.idl:
281 (getLocalizedRoleName): New.
282 (unimplemented4): Removed (replaced by above).
284 * libspi/accessible.c:
285 (impl_accessibility_accessible_get_local_role_name): New.
286 (spi_accessible_class_init): Add getLocalizedRoleName entry to
290 (Accessible_getLocalizedRoleName): New.
292 * cspi/spi_accessible.c:
293 (Accessible_getLocalizedRoleName): New.
295 2003-12-01 Bill Haneman <billh@gnome.org>
298 * idl/Accessibility_Text.idl:
299 (getDefaultAttributes): New.
300 (unimplemented4): Removed (replaced by above method).
303 (impl_getDefaultAttributes): New method.
304 (spi_text_class_init):
305 initialize the get_default_attributes slot in the epv.
308 (AccessibleText_getDefaultAttributes): New prototype.
311 (AccessibleText_getDefaultAttributes): New method.
313 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
315 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
316 write beyond the end of the table. Fixes bug #120473.
318 2003-09-30 Christian Rose <menthos@menthos.com>
320 * configure.in: Added "eu" to ALL_LINGUAS.
322 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
324 * configure.in: ALL_LINGUAS: Added no.
326 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
328 * configure.in: Added lt to ALL_LINGUAS.
330 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
332 * atk-bridge/bridge.c:
333 (atk_bridge_init): Register event listeners always even for
334 out-of-process applet.
335 (spi_atk_bridge_toplevel_added): Remove call to
336 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
337 (spi_atk_bridge_toplevelk_removed): Remove call to
338 spi_atk_deregister_event_listenersa as the listeners are now always
340 (spi_atk_bridge_register_application): Remove call to
341 spi_atk_register_event_listeners as it is not done in atk_bridge_init
343 This fixes bug #120991.
345 * libspi/table.c (impl_getColumnDescription): Correct typo,
346 pointed out by Bolian.Yin@sun.com.
348 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
350 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
352 2003-09-08 Bill Haneman <billh@gnome.org>
354 * configure.in: Revved to 1.3.7.
356 This is the GNOME 2.4.0 release of at-spi.
358 * docs/reference/cspi/Makefile.am:
359 Removed spurious inclusion of 'index.sgml' in the
360 html directory; this was breaking make distcheck and
361 also some other build environments.
363 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
365 * registryd/registry.[ch}:
366 Add queue_handler_id and focus_object to SpiRegistry data structure.
367 (registry_flush_event_queue): If event being discarded is
368 "state-change:focused" store object as focus_object.
369 (registry_start_queue): Remove queue handler and focus object
371 (registry_discard_event): New function which discards a focus event
372 if we had stored focus object in the registry.
373 (registry_queue_event): Add new check that is_queueing is set as this
374 function is reentrant.
375 (registry_filer_event): Add call to registry_discard_event.
377 This resolves issues raised in bug #108664.
379 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
381 * configure.in: Added "bn" to ALL_LINGUAS.
383 2003-09-04 Bill Haneman <billh@gnome.org>
385 * cspi/spi_event.c: Documentation improvements for
386 (SPI_registerAccessibleKeylistener).
388 * docs/reference/tmpl/spi_registry.sgml:
389 Documentation improvements for SpiAccessibleKeylistenerCB.
391 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
393 * configure.in: Added "ro" to ALL_LINGUAS.
396 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
398 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
399 not decremented to zero. Fixes bug #120725.
401 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
403 * configure.in: Added "ja" to ALL_LINGUAS.
405 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
407 * configure.in: Added "is" to ALL_LINGUAS.
409 2003-08-22 Christian Rose <menthos@menthos.com>
411 * configure.in: Added "nl" to ALL_LINGUAS.
413 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
415 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
416 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
418 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
420 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
421 type for unspecified exception.
422 * cspi_streamablecontect): Add include of string.h for memcpy.
423 (stream_release): Correct call to bonobo_object_release_unref
424 (stream_cache_item_free): Correct call to bonobo_object_release_unref
425 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
426 argument of _cspi_expection_throw.
427 * libspi/hyperlink.c: Add include of libspi/action.h:
428 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
429 * libspi/streamablecontent.c: add include of libspi/component.h.
430 * regisrtyd/deviceeventcontroller.c:
431 (spi_dec_translate_mask): Removed unused variable priv.
432 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
433 * registryd/registry.c:
434 (registry_filter_event): Remove unused variable queue_is-empty.
435 (impl_registry_notify_event): Use correct modifier in fprintf call.
437 This fixes compiler warnings reported in bug #120220.
439 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
441 * registryd/registryd.c: Remove this file.
443 2003-08-17 Sanlig Badral <badral@openmn.org>
445 * configure.in: Added mn to ALL_LINGUAS.
447 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
449 * configure.in: Added et to ALL_LINGUAS.
451 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
453 * test/event-listener-test.c: Change active-descendant to
454 active-descendant-changed.
456 2003-08-10 Sami Pesonen <sampeson@iki.fi>
458 * configure.in: Added "fi" in ALL_LINGUAS.
460 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
462 * configure.in: Added "hi" in ALL_LINGUAS.
464 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
466 * configure.in: Revved to 1.3.6.
470 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
472 * registryd/deviceeventcontroller.c
473 (spi_device_event_controller_object_finalize): Fix typo in previous
476 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
478 * registryd/deviceeventcontroller.c
479 (spi_device_event_controller_object_finalize): Fix build on
480 systems without XEvIE.
482 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
484 * acconfig.h, configure.in, registryd/Makefile.am,
485 registryd/devicecontoller.[ch]: Add XEViE support.
487 2003-08-06 Wang Jian <lark@linux.net.cn>
489 * configure.in: Added "zh_CN" to ALL_LINGUAS.
491 2003-08-06 Metin Amiroff<metin@karegen.com>
493 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
495 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
497 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
498 MODIFIER_ALT in correct place.
500 This fixes part of bug #118114.
502 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
504 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
506 2003-07-28 Changwoo Ryu <cwryu@debian.org>
508 * configure.in: Added "ko" to ALL_LINGUAS.
510 2003-07-28 Ole Laursen <olau@hardworking.dk>
512 * configure.in: Added "da" to the commented out ALL_LINGUAS.
514 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
516 * configure.in: Added "sq" to ALL_LINGUAS.
518 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
520 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
522 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
524 * configure.in: updated ALL_LINGUAS list
526 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
528 * configure.in: Added Belarusian to ALL_LINGUAS.
530 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
532 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
534 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
535 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
537 This fixes bug #116949.
539 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
541 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
542 Correct CSPI to SPI in function documentation.
544 This fixes bug #118054.
546 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
548 * configure.in: Added Russian to ALL_LINGUAS.
550 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
552 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
554 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
556 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
558 2003-07-10 Joel Brich <joel.brich@laposte.net>
560 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
562 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
564 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
566 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
568 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
569 resources allocated for AccessibleEvent. See cspi_event().
571 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
572 static variable streams to NULL.
574 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
575 Update so that AcessibleEvent_ref will work.
577 This fixes bug #116624.
579 2003-07-06 Jordi Mallach <jordi@sindominio.net>
581 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
583 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
585 * configure.in: Added "fr" (French) to ALL_LINGUAS.
587 2003-07-02 Christian Neumair <chris@gnome-de.org>
589 * configure.in: Added "de" (German) to ALL_LINGUAS.
591 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
593 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
595 2003-07-01 Miloslav Trmac <mitr@volny.cz>
597 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
599 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
601 * configure.in: Added "pl" to ALL_LINGUAS.
603 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
605 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
607 2003-06-30 Bill Haneman <bill.haneman@sun.com>
610 (get_action_from_servant):
611 Removed assertion that action is implemented on an AtkObject.
613 * libspi/hyperlink.c:
615 Aggregate AccessibleAction interface on the hyperlink object if
616 the object implements AtkAction. (This convention is used in
619 2003-06-30 Bill Haneman <bill.haneman@sun.com>
621 * configure.in: Revved to 1.3.5.
623 * registryd/Accessibility_Registry.server.in.in:
624 Marked up appropriate strings for translation.
626 * atk-bridge/bridge.c: Marked a couple of
627 user-visible warnings for translation. Questionable
628 whether they are really useful, but possibly so.
631 2003-06-28 Christian Rose <menthos@menthos.com>
633 * configure.in: Added "sv" to ALL_LINGUAS.
635 2003-06-26 Bill Haneman <bill.haneman@sun.com>
637 * registryd/registry.c:
638 (spi_registry_object_finalize): Unref the deviceeventcontroller.
639 (registry_defer_on_event): Defer focus: events, this is an
640 improvement to the patch for bug #108664.
642 * TODO: Update with 2.4/"Dev Complete" items.
644 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
646 * atk-bridge/bridge.c:
647 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
648 looks up signals once.
649 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
650 if doing registration.
651 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
652 when doing registration.
654 This fixes bug #115014.
656 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
658 * atk-bridge/bridge.c:
659 (atk_bridge_init): Add signal handler for children-changed:remove on
660 root when in a BonoboComponent.
661 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
662 for first toplevel only other incrememt variable toplevels.
663 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
664 application and remove listeners.
665 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
667 (spi_atk_deregister_event_listeners): New function which removes
669 (reinit_register_vars): New fuction which reinitializes variables.
671 This fixes bug #111578.
673 2003-06-13 Bill Haneman <bill.haneman@sun.com>
675 * configure.in: version 1.3.4.
677 * cspi/spi_accessible.c:
678 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
681 2003-06-13 Michael Meeks <michael@ximian.com>
683 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
685 * cspi/spi_main.c (cspi_peek_ev): impl.
687 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
689 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
691 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
693 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
694 SPI_ROLE_AUTOCOMPLETE
696 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
698 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
699 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
701 2003-06-11 Bill Haneman <bill.haneman@sun.com>
703 * libspi/streamablecontent.h:
704 * libspi/streamablecontent.c:
705 New files, provide implementation/wrappers for
706 Accessibility_StreamableContent.
708 * cspi/spi_streamablecontent.c:
709 Connected the C wrappers to the libspi C bindings.
710 (AccessibleStreamableContent_close): New method.
713 (AccessibleStreamableContent_close): New method, needed
714 since we have an "open, [seek], read, close" model in cspi.
716 2003-06-11 Bill Haneman <bill.haneman@sun.com>
718 Fix for #108664; Padraig's revision of my original patch.
720 * registryd/registry.h:
721 Added event queue list, is_queuing, and exit_notify_timeout
722 to the registry struct.
724 * registryd/registry.c:
725 (registry_init): Initialize new struct from registry.h.
726 (impl_registry_notify_event):
727 Filter events before notifying, in case some need to be
729 (registry_filter_event): New,
730 we defer certain incoming events (for instance
731 window:deactivate) because we may wish to hide
732 or reject them based on pending events. This is
733 mostly a workaround for bug #108664.
734 (registry_queue_event, registry_start_queue): New.
735 (registry_defer_on_event): Test event to see if it
737 (registry_reset_on_event): Returns TRUE if the
738 event should cause a queue reset.
739 (registry_discard_on_event): Returns TRUE if the event
740 should cause the previous queue contents to be discarded.
741 (registry_timeout_flush_queue): Flushes the pending event
742 queue if no reset/discard-triggering events have come in
743 within the timeout period.
744 (registry_emit_event): New.
745 (registry_clone_notify_context): New, used when queueing the
746 event notify contexts.
748 2003-06-10 Bill Haneman <bill.haneman@sun.com>
750 * configure.in: Version revved to 1.3.2, lt 0.9.2
751 Incremented ATK required version to 1.3.4.
753 * cspi/spi_registry.c:
754 (SPI_generateKeyEvent):
755 We now pass the keystring along if it's non-null.
757 * registryd/deviceeventcontroller.c:
758 (keysym_mod_mask): New method, returns modifier mask
759 required to generate a keysym from a given keycode.
760 (dec_synth_keysym): New method.
761 (dec_synth_keystring): New method.
762 (dec_get_modifier_state): New method.
763 (dec_lock_modifiers): New
764 (dec_unlock_modifiers): New.
765 (dec_keysym_for_unichar): New, rather brute-force
766 conversion from UCS-4 to X KeySyms. Only works for
767 Latin at the moment, with partial implementations for
768 Greek, Hebrew, and (incomplete) Katakana.
769 (impl_generate_keyboard_event): Now implement
770 "KEYSTRING" synthesis and implement "KEYSYM"
772 (keycode_from_keysym): Improved, passes a returned
773 modmask value now if the corresponding param is non-NULL.
775 Fixes bugs #92143 and #109776.
778 * test/keysynth-test.c:
779 New test program for key synthesis, to confirm fixes for
783 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
785 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
787 * cspi/spi_accessible.c (cspi_init_relation_type_table):
788 Add line for RELATION_POPUP_FOR
790 * docs/reference/cspi/tmpl/spi_relation.sgml:
791 Add relation SPI_RELATION_POPUP_FOR
793 * docs/reference/cspi/tmpl/spi_stateset.sgml:
794 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
796 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
798 * libspi/relation.c (spi_init_relation_type_table):
799 Add line for RELATION_POPUP_FOR
801 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
803 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
804 there are still windows which have not been deleted and emit
805 window:deactivate, if necessary and window:destroy events.
806 This fixes bug #114370. The change on June 5th was not correct.
808 2003-06-09 Bill Haneman <bill.haneman@sun.com>
810 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
813 (SPI_dupString): Allow dup-ing of a string such that it's safe to
815 New methods for client exception handling and interception.
816 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
817 (SPI_exceptionHandlerPop): You guessed it...
818 (SPI_getSourceType): Return the type of object which offended.
819 (SPI_getExceptionCode): Return an enum code telling, possibly,
820 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
821 (SPIAccessibleException_getSource): get the source object for
822 exceptions that come from Accessibles, if SPIExceptionSourceType is
823 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
824 (SPIException_getDescription): New, returns a string description of
825 the problem. [Not yet a stable ABI, strings are not frozen]
827 * cspi/spi-private.h:
828 Added implementation details of opaque SPIException
832 Implementations of above. Also
833 (_cspi_exception_throw): new private method that
834 dispatches exceptions to handlers, called from cspi-bonobo.c
836 * cspi/bonobo/cspi-bonobo.c:
837 (cspi_check_ev): call _cspi_exception_throw.
838 Don't print a warning message if the exception has been
839 handled by _cspi_exception_throw.
841 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
843 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
844 there are still windows which have not been deleted and emit
845 window:deactivate, if necessary and window:destroy events.
846 This fixes bug #114370.
848 2003-06-03 Bill Haneman <bill.haneman@sun.com>
851 (cspi_accessible_is_a): Make non-fatal
852 if the object reference is dead.
854 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
856 * cspi/spi_main.c: #include <stdio.h>
857 * test/simple-at.c: ditto
858 * test/event-listener-test.c: ditto
859 * test/screen-review-test.c: ditto
861 2003-05-30 Michael Meeks <michael@ximian.com>
863 * test/test-simple.c (main): use CORBA_ORB_perform_work
864 instead of an unnecessary linc_ call.
866 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
868 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
869 Add SPI_STATE_INDETERMINATE.
871 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
874 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
876 * libspi/stateset.c (init_state_type_tables): Add support for
879 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
881 * configure: Update versions of atk and gail required.
882 This fixes bug #113268.
884 2003-05-02 Bill Haneman <bill.haneman@sun.com>
886 * configure.in: Revved micro version to 1.3.1 (because of build fix).
888 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
890 * libspi/Makefile.am:
891 Ensure headers are generated before being used by c sources.
893 2003-05-01 Bill Haneman <bill.haneman@sun.com>
896 Simplified lt versioning rules.
897 Incremented version to 1.3.0, to indicate that we're on the
900 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
902 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
903 Add MKDB_OPTIONS=--outtput-format=xml
905 * docs/reference/cspi/at-spi-cspi-docs.sgml
906 docs/reference/idl/at-spi-idl-docs.sgml:
907 Convert to Docbook XML.
909 This fixes bug #111793.
911 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
913 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
914 AcccessibleKeyEventType, AccessibleKeyMaskType.
916 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
918 * cspi/state-types.h: Add documentation for AccessibleState.
920 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
921 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
922 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
923 AccessibleComponentLayer.
925 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
928 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
930 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
931 Accessible. Add description of AccessibleEvent,
932 AccessibleEventListenerCB.
934 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
937 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
938 documentation. Add description of AccessibleKeystrokeListenerCB,
939 AccessibleKeyEventMask, AccessibleModifierMaskType,
940 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
941 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
943 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
946 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
949 This fixes bug #104730.
951 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
953 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
954 Set is_text field of Accessibility_DeviceEvent data structure.
956 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
957 is-text field of AccessibleDeviceEvent data structure.
959 This addresses part of bug #108666.
961 * registryd/devcieeventcontroller.c: Unset debug option.
963 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
966 (cpi_initial_relation_type_table): New function which initializes
967 mapping between Accessibility_RelationType and AccessibleRelationType.
968 (cspi_relation_type_from_spi_relation_type): New function which
969 translates an Accessibility_RelationType into an AccessibleRelationType.
970 (AccessibleRelation_getRelationType): Use
971 cpi_relation_type_get_spi_relation_type to return correct value.
972 (spi_state_to_corba): Return correct type for default case.
974 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
975 Use Accessibility_EventType instead of Accessibility_KeyEventType.
977 * cspi/cspi-bonobo-listener.c:
978 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
981 * libspi/accessible.c, libspi/action.c, libspi/application.c,
982 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
983 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
984 libspi/image.c, libspi/listener.c, libspi/selection.c,
985 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
986 registryd/desktop.c, registryd/registry.c:
987 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
989 * libspi/eventlistener.c
990 Remove semicolon after BONOBO_TYPE_FUNC.
993 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
994 (spi_init_relation_type_table): Initialize using correct type.
996 * registryd/desktop.c:
997 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
998 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
999 of Accessibility_KeyEventType.
1001 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1004 * tests/simple-at.c, tests/screen-review-test.c:
1005 Add include for <strings.h>.
1007 * tests.stress-test.c:
1008 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1010 These changes fix compiler warnings when using FORTE compiler on
1011 Solaris; fixes bug #107479.
1014 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1017 * configure.in: revved to 1.1.10
1019 * libspi/keymasks.h:
1020 (SPI_KEYMASK_NUMLOCK): Added.
1022 * registryd/deviceeventcontroller.c:
1023 (spi_key_event_matches_listener): AND with a smaller
1024 bitmask (as we should).
1025 (spi_dec_translate_mask):
1026 New method, sets the virtual NumLock modifier bit
1027 if numlock is on. Eventually it can handle other virtual
1028 modifier bits if needed, or other marshalling from
1029 at-spi modifier masks to platform (X) masks.
1030 (spi_dec_key_listener_new):
1031 Call spi_dec_translate_mask to set up virtual mod bits
1032 in the 'mask' field when creating a new listener struct.
1033 (spi_dec_emit_modifier_event):
1034 Set the virtual (i.e. NumLock) bits before emitting event.
1035 (spi_controller_register_with_devices):
1036 Query for the NumLock modifier 'physical' bit if Xkb is
1037 present, for use in above methods.
1041 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1043 * registryd/deviceeventcontroller.c:
1044 (spi_keystroke_from_x_key_event):
1045 Instead of checking to see if the keysym is
1046 printable, check the string from XLookupString
1047 if available, get the first unicode character from it,
1048 and call g_unichar_isprint to determine whether the
1049 is_text flag should be TRUE or FALSE.
1053 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1055 * atk-bridge/bridge.c: Add support for extended events
1056 * cspi/spi_event.c: Add documentation and implementation for
1058 * tests/event-listener-test.c: Add tests for extended events.
1060 This fixes bugs #100424 and #100426.
1062 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1064 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1065 of LT_CURRENT. This fixes bug #89350.
1067 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1069 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1070 number of signal parameter values before accessing them. This fixes
1073 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1075 * configure.in: Fixed duplicate inclusion of -lspi.
1076 * branched for gnome-2-2/HEAD.
1077 [created tag "gnome-2-2"]
1079 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1081 * configure.in: 1.1.9 release.
1084 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1086 [needed by GOK, to fix bugs 107985 and 107988]
1087 * registryd/deviceeventcontroller.c:
1088 (spi_dec_clear_unlatch_pending):
1089 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1090 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1091 (spi_dec_init_mouse_listener):Emit warning if mouse button
1093 (spi_device_event_controller_forward_mouse_event):
1094 Removed unnecessary parens from a conditional.
1095 (global_filter_fn):Added TODO comment.
1096 (impl_generate_keyboard_event):
1097 Cancel a pending relatch if a 'delatching' key was
1100 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1102 * atk-bridge/bridge.c:
1103 Change atk_signal_child_changed to atk_signal_children_changed.
1104 Reorganize code in spi_atk_bridge_signal_listener().
1106 * test/event-listener-test.c:
1107 Add children_changed_listener and report_children_changed_event()
1108 to test AccessibleChildEvent_getChildAccessible.
1110 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1112 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1113 g_strdup to CORBA_String_dup (bug #105291)
1115 * test/event-listener-test.c (report_text_event): Add call to
1118 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1120 * registryd/deviceeventcontroller.c:
1121 (spi_keystroke_from_x_key_event):
1122 Fix string and keysym return codes to match modifier state.
1125 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1127 * registryd/deviceeventcontroller.c:
1128 (spi_keystroke_from_x_key_event):
1129 Fix segv due to improper use of isprint(c). [bug #107254]
1131 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1134 (get_accessible_text_boundary_type):
1135 Move default return value to (new) default case in switch.
1136 (get_accessible_text_clip_type):
1137 Move default return value to (new) default case in switch.
1139 * libspi/application.c:
1140 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1141 Remove unused methods.
1142 (impl_accessibility_application_register_object_event_listener):
1143 Remove unused methods.
1146 Added #include of <math.h>.
1148 * registryd/deviceeventcontroller.c:
1149 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1150 we don't currently use this method.
1151 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1153 (impl_generate_key_event):
1154 Remove unused variables.
1155 (impl_generate_mouse_event):
1156 Initialize button to zero, just in case we get an invalid
1157 input. Added support for mouse buttons 4 and 5.
1158 (spi_device_event_controller_new):
1159 Removed unused variable declaration for 'private'.
1161 Added #include of <gdk/gdk.h>
1163 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1165 * configure.in: Update to work when X is not installed in expected
1166 location. Fixes bug #105836.
1168 * atk-bridge/bridge.c
1169 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1171 (spi_atk_register_event_listener): Add signal listener for
1173 (spi_atk_bridge_signal_listener): Event event when link-selected
1174 signal is emitted. (bug #104622)
1176 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1177 on returned string. (bug #105291)
1179 * test/event-listener-test.c: Add test for link-selected.
1181 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1183 * atk-bridge/Makefile.am: Correct typo in previous commit.
1185 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1187 * atk-bridge/Makefile.am: Allow for build directory to be different
1188 from source directory
1190 * registryd/Makefile.am: Allow for build directory to be different
1191 from source directory
1195 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1198 Fixed dependencies for libcspi so that libspi gets pulled in
1199 properly. Fixes 104741.
1203 Clean up inline docs a little.
1205 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1207 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1208 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1209 the AtkObject within an SpiDesktop.
1210 This addresses bug #101524.
1212 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1213 Remove call to gdk_init().
1215 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1216 so that Display is set when SpiDesktop is created.
1218 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1220 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1221 This fixes bug #102830.
1223 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1225 * test/test-simple.c: Update to take account of fact that GailButton
1226 now implements AtkText.
1227 (create_text_window): Set name on AtkObject for GtkEntry.
1228 (validate_accessible): Check accessible name before calling test_text().
1230 * libspi/Makefile.am: Fix problem with building outside of source
1231 directory. Bug #98120.
1233 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1234 typo in documentation comments. Bug #94275.
1236 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1238 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1240 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1243 Add includes to avoid compiler warnings on Solaris.
1244 (impl_getRangeExtents): Bug fix.
1246 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1248 Fix for 100944, [API addition approved by Gman and murrayc].
1255 * idl/Accessibility_Text.idl:
1256 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1257 (Text::getRangeExtents): New method for efficient
1258 bounds query of a text range.
1259 (Text::getBoundedRanges): New method for efficient
1260 clipping of text to bounding boxes.
1261 (unImplemented7, unImplemented8):
1262 Removed these padding methods to preserve bincompat.
1265 (impl_getRangeExtents): implementation of new IDL.
1266 (impl_getBoundedRanges): implementation of new IDL.
1267 (SpiTextRect): Internal use struct.
1268 (_spi_text_rect_union): internal method, calculates union of two
1269 SpiTextRect bounding rects.
1270 (_spi_text_range_seq_from_gslist): internal method, allows us
1271 to build our sequence efficiently as a gslist then convert it
1273 (_spi_bounds_contain): internal method, determines whether
1274 a text character is "in" or "out" of a clip rect according to
1275 values of TEXT_CLIP_TYPE.
1276 (spi_text_class_init): Initialize the new methods in the epv.
1279 (AccessibleTextClipType): New enum used by screen review api.
1280 (AccessibleTextRange): New struct used by screen review api.
1281 (AccessibleText_getRangeExtents):
1282 cspi binding for Accessibility_Text_getRangeExtents.
1283 (AccessibleText_getBoundedRanges):
1284 cspi binding for Accessibility_Text_getBoundedRanges.
1285 (AccessibleTextRange_freeRanges): convenience method.
1288 (AccessibleText_getRangeExtents):
1289 cspi binding for Accessibility_Text_getRangeExtents.
1290 (AccessibleText_getBoundedRanges):
1291 cspi binding for Accessibility_Text_getBoundedRanges.
1292 (AccessibleTextRange_freeRanges): convenience method.
1293 (get_accessible_text_clip_type): internal conversion method.
1294 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1296 * registryd/deviceeventcontroller.c:
1297 (spi_dec_mouse_check):
1298 Improved behavior for mouse:abs events
1299 [same granularity as mouse:rel events, and no
1300 events when mouse is idle].
1302 2002-12-16 Michael Meeks <michael@ximian.com>
1304 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1306 * libspi/stateset.c (state_spi_to_atk): split out
1307 ( fix several remote array bounds nasties )
1308 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1309 (impl_remove): make safe from array bounds issues.
1310 (spi_atk_state_from_spi_state): impl.
1312 * libspi/stateset.h (spi_state_set_cache_is_empty):
1313 add a set of wrapper defines to get layering right.
1315 * cspi/spi_accessible.c: update state set stuff to
1318 2002-12-14 Michael Meeks <michael@ximian.com>
1320 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1321 to avoid 2 roundtrips to the registry per key event
1322 (spi_atk_bridge_key_listener): upd.
1323 (deregister_application): release the dec.
1325 * registryd/registry.c (notify_listeners_cb):
1326 bin lots of re-enterant complexity - we no longer
1327 do a round-trip bonobo ref here, ensure that a single
1328 listener's exception failure won't poison all other
1330 (impl_registry_notify_event): bin obvious memory leak.
1332 2002-12-13 Michael Meeks <michael@ximian.com>
1334 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1335 init the ev so the error is meaningful.
1336 (spi_atk_bridge_key_listener): ditto.
1338 * cspi/spi_main.c (cspi_ev): init the ev so we start
1339 with a clean slate, otherwise the first exception
1340 kills us completely.
1342 * cspi/spi_text.c (get_accessible_text_boundary_type):
1343 add a fallthrough for no warnings.
1345 * cspi/spi_registry.c: prune unused warnings.
1347 * cspi/spi_main.c (cspi_object_take): fix
1348 mind-blowing brokenness ( by watching the compile
1351 * cspi/spi_accessible.c (Accessible_getStateSet):
1352 re-impl. to use an AtkStateSet.
1353 (spi_state_type_from_accessible_state),
1354 (init_state_table): bin these.
1356 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1358 (atk_state_set_from_accessibility_state_set): here.
1360 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1361 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1362 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1363 (AccessibleStateSet_add, AccessibleStateSet_remove),
1364 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1365 (AccessibleStateSet_isEmpty): re-write to use a local
1368 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1370 * configure.in: Revved to 1.1.7 (new keymask vals).
1372 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1374 * libspi/keymasks.h:
1375 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1377 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1380 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1381 to compare two CORBA_TypeCodes.
1382 (cspi_internal_event_add): Silence warning from FORTE compiler.
1384 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1385 avoid implicit declaration of functions.
1387 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1389 * atk-bridge/bridge.c:
1390 (spi_atk_bridge_init_event_type_consts): Store signal id for
1391 active-descendant-changed signal.
1392 (spi_atk_register_event_listeners): Add signal listener for
1393 active-descendant-changed signal,
1394 (spi_atk_bridge_signal_listener): Move code in function
1395 spi_atk-signal_emit_event() into this function.
1396 Add support for active-descendant-changed
1397 Update support for child-changed signal.
1398 (spi_bridge_window_event_listener): Silence warning.
1400 * libspi/spi_private.[ch]:
1401 (spi_init_any_object): Change second parameter from CORBA_Object to
1403 Omit call to CORBA_Object_duplicate().
1404 Set CORBA_any's _value to CORBA_Object*.
1406 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1412 (AccessibleEvent_ref, AccessibleEvent_unref):
1413 New methods, for persisting an event outside the emission context.
1414 Must be used if the new accessor methods are to be called
1415 outside of the event listener's callback.
1417 * cspi/bonobo/cspi-bonobo.c:
1418 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1419 as second parameter instead of NULL, so we can call
1420 cspi_check_ev afterwards.
1423 (cspi_object_take): New internal method,
1424 converts a CORBA_Object reference to a hard ref on
1425 an Accessible if possible, returning NULL if the object
1426 reference is invalid or an Accessible * otherwise.
1429 (AccessibleEvent_ref):
1430 Increment the event's internal private refcount, and
1431 add the event's internal struct to an internal cache
1432 if it's not already there.
1433 (AccessibleEvent_unref):
1434 Decrement the event's refcount and remove it from
1435 the cspi event cache if refcount==0.
1436 (cspi_event_compare): New private method.
1437 Compares two event structs via their ids. Used
1439 (cspi_internal_event_lookup): New private method.
1440 (cspi_internal_event_check): New private method,
1441 a 0-order sanity check for events to make sure their
1442 private data is intact.
1443 (cspi_internal_event_add, cspi_internal_event_remove):
1444 New private methods for managiing the event cache.
1446 * cspi/bonobo/cspi-bonobo-listener.c:
1448 Initialize the new private data elements (id, magic, ref_count).
1450 * atk-bridge/bridge.c:
1451 (spi_atk_bridge_signal_listener):
1452 Fixed bug #100530, passing wrong params to emission func.
1454 * registryd/deviceeventcontroller.c:
1455 (spi_dec_button_update_and_emit):
1456 Fixed type in mask bit operations; fix for #99799.
1458 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1460 Removed some of the more dangerous workarounds from
1461 previous commit; they are only needed by GOK, which
1462 in reality should be using another method to accomplish
1463 the goals. So on reconsideration some of the workarounds
1464 need to be reverted:
1466 * registryd/deviceeventcontroller.c:
1467 (spi_keycodes_contain, spi_dec_init_keycode_list):
1468 Removed these methods, used only by a nasty hack to try
1469 and detect whether a key synthesis should be allowed
1470 to reset the XKB latch state or not. This code was only
1471 required to work around an interaction between GOK,
1472 button events, and XKB.
1473 (impl_generate_key_event):
1474 Removed hack at end of key generation that tried to
1475 "do the right thing" if XKB latch keys were generated
1476 in the midst of button press/release pairs.
1479 Added a check for HAVE_XINPUT. Not normally used yet.
1481 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1483 Workarounds and fixes for mouse event/XKB interaction.
1485 * registryd/deviceeventcontroller.c:
1486 (spi_keycodes_contain, spi_dec_init_keycode_list):
1487 New internal methods.
1488 (spi_dec_set_unlatch_pending):
1489 Split the method that tells XKB to expect an
1490 unlatch (and revert it) out of the rest of the
1491 event handling code. This method is called by the
1492 two mouse event handlers (the poll and the filter).
1493 (spi_dec_update_and_emit, spi_dec_mouse_check):
1494 New methods split from spi_dec_poll_mouse_moved.
1495 The second one is now called from inside the filterFn
1496 when an XKB delatch event is received, to determine
1497 whether to revert the delatch or not.
1498 (spi_poll_mouse_moved): Refactor; also we can now
1499 properly handle the case where multiple button states
1500 have changed between polling cycles and we didn't get
1501 notified due to another client's grab.
1503 Synchronize the server while handling an XKB notification.
1504 Ugly, but apparently necessary to avoid nasty races.
1505 Check the mouse state on receipt of an XKB latch change,
1506 to decide whether to revert the latch or not. (Latches are
1507 reverted if there is an immediately preceding mouse button
1508 event that a client has consumed, in which case we don't want
1509 the user to see the side-effect of the event).
1510 (spi_device_event_controller_forward_mouse_event):
1511 Check for modifier events and fire before resetting mouse_mask_state,
1512 prevents losing modifier events.
1514 (impl_generate_keyboard_event):
1515 If we've just generated a keyboard event for a non-shift key,
1516 we don't want to revert the pending XKB latch.
1517 Otherwise, check the modifier state (via a call to
1518 spi_dev_mouse_check) and set the relatch mask to
1519 that state before returning.
1521 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1524 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1527 * atk-bridge/bridge.c:
1528 (spi_atk_register_event_listeners):
1529 Don't re-register for ATK events if the registry has died
1530 and the app needs to re-register; the ATK listeners are in
1531 process and doing so will cause duplicate emission.
1533 * registryd/deviceeventcontroller.c:
1534 (spi_poll_mouse_moved):
1535 Reformat the source, detect and emit multiple button-change
1536 events (i.e. if multiple buttons have changed between poll
1538 Add code to detect mouse-down events even when the pointer
1539 is grabbed; workaround for GOK bug 98420.
1540 (spi_controller_register_with_devices):
1541 Call XTestGrabControl with 'impervious' flag set to True,
1542 allows us to synthesize events and query the pointer even during
1543 an active grab by another client.
1544 (spi_device_event_controller_forward_mouse_event):
1545 Set the mouse_mask_state to the mouse_button_state from
1546 the intercepted event, to synchronize the grab listener with
1549 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1551 * cspi/spi_accessible.c:
1552 (AccessibleRole_getName):
1553 Added necessary strings for making this (deprecated)
1554 method work with the new role types.
1555 (init_role_table, role_table):
1556 Added definition of SPI_ROLE_APPLICATION.
1558 * libspi/spi-roletypes.h:
1559 Added SPI_ROLE_APPLICATION.
1561 * idl/Accessibility_Role.idl:
1562 Added ROLE_APPLICATION.
1564 * docs/reference/cspi/at-spi-cspi-decl.txt:
1565 Added SPI_ROLE_APPLICATION to docs.
1567 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1569 * cspi/spi_accessible.c
1570 (cspi_init_role_table): Do not write beyond end of role_table.
1571 (Accessible_getRole): Use correct type for value returned by
1572 Accessibility_Accessible_getRole().
1574 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1575 beyond end of role_table. (This fixes bug #98269)
1577 * libspi/application.c: Add include file spi-private.h for
1578 definition of spi_init_any_nil.
1580 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1584 * libspi/spi-private.h:
1585 Added DGB() macro, and extern int _dbg declaration.
1587 * registryd/registry.c:
1588 (definitions) storage for _dbg.
1589 (spi_registry_init):
1590 Get environment variable "AT_SPI_DEBUG".
1591 (spi_registry_set_debug):
1592 New method, to initialize _dbg value.
1593 (spi_listener_struct_new, spi_registry_object_finalize):
1594 (notify_listeners_cb):
1595 Changed fprintfs to use DBG and g_warning().
1597 * registryd/deviceeventcontroller.c:
1598 (_deregister_keygrab, spi_controller_register_device_listener):
1599 Changed debug/warning messages to use DBG macro.
1601 * libspi/listener.c:
1602 (impl_notify_event):
1603 Changed warning messages to use DBG macro and g_warning().
1605 * atk-bridge/bridge.c:
1606 (atk_bridge_init, spi_atk_bridge_get_registry):
1607 (spi_atk_bridge_exit_func):
1608 (spi_atk_bridge_property_event_listener):
1609 Changed status, warning, and error messages to use
1610 g_warning, g_message, and DBG macros.
1613 Read the state of the AT_SPI_DEBUG environment variable
1614 and set a local '_dbg' accordingly.
1616 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1618 FIXES for 98836, 98842, other bugs.
1621 Revved to 1.1.4, interface-age=4, binary-age=4.
1623 * registryd/deviceeventcontroller.c:
1625 Fixed crasher bug in last_mouse_pos initialization.
1627 * registryd/registry.c:
1628 (desktop_add_application, desktop_remove_application):
1629 Added (and then commented out) some support for
1630 object context marshalling. [TODO]
1632 * atk-bridge/bridge.c:
1633 (spi_atk_bridge_event_context_create):
1634 Commented out object context creation until it can
1635 be properly tested and debugged.
1637 * registryd/registry.c:
1638 (impl_registry_notify_event):
1639 Fixed crasher bug, we were calling
1640 spi_re_entrant_list_foreach () with an empty list.
1642 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1644 * idl/Accessibility_Action.idl:
1645 * idl/Accessibility_Component.idl:
1646 * idl/Accessibility_Desktop.idl:
1647 * idl/Accessibility_Event.idl:
1648 * idl/Accessibility_Hyperlink.idl:
1649 * idl/Accessibility_Image.idl:
1650 * idl/Accessibility_Relation.idl:
1651 * idl/Accessibility_Selection.idl:
1652 * idl/Accessibility_State.idl:
1653 * idl/Accessibility_Value.idl:
1654 Updated unimplemented slot count to minimum of
1655 four for all interfaces, for ABI freeze.
1657 * idl/Accessibility_EditableText.idl:
1658 * idl/Accessibility_Text.idl:
1659 Updated unimplemented slot count to six
1662 * idl/Accessibility_Registry.idl:
1663 Updated unimplemented slot count to six
1664 (also for DeviceEventController),
1667 * idl/Accessibility_Table.idl:
1668 Updated unimplemented slot count to eight,
1671 * idl/Accessibility_Event.idl:
1672 Added CORBA_any "any_data" member to Event struct.
1674 * idl/Accessibility_Event.idl:
1675 Added CORBA_any "any_data" member to Event struct.
1677 * atk-bridge/bridge.c:
1679 atk_signal_text_changed, atk_signal_child_changed,
1680 signal ids queried from gtype system.
1681 (AtkBridgeEventContextType): New enum.
1682 (AtkBridgeEventContextData): New struct.
1683 (AtkBridgeEventContext): New struct.
1684 (atk_bridge_init_event_type_consts):
1685 New method, initializes type contants for comparison
1686 prior to emit_eventv.
1687 (atk_bridge_event_context_init): New method,
1688 initializes a CORBA_any from an AtkBridgeEventContext.
1689 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1690 initialize the event.any_data struct.
1691 (spi_atk_bridge_event_context_create): New method,
1692 creates an AtkBridgeEventContext from signal/event info.
1693 (spi_atk_bridge_event_context_free): New method.
1694 (spi_atk_emit_eventv): Changed to take an
1695 AtkBridgeEventContext parameter. We now initialize
1696 the event.any_data member prior to notifying the
1697 Registry, via the AtkBridgeEventContext.
1698 (spi_atk_bridge_property_event_listener):
1699 (spi_atk_bridge_state_event_listener):
1700 Match emit_eventv signature.
1701 (spi_atk_bridge_object_event_listener):
1702 Match emit_eventv signature, and create an
1703 event context from the event details.
1704 Free the event context afterwards.
1705 (spi_atk_bridge_window_event_listener):
1706 Create an event context, pass it to the
1710 (AccessibleEvent_getContextString):
1711 (AccessibleEvent_getContextObject):
1712 New methods, allow query of AccessibleEvent objects
1713 for more context details (via the "any_data" member
1714 of the Event struct, above).
1717 Definitions for AccessibleEvent_getContextString
1718 and AccessibleEvent_getContextObject.
1720 * cspi/spi_listener.h:
1721 (InternalEvent): New struct.
1724 (AccessibleEvent_getContextString):
1725 (AccessibleEvent_getContextObject):
1726 Implementations of new methods, for obtaining
1727 additional context information from some event types.
1729 * cspi/spi_registry.c:
1730 (SPI_registerGlobalEventListener):
1731 Added mention of active-descendant-changed event in docs.
1733 * cspi/cspi-bonobo-listener.c:
1735 Marshal the any into the AccessibleEvent via
1738 * libspi/spi-private.h:
1739 #include <orbit/orbit.h>
1741 (spi_init_any_string):
1742 (spi_init_any_object):
1743 New convenience function declarations.
1747 (spi_init_any_string):
1748 (spi_init_any_object):
1749 New convenience function implementations.
1751 * registryd/deviceeventcontroller.c:
1752 (spi_poll_dec_mouse_moved):
1753 (spi_device_event_controller_forward_mous_event):
1754 Initialize any_data member of event.
1755 (spi_deregister_controller_device_listener):
1756 Fix incorrect param pass which was preventing deregistration.
1758 * registryd/registry.c:
1759 (desktop_add_application):
1760 (desktop_remove_application):
1761 Add object data to event's any_data before dispatch.
1763 Fix for error messages from GAIL.
1765 * test/event-listener-test.c:
1766 Test new ContextString and "any_data" API:
1767 (report_text_event): New method query and output context string.
1768 (main): register a new text listener with report_text_event
1771 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1773 Fixes for bugs 98127 and 97914.
1774 * cspi/spi-roletypes.h:
1775 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1777 * cspi/spi-statetypes.h:
1778 Added SPI_STATE_MANAGES_DESCENDANTS
1780 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1781 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1782 * cspi/spi_accessible.c:
1783 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1784 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1785 Accessibility_STATE_MANAGES_DESCENDANTS
1786 * libspi/accessible.c:
1787 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1788 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1789 As requested by Bill, I also cleaned up the alignment.
1790 * libspi/relation.c:
1791 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1792 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1793 * libspi/stateset.c:
1794 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1795 Accessibility_STATE_MANAGES_DESCENDANTS
1796 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1797 Document changes reflecting modifications to roles.
1798 * docs/reference/cspi/tmpl/spi_relation.sgml:
1799 Document changes reflecting modifications to relations.
1800 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1801 Document changes reflecting modifications to states.
1803 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1806 Revved to 1.1.3, interface-age=3, binary-age=3.
1807 Added REBUILD macro.
1810 Removed accessx-gui from the tests, since we have a nice
1811 keyboard accessibility capplet now :-)
1813 * test/keysynth-demo.c:
1814 (increment_scan): removed do-nothing default: case,
1817 * test/visual-bell.c:
1818 (main) : removed do-nothing default: case,
1821 * cspi/spi_action.c:
1822 (AccessibleAction_getKeyBinding_):
1823 Documented keybinding string format.
1827 (AccessibleText_getAttributes):
1828 Documented the text attribute string format.
1829 It's changed to use semicolon delimiters also,
1830 to prevent clashes with CSS attributes, but the old
1831 trick of looking for ", " strings will still work
1832 (as unreliably as ever). Fix for bug related to 97916.
1835 Include <cspi/bonobo/cspi-bonobo-listener.h>
1836 Fixes build warning.
1837 (SPI_freeAccessibleKeySet):
1838 (AccessibleKeystrokeListener_addCallback):
1839 (AccessibleKeystrokeListener_removeCallback):
1840 Modify to use AccessibleDeviceListener API internally,
1841 instead of AccessibleKeystrokeListener.
1843 * idl/Accessibility_Event.idl:
1844 Added two more empty slots to EventListener (for a total of four).
1846 * idl/Accessibility_Accessible.idl:
1847 Added four empty slots to Accessible interface.
1849 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1851 * idl/Accessibility_Registry.idl:
1852 (KeyEventType, EventType):
1853 Marked KeyEventType as deprecated; it duplicates
1854 functionality of EventType, which has been extended to
1855 include Mouse-button events.
1856 (KeyEventTypeSeq): defined in terms of EventType.
1857 (registerDeviceEventListener, deregisterDeviceEventListener):
1858 New methods, for managing listeners to device events,
1859 which potentially may consume them.
1862 Added definition for AccessibleDeviceListener.
1864 * cspi/spi-listener.h:
1865 (enum AccessibleDeviceEventType):
1866 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1867 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1868 for backwards compat.
1869 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1870 and typedef'd AccessibleKeystroke to it for back-compat.
1871 (AccessibleDeviceListenerCB):
1872 New function prototype typedef.
1875 (AccessibleDeviceEventMask): New typedef.
1876 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1877 (AccessibleKeyMaskType):
1878 Set equivalent to AccessibleModifierMaskType for back-compat.
1879 (SPI_createAccessibleKeystrokeListener):
1880 (AccessibleKeystrokeListener_unref):
1881 Deprecated in favor of equivalent (better-named) new API below..
1882 keystroke listeners are like all device listeners.
1883 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1884 New API names for old features :-).
1885 (AccessibleDeviceListener_addCallback):
1886 (AccessibleDeviceListener_removeCallback):
1887 (SPI_registerDeviceEventListener):
1888 (SPI_deregisterDeviceEventListener):
1892 (SPI_createAccessibleKeystrokeListener):
1893 Use new preferred API, cspi_device_listener_new() and
1894 cspi_device_listener_add_cb().
1895 (AccessibleKeystrokeListener_removeCallback):
1896 Use new preferred API, cspi_device_listener_remove_cb().
1897 (AccessibleKeystrokeListener_unref):
1898 Use new preferred API, cspi_device_listener_unref().
1899 (SPI_createAccessibleDeviceListener):
1900 (AccessibleDeviceListener_addCallback):
1901 (AccessibleDeviceListener_removeCallback):
1902 Implementation of new API.
1904 * cspi/spi_registry.c:
1905 (SPI_registerDeviceEventListener):
1906 (SPI_deregisterDeviceEventListener):
1907 Implementation of new API. Fixed memory leak and removed need to
1908 allocate EventTypeSeq (thanks Michael for catching this).
1909 Squashed a wayward CORBA_exception_free that shouldn't get called.
1911 * cspi/bonobo/cspi-bonobo-listener.c:
1913 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1914 (cspi_key_event): renamed to cspi_device_event().
1915 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1916 Extended to handle mouse button events as well as key events.
1917 (CSpiKeystrokeListener):
1918 Class superceded by CSpiDeviceListener.
1919 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1920 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1922 * cspi/bonobo/cspi-bonobo-listener.h:
1923 (CSpiKeystrokeListener):
1924 Class superceded by CSpiDeviceListener.
1925 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1926 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1928 * libspi/Makefile.am:
1929 Replaced keystrokelistener.h and keystrokelistener.c
1930 with devicelistener.h and devicelistener.c; keystrokelisener.h
1931 stub retained for back-compat.
1933 * libspi/keystrokelistener.c:
1937 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1939 * registryd/deviceeventcontroller.c:
1940 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1941 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1942 (DEControllerPrivateData): Added xkb settings data.
1943 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1944 button release events (which can't be captured via XGrabButton).
1945 Don't dispatch via the 'normal' event mechanism if the device event was
1947 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1948 Handle the typeseq data in its new location (see above).
1949 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1950 New methods, for "generic" device listeners.
1951 (spi_controller_register_device_listener):
1952 Now handle mouse event listeners as well as key listeners.
1953 (spi_controller_notify_mouselisteners):
1954 New internal method.
1955 (spi_device_event_controller_forward_mouse_event):
1956 Now we notify mouse device listeners as well as generating the
1957 non-consumable "mouse:" events.
1959 We must check and restore the XKB
1960 modifier map if we consume the event, since the act of triggering
1961 a mouse event will normally reset the XKB latch. This is required for
1963 (spi_controller_register_with_devices):
1964 Load the XKB settings when registering, and register for XKB
1965 state notify events.
1966 (spi_key_eventtype_seq_contains_event):
1967 Renamed spi_eventtype_seq_contains_event, since it's used
1968 internally for all device event types now.
1969 (spi_key_event_matches_listener):
1970 Uses spi_eventtype_seq_contains_event now.
1971 (spi_device_event_controller_object_finalize):
1972 Free the private data and the XkbKeyboard struct.
1973 (impl_register_device_listener, impl_deregister_device_listener):
1974 Implementation of new IDL.
1975 (spi_deregister_controller_device_listener):
1976 New internal method.
1977 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1978 More efficient implementation, we don't have to create a new
1979 XkbControls structure every time we query.
1980 (spi_device_event_controller_class_init):
1981 Initialize the epv entries for the new IDL. Assign the
1982 "spi-dec-private" quark.
1983 (spi_device_event_controller_init):
1984 Initialize the private data.
1985 (spi_device_event_controller_forward_key_event):
1986 Removed a bogus CORBA_exception_free() call.
1988 * registryd/deviceeventcontroller.h:
1989 Replaced inclusion of keystrokelistener.h with
1992 * test/event-listener-test.c:
1993 (report_mouse_event):
1996 Added mouse-event device listener.
1998 * test/test-simple.c:
1999 (create_test_window):
2000 Fixed regression (we were instantiating a GtkRange,
2001 which is now an abstract class). Also fixed to match
2002 existing AtkRole names, this seems to have changed in ATK
2003 awhile ago; too late now I think, and the new
2004 mechanism is at least elegant and consistent with the
2005 glib enum "nick" APIs.
2007 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2009 * idl/Accessibility_Relation.idl:
2010 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2011 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2012 * idl/Accessibility_Role.idl:
2013 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2014 * idl/Accessibility_State.idl:
2015 add STATE_MANAGES_DESCENDANTS
2016 * test/event-listener-test.c:
2017 Added a listener for active-descendant events.
2019 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2021 * atk-bridge/bridge.c
2022 (atk_bridge_init): If application is Bonobo component wait until top
2023 level is added before registering
2024 (spi_atk_bridge_do_registration): New function which contains code,
2025 formerly in atk_bridge_init, to do application registration.
2026 (spi_atk_bridge_toplevel_added): Signal called when top level
2027 added to Bonobo component
2029 This fixes bug #83134.
2031 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2033 * registryd/deviceeventcontroller.c
2034 Fixed compilation error caused by calling gettimeofday()
2037 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2042 Added template for HAVE_XKB.
2045 Changes to check for XKB, and to set the HAVE_XKB #define if it
2048 * libspi/listener.c:
2049 ()impl_notify_event): Make failure to get event source name
2052 * registryd/deviceeventcontroller.c:
2053 (#include): include X11/XKBlib.h.
2054 (DEControllerPrivateData) : New struct.
2055 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2057 (dec_synth_keycode_press) (dec_synth_keycode_release):
2058 New methods; split the key synthesis code into these methods.
2059 They check XKB settings before determining the "time" values to
2060 pass to Xtest; this fixes bug #95828.
2061 (impl_generate_keyboard_event): Changed to use methods above,
2062 instead of callng Xtest directly.
2063 (spi_device_event_controller_init): Initialize new privae struct s
2065 (spi_device_event_controllr_object_finalize):
2066 Free the (new) private data.
2068 * registryd/deviceeventcontroller.h:
2069 Add new gpointer to end of struct data.
2071 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2074 Incremented revision to 1.1.2, SONAME is still '.so', library
2075 extensions are ".so.0.0.2".
2077 * registryd/deviceeventcontroller.c:
2078 FIXES FOR #93592 and #95940.
2079 (statics): renamed mouse_button_state to mouse_mask_state,
2080 added key_modifier_mask.
2081 (spi_dec_poll_mouse_moved):
2082 Added key modifier checks, and emit "keyboard:modifiers"
2083 events when the key modifiers currently in use change.
2084 Also generate "mouse:abs" events periodically, even if the mouse
2085 is stationary (should we?).
2086 Alternatively we could generate "mouse:abs" events for either all
2087 mouse movements, or every 'nth' mouse movement, or at the
2088 beginning and end of every "active" mouse period.
2090 * test/event-listener-test.c:
2091 (main): Added listener for "keyboard:modifiers" events.
2093 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2095 * libspi/keymasks.h:
2096 Added key mask #defines for mouse buttons; e.g.
2097 SPI_KEYMASK_BUTTON1, etc.
2100 Incremented dependency on ATK to version 1.1.0. (This dependency
2101 is probably premature but will soon be real enough).
2103 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2105 * libspi/hyperlink.[ch]
2106 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2107 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2110 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2115 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2117 * registryd/deviceeventcontroller.c
2118 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2119 events to be ignored.
2120 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2121 keyboard_mode so that XAllowEvents() can be called.
2125 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2127 * cspi/spi-accessible.c: Correct names of roles returned by
2128 AccessibleRole_getName(). Fixes bug #95055.
2130 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2132 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2135 * registryd/registry.c
2136 (desktop_remove_application: Write diagnostic message to stderr for
2139 (impl_accessibility_registry_deregister_global_event_listener):
2140 Correct size of lists array. This addresses bug #94555).
2142 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2144 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2147 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2149 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2152 * registryd/registry.c (impl_registry_notify_event): Remove
2153 unnecessary call to parser_event_type().
2155 * docs/reference/cspi/tmpl/spi_component.sgml:
2156 Add reference to SPI_LAYER_WINDOW.
2158 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2160 * registryd/registry.c
2161 (desktop_add_application): Remove leak.
2162 (desktop_remove_application): Remove leak.
2163 (parser_event_type): Remove leak.
2165 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2167 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2168 bogus call to CORBA_string_dup(). Also removed unnecessary
2169 g_string_dup/g_free calls.
2171 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2173 * registryd/deviceeventcontroller.c:
2174 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2176 * test/event-listener-test.c:
2177 main: commented out three redundant listeners, to reduce output
2178 noise. (They still are potentially useful for testing).
2181 2002-09-13 Michael Meeks <michael@ximian.com>
2183 * Update all the copyrights to include Ximian.
2185 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2187 * cspi/spi.h: add SPI_LAYER_WINDOW.
2189 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2190 add Accessibility_LAYER_WINDOW case.
2192 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2194 * libspi/component.c: (impl_accessibility_component_get_layer):
2195 add ATK_LAYER_WINDOW case.
2197 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2199 * configure.in: incremented micro version.
2201 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2203 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2206 Clarified and reworded our commit policy.
2209 Started an API "todo" addition list for 2.2.
2212 (impl_getSelection):
2213 Free char pointer from atk_text_get_selection, which was being leaked.
2215 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2218 Small revision to author acknowledgement.
2220 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2222 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2223 If signal has detail add it to the type of the event.
2226 2002-08-12 Michael Meeks <michael@ximian.com>
2228 * test/test-simple.c (global_listener_cb): bin bogosity.
2229 (test_keylisteners): disable, still doesn't work reliably,
2230 certainly not on my system anyway.
2232 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2233 don't leak a reference on the DEC. This round-trip
2234 fetching of the DEC per keystroke sucks, it should be
2237 * cspi/spi-private.h,
2238 * cspi/cspi-lowlevel.h,
2239 * cspi/bonobo/cspi-bonobo-listener.[ch],
2240 * cspi/bonobo/cspi-bonobo.c: get the copyright
2241 notices better - there is still a large amount of
2242 work in at-spi falsely attributed solely to Sun.
2244 * cspi/spi_main.c (cspi_object_ref): kill bogus
2245 hash lookup, just increment the ref.
2246 (SPI_freeString): make explicit the fact that we
2247 handle NULL strings just fine.
2248 (report_leaked_ref): obey coding standards.
2249 (cspi_object_hash, cspi_object_equal): kill retval.
2250 (cspi_object_release): only release if not on loan.
2251 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2252 (cspi_object_borrow, cspi_object_return): impl.
2254 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2255 use cspi_object_borrow / return.
2257 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2259 * cspi/bonobo/cspi-bonobo-listener.c:
2261 Don't call cspi_oject_new() because this is creating a new Accessible
2262 every single time that an event is fired. This causes ATs like at-poke
2263 to nolonger recognise the source of the event and thus ignore it.
2264 Re-use the object from the cache, ref it and then unref it after the
2265 listeners have been called.
2267 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2269 * test/event-listener-test.c:
2270 Added command-line options to disable mouse events (m) and
2273 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2275 * configure.in: Update required versions of ATK, GTK+ and GAIL
2277 * cspi-1.0.pc.in: Add dependency for X include files
2280 * cspi/bonobo/Makefile.am:
2281 Add $(X_CFLAGS) so that X include files
2282 are picked up even if not in standard place (bug #71686)
2284 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2286 * registryd/deviceeventcontroller.c: fix for 84261
2287 (spi_dec_mouse_moved):
2288 Added test of mouse button mask, so that we can detect mouse
2289 button release. Unfortunately we can't otherwise detect mouse
2290 button release events without consuming the mouse press event,
2291 because of the way XGrabButton works. This means that our mouse
2292 release events have a latency dependent on the polling period
2293 while the mouse button is down. At least in this case we only
2294 have to poll while the button is down, and not at other times.
2295 If the button masks don't match with what the last press event
2296 reported, we report the appropriate button release event.
2297 (spi_dec_ungrab_mouse):
2298 New method (not yet called).
2299 (spi_device_event_controller_forward_mouse_event):
2300 New method, sends mouse press event from GdkFilter.
2301 (spi_dec_init_mouse_listener):
2302 Added code to call XGrabButton, redirecting mouse button events to
2303 the root window and our Gdk event loop.
2305 Added code to filter mouse button events, and reordered.
2307 * test/event-listener-test.c:
2309 Added registration for mouse events of type "mouse:button".
2311 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2313 * registryd/deviceeventcontroller.c: partial fix for 84261
2314 (spi_dec_poll_mouse_idle):
2315 New method, a timeout which checks to see if the mouse
2317 (spi_dec_poll_mouse_moving):
2318 A timeout to be called when mouse motion is underway.
2319 (spi_dec_poll_mouse_moved):
2320 A method which fires an event if the mouse has moved, and reports
2321 whether or not it did so.
2322 (spi_dec_init_mouse_listener):
2323 A method which sets up the timeouts above.
2324 (spi_device_event_controller_new):
2325 Now calls spi_dec_init_mouse_listener.
2327 * registryd/registry.c:
2328 (spi_registry_init):
2329 Now we initialize the device event controller when the registry is
2330 initialized, instead of waiting until a client has requested a key
2331 event notification; this is because we need the event controller
2332 for mouse events, but the mouse event registration API is a
2333 "registry" call and doesn't explicitly call the
2334 deviceeventcontroller.
2335 We now report mouse motion events with a 100 ms idle latency and
2336 a 20 ms granularity when motion is in progress.
2338 * test/event-listener-test.c:
2340 We now register the "detail listener" for events of type
2341 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2342 delivered only for the first mouse event received, and thereafter
2343 "mouse:abs" events are delivered.)
2345 * cspi/spi_registry.c:
2346 DOCS: Documented the above mouse event typestrings.
2348 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2350 Happy Summer Solstice...
2352 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2353 (spi_controller_notify_keylisteners):
2354 Changes to remove a listener from the listener list, freeing its
2355 open keygrabs, if a notification to that listener fails. This
2356 means that although a dead listener can continue to hold a passive
2357 keygrab, a maximum of one dispatch to such a listener can fail
2358 before the listener is removed from the list, thus the keygrab
2359 will be released on the next occurrence.
2360 As part of this fix:
2361 (spi_notify_keylisteners):
2362 Renamed to spi_controller_notify_keylisteners, as the controller
2363 instance must now be passed as an argument.
2364 The copied 'notify' GList is now a list of DEControllerKeyListener
2365 objects, since we need more than just the CORBA reference if a
2366 notify fails and we need to deregister the listener.
2367 (impl_notify_listeners_sync):
2368 (impl_notify_listeners_async):
2369 (spi_device_event_controller_forward_key_event):
2370 Modify use of notify_keylisteners in accordance with above
2372 (spi_deregister_controller_key_listener):
2373 New method introduced by refactoring, from
2374 impl_deregister_keystroke_listener.
2375 (impl_deregister_keystroke_listener):
2376 Call spi_deregister_controller_key_listener.
2377 (spi_key_listener_clone):
2378 New method to copy a key listner without doing a 'ref' on the
2379 remote object instance; used to create a notifier list.
2380 (spi_key_listener_data_free):
2381 New method, frees data without unreffing the source.
2383 (spi_key_listener_clone_free): new method.
2384 (spi_key_listener_free):
2385 refactored to call spi_key_listener_data_free.
2387 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2389 * registryd/registry.c: [fix for bug 86048]
2390 (notify_listeners_cb):
2391 Clear CORBA system exceptions which occur when notifying
2392 listeners, before returning to the source of the original event,
2393 since the event source doesn't care if the relayed notify failed.
2394 In other words, don't complain to the atk-bridge if the registry
2395 could not notify all its listeners, that's no fault of the
2396 application and thus should not appear to be an error from the
2397 application's perspective.
2399 * cspi/spi_main.c: [fix for bug 85980]
2401 Replaced use of bonobo_object_dup_ref with call to the wrapper
2402 method, csou_dup_ref (); this silences a compiler warning and
2403 provided more portability.
2405 Ping the registry before return, and restart if necessary.
2407 * cspi/bonobo/cspi-bonobo.c:
2409 New internal method.
2411 Fixed this method to return an object reference, as it should have
2414 * cspi/cspi-lowlevel.h:
2415 Added internal definition for cspi_ping() and fixed
2416 return type of cspi_dup_ref().
2419 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2421 * atk-bridge/bridge.c: [fix for bug 85305]
2422 (spi_atk_bridge_register_application):
2423 New method where the initial application registry calls have been
2424 moved; it allows an application to re-register in response to
2425 certain error conditions (such as a registry restart, see below).
2427 Moved some initialization code to the method
2428 spi_atk_bridge_get_registry, below.
2429 (spi_atk_bridge_get_registry):
2430 New, private accessor function for the Accessibility_Registry
2431 instance. If the registry has not been started before, or has
2432 died (as detected by failure of a CORBA exception), it is
2433 restarted before return, and spi_atk_bridge_register_application
2434 is called again to register with the new bridge instance.
2435 (spi_atk_emit_eventv):
2436 Set registry_died on error; use spi_atk_bridge_get_registry () to
2437 access the registry.
2439 * registryd/registry.c:
2440 (impl_accessibility_registry_register_global_event_listener):
2441 Set listener's event_type_quark to etype.minor instead of
2442 etype.major (fix for bug 84856).
2444 * test/event-listener-test.c:
2445 (report_detail_event):
2446 Change the output string so that user/tester can tell that the
2447 'detail listener' was called instead of the 'generic listener'.
2449 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2451 Fixes for bugs 84900, 84908, 84897, 84898.
2456 Revved version to 1.1.0
2457 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2458 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2460 * idl/Accessibility_Registry.idl:
2461 (EventListener::notifyEvent):
2462 Removed 'oneway' directive after extensive consulation with
2463 ORBit2 team and others. This means also that unref() of the event
2464 source can and should be done synchronously after emission, rather
2465 than remotely in the client, after servicing the notify call on
2468 NOTE: This change speeds up listener performance considerably, but
2469 introduces new latency on the application side. We may want to
2470 add an event queue to the atk-bridge.
2472 * atk-bridge/bridge.c:
2473 (spi_atk_bridge_focus_tracker):
2474 Do a local unref() on the event source after emission.
2476 * registryd/registry.c:
2477 (desktop_remove_application):
2478 Do an unref() on the event source after emission.
2479 (desktop_add_application):
2480 Do an unref() on the event source after emission.
2481 (notify_listeners_cb):
2482 When relaying an event, don't automatically add the event source
2483 to the local object cache, just CORBA_dup it instead. Likewise,
2484 if this method reenters, release the ref rather than calling
2486 (impl_registry_notify_event):
2487 No longer call remote unref() on the event source after dispatch.
2489 * libspi/eventlistener.c:
2490 (impl_accessible_event_notify_event):
2491 Removed remote unref ()
2493 * cspi/bonobo/cspi-bonobo-listener.c:
2495 We now call cspi_object_new() instead of cspi_object_add() on
2496 receipt of an event; thus we only have an implicit object ref
2497 while the cspi_event method is being executed. If we need to keep
2498 a reference to the object, the listener must call ref() on the
2499 object. Thus also we don't need to call cspi_object_unref() after
2500 invoking the listener callbacks in this method.
2504 New internal API for creating a new cspi object, without adding it
2505 to the object cache.
2507 Now uses cspi_object_new() to create the cspi object instance.
2509 Now checks to see if the object is in the internal object cache,
2510 and adds it if necessary before incrementing its refcount (note
2511 that new objects are added with a refcount of 1).
2512 (report_leaked_ref):
2513 New method which gives some information on leaked object instances
2514 if leak detection is turned on.
2516 * test/event-listener-test.c:
2517 (timing_test_event):
2518 New method, used for testing event delivery timing for special
2519 events of type "object:test". It reports elapsed time and
2520 events/sec every 500 events.
2522 Added a new listener, 'test listener', to check timing of event
2523 receipt as noted above.
2525 Added some timing output here also, reports elapsed time every 100
2528 * test/stress-test.c:
2529 Emit events of type "object:test", for use with "event-listener-test".
2531 * test/test-simple.c:
2532 (global_listener_cb):
2533 Call Accessible_ref() on the event source before calling
2534 validate_accessible, since the validation process does pointer
2535 comparisons on the event source, meaning that the event source
2536 needs to be added to the local object cache first. Any use of
2537 such pointer comparisons between Accessible objects requires that
2538 the caller hold an explicit reference to those objects.
2539 We also must therefore call Accessible_unref() when leaving this method.
2541 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2543 * registryd/deviceeventcontroller.c:
2544 (spi_controller_update_key_grabs):
2545 Fix for #84735, subsequent keygrab listeners not informed of
2546 registration failure.
2549 (spi_base_construct):
2550 Add an assertion on construct, to make sure the GObject passed in
2551 is really a GObject.
2553 Explicitly initialize object->gobj pointer to NULL;
2555 * cspi/bonobo/cspi-bonobo-listener.c:
2556 (cspi_object_add_ref):
2557 New method, can specify whether to dup-ref a bonobo object passed
2558 in if it's newly added to the object cache.
2560 Now calls cspi_object_add_ref with second param of "FALSE". This
2561 prevents us from doing a pointless dup-ref followed by
2562 release-unref for all those cases where the object is already in
2563 our object cache (fix for #85205).
2565 * atk-bridge/bridge.c:
2566 (spi_atk_bridge_idle_init):
2567 Removed this method, we don't need to initialize in an idle
2570 Changed to call spi_atk_register_event_listeners directly, not via an
2571 idle handler. (fix for #81139)
2572 (gnome_accessibility_module_shutdown):
2573 Removed conditional around deregistration of listeners, since we
2574 don't use the idle handler and thus have always registered when
2576 (spi_init_keystroke_from_atk_key_event):
2577 Changed references to Accessibility_KEY_PRESSED to
2578 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2580 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2582 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2587 * test/stress-test.c:
2590 (may have been an incomplete commit yesterday?)
2592 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2595 Added target for new stress-test.
2597 * test/stress-test.c:
2598 New test, sends 1000 focus notifies in quick succession.
2600 * test/key-listener-test.c:
2601 Now we report whether a keylistener registration
2602 request succeeded or failed.
2604 * test/event-listener-test.c:
2605 Uncommented some listeners which are now implemented.
2608 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2610 * registryd/deviceeventcontroller.c:
2611 (spi_controller_update_key_grabs):
2612 Fix for #82509, lack of failure notification when
2613 ALL_WINDOWS keygrabs fail due to XGrabKey
2614 failure: we synchronize the server when
2615 registering a passive grab, to make sure we get the
2616 error message before the call returns.
2618 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2620 * test/test-simple.c:
2622 Removed #ifdef KEY_IMPL_WORKS guards.
2623 (test_keylisteners):
2624 Removed #ifdef KEY_IMPL_WORKS guards.
2625 Fixed bug which was causing a hang waiting for a
2626 "press" event (which was already overwritten by a "release"
2627 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2629 Added code to set globals 'key_press_received' and
2630 'key_release_received'.
2633 Added section "1.1 API Proposed Additions" which
2634 lists API additions desired for at-spi-1.1 (only one so far).
2635 Updated TODO list a little.
2637 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2639 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2642 * configure.in: Revved to 1.0.0.
2644 * idl/Accessibility_Registry.idl:
2645 (registerKeystrokeListener):
2646 Added boolean return value.
2648 * registryd/registry.c:
2649 (notify_listeners_cb): Minor fix to debug output.
2651 * registryd/Accessibility_Registry.server.in.in:
2652 Revved version number in OAFIID to 1.0.
2654 * registryd/registryd.c:
2656 Use new OAFIID version.
2658 * cspi/bonobo/cspi-bonobo.c:
2660 Use new OAFIID version.
2666 * atk-bridge/bridge.c:
2668 Use new OAFIID version.
2670 * registryd/deviceeventcontroller.c:
2671 (impl_register_keystroke_listener):
2672 Added CORBA_boolean return value.
2673 (spi_controller_register_device_listener):
2674 Added gboolean return value.
2675 (spi_controller_register_global_keygrabs):
2676 Added gboolean return value.
2677 (spi_key_set_contains_key):
2678 Added implementation for many more control keys,
2679 for instance F1-F12, arrow keys, End, Home, Page_Up,
2681 [TODO: some still not implemented].
2683 * text/screen-review-test.c:
2684 (text_chunk_pad_string):
2685 New function: it provides mapping between coordinate
2686 positions of text chunks and character positions in the
2687 screen-review-line output string.
2688 (text_chunk_to_string):
2689 New function, calls text_chunk_pad_string with various
2690 pad/delimiter characters. Pushbuttons are delimited with
2691 square brackets, Frames with vertical 'pipe' lines, and
2692 other text with double quotes.
2693 (text_chunk_list_to_string):
2694 Calls new function text_chunk_to_string.
2695 (toplevel_composite):
2696 New function to composite layers CANVAS through
2697 POPUP in each toplevel (other layers are composited
2698 across toplevels, i.e. BACKGROUND and OVERLAY).
2699 (review_buffer_composite):
2700 Revise to use new methods.
2706 2002-05-31 Laszlo Peter <laca@sun.com>
2708 * configure.in: add the Xtst libdir to the runpath on Solaris,
2709 since it's not in the default library search path.
2711 2002-05-29 jacob berkman <jacob@ximian.com>
2713 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2715 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2717 * test/screen-review-test.c:
2718 (text_chunk_pad_string):
2719 Added method, which pads the string according to the
2720 text bounds of the chunk. It also takes a 3-character
2721 string as a param which indicates the characters to be
2722 used for start, padding, and end delimitation of the chunk.
2723 (text_chunk_to_string):
2724 Changed to use text_chunk_pad_string.
2726 * configure.in: Fixed bug in AC_OUTPUT that was
2727 causing path substitution in Accessibility_Registry.server
2730 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2732 * text/screen-review-test.c:
2733 (guess_string_clip):
2734 New method which attempts a best-guess at clipping
2735 text from components (like Java labels) which don't
2736 actually implement AccessibleText. This inaccurate
2737 clip is based on the assumption that the label is
2738 justified left-and-right, and monospaced.
2739 (text_chunk_get_clipped_string):
2740 We now call guess_string_clip() for text-containing
2741 components that don't implement AccessibleText.
2743 * test/screen-review-test.c:
2744 (review_buffer_get_text_chunk):
2745 We now pull "name" from labels if they do not implement
2746 AccessibleText (i.e. for Java labels).
2747 (get_screen_review_line_at):
2748 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2751 Replaceded AC_OUTPUT target
2752 registryd/Accessibility_Registry.server with
2753 registryd/Accessibility_Registry.server.in.
2755 * registryd/Accessibility_Registry.server.in:
2756 Removed (this is now a Makefile target).
2758 * registryd/Accessibility_Registry.server.in.in:
2759 Added (source for target above). We now use $(libexecdir) as
2760 prefix for the executable at-spi-registryd.
2762 * registry/Makefile.am:
2763 Now install at-spi-registryd into $(libexecdir), and build .server
2764 file with path (see above).
2766 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2768 * test/screen-review-test.c:
2769 (text_chunk_get_clipped_string):
2770 We now check to see if words fall within clip bounds
2771 before resorting to character-by-character clip bounds testing.
2773 * TODO: Added a section for "2.2 Proposed API Additions".
2775 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2777 * test/screen-review-test.c:
2779 Added a screen review benchmarking and test program to test
2782 * cspi/spi_accessible.c:
2784 Made some of the debug strings passed to cspi_check_ev a
2785 little more specific.
2787 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2789 * test/screen-review-test.c: Fix crashes in debug statements
2791 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2793 * test/screen-review-test.c: Added this file.
2795 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2797 * atk-bridge/bridge.c: changed "object:state-change" to
2798 "object:state-changed" to match docs.
2800 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2802 * atk-bridge/bridge.c: Hooked up state-change event details.
2804 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2806 * registryd/registry.c:
2807 Fixed quarking bug in event string parsing; now events with
2808 detail parameters get matched correctly to listeners.
2811 * util/idl/Magnifier.idl: remove.
2813 * util/*.[ch]: Remove.
2814 Magnification utilities and IDL are now in module gnome-mag.
2816 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2818 * registryd/deviceeventcontroller.c:
2819 Fixed bug in grab key conversion which was causing keycode grabs
2820 to be converted to AnyKey grabs.
2823 updated NEWS file to reflect recent spin-off of gnome-mag.
2825 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2827 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2828 busted AccessibleStateSet_compare. Removed redundant casts.
2830 * cspi/spi-action.c: Removed redundant casts.
2832 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2834 * cspi/spi_component.c: Fixed typos and casting error.
2836 * cspi/spi_editabletext.c: Removed redundant casts.
2838 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2840 * cspi/spi_hypertext.c: Eliminated redundant casts.
2842 * cspi/spi_image.c: Eliminated redundant casts.
2844 * cspi/spi_registry.c: Eliminated redundant casts.
2845 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2846 * cspi/spi_selection.c: Removed redundant casts.
2847 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2848 handling. Screen geometry and text offsets were being returned as 0
2849 on error which is technically valid-- changed these to return -1.
2850 Added marshaller for text boundary types to fix bug with boundary
2851 types being passed incorrectly to atk.
2853 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2856 * cspi/spi_registry.c:
2857 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2858 which was uncovered by the recent key changes.
2860 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2862 * test/event-listener-test.c:
2864 Added new test, "event-listener-test";
2865 this code does two things; it benchmarks traversal time
2866 for the accessible hierarchy for the first running accessible
2867 app, and it connects listeners for all supported event types.
2868 It is thus useful as an example event listener and for
2869 diagnostics/debugging of event generation.
2871 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2874 Removed unnecessary dependency on libutil.
2877 Revved micro version: 0.13.1
2879 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2882 Removed util/Makefile from targets.
2885 Removed util subdir from SUBDIRS (temporarily,
2886 pending removal of magnifier-only code
2890 #ifdef-ed out magnifier dependencies, since
2891 magnifier IDL, headers, and binary now live in
2892 module gnome-mag and we don't want at-spi to depend
2893 on gnome-mag. A magnifier demo which can run alongside
2894 simple-at is forthcoming in the gnome-mag module.
2896 NOTE: Split magnifier binary, IDL, and magnification
2897 activation code from at-spi into module gnome-mag.
2899 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2901 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2902 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2904 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2907 Revved to version 0.13.0
2909 * idl/Accessibility_Registry.idl:
2910 Changed definition of KeySet from sequence of longs to sequence of
2911 KeyDefinitions, and added KeyDefinition struct.
2912 Required for fix to bug 80616.
2914 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2915 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2916 to use new definition (see above).
2918 * registryd/deviceeventcontroller.c: handle_keygrab(),
2919 spi_keyset_contains_key():
2920 Changed to make use of new struct; this allows matching based on
2921 string key-name, for instance "Tab". This also allows matching of
2922 composed characters, non-alphanumeric characters in a way that
2923 doesn't involve dependencies on X keysym codes directly, etc.
2925 * test/key-listener-test.c:
2926 Added test for Alt-Tab key using "string" specification of keyset,
2927 and modified one of the tests to use a keycode-based keyset.
2928 Thus this test both tests and demonstrates the creation and use of
2929 keysets of three forms: specified via keycode array,
2930 keysym array, and string array. (The string case only contains a
2931 single string, i.e. a string array of length 1).
2934 Turned on PRINT_TREE option by default. Also fixed a
2935 string-freeing bug in the PRINT_TREE code.
2936 Added a listener to window:minimize events.
2938 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2940 * atk-bridge/bridge.c:
2941 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2942 for window:activate and window:deactiveate
2943 (atk_bridge_property_event_listener atk_bridge_signal_listener
2944 atk_bridge_window_event_listener) Tidy debug code
2946 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2948 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2949 Fixed handling for NULL return value from ATK.
2951 * libspi/action.c libspi/component.c libspi/editabletext.
2952 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2953 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2954 Removed redundant casts.
2956 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2957 Fixed off by one bug.
2959 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2960 function not present in idl)
2962 2002-05-02 jacob berkman <jacob@ximian.com>
2964 * atk-bridge/Makefile.am: make atk-bridge a real module
2966 2002-04-26 Radek Doulik <rodo@ximian.com>
2968 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2969 atk_state_types table
2971 2002-04-22 jacob berkman <jacob@ximian.com>
2974 * libspi/Makefile.am: add deps on the built files to help
2975 automake, and don't version the ORBit typelib
2977 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2979 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2980 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2981 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2982 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2983 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2984 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2985 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2986 libspi/accessible.h libspi/accessible.h libspi/base.h
2987 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2988 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2989 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2990 libspi/spi-private.h libspi/statetset.h libspi/table.h
2991 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2992 util/mag_client.h util/mag_control.c util/mag_image.c
2993 util/mag_image.h util/magnifier.c util/magnifier.h:
2994 Add missing file headers; standardize existing ones
2996 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2998 * atk-bridge/bridge.c: Added window event support.
3000 2002-04-18 Michael Meeks <michael@ximian.com>
3002 * libspi/relation.c (impl_getNTargets): impl.
3003 (impl_getTarget): impl.
3005 * libspi/Makefile.am: fix stateset install.
3007 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3010 Started putting useful info in this file.
3012 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3014 * atk-bridge/bridge.c:
3015 Propagate state-changed notifications to ATs
3017 * cspi/spi_registry.c: update docs to reflect actual behavior of
3018 state-change events.
3020 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3023 Incremented version to 0.12.1
3025 * util/mag_client.h:
3026 Add missing declaration for magnifier_exit,
3027 used by mag_control.c - Forte compiler didn't like
3028 the implicit redeclaration of the function :-(
3031 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3034 Revved version to 0.12 due to API change (see below).
3036 * cspi/spi-roletypes.h:
3037 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3038 definition from the inline docs, and added docs
3039 for SPI_ROLE_LAST_DEFINED.
3042 * cspi/spi_streamablecontent.c:
3043 Added missing seek_type parameter to
3044 (so far unused) method,
3045 AccessibleStreamableContent_seek().
3046 [ RT approval JodyG. ]
3049 Fixed docs for SPI_createAccessibleKeystrokeListener.
3051 * cspi/spi_registry.c:
3052 Fixed docs for SPI_KEYSET_ALL_KEYS.
3054 * docs/reference/cspi/at-spi-cspi-sections.txt:
3055 Added a number of missing APIs to SECTIONS.
3057 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3059 * registryd/Makefile.am:
3061 * cspi/bonobo/Makefile.am:
3062 Add $(X_LIBS) to makefiles.
3064 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3067 Revved version to 0.11.
3069 * libspi/component.c:
3070 Added implementation for grabFocus.
3072 * idl/Accessibility_Component.idl
3073 (Accessibility_Component_grabFocus):
3074 Made this method return boolean to indicate success or failure, to
3075 be consistent with cspi and the corresponding ATK method.
3077 * idl/Accessibility_Selection.idl
3078 (Accessibility_Selection_selectAll) :
3079 Made these methods return boolean to indicate success or
3080 failure, to be consistent with cspi and the corresponding ATK methods.
3082 * idl/Accessibility_EditableText.idl
3083 (Accessibility_EditableText_setTextContents,
3084 Accessibility_EditableText_insertText,
3085 Accessibility_EditableText_cutText,
3086 Accessibility_EditableText_deleteText,
3087 Accessibility_EditableText_pasteText):
3088 Made these methods return boolean to indicate
3091 * cspi/spi_editabletext.c:
3092 Made these methods return booleans.
3094 * libspi/selection.c:
3095 * libspi/component.c:
3096 * libspi/editabletext.c:
3097 Connected the boolean returns from ATK
3098 to the server-side code referenced above.
3100 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3102 * idl/Accessibility_Table.idl: Added missing methods,
3103 Accessibility_Table_addRowSelection,
3104 Accessibility_Table_addColumnSelection,
3105 Accessibility_Table_removeRowSelection,
3106 Accessibility_Table_removeColumnSelection.
3109 Added C wrappers for above IDL:
3110 AccessibleTable_addRowSelection,
3111 AccessibleTable_addColumnSelection,
3112 AccessibleTable_removeRowSelection,
3113 AccessibleTable_removeColumnSelection.
3116 Added server-side implementation code for IDL above, connecting
3117 to pre-existing ATK api.
3119 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3121 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3123 * libspi/accessible.c: Added implementation fo
3124 Accessibility_Accessible_get_state.
3126 * libspi/libspi.h: Added stateset.h to the list of includes.
3128 * libspi/stateset.c: Fixed broken implementation.
3130 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3133 Added implementation code for Accessibility_Magnifier_exit ().
3135 * util/mag_control.c:
3136 Added test code for above method; you can
3137 now kill an existing magnifier via
3138 ./mag_control q, from the util directory.
3140 * test/key-listener-test.c:
3142 Added a new test, for our key listener API.
3144 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3146 * test/app.c, test/keysynth-demo.c:
3148 Replace use of snprintf with g_snprintf.
3149 (fix for bugzilla 78249)
3151 2002-03-27 Michael Meeks <michael@ximian.com>
3155 * util/Makefile.am (INCLUDES): fix.
3156 (DONT_DIST_SOURCE): don't distribute the
3159 * libspi/Makefile.am (dist-hook): ditto.
3161 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3163 * libspi/hypertext.c:
3164 Fix warnings when yelp is used with atk-bridge
3166 2002-03-21 Michael Meeks <michael@ximian.com>
3168 * libspi/application.c (spi_application_new):
3169 use spi_accessible_construct so we use the AtkObject
3172 2002-03-19 Michael Meeks <michael@ximian.com>
3174 * registryd/registry.c (desktop_remove_application),
3175 (desktop_add_application): clean coding style.
3177 * registryd/desktop.c (spi_desktop_remove_application),
3178 (spi_desktop_add_application): kill re-enterency hazards.
3179 (spi_desktop_dispose): remove bogus redundant cast
3180 obscuring bug; fix bug too.
3181 (spi_desktop_init): make the desktop object immortal.
3183 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3186 Added a #define-guarded tree-traversal step
3187 when enumerating the apps (diagnostic tool).
3189 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3191 * idl/Accessibility_Role.idl:
3192 Added ROLE_DRAWING_AREA which seemed to be missing from the
3195 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3197 * cspi/spi-roletypes.h cspi/spi_accessible.c
3198 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3201 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3202 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3203 AT when applications are added and removed from the desktop. This
3204 reverts the previous broken implementation using the backing
3205 AtkObject for the SpiDesktop.
3207 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3209 * registryd/desktop.c: emit the "children-changed::add" and
3210 "children-changed::remove" signals on the backing ATK object for
3211 the desktop so AT can tell when applications are started and shut
3214 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3216 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3218 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3220 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3222 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3224 * cspi/state-types.h: synched with IDL and ATK
3226 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3228 * libspi/accessible.c
3229 (impl_accessibility_accessible_get_child_at_index):
3230 Change return value for g_return_if_fail ()
3231 to CORBA_OBJECT_NIL instead of "0" (!)
3233 * registryd/Makefile.am:
3234 * registryd/Accessibility_Register.server.in:
3235 Changed name of executable, "registryd",
3236 to something more informative:
3239 2002-03-13 Michael Meeks <michael@ximian.com>
3241 * atk-bridge/bridge.c (atk_bridge_init): don't register
3242 if we're in a bonobo-component, rather than a bonobo app.
3244 2002-03-13 Michael Meeks <michael@ximian.com>
3246 * atk-bridge/bridge.c (gtk_module_init): split
3247 out body to (atk_bridge_init): here, since otherwise
3248 we get symbol conflicts and oddness when invoked
3249 from (gnome_accessibility_module_init): here (upd.)
3251 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3254 New file. Explicitly allow "build sheriff" putbacks provided
3255 they are tested on Solaris.
3257 * docs/reference/cspi/Makefile.am:
3258 Added '-' to the "cp" command for index.sgml.
3259 ("patch by thomasvs, soon coming to a GUADEC near you")
3262 Incremented version number (0.9.0) for new release.
3263 Changed macro that checks for popt, to better detect
3264 obsolete versions of popt.
3267 Added X_LIBS to AC_SUBST, for applications
3268 that call Xlib API directly.
3271 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3274 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3277 Fix regression caused by hard-coding major
3278 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3281 * test/test-simple.c (test_editable_text),
3282 (test_test): revert previous change (error was
3283 a regression in gail which is now fixed).
3285 2002-03-04 Michael Meeks <michael@ximian.com>
3287 * test/test-simple.c (test_editable_text),
3288 (test_text): pass G_MAXINT instead of '-1' for
3289 whole string - is this a good thing !?
3291 * cspi/spi_accessible.c
3292 (Accessible_getRelationSet): fix crasher bug
3293 overwriting the end of the array.
3295 * test/test-simple.c (validate_accessible): free,
3296 not g_free returned relation set.
3298 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3300 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3301 implemented stateset support
3303 * idl/Accessibility_State.idl: Made necessary changes to
3304 the IDL to support state sets.
3306 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3308 * registryd/deviceeventcontroller.c:
3309 Added implementation for generateMouseEvent.
3311 * cspi/spi_registry.c:
3312 Connected new implementation for generateMouseEvent
3315 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3318 Incremented revision (but no change in public API
3319 outside of 'utils', which are not installed public yet.)
3321 * libspi/component.c:
3322 Changed to use atk_component API for layers and
3323 mdi_zorder, instead of deprecated atk_object API.
3325 Magnification Utility Enhancements:
3328 Added implementation of createZoomRegion, clearAllZoomRegions,
3329 resizeZoomRegion. Added new commandline argument
3330 "--no-initial-region". Note that clearAllZoomRegions doesn't
3331 unmap the old '0' region as it should (yet), and the other
3332 methods only work when creating/resizing a single region,
3333 which is "region 0".
3334 (Code for multiple region support will be added later.)
3337 Now we raise the magnifier window each time it's refreshed;
3338 this will help keep it on top.
3340 * util/mag_client.h:
3341 Added simple wrappers for above, used by mag_control.
3342 For general use, it's recommended to use the bonobo magnifier
3343 control API directly instead of using these wrappers.
3346 Moved ZoomRegionData from magnifier.c to this file.
3348 * util/mag_control.c:
3349 Added some code to exercise new IDL implementations.
3351 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3353 * libspi/text.c: Provide implementation for getAttributes.
3355 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3358 Incremented revision.
3360 * test/test-simple.c:
3361 Replaced use of deprecated g_main_iteration with
3362 g_main_context_iteration.
3364 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3367 Incremented revision for desktop alpha 2.
3369 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3371 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3374 * test/simple-at.c: include netinet/in.h.
3376 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3378 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3379 use NULL, not CORBA_OBJECT_NIL.
3381 * libspi/accessible.c:
3382 (impl_accessibility_accessible_get_relation_set):
3383 allocate the sequence correctly.
3385 * libspi/remoteobject.h: kill spi_remote_object_new.
3387 * test/test-simple.c: (validate_accessible): add code
3388 to test relation sets, now all we need is to figure
3389 out how to excercise this code path :/
3391 2002-01-18 Michael Meeks <michael@ximian.com>
3393 * test/test-simple.c
3394 (key_listener_cb): consume the key.
3395 (test_keylisteners): update.
3396 (main): wait for any pending unrefs on events.
3398 * registryd/deviceeventcontroller.c
3399 (spi_controller_update_key_grabs): only re-issue the
3400 grab on a key release.
3401 (spi_device_event_controller_forward_key_event):
3402 refresh the keygrabs before we notify the listeners,
3403 to reduce the X ungrab / re-grab race.
3404 (spi_controller_register_with_devices): remove
3405 XSelectInput - we do that with the gdk_window_ call.
3406 (_spi_controller_device_error_handler): return a value.
3407 s/GDK_DISPLAY/spi_get_display/
3409 2002-01-17 Michael Meeks <michael@ximian.com>
3411 * registryd/deviceeventcontroller.c
3412 (_deregister_keygrab): don't blow out the later
3415 * test/test-simple.c (test_keylisteners): do a
3416 more intelligent validation.
3418 2002-01-14 Michael Meeks <michael@ximian.com>
3420 * atk-bridge/bridge.c
3421 (gnome_accessibility_module_init),
3422 (gnome_accessibility_module_shutdown): impl.
3423 (gtk_module_init): protect vs. double inits.
3424 (add_signal_listener): impl.
3425 (spi_atk_bridge_state_event_listener): kill
3426 (deregister_application): split out of
3427 (spi_atk_bridge_exit_func): here.
3429 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3432 Added caret tracking when using magnifier, and
3433 now use text bounds for focus tracking of text elements, rather than
3434 the component bounds - this is helpful for short text fields in long
3435 table cells, at high magnification.
3437 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3439 * registryd/deviceeventcontroller.c:
3440 Regression fix for keylistener de-registration; global keygrabs
3441 were not being released when deregisterKeystrokeListener was
3442 called in cspi, since
3443 Accessibility_DeviceEventController_deregisterKeystrokeListener
3444 was called with a zero-length keyset. That is because the cspi
3445 method, SPI_deregisterKeystrokeListener, does not take a keyset
3446 parameter but instead should remove all the key grabs held be a
3448 The code in impl_deregister_keystroke_listener was changed to copy
3449 the keylist from the listener instance previously registered with
3450 the DeviceEventController before releasing the grabs.
3452 * registryd/registry.c:
3453 * registryd/deviceeventcontroller.c:
3454 * libspi/spi-private.h:
3456 Changed spelling of "re-enterant" to "re-entrant" globally.
3458 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3460 * test/test-simple.c:
3461 Changed key listeners test - the test was slightly mis-using the
3462 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3463 It now uses '=' as the key event listened to and generated,
3464 relying on a keysym match rather than assuming that keycode 33
3465 is always equal to keysym '!'.
3467 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3470 Changed simple-at to use a specific keyset, rather than
3471 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3472 manager, desktop, etc.
3474 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3476 * registryd/deviceeventcontroller.c:
3477 Replaced standard X error handler with a special handler that
3478 is non-fatal for failed keygrabs. This works around
3479 problems with keygrab clashes sometimes observed on
3481 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3482 mouse handling code as yet).
3484 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3487 Incremented revision for desktop alpha release.
3490 Fixed a couple of the more glaring errors (still not
3493 2002-01-11 Michael Meeks <michael@ximian.com>
3495 * registryd/deviceeventcontroller.c
3496 (spi_device_event_controller_forward_key_event): kill
3497 XUngrabKey / XKeyGrab race.
3498 (spi_controller_grab_keyboard): rename to
3499 (spi_controller_update_key_grabs): this, and deal
3500 with incremental adding / removing grabs more
3502 (_register_keygrab): ensure we're not pending a remove.
3503 (spi_grab_mask_free): impl.
3504 (spi_controller_register_global_keygrabs): split out
3506 (handle_keygrab): impl.
3507 (_deregister_keygrab): impl.
3508 (spi_controller_deregister_global_keygrabs): impl.
3509 (spi_controller_update_key_grabs): re-issue the grab if
3510 we just recieved a notification.
3512 * test/test-simple.c (key_listener_cb): remove debug.
3514 * registryd/deviceeventcontroller.c
3515 (spi_controller_register_device_listener): after
3516 registering a global keygrab, actualy register it !
3517 don't wait for a timeout; doh !
3519 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3520 to make it more readable / manipulable.
3521 s/grabmask/grab_mask/ s/refcount/ref_count/
3522 s/keyval/key_val/ s/modmask/mod_mask
3524 2002-01-08 Michael Meeks <michael@ximian.com>
3526 * registryd/deviceeventcontroller.c
3527 (spi_controller_register_with_devices): use gdk calls to
3529 (global_filter_fn): implement the filter.
3530 (spi_device_event_controller_check_key_event): rename to
3531 (spi_device_event_controller_forward_key_event): this & upd.
3532 (spi_get_display): replace with GDK_DISPLAY.
3534 * registryd/deviceeventcontroller.c
3535 (spi_controller_deregister_device_listener): unroll into
3536 (impl_deregister_keystroke_listener): here to simplify.
3537 (spi_controller_register_global_keygrabs): split cut and
3538 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3539 (spi_controller_deregister_device_listener): remove.
3540 (impl_register_mouse_listener): remove, no mouse listener
3541 support in at-spi-1.0
3543 * registryd/registry.c
3544 (_device_event_controller_hook): kill.
3545 (spi_registry_init): upd.
3547 * registryd/deviceeventcontroller.c
3548 (spi_device_event_controller_class_init): upd.
3549 (spi_check_key_event): merge into.
3550 (spi_device_event_controller_check_key_event):
3551 here and kill strange static ev init, don't leak
3552 the x_event - nor dynamicaly allocate it.
3554 * registryd/registry-main.c (main): re-direct
3555 timeout to remove strange vtable mess.
3557 * registryd/deviceeventcontroller.c
3558 (remove_listener_cb): impl.
3559 (spi_controller_deregister_device_listener):
3560 fix re-enterancy hazard.
3562 2002-01-07 Michael Meeks <michael@ximian.com>
3564 * registryd/deviceeventcontroller.c
3565 (spi_device_event_controller_new): upd.
3566 (impl_notify_listeners_sync): upd. debug.
3567 (spi_notify_keylisteners): fix re-enterancy hazards,
3568 prettify, remove O(n*n) iteration.
3569 (spi_controller_grab_keyboard): fix iteration.
3570 (spi_check_key_event): re-format to suit coding style.
3571 Clean all the warnings - we're warning free.
3573 * registryd/deviceeventcontroller.h:
3574 * registryd/registry.h: make mutualy referential with
3575 typesafe forward references instead of (!) void pointer
3578 2002-01-11 Michael Meeks <michael@ximian.com>
3580 * cspi/spi_accessible.c (role_names): add a role name
3581 to sync this array with the enum; and make the regression
3584 2002-01-10 Michael Meeks <michael@ximian.com>
3586 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3587 allow expansion of enumeration & kill warning.
3589 * test/test-simple.c (key_listener_cb): impl.
3590 (test_keylisteners): impl.
3592 * cspi/spi-listener.h: make listener signatures const
3593 on the provided (const) events.
3595 * test/keysynth-demo.c: upd. to const events.
3597 * test/simple-at.c: ditto.
3599 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3602 Rev the version to 0.5 (the previous tarball was named 0.4,
3603 even though the micro number was 3), so we need to rev upwards
3604 again for beta2/"desktop-alpha"
3607 Checked in a demo script, which requires editing before use!
3608 Proceed with caution.
3611 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3613 * cspi/spi_accessible.c:
3614 Add a couple of missing enum initializations, and fix some enum
3617 * cspi/spi_registry.c:
3618 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3620 * docs/reference/cspi/at-spi-cspi-sections.txt:
3621 Remove/fix a couple of broken document references.
3624 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3625 as Alt-Control to listen for commands, since on some systems
3626 Control-Alt may already be grabbed.
3628 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3631 Update version number to 0.4 for Beta2.
3633 * libspi/accessible.c, libspi/accessible.h:
3634 Expose spi_accessible_construct, to enable libgail-gnome
3635 construction from spi_accessible subtype.
3637 * utils/magnifier.c:
3638 Workaround for bug in some non-gnome-compliant window managers
3639 which made magnifier resize improperly.
3641 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3643 * libspi/accessible.c: (spi_accessible_new) :
3644 Move the test for SPI_IS_REMOTE_OBJECT to
3645 spi_accessible_new_return, fixing a bug and compile time warning.
3647 2002-01-08 Michael Meeks <michael@ximian.com>
3649 * registryd/registry.c (parse_event_type): remove strndup.
3651 * libspi/Makefile.am (libspi_la_SOURCES): remove
3652 sources already included in the headers section.
3654 * libspi/util.c: add.
3656 * libspi/spi-private.h: add.
3658 * registryd/registry.c: update to moved list iterators.
3660 2002-01-05 Michael Meeks <michael@ximian.com>
3662 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3664 * test/test-simple.c (main): ditto.
3666 2002-01-04 Michael Meeks <michael@ximian.com>
3668 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3669 redundant construct.
3671 * registryd/registry.c
3672 (get_listener_list): impl.
3673 (impl_accessibility_registry_register_global_event_listener):
3674 re-impl. to simplify using ~, remove dodgy const cast off.
3675 (parse_event_type): constify.
3676 (impl_accessibility_registry_deregister_global_event_listener_all):
3677 re-write, more efficiency and simplicity, kill re-enterancy
3679 (compare_listener_corbaref, compare_corba_objects),
3680 (compare_listener_quarks): define out.
3681 (impl_accessibility_registry_deregister_global_event_listener):
3682 re-write for effiency, and nail re-enterancy hazard.
3683 (impl_accessibility_registry_get_desktop_list): impl.
3684 (re_enterant_list_delete_link): impl.
3685 (re_enterant_list_foreach): impl.
3686 (remove_listener_cb): impl.
3687 (_registry_notify_listeners): kill.
3688 (notify_listeners_cb): impl.
3690 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3691 (SPI_getDesktopList): impl.
3693 * test/test-simple.c (test_desktop): test the methods.
3695 2002-01-03 Michael Meeks <michael@ximian.com>
3697 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3698 keystrings since we free them
3699 (SPI_freeAccessibleKeySet): in here.
3701 * libspi/accessible.c (spi_accessible_new): kill warning,
3702 wonder what is going on with the constructor here.
3704 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3706 * libspi/accessible.c (spi_accessible_new ()) :
3707 Added check to see if AtkObject is an SpiRemoteObject before
3708 creating an SpiAccessible.
3710 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3712 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3713 Enable keygrabs using the Control modifier, now that they are
3714 working properly (they were previously disabled).
3717 Change the command keygrab for this demo to "Control+Alt", so as
3718 to conflict with fewer other key commands on the system; this
3719 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3721 Removed a pointlessly-chatty keylistener for unshifted keys
3722 (shifted keys are still reported).
3724 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3726 * libspi/remoteobject.h:
3727 * libspi/remoteobject.c:
3728 Added definitions for special AtkObject subtype, required for
3729 support of remote components (specifically, used by BonoboControl
3730 accessibility implementation).
3732 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3734 * cspi/spi.h: synched relation types with ATK
3736 * cspi/spi_accessible.c: Added implementations of
3737 AcccessibleRelation_* methods
3739 * idl/Accessibility_Relation.idl: added getRelationTypeName
3740 method. Synched known relation types with ATK. Allowed for
3741 relation type extension with the RELATION_EXTENDED type.
3743 * libspi/relation.c: Provided implementations for
3744 AccessibleRelation methods.
3746 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3748 API tweaks for today's API 'freeze'.
3751 Added placeholder functions to allow future compatible expansion
3752 of the IDL interfaces.
3754 * idl/Accessibility_Registry.idl:
3755 Changed generateKeyEvent to generateKeyboardEvent. Changed
3756 signature of this method to accept an optional keystring in
3757 parameter (for complex text input synthesis) and changed use of
3758 simple 'boolean' parameter in registerKeystrokeListener to a
3759 struct, EventListenerMode.
3761 * cspi/spi_accessible.c:
3763 * cspi/spi_streamablecontent.c:
3764 Added references to AccessibleStreamableContent interface, and
3765 definition and implementation of AccessibleStreamableContent
3768 * cspi/spi_registry.c:
3770 Changed generateKeyEvent API to generateKeyboardEvent,
3771 taking a new (optional) keystring parameter to support complex
3776 Renamed directory (to better reflect its actual purpose, bridging
3777 from at-spi to ATK). The .so module is also now named
3780 * idl/Accessibility_Hypertext.idl:
3781 * libspi/accessible.c:
3782 * libspi/hypertext.h:
3783 * libspi/hypertext.c:
3784 Changed Accessibility_Hypertext to *not* derive from
3787 * cspi/spi_registry.c:
3788 Added list of legal event type names for 'window' events, which
3789 completes the registry event API.
3791 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3793 * at-bridge/bridge.c: Added registration for separate
3794 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3795 signals. If either of the first two parameters to the generic
3796 bridge signal handler are ints, they are passed on as event
3797 details. This allows an AT to determine what text was inserted.
3799 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3801 * registryd/deviceeventcontroller.c:
3802 Fixed regressions in generateKeyEvent caused by the removal of
3803 gdk_init from registryd; we now use pure X calls to connect to the
3804 display, which makes sense because deviceeventcontroller already
3805 uses a fair bit of X API (should eventually be migrated to a
3806 'portability layer').
3808 * registryd/desktop.c:
3809 Fixed minor regression in spi_desktop_init, changed the way the
3810 desktop name is being set to work with new spi_base API
3811 (gobject-based, rather than AtkObject-based).
3813 * registryd/Makefile.am:
3814 Minor revision of makefile to use XTST_LIBS variable rather than
3815 hard-wiring the Xtst LD_ADD element.
3817 * test/keysynth-demo.c:
3818 Tweaked an output message; added initialization of the
3819 'keystrings' member of the "switch listener" key_set.
3821 * libspi/relation.c:
3822 Squashed compile-time warning.
3824 * libspi/accessible.c:
3825 Cosmetic and formatting fixes, renamed a static method.
3827 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3829 * libspi/accessible.c
3831 * libspi/application.c
3834 * libspi/component.c
3835 * libspi/editabletext.c
3836 * libspi/hyperlink.c
3837 * libspi/hypertext.c
3839 * libspi/selection.c
3843 * registryd/desktop.c:
3844 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3846 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3848 * idl/Accessibility_Registry.idl:
3849 Added boolean member 'is_text' to DeviceEvent. This is for the
3850 use of key events, and helps prevent ambiguity between composed
3851 key strings and keysym names, since both may potentially be
3852 returned in the 'event_string' member.
3854 * at-bridge/bridge.c:
3855 * registryd/deviceeventcontroller.c:
3856 Use the 'is_text' member when notifying device event listeners.
3857 Knon issue: composed characters are not dealt with correctly by
3858 the global key listener implementation yet.
3860 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3862 * at-bridge/bridge.c:
3863 Namespaced local static methods to spi_atk_bridge_* where
3864 previously named bridge_*, and spi_* elsewhere.
3866 * at-bridge/bridge.c:
3867 * cspi/bonobo/cspi-bonobo-listener.c:
3868 Added demarshalling/conversion for string member of
3869 Accessibility_DeviceEvent to AccessibleKeystroke.
3871 * registryd/deviceeventcontroller.c:
3872 Added code to fill the Accessibility_DeviceEvent key string value
3873 member for global key events (i.e. from XGrabKey), to match
3874 behavior of Accessibility_DeviceEvent from the toolkit key events
3875 from the bridge. Fixed timestamp in global key event notifications.
3878 Added printout of key event's string value to
3879 report_ordinary_key_event, for demo/debugging purposes.
3881 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3883 * idl/Accessibility_Registry.idl:
3884 Removed Accessibility_KeyStroke structure in favor of generic
3885 Accessibility_DeviceEvent structure.
3886 Changed Accessibility_ControllerEventMask from a struct to an
3889 * at-bridge/bridge.c:
3890 Changed APIs to use DeviceEvent structure as above, and removed
3891 bogus casting between these event structures.
3893 * cspi/spi-listener.h:
3894 Added keystring member of AccessibleKeystroke structure, to enable
3895 matching on event "names" rather than only hardware codes and
3899 Added keystrings member of AccessibleKeySet struct, to allow
3900 matching on event names (as above).
3901 Added declarations for SPI_createAccessibleKeySet and
3902 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3903 event modmasks directly as unsigned ints rather than structs with
3904 refcounts, in the DeviceEventController methods.
3906 * cspi/spi_registry.c:
3907 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3909 * cspi/spi-roletypes.h:
3910 Added documentation of newly added SPI Roles.
3912 * cspi/bonobo/cspi-bonobo-listener.c:
3913 Changes in support of API changes above.
3915 * libspi/accessible.c:
3916 Converted APIs to use DeviceEvent structure (see IDL changes
3919 * registryd/deviceeventcontroller.c:
3920 Added DEControllerGrabMask structure to track keygrabs not only by
3921 modmask but by keyset as well; this allows us to do "global"
3922 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3923 grabbing on AnyKey and then filtering after-the-fact.
3924 Bugfixes for event filtration mean that we don't get false matches
3925 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3927 * registryd/deviceeventcontroller.c:
3928 Namespaced a number of static methods to use spi_ prefix. Major
3929 revision to internals of global (i.e. X) key grabs.
3931 * registryd/deviceeventcontroller.h:
3932 Removed keymask_list and added keygrabs_list to
3933 SpiDeviceEventController struct.
3936 Added use of SPI_createAccessibleKeySet API when creating a
3937 listener for only one key. Attach a listener to "shift spacebar
3938 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3939 X key event names to SPI key event names, so that listeners are
3940 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3942 * test/keysynth-demo.c:
3943 Changed (incorrect) use of X key event names (KeyPressed,
3944 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3947 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3949 * libspi/accessible.c:
3950 Convert all AtkRole enumerations to Accessibility_Role enums when
3951 getting a role from an AtkObject.
3953 * cspi/spi_accessible.c:
3954 Complete the conversion of Accessibility_Role enums at runtime to
3955 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3956 role enums correctly match those given in spi-roletypes.h.
3957 Re-synchronize the local names list for AccessibleRole_getName ().
3958 AccessibleRole_getName is now deprecated, since it duplicates the
3959 more reliable Accessible_getRoleName.
3960 Added some role types from Accessibility_Role.idl.
3962 * idl/Accessibility_Role.idl:
3963 Added some role types used by AtkRole.
3965 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3968 * cspi/spi_registry.c:
3970 * cspi/cspi-bonobo-listener.c:
3971 Namespaced all methods that did not begin with an "SPI_" or
3972 "Accessible" prefix to "SPI_".
3975 Homogenized internal function namespace to "cspi_" for statics.
3978 Patched tests to use the new CSPI API.
3980 * docs/reference/cspi/at-spi-cspi-sections.txt:
3981 Updated docs to reflect namespace changes, and added a number of
3982 methods to the documentation.
3984 * registryd/registry.c:
3985 Changed use of strings and string hashes in listener event
3986 matching and parse_event_string to use GQuark, which is guaranteed
3989 * registryd/registry.h:
3990 Squashed annoying warning.
3992 * idl/Accessibility_Role.idl:
3993 Extended range of available Accessibility_Role values.
3995 * cspi/spi_accessible.c:
3996 Re-ordered role names.
3998 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4000 * idl/Accessibility_Value.idl:
4001 Revert use of union back to CORBA_double, since the double type is
4002 more efficient and can contain the other types without loss of
4005 * idl/Accessibility_Accessible.idl:
4006 Added method Accessibility:Accessible:getRoleName, to complement
4007 Accessibility:Accessible:getRole.
4009 * cspi/spi_accessible.c:
4011 Added C binding for above, Accessible_getRoleName (), and changed
4012 signature of Accessible_getRole () to return an AccessibleRole.
4014 * cspi/spi-roletypes.h:
4015 Changed AccessibleRole_getName to return a char * instead of a
4016 const char *. This method is now at least temporarily deprecated
4017 in favor of asking Accessibles for their RoleNames directly.
4020 Revert to match Accessibility_Value.idl;
4024 Change signature of AccessibleValue methods to use double rather
4028 * cspi/spi_accessible.c:
4029 Changed Accessible_getRole to return an AccessibleRole enum rather
4030 than a UTF-8 string. The UTF-8 string can still be obtained via
4031 AccessibleRole_getName ().
4033 * test/test-simple.c:
4034 Add test_action. Small fixup to match API change to Accessible_getRole.
4037 Bugfix for get_action_from_servant ().
4039 2001-12-11 Michael Meeks <michael@ximian.com>
4041 * libspi/libspi.h: remove registry.h and
4042 desktop.h, deviceeventcontroller.h
4044 * libspi/Makefile.am: remove registry.[ch],
4045 desktop.[ch], deviceeventcontroller.[ch]
4047 * registryd/Makefile.am: add registry.[ch],
4048 desktop.[ch], rename registryd.c to registry-main.c.
4049 add deviceeventcontroller.[ch]
4051 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4054 Replace setenv() call with putenv ().
4056 * libspi/component.c:
4057 Bugfix in AccessibleComponent_getExtents (),
4060 2001-12-11 Michael Meeks <michael@ximian.com>
4062 * libspi/image.c (impl_getImageExtents): impl.
4063 (spi_image_class_init): upd.
4066 (AccessibleImage_getImageDescription): fix daft bug
4069 * test/test-simple.c (global_listener_cb): update
4070 to only quit if not --poke
4071 (main): catch --poke.
4072 (validate_accessible): upd. dumping, call test_image
4075 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4078 * idl/Accessibility.idl: update all IDL includes.
4080 * idl/*.idl - rename to namespace - this sucks, blame
4081 mjs' bad decision for oafd.
4083 * test/test-simple.c (create_test_window): add more tests.
4084 (create_tree): split this out.
4085 (validate_accessible): bugfix.
4087 2001-12-11 Michael Meeks <michael@ximian.com>
4089 * cspi/bonobo/cspi-bonobo-listener.c:
4090 (cspi_kestroke_listener_unref),
4091 (cspi_event_listener_unref): impl. undoing previous
4092 homenous environment - for Bill.
4094 * cspi/spi_table.c (long_seq_to_array): use
4097 * cspi/spi_main.c: split out all bonoboish bits into
4100 * cspi/spi-impl.h: upd. typedefs.
4102 * cspi/spi_registry.c: update to lowlevel API,
4103 return booleans to indicate success in some places.
4105 * cspi/spi_event.c: update to lowlevel API.
4107 * cspi/bonobo/Makefile.am: add.
4109 * cspi/bonobo/cspi-lowlevel.h: add
4111 * cspi/bonobo/cspi-bonobo.c: add
4113 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4115 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4116 (SUBDIRS): add bonobo, link in the libs.
4118 * cspi/spi-util.c: kill this file.
4120 * TODO: merge in my bits.
4122 2001-12-11 Michael Meeks <michael@ximian.com>
4124 * test/test-simple.c (test_value, test_table, main):
4125 remove unused variables causing warnings.
4127 * configure.in: cleanup checks - require gail.
4129 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4132 Changed Value interface to use SValue (scalars) rather than
4133 assuming all values are floats. This allows floats, doubles,
4134 longs, shorts, and unsigned values to be manipulated.
4135 Introduced Accessibility:SValue union.
4138 Updated to use new API above, and to work correctly with GValues
4139 of different types in AtkValue.
4142 Updated to use new API above. cspi's API is as yet unchanged.
4145 Updated the Value revision action item.
4147 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4149 * test/test-simple.c:
4150 Added test_table (GtkTreeView widget in test window to follow).
4151 Un-commented test_value, added GtkRange widget.
4152 Added GtkTreeView widget with GtkListStore. It passes regression
4153 test but leaks one SPI object for some reason.
4156 Fixed bug in impl__set_currentValue.
4158 2001-12-10 Michael Meeks <michael@ximian.com>
4160 * cspi/spi_text.c: audit for exception handling,
4161 tolerating NULL object references safely etc.
4163 * cspi/spi_value.c: ditto.
4165 * cspi/spi_table.c (AccessibleTable_getSummary),
4166 (AccessibleTable_getAccessibleAt),
4167 (AccessibleTable_getRowHeader),
4168 (AccessibleTable_getColumnHeader),
4169 (AccessibleTable_getCaption): fix bugs hidden by
4171 (long_seq_to_array): impl.
4172 (AccessibleTable_getSelectedRows),
4173 (AccessibleTable_getSelectedColumns): use it.
4175 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4178 Added a TODO list (rough and short for now).
4180 * cspi/spi_hyperlink.c:
4181 * cspi/spi_hypertext.c:
4182 Fixed macro name typos, and remove use of obsolete macro in
4183 AccessibleHyperlink_getLink.
4185 * cspi/spi_action.c:
4186 * cspi/spi_accessible.c:
4187 * cspi/spi_application.c:
4188 * cspi/spi_component.c:
4189 * cspi/spi_selection.c:
4192 Documentation fixes (removed return values from ref/unref methods).
4194 2001-12-10 Michael Meeks <michael@ximian.com>
4196 * cspi/spi_action.c: audit for exception handling,
4197 tolerating NULL object references safely etc.
4199 * cspi/spi_accessible.c: ditto.
4201 * cspi/spi_component.c: ditto.
4203 * cspi/spi_editabletext.c: ditto.
4205 * cspi/spi_hyperlink.c: ditto.
4207 * cspi/spi_hypertext.c: ditto.
4209 * cspi/spi_image.c: ditto.
4211 * cspi/spi_selection.c: ditto.
4213 2001-12-10 Michael Meeks <michael@ximian.com>
4215 * configure.in: use cspi/libspi.pc.in instead.
4217 * Makefile.am (pkgconfig_DATA): upd. to match.
4219 * test/simple-at.c (report_focus_event): kill hacks around
4220 bad return values, use putenv not setenv
4222 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4223 fire ChildGone - I killed it.
4225 * libspi/component.c
4226 (impl_accessibility_component_get_extents): remove
4229 * idl/Accessible.idl: kill ChildGone exception.
4231 * cspi/*.[ch]: kill int return from ref / unref.
4233 * cspi/spi_main.c (cspi_object_add_check): fold into
4234 (cspi_object_add): here.
4236 * cspi/spi_component.c (AccessibleComponent_getExtents):
4237 handle exceptions elegantly.
4239 * cspi/spi-private.h (cspi_check_ev_return),
4240 (cspi_return_if_fail): impl.
4242 * cspi/spi_accessible.c: use extensively.
4243 (AccessibleStateSet_equals): add direct compare check.
4245 * cspi/spi_selection.c: tolerate NULL objs, and check
4246 exceptions before return.
4248 * cspi/spi-util.c (cspi_warn_ev): rename to
4249 (cspi_check_ev): this & don't pass ev in; no point.
4251 2001-12-10 Michael Meeks <michael@ximian.com>
4253 * test/test-simple.c: use putenv not setenv
4254 (get_environment_vars): more chatty if you're not using
4257 * test/simple-at.c: do the setenv so more people see the
4260 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4262 * libspi/registry.c:
4263 Changed check of CORBA_environment on notification to be a warning
4264 instead of an error for the moment, since we can recover from this
4265 error when caused by a queued notification from a dead app.
4268 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4269 used by all current implementors of AtkValue), and coerce to
4270 CORBA_float. (Proper general case fix may require change to Value.idl).
4272 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4276 * cspi/spi_accessible.c:
4277 Documentation fixes: added user_data params to documentation for
4278 listeners and callbacks.
4280 * cspi/spi_accessible.c:
4281 Changed AccessibleStateSet_compare to return a
4282 StateSet rather than return the difference set into a third parameter.
4285 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4288 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4289 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4293 Remove subdirectory po from SUBDIRS for now.
4295 * at-bridge/bridge.c:
4296 Beefed up a couple of debug printouts.
4297 One-line fix for signal notification name formatting.
4299 * libspi/accessible.c:
4300 Added assertion to spi_accessible_new ().
4302 * libspi/application.c:
4303 Put #ifdef qualifiers around a printf.
4306 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4308 * registryd/Makefile.am:
4310 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4311 INTLTOOL_SERVER_RULE macro.
4314 Added an event listener for several ATK signals, for
4315 testing and debugging. Removed a few g_warnings.
4316 Added test output if focussed item implements the Value interface.
4318 * test/test-simple.c:
4319 Added test_value () function (known not to pass at the moment, so
4320 not actually called yet.
4322 2001-12-08 Michael Meeks <michael@ximian.com>
4324 * at-bridge/bridge.c (bridge_focus_tracker),
4325 (emit_eventv): fix the same ref. leak.
4326 (register_atk_event_listeners): don't leak.
4328 * cspi/spi-listener-impl.c (cspi_event): more
4329 protection from client code.
4331 * test/test-simple.c (test_desktop): unref the app.
4333 * test/Makefile.am: upd. TESTS.
4335 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4337 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4339 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4341 * cspi/spi_registry.c: constify in strings.
4342 (deregisterGlobalEventListenerAll): don't release the ref.
4344 * cspi/spi.h: start removing redundant / conflicting
4345 gtkdoc comments, making the API readable at a glance :-)
4347 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4349 * test/keysynth-demo.c (keysynth_exit, main): upd.
4351 * test/simple-at.c (main, simple_at_exit): upd.
4353 * test/test-simple.c (unutterable_horror): kill.
4354 (utterable_normal_derefs): kill.
4355 (main): upd & do a setenv before gtk_init, so that we
4356 can use memprof - and to save the pain of remembering
4357 this, if we're running under memprof - don't exit.
4359 * cspi/spi_main.c (SPI_exit): return exit status
4361 (SPI_event_quit): impl.
4362 (SPI_event_main): simplify.
4363 (cspi_is_gnome_app): kill.
4364 (SPI_init): kill isGNOMEapp arg.
4366 * at-bridge/bridge.c (register_atk_event_listeners):
4367 re-instate the unref.
4368 (bridge_exit_func): don't re-activate the registry,
4369 protect vs. theoretical re-entry, use the
4370 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4371 assert a clean shutdown - for regression tests.
4373 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4375 * configure.in: Comment out dummy i18n support for now,
4376 otherwise it fails to build.
4377 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4378 EXTRA_DIST. They are missing in tarball.
4380 2001-12-07 Michael Meeks <michael@ximian.com>
4382 * util/magnifier.c: kill bonobo activation reg. race.
4384 * libspi/component.c
4385 (impl_accessibility_component_get_extents): make it match
4388 * libspi/registry.c (_registry_notify_listeners):
4389 re-remove X headers & reconcile conflicts.
4390 (spi_listener_struct_free): bad conflict resolve.
4391 (impl_accessibility_registry_register_application):
4392 more bad merging fixed.
4393 (impl_accessibility_registry_deregister_application): ditto.
4394 (spi_registry_new): ditto.
4395 (spi_registry_init): don't have an applications field.
4397 [ merge fixups2 branch to here ]
4398 2001-12-07 Michael Meeks <michael@ximian.com>
4400 * test/simple-at.c (report_focus_event),
4401 (report_focussed_accessible): remove g_warning debug.
4403 2001-12-07 Michael Meeks <michael@ximian.com>
4405 * test/test-simple.c (validate_tree): comment out some checks.
4406 (test_desktop): app now not registered idly - horay.
4408 2001-12-07 Michael Meeks <michael@ximian.com>
4410 * cspi/spi_registry.c
4411 (registerAccessibleKeystrokeListener): clean, stop it leaking
4412 great swathes of memory, and device event controller references.
4413 ensure we always pass valid sequences.
4414 (deregisterAccessibleKeystrokeListener): ditto.
4415 (generateKeyEvent): upd.
4417 * at-bridge/bridge.c (bridge_key_listener): handle
4418 registry dead exception gracefully.
4419 (bridge_focus_tracker, emit_eventv): free ev.
4421 * test/simple-at.c (report_focus_event): fix polarity.
4423 * libspi/application.c (notify_listeners): kill the ev
4424 argument, and make sure we init the ev we use.
4425 (spi_application_object_event_listener): split out a chunk
4426 (get_atk_object_ref): here & fixup.
4427 (reverse_lookup_name_for_toolkit_event): make const.
4428 (spi_application_toolkit_event_listener): fixup, kill leaks
4431 * at-bridge/bridge.c (register_atk_event_listeners):
4432 don't unref the noop object - causes grief.
4434 * libspi/registry.c: remove the X headers.
4435 turn off the debug churn.
4437 * libspi/accessible.c (spi_accessible_new_return): only
4438 release the ref if we are supposed to [doh]
4440 * test/simple-at.c (report_button_press, report_focus_event):
4441 guard vs. unexpected exit.
4443 * at-bridge/bridge.c (gtk_module_init): prune printf.
4444 (bridge_exit_func): fix app unref.
4446 * libspi/Makefile.am: don't install registry or desktop.h
4448 * libspi/*.h: update includes.
4450 * libspi/application.h: don't include ourself, or
4451 other redundant headers.
4453 2001-12-06 Michael Meeks <michael@ximian.com>
4455 * libspi/accessible.c
4456 (get_accessible_from_servant): impl.
4457 Upd. all CORBA impl.s to use it killing cut and paste.
4459 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4461 (SPI_init): register atexit cleanup handler here.
4463 2001-12-06 Michael Meeks <michael@ximian.com>
4465 * at-bridge/bridge.c (gtk_module_init): g_error on
4466 activation exception
4468 2001-12-06 Michael Meeks <michael@ximian.com>
4470 * at-bridge/bridge.c (gtk_module_init): some sort of
4471 confusing merge clash - reverted.
4472 (bridge_idle_init): ditto.
4474 * test/test-simple.c (main, utterable_normal_derefs):
4475 merge from Bill - somehow not committed.
4477 2001-12-06 Michael Meeks <michael@ximian.com>
4479 * libspi/value.c (spi_value_class_init): upd.
4480 (spi_value_finalize): kill.
4482 * libspi/table.c (spi_table_finalize): kill.
4483 (spi_table_interface_new): upd.
4484 (spi_table_class_init): upd.
4485 (get_table_from_servant): impl.
4486 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4488 * libspi/selection.c (spi_selection_finalize): kill.
4489 (spi_selection_interface_new): upd.
4490 (spi_selection_class_init): upd.
4491 (get_selection_from_servant): impl.
4492 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4494 * libspi/relation.c (spi_relation_finalize): kill.
4495 (spi_relation_class_init, spi_relation_new): upd
4497 * libspi/image.c (spi_image_finalize): kill.
4498 (spi_image_class_init): upd.
4499 (spi_image_interface_new): upd.
4500 (get_image_from_servant): impl.
4501 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4503 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4504 (spi_hyperlink_finalize): kill.
4505 (spi_hyperlink_new): upd.
4506 (get_hyperlink_from_servant): impl.
4507 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4509 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4510 (spi_hypertext_finalize): kill.
4511 (spi_hypertext_class_init): upd.
4512 (get_hypertext_from_servant): impl.
4513 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4515 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4516 (spi_editable_text_interface_new): upd.
4517 (get_editable_text_from_servant): impl.
4518 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4520 * libspi/text.c (get_text_from_servant): impl.
4521 All impls - update to use it killing more cut and paste,
4522 also fix bad string returns on duff args ( a somewhat
4523 impossible case to handle - but hey ).
4524 (spi_text_construct): impl.
4525 (spi_text_interface_new): upd.
4526 (spi_text_object_finalize): kill.
4528 * libspi/component.c
4529 (accessibility_component_object_finalize): kill.
4530 (spi_component_class_init): upd.
4531 (get_component_from_servant): impl. helper to kill cut & paste.
4532 (impl_accessibility_component_contains):
4533 (impl_accessibility_component_get_accessible_at_point):
4534 (impl_accessibility_component_get_position):
4535 (impl_accessibility_component_get_extents):
4536 (impl_accessibility_component_get_mdi_z_order):
4537 (impl_accessibility_component_get_layer):
4538 (spi_component_interface_new): upd.
4540 * libspi/action.c (spi_action_finalize): kill.
4541 (spi_action_class_init): upd. inherit from SpiObject.
4542 (spi_action_interface_new): upd.
4543 (get_action_from_servant): impl. helper to reduce cut & paste.
4544 (impl_getKeyBinding, impl_getName, impl_doAction),
4545 (impl_getDescription): Use it everywhere.
4547 * cspi/spi_main.c (get_live_refs): a pointer hash.
4548 (spi_object_hash, spi_object_equal): comment out.
4549 There are issues with CORBA object hashing that need
4552 * libspi/application.c (spi_application_init),
4553 (spi_application_new): upd.
4555 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4556 (spi_accessible_class_init): upd.
4557 s/accessible/object/ in epv methods.
4559 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4561 * at-bridge/bridge.c:
4562 Reorder the bridge initialization into the bridge gtk_module_init,
4563 an immediate call to bridge_register_app, and an idle_add for
4564 register_atk_event_listeners (the only code that *must* wait until
4565 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4566 the activation, creates the application's Accessible object, and
4567 queues the bridge_idle_init function. Restored call to
4568 Accessibility_Registry_deregisterApplication().
4569 Prior to making this call we obtain a new reference to the
4570 registry, which is a temporary hack that helps us handle apps that
4571 shut down the bonobo mainloop before we get there.
4573 * libspi/registry.c:
4574 Fix string leakage in debug block, and don't segv if a an app
4575 dies before its event notifications have been propagated.
4578 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4579 as stopgap measure until we get proper exception handling when
4580 objects die during or before interrogation.
4584 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4585 Also changed default value of is_gnome_app to TRUE.
4588 * test/keysynth-demo.c:
4589 Changed use of SPI_init and SPI_event_main to reflect API change above.
4592 Made report_focus_event check the warning value from getName
4593 before reporting on focussed accessible; simplifies handling of
4594 notifications from dead objects.
4596 * test/test-simple.c: (Changes not in this patch since source is
4599 2001-12-05 Michael Meeks <michael@ximian.com>
4601 * registryd/registryd.c (main): protect against
4602 bonobo-activation startup race condition.
4604 * cspi/spi_main.c (cspi_object_add_check): cope
4605 with the exception elegantly.
4607 * idl/Accessible.idl: decl. ChildGone
4609 * libspi/desktop.c (spi_desktop_dispose): impl.
4610 (spi_desktop_class_init): upd.
4611 (spi_desktop_add_application),
4612 (spi_desktop_remove_application),
4613 (abnormal_application_termination): impl.
4614 (impl_desktop_get_child_at_index): re-impl.
4617 (impl_accessibility_registry_deregister_application),
4618 (impl_accessibility_registry_register_application):
4619 kill excessive debug clutter.
4621 * test/test-simple.c (test_misc): test some NULL
4622 tolerance. (main): upd.
4624 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4625 implements no interfaces - so let's not crash.
4627 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4629 * libspi/accessible.c (spi_accessible_new_return): impl.
4630 helper to calm the cut and paste, to cope with
4631 NULL AtkObjects effectively and efficiently, and to kill
4632 the referencing bugs.
4634 * libspi/table.c (impl_getAccessibleAt),
4635 (impl_getRowHeader, impl_getColumnHeader): upd.
4637 * libspi/hyperlink.c (impl_getObject): upd.
4639 * libspi/accessible.c
4640 (impl_accessibility_accessible_get_child_at_index): upd.
4642 * libspi/component.c
4643 (impl_accessibility_component_get_accessible_at_point): upd.
4645 * test/test-simple.c (test_editable_text, test_text): impl.
4648 * cspi/spi_editabletext.c
4649 (AccessibleEditableText_insertText): constify.
4651 * test/test-simple.c (focus_me): make more robust.
4653 * libspi/accessible.c: remove some printfs in methods that
4654 we test and work fine, so we can get a clean tree dump.
4656 * test/test-simple.c (validate_accessible),
4657 (validate_tree): make tree dumping pretty too.
4659 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4660 it builds without debug on.
4662 * test/test-simple.c (validate_accessible): fix the most
4665 * cspi/spi_main.c (spi_object_release): leave the nicely
4666 blanked memory around if in debug mode.
4668 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4670 [committed to fixups2]
4671 2001-12-05 Michael Meeks <michael@ximian.com>
4673 * libspi/editabletext.c
4674 (spi_editable_text_class_init): g_type_class_peek_parent,
4675 not interface peek - so we finalize cleanly.
4677 * libspi/accessible.c (spi_accessible_new): kill debug.
4679 * test/test-simple.c (validate_accessible): fix ref.
4680 leak, print strings before freeing them; sigh, comment a
4681 chunk out due to strangeness.
4682 (validate_tree): unref the child after use.
4684 * cspi/spi_component.c (AccessibleComponent_getLayer):
4685 add missing break statement, switch on zlayer not the
4686 uninitialized retval.
4688 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4689 before (possibly re-entering) remote unref.
4691 * test/simple-at.c (main): unref the desktop.
4693 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4696 * cspi/spi_main.c (cspi_accessible_is_a): here to
4697 isolate bonobo API usage more.
4699 * libspi/registry.c (impl_accessibility_registry_register_application):
4700 prune bogus comment.
4702 2001-12-04 Michael Meeks <michael@ximian.com>
4704 * test/test-simple.c (validate_tree): upd.
4705 IndexInParent check to make it more lucid.
4706 (validate_accessible): dump the tree.
4708 * libspi/accessible.c (de_register_public_ref),
4709 (get_public_refs): impl.
4710 (spi_accessible_new): make more efficient & intuitive.
4711 Now IndexInParent check works.
4713 2001-12-04 Michael Meeks <michael@ximian.com>
4715 * cspi/spi-util.h: remove.
4717 * cspi/spi.h: move SPI_freeString here
4719 * libspi/component.c (impl_accessibility_component_get_layer):
4721 (impl_accessibility_component_get_mdi_z_order): ditto,
4722 return -1 on error - is this ok ?
4724 * test/test-simple.c (test_application): impl.
4726 * cspi/spi_accessible.c (Accessible_getApplication),
4727 (Accessible_isApplication): impl.
4729 * libspi/registry.c (spi_listener_struct_free): release
4730 the CORBA reference too.
4732 * libspi/accessible.c
4733 (impl_accessibility_accessible_get_parent): fix ref leak.
4735 * libspi/registry.c (spi_registry_new): make the registry
4736 immortal - we don't want it to go away ever.
4738 * libspi/application.c
4739 (spi_accessible_application_finalize): impl. cleanup.
4741 * cspi/spi_registry.c
4742 (deregisterGlobalEventListenerAll),
4743 (deregisterGlobalEventListener),
4744 (deregisterAccessibleKeystrokeListener): fix ref leak.
4746 * cspi/spi_main.c (SPI_init): remove redundant ref.
4748 * test/test-simple.c (unutterable_horror): impl. to force a
4753 (impl_accessibility_registry_deregister_application): release
4754 the application when we de-register it.
4756 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4757 until we have the infastructure to get it right.
4759 2001-12-03 Michael Meeks <michael@ximian.com>
4761 * libspi/Makefile.am: only build eventlistener.[ch]
4763 * libspi/accessible.c
4764 (impl_accessibility_accessible_get_child_at_index): don't leak.
4766 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4767 before we hit the idle handler.
4769 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4770 debugging than exit.
4772 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4774 * libspi/listener.c (impl_notify_event): check source
4775 not NIL before unref.
4777 * libspi/registry.c (impl_registry_notify_event): ditto.
4779 * libspi/eventlistener.c
4780 (impl_accessible_event_notify_event): unref the source.
4782 * libspi/accessibleeventlistener.c
4783 (impl_accessible_event_notify_event): unref the source.
4785 * idl/Event.idl: remove 'hash_id' attribute - of no
4788 * libspi/application.c (notify_listeners): upd list
4790 (spi_application_object_event_listener),
4791 (spi_application_toolkit_event_listener): upd to do correct
4795 (_registry_notify_listeners): update.
4796 (parse_event_type): this method also leaks like a sieve.
4797 (impl_accessibility_registry_deregister_global_event_listener):
4798 fix ETYPE_WINDOW case.
4800 * libspi/application.c
4801 (impl_accessibility_application_register_object_event_listener):
4804 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4806 * libspi/hypertext.c (impl_getLink): ditto.
4808 * cspi/spi_main.c (cspi_object_add): remove
4809 bogus CORBA_Object_duplicate.
4811 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4814 * cspi/spi_accessible.c
4815 (Accessible_getRelationSet): fix leak / referencing issue.
4817 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4818 (cspi_object_add, cspi_object_unref): upd.
4819 (spi_object_release, get_live_refs): impl.
4820 (cspi_cleanup): simplify.
4822 * *.[ch]: s/boolean/SpiBoolean/
4824 * cspi/spi_accessible.c (role_names): actualy order so it
4825 corresponds with the enum !
4827 * test/test-simple.c (test_roles): check some role strings
4828 vs. enums to detect offset errors.
4830 2001-12-01 Michael Meeks <michael@ximian.com>
4832 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4834 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4836 (Accessible_getChildAtIndex): use cspi_add_check so we
4837 check the ev before using a (possibly) invalid value.
4839 * libspi/accessible.c
4840 (impl_accessibility_accessible_get_parent): don't segv
4843 * at-bridge/bridge.c (gtk_module_init): upd.
4844 (bridge_property_event_listener): don't leak strings
4846 (bridge_state_event_listener),
4847 (bridge_property_event_listener): don't use a static
4848 buffer in case of recursive event emission &
4849 re-enterancy - split out the swathe of cut and paste
4851 (emit_eventv): and fix 2 ref leaks here & comply to the
4853 (bridge_register_app): rename to
4854 (bridge_idle_init): this and kill arg parsing, split
4855 various inits & bonobo-activation registration to module
4856 init time, kill referencing error.
4857 (bridge_exit_func): fix the same leak.
4858 (bridge_focus_tracker): don't leak event structures
4860 (bridge_signal_listener): more leakage and cut & paste
4862 (bridge_key_listener): return the result - FIXME is
4863 this polarity correct ?
4864 (accessibility_keystroke_from_atk_key_event): rename
4865 (accessibility_init_keystroke_from_atk_key_event): and stop
4867 (gtk_module_init): return a value - not that it is checked by
4869 (bridge_key_listener): register my horror at casting between
4870 IDL defined structs.
4871 (bridge_get_registry): kill - not used.
4873 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4875 * test/test-simple.c (test_roles): impl.
4876 (test_desktop, validate_accessible, validate_tree): impl.
4878 * cspi/spi_accessible.c (role_names): fixup bogus
4879 MAX_ROLES setup, make constants const for efficient linkage
4880 (AccessibleRole_getName): conform to coding style, make
4883 2001-11-30 Michael Meeks <michael@ximian.com>
4885 * cspi/spi.h: add missing prototype.
4887 * libspi/registry.c (spi_listener_struct_new): fix sig.
4889 * test/Makefile.am: add test-simple
4891 * test/test-simple.c: add
4893 * test/test.sh: add.
4895 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4897 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4898 do it straight - since otherwise we often get an activation race.
4900 [ work before Bill duplicated a chunk of it ... ]
4901 2001-11-30 Michael Meeks <michael@ximian.com>
4903 * libspi/keystrokelistener.c
4904 (spi_keystroke_listener_class_init): fixup arg
4907 * libspi/eventlistener.c
4908 (spi_event_listener_class_init): ditto.
4910 * tests/test.sh: add.
4912 * cspi/spi-listener-impl.h: update macros.
4914 * cspi/spi-listener-impl.c
4915 (cspi_event_listener_remove_callback): add
4916 correct pre-conditions.
4918 * cspi/spi_main.c (SPI_exit): guard vs. double
4919 exits, exit the mainloop nicely.
4920 (SPI_event_main): make more sense.
4921 (SPI_init): move the atexit evilness here so we
4922 always do it (yuck).
4923 (SPI_event_main): upd.
4925 * test/simple-at.c: update for listener changes.
4927 * registryd/registryd.c (main): prune kruft.
4929 * libspi/libspi.h: upd.
4931 * libspi/eventlistener.[ch]: rename broken macros.
4933 * libspi/accessibleeventlistener.[ch]: remove.
4935 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4937 * test/test-simple.c: Add - automated tests.
4939 * cspi/spi-listener-impl.c (cspi_event),
4940 (cspi_key_event): add user_data to invoke.
4941 (cspi_keystroke_listener_finalize): impl.
4942 (cspi_keystroke_listener_class_init): upd.
4945 (createAccessibleEventListener),
4946 (AccessibleEventListener_addCallback),
4947 (createAccessibleKeystrokeListener),
4948 (AccessibleKeystrokeListener_addCallback): upd.
4950 * libspi/deviceeventcontroller.c
4951 (spi_device_event_controller_check_key_event): add public proto.
4954 (impl_accessibility_registry_deregister_global_event_listener):
4955 always init listeners.
4956 (_registry_notify_listeners): yes it is.
4958 * cspi/spi-listener-impl.c (cspi_key_event):
4960 (cspi_event_listener_finalize): impl.
4961 (cspi_event_listener_class_init): hook up.
4962 (event_handler_new, event_handler_free),
4963 (event_list_remove_by_callback): impl.
4964 (cspi_event_listener_remove_callback),
4965 (cspi_keystroke_listener_remove_callback),
4966 (cspi_keystroke_listener_add_callback),
4967 (cspi_event_listener_add_callback): upd.
4969 * libspi/keystrokelistener.c
4970 (keystroke_listener_object_finalize): kill
4971 (spi_keystroke_listener_class_init): upd.
4972 (spi_keystroke_listener_add_callback),
4973 (spi_keystroke_listener_remove_callback): kill,
4975 (impl_key_event): prune drasticaly.
4977 * libspi/eventlistener.c
4978 (spi_event_listener_add_callback),
4979 (spi_event_listener_remove_callback): kill, use
4981 (impl_accessible_event_notify_event): upd.
4982 (spi_event_listener_object_finalize): remove.
4984 * libspi/Makefile.am: use eventlistener.[ch]
4986 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4988 * libspi/registry.c (_registry_notify_listeners):
4989 Changed listener loop iteration to use preferred convention.
4990 Got rid of string memory leaks caused be calling g_strconcat
4991 inside function calls.
4993 * libspi/registry.c (parse_event_type):
4994 Stopped g_strconcat memory leaks, free the g_strsplit return,
4995 g_strdup the split pieces when used, etc.
4997 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5000 Change method 'compare' to return a 'difference set' rather than
5001 taking a StateSet as an out parameter (more Java-friendly).
5003 * idl/Accessible.idl:
5004 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5006 * idl/Component.idl:
5008 Changed methods 'getExtents' and 'getImageExtents' in these
5009 interfaces to return a BoundingBox structure.
5010 (getPosition and getSize are redundant and possibly should be
5011 removed, rather than creating a corresponding Point struct.)
5013 * cspi/spi_component.c:
5014 Modify implementation of getExtents to reflect the above IDL
5019 Add (missing) AccessibleImage_getExtents () API.
5021 * docs/reference/cspi/at-spi-cspi-sections.txt:
5022 Added AccessibleImage_getImageExtents () to docs.
5024 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5026 * idl/Component.idl:
5027 Added two methods, getLayer () and getMDIZOrder (), to reflect
5028 the new ATK methods atk_object_get_layer and
5029 atk_object_get_mdi_z_order. (Which arguably should be part of the
5030 AtkComponent API and AtkObject). Also added an enum,
5031 ComponentLayer, for the first method's return value.
5033 * libspi/component.c:
5034 Added implementations for these methods.
5036 * cspi/spi_component.c:
5038 Added cspi binding methods for above,
5039 AccessibleComponent_getLayer() and
5040 AccessibleComponent_getMDIZOrder().
5041 Added cspi enum 'AccessibleComponentLayer'.
5043 * docs/reference/cspi/at-spi-cspi-sections.txt:
5044 Added above methods to docs.
5048 Changed typedef for 'boolean' type (and all references to it) to
5049 SPIBoolean, to avoid keyword clashes with C++.
5052 Changed usages of 'boolean' to SPIBoolean.
5054 * test/keysynth-demo.c:
5055 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5056 app), except where SPIBoolean is required by the callbacks API.
5058 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5060 * cspi/spi_registry.c:
5061 Removed obsolete X event loop for passive keygrabs (which now
5064 * registryd/registryd.c:
5065 Removed unnecessary call to gdk_init() [cruft]. This also allows
5066 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5069 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5071 * docs/reference/cspi:
5072 Included docs for SPI_freeString in generated documentation.
5075 Renamed spi_freeString to SPI_freeString, for consistency. Added
5076 documentation for this function.
5079 Renamed spi_freeString to SPI_freeString, for consistency.
5080 Removed obsolete method declaration string_from_corba_string.
5082 * test/keysynth-demo.c:
5083 Small tweak to comments.
5086 Stopped leaking the strings returned from CSPI.
5088 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5090 Merged Michael's branch (see his ChangeLog entries below).
5092 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5093 bridge is alive, release on exit.
5095 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5096 Fix type check macro.
5099 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5102 Added is_gnome_app static, and method cspi_is_gnome_app(),
5103 so we can call the appropriate shutdown routine at exit in SPI_exit.
5105 * cspi/spi_main.c (cspi_object_ref):
5106 Duplicate the corba object passed in, since we're keeping it around.
5108 * cspi/SPI_exit.c, cspi_cleanup:
5109 Moved the releasing of the live refs to its own function, so we
5110 can put it in g_atexit (). Call the appropriate shutdown API
5111 depending on whethe calling client is a gnome app or not
5112 (bonobo_main_quit or CORBA_ORB_shutdown).
5114 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5115 Unref the listener when this method is called, after
5116 deregistration. Updated the API docs to note this behavior.
5118 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5119 Bugfixes: Ref the bonobo object when returning a parent or child
5120 reference, or an AccessibleRelation. Generally made sure
5121 BonoboObject refcount is incremented whenever we return an
5124 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5125 Fixed typo/bug in signal declaration.
5127 * libspi/accessibleeventlistener.h:
5130 * libspi/application.c (spi_application_new):
5131 Fixed leak in initialization.
5134 Remembered to increment bonobo-object refcount when returning
5135 children (applications) from desktop object.
5136 Added (empty) finalize method.
5138 * libspi/deviceeventcontroller.c:
5139 Hold a ref to listeners inside DEControllerKeyListeners.
5140 Added dec_key_listener_free() method. Use prepend instead of
5141 append in key_listener list. Fixed some refcount madness and
5142 leaks in the listener registration/deregistration - deregistration
5143 now calls dec_key_listener_free() on listeners, and on the
5144 temporarily constructed dec_key_listener() used to perform the search/match.
5146 * libspi/hypertext.c (spi_hypertest_finalize):
5147 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5148 class. Also fixed spi_hypertext_interface_new() and
5149 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5151 * libspi/hypertext.h:
5152 Removed pointless and duplicate AtkObject pointer from
5155 * libspi/keystrokelistener.c:
5156 Fixed incorrect type of keystroke_listener_parent_class,
5157 renamed keystroke_listener_object_finalize to
5158 spi_keystroke_listener_object_finalize.
5159 Fixed typo in signal declaration
5160 (spi_keystroke_listener_class_init).
5162 * libspi/registry.c:
5163 Added funcsions spi_listener_struct_new() and
5164 spi_listener_struct_free() to help with memory management issues.
5165 We also now use these methods instead of gnew + poking stuff into
5166 the struct, and to decrement listener counts/free the listeners
5167 when deregistering them.
5168 Fix more refcount bugs in getDesktop() and
5169 getDeviceEventController().
5172 De-ref the desktop after enumerating the applications. Explicitly
5173 decrement the refcounts on the created listeners on exit (using
5174 _unref for keystroke listeners, and via the
5175 deregisterGlobalEventListenerAll command for other event
5178 2001-11-27 Michael Meeks <michael@ximian.com>
5180 * cspi/spi-listener.h: fixup enum.
5182 2001-11-27 Michael Meeks <michael@ximian.com>
5184 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5185 (cspi_keystroke_listener_new): Use the cspi variants.
5187 2001-11-26 Michael Meeks <michael@ximian.com>
5189 * test/keysynth-demo.c: fix 2 compile warnings, missing
5192 * test/simple-at.c (report_focussed_accessible),
5193 (report_focus_event, report_button_press),
5194 (check_property_change, is_command_key),
5195 (report_ordinary_key_event, report_command_key_event): upd.
5197 * util/mag_client.h: include pre-requisites.
5199 * libspi/accessibleeventlistener.c
5200 (spi_event_listener_object_finalize): free any lingering
5203 * libspi/keystrokelistener.c
5204 (keystroke_listener_object_finalize): ditto.
5206 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5207 callbacks, with cspi types.
5209 * cspi/spi_event.c (createAccessibleEventListener): chain to
5210 (AccessibleEventListener_addCallback): here.
5211 (createAccessibleKeystrokeListener): chain to
5212 (AccessibleKeystrokeListener_addCallback): here.
5214 * libspi/keystrokelistener.c
5215 (spi_keystroke_listener_class_init): add signal.
5216 (impl_key_event): emit the event.
5217 (boolean_handled_accumulator): impl.
5218 (marshal_BOOLEAN__POINTER): add, gack.
5220 * libspi/accessibleeventlistener.c
5221 (spi_event_listener_class_init): add signal.
5222 (impl_accessible_event_notify_event): emit the signal &
5223 make the loop efficient.
5224 (spi_event_listener_add_callback): prepend the callback.
5226 * libspi/accessibleeventlistener.h: add an 'event' signal,
5227 decl type on callback.
5229 * libspi/keystrokelistener.h: ditto.
5231 * cspi/spi-listener.h: make methods typesafe and
5232 make them use the new event typedefs.
5234 * test/simple-at.c (report_focussed_accessible):
5235 include mag_client.h
5236 Use *(void *)text_interface not the other thing.
5238 * configure.in: add gtk to registryd bits - since we use
5241 * util/magnifier.c: include libbonobo.h
5243 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5245 * test/keysynth-demo.c:
5246 Turned this into a simple scanning keyboard, to demonstrate the
5247 use of g_timeout_add () as a means of creating timers for
5248 scanning, and the use of GtkStyle for visually indicating when
5249 virtual keyboard elements are selected.
5251 keysynth-demo now listens to any keyboard keys with zero-valued
5252 keycodes (i.e. 'unused' keys) and interprets them as
5255 Reworked the shiftlatch code so that shift-down state isn't held
5256 for long periods (it's only synthesized immediately prior to
5257 the keysynth event it's modifying). Note that shiftlatch in this
5258 demo is a convenience, not intended to take the place of AccessX
5259 which is the better choice for getting 'sticky' modifier keys.
5261 * libspi/deviceeventcontroller.c:
5262 * at-bridge/bridge.c:
5263 * cspi/spi_registry.c:
5264 Removed some debug print stuff, and put other verbosity in #ifdef
5269 Implemented some more of the magnifier IDL for the simple
5270 magnifier: namely, getZoomRegionParams.
5271 Added mag_x and mag_y members to MagnifierData struct, aid of this
5273 Added GtkWindow::realize signal handler to magnifier, to keep it
5274 from receiving keyboard focus from the WM.
5276 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5278 * cspi/spi-private.h: my guess at what michael forgot
5279 before he ran off to NZ :-)
5281 2001-11-23 Michael Meeks <michael@ximian.com>
5283 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5284 comment out non existant method invoke so we link.
5286 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5287 use bonobo_exception_get_text for more friendly warnings.
5289 * cspi/spi.c (Obj_Add): move into spi_main & rename
5290 spi_object_add; kill spi.c
5292 * cspi/spi_registry.c
5293 (deregisterGlobalEventListener),
5294 (deregisterGlobalEventListenerAll),
5295 (registerGlobalEventListener): fix exception leaks.
5297 * cspi/spi_main.c (spi_exception): impl. helper, so we
5298 don't leak exceptions.
5300 * cspi/spi_selection.c
5301 (AccessibleSelection_deselectSelectedChild): return the
5304 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5305 (spi_registry): ditto.
5306 (SPI_init): guard against double inits.
5308 * cspi/*.c: use spi_ev (), and spi_registry () where
5309 appropriate - a temporary hack until we have something
5310 better. Use spi_object_add
5312 2001-11-22 Michael Meeks <michael@ximian.com>
5314 * cspi/Makefile.am: re organise, install the headers.
5316 * cspi/*.h: add G_BEGIN/END_DECLS
5318 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5321 Added non-preemptive keylistener for key events with no modifiers
5322 and shift-only modifier.
5324 * libspi/keystrokelistener.c:
5325 Removed some verbose diagnostics printout.
5327 * cspi/spi_registry.c:
5328 Fixed a bug that caused all key listeners to be registered as
5331 * libspi/deviceeventcontroller.c:
5332 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5333 for non-preemptive key masks.
5336 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5338 * docs/reference/idl/at-spi-idl-docs.sgml:
5339 * docs/reference/idl/at-spi-idl-sections.txt:
5340 * docs/reference/idl/at-spi-idl-overrides.txt:
5341 Added missing files.
5343 * docs/reference/Makefile.am:
5344 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5345 to scan the IDL files :-(
5350 Added .cvsignore files.
5352 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5354 * libspi/deviceeventcontroller.c:
5355 * libspi/keystrokelistener.c:
5357 * cspi/spi_registry.c:
5358 Added filters for KeySets, KeyEventSeq, and event types to key
5359 event dispatching, so listeners should only receive those events
5360 that they requested :-)
5362 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5367 * docs/reference:Makefile.am:
5368 * docs/reference/cspi:
5369 * docs/reference/cspi:Makefile.am:
5370 * docs/reference/cspi:tmpl:
5371 * docs/reference/cspi:tmpl:*.sgml:
5372 * docs/reference/idl:
5373 * docs/reference/idl:Makefile.am:
5374 * docs/reference/idl:at-spi-idl-sections.txt:
5375 * docs/reference/idl:at-spi-idl-docs.sgml:
5376 * docs/reference/idl:tmpl:
5377 * docs/reference/idl:tmpl:*.sgml:
5379 Restructured docs directory to allow separate 'reference' docs
5380 section, and forked idl and cspi docs. Added the sgml template
5381 files to CVS. Added the first sections/structural sgml for the
5384 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5386 * configure.in, libspi/Makefile.am: find libXtst.
5388 2001-11-21 Michael Meeks <michael@ximian.com>
5390 * test/accessx-gui.c: s/spi_value/value/ - doh.
5392 * libspi/base.[ch]: add.
5394 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5396 * idl/Accessible.idl:
5397 * idl/Application.idl:
5400 Started gtk-doc cleanup on IDL.
5402 * libspi/deviceeventcontroller.c:
5403 Added and connected non-preemptive key notification from the
5404 toolkits (in addition to the pre-emptive support from XServer
5405 which we had before, but which causes 'focus flashing'). Filters
5406 are presently limited to key modifiers and global/non-global,
5407 KeySets are presently ignored, as are KeyEvent masks.
5409 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5410 structs into the persistant structure rather than just storing
5411 pointers to things that might not persist across servant
5414 The XGrabKey call now does async keygrabs, because synchronous
5415 ones were deadlocking with GDK_event code in a very nasty way.
5417 Added boolean to internal method notify_keylisteners, to indicate
5418 whether the event came from the 'toolkit source' or the 'global
5419 (XServer) source' - this is used in the notification process to
5420 determine which listeners to send the event to.
5422 deviceeventcontroller.c is now warning-free.
5424 * libspi/registry.c:
5425 Fixed regression in application de-registration.
5426 Also fixed some really brain-dead weirdness having to do with
5427 event dispatching - event structs are now duplicated before being
5428 re-marshalled in the dispatch to listeners. This also fixes a
5429 Solaris build problem.
5432 2001-11-20 Michael Meeks <michael@ximian.com>
5435 (impl_accessibility_registry_deregister_global_event_listener):
5438 * libspi/deviceeventcontroller.c
5439 (spi_device_event_controller_check_key_event): return
5440 FALSE on no virtual method.
5442 * libspi/*..h: make includes work on a correctly pathed install.
5444 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5446 * libspi/application.h: kill unused ( and whacked out )
5447 gboolean *spi_application_set_id (AtkObject *app, long id);
5449 2001-11-20 Michael Meeks <michael@ximian.com>
5451 * libspi/*.[ch]: further convert to bonobo's type func
5452 macros, remove redundnant casts etc.
5454 * libspi/text.c s/accessibility_text/spi_text/g,
5455 re-order to de-cruft.
5457 * libspi/hypertext.c: re-order to kill a huge slew
5458 of redundant forward decls.
5460 * libspi/relation.c: ditto.
5462 * libspi/image.c: ditto.
5464 * */.cvsignore: update
5466 2001-11-20 Michael Meeks <michael@ximian.com>
5468 * libspi/deviceeventcontroller.c
5469 (_controller_register_with_devices): use g_getenv,
5470 kill stdlib.h include.
5472 * libspi/keystrokelistener.c
5473 (spi_keystroke_listener_get_type): kill
5474 (spi_keystroke_listener_class_init),
5475 (spi_keystroke_listener_init): rename to this.
5477 * libspi/text.c (impl_getAttributes): fix warning / bug.
5479 * libspi/*.[ch]: more headers, includes and over commenting.
5481 2001-11-20 Michael Meeks <michael@ximian.com>
5483 * libspi/*.[ch]: fixup headers, includes and over commenting.
5485 * libspi/image.c (impl__get_imageDescription): const
5486 correctness warning fix. remove redundant casting.
5488 * libspi/table.c (impl_getRowDescription): ditto.
5489 (impl_getColumnDescription): ditto.
5491 * libspi/libspi.h: add.
5493 2001-11-19 Michael Meeks <michael@ximian.com>
5495 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5497 * libspi/component.c (accessibility_component_get_type):
5498 rename to (spi_component_get_type): and macroify.
5499 (accessibility_component_init): rename to
5500 (spi_component_init): this
5501 (accessibility_component_class_init): rename to
5502 (spi_component_class_init): this
5504 * libspi/action.c (spi_action_get_type): kill, use the macro.
5506 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5509 * libspi/application.c (spi_application_object_event_listener),
5510 (impl_accessibility_application_register_object_event_listener):
5511 warning fixes / const understanding updates.
5513 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5516 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5518 * libspi/spi_accessible.c: Added docs and C bindings for
5519 AccessibleStateSet. (No implementations yet). Documentation
5520 coverage for C bindings now 100%. Made docs for event listeners
5525 boolean notifyListenersSync (in DeviceEventListener listener,
5526 in DeviceEvent event);
5528 oneway void notifyListenersAsync (in DeviceEventListener listener,
5529 in DeviceEvent event);
5531 Added DeviceEventListener and DeviceEvent structs (may deprecate
5532 KeyStroke and KeystrokeListener in favor of this generic
5533 event/listener framework for devices).
5535 * libspi/deviceeventcontroller.c:
5537 Changed some key listener code to take masks, etc., and paved the
5538 way for integration of toolkit/non-preemptive key events. Changed
5539 signatures of some internal methods.
5541 * at-bridge/bridge.c:
5542 Fixed regression connecting to interface signals, apparently
5543 caused by GTK+ changes.
5545 Added an internal bridge_state_listener to deal with
5546 property-change:accessible-state signals.
5548 Changed the key_listeners GList to store structs (including masks,
5549 etc.) instead of just CORBA_Objects (required for full
5550 implementation of key listener API).
5552 Connected the bridge to all currently supported Atk signals.
5553 Events now supported:
5554 object:property-change
5555 object:property-change:accessible-name
5556 object:property-change:accessible-state
5557 object:property-change:accessible-description
5558 object:property-change:accessible-parent
5559 object:property-change:accessible-value
5560 object:property-change:accessible-role
5561 object:property-change:accessible-table-caption
5562 object:property-change:accessible-table-column-description
5563 object:property-change:accessible-table-column-header
5564 object:property-change:accessible-table-row-description
5565 object:property-change:accessible-table-row-header
5566 object:property-change:accessible-table-summary
5567 object:children-changed
5568 object:visible-data-changed
5569 object:selection-changed
5570 object:text-selection-changed
5572 object:text-caret-moved
5574 object:row-reordered
5576 object:column-inserted
5577 object:column-reordered
5578 object:column-deleted
5579 object:model-changed
5581 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5583 * libspi/hyperlink.c,h:
5584 Fixed some broken stuff in hyperlink.
5586 * libspi/relation.h:
5587 * libspi/relation.c:
5588 * cspi/spi_accessible.c:
5589 Initial implementations of AccessibleRelation methods, and docs.
5591 * libspi/accessible.c:
5592 Fixed a bug that caused SEGV if an accessible
5593 object's description is NULL, and a client
5594 requests it. An empty string is now returned.
5596 * cspi/spi_editabletext.c:
5597 * cspi/spi_hypertext.c:
5599 * cspi/spi_hyperlink.c:
5603 Doc coverage now 95%.
5605 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5607 One last namespacing revision:
5608 * libspi/accessibleeventlistener.[ch]:
5609 Renamed SpiAccessibleEventListener to SpiEventListener,
5610 (no need for two namespaces ;-)
5612 And lots of documentation fixes:
5614 * docs/at-spi-docs.sgml:
5615 Fixed 'underscore vs. hyphen' bug that was preventing
5616 the gtk-doc API docs from being automatically generated.
5619 * cspi/spi-listener.h
5621 * cspi/spi_accessible.c
5623 * cspi/spi_application.c
5624 * cspi/spi_component.c
5625 * cspi/spi_editabletext.c
5627 * cspi/spi_hypertext.c
5629 * cspi/spi_registry.c
5630 * cspi/spi_selection.c
5634 * docs/at-spi-docs.sgml
5635 * docs/at-spi-sections.txt
5637 Added and fixed up gtk-doc documentation in cspi.
5639 Interfaces now (fully) documented (subject to revision and enhancement):
5641 Event Listener Support
5643 AccessibleApplication
5647 AccessibleEditableText
5654 AccessibleRelationSet
5659 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5661 * at-bridge/bridge.c:
5662 Initial work for toolkit-level key snooper connection by bridge.
5667 New typedefs and fixes to support new namespacing, and cleaner
5668 separation of cspi bindings from libspi bonobo implementation.
5669 Removed inconsistent and extraneous Spi* namespace prefix that
5670 had crept into cspi headers.
5671 Lots of comment fixes that sed had missed.
5673 * cspi/spi-roletypes.h:
5674 * cspi/spi-statetypes.h:
5675 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5676 to AccessibleRoleType.
5678 * libspi/accessibleeventlistener.h:
5679 Fixed minor namespacing weirdness.
5681 * libspi/deviceeventcontroller.c:
5682 Reordered some internal API for device listeners.
5683 Changed the key registry final boolean to 'is_system_global'
5684 rather than 'is_synchronous', which is more descriptive of its
5686 Added spi_device_event_controller_new().
5687 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5689 * libspi/keystrokelistener.[ch]:
5690 Namespaced KeystrokeListener to SpiKeystrokeListener.
5691 Changed uses of keymasks to use SPI_ prefix, and did other
5694 * libspi/keymasks.h:
5695 Namespaced keymask constants with SPI_ prefix.
5697 * libspi/registry.c:
5698 Some warning fixes, and knock-on fixes from namespace changes.
5701 Added rules for accessx-gui test program.
5703 * test/accessx-gui.c:
5704 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5705 utility. It doesn't actually use at-spi, but it's still cool and
5708 * test/keysynth-demo.c:
5712 Fixes so that these test clients work properly with the namespaced
5713 libraries. (Incompletely tested for technical reasons, fixes may follow)
5716 2001-11-13 Michael Meeks <michael@ximian.com>
5718 * libspi/application.c
5719 (impl_accessibility_application_get_version),
5720 (impl_accessibility_application_get_toolkit_name):
5722 (impl_accessibility_application_set_id),
5723 (impl_accessibility_application_get_id): remove
5724 redundant casting code.
5726 * libspi/action.c (impl_getDescription): fix warnings.
5728 * libspi/accessible.c
5729 (impl_accessibility_accessible_get_parent),
5730 (impl_accessibility_accessible_get_child_at_index),
5731 (impl_accessibility_accessible_get_state),
5732 (impl_accessibility_accessible_get_relation_set):
5733 warning fixes & include action.h
5735 2001-11-13 Michael Meeks <michael@ximian.com>
5737 * *.[ch] fix bits I screwed up:
5739 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5740 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5742 2001-11-13 Michael Meeks <michael@ximian.com>
5744 * *.[ch] Namespace libspi into spi_ and Spi.
5746 2001-13-11 Michael Meeks <michael@ximian.com>
5748 * Makefile.am: dist & install at-spi-1.0.pc
5750 * libspi/Makefile.am: install into at-spi-1.0
5752 * idl/Makefile.am (idldir): install into at-spi-1.0
5754 * at-spi-1.0.pc.in: add.
5756 * configure.in: build it.
5758 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5760 * test/keysynth-demo.c:
5761 Use a 'realize' signal-handler to set the WM properties for
5762 the virtual keyboard, rather than making it a "POPUP" type
5763 override-redirect window (thanks to anders carlsson for that
5766 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5769 * test/keysynth-demo.c:
5770 Added new test of key synthesis, which creates a simple
5771 (mouse-operated) onscreen keyboard. It inserts key events into
5772 the currently-focused window, thus it does not grab keyboard focus
5775 * cspi/spi_registry.c:
5776 Added C binding for AT-SPI generateKeyEvent.
5778 * libspi/deviceeventcontroller.c:
5779 Added call to XFilterEvent so that key listener works with XIM (we
5780 hope). Added event_synth_type to generateKeyEvent, so that we can
5781 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5782 synthesize a press/release pair for KeySyms.
5784 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5786 * libspi/Makefile.am:
5787 * registryd/Makefile.am:
5788 (temporary) hack to include libXtst in libspi and registryd.
5789 (Needed for keystroke synthesis, see below).
5792 Improved API for registerKeystrokeListener, in accordance with
5793 discussions with Gnopernicus team and X server research.
5795 * libspi/registry.c:
5796 * libspi/deviceeventcontroller.c:
5797 * libspi/accessible.c:
5798 * libspi/keystrokelistener.c:
5799 Changes and fixes to support keylisteners for potentially
5800 consumed key events (that is, 'passive grabs').
5801 Added implementation for generateKeyEvent() [untested].
5804 Changes to registerKeystrokeListener() API, as above.
5805 Added deregisterGlobalEventListenerAll(), and
5806 deregisterKeystrokeListener(), which are needed for clean exit of
5808 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5809 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5811 * cspi/spi_registry.c:
5812 Added implementations of function prototypes mentioned above.
5814 * registryd/registryd.c:
5815 Added the key listener event source as a g_timeout(), to allow
5816 receipt of key events that are not caught by GDK (since GDK
5817 doesn't support passive keygrabs, this was necessary).
5820 Changed to attach a keylistener to 'Alt' keys, and
5821 respond to the following keycommands: Alt-M (toggle magnifier);
5822 Alt-F (toggle speech); Alt-Q (quit).
5823 Added an exit routine to deregister the listeners, and a key
5824 listener that prints some key info to the console when a key
5825 matches the listener mask (and is thus received by the listener).
5827 * util/idl/Magnifier.idl:
5828 Changes to magnifier API to support multiple zoom regions,
5829 non-uniform scaling in x and y, markDirty, and a host of other
5830 features that would be useful to magnification.
5833 * util/mag_client.c:
5834 * util/mag_client.h:
5835 * util/mag_control.c:
5837 Source code changes to support the above IDL changes.
5840 As above, and also changes to use a (slower) generic conversion
5841 path for colormap conversions, since the fast RGB conversions have been
5842 reported to fail for 16-bit displays.
5844 2001-10-26 Michael Meeks <michael@ximian.com>
5846 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5848 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5850 * at-bridge/Makefile.am: fix LDFLAGS.
5852 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5854 * at-bridge/bridge.c:
5855 Re-worked listeners for toolkit events, now we have signal
5856 and property listeners. Added a private method
5857 register_atk_event_listeners(), which registers with the
5858 various atk and gtk signals we need to monitor in order to emit
5860 Added emission hook for AtkObject:property-change events, to
5861 support the 'property listeners'.
5862 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5865 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5866 which emit warnings and exit, respectively, if CORBA errors occur
5867 during remote calls, and we now use these methods to check most of
5868 our CORBA calls in the C bindings.
5870 * cspi/spi_accessible.c:
5871 Changed AccessibleSelection_refSelectedChild() to
5872 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5873 now increment refcounts.
5875 * cspi/spi_component.c:
5876 Fixed some long pointer casts (dangerous!) to pass pointers to
5877 CORBA_longs of the proper type to the CORBA stubs, and copy the
5878 data into the longs that were passed into the C bindings code.
5880 * at-bridge/bridge.c:
5882 * libspi/accessible.c:
5883 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5884 hyperlinks, AtkHyperlink is an object type.
5886 * libspi/application.c:
5887 Added various conversions to and from "generic" event types and
5888 atk-specific types; this is really part of the 'bridge'
5889 implementation but is valid for all AtkObject-based accessibility
5892 * libspi/editabletext.c:
5893 Fixed nasty bug wherein editable text's finalize method was
5894 unref'ing tha AtkObject reference that the text parent class was
5895 about to unref _again_. There was also a nasty inheritance bug
5896 that meant that the AccessibleEditableText class was corrupt.
5898 * libspi/selection.c:
5899 Provided implementations for some selection API that was broken.
5901 * idl/Application.idl:
5902 Added registerObjectEventListener () method.
5905 Fixed a number of return values that were Bonobo_Unknowns from
5906 bonobo_object_corba_objref(), which I
5907 forgot to dup before returning. Changed instances of
5908 bonobo_object_corba_objref (bonobo_object(o)) to
5909 BONOBO_OBJREF(o), for concision and clarity.
5911 2001-10-13 Louise Miller <louise.miller@sun.com>
5913 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5914 idl/Event.idl, idl/Registry.idl
5915 Changed these files to include Bonobo_Unknown.idl instead
5918 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5920 * libspi/component.c libspi/component.h:
5921 Fixed typo. Added assertions for object checks in
5922 AccessibleComponent code.
5924 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5926 * idl/Accessible.idl:
5927 Added 'isEqual (Accessible *object)'
5928 method for Accessible. (Not Yet Implemented).
5931 Changed signature of registerKeystrokeListener() to
5932 take a KeySet and KeyEventSeq so that specific keys and event
5933 types could be requested for monitoring, and added a flag
5934 is_synchronous so that either synchronous or asynchronous
5935 notification could be requested. (However this is not all
5936 implemented yet). This also meant adding two new typedefs,
5937 KeyEventSeq and KeySet.
5940 Added two new relations, RELATION_TOOLTIP_FOR and
5941 RELATION_LEAFNODE_OF.
5944 Added new state, STATE_HAS_TOOLTIP.
5946 * libspi/text.c, editabletext.c:
5947 Added new assertions to all casts of bonobo-objects from
5948 CORBA servants, to prevent Text API calls on non-text objects.
5949 Changed suspect casts of int-pointer types, so that we
5950 always send a valid CORBA_long pointer to the CORBA APIs that use
5951 in/out long parameters. We then have to copy from the CORBA_long
5952 into the regular long or int for return to the C bindings, or
5953 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5956 * libspi/deviceeventcontroller.c:
5957 Cleaned these sources up.
5959 Changed return type for getCharacterAtOffset to
5960 CORBA_unsigned_long, to allow for 32-bit characters.
5963 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5967 Fixed 'make dist' so that distro compiles...
5968 * libspi/keymasks.h:
5970 * cspi/spi-listener.c:
5971 KeystrokeListenerCB now returns a boolean.
5973 Added KeyEventType struct, and KeyStroke.
5974 Also added createKeystrokeListener(),
5975 KeystrokeListener_addCallback(),
5976 KeystrokeListener_removeCallback(), and added a keymask to
5977 registerKeystrokeListener().
5978 * cspi/spi_accessible.c:
5979 Changed numerous return types for interfaces from
5980 AccessibleComponent to Accessible<InterfaceName>; this was
5981 probably a cut-and-paste error.
5983 Implementations of new KeystrokeListener api (from spi.h,
5986 Changes to key modifier mapping.
5987 Created ControllerEventMask struct.
5988 Made DeviceEventController derive from Bonobo::Unknown.
5990 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5991 * libspi/deviceeventcontroller.c:
5992 Added a number of new internal (private) methods.
5993 * libspi/editabletext.c:
5994 * libspi/editabletext.h:
5995 Fixed a number of bugs related to the fact that
5996 editabletext inherits from text. Fixed the EditableText struct,
5997 the init() call, and use correct casts when calling Text methods
5998 from an EditableText object. Removed (duplicate) atko from the
5999 EditableText structure, we use the one in the parent Text
6000 structure via the casts mentioned above.
6001 * libspi/keystrokelistener.[ch]:
6002 * libspi/registry.c:
6003 Changes in support of keyboard handling (above).
6005 Keyboard handling, though partly functional, is still not
6006 recommended for at-spi client use as there is considerable
6007 work yet to be done.
6010 Changed some places where pointers to various int types
6011 are cast to be pointers to CORBA_long types and vice-versa:
6012 pointer casting is not safe so we pass pointers of the correct
6013 types and then cast the result before putting it into the target
6016 * libspi/text.h: minor typos corrected.
6018 We now speak not only the name of a Text element, but the
6019 first sentence of its content, when it receives focus.
6020 I also changed the text compression to 75% from 50%.
6021 * util/Accessibility_Util.server.in:
6022 Changed the default magnifier type to be a 3x vertical
6023 splitscreen magnifier (was previously a 2x horizontal one).
6025 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6027 * libspi/keystrokelistener.h:
6028 * libspi/keystrokelistener.c:
6029 Initial functional implementations of KeystrokeListener.
6032 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6034 Fixed string handling for NULL strings in libspi.
6035 Added spi_freeString to free strings returned by C bindings.
6037 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6039 * libspi/keystrokelistener.h:
6040 * libspi/keystrokelistener.c:
6041 Began (no-op) implementations of KeystrokeListener
6043 * libspi/deviceeventcontroller.c:
6044 * libspi/deviceeventcontroller.h:
6045 Began creating implementations of DeviceEventController,
6046 to handle keystroke and mouse event listening and
6048 * libspi/accessible.c:
6049 Stubbed-in the implementations for
6050 Accessibility_Accessible_getState and
6051 Accessibility_Accessible_getRelationSet.
6052 * libspi/registry.c:
6053 Improved de-registration process and fixed some bugs,
6054 deregistration now works correctly.
6056 Added initialization of applications list (to NULL).
6058 Reduced speech compression from 0.5 to 0.7, for demo.
6059 Changed call to gdk_window_set_decorations()
6060 to gtk_window_set_decorated().
6061 * at-bridge/bridge.c:
6062 Bridge now deregisters when app exits, via
6063 registration of a cleanup function
6064 with the g_atexit() call.
6065 Required making 'app' static, renamed 'this_app'.
6066 Fixed broken use of bonobo_init, passing argv wrongly.
6068 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6072 Created a new directory for
6073 accessibility-related utilities, primarily for
6074 testing and demo purposes, but with possible
6081 Onscreen magnifier utility that
6082 is implemented as a bonobo service.
6084 * util/mag_client.c:
6085 * util/mag_client.h:
6086 Client-side support (simple C bindings)
6087 for Magnification service
6089 * util/mag_control.c:
6090 Client program example for
6091 Magnification service
6093 * util/Accessibility_Magnifier.server.in:
6094 Bonobo-activation file for the
6095 Magnification service.
6098 * util/idl/Magnifier.idl:
6099 IDL defining the bonobo Magnification
6103 Modifications to use the bonobo-activated magnifier
6104 above, in place of trying to connect to an existing
6105 magnifier that uses socket-listening IPC.
6107 If env variable MAGNIFIER is set, a magnifier service
6108 will be started if one does not exist.
6110 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6112 * at-bridge/bridge.c:
6113 applied patch from Marc to build and run
6114 against new glib and gtk+ (seemed like a change
6115 to bonobo_init signature was made ?)
6117 made festival-server support turned off by default.
6118 Added support for a simple magnifier (off by default)
6119 which will be added to a 'util' directory later.
6120 * at-bridge/Makefile.am:
6121 Changed "application.h" header from a 'source'
6122 to a 'dependency' of libat-bridge.
6124 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6133 Added interface implementation c files to list of
6134 includes so they are included in libcspi.
6137 Changed prototype of AccessibleAction_doAction to return a
6139 Changed prototype of AccessibleTable_getCaption to
6140 return an Accessible.
6141 Changed prototype of AccessibleTable_getSelectedRows
6142 and AccessibleTable_getSelectedColumns to
6143 return a long (returns the number of selected rows
6144 or columns respectively).
6145 Changed name of AccessibleText_refRunAttributes to
6146 AccessibleText_getAttributes.
6147 Changed prototype of AccessibleText_getCharacterExtents to
6148 return a void rather than a boolean.
6149 Added support for a AccessibleCoordType parameter
6150 specifying what type of coordinates are desired.
6151 Added an AccessibleCordType parameter to
6152 AccessibleText_getPointAtOffset.
6154 * cspi/spi_accessible.c:
6155 Added code to return the outstanding interfaces from
6156 Accessible_queryInterface.
6158 * cspi/spi_action.c:
6160 Corrected call to getNActions to call the c binding
6163 * cspi/spi_editabletext.c:
6165 Changed name from setRunAttributes to setAttributes.
6167 * cspi/spi_hyperlink.c:
6169 Changed call to getNAnchors to correctly call the c
6170 binding for an attribute.
6172 * cspi/spi_hypertext.c:
6174 Changed getImageDescription to correctly call the
6175 binding for an attribute.
6177 * cspi/spi_selection.c:
6178 Changed getNSelectedChildren to correctly call the c
6179 binding for the attribute.
6180 Changed refSelectedChild to getSelectedChild.
6184 Changed getCaption to return an Accessible.
6185 Fixed calls which retrieve attributes.
6186 Changed refAt to getAccessibleAt.
6187 Changed getNSelectedRows and getNSelectedColumns to
6191 Changed getCharacterExtents and getPointAtOffset to accept an
6192 AccessibleCoordType.
6194 Changed calls which retrieve attributes.
6195 Changed refRunAttributes to getAttributes.
6200 * idl/Hyperlink.idl:
6201 Changed n_anchors attribute to nAnchors to keep naming
6202 convention consistent.
6205 Made Table inherit from Bonobo::Unknown.
6206 Added nSelectedColumns and nSelectedRows attributes.
6209 Made Value inherit from Bonobo::Unknown.
6211 * libspi/hyperlink.c:
6212 Change for nAnchors attributte name change.
6214 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6222 Added interface implementation c files to list of
6223 includes so they are included in libcspi.
6226 Changed prototype of AccessibleAction_doAction to return a
6228 Changed prototype of AccessibleTable_getCaption to
6229 return an Accessible.
6230 Changed prototype of AccessibleTable_getSelectedRows
6231 and AccessibleTable_getSelectedColumns to
6232 return a long (returns the number of selected rows
6233 or columns respectively).
6234 Changed name of AccessibleText_refRunAttributes to
6235 AccessibleText_getAttributes.
6236 Changed prototype of AccessibleText_getCharacterExtents to
6237 return a void rather than a boolean.
6238 Added support for a AccessibleCoordType parameter
6239 specifying what type of coordinates are desired.
6240 Added an AccessibleCordType parameter to
6241 AccessibleText_getPointAtOffset.
6243 * cspi/spi_accessible.c:
6244 Added code to return the outstanding interfaces from
6245 Accessible_queryInterface.
6247 * cspi/spi_action.c:
6249 Corrected call to getNActions to call the c binding
6252 * cspi/spi_editabletext.c:
6254 Changed name from setRunAttributes to setAttributes.
6256 * cspi/spi_hyperlink.c:
6258 Changed call to getNAnchors to correctly call the c
6259 binding for an attribute.
6261 * cspi/spi_hypertext.c:
6263 Changed getImageDescription to correctly call the
6264 binding for an attribute.
6266 * cspi/spi_selection.c:
6267 Changed getNSelectedChildren to correctly call the c
6268 binding for the attribute.
6269 Changed refSelectedChild to getSelectedChild.
6273 Changed getCaption to return an Accessible.
6274 Fixed calls which retrieve attributes.
6275 Changed refAt to getAccessibleAt.
6276 Changed getNSelectedRows and getNSelectedColumns to
6280 Changed getCharacterExtents and getPointAtOffset to accept an
6281 AccessibleCoordType.
6283 Changed calls which retrieve attributes.
6284 Changed refRunAttributes to getAttributes.
6289 * idl/Hyperlink.idl:
6290 Changed n_anchors attribute to nAnchors to keep naming
6291 convention consistent.
6294 Made Table inherit from Bonobo::Unknown.
6295 Added nSelectedColumns and nSelectedRows attributes.
6298 Made Value inherit from Bonobo::Unknown.
6300 * libspi/hyperlink.c:
6301 Change for nAnchors attributte name change.
6304 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6306 implementations-- made server implementations own AtkObject pointers
6307 rather than their respective AtkInterrface pointers to fix
6308 refcounting. AtkHyperlink is still broken.
6310 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6311 * cspi/spi_accessible.c:
6312 Added method Accessible_Role_getName(),
6313 and requisite string array (role_names).
6314 Added conversion string_from_corba_strin() call
6315 to Accessible_getName and _getDescription.
6316 * libspi/accessible.c:
6317 Added implementation for Accessible_getRole()
6319 Added festival support, used if environment variable
6322 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6324 * at-bridge/bridge.c:
6325 Now allocate Accessibility_Event using
6326 Accessibility_Event__alloc() instead of g_new0().
6327 * libspi/accessibleeventlistener.c:
6328 Initialize AccessibleEventListener->callbacks to NULL.
6329 Fixed accessible__event_listener_init() param, changed to
6330 "AccessibleEventListener *" type.
6331 Changed a bonobo_object_release_unref() call to
6332 Accessibility_Accessible_unref().
6333 * libspi/listener.c:
6334 Changed Bonobo_Unknown_unref to (equivalent)
6335 Accessibility_Accessible_unref.
6336 * libspi/registry.c:
6337 Changed bonobo_object_release_unref to
6338 Accessibility_Accessible_unref.
6340 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6343 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6344 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6345 spi-util.c spi-util.h
6346 Implementations for C bindings to remaining accessibility
6349 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6352 changed return value of Action from void to boolean to
6353 bring in line with ATK.
6356 Changed getText funcions to return "out" start and end offsets.
6357 Changed getAttributes to take and offset and return the start
6358 and end offset of the attribute run.
6359 Changed getOffsetAtPoint and getCharacterExtents to take an
6360 enum describing whether coordinates are window or screen.
6363 libspi/action.c libspi/action.h libspi/editabletext.c
6364 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6365 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6366 libspi/image.h libspi/selection.c libspi/selection.h
6367 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6368 libspi/value.c libspi/value.h
6369 Added server implementations for outstanding ATK interfaces
6370 not yet implemented.
6372 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6375 Added (missing) getName() method.
6376 Made nActions an attribute.
6377 * idl/EditableText.idl:
6378 Changed order of params in setAttributes.
6379 * idl/Hyperlink.idl:
6380 Removed getAnchor, added getURI.
6382 Changed attributes to methods, for efficiency
6383 (so that getting extents can be done in one call)
6384 * idl/Selection.idl:
6385 Changed nSelectedChildren to attribute, and re-indented.
6386 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6388 * idl/Text.idl: reformatted to match our coding style.
6389 (temporarily?) removed getRowColumnAtOffset().
6390 Changed text selection API to support multi-select and
6391 non-contiguous selections, as in ATK.
6392 * idl/Value.idl: changed some methods to attributes.
6394 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6396 * libspi/listener.c(impl_notify_event):
6397 BonoboUnkown_unref the source instead
6398 of bonobo_object_release_unref - the ORB
6399 handles the releasing.
6401 * configure.in: require ORBit-2.3.94 for
6404 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6406 Tagged CVS repository 'EA_1_0'.
6407 * README.EARLY_ACCESS:
6408 Alphabetized acknowledgements list, and
6410 Listed some known dependencies of at-spi.
6412 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6414 * docs/at-spi-docs.sgml:
6415 * docs/at-spi-sections.txt:
6416 * docs/at-spi-overrides.txt: (Added zero-length file)
6417 Documentation improvements - gtk-doc should build
6418 docs for all implemented C bindings now.
6421 * cspi/spi.c: (New file)
6422 * cspi/spi_event.c: (New file)
6423 * cspi/spi_registry.c: (New file)
6424 * cspi/spi_accessible.c: (New file)
6425 * cspi/spi_application.c: (New file)
6426 * cspi/spi_component.c: (New file)
6427 Split spi_main.c into six parts, and included them from
6428 "spi.c". This is a bit of a hack, probably temporary,
6429 but required by gtk-doc, apparently.
6431 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6434 * docs/at-spi-docs.sgml:
6435 * docs/at-spi-sections.txt:
6437 Initial checkins/modifications for gtk-doc generation.
6440 Added (missing) interface query methods to Accessible's C binding.
6442 Added GenericInterface type definition.
6444 Added query for AccessibleComponent interface to focus event handler.
6445 Added printout of bounding box for focussed component.
6446 * libspi/component.c:
6447 Added partial implementation for AccessibleComponent to C binding.
6448 * idl/Application.idl:
6449 * libspi/registry.c:
6450 * libspi/listener.c:
6451 * libspi/application.c:
6452 * libspi/application.h:
6453 Changed "ID" attribute type from string to long.
6455 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6459 Made method naming consistent: methods taking object args
6460 start with uppercase, other methods (except those using
6461 acronyms) start with lowercase. Underscores delimit between
6462 object names and method names:
6463 SPI_init() - uppercase since it starts with an acronym.
6464 getDesktopCount () - lowercase start since no object param0.
6465 Accessible_getName() - uppercase object type name, studlyCaps method
6469 Added gtk-doc documentation for all currently implemented
6470 methods in the C bindings API.
6472 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6474 * Makefile.am : changed build order to build test last.
6477 Changed "createEventListener" to "CreateEventListener".
6478 * libspi/accessibleeventlistener.c :
6479 Bugfix for addition of callbacks.
6480 * test/Makefile.am :
6481 * test/simple-at.c :
6482 Added new test that uses the C bindings API.
6484 * libspi/listener.c :
6485 * libspi/registry.c :
6486 * libspi/accessibleeventlistener.c :
6487 * at-bridge/bridge.c :
6488 Renamed member "target" of Accessibility_Event to "source",
6489 which is more descriptive.
6492 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6496 * cspi/Makefile.am :
6497 Added makefile support for at-spi/cspi directory.
6500 * cspi/spi-listener.h : (NEW FILE)
6501 Added support for/use of spi-listener.h.
6503 C bindings now build successfully, with no warnings.
6504 * libspi/accessibleeventlistener.h : (NEW FILE)
6505 * libspi/accessibleeventlistener.c : (NEW FILE)
6506 * libspi/Makefile.am :
6507 Added new object type "AccessibleEventListener"
6508 which inherits from Listener, and allows attachment
6509 of in-process callbacks (so that a client with a listening
6510 object instance can add functionality to the local
6511 implementation, dynamically).
6513 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6515 * libspi/accessible.c:
6516 Add implementation for get_index_in_parent().
6518 Added #include of "spi-roletypes.h", and
6519 added enumerated type AccessibleCoordType.
6520 Added definition for KeystrokeListener (function type).
6523 * cspi/spi-statetypes.h :
6524 * cspi/spi-roletypes.h :
6526 Added these headers, used by spi.h.
6528 Added code (NOTE: not yet built by make).
6530 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6532 * libspi/Makefile.am: generate imodule
6533 at the same time as other idl compiler
6536 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6537 * libspi/registry.c :
6538 * libspi/application.c :
6539 * idl/Application.idl :
6540 Made registration with toolkit an application method,
6541 which is required since each app has its own toolkit static
6542 environment. Thus the bridge must register for
6543 notification of toolkit events from each application in turn.
6544 Toolkit notifications are now successfully registered for, and
6545 sent to the listening at client.
6547 Changed toolkit event string to use hyphens rather than underscores.
6548 * libspi/listener.c :
6549 listner now gives more info in debug mode - it reports the
6550 name of the event received, as well as the name of the source.
6553 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6555 * libspi/registry.c :
6556 added more implementation for toolkit events.
6557 Fixed bug such that toolkit event registrations
6558 (via atk) use the whole event name string, not
6560 Removed a useless call to an ORBit_ method.
6561 * at-bridge/bridge.c :
6562 Removed unused local sbuf[] variable.
6564 We now register for Gtk:GtkWidget:button_press_event
6565 events as well as "focus:" events.
6567 Add some more API from Registry.idl that was missing,
6568 for keystroke listening, keystroke and mouse event
6569 synthesis, and enumeration of accessible desktops.
6571 2001-08-16 Michael Meeks <michael@ximian.com>
6573 * configure.in: use AM_GLIB_GNU_GETTEXT.
6575 * Makefile.am (SUBDIRS): kill intl.
6577 2001-08-15 Michael Meeks <michael@ximian.com>
6579 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6581 * configure.in: upd.
6583 * configure.in: depend on a recent bonobo-activation that
6584 will find our server files ...
6586 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6588 * libspi/accessible.c : accessible_new() :
6589 Now we add the Component interface via bonobo_object_add_interface,
6590 if the contained AtkObject implements AtkComponent.
6591 * libspi/accessible.h : now include "component.h"
6592 * libspi/component.h :
6593 * libspi/component.c : added files - implementation of
6594 bonobo wrapper object for Accessibility/Component
6595 * libspi/listener.c :
6596 Added test code to check for Accessibility/Component:1.0
6597 interface and report whether it is implemented by the
6599 * libspi/registry.c :
6600 Now we check for not only the hash of the whole event
6601 string before relaying the event, we also check the
6602 "minor" event string (without the detail string).
6603 This allows event listeners to be registered against
6604 all events of a certain major+minor type, or just
6605 against a specific major+minor+detail type.
6606 * libspi/accessible.c :
6607 Added implementations for Accessible:get_parent(),
6608 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6609 * libspi/registry.c :
6610 * libspi/listener.c :
6611 Replaced calls to Accessibility_Accessible_ref() and
6612 Accessibility_Accessible_unref() with
6613 calls to bonobo_object_dup_ref() and
6614 bonobo_object_release_unref(), so that the CORBA object
6615 is dup-ed and released when relayed, as well as the bonobo object.
6617 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6619 * libspi/Makefile.am,
6620 registryd/Makefile.am,
6621 at-bridge/Makefile.am.
6622 test/Makefile.am, configure.in:
6623 reverse previous changes.
6625 * /idl/Image.idl: fix typo.
6627 * test/Makefile.am: put DEBUG_FLAGS
6630 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6632 * test/app.c: use argv[0] instead of
6635 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6637 * libspi/Makefile.am,
6638 registryd/Makefile.am,
6639 at-bridge/Makefile.am.
6640 test/Makefile.am, configure.in:
6641 cleanup, replace individual LIBS/CFLAGS with
6642 AT_COMMON_{LIBS|CFLAGS}.
6646 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6648 * configure.in, libspi/Makefile.am:
6649 Change IDL path checking for bonobo-activation
6652 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6654 * registryd/registry.c : separated event listeners to use
6655 3 separate lists (focus, window, toolkit). Began testing
6656 event names against hashes before relaying events.
6657 * test/at.c : now register for events of type "focus:"
6658 * test/app.c : now generate events of type "focus:"
6659 * at-bridge/bridge.c : register with ATK for focus events,
6660 and we now relay those focus events to any "focus:" listeners.
6661 This now works with the bridge as a GTK_MODULE when running test/at.
6662 * libspi/registry.c :
6663 * libspi/listener.c :
6664 now we ref event sources before propagating, and unref on receipt.
6665 * libspi/registry.c :
6666 some changes to internal structs, to support event typestring hashes.
6667 * text/app.c : changed the way the appname is generated.
6668 * cspi : added directory that will hold the C bindings library for
6669 non-CORBA/bonobo-savvy clients.
6670 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6671 * idl/Component.idl : added in parameter to indicate coord system for
6672 geometry-related calls.
6673 * idl/Hyperlink.idl : added readonly n_links attribute
6674 * idl/Image.idl : changed methods to attributes.
6676 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6678 * at-bridge/Makefile.am: link against
6679 ../libspi/libspi.la instead of -lspi.
6681 * at-spi/test/app.c: include
6682 bonobo-activation.h. Use a default appname
6683 if one is not provided.
6685 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6687 * idl/Registry.idl : temporarily changed register_Application
6688 to oneway, to work around issue with initial registration
6690 * idl/Application.idl : changed attribute "id" from readonly
6691 to read-write, since it needs to be assigned by Registry.
6692 * registryd/registryd.c : added call to set application id
6694 * registryd/registry.c : changed de-registration procedure to
6695 use CORBA_Object_hash() to find matching object ref in application
6696 lists and listener lists.
6697 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6698 began distinguishing between event types (work in progress).
6700 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6703 * libspi/application.c:
6704 Added implementations for get/set id, get_toolkitName,
6706 * registryd/registryd.c :
6710 Converted from use of OAF to bonobo-activation.
6711 * libspi/desktop.h :
6712 * libspi/desktop.c :
6714 Removed references to atksimpleobject, since base atkobject
6715 implementation now provides functionality we need.
6716 * libspi/atksimpleobject.c :
6717 * libspi/atksimpleobject.h :
6722 * at-bridge/Makefile.am
6723 * at-bridge/bridge.c
6726 Added directory "bridge" and contents, and added dependencies
6727 in Makefile.am/configure.in.
6728 Initial checkin of "at-bridge".
6729 This code is a GTK_MODULE which automatically registers
6730 GTK+ apps with the accessibility registry, using an object
6731 reference to the root ATK object.
6733 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6735 * po/Makefile.in.in: Remove. Again. If this
6736 doesn't get autogenerated - you need to update
6739 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6741 * po/Makefile.in.in: Add. Again.
6743 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6745 * libspi/accessible.c : added support for 'description' property.
6746 * libspi/accessible.c
6748 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6749 (since the two are now equivalent in libbonobo)
6757 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6758 Bonobo::Unknown as does Accessibility::Accessible.
6759 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6760 interface with Bonobo::Stream, since it was redundant with it.
6761 (The Stream returned by a StreamableContext object is expected to
6762 implement only a subset of Bonobo::Stream)
6764 2001-07-28 Anders Carlsson <andersca@gnome.org>
6766 * libspi/accessible.c (accessible_object_finalize): Change
6767 g_free to g_object_unref since the AtkObject is a GObject.
6769 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6771 * idl/Accessibility.idl: add new IDL files
6774 * idl/Action.idl: Definitions of actionable UI object
6775 * idl/Component.idl: Definitions of UI component geometry, etc.
6776 * idl/Hyperlink.idl: Defs of hyperlink behavior
6777 * idl/Image.idl: Def of accessible image
6778 * idl/Selection.idl: Definition of UI object with selectable children
6779 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6780 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6781 * idl/Text.idl: Interface defs for UI elements with complex textual content
6782 * idl/Value.idl: Definition of UI element that is a value controller or display
6784 2001-07-27 Michael Meeks <michael@ximian.com>
6786 * po/Makefile.in.in: remove autogenerated file from CVS.
6788 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6791 * idl/Registry.idl: include guard.
6793 * idl/Accessibility.idl: Add, and include all the other IDL
6796 * idl/*.idl: remove mass of pragmas etc.
6798 2001-07-26 Michael Meeks <michael@ximian.com>
6800 * registryd/Makefile.am (registryd_SOURCES): remove
6803 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6805 * libspi/.cvsignore, registryd/.cvsignore,
6806 test/.cvsignore: updated.
6808 * po/Makefile.in.in: gettext update.
6810 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6812 * initial CVS checkin
6814 2001-06-29 Michael Meeks <michael@ximian.com>
6816 * configure.in: add AM_CONFIG_HEADER to gen config.h