1 2004-03-24 Bill Haneman <billh@gnome.org>
4 Bracketed some debug output in
5 conditionals, to avoid printing it in normal use.
9 Don't cast 'object' to ATK_OBJECT when constructing
10 an AtkAction interface for a hyperlink.
11 See discussion in bug #120659.
13 * test/key-listener-test.c:
14 (report_all_key_event): Send output to stderr,
15 not stdout, for consistency with the rest of the test callbacks.
18 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
19 Incremented to 1.4.1 (but didn't dist yet - I'm going to
20 try incrementing the revision AFTER doing a dist, at least
23 2004-03-22 Bill Haneman <billh@gnome.org>
25 * configure.in: Revved to 1.4.0, libtool 9.14.9
27 2004-03-17 Laszlo Peter <laca@sun.com>
29 * libspi-1.0-uninstalled.pc.in: add idldir
31 * cspi-1.0-uninstalled.pc.in: add idldir
33 2004-03-16 Gareth Owen <gowen72@yahoo.com>
35 * configure.in: Added "en_GB" to ALL_LINGUAS
37 2004-03-15 Bill Haneman <billh@gnome.org>
39 * configure.in: Revved to 1.3.16,
42 2004-03-15 Laszlo Peter <laca@sun.com>
44 * libspi-1.0-uninstalled.pc.in: new file
46 * cspi-1.0-uninstalled.pc.in: new file
48 * configure.in: add the new pc files to AC_OUTPUT
50 * Makefile.am: add the new pc files to EXTRA_DIST
52 2004-03-12 Bill Haneman <billh@gnome.org>
54 * atk-bridge/bridge.c:
55 (spi_atk_bridge_key_listener):
56 Make sure to return consumed=FALSE if snoop
57 event is not dispatched to listener.
60 2004-03-01 Bill Haneman <billh@gnome.org>
62 * configure.in: Revved to 1.3.15,
65 2004-03-07 Danilo Segan <dsegan@gmx.net>
67 * configure.in: Added "sr@ije" to ALL_LINGUAS.
69 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
71 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
73 2004-03-01 Bill Haneman <billh@gnome.org>
75 * configure.in: Revved to 1.3.14.
78 (SPI_exit): Removed "bye-bye" exit message.
79 Moved "leak" report to happen before the
80 iteration over the leaked refs list.
81 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
83 2004-02-24 Bill Haneman <billh@gnome.org>
85 * configure.in: Revved to 1.3.13.
87 * docs/reference/cspi/Makefile.am:
88 Correct typo that was breaking the docs build.
90 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
92 * autogen.sh: Require version 1.7 of automake.
94 * configure.in: call GTK_DOC_CHECK([1.0])
96 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
98 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
100 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
102 * test/Makefile.am: Remove use of CFLAGS.
104 This fixes bug #132987.
106 2004-02-11 Bill Haneman <billh@gnome.org>
108 * reverted most of Tomasz' patch below, since it was breaking
109 builds (see bug #134058).
111 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
113 * docs/reference/cspi/at-spi-cspi.types: added empty file for
114 correct pass "make dist" (empty .. because seems no sach types in
115 header files with gtk-doc markups).
116 * docs/reference/cspi/Makefile.am, configure.in:
117 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
118 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
119 * Makefile.am: added:
120 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
121 for force correct pass generate documentation on "make distcheck".
122 * libspi/Makefile.am: fixes for automake >= 1.6.
123 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
124 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
127 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
129 * docs/reference/cspi/Makefile.am (install-data-local): Install
130 index.sgml since the doc autobuilder on widget.gnome.org looks for
133 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
135 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
138 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
140 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
142 2004-01-27 Brian Cameron <brian.cameron@sun.com>
144 * test/simple-at.c: Fixed null string problems that cause core
145 dumping problems on Solaris.
147 2004-01-12 Bill Haneman <billh@gnome.org>
149 * configure.in: Incremented version to 1.3.11.
151 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
153 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
154 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
157 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
159 * configure.in: Added "fa" to ALL_LINGUAS.
161 2003-12-20 Arafat Medini <lumina@silverpen.de>
163 * configure.in: Added "ar" to ALL_LINGUAS
165 2003-12-16 Bill Haneman <billh@gnome.org>
167 * registryd/registry-main.c:
169 Set the reg_env DISPLAY variable before registering the
170 activated registry service. Fixes bug #129479.
172 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
174 * configure.in: Added "id" in ALL_LINGUAS
175 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
177 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
179 * registryd/deviceeventcontroller.c (global_filter_fn):
180 When an event is consumed discard any XEvents were added to
181 the queue while dealing with the the event. This can happen if
182 processing of the event takes a long time. Call XUngrabKeyboard
183 if an event was discarded. This fixes bug $124837.
184 Only call wait_for_release_event for a KeyPress.
185 Use local variable display instead of spi_get_display().
186 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
189 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
191 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
192 Allow for mask to contain values other than NumLock mask.
195 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
197 * registryd/devieceventcontroller.c:
198 (wait_for_release_event): Change first parameter from GdkEvent to
200 (global_filter_fn); Correct call to wait_for_release_event.
204 2003-12-08 Bill Haneman <billh@gnome.org>
208 * registryd/ucs2keysym.c: New file.
210 * registryd/deviceeventcontroller.c:
211 (dec_keysym_for_unichar): Remove old partial implementation and
212 replace with call to ucs2keysym(), which is much more complete.
213 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
218 2003-12-05 Bill Haneman <billh@gnome.org>
220 * configure.in: Version 1.3.9.
222 * docs/reference/cspi/tmpl/spi_registry.sgml:
223 Added reference to libspi/keymasks.h to the
224 description of Registry queries: AccessibleKeyMaskType.
227 2003-12-04 Bill Haneman <billh@gnome.org>
231 * idl/Accessibility_Application.idl:
232 (Accessibility::LOCALE_TYPE): New enum, corresponds to
233 setlocale's LC_TYPEs.
234 (Accessibility::Application::getLocale): New method.
235 Allows clients to query the locale, by type, of an app.
238 * cspi/spi_application.c:
239 (AccessibleApplication_getLocale): New method, wraps IDL above.
241 * libspi/application.c:
242 (spi_application_class_init): Init epv entry for getLocale.
243 (impl_accessibility_application_get_locale): Impl for above.
245 * test/test-simple.c:
246 (test_application): Added assertion for getLocale, i.e.
247 that the string from AccessibleApplication_getLocale (app, type)
248 is the same as that from setlocale (type, NULL);
250 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
252 *registryd/deviceeventcontroller.c: Add an idle handler which polls
253 the keyboard on a timeout intil the key state goes from pressed to
254 released. Fixes bug #111429.
256 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
258 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
259 root object so that it is present when a context menu in an
260 out-of-process applet is popped up.
261 (spi_atk_bridge_do_registration): Create acceessible application root
262 object only if it does not exist.
264 This fixes bug #125834.
266 2003-12-01 Bill Haneman <billh@gnome.org>
268 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
271 Added enum for AccessibleStreamableContentSeekType.
272 (AccessibleStreamableContent_freeContentTypeList): New.
274 * cspi/spi_streamablecontent.c:
275 (accessible_bonobo_stream_client_seek): New private method.
276 (AccessibleStreamableContent_seek): Implemented this method,
277 using Bonobo_Stream_seek.
278 (AccessibleStreamableContent_freeContentTypeList): New method
279 for freeing the return value from
280 AccessibleStreamableContent_getContentTypes.
281 (stream_cache_item_free): Replaces stream_release; stop leaks.
282 (stream_release): removed.
283 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
284 free the memory properly.
286 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
290 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
292 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
294 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
296 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
298 2003-12-01 Bill Haneman <billh@gnome.org>
300 Fix for bug/rfe #127463.
302 * idl/Accessibility_Accessible.idl:
303 (getLocalizedRoleName): New.
304 (unimplemented4): Removed (replaced by above).
306 * libspi/accessible.c:
307 (impl_accessibility_accessible_get_local_role_name): New.
308 (spi_accessible_class_init): Add getLocalizedRoleName entry to
312 (Accessible_getLocalizedRoleName): New.
314 * cspi/spi_accessible.c:
315 (Accessible_getLocalizedRoleName): New.
317 2003-12-01 Bill Haneman <billh@gnome.org>
320 * idl/Accessibility_Text.idl:
321 (getDefaultAttributes): New.
322 (unimplemented4): Removed (replaced by above method).
325 (impl_getDefaultAttributes): New method.
326 (spi_text_class_init):
327 initialize the get_default_attributes slot in the epv.
330 (AccessibleText_getDefaultAttributes): New prototype.
333 (AccessibleText_getDefaultAttributes): New method.
335 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
337 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
338 write beyond the end of the table. Fixes bug #120473.
340 2003-09-30 Christian Rose <menthos@menthos.com>
342 * configure.in: Added "eu" to ALL_LINGUAS.
344 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
346 * configure.in: ALL_LINGUAS: Added no.
348 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
350 * configure.in: Added lt to ALL_LINGUAS.
352 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
354 * atk-bridge/bridge.c:
355 (atk_bridge_init): Register event listeners always even for
356 out-of-process applet.
357 (spi_atk_bridge_toplevel_added): Remove call to
358 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
359 (spi_atk_bridge_toplevelk_removed): Remove call to
360 spi_atk_deregister_event_listenersa as the listeners are now always
362 (spi_atk_bridge_register_application): Remove call to
363 spi_atk_register_event_listeners as it is not done in atk_bridge_init
365 This fixes bug #120991.
367 * libspi/table.c (impl_getColumnDescription): Correct typo,
368 pointed out by Bolian.Yin@sun.com.
370 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
372 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
374 2003-09-08 Bill Haneman <billh@gnome.org>
376 * configure.in: Revved to 1.3.7.
378 This is the GNOME 2.4.0 release of at-spi.
380 * docs/reference/cspi/Makefile.am:
381 Removed spurious inclusion of 'index.sgml' in the
382 html directory; this was breaking make distcheck and
383 also some other build environments.
385 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
387 * registryd/registry.[ch}:
388 Add queue_handler_id and focus_object to SpiRegistry data structure.
389 (registry_flush_event_queue): If event being discarded is
390 "state-change:focused" store object as focus_object.
391 (registry_start_queue): Remove queue handler and focus object
393 (registry_discard_event): New function which discards a focus event
394 if we had stored focus object in the registry.
395 (registry_queue_event): Add new check that is_queueing is set as this
396 function is reentrant.
397 (registry_filer_event): Add call to registry_discard_event.
399 This resolves issues raised in bug #108664.
401 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
403 * configure.in: Added "bn" to ALL_LINGUAS.
405 2003-09-04 Bill Haneman <billh@gnome.org>
407 * cspi/spi_event.c: Documentation improvements for
408 (SPI_registerAccessibleKeylistener).
410 * docs/reference/tmpl/spi_registry.sgml:
411 Documentation improvements for SpiAccessibleKeylistenerCB.
413 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
415 * configure.in: Added "ro" to ALL_LINGUAS.
418 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
420 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
421 not decremented to zero. Fixes bug #120725.
423 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
425 * configure.in: Added "ja" to ALL_LINGUAS.
427 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
429 * configure.in: Added "is" to ALL_LINGUAS.
431 2003-08-22 Christian Rose <menthos@menthos.com>
433 * configure.in: Added "nl" to ALL_LINGUAS.
435 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
437 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
438 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
440 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
442 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
443 type for unspecified exception.
444 * cspi_streamablecontect): Add include of string.h for memcpy.
445 (stream_release): Correct call to bonobo_object_release_unref
446 (stream_cache_item_free): Correct call to bonobo_object_release_unref
447 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
448 argument of _cspi_expection_throw.
449 * libspi/hyperlink.c: Add include of libspi/action.h:
450 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
451 * libspi/streamablecontent.c: add include of libspi/component.h.
452 * regisrtyd/deviceeventcontroller.c:
453 (spi_dec_translate_mask): Removed unused variable priv.
454 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
455 * registryd/registry.c:
456 (registry_filter_event): Remove unused variable queue_is-empty.
457 (impl_registry_notify_event): Use correct modifier in fprintf call.
459 This fixes compiler warnings reported in bug #120220.
461 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
463 * registryd/registryd.c: Remove this file.
465 2003-08-17 Sanlig Badral <badral@openmn.org>
467 * configure.in: Added mn to ALL_LINGUAS.
469 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
471 * configure.in: Added et to ALL_LINGUAS.
473 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
475 * test/event-listener-test.c: Change active-descendant to
476 active-descendant-changed.
478 2003-08-10 Sami Pesonen <sampeson@iki.fi>
480 * configure.in: Added "fi" in ALL_LINGUAS.
482 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
484 * configure.in: Added "hi" in ALL_LINGUAS.
486 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
488 * configure.in: Revved to 1.3.6.
492 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
494 * registryd/deviceeventcontroller.c
495 (spi_device_event_controller_object_finalize): Fix typo in previous
498 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
500 * registryd/deviceeventcontroller.c
501 (spi_device_event_controller_object_finalize): Fix build on
502 systems without XEvIE.
504 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
506 * acconfig.h, configure.in, registryd/Makefile.am,
507 registryd/devicecontoller.[ch]: Add XEViE support.
509 2003-08-06 Wang Jian <lark@linux.net.cn>
511 * configure.in: Added "zh_CN" to ALL_LINGUAS.
513 2003-08-06 Metin Amiroff<metin@karegen.com>
515 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
517 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
519 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
520 MODIFIER_ALT in correct place.
522 This fixes part of bug #118114.
524 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
526 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
528 2003-07-28 Changwoo Ryu <cwryu@debian.org>
530 * configure.in: Added "ko" to ALL_LINGUAS.
532 2003-07-28 Ole Laursen <olau@hardworking.dk>
534 * configure.in: Added "da" to the commented out ALL_LINGUAS.
536 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
538 * configure.in: Added "sq" to ALL_LINGUAS.
540 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
542 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
544 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
546 * configure.in: updated ALL_LINGUAS list
548 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
550 * configure.in: Added Belarusian to ALL_LINGUAS.
552 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
554 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
556 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
557 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
559 This fixes bug #116949.
561 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
563 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
564 Correct CSPI to SPI in function documentation.
566 This fixes bug #118054.
568 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
570 * configure.in: Added Russian to ALL_LINGUAS.
572 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
574 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
576 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
578 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
580 2003-07-10 Joel Brich <joel.brich@laposte.net>
582 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
584 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
586 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
588 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
590 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
591 resources allocated for AccessibleEvent. See cspi_event().
593 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
594 static variable streams to NULL.
596 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
597 Update so that AcessibleEvent_ref will work.
599 This fixes bug #116624.
601 2003-07-06 Jordi Mallach <jordi@sindominio.net>
603 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
605 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
607 * configure.in: Added "fr" (French) to ALL_LINGUAS.
609 2003-07-02 Christian Neumair <chris@gnome-de.org>
611 * configure.in: Added "de" (German) to ALL_LINGUAS.
613 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
615 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
617 2003-07-01 Miloslav Trmac <mitr@volny.cz>
619 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
621 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
623 * configure.in: Added "pl" to ALL_LINGUAS.
625 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
627 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
629 2003-06-30 Bill Haneman <bill.haneman@sun.com>
632 (get_action_from_servant):
633 Removed assertion that action is implemented on an AtkObject.
635 * libspi/hyperlink.c:
637 Aggregate AccessibleAction interface on the hyperlink object if
638 the object implements AtkAction. (This convention is used in
641 2003-06-30 Bill Haneman <bill.haneman@sun.com>
643 * configure.in: Revved to 1.3.5.
645 * registryd/Accessibility_Registry.server.in.in:
646 Marked up appropriate strings for translation.
648 * atk-bridge/bridge.c: Marked a couple of
649 user-visible warnings for translation. Questionable
650 whether they are really useful, but possibly so.
653 2003-06-28 Christian Rose <menthos@menthos.com>
655 * configure.in: Added "sv" to ALL_LINGUAS.
657 2003-06-26 Bill Haneman <bill.haneman@sun.com>
659 * registryd/registry.c:
660 (spi_registry_object_finalize): Unref the deviceeventcontroller.
661 (registry_defer_on_event): Defer focus: events, this is an
662 improvement to the patch for bug #108664.
664 * TODO: Update with 2.4/"Dev Complete" items.
666 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
668 * atk-bridge/bridge.c:
669 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
670 looks up signals once.
671 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
672 if doing registration.
673 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
674 when doing registration.
676 This fixes bug #115014.
678 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
680 * atk-bridge/bridge.c:
681 (atk_bridge_init): Add signal handler for children-changed:remove on
682 root when in a BonoboComponent.
683 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
684 for first toplevel only other incrememt variable toplevels.
685 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
686 application and remove listeners.
687 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
689 (spi_atk_deregister_event_listeners): New function which removes
691 (reinit_register_vars): New fuction which reinitializes variables.
693 This fixes bug #111578.
695 2003-06-13 Bill Haneman <bill.haneman@sun.com>
697 * configure.in: version 1.3.4.
699 * cspi/spi_accessible.c:
700 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
703 2003-06-13 Michael Meeks <michael@ximian.com>
705 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
707 * cspi/spi_main.c (cspi_peek_ev): impl.
709 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
711 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
713 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
715 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
716 SPI_ROLE_AUTOCOMPLETE
718 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
720 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
721 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
723 2003-06-11 Bill Haneman <bill.haneman@sun.com>
725 * libspi/streamablecontent.h:
726 * libspi/streamablecontent.c:
727 New files, provide implementation/wrappers for
728 Accessibility_StreamableContent.
730 * cspi/spi_streamablecontent.c:
731 Connected the C wrappers to the libspi C bindings.
732 (AccessibleStreamableContent_close): New method.
735 (AccessibleStreamableContent_close): New method, needed
736 since we have an "open, [seek], read, close" model in cspi.
738 2003-06-11 Bill Haneman <bill.haneman@sun.com>
740 Fix for #108664; Padraig's revision of my original patch.
742 * registryd/registry.h:
743 Added event queue list, is_queuing, and exit_notify_timeout
744 to the registry struct.
746 * registryd/registry.c:
747 (registry_init): Initialize new struct from registry.h.
748 (impl_registry_notify_event):
749 Filter events before notifying, in case some need to be
751 (registry_filter_event): New,
752 we defer certain incoming events (for instance
753 window:deactivate) because we may wish to hide
754 or reject them based on pending events. This is
755 mostly a workaround for bug #108664.
756 (registry_queue_event, registry_start_queue): New.
757 (registry_defer_on_event): Test event to see if it
759 (registry_reset_on_event): Returns TRUE if the
760 event should cause a queue reset.
761 (registry_discard_on_event): Returns TRUE if the event
762 should cause the previous queue contents to be discarded.
763 (registry_timeout_flush_queue): Flushes the pending event
764 queue if no reset/discard-triggering events have come in
765 within the timeout period.
766 (registry_emit_event): New.
767 (registry_clone_notify_context): New, used when queueing the
768 event notify contexts.
770 2003-06-10 Bill Haneman <bill.haneman@sun.com>
772 * configure.in: Version revved to 1.3.2, lt 0.9.2
773 Incremented ATK required version to 1.3.4.
775 * cspi/spi_registry.c:
776 (SPI_generateKeyEvent):
777 We now pass the keystring along if it's non-null.
779 * registryd/deviceeventcontroller.c:
780 (keysym_mod_mask): New method, returns modifier mask
781 required to generate a keysym from a given keycode.
782 (dec_synth_keysym): New method.
783 (dec_synth_keystring): New method.
784 (dec_get_modifier_state): New method.
785 (dec_lock_modifiers): New
786 (dec_unlock_modifiers): New.
787 (dec_keysym_for_unichar): New, rather brute-force
788 conversion from UCS-4 to X KeySyms. Only works for
789 Latin at the moment, with partial implementations for
790 Greek, Hebrew, and (incomplete) Katakana.
791 (impl_generate_keyboard_event): Now implement
792 "KEYSTRING" synthesis and implement "KEYSYM"
794 (keycode_from_keysym): Improved, passes a returned
795 modmask value now if the corresponding param is non-NULL.
797 Fixes bugs #92143 and #109776.
800 * test/keysynth-test.c:
801 New test program for key synthesis, to confirm fixes for
805 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
807 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
809 * cspi/spi_accessible.c (cspi_init_relation_type_table):
810 Add line for RELATION_POPUP_FOR
812 * docs/reference/cspi/tmpl/spi_relation.sgml:
813 Add relation SPI_RELATION_POPUP_FOR
815 * docs/reference/cspi/tmpl/spi_stateset.sgml:
816 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
818 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
820 * libspi/relation.c (spi_init_relation_type_table):
821 Add line for RELATION_POPUP_FOR
823 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
825 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
826 there are still windows which have not been deleted and emit
827 window:deactivate, if necessary and window:destroy events.
828 This fixes bug #114370. The change on June 5th was not correct.
830 2003-06-09 Bill Haneman <bill.haneman@sun.com>
832 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
835 (SPI_dupString): Allow dup-ing of a string such that it's safe to
837 New methods for client exception handling and interception.
838 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
839 (SPI_exceptionHandlerPop): You guessed it...
840 (SPI_getSourceType): Return the type of object which offended.
841 (SPI_getExceptionCode): Return an enum code telling, possibly,
842 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
843 (SPIAccessibleException_getSource): get the source object for
844 exceptions that come from Accessibles, if SPIExceptionSourceType is
845 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
846 (SPIException_getDescription): New, returns a string description of
847 the problem. [Not yet a stable ABI, strings are not frozen]
849 * cspi/spi-private.h:
850 Added implementation details of opaque SPIException
854 Implementations of above. Also
855 (_cspi_exception_throw): new private method that
856 dispatches exceptions to handlers, called from cspi-bonobo.c
858 * cspi/bonobo/cspi-bonobo.c:
859 (cspi_check_ev): call _cspi_exception_throw.
860 Don't print a warning message if the exception has been
861 handled by _cspi_exception_throw.
863 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
865 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
866 there are still windows which have not been deleted and emit
867 window:deactivate, if necessary and window:destroy events.
868 This fixes bug #114370.
870 2003-06-03 Bill Haneman <bill.haneman@sun.com>
873 (cspi_accessible_is_a): Make non-fatal
874 if the object reference is dead.
876 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
878 * cspi/spi_main.c: #include <stdio.h>
879 * test/simple-at.c: ditto
880 * test/event-listener-test.c: ditto
881 * test/screen-review-test.c: ditto
883 2003-05-30 Michael Meeks <michael@ximian.com>
885 * test/test-simple.c (main): use CORBA_ORB_perform_work
886 instead of an unnecessary linc_ call.
888 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
890 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
891 Add SPI_STATE_INDETERMINATE.
893 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
896 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
898 * libspi/stateset.c (init_state_type_tables): Add support for
901 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
903 * configure: Update versions of atk and gail required.
904 This fixes bug #113268.
906 2003-05-02 Bill Haneman <bill.haneman@sun.com>
908 * configure.in: Revved micro version to 1.3.1 (because of build fix).
910 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
912 * libspi/Makefile.am:
913 Ensure headers are generated before being used by c sources.
915 2003-05-01 Bill Haneman <bill.haneman@sun.com>
918 Simplified lt versioning rules.
919 Incremented version to 1.3.0, to indicate that we're on the
922 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
924 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
925 Add MKDB_OPTIONS=--outtput-format=xml
927 * docs/reference/cspi/at-spi-cspi-docs.sgml
928 docs/reference/idl/at-spi-idl-docs.sgml:
929 Convert to Docbook XML.
931 This fixes bug #111793.
933 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
935 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
936 AcccessibleKeyEventType, AccessibleKeyMaskType.
938 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
940 * cspi/state-types.h: Add documentation for AccessibleState.
942 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
943 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
944 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
945 AccessibleComponentLayer.
947 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
950 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
952 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
953 Accessible. Add description of AccessibleEvent,
954 AccessibleEventListenerCB.
956 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
959 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
960 documentation. Add description of AccessibleKeystrokeListenerCB,
961 AccessibleKeyEventMask, AccessibleModifierMaskType,
962 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
963 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
965 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
968 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
971 This fixes bug #104730.
973 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
975 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
976 Set is_text field of Accessibility_DeviceEvent data structure.
978 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
979 is-text field of AccessibleDeviceEvent data structure.
981 This addresses part of bug #108666.
983 * registryd/devcieeventcontroller.c: Unset debug option.
985 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
988 (cpi_initial_relation_type_table): New function which initializes
989 mapping between Accessibility_RelationType and AccessibleRelationType.
990 (cspi_relation_type_from_spi_relation_type): New function which
991 translates an Accessibility_RelationType into an AccessibleRelationType.
992 (AccessibleRelation_getRelationType): Use
993 cpi_relation_type_get_spi_relation_type to return correct value.
994 (spi_state_to_corba): Return correct type for default case.
996 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
997 Use Accessibility_EventType instead of Accessibility_KeyEventType.
999 * cspi/cspi-bonobo-listener.c:
1000 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1003 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1004 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1005 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1006 libspi/image.c, libspi/listener.c, libspi/selection.c,
1007 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1008 registryd/desktop.c, registryd/registry.c:
1009 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1011 * libspi/eventlistener.c
1012 Remove semicolon after BONOBO_TYPE_FUNC.
1014 * libspi/relation.c:
1015 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1016 (spi_init_relation_type_table): Initialize using correct type.
1018 * registryd/desktop.c:
1019 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1020 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1021 of Accessibility_KeyEventType.
1023 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1026 * tests/simple-at.c, tests/screen-review-test.c:
1027 Add include for <strings.h>.
1029 * tests.stress-test.c:
1030 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1032 These changes fix compiler warnings when using FORTE compiler on
1033 Solaris; fixes bug #107479.
1036 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1039 * configure.in: revved to 1.1.10
1041 * libspi/keymasks.h:
1042 (SPI_KEYMASK_NUMLOCK): Added.
1044 * registryd/deviceeventcontroller.c:
1045 (spi_key_event_matches_listener): AND with a smaller
1046 bitmask (as we should).
1047 (spi_dec_translate_mask):
1048 New method, sets the virtual NumLock modifier bit
1049 if numlock is on. Eventually it can handle other virtual
1050 modifier bits if needed, or other marshalling from
1051 at-spi modifier masks to platform (X) masks.
1052 (spi_dec_key_listener_new):
1053 Call spi_dec_translate_mask to set up virtual mod bits
1054 in the 'mask' field when creating a new listener struct.
1055 (spi_dec_emit_modifier_event):
1056 Set the virtual (i.e. NumLock) bits before emitting event.
1057 (spi_controller_register_with_devices):
1058 Query for the NumLock modifier 'physical' bit if Xkb is
1059 present, for use in above methods.
1063 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1065 * registryd/deviceeventcontroller.c:
1066 (spi_keystroke_from_x_key_event):
1067 Instead of checking to see if the keysym is
1068 printable, check the string from XLookupString
1069 if available, get the first unicode character from it,
1070 and call g_unichar_isprint to determine whether the
1071 is_text flag should be TRUE or FALSE.
1075 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1077 * atk-bridge/bridge.c: Add support for extended events
1078 * cspi/spi_event.c: Add documentation and implementation for
1080 * tests/event-listener-test.c: Add tests for extended events.
1082 This fixes bugs #100424 and #100426.
1084 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1086 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1087 of LT_CURRENT. This fixes bug #89350.
1089 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1091 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1092 number of signal parameter values before accessing them. This fixes
1095 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1097 * configure.in: Fixed duplicate inclusion of -lspi.
1098 * branched for gnome-2-2/HEAD.
1099 [created tag "gnome-2-2"]
1101 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1103 * configure.in: 1.1.9 release.
1106 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1108 [needed by GOK, to fix bugs 107985 and 107988]
1109 * registryd/deviceeventcontroller.c:
1110 (spi_dec_clear_unlatch_pending):
1111 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1112 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1113 (spi_dec_init_mouse_listener):Emit warning if mouse button
1115 (spi_device_event_controller_forward_mouse_event):
1116 Removed unnecessary parens from a conditional.
1117 (global_filter_fn):Added TODO comment.
1118 (impl_generate_keyboard_event):
1119 Cancel a pending relatch if a 'delatching' key was
1122 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1124 * atk-bridge/bridge.c:
1125 Change atk_signal_child_changed to atk_signal_children_changed.
1126 Reorganize code in spi_atk_bridge_signal_listener().
1128 * test/event-listener-test.c:
1129 Add children_changed_listener and report_children_changed_event()
1130 to test AccessibleChildEvent_getChildAccessible.
1132 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1134 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1135 g_strdup to CORBA_String_dup (bug #105291)
1137 * test/event-listener-test.c (report_text_event): Add call to
1140 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1142 * registryd/deviceeventcontroller.c:
1143 (spi_keystroke_from_x_key_event):
1144 Fix string and keysym return codes to match modifier state.
1147 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1149 * registryd/deviceeventcontroller.c:
1150 (spi_keystroke_from_x_key_event):
1151 Fix segv due to improper use of isprint(c). [bug #107254]
1153 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1156 (get_accessible_text_boundary_type):
1157 Move default return value to (new) default case in switch.
1158 (get_accessible_text_clip_type):
1159 Move default return value to (new) default case in switch.
1161 * libspi/application.c:
1162 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1163 Remove unused methods.
1164 (impl_accessibility_application_register_object_event_listener):
1165 Remove unused methods.
1168 Added #include of <math.h>.
1170 * registryd/deviceeventcontroller.c:
1171 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1172 we don't currently use this method.
1173 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1175 (impl_generate_key_event):
1176 Remove unused variables.
1177 (impl_generate_mouse_event):
1178 Initialize button to zero, just in case we get an invalid
1179 input. Added support for mouse buttons 4 and 5.
1180 (spi_device_event_controller_new):
1181 Removed unused variable declaration for 'private'.
1183 Added #include of <gdk/gdk.h>
1185 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1187 * configure.in: Update to work when X is not installed in expected
1188 location. Fixes bug #105836.
1190 * atk-bridge/bridge.c
1191 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1193 (spi_atk_register_event_listener): Add signal listener for
1195 (spi_atk_bridge_signal_listener): Event event when link-selected
1196 signal is emitted. (bug #104622)
1198 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1199 on returned string. (bug #105291)
1201 * test/event-listener-test.c: Add test for link-selected.
1203 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1205 * atk-bridge/Makefile.am: Correct typo in previous commit.
1207 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1209 * atk-bridge/Makefile.am: Allow for build directory to be different
1210 from source directory
1212 * registryd/Makefile.am: Allow for build directory to be different
1213 from source directory
1217 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1220 Fixed dependencies for libcspi so that libspi gets pulled in
1221 properly. Fixes 104741.
1225 Clean up inline docs a little.
1227 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1229 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1230 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1231 the AtkObject within an SpiDesktop.
1232 This addresses bug #101524.
1234 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1235 Remove call to gdk_init().
1237 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1238 so that Display is set when SpiDesktop is created.
1240 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1242 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1243 This fixes bug #102830.
1245 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1247 * test/test-simple.c: Update to take account of fact that GailButton
1248 now implements AtkText.
1249 (create_text_window): Set name on AtkObject for GtkEntry.
1250 (validate_accessible): Check accessible name before calling test_text().
1252 * libspi/Makefile.am: Fix problem with building outside of source
1253 directory. Bug #98120.
1255 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1256 typo in documentation comments. Bug #94275.
1258 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1260 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1262 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1265 Add includes to avoid compiler warnings on Solaris.
1266 (impl_getRangeExtents): Bug fix.
1268 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1270 Fix for 100944, [API addition approved by Gman and murrayc].
1277 * idl/Accessibility_Text.idl:
1278 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1279 (Text::getRangeExtents): New method for efficient
1280 bounds query of a text range.
1281 (Text::getBoundedRanges): New method for efficient
1282 clipping of text to bounding boxes.
1283 (unImplemented7, unImplemented8):
1284 Removed these padding methods to preserve bincompat.
1287 (impl_getRangeExtents): implementation of new IDL.
1288 (impl_getBoundedRanges): implementation of new IDL.
1289 (SpiTextRect): Internal use struct.
1290 (_spi_text_rect_union): internal method, calculates union of two
1291 SpiTextRect bounding rects.
1292 (_spi_text_range_seq_from_gslist): internal method, allows us
1293 to build our sequence efficiently as a gslist then convert it
1295 (_spi_bounds_contain): internal method, determines whether
1296 a text character is "in" or "out" of a clip rect according to
1297 values of TEXT_CLIP_TYPE.
1298 (spi_text_class_init): Initialize the new methods in the epv.
1301 (AccessibleTextClipType): New enum used by screen review api.
1302 (AccessibleTextRange): New struct used by screen review api.
1303 (AccessibleText_getRangeExtents):
1304 cspi binding for Accessibility_Text_getRangeExtents.
1305 (AccessibleText_getBoundedRanges):
1306 cspi binding for Accessibility_Text_getBoundedRanges.
1307 (AccessibleTextRange_freeRanges): convenience method.
1310 (AccessibleText_getRangeExtents):
1311 cspi binding for Accessibility_Text_getRangeExtents.
1312 (AccessibleText_getBoundedRanges):
1313 cspi binding for Accessibility_Text_getBoundedRanges.
1314 (AccessibleTextRange_freeRanges): convenience method.
1315 (get_accessible_text_clip_type): internal conversion method.
1316 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1318 * registryd/deviceeventcontroller.c:
1319 (spi_dec_mouse_check):
1320 Improved behavior for mouse:abs events
1321 [same granularity as mouse:rel events, and no
1322 events when mouse is idle].
1324 2002-12-16 Michael Meeks <michael@ximian.com>
1326 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1328 * libspi/stateset.c (state_spi_to_atk): split out
1329 ( fix several remote array bounds nasties )
1330 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1331 (impl_remove): make safe from array bounds issues.
1332 (spi_atk_state_from_spi_state): impl.
1334 * libspi/stateset.h (spi_state_set_cache_is_empty):
1335 add a set of wrapper defines to get layering right.
1337 * cspi/spi_accessible.c: update state set stuff to
1340 2002-12-14 Michael Meeks <michael@ximian.com>
1342 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1343 to avoid 2 roundtrips to the registry per key event
1344 (spi_atk_bridge_key_listener): upd.
1345 (deregister_application): release the dec.
1347 * registryd/registry.c (notify_listeners_cb):
1348 bin lots of re-enterant complexity - we no longer
1349 do a round-trip bonobo ref here, ensure that a single
1350 listener's exception failure won't poison all other
1352 (impl_registry_notify_event): bin obvious memory leak.
1354 2002-12-13 Michael Meeks <michael@ximian.com>
1356 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1357 init the ev so the error is meaningful.
1358 (spi_atk_bridge_key_listener): ditto.
1360 * cspi/spi_main.c (cspi_ev): init the ev so we start
1361 with a clean slate, otherwise the first exception
1362 kills us completely.
1364 * cspi/spi_text.c (get_accessible_text_boundary_type):
1365 add a fallthrough for no warnings.
1367 * cspi/spi_registry.c: prune unused warnings.
1369 * cspi/spi_main.c (cspi_object_take): fix
1370 mind-blowing brokenness ( by watching the compile
1373 * cspi/spi_accessible.c (Accessible_getStateSet):
1374 re-impl. to use an AtkStateSet.
1375 (spi_state_type_from_accessible_state),
1376 (init_state_table): bin these.
1378 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1380 (atk_state_set_from_accessibility_state_set): here.
1382 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1383 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1384 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1385 (AccessibleStateSet_add, AccessibleStateSet_remove),
1386 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1387 (AccessibleStateSet_isEmpty): re-write to use a local
1390 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1392 * configure.in: Revved to 1.1.7 (new keymask vals).
1394 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1396 * libspi/keymasks.h:
1397 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1399 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1402 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1403 to compare two CORBA_TypeCodes.
1404 (cspi_internal_event_add): Silence warning from FORTE compiler.
1406 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1407 avoid implicit declaration of functions.
1409 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1411 * atk-bridge/bridge.c:
1412 (spi_atk_bridge_init_event_type_consts): Store signal id for
1413 active-descendant-changed signal.
1414 (spi_atk_register_event_listeners): Add signal listener for
1415 active-descendant-changed signal,
1416 (spi_atk_bridge_signal_listener): Move code in function
1417 spi_atk-signal_emit_event() into this function.
1418 Add support for active-descendant-changed
1419 Update support for child-changed signal.
1420 (spi_bridge_window_event_listener): Silence warning.
1422 * libspi/spi_private.[ch]:
1423 (spi_init_any_object): Change second parameter from CORBA_Object to
1425 Omit call to CORBA_Object_duplicate().
1426 Set CORBA_any's _value to CORBA_Object*.
1428 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1434 (AccessibleEvent_ref, AccessibleEvent_unref):
1435 New methods, for persisting an event outside the emission context.
1436 Must be used if the new accessor methods are to be called
1437 outside of the event listener's callback.
1439 * cspi/bonobo/cspi-bonobo.c:
1440 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1441 as second parameter instead of NULL, so we can call
1442 cspi_check_ev afterwards.
1445 (cspi_object_take): New internal method,
1446 converts a CORBA_Object reference to a hard ref on
1447 an Accessible if possible, returning NULL if the object
1448 reference is invalid or an Accessible * otherwise.
1451 (AccessibleEvent_ref):
1452 Increment the event's internal private refcount, and
1453 add the event's internal struct to an internal cache
1454 if it's not already there.
1455 (AccessibleEvent_unref):
1456 Decrement the event's refcount and remove it from
1457 the cspi event cache if refcount==0.
1458 (cspi_event_compare): New private method.
1459 Compares two event structs via their ids. Used
1461 (cspi_internal_event_lookup): New private method.
1462 (cspi_internal_event_check): New private method,
1463 a 0-order sanity check for events to make sure their
1464 private data is intact.
1465 (cspi_internal_event_add, cspi_internal_event_remove):
1466 New private methods for managiing the event cache.
1468 * cspi/bonobo/cspi-bonobo-listener.c:
1470 Initialize the new private data elements (id, magic, ref_count).
1472 * atk-bridge/bridge.c:
1473 (spi_atk_bridge_signal_listener):
1474 Fixed bug #100530, passing wrong params to emission func.
1476 * registryd/deviceeventcontroller.c:
1477 (spi_dec_button_update_and_emit):
1478 Fixed type in mask bit operations; fix for #99799.
1480 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1482 Removed some of the more dangerous workarounds from
1483 previous commit; they are only needed by GOK, which
1484 in reality should be using another method to accomplish
1485 the goals. So on reconsideration some of the workarounds
1486 need to be reverted:
1488 * registryd/deviceeventcontroller.c:
1489 (spi_keycodes_contain, spi_dec_init_keycode_list):
1490 Removed these methods, used only by a nasty hack to try
1491 and detect whether a key synthesis should be allowed
1492 to reset the XKB latch state or not. This code was only
1493 required to work around an interaction between GOK,
1494 button events, and XKB.
1495 (impl_generate_key_event):
1496 Removed hack at end of key generation that tried to
1497 "do the right thing" if XKB latch keys were generated
1498 in the midst of button press/release pairs.
1501 Added a check for HAVE_XINPUT. Not normally used yet.
1503 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1505 Workarounds and fixes for mouse event/XKB interaction.
1507 * registryd/deviceeventcontroller.c:
1508 (spi_keycodes_contain, spi_dec_init_keycode_list):
1509 New internal methods.
1510 (spi_dec_set_unlatch_pending):
1511 Split the method that tells XKB to expect an
1512 unlatch (and revert it) out of the rest of the
1513 event handling code. This method is called by the
1514 two mouse event handlers (the poll and the filter).
1515 (spi_dec_update_and_emit, spi_dec_mouse_check):
1516 New methods split from spi_dec_poll_mouse_moved.
1517 The second one is now called from inside the filterFn
1518 when an XKB delatch event is received, to determine
1519 whether to revert the delatch or not.
1520 (spi_poll_mouse_moved): Refactor; also we can now
1521 properly handle the case where multiple button states
1522 have changed between polling cycles and we didn't get
1523 notified due to another client's grab.
1525 Synchronize the server while handling an XKB notification.
1526 Ugly, but apparently necessary to avoid nasty races.
1527 Check the mouse state on receipt of an XKB latch change,
1528 to decide whether to revert the latch or not. (Latches are
1529 reverted if there is an immediately preceding mouse button
1530 event that a client has consumed, in which case we don't want
1531 the user to see the side-effect of the event).
1532 (spi_device_event_controller_forward_mouse_event):
1533 Check for modifier events and fire before resetting mouse_mask_state,
1534 prevents losing modifier events.
1536 (impl_generate_keyboard_event):
1537 If we've just generated a keyboard event for a non-shift key,
1538 we don't want to revert the pending XKB latch.
1539 Otherwise, check the modifier state (via a call to
1540 spi_dev_mouse_check) and set the relatch mask to
1541 that state before returning.
1543 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1546 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1549 * atk-bridge/bridge.c:
1550 (spi_atk_register_event_listeners):
1551 Don't re-register for ATK events if the registry has died
1552 and the app needs to re-register; the ATK listeners are in
1553 process and doing so will cause duplicate emission.
1555 * registryd/deviceeventcontroller.c:
1556 (spi_poll_mouse_moved):
1557 Reformat the source, detect and emit multiple button-change
1558 events (i.e. if multiple buttons have changed between poll
1560 Add code to detect mouse-down events even when the pointer
1561 is grabbed; workaround for GOK bug 98420.
1562 (spi_controller_register_with_devices):
1563 Call XTestGrabControl with 'impervious' flag set to True,
1564 allows us to synthesize events and query the pointer even during
1565 an active grab by another client.
1566 (spi_device_event_controller_forward_mouse_event):
1567 Set the mouse_mask_state to the mouse_button_state from
1568 the intercepted event, to synchronize the grab listener with
1571 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1573 * cspi/spi_accessible.c:
1574 (AccessibleRole_getName):
1575 Added necessary strings for making this (deprecated)
1576 method work with the new role types.
1577 (init_role_table, role_table):
1578 Added definition of SPI_ROLE_APPLICATION.
1580 * libspi/spi-roletypes.h:
1581 Added SPI_ROLE_APPLICATION.
1583 * idl/Accessibility_Role.idl:
1584 Added ROLE_APPLICATION.
1586 * docs/reference/cspi/at-spi-cspi-decl.txt:
1587 Added SPI_ROLE_APPLICATION to docs.
1589 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1591 * cspi/spi_accessible.c
1592 (cspi_init_role_table): Do not write beyond end of role_table.
1593 (Accessible_getRole): Use correct type for value returned by
1594 Accessibility_Accessible_getRole().
1596 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1597 beyond end of role_table. (This fixes bug #98269)
1599 * libspi/application.c: Add include file spi-private.h for
1600 definition of spi_init_any_nil.
1602 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1606 * libspi/spi-private.h:
1607 Added DGB() macro, and extern int _dbg declaration.
1609 * registryd/registry.c:
1610 (definitions) storage for _dbg.
1611 (spi_registry_init):
1612 Get environment variable "AT_SPI_DEBUG".
1613 (spi_registry_set_debug):
1614 New method, to initialize _dbg value.
1615 (spi_listener_struct_new, spi_registry_object_finalize):
1616 (notify_listeners_cb):
1617 Changed fprintfs to use DBG and g_warning().
1619 * registryd/deviceeventcontroller.c:
1620 (_deregister_keygrab, spi_controller_register_device_listener):
1621 Changed debug/warning messages to use DBG macro.
1623 * libspi/listener.c:
1624 (impl_notify_event):
1625 Changed warning messages to use DBG macro and g_warning().
1627 * atk-bridge/bridge.c:
1628 (atk_bridge_init, spi_atk_bridge_get_registry):
1629 (spi_atk_bridge_exit_func):
1630 (spi_atk_bridge_property_event_listener):
1631 Changed status, warning, and error messages to use
1632 g_warning, g_message, and DBG macros.
1635 Read the state of the AT_SPI_DEBUG environment variable
1636 and set a local '_dbg' accordingly.
1638 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1640 FIXES for 98836, 98842, other bugs.
1643 Revved to 1.1.4, interface-age=4, binary-age=4.
1645 * registryd/deviceeventcontroller.c:
1647 Fixed crasher bug in last_mouse_pos initialization.
1649 * registryd/registry.c:
1650 (desktop_add_application, desktop_remove_application):
1651 Added (and then commented out) some support for
1652 object context marshalling. [TODO]
1654 * atk-bridge/bridge.c:
1655 (spi_atk_bridge_event_context_create):
1656 Commented out object context creation until it can
1657 be properly tested and debugged.
1659 * registryd/registry.c:
1660 (impl_registry_notify_event):
1661 Fixed crasher bug, we were calling
1662 spi_re_entrant_list_foreach () with an empty list.
1664 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1666 * idl/Accessibility_Action.idl:
1667 * idl/Accessibility_Component.idl:
1668 * idl/Accessibility_Desktop.idl:
1669 * idl/Accessibility_Event.idl:
1670 * idl/Accessibility_Hyperlink.idl:
1671 * idl/Accessibility_Image.idl:
1672 * idl/Accessibility_Relation.idl:
1673 * idl/Accessibility_Selection.idl:
1674 * idl/Accessibility_State.idl:
1675 * idl/Accessibility_Value.idl:
1676 Updated unimplemented slot count to minimum of
1677 four for all interfaces, for ABI freeze.
1679 * idl/Accessibility_EditableText.idl:
1680 * idl/Accessibility_Text.idl:
1681 Updated unimplemented slot count to six
1684 * idl/Accessibility_Registry.idl:
1685 Updated unimplemented slot count to six
1686 (also for DeviceEventController),
1689 * idl/Accessibility_Table.idl:
1690 Updated unimplemented slot count to eight,
1693 * idl/Accessibility_Event.idl:
1694 Added CORBA_any "any_data" member to Event struct.
1696 * idl/Accessibility_Event.idl:
1697 Added CORBA_any "any_data" member to Event struct.
1699 * atk-bridge/bridge.c:
1701 atk_signal_text_changed, atk_signal_child_changed,
1702 signal ids queried from gtype system.
1703 (AtkBridgeEventContextType): New enum.
1704 (AtkBridgeEventContextData): New struct.
1705 (AtkBridgeEventContext): New struct.
1706 (atk_bridge_init_event_type_consts):
1707 New method, initializes type contants for comparison
1708 prior to emit_eventv.
1709 (atk_bridge_event_context_init): New method,
1710 initializes a CORBA_any from an AtkBridgeEventContext.
1711 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1712 initialize the event.any_data struct.
1713 (spi_atk_bridge_event_context_create): New method,
1714 creates an AtkBridgeEventContext from signal/event info.
1715 (spi_atk_bridge_event_context_free): New method.
1716 (spi_atk_emit_eventv): Changed to take an
1717 AtkBridgeEventContext parameter. We now initialize
1718 the event.any_data member prior to notifying the
1719 Registry, via the AtkBridgeEventContext.
1720 (spi_atk_bridge_property_event_listener):
1721 (spi_atk_bridge_state_event_listener):
1722 Match emit_eventv signature.
1723 (spi_atk_bridge_object_event_listener):
1724 Match emit_eventv signature, and create an
1725 event context from the event details.
1726 Free the event context afterwards.
1727 (spi_atk_bridge_window_event_listener):
1728 Create an event context, pass it to the
1732 (AccessibleEvent_getContextString):
1733 (AccessibleEvent_getContextObject):
1734 New methods, allow query of AccessibleEvent objects
1735 for more context details (via the "any_data" member
1736 of the Event struct, above).
1739 Definitions for AccessibleEvent_getContextString
1740 and AccessibleEvent_getContextObject.
1742 * cspi/spi_listener.h:
1743 (InternalEvent): New struct.
1746 (AccessibleEvent_getContextString):
1747 (AccessibleEvent_getContextObject):
1748 Implementations of new methods, for obtaining
1749 additional context information from some event types.
1751 * cspi/spi_registry.c:
1752 (SPI_registerGlobalEventListener):
1753 Added mention of active-descendant-changed event in docs.
1755 * cspi/cspi-bonobo-listener.c:
1757 Marshal the any into the AccessibleEvent via
1760 * libspi/spi-private.h:
1761 #include <orbit/orbit.h>
1763 (spi_init_any_string):
1764 (spi_init_any_object):
1765 New convenience function declarations.
1769 (spi_init_any_string):
1770 (spi_init_any_object):
1771 New convenience function implementations.
1773 * registryd/deviceeventcontroller.c:
1774 (spi_poll_dec_mouse_moved):
1775 (spi_device_event_controller_forward_mous_event):
1776 Initialize any_data member of event.
1777 (spi_deregister_controller_device_listener):
1778 Fix incorrect param pass which was preventing deregistration.
1780 * registryd/registry.c:
1781 (desktop_add_application):
1782 (desktop_remove_application):
1783 Add object data to event's any_data before dispatch.
1785 Fix for error messages from GAIL.
1787 * test/event-listener-test.c:
1788 Test new ContextString and "any_data" API:
1789 (report_text_event): New method query and output context string.
1790 (main): register a new text listener with report_text_event
1793 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1795 Fixes for bugs 98127 and 97914.
1796 * cspi/spi-roletypes.h:
1797 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1799 * cspi/spi-statetypes.h:
1800 Added SPI_STATE_MANAGES_DESCENDANTS
1802 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1803 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1804 * cspi/spi_accessible.c:
1805 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1806 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1807 Accessibility_STATE_MANAGES_DESCENDANTS
1808 * libspi/accessible.c:
1809 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1810 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1811 As requested by Bill, I also cleaned up the alignment.
1812 * libspi/relation.c:
1813 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1814 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1815 * libspi/stateset.c:
1816 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1817 Accessibility_STATE_MANAGES_DESCENDANTS
1818 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1819 Document changes reflecting modifications to roles.
1820 * docs/reference/cspi/tmpl/spi_relation.sgml:
1821 Document changes reflecting modifications to relations.
1822 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1823 Document changes reflecting modifications to states.
1825 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1828 Revved to 1.1.3, interface-age=3, binary-age=3.
1829 Added REBUILD macro.
1832 Removed accessx-gui from the tests, since we have a nice
1833 keyboard accessibility capplet now :-)
1835 * test/keysynth-demo.c:
1836 (increment_scan): removed do-nothing default: case,
1839 * test/visual-bell.c:
1840 (main) : removed do-nothing default: case,
1843 * cspi/spi_action.c:
1844 (AccessibleAction_getKeyBinding_):
1845 Documented keybinding string format.
1849 (AccessibleText_getAttributes):
1850 Documented the text attribute string format.
1851 It's changed to use semicolon delimiters also,
1852 to prevent clashes with CSS attributes, but the old
1853 trick of looking for ", " strings will still work
1854 (as unreliably as ever). Fix for bug related to 97916.
1857 Include <cspi/bonobo/cspi-bonobo-listener.h>
1858 Fixes build warning.
1859 (SPI_freeAccessibleKeySet):
1860 (AccessibleKeystrokeListener_addCallback):
1861 (AccessibleKeystrokeListener_removeCallback):
1862 Modify to use AccessibleDeviceListener API internally,
1863 instead of AccessibleKeystrokeListener.
1865 * idl/Accessibility_Event.idl:
1866 Added two more empty slots to EventListener (for a total of four).
1868 * idl/Accessibility_Accessible.idl:
1869 Added four empty slots to Accessible interface.
1871 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1873 * idl/Accessibility_Registry.idl:
1874 (KeyEventType, EventType):
1875 Marked KeyEventType as deprecated; it duplicates
1876 functionality of EventType, which has been extended to
1877 include Mouse-button events.
1878 (KeyEventTypeSeq): defined in terms of EventType.
1879 (registerDeviceEventListener, deregisterDeviceEventListener):
1880 New methods, for managing listeners to device events,
1881 which potentially may consume them.
1884 Added definition for AccessibleDeviceListener.
1886 * cspi/spi-listener.h:
1887 (enum AccessibleDeviceEventType):
1888 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1889 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1890 for backwards compat.
1891 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1892 and typedef'd AccessibleKeystroke to it for back-compat.
1893 (AccessibleDeviceListenerCB):
1894 New function prototype typedef.
1897 (AccessibleDeviceEventMask): New typedef.
1898 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1899 (AccessibleKeyMaskType):
1900 Set equivalent to AccessibleModifierMaskType for back-compat.
1901 (SPI_createAccessibleKeystrokeListener):
1902 (AccessibleKeystrokeListener_unref):
1903 Deprecated in favor of equivalent (better-named) new API below..
1904 keystroke listeners are like all device listeners.
1905 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1906 New API names for old features :-).
1907 (AccessibleDeviceListener_addCallback):
1908 (AccessibleDeviceListener_removeCallback):
1909 (SPI_registerDeviceEventListener):
1910 (SPI_deregisterDeviceEventListener):
1914 (SPI_createAccessibleKeystrokeListener):
1915 Use new preferred API, cspi_device_listener_new() and
1916 cspi_device_listener_add_cb().
1917 (AccessibleKeystrokeListener_removeCallback):
1918 Use new preferred API, cspi_device_listener_remove_cb().
1919 (AccessibleKeystrokeListener_unref):
1920 Use new preferred API, cspi_device_listener_unref().
1921 (SPI_createAccessibleDeviceListener):
1922 (AccessibleDeviceListener_addCallback):
1923 (AccessibleDeviceListener_removeCallback):
1924 Implementation of new API.
1926 * cspi/spi_registry.c:
1927 (SPI_registerDeviceEventListener):
1928 (SPI_deregisterDeviceEventListener):
1929 Implementation of new API. Fixed memory leak and removed need to
1930 allocate EventTypeSeq (thanks Michael for catching this).
1931 Squashed a wayward CORBA_exception_free that shouldn't get called.
1933 * cspi/bonobo/cspi-bonobo-listener.c:
1935 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1936 (cspi_key_event): renamed to cspi_device_event().
1937 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1938 Extended to handle mouse button events as well as key events.
1939 (CSpiKeystrokeListener):
1940 Class superceded by CSpiDeviceListener.
1941 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1942 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1944 * cspi/bonobo/cspi-bonobo-listener.h:
1945 (CSpiKeystrokeListener):
1946 Class superceded by CSpiDeviceListener.
1947 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1948 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1950 * libspi/Makefile.am:
1951 Replaced keystrokelistener.h and keystrokelistener.c
1952 with devicelistener.h and devicelistener.c; keystrokelisener.h
1953 stub retained for back-compat.
1955 * libspi/keystrokelistener.c:
1959 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1961 * registryd/deviceeventcontroller.c:
1962 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1963 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1964 (DEControllerPrivateData): Added xkb settings data.
1965 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1966 button release events (which can't be captured via XGrabButton).
1967 Don't dispatch via the 'normal' event mechanism if the device event was
1969 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1970 Handle the typeseq data in its new location (see above).
1971 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1972 New methods, for "generic" device listeners.
1973 (spi_controller_register_device_listener):
1974 Now handle mouse event listeners as well as key listeners.
1975 (spi_controller_notify_mouselisteners):
1976 New internal method.
1977 (spi_device_event_controller_forward_mouse_event):
1978 Now we notify mouse device listeners as well as generating the
1979 non-consumable "mouse:" events.
1981 We must check and restore the XKB
1982 modifier map if we consume the event, since the act of triggering
1983 a mouse event will normally reset the XKB latch. This is required for
1985 (spi_controller_register_with_devices):
1986 Load the XKB settings when registering, and register for XKB
1987 state notify events.
1988 (spi_key_eventtype_seq_contains_event):
1989 Renamed spi_eventtype_seq_contains_event, since it's used
1990 internally for all device event types now.
1991 (spi_key_event_matches_listener):
1992 Uses spi_eventtype_seq_contains_event now.
1993 (spi_device_event_controller_object_finalize):
1994 Free the private data and the XkbKeyboard struct.
1995 (impl_register_device_listener, impl_deregister_device_listener):
1996 Implementation of new IDL.
1997 (spi_deregister_controller_device_listener):
1998 New internal method.
1999 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2000 More efficient implementation, we don't have to create a new
2001 XkbControls structure every time we query.
2002 (spi_device_event_controller_class_init):
2003 Initialize the epv entries for the new IDL. Assign the
2004 "spi-dec-private" quark.
2005 (spi_device_event_controller_init):
2006 Initialize the private data.
2007 (spi_device_event_controller_forward_key_event):
2008 Removed a bogus CORBA_exception_free() call.
2010 * registryd/deviceeventcontroller.h:
2011 Replaced inclusion of keystrokelistener.h with
2014 * test/event-listener-test.c:
2015 (report_mouse_event):
2018 Added mouse-event device listener.
2020 * test/test-simple.c:
2021 (create_test_window):
2022 Fixed regression (we were instantiating a GtkRange,
2023 which is now an abstract class). Also fixed to match
2024 existing AtkRole names, this seems to have changed in ATK
2025 awhile ago; too late now I think, and the new
2026 mechanism is at least elegant and consistent with the
2027 glib enum "nick" APIs.
2029 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2031 * idl/Accessibility_Relation.idl:
2032 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2033 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2034 * idl/Accessibility_Role.idl:
2035 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2036 * idl/Accessibility_State.idl:
2037 add STATE_MANAGES_DESCENDANTS
2038 * test/event-listener-test.c:
2039 Added a listener for active-descendant events.
2041 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2043 * atk-bridge/bridge.c
2044 (atk_bridge_init): If application is Bonobo component wait until top
2045 level is added before registering
2046 (spi_atk_bridge_do_registration): New function which contains code,
2047 formerly in atk_bridge_init, to do application registration.
2048 (spi_atk_bridge_toplevel_added): Signal called when top level
2049 added to Bonobo component
2051 This fixes bug #83134.
2053 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2055 * registryd/deviceeventcontroller.c
2056 Fixed compilation error caused by calling gettimeofday()
2059 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2064 Added template for HAVE_XKB.
2067 Changes to check for XKB, and to set the HAVE_XKB #define if it
2070 * libspi/listener.c:
2071 ()impl_notify_event): Make failure to get event source name
2074 * registryd/deviceeventcontroller.c:
2075 (#include): include X11/XKBlib.h.
2076 (DEControllerPrivateData) : New struct.
2077 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2079 (dec_synth_keycode_press) (dec_synth_keycode_release):
2080 New methods; split the key synthesis code into these methods.
2081 They check XKB settings before determining the "time" values to
2082 pass to Xtest; this fixes bug #95828.
2083 (impl_generate_keyboard_event): Changed to use methods above,
2084 instead of callng Xtest directly.
2085 (spi_device_event_controller_init): Initialize new privae struct s
2087 (spi_device_event_controllr_object_finalize):
2088 Free the (new) private data.
2090 * registryd/deviceeventcontroller.h:
2091 Add new gpointer to end of struct data.
2093 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2096 Incremented revision to 1.1.2, SONAME is still '.so', library
2097 extensions are ".so.0.0.2".
2099 * registryd/deviceeventcontroller.c:
2100 FIXES FOR #93592 and #95940.
2101 (statics): renamed mouse_button_state to mouse_mask_state,
2102 added key_modifier_mask.
2103 (spi_dec_poll_mouse_moved):
2104 Added key modifier checks, and emit "keyboard:modifiers"
2105 events when the key modifiers currently in use change.
2106 Also generate "mouse:abs" events periodically, even if the mouse
2107 is stationary (should we?).
2108 Alternatively we could generate "mouse:abs" events for either all
2109 mouse movements, or every 'nth' mouse movement, or at the
2110 beginning and end of every "active" mouse period.
2112 * test/event-listener-test.c:
2113 (main): Added listener for "keyboard:modifiers" events.
2115 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2117 * libspi/keymasks.h:
2118 Added key mask #defines for mouse buttons; e.g.
2119 SPI_KEYMASK_BUTTON1, etc.
2122 Incremented dependency on ATK to version 1.1.0. (This dependency
2123 is probably premature but will soon be real enough).
2125 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2127 * libspi/hyperlink.[ch]
2128 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2129 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2132 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2137 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2139 * registryd/deviceeventcontroller.c
2140 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2141 events to be ignored.
2142 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2143 keyboard_mode so that XAllowEvents() can be called.
2147 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2149 * cspi/spi-accessible.c: Correct names of roles returned by
2150 AccessibleRole_getName(). Fixes bug #95055.
2152 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2154 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2157 * registryd/registry.c
2158 (desktop_remove_application: Write diagnostic message to stderr for
2161 (impl_accessibility_registry_deregister_global_event_listener):
2162 Correct size of lists array. This addresses bug #94555).
2164 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2166 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2169 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2171 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2174 * registryd/registry.c (impl_registry_notify_event): Remove
2175 unnecessary call to parser_event_type().
2177 * docs/reference/cspi/tmpl/spi_component.sgml:
2178 Add reference to SPI_LAYER_WINDOW.
2180 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2182 * registryd/registry.c
2183 (desktop_add_application): Remove leak.
2184 (desktop_remove_application): Remove leak.
2185 (parser_event_type): Remove leak.
2187 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2189 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2190 bogus call to CORBA_string_dup(). Also removed unnecessary
2191 g_string_dup/g_free calls.
2193 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2195 * registryd/deviceeventcontroller.c:
2196 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2198 * test/event-listener-test.c:
2199 main: commented out three redundant listeners, to reduce output
2200 noise. (They still are potentially useful for testing).
2203 2002-09-13 Michael Meeks <michael@ximian.com>
2205 * Update all the copyrights to include Ximian.
2207 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2209 * cspi/spi.h: add SPI_LAYER_WINDOW.
2211 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2212 add Accessibility_LAYER_WINDOW case.
2214 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2216 * libspi/component.c: (impl_accessibility_component_get_layer):
2217 add ATK_LAYER_WINDOW case.
2219 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2221 * configure.in: incremented micro version.
2223 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2225 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2228 Clarified and reworded our commit policy.
2231 Started an API "todo" addition list for 2.2.
2234 (impl_getSelection):
2235 Free char pointer from atk_text_get_selection, which was being leaked.
2237 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2240 Small revision to author acknowledgement.
2242 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2244 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2245 If signal has detail add it to the type of the event.
2248 2002-08-12 Michael Meeks <michael@ximian.com>
2250 * test/test-simple.c (global_listener_cb): bin bogosity.
2251 (test_keylisteners): disable, still doesn't work reliably,
2252 certainly not on my system anyway.
2254 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2255 don't leak a reference on the DEC. This round-trip
2256 fetching of the DEC per keystroke sucks, it should be
2259 * cspi/spi-private.h,
2260 * cspi/cspi-lowlevel.h,
2261 * cspi/bonobo/cspi-bonobo-listener.[ch],
2262 * cspi/bonobo/cspi-bonobo.c: get the copyright
2263 notices better - there is still a large amount of
2264 work in at-spi falsely attributed solely to Sun.
2266 * cspi/spi_main.c (cspi_object_ref): kill bogus
2267 hash lookup, just increment the ref.
2268 (SPI_freeString): make explicit the fact that we
2269 handle NULL strings just fine.
2270 (report_leaked_ref): obey coding standards.
2271 (cspi_object_hash, cspi_object_equal): kill retval.
2272 (cspi_object_release): only release if not on loan.
2273 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2274 (cspi_object_borrow, cspi_object_return): impl.
2276 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2277 use cspi_object_borrow / return.
2279 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2281 * cspi/bonobo/cspi-bonobo-listener.c:
2283 Don't call cspi_oject_new() because this is creating a new Accessible
2284 every single time that an event is fired. This causes ATs like at-poke
2285 to nolonger recognise the source of the event and thus ignore it.
2286 Re-use the object from the cache, ref it and then unref it after the
2287 listeners have been called.
2289 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2291 * test/event-listener-test.c:
2292 Added command-line options to disable mouse events (m) and
2295 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2297 * configure.in: Update required versions of ATK, GTK+ and GAIL
2299 * cspi-1.0.pc.in: Add dependency for X include files
2302 * cspi/bonobo/Makefile.am:
2303 Add $(X_CFLAGS) so that X include files
2304 are picked up even if not in standard place (bug #71686)
2306 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2308 * registryd/deviceeventcontroller.c: fix for 84261
2309 (spi_dec_mouse_moved):
2310 Added test of mouse button mask, so that we can detect mouse
2311 button release. Unfortunately we can't otherwise detect mouse
2312 button release events without consuming the mouse press event,
2313 because of the way XGrabButton works. This means that our mouse
2314 release events have a latency dependent on the polling period
2315 while the mouse button is down. At least in this case we only
2316 have to poll while the button is down, and not at other times.
2317 If the button masks don't match with what the last press event
2318 reported, we report the appropriate button release event.
2319 (spi_dec_ungrab_mouse):
2320 New method (not yet called).
2321 (spi_device_event_controller_forward_mouse_event):
2322 New method, sends mouse press event from GdkFilter.
2323 (spi_dec_init_mouse_listener):
2324 Added code to call XGrabButton, redirecting mouse button events to
2325 the root window and our Gdk event loop.
2327 Added code to filter mouse button events, and reordered.
2329 * test/event-listener-test.c:
2331 Added registration for mouse events of type "mouse:button".
2333 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2335 * registryd/deviceeventcontroller.c: partial fix for 84261
2336 (spi_dec_poll_mouse_idle):
2337 New method, a timeout which checks to see if the mouse
2339 (spi_dec_poll_mouse_moving):
2340 A timeout to be called when mouse motion is underway.
2341 (spi_dec_poll_mouse_moved):
2342 A method which fires an event if the mouse has moved, and reports
2343 whether or not it did so.
2344 (spi_dec_init_mouse_listener):
2345 A method which sets up the timeouts above.
2346 (spi_device_event_controller_new):
2347 Now calls spi_dec_init_mouse_listener.
2349 * registryd/registry.c:
2350 (spi_registry_init):
2351 Now we initialize the device event controller when the registry is
2352 initialized, instead of waiting until a client has requested a key
2353 event notification; this is because we need the event controller
2354 for mouse events, but the mouse event registration API is a
2355 "registry" call and doesn't explicitly call the
2356 deviceeventcontroller.
2357 We now report mouse motion events with a 100 ms idle latency and
2358 a 20 ms granularity when motion is in progress.
2360 * test/event-listener-test.c:
2362 We now register the "detail listener" for events of type
2363 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2364 delivered only for the first mouse event received, and thereafter
2365 "mouse:abs" events are delivered.)
2367 * cspi/spi_registry.c:
2368 DOCS: Documented the above mouse event typestrings.
2370 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2372 Happy Summer Solstice...
2374 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2375 (spi_controller_notify_keylisteners):
2376 Changes to remove a listener from the listener list, freeing its
2377 open keygrabs, if a notification to that listener fails. This
2378 means that although a dead listener can continue to hold a passive
2379 keygrab, a maximum of one dispatch to such a listener can fail
2380 before the listener is removed from the list, thus the keygrab
2381 will be released on the next occurrence.
2382 As part of this fix:
2383 (spi_notify_keylisteners):
2384 Renamed to spi_controller_notify_keylisteners, as the controller
2385 instance must now be passed as an argument.
2386 The copied 'notify' GList is now a list of DEControllerKeyListener
2387 objects, since we need more than just the CORBA reference if a
2388 notify fails and we need to deregister the listener.
2389 (impl_notify_listeners_sync):
2390 (impl_notify_listeners_async):
2391 (spi_device_event_controller_forward_key_event):
2392 Modify use of notify_keylisteners in accordance with above
2394 (spi_deregister_controller_key_listener):
2395 New method introduced by refactoring, from
2396 impl_deregister_keystroke_listener.
2397 (impl_deregister_keystroke_listener):
2398 Call spi_deregister_controller_key_listener.
2399 (spi_key_listener_clone):
2400 New method to copy a key listner without doing a 'ref' on the
2401 remote object instance; used to create a notifier list.
2402 (spi_key_listener_data_free):
2403 New method, frees data without unreffing the source.
2405 (spi_key_listener_clone_free): new method.
2406 (spi_key_listener_free):
2407 refactored to call spi_key_listener_data_free.
2409 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2411 * registryd/registry.c: [fix for bug 86048]
2412 (notify_listeners_cb):
2413 Clear CORBA system exceptions which occur when notifying
2414 listeners, before returning to the source of the original event,
2415 since the event source doesn't care if the relayed notify failed.
2416 In other words, don't complain to the atk-bridge if the registry
2417 could not notify all its listeners, that's no fault of the
2418 application and thus should not appear to be an error from the
2419 application's perspective.
2421 * cspi/spi_main.c: [fix for bug 85980]
2423 Replaced use of bonobo_object_dup_ref with call to the wrapper
2424 method, csou_dup_ref (); this silences a compiler warning and
2425 provided more portability.
2427 Ping the registry before return, and restart if necessary.
2429 * cspi/bonobo/cspi-bonobo.c:
2431 New internal method.
2433 Fixed this method to return an object reference, as it should have
2436 * cspi/cspi-lowlevel.h:
2437 Added internal definition for cspi_ping() and fixed
2438 return type of cspi_dup_ref().
2441 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2443 * atk-bridge/bridge.c: [fix for bug 85305]
2444 (spi_atk_bridge_register_application):
2445 New method where the initial application registry calls have been
2446 moved; it allows an application to re-register in response to
2447 certain error conditions (such as a registry restart, see below).
2449 Moved some initialization code to the method
2450 spi_atk_bridge_get_registry, below.
2451 (spi_atk_bridge_get_registry):
2452 New, private accessor function for the Accessibility_Registry
2453 instance. If the registry has not been started before, or has
2454 died (as detected by failure of a CORBA exception), it is
2455 restarted before return, and spi_atk_bridge_register_application
2456 is called again to register with the new bridge instance.
2457 (spi_atk_emit_eventv):
2458 Set registry_died on error; use spi_atk_bridge_get_registry () to
2459 access the registry.
2461 * registryd/registry.c:
2462 (impl_accessibility_registry_register_global_event_listener):
2463 Set listener's event_type_quark to etype.minor instead of
2464 etype.major (fix for bug 84856).
2466 * test/event-listener-test.c:
2467 (report_detail_event):
2468 Change the output string so that user/tester can tell that the
2469 'detail listener' was called instead of the 'generic listener'.
2471 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2473 Fixes for bugs 84900, 84908, 84897, 84898.
2478 Revved version to 1.1.0
2479 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2480 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2482 * idl/Accessibility_Registry.idl:
2483 (EventListener::notifyEvent):
2484 Removed 'oneway' directive after extensive consulation with
2485 ORBit2 team and others. This means also that unref() of the event
2486 source can and should be done synchronously after emission, rather
2487 than remotely in the client, after servicing the notify call on
2490 NOTE: This change speeds up listener performance considerably, but
2491 introduces new latency on the application side. We may want to
2492 add an event queue to the atk-bridge.
2494 * atk-bridge/bridge.c:
2495 (spi_atk_bridge_focus_tracker):
2496 Do a local unref() on the event source after emission.
2498 * registryd/registry.c:
2499 (desktop_remove_application):
2500 Do an unref() on the event source after emission.
2501 (desktop_add_application):
2502 Do an unref() on the event source after emission.
2503 (notify_listeners_cb):
2504 When relaying an event, don't automatically add the event source
2505 to the local object cache, just CORBA_dup it instead. Likewise,
2506 if this method reenters, release the ref rather than calling
2508 (impl_registry_notify_event):
2509 No longer call remote unref() on the event source after dispatch.
2511 * libspi/eventlistener.c:
2512 (impl_accessible_event_notify_event):
2513 Removed remote unref ()
2515 * cspi/bonobo/cspi-bonobo-listener.c:
2517 We now call cspi_object_new() instead of cspi_object_add() on
2518 receipt of an event; thus we only have an implicit object ref
2519 while the cspi_event method is being executed. If we need to keep
2520 a reference to the object, the listener must call ref() on the
2521 object. Thus also we don't need to call cspi_object_unref() after
2522 invoking the listener callbacks in this method.
2526 New internal API for creating a new cspi object, without adding it
2527 to the object cache.
2529 Now uses cspi_object_new() to create the cspi object instance.
2531 Now checks to see if the object is in the internal object cache,
2532 and adds it if necessary before incrementing its refcount (note
2533 that new objects are added with a refcount of 1).
2534 (report_leaked_ref):
2535 New method which gives some information on leaked object instances
2536 if leak detection is turned on.
2538 * test/event-listener-test.c:
2539 (timing_test_event):
2540 New method, used for testing event delivery timing for special
2541 events of type "object:test". It reports elapsed time and
2542 events/sec every 500 events.
2544 Added a new listener, 'test listener', to check timing of event
2545 receipt as noted above.
2547 Added some timing output here also, reports elapsed time every 100
2550 * test/stress-test.c:
2551 Emit events of type "object:test", for use with "event-listener-test".
2553 * test/test-simple.c:
2554 (global_listener_cb):
2555 Call Accessible_ref() on the event source before calling
2556 validate_accessible, since the validation process does pointer
2557 comparisons on the event source, meaning that the event source
2558 needs to be added to the local object cache first. Any use of
2559 such pointer comparisons between Accessible objects requires that
2560 the caller hold an explicit reference to those objects.
2561 We also must therefore call Accessible_unref() when leaving this method.
2563 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2565 * registryd/deviceeventcontroller.c:
2566 (spi_controller_update_key_grabs):
2567 Fix for #84735, subsequent keygrab listeners not informed of
2568 registration failure.
2571 (spi_base_construct):
2572 Add an assertion on construct, to make sure the GObject passed in
2573 is really a GObject.
2575 Explicitly initialize object->gobj pointer to NULL;
2577 * cspi/bonobo/cspi-bonobo-listener.c:
2578 (cspi_object_add_ref):
2579 New method, can specify whether to dup-ref a bonobo object passed
2580 in if it's newly added to the object cache.
2582 Now calls cspi_object_add_ref with second param of "FALSE". This
2583 prevents us from doing a pointless dup-ref followed by
2584 release-unref for all those cases where the object is already in
2585 our object cache (fix for #85205).
2587 * atk-bridge/bridge.c:
2588 (spi_atk_bridge_idle_init):
2589 Removed this method, we don't need to initialize in an idle
2592 Changed to call spi_atk_register_event_listeners directly, not via an
2593 idle handler. (fix for #81139)
2594 (gnome_accessibility_module_shutdown):
2595 Removed conditional around deregistration of listeners, since we
2596 don't use the idle handler and thus have always registered when
2598 (spi_init_keystroke_from_atk_key_event):
2599 Changed references to Accessibility_KEY_PRESSED to
2600 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2602 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2604 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2609 * test/stress-test.c:
2612 (may have been an incomplete commit yesterday?)
2614 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2617 Added target for new stress-test.
2619 * test/stress-test.c:
2620 New test, sends 1000 focus notifies in quick succession.
2622 * test/key-listener-test.c:
2623 Now we report whether a keylistener registration
2624 request succeeded or failed.
2626 * test/event-listener-test.c:
2627 Uncommented some listeners which are now implemented.
2630 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2632 * registryd/deviceeventcontroller.c:
2633 (spi_controller_update_key_grabs):
2634 Fix for #82509, lack of failure notification when
2635 ALL_WINDOWS keygrabs fail due to XGrabKey
2636 failure: we synchronize the server when
2637 registering a passive grab, to make sure we get the
2638 error message before the call returns.
2640 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2642 * test/test-simple.c:
2644 Removed #ifdef KEY_IMPL_WORKS guards.
2645 (test_keylisteners):
2646 Removed #ifdef KEY_IMPL_WORKS guards.
2647 Fixed bug which was causing a hang waiting for a
2648 "press" event (which was already overwritten by a "release"
2649 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2651 Added code to set globals 'key_press_received' and
2652 'key_release_received'.
2655 Added section "1.1 API Proposed Additions" which
2656 lists API additions desired for at-spi-1.1 (only one so far).
2657 Updated TODO list a little.
2659 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2661 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2664 * configure.in: Revved to 1.0.0.
2666 * idl/Accessibility_Registry.idl:
2667 (registerKeystrokeListener):
2668 Added boolean return value.
2670 * registryd/registry.c:
2671 (notify_listeners_cb): Minor fix to debug output.
2673 * registryd/Accessibility_Registry.server.in.in:
2674 Revved version number in OAFIID to 1.0.
2676 * registryd/registryd.c:
2678 Use new OAFIID version.
2680 * cspi/bonobo/cspi-bonobo.c:
2682 Use new OAFIID version.
2688 * atk-bridge/bridge.c:
2690 Use new OAFIID version.
2692 * registryd/deviceeventcontroller.c:
2693 (impl_register_keystroke_listener):
2694 Added CORBA_boolean return value.
2695 (spi_controller_register_device_listener):
2696 Added gboolean return value.
2697 (spi_controller_register_global_keygrabs):
2698 Added gboolean return value.
2699 (spi_key_set_contains_key):
2700 Added implementation for many more control keys,
2701 for instance F1-F12, arrow keys, End, Home, Page_Up,
2703 [TODO: some still not implemented].
2705 * text/screen-review-test.c:
2706 (text_chunk_pad_string):
2707 New function: it provides mapping between coordinate
2708 positions of text chunks and character positions in the
2709 screen-review-line output string.
2710 (text_chunk_to_string):
2711 New function, calls text_chunk_pad_string with various
2712 pad/delimiter characters. Pushbuttons are delimited with
2713 square brackets, Frames with vertical 'pipe' lines, and
2714 other text with double quotes.
2715 (text_chunk_list_to_string):
2716 Calls new function text_chunk_to_string.
2717 (toplevel_composite):
2718 New function to composite layers CANVAS through
2719 POPUP in each toplevel (other layers are composited
2720 across toplevels, i.e. BACKGROUND and OVERLAY).
2721 (review_buffer_composite):
2722 Revise to use new methods.
2728 2002-05-31 Laszlo Peter <laca@sun.com>
2730 * configure.in: add the Xtst libdir to the runpath on Solaris,
2731 since it's not in the default library search path.
2733 2002-05-29 jacob berkman <jacob@ximian.com>
2735 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2737 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2739 * test/screen-review-test.c:
2740 (text_chunk_pad_string):
2741 Added method, which pads the string according to the
2742 text bounds of the chunk. It also takes a 3-character
2743 string as a param which indicates the characters to be
2744 used for start, padding, and end delimitation of the chunk.
2745 (text_chunk_to_string):
2746 Changed to use text_chunk_pad_string.
2748 * configure.in: Fixed bug in AC_OUTPUT that was
2749 causing path substitution in Accessibility_Registry.server
2752 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2754 * text/screen-review-test.c:
2755 (guess_string_clip):
2756 New method which attempts a best-guess at clipping
2757 text from components (like Java labels) which don't
2758 actually implement AccessibleText. This inaccurate
2759 clip is based on the assumption that the label is
2760 justified left-and-right, and monospaced.
2761 (text_chunk_get_clipped_string):
2762 We now call guess_string_clip() for text-containing
2763 components that don't implement AccessibleText.
2765 * test/screen-review-test.c:
2766 (review_buffer_get_text_chunk):
2767 We now pull "name" from labels if they do not implement
2768 AccessibleText (i.e. for Java labels).
2769 (get_screen_review_line_at):
2770 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2773 Replaceded AC_OUTPUT target
2774 registryd/Accessibility_Registry.server with
2775 registryd/Accessibility_Registry.server.in.
2777 * registryd/Accessibility_Registry.server.in:
2778 Removed (this is now a Makefile target).
2780 * registryd/Accessibility_Registry.server.in.in:
2781 Added (source for target above). We now use $(libexecdir) as
2782 prefix for the executable at-spi-registryd.
2784 * registry/Makefile.am:
2785 Now install at-spi-registryd into $(libexecdir), and build .server
2786 file with path (see above).
2788 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2790 * test/screen-review-test.c:
2791 (text_chunk_get_clipped_string):
2792 We now check to see if words fall within clip bounds
2793 before resorting to character-by-character clip bounds testing.
2795 * TODO: Added a section for "2.2 Proposed API Additions".
2797 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2799 * test/screen-review-test.c:
2801 Added a screen review benchmarking and test program to test
2804 * cspi/spi_accessible.c:
2806 Made some of the debug strings passed to cspi_check_ev a
2807 little more specific.
2809 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2811 * test/screen-review-test.c: Fix crashes in debug statements
2813 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2815 * test/screen-review-test.c: Added this file.
2817 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2819 * atk-bridge/bridge.c: changed "object:state-change" to
2820 "object:state-changed" to match docs.
2822 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2824 * atk-bridge/bridge.c: Hooked up state-change event details.
2826 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2828 * registryd/registry.c:
2829 Fixed quarking bug in event string parsing; now events with
2830 detail parameters get matched correctly to listeners.
2833 * util/idl/Magnifier.idl: remove.
2835 * util/*.[ch]: Remove.
2836 Magnification utilities and IDL are now in module gnome-mag.
2838 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2840 * registryd/deviceeventcontroller.c:
2841 Fixed bug in grab key conversion which was causing keycode grabs
2842 to be converted to AnyKey grabs.
2845 updated NEWS file to reflect recent spin-off of gnome-mag.
2847 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2849 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2850 busted AccessibleStateSet_compare. Removed redundant casts.
2852 * cspi/spi-action.c: Removed redundant casts.
2854 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2856 * cspi/spi_component.c: Fixed typos and casting error.
2858 * cspi/spi_editabletext.c: Removed redundant casts.
2860 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2862 * cspi/spi_hypertext.c: Eliminated redundant casts.
2864 * cspi/spi_image.c: Eliminated redundant casts.
2866 * cspi/spi_registry.c: Eliminated redundant casts.
2867 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2868 * cspi/spi_selection.c: Removed redundant casts.
2869 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2870 handling. Screen geometry and text offsets were being returned as 0
2871 on error which is technically valid-- changed these to return -1.
2872 Added marshaller for text boundary types to fix bug with boundary
2873 types being passed incorrectly to atk.
2875 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2878 * cspi/spi_registry.c:
2879 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2880 which was uncovered by the recent key changes.
2882 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2884 * test/event-listener-test.c:
2886 Added new test, "event-listener-test";
2887 this code does two things; it benchmarks traversal time
2888 for the accessible hierarchy for the first running accessible
2889 app, and it connects listeners for all supported event types.
2890 It is thus useful as an example event listener and for
2891 diagnostics/debugging of event generation.
2893 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2896 Removed unnecessary dependency on libutil.
2899 Revved micro version: 0.13.1
2901 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2904 Removed util/Makefile from targets.
2907 Removed util subdir from SUBDIRS (temporarily,
2908 pending removal of magnifier-only code
2912 #ifdef-ed out magnifier dependencies, since
2913 magnifier IDL, headers, and binary now live in
2914 module gnome-mag and we don't want at-spi to depend
2915 on gnome-mag. A magnifier demo which can run alongside
2916 simple-at is forthcoming in the gnome-mag module.
2918 NOTE: Split magnifier binary, IDL, and magnification
2919 activation code from at-spi into module gnome-mag.
2921 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2923 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2924 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2926 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2929 Revved to version 0.13.0
2931 * idl/Accessibility_Registry.idl:
2932 Changed definition of KeySet from sequence of longs to sequence of
2933 KeyDefinitions, and added KeyDefinition struct.
2934 Required for fix to bug 80616.
2936 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2937 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2938 to use new definition (see above).
2940 * registryd/deviceeventcontroller.c: handle_keygrab(),
2941 spi_keyset_contains_key():
2942 Changed to make use of new struct; this allows matching based on
2943 string key-name, for instance "Tab". This also allows matching of
2944 composed characters, non-alphanumeric characters in a way that
2945 doesn't involve dependencies on X keysym codes directly, etc.
2947 * test/key-listener-test.c:
2948 Added test for Alt-Tab key using "string" specification of keyset,
2949 and modified one of the tests to use a keycode-based keyset.
2950 Thus this test both tests and demonstrates the creation and use of
2951 keysets of three forms: specified via keycode array,
2952 keysym array, and string array. (The string case only contains a
2953 single string, i.e. a string array of length 1).
2956 Turned on PRINT_TREE option by default. Also fixed a
2957 string-freeing bug in the PRINT_TREE code.
2958 Added a listener to window:minimize events.
2960 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2962 * atk-bridge/bridge.c:
2963 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2964 for window:activate and window:deactiveate
2965 (atk_bridge_property_event_listener atk_bridge_signal_listener
2966 atk_bridge_window_event_listener) Tidy debug code
2968 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2970 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2971 Fixed handling for NULL return value from ATK.
2973 * libspi/action.c libspi/component.c libspi/editabletext.
2974 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2975 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2976 Removed redundant casts.
2978 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2979 Fixed off by one bug.
2981 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2982 function not present in idl)
2984 2002-05-02 jacob berkman <jacob@ximian.com>
2986 * atk-bridge/Makefile.am: make atk-bridge a real module
2988 2002-04-26 Radek Doulik <rodo@ximian.com>
2990 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2991 atk_state_types table
2993 2002-04-22 jacob berkman <jacob@ximian.com>
2996 * libspi/Makefile.am: add deps on the built files to help
2997 automake, and don't version the ORBit typelib
2999 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3001 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3002 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3003 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3004 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3005 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3006 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3007 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3008 libspi/accessible.h libspi/accessible.h libspi/base.h
3009 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3010 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3011 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3012 libspi/spi-private.h libspi/statetset.h libspi/table.h
3013 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3014 util/mag_client.h util/mag_control.c util/mag_image.c
3015 util/mag_image.h util/magnifier.c util/magnifier.h:
3016 Add missing file headers; standardize existing ones
3018 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3020 * atk-bridge/bridge.c: Added window event support.
3022 2002-04-18 Michael Meeks <michael@ximian.com>
3024 * libspi/relation.c (impl_getNTargets): impl.
3025 (impl_getTarget): impl.
3027 * libspi/Makefile.am: fix stateset install.
3029 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3032 Started putting useful info in this file.
3034 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3036 * atk-bridge/bridge.c:
3037 Propagate state-changed notifications to ATs
3039 * cspi/spi_registry.c: update docs to reflect actual behavior of
3040 state-change events.
3042 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3045 Incremented version to 0.12.1
3047 * util/mag_client.h:
3048 Add missing declaration for magnifier_exit,
3049 used by mag_control.c - Forte compiler didn't like
3050 the implicit redeclaration of the function :-(
3053 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3056 Revved version to 0.12 due to API change (see below).
3058 * cspi/spi-roletypes.h:
3059 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3060 definition from the inline docs, and added docs
3061 for SPI_ROLE_LAST_DEFINED.
3064 * cspi/spi_streamablecontent.c:
3065 Added missing seek_type parameter to
3066 (so far unused) method,
3067 AccessibleStreamableContent_seek().
3068 [ RT approval JodyG. ]
3071 Fixed docs for SPI_createAccessibleKeystrokeListener.
3073 * cspi/spi_registry.c:
3074 Fixed docs for SPI_KEYSET_ALL_KEYS.
3076 * docs/reference/cspi/at-spi-cspi-sections.txt:
3077 Added a number of missing APIs to SECTIONS.
3079 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3081 * registryd/Makefile.am:
3083 * cspi/bonobo/Makefile.am:
3084 Add $(X_LIBS) to makefiles.
3086 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3089 Revved version to 0.11.
3091 * libspi/component.c:
3092 Added implementation for grabFocus.
3094 * idl/Accessibility_Component.idl
3095 (Accessibility_Component_grabFocus):
3096 Made this method return boolean to indicate success or failure, to
3097 be consistent with cspi and the corresponding ATK method.
3099 * idl/Accessibility_Selection.idl
3100 (Accessibility_Selection_selectAll) :
3101 Made these methods return boolean to indicate success or
3102 failure, to be consistent with cspi and the corresponding ATK methods.
3104 * idl/Accessibility_EditableText.idl
3105 (Accessibility_EditableText_setTextContents,
3106 Accessibility_EditableText_insertText,
3107 Accessibility_EditableText_cutText,
3108 Accessibility_EditableText_deleteText,
3109 Accessibility_EditableText_pasteText):
3110 Made these methods return boolean to indicate
3113 * cspi/spi_editabletext.c:
3114 Made these methods return booleans.
3116 * libspi/selection.c:
3117 * libspi/component.c:
3118 * libspi/editabletext.c:
3119 Connected the boolean returns from ATK
3120 to the server-side code referenced above.
3122 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3124 * idl/Accessibility_Table.idl: Added missing methods,
3125 Accessibility_Table_addRowSelection,
3126 Accessibility_Table_addColumnSelection,
3127 Accessibility_Table_removeRowSelection,
3128 Accessibility_Table_removeColumnSelection.
3131 Added C wrappers for above IDL:
3132 AccessibleTable_addRowSelection,
3133 AccessibleTable_addColumnSelection,
3134 AccessibleTable_removeRowSelection,
3135 AccessibleTable_removeColumnSelection.
3138 Added server-side implementation code for IDL above, connecting
3139 to pre-existing ATK api.
3141 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3143 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3145 * libspi/accessible.c: Added implementation fo
3146 Accessibility_Accessible_get_state.
3148 * libspi/libspi.h: Added stateset.h to the list of includes.
3150 * libspi/stateset.c: Fixed broken implementation.
3152 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3155 Added implementation code for Accessibility_Magnifier_exit ().
3157 * util/mag_control.c:
3158 Added test code for above method; you can
3159 now kill an existing magnifier via
3160 ./mag_control q, from the util directory.
3162 * test/key-listener-test.c:
3164 Added a new test, for our key listener API.
3166 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3168 * test/app.c, test/keysynth-demo.c:
3170 Replace use of snprintf with g_snprintf.
3171 (fix for bugzilla 78249)
3173 2002-03-27 Michael Meeks <michael@ximian.com>
3177 * util/Makefile.am (INCLUDES): fix.
3178 (DONT_DIST_SOURCE): don't distribute the
3181 * libspi/Makefile.am (dist-hook): ditto.
3183 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3185 * libspi/hypertext.c:
3186 Fix warnings when yelp is used with atk-bridge
3188 2002-03-21 Michael Meeks <michael@ximian.com>
3190 * libspi/application.c (spi_application_new):
3191 use spi_accessible_construct so we use the AtkObject
3194 2002-03-19 Michael Meeks <michael@ximian.com>
3196 * registryd/registry.c (desktop_remove_application),
3197 (desktop_add_application): clean coding style.
3199 * registryd/desktop.c (spi_desktop_remove_application),
3200 (spi_desktop_add_application): kill re-enterency hazards.
3201 (spi_desktop_dispose): remove bogus redundant cast
3202 obscuring bug; fix bug too.
3203 (spi_desktop_init): make the desktop object immortal.
3205 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3208 Added a #define-guarded tree-traversal step
3209 when enumerating the apps (diagnostic tool).
3211 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3213 * idl/Accessibility_Role.idl:
3214 Added ROLE_DRAWING_AREA which seemed to be missing from the
3217 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3219 * cspi/spi-roletypes.h cspi/spi_accessible.c
3220 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3223 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3224 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3225 AT when applications are added and removed from the desktop. This
3226 reverts the previous broken implementation using the backing
3227 AtkObject for the SpiDesktop.
3229 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3231 * registryd/desktop.c: emit the "children-changed::add" and
3232 "children-changed::remove" signals on the backing ATK object for
3233 the desktop so AT can tell when applications are started and shut
3236 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3238 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3240 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3242 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3244 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3246 * cspi/state-types.h: synched with IDL and ATK
3248 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3250 * libspi/accessible.c
3251 (impl_accessibility_accessible_get_child_at_index):
3252 Change return value for g_return_if_fail ()
3253 to CORBA_OBJECT_NIL instead of "0" (!)
3255 * registryd/Makefile.am:
3256 * registryd/Accessibility_Register.server.in:
3257 Changed name of executable, "registryd",
3258 to something more informative:
3261 2002-03-13 Michael Meeks <michael@ximian.com>
3263 * atk-bridge/bridge.c (atk_bridge_init): don't register
3264 if we're in a bonobo-component, rather than a bonobo app.
3266 2002-03-13 Michael Meeks <michael@ximian.com>
3268 * atk-bridge/bridge.c (gtk_module_init): split
3269 out body to (atk_bridge_init): here, since otherwise
3270 we get symbol conflicts and oddness when invoked
3271 from (gnome_accessibility_module_init): here (upd.)
3273 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3276 New file. Explicitly allow "build sheriff" putbacks provided
3277 they are tested on Solaris.
3279 * docs/reference/cspi/Makefile.am:
3280 Added '-' to the "cp" command for index.sgml.
3281 ("patch by thomasvs, soon coming to a GUADEC near you")
3284 Incremented version number (0.9.0) for new release.
3285 Changed macro that checks for popt, to better detect
3286 obsolete versions of popt.
3289 Added X_LIBS to AC_SUBST, for applications
3290 that call Xlib API directly.
3293 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3296 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3299 Fix regression caused by hard-coding major
3300 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3303 * test/test-simple.c (test_editable_text),
3304 (test_test): revert previous change (error was
3305 a regression in gail which is now fixed).
3307 2002-03-04 Michael Meeks <michael@ximian.com>
3309 * test/test-simple.c (test_editable_text),
3310 (test_text): pass G_MAXINT instead of '-1' for
3311 whole string - is this a good thing !?
3313 * cspi/spi_accessible.c
3314 (Accessible_getRelationSet): fix crasher bug
3315 overwriting the end of the array.
3317 * test/test-simple.c (validate_accessible): free,
3318 not g_free returned relation set.
3320 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3322 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3323 implemented stateset support
3325 * idl/Accessibility_State.idl: Made necessary changes to
3326 the IDL to support state sets.
3328 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3330 * registryd/deviceeventcontroller.c:
3331 Added implementation for generateMouseEvent.
3333 * cspi/spi_registry.c:
3334 Connected new implementation for generateMouseEvent
3337 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3340 Incremented revision (but no change in public API
3341 outside of 'utils', which are not installed public yet.)
3343 * libspi/component.c:
3344 Changed to use atk_component API for layers and
3345 mdi_zorder, instead of deprecated atk_object API.
3347 Magnification Utility Enhancements:
3350 Added implementation of createZoomRegion, clearAllZoomRegions,
3351 resizeZoomRegion. Added new commandline argument
3352 "--no-initial-region". Note that clearAllZoomRegions doesn't
3353 unmap the old '0' region as it should (yet), and the other
3354 methods only work when creating/resizing a single region,
3355 which is "region 0".
3356 (Code for multiple region support will be added later.)
3359 Now we raise the magnifier window each time it's refreshed;
3360 this will help keep it on top.
3362 * util/mag_client.h:
3363 Added simple wrappers for above, used by mag_control.
3364 For general use, it's recommended to use the bonobo magnifier
3365 control API directly instead of using these wrappers.
3368 Moved ZoomRegionData from magnifier.c to this file.
3370 * util/mag_control.c:
3371 Added some code to exercise new IDL implementations.
3373 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3375 * libspi/text.c: Provide implementation for getAttributes.
3377 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3380 Incremented revision.
3382 * test/test-simple.c:
3383 Replaced use of deprecated g_main_iteration with
3384 g_main_context_iteration.
3386 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3389 Incremented revision for desktop alpha 2.
3391 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3393 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3396 * test/simple-at.c: include netinet/in.h.
3398 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3400 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3401 use NULL, not CORBA_OBJECT_NIL.
3403 * libspi/accessible.c:
3404 (impl_accessibility_accessible_get_relation_set):
3405 allocate the sequence correctly.
3407 * libspi/remoteobject.h: kill spi_remote_object_new.
3409 * test/test-simple.c: (validate_accessible): add code
3410 to test relation sets, now all we need is to figure
3411 out how to excercise this code path :/
3413 2002-01-18 Michael Meeks <michael@ximian.com>
3415 * test/test-simple.c
3416 (key_listener_cb): consume the key.
3417 (test_keylisteners): update.
3418 (main): wait for any pending unrefs on events.
3420 * registryd/deviceeventcontroller.c
3421 (spi_controller_update_key_grabs): only re-issue the
3422 grab on a key release.
3423 (spi_device_event_controller_forward_key_event):
3424 refresh the keygrabs before we notify the listeners,
3425 to reduce the X ungrab / re-grab race.
3426 (spi_controller_register_with_devices): remove
3427 XSelectInput - we do that with the gdk_window_ call.
3428 (_spi_controller_device_error_handler): return a value.
3429 s/GDK_DISPLAY/spi_get_display/
3431 2002-01-17 Michael Meeks <michael@ximian.com>
3433 * registryd/deviceeventcontroller.c
3434 (_deregister_keygrab): don't blow out the later
3437 * test/test-simple.c (test_keylisteners): do a
3438 more intelligent validation.
3440 2002-01-14 Michael Meeks <michael@ximian.com>
3442 * atk-bridge/bridge.c
3443 (gnome_accessibility_module_init),
3444 (gnome_accessibility_module_shutdown): impl.
3445 (gtk_module_init): protect vs. double inits.
3446 (add_signal_listener): impl.
3447 (spi_atk_bridge_state_event_listener): kill
3448 (deregister_application): split out of
3449 (spi_atk_bridge_exit_func): here.
3451 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3454 Added caret tracking when using magnifier, and
3455 now use text bounds for focus tracking of text elements, rather than
3456 the component bounds - this is helpful for short text fields in long
3457 table cells, at high magnification.
3459 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3461 * registryd/deviceeventcontroller.c:
3462 Regression fix for keylistener de-registration; global keygrabs
3463 were not being released when deregisterKeystrokeListener was
3464 called in cspi, since
3465 Accessibility_DeviceEventController_deregisterKeystrokeListener
3466 was called with a zero-length keyset. That is because the cspi
3467 method, SPI_deregisterKeystrokeListener, does not take a keyset
3468 parameter but instead should remove all the key grabs held be a
3470 The code in impl_deregister_keystroke_listener was changed to copy
3471 the keylist from the listener instance previously registered with
3472 the DeviceEventController before releasing the grabs.
3474 * registryd/registry.c:
3475 * registryd/deviceeventcontroller.c:
3476 * libspi/spi-private.h:
3478 Changed spelling of "re-enterant" to "re-entrant" globally.
3480 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3482 * test/test-simple.c:
3483 Changed key listeners test - the test was slightly mis-using the
3484 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3485 It now uses '=' as the key event listened to and generated,
3486 relying on a keysym match rather than assuming that keycode 33
3487 is always equal to keysym '!'.
3489 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3492 Changed simple-at to use a specific keyset, rather than
3493 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3494 manager, desktop, etc.
3496 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3498 * registryd/deviceeventcontroller.c:
3499 Replaced standard X error handler with a special handler that
3500 is non-fatal for failed keygrabs. This works around
3501 problems with keygrab clashes sometimes observed on
3503 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3504 mouse handling code as yet).
3506 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3509 Incremented revision for desktop alpha release.
3512 Fixed a couple of the more glaring errors (still not
3515 2002-01-11 Michael Meeks <michael@ximian.com>
3517 * registryd/deviceeventcontroller.c
3518 (spi_device_event_controller_forward_key_event): kill
3519 XUngrabKey / XKeyGrab race.
3520 (spi_controller_grab_keyboard): rename to
3521 (spi_controller_update_key_grabs): this, and deal
3522 with incremental adding / removing grabs more
3524 (_register_keygrab): ensure we're not pending a remove.
3525 (spi_grab_mask_free): impl.
3526 (spi_controller_register_global_keygrabs): split out
3528 (handle_keygrab): impl.
3529 (_deregister_keygrab): impl.
3530 (spi_controller_deregister_global_keygrabs): impl.
3531 (spi_controller_update_key_grabs): re-issue the grab if
3532 we just recieved a notification.
3534 * test/test-simple.c (key_listener_cb): remove debug.
3536 * registryd/deviceeventcontroller.c
3537 (spi_controller_register_device_listener): after
3538 registering a global keygrab, actualy register it !
3539 don't wait for a timeout; doh !
3541 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3542 to make it more readable / manipulable.
3543 s/grabmask/grab_mask/ s/refcount/ref_count/
3544 s/keyval/key_val/ s/modmask/mod_mask
3546 2002-01-08 Michael Meeks <michael@ximian.com>
3548 * registryd/deviceeventcontroller.c
3549 (spi_controller_register_with_devices): use gdk calls to
3551 (global_filter_fn): implement the filter.
3552 (spi_device_event_controller_check_key_event): rename to
3553 (spi_device_event_controller_forward_key_event): this & upd.
3554 (spi_get_display): replace with GDK_DISPLAY.
3556 * registryd/deviceeventcontroller.c
3557 (spi_controller_deregister_device_listener): unroll into
3558 (impl_deregister_keystroke_listener): here to simplify.
3559 (spi_controller_register_global_keygrabs): split cut and
3560 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3561 (spi_controller_deregister_device_listener): remove.
3562 (impl_register_mouse_listener): remove, no mouse listener
3563 support in at-spi-1.0
3565 * registryd/registry.c
3566 (_device_event_controller_hook): kill.
3567 (spi_registry_init): upd.
3569 * registryd/deviceeventcontroller.c
3570 (spi_device_event_controller_class_init): upd.
3571 (spi_check_key_event): merge into.
3572 (spi_device_event_controller_check_key_event):
3573 here and kill strange static ev init, don't leak
3574 the x_event - nor dynamicaly allocate it.
3576 * registryd/registry-main.c (main): re-direct
3577 timeout to remove strange vtable mess.
3579 * registryd/deviceeventcontroller.c
3580 (remove_listener_cb): impl.
3581 (spi_controller_deregister_device_listener):
3582 fix re-enterancy hazard.
3584 2002-01-07 Michael Meeks <michael@ximian.com>
3586 * registryd/deviceeventcontroller.c
3587 (spi_device_event_controller_new): upd.
3588 (impl_notify_listeners_sync): upd. debug.
3589 (spi_notify_keylisteners): fix re-enterancy hazards,
3590 prettify, remove O(n*n) iteration.
3591 (spi_controller_grab_keyboard): fix iteration.
3592 (spi_check_key_event): re-format to suit coding style.
3593 Clean all the warnings - we're warning free.
3595 * registryd/deviceeventcontroller.h:
3596 * registryd/registry.h: make mutualy referential with
3597 typesafe forward references instead of (!) void pointer
3600 2002-01-11 Michael Meeks <michael@ximian.com>
3602 * cspi/spi_accessible.c (role_names): add a role name
3603 to sync this array with the enum; and make the regression
3606 2002-01-10 Michael Meeks <michael@ximian.com>
3608 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3609 allow expansion of enumeration & kill warning.
3611 * test/test-simple.c (key_listener_cb): impl.
3612 (test_keylisteners): impl.
3614 * cspi/spi-listener.h: make listener signatures const
3615 on the provided (const) events.
3617 * test/keysynth-demo.c: upd. to const events.
3619 * test/simple-at.c: ditto.
3621 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3624 Rev the version to 0.5 (the previous tarball was named 0.4,
3625 even though the micro number was 3), so we need to rev upwards
3626 again for beta2/"desktop-alpha"
3629 Checked in a demo script, which requires editing before use!
3630 Proceed with caution.
3633 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3635 * cspi/spi_accessible.c:
3636 Add a couple of missing enum initializations, and fix some enum
3639 * cspi/spi_registry.c:
3640 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3642 * docs/reference/cspi/at-spi-cspi-sections.txt:
3643 Remove/fix a couple of broken document references.
3646 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3647 as Alt-Control to listen for commands, since on some systems
3648 Control-Alt may already be grabbed.
3650 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3653 Update version number to 0.4 for Beta2.
3655 * libspi/accessible.c, libspi/accessible.h:
3656 Expose spi_accessible_construct, to enable libgail-gnome
3657 construction from spi_accessible subtype.
3659 * utils/magnifier.c:
3660 Workaround for bug in some non-gnome-compliant window managers
3661 which made magnifier resize improperly.
3663 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3665 * libspi/accessible.c: (spi_accessible_new) :
3666 Move the test for SPI_IS_REMOTE_OBJECT to
3667 spi_accessible_new_return, fixing a bug and compile time warning.
3669 2002-01-08 Michael Meeks <michael@ximian.com>
3671 * registryd/registry.c (parse_event_type): remove strndup.
3673 * libspi/Makefile.am (libspi_la_SOURCES): remove
3674 sources already included in the headers section.
3676 * libspi/util.c: add.
3678 * libspi/spi-private.h: add.
3680 * registryd/registry.c: update to moved list iterators.
3682 2002-01-05 Michael Meeks <michael@ximian.com>
3684 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3686 * test/test-simple.c (main): ditto.
3688 2002-01-04 Michael Meeks <michael@ximian.com>
3690 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3691 redundant construct.
3693 * registryd/registry.c
3694 (get_listener_list): impl.
3695 (impl_accessibility_registry_register_global_event_listener):
3696 re-impl. to simplify using ~, remove dodgy const cast off.
3697 (parse_event_type): constify.
3698 (impl_accessibility_registry_deregister_global_event_listener_all):
3699 re-write, more efficiency and simplicity, kill re-enterancy
3701 (compare_listener_corbaref, compare_corba_objects),
3702 (compare_listener_quarks): define out.
3703 (impl_accessibility_registry_deregister_global_event_listener):
3704 re-write for effiency, and nail re-enterancy hazard.
3705 (impl_accessibility_registry_get_desktop_list): impl.
3706 (re_enterant_list_delete_link): impl.
3707 (re_enterant_list_foreach): impl.
3708 (remove_listener_cb): impl.
3709 (_registry_notify_listeners): kill.
3710 (notify_listeners_cb): impl.
3712 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3713 (SPI_getDesktopList): impl.
3715 * test/test-simple.c (test_desktop): test the methods.
3717 2002-01-03 Michael Meeks <michael@ximian.com>
3719 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3720 keystrings since we free them
3721 (SPI_freeAccessibleKeySet): in here.
3723 * libspi/accessible.c (spi_accessible_new): kill warning,
3724 wonder what is going on with the constructor here.
3726 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3728 * libspi/accessible.c (spi_accessible_new ()) :
3729 Added check to see if AtkObject is an SpiRemoteObject before
3730 creating an SpiAccessible.
3732 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3734 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3735 Enable keygrabs using the Control modifier, now that they are
3736 working properly (they were previously disabled).
3739 Change the command keygrab for this demo to "Control+Alt", so as
3740 to conflict with fewer other key commands on the system; this
3741 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3743 Removed a pointlessly-chatty keylistener for unshifted keys
3744 (shifted keys are still reported).
3746 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3748 * libspi/remoteobject.h:
3749 * libspi/remoteobject.c:
3750 Added definitions for special AtkObject subtype, required for
3751 support of remote components (specifically, used by BonoboControl
3752 accessibility implementation).
3754 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3756 * cspi/spi.h: synched relation types with ATK
3758 * cspi/spi_accessible.c: Added implementations of
3759 AcccessibleRelation_* methods
3761 * idl/Accessibility_Relation.idl: added getRelationTypeName
3762 method. Synched known relation types with ATK. Allowed for
3763 relation type extension with the RELATION_EXTENDED type.
3765 * libspi/relation.c: Provided implementations for
3766 AccessibleRelation methods.
3768 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3770 API tweaks for today's API 'freeze'.
3773 Added placeholder functions to allow future compatible expansion
3774 of the IDL interfaces.
3776 * idl/Accessibility_Registry.idl:
3777 Changed generateKeyEvent to generateKeyboardEvent. Changed
3778 signature of this method to accept an optional keystring in
3779 parameter (for complex text input synthesis) and changed use of
3780 simple 'boolean' parameter in registerKeystrokeListener to a
3781 struct, EventListenerMode.
3783 * cspi/spi_accessible.c:
3785 * cspi/spi_streamablecontent.c:
3786 Added references to AccessibleStreamableContent interface, and
3787 definition and implementation of AccessibleStreamableContent
3790 * cspi/spi_registry.c:
3792 Changed generateKeyEvent API to generateKeyboardEvent,
3793 taking a new (optional) keystring parameter to support complex
3798 Renamed directory (to better reflect its actual purpose, bridging
3799 from at-spi to ATK). The .so module is also now named
3802 * idl/Accessibility_Hypertext.idl:
3803 * libspi/accessible.c:
3804 * libspi/hypertext.h:
3805 * libspi/hypertext.c:
3806 Changed Accessibility_Hypertext to *not* derive from
3809 * cspi/spi_registry.c:
3810 Added list of legal event type names for 'window' events, which
3811 completes the registry event API.
3813 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3815 * at-bridge/bridge.c: Added registration for separate
3816 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3817 signals. If either of the first two parameters to the generic
3818 bridge signal handler are ints, they are passed on as event
3819 details. This allows an AT to determine what text was inserted.
3821 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3823 * registryd/deviceeventcontroller.c:
3824 Fixed regressions in generateKeyEvent caused by the removal of
3825 gdk_init from registryd; we now use pure X calls to connect to the
3826 display, which makes sense because deviceeventcontroller already
3827 uses a fair bit of X API (should eventually be migrated to a
3828 'portability layer').
3830 * registryd/desktop.c:
3831 Fixed minor regression in spi_desktop_init, changed the way the
3832 desktop name is being set to work with new spi_base API
3833 (gobject-based, rather than AtkObject-based).
3835 * registryd/Makefile.am:
3836 Minor revision of makefile to use XTST_LIBS variable rather than
3837 hard-wiring the Xtst LD_ADD element.
3839 * test/keysynth-demo.c:
3840 Tweaked an output message; added initialization of the
3841 'keystrings' member of the "switch listener" key_set.
3843 * libspi/relation.c:
3844 Squashed compile-time warning.
3846 * libspi/accessible.c:
3847 Cosmetic and formatting fixes, renamed a static method.
3849 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3851 * libspi/accessible.c
3853 * libspi/application.c
3856 * libspi/component.c
3857 * libspi/editabletext.c
3858 * libspi/hyperlink.c
3859 * libspi/hypertext.c
3861 * libspi/selection.c
3865 * registryd/desktop.c:
3866 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3868 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3870 * idl/Accessibility_Registry.idl:
3871 Added boolean member 'is_text' to DeviceEvent. This is for the
3872 use of key events, and helps prevent ambiguity between composed
3873 key strings and keysym names, since both may potentially be
3874 returned in the 'event_string' member.
3876 * at-bridge/bridge.c:
3877 * registryd/deviceeventcontroller.c:
3878 Use the 'is_text' member when notifying device event listeners.
3879 Knon issue: composed characters are not dealt with correctly by
3880 the global key listener implementation yet.
3882 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3884 * at-bridge/bridge.c:
3885 Namespaced local static methods to spi_atk_bridge_* where
3886 previously named bridge_*, and spi_* elsewhere.
3888 * at-bridge/bridge.c:
3889 * cspi/bonobo/cspi-bonobo-listener.c:
3890 Added demarshalling/conversion for string member of
3891 Accessibility_DeviceEvent to AccessibleKeystroke.
3893 * registryd/deviceeventcontroller.c:
3894 Added code to fill the Accessibility_DeviceEvent key string value
3895 member for global key events (i.e. from XGrabKey), to match
3896 behavior of Accessibility_DeviceEvent from the toolkit key events
3897 from the bridge. Fixed timestamp in global key event notifications.
3900 Added printout of key event's string value to
3901 report_ordinary_key_event, for demo/debugging purposes.
3903 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3905 * idl/Accessibility_Registry.idl:
3906 Removed Accessibility_KeyStroke structure in favor of generic
3907 Accessibility_DeviceEvent structure.
3908 Changed Accessibility_ControllerEventMask from a struct to an
3911 * at-bridge/bridge.c:
3912 Changed APIs to use DeviceEvent structure as above, and removed
3913 bogus casting between these event structures.
3915 * cspi/spi-listener.h:
3916 Added keystring member of AccessibleKeystroke structure, to enable
3917 matching on event "names" rather than only hardware codes and
3921 Added keystrings member of AccessibleKeySet struct, to allow
3922 matching on event names (as above).
3923 Added declarations for SPI_createAccessibleKeySet and
3924 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3925 event modmasks directly as unsigned ints rather than structs with
3926 refcounts, in the DeviceEventController methods.
3928 * cspi/spi_registry.c:
3929 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3931 * cspi/spi-roletypes.h:
3932 Added documentation of newly added SPI Roles.
3934 * cspi/bonobo/cspi-bonobo-listener.c:
3935 Changes in support of API changes above.
3937 * libspi/accessible.c:
3938 Converted APIs to use DeviceEvent structure (see IDL changes
3941 * registryd/deviceeventcontroller.c:
3942 Added DEControllerGrabMask structure to track keygrabs not only by
3943 modmask but by keyset as well; this allows us to do "global"
3944 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3945 grabbing on AnyKey and then filtering after-the-fact.
3946 Bugfixes for event filtration mean that we don't get false matches
3947 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3949 * registryd/deviceeventcontroller.c:
3950 Namespaced a number of static methods to use spi_ prefix. Major
3951 revision to internals of global (i.e. X) key grabs.
3953 * registryd/deviceeventcontroller.h:
3954 Removed keymask_list and added keygrabs_list to
3955 SpiDeviceEventController struct.
3958 Added use of SPI_createAccessibleKeySet API when creating a
3959 listener for only one key. Attach a listener to "shift spacebar
3960 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3961 X key event names to SPI key event names, so that listeners are
3962 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3964 * test/keysynth-demo.c:
3965 Changed (incorrect) use of X key event names (KeyPressed,
3966 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3969 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3971 * libspi/accessible.c:
3972 Convert all AtkRole enumerations to Accessibility_Role enums when
3973 getting a role from an AtkObject.
3975 * cspi/spi_accessible.c:
3976 Complete the conversion of Accessibility_Role enums at runtime to
3977 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3978 role enums correctly match those given in spi-roletypes.h.
3979 Re-synchronize the local names list for AccessibleRole_getName ().
3980 AccessibleRole_getName is now deprecated, since it duplicates the
3981 more reliable Accessible_getRoleName.
3982 Added some role types from Accessibility_Role.idl.
3984 * idl/Accessibility_Role.idl:
3985 Added some role types used by AtkRole.
3987 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3990 * cspi/spi_registry.c:
3992 * cspi/cspi-bonobo-listener.c:
3993 Namespaced all methods that did not begin with an "SPI_" or
3994 "Accessible" prefix to "SPI_".
3997 Homogenized internal function namespace to "cspi_" for statics.
4000 Patched tests to use the new CSPI API.
4002 * docs/reference/cspi/at-spi-cspi-sections.txt:
4003 Updated docs to reflect namespace changes, and added a number of
4004 methods to the documentation.
4006 * registryd/registry.c:
4007 Changed use of strings and string hashes in listener event
4008 matching and parse_event_string to use GQuark, which is guaranteed
4011 * registryd/registry.h:
4012 Squashed annoying warning.
4014 * idl/Accessibility_Role.idl:
4015 Extended range of available Accessibility_Role values.
4017 * cspi/spi_accessible.c:
4018 Re-ordered role names.
4020 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4022 * idl/Accessibility_Value.idl:
4023 Revert use of union back to CORBA_double, since the double type is
4024 more efficient and can contain the other types without loss of
4027 * idl/Accessibility_Accessible.idl:
4028 Added method Accessibility:Accessible:getRoleName, to complement
4029 Accessibility:Accessible:getRole.
4031 * cspi/spi_accessible.c:
4033 Added C binding for above, Accessible_getRoleName (), and changed
4034 signature of Accessible_getRole () to return an AccessibleRole.
4036 * cspi/spi-roletypes.h:
4037 Changed AccessibleRole_getName to return a char * instead of a
4038 const char *. This method is now at least temporarily deprecated
4039 in favor of asking Accessibles for their RoleNames directly.
4042 Revert to match Accessibility_Value.idl;
4046 Change signature of AccessibleValue methods to use double rather
4050 * cspi/spi_accessible.c:
4051 Changed Accessible_getRole to return an AccessibleRole enum rather
4052 than a UTF-8 string. The UTF-8 string can still be obtained via
4053 AccessibleRole_getName ().
4055 * test/test-simple.c:
4056 Add test_action. Small fixup to match API change to Accessible_getRole.
4059 Bugfix for get_action_from_servant ().
4061 2001-12-11 Michael Meeks <michael@ximian.com>
4063 * libspi/libspi.h: remove registry.h and
4064 desktop.h, deviceeventcontroller.h
4066 * libspi/Makefile.am: remove registry.[ch],
4067 desktop.[ch], deviceeventcontroller.[ch]
4069 * registryd/Makefile.am: add registry.[ch],
4070 desktop.[ch], rename registryd.c to registry-main.c.
4071 add deviceeventcontroller.[ch]
4073 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4076 Replace setenv() call with putenv ().
4078 * libspi/component.c:
4079 Bugfix in AccessibleComponent_getExtents (),
4082 2001-12-11 Michael Meeks <michael@ximian.com>
4084 * libspi/image.c (impl_getImageExtents): impl.
4085 (spi_image_class_init): upd.
4088 (AccessibleImage_getImageDescription): fix daft bug
4091 * test/test-simple.c (global_listener_cb): update
4092 to only quit if not --poke
4093 (main): catch --poke.
4094 (validate_accessible): upd. dumping, call test_image
4097 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4100 * idl/Accessibility.idl: update all IDL includes.
4102 * idl/*.idl - rename to namespace - this sucks, blame
4103 mjs' bad decision for oafd.
4105 * test/test-simple.c (create_test_window): add more tests.
4106 (create_tree): split this out.
4107 (validate_accessible): bugfix.
4109 2001-12-11 Michael Meeks <michael@ximian.com>
4111 * cspi/bonobo/cspi-bonobo-listener.c:
4112 (cspi_kestroke_listener_unref),
4113 (cspi_event_listener_unref): impl. undoing previous
4114 homenous environment - for Bill.
4116 * cspi/spi_table.c (long_seq_to_array): use
4119 * cspi/spi_main.c: split out all bonoboish bits into
4122 * cspi/spi-impl.h: upd. typedefs.
4124 * cspi/spi_registry.c: update to lowlevel API,
4125 return booleans to indicate success in some places.
4127 * cspi/spi_event.c: update to lowlevel API.
4129 * cspi/bonobo/Makefile.am: add.
4131 * cspi/bonobo/cspi-lowlevel.h: add
4133 * cspi/bonobo/cspi-bonobo.c: add
4135 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4137 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4138 (SUBDIRS): add bonobo, link in the libs.
4140 * cspi/spi-util.c: kill this file.
4142 * TODO: merge in my bits.
4144 2001-12-11 Michael Meeks <michael@ximian.com>
4146 * test/test-simple.c (test_value, test_table, main):
4147 remove unused variables causing warnings.
4149 * configure.in: cleanup checks - require gail.
4151 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4154 Changed Value interface to use SValue (scalars) rather than
4155 assuming all values are floats. This allows floats, doubles,
4156 longs, shorts, and unsigned values to be manipulated.
4157 Introduced Accessibility:SValue union.
4160 Updated to use new API above, and to work correctly with GValues
4161 of different types in AtkValue.
4164 Updated to use new API above. cspi's API is as yet unchanged.
4167 Updated the Value revision action item.
4169 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4171 * test/test-simple.c:
4172 Added test_table (GtkTreeView widget in test window to follow).
4173 Un-commented test_value, added GtkRange widget.
4174 Added GtkTreeView widget with GtkListStore. It passes regression
4175 test but leaks one SPI object for some reason.
4178 Fixed bug in impl__set_currentValue.
4180 2001-12-10 Michael Meeks <michael@ximian.com>
4182 * cspi/spi_text.c: audit for exception handling,
4183 tolerating NULL object references safely etc.
4185 * cspi/spi_value.c: ditto.
4187 * cspi/spi_table.c (AccessibleTable_getSummary),
4188 (AccessibleTable_getAccessibleAt),
4189 (AccessibleTable_getRowHeader),
4190 (AccessibleTable_getColumnHeader),
4191 (AccessibleTable_getCaption): fix bugs hidden by
4193 (long_seq_to_array): impl.
4194 (AccessibleTable_getSelectedRows),
4195 (AccessibleTable_getSelectedColumns): use it.
4197 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4200 Added a TODO list (rough and short for now).
4202 * cspi/spi_hyperlink.c:
4203 * cspi/spi_hypertext.c:
4204 Fixed macro name typos, and remove use of obsolete macro in
4205 AccessibleHyperlink_getLink.
4207 * cspi/spi_action.c:
4208 * cspi/spi_accessible.c:
4209 * cspi/spi_application.c:
4210 * cspi/spi_component.c:
4211 * cspi/spi_selection.c:
4214 Documentation fixes (removed return values from ref/unref methods).
4216 2001-12-10 Michael Meeks <michael@ximian.com>
4218 * cspi/spi_action.c: audit for exception handling,
4219 tolerating NULL object references safely etc.
4221 * cspi/spi_accessible.c: ditto.
4223 * cspi/spi_component.c: ditto.
4225 * cspi/spi_editabletext.c: ditto.
4227 * cspi/spi_hyperlink.c: ditto.
4229 * cspi/spi_hypertext.c: ditto.
4231 * cspi/spi_image.c: ditto.
4233 * cspi/spi_selection.c: ditto.
4235 2001-12-10 Michael Meeks <michael@ximian.com>
4237 * configure.in: use cspi/libspi.pc.in instead.
4239 * Makefile.am (pkgconfig_DATA): upd. to match.
4241 * test/simple-at.c (report_focus_event): kill hacks around
4242 bad return values, use putenv not setenv
4244 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4245 fire ChildGone - I killed it.
4247 * libspi/component.c
4248 (impl_accessibility_component_get_extents): remove
4251 * idl/Accessible.idl: kill ChildGone exception.
4253 * cspi/*.[ch]: kill int return from ref / unref.
4255 * cspi/spi_main.c (cspi_object_add_check): fold into
4256 (cspi_object_add): here.
4258 * cspi/spi_component.c (AccessibleComponent_getExtents):
4259 handle exceptions elegantly.
4261 * cspi/spi-private.h (cspi_check_ev_return),
4262 (cspi_return_if_fail): impl.
4264 * cspi/spi_accessible.c: use extensively.
4265 (AccessibleStateSet_equals): add direct compare check.
4267 * cspi/spi_selection.c: tolerate NULL objs, and check
4268 exceptions before return.
4270 * cspi/spi-util.c (cspi_warn_ev): rename to
4271 (cspi_check_ev): this & don't pass ev in; no point.
4273 2001-12-10 Michael Meeks <michael@ximian.com>
4275 * test/test-simple.c: use putenv not setenv
4276 (get_environment_vars): more chatty if you're not using
4279 * test/simple-at.c: do the setenv so more people see the
4282 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4284 * libspi/registry.c:
4285 Changed check of CORBA_environment on notification to be a warning
4286 instead of an error for the moment, since we can recover from this
4287 error when caused by a queued notification from a dead app.
4290 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4291 used by all current implementors of AtkValue), and coerce to
4292 CORBA_float. (Proper general case fix may require change to Value.idl).
4294 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4298 * cspi/spi_accessible.c:
4299 Documentation fixes: added user_data params to documentation for
4300 listeners and callbacks.
4302 * cspi/spi_accessible.c:
4303 Changed AccessibleStateSet_compare to return a
4304 StateSet rather than return the difference set into a third parameter.
4307 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4310 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4311 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4315 Remove subdirectory po from SUBDIRS for now.
4317 * at-bridge/bridge.c:
4318 Beefed up a couple of debug printouts.
4319 One-line fix for signal notification name formatting.
4321 * libspi/accessible.c:
4322 Added assertion to spi_accessible_new ().
4324 * libspi/application.c:
4325 Put #ifdef qualifiers around a printf.
4328 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4330 * registryd/Makefile.am:
4332 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4333 INTLTOOL_SERVER_RULE macro.
4336 Added an event listener for several ATK signals, for
4337 testing and debugging. Removed a few g_warnings.
4338 Added test output if focussed item implements the Value interface.
4340 * test/test-simple.c:
4341 Added test_value () function (known not to pass at the moment, so
4342 not actually called yet.
4344 2001-12-08 Michael Meeks <michael@ximian.com>
4346 * at-bridge/bridge.c (bridge_focus_tracker),
4347 (emit_eventv): fix the same ref. leak.
4348 (register_atk_event_listeners): don't leak.
4350 * cspi/spi-listener-impl.c (cspi_event): more
4351 protection from client code.
4353 * test/test-simple.c (test_desktop): unref the app.
4355 * test/Makefile.am: upd. TESTS.
4357 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4359 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4361 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4363 * cspi/spi_registry.c: constify in strings.
4364 (deregisterGlobalEventListenerAll): don't release the ref.
4366 * cspi/spi.h: start removing redundant / conflicting
4367 gtkdoc comments, making the API readable at a glance :-)
4369 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4371 * test/keysynth-demo.c (keysynth_exit, main): upd.
4373 * test/simple-at.c (main, simple_at_exit): upd.
4375 * test/test-simple.c (unutterable_horror): kill.
4376 (utterable_normal_derefs): kill.
4377 (main): upd & do a setenv before gtk_init, so that we
4378 can use memprof - and to save the pain of remembering
4379 this, if we're running under memprof - don't exit.
4381 * cspi/spi_main.c (SPI_exit): return exit status
4383 (SPI_event_quit): impl.
4384 (SPI_event_main): simplify.
4385 (cspi_is_gnome_app): kill.
4386 (SPI_init): kill isGNOMEapp arg.
4388 * at-bridge/bridge.c (register_atk_event_listeners):
4389 re-instate the unref.
4390 (bridge_exit_func): don't re-activate the registry,
4391 protect vs. theoretical re-entry, use the
4392 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4393 assert a clean shutdown - for regression tests.
4395 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4397 * configure.in: Comment out dummy i18n support for now,
4398 otherwise it fails to build.
4399 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4400 EXTRA_DIST. They are missing in tarball.
4402 2001-12-07 Michael Meeks <michael@ximian.com>
4404 * util/magnifier.c: kill bonobo activation reg. race.
4406 * libspi/component.c
4407 (impl_accessibility_component_get_extents): make it match
4410 * libspi/registry.c (_registry_notify_listeners):
4411 re-remove X headers & reconcile conflicts.
4412 (spi_listener_struct_free): bad conflict resolve.
4413 (impl_accessibility_registry_register_application):
4414 more bad merging fixed.
4415 (impl_accessibility_registry_deregister_application): ditto.
4416 (spi_registry_new): ditto.
4417 (spi_registry_init): don't have an applications field.
4419 [ merge fixups2 branch to here ]
4420 2001-12-07 Michael Meeks <michael@ximian.com>
4422 * test/simple-at.c (report_focus_event),
4423 (report_focussed_accessible): remove g_warning debug.
4425 2001-12-07 Michael Meeks <michael@ximian.com>
4427 * test/test-simple.c (validate_tree): comment out some checks.
4428 (test_desktop): app now not registered idly - horay.
4430 2001-12-07 Michael Meeks <michael@ximian.com>
4432 * cspi/spi_registry.c
4433 (registerAccessibleKeystrokeListener): clean, stop it leaking
4434 great swathes of memory, and device event controller references.
4435 ensure we always pass valid sequences.
4436 (deregisterAccessibleKeystrokeListener): ditto.
4437 (generateKeyEvent): upd.
4439 * at-bridge/bridge.c (bridge_key_listener): handle
4440 registry dead exception gracefully.
4441 (bridge_focus_tracker, emit_eventv): free ev.
4443 * test/simple-at.c (report_focus_event): fix polarity.
4445 * libspi/application.c (notify_listeners): kill the ev
4446 argument, and make sure we init the ev we use.
4447 (spi_application_object_event_listener): split out a chunk
4448 (get_atk_object_ref): here & fixup.
4449 (reverse_lookup_name_for_toolkit_event): make const.
4450 (spi_application_toolkit_event_listener): fixup, kill leaks
4453 * at-bridge/bridge.c (register_atk_event_listeners):
4454 don't unref the noop object - causes grief.
4456 * libspi/registry.c: remove the X headers.
4457 turn off the debug churn.
4459 * libspi/accessible.c (spi_accessible_new_return): only
4460 release the ref if we are supposed to [doh]
4462 * test/simple-at.c (report_button_press, report_focus_event):
4463 guard vs. unexpected exit.
4465 * at-bridge/bridge.c (gtk_module_init): prune printf.
4466 (bridge_exit_func): fix app unref.
4468 * libspi/Makefile.am: don't install registry or desktop.h
4470 * libspi/*.h: update includes.
4472 * libspi/application.h: don't include ourself, or
4473 other redundant headers.
4475 2001-12-06 Michael Meeks <michael@ximian.com>
4477 * libspi/accessible.c
4478 (get_accessible_from_servant): impl.
4479 Upd. all CORBA impl.s to use it killing cut and paste.
4481 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4483 (SPI_init): register atexit cleanup handler here.
4485 2001-12-06 Michael Meeks <michael@ximian.com>
4487 * at-bridge/bridge.c (gtk_module_init): g_error on
4488 activation exception
4490 2001-12-06 Michael Meeks <michael@ximian.com>
4492 * at-bridge/bridge.c (gtk_module_init): some sort of
4493 confusing merge clash - reverted.
4494 (bridge_idle_init): ditto.
4496 * test/test-simple.c (main, utterable_normal_derefs):
4497 merge from Bill - somehow not committed.
4499 2001-12-06 Michael Meeks <michael@ximian.com>
4501 * libspi/value.c (spi_value_class_init): upd.
4502 (spi_value_finalize): kill.
4504 * libspi/table.c (spi_table_finalize): kill.
4505 (spi_table_interface_new): upd.
4506 (spi_table_class_init): upd.
4507 (get_table_from_servant): impl.
4508 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4510 * libspi/selection.c (spi_selection_finalize): kill.
4511 (spi_selection_interface_new): upd.
4512 (spi_selection_class_init): upd.
4513 (get_selection_from_servant): impl.
4514 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4516 * libspi/relation.c (spi_relation_finalize): kill.
4517 (spi_relation_class_init, spi_relation_new): upd
4519 * libspi/image.c (spi_image_finalize): kill.
4520 (spi_image_class_init): upd.
4521 (spi_image_interface_new): upd.
4522 (get_image_from_servant): impl.
4523 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4525 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4526 (spi_hyperlink_finalize): kill.
4527 (spi_hyperlink_new): upd.
4528 (get_hyperlink_from_servant): impl.
4529 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4531 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4532 (spi_hypertext_finalize): kill.
4533 (spi_hypertext_class_init): upd.
4534 (get_hypertext_from_servant): impl.
4535 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4537 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4538 (spi_editable_text_interface_new): upd.
4539 (get_editable_text_from_servant): impl.
4540 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4542 * libspi/text.c (get_text_from_servant): impl.
4543 All impls - update to use it killing more cut and paste,
4544 also fix bad string returns on duff args ( a somewhat
4545 impossible case to handle - but hey ).
4546 (spi_text_construct): impl.
4547 (spi_text_interface_new): upd.
4548 (spi_text_object_finalize): kill.
4550 * libspi/component.c
4551 (accessibility_component_object_finalize): kill.
4552 (spi_component_class_init): upd.
4553 (get_component_from_servant): impl. helper to kill cut & paste.
4554 (impl_accessibility_component_contains):
4555 (impl_accessibility_component_get_accessible_at_point):
4556 (impl_accessibility_component_get_position):
4557 (impl_accessibility_component_get_extents):
4558 (impl_accessibility_component_get_mdi_z_order):
4559 (impl_accessibility_component_get_layer):
4560 (spi_component_interface_new): upd.
4562 * libspi/action.c (spi_action_finalize): kill.
4563 (spi_action_class_init): upd. inherit from SpiObject.
4564 (spi_action_interface_new): upd.
4565 (get_action_from_servant): impl. helper to reduce cut & paste.
4566 (impl_getKeyBinding, impl_getName, impl_doAction),
4567 (impl_getDescription): Use it everywhere.
4569 * cspi/spi_main.c (get_live_refs): a pointer hash.
4570 (spi_object_hash, spi_object_equal): comment out.
4571 There are issues with CORBA object hashing that need
4574 * libspi/application.c (spi_application_init),
4575 (spi_application_new): upd.
4577 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4578 (spi_accessible_class_init): upd.
4579 s/accessible/object/ in epv methods.
4581 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4583 * at-bridge/bridge.c:
4584 Reorder the bridge initialization into the bridge gtk_module_init,
4585 an immediate call to bridge_register_app, and an idle_add for
4586 register_atk_event_listeners (the only code that *must* wait until
4587 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4588 the activation, creates the application's Accessible object, and
4589 queues the bridge_idle_init function. Restored call to
4590 Accessibility_Registry_deregisterApplication().
4591 Prior to making this call we obtain a new reference to the
4592 registry, which is a temporary hack that helps us handle apps that
4593 shut down the bonobo mainloop before we get there.
4595 * libspi/registry.c:
4596 Fix string leakage in debug block, and don't segv if a an app
4597 dies before its event notifications have been propagated.
4600 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4601 as stopgap measure until we get proper exception handling when
4602 objects die during or before interrogation.
4606 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4607 Also changed default value of is_gnome_app to TRUE.
4610 * test/keysynth-demo.c:
4611 Changed use of SPI_init and SPI_event_main to reflect API change above.
4614 Made report_focus_event check the warning value from getName
4615 before reporting on focussed accessible; simplifies handling of
4616 notifications from dead objects.
4618 * test/test-simple.c: (Changes not in this patch since source is
4621 2001-12-05 Michael Meeks <michael@ximian.com>
4623 * registryd/registryd.c (main): protect against
4624 bonobo-activation startup race condition.
4626 * cspi/spi_main.c (cspi_object_add_check): cope
4627 with the exception elegantly.
4629 * idl/Accessible.idl: decl. ChildGone
4631 * libspi/desktop.c (spi_desktop_dispose): impl.
4632 (spi_desktop_class_init): upd.
4633 (spi_desktop_add_application),
4634 (spi_desktop_remove_application),
4635 (abnormal_application_termination): impl.
4636 (impl_desktop_get_child_at_index): re-impl.
4639 (impl_accessibility_registry_deregister_application),
4640 (impl_accessibility_registry_register_application):
4641 kill excessive debug clutter.
4643 * test/test-simple.c (test_misc): test some NULL
4644 tolerance. (main): upd.
4646 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4647 implements no interfaces - so let's not crash.
4649 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4651 * libspi/accessible.c (spi_accessible_new_return): impl.
4652 helper to calm the cut and paste, to cope with
4653 NULL AtkObjects effectively and efficiently, and to kill
4654 the referencing bugs.
4656 * libspi/table.c (impl_getAccessibleAt),
4657 (impl_getRowHeader, impl_getColumnHeader): upd.
4659 * libspi/hyperlink.c (impl_getObject): upd.
4661 * libspi/accessible.c
4662 (impl_accessibility_accessible_get_child_at_index): upd.
4664 * libspi/component.c
4665 (impl_accessibility_component_get_accessible_at_point): upd.
4667 * test/test-simple.c (test_editable_text, test_text): impl.
4670 * cspi/spi_editabletext.c
4671 (AccessibleEditableText_insertText): constify.
4673 * test/test-simple.c (focus_me): make more robust.
4675 * libspi/accessible.c: remove some printfs in methods that
4676 we test and work fine, so we can get a clean tree dump.
4678 * test/test-simple.c (validate_accessible),
4679 (validate_tree): make tree dumping pretty too.
4681 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4682 it builds without debug on.
4684 * test/test-simple.c (validate_accessible): fix the most
4687 * cspi/spi_main.c (spi_object_release): leave the nicely
4688 blanked memory around if in debug mode.
4690 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4692 [committed to fixups2]
4693 2001-12-05 Michael Meeks <michael@ximian.com>
4695 * libspi/editabletext.c
4696 (spi_editable_text_class_init): g_type_class_peek_parent,
4697 not interface peek - so we finalize cleanly.
4699 * libspi/accessible.c (spi_accessible_new): kill debug.
4701 * test/test-simple.c (validate_accessible): fix ref.
4702 leak, print strings before freeing them; sigh, comment a
4703 chunk out due to strangeness.
4704 (validate_tree): unref the child after use.
4706 * cspi/spi_component.c (AccessibleComponent_getLayer):
4707 add missing break statement, switch on zlayer not the
4708 uninitialized retval.
4710 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4711 before (possibly re-entering) remote unref.
4713 * test/simple-at.c (main): unref the desktop.
4715 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4718 * cspi/spi_main.c (cspi_accessible_is_a): here to
4719 isolate bonobo API usage more.
4721 * libspi/registry.c (impl_accessibility_registry_register_application):
4722 prune bogus comment.
4724 2001-12-04 Michael Meeks <michael@ximian.com>
4726 * test/test-simple.c (validate_tree): upd.
4727 IndexInParent check to make it more lucid.
4728 (validate_accessible): dump the tree.
4730 * libspi/accessible.c (de_register_public_ref),
4731 (get_public_refs): impl.
4732 (spi_accessible_new): make more efficient & intuitive.
4733 Now IndexInParent check works.
4735 2001-12-04 Michael Meeks <michael@ximian.com>
4737 * cspi/spi-util.h: remove.
4739 * cspi/spi.h: move SPI_freeString here
4741 * libspi/component.c (impl_accessibility_component_get_layer):
4743 (impl_accessibility_component_get_mdi_z_order): ditto,
4744 return -1 on error - is this ok ?
4746 * test/test-simple.c (test_application): impl.
4748 * cspi/spi_accessible.c (Accessible_getApplication),
4749 (Accessible_isApplication): impl.
4751 * libspi/registry.c (spi_listener_struct_free): release
4752 the CORBA reference too.
4754 * libspi/accessible.c
4755 (impl_accessibility_accessible_get_parent): fix ref leak.
4757 * libspi/registry.c (spi_registry_new): make the registry
4758 immortal - we don't want it to go away ever.
4760 * libspi/application.c
4761 (spi_accessible_application_finalize): impl. cleanup.
4763 * cspi/spi_registry.c
4764 (deregisterGlobalEventListenerAll),
4765 (deregisterGlobalEventListener),
4766 (deregisterAccessibleKeystrokeListener): fix ref leak.
4768 * cspi/spi_main.c (SPI_init): remove redundant ref.
4770 * test/test-simple.c (unutterable_horror): impl. to force a
4775 (impl_accessibility_registry_deregister_application): release
4776 the application when we de-register it.
4778 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4779 until we have the infastructure to get it right.
4781 2001-12-03 Michael Meeks <michael@ximian.com>
4783 * libspi/Makefile.am: only build eventlistener.[ch]
4785 * libspi/accessible.c
4786 (impl_accessibility_accessible_get_child_at_index): don't leak.
4788 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4789 before we hit the idle handler.
4791 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4792 debugging than exit.
4794 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4796 * libspi/listener.c (impl_notify_event): check source
4797 not NIL before unref.
4799 * libspi/registry.c (impl_registry_notify_event): ditto.
4801 * libspi/eventlistener.c
4802 (impl_accessible_event_notify_event): unref the source.
4804 * libspi/accessibleeventlistener.c
4805 (impl_accessible_event_notify_event): unref the source.
4807 * idl/Event.idl: remove 'hash_id' attribute - of no
4810 * libspi/application.c (notify_listeners): upd list
4812 (spi_application_object_event_listener),
4813 (spi_application_toolkit_event_listener): upd to do correct
4817 (_registry_notify_listeners): update.
4818 (parse_event_type): this method also leaks like a sieve.
4819 (impl_accessibility_registry_deregister_global_event_listener):
4820 fix ETYPE_WINDOW case.
4822 * libspi/application.c
4823 (impl_accessibility_application_register_object_event_listener):
4826 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4828 * libspi/hypertext.c (impl_getLink): ditto.
4830 * cspi/spi_main.c (cspi_object_add): remove
4831 bogus CORBA_Object_duplicate.
4833 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4836 * cspi/spi_accessible.c
4837 (Accessible_getRelationSet): fix leak / referencing issue.
4839 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4840 (cspi_object_add, cspi_object_unref): upd.
4841 (spi_object_release, get_live_refs): impl.
4842 (cspi_cleanup): simplify.
4844 * *.[ch]: s/boolean/SpiBoolean/
4846 * cspi/spi_accessible.c (role_names): actualy order so it
4847 corresponds with the enum !
4849 * test/test-simple.c (test_roles): check some role strings
4850 vs. enums to detect offset errors.
4852 2001-12-01 Michael Meeks <michael@ximian.com>
4854 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4856 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4858 (Accessible_getChildAtIndex): use cspi_add_check so we
4859 check the ev before using a (possibly) invalid value.
4861 * libspi/accessible.c
4862 (impl_accessibility_accessible_get_parent): don't segv
4865 * at-bridge/bridge.c (gtk_module_init): upd.
4866 (bridge_property_event_listener): don't leak strings
4868 (bridge_state_event_listener),
4869 (bridge_property_event_listener): don't use a static
4870 buffer in case of recursive event emission &
4871 re-enterancy - split out the swathe of cut and paste
4873 (emit_eventv): and fix 2 ref leaks here & comply to the
4875 (bridge_register_app): rename to
4876 (bridge_idle_init): this and kill arg parsing, split
4877 various inits & bonobo-activation registration to module
4878 init time, kill referencing error.
4879 (bridge_exit_func): fix the same leak.
4880 (bridge_focus_tracker): don't leak event structures
4882 (bridge_signal_listener): more leakage and cut & paste
4884 (bridge_key_listener): return the result - FIXME is
4885 this polarity correct ?
4886 (accessibility_keystroke_from_atk_key_event): rename
4887 (accessibility_init_keystroke_from_atk_key_event): and stop
4889 (gtk_module_init): return a value - not that it is checked by
4891 (bridge_key_listener): register my horror at casting between
4892 IDL defined structs.
4893 (bridge_get_registry): kill - not used.
4895 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4897 * test/test-simple.c (test_roles): impl.
4898 (test_desktop, validate_accessible, validate_tree): impl.
4900 * cspi/spi_accessible.c (role_names): fixup bogus
4901 MAX_ROLES setup, make constants const for efficient linkage
4902 (AccessibleRole_getName): conform to coding style, make
4905 2001-11-30 Michael Meeks <michael@ximian.com>
4907 * cspi/spi.h: add missing prototype.
4909 * libspi/registry.c (spi_listener_struct_new): fix sig.
4911 * test/Makefile.am: add test-simple
4913 * test/test-simple.c: add
4915 * test/test.sh: add.
4917 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4919 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4920 do it straight - since otherwise we often get an activation race.
4922 [ work before Bill duplicated a chunk of it ... ]
4923 2001-11-30 Michael Meeks <michael@ximian.com>
4925 * libspi/keystrokelistener.c
4926 (spi_keystroke_listener_class_init): fixup arg
4929 * libspi/eventlistener.c
4930 (spi_event_listener_class_init): ditto.
4932 * tests/test.sh: add.
4934 * cspi/spi-listener-impl.h: update macros.
4936 * cspi/spi-listener-impl.c
4937 (cspi_event_listener_remove_callback): add
4938 correct pre-conditions.
4940 * cspi/spi_main.c (SPI_exit): guard vs. double
4941 exits, exit the mainloop nicely.
4942 (SPI_event_main): make more sense.
4943 (SPI_init): move the atexit evilness here so we
4944 always do it (yuck).
4945 (SPI_event_main): upd.
4947 * test/simple-at.c: update for listener changes.
4949 * registryd/registryd.c (main): prune kruft.
4951 * libspi/libspi.h: upd.
4953 * libspi/eventlistener.[ch]: rename broken macros.
4955 * libspi/accessibleeventlistener.[ch]: remove.
4957 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4959 * test/test-simple.c: Add - automated tests.
4961 * cspi/spi-listener-impl.c (cspi_event),
4962 (cspi_key_event): add user_data to invoke.
4963 (cspi_keystroke_listener_finalize): impl.
4964 (cspi_keystroke_listener_class_init): upd.
4967 (createAccessibleEventListener),
4968 (AccessibleEventListener_addCallback),
4969 (createAccessibleKeystrokeListener),
4970 (AccessibleKeystrokeListener_addCallback): upd.
4972 * libspi/deviceeventcontroller.c
4973 (spi_device_event_controller_check_key_event): add public proto.
4976 (impl_accessibility_registry_deregister_global_event_listener):
4977 always init listeners.
4978 (_registry_notify_listeners): yes it is.
4980 * cspi/spi-listener-impl.c (cspi_key_event):
4982 (cspi_event_listener_finalize): impl.
4983 (cspi_event_listener_class_init): hook up.
4984 (event_handler_new, event_handler_free),
4985 (event_list_remove_by_callback): impl.
4986 (cspi_event_listener_remove_callback),
4987 (cspi_keystroke_listener_remove_callback),
4988 (cspi_keystroke_listener_add_callback),
4989 (cspi_event_listener_add_callback): upd.
4991 * libspi/keystrokelistener.c
4992 (keystroke_listener_object_finalize): kill
4993 (spi_keystroke_listener_class_init): upd.
4994 (spi_keystroke_listener_add_callback),
4995 (spi_keystroke_listener_remove_callback): kill,
4997 (impl_key_event): prune drasticaly.
4999 * libspi/eventlistener.c
5000 (spi_event_listener_add_callback),
5001 (spi_event_listener_remove_callback): kill, use
5003 (impl_accessible_event_notify_event): upd.
5004 (spi_event_listener_object_finalize): remove.
5006 * libspi/Makefile.am: use eventlistener.[ch]
5008 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5010 * libspi/registry.c (_registry_notify_listeners):
5011 Changed listener loop iteration to use preferred convention.
5012 Got rid of string memory leaks caused be calling g_strconcat
5013 inside function calls.
5015 * libspi/registry.c (parse_event_type):
5016 Stopped g_strconcat memory leaks, free the g_strsplit return,
5017 g_strdup the split pieces when used, etc.
5019 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5022 Change method 'compare' to return a 'difference set' rather than
5023 taking a StateSet as an out parameter (more Java-friendly).
5025 * idl/Accessible.idl:
5026 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5028 * idl/Component.idl:
5030 Changed methods 'getExtents' and 'getImageExtents' in these
5031 interfaces to return a BoundingBox structure.
5032 (getPosition and getSize are redundant and possibly should be
5033 removed, rather than creating a corresponding Point struct.)
5035 * cspi/spi_component.c:
5036 Modify implementation of getExtents to reflect the above IDL
5041 Add (missing) AccessibleImage_getExtents () API.
5043 * docs/reference/cspi/at-spi-cspi-sections.txt:
5044 Added AccessibleImage_getImageExtents () to docs.
5046 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5048 * idl/Component.idl:
5049 Added two methods, getLayer () and getMDIZOrder (), to reflect
5050 the new ATK methods atk_object_get_layer and
5051 atk_object_get_mdi_z_order. (Which arguably should be part of the
5052 AtkComponent API and AtkObject). Also added an enum,
5053 ComponentLayer, for the first method's return value.
5055 * libspi/component.c:
5056 Added implementations for these methods.
5058 * cspi/spi_component.c:
5060 Added cspi binding methods for above,
5061 AccessibleComponent_getLayer() and
5062 AccessibleComponent_getMDIZOrder().
5063 Added cspi enum 'AccessibleComponentLayer'.
5065 * docs/reference/cspi/at-spi-cspi-sections.txt:
5066 Added above methods to docs.
5070 Changed typedef for 'boolean' type (and all references to it) to
5071 SPIBoolean, to avoid keyword clashes with C++.
5074 Changed usages of 'boolean' to SPIBoolean.
5076 * test/keysynth-demo.c:
5077 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5078 app), except where SPIBoolean is required by the callbacks API.
5080 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5082 * cspi/spi_registry.c:
5083 Removed obsolete X event loop for passive keygrabs (which now
5086 * registryd/registryd.c:
5087 Removed unnecessary call to gdk_init() [cruft]. This also allows
5088 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5091 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5093 * docs/reference/cspi:
5094 Included docs for SPI_freeString in generated documentation.
5097 Renamed spi_freeString to SPI_freeString, for consistency. Added
5098 documentation for this function.
5101 Renamed spi_freeString to SPI_freeString, for consistency.
5102 Removed obsolete method declaration string_from_corba_string.
5104 * test/keysynth-demo.c:
5105 Small tweak to comments.
5108 Stopped leaking the strings returned from CSPI.
5110 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5112 Merged Michael's branch (see his ChangeLog entries below).
5114 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5115 bridge is alive, release on exit.
5117 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5118 Fix type check macro.
5121 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5124 Added is_gnome_app static, and method cspi_is_gnome_app(),
5125 so we can call the appropriate shutdown routine at exit in SPI_exit.
5127 * cspi/spi_main.c (cspi_object_ref):
5128 Duplicate the corba object passed in, since we're keeping it around.
5130 * cspi/SPI_exit.c, cspi_cleanup:
5131 Moved the releasing of the live refs to its own function, so we
5132 can put it in g_atexit (). Call the appropriate shutdown API
5133 depending on whethe calling client is a gnome app or not
5134 (bonobo_main_quit or CORBA_ORB_shutdown).
5136 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5137 Unref the listener when this method is called, after
5138 deregistration. Updated the API docs to note this behavior.
5140 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5141 Bugfixes: Ref the bonobo object when returning a parent or child
5142 reference, or an AccessibleRelation. Generally made sure
5143 BonoboObject refcount is incremented whenever we return an
5146 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5147 Fixed typo/bug in signal declaration.
5149 * libspi/accessibleeventlistener.h:
5152 * libspi/application.c (spi_application_new):
5153 Fixed leak in initialization.
5156 Remembered to increment bonobo-object refcount when returning
5157 children (applications) from desktop object.
5158 Added (empty) finalize method.
5160 * libspi/deviceeventcontroller.c:
5161 Hold a ref to listeners inside DEControllerKeyListeners.
5162 Added dec_key_listener_free() method. Use prepend instead of
5163 append in key_listener list. Fixed some refcount madness and
5164 leaks in the listener registration/deregistration - deregistration
5165 now calls dec_key_listener_free() on listeners, and on the
5166 temporarily constructed dec_key_listener() used to perform the search/match.
5168 * libspi/hypertext.c (spi_hypertest_finalize):
5169 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5170 class. Also fixed spi_hypertext_interface_new() and
5171 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5173 * libspi/hypertext.h:
5174 Removed pointless and duplicate AtkObject pointer from
5177 * libspi/keystrokelistener.c:
5178 Fixed incorrect type of keystroke_listener_parent_class,
5179 renamed keystroke_listener_object_finalize to
5180 spi_keystroke_listener_object_finalize.
5181 Fixed typo in signal declaration
5182 (spi_keystroke_listener_class_init).
5184 * libspi/registry.c:
5185 Added funcsions spi_listener_struct_new() and
5186 spi_listener_struct_free() to help with memory management issues.
5187 We also now use these methods instead of gnew + poking stuff into
5188 the struct, and to decrement listener counts/free the listeners
5189 when deregistering them.
5190 Fix more refcount bugs in getDesktop() and
5191 getDeviceEventController().
5194 De-ref the desktop after enumerating the applications. Explicitly
5195 decrement the refcounts on the created listeners on exit (using
5196 _unref for keystroke listeners, and via the
5197 deregisterGlobalEventListenerAll command for other event
5200 2001-11-27 Michael Meeks <michael@ximian.com>
5202 * cspi/spi-listener.h: fixup enum.
5204 2001-11-27 Michael Meeks <michael@ximian.com>
5206 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5207 (cspi_keystroke_listener_new): Use the cspi variants.
5209 2001-11-26 Michael Meeks <michael@ximian.com>
5211 * test/keysynth-demo.c: fix 2 compile warnings, missing
5214 * test/simple-at.c (report_focussed_accessible),
5215 (report_focus_event, report_button_press),
5216 (check_property_change, is_command_key),
5217 (report_ordinary_key_event, report_command_key_event): upd.
5219 * util/mag_client.h: include pre-requisites.
5221 * libspi/accessibleeventlistener.c
5222 (spi_event_listener_object_finalize): free any lingering
5225 * libspi/keystrokelistener.c
5226 (keystroke_listener_object_finalize): ditto.
5228 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5229 callbacks, with cspi types.
5231 * cspi/spi_event.c (createAccessibleEventListener): chain to
5232 (AccessibleEventListener_addCallback): here.
5233 (createAccessibleKeystrokeListener): chain to
5234 (AccessibleKeystrokeListener_addCallback): here.
5236 * libspi/keystrokelistener.c
5237 (spi_keystroke_listener_class_init): add signal.
5238 (impl_key_event): emit the event.
5239 (boolean_handled_accumulator): impl.
5240 (marshal_BOOLEAN__POINTER): add, gack.
5242 * libspi/accessibleeventlistener.c
5243 (spi_event_listener_class_init): add signal.
5244 (impl_accessible_event_notify_event): emit the signal &
5245 make the loop efficient.
5246 (spi_event_listener_add_callback): prepend the callback.
5248 * libspi/accessibleeventlistener.h: add an 'event' signal,
5249 decl type on callback.
5251 * libspi/keystrokelistener.h: ditto.
5253 * cspi/spi-listener.h: make methods typesafe and
5254 make them use the new event typedefs.
5256 * test/simple-at.c (report_focussed_accessible):
5257 include mag_client.h
5258 Use *(void *)text_interface not the other thing.
5260 * configure.in: add gtk to registryd bits - since we use
5263 * util/magnifier.c: include libbonobo.h
5265 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5267 * test/keysynth-demo.c:
5268 Turned this into a simple scanning keyboard, to demonstrate the
5269 use of g_timeout_add () as a means of creating timers for
5270 scanning, and the use of GtkStyle for visually indicating when
5271 virtual keyboard elements are selected.
5273 keysynth-demo now listens to any keyboard keys with zero-valued
5274 keycodes (i.e. 'unused' keys) and interprets them as
5277 Reworked the shiftlatch code so that shift-down state isn't held
5278 for long periods (it's only synthesized immediately prior to
5279 the keysynth event it's modifying). Note that shiftlatch in this
5280 demo is a convenience, not intended to take the place of AccessX
5281 which is the better choice for getting 'sticky' modifier keys.
5283 * libspi/deviceeventcontroller.c:
5284 * at-bridge/bridge.c:
5285 * cspi/spi_registry.c:
5286 Removed some debug print stuff, and put other verbosity in #ifdef
5291 Implemented some more of the magnifier IDL for the simple
5292 magnifier: namely, getZoomRegionParams.
5293 Added mag_x and mag_y members to MagnifierData struct, aid of this
5295 Added GtkWindow::realize signal handler to magnifier, to keep it
5296 from receiving keyboard focus from the WM.
5298 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5300 * cspi/spi-private.h: my guess at what michael forgot
5301 before he ran off to NZ :-)
5303 2001-11-23 Michael Meeks <michael@ximian.com>
5305 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5306 comment out non existant method invoke so we link.
5308 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5309 use bonobo_exception_get_text for more friendly warnings.
5311 * cspi/spi.c (Obj_Add): move into spi_main & rename
5312 spi_object_add; kill spi.c
5314 * cspi/spi_registry.c
5315 (deregisterGlobalEventListener),
5316 (deregisterGlobalEventListenerAll),
5317 (registerGlobalEventListener): fix exception leaks.
5319 * cspi/spi_main.c (spi_exception): impl. helper, so we
5320 don't leak exceptions.
5322 * cspi/spi_selection.c
5323 (AccessibleSelection_deselectSelectedChild): return the
5326 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5327 (spi_registry): ditto.
5328 (SPI_init): guard against double inits.
5330 * cspi/*.c: use spi_ev (), and spi_registry () where
5331 appropriate - a temporary hack until we have something
5332 better. Use spi_object_add
5334 2001-11-22 Michael Meeks <michael@ximian.com>
5336 * cspi/Makefile.am: re organise, install the headers.
5338 * cspi/*.h: add G_BEGIN/END_DECLS
5340 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5343 Added non-preemptive keylistener for key events with no modifiers
5344 and shift-only modifier.
5346 * libspi/keystrokelistener.c:
5347 Removed some verbose diagnostics printout.
5349 * cspi/spi_registry.c:
5350 Fixed a bug that caused all key listeners to be registered as
5353 * libspi/deviceeventcontroller.c:
5354 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5355 for non-preemptive key masks.
5358 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5360 * docs/reference/idl/at-spi-idl-docs.sgml:
5361 * docs/reference/idl/at-spi-idl-sections.txt:
5362 * docs/reference/idl/at-spi-idl-overrides.txt:
5363 Added missing files.
5365 * docs/reference/Makefile.am:
5366 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5367 to scan the IDL files :-(
5372 Added .cvsignore files.
5374 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5376 * libspi/deviceeventcontroller.c:
5377 * libspi/keystrokelistener.c:
5379 * cspi/spi_registry.c:
5380 Added filters for KeySets, KeyEventSeq, and event types to key
5381 event dispatching, so listeners should only receive those events
5382 that they requested :-)
5384 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5389 * docs/reference:Makefile.am:
5390 * docs/reference/cspi:
5391 * docs/reference/cspi:Makefile.am:
5392 * docs/reference/cspi:tmpl:
5393 * docs/reference/cspi:tmpl:*.sgml:
5394 * docs/reference/idl:
5395 * docs/reference/idl:Makefile.am:
5396 * docs/reference/idl:at-spi-idl-sections.txt:
5397 * docs/reference/idl:at-spi-idl-docs.sgml:
5398 * docs/reference/idl:tmpl:
5399 * docs/reference/idl:tmpl:*.sgml:
5401 Restructured docs directory to allow separate 'reference' docs
5402 section, and forked idl and cspi docs. Added the sgml template
5403 files to CVS. Added the first sections/structural sgml for the
5406 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5408 * configure.in, libspi/Makefile.am: find libXtst.
5410 2001-11-21 Michael Meeks <michael@ximian.com>
5412 * test/accessx-gui.c: s/spi_value/value/ - doh.
5414 * libspi/base.[ch]: add.
5416 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5418 * idl/Accessible.idl:
5419 * idl/Application.idl:
5422 Started gtk-doc cleanup on IDL.
5424 * libspi/deviceeventcontroller.c:
5425 Added and connected non-preemptive key notification from the
5426 toolkits (in addition to the pre-emptive support from XServer
5427 which we had before, but which causes 'focus flashing'). Filters
5428 are presently limited to key modifiers and global/non-global,
5429 KeySets are presently ignored, as are KeyEvent masks.
5431 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5432 structs into the persistant structure rather than just storing
5433 pointers to things that might not persist across servant
5436 The XGrabKey call now does async keygrabs, because synchronous
5437 ones were deadlocking with GDK_event code in a very nasty way.
5439 Added boolean to internal method notify_keylisteners, to indicate
5440 whether the event came from the 'toolkit source' or the 'global
5441 (XServer) source' - this is used in the notification process to
5442 determine which listeners to send the event to.
5444 deviceeventcontroller.c is now warning-free.
5446 * libspi/registry.c:
5447 Fixed regression in application de-registration.
5448 Also fixed some really brain-dead weirdness having to do with
5449 event dispatching - event structs are now duplicated before being
5450 re-marshalled in the dispatch to listeners. This also fixes a
5451 Solaris build problem.
5454 2001-11-20 Michael Meeks <michael@ximian.com>
5457 (impl_accessibility_registry_deregister_global_event_listener):
5460 * libspi/deviceeventcontroller.c
5461 (spi_device_event_controller_check_key_event): return
5462 FALSE on no virtual method.
5464 * libspi/*..h: make includes work on a correctly pathed install.
5466 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5468 * libspi/application.h: kill unused ( and whacked out )
5469 gboolean *spi_application_set_id (AtkObject *app, long id);
5471 2001-11-20 Michael Meeks <michael@ximian.com>
5473 * libspi/*.[ch]: further convert to bonobo's type func
5474 macros, remove redundnant casts etc.
5476 * libspi/text.c s/accessibility_text/spi_text/g,
5477 re-order to de-cruft.
5479 * libspi/hypertext.c: re-order to kill a huge slew
5480 of redundant forward decls.
5482 * libspi/relation.c: ditto.
5484 * libspi/image.c: ditto.
5486 * */.cvsignore: update
5488 2001-11-20 Michael Meeks <michael@ximian.com>
5490 * libspi/deviceeventcontroller.c
5491 (_controller_register_with_devices): use g_getenv,
5492 kill stdlib.h include.
5494 * libspi/keystrokelistener.c
5495 (spi_keystroke_listener_get_type): kill
5496 (spi_keystroke_listener_class_init),
5497 (spi_keystroke_listener_init): rename to this.
5499 * libspi/text.c (impl_getAttributes): fix warning / bug.
5501 * libspi/*.[ch]: more headers, includes and over commenting.
5503 2001-11-20 Michael Meeks <michael@ximian.com>
5505 * libspi/*.[ch]: fixup headers, includes and over commenting.
5507 * libspi/image.c (impl__get_imageDescription): const
5508 correctness warning fix. remove redundant casting.
5510 * libspi/table.c (impl_getRowDescription): ditto.
5511 (impl_getColumnDescription): ditto.
5513 * libspi/libspi.h: add.
5515 2001-11-19 Michael Meeks <michael@ximian.com>
5517 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5519 * libspi/component.c (accessibility_component_get_type):
5520 rename to (spi_component_get_type): and macroify.
5521 (accessibility_component_init): rename to
5522 (spi_component_init): this
5523 (accessibility_component_class_init): rename to
5524 (spi_component_class_init): this
5526 * libspi/action.c (spi_action_get_type): kill, use the macro.
5528 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5531 * libspi/application.c (spi_application_object_event_listener),
5532 (impl_accessibility_application_register_object_event_listener):
5533 warning fixes / const understanding updates.
5535 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5538 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5540 * libspi/spi_accessible.c: Added docs and C bindings for
5541 AccessibleStateSet. (No implementations yet). Documentation
5542 coverage for C bindings now 100%. Made docs for event listeners
5547 boolean notifyListenersSync (in DeviceEventListener listener,
5548 in DeviceEvent event);
5550 oneway void notifyListenersAsync (in DeviceEventListener listener,
5551 in DeviceEvent event);
5553 Added DeviceEventListener and DeviceEvent structs (may deprecate
5554 KeyStroke and KeystrokeListener in favor of this generic
5555 event/listener framework for devices).
5557 * libspi/deviceeventcontroller.c:
5559 Changed some key listener code to take masks, etc., and paved the
5560 way for integration of toolkit/non-preemptive key events. Changed
5561 signatures of some internal methods.
5563 * at-bridge/bridge.c:
5564 Fixed regression connecting to interface signals, apparently
5565 caused by GTK+ changes.
5567 Added an internal bridge_state_listener to deal with
5568 property-change:accessible-state signals.
5570 Changed the key_listeners GList to store structs (including masks,
5571 etc.) instead of just CORBA_Objects (required for full
5572 implementation of key listener API).
5574 Connected the bridge to all currently supported Atk signals.
5575 Events now supported:
5576 object:property-change
5577 object:property-change:accessible-name
5578 object:property-change:accessible-state
5579 object:property-change:accessible-description
5580 object:property-change:accessible-parent
5581 object:property-change:accessible-value
5582 object:property-change:accessible-role
5583 object:property-change:accessible-table-caption
5584 object:property-change:accessible-table-column-description
5585 object:property-change:accessible-table-column-header
5586 object:property-change:accessible-table-row-description
5587 object:property-change:accessible-table-row-header
5588 object:property-change:accessible-table-summary
5589 object:children-changed
5590 object:visible-data-changed
5591 object:selection-changed
5592 object:text-selection-changed
5594 object:text-caret-moved
5596 object:row-reordered
5598 object:column-inserted
5599 object:column-reordered
5600 object:column-deleted
5601 object:model-changed
5603 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5605 * libspi/hyperlink.c,h:
5606 Fixed some broken stuff in hyperlink.
5608 * libspi/relation.h:
5609 * libspi/relation.c:
5610 * cspi/spi_accessible.c:
5611 Initial implementations of AccessibleRelation methods, and docs.
5613 * libspi/accessible.c:
5614 Fixed a bug that caused SEGV if an accessible
5615 object's description is NULL, and a client
5616 requests it. An empty string is now returned.
5618 * cspi/spi_editabletext.c:
5619 * cspi/spi_hypertext.c:
5621 * cspi/spi_hyperlink.c:
5625 Doc coverage now 95%.
5627 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5629 One last namespacing revision:
5630 * libspi/accessibleeventlistener.[ch]:
5631 Renamed SpiAccessibleEventListener to SpiEventListener,
5632 (no need for two namespaces ;-)
5634 And lots of documentation fixes:
5636 * docs/at-spi-docs.sgml:
5637 Fixed 'underscore vs. hyphen' bug that was preventing
5638 the gtk-doc API docs from being automatically generated.
5641 * cspi/spi-listener.h
5643 * cspi/spi_accessible.c
5645 * cspi/spi_application.c
5646 * cspi/spi_component.c
5647 * cspi/spi_editabletext.c
5649 * cspi/spi_hypertext.c
5651 * cspi/spi_registry.c
5652 * cspi/spi_selection.c
5656 * docs/at-spi-docs.sgml
5657 * docs/at-spi-sections.txt
5659 Added and fixed up gtk-doc documentation in cspi.
5661 Interfaces now (fully) documented (subject to revision and enhancement):
5663 Event Listener Support
5665 AccessibleApplication
5669 AccessibleEditableText
5676 AccessibleRelationSet
5681 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5683 * at-bridge/bridge.c:
5684 Initial work for toolkit-level key snooper connection by bridge.
5689 New typedefs and fixes to support new namespacing, and cleaner
5690 separation of cspi bindings from libspi bonobo implementation.
5691 Removed inconsistent and extraneous Spi* namespace prefix that
5692 had crept into cspi headers.
5693 Lots of comment fixes that sed had missed.
5695 * cspi/spi-roletypes.h:
5696 * cspi/spi-statetypes.h:
5697 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5698 to AccessibleRoleType.
5700 * libspi/accessibleeventlistener.h:
5701 Fixed minor namespacing weirdness.
5703 * libspi/deviceeventcontroller.c:
5704 Reordered some internal API for device listeners.
5705 Changed the key registry final boolean to 'is_system_global'
5706 rather than 'is_synchronous', which is more descriptive of its
5708 Added spi_device_event_controller_new().
5709 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5711 * libspi/keystrokelistener.[ch]:
5712 Namespaced KeystrokeListener to SpiKeystrokeListener.
5713 Changed uses of keymasks to use SPI_ prefix, and did other
5716 * libspi/keymasks.h:
5717 Namespaced keymask constants with SPI_ prefix.
5719 * libspi/registry.c:
5720 Some warning fixes, and knock-on fixes from namespace changes.
5723 Added rules for accessx-gui test program.
5725 * test/accessx-gui.c:
5726 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5727 utility. It doesn't actually use at-spi, but it's still cool and
5730 * test/keysynth-demo.c:
5734 Fixes so that these test clients work properly with the namespaced
5735 libraries. (Incompletely tested for technical reasons, fixes may follow)
5738 2001-11-13 Michael Meeks <michael@ximian.com>
5740 * libspi/application.c
5741 (impl_accessibility_application_get_version),
5742 (impl_accessibility_application_get_toolkit_name):
5744 (impl_accessibility_application_set_id),
5745 (impl_accessibility_application_get_id): remove
5746 redundant casting code.
5748 * libspi/action.c (impl_getDescription): fix warnings.
5750 * libspi/accessible.c
5751 (impl_accessibility_accessible_get_parent),
5752 (impl_accessibility_accessible_get_child_at_index),
5753 (impl_accessibility_accessible_get_state),
5754 (impl_accessibility_accessible_get_relation_set):
5755 warning fixes & include action.h
5757 2001-11-13 Michael Meeks <michael@ximian.com>
5759 * *.[ch] fix bits I screwed up:
5761 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5762 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5764 2001-11-13 Michael Meeks <michael@ximian.com>
5766 * *.[ch] Namespace libspi into spi_ and Spi.
5768 2001-13-11 Michael Meeks <michael@ximian.com>
5770 * Makefile.am: dist & install at-spi-1.0.pc
5772 * libspi/Makefile.am: install into at-spi-1.0
5774 * idl/Makefile.am (idldir): install into at-spi-1.0
5776 * at-spi-1.0.pc.in: add.
5778 * configure.in: build it.
5780 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5782 * test/keysynth-demo.c:
5783 Use a 'realize' signal-handler to set the WM properties for
5784 the virtual keyboard, rather than making it a "POPUP" type
5785 override-redirect window (thanks to anders carlsson for that
5788 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5791 * test/keysynth-demo.c:
5792 Added new test of key synthesis, which creates a simple
5793 (mouse-operated) onscreen keyboard. It inserts key events into
5794 the currently-focused window, thus it does not grab keyboard focus
5797 * cspi/spi_registry.c:
5798 Added C binding for AT-SPI generateKeyEvent.
5800 * libspi/deviceeventcontroller.c:
5801 Added call to XFilterEvent so that key listener works with XIM (we
5802 hope). Added event_synth_type to generateKeyEvent, so that we can
5803 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5804 synthesize a press/release pair for KeySyms.
5806 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5808 * libspi/Makefile.am:
5809 * registryd/Makefile.am:
5810 (temporary) hack to include libXtst in libspi and registryd.
5811 (Needed for keystroke synthesis, see below).
5814 Improved API for registerKeystrokeListener, in accordance with
5815 discussions with Gnopernicus team and X server research.
5817 * libspi/registry.c:
5818 * libspi/deviceeventcontroller.c:
5819 * libspi/accessible.c:
5820 * libspi/keystrokelistener.c:
5821 Changes and fixes to support keylisteners for potentially
5822 consumed key events (that is, 'passive grabs').
5823 Added implementation for generateKeyEvent() [untested].
5826 Changes to registerKeystrokeListener() API, as above.
5827 Added deregisterGlobalEventListenerAll(), and
5828 deregisterKeystrokeListener(), which are needed for clean exit of
5830 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5831 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5833 * cspi/spi_registry.c:
5834 Added implementations of function prototypes mentioned above.
5836 * registryd/registryd.c:
5837 Added the key listener event source as a g_timeout(), to allow
5838 receipt of key events that are not caught by GDK (since GDK
5839 doesn't support passive keygrabs, this was necessary).
5842 Changed to attach a keylistener to 'Alt' keys, and
5843 respond to the following keycommands: Alt-M (toggle magnifier);
5844 Alt-F (toggle speech); Alt-Q (quit).
5845 Added an exit routine to deregister the listeners, and a key
5846 listener that prints some key info to the console when a key
5847 matches the listener mask (and is thus received by the listener).
5849 * util/idl/Magnifier.idl:
5850 Changes to magnifier API to support multiple zoom regions,
5851 non-uniform scaling in x and y, markDirty, and a host of other
5852 features that would be useful to magnification.
5855 * util/mag_client.c:
5856 * util/mag_client.h:
5857 * util/mag_control.c:
5859 Source code changes to support the above IDL changes.
5862 As above, and also changes to use a (slower) generic conversion
5863 path for colormap conversions, since the fast RGB conversions have been
5864 reported to fail for 16-bit displays.
5866 2001-10-26 Michael Meeks <michael@ximian.com>
5868 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5870 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5872 * at-bridge/Makefile.am: fix LDFLAGS.
5874 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5876 * at-bridge/bridge.c:
5877 Re-worked listeners for toolkit events, now we have signal
5878 and property listeners. Added a private method
5879 register_atk_event_listeners(), which registers with the
5880 various atk and gtk signals we need to monitor in order to emit
5882 Added emission hook for AtkObject:property-change events, to
5883 support the 'property listeners'.
5884 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5887 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5888 which emit warnings and exit, respectively, if CORBA errors occur
5889 during remote calls, and we now use these methods to check most of
5890 our CORBA calls in the C bindings.
5892 * cspi/spi_accessible.c:
5893 Changed AccessibleSelection_refSelectedChild() to
5894 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5895 now increment refcounts.
5897 * cspi/spi_component.c:
5898 Fixed some long pointer casts (dangerous!) to pass pointers to
5899 CORBA_longs of the proper type to the CORBA stubs, and copy the
5900 data into the longs that were passed into the C bindings code.
5902 * at-bridge/bridge.c:
5904 * libspi/accessible.c:
5905 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5906 hyperlinks, AtkHyperlink is an object type.
5908 * libspi/application.c:
5909 Added various conversions to and from "generic" event types and
5910 atk-specific types; this is really part of the 'bridge'
5911 implementation but is valid for all AtkObject-based accessibility
5914 * libspi/editabletext.c:
5915 Fixed nasty bug wherein editable text's finalize method was
5916 unref'ing tha AtkObject reference that the text parent class was
5917 about to unref _again_. There was also a nasty inheritance bug
5918 that meant that the AccessibleEditableText class was corrupt.
5920 * libspi/selection.c:
5921 Provided implementations for some selection API that was broken.
5923 * idl/Application.idl:
5924 Added registerObjectEventListener () method.
5927 Fixed a number of return values that were Bonobo_Unknowns from
5928 bonobo_object_corba_objref(), which I
5929 forgot to dup before returning. Changed instances of
5930 bonobo_object_corba_objref (bonobo_object(o)) to
5931 BONOBO_OBJREF(o), for concision and clarity.
5933 2001-10-13 Louise Miller <louise.miller@sun.com>
5935 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5936 idl/Event.idl, idl/Registry.idl
5937 Changed these files to include Bonobo_Unknown.idl instead
5940 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5942 * libspi/component.c libspi/component.h:
5943 Fixed typo. Added assertions for object checks in
5944 AccessibleComponent code.
5946 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5948 * idl/Accessible.idl:
5949 Added 'isEqual (Accessible *object)'
5950 method for Accessible. (Not Yet Implemented).
5953 Changed signature of registerKeystrokeListener() to
5954 take a KeySet and KeyEventSeq so that specific keys and event
5955 types could be requested for monitoring, and added a flag
5956 is_synchronous so that either synchronous or asynchronous
5957 notification could be requested. (However this is not all
5958 implemented yet). This also meant adding two new typedefs,
5959 KeyEventSeq and KeySet.
5962 Added two new relations, RELATION_TOOLTIP_FOR and
5963 RELATION_LEAFNODE_OF.
5966 Added new state, STATE_HAS_TOOLTIP.
5968 * libspi/text.c, editabletext.c:
5969 Added new assertions to all casts of bonobo-objects from
5970 CORBA servants, to prevent Text API calls on non-text objects.
5971 Changed suspect casts of int-pointer types, so that we
5972 always send a valid CORBA_long pointer to the CORBA APIs that use
5973 in/out long parameters. We then have to copy from the CORBA_long
5974 into the regular long or int for return to the C bindings, or
5975 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5978 * libspi/deviceeventcontroller.c:
5979 Cleaned these sources up.
5981 Changed return type for getCharacterAtOffset to
5982 CORBA_unsigned_long, to allow for 32-bit characters.
5985 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5989 Fixed 'make dist' so that distro compiles...
5990 * libspi/keymasks.h:
5992 * cspi/spi-listener.c:
5993 KeystrokeListenerCB now returns a boolean.
5995 Added KeyEventType struct, and KeyStroke.
5996 Also added createKeystrokeListener(),
5997 KeystrokeListener_addCallback(),
5998 KeystrokeListener_removeCallback(), and added a keymask to
5999 registerKeystrokeListener().
6000 * cspi/spi_accessible.c:
6001 Changed numerous return types for interfaces from
6002 AccessibleComponent to Accessible<InterfaceName>; this was
6003 probably a cut-and-paste error.
6005 Implementations of new KeystrokeListener api (from spi.h,
6008 Changes to key modifier mapping.
6009 Created ControllerEventMask struct.
6010 Made DeviceEventController derive from Bonobo::Unknown.
6012 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6013 * libspi/deviceeventcontroller.c:
6014 Added a number of new internal (private) methods.
6015 * libspi/editabletext.c:
6016 * libspi/editabletext.h:
6017 Fixed a number of bugs related to the fact that
6018 editabletext inherits from text. Fixed the EditableText struct,
6019 the init() call, and use correct casts when calling Text methods
6020 from an EditableText object. Removed (duplicate) atko from the
6021 EditableText structure, we use the one in the parent Text
6022 structure via the casts mentioned above.
6023 * libspi/keystrokelistener.[ch]:
6024 * libspi/registry.c:
6025 Changes in support of keyboard handling (above).
6027 Keyboard handling, though partly functional, is still not
6028 recommended for at-spi client use as there is considerable
6029 work yet to be done.
6032 Changed some places where pointers to various int types
6033 are cast to be pointers to CORBA_long types and vice-versa:
6034 pointer casting is not safe so we pass pointers of the correct
6035 types and then cast the result before putting it into the target
6038 * libspi/text.h: minor typos corrected.
6040 We now speak not only the name of a Text element, but the
6041 first sentence of its content, when it receives focus.
6042 I also changed the text compression to 75% from 50%.
6043 * util/Accessibility_Util.server.in:
6044 Changed the default magnifier type to be a 3x vertical
6045 splitscreen magnifier (was previously a 2x horizontal one).
6047 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6049 * libspi/keystrokelistener.h:
6050 * libspi/keystrokelistener.c:
6051 Initial functional implementations of KeystrokeListener.
6054 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6056 Fixed string handling for NULL strings in libspi.
6057 Added spi_freeString to free strings returned by C bindings.
6059 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6061 * libspi/keystrokelistener.h:
6062 * libspi/keystrokelistener.c:
6063 Began (no-op) implementations of KeystrokeListener
6065 * libspi/deviceeventcontroller.c:
6066 * libspi/deviceeventcontroller.h:
6067 Began creating implementations of DeviceEventController,
6068 to handle keystroke and mouse event listening and
6070 * libspi/accessible.c:
6071 Stubbed-in the implementations for
6072 Accessibility_Accessible_getState and
6073 Accessibility_Accessible_getRelationSet.
6074 * libspi/registry.c:
6075 Improved de-registration process and fixed some bugs,
6076 deregistration now works correctly.
6078 Added initialization of applications list (to NULL).
6080 Reduced speech compression from 0.5 to 0.7, for demo.
6081 Changed call to gdk_window_set_decorations()
6082 to gtk_window_set_decorated().
6083 * at-bridge/bridge.c:
6084 Bridge now deregisters when app exits, via
6085 registration of a cleanup function
6086 with the g_atexit() call.
6087 Required making 'app' static, renamed 'this_app'.
6088 Fixed broken use of bonobo_init, passing argv wrongly.
6090 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6094 Created a new directory for
6095 accessibility-related utilities, primarily for
6096 testing and demo purposes, but with possible
6103 Onscreen magnifier utility that
6104 is implemented as a bonobo service.
6106 * util/mag_client.c:
6107 * util/mag_client.h:
6108 Client-side support (simple C bindings)
6109 for Magnification service
6111 * util/mag_control.c:
6112 Client program example for
6113 Magnification service
6115 * util/Accessibility_Magnifier.server.in:
6116 Bonobo-activation file for the
6117 Magnification service.
6120 * util/idl/Magnifier.idl:
6121 IDL defining the bonobo Magnification
6125 Modifications to use the bonobo-activated magnifier
6126 above, in place of trying to connect to an existing
6127 magnifier that uses socket-listening IPC.
6129 If env variable MAGNIFIER is set, a magnifier service
6130 will be started if one does not exist.
6132 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6134 * at-bridge/bridge.c:
6135 applied patch from Marc to build and run
6136 against new glib and gtk+ (seemed like a change
6137 to bonobo_init signature was made ?)
6139 made festival-server support turned off by default.
6140 Added support for a simple magnifier (off by default)
6141 which will be added to a 'util' directory later.
6142 * at-bridge/Makefile.am:
6143 Changed "application.h" header from a 'source'
6144 to a 'dependency' of libat-bridge.
6146 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6155 Added interface implementation c files to list of
6156 includes so they are included in libcspi.
6159 Changed prototype of AccessibleAction_doAction to return a
6161 Changed prototype of AccessibleTable_getCaption to
6162 return an Accessible.
6163 Changed prototype of AccessibleTable_getSelectedRows
6164 and AccessibleTable_getSelectedColumns to
6165 return a long (returns the number of selected rows
6166 or columns respectively).
6167 Changed name of AccessibleText_refRunAttributes to
6168 AccessibleText_getAttributes.
6169 Changed prototype of AccessibleText_getCharacterExtents to
6170 return a void rather than a boolean.
6171 Added support for a AccessibleCoordType parameter
6172 specifying what type of coordinates are desired.
6173 Added an AccessibleCordType parameter to
6174 AccessibleText_getPointAtOffset.
6176 * cspi/spi_accessible.c:
6177 Added code to return the outstanding interfaces from
6178 Accessible_queryInterface.
6180 * cspi/spi_action.c:
6182 Corrected call to getNActions to call the c binding
6185 * cspi/spi_editabletext.c:
6187 Changed name from setRunAttributes to setAttributes.
6189 * cspi/spi_hyperlink.c:
6191 Changed call to getNAnchors to correctly call the c
6192 binding for an attribute.
6194 * cspi/spi_hypertext.c:
6196 Changed getImageDescription to correctly call the
6197 binding for an attribute.
6199 * cspi/spi_selection.c:
6200 Changed getNSelectedChildren to correctly call the c
6201 binding for the attribute.
6202 Changed refSelectedChild to getSelectedChild.
6206 Changed getCaption to return an Accessible.
6207 Fixed calls which retrieve attributes.
6208 Changed refAt to getAccessibleAt.
6209 Changed getNSelectedRows and getNSelectedColumns to
6213 Changed getCharacterExtents and getPointAtOffset to accept an
6214 AccessibleCoordType.
6216 Changed calls which retrieve attributes.
6217 Changed refRunAttributes to getAttributes.
6222 * idl/Hyperlink.idl:
6223 Changed n_anchors attribute to nAnchors to keep naming
6224 convention consistent.
6227 Made Table inherit from Bonobo::Unknown.
6228 Added nSelectedColumns and nSelectedRows attributes.
6231 Made Value inherit from Bonobo::Unknown.
6233 * libspi/hyperlink.c:
6234 Change for nAnchors attributte name change.
6236 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6244 Added interface implementation c files to list of
6245 includes so they are included in libcspi.
6248 Changed prototype of AccessibleAction_doAction to return a
6250 Changed prototype of AccessibleTable_getCaption to
6251 return an Accessible.
6252 Changed prototype of AccessibleTable_getSelectedRows
6253 and AccessibleTable_getSelectedColumns to
6254 return a long (returns the number of selected rows
6255 or columns respectively).
6256 Changed name of AccessibleText_refRunAttributes to
6257 AccessibleText_getAttributes.
6258 Changed prototype of AccessibleText_getCharacterExtents to
6259 return a void rather than a boolean.
6260 Added support for a AccessibleCoordType parameter
6261 specifying what type of coordinates are desired.
6262 Added an AccessibleCordType parameter to
6263 AccessibleText_getPointAtOffset.
6265 * cspi/spi_accessible.c:
6266 Added code to return the outstanding interfaces from
6267 Accessible_queryInterface.
6269 * cspi/spi_action.c:
6271 Corrected call to getNActions to call the c binding
6274 * cspi/spi_editabletext.c:
6276 Changed name from setRunAttributes to setAttributes.
6278 * cspi/spi_hyperlink.c:
6280 Changed call to getNAnchors to correctly call the c
6281 binding for an attribute.
6283 * cspi/spi_hypertext.c:
6285 Changed getImageDescription to correctly call the
6286 binding for an attribute.
6288 * cspi/spi_selection.c:
6289 Changed getNSelectedChildren to correctly call the c
6290 binding for the attribute.
6291 Changed refSelectedChild to getSelectedChild.
6295 Changed getCaption to return an Accessible.
6296 Fixed calls which retrieve attributes.
6297 Changed refAt to getAccessibleAt.
6298 Changed getNSelectedRows and getNSelectedColumns to
6302 Changed getCharacterExtents and getPointAtOffset to accept an
6303 AccessibleCoordType.
6305 Changed calls which retrieve attributes.
6306 Changed refRunAttributes to getAttributes.
6311 * idl/Hyperlink.idl:
6312 Changed n_anchors attribute to nAnchors to keep naming
6313 convention consistent.
6316 Made Table inherit from Bonobo::Unknown.
6317 Added nSelectedColumns and nSelectedRows attributes.
6320 Made Value inherit from Bonobo::Unknown.
6322 * libspi/hyperlink.c:
6323 Change for nAnchors attributte name change.
6326 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6328 implementations-- made server implementations own AtkObject pointers
6329 rather than their respective AtkInterrface pointers to fix
6330 refcounting. AtkHyperlink is still broken.
6332 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6333 * cspi/spi_accessible.c:
6334 Added method Accessible_Role_getName(),
6335 and requisite string array (role_names).
6336 Added conversion string_from_corba_strin() call
6337 to Accessible_getName and _getDescription.
6338 * libspi/accessible.c:
6339 Added implementation for Accessible_getRole()
6341 Added festival support, used if environment variable
6344 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6346 * at-bridge/bridge.c:
6347 Now allocate Accessibility_Event using
6348 Accessibility_Event__alloc() instead of g_new0().
6349 * libspi/accessibleeventlistener.c:
6350 Initialize AccessibleEventListener->callbacks to NULL.
6351 Fixed accessible__event_listener_init() param, changed to
6352 "AccessibleEventListener *" type.
6353 Changed a bonobo_object_release_unref() call to
6354 Accessibility_Accessible_unref().
6355 * libspi/listener.c:
6356 Changed Bonobo_Unknown_unref to (equivalent)
6357 Accessibility_Accessible_unref.
6358 * libspi/registry.c:
6359 Changed bonobo_object_release_unref to
6360 Accessibility_Accessible_unref.
6362 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6365 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6366 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6367 spi-util.c spi-util.h
6368 Implementations for C bindings to remaining accessibility
6371 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6374 changed return value of Action from void to boolean to
6375 bring in line with ATK.
6378 Changed getText funcions to return "out" start and end offsets.
6379 Changed getAttributes to take and offset and return the start
6380 and end offset of the attribute run.
6381 Changed getOffsetAtPoint and getCharacterExtents to take an
6382 enum describing whether coordinates are window or screen.
6385 libspi/action.c libspi/action.h libspi/editabletext.c
6386 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6387 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6388 libspi/image.h libspi/selection.c libspi/selection.h
6389 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6390 libspi/value.c libspi/value.h
6391 Added server implementations for outstanding ATK interfaces
6392 not yet implemented.
6394 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6397 Added (missing) getName() method.
6398 Made nActions an attribute.
6399 * idl/EditableText.idl:
6400 Changed order of params in setAttributes.
6401 * idl/Hyperlink.idl:
6402 Removed getAnchor, added getURI.
6404 Changed attributes to methods, for efficiency
6405 (so that getting extents can be done in one call)
6406 * idl/Selection.idl:
6407 Changed nSelectedChildren to attribute, and re-indented.
6408 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6410 * idl/Text.idl: reformatted to match our coding style.
6411 (temporarily?) removed getRowColumnAtOffset().
6412 Changed text selection API to support multi-select and
6413 non-contiguous selections, as in ATK.
6414 * idl/Value.idl: changed some methods to attributes.
6416 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6418 * libspi/listener.c(impl_notify_event):
6419 BonoboUnkown_unref the source instead
6420 of bonobo_object_release_unref - the ORB
6421 handles the releasing.
6423 * configure.in: require ORBit-2.3.94 for
6426 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6428 Tagged CVS repository 'EA_1_0'.
6429 * README.EARLY_ACCESS:
6430 Alphabetized acknowledgements list, and
6432 Listed some known dependencies of at-spi.
6434 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6436 * docs/at-spi-docs.sgml:
6437 * docs/at-spi-sections.txt:
6438 * docs/at-spi-overrides.txt: (Added zero-length file)
6439 Documentation improvements - gtk-doc should build
6440 docs for all implemented C bindings now.
6443 * cspi/spi.c: (New file)
6444 * cspi/spi_event.c: (New file)
6445 * cspi/spi_registry.c: (New file)
6446 * cspi/spi_accessible.c: (New file)
6447 * cspi/spi_application.c: (New file)
6448 * cspi/spi_component.c: (New file)
6449 Split spi_main.c into six parts, and included them from
6450 "spi.c". This is a bit of a hack, probably temporary,
6451 but required by gtk-doc, apparently.
6453 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6456 * docs/at-spi-docs.sgml:
6457 * docs/at-spi-sections.txt:
6459 Initial checkins/modifications for gtk-doc generation.
6462 Added (missing) interface query methods to Accessible's C binding.
6464 Added GenericInterface type definition.
6466 Added query for AccessibleComponent interface to focus event handler.
6467 Added printout of bounding box for focussed component.
6468 * libspi/component.c:
6469 Added partial implementation for AccessibleComponent to C binding.
6470 * idl/Application.idl:
6471 * libspi/registry.c:
6472 * libspi/listener.c:
6473 * libspi/application.c:
6474 * libspi/application.h:
6475 Changed "ID" attribute type from string to long.
6477 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6481 Made method naming consistent: methods taking object args
6482 start with uppercase, other methods (except those using
6483 acronyms) start with lowercase. Underscores delimit between
6484 object names and method names:
6485 SPI_init() - uppercase since it starts with an acronym.
6486 getDesktopCount () - lowercase start since no object param0.
6487 Accessible_getName() - uppercase object type name, studlyCaps method
6491 Added gtk-doc documentation for all currently implemented
6492 methods in the C bindings API.
6494 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6496 * Makefile.am : changed build order to build test last.
6499 Changed "createEventListener" to "CreateEventListener".
6500 * libspi/accessibleeventlistener.c :
6501 Bugfix for addition of callbacks.
6502 * test/Makefile.am :
6503 * test/simple-at.c :
6504 Added new test that uses the C bindings API.
6506 * libspi/listener.c :
6507 * libspi/registry.c :
6508 * libspi/accessibleeventlistener.c :
6509 * at-bridge/bridge.c :
6510 Renamed member "target" of Accessibility_Event to "source",
6511 which is more descriptive.
6514 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6518 * cspi/Makefile.am :
6519 Added makefile support for at-spi/cspi directory.
6522 * cspi/spi-listener.h : (NEW FILE)
6523 Added support for/use of spi-listener.h.
6525 C bindings now build successfully, with no warnings.
6526 * libspi/accessibleeventlistener.h : (NEW FILE)
6527 * libspi/accessibleeventlistener.c : (NEW FILE)
6528 * libspi/Makefile.am :
6529 Added new object type "AccessibleEventListener"
6530 which inherits from Listener, and allows attachment
6531 of in-process callbacks (so that a client with a listening
6532 object instance can add functionality to the local
6533 implementation, dynamically).
6535 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6537 * libspi/accessible.c:
6538 Add implementation for get_index_in_parent().
6540 Added #include of "spi-roletypes.h", and
6541 added enumerated type AccessibleCoordType.
6542 Added definition for KeystrokeListener (function type).
6545 * cspi/spi-statetypes.h :
6546 * cspi/spi-roletypes.h :
6548 Added these headers, used by spi.h.
6550 Added code (NOTE: not yet built by make).
6552 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6554 * libspi/Makefile.am: generate imodule
6555 at the same time as other idl compiler
6558 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6559 * libspi/registry.c :
6560 * libspi/application.c :
6561 * idl/Application.idl :
6562 Made registration with toolkit an application method,
6563 which is required since each app has its own toolkit static
6564 environment. Thus the bridge must register for
6565 notification of toolkit events from each application in turn.
6566 Toolkit notifications are now successfully registered for, and
6567 sent to the listening at client.
6569 Changed toolkit event string to use hyphens rather than underscores.
6570 * libspi/listener.c :
6571 listner now gives more info in debug mode - it reports the
6572 name of the event received, as well as the name of the source.
6575 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6577 * libspi/registry.c :
6578 added more implementation for toolkit events.
6579 Fixed bug such that toolkit event registrations
6580 (via atk) use the whole event name string, not
6582 Removed a useless call to an ORBit_ method.
6583 * at-bridge/bridge.c :
6584 Removed unused local sbuf[] variable.
6586 We now register for Gtk:GtkWidget:button_press_event
6587 events as well as "focus:" events.
6589 Add some more API from Registry.idl that was missing,
6590 for keystroke listening, keystroke and mouse event
6591 synthesis, and enumeration of accessible desktops.
6593 2001-08-16 Michael Meeks <michael@ximian.com>
6595 * configure.in: use AM_GLIB_GNU_GETTEXT.
6597 * Makefile.am (SUBDIRS): kill intl.
6599 2001-08-15 Michael Meeks <michael@ximian.com>
6601 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6603 * configure.in: upd.
6605 * configure.in: depend on a recent bonobo-activation that
6606 will find our server files ...
6608 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6610 * libspi/accessible.c : accessible_new() :
6611 Now we add the Component interface via bonobo_object_add_interface,
6612 if the contained AtkObject implements AtkComponent.
6613 * libspi/accessible.h : now include "component.h"
6614 * libspi/component.h :
6615 * libspi/component.c : added files - implementation of
6616 bonobo wrapper object for Accessibility/Component
6617 * libspi/listener.c :
6618 Added test code to check for Accessibility/Component:1.0
6619 interface and report whether it is implemented by the
6621 * libspi/registry.c :
6622 Now we check for not only the hash of the whole event
6623 string before relaying the event, we also check the
6624 "minor" event string (without the detail string).
6625 This allows event listeners to be registered against
6626 all events of a certain major+minor type, or just
6627 against a specific major+minor+detail type.
6628 * libspi/accessible.c :
6629 Added implementations for Accessible:get_parent(),
6630 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6631 * libspi/registry.c :
6632 * libspi/listener.c :
6633 Replaced calls to Accessibility_Accessible_ref() and
6634 Accessibility_Accessible_unref() with
6635 calls to bonobo_object_dup_ref() and
6636 bonobo_object_release_unref(), so that the CORBA object
6637 is dup-ed and released when relayed, as well as the bonobo object.
6639 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6641 * libspi/Makefile.am,
6642 registryd/Makefile.am,
6643 at-bridge/Makefile.am.
6644 test/Makefile.am, configure.in:
6645 reverse previous changes.
6647 * /idl/Image.idl: fix typo.
6649 * test/Makefile.am: put DEBUG_FLAGS
6652 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6654 * test/app.c: use argv[0] instead of
6657 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6659 * libspi/Makefile.am,
6660 registryd/Makefile.am,
6661 at-bridge/Makefile.am.
6662 test/Makefile.am, configure.in:
6663 cleanup, replace individual LIBS/CFLAGS with
6664 AT_COMMON_{LIBS|CFLAGS}.
6668 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6670 * configure.in, libspi/Makefile.am:
6671 Change IDL path checking for bonobo-activation
6674 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6676 * registryd/registry.c : separated event listeners to use
6677 3 separate lists (focus, window, toolkit). Began testing
6678 event names against hashes before relaying events.
6679 * test/at.c : now register for events of type "focus:"
6680 * test/app.c : now generate events of type "focus:"
6681 * at-bridge/bridge.c : register with ATK for focus events,
6682 and we now relay those focus events to any "focus:" listeners.
6683 This now works with the bridge as a GTK_MODULE when running test/at.
6684 * libspi/registry.c :
6685 * libspi/listener.c :
6686 now we ref event sources before propagating, and unref on receipt.
6687 * libspi/registry.c :
6688 some changes to internal structs, to support event typestring hashes.
6689 * text/app.c : changed the way the appname is generated.
6690 * cspi : added directory that will hold the C bindings library for
6691 non-CORBA/bonobo-savvy clients.
6692 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6693 * idl/Component.idl : added in parameter to indicate coord system for
6694 geometry-related calls.
6695 * idl/Hyperlink.idl : added readonly n_links attribute
6696 * idl/Image.idl : changed methods to attributes.
6698 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6700 * at-bridge/Makefile.am: link against
6701 ../libspi/libspi.la instead of -lspi.
6703 * at-spi/test/app.c: include
6704 bonobo-activation.h. Use a default appname
6705 if one is not provided.
6707 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6709 * idl/Registry.idl : temporarily changed register_Application
6710 to oneway, to work around issue with initial registration
6712 * idl/Application.idl : changed attribute "id" from readonly
6713 to read-write, since it needs to be assigned by Registry.
6714 * registryd/registryd.c : added call to set application id
6716 * registryd/registry.c : changed de-registration procedure to
6717 use CORBA_Object_hash() to find matching object ref in application
6718 lists and listener lists.
6719 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6720 began distinguishing between event types (work in progress).
6722 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6725 * libspi/application.c:
6726 Added implementations for get/set id, get_toolkitName,
6728 * registryd/registryd.c :
6732 Converted from use of OAF to bonobo-activation.
6733 * libspi/desktop.h :
6734 * libspi/desktop.c :
6736 Removed references to atksimpleobject, since base atkobject
6737 implementation now provides functionality we need.
6738 * libspi/atksimpleobject.c :
6739 * libspi/atksimpleobject.h :
6744 * at-bridge/Makefile.am
6745 * at-bridge/bridge.c
6748 Added directory "bridge" and contents, and added dependencies
6749 in Makefile.am/configure.in.
6750 Initial checkin of "at-bridge".
6751 This code is a GTK_MODULE which automatically registers
6752 GTK+ apps with the accessibility registry, using an object
6753 reference to the root ATK object.
6755 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6757 * po/Makefile.in.in: Remove. Again. If this
6758 doesn't get autogenerated - you need to update
6761 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6763 * po/Makefile.in.in: Add. Again.
6765 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6767 * libspi/accessible.c : added support for 'description' property.
6768 * libspi/accessible.c
6770 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6771 (since the two are now equivalent in libbonobo)
6779 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6780 Bonobo::Unknown as does Accessibility::Accessible.
6781 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6782 interface with Bonobo::Stream, since it was redundant with it.
6783 (The Stream returned by a StreamableContext object is expected to
6784 implement only a subset of Bonobo::Stream)
6786 2001-07-28 Anders Carlsson <andersca@gnome.org>
6788 * libspi/accessible.c (accessible_object_finalize): Change
6789 g_free to g_object_unref since the AtkObject is a GObject.
6791 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6793 * idl/Accessibility.idl: add new IDL files
6796 * idl/Action.idl: Definitions of actionable UI object
6797 * idl/Component.idl: Definitions of UI component geometry, etc.
6798 * idl/Hyperlink.idl: Defs of hyperlink behavior
6799 * idl/Image.idl: Def of accessible image
6800 * idl/Selection.idl: Definition of UI object with selectable children
6801 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6802 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6803 * idl/Text.idl: Interface defs for UI elements with complex textual content
6804 * idl/Value.idl: Definition of UI element that is a value controller or display
6806 2001-07-27 Michael Meeks <michael@ximian.com>
6808 * po/Makefile.in.in: remove autogenerated file from CVS.
6810 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6813 * idl/Registry.idl: include guard.
6815 * idl/Accessibility.idl: Add, and include all the other IDL
6818 * idl/*.idl: remove mass of pragmas etc.
6820 2001-07-26 Michael Meeks <michael@ximian.com>
6822 * registryd/Makefile.am (registryd_SOURCES): remove
6825 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6827 * libspi/.cvsignore, registryd/.cvsignore,
6828 test/.cvsignore: updated.
6830 * po/Makefile.in.in: gettext update.
6832 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6834 * initial CVS checkin
6836 2001-06-29 Michael Meeks <michael@ximian.com>
6838 * configure.in: add AM_CONFIG_HEADER to gen config.h