1 2004-03-24 Bill Haneman <billh@gnome.org>
4 Bracketed some debug output in
5 conditionals, to avoid printing it in normal use.
9 Don't cast 'object' to ATK_OBJECT when constructing
10 an AtkAction interface for a hyperlink.
11 See discussion in bug #120659.
13 * test/key-listener-test.c:
14 (report_all_key_event): Send output to stderr,
15 not stdout, for consistency with the rest of the test callbacks.
18 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
20 2004-03-22 Bill Haneman <billh@gnome.org>
22 * configure.in: Revved to 1.4.0, libtool 9.14.9
24 2004-03-17 Laszlo Peter <laca@sun.com>
26 * libspi-1.0-uninstalled.pc.in: add idldir
28 * cspi-1.0-uninstalled.pc.in: add idldir
30 2004-03-16 Gareth Owen <gowen72@yahoo.com>
32 * configure.in: Added "en_GB" to ALL_LINGUAS
34 2004-03-15 Bill Haneman <billh@gnome.org>
36 * configure.in: Revved to 1.3.16,
39 2004-03-15 Laszlo Peter <laca@sun.com>
41 * libspi-1.0-uninstalled.pc.in: new file
43 * cspi-1.0-uninstalled.pc.in: new file
45 * configure.in: add the new pc files to AC_OUTPUT
47 * Makefile.am: add the new pc files to EXTRA_DIST
49 2004-03-12 Bill Haneman <billh@gnome.org>
51 * atk-bridge/bridge.c:
52 (spi_atk_bridge_key_listener):
53 Make sure to return consumed=FALSE if snoop
54 event is not dispatched to listener.
57 2004-03-01 Bill Haneman <billh@gnome.org>
59 * configure.in: Revved to 1.3.15,
62 2004-03-07 Danilo Segan <dsegan@gmx.net>
64 * configure.in: Added "sr@ije" to ALL_LINGUAS.
66 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
68 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
70 2004-03-01 Bill Haneman <billh@gnome.org>
72 * configure.in: Revved to 1.3.14.
75 (SPI_exit): Removed "bye-bye" exit message.
76 Moved "leak" report to happen before the
77 iteration over the leaked refs list.
78 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
80 2004-02-24 Bill Haneman <billh@gnome.org>
82 * configure.in: Revved to 1.3.13.
84 * docs/reference/cspi/Makefile.am:
85 Correct typo that was breaking the docs build.
87 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
89 * autogen.sh: Require version 1.7 of automake.
91 * configure.in: call GTK_DOC_CHECK([1.0])
93 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
95 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
97 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
99 * test/Makefile.am: Remove use of CFLAGS.
101 This fixes bug #132987.
103 2004-02-11 Bill Haneman <billh@gnome.org>
105 * reverted most of Tomasz' patch below, since it was breaking
106 builds (see bug #134058).
108 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
110 * docs/reference/cspi/at-spi-cspi.types: added empty file for
111 correct pass "make dist" (empty .. because seems no sach types in
112 header files with gtk-doc markups).
113 * docs/reference/cspi/Makefile.am, configure.in:
114 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
115 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
116 * Makefile.am: added:
117 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
118 for force correct pass generate documentation on "make distcheck".
119 * libspi/Makefile.am: fixes for automake >= 1.6.
120 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
121 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
124 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
126 * docs/reference/cspi/Makefile.am (install-data-local): Install
127 index.sgml since the doc autobuilder on widget.gnome.org looks for
130 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
132 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
135 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
137 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
139 2004-01-27 Brian Cameron <brian.cameron@sun.com>
141 * test/simple-at.c: Fixed null string problems that cause core
142 dumping problems on Solaris.
144 2004-01-12 Bill Haneman <billh@gnome.org>
146 * configure.in: Incremented version to 1.3.11.
148 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
150 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
151 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
154 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
156 * configure.in: Added "fa" to ALL_LINGUAS.
158 2003-12-20 Arafat Medini <lumina@silverpen.de>
160 * configure.in: Added "ar" to ALL_LINGUAS
162 2003-12-16 Bill Haneman <billh@gnome.org>
164 * registryd/registry-main.c:
166 Set the reg_env DISPLAY variable before registering the
167 activated registry service. Fixes bug #129479.
169 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
171 * configure.in: Added "id" in ALL_LINGUAS
172 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
174 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
176 * registryd/deviceeventcontroller.c (global_filter_fn):
177 When an event is consumed discard any XEvents were added to
178 the queue while dealing with the the event. This can happen if
179 processing of the event takes a long time. Call XUngrabKeyboard
180 if an event was discarded. This fixes bug $124837.
181 Only call wait_for_release_event for a KeyPress.
182 Use local variable display instead of spi_get_display().
183 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
186 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
188 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
189 Allow for mask to contain values other than NumLock mask.
192 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
194 * registryd/devieceventcontroller.c:
195 (wait_for_release_event): Change first parameter from GdkEvent to
197 (global_filter_fn); Correct call to wait_for_release_event.
201 2003-12-08 Bill Haneman <billh@gnome.org>
205 * registryd/ucs2keysym.c: New file.
207 * registryd/deviceeventcontroller.c:
208 (dec_keysym_for_unichar): Remove old partial implementation and
209 replace with call to ucs2keysym(), which is much more complete.
210 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
215 2003-12-05 Bill Haneman <billh@gnome.org>
217 * configure.in: Version 1.3.9.
219 * docs/reference/cspi/tmpl/spi_registry.sgml:
220 Added reference to libspi/keymasks.h to the
221 description of Registry queries: AccessibleKeyMaskType.
224 2003-12-04 Bill Haneman <billh@gnome.org>
228 * idl/Accessibility_Application.idl:
229 (Accessibility::LOCALE_TYPE): New enum, corresponds to
230 setlocale's LC_TYPEs.
231 (Accessibility::Application::getLocale): New method.
232 Allows clients to query the locale, by type, of an app.
235 * cspi/spi_application.c:
236 (AccessibleApplication_getLocale): New method, wraps IDL above.
238 * libspi/application.c:
239 (spi_application_class_init): Init epv entry for getLocale.
240 (impl_accessibility_application_get_locale): Impl for above.
242 * test/test-simple.c:
243 (test_application): Added assertion for getLocale, i.e.
244 that the string from AccessibleApplication_getLocale (app, type)
245 is the same as that from setlocale (type, NULL);
247 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
249 *registryd/deviceeventcontroller.c: Add an idle handler which polls
250 the keyboard on a timeout intil the key state goes from pressed to
251 released. Fixes bug #111429.
253 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
255 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
256 root object so that it is present when a context menu in an
257 out-of-process applet is popped up.
258 (spi_atk_bridge_do_registration): Create acceessible application root
259 object only if it does not exist.
261 This fixes bug #125834.
263 2003-12-01 Bill Haneman <billh@gnome.org>
265 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
268 Added enum for AccessibleStreamableContentSeekType.
269 (AccessibleStreamableContent_freeContentTypeList): New.
271 * cspi/spi_streamablecontent.c:
272 (accessible_bonobo_stream_client_seek): New private method.
273 (AccessibleStreamableContent_seek): Implemented this method,
274 using Bonobo_Stream_seek.
275 (AccessibleStreamableContent_freeContentTypeList): New method
276 for freeing the return value from
277 AccessibleStreamableContent_getContentTypes.
278 (stream_cache_item_free): Replaces stream_release; stop leaks.
279 (stream_release): removed.
280 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
281 free the memory properly.
283 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
287 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
289 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
291 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
293 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
295 2003-12-01 Bill Haneman <billh@gnome.org>
297 Fix for bug/rfe #127463.
299 * idl/Accessibility_Accessible.idl:
300 (getLocalizedRoleName): New.
301 (unimplemented4): Removed (replaced by above).
303 * libspi/accessible.c:
304 (impl_accessibility_accessible_get_local_role_name): New.
305 (spi_accessible_class_init): Add getLocalizedRoleName entry to
309 (Accessible_getLocalizedRoleName): New.
311 * cspi/spi_accessible.c:
312 (Accessible_getLocalizedRoleName): New.
314 2003-12-01 Bill Haneman <billh@gnome.org>
317 * idl/Accessibility_Text.idl:
318 (getDefaultAttributes): New.
319 (unimplemented4): Removed (replaced by above method).
322 (impl_getDefaultAttributes): New method.
323 (spi_text_class_init):
324 initialize the get_default_attributes slot in the epv.
327 (AccessibleText_getDefaultAttributes): New prototype.
330 (AccessibleText_getDefaultAttributes): New method.
332 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
334 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
335 write beyond the end of the table. Fixes bug #120473.
337 2003-09-30 Christian Rose <menthos@menthos.com>
339 * configure.in: Added "eu" to ALL_LINGUAS.
341 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
343 * configure.in: ALL_LINGUAS: Added no.
345 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
347 * configure.in: Added lt to ALL_LINGUAS.
349 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
351 * atk-bridge/bridge.c:
352 (atk_bridge_init): Register event listeners always even for
353 out-of-process applet.
354 (spi_atk_bridge_toplevel_added): Remove call to
355 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
356 (spi_atk_bridge_toplevelk_removed): Remove call to
357 spi_atk_deregister_event_listenersa as the listeners are now always
359 (spi_atk_bridge_register_application): Remove call to
360 spi_atk_register_event_listeners as it is not done in atk_bridge_init
362 This fixes bug #120991.
364 * libspi/table.c (impl_getColumnDescription): Correct typo,
365 pointed out by Bolian.Yin@sun.com.
367 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
369 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
371 2003-09-08 Bill Haneman <billh@gnome.org>
373 * configure.in: Revved to 1.3.7.
375 This is the GNOME 2.4.0 release of at-spi.
377 * docs/reference/cspi/Makefile.am:
378 Removed spurious inclusion of 'index.sgml' in the
379 html directory; this was breaking make distcheck and
380 also some other build environments.
382 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
384 * registryd/registry.[ch}:
385 Add queue_handler_id and focus_object to SpiRegistry data structure.
386 (registry_flush_event_queue): If event being discarded is
387 "state-change:focused" store object as focus_object.
388 (registry_start_queue): Remove queue handler and focus object
390 (registry_discard_event): New function which discards a focus event
391 if we had stored focus object in the registry.
392 (registry_queue_event): Add new check that is_queueing is set as this
393 function is reentrant.
394 (registry_filer_event): Add call to registry_discard_event.
396 This resolves issues raised in bug #108664.
398 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
400 * configure.in: Added "bn" to ALL_LINGUAS.
402 2003-09-04 Bill Haneman <billh@gnome.org>
404 * cspi/spi_event.c: Documentation improvements for
405 (SPI_registerAccessibleKeylistener).
407 * docs/reference/tmpl/spi_registry.sgml:
408 Documentation improvements for SpiAccessibleKeylistenerCB.
410 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
412 * configure.in: Added "ro" to ALL_LINGUAS.
415 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
417 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
418 not decremented to zero. Fixes bug #120725.
420 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
422 * configure.in: Added "ja" to ALL_LINGUAS.
424 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
426 * configure.in: Added "is" to ALL_LINGUAS.
428 2003-08-22 Christian Rose <menthos@menthos.com>
430 * configure.in: Added "nl" to ALL_LINGUAS.
432 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
434 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
435 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
437 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
439 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
440 type for unspecified exception.
441 * cspi_streamablecontect): Add include of string.h for memcpy.
442 (stream_release): Correct call to bonobo_object_release_unref
443 (stream_cache_item_free): Correct call to bonobo_object_release_unref
444 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
445 argument of _cspi_expection_throw.
446 * libspi/hyperlink.c: Add include of libspi/action.h:
447 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
448 * libspi/streamablecontent.c: add include of libspi/component.h.
449 * regisrtyd/deviceeventcontroller.c:
450 (spi_dec_translate_mask): Removed unused variable priv.
451 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
452 * registryd/registry.c:
453 (registry_filter_event): Remove unused variable queue_is-empty.
454 (impl_registry_notify_event): Use correct modifier in fprintf call.
456 This fixes compiler warnings reported in bug #120220.
458 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
460 * registryd/registryd.c: Remove this file.
462 2003-08-17 Sanlig Badral <badral@openmn.org>
464 * configure.in: Added mn to ALL_LINGUAS.
466 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
468 * configure.in: Added et to ALL_LINGUAS.
470 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
472 * test/event-listener-test.c: Change active-descendant to
473 active-descendant-changed.
475 2003-08-10 Sami Pesonen <sampeson@iki.fi>
477 * configure.in: Added "fi" in ALL_LINGUAS.
479 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
481 * configure.in: Added "hi" in ALL_LINGUAS.
483 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
485 * configure.in: Revved to 1.3.6.
489 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
491 * registryd/deviceeventcontroller.c
492 (spi_device_event_controller_object_finalize): Fix typo in previous
495 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
497 * registryd/deviceeventcontroller.c
498 (spi_device_event_controller_object_finalize): Fix build on
499 systems without XEvIE.
501 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
503 * acconfig.h, configure.in, registryd/Makefile.am,
504 registryd/devicecontoller.[ch]: Add XEViE support.
506 2003-08-06 Wang Jian <lark@linux.net.cn>
508 * configure.in: Added "zh_CN" to ALL_LINGUAS.
510 2003-08-06 Metin Amiroff<metin@karegen.com>
512 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
514 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
516 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
517 MODIFIER_ALT in correct place.
519 This fixes part of bug #118114.
521 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
523 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
525 2003-07-28 Changwoo Ryu <cwryu@debian.org>
527 * configure.in: Added "ko" to ALL_LINGUAS.
529 2003-07-28 Ole Laursen <olau@hardworking.dk>
531 * configure.in: Added "da" to the commented out ALL_LINGUAS.
533 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
535 * configure.in: Added "sq" to ALL_LINGUAS.
537 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
539 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
541 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
543 * configure.in: updated ALL_LINGUAS list
545 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
547 * configure.in: Added Belarusian to ALL_LINGUAS.
549 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
551 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
553 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
554 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
556 This fixes bug #116949.
558 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
560 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
561 Correct CSPI to SPI in function documentation.
563 This fixes bug #118054.
565 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
567 * configure.in: Added Russian to ALL_LINGUAS.
569 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
571 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
573 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
575 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
577 2003-07-10 Joel Brich <joel.brich@laposte.net>
579 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
581 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
583 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
585 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
587 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
588 resources allocated for AccessibleEvent. See cspi_event().
590 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
591 static variable streams to NULL.
593 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
594 Update so that AcessibleEvent_ref will work.
596 This fixes bug #116624.
598 2003-07-06 Jordi Mallach <jordi@sindominio.net>
600 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
602 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
604 * configure.in: Added "fr" (French) to ALL_LINGUAS.
606 2003-07-02 Christian Neumair <chris@gnome-de.org>
608 * configure.in: Added "de" (German) to ALL_LINGUAS.
610 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
612 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
614 2003-07-01 Miloslav Trmac <mitr@volny.cz>
616 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
618 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
620 * configure.in: Added "pl" to ALL_LINGUAS.
622 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
624 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
626 2003-06-30 Bill Haneman <bill.haneman@sun.com>
629 (get_action_from_servant):
630 Removed assertion that action is implemented on an AtkObject.
632 * libspi/hyperlink.c:
634 Aggregate AccessibleAction interface on the hyperlink object if
635 the object implements AtkAction. (This convention is used in
638 2003-06-30 Bill Haneman <bill.haneman@sun.com>
640 * configure.in: Revved to 1.3.5.
642 * registryd/Accessibility_Registry.server.in.in:
643 Marked up appropriate strings for translation.
645 * atk-bridge/bridge.c: Marked a couple of
646 user-visible warnings for translation. Questionable
647 whether they are really useful, but possibly so.
650 2003-06-28 Christian Rose <menthos@menthos.com>
652 * configure.in: Added "sv" to ALL_LINGUAS.
654 2003-06-26 Bill Haneman <bill.haneman@sun.com>
656 * registryd/registry.c:
657 (spi_registry_object_finalize): Unref the deviceeventcontroller.
658 (registry_defer_on_event): Defer focus: events, this is an
659 improvement to the patch for bug #108664.
661 * TODO: Update with 2.4/"Dev Complete" items.
663 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
665 * atk-bridge/bridge.c:
666 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
667 looks up signals once.
668 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
669 if doing registration.
670 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
671 when doing registration.
673 This fixes bug #115014.
675 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
677 * atk-bridge/bridge.c:
678 (atk_bridge_init): Add signal handler for children-changed:remove on
679 root when in a BonoboComponent.
680 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
681 for first toplevel only other incrememt variable toplevels.
682 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
683 application and remove listeners.
684 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
686 (spi_atk_deregister_event_listeners): New function which removes
688 (reinit_register_vars): New fuction which reinitializes variables.
690 This fixes bug #111578.
692 2003-06-13 Bill Haneman <bill.haneman@sun.com>
694 * configure.in: version 1.3.4.
696 * cspi/spi_accessible.c:
697 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
700 2003-06-13 Michael Meeks <michael@ximian.com>
702 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
704 * cspi/spi_main.c (cspi_peek_ev): impl.
706 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
708 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
710 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
712 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
713 SPI_ROLE_AUTOCOMPLETE
715 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
717 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
718 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
720 2003-06-11 Bill Haneman <bill.haneman@sun.com>
722 * libspi/streamablecontent.h:
723 * libspi/streamablecontent.c:
724 New files, provide implementation/wrappers for
725 Accessibility_StreamableContent.
727 * cspi/spi_streamablecontent.c:
728 Connected the C wrappers to the libspi C bindings.
729 (AccessibleStreamableContent_close): New method.
732 (AccessibleStreamableContent_close): New method, needed
733 since we have an "open, [seek], read, close" model in cspi.
735 2003-06-11 Bill Haneman <bill.haneman@sun.com>
737 Fix for #108664; Padraig's revision of my original patch.
739 * registryd/registry.h:
740 Added event queue list, is_queuing, and exit_notify_timeout
741 to the registry struct.
743 * registryd/registry.c:
744 (registry_init): Initialize new struct from registry.h.
745 (impl_registry_notify_event):
746 Filter events before notifying, in case some need to be
748 (registry_filter_event): New,
749 we defer certain incoming events (for instance
750 window:deactivate) because we may wish to hide
751 or reject them based on pending events. This is
752 mostly a workaround for bug #108664.
753 (registry_queue_event, registry_start_queue): New.
754 (registry_defer_on_event): Test event to see if it
756 (registry_reset_on_event): Returns TRUE if the
757 event should cause a queue reset.
758 (registry_discard_on_event): Returns TRUE if the event
759 should cause the previous queue contents to be discarded.
760 (registry_timeout_flush_queue): Flushes the pending event
761 queue if no reset/discard-triggering events have come in
762 within the timeout period.
763 (registry_emit_event): New.
764 (registry_clone_notify_context): New, used when queueing the
765 event notify contexts.
767 2003-06-10 Bill Haneman <bill.haneman@sun.com>
769 * configure.in: Version revved to 1.3.2, lt 0.9.2
770 Incremented ATK required version to 1.3.4.
772 * cspi/spi_registry.c:
773 (SPI_generateKeyEvent):
774 We now pass the keystring along if it's non-null.
776 * registryd/deviceeventcontroller.c:
777 (keysym_mod_mask): New method, returns modifier mask
778 required to generate a keysym from a given keycode.
779 (dec_synth_keysym): New method.
780 (dec_synth_keystring): New method.
781 (dec_get_modifier_state): New method.
782 (dec_lock_modifiers): New
783 (dec_unlock_modifiers): New.
784 (dec_keysym_for_unichar): New, rather brute-force
785 conversion from UCS-4 to X KeySyms. Only works for
786 Latin at the moment, with partial implementations for
787 Greek, Hebrew, and (incomplete) Katakana.
788 (impl_generate_keyboard_event): Now implement
789 "KEYSTRING" synthesis and implement "KEYSYM"
791 (keycode_from_keysym): Improved, passes a returned
792 modmask value now if the corresponding param is non-NULL.
794 Fixes bugs #92143 and #109776.
797 * test/keysynth-test.c:
798 New test program for key synthesis, to confirm fixes for
802 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
804 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
806 * cspi/spi_accessible.c (cspi_init_relation_type_table):
807 Add line for RELATION_POPUP_FOR
809 * docs/reference/cspi/tmpl/spi_relation.sgml:
810 Add relation SPI_RELATION_POPUP_FOR
812 * docs/reference/cspi/tmpl/spi_stateset.sgml:
813 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
815 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
817 * libspi/relation.c (spi_init_relation_type_table):
818 Add line for RELATION_POPUP_FOR
820 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
822 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
823 there are still windows which have not been deleted and emit
824 window:deactivate, if necessary and window:destroy events.
825 This fixes bug #114370. The change on June 5th was not correct.
827 2003-06-09 Bill Haneman <bill.haneman@sun.com>
829 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
832 (SPI_dupString): Allow dup-ing of a string such that it's safe to
834 New methods for client exception handling and interception.
835 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
836 (SPI_exceptionHandlerPop): You guessed it...
837 (SPI_getSourceType): Return the type of object which offended.
838 (SPI_getExceptionCode): Return an enum code telling, possibly,
839 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
840 (SPIAccessibleException_getSource): get the source object for
841 exceptions that come from Accessibles, if SPIExceptionSourceType is
842 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
843 (SPIException_getDescription): New, returns a string description of
844 the problem. [Not yet a stable ABI, strings are not frozen]
846 * cspi/spi-private.h:
847 Added implementation details of opaque SPIException
851 Implementations of above. Also
852 (_cspi_exception_throw): new private method that
853 dispatches exceptions to handlers, called from cspi-bonobo.c
855 * cspi/bonobo/cspi-bonobo.c:
856 (cspi_check_ev): call _cspi_exception_throw.
857 Don't print a warning message if the exception has been
858 handled by _cspi_exception_throw.
860 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
862 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
863 there are still windows which have not been deleted and emit
864 window:deactivate, if necessary and window:destroy events.
865 This fixes bug #114370.
867 2003-06-03 Bill Haneman <bill.haneman@sun.com>
870 (cspi_accessible_is_a): Make non-fatal
871 if the object reference is dead.
873 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
875 * cspi/spi_main.c: #include <stdio.h>
876 * test/simple-at.c: ditto
877 * test/event-listener-test.c: ditto
878 * test/screen-review-test.c: ditto
880 2003-05-30 Michael Meeks <michael@ximian.com>
882 * test/test-simple.c (main): use CORBA_ORB_perform_work
883 instead of an unnecessary linc_ call.
885 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
887 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
888 Add SPI_STATE_INDETERMINATE.
890 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
893 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
895 * libspi/stateset.c (init_state_type_tables): Add support for
898 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
900 * configure: Update versions of atk and gail required.
901 This fixes bug #113268.
903 2003-05-02 Bill Haneman <bill.haneman@sun.com>
905 * configure.in: Revved micro version to 1.3.1 (because of build fix).
907 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
909 * libspi/Makefile.am:
910 Ensure headers are generated before being used by c sources.
912 2003-05-01 Bill Haneman <bill.haneman@sun.com>
915 Simplified lt versioning rules.
916 Incremented version to 1.3.0, to indicate that we're on the
919 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
921 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
922 Add MKDB_OPTIONS=--outtput-format=xml
924 * docs/reference/cspi/at-spi-cspi-docs.sgml
925 docs/reference/idl/at-spi-idl-docs.sgml:
926 Convert to Docbook XML.
928 This fixes bug #111793.
930 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
932 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
933 AcccessibleKeyEventType, AccessibleKeyMaskType.
935 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
937 * cspi/state-types.h: Add documentation for AccessibleState.
939 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
940 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
941 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
942 AccessibleComponentLayer.
944 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
947 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
949 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
950 Accessible. Add description of AccessibleEvent,
951 AccessibleEventListenerCB.
953 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
956 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
957 documentation. Add description of AccessibleKeystrokeListenerCB,
958 AccessibleKeyEventMask, AccessibleModifierMaskType,
959 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
960 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
962 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
965 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
968 This fixes bug #104730.
970 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
972 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
973 Set is_text field of Accessibility_DeviceEvent data structure.
975 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
976 is-text field of AccessibleDeviceEvent data structure.
978 This addresses part of bug #108666.
980 * registryd/devcieeventcontroller.c: Unset debug option.
982 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
985 (cpi_initial_relation_type_table): New function which initializes
986 mapping between Accessibility_RelationType and AccessibleRelationType.
987 (cspi_relation_type_from_spi_relation_type): New function which
988 translates an Accessibility_RelationType into an AccessibleRelationType.
989 (AccessibleRelation_getRelationType): Use
990 cpi_relation_type_get_spi_relation_type to return correct value.
991 (spi_state_to_corba): Return correct type for default case.
993 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
994 Use Accessibility_EventType instead of Accessibility_KeyEventType.
996 * cspi/cspi-bonobo-listener.c:
997 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1000 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1001 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1002 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1003 libspi/image.c, libspi/listener.c, libspi/selection.c,
1004 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1005 registryd/desktop.c, registryd/registry.c:
1006 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1008 * libspi/eventlistener.c
1009 Remove semicolon after BONOBO_TYPE_FUNC.
1011 * libspi/relation.c:
1012 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1013 (spi_init_relation_type_table): Initialize using correct type.
1015 * registryd/desktop.c:
1016 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1017 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1018 of Accessibility_KeyEventType.
1020 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1023 * tests/simple-at.c, tests/screen-review-test.c:
1024 Add include for <strings.h>.
1026 * tests.stress-test.c:
1027 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1029 These changes fix compiler warnings when using FORTE compiler on
1030 Solaris; fixes bug #107479.
1033 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1036 * configure.in: revved to 1.1.10
1038 * libspi/keymasks.h:
1039 (SPI_KEYMASK_NUMLOCK): Added.
1041 * registryd/deviceeventcontroller.c:
1042 (spi_key_event_matches_listener): AND with a smaller
1043 bitmask (as we should).
1044 (spi_dec_translate_mask):
1045 New method, sets the virtual NumLock modifier bit
1046 if numlock is on. Eventually it can handle other virtual
1047 modifier bits if needed, or other marshalling from
1048 at-spi modifier masks to platform (X) masks.
1049 (spi_dec_key_listener_new):
1050 Call spi_dec_translate_mask to set up virtual mod bits
1051 in the 'mask' field when creating a new listener struct.
1052 (spi_dec_emit_modifier_event):
1053 Set the virtual (i.e. NumLock) bits before emitting event.
1054 (spi_controller_register_with_devices):
1055 Query for the NumLock modifier 'physical' bit if Xkb is
1056 present, for use in above methods.
1060 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1062 * registryd/deviceeventcontroller.c:
1063 (spi_keystroke_from_x_key_event):
1064 Instead of checking to see if the keysym is
1065 printable, check the string from XLookupString
1066 if available, get the first unicode character from it,
1067 and call g_unichar_isprint to determine whether the
1068 is_text flag should be TRUE or FALSE.
1072 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1074 * atk-bridge/bridge.c: Add support for extended events
1075 * cspi/spi_event.c: Add documentation and implementation for
1077 * tests/event-listener-test.c: Add tests for extended events.
1079 This fixes bugs #100424 and #100426.
1081 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1083 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1084 of LT_CURRENT. This fixes bug #89350.
1086 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1088 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1089 number of signal parameter values before accessing them. This fixes
1092 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1094 * configure.in: Fixed duplicate inclusion of -lspi.
1095 * branched for gnome-2-2/HEAD.
1096 [created tag "gnome-2-2"]
1098 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1100 * configure.in: 1.1.9 release.
1103 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1105 [needed by GOK, to fix bugs 107985 and 107988]
1106 * registryd/deviceeventcontroller.c:
1107 (spi_dec_clear_unlatch_pending):
1108 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1109 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1110 (spi_dec_init_mouse_listener):Emit warning if mouse button
1112 (spi_device_event_controller_forward_mouse_event):
1113 Removed unnecessary parens from a conditional.
1114 (global_filter_fn):Added TODO comment.
1115 (impl_generate_keyboard_event):
1116 Cancel a pending relatch if a 'delatching' key was
1119 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1121 * atk-bridge/bridge.c:
1122 Change atk_signal_child_changed to atk_signal_children_changed.
1123 Reorganize code in spi_atk_bridge_signal_listener().
1125 * test/event-listener-test.c:
1126 Add children_changed_listener and report_children_changed_event()
1127 to test AccessibleChildEvent_getChildAccessible.
1129 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1131 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1132 g_strdup to CORBA_String_dup (bug #105291)
1134 * test/event-listener-test.c (report_text_event): Add call to
1137 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1139 * registryd/deviceeventcontroller.c:
1140 (spi_keystroke_from_x_key_event):
1141 Fix string and keysym return codes to match modifier state.
1144 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1146 * registryd/deviceeventcontroller.c:
1147 (spi_keystroke_from_x_key_event):
1148 Fix segv due to improper use of isprint(c). [bug #107254]
1150 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1153 (get_accessible_text_boundary_type):
1154 Move default return value to (new) default case in switch.
1155 (get_accessible_text_clip_type):
1156 Move default return value to (new) default case in switch.
1158 * libspi/application.c:
1159 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1160 Remove unused methods.
1161 (impl_accessibility_application_register_object_event_listener):
1162 Remove unused methods.
1165 Added #include of <math.h>.
1167 * registryd/deviceeventcontroller.c:
1168 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1169 we don't currently use this method.
1170 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1172 (impl_generate_key_event):
1173 Remove unused variables.
1174 (impl_generate_mouse_event):
1175 Initialize button to zero, just in case we get an invalid
1176 input. Added support for mouse buttons 4 and 5.
1177 (spi_device_event_controller_new):
1178 Removed unused variable declaration for 'private'.
1180 Added #include of <gdk/gdk.h>
1182 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1184 * configure.in: Update to work when X is not installed in expected
1185 location. Fixes bug #105836.
1187 * atk-bridge/bridge.c
1188 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1190 (spi_atk_register_event_listener): Add signal listener for
1192 (spi_atk_bridge_signal_listener): Event event when link-selected
1193 signal is emitted. (bug #104622)
1195 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1196 on returned string. (bug #105291)
1198 * test/event-listener-test.c: Add test for link-selected.
1200 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1202 * atk-bridge/Makefile.am: Correct typo in previous commit.
1204 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1206 * atk-bridge/Makefile.am: Allow for build directory to be different
1207 from source directory
1209 * registryd/Makefile.am: Allow for build directory to be different
1210 from source directory
1214 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1217 Fixed dependencies for libcspi so that libspi gets pulled in
1218 properly. Fixes 104741.
1222 Clean up inline docs a little.
1224 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1226 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1227 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1228 the AtkObject within an SpiDesktop.
1229 This addresses bug #101524.
1231 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1232 Remove call to gdk_init().
1234 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1235 so that Display is set when SpiDesktop is created.
1237 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1239 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1240 This fixes bug #102830.
1242 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1244 * test/test-simple.c: Update to take account of fact that GailButton
1245 now implements AtkText.
1246 (create_text_window): Set name on AtkObject for GtkEntry.
1247 (validate_accessible): Check accessible name before calling test_text().
1249 * libspi/Makefile.am: Fix problem with building outside of source
1250 directory. Bug #98120.
1252 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1253 typo in documentation comments. Bug #94275.
1255 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1257 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1259 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1262 Add includes to avoid compiler warnings on Solaris.
1263 (impl_getRangeExtents): Bug fix.
1265 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1267 Fix for 100944, [API addition approved by Gman and murrayc].
1274 * idl/Accessibility_Text.idl:
1275 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1276 (Text::getRangeExtents): New method for efficient
1277 bounds query of a text range.
1278 (Text::getBoundedRanges): New method for efficient
1279 clipping of text to bounding boxes.
1280 (unImplemented7, unImplemented8):
1281 Removed these padding methods to preserve bincompat.
1284 (impl_getRangeExtents): implementation of new IDL.
1285 (impl_getBoundedRanges): implementation of new IDL.
1286 (SpiTextRect): Internal use struct.
1287 (_spi_text_rect_union): internal method, calculates union of two
1288 SpiTextRect bounding rects.
1289 (_spi_text_range_seq_from_gslist): internal method, allows us
1290 to build our sequence efficiently as a gslist then convert it
1292 (_spi_bounds_contain): internal method, determines whether
1293 a text character is "in" or "out" of a clip rect according to
1294 values of TEXT_CLIP_TYPE.
1295 (spi_text_class_init): Initialize the new methods in the epv.
1298 (AccessibleTextClipType): New enum used by screen review api.
1299 (AccessibleTextRange): New struct used by screen review api.
1300 (AccessibleText_getRangeExtents):
1301 cspi binding for Accessibility_Text_getRangeExtents.
1302 (AccessibleText_getBoundedRanges):
1303 cspi binding for Accessibility_Text_getBoundedRanges.
1304 (AccessibleTextRange_freeRanges): convenience method.
1307 (AccessibleText_getRangeExtents):
1308 cspi binding for Accessibility_Text_getRangeExtents.
1309 (AccessibleText_getBoundedRanges):
1310 cspi binding for Accessibility_Text_getBoundedRanges.
1311 (AccessibleTextRange_freeRanges): convenience method.
1312 (get_accessible_text_clip_type): internal conversion method.
1313 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1315 * registryd/deviceeventcontroller.c:
1316 (spi_dec_mouse_check):
1317 Improved behavior for mouse:abs events
1318 [same granularity as mouse:rel events, and no
1319 events when mouse is idle].
1321 2002-12-16 Michael Meeks <michael@ximian.com>
1323 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1325 * libspi/stateset.c (state_spi_to_atk): split out
1326 ( fix several remote array bounds nasties )
1327 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1328 (impl_remove): make safe from array bounds issues.
1329 (spi_atk_state_from_spi_state): impl.
1331 * libspi/stateset.h (spi_state_set_cache_is_empty):
1332 add a set of wrapper defines to get layering right.
1334 * cspi/spi_accessible.c: update state set stuff to
1337 2002-12-14 Michael Meeks <michael@ximian.com>
1339 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1340 to avoid 2 roundtrips to the registry per key event
1341 (spi_atk_bridge_key_listener): upd.
1342 (deregister_application): release the dec.
1344 * registryd/registry.c (notify_listeners_cb):
1345 bin lots of re-enterant complexity - we no longer
1346 do a round-trip bonobo ref here, ensure that a single
1347 listener's exception failure won't poison all other
1349 (impl_registry_notify_event): bin obvious memory leak.
1351 2002-12-13 Michael Meeks <michael@ximian.com>
1353 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1354 init the ev so the error is meaningful.
1355 (spi_atk_bridge_key_listener): ditto.
1357 * cspi/spi_main.c (cspi_ev): init the ev so we start
1358 with a clean slate, otherwise the first exception
1359 kills us completely.
1361 * cspi/spi_text.c (get_accessible_text_boundary_type):
1362 add a fallthrough for no warnings.
1364 * cspi/spi_registry.c: prune unused warnings.
1366 * cspi/spi_main.c (cspi_object_take): fix
1367 mind-blowing brokenness ( by watching the compile
1370 * cspi/spi_accessible.c (Accessible_getStateSet):
1371 re-impl. to use an AtkStateSet.
1372 (spi_state_type_from_accessible_state),
1373 (init_state_table): bin these.
1375 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1377 (atk_state_set_from_accessibility_state_set): here.
1379 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1380 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1381 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1382 (AccessibleStateSet_add, AccessibleStateSet_remove),
1383 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1384 (AccessibleStateSet_isEmpty): re-write to use a local
1387 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1389 * configure.in: Revved to 1.1.7 (new keymask vals).
1391 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1393 * libspi/keymasks.h:
1394 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1396 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1399 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1400 to compare two CORBA_TypeCodes.
1401 (cspi_internal_event_add): Silence warning from FORTE compiler.
1403 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1404 avoid implicit declaration of functions.
1406 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1408 * atk-bridge/bridge.c:
1409 (spi_atk_bridge_init_event_type_consts): Store signal id for
1410 active-descendant-changed signal.
1411 (spi_atk_register_event_listeners): Add signal listener for
1412 active-descendant-changed signal,
1413 (spi_atk_bridge_signal_listener): Move code in function
1414 spi_atk-signal_emit_event() into this function.
1415 Add support for active-descendant-changed
1416 Update support for child-changed signal.
1417 (spi_bridge_window_event_listener): Silence warning.
1419 * libspi/spi_private.[ch]:
1420 (spi_init_any_object): Change second parameter from CORBA_Object to
1422 Omit call to CORBA_Object_duplicate().
1423 Set CORBA_any's _value to CORBA_Object*.
1425 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1431 (AccessibleEvent_ref, AccessibleEvent_unref):
1432 New methods, for persisting an event outside the emission context.
1433 Must be used if the new accessor methods are to be called
1434 outside of the event listener's callback.
1436 * cspi/bonobo/cspi-bonobo.c:
1437 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1438 as second parameter instead of NULL, so we can call
1439 cspi_check_ev afterwards.
1442 (cspi_object_take): New internal method,
1443 converts a CORBA_Object reference to a hard ref on
1444 an Accessible if possible, returning NULL if the object
1445 reference is invalid or an Accessible * otherwise.
1448 (AccessibleEvent_ref):
1449 Increment the event's internal private refcount, and
1450 add the event's internal struct to an internal cache
1451 if it's not already there.
1452 (AccessibleEvent_unref):
1453 Decrement the event's refcount and remove it from
1454 the cspi event cache if refcount==0.
1455 (cspi_event_compare): New private method.
1456 Compares two event structs via their ids. Used
1458 (cspi_internal_event_lookup): New private method.
1459 (cspi_internal_event_check): New private method,
1460 a 0-order sanity check for events to make sure their
1461 private data is intact.
1462 (cspi_internal_event_add, cspi_internal_event_remove):
1463 New private methods for managiing the event cache.
1465 * cspi/bonobo/cspi-bonobo-listener.c:
1467 Initialize the new private data elements (id, magic, ref_count).
1469 * atk-bridge/bridge.c:
1470 (spi_atk_bridge_signal_listener):
1471 Fixed bug #100530, passing wrong params to emission func.
1473 * registryd/deviceeventcontroller.c:
1474 (spi_dec_button_update_and_emit):
1475 Fixed type in mask bit operations; fix for #99799.
1477 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1479 Removed some of the more dangerous workarounds from
1480 previous commit; they are only needed by GOK, which
1481 in reality should be using another method to accomplish
1482 the goals. So on reconsideration some of the workarounds
1483 need to be reverted:
1485 * registryd/deviceeventcontroller.c:
1486 (spi_keycodes_contain, spi_dec_init_keycode_list):
1487 Removed these methods, used only by a nasty hack to try
1488 and detect whether a key synthesis should be allowed
1489 to reset the XKB latch state or not. This code was only
1490 required to work around an interaction between GOK,
1491 button events, and XKB.
1492 (impl_generate_key_event):
1493 Removed hack at end of key generation that tried to
1494 "do the right thing" if XKB latch keys were generated
1495 in the midst of button press/release pairs.
1498 Added a check for HAVE_XINPUT. Not normally used yet.
1500 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1502 Workarounds and fixes for mouse event/XKB interaction.
1504 * registryd/deviceeventcontroller.c:
1505 (spi_keycodes_contain, spi_dec_init_keycode_list):
1506 New internal methods.
1507 (spi_dec_set_unlatch_pending):
1508 Split the method that tells XKB to expect an
1509 unlatch (and revert it) out of the rest of the
1510 event handling code. This method is called by the
1511 two mouse event handlers (the poll and the filter).
1512 (spi_dec_update_and_emit, spi_dec_mouse_check):
1513 New methods split from spi_dec_poll_mouse_moved.
1514 The second one is now called from inside the filterFn
1515 when an XKB delatch event is received, to determine
1516 whether to revert the delatch or not.
1517 (spi_poll_mouse_moved): Refactor; also we can now
1518 properly handle the case where multiple button states
1519 have changed between polling cycles and we didn't get
1520 notified due to another client's grab.
1522 Synchronize the server while handling an XKB notification.
1523 Ugly, but apparently necessary to avoid nasty races.
1524 Check the mouse state on receipt of an XKB latch change,
1525 to decide whether to revert the latch or not. (Latches are
1526 reverted if there is an immediately preceding mouse button
1527 event that a client has consumed, in which case we don't want
1528 the user to see the side-effect of the event).
1529 (spi_device_event_controller_forward_mouse_event):
1530 Check for modifier events and fire before resetting mouse_mask_state,
1531 prevents losing modifier events.
1533 (impl_generate_keyboard_event):
1534 If we've just generated a keyboard event for a non-shift key,
1535 we don't want to revert the pending XKB latch.
1536 Otherwise, check the modifier state (via a call to
1537 spi_dev_mouse_check) and set the relatch mask to
1538 that state before returning.
1540 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1543 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1546 * atk-bridge/bridge.c:
1547 (spi_atk_register_event_listeners):
1548 Don't re-register for ATK events if the registry has died
1549 and the app needs to re-register; the ATK listeners are in
1550 process and doing so will cause duplicate emission.
1552 * registryd/deviceeventcontroller.c:
1553 (spi_poll_mouse_moved):
1554 Reformat the source, detect and emit multiple button-change
1555 events (i.e. if multiple buttons have changed between poll
1557 Add code to detect mouse-down events even when the pointer
1558 is grabbed; workaround for GOK bug 98420.
1559 (spi_controller_register_with_devices):
1560 Call XTestGrabControl with 'impervious' flag set to True,
1561 allows us to synthesize events and query the pointer even during
1562 an active grab by another client.
1563 (spi_device_event_controller_forward_mouse_event):
1564 Set the mouse_mask_state to the mouse_button_state from
1565 the intercepted event, to synchronize the grab listener with
1568 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1570 * cspi/spi_accessible.c:
1571 (AccessibleRole_getName):
1572 Added necessary strings for making this (deprecated)
1573 method work with the new role types.
1574 (init_role_table, role_table):
1575 Added definition of SPI_ROLE_APPLICATION.
1577 * libspi/spi-roletypes.h:
1578 Added SPI_ROLE_APPLICATION.
1580 * idl/Accessibility_Role.idl:
1581 Added ROLE_APPLICATION.
1583 * docs/reference/cspi/at-spi-cspi-decl.txt:
1584 Added SPI_ROLE_APPLICATION to docs.
1586 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1588 * cspi/spi_accessible.c
1589 (cspi_init_role_table): Do not write beyond end of role_table.
1590 (Accessible_getRole): Use correct type for value returned by
1591 Accessibility_Accessible_getRole().
1593 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1594 beyond end of role_table. (This fixes bug #98269)
1596 * libspi/application.c: Add include file spi-private.h for
1597 definition of spi_init_any_nil.
1599 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1603 * libspi/spi-private.h:
1604 Added DGB() macro, and extern int _dbg declaration.
1606 * registryd/registry.c:
1607 (definitions) storage for _dbg.
1608 (spi_registry_init):
1609 Get environment variable "AT_SPI_DEBUG".
1610 (spi_registry_set_debug):
1611 New method, to initialize _dbg value.
1612 (spi_listener_struct_new, spi_registry_object_finalize):
1613 (notify_listeners_cb):
1614 Changed fprintfs to use DBG and g_warning().
1616 * registryd/deviceeventcontroller.c:
1617 (_deregister_keygrab, spi_controller_register_device_listener):
1618 Changed debug/warning messages to use DBG macro.
1620 * libspi/listener.c:
1621 (impl_notify_event):
1622 Changed warning messages to use DBG macro and g_warning().
1624 * atk-bridge/bridge.c:
1625 (atk_bridge_init, spi_atk_bridge_get_registry):
1626 (spi_atk_bridge_exit_func):
1627 (spi_atk_bridge_property_event_listener):
1628 Changed status, warning, and error messages to use
1629 g_warning, g_message, and DBG macros.
1632 Read the state of the AT_SPI_DEBUG environment variable
1633 and set a local '_dbg' accordingly.
1635 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1637 FIXES for 98836, 98842, other bugs.
1640 Revved to 1.1.4, interface-age=4, binary-age=4.
1642 * registryd/deviceeventcontroller.c:
1644 Fixed crasher bug in last_mouse_pos initialization.
1646 * registryd/registry.c:
1647 (desktop_add_application, desktop_remove_application):
1648 Added (and then commented out) some support for
1649 object context marshalling. [TODO]
1651 * atk-bridge/bridge.c:
1652 (spi_atk_bridge_event_context_create):
1653 Commented out object context creation until it can
1654 be properly tested and debugged.
1656 * registryd/registry.c:
1657 (impl_registry_notify_event):
1658 Fixed crasher bug, we were calling
1659 spi_re_entrant_list_foreach () with an empty list.
1661 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1663 * idl/Accessibility_Action.idl:
1664 * idl/Accessibility_Component.idl:
1665 * idl/Accessibility_Desktop.idl:
1666 * idl/Accessibility_Event.idl:
1667 * idl/Accessibility_Hyperlink.idl:
1668 * idl/Accessibility_Image.idl:
1669 * idl/Accessibility_Relation.idl:
1670 * idl/Accessibility_Selection.idl:
1671 * idl/Accessibility_State.idl:
1672 * idl/Accessibility_Value.idl:
1673 Updated unimplemented slot count to minimum of
1674 four for all interfaces, for ABI freeze.
1676 * idl/Accessibility_EditableText.idl:
1677 * idl/Accessibility_Text.idl:
1678 Updated unimplemented slot count to six
1681 * idl/Accessibility_Registry.idl:
1682 Updated unimplemented slot count to six
1683 (also for DeviceEventController),
1686 * idl/Accessibility_Table.idl:
1687 Updated unimplemented slot count to eight,
1690 * idl/Accessibility_Event.idl:
1691 Added CORBA_any "any_data" member to Event struct.
1693 * idl/Accessibility_Event.idl:
1694 Added CORBA_any "any_data" member to Event struct.
1696 * atk-bridge/bridge.c:
1698 atk_signal_text_changed, atk_signal_child_changed,
1699 signal ids queried from gtype system.
1700 (AtkBridgeEventContextType): New enum.
1701 (AtkBridgeEventContextData): New struct.
1702 (AtkBridgeEventContext): New struct.
1703 (atk_bridge_init_event_type_consts):
1704 New method, initializes type contants for comparison
1705 prior to emit_eventv.
1706 (atk_bridge_event_context_init): New method,
1707 initializes a CORBA_any from an AtkBridgeEventContext.
1708 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1709 initialize the event.any_data struct.
1710 (spi_atk_bridge_event_context_create): New method,
1711 creates an AtkBridgeEventContext from signal/event info.
1712 (spi_atk_bridge_event_context_free): New method.
1713 (spi_atk_emit_eventv): Changed to take an
1714 AtkBridgeEventContext parameter. We now initialize
1715 the event.any_data member prior to notifying the
1716 Registry, via the AtkBridgeEventContext.
1717 (spi_atk_bridge_property_event_listener):
1718 (spi_atk_bridge_state_event_listener):
1719 Match emit_eventv signature.
1720 (spi_atk_bridge_object_event_listener):
1721 Match emit_eventv signature, and create an
1722 event context from the event details.
1723 Free the event context afterwards.
1724 (spi_atk_bridge_window_event_listener):
1725 Create an event context, pass it to the
1729 (AccessibleEvent_getContextString):
1730 (AccessibleEvent_getContextObject):
1731 New methods, allow query of AccessibleEvent objects
1732 for more context details (via the "any_data" member
1733 of the Event struct, above).
1736 Definitions for AccessibleEvent_getContextString
1737 and AccessibleEvent_getContextObject.
1739 * cspi/spi_listener.h:
1740 (InternalEvent): New struct.
1743 (AccessibleEvent_getContextString):
1744 (AccessibleEvent_getContextObject):
1745 Implementations of new methods, for obtaining
1746 additional context information from some event types.
1748 * cspi/spi_registry.c:
1749 (SPI_registerGlobalEventListener):
1750 Added mention of active-descendant-changed event in docs.
1752 * cspi/cspi-bonobo-listener.c:
1754 Marshal the any into the AccessibleEvent via
1757 * libspi/spi-private.h:
1758 #include <orbit/orbit.h>
1760 (spi_init_any_string):
1761 (spi_init_any_object):
1762 New convenience function declarations.
1766 (spi_init_any_string):
1767 (spi_init_any_object):
1768 New convenience function implementations.
1770 * registryd/deviceeventcontroller.c:
1771 (spi_poll_dec_mouse_moved):
1772 (spi_device_event_controller_forward_mous_event):
1773 Initialize any_data member of event.
1774 (spi_deregister_controller_device_listener):
1775 Fix incorrect param pass which was preventing deregistration.
1777 * registryd/registry.c:
1778 (desktop_add_application):
1779 (desktop_remove_application):
1780 Add object data to event's any_data before dispatch.
1782 Fix for error messages from GAIL.
1784 * test/event-listener-test.c:
1785 Test new ContextString and "any_data" API:
1786 (report_text_event): New method query and output context string.
1787 (main): register a new text listener with report_text_event
1790 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1792 Fixes for bugs 98127 and 97914.
1793 * cspi/spi-roletypes.h:
1794 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1796 * cspi/spi-statetypes.h:
1797 Added SPI_STATE_MANAGES_DESCENDANTS
1799 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1800 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1801 * cspi/spi_accessible.c:
1802 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1803 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1804 Accessibility_STATE_MANAGES_DESCENDANTS
1805 * libspi/accessible.c:
1806 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1807 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1808 As requested by Bill, I also cleaned up the alignment.
1809 * libspi/relation.c:
1810 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1811 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1812 * libspi/stateset.c:
1813 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1814 Accessibility_STATE_MANAGES_DESCENDANTS
1815 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1816 Document changes reflecting modifications to roles.
1817 * docs/reference/cspi/tmpl/spi_relation.sgml:
1818 Document changes reflecting modifications to relations.
1819 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1820 Document changes reflecting modifications to states.
1822 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1825 Revved to 1.1.3, interface-age=3, binary-age=3.
1826 Added REBUILD macro.
1829 Removed accessx-gui from the tests, since we have a nice
1830 keyboard accessibility capplet now :-)
1832 * test/keysynth-demo.c:
1833 (increment_scan): removed do-nothing default: case,
1836 * test/visual-bell.c:
1837 (main) : removed do-nothing default: case,
1840 * cspi/spi_action.c:
1841 (AccessibleAction_getKeyBinding_):
1842 Documented keybinding string format.
1846 (AccessibleText_getAttributes):
1847 Documented the text attribute string format.
1848 It's changed to use semicolon delimiters also,
1849 to prevent clashes with CSS attributes, but the old
1850 trick of looking for ", " strings will still work
1851 (as unreliably as ever). Fix for bug related to 97916.
1854 Include <cspi/bonobo/cspi-bonobo-listener.h>
1855 Fixes build warning.
1856 (SPI_freeAccessibleKeySet):
1857 (AccessibleKeystrokeListener_addCallback):
1858 (AccessibleKeystrokeListener_removeCallback):
1859 Modify to use AccessibleDeviceListener API internally,
1860 instead of AccessibleKeystrokeListener.
1862 * idl/Accessibility_Event.idl:
1863 Added two more empty slots to EventListener (for a total of four).
1865 * idl/Accessibility_Accessible.idl:
1866 Added four empty slots to Accessible interface.
1868 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1870 * idl/Accessibility_Registry.idl:
1871 (KeyEventType, EventType):
1872 Marked KeyEventType as deprecated; it duplicates
1873 functionality of EventType, which has been extended to
1874 include Mouse-button events.
1875 (KeyEventTypeSeq): defined in terms of EventType.
1876 (registerDeviceEventListener, deregisterDeviceEventListener):
1877 New methods, for managing listeners to device events,
1878 which potentially may consume them.
1881 Added definition for AccessibleDeviceListener.
1883 * cspi/spi-listener.h:
1884 (enum AccessibleDeviceEventType):
1885 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1886 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1887 for backwards compat.
1888 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1889 and typedef'd AccessibleKeystroke to it for back-compat.
1890 (AccessibleDeviceListenerCB):
1891 New function prototype typedef.
1894 (AccessibleDeviceEventMask): New typedef.
1895 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1896 (AccessibleKeyMaskType):
1897 Set equivalent to AccessibleModifierMaskType for back-compat.
1898 (SPI_createAccessibleKeystrokeListener):
1899 (AccessibleKeystrokeListener_unref):
1900 Deprecated in favor of equivalent (better-named) new API below..
1901 keystroke listeners are like all device listeners.
1902 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1903 New API names for old features :-).
1904 (AccessibleDeviceListener_addCallback):
1905 (AccessibleDeviceListener_removeCallback):
1906 (SPI_registerDeviceEventListener):
1907 (SPI_deregisterDeviceEventListener):
1911 (SPI_createAccessibleKeystrokeListener):
1912 Use new preferred API, cspi_device_listener_new() and
1913 cspi_device_listener_add_cb().
1914 (AccessibleKeystrokeListener_removeCallback):
1915 Use new preferred API, cspi_device_listener_remove_cb().
1916 (AccessibleKeystrokeListener_unref):
1917 Use new preferred API, cspi_device_listener_unref().
1918 (SPI_createAccessibleDeviceListener):
1919 (AccessibleDeviceListener_addCallback):
1920 (AccessibleDeviceListener_removeCallback):
1921 Implementation of new API.
1923 * cspi/spi_registry.c:
1924 (SPI_registerDeviceEventListener):
1925 (SPI_deregisterDeviceEventListener):
1926 Implementation of new API. Fixed memory leak and removed need to
1927 allocate EventTypeSeq (thanks Michael for catching this).
1928 Squashed a wayward CORBA_exception_free that shouldn't get called.
1930 * cspi/bonobo/cspi-bonobo-listener.c:
1932 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1933 (cspi_key_event): renamed to cspi_device_event().
1934 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1935 Extended to handle mouse button events as well as key events.
1936 (CSpiKeystrokeListener):
1937 Class superceded by CSpiDeviceListener.
1938 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1939 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1941 * cspi/bonobo/cspi-bonobo-listener.h:
1942 (CSpiKeystrokeListener):
1943 Class superceded by CSpiDeviceListener.
1944 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1945 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1947 * libspi/Makefile.am:
1948 Replaced keystrokelistener.h and keystrokelistener.c
1949 with devicelistener.h and devicelistener.c; keystrokelisener.h
1950 stub retained for back-compat.
1952 * libspi/keystrokelistener.c:
1956 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1958 * registryd/deviceeventcontroller.c:
1959 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1960 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1961 (DEControllerPrivateData): Added xkb settings data.
1962 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1963 button release events (which can't be captured via XGrabButton).
1964 Don't dispatch via the 'normal' event mechanism if the device event was
1966 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1967 Handle the typeseq data in its new location (see above).
1968 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1969 New methods, for "generic" device listeners.
1970 (spi_controller_register_device_listener):
1971 Now handle mouse event listeners as well as key listeners.
1972 (spi_controller_notify_mouselisteners):
1973 New internal method.
1974 (spi_device_event_controller_forward_mouse_event):
1975 Now we notify mouse device listeners as well as generating the
1976 non-consumable "mouse:" events.
1978 We must check and restore the XKB
1979 modifier map if we consume the event, since the act of triggering
1980 a mouse event will normally reset the XKB latch. This is required for
1982 (spi_controller_register_with_devices):
1983 Load the XKB settings when registering, and register for XKB
1984 state notify events.
1985 (spi_key_eventtype_seq_contains_event):
1986 Renamed spi_eventtype_seq_contains_event, since it's used
1987 internally for all device event types now.
1988 (spi_key_event_matches_listener):
1989 Uses spi_eventtype_seq_contains_event now.
1990 (spi_device_event_controller_object_finalize):
1991 Free the private data and the XkbKeyboard struct.
1992 (impl_register_device_listener, impl_deregister_device_listener):
1993 Implementation of new IDL.
1994 (spi_deregister_controller_device_listener):
1995 New internal method.
1996 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1997 More efficient implementation, we don't have to create a new
1998 XkbControls structure every time we query.
1999 (spi_device_event_controller_class_init):
2000 Initialize the epv entries for the new IDL. Assign the
2001 "spi-dec-private" quark.
2002 (spi_device_event_controller_init):
2003 Initialize the private data.
2004 (spi_device_event_controller_forward_key_event):
2005 Removed a bogus CORBA_exception_free() call.
2007 * registryd/deviceeventcontroller.h:
2008 Replaced inclusion of keystrokelistener.h with
2011 * test/event-listener-test.c:
2012 (report_mouse_event):
2015 Added mouse-event device listener.
2017 * test/test-simple.c:
2018 (create_test_window):
2019 Fixed regression (we were instantiating a GtkRange,
2020 which is now an abstract class). Also fixed to match
2021 existing AtkRole names, this seems to have changed in ATK
2022 awhile ago; too late now I think, and the new
2023 mechanism is at least elegant and consistent with the
2024 glib enum "nick" APIs.
2026 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2028 * idl/Accessibility_Relation.idl:
2029 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2030 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2031 * idl/Accessibility_Role.idl:
2032 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2033 * idl/Accessibility_State.idl:
2034 add STATE_MANAGES_DESCENDANTS
2035 * test/event-listener-test.c:
2036 Added a listener for active-descendant events.
2038 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2040 * atk-bridge/bridge.c
2041 (atk_bridge_init): If application is Bonobo component wait until top
2042 level is added before registering
2043 (spi_atk_bridge_do_registration): New function which contains code,
2044 formerly in atk_bridge_init, to do application registration.
2045 (spi_atk_bridge_toplevel_added): Signal called when top level
2046 added to Bonobo component
2048 This fixes bug #83134.
2050 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2052 * registryd/deviceeventcontroller.c
2053 Fixed compilation error caused by calling gettimeofday()
2056 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2061 Added template for HAVE_XKB.
2064 Changes to check for XKB, and to set the HAVE_XKB #define if it
2067 * libspi/listener.c:
2068 ()impl_notify_event): Make failure to get event source name
2071 * registryd/deviceeventcontroller.c:
2072 (#include): include X11/XKBlib.h.
2073 (DEControllerPrivateData) : New struct.
2074 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2076 (dec_synth_keycode_press) (dec_synth_keycode_release):
2077 New methods; split the key synthesis code into these methods.
2078 They check XKB settings before determining the "time" values to
2079 pass to Xtest; this fixes bug #95828.
2080 (impl_generate_keyboard_event): Changed to use methods above,
2081 instead of callng Xtest directly.
2082 (spi_device_event_controller_init): Initialize new privae struct s
2084 (spi_device_event_controllr_object_finalize):
2085 Free the (new) private data.
2087 * registryd/deviceeventcontroller.h:
2088 Add new gpointer to end of struct data.
2090 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2093 Incremented revision to 1.1.2, SONAME is still '.so', library
2094 extensions are ".so.0.0.2".
2096 * registryd/deviceeventcontroller.c:
2097 FIXES FOR #93592 and #95940.
2098 (statics): renamed mouse_button_state to mouse_mask_state,
2099 added key_modifier_mask.
2100 (spi_dec_poll_mouse_moved):
2101 Added key modifier checks, and emit "keyboard:modifiers"
2102 events when the key modifiers currently in use change.
2103 Also generate "mouse:abs" events periodically, even if the mouse
2104 is stationary (should we?).
2105 Alternatively we could generate "mouse:abs" events for either all
2106 mouse movements, or every 'nth' mouse movement, or at the
2107 beginning and end of every "active" mouse period.
2109 * test/event-listener-test.c:
2110 (main): Added listener for "keyboard:modifiers" events.
2112 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2114 * libspi/keymasks.h:
2115 Added key mask #defines for mouse buttons; e.g.
2116 SPI_KEYMASK_BUTTON1, etc.
2119 Incremented dependency on ATK to version 1.1.0. (This dependency
2120 is probably premature but will soon be real enough).
2122 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2124 * libspi/hyperlink.[ch]
2125 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2126 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2129 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2134 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2136 * registryd/deviceeventcontroller.c
2137 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2138 events to be ignored.
2139 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2140 keyboard_mode so that XAllowEvents() can be called.
2144 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2146 * cspi/spi-accessible.c: Correct names of roles returned by
2147 AccessibleRole_getName(). Fixes bug #95055.
2149 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2151 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2154 * registryd/registry.c
2155 (desktop_remove_application: Write diagnostic message to stderr for
2158 (impl_accessibility_registry_deregister_global_event_listener):
2159 Correct size of lists array. This addresses bug #94555).
2161 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2163 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2166 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2168 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2171 * registryd/registry.c (impl_registry_notify_event): Remove
2172 unnecessary call to parser_event_type().
2174 * docs/reference/cspi/tmpl/spi_component.sgml:
2175 Add reference to SPI_LAYER_WINDOW.
2177 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2179 * registryd/registry.c
2180 (desktop_add_application): Remove leak.
2181 (desktop_remove_application): Remove leak.
2182 (parser_event_type): Remove leak.
2184 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2186 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2187 bogus call to CORBA_string_dup(). Also removed unnecessary
2188 g_string_dup/g_free calls.
2190 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2192 * registryd/deviceeventcontroller.c:
2193 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2195 * test/event-listener-test.c:
2196 main: commented out three redundant listeners, to reduce output
2197 noise. (They still are potentially useful for testing).
2200 2002-09-13 Michael Meeks <michael@ximian.com>
2202 * Update all the copyrights to include Ximian.
2204 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2206 * cspi/spi.h: add SPI_LAYER_WINDOW.
2208 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2209 add Accessibility_LAYER_WINDOW case.
2211 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2213 * libspi/component.c: (impl_accessibility_component_get_layer):
2214 add ATK_LAYER_WINDOW case.
2216 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2218 * configure.in: incremented micro version.
2220 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2222 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2225 Clarified and reworded our commit policy.
2228 Started an API "todo" addition list for 2.2.
2231 (impl_getSelection):
2232 Free char pointer from atk_text_get_selection, which was being leaked.
2234 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2237 Small revision to author acknowledgement.
2239 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2241 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2242 If signal has detail add it to the type of the event.
2245 2002-08-12 Michael Meeks <michael@ximian.com>
2247 * test/test-simple.c (global_listener_cb): bin bogosity.
2248 (test_keylisteners): disable, still doesn't work reliably,
2249 certainly not on my system anyway.
2251 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2252 don't leak a reference on the DEC. This round-trip
2253 fetching of the DEC per keystroke sucks, it should be
2256 * cspi/spi-private.h,
2257 * cspi/cspi-lowlevel.h,
2258 * cspi/bonobo/cspi-bonobo-listener.[ch],
2259 * cspi/bonobo/cspi-bonobo.c: get the copyright
2260 notices better - there is still a large amount of
2261 work in at-spi falsely attributed solely to Sun.
2263 * cspi/spi_main.c (cspi_object_ref): kill bogus
2264 hash lookup, just increment the ref.
2265 (SPI_freeString): make explicit the fact that we
2266 handle NULL strings just fine.
2267 (report_leaked_ref): obey coding standards.
2268 (cspi_object_hash, cspi_object_equal): kill retval.
2269 (cspi_object_release): only release if not on loan.
2270 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2271 (cspi_object_borrow, cspi_object_return): impl.
2273 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2274 use cspi_object_borrow / return.
2276 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2278 * cspi/bonobo/cspi-bonobo-listener.c:
2280 Don't call cspi_oject_new() because this is creating a new Accessible
2281 every single time that an event is fired. This causes ATs like at-poke
2282 to nolonger recognise the source of the event and thus ignore it.
2283 Re-use the object from the cache, ref it and then unref it after the
2284 listeners have been called.
2286 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2288 * test/event-listener-test.c:
2289 Added command-line options to disable mouse events (m) and
2292 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2294 * configure.in: Update required versions of ATK, GTK+ and GAIL
2296 * cspi-1.0.pc.in: Add dependency for X include files
2299 * cspi/bonobo/Makefile.am:
2300 Add $(X_CFLAGS) so that X include files
2301 are picked up even if not in standard place (bug #71686)
2303 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2305 * registryd/deviceeventcontroller.c: fix for 84261
2306 (spi_dec_mouse_moved):
2307 Added test of mouse button mask, so that we can detect mouse
2308 button release. Unfortunately we can't otherwise detect mouse
2309 button release events without consuming the mouse press event,
2310 because of the way XGrabButton works. This means that our mouse
2311 release events have a latency dependent on the polling period
2312 while the mouse button is down. At least in this case we only
2313 have to poll while the button is down, and not at other times.
2314 If the button masks don't match with what the last press event
2315 reported, we report the appropriate button release event.
2316 (spi_dec_ungrab_mouse):
2317 New method (not yet called).
2318 (spi_device_event_controller_forward_mouse_event):
2319 New method, sends mouse press event from GdkFilter.
2320 (spi_dec_init_mouse_listener):
2321 Added code to call XGrabButton, redirecting mouse button events to
2322 the root window and our Gdk event loop.
2324 Added code to filter mouse button events, and reordered.
2326 * test/event-listener-test.c:
2328 Added registration for mouse events of type "mouse:button".
2330 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2332 * registryd/deviceeventcontroller.c: partial fix for 84261
2333 (spi_dec_poll_mouse_idle):
2334 New method, a timeout which checks to see if the mouse
2336 (spi_dec_poll_mouse_moving):
2337 A timeout to be called when mouse motion is underway.
2338 (spi_dec_poll_mouse_moved):
2339 A method which fires an event if the mouse has moved, and reports
2340 whether or not it did so.
2341 (spi_dec_init_mouse_listener):
2342 A method which sets up the timeouts above.
2343 (spi_device_event_controller_new):
2344 Now calls spi_dec_init_mouse_listener.
2346 * registryd/registry.c:
2347 (spi_registry_init):
2348 Now we initialize the device event controller when the registry is
2349 initialized, instead of waiting until a client has requested a key
2350 event notification; this is because we need the event controller
2351 for mouse events, but the mouse event registration API is a
2352 "registry" call and doesn't explicitly call the
2353 deviceeventcontroller.
2354 We now report mouse motion events with a 100 ms idle latency and
2355 a 20 ms granularity when motion is in progress.
2357 * test/event-listener-test.c:
2359 We now register the "detail listener" for events of type
2360 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2361 delivered only for the first mouse event received, and thereafter
2362 "mouse:abs" events are delivered.)
2364 * cspi/spi_registry.c:
2365 DOCS: Documented the above mouse event typestrings.
2367 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2369 Happy Summer Solstice...
2371 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2372 (spi_controller_notify_keylisteners):
2373 Changes to remove a listener from the listener list, freeing its
2374 open keygrabs, if a notification to that listener fails. This
2375 means that although a dead listener can continue to hold a passive
2376 keygrab, a maximum of one dispatch to such a listener can fail
2377 before the listener is removed from the list, thus the keygrab
2378 will be released on the next occurrence.
2379 As part of this fix:
2380 (spi_notify_keylisteners):
2381 Renamed to spi_controller_notify_keylisteners, as the controller
2382 instance must now be passed as an argument.
2383 The copied 'notify' GList is now a list of DEControllerKeyListener
2384 objects, since we need more than just the CORBA reference if a
2385 notify fails and we need to deregister the listener.
2386 (impl_notify_listeners_sync):
2387 (impl_notify_listeners_async):
2388 (spi_device_event_controller_forward_key_event):
2389 Modify use of notify_keylisteners in accordance with above
2391 (spi_deregister_controller_key_listener):
2392 New method introduced by refactoring, from
2393 impl_deregister_keystroke_listener.
2394 (impl_deregister_keystroke_listener):
2395 Call spi_deregister_controller_key_listener.
2396 (spi_key_listener_clone):
2397 New method to copy a key listner without doing a 'ref' on the
2398 remote object instance; used to create a notifier list.
2399 (spi_key_listener_data_free):
2400 New method, frees data without unreffing the source.
2402 (spi_key_listener_clone_free): new method.
2403 (spi_key_listener_free):
2404 refactored to call spi_key_listener_data_free.
2406 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2408 * registryd/registry.c: [fix for bug 86048]
2409 (notify_listeners_cb):
2410 Clear CORBA system exceptions which occur when notifying
2411 listeners, before returning to the source of the original event,
2412 since the event source doesn't care if the relayed notify failed.
2413 In other words, don't complain to the atk-bridge if the registry
2414 could not notify all its listeners, that's no fault of the
2415 application and thus should not appear to be an error from the
2416 application's perspective.
2418 * cspi/spi_main.c: [fix for bug 85980]
2420 Replaced use of bonobo_object_dup_ref with call to the wrapper
2421 method, csou_dup_ref (); this silences a compiler warning and
2422 provided more portability.
2424 Ping the registry before return, and restart if necessary.
2426 * cspi/bonobo/cspi-bonobo.c:
2428 New internal method.
2430 Fixed this method to return an object reference, as it should have
2433 * cspi/cspi-lowlevel.h:
2434 Added internal definition for cspi_ping() and fixed
2435 return type of cspi_dup_ref().
2438 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2440 * atk-bridge/bridge.c: [fix for bug 85305]
2441 (spi_atk_bridge_register_application):
2442 New method where the initial application registry calls have been
2443 moved; it allows an application to re-register in response to
2444 certain error conditions (such as a registry restart, see below).
2446 Moved some initialization code to the method
2447 spi_atk_bridge_get_registry, below.
2448 (spi_atk_bridge_get_registry):
2449 New, private accessor function for the Accessibility_Registry
2450 instance. If the registry has not been started before, or has
2451 died (as detected by failure of a CORBA exception), it is
2452 restarted before return, and spi_atk_bridge_register_application
2453 is called again to register with the new bridge instance.
2454 (spi_atk_emit_eventv):
2455 Set registry_died on error; use spi_atk_bridge_get_registry () to
2456 access the registry.
2458 * registryd/registry.c:
2459 (impl_accessibility_registry_register_global_event_listener):
2460 Set listener's event_type_quark to etype.minor instead of
2461 etype.major (fix for bug 84856).
2463 * test/event-listener-test.c:
2464 (report_detail_event):
2465 Change the output string so that user/tester can tell that the
2466 'detail listener' was called instead of the 'generic listener'.
2468 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2470 Fixes for bugs 84900, 84908, 84897, 84898.
2475 Revved version to 1.1.0
2476 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2477 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2479 * idl/Accessibility_Registry.idl:
2480 (EventListener::notifyEvent):
2481 Removed 'oneway' directive after extensive consulation with
2482 ORBit2 team and others. This means also that unref() of the event
2483 source can and should be done synchronously after emission, rather
2484 than remotely in the client, after servicing the notify call on
2487 NOTE: This change speeds up listener performance considerably, but
2488 introduces new latency on the application side. We may want to
2489 add an event queue to the atk-bridge.
2491 * atk-bridge/bridge.c:
2492 (spi_atk_bridge_focus_tracker):
2493 Do a local unref() on the event source after emission.
2495 * registryd/registry.c:
2496 (desktop_remove_application):
2497 Do an unref() on the event source after emission.
2498 (desktop_add_application):
2499 Do an unref() on the event source after emission.
2500 (notify_listeners_cb):
2501 When relaying an event, don't automatically add the event source
2502 to the local object cache, just CORBA_dup it instead. Likewise,
2503 if this method reenters, release the ref rather than calling
2505 (impl_registry_notify_event):
2506 No longer call remote unref() on the event source after dispatch.
2508 * libspi/eventlistener.c:
2509 (impl_accessible_event_notify_event):
2510 Removed remote unref ()
2512 * cspi/bonobo/cspi-bonobo-listener.c:
2514 We now call cspi_object_new() instead of cspi_object_add() on
2515 receipt of an event; thus we only have an implicit object ref
2516 while the cspi_event method is being executed. If we need to keep
2517 a reference to the object, the listener must call ref() on the
2518 object. Thus also we don't need to call cspi_object_unref() after
2519 invoking the listener callbacks in this method.
2523 New internal API for creating a new cspi object, without adding it
2524 to the object cache.
2526 Now uses cspi_object_new() to create the cspi object instance.
2528 Now checks to see if the object is in the internal object cache,
2529 and adds it if necessary before incrementing its refcount (note
2530 that new objects are added with a refcount of 1).
2531 (report_leaked_ref):
2532 New method which gives some information on leaked object instances
2533 if leak detection is turned on.
2535 * test/event-listener-test.c:
2536 (timing_test_event):
2537 New method, used for testing event delivery timing for special
2538 events of type "object:test". It reports elapsed time and
2539 events/sec every 500 events.
2541 Added a new listener, 'test listener', to check timing of event
2542 receipt as noted above.
2544 Added some timing output here also, reports elapsed time every 100
2547 * test/stress-test.c:
2548 Emit events of type "object:test", for use with "event-listener-test".
2550 * test/test-simple.c:
2551 (global_listener_cb):
2552 Call Accessible_ref() on the event source before calling
2553 validate_accessible, since the validation process does pointer
2554 comparisons on the event source, meaning that the event source
2555 needs to be added to the local object cache first. Any use of
2556 such pointer comparisons between Accessible objects requires that
2557 the caller hold an explicit reference to those objects.
2558 We also must therefore call Accessible_unref() when leaving this method.
2560 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2562 * registryd/deviceeventcontroller.c:
2563 (spi_controller_update_key_grabs):
2564 Fix for #84735, subsequent keygrab listeners not informed of
2565 registration failure.
2568 (spi_base_construct):
2569 Add an assertion on construct, to make sure the GObject passed in
2570 is really a GObject.
2572 Explicitly initialize object->gobj pointer to NULL;
2574 * cspi/bonobo/cspi-bonobo-listener.c:
2575 (cspi_object_add_ref):
2576 New method, can specify whether to dup-ref a bonobo object passed
2577 in if it's newly added to the object cache.
2579 Now calls cspi_object_add_ref with second param of "FALSE". This
2580 prevents us from doing a pointless dup-ref followed by
2581 release-unref for all those cases where the object is already in
2582 our object cache (fix for #85205).
2584 * atk-bridge/bridge.c:
2585 (spi_atk_bridge_idle_init):
2586 Removed this method, we don't need to initialize in an idle
2589 Changed to call spi_atk_register_event_listeners directly, not via an
2590 idle handler. (fix for #81139)
2591 (gnome_accessibility_module_shutdown):
2592 Removed conditional around deregistration of listeners, since we
2593 don't use the idle handler and thus have always registered when
2595 (spi_init_keystroke_from_atk_key_event):
2596 Changed references to Accessibility_KEY_PRESSED to
2597 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2599 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2601 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2606 * test/stress-test.c:
2609 (may have been an incomplete commit yesterday?)
2611 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2614 Added target for new stress-test.
2616 * test/stress-test.c:
2617 New test, sends 1000 focus notifies in quick succession.
2619 * test/key-listener-test.c:
2620 Now we report whether a keylistener registration
2621 request succeeded or failed.
2623 * test/event-listener-test.c:
2624 Uncommented some listeners which are now implemented.
2627 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2629 * registryd/deviceeventcontroller.c:
2630 (spi_controller_update_key_grabs):
2631 Fix for #82509, lack of failure notification when
2632 ALL_WINDOWS keygrabs fail due to XGrabKey
2633 failure: we synchronize the server when
2634 registering a passive grab, to make sure we get the
2635 error message before the call returns.
2637 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2639 * test/test-simple.c:
2641 Removed #ifdef KEY_IMPL_WORKS guards.
2642 (test_keylisteners):
2643 Removed #ifdef KEY_IMPL_WORKS guards.
2644 Fixed bug which was causing a hang waiting for a
2645 "press" event (which was already overwritten by a "release"
2646 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2648 Added code to set globals 'key_press_received' and
2649 'key_release_received'.
2652 Added section "1.1 API Proposed Additions" which
2653 lists API additions desired for at-spi-1.1 (only one so far).
2654 Updated TODO list a little.
2656 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2658 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2661 * configure.in: Revved to 1.0.0.
2663 * idl/Accessibility_Registry.idl:
2664 (registerKeystrokeListener):
2665 Added boolean return value.
2667 * registryd/registry.c:
2668 (notify_listeners_cb): Minor fix to debug output.
2670 * registryd/Accessibility_Registry.server.in.in:
2671 Revved version number in OAFIID to 1.0.
2673 * registryd/registryd.c:
2675 Use new OAFIID version.
2677 * cspi/bonobo/cspi-bonobo.c:
2679 Use new OAFIID version.
2685 * atk-bridge/bridge.c:
2687 Use new OAFIID version.
2689 * registryd/deviceeventcontroller.c:
2690 (impl_register_keystroke_listener):
2691 Added CORBA_boolean return value.
2692 (spi_controller_register_device_listener):
2693 Added gboolean return value.
2694 (spi_controller_register_global_keygrabs):
2695 Added gboolean return value.
2696 (spi_key_set_contains_key):
2697 Added implementation for many more control keys,
2698 for instance F1-F12, arrow keys, End, Home, Page_Up,
2700 [TODO: some still not implemented].
2702 * text/screen-review-test.c:
2703 (text_chunk_pad_string):
2704 New function: it provides mapping between coordinate
2705 positions of text chunks and character positions in the
2706 screen-review-line output string.
2707 (text_chunk_to_string):
2708 New function, calls text_chunk_pad_string with various
2709 pad/delimiter characters. Pushbuttons are delimited with
2710 square brackets, Frames with vertical 'pipe' lines, and
2711 other text with double quotes.
2712 (text_chunk_list_to_string):
2713 Calls new function text_chunk_to_string.
2714 (toplevel_composite):
2715 New function to composite layers CANVAS through
2716 POPUP in each toplevel (other layers are composited
2717 across toplevels, i.e. BACKGROUND and OVERLAY).
2718 (review_buffer_composite):
2719 Revise to use new methods.
2725 2002-05-31 Laszlo Peter <laca@sun.com>
2727 * configure.in: add the Xtst libdir to the runpath on Solaris,
2728 since it's not in the default library search path.
2730 2002-05-29 jacob berkman <jacob@ximian.com>
2732 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2734 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2736 * test/screen-review-test.c:
2737 (text_chunk_pad_string):
2738 Added method, which pads the string according to the
2739 text bounds of the chunk. It also takes a 3-character
2740 string as a param which indicates the characters to be
2741 used for start, padding, and end delimitation of the chunk.
2742 (text_chunk_to_string):
2743 Changed to use text_chunk_pad_string.
2745 * configure.in: Fixed bug in AC_OUTPUT that was
2746 causing path substitution in Accessibility_Registry.server
2749 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2751 * text/screen-review-test.c:
2752 (guess_string_clip):
2753 New method which attempts a best-guess at clipping
2754 text from components (like Java labels) which don't
2755 actually implement AccessibleText. This inaccurate
2756 clip is based on the assumption that the label is
2757 justified left-and-right, and monospaced.
2758 (text_chunk_get_clipped_string):
2759 We now call guess_string_clip() for text-containing
2760 components that don't implement AccessibleText.
2762 * test/screen-review-test.c:
2763 (review_buffer_get_text_chunk):
2764 We now pull "name" from labels if they do not implement
2765 AccessibleText (i.e. for Java labels).
2766 (get_screen_review_line_at):
2767 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2770 Replaceded AC_OUTPUT target
2771 registryd/Accessibility_Registry.server with
2772 registryd/Accessibility_Registry.server.in.
2774 * registryd/Accessibility_Registry.server.in:
2775 Removed (this is now a Makefile target).
2777 * registryd/Accessibility_Registry.server.in.in:
2778 Added (source for target above). We now use $(libexecdir) as
2779 prefix for the executable at-spi-registryd.
2781 * registry/Makefile.am:
2782 Now install at-spi-registryd into $(libexecdir), and build .server
2783 file with path (see above).
2785 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2787 * test/screen-review-test.c:
2788 (text_chunk_get_clipped_string):
2789 We now check to see if words fall within clip bounds
2790 before resorting to character-by-character clip bounds testing.
2792 * TODO: Added a section for "2.2 Proposed API Additions".
2794 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2796 * test/screen-review-test.c:
2798 Added a screen review benchmarking and test program to test
2801 * cspi/spi_accessible.c:
2803 Made some of the debug strings passed to cspi_check_ev a
2804 little more specific.
2806 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2808 * test/screen-review-test.c: Fix crashes in debug statements
2810 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2812 * test/screen-review-test.c: Added this file.
2814 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2816 * atk-bridge/bridge.c: changed "object:state-change" to
2817 "object:state-changed" to match docs.
2819 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2821 * atk-bridge/bridge.c: Hooked up state-change event details.
2823 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2825 * registryd/registry.c:
2826 Fixed quarking bug in event string parsing; now events with
2827 detail parameters get matched correctly to listeners.
2830 * util/idl/Magnifier.idl: remove.
2832 * util/*.[ch]: Remove.
2833 Magnification utilities and IDL are now in module gnome-mag.
2835 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2837 * registryd/deviceeventcontroller.c:
2838 Fixed bug in grab key conversion which was causing keycode grabs
2839 to be converted to AnyKey grabs.
2842 updated NEWS file to reflect recent spin-off of gnome-mag.
2844 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2846 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2847 busted AccessibleStateSet_compare. Removed redundant casts.
2849 * cspi/spi-action.c: Removed redundant casts.
2851 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2853 * cspi/spi_component.c: Fixed typos and casting error.
2855 * cspi/spi_editabletext.c: Removed redundant casts.
2857 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2859 * cspi/spi_hypertext.c: Eliminated redundant casts.
2861 * cspi/spi_image.c: Eliminated redundant casts.
2863 * cspi/spi_registry.c: Eliminated redundant casts.
2864 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2865 * cspi/spi_selection.c: Removed redundant casts.
2866 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2867 handling. Screen geometry and text offsets were being returned as 0
2868 on error which is technically valid-- changed these to return -1.
2869 Added marshaller for text boundary types to fix bug with boundary
2870 types being passed incorrectly to atk.
2872 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2875 * cspi/spi_registry.c:
2876 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2877 which was uncovered by the recent key changes.
2879 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2881 * test/event-listener-test.c:
2883 Added new test, "event-listener-test";
2884 this code does two things; it benchmarks traversal time
2885 for the accessible hierarchy for the first running accessible
2886 app, and it connects listeners for all supported event types.
2887 It is thus useful as an example event listener and for
2888 diagnostics/debugging of event generation.
2890 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2893 Removed unnecessary dependency on libutil.
2896 Revved micro version: 0.13.1
2898 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2901 Removed util/Makefile from targets.
2904 Removed util subdir from SUBDIRS (temporarily,
2905 pending removal of magnifier-only code
2909 #ifdef-ed out magnifier dependencies, since
2910 magnifier IDL, headers, and binary now live in
2911 module gnome-mag and we don't want at-spi to depend
2912 on gnome-mag. A magnifier demo which can run alongside
2913 simple-at is forthcoming in the gnome-mag module.
2915 NOTE: Split magnifier binary, IDL, and magnification
2916 activation code from at-spi into module gnome-mag.
2918 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2920 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2921 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2923 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2926 Revved to version 0.13.0
2928 * idl/Accessibility_Registry.idl:
2929 Changed definition of KeySet from sequence of longs to sequence of
2930 KeyDefinitions, and added KeyDefinition struct.
2931 Required for fix to bug 80616.
2933 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2934 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2935 to use new definition (see above).
2937 * registryd/deviceeventcontroller.c: handle_keygrab(),
2938 spi_keyset_contains_key():
2939 Changed to make use of new struct; this allows matching based on
2940 string key-name, for instance "Tab". This also allows matching of
2941 composed characters, non-alphanumeric characters in a way that
2942 doesn't involve dependencies on X keysym codes directly, etc.
2944 * test/key-listener-test.c:
2945 Added test for Alt-Tab key using "string" specification of keyset,
2946 and modified one of the tests to use a keycode-based keyset.
2947 Thus this test both tests and demonstrates the creation and use of
2948 keysets of three forms: specified via keycode array,
2949 keysym array, and string array. (The string case only contains a
2950 single string, i.e. a string array of length 1).
2953 Turned on PRINT_TREE option by default. Also fixed a
2954 string-freeing bug in the PRINT_TREE code.
2955 Added a listener to window:minimize events.
2957 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2959 * atk-bridge/bridge.c:
2960 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2961 for window:activate and window:deactiveate
2962 (atk_bridge_property_event_listener atk_bridge_signal_listener
2963 atk_bridge_window_event_listener) Tidy debug code
2965 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2967 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2968 Fixed handling for NULL return value from ATK.
2970 * libspi/action.c libspi/component.c libspi/editabletext.
2971 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2972 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2973 Removed redundant casts.
2975 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2976 Fixed off by one bug.
2978 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2979 function not present in idl)
2981 2002-05-02 jacob berkman <jacob@ximian.com>
2983 * atk-bridge/Makefile.am: make atk-bridge a real module
2985 2002-04-26 Radek Doulik <rodo@ximian.com>
2987 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2988 atk_state_types table
2990 2002-04-22 jacob berkman <jacob@ximian.com>
2993 * libspi/Makefile.am: add deps on the built files to help
2994 automake, and don't version the ORBit typelib
2996 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2998 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2999 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3000 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3001 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3002 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3003 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3004 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3005 libspi/accessible.h libspi/accessible.h libspi/base.h
3006 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3007 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3008 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3009 libspi/spi-private.h libspi/statetset.h libspi/table.h
3010 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3011 util/mag_client.h util/mag_control.c util/mag_image.c
3012 util/mag_image.h util/magnifier.c util/magnifier.h:
3013 Add missing file headers; standardize existing ones
3015 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3017 * atk-bridge/bridge.c: Added window event support.
3019 2002-04-18 Michael Meeks <michael@ximian.com>
3021 * libspi/relation.c (impl_getNTargets): impl.
3022 (impl_getTarget): impl.
3024 * libspi/Makefile.am: fix stateset install.
3026 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3029 Started putting useful info in this file.
3031 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3033 * atk-bridge/bridge.c:
3034 Propagate state-changed notifications to ATs
3036 * cspi/spi_registry.c: update docs to reflect actual behavior of
3037 state-change events.
3039 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3042 Incremented version to 0.12.1
3044 * util/mag_client.h:
3045 Add missing declaration for magnifier_exit,
3046 used by mag_control.c - Forte compiler didn't like
3047 the implicit redeclaration of the function :-(
3050 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3053 Revved version to 0.12 due to API change (see below).
3055 * cspi/spi-roletypes.h:
3056 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3057 definition from the inline docs, and added docs
3058 for SPI_ROLE_LAST_DEFINED.
3061 * cspi/spi_streamablecontent.c:
3062 Added missing seek_type parameter to
3063 (so far unused) method,
3064 AccessibleStreamableContent_seek().
3065 [ RT approval JodyG. ]
3068 Fixed docs for SPI_createAccessibleKeystrokeListener.
3070 * cspi/spi_registry.c:
3071 Fixed docs for SPI_KEYSET_ALL_KEYS.
3073 * docs/reference/cspi/at-spi-cspi-sections.txt:
3074 Added a number of missing APIs to SECTIONS.
3076 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3078 * registryd/Makefile.am:
3080 * cspi/bonobo/Makefile.am:
3081 Add $(X_LIBS) to makefiles.
3083 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3086 Revved version to 0.11.
3088 * libspi/component.c:
3089 Added implementation for grabFocus.
3091 * idl/Accessibility_Component.idl
3092 (Accessibility_Component_grabFocus):
3093 Made this method return boolean to indicate success or failure, to
3094 be consistent with cspi and the corresponding ATK method.
3096 * idl/Accessibility_Selection.idl
3097 (Accessibility_Selection_selectAll) :
3098 Made these methods return boolean to indicate success or
3099 failure, to be consistent with cspi and the corresponding ATK methods.
3101 * idl/Accessibility_EditableText.idl
3102 (Accessibility_EditableText_setTextContents,
3103 Accessibility_EditableText_insertText,
3104 Accessibility_EditableText_cutText,
3105 Accessibility_EditableText_deleteText,
3106 Accessibility_EditableText_pasteText):
3107 Made these methods return boolean to indicate
3110 * cspi/spi_editabletext.c:
3111 Made these methods return booleans.
3113 * libspi/selection.c:
3114 * libspi/component.c:
3115 * libspi/editabletext.c:
3116 Connected the boolean returns from ATK
3117 to the server-side code referenced above.
3119 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3121 * idl/Accessibility_Table.idl: Added missing methods,
3122 Accessibility_Table_addRowSelection,
3123 Accessibility_Table_addColumnSelection,
3124 Accessibility_Table_removeRowSelection,
3125 Accessibility_Table_removeColumnSelection.
3128 Added C wrappers for above IDL:
3129 AccessibleTable_addRowSelection,
3130 AccessibleTable_addColumnSelection,
3131 AccessibleTable_removeRowSelection,
3132 AccessibleTable_removeColumnSelection.
3135 Added server-side implementation code for IDL above, connecting
3136 to pre-existing ATK api.
3138 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3140 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3142 * libspi/accessible.c: Added implementation fo
3143 Accessibility_Accessible_get_state.
3145 * libspi/libspi.h: Added stateset.h to the list of includes.
3147 * libspi/stateset.c: Fixed broken implementation.
3149 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3152 Added implementation code for Accessibility_Magnifier_exit ().
3154 * util/mag_control.c:
3155 Added test code for above method; you can
3156 now kill an existing magnifier via
3157 ./mag_control q, from the util directory.
3159 * test/key-listener-test.c:
3161 Added a new test, for our key listener API.
3163 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3165 * test/app.c, test/keysynth-demo.c:
3167 Replace use of snprintf with g_snprintf.
3168 (fix for bugzilla 78249)
3170 2002-03-27 Michael Meeks <michael@ximian.com>
3174 * util/Makefile.am (INCLUDES): fix.
3175 (DONT_DIST_SOURCE): don't distribute the
3178 * libspi/Makefile.am (dist-hook): ditto.
3180 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3182 * libspi/hypertext.c:
3183 Fix warnings when yelp is used with atk-bridge
3185 2002-03-21 Michael Meeks <michael@ximian.com>
3187 * libspi/application.c (spi_application_new):
3188 use spi_accessible_construct so we use the AtkObject
3191 2002-03-19 Michael Meeks <michael@ximian.com>
3193 * registryd/registry.c (desktop_remove_application),
3194 (desktop_add_application): clean coding style.
3196 * registryd/desktop.c (spi_desktop_remove_application),
3197 (spi_desktop_add_application): kill re-enterency hazards.
3198 (spi_desktop_dispose): remove bogus redundant cast
3199 obscuring bug; fix bug too.
3200 (spi_desktop_init): make the desktop object immortal.
3202 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3205 Added a #define-guarded tree-traversal step
3206 when enumerating the apps (diagnostic tool).
3208 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3210 * idl/Accessibility_Role.idl:
3211 Added ROLE_DRAWING_AREA which seemed to be missing from the
3214 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3216 * cspi/spi-roletypes.h cspi/spi_accessible.c
3217 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3220 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3221 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3222 AT when applications are added and removed from the desktop. This
3223 reverts the previous broken implementation using the backing
3224 AtkObject for the SpiDesktop.
3226 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3228 * registryd/desktop.c: emit the "children-changed::add" and
3229 "children-changed::remove" signals on the backing ATK object for
3230 the desktop so AT can tell when applications are started and shut
3233 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3235 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3237 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3239 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3241 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3243 * cspi/state-types.h: synched with IDL and ATK
3245 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3247 * libspi/accessible.c
3248 (impl_accessibility_accessible_get_child_at_index):
3249 Change return value for g_return_if_fail ()
3250 to CORBA_OBJECT_NIL instead of "0" (!)
3252 * registryd/Makefile.am:
3253 * registryd/Accessibility_Register.server.in:
3254 Changed name of executable, "registryd",
3255 to something more informative:
3258 2002-03-13 Michael Meeks <michael@ximian.com>
3260 * atk-bridge/bridge.c (atk_bridge_init): don't register
3261 if we're in a bonobo-component, rather than a bonobo app.
3263 2002-03-13 Michael Meeks <michael@ximian.com>
3265 * atk-bridge/bridge.c (gtk_module_init): split
3266 out body to (atk_bridge_init): here, since otherwise
3267 we get symbol conflicts and oddness when invoked
3268 from (gnome_accessibility_module_init): here (upd.)
3270 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3273 New file. Explicitly allow "build sheriff" putbacks provided
3274 they are tested on Solaris.
3276 * docs/reference/cspi/Makefile.am:
3277 Added '-' to the "cp" command for index.sgml.
3278 ("patch by thomasvs, soon coming to a GUADEC near you")
3281 Incremented version number (0.9.0) for new release.
3282 Changed macro that checks for popt, to better detect
3283 obsolete versions of popt.
3286 Added X_LIBS to AC_SUBST, for applications
3287 that call Xlib API directly.
3290 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3293 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3296 Fix regression caused by hard-coding major
3297 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3300 * test/test-simple.c (test_editable_text),
3301 (test_test): revert previous change (error was
3302 a regression in gail which is now fixed).
3304 2002-03-04 Michael Meeks <michael@ximian.com>
3306 * test/test-simple.c (test_editable_text),
3307 (test_text): pass G_MAXINT instead of '-1' for
3308 whole string - is this a good thing !?
3310 * cspi/spi_accessible.c
3311 (Accessible_getRelationSet): fix crasher bug
3312 overwriting the end of the array.
3314 * test/test-simple.c (validate_accessible): free,
3315 not g_free returned relation set.
3317 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3319 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3320 implemented stateset support
3322 * idl/Accessibility_State.idl: Made necessary changes to
3323 the IDL to support state sets.
3325 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3327 * registryd/deviceeventcontroller.c:
3328 Added implementation for generateMouseEvent.
3330 * cspi/spi_registry.c:
3331 Connected new implementation for generateMouseEvent
3334 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3337 Incremented revision (but no change in public API
3338 outside of 'utils', which are not installed public yet.)
3340 * libspi/component.c:
3341 Changed to use atk_component API for layers and
3342 mdi_zorder, instead of deprecated atk_object API.
3344 Magnification Utility Enhancements:
3347 Added implementation of createZoomRegion, clearAllZoomRegions,
3348 resizeZoomRegion. Added new commandline argument
3349 "--no-initial-region". Note that clearAllZoomRegions doesn't
3350 unmap the old '0' region as it should (yet), and the other
3351 methods only work when creating/resizing a single region,
3352 which is "region 0".
3353 (Code for multiple region support will be added later.)
3356 Now we raise the magnifier window each time it's refreshed;
3357 this will help keep it on top.
3359 * util/mag_client.h:
3360 Added simple wrappers for above, used by mag_control.
3361 For general use, it's recommended to use the bonobo magnifier
3362 control API directly instead of using these wrappers.
3365 Moved ZoomRegionData from magnifier.c to this file.
3367 * util/mag_control.c:
3368 Added some code to exercise new IDL implementations.
3370 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3372 * libspi/text.c: Provide implementation for getAttributes.
3374 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3377 Incremented revision.
3379 * test/test-simple.c:
3380 Replaced use of deprecated g_main_iteration with
3381 g_main_context_iteration.
3383 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3386 Incremented revision for desktop alpha 2.
3388 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3390 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3393 * test/simple-at.c: include netinet/in.h.
3395 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3397 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3398 use NULL, not CORBA_OBJECT_NIL.
3400 * libspi/accessible.c:
3401 (impl_accessibility_accessible_get_relation_set):
3402 allocate the sequence correctly.
3404 * libspi/remoteobject.h: kill spi_remote_object_new.
3406 * test/test-simple.c: (validate_accessible): add code
3407 to test relation sets, now all we need is to figure
3408 out how to excercise this code path :/
3410 2002-01-18 Michael Meeks <michael@ximian.com>
3412 * test/test-simple.c
3413 (key_listener_cb): consume the key.
3414 (test_keylisteners): update.
3415 (main): wait for any pending unrefs on events.
3417 * registryd/deviceeventcontroller.c
3418 (spi_controller_update_key_grabs): only re-issue the
3419 grab on a key release.
3420 (spi_device_event_controller_forward_key_event):
3421 refresh the keygrabs before we notify the listeners,
3422 to reduce the X ungrab / re-grab race.
3423 (spi_controller_register_with_devices): remove
3424 XSelectInput - we do that with the gdk_window_ call.
3425 (_spi_controller_device_error_handler): return a value.
3426 s/GDK_DISPLAY/spi_get_display/
3428 2002-01-17 Michael Meeks <michael@ximian.com>
3430 * registryd/deviceeventcontroller.c
3431 (_deregister_keygrab): don't blow out the later
3434 * test/test-simple.c (test_keylisteners): do a
3435 more intelligent validation.
3437 2002-01-14 Michael Meeks <michael@ximian.com>
3439 * atk-bridge/bridge.c
3440 (gnome_accessibility_module_init),
3441 (gnome_accessibility_module_shutdown): impl.
3442 (gtk_module_init): protect vs. double inits.
3443 (add_signal_listener): impl.
3444 (spi_atk_bridge_state_event_listener): kill
3445 (deregister_application): split out of
3446 (spi_atk_bridge_exit_func): here.
3448 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3451 Added caret tracking when using magnifier, and
3452 now use text bounds for focus tracking of text elements, rather than
3453 the component bounds - this is helpful for short text fields in long
3454 table cells, at high magnification.
3456 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3458 * registryd/deviceeventcontroller.c:
3459 Regression fix for keylistener de-registration; global keygrabs
3460 were not being released when deregisterKeystrokeListener was
3461 called in cspi, since
3462 Accessibility_DeviceEventController_deregisterKeystrokeListener
3463 was called with a zero-length keyset. That is because the cspi
3464 method, SPI_deregisterKeystrokeListener, does not take a keyset
3465 parameter but instead should remove all the key grabs held be a
3467 The code in impl_deregister_keystroke_listener was changed to copy
3468 the keylist from the listener instance previously registered with
3469 the DeviceEventController before releasing the grabs.
3471 * registryd/registry.c:
3472 * registryd/deviceeventcontroller.c:
3473 * libspi/spi-private.h:
3475 Changed spelling of "re-enterant" to "re-entrant" globally.
3477 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3479 * test/test-simple.c:
3480 Changed key listeners test - the test was slightly mis-using the
3481 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3482 It now uses '=' as the key event listened to and generated,
3483 relying on a keysym match rather than assuming that keycode 33
3484 is always equal to keysym '!'.
3486 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3489 Changed simple-at to use a specific keyset, rather than
3490 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3491 manager, desktop, etc.
3493 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3495 * registryd/deviceeventcontroller.c:
3496 Replaced standard X error handler with a special handler that
3497 is non-fatal for failed keygrabs. This works around
3498 problems with keygrab clashes sometimes observed on
3500 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3501 mouse handling code as yet).
3503 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3506 Incremented revision for desktop alpha release.
3509 Fixed a couple of the more glaring errors (still not
3512 2002-01-11 Michael Meeks <michael@ximian.com>
3514 * registryd/deviceeventcontroller.c
3515 (spi_device_event_controller_forward_key_event): kill
3516 XUngrabKey / XKeyGrab race.
3517 (spi_controller_grab_keyboard): rename to
3518 (spi_controller_update_key_grabs): this, and deal
3519 with incremental adding / removing grabs more
3521 (_register_keygrab): ensure we're not pending a remove.
3522 (spi_grab_mask_free): impl.
3523 (spi_controller_register_global_keygrabs): split out
3525 (handle_keygrab): impl.
3526 (_deregister_keygrab): impl.
3527 (spi_controller_deregister_global_keygrabs): impl.
3528 (spi_controller_update_key_grabs): re-issue the grab if
3529 we just recieved a notification.
3531 * test/test-simple.c (key_listener_cb): remove debug.
3533 * registryd/deviceeventcontroller.c
3534 (spi_controller_register_device_listener): after
3535 registering a global keygrab, actualy register it !
3536 don't wait for a timeout; doh !
3538 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3539 to make it more readable / manipulable.
3540 s/grabmask/grab_mask/ s/refcount/ref_count/
3541 s/keyval/key_val/ s/modmask/mod_mask
3543 2002-01-08 Michael Meeks <michael@ximian.com>
3545 * registryd/deviceeventcontroller.c
3546 (spi_controller_register_with_devices): use gdk calls to
3548 (global_filter_fn): implement the filter.
3549 (spi_device_event_controller_check_key_event): rename to
3550 (spi_device_event_controller_forward_key_event): this & upd.
3551 (spi_get_display): replace with GDK_DISPLAY.
3553 * registryd/deviceeventcontroller.c
3554 (spi_controller_deregister_device_listener): unroll into
3555 (impl_deregister_keystroke_listener): here to simplify.
3556 (spi_controller_register_global_keygrabs): split cut and
3557 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3558 (spi_controller_deregister_device_listener): remove.
3559 (impl_register_mouse_listener): remove, no mouse listener
3560 support in at-spi-1.0
3562 * registryd/registry.c
3563 (_device_event_controller_hook): kill.
3564 (spi_registry_init): upd.
3566 * registryd/deviceeventcontroller.c
3567 (spi_device_event_controller_class_init): upd.
3568 (spi_check_key_event): merge into.
3569 (spi_device_event_controller_check_key_event):
3570 here and kill strange static ev init, don't leak
3571 the x_event - nor dynamicaly allocate it.
3573 * registryd/registry-main.c (main): re-direct
3574 timeout to remove strange vtable mess.
3576 * registryd/deviceeventcontroller.c
3577 (remove_listener_cb): impl.
3578 (spi_controller_deregister_device_listener):
3579 fix re-enterancy hazard.
3581 2002-01-07 Michael Meeks <michael@ximian.com>
3583 * registryd/deviceeventcontroller.c
3584 (spi_device_event_controller_new): upd.
3585 (impl_notify_listeners_sync): upd. debug.
3586 (spi_notify_keylisteners): fix re-enterancy hazards,
3587 prettify, remove O(n*n) iteration.
3588 (spi_controller_grab_keyboard): fix iteration.
3589 (spi_check_key_event): re-format to suit coding style.
3590 Clean all the warnings - we're warning free.
3592 * registryd/deviceeventcontroller.h:
3593 * registryd/registry.h: make mutualy referential with
3594 typesafe forward references instead of (!) void pointer
3597 2002-01-11 Michael Meeks <michael@ximian.com>
3599 * cspi/spi_accessible.c (role_names): add a role name
3600 to sync this array with the enum; and make the regression
3603 2002-01-10 Michael Meeks <michael@ximian.com>
3605 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3606 allow expansion of enumeration & kill warning.
3608 * test/test-simple.c (key_listener_cb): impl.
3609 (test_keylisteners): impl.
3611 * cspi/spi-listener.h: make listener signatures const
3612 on the provided (const) events.
3614 * test/keysynth-demo.c: upd. to const events.
3616 * test/simple-at.c: ditto.
3618 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3621 Rev the version to 0.5 (the previous tarball was named 0.4,
3622 even though the micro number was 3), so we need to rev upwards
3623 again for beta2/"desktop-alpha"
3626 Checked in a demo script, which requires editing before use!
3627 Proceed with caution.
3630 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3632 * cspi/spi_accessible.c:
3633 Add a couple of missing enum initializations, and fix some enum
3636 * cspi/spi_registry.c:
3637 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3639 * docs/reference/cspi/at-spi-cspi-sections.txt:
3640 Remove/fix a couple of broken document references.
3643 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3644 as Alt-Control to listen for commands, since on some systems
3645 Control-Alt may already be grabbed.
3647 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3650 Update version number to 0.4 for Beta2.
3652 * libspi/accessible.c, libspi/accessible.h:
3653 Expose spi_accessible_construct, to enable libgail-gnome
3654 construction from spi_accessible subtype.
3656 * utils/magnifier.c:
3657 Workaround for bug in some non-gnome-compliant window managers
3658 which made magnifier resize improperly.
3660 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3662 * libspi/accessible.c: (spi_accessible_new) :
3663 Move the test for SPI_IS_REMOTE_OBJECT to
3664 spi_accessible_new_return, fixing a bug and compile time warning.
3666 2002-01-08 Michael Meeks <michael@ximian.com>
3668 * registryd/registry.c (parse_event_type): remove strndup.
3670 * libspi/Makefile.am (libspi_la_SOURCES): remove
3671 sources already included in the headers section.
3673 * libspi/util.c: add.
3675 * libspi/spi-private.h: add.
3677 * registryd/registry.c: update to moved list iterators.
3679 2002-01-05 Michael Meeks <michael@ximian.com>
3681 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3683 * test/test-simple.c (main): ditto.
3685 2002-01-04 Michael Meeks <michael@ximian.com>
3687 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3688 redundant construct.
3690 * registryd/registry.c
3691 (get_listener_list): impl.
3692 (impl_accessibility_registry_register_global_event_listener):
3693 re-impl. to simplify using ~, remove dodgy const cast off.
3694 (parse_event_type): constify.
3695 (impl_accessibility_registry_deregister_global_event_listener_all):
3696 re-write, more efficiency and simplicity, kill re-enterancy
3698 (compare_listener_corbaref, compare_corba_objects),
3699 (compare_listener_quarks): define out.
3700 (impl_accessibility_registry_deregister_global_event_listener):
3701 re-write for effiency, and nail re-enterancy hazard.
3702 (impl_accessibility_registry_get_desktop_list): impl.
3703 (re_enterant_list_delete_link): impl.
3704 (re_enterant_list_foreach): impl.
3705 (remove_listener_cb): impl.
3706 (_registry_notify_listeners): kill.
3707 (notify_listeners_cb): impl.
3709 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3710 (SPI_getDesktopList): impl.
3712 * test/test-simple.c (test_desktop): test the methods.
3714 2002-01-03 Michael Meeks <michael@ximian.com>
3716 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3717 keystrings since we free them
3718 (SPI_freeAccessibleKeySet): in here.
3720 * libspi/accessible.c (spi_accessible_new): kill warning,
3721 wonder what is going on with the constructor here.
3723 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3725 * libspi/accessible.c (spi_accessible_new ()) :
3726 Added check to see if AtkObject is an SpiRemoteObject before
3727 creating an SpiAccessible.
3729 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3731 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3732 Enable keygrabs using the Control modifier, now that they are
3733 working properly (they were previously disabled).
3736 Change the command keygrab for this demo to "Control+Alt", so as
3737 to conflict with fewer other key commands on the system; this
3738 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3740 Removed a pointlessly-chatty keylistener for unshifted keys
3741 (shifted keys are still reported).
3743 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3745 * libspi/remoteobject.h:
3746 * libspi/remoteobject.c:
3747 Added definitions for special AtkObject subtype, required for
3748 support of remote components (specifically, used by BonoboControl
3749 accessibility implementation).
3751 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3753 * cspi/spi.h: synched relation types with ATK
3755 * cspi/spi_accessible.c: Added implementations of
3756 AcccessibleRelation_* methods
3758 * idl/Accessibility_Relation.idl: added getRelationTypeName
3759 method. Synched known relation types with ATK. Allowed for
3760 relation type extension with the RELATION_EXTENDED type.
3762 * libspi/relation.c: Provided implementations for
3763 AccessibleRelation methods.
3765 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3767 API tweaks for today's API 'freeze'.
3770 Added placeholder functions to allow future compatible expansion
3771 of the IDL interfaces.
3773 * idl/Accessibility_Registry.idl:
3774 Changed generateKeyEvent to generateKeyboardEvent. Changed
3775 signature of this method to accept an optional keystring in
3776 parameter (for complex text input synthesis) and changed use of
3777 simple 'boolean' parameter in registerKeystrokeListener to a
3778 struct, EventListenerMode.
3780 * cspi/spi_accessible.c:
3782 * cspi/spi_streamablecontent.c:
3783 Added references to AccessibleStreamableContent interface, and
3784 definition and implementation of AccessibleStreamableContent
3787 * cspi/spi_registry.c:
3789 Changed generateKeyEvent API to generateKeyboardEvent,
3790 taking a new (optional) keystring parameter to support complex
3795 Renamed directory (to better reflect its actual purpose, bridging
3796 from at-spi to ATK). The .so module is also now named
3799 * idl/Accessibility_Hypertext.idl:
3800 * libspi/accessible.c:
3801 * libspi/hypertext.h:
3802 * libspi/hypertext.c:
3803 Changed Accessibility_Hypertext to *not* derive from
3806 * cspi/spi_registry.c:
3807 Added list of legal event type names for 'window' events, which
3808 completes the registry event API.
3810 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3812 * at-bridge/bridge.c: Added registration for separate
3813 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3814 signals. If either of the first two parameters to the generic
3815 bridge signal handler are ints, they are passed on as event
3816 details. This allows an AT to determine what text was inserted.
3818 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3820 * registryd/deviceeventcontroller.c:
3821 Fixed regressions in generateKeyEvent caused by the removal of
3822 gdk_init from registryd; we now use pure X calls to connect to the
3823 display, which makes sense because deviceeventcontroller already
3824 uses a fair bit of X API (should eventually be migrated to a
3825 'portability layer').
3827 * registryd/desktop.c:
3828 Fixed minor regression in spi_desktop_init, changed the way the
3829 desktop name is being set to work with new spi_base API
3830 (gobject-based, rather than AtkObject-based).
3832 * registryd/Makefile.am:
3833 Minor revision of makefile to use XTST_LIBS variable rather than
3834 hard-wiring the Xtst LD_ADD element.
3836 * test/keysynth-demo.c:
3837 Tweaked an output message; added initialization of the
3838 'keystrings' member of the "switch listener" key_set.
3840 * libspi/relation.c:
3841 Squashed compile-time warning.
3843 * libspi/accessible.c:
3844 Cosmetic and formatting fixes, renamed a static method.
3846 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3848 * libspi/accessible.c
3850 * libspi/application.c
3853 * libspi/component.c
3854 * libspi/editabletext.c
3855 * libspi/hyperlink.c
3856 * libspi/hypertext.c
3858 * libspi/selection.c
3862 * registryd/desktop.c:
3863 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3865 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3867 * idl/Accessibility_Registry.idl:
3868 Added boolean member 'is_text' to DeviceEvent. This is for the
3869 use of key events, and helps prevent ambiguity between composed
3870 key strings and keysym names, since both may potentially be
3871 returned in the 'event_string' member.
3873 * at-bridge/bridge.c:
3874 * registryd/deviceeventcontroller.c:
3875 Use the 'is_text' member when notifying device event listeners.
3876 Knon issue: composed characters are not dealt with correctly by
3877 the global key listener implementation yet.
3879 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3881 * at-bridge/bridge.c:
3882 Namespaced local static methods to spi_atk_bridge_* where
3883 previously named bridge_*, and spi_* elsewhere.
3885 * at-bridge/bridge.c:
3886 * cspi/bonobo/cspi-bonobo-listener.c:
3887 Added demarshalling/conversion for string member of
3888 Accessibility_DeviceEvent to AccessibleKeystroke.
3890 * registryd/deviceeventcontroller.c:
3891 Added code to fill the Accessibility_DeviceEvent key string value
3892 member for global key events (i.e. from XGrabKey), to match
3893 behavior of Accessibility_DeviceEvent from the toolkit key events
3894 from the bridge. Fixed timestamp in global key event notifications.
3897 Added printout of key event's string value to
3898 report_ordinary_key_event, for demo/debugging purposes.
3900 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3902 * idl/Accessibility_Registry.idl:
3903 Removed Accessibility_KeyStroke structure in favor of generic
3904 Accessibility_DeviceEvent structure.
3905 Changed Accessibility_ControllerEventMask from a struct to an
3908 * at-bridge/bridge.c:
3909 Changed APIs to use DeviceEvent structure as above, and removed
3910 bogus casting between these event structures.
3912 * cspi/spi-listener.h:
3913 Added keystring member of AccessibleKeystroke structure, to enable
3914 matching on event "names" rather than only hardware codes and
3918 Added keystrings member of AccessibleKeySet struct, to allow
3919 matching on event names (as above).
3920 Added declarations for SPI_createAccessibleKeySet and
3921 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3922 event modmasks directly as unsigned ints rather than structs with
3923 refcounts, in the DeviceEventController methods.
3925 * cspi/spi_registry.c:
3926 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3928 * cspi/spi-roletypes.h:
3929 Added documentation of newly added SPI Roles.
3931 * cspi/bonobo/cspi-bonobo-listener.c:
3932 Changes in support of API changes above.
3934 * libspi/accessible.c:
3935 Converted APIs to use DeviceEvent structure (see IDL changes
3938 * registryd/deviceeventcontroller.c:
3939 Added DEControllerGrabMask structure to track keygrabs not only by
3940 modmask but by keyset as well; this allows us to do "global"
3941 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3942 grabbing on AnyKey and then filtering after-the-fact.
3943 Bugfixes for event filtration mean that we don't get false matches
3944 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3946 * registryd/deviceeventcontroller.c:
3947 Namespaced a number of static methods to use spi_ prefix. Major
3948 revision to internals of global (i.e. X) key grabs.
3950 * registryd/deviceeventcontroller.h:
3951 Removed keymask_list and added keygrabs_list to
3952 SpiDeviceEventController struct.
3955 Added use of SPI_createAccessibleKeySet API when creating a
3956 listener for only one key. Attach a listener to "shift spacebar
3957 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3958 X key event names to SPI key event names, so that listeners are
3959 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3961 * test/keysynth-demo.c:
3962 Changed (incorrect) use of X key event names (KeyPressed,
3963 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3966 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3968 * libspi/accessible.c:
3969 Convert all AtkRole enumerations to Accessibility_Role enums when
3970 getting a role from an AtkObject.
3972 * cspi/spi_accessible.c:
3973 Complete the conversion of Accessibility_Role enums at runtime to
3974 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3975 role enums correctly match those given in spi-roletypes.h.
3976 Re-synchronize the local names list for AccessibleRole_getName ().
3977 AccessibleRole_getName is now deprecated, since it duplicates the
3978 more reliable Accessible_getRoleName.
3979 Added some role types from Accessibility_Role.idl.
3981 * idl/Accessibility_Role.idl:
3982 Added some role types used by AtkRole.
3984 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3987 * cspi/spi_registry.c:
3989 * cspi/cspi-bonobo-listener.c:
3990 Namespaced all methods that did not begin with an "SPI_" or
3991 "Accessible" prefix to "SPI_".
3994 Homogenized internal function namespace to "cspi_" for statics.
3997 Patched tests to use the new CSPI API.
3999 * docs/reference/cspi/at-spi-cspi-sections.txt:
4000 Updated docs to reflect namespace changes, and added a number of
4001 methods to the documentation.
4003 * registryd/registry.c:
4004 Changed use of strings and string hashes in listener event
4005 matching and parse_event_string to use GQuark, which is guaranteed
4008 * registryd/registry.h:
4009 Squashed annoying warning.
4011 * idl/Accessibility_Role.idl:
4012 Extended range of available Accessibility_Role values.
4014 * cspi/spi_accessible.c:
4015 Re-ordered role names.
4017 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4019 * idl/Accessibility_Value.idl:
4020 Revert use of union back to CORBA_double, since the double type is
4021 more efficient and can contain the other types without loss of
4024 * idl/Accessibility_Accessible.idl:
4025 Added method Accessibility:Accessible:getRoleName, to complement
4026 Accessibility:Accessible:getRole.
4028 * cspi/spi_accessible.c:
4030 Added C binding for above, Accessible_getRoleName (), and changed
4031 signature of Accessible_getRole () to return an AccessibleRole.
4033 * cspi/spi-roletypes.h:
4034 Changed AccessibleRole_getName to return a char * instead of a
4035 const char *. This method is now at least temporarily deprecated
4036 in favor of asking Accessibles for their RoleNames directly.
4039 Revert to match Accessibility_Value.idl;
4043 Change signature of AccessibleValue methods to use double rather
4047 * cspi/spi_accessible.c:
4048 Changed Accessible_getRole to return an AccessibleRole enum rather
4049 than a UTF-8 string. The UTF-8 string can still be obtained via
4050 AccessibleRole_getName ().
4052 * test/test-simple.c:
4053 Add test_action. Small fixup to match API change to Accessible_getRole.
4056 Bugfix for get_action_from_servant ().
4058 2001-12-11 Michael Meeks <michael@ximian.com>
4060 * libspi/libspi.h: remove registry.h and
4061 desktop.h, deviceeventcontroller.h
4063 * libspi/Makefile.am: remove registry.[ch],
4064 desktop.[ch], deviceeventcontroller.[ch]
4066 * registryd/Makefile.am: add registry.[ch],
4067 desktop.[ch], rename registryd.c to registry-main.c.
4068 add deviceeventcontroller.[ch]
4070 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4073 Replace setenv() call with putenv ().
4075 * libspi/component.c:
4076 Bugfix in AccessibleComponent_getExtents (),
4079 2001-12-11 Michael Meeks <michael@ximian.com>
4081 * libspi/image.c (impl_getImageExtents): impl.
4082 (spi_image_class_init): upd.
4085 (AccessibleImage_getImageDescription): fix daft bug
4088 * test/test-simple.c (global_listener_cb): update
4089 to only quit if not --poke
4090 (main): catch --poke.
4091 (validate_accessible): upd. dumping, call test_image
4094 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4097 * idl/Accessibility.idl: update all IDL includes.
4099 * idl/*.idl - rename to namespace - this sucks, blame
4100 mjs' bad decision for oafd.
4102 * test/test-simple.c (create_test_window): add more tests.
4103 (create_tree): split this out.
4104 (validate_accessible): bugfix.
4106 2001-12-11 Michael Meeks <michael@ximian.com>
4108 * cspi/bonobo/cspi-bonobo-listener.c:
4109 (cspi_kestroke_listener_unref),
4110 (cspi_event_listener_unref): impl. undoing previous
4111 homenous environment - for Bill.
4113 * cspi/spi_table.c (long_seq_to_array): use
4116 * cspi/spi_main.c: split out all bonoboish bits into
4119 * cspi/spi-impl.h: upd. typedefs.
4121 * cspi/spi_registry.c: update to lowlevel API,
4122 return booleans to indicate success in some places.
4124 * cspi/spi_event.c: update to lowlevel API.
4126 * cspi/bonobo/Makefile.am: add.
4128 * cspi/bonobo/cspi-lowlevel.h: add
4130 * cspi/bonobo/cspi-bonobo.c: add
4132 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4134 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4135 (SUBDIRS): add bonobo, link in the libs.
4137 * cspi/spi-util.c: kill this file.
4139 * TODO: merge in my bits.
4141 2001-12-11 Michael Meeks <michael@ximian.com>
4143 * test/test-simple.c (test_value, test_table, main):
4144 remove unused variables causing warnings.
4146 * configure.in: cleanup checks - require gail.
4148 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4151 Changed Value interface to use SValue (scalars) rather than
4152 assuming all values are floats. This allows floats, doubles,
4153 longs, shorts, and unsigned values to be manipulated.
4154 Introduced Accessibility:SValue union.
4157 Updated to use new API above, and to work correctly with GValues
4158 of different types in AtkValue.
4161 Updated to use new API above. cspi's API is as yet unchanged.
4164 Updated the Value revision action item.
4166 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4168 * test/test-simple.c:
4169 Added test_table (GtkTreeView widget in test window to follow).
4170 Un-commented test_value, added GtkRange widget.
4171 Added GtkTreeView widget with GtkListStore. It passes regression
4172 test but leaks one SPI object for some reason.
4175 Fixed bug in impl__set_currentValue.
4177 2001-12-10 Michael Meeks <michael@ximian.com>
4179 * cspi/spi_text.c: audit for exception handling,
4180 tolerating NULL object references safely etc.
4182 * cspi/spi_value.c: ditto.
4184 * cspi/spi_table.c (AccessibleTable_getSummary),
4185 (AccessibleTable_getAccessibleAt),
4186 (AccessibleTable_getRowHeader),
4187 (AccessibleTable_getColumnHeader),
4188 (AccessibleTable_getCaption): fix bugs hidden by
4190 (long_seq_to_array): impl.
4191 (AccessibleTable_getSelectedRows),
4192 (AccessibleTable_getSelectedColumns): use it.
4194 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4197 Added a TODO list (rough and short for now).
4199 * cspi/spi_hyperlink.c:
4200 * cspi/spi_hypertext.c:
4201 Fixed macro name typos, and remove use of obsolete macro in
4202 AccessibleHyperlink_getLink.
4204 * cspi/spi_action.c:
4205 * cspi/spi_accessible.c:
4206 * cspi/spi_application.c:
4207 * cspi/spi_component.c:
4208 * cspi/spi_selection.c:
4211 Documentation fixes (removed return values from ref/unref methods).
4213 2001-12-10 Michael Meeks <michael@ximian.com>
4215 * cspi/spi_action.c: audit for exception handling,
4216 tolerating NULL object references safely etc.
4218 * cspi/spi_accessible.c: ditto.
4220 * cspi/spi_component.c: ditto.
4222 * cspi/spi_editabletext.c: ditto.
4224 * cspi/spi_hyperlink.c: ditto.
4226 * cspi/spi_hypertext.c: ditto.
4228 * cspi/spi_image.c: ditto.
4230 * cspi/spi_selection.c: ditto.
4232 2001-12-10 Michael Meeks <michael@ximian.com>
4234 * configure.in: use cspi/libspi.pc.in instead.
4236 * Makefile.am (pkgconfig_DATA): upd. to match.
4238 * test/simple-at.c (report_focus_event): kill hacks around
4239 bad return values, use putenv not setenv
4241 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4242 fire ChildGone - I killed it.
4244 * libspi/component.c
4245 (impl_accessibility_component_get_extents): remove
4248 * idl/Accessible.idl: kill ChildGone exception.
4250 * cspi/*.[ch]: kill int return from ref / unref.
4252 * cspi/spi_main.c (cspi_object_add_check): fold into
4253 (cspi_object_add): here.
4255 * cspi/spi_component.c (AccessibleComponent_getExtents):
4256 handle exceptions elegantly.
4258 * cspi/spi-private.h (cspi_check_ev_return),
4259 (cspi_return_if_fail): impl.
4261 * cspi/spi_accessible.c: use extensively.
4262 (AccessibleStateSet_equals): add direct compare check.
4264 * cspi/spi_selection.c: tolerate NULL objs, and check
4265 exceptions before return.
4267 * cspi/spi-util.c (cspi_warn_ev): rename to
4268 (cspi_check_ev): this & don't pass ev in; no point.
4270 2001-12-10 Michael Meeks <michael@ximian.com>
4272 * test/test-simple.c: use putenv not setenv
4273 (get_environment_vars): more chatty if you're not using
4276 * test/simple-at.c: do the setenv so more people see the
4279 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4281 * libspi/registry.c:
4282 Changed check of CORBA_environment on notification to be a warning
4283 instead of an error for the moment, since we can recover from this
4284 error when caused by a queued notification from a dead app.
4287 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4288 used by all current implementors of AtkValue), and coerce to
4289 CORBA_float. (Proper general case fix may require change to Value.idl).
4291 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4295 * cspi/spi_accessible.c:
4296 Documentation fixes: added user_data params to documentation for
4297 listeners and callbacks.
4299 * cspi/spi_accessible.c:
4300 Changed AccessibleStateSet_compare to return a
4301 StateSet rather than return the difference set into a third parameter.
4304 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4307 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4308 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4312 Remove subdirectory po from SUBDIRS for now.
4314 * at-bridge/bridge.c:
4315 Beefed up a couple of debug printouts.
4316 One-line fix for signal notification name formatting.
4318 * libspi/accessible.c:
4319 Added assertion to spi_accessible_new ().
4321 * libspi/application.c:
4322 Put #ifdef qualifiers around a printf.
4325 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4327 * registryd/Makefile.am:
4329 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4330 INTLTOOL_SERVER_RULE macro.
4333 Added an event listener for several ATK signals, for
4334 testing and debugging. Removed a few g_warnings.
4335 Added test output if focussed item implements the Value interface.
4337 * test/test-simple.c:
4338 Added test_value () function (known not to pass at the moment, so
4339 not actually called yet.
4341 2001-12-08 Michael Meeks <michael@ximian.com>
4343 * at-bridge/bridge.c (bridge_focus_tracker),
4344 (emit_eventv): fix the same ref. leak.
4345 (register_atk_event_listeners): don't leak.
4347 * cspi/spi-listener-impl.c (cspi_event): more
4348 protection from client code.
4350 * test/test-simple.c (test_desktop): unref the app.
4352 * test/Makefile.am: upd. TESTS.
4354 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4356 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4358 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4360 * cspi/spi_registry.c: constify in strings.
4361 (deregisterGlobalEventListenerAll): don't release the ref.
4363 * cspi/spi.h: start removing redundant / conflicting
4364 gtkdoc comments, making the API readable at a glance :-)
4366 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4368 * test/keysynth-demo.c (keysynth_exit, main): upd.
4370 * test/simple-at.c (main, simple_at_exit): upd.
4372 * test/test-simple.c (unutterable_horror): kill.
4373 (utterable_normal_derefs): kill.
4374 (main): upd & do a setenv before gtk_init, so that we
4375 can use memprof - and to save the pain of remembering
4376 this, if we're running under memprof - don't exit.
4378 * cspi/spi_main.c (SPI_exit): return exit status
4380 (SPI_event_quit): impl.
4381 (SPI_event_main): simplify.
4382 (cspi_is_gnome_app): kill.
4383 (SPI_init): kill isGNOMEapp arg.
4385 * at-bridge/bridge.c (register_atk_event_listeners):
4386 re-instate the unref.
4387 (bridge_exit_func): don't re-activate the registry,
4388 protect vs. theoretical re-entry, use the
4389 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4390 assert a clean shutdown - for regression tests.
4392 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4394 * configure.in: Comment out dummy i18n support for now,
4395 otherwise it fails to build.
4396 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4397 EXTRA_DIST. They are missing in tarball.
4399 2001-12-07 Michael Meeks <michael@ximian.com>
4401 * util/magnifier.c: kill bonobo activation reg. race.
4403 * libspi/component.c
4404 (impl_accessibility_component_get_extents): make it match
4407 * libspi/registry.c (_registry_notify_listeners):
4408 re-remove X headers & reconcile conflicts.
4409 (spi_listener_struct_free): bad conflict resolve.
4410 (impl_accessibility_registry_register_application):
4411 more bad merging fixed.
4412 (impl_accessibility_registry_deregister_application): ditto.
4413 (spi_registry_new): ditto.
4414 (spi_registry_init): don't have an applications field.
4416 [ merge fixups2 branch to here ]
4417 2001-12-07 Michael Meeks <michael@ximian.com>
4419 * test/simple-at.c (report_focus_event),
4420 (report_focussed_accessible): remove g_warning debug.
4422 2001-12-07 Michael Meeks <michael@ximian.com>
4424 * test/test-simple.c (validate_tree): comment out some checks.
4425 (test_desktop): app now not registered idly - horay.
4427 2001-12-07 Michael Meeks <michael@ximian.com>
4429 * cspi/spi_registry.c
4430 (registerAccessibleKeystrokeListener): clean, stop it leaking
4431 great swathes of memory, and device event controller references.
4432 ensure we always pass valid sequences.
4433 (deregisterAccessibleKeystrokeListener): ditto.
4434 (generateKeyEvent): upd.
4436 * at-bridge/bridge.c (bridge_key_listener): handle
4437 registry dead exception gracefully.
4438 (bridge_focus_tracker, emit_eventv): free ev.
4440 * test/simple-at.c (report_focus_event): fix polarity.
4442 * libspi/application.c (notify_listeners): kill the ev
4443 argument, and make sure we init the ev we use.
4444 (spi_application_object_event_listener): split out a chunk
4445 (get_atk_object_ref): here & fixup.
4446 (reverse_lookup_name_for_toolkit_event): make const.
4447 (spi_application_toolkit_event_listener): fixup, kill leaks
4450 * at-bridge/bridge.c (register_atk_event_listeners):
4451 don't unref the noop object - causes grief.
4453 * libspi/registry.c: remove the X headers.
4454 turn off the debug churn.
4456 * libspi/accessible.c (spi_accessible_new_return): only
4457 release the ref if we are supposed to [doh]
4459 * test/simple-at.c (report_button_press, report_focus_event):
4460 guard vs. unexpected exit.
4462 * at-bridge/bridge.c (gtk_module_init): prune printf.
4463 (bridge_exit_func): fix app unref.
4465 * libspi/Makefile.am: don't install registry or desktop.h
4467 * libspi/*.h: update includes.
4469 * libspi/application.h: don't include ourself, or
4470 other redundant headers.
4472 2001-12-06 Michael Meeks <michael@ximian.com>
4474 * libspi/accessible.c
4475 (get_accessible_from_servant): impl.
4476 Upd. all CORBA impl.s to use it killing cut and paste.
4478 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4480 (SPI_init): register atexit cleanup handler here.
4482 2001-12-06 Michael Meeks <michael@ximian.com>
4484 * at-bridge/bridge.c (gtk_module_init): g_error on
4485 activation exception
4487 2001-12-06 Michael Meeks <michael@ximian.com>
4489 * at-bridge/bridge.c (gtk_module_init): some sort of
4490 confusing merge clash - reverted.
4491 (bridge_idle_init): ditto.
4493 * test/test-simple.c (main, utterable_normal_derefs):
4494 merge from Bill - somehow not committed.
4496 2001-12-06 Michael Meeks <michael@ximian.com>
4498 * libspi/value.c (spi_value_class_init): upd.
4499 (spi_value_finalize): kill.
4501 * libspi/table.c (spi_table_finalize): kill.
4502 (spi_table_interface_new): upd.
4503 (spi_table_class_init): upd.
4504 (get_table_from_servant): impl.
4505 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4507 * libspi/selection.c (spi_selection_finalize): kill.
4508 (spi_selection_interface_new): upd.
4509 (spi_selection_class_init): upd.
4510 (get_selection_from_servant): impl.
4511 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4513 * libspi/relation.c (spi_relation_finalize): kill.
4514 (spi_relation_class_init, spi_relation_new): upd
4516 * libspi/image.c (spi_image_finalize): kill.
4517 (spi_image_class_init): upd.
4518 (spi_image_interface_new): upd.
4519 (get_image_from_servant): impl.
4520 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4522 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4523 (spi_hyperlink_finalize): kill.
4524 (spi_hyperlink_new): upd.
4525 (get_hyperlink_from_servant): impl.
4526 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4528 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4529 (spi_hypertext_finalize): kill.
4530 (spi_hypertext_class_init): upd.
4531 (get_hypertext_from_servant): impl.
4532 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4534 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4535 (spi_editable_text_interface_new): upd.
4536 (get_editable_text_from_servant): impl.
4537 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4539 * libspi/text.c (get_text_from_servant): impl.
4540 All impls - update to use it killing more cut and paste,
4541 also fix bad string returns on duff args ( a somewhat
4542 impossible case to handle - but hey ).
4543 (spi_text_construct): impl.
4544 (spi_text_interface_new): upd.
4545 (spi_text_object_finalize): kill.
4547 * libspi/component.c
4548 (accessibility_component_object_finalize): kill.
4549 (spi_component_class_init): upd.
4550 (get_component_from_servant): impl. helper to kill cut & paste.
4551 (impl_accessibility_component_contains):
4552 (impl_accessibility_component_get_accessible_at_point):
4553 (impl_accessibility_component_get_position):
4554 (impl_accessibility_component_get_extents):
4555 (impl_accessibility_component_get_mdi_z_order):
4556 (impl_accessibility_component_get_layer):
4557 (spi_component_interface_new): upd.
4559 * libspi/action.c (spi_action_finalize): kill.
4560 (spi_action_class_init): upd. inherit from SpiObject.
4561 (spi_action_interface_new): upd.
4562 (get_action_from_servant): impl. helper to reduce cut & paste.
4563 (impl_getKeyBinding, impl_getName, impl_doAction),
4564 (impl_getDescription): Use it everywhere.
4566 * cspi/spi_main.c (get_live_refs): a pointer hash.
4567 (spi_object_hash, spi_object_equal): comment out.
4568 There are issues with CORBA object hashing that need
4571 * libspi/application.c (spi_application_init),
4572 (spi_application_new): upd.
4574 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4575 (spi_accessible_class_init): upd.
4576 s/accessible/object/ in epv methods.
4578 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4580 * at-bridge/bridge.c:
4581 Reorder the bridge initialization into the bridge gtk_module_init,
4582 an immediate call to bridge_register_app, and an idle_add for
4583 register_atk_event_listeners (the only code that *must* wait until
4584 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4585 the activation, creates the application's Accessible object, and
4586 queues the bridge_idle_init function. Restored call to
4587 Accessibility_Registry_deregisterApplication().
4588 Prior to making this call we obtain a new reference to the
4589 registry, which is a temporary hack that helps us handle apps that
4590 shut down the bonobo mainloop before we get there.
4592 * libspi/registry.c:
4593 Fix string leakage in debug block, and don't segv if a an app
4594 dies before its event notifications have been propagated.
4597 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4598 as stopgap measure until we get proper exception handling when
4599 objects die during or before interrogation.
4603 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4604 Also changed default value of is_gnome_app to TRUE.
4607 * test/keysynth-demo.c:
4608 Changed use of SPI_init and SPI_event_main to reflect API change above.
4611 Made report_focus_event check the warning value from getName
4612 before reporting on focussed accessible; simplifies handling of
4613 notifications from dead objects.
4615 * test/test-simple.c: (Changes not in this patch since source is
4618 2001-12-05 Michael Meeks <michael@ximian.com>
4620 * registryd/registryd.c (main): protect against
4621 bonobo-activation startup race condition.
4623 * cspi/spi_main.c (cspi_object_add_check): cope
4624 with the exception elegantly.
4626 * idl/Accessible.idl: decl. ChildGone
4628 * libspi/desktop.c (spi_desktop_dispose): impl.
4629 (spi_desktop_class_init): upd.
4630 (spi_desktop_add_application),
4631 (spi_desktop_remove_application),
4632 (abnormal_application_termination): impl.
4633 (impl_desktop_get_child_at_index): re-impl.
4636 (impl_accessibility_registry_deregister_application),
4637 (impl_accessibility_registry_register_application):
4638 kill excessive debug clutter.
4640 * test/test-simple.c (test_misc): test some NULL
4641 tolerance. (main): upd.
4643 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4644 implements no interfaces - so let's not crash.
4646 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4648 * libspi/accessible.c (spi_accessible_new_return): impl.
4649 helper to calm the cut and paste, to cope with
4650 NULL AtkObjects effectively and efficiently, and to kill
4651 the referencing bugs.
4653 * libspi/table.c (impl_getAccessibleAt),
4654 (impl_getRowHeader, impl_getColumnHeader): upd.
4656 * libspi/hyperlink.c (impl_getObject): upd.
4658 * libspi/accessible.c
4659 (impl_accessibility_accessible_get_child_at_index): upd.
4661 * libspi/component.c
4662 (impl_accessibility_component_get_accessible_at_point): upd.
4664 * test/test-simple.c (test_editable_text, test_text): impl.
4667 * cspi/spi_editabletext.c
4668 (AccessibleEditableText_insertText): constify.
4670 * test/test-simple.c (focus_me): make more robust.
4672 * libspi/accessible.c: remove some printfs in methods that
4673 we test and work fine, so we can get a clean tree dump.
4675 * test/test-simple.c (validate_accessible),
4676 (validate_tree): make tree dumping pretty too.
4678 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4679 it builds without debug on.
4681 * test/test-simple.c (validate_accessible): fix the most
4684 * cspi/spi_main.c (spi_object_release): leave the nicely
4685 blanked memory around if in debug mode.
4687 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4689 [committed to fixups2]
4690 2001-12-05 Michael Meeks <michael@ximian.com>
4692 * libspi/editabletext.c
4693 (spi_editable_text_class_init): g_type_class_peek_parent,
4694 not interface peek - so we finalize cleanly.
4696 * libspi/accessible.c (spi_accessible_new): kill debug.
4698 * test/test-simple.c (validate_accessible): fix ref.
4699 leak, print strings before freeing them; sigh, comment a
4700 chunk out due to strangeness.
4701 (validate_tree): unref the child after use.
4703 * cspi/spi_component.c (AccessibleComponent_getLayer):
4704 add missing break statement, switch on zlayer not the
4705 uninitialized retval.
4707 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4708 before (possibly re-entering) remote unref.
4710 * test/simple-at.c (main): unref the desktop.
4712 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4715 * cspi/spi_main.c (cspi_accessible_is_a): here to
4716 isolate bonobo API usage more.
4718 * libspi/registry.c (impl_accessibility_registry_register_application):
4719 prune bogus comment.
4721 2001-12-04 Michael Meeks <michael@ximian.com>
4723 * test/test-simple.c (validate_tree): upd.
4724 IndexInParent check to make it more lucid.
4725 (validate_accessible): dump the tree.
4727 * libspi/accessible.c (de_register_public_ref),
4728 (get_public_refs): impl.
4729 (spi_accessible_new): make more efficient & intuitive.
4730 Now IndexInParent check works.
4732 2001-12-04 Michael Meeks <michael@ximian.com>
4734 * cspi/spi-util.h: remove.
4736 * cspi/spi.h: move SPI_freeString here
4738 * libspi/component.c (impl_accessibility_component_get_layer):
4740 (impl_accessibility_component_get_mdi_z_order): ditto,
4741 return -1 on error - is this ok ?
4743 * test/test-simple.c (test_application): impl.
4745 * cspi/spi_accessible.c (Accessible_getApplication),
4746 (Accessible_isApplication): impl.
4748 * libspi/registry.c (spi_listener_struct_free): release
4749 the CORBA reference too.
4751 * libspi/accessible.c
4752 (impl_accessibility_accessible_get_parent): fix ref leak.
4754 * libspi/registry.c (spi_registry_new): make the registry
4755 immortal - we don't want it to go away ever.
4757 * libspi/application.c
4758 (spi_accessible_application_finalize): impl. cleanup.
4760 * cspi/spi_registry.c
4761 (deregisterGlobalEventListenerAll),
4762 (deregisterGlobalEventListener),
4763 (deregisterAccessibleKeystrokeListener): fix ref leak.
4765 * cspi/spi_main.c (SPI_init): remove redundant ref.
4767 * test/test-simple.c (unutterable_horror): impl. to force a
4772 (impl_accessibility_registry_deregister_application): release
4773 the application when we de-register it.
4775 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4776 until we have the infastructure to get it right.
4778 2001-12-03 Michael Meeks <michael@ximian.com>
4780 * libspi/Makefile.am: only build eventlistener.[ch]
4782 * libspi/accessible.c
4783 (impl_accessibility_accessible_get_child_at_index): don't leak.
4785 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4786 before we hit the idle handler.
4788 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4789 debugging than exit.
4791 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4793 * libspi/listener.c (impl_notify_event): check source
4794 not NIL before unref.
4796 * libspi/registry.c (impl_registry_notify_event): ditto.
4798 * libspi/eventlistener.c
4799 (impl_accessible_event_notify_event): unref the source.
4801 * libspi/accessibleeventlistener.c
4802 (impl_accessible_event_notify_event): unref the source.
4804 * idl/Event.idl: remove 'hash_id' attribute - of no
4807 * libspi/application.c (notify_listeners): upd list
4809 (spi_application_object_event_listener),
4810 (spi_application_toolkit_event_listener): upd to do correct
4814 (_registry_notify_listeners): update.
4815 (parse_event_type): this method also leaks like a sieve.
4816 (impl_accessibility_registry_deregister_global_event_listener):
4817 fix ETYPE_WINDOW case.
4819 * libspi/application.c
4820 (impl_accessibility_application_register_object_event_listener):
4823 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4825 * libspi/hypertext.c (impl_getLink): ditto.
4827 * cspi/spi_main.c (cspi_object_add): remove
4828 bogus CORBA_Object_duplicate.
4830 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4833 * cspi/spi_accessible.c
4834 (Accessible_getRelationSet): fix leak / referencing issue.
4836 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4837 (cspi_object_add, cspi_object_unref): upd.
4838 (spi_object_release, get_live_refs): impl.
4839 (cspi_cleanup): simplify.
4841 * *.[ch]: s/boolean/SpiBoolean/
4843 * cspi/spi_accessible.c (role_names): actualy order so it
4844 corresponds with the enum !
4846 * test/test-simple.c (test_roles): check some role strings
4847 vs. enums to detect offset errors.
4849 2001-12-01 Michael Meeks <michael@ximian.com>
4851 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4853 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4855 (Accessible_getChildAtIndex): use cspi_add_check so we
4856 check the ev before using a (possibly) invalid value.
4858 * libspi/accessible.c
4859 (impl_accessibility_accessible_get_parent): don't segv
4862 * at-bridge/bridge.c (gtk_module_init): upd.
4863 (bridge_property_event_listener): don't leak strings
4865 (bridge_state_event_listener),
4866 (bridge_property_event_listener): don't use a static
4867 buffer in case of recursive event emission &
4868 re-enterancy - split out the swathe of cut and paste
4870 (emit_eventv): and fix 2 ref leaks here & comply to the
4872 (bridge_register_app): rename to
4873 (bridge_idle_init): this and kill arg parsing, split
4874 various inits & bonobo-activation registration to module
4875 init time, kill referencing error.
4876 (bridge_exit_func): fix the same leak.
4877 (bridge_focus_tracker): don't leak event structures
4879 (bridge_signal_listener): more leakage and cut & paste
4881 (bridge_key_listener): return the result - FIXME is
4882 this polarity correct ?
4883 (accessibility_keystroke_from_atk_key_event): rename
4884 (accessibility_init_keystroke_from_atk_key_event): and stop
4886 (gtk_module_init): return a value - not that it is checked by
4888 (bridge_key_listener): register my horror at casting between
4889 IDL defined structs.
4890 (bridge_get_registry): kill - not used.
4892 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4894 * test/test-simple.c (test_roles): impl.
4895 (test_desktop, validate_accessible, validate_tree): impl.
4897 * cspi/spi_accessible.c (role_names): fixup bogus
4898 MAX_ROLES setup, make constants const for efficient linkage
4899 (AccessibleRole_getName): conform to coding style, make
4902 2001-11-30 Michael Meeks <michael@ximian.com>
4904 * cspi/spi.h: add missing prototype.
4906 * libspi/registry.c (spi_listener_struct_new): fix sig.
4908 * test/Makefile.am: add test-simple
4910 * test/test-simple.c: add
4912 * test/test.sh: add.
4914 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4916 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4917 do it straight - since otherwise we often get an activation race.
4919 [ work before Bill duplicated a chunk of it ... ]
4920 2001-11-30 Michael Meeks <michael@ximian.com>
4922 * libspi/keystrokelistener.c
4923 (spi_keystroke_listener_class_init): fixup arg
4926 * libspi/eventlistener.c
4927 (spi_event_listener_class_init): ditto.
4929 * tests/test.sh: add.
4931 * cspi/spi-listener-impl.h: update macros.
4933 * cspi/spi-listener-impl.c
4934 (cspi_event_listener_remove_callback): add
4935 correct pre-conditions.
4937 * cspi/spi_main.c (SPI_exit): guard vs. double
4938 exits, exit the mainloop nicely.
4939 (SPI_event_main): make more sense.
4940 (SPI_init): move the atexit evilness here so we
4941 always do it (yuck).
4942 (SPI_event_main): upd.
4944 * test/simple-at.c: update for listener changes.
4946 * registryd/registryd.c (main): prune kruft.
4948 * libspi/libspi.h: upd.
4950 * libspi/eventlistener.[ch]: rename broken macros.
4952 * libspi/accessibleeventlistener.[ch]: remove.
4954 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4956 * test/test-simple.c: Add - automated tests.
4958 * cspi/spi-listener-impl.c (cspi_event),
4959 (cspi_key_event): add user_data to invoke.
4960 (cspi_keystroke_listener_finalize): impl.
4961 (cspi_keystroke_listener_class_init): upd.
4964 (createAccessibleEventListener),
4965 (AccessibleEventListener_addCallback),
4966 (createAccessibleKeystrokeListener),
4967 (AccessibleKeystrokeListener_addCallback): upd.
4969 * libspi/deviceeventcontroller.c
4970 (spi_device_event_controller_check_key_event): add public proto.
4973 (impl_accessibility_registry_deregister_global_event_listener):
4974 always init listeners.
4975 (_registry_notify_listeners): yes it is.
4977 * cspi/spi-listener-impl.c (cspi_key_event):
4979 (cspi_event_listener_finalize): impl.
4980 (cspi_event_listener_class_init): hook up.
4981 (event_handler_new, event_handler_free),
4982 (event_list_remove_by_callback): impl.
4983 (cspi_event_listener_remove_callback),
4984 (cspi_keystroke_listener_remove_callback),
4985 (cspi_keystroke_listener_add_callback),
4986 (cspi_event_listener_add_callback): upd.
4988 * libspi/keystrokelistener.c
4989 (keystroke_listener_object_finalize): kill
4990 (spi_keystroke_listener_class_init): upd.
4991 (spi_keystroke_listener_add_callback),
4992 (spi_keystroke_listener_remove_callback): kill,
4994 (impl_key_event): prune drasticaly.
4996 * libspi/eventlistener.c
4997 (spi_event_listener_add_callback),
4998 (spi_event_listener_remove_callback): kill, use
5000 (impl_accessible_event_notify_event): upd.
5001 (spi_event_listener_object_finalize): remove.
5003 * libspi/Makefile.am: use eventlistener.[ch]
5005 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5007 * libspi/registry.c (_registry_notify_listeners):
5008 Changed listener loop iteration to use preferred convention.
5009 Got rid of string memory leaks caused be calling g_strconcat
5010 inside function calls.
5012 * libspi/registry.c (parse_event_type):
5013 Stopped g_strconcat memory leaks, free the g_strsplit return,
5014 g_strdup the split pieces when used, etc.
5016 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5019 Change method 'compare' to return a 'difference set' rather than
5020 taking a StateSet as an out parameter (more Java-friendly).
5022 * idl/Accessible.idl:
5023 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5025 * idl/Component.idl:
5027 Changed methods 'getExtents' and 'getImageExtents' in these
5028 interfaces to return a BoundingBox structure.
5029 (getPosition and getSize are redundant and possibly should be
5030 removed, rather than creating a corresponding Point struct.)
5032 * cspi/spi_component.c:
5033 Modify implementation of getExtents to reflect the above IDL
5038 Add (missing) AccessibleImage_getExtents () API.
5040 * docs/reference/cspi/at-spi-cspi-sections.txt:
5041 Added AccessibleImage_getImageExtents () to docs.
5043 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5045 * idl/Component.idl:
5046 Added two methods, getLayer () and getMDIZOrder (), to reflect
5047 the new ATK methods atk_object_get_layer and
5048 atk_object_get_mdi_z_order. (Which arguably should be part of the
5049 AtkComponent API and AtkObject). Also added an enum,
5050 ComponentLayer, for the first method's return value.
5052 * libspi/component.c:
5053 Added implementations for these methods.
5055 * cspi/spi_component.c:
5057 Added cspi binding methods for above,
5058 AccessibleComponent_getLayer() and
5059 AccessibleComponent_getMDIZOrder().
5060 Added cspi enum 'AccessibleComponentLayer'.
5062 * docs/reference/cspi/at-spi-cspi-sections.txt:
5063 Added above methods to docs.
5067 Changed typedef for 'boolean' type (and all references to it) to
5068 SPIBoolean, to avoid keyword clashes with C++.
5071 Changed usages of 'boolean' to SPIBoolean.
5073 * test/keysynth-demo.c:
5074 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5075 app), except where SPIBoolean is required by the callbacks API.
5077 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5079 * cspi/spi_registry.c:
5080 Removed obsolete X event loop for passive keygrabs (which now
5083 * registryd/registryd.c:
5084 Removed unnecessary call to gdk_init() [cruft]. This also allows
5085 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5088 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5090 * docs/reference/cspi:
5091 Included docs for SPI_freeString in generated documentation.
5094 Renamed spi_freeString to SPI_freeString, for consistency. Added
5095 documentation for this function.
5098 Renamed spi_freeString to SPI_freeString, for consistency.
5099 Removed obsolete method declaration string_from_corba_string.
5101 * test/keysynth-demo.c:
5102 Small tweak to comments.
5105 Stopped leaking the strings returned from CSPI.
5107 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5109 Merged Michael's branch (see his ChangeLog entries below).
5111 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5112 bridge is alive, release on exit.
5114 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5115 Fix type check macro.
5118 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5121 Added is_gnome_app static, and method cspi_is_gnome_app(),
5122 so we can call the appropriate shutdown routine at exit in SPI_exit.
5124 * cspi/spi_main.c (cspi_object_ref):
5125 Duplicate the corba object passed in, since we're keeping it around.
5127 * cspi/SPI_exit.c, cspi_cleanup:
5128 Moved the releasing of the live refs to its own function, so we
5129 can put it in g_atexit (). Call the appropriate shutdown API
5130 depending on whethe calling client is a gnome app or not
5131 (bonobo_main_quit or CORBA_ORB_shutdown).
5133 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5134 Unref the listener when this method is called, after
5135 deregistration. Updated the API docs to note this behavior.
5137 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5138 Bugfixes: Ref the bonobo object when returning a parent or child
5139 reference, or an AccessibleRelation. Generally made sure
5140 BonoboObject refcount is incremented whenever we return an
5143 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5144 Fixed typo/bug in signal declaration.
5146 * libspi/accessibleeventlistener.h:
5149 * libspi/application.c (spi_application_new):
5150 Fixed leak in initialization.
5153 Remembered to increment bonobo-object refcount when returning
5154 children (applications) from desktop object.
5155 Added (empty) finalize method.
5157 * libspi/deviceeventcontroller.c:
5158 Hold a ref to listeners inside DEControllerKeyListeners.
5159 Added dec_key_listener_free() method. Use prepend instead of
5160 append in key_listener list. Fixed some refcount madness and
5161 leaks in the listener registration/deregistration - deregistration
5162 now calls dec_key_listener_free() on listeners, and on the
5163 temporarily constructed dec_key_listener() used to perform the search/match.
5165 * libspi/hypertext.c (spi_hypertest_finalize):
5166 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5167 class. Also fixed spi_hypertext_interface_new() and
5168 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5170 * libspi/hypertext.h:
5171 Removed pointless and duplicate AtkObject pointer from
5174 * libspi/keystrokelistener.c:
5175 Fixed incorrect type of keystroke_listener_parent_class,
5176 renamed keystroke_listener_object_finalize to
5177 spi_keystroke_listener_object_finalize.
5178 Fixed typo in signal declaration
5179 (spi_keystroke_listener_class_init).
5181 * libspi/registry.c:
5182 Added funcsions spi_listener_struct_new() and
5183 spi_listener_struct_free() to help with memory management issues.
5184 We also now use these methods instead of gnew + poking stuff into
5185 the struct, and to decrement listener counts/free the listeners
5186 when deregistering them.
5187 Fix more refcount bugs in getDesktop() and
5188 getDeviceEventController().
5191 De-ref the desktop after enumerating the applications. Explicitly
5192 decrement the refcounts on the created listeners on exit (using
5193 _unref for keystroke listeners, and via the
5194 deregisterGlobalEventListenerAll command for other event
5197 2001-11-27 Michael Meeks <michael@ximian.com>
5199 * cspi/spi-listener.h: fixup enum.
5201 2001-11-27 Michael Meeks <michael@ximian.com>
5203 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5204 (cspi_keystroke_listener_new): Use the cspi variants.
5206 2001-11-26 Michael Meeks <michael@ximian.com>
5208 * test/keysynth-demo.c: fix 2 compile warnings, missing
5211 * test/simple-at.c (report_focussed_accessible),
5212 (report_focus_event, report_button_press),
5213 (check_property_change, is_command_key),
5214 (report_ordinary_key_event, report_command_key_event): upd.
5216 * util/mag_client.h: include pre-requisites.
5218 * libspi/accessibleeventlistener.c
5219 (spi_event_listener_object_finalize): free any lingering
5222 * libspi/keystrokelistener.c
5223 (keystroke_listener_object_finalize): ditto.
5225 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5226 callbacks, with cspi types.
5228 * cspi/spi_event.c (createAccessibleEventListener): chain to
5229 (AccessibleEventListener_addCallback): here.
5230 (createAccessibleKeystrokeListener): chain to
5231 (AccessibleKeystrokeListener_addCallback): here.
5233 * libspi/keystrokelistener.c
5234 (spi_keystroke_listener_class_init): add signal.
5235 (impl_key_event): emit the event.
5236 (boolean_handled_accumulator): impl.
5237 (marshal_BOOLEAN__POINTER): add, gack.
5239 * libspi/accessibleeventlistener.c
5240 (spi_event_listener_class_init): add signal.
5241 (impl_accessible_event_notify_event): emit the signal &
5242 make the loop efficient.
5243 (spi_event_listener_add_callback): prepend the callback.
5245 * libspi/accessibleeventlistener.h: add an 'event' signal,
5246 decl type on callback.
5248 * libspi/keystrokelistener.h: ditto.
5250 * cspi/spi-listener.h: make methods typesafe and
5251 make them use the new event typedefs.
5253 * test/simple-at.c (report_focussed_accessible):
5254 include mag_client.h
5255 Use *(void *)text_interface not the other thing.
5257 * configure.in: add gtk to registryd bits - since we use
5260 * util/magnifier.c: include libbonobo.h
5262 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5264 * test/keysynth-demo.c:
5265 Turned this into a simple scanning keyboard, to demonstrate the
5266 use of g_timeout_add () as a means of creating timers for
5267 scanning, and the use of GtkStyle for visually indicating when
5268 virtual keyboard elements are selected.
5270 keysynth-demo now listens to any keyboard keys with zero-valued
5271 keycodes (i.e. 'unused' keys) and interprets them as
5274 Reworked the shiftlatch code so that shift-down state isn't held
5275 for long periods (it's only synthesized immediately prior to
5276 the keysynth event it's modifying). Note that shiftlatch in this
5277 demo is a convenience, not intended to take the place of AccessX
5278 which is the better choice for getting 'sticky' modifier keys.
5280 * libspi/deviceeventcontroller.c:
5281 * at-bridge/bridge.c:
5282 * cspi/spi_registry.c:
5283 Removed some debug print stuff, and put other verbosity in #ifdef
5288 Implemented some more of the magnifier IDL for the simple
5289 magnifier: namely, getZoomRegionParams.
5290 Added mag_x and mag_y members to MagnifierData struct, aid of this
5292 Added GtkWindow::realize signal handler to magnifier, to keep it
5293 from receiving keyboard focus from the WM.
5295 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5297 * cspi/spi-private.h: my guess at what michael forgot
5298 before he ran off to NZ :-)
5300 2001-11-23 Michael Meeks <michael@ximian.com>
5302 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5303 comment out non existant method invoke so we link.
5305 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5306 use bonobo_exception_get_text for more friendly warnings.
5308 * cspi/spi.c (Obj_Add): move into spi_main & rename
5309 spi_object_add; kill spi.c
5311 * cspi/spi_registry.c
5312 (deregisterGlobalEventListener),
5313 (deregisterGlobalEventListenerAll),
5314 (registerGlobalEventListener): fix exception leaks.
5316 * cspi/spi_main.c (spi_exception): impl. helper, so we
5317 don't leak exceptions.
5319 * cspi/spi_selection.c
5320 (AccessibleSelection_deselectSelectedChild): return the
5323 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5324 (spi_registry): ditto.
5325 (SPI_init): guard against double inits.
5327 * cspi/*.c: use spi_ev (), and spi_registry () where
5328 appropriate - a temporary hack until we have something
5329 better. Use spi_object_add
5331 2001-11-22 Michael Meeks <michael@ximian.com>
5333 * cspi/Makefile.am: re organise, install the headers.
5335 * cspi/*.h: add G_BEGIN/END_DECLS
5337 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5340 Added non-preemptive keylistener for key events with no modifiers
5341 and shift-only modifier.
5343 * libspi/keystrokelistener.c:
5344 Removed some verbose diagnostics printout.
5346 * cspi/spi_registry.c:
5347 Fixed a bug that caused all key listeners to be registered as
5350 * libspi/deviceeventcontroller.c:
5351 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5352 for non-preemptive key masks.
5355 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5357 * docs/reference/idl/at-spi-idl-docs.sgml:
5358 * docs/reference/idl/at-spi-idl-sections.txt:
5359 * docs/reference/idl/at-spi-idl-overrides.txt:
5360 Added missing files.
5362 * docs/reference/Makefile.am:
5363 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5364 to scan the IDL files :-(
5369 Added .cvsignore files.
5371 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5373 * libspi/deviceeventcontroller.c:
5374 * libspi/keystrokelistener.c:
5376 * cspi/spi_registry.c:
5377 Added filters for KeySets, KeyEventSeq, and event types to key
5378 event dispatching, so listeners should only receive those events
5379 that they requested :-)
5381 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5386 * docs/reference:Makefile.am:
5387 * docs/reference/cspi:
5388 * docs/reference/cspi:Makefile.am:
5389 * docs/reference/cspi:tmpl:
5390 * docs/reference/cspi:tmpl:*.sgml:
5391 * docs/reference/idl:
5392 * docs/reference/idl:Makefile.am:
5393 * docs/reference/idl:at-spi-idl-sections.txt:
5394 * docs/reference/idl:at-spi-idl-docs.sgml:
5395 * docs/reference/idl:tmpl:
5396 * docs/reference/idl:tmpl:*.sgml:
5398 Restructured docs directory to allow separate 'reference' docs
5399 section, and forked idl and cspi docs. Added the sgml template
5400 files to CVS. Added the first sections/structural sgml for the
5403 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5405 * configure.in, libspi/Makefile.am: find libXtst.
5407 2001-11-21 Michael Meeks <michael@ximian.com>
5409 * test/accessx-gui.c: s/spi_value/value/ - doh.
5411 * libspi/base.[ch]: add.
5413 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5415 * idl/Accessible.idl:
5416 * idl/Application.idl:
5419 Started gtk-doc cleanup on IDL.
5421 * libspi/deviceeventcontroller.c:
5422 Added and connected non-preemptive key notification from the
5423 toolkits (in addition to the pre-emptive support from XServer
5424 which we had before, but which causes 'focus flashing'). Filters
5425 are presently limited to key modifiers and global/non-global,
5426 KeySets are presently ignored, as are KeyEvent masks.
5428 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5429 structs into the persistant structure rather than just storing
5430 pointers to things that might not persist across servant
5433 The XGrabKey call now does async keygrabs, because synchronous
5434 ones were deadlocking with GDK_event code in a very nasty way.
5436 Added boolean to internal method notify_keylisteners, to indicate
5437 whether the event came from the 'toolkit source' or the 'global
5438 (XServer) source' - this is used in the notification process to
5439 determine which listeners to send the event to.
5441 deviceeventcontroller.c is now warning-free.
5443 * libspi/registry.c:
5444 Fixed regression in application de-registration.
5445 Also fixed some really brain-dead weirdness having to do with
5446 event dispatching - event structs are now duplicated before being
5447 re-marshalled in the dispatch to listeners. This also fixes a
5448 Solaris build problem.
5451 2001-11-20 Michael Meeks <michael@ximian.com>
5454 (impl_accessibility_registry_deregister_global_event_listener):
5457 * libspi/deviceeventcontroller.c
5458 (spi_device_event_controller_check_key_event): return
5459 FALSE on no virtual method.
5461 * libspi/*..h: make includes work on a correctly pathed install.
5463 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5465 * libspi/application.h: kill unused ( and whacked out )
5466 gboolean *spi_application_set_id (AtkObject *app, long id);
5468 2001-11-20 Michael Meeks <michael@ximian.com>
5470 * libspi/*.[ch]: further convert to bonobo's type func
5471 macros, remove redundnant casts etc.
5473 * libspi/text.c s/accessibility_text/spi_text/g,
5474 re-order to de-cruft.
5476 * libspi/hypertext.c: re-order to kill a huge slew
5477 of redundant forward decls.
5479 * libspi/relation.c: ditto.
5481 * libspi/image.c: ditto.
5483 * */.cvsignore: update
5485 2001-11-20 Michael Meeks <michael@ximian.com>
5487 * libspi/deviceeventcontroller.c
5488 (_controller_register_with_devices): use g_getenv,
5489 kill stdlib.h include.
5491 * libspi/keystrokelistener.c
5492 (spi_keystroke_listener_get_type): kill
5493 (spi_keystroke_listener_class_init),
5494 (spi_keystroke_listener_init): rename to this.
5496 * libspi/text.c (impl_getAttributes): fix warning / bug.
5498 * libspi/*.[ch]: more headers, includes and over commenting.
5500 2001-11-20 Michael Meeks <michael@ximian.com>
5502 * libspi/*.[ch]: fixup headers, includes and over commenting.
5504 * libspi/image.c (impl__get_imageDescription): const
5505 correctness warning fix. remove redundant casting.
5507 * libspi/table.c (impl_getRowDescription): ditto.
5508 (impl_getColumnDescription): ditto.
5510 * libspi/libspi.h: add.
5512 2001-11-19 Michael Meeks <michael@ximian.com>
5514 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5516 * libspi/component.c (accessibility_component_get_type):
5517 rename to (spi_component_get_type): and macroify.
5518 (accessibility_component_init): rename to
5519 (spi_component_init): this
5520 (accessibility_component_class_init): rename to
5521 (spi_component_class_init): this
5523 * libspi/action.c (spi_action_get_type): kill, use the macro.
5525 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5528 * libspi/application.c (spi_application_object_event_listener),
5529 (impl_accessibility_application_register_object_event_listener):
5530 warning fixes / const understanding updates.
5532 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5535 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5537 * libspi/spi_accessible.c: Added docs and C bindings for
5538 AccessibleStateSet. (No implementations yet). Documentation
5539 coverage for C bindings now 100%. Made docs for event listeners
5544 boolean notifyListenersSync (in DeviceEventListener listener,
5545 in DeviceEvent event);
5547 oneway void notifyListenersAsync (in DeviceEventListener listener,
5548 in DeviceEvent event);
5550 Added DeviceEventListener and DeviceEvent structs (may deprecate
5551 KeyStroke and KeystrokeListener in favor of this generic
5552 event/listener framework for devices).
5554 * libspi/deviceeventcontroller.c:
5556 Changed some key listener code to take masks, etc., and paved the
5557 way for integration of toolkit/non-preemptive key events. Changed
5558 signatures of some internal methods.
5560 * at-bridge/bridge.c:
5561 Fixed regression connecting to interface signals, apparently
5562 caused by GTK+ changes.
5564 Added an internal bridge_state_listener to deal with
5565 property-change:accessible-state signals.
5567 Changed the key_listeners GList to store structs (including masks,
5568 etc.) instead of just CORBA_Objects (required for full
5569 implementation of key listener API).
5571 Connected the bridge to all currently supported Atk signals.
5572 Events now supported:
5573 object:property-change
5574 object:property-change:accessible-name
5575 object:property-change:accessible-state
5576 object:property-change:accessible-description
5577 object:property-change:accessible-parent
5578 object:property-change:accessible-value
5579 object:property-change:accessible-role
5580 object:property-change:accessible-table-caption
5581 object:property-change:accessible-table-column-description
5582 object:property-change:accessible-table-column-header
5583 object:property-change:accessible-table-row-description
5584 object:property-change:accessible-table-row-header
5585 object:property-change:accessible-table-summary
5586 object:children-changed
5587 object:visible-data-changed
5588 object:selection-changed
5589 object:text-selection-changed
5591 object:text-caret-moved
5593 object:row-reordered
5595 object:column-inserted
5596 object:column-reordered
5597 object:column-deleted
5598 object:model-changed
5600 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5602 * libspi/hyperlink.c,h:
5603 Fixed some broken stuff in hyperlink.
5605 * libspi/relation.h:
5606 * libspi/relation.c:
5607 * cspi/spi_accessible.c:
5608 Initial implementations of AccessibleRelation methods, and docs.
5610 * libspi/accessible.c:
5611 Fixed a bug that caused SEGV if an accessible
5612 object's description is NULL, and a client
5613 requests it. An empty string is now returned.
5615 * cspi/spi_editabletext.c:
5616 * cspi/spi_hypertext.c:
5618 * cspi/spi_hyperlink.c:
5622 Doc coverage now 95%.
5624 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5626 One last namespacing revision:
5627 * libspi/accessibleeventlistener.[ch]:
5628 Renamed SpiAccessibleEventListener to SpiEventListener,
5629 (no need for two namespaces ;-)
5631 And lots of documentation fixes:
5633 * docs/at-spi-docs.sgml:
5634 Fixed 'underscore vs. hyphen' bug that was preventing
5635 the gtk-doc API docs from being automatically generated.
5638 * cspi/spi-listener.h
5640 * cspi/spi_accessible.c
5642 * cspi/spi_application.c
5643 * cspi/spi_component.c
5644 * cspi/spi_editabletext.c
5646 * cspi/spi_hypertext.c
5648 * cspi/spi_registry.c
5649 * cspi/spi_selection.c
5653 * docs/at-spi-docs.sgml
5654 * docs/at-spi-sections.txt
5656 Added and fixed up gtk-doc documentation in cspi.
5658 Interfaces now (fully) documented (subject to revision and enhancement):
5660 Event Listener Support
5662 AccessibleApplication
5666 AccessibleEditableText
5673 AccessibleRelationSet
5678 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5680 * at-bridge/bridge.c:
5681 Initial work for toolkit-level key snooper connection by bridge.
5686 New typedefs and fixes to support new namespacing, and cleaner
5687 separation of cspi bindings from libspi bonobo implementation.
5688 Removed inconsistent and extraneous Spi* namespace prefix that
5689 had crept into cspi headers.
5690 Lots of comment fixes that sed had missed.
5692 * cspi/spi-roletypes.h:
5693 * cspi/spi-statetypes.h:
5694 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5695 to AccessibleRoleType.
5697 * libspi/accessibleeventlistener.h:
5698 Fixed minor namespacing weirdness.
5700 * libspi/deviceeventcontroller.c:
5701 Reordered some internal API for device listeners.
5702 Changed the key registry final boolean to 'is_system_global'
5703 rather than 'is_synchronous', which is more descriptive of its
5705 Added spi_device_event_controller_new().
5706 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5708 * libspi/keystrokelistener.[ch]:
5709 Namespaced KeystrokeListener to SpiKeystrokeListener.
5710 Changed uses of keymasks to use SPI_ prefix, and did other
5713 * libspi/keymasks.h:
5714 Namespaced keymask constants with SPI_ prefix.
5716 * libspi/registry.c:
5717 Some warning fixes, and knock-on fixes from namespace changes.
5720 Added rules for accessx-gui test program.
5722 * test/accessx-gui.c:
5723 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5724 utility. It doesn't actually use at-spi, but it's still cool and
5727 * test/keysynth-demo.c:
5731 Fixes so that these test clients work properly with the namespaced
5732 libraries. (Incompletely tested for technical reasons, fixes may follow)
5735 2001-11-13 Michael Meeks <michael@ximian.com>
5737 * libspi/application.c
5738 (impl_accessibility_application_get_version),
5739 (impl_accessibility_application_get_toolkit_name):
5741 (impl_accessibility_application_set_id),
5742 (impl_accessibility_application_get_id): remove
5743 redundant casting code.
5745 * libspi/action.c (impl_getDescription): fix warnings.
5747 * libspi/accessible.c
5748 (impl_accessibility_accessible_get_parent),
5749 (impl_accessibility_accessible_get_child_at_index),
5750 (impl_accessibility_accessible_get_state),
5751 (impl_accessibility_accessible_get_relation_set):
5752 warning fixes & include action.h
5754 2001-11-13 Michael Meeks <michael@ximian.com>
5756 * *.[ch] fix bits I screwed up:
5758 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5759 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5761 2001-11-13 Michael Meeks <michael@ximian.com>
5763 * *.[ch] Namespace libspi into spi_ and Spi.
5765 2001-13-11 Michael Meeks <michael@ximian.com>
5767 * Makefile.am: dist & install at-spi-1.0.pc
5769 * libspi/Makefile.am: install into at-spi-1.0
5771 * idl/Makefile.am (idldir): install into at-spi-1.0
5773 * at-spi-1.0.pc.in: add.
5775 * configure.in: build it.
5777 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5779 * test/keysynth-demo.c:
5780 Use a 'realize' signal-handler to set the WM properties for
5781 the virtual keyboard, rather than making it a "POPUP" type
5782 override-redirect window (thanks to anders carlsson for that
5785 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5788 * test/keysynth-demo.c:
5789 Added new test of key synthesis, which creates a simple
5790 (mouse-operated) onscreen keyboard. It inserts key events into
5791 the currently-focused window, thus it does not grab keyboard focus
5794 * cspi/spi_registry.c:
5795 Added C binding for AT-SPI generateKeyEvent.
5797 * libspi/deviceeventcontroller.c:
5798 Added call to XFilterEvent so that key listener works with XIM (we
5799 hope). Added event_synth_type to generateKeyEvent, so that we can
5800 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5801 synthesize a press/release pair for KeySyms.
5803 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5805 * libspi/Makefile.am:
5806 * registryd/Makefile.am:
5807 (temporary) hack to include libXtst in libspi and registryd.
5808 (Needed for keystroke synthesis, see below).
5811 Improved API for registerKeystrokeListener, in accordance with
5812 discussions with Gnopernicus team and X server research.
5814 * libspi/registry.c:
5815 * libspi/deviceeventcontroller.c:
5816 * libspi/accessible.c:
5817 * libspi/keystrokelistener.c:
5818 Changes and fixes to support keylisteners for potentially
5819 consumed key events (that is, 'passive grabs').
5820 Added implementation for generateKeyEvent() [untested].
5823 Changes to registerKeystrokeListener() API, as above.
5824 Added deregisterGlobalEventListenerAll(), and
5825 deregisterKeystrokeListener(), which are needed for clean exit of
5827 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5828 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5830 * cspi/spi_registry.c:
5831 Added implementations of function prototypes mentioned above.
5833 * registryd/registryd.c:
5834 Added the key listener event source as a g_timeout(), to allow
5835 receipt of key events that are not caught by GDK (since GDK
5836 doesn't support passive keygrabs, this was necessary).
5839 Changed to attach a keylistener to 'Alt' keys, and
5840 respond to the following keycommands: Alt-M (toggle magnifier);
5841 Alt-F (toggle speech); Alt-Q (quit).
5842 Added an exit routine to deregister the listeners, and a key
5843 listener that prints some key info to the console when a key
5844 matches the listener mask (and is thus received by the listener).
5846 * util/idl/Magnifier.idl:
5847 Changes to magnifier API to support multiple zoom regions,
5848 non-uniform scaling in x and y, markDirty, and a host of other
5849 features that would be useful to magnification.
5852 * util/mag_client.c:
5853 * util/mag_client.h:
5854 * util/mag_control.c:
5856 Source code changes to support the above IDL changes.
5859 As above, and also changes to use a (slower) generic conversion
5860 path for colormap conversions, since the fast RGB conversions have been
5861 reported to fail for 16-bit displays.
5863 2001-10-26 Michael Meeks <michael@ximian.com>
5865 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5867 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5869 * at-bridge/Makefile.am: fix LDFLAGS.
5871 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5873 * at-bridge/bridge.c:
5874 Re-worked listeners for toolkit events, now we have signal
5875 and property listeners. Added a private method
5876 register_atk_event_listeners(), which registers with the
5877 various atk and gtk signals we need to monitor in order to emit
5879 Added emission hook for AtkObject:property-change events, to
5880 support the 'property listeners'.
5881 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5884 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5885 which emit warnings and exit, respectively, if CORBA errors occur
5886 during remote calls, and we now use these methods to check most of
5887 our CORBA calls in the C bindings.
5889 * cspi/spi_accessible.c:
5890 Changed AccessibleSelection_refSelectedChild() to
5891 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5892 now increment refcounts.
5894 * cspi/spi_component.c:
5895 Fixed some long pointer casts (dangerous!) to pass pointers to
5896 CORBA_longs of the proper type to the CORBA stubs, and copy the
5897 data into the longs that were passed into the C bindings code.
5899 * at-bridge/bridge.c:
5901 * libspi/accessible.c:
5902 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5903 hyperlinks, AtkHyperlink is an object type.
5905 * libspi/application.c:
5906 Added various conversions to and from "generic" event types and
5907 atk-specific types; this is really part of the 'bridge'
5908 implementation but is valid for all AtkObject-based accessibility
5911 * libspi/editabletext.c:
5912 Fixed nasty bug wherein editable text's finalize method was
5913 unref'ing tha AtkObject reference that the text parent class was
5914 about to unref _again_. There was also a nasty inheritance bug
5915 that meant that the AccessibleEditableText class was corrupt.
5917 * libspi/selection.c:
5918 Provided implementations for some selection API that was broken.
5920 * idl/Application.idl:
5921 Added registerObjectEventListener () method.
5924 Fixed a number of return values that were Bonobo_Unknowns from
5925 bonobo_object_corba_objref(), which I
5926 forgot to dup before returning. Changed instances of
5927 bonobo_object_corba_objref (bonobo_object(o)) to
5928 BONOBO_OBJREF(o), for concision and clarity.
5930 2001-10-13 Louise Miller <louise.miller@sun.com>
5932 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5933 idl/Event.idl, idl/Registry.idl
5934 Changed these files to include Bonobo_Unknown.idl instead
5937 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5939 * libspi/component.c libspi/component.h:
5940 Fixed typo. Added assertions for object checks in
5941 AccessibleComponent code.
5943 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5945 * idl/Accessible.idl:
5946 Added 'isEqual (Accessible *object)'
5947 method for Accessible. (Not Yet Implemented).
5950 Changed signature of registerKeystrokeListener() to
5951 take a KeySet and KeyEventSeq so that specific keys and event
5952 types could be requested for monitoring, and added a flag
5953 is_synchronous so that either synchronous or asynchronous
5954 notification could be requested. (However this is not all
5955 implemented yet). This also meant adding two new typedefs,
5956 KeyEventSeq and KeySet.
5959 Added two new relations, RELATION_TOOLTIP_FOR and
5960 RELATION_LEAFNODE_OF.
5963 Added new state, STATE_HAS_TOOLTIP.
5965 * libspi/text.c, editabletext.c:
5966 Added new assertions to all casts of bonobo-objects from
5967 CORBA servants, to prevent Text API calls on non-text objects.
5968 Changed suspect casts of int-pointer types, so that we
5969 always send a valid CORBA_long pointer to the CORBA APIs that use
5970 in/out long parameters. We then have to copy from the CORBA_long
5971 into the regular long or int for return to the C bindings, or
5972 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5975 * libspi/deviceeventcontroller.c:
5976 Cleaned these sources up.
5978 Changed return type for getCharacterAtOffset to
5979 CORBA_unsigned_long, to allow for 32-bit characters.
5982 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5986 Fixed 'make dist' so that distro compiles...
5987 * libspi/keymasks.h:
5989 * cspi/spi-listener.c:
5990 KeystrokeListenerCB now returns a boolean.
5992 Added KeyEventType struct, and KeyStroke.
5993 Also added createKeystrokeListener(),
5994 KeystrokeListener_addCallback(),
5995 KeystrokeListener_removeCallback(), and added a keymask to
5996 registerKeystrokeListener().
5997 * cspi/spi_accessible.c:
5998 Changed numerous return types for interfaces from
5999 AccessibleComponent to Accessible<InterfaceName>; this was
6000 probably a cut-and-paste error.
6002 Implementations of new KeystrokeListener api (from spi.h,
6005 Changes to key modifier mapping.
6006 Created ControllerEventMask struct.
6007 Made DeviceEventController derive from Bonobo::Unknown.
6009 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6010 * libspi/deviceeventcontroller.c:
6011 Added a number of new internal (private) methods.
6012 * libspi/editabletext.c:
6013 * libspi/editabletext.h:
6014 Fixed a number of bugs related to the fact that
6015 editabletext inherits from text. Fixed the EditableText struct,
6016 the init() call, and use correct casts when calling Text methods
6017 from an EditableText object. Removed (duplicate) atko from the
6018 EditableText structure, we use the one in the parent Text
6019 structure via the casts mentioned above.
6020 * libspi/keystrokelistener.[ch]:
6021 * libspi/registry.c:
6022 Changes in support of keyboard handling (above).
6024 Keyboard handling, though partly functional, is still not
6025 recommended for at-spi client use as there is considerable
6026 work yet to be done.
6029 Changed some places where pointers to various int types
6030 are cast to be pointers to CORBA_long types and vice-versa:
6031 pointer casting is not safe so we pass pointers of the correct
6032 types and then cast the result before putting it into the target
6035 * libspi/text.h: minor typos corrected.
6037 We now speak not only the name of a Text element, but the
6038 first sentence of its content, when it receives focus.
6039 I also changed the text compression to 75% from 50%.
6040 * util/Accessibility_Util.server.in:
6041 Changed the default magnifier type to be a 3x vertical
6042 splitscreen magnifier (was previously a 2x horizontal one).
6044 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6046 * libspi/keystrokelistener.h:
6047 * libspi/keystrokelistener.c:
6048 Initial functional implementations of KeystrokeListener.
6051 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6053 Fixed string handling for NULL strings in libspi.
6054 Added spi_freeString to free strings returned by C bindings.
6056 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6058 * libspi/keystrokelistener.h:
6059 * libspi/keystrokelistener.c:
6060 Began (no-op) implementations of KeystrokeListener
6062 * libspi/deviceeventcontroller.c:
6063 * libspi/deviceeventcontroller.h:
6064 Began creating implementations of DeviceEventController,
6065 to handle keystroke and mouse event listening and
6067 * libspi/accessible.c:
6068 Stubbed-in the implementations for
6069 Accessibility_Accessible_getState and
6070 Accessibility_Accessible_getRelationSet.
6071 * libspi/registry.c:
6072 Improved de-registration process and fixed some bugs,
6073 deregistration now works correctly.
6075 Added initialization of applications list (to NULL).
6077 Reduced speech compression from 0.5 to 0.7, for demo.
6078 Changed call to gdk_window_set_decorations()
6079 to gtk_window_set_decorated().
6080 * at-bridge/bridge.c:
6081 Bridge now deregisters when app exits, via
6082 registration of a cleanup function
6083 with the g_atexit() call.
6084 Required making 'app' static, renamed 'this_app'.
6085 Fixed broken use of bonobo_init, passing argv wrongly.
6087 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6091 Created a new directory for
6092 accessibility-related utilities, primarily for
6093 testing and demo purposes, but with possible
6100 Onscreen magnifier utility that
6101 is implemented as a bonobo service.
6103 * util/mag_client.c:
6104 * util/mag_client.h:
6105 Client-side support (simple C bindings)
6106 for Magnification service
6108 * util/mag_control.c:
6109 Client program example for
6110 Magnification service
6112 * util/Accessibility_Magnifier.server.in:
6113 Bonobo-activation file for the
6114 Magnification service.
6117 * util/idl/Magnifier.idl:
6118 IDL defining the bonobo Magnification
6122 Modifications to use the bonobo-activated magnifier
6123 above, in place of trying to connect to an existing
6124 magnifier that uses socket-listening IPC.
6126 If env variable MAGNIFIER is set, a magnifier service
6127 will be started if one does not exist.
6129 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6131 * at-bridge/bridge.c:
6132 applied patch from Marc to build and run
6133 against new glib and gtk+ (seemed like a change
6134 to bonobo_init signature was made ?)
6136 made festival-server support turned off by default.
6137 Added support for a simple magnifier (off by default)
6138 which will be added to a 'util' directory later.
6139 * at-bridge/Makefile.am:
6140 Changed "application.h" header from a 'source'
6141 to a 'dependency' of libat-bridge.
6143 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6152 Added interface implementation c files to list of
6153 includes so they are included in libcspi.
6156 Changed prototype of AccessibleAction_doAction to return a
6158 Changed prototype of AccessibleTable_getCaption to
6159 return an Accessible.
6160 Changed prototype of AccessibleTable_getSelectedRows
6161 and AccessibleTable_getSelectedColumns to
6162 return a long (returns the number of selected rows
6163 or columns respectively).
6164 Changed name of AccessibleText_refRunAttributes to
6165 AccessibleText_getAttributes.
6166 Changed prototype of AccessibleText_getCharacterExtents to
6167 return a void rather than a boolean.
6168 Added support for a AccessibleCoordType parameter
6169 specifying what type of coordinates are desired.
6170 Added an AccessibleCordType parameter to
6171 AccessibleText_getPointAtOffset.
6173 * cspi/spi_accessible.c:
6174 Added code to return the outstanding interfaces from
6175 Accessible_queryInterface.
6177 * cspi/spi_action.c:
6179 Corrected call to getNActions to call the c binding
6182 * cspi/spi_editabletext.c:
6184 Changed name from setRunAttributes to setAttributes.
6186 * cspi/spi_hyperlink.c:
6188 Changed call to getNAnchors to correctly call the c
6189 binding for an attribute.
6191 * cspi/spi_hypertext.c:
6193 Changed getImageDescription to correctly call the
6194 binding for an attribute.
6196 * cspi/spi_selection.c:
6197 Changed getNSelectedChildren to correctly call the c
6198 binding for the attribute.
6199 Changed refSelectedChild to getSelectedChild.
6203 Changed getCaption to return an Accessible.
6204 Fixed calls which retrieve attributes.
6205 Changed refAt to getAccessibleAt.
6206 Changed getNSelectedRows and getNSelectedColumns to
6210 Changed getCharacterExtents and getPointAtOffset to accept an
6211 AccessibleCoordType.
6213 Changed calls which retrieve attributes.
6214 Changed refRunAttributes to getAttributes.
6219 * idl/Hyperlink.idl:
6220 Changed n_anchors attribute to nAnchors to keep naming
6221 convention consistent.
6224 Made Table inherit from Bonobo::Unknown.
6225 Added nSelectedColumns and nSelectedRows attributes.
6228 Made Value inherit from Bonobo::Unknown.
6230 * libspi/hyperlink.c:
6231 Change for nAnchors attributte name change.
6233 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6241 Added interface implementation c files to list of
6242 includes so they are included in libcspi.
6245 Changed prototype of AccessibleAction_doAction to return a
6247 Changed prototype of AccessibleTable_getCaption to
6248 return an Accessible.
6249 Changed prototype of AccessibleTable_getSelectedRows
6250 and AccessibleTable_getSelectedColumns to
6251 return a long (returns the number of selected rows
6252 or columns respectively).
6253 Changed name of AccessibleText_refRunAttributes to
6254 AccessibleText_getAttributes.
6255 Changed prototype of AccessibleText_getCharacterExtents to
6256 return a void rather than a boolean.
6257 Added support for a AccessibleCoordType parameter
6258 specifying what type of coordinates are desired.
6259 Added an AccessibleCordType parameter to
6260 AccessibleText_getPointAtOffset.
6262 * cspi/spi_accessible.c:
6263 Added code to return the outstanding interfaces from
6264 Accessible_queryInterface.
6266 * cspi/spi_action.c:
6268 Corrected call to getNActions to call the c binding
6271 * cspi/spi_editabletext.c:
6273 Changed name from setRunAttributes to setAttributes.
6275 * cspi/spi_hyperlink.c:
6277 Changed call to getNAnchors to correctly call the c
6278 binding for an attribute.
6280 * cspi/spi_hypertext.c:
6282 Changed getImageDescription to correctly call the
6283 binding for an attribute.
6285 * cspi/spi_selection.c:
6286 Changed getNSelectedChildren to correctly call the c
6287 binding for the attribute.
6288 Changed refSelectedChild to getSelectedChild.
6292 Changed getCaption to return an Accessible.
6293 Fixed calls which retrieve attributes.
6294 Changed refAt to getAccessibleAt.
6295 Changed getNSelectedRows and getNSelectedColumns to
6299 Changed getCharacterExtents and getPointAtOffset to accept an
6300 AccessibleCoordType.
6302 Changed calls which retrieve attributes.
6303 Changed refRunAttributes to getAttributes.
6308 * idl/Hyperlink.idl:
6309 Changed n_anchors attribute to nAnchors to keep naming
6310 convention consistent.
6313 Made Table inherit from Bonobo::Unknown.
6314 Added nSelectedColumns and nSelectedRows attributes.
6317 Made Value inherit from Bonobo::Unknown.
6319 * libspi/hyperlink.c:
6320 Change for nAnchors attributte name change.
6323 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6325 implementations-- made server implementations own AtkObject pointers
6326 rather than their respective AtkInterrface pointers to fix
6327 refcounting. AtkHyperlink is still broken.
6329 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6330 * cspi/spi_accessible.c:
6331 Added method Accessible_Role_getName(),
6332 and requisite string array (role_names).
6333 Added conversion string_from_corba_strin() call
6334 to Accessible_getName and _getDescription.
6335 * libspi/accessible.c:
6336 Added implementation for Accessible_getRole()
6338 Added festival support, used if environment variable
6341 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6343 * at-bridge/bridge.c:
6344 Now allocate Accessibility_Event using
6345 Accessibility_Event__alloc() instead of g_new0().
6346 * libspi/accessibleeventlistener.c:
6347 Initialize AccessibleEventListener->callbacks to NULL.
6348 Fixed accessible__event_listener_init() param, changed to
6349 "AccessibleEventListener *" type.
6350 Changed a bonobo_object_release_unref() call to
6351 Accessibility_Accessible_unref().
6352 * libspi/listener.c:
6353 Changed Bonobo_Unknown_unref to (equivalent)
6354 Accessibility_Accessible_unref.
6355 * libspi/registry.c:
6356 Changed bonobo_object_release_unref to
6357 Accessibility_Accessible_unref.
6359 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6362 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6363 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6364 spi-util.c spi-util.h
6365 Implementations for C bindings to remaining accessibility
6368 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6371 changed return value of Action from void to boolean to
6372 bring in line with ATK.
6375 Changed getText funcions to return "out" start and end offsets.
6376 Changed getAttributes to take and offset and return the start
6377 and end offset of the attribute run.
6378 Changed getOffsetAtPoint and getCharacterExtents to take an
6379 enum describing whether coordinates are window or screen.
6382 libspi/action.c libspi/action.h libspi/editabletext.c
6383 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6384 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6385 libspi/image.h libspi/selection.c libspi/selection.h
6386 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6387 libspi/value.c libspi/value.h
6388 Added server implementations for outstanding ATK interfaces
6389 not yet implemented.
6391 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6394 Added (missing) getName() method.
6395 Made nActions an attribute.
6396 * idl/EditableText.idl:
6397 Changed order of params in setAttributes.
6398 * idl/Hyperlink.idl:
6399 Removed getAnchor, added getURI.
6401 Changed attributes to methods, for efficiency
6402 (so that getting extents can be done in one call)
6403 * idl/Selection.idl:
6404 Changed nSelectedChildren to attribute, and re-indented.
6405 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6407 * idl/Text.idl: reformatted to match our coding style.
6408 (temporarily?) removed getRowColumnAtOffset().
6409 Changed text selection API to support multi-select and
6410 non-contiguous selections, as in ATK.
6411 * idl/Value.idl: changed some methods to attributes.
6413 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6415 * libspi/listener.c(impl_notify_event):
6416 BonoboUnkown_unref the source instead
6417 of bonobo_object_release_unref - the ORB
6418 handles the releasing.
6420 * configure.in: require ORBit-2.3.94 for
6423 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6425 Tagged CVS repository 'EA_1_0'.
6426 * README.EARLY_ACCESS:
6427 Alphabetized acknowledgements list, and
6429 Listed some known dependencies of at-spi.
6431 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6433 * docs/at-spi-docs.sgml:
6434 * docs/at-spi-sections.txt:
6435 * docs/at-spi-overrides.txt: (Added zero-length file)
6436 Documentation improvements - gtk-doc should build
6437 docs for all implemented C bindings now.
6440 * cspi/spi.c: (New file)
6441 * cspi/spi_event.c: (New file)
6442 * cspi/spi_registry.c: (New file)
6443 * cspi/spi_accessible.c: (New file)
6444 * cspi/spi_application.c: (New file)
6445 * cspi/spi_component.c: (New file)
6446 Split spi_main.c into six parts, and included them from
6447 "spi.c". This is a bit of a hack, probably temporary,
6448 but required by gtk-doc, apparently.
6450 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6453 * docs/at-spi-docs.sgml:
6454 * docs/at-spi-sections.txt:
6456 Initial checkins/modifications for gtk-doc generation.
6459 Added (missing) interface query methods to Accessible's C binding.
6461 Added GenericInterface type definition.
6463 Added query for AccessibleComponent interface to focus event handler.
6464 Added printout of bounding box for focussed component.
6465 * libspi/component.c:
6466 Added partial implementation for AccessibleComponent to C binding.
6467 * idl/Application.idl:
6468 * libspi/registry.c:
6469 * libspi/listener.c:
6470 * libspi/application.c:
6471 * libspi/application.h:
6472 Changed "ID" attribute type from string to long.
6474 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6478 Made method naming consistent: methods taking object args
6479 start with uppercase, other methods (except those using
6480 acronyms) start with lowercase. Underscores delimit between
6481 object names and method names:
6482 SPI_init() - uppercase since it starts with an acronym.
6483 getDesktopCount () - lowercase start since no object param0.
6484 Accessible_getName() - uppercase object type name, studlyCaps method
6488 Added gtk-doc documentation for all currently implemented
6489 methods in the C bindings API.
6491 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6493 * Makefile.am : changed build order to build test last.
6496 Changed "createEventListener" to "CreateEventListener".
6497 * libspi/accessibleeventlistener.c :
6498 Bugfix for addition of callbacks.
6499 * test/Makefile.am :
6500 * test/simple-at.c :
6501 Added new test that uses the C bindings API.
6503 * libspi/listener.c :
6504 * libspi/registry.c :
6505 * libspi/accessibleeventlistener.c :
6506 * at-bridge/bridge.c :
6507 Renamed member "target" of Accessibility_Event to "source",
6508 which is more descriptive.
6511 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6515 * cspi/Makefile.am :
6516 Added makefile support for at-spi/cspi directory.
6519 * cspi/spi-listener.h : (NEW FILE)
6520 Added support for/use of spi-listener.h.
6522 C bindings now build successfully, with no warnings.
6523 * libspi/accessibleeventlistener.h : (NEW FILE)
6524 * libspi/accessibleeventlistener.c : (NEW FILE)
6525 * libspi/Makefile.am :
6526 Added new object type "AccessibleEventListener"
6527 which inherits from Listener, and allows attachment
6528 of in-process callbacks (so that a client with a listening
6529 object instance can add functionality to the local
6530 implementation, dynamically).
6532 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6534 * libspi/accessible.c:
6535 Add implementation for get_index_in_parent().
6537 Added #include of "spi-roletypes.h", and
6538 added enumerated type AccessibleCoordType.
6539 Added definition for KeystrokeListener (function type).
6542 * cspi/spi-statetypes.h :
6543 * cspi/spi-roletypes.h :
6545 Added these headers, used by spi.h.
6547 Added code (NOTE: not yet built by make).
6549 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6551 * libspi/Makefile.am: generate imodule
6552 at the same time as other idl compiler
6555 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6556 * libspi/registry.c :
6557 * libspi/application.c :
6558 * idl/Application.idl :
6559 Made registration with toolkit an application method,
6560 which is required since each app has its own toolkit static
6561 environment. Thus the bridge must register for
6562 notification of toolkit events from each application in turn.
6563 Toolkit notifications are now successfully registered for, and
6564 sent to the listening at client.
6566 Changed toolkit event string to use hyphens rather than underscores.
6567 * libspi/listener.c :
6568 listner now gives more info in debug mode - it reports the
6569 name of the event received, as well as the name of the source.
6572 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6574 * libspi/registry.c :
6575 added more implementation for toolkit events.
6576 Fixed bug such that toolkit event registrations
6577 (via atk) use the whole event name string, not
6579 Removed a useless call to an ORBit_ method.
6580 * at-bridge/bridge.c :
6581 Removed unused local sbuf[] variable.
6583 We now register for Gtk:GtkWidget:button_press_event
6584 events as well as "focus:" events.
6586 Add some more API from Registry.idl that was missing,
6587 for keystroke listening, keystroke and mouse event
6588 synthesis, and enumeration of accessible desktops.
6590 2001-08-16 Michael Meeks <michael@ximian.com>
6592 * configure.in: use AM_GLIB_GNU_GETTEXT.
6594 * Makefile.am (SUBDIRS): kill intl.
6596 2001-08-15 Michael Meeks <michael@ximian.com>
6598 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6600 * configure.in: upd.
6602 * configure.in: depend on a recent bonobo-activation that
6603 will find our server files ...
6605 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6607 * libspi/accessible.c : accessible_new() :
6608 Now we add the Component interface via bonobo_object_add_interface,
6609 if the contained AtkObject implements AtkComponent.
6610 * libspi/accessible.h : now include "component.h"
6611 * libspi/component.h :
6612 * libspi/component.c : added files - implementation of
6613 bonobo wrapper object for Accessibility/Component
6614 * libspi/listener.c :
6615 Added test code to check for Accessibility/Component:1.0
6616 interface and report whether it is implemented by the
6618 * libspi/registry.c :
6619 Now we check for not only the hash of the whole event
6620 string before relaying the event, we also check the
6621 "minor" event string (without the detail string).
6622 This allows event listeners to be registered against
6623 all events of a certain major+minor type, or just
6624 against a specific major+minor+detail type.
6625 * libspi/accessible.c :
6626 Added implementations for Accessible:get_parent(),
6627 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6628 * libspi/registry.c :
6629 * libspi/listener.c :
6630 Replaced calls to Accessibility_Accessible_ref() and
6631 Accessibility_Accessible_unref() with
6632 calls to bonobo_object_dup_ref() and
6633 bonobo_object_release_unref(), so that the CORBA object
6634 is dup-ed and released when relayed, as well as the bonobo object.
6636 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6638 * libspi/Makefile.am,
6639 registryd/Makefile.am,
6640 at-bridge/Makefile.am.
6641 test/Makefile.am, configure.in:
6642 reverse previous changes.
6644 * /idl/Image.idl: fix typo.
6646 * test/Makefile.am: put DEBUG_FLAGS
6649 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6651 * test/app.c: use argv[0] instead of
6654 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6656 * libspi/Makefile.am,
6657 registryd/Makefile.am,
6658 at-bridge/Makefile.am.
6659 test/Makefile.am, configure.in:
6660 cleanup, replace individual LIBS/CFLAGS with
6661 AT_COMMON_{LIBS|CFLAGS}.
6665 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6667 * configure.in, libspi/Makefile.am:
6668 Change IDL path checking for bonobo-activation
6671 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6673 * registryd/registry.c : separated event listeners to use
6674 3 separate lists (focus, window, toolkit). Began testing
6675 event names against hashes before relaying events.
6676 * test/at.c : now register for events of type "focus:"
6677 * test/app.c : now generate events of type "focus:"
6678 * at-bridge/bridge.c : register with ATK for focus events,
6679 and we now relay those focus events to any "focus:" listeners.
6680 This now works with the bridge as a GTK_MODULE when running test/at.
6681 * libspi/registry.c :
6682 * libspi/listener.c :
6683 now we ref event sources before propagating, and unref on receipt.
6684 * libspi/registry.c :
6685 some changes to internal structs, to support event typestring hashes.
6686 * text/app.c : changed the way the appname is generated.
6687 * cspi : added directory that will hold the C bindings library for
6688 non-CORBA/bonobo-savvy clients.
6689 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6690 * idl/Component.idl : added in parameter to indicate coord system for
6691 geometry-related calls.
6692 * idl/Hyperlink.idl : added readonly n_links attribute
6693 * idl/Image.idl : changed methods to attributes.
6695 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6697 * at-bridge/Makefile.am: link against
6698 ../libspi/libspi.la instead of -lspi.
6700 * at-spi/test/app.c: include
6701 bonobo-activation.h. Use a default appname
6702 if one is not provided.
6704 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6706 * idl/Registry.idl : temporarily changed register_Application
6707 to oneway, to work around issue with initial registration
6709 * idl/Application.idl : changed attribute "id" from readonly
6710 to read-write, since it needs to be assigned by Registry.
6711 * registryd/registryd.c : added call to set application id
6713 * registryd/registry.c : changed de-registration procedure to
6714 use CORBA_Object_hash() to find matching object ref in application
6715 lists and listener lists.
6716 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6717 began distinguishing between event types (work in progress).
6719 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6722 * libspi/application.c:
6723 Added implementations for get/set id, get_toolkitName,
6725 * registryd/registryd.c :
6729 Converted from use of OAF to bonobo-activation.
6730 * libspi/desktop.h :
6731 * libspi/desktop.c :
6733 Removed references to atksimpleobject, since base atkobject
6734 implementation now provides functionality we need.
6735 * libspi/atksimpleobject.c :
6736 * libspi/atksimpleobject.h :
6741 * at-bridge/Makefile.am
6742 * at-bridge/bridge.c
6745 Added directory "bridge" and contents, and added dependencies
6746 in Makefile.am/configure.in.
6747 Initial checkin of "at-bridge".
6748 This code is a GTK_MODULE which automatically registers
6749 GTK+ apps with the accessibility registry, using an object
6750 reference to the root ATK object.
6752 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6754 * po/Makefile.in.in: Remove. Again. If this
6755 doesn't get autogenerated - you need to update
6758 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6760 * po/Makefile.in.in: Add. Again.
6762 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6764 * libspi/accessible.c : added support for 'description' property.
6765 * libspi/accessible.c
6767 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6768 (since the two are now equivalent in libbonobo)
6776 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6777 Bonobo::Unknown as does Accessibility::Accessible.
6778 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6779 interface with Bonobo::Stream, since it was redundant with it.
6780 (The Stream returned by a StreamableContext object is expected to
6781 implement only a subset of Bonobo::Stream)
6783 2001-07-28 Anders Carlsson <andersca@gnome.org>
6785 * libspi/accessible.c (accessible_object_finalize): Change
6786 g_free to g_object_unref since the AtkObject is a GObject.
6788 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6790 * idl/Accessibility.idl: add new IDL files
6793 * idl/Action.idl: Definitions of actionable UI object
6794 * idl/Component.idl: Definitions of UI component geometry, etc.
6795 * idl/Hyperlink.idl: Defs of hyperlink behavior
6796 * idl/Image.idl: Def of accessible image
6797 * idl/Selection.idl: Definition of UI object with selectable children
6798 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6799 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6800 * idl/Text.idl: Interface defs for UI elements with complex textual content
6801 * idl/Value.idl: Definition of UI element that is a value controller or display
6803 2001-07-27 Michael Meeks <michael@ximian.com>
6805 * po/Makefile.in.in: remove autogenerated file from CVS.
6807 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6810 * idl/Registry.idl: include guard.
6812 * idl/Accessibility.idl: Add, and include all the other IDL
6815 * idl/*.idl: remove mass of pragmas etc.
6817 2001-07-26 Michael Meeks <michael@ximian.com>
6819 * registryd/Makefile.am (registryd_SOURCES): remove
6822 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6824 * libspi/.cvsignore, registryd/.cvsignore,
6825 test/.cvsignore: updated.
6827 * po/Makefile.in.in: gettext update.
6829 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6831 * initial CVS checkin
6833 2001-06-29 Michael Meeks <michael@ximian.com>
6835 * configure.in: add AM_CONFIG_HEADER to gen config.h