1 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
3 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
5 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
7 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
9 2004-03-24 Bill Haneman <billh@gnome.org>
12 (AccessibleTable_addRowSelection),
13 (AccessibleTable_addColumnSelection),
14 (AccessibleTable_removeRowSelection),
15 (AccessibleTable_removeColumnSelection):
16 Add declarations for spi wrappers which were
17 inadvertantly omitted. Fixes bug #133413.
20 Revved to 1.5.0 (unstable series for GNOME 2.7).
22 2004-03-24 Bill Haneman <billh@gnome.org>
24 * atk-bridge/bridge.c:
25 Bracketed some debug output in
26 conditionals, to avoid printing it in normal use.
30 Don't cast 'object' to ATK_OBJECT when constructing
31 an AtkAction interface for a hyperlink.
32 See discussion in bug #120659.
34 * test/key-listener-test.c:
35 (report_all_key_event): Send output to stderr,
36 not stdout, for consistency with the rest of the test callbacks.
39 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
40 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
41 Incremented to 1.4.1 (but didn't dist yet - I'm going to
42 try incrementing the revision AFTER doing a dist, at least
45 2004-03-22 Bill Haneman <billh@gnome.org>
47 * configure.in: Revved to 1.4.0, libtool 9.14.9
49 2004-03-17 Laszlo Peter <laca@sun.com>
51 * libspi-1.0-uninstalled.pc.in: add idldir
53 * cspi-1.0-uninstalled.pc.in: add idldir
55 2004-03-16 Gareth Owen <gowen72@yahoo.com>
57 * configure.in: Added "en_GB" to ALL_LINGUAS
59 2004-03-15 Bill Haneman <billh@gnome.org>
61 * configure.in: Revved to 1.3.16,
64 2004-03-15 Laszlo Peter <laca@sun.com>
66 * libspi-1.0-uninstalled.pc.in: new file
68 * cspi-1.0-uninstalled.pc.in: new file
70 * configure.in: add the new pc files to AC_OUTPUT
72 * Makefile.am: add the new pc files to EXTRA_DIST
74 2004-03-12 Bill Haneman <billh@gnome.org>
76 * atk-bridge/bridge.c:
77 (spi_atk_bridge_key_listener):
78 Make sure to return consumed=FALSE if snoop
79 event is not dispatched to listener.
82 2004-03-01 Bill Haneman <billh@gnome.org>
84 * configure.in: Revved to 1.3.15,
87 2004-03-07 Danilo Segan <dsegan@gmx.net>
89 * configure.in: Added "sr@ije" to ALL_LINGUAS.
91 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
93 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
95 2004-03-01 Bill Haneman <billh@gnome.org>
97 * configure.in: Revved to 1.3.14.
100 (SPI_exit): Removed "bye-bye" exit message.
101 Moved "leak" report to happen before the
102 iteration over the leaked refs list.
103 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
105 2004-02-24 Bill Haneman <billh@gnome.org>
107 * configure.in: Revved to 1.3.13.
109 * docs/reference/cspi/Makefile.am:
110 Correct typo that was breaking the docs build.
112 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
114 * autogen.sh: Require version 1.7 of automake.
116 * configure.in: call GTK_DOC_CHECK([1.0])
118 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
120 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
122 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
124 * test/Makefile.am: Remove use of CFLAGS.
126 This fixes bug #132987.
128 2004-02-11 Bill Haneman <billh@gnome.org>
130 * reverted most of Tomasz' patch below, since it was breaking
131 builds (see bug #134058).
133 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
135 * docs/reference/cspi/at-spi-cspi.types: added empty file for
136 correct pass "make dist" (empty .. because seems no sach types in
137 header files with gtk-doc markups).
138 * docs/reference/cspi/Makefile.am, configure.in:
139 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
140 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
141 * Makefile.am: added:
142 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
143 for force correct pass generate documentation on "make distcheck".
144 * libspi/Makefile.am: fixes for automake >= 1.6.
145 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
146 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
149 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
151 * docs/reference/cspi/Makefile.am (install-data-local): Install
152 index.sgml since the doc autobuilder on widget.gnome.org looks for
155 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
157 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
160 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
162 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
164 2004-01-27 Brian Cameron <brian.cameron@sun.com>
166 * test/simple-at.c: Fixed null string problems that cause core
167 dumping problems on Solaris.
169 2004-01-12 Bill Haneman <billh@gnome.org>
171 * configure.in: Incremented version to 1.3.11.
173 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
175 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
176 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
179 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
181 * configure.in: Added "fa" to ALL_LINGUAS.
183 2003-12-20 Arafat Medini <lumina@silverpen.de>
185 * configure.in: Added "ar" to ALL_LINGUAS
187 2003-12-16 Bill Haneman <billh@gnome.org>
189 * registryd/registry-main.c:
191 Set the reg_env DISPLAY variable before registering the
192 activated registry service. Fixes bug #129479.
194 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
196 * configure.in: Added "id" in ALL_LINGUAS
197 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
199 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
201 * registryd/deviceeventcontroller.c (global_filter_fn):
202 When an event is consumed discard any XEvents were added to
203 the queue while dealing with the the event. This can happen if
204 processing of the event takes a long time. Call XUngrabKeyboard
205 if an event was discarded. This fixes bug $124837.
206 Only call wait_for_release_event for a KeyPress.
207 Use local variable display instead of spi_get_display().
208 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
211 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
213 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
214 Allow for mask to contain values other than NumLock mask.
217 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
219 * registryd/devieceventcontroller.c:
220 (wait_for_release_event): Change first parameter from GdkEvent to
222 (global_filter_fn); Correct call to wait_for_release_event.
226 2003-12-08 Bill Haneman <billh@gnome.org>
230 * registryd/ucs2keysym.c: New file.
232 * registryd/deviceeventcontroller.c:
233 (dec_keysym_for_unichar): Remove old partial implementation and
234 replace with call to ucs2keysym(), which is much more complete.
235 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
240 2003-12-05 Bill Haneman <billh@gnome.org>
242 * configure.in: Version 1.3.9.
244 * docs/reference/cspi/tmpl/spi_registry.sgml:
245 Added reference to libspi/keymasks.h to the
246 description of Registry queries: AccessibleKeyMaskType.
249 2003-12-04 Bill Haneman <billh@gnome.org>
253 * idl/Accessibility_Application.idl:
254 (Accessibility::LOCALE_TYPE): New enum, corresponds to
255 setlocale's LC_TYPEs.
256 (Accessibility::Application::getLocale): New method.
257 Allows clients to query the locale, by type, of an app.
260 * cspi/spi_application.c:
261 (AccessibleApplication_getLocale): New method, wraps IDL above.
263 * libspi/application.c:
264 (spi_application_class_init): Init epv entry for getLocale.
265 (impl_accessibility_application_get_locale): Impl for above.
267 * test/test-simple.c:
268 (test_application): Added assertion for getLocale, i.e.
269 that the string from AccessibleApplication_getLocale (app, type)
270 is the same as that from setlocale (type, NULL);
272 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
274 *registryd/deviceeventcontroller.c: Add an idle handler which polls
275 the keyboard on a timeout intil the key state goes from pressed to
276 released. Fixes bug #111429.
278 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
280 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
281 root object so that it is present when a context menu in an
282 out-of-process applet is popped up.
283 (spi_atk_bridge_do_registration): Create acceessible application root
284 object only if it does not exist.
286 This fixes bug #125834.
288 2003-12-01 Bill Haneman <billh@gnome.org>
290 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
293 Added enum for AccessibleStreamableContentSeekType.
294 (AccessibleStreamableContent_freeContentTypeList): New.
296 * cspi/spi_streamablecontent.c:
297 (accessible_bonobo_stream_client_seek): New private method.
298 (AccessibleStreamableContent_seek): Implemented this method,
299 using Bonobo_Stream_seek.
300 (AccessibleStreamableContent_freeContentTypeList): New method
301 for freeing the return value from
302 AccessibleStreamableContent_getContentTypes.
303 (stream_cache_item_free): Replaces stream_release; stop leaks.
304 (stream_release): removed.
305 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
306 free the memory properly.
308 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
312 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
314 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
316 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
318 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
320 2003-12-01 Bill Haneman <billh@gnome.org>
322 Fix for bug/rfe #127463.
324 * idl/Accessibility_Accessible.idl:
325 (getLocalizedRoleName): New.
326 (unimplemented4): Removed (replaced by above).
328 * libspi/accessible.c:
329 (impl_accessibility_accessible_get_local_role_name): New.
330 (spi_accessible_class_init): Add getLocalizedRoleName entry to
334 (Accessible_getLocalizedRoleName): New.
336 * cspi/spi_accessible.c:
337 (Accessible_getLocalizedRoleName): New.
339 2003-12-01 Bill Haneman <billh@gnome.org>
342 * idl/Accessibility_Text.idl:
343 (getDefaultAttributes): New.
344 (unimplemented4): Removed (replaced by above method).
347 (impl_getDefaultAttributes): New method.
348 (spi_text_class_init):
349 initialize the get_default_attributes slot in the epv.
352 (AccessibleText_getDefaultAttributes): New prototype.
355 (AccessibleText_getDefaultAttributes): New method.
357 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
359 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
360 write beyond the end of the table. Fixes bug #120473.
362 2003-09-30 Christian Rose <menthos@menthos.com>
364 * configure.in: Added "eu" to ALL_LINGUAS.
366 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
368 * configure.in: ALL_LINGUAS: Added no.
370 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
372 * configure.in: Added lt to ALL_LINGUAS.
374 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
376 * atk-bridge/bridge.c:
377 (atk_bridge_init): Register event listeners always even for
378 out-of-process applet.
379 (spi_atk_bridge_toplevel_added): Remove call to
380 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
381 (spi_atk_bridge_toplevelk_removed): Remove call to
382 spi_atk_deregister_event_listenersa as the listeners are now always
384 (spi_atk_bridge_register_application): Remove call to
385 spi_atk_register_event_listeners as it is not done in atk_bridge_init
387 This fixes bug #120991.
389 * libspi/table.c (impl_getColumnDescription): Correct typo,
390 pointed out by Bolian.Yin@sun.com.
392 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
394 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
396 2003-09-08 Bill Haneman <billh@gnome.org>
398 * configure.in: Revved to 1.3.7.
400 This is the GNOME 2.4.0 release of at-spi.
402 * docs/reference/cspi/Makefile.am:
403 Removed spurious inclusion of 'index.sgml' in the
404 html directory; this was breaking make distcheck and
405 also some other build environments.
407 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
409 * registryd/registry.[ch}:
410 Add queue_handler_id and focus_object to SpiRegistry data structure.
411 (registry_flush_event_queue): If event being discarded is
412 "state-change:focused" store object as focus_object.
413 (registry_start_queue): Remove queue handler and focus object
415 (registry_discard_event): New function which discards a focus event
416 if we had stored focus object in the registry.
417 (registry_queue_event): Add new check that is_queueing is set as this
418 function is reentrant.
419 (registry_filer_event): Add call to registry_discard_event.
421 This resolves issues raised in bug #108664.
423 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
425 * configure.in: Added "bn" to ALL_LINGUAS.
427 2003-09-04 Bill Haneman <billh@gnome.org>
429 * cspi/spi_event.c: Documentation improvements for
430 (SPI_registerAccessibleKeylistener).
432 * docs/reference/tmpl/spi_registry.sgml:
433 Documentation improvements for SpiAccessibleKeylistenerCB.
435 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
437 * configure.in: Added "ro" to ALL_LINGUAS.
440 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
442 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
443 not decremented to zero. Fixes bug #120725.
445 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
447 * configure.in: Added "ja" to ALL_LINGUAS.
449 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
451 * configure.in: Added "is" to ALL_LINGUAS.
453 2003-08-22 Christian Rose <menthos@menthos.com>
455 * configure.in: Added "nl" to ALL_LINGUAS.
457 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
459 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
460 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
462 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
464 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
465 type for unspecified exception.
466 * cspi_streamablecontect): Add include of string.h for memcpy.
467 (stream_release): Correct call to bonobo_object_release_unref
468 (stream_cache_item_free): Correct call to bonobo_object_release_unref
469 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
470 argument of _cspi_expection_throw.
471 * libspi/hyperlink.c: Add include of libspi/action.h:
472 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
473 * libspi/streamablecontent.c: add include of libspi/component.h.
474 * regisrtyd/deviceeventcontroller.c:
475 (spi_dec_translate_mask): Removed unused variable priv.
476 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
477 * registryd/registry.c:
478 (registry_filter_event): Remove unused variable queue_is-empty.
479 (impl_registry_notify_event): Use correct modifier in fprintf call.
481 This fixes compiler warnings reported in bug #120220.
483 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
485 * registryd/registryd.c: Remove this file.
487 2003-08-17 Sanlig Badral <badral@openmn.org>
489 * configure.in: Added mn to ALL_LINGUAS.
491 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
493 * configure.in: Added et to ALL_LINGUAS.
495 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
497 * test/event-listener-test.c: Change active-descendant to
498 active-descendant-changed.
500 2003-08-10 Sami Pesonen <sampeson@iki.fi>
502 * configure.in: Added "fi" in ALL_LINGUAS.
504 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
506 * configure.in: Added "hi" in ALL_LINGUAS.
508 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
510 * configure.in: Revved to 1.3.6.
514 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
516 * registryd/deviceeventcontroller.c
517 (spi_device_event_controller_object_finalize): Fix typo in previous
520 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
522 * registryd/deviceeventcontroller.c
523 (spi_device_event_controller_object_finalize): Fix build on
524 systems without XEvIE.
526 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
528 * acconfig.h, configure.in, registryd/Makefile.am,
529 registryd/devicecontoller.[ch]: Add XEViE support.
531 2003-08-06 Wang Jian <lark@linux.net.cn>
533 * configure.in: Added "zh_CN" to ALL_LINGUAS.
535 2003-08-06 Metin Amiroff<metin@karegen.com>
537 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
539 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
541 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
542 MODIFIER_ALT in correct place.
544 This fixes part of bug #118114.
546 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
548 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
550 2003-07-28 Changwoo Ryu <cwryu@debian.org>
552 * configure.in: Added "ko" to ALL_LINGUAS.
554 2003-07-28 Ole Laursen <olau@hardworking.dk>
556 * configure.in: Added "da" to the commented out ALL_LINGUAS.
558 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
560 * configure.in: Added "sq" to ALL_LINGUAS.
562 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
564 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
566 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
568 * configure.in: updated ALL_LINGUAS list
570 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
572 * configure.in: Added Belarusian to ALL_LINGUAS.
574 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
576 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
578 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
579 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
581 This fixes bug #116949.
583 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
585 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
586 Correct CSPI to SPI in function documentation.
588 This fixes bug #118054.
590 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
592 * configure.in: Added Russian to ALL_LINGUAS.
594 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
596 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
598 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
600 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
602 2003-07-10 Joel Brich <joel.brich@laposte.net>
604 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
606 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
608 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
610 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
612 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
613 resources allocated for AccessibleEvent. See cspi_event().
615 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
616 static variable streams to NULL.
618 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
619 Update so that AcessibleEvent_ref will work.
621 This fixes bug #116624.
623 2003-07-06 Jordi Mallach <jordi@sindominio.net>
625 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
627 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
629 * configure.in: Added "fr" (French) to ALL_LINGUAS.
631 2003-07-02 Christian Neumair <chris@gnome-de.org>
633 * configure.in: Added "de" (German) to ALL_LINGUAS.
635 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
637 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
639 2003-07-01 Miloslav Trmac <mitr@volny.cz>
641 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
643 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
645 * configure.in: Added "pl" to ALL_LINGUAS.
647 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
649 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
651 2003-06-30 Bill Haneman <bill.haneman@sun.com>
654 (get_action_from_servant):
655 Removed assertion that action is implemented on an AtkObject.
657 * libspi/hyperlink.c:
659 Aggregate AccessibleAction interface on the hyperlink object if
660 the object implements AtkAction. (This convention is used in
663 2003-06-30 Bill Haneman <bill.haneman@sun.com>
665 * configure.in: Revved to 1.3.5.
667 * registryd/Accessibility_Registry.server.in.in:
668 Marked up appropriate strings for translation.
670 * atk-bridge/bridge.c: Marked a couple of
671 user-visible warnings for translation. Questionable
672 whether they are really useful, but possibly so.
675 2003-06-28 Christian Rose <menthos@menthos.com>
677 * configure.in: Added "sv" to ALL_LINGUAS.
679 2003-06-26 Bill Haneman <bill.haneman@sun.com>
681 * registryd/registry.c:
682 (spi_registry_object_finalize): Unref the deviceeventcontroller.
683 (registry_defer_on_event): Defer focus: events, this is an
684 improvement to the patch for bug #108664.
686 * TODO: Update with 2.4/"Dev Complete" items.
688 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
690 * atk-bridge/bridge.c:
691 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
692 looks up signals once.
693 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
694 if doing registration.
695 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
696 when doing registration.
698 This fixes bug #115014.
700 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
702 * atk-bridge/bridge.c:
703 (atk_bridge_init): Add signal handler for children-changed:remove on
704 root when in a BonoboComponent.
705 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
706 for first toplevel only other incrememt variable toplevels.
707 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
708 application and remove listeners.
709 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
711 (spi_atk_deregister_event_listeners): New function which removes
713 (reinit_register_vars): New fuction which reinitializes variables.
715 This fixes bug #111578.
717 2003-06-13 Bill Haneman <bill.haneman@sun.com>
719 * configure.in: version 1.3.4.
721 * cspi/spi_accessible.c:
722 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
725 2003-06-13 Michael Meeks <michael@ximian.com>
727 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
729 * cspi/spi_main.c (cspi_peek_ev): impl.
731 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
733 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
735 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
737 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
738 SPI_ROLE_AUTOCOMPLETE
740 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
742 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
743 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
745 2003-06-11 Bill Haneman <bill.haneman@sun.com>
747 * libspi/streamablecontent.h:
748 * libspi/streamablecontent.c:
749 New files, provide implementation/wrappers for
750 Accessibility_StreamableContent.
752 * cspi/spi_streamablecontent.c:
753 Connected the C wrappers to the libspi C bindings.
754 (AccessibleStreamableContent_close): New method.
757 (AccessibleStreamableContent_close): New method, needed
758 since we have an "open, [seek], read, close" model in cspi.
760 2003-06-11 Bill Haneman <bill.haneman@sun.com>
762 Fix for #108664; Padraig's revision of my original patch.
764 * registryd/registry.h:
765 Added event queue list, is_queuing, and exit_notify_timeout
766 to the registry struct.
768 * registryd/registry.c:
769 (registry_init): Initialize new struct from registry.h.
770 (impl_registry_notify_event):
771 Filter events before notifying, in case some need to be
773 (registry_filter_event): New,
774 we defer certain incoming events (for instance
775 window:deactivate) because we may wish to hide
776 or reject them based on pending events. This is
777 mostly a workaround for bug #108664.
778 (registry_queue_event, registry_start_queue): New.
779 (registry_defer_on_event): Test event to see if it
781 (registry_reset_on_event): Returns TRUE if the
782 event should cause a queue reset.
783 (registry_discard_on_event): Returns TRUE if the event
784 should cause the previous queue contents to be discarded.
785 (registry_timeout_flush_queue): Flushes the pending event
786 queue if no reset/discard-triggering events have come in
787 within the timeout period.
788 (registry_emit_event): New.
789 (registry_clone_notify_context): New, used when queueing the
790 event notify contexts.
792 2003-06-10 Bill Haneman <bill.haneman@sun.com>
794 * configure.in: Version revved to 1.3.2, lt 0.9.2
795 Incremented ATK required version to 1.3.4.
797 * cspi/spi_registry.c:
798 (SPI_generateKeyEvent):
799 We now pass the keystring along if it's non-null.
801 * registryd/deviceeventcontroller.c:
802 (keysym_mod_mask): New method, returns modifier mask
803 required to generate a keysym from a given keycode.
804 (dec_synth_keysym): New method.
805 (dec_synth_keystring): New method.
806 (dec_get_modifier_state): New method.
807 (dec_lock_modifiers): New
808 (dec_unlock_modifiers): New.
809 (dec_keysym_for_unichar): New, rather brute-force
810 conversion from UCS-4 to X KeySyms. Only works for
811 Latin at the moment, with partial implementations for
812 Greek, Hebrew, and (incomplete) Katakana.
813 (impl_generate_keyboard_event): Now implement
814 "KEYSTRING" synthesis and implement "KEYSYM"
816 (keycode_from_keysym): Improved, passes a returned
817 modmask value now if the corresponding param is non-NULL.
819 Fixes bugs #92143 and #109776.
822 * test/keysynth-test.c:
823 New test program for key synthesis, to confirm fixes for
827 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
829 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
831 * cspi/spi_accessible.c (cspi_init_relation_type_table):
832 Add line for RELATION_POPUP_FOR
834 * docs/reference/cspi/tmpl/spi_relation.sgml:
835 Add relation SPI_RELATION_POPUP_FOR
837 * docs/reference/cspi/tmpl/spi_stateset.sgml:
838 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
840 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
842 * libspi/relation.c (spi_init_relation_type_table):
843 Add line for RELATION_POPUP_FOR
845 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
847 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
848 there are still windows which have not been deleted and emit
849 window:deactivate, if necessary and window:destroy events.
850 This fixes bug #114370. The change on June 5th was not correct.
852 2003-06-09 Bill Haneman <bill.haneman@sun.com>
854 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
857 (SPI_dupString): Allow dup-ing of a string such that it's safe to
859 New methods for client exception handling and interception.
860 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
861 (SPI_exceptionHandlerPop): You guessed it...
862 (SPI_getSourceType): Return the type of object which offended.
863 (SPI_getExceptionCode): Return an enum code telling, possibly,
864 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
865 (SPIAccessibleException_getSource): get the source object for
866 exceptions that come from Accessibles, if SPIExceptionSourceType is
867 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
868 (SPIException_getDescription): New, returns a string description of
869 the problem. [Not yet a stable ABI, strings are not frozen]
871 * cspi/spi-private.h:
872 Added implementation details of opaque SPIException
876 Implementations of above. Also
877 (_cspi_exception_throw): new private method that
878 dispatches exceptions to handlers, called from cspi-bonobo.c
880 * cspi/bonobo/cspi-bonobo.c:
881 (cspi_check_ev): call _cspi_exception_throw.
882 Don't print a warning message if the exception has been
883 handled by _cspi_exception_throw.
885 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
887 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
888 there are still windows which have not been deleted and emit
889 window:deactivate, if necessary and window:destroy events.
890 This fixes bug #114370.
892 2003-06-03 Bill Haneman <bill.haneman@sun.com>
895 (cspi_accessible_is_a): Make non-fatal
896 if the object reference is dead.
898 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
900 * cspi/spi_main.c: #include <stdio.h>
901 * test/simple-at.c: ditto
902 * test/event-listener-test.c: ditto
903 * test/screen-review-test.c: ditto
905 2003-05-30 Michael Meeks <michael@ximian.com>
907 * test/test-simple.c (main): use CORBA_ORB_perform_work
908 instead of an unnecessary linc_ call.
910 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
912 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
913 Add SPI_STATE_INDETERMINATE.
915 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
918 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
920 * libspi/stateset.c (init_state_type_tables): Add support for
923 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
925 * configure: Update versions of atk and gail required.
926 This fixes bug #113268.
928 2003-05-02 Bill Haneman <bill.haneman@sun.com>
930 * configure.in: Revved micro version to 1.3.1 (because of build fix).
932 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
934 * libspi/Makefile.am:
935 Ensure headers are generated before being used by c sources.
937 2003-05-01 Bill Haneman <bill.haneman@sun.com>
940 Simplified lt versioning rules.
941 Incremented version to 1.3.0, to indicate that we're on the
944 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
946 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
947 Add MKDB_OPTIONS=--outtput-format=xml
949 * docs/reference/cspi/at-spi-cspi-docs.sgml
950 docs/reference/idl/at-spi-idl-docs.sgml:
951 Convert to Docbook XML.
953 This fixes bug #111793.
955 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
957 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
958 AcccessibleKeyEventType, AccessibleKeyMaskType.
960 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
962 * cspi/state-types.h: Add documentation for AccessibleState.
964 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
965 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
966 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
967 AccessibleComponentLayer.
969 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
972 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
974 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
975 Accessible. Add description of AccessibleEvent,
976 AccessibleEventListenerCB.
978 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
981 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
982 documentation. Add description of AccessibleKeystrokeListenerCB,
983 AccessibleKeyEventMask, AccessibleModifierMaskType,
984 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
985 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
987 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
990 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
993 This fixes bug #104730.
995 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
997 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
998 Set is_text field of Accessibility_DeviceEvent data structure.
1000 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1001 is-text field of AccessibleDeviceEvent data structure.
1003 This addresses part of bug #108666.
1005 * registryd/devcieeventcontroller.c: Unset debug option.
1007 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1009 * cspi/accessible.c:
1010 (cpi_initial_relation_type_table): New function which initializes
1011 mapping between Accessibility_RelationType and AccessibleRelationType.
1012 (cspi_relation_type_from_spi_relation_type): New function which
1013 translates an Accessibility_RelationType into an AccessibleRelationType.
1014 (AccessibleRelation_getRelationType): Use
1015 cpi_relation_type_get_spi_relation_type to return correct value.
1016 (spi_state_to_corba): Return correct type for default case.
1018 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1019 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1021 * cspi/cspi-bonobo-listener.c:
1022 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1025 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1026 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1027 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1028 libspi/image.c, libspi/listener.c, libspi/selection.c,
1029 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1030 registryd/desktop.c, registryd/registry.c:
1031 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1033 * libspi/eventlistener.c
1034 Remove semicolon after BONOBO_TYPE_FUNC.
1036 * libspi/relation.c:
1037 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1038 (spi_init_relation_type_table): Initialize using correct type.
1040 * registryd/desktop.c:
1041 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1042 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1043 of Accessibility_KeyEventType.
1045 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1048 * tests/simple-at.c, tests/screen-review-test.c:
1049 Add include for <strings.h>.
1051 * tests.stress-test.c:
1052 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1054 These changes fix compiler warnings when using FORTE compiler on
1055 Solaris; fixes bug #107479.
1058 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1061 * configure.in: revved to 1.1.10
1063 * libspi/keymasks.h:
1064 (SPI_KEYMASK_NUMLOCK): Added.
1066 * registryd/deviceeventcontroller.c:
1067 (spi_key_event_matches_listener): AND with a smaller
1068 bitmask (as we should).
1069 (spi_dec_translate_mask):
1070 New method, sets the virtual NumLock modifier bit
1071 if numlock is on. Eventually it can handle other virtual
1072 modifier bits if needed, or other marshalling from
1073 at-spi modifier masks to platform (X) masks.
1074 (spi_dec_key_listener_new):
1075 Call spi_dec_translate_mask to set up virtual mod bits
1076 in the 'mask' field when creating a new listener struct.
1077 (spi_dec_emit_modifier_event):
1078 Set the virtual (i.e. NumLock) bits before emitting event.
1079 (spi_controller_register_with_devices):
1080 Query for the NumLock modifier 'physical' bit if Xkb is
1081 present, for use in above methods.
1085 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1087 * registryd/deviceeventcontroller.c:
1088 (spi_keystroke_from_x_key_event):
1089 Instead of checking to see if the keysym is
1090 printable, check the string from XLookupString
1091 if available, get the first unicode character from it,
1092 and call g_unichar_isprint to determine whether the
1093 is_text flag should be TRUE or FALSE.
1097 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1099 * atk-bridge/bridge.c: Add support for extended events
1100 * cspi/spi_event.c: Add documentation and implementation for
1102 * tests/event-listener-test.c: Add tests for extended events.
1104 This fixes bugs #100424 and #100426.
1106 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1108 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1109 of LT_CURRENT. This fixes bug #89350.
1111 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1113 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1114 number of signal parameter values before accessing them. This fixes
1117 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1119 * configure.in: Fixed duplicate inclusion of -lspi.
1120 * branched for gnome-2-2/HEAD.
1121 [created tag "gnome-2-2"]
1123 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1125 * configure.in: 1.1.9 release.
1128 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1130 [needed by GOK, to fix bugs 107985 and 107988]
1131 * registryd/deviceeventcontroller.c:
1132 (spi_dec_clear_unlatch_pending):
1133 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1134 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1135 (spi_dec_init_mouse_listener):Emit warning if mouse button
1137 (spi_device_event_controller_forward_mouse_event):
1138 Removed unnecessary parens from a conditional.
1139 (global_filter_fn):Added TODO comment.
1140 (impl_generate_keyboard_event):
1141 Cancel a pending relatch if a 'delatching' key was
1144 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1146 * atk-bridge/bridge.c:
1147 Change atk_signal_child_changed to atk_signal_children_changed.
1148 Reorganize code in spi_atk_bridge_signal_listener().
1150 * test/event-listener-test.c:
1151 Add children_changed_listener and report_children_changed_event()
1152 to test AccessibleChildEvent_getChildAccessible.
1154 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1156 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1157 g_strdup to CORBA_String_dup (bug #105291)
1159 * test/event-listener-test.c (report_text_event): Add call to
1162 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1164 * registryd/deviceeventcontroller.c:
1165 (spi_keystroke_from_x_key_event):
1166 Fix string and keysym return codes to match modifier state.
1169 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1171 * registryd/deviceeventcontroller.c:
1172 (spi_keystroke_from_x_key_event):
1173 Fix segv due to improper use of isprint(c). [bug #107254]
1175 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1178 (get_accessible_text_boundary_type):
1179 Move default return value to (new) default case in switch.
1180 (get_accessible_text_clip_type):
1181 Move default return value to (new) default case in switch.
1183 * libspi/application.c:
1184 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1185 Remove unused methods.
1186 (impl_accessibility_application_register_object_event_listener):
1187 Remove unused methods.
1190 Added #include of <math.h>.
1192 * registryd/deviceeventcontroller.c:
1193 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1194 we don't currently use this method.
1195 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1197 (impl_generate_key_event):
1198 Remove unused variables.
1199 (impl_generate_mouse_event):
1200 Initialize button to zero, just in case we get an invalid
1201 input. Added support for mouse buttons 4 and 5.
1202 (spi_device_event_controller_new):
1203 Removed unused variable declaration for 'private'.
1205 Added #include of <gdk/gdk.h>
1207 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1209 * configure.in: Update to work when X is not installed in expected
1210 location. Fixes bug #105836.
1212 * atk-bridge/bridge.c
1213 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1215 (spi_atk_register_event_listener): Add signal listener for
1217 (spi_atk_bridge_signal_listener): Event event when link-selected
1218 signal is emitted. (bug #104622)
1220 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1221 on returned string. (bug #105291)
1223 * test/event-listener-test.c: Add test for link-selected.
1225 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1227 * atk-bridge/Makefile.am: Correct typo in previous commit.
1229 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1231 * atk-bridge/Makefile.am: Allow for build directory to be different
1232 from source directory
1234 * registryd/Makefile.am: Allow for build directory to be different
1235 from source directory
1239 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1242 Fixed dependencies for libcspi so that libspi gets pulled in
1243 properly. Fixes 104741.
1247 Clean up inline docs a little.
1249 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1251 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1252 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1253 the AtkObject within an SpiDesktop.
1254 This addresses bug #101524.
1256 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1257 Remove call to gdk_init().
1259 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1260 so that Display is set when SpiDesktop is created.
1262 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1264 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1265 This fixes bug #102830.
1267 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1269 * test/test-simple.c: Update to take account of fact that GailButton
1270 now implements AtkText.
1271 (create_text_window): Set name on AtkObject for GtkEntry.
1272 (validate_accessible): Check accessible name before calling test_text().
1274 * libspi/Makefile.am: Fix problem with building outside of source
1275 directory. Bug #98120.
1277 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1278 typo in documentation comments. Bug #94275.
1280 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1282 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1284 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1287 Add includes to avoid compiler warnings on Solaris.
1288 (impl_getRangeExtents): Bug fix.
1290 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1292 Fix for 100944, [API addition approved by Gman and murrayc].
1299 * idl/Accessibility_Text.idl:
1300 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1301 (Text::getRangeExtents): New method for efficient
1302 bounds query of a text range.
1303 (Text::getBoundedRanges): New method for efficient
1304 clipping of text to bounding boxes.
1305 (unImplemented7, unImplemented8):
1306 Removed these padding methods to preserve bincompat.
1309 (impl_getRangeExtents): implementation of new IDL.
1310 (impl_getBoundedRanges): implementation of new IDL.
1311 (SpiTextRect): Internal use struct.
1312 (_spi_text_rect_union): internal method, calculates union of two
1313 SpiTextRect bounding rects.
1314 (_spi_text_range_seq_from_gslist): internal method, allows us
1315 to build our sequence efficiently as a gslist then convert it
1317 (_spi_bounds_contain): internal method, determines whether
1318 a text character is "in" or "out" of a clip rect according to
1319 values of TEXT_CLIP_TYPE.
1320 (spi_text_class_init): Initialize the new methods in the epv.
1323 (AccessibleTextClipType): New enum used by screen review api.
1324 (AccessibleTextRange): New struct used by screen review api.
1325 (AccessibleText_getRangeExtents):
1326 cspi binding for Accessibility_Text_getRangeExtents.
1327 (AccessibleText_getBoundedRanges):
1328 cspi binding for Accessibility_Text_getBoundedRanges.
1329 (AccessibleTextRange_freeRanges): convenience method.
1332 (AccessibleText_getRangeExtents):
1333 cspi binding for Accessibility_Text_getRangeExtents.
1334 (AccessibleText_getBoundedRanges):
1335 cspi binding for Accessibility_Text_getBoundedRanges.
1336 (AccessibleTextRange_freeRanges): convenience method.
1337 (get_accessible_text_clip_type): internal conversion method.
1338 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1340 * registryd/deviceeventcontroller.c:
1341 (spi_dec_mouse_check):
1342 Improved behavior for mouse:abs events
1343 [same granularity as mouse:rel events, and no
1344 events when mouse is idle].
1346 2002-12-16 Michael Meeks <michael@ximian.com>
1348 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1350 * libspi/stateset.c (state_spi_to_atk): split out
1351 ( fix several remote array bounds nasties )
1352 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1353 (impl_remove): make safe from array bounds issues.
1354 (spi_atk_state_from_spi_state): impl.
1356 * libspi/stateset.h (spi_state_set_cache_is_empty):
1357 add a set of wrapper defines to get layering right.
1359 * cspi/spi_accessible.c: update state set stuff to
1362 2002-12-14 Michael Meeks <michael@ximian.com>
1364 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1365 to avoid 2 roundtrips to the registry per key event
1366 (spi_atk_bridge_key_listener): upd.
1367 (deregister_application): release the dec.
1369 * registryd/registry.c (notify_listeners_cb):
1370 bin lots of re-enterant complexity - we no longer
1371 do a round-trip bonobo ref here, ensure that a single
1372 listener's exception failure won't poison all other
1374 (impl_registry_notify_event): bin obvious memory leak.
1376 2002-12-13 Michael Meeks <michael@ximian.com>
1378 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1379 init the ev so the error is meaningful.
1380 (spi_atk_bridge_key_listener): ditto.
1382 * cspi/spi_main.c (cspi_ev): init the ev so we start
1383 with a clean slate, otherwise the first exception
1384 kills us completely.
1386 * cspi/spi_text.c (get_accessible_text_boundary_type):
1387 add a fallthrough for no warnings.
1389 * cspi/spi_registry.c: prune unused warnings.
1391 * cspi/spi_main.c (cspi_object_take): fix
1392 mind-blowing brokenness ( by watching the compile
1395 * cspi/spi_accessible.c (Accessible_getStateSet):
1396 re-impl. to use an AtkStateSet.
1397 (spi_state_type_from_accessible_state),
1398 (init_state_table): bin these.
1400 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1402 (atk_state_set_from_accessibility_state_set): here.
1404 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1405 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1406 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1407 (AccessibleStateSet_add, AccessibleStateSet_remove),
1408 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1409 (AccessibleStateSet_isEmpty): re-write to use a local
1412 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1414 * configure.in: Revved to 1.1.7 (new keymask vals).
1416 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1418 * libspi/keymasks.h:
1419 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1421 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1424 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1425 to compare two CORBA_TypeCodes.
1426 (cspi_internal_event_add): Silence warning from FORTE compiler.
1428 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1429 avoid implicit declaration of functions.
1431 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1433 * atk-bridge/bridge.c:
1434 (spi_atk_bridge_init_event_type_consts): Store signal id for
1435 active-descendant-changed signal.
1436 (spi_atk_register_event_listeners): Add signal listener for
1437 active-descendant-changed signal,
1438 (spi_atk_bridge_signal_listener): Move code in function
1439 spi_atk-signal_emit_event() into this function.
1440 Add support for active-descendant-changed
1441 Update support for child-changed signal.
1442 (spi_bridge_window_event_listener): Silence warning.
1444 * libspi/spi_private.[ch]:
1445 (spi_init_any_object): Change second parameter from CORBA_Object to
1447 Omit call to CORBA_Object_duplicate().
1448 Set CORBA_any's _value to CORBA_Object*.
1450 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1456 (AccessibleEvent_ref, AccessibleEvent_unref):
1457 New methods, for persisting an event outside the emission context.
1458 Must be used if the new accessor methods are to be called
1459 outside of the event listener's callback.
1461 * cspi/bonobo/cspi-bonobo.c:
1462 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1463 as second parameter instead of NULL, so we can call
1464 cspi_check_ev afterwards.
1467 (cspi_object_take): New internal method,
1468 converts a CORBA_Object reference to a hard ref on
1469 an Accessible if possible, returning NULL if the object
1470 reference is invalid or an Accessible * otherwise.
1473 (AccessibleEvent_ref):
1474 Increment the event's internal private refcount, and
1475 add the event's internal struct to an internal cache
1476 if it's not already there.
1477 (AccessibleEvent_unref):
1478 Decrement the event's refcount and remove it from
1479 the cspi event cache if refcount==0.
1480 (cspi_event_compare): New private method.
1481 Compares two event structs via their ids. Used
1483 (cspi_internal_event_lookup): New private method.
1484 (cspi_internal_event_check): New private method,
1485 a 0-order sanity check for events to make sure their
1486 private data is intact.
1487 (cspi_internal_event_add, cspi_internal_event_remove):
1488 New private methods for managiing the event cache.
1490 * cspi/bonobo/cspi-bonobo-listener.c:
1492 Initialize the new private data elements (id, magic, ref_count).
1494 * atk-bridge/bridge.c:
1495 (spi_atk_bridge_signal_listener):
1496 Fixed bug #100530, passing wrong params to emission func.
1498 * registryd/deviceeventcontroller.c:
1499 (spi_dec_button_update_and_emit):
1500 Fixed type in mask bit operations; fix for #99799.
1502 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1504 Removed some of the more dangerous workarounds from
1505 previous commit; they are only needed by GOK, which
1506 in reality should be using another method to accomplish
1507 the goals. So on reconsideration some of the workarounds
1508 need to be reverted:
1510 * registryd/deviceeventcontroller.c:
1511 (spi_keycodes_contain, spi_dec_init_keycode_list):
1512 Removed these methods, used only by a nasty hack to try
1513 and detect whether a key synthesis should be allowed
1514 to reset the XKB latch state or not. This code was only
1515 required to work around an interaction between GOK,
1516 button events, and XKB.
1517 (impl_generate_key_event):
1518 Removed hack at end of key generation that tried to
1519 "do the right thing" if XKB latch keys were generated
1520 in the midst of button press/release pairs.
1523 Added a check for HAVE_XINPUT. Not normally used yet.
1525 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1527 Workarounds and fixes for mouse event/XKB interaction.
1529 * registryd/deviceeventcontroller.c:
1530 (spi_keycodes_contain, spi_dec_init_keycode_list):
1531 New internal methods.
1532 (spi_dec_set_unlatch_pending):
1533 Split the method that tells XKB to expect an
1534 unlatch (and revert it) out of the rest of the
1535 event handling code. This method is called by the
1536 two mouse event handlers (the poll and the filter).
1537 (spi_dec_update_and_emit, spi_dec_mouse_check):
1538 New methods split from spi_dec_poll_mouse_moved.
1539 The second one is now called from inside the filterFn
1540 when an XKB delatch event is received, to determine
1541 whether to revert the delatch or not.
1542 (spi_poll_mouse_moved): Refactor; also we can now
1543 properly handle the case where multiple button states
1544 have changed between polling cycles and we didn't get
1545 notified due to another client's grab.
1547 Synchronize the server while handling an XKB notification.
1548 Ugly, but apparently necessary to avoid nasty races.
1549 Check the mouse state on receipt of an XKB latch change,
1550 to decide whether to revert the latch or not. (Latches are
1551 reverted if there is an immediately preceding mouse button
1552 event that a client has consumed, in which case we don't want
1553 the user to see the side-effect of the event).
1554 (spi_device_event_controller_forward_mouse_event):
1555 Check for modifier events and fire before resetting mouse_mask_state,
1556 prevents losing modifier events.
1558 (impl_generate_keyboard_event):
1559 If we've just generated a keyboard event for a non-shift key,
1560 we don't want to revert the pending XKB latch.
1561 Otherwise, check the modifier state (via a call to
1562 spi_dev_mouse_check) and set the relatch mask to
1563 that state before returning.
1565 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1568 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1571 * atk-bridge/bridge.c:
1572 (spi_atk_register_event_listeners):
1573 Don't re-register for ATK events if the registry has died
1574 and the app needs to re-register; the ATK listeners are in
1575 process and doing so will cause duplicate emission.
1577 * registryd/deviceeventcontroller.c:
1578 (spi_poll_mouse_moved):
1579 Reformat the source, detect and emit multiple button-change
1580 events (i.e. if multiple buttons have changed between poll
1582 Add code to detect mouse-down events even when the pointer
1583 is grabbed; workaround for GOK bug 98420.
1584 (spi_controller_register_with_devices):
1585 Call XTestGrabControl with 'impervious' flag set to True,
1586 allows us to synthesize events and query the pointer even during
1587 an active grab by another client.
1588 (spi_device_event_controller_forward_mouse_event):
1589 Set the mouse_mask_state to the mouse_button_state from
1590 the intercepted event, to synchronize the grab listener with
1593 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1595 * cspi/spi_accessible.c:
1596 (AccessibleRole_getName):
1597 Added necessary strings for making this (deprecated)
1598 method work with the new role types.
1599 (init_role_table, role_table):
1600 Added definition of SPI_ROLE_APPLICATION.
1602 * libspi/spi-roletypes.h:
1603 Added SPI_ROLE_APPLICATION.
1605 * idl/Accessibility_Role.idl:
1606 Added ROLE_APPLICATION.
1608 * docs/reference/cspi/at-spi-cspi-decl.txt:
1609 Added SPI_ROLE_APPLICATION to docs.
1611 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1613 * cspi/spi_accessible.c
1614 (cspi_init_role_table): Do not write beyond end of role_table.
1615 (Accessible_getRole): Use correct type for value returned by
1616 Accessibility_Accessible_getRole().
1618 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1619 beyond end of role_table. (This fixes bug #98269)
1621 * libspi/application.c: Add include file spi-private.h for
1622 definition of spi_init_any_nil.
1624 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1628 * libspi/spi-private.h:
1629 Added DGB() macro, and extern int _dbg declaration.
1631 * registryd/registry.c:
1632 (definitions) storage for _dbg.
1633 (spi_registry_init):
1634 Get environment variable "AT_SPI_DEBUG".
1635 (spi_registry_set_debug):
1636 New method, to initialize _dbg value.
1637 (spi_listener_struct_new, spi_registry_object_finalize):
1638 (notify_listeners_cb):
1639 Changed fprintfs to use DBG and g_warning().
1641 * registryd/deviceeventcontroller.c:
1642 (_deregister_keygrab, spi_controller_register_device_listener):
1643 Changed debug/warning messages to use DBG macro.
1645 * libspi/listener.c:
1646 (impl_notify_event):
1647 Changed warning messages to use DBG macro and g_warning().
1649 * atk-bridge/bridge.c:
1650 (atk_bridge_init, spi_atk_bridge_get_registry):
1651 (spi_atk_bridge_exit_func):
1652 (spi_atk_bridge_property_event_listener):
1653 Changed status, warning, and error messages to use
1654 g_warning, g_message, and DBG macros.
1657 Read the state of the AT_SPI_DEBUG environment variable
1658 and set a local '_dbg' accordingly.
1660 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1662 FIXES for 98836, 98842, other bugs.
1665 Revved to 1.1.4, interface-age=4, binary-age=4.
1667 * registryd/deviceeventcontroller.c:
1669 Fixed crasher bug in last_mouse_pos initialization.
1671 * registryd/registry.c:
1672 (desktop_add_application, desktop_remove_application):
1673 Added (and then commented out) some support for
1674 object context marshalling. [TODO]
1676 * atk-bridge/bridge.c:
1677 (spi_atk_bridge_event_context_create):
1678 Commented out object context creation until it can
1679 be properly tested and debugged.
1681 * registryd/registry.c:
1682 (impl_registry_notify_event):
1683 Fixed crasher bug, we were calling
1684 spi_re_entrant_list_foreach () with an empty list.
1686 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1688 * idl/Accessibility_Action.idl:
1689 * idl/Accessibility_Component.idl:
1690 * idl/Accessibility_Desktop.idl:
1691 * idl/Accessibility_Event.idl:
1692 * idl/Accessibility_Hyperlink.idl:
1693 * idl/Accessibility_Image.idl:
1694 * idl/Accessibility_Relation.idl:
1695 * idl/Accessibility_Selection.idl:
1696 * idl/Accessibility_State.idl:
1697 * idl/Accessibility_Value.idl:
1698 Updated unimplemented slot count to minimum of
1699 four for all interfaces, for ABI freeze.
1701 * idl/Accessibility_EditableText.idl:
1702 * idl/Accessibility_Text.idl:
1703 Updated unimplemented slot count to six
1706 * idl/Accessibility_Registry.idl:
1707 Updated unimplemented slot count to six
1708 (also for DeviceEventController),
1711 * idl/Accessibility_Table.idl:
1712 Updated unimplemented slot count to eight,
1715 * idl/Accessibility_Event.idl:
1716 Added CORBA_any "any_data" member to Event struct.
1718 * idl/Accessibility_Event.idl:
1719 Added CORBA_any "any_data" member to Event struct.
1721 * atk-bridge/bridge.c:
1723 atk_signal_text_changed, atk_signal_child_changed,
1724 signal ids queried from gtype system.
1725 (AtkBridgeEventContextType): New enum.
1726 (AtkBridgeEventContextData): New struct.
1727 (AtkBridgeEventContext): New struct.
1728 (atk_bridge_init_event_type_consts):
1729 New method, initializes type contants for comparison
1730 prior to emit_eventv.
1731 (atk_bridge_event_context_init): New method,
1732 initializes a CORBA_any from an AtkBridgeEventContext.
1733 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1734 initialize the event.any_data struct.
1735 (spi_atk_bridge_event_context_create): New method,
1736 creates an AtkBridgeEventContext from signal/event info.
1737 (spi_atk_bridge_event_context_free): New method.
1738 (spi_atk_emit_eventv): Changed to take an
1739 AtkBridgeEventContext parameter. We now initialize
1740 the event.any_data member prior to notifying the
1741 Registry, via the AtkBridgeEventContext.
1742 (spi_atk_bridge_property_event_listener):
1743 (spi_atk_bridge_state_event_listener):
1744 Match emit_eventv signature.
1745 (spi_atk_bridge_object_event_listener):
1746 Match emit_eventv signature, and create an
1747 event context from the event details.
1748 Free the event context afterwards.
1749 (spi_atk_bridge_window_event_listener):
1750 Create an event context, pass it to the
1754 (AccessibleEvent_getContextString):
1755 (AccessibleEvent_getContextObject):
1756 New methods, allow query of AccessibleEvent objects
1757 for more context details (via the "any_data" member
1758 of the Event struct, above).
1761 Definitions for AccessibleEvent_getContextString
1762 and AccessibleEvent_getContextObject.
1764 * cspi/spi_listener.h:
1765 (InternalEvent): New struct.
1768 (AccessibleEvent_getContextString):
1769 (AccessibleEvent_getContextObject):
1770 Implementations of new methods, for obtaining
1771 additional context information from some event types.
1773 * cspi/spi_registry.c:
1774 (SPI_registerGlobalEventListener):
1775 Added mention of active-descendant-changed event in docs.
1777 * cspi/cspi-bonobo-listener.c:
1779 Marshal the any into the AccessibleEvent via
1782 * libspi/spi-private.h:
1783 #include <orbit/orbit.h>
1785 (spi_init_any_string):
1786 (spi_init_any_object):
1787 New convenience function declarations.
1791 (spi_init_any_string):
1792 (spi_init_any_object):
1793 New convenience function implementations.
1795 * registryd/deviceeventcontroller.c:
1796 (spi_poll_dec_mouse_moved):
1797 (spi_device_event_controller_forward_mous_event):
1798 Initialize any_data member of event.
1799 (spi_deregister_controller_device_listener):
1800 Fix incorrect param pass which was preventing deregistration.
1802 * registryd/registry.c:
1803 (desktop_add_application):
1804 (desktop_remove_application):
1805 Add object data to event's any_data before dispatch.
1807 Fix for error messages from GAIL.
1809 * test/event-listener-test.c:
1810 Test new ContextString and "any_data" API:
1811 (report_text_event): New method query and output context string.
1812 (main): register a new text listener with report_text_event
1815 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1817 Fixes for bugs 98127 and 97914.
1818 * cspi/spi-roletypes.h:
1819 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1821 * cspi/spi-statetypes.h:
1822 Added SPI_STATE_MANAGES_DESCENDANTS
1824 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1825 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1826 * cspi/spi_accessible.c:
1827 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1828 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1829 Accessibility_STATE_MANAGES_DESCENDANTS
1830 * libspi/accessible.c:
1831 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1832 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1833 As requested by Bill, I also cleaned up the alignment.
1834 * libspi/relation.c:
1835 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1836 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1837 * libspi/stateset.c:
1838 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1839 Accessibility_STATE_MANAGES_DESCENDANTS
1840 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1841 Document changes reflecting modifications to roles.
1842 * docs/reference/cspi/tmpl/spi_relation.sgml:
1843 Document changes reflecting modifications to relations.
1844 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1845 Document changes reflecting modifications to states.
1847 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1850 Revved to 1.1.3, interface-age=3, binary-age=3.
1851 Added REBUILD macro.
1854 Removed accessx-gui from the tests, since we have a nice
1855 keyboard accessibility capplet now :-)
1857 * test/keysynth-demo.c:
1858 (increment_scan): removed do-nothing default: case,
1861 * test/visual-bell.c:
1862 (main) : removed do-nothing default: case,
1865 * cspi/spi_action.c:
1866 (AccessibleAction_getKeyBinding_):
1867 Documented keybinding string format.
1871 (AccessibleText_getAttributes):
1872 Documented the text attribute string format.
1873 It's changed to use semicolon delimiters also,
1874 to prevent clashes with CSS attributes, but the old
1875 trick of looking for ", " strings will still work
1876 (as unreliably as ever). Fix for bug related to 97916.
1879 Include <cspi/bonobo/cspi-bonobo-listener.h>
1880 Fixes build warning.
1881 (SPI_freeAccessibleKeySet):
1882 (AccessibleKeystrokeListener_addCallback):
1883 (AccessibleKeystrokeListener_removeCallback):
1884 Modify to use AccessibleDeviceListener API internally,
1885 instead of AccessibleKeystrokeListener.
1887 * idl/Accessibility_Event.idl:
1888 Added two more empty slots to EventListener (for a total of four).
1890 * idl/Accessibility_Accessible.idl:
1891 Added four empty slots to Accessible interface.
1893 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1895 * idl/Accessibility_Registry.idl:
1896 (KeyEventType, EventType):
1897 Marked KeyEventType as deprecated; it duplicates
1898 functionality of EventType, which has been extended to
1899 include Mouse-button events.
1900 (KeyEventTypeSeq): defined in terms of EventType.
1901 (registerDeviceEventListener, deregisterDeviceEventListener):
1902 New methods, for managing listeners to device events,
1903 which potentially may consume them.
1906 Added definition for AccessibleDeviceListener.
1908 * cspi/spi-listener.h:
1909 (enum AccessibleDeviceEventType):
1910 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1911 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1912 for backwards compat.
1913 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1914 and typedef'd AccessibleKeystroke to it for back-compat.
1915 (AccessibleDeviceListenerCB):
1916 New function prototype typedef.
1919 (AccessibleDeviceEventMask): New typedef.
1920 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1921 (AccessibleKeyMaskType):
1922 Set equivalent to AccessibleModifierMaskType for back-compat.
1923 (SPI_createAccessibleKeystrokeListener):
1924 (AccessibleKeystrokeListener_unref):
1925 Deprecated in favor of equivalent (better-named) new API below..
1926 keystroke listeners are like all device listeners.
1927 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1928 New API names for old features :-).
1929 (AccessibleDeviceListener_addCallback):
1930 (AccessibleDeviceListener_removeCallback):
1931 (SPI_registerDeviceEventListener):
1932 (SPI_deregisterDeviceEventListener):
1936 (SPI_createAccessibleKeystrokeListener):
1937 Use new preferred API, cspi_device_listener_new() and
1938 cspi_device_listener_add_cb().
1939 (AccessibleKeystrokeListener_removeCallback):
1940 Use new preferred API, cspi_device_listener_remove_cb().
1941 (AccessibleKeystrokeListener_unref):
1942 Use new preferred API, cspi_device_listener_unref().
1943 (SPI_createAccessibleDeviceListener):
1944 (AccessibleDeviceListener_addCallback):
1945 (AccessibleDeviceListener_removeCallback):
1946 Implementation of new API.
1948 * cspi/spi_registry.c:
1949 (SPI_registerDeviceEventListener):
1950 (SPI_deregisterDeviceEventListener):
1951 Implementation of new API. Fixed memory leak and removed need to
1952 allocate EventTypeSeq (thanks Michael for catching this).
1953 Squashed a wayward CORBA_exception_free that shouldn't get called.
1955 * cspi/bonobo/cspi-bonobo-listener.c:
1957 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1958 (cspi_key_event): renamed to cspi_device_event().
1959 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1960 Extended to handle mouse button events as well as key events.
1961 (CSpiKeystrokeListener):
1962 Class superceded by CSpiDeviceListener.
1963 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1964 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1966 * cspi/bonobo/cspi-bonobo-listener.h:
1967 (CSpiKeystrokeListener):
1968 Class superceded by CSpiDeviceListener.
1969 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1970 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1972 * libspi/Makefile.am:
1973 Replaced keystrokelistener.h and keystrokelistener.c
1974 with devicelistener.h and devicelistener.c; keystrokelisener.h
1975 stub retained for back-compat.
1977 * libspi/keystrokelistener.c:
1981 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1983 * registryd/deviceeventcontroller.c:
1984 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1985 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1986 (DEControllerPrivateData): Added xkb settings data.
1987 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1988 button release events (which can't be captured via XGrabButton).
1989 Don't dispatch via the 'normal' event mechanism if the device event was
1991 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1992 Handle the typeseq data in its new location (see above).
1993 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1994 New methods, for "generic" device listeners.
1995 (spi_controller_register_device_listener):
1996 Now handle mouse event listeners as well as key listeners.
1997 (spi_controller_notify_mouselisteners):
1998 New internal method.
1999 (spi_device_event_controller_forward_mouse_event):
2000 Now we notify mouse device listeners as well as generating the
2001 non-consumable "mouse:" events.
2003 We must check and restore the XKB
2004 modifier map if we consume the event, since the act of triggering
2005 a mouse event will normally reset the XKB latch. This is required for
2007 (spi_controller_register_with_devices):
2008 Load the XKB settings when registering, and register for XKB
2009 state notify events.
2010 (spi_key_eventtype_seq_contains_event):
2011 Renamed spi_eventtype_seq_contains_event, since it's used
2012 internally for all device event types now.
2013 (spi_key_event_matches_listener):
2014 Uses spi_eventtype_seq_contains_event now.
2015 (spi_device_event_controller_object_finalize):
2016 Free the private data and the XkbKeyboard struct.
2017 (impl_register_device_listener, impl_deregister_device_listener):
2018 Implementation of new IDL.
2019 (spi_deregister_controller_device_listener):
2020 New internal method.
2021 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2022 More efficient implementation, we don't have to create a new
2023 XkbControls structure every time we query.
2024 (spi_device_event_controller_class_init):
2025 Initialize the epv entries for the new IDL. Assign the
2026 "spi-dec-private" quark.
2027 (spi_device_event_controller_init):
2028 Initialize the private data.
2029 (spi_device_event_controller_forward_key_event):
2030 Removed a bogus CORBA_exception_free() call.
2032 * registryd/deviceeventcontroller.h:
2033 Replaced inclusion of keystrokelistener.h with
2036 * test/event-listener-test.c:
2037 (report_mouse_event):
2040 Added mouse-event device listener.
2042 * test/test-simple.c:
2043 (create_test_window):
2044 Fixed regression (we were instantiating a GtkRange,
2045 which is now an abstract class). Also fixed to match
2046 existing AtkRole names, this seems to have changed in ATK
2047 awhile ago; too late now I think, and the new
2048 mechanism is at least elegant and consistent with the
2049 glib enum "nick" APIs.
2051 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2053 * idl/Accessibility_Relation.idl:
2054 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2055 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2056 * idl/Accessibility_Role.idl:
2057 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2058 * idl/Accessibility_State.idl:
2059 add STATE_MANAGES_DESCENDANTS
2060 * test/event-listener-test.c:
2061 Added a listener for active-descendant events.
2063 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2065 * atk-bridge/bridge.c
2066 (atk_bridge_init): If application is Bonobo component wait until top
2067 level is added before registering
2068 (spi_atk_bridge_do_registration): New function which contains code,
2069 formerly in atk_bridge_init, to do application registration.
2070 (spi_atk_bridge_toplevel_added): Signal called when top level
2071 added to Bonobo component
2073 This fixes bug #83134.
2075 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2077 * registryd/deviceeventcontroller.c
2078 Fixed compilation error caused by calling gettimeofday()
2081 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2086 Added template for HAVE_XKB.
2089 Changes to check for XKB, and to set the HAVE_XKB #define if it
2092 * libspi/listener.c:
2093 ()impl_notify_event): Make failure to get event source name
2096 * registryd/deviceeventcontroller.c:
2097 (#include): include X11/XKBlib.h.
2098 (DEControllerPrivateData) : New struct.
2099 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2101 (dec_synth_keycode_press) (dec_synth_keycode_release):
2102 New methods; split the key synthesis code into these methods.
2103 They check XKB settings before determining the "time" values to
2104 pass to Xtest; this fixes bug #95828.
2105 (impl_generate_keyboard_event): Changed to use methods above,
2106 instead of callng Xtest directly.
2107 (spi_device_event_controller_init): Initialize new privae struct s
2109 (spi_device_event_controllr_object_finalize):
2110 Free the (new) private data.
2112 * registryd/deviceeventcontroller.h:
2113 Add new gpointer to end of struct data.
2115 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2118 Incremented revision to 1.1.2, SONAME is still '.so', library
2119 extensions are ".so.0.0.2".
2121 * registryd/deviceeventcontroller.c:
2122 FIXES FOR #93592 and #95940.
2123 (statics): renamed mouse_button_state to mouse_mask_state,
2124 added key_modifier_mask.
2125 (spi_dec_poll_mouse_moved):
2126 Added key modifier checks, and emit "keyboard:modifiers"
2127 events when the key modifiers currently in use change.
2128 Also generate "mouse:abs" events periodically, even if the mouse
2129 is stationary (should we?).
2130 Alternatively we could generate "mouse:abs" events for either all
2131 mouse movements, or every 'nth' mouse movement, or at the
2132 beginning and end of every "active" mouse period.
2134 * test/event-listener-test.c:
2135 (main): Added listener for "keyboard:modifiers" events.
2137 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2139 * libspi/keymasks.h:
2140 Added key mask #defines for mouse buttons; e.g.
2141 SPI_KEYMASK_BUTTON1, etc.
2144 Incremented dependency on ATK to version 1.1.0. (This dependency
2145 is probably premature but will soon be real enough).
2147 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2149 * libspi/hyperlink.[ch]
2150 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2151 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2154 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2159 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2161 * registryd/deviceeventcontroller.c
2162 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2163 events to be ignored.
2164 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2165 keyboard_mode so that XAllowEvents() can be called.
2169 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2171 * cspi/spi-accessible.c: Correct names of roles returned by
2172 AccessibleRole_getName(). Fixes bug #95055.
2174 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2176 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2179 * registryd/registry.c
2180 (desktop_remove_application: Write diagnostic message to stderr for
2183 (impl_accessibility_registry_deregister_global_event_listener):
2184 Correct size of lists array. This addresses bug #94555).
2186 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2188 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2191 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2193 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2196 * registryd/registry.c (impl_registry_notify_event): Remove
2197 unnecessary call to parser_event_type().
2199 * docs/reference/cspi/tmpl/spi_component.sgml:
2200 Add reference to SPI_LAYER_WINDOW.
2202 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2204 * registryd/registry.c
2205 (desktop_add_application): Remove leak.
2206 (desktop_remove_application): Remove leak.
2207 (parser_event_type): Remove leak.
2209 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2211 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2212 bogus call to CORBA_string_dup(). Also removed unnecessary
2213 g_string_dup/g_free calls.
2215 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2217 * registryd/deviceeventcontroller.c:
2218 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2220 * test/event-listener-test.c:
2221 main: commented out three redundant listeners, to reduce output
2222 noise. (They still are potentially useful for testing).
2225 2002-09-13 Michael Meeks <michael@ximian.com>
2227 * Update all the copyrights to include Ximian.
2229 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2231 * cspi/spi.h: add SPI_LAYER_WINDOW.
2233 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2234 add Accessibility_LAYER_WINDOW case.
2236 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2238 * libspi/component.c: (impl_accessibility_component_get_layer):
2239 add ATK_LAYER_WINDOW case.
2241 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2243 * configure.in: incremented micro version.
2245 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2247 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2250 Clarified and reworded our commit policy.
2253 Started an API "todo" addition list for 2.2.
2256 (impl_getSelection):
2257 Free char pointer from atk_text_get_selection, which was being leaked.
2259 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2262 Small revision to author acknowledgement.
2264 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2266 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2267 If signal has detail add it to the type of the event.
2270 2002-08-12 Michael Meeks <michael@ximian.com>
2272 * test/test-simple.c (global_listener_cb): bin bogosity.
2273 (test_keylisteners): disable, still doesn't work reliably,
2274 certainly not on my system anyway.
2276 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2277 don't leak a reference on the DEC. This round-trip
2278 fetching of the DEC per keystroke sucks, it should be
2281 * cspi/spi-private.h,
2282 * cspi/cspi-lowlevel.h,
2283 * cspi/bonobo/cspi-bonobo-listener.[ch],
2284 * cspi/bonobo/cspi-bonobo.c: get the copyright
2285 notices better - there is still a large amount of
2286 work in at-spi falsely attributed solely to Sun.
2288 * cspi/spi_main.c (cspi_object_ref): kill bogus
2289 hash lookup, just increment the ref.
2290 (SPI_freeString): make explicit the fact that we
2291 handle NULL strings just fine.
2292 (report_leaked_ref): obey coding standards.
2293 (cspi_object_hash, cspi_object_equal): kill retval.
2294 (cspi_object_release): only release if not on loan.
2295 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2296 (cspi_object_borrow, cspi_object_return): impl.
2298 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2299 use cspi_object_borrow / return.
2301 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2303 * cspi/bonobo/cspi-bonobo-listener.c:
2305 Don't call cspi_oject_new() because this is creating a new Accessible
2306 every single time that an event is fired. This causes ATs like at-poke
2307 to nolonger recognise the source of the event and thus ignore it.
2308 Re-use the object from the cache, ref it and then unref it after the
2309 listeners have been called.
2311 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2313 * test/event-listener-test.c:
2314 Added command-line options to disable mouse events (m) and
2317 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2319 * configure.in: Update required versions of ATK, GTK+ and GAIL
2321 * cspi-1.0.pc.in: Add dependency for X include files
2324 * cspi/bonobo/Makefile.am:
2325 Add $(X_CFLAGS) so that X include files
2326 are picked up even if not in standard place (bug #71686)
2328 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2330 * registryd/deviceeventcontroller.c: fix for 84261
2331 (spi_dec_mouse_moved):
2332 Added test of mouse button mask, so that we can detect mouse
2333 button release. Unfortunately we can't otherwise detect mouse
2334 button release events without consuming the mouse press event,
2335 because of the way XGrabButton works. This means that our mouse
2336 release events have a latency dependent on the polling period
2337 while the mouse button is down. At least in this case we only
2338 have to poll while the button is down, and not at other times.
2339 If the button masks don't match with what the last press event
2340 reported, we report the appropriate button release event.
2341 (spi_dec_ungrab_mouse):
2342 New method (not yet called).
2343 (spi_device_event_controller_forward_mouse_event):
2344 New method, sends mouse press event from GdkFilter.
2345 (spi_dec_init_mouse_listener):
2346 Added code to call XGrabButton, redirecting mouse button events to
2347 the root window and our Gdk event loop.
2349 Added code to filter mouse button events, and reordered.
2351 * test/event-listener-test.c:
2353 Added registration for mouse events of type "mouse:button".
2355 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2357 * registryd/deviceeventcontroller.c: partial fix for 84261
2358 (spi_dec_poll_mouse_idle):
2359 New method, a timeout which checks to see if the mouse
2361 (spi_dec_poll_mouse_moving):
2362 A timeout to be called when mouse motion is underway.
2363 (spi_dec_poll_mouse_moved):
2364 A method which fires an event if the mouse has moved, and reports
2365 whether or not it did so.
2366 (spi_dec_init_mouse_listener):
2367 A method which sets up the timeouts above.
2368 (spi_device_event_controller_new):
2369 Now calls spi_dec_init_mouse_listener.
2371 * registryd/registry.c:
2372 (spi_registry_init):
2373 Now we initialize the device event controller when the registry is
2374 initialized, instead of waiting until a client has requested a key
2375 event notification; this is because we need the event controller
2376 for mouse events, but the mouse event registration API is a
2377 "registry" call and doesn't explicitly call the
2378 deviceeventcontroller.
2379 We now report mouse motion events with a 100 ms idle latency and
2380 a 20 ms granularity when motion is in progress.
2382 * test/event-listener-test.c:
2384 We now register the "detail listener" for events of type
2385 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2386 delivered only for the first mouse event received, and thereafter
2387 "mouse:abs" events are delivered.)
2389 * cspi/spi_registry.c:
2390 DOCS: Documented the above mouse event typestrings.
2392 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2394 Happy Summer Solstice...
2396 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2397 (spi_controller_notify_keylisteners):
2398 Changes to remove a listener from the listener list, freeing its
2399 open keygrabs, if a notification to that listener fails. This
2400 means that although a dead listener can continue to hold a passive
2401 keygrab, a maximum of one dispatch to such a listener can fail
2402 before the listener is removed from the list, thus the keygrab
2403 will be released on the next occurrence.
2404 As part of this fix:
2405 (spi_notify_keylisteners):
2406 Renamed to spi_controller_notify_keylisteners, as the controller
2407 instance must now be passed as an argument.
2408 The copied 'notify' GList is now a list of DEControllerKeyListener
2409 objects, since we need more than just the CORBA reference if a
2410 notify fails and we need to deregister the listener.
2411 (impl_notify_listeners_sync):
2412 (impl_notify_listeners_async):
2413 (spi_device_event_controller_forward_key_event):
2414 Modify use of notify_keylisteners in accordance with above
2416 (spi_deregister_controller_key_listener):
2417 New method introduced by refactoring, from
2418 impl_deregister_keystroke_listener.
2419 (impl_deregister_keystroke_listener):
2420 Call spi_deregister_controller_key_listener.
2421 (spi_key_listener_clone):
2422 New method to copy a key listner without doing a 'ref' on the
2423 remote object instance; used to create a notifier list.
2424 (spi_key_listener_data_free):
2425 New method, frees data without unreffing the source.
2427 (spi_key_listener_clone_free): new method.
2428 (spi_key_listener_free):
2429 refactored to call spi_key_listener_data_free.
2431 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2433 * registryd/registry.c: [fix for bug 86048]
2434 (notify_listeners_cb):
2435 Clear CORBA system exceptions which occur when notifying
2436 listeners, before returning to the source of the original event,
2437 since the event source doesn't care if the relayed notify failed.
2438 In other words, don't complain to the atk-bridge if the registry
2439 could not notify all its listeners, that's no fault of the
2440 application and thus should not appear to be an error from the
2441 application's perspective.
2443 * cspi/spi_main.c: [fix for bug 85980]
2445 Replaced use of bonobo_object_dup_ref with call to the wrapper
2446 method, csou_dup_ref (); this silences a compiler warning and
2447 provided more portability.
2449 Ping the registry before return, and restart if necessary.
2451 * cspi/bonobo/cspi-bonobo.c:
2453 New internal method.
2455 Fixed this method to return an object reference, as it should have
2458 * cspi/cspi-lowlevel.h:
2459 Added internal definition for cspi_ping() and fixed
2460 return type of cspi_dup_ref().
2463 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2465 * atk-bridge/bridge.c: [fix for bug 85305]
2466 (spi_atk_bridge_register_application):
2467 New method where the initial application registry calls have been
2468 moved; it allows an application to re-register in response to
2469 certain error conditions (such as a registry restart, see below).
2471 Moved some initialization code to the method
2472 spi_atk_bridge_get_registry, below.
2473 (spi_atk_bridge_get_registry):
2474 New, private accessor function for the Accessibility_Registry
2475 instance. If the registry has not been started before, or has
2476 died (as detected by failure of a CORBA exception), it is
2477 restarted before return, and spi_atk_bridge_register_application
2478 is called again to register with the new bridge instance.
2479 (spi_atk_emit_eventv):
2480 Set registry_died on error; use spi_atk_bridge_get_registry () to
2481 access the registry.
2483 * registryd/registry.c:
2484 (impl_accessibility_registry_register_global_event_listener):
2485 Set listener's event_type_quark to etype.minor instead of
2486 etype.major (fix for bug 84856).
2488 * test/event-listener-test.c:
2489 (report_detail_event):
2490 Change the output string so that user/tester can tell that the
2491 'detail listener' was called instead of the 'generic listener'.
2493 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2495 Fixes for bugs 84900, 84908, 84897, 84898.
2500 Revved version to 1.1.0
2501 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2502 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2504 * idl/Accessibility_Registry.idl:
2505 (EventListener::notifyEvent):
2506 Removed 'oneway' directive after extensive consulation with
2507 ORBit2 team and others. This means also that unref() of the event
2508 source can and should be done synchronously after emission, rather
2509 than remotely in the client, after servicing the notify call on
2512 NOTE: This change speeds up listener performance considerably, but
2513 introduces new latency on the application side. We may want to
2514 add an event queue to the atk-bridge.
2516 * atk-bridge/bridge.c:
2517 (spi_atk_bridge_focus_tracker):
2518 Do a local unref() on the event source after emission.
2520 * registryd/registry.c:
2521 (desktop_remove_application):
2522 Do an unref() on the event source after emission.
2523 (desktop_add_application):
2524 Do an unref() on the event source after emission.
2525 (notify_listeners_cb):
2526 When relaying an event, don't automatically add the event source
2527 to the local object cache, just CORBA_dup it instead. Likewise,
2528 if this method reenters, release the ref rather than calling
2530 (impl_registry_notify_event):
2531 No longer call remote unref() on the event source after dispatch.
2533 * libspi/eventlistener.c:
2534 (impl_accessible_event_notify_event):
2535 Removed remote unref ()
2537 * cspi/bonobo/cspi-bonobo-listener.c:
2539 We now call cspi_object_new() instead of cspi_object_add() on
2540 receipt of an event; thus we only have an implicit object ref
2541 while the cspi_event method is being executed. If we need to keep
2542 a reference to the object, the listener must call ref() on the
2543 object. Thus also we don't need to call cspi_object_unref() after
2544 invoking the listener callbacks in this method.
2548 New internal API for creating a new cspi object, without adding it
2549 to the object cache.
2551 Now uses cspi_object_new() to create the cspi object instance.
2553 Now checks to see if the object is in the internal object cache,
2554 and adds it if necessary before incrementing its refcount (note
2555 that new objects are added with a refcount of 1).
2556 (report_leaked_ref):
2557 New method which gives some information on leaked object instances
2558 if leak detection is turned on.
2560 * test/event-listener-test.c:
2561 (timing_test_event):
2562 New method, used for testing event delivery timing for special
2563 events of type "object:test". It reports elapsed time and
2564 events/sec every 500 events.
2566 Added a new listener, 'test listener', to check timing of event
2567 receipt as noted above.
2569 Added some timing output here also, reports elapsed time every 100
2572 * test/stress-test.c:
2573 Emit events of type "object:test", for use with "event-listener-test".
2575 * test/test-simple.c:
2576 (global_listener_cb):
2577 Call Accessible_ref() on the event source before calling
2578 validate_accessible, since the validation process does pointer
2579 comparisons on the event source, meaning that the event source
2580 needs to be added to the local object cache first. Any use of
2581 such pointer comparisons between Accessible objects requires that
2582 the caller hold an explicit reference to those objects.
2583 We also must therefore call Accessible_unref() when leaving this method.
2585 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2587 * registryd/deviceeventcontroller.c:
2588 (spi_controller_update_key_grabs):
2589 Fix for #84735, subsequent keygrab listeners not informed of
2590 registration failure.
2593 (spi_base_construct):
2594 Add an assertion on construct, to make sure the GObject passed in
2595 is really a GObject.
2597 Explicitly initialize object->gobj pointer to NULL;
2599 * cspi/bonobo/cspi-bonobo-listener.c:
2600 (cspi_object_add_ref):
2601 New method, can specify whether to dup-ref a bonobo object passed
2602 in if it's newly added to the object cache.
2604 Now calls cspi_object_add_ref with second param of "FALSE". This
2605 prevents us from doing a pointless dup-ref followed by
2606 release-unref for all those cases where the object is already in
2607 our object cache (fix for #85205).
2609 * atk-bridge/bridge.c:
2610 (spi_atk_bridge_idle_init):
2611 Removed this method, we don't need to initialize in an idle
2614 Changed to call spi_atk_register_event_listeners directly, not via an
2615 idle handler. (fix for #81139)
2616 (gnome_accessibility_module_shutdown):
2617 Removed conditional around deregistration of listeners, since we
2618 don't use the idle handler and thus have always registered when
2620 (spi_init_keystroke_from_atk_key_event):
2621 Changed references to Accessibility_KEY_PRESSED to
2622 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2624 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2626 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2631 * test/stress-test.c:
2634 (may have been an incomplete commit yesterday?)
2636 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2639 Added target for new stress-test.
2641 * test/stress-test.c:
2642 New test, sends 1000 focus notifies in quick succession.
2644 * test/key-listener-test.c:
2645 Now we report whether a keylistener registration
2646 request succeeded or failed.
2648 * test/event-listener-test.c:
2649 Uncommented some listeners which are now implemented.
2652 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2654 * registryd/deviceeventcontroller.c:
2655 (spi_controller_update_key_grabs):
2656 Fix for #82509, lack of failure notification when
2657 ALL_WINDOWS keygrabs fail due to XGrabKey
2658 failure: we synchronize the server when
2659 registering a passive grab, to make sure we get the
2660 error message before the call returns.
2662 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2664 * test/test-simple.c:
2666 Removed #ifdef KEY_IMPL_WORKS guards.
2667 (test_keylisteners):
2668 Removed #ifdef KEY_IMPL_WORKS guards.
2669 Fixed bug which was causing a hang waiting for a
2670 "press" event (which was already overwritten by a "release"
2671 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2673 Added code to set globals 'key_press_received' and
2674 'key_release_received'.
2677 Added section "1.1 API Proposed Additions" which
2678 lists API additions desired for at-spi-1.1 (only one so far).
2679 Updated TODO list a little.
2681 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2683 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2686 * configure.in: Revved to 1.0.0.
2688 * idl/Accessibility_Registry.idl:
2689 (registerKeystrokeListener):
2690 Added boolean return value.
2692 * registryd/registry.c:
2693 (notify_listeners_cb): Minor fix to debug output.
2695 * registryd/Accessibility_Registry.server.in.in:
2696 Revved version number in OAFIID to 1.0.
2698 * registryd/registryd.c:
2700 Use new OAFIID version.
2702 * cspi/bonobo/cspi-bonobo.c:
2704 Use new OAFIID version.
2710 * atk-bridge/bridge.c:
2712 Use new OAFIID version.
2714 * registryd/deviceeventcontroller.c:
2715 (impl_register_keystroke_listener):
2716 Added CORBA_boolean return value.
2717 (spi_controller_register_device_listener):
2718 Added gboolean return value.
2719 (spi_controller_register_global_keygrabs):
2720 Added gboolean return value.
2721 (spi_key_set_contains_key):
2722 Added implementation for many more control keys,
2723 for instance F1-F12, arrow keys, End, Home, Page_Up,
2725 [TODO: some still not implemented].
2727 * text/screen-review-test.c:
2728 (text_chunk_pad_string):
2729 New function: it provides mapping between coordinate
2730 positions of text chunks and character positions in the
2731 screen-review-line output string.
2732 (text_chunk_to_string):
2733 New function, calls text_chunk_pad_string with various
2734 pad/delimiter characters. Pushbuttons are delimited with
2735 square brackets, Frames with vertical 'pipe' lines, and
2736 other text with double quotes.
2737 (text_chunk_list_to_string):
2738 Calls new function text_chunk_to_string.
2739 (toplevel_composite):
2740 New function to composite layers CANVAS through
2741 POPUP in each toplevel (other layers are composited
2742 across toplevels, i.e. BACKGROUND and OVERLAY).
2743 (review_buffer_composite):
2744 Revise to use new methods.
2750 2002-05-31 Laszlo Peter <laca@sun.com>
2752 * configure.in: add the Xtst libdir to the runpath on Solaris,
2753 since it's not in the default library search path.
2755 2002-05-29 jacob berkman <jacob@ximian.com>
2757 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2759 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2761 * test/screen-review-test.c:
2762 (text_chunk_pad_string):
2763 Added method, which pads the string according to the
2764 text bounds of the chunk. It also takes a 3-character
2765 string as a param which indicates the characters to be
2766 used for start, padding, and end delimitation of the chunk.
2767 (text_chunk_to_string):
2768 Changed to use text_chunk_pad_string.
2770 * configure.in: Fixed bug in AC_OUTPUT that was
2771 causing path substitution in Accessibility_Registry.server
2774 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2776 * text/screen-review-test.c:
2777 (guess_string_clip):
2778 New method which attempts a best-guess at clipping
2779 text from components (like Java labels) which don't
2780 actually implement AccessibleText. This inaccurate
2781 clip is based on the assumption that the label is
2782 justified left-and-right, and monospaced.
2783 (text_chunk_get_clipped_string):
2784 We now call guess_string_clip() for text-containing
2785 components that don't implement AccessibleText.
2787 * test/screen-review-test.c:
2788 (review_buffer_get_text_chunk):
2789 We now pull "name" from labels if they do not implement
2790 AccessibleText (i.e. for Java labels).
2791 (get_screen_review_line_at):
2792 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2795 Replaceded AC_OUTPUT target
2796 registryd/Accessibility_Registry.server with
2797 registryd/Accessibility_Registry.server.in.
2799 * registryd/Accessibility_Registry.server.in:
2800 Removed (this is now a Makefile target).
2802 * registryd/Accessibility_Registry.server.in.in:
2803 Added (source for target above). We now use $(libexecdir) as
2804 prefix for the executable at-spi-registryd.
2806 * registry/Makefile.am:
2807 Now install at-spi-registryd into $(libexecdir), and build .server
2808 file with path (see above).
2810 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2812 * test/screen-review-test.c:
2813 (text_chunk_get_clipped_string):
2814 We now check to see if words fall within clip bounds
2815 before resorting to character-by-character clip bounds testing.
2817 * TODO: Added a section for "2.2 Proposed API Additions".
2819 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2821 * test/screen-review-test.c:
2823 Added a screen review benchmarking and test program to test
2826 * cspi/spi_accessible.c:
2828 Made some of the debug strings passed to cspi_check_ev a
2829 little more specific.
2831 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2833 * test/screen-review-test.c: Fix crashes in debug statements
2835 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2837 * test/screen-review-test.c: Added this file.
2839 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2841 * atk-bridge/bridge.c: changed "object:state-change" to
2842 "object:state-changed" to match docs.
2844 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2846 * atk-bridge/bridge.c: Hooked up state-change event details.
2848 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2850 * registryd/registry.c:
2851 Fixed quarking bug in event string parsing; now events with
2852 detail parameters get matched correctly to listeners.
2855 * util/idl/Magnifier.idl: remove.
2857 * util/*.[ch]: Remove.
2858 Magnification utilities and IDL are now in module gnome-mag.
2860 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2862 * registryd/deviceeventcontroller.c:
2863 Fixed bug in grab key conversion which was causing keycode grabs
2864 to be converted to AnyKey grabs.
2867 updated NEWS file to reflect recent spin-off of gnome-mag.
2869 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2871 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2872 busted AccessibleStateSet_compare. Removed redundant casts.
2874 * cspi/spi-action.c: Removed redundant casts.
2876 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2878 * cspi/spi_component.c: Fixed typos and casting error.
2880 * cspi/spi_editabletext.c: Removed redundant casts.
2882 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2884 * cspi/spi_hypertext.c: Eliminated redundant casts.
2886 * cspi/spi_image.c: Eliminated redundant casts.
2888 * cspi/spi_registry.c: Eliminated redundant casts.
2889 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2890 * cspi/spi_selection.c: Removed redundant casts.
2891 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2892 handling. Screen geometry and text offsets were being returned as 0
2893 on error which is technically valid-- changed these to return -1.
2894 Added marshaller for text boundary types to fix bug with boundary
2895 types being passed incorrectly to atk.
2897 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2900 * cspi/spi_registry.c:
2901 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2902 which was uncovered by the recent key changes.
2904 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2906 * test/event-listener-test.c:
2908 Added new test, "event-listener-test";
2909 this code does two things; it benchmarks traversal time
2910 for the accessible hierarchy for the first running accessible
2911 app, and it connects listeners for all supported event types.
2912 It is thus useful as an example event listener and for
2913 diagnostics/debugging of event generation.
2915 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2918 Removed unnecessary dependency on libutil.
2921 Revved micro version: 0.13.1
2923 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2926 Removed util/Makefile from targets.
2929 Removed util subdir from SUBDIRS (temporarily,
2930 pending removal of magnifier-only code
2934 #ifdef-ed out magnifier dependencies, since
2935 magnifier IDL, headers, and binary now live in
2936 module gnome-mag and we don't want at-spi to depend
2937 on gnome-mag. A magnifier demo which can run alongside
2938 simple-at is forthcoming in the gnome-mag module.
2940 NOTE: Split magnifier binary, IDL, and magnification
2941 activation code from at-spi into module gnome-mag.
2943 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2945 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2946 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2948 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2951 Revved to version 0.13.0
2953 * idl/Accessibility_Registry.idl:
2954 Changed definition of KeySet from sequence of longs to sequence of
2955 KeyDefinitions, and added KeyDefinition struct.
2956 Required for fix to bug 80616.
2958 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2959 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2960 to use new definition (see above).
2962 * registryd/deviceeventcontroller.c: handle_keygrab(),
2963 spi_keyset_contains_key():
2964 Changed to make use of new struct; this allows matching based on
2965 string key-name, for instance "Tab". This also allows matching of
2966 composed characters, non-alphanumeric characters in a way that
2967 doesn't involve dependencies on X keysym codes directly, etc.
2969 * test/key-listener-test.c:
2970 Added test for Alt-Tab key using "string" specification of keyset,
2971 and modified one of the tests to use a keycode-based keyset.
2972 Thus this test both tests and demonstrates the creation and use of
2973 keysets of three forms: specified via keycode array,
2974 keysym array, and string array. (The string case only contains a
2975 single string, i.e. a string array of length 1).
2978 Turned on PRINT_TREE option by default. Also fixed a
2979 string-freeing bug in the PRINT_TREE code.
2980 Added a listener to window:minimize events.
2982 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2984 * atk-bridge/bridge.c:
2985 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2986 for window:activate and window:deactiveate
2987 (atk_bridge_property_event_listener atk_bridge_signal_listener
2988 atk_bridge_window_event_listener) Tidy debug code
2990 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2992 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2993 Fixed handling for NULL return value from ATK.
2995 * libspi/action.c libspi/component.c libspi/editabletext.
2996 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2997 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2998 Removed redundant casts.
3000 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3001 Fixed off by one bug.
3003 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3004 function not present in idl)
3006 2002-05-02 jacob berkman <jacob@ximian.com>
3008 * atk-bridge/Makefile.am: make atk-bridge a real module
3010 2002-04-26 Radek Doulik <rodo@ximian.com>
3012 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3013 atk_state_types table
3015 2002-04-22 jacob berkman <jacob@ximian.com>
3018 * libspi/Makefile.am: add deps on the built files to help
3019 automake, and don't version the ORBit typelib
3021 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3023 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3024 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3025 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3026 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3027 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3028 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3029 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3030 libspi/accessible.h libspi/accessible.h libspi/base.h
3031 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3032 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3033 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3034 libspi/spi-private.h libspi/statetset.h libspi/table.h
3035 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3036 util/mag_client.h util/mag_control.c util/mag_image.c
3037 util/mag_image.h util/magnifier.c util/magnifier.h:
3038 Add missing file headers; standardize existing ones
3040 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3042 * atk-bridge/bridge.c: Added window event support.
3044 2002-04-18 Michael Meeks <michael@ximian.com>
3046 * libspi/relation.c (impl_getNTargets): impl.
3047 (impl_getTarget): impl.
3049 * libspi/Makefile.am: fix stateset install.
3051 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3054 Started putting useful info in this file.
3056 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3058 * atk-bridge/bridge.c:
3059 Propagate state-changed notifications to ATs
3061 * cspi/spi_registry.c: update docs to reflect actual behavior of
3062 state-change events.
3064 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3067 Incremented version to 0.12.1
3069 * util/mag_client.h:
3070 Add missing declaration for magnifier_exit,
3071 used by mag_control.c - Forte compiler didn't like
3072 the implicit redeclaration of the function :-(
3075 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3078 Revved version to 0.12 due to API change (see below).
3080 * cspi/spi-roletypes.h:
3081 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3082 definition from the inline docs, and added docs
3083 for SPI_ROLE_LAST_DEFINED.
3086 * cspi/spi_streamablecontent.c:
3087 Added missing seek_type parameter to
3088 (so far unused) method,
3089 AccessibleStreamableContent_seek().
3090 [ RT approval JodyG. ]
3093 Fixed docs for SPI_createAccessibleKeystrokeListener.
3095 * cspi/spi_registry.c:
3096 Fixed docs for SPI_KEYSET_ALL_KEYS.
3098 * docs/reference/cspi/at-spi-cspi-sections.txt:
3099 Added a number of missing APIs to SECTIONS.
3101 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3103 * registryd/Makefile.am:
3105 * cspi/bonobo/Makefile.am:
3106 Add $(X_LIBS) to makefiles.
3108 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3111 Revved version to 0.11.
3113 * libspi/component.c:
3114 Added implementation for grabFocus.
3116 * idl/Accessibility_Component.idl
3117 (Accessibility_Component_grabFocus):
3118 Made this method return boolean to indicate success or failure, to
3119 be consistent with cspi and the corresponding ATK method.
3121 * idl/Accessibility_Selection.idl
3122 (Accessibility_Selection_selectAll) :
3123 Made these methods return boolean to indicate success or
3124 failure, to be consistent with cspi and the corresponding ATK methods.
3126 * idl/Accessibility_EditableText.idl
3127 (Accessibility_EditableText_setTextContents,
3128 Accessibility_EditableText_insertText,
3129 Accessibility_EditableText_cutText,
3130 Accessibility_EditableText_deleteText,
3131 Accessibility_EditableText_pasteText):
3132 Made these methods return boolean to indicate
3135 * cspi/spi_editabletext.c:
3136 Made these methods return booleans.
3138 * libspi/selection.c:
3139 * libspi/component.c:
3140 * libspi/editabletext.c:
3141 Connected the boolean returns from ATK
3142 to the server-side code referenced above.
3144 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3146 * idl/Accessibility_Table.idl: Added missing methods,
3147 Accessibility_Table_addRowSelection,
3148 Accessibility_Table_addColumnSelection,
3149 Accessibility_Table_removeRowSelection,
3150 Accessibility_Table_removeColumnSelection.
3153 Added C wrappers for above IDL:
3154 AccessibleTable_addRowSelection,
3155 AccessibleTable_addColumnSelection,
3156 AccessibleTable_removeRowSelection,
3157 AccessibleTable_removeColumnSelection.
3160 Added server-side implementation code for IDL above, connecting
3161 to pre-existing ATK api.
3163 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3165 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3167 * libspi/accessible.c: Added implementation fo
3168 Accessibility_Accessible_get_state.
3170 * libspi/libspi.h: Added stateset.h to the list of includes.
3172 * libspi/stateset.c: Fixed broken implementation.
3174 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3177 Added implementation code for Accessibility_Magnifier_exit ().
3179 * util/mag_control.c:
3180 Added test code for above method; you can
3181 now kill an existing magnifier via
3182 ./mag_control q, from the util directory.
3184 * test/key-listener-test.c:
3186 Added a new test, for our key listener API.
3188 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3190 * test/app.c, test/keysynth-demo.c:
3192 Replace use of snprintf with g_snprintf.
3193 (fix for bugzilla 78249)
3195 2002-03-27 Michael Meeks <michael@ximian.com>
3199 * util/Makefile.am (INCLUDES): fix.
3200 (DONT_DIST_SOURCE): don't distribute the
3203 * libspi/Makefile.am (dist-hook): ditto.
3205 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3207 * libspi/hypertext.c:
3208 Fix warnings when yelp is used with atk-bridge
3210 2002-03-21 Michael Meeks <michael@ximian.com>
3212 * libspi/application.c (spi_application_new):
3213 use spi_accessible_construct so we use the AtkObject
3216 2002-03-19 Michael Meeks <michael@ximian.com>
3218 * registryd/registry.c (desktop_remove_application),
3219 (desktop_add_application): clean coding style.
3221 * registryd/desktop.c (spi_desktop_remove_application),
3222 (spi_desktop_add_application): kill re-enterency hazards.
3223 (spi_desktop_dispose): remove bogus redundant cast
3224 obscuring bug; fix bug too.
3225 (spi_desktop_init): make the desktop object immortal.
3227 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3230 Added a #define-guarded tree-traversal step
3231 when enumerating the apps (diagnostic tool).
3233 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3235 * idl/Accessibility_Role.idl:
3236 Added ROLE_DRAWING_AREA which seemed to be missing from the
3239 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3241 * cspi/spi-roletypes.h cspi/spi_accessible.c
3242 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3245 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3246 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3247 AT when applications are added and removed from the desktop. This
3248 reverts the previous broken implementation using the backing
3249 AtkObject for the SpiDesktop.
3251 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3253 * registryd/desktop.c: emit the "children-changed::add" and
3254 "children-changed::remove" signals on the backing ATK object for
3255 the desktop so AT can tell when applications are started and shut
3258 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3260 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3262 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3264 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3266 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3268 * cspi/state-types.h: synched with IDL and ATK
3270 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3272 * libspi/accessible.c
3273 (impl_accessibility_accessible_get_child_at_index):
3274 Change return value for g_return_if_fail ()
3275 to CORBA_OBJECT_NIL instead of "0" (!)
3277 * registryd/Makefile.am:
3278 * registryd/Accessibility_Register.server.in:
3279 Changed name of executable, "registryd",
3280 to something more informative:
3283 2002-03-13 Michael Meeks <michael@ximian.com>
3285 * atk-bridge/bridge.c (atk_bridge_init): don't register
3286 if we're in a bonobo-component, rather than a bonobo app.
3288 2002-03-13 Michael Meeks <michael@ximian.com>
3290 * atk-bridge/bridge.c (gtk_module_init): split
3291 out body to (atk_bridge_init): here, since otherwise
3292 we get symbol conflicts and oddness when invoked
3293 from (gnome_accessibility_module_init): here (upd.)
3295 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3298 New file. Explicitly allow "build sheriff" putbacks provided
3299 they are tested on Solaris.
3301 * docs/reference/cspi/Makefile.am:
3302 Added '-' to the "cp" command for index.sgml.
3303 ("patch by thomasvs, soon coming to a GUADEC near you")
3306 Incremented version number (0.9.0) for new release.
3307 Changed macro that checks for popt, to better detect
3308 obsolete versions of popt.
3311 Added X_LIBS to AC_SUBST, for applications
3312 that call Xlib API directly.
3315 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3318 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3321 Fix regression caused by hard-coding major
3322 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3325 * test/test-simple.c (test_editable_text),
3326 (test_test): revert previous change (error was
3327 a regression in gail which is now fixed).
3329 2002-03-04 Michael Meeks <michael@ximian.com>
3331 * test/test-simple.c (test_editable_text),
3332 (test_text): pass G_MAXINT instead of '-1' for
3333 whole string - is this a good thing !?
3335 * cspi/spi_accessible.c
3336 (Accessible_getRelationSet): fix crasher bug
3337 overwriting the end of the array.
3339 * test/test-simple.c (validate_accessible): free,
3340 not g_free returned relation set.
3342 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3344 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3345 implemented stateset support
3347 * idl/Accessibility_State.idl: Made necessary changes to
3348 the IDL to support state sets.
3350 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3352 * registryd/deviceeventcontroller.c:
3353 Added implementation for generateMouseEvent.
3355 * cspi/spi_registry.c:
3356 Connected new implementation for generateMouseEvent
3359 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3362 Incremented revision (but no change in public API
3363 outside of 'utils', which are not installed public yet.)
3365 * libspi/component.c:
3366 Changed to use atk_component API for layers and
3367 mdi_zorder, instead of deprecated atk_object API.
3369 Magnification Utility Enhancements:
3372 Added implementation of createZoomRegion, clearAllZoomRegions,
3373 resizeZoomRegion. Added new commandline argument
3374 "--no-initial-region". Note that clearAllZoomRegions doesn't
3375 unmap the old '0' region as it should (yet), and the other
3376 methods only work when creating/resizing a single region,
3377 which is "region 0".
3378 (Code for multiple region support will be added later.)
3381 Now we raise the magnifier window each time it's refreshed;
3382 this will help keep it on top.
3384 * util/mag_client.h:
3385 Added simple wrappers for above, used by mag_control.
3386 For general use, it's recommended to use the bonobo magnifier
3387 control API directly instead of using these wrappers.
3390 Moved ZoomRegionData from magnifier.c to this file.
3392 * util/mag_control.c:
3393 Added some code to exercise new IDL implementations.
3395 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3397 * libspi/text.c: Provide implementation for getAttributes.
3399 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3402 Incremented revision.
3404 * test/test-simple.c:
3405 Replaced use of deprecated g_main_iteration with
3406 g_main_context_iteration.
3408 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3411 Incremented revision for desktop alpha 2.
3413 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3415 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3418 * test/simple-at.c: include netinet/in.h.
3420 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3422 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3423 use NULL, not CORBA_OBJECT_NIL.
3425 * libspi/accessible.c:
3426 (impl_accessibility_accessible_get_relation_set):
3427 allocate the sequence correctly.
3429 * libspi/remoteobject.h: kill spi_remote_object_new.
3431 * test/test-simple.c: (validate_accessible): add code
3432 to test relation sets, now all we need is to figure
3433 out how to excercise this code path :/
3435 2002-01-18 Michael Meeks <michael@ximian.com>
3437 * test/test-simple.c
3438 (key_listener_cb): consume the key.
3439 (test_keylisteners): update.
3440 (main): wait for any pending unrefs on events.
3442 * registryd/deviceeventcontroller.c
3443 (spi_controller_update_key_grabs): only re-issue the
3444 grab on a key release.
3445 (spi_device_event_controller_forward_key_event):
3446 refresh the keygrabs before we notify the listeners,
3447 to reduce the X ungrab / re-grab race.
3448 (spi_controller_register_with_devices): remove
3449 XSelectInput - we do that with the gdk_window_ call.
3450 (_spi_controller_device_error_handler): return a value.
3451 s/GDK_DISPLAY/spi_get_display/
3453 2002-01-17 Michael Meeks <michael@ximian.com>
3455 * registryd/deviceeventcontroller.c
3456 (_deregister_keygrab): don't blow out the later
3459 * test/test-simple.c (test_keylisteners): do a
3460 more intelligent validation.
3462 2002-01-14 Michael Meeks <michael@ximian.com>
3464 * atk-bridge/bridge.c
3465 (gnome_accessibility_module_init),
3466 (gnome_accessibility_module_shutdown): impl.
3467 (gtk_module_init): protect vs. double inits.
3468 (add_signal_listener): impl.
3469 (spi_atk_bridge_state_event_listener): kill
3470 (deregister_application): split out of
3471 (spi_atk_bridge_exit_func): here.
3473 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3476 Added caret tracking when using magnifier, and
3477 now use text bounds for focus tracking of text elements, rather than
3478 the component bounds - this is helpful for short text fields in long
3479 table cells, at high magnification.
3481 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3483 * registryd/deviceeventcontroller.c:
3484 Regression fix for keylistener de-registration; global keygrabs
3485 were not being released when deregisterKeystrokeListener was
3486 called in cspi, since
3487 Accessibility_DeviceEventController_deregisterKeystrokeListener
3488 was called with a zero-length keyset. That is because the cspi
3489 method, SPI_deregisterKeystrokeListener, does not take a keyset
3490 parameter but instead should remove all the key grabs held be a
3492 The code in impl_deregister_keystroke_listener was changed to copy
3493 the keylist from the listener instance previously registered with
3494 the DeviceEventController before releasing the grabs.
3496 * registryd/registry.c:
3497 * registryd/deviceeventcontroller.c:
3498 * libspi/spi-private.h:
3500 Changed spelling of "re-enterant" to "re-entrant" globally.
3502 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3504 * test/test-simple.c:
3505 Changed key listeners test - the test was slightly mis-using the
3506 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3507 It now uses '=' as the key event listened to and generated,
3508 relying on a keysym match rather than assuming that keycode 33
3509 is always equal to keysym '!'.
3511 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3514 Changed simple-at to use a specific keyset, rather than
3515 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3516 manager, desktop, etc.
3518 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3520 * registryd/deviceeventcontroller.c:
3521 Replaced standard X error handler with a special handler that
3522 is non-fatal for failed keygrabs. This works around
3523 problems with keygrab clashes sometimes observed on
3525 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3526 mouse handling code as yet).
3528 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3531 Incremented revision for desktop alpha release.
3534 Fixed a couple of the more glaring errors (still not
3537 2002-01-11 Michael Meeks <michael@ximian.com>
3539 * registryd/deviceeventcontroller.c
3540 (spi_device_event_controller_forward_key_event): kill
3541 XUngrabKey / XKeyGrab race.
3542 (spi_controller_grab_keyboard): rename to
3543 (spi_controller_update_key_grabs): this, and deal
3544 with incremental adding / removing grabs more
3546 (_register_keygrab): ensure we're not pending a remove.
3547 (spi_grab_mask_free): impl.
3548 (spi_controller_register_global_keygrabs): split out
3550 (handle_keygrab): impl.
3551 (_deregister_keygrab): impl.
3552 (spi_controller_deregister_global_keygrabs): impl.
3553 (spi_controller_update_key_grabs): re-issue the grab if
3554 we just recieved a notification.
3556 * test/test-simple.c (key_listener_cb): remove debug.
3558 * registryd/deviceeventcontroller.c
3559 (spi_controller_register_device_listener): after
3560 registering a global keygrab, actualy register it !
3561 don't wait for a timeout; doh !
3563 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3564 to make it more readable / manipulable.
3565 s/grabmask/grab_mask/ s/refcount/ref_count/
3566 s/keyval/key_val/ s/modmask/mod_mask
3568 2002-01-08 Michael Meeks <michael@ximian.com>
3570 * registryd/deviceeventcontroller.c
3571 (spi_controller_register_with_devices): use gdk calls to
3573 (global_filter_fn): implement the filter.
3574 (spi_device_event_controller_check_key_event): rename to
3575 (spi_device_event_controller_forward_key_event): this & upd.
3576 (spi_get_display): replace with GDK_DISPLAY.
3578 * registryd/deviceeventcontroller.c
3579 (spi_controller_deregister_device_listener): unroll into
3580 (impl_deregister_keystroke_listener): here to simplify.
3581 (spi_controller_register_global_keygrabs): split cut and
3582 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3583 (spi_controller_deregister_device_listener): remove.
3584 (impl_register_mouse_listener): remove, no mouse listener
3585 support in at-spi-1.0
3587 * registryd/registry.c
3588 (_device_event_controller_hook): kill.
3589 (spi_registry_init): upd.
3591 * registryd/deviceeventcontroller.c
3592 (spi_device_event_controller_class_init): upd.
3593 (spi_check_key_event): merge into.
3594 (spi_device_event_controller_check_key_event):
3595 here and kill strange static ev init, don't leak
3596 the x_event - nor dynamicaly allocate it.
3598 * registryd/registry-main.c (main): re-direct
3599 timeout to remove strange vtable mess.
3601 * registryd/deviceeventcontroller.c
3602 (remove_listener_cb): impl.
3603 (spi_controller_deregister_device_listener):
3604 fix re-enterancy hazard.
3606 2002-01-07 Michael Meeks <michael@ximian.com>
3608 * registryd/deviceeventcontroller.c
3609 (spi_device_event_controller_new): upd.
3610 (impl_notify_listeners_sync): upd. debug.
3611 (spi_notify_keylisteners): fix re-enterancy hazards,
3612 prettify, remove O(n*n) iteration.
3613 (spi_controller_grab_keyboard): fix iteration.
3614 (spi_check_key_event): re-format to suit coding style.
3615 Clean all the warnings - we're warning free.
3617 * registryd/deviceeventcontroller.h:
3618 * registryd/registry.h: make mutualy referential with
3619 typesafe forward references instead of (!) void pointer
3622 2002-01-11 Michael Meeks <michael@ximian.com>
3624 * cspi/spi_accessible.c (role_names): add a role name
3625 to sync this array with the enum; and make the regression
3628 2002-01-10 Michael Meeks <michael@ximian.com>
3630 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3631 allow expansion of enumeration & kill warning.
3633 * test/test-simple.c (key_listener_cb): impl.
3634 (test_keylisteners): impl.
3636 * cspi/spi-listener.h: make listener signatures const
3637 on the provided (const) events.
3639 * test/keysynth-demo.c: upd. to const events.
3641 * test/simple-at.c: ditto.
3643 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3646 Rev the version to 0.5 (the previous tarball was named 0.4,
3647 even though the micro number was 3), so we need to rev upwards
3648 again for beta2/"desktop-alpha"
3651 Checked in a demo script, which requires editing before use!
3652 Proceed with caution.
3655 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3657 * cspi/spi_accessible.c:
3658 Add a couple of missing enum initializations, and fix some enum
3661 * cspi/spi_registry.c:
3662 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3664 * docs/reference/cspi/at-spi-cspi-sections.txt:
3665 Remove/fix a couple of broken document references.
3668 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3669 as Alt-Control to listen for commands, since on some systems
3670 Control-Alt may already be grabbed.
3672 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3675 Update version number to 0.4 for Beta2.
3677 * libspi/accessible.c, libspi/accessible.h:
3678 Expose spi_accessible_construct, to enable libgail-gnome
3679 construction from spi_accessible subtype.
3681 * utils/magnifier.c:
3682 Workaround for bug in some non-gnome-compliant window managers
3683 which made magnifier resize improperly.
3685 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3687 * libspi/accessible.c: (spi_accessible_new) :
3688 Move the test for SPI_IS_REMOTE_OBJECT to
3689 spi_accessible_new_return, fixing a bug and compile time warning.
3691 2002-01-08 Michael Meeks <michael@ximian.com>
3693 * registryd/registry.c (parse_event_type): remove strndup.
3695 * libspi/Makefile.am (libspi_la_SOURCES): remove
3696 sources already included in the headers section.
3698 * libspi/util.c: add.
3700 * libspi/spi-private.h: add.
3702 * registryd/registry.c: update to moved list iterators.
3704 2002-01-05 Michael Meeks <michael@ximian.com>
3706 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3708 * test/test-simple.c (main): ditto.
3710 2002-01-04 Michael Meeks <michael@ximian.com>
3712 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3713 redundant construct.
3715 * registryd/registry.c
3716 (get_listener_list): impl.
3717 (impl_accessibility_registry_register_global_event_listener):
3718 re-impl. to simplify using ~, remove dodgy const cast off.
3719 (parse_event_type): constify.
3720 (impl_accessibility_registry_deregister_global_event_listener_all):
3721 re-write, more efficiency and simplicity, kill re-enterancy
3723 (compare_listener_corbaref, compare_corba_objects),
3724 (compare_listener_quarks): define out.
3725 (impl_accessibility_registry_deregister_global_event_listener):
3726 re-write for effiency, and nail re-enterancy hazard.
3727 (impl_accessibility_registry_get_desktop_list): impl.
3728 (re_enterant_list_delete_link): impl.
3729 (re_enterant_list_foreach): impl.
3730 (remove_listener_cb): impl.
3731 (_registry_notify_listeners): kill.
3732 (notify_listeners_cb): impl.
3734 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3735 (SPI_getDesktopList): impl.
3737 * test/test-simple.c (test_desktop): test the methods.
3739 2002-01-03 Michael Meeks <michael@ximian.com>
3741 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3742 keystrings since we free them
3743 (SPI_freeAccessibleKeySet): in here.
3745 * libspi/accessible.c (spi_accessible_new): kill warning,
3746 wonder what is going on with the constructor here.
3748 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3750 * libspi/accessible.c (spi_accessible_new ()) :
3751 Added check to see if AtkObject is an SpiRemoteObject before
3752 creating an SpiAccessible.
3754 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3756 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3757 Enable keygrabs using the Control modifier, now that they are
3758 working properly (they were previously disabled).
3761 Change the command keygrab for this demo to "Control+Alt", so as
3762 to conflict with fewer other key commands on the system; this
3763 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3765 Removed a pointlessly-chatty keylistener for unshifted keys
3766 (shifted keys are still reported).
3768 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3770 * libspi/remoteobject.h:
3771 * libspi/remoteobject.c:
3772 Added definitions for special AtkObject subtype, required for
3773 support of remote components (specifically, used by BonoboControl
3774 accessibility implementation).
3776 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3778 * cspi/spi.h: synched relation types with ATK
3780 * cspi/spi_accessible.c: Added implementations of
3781 AcccessibleRelation_* methods
3783 * idl/Accessibility_Relation.idl: added getRelationTypeName
3784 method. Synched known relation types with ATK. Allowed for
3785 relation type extension with the RELATION_EXTENDED type.
3787 * libspi/relation.c: Provided implementations for
3788 AccessibleRelation methods.
3790 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3792 API tweaks for today's API 'freeze'.
3795 Added placeholder functions to allow future compatible expansion
3796 of the IDL interfaces.
3798 * idl/Accessibility_Registry.idl:
3799 Changed generateKeyEvent to generateKeyboardEvent. Changed
3800 signature of this method to accept an optional keystring in
3801 parameter (for complex text input synthesis) and changed use of
3802 simple 'boolean' parameter in registerKeystrokeListener to a
3803 struct, EventListenerMode.
3805 * cspi/spi_accessible.c:
3807 * cspi/spi_streamablecontent.c:
3808 Added references to AccessibleStreamableContent interface, and
3809 definition and implementation of AccessibleStreamableContent
3812 * cspi/spi_registry.c:
3814 Changed generateKeyEvent API to generateKeyboardEvent,
3815 taking a new (optional) keystring parameter to support complex
3820 Renamed directory (to better reflect its actual purpose, bridging
3821 from at-spi to ATK). The .so module is also now named
3824 * idl/Accessibility_Hypertext.idl:
3825 * libspi/accessible.c:
3826 * libspi/hypertext.h:
3827 * libspi/hypertext.c:
3828 Changed Accessibility_Hypertext to *not* derive from
3831 * cspi/spi_registry.c:
3832 Added list of legal event type names for 'window' events, which
3833 completes the registry event API.
3835 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3837 * at-bridge/bridge.c: Added registration for separate
3838 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3839 signals. If either of the first two parameters to the generic
3840 bridge signal handler are ints, they are passed on as event
3841 details. This allows an AT to determine what text was inserted.
3843 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3845 * registryd/deviceeventcontroller.c:
3846 Fixed regressions in generateKeyEvent caused by the removal of
3847 gdk_init from registryd; we now use pure X calls to connect to the
3848 display, which makes sense because deviceeventcontroller already
3849 uses a fair bit of X API (should eventually be migrated to a
3850 'portability layer').
3852 * registryd/desktop.c:
3853 Fixed minor regression in spi_desktop_init, changed the way the
3854 desktop name is being set to work with new spi_base API
3855 (gobject-based, rather than AtkObject-based).
3857 * registryd/Makefile.am:
3858 Minor revision of makefile to use XTST_LIBS variable rather than
3859 hard-wiring the Xtst LD_ADD element.
3861 * test/keysynth-demo.c:
3862 Tweaked an output message; added initialization of the
3863 'keystrings' member of the "switch listener" key_set.
3865 * libspi/relation.c:
3866 Squashed compile-time warning.
3868 * libspi/accessible.c:
3869 Cosmetic and formatting fixes, renamed a static method.
3871 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3873 * libspi/accessible.c
3875 * libspi/application.c
3878 * libspi/component.c
3879 * libspi/editabletext.c
3880 * libspi/hyperlink.c
3881 * libspi/hypertext.c
3883 * libspi/selection.c
3887 * registryd/desktop.c:
3888 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3890 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3892 * idl/Accessibility_Registry.idl:
3893 Added boolean member 'is_text' to DeviceEvent. This is for the
3894 use of key events, and helps prevent ambiguity between composed
3895 key strings and keysym names, since both may potentially be
3896 returned in the 'event_string' member.
3898 * at-bridge/bridge.c:
3899 * registryd/deviceeventcontroller.c:
3900 Use the 'is_text' member when notifying device event listeners.
3901 Knon issue: composed characters are not dealt with correctly by
3902 the global key listener implementation yet.
3904 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3906 * at-bridge/bridge.c:
3907 Namespaced local static methods to spi_atk_bridge_* where
3908 previously named bridge_*, and spi_* elsewhere.
3910 * at-bridge/bridge.c:
3911 * cspi/bonobo/cspi-bonobo-listener.c:
3912 Added demarshalling/conversion for string member of
3913 Accessibility_DeviceEvent to AccessibleKeystroke.
3915 * registryd/deviceeventcontroller.c:
3916 Added code to fill the Accessibility_DeviceEvent key string value
3917 member for global key events (i.e. from XGrabKey), to match
3918 behavior of Accessibility_DeviceEvent from the toolkit key events
3919 from the bridge. Fixed timestamp in global key event notifications.
3922 Added printout of key event's string value to
3923 report_ordinary_key_event, for demo/debugging purposes.
3925 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3927 * idl/Accessibility_Registry.idl:
3928 Removed Accessibility_KeyStroke structure in favor of generic
3929 Accessibility_DeviceEvent structure.
3930 Changed Accessibility_ControllerEventMask from a struct to an
3933 * at-bridge/bridge.c:
3934 Changed APIs to use DeviceEvent structure as above, and removed
3935 bogus casting between these event structures.
3937 * cspi/spi-listener.h:
3938 Added keystring member of AccessibleKeystroke structure, to enable
3939 matching on event "names" rather than only hardware codes and
3943 Added keystrings member of AccessibleKeySet struct, to allow
3944 matching on event names (as above).
3945 Added declarations for SPI_createAccessibleKeySet and
3946 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3947 event modmasks directly as unsigned ints rather than structs with
3948 refcounts, in the DeviceEventController methods.
3950 * cspi/spi_registry.c:
3951 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3953 * cspi/spi-roletypes.h:
3954 Added documentation of newly added SPI Roles.
3956 * cspi/bonobo/cspi-bonobo-listener.c:
3957 Changes in support of API changes above.
3959 * libspi/accessible.c:
3960 Converted APIs to use DeviceEvent structure (see IDL changes
3963 * registryd/deviceeventcontroller.c:
3964 Added DEControllerGrabMask structure to track keygrabs not only by
3965 modmask but by keyset as well; this allows us to do "global"
3966 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3967 grabbing on AnyKey and then filtering after-the-fact.
3968 Bugfixes for event filtration mean that we don't get false matches
3969 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3971 * registryd/deviceeventcontroller.c:
3972 Namespaced a number of static methods to use spi_ prefix. Major
3973 revision to internals of global (i.e. X) key grabs.
3975 * registryd/deviceeventcontroller.h:
3976 Removed keymask_list and added keygrabs_list to
3977 SpiDeviceEventController struct.
3980 Added use of SPI_createAccessibleKeySet API when creating a
3981 listener for only one key. Attach a listener to "shift spacebar
3982 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3983 X key event names to SPI key event names, so that listeners are
3984 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3986 * test/keysynth-demo.c:
3987 Changed (incorrect) use of X key event names (KeyPressed,
3988 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3991 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3993 * libspi/accessible.c:
3994 Convert all AtkRole enumerations to Accessibility_Role enums when
3995 getting a role from an AtkObject.
3997 * cspi/spi_accessible.c:
3998 Complete the conversion of Accessibility_Role enums at runtime to
3999 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4000 role enums correctly match those given in spi-roletypes.h.
4001 Re-synchronize the local names list for AccessibleRole_getName ().
4002 AccessibleRole_getName is now deprecated, since it duplicates the
4003 more reliable Accessible_getRoleName.
4004 Added some role types from Accessibility_Role.idl.
4006 * idl/Accessibility_Role.idl:
4007 Added some role types used by AtkRole.
4009 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4012 * cspi/spi_registry.c:
4014 * cspi/cspi-bonobo-listener.c:
4015 Namespaced all methods that did not begin with an "SPI_" or
4016 "Accessible" prefix to "SPI_".
4019 Homogenized internal function namespace to "cspi_" for statics.
4022 Patched tests to use the new CSPI API.
4024 * docs/reference/cspi/at-spi-cspi-sections.txt:
4025 Updated docs to reflect namespace changes, and added a number of
4026 methods to the documentation.
4028 * registryd/registry.c:
4029 Changed use of strings and string hashes in listener event
4030 matching and parse_event_string to use GQuark, which is guaranteed
4033 * registryd/registry.h:
4034 Squashed annoying warning.
4036 * idl/Accessibility_Role.idl:
4037 Extended range of available Accessibility_Role values.
4039 * cspi/spi_accessible.c:
4040 Re-ordered role names.
4042 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4044 * idl/Accessibility_Value.idl:
4045 Revert use of union back to CORBA_double, since the double type is
4046 more efficient and can contain the other types without loss of
4049 * idl/Accessibility_Accessible.idl:
4050 Added method Accessibility:Accessible:getRoleName, to complement
4051 Accessibility:Accessible:getRole.
4053 * cspi/spi_accessible.c:
4055 Added C binding for above, Accessible_getRoleName (), and changed
4056 signature of Accessible_getRole () to return an AccessibleRole.
4058 * cspi/spi-roletypes.h:
4059 Changed AccessibleRole_getName to return a char * instead of a
4060 const char *. This method is now at least temporarily deprecated
4061 in favor of asking Accessibles for their RoleNames directly.
4064 Revert to match Accessibility_Value.idl;
4068 Change signature of AccessibleValue methods to use double rather
4072 * cspi/spi_accessible.c:
4073 Changed Accessible_getRole to return an AccessibleRole enum rather
4074 than a UTF-8 string. The UTF-8 string can still be obtained via
4075 AccessibleRole_getName ().
4077 * test/test-simple.c:
4078 Add test_action. Small fixup to match API change to Accessible_getRole.
4081 Bugfix for get_action_from_servant ().
4083 2001-12-11 Michael Meeks <michael@ximian.com>
4085 * libspi/libspi.h: remove registry.h and
4086 desktop.h, deviceeventcontroller.h
4088 * libspi/Makefile.am: remove registry.[ch],
4089 desktop.[ch], deviceeventcontroller.[ch]
4091 * registryd/Makefile.am: add registry.[ch],
4092 desktop.[ch], rename registryd.c to registry-main.c.
4093 add deviceeventcontroller.[ch]
4095 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4098 Replace setenv() call with putenv ().
4100 * libspi/component.c:
4101 Bugfix in AccessibleComponent_getExtents (),
4104 2001-12-11 Michael Meeks <michael@ximian.com>
4106 * libspi/image.c (impl_getImageExtents): impl.
4107 (spi_image_class_init): upd.
4110 (AccessibleImage_getImageDescription): fix daft bug
4113 * test/test-simple.c (global_listener_cb): update
4114 to only quit if not --poke
4115 (main): catch --poke.
4116 (validate_accessible): upd. dumping, call test_image
4119 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4122 * idl/Accessibility.idl: update all IDL includes.
4124 * idl/*.idl - rename to namespace - this sucks, blame
4125 mjs' bad decision for oafd.
4127 * test/test-simple.c (create_test_window): add more tests.
4128 (create_tree): split this out.
4129 (validate_accessible): bugfix.
4131 2001-12-11 Michael Meeks <michael@ximian.com>
4133 * cspi/bonobo/cspi-bonobo-listener.c:
4134 (cspi_kestroke_listener_unref),
4135 (cspi_event_listener_unref): impl. undoing previous
4136 homenous environment - for Bill.
4138 * cspi/spi_table.c (long_seq_to_array): use
4141 * cspi/spi_main.c: split out all bonoboish bits into
4144 * cspi/spi-impl.h: upd. typedefs.
4146 * cspi/spi_registry.c: update to lowlevel API,
4147 return booleans to indicate success in some places.
4149 * cspi/spi_event.c: update to lowlevel API.
4151 * cspi/bonobo/Makefile.am: add.
4153 * cspi/bonobo/cspi-lowlevel.h: add
4155 * cspi/bonobo/cspi-bonobo.c: add
4157 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4159 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4160 (SUBDIRS): add bonobo, link in the libs.
4162 * cspi/spi-util.c: kill this file.
4164 * TODO: merge in my bits.
4166 2001-12-11 Michael Meeks <michael@ximian.com>
4168 * test/test-simple.c (test_value, test_table, main):
4169 remove unused variables causing warnings.
4171 * configure.in: cleanup checks - require gail.
4173 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4176 Changed Value interface to use SValue (scalars) rather than
4177 assuming all values are floats. This allows floats, doubles,
4178 longs, shorts, and unsigned values to be manipulated.
4179 Introduced Accessibility:SValue union.
4182 Updated to use new API above, and to work correctly with GValues
4183 of different types in AtkValue.
4186 Updated to use new API above. cspi's API is as yet unchanged.
4189 Updated the Value revision action item.
4191 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4193 * test/test-simple.c:
4194 Added test_table (GtkTreeView widget in test window to follow).
4195 Un-commented test_value, added GtkRange widget.
4196 Added GtkTreeView widget with GtkListStore. It passes regression
4197 test but leaks one SPI object for some reason.
4200 Fixed bug in impl__set_currentValue.
4202 2001-12-10 Michael Meeks <michael@ximian.com>
4204 * cspi/spi_text.c: audit for exception handling,
4205 tolerating NULL object references safely etc.
4207 * cspi/spi_value.c: ditto.
4209 * cspi/spi_table.c (AccessibleTable_getSummary),
4210 (AccessibleTable_getAccessibleAt),
4211 (AccessibleTable_getRowHeader),
4212 (AccessibleTable_getColumnHeader),
4213 (AccessibleTable_getCaption): fix bugs hidden by
4215 (long_seq_to_array): impl.
4216 (AccessibleTable_getSelectedRows),
4217 (AccessibleTable_getSelectedColumns): use it.
4219 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4222 Added a TODO list (rough and short for now).
4224 * cspi/spi_hyperlink.c:
4225 * cspi/spi_hypertext.c:
4226 Fixed macro name typos, and remove use of obsolete macro in
4227 AccessibleHyperlink_getLink.
4229 * cspi/spi_action.c:
4230 * cspi/spi_accessible.c:
4231 * cspi/spi_application.c:
4232 * cspi/spi_component.c:
4233 * cspi/spi_selection.c:
4236 Documentation fixes (removed return values from ref/unref methods).
4238 2001-12-10 Michael Meeks <michael@ximian.com>
4240 * cspi/spi_action.c: audit for exception handling,
4241 tolerating NULL object references safely etc.
4243 * cspi/spi_accessible.c: ditto.
4245 * cspi/spi_component.c: ditto.
4247 * cspi/spi_editabletext.c: ditto.
4249 * cspi/spi_hyperlink.c: ditto.
4251 * cspi/spi_hypertext.c: ditto.
4253 * cspi/spi_image.c: ditto.
4255 * cspi/spi_selection.c: ditto.
4257 2001-12-10 Michael Meeks <michael@ximian.com>
4259 * configure.in: use cspi/libspi.pc.in instead.
4261 * Makefile.am (pkgconfig_DATA): upd. to match.
4263 * test/simple-at.c (report_focus_event): kill hacks around
4264 bad return values, use putenv not setenv
4266 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4267 fire ChildGone - I killed it.
4269 * libspi/component.c
4270 (impl_accessibility_component_get_extents): remove
4273 * idl/Accessible.idl: kill ChildGone exception.
4275 * cspi/*.[ch]: kill int return from ref / unref.
4277 * cspi/spi_main.c (cspi_object_add_check): fold into
4278 (cspi_object_add): here.
4280 * cspi/spi_component.c (AccessibleComponent_getExtents):
4281 handle exceptions elegantly.
4283 * cspi/spi-private.h (cspi_check_ev_return),
4284 (cspi_return_if_fail): impl.
4286 * cspi/spi_accessible.c: use extensively.
4287 (AccessibleStateSet_equals): add direct compare check.
4289 * cspi/spi_selection.c: tolerate NULL objs, and check
4290 exceptions before return.
4292 * cspi/spi-util.c (cspi_warn_ev): rename to
4293 (cspi_check_ev): this & don't pass ev in; no point.
4295 2001-12-10 Michael Meeks <michael@ximian.com>
4297 * test/test-simple.c: use putenv not setenv
4298 (get_environment_vars): more chatty if you're not using
4301 * test/simple-at.c: do the setenv so more people see the
4304 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4306 * libspi/registry.c:
4307 Changed check of CORBA_environment on notification to be a warning
4308 instead of an error for the moment, since we can recover from this
4309 error when caused by a queued notification from a dead app.
4312 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4313 used by all current implementors of AtkValue), and coerce to
4314 CORBA_float. (Proper general case fix may require change to Value.idl).
4316 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4320 * cspi/spi_accessible.c:
4321 Documentation fixes: added user_data params to documentation for
4322 listeners and callbacks.
4324 * cspi/spi_accessible.c:
4325 Changed AccessibleStateSet_compare to return a
4326 StateSet rather than return the difference set into a third parameter.
4329 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4332 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4333 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4337 Remove subdirectory po from SUBDIRS for now.
4339 * at-bridge/bridge.c:
4340 Beefed up a couple of debug printouts.
4341 One-line fix for signal notification name formatting.
4343 * libspi/accessible.c:
4344 Added assertion to spi_accessible_new ().
4346 * libspi/application.c:
4347 Put #ifdef qualifiers around a printf.
4350 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4352 * registryd/Makefile.am:
4354 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4355 INTLTOOL_SERVER_RULE macro.
4358 Added an event listener for several ATK signals, for
4359 testing and debugging. Removed a few g_warnings.
4360 Added test output if focussed item implements the Value interface.
4362 * test/test-simple.c:
4363 Added test_value () function (known not to pass at the moment, so
4364 not actually called yet.
4366 2001-12-08 Michael Meeks <michael@ximian.com>
4368 * at-bridge/bridge.c (bridge_focus_tracker),
4369 (emit_eventv): fix the same ref. leak.
4370 (register_atk_event_listeners): don't leak.
4372 * cspi/spi-listener-impl.c (cspi_event): more
4373 protection from client code.
4375 * test/test-simple.c (test_desktop): unref the app.
4377 * test/Makefile.am: upd. TESTS.
4379 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4381 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4383 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4385 * cspi/spi_registry.c: constify in strings.
4386 (deregisterGlobalEventListenerAll): don't release the ref.
4388 * cspi/spi.h: start removing redundant / conflicting
4389 gtkdoc comments, making the API readable at a glance :-)
4391 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4393 * test/keysynth-demo.c (keysynth_exit, main): upd.
4395 * test/simple-at.c (main, simple_at_exit): upd.
4397 * test/test-simple.c (unutterable_horror): kill.
4398 (utterable_normal_derefs): kill.
4399 (main): upd & do a setenv before gtk_init, so that we
4400 can use memprof - and to save the pain of remembering
4401 this, if we're running under memprof - don't exit.
4403 * cspi/spi_main.c (SPI_exit): return exit status
4405 (SPI_event_quit): impl.
4406 (SPI_event_main): simplify.
4407 (cspi_is_gnome_app): kill.
4408 (SPI_init): kill isGNOMEapp arg.
4410 * at-bridge/bridge.c (register_atk_event_listeners):
4411 re-instate the unref.
4412 (bridge_exit_func): don't re-activate the registry,
4413 protect vs. theoretical re-entry, use the
4414 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4415 assert a clean shutdown - for regression tests.
4417 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4419 * configure.in: Comment out dummy i18n support for now,
4420 otherwise it fails to build.
4421 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4422 EXTRA_DIST. They are missing in tarball.
4424 2001-12-07 Michael Meeks <michael@ximian.com>
4426 * util/magnifier.c: kill bonobo activation reg. race.
4428 * libspi/component.c
4429 (impl_accessibility_component_get_extents): make it match
4432 * libspi/registry.c (_registry_notify_listeners):
4433 re-remove X headers & reconcile conflicts.
4434 (spi_listener_struct_free): bad conflict resolve.
4435 (impl_accessibility_registry_register_application):
4436 more bad merging fixed.
4437 (impl_accessibility_registry_deregister_application): ditto.
4438 (spi_registry_new): ditto.
4439 (spi_registry_init): don't have an applications field.
4441 [ merge fixups2 branch to here ]
4442 2001-12-07 Michael Meeks <michael@ximian.com>
4444 * test/simple-at.c (report_focus_event),
4445 (report_focussed_accessible): remove g_warning debug.
4447 2001-12-07 Michael Meeks <michael@ximian.com>
4449 * test/test-simple.c (validate_tree): comment out some checks.
4450 (test_desktop): app now not registered idly - horay.
4452 2001-12-07 Michael Meeks <michael@ximian.com>
4454 * cspi/spi_registry.c
4455 (registerAccessibleKeystrokeListener): clean, stop it leaking
4456 great swathes of memory, and device event controller references.
4457 ensure we always pass valid sequences.
4458 (deregisterAccessibleKeystrokeListener): ditto.
4459 (generateKeyEvent): upd.
4461 * at-bridge/bridge.c (bridge_key_listener): handle
4462 registry dead exception gracefully.
4463 (bridge_focus_tracker, emit_eventv): free ev.
4465 * test/simple-at.c (report_focus_event): fix polarity.
4467 * libspi/application.c (notify_listeners): kill the ev
4468 argument, and make sure we init the ev we use.
4469 (spi_application_object_event_listener): split out a chunk
4470 (get_atk_object_ref): here & fixup.
4471 (reverse_lookup_name_for_toolkit_event): make const.
4472 (spi_application_toolkit_event_listener): fixup, kill leaks
4475 * at-bridge/bridge.c (register_atk_event_listeners):
4476 don't unref the noop object - causes grief.
4478 * libspi/registry.c: remove the X headers.
4479 turn off the debug churn.
4481 * libspi/accessible.c (spi_accessible_new_return): only
4482 release the ref if we are supposed to [doh]
4484 * test/simple-at.c (report_button_press, report_focus_event):
4485 guard vs. unexpected exit.
4487 * at-bridge/bridge.c (gtk_module_init): prune printf.
4488 (bridge_exit_func): fix app unref.
4490 * libspi/Makefile.am: don't install registry or desktop.h
4492 * libspi/*.h: update includes.
4494 * libspi/application.h: don't include ourself, or
4495 other redundant headers.
4497 2001-12-06 Michael Meeks <michael@ximian.com>
4499 * libspi/accessible.c
4500 (get_accessible_from_servant): impl.
4501 Upd. all CORBA impl.s to use it killing cut and paste.
4503 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4505 (SPI_init): register atexit cleanup handler here.
4507 2001-12-06 Michael Meeks <michael@ximian.com>
4509 * at-bridge/bridge.c (gtk_module_init): g_error on
4510 activation exception
4512 2001-12-06 Michael Meeks <michael@ximian.com>
4514 * at-bridge/bridge.c (gtk_module_init): some sort of
4515 confusing merge clash - reverted.
4516 (bridge_idle_init): ditto.
4518 * test/test-simple.c (main, utterable_normal_derefs):
4519 merge from Bill - somehow not committed.
4521 2001-12-06 Michael Meeks <michael@ximian.com>
4523 * libspi/value.c (spi_value_class_init): upd.
4524 (spi_value_finalize): kill.
4526 * libspi/table.c (spi_table_finalize): kill.
4527 (spi_table_interface_new): upd.
4528 (spi_table_class_init): upd.
4529 (get_table_from_servant): impl.
4530 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4532 * libspi/selection.c (spi_selection_finalize): kill.
4533 (spi_selection_interface_new): upd.
4534 (spi_selection_class_init): upd.
4535 (get_selection_from_servant): impl.
4536 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4538 * libspi/relation.c (spi_relation_finalize): kill.
4539 (spi_relation_class_init, spi_relation_new): upd
4541 * libspi/image.c (spi_image_finalize): kill.
4542 (spi_image_class_init): upd.
4543 (spi_image_interface_new): upd.
4544 (get_image_from_servant): impl.
4545 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4547 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4548 (spi_hyperlink_finalize): kill.
4549 (spi_hyperlink_new): upd.
4550 (get_hyperlink_from_servant): impl.
4551 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4553 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4554 (spi_hypertext_finalize): kill.
4555 (spi_hypertext_class_init): upd.
4556 (get_hypertext_from_servant): impl.
4557 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4559 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4560 (spi_editable_text_interface_new): upd.
4561 (get_editable_text_from_servant): impl.
4562 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4564 * libspi/text.c (get_text_from_servant): impl.
4565 All impls - update to use it killing more cut and paste,
4566 also fix bad string returns on duff args ( a somewhat
4567 impossible case to handle - but hey ).
4568 (spi_text_construct): impl.
4569 (spi_text_interface_new): upd.
4570 (spi_text_object_finalize): kill.
4572 * libspi/component.c
4573 (accessibility_component_object_finalize): kill.
4574 (spi_component_class_init): upd.
4575 (get_component_from_servant): impl. helper to kill cut & paste.
4576 (impl_accessibility_component_contains):
4577 (impl_accessibility_component_get_accessible_at_point):
4578 (impl_accessibility_component_get_position):
4579 (impl_accessibility_component_get_extents):
4580 (impl_accessibility_component_get_mdi_z_order):
4581 (impl_accessibility_component_get_layer):
4582 (spi_component_interface_new): upd.
4584 * libspi/action.c (spi_action_finalize): kill.
4585 (spi_action_class_init): upd. inherit from SpiObject.
4586 (spi_action_interface_new): upd.
4587 (get_action_from_servant): impl. helper to reduce cut & paste.
4588 (impl_getKeyBinding, impl_getName, impl_doAction),
4589 (impl_getDescription): Use it everywhere.
4591 * cspi/spi_main.c (get_live_refs): a pointer hash.
4592 (spi_object_hash, spi_object_equal): comment out.
4593 There are issues with CORBA object hashing that need
4596 * libspi/application.c (spi_application_init),
4597 (spi_application_new): upd.
4599 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4600 (spi_accessible_class_init): upd.
4601 s/accessible/object/ in epv methods.
4603 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4605 * at-bridge/bridge.c:
4606 Reorder the bridge initialization into the bridge gtk_module_init,
4607 an immediate call to bridge_register_app, and an idle_add for
4608 register_atk_event_listeners (the only code that *must* wait until
4609 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4610 the activation, creates the application's Accessible object, and
4611 queues the bridge_idle_init function. Restored call to
4612 Accessibility_Registry_deregisterApplication().
4613 Prior to making this call we obtain a new reference to the
4614 registry, which is a temporary hack that helps us handle apps that
4615 shut down the bonobo mainloop before we get there.
4617 * libspi/registry.c:
4618 Fix string leakage in debug block, and don't segv if a an app
4619 dies before its event notifications have been propagated.
4622 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4623 as stopgap measure until we get proper exception handling when
4624 objects die during or before interrogation.
4628 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4629 Also changed default value of is_gnome_app to TRUE.
4632 * test/keysynth-demo.c:
4633 Changed use of SPI_init and SPI_event_main to reflect API change above.
4636 Made report_focus_event check the warning value from getName
4637 before reporting on focussed accessible; simplifies handling of
4638 notifications from dead objects.
4640 * test/test-simple.c: (Changes not in this patch since source is
4643 2001-12-05 Michael Meeks <michael@ximian.com>
4645 * registryd/registryd.c (main): protect against
4646 bonobo-activation startup race condition.
4648 * cspi/spi_main.c (cspi_object_add_check): cope
4649 with the exception elegantly.
4651 * idl/Accessible.idl: decl. ChildGone
4653 * libspi/desktop.c (spi_desktop_dispose): impl.
4654 (spi_desktop_class_init): upd.
4655 (spi_desktop_add_application),
4656 (spi_desktop_remove_application),
4657 (abnormal_application_termination): impl.
4658 (impl_desktop_get_child_at_index): re-impl.
4661 (impl_accessibility_registry_deregister_application),
4662 (impl_accessibility_registry_register_application):
4663 kill excessive debug clutter.
4665 * test/test-simple.c (test_misc): test some NULL
4666 tolerance. (main): upd.
4668 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4669 implements no interfaces - so let's not crash.
4671 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4673 * libspi/accessible.c (spi_accessible_new_return): impl.
4674 helper to calm the cut and paste, to cope with
4675 NULL AtkObjects effectively and efficiently, and to kill
4676 the referencing bugs.
4678 * libspi/table.c (impl_getAccessibleAt),
4679 (impl_getRowHeader, impl_getColumnHeader): upd.
4681 * libspi/hyperlink.c (impl_getObject): upd.
4683 * libspi/accessible.c
4684 (impl_accessibility_accessible_get_child_at_index): upd.
4686 * libspi/component.c
4687 (impl_accessibility_component_get_accessible_at_point): upd.
4689 * test/test-simple.c (test_editable_text, test_text): impl.
4692 * cspi/spi_editabletext.c
4693 (AccessibleEditableText_insertText): constify.
4695 * test/test-simple.c (focus_me): make more robust.
4697 * libspi/accessible.c: remove some printfs in methods that
4698 we test and work fine, so we can get a clean tree dump.
4700 * test/test-simple.c (validate_accessible),
4701 (validate_tree): make tree dumping pretty too.
4703 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4704 it builds without debug on.
4706 * test/test-simple.c (validate_accessible): fix the most
4709 * cspi/spi_main.c (spi_object_release): leave the nicely
4710 blanked memory around if in debug mode.
4712 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4714 [committed to fixups2]
4715 2001-12-05 Michael Meeks <michael@ximian.com>
4717 * libspi/editabletext.c
4718 (spi_editable_text_class_init): g_type_class_peek_parent,
4719 not interface peek - so we finalize cleanly.
4721 * libspi/accessible.c (spi_accessible_new): kill debug.
4723 * test/test-simple.c (validate_accessible): fix ref.
4724 leak, print strings before freeing them; sigh, comment a
4725 chunk out due to strangeness.
4726 (validate_tree): unref the child after use.
4728 * cspi/spi_component.c (AccessibleComponent_getLayer):
4729 add missing break statement, switch on zlayer not the
4730 uninitialized retval.
4732 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4733 before (possibly re-entering) remote unref.
4735 * test/simple-at.c (main): unref the desktop.
4737 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4740 * cspi/spi_main.c (cspi_accessible_is_a): here to
4741 isolate bonobo API usage more.
4743 * libspi/registry.c (impl_accessibility_registry_register_application):
4744 prune bogus comment.
4746 2001-12-04 Michael Meeks <michael@ximian.com>
4748 * test/test-simple.c (validate_tree): upd.
4749 IndexInParent check to make it more lucid.
4750 (validate_accessible): dump the tree.
4752 * libspi/accessible.c (de_register_public_ref),
4753 (get_public_refs): impl.
4754 (spi_accessible_new): make more efficient & intuitive.
4755 Now IndexInParent check works.
4757 2001-12-04 Michael Meeks <michael@ximian.com>
4759 * cspi/spi-util.h: remove.
4761 * cspi/spi.h: move SPI_freeString here
4763 * libspi/component.c (impl_accessibility_component_get_layer):
4765 (impl_accessibility_component_get_mdi_z_order): ditto,
4766 return -1 on error - is this ok ?
4768 * test/test-simple.c (test_application): impl.
4770 * cspi/spi_accessible.c (Accessible_getApplication),
4771 (Accessible_isApplication): impl.
4773 * libspi/registry.c (spi_listener_struct_free): release
4774 the CORBA reference too.
4776 * libspi/accessible.c
4777 (impl_accessibility_accessible_get_parent): fix ref leak.
4779 * libspi/registry.c (spi_registry_new): make the registry
4780 immortal - we don't want it to go away ever.
4782 * libspi/application.c
4783 (spi_accessible_application_finalize): impl. cleanup.
4785 * cspi/spi_registry.c
4786 (deregisterGlobalEventListenerAll),
4787 (deregisterGlobalEventListener),
4788 (deregisterAccessibleKeystrokeListener): fix ref leak.
4790 * cspi/spi_main.c (SPI_init): remove redundant ref.
4792 * test/test-simple.c (unutterable_horror): impl. to force a
4797 (impl_accessibility_registry_deregister_application): release
4798 the application when we de-register it.
4800 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4801 until we have the infastructure to get it right.
4803 2001-12-03 Michael Meeks <michael@ximian.com>
4805 * libspi/Makefile.am: only build eventlistener.[ch]
4807 * libspi/accessible.c
4808 (impl_accessibility_accessible_get_child_at_index): don't leak.
4810 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4811 before we hit the idle handler.
4813 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4814 debugging than exit.
4816 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4818 * libspi/listener.c (impl_notify_event): check source
4819 not NIL before unref.
4821 * libspi/registry.c (impl_registry_notify_event): ditto.
4823 * libspi/eventlistener.c
4824 (impl_accessible_event_notify_event): unref the source.
4826 * libspi/accessibleeventlistener.c
4827 (impl_accessible_event_notify_event): unref the source.
4829 * idl/Event.idl: remove 'hash_id' attribute - of no
4832 * libspi/application.c (notify_listeners): upd list
4834 (spi_application_object_event_listener),
4835 (spi_application_toolkit_event_listener): upd to do correct
4839 (_registry_notify_listeners): update.
4840 (parse_event_type): this method also leaks like a sieve.
4841 (impl_accessibility_registry_deregister_global_event_listener):
4842 fix ETYPE_WINDOW case.
4844 * libspi/application.c
4845 (impl_accessibility_application_register_object_event_listener):
4848 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4850 * libspi/hypertext.c (impl_getLink): ditto.
4852 * cspi/spi_main.c (cspi_object_add): remove
4853 bogus CORBA_Object_duplicate.
4855 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4858 * cspi/spi_accessible.c
4859 (Accessible_getRelationSet): fix leak / referencing issue.
4861 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4862 (cspi_object_add, cspi_object_unref): upd.
4863 (spi_object_release, get_live_refs): impl.
4864 (cspi_cleanup): simplify.
4866 * *.[ch]: s/boolean/SpiBoolean/
4868 * cspi/spi_accessible.c (role_names): actualy order so it
4869 corresponds with the enum !
4871 * test/test-simple.c (test_roles): check some role strings
4872 vs. enums to detect offset errors.
4874 2001-12-01 Michael Meeks <michael@ximian.com>
4876 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4878 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4880 (Accessible_getChildAtIndex): use cspi_add_check so we
4881 check the ev before using a (possibly) invalid value.
4883 * libspi/accessible.c
4884 (impl_accessibility_accessible_get_parent): don't segv
4887 * at-bridge/bridge.c (gtk_module_init): upd.
4888 (bridge_property_event_listener): don't leak strings
4890 (bridge_state_event_listener),
4891 (bridge_property_event_listener): don't use a static
4892 buffer in case of recursive event emission &
4893 re-enterancy - split out the swathe of cut and paste
4895 (emit_eventv): and fix 2 ref leaks here & comply to the
4897 (bridge_register_app): rename to
4898 (bridge_idle_init): this and kill arg parsing, split
4899 various inits & bonobo-activation registration to module
4900 init time, kill referencing error.
4901 (bridge_exit_func): fix the same leak.
4902 (bridge_focus_tracker): don't leak event structures
4904 (bridge_signal_listener): more leakage and cut & paste
4906 (bridge_key_listener): return the result - FIXME is
4907 this polarity correct ?
4908 (accessibility_keystroke_from_atk_key_event): rename
4909 (accessibility_init_keystroke_from_atk_key_event): and stop
4911 (gtk_module_init): return a value - not that it is checked by
4913 (bridge_key_listener): register my horror at casting between
4914 IDL defined structs.
4915 (bridge_get_registry): kill - not used.
4917 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4919 * test/test-simple.c (test_roles): impl.
4920 (test_desktop, validate_accessible, validate_tree): impl.
4922 * cspi/spi_accessible.c (role_names): fixup bogus
4923 MAX_ROLES setup, make constants const for efficient linkage
4924 (AccessibleRole_getName): conform to coding style, make
4927 2001-11-30 Michael Meeks <michael@ximian.com>
4929 * cspi/spi.h: add missing prototype.
4931 * libspi/registry.c (spi_listener_struct_new): fix sig.
4933 * test/Makefile.am: add test-simple
4935 * test/test-simple.c: add
4937 * test/test.sh: add.
4939 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4941 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4942 do it straight - since otherwise we often get an activation race.
4944 [ work before Bill duplicated a chunk of it ... ]
4945 2001-11-30 Michael Meeks <michael@ximian.com>
4947 * libspi/keystrokelistener.c
4948 (spi_keystroke_listener_class_init): fixup arg
4951 * libspi/eventlistener.c
4952 (spi_event_listener_class_init): ditto.
4954 * tests/test.sh: add.
4956 * cspi/spi-listener-impl.h: update macros.
4958 * cspi/spi-listener-impl.c
4959 (cspi_event_listener_remove_callback): add
4960 correct pre-conditions.
4962 * cspi/spi_main.c (SPI_exit): guard vs. double
4963 exits, exit the mainloop nicely.
4964 (SPI_event_main): make more sense.
4965 (SPI_init): move the atexit evilness here so we
4966 always do it (yuck).
4967 (SPI_event_main): upd.
4969 * test/simple-at.c: update for listener changes.
4971 * registryd/registryd.c (main): prune kruft.
4973 * libspi/libspi.h: upd.
4975 * libspi/eventlistener.[ch]: rename broken macros.
4977 * libspi/accessibleeventlistener.[ch]: remove.
4979 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4981 * test/test-simple.c: Add - automated tests.
4983 * cspi/spi-listener-impl.c (cspi_event),
4984 (cspi_key_event): add user_data to invoke.
4985 (cspi_keystroke_listener_finalize): impl.
4986 (cspi_keystroke_listener_class_init): upd.
4989 (createAccessibleEventListener),
4990 (AccessibleEventListener_addCallback),
4991 (createAccessibleKeystrokeListener),
4992 (AccessibleKeystrokeListener_addCallback): upd.
4994 * libspi/deviceeventcontroller.c
4995 (spi_device_event_controller_check_key_event): add public proto.
4998 (impl_accessibility_registry_deregister_global_event_listener):
4999 always init listeners.
5000 (_registry_notify_listeners): yes it is.
5002 * cspi/spi-listener-impl.c (cspi_key_event):
5004 (cspi_event_listener_finalize): impl.
5005 (cspi_event_listener_class_init): hook up.
5006 (event_handler_new, event_handler_free),
5007 (event_list_remove_by_callback): impl.
5008 (cspi_event_listener_remove_callback),
5009 (cspi_keystroke_listener_remove_callback),
5010 (cspi_keystroke_listener_add_callback),
5011 (cspi_event_listener_add_callback): upd.
5013 * libspi/keystrokelistener.c
5014 (keystroke_listener_object_finalize): kill
5015 (spi_keystroke_listener_class_init): upd.
5016 (spi_keystroke_listener_add_callback),
5017 (spi_keystroke_listener_remove_callback): kill,
5019 (impl_key_event): prune drasticaly.
5021 * libspi/eventlistener.c
5022 (spi_event_listener_add_callback),
5023 (spi_event_listener_remove_callback): kill, use
5025 (impl_accessible_event_notify_event): upd.
5026 (spi_event_listener_object_finalize): remove.
5028 * libspi/Makefile.am: use eventlistener.[ch]
5030 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5032 * libspi/registry.c (_registry_notify_listeners):
5033 Changed listener loop iteration to use preferred convention.
5034 Got rid of string memory leaks caused be calling g_strconcat
5035 inside function calls.
5037 * libspi/registry.c (parse_event_type):
5038 Stopped g_strconcat memory leaks, free the g_strsplit return,
5039 g_strdup the split pieces when used, etc.
5041 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5044 Change method 'compare' to return a 'difference set' rather than
5045 taking a StateSet as an out parameter (more Java-friendly).
5047 * idl/Accessible.idl:
5048 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5050 * idl/Component.idl:
5052 Changed methods 'getExtents' and 'getImageExtents' in these
5053 interfaces to return a BoundingBox structure.
5054 (getPosition and getSize are redundant and possibly should be
5055 removed, rather than creating a corresponding Point struct.)
5057 * cspi/spi_component.c:
5058 Modify implementation of getExtents to reflect the above IDL
5063 Add (missing) AccessibleImage_getExtents () API.
5065 * docs/reference/cspi/at-spi-cspi-sections.txt:
5066 Added AccessibleImage_getImageExtents () to docs.
5068 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5070 * idl/Component.idl:
5071 Added two methods, getLayer () and getMDIZOrder (), to reflect
5072 the new ATK methods atk_object_get_layer and
5073 atk_object_get_mdi_z_order. (Which arguably should be part of the
5074 AtkComponent API and AtkObject). Also added an enum,
5075 ComponentLayer, for the first method's return value.
5077 * libspi/component.c:
5078 Added implementations for these methods.
5080 * cspi/spi_component.c:
5082 Added cspi binding methods for above,
5083 AccessibleComponent_getLayer() and
5084 AccessibleComponent_getMDIZOrder().
5085 Added cspi enum 'AccessibleComponentLayer'.
5087 * docs/reference/cspi/at-spi-cspi-sections.txt:
5088 Added above methods to docs.
5092 Changed typedef for 'boolean' type (and all references to it) to
5093 SPIBoolean, to avoid keyword clashes with C++.
5096 Changed usages of 'boolean' to SPIBoolean.
5098 * test/keysynth-demo.c:
5099 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5100 app), except where SPIBoolean is required by the callbacks API.
5102 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5104 * cspi/spi_registry.c:
5105 Removed obsolete X event loop for passive keygrabs (which now
5108 * registryd/registryd.c:
5109 Removed unnecessary call to gdk_init() [cruft]. This also allows
5110 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5113 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5115 * docs/reference/cspi:
5116 Included docs for SPI_freeString in generated documentation.
5119 Renamed spi_freeString to SPI_freeString, for consistency. Added
5120 documentation for this function.
5123 Renamed spi_freeString to SPI_freeString, for consistency.
5124 Removed obsolete method declaration string_from_corba_string.
5126 * test/keysynth-demo.c:
5127 Small tweak to comments.
5130 Stopped leaking the strings returned from CSPI.
5132 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5134 Merged Michael's branch (see his ChangeLog entries below).
5136 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5137 bridge is alive, release on exit.
5139 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5140 Fix type check macro.
5143 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5146 Added is_gnome_app static, and method cspi_is_gnome_app(),
5147 so we can call the appropriate shutdown routine at exit in SPI_exit.
5149 * cspi/spi_main.c (cspi_object_ref):
5150 Duplicate the corba object passed in, since we're keeping it around.
5152 * cspi/SPI_exit.c, cspi_cleanup:
5153 Moved the releasing of the live refs to its own function, so we
5154 can put it in g_atexit (). Call the appropriate shutdown API
5155 depending on whethe calling client is a gnome app or not
5156 (bonobo_main_quit or CORBA_ORB_shutdown).
5158 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5159 Unref the listener when this method is called, after
5160 deregistration. Updated the API docs to note this behavior.
5162 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5163 Bugfixes: Ref the bonobo object when returning a parent or child
5164 reference, or an AccessibleRelation. Generally made sure
5165 BonoboObject refcount is incremented whenever we return an
5168 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5169 Fixed typo/bug in signal declaration.
5171 * libspi/accessibleeventlistener.h:
5174 * libspi/application.c (spi_application_new):
5175 Fixed leak in initialization.
5178 Remembered to increment bonobo-object refcount when returning
5179 children (applications) from desktop object.
5180 Added (empty) finalize method.
5182 * libspi/deviceeventcontroller.c:
5183 Hold a ref to listeners inside DEControllerKeyListeners.
5184 Added dec_key_listener_free() method. Use prepend instead of
5185 append in key_listener list. Fixed some refcount madness and
5186 leaks in the listener registration/deregistration - deregistration
5187 now calls dec_key_listener_free() on listeners, and on the
5188 temporarily constructed dec_key_listener() used to perform the search/match.
5190 * libspi/hypertext.c (spi_hypertest_finalize):
5191 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5192 class. Also fixed spi_hypertext_interface_new() and
5193 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5195 * libspi/hypertext.h:
5196 Removed pointless and duplicate AtkObject pointer from
5199 * libspi/keystrokelistener.c:
5200 Fixed incorrect type of keystroke_listener_parent_class,
5201 renamed keystroke_listener_object_finalize to
5202 spi_keystroke_listener_object_finalize.
5203 Fixed typo in signal declaration
5204 (spi_keystroke_listener_class_init).
5206 * libspi/registry.c:
5207 Added funcsions spi_listener_struct_new() and
5208 spi_listener_struct_free() to help with memory management issues.
5209 We also now use these methods instead of gnew + poking stuff into
5210 the struct, and to decrement listener counts/free the listeners
5211 when deregistering them.
5212 Fix more refcount bugs in getDesktop() and
5213 getDeviceEventController().
5216 De-ref the desktop after enumerating the applications. Explicitly
5217 decrement the refcounts on the created listeners on exit (using
5218 _unref for keystroke listeners, and via the
5219 deregisterGlobalEventListenerAll command for other event
5222 2001-11-27 Michael Meeks <michael@ximian.com>
5224 * cspi/spi-listener.h: fixup enum.
5226 2001-11-27 Michael Meeks <michael@ximian.com>
5228 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5229 (cspi_keystroke_listener_new): Use the cspi variants.
5231 2001-11-26 Michael Meeks <michael@ximian.com>
5233 * test/keysynth-demo.c: fix 2 compile warnings, missing
5236 * test/simple-at.c (report_focussed_accessible),
5237 (report_focus_event, report_button_press),
5238 (check_property_change, is_command_key),
5239 (report_ordinary_key_event, report_command_key_event): upd.
5241 * util/mag_client.h: include pre-requisites.
5243 * libspi/accessibleeventlistener.c
5244 (spi_event_listener_object_finalize): free any lingering
5247 * libspi/keystrokelistener.c
5248 (keystroke_listener_object_finalize): ditto.
5250 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5251 callbacks, with cspi types.
5253 * cspi/spi_event.c (createAccessibleEventListener): chain to
5254 (AccessibleEventListener_addCallback): here.
5255 (createAccessibleKeystrokeListener): chain to
5256 (AccessibleKeystrokeListener_addCallback): here.
5258 * libspi/keystrokelistener.c
5259 (spi_keystroke_listener_class_init): add signal.
5260 (impl_key_event): emit the event.
5261 (boolean_handled_accumulator): impl.
5262 (marshal_BOOLEAN__POINTER): add, gack.
5264 * libspi/accessibleeventlistener.c
5265 (spi_event_listener_class_init): add signal.
5266 (impl_accessible_event_notify_event): emit the signal &
5267 make the loop efficient.
5268 (spi_event_listener_add_callback): prepend the callback.
5270 * libspi/accessibleeventlistener.h: add an 'event' signal,
5271 decl type on callback.
5273 * libspi/keystrokelistener.h: ditto.
5275 * cspi/spi-listener.h: make methods typesafe and
5276 make them use the new event typedefs.
5278 * test/simple-at.c (report_focussed_accessible):
5279 include mag_client.h
5280 Use *(void *)text_interface not the other thing.
5282 * configure.in: add gtk to registryd bits - since we use
5285 * util/magnifier.c: include libbonobo.h
5287 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5289 * test/keysynth-demo.c:
5290 Turned this into a simple scanning keyboard, to demonstrate the
5291 use of g_timeout_add () as a means of creating timers for
5292 scanning, and the use of GtkStyle for visually indicating when
5293 virtual keyboard elements are selected.
5295 keysynth-demo now listens to any keyboard keys with zero-valued
5296 keycodes (i.e. 'unused' keys) and interprets them as
5299 Reworked the shiftlatch code so that shift-down state isn't held
5300 for long periods (it's only synthesized immediately prior to
5301 the keysynth event it's modifying). Note that shiftlatch in this
5302 demo is a convenience, not intended to take the place of AccessX
5303 which is the better choice for getting 'sticky' modifier keys.
5305 * libspi/deviceeventcontroller.c:
5306 * at-bridge/bridge.c:
5307 * cspi/spi_registry.c:
5308 Removed some debug print stuff, and put other verbosity in #ifdef
5313 Implemented some more of the magnifier IDL for the simple
5314 magnifier: namely, getZoomRegionParams.
5315 Added mag_x and mag_y members to MagnifierData struct, aid of this
5317 Added GtkWindow::realize signal handler to magnifier, to keep it
5318 from receiving keyboard focus from the WM.
5320 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5322 * cspi/spi-private.h: my guess at what michael forgot
5323 before he ran off to NZ :-)
5325 2001-11-23 Michael Meeks <michael@ximian.com>
5327 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5328 comment out non existant method invoke so we link.
5330 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5331 use bonobo_exception_get_text for more friendly warnings.
5333 * cspi/spi.c (Obj_Add): move into spi_main & rename
5334 spi_object_add; kill spi.c
5336 * cspi/spi_registry.c
5337 (deregisterGlobalEventListener),
5338 (deregisterGlobalEventListenerAll),
5339 (registerGlobalEventListener): fix exception leaks.
5341 * cspi/spi_main.c (spi_exception): impl. helper, so we
5342 don't leak exceptions.
5344 * cspi/spi_selection.c
5345 (AccessibleSelection_deselectSelectedChild): return the
5348 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5349 (spi_registry): ditto.
5350 (SPI_init): guard against double inits.
5352 * cspi/*.c: use spi_ev (), and spi_registry () where
5353 appropriate - a temporary hack until we have something
5354 better. Use spi_object_add
5356 2001-11-22 Michael Meeks <michael@ximian.com>
5358 * cspi/Makefile.am: re organise, install the headers.
5360 * cspi/*.h: add G_BEGIN/END_DECLS
5362 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5365 Added non-preemptive keylistener for key events with no modifiers
5366 and shift-only modifier.
5368 * libspi/keystrokelistener.c:
5369 Removed some verbose diagnostics printout.
5371 * cspi/spi_registry.c:
5372 Fixed a bug that caused all key listeners to be registered as
5375 * libspi/deviceeventcontroller.c:
5376 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5377 for non-preemptive key masks.
5380 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5382 * docs/reference/idl/at-spi-idl-docs.sgml:
5383 * docs/reference/idl/at-spi-idl-sections.txt:
5384 * docs/reference/idl/at-spi-idl-overrides.txt:
5385 Added missing files.
5387 * docs/reference/Makefile.am:
5388 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5389 to scan the IDL files :-(
5394 Added .cvsignore files.
5396 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5398 * libspi/deviceeventcontroller.c:
5399 * libspi/keystrokelistener.c:
5401 * cspi/spi_registry.c:
5402 Added filters for KeySets, KeyEventSeq, and event types to key
5403 event dispatching, so listeners should only receive those events
5404 that they requested :-)
5406 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5411 * docs/reference:Makefile.am:
5412 * docs/reference/cspi:
5413 * docs/reference/cspi:Makefile.am:
5414 * docs/reference/cspi:tmpl:
5415 * docs/reference/cspi:tmpl:*.sgml:
5416 * docs/reference/idl:
5417 * docs/reference/idl:Makefile.am:
5418 * docs/reference/idl:at-spi-idl-sections.txt:
5419 * docs/reference/idl:at-spi-idl-docs.sgml:
5420 * docs/reference/idl:tmpl:
5421 * docs/reference/idl:tmpl:*.sgml:
5423 Restructured docs directory to allow separate 'reference' docs
5424 section, and forked idl and cspi docs. Added the sgml template
5425 files to CVS. Added the first sections/structural sgml for the
5428 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5430 * configure.in, libspi/Makefile.am: find libXtst.
5432 2001-11-21 Michael Meeks <michael@ximian.com>
5434 * test/accessx-gui.c: s/spi_value/value/ - doh.
5436 * libspi/base.[ch]: add.
5438 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5440 * idl/Accessible.idl:
5441 * idl/Application.idl:
5444 Started gtk-doc cleanup on IDL.
5446 * libspi/deviceeventcontroller.c:
5447 Added and connected non-preemptive key notification from the
5448 toolkits (in addition to the pre-emptive support from XServer
5449 which we had before, but which causes 'focus flashing'). Filters
5450 are presently limited to key modifiers and global/non-global,
5451 KeySets are presently ignored, as are KeyEvent masks.
5453 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5454 structs into the persistant structure rather than just storing
5455 pointers to things that might not persist across servant
5458 The XGrabKey call now does async keygrabs, because synchronous
5459 ones were deadlocking with GDK_event code in a very nasty way.
5461 Added boolean to internal method notify_keylisteners, to indicate
5462 whether the event came from the 'toolkit source' or the 'global
5463 (XServer) source' - this is used in the notification process to
5464 determine which listeners to send the event to.
5466 deviceeventcontroller.c is now warning-free.
5468 * libspi/registry.c:
5469 Fixed regression in application de-registration.
5470 Also fixed some really brain-dead weirdness having to do with
5471 event dispatching - event structs are now duplicated before being
5472 re-marshalled in the dispatch to listeners. This also fixes a
5473 Solaris build problem.
5476 2001-11-20 Michael Meeks <michael@ximian.com>
5479 (impl_accessibility_registry_deregister_global_event_listener):
5482 * libspi/deviceeventcontroller.c
5483 (spi_device_event_controller_check_key_event): return
5484 FALSE on no virtual method.
5486 * libspi/*..h: make includes work on a correctly pathed install.
5488 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5490 * libspi/application.h: kill unused ( and whacked out )
5491 gboolean *spi_application_set_id (AtkObject *app, long id);
5493 2001-11-20 Michael Meeks <michael@ximian.com>
5495 * libspi/*.[ch]: further convert to bonobo's type func
5496 macros, remove redundnant casts etc.
5498 * libspi/text.c s/accessibility_text/spi_text/g,
5499 re-order to de-cruft.
5501 * libspi/hypertext.c: re-order to kill a huge slew
5502 of redundant forward decls.
5504 * libspi/relation.c: ditto.
5506 * libspi/image.c: ditto.
5508 * */.cvsignore: update
5510 2001-11-20 Michael Meeks <michael@ximian.com>
5512 * libspi/deviceeventcontroller.c
5513 (_controller_register_with_devices): use g_getenv,
5514 kill stdlib.h include.
5516 * libspi/keystrokelistener.c
5517 (spi_keystroke_listener_get_type): kill
5518 (spi_keystroke_listener_class_init),
5519 (spi_keystroke_listener_init): rename to this.
5521 * libspi/text.c (impl_getAttributes): fix warning / bug.
5523 * libspi/*.[ch]: more headers, includes and over commenting.
5525 2001-11-20 Michael Meeks <michael@ximian.com>
5527 * libspi/*.[ch]: fixup headers, includes and over commenting.
5529 * libspi/image.c (impl__get_imageDescription): const
5530 correctness warning fix. remove redundant casting.
5532 * libspi/table.c (impl_getRowDescription): ditto.
5533 (impl_getColumnDescription): ditto.
5535 * libspi/libspi.h: add.
5537 2001-11-19 Michael Meeks <michael@ximian.com>
5539 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5541 * libspi/component.c (accessibility_component_get_type):
5542 rename to (spi_component_get_type): and macroify.
5543 (accessibility_component_init): rename to
5544 (spi_component_init): this
5545 (accessibility_component_class_init): rename to
5546 (spi_component_class_init): this
5548 * libspi/action.c (spi_action_get_type): kill, use the macro.
5550 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5553 * libspi/application.c (spi_application_object_event_listener),
5554 (impl_accessibility_application_register_object_event_listener):
5555 warning fixes / const understanding updates.
5557 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5560 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5562 * libspi/spi_accessible.c: Added docs and C bindings for
5563 AccessibleStateSet. (No implementations yet). Documentation
5564 coverage for C bindings now 100%. Made docs for event listeners
5569 boolean notifyListenersSync (in DeviceEventListener listener,
5570 in DeviceEvent event);
5572 oneway void notifyListenersAsync (in DeviceEventListener listener,
5573 in DeviceEvent event);
5575 Added DeviceEventListener and DeviceEvent structs (may deprecate
5576 KeyStroke and KeystrokeListener in favor of this generic
5577 event/listener framework for devices).
5579 * libspi/deviceeventcontroller.c:
5581 Changed some key listener code to take masks, etc., and paved the
5582 way for integration of toolkit/non-preemptive key events. Changed
5583 signatures of some internal methods.
5585 * at-bridge/bridge.c:
5586 Fixed regression connecting to interface signals, apparently
5587 caused by GTK+ changes.
5589 Added an internal bridge_state_listener to deal with
5590 property-change:accessible-state signals.
5592 Changed the key_listeners GList to store structs (including masks,
5593 etc.) instead of just CORBA_Objects (required for full
5594 implementation of key listener API).
5596 Connected the bridge to all currently supported Atk signals.
5597 Events now supported:
5598 object:property-change
5599 object:property-change:accessible-name
5600 object:property-change:accessible-state
5601 object:property-change:accessible-description
5602 object:property-change:accessible-parent
5603 object:property-change:accessible-value
5604 object:property-change:accessible-role
5605 object:property-change:accessible-table-caption
5606 object:property-change:accessible-table-column-description
5607 object:property-change:accessible-table-column-header
5608 object:property-change:accessible-table-row-description
5609 object:property-change:accessible-table-row-header
5610 object:property-change:accessible-table-summary
5611 object:children-changed
5612 object:visible-data-changed
5613 object:selection-changed
5614 object:text-selection-changed
5616 object:text-caret-moved
5618 object:row-reordered
5620 object:column-inserted
5621 object:column-reordered
5622 object:column-deleted
5623 object:model-changed
5625 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5627 * libspi/hyperlink.c,h:
5628 Fixed some broken stuff in hyperlink.
5630 * libspi/relation.h:
5631 * libspi/relation.c:
5632 * cspi/spi_accessible.c:
5633 Initial implementations of AccessibleRelation methods, and docs.
5635 * libspi/accessible.c:
5636 Fixed a bug that caused SEGV if an accessible
5637 object's description is NULL, and a client
5638 requests it. An empty string is now returned.
5640 * cspi/spi_editabletext.c:
5641 * cspi/spi_hypertext.c:
5643 * cspi/spi_hyperlink.c:
5647 Doc coverage now 95%.
5649 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5651 One last namespacing revision:
5652 * libspi/accessibleeventlistener.[ch]:
5653 Renamed SpiAccessibleEventListener to SpiEventListener,
5654 (no need for two namespaces ;-)
5656 And lots of documentation fixes:
5658 * docs/at-spi-docs.sgml:
5659 Fixed 'underscore vs. hyphen' bug that was preventing
5660 the gtk-doc API docs from being automatically generated.
5663 * cspi/spi-listener.h
5665 * cspi/spi_accessible.c
5667 * cspi/spi_application.c
5668 * cspi/spi_component.c
5669 * cspi/spi_editabletext.c
5671 * cspi/spi_hypertext.c
5673 * cspi/spi_registry.c
5674 * cspi/spi_selection.c
5678 * docs/at-spi-docs.sgml
5679 * docs/at-spi-sections.txt
5681 Added and fixed up gtk-doc documentation in cspi.
5683 Interfaces now (fully) documented (subject to revision and enhancement):
5685 Event Listener Support
5687 AccessibleApplication
5691 AccessibleEditableText
5698 AccessibleRelationSet
5703 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5705 * at-bridge/bridge.c:
5706 Initial work for toolkit-level key snooper connection by bridge.
5711 New typedefs and fixes to support new namespacing, and cleaner
5712 separation of cspi bindings from libspi bonobo implementation.
5713 Removed inconsistent and extraneous Spi* namespace prefix that
5714 had crept into cspi headers.
5715 Lots of comment fixes that sed had missed.
5717 * cspi/spi-roletypes.h:
5718 * cspi/spi-statetypes.h:
5719 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5720 to AccessibleRoleType.
5722 * libspi/accessibleeventlistener.h:
5723 Fixed minor namespacing weirdness.
5725 * libspi/deviceeventcontroller.c:
5726 Reordered some internal API for device listeners.
5727 Changed the key registry final boolean to 'is_system_global'
5728 rather than 'is_synchronous', which is more descriptive of its
5730 Added spi_device_event_controller_new().
5731 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5733 * libspi/keystrokelistener.[ch]:
5734 Namespaced KeystrokeListener to SpiKeystrokeListener.
5735 Changed uses of keymasks to use SPI_ prefix, and did other
5738 * libspi/keymasks.h:
5739 Namespaced keymask constants with SPI_ prefix.
5741 * libspi/registry.c:
5742 Some warning fixes, and knock-on fixes from namespace changes.
5745 Added rules for accessx-gui test program.
5747 * test/accessx-gui.c:
5748 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5749 utility. It doesn't actually use at-spi, but it's still cool and
5752 * test/keysynth-demo.c:
5756 Fixes so that these test clients work properly with the namespaced
5757 libraries. (Incompletely tested for technical reasons, fixes may follow)
5760 2001-11-13 Michael Meeks <michael@ximian.com>
5762 * libspi/application.c
5763 (impl_accessibility_application_get_version),
5764 (impl_accessibility_application_get_toolkit_name):
5766 (impl_accessibility_application_set_id),
5767 (impl_accessibility_application_get_id): remove
5768 redundant casting code.
5770 * libspi/action.c (impl_getDescription): fix warnings.
5772 * libspi/accessible.c
5773 (impl_accessibility_accessible_get_parent),
5774 (impl_accessibility_accessible_get_child_at_index),
5775 (impl_accessibility_accessible_get_state),
5776 (impl_accessibility_accessible_get_relation_set):
5777 warning fixes & include action.h
5779 2001-11-13 Michael Meeks <michael@ximian.com>
5781 * *.[ch] fix bits I screwed up:
5783 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5784 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5786 2001-11-13 Michael Meeks <michael@ximian.com>
5788 * *.[ch] Namespace libspi into spi_ and Spi.
5790 2001-13-11 Michael Meeks <michael@ximian.com>
5792 * Makefile.am: dist & install at-spi-1.0.pc
5794 * libspi/Makefile.am: install into at-spi-1.0
5796 * idl/Makefile.am (idldir): install into at-spi-1.0
5798 * at-spi-1.0.pc.in: add.
5800 * configure.in: build it.
5802 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5804 * test/keysynth-demo.c:
5805 Use a 'realize' signal-handler to set the WM properties for
5806 the virtual keyboard, rather than making it a "POPUP" type
5807 override-redirect window (thanks to anders carlsson for that
5810 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5813 * test/keysynth-demo.c:
5814 Added new test of key synthesis, which creates a simple
5815 (mouse-operated) onscreen keyboard. It inserts key events into
5816 the currently-focused window, thus it does not grab keyboard focus
5819 * cspi/spi_registry.c:
5820 Added C binding for AT-SPI generateKeyEvent.
5822 * libspi/deviceeventcontroller.c:
5823 Added call to XFilterEvent so that key listener works with XIM (we
5824 hope). Added event_synth_type to generateKeyEvent, so that we can
5825 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5826 synthesize a press/release pair for KeySyms.
5828 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5830 * libspi/Makefile.am:
5831 * registryd/Makefile.am:
5832 (temporary) hack to include libXtst in libspi and registryd.
5833 (Needed for keystroke synthesis, see below).
5836 Improved API for registerKeystrokeListener, in accordance with
5837 discussions with Gnopernicus team and X server research.
5839 * libspi/registry.c:
5840 * libspi/deviceeventcontroller.c:
5841 * libspi/accessible.c:
5842 * libspi/keystrokelistener.c:
5843 Changes and fixes to support keylisteners for potentially
5844 consumed key events (that is, 'passive grabs').
5845 Added implementation for generateKeyEvent() [untested].
5848 Changes to registerKeystrokeListener() API, as above.
5849 Added deregisterGlobalEventListenerAll(), and
5850 deregisterKeystrokeListener(), which are needed for clean exit of
5852 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5853 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5855 * cspi/spi_registry.c:
5856 Added implementations of function prototypes mentioned above.
5858 * registryd/registryd.c:
5859 Added the key listener event source as a g_timeout(), to allow
5860 receipt of key events that are not caught by GDK (since GDK
5861 doesn't support passive keygrabs, this was necessary).
5864 Changed to attach a keylistener to 'Alt' keys, and
5865 respond to the following keycommands: Alt-M (toggle magnifier);
5866 Alt-F (toggle speech); Alt-Q (quit).
5867 Added an exit routine to deregister the listeners, and a key
5868 listener that prints some key info to the console when a key
5869 matches the listener mask (and is thus received by the listener).
5871 * util/idl/Magnifier.idl:
5872 Changes to magnifier API to support multiple zoom regions,
5873 non-uniform scaling in x and y, markDirty, and a host of other
5874 features that would be useful to magnification.
5877 * util/mag_client.c:
5878 * util/mag_client.h:
5879 * util/mag_control.c:
5881 Source code changes to support the above IDL changes.
5884 As above, and also changes to use a (slower) generic conversion
5885 path for colormap conversions, since the fast RGB conversions have been
5886 reported to fail for 16-bit displays.
5888 2001-10-26 Michael Meeks <michael@ximian.com>
5890 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5892 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5894 * at-bridge/Makefile.am: fix LDFLAGS.
5896 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5898 * at-bridge/bridge.c:
5899 Re-worked listeners for toolkit events, now we have signal
5900 and property listeners. Added a private method
5901 register_atk_event_listeners(), which registers with the
5902 various atk and gtk signals we need to monitor in order to emit
5904 Added emission hook for AtkObject:property-change events, to
5905 support the 'property listeners'.
5906 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5909 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5910 which emit warnings and exit, respectively, if CORBA errors occur
5911 during remote calls, and we now use these methods to check most of
5912 our CORBA calls in the C bindings.
5914 * cspi/spi_accessible.c:
5915 Changed AccessibleSelection_refSelectedChild() to
5916 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5917 now increment refcounts.
5919 * cspi/spi_component.c:
5920 Fixed some long pointer casts (dangerous!) to pass pointers to
5921 CORBA_longs of the proper type to the CORBA stubs, and copy the
5922 data into the longs that were passed into the C bindings code.
5924 * at-bridge/bridge.c:
5926 * libspi/accessible.c:
5927 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5928 hyperlinks, AtkHyperlink is an object type.
5930 * libspi/application.c:
5931 Added various conversions to and from "generic" event types and
5932 atk-specific types; this is really part of the 'bridge'
5933 implementation but is valid for all AtkObject-based accessibility
5936 * libspi/editabletext.c:
5937 Fixed nasty bug wherein editable text's finalize method was
5938 unref'ing tha AtkObject reference that the text parent class was
5939 about to unref _again_. There was also a nasty inheritance bug
5940 that meant that the AccessibleEditableText class was corrupt.
5942 * libspi/selection.c:
5943 Provided implementations for some selection API that was broken.
5945 * idl/Application.idl:
5946 Added registerObjectEventListener () method.
5949 Fixed a number of return values that were Bonobo_Unknowns from
5950 bonobo_object_corba_objref(), which I
5951 forgot to dup before returning. Changed instances of
5952 bonobo_object_corba_objref (bonobo_object(o)) to
5953 BONOBO_OBJREF(o), for concision and clarity.
5955 2001-10-13 Louise Miller <louise.miller@sun.com>
5957 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5958 idl/Event.idl, idl/Registry.idl
5959 Changed these files to include Bonobo_Unknown.idl instead
5962 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5964 * libspi/component.c libspi/component.h:
5965 Fixed typo. Added assertions for object checks in
5966 AccessibleComponent code.
5968 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5970 * idl/Accessible.idl:
5971 Added 'isEqual (Accessible *object)'
5972 method for Accessible. (Not Yet Implemented).
5975 Changed signature of registerKeystrokeListener() to
5976 take a KeySet and KeyEventSeq so that specific keys and event
5977 types could be requested for monitoring, and added a flag
5978 is_synchronous so that either synchronous or asynchronous
5979 notification could be requested. (However this is not all
5980 implemented yet). This also meant adding two new typedefs,
5981 KeyEventSeq and KeySet.
5984 Added two new relations, RELATION_TOOLTIP_FOR and
5985 RELATION_LEAFNODE_OF.
5988 Added new state, STATE_HAS_TOOLTIP.
5990 * libspi/text.c, editabletext.c:
5991 Added new assertions to all casts of bonobo-objects from
5992 CORBA servants, to prevent Text API calls on non-text objects.
5993 Changed suspect casts of int-pointer types, so that we
5994 always send a valid CORBA_long pointer to the CORBA APIs that use
5995 in/out long parameters. We then have to copy from the CORBA_long
5996 into the regular long or int for return to the C bindings, or
5997 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6000 * libspi/deviceeventcontroller.c:
6001 Cleaned these sources up.
6003 Changed return type for getCharacterAtOffset to
6004 CORBA_unsigned_long, to allow for 32-bit characters.
6007 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6011 Fixed 'make dist' so that distro compiles...
6012 * libspi/keymasks.h:
6014 * cspi/spi-listener.c:
6015 KeystrokeListenerCB now returns a boolean.
6017 Added KeyEventType struct, and KeyStroke.
6018 Also added createKeystrokeListener(),
6019 KeystrokeListener_addCallback(),
6020 KeystrokeListener_removeCallback(), and added a keymask to
6021 registerKeystrokeListener().
6022 * cspi/spi_accessible.c:
6023 Changed numerous return types for interfaces from
6024 AccessibleComponent to Accessible<InterfaceName>; this was
6025 probably a cut-and-paste error.
6027 Implementations of new KeystrokeListener api (from spi.h,
6030 Changes to key modifier mapping.
6031 Created ControllerEventMask struct.
6032 Made DeviceEventController derive from Bonobo::Unknown.
6034 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6035 * libspi/deviceeventcontroller.c:
6036 Added a number of new internal (private) methods.
6037 * libspi/editabletext.c:
6038 * libspi/editabletext.h:
6039 Fixed a number of bugs related to the fact that
6040 editabletext inherits from text. Fixed the EditableText struct,
6041 the init() call, and use correct casts when calling Text methods
6042 from an EditableText object. Removed (duplicate) atko from the
6043 EditableText structure, we use the one in the parent Text
6044 structure via the casts mentioned above.
6045 * libspi/keystrokelistener.[ch]:
6046 * libspi/registry.c:
6047 Changes in support of keyboard handling (above).
6049 Keyboard handling, though partly functional, is still not
6050 recommended for at-spi client use as there is considerable
6051 work yet to be done.
6054 Changed some places where pointers to various int types
6055 are cast to be pointers to CORBA_long types and vice-versa:
6056 pointer casting is not safe so we pass pointers of the correct
6057 types and then cast the result before putting it into the target
6060 * libspi/text.h: minor typos corrected.
6062 We now speak not only the name of a Text element, but the
6063 first sentence of its content, when it receives focus.
6064 I also changed the text compression to 75% from 50%.
6065 * util/Accessibility_Util.server.in:
6066 Changed the default magnifier type to be a 3x vertical
6067 splitscreen magnifier (was previously a 2x horizontal one).
6069 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6071 * libspi/keystrokelistener.h:
6072 * libspi/keystrokelistener.c:
6073 Initial functional implementations of KeystrokeListener.
6076 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6078 Fixed string handling for NULL strings in libspi.
6079 Added spi_freeString to free strings returned by C bindings.
6081 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6083 * libspi/keystrokelistener.h:
6084 * libspi/keystrokelistener.c:
6085 Began (no-op) implementations of KeystrokeListener
6087 * libspi/deviceeventcontroller.c:
6088 * libspi/deviceeventcontroller.h:
6089 Began creating implementations of DeviceEventController,
6090 to handle keystroke and mouse event listening and
6092 * libspi/accessible.c:
6093 Stubbed-in the implementations for
6094 Accessibility_Accessible_getState and
6095 Accessibility_Accessible_getRelationSet.
6096 * libspi/registry.c:
6097 Improved de-registration process and fixed some bugs,
6098 deregistration now works correctly.
6100 Added initialization of applications list (to NULL).
6102 Reduced speech compression from 0.5 to 0.7, for demo.
6103 Changed call to gdk_window_set_decorations()
6104 to gtk_window_set_decorated().
6105 * at-bridge/bridge.c:
6106 Bridge now deregisters when app exits, via
6107 registration of a cleanup function
6108 with the g_atexit() call.
6109 Required making 'app' static, renamed 'this_app'.
6110 Fixed broken use of bonobo_init, passing argv wrongly.
6112 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6116 Created a new directory for
6117 accessibility-related utilities, primarily for
6118 testing and demo purposes, but with possible
6125 Onscreen magnifier utility that
6126 is implemented as a bonobo service.
6128 * util/mag_client.c:
6129 * util/mag_client.h:
6130 Client-side support (simple C bindings)
6131 for Magnification service
6133 * util/mag_control.c:
6134 Client program example for
6135 Magnification service
6137 * util/Accessibility_Magnifier.server.in:
6138 Bonobo-activation file for the
6139 Magnification service.
6142 * util/idl/Magnifier.idl:
6143 IDL defining the bonobo Magnification
6147 Modifications to use the bonobo-activated magnifier
6148 above, in place of trying to connect to an existing
6149 magnifier that uses socket-listening IPC.
6151 If env variable MAGNIFIER is set, a magnifier service
6152 will be started if one does not exist.
6154 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6156 * at-bridge/bridge.c:
6157 applied patch from Marc to build and run
6158 against new glib and gtk+ (seemed like a change
6159 to bonobo_init signature was made ?)
6161 made festival-server support turned off by default.
6162 Added support for a simple magnifier (off by default)
6163 which will be added to a 'util' directory later.
6164 * at-bridge/Makefile.am:
6165 Changed "application.h" header from a 'source'
6166 to a 'dependency' of libat-bridge.
6168 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6177 Added interface implementation c files to list of
6178 includes so they are included in libcspi.
6181 Changed prototype of AccessibleAction_doAction to return a
6183 Changed prototype of AccessibleTable_getCaption to
6184 return an Accessible.
6185 Changed prototype of AccessibleTable_getSelectedRows
6186 and AccessibleTable_getSelectedColumns to
6187 return a long (returns the number of selected rows
6188 or columns respectively).
6189 Changed name of AccessibleText_refRunAttributes to
6190 AccessibleText_getAttributes.
6191 Changed prototype of AccessibleText_getCharacterExtents to
6192 return a void rather than a boolean.
6193 Added support for a AccessibleCoordType parameter
6194 specifying what type of coordinates are desired.
6195 Added an AccessibleCordType parameter to
6196 AccessibleText_getPointAtOffset.
6198 * cspi/spi_accessible.c:
6199 Added code to return the outstanding interfaces from
6200 Accessible_queryInterface.
6202 * cspi/spi_action.c:
6204 Corrected call to getNActions to call the c binding
6207 * cspi/spi_editabletext.c:
6209 Changed name from setRunAttributes to setAttributes.
6211 * cspi/spi_hyperlink.c:
6213 Changed call to getNAnchors to correctly call the c
6214 binding for an attribute.
6216 * cspi/spi_hypertext.c:
6218 Changed getImageDescription to correctly call the
6219 binding for an attribute.
6221 * cspi/spi_selection.c:
6222 Changed getNSelectedChildren to correctly call the c
6223 binding for the attribute.
6224 Changed refSelectedChild to getSelectedChild.
6228 Changed getCaption to return an Accessible.
6229 Fixed calls which retrieve attributes.
6230 Changed refAt to getAccessibleAt.
6231 Changed getNSelectedRows and getNSelectedColumns to
6235 Changed getCharacterExtents and getPointAtOffset to accept an
6236 AccessibleCoordType.
6238 Changed calls which retrieve attributes.
6239 Changed refRunAttributes to getAttributes.
6244 * idl/Hyperlink.idl:
6245 Changed n_anchors attribute to nAnchors to keep naming
6246 convention consistent.
6249 Made Table inherit from Bonobo::Unknown.
6250 Added nSelectedColumns and nSelectedRows attributes.
6253 Made Value inherit from Bonobo::Unknown.
6255 * libspi/hyperlink.c:
6256 Change for nAnchors attributte name change.
6258 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6266 Added interface implementation c files to list of
6267 includes so they are included in libcspi.
6270 Changed prototype of AccessibleAction_doAction to return a
6272 Changed prototype of AccessibleTable_getCaption to
6273 return an Accessible.
6274 Changed prototype of AccessibleTable_getSelectedRows
6275 and AccessibleTable_getSelectedColumns to
6276 return a long (returns the number of selected rows
6277 or columns respectively).
6278 Changed name of AccessibleText_refRunAttributes to
6279 AccessibleText_getAttributes.
6280 Changed prototype of AccessibleText_getCharacterExtents to
6281 return a void rather than a boolean.
6282 Added support for a AccessibleCoordType parameter
6283 specifying what type of coordinates are desired.
6284 Added an AccessibleCordType parameter to
6285 AccessibleText_getPointAtOffset.
6287 * cspi/spi_accessible.c:
6288 Added code to return the outstanding interfaces from
6289 Accessible_queryInterface.
6291 * cspi/spi_action.c:
6293 Corrected call to getNActions to call the c binding
6296 * cspi/spi_editabletext.c:
6298 Changed name from setRunAttributes to setAttributes.
6300 * cspi/spi_hyperlink.c:
6302 Changed call to getNAnchors to correctly call the c
6303 binding for an attribute.
6305 * cspi/spi_hypertext.c:
6307 Changed getImageDescription to correctly call the
6308 binding for an attribute.
6310 * cspi/spi_selection.c:
6311 Changed getNSelectedChildren to correctly call the c
6312 binding for the attribute.
6313 Changed refSelectedChild to getSelectedChild.
6317 Changed getCaption to return an Accessible.
6318 Fixed calls which retrieve attributes.
6319 Changed refAt to getAccessibleAt.
6320 Changed getNSelectedRows and getNSelectedColumns to
6324 Changed getCharacterExtents and getPointAtOffset to accept an
6325 AccessibleCoordType.
6327 Changed calls which retrieve attributes.
6328 Changed refRunAttributes to getAttributes.
6333 * idl/Hyperlink.idl:
6334 Changed n_anchors attribute to nAnchors to keep naming
6335 convention consistent.
6338 Made Table inherit from Bonobo::Unknown.
6339 Added nSelectedColumns and nSelectedRows attributes.
6342 Made Value inherit from Bonobo::Unknown.
6344 * libspi/hyperlink.c:
6345 Change for nAnchors attributte name change.
6348 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6350 implementations-- made server implementations own AtkObject pointers
6351 rather than their respective AtkInterrface pointers to fix
6352 refcounting. AtkHyperlink is still broken.
6354 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6355 * cspi/spi_accessible.c:
6356 Added method Accessible_Role_getName(),
6357 and requisite string array (role_names).
6358 Added conversion string_from_corba_strin() call
6359 to Accessible_getName and _getDescription.
6360 * libspi/accessible.c:
6361 Added implementation for Accessible_getRole()
6363 Added festival support, used if environment variable
6366 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6368 * at-bridge/bridge.c:
6369 Now allocate Accessibility_Event using
6370 Accessibility_Event__alloc() instead of g_new0().
6371 * libspi/accessibleeventlistener.c:
6372 Initialize AccessibleEventListener->callbacks to NULL.
6373 Fixed accessible__event_listener_init() param, changed to
6374 "AccessibleEventListener *" type.
6375 Changed a bonobo_object_release_unref() call to
6376 Accessibility_Accessible_unref().
6377 * libspi/listener.c:
6378 Changed Bonobo_Unknown_unref to (equivalent)
6379 Accessibility_Accessible_unref.
6380 * libspi/registry.c:
6381 Changed bonobo_object_release_unref to
6382 Accessibility_Accessible_unref.
6384 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6387 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6388 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6389 spi-util.c spi-util.h
6390 Implementations for C bindings to remaining accessibility
6393 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6396 changed return value of Action from void to boolean to
6397 bring in line with ATK.
6400 Changed getText funcions to return "out" start and end offsets.
6401 Changed getAttributes to take and offset and return the start
6402 and end offset of the attribute run.
6403 Changed getOffsetAtPoint and getCharacterExtents to take an
6404 enum describing whether coordinates are window or screen.
6407 libspi/action.c libspi/action.h libspi/editabletext.c
6408 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6409 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6410 libspi/image.h libspi/selection.c libspi/selection.h
6411 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6412 libspi/value.c libspi/value.h
6413 Added server implementations for outstanding ATK interfaces
6414 not yet implemented.
6416 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6419 Added (missing) getName() method.
6420 Made nActions an attribute.
6421 * idl/EditableText.idl:
6422 Changed order of params in setAttributes.
6423 * idl/Hyperlink.idl:
6424 Removed getAnchor, added getURI.
6426 Changed attributes to methods, for efficiency
6427 (so that getting extents can be done in one call)
6428 * idl/Selection.idl:
6429 Changed nSelectedChildren to attribute, and re-indented.
6430 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6432 * idl/Text.idl: reformatted to match our coding style.
6433 (temporarily?) removed getRowColumnAtOffset().
6434 Changed text selection API to support multi-select and
6435 non-contiguous selections, as in ATK.
6436 * idl/Value.idl: changed some methods to attributes.
6438 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6440 * libspi/listener.c(impl_notify_event):
6441 BonoboUnkown_unref the source instead
6442 of bonobo_object_release_unref - the ORB
6443 handles the releasing.
6445 * configure.in: require ORBit-2.3.94 for
6448 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6450 Tagged CVS repository 'EA_1_0'.
6451 * README.EARLY_ACCESS:
6452 Alphabetized acknowledgements list, and
6454 Listed some known dependencies of at-spi.
6456 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6458 * docs/at-spi-docs.sgml:
6459 * docs/at-spi-sections.txt:
6460 * docs/at-spi-overrides.txt: (Added zero-length file)
6461 Documentation improvements - gtk-doc should build
6462 docs for all implemented C bindings now.
6465 * cspi/spi.c: (New file)
6466 * cspi/spi_event.c: (New file)
6467 * cspi/spi_registry.c: (New file)
6468 * cspi/spi_accessible.c: (New file)
6469 * cspi/spi_application.c: (New file)
6470 * cspi/spi_component.c: (New file)
6471 Split spi_main.c into six parts, and included them from
6472 "spi.c". This is a bit of a hack, probably temporary,
6473 but required by gtk-doc, apparently.
6475 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6478 * docs/at-spi-docs.sgml:
6479 * docs/at-spi-sections.txt:
6481 Initial checkins/modifications for gtk-doc generation.
6484 Added (missing) interface query methods to Accessible's C binding.
6486 Added GenericInterface type definition.
6488 Added query for AccessibleComponent interface to focus event handler.
6489 Added printout of bounding box for focussed component.
6490 * libspi/component.c:
6491 Added partial implementation for AccessibleComponent to C binding.
6492 * idl/Application.idl:
6493 * libspi/registry.c:
6494 * libspi/listener.c:
6495 * libspi/application.c:
6496 * libspi/application.h:
6497 Changed "ID" attribute type from string to long.
6499 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6503 Made method naming consistent: methods taking object args
6504 start with uppercase, other methods (except those using
6505 acronyms) start with lowercase. Underscores delimit between
6506 object names and method names:
6507 SPI_init() - uppercase since it starts with an acronym.
6508 getDesktopCount () - lowercase start since no object param0.
6509 Accessible_getName() - uppercase object type name, studlyCaps method
6513 Added gtk-doc documentation for all currently implemented
6514 methods in the C bindings API.
6516 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6518 * Makefile.am : changed build order to build test last.
6521 Changed "createEventListener" to "CreateEventListener".
6522 * libspi/accessibleeventlistener.c :
6523 Bugfix for addition of callbacks.
6524 * test/Makefile.am :
6525 * test/simple-at.c :
6526 Added new test that uses the C bindings API.
6528 * libspi/listener.c :
6529 * libspi/registry.c :
6530 * libspi/accessibleeventlistener.c :
6531 * at-bridge/bridge.c :
6532 Renamed member "target" of Accessibility_Event to "source",
6533 which is more descriptive.
6536 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6540 * cspi/Makefile.am :
6541 Added makefile support for at-spi/cspi directory.
6544 * cspi/spi-listener.h : (NEW FILE)
6545 Added support for/use of spi-listener.h.
6547 C bindings now build successfully, with no warnings.
6548 * libspi/accessibleeventlistener.h : (NEW FILE)
6549 * libspi/accessibleeventlistener.c : (NEW FILE)
6550 * libspi/Makefile.am :
6551 Added new object type "AccessibleEventListener"
6552 which inherits from Listener, and allows attachment
6553 of in-process callbacks (so that a client with a listening
6554 object instance can add functionality to the local
6555 implementation, dynamically).
6557 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6559 * libspi/accessible.c:
6560 Add implementation for get_index_in_parent().
6562 Added #include of "spi-roletypes.h", and
6563 added enumerated type AccessibleCoordType.
6564 Added definition for KeystrokeListener (function type).
6567 * cspi/spi-statetypes.h :
6568 * cspi/spi-roletypes.h :
6570 Added these headers, used by spi.h.
6572 Added code (NOTE: not yet built by make).
6574 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6576 * libspi/Makefile.am: generate imodule
6577 at the same time as other idl compiler
6580 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6581 * libspi/registry.c :
6582 * libspi/application.c :
6583 * idl/Application.idl :
6584 Made registration with toolkit an application method,
6585 which is required since each app has its own toolkit static
6586 environment. Thus the bridge must register for
6587 notification of toolkit events from each application in turn.
6588 Toolkit notifications are now successfully registered for, and
6589 sent to the listening at client.
6591 Changed toolkit event string to use hyphens rather than underscores.
6592 * libspi/listener.c :
6593 listner now gives more info in debug mode - it reports the
6594 name of the event received, as well as the name of the source.
6597 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6599 * libspi/registry.c :
6600 added more implementation for toolkit events.
6601 Fixed bug such that toolkit event registrations
6602 (via atk) use the whole event name string, not
6604 Removed a useless call to an ORBit_ method.
6605 * at-bridge/bridge.c :
6606 Removed unused local sbuf[] variable.
6608 We now register for Gtk:GtkWidget:button_press_event
6609 events as well as "focus:" events.
6611 Add some more API from Registry.idl that was missing,
6612 for keystroke listening, keystroke and mouse event
6613 synthesis, and enumeration of accessible desktops.
6615 2001-08-16 Michael Meeks <michael@ximian.com>
6617 * configure.in: use AM_GLIB_GNU_GETTEXT.
6619 * Makefile.am (SUBDIRS): kill intl.
6621 2001-08-15 Michael Meeks <michael@ximian.com>
6623 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6625 * configure.in: upd.
6627 * configure.in: depend on a recent bonobo-activation that
6628 will find our server files ...
6630 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6632 * libspi/accessible.c : accessible_new() :
6633 Now we add the Component interface via bonobo_object_add_interface,
6634 if the contained AtkObject implements AtkComponent.
6635 * libspi/accessible.h : now include "component.h"
6636 * libspi/component.h :
6637 * libspi/component.c : added files - implementation of
6638 bonobo wrapper object for Accessibility/Component
6639 * libspi/listener.c :
6640 Added test code to check for Accessibility/Component:1.0
6641 interface and report whether it is implemented by the
6643 * libspi/registry.c :
6644 Now we check for not only the hash of the whole event
6645 string before relaying the event, we also check the
6646 "minor" event string (without the detail string).
6647 This allows event listeners to be registered against
6648 all events of a certain major+minor type, or just
6649 against a specific major+minor+detail type.
6650 * libspi/accessible.c :
6651 Added implementations for Accessible:get_parent(),
6652 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6653 * libspi/registry.c :
6654 * libspi/listener.c :
6655 Replaced calls to Accessibility_Accessible_ref() and
6656 Accessibility_Accessible_unref() with
6657 calls to bonobo_object_dup_ref() and
6658 bonobo_object_release_unref(), so that the CORBA object
6659 is dup-ed and released when relayed, as well as the bonobo object.
6661 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6663 * libspi/Makefile.am,
6664 registryd/Makefile.am,
6665 at-bridge/Makefile.am.
6666 test/Makefile.am, configure.in:
6667 reverse previous changes.
6669 * /idl/Image.idl: fix typo.
6671 * test/Makefile.am: put DEBUG_FLAGS
6674 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6676 * test/app.c: use argv[0] instead of
6679 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6681 * libspi/Makefile.am,
6682 registryd/Makefile.am,
6683 at-bridge/Makefile.am.
6684 test/Makefile.am, configure.in:
6685 cleanup, replace individual LIBS/CFLAGS with
6686 AT_COMMON_{LIBS|CFLAGS}.
6690 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6692 * configure.in, libspi/Makefile.am:
6693 Change IDL path checking for bonobo-activation
6696 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6698 * registryd/registry.c : separated event listeners to use
6699 3 separate lists (focus, window, toolkit). Began testing
6700 event names against hashes before relaying events.
6701 * test/at.c : now register for events of type "focus:"
6702 * test/app.c : now generate events of type "focus:"
6703 * at-bridge/bridge.c : register with ATK for focus events,
6704 and we now relay those focus events to any "focus:" listeners.
6705 This now works with the bridge as a GTK_MODULE when running test/at.
6706 * libspi/registry.c :
6707 * libspi/listener.c :
6708 now we ref event sources before propagating, and unref on receipt.
6709 * libspi/registry.c :
6710 some changes to internal structs, to support event typestring hashes.
6711 * text/app.c : changed the way the appname is generated.
6712 * cspi : added directory that will hold the C bindings library for
6713 non-CORBA/bonobo-savvy clients.
6714 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6715 * idl/Component.idl : added in parameter to indicate coord system for
6716 geometry-related calls.
6717 * idl/Hyperlink.idl : added readonly n_links attribute
6718 * idl/Image.idl : changed methods to attributes.
6720 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6722 * at-bridge/Makefile.am: link against
6723 ../libspi/libspi.la instead of -lspi.
6725 * at-spi/test/app.c: include
6726 bonobo-activation.h. Use a default appname
6727 if one is not provided.
6729 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6731 * idl/Registry.idl : temporarily changed register_Application
6732 to oneway, to work around issue with initial registration
6734 * idl/Application.idl : changed attribute "id" from readonly
6735 to read-write, since it needs to be assigned by Registry.
6736 * registryd/registryd.c : added call to set application id
6738 * registryd/registry.c : changed de-registration procedure to
6739 use CORBA_Object_hash() to find matching object ref in application
6740 lists and listener lists.
6741 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6742 began distinguishing between event types (work in progress).
6744 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6747 * libspi/application.c:
6748 Added implementations for get/set id, get_toolkitName,
6750 * registryd/registryd.c :
6754 Converted from use of OAF to bonobo-activation.
6755 * libspi/desktop.h :
6756 * libspi/desktop.c :
6758 Removed references to atksimpleobject, since base atkobject
6759 implementation now provides functionality we need.
6760 * libspi/atksimpleobject.c :
6761 * libspi/atksimpleobject.h :
6766 * at-bridge/Makefile.am
6767 * at-bridge/bridge.c
6770 Added directory "bridge" and contents, and added dependencies
6771 in Makefile.am/configure.in.
6772 Initial checkin of "at-bridge".
6773 This code is a GTK_MODULE which automatically registers
6774 GTK+ apps with the accessibility registry, using an object
6775 reference to the root ATK object.
6777 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6779 * po/Makefile.in.in: Remove. Again. If this
6780 doesn't get autogenerated - you need to update
6783 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6785 * po/Makefile.in.in: Add. Again.
6787 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6789 * libspi/accessible.c : added support for 'description' property.
6790 * libspi/accessible.c
6792 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6793 (since the two are now equivalent in libbonobo)
6801 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6802 Bonobo::Unknown as does Accessibility::Accessible.
6803 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6804 interface with Bonobo::Stream, since it was redundant with it.
6805 (The Stream returned by a StreamableContext object is expected to
6806 implement only a subset of Bonobo::Stream)
6808 2001-07-28 Anders Carlsson <andersca@gnome.org>
6810 * libspi/accessible.c (accessible_object_finalize): Change
6811 g_free to g_object_unref since the AtkObject is a GObject.
6813 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6815 * idl/Accessibility.idl: add new IDL files
6818 * idl/Action.idl: Definitions of actionable UI object
6819 * idl/Component.idl: Definitions of UI component geometry, etc.
6820 * idl/Hyperlink.idl: Defs of hyperlink behavior
6821 * idl/Image.idl: Def of accessible image
6822 * idl/Selection.idl: Definition of UI object with selectable children
6823 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6824 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6825 * idl/Text.idl: Interface defs for UI elements with complex textual content
6826 * idl/Value.idl: Definition of UI element that is a value controller or display
6828 2001-07-27 Michael Meeks <michael@ximian.com>
6830 * po/Makefile.in.in: remove autogenerated file from CVS.
6832 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6835 * idl/Registry.idl: include guard.
6837 * idl/Accessibility.idl: Add, and include all the other IDL
6840 * idl/*.idl: remove mass of pragmas etc.
6842 2001-07-26 Michael Meeks <michael@ximian.com>
6844 * registryd/Makefile.am (registryd_SOURCES): remove
6847 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6849 * libspi/.cvsignore, registryd/.cvsignore,
6850 test/.cvsignore: updated.
6852 * po/Makefile.in.in: gettext update.
6854 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6856 * initial CVS checkin
6858 2001-06-29 Michael Meeks <michael@ximian.com>
6860 * configure.in: add AM_CONFIG_HEADER to gen config.h