1 2004-05-27 Alexander Shopov <ash@contact.bg>
2 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
6 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
7 is positive. This should make it easier to detect inapprorpiate unref
10 2004-05-11 James Henstridge <james@daa.com.au>
12 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
15 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
17 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
19 2004-04-28 Bill Haneman <billh@gnome.org>
21 * Makefile.am: Added --enable-gtk-doc to
22 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
24 2004-04-19 Bill Haneman <billh@gnome.org>
26 * configure.in: Revved to 1.5.1.
28 * registryd/deviceeventcontroller.c:
30 (DEControllerPrivateData): Added fields for
31 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
32 (spi_dec_replace_map_keysym): New internal utility for
33 replacing a keysym in the keymap - used to allow
34 synthesis of individual characters which aren't in the
36 (spi_dec_reset_reserved): New; resets the changed keysym value
38 (keycode_for_keysym): We now try to deal with failed
39 XKeysymToKeycode requests by changing a keymap value
40 and returning a reserved keycode. We now take
41 a DEController pointer as first arg.
42 (spi_controller_register_with_devices): Call XkbGetMap with
43 the XkbKeySymsMask. Find the highest keycode in the current
44 keymap which doesn't have any grabs, and mark that one for
45 temporary re-mapping when out-of-range KeySyms are synthesized.
46 (dec_synth_keycode_press): Call XFlush after synthesizing the key
49 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
51 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
53 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
55 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
57 2004-03-24 Bill Haneman <billh@gnome.org>
60 (AccessibleTable_addRowSelection),
61 (AccessibleTable_addColumnSelection),
62 (AccessibleTable_removeRowSelection),
63 (AccessibleTable_removeColumnSelection):
64 Add declarations for spi wrappers which were
65 inadvertantly omitted. Fixes bug #133413.
68 Revved to 1.5.0 (unstable series for GNOME 2.7).
70 2004-03-24 Bill Haneman <billh@gnome.org>
72 * atk-bridge/bridge.c:
73 Bracketed some debug output in
74 conditionals, to avoid printing it in normal use.
78 Don't cast 'object' to ATK_OBJECT when constructing
79 an AtkAction interface for a hyperlink.
80 See discussion in bug #120659.
82 * test/key-listener-test.c:
83 (report_all_key_event): Send output to stderr,
84 not stdout, for consistency with the rest of the test callbacks.
87 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
88 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
89 Incremented to 1.4.1 (but didn't dist yet - I'm going to
90 try incrementing the revision AFTER doing a dist, at least
93 2004-03-22 Bill Haneman <billh@gnome.org>
95 * configure.in: Revved to 1.4.0, libtool 9.14.9
97 2004-03-17 Laszlo Peter <laca@sun.com>
99 * libspi-1.0-uninstalled.pc.in: add idldir
101 * cspi-1.0-uninstalled.pc.in: add idldir
103 2004-03-16 Gareth Owen <gowen72@yahoo.com>
105 * configure.in: Added "en_GB" to ALL_LINGUAS
107 2004-03-15 Bill Haneman <billh@gnome.org>
109 * configure.in: Revved to 1.3.16,
112 2004-03-15 Laszlo Peter <laca@sun.com>
114 * libspi-1.0-uninstalled.pc.in: new file
116 * cspi-1.0-uninstalled.pc.in: new file
118 * configure.in: add the new pc files to AC_OUTPUT
120 * Makefile.am: add the new pc files to EXTRA_DIST
122 2004-03-12 Bill Haneman <billh@gnome.org>
124 * atk-bridge/bridge.c:
125 (spi_atk_bridge_key_listener):
126 Make sure to return consumed=FALSE if snoop
127 event is not dispatched to listener.
130 2004-03-01 Bill Haneman <billh@gnome.org>
132 * configure.in: Revved to 1.3.15,
135 2004-03-07 Danilo Segan <dsegan@gmx.net>
137 * configure.in: Added "sr@ije" to ALL_LINGUAS.
139 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
141 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
143 2004-03-01 Bill Haneman <billh@gnome.org>
145 * configure.in: Revved to 1.3.14.
148 (SPI_exit): Removed "bye-bye" exit message.
149 Moved "leak" report to happen before the
150 iteration over the leaked refs list.
151 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
153 2004-02-24 Bill Haneman <billh@gnome.org>
155 * configure.in: Revved to 1.3.13.
157 * docs/reference/cspi/Makefile.am:
158 Correct typo that was breaking the docs build.
160 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
162 * autogen.sh: Require version 1.7 of automake.
164 * configure.in: call GTK_DOC_CHECK([1.0])
166 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
168 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
170 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
172 * test/Makefile.am: Remove use of CFLAGS.
174 This fixes bug #132987.
176 2004-02-11 Bill Haneman <billh@gnome.org>
178 * reverted most of Tomasz' patch below, since it was breaking
179 builds (see bug #134058).
181 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
183 * docs/reference/cspi/at-spi-cspi.types: added empty file for
184 correct pass "make dist" (empty .. because seems no sach types in
185 header files with gtk-doc markups).
186 * docs/reference/cspi/Makefile.am, configure.in:
187 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
188 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
189 * Makefile.am: added:
190 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
191 for force correct pass generate documentation on "make distcheck".
192 * libspi/Makefile.am: fixes for automake >= 1.6.
193 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
194 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
197 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
199 * docs/reference/cspi/Makefile.am (install-data-local): Install
200 index.sgml since the doc autobuilder on widget.gnome.org looks for
203 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
205 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
208 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
210 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
212 2004-01-27 Brian Cameron <brian.cameron@sun.com>
214 * test/simple-at.c: Fixed null string problems that cause core
215 dumping problems on Solaris.
217 2004-01-12 Bill Haneman <billh@gnome.org>
219 * configure.in: Incremented version to 1.3.11.
221 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
223 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
224 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
227 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
229 * configure.in: Added "fa" to ALL_LINGUAS.
231 2003-12-20 Arafat Medini <lumina@silverpen.de>
233 * configure.in: Added "ar" to ALL_LINGUAS
235 2003-12-16 Bill Haneman <billh@gnome.org>
237 * registryd/registry-main.c:
239 Set the reg_env DISPLAY variable before registering the
240 activated registry service. Fixes bug #129479.
242 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
244 * configure.in: Added "id" in ALL_LINGUAS
245 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
247 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
249 * registryd/deviceeventcontroller.c (global_filter_fn):
250 When an event is consumed discard any XEvents were added to
251 the queue while dealing with the the event. This can happen if
252 processing of the event takes a long time. Call XUngrabKeyboard
253 if an event was discarded. This fixes bug $124837.
254 Only call wait_for_release_event for a KeyPress.
255 Use local variable display instead of spi_get_display().
256 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
259 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
261 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
262 Allow for mask to contain values other than NumLock mask.
265 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
267 * registryd/devieceventcontroller.c:
268 (wait_for_release_event): Change first parameter from GdkEvent to
270 (global_filter_fn); Correct call to wait_for_release_event.
274 2003-12-08 Bill Haneman <billh@gnome.org>
278 * registryd/ucs2keysym.c: New file.
280 * registryd/deviceeventcontroller.c:
281 (dec_keysym_for_unichar): Remove old partial implementation and
282 replace with call to ucs2keysym(), which is much more complete.
283 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
288 2003-12-05 Bill Haneman <billh@gnome.org>
290 * configure.in: Version 1.3.9.
292 * docs/reference/cspi/tmpl/spi_registry.sgml:
293 Added reference to libspi/keymasks.h to the
294 description of Registry queries: AccessibleKeyMaskType.
297 2003-12-04 Bill Haneman <billh@gnome.org>
301 * idl/Accessibility_Application.idl:
302 (Accessibility::LOCALE_TYPE): New enum, corresponds to
303 setlocale's LC_TYPEs.
304 (Accessibility::Application::getLocale): New method.
305 Allows clients to query the locale, by type, of an app.
308 * cspi/spi_application.c:
309 (AccessibleApplication_getLocale): New method, wraps IDL above.
311 * libspi/application.c:
312 (spi_application_class_init): Init epv entry for getLocale.
313 (impl_accessibility_application_get_locale): Impl for above.
315 * test/test-simple.c:
316 (test_application): Added assertion for getLocale, i.e.
317 that the string from AccessibleApplication_getLocale (app, type)
318 is the same as that from setlocale (type, NULL);
320 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
322 *registryd/deviceeventcontroller.c: Add an idle handler which polls
323 the keyboard on a timeout intil the key state goes from pressed to
324 released. Fixes bug #111429.
326 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
328 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
329 root object so that it is present when a context menu in an
330 out-of-process applet is popped up.
331 (spi_atk_bridge_do_registration): Create acceessible application root
332 object only if it does not exist.
334 This fixes bug #125834.
336 2003-12-01 Bill Haneman <billh@gnome.org>
338 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
341 Added enum for AccessibleStreamableContentSeekType.
342 (AccessibleStreamableContent_freeContentTypeList): New.
344 * cspi/spi_streamablecontent.c:
345 (accessible_bonobo_stream_client_seek): New private method.
346 (AccessibleStreamableContent_seek): Implemented this method,
347 using Bonobo_Stream_seek.
348 (AccessibleStreamableContent_freeContentTypeList): New method
349 for freeing the return value from
350 AccessibleStreamableContent_getContentTypes.
351 (stream_cache_item_free): Replaces stream_release; stop leaks.
352 (stream_release): removed.
353 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
354 free the memory properly.
356 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
360 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
362 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
364 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
366 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
368 2003-12-01 Bill Haneman <billh@gnome.org>
370 Fix for bug/rfe #127463.
372 * idl/Accessibility_Accessible.idl:
373 (getLocalizedRoleName): New.
374 (unimplemented4): Removed (replaced by above).
376 * libspi/accessible.c:
377 (impl_accessibility_accessible_get_local_role_name): New.
378 (spi_accessible_class_init): Add getLocalizedRoleName entry to
382 (Accessible_getLocalizedRoleName): New.
384 * cspi/spi_accessible.c:
385 (Accessible_getLocalizedRoleName): New.
387 2003-12-01 Bill Haneman <billh@gnome.org>
390 * idl/Accessibility_Text.idl:
391 (getDefaultAttributes): New.
392 (unimplemented4): Removed (replaced by above method).
395 (impl_getDefaultAttributes): New method.
396 (spi_text_class_init):
397 initialize the get_default_attributes slot in the epv.
400 (AccessibleText_getDefaultAttributes): New prototype.
403 (AccessibleText_getDefaultAttributes): New method.
405 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
407 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
408 write beyond the end of the table. Fixes bug #120473.
410 2003-09-30 Christian Rose <menthos@menthos.com>
412 * configure.in: Added "eu" to ALL_LINGUAS.
414 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
416 * configure.in: ALL_LINGUAS: Added no.
418 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
420 * configure.in: Added lt to ALL_LINGUAS.
422 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
424 * atk-bridge/bridge.c:
425 (atk_bridge_init): Register event listeners always even for
426 out-of-process applet.
427 (spi_atk_bridge_toplevel_added): Remove call to
428 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
429 (spi_atk_bridge_toplevelk_removed): Remove call to
430 spi_atk_deregister_event_listenersa as the listeners are now always
432 (spi_atk_bridge_register_application): Remove call to
433 spi_atk_register_event_listeners as it is not done in atk_bridge_init
435 This fixes bug #120991.
437 * libspi/table.c (impl_getColumnDescription): Correct typo,
438 pointed out by Bolian.Yin@sun.com.
440 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
442 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
444 2003-09-08 Bill Haneman <billh@gnome.org>
446 * configure.in: Revved to 1.3.7.
448 This is the GNOME 2.4.0 release of at-spi.
450 * docs/reference/cspi/Makefile.am:
451 Removed spurious inclusion of 'index.sgml' in the
452 html directory; this was breaking make distcheck and
453 also some other build environments.
455 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
457 * registryd/registry.[ch}:
458 Add queue_handler_id and focus_object to SpiRegistry data structure.
459 (registry_flush_event_queue): If event being discarded is
460 "state-change:focused" store object as focus_object.
461 (registry_start_queue): Remove queue handler and focus object
463 (registry_discard_event): New function which discards a focus event
464 if we had stored focus object in the registry.
465 (registry_queue_event): Add new check that is_queueing is set as this
466 function is reentrant.
467 (registry_filer_event): Add call to registry_discard_event.
469 This resolves issues raised in bug #108664.
471 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
473 * configure.in: Added "bn" to ALL_LINGUAS.
475 2003-09-04 Bill Haneman <billh@gnome.org>
477 * cspi/spi_event.c: Documentation improvements for
478 (SPI_registerAccessibleKeylistener).
480 * docs/reference/tmpl/spi_registry.sgml:
481 Documentation improvements for SpiAccessibleKeylistenerCB.
483 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
485 * configure.in: Added "ro" to ALL_LINGUAS.
488 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
490 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
491 not decremented to zero. Fixes bug #120725.
493 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
495 * configure.in: Added "ja" to ALL_LINGUAS.
497 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
499 * configure.in: Added "is" to ALL_LINGUAS.
501 2003-08-22 Christian Rose <menthos@menthos.com>
503 * configure.in: Added "nl" to ALL_LINGUAS.
505 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
507 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
508 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
510 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
512 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
513 type for unspecified exception.
514 * cspi_streamablecontect): Add include of string.h for memcpy.
515 (stream_release): Correct call to bonobo_object_release_unref
516 (stream_cache_item_free): Correct call to bonobo_object_release_unref
517 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
518 argument of _cspi_expection_throw.
519 * libspi/hyperlink.c: Add include of libspi/action.h:
520 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
521 * libspi/streamablecontent.c: add include of libspi/component.h.
522 * regisrtyd/deviceeventcontroller.c:
523 (spi_dec_translate_mask): Removed unused variable priv.
524 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
525 * registryd/registry.c:
526 (registry_filter_event): Remove unused variable queue_is-empty.
527 (impl_registry_notify_event): Use correct modifier in fprintf call.
529 This fixes compiler warnings reported in bug #120220.
531 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
533 * registryd/registryd.c: Remove this file.
535 2003-08-17 Sanlig Badral <badral@openmn.org>
537 * configure.in: Added mn to ALL_LINGUAS.
539 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
541 * configure.in: Added et to ALL_LINGUAS.
543 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
545 * test/event-listener-test.c: Change active-descendant to
546 active-descendant-changed.
548 2003-08-10 Sami Pesonen <sampeson@iki.fi>
550 * configure.in: Added "fi" in ALL_LINGUAS.
552 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
554 * configure.in: Added "hi" in ALL_LINGUAS.
556 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
558 * configure.in: Revved to 1.3.6.
562 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
564 * registryd/deviceeventcontroller.c
565 (spi_device_event_controller_object_finalize): Fix typo in previous
568 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
570 * registryd/deviceeventcontroller.c
571 (spi_device_event_controller_object_finalize): Fix build on
572 systems without XEvIE.
574 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
576 * acconfig.h, configure.in, registryd/Makefile.am,
577 registryd/devicecontoller.[ch]: Add XEViE support.
579 2003-08-06 Wang Jian <lark@linux.net.cn>
581 * configure.in: Added "zh_CN" to ALL_LINGUAS.
583 2003-08-06 Metin Amiroff<metin@karegen.com>
585 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
587 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
589 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
590 MODIFIER_ALT in correct place.
592 This fixes part of bug #118114.
594 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
596 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
598 2003-07-28 Changwoo Ryu <cwryu@debian.org>
600 * configure.in: Added "ko" to ALL_LINGUAS.
602 2003-07-28 Ole Laursen <olau@hardworking.dk>
604 * configure.in: Added "da" to the commented out ALL_LINGUAS.
606 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
608 * configure.in: Added "sq" to ALL_LINGUAS.
610 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
612 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
614 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
616 * configure.in: updated ALL_LINGUAS list
618 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
620 * configure.in: Added Belarusian to ALL_LINGUAS.
622 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
624 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
626 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
627 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
629 This fixes bug #116949.
631 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
633 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
634 Correct CSPI to SPI in function documentation.
636 This fixes bug #118054.
638 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
640 * configure.in: Added Russian to ALL_LINGUAS.
642 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
644 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
646 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
648 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
650 2003-07-10 Joel Brich <joel.brich@laposte.net>
652 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
654 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
656 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
658 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
660 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
661 resources allocated for AccessibleEvent. See cspi_event().
663 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
664 static variable streams to NULL.
666 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
667 Update so that AcessibleEvent_ref will work.
669 This fixes bug #116624.
671 2003-07-06 Jordi Mallach <jordi@sindominio.net>
673 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
675 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
677 * configure.in: Added "fr" (French) to ALL_LINGUAS.
679 2003-07-02 Christian Neumair <chris@gnome-de.org>
681 * configure.in: Added "de" (German) to ALL_LINGUAS.
683 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
685 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
687 2003-07-01 Miloslav Trmac <mitr@volny.cz>
689 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
691 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
693 * configure.in: Added "pl" to ALL_LINGUAS.
695 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
697 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
699 2003-06-30 Bill Haneman <bill.haneman@sun.com>
702 (get_action_from_servant):
703 Removed assertion that action is implemented on an AtkObject.
705 * libspi/hyperlink.c:
707 Aggregate AccessibleAction interface on the hyperlink object if
708 the object implements AtkAction. (This convention is used in
711 2003-06-30 Bill Haneman <bill.haneman@sun.com>
713 * configure.in: Revved to 1.3.5.
715 * registryd/Accessibility_Registry.server.in.in:
716 Marked up appropriate strings for translation.
718 * atk-bridge/bridge.c: Marked a couple of
719 user-visible warnings for translation. Questionable
720 whether they are really useful, but possibly so.
723 2003-06-28 Christian Rose <menthos@menthos.com>
725 * configure.in: Added "sv" to ALL_LINGUAS.
727 2003-06-26 Bill Haneman <bill.haneman@sun.com>
729 * registryd/registry.c:
730 (spi_registry_object_finalize): Unref the deviceeventcontroller.
731 (registry_defer_on_event): Defer focus: events, this is an
732 improvement to the patch for bug #108664.
734 * TODO: Update with 2.4/"Dev Complete" items.
736 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
738 * atk-bridge/bridge.c:
739 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
740 looks up signals once.
741 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
742 if doing registration.
743 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
744 when doing registration.
746 This fixes bug #115014.
748 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
750 * atk-bridge/bridge.c:
751 (atk_bridge_init): Add signal handler for children-changed:remove on
752 root when in a BonoboComponent.
753 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
754 for first toplevel only other incrememt variable toplevels.
755 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
756 application and remove listeners.
757 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
759 (spi_atk_deregister_event_listeners): New function which removes
761 (reinit_register_vars): New fuction which reinitializes variables.
763 This fixes bug #111578.
765 2003-06-13 Bill Haneman <bill.haneman@sun.com>
767 * configure.in: version 1.3.4.
769 * cspi/spi_accessible.c:
770 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
773 2003-06-13 Michael Meeks <michael@ximian.com>
775 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
777 * cspi/spi_main.c (cspi_peek_ev): impl.
779 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
781 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
783 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
785 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
786 SPI_ROLE_AUTOCOMPLETE
788 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
790 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
791 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
793 2003-06-11 Bill Haneman <bill.haneman@sun.com>
795 * libspi/streamablecontent.h:
796 * libspi/streamablecontent.c:
797 New files, provide implementation/wrappers for
798 Accessibility_StreamableContent.
800 * cspi/spi_streamablecontent.c:
801 Connected the C wrappers to the libspi C bindings.
802 (AccessibleStreamableContent_close): New method.
805 (AccessibleStreamableContent_close): New method, needed
806 since we have an "open, [seek], read, close" model in cspi.
808 2003-06-11 Bill Haneman <bill.haneman@sun.com>
810 Fix for #108664; Padraig's revision of my original patch.
812 * registryd/registry.h:
813 Added event queue list, is_queuing, and exit_notify_timeout
814 to the registry struct.
816 * registryd/registry.c:
817 (registry_init): Initialize new struct from registry.h.
818 (impl_registry_notify_event):
819 Filter events before notifying, in case some need to be
821 (registry_filter_event): New,
822 we defer certain incoming events (for instance
823 window:deactivate) because we may wish to hide
824 or reject them based on pending events. This is
825 mostly a workaround for bug #108664.
826 (registry_queue_event, registry_start_queue): New.
827 (registry_defer_on_event): Test event to see if it
829 (registry_reset_on_event): Returns TRUE if the
830 event should cause a queue reset.
831 (registry_discard_on_event): Returns TRUE if the event
832 should cause the previous queue contents to be discarded.
833 (registry_timeout_flush_queue): Flushes the pending event
834 queue if no reset/discard-triggering events have come in
835 within the timeout period.
836 (registry_emit_event): New.
837 (registry_clone_notify_context): New, used when queueing the
838 event notify contexts.
840 2003-06-10 Bill Haneman <bill.haneman@sun.com>
842 * configure.in: Version revved to 1.3.2, lt 0.9.2
843 Incremented ATK required version to 1.3.4.
845 * cspi/spi_registry.c:
846 (SPI_generateKeyEvent):
847 We now pass the keystring along if it's non-null.
849 * registryd/deviceeventcontroller.c:
850 (keysym_mod_mask): New method, returns modifier mask
851 required to generate a keysym from a given keycode.
852 (dec_synth_keysym): New method.
853 (dec_synth_keystring): New method.
854 (dec_get_modifier_state): New method.
855 (dec_lock_modifiers): New
856 (dec_unlock_modifiers): New.
857 (dec_keysym_for_unichar): New, rather brute-force
858 conversion from UCS-4 to X KeySyms. Only works for
859 Latin at the moment, with partial implementations for
860 Greek, Hebrew, and (incomplete) Katakana.
861 (impl_generate_keyboard_event): Now implement
862 "KEYSTRING" synthesis and implement "KEYSYM"
864 (keycode_from_keysym): Improved, passes a returned
865 modmask value now if the corresponding param is non-NULL.
867 Fixes bugs #92143 and #109776.
870 * test/keysynth-test.c:
871 New test program for key synthesis, to confirm fixes for
875 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
877 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
879 * cspi/spi_accessible.c (cspi_init_relation_type_table):
880 Add line for RELATION_POPUP_FOR
882 * docs/reference/cspi/tmpl/spi_relation.sgml:
883 Add relation SPI_RELATION_POPUP_FOR
885 * docs/reference/cspi/tmpl/spi_stateset.sgml:
886 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
888 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
890 * libspi/relation.c (spi_init_relation_type_table):
891 Add line for RELATION_POPUP_FOR
893 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
895 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
896 there are still windows which have not been deleted and emit
897 window:deactivate, if necessary and window:destroy events.
898 This fixes bug #114370. The change on June 5th was not correct.
900 2003-06-09 Bill Haneman <bill.haneman@sun.com>
902 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
905 (SPI_dupString): Allow dup-ing of a string such that it's safe to
907 New methods for client exception handling and interception.
908 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
909 (SPI_exceptionHandlerPop): You guessed it...
910 (SPI_getSourceType): Return the type of object which offended.
911 (SPI_getExceptionCode): Return an enum code telling, possibly,
912 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
913 (SPIAccessibleException_getSource): get the source object for
914 exceptions that come from Accessibles, if SPIExceptionSourceType is
915 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
916 (SPIException_getDescription): New, returns a string description of
917 the problem. [Not yet a stable ABI, strings are not frozen]
919 * cspi/spi-private.h:
920 Added implementation details of opaque SPIException
924 Implementations of above. Also
925 (_cspi_exception_throw): new private method that
926 dispatches exceptions to handlers, called from cspi-bonobo.c
928 * cspi/bonobo/cspi-bonobo.c:
929 (cspi_check_ev): call _cspi_exception_throw.
930 Don't print a warning message if the exception has been
931 handled by _cspi_exception_throw.
933 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
935 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
936 there are still windows which have not been deleted and emit
937 window:deactivate, if necessary and window:destroy events.
938 This fixes bug #114370.
940 2003-06-03 Bill Haneman <bill.haneman@sun.com>
943 (cspi_accessible_is_a): Make non-fatal
944 if the object reference is dead.
946 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
948 * cspi/spi_main.c: #include <stdio.h>
949 * test/simple-at.c: ditto
950 * test/event-listener-test.c: ditto
951 * test/screen-review-test.c: ditto
953 2003-05-30 Michael Meeks <michael@ximian.com>
955 * test/test-simple.c (main): use CORBA_ORB_perform_work
956 instead of an unnecessary linc_ call.
958 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
960 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
961 Add SPI_STATE_INDETERMINATE.
963 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
966 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
968 * libspi/stateset.c (init_state_type_tables): Add support for
971 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
973 * configure: Update versions of atk and gail required.
974 This fixes bug #113268.
976 2003-05-02 Bill Haneman <bill.haneman@sun.com>
978 * configure.in: Revved micro version to 1.3.1 (because of build fix).
980 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
982 * libspi/Makefile.am:
983 Ensure headers are generated before being used by c sources.
985 2003-05-01 Bill Haneman <bill.haneman@sun.com>
988 Simplified lt versioning rules.
989 Incremented version to 1.3.0, to indicate that we're on the
992 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
994 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
995 Add MKDB_OPTIONS=--outtput-format=xml
997 * docs/reference/cspi/at-spi-cspi-docs.sgml
998 docs/reference/idl/at-spi-idl-docs.sgml:
999 Convert to Docbook XML.
1001 This fixes bug #111793.
1003 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1005 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1006 AcccessibleKeyEventType, AccessibleKeyMaskType.
1008 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1010 * cspi/state-types.h: Add documentation for AccessibleState.
1012 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1013 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1014 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1015 AccessibleComponentLayer.
1017 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1020 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1022 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1023 Accessible. Add description of AccessibleEvent,
1024 AccessibleEventListenerCB.
1026 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1029 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1030 documentation. Add description of AccessibleKeystrokeListenerCB,
1031 AccessibleKeyEventMask, AccessibleModifierMaskType,
1032 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1033 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1035 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1038 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1041 This fixes bug #104730.
1043 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1045 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1046 Set is_text field of Accessibility_DeviceEvent data structure.
1048 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1049 is-text field of AccessibleDeviceEvent data structure.
1051 This addresses part of bug #108666.
1053 * registryd/devcieeventcontroller.c: Unset debug option.
1055 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1057 * cspi/accessible.c:
1058 (cpi_initial_relation_type_table): New function which initializes
1059 mapping between Accessibility_RelationType and AccessibleRelationType.
1060 (cspi_relation_type_from_spi_relation_type): New function which
1061 translates an Accessibility_RelationType into an AccessibleRelationType.
1062 (AccessibleRelation_getRelationType): Use
1063 cpi_relation_type_get_spi_relation_type to return correct value.
1064 (spi_state_to_corba): Return correct type for default case.
1066 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1067 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1069 * cspi/cspi-bonobo-listener.c:
1070 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1073 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1074 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1075 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1076 libspi/image.c, libspi/listener.c, libspi/selection.c,
1077 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1078 registryd/desktop.c, registryd/registry.c:
1079 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1081 * libspi/eventlistener.c
1082 Remove semicolon after BONOBO_TYPE_FUNC.
1084 * libspi/relation.c:
1085 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1086 (spi_init_relation_type_table): Initialize using correct type.
1088 * registryd/desktop.c:
1089 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1090 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1091 of Accessibility_KeyEventType.
1093 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1096 * tests/simple-at.c, tests/screen-review-test.c:
1097 Add include for <strings.h>.
1099 * tests.stress-test.c:
1100 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1102 These changes fix compiler warnings when using FORTE compiler on
1103 Solaris; fixes bug #107479.
1106 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1109 * configure.in: revved to 1.1.10
1111 * libspi/keymasks.h:
1112 (SPI_KEYMASK_NUMLOCK): Added.
1114 * registryd/deviceeventcontroller.c:
1115 (spi_key_event_matches_listener): AND with a smaller
1116 bitmask (as we should).
1117 (spi_dec_translate_mask):
1118 New method, sets the virtual NumLock modifier bit
1119 if numlock is on. Eventually it can handle other virtual
1120 modifier bits if needed, or other marshalling from
1121 at-spi modifier masks to platform (X) masks.
1122 (spi_dec_key_listener_new):
1123 Call spi_dec_translate_mask to set up virtual mod bits
1124 in the 'mask' field when creating a new listener struct.
1125 (spi_dec_emit_modifier_event):
1126 Set the virtual (i.e. NumLock) bits before emitting event.
1127 (spi_controller_register_with_devices):
1128 Query for the NumLock modifier 'physical' bit if Xkb is
1129 present, for use in above methods.
1133 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1135 * registryd/deviceeventcontroller.c:
1136 (spi_keystroke_from_x_key_event):
1137 Instead of checking to see if the keysym is
1138 printable, check the string from XLookupString
1139 if available, get the first unicode character from it,
1140 and call g_unichar_isprint to determine whether the
1141 is_text flag should be TRUE or FALSE.
1145 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1147 * atk-bridge/bridge.c: Add support for extended events
1148 * cspi/spi_event.c: Add documentation and implementation for
1150 * tests/event-listener-test.c: Add tests for extended events.
1152 This fixes bugs #100424 and #100426.
1154 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1156 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1157 of LT_CURRENT. This fixes bug #89350.
1159 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1161 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1162 number of signal parameter values before accessing them. This fixes
1165 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1167 * configure.in: Fixed duplicate inclusion of -lspi.
1168 * branched for gnome-2-2/HEAD.
1169 [created tag "gnome-2-2"]
1171 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1173 * configure.in: 1.1.9 release.
1176 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1178 [needed by GOK, to fix bugs 107985 and 107988]
1179 * registryd/deviceeventcontroller.c:
1180 (spi_dec_clear_unlatch_pending):
1181 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1182 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1183 (spi_dec_init_mouse_listener):Emit warning if mouse button
1185 (spi_device_event_controller_forward_mouse_event):
1186 Removed unnecessary parens from a conditional.
1187 (global_filter_fn):Added TODO comment.
1188 (impl_generate_keyboard_event):
1189 Cancel a pending relatch if a 'delatching' key was
1192 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1194 * atk-bridge/bridge.c:
1195 Change atk_signal_child_changed to atk_signal_children_changed.
1196 Reorganize code in spi_atk_bridge_signal_listener().
1198 * test/event-listener-test.c:
1199 Add children_changed_listener and report_children_changed_event()
1200 to test AccessibleChildEvent_getChildAccessible.
1202 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1204 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1205 g_strdup to CORBA_String_dup (bug #105291)
1207 * test/event-listener-test.c (report_text_event): Add call to
1210 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1212 * registryd/deviceeventcontroller.c:
1213 (spi_keystroke_from_x_key_event):
1214 Fix string and keysym return codes to match modifier state.
1217 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1219 * registryd/deviceeventcontroller.c:
1220 (spi_keystroke_from_x_key_event):
1221 Fix segv due to improper use of isprint(c). [bug #107254]
1223 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1226 (get_accessible_text_boundary_type):
1227 Move default return value to (new) default case in switch.
1228 (get_accessible_text_clip_type):
1229 Move default return value to (new) default case in switch.
1231 * libspi/application.c:
1232 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1233 Remove unused methods.
1234 (impl_accessibility_application_register_object_event_listener):
1235 Remove unused methods.
1238 Added #include of <math.h>.
1240 * registryd/deviceeventcontroller.c:
1241 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1242 we don't currently use this method.
1243 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1245 (impl_generate_key_event):
1246 Remove unused variables.
1247 (impl_generate_mouse_event):
1248 Initialize button to zero, just in case we get an invalid
1249 input. Added support for mouse buttons 4 and 5.
1250 (spi_device_event_controller_new):
1251 Removed unused variable declaration for 'private'.
1253 Added #include of <gdk/gdk.h>
1255 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1257 * configure.in: Update to work when X is not installed in expected
1258 location. Fixes bug #105836.
1260 * atk-bridge/bridge.c
1261 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1263 (spi_atk_register_event_listener): Add signal listener for
1265 (spi_atk_bridge_signal_listener): Event event when link-selected
1266 signal is emitted. (bug #104622)
1268 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1269 on returned string. (bug #105291)
1271 * test/event-listener-test.c: Add test for link-selected.
1273 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1275 * atk-bridge/Makefile.am: Correct typo in previous commit.
1277 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1279 * atk-bridge/Makefile.am: Allow for build directory to be different
1280 from source directory
1282 * registryd/Makefile.am: Allow for build directory to be different
1283 from source directory
1287 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1290 Fixed dependencies for libcspi so that libspi gets pulled in
1291 properly. Fixes 104741.
1295 Clean up inline docs a little.
1297 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1299 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1300 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1301 the AtkObject within an SpiDesktop.
1302 This addresses bug #101524.
1304 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1305 Remove call to gdk_init().
1307 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1308 so that Display is set when SpiDesktop is created.
1310 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1312 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1313 This fixes bug #102830.
1315 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1317 * test/test-simple.c: Update to take account of fact that GailButton
1318 now implements AtkText.
1319 (create_text_window): Set name on AtkObject for GtkEntry.
1320 (validate_accessible): Check accessible name before calling test_text().
1322 * libspi/Makefile.am: Fix problem with building outside of source
1323 directory. Bug #98120.
1325 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1326 typo in documentation comments. Bug #94275.
1328 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1330 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1332 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1335 Add includes to avoid compiler warnings on Solaris.
1336 (impl_getRangeExtents): Bug fix.
1338 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1340 Fix for 100944, [API addition approved by Gman and murrayc].
1347 * idl/Accessibility_Text.idl:
1348 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1349 (Text::getRangeExtents): New method for efficient
1350 bounds query of a text range.
1351 (Text::getBoundedRanges): New method for efficient
1352 clipping of text to bounding boxes.
1353 (unImplemented7, unImplemented8):
1354 Removed these padding methods to preserve bincompat.
1357 (impl_getRangeExtents): implementation of new IDL.
1358 (impl_getBoundedRanges): implementation of new IDL.
1359 (SpiTextRect): Internal use struct.
1360 (_spi_text_rect_union): internal method, calculates union of two
1361 SpiTextRect bounding rects.
1362 (_spi_text_range_seq_from_gslist): internal method, allows us
1363 to build our sequence efficiently as a gslist then convert it
1365 (_spi_bounds_contain): internal method, determines whether
1366 a text character is "in" or "out" of a clip rect according to
1367 values of TEXT_CLIP_TYPE.
1368 (spi_text_class_init): Initialize the new methods in the epv.
1371 (AccessibleTextClipType): New enum used by screen review api.
1372 (AccessibleTextRange): New struct used by screen review api.
1373 (AccessibleText_getRangeExtents):
1374 cspi binding for Accessibility_Text_getRangeExtents.
1375 (AccessibleText_getBoundedRanges):
1376 cspi binding for Accessibility_Text_getBoundedRanges.
1377 (AccessibleTextRange_freeRanges): convenience method.
1380 (AccessibleText_getRangeExtents):
1381 cspi binding for Accessibility_Text_getRangeExtents.
1382 (AccessibleText_getBoundedRanges):
1383 cspi binding for Accessibility_Text_getBoundedRanges.
1384 (AccessibleTextRange_freeRanges): convenience method.
1385 (get_accessible_text_clip_type): internal conversion method.
1386 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1388 * registryd/deviceeventcontroller.c:
1389 (spi_dec_mouse_check):
1390 Improved behavior for mouse:abs events
1391 [same granularity as mouse:rel events, and no
1392 events when mouse is idle].
1394 2002-12-16 Michael Meeks <michael@ximian.com>
1396 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1398 * libspi/stateset.c (state_spi_to_atk): split out
1399 ( fix several remote array bounds nasties )
1400 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1401 (impl_remove): make safe from array bounds issues.
1402 (spi_atk_state_from_spi_state): impl.
1404 * libspi/stateset.h (spi_state_set_cache_is_empty):
1405 add a set of wrapper defines to get layering right.
1407 * cspi/spi_accessible.c: update state set stuff to
1410 2002-12-14 Michael Meeks <michael@ximian.com>
1412 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1413 to avoid 2 roundtrips to the registry per key event
1414 (spi_atk_bridge_key_listener): upd.
1415 (deregister_application): release the dec.
1417 * registryd/registry.c (notify_listeners_cb):
1418 bin lots of re-enterant complexity - we no longer
1419 do a round-trip bonobo ref here, ensure that a single
1420 listener's exception failure won't poison all other
1422 (impl_registry_notify_event): bin obvious memory leak.
1424 2002-12-13 Michael Meeks <michael@ximian.com>
1426 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1427 init the ev so the error is meaningful.
1428 (spi_atk_bridge_key_listener): ditto.
1430 * cspi/spi_main.c (cspi_ev): init the ev so we start
1431 with a clean slate, otherwise the first exception
1432 kills us completely.
1434 * cspi/spi_text.c (get_accessible_text_boundary_type):
1435 add a fallthrough for no warnings.
1437 * cspi/spi_registry.c: prune unused warnings.
1439 * cspi/spi_main.c (cspi_object_take): fix
1440 mind-blowing brokenness ( by watching the compile
1443 * cspi/spi_accessible.c (Accessible_getStateSet):
1444 re-impl. to use an AtkStateSet.
1445 (spi_state_type_from_accessible_state),
1446 (init_state_table): bin these.
1448 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1450 (atk_state_set_from_accessibility_state_set): here.
1452 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1453 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1454 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1455 (AccessibleStateSet_add, AccessibleStateSet_remove),
1456 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1457 (AccessibleStateSet_isEmpty): re-write to use a local
1460 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1462 * configure.in: Revved to 1.1.7 (new keymask vals).
1464 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1466 * libspi/keymasks.h:
1467 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1469 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1472 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1473 to compare two CORBA_TypeCodes.
1474 (cspi_internal_event_add): Silence warning from FORTE compiler.
1476 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1477 avoid implicit declaration of functions.
1479 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1481 * atk-bridge/bridge.c:
1482 (spi_atk_bridge_init_event_type_consts): Store signal id for
1483 active-descendant-changed signal.
1484 (spi_atk_register_event_listeners): Add signal listener for
1485 active-descendant-changed signal,
1486 (spi_atk_bridge_signal_listener): Move code in function
1487 spi_atk-signal_emit_event() into this function.
1488 Add support for active-descendant-changed
1489 Update support for child-changed signal.
1490 (spi_bridge_window_event_listener): Silence warning.
1492 * libspi/spi_private.[ch]:
1493 (spi_init_any_object): Change second parameter from CORBA_Object to
1495 Omit call to CORBA_Object_duplicate().
1496 Set CORBA_any's _value to CORBA_Object*.
1498 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1504 (AccessibleEvent_ref, AccessibleEvent_unref):
1505 New methods, for persisting an event outside the emission context.
1506 Must be used if the new accessor methods are to be called
1507 outside of the event listener's callback.
1509 * cspi/bonobo/cspi-bonobo.c:
1510 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1511 as second parameter instead of NULL, so we can call
1512 cspi_check_ev afterwards.
1515 (cspi_object_take): New internal method,
1516 converts a CORBA_Object reference to a hard ref on
1517 an Accessible if possible, returning NULL if the object
1518 reference is invalid or an Accessible * otherwise.
1521 (AccessibleEvent_ref):
1522 Increment the event's internal private refcount, and
1523 add the event's internal struct to an internal cache
1524 if it's not already there.
1525 (AccessibleEvent_unref):
1526 Decrement the event's refcount and remove it from
1527 the cspi event cache if refcount==0.
1528 (cspi_event_compare): New private method.
1529 Compares two event structs via their ids. Used
1531 (cspi_internal_event_lookup): New private method.
1532 (cspi_internal_event_check): New private method,
1533 a 0-order sanity check for events to make sure their
1534 private data is intact.
1535 (cspi_internal_event_add, cspi_internal_event_remove):
1536 New private methods for managiing the event cache.
1538 * cspi/bonobo/cspi-bonobo-listener.c:
1540 Initialize the new private data elements (id, magic, ref_count).
1542 * atk-bridge/bridge.c:
1543 (spi_atk_bridge_signal_listener):
1544 Fixed bug #100530, passing wrong params to emission func.
1546 * registryd/deviceeventcontroller.c:
1547 (spi_dec_button_update_and_emit):
1548 Fixed type in mask bit operations; fix for #99799.
1550 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1552 Removed some of the more dangerous workarounds from
1553 previous commit; they are only needed by GOK, which
1554 in reality should be using another method to accomplish
1555 the goals. So on reconsideration some of the workarounds
1556 need to be reverted:
1558 * registryd/deviceeventcontroller.c:
1559 (spi_keycodes_contain, spi_dec_init_keycode_list):
1560 Removed these methods, used only by a nasty hack to try
1561 and detect whether a key synthesis should be allowed
1562 to reset the XKB latch state or not. This code was only
1563 required to work around an interaction between GOK,
1564 button events, and XKB.
1565 (impl_generate_key_event):
1566 Removed hack at end of key generation that tried to
1567 "do the right thing" if XKB latch keys were generated
1568 in the midst of button press/release pairs.
1571 Added a check for HAVE_XINPUT. Not normally used yet.
1573 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1575 Workarounds and fixes for mouse event/XKB interaction.
1577 * registryd/deviceeventcontroller.c:
1578 (spi_keycodes_contain, spi_dec_init_keycode_list):
1579 New internal methods.
1580 (spi_dec_set_unlatch_pending):
1581 Split the method that tells XKB to expect an
1582 unlatch (and revert it) out of the rest of the
1583 event handling code. This method is called by the
1584 two mouse event handlers (the poll and the filter).
1585 (spi_dec_update_and_emit, spi_dec_mouse_check):
1586 New methods split from spi_dec_poll_mouse_moved.
1587 The second one is now called from inside the filterFn
1588 when an XKB delatch event is received, to determine
1589 whether to revert the delatch or not.
1590 (spi_poll_mouse_moved): Refactor; also we can now
1591 properly handle the case where multiple button states
1592 have changed between polling cycles and we didn't get
1593 notified due to another client's grab.
1595 Synchronize the server while handling an XKB notification.
1596 Ugly, but apparently necessary to avoid nasty races.
1597 Check the mouse state on receipt of an XKB latch change,
1598 to decide whether to revert the latch or not. (Latches are
1599 reverted if there is an immediately preceding mouse button
1600 event that a client has consumed, in which case we don't want
1601 the user to see the side-effect of the event).
1602 (spi_device_event_controller_forward_mouse_event):
1603 Check for modifier events and fire before resetting mouse_mask_state,
1604 prevents losing modifier events.
1606 (impl_generate_keyboard_event):
1607 If we've just generated a keyboard event for a non-shift key,
1608 we don't want to revert the pending XKB latch.
1609 Otherwise, check the modifier state (via a call to
1610 spi_dev_mouse_check) and set the relatch mask to
1611 that state before returning.
1613 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1616 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1619 * atk-bridge/bridge.c:
1620 (spi_atk_register_event_listeners):
1621 Don't re-register for ATK events if the registry has died
1622 and the app needs to re-register; the ATK listeners are in
1623 process and doing so will cause duplicate emission.
1625 * registryd/deviceeventcontroller.c:
1626 (spi_poll_mouse_moved):
1627 Reformat the source, detect and emit multiple button-change
1628 events (i.e. if multiple buttons have changed between poll
1630 Add code to detect mouse-down events even when the pointer
1631 is grabbed; workaround for GOK bug 98420.
1632 (spi_controller_register_with_devices):
1633 Call XTestGrabControl with 'impervious' flag set to True,
1634 allows us to synthesize events and query the pointer even during
1635 an active grab by another client.
1636 (spi_device_event_controller_forward_mouse_event):
1637 Set the mouse_mask_state to the mouse_button_state from
1638 the intercepted event, to synchronize the grab listener with
1641 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1643 * cspi/spi_accessible.c:
1644 (AccessibleRole_getName):
1645 Added necessary strings for making this (deprecated)
1646 method work with the new role types.
1647 (init_role_table, role_table):
1648 Added definition of SPI_ROLE_APPLICATION.
1650 * libspi/spi-roletypes.h:
1651 Added SPI_ROLE_APPLICATION.
1653 * idl/Accessibility_Role.idl:
1654 Added ROLE_APPLICATION.
1656 * docs/reference/cspi/at-spi-cspi-decl.txt:
1657 Added SPI_ROLE_APPLICATION to docs.
1659 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1661 * cspi/spi_accessible.c
1662 (cspi_init_role_table): Do not write beyond end of role_table.
1663 (Accessible_getRole): Use correct type for value returned by
1664 Accessibility_Accessible_getRole().
1666 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1667 beyond end of role_table. (This fixes bug #98269)
1669 * libspi/application.c: Add include file spi-private.h for
1670 definition of spi_init_any_nil.
1672 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1676 * libspi/spi-private.h:
1677 Added DGB() macro, and extern int _dbg declaration.
1679 * registryd/registry.c:
1680 (definitions) storage for _dbg.
1681 (spi_registry_init):
1682 Get environment variable "AT_SPI_DEBUG".
1683 (spi_registry_set_debug):
1684 New method, to initialize _dbg value.
1685 (spi_listener_struct_new, spi_registry_object_finalize):
1686 (notify_listeners_cb):
1687 Changed fprintfs to use DBG and g_warning().
1689 * registryd/deviceeventcontroller.c:
1690 (_deregister_keygrab, spi_controller_register_device_listener):
1691 Changed debug/warning messages to use DBG macro.
1693 * libspi/listener.c:
1694 (impl_notify_event):
1695 Changed warning messages to use DBG macro and g_warning().
1697 * atk-bridge/bridge.c:
1698 (atk_bridge_init, spi_atk_bridge_get_registry):
1699 (spi_atk_bridge_exit_func):
1700 (spi_atk_bridge_property_event_listener):
1701 Changed status, warning, and error messages to use
1702 g_warning, g_message, and DBG macros.
1705 Read the state of the AT_SPI_DEBUG environment variable
1706 and set a local '_dbg' accordingly.
1708 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1710 FIXES for 98836, 98842, other bugs.
1713 Revved to 1.1.4, interface-age=4, binary-age=4.
1715 * registryd/deviceeventcontroller.c:
1717 Fixed crasher bug in last_mouse_pos initialization.
1719 * registryd/registry.c:
1720 (desktop_add_application, desktop_remove_application):
1721 Added (and then commented out) some support for
1722 object context marshalling. [TODO]
1724 * atk-bridge/bridge.c:
1725 (spi_atk_bridge_event_context_create):
1726 Commented out object context creation until it can
1727 be properly tested and debugged.
1729 * registryd/registry.c:
1730 (impl_registry_notify_event):
1731 Fixed crasher bug, we were calling
1732 spi_re_entrant_list_foreach () with an empty list.
1734 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1736 * idl/Accessibility_Action.idl:
1737 * idl/Accessibility_Component.idl:
1738 * idl/Accessibility_Desktop.idl:
1739 * idl/Accessibility_Event.idl:
1740 * idl/Accessibility_Hyperlink.idl:
1741 * idl/Accessibility_Image.idl:
1742 * idl/Accessibility_Relation.idl:
1743 * idl/Accessibility_Selection.idl:
1744 * idl/Accessibility_State.idl:
1745 * idl/Accessibility_Value.idl:
1746 Updated unimplemented slot count to minimum of
1747 four for all interfaces, for ABI freeze.
1749 * idl/Accessibility_EditableText.idl:
1750 * idl/Accessibility_Text.idl:
1751 Updated unimplemented slot count to six
1754 * idl/Accessibility_Registry.idl:
1755 Updated unimplemented slot count to six
1756 (also for DeviceEventController),
1759 * idl/Accessibility_Table.idl:
1760 Updated unimplemented slot count to eight,
1763 * idl/Accessibility_Event.idl:
1764 Added CORBA_any "any_data" member to Event struct.
1766 * idl/Accessibility_Event.idl:
1767 Added CORBA_any "any_data" member to Event struct.
1769 * atk-bridge/bridge.c:
1771 atk_signal_text_changed, atk_signal_child_changed,
1772 signal ids queried from gtype system.
1773 (AtkBridgeEventContextType): New enum.
1774 (AtkBridgeEventContextData): New struct.
1775 (AtkBridgeEventContext): New struct.
1776 (atk_bridge_init_event_type_consts):
1777 New method, initializes type contants for comparison
1778 prior to emit_eventv.
1779 (atk_bridge_event_context_init): New method,
1780 initializes a CORBA_any from an AtkBridgeEventContext.
1781 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1782 initialize the event.any_data struct.
1783 (spi_atk_bridge_event_context_create): New method,
1784 creates an AtkBridgeEventContext from signal/event info.
1785 (spi_atk_bridge_event_context_free): New method.
1786 (spi_atk_emit_eventv): Changed to take an
1787 AtkBridgeEventContext parameter. We now initialize
1788 the event.any_data member prior to notifying the
1789 Registry, via the AtkBridgeEventContext.
1790 (spi_atk_bridge_property_event_listener):
1791 (spi_atk_bridge_state_event_listener):
1792 Match emit_eventv signature.
1793 (spi_atk_bridge_object_event_listener):
1794 Match emit_eventv signature, and create an
1795 event context from the event details.
1796 Free the event context afterwards.
1797 (spi_atk_bridge_window_event_listener):
1798 Create an event context, pass it to the
1802 (AccessibleEvent_getContextString):
1803 (AccessibleEvent_getContextObject):
1804 New methods, allow query of AccessibleEvent objects
1805 for more context details (via the "any_data" member
1806 of the Event struct, above).
1809 Definitions for AccessibleEvent_getContextString
1810 and AccessibleEvent_getContextObject.
1812 * cspi/spi_listener.h:
1813 (InternalEvent): New struct.
1816 (AccessibleEvent_getContextString):
1817 (AccessibleEvent_getContextObject):
1818 Implementations of new methods, for obtaining
1819 additional context information from some event types.
1821 * cspi/spi_registry.c:
1822 (SPI_registerGlobalEventListener):
1823 Added mention of active-descendant-changed event in docs.
1825 * cspi/cspi-bonobo-listener.c:
1827 Marshal the any into the AccessibleEvent via
1830 * libspi/spi-private.h:
1831 #include <orbit/orbit.h>
1833 (spi_init_any_string):
1834 (spi_init_any_object):
1835 New convenience function declarations.
1839 (spi_init_any_string):
1840 (spi_init_any_object):
1841 New convenience function implementations.
1843 * registryd/deviceeventcontroller.c:
1844 (spi_poll_dec_mouse_moved):
1845 (spi_device_event_controller_forward_mous_event):
1846 Initialize any_data member of event.
1847 (spi_deregister_controller_device_listener):
1848 Fix incorrect param pass which was preventing deregistration.
1850 * registryd/registry.c:
1851 (desktop_add_application):
1852 (desktop_remove_application):
1853 Add object data to event's any_data before dispatch.
1855 Fix for error messages from GAIL.
1857 * test/event-listener-test.c:
1858 Test new ContextString and "any_data" API:
1859 (report_text_event): New method query and output context string.
1860 (main): register a new text listener with report_text_event
1863 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1865 Fixes for bugs 98127 and 97914.
1866 * cspi/spi-roletypes.h:
1867 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1869 * cspi/spi-statetypes.h:
1870 Added SPI_STATE_MANAGES_DESCENDANTS
1872 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1873 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1874 * cspi/spi_accessible.c:
1875 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1876 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1877 Accessibility_STATE_MANAGES_DESCENDANTS
1878 * libspi/accessible.c:
1879 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1880 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1881 As requested by Bill, I also cleaned up the alignment.
1882 * libspi/relation.c:
1883 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1884 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1885 * libspi/stateset.c:
1886 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1887 Accessibility_STATE_MANAGES_DESCENDANTS
1888 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1889 Document changes reflecting modifications to roles.
1890 * docs/reference/cspi/tmpl/spi_relation.sgml:
1891 Document changes reflecting modifications to relations.
1892 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1893 Document changes reflecting modifications to states.
1895 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1898 Revved to 1.1.3, interface-age=3, binary-age=3.
1899 Added REBUILD macro.
1902 Removed accessx-gui from the tests, since we have a nice
1903 keyboard accessibility capplet now :-)
1905 * test/keysynth-demo.c:
1906 (increment_scan): removed do-nothing default: case,
1909 * test/visual-bell.c:
1910 (main) : removed do-nothing default: case,
1913 * cspi/spi_action.c:
1914 (AccessibleAction_getKeyBinding_):
1915 Documented keybinding string format.
1919 (AccessibleText_getAttributes):
1920 Documented the text attribute string format.
1921 It's changed to use semicolon delimiters also,
1922 to prevent clashes with CSS attributes, but the old
1923 trick of looking for ", " strings will still work
1924 (as unreliably as ever). Fix for bug related to 97916.
1927 Include <cspi/bonobo/cspi-bonobo-listener.h>
1928 Fixes build warning.
1929 (SPI_freeAccessibleKeySet):
1930 (AccessibleKeystrokeListener_addCallback):
1931 (AccessibleKeystrokeListener_removeCallback):
1932 Modify to use AccessibleDeviceListener API internally,
1933 instead of AccessibleKeystrokeListener.
1935 * idl/Accessibility_Event.idl:
1936 Added two more empty slots to EventListener (for a total of four).
1938 * idl/Accessibility_Accessible.idl:
1939 Added four empty slots to Accessible interface.
1941 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1943 * idl/Accessibility_Registry.idl:
1944 (KeyEventType, EventType):
1945 Marked KeyEventType as deprecated; it duplicates
1946 functionality of EventType, which has been extended to
1947 include Mouse-button events.
1948 (KeyEventTypeSeq): defined in terms of EventType.
1949 (registerDeviceEventListener, deregisterDeviceEventListener):
1950 New methods, for managing listeners to device events,
1951 which potentially may consume them.
1954 Added definition for AccessibleDeviceListener.
1956 * cspi/spi-listener.h:
1957 (enum AccessibleDeviceEventType):
1958 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1959 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1960 for backwards compat.
1961 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1962 and typedef'd AccessibleKeystroke to it for back-compat.
1963 (AccessibleDeviceListenerCB):
1964 New function prototype typedef.
1967 (AccessibleDeviceEventMask): New typedef.
1968 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1969 (AccessibleKeyMaskType):
1970 Set equivalent to AccessibleModifierMaskType for back-compat.
1971 (SPI_createAccessibleKeystrokeListener):
1972 (AccessibleKeystrokeListener_unref):
1973 Deprecated in favor of equivalent (better-named) new API below..
1974 keystroke listeners are like all device listeners.
1975 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1976 New API names for old features :-).
1977 (AccessibleDeviceListener_addCallback):
1978 (AccessibleDeviceListener_removeCallback):
1979 (SPI_registerDeviceEventListener):
1980 (SPI_deregisterDeviceEventListener):
1984 (SPI_createAccessibleKeystrokeListener):
1985 Use new preferred API, cspi_device_listener_new() and
1986 cspi_device_listener_add_cb().
1987 (AccessibleKeystrokeListener_removeCallback):
1988 Use new preferred API, cspi_device_listener_remove_cb().
1989 (AccessibleKeystrokeListener_unref):
1990 Use new preferred API, cspi_device_listener_unref().
1991 (SPI_createAccessibleDeviceListener):
1992 (AccessibleDeviceListener_addCallback):
1993 (AccessibleDeviceListener_removeCallback):
1994 Implementation of new API.
1996 * cspi/spi_registry.c:
1997 (SPI_registerDeviceEventListener):
1998 (SPI_deregisterDeviceEventListener):
1999 Implementation of new API. Fixed memory leak and removed need to
2000 allocate EventTypeSeq (thanks Michael for catching this).
2001 Squashed a wayward CORBA_exception_free that shouldn't get called.
2003 * cspi/bonobo/cspi-bonobo-listener.c:
2005 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2006 (cspi_key_event): renamed to cspi_device_event().
2007 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2008 Extended to handle mouse button events as well as key events.
2009 (CSpiKeystrokeListener):
2010 Class superceded by CSpiDeviceListener.
2011 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2012 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2014 * cspi/bonobo/cspi-bonobo-listener.h:
2015 (CSpiKeystrokeListener):
2016 Class superceded by CSpiDeviceListener.
2017 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2018 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2020 * libspi/Makefile.am:
2021 Replaced keystrokelistener.h and keystrokelistener.c
2022 with devicelistener.h and devicelistener.c; keystrokelisener.h
2023 stub retained for back-compat.
2025 * libspi/keystrokelistener.c:
2029 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2031 * registryd/deviceeventcontroller.c:
2032 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2033 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2034 (DEControllerPrivateData): Added xkb settings data.
2035 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2036 button release events (which can't be captured via XGrabButton).
2037 Don't dispatch via the 'normal' event mechanism if the device event was
2039 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2040 Handle the typeseq data in its new location (see above).
2041 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2042 New methods, for "generic" device listeners.
2043 (spi_controller_register_device_listener):
2044 Now handle mouse event listeners as well as key listeners.
2045 (spi_controller_notify_mouselisteners):
2046 New internal method.
2047 (spi_device_event_controller_forward_mouse_event):
2048 Now we notify mouse device listeners as well as generating the
2049 non-consumable "mouse:" events.
2051 We must check and restore the XKB
2052 modifier map if we consume the event, since the act of triggering
2053 a mouse event will normally reset the XKB latch. This is required for
2055 (spi_controller_register_with_devices):
2056 Load the XKB settings when registering, and register for XKB
2057 state notify events.
2058 (spi_key_eventtype_seq_contains_event):
2059 Renamed spi_eventtype_seq_contains_event, since it's used
2060 internally for all device event types now.
2061 (spi_key_event_matches_listener):
2062 Uses spi_eventtype_seq_contains_event now.
2063 (spi_device_event_controller_object_finalize):
2064 Free the private data and the XkbKeyboard struct.
2065 (impl_register_device_listener, impl_deregister_device_listener):
2066 Implementation of new IDL.
2067 (spi_deregister_controller_device_listener):
2068 New internal method.
2069 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2070 More efficient implementation, we don't have to create a new
2071 XkbControls structure every time we query.
2072 (spi_device_event_controller_class_init):
2073 Initialize the epv entries for the new IDL. Assign the
2074 "spi-dec-private" quark.
2075 (spi_device_event_controller_init):
2076 Initialize the private data.
2077 (spi_device_event_controller_forward_key_event):
2078 Removed a bogus CORBA_exception_free() call.
2080 * registryd/deviceeventcontroller.h:
2081 Replaced inclusion of keystrokelistener.h with
2084 * test/event-listener-test.c:
2085 (report_mouse_event):
2088 Added mouse-event device listener.
2090 * test/test-simple.c:
2091 (create_test_window):
2092 Fixed regression (we were instantiating a GtkRange,
2093 which is now an abstract class). Also fixed to match
2094 existing AtkRole names, this seems to have changed in ATK
2095 awhile ago; too late now I think, and the new
2096 mechanism is at least elegant and consistent with the
2097 glib enum "nick" APIs.
2099 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2101 * idl/Accessibility_Relation.idl:
2102 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2103 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2104 * idl/Accessibility_Role.idl:
2105 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2106 * idl/Accessibility_State.idl:
2107 add STATE_MANAGES_DESCENDANTS
2108 * test/event-listener-test.c:
2109 Added a listener for active-descendant events.
2111 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2113 * atk-bridge/bridge.c
2114 (atk_bridge_init): If application is Bonobo component wait until top
2115 level is added before registering
2116 (spi_atk_bridge_do_registration): New function which contains code,
2117 formerly in atk_bridge_init, to do application registration.
2118 (spi_atk_bridge_toplevel_added): Signal called when top level
2119 added to Bonobo component
2121 This fixes bug #83134.
2123 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2125 * registryd/deviceeventcontroller.c
2126 Fixed compilation error caused by calling gettimeofday()
2129 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2134 Added template for HAVE_XKB.
2137 Changes to check for XKB, and to set the HAVE_XKB #define if it
2140 * libspi/listener.c:
2141 ()impl_notify_event): Make failure to get event source name
2144 * registryd/deviceeventcontroller.c:
2145 (#include): include X11/XKBlib.h.
2146 (DEControllerPrivateData) : New struct.
2147 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2149 (dec_synth_keycode_press) (dec_synth_keycode_release):
2150 New methods; split the key synthesis code into these methods.
2151 They check XKB settings before determining the "time" values to
2152 pass to Xtest; this fixes bug #95828.
2153 (impl_generate_keyboard_event): Changed to use methods above,
2154 instead of callng Xtest directly.
2155 (spi_device_event_controller_init): Initialize new privae struct s
2157 (spi_device_event_controllr_object_finalize):
2158 Free the (new) private data.
2160 * registryd/deviceeventcontroller.h:
2161 Add new gpointer to end of struct data.
2163 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2166 Incremented revision to 1.1.2, SONAME is still '.so', library
2167 extensions are ".so.0.0.2".
2169 * registryd/deviceeventcontroller.c:
2170 FIXES FOR #93592 and #95940.
2171 (statics): renamed mouse_button_state to mouse_mask_state,
2172 added key_modifier_mask.
2173 (spi_dec_poll_mouse_moved):
2174 Added key modifier checks, and emit "keyboard:modifiers"
2175 events when the key modifiers currently in use change.
2176 Also generate "mouse:abs" events periodically, even if the mouse
2177 is stationary (should we?).
2178 Alternatively we could generate "mouse:abs" events for either all
2179 mouse movements, or every 'nth' mouse movement, or at the
2180 beginning and end of every "active" mouse period.
2182 * test/event-listener-test.c:
2183 (main): Added listener for "keyboard:modifiers" events.
2185 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2187 * libspi/keymasks.h:
2188 Added key mask #defines for mouse buttons; e.g.
2189 SPI_KEYMASK_BUTTON1, etc.
2192 Incremented dependency on ATK to version 1.1.0. (This dependency
2193 is probably premature but will soon be real enough).
2195 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2197 * libspi/hyperlink.[ch]
2198 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2199 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2202 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2207 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2209 * registryd/deviceeventcontroller.c
2210 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2211 events to be ignored.
2212 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2213 keyboard_mode so that XAllowEvents() can be called.
2217 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2219 * cspi/spi-accessible.c: Correct names of roles returned by
2220 AccessibleRole_getName(). Fixes bug #95055.
2222 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2224 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2227 * registryd/registry.c
2228 (desktop_remove_application: Write diagnostic message to stderr for
2231 (impl_accessibility_registry_deregister_global_event_listener):
2232 Correct size of lists array. This addresses bug #94555).
2234 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2236 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2239 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2241 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2244 * registryd/registry.c (impl_registry_notify_event): Remove
2245 unnecessary call to parser_event_type().
2247 * docs/reference/cspi/tmpl/spi_component.sgml:
2248 Add reference to SPI_LAYER_WINDOW.
2250 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2252 * registryd/registry.c
2253 (desktop_add_application): Remove leak.
2254 (desktop_remove_application): Remove leak.
2255 (parser_event_type): Remove leak.
2257 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2259 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2260 bogus call to CORBA_string_dup(). Also removed unnecessary
2261 g_string_dup/g_free calls.
2263 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2265 * registryd/deviceeventcontroller.c:
2266 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2268 * test/event-listener-test.c:
2269 main: commented out three redundant listeners, to reduce output
2270 noise. (They still are potentially useful for testing).
2273 2002-09-13 Michael Meeks <michael@ximian.com>
2275 * Update all the copyrights to include Ximian.
2277 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2279 * cspi/spi.h: add SPI_LAYER_WINDOW.
2281 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2282 add Accessibility_LAYER_WINDOW case.
2284 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2286 * libspi/component.c: (impl_accessibility_component_get_layer):
2287 add ATK_LAYER_WINDOW case.
2289 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2291 * configure.in: incremented micro version.
2293 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2295 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2298 Clarified and reworded our commit policy.
2301 Started an API "todo" addition list for 2.2.
2304 (impl_getSelection):
2305 Free char pointer from atk_text_get_selection, which was being leaked.
2307 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2310 Small revision to author acknowledgement.
2312 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2314 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2315 If signal has detail add it to the type of the event.
2318 2002-08-12 Michael Meeks <michael@ximian.com>
2320 * test/test-simple.c (global_listener_cb): bin bogosity.
2321 (test_keylisteners): disable, still doesn't work reliably,
2322 certainly not on my system anyway.
2324 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2325 don't leak a reference on the DEC. This round-trip
2326 fetching of the DEC per keystroke sucks, it should be
2329 * cspi/spi-private.h,
2330 * cspi/cspi-lowlevel.h,
2331 * cspi/bonobo/cspi-bonobo-listener.[ch],
2332 * cspi/bonobo/cspi-bonobo.c: get the copyright
2333 notices better - there is still a large amount of
2334 work in at-spi falsely attributed solely to Sun.
2336 * cspi/spi_main.c (cspi_object_ref): kill bogus
2337 hash lookup, just increment the ref.
2338 (SPI_freeString): make explicit the fact that we
2339 handle NULL strings just fine.
2340 (report_leaked_ref): obey coding standards.
2341 (cspi_object_hash, cspi_object_equal): kill retval.
2342 (cspi_object_release): only release if not on loan.
2343 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2344 (cspi_object_borrow, cspi_object_return): impl.
2346 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2347 use cspi_object_borrow / return.
2349 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2351 * cspi/bonobo/cspi-bonobo-listener.c:
2353 Don't call cspi_oject_new() because this is creating a new Accessible
2354 every single time that an event is fired. This causes ATs like at-poke
2355 to nolonger recognise the source of the event and thus ignore it.
2356 Re-use the object from the cache, ref it and then unref it after the
2357 listeners have been called.
2359 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2361 * test/event-listener-test.c:
2362 Added command-line options to disable mouse events (m) and
2365 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2367 * configure.in: Update required versions of ATK, GTK+ and GAIL
2369 * cspi-1.0.pc.in: Add dependency for X include files
2372 * cspi/bonobo/Makefile.am:
2373 Add $(X_CFLAGS) so that X include files
2374 are picked up even if not in standard place (bug #71686)
2376 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2378 * registryd/deviceeventcontroller.c: fix for 84261
2379 (spi_dec_mouse_moved):
2380 Added test of mouse button mask, so that we can detect mouse
2381 button release. Unfortunately we can't otherwise detect mouse
2382 button release events without consuming the mouse press event,
2383 because of the way XGrabButton works. This means that our mouse
2384 release events have a latency dependent on the polling period
2385 while the mouse button is down. At least in this case we only
2386 have to poll while the button is down, and not at other times.
2387 If the button masks don't match with what the last press event
2388 reported, we report the appropriate button release event.
2389 (spi_dec_ungrab_mouse):
2390 New method (not yet called).
2391 (spi_device_event_controller_forward_mouse_event):
2392 New method, sends mouse press event from GdkFilter.
2393 (spi_dec_init_mouse_listener):
2394 Added code to call XGrabButton, redirecting mouse button events to
2395 the root window and our Gdk event loop.
2397 Added code to filter mouse button events, and reordered.
2399 * test/event-listener-test.c:
2401 Added registration for mouse events of type "mouse:button".
2403 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2405 * registryd/deviceeventcontroller.c: partial fix for 84261
2406 (spi_dec_poll_mouse_idle):
2407 New method, a timeout which checks to see if the mouse
2409 (spi_dec_poll_mouse_moving):
2410 A timeout to be called when mouse motion is underway.
2411 (spi_dec_poll_mouse_moved):
2412 A method which fires an event if the mouse has moved, and reports
2413 whether or not it did so.
2414 (spi_dec_init_mouse_listener):
2415 A method which sets up the timeouts above.
2416 (spi_device_event_controller_new):
2417 Now calls spi_dec_init_mouse_listener.
2419 * registryd/registry.c:
2420 (spi_registry_init):
2421 Now we initialize the device event controller when the registry is
2422 initialized, instead of waiting until a client has requested a key
2423 event notification; this is because we need the event controller
2424 for mouse events, but the mouse event registration API is a
2425 "registry" call and doesn't explicitly call the
2426 deviceeventcontroller.
2427 We now report mouse motion events with a 100 ms idle latency and
2428 a 20 ms granularity when motion is in progress.
2430 * test/event-listener-test.c:
2432 We now register the "detail listener" for events of type
2433 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2434 delivered only for the first mouse event received, and thereafter
2435 "mouse:abs" events are delivered.)
2437 * cspi/spi_registry.c:
2438 DOCS: Documented the above mouse event typestrings.
2440 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2442 Happy Summer Solstice...
2444 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2445 (spi_controller_notify_keylisteners):
2446 Changes to remove a listener from the listener list, freeing its
2447 open keygrabs, if a notification to that listener fails. This
2448 means that although a dead listener can continue to hold a passive
2449 keygrab, a maximum of one dispatch to such a listener can fail
2450 before the listener is removed from the list, thus the keygrab
2451 will be released on the next occurrence.
2452 As part of this fix:
2453 (spi_notify_keylisteners):
2454 Renamed to spi_controller_notify_keylisteners, as the controller
2455 instance must now be passed as an argument.
2456 The copied 'notify' GList is now a list of DEControllerKeyListener
2457 objects, since we need more than just the CORBA reference if a
2458 notify fails and we need to deregister the listener.
2459 (impl_notify_listeners_sync):
2460 (impl_notify_listeners_async):
2461 (spi_device_event_controller_forward_key_event):
2462 Modify use of notify_keylisteners in accordance with above
2464 (spi_deregister_controller_key_listener):
2465 New method introduced by refactoring, from
2466 impl_deregister_keystroke_listener.
2467 (impl_deregister_keystroke_listener):
2468 Call spi_deregister_controller_key_listener.
2469 (spi_key_listener_clone):
2470 New method to copy a key listner without doing a 'ref' on the
2471 remote object instance; used to create a notifier list.
2472 (spi_key_listener_data_free):
2473 New method, frees data without unreffing the source.
2475 (spi_key_listener_clone_free): new method.
2476 (spi_key_listener_free):
2477 refactored to call spi_key_listener_data_free.
2479 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2481 * registryd/registry.c: [fix for bug 86048]
2482 (notify_listeners_cb):
2483 Clear CORBA system exceptions which occur when notifying
2484 listeners, before returning to the source of the original event,
2485 since the event source doesn't care if the relayed notify failed.
2486 In other words, don't complain to the atk-bridge if the registry
2487 could not notify all its listeners, that's no fault of the
2488 application and thus should not appear to be an error from the
2489 application's perspective.
2491 * cspi/spi_main.c: [fix for bug 85980]
2493 Replaced use of bonobo_object_dup_ref with call to the wrapper
2494 method, csou_dup_ref (); this silences a compiler warning and
2495 provided more portability.
2497 Ping the registry before return, and restart if necessary.
2499 * cspi/bonobo/cspi-bonobo.c:
2501 New internal method.
2503 Fixed this method to return an object reference, as it should have
2506 * cspi/cspi-lowlevel.h:
2507 Added internal definition for cspi_ping() and fixed
2508 return type of cspi_dup_ref().
2511 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2513 * atk-bridge/bridge.c: [fix for bug 85305]
2514 (spi_atk_bridge_register_application):
2515 New method where the initial application registry calls have been
2516 moved; it allows an application to re-register in response to
2517 certain error conditions (such as a registry restart, see below).
2519 Moved some initialization code to the method
2520 spi_atk_bridge_get_registry, below.
2521 (spi_atk_bridge_get_registry):
2522 New, private accessor function for the Accessibility_Registry
2523 instance. If the registry has not been started before, or has
2524 died (as detected by failure of a CORBA exception), it is
2525 restarted before return, and spi_atk_bridge_register_application
2526 is called again to register with the new bridge instance.
2527 (spi_atk_emit_eventv):
2528 Set registry_died on error; use spi_atk_bridge_get_registry () to
2529 access the registry.
2531 * registryd/registry.c:
2532 (impl_accessibility_registry_register_global_event_listener):
2533 Set listener's event_type_quark to etype.minor instead of
2534 etype.major (fix for bug 84856).
2536 * test/event-listener-test.c:
2537 (report_detail_event):
2538 Change the output string so that user/tester can tell that the
2539 'detail listener' was called instead of the 'generic listener'.
2541 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2543 Fixes for bugs 84900, 84908, 84897, 84898.
2548 Revved version to 1.1.0
2549 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2550 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2552 * idl/Accessibility_Registry.idl:
2553 (EventListener::notifyEvent):
2554 Removed 'oneway' directive after extensive consulation with
2555 ORBit2 team and others. This means also that unref() of the event
2556 source can and should be done synchronously after emission, rather
2557 than remotely in the client, after servicing the notify call on
2560 NOTE: This change speeds up listener performance considerably, but
2561 introduces new latency on the application side. We may want to
2562 add an event queue to the atk-bridge.
2564 * atk-bridge/bridge.c:
2565 (spi_atk_bridge_focus_tracker):
2566 Do a local unref() on the event source after emission.
2568 * registryd/registry.c:
2569 (desktop_remove_application):
2570 Do an unref() on the event source after emission.
2571 (desktop_add_application):
2572 Do an unref() on the event source after emission.
2573 (notify_listeners_cb):
2574 When relaying an event, don't automatically add the event source
2575 to the local object cache, just CORBA_dup it instead. Likewise,
2576 if this method reenters, release the ref rather than calling
2578 (impl_registry_notify_event):
2579 No longer call remote unref() on the event source after dispatch.
2581 * libspi/eventlistener.c:
2582 (impl_accessible_event_notify_event):
2583 Removed remote unref ()
2585 * cspi/bonobo/cspi-bonobo-listener.c:
2587 We now call cspi_object_new() instead of cspi_object_add() on
2588 receipt of an event; thus we only have an implicit object ref
2589 while the cspi_event method is being executed. If we need to keep
2590 a reference to the object, the listener must call ref() on the
2591 object. Thus also we don't need to call cspi_object_unref() after
2592 invoking the listener callbacks in this method.
2596 New internal API for creating a new cspi object, without adding it
2597 to the object cache.
2599 Now uses cspi_object_new() to create the cspi object instance.
2601 Now checks to see if the object is in the internal object cache,
2602 and adds it if necessary before incrementing its refcount (note
2603 that new objects are added with a refcount of 1).
2604 (report_leaked_ref):
2605 New method which gives some information on leaked object instances
2606 if leak detection is turned on.
2608 * test/event-listener-test.c:
2609 (timing_test_event):
2610 New method, used for testing event delivery timing for special
2611 events of type "object:test". It reports elapsed time and
2612 events/sec every 500 events.
2614 Added a new listener, 'test listener', to check timing of event
2615 receipt as noted above.
2617 Added some timing output here also, reports elapsed time every 100
2620 * test/stress-test.c:
2621 Emit events of type "object:test", for use with "event-listener-test".
2623 * test/test-simple.c:
2624 (global_listener_cb):
2625 Call Accessible_ref() on the event source before calling
2626 validate_accessible, since the validation process does pointer
2627 comparisons on the event source, meaning that the event source
2628 needs to be added to the local object cache first. Any use of
2629 such pointer comparisons between Accessible objects requires that
2630 the caller hold an explicit reference to those objects.
2631 We also must therefore call Accessible_unref() when leaving this method.
2633 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2635 * registryd/deviceeventcontroller.c:
2636 (spi_controller_update_key_grabs):
2637 Fix for #84735, subsequent keygrab listeners not informed of
2638 registration failure.
2641 (spi_base_construct):
2642 Add an assertion on construct, to make sure the GObject passed in
2643 is really a GObject.
2645 Explicitly initialize object->gobj pointer to NULL;
2647 * cspi/bonobo/cspi-bonobo-listener.c:
2648 (cspi_object_add_ref):
2649 New method, can specify whether to dup-ref a bonobo object passed
2650 in if it's newly added to the object cache.
2652 Now calls cspi_object_add_ref with second param of "FALSE". This
2653 prevents us from doing a pointless dup-ref followed by
2654 release-unref for all those cases where the object is already in
2655 our object cache (fix for #85205).
2657 * atk-bridge/bridge.c:
2658 (spi_atk_bridge_idle_init):
2659 Removed this method, we don't need to initialize in an idle
2662 Changed to call spi_atk_register_event_listeners directly, not via an
2663 idle handler. (fix for #81139)
2664 (gnome_accessibility_module_shutdown):
2665 Removed conditional around deregistration of listeners, since we
2666 don't use the idle handler and thus have always registered when
2668 (spi_init_keystroke_from_atk_key_event):
2669 Changed references to Accessibility_KEY_PRESSED to
2670 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2672 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2674 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2679 * test/stress-test.c:
2682 (may have been an incomplete commit yesterday?)
2684 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2687 Added target for new stress-test.
2689 * test/stress-test.c:
2690 New test, sends 1000 focus notifies in quick succession.
2692 * test/key-listener-test.c:
2693 Now we report whether a keylistener registration
2694 request succeeded or failed.
2696 * test/event-listener-test.c:
2697 Uncommented some listeners which are now implemented.
2700 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2702 * registryd/deviceeventcontroller.c:
2703 (spi_controller_update_key_grabs):
2704 Fix for #82509, lack of failure notification when
2705 ALL_WINDOWS keygrabs fail due to XGrabKey
2706 failure: we synchronize the server when
2707 registering a passive grab, to make sure we get the
2708 error message before the call returns.
2710 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2712 * test/test-simple.c:
2714 Removed #ifdef KEY_IMPL_WORKS guards.
2715 (test_keylisteners):
2716 Removed #ifdef KEY_IMPL_WORKS guards.
2717 Fixed bug which was causing a hang waiting for a
2718 "press" event (which was already overwritten by a "release"
2719 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2721 Added code to set globals 'key_press_received' and
2722 'key_release_received'.
2725 Added section "1.1 API Proposed Additions" which
2726 lists API additions desired for at-spi-1.1 (only one so far).
2727 Updated TODO list a little.
2729 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2731 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2734 * configure.in: Revved to 1.0.0.
2736 * idl/Accessibility_Registry.idl:
2737 (registerKeystrokeListener):
2738 Added boolean return value.
2740 * registryd/registry.c:
2741 (notify_listeners_cb): Minor fix to debug output.
2743 * registryd/Accessibility_Registry.server.in.in:
2744 Revved version number in OAFIID to 1.0.
2746 * registryd/registryd.c:
2748 Use new OAFIID version.
2750 * cspi/bonobo/cspi-bonobo.c:
2752 Use new OAFIID version.
2758 * atk-bridge/bridge.c:
2760 Use new OAFIID version.
2762 * registryd/deviceeventcontroller.c:
2763 (impl_register_keystroke_listener):
2764 Added CORBA_boolean return value.
2765 (spi_controller_register_device_listener):
2766 Added gboolean return value.
2767 (spi_controller_register_global_keygrabs):
2768 Added gboolean return value.
2769 (spi_key_set_contains_key):
2770 Added implementation for many more control keys,
2771 for instance F1-F12, arrow keys, End, Home, Page_Up,
2773 [TODO: some still not implemented].
2775 * text/screen-review-test.c:
2776 (text_chunk_pad_string):
2777 New function: it provides mapping between coordinate
2778 positions of text chunks and character positions in the
2779 screen-review-line output string.
2780 (text_chunk_to_string):
2781 New function, calls text_chunk_pad_string with various
2782 pad/delimiter characters. Pushbuttons are delimited with
2783 square brackets, Frames with vertical 'pipe' lines, and
2784 other text with double quotes.
2785 (text_chunk_list_to_string):
2786 Calls new function text_chunk_to_string.
2787 (toplevel_composite):
2788 New function to composite layers CANVAS through
2789 POPUP in each toplevel (other layers are composited
2790 across toplevels, i.e. BACKGROUND and OVERLAY).
2791 (review_buffer_composite):
2792 Revise to use new methods.
2798 2002-05-31 Laszlo Peter <laca@sun.com>
2800 * configure.in: add the Xtst libdir to the runpath on Solaris,
2801 since it's not in the default library search path.
2803 2002-05-29 jacob berkman <jacob@ximian.com>
2805 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2807 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2809 * test/screen-review-test.c:
2810 (text_chunk_pad_string):
2811 Added method, which pads the string according to the
2812 text bounds of the chunk. It also takes a 3-character
2813 string as a param which indicates the characters to be
2814 used for start, padding, and end delimitation of the chunk.
2815 (text_chunk_to_string):
2816 Changed to use text_chunk_pad_string.
2818 * configure.in: Fixed bug in AC_OUTPUT that was
2819 causing path substitution in Accessibility_Registry.server
2822 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2824 * text/screen-review-test.c:
2825 (guess_string_clip):
2826 New method which attempts a best-guess at clipping
2827 text from components (like Java labels) which don't
2828 actually implement AccessibleText. This inaccurate
2829 clip is based on the assumption that the label is
2830 justified left-and-right, and monospaced.
2831 (text_chunk_get_clipped_string):
2832 We now call guess_string_clip() for text-containing
2833 components that don't implement AccessibleText.
2835 * test/screen-review-test.c:
2836 (review_buffer_get_text_chunk):
2837 We now pull "name" from labels if they do not implement
2838 AccessibleText (i.e. for Java labels).
2839 (get_screen_review_line_at):
2840 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2843 Replaceded AC_OUTPUT target
2844 registryd/Accessibility_Registry.server with
2845 registryd/Accessibility_Registry.server.in.
2847 * registryd/Accessibility_Registry.server.in:
2848 Removed (this is now a Makefile target).
2850 * registryd/Accessibility_Registry.server.in.in:
2851 Added (source for target above). We now use $(libexecdir) as
2852 prefix for the executable at-spi-registryd.
2854 * registry/Makefile.am:
2855 Now install at-spi-registryd into $(libexecdir), and build .server
2856 file with path (see above).
2858 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2860 * test/screen-review-test.c:
2861 (text_chunk_get_clipped_string):
2862 We now check to see if words fall within clip bounds
2863 before resorting to character-by-character clip bounds testing.
2865 * TODO: Added a section for "2.2 Proposed API Additions".
2867 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2869 * test/screen-review-test.c:
2871 Added a screen review benchmarking and test program to test
2874 * cspi/spi_accessible.c:
2876 Made some of the debug strings passed to cspi_check_ev a
2877 little more specific.
2879 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2881 * test/screen-review-test.c: Fix crashes in debug statements
2883 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2885 * test/screen-review-test.c: Added this file.
2887 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2889 * atk-bridge/bridge.c: changed "object:state-change" to
2890 "object:state-changed" to match docs.
2892 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2894 * atk-bridge/bridge.c: Hooked up state-change event details.
2896 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2898 * registryd/registry.c:
2899 Fixed quarking bug in event string parsing; now events with
2900 detail parameters get matched correctly to listeners.
2903 * util/idl/Magnifier.idl: remove.
2905 * util/*.[ch]: Remove.
2906 Magnification utilities and IDL are now in module gnome-mag.
2908 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2910 * registryd/deviceeventcontroller.c:
2911 Fixed bug in grab key conversion which was causing keycode grabs
2912 to be converted to AnyKey grabs.
2915 updated NEWS file to reflect recent spin-off of gnome-mag.
2917 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2919 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2920 busted AccessibleStateSet_compare. Removed redundant casts.
2922 * cspi/spi-action.c: Removed redundant casts.
2924 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2926 * cspi/spi_component.c: Fixed typos and casting error.
2928 * cspi/spi_editabletext.c: Removed redundant casts.
2930 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2932 * cspi/spi_hypertext.c: Eliminated redundant casts.
2934 * cspi/spi_image.c: Eliminated redundant casts.
2936 * cspi/spi_registry.c: Eliminated redundant casts.
2937 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2938 * cspi/spi_selection.c: Removed redundant casts.
2939 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2940 handling. Screen geometry and text offsets were being returned as 0
2941 on error which is technically valid-- changed these to return -1.
2942 Added marshaller for text boundary types to fix bug with boundary
2943 types being passed incorrectly to atk.
2945 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2948 * cspi/spi_registry.c:
2949 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2950 which was uncovered by the recent key changes.
2952 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2954 * test/event-listener-test.c:
2956 Added new test, "event-listener-test";
2957 this code does two things; it benchmarks traversal time
2958 for the accessible hierarchy for the first running accessible
2959 app, and it connects listeners for all supported event types.
2960 It is thus useful as an example event listener and for
2961 diagnostics/debugging of event generation.
2963 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2966 Removed unnecessary dependency on libutil.
2969 Revved micro version: 0.13.1
2971 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2974 Removed util/Makefile from targets.
2977 Removed util subdir from SUBDIRS (temporarily,
2978 pending removal of magnifier-only code
2982 #ifdef-ed out magnifier dependencies, since
2983 magnifier IDL, headers, and binary now live in
2984 module gnome-mag and we don't want at-spi to depend
2985 on gnome-mag. A magnifier demo which can run alongside
2986 simple-at is forthcoming in the gnome-mag module.
2988 NOTE: Split magnifier binary, IDL, and magnification
2989 activation code from at-spi into module gnome-mag.
2991 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2993 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2994 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2996 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2999 Revved to version 0.13.0
3001 * idl/Accessibility_Registry.idl:
3002 Changed definition of KeySet from sequence of longs to sequence of
3003 KeyDefinitions, and added KeyDefinition struct.
3004 Required for fix to bug 80616.
3006 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3007 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3008 to use new definition (see above).
3010 * registryd/deviceeventcontroller.c: handle_keygrab(),
3011 spi_keyset_contains_key():
3012 Changed to make use of new struct; this allows matching based on
3013 string key-name, for instance "Tab". This also allows matching of
3014 composed characters, non-alphanumeric characters in a way that
3015 doesn't involve dependencies on X keysym codes directly, etc.
3017 * test/key-listener-test.c:
3018 Added test for Alt-Tab key using "string" specification of keyset,
3019 and modified one of the tests to use a keycode-based keyset.
3020 Thus this test both tests and demonstrates the creation and use of
3021 keysets of three forms: specified via keycode array,
3022 keysym array, and string array. (The string case only contains a
3023 single string, i.e. a string array of length 1).
3026 Turned on PRINT_TREE option by default. Also fixed a
3027 string-freeing bug in the PRINT_TREE code.
3028 Added a listener to window:minimize events.
3030 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3032 * atk-bridge/bridge.c:
3033 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3034 for window:activate and window:deactiveate
3035 (atk_bridge_property_event_listener atk_bridge_signal_listener
3036 atk_bridge_window_event_listener) Tidy debug code
3038 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3040 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3041 Fixed handling for NULL return value from ATK.
3043 * libspi/action.c libspi/component.c libspi/editabletext.
3044 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3045 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3046 Removed redundant casts.
3048 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3049 Fixed off by one bug.
3051 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3052 function not present in idl)
3054 2002-05-02 jacob berkman <jacob@ximian.com>
3056 * atk-bridge/Makefile.am: make atk-bridge a real module
3058 2002-04-26 Radek Doulik <rodo@ximian.com>
3060 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3061 atk_state_types table
3063 2002-04-22 jacob berkman <jacob@ximian.com>
3066 * libspi/Makefile.am: add deps on the built files to help
3067 automake, and don't version the ORBit typelib
3069 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3071 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3072 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3073 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3074 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3075 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3076 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3077 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3078 libspi/accessible.h libspi/accessible.h libspi/base.h
3079 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3080 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3081 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3082 libspi/spi-private.h libspi/statetset.h libspi/table.h
3083 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3084 util/mag_client.h util/mag_control.c util/mag_image.c
3085 util/mag_image.h util/magnifier.c util/magnifier.h:
3086 Add missing file headers; standardize existing ones
3088 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3090 * atk-bridge/bridge.c: Added window event support.
3092 2002-04-18 Michael Meeks <michael@ximian.com>
3094 * libspi/relation.c (impl_getNTargets): impl.
3095 (impl_getTarget): impl.
3097 * libspi/Makefile.am: fix stateset install.
3099 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3102 Started putting useful info in this file.
3104 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3106 * atk-bridge/bridge.c:
3107 Propagate state-changed notifications to ATs
3109 * cspi/spi_registry.c: update docs to reflect actual behavior of
3110 state-change events.
3112 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3115 Incremented version to 0.12.1
3117 * util/mag_client.h:
3118 Add missing declaration for magnifier_exit,
3119 used by mag_control.c - Forte compiler didn't like
3120 the implicit redeclaration of the function :-(
3123 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3126 Revved version to 0.12 due to API change (see below).
3128 * cspi/spi-roletypes.h:
3129 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3130 definition from the inline docs, and added docs
3131 for SPI_ROLE_LAST_DEFINED.
3134 * cspi/spi_streamablecontent.c:
3135 Added missing seek_type parameter to
3136 (so far unused) method,
3137 AccessibleStreamableContent_seek().
3138 [ RT approval JodyG. ]
3141 Fixed docs for SPI_createAccessibleKeystrokeListener.
3143 * cspi/spi_registry.c:
3144 Fixed docs for SPI_KEYSET_ALL_KEYS.
3146 * docs/reference/cspi/at-spi-cspi-sections.txt:
3147 Added a number of missing APIs to SECTIONS.
3149 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3151 * registryd/Makefile.am:
3153 * cspi/bonobo/Makefile.am:
3154 Add $(X_LIBS) to makefiles.
3156 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3159 Revved version to 0.11.
3161 * libspi/component.c:
3162 Added implementation for grabFocus.
3164 * idl/Accessibility_Component.idl
3165 (Accessibility_Component_grabFocus):
3166 Made this method return boolean to indicate success or failure, to
3167 be consistent with cspi and the corresponding ATK method.
3169 * idl/Accessibility_Selection.idl
3170 (Accessibility_Selection_selectAll) :
3171 Made these methods return boolean to indicate success or
3172 failure, to be consistent with cspi and the corresponding ATK methods.
3174 * idl/Accessibility_EditableText.idl
3175 (Accessibility_EditableText_setTextContents,
3176 Accessibility_EditableText_insertText,
3177 Accessibility_EditableText_cutText,
3178 Accessibility_EditableText_deleteText,
3179 Accessibility_EditableText_pasteText):
3180 Made these methods return boolean to indicate
3183 * cspi/spi_editabletext.c:
3184 Made these methods return booleans.
3186 * libspi/selection.c:
3187 * libspi/component.c:
3188 * libspi/editabletext.c:
3189 Connected the boolean returns from ATK
3190 to the server-side code referenced above.
3192 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3194 * idl/Accessibility_Table.idl: Added missing methods,
3195 Accessibility_Table_addRowSelection,
3196 Accessibility_Table_addColumnSelection,
3197 Accessibility_Table_removeRowSelection,
3198 Accessibility_Table_removeColumnSelection.
3201 Added C wrappers for above IDL:
3202 AccessibleTable_addRowSelection,
3203 AccessibleTable_addColumnSelection,
3204 AccessibleTable_removeRowSelection,
3205 AccessibleTable_removeColumnSelection.
3208 Added server-side implementation code for IDL above, connecting
3209 to pre-existing ATK api.
3211 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3213 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3215 * libspi/accessible.c: Added implementation fo
3216 Accessibility_Accessible_get_state.
3218 * libspi/libspi.h: Added stateset.h to the list of includes.
3220 * libspi/stateset.c: Fixed broken implementation.
3222 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3225 Added implementation code for Accessibility_Magnifier_exit ().
3227 * util/mag_control.c:
3228 Added test code for above method; you can
3229 now kill an existing magnifier via
3230 ./mag_control q, from the util directory.
3232 * test/key-listener-test.c:
3234 Added a new test, for our key listener API.
3236 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3238 * test/app.c, test/keysynth-demo.c:
3240 Replace use of snprintf with g_snprintf.
3241 (fix for bugzilla 78249)
3243 2002-03-27 Michael Meeks <michael@ximian.com>
3247 * util/Makefile.am (INCLUDES): fix.
3248 (DONT_DIST_SOURCE): don't distribute the
3251 * libspi/Makefile.am (dist-hook): ditto.
3253 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3255 * libspi/hypertext.c:
3256 Fix warnings when yelp is used with atk-bridge
3258 2002-03-21 Michael Meeks <michael@ximian.com>
3260 * libspi/application.c (spi_application_new):
3261 use spi_accessible_construct so we use the AtkObject
3264 2002-03-19 Michael Meeks <michael@ximian.com>
3266 * registryd/registry.c (desktop_remove_application),
3267 (desktop_add_application): clean coding style.
3269 * registryd/desktop.c (spi_desktop_remove_application),
3270 (spi_desktop_add_application): kill re-enterency hazards.
3271 (spi_desktop_dispose): remove bogus redundant cast
3272 obscuring bug; fix bug too.
3273 (spi_desktop_init): make the desktop object immortal.
3275 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3278 Added a #define-guarded tree-traversal step
3279 when enumerating the apps (diagnostic tool).
3281 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3283 * idl/Accessibility_Role.idl:
3284 Added ROLE_DRAWING_AREA which seemed to be missing from the
3287 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3289 * cspi/spi-roletypes.h cspi/spi_accessible.c
3290 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3293 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3294 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3295 AT when applications are added and removed from the desktop. This
3296 reverts the previous broken implementation using the backing
3297 AtkObject for the SpiDesktop.
3299 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3301 * registryd/desktop.c: emit the "children-changed::add" and
3302 "children-changed::remove" signals on the backing ATK object for
3303 the desktop so AT can tell when applications are started and shut
3306 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3308 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3310 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3312 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3314 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3316 * cspi/state-types.h: synched with IDL and ATK
3318 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3320 * libspi/accessible.c
3321 (impl_accessibility_accessible_get_child_at_index):
3322 Change return value for g_return_if_fail ()
3323 to CORBA_OBJECT_NIL instead of "0" (!)
3325 * registryd/Makefile.am:
3326 * registryd/Accessibility_Register.server.in:
3327 Changed name of executable, "registryd",
3328 to something more informative:
3331 2002-03-13 Michael Meeks <michael@ximian.com>
3333 * atk-bridge/bridge.c (atk_bridge_init): don't register
3334 if we're in a bonobo-component, rather than a bonobo app.
3336 2002-03-13 Michael Meeks <michael@ximian.com>
3338 * atk-bridge/bridge.c (gtk_module_init): split
3339 out body to (atk_bridge_init): here, since otherwise
3340 we get symbol conflicts and oddness when invoked
3341 from (gnome_accessibility_module_init): here (upd.)
3343 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3346 New file. Explicitly allow "build sheriff" putbacks provided
3347 they are tested on Solaris.
3349 * docs/reference/cspi/Makefile.am:
3350 Added '-' to the "cp" command for index.sgml.
3351 ("patch by thomasvs, soon coming to a GUADEC near you")
3354 Incremented version number (0.9.0) for new release.
3355 Changed macro that checks for popt, to better detect
3356 obsolete versions of popt.
3359 Added X_LIBS to AC_SUBST, for applications
3360 that call Xlib API directly.
3363 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3366 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3369 Fix regression caused by hard-coding major
3370 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3373 * test/test-simple.c (test_editable_text),
3374 (test_test): revert previous change (error was
3375 a regression in gail which is now fixed).
3377 2002-03-04 Michael Meeks <michael@ximian.com>
3379 * test/test-simple.c (test_editable_text),
3380 (test_text): pass G_MAXINT instead of '-1' for
3381 whole string - is this a good thing !?
3383 * cspi/spi_accessible.c
3384 (Accessible_getRelationSet): fix crasher bug
3385 overwriting the end of the array.
3387 * test/test-simple.c (validate_accessible): free,
3388 not g_free returned relation set.
3390 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3392 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3393 implemented stateset support
3395 * idl/Accessibility_State.idl: Made necessary changes to
3396 the IDL to support state sets.
3398 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3400 * registryd/deviceeventcontroller.c:
3401 Added implementation for generateMouseEvent.
3403 * cspi/spi_registry.c:
3404 Connected new implementation for generateMouseEvent
3407 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3410 Incremented revision (but no change in public API
3411 outside of 'utils', which are not installed public yet.)
3413 * libspi/component.c:
3414 Changed to use atk_component API for layers and
3415 mdi_zorder, instead of deprecated atk_object API.
3417 Magnification Utility Enhancements:
3420 Added implementation of createZoomRegion, clearAllZoomRegions,
3421 resizeZoomRegion. Added new commandline argument
3422 "--no-initial-region". Note that clearAllZoomRegions doesn't
3423 unmap the old '0' region as it should (yet), and the other
3424 methods only work when creating/resizing a single region,
3425 which is "region 0".
3426 (Code for multiple region support will be added later.)
3429 Now we raise the magnifier window each time it's refreshed;
3430 this will help keep it on top.
3432 * util/mag_client.h:
3433 Added simple wrappers for above, used by mag_control.
3434 For general use, it's recommended to use the bonobo magnifier
3435 control API directly instead of using these wrappers.
3438 Moved ZoomRegionData from magnifier.c to this file.
3440 * util/mag_control.c:
3441 Added some code to exercise new IDL implementations.
3443 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3445 * libspi/text.c: Provide implementation for getAttributes.
3447 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3450 Incremented revision.
3452 * test/test-simple.c:
3453 Replaced use of deprecated g_main_iteration with
3454 g_main_context_iteration.
3456 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3459 Incremented revision for desktop alpha 2.
3461 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3463 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3466 * test/simple-at.c: include netinet/in.h.
3468 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3470 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3471 use NULL, not CORBA_OBJECT_NIL.
3473 * libspi/accessible.c:
3474 (impl_accessibility_accessible_get_relation_set):
3475 allocate the sequence correctly.
3477 * libspi/remoteobject.h: kill spi_remote_object_new.
3479 * test/test-simple.c: (validate_accessible): add code
3480 to test relation sets, now all we need is to figure
3481 out how to excercise this code path :/
3483 2002-01-18 Michael Meeks <michael@ximian.com>
3485 * test/test-simple.c
3486 (key_listener_cb): consume the key.
3487 (test_keylisteners): update.
3488 (main): wait for any pending unrefs on events.
3490 * registryd/deviceeventcontroller.c
3491 (spi_controller_update_key_grabs): only re-issue the
3492 grab on a key release.
3493 (spi_device_event_controller_forward_key_event):
3494 refresh the keygrabs before we notify the listeners,
3495 to reduce the X ungrab / re-grab race.
3496 (spi_controller_register_with_devices): remove
3497 XSelectInput - we do that with the gdk_window_ call.
3498 (_spi_controller_device_error_handler): return a value.
3499 s/GDK_DISPLAY/spi_get_display/
3501 2002-01-17 Michael Meeks <michael@ximian.com>
3503 * registryd/deviceeventcontroller.c
3504 (_deregister_keygrab): don't blow out the later
3507 * test/test-simple.c (test_keylisteners): do a
3508 more intelligent validation.
3510 2002-01-14 Michael Meeks <michael@ximian.com>
3512 * atk-bridge/bridge.c
3513 (gnome_accessibility_module_init),
3514 (gnome_accessibility_module_shutdown): impl.
3515 (gtk_module_init): protect vs. double inits.
3516 (add_signal_listener): impl.
3517 (spi_atk_bridge_state_event_listener): kill
3518 (deregister_application): split out of
3519 (spi_atk_bridge_exit_func): here.
3521 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3524 Added caret tracking when using magnifier, and
3525 now use text bounds for focus tracking of text elements, rather than
3526 the component bounds - this is helpful for short text fields in long
3527 table cells, at high magnification.
3529 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3531 * registryd/deviceeventcontroller.c:
3532 Regression fix for keylistener de-registration; global keygrabs
3533 were not being released when deregisterKeystrokeListener was
3534 called in cspi, since
3535 Accessibility_DeviceEventController_deregisterKeystrokeListener
3536 was called with a zero-length keyset. That is because the cspi
3537 method, SPI_deregisterKeystrokeListener, does not take a keyset
3538 parameter but instead should remove all the key grabs held be a
3540 The code in impl_deregister_keystroke_listener was changed to copy
3541 the keylist from the listener instance previously registered with
3542 the DeviceEventController before releasing the grabs.
3544 * registryd/registry.c:
3545 * registryd/deviceeventcontroller.c:
3546 * libspi/spi-private.h:
3548 Changed spelling of "re-enterant" to "re-entrant" globally.
3550 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3552 * test/test-simple.c:
3553 Changed key listeners test - the test was slightly mis-using the
3554 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3555 It now uses '=' as the key event listened to and generated,
3556 relying on a keysym match rather than assuming that keycode 33
3557 is always equal to keysym '!'.
3559 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3562 Changed simple-at to use a specific keyset, rather than
3563 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3564 manager, desktop, etc.
3566 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3568 * registryd/deviceeventcontroller.c:
3569 Replaced standard X error handler with a special handler that
3570 is non-fatal for failed keygrabs. This works around
3571 problems with keygrab clashes sometimes observed on
3573 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3574 mouse handling code as yet).
3576 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3579 Incremented revision for desktop alpha release.
3582 Fixed a couple of the more glaring errors (still not
3585 2002-01-11 Michael Meeks <michael@ximian.com>
3587 * registryd/deviceeventcontroller.c
3588 (spi_device_event_controller_forward_key_event): kill
3589 XUngrabKey / XKeyGrab race.
3590 (spi_controller_grab_keyboard): rename to
3591 (spi_controller_update_key_grabs): this, and deal
3592 with incremental adding / removing grabs more
3594 (_register_keygrab): ensure we're not pending a remove.
3595 (spi_grab_mask_free): impl.
3596 (spi_controller_register_global_keygrabs): split out
3598 (handle_keygrab): impl.
3599 (_deregister_keygrab): impl.
3600 (spi_controller_deregister_global_keygrabs): impl.
3601 (spi_controller_update_key_grabs): re-issue the grab if
3602 we just recieved a notification.
3604 * test/test-simple.c (key_listener_cb): remove debug.
3606 * registryd/deviceeventcontroller.c
3607 (spi_controller_register_device_listener): after
3608 registering a global keygrab, actualy register it !
3609 don't wait for a timeout; doh !
3611 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3612 to make it more readable / manipulable.
3613 s/grabmask/grab_mask/ s/refcount/ref_count/
3614 s/keyval/key_val/ s/modmask/mod_mask
3616 2002-01-08 Michael Meeks <michael@ximian.com>
3618 * registryd/deviceeventcontroller.c
3619 (spi_controller_register_with_devices): use gdk calls to
3621 (global_filter_fn): implement the filter.
3622 (spi_device_event_controller_check_key_event): rename to
3623 (spi_device_event_controller_forward_key_event): this & upd.
3624 (spi_get_display): replace with GDK_DISPLAY.
3626 * registryd/deviceeventcontroller.c
3627 (spi_controller_deregister_device_listener): unroll into
3628 (impl_deregister_keystroke_listener): here to simplify.
3629 (spi_controller_register_global_keygrabs): split cut and
3630 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3631 (spi_controller_deregister_device_listener): remove.
3632 (impl_register_mouse_listener): remove, no mouse listener
3633 support in at-spi-1.0
3635 * registryd/registry.c
3636 (_device_event_controller_hook): kill.
3637 (spi_registry_init): upd.
3639 * registryd/deviceeventcontroller.c
3640 (spi_device_event_controller_class_init): upd.
3641 (spi_check_key_event): merge into.
3642 (spi_device_event_controller_check_key_event):
3643 here and kill strange static ev init, don't leak
3644 the x_event - nor dynamicaly allocate it.
3646 * registryd/registry-main.c (main): re-direct
3647 timeout to remove strange vtable mess.
3649 * registryd/deviceeventcontroller.c
3650 (remove_listener_cb): impl.
3651 (spi_controller_deregister_device_listener):
3652 fix re-enterancy hazard.
3654 2002-01-07 Michael Meeks <michael@ximian.com>
3656 * registryd/deviceeventcontroller.c
3657 (spi_device_event_controller_new): upd.
3658 (impl_notify_listeners_sync): upd. debug.
3659 (spi_notify_keylisteners): fix re-enterancy hazards,
3660 prettify, remove O(n*n) iteration.
3661 (spi_controller_grab_keyboard): fix iteration.
3662 (spi_check_key_event): re-format to suit coding style.
3663 Clean all the warnings - we're warning free.
3665 * registryd/deviceeventcontroller.h:
3666 * registryd/registry.h: make mutualy referential with
3667 typesafe forward references instead of (!) void pointer
3670 2002-01-11 Michael Meeks <michael@ximian.com>
3672 * cspi/spi_accessible.c (role_names): add a role name
3673 to sync this array with the enum; and make the regression
3676 2002-01-10 Michael Meeks <michael@ximian.com>
3678 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3679 allow expansion of enumeration & kill warning.
3681 * test/test-simple.c (key_listener_cb): impl.
3682 (test_keylisteners): impl.
3684 * cspi/spi-listener.h: make listener signatures const
3685 on the provided (const) events.
3687 * test/keysynth-demo.c: upd. to const events.
3689 * test/simple-at.c: ditto.
3691 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3694 Rev the version to 0.5 (the previous tarball was named 0.4,
3695 even though the micro number was 3), so we need to rev upwards
3696 again for beta2/"desktop-alpha"
3699 Checked in a demo script, which requires editing before use!
3700 Proceed with caution.
3703 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3705 * cspi/spi_accessible.c:
3706 Add a couple of missing enum initializations, and fix some enum
3709 * cspi/spi_registry.c:
3710 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3712 * docs/reference/cspi/at-spi-cspi-sections.txt:
3713 Remove/fix a couple of broken document references.
3716 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3717 as Alt-Control to listen for commands, since on some systems
3718 Control-Alt may already be grabbed.
3720 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3723 Update version number to 0.4 for Beta2.
3725 * libspi/accessible.c, libspi/accessible.h:
3726 Expose spi_accessible_construct, to enable libgail-gnome
3727 construction from spi_accessible subtype.
3729 * utils/magnifier.c:
3730 Workaround for bug in some non-gnome-compliant window managers
3731 which made magnifier resize improperly.
3733 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3735 * libspi/accessible.c: (spi_accessible_new) :
3736 Move the test for SPI_IS_REMOTE_OBJECT to
3737 spi_accessible_new_return, fixing a bug and compile time warning.
3739 2002-01-08 Michael Meeks <michael@ximian.com>
3741 * registryd/registry.c (parse_event_type): remove strndup.
3743 * libspi/Makefile.am (libspi_la_SOURCES): remove
3744 sources already included in the headers section.
3746 * libspi/util.c: add.
3748 * libspi/spi-private.h: add.
3750 * registryd/registry.c: update to moved list iterators.
3752 2002-01-05 Michael Meeks <michael@ximian.com>
3754 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3756 * test/test-simple.c (main): ditto.
3758 2002-01-04 Michael Meeks <michael@ximian.com>
3760 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3761 redundant construct.
3763 * registryd/registry.c
3764 (get_listener_list): impl.
3765 (impl_accessibility_registry_register_global_event_listener):
3766 re-impl. to simplify using ~, remove dodgy const cast off.
3767 (parse_event_type): constify.
3768 (impl_accessibility_registry_deregister_global_event_listener_all):
3769 re-write, more efficiency and simplicity, kill re-enterancy
3771 (compare_listener_corbaref, compare_corba_objects),
3772 (compare_listener_quarks): define out.
3773 (impl_accessibility_registry_deregister_global_event_listener):
3774 re-write for effiency, and nail re-enterancy hazard.
3775 (impl_accessibility_registry_get_desktop_list): impl.
3776 (re_enterant_list_delete_link): impl.
3777 (re_enterant_list_foreach): impl.
3778 (remove_listener_cb): impl.
3779 (_registry_notify_listeners): kill.
3780 (notify_listeners_cb): impl.
3782 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3783 (SPI_getDesktopList): impl.
3785 * test/test-simple.c (test_desktop): test the methods.
3787 2002-01-03 Michael Meeks <michael@ximian.com>
3789 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3790 keystrings since we free them
3791 (SPI_freeAccessibleKeySet): in here.
3793 * libspi/accessible.c (spi_accessible_new): kill warning,
3794 wonder what is going on with the constructor here.
3796 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3798 * libspi/accessible.c (spi_accessible_new ()) :
3799 Added check to see if AtkObject is an SpiRemoteObject before
3800 creating an SpiAccessible.
3802 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3804 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3805 Enable keygrabs using the Control modifier, now that they are
3806 working properly (they were previously disabled).
3809 Change the command keygrab for this demo to "Control+Alt", so as
3810 to conflict with fewer other key commands on the system; this
3811 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3813 Removed a pointlessly-chatty keylistener for unshifted keys
3814 (shifted keys are still reported).
3816 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3818 * libspi/remoteobject.h:
3819 * libspi/remoteobject.c:
3820 Added definitions for special AtkObject subtype, required for
3821 support of remote components (specifically, used by BonoboControl
3822 accessibility implementation).
3824 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3826 * cspi/spi.h: synched relation types with ATK
3828 * cspi/spi_accessible.c: Added implementations of
3829 AcccessibleRelation_* methods
3831 * idl/Accessibility_Relation.idl: added getRelationTypeName
3832 method. Synched known relation types with ATK. Allowed for
3833 relation type extension with the RELATION_EXTENDED type.
3835 * libspi/relation.c: Provided implementations for
3836 AccessibleRelation methods.
3838 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3840 API tweaks for today's API 'freeze'.
3843 Added placeholder functions to allow future compatible expansion
3844 of the IDL interfaces.
3846 * idl/Accessibility_Registry.idl:
3847 Changed generateKeyEvent to generateKeyboardEvent. Changed
3848 signature of this method to accept an optional keystring in
3849 parameter (for complex text input synthesis) and changed use of
3850 simple 'boolean' parameter in registerKeystrokeListener to a
3851 struct, EventListenerMode.
3853 * cspi/spi_accessible.c:
3855 * cspi/spi_streamablecontent.c:
3856 Added references to AccessibleStreamableContent interface, and
3857 definition and implementation of AccessibleStreamableContent
3860 * cspi/spi_registry.c:
3862 Changed generateKeyEvent API to generateKeyboardEvent,
3863 taking a new (optional) keystring parameter to support complex
3868 Renamed directory (to better reflect its actual purpose, bridging
3869 from at-spi to ATK). The .so module is also now named
3872 * idl/Accessibility_Hypertext.idl:
3873 * libspi/accessible.c:
3874 * libspi/hypertext.h:
3875 * libspi/hypertext.c:
3876 Changed Accessibility_Hypertext to *not* derive from
3879 * cspi/spi_registry.c:
3880 Added list of legal event type names for 'window' events, which
3881 completes the registry event API.
3883 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3885 * at-bridge/bridge.c: Added registration for separate
3886 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3887 signals. If either of the first two parameters to the generic
3888 bridge signal handler are ints, they are passed on as event
3889 details. This allows an AT to determine what text was inserted.
3891 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3893 * registryd/deviceeventcontroller.c:
3894 Fixed regressions in generateKeyEvent caused by the removal of
3895 gdk_init from registryd; we now use pure X calls to connect to the
3896 display, which makes sense because deviceeventcontroller already
3897 uses a fair bit of X API (should eventually be migrated to a
3898 'portability layer').
3900 * registryd/desktop.c:
3901 Fixed minor regression in spi_desktop_init, changed the way the
3902 desktop name is being set to work with new spi_base API
3903 (gobject-based, rather than AtkObject-based).
3905 * registryd/Makefile.am:
3906 Minor revision of makefile to use XTST_LIBS variable rather than
3907 hard-wiring the Xtst LD_ADD element.
3909 * test/keysynth-demo.c:
3910 Tweaked an output message; added initialization of the
3911 'keystrings' member of the "switch listener" key_set.
3913 * libspi/relation.c:
3914 Squashed compile-time warning.
3916 * libspi/accessible.c:
3917 Cosmetic and formatting fixes, renamed a static method.
3919 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3921 * libspi/accessible.c
3923 * libspi/application.c
3926 * libspi/component.c
3927 * libspi/editabletext.c
3928 * libspi/hyperlink.c
3929 * libspi/hypertext.c
3931 * libspi/selection.c
3935 * registryd/desktop.c:
3936 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3938 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3940 * idl/Accessibility_Registry.idl:
3941 Added boolean member 'is_text' to DeviceEvent. This is for the
3942 use of key events, and helps prevent ambiguity between composed
3943 key strings and keysym names, since both may potentially be
3944 returned in the 'event_string' member.
3946 * at-bridge/bridge.c:
3947 * registryd/deviceeventcontroller.c:
3948 Use the 'is_text' member when notifying device event listeners.
3949 Knon issue: composed characters are not dealt with correctly by
3950 the global key listener implementation yet.
3952 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3954 * at-bridge/bridge.c:
3955 Namespaced local static methods to spi_atk_bridge_* where
3956 previously named bridge_*, and spi_* elsewhere.
3958 * at-bridge/bridge.c:
3959 * cspi/bonobo/cspi-bonobo-listener.c:
3960 Added demarshalling/conversion for string member of
3961 Accessibility_DeviceEvent to AccessibleKeystroke.
3963 * registryd/deviceeventcontroller.c:
3964 Added code to fill the Accessibility_DeviceEvent key string value
3965 member for global key events (i.e. from XGrabKey), to match
3966 behavior of Accessibility_DeviceEvent from the toolkit key events
3967 from the bridge. Fixed timestamp in global key event notifications.
3970 Added printout of key event's string value to
3971 report_ordinary_key_event, for demo/debugging purposes.
3973 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3975 * idl/Accessibility_Registry.idl:
3976 Removed Accessibility_KeyStroke structure in favor of generic
3977 Accessibility_DeviceEvent structure.
3978 Changed Accessibility_ControllerEventMask from a struct to an
3981 * at-bridge/bridge.c:
3982 Changed APIs to use DeviceEvent structure as above, and removed
3983 bogus casting between these event structures.
3985 * cspi/spi-listener.h:
3986 Added keystring member of AccessibleKeystroke structure, to enable
3987 matching on event "names" rather than only hardware codes and
3991 Added keystrings member of AccessibleKeySet struct, to allow
3992 matching on event names (as above).
3993 Added declarations for SPI_createAccessibleKeySet and
3994 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3995 event modmasks directly as unsigned ints rather than structs with
3996 refcounts, in the DeviceEventController methods.
3998 * cspi/spi_registry.c:
3999 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4001 * cspi/spi-roletypes.h:
4002 Added documentation of newly added SPI Roles.
4004 * cspi/bonobo/cspi-bonobo-listener.c:
4005 Changes in support of API changes above.
4007 * libspi/accessible.c:
4008 Converted APIs to use DeviceEvent structure (see IDL changes
4011 * registryd/deviceeventcontroller.c:
4012 Added DEControllerGrabMask structure to track keygrabs not only by
4013 modmask but by keyset as well; this allows us to do "global"
4014 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4015 grabbing on AnyKey and then filtering after-the-fact.
4016 Bugfixes for event filtration mean that we don't get false matches
4017 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4019 * registryd/deviceeventcontroller.c:
4020 Namespaced a number of static methods to use spi_ prefix. Major
4021 revision to internals of global (i.e. X) key grabs.
4023 * registryd/deviceeventcontroller.h:
4024 Removed keymask_list and added keygrabs_list to
4025 SpiDeviceEventController struct.
4028 Added use of SPI_createAccessibleKeySet API when creating a
4029 listener for only one key. Attach a listener to "shift spacebar
4030 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4031 X key event names to SPI key event names, so that listeners are
4032 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4034 * test/keysynth-demo.c:
4035 Changed (incorrect) use of X key event names (KeyPressed,
4036 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4039 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4041 * libspi/accessible.c:
4042 Convert all AtkRole enumerations to Accessibility_Role enums when
4043 getting a role from an AtkObject.
4045 * cspi/spi_accessible.c:
4046 Complete the conversion of Accessibility_Role enums at runtime to
4047 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4048 role enums correctly match those given in spi-roletypes.h.
4049 Re-synchronize the local names list for AccessibleRole_getName ().
4050 AccessibleRole_getName is now deprecated, since it duplicates the
4051 more reliable Accessible_getRoleName.
4052 Added some role types from Accessibility_Role.idl.
4054 * idl/Accessibility_Role.idl:
4055 Added some role types used by AtkRole.
4057 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4060 * cspi/spi_registry.c:
4062 * cspi/cspi-bonobo-listener.c:
4063 Namespaced all methods that did not begin with an "SPI_" or
4064 "Accessible" prefix to "SPI_".
4067 Homogenized internal function namespace to "cspi_" for statics.
4070 Patched tests to use the new CSPI API.
4072 * docs/reference/cspi/at-spi-cspi-sections.txt:
4073 Updated docs to reflect namespace changes, and added a number of
4074 methods to the documentation.
4076 * registryd/registry.c:
4077 Changed use of strings and string hashes in listener event
4078 matching and parse_event_string to use GQuark, which is guaranteed
4081 * registryd/registry.h:
4082 Squashed annoying warning.
4084 * idl/Accessibility_Role.idl:
4085 Extended range of available Accessibility_Role values.
4087 * cspi/spi_accessible.c:
4088 Re-ordered role names.
4090 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4092 * idl/Accessibility_Value.idl:
4093 Revert use of union back to CORBA_double, since the double type is
4094 more efficient and can contain the other types without loss of
4097 * idl/Accessibility_Accessible.idl:
4098 Added method Accessibility:Accessible:getRoleName, to complement
4099 Accessibility:Accessible:getRole.
4101 * cspi/spi_accessible.c:
4103 Added C binding for above, Accessible_getRoleName (), and changed
4104 signature of Accessible_getRole () to return an AccessibleRole.
4106 * cspi/spi-roletypes.h:
4107 Changed AccessibleRole_getName to return a char * instead of a
4108 const char *. This method is now at least temporarily deprecated
4109 in favor of asking Accessibles for their RoleNames directly.
4112 Revert to match Accessibility_Value.idl;
4116 Change signature of AccessibleValue methods to use double rather
4120 * cspi/spi_accessible.c:
4121 Changed Accessible_getRole to return an AccessibleRole enum rather
4122 than a UTF-8 string. The UTF-8 string can still be obtained via
4123 AccessibleRole_getName ().
4125 * test/test-simple.c:
4126 Add test_action. Small fixup to match API change to Accessible_getRole.
4129 Bugfix for get_action_from_servant ().
4131 2001-12-11 Michael Meeks <michael@ximian.com>
4133 * libspi/libspi.h: remove registry.h and
4134 desktop.h, deviceeventcontroller.h
4136 * libspi/Makefile.am: remove registry.[ch],
4137 desktop.[ch], deviceeventcontroller.[ch]
4139 * registryd/Makefile.am: add registry.[ch],
4140 desktop.[ch], rename registryd.c to registry-main.c.
4141 add deviceeventcontroller.[ch]
4143 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4146 Replace setenv() call with putenv ().
4148 * libspi/component.c:
4149 Bugfix in AccessibleComponent_getExtents (),
4152 2001-12-11 Michael Meeks <michael@ximian.com>
4154 * libspi/image.c (impl_getImageExtents): impl.
4155 (spi_image_class_init): upd.
4158 (AccessibleImage_getImageDescription): fix daft bug
4161 * test/test-simple.c (global_listener_cb): update
4162 to only quit if not --poke
4163 (main): catch --poke.
4164 (validate_accessible): upd. dumping, call test_image
4167 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4170 * idl/Accessibility.idl: update all IDL includes.
4172 * idl/*.idl - rename to namespace - this sucks, blame
4173 mjs' bad decision for oafd.
4175 * test/test-simple.c (create_test_window): add more tests.
4176 (create_tree): split this out.
4177 (validate_accessible): bugfix.
4179 2001-12-11 Michael Meeks <michael@ximian.com>
4181 * cspi/bonobo/cspi-bonobo-listener.c:
4182 (cspi_kestroke_listener_unref),
4183 (cspi_event_listener_unref): impl. undoing previous
4184 homenous environment - for Bill.
4186 * cspi/spi_table.c (long_seq_to_array): use
4189 * cspi/spi_main.c: split out all bonoboish bits into
4192 * cspi/spi-impl.h: upd. typedefs.
4194 * cspi/spi_registry.c: update to lowlevel API,
4195 return booleans to indicate success in some places.
4197 * cspi/spi_event.c: update to lowlevel API.
4199 * cspi/bonobo/Makefile.am: add.
4201 * cspi/bonobo/cspi-lowlevel.h: add
4203 * cspi/bonobo/cspi-bonobo.c: add
4205 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4207 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4208 (SUBDIRS): add bonobo, link in the libs.
4210 * cspi/spi-util.c: kill this file.
4212 * TODO: merge in my bits.
4214 2001-12-11 Michael Meeks <michael@ximian.com>
4216 * test/test-simple.c (test_value, test_table, main):
4217 remove unused variables causing warnings.
4219 * configure.in: cleanup checks - require gail.
4221 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4224 Changed Value interface to use SValue (scalars) rather than
4225 assuming all values are floats. This allows floats, doubles,
4226 longs, shorts, and unsigned values to be manipulated.
4227 Introduced Accessibility:SValue union.
4230 Updated to use new API above, and to work correctly with GValues
4231 of different types in AtkValue.
4234 Updated to use new API above. cspi's API is as yet unchanged.
4237 Updated the Value revision action item.
4239 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4241 * test/test-simple.c:
4242 Added test_table (GtkTreeView widget in test window to follow).
4243 Un-commented test_value, added GtkRange widget.
4244 Added GtkTreeView widget with GtkListStore. It passes regression
4245 test but leaks one SPI object for some reason.
4248 Fixed bug in impl__set_currentValue.
4250 2001-12-10 Michael Meeks <michael@ximian.com>
4252 * cspi/spi_text.c: audit for exception handling,
4253 tolerating NULL object references safely etc.
4255 * cspi/spi_value.c: ditto.
4257 * cspi/spi_table.c (AccessibleTable_getSummary),
4258 (AccessibleTable_getAccessibleAt),
4259 (AccessibleTable_getRowHeader),
4260 (AccessibleTable_getColumnHeader),
4261 (AccessibleTable_getCaption): fix bugs hidden by
4263 (long_seq_to_array): impl.
4264 (AccessibleTable_getSelectedRows),
4265 (AccessibleTable_getSelectedColumns): use it.
4267 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4270 Added a TODO list (rough and short for now).
4272 * cspi/spi_hyperlink.c:
4273 * cspi/spi_hypertext.c:
4274 Fixed macro name typos, and remove use of obsolete macro in
4275 AccessibleHyperlink_getLink.
4277 * cspi/spi_action.c:
4278 * cspi/spi_accessible.c:
4279 * cspi/spi_application.c:
4280 * cspi/spi_component.c:
4281 * cspi/spi_selection.c:
4284 Documentation fixes (removed return values from ref/unref methods).
4286 2001-12-10 Michael Meeks <michael@ximian.com>
4288 * cspi/spi_action.c: audit for exception handling,
4289 tolerating NULL object references safely etc.
4291 * cspi/spi_accessible.c: ditto.
4293 * cspi/spi_component.c: ditto.
4295 * cspi/spi_editabletext.c: ditto.
4297 * cspi/spi_hyperlink.c: ditto.
4299 * cspi/spi_hypertext.c: ditto.
4301 * cspi/spi_image.c: ditto.
4303 * cspi/spi_selection.c: ditto.
4305 2001-12-10 Michael Meeks <michael@ximian.com>
4307 * configure.in: use cspi/libspi.pc.in instead.
4309 * Makefile.am (pkgconfig_DATA): upd. to match.
4311 * test/simple-at.c (report_focus_event): kill hacks around
4312 bad return values, use putenv not setenv
4314 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4315 fire ChildGone - I killed it.
4317 * libspi/component.c
4318 (impl_accessibility_component_get_extents): remove
4321 * idl/Accessible.idl: kill ChildGone exception.
4323 * cspi/*.[ch]: kill int return from ref / unref.
4325 * cspi/spi_main.c (cspi_object_add_check): fold into
4326 (cspi_object_add): here.
4328 * cspi/spi_component.c (AccessibleComponent_getExtents):
4329 handle exceptions elegantly.
4331 * cspi/spi-private.h (cspi_check_ev_return),
4332 (cspi_return_if_fail): impl.
4334 * cspi/spi_accessible.c: use extensively.
4335 (AccessibleStateSet_equals): add direct compare check.
4337 * cspi/spi_selection.c: tolerate NULL objs, and check
4338 exceptions before return.
4340 * cspi/spi-util.c (cspi_warn_ev): rename to
4341 (cspi_check_ev): this & don't pass ev in; no point.
4343 2001-12-10 Michael Meeks <michael@ximian.com>
4345 * test/test-simple.c: use putenv not setenv
4346 (get_environment_vars): more chatty if you're not using
4349 * test/simple-at.c: do the setenv so more people see the
4352 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4354 * libspi/registry.c:
4355 Changed check of CORBA_environment on notification to be a warning
4356 instead of an error for the moment, since we can recover from this
4357 error when caused by a queued notification from a dead app.
4360 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4361 used by all current implementors of AtkValue), and coerce to
4362 CORBA_float. (Proper general case fix may require change to Value.idl).
4364 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4368 * cspi/spi_accessible.c:
4369 Documentation fixes: added user_data params to documentation for
4370 listeners and callbacks.
4372 * cspi/spi_accessible.c:
4373 Changed AccessibleStateSet_compare to return a
4374 StateSet rather than return the difference set into a third parameter.
4377 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4380 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4381 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4385 Remove subdirectory po from SUBDIRS for now.
4387 * at-bridge/bridge.c:
4388 Beefed up a couple of debug printouts.
4389 One-line fix for signal notification name formatting.
4391 * libspi/accessible.c:
4392 Added assertion to spi_accessible_new ().
4394 * libspi/application.c:
4395 Put #ifdef qualifiers around a printf.
4398 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4400 * registryd/Makefile.am:
4402 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4403 INTLTOOL_SERVER_RULE macro.
4406 Added an event listener for several ATK signals, for
4407 testing and debugging. Removed a few g_warnings.
4408 Added test output if focussed item implements the Value interface.
4410 * test/test-simple.c:
4411 Added test_value () function (known not to pass at the moment, so
4412 not actually called yet.
4414 2001-12-08 Michael Meeks <michael@ximian.com>
4416 * at-bridge/bridge.c (bridge_focus_tracker),
4417 (emit_eventv): fix the same ref. leak.
4418 (register_atk_event_listeners): don't leak.
4420 * cspi/spi-listener-impl.c (cspi_event): more
4421 protection from client code.
4423 * test/test-simple.c (test_desktop): unref the app.
4425 * test/Makefile.am: upd. TESTS.
4427 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4429 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4431 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4433 * cspi/spi_registry.c: constify in strings.
4434 (deregisterGlobalEventListenerAll): don't release the ref.
4436 * cspi/spi.h: start removing redundant / conflicting
4437 gtkdoc comments, making the API readable at a glance :-)
4439 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4441 * test/keysynth-demo.c (keysynth_exit, main): upd.
4443 * test/simple-at.c (main, simple_at_exit): upd.
4445 * test/test-simple.c (unutterable_horror): kill.
4446 (utterable_normal_derefs): kill.
4447 (main): upd & do a setenv before gtk_init, so that we
4448 can use memprof - and to save the pain of remembering
4449 this, if we're running under memprof - don't exit.
4451 * cspi/spi_main.c (SPI_exit): return exit status
4453 (SPI_event_quit): impl.
4454 (SPI_event_main): simplify.
4455 (cspi_is_gnome_app): kill.
4456 (SPI_init): kill isGNOMEapp arg.
4458 * at-bridge/bridge.c (register_atk_event_listeners):
4459 re-instate the unref.
4460 (bridge_exit_func): don't re-activate the registry,
4461 protect vs. theoretical re-entry, use the
4462 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4463 assert a clean shutdown - for regression tests.
4465 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4467 * configure.in: Comment out dummy i18n support for now,
4468 otherwise it fails to build.
4469 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4470 EXTRA_DIST. They are missing in tarball.
4472 2001-12-07 Michael Meeks <michael@ximian.com>
4474 * util/magnifier.c: kill bonobo activation reg. race.
4476 * libspi/component.c
4477 (impl_accessibility_component_get_extents): make it match
4480 * libspi/registry.c (_registry_notify_listeners):
4481 re-remove X headers & reconcile conflicts.
4482 (spi_listener_struct_free): bad conflict resolve.
4483 (impl_accessibility_registry_register_application):
4484 more bad merging fixed.
4485 (impl_accessibility_registry_deregister_application): ditto.
4486 (spi_registry_new): ditto.
4487 (spi_registry_init): don't have an applications field.
4489 [ merge fixups2 branch to here ]
4490 2001-12-07 Michael Meeks <michael@ximian.com>
4492 * test/simple-at.c (report_focus_event),
4493 (report_focussed_accessible): remove g_warning debug.
4495 2001-12-07 Michael Meeks <michael@ximian.com>
4497 * test/test-simple.c (validate_tree): comment out some checks.
4498 (test_desktop): app now not registered idly - horay.
4500 2001-12-07 Michael Meeks <michael@ximian.com>
4502 * cspi/spi_registry.c
4503 (registerAccessibleKeystrokeListener): clean, stop it leaking
4504 great swathes of memory, and device event controller references.
4505 ensure we always pass valid sequences.
4506 (deregisterAccessibleKeystrokeListener): ditto.
4507 (generateKeyEvent): upd.
4509 * at-bridge/bridge.c (bridge_key_listener): handle
4510 registry dead exception gracefully.
4511 (bridge_focus_tracker, emit_eventv): free ev.
4513 * test/simple-at.c (report_focus_event): fix polarity.
4515 * libspi/application.c (notify_listeners): kill the ev
4516 argument, and make sure we init the ev we use.
4517 (spi_application_object_event_listener): split out a chunk
4518 (get_atk_object_ref): here & fixup.
4519 (reverse_lookup_name_for_toolkit_event): make const.
4520 (spi_application_toolkit_event_listener): fixup, kill leaks
4523 * at-bridge/bridge.c (register_atk_event_listeners):
4524 don't unref the noop object - causes grief.
4526 * libspi/registry.c: remove the X headers.
4527 turn off the debug churn.
4529 * libspi/accessible.c (spi_accessible_new_return): only
4530 release the ref if we are supposed to [doh]
4532 * test/simple-at.c (report_button_press, report_focus_event):
4533 guard vs. unexpected exit.
4535 * at-bridge/bridge.c (gtk_module_init): prune printf.
4536 (bridge_exit_func): fix app unref.
4538 * libspi/Makefile.am: don't install registry or desktop.h
4540 * libspi/*.h: update includes.
4542 * libspi/application.h: don't include ourself, or
4543 other redundant headers.
4545 2001-12-06 Michael Meeks <michael@ximian.com>
4547 * libspi/accessible.c
4548 (get_accessible_from_servant): impl.
4549 Upd. all CORBA impl.s to use it killing cut and paste.
4551 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4553 (SPI_init): register atexit cleanup handler here.
4555 2001-12-06 Michael Meeks <michael@ximian.com>
4557 * at-bridge/bridge.c (gtk_module_init): g_error on
4558 activation exception
4560 2001-12-06 Michael Meeks <michael@ximian.com>
4562 * at-bridge/bridge.c (gtk_module_init): some sort of
4563 confusing merge clash - reverted.
4564 (bridge_idle_init): ditto.
4566 * test/test-simple.c (main, utterable_normal_derefs):
4567 merge from Bill - somehow not committed.
4569 2001-12-06 Michael Meeks <michael@ximian.com>
4571 * libspi/value.c (spi_value_class_init): upd.
4572 (spi_value_finalize): kill.
4574 * libspi/table.c (spi_table_finalize): kill.
4575 (spi_table_interface_new): upd.
4576 (spi_table_class_init): upd.
4577 (get_table_from_servant): impl.
4578 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4580 * libspi/selection.c (spi_selection_finalize): kill.
4581 (spi_selection_interface_new): upd.
4582 (spi_selection_class_init): upd.
4583 (get_selection_from_servant): impl.
4584 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4586 * libspi/relation.c (spi_relation_finalize): kill.
4587 (spi_relation_class_init, spi_relation_new): upd
4589 * libspi/image.c (spi_image_finalize): kill.
4590 (spi_image_class_init): upd.
4591 (spi_image_interface_new): upd.
4592 (get_image_from_servant): impl.
4593 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4595 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4596 (spi_hyperlink_finalize): kill.
4597 (spi_hyperlink_new): upd.
4598 (get_hyperlink_from_servant): impl.
4599 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4601 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4602 (spi_hypertext_finalize): kill.
4603 (spi_hypertext_class_init): upd.
4604 (get_hypertext_from_servant): impl.
4605 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4607 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4608 (spi_editable_text_interface_new): upd.
4609 (get_editable_text_from_servant): impl.
4610 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4612 * libspi/text.c (get_text_from_servant): impl.
4613 All impls - update to use it killing more cut and paste,
4614 also fix bad string returns on duff args ( a somewhat
4615 impossible case to handle - but hey ).
4616 (spi_text_construct): impl.
4617 (spi_text_interface_new): upd.
4618 (spi_text_object_finalize): kill.
4620 * libspi/component.c
4621 (accessibility_component_object_finalize): kill.
4622 (spi_component_class_init): upd.
4623 (get_component_from_servant): impl. helper to kill cut & paste.
4624 (impl_accessibility_component_contains):
4625 (impl_accessibility_component_get_accessible_at_point):
4626 (impl_accessibility_component_get_position):
4627 (impl_accessibility_component_get_extents):
4628 (impl_accessibility_component_get_mdi_z_order):
4629 (impl_accessibility_component_get_layer):
4630 (spi_component_interface_new): upd.
4632 * libspi/action.c (spi_action_finalize): kill.
4633 (spi_action_class_init): upd. inherit from SpiObject.
4634 (spi_action_interface_new): upd.
4635 (get_action_from_servant): impl. helper to reduce cut & paste.
4636 (impl_getKeyBinding, impl_getName, impl_doAction),
4637 (impl_getDescription): Use it everywhere.
4639 * cspi/spi_main.c (get_live_refs): a pointer hash.
4640 (spi_object_hash, spi_object_equal): comment out.
4641 There are issues with CORBA object hashing that need
4644 * libspi/application.c (spi_application_init),
4645 (spi_application_new): upd.
4647 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4648 (spi_accessible_class_init): upd.
4649 s/accessible/object/ in epv methods.
4651 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4653 * at-bridge/bridge.c:
4654 Reorder the bridge initialization into the bridge gtk_module_init,
4655 an immediate call to bridge_register_app, and an idle_add for
4656 register_atk_event_listeners (the only code that *must* wait until
4657 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4658 the activation, creates the application's Accessible object, and
4659 queues the bridge_idle_init function. Restored call to
4660 Accessibility_Registry_deregisterApplication().
4661 Prior to making this call we obtain a new reference to the
4662 registry, which is a temporary hack that helps us handle apps that
4663 shut down the bonobo mainloop before we get there.
4665 * libspi/registry.c:
4666 Fix string leakage in debug block, and don't segv if a an app
4667 dies before its event notifications have been propagated.
4670 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4671 as stopgap measure until we get proper exception handling when
4672 objects die during or before interrogation.
4676 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4677 Also changed default value of is_gnome_app to TRUE.
4680 * test/keysynth-demo.c:
4681 Changed use of SPI_init and SPI_event_main to reflect API change above.
4684 Made report_focus_event check the warning value from getName
4685 before reporting on focussed accessible; simplifies handling of
4686 notifications from dead objects.
4688 * test/test-simple.c: (Changes not in this patch since source is
4691 2001-12-05 Michael Meeks <michael@ximian.com>
4693 * registryd/registryd.c (main): protect against
4694 bonobo-activation startup race condition.
4696 * cspi/spi_main.c (cspi_object_add_check): cope
4697 with the exception elegantly.
4699 * idl/Accessible.idl: decl. ChildGone
4701 * libspi/desktop.c (spi_desktop_dispose): impl.
4702 (spi_desktop_class_init): upd.
4703 (spi_desktop_add_application),
4704 (spi_desktop_remove_application),
4705 (abnormal_application_termination): impl.
4706 (impl_desktop_get_child_at_index): re-impl.
4709 (impl_accessibility_registry_deregister_application),
4710 (impl_accessibility_registry_register_application):
4711 kill excessive debug clutter.
4713 * test/test-simple.c (test_misc): test some NULL
4714 tolerance. (main): upd.
4716 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4717 implements no interfaces - so let's not crash.
4719 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4721 * libspi/accessible.c (spi_accessible_new_return): impl.
4722 helper to calm the cut and paste, to cope with
4723 NULL AtkObjects effectively and efficiently, and to kill
4724 the referencing bugs.
4726 * libspi/table.c (impl_getAccessibleAt),
4727 (impl_getRowHeader, impl_getColumnHeader): upd.
4729 * libspi/hyperlink.c (impl_getObject): upd.
4731 * libspi/accessible.c
4732 (impl_accessibility_accessible_get_child_at_index): upd.
4734 * libspi/component.c
4735 (impl_accessibility_component_get_accessible_at_point): upd.
4737 * test/test-simple.c (test_editable_text, test_text): impl.
4740 * cspi/spi_editabletext.c
4741 (AccessibleEditableText_insertText): constify.
4743 * test/test-simple.c (focus_me): make more robust.
4745 * libspi/accessible.c: remove some printfs in methods that
4746 we test and work fine, so we can get a clean tree dump.
4748 * test/test-simple.c (validate_accessible),
4749 (validate_tree): make tree dumping pretty too.
4751 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4752 it builds without debug on.
4754 * test/test-simple.c (validate_accessible): fix the most
4757 * cspi/spi_main.c (spi_object_release): leave the nicely
4758 blanked memory around if in debug mode.
4760 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4762 [committed to fixups2]
4763 2001-12-05 Michael Meeks <michael@ximian.com>
4765 * libspi/editabletext.c
4766 (spi_editable_text_class_init): g_type_class_peek_parent,
4767 not interface peek - so we finalize cleanly.
4769 * libspi/accessible.c (spi_accessible_new): kill debug.
4771 * test/test-simple.c (validate_accessible): fix ref.
4772 leak, print strings before freeing them; sigh, comment a
4773 chunk out due to strangeness.
4774 (validate_tree): unref the child after use.
4776 * cspi/spi_component.c (AccessibleComponent_getLayer):
4777 add missing break statement, switch on zlayer not the
4778 uninitialized retval.
4780 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4781 before (possibly re-entering) remote unref.
4783 * test/simple-at.c (main): unref the desktop.
4785 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4788 * cspi/spi_main.c (cspi_accessible_is_a): here to
4789 isolate bonobo API usage more.
4791 * libspi/registry.c (impl_accessibility_registry_register_application):
4792 prune bogus comment.
4794 2001-12-04 Michael Meeks <michael@ximian.com>
4796 * test/test-simple.c (validate_tree): upd.
4797 IndexInParent check to make it more lucid.
4798 (validate_accessible): dump the tree.
4800 * libspi/accessible.c (de_register_public_ref),
4801 (get_public_refs): impl.
4802 (spi_accessible_new): make more efficient & intuitive.
4803 Now IndexInParent check works.
4805 2001-12-04 Michael Meeks <michael@ximian.com>
4807 * cspi/spi-util.h: remove.
4809 * cspi/spi.h: move SPI_freeString here
4811 * libspi/component.c (impl_accessibility_component_get_layer):
4813 (impl_accessibility_component_get_mdi_z_order): ditto,
4814 return -1 on error - is this ok ?
4816 * test/test-simple.c (test_application): impl.
4818 * cspi/spi_accessible.c (Accessible_getApplication),
4819 (Accessible_isApplication): impl.
4821 * libspi/registry.c (spi_listener_struct_free): release
4822 the CORBA reference too.
4824 * libspi/accessible.c
4825 (impl_accessibility_accessible_get_parent): fix ref leak.
4827 * libspi/registry.c (spi_registry_new): make the registry
4828 immortal - we don't want it to go away ever.
4830 * libspi/application.c
4831 (spi_accessible_application_finalize): impl. cleanup.
4833 * cspi/spi_registry.c
4834 (deregisterGlobalEventListenerAll),
4835 (deregisterGlobalEventListener),
4836 (deregisterAccessibleKeystrokeListener): fix ref leak.
4838 * cspi/spi_main.c (SPI_init): remove redundant ref.
4840 * test/test-simple.c (unutterable_horror): impl. to force a
4845 (impl_accessibility_registry_deregister_application): release
4846 the application when we de-register it.
4848 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4849 until we have the infastructure to get it right.
4851 2001-12-03 Michael Meeks <michael@ximian.com>
4853 * libspi/Makefile.am: only build eventlistener.[ch]
4855 * libspi/accessible.c
4856 (impl_accessibility_accessible_get_child_at_index): don't leak.
4858 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4859 before we hit the idle handler.
4861 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4862 debugging than exit.
4864 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4866 * libspi/listener.c (impl_notify_event): check source
4867 not NIL before unref.
4869 * libspi/registry.c (impl_registry_notify_event): ditto.
4871 * libspi/eventlistener.c
4872 (impl_accessible_event_notify_event): unref the source.
4874 * libspi/accessibleeventlistener.c
4875 (impl_accessible_event_notify_event): unref the source.
4877 * idl/Event.idl: remove 'hash_id' attribute - of no
4880 * libspi/application.c (notify_listeners): upd list
4882 (spi_application_object_event_listener),
4883 (spi_application_toolkit_event_listener): upd to do correct
4887 (_registry_notify_listeners): update.
4888 (parse_event_type): this method also leaks like a sieve.
4889 (impl_accessibility_registry_deregister_global_event_listener):
4890 fix ETYPE_WINDOW case.
4892 * libspi/application.c
4893 (impl_accessibility_application_register_object_event_listener):
4896 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4898 * libspi/hypertext.c (impl_getLink): ditto.
4900 * cspi/spi_main.c (cspi_object_add): remove
4901 bogus CORBA_Object_duplicate.
4903 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4906 * cspi/spi_accessible.c
4907 (Accessible_getRelationSet): fix leak / referencing issue.
4909 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4910 (cspi_object_add, cspi_object_unref): upd.
4911 (spi_object_release, get_live_refs): impl.
4912 (cspi_cleanup): simplify.
4914 * *.[ch]: s/boolean/SpiBoolean/
4916 * cspi/spi_accessible.c (role_names): actualy order so it
4917 corresponds with the enum !
4919 * test/test-simple.c (test_roles): check some role strings
4920 vs. enums to detect offset errors.
4922 2001-12-01 Michael Meeks <michael@ximian.com>
4924 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4926 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4928 (Accessible_getChildAtIndex): use cspi_add_check so we
4929 check the ev before using a (possibly) invalid value.
4931 * libspi/accessible.c
4932 (impl_accessibility_accessible_get_parent): don't segv
4935 * at-bridge/bridge.c (gtk_module_init): upd.
4936 (bridge_property_event_listener): don't leak strings
4938 (bridge_state_event_listener),
4939 (bridge_property_event_listener): don't use a static
4940 buffer in case of recursive event emission &
4941 re-enterancy - split out the swathe of cut and paste
4943 (emit_eventv): and fix 2 ref leaks here & comply to the
4945 (bridge_register_app): rename to
4946 (bridge_idle_init): this and kill arg parsing, split
4947 various inits & bonobo-activation registration to module
4948 init time, kill referencing error.
4949 (bridge_exit_func): fix the same leak.
4950 (bridge_focus_tracker): don't leak event structures
4952 (bridge_signal_listener): more leakage and cut & paste
4954 (bridge_key_listener): return the result - FIXME is
4955 this polarity correct ?
4956 (accessibility_keystroke_from_atk_key_event): rename
4957 (accessibility_init_keystroke_from_atk_key_event): and stop
4959 (gtk_module_init): return a value - not that it is checked by
4961 (bridge_key_listener): register my horror at casting between
4962 IDL defined structs.
4963 (bridge_get_registry): kill - not used.
4965 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4967 * test/test-simple.c (test_roles): impl.
4968 (test_desktop, validate_accessible, validate_tree): impl.
4970 * cspi/spi_accessible.c (role_names): fixup bogus
4971 MAX_ROLES setup, make constants const for efficient linkage
4972 (AccessibleRole_getName): conform to coding style, make
4975 2001-11-30 Michael Meeks <michael@ximian.com>
4977 * cspi/spi.h: add missing prototype.
4979 * libspi/registry.c (spi_listener_struct_new): fix sig.
4981 * test/Makefile.am: add test-simple
4983 * test/test-simple.c: add
4985 * test/test.sh: add.
4987 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4989 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4990 do it straight - since otherwise we often get an activation race.
4992 [ work before Bill duplicated a chunk of it ... ]
4993 2001-11-30 Michael Meeks <michael@ximian.com>
4995 * libspi/keystrokelistener.c
4996 (spi_keystroke_listener_class_init): fixup arg
4999 * libspi/eventlistener.c
5000 (spi_event_listener_class_init): ditto.
5002 * tests/test.sh: add.
5004 * cspi/spi-listener-impl.h: update macros.
5006 * cspi/spi-listener-impl.c
5007 (cspi_event_listener_remove_callback): add
5008 correct pre-conditions.
5010 * cspi/spi_main.c (SPI_exit): guard vs. double
5011 exits, exit the mainloop nicely.
5012 (SPI_event_main): make more sense.
5013 (SPI_init): move the atexit evilness here so we
5014 always do it (yuck).
5015 (SPI_event_main): upd.
5017 * test/simple-at.c: update for listener changes.
5019 * registryd/registryd.c (main): prune kruft.
5021 * libspi/libspi.h: upd.
5023 * libspi/eventlistener.[ch]: rename broken macros.
5025 * libspi/accessibleeventlistener.[ch]: remove.
5027 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5029 * test/test-simple.c: Add - automated tests.
5031 * cspi/spi-listener-impl.c (cspi_event),
5032 (cspi_key_event): add user_data to invoke.
5033 (cspi_keystroke_listener_finalize): impl.
5034 (cspi_keystroke_listener_class_init): upd.
5037 (createAccessibleEventListener),
5038 (AccessibleEventListener_addCallback),
5039 (createAccessibleKeystrokeListener),
5040 (AccessibleKeystrokeListener_addCallback): upd.
5042 * libspi/deviceeventcontroller.c
5043 (spi_device_event_controller_check_key_event): add public proto.
5046 (impl_accessibility_registry_deregister_global_event_listener):
5047 always init listeners.
5048 (_registry_notify_listeners): yes it is.
5050 * cspi/spi-listener-impl.c (cspi_key_event):
5052 (cspi_event_listener_finalize): impl.
5053 (cspi_event_listener_class_init): hook up.
5054 (event_handler_new, event_handler_free),
5055 (event_list_remove_by_callback): impl.
5056 (cspi_event_listener_remove_callback),
5057 (cspi_keystroke_listener_remove_callback),
5058 (cspi_keystroke_listener_add_callback),
5059 (cspi_event_listener_add_callback): upd.
5061 * libspi/keystrokelistener.c
5062 (keystroke_listener_object_finalize): kill
5063 (spi_keystroke_listener_class_init): upd.
5064 (spi_keystroke_listener_add_callback),
5065 (spi_keystroke_listener_remove_callback): kill,
5067 (impl_key_event): prune drasticaly.
5069 * libspi/eventlistener.c
5070 (spi_event_listener_add_callback),
5071 (spi_event_listener_remove_callback): kill, use
5073 (impl_accessible_event_notify_event): upd.
5074 (spi_event_listener_object_finalize): remove.
5076 * libspi/Makefile.am: use eventlistener.[ch]
5078 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5080 * libspi/registry.c (_registry_notify_listeners):
5081 Changed listener loop iteration to use preferred convention.
5082 Got rid of string memory leaks caused be calling g_strconcat
5083 inside function calls.
5085 * libspi/registry.c (parse_event_type):
5086 Stopped g_strconcat memory leaks, free the g_strsplit return,
5087 g_strdup the split pieces when used, etc.
5089 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5092 Change method 'compare' to return a 'difference set' rather than
5093 taking a StateSet as an out parameter (more Java-friendly).
5095 * idl/Accessible.idl:
5096 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5098 * idl/Component.idl:
5100 Changed methods 'getExtents' and 'getImageExtents' in these
5101 interfaces to return a BoundingBox structure.
5102 (getPosition and getSize are redundant and possibly should be
5103 removed, rather than creating a corresponding Point struct.)
5105 * cspi/spi_component.c:
5106 Modify implementation of getExtents to reflect the above IDL
5111 Add (missing) AccessibleImage_getExtents () API.
5113 * docs/reference/cspi/at-spi-cspi-sections.txt:
5114 Added AccessibleImage_getImageExtents () to docs.
5116 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5118 * idl/Component.idl:
5119 Added two methods, getLayer () and getMDIZOrder (), to reflect
5120 the new ATK methods atk_object_get_layer and
5121 atk_object_get_mdi_z_order. (Which arguably should be part of the
5122 AtkComponent API and AtkObject). Also added an enum,
5123 ComponentLayer, for the first method's return value.
5125 * libspi/component.c:
5126 Added implementations for these methods.
5128 * cspi/spi_component.c:
5130 Added cspi binding methods for above,
5131 AccessibleComponent_getLayer() and
5132 AccessibleComponent_getMDIZOrder().
5133 Added cspi enum 'AccessibleComponentLayer'.
5135 * docs/reference/cspi/at-spi-cspi-sections.txt:
5136 Added above methods to docs.
5140 Changed typedef for 'boolean' type (and all references to it) to
5141 SPIBoolean, to avoid keyword clashes with C++.
5144 Changed usages of 'boolean' to SPIBoolean.
5146 * test/keysynth-demo.c:
5147 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5148 app), except where SPIBoolean is required by the callbacks API.
5150 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5152 * cspi/spi_registry.c:
5153 Removed obsolete X event loop for passive keygrabs (which now
5156 * registryd/registryd.c:
5157 Removed unnecessary call to gdk_init() [cruft]. This also allows
5158 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5161 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5163 * docs/reference/cspi:
5164 Included docs for SPI_freeString in generated documentation.
5167 Renamed spi_freeString to SPI_freeString, for consistency. Added
5168 documentation for this function.
5171 Renamed spi_freeString to SPI_freeString, for consistency.
5172 Removed obsolete method declaration string_from_corba_string.
5174 * test/keysynth-demo.c:
5175 Small tweak to comments.
5178 Stopped leaking the strings returned from CSPI.
5180 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5182 Merged Michael's branch (see his ChangeLog entries below).
5184 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5185 bridge is alive, release on exit.
5187 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5188 Fix type check macro.
5191 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5194 Added is_gnome_app static, and method cspi_is_gnome_app(),
5195 so we can call the appropriate shutdown routine at exit in SPI_exit.
5197 * cspi/spi_main.c (cspi_object_ref):
5198 Duplicate the corba object passed in, since we're keeping it around.
5200 * cspi/SPI_exit.c, cspi_cleanup:
5201 Moved the releasing of the live refs to its own function, so we
5202 can put it in g_atexit (). Call the appropriate shutdown API
5203 depending on whethe calling client is a gnome app or not
5204 (bonobo_main_quit or CORBA_ORB_shutdown).
5206 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5207 Unref the listener when this method is called, after
5208 deregistration. Updated the API docs to note this behavior.
5210 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5211 Bugfixes: Ref the bonobo object when returning a parent or child
5212 reference, or an AccessibleRelation. Generally made sure
5213 BonoboObject refcount is incremented whenever we return an
5216 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5217 Fixed typo/bug in signal declaration.
5219 * libspi/accessibleeventlistener.h:
5222 * libspi/application.c (spi_application_new):
5223 Fixed leak in initialization.
5226 Remembered to increment bonobo-object refcount when returning
5227 children (applications) from desktop object.
5228 Added (empty) finalize method.
5230 * libspi/deviceeventcontroller.c:
5231 Hold a ref to listeners inside DEControllerKeyListeners.
5232 Added dec_key_listener_free() method. Use prepend instead of
5233 append in key_listener list. Fixed some refcount madness and
5234 leaks in the listener registration/deregistration - deregistration
5235 now calls dec_key_listener_free() on listeners, and on the
5236 temporarily constructed dec_key_listener() used to perform the search/match.
5238 * libspi/hypertext.c (spi_hypertest_finalize):
5239 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5240 class. Also fixed spi_hypertext_interface_new() and
5241 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5243 * libspi/hypertext.h:
5244 Removed pointless and duplicate AtkObject pointer from
5247 * libspi/keystrokelistener.c:
5248 Fixed incorrect type of keystroke_listener_parent_class,
5249 renamed keystroke_listener_object_finalize to
5250 spi_keystroke_listener_object_finalize.
5251 Fixed typo in signal declaration
5252 (spi_keystroke_listener_class_init).
5254 * libspi/registry.c:
5255 Added funcsions spi_listener_struct_new() and
5256 spi_listener_struct_free() to help with memory management issues.
5257 We also now use these methods instead of gnew + poking stuff into
5258 the struct, and to decrement listener counts/free the listeners
5259 when deregistering them.
5260 Fix more refcount bugs in getDesktop() and
5261 getDeviceEventController().
5264 De-ref the desktop after enumerating the applications. Explicitly
5265 decrement the refcounts on the created listeners on exit (using
5266 _unref for keystroke listeners, and via the
5267 deregisterGlobalEventListenerAll command for other event
5270 2001-11-27 Michael Meeks <michael@ximian.com>
5272 * cspi/spi-listener.h: fixup enum.
5274 2001-11-27 Michael Meeks <michael@ximian.com>
5276 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5277 (cspi_keystroke_listener_new): Use the cspi variants.
5279 2001-11-26 Michael Meeks <michael@ximian.com>
5281 * test/keysynth-demo.c: fix 2 compile warnings, missing
5284 * test/simple-at.c (report_focussed_accessible),
5285 (report_focus_event, report_button_press),
5286 (check_property_change, is_command_key),
5287 (report_ordinary_key_event, report_command_key_event): upd.
5289 * util/mag_client.h: include pre-requisites.
5291 * libspi/accessibleeventlistener.c
5292 (spi_event_listener_object_finalize): free any lingering
5295 * libspi/keystrokelistener.c
5296 (keystroke_listener_object_finalize): ditto.
5298 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5299 callbacks, with cspi types.
5301 * cspi/spi_event.c (createAccessibleEventListener): chain to
5302 (AccessibleEventListener_addCallback): here.
5303 (createAccessibleKeystrokeListener): chain to
5304 (AccessibleKeystrokeListener_addCallback): here.
5306 * libspi/keystrokelistener.c
5307 (spi_keystroke_listener_class_init): add signal.
5308 (impl_key_event): emit the event.
5309 (boolean_handled_accumulator): impl.
5310 (marshal_BOOLEAN__POINTER): add, gack.
5312 * libspi/accessibleeventlistener.c
5313 (spi_event_listener_class_init): add signal.
5314 (impl_accessible_event_notify_event): emit the signal &
5315 make the loop efficient.
5316 (spi_event_listener_add_callback): prepend the callback.
5318 * libspi/accessibleeventlistener.h: add an 'event' signal,
5319 decl type on callback.
5321 * libspi/keystrokelistener.h: ditto.
5323 * cspi/spi-listener.h: make methods typesafe and
5324 make them use the new event typedefs.
5326 * test/simple-at.c (report_focussed_accessible):
5327 include mag_client.h
5328 Use *(void *)text_interface not the other thing.
5330 * configure.in: add gtk to registryd bits - since we use
5333 * util/magnifier.c: include libbonobo.h
5335 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5337 * test/keysynth-demo.c:
5338 Turned this into a simple scanning keyboard, to demonstrate the
5339 use of g_timeout_add () as a means of creating timers for
5340 scanning, and the use of GtkStyle for visually indicating when
5341 virtual keyboard elements are selected.
5343 keysynth-demo now listens to any keyboard keys with zero-valued
5344 keycodes (i.e. 'unused' keys) and interprets them as
5347 Reworked the shiftlatch code so that shift-down state isn't held
5348 for long periods (it's only synthesized immediately prior to
5349 the keysynth event it's modifying). Note that shiftlatch in this
5350 demo is a convenience, not intended to take the place of AccessX
5351 which is the better choice for getting 'sticky' modifier keys.
5353 * libspi/deviceeventcontroller.c:
5354 * at-bridge/bridge.c:
5355 * cspi/spi_registry.c:
5356 Removed some debug print stuff, and put other verbosity in #ifdef
5361 Implemented some more of the magnifier IDL for the simple
5362 magnifier: namely, getZoomRegionParams.
5363 Added mag_x and mag_y members to MagnifierData struct, aid of this
5365 Added GtkWindow::realize signal handler to magnifier, to keep it
5366 from receiving keyboard focus from the WM.
5368 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5370 * cspi/spi-private.h: my guess at what michael forgot
5371 before he ran off to NZ :-)
5373 2001-11-23 Michael Meeks <michael@ximian.com>
5375 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5376 comment out non existant method invoke so we link.
5378 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5379 use bonobo_exception_get_text for more friendly warnings.
5381 * cspi/spi.c (Obj_Add): move into spi_main & rename
5382 spi_object_add; kill spi.c
5384 * cspi/spi_registry.c
5385 (deregisterGlobalEventListener),
5386 (deregisterGlobalEventListenerAll),
5387 (registerGlobalEventListener): fix exception leaks.
5389 * cspi/spi_main.c (spi_exception): impl. helper, so we
5390 don't leak exceptions.
5392 * cspi/spi_selection.c
5393 (AccessibleSelection_deselectSelectedChild): return the
5396 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5397 (spi_registry): ditto.
5398 (SPI_init): guard against double inits.
5400 * cspi/*.c: use spi_ev (), and spi_registry () where
5401 appropriate - a temporary hack until we have something
5402 better. Use spi_object_add
5404 2001-11-22 Michael Meeks <michael@ximian.com>
5406 * cspi/Makefile.am: re organise, install the headers.
5408 * cspi/*.h: add G_BEGIN/END_DECLS
5410 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5413 Added non-preemptive keylistener for key events with no modifiers
5414 and shift-only modifier.
5416 * libspi/keystrokelistener.c:
5417 Removed some verbose diagnostics printout.
5419 * cspi/spi_registry.c:
5420 Fixed a bug that caused all key listeners to be registered as
5423 * libspi/deviceeventcontroller.c:
5424 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5425 for non-preemptive key masks.
5428 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5430 * docs/reference/idl/at-spi-idl-docs.sgml:
5431 * docs/reference/idl/at-spi-idl-sections.txt:
5432 * docs/reference/idl/at-spi-idl-overrides.txt:
5433 Added missing files.
5435 * docs/reference/Makefile.am:
5436 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5437 to scan the IDL files :-(
5442 Added .cvsignore files.
5444 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5446 * libspi/deviceeventcontroller.c:
5447 * libspi/keystrokelistener.c:
5449 * cspi/spi_registry.c:
5450 Added filters for KeySets, KeyEventSeq, and event types to key
5451 event dispatching, so listeners should only receive those events
5452 that they requested :-)
5454 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5459 * docs/reference:Makefile.am:
5460 * docs/reference/cspi:
5461 * docs/reference/cspi:Makefile.am:
5462 * docs/reference/cspi:tmpl:
5463 * docs/reference/cspi:tmpl:*.sgml:
5464 * docs/reference/idl:
5465 * docs/reference/idl:Makefile.am:
5466 * docs/reference/idl:at-spi-idl-sections.txt:
5467 * docs/reference/idl:at-spi-idl-docs.sgml:
5468 * docs/reference/idl:tmpl:
5469 * docs/reference/idl:tmpl:*.sgml:
5471 Restructured docs directory to allow separate 'reference' docs
5472 section, and forked idl and cspi docs. Added the sgml template
5473 files to CVS. Added the first sections/structural sgml for the
5476 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5478 * configure.in, libspi/Makefile.am: find libXtst.
5480 2001-11-21 Michael Meeks <michael@ximian.com>
5482 * test/accessx-gui.c: s/spi_value/value/ - doh.
5484 * libspi/base.[ch]: add.
5486 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5488 * idl/Accessible.idl:
5489 * idl/Application.idl:
5492 Started gtk-doc cleanup on IDL.
5494 * libspi/deviceeventcontroller.c:
5495 Added and connected non-preemptive key notification from the
5496 toolkits (in addition to the pre-emptive support from XServer
5497 which we had before, but which causes 'focus flashing'). Filters
5498 are presently limited to key modifiers and global/non-global,
5499 KeySets are presently ignored, as are KeyEvent masks.
5501 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5502 structs into the persistant structure rather than just storing
5503 pointers to things that might not persist across servant
5506 The XGrabKey call now does async keygrabs, because synchronous
5507 ones were deadlocking with GDK_event code in a very nasty way.
5509 Added boolean to internal method notify_keylisteners, to indicate
5510 whether the event came from the 'toolkit source' or the 'global
5511 (XServer) source' - this is used in the notification process to
5512 determine which listeners to send the event to.
5514 deviceeventcontroller.c is now warning-free.
5516 * libspi/registry.c:
5517 Fixed regression in application de-registration.
5518 Also fixed some really brain-dead weirdness having to do with
5519 event dispatching - event structs are now duplicated before being
5520 re-marshalled in the dispatch to listeners. This also fixes a
5521 Solaris build problem.
5524 2001-11-20 Michael Meeks <michael@ximian.com>
5527 (impl_accessibility_registry_deregister_global_event_listener):
5530 * libspi/deviceeventcontroller.c
5531 (spi_device_event_controller_check_key_event): return
5532 FALSE on no virtual method.
5534 * libspi/*..h: make includes work on a correctly pathed install.
5536 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5538 * libspi/application.h: kill unused ( and whacked out )
5539 gboolean *spi_application_set_id (AtkObject *app, long id);
5541 2001-11-20 Michael Meeks <michael@ximian.com>
5543 * libspi/*.[ch]: further convert to bonobo's type func
5544 macros, remove redundnant casts etc.
5546 * libspi/text.c s/accessibility_text/spi_text/g,
5547 re-order to de-cruft.
5549 * libspi/hypertext.c: re-order to kill a huge slew
5550 of redundant forward decls.
5552 * libspi/relation.c: ditto.
5554 * libspi/image.c: ditto.
5556 * */.cvsignore: update
5558 2001-11-20 Michael Meeks <michael@ximian.com>
5560 * libspi/deviceeventcontroller.c
5561 (_controller_register_with_devices): use g_getenv,
5562 kill stdlib.h include.
5564 * libspi/keystrokelistener.c
5565 (spi_keystroke_listener_get_type): kill
5566 (spi_keystroke_listener_class_init),
5567 (spi_keystroke_listener_init): rename to this.
5569 * libspi/text.c (impl_getAttributes): fix warning / bug.
5571 * libspi/*.[ch]: more headers, includes and over commenting.
5573 2001-11-20 Michael Meeks <michael@ximian.com>
5575 * libspi/*.[ch]: fixup headers, includes and over commenting.
5577 * libspi/image.c (impl__get_imageDescription): const
5578 correctness warning fix. remove redundant casting.
5580 * libspi/table.c (impl_getRowDescription): ditto.
5581 (impl_getColumnDescription): ditto.
5583 * libspi/libspi.h: add.
5585 2001-11-19 Michael Meeks <michael@ximian.com>
5587 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5589 * libspi/component.c (accessibility_component_get_type):
5590 rename to (spi_component_get_type): and macroify.
5591 (accessibility_component_init): rename to
5592 (spi_component_init): this
5593 (accessibility_component_class_init): rename to
5594 (spi_component_class_init): this
5596 * libspi/action.c (spi_action_get_type): kill, use the macro.
5598 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5601 * libspi/application.c (spi_application_object_event_listener),
5602 (impl_accessibility_application_register_object_event_listener):
5603 warning fixes / const understanding updates.
5605 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5608 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5610 * libspi/spi_accessible.c: Added docs and C bindings for
5611 AccessibleStateSet. (No implementations yet). Documentation
5612 coverage for C bindings now 100%. Made docs for event listeners
5617 boolean notifyListenersSync (in DeviceEventListener listener,
5618 in DeviceEvent event);
5620 oneway void notifyListenersAsync (in DeviceEventListener listener,
5621 in DeviceEvent event);
5623 Added DeviceEventListener and DeviceEvent structs (may deprecate
5624 KeyStroke and KeystrokeListener in favor of this generic
5625 event/listener framework for devices).
5627 * libspi/deviceeventcontroller.c:
5629 Changed some key listener code to take masks, etc., and paved the
5630 way for integration of toolkit/non-preemptive key events. Changed
5631 signatures of some internal methods.
5633 * at-bridge/bridge.c:
5634 Fixed regression connecting to interface signals, apparently
5635 caused by GTK+ changes.
5637 Added an internal bridge_state_listener to deal with
5638 property-change:accessible-state signals.
5640 Changed the key_listeners GList to store structs (including masks,
5641 etc.) instead of just CORBA_Objects (required for full
5642 implementation of key listener API).
5644 Connected the bridge to all currently supported Atk signals.
5645 Events now supported:
5646 object:property-change
5647 object:property-change:accessible-name
5648 object:property-change:accessible-state
5649 object:property-change:accessible-description
5650 object:property-change:accessible-parent
5651 object:property-change:accessible-value
5652 object:property-change:accessible-role
5653 object:property-change:accessible-table-caption
5654 object:property-change:accessible-table-column-description
5655 object:property-change:accessible-table-column-header
5656 object:property-change:accessible-table-row-description
5657 object:property-change:accessible-table-row-header
5658 object:property-change:accessible-table-summary
5659 object:children-changed
5660 object:visible-data-changed
5661 object:selection-changed
5662 object:text-selection-changed
5664 object:text-caret-moved
5666 object:row-reordered
5668 object:column-inserted
5669 object:column-reordered
5670 object:column-deleted
5671 object:model-changed
5673 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5675 * libspi/hyperlink.c,h:
5676 Fixed some broken stuff in hyperlink.
5678 * libspi/relation.h:
5679 * libspi/relation.c:
5680 * cspi/spi_accessible.c:
5681 Initial implementations of AccessibleRelation methods, and docs.
5683 * libspi/accessible.c:
5684 Fixed a bug that caused SEGV if an accessible
5685 object's description is NULL, and a client
5686 requests it. An empty string is now returned.
5688 * cspi/spi_editabletext.c:
5689 * cspi/spi_hypertext.c:
5691 * cspi/spi_hyperlink.c:
5695 Doc coverage now 95%.
5697 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5699 One last namespacing revision:
5700 * libspi/accessibleeventlistener.[ch]:
5701 Renamed SpiAccessibleEventListener to SpiEventListener,
5702 (no need for two namespaces ;-)
5704 And lots of documentation fixes:
5706 * docs/at-spi-docs.sgml:
5707 Fixed 'underscore vs. hyphen' bug that was preventing
5708 the gtk-doc API docs from being automatically generated.
5711 * cspi/spi-listener.h
5713 * cspi/spi_accessible.c
5715 * cspi/spi_application.c
5716 * cspi/spi_component.c
5717 * cspi/spi_editabletext.c
5719 * cspi/spi_hypertext.c
5721 * cspi/spi_registry.c
5722 * cspi/spi_selection.c
5726 * docs/at-spi-docs.sgml
5727 * docs/at-spi-sections.txt
5729 Added and fixed up gtk-doc documentation in cspi.
5731 Interfaces now (fully) documented (subject to revision and enhancement):
5733 Event Listener Support
5735 AccessibleApplication
5739 AccessibleEditableText
5746 AccessibleRelationSet
5751 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5753 * at-bridge/bridge.c:
5754 Initial work for toolkit-level key snooper connection by bridge.
5759 New typedefs and fixes to support new namespacing, and cleaner
5760 separation of cspi bindings from libspi bonobo implementation.
5761 Removed inconsistent and extraneous Spi* namespace prefix that
5762 had crept into cspi headers.
5763 Lots of comment fixes that sed had missed.
5765 * cspi/spi-roletypes.h:
5766 * cspi/spi-statetypes.h:
5767 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5768 to AccessibleRoleType.
5770 * libspi/accessibleeventlistener.h:
5771 Fixed minor namespacing weirdness.
5773 * libspi/deviceeventcontroller.c:
5774 Reordered some internal API for device listeners.
5775 Changed the key registry final boolean to 'is_system_global'
5776 rather than 'is_synchronous', which is more descriptive of its
5778 Added spi_device_event_controller_new().
5779 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5781 * libspi/keystrokelistener.[ch]:
5782 Namespaced KeystrokeListener to SpiKeystrokeListener.
5783 Changed uses of keymasks to use SPI_ prefix, and did other
5786 * libspi/keymasks.h:
5787 Namespaced keymask constants with SPI_ prefix.
5789 * libspi/registry.c:
5790 Some warning fixes, and knock-on fixes from namespace changes.
5793 Added rules for accessx-gui test program.
5795 * test/accessx-gui.c:
5796 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5797 utility. It doesn't actually use at-spi, but it's still cool and
5800 * test/keysynth-demo.c:
5804 Fixes so that these test clients work properly with the namespaced
5805 libraries. (Incompletely tested for technical reasons, fixes may follow)
5808 2001-11-13 Michael Meeks <michael@ximian.com>
5810 * libspi/application.c
5811 (impl_accessibility_application_get_version),
5812 (impl_accessibility_application_get_toolkit_name):
5814 (impl_accessibility_application_set_id),
5815 (impl_accessibility_application_get_id): remove
5816 redundant casting code.
5818 * libspi/action.c (impl_getDescription): fix warnings.
5820 * libspi/accessible.c
5821 (impl_accessibility_accessible_get_parent),
5822 (impl_accessibility_accessible_get_child_at_index),
5823 (impl_accessibility_accessible_get_state),
5824 (impl_accessibility_accessible_get_relation_set):
5825 warning fixes & include action.h
5827 2001-11-13 Michael Meeks <michael@ximian.com>
5829 * *.[ch] fix bits I screwed up:
5831 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5832 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5834 2001-11-13 Michael Meeks <michael@ximian.com>
5836 * *.[ch] Namespace libspi into spi_ and Spi.
5838 2001-13-11 Michael Meeks <michael@ximian.com>
5840 * Makefile.am: dist & install at-spi-1.0.pc
5842 * libspi/Makefile.am: install into at-spi-1.0
5844 * idl/Makefile.am (idldir): install into at-spi-1.0
5846 * at-spi-1.0.pc.in: add.
5848 * configure.in: build it.
5850 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5852 * test/keysynth-demo.c:
5853 Use a 'realize' signal-handler to set the WM properties for
5854 the virtual keyboard, rather than making it a "POPUP" type
5855 override-redirect window (thanks to anders carlsson for that
5858 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5861 * test/keysynth-demo.c:
5862 Added new test of key synthesis, which creates a simple
5863 (mouse-operated) onscreen keyboard. It inserts key events into
5864 the currently-focused window, thus it does not grab keyboard focus
5867 * cspi/spi_registry.c:
5868 Added C binding for AT-SPI generateKeyEvent.
5870 * libspi/deviceeventcontroller.c:
5871 Added call to XFilterEvent so that key listener works with XIM (we
5872 hope). Added event_synth_type to generateKeyEvent, so that we can
5873 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5874 synthesize a press/release pair for KeySyms.
5876 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5878 * libspi/Makefile.am:
5879 * registryd/Makefile.am:
5880 (temporary) hack to include libXtst in libspi and registryd.
5881 (Needed for keystroke synthesis, see below).
5884 Improved API for registerKeystrokeListener, in accordance with
5885 discussions with Gnopernicus team and X server research.
5887 * libspi/registry.c:
5888 * libspi/deviceeventcontroller.c:
5889 * libspi/accessible.c:
5890 * libspi/keystrokelistener.c:
5891 Changes and fixes to support keylisteners for potentially
5892 consumed key events (that is, 'passive grabs').
5893 Added implementation for generateKeyEvent() [untested].
5896 Changes to registerKeystrokeListener() API, as above.
5897 Added deregisterGlobalEventListenerAll(), and
5898 deregisterKeystrokeListener(), which are needed for clean exit of
5900 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5901 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5903 * cspi/spi_registry.c:
5904 Added implementations of function prototypes mentioned above.
5906 * registryd/registryd.c:
5907 Added the key listener event source as a g_timeout(), to allow
5908 receipt of key events that are not caught by GDK (since GDK
5909 doesn't support passive keygrabs, this was necessary).
5912 Changed to attach a keylistener to 'Alt' keys, and
5913 respond to the following keycommands: Alt-M (toggle magnifier);
5914 Alt-F (toggle speech); Alt-Q (quit).
5915 Added an exit routine to deregister the listeners, and a key
5916 listener that prints some key info to the console when a key
5917 matches the listener mask (and is thus received by the listener).
5919 * util/idl/Magnifier.idl:
5920 Changes to magnifier API to support multiple zoom regions,
5921 non-uniform scaling in x and y, markDirty, and a host of other
5922 features that would be useful to magnification.
5925 * util/mag_client.c:
5926 * util/mag_client.h:
5927 * util/mag_control.c:
5929 Source code changes to support the above IDL changes.
5932 As above, and also changes to use a (slower) generic conversion
5933 path for colormap conversions, since the fast RGB conversions have been
5934 reported to fail for 16-bit displays.
5936 2001-10-26 Michael Meeks <michael@ximian.com>
5938 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5940 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5942 * at-bridge/Makefile.am: fix LDFLAGS.
5944 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5946 * at-bridge/bridge.c:
5947 Re-worked listeners for toolkit events, now we have signal
5948 and property listeners. Added a private method
5949 register_atk_event_listeners(), which registers with the
5950 various atk and gtk signals we need to monitor in order to emit
5952 Added emission hook for AtkObject:property-change events, to
5953 support the 'property listeners'.
5954 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5957 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5958 which emit warnings and exit, respectively, if CORBA errors occur
5959 during remote calls, and we now use these methods to check most of
5960 our CORBA calls in the C bindings.
5962 * cspi/spi_accessible.c:
5963 Changed AccessibleSelection_refSelectedChild() to
5964 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5965 now increment refcounts.
5967 * cspi/spi_component.c:
5968 Fixed some long pointer casts (dangerous!) to pass pointers to
5969 CORBA_longs of the proper type to the CORBA stubs, and copy the
5970 data into the longs that were passed into the C bindings code.
5972 * at-bridge/bridge.c:
5974 * libspi/accessible.c:
5975 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5976 hyperlinks, AtkHyperlink is an object type.
5978 * libspi/application.c:
5979 Added various conversions to and from "generic" event types and
5980 atk-specific types; this is really part of the 'bridge'
5981 implementation but is valid for all AtkObject-based accessibility
5984 * libspi/editabletext.c:
5985 Fixed nasty bug wherein editable text's finalize method was
5986 unref'ing tha AtkObject reference that the text parent class was
5987 about to unref _again_. There was also a nasty inheritance bug
5988 that meant that the AccessibleEditableText class was corrupt.
5990 * libspi/selection.c:
5991 Provided implementations for some selection API that was broken.
5993 * idl/Application.idl:
5994 Added registerObjectEventListener () method.
5997 Fixed a number of return values that were Bonobo_Unknowns from
5998 bonobo_object_corba_objref(), which I
5999 forgot to dup before returning. Changed instances of
6000 bonobo_object_corba_objref (bonobo_object(o)) to
6001 BONOBO_OBJREF(o), for concision and clarity.
6003 2001-10-13 Louise Miller <louise.miller@sun.com>
6005 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6006 idl/Event.idl, idl/Registry.idl
6007 Changed these files to include Bonobo_Unknown.idl instead
6010 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6012 * libspi/component.c libspi/component.h:
6013 Fixed typo. Added assertions for object checks in
6014 AccessibleComponent code.
6016 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6018 * idl/Accessible.idl:
6019 Added 'isEqual (Accessible *object)'
6020 method for Accessible. (Not Yet Implemented).
6023 Changed signature of registerKeystrokeListener() to
6024 take a KeySet and KeyEventSeq so that specific keys and event
6025 types could be requested for monitoring, and added a flag
6026 is_synchronous so that either synchronous or asynchronous
6027 notification could be requested. (However this is not all
6028 implemented yet). This also meant adding two new typedefs,
6029 KeyEventSeq and KeySet.
6032 Added two new relations, RELATION_TOOLTIP_FOR and
6033 RELATION_LEAFNODE_OF.
6036 Added new state, STATE_HAS_TOOLTIP.
6038 * libspi/text.c, editabletext.c:
6039 Added new assertions to all casts of bonobo-objects from
6040 CORBA servants, to prevent Text API calls on non-text objects.
6041 Changed suspect casts of int-pointer types, so that we
6042 always send a valid CORBA_long pointer to the CORBA APIs that use
6043 in/out long parameters. We then have to copy from the CORBA_long
6044 into the regular long or int for return to the C bindings, or
6045 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6048 * libspi/deviceeventcontroller.c:
6049 Cleaned these sources up.
6051 Changed return type for getCharacterAtOffset to
6052 CORBA_unsigned_long, to allow for 32-bit characters.
6055 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6059 Fixed 'make dist' so that distro compiles...
6060 * libspi/keymasks.h:
6062 * cspi/spi-listener.c:
6063 KeystrokeListenerCB now returns a boolean.
6065 Added KeyEventType struct, and KeyStroke.
6066 Also added createKeystrokeListener(),
6067 KeystrokeListener_addCallback(),
6068 KeystrokeListener_removeCallback(), and added a keymask to
6069 registerKeystrokeListener().
6070 * cspi/spi_accessible.c:
6071 Changed numerous return types for interfaces from
6072 AccessibleComponent to Accessible<InterfaceName>; this was
6073 probably a cut-and-paste error.
6075 Implementations of new KeystrokeListener api (from spi.h,
6078 Changes to key modifier mapping.
6079 Created ControllerEventMask struct.
6080 Made DeviceEventController derive from Bonobo::Unknown.
6082 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6083 * libspi/deviceeventcontroller.c:
6084 Added a number of new internal (private) methods.
6085 * libspi/editabletext.c:
6086 * libspi/editabletext.h:
6087 Fixed a number of bugs related to the fact that
6088 editabletext inherits from text. Fixed the EditableText struct,
6089 the init() call, and use correct casts when calling Text methods
6090 from an EditableText object. Removed (duplicate) atko from the
6091 EditableText structure, we use the one in the parent Text
6092 structure via the casts mentioned above.
6093 * libspi/keystrokelistener.[ch]:
6094 * libspi/registry.c:
6095 Changes in support of keyboard handling (above).
6097 Keyboard handling, though partly functional, is still not
6098 recommended for at-spi client use as there is considerable
6099 work yet to be done.
6102 Changed some places where pointers to various int types
6103 are cast to be pointers to CORBA_long types and vice-versa:
6104 pointer casting is not safe so we pass pointers of the correct
6105 types and then cast the result before putting it into the target
6108 * libspi/text.h: minor typos corrected.
6110 We now speak not only the name of a Text element, but the
6111 first sentence of its content, when it receives focus.
6112 I also changed the text compression to 75% from 50%.
6113 * util/Accessibility_Util.server.in:
6114 Changed the default magnifier type to be a 3x vertical
6115 splitscreen magnifier (was previously a 2x horizontal one).
6117 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6119 * libspi/keystrokelistener.h:
6120 * libspi/keystrokelistener.c:
6121 Initial functional implementations of KeystrokeListener.
6124 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6126 Fixed string handling for NULL strings in libspi.
6127 Added spi_freeString to free strings returned by C bindings.
6129 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6131 * libspi/keystrokelistener.h:
6132 * libspi/keystrokelistener.c:
6133 Began (no-op) implementations of KeystrokeListener
6135 * libspi/deviceeventcontroller.c:
6136 * libspi/deviceeventcontroller.h:
6137 Began creating implementations of DeviceEventController,
6138 to handle keystroke and mouse event listening and
6140 * libspi/accessible.c:
6141 Stubbed-in the implementations for
6142 Accessibility_Accessible_getState and
6143 Accessibility_Accessible_getRelationSet.
6144 * libspi/registry.c:
6145 Improved de-registration process and fixed some bugs,
6146 deregistration now works correctly.
6148 Added initialization of applications list (to NULL).
6150 Reduced speech compression from 0.5 to 0.7, for demo.
6151 Changed call to gdk_window_set_decorations()
6152 to gtk_window_set_decorated().
6153 * at-bridge/bridge.c:
6154 Bridge now deregisters when app exits, via
6155 registration of a cleanup function
6156 with the g_atexit() call.
6157 Required making 'app' static, renamed 'this_app'.
6158 Fixed broken use of bonobo_init, passing argv wrongly.
6160 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6164 Created a new directory for
6165 accessibility-related utilities, primarily for
6166 testing and demo purposes, but with possible
6173 Onscreen magnifier utility that
6174 is implemented as a bonobo service.
6176 * util/mag_client.c:
6177 * util/mag_client.h:
6178 Client-side support (simple C bindings)
6179 for Magnification service
6181 * util/mag_control.c:
6182 Client program example for
6183 Magnification service
6185 * util/Accessibility_Magnifier.server.in:
6186 Bonobo-activation file for the
6187 Magnification service.
6190 * util/idl/Magnifier.idl:
6191 IDL defining the bonobo Magnification
6195 Modifications to use the bonobo-activated magnifier
6196 above, in place of trying to connect to an existing
6197 magnifier that uses socket-listening IPC.
6199 If env variable MAGNIFIER is set, a magnifier service
6200 will be started if one does not exist.
6202 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6204 * at-bridge/bridge.c:
6205 applied patch from Marc to build and run
6206 against new glib and gtk+ (seemed like a change
6207 to bonobo_init signature was made ?)
6209 made festival-server support turned off by default.
6210 Added support for a simple magnifier (off by default)
6211 which will be added to a 'util' directory later.
6212 * at-bridge/Makefile.am:
6213 Changed "application.h" header from a 'source'
6214 to a 'dependency' of libat-bridge.
6216 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6225 Added interface implementation c files to list of
6226 includes so they are included in libcspi.
6229 Changed prototype of AccessibleAction_doAction to return a
6231 Changed prototype of AccessibleTable_getCaption to
6232 return an Accessible.
6233 Changed prototype of AccessibleTable_getSelectedRows
6234 and AccessibleTable_getSelectedColumns to
6235 return a long (returns the number of selected rows
6236 or columns respectively).
6237 Changed name of AccessibleText_refRunAttributes to
6238 AccessibleText_getAttributes.
6239 Changed prototype of AccessibleText_getCharacterExtents to
6240 return a void rather than a boolean.
6241 Added support for a AccessibleCoordType parameter
6242 specifying what type of coordinates are desired.
6243 Added an AccessibleCordType parameter to
6244 AccessibleText_getPointAtOffset.
6246 * cspi/spi_accessible.c:
6247 Added code to return the outstanding interfaces from
6248 Accessible_queryInterface.
6250 * cspi/spi_action.c:
6252 Corrected call to getNActions to call the c binding
6255 * cspi/spi_editabletext.c:
6257 Changed name from setRunAttributes to setAttributes.
6259 * cspi/spi_hyperlink.c:
6261 Changed call to getNAnchors to correctly call the c
6262 binding for an attribute.
6264 * cspi/spi_hypertext.c:
6266 Changed getImageDescription to correctly call the
6267 binding for an attribute.
6269 * cspi/spi_selection.c:
6270 Changed getNSelectedChildren to correctly call the c
6271 binding for the attribute.
6272 Changed refSelectedChild to getSelectedChild.
6276 Changed getCaption to return an Accessible.
6277 Fixed calls which retrieve attributes.
6278 Changed refAt to getAccessibleAt.
6279 Changed getNSelectedRows and getNSelectedColumns to
6283 Changed getCharacterExtents and getPointAtOffset to accept an
6284 AccessibleCoordType.
6286 Changed calls which retrieve attributes.
6287 Changed refRunAttributes to getAttributes.
6292 * idl/Hyperlink.idl:
6293 Changed n_anchors attribute to nAnchors to keep naming
6294 convention consistent.
6297 Made Table inherit from Bonobo::Unknown.
6298 Added nSelectedColumns and nSelectedRows attributes.
6301 Made Value inherit from Bonobo::Unknown.
6303 * libspi/hyperlink.c:
6304 Change for nAnchors attributte name change.
6306 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6314 Added interface implementation c files to list of
6315 includes so they are included in libcspi.
6318 Changed prototype of AccessibleAction_doAction to return a
6320 Changed prototype of AccessibleTable_getCaption to
6321 return an Accessible.
6322 Changed prototype of AccessibleTable_getSelectedRows
6323 and AccessibleTable_getSelectedColumns to
6324 return a long (returns the number of selected rows
6325 or columns respectively).
6326 Changed name of AccessibleText_refRunAttributes to
6327 AccessibleText_getAttributes.
6328 Changed prototype of AccessibleText_getCharacterExtents to
6329 return a void rather than a boolean.
6330 Added support for a AccessibleCoordType parameter
6331 specifying what type of coordinates are desired.
6332 Added an AccessibleCordType parameter to
6333 AccessibleText_getPointAtOffset.
6335 * cspi/spi_accessible.c:
6336 Added code to return the outstanding interfaces from
6337 Accessible_queryInterface.
6339 * cspi/spi_action.c:
6341 Corrected call to getNActions to call the c binding
6344 * cspi/spi_editabletext.c:
6346 Changed name from setRunAttributes to setAttributes.
6348 * cspi/spi_hyperlink.c:
6350 Changed call to getNAnchors to correctly call the c
6351 binding for an attribute.
6353 * cspi/spi_hypertext.c:
6355 Changed getImageDescription to correctly call the
6356 binding for an attribute.
6358 * cspi/spi_selection.c:
6359 Changed getNSelectedChildren to correctly call the c
6360 binding for the attribute.
6361 Changed refSelectedChild to getSelectedChild.
6365 Changed getCaption to return an Accessible.
6366 Fixed calls which retrieve attributes.
6367 Changed refAt to getAccessibleAt.
6368 Changed getNSelectedRows and getNSelectedColumns to
6372 Changed getCharacterExtents and getPointAtOffset to accept an
6373 AccessibleCoordType.
6375 Changed calls which retrieve attributes.
6376 Changed refRunAttributes to getAttributes.
6381 * idl/Hyperlink.idl:
6382 Changed n_anchors attribute to nAnchors to keep naming
6383 convention consistent.
6386 Made Table inherit from Bonobo::Unknown.
6387 Added nSelectedColumns and nSelectedRows attributes.
6390 Made Value inherit from Bonobo::Unknown.
6392 * libspi/hyperlink.c:
6393 Change for nAnchors attributte name change.
6396 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6398 implementations-- made server implementations own AtkObject pointers
6399 rather than their respective AtkInterrface pointers to fix
6400 refcounting. AtkHyperlink is still broken.
6402 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6403 * cspi/spi_accessible.c:
6404 Added method Accessible_Role_getName(),
6405 and requisite string array (role_names).
6406 Added conversion string_from_corba_strin() call
6407 to Accessible_getName and _getDescription.
6408 * libspi/accessible.c:
6409 Added implementation for Accessible_getRole()
6411 Added festival support, used if environment variable
6414 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6416 * at-bridge/bridge.c:
6417 Now allocate Accessibility_Event using
6418 Accessibility_Event__alloc() instead of g_new0().
6419 * libspi/accessibleeventlistener.c:
6420 Initialize AccessibleEventListener->callbacks to NULL.
6421 Fixed accessible__event_listener_init() param, changed to
6422 "AccessibleEventListener *" type.
6423 Changed a bonobo_object_release_unref() call to
6424 Accessibility_Accessible_unref().
6425 * libspi/listener.c:
6426 Changed Bonobo_Unknown_unref to (equivalent)
6427 Accessibility_Accessible_unref.
6428 * libspi/registry.c:
6429 Changed bonobo_object_release_unref to
6430 Accessibility_Accessible_unref.
6432 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6435 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6436 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6437 spi-util.c spi-util.h
6438 Implementations for C bindings to remaining accessibility
6441 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6444 changed return value of Action from void to boolean to
6445 bring in line with ATK.
6448 Changed getText funcions to return "out" start and end offsets.
6449 Changed getAttributes to take and offset and return the start
6450 and end offset of the attribute run.
6451 Changed getOffsetAtPoint and getCharacterExtents to take an
6452 enum describing whether coordinates are window or screen.
6455 libspi/action.c libspi/action.h libspi/editabletext.c
6456 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6457 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6458 libspi/image.h libspi/selection.c libspi/selection.h
6459 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6460 libspi/value.c libspi/value.h
6461 Added server implementations for outstanding ATK interfaces
6462 not yet implemented.
6464 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6467 Added (missing) getName() method.
6468 Made nActions an attribute.
6469 * idl/EditableText.idl:
6470 Changed order of params in setAttributes.
6471 * idl/Hyperlink.idl:
6472 Removed getAnchor, added getURI.
6474 Changed attributes to methods, for efficiency
6475 (so that getting extents can be done in one call)
6476 * idl/Selection.idl:
6477 Changed nSelectedChildren to attribute, and re-indented.
6478 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6480 * idl/Text.idl: reformatted to match our coding style.
6481 (temporarily?) removed getRowColumnAtOffset().
6482 Changed text selection API to support multi-select and
6483 non-contiguous selections, as in ATK.
6484 * idl/Value.idl: changed some methods to attributes.
6486 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6488 * libspi/listener.c(impl_notify_event):
6489 BonoboUnkown_unref the source instead
6490 of bonobo_object_release_unref - the ORB
6491 handles the releasing.
6493 * configure.in: require ORBit-2.3.94 for
6496 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6498 Tagged CVS repository 'EA_1_0'.
6499 * README.EARLY_ACCESS:
6500 Alphabetized acknowledgements list, and
6502 Listed some known dependencies of at-spi.
6504 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6506 * docs/at-spi-docs.sgml:
6507 * docs/at-spi-sections.txt:
6508 * docs/at-spi-overrides.txt: (Added zero-length file)
6509 Documentation improvements - gtk-doc should build
6510 docs for all implemented C bindings now.
6513 * cspi/spi.c: (New file)
6514 * cspi/spi_event.c: (New file)
6515 * cspi/spi_registry.c: (New file)
6516 * cspi/spi_accessible.c: (New file)
6517 * cspi/spi_application.c: (New file)
6518 * cspi/spi_component.c: (New file)
6519 Split spi_main.c into six parts, and included them from
6520 "spi.c". This is a bit of a hack, probably temporary,
6521 but required by gtk-doc, apparently.
6523 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6526 * docs/at-spi-docs.sgml:
6527 * docs/at-spi-sections.txt:
6529 Initial checkins/modifications for gtk-doc generation.
6532 Added (missing) interface query methods to Accessible's C binding.
6534 Added GenericInterface type definition.
6536 Added query for AccessibleComponent interface to focus event handler.
6537 Added printout of bounding box for focussed component.
6538 * libspi/component.c:
6539 Added partial implementation for AccessibleComponent to C binding.
6540 * idl/Application.idl:
6541 * libspi/registry.c:
6542 * libspi/listener.c:
6543 * libspi/application.c:
6544 * libspi/application.h:
6545 Changed "ID" attribute type from string to long.
6547 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6551 Made method naming consistent: methods taking object args
6552 start with uppercase, other methods (except those using
6553 acronyms) start with lowercase. Underscores delimit between
6554 object names and method names:
6555 SPI_init() - uppercase since it starts with an acronym.
6556 getDesktopCount () - lowercase start since no object param0.
6557 Accessible_getName() - uppercase object type name, studlyCaps method
6561 Added gtk-doc documentation for all currently implemented
6562 methods in the C bindings API.
6564 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6566 * Makefile.am : changed build order to build test last.
6569 Changed "createEventListener" to "CreateEventListener".
6570 * libspi/accessibleeventlistener.c :
6571 Bugfix for addition of callbacks.
6572 * test/Makefile.am :
6573 * test/simple-at.c :
6574 Added new test that uses the C bindings API.
6576 * libspi/listener.c :
6577 * libspi/registry.c :
6578 * libspi/accessibleeventlistener.c :
6579 * at-bridge/bridge.c :
6580 Renamed member "target" of Accessibility_Event to "source",
6581 which is more descriptive.
6584 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6588 * cspi/Makefile.am :
6589 Added makefile support for at-spi/cspi directory.
6592 * cspi/spi-listener.h : (NEW FILE)
6593 Added support for/use of spi-listener.h.
6595 C bindings now build successfully, with no warnings.
6596 * libspi/accessibleeventlistener.h : (NEW FILE)
6597 * libspi/accessibleeventlistener.c : (NEW FILE)
6598 * libspi/Makefile.am :
6599 Added new object type "AccessibleEventListener"
6600 which inherits from Listener, and allows attachment
6601 of in-process callbacks (so that a client with a listening
6602 object instance can add functionality to the local
6603 implementation, dynamically).
6605 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6607 * libspi/accessible.c:
6608 Add implementation for get_index_in_parent().
6610 Added #include of "spi-roletypes.h", and
6611 added enumerated type AccessibleCoordType.
6612 Added definition for KeystrokeListener (function type).
6615 * cspi/spi-statetypes.h :
6616 * cspi/spi-roletypes.h :
6618 Added these headers, used by spi.h.
6620 Added code (NOTE: not yet built by make).
6622 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6624 * libspi/Makefile.am: generate imodule
6625 at the same time as other idl compiler
6628 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6629 * libspi/registry.c :
6630 * libspi/application.c :
6631 * idl/Application.idl :
6632 Made registration with toolkit an application method,
6633 which is required since each app has its own toolkit static
6634 environment. Thus the bridge must register for
6635 notification of toolkit events from each application in turn.
6636 Toolkit notifications are now successfully registered for, and
6637 sent to the listening at client.
6639 Changed toolkit event string to use hyphens rather than underscores.
6640 * libspi/listener.c :
6641 listner now gives more info in debug mode - it reports the
6642 name of the event received, as well as the name of the source.
6645 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6647 * libspi/registry.c :
6648 added more implementation for toolkit events.
6649 Fixed bug such that toolkit event registrations
6650 (via atk) use the whole event name string, not
6652 Removed a useless call to an ORBit_ method.
6653 * at-bridge/bridge.c :
6654 Removed unused local sbuf[] variable.
6656 We now register for Gtk:GtkWidget:button_press_event
6657 events as well as "focus:" events.
6659 Add some more API from Registry.idl that was missing,
6660 for keystroke listening, keystroke and mouse event
6661 synthesis, and enumeration of accessible desktops.
6663 2001-08-16 Michael Meeks <michael@ximian.com>
6665 * configure.in: use AM_GLIB_GNU_GETTEXT.
6667 * Makefile.am (SUBDIRS): kill intl.
6669 2001-08-15 Michael Meeks <michael@ximian.com>
6671 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6673 * configure.in: upd.
6675 * configure.in: depend on a recent bonobo-activation that
6676 will find our server files ...
6678 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6680 * libspi/accessible.c : accessible_new() :
6681 Now we add the Component interface via bonobo_object_add_interface,
6682 if the contained AtkObject implements AtkComponent.
6683 * libspi/accessible.h : now include "component.h"
6684 * libspi/component.h :
6685 * libspi/component.c : added files - implementation of
6686 bonobo wrapper object for Accessibility/Component
6687 * libspi/listener.c :
6688 Added test code to check for Accessibility/Component:1.0
6689 interface and report whether it is implemented by the
6691 * libspi/registry.c :
6692 Now we check for not only the hash of the whole event
6693 string before relaying the event, we also check the
6694 "minor" event string (without the detail string).
6695 This allows event listeners to be registered against
6696 all events of a certain major+minor type, or just
6697 against a specific major+minor+detail type.
6698 * libspi/accessible.c :
6699 Added implementations for Accessible:get_parent(),
6700 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6701 * libspi/registry.c :
6702 * libspi/listener.c :
6703 Replaced calls to Accessibility_Accessible_ref() and
6704 Accessibility_Accessible_unref() with
6705 calls to bonobo_object_dup_ref() and
6706 bonobo_object_release_unref(), so that the CORBA object
6707 is dup-ed and released when relayed, as well as the bonobo object.
6709 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6711 * libspi/Makefile.am,
6712 registryd/Makefile.am,
6713 at-bridge/Makefile.am.
6714 test/Makefile.am, configure.in:
6715 reverse previous changes.
6717 * /idl/Image.idl: fix typo.
6719 * test/Makefile.am: put DEBUG_FLAGS
6722 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6724 * test/app.c: use argv[0] instead of
6727 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6729 * libspi/Makefile.am,
6730 registryd/Makefile.am,
6731 at-bridge/Makefile.am.
6732 test/Makefile.am, configure.in:
6733 cleanup, replace individual LIBS/CFLAGS with
6734 AT_COMMON_{LIBS|CFLAGS}.
6738 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6740 * configure.in, libspi/Makefile.am:
6741 Change IDL path checking for bonobo-activation
6744 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6746 * registryd/registry.c : separated event listeners to use
6747 3 separate lists (focus, window, toolkit). Began testing
6748 event names against hashes before relaying events.
6749 * test/at.c : now register for events of type "focus:"
6750 * test/app.c : now generate events of type "focus:"
6751 * at-bridge/bridge.c : register with ATK for focus events,
6752 and we now relay those focus events to any "focus:" listeners.
6753 This now works with the bridge as a GTK_MODULE when running test/at.
6754 * libspi/registry.c :
6755 * libspi/listener.c :
6756 now we ref event sources before propagating, and unref on receipt.
6757 * libspi/registry.c :
6758 some changes to internal structs, to support event typestring hashes.
6759 * text/app.c : changed the way the appname is generated.
6760 * cspi : added directory that will hold the C bindings library for
6761 non-CORBA/bonobo-savvy clients.
6762 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6763 * idl/Component.idl : added in parameter to indicate coord system for
6764 geometry-related calls.
6765 * idl/Hyperlink.idl : added readonly n_links attribute
6766 * idl/Image.idl : changed methods to attributes.
6768 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6770 * at-bridge/Makefile.am: link against
6771 ../libspi/libspi.la instead of -lspi.
6773 * at-spi/test/app.c: include
6774 bonobo-activation.h. Use a default appname
6775 if one is not provided.
6777 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6779 * idl/Registry.idl : temporarily changed register_Application
6780 to oneway, to work around issue with initial registration
6782 * idl/Application.idl : changed attribute "id" from readonly
6783 to read-write, since it needs to be assigned by Registry.
6784 * registryd/registryd.c : added call to set application id
6786 * registryd/registry.c : changed de-registration procedure to
6787 use CORBA_Object_hash() to find matching object ref in application
6788 lists and listener lists.
6789 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6790 began distinguishing between event types (work in progress).
6792 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6795 * libspi/application.c:
6796 Added implementations for get/set id, get_toolkitName,
6798 * registryd/registryd.c :
6802 Converted from use of OAF to bonobo-activation.
6803 * libspi/desktop.h :
6804 * libspi/desktop.c :
6806 Removed references to atksimpleobject, since base atkobject
6807 implementation now provides functionality we need.
6808 * libspi/atksimpleobject.c :
6809 * libspi/atksimpleobject.h :
6814 * at-bridge/Makefile.am
6815 * at-bridge/bridge.c
6818 Added directory "bridge" and contents, and added dependencies
6819 in Makefile.am/configure.in.
6820 Initial checkin of "at-bridge".
6821 This code is a GTK_MODULE which automatically registers
6822 GTK+ apps with the accessibility registry, using an object
6823 reference to the root ATK object.
6825 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6827 * po/Makefile.in.in: Remove. Again. If this
6828 doesn't get autogenerated - you need to update
6831 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6833 * po/Makefile.in.in: Add. Again.
6835 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6837 * libspi/accessible.c : added support for 'description' property.
6838 * libspi/accessible.c
6840 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6841 (since the two are now equivalent in libbonobo)
6849 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6850 Bonobo::Unknown as does Accessibility::Accessible.
6851 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6852 interface with Bonobo::Stream, since it was redundant with it.
6853 (The Stream returned by a StreamableContext object is expected to
6854 implement only a subset of Bonobo::Stream)
6856 2001-07-28 Anders Carlsson <andersca@gnome.org>
6858 * libspi/accessible.c (accessible_object_finalize): Change
6859 g_free to g_object_unref since the AtkObject is a GObject.
6861 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6863 * idl/Accessibility.idl: add new IDL files
6866 * idl/Action.idl: Definitions of actionable UI object
6867 * idl/Component.idl: Definitions of UI component geometry, etc.
6868 * idl/Hyperlink.idl: Defs of hyperlink behavior
6869 * idl/Image.idl: Def of accessible image
6870 * idl/Selection.idl: Definition of UI object with selectable children
6871 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6872 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6873 * idl/Text.idl: Interface defs for UI elements with complex textual content
6874 * idl/Value.idl: Definition of UI element that is a value controller or display
6876 2001-07-27 Michael Meeks <michael@ximian.com>
6878 * po/Makefile.in.in: remove autogenerated file from CVS.
6880 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6883 * idl/Registry.idl: include guard.
6885 * idl/Accessibility.idl: Add, and include all the other IDL
6888 * idl/*.idl: remove mass of pragmas etc.
6890 2001-07-26 Michael Meeks <michael@ximian.com>
6892 * registryd/Makefile.am (registryd_SOURCES): remove
6895 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6897 * libspi/.cvsignore, registryd/.cvsignore,
6898 test/.cvsignore: updated.
6900 * po/Makefile.in.in: gettext update.
6902 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6904 * initial CVS checkin
6906 2001-06-29 Michael Meeks <michael@ximian.com>
6908 * configure.in: add AM_CONFIG_HEADER to gen config.h