1 2004-03-07 Danilo Segan <dsegan@gmx.net>
3 * configure.in: Added "sr@ije" to ALL_LINGUAS.
5 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
7 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
9 2004-03-01 Bill Haneman <billh@gnome.org>
12 (SPI_exit): Removed "bye-bye" exit message.
13 Moved "leak" report to happen before the
14 iteration over the leaked refs list.
15 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
17 2004-02-24 Bill Haneman <billh@gnome.org>
19 * configure.in: Revved to 1.3.13.
21 * docs/reference/cspi/Makefile.am:
22 Correct typo that was breaking the docs build.
24 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
26 * autogen.sh: Require version 1.7 of automake.
28 * configure.in: call GTK_DOC_CHECK([1.0])
30 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
32 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
34 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
36 * test/Makefile.am: Remove use of CFLAGS.
38 This fixes bug #132987.
40 2004-02-11 Bill Haneman <billh@gnome.org>
42 * reverted most of Tomasz' patch below, since it was breaking
43 builds (see bug #134058).
45 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
47 * docs/reference/cspi/at-spi-cspi.types: added empty file for
48 correct pass "make dist" (empty .. because seems no sach types in
49 header files with gtk-doc markups).
50 * docs/reference/cspi/Makefile.am, configure.in:
51 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
52 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
54 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
55 for force correct pass generate documentation on "make distcheck".
56 * libspi/Makefile.am: fixes for automake >= 1.6.
57 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
58 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
61 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
63 * docs/reference/cspi/Makefile.am (install-data-local): Install
64 index.sgml since the doc autobuilder on widget.gnome.org looks for
67 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
69 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
72 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
74 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
76 2004-01-27 Brian Cameron <brian.cameron@sun.com>
78 * test/simple-at.c: Fixed null string problems that cause core
79 dumping problems on Solaris.
81 2004-01-12 Bill Haneman <billh@gnome.org>
83 * configure.in: Incremented version to 1.3.11.
85 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
87 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
88 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
91 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
93 * configure.in: Added "fa" to ALL_LINGUAS.
95 2003-12-20 Arafat Medini <lumina@silverpen.de>
97 * configure.in: Added "ar" to ALL_LINGUAS
99 2003-12-16 Bill Haneman <billh@gnome.org>
101 * registryd/registry-main.c:
103 Set the reg_env DISPLAY variable before registering the
104 activated registry service. Fixes bug #129479.
106 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
108 * configure.in: Added "id" in ALL_LINGUAS
109 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
111 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
113 * registryd/deviceeventcontroller.c (global_filter_fn):
114 When an event is consumed discard any XEvents were added to
115 the queue while dealing with the the event. This can happen if
116 processing of the event takes a long time. Call XUngrabKeyboard
117 if an event was discarded. This fixes bug $124837.
118 Only call wait_for_release_event for a KeyPress.
119 Use local variable display instead of spi_get_display().
120 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
123 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
125 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
126 Allow for mask to contain values other than NumLock mask.
129 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
131 * registryd/devieceventcontroller.c:
132 (wait_for_release_event): Change first parameter from GdkEvent to
134 (global_filter_fn); Correct call to wait_for_release_event.
138 2003-12-08 Bill Haneman <billh@gnome.org>
142 * registryd/ucs2keysym.c: New file.
144 * registryd/deviceeventcontroller.c:
145 (dec_keysym_for_unichar): Remove old partial implementation and
146 replace with call to ucs2keysym(), which is much more complete.
147 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
152 2003-12-05 Bill Haneman <billh@gnome.org>
154 * configure.in: Version 1.3.9.
156 * docs/reference/cspi/tmpl/spi_registry.sgml:
157 Added reference to libspi/keymasks.h to the
158 description of Registry queries: AccessibleKeyMaskType.
161 2003-12-04 Bill Haneman <billh@gnome.org>
165 * idl/Accessibility_Application.idl:
166 (Accessibility::LOCALE_TYPE): New enum, corresponds to
167 setlocale's LC_TYPEs.
168 (Accessibility::Application::getLocale): New method.
169 Allows clients to query the locale, by type, of an app.
172 * cspi/spi_application.c:
173 (AccessibleApplication_getLocale): New method, wraps IDL above.
175 * libspi/application.c:
176 (spi_application_class_init): Init epv entry for getLocale.
177 (impl_accessibility_application_get_locale): Impl for above.
179 * test/test-simple.c:
180 (test_application): Added assertion for getLocale, i.e.
181 that the string from AccessibleApplication_getLocale (app, type)
182 is the same as that from setlocale (type, NULL);
184 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
186 *registryd/deviceeventcontroller.c: Add an idle handler which polls
187 the keyboard on a timeout intil the key state goes from pressed to
188 released. Fixes bug #111429.
190 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
192 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
193 root object so that it is present when a context menu in an
194 out-of-process applet is popped up.
195 (spi_atk_bridge_do_registration): Create acceessible application root
196 object only if it does not exist.
198 This fixes bug #125834.
200 2003-12-01 Bill Haneman <billh@gnome.org>
202 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
205 Added enum for AccessibleStreamableContentSeekType.
206 (AccessibleStreamableContent_freeContentTypeList): New.
208 * cspi/spi_streamablecontent.c:
209 (accessible_bonobo_stream_client_seek): New private method.
210 (AccessibleStreamableContent_seek): Implemented this method,
211 using Bonobo_Stream_seek.
212 (AccessibleStreamableContent_freeContentTypeList): New method
213 for freeing the return value from
214 AccessibleStreamableContent_getContentTypes.
215 (stream_cache_item_free): Replaces stream_release; stop leaks.
216 (stream_release): removed.
217 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
218 free the memory properly.
220 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
224 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
226 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
228 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
230 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
232 2003-12-01 Bill Haneman <billh@gnome.org>
234 Fix for bug/rfe #127463.
236 * idl/Accessibility_Accessible.idl:
237 (getLocalizedRoleName): New.
238 (unimplemented4): Removed (replaced by above).
240 * libspi/accessible.c:
241 (impl_accessibility_accessible_get_local_role_name): New.
242 (spi_accessible_class_init): Add getLocalizedRoleName entry to
246 (Accessible_getLocalizedRoleName): New.
248 * cspi/spi_accessible.c:
249 (Accessible_getLocalizedRoleName): New.
251 2003-12-01 Bill Haneman <billh@gnome.org>
254 * idl/Accessibility_Text.idl:
255 (getDefaultAttributes): New.
256 (unimplemented4): Removed (replaced by above method).
259 (impl_getDefaultAttributes): New method.
260 (spi_text_class_init):
261 initialize the get_default_attributes slot in the epv.
264 (AccessibleText_getDefaultAttributes): New prototype.
267 (AccessibleText_getDefaultAttributes): New method.
269 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
271 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
272 write beyond the end of the table. Fixes bug #120473.
274 2003-09-30 Christian Rose <menthos@menthos.com>
276 * configure.in: Added "eu" to ALL_LINGUAS.
278 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
280 * configure.in: ALL_LINGUAS: Added no.
282 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
284 * configure.in: Added lt to ALL_LINGUAS.
286 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
288 * atk-bridge/bridge.c:
289 (atk_bridge_init): Register event listeners always even for
290 out-of-process applet.
291 (spi_atk_bridge_toplevel_added): Remove call to
292 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
293 (spi_atk_bridge_toplevelk_removed): Remove call to
294 spi_atk_deregister_event_listenersa as the listeners are now always
296 (spi_atk_bridge_register_application): Remove call to
297 spi_atk_register_event_listeners as it is not done in atk_bridge_init
299 This fixes bug #120991.
301 * libspi/table.c (impl_getColumnDescription): Correct typo,
302 pointed out by Bolian.Yin@sun.com.
304 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
306 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
308 2003-09-08 Bill Haneman <billh@gnome.org>
310 * configure.in: Revved to 1.3.7.
312 This is the GNOME 2.4.0 release of at-spi.
314 * docs/reference/cspi/Makefile.am:
315 Removed spurious inclusion of 'index.sgml' in the
316 html directory; this was breaking make distcheck and
317 also some other build environments.
319 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
321 * registryd/registry.[ch}:
322 Add queue_handler_id and focus_object to SpiRegistry data structure.
323 (registry_flush_event_queue): If event being discarded is
324 "state-change:focused" store object as focus_object.
325 (registry_start_queue): Remove queue handler and focus object
327 (registry_discard_event): New function which discards a focus event
328 if we had stored focus object in the registry.
329 (registry_queue_event): Add new check that is_queueing is set as this
330 function is reentrant.
331 (registry_filer_event): Add call to registry_discard_event.
333 This resolves issues raised in bug #108664.
335 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
337 * configure.in: Added "bn" to ALL_LINGUAS.
339 2003-09-04 Bill Haneman <billh@gnome.org>
341 * cspi/spi_event.c: Documentation improvements for
342 (SPI_registerAccessibleKeylistener).
344 * docs/reference/tmpl/spi_registry.sgml:
345 Documentation improvements for SpiAccessibleKeylistenerCB.
347 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
349 * configure.in: Added "ro" to ALL_LINGUAS.
352 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
354 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
355 not decremented to zero. Fixes bug #120725.
357 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
359 * configure.in: Added "ja" to ALL_LINGUAS.
361 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
363 * configure.in: Added "is" to ALL_LINGUAS.
365 2003-08-22 Christian Rose <menthos@menthos.com>
367 * configure.in: Added "nl" to ALL_LINGUAS.
369 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
371 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
372 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
374 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
376 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
377 type for unspecified exception.
378 * cspi_streamablecontect): Add include of string.h for memcpy.
379 (stream_release): Correct call to bonobo_object_release_unref
380 (stream_cache_item_free): Correct call to bonobo_object_release_unref
381 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
382 argument of _cspi_expection_throw.
383 * libspi/hyperlink.c: Add include of libspi/action.h:
384 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
385 * libspi/streamablecontent.c: add include of libspi/component.h.
386 * regisrtyd/deviceeventcontroller.c:
387 (spi_dec_translate_mask): Removed unused variable priv.
388 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
389 * registryd/registry.c:
390 (registry_filter_event): Remove unused variable queue_is-empty.
391 (impl_registry_notify_event): Use correct modifier in fprintf call.
393 This fixes compiler warnings reported in bug #120220.
395 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
397 * registryd/registryd.c: Remove this file.
399 2003-08-17 Sanlig Badral <badral@openmn.org>
401 * configure.in: Added mn to ALL_LINGUAS.
403 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
405 * configure.in: Added et to ALL_LINGUAS.
407 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
409 * test/event-listener-test.c: Change active-descendant to
410 active-descendant-changed.
412 2003-08-10 Sami Pesonen <sampeson@iki.fi>
414 * configure.in: Added "fi" in ALL_LINGUAS.
416 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
418 * configure.in: Added "hi" in ALL_LINGUAS.
420 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
422 * configure.in: Revved to 1.3.6.
426 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
428 * registryd/deviceeventcontroller.c
429 (spi_device_event_controller_object_finalize): Fix typo in previous
432 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
434 * registryd/deviceeventcontroller.c
435 (spi_device_event_controller_object_finalize): Fix build on
436 systems without XEvIE.
438 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
440 * acconfig.h, configure.in, registryd/Makefile.am,
441 registryd/devicecontoller.[ch]: Add XEViE support.
443 2003-08-06 Wang Jian <lark@linux.net.cn>
445 * configure.in: Added "zh_CN" to ALL_LINGUAS.
447 2003-08-06 Metin Amiroff<metin@karegen.com>
449 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
451 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
453 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
454 MODIFIER_ALT in correct place.
456 This fixes part of bug #118114.
458 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
460 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
462 2003-07-28 Changwoo Ryu <cwryu@debian.org>
464 * configure.in: Added "ko" to ALL_LINGUAS.
466 2003-07-28 Ole Laursen <olau@hardworking.dk>
468 * configure.in: Added "da" to the commented out ALL_LINGUAS.
470 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
472 * configure.in: Added "sq" to ALL_LINGUAS.
474 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
476 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
478 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
480 * configure.in: updated ALL_LINGUAS list
482 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
484 * configure.in: Added Belarusian to ALL_LINGUAS.
486 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
488 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
490 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
491 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
493 This fixes bug #116949.
495 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
497 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
498 Correct CSPI to SPI in function documentation.
500 This fixes bug #118054.
502 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
504 * configure.in: Added Russian to ALL_LINGUAS.
506 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
508 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
510 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
512 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
514 2003-07-10 Joel Brich <joel.brich@laposte.net>
516 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
518 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
520 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
522 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
524 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
525 resources allocated for AccessibleEvent. See cspi_event().
527 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
528 static variable streams to NULL.
530 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
531 Update so that AcessibleEvent_ref will work.
533 This fixes bug #116624.
535 2003-07-06 Jordi Mallach <jordi@sindominio.net>
537 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
539 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
541 * configure.in: Added "fr" (French) to ALL_LINGUAS.
543 2003-07-02 Christian Neumair <chris@gnome-de.org>
545 * configure.in: Added "de" (German) to ALL_LINGUAS.
547 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
549 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
551 2003-07-01 Miloslav Trmac <mitr@volny.cz>
553 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
555 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
557 * configure.in: Added "pl" to ALL_LINGUAS.
559 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
561 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
563 2003-06-30 Bill Haneman <bill.haneman@sun.com>
566 (get_action_from_servant):
567 Removed assertion that action is implemented on an AtkObject.
569 * libspi/hyperlink.c:
571 Aggregate AccessibleAction interface on the hyperlink object if
572 the object implements AtkAction. (This convention is used in
575 2003-06-30 Bill Haneman <bill.haneman@sun.com>
577 * configure.in: Revved to 1.3.5.
579 * registryd/Accessibility_Registry.server.in.in:
580 Marked up appropriate strings for translation.
582 * atk-bridge/bridge.c: Marked a couple of
583 user-visible warnings for translation. Questionable
584 whether they are really useful, but possibly so.
587 2003-06-28 Christian Rose <menthos@menthos.com>
589 * configure.in: Added "sv" to ALL_LINGUAS.
591 2003-06-26 Bill Haneman <bill.haneman@sun.com>
593 * registryd/registry.c:
594 (spi_registry_object_finalize): Unref the deviceeventcontroller.
595 (registry_defer_on_event): Defer focus: events, this is an
596 improvement to the patch for bug #108664.
598 * TODO: Update with 2.4/"Dev Complete" items.
600 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
602 * atk-bridge/bridge.c:
603 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
604 looks up signals once.
605 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
606 if doing registration.
607 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
608 when doing registration.
610 This fixes bug #115014.
612 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
614 * atk-bridge/bridge.c:
615 (atk_bridge_init): Add signal handler for children-changed:remove on
616 root when in a BonoboComponent.
617 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
618 for first toplevel only other incrememt variable toplevels.
619 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
620 application and remove listeners.
621 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
623 (spi_atk_deregister_event_listeners): New function which removes
625 (reinit_register_vars): New fuction which reinitializes variables.
627 This fixes bug #111578.
629 2003-06-13 Bill Haneman <bill.haneman@sun.com>
631 * configure.in: version 1.3.4.
633 * cspi/spi_accessible.c:
634 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
637 2003-06-13 Michael Meeks <michael@ximian.com>
639 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
641 * cspi/spi_main.c (cspi_peek_ev): impl.
643 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
645 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
647 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
649 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
650 SPI_ROLE_AUTOCOMPLETE
652 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
654 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
655 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
657 2003-06-11 Bill Haneman <bill.haneman@sun.com>
659 * libspi/streamablecontent.h:
660 * libspi/streamablecontent.c:
661 New files, provide implementation/wrappers for
662 Accessibility_StreamableContent.
664 * cspi/spi_streamablecontent.c:
665 Connected the C wrappers to the libspi C bindings.
666 (AccessibleStreamableContent_close): New method.
669 (AccessibleStreamableContent_close): New method, needed
670 since we have an "open, [seek], read, close" model in cspi.
672 2003-06-11 Bill Haneman <bill.haneman@sun.com>
674 Fix for #108664; Padraig's revision of my original patch.
676 * registryd/registry.h:
677 Added event queue list, is_queuing, and exit_notify_timeout
678 to the registry struct.
680 * registryd/registry.c:
681 (registry_init): Initialize new struct from registry.h.
682 (impl_registry_notify_event):
683 Filter events before notifying, in case some need to be
685 (registry_filter_event): New,
686 we defer certain incoming events (for instance
687 window:deactivate) because we may wish to hide
688 or reject them based on pending events. This is
689 mostly a workaround for bug #108664.
690 (registry_queue_event, registry_start_queue): New.
691 (registry_defer_on_event): Test event to see if it
693 (registry_reset_on_event): Returns TRUE if the
694 event should cause a queue reset.
695 (registry_discard_on_event): Returns TRUE if the event
696 should cause the previous queue contents to be discarded.
697 (registry_timeout_flush_queue): Flushes the pending event
698 queue if no reset/discard-triggering events have come in
699 within the timeout period.
700 (registry_emit_event): New.
701 (registry_clone_notify_context): New, used when queueing the
702 event notify contexts.
704 2003-06-10 Bill Haneman <bill.haneman@sun.com>
706 * configure.in: Version revved to 1.3.2, lt 0.9.2
707 Incremented ATK required version to 1.3.4.
709 * cspi/spi_registry.c:
710 (SPI_generateKeyEvent):
711 We now pass the keystring along if it's non-null.
713 * registryd/deviceeventcontroller.c:
714 (keysym_mod_mask): New method, returns modifier mask
715 required to generate a keysym from a given keycode.
716 (dec_synth_keysym): New method.
717 (dec_synth_keystring): New method.
718 (dec_get_modifier_state): New method.
719 (dec_lock_modifiers): New
720 (dec_unlock_modifiers): New.
721 (dec_keysym_for_unichar): New, rather brute-force
722 conversion from UCS-4 to X KeySyms. Only works for
723 Latin at the moment, with partial implementations for
724 Greek, Hebrew, and (incomplete) Katakana.
725 (impl_generate_keyboard_event): Now implement
726 "KEYSTRING" synthesis and implement "KEYSYM"
728 (keycode_from_keysym): Improved, passes a returned
729 modmask value now if the corresponding param is non-NULL.
731 Fixes bugs #92143 and #109776.
734 * test/keysynth-test.c:
735 New test program for key synthesis, to confirm fixes for
739 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
741 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
743 * cspi/spi_accessible.c (cspi_init_relation_type_table):
744 Add line for RELATION_POPUP_FOR
746 * docs/reference/cspi/tmpl/spi_relation.sgml:
747 Add relation SPI_RELATION_POPUP_FOR
749 * docs/reference/cspi/tmpl/spi_stateset.sgml:
750 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
752 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
754 * libspi/relation.c (spi_init_relation_type_table):
755 Add line for RELATION_POPUP_FOR
757 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
759 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
760 there are still windows which have not been deleted and emit
761 window:deactivate, if necessary and window:destroy events.
762 This fixes bug #114370. The change on June 5th was not correct.
764 2003-06-09 Bill Haneman <bill.haneman@sun.com>
766 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
769 (SPI_dupString): Allow dup-ing of a string such that it's safe to
771 New methods for client exception handling and interception.
772 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
773 (SPI_exceptionHandlerPop): You guessed it...
774 (SPI_getSourceType): Return the type of object which offended.
775 (SPI_getExceptionCode): Return an enum code telling, possibly,
776 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
777 (SPIAccessibleException_getSource): get the source object for
778 exceptions that come from Accessibles, if SPIExceptionSourceType is
779 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
780 (SPIException_getDescription): New, returns a string description of
781 the problem. [Not yet a stable ABI, strings are not frozen]
783 * cspi/spi-private.h:
784 Added implementation details of opaque SPIException
788 Implementations of above. Also
789 (_cspi_exception_throw): new private method that
790 dispatches exceptions to handlers, called from cspi-bonobo.c
792 * cspi/bonobo/cspi-bonobo.c:
793 (cspi_check_ev): call _cspi_exception_throw.
794 Don't print a warning message if the exception has been
795 handled by _cspi_exception_throw.
797 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
799 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
800 there are still windows which have not been deleted and emit
801 window:deactivate, if necessary and window:destroy events.
802 This fixes bug #114370.
804 2003-06-03 Bill Haneman <bill.haneman@sun.com>
807 (cspi_accessible_is_a): Make non-fatal
808 if the object reference is dead.
810 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
812 * cspi/spi_main.c: #include <stdio.h>
813 * test/simple-at.c: ditto
814 * test/event-listener-test.c: ditto
815 * test/screen-review-test.c: ditto
817 2003-05-30 Michael Meeks <michael@ximian.com>
819 * test/test-simple.c (main): use CORBA_ORB_perform_work
820 instead of an unnecessary linc_ call.
822 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
824 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
825 Add SPI_STATE_INDETERMINATE.
827 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
830 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
832 * libspi/stateset.c (init_state_type_tables): Add support for
835 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
837 * configure: Update versions of atk and gail required.
838 This fixes bug #113268.
840 2003-05-02 Bill Haneman <bill.haneman@sun.com>
842 * configure.in: Revved micro version to 1.3.1 (because of build fix).
844 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
846 * libspi/Makefile.am:
847 Ensure headers are generated before being used by c sources.
849 2003-05-01 Bill Haneman <bill.haneman@sun.com>
852 Simplified lt versioning rules.
853 Incremented version to 1.3.0, to indicate that we're on the
856 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
858 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
859 Add MKDB_OPTIONS=--outtput-format=xml
861 * docs/reference/cspi/at-spi-cspi-docs.sgml
862 docs/reference/idl/at-spi-idl-docs.sgml:
863 Convert to Docbook XML.
865 This fixes bug #111793.
867 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
869 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
870 AcccessibleKeyEventType, AccessibleKeyMaskType.
872 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
874 * cspi/state-types.h: Add documentation for AccessibleState.
876 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
877 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
878 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
879 AccessibleComponentLayer.
881 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
884 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
886 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
887 Accessible. Add description of AccessibleEvent,
888 AccessibleEventListenerCB.
890 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
893 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
894 documentation. Add description of AccessibleKeystrokeListenerCB,
895 AccessibleKeyEventMask, AccessibleModifierMaskType,
896 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
897 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
899 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
902 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
905 This fixes bug #104730.
907 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
909 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
910 Set is_text field of Accessibility_DeviceEvent data structure.
912 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
913 is-text field of AccessibleDeviceEvent data structure.
915 This addresses part of bug #108666.
917 * registryd/devcieeventcontroller.c: Unset debug option.
919 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
922 (cpi_initial_relation_type_table): New function which initializes
923 mapping between Accessibility_RelationType and AccessibleRelationType.
924 (cspi_relation_type_from_spi_relation_type): New function which
925 translates an Accessibility_RelationType into an AccessibleRelationType.
926 (AccessibleRelation_getRelationType): Use
927 cpi_relation_type_get_spi_relation_type to return correct value.
928 (spi_state_to_corba): Return correct type for default case.
930 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
931 Use Accessibility_EventType instead of Accessibility_KeyEventType.
933 * cspi/cspi-bonobo-listener.c:
934 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
937 * libspi/accessible.c, libspi/action.c, libspi/application.c,
938 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
939 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
940 libspi/image.c, libspi/listener.c, libspi/selection.c,
941 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
942 registryd/desktop.c, registryd/registry.c:
943 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
945 * libspi/eventlistener.c
946 Remove semicolon after BONOBO_TYPE_FUNC.
949 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
950 (spi_init_relation_type_table): Initialize using correct type.
952 * registryd/desktop.c:
953 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
954 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
955 of Accessibility_KeyEventType.
957 * test/key-listener-test.c (report_tab_key_event): Use fprintf
960 * tests/simple-at.c, tests/screen-review-test.c:
961 Add include for <strings.h>.
963 * tests.stress-test.c:
964 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
966 These changes fix compiler warnings when using FORTE compiler on
967 Solaris; fixes bug #107479.
970 2003-04-10 Bill Haneman <bill.haneman@sun.com>
973 * configure.in: revved to 1.1.10
976 (SPI_KEYMASK_NUMLOCK): Added.
978 * registryd/deviceeventcontroller.c:
979 (spi_key_event_matches_listener): AND with a smaller
980 bitmask (as we should).
981 (spi_dec_translate_mask):
982 New method, sets the virtual NumLock modifier bit
983 if numlock is on. Eventually it can handle other virtual
984 modifier bits if needed, or other marshalling from
985 at-spi modifier masks to platform (X) masks.
986 (spi_dec_key_listener_new):
987 Call spi_dec_translate_mask to set up virtual mod bits
988 in the 'mask' field when creating a new listener struct.
989 (spi_dec_emit_modifier_event):
990 Set the virtual (i.e. NumLock) bits before emitting event.
991 (spi_controller_register_with_devices):
992 Query for the NumLock modifier 'physical' bit if Xkb is
993 present, for use in above methods.
997 2003-04-10 Bill Haneman <bill.haneman@sun.com>
999 * registryd/deviceeventcontroller.c:
1000 (spi_keystroke_from_x_key_event):
1001 Instead of checking to see if the keysym is
1002 printable, check the string from XLookupString
1003 if available, get the first unicode character from it,
1004 and call g_unichar_isprint to determine whether the
1005 is_text flag should be TRUE or FALSE.
1009 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1011 * atk-bridge/bridge.c: Add support for extended events
1012 * cspi/spi_event.c: Add documentation and implementation for
1014 * tests/event-listener-test.c: Add tests for extended events.
1016 This fixes bugs #100424 and #100426.
1018 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1020 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1021 of LT_CURRENT. This fixes bug #89350.
1023 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1025 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1026 number of signal parameter values before accessing them. This fixes
1029 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1031 * configure.in: Fixed duplicate inclusion of -lspi.
1032 * branched for gnome-2-2/HEAD.
1033 [created tag "gnome-2-2"]
1035 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1037 * configure.in: 1.1.9 release.
1040 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1042 [needed by GOK, to fix bugs 107985 and 107988]
1043 * registryd/deviceeventcontroller.c:
1044 (spi_dec_clear_unlatch_pending):
1045 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1046 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1047 (spi_dec_init_mouse_listener):Emit warning if mouse button
1049 (spi_device_event_controller_forward_mouse_event):
1050 Removed unnecessary parens from a conditional.
1051 (global_filter_fn):Added TODO comment.
1052 (impl_generate_keyboard_event):
1053 Cancel a pending relatch if a 'delatching' key was
1056 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1058 * atk-bridge/bridge.c:
1059 Change atk_signal_child_changed to atk_signal_children_changed.
1060 Reorganize code in spi_atk_bridge_signal_listener().
1062 * test/event-listener-test.c:
1063 Add children_changed_listener and report_children_changed_event()
1064 to test AccessibleChildEvent_getChildAccessible.
1066 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1068 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1069 g_strdup to CORBA_String_dup (bug #105291)
1071 * test/event-listener-test.c (report_text_event): Add call to
1074 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1076 * registryd/deviceeventcontroller.c:
1077 (spi_keystroke_from_x_key_event):
1078 Fix string and keysym return codes to match modifier state.
1081 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1083 * registryd/deviceeventcontroller.c:
1084 (spi_keystroke_from_x_key_event):
1085 Fix segv due to improper use of isprint(c). [bug #107254]
1087 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1090 (get_accessible_text_boundary_type):
1091 Move default return value to (new) default case in switch.
1092 (get_accessible_text_clip_type):
1093 Move default return value to (new) default case in switch.
1095 * libspi/application.c:
1096 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1097 Remove unused methods.
1098 (impl_accessibility_application_register_object_event_listener):
1099 Remove unused methods.
1102 Added #include of <math.h>.
1104 * registryd/deviceeventcontroller.c:
1105 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1106 we don't currently use this method.
1107 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1109 (impl_generate_key_event):
1110 Remove unused variables.
1111 (impl_generate_mouse_event):
1112 Initialize button to zero, just in case we get an invalid
1113 input. Added support for mouse buttons 4 and 5.
1114 (spi_device_event_controller_new):
1115 Removed unused variable declaration for 'private'.
1117 Added #include of <gdk/gdk.h>
1119 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1121 * configure.in: Update to work when X is not installed in expected
1122 location. Fixes bug #105836.
1124 * atk-bridge/bridge.c
1125 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1127 (spi_atk_register_event_listener): Add signal listener for
1129 (spi_atk_bridge_signal_listener): Event event when link-selected
1130 signal is emitted. (bug #104622)
1132 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1133 on returned string. (bug #105291)
1135 * test/event-listener-test.c: Add test for link-selected.
1137 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1139 * atk-bridge/Makefile.am: Correct typo in previous commit.
1141 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1143 * atk-bridge/Makefile.am: Allow for build directory to be different
1144 from source directory
1146 * registryd/Makefile.am: Allow for build directory to be different
1147 from source directory
1151 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1154 Fixed dependencies for libcspi so that libspi gets pulled in
1155 properly. Fixes 104741.
1159 Clean up inline docs a little.
1161 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1163 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1164 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1165 the AtkObject within an SpiDesktop.
1166 This addresses bug #101524.
1168 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1169 Remove call to gdk_init().
1171 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1172 so that Display is set when SpiDesktop is created.
1174 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1176 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1177 This fixes bug #102830.
1179 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1181 * test/test-simple.c: Update to take account of fact that GailButton
1182 now implements AtkText.
1183 (create_text_window): Set name on AtkObject for GtkEntry.
1184 (validate_accessible): Check accessible name before calling test_text().
1186 * libspi/Makefile.am: Fix problem with building outside of source
1187 directory. Bug #98120.
1189 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1190 typo in documentation comments. Bug #94275.
1192 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1194 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1196 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1199 Add includes to avoid compiler warnings on Solaris.
1200 (impl_getRangeExtents): Bug fix.
1202 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1204 Fix for 100944, [API addition approved by Gman and murrayc].
1211 * idl/Accessibility_Text.idl:
1212 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1213 (Text::getRangeExtents): New method for efficient
1214 bounds query of a text range.
1215 (Text::getBoundedRanges): New method for efficient
1216 clipping of text to bounding boxes.
1217 (unImplemented7, unImplemented8):
1218 Removed these padding methods to preserve bincompat.
1221 (impl_getRangeExtents): implementation of new IDL.
1222 (impl_getBoundedRanges): implementation of new IDL.
1223 (SpiTextRect): Internal use struct.
1224 (_spi_text_rect_union): internal method, calculates union of two
1225 SpiTextRect bounding rects.
1226 (_spi_text_range_seq_from_gslist): internal method, allows us
1227 to build our sequence efficiently as a gslist then convert it
1229 (_spi_bounds_contain): internal method, determines whether
1230 a text character is "in" or "out" of a clip rect according to
1231 values of TEXT_CLIP_TYPE.
1232 (spi_text_class_init): Initialize the new methods in the epv.
1235 (AccessibleTextClipType): New enum used by screen review api.
1236 (AccessibleTextRange): New struct used by screen review api.
1237 (AccessibleText_getRangeExtents):
1238 cspi binding for Accessibility_Text_getRangeExtents.
1239 (AccessibleText_getBoundedRanges):
1240 cspi binding for Accessibility_Text_getBoundedRanges.
1241 (AccessibleTextRange_freeRanges): convenience method.
1244 (AccessibleText_getRangeExtents):
1245 cspi binding for Accessibility_Text_getRangeExtents.
1246 (AccessibleText_getBoundedRanges):
1247 cspi binding for Accessibility_Text_getBoundedRanges.
1248 (AccessibleTextRange_freeRanges): convenience method.
1249 (get_accessible_text_clip_type): internal conversion method.
1250 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1252 * registryd/deviceeventcontroller.c:
1253 (spi_dec_mouse_check):
1254 Improved behavior for mouse:abs events
1255 [same granularity as mouse:rel events, and no
1256 events when mouse is idle].
1258 2002-12-16 Michael Meeks <michael@ximian.com>
1260 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1262 * libspi/stateset.c (state_spi_to_atk): split out
1263 ( fix several remote array bounds nasties )
1264 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1265 (impl_remove): make safe from array bounds issues.
1266 (spi_atk_state_from_spi_state): impl.
1268 * libspi/stateset.h (spi_state_set_cache_is_empty):
1269 add a set of wrapper defines to get layering right.
1271 * cspi/spi_accessible.c: update state set stuff to
1274 2002-12-14 Michael Meeks <michael@ximian.com>
1276 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1277 to avoid 2 roundtrips to the registry per key event
1278 (spi_atk_bridge_key_listener): upd.
1279 (deregister_application): release the dec.
1281 * registryd/registry.c (notify_listeners_cb):
1282 bin lots of re-enterant complexity - we no longer
1283 do a round-trip bonobo ref here, ensure that a single
1284 listener's exception failure won't poison all other
1286 (impl_registry_notify_event): bin obvious memory leak.
1288 2002-12-13 Michael Meeks <michael@ximian.com>
1290 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1291 init the ev so the error is meaningful.
1292 (spi_atk_bridge_key_listener): ditto.
1294 * cspi/spi_main.c (cspi_ev): init the ev so we start
1295 with a clean slate, otherwise the first exception
1296 kills us completely.
1298 * cspi/spi_text.c (get_accessible_text_boundary_type):
1299 add a fallthrough for no warnings.
1301 * cspi/spi_registry.c: prune unused warnings.
1303 * cspi/spi_main.c (cspi_object_take): fix
1304 mind-blowing brokenness ( by watching the compile
1307 * cspi/spi_accessible.c (Accessible_getStateSet):
1308 re-impl. to use an AtkStateSet.
1309 (spi_state_type_from_accessible_state),
1310 (init_state_table): bin these.
1312 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1314 (atk_state_set_from_accessibility_state_set): here.
1316 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1317 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1318 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1319 (AccessibleStateSet_add, AccessibleStateSet_remove),
1320 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1321 (AccessibleStateSet_isEmpty): re-write to use a local
1324 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1326 * configure.in: Revved to 1.1.7 (new keymask vals).
1328 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1330 * libspi/keymasks.h:
1331 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1333 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1336 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1337 to compare two CORBA_TypeCodes.
1338 (cspi_internal_event_add): Silence warning from FORTE compiler.
1340 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1341 avoid implicit declaration of functions.
1343 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1345 * atk-bridge/bridge.c:
1346 (spi_atk_bridge_init_event_type_consts): Store signal id for
1347 active-descendant-changed signal.
1348 (spi_atk_register_event_listeners): Add signal listener for
1349 active-descendant-changed signal,
1350 (spi_atk_bridge_signal_listener): Move code in function
1351 spi_atk-signal_emit_event() into this function.
1352 Add support for active-descendant-changed
1353 Update support for child-changed signal.
1354 (spi_bridge_window_event_listener): Silence warning.
1356 * libspi/spi_private.[ch]:
1357 (spi_init_any_object): Change second parameter from CORBA_Object to
1359 Omit call to CORBA_Object_duplicate().
1360 Set CORBA_any's _value to CORBA_Object*.
1362 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1368 (AccessibleEvent_ref, AccessibleEvent_unref):
1369 New methods, for persisting an event outside the emission context.
1370 Must be used if the new accessor methods are to be called
1371 outside of the event listener's callback.
1373 * cspi/bonobo/cspi-bonobo.c:
1374 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1375 as second parameter instead of NULL, so we can call
1376 cspi_check_ev afterwards.
1379 (cspi_object_take): New internal method,
1380 converts a CORBA_Object reference to a hard ref on
1381 an Accessible if possible, returning NULL if the object
1382 reference is invalid or an Accessible * otherwise.
1385 (AccessibleEvent_ref):
1386 Increment the event's internal private refcount, and
1387 add the event's internal struct to an internal cache
1388 if it's not already there.
1389 (AccessibleEvent_unref):
1390 Decrement the event's refcount and remove it from
1391 the cspi event cache if refcount==0.
1392 (cspi_event_compare): New private method.
1393 Compares two event structs via their ids. Used
1395 (cspi_internal_event_lookup): New private method.
1396 (cspi_internal_event_check): New private method,
1397 a 0-order sanity check for events to make sure their
1398 private data is intact.
1399 (cspi_internal_event_add, cspi_internal_event_remove):
1400 New private methods for managiing the event cache.
1402 * cspi/bonobo/cspi-bonobo-listener.c:
1404 Initialize the new private data elements (id, magic, ref_count).
1406 * atk-bridge/bridge.c:
1407 (spi_atk_bridge_signal_listener):
1408 Fixed bug #100530, passing wrong params to emission func.
1410 * registryd/deviceeventcontroller.c:
1411 (spi_dec_button_update_and_emit):
1412 Fixed type in mask bit operations; fix for #99799.
1414 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1416 Removed some of the more dangerous workarounds from
1417 previous commit; they are only needed by GOK, which
1418 in reality should be using another method to accomplish
1419 the goals. So on reconsideration some of the workarounds
1420 need to be reverted:
1422 * registryd/deviceeventcontroller.c:
1423 (spi_keycodes_contain, spi_dec_init_keycode_list):
1424 Removed these methods, used only by a nasty hack to try
1425 and detect whether a key synthesis should be allowed
1426 to reset the XKB latch state or not. This code was only
1427 required to work around an interaction between GOK,
1428 button events, and XKB.
1429 (impl_generate_key_event):
1430 Removed hack at end of key generation that tried to
1431 "do the right thing" if XKB latch keys were generated
1432 in the midst of button press/release pairs.
1435 Added a check for HAVE_XINPUT. Not normally used yet.
1437 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1439 Workarounds and fixes for mouse event/XKB interaction.
1441 * registryd/deviceeventcontroller.c:
1442 (spi_keycodes_contain, spi_dec_init_keycode_list):
1443 New internal methods.
1444 (spi_dec_set_unlatch_pending):
1445 Split the method that tells XKB to expect an
1446 unlatch (and revert it) out of the rest of the
1447 event handling code. This method is called by the
1448 two mouse event handlers (the poll and the filter).
1449 (spi_dec_update_and_emit, spi_dec_mouse_check):
1450 New methods split from spi_dec_poll_mouse_moved.
1451 The second one is now called from inside the filterFn
1452 when an XKB delatch event is received, to determine
1453 whether to revert the delatch or not.
1454 (spi_poll_mouse_moved): Refactor; also we can now
1455 properly handle the case where multiple button states
1456 have changed between polling cycles and we didn't get
1457 notified due to another client's grab.
1459 Synchronize the server while handling an XKB notification.
1460 Ugly, but apparently necessary to avoid nasty races.
1461 Check the mouse state on receipt of an XKB latch change,
1462 to decide whether to revert the latch or not. (Latches are
1463 reverted if there is an immediately preceding mouse button
1464 event that a client has consumed, in which case we don't want
1465 the user to see the side-effect of the event).
1466 (spi_device_event_controller_forward_mouse_event):
1467 Check for modifier events and fire before resetting mouse_mask_state,
1468 prevents losing modifier events.
1470 (impl_generate_keyboard_event):
1471 If we've just generated a keyboard event for a non-shift key,
1472 we don't want to revert the pending XKB latch.
1473 Otherwise, check the modifier state (via a call to
1474 spi_dev_mouse_check) and set the relatch mask to
1475 that state before returning.
1477 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1480 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1483 * atk-bridge/bridge.c:
1484 (spi_atk_register_event_listeners):
1485 Don't re-register for ATK events if the registry has died
1486 and the app needs to re-register; the ATK listeners are in
1487 process and doing so will cause duplicate emission.
1489 * registryd/deviceeventcontroller.c:
1490 (spi_poll_mouse_moved):
1491 Reformat the source, detect and emit multiple button-change
1492 events (i.e. if multiple buttons have changed between poll
1494 Add code to detect mouse-down events even when the pointer
1495 is grabbed; workaround for GOK bug 98420.
1496 (spi_controller_register_with_devices):
1497 Call XTestGrabControl with 'impervious' flag set to True,
1498 allows us to synthesize events and query the pointer even during
1499 an active grab by another client.
1500 (spi_device_event_controller_forward_mouse_event):
1501 Set the mouse_mask_state to the mouse_button_state from
1502 the intercepted event, to synchronize the grab listener with
1505 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1507 * cspi/spi_accessible.c:
1508 (AccessibleRole_getName):
1509 Added necessary strings for making this (deprecated)
1510 method work with the new role types.
1511 (init_role_table, role_table):
1512 Added definition of SPI_ROLE_APPLICATION.
1514 * libspi/spi-roletypes.h:
1515 Added SPI_ROLE_APPLICATION.
1517 * idl/Accessibility_Role.idl:
1518 Added ROLE_APPLICATION.
1520 * docs/reference/cspi/at-spi-cspi-decl.txt:
1521 Added SPI_ROLE_APPLICATION to docs.
1523 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1525 * cspi/spi_accessible.c
1526 (cspi_init_role_table): Do not write beyond end of role_table.
1527 (Accessible_getRole): Use correct type for value returned by
1528 Accessibility_Accessible_getRole().
1530 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1531 beyond end of role_table. (This fixes bug #98269)
1533 * libspi/application.c: Add include file spi-private.h for
1534 definition of spi_init_any_nil.
1536 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1540 * libspi/spi-private.h:
1541 Added DGB() macro, and extern int _dbg declaration.
1543 * registryd/registry.c:
1544 (definitions) storage for _dbg.
1545 (spi_registry_init):
1546 Get environment variable "AT_SPI_DEBUG".
1547 (spi_registry_set_debug):
1548 New method, to initialize _dbg value.
1549 (spi_listener_struct_new, spi_registry_object_finalize):
1550 (notify_listeners_cb):
1551 Changed fprintfs to use DBG and g_warning().
1553 * registryd/deviceeventcontroller.c:
1554 (_deregister_keygrab, spi_controller_register_device_listener):
1555 Changed debug/warning messages to use DBG macro.
1557 * libspi/listener.c:
1558 (impl_notify_event):
1559 Changed warning messages to use DBG macro and g_warning().
1561 * atk-bridge/bridge.c:
1562 (atk_bridge_init, spi_atk_bridge_get_registry):
1563 (spi_atk_bridge_exit_func):
1564 (spi_atk_bridge_property_event_listener):
1565 Changed status, warning, and error messages to use
1566 g_warning, g_message, and DBG macros.
1569 Read the state of the AT_SPI_DEBUG environment variable
1570 and set a local '_dbg' accordingly.
1572 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1574 FIXES for 98836, 98842, other bugs.
1577 Revved to 1.1.4, interface-age=4, binary-age=4.
1579 * registryd/deviceeventcontroller.c:
1581 Fixed crasher bug in last_mouse_pos initialization.
1583 * registryd/registry.c:
1584 (desktop_add_application, desktop_remove_application):
1585 Added (and then commented out) some support for
1586 object context marshalling. [TODO]
1588 * atk-bridge/bridge.c:
1589 (spi_atk_bridge_event_context_create):
1590 Commented out object context creation until it can
1591 be properly tested and debugged.
1593 * registryd/registry.c:
1594 (impl_registry_notify_event):
1595 Fixed crasher bug, we were calling
1596 spi_re_entrant_list_foreach () with an empty list.
1598 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1600 * idl/Accessibility_Action.idl:
1601 * idl/Accessibility_Component.idl:
1602 * idl/Accessibility_Desktop.idl:
1603 * idl/Accessibility_Event.idl:
1604 * idl/Accessibility_Hyperlink.idl:
1605 * idl/Accessibility_Image.idl:
1606 * idl/Accessibility_Relation.idl:
1607 * idl/Accessibility_Selection.idl:
1608 * idl/Accessibility_State.idl:
1609 * idl/Accessibility_Value.idl:
1610 Updated unimplemented slot count to minimum of
1611 four for all interfaces, for ABI freeze.
1613 * idl/Accessibility_EditableText.idl:
1614 * idl/Accessibility_Text.idl:
1615 Updated unimplemented slot count to six
1618 * idl/Accessibility_Registry.idl:
1619 Updated unimplemented slot count to six
1620 (also for DeviceEventController),
1623 * idl/Accessibility_Table.idl:
1624 Updated unimplemented slot count to eight,
1627 * idl/Accessibility_Event.idl:
1628 Added CORBA_any "any_data" member to Event struct.
1630 * idl/Accessibility_Event.idl:
1631 Added CORBA_any "any_data" member to Event struct.
1633 * atk-bridge/bridge.c:
1635 atk_signal_text_changed, atk_signal_child_changed,
1636 signal ids queried from gtype system.
1637 (AtkBridgeEventContextType): New enum.
1638 (AtkBridgeEventContextData): New struct.
1639 (AtkBridgeEventContext): New struct.
1640 (atk_bridge_init_event_type_consts):
1641 New method, initializes type contants for comparison
1642 prior to emit_eventv.
1643 (atk_bridge_event_context_init): New method,
1644 initializes a CORBA_any from an AtkBridgeEventContext.
1645 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1646 initialize the event.any_data struct.
1647 (spi_atk_bridge_event_context_create): New method,
1648 creates an AtkBridgeEventContext from signal/event info.
1649 (spi_atk_bridge_event_context_free): New method.
1650 (spi_atk_emit_eventv): Changed to take an
1651 AtkBridgeEventContext parameter. We now initialize
1652 the event.any_data member prior to notifying the
1653 Registry, via the AtkBridgeEventContext.
1654 (spi_atk_bridge_property_event_listener):
1655 (spi_atk_bridge_state_event_listener):
1656 Match emit_eventv signature.
1657 (spi_atk_bridge_object_event_listener):
1658 Match emit_eventv signature, and create an
1659 event context from the event details.
1660 Free the event context afterwards.
1661 (spi_atk_bridge_window_event_listener):
1662 Create an event context, pass it to the
1666 (AccessibleEvent_getContextString):
1667 (AccessibleEvent_getContextObject):
1668 New methods, allow query of AccessibleEvent objects
1669 for more context details (via the "any_data" member
1670 of the Event struct, above).
1673 Definitions for AccessibleEvent_getContextString
1674 and AccessibleEvent_getContextObject.
1676 * cspi/spi_listener.h:
1677 (InternalEvent): New struct.
1680 (AccessibleEvent_getContextString):
1681 (AccessibleEvent_getContextObject):
1682 Implementations of new methods, for obtaining
1683 additional context information from some event types.
1685 * cspi/spi_registry.c:
1686 (SPI_registerGlobalEventListener):
1687 Added mention of active-descendant-changed event in docs.
1689 * cspi/cspi-bonobo-listener.c:
1691 Marshal the any into the AccessibleEvent via
1694 * libspi/spi-private.h:
1695 #include <orbit/orbit.h>
1697 (spi_init_any_string):
1698 (spi_init_any_object):
1699 New convenience function declarations.
1703 (spi_init_any_string):
1704 (spi_init_any_object):
1705 New convenience function implementations.
1707 * registryd/deviceeventcontroller.c:
1708 (spi_poll_dec_mouse_moved):
1709 (spi_device_event_controller_forward_mous_event):
1710 Initialize any_data member of event.
1711 (spi_deregister_controller_device_listener):
1712 Fix incorrect param pass which was preventing deregistration.
1714 * registryd/registry.c:
1715 (desktop_add_application):
1716 (desktop_remove_application):
1717 Add object data to event's any_data before dispatch.
1719 Fix for error messages from GAIL.
1721 * test/event-listener-test.c:
1722 Test new ContextString and "any_data" API:
1723 (report_text_event): New method query and output context string.
1724 (main): register a new text listener with report_text_event
1727 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1729 Fixes for bugs 98127 and 97914.
1730 * cspi/spi-roletypes.h:
1731 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1733 * cspi/spi-statetypes.h:
1734 Added SPI_STATE_MANAGES_DESCENDANTS
1736 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1737 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1738 * cspi/spi_accessible.c:
1739 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1740 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1741 Accessibility_STATE_MANAGES_DESCENDANTS
1742 * libspi/accessible.c:
1743 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1744 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1745 As requested by Bill, I also cleaned up the alignment.
1746 * libspi/relation.c:
1747 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1748 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1749 * libspi/stateset.c:
1750 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1751 Accessibility_STATE_MANAGES_DESCENDANTS
1752 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1753 Document changes reflecting modifications to roles.
1754 * docs/reference/cspi/tmpl/spi_relation.sgml:
1755 Document changes reflecting modifications to relations.
1756 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1757 Document changes reflecting modifications to states.
1759 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1762 Revved to 1.1.3, interface-age=3, binary-age=3.
1763 Added REBUILD macro.
1766 Removed accessx-gui from the tests, since we have a nice
1767 keyboard accessibility capplet now :-)
1769 * test/keysynth-demo.c:
1770 (increment_scan): removed do-nothing default: case,
1773 * test/visual-bell.c:
1774 (main) : removed do-nothing default: case,
1777 * cspi/spi_action.c:
1778 (AccessibleAction_getKeyBinding_):
1779 Documented keybinding string format.
1783 (AccessibleText_getAttributes):
1784 Documented the text attribute string format.
1785 It's changed to use semicolon delimiters also,
1786 to prevent clashes with CSS attributes, but the old
1787 trick of looking for ", " strings will still work
1788 (as unreliably as ever). Fix for bug related to 97916.
1791 Include <cspi/bonobo/cspi-bonobo-listener.h>
1792 Fixes build warning.
1793 (SPI_freeAccessibleKeySet):
1794 (AccessibleKeystrokeListener_addCallback):
1795 (AccessibleKeystrokeListener_removeCallback):
1796 Modify to use AccessibleDeviceListener API internally,
1797 instead of AccessibleKeystrokeListener.
1799 * idl/Accessibility_Event.idl:
1800 Added two more empty slots to EventListener (for a total of four).
1802 * idl/Accessibility_Accessible.idl:
1803 Added four empty slots to Accessible interface.
1805 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1807 * idl/Accessibility_Registry.idl:
1808 (KeyEventType, EventType):
1809 Marked KeyEventType as deprecated; it duplicates
1810 functionality of EventType, which has been extended to
1811 include Mouse-button events.
1812 (KeyEventTypeSeq): defined in terms of EventType.
1813 (registerDeviceEventListener, deregisterDeviceEventListener):
1814 New methods, for managing listeners to device events,
1815 which potentially may consume them.
1818 Added definition for AccessibleDeviceListener.
1820 * cspi/spi-listener.h:
1821 (enum AccessibleDeviceEventType):
1822 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1823 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1824 for backwards compat.
1825 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1826 and typedef'd AccessibleKeystroke to it for back-compat.
1827 (AccessibleDeviceListenerCB):
1828 New function prototype typedef.
1831 (AccessibleDeviceEventMask): New typedef.
1832 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1833 (AccessibleKeyMaskType):
1834 Set equivalent to AccessibleModifierMaskType for back-compat.
1835 (SPI_createAccessibleKeystrokeListener):
1836 (AccessibleKeystrokeListener_unref):
1837 Deprecated in favor of equivalent (better-named) new API below..
1838 keystroke listeners are like all device listeners.
1839 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1840 New API names for old features :-).
1841 (AccessibleDeviceListener_addCallback):
1842 (AccessibleDeviceListener_removeCallback):
1843 (SPI_registerDeviceEventListener):
1844 (SPI_deregisterDeviceEventListener):
1848 (SPI_createAccessibleKeystrokeListener):
1849 Use new preferred API, cspi_device_listener_new() and
1850 cspi_device_listener_add_cb().
1851 (AccessibleKeystrokeListener_removeCallback):
1852 Use new preferred API, cspi_device_listener_remove_cb().
1853 (AccessibleKeystrokeListener_unref):
1854 Use new preferred API, cspi_device_listener_unref().
1855 (SPI_createAccessibleDeviceListener):
1856 (AccessibleDeviceListener_addCallback):
1857 (AccessibleDeviceListener_removeCallback):
1858 Implementation of new API.
1860 * cspi/spi_registry.c:
1861 (SPI_registerDeviceEventListener):
1862 (SPI_deregisterDeviceEventListener):
1863 Implementation of new API. Fixed memory leak and removed need to
1864 allocate EventTypeSeq (thanks Michael for catching this).
1865 Squashed a wayward CORBA_exception_free that shouldn't get called.
1867 * cspi/bonobo/cspi-bonobo-listener.c:
1869 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1870 (cspi_key_event): renamed to cspi_device_event().
1871 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1872 Extended to handle mouse button events as well as key events.
1873 (CSpiKeystrokeListener):
1874 Class superceded by CSpiDeviceListener.
1875 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1876 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1878 * cspi/bonobo/cspi-bonobo-listener.h:
1879 (CSpiKeystrokeListener):
1880 Class superceded by CSpiDeviceListener.
1881 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1882 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1884 * libspi/Makefile.am:
1885 Replaced keystrokelistener.h and keystrokelistener.c
1886 with devicelistener.h and devicelistener.c; keystrokelisener.h
1887 stub retained for back-compat.
1889 * libspi/keystrokelistener.c:
1893 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1895 * registryd/deviceeventcontroller.c:
1896 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1897 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1898 (DEControllerPrivateData): Added xkb settings data.
1899 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1900 button release events (which can't be captured via XGrabButton).
1901 Don't dispatch via the 'normal' event mechanism if the device event was
1903 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1904 Handle the typeseq data in its new location (see above).
1905 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1906 New methods, for "generic" device listeners.
1907 (spi_controller_register_device_listener):
1908 Now handle mouse event listeners as well as key listeners.
1909 (spi_controller_notify_mouselisteners):
1910 New internal method.
1911 (spi_device_event_controller_forward_mouse_event):
1912 Now we notify mouse device listeners as well as generating the
1913 non-consumable "mouse:" events.
1915 We must check and restore the XKB
1916 modifier map if we consume the event, since the act of triggering
1917 a mouse event will normally reset the XKB latch. This is required for
1919 (spi_controller_register_with_devices):
1920 Load the XKB settings when registering, and register for XKB
1921 state notify events.
1922 (spi_key_eventtype_seq_contains_event):
1923 Renamed spi_eventtype_seq_contains_event, since it's used
1924 internally for all device event types now.
1925 (spi_key_event_matches_listener):
1926 Uses spi_eventtype_seq_contains_event now.
1927 (spi_device_event_controller_object_finalize):
1928 Free the private data and the XkbKeyboard struct.
1929 (impl_register_device_listener, impl_deregister_device_listener):
1930 Implementation of new IDL.
1931 (spi_deregister_controller_device_listener):
1932 New internal method.
1933 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1934 More efficient implementation, we don't have to create a new
1935 XkbControls structure every time we query.
1936 (spi_device_event_controller_class_init):
1937 Initialize the epv entries for the new IDL. Assign the
1938 "spi-dec-private" quark.
1939 (spi_device_event_controller_init):
1940 Initialize the private data.
1941 (spi_device_event_controller_forward_key_event):
1942 Removed a bogus CORBA_exception_free() call.
1944 * registryd/deviceeventcontroller.h:
1945 Replaced inclusion of keystrokelistener.h with
1948 * test/event-listener-test.c:
1949 (report_mouse_event):
1952 Added mouse-event device listener.
1954 * test/test-simple.c:
1955 (create_test_window):
1956 Fixed regression (we were instantiating a GtkRange,
1957 which is now an abstract class). Also fixed to match
1958 existing AtkRole names, this seems to have changed in ATK
1959 awhile ago; too late now I think, and the new
1960 mechanism is at least elegant and consistent with the
1961 glib enum "nick" APIs.
1963 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1965 * idl/Accessibility_Relation.idl:
1966 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1967 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1968 * idl/Accessibility_Role.idl:
1969 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1970 * idl/Accessibility_State.idl:
1971 add STATE_MANAGES_DESCENDANTS
1972 * test/event-listener-test.c:
1973 Added a listener for active-descendant events.
1975 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1977 * atk-bridge/bridge.c
1978 (atk_bridge_init): If application is Bonobo component wait until top
1979 level is added before registering
1980 (spi_atk_bridge_do_registration): New function which contains code,
1981 formerly in atk_bridge_init, to do application registration.
1982 (spi_atk_bridge_toplevel_added): Signal called when top level
1983 added to Bonobo component
1985 This fixes bug #83134.
1987 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1989 * registryd/deviceeventcontroller.c
1990 Fixed compilation error caused by calling gettimeofday()
1993 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1998 Added template for HAVE_XKB.
2001 Changes to check for XKB, and to set the HAVE_XKB #define if it
2004 * libspi/listener.c:
2005 ()impl_notify_event): Make failure to get event source name
2008 * registryd/deviceeventcontroller.c:
2009 (#include): include X11/XKBlib.h.
2010 (DEControllerPrivateData) : New struct.
2011 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2013 (dec_synth_keycode_press) (dec_synth_keycode_release):
2014 New methods; split the key synthesis code into these methods.
2015 They check XKB settings before determining the "time" values to
2016 pass to Xtest; this fixes bug #95828.
2017 (impl_generate_keyboard_event): Changed to use methods above,
2018 instead of callng Xtest directly.
2019 (spi_device_event_controller_init): Initialize new privae struct s
2021 (spi_device_event_controllr_object_finalize):
2022 Free the (new) private data.
2024 * registryd/deviceeventcontroller.h:
2025 Add new gpointer to end of struct data.
2027 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2030 Incremented revision to 1.1.2, SONAME is still '.so', library
2031 extensions are ".so.0.0.2".
2033 * registryd/deviceeventcontroller.c:
2034 FIXES FOR #93592 and #95940.
2035 (statics): renamed mouse_button_state to mouse_mask_state,
2036 added key_modifier_mask.
2037 (spi_dec_poll_mouse_moved):
2038 Added key modifier checks, and emit "keyboard:modifiers"
2039 events when the key modifiers currently in use change.
2040 Also generate "mouse:abs" events periodically, even if the mouse
2041 is stationary (should we?).
2042 Alternatively we could generate "mouse:abs" events for either all
2043 mouse movements, or every 'nth' mouse movement, or at the
2044 beginning and end of every "active" mouse period.
2046 * test/event-listener-test.c:
2047 (main): Added listener for "keyboard:modifiers" events.
2049 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2051 * libspi/keymasks.h:
2052 Added key mask #defines for mouse buttons; e.g.
2053 SPI_KEYMASK_BUTTON1, etc.
2056 Incremented dependency on ATK to version 1.1.0. (This dependency
2057 is probably premature but will soon be real enough).
2059 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2061 * libspi/hyperlink.[ch]
2062 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2063 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2066 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2071 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2073 * registryd/deviceeventcontroller.c
2074 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2075 events to be ignored.
2076 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2077 keyboard_mode so that XAllowEvents() can be called.
2081 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2083 * cspi/spi-accessible.c: Correct names of roles returned by
2084 AccessibleRole_getName(). Fixes bug #95055.
2086 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2088 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2091 * registryd/registry.c
2092 (desktop_remove_application: Write diagnostic message to stderr for
2095 (impl_accessibility_registry_deregister_global_event_listener):
2096 Correct size of lists array. This addresses bug #94555).
2098 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2100 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2103 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2105 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2108 * registryd/registry.c (impl_registry_notify_event): Remove
2109 unnecessary call to parser_event_type().
2111 * docs/reference/cspi/tmpl/spi_component.sgml:
2112 Add reference to SPI_LAYER_WINDOW.
2114 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2116 * registryd/registry.c
2117 (desktop_add_application): Remove leak.
2118 (desktop_remove_application): Remove leak.
2119 (parser_event_type): Remove leak.
2121 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2123 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2124 bogus call to CORBA_string_dup(). Also removed unnecessary
2125 g_string_dup/g_free calls.
2127 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2129 * registryd/deviceeventcontroller.c:
2130 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2132 * test/event-listener-test.c:
2133 main: commented out three redundant listeners, to reduce output
2134 noise. (They still are potentially useful for testing).
2137 2002-09-13 Michael Meeks <michael@ximian.com>
2139 * Update all the copyrights to include Ximian.
2141 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2143 * cspi/spi.h: add SPI_LAYER_WINDOW.
2145 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2146 add Accessibility_LAYER_WINDOW case.
2148 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2150 * libspi/component.c: (impl_accessibility_component_get_layer):
2151 add ATK_LAYER_WINDOW case.
2153 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2155 * configure.in: incremented micro version.
2157 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2159 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2162 Clarified and reworded our commit policy.
2165 Started an API "todo" addition list for 2.2.
2168 (impl_getSelection):
2169 Free char pointer from atk_text_get_selection, which was being leaked.
2171 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2174 Small revision to author acknowledgement.
2176 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2178 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2179 If signal has detail add it to the type of the event.
2182 2002-08-12 Michael Meeks <michael@ximian.com>
2184 * test/test-simple.c (global_listener_cb): bin bogosity.
2185 (test_keylisteners): disable, still doesn't work reliably,
2186 certainly not on my system anyway.
2188 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2189 don't leak a reference on the DEC. This round-trip
2190 fetching of the DEC per keystroke sucks, it should be
2193 * cspi/spi-private.h,
2194 * cspi/cspi-lowlevel.h,
2195 * cspi/bonobo/cspi-bonobo-listener.[ch],
2196 * cspi/bonobo/cspi-bonobo.c: get the copyright
2197 notices better - there is still a large amount of
2198 work in at-spi falsely attributed solely to Sun.
2200 * cspi/spi_main.c (cspi_object_ref): kill bogus
2201 hash lookup, just increment the ref.
2202 (SPI_freeString): make explicit the fact that we
2203 handle NULL strings just fine.
2204 (report_leaked_ref): obey coding standards.
2205 (cspi_object_hash, cspi_object_equal): kill retval.
2206 (cspi_object_release): only release if not on loan.
2207 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2208 (cspi_object_borrow, cspi_object_return): impl.
2210 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2211 use cspi_object_borrow / return.
2213 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2215 * cspi/bonobo/cspi-bonobo-listener.c:
2217 Don't call cspi_oject_new() because this is creating a new Accessible
2218 every single time that an event is fired. This causes ATs like at-poke
2219 to nolonger recognise the source of the event and thus ignore it.
2220 Re-use the object from the cache, ref it and then unref it after the
2221 listeners have been called.
2223 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2225 * test/event-listener-test.c:
2226 Added command-line options to disable mouse events (m) and
2229 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2231 * configure.in: Update required versions of ATK, GTK+ and GAIL
2233 * cspi-1.0.pc.in: Add dependency for X include files
2236 * cspi/bonobo/Makefile.am:
2237 Add $(X_CFLAGS) so that X include files
2238 are picked up even if not in standard place (bug #71686)
2240 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2242 * registryd/deviceeventcontroller.c: fix for 84261
2243 (spi_dec_mouse_moved):
2244 Added test of mouse button mask, so that we can detect mouse
2245 button release. Unfortunately we can't otherwise detect mouse
2246 button release events without consuming the mouse press event,
2247 because of the way XGrabButton works. This means that our mouse
2248 release events have a latency dependent on the polling period
2249 while the mouse button is down. At least in this case we only
2250 have to poll while the button is down, and not at other times.
2251 If the button masks don't match with what the last press event
2252 reported, we report the appropriate button release event.
2253 (spi_dec_ungrab_mouse):
2254 New method (not yet called).
2255 (spi_device_event_controller_forward_mouse_event):
2256 New method, sends mouse press event from GdkFilter.
2257 (spi_dec_init_mouse_listener):
2258 Added code to call XGrabButton, redirecting mouse button events to
2259 the root window and our Gdk event loop.
2261 Added code to filter mouse button events, and reordered.
2263 * test/event-listener-test.c:
2265 Added registration for mouse events of type "mouse:button".
2267 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2269 * registryd/deviceeventcontroller.c: partial fix for 84261
2270 (spi_dec_poll_mouse_idle):
2271 New method, a timeout which checks to see if the mouse
2273 (spi_dec_poll_mouse_moving):
2274 A timeout to be called when mouse motion is underway.
2275 (spi_dec_poll_mouse_moved):
2276 A method which fires an event if the mouse has moved, and reports
2277 whether or not it did so.
2278 (spi_dec_init_mouse_listener):
2279 A method which sets up the timeouts above.
2280 (spi_device_event_controller_new):
2281 Now calls spi_dec_init_mouse_listener.
2283 * registryd/registry.c:
2284 (spi_registry_init):
2285 Now we initialize the device event controller when the registry is
2286 initialized, instead of waiting until a client has requested a key
2287 event notification; this is because we need the event controller
2288 for mouse events, but the mouse event registration API is a
2289 "registry" call and doesn't explicitly call the
2290 deviceeventcontroller.
2291 We now report mouse motion events with a 100 ms idle latency and
2292 a 20 ms granularity when motion is in progress.
2294 * test/event-listener-test.c:
2296 We now register the "detail listener" for events of type
2297 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2298 delivered only for the first mouse event received, and thereafter
2299 "mouse:abs" events are delivered.)
2301 * cspi/spi_registry.c:
2302 DOCS: Documented the above mouse event typestrings.
2304 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2306 Happy Summer Solstice...
2308 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2309 (spi_controller_notify_keylisteners):
2310 Changes to remove a listener from the listener list, freeing its
2311 open keygrabs, if a notification to that listener fails. This
2312 means that although a dead listener can continue to hold a passive
2313 keygrab, a maximum of one dispatch to such a listener can fail
2314 before the listener is removed from the list, thus the keygrab
2315 will be released on the next occurrence.
2316 As part of this fix:
2317 (spi_notify_keylisteners):
2318 Renamed to spi_controller_notify_keylisteners, as the controller
2319 instance must now be passed as an argument.
2320 The copied 'notify' GList is now a list of DEControllerKeyListener
2321 objects, since we need more than just the CORBA reference if a
2322 notify fails and we need to deregister the listener.
2323 (impl_notify_listeners_sync):
2324 (impl_notify_listeners_async):
2325 (spi_device_event_controller_forward_key_event):
2326 Modify use of notify_keylisteners in accordance with above
2328 (spi_deregister_controller_key_listener):
2329 New method introduced by refactoring, from
2330 impl_deregister_keystroke_listener.
2331 (impl_deregister_keystroke_listener):
2332 Call spi_deregister_controller_key_listener.
2333 (spi_key_listener_clone):
2334 New method to copy a key listner without doing a 'ref' on the
2335 remote object instance; used to create a notifier list.
2336 (spi_key_listener_data_free):
2337 New method, frees data without unreffing the source.
2339 (spi_key_listener_clone_free): new method.
2340 (spi_key_listener_free):
2341 refactored to call spi_key_listener_data_free.
2343 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2345 * registryd/registry.c: [fix for bug 86048]
2346 (notify_listeners_cb):
2347 Clear CORBA system exceptions which occur when notifying
2348 listeners, before returning to the source of the original event,
2349 since the event source doesn't care if the relayed notify failed.
2350 In other words, don't complain to the atk-bridge if the registry
2351 could not notify all its listeners, that's no fault of the
2352 application and thus should not appear to be an error from the
2353 application's perspective.
2355 * cspi/spi_main.c: [fix for bug 85980]
2357 Replaced use of bonobo_object_dup_ref with call to the wrapper
2358 method, csou_dup_ref (); this silences a compiler warning and
2359 provided more portability.
2361 Ping the registry before return, and restart if necessary.
2363 * cspi/bonobo/cspi-bonobo.c:
2365 New internal method.
2367 Fixed this method to return an object reference, as it should have
2370 * cspi/cspi-lowlevel.h:
2371 Added internal definition for cspi_ping() and fixed
2372 return type of cspi_dup_ref().
2375 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2377 * atk-bridge/bridge.c: [fix for bug 85305]
2378 (spi_atk_bridge_register_application):
2379 New method where the initial application registry calls have been
2380 moved; it allows an application to re-register in response to
2381 certain error conditions (such as a registry restart, see below).
2383 Moved some initialization code to the method
2384 spi_atk_bridge_get_registry, below.
2385 (spi_atk_bridge_get_registry):
2386 New, private accessor function for the Accessibility_Registry
2387 instance. If the registry has not been started before, or has
2388 died (as detected by failure of a CORBA exception), it is
2389 restarted before return, and spi_atk_bridge_register_application
2390 is called again to register with the new bridge instance.
2391 (spi_atk_emit_eventv):
2392 Set registry_died on error; use spi_atk_bridge_get_registry () to
2393 access the registry.
2395 * registryd/registry.c:
2396 (impl_accessibility_registry_register_global_event_listener):
2397 Set listener's event_type_quark to etype.minor instead of
2398 etype.major (fix for bug 84856).
2400 * test/event-listener-test.c:
2401 (report_detail_event):
2402 Change the output string so that user/tester can tell that the
2403 'detail listener' was called instead of the 'generic listener'.
2405 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2407 Fixes for bugs 84900, 84908, 84897, 84898.
2412 Revved version to 1.1.0
2413 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2414 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2416 * idl/Accessibility_Registry.idl:
2417 (EventListener::notifyEvent):
2418 Removed 'oneway' directive after extensive consulation with
2419 ORBit2 team and others. This means also that unref() of the event
2420 source can and should be done synchronously after emission, rather
2421 than remotely in the client, after servicing the notify call on
2424 NOTE: This change speeds up listener performance considerably, but
2425 introduces new latency on the application side. We may want to
2426 add an event queue to the atk-bridge.
2428 * atk-bridge/bridge.c:
2429 (spi_atk_bridge_focus_tracker):
2430 Do a local unref() on the event source after emission.
2432 * registryd/registry.c:
2433 (desktop_remove_application):
2434 Do an unref() on the event source after emission.
2435 (desktop_add_application):
2436 Do an unref() on the event source after emission.
2437 (notify_listeners_cb):
2438 When relaying an event, don't automatically add the event source
2439 to the local object cache, just CORBA_dup it instead. Likewise,
2440 if this method reenters, release the ref rather than calling
2442 (impl_registry_notify_event):
2443 No longer call remote unref() on the event source after dispatch.
2445 * libspi/eventlistener.c:
2446 (impl_accessible_event_notify_event):
2447 Removed remote unref ()
2449 * cspi/bonobo/cspi-bonobo-listener.c:
2451 We now call cspi_object_new() instead of cspi_object_add() on
2452 receipt of an event; thus we only have an implicit object ref
2453 while the cspi_event method is being executed. If we need to keep
2454 a reference to the object, the listener must call ref() on the
2455 object. Thus also we don't need to call cspi_object_unref() after
2456 invoking the listener callbacks in this method.
2460 New internal API for creating a new cspi object, without adding it
2461 to the object cache.
2463 Now uses cspi_object_new() to create the cspi object instance.
2465 Now checks to see if the object is in the internal object cache,
2466 and adds it if necessary before incrementing its refcount (note
2467 that new objects are added with a refcount of 1).
2468 (report_leaked_ref):
2469 New method which gives some information on leaked object instances
2470 if leak detection is turned on.
2472 * test/event-listener-test.c:
2473 (timing_test_event):
2474 New method, used for testing event delivery timing for special
2475 events of type "object:test". It reports elapsed time and
2476 events/sec every 500 events.
2478 Added a new listener, 'test listener', to check timing of event
2479 receipt as noted above.
2481 Added some timing output here also, reports elapsed time every 100
2484 * test/stress-test.c:
2485 Emit events of type "object:test", for use with "event-listener-test".
2487 * test/test-simple.c:
2488 (global_listener_cb):
2489 Call Accessible_ref() on the event source before calling
2490 validate_accessible, since the validation process does pointer
2491 comparisons on the event source, meaning that the event source
2492 needs to be added to the local object cache first. Any use of
2493 such pointer comparisons between Accessible objects requires that
2494 the caller hold an explicit reference to those objects.
2495 We also must therefore call Accessible_unref() when leaving this method.
2497 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2499 * registryd/deviceeventcontroller.c:
2500 (spi_controller_update_key_grabs):
2501 Fix for #84735, subsequent keygrab listeners not informed of
2502 registration failure.
2505 (spi_base_construct):
2506 Add an assertion on construct, to make sure the GObject passed in
2507 is really a GObject.
2509 Explicitly initialize object->gobj pointer to NULL;
2511 * cspi/bonobo/cspi-bonobo-listener.c:
2512 (cspi_object_add_ref):
2513 New method, can specify whether to dup-ref a bonobo object passed
2514 in if it's newly added to the object cache.
2516 Now calls cspi_object_add_ref with second param of "FALSE". This
2517 prevents us from doing a pointless dup-ref followed by
2518 release-unref for all those cases where the object is already in
2519 our object cache (fix for #85205).
2521 * atk-bridge/bridge.c:
2522 (spi_atk_bridge_idle_init):
2523 Removed this method, we don't need to initialize in an idle
2526 Changed to call spi_atk_register_event_listeners directly, not via an
2527 idle handler. (fix for #81139)
2528 (gnome_accessibility_module_shutdown):
2529 Removed conditional around deregistration of listeners, since we
2530 don't use the idle handler and thus have always registered when
2532 (spi_init_keystroke_from_atk_key_event):
2533 Changed references to Accessibility_KEY_PRESSED to
2534 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2536 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2538 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2543 * test/stress-test.c:
2546 (may have been an incomplete commit yesterday?)
2548 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2551 Added target for new stress-test.
2553 * test/stress-test.c:
2554 New test, sends 1000 focus notifies in quick succession.
2556 * test/key-listener-test.c:
2557 Now we report whether a keylistener registration
2558 request succeeded or failed.
2560 * test/event-listener-test.c:
2561 Uncommented some listeners which are now implemented.
2564 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2566 * registryd/deviceeventcontroller.c:
2567 (spi_controller_update_key_grabs):
2568 Fix for #82509, lack of failure notification when
2569 ALL_WINDOWS keygrabs fail due to XGrabKey
2570 failure: we synchronize the server when
2571 registering a passive grab, to make sure we get the
2572 error message before the call returns.
2574 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2576 * test/test-simple.c:
2578 Removed #ifdef KEY_IMPL_WORKS guards.
2579 (test_keylisteners):
2580 Removed #ifdef KEY_IMPL_WORKS guards.
2581 Fixed bug which was causing a hang waiting for a
2582 "press" event (which was already overwritten by a "release"
2583 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2585 Added code to set globals 'key_press_received' and
2586 'key_release_received'.
2589 Added section "1.1 API Proposed Additions" which
2590 lists API additions desired for at-spi-1.1 (only one so far).
2591 Updated TODO list a little.
2593 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2595 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2598 * configure.in: Revved to 1.0.0.
2600 * idl/Accessibility_Registry.idl:
2601 (registerKeystrokeListener):
2602 Added boolean return value.
2604 * registryd/registry.c:
2605 (notify_listeners_cb): Minor fix to debug output.
2607 * registryd/Accessibility_Registry.server.in.in:
2608 Revved version number in OAFIID to 1.0.
2610 * registryd/registryd.c:
2612 Use new OAFIID version.
2614 * cspi/bonobo/cspi-bonobo.c:
2616 Use new OAFIID version.
2622 * atk-bridge/bridge.c:
2624 Use new OAFIID version.
2626 * registryd/deviceeventcontroller.c:
2627 (impl_register_keystroke_listener):
2628 Added CORBA_boolean return value.
2629 (spi_controller_register_device_listener):
2630 Added gboolean return value.
2631 (spi_controller_register_global_keygrabs):
2632 Added gboolean return value.
2633 (spi_key_set_contains_key):
2634 Added implementation for many more control keys,
2635 for instance F1-F12, arrow keys, End, Home, Page_Up,
2637 [TODO: some still not implemented].
2639 * text/screen-review-test.c:
2640 (text_chunk_pad_string):
2641 New function: it provides mapping between coordinate
2642 positions of text chunks and character positions in the
2643 screen-review-line output string.
2644 (text_chunk_to_string):
2645 New function, calls text_chunk_pad_string with various
2646 pad/delimiter characters. Pushbuttons are delimited with
2647 square brackets, Frames with vertical 'pipe' lines, and
2648 other text with double quotes.
2649 (text_chunk_list_to_string):
2650 Calls new function text_chunk_to_string.
2651 (toplevel_composite):
2652 New function to composite layers CANVAS through
2653 POPUP in each toplevel (other layers are composited
2654 across toplevels, i.e. BACKGROUND and OVERLAY).
2655 (review_buffer_composite):
2656 Revise to use new methods.
2662 2002-05-31 Laszlo Peter <laca@sun.com>
2664 * configure.in: add the Xtst libdir to the runpath on Solaris,
2665 since it's not in the default library search path.
2667 2002-05-29 jacob berkman <jacob@ximian.com>
2669 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2671 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2673 * test/screen-review-test.c:
2674 (text_chunk_pad_string):
2675 Added method, which pads the string according to the
2676 text bounds of the chunk. It also takes a 3-character
2677 string as a param which indicates the characters to be
2678 used for start, padding, and end delimitation of the chunk.
2679 (text_chunk_to_string):
2680 Changed to use text_chunk_pad_string.
2682 * configure.in: Fixed bug in AC_OUTPUT that was
2683 causing path substitution in Accessibility_Registry.server
2686 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2688 * text/screen-review-test.c:
2689 (guess_string_clip):
2690 New method which attempts a best-guess at clipping
2691 text from components (like Java labels) which don't
2692 actually implement AccessibleText. This inaccurate
2693 clip is based on the assumption that the label is
2694 justified left-and-right, and monospaced.
2695 (text_chunk_get_clipped_string):
2696 We now call guess_string_clip() for text-containing
2697 components that don't implement AccessibleText.
2699 * test/screen-review-test.c:
2700 (review_buffer_get_text_chunk):
2701 We now pull "name" from labels if they do not implement
2702 AccessibleText (i.e. for Java labels).
2703 (get_screen_review_line_at):
2704 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2707 Replaceded AC_OUTPUT target
2708 registryd/Accessibility_Registry.server with
2709 registryd/Accessibility_Registry.server.in.
2711 * registryd/Accessibility_Registry.server.in:
2712 Removed (this is now a Makefile target).
2714 * registryd/Accessibility_Registry.server.in.in:
2715 Added (source for target above). We now use $(libexecdir) as
2716 prefix for the executable at-spi-registryd.
2718 * registry/Makefile.am:
2719 Now install at-spi-registryd into $(libexecdir), and build .server
2720 file with path (see above).
2722 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2724 * test/screen-review-test.c:
2725 (text_chunk_get_clipped_string):
2726 We now check to see if words fall within clip bounds
2727 before resorting to character-by-character clip bounds testing.
2729 * TODO: Added a section for "2.2 Proposed API Additions".
2731 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2733 * test/screen-review-test.c:
2735 Added a screen review benchmarking and test program to test
2738 * cspi/spi_accessible.c:
2740 Made some of the debug strings passed to cspi_check_ev a
2741 little more specific.
2743 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2745 * test/screen-review-test.c: Fix crashes in debug statements
2747 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2749 * test/screen-review-test.c: Added this file.
2751 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2753 * atk-bridge/bridge.c: changed "object:state-change" to
2754 "object:state-changed" to match docs.
2756 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2758 * atk-bridge/bridge.c: Hooked up state-change event details.
2760 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2762 * registryd/registry.c:
2763 Fixed quarking bug in event string parsing; now events with
2764 detail parameters get matched correctly to listeners.
2767 * util/idl/Magnifier.idl: remove.
2769 * util/*.[ch]: Remove.
2770 Magnification utilities and IDL are now in module gnome-mag.
2772 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2774 * registryd/deviceeventcontroller.c:
2775 Fixed bug in grab key conversion which was causing keycode grabs
2776 to be converted to AnyKey grabs.
2779 updated NEWS file to reflect recent spin-off of gnome-mag.
2781 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2783 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2784 busted AccessibleStateSet_compare. Removed redundant casts.
2786 * cspi/spi-action.c: Removed redundant casts.
2788 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2790 * cspi/spi_component.c: Fixed typos and casting error.
2792 * cspi/spi_editabletext.c: Removed redundant casts.
2794 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2796 * cspi/spi_hypertext.c: Eliminated redundant casts.
2798 * cspi/spi_image.c: Eliminated redundant casts.
2800 * cspi/spi_registry.c: Eliminated redundant casts.
2801 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2802 * cspi/spi_selection.c: Removed redundant casts.
2803 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2804 handling. Screen geometry and text offsets were being returned as 0
2805 on error which is technically valid-- changed these to return -1.
2806 Added marshaller for text boundary types to fix bug with boundary
2807 types being passed incorrectly to atk.
2809 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2812 * cspi/spi_registry.c:
2813 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2814 which was uncovered by the recent key changes.
2816 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2818 * test/event-listener-test.c:
2820 Added new test, "event-listener-test";
2821 this code does two things; it benchmarks traversal time
2822 for the accessible hierarchy for the first running accessible
2823 app, and it connects listeners for all supported event types.
2824 It is thus useful as an example event listener and for
2825 diagnostics/debugging of event generation.
2827 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2830 Removed unnecessary dependency on libutil.
2833 Revved micro version: 0.13.1
2835 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2838 Removed util/Makefile from targets.
2841 Removed util subdir from SUBDIRS (temporarily,
2842 pending removal of magnifier-only code
2846 #ifdef-ed out magnifier dependencies, since
2847 magnifier IDL, headers, and binary now live in
2848 module gnome-mag and we don't want at-spi to depend
2849 on gnome-mag. A magnifier demo which can run alongside
2850 simple-at is forthcoming in the gnome-mag module.
2852 NOTE: Split magnifier binary, IDL, and magnification
2853 activation code from at-spi into module gnome-mag.
2855 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2857 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2858 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2860 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2863 Revved to version 0.13.0
2865 * idl/Accessibility_Registry.idl:
2866 Changed definition of KeySet from sequence of longs to sequence of
2867 KeyDefinitions, and added KeyDefinition struct.
2868 Required for fix to bug 80616.
2870 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2871 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2872 to use new definition (see above).
2874 * registryd/deviceeventcontroller.c: handle_keygrab(),
2875 spi_keyset_contains_key():
2876 Changed to make use of new struct; this allows matching based on
2877 string key-name, for instance "Tab". This also allows matching of
2878 composed characters, non-alphanumeric characters in a way that
2879 doesn't involve dependencies on X keysym codes directly, etc.
2881 * test/key-listener-test.c:
2882 Added test for Alt-Tab key using "string" specification of keyset,
2883 and modified one of the tests to use a keycode-based keyset.
2884 Thus this test both tests and demonstrates the creation and use of
2885 keysets of three forms: specified via keycode array,
2886 keysym array, and string array. (The string case only contains a
2887 single string, i.e. a string array of length 1).
2890 Turned on PRINT_TREE option by default. Also fixed a
2891 string-freeing bug in the PRINT_TREE code.
2892 Added a listener to window:minimize events.
2894 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2896 * atk-bridge/bridge.c:
2897 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2898 for window:activate and window:deactiveate
2899 (atk_bridge_property_event_listener atk_bridge_signal_listener
2900 atk_bridge_window_event_listener) Tidy debug code
2902 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2904 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2905 Fixed handling for NULL return value from ATK.
2907 * libspi/action.c libspi/component.c libspi/editabletext.
2908 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2909 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2910 Removed redundant casts.
2912 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2913 Fixed off by one bug.
2915 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2916 function not present in idl)
2918 2002-05-02 jacob berkman <jacob@ximian.com>
2920 * atk-bridge/Makefile.am: make atk-bridge a real module
2922 2002-04-26 Radek Doulik <rodo@ximian.com>
2924 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2925 atk_state_types table
2927 2002-04-22 jacob berkman <jacob@ximian.com>
2930 * libspi/Makefile.am: add deps on the built files to help
2931 automake, and don't version the ORBit typelib
2933 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2935 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2936 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2937 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2938 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2939 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2940 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2941 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2942 libspi/accessible.h libspi/accessible.h libspi/base.h
2943 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2944 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2945 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2946 libspi/spi-private.h libspi/statetset.h libspi/table.h
2947 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2948 util/mag_client.h util/mag_control.c util/mag_image.c
2949 util/mag_image.h util/magnifier.c util/magnifier.h:
2950 Add missing file headers; standardize existing ones
2952 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2954 * atk-bridge/bridge.c: Added window event support.
2956 2002-04-18 Michael Meeks <michael@ximian.com>
2958 * libspi/relation.c (impl_getNTargets): impl.
2959 (impl_getTarget): impl.
2961 * libspi/Makefile.am: fix stateset install.
2963 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2966 Started putting useful info in this file.
2968 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2970 * atk-bridge/bridge.c:
2971 Propagate state-changed notifications to ATs
2973 * cspi/spi_registry.c: update docs to reflect actual behavior of
2974 state-change events.
2976 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2979 Incremented version to 0.12.1
2981 * util/mag_client.h:
2982 Add missing declaration for magnifier_exit,
2983 used by mag_control.c - Forte compiler didn't like
2984 the implicit redeclaration of the function :-(
2987 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2990 Revved version to 0.12 due to API change (see below).
2992 * cspi/spi-roletypes.h:
2993 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2994 definition from the inline docs, and added docs
2995 for SPI_ROLE_LAST_DEFINED.
2998 * cspi/spi_streamablecontent.c:
2999 Added missing seek_type parameter to
3000 (so far unused) method,
3001 AccessibleStreamableContent_seek().
3002 [ RT approval JodyG. ]
3005 Fixed docs for SPI_createAccessibleKeystrokeListener.
3007 * cspi/spi_registry.c:
3008 Fixed docs for SPI_KEYSET_ALL_KEYS.
3010 * docs/reference/cspi/at-spi-cspi-sections.txt:
3011 Added a number of missing APIs to SECTIONS.
3013 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3015 * registryd/Makefile.am:
3017 * cspi/bonobo/Makefile.am:
3018 Add $(X_LIBS) to makefiles.
3020 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3023 Revved version to 0.11.
3025 * libspi/component.c:
3026 Added implementation for grabFocus.
3028 * idl/Accessibility_Component.idl
3029 (Accessibility_Component_grabFocus):
3030 Made this method return boolean to indicate success or failure, to
3031 be consistent with cspi and the corresponding ATK method.
3033 * idl/Accessibility_Selection.idl
3034 (Accessibility_Selection_selectAll) :
3035 Made these methods return boolean to indicate success or
3036 failure, to be consistent with cspi and the corresponding ATK methods.
3038 * idl/Accessibility_EditableText.idl
3039 (Accessibility_EditableText_setTextContents,
3040 Accessibility_EditableText_insertText,
3041 Accessibility_EditableText_cutText,
3042 Accessibility_EditableText_deleteText,
3043 Accessibility_EditableText_pasteText):
3044 Made these methods return boolean to indicate
3047 * cspi/spi_editabletext.c:
3048 Made these methods return booleans.
3050 * libspi/selection.c:
3051 * libspi/component.c:
3052 * libspi/editabletext.c:
3053 Connected the boolean returns from ATK
3054 to the server-side code referenced above.
3056 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3058 * idl/Accessibility_Table.idl: Added missing methods,
3059 Accessibility_Table_addRowSelection,
3060 Accessibility_Table_addColumnSelection,
3061 Accessibility_Table_removeRowSelection,
3062 Accessibility_Table_removeColumnSelection.
3065 Added C wrappers for above IDL:
3066 AccessibleTable_addRowSelection,
3067 AccessibleTable_addColumnSelection,
3068 AccessibleTable_removeRowSelection,
3069 AccessibleTable_removeColumnSelection.
3072 Added server-side implementation code for IDL above, connecting
3073 to pre-existing ATK api.
3075 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3077 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3079 * libspi/accessible.c: Added implementation fo
3080 Accessibility_Accessible_get_state.
3082 * libspi/libspi.h: Added stateset.h to the list of includes.
3084 * libspi/stateset.c: Fixed broken implementation.
3086 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3089 Added implementation code for Accessibility_Magnifier_exit ().
3091 * util/mag_control.c:
3092 Added test code for above method; you can
3093 now kill an existing magnifier via
3094 ./mag_control q, from the util directory.
3096 * test/key-listener-test.c:
3098 Added a new test, for our key listener API.
3100 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3102 * test/app.c, test/keysynth-demo.c:
3104 Replace use of snprintf with g_snprintf.
3105 (fix for bugzilla 78249)
3107 2002-03-27 Michael Meeks <michael@ximian.com>
3111 * util/Makefile.am (INCLUDES): fix.
3112 (DONT_DIST_SOURCE): don't distribute the
3115 * libspi/Makefile.am (dist-hook): ditto.
3117 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3119 * libspi/hypertext.c:
3120 Fix warnings when yelp is used with atk-bridge
3122 2002-03-21 Michael Meeks <michael@ximian.com>
3124 * libspi/application.c (spi_application_new):
3125 use spi_accessible_construct so we use the AtkObject
3128 2002-03-19 Michael Meeks <michael@ximian.com>
3130 * registryd/registry.c (desktop_remove_application),
3131 (desktop_add_application): clean coding style.
3133 * registryd/desktop.c (spi_desktop_remove_application),
3134 (spi_desktop_add_application): kill re-enterency hazards.
3135 (spi_desktop_dispose): remove bogus redundant cast
3136 obscuring bug; fix bug too.
3137 (spi_desktop_init): make the desktop object immortal.
3139 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3142 Added a #define-guarded tree-traversal step
3143 when enumerating the apps (diagnostic tool).
3145 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3147 * idl/Accessibility_Role.idl:
3148 Added ROLE_DRAWING_AREA which seemed to be missing from the
3151 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3153 * cspi/spi-roletypes.h cspi/spi_accessible.c
3154 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3157 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3158 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3159 AT when applications are added and removed from the desktop. This
3160 reverts the previous broken implementation using the backing
3161 AtkObject for the SpiDesktop.
3163 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3165 * registryd/desktop.c: emit the "children-changed::add" and
3166 "children-changed::remove" signals on the backing ATK object for
3167 the desktop so AT can tell when applications are started and shut
3170 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3172 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3174 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3176 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3178 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3180 * cspi/state-types.h: synched with IDL and ATK
3182 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3184 * libspi/accessible.c
3185 (impl_accessibility_accessible_get_child_at_index):
3186 Change return value for g_return_if_fail ()
3187 to CORBA_OBJECT_NIL instead of "0" (!)
3189 * registryd/Makefile.am:
3190 * registryd/Accessibility_Register.server.in:
3191 Changed name of executable, "registryd",
3192 to something more informative:
3195 2002-03-13 Michael Meeks <michael@ximian.com>
3197 * atk-bridge/bridge.c (atk_bridge_init): don't register
3198 if we're in a bonobo-component, rather than a bonobo app.
3200 2002-03-13 Michael Meeks <michael@ximian.com>
3202 * atk-bridge/bridge.c (gtk_module_init): split
3203 out body to (atk_bridge_init): here, since otherwise
3204 we get symbol conflicts and oddness when invoked
3205 from (gnome_accessibility_module_init): here (upd.)
3207 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3210 New file. Explicitly allow "build sheriff" putbacks provided
3211 they are tested on Solaris.
3213 * docs/reference/cspi/Makefile.am:
3214 Added '-' to the "cp" command for index.sgml.
3215 ("patch by thomasvs, soon coming to a GUADEC near you")
3218 Incremented version number (0.9.0) for new release.
3219 Changed macro that checks for popt, to better detect
3220 obsolete versions of popt.
3223 Added X_LIBS to AC_SUBST, for applications
3224 that call Xlib API directly.
3227 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3230 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3233 Fix regression caused by hard-coding major
3234 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3237 * test/test-simple.c (test_editable_text),
3238 (test_test): revert previous change (error was
3239 a regression in gail which is now fixed).
3241 2002-03-04 Michael Meeks <michael@ximian.com>
3243 * test/test-simple.c (test_editable_text),
3244 (test_text): pass G_MAXINT instead of '-1' for
3245 whole string - is this a good thing !?
3247 * cspi/spi_accessible.c
3248 (Accessible_getRelationSet): fix crasher bug
3249 overwriting the end of the array.
3251 * test/test-simple.c (validate_accessible): free,
3252 not g_free returned relation set.
3254 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3256 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3257 implemented stateset support
3259 * idl/Accessibility_State.idl: Made necessary changes to
3260 the IDL to support state sets.
3262 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3264 * registryd/deviceeventcontroller.c:
3265 Added implementation for generateMouseEvent.
3267 * cspi/spi_registry.c:
3268 Connected new implementation for generateMouseEvent
3271 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3274 Incremented revision (but no change in public API
3275 outside of 'utils', which are not installed public yet.)
3277 * libspi/component.c:
3278 Changed to use atk_component API for layers and
3279 mdi_zorder, instead of deprecated atk_object API.
3281 Magnification Utility Enhancements:
3284 Added implementation of createZoomRegion, clearAllZoomRegions,
3285 resizeZoomRegion. Added new commandline argument
3286 "--no-initial-region". Note that clearAllZoomRegions doesn't
3287 unmap the old '0' region as it should (yet), and the other
3288 methods only work when creating/resizing a single region,
3289 which is "region 0".
3290 (Code for multiple region support will be added later.)
3293 Now we raise the magnifier window each time it's refreshed;
3294 this will help keep it on top.
3296 * util/mag_client.h:
3297 Added simple wrappers for above, used by mag_control.
3298 For general use, it's recommended to use the bonobo magnifier
3299 control API directly instead of using these wrappers.
3302 Moved ZoomRegionData from magnifier.c to this file.
3304 * util/mag_control.c:
3305 Added some code to exercise new IDL implementations.
3307 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3309 * libspi/text.c: Provide implementation for getAttributes.
3311 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3314 Incremented revision.
3316 * test/test-simple.c:
3317 Replaced use of deprecated g_main_iteration with
3318 g_main_context_iteration.
3320 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3323 Incremented revision for desktop alpha 2.
3325 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3327 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3330 * test/simple-at.c: include netinet/in.h.
3332 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3334 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3335 use NULL, not CORBA_OBJECT_NIL.
3337 * libspi/accessible.c:
3338 (impl_accessibility_accessible_get_relation_set):
3339 allocate the sequence correctly.
3341 * libspi/remoteobject.h: kill spi_remote_object_new.
3343 * test/test-simple.c: (validate_accessible): add code
3344 to test relation sets, now all we need is to figure
3345 out how to excercise this code path :/
3347 2002-01-18 Michael Meeks <michael@ximian.com>
3349 * test/test-simple.c
3350 (key_listener_cb): consume the key.
3351 (test_keylisteners): update.
3352 (main): wait for any pending unrefs on events.
3354 * registryd/deviceeventcontroller.c
3355 (spi_controller_update_key_grabs): only re-issue the
3356 grab on a key release.
3357 (spi_device_event_controller_forward_key_event):
3358 refresh the keygrabs before we notify the listeners,
3359 to reduce the X ungrab / re-grab race.
3360 (spi_controller_register_with_devices): remove
3361 XSelectInput - we do that with the gdk_window_ call.
3362 (_spi_controller_device_error_handler): return a value.
3363 s/GDK_DISPLAY/spi_get_display/
3365 2002-01-17 Michael Meeks <michael@ximian.com>
3367 * registryd/deviceeventcontroller.c
3368 (_deregister_keygrab): don't blow out the later
3371 * test/test-simple.c (test_keylisteners): do a
3372 more intelligent validation.
3374 2002-01-14 Michael Meeks <michael@ximian.com>
3376 * atk-bridge/bridge.c
3377 (gnome_accessibility_module_init),
3378 (gnome_accessibility_module_shutdown): impl.
3379 (gtk_module_init): protect vs. double inits.
3380 (add_signal_listener): impl.
3381 (spi_atk_bridge_state_event_listener): kill
3382 (deregister_application): split out of
3383 (spi_atk_bridge_exit_func): here.
3385 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3388 Added caret tracking when using magnifier, and
3389 now use text bounds for focus tracking of text elements, rather than
3390 the component bounds - this is helpful for short text fields in long
3391 table cells, at high magnification.
3393 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3395 * registryd/deviceeventcontroller.c:
3396 Regression fix for keylistener de-registration; global keygrabs
3397 were not being released when deregisterKeystrokeListener was
3398 called in cspi, since
3399 Accessibility_DeviceEventController_deregisterKeystrokeListener
3400 was called with a zero-length keyset. That is because the cspi
3401 method, SPI_deregisterKeystrokeListener, does not take a keyset
3402 parameter but instead should remove all the key grabs held be a
3404 The code in impl_deregister_keystroke_listener was changed to copy
3405 the keylist from the listener instance previously registered with
3406 the DeviceEventController before releasing the grabs.
3408 * registryd/registry.c:
3409 * registryd/deviceeventcontroller.c:
3410 * libspi/spi-private.h:
3412 Changed spelling of "re-enterant" to "re-entrant" globally.
3414 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3416 * test/test-simple.c:
3417 Changed key listeners test - the test was slightly mis-using the
3418 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3419 It now uses '=' as the key event listened to and generated,
3420 relying on a keysym match rather than assuming that keycode 33
3421 is always equal to keysym '!'.
3423 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3426 Changed simple-at to use a specific keyset, rather than
3427 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3428 manager, desktop, etc.
3430 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3432 * registryd/deviceeventcontroller.c:
3433 Replaced standard X error handler with a special handler that
3434 is non-fatal for failed keygrabs. This works around
3435 problems with keygrab clashes sometimes observed on
3437 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3438 mouse handling code as yet).
3440 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3443 Incremented revision for desktop alpha release.
3446 Fixed a couple of the more glaring errors (still not
3449 2002-01-11 Michael Meeks <michael@ximian.com>
3451 * registryd/deviceeventcontroller.c
3452 (spi_device_event_controller_forward_key_event): kill
3453 XUngrabKey / XKeyGrab race.
3454 (spi_controller_grab_keyboard): rename to
3455 (spi_controller_update_key_grabs): this, and deal
3456 with incremental adding / removing grabs more
3458 (_register_keygrab): ensure we're not pending a remove.
3459 (spi_grab_mask_free): impl.
3460 (spi_controller_register_global_keygrabs): split out
3462 (handle_keygrab): impl.
3463 (_deregister_keygrab): impl.
3464 (spi_controller_deregister_global_keygrabs): impl.
3465 (spi_controller_update_key_grabs): re-issue the grab if
3466 we just recieved a notification.
3468 * test/test-simple.c (key_listener_cb): remove debug.
3470 * registryd/deviceeventcontroller.c
3471 (spi_controller_register_device_listener): after
3472 registering a global keygrab, actualy register it !
3473 don't wait for a timeout; doh !
3475 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3476 to make it more readable / manipulable.
3477 s/grabmask/grab_mask/ s/refcount/ref_count/
3478 s/keyval/key_val/ s/modmask/mod_mask
3480 2002-01-08 Michael Meeks <michael@ximian.com>
3482 * registryd/deviceeventcontroller.c
3483 (spi_controller_register_with_devices): use gdk calls to
3485 (global_filter_fn): implement the filter.
3486 (spi_device_event_controller_check_key_event): rename to
3487 (spi_device_event_controller_forward_key_event): this & upd.
3488 (spi_get_display): replace with GDK_DISPLAY.
3490 * registryd/deviceeventcontroller.c
3491 (spi_controller_deregister_device_listener): unroll into
3492 (impl_deregister_keystroke_listener): here to simplify.
3493 (spi_controller_register_global_keygrabs): split cut and
3494 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3495 (spi_controller_deregister_device_listener): remove.
3496 (impl_register_mouse_listener): remove, no mouse listener
3497 support in at-spi-1.0
3499 * registryd/registry.c
3500 (_device_event_controller_hook): kill.
3501 (spi_registry_init): upd.
3503 * registryd/deviceeventcontroller.c
3504 (spi_device_event_controller_class_init): upd.
3505 (spi_check_key_event): merge into.
3506 (spi_device_event_controller_check_key_event):
3507 here and kill strange static ev init, don't leak
3508 the x_event - nor dynamicaly allocate it.
3510 * registryd/registry-main.c (main): re-direct
3511 timeout to remove strange vtable mess.
3513 * registryd/deviceeventcontroller.c
3514 (remove_listener_cb): impl.
3515 (spi_controller_deregister_device_listener):
3516 fix re-enterancy hazard.
3518 2002-01-07 Michael Meeks <michael@ximian.com>
3520 * registryd/deviceeventcontroller.c
3521 (spi_device_event_controller_new): upd.
3522 (impl_notify_listeners_sync): upd. debug.
3523 (spi_notify_keylisteners): fix re-enterancy hazards,
3524 prettify, remove O(n*n) iteration.
3525 (spi_controller_grab_keyboard): fix iteration.
3526 (spi_check_key_event): re-format to suit coding style.
3527 Clean all the warnings - we're warning free.
3529 * registryd/deviceeventcontroller.h:
3530 * registryd/registry.h: make mutualy referential with
3531 typesafe forward references instead of (!) void pointer
3534 2002-01-11 Michael Meeks <michael@ximian.com>
3536 * cspi/spi_accessible.c (role_names): add a role name
3537 to sync this array with the enum; and make the regression
3540 2002-01-10 Michael Meeks <michael@ximian.com>
3542 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3543 allow expansion of enumeration & kill warning.
3545 * test/test-simple.c (key_listener_cb): impl.
3546 (test_keylisteners): impl.
3548 * cspi/spi-listener.h: make listener signatures const
3549 on the provided (const) events.
3551 * test/keysynth-demo.c: upd. to const events.
3553 * test/simple-at.c: ditto.
3555 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3558 Rev the version to 0.5 (the previous tarball was named 0.4,
3559 even though the micro number was 3), so we need to rev upwards
3560 again for beta2/"desktop-alpha"
3563 Checked in a demo script, which requires editing before use!
3564 Proceed with caution.
3567 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3569 * cspi/spi_accessible.c:
3570 Add a couple of missing enum initializations, and fix some enum
3573 * cspi/spi_registry.c:
3574 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3576 * docs/reference/cspi/at-spi-cspi-sections.txt:
3577 Remove/fix a couple of broken document references.
3580 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3581 as Alt-Control to listen for commands, since on some systems
3582 Control-Alt may already be grabbed.
3584 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3587 Update version number to 0.4 for Beta2.
3589 * libspi/accessible.c, libspi/accessible.h:
3590 Expose spi_accessible_construct, to enable libgail-gnome
3591 construction from spi_accessible subtype.
3593 * utils/magnifier.c:
3594 Workaround for bug in some non-gnome-compliant window managers
3595 which made magnifier resize improperly.
3597 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3599 * libspi/accessible.c: (spi_accessible_new) :
3600 Move the test for SPI_IS_REMOTE_OBJECT to
3601 spi_accessible_new_return, fixing a bug and compile time warning.
3603 2002-01-08 Michael Meeks <michael@ximian.com>
3605 * registryd/registry.c (parse_event_type): remove strndup.
3607 * libspi/Makefile.am (libspi_la_SOURCES): remove
3608 sources already included in the headers section.
3610 * libspi/util.c: add.
3612 * libspi/spi-private.h: add.
3614 * registryd/registry.c: update to moved list iterators.
3616 2002-01-05 Michael Meeks <michael@ximian.com>
3618 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3620 * test/test-simple.c (main): ditto.
3622 2002-01-04 Michael Meeks <michael@ximian.com>
3624 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3625 redundant construct.
3627 * registryd/registry.c
3628 (get_listener_list): impl.
3629 (impl_accessibility_registry_register_global_event_listener):
3630 re-impl. to simplify using ~, remove dodgy const cast off.
3631 (parse_event_type): constify.
3632 (impl_accessibility_registry_deregister_global_event_listener_all):
3633 re-write, more efficiency and simplicity, kill re-enterancy
3635 (compare_listener_corbaref, compare_corba_objects),
3636 (compare_listener_quarks): define out.
3637 (impl_accessibility_registry_deregister_global_event_listener):
3638 re-write for effiency, and nail re-enterancy hazard.
3639 (impl_accessibility_registry_get_desktop_list): impl.
3640 (re_enterant_list_delete_link): impl.
3641 (re_enterant_list_foreach): impl.
3642 (remove_listener_cb): impl.
3643 (_registry_notify_listeners): kill.
3644 (notify_listeners_cb): impl.
3646 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3647 (SPI_getDesktopList): impl.
3649 * test/test-simple.c (test_desktop): test the methods.
3651 2002-01-03 Michael Meeks <michael@ximian.com>
3653 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3654 keystrings since we free them
3655 (SPI_freeAccessibleKeySet): in here.
3657 * libspi/accessible.c (spi_accessible_new): kill warning,
3658 wonder what is going on with the constructor here.
3660 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3662 * libspi/accessible.c (spi_accessible_new ()) :
3663 Added check to see if AtkObject is an SpiRemoteObject before
3664 creating an SpiAccessible.
3666 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3668 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3669 Enable keygrabs using the Control modifier, now that they are
3670 working properly (they were previously disabled).
3673 Change the command keygrab for this demo to "Control+Alt", so as
3674 to conflict with fewer other key commands on the system; this
3675 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3677 Removed a pointlessly-chatty keylistener for unshifted keys
3678 (shifted keys are still reported).
3680 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3682 * libspi/remoteobject.h:
3683 * libspi/remoteobject.c:
3684 Added definitions for special AtkObject subtype, required for
3685 support of remote components (specifically, used by BonoboControl
3686 accessibility implementation).
3688 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3690 * cspi/spi.h: synched relation types with ATK
3692 * cspi/spi_accessible.c: Added implementations of
3693 AcccessibleRelation_* methods
3695 * idl/Accessibility_Relation.idl: added getRelationTypeName
3696 method. Synched known relation types with ATK. Allowed for
3697 relation type extension with the RELATION_EXTENDED type.
3699 * libspi/relation.c: Provided implementations for
3700 AccessibleRelation methods.
3702 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3704 API tweaks for today's API 'freeze'.
3707 Added placeholder functions to allow future compatible expansion
3708 of the IDL interfaces.
3710 * idl/Accessibility_Registry.idl:
3711 Changed generateKeyEvent to generateKeyboardEvent. Changed
3712 signature of this method to accept an optional keystring in
3713 parameter (for complex text input synthesis) and changed use of
3714 simple 'boolean' parameter in registerKeystrokeListener to a
3715 struct, EventListenerMode.
3717 * cspi/spi_accessible.c:
3719 * cspi/spi_streamablecontent.c:
3720 Added references to AccessibleStreamableContent interface, and
3721 definition and implementation of AccessibleStreamableContent
3724 * cspi/spi_registry.c:
3726 Changed generateKeyEvent API to generateKeyboardEvent,
3727 taking a new (optional) keystring parameter to support complex
3732 Renamed directory (to better reflect its actual purpose, bridging
3733 from at-spi to ATK). The .so module is also now named
3736 * idl/Accessibility_Hypertext.idl:
3737 * libspi/accessible.c:
3738 * libspi/hypertext.h:
3739 * libspi/hypertext.c:
3740 Changed Accessibility_Hypertext to *not* derive from
3743 * cspi/spi_registry.c:
3744 Added list of legal event type names for 'window' events, which
3745 completes the registry event API.
3747 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3749 * at-bridge/bridge.c: Added registration for separate
3750 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3751 signals. If either of the first two parameters to the generic
3752 bridge signal handler are ints, they are passed on as event
3753 details. This allows an AT to determine what text was inserted.
3755 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3757 * registryd/deviceeventcontroller.c:
3758 Fixed regressions in generateKeyEvent caused by the removal of
3759 gdk_init from registryd; we now use pure X calls to connect to the
3760 display, which makes sense because deviceeventcontroller already
3761 uses a fair bit of X API (should eventually be migrated to a
3762 'portability layer').
3764 * registryd/desktop.c:
3765 Fixed minor regression in spi_desktop_init, changed the way the
3766 desktop name is being set to work with new spi_base API
3767 (gobject-based, rather than AtkObject-based).
3769 * registryd/Makefile.am:
3770 Minor revision of makefile to use XTST_LIBS variable rather than
3771 hard-wiring the Xtst LD_ADD element.
3773 * test/keysynth-demo.c:
3774 Tweaked an output message; added initialization of the
3775 'keystrings' member of the "switch listener" key_set.
3777 * libspi/relation.c:
3778 Squashed compile-time warning.
3780 * libspi/accessible.c:
3781 Cosmetic and formatting fixes, renamed a static method.
3783 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3785 * libspi/accessible.c
3787 * libspi/application.c
3790 * libspi/component.c
3791 * libspi/editabletext.c
3792 * libspi/hyperlink.c
3793 * libspi/hypertext.c
3795 * libspi/selection.c
3799 * registryd/desktop.c:
3800 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3802 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3804 * idl/Accessibility_Registry.idl:
3805 Added boolean member 'is_text' to DeviceEvent. This is for the
3806 use of key events, and helps prevent ambiguity between composed
3807 key strings and keysym names, since both may potentially be
3808 returned in the 'event_string' member.
3810 * at-bridge/bridge.c:
3811 * registryd/deviceeventcontroller.c:
3812 Use the 'is_text' member when notifying device event listeners.
3813 Knon issue: composed characters are not dealt with correctly by
3814 the global key listener implementation yet.
3816 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3818 * at-bridge/bridge.c:
3819 Namespaced local static methods to spi_atk_bridge_* where
3820 previously named bridge_*, and spi_* elsewhere.
3822 * at-bridge/bridge.c:
3823 * cspi/bonobo/cspi-bonobo-listener.c:
3824 Added demarshalling/conversion for string member of
3825 Accessibility_DeviceEvent to AccessibleKeystroke.
3827 * registryd/deviceeventcontroller.c:
3828 Added code to fill the Accessibility_DeviceEvent key string value
3829 member for global key events (i.e. from XGrabKey), to match
3830 behavior of Accessibility_DeviceEvent from the toolkit key events
3831 from the bridge. Fixed timestamp in global key event notifications.
3834 Added printout of key event's string value to
3835 report_ordinary_key_event, for demo/debugging purposes.
3837 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3839 * idl/Accessibility_Registry.idl:
3840 Removed Accessibility_KeyStroke structure in favor of generic
3841 Accessibility_DeviceEvent structure.
3842 Changed Accessibility_ControllerEventMask from a struct to an
3845 * at-bridge/bridge.c:
3846 Changed APIs to use DeviceEvent structure as above, and removed
3847 bogus casting between these event structures.
3849 * cspi/spi-listener.h:
3850 Added keystring member of AccessibleKeystroke structure, to enable
3851 matching on event "names" rather than only hardware codes and
3855 Added keystrings member of AccessibleKeySet struct, to allow
3856 matching on event names (as above).
3857 Added declarations for SPI_createAccessibleKeySet and
3858 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3859 event modmasks directly as unsigned ints rather than structs with
3860 refcounts, in the DeviceEventController methods.
3862 * cspi/spi_registry.c:
3863 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3865 * cspi/spi-roletypes.h:
3866 Added documentation of newly added SPI Roles.
3868 * cspi/bonobo/cspi-bonobo-listener.c:
3869 Changes in support of API changes above.
3871 * libspi/accessible.c:
3872 Converted APIs to use DeviceEvent structure (see IDL changes
3875 * registryd/deviceeventcontroller.c:
3876 Added DEControllerGrabMask structure to track keygrabs not only by
3877 modmask but by keyset as well; this allows us to do "global"
3878 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3879 grabbing on AnyKey and then filtering after-the-fact.
3880 Bugfixes for event filtration mean that we don't get false matches
3881 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3883 * registryd/deviceeventcontroller.c:
3884 Namespaced a number of static methods to use spi_ prefix. Major
3885 revision to internals of global (i.e. X) key grabs.
3887 * registryd/deviceeventcontroller.h:
3888 Removed keymask_list and added keygrabs_list to
3889 SpiDeviceEventController struct.
3892 Added use of SPI_createAccessibleKeySet API when creating a
3893 listener for only one key. Attach a listener to "shift spacebar
3894 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3895 X key event names to SPI key event names, so that listeners are
3896 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3898 * test/keysynth-demo.c:
3899 Changed (incorrect) use of X key event names (KeyPressed,
3900 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3903 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3905 * libspi/accessible.c:
3906 Convert all AtkRole enumerations to Accessibility_Role enums when
3907 getting a role from an AtkObject.
3909 * cspi/spi_accessible.c:
3910 Complete the conversion of Accessibility_Role enums at runtime to
3911 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3912 role enums correctly match those given in spi-roletypes.h.
3913 Re-synchronize the local names list for AccessibleRole_getName ().
3914 AccessibleRole_getName is now deprecated, since it duplicates the
3915 more reliable Accessible_getRoleName.
3916 Added some role types from Accessibility_Role.idl.
3918 * idl/Accessibility_Role.idl:
3919 Added some role types used by AtkRole.
3921 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3924 * cspi/spi_registry.c:
3926 * cspi/cspi-bonobo-listener.c:
3927 Namespaced all methods that did not begin with an "SPI_" or
3928 "Accessible" prefix to "SPI_".
3931 Homogenized internal function namespace to "cspi_" for statics.
3934 Patched tests to use the new CSPI API.
3936 * docs/reference/cspi/at-spi-cspi-sections.txt:
3937 Updated docs to reflect namespace changes, and added a number of
3938 methods to the documentation.
3940 * registryd/registry.c:
3941 Changed use of strings and string hashes in listener event
3942 matching and parse_event_string to use GQuark, which is guaranteed
3945 * registryd/registry.h:
3946 Squashed annoying warning.
3948 * idl/Accessibility_Role.idl:
3949 Extended range of available Accessibility_Role values.
3951 * cspi/spi_accessible.c:
3952 Re-ordered role names.
3954 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3956 * idl/Accessibility_Value.idl:
3957 Revert use of union back to CORBA_double, since the double type is
3958 more efficient and can contain the other types without loss of
3961 * idl/Accessibility_Accessible.idl:
3962 Added method Accessibility:Accessible:getRoleName, to complement
3963 Accessibility:Accessible:getRole.
3965 * cspi/spi_accessible.c:
3967 Added C binding for above, Accessible_getRoleName (), and changed
3968 signature of Accessible_getRole () to return an AccessibleRole.
3970 * cspi/spi-roletypes.h:
3971 Changed AccessibleRole_getName to return a char * instead of a
3972 const char *. This method is now at least temporarily deprecated
3973 in favor of asking Accessibles for their RoleNames directly.
3976 Revert to match Accessibility_Value.idl;
3980 Change signature of AccessibleValue methods to use double rather
3984 * cspi/spi_accessible.c:
3985 Changed Accessible_getRole to return an AccessibleRole enum rather
3986 than a UTF-8 string. The UTF-8 string can still be obtained via
3987 AccessibleRole_getName ().
3989 * test/test-simple.c:
3990 Add test_action. Small fixup to match API change to Accessible_getRole.
3993 Bugfix for get_action_from_servant ().
3995 2001-12-11 Michael Meeks <michael@ximian.com>
3997 * libspi/libspi.h: remove registry.h and
3998 desktop.h, deviceeventcontroller.h
4000 * libspi/Makefile.am: remove registry.[ch],
4001 desktop.[ch], deviceeventcontroller.[ch]
4003 * registryd/Makefile.am: add registry.[ch],
4004 desktop.[ch], rename registryd.c to registry-main.c.
4005 add deviceeventcontroller.[ch]
4007 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4010 Replace setenv() call with putenv ().
4012 * libspi/component.c:
4013 Bugfix in AccessibleComponent_getExtents (),
4016 2001-12-11 Michael Meeks <michael@ximian.com>
4018 * libspi/image.c (impl_getImageExtents): impl.
4019 (spi_image_class_init): upd.
4022 (AccessibleImage_getImageDescription): fix daft bug
4025 * test/test-simple.c (global_listener_cb): update
4026 to only quit if not --poke
4027 (main): catch --poke.
4028 (validate_accessible): upd. dumping, call test_image
4031 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4034 * idl/Accessibility.idl: update all IDL includes.
4036 * idl/*.idl - rename to namespace - this sucks, blame
4037 mjs' bad decision for oafd.
4039 * test/test-simple.c (create_test_window): add more tests.
4040 (create_tree): split this out.
4041 (validate_accessible): bugfix.
4043 2001-12-11 Michael Meeks <michael@ximian.com>
4045 * cspi/bonobo/cspi-bonobo-listener.c:
4046 (cspi_kestroke_listener_unref),
4047 (cspi_event_listener_unref): impl. undoing previous
4048 homenous environment - for Bill.
4050 * cspi/spi_table.c (long_seq_to_array): use
4053 * cspi/spi_main.c: split out all bonoboish bits into
4056 * cspi/spi-impl.h: upd. typedefs.
4058 * cspi/spi_registry.c: update to lowlevel API,
4059 return booleans to indicate success in some places.
4061 * cspi/spi_event.c: update to lowlevel API.
4063 * cspi/bonobo/Makefile.am: add.
4065 * cspi/bonobo/cspi-lowlevel.h: add
4067 * cspi/bonobo/cspi-bonobo.c: add
4069 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4071 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4072 (SUBDIRS): add bonobo, link in the libs.
4074 * cspi/spi-util.c: kill this file.
4076 * TODO: merge in my bits.
4078 2001-12-11 Michael Meeks <michael@ximian.com>
4080 * test/test-simple.c (test_value, test_table, main):
4081 remove unused variables causing warnings.
4083 * configure.in: cleanup checks - require gail.
4085 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4088 Changed Value interface to use SValue (scalars) rather than
4089 assuming all values are floats. This allows floats, doubles,
4090 longs, shorts, and unsigned values to be manipulated.
4091 Introduced Accessibility:SValue union.
4094 Updated to use new API above, and to work correctly with GValues
4095 of different types in AtkValue.
4098 Updated to use new API above. cspi's API is as yet unchanged.
4101 Updated the Value revision action item.
4103 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4105 * test/test-simple.c:
4106 Added test_table (GtkTreeView widget in test window to follow).
4107 Un-commented test_value, added GtkRange widget.
4108 Added GtkTreeView widget with GtkListStore. It passes regression
4109 test but leaks one SPI object for some reason.
4112 Fixed bug in impl__set_currentValue.
4114 2001-12-10 Michael Meeks <michael@ximian.com>
4116 * cspi/spi_text.c: audit for exception handling,
4117 tolerating NULL object references safely etc.
4119 * cspi/spi_value.c: ditto.
4121 * cspi/spi_table.c (AccessibleTable_getSummary),
4122 (AccessibleTable_getAccessibleAt),
4123 (AccessibleTable_getRowHeader),
4124 (AccessibleTable_getColumnHeader),
4125 (AccessibleTable_getCaption): fix bugs hidden by
4127 (long_seq_to_array): impl.
4128 (AccessibleTable_getSelectedRows),
4129 (AccessibleTable_getSelectedColumns): use it.
4131 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4134 Added a TODO list (rough and short for now).
4136 * cspi/spi_hyperlink.c:
4137 * cspi/spi_hypertext.c:
4138 Fixed macro name typos, and remove use of obsolete macro in
4139 AccessibleHyperlink_getLink.
4141 * cspi/spi_action.c:
4142 * cspi/spi_accessible.c:
4143 * cspi/spi_application.c:
4144 * cspi/spi_component.c:
4145 * cspi/spi_selection.c:
4148 Documentation fixes (removed return values from ref/unref methods).
4150 2001-12-10 Michael Meeks <michael@ximian.com>
4152 * cspi/spi_action.c: audit for exception handling,
4153 tolerating NULL object references safely etc.
4155 * cspi/spi_accessible.c: ditto.
4157 * cspi/spi_component.c: ditto.
4159 * cspi/spi_editabletext.c: ditto.
4161 * cspi/spi_hyperlink.c: ditto.
4163 * cspi/spi_hypertext.c: ditto.
4165 * cspi/spi_image.c: ditto.
4167 * cspi/spi_selection.c: ditto.
4169 2001-12-10 Michael Meeks <michael@ximian.com>
4171 * configure.in: use cspi/libspi.pc.in instead.
4173 * Makefile.am (pkgconfig_DATA): upd. to match.
4175 * test/simple-at.c (report_focus_event): kill hacks around
4176 bad return values, use putenv not setenv
4178 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4179 fire ChildGone - I killed it.
4181 * libspi/component.c
4182 (impl_accessibility_component_get_extents): remove
4185 * idl/Accessible.idl: kill ChildGone exception.
4187 * cspi/*.[ch]: kill int return from ref / unref.
4189 * cspi/spi_main.c (cspi_object_add_check): fold into
4190 (cspi_object_add): here.
4192 * cspi/spi_component.c (AccessibleComponent_getExtents):
4193 handle exceptions elegantly.
4195 * cspi/spi-private.h (cspi_check_ev_return),
4196 (cspi_return_if_fail): impl.
4198 * cspi/spi_accessible.c: use extensively.
4199 (AccessibleStateSet_equals): add direct compare check.
4201 * cspi/spi_selection.c: tolerate NULL objs, and check
4202 exceptions before return.
4204 * cspi/spi-util.c (cspi_warn_ev): rename to
4205 (cspi_check_ev): this & don't pass ev in; no point.
4207 2001-12-10 Michael Meeks <michael@ximian.com>
4209 * test/test-simple.c: use putenv not setenv
4210 (get_environment_vars): more chatty if you're not using
4213 * test/simple-at.c: do the setenv so more people see the
4216 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4218 * libspi/registry.c:
4219 Changed check of CORBA_environment on notification to be a warning
4220 instead of an error for the moment, since we can recover from this
4221 error when caused by a queued notification from a dead app.
4224 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4225 used by all current implementors of AtkValue), and coerce to
4226 CORBA_float. (Proper general case fix may require change to Value.idl).
4228 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4232 * cspi/spi_accessible.c:
4233 Documentation fixes: added user_data params to documentation for
4234 listeners and callbacks.
4236 * cspi/spi_accessible.c:
4237 Changed AccessibleStateSet_compare to return a
4238 StateSet rather than return the difference set into a third parameter.
4241 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4244 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4245 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4249 Remove subdirectory po from SUBDIRS for now.
4251 * at-bridge/bridge.c:
4252 Beefed up a couple of debug printouts.
4253 One-line fix for signal notification name formatting.
4255 * libspi/accessible.c:
4256 Added assertion to spi_accessible_new ().
4258 * libspi/application.c:
4259 Put #ifdef qualifiers around a printf.
4262 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4264 * registryd/Makefile.am:
4266 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4267 INTLTOOL_SERVER_RULE macro.
4270 Added an event listener for several ATK signals, for
4271 testing and debugging. Removed a few g_warnings.
4272 Added test output if focussed item implements the Value interface.
4274 * test/test-simple.c:
4275 Added test_value () function (known not to pass at the moment, so
4276 not actually called yet.
4278 2001-12-08 Michael Meeks <michael@ximian.com>
4280 * at-bridge/bridge.c (bridge_focus_tracker),
4281 (emit_eventv): fix the same ref. leak.
4282 (register_atk_event_listeners): don't leak.
4284 * cspi/spi-listener-impl.c (cspi_event): more
4285 protection from client code.
4287 * test/test-simple.c (test_desktop): unref the app.
4289 * test/Makefile.am: upd. TESTS.
4291 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4293 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4295 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4297 * cspi/spi_registry.c: constify in strings.
4298 (deregisterGlobalEventListenerAll): don't release the ref.
4300 * cspi/spi.h: start removing redundant / conflicting
4301 gtkdoc comments, making the API readable at a glance :-)
4303 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4305 * test/keysynth-demo.c (keysynth_exit, main): upd.
4307 * test/simple-at.c (main, simple_at_exit): upd.
4309 * test/test-simple.c (unutterable_horror): kill.
4310 (utterable_normal_derefs): kill.
4311 (main): upd & do a setenv before gtk_init, so that we
4312 can use memprof - and to save the pain of remembering
4313 this, if we're running under memprof - don't exit.
4315 * cspi/spi_main.c (SPI_exit): return exit status
4317 (SPI_event_quit): impl.
4318 (SPI_event_main): simplify.
4319 (cspi_is_gnome_app): kill.
4320 (SPI_init): kill isGNOMEapp arg.
4322 * at-bridge/bridge.c (register_atk_event_listeners):
4323 re-instate the unref.
4324 (bridge_exit_func): don't re-activate the registry,
4325 protect vs. theoretical re-entry, use the
4326 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4327 assert a clean shutdown - for regression tests.
4329 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4331 * configure.in: Comment out dummy i18n support for now,
4332 otherwise it fails to build.
4333 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4334 EXTRA_DIST. They are missing in tarball.
4336 2001-12-07 Michael Meeks <michael@ximian.com>
4338 * util/magnifier.c: kill bonobo activation reg. race.
4340 * libspi/component.c
4341 (impl_accessibility_component_get_extents): make it match
4344 * libspi/registry.c (_registry_notify_listeners):
4345 re-remove X headers & reconcile conflicts.
4346 (spi_listener_struct_free): bad conflict resolve.
4347 (impl_accessibility_registry_register_application):
4348 more bad merging fixed.
4349 (impl_accessibility_registry_deregister_application): ditto.
4350 (spi_registry_new): ditto.
4351 (spi_registry_init): don't have an applications field.
4353 [ merge fixups2 branch to here ]
4354 2001-12-07 Michael Meeks <michael@ximian.com>
4356 * test/simple-at.c (report_focus_event),
4357 (report_focussed_accessible): remove g_warning debug.
4359 2001-12-07 Michael Meeks <michael@ximian.com>
4361 * test/test-simple.c (validate_tree): comment out some checks.
4362 (test_desktop): app now not registered idly - horay.
4364 2001-12-07 Michael Meeks <michael@ximian.com>
4366 * cspi/spi_registry.c
4367 (registerAccessibleKeystrokeListener): clean, stop it leaking
4368 great swathes of memory, and device event controller references.
4369 ensure we always pass valid sequences.
4370 (deregisterAccessibleKeystrokeListener): ditto.
4371 (generateKeyEvent): upd.
4373 * at-bridge/bridge.c (bridge_key_listener): handle
4374 registry dead exception gracefully.
4375 (bridge_focus_tracker, emit_eventv): free ev.
4377 * test/simple-at.c (report_focus_event): fix polarity.
4379 * libspi/application.c (notify_listeners): kill the ev
4380 argument, and make sure we init the ev we use.
4381 (spi_application_object_event_listener): split out a chunk
4382 (get_atk_object_ref): here & fixup.
4383 (reverse_lookup_name_for_toolkit_event): make const.
4384 (spi_application_toolkit_event_listener): fixup, kill leaks
4387 * at-bridge/bridge.c (register_atk_event_listeners):
4388 don't unref the noop object - causes grief.
4390 * libspi/registry.c: remove the X headers.
4391 turn off the debug churn.
4393 * libspi/accessible.c (spi_accessible_new_return): only
4394 release the ref if we are supposed to [doh]
4396 * test/simple-at.c (report_button_press, report_focus_event):
4397 guard vs. unexpected exit.
4399 * at-bridge/bridge.c (gtk_module_init): prune printf.
4400 (bridge_exit_func): fix app unref.
4402 * libspi/Makefile.am: don't install registry or desktop.h
4404 * libspi/*.h: update includes.
4406 * libspi/application.h: don't include ourself, or
4407 other redundant headers.
4409 2001-12-06 Michael Meeks <michael@ximian.com>
4411 * libspi/accessible.c
4412 (get_accessible_from_servant): impl.
4413 Upd. all CORBA impl.s to use it killing cut and paste.
4415 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4417 (SPI_init): register atexit cleanup handler here.
4419 2001-12-06 Michael Meeks <michael@ximian.com>
4421 * at-bridge/bridge.c (gtk_module_init): g_error on
4422 activation exception
4424 2001-12-06 Michael Meeks <michael@ximian.com>
4426 * at-bridge/bridge.c (gtk_module_init): some sort of
4427 confusing merge clash - reverted.
4428 (bridge_idle_init): ditto.
4430 * test/test-simple.c (main, utterable_normal_derefs):
4431 merge from Bill - somehow not committed.
4433 2001-12-06 Michael Meeks <michael@ximian.com>
4435 * libspi/value.c (spi_value_class_init): upd.
4436 (spi_value_finalize): kill.
4438 * libspi/table.c (spi_table_finalize): kill.
4439 (spi_table_interface_new): upd.
4440 (spi_table_class_init): upd.
4441 (get_table_from_servant): impl.
4442 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4444 * libspi/selection.c (spi_selection_finalize): kill.
4445 (spi_selection_interface_new): upd.
4446 (spi_selection_class_init): upd.
4447 (get_selection_from_servant): impl.
4448 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4450 * libspi/relation.c (spi_relation_finalize): kill.
4451 (spi_relation_class_init, spi_relation_new): upd
4453 * libspi/image.c (spi_image_finalize): kill.
4454 (spi_image_class_init): upd.
4455 (spi_image_interface_new): upd.
4456 (get_image_from_servant): impl.
4457 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4459 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4460 (spi_hyperlink_finalize): kill.
4461 (spi_hyperlink_new): upd.
4462 (get_hyperlink_from_servant): impl.
4463 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4465 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4466 (spi_hypertext_finalize): kill.
4467 (spi_hypertext_class_init): upd.
4468 (get_hypertext_from_servant): impl.
4469 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4471 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4472 (spi_editable_text_interface_new): upd.
4473 (get_editable_text_from_servant): impl.
4474 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4476 * libspi/text.c (get_text_from_servant): impl.
4477 All impls - update to use it killing more cut and paste,
4478 also fix bad string returns on duff args ( a somewhat
4479 impossible case to handle - but hey ).
4480 (spi_text_construct): impl.
4481 (spi_text_interface_new): upd.
4482 (spi_text_object_finalize): kill.
4484 * libspi/component.c
4485 (accessibility_component_object_finalize): kill.
4486 (spi_component_class_init): upd.
4487 (get_component_from_servant): impl. helper to kill cut & paste.
4488 (impl_accessibility_component_contains):
4489 (impl_accessibility_component_get_accessible_at_point):
4490 (impl_accessibility_component_get_position):
4491 (impl_accessibility_component_get_extents):
4492 (impl_accessibility_component_get_mdi_z_order):
4493 (impl_accessibility_component_get_layer):
4494 (spi_component_interface_new): upd.
4496 * libspi/action.c (spi_action_finalize): kill.
4497 (spi_action_class_init): upd. inherit from SpiObject.
4498 (spi_action_interface_new): upd.
4499 (get_action_from_servant): impl. helper to reduce cut & paste.
4500 (impl_getKeyBinding, impl_getName, impl_doAction),
4501 (impl_getDescription): Use it everywhere.
4503 * cspi/spi_main.c (get_live_refs): a pointer hash.
4504 (spi_object_hash, spi_object_equal): comment out.
4505 There are issues with CORBA object hashing that need
4508 * libspi/application.c (spi_application_init),
4509 (spi_application_new): upd.
4511 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4512 (spi_accessible_class_init): upd.
4513 s/accessible/object/ in epv methods.
4515 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4517 * at-bridge/bridge.c:
4518 Reorder the bridge initialization into the bridge gtk_module_init,
4519 an immediate call to bridge_register_app, and an idle_add for
4520 register_atk_event_listeners (the only code that *must* wait until
4521 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4522 the activation, creates the application's Accessible object, and
4523 queues the bridge_idle_init function. Restored call to
4524 Accessibility_Registry_deregisterApplication().
4525 Prior to making this call we obtain a new reference to the
4526 registry, which is a temporary hack that helps us handle apps that
4527 shut down the bonobo mainloop before we get there.
4529 * libspi/registry.c:
4530 Fix string leakage in debug block, and don't segv if a an app
4531 dies before its event notifications have been propagated.
4534 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4535 as stopgap measure until we get proper exception handling when
4536 objects die during or before interrogation.
4540 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4541 Also changed default value of is_gnome_app to TRUE.
4544 * test/keysynth-demo.c:
4545 Changed use of SPI_init and SPI_event_main to reflect API change above.
4548 Made report_focus_event check the warning value from getName
4549 before reporting on focussed accessible; simplifies handling of
4550 notifications from dead objects.
4552 * test/test-simple.c: (Changes not in this patch since source is
4555 2001-12-05 Michael Meeks <michael@ximian.com>
4557 * registryd/registryd.c (main): protect against
4558 bonobo-activation startup race condition.
4560 * cspi/spi_main.c (cspi_object_add_check): cope
4561 with the exception elegantly.
4563 * idl/Accessible.idl: decl. ChildGone
4565 * libspi/desktop.c (spi_desktop_dispose): impl.
4566 (spi_desktop_class_init): upd.
4567 (spi_desktop_add_application),
4568 (spi_desktop_remove_application),
4569 (abnormal_application_termination): impl.
4570 (impl_desktop_get_child_at_index): re-impl.
4573 (impl_accessibility_registry_deregister_application),
4574 (impl_accessibility_registry_register_application):
4575 kill excessive debug clutter.
4577 * test/test-simple.c (test_misc): test some NULL
4578 tolerance. (main): upd.
4580 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4581 implements no interfaces - so let's not crash.
4583 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4585 * libspi/accessible.c (spi_accessible_new_return): impl.
4586 helper to calm the cut and paste, to cope with
4587 NULL AtkObjects effectively and efficiently, and to kill
4588 the referencing bugs.
4590 * libspi/table.c (impl_getAccessibleAt),
4591 (impl_getRowHeader, impl_getColumnHeader): upd.
4593 * libspi/hyperlink.c (impl_getObject): upd.
4595 * libspi/accessible.c
4596 (impl_accessibility_accessible_get_child_at_index): upd.
4598 * libspi/component.c
4599 (impl_accessibility_component_get_accessible_at_point): upd.
4601 * test/test-simple.c (test_editable_text, test_text): impl.
4604 * cspi/spi_editabletext.c
4605 (AccessibleEditableText_insertText): constify.
4607 * test/test-simple.c (focus_me): make more robust.
4609 * libspi/accessible.c: remove some printfs in methods that
4610 we test and work fine, so we can get a clean tree dump.
4612 * test/test-simple.c (validate_accessible),
4613 (validate_tree): make tree dumping pretty too.
4615 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4616 it builds without debug on.
4618 * test/test-simple.c (validate_accessible): fix the most
4621 * cspi/spi_main.c (spi_object_release): leave the nicely
4622 blanked memory around if in debug mode.
4624 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4626 [committed to fixups2]
4627 2001-12-05 Michael Meeks <michael@ximian.com>
4629 * libspi/editabletext.c
4630 (spi_editable_text_class_init): g_type_class_peek_parent,
4631 not interface peek - so we finalize cleanly.
4633 * libspi/accessible.c (spi_accessible_new): kill debug.
4635 * test/test-simple.c (validate_accessible): fix ref.
4636 leak, print strings before freeing them; sigh, comment a
4637 chunk out due to strangeness.
4638 (validate_tree): unref the child after use.
4640 * cspi/spi_component.c (AccessibleComponent_getLayer):
4641 add missing break statement, switch on zlayer not the
4642 uninitialized retval.
4644 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4645 before (possibly re-entering) remote unref.
4647 * test/simple-at.c (main): unref the desktop.
4649 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4652 * cspi/spi_main.c (cspi_accessible_is_a): here to
4653 isolate bonobo API usage more.
4655 * libspi/registry.c (impl_accessibility_registry_register_application):
4656 prune bogus comment.
4658 2001-12-04 Michael Meeks <michael@ximian.com>
4660 * test/test-simple.c (validate_tree): upd.
4661 IndexInParent check to make it more lucid.
4662 (validate_accessible): dump the tree.
4664 * libspi/accessible.c (de_register_public_ref),
4665 (get_public_refs): impl.
4666 (spi_accessible_new): make more efficient & intuitive.
4667 Now IndexInParent check works.
4669 2001-12-04 Michael Meeks <michael@ximian.com>
4671 * cspi/spi-util.h: remove.
4673 * cspi/spi.h: move SPI_freeString here
4675 * libspi/component.c (impl_accessibility_component_get_layer):
4677 (impl_accessibility_component_get_mdi_z_order): ditto,
4678 return -1 on error - is this ok ?
4680 * test/test-simple.c (test_application): impl.
4682 * cspi/spi_accessible.c (Accessible_getApplication),
4683 (Accessible_isApplication): impl.
4685 * libspi/registry.c (spi_listener_struct_free): release
4686 the CORBA reference too.
4688 * libspi/accessible.c
4689 (impl_accessibility_accessible_get_parent): fix ref leak.
4691 * libspi/registry.c (spi_registry_new): make the registry
4692 immortal - we don't want it to go away ever.
4694 * libspi/application.c
4695 (spi_accessible_application_finalize): impl. cleanup.
4697 * cspi/spi_registry.c
4698 (deregisterGlobalEventListenerAll),
4699 (deregisterGlobalEventListener),
4700 (deregisterAccessibleKeystrokeListener): fix ref leak.
4702 * cspi/spi_main.c (SPI_init): remove redundant ref.
4704 * test/test-simple.c (unutterable_horror): impl. to force a
4709 (impl_accessibility_registry_deregister_application): release
4710 the application when we de-register it.
4712 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4713 until we have the infastructure to get it right.
4715 2001-12-03 Michael Meeks <michael@ximian.com>
4717 * libspi/Makefile.am: only build eventlistener.[ch]
4719 * libspi/accessible.c
4720 (impl_accessibility_accessible_get_child_at_index): don't leak.
4722 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4723 before we hit the idle handler.
4725 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4726 debugging than exit.
4728 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4730 * libspi/listener.c (impl_notify_event): check source
4731 not NIL before unref.
4733 * libspi/registry.c (impl_registry_notify_event): ditto.
4735 * libspi/eventlistener.c
4736 (impl_accessible_event_notify_event): unref the source.
4738 * libspi/accessibleeventlistener.c
4739 (impl_accessible_event_notify_event): unref the source.
4741 * idl/Event.idl: remove 'hash_id' attribute - of no
4744 * libspi/application.c (notify_listeners): upd list
4746 (spi_application_object_event_listener),
4747 (spi_application_toolkit_event_listener): upd to do correct
4751 (_registry_notify_listeners): update.
4752 (parse_event_type): this method also leaks like a sieve.
4753 (impl_accessibility_registry_deregister_global_event_listener):
4754 fix ETYPE_WINDOW case.
4756 * libspi/application.c
4757 (impl_accessibility_application_register_object_event_listener):
4760 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4762 * libspi/hypertext.c (impl_getLink): ditto.
4764 * cspi/spi_main.c (cspi_object_add): remove
4765 bogus CORBA_Object_duplicate.
4767 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4770 * cspi/spi_accessible.c
4771 (Accessible_getRelationSet): fix leak / referencing issue.
4773 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4774 (cspi_object_add, cspi_object_unref): upd.
4775 (spi_object_release, get_live_refs): impl.
4776 (cspi_cleanup): simplify.
4778 * *.[ch]: s/boolean/SpiBoolean/
4780 * cspi/spi_accessible.c (role_names): actualy order so it
4781 corresponds with the enum !
4783 * test/test-simple.c (test_roles): check some role strings
4784 vs. enums to detect offset errors.
4786 2001-12-01 Michael Meeks <michael@ximian.com>
4788 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4790 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4792 (Accessible_getChildAtIndex): use cspi_add_check so we
4793 check the ev before using a (possibly) invalid value.
4795 * libspi/accessible.c
4796 (impl_accessibility_accessible_get_parent): don't segv
4799 * at-bridge/bridge.c (gtk_module_init): upd.
4800 (bridge_property_event_listener): don't leak strings
4802 (bridge_state_event_listener),
4803 (bridge_property_event_listener): don't use a static
4804 buffer in case of recursive event emission &
4805 re-enterancy - split out the swathe of cut and paste
4807 (emit_eventv): and fix 2 ref leaks here & comply to the
4809 (bridge_register_app): rename to
4810 (bridge_idle_init): this and kill arg parsing, split
4811 various inits & bonobo-activation registration to module
4812 init time, kill referencing error.
4813 (bridge_exit_func): fix the same leak.
4814 (bridge_focus_tracker): don't leak event structures
4816 (bridge_signal_listener): more leakage and cut & paste
4818 (bridge_key_listener): return the result - FIXME is
4819 this polarity correct ?
4820 (accessibility_keystroke_from_atk_key_event): rename
4821 (accessibility_init_keystroke_from_atk_key_event): and stop
4823 (gtk_module_init): return a value - not that it is checked by
4825 (bridge_key_listener): register my horror at casting between
4826 IDL defined structs.
4827 (bridge_get_registry): kill - not used.
4829 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4831 * test/test-simple.c (test_roles): impl.
4832 (test_desktop, validate_accessible, validate_tree): impl.
4834 * cspi/spi_accessible.c (role_names): fixup bogus
4835 MAX_ROLES setup, make constants const for efficient linkage
4836 (AccessibleRole_getName): conform to coding style, make
4839 2001-11-30 Michael Meeks <michael@ximian.com>
4841 * cspi/spi.h: add missing prototype.
4843 * libspi/registry.c (spi_listener_struct_new): fix sig.
4845 * test/Makefile.am: add test-simple
4847 * test/test-simple.c: add
4849 * test/test.sh: add.
4851 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4853 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4854 do it straight - since otherwise we often get an activation race.
4856 [ work before Bill duplicated a chunk of it ... ]
4857 2001-11-30 Michael Meeks <michael@ximian.com>
4859 * libspi/keystrokelistener.c
4860 (spi_keystroke_listener_class_init): fixup arg
4863 * libspi/eventlistener.c
4864 (spi_event_listener_class_init): ditto.
4866 * tests/test.sh: add.
4868 * cspi/spi-listener-impl.h: update macros.
4870 * cspi/spi-listener-impl.c
4871 (cspi_event_listener_remove_callback): add
4872 correct pre-conditions.
4874 * cspi/spi_main.c (SPI_exit): guard vs. double
4875 exits, exit the mainloop nicely.
4876 (SPI_event_main): make more sense.
4877 (SPI_init): move the atexit evilness here so we
4878 always do it (yuck).
4879 (SPI_event_main): upd.
4881 * test/simple-at.c: update for listener changes.
4883 * registryd/registryd.c (main): prune kruft.
4885 * libspi/libspi.h: upd.
4887 * libspi/eventlistener.[ch]: rename broken macros.
4889 * libspi/accessibleeventlistener.[ch]: remove.
4891 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4893 * test/test-simple.c: Add - automated tests.
4895 * cspi/spi-listener-impl.c (cspi_event),
4896 (cspi_key_event): add user_data to invoke.
4897 (cspi_keystroke_listener_finalize): impl.
4898 (cspi_keystroke_listener_class_init): upd.
4901 (createAccessibleEventListener),
4902 (AccessibleEventListener_addCallback),
4903 (createAccessibleKeystrokeListener),
4904 (AccessibleKeystrokeListener_addCallback): upd.
4906 * libspi/deviceeventcontroller.c
4907 (spi_device_event_controller_check_key_event): add public proto.
4910 (impl_accessibility_registry_deregister_global_event_listener):
4911 always init listeners.
4912 (_registry_notify_listeners): yes it is.
4914 * cspi/spi-listener-impl.c (cspi_key_event):
4916 (cspi_event_listener_finalize): impl.
4917 (cspi_event_listener_class_init): hook up.
4918 (event_handler_new, event_handler_free),
4919 (event_list_remove_by_callback): impl.
4920 (cspi_event_listener_remove_callback),
4921 (cspi_keystroke_listener_remove_callback),
4922 (cspi_keystroke_listener_add_callback),
4923 (cspi_event_listener_add_callback): upd.
4925 * libspi/keystrokelistener.c
4926 (keystroke_listener_object_finalize): kill
4927 (spi_keystroke_listener_class_init): upd.
4928 (spi_keystroke_listener_add_callback),
4929 (spi_keystroke_listener_remove_callback): kill,
4931 (impl_key_event): prune drasticaly.
4933 * libspi/eventlistener.c
4934 (spi_event_listener_add_callback),
4935 (spi_event_listener_remove_callback): kill, use
4937 (impl_accessible_event_notify_event): upd.
4938 (spi_event_listener_object_finalize): remove.
4940 * libspi/Makefile.am: use eventlistener.[ch]
4942 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4944 * libspi/registry.c (_registry_notify_listeners):
4945 Changed listener loop iteration to use preferred convention.
4946 Got rid of string memory leaks caused be calling g_strconcat
4947 inside function calls.
4949 * libspi/registry.c (parse_event_type):
4950 Stopped g_strconcat memory leaks, free the g_strsplit return,
4951 g_strdup the split pieces when used, etc.
4953 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4956 Change method 'compare' to return a 'difference set' rather than
4957 taking a StateSet as an out parameter (more Java-friendly).
4959 * idl/Accessible.idl:
4960 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4962 * idl/Component.idl:
4964 Changed methods 'getExtents' and 'getImageExtents' in these
4965 interfaces to return a BoundingBox structure.
4966 (getPosition and getSize are redundant and possibly should be
4967 removed, rather than creating a corresponding Point struct.)
4969 * cspi/spi_component.c:
4970 Modify implementation of getExtents to reflect the above IDL
4975 Add (missing) AccessibleImage_getExtents () API.
4977 * docs/reference/cspi/at-spi-cspi-sections.txt:
4978 Added AccessibleImage_getImageExtents () to docs.
4980 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4982 * idl/Component.idl:
4983 Added two methods, getLayer () and getMDIZOrder (), to reflect
4984 the new ATK methods atk_object_get_layer and
4985 atk_object_get_mdi_z_order. (Which arguably should be part of the
4986 AtkComponent API and AtkObject). Also added an enum,
4987 ComponentLayer, for the first method's return value.
4989 * libspi/component.c:
4990 Added implementations for these methods.
4992 * cspi/spi_component.c:
4994 Added cspi binding methods for above,
4995 AccessibleComponent_getLayer() and
4996 AccessibleComponent_getMDIZOrder().
4997 Added cspi enum 'AccessibleComponentLayer'.
4999 * docs/reference/cspi/at-spi-cspi-sections.txt:
5000 Added above methods to docs.
5004 Changed typedef for 'boolean' type (and all references to it) to
5005 SPIBoolean, to avoid keyword clashes with C++.
5008 Changed usages of 'boolean' to SPIBoolean.
5010 * test/keysynth-demo.c:
5011 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5012 app), except where SPIBoolean is required by the callbacks API.
5014 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5016 * cspi/spi_registry.c:
5017 Removed obsolete X event loop for passive keygrabs (which now
5020 * registryd/registryd.c:
5021 Removed unnecessary call to gdk_init() [cruft]. This also allows
5022 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5025 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5027 * docs/reference/cspi:
5028 Included docs for SPI_freeString in generated documentation.
5031 Renamed spi_freeString to SPI_freeString, for consistency. Added
5032 documentation for this function.
5035 Renamed spi_freeString to SPI_freeString, for consistency.
5036 Removed obsolete method declaration string_from_corba_string.
5038 * test/keysynth-demo.c:
5039 Small tweak to comments.
5042 Stopped leaking the strings returned from CSPI.
5044 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5046 Merged Michael's branch (see his ChangeLog entries below).
5048 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5049 bridge is alive, release on exit.
5051 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5052 Fix type check macro.
5055 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5058 Added is_gnome_app static, and method cspi_is_gnome_app(),
5059 so we can call the appropriate shutdown routine at exit in SPI_exit.
5061 * cspi/spi_main.c (cspi_object_ref):
5062 Duplicate the corba object passed in, since we're keeping it around.
5064 * cspi/SPI_exit.c, cspi_cleanup:
5065 Moved the releasing of the live refs to its own function, so we
5066 can put it in g_atexit (). Call the appropriate shutdown API
5067 depending on whethe calling client is a gnome app or not
5068 (bonobo_main_quit or CORBA_ORB_shutdown).
5070 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5071 Unref the listener when this method is called, after
5072 deregistration. Updated the API docs to note this behavior.
5074 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5075 Bugfixes: Ref the bonobo object when returning a parent or child
5076 reference, or an AccessibleRelation. Generally made sure
5077 BonoboObject refcount is incremented whenever we return an
5080 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5081 Fixed typo/bug in signal declaration.
5083 * libspi/accessibleeventlistener.h:
5086 * libspi/application.c (spi_application_new):
5087 Fixed leak in initialization.
5090 Remembered to increment bonobo-object refcount when returning
5091 children (applications) from desktop object.
5092 Added (empty) finalize method.
5094 * libspi/deviceeventcontroller.c:
5095 Hold a ref to listeners inside DEControllerKeyListeners.
5096 Added dec_key_listener_free() method. Use prepend instead of
5097 append in key_listener list. Fixed some refcount madness and
5098 leaks in the listener registration/deregistration - deregistration
5099 now calls dec_key_listener_free() on listeners, and on the
5100 temporarily constructed dec_key_listener() used to perform the search/match.
5102 * libspi/hypertext.c (spi_hypertest_finalize):
5103 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5104 class. Also fixed spi_hypertext_interface_new() and
5105 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5107 * libspi/hypertext.h:
5108 Removed pointless and duplicate AtkObject pointer from
5111 * libspi/keystrokelistener.c:
5112 Fixed incorrect type of keystroke_listener_parent_class,
5113 renamed keystroke_listener_object_finalize to
5114 spi_keystroke_listener_object_finalize.
5115 Fixed typo in signal declaration
5116 (spi_keystroke_listener_class_init).
5118 * libspi/registry.c:
5119 Added funcsions spi_listener_struct_new() and
5120 spi_listener_struct_free() to help with memory management issues.
5121 We also now use these methods instead of gnew + poking stuff into
5122 the struct, and to decrement listener counts/free the listeners
5123 when deregistering them.
5124 Fix more refcount bugs in getDesktop() and
5125 getDeviceEventController().
5128 De-ref the desktop after enumerating the applications. Explicitly
5129 decrement the refcounts on the created listeners on exit (using
5130 _unref for keystroke listeners, and via the
5131 deregisterGlobalEventListenerAll command for other event
5134 2001-11-27 Michael Meeks <michael@ximian.com>
5136 * cspi/spi-listener.h: fixup enum.
5138 2001-11-27 Michael Meeks <michael@ximian.com>
5140 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5141 (cspi_keystroke_listener_new): Use the cspi variants.
5143 2001-11-26 Michael Meeks <michael@ximian.com>
5145 * test/keysynth-demo.c: fix 2 compile warnings, missing
5148 * test/simple-at.c (report_focussed_accessible),
5149 (report_focus_event, report_button_press),
5150 (check_property_change, is_command_key),
5151 (report_ordinary_key_event, report_command_key_event): upd.
5153 * util/mag_client.h: include pre-requisites.
5155 * libspi/accessibleeventlistener.c
5156 (spi_event_listener_object_finalize): free any lingering
5159 * libspi/keystrokelistener.c
5160 (keystroke_listener_object_finalize): ditto.
5162 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5163 callbacks, with cspi types.
5165 * cspi/spi_event.c (createAccessibleEventListener): chain to
5166 (AccessibleEventListener_addCallback): here.
5167 (createAccessibleKeystrokeListener): chain to
5168 (AccessibleKeystrokeListener_addCallback): here.
5170 * libspi/keystrokelistener.c
5171 (spi_keystroke_listener_class_init): add signal.
5172 (impl_key_event): emit the event.
5173 (boolean_handled_accumulator): impl.
5174 (marshal_BOOLEAN__POINTER): add, gack.
5176 * libspi/accessibleeventlistener.c
5177 (spi_event_listener_class_init): add signal.
5178 (impl_accessible_event_notify_event): emit the signal &
5179 make the loop efficient.
5180 (spi_event_listener_add_callback): prepend the callback.
5182 * libspi/accessibleeventlistener.h: add an 'event' signal,
5183 decl type on callback.
5185 * libspi/keystrokelistener.h: ditto.
5187 * cspi/spi-listener.h: make methods typesafe and
5188 make them use the new event typedefs.
5190 * test/simple-at.c (report_focussed_accessible):
5191 include mag_client.h
5192 Use *(void *)text_interface not the other thing.
5194 * configure.in: add gtk to registryd bits - since we use
5197 * util/magnifier.c: include libbonobo.h
5199 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5201 * test/keysynth-demo.c:
5202 Turned this into a simple scanning keyboard, to demonstrate the
5203 use of g_timeout_add () as a means of creating timers for
5204 scanning, and the use of GtkStyle for visually indicating when
5205 virtual keyboard elements are selected.
5207 keysynth-demo now listens to any keyboard keys with zero-valued
5208 keycodes (i.e. 'unused' keys) and interprets them as
5211 Reworked the shiftlatch code so that shift-down state isn't held
5212 for long periods (it's only synthesized immediately prior to
5213 the keysynth event it's modifying). Note that shiftlatch in this
5214 demo is a convenience, not intended to take the place of AccessX
5215 which is the better choice for getting 'sticky' modifier keys.
5217 * libspi/deviceeventcontroller.c:
5218 * at-bridge/bridge.c:
5219 * cspi/spi_registry.c:
5220 Removed some debug print stuff, and put other verbosity in #ifdef
5225 Implemented some more of the magnifier IDL for the simple
5226 magnifier: namely, getZoomRegionParams.
5227 Added mag_x and mag_y members to MagnifierData struct, aid of this
5229 Added GtkWindow::realize signal handler to magnifier, to keep it
5230 from receiving keyboard focus from the WM.
5232 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5234 * cspi/spi-private.h: my guess at what michael forgot
5235 before he ran off to NZ :-)
5237 2001-11-23 Michael Meeks <michael@ximian.com>
5239 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5240 comment out non existant method invoke so we link.
5242 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5243 use bonobo_exception_get_text for more friendly warnings.
5245 * cspi/spi.c (Obj_Add): move into spi_main & rename
5246 spi_object_add; kill spi.c
5248 * cspi/spi_registry.c
5249 (deregisterGlobalEventListener),
5250 (deregisterGlobalEventListenerAll),
5251 (registerGlobalEventListener): fix exception leaks.
5253 * cspi/spi_main.c (spi_exception): impl. helper, so we
5254 don't leak exceptions.
5256 * cspi/spi_selection.c
5257 (AccessibleSelection_deselectSelectedChild): return the
5260 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5261 (spi_registry): ditto.
5262 (SPI_init): guard against double inits.
5264 * cspi/*.c: use spi_ev (), and spi_registry () where
5265 appropriate - a temporary hack until we have something
5266 better. Use spi_object_add
5268 2001-11-22 Michael Meeks <michael@ximian.com>
5270 * cspi/Makefile.am: re organise, install the headers.
5272 * cspi/*.h: add G_BEGIN/END_DECLS
5274 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5277 Added non-preemptive keylistener for key events with no modifiers
5278 and shift-only modifier.
5280 * libspi/keystrokelistener.c:
5281 Removed some verbose diagnostics printout.
5283 * cspi/spi_registry.c:
5284 Fixed a bug that caused all key listeners to be registered as
5287 * libspi/deviceeventcontroller.c:
5288 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5289 for non-preemptive key masks.
5292 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5294 * docs/reference/idl/at-spi-idl-docs.sgml:
5295 * docs/reference/idl/at-spi-idl-sections.txt:
5296 * docs/reference/idl/at-spi-idl-overrides.txt:
5297 Added missing files.
5299 * docs/reference/Makefile.am:
5300 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5301 to scan the IDL files :-(
5306 Added .cvsignore files.
5308 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5310 * libspi/deviceeventcontroller.c:
5311 * libspi/keystrokelistener.c:
5313 * cspi/spi_registry.c:
5314 Added filters for KeySets, KeyEventSeq, and event types to key
5315 event dispatching, so listeners should only receive those events
5316 that they requested :-)
5318 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5323 * docs/reference:Makefile.am:
5324 * docs/reference/cspi:
5325 * docs/reference/cspi:Makefile.am:
5326 * docs/reference/cspi:tmpl:
5327 * docs/reference/cspi:tmpl:*.sgml:
5328 * docs/reference/idl:
5329 * docs/reference/idl:Makefile.am:
5330 * docs/reference/idl:at-spi-idl-sections.txt:
5331 * docs/reference/idl:at-spi-idl-docs.sgml:
5332 * docs/reference/idl:tmpl:
5333 * docs/reference/idl:tmpl:*.sgml:
5335 Restructured docs directory to allow separate 'reference' docs
5336 section, and forked idl and cspi docs. Added the sgml template
5337 files to CVS. Added the first sections/structural sgml for the
5340 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5342 * configure.in, libspi/Makefile.am: find libXtst.
5344 2001-11-21 Michael Meeks <michael@ximian.com>
5346 * test/accessx-gui.c: s/spi_value/value/ - doh.
5348 * libspi/base.[ch]: add.
5350 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5352 * idl/Accessible.idl:
5353 * idl/Application.idl:
5356 Started gtk-doc cleanup on IDL.
5358 * libspi/deviceeventcontroller.c:
5359 Added and connected non-preemptive key notification from the
5360 toolkits (in addition to the pre-emptive support from XServer
5361 which we had before, but which causes 'focus flashing'). Filters
5362 are presently limited to key modifiers and global/non-global,
5363 KeySets are presently ignored, as are KeyEvent masks.
5365 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5366 structs into the persistant structure rather than just storing
5367 pointers to things that might not persist across servant
5370 The XGrabKey call now does async keygrabs, because synchronous
5371 ones were deadlocking with GDK_event code in a very nasty way.
5373 Added boolean to internal method notify_keylisteners, to indicate
5374 whether the event came from the 'toolkit source' or the 'global
5375 (XServer) source' - this is used in the notification process to
5376 determine which listeners to send the event to.
5378 deviceeventcontroller.c is now warning-free.
5380 * libspi/registry.c:
5381 Fixed regression in application de-registration.
5382 Also fixed some really brain-dead weirdness having to do with
5383 event dispatching - event structs are now duplicated before being
5384 re-marshalled in the dispatch to listeners. This also fixes a
5385 Solaris build problem.
5388 2001-11-20 Michael Meeks <michael@ximian.com>
5391 (impl_accessibility_registry_deregister_global_event_listener):
5394 * libspi/deviceeventcontroller.c
5395 (spi_device_event_controller_check_key_event): return
5396 FALSE on no virtual method.
5398 * libspi/*..h: make includes work on a correctly pathed install.
5400 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5402 * libspi/application.h: kill unused ( and whacked out )
5403 gboolean *spi_application_set_id (AtkObject *app, long id);
5405 2001-11-20 Michael Meeks <michael@ximian.com>
5407 * libspi/*.[ch]: further convert to bonobo's type func
5408 macros, remove redundnant casts etc.
5410 * libspi/text.c s/accessibility_text/spi_text/g,
5411 re-order to de-cruft.
5413 * libspi/hypertext.c: re-order to kill a huge slew
5414 of redundant forward decls.
5416 * libspi/relation.c: ditto.
5418 * libspi/image.c: ditto.
5420 * */.cvsignore: update
5422 2001-11-20 Michael Meeks <michael@ximian.com>
5424 * libspi/deviceeventcontroller.c
5425 (_controller_register_with_devices): use g_getenv,
5426 kill stdlib.h include.
5428 * libspi/keystrokelistener.c
5429 (spi_keystroke_listener_get_type): kill
5430 (spi_keystroke_listener_class_init),
5431 (spi_keystroke_listener_init): rename to this.
5433 * libspi/text.c (impl_getAttributes): fix warning / bug.
5435 * libspi/*.[ch]: more headers, includes and over commenting.
5437 2001-11-20 Michael Meeks <michael@ximian.com>
5439 * libspi/*.[ch]: fixup headers, includes and over commenting.
5441 * libspi/image.c (impl__get_imageDescription): const
5442 correctness warning fix. remove redundant casting.
5444 * libspi/table.c (impl_getRowDescription): ditto.
5445 (impl_getColumnDescription): ditto.
5447 * libspi/libspi.h: add.
5449 2001-11-19 Michael Meeks <michael@ximian.com>
5451 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5453 * libspi/component.c (accessibility_component_get_type):
5454 rename to (spi_component_get_type): and macroify.
5455 (accessibility_component_init): rename to
5456 (spi_component_init): this
5457 (accessibility_component_class_init): rename to
5458 (spi_component_class_init): this
5460 * libspi/action.c (spi_action_get_type): kill, use the macro.
5462 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5465 * libspi/application.c (spi_application_object_event_listener),
5466 (impl_accessibility_application_register_object_event_listener):
5467 warning fixes / const understanding updates.
5469 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5472 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5474 * libspi/spi_accessible.c: Added docs and C bindings for
5475 AccessibleStateSet. (No implementations yet). Documentation
5476 coverage for C bindings now 100%. Made docs for event listeners
5481 boolean notifyListenersSync (in DeviceEventListener listener,
5482 in DeviceEvent event);
5484 oneway void notifyListenersAsync (in DeviceEventListener listener,
5485 in DeviceEvent event);
5487 Added DeviceEventListener and DeviceEvent structs (may deprecate
5488 KeyStroke and KeystrokeListener in favor of this generic
5489 event/listener framework for devices).
5491 * libspi/deviceeventcontroller.c:
5493 Changed some key listener code to take masks, etc., and paved the
5494 way for integration of toolkit/non-preemptive key events. Changed
5495 signatures of some internal methods.
5497 * at-bridge/bridge.c:
5498 Fixed regression connecting to interface signals, apparently
5499 caused by GTK+ changes.
5501 Added an internal bridge_state_listener to deal with
5502 property-change:accessible-state signals.
5504 Changed the key_listeners GList to store structs (including masks,
5505 etc.) instead of just CORBA_Objects (required for full
5506 implementation of key listener API).
5508 Connected the bridge to all currently supported Atk signals.
5509 Events now supported:
5510 object:property-change
5511 object:property-change:accessible-name
5512 object:property-change:accessible-state
5513 object:property-change:accessible-description
5514 object:property-change:accessible-parent
5515 object:property-change:accessible-value
5516 object:property-change:accessible-role
5517 object:property-change:accessible-table-caption
5518 object:property-change:accessible-table-column-description
5519 object:property-change:accessible-table-column-header
5520 object:property-change:accessible-table-row-description
5521 object:property-change:accessible-table-row-header
5522 object:property-change:accessible-table-summary
5523 object:children-changed
5524 object:visible-data-changed
5525 object:selection-changed
5526 object:text-selection-changed
5528 object:text-caret-moved
5530 object:row-reordered
5532 object:column-inserted
5533 object:column-reordered
5534 object:column-deleted
5535 object:model-changed
5537 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5539 * libspi/hyperlink.c,h:
5540 Fixed some broken stuff in hyperlink.
5542 * libspi/relation.h:
5543 * libspi/relation.c:
5544 * cspi/spi_accessible.c:
5545 Initial implementations of AccessibleRelation methods, and docs.
5547 * libspi/accessible.c:
5548 Fixed a bug that caused SEGV if an accessible
5549 object's description is NULL, and a client
5550 requests it. An empty string is now returned.
5552 * cspi/spi_editabletext.c:
5553 * cspi/spi_hypertext.c:
5555 * cspi/spi_hyperlink.c:
5559 Doc coverage now 95%.
5561 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5563 One last namespacing revision:
5564 * libspi/accessibleeventlistener.[ch]:
5565 Renamed SpiAccessibleEventListener to SpiEventListener,
5566 (no need for two namespaces ;-)
5568 And lots of documentation fixes:
5570 * docs/at-spi-docs.sgml:
5571 Fixed 'underscore vs. hyphen' bug that was preventing
5572 the gtk-doc API docs from being automatically generated.
5575 * cspi/spi-listener.h
5577 * cspi/spi_accessible.c
5579 * cspi/spi_application.c
5580 * cspi/spi_component.c
5581 * cspi/spi_editabletext.c
5583 * cspi/spi_hypertext.c
5585 * cspi/spi_registry.c
5586 * cspi/spi_selection.c
5590 * docs/at-spi-docs.sgml
5591 * docs/at-spi-sections.txt
5593 Added and fixed up gtk-doc documentation in cspi.
5595 Interfaces now (fully) documented (subject to revision and enhancement):
5597 Event Listener Support
5599 AccessibleApplication
5603 AccessibleEditableText
5610 AccessibleRelationSet
5615 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5617 * at-bridge/bridge.c:
5618 Initial work for toolkit-level key snooper connection by bridge.
5623 New typedefs and fixes to support new namespacing, and cleaner
5624 separation of cspi bindings from libspi bonobo implementation.
5625 Removed inconsistent and extraneous Spi* namespace prefix that
5626 had crept into cspi headers.
5627 Lots of comment fixes that sed had missed.
5629 * cspi/spi-roletypes.h:
5630 * cspi/spi-statetypes.h:
5631 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5632 to AccessibleRoleType.
5634 * libspi/accessibleeventlistener.h:
5635 Fixed minor namespacing weirdness.
5637 * libspi/deviceeventcontroller.c:
5638 Reordered some internal API for device listeners.
5639 Changed the key registry final boolean to 'is_system_global'
5640 rather than 'is_synchronous', which is more descriptive of its
5642 Added spi_device_event_controller_new().
5643 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5645 * libspi/keystrokelistener.[ch]:
5646 Namespaced KeystrokeListener to SpiKeystrokeListener.
5647 Changed uses of keymasks to use SPI_ prefix, and did other
5650 * libspi/keymasks.h:
5651 Namespaced keymask constants with SPI_ prefix.
5653 * libspi/registry.c:
5654 Some warning fixes, and knock-on fixes from namespace changes.
5657 Added rules for accessx-gui test program.
5659 * test/accessx-gui.c:
5660 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5661 utility. It doesn't actually use at-spi, but it's still cool and
5664 * test/keysynth-demo.c:
5668 Fixes so that these test clients work properly with the namespaced
5669 libraries. (Incompletely tested for technical reasons, fixes may follow)
5672 2001-11-13 Michael Meeks <michael@ximian.com>
5674 * libspi/application.c
5675 (impl_accessibility_application_get_version),
5676 (impl_accessibility_application_get_toolkit_name):
5678 (impl_accessibility_application_set_id),
5679 (impl_accessibility_application_get_id): remove
5680 redundant casting code.
5682 * libspi/action.c (impl_getDescription): fix warnings.
5684 * libspi/accessible.c
5685 (impl_accessibility_accessible_get_parent),
5686 (impl_accessibility_accessible_get_child_at_index),
5687 (impl_accessibility_accessible_get_state),
5688 (impl_accessibility_accessible_get_relation_set):
5689 warning fixes & include action.h
5691 2001-11-13 Michael Meeks <michael@ximian.com>
5693 * *.[ch] fix bits I screwed up:
5695 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5696 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5698 2001-11-13 Michael Meeks <michael@ximian.com>
5700 * *.[ch] Namespace libspi into spi_ and Spi.
5702 2001-13-11 Michael Meeks <michael@ximian.com>
5704 * Makefile.am: dist & install at-spi-1.0.pc
5706 * libspi/Makefile.am: install into at-spi-1.0
5708 * idl/Makefile.am (idldir): install into at-spi-1.0
5710 * at-spi-1.0.pc.in: add.
5712 * configure.in: build it.
5714 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5716 * test/keysynth-demo.c:
5717 Use a 'realize' signal-handler to set the WM properties for
5718 the virtual keyboard, rather than making it a "POPUP" type
5719 override-redirect window (thanks to anders carlsson for that
5722 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5725 * test/keysynth-demo.c:
5726 Added new test of key synthesis, which creates a simple
5727 (mouse-operated) onscreen keyboard. It inserts key events into
5728 the currently-focused window, thus it does not grab keyboard focus
5731 * cspi/spi_registry.c:
5732 Added C binding for AT-SPI generateKeyEvent.
5734 * libspi/deviceeventcontroller.c:
5735 Added call to XFilterEvent so that key listener works with XIM (we
5736 hope). Added event_synth_type to generateKeyEvent, so that we can
5737 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5738 synthesize a press/release pair for KeySyms.
5740 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5742 * libspi/Makefile.am:
5743 * registryd/Makefile.am:
5744 (temporary) hack to include libXtst in libspi and registryd.
5745 (Needed for keystroke synthesis, see below).
5748 Improved API for registerKeystrokeListener, in accordance with
5749 discussions with Gnopernicus team and X server research.
5751 * libspi/registry.c:
5752 * libspi/deviceeventcontroller.c:
5753 * libspi/accessible.c:
5754 * libspi/keystrokelistener.c:
5755 Changes and fixes to support keylisteners for potentially
5756 consumed key events (that is, 'passive grabs').
5757 Added implementation for generateKeyEvent() [untested].
5760 Changes to registerKeystrokeListener() API, as above.
5761 Added deregisterGlobalEventListenerAll(), and
5762 deregisterKeystrokeListener(), which are needed for clean exit of
5764 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5765 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5767 * cspi/spi_registry.c:
5768 Added implementations of function prototypes mentioned above.
5770 * registryd/registryd.c:
5771 Added the key listener event source as a g_timeout(), to allow
5772 receipt of key events that are not caught by GDK (since GDK
5773 doesn't support passive keygrabs, this was necessary).
5776 Changed to attach a keylistener to 'Alt' keys, and
5777 respond to the following keycommands: Alt-M (toggle magnifier);
5778 Alt-F (toggle speech); Alt-Q (quit).
5779 Added an exit routine to deregister the listeners, and a key
5780 listener that prints some key info to the console when a key
5781 matches the listener mask (and is thus received by the listener).
5783 * util/idl/Magnifier.idl:
5784 Changes to magnifier API to support multiple zoom regions,
5785 non-uniform scaling in x and y, markDirty, and a host of other
5786 features that would be useful to magnification.
5789 * util/mag_client.c:
5790 * util/mag_client.h:
5791 * util/mag_control.c:
5793 Source code changes to support the above IDL changes.
5796 As above, and also changes to use a (slower) generic conversion
5797 path for colormap conversions, since the fast RGB conversions have been
5798 reported to fail for 16-bit displays.
5800 2001-10-26 Michael Meeks <michael@ximian.com>
5802 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5804 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5806 * at-bridge/Makefile.am: fix LDFLAGS.
5808 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5810 * at-bridge/bridge.c:
5811 Re-worked listeners for toolkit events, now we have signal
5812 and property listeners. Added a private method
5813 register_atk_event_listeners(), which registers with the
5814 various atk and gtk signals we need to monitor in order to emit
5816 Added emission hook for AtkObject:property-change events, to
5817 support the 'property listeners'.
5818 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5821 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5822 which emit warnings and exit, respectively, if CORBA errors occur
5823 during remote calls, and we now use these methods to check most of
5824 our CORBA calls in the C bindings.
5826 * cspi/spi_accessible.c:
5827 Changed AccessibleSelection_refSelectedChild() to
5828 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5829 now increment refcounts.
5831 * cspi/spi_component.c:
5832 Fixed some long pointer casts (dangerous!) to pass pointers to
5833 CORBA_longs of the proper type to the CORBA stubs, and copy the
5834 data into the longs that were passed into the C bindings code.
5836 * at-bridge/bridge.c:
5838 * libspi/accessible.c:
5839 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5840 hyperlinks, AtkHyperlink is an object type.
5842 * libspi/application.c:
5843 Added various conversions to and from "generic" event types and
5844 atk-specific types; this is really part of the 'bridge'
5845 implementation but is valid for all AtkObject-based accessibility
5848 * libspi/editabletext.c:
5849 Fixed nasty bug wherein editable text's finalize method was
5850 unref'ing tha AtkObject reference that the text parent class was
5851 about to unref _again_. There was also a nasty inheritance bug
5852 that meant that the AccessibleEditableText class was corrupt.
5854 * libspi/selection.c:
5855 Provided implementations for some selection API that was broken.
5857 * idl/Application.idl:
5858 Added registerObjectEventListener () method.
5861 Fixed a number of return values that were Bonobo_Unknowns from
5862 bonobo_object_corba_objref(), which I
5863 forgot to dup before returning. Changed instances of
5864 bonobo_object_corba_objref (bonobo_object(o)) to
5865 BONOBO_OBJREF(o), for concision and clarity.
5867 2001-10-13 Louise Miller <louise.miller@sun.com>
5869 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5870 idl/Event.idl, idl/Registry.idl
5871 Changed these files to include Bonobo_Unknown.idl instead
5874 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5876 * libspi/component.c libspi/component.h:
5877 Fixed typo. Added assertions for object checks in
5878 AccessibleComponent code.
5880 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5882 * idl/Accessible.idl:
5883 Added 'isEqual (Accessible *object)'
5884 method for Accessible. (Not Yet Implemented).
5887 Changed signature of registerKeystrokeListener() to
5888 take a KeySet and KeyEventSeq so that specific keys and event
5889 types could be requested for monitoring, and added a flag
5890 is_synchronous so that either synchronous or asynchronous
5891 notification could be requested. (However this is not all
5892 implemented yet). This also meant adding two new typedefs,
5893 KeyEventSeq and KeySet.
5896 Added two new relations, RELATION_TOOLTIP_FOR and
5897 RELATION_LEAFNODE_OF.
5900 Added new state, STATE_HAS_TOOLTIP.
5902 * libspi/text.c, editabletext.c:
5903 Added new assertions to all casts of bonobo-objects from
5904 CORBA servants, to prevent Text API calls on non-text objects.
5905 Changed suspect casts of int-pointer types, so that we
5906 always send a valid CORBA_long pointer to the CORBA APIs that use
5907 in/out long parameters. We then have to copy from the CORBA_long
5908 into the regular long or int for return to the C bindings, or
5909 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5912 * libspi/deviceeventcontroller.c:
5913 Cleaned these sources up.
5915 Changed return type for getCharacterAtOffset to
5916 CORBA_unsigned_long, to allow for 32-bit characters.
5919 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5923 Fixed 'make dist' so that distro compiles...
5924 * libspi/keymasks.h:
5926 * cspi/spi-listener.c:
5927 KeystrokeListenerCB now returns a boolean.
5929 Added KeyEventType struct, and KeyStroke.
5930 Also added createKeystrokeListener(),
5931 KeystrokeListener_addCallback(),
5932 KeystrokeListener_removeCallback(), and added a keymask to
5933 registerKeystrokeListener().
5934 * cspi/spi_accessible.c:
5935 Changed numerous return types for interfaces from
5936 AccessibleComponent to Accessible<InterfaceName>; this was
5937 probably a cut-and-paste error.
5939 Implementations of new KeystrokeListener api (from spi.h,
5942 Changes to key modifier mapping.
5943 Created ControllerEventMask struct.
5944 Made DeviceEventController derive from Bonobo::Unknown.
5946 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5947 * libspi/deviceeventcontroller.c:
5948 Added a number of new internal (private) methods.
5949 * libspi/editabletext.c:
5950 * libspi/editabletext.h:
5951 Fixed a number of bugs related to the fact that
5952 editabletext inherits from text. Fixed the EditableText struct,
5953 the init() call, and use correct casts when calling Text methods
5954 from an EditableText object. Removed (duplicate) atko from the
5955 EditableText structure, we use the one in the parent Text
5956 structure via the casts mentioned above.
5957 * libspi/keystrokelistener.[ch]:
5958 * libspi/registry.c:
5959 Changes in support of keyboard handling (above).
5961 Keyboard handling, though partly functional, is still not
5962 recommended for at-spi client use as there is considerable
5963 work yet to be done.
5966 Changed some places where pointers to various int types
5967 are cast to be pointers to CORBA_long types and vice-versa:
5968 pointer casting is not safe so we pass pointers of the correct
5969 types and then cast the result before putting it into the target
5972 * libspi/text.h: minor typos corrected.
5974 We now speak not only the name of a Text element, but the
5975 first sentence of its content, when it receives focus.
5976 I also changed the text compression to 75% from 50%.
5977 * util/Accessibility_Util.server.in:
5978 Changed the default magnifier type to be a 3x vertical
5979 splitscreen magnifier (was previously a 2x horizontal one).
5981 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5983 * libspi/keystrokelistener.h:
5984 * libspi/keystrokelistener.c:
5985 Initial functional implementations of KeystrokeListener.
5988 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5990 Fixed string handling for NULL strings in libspi.
5991 Added spi_freeString to free strings returned by C bindings.
5993 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5995 * libspi/keystrokelistener.h:
5996 * libspi/keystrokelistener.c:
5997 Began (no-op) implementations of KeystrokeListener
5999 * libspi/deviceeventcontroller.c:
6000 * libspi/deviceeventcontroller.h:
6001 Began creating implementations of DeviceEventController,
6002 to handle keystroke and mouse event listening and
6004 * libspi/accessible.c:
6005 Stubbed-in the implementations for
6006 Accessibility_Accessible_getState and
6007 Accessibility_Accessible_getRelationSet.
6008 * libspi/registry.c:
6009 Improved de-registration process and fixed some bugs,
6010 deregistration now works correctly.
6012 Added initialization of applications list (to NULL).
6014 Reduced speech compression from 0.5 to 0.7, for demo.
6015 Changed call to gdk_window_set_decorations()
6016 to gtk_window_set_decorated().
6017 * at-bridge/bridge.c:
6018 Bridge now deregisters when app exits, via
6019 registration of a cleanup function
6020 with the g_atexit() call.
6021 Required making 'app' static, renamed 'this_app'.
6022 Fixed broken use of bonobo_init, passing argv wrongly.
6024 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6028 Created a new directory for
6029 accessibility-related utilities, primarily for
6030 testing and demo purposes, but with possible
6037 Onscreen magnifier utility that
6038 is implemented as a bonobo service.
6040 * util/mag_client.c:
6041 * util/mag_client.h:
6042 Client-side support (simple C bindings)
6043 for Magnification service
6045 * util/mag_control.c:
6046 Client program example for
6047 Magnification service
6049 * util/Accessibility_Magnifier.server.in:
6050 Bonobo-activation file for the
6051 Magnification service.
6054 * util/idl/Magnifier.idl:
6055 IDL defining the bonobo Magnification
6059 Modifications to use the bonobo-activated magnifier
6060 above, in place of trying to connect to an existing
6061 magnifier that uses socket-listening IPC.
6063 If env variable MAGNIFIER is set, a magnifier service
6064 will be started if one does not exist.
6066 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6068 * at-bridge/bridge.c:
6069 applied patch from Marc to build and run
6070 against new glib and gtk+ (seemed like a change
6071 to bonobo_init signature was made ?)
6073 made festival-server support turned off by default.
6074 Added support for a simple magnifier (off by default)
6075 which will be added to a 'util' directory later.
6076 * at-bridge/Makefile.am:
6077 Changed "application.h" header from a 'source'
6078 to a 'dependency' of libat-bridge.
6080 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6089 Added interface implementation c files to list of
6090 includes so they are included in libcspi.
6093 Changed prototype of AccessibleAction_doAction to return a
6095 Changed prototype of AccessibleTable_getCaption to
6096 return an Accessible.
6097 Changed prototype of AccessibleTable_getSelectedRows
6098 and AccessibleTable_getSelectedColumns to
6099 return a long (returns the number of selected rows
6100 or columns respectively).
6101 Changed name of AccessibleText_refRunAttributes to
6102 AccessibleText_getAttributes.
6103 Changed prototype of AccessibleText_getCharacterExtents to
6104 return a void rather than a boolean.
6105 Added support for a AccessibleCoordType parameter
6106 specifying what type of coordinates are desired.
6107 Added an AccessibleCordType parameter to
6108 AccessibleText_getPointAtOffset.
6110 * cspi/spi_accessible.c:
6111 Added code to return the outstanding interfaces from
6112 Accessible_queryInterface.
6114 * cspi/spi_action.c:
6116 Corrected call to getNActions to call the c binding
6119 * cspi/spi_editabletext.c:
6121 Changed name from setRunAttributes to setAttributes.
6123 * cspi/spi_hyperlink.c:
6125 Changed call to getNAnchors to correctly call the c
6126 binding for an attribute.
6128 * cspi/spi_hypertext.c:
6130 Changed getImageDescription to correctly call the
6131 binding for an attribute.
6133 * cspi/spi_selection.c:
6134 Changed getNSelectedChildren to correctly call the c
6135 binding for the attribute.
6136 Changed refSelectedChild to getSelectedChild.
6140 Changed getCaption to return an Accessible.
6141 Fixed calls which retrieve attributes.
6142 Changed refAt to getAccessibleAt.
6143 Changed getNSelectedRows and getNSelectedColumns to
6147 Changed getCharacterExtents and getPointAtOffset to accept an
6148 AccessibleCoordType.
6150 Changed calls which retrieve attributes.
6151 Changed refRunAttributes to getAttributes.
6156 * idl/Hyperlink.idl:
6157 Changed n_anchors attribute to nAnchors to keep naming
6158 convention consistent.
6161 Made Table inherit from Bonobo::Unknown.
6162 Added nSelectedColumns and nSelectedRows attributes.
6165 Made Value inherit from Bonobo::Unknown.
6167 * libspi/hyperlink.c:
6168 Change for nAnchors attributte name change.
6170 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6178 Added interface implementation c files to list of
6179 includes so they are included in libcspi.
6182 Changed prototype of AccessibleAction_doAction to return a
6184 Changed prototype of AccessibleTable_getCaption to
6185 return an Accessible.
6186 Changed prototype of AccessibleTable_getSelectedRows
6187 and AccessibleTable_getSelectedColumns to
6188 return a long (returns the number of selected rows
6189 or columns respectively).
6190 Changed name of AccessibleText_refRunAttributes to
6191 AccessibleText_getAttributes.
6192 Changed prototype of AccessibleText_getCharacterExtents to
6193 return a void rather than a boolean.
6194 Added support for a AccessibleCoordType parameter
6195 specifying what type of coordinates are desired.
6196 Added an AccessibleCordType parameter to
6197 AccessibleText_getPointAtOffset.
6199 * cspi/spi_accessible.c:
6200 Added code to return the outstanding interfaces from
6201 Accessible_queryInterface.
6203 * cspi/spi_action.c:
6205 Corrected call to getNActions to call the c binding
6208 * cspi/spi_editabletext.c:
6210 Changed name from setRunAttributes to setAttributes.
6212 * cspi/spi_hyperlink.c:
6214 Changed call to getNAnchors to correctly call the c
6215 binding for an attribute.
6217 * cspi/spi_hypertext.c:
6219 Changed getImageDescription to correctly call the
6220 binding for an attribute.
6222 * cspi/spi_selection.c:
6223 Changed getNSelectedChildren to correctly call the c
6224 binding for the attribute.
6225 Changed refSelectedChild to getSelectedChild.
6229 Changed getCaption to return an Accessible.
6230 Fixed calls which retrieve attributes.
6231 Changed refAt to getAccessibleAt.
6232 Changed getNSelectedRows and getNSelectedColumns to
6236 Changed getCharacterExtents and getPointAtOffset to accept an
6237 AccessibleCoordType.
6239 Changed calls which retrieve attributes.
6240 Changed refRunAttributes to getAttributes.
6245 * idl/Hyperlink.idl:
6246 Changed n_anchors attribute to nAnchors to keep naming
6247 convention consistent.
6250 Made Table inherit from Bonobo::Unknown.
6251 Added nSelectedColumns and nSelectedRows attributes.
6254 Made Value inherit from Bonobo::Unknown.
6256 * libspi/hyperlink.c:
6257 Change for nAnchors attributte name change.
6260 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6262 implementations-- made server implementations own AtkObject pointers
6263 rather than their respective AtkInterrface pointers to fix
6264 refcounting. AtkHyperlink is still broken.
6266 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6267 * cspi/spi_accessible.c:
6268 Added method Accessible_Role_getName(),
6269 and requisite string array (role_names).
6270 Added conversion string_from_corba_strin() call
6271 to Accessible_getName and _getDescription.
6272 * libspi/accessible.c:
6273 Added implementation for Accessible_getRole()
6275 Added festival support, used if environment variable
6278 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6280 * at-bridge/bridge.c:
6281 Now allocate Accessibility_Event using
6282 Accessibility_Event__alloc() instead of g_new0().
6283 * libspi/accessibleeventlistener.c:
6284 Initialize AccessibleEventListener->callbacks to NULL.
6285 Fixed accessible__event_listener_init() param, changed to
6286 "AccessibleEventListener *" type.
6287 Changed a bonobo_object_release_unref() call to
6288 Accessibility_Accessible_unref().
6289 * libspi/listener.c:
6290 Changed Bonobo_Unknown_unref to (equivalent)
6291 Accessibility_Accessible_unref.
6292 * libspi/registry.c:
6293 Changed bonobo_object_release_unref to
6294 Accessibility_Accessible_unref.
6296 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6299 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6300 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6301 spi-util.c spi-util.h
6302 Implementations for C bindings to remaining accessibility
6305 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6308 changed return value of Action from void to boolean to
6309 bring in line with ATK.
6312 Changed getText funcions to return "out" start and end offsets.
6313 Changed getAttributes to take and offset and return the start
6314 and end offset of the attribute run.
6315 Changed getOffsetAtPoint and getCharacterExtents to take an
6316 enum describing whether coordinates are window or screen.
6319 libspi/action.c libspi/action.h libspi/editabletext.c
6320 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6321 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6322 libspi/image.h libspi/selection.c libspi/selection.h
6323 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6324 libspi/value.c libspi/value.h
6325 Added server implementations for outstanding ATK interfaces
6326 not yet implemented.
6328 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6331 Added (missing) getName() method.
6332 Made nActions an attribute.
6333 * idl/EditableText.idl:
6334 Changed order of params in setAttributes.
6335 * idl/Hyperlink.idl:
6336 Removed getAnchor, added getURI.
6338 Changed attributes to methods, for efficiency
6339 (so that getting extents can be done in one call)
6340 * idl/Selection.idl:
6341 Changed nSelectedChildren to attribute, and re-indented.
6342 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6344 * idl/Text.idl: reformatted to match our coding style.
6345 (temporarily?) removed getRowColumnAtOffset().
6346 Changed text selection API to support multi-select and
6347 non-contiguous selections, as in ATK.
6348 * idl/Value.idl: changed some methods to attributes.
6350 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6352 * libspi/listener.c(impl_notify_event):
6353 BonoboUnkown_unref the source instead
6354 of bonobo_object_release_unref - the ORB
6355 handles the releasing.
6357 * configure.in: require ORBit-2.3.94 for
6360 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6362 Tagged CVS repository 'EA_1_0'.
6363 * README.EARLY_ACCESS:
6364 Alphabetized acknowledgements list, and
6366 Listed some known dependencies of at-spi.
6368 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6370 * docs/at-spi-docs.sgml:
6371 * docs/at-spi-sections.txt:
6372 * docs/at-spi-overrides.txt: (Added zero-length file)
6373 Documentation improvements - gtk-doc should build
6374 docs for all implemented C bindings now.
6377 * cspi/spi.c: (New file)
6378 * cspi/spi_event.c: (New file)
6379 * cspi/spi_registry.c: (New file)
6380 * cspi/spi_accessible.c: (New file)
6381 * cspi/spi_application.c: (New file)
6382 * cspi/spi_component.c: (New file)
6383 Split spi_main.c into six parts, and included them from
6384 "spi.c". This is a bit of a hack, probably temporary,
6385 but required by gtk-doc, apparently.
6387 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6390 * docs/at-spi-docs.sgml:
6391 * docs/at-spi-sections.txt:
6393 Initial checkins/modifications for gtk-doc generation.
6396 Added (missing) interface query methods to Accessible's C binding.
6398 Added GenericInterface type definition.
6400 Added query for AccessibleComponent interface to focus event handler.
6401 Added printout of bounding box for focussed component.
6402 * libspi/component.c:
6403 Added partial implementation for AccessibleComponent to C binding.
6404 * idl/Application.idl:
6405 * libspi/registry.c:
6406 * libspi/listener.c:
6407 * libspi/application.c:
6408 * libspi/application.h:
6409 Changed "ID" attribute type from string to long.
6411 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6415 Made method naming consistent: methods taking object args
6416 start with uppercase, other methods (except those using
6417 acronyms) start with lowercase. Underscores delimit between
6418 object names and method names:
6419 SPI_init() - uppercase since it starts with an acronym.
6420 getDesktopCount () - lowercase start since no object param0.
6421 Accessible_getName() - uppercase object type name, studlyCaps method
6425 Added gtk-doc documentation for all currently implemented
6426 methods in the C bindings API.
6428 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6430 * Makefile.am : changed build order to build test last.
6433 Changed "createEventListener" to "CreateEventListener".
6434 * libspi/accessibleeventlistener.c :
6435 Bugfix for addition of callbacks.
6436 * test/Makefile.am :
6437 * test/simple-at.c :
6438 Added new test that uses the C bindings API.
6440 * libspi/listener.c :
6441 * libspi/registry.c :
6442 * libspi/accessibleeventlistener.c :
6443 * at-bridge/bridge.c :
6444 Renamed member "target" of Accessibility_Event to "source",
6445 which is more descriptive.
6448 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6452 * cspi/Makefile.am :
6453 Added makefile support for at-spi/cspi directory.
6456 * cspi/spi-listener.h : (NEW FILE)
6457 Added support for/use of spi-listener.h.
6459 C bindings now build successfully, with no warnings.
6460 * libspi/accessibleeventlistener.h : (NEW FILE)
6461 * libspi/accessibleeventlistener.c : (NEW FILE)
6462 * libspi/Makefile.am :
6463 Added new object type "AccessibleEventListener"
6464 which inherits from Listener, and allows attachment
6465 of in-process callbacks (so that a client with a listening
6466 object instance can add functionality to the local
6467 implementation, dynamically).
6469 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6471 * libspi/accessible.c:
6472 Add implementation for get_index_in_parent().
6474 Added #include of "spi-roletypes.h", and
6475 added enumerated type AccessibleCoordType.
6476 Added definition for KeystrokeListener (function type).
6479 * cspi/spi-statetypes.h :
6480 * cspi/spi-roletypes.h :
6482 Added these headers, used by spi.h.
6484 Added code (NOTE: not yet built by make).
6486 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6488 * libspi/Makefile.am: generate imodule
6489 at the same time as other idl compiler
6492 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6493 * libspi/registry.c :
6494 * libspi/application.c :
6495 * idl/Application.idl :
6496 Made registration with toolkit an application method,
6497 which is required since each app has its own toolkit static
6498 environment. Thus the bridge must register for
6499 notification of toolkit events from each application in turn.
6500 Toolkit notifications are now successfully registered for, and
6501 sent to the listening at client.
6503 Changed toolkit event string to use hyphens rather than underscores.
6504 * libspi/listener.c :
6505 listner now gives more info in debug mode - it reports the
6506 name of the event received, as well as the name of the source.
6509 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6511 * libspi/registry.c :
6512 added more implementation for toolkit events.
6513 Fixed bug such that toolkit event registrations
6514 (via atk) use the whole event name string, not
6516 Removed a useless call to an ORBit_ method.
6517 * at-bridge/bridge.c :
6518 Removed unused local sbuf[] variable.
6520 We now register for Gtk:GtkWidget:button_press_event
6521 events as well as "focus:" events.
6523 Add some more API from Registry.idl that was missing,
6524 for keystroke listening, keystroke and mouse event
6525 synthesis, and enumeration of accessible desktops.
6527 2001-08-16 Michael Meeks <michael@ximian.com>
6529 * configure.in: use AM_GLIB_GNU_GETTEXT.
6531 * Makefile.am (SUBDIRS): kill intl.
6533 2001-08-15 Michael Meeks <michael@ximian.com>
6535 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6537 * configure.in: upd.
6539 * configure.in: depend on a recent bonobo-activation that
6540 will find our server files ...
6542 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6544 * libspi/accessible.c : accessible_new() :
6545 Now we add the Component interface via bonobo_object_add_interface,
6546 if the contained AtkObject implements AtkComponent.
6547 * libspi/accessible.h : now include "component.h"
6548 * libspi/component.h :
6549 * libspi/component.c : added files - implementation of
6550 bonobo wrapper object for Accessibility/Component
6551 * libspi/listener.c :
6552 Added test code to check for Accessibility/Component:1.0
6553 interface and report whether it is implemented by the
6555 * libspi/registry.c :
6556 Now we check for not only the hash of the whole event
6557 string before relaying the event, we also check the
6558 "minor" event string (without the detail string).
6559 This allows event listeners to be registered against
6560 all events of a certain major+minor type, or just
6561 against a specific major+minor+detail type.
6562 * libspi/accessible.c :
6563 Added implementations for Accessible:get_parent(),
6564 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6565 * libspi/registry.c :
6566 * libspi/listener.c :
6567 Replaced calls to Accessibility_Accessible_ref() and
6568 Accessibility_Accessible_unref() with
6569 calls to bonobo_object_dup_ref() and
6570 bonobo_object_release_unref(), so that the CORBA object
6571 is dup-ed and released when relayed, as well as the bonobo object.
6573 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6575 * libspi/Makefile.am,
6576 registryd/Makefile.am,
6577 at-bridge/Makefile.am.
6578 test/Makefile.am, configure.in:
6579 reverse previous changes.
6581 * /idl/Image.idl: fix typo.
6583 * test/Makefile.am: put DEBUG_FLAGS
6586 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6588 * test/app.c: use argv[0] instead of
6591 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6593 * libspi/Makefile.am,
6594 registryd/Makefile.am,
6595 at-bridge/Makefile.am.
6596 test/Makefile.am, configure.in:
6597 cleanup, replace individual LIBS/CFLAGS with
6598 AT_COMMON_{LIBS|CFLAGS}.
6602 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6604 * configure.in, libspi/Makefile.am:
6605 Change IDL path checking for bonobo-activation
6608 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6610 * registryd/registry.c : separated event listeners to use
6611 3 separate lists (focus, window, toolkit). Began testing
6612 event names against hashes before relaying events.
6613 * test/at.c : now register for events of type "focus:"
6614 * test/app.c : now generate events of type "focus:"
6615 * at-bridge/bridge.c : register with ATK for focus events,
6616 and we now relay those focus events to any "focus:" listeners.
6617 This now works with the bridge as a GTK_MODULE when running test/at.
6618 * libspi/registry.c :
6619 * libspi/listener.c :
6620 now we ref event sources before propagating, and unref on receipt.
6621 * libspi/registry.c :
6622 some changes to internal structs, to support event typestring hashes.
6623 * text/app.c : changed the way the appname is generated.
6624 * cspi : added directory that will hold the C bindings library for
6625 non-CORBA/bonobo-savvy clients.
6626 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6627 * idl/Component.idl : added in parameter to indicate coord system for
6628 geometry-related calls.
6629 * idl/Hyperlink.idl : added readonly n_links attribute
6630 * idl/Image.idl : changed methods to attributes.
6632 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6634 * at-bridge/Makefile.am: link against
6635 ../libspi/libspi.la instead of -lspi.
6637 * at-spi/test/app.c: include
6638 bonobo-activation.h. Use a default appname
6639 if one is not provided.
6641 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6643 * idl/Registry.idl : temporarily changed register_Application
6644 to oneway, to work around issue with initial registration
6646 * idl/Application.idl : changed attribute "id" from readonly
6647 to read-write, since it needs to be assigned by Registry.
6648 * registryd/registryd.c : added call to set application id
6650 * registryd/registry.c : changed de-registration procedure to
6651 use CORBA_Object_hash() to find matching object ref in application
6652 lists and listener lists.
6653 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6654 began distinguishing between event types (work in progress).
6656 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6659 * libspi/application.c:
6660 Added implementations for get/set id, get_toolkitName,
6662 * registryd/registryd.c :
6666 Converted from use of OAF to bonobo-activation.
6667 * libspi/desktop.h :
6668 * libspi/desktop.c :
6670 Removed references to atksimpleobject, since base atkobject
6671 implementation now provides functionality we need.
6672 * libspi/atksimpleobject.c :
6673 * libspi/atksimpleobject.h :
6678 * at-bridge/Makefile.am
6679 * at-bridge/bridge.c
6682 Added directory "bridge" and contents, and added dependencies
6683 in Makefile.am/configure.in.
6684 Initial checkin of "at-bridge".
6685 This code is a GTK_MODULE which automatically registers
6686 GTK+ apps with the accessibility registry, using an object
6687 reference to the root ATK object.
6689 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6691 * po/Makefile.in.in: Remove. Again. If this
6692 doesn't get autogenerated - you need to update
6695 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6697 * po/Makefile.in.in: Add. Again.
6699 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6701 * libspi/accessible.c : added support for 'description' property.
6702 * libspi/accessible.c
6704 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6705 (since the two are now equivalent in libbonobo)
6713 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6714 Bonobo::Unknown as does Accessibility::Accessible.
6715 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6716 interface with Bonobo::Stream, since it was redundant with it.
6717 (The Stream returned by a StreamableContext object is expected to
6718 implement only a subset of Bonobo::Stream)
6720 2001-07-28 Anders Carlsson <andersca@gnome.org>
6722 * libspi/accessible.c (accessible_object_finalize): Change
6723 g_free to g_object_unref since the AtkObject is a GObject.
6725 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6727 * idl/Accessibility.idl: add new IDL files
6730 * idl/Action.idl: Definitions of actionable UI object
6731 * idl/Component.idl: Definitions of UI component geometry, etc.
6732 * idl/Hyperlink.idl: Defs of hyperlink behavior
6733 * idl/Image.idl: Def of accessible image
6734 * idl/Selection.idl: Definition of UI object with selectable children
6735 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6736 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6737 * idl/Text.idl: Interface defs for UI elements with complex textual content
6738 * idl/Value.idl: Definition of UI element that is a value controller or display
6740 2001-07-27 Michael Meeks <michael@ximian.com>
6742 * po/Makefile.in.in: remove autogenerated file from CVS.
6744 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6747 * idl/Registry.idl: include guard.
6749 * idl/Accessibility.idl: Add, and include all the other IDL
6752 * idl/*.idl: remove mass of pragmas etc.
6754 2001-07-26 Michael Meeks <michael@ximian.com>
6756 * registryd/Makefile.am (registryd_SOURCES): remove
6759 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6761 * libspi/.cvsignore, registryd/.cvsignore,
6762 test/.cvsignore: updated.
6764 * po/Makefile.in.in: gettext update.
6766 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6768 * initial CVS checkin
6770 2001-06-29 Michael Meeks <michael@ximian.com>
6772 * configure.in: add AM_CONFIG_HEADER to gen config.h