1 2004-03-15 Bill Haneman <billh@gnome.org>
3 * configure.in: Revved to 1.3.16,
6 2004-03-15 Laszlo Peter <laca@sun.com>
8 * libspi-1.0-uninstalled.pc.in: new file
10 * cspi-1.0-uninstalled.pc.in: new file
12 * configure.in: add the new pc files to AC_OUTPUT
14 * Makefile.am: add the new pc files to EXTRA_DIST
16 2004-03-12 Bill Haneman <billh@gnome.org>
18 * atk-bridge/bridge.c:
19 (spi_atk_bridge_key_listener):
20 Make sure to return consumed=FALSE if snoop
21 event is not dispatched to listener.
24 2004-03-01 Bill Haneman <billh@gnome.org>
26 * configure.in: Revved to 1.3.15,
29 2004-03-07 Danilo Segan <dsegan@gmx.net>
31 * configure.in: Added "sr@ije" to ALL_LINGUAS.
33 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
35 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
37 2004-03-01 Bill Haneman <billh@gnome.org>
39 * configure.in: Revved to 1.3.14.
42 (SPI_exit): Removed "bye-bye" exit message.
43 Moved "leak" report to happen before the
44 iteration over the leaked refs list.
45 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
47 2004-02-24 Bill Haneman <billh@gnome.org>
49 * configure.in: Revved to 1.3.13.
51 * docs/reference/cspi/Makefile.am:
52 Correct typo that was breaking the docs build.
54 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
56 * autogen.sh: Require version 1.7 of automake.
58 * configure.in: call GTK_DOC_CHECK([1.0])
60 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
62 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
64 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
66 * test/Makefile.am: Remove use of CFLAGS.
68 This fixes bug #132987.
70 2004-02-11 Bill Haneman <billh@gnome.org>
72 * reverted most of Tomasz' patch below, since it was breaking
73 builds (see bug #134058).
75 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
77 * docs/reference/cspi/at-spi-cspi.types: added empty file for
78 correct pass "make dist" (empty .. because seems no sach types in
79 header files with gtk-doc markups).
80 * docs/reference/cspi/Makefile.am, configure.in:
81 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
82 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
84 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
85 for force correct pass generate documentation on "make distcheck".
86 * libspi/Makefile.am: fixes for automake >= 1.6.
87 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
88 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
91 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
93 * docs/reference/cspi/Makefile.am (install-data-local): Install
94 index.sgml since the doc autobuilder on widget.gnome.org looks for
97 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
99 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
102 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
104 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
106 2004-01-27 Brian Cameron <brian.cameron@sun.com>
108 * test/simple-at.c: Fixed null string problems that cause core
109 dumping problems on Solaris.
111 2004-01-12 Bill Haneman <billh@gnome.org>
113 * configure.in: Incremented version to 1.3.11.
115 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
117 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
118 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
121 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
123 * configure.in: Added "fa" to ALL_LINGUAS.
125 2003-12-20 Arafat Medini <lumina@silverpen.de>
127 * configure.in: Added "ar" to ALL_LINGUAS
129 2003-12-16 Bill Haneman <billh@gnome.org>
131 * registryd/registry-main.c:
133 Set the reg_env DISPLAY variable before registering the
134 activated registry service. Fixes bug #129479.
136 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
138 * configure.in: Added "id" in ALL_LINGUAS
139 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
141 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
143 * registryd/deviceeventcontroller.c (global_filter_fn):
144 When an event is consumed discard any XEvents were added to
145 the queue while dealing with the the event. This can happen if
146 processing of the event takes a long time. Call XUngrabKeyboard
147 if an event was discarded. This fixes bug $124837.
148 Only call wait_for_release_event for a KeyPress.
149 Use local variable display instead of spi_get_display().
150 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
153 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
155 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
156 Allow for mask to contain values other than NumLock mask.
159 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
161 * registryd/devieceventcontroller.c:
162 (wait_for_release_event): Change first parameter from GdkEvent to
164 (global_filter_fn); Correct call to wait_for_release_event.
168 2003-12-08 Bill Haneman <billh@gnome.org>
172 * registryd/ucs2keysym.c: New file.
174 * registryd/deviceeventcontroller.c:
175 (dec_keysym_for_unichar): Remove old partial implementation and
176 replace with call to ucs2keysym(), which is much more complete.
177 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
182 2003-12-05 Bill Haneman <billh@gnome.org>
184 * configure.in: Version 1.3.9.
186 * docs/reference/cspi/tmpl/spi_registry.sgml:
187 Added reference to libspi/keymasks.h to the
188 description of Registry queries: AccessibleKeyMaskType.
191 2003-12-04 Bill Haneman <billh@gnome.org>
195 * idl/Accessibility_Application.idl:
196 (Accessibility::LOCALE_TYPE): New enum, corresponds to
197 setlocale's LC_TYPEs.
198 (Accessibility::Application::getLocale): New method.
199 Allows clients to query the locale, by type, of an app.
202 * cspi/spi_application.c:
203 (AccessibleApplication_getLocale): New method, wraps IDL above.
205 * libspi/application.c:
206 (spi_application_class_init): Init epv entry for getLocale.
207 (impl_accessibility_application_get_locale): Impl for above.
209 * test/test-simple.c:
210 (test_application): Added assertion for getLocale, i.e.
211 that the string from AccessibleApplication_getLocale (app, type)
212 is the same as that from setlocale (type, NULL);
214 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
216 *registryd/deviceeventcontroller.c: Add an idle handler which polls
217 the keyboard on a timeout intil the key state goes from pressed to
218 released. Fixes bug #111429.
220 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
222 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
223 root object so that it is present when a context menu in an
224 out-of-process applet is popped up.
225 (spi_atk_bridge_do_registration): Create acceessible application root
226 object only if it does not exist.
228 This fixes bug #125834.
230 2003-12-01 Bill Haneman <billh@gnome.org>
232 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
235 Added enum for AccessibleStreamableContentSeekType.
236 (AccessibleStreamableContent_freeContentTypeList): New.
238 * cspi/spi_streamablecontent.c:
239 (accessible_bonobo_stream_client_seek): New private method.
240 (AccessibleStreamableContent_seek): Implemented this method,
241 using Bonobo_Stream_seek.
242 (AccessibleStreamableContent_freeContentTypeList): New method
243 for freeing the return value from
244 AccessibleStreamableContent_getContentTypes.
245 (stream_cache_item_free): Replaces stream_release; stop leaks.
246 (stream_release): removed.
247 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
248 free the memory properly.
250 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
254 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
256 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
258 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
260 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
262 2003-12-01 Bill Haneman <billh@gnome.org>
264 Fix for bug/rfe #127463.
266 * idl/Accessibility_Accessible.idl:
267 (getLocalizedRoleName): New.
268 (unimplemented4): Removed (replaced by above).
270 * libspi/accessible.c:
271 (impl_accessibility_accessible_get_local_role_name): New.
272 (spi_accessible_class_init): Add getLocalizedRoleName entry to
276 (Accessible_getLocalizedRoleName): New.
278 * cspi/spi_accessible.c:
279 (Accessible_getLocalizedRoleName): New.
281 2003-12-01 Bill Haneman <billh@gnome.org>
284 * idl/Accessibility_Text.idl:
285 (getDefaultAttributes): New.
286 (unimplemented4): Removed (replaced by above method).
289 (impl_getDefaultAttributes): New method.
290 (spi_text_class_init):
291 initialize the get_default_attributes slot in the epv.
294 (AccessibleText_getDefaultAttributes): New prototype.
297 (AccessibleText_getDefaultAttributes): New method.
299 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
301 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
302 write beyond the end of the table. Fixes bug #120473.
304 2003-09-30 Christian Rose <menthos@menthos.com>
306 * configure.in: Added "eu" to ALL_LINGUAS.
308 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
310 * configure.in: ALL_LINGUAS: Added no.
312 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
314 * configure.in: Added lt to ALL_LINGUAS.
316 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
318 * atk-bridge/bridge.c:
319 (atk_bridge_init): Register event listeners always even for
320 out-of-process applet.
321 (spi_atk_bridge_toplevel_added): Remove call to
322 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
323 (spi_atk_bridge_toplevelk_removed): Remove call to
324 spi_atk_deregister_event_listenersa as the listeners are now always
326 (spi_atk_bridge_register_application): Remove call to
327 spi_atk_register_event_listeners as it is not done in atk_bridge_init
329 This fixes bug #120991.
331 * libspi/table.c (impl_getColumnDescription): Correct typo,
332 pointed out by Bolian.Yin@sun.com.
334 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
336 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
338 2003-09-08 Bill Haneman <billh@gnome.org>
340 * configure.in: Revved to 1.3.7.
342 This is the GNOME 2.4.0 release of at-spi.
344 * docs/reference/cspi/Makefile.am:
345 Removed spurious inclusion of 'index.sgml' in the
346 html directory; this was breaking make distcheck and
347 also some other build environments.
349 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
351 * registryd/registry.[ch}:
352 Add queue_handler_id and focus_object to SpiRegistry data structure.
353 (registry_flush_event_queue): If event being discarded is
354 "state-change:focused" store object as focus_object.
355 (registry_start_queue): Remove queue handler and focus object
357 (registry_discard_event): New function which discards a focus event
358 if we had stored focus object in the registry.
359 (registry_queue_event): Add new check that is_queueing is set as this
360 function is reentrant.
361 (registry_filer_event): Add call to registry_discard_event.
363 This resolves issues raised in bug #108664.
365 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
367 * configure.in: Added "bn" to ALL_LINGUAS.
369 2003-09-04 Bill Haneman <billh@gnome.org>
371 * cspi/spi_event.c: Documentation improvements for
372 (SPI_registerAccessibleKeylistener).
374 * docs/reference/tmpl/spi_registry.sgml:
375 Documentation improvements for SpiAccessibleKeylistenerCB.
377 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
379 * configure.in: Added "ro" to ALL_LINGUAS.
382 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
384 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
385 not decremented to zero. Fixes bug #120725.
387 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
389 * configure.in: Added "ja" to ALL_LINGUAS.
391 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
393 * configure.in: Added "is" to ALL_LINGUAS.
395 2003-08-22 Christian Rose <menthos@menthos.com>
397 * configure.in: Added "nl" to ALL_LINGUAS.
399 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
401 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
402 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
404 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
406 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
407 type for unspecified exception.
408 * cspi_streamablecontect): Add include of string.h for memcpy.
409 (stream_release): Correct call to bonobo_object_release_unref
410 (stream_cache_item_free): Correct call to bonobo_object_release_unref
411 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
412 argument of _cspi_expection_throw.
413 * libspi/hyperlink.c: Add include of libspi/action.h:
414 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
415 * libspi/streamablecontent.c: add include of libspi/component.h.
416 * regisrtyd/deviceeventcontroller.c:
417 (spi_dec_translate_mask): Removed unused variable priv.
418 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
419 * registryd/registry.c:
420 (registry_filter_event): Remove unused variable queue_is-empty.
421 (impl_registry_notify_event): Use correct modifier in fprintf call.
423 This fixes compiler warnings reported in bug #120220.
425 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
427 * registryd/registryd.c: Remove this file.
429 2003-08-17 Sanlig Badral <badral@openmn.org>
431 * configure.in: Added mn to ALL_LINGUAS.
433 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
435 * configure.in: Added et to ALL_LINGUAS.
437 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
439 * test/event-listener-test.c: Change active-descendant to
440 active-descendant-changed.
442 2003-08-10 Sami Pesonen <sampeson@iki.fi>
444 * configure.in: Added "fi" in ALL_LINGUAS.
446 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
448 * configure.in: Added "hi" in ALL_LINGUAS.
450 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
452 * configure.in: Revved to 1.3.6.
456 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
458 * registryd/deviceeventcontroller.c
459 (spi_device_event_controller_object_finalize): Fix typo in previous
462 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
464 * registryd/deviceeventcontroller.c
465 (spi_device_event_controller_object_finalize): Fix build on
466 systems without XEvIE.
468 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
470 * acconfig.h, configure.in, registryd/Makefile.am,
471 registryd/devicecontoller.[ch]: Add XEViE support.
473 2003-08-06 Wang Jian <lark@linux.net.cn>
475 * configure.in: Added "zh_CN" to ALL_LINGUAS.
477 2003-08-06 Metin Amiroff<metin@karegen.com>
479 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
481 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
483 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
484 MODIFIER_ALT in correct place.
486 This fixes part of bug #118114.
488 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
490 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
492 2003-07-28 Changwoo Ryu <cwryu@debian.org>
494 * configure.in: Added "ko" to ALL_LINGUAS.
496 2003-07-28 Ole Laursen <olau@hardworking.dk>
498 * configure.in: Added "da" to the commented out ALL_LINGUAS.
500 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
502 * configure.in: Added "sq" to ALL_LINGUAS.
504 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
506 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
508 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
510 * configure.in: updated ALL_LINGUAS list
512 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
514 * configure.in: Added Belarusian to ALL_LINGUAS.
516 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
518 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
520 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
521 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
523 This fixes bug #116949.
525 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
527 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
528 Correct CSPI to SPI in function documentation.
530 This fixes bug #118054.
532 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
534 * configure.in: Added Russian to ALL_LINGUAS.
536 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
538 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
540 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
542 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
544 2003-07-10 Joel Brich <joel.brich@laposte.net>
546 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
548 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
550 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
552 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
554 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
555 resources allocated for AccessibleEvent. See cspi_event().
557 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
558 static variable streams to NULL.
560 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
561 Update so that AcessibleEvent_ref will work.
563 This fixes bug #116624.
565 2003-07-06 Jordi Mallach <jordi@sindominio.net>
567 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
569 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
571 * configure.in: Added "fr" (French) to ALL_LINGUAS.
573 2003-07-02 Christian Neumair <chris@gnome-de.org>
575 * configure.in: Added "de" (German) to ALL_LINGUAS.
577 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
579 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
581 2003-07-01 Miloslav Trmac <mitr@volny.cz>
583 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
585 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
587 * configure.in: Added "pl" to ALL_LINGUAS.
589 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
591 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
593 2003-06-30 Bill Haneman <bill.haneman@sun.com>
596 (get_action_from_servant):
597 Removed assertion that action is implemented on an AtkObject.
599 * libspi/hyperlink.c:
601 Aggregate AccessibleAction interface on the hyperlink object if
602 the object implements AtkAction. (This convention is used in
605 2003-06-30 Bill Haneman <bill.haneman@sun.com>
607 * configure.in: Revved to 1.3.5.
609 * registryd/Accessibility_Registry.server.in.in:
610 Marked up appropriate strings for translation.
612 * atk-bridge/bridge.c: Marked a couple of
613 user-visible warnings for translation. Questionable
614 whether they are really useful, but possibly so.
617 2003-06-28 Christian Rose <menthos@menthos.com>
619 * configure.in: Added "sv" to ALL_LINGUAS.
621 2003-06-26 Bill Haneman <bill.haneman@sun.com>
623 * registryd/registry.c:
624 (spi_registry_object_finalize): Unref the deviceeventcontroller.
625 (registry_defer_on_event): Defer focus: events, this is an
626 improvement to the patch for bug #108664.
628 * TODO: Update with 2.4/"Dev Complete" items.
630 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
632 * atk-bridge/bridge.c:
633 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
634 looks up signals once.
635 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
636 if doing registration.
637 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
638 when doing registration.
640 This fixes bug #115014.
642 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
644 * atk-bridge/bridge.c:
645 (atk_bridge_init): Add signal handler for children-changed:remove on
646 root when in a BonoboComponent.
647 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
648 for first toplevel only other incrememt variable toplevels.
649 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
650 application and remove listeners.
651 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
653 (spi_atk_deregister_event_listeners): New function which removes
655 (reinit_register_vars): New fuction which reinitializes variables.
657 This fixes bug #111578.
659 2003-06-13 Bill Haneman <bill.haneman@sun.com>
661 * configure.in: version 1.3.4.
663 * cspi/spi_accessible.c:
664 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
667 2003-06-13 Michael Meeks <michael@ximian.com>
669 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
671 * cspi/spi_main.c (cspi_peek_ev): impl.
673 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
675 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
677 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
679 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
680 SPI_ROLE_AUTOCOMPLETE
682 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
684 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
685 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
687 2003-06-11 Bill Haneman <bill.haneman@sun.com>
689 * libspi/streamablecontent.h:
690 * libspi/streamablecontent.c:
691 New files, provide implementation/wrappers for
692 Accessibility_StreamableContent.
694 * cspi/spi_streamablecontent.c:
695 Connected the C wrappers to the libspi C bindings.
696 (AccessibleStreamableContent_close): New method.
699 (AccessibleStreamableContent_close): New method, needed
700 since we have an "open, [seek], read, close" model in cspi.
702 2003-06-11 Bill Haneman <bill.haneman@sun.com>
704 Fix for #108664; Padraig's revision of my original patch.
706 * registryd/registry.h:
707 Added event queue list, is_queuing, and exit_notify_timeout
708 to the registry struct.
710 * registryd/registry.c:
711 (registry_init): Initialize new struct from registry.h.
712 (impl_registry_notify_event):
713 Filter events before notifying, in case some need to be
715 (registry_filter_event): New,
716 we defer certain incoming events (for instance
717 window:deactivate) because we may wish to hide
718 or reject them based on pending events. This is
719 mostly a workaround for bug #108664.
720 (registry_queue_event, registry_start_queue): New.
721 (registry_defer_on_event): Test event to see if it
723 (registry_reset_on_event): Returns TRUE if the
724 event should cause a queue reset.
725 (registry_discard_on_event): Returns TRUE if the event
726 should cause the previous queue contents to be discarded.
727 (registry_timeout_flush_queue): Flushes the pending event
728 queue if no reset/discard-triggering events have come in
729 within the timeout period.
730 (registry_emit_event): New.
731 (registry_clone_notify_context): New, used when queueing the
732 event notify contexts.
734 2003-06-10 Bill Haneman <bill.haneman@sun.com>
736 * configure.in: Version revved to 1.3.2, lt 0.9.2
737 Incremented ATK required version to 1.3.4.
739 * cspi/spi_registry.c:
740 (SPI_generateKeyEvent):
741 We now pass the keystring along if it's non-null.
743 * registryd/deviceeventcontroller.c:
744 (keysym_mod_mask): New method, returns modifier mask
745 required to generate a keysym from a given keycode.
746 (dec_synth_keysym): New method.
747 (dec_synth_keystring): New method.
748 (dec_get_modifier_state): New method.
749 (dec_lock_modifiers): New
750 (dec_unlock_modifiers): New.
751 (dec_keysym_for_unichar): New, rather brute-force
752 conversion from UCS-4 to X KeySyms. Only works for
753 Latin at the moment, with partial implementations for
754 Greek, Hebrew, and (incomplete) Katakana.
755 (impl_generate_keyboard_event): Now implement
756 "KEYSTRING" synthesis and implement "KEYSYM"
758 (keycode_from_keysym): Improved, passes a returned
759 modmask value now if the corresponding param is non-NULL.
761 Fixes bugs #92143 and #109776.
764 * test/keysynth-test.c:
765 New test program for key synthesis, to confirm fixes for
769 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
771 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
773 * cspi/spi_accessible.c (cspi_init_relation_type_table):
774 Add line for RELATION_POPUP_FOR
776 * docs/reference/cspi/tmpl/spi_relation.sgml:
777 Add relation SPI_RELATION_POPUP_FOR
779 * docs/reference/cspi/tmpl/spi_stateset.sgml:
780 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
782 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
784 * libspi/relation.c (spi_init_relation_type_table):
785 Add line for RELATION_POPUP_FOR
787 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
789 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
790 there are still windows which have not been deleted and emit
791 window:deactivate, if necessary and window:destroy events.
792 This fixes bug #114370. The change on June 5th was not correct.
794 2003-06-09 Bill Haneman <bill.haneman@sun.com>
796 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
799 (SPI_dupString): Allow dup-ing of a string such that it's safe to
801 New methods for client exception handling and interception.
802 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
803 (SPI_exceptionHandlerPop): You guessed it...
804 (SPI_getSourceType): Return the type of object which offended.
805 (SPI_getExceptionCode): Return an enum code telling, possibly,
806 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
807 (SPIAccessibleException_getSource): get the source object for
808 exceptions that come from Accessibles, if SPIExceptionSourceType is
809 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
810 (SPIException_getDescription): New, returns a string description of
811 the problem. [Not yet a stable ABI, strings are not frozen]
813 * cspi/spi-private.h:
814 Added implementation details of opaque SPIException
818 Implementations of above. Also
819 (_cspi_exception_throw): new private method that
820 dispatches exceptions to handlers, called from cspi-bonobo.c
822 * cspi/bonobo/cspi-bonobo.c:
823 (cspi_check_ev): call _cspi_exception_throw.
824 Don't print a warning message if the exception has been
825 handled by _cspi_exception_throw.
827 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
829 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
830 there are still windows which have not been deleted and emit
831 window:deactivate, if necessary and window:destroy events.
832 This fixes bug #114370.
834 2003-06-03 Bill Haneman <bill.haneman@sun.com>
837 (cspi_accessible_is_a): Make non-fatal
838 if the object reference is dead.
840 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
842 * cspi/spi_main.c: #include <stdio.h>
843 * test/simple-at.c: ditto
844 * test/event-listener-test.c: ditto
845 * test/screen-review-test.c: ditto
847 2003-05-30 Michael Meeks <michael@ximian.com>
849 * test/test-simple.c (main): use CORBA_ORB_perform_work
850 instead of an unnecessary linc_ call.
852 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
854 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
855 Add SPI_STATE_INDETERMINATE.
857 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
860 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
862 * libspi/stateset.c (init_state_type_tables): Add support for
865 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
867 * configure: Update versions of atk and gail required.
868 This fixes bug #113268.
870 2003-05-02 Bill Haneman <bill.haneman@sun.com>
872 * configure.in: Revved micro version to 1.3.1 (because of build fix).
874 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
876 * libspi/Makefile.am:
877 Ensure headers are generated before being used by c sources.
879 2003-05-01 Bill Haneman <bill.haneman@sun.com>
882 Simplified lt versioning rules.
883 Incremented version to 1.3.0, to indicate that we're on the
886 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
888 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
889 Add MKDB_OPTIONS=--outtput-format=xml
891 * docs/reference/cspi/at-spi-cspi-docs.sgml
892 docs/reference/idl/at-spi-idl-docs.sgml:
893 Convert to Docbook XML.
895 This fixes bug #111793.
897 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
899 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
900 AcccessibleKeyEventType, AccessibleKeyMaskType.
902 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
904 * cspi/state-types.h: Add documentation for AccessibleState.
906 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
907 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
908 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
909 AccessibleComponentLayer.
911 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
914 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
916 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
917 Accessible. Add description of AccessibleEvent,
918 AccessibleEventListenerCB.
920 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
923 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
924 documentation. Add description of AccessibleKeystrokeListenerCB,
925 AccessibleKeyEventMask, AccessibleModifierMaskType,
926 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
927 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
929 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
932 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
935 This fixes bug #104730.
937 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
939 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
940 Set is_text field of Accessibility_DeviceEvent data structure.
942 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
943 is-text field of AccessibleDeviceEvent data structure.
945 This addresses part of bug #108666.
947 * registryd/devcieeventcontroller.c: Unset debug option.
949 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
952 (cpi_initial_relation_type_table): New function which initializes
953 mapping between Accessibility_RelationType and AccessibleRelationType.
954 (cspi_relation_type_from_spi_relation_type): New function which
955 translates an Accessibility_RelationType into an AccessibleRelationType.
956 (AccessibleRelation_getRelationType): Use
957 cpi_relation_type_get_spi_relation_type to return correct value.
958 (spi_state_to_corba): Return correct type for default case.
960 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
961 Use Accessibility_EventType instead of Accessibility_KeyEventType.
963 * cspi/cspi-bonobo-listener.c:
964 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
967 * libspi/accessible.c, libspi/action.c, libspi/application.c,
968 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
969 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
970 libspi/image.c, libspi/listener.c, libspi/selection.c,
971 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
972 registryd/desktop.c, registryd/registry.c:
973 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
975 * libspi/eventlistener.c
976 Remove semicolon after BONOBO_TYPE_FUNC.
979 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
980 (spi_init_relation_type_table): Initialize using correct type.
982 * registryd/desktop.c:
983 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
984 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
985 of Accessibility_KeyEventType.
987 * test/key-listener-test.c (report_tab_key_event): Use fprintf
990 * tests/simple-at.c, tests/screen-review-test.c:
991 Add include for <strings.h>.
993 * tests.stress-test.c:
994 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
996 These changes fix compiler warnings when using FORTE compiler on
997 Solaris; fixes bug #107479.
1000 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1003 * configure.in: revved to 1.1.10
1005 * libspi/keymasks.h:
1006 (SPI_KEYMASK_NUMLOCK): Added.
1008 * registryd/deviceeventcontroller.c:
1009 (spi_key_event_matches_listener): AND with a smaller
1010 bitmask (as we should).
1011 (spi_dec_translate_mask):
1012 New method, sets the virtual NumLock modifier bit
1013 if numlock is on. Eventually it can handle other virtual
1014 modifier bits if needed, or other marshalling from
1015 at-spi modifier masks to platform (X) masks.
1016 (spi_dec_key_listener_new):
1017 Call spi_dec_translate_mask to set up virtual mod bits
1018 in the 'mask' field when creating a new listener struct.
1019 (spi_dec_emit_modifier_event):
1020 Set the virtual (i.e. NumLock) bits before emitting event.
1021 (spi_controller_register_with_devices):
1022 Query for the NumLock modifier 'physical' bit if Xkb is
1023 present, for use in above methods.
1027 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1029 * registryd/deviceeventcontroller.c:
1030 (spi_keystroke_from_x_key_event):
1031 Instead of checking to see if the keysym is
1032 printable, check the string from XLookupString
1033 if available, get the first unicode character from it,
1034 and call g_unichar_isprint to determine whether the
1035 is_text flag should be TRUE or FALSE.
1039 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1041 * atk-bridge/bridge.c: Add support for extended events
1042 * cspi/spi_event.c: Add documentation and implementation for
1044 * tests/event-listener-test.c: Add tests for extended events.
1046 This fixes bugs #100424 and #100426.
1048 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1050 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1051 of LT_CURRENT. This fixes bug #89350.
1053 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1055 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1056 number of signal parameter values before accessing them. This fixes
1059 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1061 * configure.in: Fixed duplicate inclusion of -lspi.
1062 * branched for gnome-2-2/HEAD.
1063 [created tag "gnome-2-2"]
1065 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1067 * configure.in: 1.1.9 release.
1070 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1072 [needed by GOK, to fix bugs 107985 and 107988]
1073 * registryd/deviceeventcontroller.c:
1074 (spi_dec_clear_unlatch_pending):
1075 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1076 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1077 (spi_dec_init_mouse_listener):Emit warning if mouse button
1079 (spi_device_event_controller_forward_mouse_event):
1080 Removed unnecessary parens from a conditional.
1081 (global_filter_fn):Added TODO comment.
1082 (impl_generate_keyboard_event):
1083 Cancel a pending relatch if a 'delatching' key was
1086 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1088 * atk-bridge/bridge.c:
1089 Change atk_signal_child_changed to atk_signal_children_changed.
1090 Reorganize code in spi_atk_bridge_signal_listener().
1092 * test/event-listener-test.c:
1093 Add children_changed_listener and report_children_changed_event()
1094 to test AccessibleChildEvent_getChildAccessible.
1096 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1098 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1099 g_strdup to CORBA_String_dup (bug #105291)
1101 * test/event-listener-test.c (report_text_event): Add call to
1104 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1106 * registryd/deviceeventcontroller.c:
1107 (spi_keystroke_from_x_key_event):
1108 Fix string and keysym return codes to match modifier state.
1111 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1113 * registryd/deviceeventcontroller.c:
1114 (spi_keystroke_from_x_key_event):
1115 Fix segv due to improper use of isprint(c). [bug #107254]
1117 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1120 (get_accessible_text_boundary_type):
1121 Move default return value to (new) default case in switch.
1122 (get_accessible_text_clip_type):
1123 Move default return value to (new) default case in switch.
1125 * libspi/application.c:
1126 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1127 Remove unused methods.
1128 (impl_accessibility_application_register_object_event_listener):
1129 Remove unused methods.
1132 Added #include of <math.h>.
1134 * registryd/deviceeventcontroller.c:
1135 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1136 we don't currently use this method.
1137 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1139 (impl_generate_key_event):
1140 Remove unused variables.
1141 (impl_generate_mouse_event):
1142 Initialize button to zero, just in case we get an invalid
1143 input. Added support for mouse buttons 4 and 5.
1144 (spi_device_event_controller_new):
1145 Removed unused variable declaration for 'private'.
1147 Added #include of <gdk/gdk.h>
1149 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1151 * configure.in: Update to work when X is not installed in expected
1152 location. Fixes bug #105836.
1154 * atk-bridge/bridge.c
1155 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1157 (spi_atk_register_event_listener): Add signal listener for
1159 (spi_atk_bridge_signal_listener): Event event when link-selected
1160 signal is emitted. (bug #104622)
1162 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1163 on returned string. (bug #105291)
1165 * test/event-listener-test.c: Add test for link-selected.
1167 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1169 * atk-bridge/Makefile.am: Correct typo in previous commit.
1171 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1173 * atk-bridge/Makefile.am: Allow for build directory to be different
1174 from source directory
1176 * registryd/Makefile.am: Allow for build directory to be different
1177 from source directory
1181 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1184 Fixed dependencies for libcspi so that libspi gets pulled in
1185 properly. Fixes 104741.
1189 Clean up inline docs a little.
1191 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1193 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1194 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1195 the AtkObject within an SpiDesktop.
1196 This addresses bug #101524.
1198 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1199 Remove call to gdk_init().
1201 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1202 so that Display is set when SpiDesktop is created.
1204 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1206 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1207 This fixes bug #102830.
1209 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1211 * test/test-simple.c: Update to take account of fact that GailButton
1212 now implements AtkText.
1213 (create_text_window): Set name on AtkObject for GtkEntry.
1214 (validate_accessible): Check accessible name before calling test_text().
1216 * libspi/Makefile.am: Fix problem with building outside of source
1217 directory. Bug #98120.
1219 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1220 typo in documentation comments. Bug #94275.
1222 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1224 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1226 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1229 Add includes to avoid compiler warnings on Solaris.
1230 (impl_getRangeExtents): Bug fix.
1232 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1234 Fix for 100944, [API addition approved by Gman and murrayc].
1241 * idl/Accessibility_Text.idl:
1242 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1243 (Text::getRangeExtents): New method for efficient
1244 bounds query of a text range.
1245 (Text::getBoundedRanges): New method for efficient
1246 clipping of text to bounding boxes.
1247 (unImplemented7, unImplemented8):
1248 Removed these padding methods to preserve bincompat.
1251 (impl_getRangeExtents): implementation of new IDL.
1252 (impl_getBoundedRanges): implementation of new IDL.
1253 (SpiTextRect): Internal use struct.
1254 (_spi_text_rect_union): internal method, calculates union of two
1255 SpiTextRect bounding rects.
1256 (_spi_text_range_seq_from_gslist): internal method, allows us
1257 to build our sequence efficiently as a gslist then convert it
1259 (_spi_bounds_contain): internal method, determines whether
1260 a text character is "in" or "out" of a clip rect according to
1261 values of TEXT_CLIP_TYPE.
1262 (spi_text_class_init): Initialize the new methods in the epv.
1265 (AccessibleTextClipType): New enum used by screen review api.
1266 (AccessibleTextRange): New struct used by screen review api.
1267 (AccessibleText_getRangeExtents):
1268 cspi binding for Accessibility_Text_getRangeExtents.
1269 (AccessibleText_getBoundedRanges):
1270 cspi binding for Accessibility_Text_getBoundedRanges.
1271 (AccessibleTextRange_freeRanges): convenience method.
1274 (AccessibleText_getRangeExtents):
1275 cspi binding for Accessibility_Text_getRangeExtents.
1276 (AccessibleText_getBoundedRanges):
1277 cspi binding for Accessibility_Text_getBoundedRanges.
1278 (AccessibleTextRange_freeRanges): convenience method.
1279 (get_accessible_text_clip_type): internal conversion method.
1280 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1282 * registryd/deviceeventcontroller.c:
1283 (spi_dec_mouse_check):
1284 Improved behavior for mouse:abs events
1285 [same granularity as mouse:rel events, and no
1286 events when mouse is idle].
1288 2002-12-16 Michael Meeks <michael@ximian.com>
1290 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1292 * libspi/stateset.c (state_spi_to_atk): split out
1293 ( fix several remote array bounds nasties )
1294 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1295 (impl_remove): make safe from array bounds issues.
1296 (spi_atk_state_from_spi_state): impl.
1298 * libspi/stateset.h (spi_state_set_cache_is_empty):
1299 add a set of wrapper defines to get layering right.
1301 * cspi/spi_accessible.c: update state set stuff to
1304 2002-12-14 Michael Meeks <michael@ximian.com>
1306 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1307 to avoid 2 roundtrips to the registry per key event
1308 (spi_atk_bridge_key_listener): upd.
1309 (deregister_application): release the dec.
1311 * registryd/registry.c (notify_listeners_cb):
1312 bin lots of re-enterant complexity - we no longer
1313 do a round-trip bonobo ref here, ensure that a single
1314 listener's exception failure won't poison all other
1316 (impl_registry_notify_event): bin obvious memory leak.
1318 2002-12-13 Michael Meeks <michael@ximian.com>
1320 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1321 init the ev so the error is meaningful.
1322 (spi_atk_bridge_key_listener): ditto.
1324 * cspi/spi_main.c (cspi_ev): init the ev so we start
1325 with a clean slate, otherwise the first exception
1326 kills us completely.
1328 * cspi/spi_text.c (get_accessible_text_boundary_type):
1329 add a fallthrough for no warnings.
1331 * cspi/spi_registry.c: prune unused warnings.
1333 * cspi/spi_main.c (cspi_object_take): fix
1334 mind-blowing brokenness ( by watching the compile
1337 * cspi/spi_accessible.c (Accessible_getStateSet):
1338 re-impl. to use an AtkStateSet.
1339 (spi_state_type_from_accessible_state),
1340 (init_state_table): bin these.
1342 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1344 (atk_state_set_from_accessibility_state_set): here.
1346 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1347 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1348 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1349 (AccessibleStateSet_add, AccessibleStateSet_remove),
1350 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1351 (AccessibleStateSet_isEmpty): re-write to use a local
1354 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1356 * configure.in: Revved to 1.1.7 (new keymask vals).
1358 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1360 * libspi/keymasks.h:
1361 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1363 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1366 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1367 to compare two CORBA_TypeCodes.
1368 (cspi_internal_event_add): Silence warning from FORTE compiler.
1370 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1371 avoid implicit declaration of functions.
1373 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1375 * atk-bridge/bridge.c:
1376 (spi_atk_bridge_init_event_type_consts): Store signal id for
1377 active-descendant-changed signal.
1378 (spi_atk_register_event_listeners): Add signal listener for
1379 active-descendant-changed signal,
1380 (spi_atk_bridge_signal_listener): Move code in function
1381 spi_atk-signal_emit_event() into this function.
1382 Add support for active-descendant-changed
1383 Update support for child-changed signal.
1384 (spi_bridge_window_event_listener): Silence warning.
1386 * libspi/spi_private.[ch]:
1387 (spi_init_any_object): Change second parameter from CORBA_Object to
1389 Omit call to CORBA_Object_duplicate().
1390 Set CORBA_any's _value to CORBA_Object*.
1392 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1398 (AccessibleEvent_ref, AccessibleEvent_unref):
1399 New methods, for persisting an event outside the emission context.
1400 Must be used if the new accessor methods are to be called
1401 outside of the event listener's callback.
1403 * cspi/bonobo/cspi-bonobo.c:
1404 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1405 as second parameter instead of NULL, so we can call
1406 cspi_check_ev afterwards.
1409 (cspi_object_take): New internal method,
1410 converts a CORBA_Object reference to a hard ref on
1411 an Accessible if possible, returning NULL if the object
1412 reference is invalid or an Accessible * otherwise.
1415 (AccessibleEvent_ref):
1416 Increment the event's internal private refcount, and
1417 add the event's internal struct to an internal cache
1418 if it's not already there.
1419 (AccessibleEvent_unref):
1420 Decrement the event's refcount and remove it from
1421 the cspi event cache if refcount==0.
1422 (cspi_event_compare): New private method.
1423 Compares two event structs via their ids. Used
1425 (cspi_internal_event_lookup): New private method.
1426 (cspi_internal_event_check): New private method,
1427 a 0-order sanity check for events to make sure their
1428 private data is intact.
1429 (cspi_internal_event_add, cspi_internal_event_remove):
1430 New private methods for managiing the event cache.
1432 * cspi/bonobo/cspi-bonobo-listener.c:
1434 Initialize the new private data elements (id, magic, ref_count).
1436 * atk-bridge/bridge.c:
1437 (spi_atk_bridge_signal_listener):
1438 Fixed bug #100530, passing wrong params to emission func.
1440 * registryd/deviceeventcontroller.c:
1441 (spi_dec_button_update_and_emit):
1442 Fixed type in mask bit operations; fix for #99799.
1444 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1446 Removed some of the more dangerous workarounds from
1447 previous commit; they are only needed by GOK, which
1448 in reality should be using another method to accomplish
1449 the goals. So on reconsideration some of the workarounds
1450 need to be reverted:
1452 * registryd/deviceeventcontroller.c:
1453 (spi_keycodes_contain, spi_dec_init_keycode_list):
1454 Removed these methods, used only by a nasty hack to try
1455 and detect whether a key synthesis should be allowed
1456 to reset the XKB latch state or not. This code was only
1457 required to work around an interaction between GOK,
1458 button events, and XKB.
1459 (impl_generate_key_event):
1460 Removed hack at end of key generation that tried to
1461 "do the right thing" if XKB latch keys were generated
1462 in the midst of button press/release pairs.
1465 Added a check for HAVE_XINPUT. Not normally used yet.
1467 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1469 Workarounds and fixes for mouse event/XKB interaction.
1471 * registryd/deviceeventcontroller.c:
1472 (spi_keycodes_contain, spi_dec_init_keycode_list):
1473 New internal methods.
1474 (spi_dec_set_unlatch_pending):
1475 Split the method that tells XKB to expect an
1476 unlatch (and revert it) out of the rest of the
1477 event handling code. This method is called by the
1478 two mouse event handlers (the poll and the filter).
1479 (spi_dec_update_and_emit, spi_dec_mouse_check):
1480 New methods split from spi_dec_poll_mouse_moved.
1481 The second one is now called from inside the filterFn
1482 when an XKB delatch event is received, to determine
1483 whether to revert the delatch or not.
1484 (spi_poll_mouse_moved): Refactor; also we can now
1485 properly handle the case where multiple button states
1486 have changed between polling cycles and we didn't get
1487 notified due to another client's grab.
1489 Synchronize the server while handling an XKB notification.
1490 Ugly, but apparently necessary to avoid nasty races.
1491 Check the mouse state on receipt of an XKB latch change,
1492 to decide whether to revert the latch or not. (Latches are
1493 reverted if there is an immediately preceding mouse button
1494 event that a client has consumed, in which case we don't want
1495 the user to see the side-effect of the event).
1496 (spi_device_event_controller_forward_mouse_event):
1497 Check for modifier events and fire before resetting mouse_mask_state,
1498 prevents losing modifier events.
1500 (impl_generate_keyboard_event):
1501 If we've just generated a keyboard event for a non-shift key,
1502 we don't want to revert the pending XKB latch.
1503 Otherwise, check the modifier state (via a call to
1504 spi_dev_mouse_check) and set the relatch mask to
1505 that state before returning.
1507 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1510 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1513 * atk-bridge/bridge.c:
1514 (spi_atk_register_event_listeners):
1515 Don't re-register for ATK events if the registry has died
1516 and the app needs to re-register; the ATK listeners are in
1517 process and doing so will cause duplicate emission.
1519 * registryd/deviceeventcontroller.c:
1520 (spi_poll_mouse_moved):
1521 Reformat the source, detect and emit multiple button-change
1522 events (i.e. if multiple buttons have changed between poll
1524 Add code to detect mouse-down events even when the pointer
1525 is grabbed; workaround for GOK bug 98420.
1526 (spi_controller_register_with_devices):
1527 Call XTestGrabControl with 'impervious' flag set to True,
1528 allows us to synthesize events and query the pointer even during
1529 an active grab by another client.
1530 (spi_device_event_controller_forward_mouse_event):
1531 Set the mouse_mask_state to the mouse_button_state from
1532 the intercepted event, to synchronize the grab listener with
1535 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1537 * cspi/spi_accessible.c:
1538 (AccessibleRole_getName):
1539 Added necessary strings for making this (deprecated)
1540 method work with the new role types.
1541 (init_role_table, role_table):
1542 Added definition of SPI_ROLE_APPLICATION.
1544 * libspi/spi-roletypes.h:
1545 Added SPI_ROLE_APPLICATION.
1547 * idl/Accessibility_Role.idl:
1548 Added ROLE_APPLICATION.
1550 * docs/reference/cspi/at-spi-cspi-decl.txt:
1551 Added SPI_ROLE_APPLICATION to docs.
1553 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1555 * cspi/spi_accessible.c
1556 (cspi_init_role_table): Do not write beyond end of role_table.
1557 (Accessible_getRole): Use correct type for value returned by
1558 Accessibility_Accessible_getRole().
1560 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1561 beyond end of role_table. (This fixes bug #98269)
1563 * libspi/application.c: Add include file spi-private.h for
1564 definition of spi_init_any_nil.
1566 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1570 * libspi/spi-private.h:
1571 Added DGB() macro, and extern int _dbg declaration.
1573 * registryd/registry.c:
1574 (definitions) storage for _dbg.
1575 (spi_registry_init):
1576 Get environment variable "AT_SPI_DEBUG".
1577 (spi_registry_set_debug):
1578 New method, to initialize _dbg value.
1579 (spi_listener_struct_new, spi_registry_object_finalize):
1580 (notify_listeners_cb):
1581 Changed fprintfs to use DBG and g_warning().
1583 * registryd/deviceeventcontroller.c:
1584 (_deregister_keygrab, spi_controller_register_device_listener):
1585 Changed debug/warning messages to use DBG macro.
1587 * libspi/listener.c:
1588 (impl_notify_event):
1589 Changed warning messages to use DBG macro and g_warning().
1591 * atk-bridge/bridge.c:
1592 (atk_bridge_init, spi_atk_bridge_get_registry):
1593 (spi_atk_bridge_exit_func):
1594 (spi_atk_bridge_property_event_listener):
1595 Changed status, warning, and error messages to use
1596 g_warning, g_message, and DBG macros.
1599 Read the state of the AT_SPI_DEBUG environment variable
1600 and set a local '_dbg' accordingly.
1602 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1604 FIXES for 98836, 98842, other bugs.
1607 Revved to 1.1.4, interface-age=4, binary-age=4.
1609 * registryd/deviceeventcontroller.c:
1611 Fixed crasher bug in last_mouse_pos initialization.
1613 * registryd/registry.c:
1614 (desktop_add_application, desktop_remove_application):
1615 Added (and then commented out) some support for
1616 object context marshalling. [TODO]
1618 * atk-bridge/bridge.c:
1619 (spi_atk_bridge_event_context_create):
1620 Commented out object context creation until it can
1621 be properly tested and debugged.
1623 * registryd/registry.c:
1624 (impl_registry_notify_event):
1625 Fixed crasher bug, we were calling
1626 spi_re_entrant_list_foreach () with an empty list.
1628 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1630 * idl/Accessibility_Action.idl:
1631 * idl/Accessibility_Component.idl:
1632 * idl/Accessibility_Desktop.idl:
1633 * idl/Accessibility_Event.idl:
1634 * idl/Accessibility_Hyperlink.idl:
1635 * idl/Accessibility_Image.idl:
1636 * idl/Accessibility_Relation.idl:
1637 * idl/Accessibility_Selection.idl:
1638 * idl/Accessibility_State.idl:
1639 * idl/Accessibility_Value.idl:
1640 Updated unimplemented slot count to minimum of
1641 four for all interfaces, for ABI freeze.
1643 * idl/Accessibility_EditableText.idl:
1644 * idl/Accessibility_Text.idl:
1645 Updated unimplemented slot count to six
1648 * idl/Accessibility_Registry.idl:
1649 Updated unimplemented slot count to six
1650 (also for DeviceEventController),
1653 * idl/Accessibility_Table.idl:
1654 Updated unimplemented slot count to eight,
1657 * idl/Accessibility_Event.idl:
1658 Added CORBA_any "any_data" member to Event struct.
1660 * idl/Accessibility_Event.idl:
1661 Added CORBA_any "any_data" member to Event struct.
1663 * atk-bridge/bridge.c:
1665 atk_signal_text_changed, atk_signal_child_changed,
1666 signal ids queried from gtype system.
1667 (AtkBridgeEventContextType): New enum.
1668 (AtkBridgeEventContextData): New struct.
1669 (AtkBridgeEventContext): New struct.
1670 (atk_bridge_init_event_type_consts):
1671 New method, initializes type contants for comparison
1672 prior to emit_eventv.
1673 (atk_bridge_event_context_init): New method,
1674 initializes a CORBA_any from an AtkBridgeEventContext.
1675 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1676 initialize the event.any_data struct.
1677 (spi_atk_bridge_event_context_create): New method,
1678 creates an AtkBridgeEventContext from signal/event info.
1679 (spi_atk_bridge_event_context_free): New method.
1680 (spi_atk_emit_eventv): Changed to take an
1681 AtkBridgeEventContext parameter. We now initialize
1682 the event.any_data member prior to notifying the
1683 Registry, via the AtkBridgeEventContext.
1684 (spi_atk_bridge_property_event_listener):
1685 (spi_atk_bridge_state_event_listener):
1686 Match emit_eventv signature.
1687 (spi_atk_bridge_object_event_listener):
1688 Match emit_eventv signature, and create an
1689 event context from the event details.
1690 Free the event context afterwards.
1691 (spi_atk_bridge_window_event_listener):
1692 Create an event context, pass it to the
1696 (AccessibleEvent_getContextString):
1697 (AccessibleEvent_getContextObject):
1698 New methods, allow query of AccessibleEvent objects
1699 for more context details (via the "any_data" member
1700 of the Event struct, above).
1703 Definitions for AccessibleEvent_getContextString
1704 and AccessibleEvent_getContextObject.
1706 * cspi/spi_listener.h:
1707 (InternalEvent): New struct.
1710 (AccessibleEvent_getContextString):
1711 (AccessibleEvent_getContextObject):
1712 Implementations of new methods, for obtaining
1713 additional context information from some event types.
1715 * cspi/spi_registry.c:
1716 (SPI_registerGlobalEventListener):
1717 Added mention of active-descendant-changed event in docs.
1719 * cspi/cspi-bonobo-listener.c:
1721 Marshal the any into the AccessibleEvent via
1724 * libspi/spi-private.h:
1725 #include <orbit/orbit.h>
1727 (spi_init_any_string):
1728 (spi_init_any_object):
1729 New convenience function declarations.
1733 (spi_init_any_string):
1734 (spi_init_any_object):
1735 New convenience function implementations.
1737 * registryd/deviceeventcontroller.c:
1738 (spi_poll_dec_mouse_moved):
1739 (spi_device_event_controller_forward_mous_event):
1740 Initialize any_data member of event.
1741 (spi_deregister_controller_device_listener):
1742 Fix incorrect param pass which was preventing deregistration.
1744 * registryd/registry.c:
1745 (desktop_add_application):
1746 (desktop_remove_application):
1747 Add object data to event's any_data before dispatch.
1749 Fix for error messages from GAIL.
1751 * test/event-listener-test.c:
1752 Test new ContextString and "any_data" API:
1753 (report_text_event): New method query and output context string.
1754 (main): register a new text listener with report_text_event
1757 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1759 Fixes for bugs 98127 and 97914.
1760 * cspi/spi-roletypes.h:
1761 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1763 * cspi/spi-statetypes.h:
1764 Added SPI_STATE_MANAGES_DESCENDANTS
1766 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1767 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1768 * cspi/spi_accessible.c:
1769 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1770 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1771 Accessibility_STATE_MANAGES_DESCENDANTS
1772 * libspi/accessible.c:
1773 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1774 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1775 As requested by Bill, I also cleaned up the alignment.
1776 * libspi/relation.c:
1777 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1778 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1779 * libspi/stateset.c:
1780 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1781 Accessibility_STATE_MANAGES_DESCENDANTS
1782 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1783 Document changes reflecting modifications to roles.
1784 * docs/reference/cspi/tmpl/spi_relation.sgml:
1785 Document changes reflecting modifications to relations.
1786 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1787 Document changes reflecting modifications to states.
1789 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1792 Revved to 1.1.3, interface-age=3, binary-age=3.
1793 Added REBUILD macro.
1796 Removed accessx-gui from the tests, since we have a nice
1797 keyboard accessibility capplet now :-)
1799 * test/keysynth-demo.c:
1800 (increment_scan): removed do-nothing default: case,
1803 * test/visual-bell.c:
1804 (main) : removed do-nothing default: case,
1807 * cspi/spi_action.c:
1808 (AccessibleAction_getKeyBinding_):
1809 Documented keybinding string format.
1813 (AccessibleText_getAttributes):
1814 Documented the text attribute string format.
1815 It's changed to use semicolon delimiters also,
1816 to prevent clashes with CSS attributes, but the old
1817 trick of looking for ", " strings will still work
1818 (as unreliably as ever). Fix for bug related to 97916.
1821 Include <cspi/bonobo/cspi-bonobo-listener.h>
1822 Fixes build warning.
1823 (SPI_freeAccessibleKeySet):
1824 (AccessibleKeystrokeListener_addCallback):
1825 (AccessibleKeystrokeListener_removeCallback):
1826 Modify to use AccessibleDeviceListener API internally,
1827 instead of AccessibleKeystrokeListener.
1829 * idl/Accessibility_Event.idl:
1830 Added two more empty slots to EventListener (for a total of four).
1832 * idl/Accessibility_Accessible.idl:
1833 Added four empty slots to Accessible interface.
1835 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1837 * idl/Accessibility_Registry.idl:
1838 (KeyEventType, EventType):
1839 Marked KeyEventType as deprecated; it duplicates
1840 functionality of EventType, which has been extended to
1841 include Mouse-button events.
1842 (KeyEventTypeSeq): defined in terms of EventType.
1843 (registerDeviceEventListener, deregisterDeviceEventListener):
1844 New methods, for managing listeners to device events,
1845 which potentially may consume them.
1848 Added definition for AccessibleDeviceListener.
1850 * cspi/spi-listener.h:
1851 (enum AccessibleDeviceEventType):
1852 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1853 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1854 for backwards compat.
1855 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1856 and typedef'd AccessibleKeystroke to it for back-compat.
1857 (AccessibleDeviceListenerCB):
1858 New function prototype typedef.
1861 (AccessibleDeviceEventMask): New typedef.
1862 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1863 (AccessibleKeyMaskType):
1864 Set equivalent to AccessibleModifierMaskType for back-compat.
1865 (SPI_createAccessibleKeystrokeListener):
1866 (AccessibleKeystrokeListener_unref):
1867 Deprecated in favor of equivalent (better-named) new API below..
1868 keystroke listeners are like all device listeners.
1869 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1870 New API names for old features :-).
1871 (AccessibleDeviceListener_addCallback):
1872 (AccessibleDeviceListener_removeCallback):
1873 (SPI_registerDeviceEventListener):
1874 (SPI_deregisterDeviceEventListener):
1878 (SPI_createAccessibleKeystrokeListener):
1879 Use new preferred API, cspi_device_listener_new() and
1880 cspi_device_listener_add_cb().
1881 (AccessibleKeystrokeListener_removeCallback):
1882 Use new preferred API, cspi_device_listener_remove_cb().
1883 (AccessibleKeystrokeListener_unref):
1884 Use new preferred API, cspi_device_listener_unref().
1885 (SPI_createAccessibleDeviceListener):
1886 (AccessibleDeviceListener_addCallback):
1887 (AccessibleDeviceListener_removeCallback):
1888 Implementation of new API.
1890 * cspi/spi_registry.c:
1891 (SPI_registerDeviceEventListener):
1892 (SPI_deregisterDeviceEventListener):
1893 Implementation of new API. Fixed memory leak and removed need to
1894 allocate EventTypeSeq (thanks Michael for catching this).
1895 Squashed a wayward CORBA_exception_free that shouldn't get called.
1897 * cspi/bonobo/cspi-bonobo-listener.c:
1899 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1900 (cspi_key_event): renamed to cspi_device_event().
1901 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1902 Extended to handle mouse button events as well as key events.
1903 (CSpiKeystrokeListener):
1904 Class superceded by CSpiDeviceListener.
1905 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1906 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1908 * cspi/bonobo/cspi-bonobo-listener.h:
1909 (CSpiKeystrokeListener):
1910 Class superceded by CSpiDeviceListener.
1911 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1912 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1914 * libspi/Makefile.am:
1915 Replaced keystrokelistener.h and keystrokelistener.c
1916 with devicelistener.h and devicelistener.c; keystrokelisener.h
1917 stub retained for back-compat.
1919 * libspi/keystrokelistener.c:
1923 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1925 * registryd/deviceeventcontroller.c:
1926 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1927 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1928 (DEControllerPrivateData): Added xkb settings data.
1929 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1930 button release events (which can't be captured via XGrabButton).
1931 Don't dispatch via the 'normal' event mechanism if the device event was
1933 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1934 Handle the typeseq data in its new location (see above).
1935 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1936 New methods, for "generic" device listeners.
1937 (spi_controller_register_device_listener):
1938 Now handle mouse event listeners as well as key listeners.
1939 (spi_controller_notify_mouselisteners):
1940 New internal method.
1941 (spi_device_event_controller_forward_mouse_event):
1942 Now we notify mouse device listeners as well as generating the
1943 non-consumable "mouse:" events.
1945 We must check and restore the XKB
1946 modifier map if we consume the event, since the act of triggering
1947 a mouse event will normally reset the XKB latch. This is required for
1949 (spi_controller_register_with_devices):
1950 Load the XKB settings when registering, and register for XKB
1951 state notify events.
1952 (spi_key_eventtype_seq_contains_event):
1953 Renamed spi_eventtype_seq_contains_event, since it's used
1954 internally for all device event types now.
1955 (spi_key_event_matches_listener):
1956 Uses spi_eventtype_seq_contains_event now.
1957 (spi_device_event_controller_object_finalize):
1958 Free the private data and the XkbKeyboard struct.
1959 (impl_register_device_listener, impl_deregister_device_listener):
1960 Implementation of new IDL.
1961 (spi_deregister_controller_device_listener):
1962 New internal method.
1963 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1964 More efficient implementation, we don't have to create a new
1965 XkbControls structure every time we query.
1966 (spi_device_event_controller_class_init):
1967 Initialize the epv entries for the new IDL. Assign the
1968 "spi-dec-private" quark.
1969 (spi_device_event_controller_init):
1970 Initialize the private data.
1971 (spi_device_event_controller_forward_key_event):
1972 Removed a bogus CORBA_exception_free() call.
1974 * registryd/deviceeventcontroller.h:
1975 Replaced inclusion of keystrokelistener.h with
1978 * test/event-listener-test.c:
1979 (report_mouse_event):
1982 Added mouse-event device listener.
1984 * test/test-simple.c:
1985 (create_test_window):
1986 Fixed regression (we were instantiating a GtkRange,
1987 which is now an abstract class). Also fixed to match
1988 existing AtkRole names, this seems to have changed in ATK
1989 awhile ago; too late now I think, and the new
1990 mechanism is at least elegant and consistent with the
1991 glib enum "nick" APIs.
1993 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1995 * idl/Accessibility_Relation.idl:
1996 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1997 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1998 * idl/Accessibility_Role.idl:
1999 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2000 * idl/Accessibility_State.idl:
2001 add STATE_MANAGES_DESCENDANTS
2002 * test/event-listener-test.c:
2003 Added a listener for active-descendant events.
2005 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2007 * atk-bridge/bridge.c
2008 (atk_bridge_init): If application is Bonobo component wait until top
2009 level is added before registering
2010 (spi_atk_bridge_do_registration): New function which contains code,
2011 formerly in atk_bridge_init, to do application registration.
2012 (spi_atk_bridge_toplevel_added): Signal called when top level
2013 added to Bonobo component
2015 This fixes bug #83134.
2017 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2019 * registryd/deviceeventcontroller.c
2020 Fixed compilation error caused by calling gettimeofday()
2023 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2028 Added template for HAVE_XKB.
2031 Changes to check for XKB, and to set the HAVE_XKB #define if it
2034 * libspi/listener.c:
2035 ()impl_notify_event): Make failure to get event source name
2038 * registryd/deviceeventcontroller.c:
2039 (#include): include X11/XKBlib.h.
2040 (DEControllerPrivateData) : New struct.
2041 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2043 (dec_synth_keycode_press) (dec_synth_keycode_release):
2044 New methods; split the key synthesis code into these methods.
2045 They check XKB settings before determining the "time" values to
2046 pass to Xtest; this fixes bug #95828.
2047 (impl_generate_keyboard_event): Changed to use methods above,
2048 instead of callng Xtest directly.
2049 (spi_device_event_controller_init): Initialize new privae struct s
2051 (spi_device_event_controllr_object_finalize):
2052 Free the (new) private data.
2054 * registryd/deviceeventcontroller.h:
2055 Add new gpointer to end of struct data.
2057 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2060 Incremented revision to 1.1.2, SONAME is still '.so', library
2061 extensions are ".so.0.0.2".
2063 * registryd/deviceeventcontroller.c:
2064 FIXES FOR #93592 and #95940.
2065 (statics): renamed mouse_button_state to mouse_mask_state,
2066 added key_modifier_mask.
2067 (spi_dec_poll_mouse_moved):
2068 Added key modifier checks, and emit "keyboard:modifiers"
2069 events when the key modifiers currently in use change.
2070 Also generate "mouse:abs" events periodically, even if the mouse
2071 is stationary (should we?).
2072 Alternatively we could generate "mouse:abs" events for either all
2073 mouse movements, or every 'nth' mouse movement, or at the
2074 beginning and end of every "active" mouse period.
2076 * test/event-listener-test.c:
2077 (main): Added listener for "keyboard:modifiers" events.
2079 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2081 * libspi/keymasks.h:
2082 Added key mask #defines for mouse buttons; e.g.
2083 SPI_KEYMASK_BUTTON1, etc.
2086 Incremented dependency on ATK to version 1.1.0. (This dependency
2087 is probably premature but will soon be real enough).
2089 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2091 * libspi/hyperlink.[ch]
2092 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2093 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2096 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2101 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2103 * registryd/deviceeventcontroller.c
2104 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2105 events to be ignored.
2106 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2107 keyboard_mode so that XAllowEvents() can be called.
2111 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2113 * cspi/spi-accessible.c: Correct names of roles returned by
2114 AccessibleRole_getName(). Fixes bug #95055.
2116 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2118 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2121 * registryd/registry.c
2122 (desktop_remove_application: Write diagnostic message to stderr for
2125 (impl_accessibility_registry_deregister_global_event_listener):
2126 Correct size of lists array. This addresses bug #94555).
2128 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2130 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2133 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2135 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2138 * registryd/registry.c (impl_registry_notify_event): Remove
2139 unnecessary call to parser_event_type().
2141 * docs/reference/cspi/tmpl/spi_component.sgml:
2142 Add reference to SPI_LAYER_WINDOW.
2144 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2146 * registryd/registry.c
2147 (desktop_add_application): Remove leak.
2148 (desktop_remove_application): Remove leak.
2149 (parser_event_type): Remove leak.
2151 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2153 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2154 bogus call to CORBA_string_dup(). Also removed unnecessary
2155 g_string_dup/g_free calls.
2157 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2159 * registryd/deviceeventcontroller.c:
2160 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2162 * test/event-listener-test.c:
2163 main: commented out three redundant listeners, to reduce output
2164 noise. (They still are potentially useful for testing).
2167 2002-09-13 Michael Meeks <michael@ximian.com>
2169 * Update all the copyrights to include Ximian.
2171 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2173 * cspi/spi.h: add SPI_LAYER_WINDOW.
2175 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2176 add Accessibility_LAYER_WINDOW case.
2178 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2180 * libspi/component.c: (impl_accessibility_component_get_layer):
2181 add ATK_LAYER_WINDOW case.
2183 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2185 * configure.in: incremented micro version.
2187 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2189 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2192 Clarified and reworded our commit policy.
2195 Started an API "todo" addition list for 2.2.
2198 (impl_getSelection):
2199 Free char pointer from atk_text_get_selection, which was being leaked.
2201 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2204 Small revision to author acknowledgement.
2206 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2208 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2209 If signal has detail add it to the type of the event.
2212 2002-08-12 Michael Meeks <michael@ximian.com>
2214 * test/test-simple.c (global_listener_cb): bin bogosity.
2215 (test_keylisteners): disable, still doesn't work reliably,
2216 certainly not on my system anyway.
2218 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2219 don't leak a reference on the DEC. This round-trip
2220 fetching of the DEC per keystroke sucks, it should be
2223 * cspi/spi-private.h,
2224 * cspi/cspi-lowlevel.h,
2225 * cspi/bonobo/cspi-bonobo-listener.[ch],
2226 * cspi/bonobo/cspi-bonobo.c: get the copyright
2227 notices better - there is still a large amount of
2228 work in at-spi falsely attributed solely to Sun.
2230 * cspi/spi_main.c (cspi_object_ref): kill bogus
2231 hash lookup, just increment the ref.
2232 (SPI_freeString): make explicit the fact that we
2233 handle NULL strings just fine.
2234 (report_leaked_ref): obey coding standards.
2235 (cspi_object_hash, cspi_object_equal): kill retval.
2236 (cspi_object_release): only release if not on loan.
2237 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2238 (cspi_object_borrow, cspi_object_return): impl.
2240 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2241 use cspi_object_borrow / return.
2243 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2245 * cspi/bonobo/cspi-bonobo-listener.c:
2247 Don't call cspi_oject_new() because this is creating a new Accessible
2248 every single time that an event is fired. This causes ATs like at-poke
2249 to nolonger recognise the source of the event and thus ignore it.
2250 Re-use the object from the cache, ref it and then unref it after the
2251 listeners have been called.
2253 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2255 * test/event-listener-test.c:
2256 Added command-line options to disable mouse events (m) and
2259 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2261 * configure.in: Update required versions of ATK, GTK+ and GAIL
2263 * cspi-1.0.pc.in: Add dependency for X include files
2266 * cspi/bonobo/Makefile.am:
2267 Add $(X_CFLAGS) so that X include files
2268 are picked up even if not in standard place (bug #71686)
2270 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2272 * registryd/deviceeventcontroller.c: fix for 84261
2273 (spi_dec_mouse_moved):
2274 Added test of mouse button mask, so that we can detect mouse
2275 button release. Unfortunately we can't otherwise detect mouse
2276 button release events without consuming the mouse press event,
2277 because of the way XGrabButton works. This means that our mouse
2278 release events have a latency dependent on the polling period
2279 while the mouse button is down. At least in this case we only
2280 have to poll while the button is down, and not at other times.
2281 If the button masks don't match with what the last press event
2282 reported, we report the appropriate button release event.
2283 (spi_dec_ungrab_mouse):
2284 New method (not yet called).
2285 (spi_device_event_controller_forward_mouse_event):
2286 New method, sends mouse press event from GdkFilter.
2287 (spi_dec_init_mouse_listener):
2288 Added code to call XGrabButton, redirecting mouse button events to
2289 the root window and our Gdk event loop.
2291 Added code to filter mouse button events, and reordered.
2293 * test/event-listener-test.c:
2295 Added registration for mouse events of type "mouse:button".
2297 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2299 * registryd/deviceeventcontroller.c: partial fix for 84261
2300 (spi_dec_poll_mouse_idle):
2301 New method, a timeout which checks to see if the mouse
2303 (spi_dec_poll_mouse_moving):
2304 A timeout to be called when mouse motion is underway.
2305 (spi_dec_poll_mouse_moved):
2306 A method which fires an event if the mouse has moved, and reports
2307 whether or not it did so.
2308 (spi_dec_init_mouse_listener):
2309 A method which sets up the timeouts above.
2310 (spi_device_event_controller_new):
2311 Now calls spi_dec_init_mouse_listener.
2313 * registryd/registry.c:
2314 (spi_registry_init):
2315 Now we initialize the device event controller when the registry is
2316 initialized, instead of waiting until a client has requested a key
2317 event notification; this is because we need the event controller
2318 for mouse events, but the mouse event registration API is a
2319 "registry" call and doesn't explicitly call the
2320 deviceeventcontroller.
2321 We now report mouse motion events with a 100 ms idle latency and
2322 a 20 ms granularity when motion is in progress.
2324 * test/event-listener-test.c:
2326 We now register the "detail listener" for events of type
2327 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2328 delivered only for the first mouse event received, and thereafter
2329 "mouse:abs" events are delivered.)
2331 * cspi/spi_registry.c:
2332 DOCS: Documented the above mouse event typestrings.
2334 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2336 Happy Summer Solstice...
2338 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2339 (spi_controller_notify_keylisteners):
2340 Changes to remove a listener from the listener list, freeing its
2341 open keygrabs, if a notification to that listener fails. This
2342 means that although a dead listener can continue to hold a passive
2343 keygrab, a maximum of one dispatch to such a listener can fail
2344 before the listener is removed from the list, thus the keygrab
2345 will be released on the next occurrence.
2346 As part of this fix:
2347 (spi_notify_keylisteners):
2348 Renamed to spi_controller_notify_keylisteners, as the controller
2349 instance must now be passed as an argument.
2350 The copied 'notify' GList is now a list of DEControllerKeyListener
2351 objects, since we need more than just the CORBA reference if a
2352 notify fails and we need to deregister the listener.
2353 (impl_notify_listeners_sync):
2354 (impl_notify_listeners_async):
2355 (spi_device_event_controller_forward_key_event):
2356 Modify use of notify_keylisteners in accordance with above
2358 (spi_deregister_controller_key_listener):
2359 New method introduced by refactoring, from
2360 impl_deregister_keystroke_listener.
2361 (impl_deregister_keystroke_listener):
2362 Call spi_deregister_controller_key_listener.
2363 (spi_key_listener_clone):
2364 New method to copy a key listner without doing a 'ref' on the
2365 remote object instance; used to create a notifier list.
2366 (spi_key_listener_data_free):
2367 New method, frees data without unreffing the source.
2369 (spi_key_listener_clone_free): new method.
2370 (spi_key_listener_free):
2371 refactored to call spi_key_listener_data_free.
2373 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2375 * registryd/registry.c: [fix for bug 86048]
2376 (notify_listeners_cb):
2377 Clear CORBA system exceptions which occur when notifying
2378 listeners, before returning to the source of the original event,
2379 since the event source doesn't care if the relayed notify failed.
2380 In other words, don't complain to the atk-bridge if the registry
2381 could not notify all its listeners, that's no fault of the
2382 application and thus should not appear to be an error from the
2383 application's perspective.
2385 * cspi/spi_main.c: [fix for bug 85980]
2387 Replaced use of bonobo_object_dup_ref with call to the wrapper
2388 method, csou_dup_ref (); this silences a compiler warning and
2389 provided more portability.
2391 Ping the registry before return, and restart if necessary.
2393 * cspi/bonobo/cspi-bonobo.c:
2395 New internal method.
2397 Fixed this method to return an object reference, as it should have
2400 * cspi/cspi-lowlevel.h:
2401 Added internal definition for cspi_ping() and fixed
2402 return type of cspi_dup_ref().
2405 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2407 * atk-bridge/bridge.c: [fix for bug 85305]
2408 (spi_atk_bridge_register_application):
2409 New method where the initial application registry calls have been
2410 moved; it allows an application to re-register in response to
2411 certain error conditions (such as a registry restart, see below).
2413 Moved some initialization code to the method
2414 spi_atk_bridge_get_registry, below.
2415 (spi_atk_bridge_get_registry):
2416 New, private accessor function for the Accessibility_Registry
2417 instance. If the registry has not been started before, or has
2418 died (as detected by failure of a CORBA exception), it is
2419 restarted before return, and spi_atk_bridge_register_application
2420 is called again to register with the new bridge instance.
2421 (spi_atk_emit_eventv):
2422 Set registry_died on error; use spi_atk_bridge_get_registry () to
2423 access the registry.
2425 * registryd/registry.c:
2426 (impl_accessibility_registry_register_global_event_listener):
2427 Set listener's event_type_quark to etype.minor instead of
2428 etype.major (fix for bug 84856).
2430 * test/event-listener-test.c:
2431 (report_detail_event):
2432 Change the output string so that user/tester can tell that the
2433 'detail listener' was called instead of the 'generic listener'.
2435 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2437 Fixes for bugs 84900, 84908, 84897, 84898.
2442 Revved version to 1.1.0
2443 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2444 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2446 * idl/Accessibility_Registry.idl:
2447 (EventListener::notifyEvent):
2448 Removed 'oneway' directive after extensive consulation with
2449 ORBit2 team and others. This means also that unref() of the event
2450 source can and should be done synchronously after emission, rather
2451 than remotely in the client, after servicing the notify call on
2454 NOTE: This change speeds up listener performance considerably, but
2455 introduces new latency on the application side. We may want to
2456 add an event queue to the atk-bridge.
2458 * atk-bridge/bridge.c:
2459 (spi_atk_bridge_focus_tracker):
2460 Do a local unref() on the event source after emission.
2462 * registryd/registry.c:
2463 (desktop_remove_application):
2464 Do an unref() on the event source after emission.
2465 (desktop_add_application):
2466 Do an unref() on the event source after emission.
2467 (notify_listeners_cb):
2468 When relaying an event, don't automatically add the event source
2469 to the local object cache, just CORBA_dup it instead. Likewise,
2470 if this method reenters, release the ref rather than calling
2472 (impl_registry_notify_event):
2473 No longer call remote unref() on the event source after dispatch.
2475 * libspi/eventlistener.c:
2476 (impl_accessible_event_notify_event):
2477 Removed remote unref ()
2479 * cspi/bonobo/cspi-bonobo-listener.c:
2481 We now call cspi_object_new() instead of cspi_object_add() on
2482 receipt of an event; thus we only have an implicit object ref
2483 while the cspi_event method is being executed. If we need to keep
2484 a reference to the object, the listener must call ref() on the
2485 object. Thus also we don't need to call cspi_object_unref() after
2486 invoking the listener callbacks in this method.
2490 New internal API for creating a new cspi object, without adding it
2491 to the object cache.
2493 Now uses cspi_object_new() to create the cspi object instance.
2495 Now checks to see if the object is in the internal object cache,
2496 and adds it if necessary before incrementing its refcount (note
2497 that new objects are added with a refcount of 1).
2498 (report_leaked_ref):
2499 New method which gives some information on leaked object instances
2500 if leak detection is turned on.
2502 * test/event-listener-test.c:
2503 (timing_test_event):
2504 New method, used for testing event delivery timing for special
2505 events of type "object:test". It reports elapsed time and
2506 events/sec every 500 events.
2508 Added a new listener, 'test listener', to check timing of event
2509 receipt as noted above.
2511 Added some timing output here also, reports elapsed time every 100
2514 * test/stress-test.c:
2515 Emit events of type "object:test", for use with "event-listener-test".
2517 * test/test-simple.c:
2518 (global_listener_cb):
2519 Call Accessible_ref() on the event source before calling
2520 validate_accessible, since the validation process does pointer
2521 comparisons on the event source, meaning that the event source
2522 needs to be added to the local object cache first. Any use of
2523 such pointer comparisons between Accessible objects requires that
2524 the caller hold an explicit reference to those objects.
2525 We also must therefore call Accessible_unref() when leaving this method.
2527 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2529 * registryd/deviceeventcontroller.c:
2530 (spi_controller_update_key_grabs):
2531 Fix for #84735, subsequent keygrab listeners not informed of
2532 registration failure.
2535 (spi_base_construct):
2536 Add an assertion on construct, to make sure the GObject passed in
2537 is really a GObject.
2539 Explicitly initialize object->gobj pointer to NULL;
2541 * cspi/bonobo/cspi-bonobo-listener.c:
2542 (cspi_object_add_ref):
2543 New method, can specify whether to dup-ref a bonobo object passed
2544 in if it's newly added to the object cache.
2546 Now calls cspi_object_add_ref with second param of "FALSE". This
2547 prevents us from doing a pointless dup-ref followed by
2548 release-unref for all those cases where the object is already in
2549 our object cache (fix for #85205).
2551 * atk-bridge/bridge.c:
2552 (spi_atk_bridge_idle_init):
2553 Removed this method, we don't need to initialize in an idle
2556 Changed to call spi_atk_register_event_listeners directly, not via an
2557 idle handler. (fix for #81139)
2558 (gnome_accessibility_module_shutdown):
2559 Removed conditional around deregistration of listeners, since we
2560 don't use the idle handler and thus have always registered when
2562 (spi_init_keystroke_from_atk_key_event):
2563 Changed references to Accessibility_KEY_PRESSED to
2564 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2566 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2568 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2573 * test/stress-test.c:
2576 (may have been an incomplete commit yesterday?)
2578 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2581 Added target for new stress-test.
2583 * test/stress-test.c:
2584 New test, sends 1000 focus notifies in quick succession.
2586 * test/key-listener-test.c:
2587 Now we report whether a keylistener registration
2588 request succeeded or failed.
2590 * test/event-listener-test.c:
2591 Uncommented some listeners which are now implemented.
2594 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2596 * registryd/deviceeventcontroller.c:
2597 (spi_controller_update_key_grabs):
2598 Fix for #82509, lack of failure notification when
2599 ALL_WINDOWS keygrabs fail due to XGrabKey
2600 failure: we synchronize the server when
2601 registering a passive grab, to make sure we get the
2602 error message before the call returns.
2604 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2606 * test/test-simple.c:
2608 Removed #ifdef KEY_IMPL_WORKS guards.
2609 (test_keylisteners):
2610 Removed #ifdef KEY_IMPL_WORKS guards.
2611 Fixed bug which was causing a hang waiting for a
2612 "press" event (which was already overwritten by a "release"
2613 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2615 Added code to set globals 'key_press_received' and
2616 'key_release_received'.
2619 Added section "1.1 API Proposed Additions" which
2620 lists API additions desired for at-spi-1.1 (only one so far).
2621 Updated TODO list a little.
2623 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2625 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2628 * configure.in: Revved to 1.0.0.
2630 * idl/Accessibility_Registry.idl:
2631 (registerKeystrokeListener):
2632 Added boolean return value.
2634 * registryd/registry.c:
2635 (notify_listeners_cb): Minor fix to debug output.
2637 * registryd/Accessibility_Registry.server.in.in:
2638 Revved version number in OAFIID to 1.0.
2640 * registryd/registryd.c:
2642 Use new OAFIID version.
2644 * cspi/bonobo/cspi-bonobo.c:
2646 Use new OAFIID version.
2652 * atk-bridge/bridge.c:
2654 Use new OAFIID version.
2656 * registryd/deviceeventcontroller.c:
2657 (impl_register_keystroke_listener):
2658 Added CORBA_boolean return value.
2659 (spi_controller_register_device_listener):
2660 Added gboolean return value.
2661 (spi_controller_register_global_keygrabs):
2662 Added gboolean return value.
2663 (spi_key_set_contains_key):
2664 Added implementation for many more control keys,
2665 for instance F1-F12, arrow keys, End, Home, Page_Up,
2667 [TODO: some still not implemented].
2669 * text/screen-review-test.c:
2670 (text_chunk_pad_string):
2671 New function: it provides mapping between coordinate
2672 positions of text chunks and character positions in the
2673 screen-review-line output string.
2674 (text_chunk_to_string):
2675 New function, calls text_chunk_pad_string with various
2676 pad/delimiter characters. Pushbuttons are delimited with
2677 square brackets, Frames with vertical 'pipe' lines, and
2678 other text with double quotes.
2679 (text_chunk_list_to_string):
2680 Calls new function text_chunk_to_string.
2681 (toplevel_composite):
2682 New function to composite layers CANVAS through
2683 POPUP in each toplevel (other layers are composited
2684 across toplevels, i.e. BACKGROUND and OVERLAY).
2685 (review_buffer_composite):
2686 Revise to use new methods.
2692 2002-05-31 Laszlo Peter <laca@sun.com>
2694 * configure.in: add the Xtst libdir to the runpath on Solaris,
2695 since it's not in the default library search path.
2697 2002-05-29 jacob berkman <jacob@ximian.com>
2699 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2701 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2703 * test/screen-review-test.c:
2704 (text_chunk_pad_string):
2705 Added method, which pads the string according to the
2706 text bounds of the chunk. It also takes a 3-character
2707 string as a param which indicates the characters to be
2708 used for start, padding, and end delimitation of the chunk.
2709 (text_chunk_to_string):
2710 Changed to use text_chunk_pad_string.
2712 * configure.in: Fixed bug in AC_OUTPUT that was
2713 causing path substitution in Accessibility_Registry.server
2716 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2718 * text/screen-review-test.c:
2719 (guess_string_clip):
2720 New method which attempts a best-guess at clipping
2721 text from components (like Java labels) which don't
2722 actually implement AccessibleText. This inaccurate
2723 clip is based on the assumption that the label is
2724 justified left-and-right, and monospaced.
2725 (text_chunk_get_clipped_string):
2726 We now call guess_string_clip() for text-containing
2727 components that don't implement AccessibleText.
2729 * test/screen-review-test.c:
2730 (review_buffer_get_text_chunk):
2731 We now pull "name" from labels if they do not implement
2732 AccessibleText (i.e. for Java labels).
2733 (get_screen_review_line_at):
2734 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2737 Replaceded AC_OUTPUT target
2738 registryd/Accessibility_Registry.server with
2739 registryd/Accessibility_Registry.server.in.
2741 * registryd/Accessibility_Registry.server.in:
2742 Removed (this is now a Makefile target).
2744 * registryd/Accessibility_Registry.server.in.in:
2745 Added (source for target above). We now use $(libexecdir) as
2746 prefix for the executable at-spi-registryd.
2748 * registry/Makefile.am:
2749 Now install at-spi-registryd into $(libexecdir), and build .server
2750 file with path (see above).
2752 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2754 * test/screen-review-test.c:
2755 (text_chunk_get_clipped_string):
2756 We now check to see if words fall within clip bounds
2757 before resorting to character-by-character clip bounds testing.
2759 * TODO: Added a section for "2.2 Proposed API Additions".
2761 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2763 * test/screen-review-test.c:
2765 Added a screen review benchmarking and test program to test
2768 * cspi/spi_accessible.c:
2770 Made some of the debug strings passed to cspi_check_ev a
2771 little more specific.
2773 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2775 * test/screen-review-test.c: Fix crashes in debug statements
2777 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2779 * test/screen-review-test.c: Added this file.
2781 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2783 * atk-bridge/bridge.c: changed "object:state-change" to
2784 "object:state-changed" to match docs.
2786 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2788 * atk-bridge/bridge.c: Hooked up state-change event details.
2790 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2792 * registryd/registry.c:
2793 Fixed quarking bug in event string parsing; now events with
2794 detail parameters get matched correctly to listeners.
2797 * util/idl/Magnifier.idl: remove.
2799 * util/*.[ch]: Remove.
2800 Magnification utilities and IDL are now in module gnome-mag.
2802 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2804 * registryd/deviceeventcontroller.c:
2805 Fixed bug in grab key conversion which was causing keycode grabs
2806 to be converted to AnyKey grabs.
2809 updated NEWS file to reflect recent spin-off of gnome-mag.
2811 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2813 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2814 busted AccessibleStateSet_compare. Removed redundant casts.
2816 * cspi/spi-action.c: Removed redundant casts.
2818 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2820 * cspi/spi_component.c: Fixed typos and casting error.
2822 * cspi/spi_editabletext.c: Removed redundant casts.
2824 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2826 * cspi/spi_hypertext.c: Eliminated redundant casts.
2828 * cspi/spi_image.c: Eliminated redundant casts.
2830 * cspi/spi_registry.c: Eliminated redundant casts.
2831 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2832 * cspi/spi_selection.c: Removed redundant casts.
2833 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2834 handling. Screen geometry and text offsets were being returned as 0
2835 on error which is technically valid-- changed these to return -1.
2836 Added marshaller for text boundary types to fix bug with boundary
2837 types being passed incorrectly to atk.
2839 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2842 * cspi/spi_registry.c:
2843 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2844 which was uncovered by the recent key changes.
2846 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2848 * test/event-listener-test.c:
2850 Added new test, "event-listener-test";
2851 this code does two things; it benchmarks traversal time
2852 for the accessible hierarchy for the first running accessible
2853 app, and it connects listeners for all supported event types.
2854 It is thus useful as an example event listener and for
2855 diagnostics/debugging of event generation.
2857 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2860 Removed unnecessary dependency on libutil.
2863 Revved micro version: 0.13.1
2865 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2868 Removed util/Makefile from targets.
2871 Removed util subdir from SUBDIRS (temporarily,
2872 pending removal of magnifier-only code
2876 #ifdef-ed out magnifier dependencies, since
2877 magnifier IDL, headers, and binary now live in
2878 module gnome-mag and we don't want at-spi to depend
2879 on gnome-mag. A magnifier demo which can run alongside
2880 simple-at is forthcoming in the gnome-mag module.
2882 NOTE: Split magnifier binary, IDL, and magnification
2883 activation code from at-spi into module gnome-mag.
2885 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2887 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2888 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2890 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2893 Revved to version 0.13.0
2895 * idl/Accessibility_Registry.idl:
2896 Changed definition of KeySet from sequence of longs to sequence of
2897 KeyDefinitions, and added KeyDefinition struct.
2898 Required for fix to bug 80616.
2900 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2901 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2902 to use new definition (see above).
2904 * registryd/deviceeventcontroller.c: handle_keygrab(),
2905 spi_keyset_contains_key():
2906 Changed to make use of new struct; this allows matching based on
2907 string key-name, for instance "Tab". This also allows matching of
2908 composed characters, non-alphanumeric characters in a way that
2909 doesn't involve dependencies on X keysym codes directly, etc.
2911 * test/key-listener-test.c:
2912 Added test for Alt-Tab key using "string" specification of keyset,
2913 and modified one of the tests to use a keycode-based keyset.
2914 Thus this test both tests and demonstrates the creation and use of
2915 keysets of three forms: specified via keycode array,
2916 keysym array, and string array. (The string case only contains a
2917 single string, i.e. a string array of length 1).
2920 Turned on PRINT_TREE option by default. Also fixed a
2921 string-freeing bug in the PRINT_TREE code.
2922 Added a listener to window:minimize events.
2924 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2926 * atk-bridge/bridge.c:
2927 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2928 for window:activate and window:deactiveate
2929 (atk_bridge_property_event_listener atk_bridge_signal_listener
2930 atk_bridge_window_event_listener) Tidy debug code
2932 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2934 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2935 Fixed handling for NULL return value from ATK.
2937 * libspi/action.c libspi/component.c libspi/editabletext.
2938 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2939 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2940 Removed redundant casts.
2942 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2943 Fixed off by one bug.
2945 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2946 function not present in idl)
2948 2002-05-02 jacob berkman <jacob@ximian.com>
2950 * atk-bridge/Makefile.am: make atk-bridge a real module
2952 2002-04-26 Radek Doulik <rodo@ximian.com>
2954 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2955 atk_state_types table
2957 2002-04-22 jacob berkman <jacob@ximian.com>
2960 * libspi/Makefile.am: add deps on the built files to help
2961 automake, and don't version the ORBit typelib
2963 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2965 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2966 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2967 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2968 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2969 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2970 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2971 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2972 libspi/accessible.h libspi/accessible.h libspi/base.h
2973 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2974 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2975 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2976 libspi/spi-private.h libspi/statetset.h libspi/table.h
2977 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2978 util/mag_client.h util/mag_control.c util/mag_image.c
2979 util/mag_image.h util/magnifier.c util/magnifier.h:
2980 Add missing file headers; standardize existing ones
2982 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2984 * atk-bridge/bridge.c: Added window event support.
2986 2002-04-18 Michael Meeks <michael@ximian.com>
2988 * libspi/relation.c (impl_getNTargets): impl.
2989 (impl_getTarget): impl.
2991 * libspi/Makefile.am: fix stateset install.
2993 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2996 Started putting useful info in this file.
2998 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3000 * atk-bridge/bridge.c:
3001 Propagate state-changed notifications to ATs
3003 * cspi/spi_registry.c: update docs to reflect actual behavior of
3004 state-change events.
3006 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3009 Incremented version to 0.12.1
3011 * util/mag_client.h:
3012 Add missing declaration for magnifier_exit,
3013 used by mag_control.c - Forte compiler didn't like
3014 the implicit redeclaration of the function :-(
3017 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3020 Revved version to 0.12 due to API change (see below).
3022 * cspi/spi-roletypes.h:
3023 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3024 definition from the inline docs, and added docs
3025 for SPI_ROLE_LAST_DEFINED.
3028 * cspi/spi_streamablecontent.c:
3029 Added missing seek_type parameter to
3030 (so far unused) method,
3031 AccessibleStreamableContent_seek().
3032 [ RT approval JodyG. ]
3035 Fixed docs for SPI_createAccessibleKeystrokeListener.
3037 * cspi/spi_registry.c:
3038 Fixed docs for SPI_KEYSET_ALL_KEYS.
3040 * docs/reference/cspi/at-spi-cspi-sections.txt:
3041 Added a number of missing APIs to SECTIONS.
3043 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3045 * registryd/Makefile.am:
3047 * cspi/bonobo/Makefile.am:
3048 Add $(X_LIBS) to makefiles.
3050 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3053 Revved version to 0.11.
3055 * libspi/component.c:
3056 Added implementation for grabFocus.
3058 * idl/Accessibility_Component.idl
3059 (Accessibility_Component_grabFocus):
3060 Made this method return boolean to indicate success or failure, to
3061 be consistent with cspi and the corresponding ATK method.
3063 * idl/Accessibility_Selection.idl
3064 (Accessibility_Selection_selectAll) :
3065 Made these methods return boolean to indicate success or
3066 failure, to be consistent with cspi and the corresponding ATK methods.
3068 * idl/Accessibility_EditableText.idl
3069 (Accessibility_EditableText_setTextContents,
3070 Accessibility_EditableText_insertText,
3071 Accessibility_EditableText_cutText,
3072 Accessibility_EditableText_deleteText,
3073 Accessibility_EditableText_pasteText):
3074 Made these methods return boolean to indicate
3077 * cspi/spi_editabletext.c:
3078 Made these methods return booleans.
3080 * libspi/selection.c:
3081 * libspi/component.c:
3082 * libspi/editabletext.c:
3083 Connected the boolean returns from ATK
3084 to the server-side code referenced above.
3086 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3088 * idl/Accessibility_Table.idl: Added missing methods,
3089 Accessibility_Table_addRowSelection,
3090 Accessibility_Table_addColumnSelection,
3091 Accessibility_Table_removeRowSelection,
3092 Accessibility_Table_removeColumnSelection.
3095 Added C wrappers for above IDL:
3096 AccessibleTable_addRowSelection,
3097 AccessibleTable_addColumnSelection,
3098 AccessibleTable_removeRowSelection,
3099 AccessibleTable_removeColumnSelection.
3102 Added server-side implementation code for IDL above, connecting
3103 to pre-existing ATK api.
3105 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3107 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3109 * libspi/accessible.c: Added implementation fo
3110 Accessibility_Accessible_get_state.
3112 * libspi/libspi.h: Added stateset.h to the list of includes.
3114 * libspi/stateset.c: Fixed broken implementation.
3116 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3119 Added implementation code for Accessibility_Magnifier_exit ().
3121 * util/mag_control.c:
3122 Added test code for above method; you can
3123 now kill an existing magnifier via
3124 ./mag_control q, from the util directory.
3126 * test/key-listener-test.c:
3128 Added a new test, for our key listener API.
3130 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3132 * test/app.c, test/keysynth-demo.c:
3134 Replace use of snprintf with g_snprintf.
3135 (fix for bugzilla 78249)
3137 2002-03-27 Michael Meeks <michael@ximian.com>
3141 * util/Makefile.am (INCLUDES): fix.
3142 (DONT_DIST_SOURCE): don't distribute the
3145 * libspi/Makefile.am (dist-hook): ditto.
3147 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3149 * libspi/hypertext.c:
3150 Fix warnings when yelp is used with atk-bridge
3152 2002-03-21 Michael Meeks <michael@ximian.com>
3154 * libspi/application.c (spi_application_new):
3155 use spi_accessible_construct so we use the AtkObject
3158 2002-03-19 Michael Meeks <michael@ximian.com>
3160 * registryd/registry.c (desktop_remove_application),
3161 (desktop_add_application): clean coding style.
3163 * registryd/desktop.c (spi_desktop_remove_application),
3164 (spi_desktop_add_application): kill re-enterency hazards.
3165 (spi_desktop_dispose): remove bogus redundant cast
3166 obscuring bug; fix bug too.
3167 (spi_desktop_init): make the desktop object immortal.
3169 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3172 Added a #define-guarded tree-traversal step
3173 when enumerating the apps (diagnostic tool).
3175 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3177 * idl/Accessibility_Role.idl:
3178 Added ROLE_DRAWING_AREA which seemed to be missing from the
3181 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3183 * cspi/spi-roletypes.h cspi/spi_accessible.c
3184 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3187 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3188 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3189 AT when applications are added and removed from the desktop. This
3190 reverts the previous broken implementation using the backing
3191 AtkObject for the SpiDesktop.
3193 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3195 * registryd/desktop.c: emit the "children-changed::add" and
3196 "children-changed::remove" signals on the backing ATK object for
3197 the desktop so AT can tell when applications are started and shut
3200 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3202 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3204 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3206 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3208 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3210 * cspi/state-types.h: synched with IDL and ATK
3212 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3214 * libspi/accessible.c
3215 (impl_accessibility_accessible_get_child_at_index):
3216 Change return value for g_return_if_fail ()
3217 to CORBA_OBJECT_NIL instead of "0" (!)
3219 * registryd/Makefile.am:
3220 * registryd/Accessibility_Register.server.in:
3221 Changed name of executable, "registryd",
3222 to something more informative:
3225 2002-03-13 Michael Meeks <michael@ximian.com>
3227 * atk-bridge/bridge.c (atk_bridge_init): don't register
3228 if we're in a bonobo-component, rather than a bonobo app.
3230 2002-03-13 Michael Meeks <michael@ximian.com>
3232 * atk-bridge/bridge.c (gtk_module_init): split
3233 out body to (atk_bridge_init): here, since otherwise
3234 we get symbol conflicts and oddness when invoked
3235 from (gnome_accessibility_module_init): here (upd.)
3237 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3240 New file. Explicitly allow "build sheriff" putbacks provided
3241 they are tested on Solaris.
3243 * docs/reference/cspi/Makefile.am:
3244 Added '-' to the "cp" command for index.sgml.
3245 ("patch by thomasvs, soon coming to a GUADEC near you")
3248 Incremented version number (0.9.0) for new release.
3249 Changed macro that checks for popt, to better detect
3250 obsolete versions of popt.
3253 Added X_LIBS to AC_SUBST, for applications
3254 that call Xlib API directly.
3257 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3260 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3263 Fix regression caused by hard-coding major
3264 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3267 * test/test-simple.c (test_editable_text),
3268 (test_test): revert previous change (error was
3269 a regression in gail which is now fixed).
3271 2002-03-04 Michael Meeks <michael@ximian.com>
3273 * test/test-simple.c (test_editable_text),
3274 (test_text): pass G_MAXINT instead of '-1' for
3275 whole string - is this a good thing !?
3277 * cspi/spi_accessible.c
3278 (Accessible_getRelationSet): fix crasher bug
3279 overwriting the end of the array.
3281 * test/test-simple.c (validate_accessible): free,
3282 not g_free returned relation set.
3284 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3286 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3287 implemented stateset support
3289 * idl/Accessibility_State.idl: Made necessary changes to
3290 the IDL to support state sets.
3292 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3294 * registryd/deviceeventcontroller.c:
3295 Added implementation for generateMouseEvent.
3297 * cspi/spi_registry.c:
3298 Connected new implementation for generateMouseEvent
3301 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3304 Incremented revision (but no change in public API
3305 outside of 'utils', which are not installed public yet.)
3307 * libspi/component.c:
3308 Changed to use atk_component API for layers and
3309 mdi_zorder, instead of deprecated atk_object API.
3311 Magnification Utility Enhancements:
3314 Added implementation of createZoomRegion, clearAllZoomRegions,
3315 resizeZoomRegion. Added new commandline argument
3316 "--no-initial-region". Note that clearAllZoomRegions doesn't
3317 unmap the old '0' region as it should (yet), and the other
3318 methods only work when creating/resizing a single region,
3319 which is "region 0".
3320 (Code for multiple region support will be added later.)
3323 Now we raise the magnifier window each time it's refreshed;
3324 this will help keep it on top.
3326 * util/mag_client.h:
3327 Added simple wrappers for above, used by mag_control.
3328 For general use, it's recommended to use the bonobo magnifier
3329 control API directly instead of using these wrappers.
3332 Moved ZoomRegionData from magnifier.c to this file.
3334 * util/mag_control.c:
3335 Added some code to exercise new IDL implementations.
3337 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3339 * libspi/text.c: Provide implementation for getAttributes.
3341 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3344 Incremented revision.
3346 * test/test-simple.c:
3347 Replaced use of deprecated g_main_iteration with
3348 g_main_context_iteration.
3350 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3353 Incremented revision for desktop alpha 2.
3355 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3357 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3360 * test/simple-at.c: include netinet/in.h.
3362 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3364 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3365 use NULL, not CORBA_OBJECT_NIL.
3367 * libspi/accessible.c:
3368 (impl_accessibility_accessible_get_relation_set):
3369 allocate the sequence correctly.
3371 * libspi/remoteobject.h: kill spi_remote_object_new.
3373 * test/test-simple.c: (validate_accessible): add code
3374 to test relation sets, now all we need is to figure
3375 out how to excercise this code path :/
3377 2002-01-18 Michael Meeks <michael@ximian.com>
3379 * test/test-simple.c
3380 (key_listener_cb): consume the key.
3381 (test_keylisteners): update.
3382 (main): wait for any pending unrefs on events.
3384 * registryd/deviceeventcontroller.c
3385 (spi_controller_update_key_grabs): only re-issue the
3386 grab on a key release.
3387 (spi_device_event_controller_forward_key_event):
3388 refresh the keygrabs before we notify the listeners,
3389 to reduce the X ungrab / re-grab race.
3390 (spi_controller_register_with_devices): remove
3391 XSelectInput - we do that with the gdk_window_ call.
3392 (_spi_controller_device_error_handler): return a value.
3393 s/GDK_DISPLAY/spi_get_display/
3395 2002-01-17 Michael Meeks <michael@ximian.com>
3397 * registryd/deviceeventcontroller.c
3398 (_deregister_keygrab): don't blow out the later
3401 * test/test-simple.c (test_keylisteners): do a
3402 more intelligent validation.
3404 2002-01-14 Michael Meeks <michael@ximian.com>
3406 * atk-bridge/bridge.c
3407 (gnome_accessibility_module_init),
3408 (gnome_accessibility_module_shutdown): impl.
3409 (gtk_module_init): protect vs. double inits.
3410 (add_signal_listener): impl.
3411 (spi_atk_bridge_state_event_listener): kill
3412 (deregister_application): split out of
3413 (spi_atk_bridge_exit_func): here.
3415 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3418 Added caret tracking when using magnifier, and
3419 now use text bounds for focus tracking of text elements, rather than
3420 the component bounds - this is helpful for short text fields in long
3421 table cells, at high magnification.
3423 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3425 * registryd/deviceeventcontroller.c:
3426 Regression fix for keylistener de-registration; global keygrabs
3427 were not being released when deregisterKeystrokeListener was
3428 called in cspi, since
3429 Accessibility_DeviceEventController_deregisterKeystrokeListener
3430 was called with a zero-length keyset. That is because the cspi
3431 method, SPI_deregisterKeystrokeListener, does not take a keyset
3432 parameter but instead should remove all the key grabs held be a
3434 The code in impl_deregister_keystroke_listener was changed to copy
3435 the keylist from the listener instance previously registered with
3436 the DeviceEventController before releasing the grabs.
3438 * registryd/registry.c:
3439 * registryd/deviceeventcontroller.c:
3440 * libspi/spi-private.h:
3442 Changed spelling of "re-enterant" to "re-entrant" globally.
3444 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3446 * test/test-simple.c:
3447 Changed key listeners test - the test was slightly mis-using the
3448 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3449 It now uses '=' as the key event listened to and generated,
3450 relying on a keysym match rather than assuming that keycode 33
3451 is always equal to keysym '!'.
3453 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3456 Changed simple-at to use a specific keyset, rather than
3457 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3458 manager, desktop, etc.
3460 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3462 * registryd/deviceeventcontroller.c:
3463 Replaced standard X error handler with a special handler that
3464 is non-fatal for failed keygrabs. This works around
3465 problems with keygrab clashes sometimes observed on
3467 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3468 mouse handling code as yet).
3470 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3473 Incremented revision for desktop alpha release.
3476 Fixed a couple of the more glaring errors (still not
3479 2002-01-11 Michael Meeks <michael@ximian.com>
3481 * registryd/deviceeventcontroller.c
3482 (spi_device_event_controller_forward_key_event): kill
3483 XUngrabKey / XKeyGrab race.
3484 (spi_controller_grab_keyboard): rename to
3485 (spi_controller_update_key_grabs): this, and deal
3486 with incremental adding / removing grabs more
3488 (_register_keygrab): ensure we're not pending a remove.
3489 (spi_grab_mask_free): impl.
3490 (spi_controller_register_global_keygrabs): split out
3492 (handle_keygrab): impl.
3493 (_deregister_keygrab): impl.
3494 (spi_controller_deregister_global_keygrabs): impl.
3495 (spi_controller_update_key_grabs): re-issue the grab if
3496 we just recieved a notification.
3498 * test/test-simple.c (key_listener_cb): remove debug.
3500 * registryd/deviceeventcontroller.c
3501 (spi_controller_register_device_listener): after
3502 registering a global keygrab, actualy register it !
3503 don't wait for a timeout; doh !
3505 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3506 to make it more readable / manipulable.
3507 s/grabmask/grab_mask/ s/refcount/ref_count/
3508 s/keyval/key_val/ s/modmask/mod_mask
3510 2002-01-08 Michael Meeks <michael@ximian.com>
3512 * registryd/deviceeventcontroller.c
3513 (spi_controller_register_with_devices): use gdk calls to
3515 (global_filter_fn): implement the filter.
3516 (spi_device_event_controller_check_key_event): rename to
3517 (spi_device_event_controller_forward_key_event): this & upd.
3518 (spi_get_display): replace with GDK_DISPLAY.
3520 * registryd/deviceeventcontroller.c
3521 (spi_controller_deregister_device_listener): unroll into
3522 (impl_deregister_keystroke_listener): here to simplify.
3523 (spi_controller_register_global_keygrabs): split cut and
3524 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3525 (spi_controller_deregister_device_listener): remove.
3526 (impl_register_mouse_listener): remove, no mouse listener
3527 support in at-spi-1.0
3529 * registryd/registry.c
3530 (_device_event_controller_hook): kill.
3531 (spi_registry_init): upd.
3533 * registryd/deviceeventcontroller.c
3534 (spi_device_event_controller_class_init): upd.
3535 (spi_check_key_event): merge into.
3536 (spi_device_event_controller_check_key_event):
3537 here and kill strange static ev init, don't leak
3538 the x_event - nor dynamicaly allocate it.
3540 * registryd/registry-main.c (main): re-direct
3541 timeout to remove strange vtable mess.
3543 * registryd/deviceeventcontroller.c
3544 (remove_listener_cb): impl.
3545 (spi_controller_deregister_device_listener):
3546 fix re-enterancy hazard.
3548 2002-01-07 Michael Meeks <michael@ximian.com>
3550 * registryd/deviceeventcontroller.c
3551 (spi_device_event_controller_new): upd.
3552 (impl_notify_listeners_sync): upd. debug.
3553 (spi_notify_keylisteners): fix re-enterancy hazards,
3554 prettify, remove O(n*n) iteration.
3555 (spi_controller_grab_keyboard): fix iteration.
3556 (spi_check_key_event): re-format to suit coding style.
3557 Clean all the warnings - we're warning free.
3559 * registryd/deviceeventcontroller.h:
3560 * registryd/registry.h: make mutualy referential with
3561 typesafe forward references instead of (!) void pointer
3564 2002-01-11 Michael Meeks <michael@ximian.com>
3566 * cspi/spi_accessible.c (role_names): add a role name
3567 to sync this array with the enum; and make the regression
3570 2002-01-10 Michael Meeks <michael@ximian.com>
3572 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3573 allow expansion of enumeration & kill warning.
3575 * test/test-simple.c (key_listener_cb): impl.
3576 (test_keylisteners): impl.
3578 * cspi/spi-listener.h: make listener signatures const
3579 on the provided (const) events.
3581 * test/keysynth-demo.c: upd. to const events.
3583 * test/simple-at.c: ditto.
3585 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3588 Rev the version to 0.5 (the previous tarball was named 0.4,
3589 even though the micro number was 3), so we need to rev upwards
3590 again for beta2/"desktop-alpha"
3593 Checked in a demo script, which requires editing before use!
3594 Proceed with caution.
3597 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3599 * cspi/spi_accessible.c:
3600 Add a couple of missing enum initializations, and fix some enum
3603 * cspi/spi_registry.c:
3604 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3606 * docs/reference/cspi/at-spi-cspi-sections.txt:
3607 Remove/fix a couple of broken document references.
3610 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3611 as Alt-Control to listen for commands, since on some systems
3612 Control-Alt may already be grabbed.
3614 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3617 Update version number to 0.4 for Beta2.
3619 * libspi/accessible.c, libspi/accessible.h:
3620 Expose spi_accessible_construct, to enable libgail-gnome
3621 construction from spi_accessible subtype.
3623 * utils/magnifier.c:
3624 Workaround for bug in some non-gnome-compliant window managers
3625 which made magnifier resize improperly.
3627 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3629 * libspi/accessible.c: (spi_accessible_new) :
3630 Move the test for SPI_IS_REMOTE_OBJECT to
3631 spi_accessible_new_return, fixing a bug and compile time warning.
3633 2002-01-08 Michael Meeks <michael@ximian.com>
3635 * registryd/registry.c (parse_event_type): remove strndup.
3637 * libspi/Makefile.am (libspi_la_SOURCES): remove
3638 sources already included in the headers section.
3640 * libspi/util.c: add.
3642 * libspi/spi-private.h: add.
3644 * registryd/registry.c: update to moved list iterators.
3646 2002-01-05 Michael Meeks <michael@ximian.com>
3648 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3650 * test/test-simple.c (main): ditto.
3652 2002-01-04 Michael Meeks <michael@ximian.com>
3654 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3655 redundant construct.
3657 * registryd/registry.c
3658 (get_listener_list): impl.
3659 (impl_accessibility_registry_register_global_event_listener):
3660 re-impl. to simplify using ~, remove dodgy const cast off.
3661 (parse_event_type): constify.
3662 (impl_accessibility_registry_deregister_global_event_listener_all):
3663 re-write, more efficiency and simplicity, kill re-enterancy
3665 (compare_listener_corbaref, compare_corba_objects),
3666 (compare_listener_quarks): define out.
3667 (impl_accessibility_registry_deregister_global_event_listener):
3668 re-write for effiency, and nail re-enterancy hazard.
3669 (impl_accessibility_registry_get_desktop_list): impl.
3670 (re_enterant_list_delete_link): impl.
3671 (re_enterant_list_foreach): impl.
3672 (remove_listener_cb): impl.
3673 (_registry_notify_listeners): kill.
3674 (notify_listeners_cb): impl.
3676 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3677 (SPI_getDesktopList): impl.
3679 * test/test-simple.c (test_desktop): test the methods.
3681 2002-01-03 Michael Meeks <michael@ximian.com>
3683 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3684 keystrings since we free them
3685 (SPI_freeAccessibleKeySet): in here.
3687 * libspi/accessible.c (spi_accessible_new): kill warning,
3688 wonder what is going on with the constructor here.
3690 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3692 * libspi/accessible.c (spi_accessible_new ()) :
3693 Added check to see if AtkObject is an SpiRemoteObject before
3694 creating an SpiAccessible.
3696 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3698 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3699 Enable keygrabs using the Control modifier, now that they are
3700 working properly (they were previously disabled).
3703 Change the command keygrab for this demo to "Control+Alt", so as
3704 to conflict with fewer other key commands on the system; this
3705 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3707 Removed a pointlessly-chatty keylistener for unshifted keys
3708 (shifted keys are still reported).
3710 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3712 * libspi/remoteobject.h:
3713 * libspi/remoteobject.c:
3714 Added definitions for special AtkObject subtype, required for
3715 support of remote components (specifically, used by BonoboControl
3716 accessibility implementation).
3718 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3720 * cspi/spi.h: synched relation types with ATK
3722 * cspi/spi_accessible.c: Added implementations of
3723 AcccessibleRelation_* methods
3725 * idl/Accessibility_Relation.idl: added getRelationTypeName
3726 method. Synched known relation types with ATK. Allowed for
3727 relation type extension with the RELATION_EXTENDED type.
3729 * libspi/relation.c: Provided implementations for
3730 AccessibleRelation methods.
3732 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3734 API tweaks for today's API 'freeze'.
3737 Added placeholder functions to allow future compatible expansion
3738 of the IDL interfaces.
3740 * idl/Accessibility_Registry.idl:
3741 Changed generateKeyEvent to generateKeyboardEvent. Changed
3742 signature of this method to accept an optional keystring in
3743 parameter (for complex text input synthesis) and changed use of
3744 simple 'boolean' parameter in registerKeystrokeListener to a
3745 struct, EventListenerMode.
3747 * cspi/spi_accessible.c:
3749 * cspi/spi_streamablecontent.c:
3750 Added references to AccessibleStreamableContent interface, and
3751 definition and implementation of AccessibleStreamableContent
3754 * cspi/spi_registry.c:
3756 Changed generateKeyEvent API to generateKeyboardEvent,
3757 taking a new (optional) keystring parameter to support complex
3762 Renamed directory (to better reflect its actual purpose, bridging
3763 from at-spi to ATK). The .so module is also now named
3766 * idl/Accessibility_Hypertext.idl:
3767 * libspi/accessible.c:
3768 * libspi/hypertext.h:
3769 * libspi/hypertext.c:
3770 Changed Accessibility_Hypertext to *not* derive from
3773 * cspi/spi_registry.c:
3774 Added list of legal event type names for 'window' events, which
3775 completes the registry event API.
3777 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3779 * at-bridge/bridge.c: Added registration for separate
3780 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3781 signals. If either of the first two parameters to the generic
3782 bridge signal handler are ints, they are passed on as event
3783 details. This allows an AT to determine what text was inserted.
3785 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3787 * registryd/deviceeventcontroller.c:
3788 Fixed regressions in generateKeyEvent caused by the removal of
3789 gdk_init from registryd; we now use pure X calls to connect to the
3790 display, which makes sense because deviceeventcontroller already
3791 uses a fair bit of X API (should eventually be migrated to a
3792 'portability layer').
3794 * registryd/desktop.c:
3795 Fixed minor regression in spi_desktop_init, changed the way the
3796 desktop name is being set to work with new spi_base API
3797 (gobject-based, rather than AtkObject-based).
3799 * registryd/Makefile.am:
3800 Minor revision of makefile to use XTST_LIBS variable rather than
3801 hard-wiring the Xtst LD_ADD element.
3803 * test/keysynth-demo.c:
3804 Tweaked an output message; added initialization of the
3805 'keystrings' member of the "switch listener" key_set.
3807 * libspi/relation.c:
3808 Squashed compile-time warning.
3810 * libspi/accessible.c:
3811 Cosmetic and formatting fixes, renamed a static method.
3813 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3815 * libspi/accessible.c
3817 * libspi/application.c
3820 * libspi/component.c
3821 * libspi/editabletext.c
3822 * libspi/hyperlink.c
3823 * libspi/hypertext.c
3825 * libspi/selection.c
3829 * registryd/desktop.c:
3830 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3832 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3834 * idl/Accessibility_Registry.idl:
3835 Added boolean member 'is_text' to DeviceEvent. This is for the
3836 use of key events, and helps prevent ambiguity between composed
3837 key strings and keysym names, since both may potentially be
3838 returned in the 'event_string' member.
3840 * at-bridge/bridge.c:
3841 * registryd/deviceeventcontroller.c:
3842 Use the 'is_text' member when notifying device event listeners.
3843 Knon issue: composed characters are not dealt with correctly by
3844 the global key listener implementation yet.
3846 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3848 * at-bridge/bridge.c:
3849 Namespaced local static methods to spi_atk_bridge_* where
3850 previously named bridge_*, and spi_* elsewhere.
3852 * at-bridge/bridge.c:
3853 * cspi/bonobo/cspi-bonobo-listener.c:
3854 Added demarshalling/conversion for string member of
3855 Accessibility_DeviceEvent to AccessibleKeystroke.
3857 * registryd/deviceeventcontroller.c:
3858 Added code to fill the Accessibility_DeviceEvent key string value
3859 member for global key events (i.e. from XGrabKey), to match
3860 behavior of Accessibility_DeviceEvent from the toolkit key events
3861 from the bridge. Fixed timestamp in global key event notifications.
3864 Added printout of key event's string value to
3865 report_ordinary_key_event, for demo/debugging purposes.
3867 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3869 * idl/Accessibility_Registry.idl:
3870 Removed Accessibility_KeyStroke structure in favor of generic
3871 Accessibility_DeviceEvent structure.
3872 Changed Accessibility_ControllerEventMask from a struct to an
3875 * at-bridge/bridge.c:
3876 Changed APIs to use DeviceEvent structure as above, and removed
3877 bogus casting between these event structures.
3879 * cspi/spi-listener.h:
3880 Added keystring member of AccessibleKeystroke structure, to enable
3881 matching on event "names" rather than only hardware codes and
3885 Added keystrings member of AccessibleKeySet struct, to allow
3886 matching on event names (as above).
3887 Added declarations for SPI_createAccessibleKeySet and
3888 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3889 event modmasks directly as unsigned ints rather than structs with
3890 refcounts, in the DeviceEventController methods.
3892 * cspi/spi_registry.c:
3893 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3895 * cspi/spi-roletypes.h:
3896 Added documentation of newly added SPI Roles.
3898 * cspi/bonobo/cspi-bonobo-listener.c:
3899 Changes in support of API changes above.
3901 * libspi/accessible.c:
3902 Converted APIs to use DeviceEvent structure (see IDL changes
3905 * registryd/deviceeventcontroller.c:
3906 Added DEControllerGrabMask structure to track keygrabs not only by
3907 modmask but by keyset as well; this allows us to do "global"
3908 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3909 grabbing on AnyKey and then filtering after-the-fact.
3910 Bugfixes for event filtration mean that we don't get false matches
3911 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3913 * registryd/deviceeventcontroller.c:
3914 Namespaced a number of static methods to use spi_ prefix. Major
3915 revision to internals of global (i.e. X) key grabs.
3917 * registryd/deviceeventcontroller.h:
3918 Removed keymask_list and added keygrabs_list to
3919 SpiDeviceEventController struct.
3922 Added use of SPI_createAccessibleKeySet API when creating a
3923 listener for only one key. Attach a listener to "shift spacebar
3924 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3925 X key event names to SPI key event names, so that listeners are
3926 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3928 * test/keysynth-demo.c:
3929 Changed (incorrect) use of X key event names (KeyPressed,
3930 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3933 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3935 * libspi/accessible.c:
3936 Convert all AtkRole enumerations to Accessibility_Role enums when
3937 getting a role from an AtkObject.
3939 * cspi/spi_accessible.c:
3940 Complete the conversion of Accessibility_Role enums at runtime to
3941 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3942 role enums correctly match those given in spi-roletypes.h.
3943 Re-synchronize the local names list for AccessibleRole_getName ().
3944 AccessibleRole_getName is now deprecated, since it duplicates the
3945 more reliable Accessible_getRoleName.
3946 Added some role types from Accessibility_Role.idl.
3948 * idl/Accessibility_Role.idl:
3949 Added some role types used by AtkRole.
3951 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3954 * cspi/spi_registry.c:
3956 * cspi/cspi-bonobo-listener.c:
3957 Namespaced all methods that did not begin with an "SPI_" or
3958 "Accessible" prefix to "SPI_".
3961 Homogenized internal function namespace to "cspi_" for statics.
3964 Patched tests to use the new CSPI API.
3966 * docs/reference/cspi/at-spi-cspi-sections.txt:
3967 Updated docs to reflect namespace changes, and added a number of
3968 methods to the documentation.
3970 * registryd/registry.c:
3971 Changed use of strings and string hashes in listener event
3972 matching and parse_event_string to use GQuark, which is guaranteed
3975 * registryd/registry.h:
3976 Squashed annoying warning.
3978 * idl/Accessibility_Role.idl:
3979 Extended range of available Accessibility_Role values.
3981 * cspi/spi_accessible.c:
3982 Re-ordered role names.
3984 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3986 * idl/Accessibility_Value.idl:
3987 Revert use of union back to CORBA_double, since the double type is
3988 more efficient and can contain the other types without loss of
3991 * idl/Accessibility_Accessible.idl:
3992 Added method Accessibility:Accessible:getRoleName, to complement
3993 Accessibility:Accessible:getRole.
3995 * cspi/spi_accessible.c:
3997 Added C binding for above, Accessible_getRoleName (), and changed
3998 signature of Accessible_getRole () to return an AccessibleRole.
4000 * cspi/spi-roletypes.h:
4001 Changed AccessibleRole_getName to return a char * instead of a
4002 const char *. This method is now at least temporarily deprecated
4003 in favor of asking Accessibles for their RoleNames directly.
4006 Revert to match Accessibility_Value.idl;
4010 Change signature of AccessibleValue methods to use double rather
4014 * cspi/spi_accessible.c:
4015 Changed Accessible_getRole to return an AccessibleRole enum rather
4016 than a UTF-8 string. The UTF-8 string can still be obtained via
4017 AccessibleRole_getName ().
4019 * test/test-simple.c:
4020 Add test_action. Small fixup to match API change to Accessible_getRole.
4023 Bugfix for get_action_from_servant ().
4025 2001-12-11 Michael Meeks <michael@ximian.com>
4027 * libspi/libspi.h: remove registry.h and
4028 desktop.h, deviceeventcontroller.h
4030 * libspi/Makefile.am: remove registry.[ch],
4031 desktop.[ch], deviceeventcontroller.[ch]
4033 * registryd/Makefile.am: add registry.[ch],
4034 desktop.[ch], rename registryd.c to registry-main.c.
4035 add deviceeventcontroller.[ch]
4037 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4040 Replace setenv() call with putenv ().
4042 * libspi/component.c:
4043 Bugfix in AccessibleComponent_getExtents (),
4046 2001-12-11 Michael Meeks <michael@ximian.com>
4048 * libspi/image.c (impl_getImageExtents): impl.
4049 (spi_image_class_init): upd.
4052 (AccessibleImage_getImageDescription): fix daft bug
4055 * test/test-simple.c (global_listener_cb): update
4056 to only quit if not --poke
4057 (main): catch --poke.
4058 (validate_accessible): upd. dumping, call test_image
4061 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4064 * idl/Accessibility.idl: update all IDL includes.
4066 * idl/*.idl - rename to namespace - this sucks, blame
4067 mjs' bad decision for oafd.
4069 * test/test-simple.c (create_test_window): add more tests.
4070 (create_tree): split this out.
4071 (validate_accessible): bugfix.
4073 2001-12-11 Michael Meeks <michael@ximian.com>
4075 * cspi/bonobo/cspi-bonobo-listener.c:
4076 (cspi_kestroke_listener_unref),
4077 (cspi_event_listener_unref): impl. undoing previous
4078 homenous environment - for Bill.
4080 * cspi/spi_table.c (long_seq_to_array): use
4083 * cspi/spi_main.c: split out all bonoboish bits into
4086 * cspi/spi-impl.h: upd. typedefs.
4088 * cspi/spi_registry.c: update to lowlevel API,
4089 return booleans to indicate success in some places.
4091 * cspi/spi_event.c: update to lowlevel API.
4093 * cspi/bonobo/Makefile.am: add.
4095 * cspi/bonobo/cspi-lowlevel.h: add
4097 * cspi/bonobo/cspi-bonobo.c: add
4099 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4101 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4102 (SUBDIRS): add bonobo, link in the libs.
4104 * cspi/spi-util.c: kill this file.
4106 * TODO: merge in my bits.
4108 2001-12-11 Michael Meeks <michael@ximian.com>
4110 * test/test-simple.c (test_value, test_table, main):
4111 remove unused variables causing warnings.
4113 * configure.in: cleanup checks - require gail.
4115 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4118 Changed Value interface to use SValue (scalars) rather than
4119 assuming all values are floats. This allows floats, doubles,
4120 longs, shorts, and unsigned values to be manipulated.
4121 Introduced Accessibility:SValue union.
4124 Updated to use new API above, and to work correctly with GValues
4125 of different types in AtkValue.
4128 Updated to use new API above. cspi's API is as yet unchanged.
4131 Updated the Value revision action item.
4133 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4135 * test/test-simple.c:
4136 Added test_table (GtkTreeView widget in test window to follow).
4137 Un-commented test_value, added GtkRange widget.
4138 Added GtkTreeView widget with GtkListStore. It passes regression
4139 test but leaks one SPI object for some reason.
4142 Fixed bug in impl__set_currentValue.
4144 2001-12-10 Michael Meeks <michael@ximian.com>
4146 * cspi/spi_text.c: audit for exception handling,
4147 tolerating NULL object references safely etc.
4149 * cspi/spi_value.c: ditto.
4151 * cspi/spi_table.c (AccessibleTable_getSummary),
4152 (AccessibleTable_getAccessibleAt),
4153 (AccessibleTable_getRowHeader),
4154 (AccessibleTable_getColumnHeader),
4155 (AccessibleTable_getCaption): fix bugs hidden by
4157 (long_seq_to_array): impl.
4158 (AccessibleTable_getSelectedRows),
4159 (AccessibleTable_getSelectedColumns): use it.
4161 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4164 Added a TODO list (rough and short for now).
4166 * cspi/spi_hyperlink.c:
4167 * cspi/spi_hypertext.c:
4168 Fixed macro name typos, and remove use of obsolete macro in
4169 AccessibleHyperlink_getLink.
4171 * cspi/spi_action.c:
4172 * cspi/spi_accessible.c:
4173 * cspi/spi_application.c:
4174 * cspi/spi_component.c:
4175 * cspi/spi_selection.c:
4178 Documentation fixes (removed return values from ref/unref methods).
4180 2001-12-10 Michael Meeks <michael@ximian.com>
4182 * cspi/spi_action.c: audit for exception handling,
4183 tolerating NULL object references safely etc.
4185 * cspi/spi_accessible.c: ditto.
4187 * cspi/spi_component.c: ditto.
4189 * cspi/spi_editabletext.c: ditto.
4191 * cspi/spi_hyperlink.c: ditto.
4193 * cspi/spi_hypertext.c: ditto.
4195 * cspi/spi_image.c: ditto.
4197 * cspi/spi_selection.c: ditto.
4199 2001-12-10 Michael Meeks <michael@ximian.com>
4201 * configure.in: use cspi/libspi.pc.in instead.
4203 * Makefile.am (pkgconfig_DATA): upd. to match.
4205 * test/simple-at.c (report_focus_event): kill hacks around
4206 bad return values, use putenv not setenv
4208 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4209 fire ChildGone - I killed it.
4211 * libspi/component.c
4212 (impl_accessibility_component_get_extents): remove
4215 * idl/Accessible.idl: kill ChildGone exception.
4217 * cspi/*.[ch]: kill int return from ref / unref.
4219 * cspi/spi_main.c (cspi_object_add_check): fold into
4220 (cspi_object_add): here.
4222 * cspi/spi_component.c (AccessibleComponent_getExtents):
4223 handle exceptions elegantly.
4225 * cspi/spi-private.h (cspi_check_ev_return),
4226 (cspi_return_if_fail): impl.
4228 * cspi/spi_accessible.c: use extensively.
4229 (AccessibleStateSet_equals): add direct compare check.
4231 * cspi/spi_selection.c: tolerate NULL objs, and check
4232 exceptions before return.
4234 * cspi/spi-util.c (cspi_warn_ev): rename to
4235 (cspi_check_ev): this & don't pass ev in; no point.
4237 2001-12-10 Michael Meeks <michael@ximian.com>
4239 * test/test-simple.c: use putenv not setenv
4240 (get_environment_vars): more chatty if you're not using
4243 * test/simple-at.c: do the setenv so more people see the
4246 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4248 * libspi/registry.c:
4249 Changed check of CORBA_environment on notification to be a warning
4250 instead of an error for the moment, since we can recover from this
4251 error when caused by a queued notification from a dead app.
4254 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4255 used by all current implementors of AtkValue), and coerce to
4256 CORBA_float. (Proper general case fix may require change to Value.idl).
4258 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4262 * cspi/spi_accessible.c:
4263 Documentation fixes: added user_data params to documentation for
4264 listeners and callbacks.
4266 * cspi/spi_accessible.c:
4267 Changed AccessibleStateSet_compare to return a
4268 StateSet rather than return the difference set into a third parameter.
4271 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4274 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4275 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4279 Remove subdirectory po from SUBDIRS for now.
4281 * at-bridge/bridge.c:
4282 Beefed up a couple of debug printouts.
4283 One-line fix for signal notification name formatting.
4285 * libspi/accessible.c:
4286 Added assertion to spi_accessible_new ().
4288 * libspi/application.c:
4289 Put #ifdef qualifiers around a printf.
4292 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4294 * registryd/Makefile.am:
4296 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4297 INTLTOOL_SERVER_RULE macro.
4300 Added an event listener for several ATK signals, for
4301 testing and debugging. Removed a few g_warnings.
4302 Added test output if focussed item implements the Value interface.
4304 * test/test-simple.c:
4305 Added test_value () function (known not to pass at the moment, so
4306 not actually called yet.
4308 2001-12-08 Michael Meeks <michael@ximian.com>
4310 * at-bridge/bridge.c (bridge_focus_tracker),
4311 (emit_eventv): fix the same ref. leak.
4312 (register_atk_event_listeners): don't leak.
4314 * cspi/spi-listener-impl.c (cspi_event): more
4315 protection from client code.
4317 * test/test-simple.c (test_desktop): unref the app.
4319 * test/Makefile.am: upd. TESTS.
4321 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4323 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4325 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4327 * cspi/spi_registry.c: constify in strings.
4328 (deregisterGlobalEventListenerAll): don't release the ref.
4330 * cspi/spi.h: start removing redundant / conflicting
4331 gtkdoc comments, making the API readable at a glance :-)
4333 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4335 * test/keysynth-demo.c (keysynth_exit, main): upd.
4337 * test/simple-at.c (main, simple_at_exit): upd.
4339 * test/test-simple.c (unutterable_horror): kill.
4340 (utterable_normal_derefs): kill.
4341 (main): upd & do a setenv before gtk_init, so that we
4342 can use memprof - and to save the pain of remembering
4343 this, if we're running under memprof - don't exit.
4345 * cspi/spi_main.c (SPI_exit): return exit status
4347 (SPI_event_quit): impl.
4348 (SPI_event_main): simplify.
4349 (cspi_is_gnome_app): kill.
4350 (SPI_init): kill isGNOMEapp arg.
4352 * at-bridge/bridge.c (register_atk_event_listeners):
4353 re-instate the unref.
4354 (bridge_exit_func): don't re-activate the registry,
4355 protect vs. theoretical re-entry, use the
4356 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4357 assert a clean shutdown - for regression tests.
4359 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4361 * configure.in: Comment out dummy i18n support for now,
4362 otherwise it fails to build.
4363 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4364 EXTRA_DIST. They are missing in tarball.
4366 2001-12-07 Michael Meeks <michael@ximian.com>
4368 * util/magnifier.c: kill bonobo activation reg. race.
4370 * libspi/component.c
4371 (impl_accessibility_component_get_extents): make it match
4374 * libspi/registry.c (_registry_notify_listeners):
4375 re-remove X headers & reconcile conflicts.
4376 (spi_listener_struct_free): bad conflict resolve.
4377 (impl_accessibility_registry_register_application):
4378 more bad merging fixed.
4379 (impl_accessibility_registry_deregister_application): ditto.
4380 (spi_registry_new): ditto.
4381 (spi_registry_init): don't have an applications field.
4383 [ merge fixups2 branch to here ]
4384 2001-12-07 Michael Meeks <michael@ximian.com>
4386 * test/simple-at.c (report_focus_event),
4387 (report_focussed_accessible): remove g_warning debug.
4389 2001-12-07 Michael Meeks <michael@ximian.com>
4391 * test/test-simple.c (validate_tree): comment out some checks.
4392 (test_desktop): app now not registered idly - horay.
4394 2001-12-07 Michael Meeks <michael@ximian.com>
4396 * cspi/spi_registry.c
4397 (registerAccessibleKeystrokeListener): clean, stop it leaking
4398 great swathes of memory, and device event controller references.
4399 ensure we always pass valid sequences.
4400 (deregisterAccessibleKeystrokeListener): ditto.
4401 (generateKeyEvent): upd.
4403 * at-bridge/bridge.c (bridge_key_listener): handle
4404 registry dead exception gracefully.
4405 (bridge_focus_tracker, emit_eventv): free ev.
4407 * test/simple-at.c (report_focus_event): fix polarity.
4409 * libspi/application.c (notify_listeners): kill the ev
4410 argument, and make sure we init the ev we use.
4411 (spi_application_object_event_listener): split out a chunk
4412 (get_atk_object_ref): here & fixup.
4413 (reverse_lookup_name_for_toolkit_event): make const.
4414 (spi_application_toolkit_event_listener): fixup, kill leaks
4417 * at-bridge/bridge.c (register_atk_event_listeners):
4418 don't unref the noop object - causes grief.
4420 * libspi/registry.c: remove the X headers.
4421 turn off the debug churn.
4423 * libspi/accessible.c (spi_accessible_new_return): only
4424 release the ref if we are supposed to [doh]
4426 * test/simple-at.c (report_button_press, report_focus_event):
4427 guard vs. unexpected exit.
4429 * at-bridge/bridge.c (gtk_module_init): prune printf.
4430 (bridge_exit_func): fix app unref.
4432 * libspi/Makefile.am: don't install registry or desktop.h
4434 * libspi/*.h: update includes.
4436 * libspi/application.h: don't include ourself, or
4437 other redundant headers.
4439 2001-12-06 Michael Meeks <michael@ximian.com>
4441 * libspi/accessible.c
4442 (get_accessible_from_servant): impl.
4443 Upd. all CORBA impl.s to use it killing cut and paste.
4445 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4447 (SPI_init): register atexit cleanup handler here.
4449 2001-12-06 Michael Meeks <michael@ximian.com>
4451 * at-bridge/bridge.c (gtk_module_init): g_error on
4452 activation exception
4454 2001-12-06 Michael Meeks <michael@ximian.com>
4456 * at-bridge/bridge.c (gtk_module_init): some sort of
4457 confusing merge clash - reverted.
4458 (bridge_idle_init): ditto.
4460 * test/test-simple.c (main, utterable_normal_derefs):
4461 merge from Bill - somehow not committed.
4463 2001-12-06 Michael Meeks <michael@ximian.com>
4465 * libspi/value.c (spi_value_class_init): upd.
4466 (spi_value_finalize): kill.
4468 * libspi/table.c (spi_table_finalize): kill.
4469 (spi_table_interface_new): upd.
4470 (spi_table_class_init): upd.
4471 (get_table_from_servant): impl.
4472 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4474 * libspi/selection.c (spi_selection_finalize): kill.
4475 (spi_selection_interface_new): upd.
4476 (spi_selection_class_init): upd.
4477 (get_selection_from_servant): impl.
4478 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4480 * libspi/relation.c (spi_relation_finalize): kill.
4481 (spi_relation_class_init, spi_relation_new): upd
4483 * libspi/image.c (spi_image_finalize): kill.
4484 (spi_image_class_init): upd.
4485 (spi_image_interface_new): upd.
4486 (get_image_from_servant): impl.
4487 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4489 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4490 (spi_hyperlink_finalize): kill.
4491 (spi_hyperlink_new): upd.
4492 (get_hyperlink_from_servant): impl.
4493 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4495 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4496 (spi_hypertext_finalize): kill.
4497 (spi_hypertext_class_init): upd.
4498 (get_hypertext_from_servant): impl.
4499 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4501 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4502 (spi_editable_text_interface_new): upd.
4503 (get_editable_text_from_servant): impl.
4504 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4506 * libspi/text.c (get_text_from_servant): impl.
4507 All impls - update to use it killing more cut and paste,
4508 also fix bad string returns on duff args ( a somewhat
4509 impossible case to handle - but hey ).
4510 (spi_text_construct): impl.
4511 (spi_text_interface_new): upd.
4512 (spi_text_object_finalize): kill.
4514 * libspi/component.c
4515 (accessibility_component_object_finalize): kill.
4516 (spi_component_class_init): upd.
4517 (get_component_from_servant): impl. helper to kill cut & paste.
4518 (impl_accessibility_component_contains):
4519 (impl_accessibility_component_get_accessible_at_point):
4520 (impl_accessibility_component_get_position):
4521 (impl_accessibility_component_get_extents):
4522 (impl_accessibility_component_get_mdi_z_order):
4523 (impl_accessibility_component_get_layer):
4524 (spi_component_interface_new): upd.
4526 * libspi/action.c (spi_action_finalize): kill.
4527 (spi_action_class_init): upd. inherit from SpiObject.
4528 (spi_action_interface_new): upd.
4529 (get_action_from_servant): impl. helper to reduce cut & paste.
4530 (impl_getKeyBinding, impl_getName, impl_doAction),
4531 (impl_getDescription): Use it everywhere.
4533 * cspi/spi_main.c (get_live_refs): a pointer hash.
4534 (spi_object_hash, spi_object_equal): comment out.
4535 There are issues with CORBA object hashing that need
4538 * libspi/application.c (spi_application_init),
4539 (spi_application_new): upd.
4541 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4542 (spi_accessible_class_init): upd.
4543 s/accessible/object/ in epv methods.
4545 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4547 * at-bridge/bridge.c:
4548 Reorder the bridge initialization into the bridge gtk_module_init,
4549 an immediate call to bridge_register_app, and an idle_add for
4550 register_atk_event_listeners (the only code that *must* wait until
4551 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4552 the activation, creates the application's Accessible object, and
4553 queues the bridge_idle_init function. Restored call to
4554 Accessibility_Registry_deregisterApplication().
4555 Prior to making this call we obtain a new reference to the
4556 registry, which is a temporary hack that helps us handle apps that
4557 shut down the bonobo mainloop before we get there.
4559 * libspi/registry.c:
4560 Fix string leakage in debug block, and don't segv if a an app
4561 dies before its event notifications have been propagated.
4564 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4565 as stopgap measure until we get proper exception handling when
4566 objects die during or before interrogation.
4570 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4571 Also changed default value of is_gnome_app to TRUE.
4574 * test/keysynth-demo.c:
4575 Changed use of SPI_init and SPI_event_main to reflect API change above.
4578 Made report_focus_event check the warning value from getName
4579 before reporting on focussed accessible; simplifies handling of
4580 notifications from dead objects.
4582 * test/test-simple.c: (Changes not in this patch since source is
4585 2001-12-05 Michael Meeks <michael@ximian.com>
4587 * registryd/registryd.c (main): protect against
4588 bonobo-activation startup race condition.
4590 * cspi/spi_main.c (cspi_object_add_check): cope
4591 with the exception elegantly.
4593 * idl/Accessible.idl: decl. ChildGone
4595 * libspi/desktop.c (spi_desktop_dispose): impl.
4596 (spi_desktop_class_init): upd.
4597 (spi_desktop_add_application),
4598 (spi_desktop_remove_application),
4599 (abnormal_application_termination): impl.
4600 (impl_desktop_get_child_at_index): re-impl.
4603 (impl_accessibility_registry_deregister_application),
4604 (impl_accessibility_registry_register_application):
4605 kill excessive debug clutter.
4607 * test/test-simple.c (test_misc): test some NULL
4608 tolerance. (main): upd.
4610 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4611 implements no interfaces - so let's not crash.
4613 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4615 * libspi/accessible.c (spi_accessible_new_return): impl.
4616 helper to calm the cut and paste, to cope with
4617 NULL AtkObjects effectively and efficiently, and to kill
4618 the referencing bugs.
4620 * libspi/table.c (impl_getAccessibleAt),
4621 (impl_getRowHeader, impl_getColumnHeader): upd.
4623 * libspi/hyperlink.c (impl_getObject): upd.
4625 * libspi/accessible.c
4626 (impl_accessibility_accessible_get_child_at_index): upd.
4628 * libspi/component.c
4629 (impl_accessibility_component_get_accessible_at_point): upd.
4631 * test/test-simple.c (test_editable_text, test_text): impl.
4634 * cspi/spi_editabletext.c
4635 (AccessibleEditableText_insertText): constify.
4637 * test/test-simple.c (focus_me): make more robust.
4639 * libspi/accessible.c: remove some printfs in methods that
4640 we test and work fine, so we can get a clean tree dump.
4642 * test/test-simple.c (validate_accessible),
4643 (validate_tree): make tree dumping pretty too.
4645 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4646 it builds without debug on.
4648 * test/test-simple.c (validate_accessible): fix the most
4651 * cspi/spi_main.c (spi_object_release): leave the nicely
4652 blanked memory around if in debug mode.
4654 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4656 [committed to fixups2]
4657 2001-12-05 Michael Meeks <michael@ximian.com>
4659 * libspi/editabletext.c
4660 (spi_editable_text_class_init): g_type_class_peek_parent,
4661 not interface peek - so we finalize cleanly.
4663 * libspi/accessible.c (spi_accessible_new): kill debug.
4665 * test/test-simple.c (validate_accessible): fix ref.
4666 leak, print strings before freeing them; sigh, comment a
4667 chunk out due to strangeness.
4668 (validate_tree): unref the child after use.
4670 * cspi/spi_component.c (AccessibleComponent_getLayer):
4671 add missing break statement, switch on zlayer not the
4672 uninitialized retval.
4674 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4675 before (possibly re-entering) remote unref.
4677 * test/simple-at.c (main): unref the desktop.
4679 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4682 * cspi/spi_main.c (cspi_accessible_is_a): here to
4683 isolate bonobo API usage more.
4685 * libspi/registry.c (impl_accessibility_registry_register_application):
4686 prune bogus comment.
4688 2001-12-04 Michael Meeks <michael@ximian.com>
4690 * test/test-simple.c (validate_tree): upd.
4691 IndexInParent check to make it more lucid.
4692 (validate_accessible): dump the tree.
4694 * libspi/accessible.c (de_register_public_ref),
4695 (get_public_refs): impl.
4696 (spi_accessible_new): make more efficient & intuitive.
4697 Now IndexInParent check works.
4699 2001-12-04 Michael Meeks <michael@ximian.com>
4701 * cspi/spi-util.h: remove.
4703 * cspi/spi.h: move SPI_freeString here
4705 * libspi/component.c (impl_accessibility_component_get_layer):
4707 (impl_accessibility_component_get_mdi_z_order): ditto,
4708 return -1 on error - is this ok ?
4710 * test/test-simple.c (test_application): impl.
4712 * cspi/spi_accessible.c (Accessible_getApplication),
4713 (Accessible_isApplication): impl.
4715 * libspi/registry.c (spi_listener_struct_free): release
4716 the CORBA reference too.
4718 * libspi/accessible.c
4719 (impl_accessibility_accessible_get_parent): fix ref leak.
4721 * libspi/registry.c (spi_registry_new): make the registry
4722 immortal - we don't want it to go away ever.
4724 * libspi/application.c
4725 (spi_accessible_application_finalize): impl. cleanup.
4727 * cspi/spi_registry.c
4728 (deregisterGlobalEventListenerAll),
4729 (deregisterGlobalEventListener),
4730 (deregisterAccessibleKeystrokeListener): fix ref leak.
4732 * cspi/spi_main.c (SPI_init): remove redundant ref.
4734 * test/test-simple.c (unutterable_horror): impl. to force a
4739 (impl_accessibility_registry_deregister_application): release
4740 the application when we de-register it.
4742 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4743 until we have the infastructure to get it right.
4745 2001-12-03 Michael Meeks <michael@ximian.com>
4747 * libspi/Makefile.am: only build eventlistener.[ch]
4749 * libspi/accessible.c
4750 (impl_accessibility_accessible_get_child_at_index): don't leak.
4752 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4753 before we hit the idle handler.
4755 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4756 debugging than exit.
4758 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4760 * libspi/listener.c (impl_notify_event): check source
4761 not NIL before unref.
4763 * libspi/registry.c (impl_registry_notify_event): ditto.
4765 * libspi/eventlistener.c
4766 (impl_accessible_event_notify_event): unref the source.
4768 * libspi/accessibleeventlistener.c
4769 (impl_accessible_event_notify_event): unref the source.
4771 * idl/Event.idl: remove 'hash_id' attribute - of no
4774 * libspi/application.c (notify_listeners): upd list
4776 (spi_application_object_event_listener),
4777 (spi_application_toolkit_event_listener): upd to do correct
4781 (_registry_notify_listeners): update.
4782 (parse_event_type): this method also leaks like a sieve.
4783 (impl_accessibility_registry_deregister_global_event_listener):
4784 fix ETYPE_WINDOW case.
4786 * libspi/application.c
4787 (impl_accessibility_application_register_object_event_listener):
4790 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4792 * libspi/hypertext.c (impl_getLink): ditto.
4794 * cspi/spi_main.c (cspi_object_add): remove
4795 bogus CORBA_Object_duplicate.
4797 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4800 * cspi/spi_accessible.c
4801 (Accessible_getRelationSet): fix leak / referencing issue.
4803 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4804 (cspi_object_add, cspi_object_unref): upd.
4805 (spi_object_release, get_live_refs): impl.
4806 (cspi_cleanup): simplify.
4808 * *.[ch]: s/boolean/SpiBoolean/
4810 * cspi/spi_accessible.c (role_names): actualy order so it
4811 corresponds with the enum !
4813 * test/test-simple.c (test_roles): check some role strings
4814 vs. enums to detect offset errors.
4816 2001-12-01 Michael Meeks <michael@ximian.com>
4818 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4820 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4822 (Accessible_getChildAtIndex): use cspi_add_check so we
4823 check the ev before using a (possibly) invalid value.
4825 * libspi/accessible.c
4826 (impl_accessibility_accessible_get_parent): don't segv
4829 * at-bridge/bridge.c (gtk_module_init): upd.
4830 (bridge_property_event_listener): don't leak strings
4832 (bridge_state_event_listener),
4833 (bridge_property_event_listener): don't use a static
4834 buffer in case of recursive event emission &
4835 re-enterancy - split out the swathe of cut and paste
4837 (emit_eventv): and fix 2 ref leaks here & comply to the
4839 (bridge_register_app): rename to
4840 (bridge_idle_init): this and kill arg parsing, split
4841 various inits & bonobo-activation registration to module
4842 init time, kill referencing error.
4843 (bridge_exit_func): fix the same leak.
4844 (bridge_focus_tracker): don't leak event structures
4846 (bridge_signal_listener): more leakage and cut & paste
4848 (bridge_key_listener): return the result - FIXME is
4849 this polarity correct ?
4850 (accessibility_keystroke_from_atk_key_event): rename
4851 (accessibility_init_keystroke_from_atk_key_event): and stop
4853 (gtk_module_init): return a value - not that it is checked by
4855 (bridge_key_listener): register my horror at casting between
4856 IDL defined structs.
4857 (bridge_get_registry): kill - not used.
4859 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4861 * test/test-simple.c (test_roles): impl.
4862 (test_desktop, validate_accessible, validate_tree): impl.
4864 * cspi/spi_accessible.c (role_names): fixup bogus
4865 MAX_ROLES setup, make constants const for efficient linkage
4866 (AccessibleRole_getName): conform to coding style, make
4869 2001-11-30 Michael Meeks <michael@ximian.com>
4871 * cspi/spi.h: add missing prototype.
4873 * libspi/registry.c (spi_listener_struct_new): fix sig.
4875 * test/Makefile.am: add test-simple
4877 * test/test-simple.c: add
4879 * test/test.sh: add.
4881 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4883 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4884 do it straight - since otherwise we often get an activation race.
4886 [ work before Bill duplicated a chunk of it ... ]
4887 2001-11-30 Michael Meeks <michael@ximian.com>
4889 * libspi/keystrokelistener.c
4890 (spi_keystroke_listener_class_init): fixup arg
4893 * libspi/eventlistener.c
4894 (spi_event_listener_class_init): ditto.
4896 * tests/test.sh: add.
4898 * cspi/spi-listener-impl.h: update macros.
4900 * cspi/spi-listener-impl.c
4901 (cspi_event_listener_remove_callback): add
4902 correct pre-conditions.
4904 * cspi/spi_main.c (SPI_exit): guard vs. double
4905 exits, exit the mainloop nicely.
4906 (SPI_event_main): make more sense.
4907 (SPI_init): move the atexit evilness here so we
4908 always do it (yuck).
4909 (SPI_event_main): upd.
4911 * test/simple-at.c: update for listener changes.
4913 * registryd/registryd.c (main): prune kruft.
4915 * libspi/libspi.h: upd.
4917 * libspi/eventlistener.[ch]: rename broken macros.
4919 * libspi/accessibleeventlistener.[ch]: remove.
4921 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4923 * test/test-simple.c: Add - automated tests.
4925 * cspi/spi-listener-impl.c (cspi_event),
4926 (cspi_key_event): add user_data to invoke.
4927 (cspi_keystroke_listener_finalize): impl.
4928 (cspi_keystroke_listener_class_init): upd.
4931 (createAccessibleEventListener),
4932 (AccessibleEventListener_addCallback),
4933 (createAccessibleKeystrokeListener),
4934 (AccessibleKeystrokeListener_addCallback): upd.
4936 * libspi/deviceeventcontroller.c
4937 (spi_device_event_controller_check_key_event): add public proto.
4940 (impl_accessibility_registry_deregister_global_event_listener):
4941 always init listeners.
4942 (_registry_notify_listeners): yes it is.
4944 * cspi/spi-listener-impl.c (cspi_key_event):
4946 (cspi_event_listener_finalize): impl.
4947 (cspi_event_listener_class_init): hook up.
4948 (event_handler_new, event_handler_free),
4949 (event_list_remove_by_callback): impl.
4950 (cspi_event_listener_remove_callback),
4951 (cspi_keystroke_listener_remove_callback),
4952 (cspi_keystroke_listener_add_callback),
4953 (cspi_event_listener_add_callback): upd.
4955 * libspi/keystrokelistener.c
4956 (keystroke_listener_object_finalize): kill
4957 (spi_keystroke_listener_class_init): upd.
4958 (spi_keystroke_listener_add_callback),
4959 (spi_keystroke_listener_remove_callback): kill,
4961 (impl_key_event): prune drasticaly.
4963 * libspi/eventlistener.c
4964 (spi_event_listener_add_callback),
4965 (spi_event_listener_remove_callback): kill, use
4967 (impl_accessible_event_notify_event): upd.
4968 (spi_event_listener_object_finalize): remove.
4970 * libspi/Makefile.am: use eventlistener.[ch]
4972 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4974 * libspi/registry.c (_registry_notify_listeners):
4975 Changed listener loop iteration to use preferred convention.
4976 Got rid of string memory leaks caused be calling g_strconcat
4977 inside function calls.
4979 * libspi/registry.c (parse_event_type):
4980 Stopped g_strconcat memory leaks, free the g_strsplit return,
4981 g_strdup the split pieces when used, etc.
4983 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4986 Change method 'compare' to return a 'difference set' rather than
4987 taking a StateSet as an out parameter (more Java-friendly).
4989 * idl/Accessible.idl:
4990 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4992 * idl/Component.idl:
4994 Changed methods 'getExtents' and 'getImageExtents' in these
4995 interfaces to return a BoundingBox structure.
4996 (getPosition and getSize are redundant and possibly should be
4997 removed, rather than creating a corresponding Point struct.)
4999 * cspi/spi_component.c:
5000 Modify implementation of getExtents to reflect the above IDL
5005 Add (missing) AccessibleImage_getExtents () API.
5007 * docs/reference/cspi/at-spi-cspi-sections.txt:
5008 Added AccessibleImage_getImageExtents () to docs.
5010 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5012 * idl/Component.idl:
5013 Added two methods, getLayer () and getMDIZOrder (), to reflect
5014 the new ATK methods atk_object_get_layer and
5015 atk_object_get_mdi_z_order. (Which arguably should be part of the
5016 AtkComponent API and AtkObject). Also added an enum,
5017 ComponentLayer, for the first method's return value.
5019 * libspi/component.c:
5020 Added implementations for these methods.
5022 * cspi/spi_component.c:
5024 Added cspi binding methods for above,
5025 AccessibleComponent_getLayer() and
5026 AccessibleComponent_getMDIZOrder().
5027 Added cspi enum 'AccessibleComponentLayer'.
5029 * docs/reference/cspi/at-spi-cspi-sections.txt:
5030 Added above methods to docs.
5034 Changed typedef for 'boolean' type (and all references to it) to
5035 SPIBoolean, to avoid keyword clashes with C++.
5038 Changed usages of 'boolean' to SPIBoolean.
5040 * test/keysynth-demo.c:
5041 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5042 app), except where SPIBoolean is required by the callbacks API.
5044 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5046 * cspi/spi_registry.c:
5047 Removed obsolete X event loop for passive keygrabs (which now
5050 * registryd/registryd.c:
5051 Removed unnecessary call to gdk_init() [cruft]. This also allows
5052 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5055 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5057 * docs/reference/cspi:
5058 Included docs for SPI_freeString in generated documentation.
5061 Renamed spi_freeString to SPI_freeString, for consistency. Added
5062 documentation for this function.
5065 Renamed spi_freeString to SPI_freeString, for consistency.
5066 Removed obsolete method declaration string_from_corba_string.
5068 * test/keysynth-demo.c:
5069 Small tweak to comments.
5072 Stopped leaking the strings returned from CSPI.
5074 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5076 Merged Michael's branch (see his ChangeLog entries below).
5078 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5079 bridge is alive, release on exit.
5081 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5082 Fix type check macro.
5085 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5088 Added is_gnome_app static, and method cspi_is_gnome_app(),
5089 so we can call the appropriate shutdown routine at exit in SPI_exit.
5091 * cspi/spi_main.c (cspi_object_ref):
5092 Duplicate the corba object passed in, since we're keeping it around.
5094 * cspi/SPI_exit.c, cspi_cleanup:
5095 Moved the releasing of the live refs to its own function, so we
5096 can put it in g_atexit (). Call the appropriate shutdown API
5097 depending on whethe calling client is a gnome app or not
5098 (bonobo_main_quit or CORBA_ORB_shutdown).
5100 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5101 Unref the listener when this method is called, after
5102 deregistration. Updated the API docs to note this behavior.
5104 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5105 Bugfixes: Ref the bonobo object when returning a parent or child
5106 reference, or an AccessibleRelation. Generally made sure
5107 BonoboObject refcount is incremented whenever we return an
5110 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5111 Fixed typo/bug in signal declaration.
5113 * libspi/accessibleeventlistener.h:
5116 * libspi/application.c (spi_application_new):
5117 Fixed leak in initialization.
5120 Remembered to increment bonobo-object refcount when returning
5121 children (applications) from desktop object.
5122 Added (empty) finalize method.
5124 * libspi/deviceeventcontroller.c:
5125 Hold a ref to listeners inside DEControllerKeyListeners.
5126 Added dec_key_listener_free() method. Use prepend instead of
5127 append in key_listener list. Fixed some refcount madness and
5128 leaks in the listener registration/deregistration - deregistration
5129 now calls dec_key_listener_free() on listeners, and on the
5130 temporarily constructed dec_key_listener() used to perform the search/match.
5132 * libspi/hypertext.c (spi_hypertest_finalize):
5133 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5134 class. Also fixed spi_hypertext_interface_new() and
5135 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5137 * libspi/hypertext.h:
5138 Removed pointless and duplicate AtkObject pointer from
5141 * libspi/keystrokelistener.c:
5142 Fixed incorrect type of keystroke_listener_parent_class,
5143 renamed keystroke_listener_object_finalize to
5144 spi_keystroke_listener_object_finalize.
5145 Fixed typo in signal declaration
5146 (spi_keystroke_listener_class_init).
5148 * libspi/registry.c:
5149 Added funcsions spi_listener_struct_new() and
5150 spi_listener_struct_free() to help with memory management issues.
5151 We also now use these methods instead of gnew + poking stuff into
5152 the struct, and to decrement listener counts/free the listeners
5153 when deregistering them.
5154 Fix more refcount bugs in getDesktop() and
5155 getDeviceEventController().
5158 De-ref the desktop after enumerating the applications. Explicitly
5159 decrement the refcounts on the created listeners on exit (using
5160 _unref for keystroke listeners, and via the
5161 deregisterGlobalEventListenerAll command for other event
5164 2001-11-27 Michael Meeks <michael@ximian.com>
5166 * cspi/spi-listener.h: fixup enum.
5168 2001-11-27 Michael Meeks <michael@ximian.com>
5170 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5171 (cspi_keystroke_listener_new): Use the cspi variants.
5173 2001-11-26 Michael Meeks <michael@ximian.com>
5175 * test/keysynth-demo.c: fix 2 compile warnings, missing
5178 * test/simple-at.c (report_focussed_accessible),
5179 (report_focus_event, report_button_press),
5180 (check_property_change, is_command_key),
5181 (report_ordinary_key_event, report_command_key_event): upd.
5183 * util/mag_client.h: include pre-requisites.
5185 * libspi/accessibleeventlistener.c
5186 (spi_event_listener_object_finalize): free any lingering
5189 * libspi/keystrokelistener.c
5190 (keystroke_listener_object_finalize): ditto.
5192 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5193 callbacks, with cspi types.
5195 * cspi/spi_event.c (createAccessibleEventListener): chain to
5196 (AccessibleEventListener_addCallback): here.
5197 (createAccessibleKeystrokeListener): chain to
5198 (AccessibleKeystrokeListener_addCallback): here.
5200 * libspi/keystrokelistener.c
5201 (spi_keystroke_listener_class_init): add signal.
5202 (impl_key_event): emit the event.
5203 (boolean_handled_accumulator): impl.
5204 (marshal_BOOLEAN__POINTER): add, gack.
5206 * libspi/accessibleeventlistener.c
5207 (spi_event_listener_class_init): add signal.
5208 (impl_accessible_event_notify_event): emit the signal &
5209 make the loop efficient.
5210 (spi_event_listener_add_callback): prepend the callback.
5212 * libspi/accessibleeventlistener.h: add an 'event' signal,
5213 decl type on callback.
5215 * libspi/keystrokelistener.h: ditto.
5217 * cspi/spi-listener.h: make methods typesafe and
5218 make them use the new event typedefs.
5220 * test/simple-at.c (report_focussed_accessible):
5221 include mag_client.h
5222 Use *(void *)text_interface not the other thing.
5224 * configure.in: add gtk to registryd bits - since we use
5227 * util/magnifier.c: include libbonobo.h
5229 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5231 * test/keysynth-demo.c:
5232 Turned this into a simple scanning keyboard, to demonstrate the
5233 use of g_timeout_add () as a means of creating timers for
5234 scanning, and the use of GtkStyle for visually indicating when
5235 virtual keyboard elements are selected.
5237 keysynth-demo now listens to any keyboard keys with zero-valued
5238 keycodes (i.e. 'unused' keys) and interprets them as
5241 Reworked the shiftlatch code so that shift-down state isn't held
5242 for long periods (it's only synthesized immediately prior to
5243 the keysynth event it's modifying). Note that shiftlatch in this
5244 demo is a convenience, not intended to take the place of AccessX
5245 which is the better choice for getting 'sticky' modifier keys.
5247 * libspi/deviceeventcontroller.c:
5248 * at-bridge/bridge.c:
5249 * cspi/spi_registry.c:
5250 Removed some debug print stuff, and put other verbosity in #ifdef
5255 Implemented some more of the magnifier IDL for the simple
5256 magnifier: namely, getZoomRegionParams.
5257 Added mag_x and mag_y members to MagnifierData struct, aid of this
5259 Added GtkWindow::realize signal handler to magnifier, to keep it
5260 from receiving keyboard focus from the WM.
5262 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5264 * cspi/spi-private.h: my guess at what michael forgot
5265 before he ran off to NZ :-)
5267 2001-11-23 Michael Meeks <michael@ximian.com>
5269 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5270 comment out non existant method invoke so we link.
5272 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5273 use bonobo_exception_get_text for more friendly warnings.
5275 * cspi/spi.c (Obj_Add): move into spi_main & rename
5276 spi_object_add; kill spi.c
5278 * cspi/spi_registry.c
5279 (deregisterGlobalEventListener),
5280 (deregisterGlobalEventListenerAll),
5281 (registerGlobalEventListener): fix exception leaks.
5283 * cspi/spi_main.c (spi_exception): impl. helper, so we
5284 don't leak exceptions.
5286 * cspi/spi_selection.c
5287 (AccessibleSelection_deselectSelectedChild): return the
5290 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5291 (spi_registry): ditto.
5292 (SPI_init): guard against double inits.
5294 * cspi/*.c: use spi_ev (), and spi_registry () where
5295 appropriate - a temporary hack until we have something
5296 better. Use spi_object_add
5298 2001-11-22 Michael Meeks <michael@ximian.com>
5300 * cspi/Makefile.am: re organise, install the headers.
5302 * cspi/*.h: add G_BEGIN/END_DECLS
5304 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5307 Added non-preemptive keylistener for key events with no modifiers
5308 and shift-only modifier.
5310 * libspi/keystrokelistener.c:
5311 Removed some verbose diagnostics printout.
5313 * cspi/spi_registry.c:
5314 Fixed a bug that caused all key listeners to be registered as
5317 * libspi/deviceeventcontroller.c:
5318 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5319 for non-preemptive key masks.
5322 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5324 * docs/reference/idl/at-spi-idl-docs.sgml:
5325 * docs/reference/idl/at-spi-idl-sections.txt:
5326 * docs/reference/idl/at-spi-idl-overrides.txt:
5327 Added missing files.
5329 * docs/reference/Makefile.am:
5330 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5331 to scan the IDL files :-(
5336 Added .cvsignore files.
5338 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5340 * libspi/deviceeventcontroller.c:
5341 * libspi/keystrokelistener.c:
5343 * cspi/spi_registry.c:
5344 Added filters for KeySets, KeyEventSeq, and event types to key
5345 event dispatching, so listeners should only receive those events
5346 that they requested :-)
5348 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5353 * docs/reference:Makefile.am:
5354 * docs/reference/cspi:
5355 * docs/reference/cspi:Makefile.am:
5356 * docs/reference/cspi:tmpl:
5357 * docs/reference/cspi:tmpl:*.sgml:
5358 * docs/reference/idl:
5359 * docs/reference/idl:Makefile.am:
5360 * docs/reference/idl:at-spi-idl-sections.txt:
5361 * docs/reference/idl:at-spi-idl-docs.sgml:
5362 * docs/reference/idl:tmpl:
5363 * docs/reference/idl:tmpl:*.sgml:
5365 Restructured docs directory to allow separate 'reference' docs
5366 section, and forked idl and cspi docs. Added the sgml template
5367 files to CVS. Added the first sections/structural sgml for the
5370 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5372 * configure.in, libspi/Makefile.am: find libXtst.
5374 2001-11-21 Michael Meeks <michael@ximian.com>
5376 * test/accessx-gui.c: s/spi_value/value/ - doh.
5378 * libspi/base.[ch]: add.
5380 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5382 * idl/Accessible.idl:
5383 * idl/Application.idl:
5386 Started gtk-doc cleanup on IDL.
5388 * libspi/deviceeventcontroller.c:
5389 Added and connected non-preemptive key notification from the
5390 toolkits (in addition to the pre-emptive support from XServer
5391 which we had before, but which causes 'focus flashing'). Filters
5392 are presently limited to key modifiers and global/non-global,
5393 KeySets are presently ignored, as are KeyEvent masks.
5395 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5396 structs into the persistant structure rather than just storing
5397 pointers to things that might not persist across servant
5400 The XGrabKey call now does async keygrabs, because synchronous
5401 ones were deadlocking with GDK_event code in a very nasty way.
5403 Added boolean to internal method notify_keylisteners, to indicate
5404 whether the event came from the 'toolkit source' or the 'global
5405 (XServer) source' - this is used in the notification process to
5406 determine which listeners to send the event to.
5408 deviceeventcontroller.c is now warning-free.
5410 * libspi/registry.c:
5411 Fixed regression in application de-registration.
5412 Also fixed some really brain-dead weirdness having to do with
5413 event dispatching - event structs are now duplicated before being
5414 re-marshalled in the dispatch to listeners. This also fixes a
5415 Solaris build problem.
5418 2001-11-20 Michael Meeks <michael@ximian.com>
5421 (impl_accessibility_registry_deregister_global_event_listener):
5424 * libspi/deviceeventcontroller.c
5425 (spi_device_event_controller_check_key_event): return
5426 FALSE on no virtual method.
5428 * libspi/*..h: make includes work on a correctly pathed install.
5430 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5432 * libspi/application.h: kill unused ( and whacked out )
5433 gboolean *spi_application_set_id (AtkObject *app, long id);
5435 2001-11-20 Michael Meeks <michael@ximian.com>
5437 * libspi/*.[ch]: further convert to bonobo's type func
5438 macros, remove redundnant casts etc.
5440 * libspi/text.c s/accessibility_text/spi_text/g,
5441 re-order to de-cruft.
5443 * libspi/hypertext.c: re-order to kill a huge slew
5444 of redundant forward decls.
5446 * libspi/relation.c: ditto.
5448 * libspi/image.c: ditto.
5450 * */.cvsignore: update
5452 2001-11-20 Michael Meeks <michael@ximian.com>
5454 * libspi/deviceeventcontroller.c
5455 (_controller_register_with_devices): use g_getenv,
5456 kill stdlib.h include.
5458 * libspi/keystrokelistener.c
5459 (spi_keystroke_listener_get_type): kill
5460 (spi_keystroke_listener_class_init),
5461 (spi_keystroke_listener_init): rename to this.
5463 * libspi/text.c (impl_getAttributes): fix warning / bug.
5465 * libspi/*.[ch]: more headers, includes and over commenting.
5467 2001-11-20 Michael Meeks <michael@ximian.com>
5469 * libspi/*.[ch]: fixup headers, includes and over commenting.
5471 * libspi/image.c (impl__get_imageDescription): const
5472 correctness warning fix. remove redundant casting.
5474 * libspi/table.c (impl_getRowDescription): ditto.
5475 (impl_getColumnDescription): ditto.
5477 * libspi/libspi.h: add.
5479 2001-11-19 Michael Meeks <michael@ximian.com>
5481 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5483 * libspi/component.c (accessibility_component_get_type):
5484 rename to (spi_component_get_type): and macroify.
5485 (accessibility_component_init): rename to
5486 (spi_component_init): this
5487 (accessibility_component_class_init): rename to
5488 (spi_component_class_init): this
5490 * libspi/action.c (spi_action_get_type): kill, use the macro.
5492 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5495 * libspi/application.c (spi_application_object_event_listener),
5496 (impl_accessibility_application_register_object_event_listener):
5497 warning fixes / const understanding updates.
5499 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5502 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5504 * libspi/spi_accessible.c: Added docs and C bindings for
5505 AccessibleStateSet. (No implementations yet). Documentation
5506 coverage for C bindings now 100%. Made docs for event listeners
5511 boolean notifyListenersSync (in DeviceEventListener listener,
5512 in DeviceEvent event);
5514 oneway void notifyListenersAsync (in DeviceEventListener listener,
5515 in DeviceEvent event);
5517 Added DeviceEventListener and DeviceEvent structs (may deprecate
5518 KeyStroke and KeystrokeListener in favor of this generic
5519 event/listener framework for devices).
5521 * libspi/deviceeventcontroller.c:
5523 Changed some key listener code to take masks, etc., and paved the
5524 way for integration of toolkit/non-preemptive key events. Changed
5525 signatures of some internal methods.
5527 * at-bridge/bridge.c:
5528 Fixed regression connecting to interface signals, apparently
5529 caused by GTK+ changes.
5531 Added an internal bridge_state_listener to deal with
5532 property-change:accessible-state signals.
5534 Changed the key_listeners GList to store structs (including masks,
5535 etc.) instead of just CORBA_Objects (required for full
5536 implementation of key listener API).
5538 Connected the bridge to all currently supported Atk signals.
5539 Events now supported:
5540 object:property-change
5541 object:property-change:accessible-name
5542 object:property-change:accessible-state
5543 object:property-change:accessible-description
5544 object:property-change:accessible-parent
5545 object:property-change:accessible-value
5546 object:property-change:accessible-role
5547 object:property-change:accessible-table-caption
5548 object:property-change:accessible-table-column-description
5549 object:property-change:accessible-table-column-header
5550 object:property-change:accessible-table-row-description
5551 object:property-change:accessible-table-row-header
5552 object:property-change:accessible-table-summary
5553 object:children-changed
5554 object:visible-data-changed
5555 object:selection-changed
5556 object:text-selection-changed
5558 object:text-caret-moved
5560 object:row-reordered
5562 object:column-inserted
5563 object:column-reordered
5564 object:column-deleted
5565 object:model-changed
5567 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5569 * libspi/hyperlink.c,h:
5570 Fixed some broken stuff in hyperlink.
5572 * libspi/relation.h:
5573 * libspi/relation.c:
5574 * cspi/spi_accessible.c:
5575 Initial implementations of AccessibleRelation methods, and docs.
5577 * libspi/accessible.c:
5578 Fixed a bug that caused SEGV if an accessible
5579 object's description is NULL, and a client
5580 requests it. An empty string is now returned.
5582 * cspi/spi_editabletext.c:
5583 * cspi/spi_hypertext.c:
5585 * cspi/spi_hyperlink.c:
5589 Doc coverage now 95%.
5591 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5593 One last namespacing revision:
5594 * libspi/accessibleeventlistener.[ch]:
5595 Renamed SpiAccessibleEventListener to SpiEventListener,
5596 (no need for two namespaces ;-)
5598 And lots of documentation fixes:
5600 * docs/at-spi-docs.sgml:
5601 Fixed 'underscore vs. hyphen' bug that was preventing
5602 the gtk-doc API docs from being automatically generated.
5605 * cspi/spi-listener.h
5607 * cspi/spi_accessible.c
5609 * cspi/spi_application.c
5610 * cspi/spi_component.c
5611 * cspi/spi_editabletext.c
5613 * cspi/spi_hypertext.c
5615 * cspi/spi_registry.c
5616 * cspi/spi_selection.c
5620 * docs/at-spi-docs.sgml
5621 * docs/at-spi-sections.txt
5623 Added and fixed up gtk-doc documentation in cspi.
5625 Interfaces now (fully) documented (subject to revision and enhancement):
5627 Event Listener Support
5629 AccessibleApplication
5633 AccessibleEditableText
5640 AccessibleRelationSet
5645 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5647 * at-bridge/bridge.c:
5648 Initial work for toolkit-level key snooper connection by bridge.
5653 New typedefs and fixes to support new namespacing, and cleaner
5654 separation of cspi bindings from libspi bonobo implementation.
5655 Removed inconsistent and extraneous Spi* namespace prefix that
5656 had crept into cspi headers.
5657 Lots of comment fixes that sed had missed.
5659 * cspi/spi-roletypes.h:
5660 * cspi/spi-statetypes.h:
5661 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5662 to AccessibleRoleType.
5664 * libspi/accessibleeventlistener.h:
5665 Fixed minor namespacing weirdness.
5667 * libspi/deviceeventcontroller.c:
5668 Reordered some internal API for device listeners.
5669 Changed the key registry final boolean to 'is_system_global'
5670 rather than 'is_synchronous', which is more descriptive of its
5672 Added spi_device_event_controller_new().
5673 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5675 * libspi/keystrokelistener.[ch]:
5676 Namespaced KeystrokeListener to SpiKeystrokeListener.
5677 Changed uses of keymasks to use SPI_ prefix, and did other
5680 * libspi/keymasks.h:
5681 Namespaced keymask constants with SPI_ prefix.
5683 * libspi/registry.c:
5684 Some warning fixes, and knock-on fixes from namespace changes.
5687 Added rules for accessx-gui test program.
5689 * test/accessx-gui.c:
5690 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5691 utility. It doesn't actually use at-spi, but it's still cool and
5694 * test/keysynth-demo.c:
5698 Fixes so that these test clients work properly with the namespaced
5699 libraries. (Incompletely tested for technical reasons, fixes may follow)
5702 2001-11-13 Michael Meeks <michael@ximian.com>
5704 * libspi/application.c
5705 (impl_accessibility_application_get_version),
5706 (impl_accessibility_application_get_toolkit_name):
5708 (impl_accessibility_application_set_id),
5709 (impl_accessibility_application_get_id): remove
5710 redundant casting code.
5712 * libspi/action.c (impl_getDescription): fix warnings.
5714 * libspi/accessible.c
5715 (impl_accessibility_accessible_get_parent),
5716 (impl_accessibility_accessible_get_child_at_index),
5717 (impl_accessibility_accessible_get_state),
5718 (impl_accessibility_accessible_get_relation_set):
5719 warning fixes & include action.h
5721 2001-11-13 Michael Meeks <michael@ximian.com>
5723 * *.[ch] fix bits I screwed up:
5725 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5726 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5728 2001-11-13 Michael Meeks <michael@ximian.com>
5730 * *.[ch] Namespace libspi into spi_ and Spi.
5732 2001-13-11 Michael Meeks <michael@ximian.com>
5734 * Makefile.am: dist & install at-spi-1.0.pc
5736 * libspi/Makefile.am: install into at-spi-1.0
5738 * idl/Makefile.am (idldir): install into at-spi-1.0
5740 * at-spi-1.0.pc.in: add.
5742 * configure.in: build it.
5744 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5746 * test/keysynth-demo.c:
5747 Use a 'realize' signal-handler to set the WM properties for
5748 the virtual keyboard, rather than making it a "POPUP" type
5749 override-redirect window (thanks to anders carlsson for that
5752 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5755 * test/keysynth-demo.c:
5756 Added new test of key synthesis, which creates a simple
5757 (mouse-operated) onscreen keyboard. It inserts key events into
5758 the currently-focused window, thus it does not grab keyboard focus
5761 * cspi/spi_registry.c:
5762 Added C binding for AT-SPI generateKeyEvent.
5764 * libspi/deviceeventcontroller.c:
5765 Added call to XFilterEvent so that key listener works with XIM (we
5766 hope). Added event_synth_type to generateKeyEvent, so that we can
5767 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5768 synthesize a press/release pair for KeySyms.
5770 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5772 * libspi/Makefile.am:
5773 * registryd/Makefile.am:
5774 (temporary) hack to include libXtst in libspi and registryd.
5775 (Needed for keystroke synthesis, see below).
5778 Improved API for registerKeystrokeListener, in accordance with
5779 discussions with Gnopernicus team and X server research.
5781 * libspi/registry.c:
5782 * libspi/deviceeventcontroller.c:
5783 * libspi/accessible.c:
5784 * libspi/keystrokelistener.c:
5785 Changes and fixes to support keylisteners for potentially
5786 consumed key events (that is, 'passive grabs').
5787 Added implementation for generateKeyEvent() [untested].
5790 Changes to registerKeystrokeListener() API, as above.
5791 Added deregisterGlobalEventListenerAll(), and
5792 deregisterKeystrokeListener(), which are needed for clean exit of
5794 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5795 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5797 * cspi/spi_registry.c:
5798 Added implementations of function prototypes mentioned above.
5800 * registryd/registryd.c:
5801 Added the key listener event source as a g_timeout(), to allow
5802 receipt of key events that are not caught by GDK (since GDK
5803 doesn't support passive keygrabs, this was necessary).
5806 Changed to attach a keylistener to 'Alt' keys, and
5807 respond to the following keycommands: Alt-M (toggle magnifier);
5808 Alt-F (toggle speech); Alt-Q (quit).
5809 Added an exit routine to deregister the listeners, and a key
5810 listener that prints some key info to the console when a key
5811 matches the listener mask (and is thus received by the listener).
5813 * util/idl/Magnifier.idl:
5814 Changes to magnifier API to support multiple zoom regions,
5815 non-uniform scaling in x and y, markDirty, and a host of other
5816 features that would be useful to magnification.
5819 * util/mag_client.c:
5820 * util/mag_client.h:
5821 * util/mag_control.c:
5823 Source code changes to support the above IDL changes.
5826 As above, and also changes to use a (slower) generic conversion
5827 path for colormap conversions, since the fast RGB conversions have been
5828 reported to fail for 16-bit displays.
5830 2001-10-26 Michael Meeks <michael@ximian.com>
5832 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5834 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5836 * at-bridge/Makefile.am: fix LDFLAGS.
5838 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5840 * at-bridge/bridge.c:
5841 Re-worked listeners for toolkit events, now we have signal
5842 and property listeners. Added a private method
5843 register_atk_event_listeners(), which registers with the
5844 various atk and gtk signals we need to monitor in order to emit
5846 Added emission hook for AtkObject:property-change events, to
5847 support the 'property listeners'.
5848 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5851 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5852 which emit warnings and exit, respectively, if CORBA errors occur
5853 during remote calls, and we now use these methods to check most of
5854 our CORBA calls in the C bindings.
5856 * cspi/spi_accessible.c:
5857 Changed AccessibleSelection_refSelectedChild() to
5858 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5859 now increment refcounts.
5861 * cspi/spi_component.c:
5862 Fixed some long pointer casts (dangerous!) to pass pointers to
5863 CORBA_longs of the proper type to the CORBA stubs, and copy the
5864 data into the longs that were passed into the C bindings code.
5866 * at-bridge/bridge.c:
5868 * libspi/accessible.c:
5869 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5870 hyperlinks, AtkHyperlink is an object type.
5872 * libspi/application.c:
5873 Added various conversions to and from "generic" event types and
5874 atk-specific types; this is really part of the 'bridge'
5875 implementation but is valid for all AtkObject-based accessibility
5878 * libspi/editabletext.c:
5879 Fixed nasty bug wherein editable text's finalize method was
5880 unref'ing tha AtkObject reference that the text parent class was
5881 about to unref _again_. There was also a nasty inheritance bug
5882 that meant that the AccessibleEditableText class was corrupt.
5884 * libspi/selection.c:
5885 Provided implementations for some selection API that was broken.
5887 * idl/Application.idl:
5888 Added registerObjectEventListener () method.
5891 Fixed a number of return values that were Bonobo_Unknowns from
5892 bonobo_object_corba_objref(), which I
5893 forgot to dup before returning. Changed instances of
5894 bonobo_object_corba_objref (bonobo_object(o)) to
5895 BONOBO_OBJREF(o), for concision and clarity.
5897 2001-10-13 Louise Miller <louise.miller@sun.com>
5899 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5900 idl/Event.idl, idl/Registry.idl
5901 Changed these files to include Bonobo_Unknown.idl instead
5904 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5906 * libspi/component.c libspi/component.h:
5907 Fixed typo. Added assertions for object checks in
5908 AccessibleComponent code.
5910 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5912 * idl/Accessible.idl:
5913 Added 'isEqual (Accessible *object)'
5914 method for Accessible. (Not Yet Implemented).
5917 Changed signature of registerKeystrokeListener() to
5918 take a KeySet and KeyEventSeq so that specific keys and event
5919 types could be requested for monitoring, and added a flag
5920 is_synchronous so that either synchronous or asynchronous
5921 notification could be requested. (However this is not all
5922 implemented yet). This also meant adding two new typedefs,
5923 KeyEventSeq and KeySet.
5926 Added two new relations, RELATION_TOOLTIP_FOR and
5927 RELATION_LEAFNODE_OF.
5930 Added new state, STATE_HAS_TOOLTIP.
5932 * libspi/text.c, editabletext.c:
5933 Added new assertions to all casts of bonobo-objects from
5934 CORBA servants, to prevent Text API calls on non-text objects.
5935 Changed suspect casts of int-pointer types, so that we
5936 always send a valid CORBA_long pointer to the CORBA APIs that use
5937 in/out long parameters. We then have to copy from the CORBA_long
5938 into the regular long or int for return to the C bindings, or
5939 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5942 * libspi/deviceeventcontroller.c:
5943 Cleaned these sources up.
5945 Changed return type for getCharacterAtOffset to
5946 CORBA_unsigned_long, to allow for 32-bit characters.
5949 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5953 Fixed 'make dist' so that distro compiles...
5954 * libspi/keymasks.h:
5956 * cspi/spi-listener.c:
5957 KeystrokeListenerCB now returns a boolean.
5959 Added KeyEventType struct, and KeyStroke.
5960 Also added createKeystrokeListener(),
5961 KeystrokeListener_addCallback(),
5962 KeystrokeListener_removeCallback(), and added a keymask to
5963 registerKeystrokeListener().
5964 * cspi/spi_accessible.c:
5965 Changed numerous return types for interfaces from
5966 AccessibleComponent to Accessible<InterfaceName>; this was
5967 probably a cut-and-paste error.
5969 Implementations of new KeystrokeListener api (from spi.h,
5972 Changes to key modifier mapping.
5973 Created ControllerEventMask struct.
5974 Made DeviceEventController derive from Bonobo::Unknown.
5976 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5977 * libspi/deviceeventcontroller.c:
5978 Added a number of new internal (private) methods.
5979 * libspi/editabletext.c:
5980 * libspi/editabletext.h:
5981 Fixed a number of bugs related to the fact that
5982 editabletext inherits from text. Fixed the EditableText struct,
5983 the init() call, and use correct casts when calling Text methods
5984 from an EditableText object. Removed (duplicate) atko from the
5985 EditableText structure, we use the one in the parent Text
5986 structure via the casts mentioned above.
5987 * libspi/keystrokelistener.[ch]:
5988 * libspi/registry.c:
5989 Changes in support of keyboard handling (above).
5991 Keyboard handling, though partly functional, is still not
5992 recommended for at-spi client use as there is considerable
5993 work yet to be done.
5996 Changed some places where pointers to various int types
5997 are cast to be pointers to CORBA_long types and vice-versa:
5998 pointer casting is not safe so we pass pointers of the correct
5999 types and then cast the result before putting it into the target
6002 * libspi/text.h: minor typos corrected.
6004 We now speak not only the name of a Text element, but the
6005 first sentence of its content, when it receives focus.
6006 I also changed the text compression to 75% from 50%.
6007 * util/Accessibility_Util.server.in:
6008 Changed the default magnifier type to be a 3x vertical
6009 splitscreen magnifier (was previously a 2x horizontal one).
6011 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6013 * libspi/keystrokelistener.h:
6014 * libspi/keystrokelistener.c:
6015 Initial functional implementations of KeystrokeListener.
6018 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6020 Fixed string handling for NULL strings in libspi.
6021 Added spi_freeString to free strings returned by C bindings.
6023 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6025 * libspi/keystrokelistener.h:
6026 * libspi/keystrokelistener.c:
6027 Began (no-op) implementations of KeystrokeListener
6029 * libspi/deviceeventcontroller.c:
6030 * libspi/deviceeventcontroller.h:
6031 Began creating implementations of DeviceEventController,
6032 to handle keystroke and mouse event listening and
6034 * libspi/accessible.c:
6035 Stubbed-in the implementations for
6036 Accessibility_Accessible_getState and
6037 Accessibility_Accessible_getRelationSet.
6038 * libspi/registry.c:
6039 Improved de-registration process and fixed some bugs,
6040 deregistration now works correctly.
6042 Added initialization of applications list (to NULL).
6044 Reduced speech compression from 0.5 to 0.7, for demo.
6045 Changed call to gdk_window_set_decorations()
6046 to gtk_window_set_decorated().
6047 * at-bridge/bridge.c:
6048 Bridge now deregisters when app exits, via
6049 registration of a cleanup function
6050 with the g_atexit() call.
6051 Required making 'app' static, renamed 'this_app'.
6052 Fixed broken use of bonobo_init, passing argv wrongly.
6054 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6058 Created a new directory for
6059 accessibility-related utilities, primarily for
6060 testing and demo purposes, but with possible
6067 Onscreen magnifier utility that
6068 is implemented as a bonobo service.
6070 * util/mag_client.c:
6071 * util/mag_client.h:
6072 Client-side support (simple C bindings)
6073 for Magnification service
6075 * util/mag_control.c:
6076 Client program example for
6077 Magnification service
6079 * util/Accessibility_Magnifier.server.in:
6080 Bonobo-activation file for the
6081 Magnification service.
6084 * util/idl/Magnifier.idl:
6085 IDL defining the bonobo Magnification
6089 Modifications to use the bonobo-activated magnifier
6090 above, in place of trying to connect to an existing
6091 magnifier that uses socket-listening IPC.
6093 If env variable MAGNIFIER is set, a magnifier service
6094 will be started if one does not exist.
6096 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6098 * at-bridge/bridge.c:
6099 applied patch from Marc to build and run
6100 against new glib and gtk+ (seemed like a change
6101 to bonobo_init signature was made ?)
6103 made festival-server support turned off by default.
6104 Added support for a simple magnifier (off by default)
6105 which will be added to a 'util' directory later.
6106 * at-bridge/Makefile.am:
6107 Changed "application.h" header from a 'source'
6108 to a 'dependency' of libat-bridge.
6110 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6119 Added interface implementation c files to list of
6120 includes so they are included in libcspi.
6123 Changed prototype of AccessibleAction_doAction to return a
6125 Changed prototype of AccessibleTable_getCaption to
6126 return an Accessible.
6127 Changed prototype of AccessibleTable_getSelectedRows
6128 and AccessibleTable_getSelectedColumns to
6129 return a long (returns the number of selected rows
6130 or columns respectively).
6131 Changed name of AccessibleText_refRunAttributes to
6132 AccessibleText_getAttributes.
6133 Changed prototype of AccessibleText_getCharacterExtents to
6134 return a void rather than a boolean.
6135 Added support for a AccessibleCoordType parameter
6136 specifying what type of coordinates are desired.
6137 Added an AccessibleCordType parameter to
6138 AccessibleText_getPointAtOffset.
6140 * cspi/spi_accessible.c:
6141 Added code to return the outstanding interfaces from
6142 Accessible_queryInterface.
6144 * cspi/spi_action.c:
6146 Corrected call to getNActions to call the c binding
6149 * cspi/spi_editabletext.c:
6151 Changed name from setRunAttributes to setAttributes.
6153 * cspi/spi_hyperlink.c:
6155 Changed call to getNAnchors to correctly call the c
6156 binding for an attribute.
6158 * cspi/spi_hypertext.c:
6160 Changed getImageDescription to correctly call the
6161 binding for an attribute.
6163 * cspi/spi_selection.c:
6164 Changed getNSelectedChildren to correctly call the c
6165 binding for the attribute.
6166 Changed refSelectedChild to getSelectedChild.
6170 Changed getCaption to return an Accessible.
6171 Fixed calls which retrieve attributes.
6172 Changed refAt to getAccessibleAt.
6173 Changed getNSelectedRows and getNSelectedColumns to
6177 Changed getCharacterExtents and getPointAtOffset to accept an
6178 AccessibleCoordType.
6180 Changed calls which retrieve attributes.
6181 Changed refRunAttributes to getAttributes.
6186 * idl/Hyperlink.idl:
6187 Changed n_anchors attribute to nAnchors to keep naming
6188 convention consistent.
6191 Made Table inherit from Bonobo::Unknown.
6192 Added nSelectedColumns and nSelectedRows attributes.
6195 Made Value inherit from Bonobo::Unknown.
6197 * libspi/hyperlink.c:
6198 Change for nAnchors attributte name change.
6200 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6208 Added interface implementation c files to list of
6209 includes so they are included in libcspi.
6212 Changed prototype of AccessibleAction_doAction to return a
6214 Changed prototype of AccessibleTable_getCaption to
6215 return an Accessible.
6216 Changed prototype of AccessibleTable_getSelectedRows
6217 and AccessibleTable_getSelectedColumns to
6218 return a long (returns the number of selected rows
6219 or columns respectively).
6220 Changed name of AccessibleText_refRunAttributes to
6221 AccessibleText_getAttributes.
6222 Changed prototype of AccessibleText_getCharacterExtents to
6223 return a void rather than a boolean.
6224 Added support for a AccessibleCoordType parameter
6225 specifying what type of coordinates are desired.
6226 Added an AccessibleCordType parameter to
6227 AccessibleText_getPointAtOffset.
6229 * cspi/spi_accessible.c:
6230 Added code to return the outstanding interfaces from
6231 Accessible_queryInterface.
6233 * cspi/spi_action.c:
6235 Corrected call to getNActions to call the c binding
6238 * cspi/spi_editabletext.c:
6240 Changed name from setRunAttributes to setAttributes.
6242 * cspi/spi_hyperlink.c:
6244 Changed call to getNAnchors to correctly call the c
6245 binding for an attribute.
6247 * cspi/spi_hypertext.c:
6249 Changed getImageDescription to correctly call the
6250 binding for an attribute.
6252 * cspi/spi_selection.c:
6253 Changed getNSelectedChildren to correctly call the c
6254 binding for the attribute.
6255 Changed refSelectedChild to getSelectedChild.
6259 Changed getCaption to return an Accessible.
6260 Fixed calls which retrieve attributes.
6261 Changed refAt to getAccessibleAt.
6262 Changed getNSelectedRows and getNSelectedColumns to
6266 Changed getCharacterExtents and getPointAtOffset to accept an
6267 AccessibleCoordType.
6269 Changed calls which retrieve attributes.
6270 Changed refRunAttributes to getAttributes.
6275 * idl/Hyperlink.idl:
6276 Changed n_anchors attribute to nAnchors to keep naming
6277 convention consistent.
6280 Made Table inherit from Bonobo::Unknown.
6281 Added nSelectedColumns and nSelectedRows attributes.
6284 Made Value inherit from Bonobo::Unknown.
6286 * libspi/hyperlink.c:
6287 Change for nAnchors attributte name change.
6290 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6292 implementations-- made server implementations own AtkObject pointers
6293 rather than their respective AtkInterrface pointers to fix
6294 refcounting. AtkHyperlink is still broken.
6296 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6297 * cspi/spi_accessible.c:
6298 Added method Accessible_Role_getName(),
6299 and requisite string array (role_names).
6300 Added conversion string_from_corba_strin() call
6301 to Accessible_getName and _getDescription.
6302 * libspi/accessible.c:
6303 Added implementation for Accessible_getRole()
6305 Added festival support, used if environment variable
6308 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6310 * at-bridge/bridge.c:
6311 Now allocate Accessibility_Event using
6312 Accessibility_Event__alloc() instead of g_new0().
6313 * libspi/accessibleeventlistener.c:
6314 Initialize AccessibleEventListener->callbacks to NULL.
6315 Fixed accessible__event_listener_init() param, changed to
6316 "AccessibleEventListener *" type.
6317 Changed a bonobo_object_release_unref() call to
6318 Accessibility_Accessible_unref().
6319 * libspi/listener.c:
6320 Changed Bonobo_Unknown_unref to (equivalent)
6321 Accessibility_Accessible_unref.
6322 * libspi/registry.c:
6323 Changed bonobo_object_release_unref to
6324 Accessibility_Accessible_unref.
6326 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6329 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6330 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6331 spi-util.c spi-util.h
6332 Implementations for C bindings to remaining accessibility
6335 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6338 changed return value of Action from void to boolean to
6339 bring in line with ATK.
6342 Changed getText funcions to return "out" start and end offsets.
6343 Changed getAttributes to take and offset and return the start
6344 and end offset of the attribute run.
6345 Changed getOffsetAtPoint and getCharacterExtents to take an
6346 enum describing whether coordinates are window or screen.
6349 libspi/action.c libspi/action.h libspi/editabletext.c
6350 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6351 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6352 libspi/image.h libspi/selection.c libspi/selection.h
6353 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6354 libspi/value.c libspi/value.h
6355 Added server implementations for outstanding ATK interfaces
6356 not yet implemented.
6358 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6361 Added (missing) getName() method.
6362 Made nActions an attribute.
6363 * idl/EditableText.idl:
6364 Changed order of params in setAttributes.
6365 * idl/Hyperlink.idl:
6366 Removed getAnchor, added getURI.
6368 Changed attributes to methods, for efficiency
6369 (so that getting extents can be done in one call)
6370 * idl/Selection.idl:
6371 Changed nSelectedChildren to attribute, and re-indented.
6372 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6374 * idl/Text.idl: reformatted to match our coding style.
6375 (temporarily?) removed getRowColumnAtOffset().
6376 Changed text selection API to support multi-select and
6377 non-contiguous selections, as in ATK.
6378 * idl/Value.idl: changed some methods to attributes.
6380 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6382 * libspi/listener.c(impl_notify_event):
6383 BonoboUnkown_unref the source instead
6384 of bonobo_object_release_unref - the ORB
6385 handles the releasing.
6387 * configure.in: require ORBit-2.3.94 for
6390 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6392 Tagged CVS repository 'EA_1_0'.
6393 * README.EARLY_ACCESS:
6394 Alphabetized acknowledgements list, and
6396 Listed some known dependencies of at-spi.
6398 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6400 * docs/at-spi-docs.sgml:
6401 * docs/at-spi-sections.txt:
6402 * docs/at-spi-overrides.txt: (Added zero-length file)
6403 Documentation improvements - gtk-doc should build
6404 docs for all implemented C bindings now.
6407 * cspi/spi.c: (New file)
6408 * cspi/spi_event.c: (New file)
6409 * cspi/spi_registry.c: (New file)
6410 * cspi/spi_accessible.c: (New file)
6411 * cspi/spi_application.c: (New file)
6412 * cspi/spi_component.c: (New file)
6413 Split spi_main.c into six parts, and included them from
6414 "spi.c". This is a bit of a hack, probably temporary,
6415 but required by gtk-doc, apparently.
6417 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6420 * docs/at-spi-docs.sgml:
6421 * docs/at-spi-sections.txt:
6423 Initial checkins/modifications for gtk-doc generation.
6426 Added (missing) interface query methods to Accessible's C binding.
6428 Added GenericInterface type definition.
6430 Added query for AccessibleComponent interface to focus event handler.
6431 Added printout of bounding box for focussed component.
6432 * libspi/component.c:
6433 Added partial implementation for AccessibleComponent to C binding.
6434 * idl/Application.idl:
6435 * libspi/registry.c:
6436 * libspi/listener.c:
6437 * libspi/application.c:
6438 * libspi/application.h:
6439 Changed "ID" attribute type from string to long.
6441 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6445 Made method naming consistent: methods taking object args
6446 start with uppercase, other methods (except those using
6447 acronyms) start with lowercase. Underscores delimit between
6448 object names and method names:
6449 SPI_init() - uppercase since it starts with an acronym.
6450 getDesktopCount () - lowercase start since no object param0.
6451 Accessible_getName() - uppercase object type name, studlyCaps method
6455 Added gtk-doc documentation for all currently implemented
6456 methods in the C bindings API.
6458 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6460 * Makefile.am : changed build order to build test last.
6463 Changed "createEventListener" to "CreateEventListener".
6464 * libspi/accessibleeventlistener.c :
6465 Bugfix for addition of callbacks.
6466 * test/Makefile.am :
6467 * test/simple-at.c :
6468 Added new test that uses the C bindings API.
6470 * libspi/listener.c :
6471 * libspi/registry.c :
6472 * libspi/accessibleeventlistener.c :
6473 * at-bridge/bridge.c :
6474 Renamed member "target" of Accessibility_Event to "source",
6475 which is more descriptive.
6478 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6482 * cspi/Makefile.am :
6483 Added makefile support for at-spi/cspi directory.
6486 * cspi/spi-listener.h : (NEW FILE)
6487 Added support for/use of spi-listener.h.
6489 C bindings now build successfully, with no warnings.
6490 * libspi/accessibleeventlistener.h : (NEW FILE)
6491 * libspi/accessibleeventlistener.c : (NEW FILE)
6492 * libspi/Makefile.am :
6493 Added new object type "AccessibleEventListener"
6494 which inherits from Listener, and allows attachment
6495 of in-process callbacks (so that a client with a listening
6496 object instance can add functionality to the local
6497 implementation, dynamically).
6499 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6501 * libspi/accessible.c:
6502 Add implementation for get_index_in_parent().
6504 Added #include of "spi-roletypes.h", and
6505 added enumerated type AccessibleCoordType.
6506 Added definition for KeystrokeListener (function type).
6509 * cspi/spi-statetypes.h :
6510 * cspi/spi-roletypes.h :
6512 Added these headers, used by spi.h.
6514 Added code (NOTE: not yet built by make).
6516 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6518 * libspi/Makefile.am: generate imodule
6519 at the same time as other idl compiler
6522 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6523 * libspi/registry.c :
6524 * libspi/application.c :
6525 * idl/Application.idl :
6526 Made registration with toolkit an application method,
6527 which is required since each app has its own toolkit static
6528 environment. Thus the bridge must register for
6529 notification of toolkit events from each application in turn.
6530 Toolkit notifications are now successfully registered for, and
6531 sent to the listening at client.
6533 Changed toolkit event string to use hyphens rather than underscores.
6534 * libspi/listener.c :
6535 listner now gives more info in debug mode - it reports the
6536 name of the event received, as well as the name of the source.
6539 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6541 * libspi/registry.c :
6542 added more implementation for toolkit events.
6543 Fixed bug such that toolkit event registrations
6544 (via atk) use the whole event name string, not
6546 Removed a useless call to an ORBit_ method.
6547 * at-bridge/bridge.c :
6548 Removed unused local sbuf[] variable.
6550 We now register for Gtk:GtkWidget:button_press_event
6551 events as well as "focus:" events.
6553 Add some more API from Registry.idl that was missing,
6554 for keystroke listening, keystroke and mouse event
6555 synthesis, and enumeration of accessible desktops.
6557 2001-08-16 Michael Meeks <michael@ximian.com>
6559 * configure.in: use AM_GLIB_GNU_GETTEXT.
6561 * Makefile.am (SUBDIRS): kill intl.
6563 2001-08-15 Michael Meeks <michael@ximian.com>
6565 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6567 * configure.in: upd.
6569 * configure.in: depend on a recent bonobo-activation that
6570 will find our server files ...
6572 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6574 * libspi/accessible.c : accessible_new() :
6575 Now we add the Component interface via bonobo_object_add_interface,
6576 if the contained AtkObject implements AtkComponent.
6577 * libspi/accessible.h : now include "component.h"
6578 * libspi/component.h :
6579 * libspi/component.c : added files - implementation of
6580 bonobo wrapper object for Accessibility/Component
6581 * libspi/listener.c :
6582 Added test code to check for Accessibility/Component:1.0
6583 interface and report whether it is implemented by the
6585 * libspi/registry.c :
6586 Now we check for not only the hash of the whole event
6587 string before relaying the event, we also check the
6588 "minor" event string (without the detail string).
6589 This allows event listeners to be registered against
6590 all events of a certain major+minor type, or just
6591 against a specific major+minor+detail type.
6592 * libspi/accessible.c :
6593 Added implementations for Accessible:get_parent(),
6594 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6595 * libspi/registry.c :
6596 * libspi/listener.c :
6597 Replaced calls to Accessibility_Accessible_ref() and
6598 Accessibility_Accessible_unref() with
6599 calls to bonobo_object_dup_ref() and
6600 bonobo_object_release_unref(), so that the CORBA object
6601 is dup-ed and released when relayed, as well as the bonobo object.
6603 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6605 * libspi/Makefile.am,
6606 registryd/Makefile.am,
6607 at-bridge/Makefile.am.
6608 test/Makefile.am, configure.in:
6609 reverse previous changes.
6611 * /idl/Image.idl: fix typo.
6613 * test/Makefile.am: put DEBUG_FLAGS
6616 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6618 * test/app.c: use argv[0] instead of
6621 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6623 * libspi/Makefile.am,
6624 registryd/Makefile.am,
6625 at-bridge/Makefile.am.
6626 test/Makefile.am, configure.in:
6627 cleanup, replace individual LIBS/CFLAGS with
6628 AT_COMMON_{LIBS|CFLAGS}.
6632 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6634 * configure.in, libspi/Makefile.am:
6635 Change IDL path checking for bonobo-activation
6638 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6640 * registryd/registry.c : separated event listeners to use
6641 3 separate lists (focus, window, toolkit). Began testing
6642 event names against hashes before relaying events.
6643 * test/at.c : now register for events of type "focus:"
6644 * test/app.c : now generate events of type "focus:"
6645 * at-bridge/bridge.c : register with ATK for focus events,
6646 and we now relay those focus events to any "focus:" listeners.
6647 This now works with the bridge as a GTK_MODULE when running test/at.
6648 * libspi/registry.c :
6649 * libspi/listener.c :
6650 now we ref event sources before propagating, and unref on receipt.
6651 * libspi/registry.c :
6652 some changes to internal structs, to support event typestring hashes.
6653 * text/app.c : changed the way the appname is generated.
6654 * cspi : added directory that will hold the C bindings library for
6655 non-CORBA/bonobo-savvy clients.
6656 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6657 * idl/Component.idl : added in parameter to indicate coord system for
6658 geometry-related calls.
6659 * idl/Hyperlink.idl : added readonly n_links attribute
6660 * idl/Image.idl : changed methods to attributes.
6662 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6664 * at-bridge/Makefile.am: link against
6665 ../libspi/libspi.la instead of -lspi.
6667 * at-spi/test/app.c: include
6668 bonobo-activation.h. Use a default appname
6669 if one is not provided.
6671 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6673 * idl/Registry.idl : temporarily changed register_Application
6674 to oneway, to work around issue with initial registration
6676 * idl/Application.idl : changed attribute "id" from readonly
6677 to read-write, since it needs to be assigned by Registry.
6678 * registryd/registryd.c : added call to set application id
6680 * registryd/registry.c : changed de-registration procedure to
6681 use CORBA_Object_hash() to find matching object ref in application
6682 lists and listener lists.
6683 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6684 began distinguishing between event types (work in progress).
6686 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6689 * libspi/application.c:
6690 Added implementations for get/set id, get_toolkitName,
6692 * registryd/registryd.c :
6696 Converted from use of OAF to bonobo-activation.
6697 * libspi/desktop.h :
6698 * libspi/desktop.c :
6700 Removed references to atksimpleobject, since base atkobject
6701 implementation now provides functionality we need.
6702 * libspi/atksimpleobject.c :
6703 * libspi/atksimpleobject.h :
6708 * at-bridge/Makefile.am
6709 * at-bridge/bridge.c
6712 Added directory "bridge" and contents, and added dependencies
6713 in Makefile.am/configure.in.
6714 Initial checkin of "at-bridge".
6715 This code is a GTK_MODULE which automatically registers
6716 GTK+ apps with the accessibility registry, using an object
6717 reference to the root ATK object.
6719 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6721 * po/Makefile.in.in: Remove. Again. If this
6722 doesn't get autogenerated - you need to update
6725 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6727 * po/Makefile.in.in: Add. Again.
6729 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6731 * libspi/accessible.c : added support for 'description' property.
6732 * libspi/accessible.c
6734 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6735 (since the two are now equivalent in libbonobo)
6743 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6744 Bonobo::Unknown as does Accessibility::Accessible.
6745 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6746 interface with Bonobo::Stream, since it was redundant with it.
6747 (The Stream returned by a StreamableContext object is expected to
6748 implement only a subset of Bonobo::Stream)
6750 2001-07-28 Anders Carlsson <andersca@gnome.org>
6752 * libspi/accessible.c (accessible_object_finalize): Change
6753 g_free to g_object_unref since the AtkObject is a GObject.
6755 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6757 * idl/Accessibility.idl: add new IDL files
6760 * idl/Action.idl: Definitions of actionable UI object
6761 * idl/Component.idl: Definitions of UI component geometry, etc.
6762 * idl/Hyperlink.idl: Defs of hyperlink behavior
6763 * idl/Image.idl: Def of accessible image
6764 * idl/Selection.idl: Definition of UI object with selectable children
6765 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6766 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6767 * idl/Text.idl: Interface defs for UI elements with complex textual content
6768 * idl/Value.idl: Definition of UI element that is a value controller or display
6770 2001-07-27 Michael Meeks <michael@ximian.com>
6772 * po/Makefile.in.in: remove autogenerated file from CVS.
6774 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6777 * idl/Registry.idl: include guard.
6779 * idl/Accessibility.idl: Add, and include all the other IDL
6782 * idl/*.idl: remove mass of pragmas etc.
6784 2001-07-26 Michael Meeks <michael@ximian.com>
6786 * registryd/Makefile.am (registryd_SOURCES): remove
6789 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6791 * libspi/.cvsignore, registryd/.cvsignore,
6792 test/.cvsignore: updated.
6794 * po/Makefile.in.in: gettext update.
6796 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6798 * initial CVS checkin
6800 2001-06-29 Michael Meeks <michael@ximian.com>
6802 * configure.in: add AM_CONFIG_HEADER to gen config.h