1 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
3 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
5 2004-04-28 Bill Haneman <billh@gnome.org>
7 * Makefile.am: Added --enable-gtk-doc to
8 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
10 2004-04-19 Bill Haneman <billh@gnome.org>
12 * configure.in: Revved to 1.5.1.
14 * registryd/deviceeventcontroller.c:
16 (DEControllerPrivateData): Added fields for
17 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
18 (spi_dec_replace_map_keysym): New internal utility for
19 replacing a keysym in the keymap - used to allow
20 synthesis of individual characters which aren't in the
22 (spi_dec_reset_reserved): New; resets the changed keysym value
24 (keycode_for_keysym): We now try to deal with failed
25 XKeysymToKeycode requests by changing a keymap value
26 and returning a reserved keycode. We now take
27 a DEController pointer as first arg.
28 (spi_controller_register_with_devices): Call XkbGetMap with
29 the XkbKeySymsMask. Find the highest keycode in the current
30 keymap which doesn't have any grabs, and mark that one for
31 temporary re-mapping when out-of-range KeySyms are synthesized.
32 (dec_synth_keycode_press): Call XFlush after synthesizing the key
35 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
37 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
39 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
41 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
43 2004-03-24 Bill Haneman <billh@gnome.org>
46 (AccessibleTable_addRowSelection),
47 (AccessibleTable_addColumnSelection),
48 (AccessibleTable_removeRowSelection),
49 (AccessibleTable_removeColumnSelection):
50 Add declarations for spi wrappers which were
51 inadvertantly omitted. Fixes bug #133413.
54 Revved to 1.5.0 (unstable series for GNOME 2.7).
56 2004-03-24 Bill Haneman <billh@gnome.org>
58 * atk-bridge/bridge.c:
59 Bracketed some debug output in
60 conditionals, to avoid printing it in normal use.
64 Don't cast 'object' to ATK_OBJECT when constructing
65 an AtkAction interface for a hyperlink.
66 See discussion in bug #120659.
68 * test/key-listener-test.c:
69 (report_all_key_event): Send output to stderr,
70 not stdout, for consistency with the rest of the test callbacks.
73 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
74 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
75 Incremented to 1.4.1 (but didn't dist yet - I'm going to
76 try incrementing the revision AFTER doing a dist, at least
79 2004-03-22 Bill Haneman <billh@gnome.org>
81 * configure.in: Revved to 1.4.0, libtool 9.14.9
83 2004-03-17 Laszlo Peter <laca@sun.com>
85 * libspi-1.0-uninstalled.pc.in: add idldir
87 * cspi-1.0-uninstalled.pc.in: add idldir
89 2004-03-16 Gareth Owen <gowen72@yahoo.com>
91 * configure.in: Added "en_GB" to ALL_LINGUAS
93 2004-03-15 Bill Haneman <billh@gnome.org>
95 * configure.in: Revved to 1.3.16,
98 2004-03-15 Laszlo Peter <laca@sun.com>
100 * libspi-1.0-uninstalled.pc.in: new file
102 * cspi-1.0-uninstalled.pc.in: new file
104 * configure.in: add the new pc files to AC_OUTPUT
106 * Makefile.am: add the new pc files to EXTRA_DIST
108 2004-03-12 Bill Haneman <billh@gnome.org>
110 * atk-bridge/bridge.c:
111 (spi_atk_bridge_key_listener):
112 Make sure to return consumed=FALSE if snoop
113 event is not dispatched to listener.
116 2004-03-01 Bill Haneman <billh@gnome.org>
118 * configure.in: Revved to 1.3.15,
121 2004-03-07 Danilo Segan <dsegan@gmx.net>
123 * configure.in: Added "sr@ije" to ALL_LINGUAS.
125 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
127 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
129 2004-03-01 Bill Haneman <billh@gnome.org>
131 * configure.in: Revved to 1.3.14.
134 (SPI_exit): Removed "bye-bye" exit message.
135 Moved "leak" report to happen before the
136 iteration over the leaked refs list.
137 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
139 2004-02-24 Bill Haneman <billh@gnome.org>
141 * configure.in: Revved to 1.3.13.
143 * docs/reference/cspi/Makefile.am:
144 Correct typo that was breaking the docs build.
146 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
148 * autogen.sh: Require version 1.7 of automake.
150 * configure.in: call GTK_DOC_CHECK([1.0])
152 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
154 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
156 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
158 * test/Makefile.am: Remove use of CFLAGS.
160 This fixes bug #132987.
162 2004-02-11 Bill Haneman <billh@gnome.org>
164 * reverted most of Tomasz' patch below, since it was breaking
165 builds (see bug #134058).
167 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
169 * docs/reference/cspi/at-spi-cspi.types: added empty file for
170 correct pass "make dist" (empty .. because seems no sach types in
171 header files with gtk-doc markups).
172 * docs/reference/cspi/Makefile.am, configure.in:
173 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
174 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
175 * Makefile.am: added:
176 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
177 for force correct pass generate documentation on "make distcheck".
178 * libspi/Makefile.am: fixes for automake >= 1.6.
179 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
180 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
183 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
185 * docs/reference/cspi/Makefile.am (install-data-local): Install
186 index.sgml since the doc autobuilder on widget.gnome.org looks for
189 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
191 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
194 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
196 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
198 2004-01-27 Brian Cameron <brian.cameron@sun.com>
200 * test/simple-at.c: Fixed null string problems that cause core
201 dumping problems on Solaris.
203 2004-01-12 Bill Haneman <billh@gnome.org>
205 * configure.in: Incremented version to 1.3.11.
207 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
209 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
210 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
213 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
215 * configure.in: Added "fa" to ALL_LINGUAS.
217 2003-12-20 Arafat Medini <lumina@silverpen.de>
219 * configure.in: Added "ar" to ALL_LINGUAS
221 2003-12-16 Bill Haneman <billh@gnome.org>
223 * registryd/registry-main.c:
225 Set the reg_env DISPLAY variable before registering the
226 activated registry service. Fixes bug #129479.
228 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
230 * configure.in: Added "id" in ALL_LINGUAS
231 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
233 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
235 * registryd/deviceeventcontroller.c (global_filter_fn):
236 When an event is consumed discard any XEvents were added to
237 the queue while dealing with the the event. This can happen if
238 processing of the event takes a long time. Call XUngrabKeyboard
239 if an event was discarded. This fixes bug $124837.
240 Only call wait_for_release_event for a KeyPress.
241 Use local variable display instead of spi_get_display().
242 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
245 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
247 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
248 Allow for mask to contain values other than NumLock mask.
251 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
253 * registryd/devieceventcontroller.c:
254 (wait_for_release_event): Change first parameter from GdkEvent to
256 (global_filter_fn); Correct call to wait_for_release_event.
260 2003-12-08 Bill Haneman <billh@gnome.org>
264 * registryd/ucs2keysym.c: New file.
266 * registryd/deviceeventcontroller.c:
267 (dec_keysym_for_unichar): Remove old partial implementation and
268 replace with call to ucs2keysym(), which is much more complete.
269 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
274 2003-12-05 Bill Haneman <billh@gnome.org>
276 * configure.in: Version 1.3.9.
278 * docs/reference/cspi/tmpl/spi_registry.sgml:
279 Added reference to libspi/keymasks.h to the
280 description of Registry queries: AccessibleKeyMaskType.
283 2003-12-04 Bill Haneman <billh@gnome.org>
287 * idl/Accessibility_Application.idl:
288 (Accessibility::LOCALE_TYPE): New enum, corresponds to
289 setlocale's LC_TYPEs.
290 (Accessibility::Application::getLocale): New method.
291 Allows clients to query the locale, by type, of an app.
294 * cspi/spi_application.c:
295 (AccessibleApplication_getLocale): New method, wraps IDL above.
297 * libspi/application.c:
298 (spi_application_class_init): Init epv entry for getLocale.
299 (impl_accessibility_application_get_locale): Impl for above.
301 * test/test-simple.c:
302 (test_application): Added assertion for getLocale, i.e.
303 that the string from AccessibleApplication_getLocale (app, type)
304 is the same as that from setlocale (type, NULL);
306 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
308 *registryd/deviceeventcontroller.c: Add an idle handler which polls
309 the keyboard on a timeout intil the key state goes from pressed to
310 released. Fixes bug #111429.
312 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
314 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
315 root object so that it is present when a context menu in an
316 out-of-process applet is popped up.
317 (spi_atk_bridge_do_registration): Create acceessible application root
318 object only if it does not exist.
320 This fixes bug #125834.
322 2003-12-01 Bill Haneman <billh@gnome.org>
324 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
327 Added enum for AccessibleStreamableContentSeekType.
328 (AccessibleStreamableContent_freeContentTypeList): New.
330 * cspi/spi_streamablecontent.c:
331 (accessible_bonobo_stream_client_seek): New private method.
332 (AccessibleStreamableContent_seek): Implemented this method,
333 using Bonobo_Stream_seek.
334 (AccessibleStreamableContent_freeContentTypeList): New method
335 for freeing the return value from
336 AccessibleStreamableContent_getContentTypes.
337 (stream_cache_item_free): Replaces stream_release; stop leaks.
338 (stream_release): removed.
339 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
340 free the memory properly.
342 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
346 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
348 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
350 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
352 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
354 2003-12-01 Bill Haneman <billh@gnome.org>
356 Fix for bug/rfe #127463.
358 * idl/Accessibility_Accessible.idl:
359 (getLocalizedRoleName): New.
360 (unimplemented4): Removed (replaced by above).
362 * libspi/accessible.c:
363 (impl_accessibility_accessible_get_local_role_name): New.
364 (spi_accessible_class_init): Add getLocalizedRoleName entry to
368 (Accessible_getLocalizedRoleName): New.
370 * cspi/spi_accessible.c:
371 (Accessible_getLocalizedRoleName): New.
373 2003-12-01 Bill Haneman <billh@gnome.org>
376 * idl/Accessibility_Text.idl:
377 (getDefaultAttributes): New.
378 (unimplemented4): Removed (replaced by above method).
381 (impl_getDefaultAttributes): New method.
382 (spi_text_class_init):
383 initialize the get_default_attributes slot in the epv.
386 (AccessibleText_getDefaultAttributes): New prototype.
389 (AccessibleText_getDefaultAttributes): New method.
391 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
393 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
394 write beyond the end of the table. Fixes bug #120473.
396 2003-09-30 Christian Rose <menthos@menthos.com>
398 * configure.in: Added "eu" to ALL_LINGUAS.
400 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
402 * configure.in: ALL_LINGUAS: Added no.
404 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
406 * configure.in: Added lt to ALL_LINGUAS.
408 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
410 * atk-bridge/bridge.c:
411 (atk_bridge_init): Register event listeners always even for
412 out-of-process applet.
413 (spi_atk_bridge_toplevel_added): Remove call to
414 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
415 (spi_atk_bridge_toplevelk_removed): Remove call to
416 spi_atk_deregister_event_listenersa as the listeners are now always
418 (spi_atk_bridge_register_application): Remove call to
419 spi_atk_register_event_listeners as it is not done in atk_bridge_init
421 This fixes bug #120991.
423 * libspi/table.c (impl_getColumnDescription): Correct typo,
424 pointed out by Bolian.Yin@sun.com.
426 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
428 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
430 2003-09-08 Bill Haneman <billh@gnome.org>
432 * configure.in: Revved to 1.3.7.
434 This is the GNOME 2.4.0 release of at-spi.
436 * docs/reference/cspi/Makefile.am:
437 Removed spurious inclusion of 'index.sgml' in the
438 html directory; this was breaking make distcheck and
439 also some other build environments.
441 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
443 * registryd/registry.[ch}:
444 Add queue_handler_id and focus_object to SpiRegistry data structure.
445 (registry_flush_event_queue): If event being discarded is
446 "state-change:focused" store object as focus_object.
447 (registry_start_queue): Remove queue handler and focus object
449 (registry_discard_event): New function which discards a focus event
450 if we had stored focus object in the registry.
451 (registry_queue_event): Add new check that is_queueing is set as this
452 function is reentrant.
453 (registry_filer_event): Add call to registry_discard_event.
455 This resolves issues raised in bug #108664.
457 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
459 * configure.in: Added "bn" to ALL_LINGUAS.
461 2003-09-04 Bill Haneman <billh@gnome.org>
463 * cspi/spi_event.c: Documentation improvements for
464 (SPI_registerAccessibleKeylistener).
466 * docs/reference/tmpl/spi_registry.sgml:
467 Documentation improvements for SpiAccessibleKeylistenerCB.
469 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
471 * configure.in: Added "ro" to ALL_LINGUAS.
474 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
476 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
477 not decremented to zero. Fixes bug #120725.
479 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
481 * configure.in: Added "ja" to ALL_LINGUAS.
483 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
485 * configure.in: Added "is" to ALL_LINGUAS.
487 2003-08-22 Christian Rose <menthos@menthos.com>
489 * configure.in: Added "nl" to ALL_LINGUAS.
491 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
493 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
494 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
496 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
498 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
499 type for unspecified exception.
500 * cspi_streamablecontect): Add include of string.h for memcpy.
501 (stream_release): Correct call to bonobo_object_release_unref
502 (stream_cache_item_free): Correct call to bonobo_object_release_unref
503 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
504 argument of _cspi_expection_throw.
505 * libspi/hyperlink.c: Add include of libspi/action.h:
506 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
507 * libspi/streamablecontent.c: add include of libspi/component.h.
508 * regisrtyd/deviceeventcontroller.c:
509 (spi_dec_translate_mask): Removed unused variable priv.
510 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
511 * registryd/registry.c:
512 (registry_filter_event): Remove unused variable queue_is-empty.
513 (impl_registry_notify_event): Use correct modifier in fprintf call.
515 This fixes compiler warnings reported in bug #120220.
517 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
519 * registryd/registryd.c: Remove this file.
521 2003-08-17 Sanlig Badral <badral@openmn.org>
523 * configure.in: Added mn to ALL_LINGUAS.
525 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
527 * configure.in: Added et to ALL_LINGUAS.
529 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
531 * test/event-listener-test.c: Change active-descendant to
532 active-descendant-changed.
534 2003-08-10 Sami Pesonen <sampeson@iki.fi>
536 * configure.in: Added "fi" in ALL_LINGUAS.
538 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
540 * configure.in: Added "hi" in ALL_LINGUAS.
542 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
544 * configure.in: Revved to 1.3.6.
548 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
550 * registryd/deviceeventcontroller.c
551 (spi_device_event_controller_object_finalize): Fix typo in previous
554 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
556 * registryd/deviceeventcontroller.c
557 (spi_device_event_controller_object_finalize): Fix build on
558 systems without XEvIE.
560 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
562 * acconfig.h, configure.in, registryd/Makefile.am,
563 registryd/devicecontoller.[ch]: Add XEViE support.
565 2003-08-06 Wang Jian <lark@linux.net.cn>
567 * configure.in: Added "zh_CN" to ALL_LINGUAS.
569 2003-08-06 Metin Amiroff<metin@karegen.com>
571 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
573 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
575 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
576 MODIFIER_ALT in correct place.
578 This fixes part of bug #118114.
580 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
582 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
584 2003-07-28 Changwoo Ryu <cwryu@debian.org>
586 * configure.in: Added "ko" to ALL_LINGUAS.
588 2003-07-28 Ole Laursen <olau@hardworking.dk>
590 * configure.in: Added "da" to the commented out ALL_LINGUAS.
592 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
594 * configure.in: Added "sq" to ALL_LINGUAS.
596 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
598 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
600 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
602 * configure.in: updated ALL_LINGUAS list
604 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
606 * configure.in: Added Belarusian to ALL_LINGUAS.
608 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
610 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
612 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
613 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
615 This fixes bug #116949.
617 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
619 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
620 Correct CSPI to SPI in function documentation.
622 This fixes bug #118054.
624 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
626 * configure.in: Added Russian to ALL_LINGUAS.
628 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
630 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
632 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
634 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
636 2003-07-10 Joel Brich <joel.brich@laposte.net>
638 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
640 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
642 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
644 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
646 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
647 resources allocated for AccessibleEvent. See cspi_event().
649 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
650 static variable streams to NULL.
652 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
653 Update so that AcessibleEvent_ref will work.
655 This fixes bug #116624.
657 2003-07-06 Jordi Mallach <jordi@sindominio.net>
659 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
661 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
663 * configure.in: Added "fr" (French) to ALL_LINGUAS.
665 2003-07-02 Christian Neumair <chris@gnome-de.org>
667 * configure.in: Added "de" (German) to ALL_LINGUAS.
669 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
671 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
673 2003-07-01 Miloslav Trmac <mitr@volny.cz>
675 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
677 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
679 * configure.in: Added "pl" to ALL_LINGUAS.
681 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
683 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
685 2003-06-30 Bill Haneman <bill.haneman@sun.com>
688 (get_action_from_servant):
689 Removed assertion that action is implemented on an AtkObject.
691 * libspi/hyperlink.c:
693 Aggregate AccessibleAction interface on the hyperlink object if
694 the object implements AtkAction. (This convention is used in
697 2003-06-30 Bill Haneman <bill.haneman@sun.com>
699 * configure.in: Revved to 1.3.5.
701 * registryd/Accessibility_Registry.server.in.in:
702 Marked up appropriate strings for translation.
704 * atk-bridge/bridge.c: Marked a couple of
705 user-visible warnings for translation. Questionable
706 whether they are really useful, but possibly so.
709 2003-06-28 Christian Rose <menthos@menthos.com>
711 * configure.in: Added "sv" to ALL_LINGUAS.
713 2003-06-26 Bill Haneman <bill.haneman@sun.com>
715 * registryd/registry.c:
716 (spi_registry_object_finalize): Unref the deviceeventcontroller.
717 (registry_defer_on_event): Defer focus: events, this is an
718 improvement to the patch for bug #108664.
720 * TODO: Update with 2.4/"Dev Complete" items.
722 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
724 * atk-bridge/bridge.c:
725 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
726 looks up signals once.
727 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
728 if doing registration.
729 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
730 when doing registration.
732 This fixes bug #115014.
734 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
736 * atk-bridge/bridge.c:
737 (atk_bridge_init): Add signal handler for children-changed:remove on
738 root when in a BonoboComponent.
739 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
740 for first toplevel only other incrememt variable toplevels.
741 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
742 application and remove listeners.
743 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
745 (spi_atk_deregister_event_listeners): New function which removes
747 (reinit_register_vars): New fuction which reinitializes variables.
749 This fixes bug #111578.
751 2003-06-13 Bill Haneman <bill.haneman@sun.com>
753 * configure.in: version 1.3.4.
755 * cspi/spi_accessible.c:
756 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
759 2003-06-13 Michael Meeks <michael@ximian.com>
761 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
763 * cspi/spi_main.c (cspi_peek_ev): impl.
765 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
767 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
769 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
771 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
772 SPI_ROLE_AUTOCOMPLETE
774 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
776 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
777 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
779 2003-06-11 Bill Haneman <bill.haneman@sun.com>
781 * libspi/streamablecontent.h:
782 * libspi/streamablecontent.c:
783 New files, provide implementation/wrappers for
784 Accessibility_StreamableContent.
786 * cspi/spi_streamablecontent.c:
787 Connected the C wrappers to the libspi C bindings.
788 (AccessibleStreamableContent_close): New method.
791 (AccessibleStreamableContent_close): New method, needed
792 since we have an "open, [seek], read, close" model in cspi.
794 2003-06-11 Bill Haneman <bill.haneman@sun.com>
796 Fix for #108664; Padraig's revision of my original patch.
798 * registryd/registry.h:
799 Added event queue list, is_queuing, and exit_notify_timeout
800 to the registry struct.
802 * registryd/registry.c:
803 (registry_init): Initialize new struct from registry.h.
804 (impl_registry_notify_event):
805 Filter events before notifying, in case some need to be
807 (registry_filter_event): New,
808 we defer certain incoming events (for instance
809 window:deactivate) because we may wish to hide
810 or reject them based on pending events. This is
811 mostly a workaround for bug #108664.
812 (registry_queue_event, registry_start_queue): New.
813 (registry_defer_on_event): Test event to see if it
815 (registry_reset_on_event): Returns TRUE if the
816 event should cause a queue reset.
817 (registry_discard_on_event): Returns TRUE if the event
818 should cause the previous queue contents to be discarded.
819 (registry_timeout_flush_queue): Flushes the pending event
820 queue if no reset/discard-triggering events have come in
821 within the timeout period.
822 (registry_emit_event): New.
823 (registry_clone_notify_context): New, used when queueing the
824 event notify contexts.
826 2003-06-10 Bill Haneman <bill.haneman@sun.com>
828 * configure.in: Version revved to 1.3.2, lt 0.9.2
829 Incremented ATK required version to 1.3.4.
831 * cspi/spi_registry.c:
832 (SPI_generateKeyEvent):
833 We now pass the keystring along if it's non-null.
835 * registryd/deviceeventcontroller.c:
836 (keysym_mod_mask): New method, returns modifier mask
837 required to generate a keysym from a given keycode.
838 (dec_synth_keysym): New method.
839 (dec_synth_keystring): New method.
840 (dec_get_modifier_state): New method.
841 (dec_lock_modifiers): New
842 (dec_unlock_modifiers): New.
843 (dec_keysym_for_unichar): New, rather brute-force
844 conversion from UCS-4 to X KeySyms. Only works for
845 Latin at the moment, with partial implementations for
846 Greek, Hebrew, and (incomplete) Katakana.
847 (impl_generate_keyboard_event): Now implement
848 "KEYSTRING" synthesis and implement "KEYSYM"
850 (keycode_from_keysym): Improved, passes a returned
851 modmask value now if the corresponding param is non-NULL.
853 Fixes bugs #92143 and #109776.
856 * test/keysynth-test.c:
857 New test program for key synthesis, to confirm fixes for
861 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
863 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
865 * cspi/spi_accessible.c (cspi_init_relation_type_table):
866 Add line for RELATION_POPUP_FOR
868 * docs/reference/cspi/tmpl/spi_relation.sgml:
869 Add relation SPI_RELATION_POPUP_FOR
871 * docs/reference/cspi/tmpl/spi_stateset.sgml:
872 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
874 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
876 * libspi/relation.c (spi_init_relation_type_table):
877 Add line for RELATION_POPUP_FOR
879 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
881 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
882 there are still windows which have not been deleted and emit
883 window:deactivate, if necessary and window:destroy events.
884 This fixes bug #114370. The change on June 5th was not correct.
886 2003-06-09 Bill Haneman <bill.haneman@sun.com>
888 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
891 (SPI_dupString): Allow dup-ing of a string such that it's safe to
893 New methods for client exception handling and interception.
894 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
895 (SPI_exceptionHandlerPop): You guessed it...
896 (SPI_getSourceType): Return the type of object which offended.
897 (SPI_getExceptionCode): Return an enum code telling, possibly,
898 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
899 (SPIAccessibleException_getSource): get the source object for
900 exceptions that come from Accessibles, if SPIExceptionSourceType is
901 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
902 (SPIException_getDescription): New, returns a string description of
903 the problem. [Not yet a stable ABI, strings are not frozen]
905 * cspi/spi-private.h:
906 Added implementation details of opaque SPIException
910 Implementations of above. Also
911 (_cspi_exception_throw): new private method that
912 dispatches exceptions to handlers, called from cspi-bonobo.c
914 * cspi/bonobo/cspi-bonobo.c:
915 (cspi_check_ev): call _cspi_exception_throw.
916 Don't print a warning message if the exception has been
917 handled by _cspi_exception_throw.
919 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
921 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
922 there are still windows which have not been deleted and emit
923 window:deactivate, if necessary and window:destroy events.
924 This fixes bug #114370.
926 2003-06-03 Bill Haneman <bill.haneman@sun.com>
929 (cspi_accessible_is_a): Make non-fatal
930 if the object reference is dead.
932 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
934 * cspi/spi_main.c: #include <stdio.h>
935 * test/simple-at.c: ditto
936 * test/event-listener-test.c: ditto
937 * test/screen-review-test.c: ditto
939 2003-05-30 Michael Meeks <michael@ximian.com>
941 * test/test-simple.c (main): use CORBA_ORB_perform_work
942 instead of an unnecessary linc_ call.
944 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
946 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
947 Add SPI_STATE_INDETERMINATE.
949 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
952 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
954 * libspi/stateset.c (init_state_type_tables): Add support for
957 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
959 * configure: Update versions of atk and gail required.
960 This fixes bug #113268.
962 2003-05-02 Bill Haneman <bill.haneman@sun.com>
964 * configure.in: Revved micro version to 1.3.1 (because of build fix).
966 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
968 * libspi/Makefile.am:
969 Ensure headers are generated before being used by c sources.
971 2003-05-01 Bill Haneman <bill.haneman@sun.com>
974 Simplified lt versioning rules.
975 Incremented version to 1.3.0, to indicate that we're on the
978 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
980 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
981 Add MKDB_OPTIONS=--outtput-format=xml
983 * docs/reference/cspi/at-spi-cspi-docs.sgml
984 docs/reference/idl/at-spi-idl-docs.sgml:
985 Convert to Docbook XML.
987 This fixes bug #111793.
989 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
991 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
992 AcccessibleKeyEventType, AccessibleKeyMaskType.
994 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
996 * cspi/state-types.h: Add documentation for AccessibleState.
998 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
999 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1000 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1001 AccessibleComponentLayer.
1003 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1006 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1008 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1009 Accessible. Add description of AccessibleEvent,
1010 AccessibleEventListenerCB.
1012 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1015 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1016 documentation. Add description of AccessibleKeystrokeListenerCB,
1017 AccessibleKeyEventMask, AccessibleModifierMaskType,
1018 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1019 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1021 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1024 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1027 This fixes bug #104730.
1029 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1031 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1032 Set is_text field of Accessibility_DeviceEvent data structure.
1034 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1035 is-text field of AccessibleDeviceEvent data structure.
1037 This addresses part of bug #108666.
1039 * registryd/devcieeventcontroller.c: Unset debug option.
1041 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1043 * cspi/accessible.c:
1044 (cpi_initial_relation_type_table): New function which initializes
1045 mapping between Accessibility_RelationType and AccessibleRelationType.
1046 (cspi_relation_type_from_spi_relation_type): New function which
1047 translates an Accessibility_RelationType into an AccessibleRelationType.
1048 (AccessibleRelation_getRelationType): Use
1049 cpi_relation_type_get_spi_relation_type to return correct value.
1050 (spi_state_to_corba): Return correct type for default case.
1052 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1053 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1055 * cspi/cspi-bonobo-listener.c:
1056 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1059 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1060 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1061 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1062 libspi/image.c, libspi/listener.c, libspi/selection.c,
1063 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1064 registryd/desktop.c, registryd/registry.c:
1065 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1067 * libspi/eventlistener.c
1068 Remove semicolon after BONOBO_TYPE_FUNC.
1070 * libspi/relation.c:
1071 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1072 (spi_init_relation_type_table): Initialize using correct type.
1074 * registryd/desktop.c:
1075 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1076 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1077 of Accessibility_KeyEventType.
1079 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1082 * tests/simple-at.c, tests/screen-review-test.c:
1083 Add include for <strings.h>.
1085 * tests.stress-test.c:
1086 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1088 These changes fix compiler warnings when using FORTE compiler on
1089 Solaris; fixes bug #107479.
1092 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1095 * configure.in: revved to 1.1.10
1097 * libspi/keymasks.h:
1098 (SPI_KEYMASK_NUMLOCK): Added.
1100 * registryd/deviceeventcontroller.c:
1101 (spi_key_event_matches_listener): AND with a smaller
1102 bitmask (as we should).
1103 (spi_dec_translate_mask):
1104 New method, sets the virtual NumLock modifier bit
1105 if numlock is on. Eventually it can handle other virtual
1106 modifier bits if needed, or other marshalling from
1107 at-spi modifier masks to platform (X) masks.
1108 (spi_dec_key_listener_new):
1109 Call spi_dec_translate_mask to set up virtual mod bits
1110 in the 'mask' field when creating a new listener struct.
1111 (spi_dec_emit_modifier_event):
1112 Set the virtual (i.e. NumLock) bits before emitting event.
1113 (spi_controller_register_with_devices):
1114 Query for the NumLock modifier 'physical' bit if Xkb is
1115 present, for use in above methods.
1119 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1121 * registryd/deviceeventcontroller.c:
1122 (spi_keystroke_from_x_key_event):
1123 Instead of checking to see if the keysym is
1124 printable, check the string from XLookupString
1125 if available, get the first unicode character from it,
1126 and call g_unichar_isprint to determine whether the
1127 is_text flag should be TRUE or FALSE.
1131 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1133 * atk-bridge/bridge.c: Add support for extended events
1134 * cspi/spi_event.c: Add documentation and implementation for
1136 * tests/event-listener-test.c: Add tests for extended events.
1138 This fixes bugs #100424 and #100426.
1140 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1142 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1143 of LT_CURRENT. This fixes bug #89350.
1145 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1147 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1148 number of signal parameter values before accessing them. This fixes
1151 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1153 * configure.in: Fixed duplicate inclusion of -lspi.
1154 * branched for gnome-2-2/HEAD.
1155 [created tag "gnome-2-2"]
1157 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1159 * configure.in: 1.1.9 release.
1162 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1164 [needed by GOK, to fix bugs 107985 and 107988]
1165 * registryd/deviceeventcontroller.c:
1166 (spi_dec_clear_unlatch_pending):
1167 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1168 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1169 (spi_dec_init_mouse_listener):Emit warning if mouse button
1171 (spi_device_event_controller_forward_mouse_event):
1172 Removed unnecessary parens from a conditional.
1173 (global_filter_fn):Added TODO comment.
1174 (impl_generate_keyboard_event):
1175 Cancel a pending relatch if a 'delatching' key was
1178 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1180 * atk-bridge/bridge.c:
1181 Change atk_signal_child_changed to atk_signal_children_changed.
1182 Reorganize code in spi_atk_bridge_signal_listener().
1184 * test/event-listener-test.c:
1185 Add children_changed_listener and report_children_changed_event()
1186 to test AccessibleChildEvent_getChildAccessible.
1188 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1190 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1191 g_strdup to CORBA_String_dup (bug #105291)
1193 * test/event-listener-test.c (report_text_event): Add call to
1196 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1198 * registryd/deviceeventcontroller.c:
1199 (spi_keystroke_from_x_key_event):
1200 Fix string and keysym return codes to match modifier state.
1203 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1205 * registryd/deviceeventcontroller.c:
1206 (spi_keystroke_from_x_key_event):
1207 Fix segv due to improper use of isprint(c). [bug #107254]
1209 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1212 (get_accessible_text_boundary_type):
1213 Move default return value to (new) default case in switch.
1214 (get_accessible_text_clip_type):
1215 Move default return value to (new) default case in switch.
1217 * libspi/application.c:
1218 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1219 Remove unused methods.
1220 (impl_accessibility_application_register_object_event_listener):
1221 Remove unused methods.
1224 Added #include of <math.h>.
1226 * registryd/deviceeventcontroller.c:
1227 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1228 we don't currently use this method.
1229 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1231 (impl_generate_key_event):
1232 Remove unused variables.
1233 (impl_generate_mouse_event):
1234 Initialize button to zero, just in case we get an invalid
1235 input. Added support for mouse buttons 4 and 5.
1236 (spi_device_event_controller_new):
1237 Removed unused variable declaration for 'private'.
1239 Added #include of <gdk/gdk.h>
1241 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1243 * configure.in: Update to work when X is not installed in expected
1244 location. Fixes bug #105836.
1246 * atk-bridge/bridge.c
1247 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1249 (spi_atk_register_event_listener): Add signal listener for
1251 (spi_atk_bridge_signal_listener): Event event when link-selected
1252 signal is emitted. (bug #104622)
1254 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1255 on returned string. (bug #105291)
1257 * test/event-listener-test.c: Add test for link-selected.
1259 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1261 * atk-bridge/Makefile.am: Correct typo in previous commit.
1263 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1265 * atk-bridge/Makefile.am: Allow for build directory to be different
1266 from source directory
1268 * registryd/Makefile.am: Allow for build directory to be different
1269 from source directory
1273 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1276 Fixed dependencies for libcspi so that libspi gets pulled in
1277 properly. Fixes 104741.
1281 Clean up inline docs a little.
1283 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1285 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1286 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1287 the AtkObject within an SpiDesktop.
1288 This addresses bug #101524.
1290 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1291 Remove call to gdk_init().
1293 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1294 so that Display is set when SpiDesktop is created.
1296 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1298 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1299 This fixes bug #102830.
1301 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1303 * test/test-simple.c: Update to take account of fact that GailButton
1304 now implements AtkText.
1305 (create_text_window): Set name on AtkObject for GtkEntry.
1306 (validate_accessible): Check accessible name before calling test_text().
1308 * libspi/Makefile.am: Fix problem with building outside of source
1309 directory. Bug #98120.
1311 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1312 typo in documentation comments. Bug #94275.
1314 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1316 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1318 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1321 Add includes to avoid compiler warnings on Solaris.
1322 (impl_getRangeExtents): Bug fix.
1324 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1326 Fix for 100944, [API addition approved by Gman and murrayc].
1333 * idl/Accessibility_Text.idl:
1334 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1335 (Text::getRangeExtents): New method for efficient
1336 bounds query of a text range.
1337 (Text::getBoundedRanges): New method for efficient
1338 clipping of text to bounding boxes.
1339 (unImplemented7, unImplemented8):
1340 Removed these padding methods to preserve bincompat.
1343 (impl_getRangeExtents): implementation of new IDL.
1344 (impl_getBoundedRanges): implementation of new IDL.
1345 (SpiTextRect): Internal use struct.
1346 (_spi_text_rect_union): internal method, calculates union of two
1347 SpiTextRect bounding rects.
1348 (_spi_text_range_seq_from_gslist): internal method, allows us
1349 to build our sequence efficiently as a gslist then convert it
1351 (_spi_bounds_contain): internal method, determines whether
1352 a text character is "in" or "out" of a clip rect according to
1353 values of TEXT_CLIP_TYPE.
1354 (spi_text_class_init): Initialize the new methods in the epv.
1357 (AccessibleTextClipType): New enum used by screen review api.
1358 (AccessibleTextRange): New struct used by screen review api.
1359 (AccessibleText_getRangeExtents):
1360 cspi binding for Accessibility_Text_getRangeExtents.
1361 (AccessibleText_getBoundedRanges):
1362 cspi binding for Accessibility_Text_getBoundedRanges.
1363 (AccessibleTextRange_freeRanges): convenience method.
1366 (AccessibleText_getRangeExtents):
1367 cspi binding for Accessibility_Text_getRangeExtents.
1368 (AccessibleText_getBoundedRanges):
1369 cspi binding for Accessibility_Text_getBoundedRanges.
1370 (AccessibleTextRange_freeRanges): convenience method.
1371 (get_accessible_text_clip_type): internal conversion method.
1372 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1374 * registryd/deviceeventcontroller.c:
1375 (spi_dec_mouse_check):
1376 Improved behavior for mouse:abs events
1377 [same granularity as mouse:rel events, and no
1378 events when mouse is idle].
1380 2002-12-16 Michael Meeks <michael@ximian.com>
1382 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1384 * libspi/stateset.c (state_spi_to_atk): split out
1385 ( fix several remote array bounds nasties )
1386 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1387 (impl_remove): make safe from array bounds issues.
1388 (spi_atk_state_from_spi_state): impl.
1390 * libspi/stateset.h (spi_state_set_cache_is_empty):
1391 add a set of wrapper defines to get layering right.
1393 * cspi/spi_accessible.c: update state set stuff to
1396 2002-12-14 Michael Meeks <michael@ximian.com>
1398 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1399 to avoid 2 roundtrips to the registry per key event
1400 (spi_atk_bridge_key_listener): upd.
1401 (deregister_application): release the dec.
1403 * registryd/registry.c (notify_listeners_cb):
1404 bin lots of re-enterant complexity - we no longer
1405 do a round-trip bonobo ref here, ensure that a single
1406 listener's exception failure won't poison all other
1408 (impl_registry_notify_event): bin obvious memory leak.
1410 2002-12-13 Michael Meeks <michael@ximian.com>
1412 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1413 init the ev so the error is meaningful.
1414 (spi_atk_bridge_key_listener): ditto.
1416 * cspi/spi_main.c (cspi_ev): init the ev so we start
1417 with a clean slate, otherwise the first exception
1418 kills us completely.
1420 * cspi/spi_text.c (get_accessible_text_boundary_type):
1421 add a fallthrough for no warnings.
1423 * cspi/spi_registry.c: prune unused warnings.
1425 * cspi/spi_main.c (cspi_object_take): fix
1426 mind-blowing brokenness ( by watching the compile
1429 * cspi/spi_accessible.c (Accessible_getStateSet):
1430 re-impl. to use an AtkStateSet.
1431 (spi_state_type_from_accessible_state),
1432 (init_state_table): bin these.
1434 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1436 (atk_state_set_from_accessibility_state_set): here.
1438 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1439 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1440 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1441 (AccessibleStateSet_add, AccessibleStateSet_remove),
1442 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1443 (AccessibleStateSet_isEmpty): re-write to use a local
1446 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1448 * configure.in: Revved to 1.1.7 (new keymask vals).
1450 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1452 * libspi/keymasks.h:
1453 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1455 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1458 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1459 to compare two CORBA_TypeCodes.
1460 (cspi_internal_event_add): Silence warning from FORTE compiler.
1462 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1463 avoid implicit declaration of functions.
1465 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1467 * atk-bridge/bridge.c:
1468 (spi_atk_bridge_init_event_type_consts): Store signal id for
1469 active-descendant-changed signal.
1470 (spi_atk_register_event_listeners): Add signal listener for
1471 active-descendant-changed signal,
1472 (spi_atk_bridge_signal_listener): Move code in function
1473 spi_atk-signal_emit_event() into this function.
1474 Add support for active-descendant-changed
1475 Update support for child-changed signal.
1476 (spi_bridge_window_event_listener): Silence warning.
1478 * libspi/spi_private.[ch]:
1479 (spi_init_any_object): Change second parameter from CORBA_Object to
1481 Omit call to CORBA_Object_duplicate().
1482 Set CORBA_any's _value to CORBA_Object*.
1484 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1490 (AccessibleEvent_ref, AccessibleEvent_unref):
1491 New methods, for persisting an event outside the emission context.
1492 Must be used if the new accessor methods are to be called
1493 outside of the event listener's callback.
1495 * cspi/bonobo/cspi-bonobo.c:
1496 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1497 as second parameter instead of NULL, so we can call
1498 cspi_check_ev afterwards.
1501 (cspi_object_take): New internal method,
1502 converts a CORBA_Object reference to a hard ref on
1503 an Accessible if possible, returning NULL if the object
1504 reference is invalid or an Accessible * otherwise.
1507 (AccessibleEvent_ref):
1508 Increment the event's internal private refcount, and
1509 add the event's internal struct to an internal cache
1510 if it's not already there.
1511 (AccessibleEvent_unref):
1512 Decrement the event's refcount and remove it from
1513 the cspi event cache if refcount==0.
1514 (cspi_event_compare): New private method.
1515 Compares two event structs via their ids. Used
1517 (cspi_internal_event_lookup): New private method.
1518 (cspi_internal_event_check): New private method,
1519 a 0-order sanity check for events to make sure their
1520 private data is intact.
1521 (cspi_internal_event_add, cspi_internal_event_remove):
1522 New private methods for managiing the event cache.
1524 * cspi/bonobo/cspi-bonobo-listener.c:
1526 Initialize the new private data elements (id, magic, ref_count).
1528 * atk-bridge/bridge.c:
1529 (spi_atk_bridge_signal_listener):
1530 Fixed bug #100530, passing wrong params to emission func.
1532 * registryd/deviceeventcontroller.c:
1533 (spi_dec_button_update_and_emit):
1534 Fixed type in mask bit operations; fix for #99799.
1536 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1538 Removed some of the more dangerous workarounds from
1539 previous commit; they are only needed by GOK, which
1540 in reality should be using another method to accomplish
1541 the goals. So on reconsideration some of the workarounds
1542 need to be reverted:
1544 * registryd/deviceeventcontroller.c:
1545 (spi_keycodes_contain, spi_dec_init_keycode_list):
1546 Removed these methods, used only by a nasty hack to try
1547 and detect whether a key synthesis should be allowed
1548 to reset the XKB latch state or not. This code was only
1549 required to work around an interaction between GOK,
1550 button events, and XKB.
1551 (impl_generate_key_event):
1552 Removed hack at end of key generation that tried to
1553 "do the right thing" if XKB latch keys were generated
1554 in the midst of button press/release pairs.
1557 Added a check for HAVE_XINPUT. Not normally used yet.
1559 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1561 Workarounds and fixes for mouse event/XKB interaction.
1563 * registryd/deviceeventcontroller.c:
1564 (spi_keycodes_contain, spi_dec_init_keycode_list):
1565 New internal methods.
1566 (spi_dec_set_unlatch_pending):
1567 Split the method that tells XKB to expect an
1568 unlatch (and revert it) out of the rest of the
1569 event handling code. This method is called by the
1570 two mouse event handlers (the poll and the filter).
1571 (spi_dec_update_and_emit, spi_dec_mouse_check):
1572 New methods split from spi_dec_poll_mouse_moved.
1573 The second one is now called from inside the filterFn
1574 when an XKB delatch event is received, to determine
1575 whether to revert the delatch or not.
1576 (spi_poll_mouse_moved): Refactor; also we can now
1577 properly handle the case where multiple button states
1578 have changed between polling cycles and we didn't get
1579 notified due to another client's grab.
1581 Synchronize the server while handling an XKB notification.
1582 Ugly, but apparently necessary to avoid nasty races.
1583 Check the mouse state on receipt of an XKB latch change,
1584 to decide whether to revert the latch or not. (Latches are
1585 reverted if there is an immediately preceding mouse button
1586 event that a client has consumed, in which case we don't want
1587 the user to see the side-effect of the event).
1588 (spi_device_event_controller_forward_mouse_event):
1589 Check for modifier events and fire before resetting mouse_mask_state,
1590 prevents losing modifier events.
1592 (impl_generate_keyboard_event):
1593 If we've just generated a keyboard event for a non-shift key,
1594 we don't want to revert the pending XKB latch.
1595 Otherwise, check the modifier state (via a call to
1596 spi_dev_mouse_check) and set the relatch mask to
1597 that state before returning.
1599 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1602 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1605 * atk-bridge/bridge.c:
1606 (spi_atk_register_event_listeners):
1607 Don't re-register for ATK events if the registry has died
1608 and the app needs to re-register; the ATK listeners are in
1609 process and doing so will cause duplicate emission.
1611 * registryd/deviceeventcontroller.c:
1612 (spi_poll_mouse_moved):
1613 Reformat the source, detect and emit multiple button-change
1614 events (i.e. if multiple buttons have changed between poll
1616 Add code to detect mouse-down events even when the pointer
1617 is grabbed; workaround for GOK bug 98420.
1618 (spi_controller_register_with_devices):
1619 Call XTestGrabControl with 'impervious' flag set to True,
1620 allows us to synthesize events and query the pointer even during
1621 an active grab by another client.
1622 (spi_device_event_controller_forward_mouse_event):
1623 Set the mouse_mask_state to the mouse_button_state from
1624 the intercepted event, to synchronize the grab listener with
1627 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1629 * cspi/spi_accessible.c:
1630 (AccessibleRole_getName):
1631 Added necessary strings for making this (deprecated)
1632 method work with the new role types.
1633 (init_role_table, role_table):
1634 Added definition of SPI_ROLE_APPLICATION.
1636 * libspi/spi-roletypes.h:
1637 Added SPI_ROLE_APPLICATION.
1639 * idl/Accessibility_Role.idl:
1640 Added ROLE_APPLICATION.
1642 * docs/reference/cspi/at-spi-cspi-decl.txt:
1643 Added SPI_ROLE_APPLICATION to docs.
1645 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1647 * cspi/spi_accessible.c
1648 (cspi_init_role_table): Do not write beyond end of role_table.
1649 (Accessible_getRole): Use correct type for value returned by
1650 Accessibility_Accessible_getRole().
1652 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1653 beyond end of role_table. (This fixes bug #98269)
1655 * libspi/application.c: Add include file spi-private.h for
1656 definition of spi_init_any_nil.
1658 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1662 * libspi/spi-private.h:
1663 Added DGB() macro, and extern int _dbg declaration.
1665 * registryd/registry.c:
1666 (definitions) storage for _dbg.
1667 (spi_registry_init):
1668 Get environment variable "AT_SPI_DEBUG".
1669 (spi_registry_set_debug):
1670 New method, to initialize _dbg value.
1671 (spi_listener_struct_new, spi_registry_object_finalize):
1672 (notify_listeners_cb):
1673 Changed fprintfs to use DBG and g_warning().
1675 * registryd/deviceeventcontroller.c:
1676 (_deregister_keygrab, spi_controller_register_device_listener):
1677 Changed debug/warning messages to use DBG macro.
1679 * libspi/listener.c:
1680 (impl_notify_event):
1681 Changed warning messages to use DBG macro and g_warning().
1683 * atk-bridge/bridge.c:
1684 (atk_bridge_init, spi_atk_bridge_get_registry):
1685 (spi_atk_bridge_exit_func):
1686 (spi_atk_bridge_property_event_listener):
1687 Changed status, warning, and error messages to use
1688 g_warning, g_message, and DBG macros.
1691 Read the state of the AT_SPI_DEBUG environment variable
1692 and set a local '_dbg' accordingly.
1694 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1696 FIXES for 98836, 98842, other bugs.
1699 Revved to 1.1.4, interface-age=4, binary-age=4.
1701 * registryd/deviceeventcontroller.c:
1703 Fixed crasher bug in last_mouse_pos initialization.
1705 * registryd/registry.c:
1706 (desktop_add_application, desktop_remove_application):
1707 Added (and then commented out) some support for
1708 object context marshalling. [TODO]
1710 * atk-bridge/bridge.c:
1711 (spi_atk_bridge_event_context_create):
1712 Commented out object context creation until it can
1713 be properly tested and debugged.
1715 * registryd/registry.c:
1716 (impl_registry_notify_event):
1717 Fixed crasher bug, we were calling
1718 spi_re_entrant_list_foreach () with an empty list.
1720 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1722 * idl/Accessibility_Action.idl:
1723 * idl/Accessibility_Component.idl:
1724 * idl/Accessibility_Desktop.idl:
1725 * idl/Accessibility_Event.idl:
1726 * idl/Accessibility_Hyperlink.idl:
1727 * idl/Accessibility_Image.idl:
1728 * idl/Accessibility_Relation.idl:
1729 * idl/Accessibility_Selection.idl:
1730 * idl/Accessibility_State.idl:
1731 * idl/Accessibility_Value.idl:
1732 Updated unimplemented slot count to minimum of
1733 four for all interfaces, for ABI freeze.
1735 * idl/Accessibility_EditableText.idl:
1736 * idl/Accessibility_Text.idl:
1737 Updated unimplemented slot count to six
1740 * idl/Accessibility_Registry.idl:
1741 Updated unimplemented slot count to six
1742 (also for DeviceEventController),
1745 * idl/Accessibility_Table.idl:
1746 Updated unimplemented slot count to eight,
1749 * idl/Accessibility_Event.idl:
1750 Added CORBA_any "any_data" member to Event struct.
1752 * idl/Accessibility_Event.idl:
1753 Added CORBA_any "any_data" member to Event struct.
1755 * atk-bridge/bridge.c:
1757 atk_signal_text_changed, atk_signal_child_changed,
1758 signal ids queried from gtype system.
1759 (AtkBridgeEventContextType): New enum.
1760 (AtkBridgeEventContextData): New struct.
1761 (AtkBridgeEventContext): New struct.
1762 (atk_bridge_init_event_type_consts):
1763 New method, initializes type contants for comparison
1764 prior to emit_eventv.
1765 (atk_bridge_event_context_init): New method,
1766 initializes a CORBA_any from an AtkBridgeEventContext.
1767 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1768 initialize the event.any_data struct.
1769 (spi_atk_bridge_event_context_create): New method,
1770 creates an AtkBridgeEventContext from signal/event info.
1771 (spi_atk_bridge_event_context_free): New method.
1772 (spi_atk_emit_eventv): Changed to take an
1773 AtkBridgeEventContext parameter. We now initialize
1774 the event.any_data member prior to notifying the
1775 Registry, via the AtkBridgeEventContext.
1776 (spi_atk_bridge_property_event_listener):
1777 (spi_atk_bridge_state_event_listener):
1778 Match emit_eventv signature.
1779 (spi_atk_bridge_object_event_listener):
1780 Match emit_eventv signature, and create an
1781 event context from the event details.
1782 Free the event context afterwards.
1783 (spi_atk_bridge_window_event_listener):
1784 Create an event context, pass it to the
1788 (AccessibleEvent_getContextString):
1789 (AccessibleEvent_getContextObject):
1790 New methods, allow query of AccessibleEvent objects
1791 for more context details (via the "any_data" member
1792 of the Event struct, above).
1795 Definitions for AccessibleEvent_getContextString
1796 and AccessibleEvent_getContextObject.
1798 * cspi/spi_listener.h:
1799 (InternalEvent): New struct.
1802 (AccessibleEvent_getContextString):
1803 (AccessibleEvent_getContextObject):
1804 Implementations of new methods, for obtaining
1805 additional context information from some event types.
1807 * cspi/spi_registry.c:
1808 (SPI_registerGlobalEventListener):
1809 Added mention of active-descendant-changed event in docs.
1811 * cspi/cspi-bonobo-listener.c:
1813 Marshal the any into the AccessibleEvent via
1816 * libspi/spi-private.h:
1817 #include <orbit/orbit.h>
1819 (spi_init_any_string):
1820 (spi_init_any_object):
1821 New convenience function declarations.
1825 (spi_init_any_string):
1826 (spi_init_any_object):
1827 New convenience function implementations.
1829 * registryd/deviceeventcontroller.c:
1830 (spi_poll_dec_mouse_moved):
1831 (spi_device_event_controller_forward_mous_event):
1832 Initialize any_data member of event.
1833 (spi_deregister_controller_device_listener):
1834 Fix incorrect param pass which was preventing deregistration.
1836 * registryd/registry.c:
1837 (desktop_add_application):
1838 (desktop_remove_application):
1839 Add object data to event's any_data before dispatch.
1841 Fix for error messages from GAIL.
1843 * test/event-listener-test.c:
1844 Test new ContextString and "any_data" API:
1845 (report_text_event): New method query and output context string.
1846 (main): register a new text listener with report_text_event
1849 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1851 Fixes for bugs 98127 and 97914.
1852 * cspi/spi-roletypes.h:
1853 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1855 * cspi/spi-statetypes.h:
1856 Added SPI_STATE_MANAGES_DESCENDANTS
1858 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1859 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1860 * cspi/spi_accessible.c:
1861 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1862 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1863 Accessibility_STATE_MANAGES_DESCENDANTS
1864 * libspi/accessible.c:
1865 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1866 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1867 As requested by Bill, I also cleaned up the alignment.
1868 * libspi/relation.c:
1869 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1870 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1871 * libspi/stateset.c:
1872 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1873 Accessibility_STATE_MANAGES_DESCENDANTS
1874 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1875 Document changes reflecting modifications to roles.
1876 * docs/reference/cspi/tmpl/spi_relation.sgml:
1877 Document changes reflecting modifications to relations.
1878 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1879 Document changes reflecting modifications to states.
1881 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1884 Revved to 1.1.3, interface-age=3, binary-age=3.
1885 Added REBUILD macro.
1888 Removed accessx-gui from the tests, since we have a nice
1889 keyboard accessibility capplet now :-)
1891 * test/keysynth-demo.c:
1892 (increment_scan): removed do-nothing default: case,
1895 * test/visual-bell.c:
1896 (main) : removed do-nothing default: case,
1899 * cspi/spi_action.c:
1900 (AccessibleAction_getKeyBinding_):
1901 Documented keybinding string format.
1905 (AccessibleText_getAttributes):
1906 Documented the text attribute string format.
1907 It's changed to use semicolon delimiters also,
1908 to prevent clashes with CSS attributes, but the old
1909 trick of looking for ", " strings will still work
1910 (as unreliably as ever). Fix for bug related to 97916.
1913 Include <cspi/bonobo/cspi-bonobo-listener.h>
1914 Fixes build warning.
1915 (SPI_freeAccessibleKeySet):
1916 (AccessibleKeystrokeListener_addCallback):
1917 (AccessibleKeystrokeListener_removeCallback):
1918 Modify to use AccessibleDeviceListener API internally,
1919 instead of AccessibleKeystrokeListener.
1921 * idl/Accessibility_Event.idl:
1922 Added two more empty slots to EventListener (for a total of four).
1924 * idl/Accessibility_Accessible.idl:
1925 Added four empty slots to Accessible interface.
1927 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1929 * idl/Accessibility_Registry.idl:
1930 (KeyEventType, EventType):
1931 Marked KeyEventType as deprecated; it duplicates
1932 functionality of EventType, which has been extended to
1933 include Mouse-button events.
1934 (KeyEventTypeSeq): defined in terms of EventType.
1935 (registerDeviceEventListener, deregisterDeviceEventListener):
1936 New methods, for managing listeners to device events,
1937 which potentially may consume them.
1940 Added definition for AccessibleDeviceListener.
1942 * cspi/spi-listener.h:
1943 (enum AccessibleDeviceEventType):
1944 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1945 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1946 for backwards compat.
1947 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1948 and typedef'd AccessibleKeystroke to it for back-compat.
1949 (AccessibleDeviceListenerCB):
1950 New function prototype typedef.
1953 (AccessibleDeviceEventMask): New typedef.
1954 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1955 (AccessibleKeyMaskType):
1956 Set equivalent to AccessibleModifierMaskType for back-compat.
1957 (SPI_createAccessibleKeystrokeListener):
1958 (AccessibleKeystrokeListener_unref):
1959 Deprecated in favor of equivalent (better-named) new API below..
1960 keystroke listeners are like all device listeners.
1961 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1962 New API names for old features :-).
1963 (AccessibleDeviceListener_addCallback):
1964 (AccessibleDeviceListener_removeCallback):
1965 (SPI_registerDeviceEventListener):
1966 (SPI_deregisterDeviceEventListener):
1970 (SPI_createAccessibleKeystrokeListener):
1971 Use new preferred API, cspi_device_listener_new() and
1972 cspi_device_listener_add_cb().
1973 (AccessibleKeystrokeListener_removeCallback):
1974 Use new preferred API, cspi_device_listener_remove_cb().
1975 (AccessibleKeystrokeListener_unref):
1976 Use new preferred API, cspi_device_listener_unref().
1977 (SPI_createAccessibleDeviceListener):
1978 (AccessibleDeviceListener_addCallback):
1979 (AccessibleDeviceListener_removeCallback):
1980 Implementation of new API.
1982 * cspi/spi_registry.c:
1983 (SPI_registerDeviceEventListener):
1984 (SPI_deregisterDeviceEventListener):
1985 Implementation of new API. Fixed memory leak and removed need to
1986 allocate EventTypeSeq (thanks Michael for catching this).
1987 Squashed a wayward CORBA_exception_free that shouldn't get called.
1989 * cspi/bonobo/cspi-bonobo-listener.c:
1991 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1992 (cspi_key_event): renamed to cspi_device_event().
1993 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1994 Extended to handle mouse button events as well as key events.
1995 (CSpiKeystrokeListener):
1996 Class superceded by CSpiDeviceListener.
1997 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1998 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2000 * cspi/bonobo/cspi-bonobo-listener.h:
2001 (CSpiKeystrokeListener):
2002 Class superceded by CSpiDeviceListener.
2003 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2004 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2006 * libspi/Makefile.am:
2007 Replaced keystrokelistener.h and keystrokelistener.c
2008 with devicelistener.h and devicelistener.c; keystrokelisener.h
2009 stub retained for back-compat.
2011 * libspi/keystrokelistener.c:
2015 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2017 * registryd/deviceeventcontroller.c:
2018 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2019 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2020 (DEControllerPrivateData): Added xkb settings data.
2021 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2022 button release events (which can't be captured via XGrabButton).
2023 Don't dispatch via the 'normal' event mechanism if the device event was
2025 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2026 Handle the typeseq data in its new location (see above).
2027 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2028 New methods, for "generic" device listeners.
2029 (spi_controller_register_device_listener):
2030 Now handle mouse event listeners as well as key listeners.
2031 (spi_controller_notify_mouselisteners):
2032 New internal method.
2033 (spi_device_event_controller_forward_mouse_event):
2034 Now we notify mouse device listeners as well as generating the
2035 non-consumable "mouse:" events.
2037 We must check and restore the XKB
2038 modifier map if we consume the event, since the act of triggering
2039 a mouse event will normally reset the XKB latch. This is required for
2041 (spi_controller_register_with_devices):
2042 Load the XKB settings when registering, and register for XKB
2043 state notify events.
2044 (spi_key_eventtype_seq_contains_event):
2045 Renamed spi_eventtype_seq_contains_event, since it's used
2046 internally for all device event types now.
2047 (spi_key_event_matches_listener):
2048 Uses spi_eventtype_seq_contains_event now.
2049 (spi_device_event_controller_object_finalize):
2050 Free the private data and the XkbKeyboard struct.
2051 (impl_register_device_listener, impl_deregister_device_listener):
2052 Implementation of new IDL.
2053 (spi_deregister_controller_device_listener):
2054 New internal method.
2055 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2056 More efficient implementation, we don't have to create a new
2057 XkbControls structure every time we query.
2058 (spi_device_event_controller_class_init):
2059 Initialize the epv entries for the new IDL. Assign the
2060 "spi-dec-private" quark.
2061 (spi_device_event_controller_init):
2062 Initialize the private data.
2063 (spi_device_event_controller_forward_key_event):
2064 Removed a bogus CORBA_exception_free() call.
2066 * registryd/deviceeventcontroller.h:
2067 Replaced inclusion of keystrokelistener.h with
2070 * test/event-listener-test.c:
2071 (report_mouse_event):
2074 Added mouse-event device listener.
2076 * test/test-simple.c:
2077 (create_test_window):
2078 Fixed regression (we were instantiating a GtkRange,
2079 which is now an abstract class). Also fixed to match
2080 existing AtkRole names, this seems to have changed in ATK
2081 awhile ago; too late now I think, and the new
2082 mechanism is at least elegant and consistent with the
2083 glib enum "nick" APIs.
2085 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2087 * idl/Accessibility_Relation.idl:
2088 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2089 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2090 * idl/Accessibility_Role.idl:
2091 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2092 * idl/Accessibility_State.idl:
2093 add STATE_MANAGES_DESCENDANTS
2094 * test/event-listener-test.c:
2095 Added a listener for active-descendant events.
2097 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2099 * atk-bridge/bridge.c
2100 (atk_bridge_init): If application is Bonobo component wait until top
2101 level is added before registering
2102 (spi_atk_bridge_do_registration): New function which contains code,
2103 formerly in atk_bridge_init, to do application registration.
2104 (spi_atk_bridge_toplevel_added): Signal called when top level
2105 added to Bonobo component
2107 This fixes bug #83134.
2109 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2111 * registryd/deviceeventcontroller.c
2112 Fixed compilation error caused by calling gettimeofday()
2115 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2120 Added template for HAVE_XKB.
2123 Changes to check for XKB, and to set the HAVE_XKB #define if it
2126 * libspi/listener.c:
2127 ()impl_notify_event): Make failure to get event source name
2130 * registryd/deviceeventcontroller.c:
2131 (#include): include X11/XKBlib.h.
2132 (DEControllerPrivateData) : New struct.
2133 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2135 (dec_synth_keycode_press) (dec_synth_keycode_release):
2136 New methods; split the key synthesis code into these methods.
2137 They check XKB settings before determining the "time" values to
2138 pass to Xtest; this fixes bug #95828.
2139 (impl_generate_keyboard_event): Changed to use methods above,
2140 instead of callng Xtest directly.
2141 (spi_device_event_controller_init): Initialize new privae struct s
2143 (spi_device_event_controllr_object_finalize):
2144 Free the (new) private data.
2146 * registryd/deviceeventcontroller.h:
2147 Add new gpointer to end of struct data.
2149 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2152 Incremented revision to 1.1.2, SONAME is still '.so', library
2153 extensions are ".so.0.0.2".
2155 * registryd/deviceeventcontroller.c:
2156 FIXES FOR #93592 and #95940.
2157 (statics): renamed mouse_button_state to mouse_mask_state,
2158 added key_modifier_mask.
2159 (spi_dec_poll_mouse_moved):
2160 Added key modifier checks, and emit "keyboard:modifiers"
2161 events when the key modifiers currently in use change.
2162 Also generate "mouse:abs" events periodically, even if the mouse
2163 is stationary (should we?).
2164 Alternatively we could generate "mouse:abs" events for either all
2165 mouse movements, or every 'nth' mouse movement, or at the
2166 beginning and end of every "active" mouse period.
2168 * test/event-listener-test.c:
2169 (main): Added listener for "keyboard:modifiers" events.
2171 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2173 * libspi/keymasks.h:
2174 Added key mask #defines for mouse buttons; e.g.
2175 SPI_KEYMASK_BUTTON1, etc.
2178 Incremented dependency on ATK to version 1.1.0. (This dependency
2179 is probably premature but will soon be real enough).
2181 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2183 * libspi/hyperlink.[ch]
2184 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2185 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2188 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2193 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2195 * registryd/deviceeventcontroller.c
2196 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2197 events to be ignored.
2198 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2199 keyboard_mode so that XAllowEvents() can be called.
2203 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2205 * cspi/spi-accessible.c: Correct names of roles returned by
2206 AccessibleRole_getName(). Fixes bug #95055.
2208 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2210 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2213 * registryd/registry.c
2214 (desktop_remove_application: Write diagnostic message to stderr for
2217 (impl_accessibility_registry_deregister_global_event_listener):
2218 Correct size of lists array. This addresses bug #94555).
2220 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2222 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2225 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2227 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2230 * registryd/registry.c (impl_registry_notify_event): Remove
2231 unnecessary call to parser_event_type().
2233 * docs/reference/cspi/tmpl/spi_component.sgml:
2234 Add reference to SPI_LAYER_WINDOW.
2236 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2238 * registryd/registry.c
2239 (desktop_add_application): Remove leak.
2240 (desktop_remove_application): Remove leak.
2241 (parser_event_type): Remove leak.
2243 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2245 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2246 bogus call to CORBA_string_dup(). Also removed unnecessary
2247 g_string_dup/g_free calls.
2249 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2251 * registryd/deviceeventcontroller.c:
2252 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2254 * test/event-listener-test.c:
2255 main: commented out three redundant listeners, to reduce output
2256 noise. (They still are potentially useful for testing).
2259 2002-09-13 Michael Meeks <michael@ximian.com>
2261 * Update all the copyrights to include Ximian.
2263 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2265 * cspi/spi.h: add SPI_LAYER_WINDOW.
2267 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2268 add Accessibility_LAYER_WINDOW case.
2270 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2272 * libspi/component.c: (impl_accessibility_component_get_layer):
2273 add ATK_LAYER_WINDOW case.
2275 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2277 * configure.in: incremented micro version.
2279 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2281 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2284 Clarified and reworded our commit policy.
2287 Started an API "todo" addition list for 2.2.
2290 (impl_getSelection):
2291 Free char pointer from atk_text_get_selection, which was being leaked.
2293 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2296 Small revision to author acknowledgement.
2298 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2300 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2301 If signal has detail add it to the type of the event.
2304 2002-08-12 Michael Meeks <michael@ximian.com>
2306 * test/test-simple.c (global_listener_cb): bin bogosity.
2307 (test_keylisteners): disable, still doesn't work reliably,
2308 certainly not on my system anyway.
2310 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2311 don't leak a reference on the DEC. This round-trip
2312 fetching of the DEC per keystroke sucks, it should be
2315 * cspi/spi-private.h,
2316 * cspi/cspi-lowlevel.h,
2317 * cspi/bonobo/cspi-bonobo-listener.[ch],
2318 * cspi/bonobo/cspi-bonobo.c: get the copyright
2319 notices better - there is still a large amount of
2320 work in at-spi falsely attributed solely to Sun.
2322 * cspi/spi_main.c (cspi_object_ref): kill bogus
2323 hash lookup, just increment the ref.
2324 (SPI_freeString): make explicit the fact that we
2325 handle NULL strings just fine.
2326 (report_leaked_ref): obey coding standards.
2327 (cspi_object_hash, cspi_object_equal): kill retval.
2328 (cspi_object_release): only release if not on loan.
2329 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2330 (cspi_object_borrow, cspi_object_return): impl.
2332 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2333 use cspi_object_borrow / return.
2335 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2337 * cspi/bonobo/cspi-bonobo-listener.c:
2339 Don't call cspi_oject_new() because this is creating a new Accessible
2340 every single time that an event is fired. This causes ATs like at-poke
2341 to nolonger recognise the source of the event and thus ignore it.
2342 Re-use the object from the cache, ref it and then unref it after the
2343 listeners have been called.
2345 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2347 * test/event-listener-test.c:
2348 Added command-line options to disable mouse events (m) and
2351 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2353 * configure.in: Update required versions of ATK, GTK+ and GAIL
2355 * cspi-1.0.pc.in: Add dependency for X include files
2358 * cspi/bonobo/Makefile.am:
2359 Add $(X_CFLAGS) so that X include files
2360 are picked up even if not in standard place (bug #71686)
2362 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2364 * registryd/deviceeventcontroller.c: fix for 84261
2365 (spi_dec_mouse_moved):
2366 Added test of mouse button mask, so that we can detect mouse
2367 button release. Unfortunately we can't otherwise detect mouse
2368 button release events without consuming the mouse press event,
2369 because of the way XGrabButton works. This means that our mouse
2370 release events have a latency dependent on the polling period
2371 while the mouse button is down. At least in this case we only
2372 have to poll while the button is down, and not at other times.
2373 If the button masks don't match with what the last press event
2374 reported, we report the appropriate button release event.
2375 (spi_dec_ungrab_mouse):
2376 New method (not yet called).
2377 (spi_device_event_controller_forward_mouse_event):
2378 New method, sends mouse press event from GdkFilter.
2379 (spi_dec_init_mouse_listener):
2380 Added code to call XGrabButton, redirecting mouse button events to
2381 the root window and our Gdk event loop.
2383 Added code to filter mouse button events, and reordered.
2385 * test/event-listener-test.c:
2387 Added registration for mouse events of type "mouse:button".
2389 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2391 * registryd/deviceeventcontroller.c: partial fix for 84261
2392 (spi_dec_poll_mouse_idle):
2393 New method, a timeout which checks to see if the mouse
2395 (spi_dec_poll_mouse_moving):
2396 A timeout to be called when mouse motion is underway.
2397 (spi_dec_poll_mouse_moved):
2398 A method which fires an event if the mouse has moved, and reports
2399 whether or not it did so.
2400 (spi_dec_init_mouse_listener):
2401 A method which sets up the timeouts above.
2402 (spi_device_event_controller_new):
2403 Now calls spi_dec_init_mouse_listener.
2405 * registryd/registry.c:
2406 (spi_registry_init):
2407 Now we initialize the device event controller when the registry is
2408 initialized, instead of waiting until a client has requested a key
2409 event notification; this is because we need the event controller
2410 for mouse events, but the mouse event registration API is a
2411 "registry" call and doesn't explicitly call the
2412 deviceeventcontroller.
2413 We now report mouse motion events with a 100 ms idle latency and
2414 a 20 ms granularity when motion is in progress.
2416 * test/event-listener-test.c:
2418 We now register the "detail listener" for events of type
2419 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2420 delivered only for the first mouse event received, and thereafter
2421 "mouse:abs" events are delivered.)
2423 * cspi/spi_registry.c:
2424 DOCS: Documented the above mouse event typestrings.
2426 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2428 Happy Summer Solstice...
2430 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2431 (spi_controller_notify_keylisteners):
2432 Changes to remove a listener from the listener list, freeing its
2433 open keygrabs, if a notification to that listener fails. This
2434 means that although a dead listener can continue to hold a passive
2435 keygrab, a maximum of one dispatch to such a listener can fail
2436 before the listener is removed from the list, thus the keygrab
2437 will be released on the next occurrence.
2438 As part of this fix:
2439 (spi_notify_keylisteners):
2440 Renamed to spi_controller_notify_keylisteners, as the controller
2441 instance must now be passed as an argument.
2442 The copied 'notify' GList is now a list of DEControllerKeyListener
2443 objects, since we need more than just the CORBA reference if a
2444 notify fails and we need to deregister the listener.
2445 (impl_notify_listeners_sync):
2446 (impl_notify_listeners_async):
2447 (spi_device_event_controller_forward_key_event):
2448 Modify use of notify_keylisteners in accordance with above
2450 (spi_deregister_controller_key_listener):
2451 New method introduced by refactoring, from
2452 impl_deregister_keystroke_listener.
2453 (impl_deregister_keystroke_listener):
2454 Call spi_deregister_controller_key_listener.
2455 (spi_key_listener_clone):
2456 New method to copy a key listner without doing a 'ref' on the
2457 remote object instance; used to create a notifier list.
2458 (spi_key_listener_data_free):
2459 New method, frees data without unreffing the source.
2461 (spi_key_listener_clone_free): new method.
2462 (spi_key_listener_free):
2463 refactored to call spi_key_listener_data_free.
2465 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2467 * registryd/registry.c: [fix for bug 86048]
2468 (notify_listeners_cb):
2469 Clear CORBA system exceptions which occur when notifying
2470 listeners, before returning to the source of the original event,
2471 since the event source doesn't care if the relayed notify failed.
2472 In other words, don't complain to the atk-bridge if the registry
2473 could not notify all its listeners, that's no fault of the
2474 application and thus should not appear to be an error from the
2475 application's perspective.
2477 * cspi/spi_main.c: [fix for bug 85980]
2479 Replaced use of bonobo_object_dup_ref with call to the wrapper
2480 method, csou_dup_ref (); this silences a compiler warning and
2481 provided more portability.
2483 Ping the registry before return, and restart if necessary.
2485 * cspi/bonobo/cspi-bonobo.c:
2487 New internal method.
2489 Fixed this method to return an object reference, as it should have
2492 * cspi/cspi-lowlevel.h:
2493 Added internal definition for cspi_ping() and fixed
2494 return type of cspi_dup_ref().
2497 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2499 * atk-bridge/bridge.c: [fix for bug 85305]
2500 (spi_atk_bridge_register_application):
2501 New method where the initial application registry calls have been
2502 moved; it allows an application to re-register in response to
2503 certain error conditions (such as a registry restart, see below).
2505 Moved some initialization code to the method
2506 spi_atk_bridge_get_registry, below.
2507 (spi_atk_bridge_get_registry):
2508 New, private accessor function for the Accessibility_Registry
2509 instance. If the registry has not been started before, or has
2510 died (as detected by failure of a CORBA exception), it is
2511 restarted before return, and spi_atk_bridge_register_application
2512 is called again to register with the new bridge instance.
2513 (spi_atk_emit_eventv):
2514 Set registry_died on error; use spi_atk_bridge_get_registry () to
2515 access the registry.
2517 * registryd/registry.c:
2518 (impl_accessibility_registry_register_global_event_listener):
2519 Set listener's event_type_quark to etype.minor instead of
2520 etype.major (fix for bug 84856).
2522 * test/event-listener-test.c:
2523 (report_detail_event):
2524 Change the output string so that user/tester can tell that the
2525 'detail listener' was called instead of the 'generic listener'.
2527 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2529 Fixes for bugs 84900, 84908, 84897, 84898.
2534 Revved version to 1.1.0
2535 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2536 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2538 * idl/Accessibility_Registry.idl:
2539 (EventListener::notifyEvent):
2540 Removed 'oneway' directive after extensive consulation with
2541 ORBit2 team and others. This means also that unref() of the event
2542 source can and should be done synchronously after emission, rather
2543 than remotely in the client, after servicing the notify call on
2546 NOTE: This change speeds up listener performance considerably, but
2547 introduces new latency on the application side. We may want to
2548 add an event queue to the atk-bridge.
2550 * atk-bridge/bridge.c:
2551 (spi_atk_bridge_focus_tracker):
2552 Do a local unref() on the event source after emission.
2554 * registryd/registry.c:
2555 (desktop_remove_application):
2556 Do an unref() on the event source after emission.
2557 (desktop_add_application):
2558 Do an unref() on the event source after emission.
2559 (notify_listeners_cb):
2560 When relaying an event, don't automatically add the event source
2561 to the local object cache, just CORBA_dup it instead. Likewise,
2562 if this method reenters, release the ref rather than calling
2564 (impl_registry_notify_event):
2565 No longer call remote unref() on the event source after dispatch.
2567 * libspi/eventlistener.c:
2568 (impl_accessible_event_notify_event):
2569 Removed remote unref ()
2571 * cspi/bonobo/cspi-bonobo-listener.c:
2573 We now call cspi_object_new() instead of cspi_object_add() on
2574 receipt of an event; thus we only have an implicit object ref
2575 while the cspi_event method is being executed. If we need to keep
2576 a reference to the object, the listener must call ref() on the
2577 object. Thus also we don't need to call cspi_object_unref() after
2578 invoking the listener callbacks in this method.
2582 New internal API for creating a new cspi object, without adding it
2583 to the object cache.
2585 Now uses cspi_object_new() to create the cspi object instance.
2587 Now checks to see if the object is in the internal object cache,
2588 and adds it if necessary before incrementing its refcount (note
2589 that new objects are added with a refcount of 1).
2590 (report_leaked_ref):
2591 New method which gives some information on leaked object instances
2592 if leak detection is turned on.
2594 * test/event-listener-test.c:
2595 (timing_test_event):
2596 New method, used for testing event delivery timing for special
2597 events of type "object:test". It reports elapsed time and
2598 events/sec every 500 events.
2600 Added a new listener, 'test listener', to check timing of event
2601 receipt as noted above.
2603 Added some timing output here also, reports elapsed time every 100
2606 * test/stress-test.c:
2607 Emit events of type "object:test", for use with "event-listener-test".
2609 * test/test-simple.c:
2610 (global_listener_cb):
2611 Call Accessible_ref() on the event source before calling
2612 validate_accessible, since the validation process does pointer
2613 comparisons on the event source, meaning that the event source
2614 needs to be added to the local object cache first. Any use of
2615 such pointer comparisons between Accessible objects requires that
2616 the caller hold an explicit reference to those objects.
2617 We also must therefore call Accessible_unref() when leaving this method.
2619 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2621 * registryd/deviceeventcontroller.c:
2622 (spi_controller_update_key_grabs):
2623 Fix for #84735, subsequent keygrab listeners not informed of
2624 registration failure.
2627 (spi_base_construct):
2628 Add an assertion on construct, to make sure the GObject passed in
2629 is really a GObject.
2631 Explicitly initialize object->gobj pointer to NULL;
2633 * cspi/bonobo/cspi-bonobo-listener.c:
2634 (cspi_object_add_ref):
2635 New method, can specify whether to dup-ref a bonobo object passed
2636 in if it's newly added to the object cache.
2638 Now calls cspi_object_add_ref with second param of "FALSE". This
2639 prevents us from doing a pointless dup-ref followed by
2640 release-unref for all those cases where the object is already in
2641 our object cache (fix for #85205).
2643 * atk-bridge/bridge.c:
2644 (spi_atk_bridge_idle_init):
2645 Removed this method, we don't need to initialize in an idle
2648 Changed to call spi_atk_register_event_listeners directly, not via an
2649 idle handler. (fix for #81139)
2650 (gnome_accessibility_module_shutdown):
2651 Removed conditional around deregistration of listeners, since we
2652 don't use the idle handler and thus have always registered when
2654 (spi_init_keystroke_from_atk_key_event):
2655 Changed references to Accessibility_KEY_PRESSED to
2656 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2658 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2660 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2665 * test/stress-test.c:
2668 (may have been an incomplete commit yesterday?)
2670 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2673 Added target for new stress-test.
2675 * test/stress-test.c:
2676 New test, sends 1000 focus notifies in quick succession.
2678 * test/key-listener-test.c:
2679 Now we report whether a keylistener registration
2680 request succeeded or failed.
2682 * test/event-listener-test.c:
2683 Uncommented some listeners which are now implemented.
2686 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2688 * registryd/deviceeventcontroller.c:
2689 (spi_controller_update_key_grabs):
2690 Fix for #82509, lack of failure notification when
2691 ALL_WINDOWS keygrabs fail due to XGrabKey
2692 failure: we synchronize the server when
2693 registering a passive grab, to make sure we get the
2694 error message before the call returns.
2696 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2698 * test/test-simple.c:
2700 Removed #ifdef KEY_IMPL_WORKS guards.
2701 (test_keylisteners):
2702 Removed #ifdef KEY_IMPL_WORKS guards.
2703 Fixed bug which was causing a hang waiting for a
2704 "press" event (which was already overwritten by a "release"
2705 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2707 Added code to set globals 'key_press_received' and
2708 'key_release_received'.
2711 Added section "1.1 API Proposed Additions" which
2712 lists API additions desired for at-spi-1.1 (only one so far).
2713 Updated TODO list a little.
2715 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2717 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2720 * configure.in: Revved to 1.0.0.
2722 * idl/Accessibility_Registry.idl:
2723 (registerKeystrokeListener):
2724 Added boolean return value.
2726 * registryd/registry.c:
2727 (notify_listeners_cb): Minor fix to debug output.
2729 * registryd/Accessibility_Registry.server.in.in:
2730 Revved version number in OAFIID to 1.0.
2732 * registryd/registryd.c:
2734 Use new OAFIID version.
2736 * cspi/bonobo/cspi-bonobo.c:
2738 Use new OAFIID version.
2744 * atk-bridge/bridge.c:
2746 Use new OAFIID version.
2748 * registryd/deviceeventcontroller.c:
2749 (impl_register_keystroke_listener):
2750 Added CORBA_boolean return value.
2751 (spi_controller_register_device_listener):
2752 Added gboolean return value.
2753 (spi_controller_register_global_keygrabs):
2754 Added gboolean return value.
2755 (spi_key_set_contains_key):
2756 Added implementation for many more control keys,
2757 for instance F1-F12, arrow keys, End, Home, Page_Up,
2759 [TODO: some still not implemented].
2761 * text/screen-review-test.c:
2762 (text_chunk_pad_string):
2763 New function: it provides mapping between coordinate
2764 positions of text chunks and character positions in the
2765 screen-review-line output string.
2766 (text_chunk_to_string):
2767 New function, calls text_chunk_pad_string with various
2768 pad/delimiter characters. Pushbuttons are delimited with
2769 square brackets, Frames with vertical 'pipe' lines, and
2770 other text with double quotes.
2771 (text_chunk_list_to_string):
2772 Calls new function text_chunk_to_string.
2773 (toplevel_composite):
2774 New function to composite layers CANVAS through
2775 POPUP in each toplevel (other layers are composited
2776 across toplevels, i.e. BACKGROUND and OVERLAY).
2777 (review_buffer_composite):
2778 Revise to use new methods.
2784 2002-05-31 Laszlo Peter <laca@sun.com>
2786 * configure.in: add the Xtst libdir to the runpath on Solaris,
2787 since it's not in the default library search path.
2789 2002-05-29 jacob berkman <jacob@ximian.com>
2791 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2793 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2795 * test/screen-review-test.c:
2796 (text_chunk_pad_string):
2797 Added method, which pads the string according to the
2798 text bounds of the chunk. It also takes a 3-character
2799 string as a param which indicates the characters to be
2800 used for start, padding, and end delimitation of the chunk.
2801 (text_chunk_to_string):
2802 Changed to use text_chunk_pad_string.
2804 * configure.in: Fixed bug in AC_OUTPUT that was
2805 causing path substitution in Accessibility_Registry.server
2808 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2810 * text/screen-review-test.c:
2811 (guess_string_clip):
2812 New method which attempts a best-guess at clipping
2813 text from components (like Java labels) which don't
2814 actually implement AccessibleText. This inaccurate
2815 clip is based on the assumption that the label is
2816 justified left-and-right, and monospaced.
2817 (text_chunk_get_clipped_string):
2818 We now call guess_string_clip() for text-containing
2819 components that don't implement AccessibleText.
2821 * test/screen-review-test.c:
2822 (review_buffer_get_text_chunk):
2823 We now pull "name" from labels if they do not implement
2824 AccessibleText (i.e. for Java labels).
2825 (get_screen_review_line_at):
2826 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2829 Replaceded AC_OUTPUT target
2830 registryd/Accessibility_Registry.server with
2831 registryd/Accessibility_Registry.server.in.
2833 * registryd/Accessibility_Registry.server.in:
2834 Removed (this is now a Makefile target).
2836 * registryd/Accessibility_Registry.server.in.in:
2837 Added (source for target above). We now use $(libexecdir) as
2838 prefix for the executable at-spi-registryd.
2840 * registry/Makefile.am:
2841 Now install at-spi-registryd into $(libexecdir), and build .server
2842 file with path (see above).
2844 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2846 * test/screen-review-test.c:
2847 (text_chunk_get_clipped_string):
2848 We now check to see if words fall within clip bounds
2849 before resorting to character-by-character clip bounds testing.
2851 * TODO: Added a section for "2.2 Proposed API Additions".
2853 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2855 * test/screen-review-test.c:
2857 Added a screen review benchmarking and test program to test
2860 * cspi/spi_accessible.c:
2862 Made some of the debug strings passed to cspi_check_ev a
2863 little more specific.
2865 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2867 * test/screen-review-test.c: Fix crashes in debug statements
2869 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2871 * test/screen-review-test.c: Added this file.
2873 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2875 * atk-bridge/bridge.c: changed "object:state-change" to
2876 "object:state-changed" to match docs.
2878 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2880 * atk-bridge/bridge.c: Hooked up state-change event details.
2882 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2884 * registryd/registry.c:
2885 Fixed quarking bug in event string parsing; now events with
2886 detail parameters get matched correctly to listeners.
2889 * util/idl/Magnifier.idl: remove.
2891 * util/*.[ch]: Remove.
2892 Magnification utilities and IDL are now in module gnome-mag.
2894 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2896 * registryd/deviceeventcontroller.c:
2897 Fixed bug in grab key conversion which was causing keycode grabs
2898 to be converted to AnyKey grabs.
2901 updated NEWS file to reflect recent spin-off of gnome-mag.
2903 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2905 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2906 busted AccessibleStateSet_compare. Removed redundant casts.
2908 * cspi/spi-action.c: Removed redundant casts.
2910 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2912 * cspi/spi_component.c: Fixed typos and casting error.
2914 * cspi/spi_editabletext.c: Removed redundant casts.
2916 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2918 * cspi/spi_hypertext.c: Eliminated redundant casts.
2920 * cspi/spi_image.c: Eliminated redundant casts.
2922 * cspi/spi_registry.c: Eliminated redundant casts.
2923 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2924 * cspi/spi_selection.c: Removed redundant casts.
2925 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2926 handling. Screen geometry and text offsets were being returned as 0
2927 on error which is technically valid-- changed these to return -1.
2928 Added marshaller for text boundary types to fix bug with boundary
2929 types being passed incorrectly to atk.
2931 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2934 * cspi/spi_registry.c:
2935 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2936 which was uncovered by the recent key changes.
2938 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2940 * test/event-listener-test.c:
2942 Added new test, "event-listener-test";
2943 this code does two things; it benchmarks traversal time
2944 for the accessible hierarchy for the first running accessible
2945 app, and it connects listeners for all supported event types.
2946 It is thus useful as an example event listener and for
2947 diagnostics/debugging of event generation.
2949 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2952 Removed unnecessary dependency on libutil.
2955 Revved micro version: 0.13.1
2957 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2960 Removed util/Makefile from targets.
2963 Removed util subdir from SUBDIRS (temporarily,
2964 pending removal of magnifier-only code
2968 #ifdef-ed out magnifier dependencies, since
2969 magnifier IDL, headers, and binary now live in
2970 module gnome-mag and we don't want at-spi to depend
2971 on gnome-mag. A magnifier demo which can run alongside
2972 simple-at is forthcoming in the gnome-mag module.
2974 NOTE: Split magnifier binary, IDL, and magnification
2975 activation code from at-spi into module gnome-mag.
2977 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2979 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2980 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2982 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2985 Revved to version 0.13.0
2987 * idl/Accessibility_Registry.idl:
2988 Changed definition of KeySet from sequence of longs to sequence of
2989 KeyDefinitions, and added KeyDefinition struct.
2990 Required for fix to bug 80616.
2992 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2993 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2994 to use new definition (see above).
2996 * registryd/deviceeventcontroller.c: handle_keygrab(),
2997 spi_keyset_contains_key():
2998 Changed to make use of new struct; this allows matching based on
2999 string key-name, for instance "Tab". This also allows matching of
3000 composed characters, non-alphanumeric characters in a way that
3001 doesn't involve dependencies on X keysym codes directly, etc.
3003 * test/key-listener-test.c:
3004 Added test for Alt-Tab key using "string" specification of keyset,
3005 and modified one of the tests to use a keycode-based keyset.
3006 Thus this test both tests and demonstrates the creation and use of
3007 keysets of three forms: specified via keycode array,
3008 keysym array, and string array. (The string case only contains a
3009 single string, i.e. a string array of length 1).
3012 Turned on PRINT_TREE option by default. Also fixed a
3013 string-freeing bug in the PRINT_TREE code.
3014 Added a listener to window:minimize events.
3016 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3018 * atk-bridge/bridge.c:
3019 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3020 for window:activate and window:deactiveate
3021 (atk_bridge_property_event_listener atk_bridge_signal_listener
3022 atk_bridge_window_event_listener) Tidy debug code
3024 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3026 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3027 Fixed handling for NULL return value from ATK.
3029 * libspi/action.c libspi/component.c libspi/editabletext.
3030 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3031 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3032 Removed redundant casts.
3034 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3035 Fixed off by one bug.
3037 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3038 function not present in idl)
3040 2002-05-02 jacob berkman <jacob@ximian.com>
3042 * atk-bridge/Makefile.am: make atk-bridge a real module
3044 2002-04-26 Radek Doulik <rodo@ximian.com>
3046 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3047 atk_state_types table
3049 2002-04-22 jacob berkman <jacob@ximian.com>
3052 * libspi/Makefile.am: add deps on the built files to help
3053 automake, and don't version the ORBit typelib
3055 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3057 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3058 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3059 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3060 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3061 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3062 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3063 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3064 libspi/accessible.h libspi/accessible.h libspi/base.h
3065 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3066 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3067 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3068 libspi/spi-private.h libspi/statetset.h libspi/table.h
3069 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3070 util/mag_client.h util/mag_control.c util/mag_image.c
3071 util/mag_image.h util/magnifier.c util/magnifier.h:
3072 Add missing file headers; standardize existing ones
3074 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3076 * atk-bridge/bridge.c: Added window event support.
3078 2002-04-18 Michael Meeks <michael@ximian.com>
3080 * libspi/relation.c (impl_getNTargets): impl.
3081 (impl_getTarget): impl.
3083 * libspi/Makefile.am: fix stateset install.
3085 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3088 Started putting useful info in this file.
3090 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3092 * atk-bridge/bridge.c:
3093 Propagate state-changed notifications to ATs
3095 * cspi/spi_registry.c: update docs to reflect actual behavior of
3096 state-change events.
3098 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3101 Incremented version to 0.12.1
3103 * util/mag_client.h:
3104 Add missing declaration for magnifier_exit,
3105 used by mag_control.c - Forte compiler didn't like
3106 the implicit redeclaration of the function :-(
3109 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3112 Revved version to 0.12 due to API change (see below).
3114 * cspi/spi-roletypes.h:
3115 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3116 definition from the inline docs, and added docs
3117 for SPI_ROLE_LAST_DEFINED.
3120 * cspi/spi_streamablecontent.c:
3121 Added missing seek_type parameter to
3122 (so far unused) method,
3123 AccessibleStreamableContent_seek().
3124 [ RT approval JodyG. ]
3127 Fixed docs for SPI_createAccessibleKeystrokeListener.
3129 * cspi/spi_registry.c:
3130 Fixed docs for SPI_KEYSET_ALL_KEYS.
3132 * docs/reference/cspi/at-spi-cspi-sections.txt:
3133 Added a number of missing APIs to SECTIONS.
3135 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3137 * registryd/Makefile.am:
3139 * cspi/bonobo/Makefile.am:
3140 Add $(X_LIBS) to makefiles.
3142 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3145 Revved version to 0.11.
3147 * libspi/component.c:
3148 Added implementation for grabFocus.
3150 * idl/Accessibility_Component.idl
3151 (Accessibility_Component_grabFocus):
3152 Made this method return boolean to indicate success or failure, to
3153 be consistent with cspi and the corresponding ATK method.
3155 * idl/Accessibility_Selection.idl
3156 (Accessibility_Selection_selectAll) :
3157 Made these methods return boolean to indicate success or
3158 failure, to be consistent with cspi and the corresponding ATK methods.
3160 * idl/Accessibility_EditableText.idl
3161 (Accessibility_EditableText_setTextContents,
3162 Accessibility_EditableText_insertText,
3163 Accessibility_EditableText_cutText,
3164 Accessibility_EditableText_deleteText,
3165 Accessibility_EditableText_pasteText):
3166 Made these methods return boolean to indicate
3169 * cspi/spi_editabletext.c:
3170 Made these methods return booleans.
3172 * libspi/selection.c:
3173 * libspi/component.c:
3174 * libspi/editabletext.c:
3175 Connected the boolean returns from ATK
3176 to the server-side code referenced above.
3178 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3180 * idl/Accessibility_Table.idl: Added missing methods,
3181 Accessibility_Table_addRowSelection,
3182 Accessibility_Table_addColumnSelection,
3183 Accessibility_Table_removeRowSelection,
3184 Accessibility_Table_removeColumnSelection.
3187 Added C wrappers for above IDL:
3188 AccessibleTable_addRowSelection,
3189 AccessibleTable_addColumnSelection,
3190 AccessibleTable_removeRowSelection,
3191 AccessibleTable_removeColumnSelection.
3194 Added server-side implementation code for IDL above, connecting
3195 to pre-existing ATK api.
3197 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3199 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3201 * libspi/accessible.c: Added implementation fo
3202 Accessibility_Accessible_get_state.
3204 * libspi/libspi.h: Added stateset.h to the list of includes.
3206 * libspi/stateset.c: Fixed broken implementation.
3208 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3211 Added implementation code for Accessibility_Magnifier_exit ().
3213 * util/mag_control.c:
3214 Added test code for above method; you can
3215 now kill an existing magnifier via
3216 ./mag_control q, from the util directory.
3218 * test/key-listener-test.c:
3220 Added a new test, for our key listener API.
3222 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3224 * test/app.c, test/keysynth-demo.c:
3226 Replace use of snprintf with g_snprintf.
3227 (fix for bugzilla 78249)
3229 2002-03-27 Michael Meeks <michael@ximian.com>
3233 * util/Makefile.am (INCLUDES): fix.
3234 (DONT_DIST_SOURCE): don't distribute the
3237 * libspi/Makefile.am (dist-hook): ditto.
3239 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3241 * libspi/hypertext.c:
3242 Fix warnings when yelp is used with atk-bridge
3244 2002-03-21 Michael Meeks <michael@ximian.com>
3246 * libspi/application.c (spi_application_new):
3247 use spi_accessible_construct so we use the AtkObject
3250 2002-03-19 Michael Meeks <michael@ximian.com>
3252 * registryd/registry.c (desktop_remove_application),
3253 (desktop_add_application): clean coding style.
3255 * registryd/desktop.c (spi_desktop_remove_application),
3256 (spi_desktop_add_application): kill re-enterency hazards.
3257 (spi_desktop_dispose): remove bogus redundant cast
3258 obscuring bug; fix bug too.
3259 (spi_desktop_init): make the desktop object immortal.
3261 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3264 Added a #define-guarded tree-traversal step
3265 when enumerating the apps (diagnostic tool).
3267 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3269 * idl/Accessibility_Role.idl:
3270 Added ROLE_DRAWING_AREA which seemed to be missing from the
3273 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3275 * cspi/spi-roletypes.h cspi/spi_accessible.c
3276 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3279 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3280 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3281 AT when applications are added and removed from the desktop. This
3282 reverts the previous broken implementation using the backing
3283 AtkObject for the SpiDesktop.
3285 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3287 * registryd/desktop.c: emit the "children-changed::add" and
3288 "children-changed::remove" signals on the backing ATK object for
3289 the desktop so AT can tell when applications are started and shut
3292 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3294 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3296 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3298 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3300 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3302 * cspi/state-types.h: synched with IDL and ATK
3304 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3306 * libspi/accessible.c
3307 (impl_accessibility_accessible_get_child_at_index):
3308 Change return value for g_return_if_fail ()
3309 to CORBA_OBJECT_NIL instead of "0" (!)
3311 * registryd/Makefile.am:
3312 * registryd/Accessibility_Register.server.in:
3313 Changed name of executable, "registryd",
3314 to something more informative:
3317 2002-03-13 Michael Meeks <michael@ximian.com>
3319 * atk-bridge/bridge.c (atk_bridge_init): don't register
3320 if we're in a bonobo-component, rather than a bonobo app.
3322 2002-03-13 Michael Meeks <michael@ximian.com>
3324 * atk-bridge/bridge.c (gtk_module_init): split
3325 out body to (atk_bridge_init): here, since otherwise
3326 we get symbol conflicts and oddness when invoked
3327 from (gnome_accessibility_module_init): here (upd.)
3329 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3332 New file. Explicitly allow "build sheriff" putbacks provided
3333 they are tested on Solaris.
3335 * docs/reference/cspi/Makefile.am:
3336 Added '-' to the "cp" command for index.sgml.
3337 ("patch by thomasvs, soon coming to a GUADEC near you")
3340 Incremented version number (0.9.0) for new release.
3341 Changed macro that checks for popt, to better detect
3342 obsolete versions of popt.
3345 Added X_LIBS to AC_SUBST, for applications
3346 that call Xlib API directly.
3349 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3352 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3355 Fix regression caused by hard-coding major
3356 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3359 * test/test-simple.c (test_editable_text),
3360 (test_test): revert previous change (error was
3361 a regression in gail which is now fixed).
3363 2002-03-04 Michael Meeks <michael@ximian.com>
3365 * test/test-simple.c (test_editable_text),
3366 (test_text): pass G_MAXINT instead of '-1' for
3367 whole string - is this a good thing !?
3369 * cspi/spi_accessible.c
3370 (Accessible_getRelationSet): fix crasher bug
3371 overwriting the end of the array.
3373 * test/test-simple.c (validate_accessible): free,
3374 not g_free returned relation set.
3376 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3378 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3379 implemented stateset support
3381 * idl/Accessibility_State.idl: Made necessary changes to
3382 the IDL to support state sets.
3384 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3386 * registryd/deviceeventcontroller.c:
3387 Added implementation for generateMouseEvent.
3389 * cspi/spi_registry.c:
3390 Connected new implementation for generateMouseEvent
3393 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3396 Incremented revision (but no change in public API
3397 outside of 'utils', which are not installed public yet.)
3399 * libspi/component.c:
3400 Changed to use atk_component API for layers and
3401 mdi_zorder, instead of deprecated atk_object API.
3403 Magnification Utility Enhancements:
3406 Added implementation of createZoomRegion, clearAllZoomRegions,
3407 resizeZoomRegion. Added new commandline argument
3408 "--no-initial-region". Note that clearAllZoomRegions doesn't
3409 unmap the old '0' region as it should (yet), and the other
3410 methods only work when creating/resizing a single region,
3411 which is "region 0".
3412 (Code for multiple region support will be added later.)
3415 Now we raise the magnifier window each time it's refreshed;
3416 this will help keep it on top.
3418 * util/mag_client.h:
3419 Added simple wrappers for above, used by mag_control.
3420 For general use, it's recommended to use the bonobo magnifier
3421 control API directly instead of using these wrappers.
3424 Moved ZoomRegionData from magnifier.c to this file.
3426 * util/mag_control.c:
3427 Added some code to exercise new IDL implementations.
3429 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3431 * libspi/text.c: Provide implementation for getAttributes.
3433 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3436 Incremented revision.
3438 * test/test-simple.c:
3439 Replaced use of deprecated g_main_iteration with
3440 g_main_context_iteration.
3442 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3445 Incremented revision for desktop alpha 2.
3447 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3449 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3452 * test/simple-at.c: include netinet/in.h.
3454 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3456 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3457 use NULL, not CORBA_OBJECT_NIL.
3459 * libspi/accessible.c:
3460 (impl_accessibility_accessible_get_relation_set):
3461 allocate the sequence correctly.
3463 * libspi/remoteobject.h: kill spi_remote_object_new.
3465 * test/test-simple.c: (validate_accessible): add code
3466 to test relation sets, now all we need is to figure
3467 out how to excercise this code path :/
3469 2002-01-18 Michael Meeks <michael@ximian.com>
3471 * test/test-simple.c
3472 (key_listener_cb): consume the key.
3473 (test_keylisteners): update.
3474 (main): wait for any pending unrefs on events.
3476 * registryd/deviceeventcontroller.c
3477 (spi_controller_update_key_grabs): only re-issue the
3478 grab on a key release.
3479 (spi_device_event_controller_forward_key_event):
3480 refresh the keygrabs before we notify the listeners,
3481 to reduce the X ungrab / re-grab race.
3482 (spi_controller_register_with_devices): remove
3483 XSelectInput - we do that with the gdk_window_ call.
3484 (_spi_controller_device_error_handler): return a value.
3485 s/GDK_DISPLAY/spi_get_display/
3487 2002-01-17 Michael Meeks <michael@ximian.com>
3489 * registryd/deviceeventcontroller.c
3490 (_deregister_keygrab): don't blow out the later
3493 * test/test-simple.c (test_keylisteners): do a
3494 more intelligent validation.
3496 2002-01-14 Michael Meeks <michael@ximian.com>
3498 * atk-bridge/bridge.c
3499 (gnome_accessibility_module_init),
3500 (gnome_accessibility_module_shutdown): impl.
3501 (gtk_module_init): protect vs. double inits.
3502 (add_signal_listener): impl.
3503 (spi_atk_bridge_state_event_listener): kill
3504 (deregister_application): split out of
3505 (spi_atk_bridge_exit_func): here.
3507 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3510 Added caret tracking when using magnifier, and
3511 now use text bounds for focus tracking of text elements, rather than
3512 the component bounds - this is helpful for short text fields in long
3513 table cells, at high magnification.
3515 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3517 * registryd/deviceeventcontroller.c:
3518 Regression fix for keylistener de-registration; global keygrabs
3519 were not being released when deregisterKeystrokeListener was
3520 called in cspi, since
3521 Accessibility_DeviceEventController_deregisterKeystrokeListener
3522 was called with a zero-length keyset. That is because the cspi
3523 method, SPI_deregisterKeystrokeListener, does not take a keyset
3524 parameter but instead should remove all the key grabs held be a
3526 The code in impl_deregister_keystroke_listener was changed to copy
3527 the keylist from the listener instance previously registered with
3528 the DeviceEventController before releasing the grabs.
3530 * registryd/registry.c:
3531 * registryd/deviceeventcontroller.c:
3532 * libspi/spi-private.h:
3534 Changed spelling of "re-enterant" to "re-entrant" globally.
3536 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3538 * test/test-simple.c:
3539 Changed key listeners test - the test was slightly mis-using the
3540 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3541 It now uses '=' as the key event listened to and generated,
3542 relying on a keysym match rather than assuming that keycode 33
3543 is always equal to keysym '!'.
3545 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3548 Changed simple-at to use a specific keyset, rather than
3549 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3550 manager, desktop, etc.
3552 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3554 * registryd/deviceeventcontroller.c:
3555 Replaced standard X error handler with a special handler that
3556 is non-fatal for failed keygrabs. This works around
3557 problems with keygrab clashes sometimes observed on
3559 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3560 mouse handling code as yet).
3562 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3565 Incremented revision for desktop alpha release.
3568 Fixed a couple of the more glaring errors (still not
3571 2002-01-11 Michael Meeks <michael@ximian.com>
3573 * registryd/deviceeventcontroller.c
3574 (spi_device_event_controller_forward_key_event): kill
3575 XUngrabKey / XKeyGrab race.
3576 (spi_controller_grab_keyboard): rename to
3577 (spi_controller_update_key_grabs): this, and deal
3578 with incremental adding / removing grabs more
3580 (_register_keygrab): ensure we're not pending a remove.
3581 (spi_grab_mask_free): impl.
3582 (spi_controller_register_global_keygrabs): split out
3584 (handle_keygrab): impl.
3585 (_deregister_keygrab): impl.
3586 (spi_controller_deregister_global_keygrabs): impl.
3587 (spi_controller_update_key_grabs): re-issue the grab if
3588 we just recieved a notification.
3590 * test/test-simple.c (key_listener_cb): remove debug.
3592 * registryd/deviceeventcontroller.c
3593 (spi_controller_register_device_listener): after
3594 registering a global keygrab, actualy register it !
3595 don't wait for a timeout; doh !
3597 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3598 to make it more readable / manipulable.
3599 s/grabmask/grab_mask/ s/refcount/ref_count/
3600 s/keyval/key_val/ s/modmask/mod_mask
3602 2002-01-08 Michael Meeks <michael@ximian.com>
3604 * registryd/deviceeventcontroller.c
3605 (spi_controller_register_with_devices): use gdk calls to
3607 (global_filter_fn): implement the filter.
3608 (spi_device_event_controller_check_key_event): rename to
3609 (spi_device_event_controller_forward_key_event): this & upd.
3610 (spi_get_display): replace with GDK_DISPLAY.
3612 * registryd/deviceeventcontroller.c
3613 (spi_controller_deregister_device_listener): unroll into
3614 (impl_deregister_keystroke_listener): here to simplify.
3615 (spi_controller_register_global_keygrabs): split cut and
3616 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3617 (spi_controller_deregister_device_listener): remove.
3618 (impl_register_mouse_listener): remove, no mouse listener
3619 support in at-spi-1.0
3621 * registryd/registry.c
3622 (_device_event_controller_hook): kill.
3623 (spi_registry_init): upd.
3625 * registryd/deviceeventcontroller.c
3626 (spi_device_event_controller_class_init): upd.
3627 (spi_check_key_event): merge into.
3628 (spi_device_event_controller_check_key_event):
3629 here and kill strange static ev init, don't leak
3630 the x_event - nor dynamicaly allocate it.
3632 * registryd/registry-main.c (main): re-direct
3633 timeout to remove strange vtable mess.
3635 * registryd/deviceeventcontroller.c
3636 (remove_listener_cb): impl.
3637 (spi_controller_deregister_device_listener):
3638 fix re-enterancy hazard.
3640 2002-01-07 Michael Meeks <michael@ximian.com>
3642 * registryd/deviceeventcontroller.c
3643 (spi_device_event_controller_new): upd.
3644 (impl_notify_listeners_sync): upd. debug.
3645 (spi_notify_keylisteners): fix re-enterancy hazards,
3646 prettify, remove O(n*n) iteration.
3647 (spi_controller_grab_keyboard): fix iteration.
3648 (spi_check_key_event): re-format to suit coding style.
3649 Clean all the warnings - we're warning free.
3651 * registryd/deviceeventcontroller.h:
3652 * registryd/registry.h: make mutualy referential with
3653 typesafe forward references instead of (!) void pointer
3656 2002-01-11 Michael Meeks <michael@ximian.com>
3658 * cspi/spi_accessible.c (role_names): add a role name
3659 to sync this array with the enum; and make the regression
3662 2002-01-10 Michael Meeks <michael@ximian.com>
3664 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3665 allow expansion of enumeration & kill warning.
3667 * test/test-simple.c (key_listener_cb): impl.
3668 (test_keylisteners): impl.
3670 * cspi/spi-listener.h: make listener signatures const
3671 on the provided (const) events.
3673 * test/keysynth-demo.c: upd. to const events.
3675 * test/simple-at.c: ditto.
3677 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3680 Rev the version to 0.5 (the previous tarball was named 0.4,
3681 even though the micro number was 3), so we need to rev upwards
3682 again for beta2/"desktop-alpha"
3685 Checked in a demo script, which requires editing before use!
3686 Proceed with caution.
3689 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3691 * cspi/spi_accessible.c:
3692 Add a couple of missing enum initializations, and fix some enum
3695 * cspi/spi_registry.c:
3696 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3698 * docs/reference/cspi/at-spi-cspi-sections.txt:
3699 Remove/fix a couple of broken document references.
3702 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3703 as Alt-Control to listen for commands, since on some systems
3704 Control-Alt may already be grabbed.
3706 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3709 Update version number to 0.4 for Beta2.
3711 * libspi/accessible.c, libspi/accessible.h:
3712 Expose spi_accessible_construct, to enable libgail-gnome
3713 construction from spi_accessible subtype.
3715 * utils/magnifier.c:
3716 Workaround for bug in some non-gnome-compliant window managers
3717 which made magnifier resize improperly.
3719 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3721 * libspi/accessible.c: (spi_accessible_new) :
3722 Move the test for SPI_IS_REMOTE_OBJECT to
3723 spi_accessible_new_return, fixing a bug and compile time warning.
3725 2002-01-08 Michael Meeks <michael@ximian.com>
3727 * registryd/registry.c (parse_event_type): remove strndup.
3729 * libspi/Makefile.am (libspi_la_SOURCES): remove
3730 sources already included in the headers section.
3732 * libspi/util.c: add.
3734 * libspi/spi-private.h: add.
3736 * registryd/registry.c: update to moved list iterators.
3738 2002-01-05 Michael Meeks <michael@ximian.com>
3740 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3742 * test/test-simple.c (main): ditto.
3744 2002-01-04 Michael Meeks <michael@ximian.com>
3746 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3747 redundant construct.
3749 * registryd/registry.c
3750 (get_listener_list): impl.
3751 (impl_accessibility_registry_register_global_event_listener):
3752 re-impl. to simplify using ~, remove dodgy const cast off.
3753 (parse_event_type): constify.
3754 (impl_accessibility_registry_deregister_global_event_listener_all):
3755 re-write, more efficiency and simplicity, kill re-enterancy
3757 (compare_listener_corbaref, compare_corba_objects),
3758 (compare_listener_quarks): define out.
3759 (impl_accessibility_registry_deregister_global_event_listener):
3760 re-write for effiency, and nail re-enterancy hazard.
3761 (impl_accessibility_registry_get_desktop_list): impl.
3762 (re_enterant_list_delete_link): impl.
3763 (re_enterant_list_foreach): impl.
3764 (remove_listener_cb): impl.
3765 (_registry_notify_listeners): kill.
3766 (notify_listeners_cb): impl.
3768 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3769 (SPI_getDesktopList): impl.
3771 * test/test-simple.c (test_desktop): test the methods.
3773 2002-01-03 Michael Meeks <michael@ximian.com>
3775 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3776 keystrings since we free them
3777 (SPI_freeAccessibleKeySet): in here.
3779 * libspi/accessible.c (spi_accessible_new): kill warning,
3780 wonder what is going on with the constructor here.
3782 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3784 * libspi/accessible.c (spi_accessible_new ()) :
3785 Added check to see if AtkObject is an SpiRemoteObject before
3786 creating an SpiAccessible.
3788 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3790 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3791 Enable keygrabs using the Control modifier, now that they are
3792 working properly (they were previously disabled).
3795 Change the command keygrab for this demo to "Control+Alt", so as
3796 to conflict with fewer other key commands on the system; this
3797 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3799 Removed a pointlessly-chatty keylistener for unshifted keys
3800 (shifted keys are still reported).
3802 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3804 * libspi/remoteobject.h:
3805 * libspi/remoteobject.c:
3806 Added definitions for special AtkObject subtype, required for
3807 support of remote components (specifically, used by BonoboControl
3808 accessibility implementation).
3810 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3812 * cspi/spi.h: synched relation types with ATK
3814 * cspi/spi_accessible.c: Added implementations of
3815 AcccessibleRelation_* methods
3817 * idl/Accessibility_Relation.idl: added getRelationTypeName
3818 method. Synched known relation types with ATK. Allowed for
3819 relation type extension with the RELATION_EXTENDED type.
3821 * libspi/relation.c: Provided implementations for
3822 AccessibleRelation methods.
3824 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3826 API tweaks for today's API 'freeze'.
3829 Added placeholder functions to allow future compatible expansion
3830 of the IDL interfaces.
3832 * idl/Accessibility_Registry.idl:
3833 Changed generateKeyEvent to generateKeyboardEvent. Changed
3834 signature of this method to accept an optional keystring in
3835 parameter (for complex text input synthesis) and changed use of
3836 simple 'boolean' parameter in registerKeystrokeListener to a
3837 struct, EventListenerMode.
3839 * cspi/spi_accessible.c:
3841 * cspi/spi_streamablecontent.c:
3842 Added references to AccessibleStreamableContent interface, and
3843 definition and implementation of AccessibleStreamableContent
3846 * cspi/spi_registry.c:
3848 Changed generateKeyEvent API to generateKeyboardEvent,
3849 taking a new (optional) keystring parameter to support complex
3854 Renamed directory (to better reflect its actual purpose, bridging
3855 from at-spi to ATK). The .so module is also now named
3858 * idl/Accessibility_Hypertext.idl:
3859 * libspi/accessible.c:
3860 * libspi/hypertext.h:
3861 * libspi/hypertext.c:
3862 Changed Accessibility_Hypertext to *not* derive from
3865 * cspi/spi_registry.c:
3866 Added list of legal event type names for 'window' events, which
3867 completes the registry event API.
3869 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3871 * at-bridge/bridge.c: Added registration for separate
3872 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3873 signals. If either of the first two parameters to the generic
3874 bridge signal handler are ints, they are passed on as event
3875 details. This allows an AT to determine what text was inserted.
3877 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3879 * registryd/deviceeventcontroller.c:
3880 Fixed regressions in generateKeyEvent caused by the removal of
3881 gdk_init from registryd; we now use pure X calls to connect to the
3882 display, which makes sense because deviceeventcontroller already
3883 uses a fair bit of X API (should eventually be migrated to a
3884 'portability layer').
3886 * registryd/desktop.c:
3887 Fixed minor regression in spi_desktop_init, changed the way the
3888 desktop name is being set to work with new spi_base API
3889 (gobject-based, rather than AtkObject-based).
3891 * registryd/Makefile.am:
3892 Minor revision of makefile to use XTST_LIBS variable rather than
3893 hard-wiring the Xtst LD_ADD element.
3895 * test/keysynth-demo.c:
3896 Tweaked an output message; added initialization of the
3897 'keystrings' member of the "switch listener" key_set.
3899 * libspi/relation.c:
3900 Squashed compile-time warning.
3902 * libspi/accessible.c:
3903 Cosmetic and formatting fixes, renamed a static method.
3905 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3907 * libspi/accessible.c
3909 * libspi/application.c
3912 * libspi/component.c
3913 * libspi/editabletext.c
3914 * libspi/hyperlink.c
3915 * libspi/hypertext.c
3917 * libspi/selection.c
3921 * registryd/desktop.c:
3922 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3924 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3926 * idl/Accessibility_Registry.idl:
3927 Added boolean member 'is_text' to DeviceEvent. This is for the
3928 use of key events, and helps prevent ambiguity between composed
3929 key strings and keysym names, since both may potentially be
3930 returned in the 'event_string' member.
3932 * at-bridge/bridge.c:
3933 * registryd/deviceeventcontroller.c:
3934 Use the 'is_text' member when notifying device event listeners.
3935 Knon issue: composed characters are not dealt with correctly by
3936 the global key listener implementation yet.
3938 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3940 * at-bridge/bridge.c:
3941 Namespaced local static methods to spi_atk_bridge_* where
3942 previously named bridge_*, and spi_* elsewhere.
3944 * at-bridge/bridge.c:
3945 * cspi/bonobo/cspi-bonobo-listener.c:
3946 Added demarshalling/conversion for string member of
3947 Accessibility_DeviceEvent to AccessibleKeystroke.
3949 * registryd/deviceeventcontroller.c:
3950 Added code to fill the Accessibility_DeviceEvent key string value
3951 member for global key events (i.e. from XGrabKey), to match
3952 behavior of Accessibility_DeviceEvent from the toolkit key events
3953 from the bridge. Fixed timestamp in global key event notifications.
3956 Added printout of key event's string value to
3957 report_ordinary_key_event, for demo/debugging purposes.
3959 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3961 * idl/Accessibility_Registry.idl:
3962 Removed Accessibility_KeyStroke structure in favor of generic
3963 Accessibility_DeviceEvent structure.
3964 Changed Accessibility_ControllerEventMask from a struct to an
3967 * at-bridge/bridge.c:
3968 Changed APIs to use DeviceEvent structure as above, and removed
3969 bogus casting between these event structures.
3971 * cspi/spi-listener.h:
3972 Added keystring member of AccessibleKeystroke structure, to enable
3973 matching on event "names" rather than only hardware codes and
3977 Added keystrings member of AccessibleKeySet struct, to allow
3978 matching on event names (as above).
3979 Added declarations for SPI_createAccessibleKeySet and
3980 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3981 event modmasks directly as unsigned ints rather than structs with
3982 refcounts, in the DeviceEventController methods.
3984 * cspi/spi_registry.c:
3985 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3987 * cspi/spi-roletypes.h:
3988 Added documentation of newly added SPI Roles.
3990 * cspi/bonobo/cspi-bonobo-listener.c:
3991 Changes in support of API changes above.
3993 * libspi/accessible.c:
3994 Converted APIs to use DeviceEvent structure (see IDL changes
3997 * registryd/deviceeventcontroller.c:
3998 Added DEControllerGrabMask structure to track keygrabs not only by
3999 modmask but by keyset as well; this allows us to do "global"
4000 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4001 grabbing on AnyKey and then filtering after-the-fact.
4002 Bugfixes for event filtration mean that we don't get false matches
4003 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4005 * registryd/deviceeventcontroller.c:
4006 Namespaced a number of static methods to use spi_ prefix. Major
4007 revision to internals of global (i.e. X) key grabs.
4009 * registryd/deviceeventcontroller.h:
4010 Removed keymask_list and added keygrabs_list to
4011 SpiDeviceEventController struct.
4014 Added use of SPI_createAccessibleKeySet API when creating a
4015 listener for only one key. Attach a listener to "shift spacebar
4016 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4017 X key event names to SPI key event names, so that listeners are
4018 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4020 * test/keysynth-demo.c:
4021 Changed (incorrect) use of X key event names (KeyPressed,
4022 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4025 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4027 * libspi/accessible.c:
4028 Convert all AtkRole enumerations to Accessibility_Role enums when
4029 getting a role from an AtkObject.
4031 * cspi/spi_accessible.c:
4032 Complete the conversion of Accessibility_Role enums at runtime to
4033 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4034 role enums correctly match those given in spi-roletypes.h.
4035 Re-synchronize the local names list for AccessibleRole_getName ().
4036 AccessibleRole_getName is now deprecated, since it duplicates the
4037 more reliable Accessible_getRoleName.
4038 Added some role types from Accessibility_Role.idl.
4040 * idl/Accessibility_Role.idl:
4041 Added some role types used by AtkRole.
4043 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4046 * cspi/spi_registry.c:
4048 * cspi/cspi-bonobo-listener.c:
4049 Namespaced all methods that did not begin with an "SPI_" or
4050 "Accessible" prefix to "SPI_".
4053 Homogenized internal function namespace to "cspi_" for statics.
4056 Patched tests to use the new CSPI API.
4058 * docs/reference/cspi/at-spi-cspi-sections.txt:
4059 Updated docs to reflect namespace changes, and added a number of
4060 methods to the documentation.
4062 * registryd/registry.c:
4063 Changed use of strings and string hashes in listener event
4064 matching and parse_event_string to use GQuark, which is guaranteed
4067 * registryd/registry.h:
4068 Squashed annoying warning.
4070 * idl/Accessibility_Role.idl:
4071 Extended range of available Accessibility_Role values.
4073 * cspi/spi_accessible.c:
4074 Re-ordered role names.
4076 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4078 * idl/Accessibility_Value.idl:
4079 Revert use of union back to CORBA_double, since the double type is
4080 more efficient and can contain the other types without loss of
4083 * idl/Accessibility_Accessible.idl:
4084 Added method Accessibility:Accessible:getRoleName, to complement
4085 Accessibility:Accessible:getRole.
4087 * cspi/spi_accessible.c:
4089 Added C binding for above, Accessible_getRoleName (), and changed
4090 signature of Accessible_getRole () to return an AccessibleRole.
4092 * cspi/spi-roletypes.h:
4093 Changed AccessibleRole_getName to return a char * instead of a
4094 const char *. This method is now at least temporarily deprecated
4095 in favor of asking Accessibles for their RoleNames directly.
4098 Revert to match Accessibility_Value.idl;
4102 Change signature of AccessibleValue methods to use double rather
4106 * cspi/spi_accessible.c:
4107 Changed Accessible_getRole to return an AccessibleRole enum rather
4108 than a UTF-8 string. The UTF-8 string can still be obtained via
4109 AccessibleRole_getName ().
4111 * test/test-simple.c:
4112 Add test_action. Small fixup to match API change to Accessible_getRole.
4115 Bugfix for get_action_from_servant ().
4117 2001-12-11 Michael Meeks <michael@ximian.com>
4119 * libspi/libspi.h: remove registry.h and
4120 desktop.h, deviceeventcontroller.h
4122 * libspi/Makefile.am: remove registry.[ch],
4123 desktop.[ch], deviceeventcontroller.[ch]
4125 * registryd/Makefile.am: add registry.[ch],
4126 desktop.[ch], rename registryd.c to registry-main.c.
4127 add deviceeventcontroller.[ch]
4129 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4132 Replace setenv() call with putenv ().
4134 * libspi/component.c:
4135 Bugfix in AccessibleComponent_getExtents (),
4138 2001-12-11 Michael Meeks <michael@ximian.com>
4140 * libspi/image.c (impl_getImageExtents): impl.
4141 (spi_image_class_init): upd.
4144 (AccessibleImage_getImageDescription): fix daft bug
4147 * test/test-simple.c (global_listener_cb): update
4148 to only quit if not --poke
4149 (main): catch --poke.
4150 (validate_accessible): upd. dumping, call test_image
4153 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4156 * idl/Accessibility.idl: update all IDL includes.
4158 * idl/*.idl - rename to namespace - this sucks, blame
4159 mjs' bad decision for oafd.
4161 * test/test-simple.c (create_test_window): add more tests.
4162 (create_tree): split this out.
4163 (validate_accessible): bugfix.
4165 2001-12-11 Michael Meeks <michael@ximian.com>
4167 * cspi/bonobo/cspi-bonobo-listener.c:
4168 (cspi_kestroke_listener_unref),
4169 (cspi_event_listener_unref): impl. undoing previous
4170 homenous environment - for Bill.
4172 * cspi/spi_table.c (long_seq_to_array): use
4175 * cspi/spi_main.c: split out all bonoboish bits into
4178 * cspi/spi-impl.h: upd. typedefs.
4180 * cspi/spi_registry.c: update to lowlevel API,
4181 return booleans to indicate success in some places.
4183 * cspi/spi_event.c: update to lowlevel API.
4185 * cspi/bonobo/Makefile.am: add.
4187 * cspi/bonobo/cspi-lowlevel.h: add
4189 * cspi/bonobo/cspi-bonobo.c: add
4191 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4193 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4194 (SUBDIRS): add bonobo, link in the libs.
4196 * cspi/spi-util.c: kill this file.
4198 * TODO: merge in my bits.
4200 2001-12-11 Michael Meeks <michael@ximian.com>
4202 * test/test-simple.c (test_value, test_table, main):
4203 remove unused variables causing warnings.
4205 * configure.in: cleanup checks - require gail.
4207 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4210 Changed Value interface to use SValue (scalars) rather than
4211 assuming all values are floats. This allows floats, doubles,
4212 longs, shorts, and unsigned values to be manipulated.
4213 Introduced Accessibility:SValue union.
4216 Updated to use new API above, and to work correctly with GValues
4217 of different types in AtkValue.
4220 Updated to use new API above. cspi's API is as yet unchanged.
4223 Updated the Value revision action item.
4225 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4227 * test/test-simple.c:
4228 Added test_table (GtkTreeView widget in test window to follow).
4229 Un-commented test_value, added GtkRange widget.
4230 Added GtkTreeView widget with GtkListStore. It passes regression
4231 test but leaks one SPI object for some reason.
4234 Fixed bug in impl__set_currentValue.
4236 2001-12-10 Michael Meeks <michael@ximian.com>
4238 * cspi/spi_text.c: audit for exception handling,
4239 tolerating NULL object references safely etc.
4241 * cspi/spi_value.c: ditto.
4243 * cspi/spi_table.c (AccessibleTable_getSummary),
4244 (AccessibleTable_getAccessibleAt),
4245 (AccessibleTable_getRowHeader),
4246 (AccessibleTable_getColumnHeader),
4247 (AccessibleTable_getCaption): fix bugs hidden by
4249 (long_seq_to_array): impl.
4250 (AccessibleTable_getSelectedRows),
4251 (AccessibleTable_getSelectedColumns): use it.
4253 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4256 Added a TODO list (rough and short for now).
4258 * cspi/spi_hyperlink.c:
4259 * cspi/spi_hypertext.c:
4260 Fixed macro name typos, and remove use of obsolete macro in
4261 AccessibleHyperlink_getLink.
4263 * cspi/spi_action.c:
4264 * cspi/spi_accessible.c:
4265 * cspi/spi_application.c:
4266 * cspi/spi_component.c:
4267 * cspi/spi_selection.c:
4270 Documentation fixes (removed return values from ref/unref methods).
4272 2001-12-10 Michael Meeks <michael@ximian.com>
4274 * cspi/spi_action.c: audit for exception handling,
4275 tolerating NULL object references safely etc.
4277 * cspi/spi_accessible.c: ditto.
4279 * cspi/spi_component.c: ditto.
4281 * cspi/spi_editabletext.c: ditto.
4283 * cspi/spi_hyperlink.c: ditto.
4285 * cspi/spi_hypertext.c: ditto.
4287 * cspi/spi_image.c: ditto.
4289 * cspi/spi_selection.c: ditto.
4291 2001-12-10 Michael Meeks <michael@ximian.com>
4293 * configure.in: use cspi/libspi.pc.in instead.
4295 * Makefile.am (pkgconfig_DATA): upd. to match.
4297 * test/simple-at.c (report_focus_event): kill hacks around
4298 bad return values, use putenv not setenv
4300 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4301 fire ChildGone - I killed it.
4303 * libspi/component.c
4304 (impl_accessibility_component_get_extents): remove
4307 * idl/Accessible.idl: kill ChildGone exception.
4309 * cspi/*.[ch]: kill int return from ref / unref.
4311 * cspi/spi_main.c (cspi_object_add_check): fold into
4312 (cspi_object_add): here.
4314 * cspi/spi_component.c (AccessibleComponent_getExtents):
4315 handle exceptions elegantly.
4317 * cspi/spi-private.h (cspi_check_ev_return),
4318 (cspi_return_if_fail): impl.
4320 * cspi/spi_accessible.c: use extensively.
4321 (AccessibleStateSet_equals): add direct compare check.
4323 * cspi/spi_selection.c: tolerate NULL objs, and check
4324 exceptions before return.
4326 * cspi/spi-util.c (cspi_warn_ev): rename to
4327 (cspi_check_ev): this & don't pass ev in; no point.
4329 2001-12-10 Michael Meeks <michael@ximian.com>
4331 * test/test-simple.c: use putenv not setenv
4332 (get_environment_vars): more chatty if you're not using
4335 * test/simple-at.c: do the setenv so more people see the
4338 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4340 * libspi/registry.c:
4341 Changed check of CORBA_environment on notification to be a warning
4342 instead of an error for the moment, since we can recover from this
4343 error when caused by a queued notification from a dead app.
4346 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4347 used by all current implementors of AtkValue), and coerce to
4348 CORBA_float. (Proper general case fix may require change to Value.idl).
4350 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4354 * cspi/spi_accessible.c:
4355 Documentation fixes: added user_data params to documentation for
4356 listeners and callbacks.
4358 * cspi/spi_accessible.c:
4359 Changed AccessibleStateSet_compare to return a
4360 StateSet rather than return the difference set into a third parameter.
4363 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4366 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4367 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4371 Remove subdirectory po from SUBDIRS for now.
4373 * at-bridge/bridge.c:
4374 Beefed up a couple of debug printouts.
4375 One-line fix for signal notification name formatting.
4377 * libspi/accessible.c:
4378 Added assertion to spi_accessible_new ().
4380 * libspi/application.c:
4381 Put #ifdef qualifiers around a printf.
4384 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4386 * registryd/Makefile.am:
4388 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4389 INTLTOOL_SERVER_RULE macro.
4392 Added an event listener for several ATK signals, for
4393 testing and debugging. Removed a few g_warnings.
4394 Added test output if focussed item implements the Value interface.
4396 * test/test-simple.c:
4397 Added test_value () function (known not to pass at the moment, so
4398 not actually called yet.
4400 2001-12-08 Michael Meeks <michael@ximian.com>
4402 * at-bridge/bridge.c (bridge_focus_tracker),
4403 (emit_eventv): fix the same ref. leak.
4404 (register_atk_event_listeners): don't leak.
4406 * cspi/spi-listener-impl.c (cspi_event): more
4407 protection from client code.
4409 * test/test-simple.c (test_desktop): unref the app.
4411 * test/Makefile.am: upd. TESTS.
4413 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4415 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4417 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4419 * cspi/spi_registry.c: constify in strings.
4420 (deregisterGlobalEventListenerAll): don't release the ref.
4422 * cspi/spi.h: start removing redundant / conflicting
4423 gtkdoc comments, making the API readable at a glance :-)
4425 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4427 * test/keysynth-demo.c (keysynth_exit, main): upd.
4429 * test/simple-at.c (main, simple_at_exit): upd.
4431 * test/test-simple.c (unutterable_horror): kill.
4432 (utterable_normal_derefs): kill.
4433 (main): upd & do a setenv before gtk_init, so that we
4434 can use memprof - and to save the pain of remembering
4435 this, if we're running under memprof - don't exit.
4437 * cspi/spi_main.c (SPI_exit): return exit status
4439 (SPI_event_quit): impl.
4440 (SPI_event_main): simplify.
4441 (cspi_is_gnome_app): kill.
4442 (SPI_init): kill isGNOMEapp arg.
4444 * at-bridge/bridge.c (register_atk_event_listeners):
4445 re-instate the unref.
4446 (bridge_exit_func): don't re-activate the registry,
4447 protect vs. theoretical re-entry, use the
4448 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4449 assert a clean shutdown - for regression tests.
4451 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4453 * configure.in: Comment out dummy i18n support for now,
4454 otherwise it fails to build.
4455 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4456 EXTRA_DIST. They are missing in tarball.
4458 2001-12-07 Michael Meeks <michael@ximian.com>
4460 * util/magnifier.c: kill bonobo activation reg. race.
4462 * libspi/component.c
4463 (impl_accessibility_component_get_extents): make it match
4466 * libspi/registry.c (_registry_notify_listeners):
4467 re-remove X headers & reconcile conflicts.
4468 (spi_listener_struct_free): bad conflict resolve.
4469 (impl_accessibility_registry_register_application):
4470 more bad merging fixed.
4471 (impl_accessibility_registry_deregister_application): ditto.
4472 (spi_registry_new): ditto.
4473 (spi_registry_init): don't have an applications field.
4475 [ merge fixups2 branch to here ]
4476 2001-12-07 Michael Meeks <michael@ximian.com>
4478 * test/simple-at.c (report_focus_event),
4479 (report_focussed_accessible): remove g_warning debug.
4481 2001-12-07 Michael Meeks <michael@ximian.com>
4483 * test/test-simple.c (validate_tree): comment out some checks.
4484 (test_desktop): app now not registered idly - horay.
4486 2001-12-07 Michael Meeks <michael@ximian.com>
4488 * cspi/spi_registry.c
4489 (registerAccessibleKeystrokeListener): clean, stop it leaking
4490 great swathes of memory, and device event controller references.
4491 ensure we always pass valid sequences.
4492 (deregisterAccessibleKeystrokeListener): ditto.
4493 (generateKeyEvent): upd.
4495 * at-bridge/bridge.c (bridge_key_listener): handle
4496 registry dead exception gracefully.
4497 (bridge_focus_tracker, emit_eventv): free ev.
4499 * test/simple-at.c (report_focus_event): fix polarity.
4501 * libspi/application.c (notify_listeners): kill the ev
4502 argument, and make sure we init the ev we use.
4503 (spi_application_object_event_listener): split out a chunk
4504 (get_atk_object_ref): here & fixup.
4505 (reverse_lookup_name_for_toolkit_event): make const.
4506 (spi_application_toolkit_event_listener): fixup, kill leaks
4509 * at-bridge/bridge.c (register_atk_event_listeners):
4510 don't unref the noop object - causes grief.
4512 * libspi/registry.c: remove the X headers.
4513 turn off the debug churn.
4515 * libspi/accessible.c (spi_accessible_new_return): only
4516 release the ref if we are supposed to [doh]
4518 * test/simple-at.c (report_button_press, report_focus_event):
4519 guard vs. unexpected exit.
4521 * at-bridge/bridge.c (gtk_module_init): prune printf.
4522 (bridge_exit_func): fix app unref.
4524 * libspi/Makefile.am: don't install registry or desktop.h
4526 * libspi/*.h: update includes.
4528 * libspi/application.h: don't include ourself, or
4529 other redundant headers.
4531 2001-12-06 Michael Meeks <michael@ximian.com>
4533 * libspi/accessible.c
4534 (get_accessible_from_servant): impl.
4535 Upd. all CORBA impl.s to use it killing cut and paste.
4537 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4539 (SPI_init): register atexit cleanup handler here.
4541 2001-12-06 Michael Meeks <michael@ximian.com>
4543 * at-bridge/bridge.c (gtk_module_init): g_error on
4544 activation exception
4546 2001-12-06 Michael Meeks <michael@ximian.com>
4548 * at-bridge/bridge.c (gtk_module_init): some sort of
4549 confusing merge clash - reverted.
4550 (bridge_idle_init): ditto.
4552 * test/test-simple.c (main, utterable_normal_derefs):
4553 merge from Bill - somehow not committed.
4555 2001-12-06 Michael Meeks <michael@ximian.com>
4557 * libspi/value.c (spi_value_class_init): upd.
4558 (spi_value_finalize): kill.
4560 * libspi/table.c (spi_table_finalize): kill.
4561 (spi_table_interface_new): upd.
4562 (spi_table_class_init): upd.
4563 (get_table_from_servant): impl.
4564 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4566 * libspi/selection.c (spi_selection_finalize): kill.
4567 (spi_selection_interface_new): upd.
4568 (spi_selection_class_init): upd.
4569 (get_selection_from_servant): impl.
4570 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4572 * libspi/relation.c (spi_relation_finalize): kill.
4573 (spi_relation_class_init, spi_relation_new): upd
4575 * libspi/image.c (spi_image_finalize): kill.
4576 (spi_image_class_init): upd.
4577 (spi_image_interface_new): upd.
4578 (get_image_from_servant): impl.
4579 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4581 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4582 (spi_hyperlink_finalize): kill.
4583 (spi_hyperlink_new): upd.
4584 (get_hyperlink_from_servant): impl.
4585 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4587 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4588 (spi_hypertext_finalize): kill.
4589 (spi_hypertext_class_init): upd.
4590 (get_hypertext_from_servant): impl.
4591 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4593 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4594 (spi_editable_text_interface_new): upd.
4595 (get_editable_text_from_servant): impl.
4596 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4598 * libspi/text.c (get_text_from_servant): impl.
4599 All impls - update to use it killing more cut and paste,
4600 also fix bad string returns on duff args ( a somewhat
4601 impossible case to handle - but hey ).
4602 (spi_text_construct): impl.
4603 (spi_text_interface_new): upd.
4604 (spi_text_object_finalize): kill.
4606 * libspi/component.c
4607 (accessibility_component_object_finalize): kill.
4608 (spi_component_class_init): upd.
4609 (get_component_from_servant): impl. helper to kill cut & paste.
4610 (impl_accessibility_component_contains):
4611 (impl_accessibility_component_get_accessible_at_point):
4612 (impl_accessibility_component_get_position):
4613 (impl_accessibility_component_get_extents):
4614 (impl_accessibility_component_get_mdi_z_order):
4615 (impl_accessibility_component_get_layer):
4616 (spi_component_interface_new): upd.
4618 * libspi/action.c (spi_action_finalize): kill.
4619 (spi_action_class_init): upd. inherit from SpiObject.
4620 (spi_action_interface_new): upd.
4621 (get_action_from_servant): impl. helper to reduce cut & paste.
4622 (impl_getKeyBinding, impl_getName, impl_doAction),
4623 (impl_getDescription): Use it everywhere.
4625 * cspi/spi_main.c (get_live_refs): a pointer hash.
4626 (spi_object_hash, spi_object_equal): comment out.
4627 There are issues with CORBA object hashing that need
4630 * libspi/application.c (spi_application_init),
4631 (spi_application_new): upd.
4633 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4634 (spi_accessible_class_init): upd.
4635 s/accessible/object/ in epv methods.
4637 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4639 * at-bridge/bridge.c:
4640 Reorder the bridge initialization into the bridge gtk_module_init,
4641 an immediate call to bridge_register_app, and an idle_add for
4642 register_atk_event_listeners (the only code that *must* wait until
4643 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4644 the activation, creates the application's Accessible object, and
4645 queues the bridge_idle_init function. Restored call to
4646 Accessibility_Registry_deregisterApplication().
4647 Prior to making this call we obtain a new reference to the
4648 registry, which is a temporary hack that helps us handle apps that
4649 shut down the bonobo mainloop before we get there.
4651 * libspi/registry.c:
4652 Fix string leakage in debug block, and don't segv if a an app
4653 dies before its event notifications have been propagated.
4656 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4657 as stopgap measure until we get proper exception handling when
4658 objects die during or before interrogation.
4662 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4663 Also changed default value of is_gnome_app to TRUE.
4666 * test/keysynth-demo.c:
4667 Changed use of SPI_init and SPI_event_main to reflect API change above.
4670 Made report_focus_event check the warning value from getName
4671 before reporting on focussed accessible; simplifies handling of
4672 notifications from dead objects.
4674 * test/test-simple.c: (Changes not in this patch since source is
4677 2001-12-05 Michael Meeks <michael@ximian.com>
4679 * registryd/registryd.c (main): protect against
4680 bonobo-activation startup race condition.
4682 * cspi/spi_main.c (cspi_object_add_check): cope
4683 with the exception elegantly.
4685 * idl/Accessible.idl: decl. ChildGone
4687 * libspi/desktop.c (spi_desktop_dispose): impl.
4688 (spi_desktop_class_init): upd.
4689 (spi_desktop_add_application),
4690 (spi_desktop_remove_application),
4691 (abnormal_application_termination): impl.
4692 (impl_desktop_get_child_at_index): re-impl.
4695 (impl_accessibility_registry_deregister_application),
4696 (impl_accessibility_registry_register_application):
4697 kill excessive debug clutter.
4699 * test/test-simple.c (test_misc): test some NULL
4700 tolerance. (main): upd.
4702 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4703 implements no interfaces - so let's not crash.
4705 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4707 * libspi/accessible.c (spi_accessible_new_return): impl.
4708 helper to calm the cut and paste, to cope with
4709 NULL AtkObjects effectively and efficiently, and to kill
4710 the referencing bugs.
4712 * libspi/table.c (impl_getAccessibleAt),
4713 (impl_getRowHeader, impl_getColumnHeader): upd.
4715 * libspi/hyperlink.c (impl_getObject): upd.
4717 * libspi/accessible.c
4718 (impl_accessibility_accessible_get_child_at_index): upd.
4720 * libspi/component.c
4721 (impl_accessibility_component_get_accessible_at_point): upd.
4723 * test/test-simple.c (test_editable_text, test_text): impl.
4726 * cspi/spi_editabletext.c
4727 (AccessibleEditableText_insertText): constify.
4729 * test/test-simple.c (focus_me): make more robust.
4731 * libspi/accessible.c: remove some printfs in methods that
4732 we test and work fine, so we can get a clean tree dump.
4734 * test/test-simple.c (validate_accessible),
4735 (validate_tree): make tree dumping pretty too.
4737 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4738 it builds without debug on.
4740 * test/test-simple.c (validate_accessible): fix the most
4743 * cspi/spi_main.c (spi_object_release): leave the nicely
4744 blanked memory around if in debug mode.
4746 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4748 [committed to fixups2]
4749 2001-12-05 Michael Meeks <michael@ximian.com>
4751 * libspi/editabletext.c
4752 (spi_editable_text_class_init): g_type_class_peek_parent,
4753 not interface peek - so we finalize cleanly.
4755 * libspi/accessible.c (spi_accessible_new): kill debug.
4757 * test/test-simple.c (validate_accessible): fix ref.
4758 leak, print strings before freeing them; sigh, comment a
4759 chunk out due to strangeness.
4760 (validate_tree): unref the child after use.
4762 * cspi/spi_component.c (AccessibleComponent_getLayer):
4763 add missing break statement, switch on zlayer not the
4764 uninitialized retval.
4766 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4767 before (possibly re-entering) remote unref.
4769 * test/simple-at.c (main): unref the desktop.
4771 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4774 * cspi/spi_main.c (cspi_accessible_is_a): here to
4775 isolate bonobo API usage more.
4777 * libspi/registry.c (impl_accessibility_registry_register_application):
4778 prune bogus comment.
4780 2001-12-04 Michael Meeks <michael@ximian.com>
4782 * test/test-simple.c (validate_tree): upd.
4783 IndexInParent check to make it more lucid.
4784 (validate_accessible): dump the tree.
4786 * libspi/accessible.c (de_register_public_ref),
4787 (get_public_refs): impl.
4788 (spi_accessible_new): make more efficient & intuitive.
4789 Now IndexInParent check works.
4791 2001-12-04 Michael Meeks <michael@ximian.com>
4793 * cspi/spi-util.h: remove.
4795 * cspi/spi.h: move SPI_freeString here
4797 * libspi/component.c (impl_accessibility_component_get_layer):
4799 (impl_accessibility_component_get_mdi_z_order): ditto,
4800 return -1 on error - is this ok ?
4802 * test/test-simple.c (test_application): impl.
4804 * cspi/spi_accessible.c (Accessible_getApplication),
4805 (Accessible_isApplication): impl.
4807 * libspi/registry.c (spi_listener_struct_free): release
4808 the CORBA reference too.
4810 * libspi/accessible.c
4811 (impl_accessibility_accessible_get_parent): fix ref leak.
4813 * libspi/registry.c (spi_registry_new): make the registry
4814 immortal - we don't want it to go away ever.
4816 * libspi/application.c
4817 (spi_accessible_application_finalize): impl. cleanup.
4819 * cspi/spi_registry.c
4820 (deregisterGlobalEventListenerAll),
4821 (deregisterGlobalEventListener),
4822 (deregisterAccessibleKeystrokeListener): fix ref leak.
4824 * cspi/spi_main.c (SPI_init): remove redundant ref.
4826 * test/test-simple.c (unutterable_horror): impl. to force a
4831 (impl_accessibility_registry_deregister_application): release
4832 the application when we de-register it.
4834 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4835 until we have the infastructure to get it right.
4837 2001-12-03 Michael Meeks <michael@ximian.com>
4839 * libspi/Makefile.am: only build eventlistener.[ch]
4841 * libspi/accessible.c
4842 (impl_accessibility_accessible_get_child_at_index): don't leak.
4844 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4845 before we hit the idle handler.
4847 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4848 debugging than exit.
4850 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4852 * libspi/listener.c (impl_notify_event): check source
4853 not NIL before unref.
4855 * libspi/registry.c (impl_registry_notify_event): ditto.
4857 * libspi/eventlistener.c
4858 (impl_accessible_event_notify_event): unref the source.
4860 * libspi/accessibleeventlistener.c
4861 (impl_accessible_event_notify_event): unref the source.
4863 * idl/Event.idl: remove 'hash_id' attribute - of no
4866 * libspi/application.c (notify_listeners): upd list
4868 (spi_application_object_event_listener),
4869 (spi_application_toolkit_event_listener): upd to do correct
4873 (_registry_notify_listeners): update.
4874 (parse_event_type): this method also leaks like a sieve.
4875 (impl_accessibility_registry_deregister_global_event_listener):
4876 fix ETYPE_WINDOW case.
4878 * libspi/application.c
4879 (impl_accessibility_application_register_object_event_listener):
4882 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4884 * libspi/hypertext.c (impl_getLink): ditto.
4886 * cspi/spi_main.c (cspi_object_add): remove
4887 bogus CORBA_Object_duplicate.
4889 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4892 * cspi/spi_accessible.c
4893 (Accessible_getRelationSet): fix leak / referencing issue.
4895 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4896 (cspi_object_add, cspi_object_unref): upd.
4897 (spi_object_release, get_live_refs): impl.
4898 (cspi_cleanup): simplify.
4900 * *.[ch]: s/boolean/SpiBoolean/
4902 * cspi/spi_accessible.c (role_names): actualy order so it
4903 corresponds with the enum !
4905 * test/test-simple.c (test_roles): check some role strings
4906 vs. enums to detect offset errors.
4908 2001-12-01 Michael Meeks <michael@ximian.com>
4910 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4912 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4914 (Accessible_getChildAtIndex): use cspi_add_check so we
4915 check the ev before using a (possibly) invalid value.
4917 * libspi/accessible.c
4918 (impl_accessibility_accessible_get_parent): don't segv
4921 * at-bridge/bridge.c (gtk_module_init): upd.
4922 (bridge_property_event_listener): don't leak strings
4924 (bridge_state_event_listener),
4925 (bridge_property_event_listener): don't use a static
4926 buffer in case of recursive event emission &
4927 re-enterancy - split out the swathe of cut and paste
4929 (emit_eventv): and fix 2 ref leaks here & comply to the
4931 (bridge_register_app): rename to
4932 (bridge_idle_init): this and kill arg parsing, split
4933 various inits & bonobo-activation registration to module
4934 init time, kill referencing error.
4935 (bridge_exit_func): fix the same leak.
4936 (bridge_focus_tracker): don't leak event structures
4938 (bridge_signal_listener): more leakage and cut & paste
4940 (bridge_key_listener): return the result - FIXME is
4941 this polarity correct ?
4942 (accessibility_keystroke_from_atk_key_event): rename
4943 (accessibility_init_keystroke_from_atk_key_event): and stop
4945 (gtk_module_init): return a value - not that it is checked by
4947 (bridge_key_listener): register my horror at casting between
4948 IDL defined structs.
4949 (bridge_get_registry): kill - not used.
4951 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4953 * test/test-simple.c (test_roles): impl.
4954 (test_desktop, validate_accessible, validate_tree): impl.
4956 * cspi/spi_accessible.c (role_names): fixup bogus
4957 MAX_ROLES setup, make constants const for efficient linkage
4958 (AccessibleRole_getName): conform to coding style, make
4961 2001-11-30 Michael Meeks <michael@ximian.com>
4963 * cspi/spi.h: add missing prototype.
4965 * libspi/registry.c (spi_listener_struct_new): fix sig.
4967 * test/Makefile.am: add test-simple
4969 * test/test-simple.c: add
4971 * test/test.sh: add.
4973 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4975 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4976 do it straight - since otherwise we often get an activation race.
4978 [ work before Bill duplicated a chunk of it ... ]
4979 2001-11-30 Michael Meeks <michael@ximian.com>
4981 * libspi/keystrokelistener.c
4982 (spi_keystroke_listener_class_init): fixup arg
4985 * libspi/eventlistener.c
4986 (spi_event_listener_class_init): ditto.
4988 * tests/test.sh: add.
4990 * cspi/spi-listener-impl.h: update macros.
4992 * cspi/spi-listener-impl.c
4993 (cspi_event_listener_remove_callback): add
4994 correct pre-conditions.
4996 * cspi/spi_main.c (SPI_exit): guard vs. double
4997 exits, exit the mainloop nicely.
4998 (SPI_event_main): make more sense.
4999 (SPI_init): move the atexit evilness here so we
5000 always do it (yuck).
5001 (SPI_event_main): upd.
5003 * test/simple-at.c: update for listener changes.
5005 * registryd/registryd.c (main): prune kruft.
5007 * libspi/libspi.h: upd.
5009 * libspi/eventlistener.[ch]: rename broken macros.
5011 * libspi/accessibleeventlistener.[ch]: remove.
5013 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5015 * test/test-simple.c: Add - automated tests.
5017 * cspi/spi-listener-impl.c (cspi_event),
5018 (cspi_key_event): add user_data to invoke.
5019 (cspi_keystroke_listener_finalize): impl.
5020 (cspi_keystroke_listener_class_init): upd.
5023 (createAccessibleEventListener),
5024 (AccessibleEventListener_addCallback),
5025 (createAccessibleKeystrokeListener),
5026 (AccessibleKeystrokeListener_addCallback): upd.
5028 * libspi/deviceeventcontroller.c
5029 (spi_device_event_controller_check_key_event): add public proto.
5032 (impl_accessibility_registry_deregister_global_event_listener):
5033 always init listeners.
5034 (_registry_notify_listeners): yes it is.
5036 * cspi/spi-listener-impl.c (cspi_key_event):
5038 (cspi_event_listener_finalize): impl.
5039 (cspi_event_listener_class_init): hook up.
5040 (event_handler_new, event_handler_free),
5041 (event_list_remove_by_callback): impl.
5042 (cspi_event_listener_remove_callback),
5043 (cspi_keystroke_listener_remove_callback),
5044 (cspi_keystroke_listener_add_callback),
5045 (cspi_event_listener_add_callback): upd.
5047 * libspi/keystrokelistener.c
5048 (keystroke_listener_object_finalize): kill
5049 (spi_keystroke_listener_class_init): upd.
5050 (spi_keystroke_listener_add_callback),
5051 (spi_keystroke_listener_remove_callback): kill,
5053 (impl_key_event): prune drasticaly.
5055 * libspi/eventlistener.c
5056 (spi_event_listener_add_callback),
5057 (spi_event_listener_remove_callback): kill, use
5059 (impl_accessible_event_notify_event): upd.
5060 (spi_event_listener_object_finalize): remove.
5062 * libspi/Makefile.am: use eventlistener.[ch]
5064 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5066 * libspi/registry.c (_registry_notify_listeners):
5067 Changed listener loop iteration to use preferred convention.
5068 Got rid of string memory leaks caused be calling g_strconcat
5069 inside function calls.
5071 * libspi/registry.c (parse_event_type):
5072 Stopped g_strconcat memory leaks, free the g_strsplit return,
5073 g_strdup the split pieces when used, etc.
5075 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5078 Change method 'compare' to return a 'difference set' rather than
5079 taking a StateSet as an out parameter (more Java-friendly).
5081 * idl/Accessible.idl:
5082 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5084 * idl/Component.idl:
5086 Changed methods 'getExtents' and 'getImageExtents' in these
5087 interfaces to return a BoundingBox structure.
5088 (getPosition and getSize are redundant and possibly should be
5089 removed, rather than creating a corresponding Point struct.)
5091 * cspi/spi_component.c:
5092 Modify implementation of getExtents to reflect the above IDL
5097 Add (missing) AccessibleImage_getExtents () API.
5099 * docs/reference/cspi/at-spi-cspi-sections.txt:
5100 Added AccessibleImage_getImageExtents () to docs.
5102 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5104 * idl/Component.idl:
5105 Added two methods, getLayer () and getMDIZOrder (), to reflect
5106 the new ATK methods atk_object_get_layer and
5107 atk_object_get_mdi_z_order. (Which arguably should be part of the
5108 AtkComponent API and AtkObject). Also added an enum,
5109 ComponentLayer, for the first method's return value.
5111 * libspi/component.c:
5112 Added implementations for these methods.
5114 * cspi/spi_component.c:
5116 Added cspi binding methods for above,
5117 AccessibleComponent_getLayer() and
5118 AccessibleComponent_getMDIZOrder().
5119 Added cspi enum 'AccessibleComponentLayer'.
5121 * docs/reference/cspi/at-spi-cspi-sections.txt:
5122 Added above methods to docs.
5126 Changed typedef for 'boolean' type (and all references to it) to
5127 SPIBoolean, to avoid keyword clashes with C++.
5130 Changed usages of 'boolean' to SPIBoolean.
5132 * test/keysynth-demo.c:
5133 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5134 app), except where SPIBoolean is required by the callbacks API.
5136 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5138 * cspi/spi_registry.c:
5139 Removed obsolete X event loop for passive keygrabs (which now
5142 * registryd/registryd.c:
5143 Removed unnecessary call to gdk_init() [cruft]. This also allows
5144 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5147 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5149 * docs/reference/cspi:
5150 Included docs for SPI_freeString in generated documentation.
5153 Renamed spi_freeString to SPI_freeString, for consistency. Added
5154 documentation for this function.
5157 Renamed spi_freeString to SPI_freeString, for consistency.
5158 Removed obsolete method declaration string_from_corba_string.
5160 * test/keysynth-demo.c:
5161 Small tweak to comments.
5164 Stopped leaking the strings returned from CSPI.
5166 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5168 Merged Michael's branch (see his ChangeLog entries below).
5170 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5171 bridge is alive, release on exit.
5173 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5174 Fix type check macro.
5177 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5180 Added is_gnome_app static, and method cspi_is_gnome_app(),
5181 so we can call the appropriate shutdown routine at exit in SPI_exit.
5183 * cspi/spi_main.c (cspi_object_ref):
5184 Duplicate the corba object passed in, since we're keeping it around.
5186 * cspi/SPI_exit.c, cspi_cleanup:
5187 Moved the releasing of the live refs to its own function, so we
5188 can put it in g_atexit (). Call the appropriate shutdown API
5189 depending on whethe calling client is a gnome app or not
5190 (bonobo_main_quit or CORBA_ORB_shutdown).
5192 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5193 Unref the listener when this method is called, after
5194 deregistration. Updated the API docs to note this behavior.
5196 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5197 Bugfixes: Ref the bonobo object when returning a parent or child
5198 reference, or an AccessibleRelation. Generally made sure
5199 BonoboObject refcount is incremented whenever we return an
5202 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5203 Fixed typo/bug in signal declaration.
5205 * libspi/accessibleeventlistener.h:
5208 * libspi/application.c (spi_application_new):
5209 Fixed leak in initialization.
5212 Remembered to increment bonobo-object refcount when returning
5213 children (applications) from desktop object.
5214 Added (empty) finalize method.
5216 * libspi/deviceeventcontroller.c:
5217 Hold a ref to listeners inside DEControllerKeyListeners.
5218 Added dec_key_listener_free() method. Use prepend instead of
5219 append in key_listener list. Fixed some refcount madness and
5220 leaks in the listener registration/deregistration - deregistration
5221 now calls dec_key_listener_free() on listeners, and on the
5222 temporarily constructed dec_key_listener() used to perform the search/match.
5224 * libspi/hypertext.c (spi_hypertest_finalize):
5225 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5226 class. Also fixed spi_hypertext_interface_new() and
5227 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5229 * libspi/hypertext.h:
5230 Removed pointless and duplicate AtkObject pointer from
5233 * libspi/keystrokelistener.c:
5234 Fixed incorrect type of keystroke_listener_parent_class,
5235 renamed keystroke_listener_object_finalize to
5236 spi_keystroke_listener_object_finalize.
5237 Fixed typo in signal declaration
5238 (spi_keystroke_listener_class_init).
5240 * libspi/registry.c:
5241 Added funcsions spi_listener_struct_new() and
5242 spi_listener_struct_free() to help with memory management issues.
5243 We also now use these methods instead of gnew + poking stuff into
5244 the struct, and to decrement listener counts/free the listeners
5245 when deregistering them.
5246 Fix more refcount bugs in getDesktop() and
5247 getDeviceEventController().
5250 De-ref the desktop after enumerating the applications. Explicitly
5251 decrement the refcounts on the created listeners on exit (using
5252 _unref for keystroke listeners, and via the
5253 deregisterGlobalEventListenerAll command for other event
5256 2001-11-27 Michael Meeks <michael@ximian.com>
5258 * cspi/spi-listener.h: fixup enum.
5260 2001-11-27 Michael Meeks <michael@ximian.com>
5262 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5263 (cspi_keystroke_listener_new): Use the cspi variants.
5265 2001-11-26 Michael Meeks <michael@ximian.com>
5267 * test/keysynth-demo.c: fix 2 compile warnings, missing
5270 * test/simple-at.c (report_focussed_accessible),
5271 (report_focus_event, report_button_press),
5272 (check_property_change, is_command_key),
5273 (report_ordinary_key_event, report_command_key_event): upd.
5275 * util/mag_client.h: include pre-requisites.
5277 * libspi/accessibleeventlistener.c
5278 (spi_event_listener_object_finalize): free any lingering
5281 * libspi/keystrokelistener.c
5282 (keystroke_listener_object_finalize): ditto.
5284 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5285 callbacks, with cspi types.
5287 * cspi/spi_event.c (createAccessibleEventListener): chain to
5288 (AccessibleEventListener_addCallback): here.
5289 (createAccessibleKeystrokeListener): chain to
5290 (AccessibleKeystrokeListener_addCallback): here.
5292 * libspi/keystrokelistener.c
5293 (spi_keystroke_listener_class_init): add signal.
5294 (impl_key_event): emit the event.
5295 (boolean_handled_accumulator): impl.
5296 (marshal_BOOLEAN__POINTER): add, gack.
5298 * libspi/accessibleeventlistener.c
5299 (spi_event_listener_class_init): add signal.
5300 (impl_accessible_event_notify_event): emit the signal &
5301 make the loop efficient.
5302 (spi_event_listener_add_callback): prepend the callback.
5304 * libspi/accessibleeventlistener.h: add an 'event' signal,
5305 decl type on callback.
5307 * libspi/keystrokelistener.h: ditto.
5309 * cspi/spi-listener.h: make methods typesafe and
5310 make them use the new event typedefs.
5312 * test/simple-at.c (report_focussed_accessible):
5313 include mag_client.h
5314 Use *(void *)text_interface not the other thing.
5316 * configure.in: add gtk to registryd bits - since we use
5319 * util/magnifier.c: include libbonobo.h
5321 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5323 * test/keysynth-demo.c:
5324 Turned this into a simple scanning keyboard, to demonstrate the
5325 use of g_timeout_add () as a means of creating timers for
5326 scanning, and the use of GtkStyle for visually indicating when
5327 virtual keyboard elements are selected.
5329 keysynth-demo now listens to any keyboard keys with zero-valued
5330 keycodes (i.e. 'unused' keys) and interprets them as
5333 Reworked the shiftlatch code so that shift-down state isn't held
5334 for long periods (it's only synthesized immediately prior to
5335 the keysynth event it's modifying). Note that shiftlatch in this
5336 demo is a convenience, not intended to take the place of AccessX
5337 which is the better choice for getting 'sticky' modifier keys.
5339 * libspi/deviceeventcontroller.c:
5340 * at-bridge/bridge.c:
5341 * cspi/spi_registry.c:
5342 Removed some debug print stuff, and put other verbosity in #ifdef
5347 Implemented some more of the magnifier IDL for the simple
5348 magnifier: namely, getZoomRegionParams.
5349 Added mag_x and mag_y members to MagnifierData struct, aid of this
5351 Added GtkWindow::realize signal handler to magnifier, to keep it
5352 from receiving keyboard focus from the WM.
5354 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5356 * cspi/spi-private.h: my guess at what michael forgot
5357 before he ran off to NZ :-)
5359 2001-11-23 Michael Meeks <michael@ximian.com>
5361 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5362 comment out non existant method invoke so we link.
5364 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5365 use bonobo_exception_get_text for more friendly warnings.
5367 * cspi/spi.c (Obj_Add): move into spi_main & rename
5368 spi_object_add; kill spi.c
5370 * cspi/spi_registry.c
5371 (deregisterGlobalEventListener),
5372 (deregisterGlobalEventListenerAll),
5373 (registerGlobalEventListener): fix exception leaks.
5375 * cspi/spi_main.c (spi_exception): impl. helper, so we
5376 don't leak exceptions.
5378 * cspi/spi_selection.c
5379 (AccessibleSelection_deselectSelectedChild): return the
5382 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5383 (spi_registry): ditto.
5384 (SPI_init): guard against double inits.
5386 * cspi/*.c: use spi_ev (), and spi_registry () where
5387 appropriate - a temporary hack until we have something
5388 better. Use spi_object_add
5390 2001-11-22 Michael Meeks <michael@ximian.com>
5392 * cspi/Makefile.am: re organise, install the headers.
5394 * cspi/*.h: add G_BEGIN/END_DECLS
5396 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5399 Added non-preemptive keylistener for key events with no modifiers
5400 and shift-only modifier.
5402 * libspi/keystrokelistener.c:
5403 Removed some verbose diagnostics printout.
5405 * cspi/spi_registry.c:
5406 Fixed a bug that caused all key listeners to be registered as
5409 * libspi/deviceeventcontroller.c:
5410 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5411 for non-preemptive key masks.
5414 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5416 * docs/reference/idl/at-spi-idl-docs.sgml:
5417 * docs/reference/idl/at-spi-idl-sections.txt:
5418 * docs/reference/idl/at-spi-idl-overrides.txt:
5419 Added missing files.
5421 * docs/reference/Makefile.am:
5422 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5423 to scan the IDL files :-(
5428 Added .cvsignore files.
5430 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5432 * libspi/deviceeventcontroller.c:
5433 * libspi/keystrokelistener.c:
5435 * cspi/spi_registry.c:
5436 Added filters for KeySets, KeyEventSeq, and event types to key
5437 event dispatching, so listeners should only receive those events
5438 that they requested :-)
5440 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5445 * docs/reference:Makefile.am:
5446 * docs/reference/cspi:
5447 * docs/reference/cspi:Makefile.am:
5448 * docs/reference/cspi:tmpl:
5449 * docs/reference/cspi:tmpl:*.sgml:
5450 * docs/reference/idl:
5451 * docs/reference/idl:Makefile.am:
5452 * docs/reference/idl:at-spi-idl-sections.txt:
5453 * docs/reference/idl:at-spi-idl-docs.sgml:
5454 * docs/reference/idl:tmpl:
5455 * docs/reference/idl:tmpl:*.sgml:
5457 Restructured docs directory to allow separate 'reference' docs
5458 section, and forked idl and cspi docs. Added the sgml template
5459 files to CVS. Added the first sections/structural sgml for the
5462 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5464 * configure.in, libspi/Makefile.am: find libXtst.
5466 2001-11-21 Michael Meeks <michael@ximian.com>
5468 * test/accessx-gui.c: s/spi_value/value/ - doh.
5470 * libspi/base.[ch]: add.
5472 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5474 * idl/Accessible.idl:
5475 * idl/Application.idl:
5478 Started gtk-doc cleanup on IDL.
5480 * libspi/deviceeventcontroller.c:
5481 Added and connected non-preemptive key notification from the
5482 toolkits (in addition to the pre-emptive support from XServer
5483 which we had before, but which causes 'focus flashing'). Filters
5484 are presently limited to key modifiers and global/non-global,
5485 KeySets are presently ignored, as are KeyEvent masks.
5487 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5488 structs into the persistant structure rather than just storing
5489 pointers to things that might not persist across servant
5492 The XGrabKey call now does async keygrabs, because synchronous
5493 ones were deadlocking with GDK_event code in a very nasty way.
5495 Added boolean to internal method notify_keylisteners, to indicate
5496 whether the event came from the 'toolkit source' or the 'global
5497 (XServer) source' - this is used in the notification process to
5498 determine which listeners to send the event to.
5500 deviceeventcontroller.c is now warning-free.
5502 * libspi/registry.c:
5503 Fixed regression in application de-registration.
5504 Also fixed some really brain-dead weirdness having to do with
5505 event dispatching - event structs are now duplicated before being
5506 re-marshalled in the dispatch to listeners. This also fixes a
5507 Solaris build problem.
5510 2001-11-20 Michael Meeks <michael@ximian.com>
5513 (impl_accessibility_registry_deregister_global_event_listener):
5516 * libspi/deviceeventcontroller.c
5517 (spi_device_event_controller_check_key_event): return
5518 FALSE on no virtual method.
5520 * libspi/*..h: make includes work on a correctly pathed install.
5522 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5524 * libspi/application.h: kill unused ( and whacked out )
5525 gboolean *spi_application_set_id (AtkObject *app, long id);
5527 2001-11-20 Michael Meeks <michael@ximian.com>
5529 * libspi/*.[ch]: further convert to bonobo's type func
5530 macros, remove redundnant casts etc.
5532 * libspi/text.c s/accessibility_text/spi_text/g,
5533 re-order to de-cruft.
5535 * libspi/hypertext.c: re-order to kill a huge slew
5536 of redundant forward decls.
5538 * libspi/relation.c: ditto.
5540 * libspi/image.c: ditto.
5542 * */.cvsignore: update
5544 2001-11-20 Michael Meeks <michael@ximian.com>
5546 * libspi/deviceeventcontroller.c
5547 (_controller_register_with_devices): use g_getenv,
5548 kill stdlib.h include.
5550 * libspi/keystrokelistener.c
5551 (spi_keystroke_listener_get_type): kill
5552 (spi_keystroke_listener_class_init),
5553 (spi_keystroke_listener_init): rename to this.
5555 * libspi/text.c (impl_getAttributes): fix warning / bug.
5557 * libspi/*.[ch]: more headers, includes and over commenting.
5559 2001-11-20 Michael Meeks <michael@ximian.com>
5561 * libspi/*.[ch]: fixup headers, includes and over commenting.
5563 * libspi/image.c (impl__get_imageDescription): const
5564 correctness warning fix. remove redundant casting.
5566 * libspi/table.c (impl_getRowDescription): ditto.
5567 (impl_getColumnDescription): ditto.
5569 * libspi/libspi.h: add.
5571 2001-11-19 Michael Meeks <michael@ximian.com>
5573 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5575 * libspi/component.c (accessibility_component_get_type):
5576 rename to (spi_component_get_type): and macroify.
5577 (accessibility_component_init): rename to
5578 (spi_component_init): this
5579 (accessibility_component_class_init): rename to
5580 (spi_component_class_init): this
5582 * libspi/action.c (spi_action_get_type): kill, use the macro.
5584 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5587 * libspi/application.c (spi_application_object_event_listener),
5588 (impl_accessibility_application_register_object_event_listener):
5589 warning fixes / const understanding updates.
5591 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5594 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5596 * libspi/spi_accessible.c: Added docs and C bindings for
5597 AccessibleStateSet. (No implementations yet). Documentation
5598 coverage for C bindings now 100%. Made docs for event listeners
5603 boolean notifyListenersSync (in DeviceEventListener listener,
5604 in DeviceEvent event);
5606 oneway void notifyListenersAsync (in DeviceEventListener listener,
5607 in DeviceEvent event);
5609 Added DeviceEventListener and DeviceEvent structs (may deprecate
5610 KeyStroke and KeystrokeListener in favor of this generic
5611 event/listener framework for devices).
5613 * libspi/deviceeventcontroller.c:
5615 Changed some key listener code to take masks, etc., and paved the
5616 way for integration of toolkit/non-preemptive key events. Changed
5617 signatures of some internal methods.
5619 * at-bridge/bridge.c:
5620 Fixed regression connecting to interface signals, apparently
5621 caused by GTK+ changes.
5623 Added an internal bridge_state_listener to deal with
5624 property-change:accessible-state signals.
5626 Changed the key_listeners GList to store structs (including masks,
5627 etc.) instead of just CORBA_Objects (required for full
5628 implementation of key listener API).
5630 Connected the bridge to all currently supported Atk signals.
5631 Events now supported:
5632 object:property-change
5633 object:property-change:accessible-name
5634 object:property-change:accessible-state
5635 object:property-change:accessible-description
5636 object:property-change:accessible-parent
5637 object:property-change:accessible-value
5638 object:property-change:accessible-role
5639 object:property-change:accessible-table-caption
5640 object:property-change:accessible-table-column-description
5641 object:property-change:accessible-table-column-header
5642 object:property-change:accessible-table-row-description
5643 object:property-change:accessible-table-row-header
5644 object:property-change:accessible-table-summary
5645 object:children-changed
5646 object:visible-data-changed
5647 object:selection-changed
5648 object:text-selection-changed
5650 object:text-caret-moved
5652 object:row-reordered
5654 object:column-inserted
5655 object:column-reordered
5656 object:column-deleted
5657 object:model-changed
5659 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5661 * libspi/hyperlink.c,h:
5662 Fixed some broken stuff in hyperlink.
5664 * libspi/relation.h:
5665 * libspi/relation.c:
5666 * cspi/spi_accessible.c:
5667 Initial implementations of AccessibleRelation methods, and docs.
5669 * libspi/accessible.c:
5670 Fixed a bug that caused SEGV if an accessible
5671 object's description is NULL, and a client
5672 requests it. An empty string is now returned.
5674 * cspi/spi_editabletext.c:
5675 * cspi/spi_hypertext.c:
5677 * cspi/spi_hyperlink.c:
5681 Doc coverage now 95%.
5683 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5685 One last namespacing revision:
5686 * libspi/accessibleeventlistener.[ch]:
5687 Renamed SpiAccessibleEventListener to SpiEventListener,
5688 (no need for two namespaces ;-)
5690 And lots of documentation fixes:
5692 * docs/at-spi-docs.sgml:
5693 Fixed 'underscore vs. hyphen' bug that was preventing
5694 the gtk-doc API docs from being automatically generated.
5697 * cspi/spi-listener.h
5699 * cspi/spi_accessible.c
5701 * cspi/spi_application.c
5702 * cspi/spi_component.c
5703 * cspi/spi_editabletext.c
5705 * cspi/spi_hypertext.c
5707 * cspi/spi_registry.c
5708 * cspi/spi_selection.c
5712 * docs/at-spi-docs.sgml
5713 * docs/at-spi-sections.txt
5715 Added and fixed up gtk-doc documentation in cspi.
5717 Interfaces now (fully) documented (subject to revision and enhancement):
5719 Event Listener Support
5721 AccessibleApplication
5725 AccessibleEditableText
5732 AccessibleRelationSet
5737 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5739 * at-bridge/bridge.c:
5740 Initial work for toolkit-level key snooper connection by bridge.
5745 New typedefs and fixes to support new namespacing, and cleaner
5746 separation of cspi bindings from libspi bonobo implementation.
5747 Removed inconsistent and extraneous Spi* namespace prefix that
5748 had crept into cspi headers.
5749 Lots of comment fixes that sed had missed.
5751 * cspi/spi-roletypes.h:
5752 * cspi/spi-statetypes.h:
5753 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5754 to AccessibleRoleType.
5756 * libspi/accessibleeventlistener.h:
5757 Fixed minor namespacing weirdness.
5759 * libspi/deviceeventcontroller.c:
5760 Reordered some internal API for device listeners.
5761 Changed the key registry final boolean to 'is_system_global'
5762 rather than 'is_synchronous', which is more descriptive of its
5764 Added spi_device_event_controller_new().
5765 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5767 * libspi/keystrokelistener.[ch]:
5768 Namespaced KeystrokeListener to SpiKeystrokeListener.
5769 Changed uses of keymasks to use SPI_ prefix, and did other
5772 * libspi/keymasks.h:
5773 Namespaced keymask constants with SPI_ prefix.
5775 * libspi/registry.c:
5776 Some warning fixes, and knock-on fixes from namespace changes.
5779 Added rules for accessx-gui test program.
5781 * test/accessx-gui.c:
5782 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5783 utility. It doesn't actually use at-spi, but it's still cool and
5786 * test/keysynth-demo.c:
5790 Fixes so that these test clients work properly with the namespaced
5791 libraries. (Incompletely tested for technical reasons, fixes may follow)
5794 2001-11-13 Michael Meeks <michael@ximian.com>
5796 * libspi/application.c
5797 (impl_accessibility_application_get_version),
5798 (impl_accessibility_application_get_toolkit_name):
5800 (impl_accessibility_application_set_id),
5801 (impl_accessibility_application_get_id): remove
5802 redundant casting code.
5804 * libspi/action.c (impl_getDescription): fix warnings.
5806 * libspi/accessible.c
5807 (impl_accessibility_accessible_get_parent),
5808 (impl_accessibility_accessible_get_child_at_index),
5809 (impl_accessibility_accessible_get_state),
5810 (impl_accessibility_accessible_get_relation_set):
5811 warning fixes & include action.h
5813 2001-11-13 Michael Meeks <michael@ximian.com>
5815 * *.[ch] fix bits I screwed up:
5817 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5818 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5820 2001-11-13 Michael Meeks <michael@ximian.com>
5822 * *.[ch] Namespace libspi into spi_ and Spi.
5824 2001-13-11 Michael Meeks <michael@ximian.com>
5826 * Makefile.am: dist & install at-spi-1.0.pc
5828 * libspi/Makefile.am: install into at-spi-1.0
5830 * idl/Makefile.am (idldir): install into at-spi-1.0
5832 * at-spi-1.0.pc.in: add.
5834 * configure.in: build it.
5836 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5838 * test/keysynth-demo.c:
5839 Use a 'realize' signal-handler to set the WM properties for
5840 the virtual keyboard, rather than making it a "POPUP" type
5841 override-redirect window (thanks to anders carlsson for that
5844 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5847 * test/keysynth-demo.c:
5848 Added new test of key synthesis, which creates a simple
5849 (mouse-operated) onscreen keyboard. It inserts key events into
5850 the currently-focused window, thus it does not grab keyboard focus
5853 * cspi/spi_registry.c:
5854 Added C binding for AT-SPI generateKeyEvent.
5856 * libspi/deviceeventcontroller.c:
5857 Added call to XFilterEvent so that key listener works with XIM (we
5858 hope). Added event_synth_type to generateKeyEvent, so that we can
5859 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5860 synthesize a press/release pair for KeySyms.
5862 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5864 * libspi/Makefile.am:
5865 * registryd/Makefile.am:
5866 (temporary) hack to include libXtst in libspi and registryd.
5867 (Needed for keystroke synthesis, see below).
5870 Improved API for registerKeystrokeListener, in accordance with
5871 discussions with Gnopernicus team and X server research.
5873 * libspi/registry.c:
5874 * libspi/deviceeventcontroller.c:
5875 * libspi/accessible.c:
5876 * libspi/keystrokelistener.c:
5877 Changes and fixes to support keylisteners for potentially
5878 consumed key events (that is, 'passive grabs').
5879 Added implementation for generateKeyEvent() [untested].
5882 Changes to registerKeystrokeListener() API, as above.
5883 Added deregisterGlobalEventListenerAll(), and
5884 deregisterKeystrokeListener(), which are needed for clean exit of
5886 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5887 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5889 * cspi/spi_registry.c:
5890 Added implementations of function prototypes mentioned above.
5892 * registryd/registryd.c:
5893 Added the key listener event source as a g_timeout(), to allow
5894 receipt of key events that are not caught by GDK (since GDK
5895 doesn't support passive keygrabs, this was necessary).
5898 Changed to attach a keylistener to 'Alt' keys, and
5899 respond to the following keycommands: Alt-M (toggle magnifier);
5900 Alt-F (toggle speech); Alt-Q (quit).
5901 Added an exit routine to deregister the listeners, and a key
5902 listener that prints some key info to the console when a key
5903 matches the listener mask (and is thus received by the listener).
5905 * util/idl/Magnifier.idl:
5906 Changes to magnifier API to support multiple zoom regions,
5907 non-uniform scaling in x and y, markDirty, and a host of other
5908 features that would be useful to magnification.
5911 * util/mag_client.c:
5912 * util/mag_client.h:
5913 * util/mag_control.c:
5915 Source code changes to support the above IDL changes.
5918 As above, and also changes to use a (slower) generic conversion
5919 path for colormap conversions, since the fast RGB conversions have been
5920 reported to fail for 16-bit displays.
5922 2001-10-26 Michael Meeks <michael@ximian.com>
5924 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5926 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5928 * at-bridge/Makefile.am: fix LDFLAGS.
5930 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5932 * at-bridge/bridge.c:
5933 Re-worked listeners for toolkit events, now we have signal
5934 and property listeners. Added a private method
5935 register_atk_event_listeners(), which registers with the
5936 various atk and gtk signals we need to monitor in order to emit
5938 Added emission hook for AtkObject:property-change events, to
5939 support the 'property listeners'.
5940 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5943 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5944 which emit warnings and exit, respectively, if CORBA errors occur
5945 during remote calls, and we now use these methods to check most of
5946 our CORBA calls in the C bindings.
5948 * cspi/spi_accessible.c:
5949 Changed AccessibleSelection_refSelectedChild() to
5950 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5951 now increment refcounts.
5953 * cspi/spi_component.c:
5954 Fixed some long pointer casts (dangerous!) to pass pointers to
5955 CORBA_longs of the proper type to the CORBA stubs, and copy the
5956 data into the longs that were passed into the C bindings code.
5958 * at-bridge/bridge.c:
5960 * libspi/accessible.c:
5961 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5962 hyperlinks, AtkHyperlink is an object type.
5964 * libspi/application.c:
5965 Added various conversions to and from "generic" event types and
5966 atk-specific types; this is really part of the 'bridge'
5967 implementation but is valid for all AtkObject-based accessibility
5970 * libspi/editabletext.c:
5971 Fixed nasty bug wherein editable text's finalize method was
5972 unref'ing tha AtkObject reference that the text parent class was
5973 about to unref _again_. There was also a nasty inheritance bug
5974 that meant that the AccessibleEditableText class was corrupt.
5976 * libspi/selection.c:
5977 Provided implementations for some selection API that was broken.
5979 * idl/Application.idl:
5980 Added registerObjectEventListener () method.
5983 Fixed a number of return values that were Bonobo_Unknowns from
5984 bonobo_object_corba_objref(), which I
5985 forgot to dup before returning. Changed instances of
5986 bonobo_object_corba_objref (bonobo_object(o)) to
5987 BONOBO_OBJREF(o), for concision and clarity.
5989 2001-10-13 Louise Miller <louise.miller@sun.com>
5991 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5992 idl/Event.idl, idl/Registry.idl
5993 Changed these files to include Bonobo_Unknown.idl instead
5996 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5998 * libspi/component.c libspi/component.h:
5999 Fixed typo. Added assertions for object checks in
6000 AccessibleComponent code.
6002 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6004 * idl/Accessible.idl:
6005 Added 'isEqual (Accessible *object)'
6006 method for Accessible. (Not Yet Implemented).
6009 Changed signature of registerKeystrokeListener() to
6010 take a KeySet and KeyEventSeq so that specific keys and event
6011 types could be requested for monitoring, and added a flag
6012 is_synchronous so that either synchronous or asynchronous
6013 notification could be requested. (However this is not all
6014 implemented yet). This also meant adding two new typedefs,
6015 KeyEventSeq and KeySet.
6018 Added two new relations, RELATION_TOOLTIP_FOR and
6019 RELATION_LEAFNODE_OF.
6022 Added new state, STATE_HAS_TOOLTIP.
6024 * libspi/text.c, editabletext.c:
6025 Added new assertions to all casts of bonobo-objects from
6026 CORBA servants, to prevent Text API calls on non-text objects.
6027 Changed suspect casts of int-pointer types, so that we
6028 always send a valid CORBA_long pointer to the CORBA APIs that use
6029 in/out long parameters. We then have to copy from the CORBA_long
6030 into the regular long or int for return to the C bindings, or
6031 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6034 * libspi/deviceeventcontroller.c:
6035 Cleaned these sources up.
6037 Changed return type for getCharacterAtOffset to
6038 CORBA_unsigned_long, to allow for 32-bit characters.
6041 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6045 Fixed 'make dist' so that distro compiles...
6046 * libspi/keymasks.h:
6048 * cspi/spi-listener.c:
6049 KeystrokeListenerCB now returns a boolean.
6051 Added KeyEventType struct, and KeyStroke.
6052 Also added createKeystrokeListener(),
6053 KeystrokeListener_addCallback(),
6054 KeystrokeListener_removeCallback(), and added a keymask to
6055 registerKeystrokeListener().
6056 * cspi/spi_accessible.c:
6057 Changed numerous return types for interfaces from
6058 AccessibleComponent to Accessible<InterfaceName>; this was
6059 probably a cut-and-paste error.
6061 Implementations of new KeystrokeListener api (from spi.h,
6064 Changes to key modifier mapping.
6065 Created ControllerEventMask struct.
6066 Made DeviceEventController derive from Bonobo::Unknown.
6068 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6069 * libspi/deviceeventcontroller.c:
6070 Added a number of new internal (private) methods.
6071 * libspi/editabletext.c:
6072 * libspi/editabletext.h:
6073 Fixed a number of bugs related to the fact that
6074 editabletext inherits from text. Fixed the EditableText struct,
6075 the init() call, and use correct casts when calling Text methods
6076 from an EditableText object. Removed (duplicate) atko from the
6077 EditableText structure, we use the one in the parent Text
6078 structure via the casts mentioned above.
6079 * libspi/keystrokelistener.[ch]:
6080 * libspi/registry.c:
6081 Changes in support of keyboard handling (above).
6083 Keyboard handling, though partly functional, is still not
6084 recommended for at-spi client use as there is considerable
6085 work yet to be done.
6088 Changed some places where pointers to various int types
6089 are cast to be pointers to CORBA_long types and vice-versa:
6090 pointer casting is not safe so we pass pointers of the correct
6091 types and then cast the result before putting it into the target
6094 * libspi/text.h: minor typos corrected.
6096 We now speak not only the name of a Text element, but the
6097 first sentence of its content, when it receives focus.
6098 I also changed the text compression to 75% from 50%.
6099 * util/Accessibility_Util.server.in:
6100 Changed the default magnifier type to be a 3x vertical
6101 splitscreen magnifier (was previously a 2x horizontal one).
6103 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6105 * libspi/keystrokelistener.h:
6106 * libspi/keystrokelistener.c:
6107 Initial functional implementations of KeystrokeListener.
6110 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6112 Fixed string handling for NULL strings in libspi.
6113 Added spi_freeString to free strings returned by C bindings.
6115 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6117 * libspi/keystrokelistener.h:
6118 * libspi/keystrokelistener.c:
6119 Began (no-op) implementations of KeystrokeListener
6121 * libspi/deviceeventcontroller.c:
6122 * libspi/deviceeventcontroller.h:
6123 Began creating implementations of DeviceEventController,
6124 to handle keystroke and mouse event listening and
6126 * libspi/accessible.c:
6127 Stubbed-in the implementations for
6128 Accessibility_Accessible_getState and
6129 Accessibility_Accessible_getRelationSet.
6130 * libspi/registry.c:
6131 Improved de-registration process and fixed some bugs,
6132 deregistration now works correctly.
6134 Added initialization of applications list (to NULL).
6136 Reduced speech compression from 0.5 to 0.7, for demo.
6137 Changed call to gdk_window_set_decorations()
6138 to gtk_window_set_decorated().
6139 * at-bridge/bridge.c:
6140 Bridge now deregisters when app exits, via
6141 registration of a cleanup function
6142 with the g_atexit() call.
6143 Required making 'app' static, renamed 'this_app'.
6144 Fixed broken use of bonobo_init, passing argv wrongly.
6146 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6150 Created a new directory for
6151 accessibility-related utilities, primarily for
6152 testing and demo purposes, but with possible
6159 Onscreen magnifier utility that
6160 is implemented as a bonobo service.
6162 * util/mag_client.c:
6163 * util/mag_client.h:
6164 Client-side support (simple C bindings)
6165 for Magnification service
6167 * util/mag_control.c:
6168 Client program example for
6169 Magnification service
6171 * util/Accessibility_Magnifier.server.in:
6172 Bonobo-activation file for the
6173 Magnification service.
6176 * util/idl/Magnifier.idl:
6177 IDL defining the bonobo Magnification
6181 Modifications to use the bonobo-activated magnifier
6182 above, in place of trying to connect to an existing
6183 magnifier that uses socket-listening IPC.
6185 If env variable MAGNIFIER is set, a magnifier service
6186 will be started if one does not exist.
6188 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6190 * at-bridge/bridge.c:
6191 applied patch from Marc to build and run
6192 against new glib and gtk+ (seemed like a change
6193 to bonobo_init signature was made ?)
6195 made festival-server support turned off by default.
6196 Added support for a simple magnifier (off by default)
6197 which will be added to a 'util' directory later.
6198 * at-bridge/Makefile.am:
6199 Changed "application.h" header from a 'source'
6200 to a 'dependency' of libat-bridge.
6202 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6211 Added interface implementation c files to list of
6212 includes so they are included in libcspi.
6215 Changed prototype of AccessibleAction_doAction to return a
6217 Changed prototype of AccessibleTable_getCaption to
6218 return an Accessible.
6219 Changed prototype of AccessibleTable_getSelectedRows
6220 and AccessibleTable_getSelectedColumns to
6221 return a long (returns the number of selected rows
6222 or columns respectively).
6223 Changed name of AccessibleText_refRunAttributes to
6224 AccessibleText_getAttributes.
6225 Changed prototype of AccessibleText_getCharacterExtents to
6226 return a void rather than a boolean.
6227 Added support for a AccessibleCoordType parameter
6228 specifying what type of coordinates are desired.
6229 Added an AccessibleCordType parameter to
6230 AccessibleText_getPointAtOffset.
6232 * cspi/spi_accessible.c:
6233 Added code to return the outstanding interfaces from
6234 Accessible_queryInterface.
6236 * cspi/spi_action.c:
6238 Corrected call to getNActions to call the c binding
6241 * cspi/spi_editabletext.c:
6243 Changed name from setRunAttributes to setAttributes.
6245 * cspi/spi_hyperlink.c:
6247 Changed call to getNAnchors to correctly call the c
6248 binding for an attribute.
6250 * cspi/spi_hypertext.c:
6252 Changed getImageDescription to correctly call the
6253 binding for an attribute.
6255 * cspi/spi_selection.c:
6256 Changed getNSelectedChildren to correctly call the c
6257 binding for the attribute.
6258 Changed refSelectedChild to getSelectedChild.
6262 Changed getCaption to return an Accessible.
6263 Fixed calls which retrieve attributes.
6264 Changed refAt to getAccessibleAt.
6265 Changed getNSelectedRows and getNSelectedColumns to
6269 Changed getCharacterExtents and getPointAtOffset to accept an
6270 AccessibleCoordType.
6272 Changed calls which retrieve attributes.
6273 Changed refRunAttributes to getAttributes.
6278 * idl/Hyperlink.idl:
6279 Changed n_anchors attribute to nAnchors to keep naming
6280 convention consistent.
6283 Made Table inherit from Bonobo::Unknown.
6284 Added nSelectedColumns and nSelectedRows attributes.
6287 Made Value inherit from Bonobo::Unknown.
6289 * libspi/hyperlink.c:
6290 Change for nAnchors attributte name change.
6292 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6300 Added interface implementation c files to list of
6301 includes so they are included in libcspi.
6304 Changed prototype of AccessibleAction_doAction to return a
6306 Changed prototype of AccessibleTable_getCaption to
6307 return an Accessible.
6308 Changed prototype of AccessibleTable_getSelectedRows
6309 and AccessibleTable_getSelectedColumns to
6310 return a long (returns the number of selected rows
6311 or columns respectively).
6312 Changed name of AccessibleText_refRunAttributes to
6313 AccessibleText_getAttributes.
6314 Changed prototype of AccessibleText_getCharacterExtents to
6315 return a void rather than a boolean.
6316 Added support for a AccessibleCoordType parameter
6317 specifying what type of coordinates are desired.
6318 Added an AccessibleCordType parameter to
6319 AccessibleText_getPointAtOffset.
6321 * cspi/spi_accessible.c:
6322 Added code to return the outstanding interfaces from
6323 Accessible_queryInterface.
6325 * cspi/spi_action.c:
6327 Corrected call to getNActions to call the c binding
6330 * cspi/spi_editabletext.c:
6332 Changed name from setRunAttributes to setAttributes.
6334 * cspi/spi_hyperlink.c:
6336 Changed call to getNAnchors to correctly call the c
6337 binding for an attribute.
6339 * cspi/spi_hypertext.c:
6341 Changed getImageDescription to correctly call the
6342 binding for an attribute.
6344 * cspi/spi_selection.c:
6345 Changed getNSelectedChildren to correctly call the c
6346 binding for the attribute.
6347 Changed refSelectedChild to getSelectedChild.
6351 Changed getCaption to return an Accessible.
6352 Fixed calls which retrieve attributes.
6353 Changed refAt to getAccessibleAt.
6354 Changed getNSelectedRows and getNSelectedColumns to
6358 Changed getCharacterExtents and getPointAtOffset to accept an
6359 AccessibleCoordType.
6361 Changed calls which retrieve attributes.
6362 Changed refRunAttributes to getAttributes.
6367 * idl/Hyperlink.idl:
6368 Changed n_anchors attribute to nAnchors to keep naming
6369 convention consistent.
6372 Made Table inherit from Bonobo::Unknown.
6373 Added nSelectedColumns and nSelectedRows attributes.
6376 Made Value inherit from Bonobo::Unknown.
6378 * libspi/hyperlink.c:
6379 Change for nAnchors attributte name change.
6382 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6384 implementations-- made server implementations own AtkObject pointers
6385 rather than their respective AtkInterrface pointers to fix
6386 refcounting. AtkHyperlink is still broken.
6388 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6389 * cspi/spi_accessible.c:
6390 Added method Accessible_Role_getName(),
6391 and requisite string array (role_names).
6392 Added conversion string_from_corba_strin() call
6393 to Accessible_getName and _getDescription.
6394 * libspi/accessible.c:
6395 Added implementation for Accessible_getRole()
6397 Added festival support, used if environment variable
6400 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6402 * at-bridge/bridge.c:
6403 Now allocate Accessibility_Event using
6404 Accessibility_Event__alloc() instead of g_new0().
6405 * libspi/accessibleeventlistener.c:
6406 Initialize AccessibleEventListener->callbacks to NULL.
6407 Fixed accessible__event_listener_init() param, changed to
6408 "AccessibleEventListener *" type.
6409 Changed a bonobo_object_release_unref() call to
6410 Accessibility_Accessible_unref().
6411 * libspi/listener.c:
6412 Changed Bonobo_Unknown_unref to (equivalent)
6413 Accessibility_Accessible_unref.
6414 * libspi/registry.c:
6415 Changed bonobo_object_release_unref to
6416 Accessibility_Accessible_unref.
6418 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6421 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6422 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6423 spi-util.c spi-util.h
6424 Implementations for C bindings to remaining accessibility
6427 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6430 changed return value of Action from void to boolean to
6431 bring in line with ATK.
6434 Changed getText funcions to return "out" start and end offsets.
6435 Changed getAttributes to take and offset and return the start
6436 and end offset of the attribute run.
6437 Changed getOffsetAtPoint and getCharacterExtents to take an
6438 enum describing whether coordinates are window or screen.
6441 libspi/action.c libspi/action.h libspi/editabletext.c
6442 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6443 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6444 libspi/image.h libspi/selection.c libspi/selection.h
6445 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6446 libspi/value.c libspi/value.h
6447 Added server implementations for outstanding ATK interfaces
6448 not yet implemented.
6450 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6453 Added (missing) getName() method.
6454 Made nActions an attribute.
6455 * idl/EditableText.idl:
6456 Changed order of params in setAttributes.
6457 * idl/Hyperlink.idl:
6458 Removed getAnchor, added getURI.
6460 Changed attributes to methods, for efficiency
6461 (so that getting extents can be done in one call)
6462 * idl/Selection.idl:
6463 Changed nSelectedChildren to attribute, and re-indented.
6464 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6466 * idl/Text.idl: reformatted to match our coding style.
6467 (temporarily?) removed getRowColumnAtOffset().
6468 Changed text selection API to support multi-select and
6469 non-contiguous selections, as in ATK.
6470 * idl/Value.idl: changed some methods to attributes.
6472 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6474 * libspi/listener.c(impl_notify_event):
6475 BonoboUnkown_unref the source instead
6476 of bonobo_object_release_unref - the ORB
6477 handles the releasing.
6479 * configure.in: require ORBit-2.3.94 for
6482 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6484 Tagged CVS repository 'EA_1_0'.
6485 * README.EARLY_ACCESS:
6486 Alphabetized acknowledgements list, and
6488 Listed some known dependencies of at-spi.
6490 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6492 * docs/at-spi-docs.sgml:
6493 * docs/at-spi-sections.txt:
6494 * docs/at-spi-overrides.txt: (Added zero-length file)
6495 Documentation improvements - gtk-doc should build
6496 docs for all implemented C bindings now.
6499 * cspi/spi.c: (New file)
6500 * cspi/spi_event.c: (New file)
6501 * cspi/spi_registry.c: (New file)
6502 * cspi/spi_accessible.c: (New file)
6503 * cspi/spi_application.c: (New file)
6504 * cspi/spi_component.c: (New file)
6505 Split spi_main.c into six parts, and included them from
6506 "spi.c". This is a bit of a hack, probably temporary,
6507 but required by gtk-doc, apparently.
6509 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6512 * docs/at-spi-docs.sgml:
6513 * docs/at-spi-sections.txt:
6515 Initial checkins/modifications for gtk-doc generation.
6518 Added (missing) interface query methods to Accessible's C binding.
6520 Added GenericInterface type definition.
6522 Added query for AccessibleComponent interface to focus event handler.
6523 Added printout of bounding box for focussed component.
6524 * libspi/component.c:
6525 Added partial implementation for AccessibleComponent to C binding.
6526 * idl/Application.idl:
6527 * libspi/registry.c:
6528 * libspi/listener.c:
6529 * libspi/application.c:
6530 * libspi/application.h:
6531 Changed "ID" attribute type from string to long.
6533 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6537 Made method naming consistent: methods taking object args
6538 start with uppercase, other methods (except those using
6539 acronyms) start with lowercase. Underscores delimit between
6540 object names and method names:
6541 SPI_init() - uppercase since it starts with an acronym.
6542 getDesktopCount () - lowercase start since no object param0.
6543 Accessible_getName() - uppercase object type name, studlyCaps method
6547 Added gtk-doc documentation for all currently implemented
6548 methods in the C bindings API.
6550 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6552 * Makefile.am : changed build order to build test last.
6555 Changed "createEventListener" to "CreateEventListener".
6556 * libspi/accessibleeventlistener.c :
6557 Bugfix for addition of callbacks.
6558 * test/Makefile.am :
6559 * test/simple-at.c :
6560 Added new test that uses the C bindings API.
6562 * libspi/listener.c :
6563 * libspi/registry.c :
6564 * libspi/accessibleeventlistener.c :
6565 * at-bridge/bridge.c :
6566 Renamed member "target" of Accessibility_Event to "source",
6567 which is more descriptive.
6570 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6574 * cspi/Makefile.am :
6575 Added makefile support for at-spi/cspi directory.
6578 * cspi/spi-listener.h : (NEW FILE)
6579 Added support for/use of spi-listener.h.
6581 C bindings now build successfully, with no warnings.
6582 * libspi/accessibleeventlistener.h : (NEW FILE)
6583 * libspi/accessibleeventlistener.c : (NEW FILE)
6584 * libspi/Makefile.am :
6585 Added new object type "AccessibleEventListener"
6586 which inherits from Listener, and allows attachment
6587 of in-process callbacks (so that a client with a listening
6588 object instance can add functionality to the local
6589 implementation, dynamically).
6591 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6593 * libspi/accessible.c:
6594 Add implementation for get_index_in_parent().
6596 Added #include of "spi-roletypes.h", and
6597 added enumerated type AccessibleCoordType.
6598 Added definition for KeystrokeListener (function type).
6601 * cspi/spi-statetypes.h :
6602 * cspi/spi-roletypes.h :
6604 Added these headers, used by spi.h.
6606 Added code (NOTE: not yet built by make).
6608 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6610 * libspi/Makefile.am: generate imodule
6611 at the same time as other idl compiler
6614 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6615 * libspi/registry.c :
6616 * libspi/application.c :
6617 * idl/Application.idl :
6618 Made registration with toolkit an application method,
6619 which is required since each app has its own toolkit static
6620 environment. Thus the bridge must register for
6621 notification of toolkit events from each application in turn.
6622 Toolkit notifications are now successfully registered for, and
6623 sent to the listening at client.
6625 Changed toolkit event string to use hyphens rather than underscores.
6626 * libspi/listener.c :
6627 listner now gives more info in debug mode - it reports the
6628 name of the event received, as well as the name of the source.
6631 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6633 * libspi/registry.c :
6634 added more implementation for toolkit events.
6635 Fixed bug such that toolkit event registrations
6636 (via atk) use the whole event name string, not
6638 Removed a useless call to an ORBit_ method.
6639 * at-bridge/bridge.c :
6640 Removed unused local sbuf[] variable.
6642 We now register for Gtk:GtkWidget:button_press_event
6643 events as well as "focus:" events.
6645 Add some more API from Registry.idl that was missing,
6646 for keystroke listening, keystroke and mouse event
6647 synthesis, and enumeration of accessible desktops.
6649 2001-08-16 Michael Meeks <michael@ximian.com>
6651 * configure.in: use AM_GLIB_GNU_GETTEXT.
6653 * Makefile.am (SUBDIRS): kill intl.
6655 2001-08-15 Michael Meeks <michael@ximian.com>
6657 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6659 * configure.in: upd.
6661 * configure.in: depend on a recent bonobo-activation that
6662 will find our server files ...
6664 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6666 * libspi/accessible.c : accessible_new() :
6667 Now we add the Component interface via bonobo_object_add_interface,
6668 if the contained AtkObject implements AtkComponent.
6669 * libspi/accessible.h : now include "component.h"
6670 * libspi/component.h :
6671 * libspi/component.c : added files - implementation of
6672 bonobo wrapper object for Accessibility/Component
6673 * libspi/listener.c :
6674 Added test code to check for Accessibility/Component:1.0
6675 interface and report whether it is implemented by the
6677 * libspi/registry.c :
6678 Now we check for not only the hash of the whole event
6679 string before relaying the event, we also check the
6680 "minor" event string (without the detail string).
6681 This allows event listeners to be registered against
6682 all events of a certain major+minor type, or just
6683 against a specific major+minor+detail type.
6684 * libspi/accessible.c :
6685 Added implementations for Accessible:get_parent(),
6686 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6687 * libspi/registry.c :
6688 * libspi/listener.c :
6689 Replaced calls to Accessibility_Accessible_ref() and
6690 Accessibility_Accessible_unref() with
6691 calls to bonobo_object_dup_ref() and
6692 bonobo_object_release_unref(), so that the CORBA object
6693 is dup-ed and released when relayed, as well as the bonobo object.
6695 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6697 * libspi/Makefile.am,
6698 registryd/Makefile.am,
6699 at-bridge/Makefile.am.
6700 test/Makefile.am, configure.in:
6701 reverse previous changes.
6703 * /idl/Image.idl: fix typo.
6705 * test/Makefile.am: put DEBUG_FLAGS
6708 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6710 * test/app.c: use argv[0] instead of
6713 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6715 * libspi/Makefile.am,
6716 registryd/Makefile.am,
6717 at-bridge/Makefile.am.
6718 test/Makefile.am, configure.in:
6719 cleanup, replace individual LIBS/CFLAGS with
6720 AT_COMMON_{LIBS|CFLAGS}.
6724 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6726 * configure.in, libspi/Makefile.am:
6727 Change IDL path checking for bonobo-activation
6730 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6732 * registryd/registry.c : separated event listeners to use
6733 3 separate lists (focus, window, toolkit). Began testing
6734 event names against hashes before relaying events.
6735 * test/at.c : now register for events of type "focus:"
6736 * test/app.c : now generate events of type "focus:"
6737 * at-bridge/bridge.c : register with ATK for focus events,
6738 and we now relay those focus events to any "focus:" listeners.
6739 This now works with the bridge as a GTK_MODULE when running test/at.
6740 * libspi/registry.c :
6741 * libspi/listener.c :
6742 now we ref event sources before propagating, and unref on receipt.
6743 * libspi/registry.c :
6744 some changes to internal structs, to support event typestring hashes.
6745 * text/app.c : changed the way the appname is generated.
6746 * cspi : added directory that will hold the C bindings library for
6747 non-CORBA/bonobo-savvy clients.
6748 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6749 * idl/Component.idl : added in parameter to indicate coord system for
6750 geometry-related calls.
6751 * idl/Hyperlink.idl : added readonly n_links attribute
6752 * idl/Image.idl : changed methods to attributes.
6754 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6756 * at-bridge/Makefile.am: link against
6757 ../libspi/libspi.la instead of -lspi.
6759 * at-spi/test/app.c: include
6760 bonobo-activation.h. Use a default appname
6761 if one is not provided.
6763 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6765 * idl/Registry.idl : temporarily changed register_Application
6766 to oneway, to work around issue with initial registration
6768 * idl/Application.idl : changed attribute "id" from readonly
6769 to read-write, since it needs to be assigned by Registry.
6770 * registryd/registryd.c : added call to set application id
6772 * registryd/registry.c : changed de-registration procedure to
6773 use CORBA_Object_hash() to find matching object ref in application
6774 lists and listener lists.
6775 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6776 began distinguishing between event types (work in progress).
6778 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6781 * libspi/application.c:
6782 Added implementations for get/set id, get_toolkitName,
6784 * registryd/registryd.c :
6788 Converted from use of OAF to bonobo-activation.
6789 * libspi/desktop.h :
6790 * libspi/desktop.c :
6792 Removed references to atksimpleobject, since base atkobject
6793 implementation now provides functionality we need.
6794 * libspi/atksimpleobject.c :
6795 * libspi/atksimpleobject.h :
6800 * at-bridge/Makefile.am
6801 * at-bridge/bridge.c
6804 Added directory "bridge" and contents, and added dependencies
6805 in Makefile.am/configure.in.
6806 Initial checkin of "at-bridge".
6807 This code is a GTK_MODULE which automatically registers
6808 GTK+ apps with the accessibility registry, using an object
6809 reference to the root ATK object.
6811 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6813 * po/Makefile.in.in: Remove. Again. If this
6814 doesn't get autogenerated - you need to update
6817 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6819 * po/Makefile.in.in: Add. Again.
6821 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6823 * libspi/accessible.c : added support for 'description' property.
6824 * libspi/accessible.c
6826 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6827 (since the two are now equivalent in libbonobo)
6835 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6836 Bonobo::Unknown as does Accessibility::Accessible.
6837 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6838 interface with Bonobo::Stream, since it was redundant with it.
6839 (The Stream returned by a StreamableContext object is expected to
6840 implement only a subset of Bonobo::Stream)
6842 2001-07-28 Anders Carlsson <andersca@gnome.org>
6844 * libspi/accessible.c (accessible_object_finalize): Change
6845 g_free to g_object_unref since the AtkObject is a GObject.
6847 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6849 * idl/Accessibility.idl: add new IDL files
6852 * idl/Action.idl: Definitions of actionable UI object
6853 * idl/Component.idl: Definitions of UI component geometry, etc.
6854 * idl/Hyperlink.idl: Defs of hyperlink behavior
6855 * idl/Image.idl: Def of accessible image
6856 * idl/Selection.idl: Definition of UI object with selectable children
6857 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6858 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6859 * idl/Text.idl: Interface defs for UI elements with complex textual content
6860 * idl/Value.idl: Definition of UI element that is a value controller or display
6862 2001-07-27 Michael Meeks <michael@ximian.com>
6864 * po/Makefile.in.in: remove autogenerated file from CVS.
6866 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6869 * idl/Registry.idl: include guard.
6871 * idl/Accessibility.idl: Add, and include all the other IDL
6874 * idl/*.idl: remove mass of pragmas etc.
6876 2001-07-26 Michael Meeks <michael@ximian.com>
6878 * registryd/Makefile.am (registryd_SOURCES): remove
6881 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6883 * libspi/.cvsignore, registryd/.cvsignore,
6884 test/.cvsignore: updated.
6886 * po/Makefile.in.in: gettext update.
6888 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6890 * initial CVS checkin
6892 2001-06-29 Michael Meeks <michael@ximian.com>
6894 * configure.in: add AM_CONFIG_HEADER to gen config.h