1 2004-03-01 Bill Haneman <billh@gnome.org>
4 (SPI_exit): Removed "bye-bye" exit message.
5 Moved "leak" report to happen before the
6 iteration over the leaked refs list.
7 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
9 2004-02-24 Bill Haneman <billh@gnome.org>
11 * configure.in: Revved to 1.3.13.
13 * docs/reference/cspi/Makefile.am:
14 Correct typo that was breaking the docs build.
16 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
18 * autogen.sh: Require version 1.7 of automake.
20 * configure.in: call GTK_DOC_CHECK([1.0])
22 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
24 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
26 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
28 * test/Makefile.am: Remove use of CFLAGS.
30 This fixes bug #132987.
32 2004-02-11 Bill Haneman <billh@gnome.org>
34 * reverted most of Tomasz' patch below, since it was breaking
35 builds (see bug #134058).
37 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
39 * docs/reference/cspi/at-spi-cspi.types: added empty file for
40 correct pass "make dist" (empty .. because seems no sach types in
41 header files with gtk-doc markups).
42 * docs/reference/cspi/Makefile.am, configure.in:
43 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
44 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
46 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
47 for force correct pass generate documentation on "make distcheck".
48 * libspi/Makefile.am: fixes for automake >= 1.6.
49 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
50 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
53 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
55 * docs/reference/cspi/Makefile.am (install-data-local): Install
56 index.sgml since the doc autobuilder on widget.gnome.org looks for
59 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
61 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
64 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
66 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
68 2004-01-27 Brian Cameron <brian.cameron@sun.com>
70 * test/simple-at.c: Fixed null string problems that cause core
71 dumping problems on Solaris.
73 2004-01-12 Bill Haneman <billh@gnome.org>
75 * configure.in: Incremented version to 1.3.11.
77 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
79 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
80 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
83 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
85 * configure.in: Added "fa" to ALL_LINGUAS.
87 2003-12-20 Arafat Medini <lumina@silverpen.de>
89 * configure.in: Added "ar" to ALL_LINGUAS
91 2003-12-16 Bill Haneman <billh@gnome.org>
93 * registryd/registry-main.c:
95 Set the reg_env DISPLAY variable before registering the
96 activated registry service. Fixes bug #129479.
98 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
100 * configure.in: Added "id" in ALL_LINGUAS
101 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
103 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
105 * registryd/deviceeventcontroller.c (global_filter_fn):
106 When an event is consumed discard any XEvents were added to
107 the queue while dealing with the the event. This can happen if
108 processing of the event takes a long time. Call XUngrabKeyboard
109 if an event was discarded. This fixes bug $124837.
110 Only call wait_for_release_event for a KeyPress.
111 Use local variable display instead of spi_get_display().
112 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
115 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
117 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
118 Allow for mask to contain values other than NumLock mask.
121 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
123 * registryd/devieceventcontroller.c:
124 (wait_for_release_event): Change first parameter from GdkEvent to
126 (global_filter_fn); Correct call to wait_for_release_event.
130 2003-12-08 Bill Haneman <billh@gnome.org>
134 * registryd/ucs2keysym.c: New file.
136 * registryd/deviceeventcontroller.c:
137 (dec_keysym_for_unichar): Remove old partial implementation and
138 replace with call to ucs2keysym(), which is much more complete.
139 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
144 2003-12-05 Bill Haneman <billh@gnome.org>
146 * configure.in: Version 1.3.9.
148 * docs/reference/cspi/tmpl/spi_registry.sgml:
149 Added reference to libspi/keymasks.h to the
150 description of Registry queries: AccessibleKeyMaskType.
153 2003-12-04 Bill Haneman <billh@gnome.org>
157 * idl/Accessibility_Application.idl:
158 (Accessibility::LOCALE_TYPE): New enum, corresponds to
159 setlocale's LC_TYPEs.
160 (Accessibility::Application::getLocale): New method.
161 Allows clients to query the locale, by type, of an app.
164 * cspi/spi_application.c:
165 (AccessibleApplication_getLocale): New method, wraps IDL above.
167 * libspi/application.c:
168 (spi_application_class_init): Init epv entry for getLocale.
169 (impl_accessibility_application_get_locale): Impl for above.
171 * test/test-simple.c:
172 (test_application): Added assertion for getLocale, i.e.
173 that the string from AccessibleApplication_getLocale (app, type)
174 is the same as that from setlocale (type, NULL);
176 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
178 *registryd/deviceeventcontroller.c: Add an idle handler which polls
179 the keyboard on a timeout intil the key state goes from pressed to
180 released. Fixes bug #111429.
182 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
184 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
185 root object so that it is present when a context menu in an
186 out-of-process applet is popped up.
187 (spi_atk_bridge_do_registration): Create acceessible application root
188 object only if it does not exist.
190 This fixes bug #125834.
192 2003-12-01 Bill Haneman <billh@gnome.org>
194 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
197 Added enum for AccessibleStreamableContentSeekType.
198 (AccessibleStreamableContent_freeContentTypeList): New.
200 * cspi/spi_streamablecontent.c:
201 (accessible_bonobo_stream_client_seek): New private method.
202 (AccessibleStreamableContent_seek): Implemented this method,
203 using Bonobo_Stream_seek.
204 (AccessibleStreamableContent_freeContentTypeList): New method
205 for freeing the return value from
206 AccessibleStreamableContent_getContentTypes.
207 (stream_cache_item_free): Replaces stream_release; stop leaks.
208 (stream_release): removed.
209 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
210 free the memory properly.
212 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
216 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
218 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
220 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
222 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
224 2003-12-01 Bill Haneman <billh@gnome.org>
226 Fix for bug/rfe #127463.
228 * idl/Accessibility_Accessible.idl:
229 (getLocalizedRoleName): New.
230 (unimplemented4): Removed (replaced by above).
232 * libspi/accessible.c:
233 (impl_accessibility_accessible_get_local_role_name): New.
234 (spi_accessible_class_init): Add getLocalizedRoleName entry to
238 (Accessible_getLocalizedRoleName): New.
240 * cspi/spi_accessible.c:
241 (Accessible_getLocalizedRoleName): New.
243 2003-12-01 Bill Haneman <billh@gnome.org>
246 * idl/Accessibility_Text.idl:
247 (getDefaultAttributes): New.
248 (unimplemented4): Removed (replaced by above method).
251 (impl_getDefaultAttributes): New method.
252 (spi_text_class_init):
253 initialize the get_default_attributes slot in the epv.
256 (AccessibleText_getDefaultAttributes): New prototype.
259 (AccessibleText_getDefaultAttributes): New method.
261 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
263 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
264 write beyond the end of the table. Fixes bug #120473.
266 2003-09-30 Christian Rose <menthos@menthos.com>
268 * configure.in: Added "eu" to ALL_LINGUAS.
270 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
272 * configure.in: ALL_LINGUAS: Added no.
274 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
276 * configure.in: Added lt to ALL_LINGUAS.
278 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
280 * atk-bridge/bridge.c:
281 (atk_bridge_init): Register event listeners always even for
282 out-of-process applet.
283 (spi_atk_bridge_toplevel_added): Remove call to
284 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
285 (spi_atk_bridge_toplevelk_removed): Remove call to
286 spi_atk_deregister_event_listenersa as the listeners are now always
288 (spi_atk_bridge_register_application): Remove call to
289 spi_atk_register_event_listeners as it is not done in atk_bridge_init
291 This fixes bug #120991.
293 * libspi/table.c (impl_getColumnDescription): Correct typo,
294 pointed out by Bolian.Yin@sun.com.
296 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
298 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
300 2003-09-08 Bill Haneman <billh@gnome.org>
302 * configure.in: Revved to 1.3.7.
304 This is the GNOME 2.4.0 release of at-spi.
306 * docs/reference/cspi/Makefile.am:
307 Removed spurious inclusion of 'index.sgml' in the
308 html directory; this was breaking make distcheck and
309 also some other build environments.
311 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
313 * registryd/registry.[ch}:
314 Add queue_handler_id and focus_object to SpiRegistry data structure.
315 (registry_flush_event_queue): If event being discarded is
316 "state-change:focused" store object as focus_object.
317 (registry_start_queue): Remove queue handler and focus object
319 (registry_discard_event): New function which discards a focus event
320 if we had stored focus object in the registry.
321 (registry_queue_event): Add new check that is_queueing is set as this
322 function is reentrant.
323 (registry_filer_event): Add call to registry_discard_event.
325 This resolves issues raised in bug #108664.
327 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
329 * configure.in: Added "bn" to ALL_LINGUAS.
331 2003-09-04 Bill Haneman <billh@gnome.org>
333 * cspi/spi_event.c: Documentation improvements for
334 (SPI_registerAccessibleKeylistener).
336 * docs/reference/tmpl/spi_registry.sgml:
337 Documentation improvements for SpiAccessibleKeylistenerCB.
339 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
341 * configure.in: Added "ro" to ALL_LINGUAS.
344 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
346 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
347 not decremented to zero. Fixes bug #120725.
349 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
351 * configure.in: Added "ja" to ALL_LINGUAS.
353 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
355 * configure.in: Added "is" to ALL_LINGUAS.
357 2003-08-22 Christian Rose <menthos@menthos.com>
359 * configure.in: Added "nl" to ALL_LINGUAS.
361 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
363 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
364 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
366 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
368 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
369 type for unspecified exception.
370 * cspi_streamablecontect): Add include of string.h for memcpy.
371 (stream_release): Correct call to bonobo_object_release_unref
372 (stream_cache_item_free): Correct call to bonobo_object_release_unref
373 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
374 argument of _cspi_expection_throw.
375 * libspi/hyperlink.c: Add include of libspi/action.h:
376 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
377 * libspi/streamablecontent.c: add include of libspi/component.h.
378 * regisrtyd/deviceeventcontroller.c:
379 (spi_dec_translate_mask): Removed unused variable priv.
380 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
381 * registryd/registry.c:
382 (registry_filter_event): Remove unused variable queue_is-empty.
383 (impl_registry_notify_event): Use correct modifier in fprintf call.
385 This fixes compiler warnings reported in bug #120220.
387 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
389 * registryd/registryd.c: Remove this file.
391 2003-08-17 Sanlig Badral <badral@openmn.org>
393 * configure.in: Added mn to ALL_LINGUAS.
395 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
397 * configure.in: Added et to ALL_LINGUAS.
399 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
401 * test/event-listener-test.c: Change active-descendant to
402 active-descendant-changed.
404 2003-08-10 Sami Pesonen <sampeson@iki.fi>
406 * configure.in: Added "fi" in ALL_LINGUAS.
408 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
410 * configure.in: Added "hi" in ALL_LINGUAS.
412 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
414 * configure.in: Revved to 1.3.6.
418 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
420 * registryd/deviceeventcontroller.c
421 (spi_device_event_controller_object_finalize): Fix typo in previous
424 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
426 * registryd/deviceeventcontroller.c
427 (spi_device_event_controller_object_finalize): Fix build on
428 systems without XEvIE.
430 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
432 * acconfig.h, configure.in, registryd/Makefile.am,
433 registryd/devicecontoller.[ch]: Add XEViE support.
435 2003-08-06 Wang Jian <lark@linux.net.cn>
437 * configure.in: Added "zh_CN" to ALL_LINGUAS.
439 2003-08-06 Metin Amiroff<metin@karegen.com>
441 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
443 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
445 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
446 MODIFIER_ALT in correct place.
448 This fixes part of bug #118114.
450 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
452 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
454 2003-07-28 Changwoo Ryu <cwryu@debian.org>
456 * configure.in: Added "ko" to ALL_LINGUAS.
458 2003-07-28 Ole Laursen <olau@hardworking.dk>
460 * configure.in: Added "da" to the commented out ALL_LINGUAS.
462 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
464 * configure.in: Added "sq" to ALL_LINGUAS.
466 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
468 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
470 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
472 * configure.in: updated ALL_LINGUAS list
474 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
476 * configure.in: Added Belarusian to ALL_LINGUAS.
478 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
480 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
482 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
483 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
485 This fixes bug #116949.
487 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
489 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
490 Correct CSPI to SPI in function documentation.
492 This fixes bug #118054.
494 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
496 * configure.in: Added Russian to ALL_LINGUAS.
498 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
500 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
502 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
504 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
506 2003-07-10 Joel Brich <joel.brich@laposte.net>
508 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
510 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
512 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
514 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
516 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
517 resources allocated for AccessibleEvent. See cspi_event().
519 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
520 static variable streams to NULL.
522 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
523 Update so that AcessibleEvent_ref will work.
525 This fixes bug #116624.
527 2003-07-06 Jordi Mallach <jordi@sindominio.net>
529 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
531 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
533 * configure.in: Added "fr" (French) to ALL_LINGUAS.
535 2003-07-02 Christian Neumair <chris@gnome-de.org>
537 * configure.in: Added "de" (German) to ALL_LINGUAS.
539 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
541 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
543 2003-07-01 Miloslav Trmac <mitr@volny.cz>
545 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
547 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
549 * configure.in: Added "pl" to ALL_LINGUAS.
551 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
553 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
555 2003-06-30 Bill Haneman <bill.haneman@sun.com>
558 (get_action_from_servant):
559 Removed assertion that action is implemented on an AtkObject.
561 * libspi/hyperlink.c:
563 Aggregate AccessibleAction interface on the hyperlink object if
564 the object implements AtkAction. (This convention is used in
567 2003-06-30 Bill Haneman <bill.haneman@sun.com>
569 * configure.in: Revved to 1.3.5.
571 * registryd/Accessibility_Registry.server.in.in:
572 Marked up appropriate strings for translation.
574 * atk-bridge/bridge.c: Marked a couple of
575 user-visible warnings for translation. Questionable
576 whether they are really useful, but possibly so.
579 2003-06-28 Christian Rose <menthos@menthos.com>
581 * configure.in: Added "sv" to ALL_LINGUAS.
583 2003-06-26 Bill Haneman <bill.haneman@sun.com>
585 * registryd/registry.c:
586 (spi_registry_object_finalize): Unref the deviceeventcontroller.
587 (registry_defer_on_event): Defer focus: events, this is an
588 improvement to the patch for bug #108664.
590 * TODO: Update with 2.4/"Dev Complete" items.
592 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
594 * atk-bridge/bridge.c:
595 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
596 looks up signals once.
597 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
598 if doing registration.
599 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
600 when doing registration.
602 This fixes bug #115014.
604 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
606 * atk-bridge/bridge.c:
607 (atk_bridge_init): Add signal handler for children-changed:remove on
608 root when in a BonoboComponent.
609 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
610 for first toplevel only other incrememt variable toplevels.
611 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
612 application and remove listeners.
613 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
615 (spi_atk_deregister_event_listeners): New function which removes
617 (reinit_register_vars): New fuction which reinitializes variables.
619 This fixes bug #111578.
621 2003-06-13 Bill Haneman <bill.haneman@sun.com>
623 * configure.in: version 1.3.4.
625 * cspi/spi_accessible.c:
626 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
629 2003-06-13 Michael Meeks <michael@ximian.com>
631 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
633 * cspi/spi_main.c (cspi_peek_ev): impl.
635 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
637 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
639 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
641 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
642 SPI_ROLE_AUTOCOMPLETE
644 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
646 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
647 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
649 2003-06-11 Bill Haneman <bill.haneman@sun.com>
651 * libspi/streamablecontent.h:
652 * libspi/streamablecontent.c:
653 New files, provide implementation/wrappers for
654 Accessibility_StreamableContent.
656 * cspi/spi_streamablecontent.c:
657 Connected the C wrappers to the libspi C bindings.
658 (AccessibleStreamableContent_close): New method.
661 (AccessibleStreamableContent_close): New method, needed
662 since we have an "open, [seek], read, close" model in cspi.
664 2003-06-11 Bill Haneman <bill.haneman@sun.com>
666 Fix for #108664; Padraig's revision of my original patch.
668 * registryd/registry.h:
669 Added event queue list, is_queuing, and exit_notify_timeout
670 to the registry struct.
672 * registryd/registry.c:
673 (registry_init): Initialize new struct from registry.h.
674 (impl_registry_notify_event):
675 Filter events before notifying, in case some need to be
677 (registry_filter_event): New,
678 we defer certain incoming events (for instance
679 window:deactivate) because we may wish to hide
680 or reject them based on pending events. This is
681 mostly a workaround for bug #108664.
682 (registry_queue_event, registry_start_queue): New.
683 (registry_defer_on_event): Test event to see if it
685 (registry_reset_on_event): Returns TRUE if the
686 event should cause a queue reset.
687 (registry_discard_on_event): Returns TRUE if the event
688 should cause the previous queue contents to be discarded.
689 (registry_timeout_flush_queue): Flushes the pending event
690 queue if no reset/discard-triggering events have come in
691 within the timeout period.
692 (registry_emit_event): New.
693 (registry_clone_notify_context): New, used when queueing the
694 event notify contexts.
696 2003-06-10 Bill Haneman <bill.haneman@sun.com>
698 * configure.in: Version revved to 1.3.2, lt 0.9.2
699 Incremented ATK required version to 1.3.4.
701 * cspi/spi_registry.c:
702 (SPI_generateKeyEvent):
703 We now pass the keystring along if it's non-null.
705 * registryd/deviceeventcontroller.c:
706 (keysym_mod_mask): New method, returns modifier mask
707 required to generate a keysym from a given keycode.
708 (dec_synth_keysym): New method.
709 (dec_synth_keystring): New method.
710 (dec_get_modifier_state): New method.
711 (dec_lock_modifiers): New
712 (dec_unlock_modifiers): New.
713 (dec_keysym_for_unichar): New, rather brute-force
714 conversion from UCS-4 to X KeySyms. Only works for
715 Latin at the moment, with partial implementations for
716 Greek, Hebrew, and (incomplete) Katakana.
717 (impl_generate_keyboard_event): Now implement
718 "KEYSTRING" synthesis and implement "KEYSYM"
720 (keycode_from_keysym): Improved, passes a returned
721 modmask value now if the corresponding param is non-NULL.
723 Fixes bugs #92143 and #109776.
726 * test/keysynth-test.c:
727 New test program for key synthesis, to confirm fixes for
731 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
733 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
735 * cspi/spi_accessible.c (cspi_init_relation_type_table):
736 Add line for RELATION_POPUP_FOR
738 * docs/reference/cspi/tmpl/spi_relation.sgml:
739 Add relation SPI_RELATION_POPUP_FOR
741 * docs/reference/cspi/tmpl/spi_stateset.sgml:
742 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
744 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
746 * libspi/relation.c (spi_init_relation_type_table):
747 Add line for RELATION_POPUP_FOR
749 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
751 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
752 there are still windows which have not been deleted and emit
753 window:deactivate, if necessary and window:destroy events.
754 This fixes bug #114370. The change on June 5th was not correct.
756 2003-06-09 Bill Haneman <bill.haneman@sun.com>
758 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
761 (SPI_dupString): Allow dup-ing of a string such that it's safe to
763 New methods for client exception handling and interception.
764 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
765 (SPI_exceptionHandlerPop): You guessed it...
766 (SPI_getSourceType): Return the type of object which offended.
767 (SPI_getExceptionCode): Return an enum code telling, possibly,
768 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
769 (SPIAccessibleException_getSource): get the source object for
770 exceptions that come from Accessibles, if SPIExceptionSourceType is
771 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
772 (SPIException_getDescription): New, returns a string description of
773 the problem. [Not yet a stable ABI, strings are not frozen]
775 * cspi/spi-private.h:
776 Added implementation details of opaque SPIException
780 Implementations of above. Also
781 (_cspi_exception_throw): new private method that
782 dispatches exceptions to handlers, called from cspi-bonobo.c
784 * cspi/bonobo/cspi-bonobo.c:
785 (cspi_check_ev): call _cspi_exception_throw.
786 Don't print a warning message if the exception has been
787 handled by _cspi_exception_throw.
789 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
791 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
792 there are still windows which have not been deleted and emit
793 window:deactivate, if necessary and window:destroy events.
794 This fixes bug #114370.
796 2003-06-03 Bill Haneman <bill.haneman@sun.com>
799 (cspi_accessible_is_a): Make non-fatal
800 if the object reference is dead.
802 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
804 * cspi/spi_main.c: #include <stdio.h>
805 * test/simple-at.c: ditto
806 * test/event-listener-test.c: ditto
807 * test/screen-review-test.c: ditto
809 2003-05-30 Michael Meeks <michael@ximian.com>
811 * test/test-simple.c (main): use CORBA_ORB_perform_work
812 instead of an unnecessary linc_ call.
814 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
816 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
817 Add SPI_STATE_INDETERMINATE.
819 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
822 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
824 * libspi/stateset.c (init_state_type_tables): Add support for
827 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
829 * configure: Update versions of atk and gail required.
830 This fixes bug #113268.
832 2003-05-02 Bill Haneman <bill.haneman@sun.com>
834 * configure.in: Revved micro version to 1.3.1 (because of build fix).
836 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
838 * libspi/Makefile.am:
839 Ensure headers are generated before being used by c sources.
841 2003-05-01 Bill Haneman <bill.haneman@sun.com>
844 Simplified lt versioning rules.
845 Incremented version to 1.3.0, to indicate that we're on the
848 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
850 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
851 Add MKDB_OPTIONS=--outtput-format=xml
853 * docs/reference/cspi/at-spi-cspi-docs.sgml
854 docs/reference/idl/at-spi-idl-docs.sgml:
855 Convert to Docbook XML.
857 This fixes bug #111793.
859 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
861 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
862 AcccessibleKeyEventType, AccessibleKeyMaskType.
864 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
866 * cspi/state-types.h: Add documentation for AccessibleState.
868 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
869 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
870 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
871 AccessibleComponentLayer.
873 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
876 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
878 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
879 Accessible. Add description of AccessibleEvent,
880 AccessibleEventListenerCB.
882 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
885 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
886 documentation. Add description of AccessibleKeystrokeListenerCB,
887 AccessibleKeyEventMask, AccessibleModifierMaskType,
888 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
889 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
891 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
894 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
897 This fixes bug #104730.
899 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
901 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
902 Set is_text field of Accessibility_DeviceEvent data structure.
904 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
905 is-text field of AccessibleDeviceEvent data structure.
907 This addresses part of bug #108666.
909 * registryd/devcieeventcontroller.c: Unset debug option.
911 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
914 (cpi_initial_relation_type_table): New function which initializes
915 mapping between Accessibility_RelationType and AccessibleRelationType.
916 (cspi_relation_type_from_spi_relation_type): New function which
917 translates an Accessibility_RelationType into an AccessibleRelationType.
918 (AccessibleRelation_getRelationType): Use
919 cpi_relation_type_get_spi_relation_type to return correct value.
920 (spi_state_to_corba): Return correct type for default case.
922 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
923 Use Accessibility_EventType instead of Accessibility_KeyEventType.
925 * cspi/cspi-bonobo-listener.c:
926 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
929 * libspi/accessible.c, libspi/action.c, libspi/application.c,
930 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
931 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
932 libspi/image.c, libspi/listener.c, libspi/selection.c,
933 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
934 registryd/desktop.c, registryd/registry.c:
935 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
937 * libspi/eventlistener.c
938 Remove semicolon after BONOBO_TYPE_FUNC.
941 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
942 (spi_init_relation_type_table): Initialize using correct type.
944 * registryd/desktop.c:
945 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
946 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
947 of Accessibility_KeyEventType.
949 * test/key-listener-test.c (report_tab_key_event): Use fprintf
952 * tests/simple-at.c, tests/screen-review-test.c:
953 Add include for <strings.h>.
955 * tests.stress-test.c:
956 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
958 These changes fix compiler warnings when using FORTE compiler on
959 Solaris; fixes bug #107479.
962 2003-04-10 Bill Haneman <bill.haneman@sun.com>
965 * configure.in: revved to 1.1.10
968 (SPI_KEYMASK_NUMLOCK): Added.
970 * registryd/deviceeventcontroller.c:
971 (spi_key_event_matches_listener): AND with a smaller
972 bitmask (as we should).
973 (spi_dec_translate_mask):
974 New method, sets the virtual NumLock modifier bit
975 if numlock is on. Eventually it can handle other virtual
976 modifier bits if needed, or other marshalling from
977 at-spi modifier masks to platform (X) masks.
978 (spi_dec_key_listener_new):
979 Call spi_dec_translate_mask to set up virtual mod bits
980 in the 'mask' field when creating a new listener struct.
981 (spi_dec_emit_modifier_event):
982 Set the virtual (i.e. NumLock) bits before emitting event.
983 (spi_controller_register_with_devices):
984 Query for the NumLock modifier 'physical' bit if Xkb is
985 present, for use in above methods.
989 2003-04-10 Bill Haneman <bill.haneman@sun.com>
991 * registryd/deviceeventcontroller.c:
992 (spi_keystroke_from_x_key_event):
993 Instead of checking to see if the keysym is
994 printable, check the string from XLookupString
995 if available, get the first unicode character from it,
996 and call g_unichar_isprint to determine whether the
997 is_text flag should be TRUE or FALSE.
1001 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1003 * atk-bridge/bridge.c: Add support for extended events
1004 * cspi/spi_event.c: Add documentation and implementation for
1006 * tests/event-listener-test.c: Add tests for extended events.
1008 This fixes bugs #100424 and #100426.
1010 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1012 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1013 of LT_CURRENT. This fixes bug #89350.
1015 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1017 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1018 number of signal parameter values before accessing them. This fixes
1021 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1023 * configure.in: Fixed duplicate inclusion of -lspi.
1024 * branched for gnome-2-2/HEAD.
1025 [created tag "gnome-2-2"]
1027 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1029 * configure.in: 1.1.9 release.
1032 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1034 [needed by GOK, to fix bugs 107985 and 107988]
1035 * registryd/deviceeventcontroller.c:
1036 (spi_dec_clear_unlatch_pending):
1037 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1038 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1039 (spi_dec_init_mouse_listener):Emit warning if mouse button
1041 (spi_device_event_controller_forward_mouse_event):
1042 Removed unnecessary parens from a conditional.
1043 (global_filter_fn):Added TODO comment.
1044 (impl_generate_keyboard_event):
1045 Cancel a pending relatch if a 'delatching' key was
1048 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1050 * atk-bridge/bridge.c:
1051 Change atk_signal_child_changed to atk_signal_children_changed.
1052 Reorganize code in spi_atk_bridge_signal_listener().
1054 * test/event-listener-test.c:
1055 Add children_changed_listener and report_children_changed_event()
1056 to test AccessibleChildEvent_getChildAccessible.
1058 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1060 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1061 g_strdup to CORBA_String_dup (bug #105291)
1063 * test/event-listener-test.c (report_text_event): Add call to
1066 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1068 * registryd/deviceeventcontroller.c:
1069 (spi_keystroke_from_x_key_event):
1070 Fix string and keysym return codes to match modifier state.
1073 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1075 * registryd/deviceeventcontroller.c:
1076 (spi_keystroke_from_x_key_event):
1077 Fix segv due to improper use of isprint(c). [bug #107254]
1079 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1082 (get_accessible_text_boundary_type):
1083 Move default return value to (new) default case in switch.
1084 (get_accessible_text_clip_type):
1085 Move default return value to (new) default case in switch.
1087 * libspi/application.c:
1088 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1089 Remove unused methods.
1090 (impl_accessibility_application_register_object_event_listener):
1091 Remove unused methods.
1094 Added #include of <math.h>.
1096 * registryd/deviceeventcontroller.c:
1097 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1098 we don't currently use this method.
1099 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1101 (impl_generate_key_event):
1102 Remove unused variables.
1103 (impl_generate_mouse_event):
1104 Initialize button to zero, just in case we get an invalid
1105 input. Added support for mouse buttons 4 and 5.
1106 (spi_device_event_controller_new):
1107 Removed unused variable declaration for 'private'.
1109 Added #include of <gdk/gdk.h>
1111 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1113 * configure.in: Update to work when X is not installed in expected
1114 location. Fixes bug #105836.
1116 * atk-bridge/bridge.c
1117 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1119 (spi_atk_register_event_listener): Add signal listener for
1121 (spi_atk_bridge_signal_listener): Event event when link-selected
1122 signal is emitted. (bug #104622)
1124 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1125 on returned string. (bug #105291)
1127 * test/event-listener-test.c: Add test for link-selected.
1129 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1131 * atk-bridge/Makefile.am: Correct typo in previous commit.
1133 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1135 * atk-bridge/Makefile.am: Allow for build directory to be different
1136 from source directory
1138 * registryd/Makefile.am: Allow for build directory to be different
1139 from source directory
1143 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1146 Fixed dependencies for libcspi so that libspi gets pulled in
1147 properly. Fixes 104741.
1151 Clean up inline docs a little.
1153 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1155 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1156 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1157 the AtkObject within an SpiDesktop.
1158 This addresses bug #101524.
1160 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1161 Remove call to gdk_init().
1163 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1164 so that Display is set when SpiDesktop is created.
1166 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1168 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1169 This fixes bug #102830.
1171 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1173 * test/test-simple.c: Update to take account of fact that GailButton
1174 now implements AtkText.
1175 (create_text_window): Set name on AtkObject for GtkEntry.
1176 (validate_accessible): Check accessible name before calling test_text().
1178 * libspi/Makefile.am: Fix problem with building outside of source
1179 directory. Bug #98120.
1181 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1182 typo in documentation comments. Bug #94275.
1184 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1186 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1188 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1191 Add includes to avoid compiler warnings on Solaris.
1192 (impl_getRangeExtents): Bug fix.
1194 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1196 Fix for 100944, [API addition approved by Gman and murrayc].
1203 * idl/Accessibility_Text.idl:
1204 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1205 (Text::getRangeExtents): New method for efficient
1206 bounds query of a text range.
1207 (Text::getBoundedRanges): New method for efficient
1208 clipping of text to bounding boxes.
1209 (unImplemented7, unImplemented8):
1210 Removed these padding methods to preserve bincompat.
1213 (impl_getRangeExtents): implementation of new IDL.
1214 (impl_getBoundedRanges): implementation of new IDL.
1215 (SpiTextRect): Internal use struct.
1216 (_spi_text_rect_union): internal method, calculates union of two
1217 SpiTextRect bounding rects.
1218 (_spi_text_range_seq_from_gslist): internal method, allows us
1219 to build our sequence efficiently as a gslist then convert it
1221 (_spi_bounds_contain): internal method, determines whether
1222 a text character is "in" or "out" of a clip rect according to
1223 values of TEXT_CLIP_TYPE.
1224 (spi_text_class_init): Initialize the new methods in the epv.
1227 (AccessibleTextClipType): New enum used by screen review api.
1228 (AccessibleTextRange): New struct used by screen review api.
1229 (AccessibleText_getRangeExtents):
1230 cspi binding for Accessibility_Text_getRangeExtents.
1231 (AccessibleText_getBoundedRanges):
1232 cspi binding for Accessibility_Text_getBoundedRanges.
1233 (AccessibleTextRange_freeRanges): convenience method.
1236 (AccessibleText_getRangeExtents):
1237 cspi binding for Accessibility_Text_getRangeExtents.
1238 (AccessibleText_getBoundedRanges):
1239 cspi binding for Accessibility_Text_getBoundedRanges.
1240 (AccessibleTextRange_freeRanges): convenience method.
1241 (get_accessible_text_clip_type): internal conversion method.
1242 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1244 * registryd/deviceeventcontroller.c:
1245 (spi_dec_mouse_check):
1246 Improved behavior for mouse:abs events
1247 [same granularity as mouse:rel events, and no
1248 events when mouse is idle].
1250 2002-12-16 Michael Meeks <michael@ximian.com>
1252 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1254 * libspi/stateset.c (state_spi_to_atk): split out
1255 ( fix several remote array bounds nasties )
1256 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1257 (impl_remove): make safe from array bounds issues.
1258 (spi_atk_state_from_spi_state): impl.
1260 * libspi/stateset.h (spi_state_set_cache_is_empty):
1261 add a set of wrapper defines to get layering right.
1263 * cspi/spi_accessible.c: update state set stuff to
1266 2002-12-14 Michael Meeks <michael@ximian.com>
1268 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1269 to avoid 2 roundtrips to the registry per key event
1270 (spi_atk_bridge_key_listener): upd.
1271 (deregister_application): release the dec.
1273 * registryd/registry.c (notify_listeners_cb):
1274 bin lots of re-enterant complexity - we no longer
1275 do a round-trip bonobo ref here, ensure that a single
1276 listener's exception failure won't poison all other
1278 (impl_registry_notify_event): bin obvious memory leak.
1280 2002-12-13 Michael Meeks <michael@ximian.com>
1282 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1283 init the ev so the error is meaningful.
1284 (spi_atk_bridge_key_listener): ditto.
1286 * cspi/spi_main.c (cspi_ev): init the ev so we start
1287 with a clean slate, otherwise the first exception
1288 kills us completely.
1290 * cspi/spi_text.c (get_accessible_text_boundary_type):
1291 add a fallthrough for no warnings.
1293 * cspi/spi_registry.c: prune unused warnings.
1295 * cspi/spi_main.c (cspi_object_take): fix
1296 mind-blowing brokenness ( by watching the compile
1299 * cspi/spi_accessible.c (Accessible_getStateSet):
1300 re-impl. to use an AtkStateSet.
1301 (spi_state_type_from_accessible_state),
1302 (init_state_table): bin these.
1304 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1306 (atk_state_set_from_accessibility_state_set): here.
1308 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1309 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1310 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1311 (AccessibleStateSet_add, AccessibleStateSet_remove),
1312 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1313 (AccessibleStateSet_isEmpty): re-write to use a local
1316 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1318 * configure.in: Revved to 1.1.7 (new keymask vals).
1320 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1322 * libspi/keymasks.h:
1323 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1325 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1328 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1329 to compare two CORBA_TypeCodes.
1330 (cspi_internal_event_add): Silence warning from FORTE compiler.
1332 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1333 avoid implicit declaration of functions.
1335 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1337 * atk-bridge/bridge.c:
1338 (spi_atk_bridge_init_event_type_consts): Store signal id for
1339 active-descendant-changed signal.
1340 (spi_atk_register_event_listeners): Add signal listener for
1341 active-descendant-changed signal,
1342 (spi_atk_bridge_signal_listener): Move code in function
1343 spi_atk-signal_emit_event() into this function.
1344 Add support for active-descendant-changed
1345 Update support for child-changed signal.
1346 (spi_bridge_window_event_listener): Silence warning.
1348 * libspi/spi_private.[ch]:
1349 (spi_init_any_object): Change second parameter from CORBA_Object to
1351 Omit call to CORBA_Object_duplicate().
1352 Set CORBA_any's _value to CORBA_Object*.
1354 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1360 (AccessibleEvent_ref, AccessibleEvent_unref):
1361 New methods, for persisting an event outside the emission context.
1362 Must be used if the new accessor methods are to be called
1363 outside of the event listener's callback.
1365 * cspi/bonobo/cspi-bonobo.c:
1366 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1367 as second parameter instead of NULL, so we can call
1368 cspi_check_ev afterwards.
1371 (cspi_object_take): New internal method,
1372 converts a CORBA_Object reference to a hard ref on
1373 an Accessible if possible, returning NULL if the object
1374 reference is invalid or an Accessible * otherwise.
1377 (AccessibleEvent_ref):
1378 Increment the event's internal private refcount, and
1379 add the event's internal struct to an internal cache
1380 if it's not already there.
1381 (AccessibleEvent_unref):
1382 Decrement the event's refcount and remove it from
1383 the cspi event cache if refcount==0.
1384 (cspi_event_compare): New private method.
1385 Compares two event structs via their ids. Used
1387 (cspi_internal_event_lookup): New private method.
1388 (cspi_internal_event_check): New private method,
1389 a 0-order sanity check for events to make sure their
1390 private data is intact.
1391 (cspi_internal_event_add, cspi_internal_event_remove):
1392 New private methods for managiing the event cache.
1394 * cspi/bonobo/cspi-bonobo-listener.c:
1396 Initialize the new private data elements (id, magic, ref_count).
1398 * atk-bridge/bridge.c:
1399 (spi_atk_bridge_signal_listener):
1400 Fixed bug #100530, passing wrong params to emission func.
1402 * registryd/deviceeventcontroller.c:
1403 (spi_dec_button_update_and_emit):
1404 Fixed type in mask bit operations; fix for #99799.
1406 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1408 Removed some of the more dangerous workarounds from
1409 previous commit; they are only needed by GOK, which
1410 in reality should be using another method to accomplish
1411 the goals. So on reconsideration some of the workarounds
1412 need to be reverted:
1414 * registryd/deviceeventcontroller.c:
1415 (spi_keycodes_contain, spi_dec_init_keycode_list):
1416 Removed these methods, used only by a nasty hack to try
1417 and detect whether a key synthesis should be allowed
1418 to reset the XKB latch state or not. This code was only
1419 required to work around an interaction between GOK,
1420 button events, and XKB.
1421 (impl_generate_key_event):
1422 Removed hack at end of key generation that tried to
1423 "do the right thing" if XKB latch keys were generated
1424 in the midst of button press/release pairs.
1427 Added a check for HAVE_XINPUT. Not normally used yet.
1429 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1431 Workarounds and fixes for mouse event/XKB interaction.
1433 * registryd/deviceeventcontroller.c:
1434 (spi_keycodes_contain, spi_dec_init_keycode_list):
1435 New internal methods.
1436 (spi_dec_set_unlatch_pending):
1437 Split the method that tells XKB to expect an
1438 unlatch (and revert it) out of the rest of the
1439 event handling code. This method is called by the
1440 two mouse event handlers (the poll and the filter).
1441 (spi_dec_update_and_emit, spi_dec_mouse_check):
1442 New methods split from spi_dec_poll_mouse_moved.
1443 The second one is now called from inside the filterFn
1444 when an XKB delatch event is received, to determine
1445 whether to revert the delatch or not.
1446 (spi_poll_mouse_moved): Refactor; also we can now
1447 properly handle the case where multiple button states
1448 have changed between polling cycles and we didn't get
1449 notified due to another client's grab.
1451 Synchronize the server while handling an XKB notification.
1452 Ugly, but apparently necessary to avoid nasty races.
1453 Check the mouse state on receipt of an XKB latch change,
1454 to decide whether to revert the latch or not. (Latches are
1455 reverted if there is an immediately preceding mouse button
1456 event that a client has consumed, in which case we don't want
1457 the user to see the side-effect of the event).
1458 (spi_device_event_controller_forward_mouse_event):
1459 Check for modifier events and fire before resetting mouse_mask_state,
1460 prevents losing modifier events.
1462 (impl_generate_keyboard_event):
1463 If we've just generated a keyboard event for a non-shift key,
1464 we don't want to revert the pending XKB latch.
1465 Otherwise, check the modifier state (via a call to
1466 spi_dev_mouse_check) and set the relatch mask to
1467 that state before returning.
1469 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1472 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1475 * atk-bridge/bridge.c:
1476 (spi_atk_register_event_listeners):
1477 Don't re-register for ATK events if the registry has died
1478 and the app needs to re-register; the ATK listeners are in
1479 process and doing so will cause duplicate emission.
1481 * registryd/deviceeventcontroller.c:
1482 (spi_poll_mouse_moved):
1483 Reformat the source, detect and emit multiple button-change
1484 events (i.e. if multiple buttons have changed between poll
1486 Add code to detect mouse-down events even when the pointer
1487 is grabbed; workaround for GOK bug 98420.
1488 (spi_controller_register_with_devices):
1489 Call XTestGrabControl with 'impervious' flag set to True,
1490 allows us to synthesize events and query the pointer even during
1491 an active grab by another client.
1492 (spi_device_event_controller_forward_mouse_event):
1493 Set the mouse_mask_state to the mouse_button_state from
1494 the intercepted event, to synchronize the grab listener with
1497 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1499 * cspi/spi_accessible.c:
1500 (AccessibleRole_getName):
1501 Added necessary strings for making this (deprecated)
1502 method work with the new role types.
1503 (init_role_table, role_table):
1504 Added definition of SPI_ROLE_APPLICATION.
1506 * libspi/spi-roletypes.h:
1507 Added SPI_ROLE_APPLICATION.
1509 * idl/Accessibility_Role.idl:
1510 Added ROLE_APPLICATION.
1512 * docs/reference/cspi/at-spi-cspi-decl.txt:
1513 Added SPI_ROLE_APPLICATION to docs.
1515 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1517 * cspi/spi_accessible.c
1518 (cspi_init_role_table): Do not write beyond end of role_table.
1519 (Accessible_getRole): Use correct type for value returned by
1520 Accessibility_Accessible_getRole().
1522 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1523 beyond end of role_table. (This fixes bug #98269)
1525 * libspi/application.c: Add include file spi-private.h for
1526 definition of spi_init_any_nil.
1528 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1532 * libspi/spi-private.h:
1533 Added DGB() macro, and extern int _dbg declaration.
1535 * registryd/registry.c:
1536 (definitions) storage for _dbg.
1537 (spi_registry_init):
1538 Get environment variable "AT_SPI_DEBUG".
1539 (spi_registry_set_debug):
1540 New method, to initialize _dbg value.
1541 (spi_listener_struct_new, spi_registry_object_finalize):
1542 (notify_listeners_cb):
1543 Changed fprintfs to use DBG and g_warning().
1545 * registryd/deviceeventcontroller.c:
1546 (_deregister_keygrab, spi_controller_register_device_listener):
1547 Changed debug/warning messages to use DBG macro.
1549 * libspi/listener.c:
1550 (impl_notify_event):
1551 Changed warning messages to use DBG macro and g_warning().
1553 * atk-bridge/bridge.c:
1554 (atk_bridge_init, spi_atk_bridge_get_registry):
1555 (spi_atk_bridge_exit_func):
1556 (spi_atk_bridge_property_event_listener):
1557 Changed status, warning, and error messages to use
1558 g_warning, g_message, and DBG macros.
1561 Read the state of the AT_SPI_DEBUG environment variable
1562 and set a local '_dbg' accordingly.
1564 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1566 FIXES for 98836, 98842, other bugs.
1569 Revved to 1.1.4, interface-age=4, binary-age=4.
1571 * registryd/deviceeventcontroller.c:
1573 Fixed crasher bug in last_mouse_pos initialization.
1575 * registryd/registry.c:
1576 (desktop_add_application, desktop_remove_application):
1577 Added (and then commented out) some support for
1578 object context marshalling. [TODO]
1580 * atk-bridge/bridge.c:
1581 (spi_atk_bridge_event_context_create):
1582 Commented out object context creation until it can
1583 be properly tested and debugged.
1585 * registryd/registry.c:
1586 (impl_registry_notify_event):
1587 Fixed crasher bug, we were calling
1588 spi_re_entrant_list_foreach () with an empty list.
1590 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1592 * idl/Accessibility_Action.idl:
1593 * idl/Accessibility_Component.idl:
1594 * idl/Accessibility_Desktop.idl:
1595 * idl/Accessibility_Event.idl:
1596 * idl/Accessibility_Hyperlink.idl:
1597 * idl/Accessibility_Image.idl:
1598 * idl/Accessibility_Relation.idl:
1599 * idl/Accessibility_Selection.idl:
1600 * idl/Accessibility_State.idl:
1601 * idl/Accessibility_Value.idl:
1602 Updated unimplemented slot count to minimum of
1603 four for all interfaces, for ABI freeze.
1605 * idl/Accessibility_EditableText.idl:
1606 * idl/Accessibility_Text.idl:
1607 Updated unimplemented slot count to six
1610 * idl/Accessibility_Registry.idl:
1611 Updated unimplemented slot count to six
1612 (also for DeviceEventController),
1615 * idl/Accessibility_Table.idl:
1616 Updated unimplemented slot count to eight,
1619 * idl/Accessibility_Event.idl:
1620 Added CORBA_any "any_data" member to Event struct.
1622 * idl/Accessibility_Event.idl:
1623 Added CORBA_any "any_data" member to Event struct.
1625 * atk-bridge/bridge.c:
1627 atk_signal_text_changed, atk_signal_child_changed,
1628 signal ids queried from gtype system.
1629 (AtkBridgeEventContextType): New enum.
1630 (AtkBridgeEventContextData): New struct.
1631 (AtkBridgeEventContext): New struct.
1632 (atk_bridge_init_event_type_consts):
1633 New method, initializes type contants for comparison
1634 prior to emit_eventv.
1635 (atk_bridge_event_context_init): New method,
1636 initializes a CORBA_any from an AtkBridgeEventContext.
1637 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1638 initialize the event.any_data struct.
1639 (spi_atk_bridge_event_context_create): New method,
1640 creates an AtkBridgeEventContext from signal/event info.
1641 (spi_atk_bridge_event_context_free): New method.
1642 (spi_atk_emit_eventv): Changed to take an
1643 AtkBridgeEventContext parameter. We now initialize
1644 the event.any_data member prior to notifying the
1645 Registry, via the AtkBridgeEventContext.
1646 (spi_atk_bridge_property_event_listener):
1647 (spi_atk_bridge_state_event_listener):
1648 Match emit_eventv signature.
1649 (spi_atk_bridge_object_event_listener):
1650 Match emit_eventv signature, and create an
1651 event context from the event details.
1652 Free the event context afterwards.
1653 (spi_atk_bridge_window_event_listener):
1654 Create an event context, pass it to the
1658 (AccessibleEvent_getContextString):
1659 (AccessibleEvent_getContextObject):
1660 New methods, allow query of AccessibleEvent objects
1661 for more context details (via the "any_data" member
1662 of the Event struct, above).
1665 Definitions for AccessibleEvent_getContextString
1666 and AccessibleEvent_getContextObject.
1668 * cspi/spi_listener.h:
1669 (InternalEvent): New struct.
1672 (AccessibleEvent_getContextString):
1673 (AccessibleEvent_getContextObject):
1674 Implementations of new methods, for obtaining
1675 additional context information from some event types.
1677 * cspi/spi_registry.c:
1678 (SPI_registerGlobalEventListener):
1679 Added mention of active-descendant-changed event in docs.
1681 * cspi/cspi-bonobo-listener.c:
1683 Marshal the any into the AccessibleEvent via
1686 * libspi/spi-private.h:
1687 #include <orbit/orbit.h>
1689 (spi_init_any_string):
1690 (spi_init_any_object):
1691 New convenience function declarations.
1695 (spi_init_any_string):
1696 (spi_init_any_object):
1697 New convenience function implementations.
1699 * registryd/deviceeventcontroller.c:
1700 (spi_poll_dec_mouse_moved):
1701 (spi_device_event_controller_forward_mous_event):
1702 Initialize any_data member of event.
1703 (spi_deregister_controller_device_listener):
1704 Fix incorrect param pass which was preventing deregistration.
1706 * registryd/registry.c:
1707 (desktop_add_application):
1708 (desktop_remove_application):
1709 Add object data to event's any_data before dispatch.
1711 Fix for error messages from GAIL.
1713 * test/event-listener-test.c:
1714 Test new ContextString and "any_data" API:
1715 (report_text_event): New method query and output context string.
1716 (main): register a new text listener with report_text_event
1719 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1721 Fixes for bugs 98127 and 97914.
1722 * cspi/spi-roletypes.h:
1723 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1725 * cspi/spi-statetypes.h:
1726 Added SPI_STATE_MANAGES_DESCENDANTS
1728 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1729 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1730 * cspi/spi_accessible.c:
1731 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1732 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1733 Accessibility_STATE_MANAGES_DESCENDANTS
1734 * libspi/accessible.c:
1735 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1736 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1737 As requested by Bill, I also cleaned up the alignment.
1738 * libspi/relation.c:
1739 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1740 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1741 * libspi/stateset.c:
1742 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1743 Accessibility_STATE_MANAGES_DESCENDANTS
1744 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1745 Document changes reflecting modifications to roles.
1746 * docs/reference/cspi/tmpl/spi_relation.sgml:
1747 Document changes reflecting modifications to relations.
1748 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1749 Document changes reflecting modifications to states.
1751 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1754 Revved to 1.1.3, interface-age=3, binary-age=3.
1755 Added REBUILD macro.
1758 Removed accessx-gui from the tests, since we have a nice
1759 keyboard accessibility capplet now :-)
1761 * test/keysynth-demo.c:
1762 (increment_scan): removed do-nothing default: case,
1765 * test/visual-bell.c:
1766 (main) : removed do-nothing default: case,
1769 * cspi/spi_action.c:
1770 (AccessibleAction_getKeyBinding_):
1771 Documented keybinding string format.
1775 (AccessibleText_getAttributes):
1776 Documented the text attribute string format.
1777 It's changed to use semicolon delimiters also,
1778 to prevent clashes with CSS attributes, but the old
1779 trick of looking for ", " strings will still work
1780 (as unreliably as ever). Fix for bug related to 97916.
1783 Include <cspi/bonobo/cspi-bonobo-listener.h>
1784 Fixes build warning.
1785 (SPI_freeAccessibleKeySet):
1786 (AccessibleKeystrokeListener_addCallback):
1787 (AccessibleKeystrokeListener_removeCallback):
1788 Modify to use AccessibleDeviceListener API internally,
1789 instead of AccessibleKeystrokeListener.
1791 * idl/Accessibility_Event.idl:
1792 Added two more empty slots to EventListener (for a total of four).
1794 * idl/Accessibility_Accessible.idl:
1795 Added four empty slots to Accessible interface.
1797 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1799 * idl/Accessibility_Registry.idl:
1800 (KeyEventType, EventType):
1801 Marked KeyEventType as deprecated; it duplicates
1802 functionality of EventType, which has been extended to
1803 include Mouse-button events.
1804 (KeyEventTypeSeq): defined in terms of EventType.
1805 (registerDeviceEventListener, deregisterDeviceEventListener):
1806 New methods, for managing listeners to device events,
1807 which potentially may consume them.
1810 Added definition for AccessibleDeviceListener.
1812 * cspi/spi-listener.h:
1813 (enum AccessibleDeviceEventType):
1814 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1815 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1816 for backwards compat.
1817 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1818 and typedef'd AccessibleKeystroke to it for back-compat.
1819 (AccessibleDeviceListenerCB):
1820 New function prototype typedef.
1823 (AccessibleDeviceEventMask): New typedef.
1824 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1825 (AccessibleKeyMaskType):
1826 Set equivalent to AccessibleModifierMaskType for back-compat.
1827 (SPI_createAccessibleKeystrokeListener):
1828 (AccessibleKeystrokeListener_unref):
1829 Deprecated in favor of equivalent (better-named) new API below..
1830 keystroke listeners are like all device listeners.
1831 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1832 New API names for old features :-).
1833 (AccessibleDeviceListener_addCallback):
1834 (AccessibleDeviceListener_removeCallback):
1835 (SPI_registerDeviceEventListener):
1836 (SPI_deregisterDeviceEventListener):
1840 (SPI_createAccessibleKeystrokeListener):
1841 Use new preferred API, cspi_device_listener_new() and
1842 cspi_device_listener_add_cb().
1843 (AccessibleKeystrokeListener_removeCallback):
1844 Use new preferred API, cspi_device_listener_remove_cb().
1845 (AccessibleKeystrokeListener_unref):
1846 Use new preferred API, cspi_device_listener_unref().
1847 (SPI_createAccessibleDeviceListener):
1848 (AccessibleDeviceListener_addCallback):
1849 (AccessibleDeviceListener_removeCallback):
1850 Implementation of new API.
1852 * cspi/spi_registry.c:
1853 (SPI_registerDeviceEventListener):
1854 (SPI_deregisterDeviceEventListener):
1855 Implementation of new API. Fixed memory leak and removed need to
1856 allocate EventTypeSeq (thanks Michael for catching this).
1857 Squashed a wayward CORBA_exception_free that shouldn't get called.
1859 * cspi/bonobo/cspi-bonobo-listener.c:
1861 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1862 (cspi_key_event): renamed to cspi_device_event().
1863 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1864 Extended to handle mouse button events as well as key events.
1865 (CSpiKeystrokeListener):
1866 Class superceded by CSpiDeviceListener.
1867 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1868 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1870 * cspi/bonobo/cspi-bonobo-listener.h:
1871 (CSpiKeystrokeListener):
1872 Class superceded by CSpiDeviceListener.
1873 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1874 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1876 * libspi/Makefile.am:
1877 Replaced keystrokelistener.h and keystrokelistener.c
1878 with devicelistener.h and devicelistener.c; keystrokelisener.h
1879 stub retained for back-compat.
1881 * libspi/keystrokelistener.c:
1885 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1887 * registryd/deviceeventcontroller.c:
1888 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1889 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1890 (DEControllerPrivateData): Added xkb settings data.
1891 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1892 button release events (which can't be captured via XGrabButton).
1893 Don't dispatch via the 'normal' event mechanism if the device event was
1895 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1896 Handle the typeseq data in its new location (see above).
1897 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1898 New methods, for "generic" device listeners.
1899 (spi_controller_register_device_listener):
1900 Now handle mouse event listeners as well as key listeners.
1901 (spi_controller_notify_mouselisteners):
1902 New internal method.
1903 (spi_device_event_controller_forward_mouse_event):
1904 Now we notify mouse device listeners as well as generating the
1905 non-consumable "mouse:" events.
1907 We must check and restore the XKB
1908 modifier map if we consume the event, since the act of triggering
1909 a mouse event will normally reset the XKB latch. This is required for
1911 (spi_controller_register_with_devices):
1912 Load the XKB settings when registering, and register for XKB
1913 state notify events.
1914 (spi_key_eventtype_seq_contains_event):
1915 Renamed spi_eventtype_seq_contains_event, since it's used
1916 internally for all device event types now.
1917 (spi_key_event_matches_listener):
1918 Uses spi_eventtype_seq_contains_event now.
1919 (spi_device_event_controller_object_finalize):
1920 Free the private data and the XkbKeyboard struct.
1921 (impl_register_device_listener, impl_deregister_device_listener):
1922 Implementation of new IDL.
1923 (spi_deregister_controller_device_listener):
1924 New internal method.
1925 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1926 More efficient implementation, we don't have to create a new
1927 XkbControls structure every time we query.
1928 (spi_device_event_controller_class_init):
1929 Initialize the epv entries for the new IDL. Assign the
1930 "spi-dec-private" quark.
1931 (spi_device_event_controller_init):
1932 Initialize the private data.
1933 (spi_device_event_controller_forward_key_event):
1934 Removed a bogus CORBA_exception_free() call.
1936 * registryd/deviceeventcontroller.h:
1937 Replaced inclusion of keystrokelistener.h with
1940 * test/event-listener-test.c:
1941 (report_mouse_event):
1944 Added mouse-event device listener.
1946 * test/test-simple.c:
1947 (create_test_window):
1948 Fixed regression (we were instantiating a GtkRange,
1949 which is now an abstract class). Also fixed to match
1950 existing AtkRole names, this seems to have changed in ATK
1951 awhile ago; too late now I think, and the new
1952 mechanism is at least elegant and consistent with the
1953 glib enum "nick" APIs.
1955 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1957 * idl/Accessibility_Relation.idl:
1958 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1959 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1960 * idl/Accessibility_Role.idl:
1961 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1962 * idl/Accessibility_State.idl:
1963 add STATE_MANAGES_DESCENDANTS
1964 * test/event-listener-test.c:
1965 Added a listener for active-descendant events.
1967 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1969 * atk-bridge/bridge.c
1970 (atk_bridge_init): If application is Bonobo component wait until top
1971 level is added before registering
1972 (spi_atk_bridge_do_registration): New function which contains code,
1973 formerly in atk_bridge_init, to do application registration.
1974 (spi_atk_bridge_toplevel_added): Signal called when top level
1975 added to Bonobo component
1977 This fixes bug #83134.
1979 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1981 * registryd/deviceeventcontroller.c
1982 Fixed compilation error caused by calling gettimeofday()
1985 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1990 Added template for HAVE_XKB.
1993 Changes to check for XKB, and to set the HAVE_XKB #define if it
1996 * libspi/listener.c:
1997 ()impl_notify_event): Make failure to get event source name
2000 * registryd/deviceeventcontroller.c:
2001 (#include): include X11/XKBlib.h.
2002 (DEControllerPrivateData) : New struct.
2003 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2005 (dec_synth_keycode_press) (dec_synth_keycode_release):
2006 New methods; split the key synthesis code into these methods.
2007 They check XKB settings before determining the "time" values to
2008 pass to Xtest; this fixes bug #95828.
2009 (impl_generate_keyboard_event): Changed to use methods above,
2010 instead of callng Xtest directly.
2011 (spi_device_event_controller_init): Initialize new privae struct s
2013 (spi_device_event_controllr_object_finalize):
2014 Free the (new) private data.
2016 * registryd/deviceeventcontroller.h:
2017 Add new gpointer to end of struct data.
2019 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2022 Incremented revision to 1.1.2, SONAME is still '.so', library
2023 extensions are ".so.0.0.2".
2025 * registryd/deviceeventcontroller.c:
2026 FIXES FOR #93592 and #95940.
2027 (statics): renamed mouse_button_state to mouse_mask_state,
2028 added key_modifier_mask.
2029 (spi_dec_poll_mouse_moved):
2030 Added key modifier checks, and emit "keyboard:modifiers"
2031 events when the key modifiers currently in use change.
2032 Also generate "mouse:abs" events periodically, even if the mouse
2033 is stationary (should we?).
2034 Alternatively we could generate "mouse:abs" events for either all
2035 mouse movements, or every 'nth' mouse movement, or at the
2036 beginning and end of every "active" mouse period.
2038 * test/event-listener-test.c:
2039 (main): Added listener for "keyboard:modifiers" events.
2041 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2043 * libspi/keymasks.h:
2044 Added key mask #defines for mouse buttons; e.g.
2045 SPI_KEYMASK_BUTTON1, etc.
2048 Incremented dependency on ATK to version 1.1.0. (This dependency
2049 is probably premature but will soon be real enough).
2051 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2053 * libspi/hyperlink.[ch]
2054 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2055 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2058 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2063 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2065 * registryd/deviceeventcontroller.c
2066 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2067 events to be ignored.
2068 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2069 keyboard_mode so that XAllowEvents() can be called.
2073 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2075 * cspi/spi-accessible.c: Correct names of roles returned by
2076 AccessibleRole_getName(). Fixes bug #95055.
2078 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2080 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2083 * registryd/registry.c
2084 (desktop_remove_application: Write diagnostic message to stderr for
2087 (impl_accessibility_registry_deregister_global_event_listener):
2088 Correct size of lists array. This addresses bug #94555).
2090 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2092 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2095 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2097 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2100 * registryd/registry.c (impl_registry_notify_event): Remove
2101 unnecessary call to parser_event_type().
2103 * docs/reference/cspi/tmpl/spi_component.sgml:
2104 Add reference to SPI_LAYER_WINDOW.
2106 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2108 * registryd/registry.c
2109 (desktop_add_application): Remove leak.
2110 (desktop_remove_application): Remove leak.
2111 (parser_event_type): Remove leak.
2113 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2115 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2116 bogus call to CORBA_string_dup(). Also removed unnecessary
2117 g_string_dup/g_free calls.
2119 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2121 * registryd/deviceeventcontroller.c:
2122 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2124 * test/event-listener-test.c:
2125 main: commented out three redundant listeners, to reduce output
2126 noise. (They still are potentially useful for testing).
2129 2002-09-13 Michael Meeks <michael@ximian.com>
2131 * Update all the copyrights to include Ximian.
2133 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2135 * cspi/spi.h: add SPI_LAYER_WINDOW.
2137 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2138 add Accessibility_LAYER_WINDOW case.
2140 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2142 * libspi/component.c: (impl_accessibility_component_get_layer):
2143 add ATK_LAYER_WINDOW case.
2145 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2147 * configure.in: incremented micro version.
2149 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2151 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2154 Clarified and reworded our commit policy.
2157 Started an API "todo" addition list for 2.2.
2160 (impl_getSelection):
2161 Free char pointer from atk_text_get_selection, which was being leaked.
2163 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2166 Small revision to author acknowledgement.
2168 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2170 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2171 If signal has detail add it to the type of the event.
2174 2002-08-12 Michael Meeks <michael@ximian.com>
2176 * test/test-simple.c (global_listener_cb): bin bogosity.
2177 (test_keylisteners): disable, still doesn't work reliably,
2178 certainly not on my system anyway.
2180 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2181 don't leak a reference on the DEC. This round-trip
2182 fetching of the DEC per keystroke sucks, it should be
2185 * cspi/spi-private.h,
2186 * cspi/cspi-lowlevel.h,
2187 * cspi/bonobo/cspi-bonobo-listener.[ch],
2188 * cspi/bonobo/cspi-bonobo.c: get the copyright
2189 notices better - there is still a large amount of
2190 work in at-spi falsely attributed solely to Sun.
2192 * cspi/spi_main.c (cspi_object_ref): kill bogus
2193 hash lookup, just increment the ref.
2194 (SPI_freeString): make explicit the fact that we
2195 handle NULL strings just fine.
2196 (report_leaked_ref): obey coding standards.
2197 (cspi_object_hash, cspi_object_equal): kill retval.
2198 (cspi_object_release): only release if not on loan.
2199 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2200 (cspi_object_borrow, cspi_object_return): impl.
2202 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2203 use cspi_object_borrow / return.
2205 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2207 * cspi/bonobo/cspi-bonobo-listener.c:
2209 Don't call cspi_oject_new() because this is creating a new Accessible
2210 every single time that an event is fired. This causes ATs like at-poke
2211 to nolonger recognise the source of the event and thus ignore it.
2212 Re-use the object from the cache, ref it and then unref it after the
2213 listeners have been called.
2215 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2217 * test/event-listener-test.c:
2218 Added command-line options to disable mouse events (m) and
2221 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2223 * configure.in: Update required versions of ATK, GTK+ and GAIL
2225 * cspi-1.0.pc.in: Add dependency for X include files
2228 * cspi/bonobo/Makefile.am:
2229 Add $(X_CFLAGS) so that X include files
2230 are picked up even if not in standard place (bug #71686)
2232 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2234 * registryd/deviceeventcontroller.c: fix for 84261
2235 (spi_dec_mouse_moved):
2236 Added test of mouse button mask, so that we can detect mouse
2237 button release. Unfortunately we can't otherwise detect mouse
2238 button release events without consuming the mouse press event,
2239 because of the way XGrabButton works. This means that our mouse
2240 release events have a latency dependent on the polling period
2241 while the mouse button is down. At least in this case we only
2242 have to poll while the button is down, and not at other times.
2243 If the button masks don't match with what the last press event
2244 reported, we report the appropriate button release event.
2245 (spi_dec_ungrab_mouse):
2246 New method (not yet called).
2247 (spi_device_event_controller_forward_mouse_event):
2248 New method, sends mouse press event from GdkFilter.
2249 (spi_dec_init_mouse_listener):
2250 Added code to call XGrabButton, redirecting mouse button events to
2251 the root window and our Gdk event loop.
2253 Added code to filter mouse button events, and reordered.
2255 * test/event-listener-test.c:
2257 Added registration for mouse events of type "mouse:button".
2259 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2261 * registryd/deviceeventcontroller.c: partial fix for 84261
2262 (spi_dec_poll_mouse_idle):
2263 New method, a timeout which checks to see if the mouse
2265 (spi_dec_poll_mouse_moving):
2266 A timeout to be called when mouse motion is underway.
2267 (spi_dec_poll_mouse_moved):
2268 A method which fires an event if the mouse has moved, and reports
2269 whether or not it did so.
2270 (spi_dec_init_mouse_listener):
2271 A method which sets up the timeouts above.
2272 (spi_device_event_controller_new):
2273 Now calls spi_dec_init_mouse_listener.
2275 * registryd/registry.c:
2276 (spi_registry_init):
2277 Now we initialize the device event controller when the registry is
2278 initialized, instead of waiting until a client has requested a key
2279 event notification; this is because we need the event controller
2280 for mouse events, but the mouse event registration API is a
2281 "registry" call and doesn't explicitly call the
2282 deviceeventcontroller.
2283 We now report mouse motion events with a 100 ms idle latency and
2284 a 20 ms granularity when motion is in progress.
2286 * test/event-listener-test.c:
2288 We now register the "detail listener" for events of type
2289 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2290 delivered only for the first mouse event received, and thereafter
2291 "mouse:abs" events are delivered.)
2293 * cspi/spi_registry.c:
2294 DOCS: Documented the above mouse event typestrings.
2296 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2298 Happy Summer Solstice...
2300 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2301 (spi_controller_notify_keylisteners):
2302 Changes to remove a listener from the listener list, freeing its
2303 open keygrabs, if a notification to that listener fails. This
2304 means that although a dead listener can continue to hold a passive
2305 keygrab, a maximum of one dispatch to such a listener can fail
2306 before the listener is removed from the list, thus the keygrab
2307 will be released on the next occurrence.
2308 As part of this fix:
2309 (spi_notify_keylisteners):
2310 Renamed to spi_controller_notify_keylisteners, as the controller
2311 instance must now be passed as an argument.
2312 The copied 'notify' GList is now a list of DEControllerKeyListener
2313 objects, since we need more than just the CORBA reference if a
2314 notify fails and we need to deregister the listener.
2315 (impl_notify_listeners_sync):
2316 (impl_notify_listeners_async):
2317 (spi_device_event_controller_forward_key_event):
2318 Modify use of notify_keylisteners in accordance with above
2320 (spi_deregister_controller_key_listener):
2321 New method introduced by refactoring, from
2322 impl_deregister_keystroke_listener.
2323 (impl_deregister_keystroke_listener):
2324 Call spi_deregister_controller_key_listener.
2325 (spi_key_listener_clone):
2326 New method to copy a key listner without doing a 'ref' on the
2327 remote object instance; used to create a notifier list.
2328 (spi_key_listener_data_free):
2329 New method, frees data without unreffing the source.
2331 (spi_key_listener_clone_free): new method.
2332 (spi_key_listener_free):
2333 refactored to call spi_key_listener_data_free.
2335 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2337 * registryd/registry.c: [fix for bug 86048]
2338 (notify_listeners_cb):
2339 Clear CORBA system exceptions which occur when notifying
2340 listeners, before returning to the source of the original event,
2341 since the event source doesn't care if the relayed notify failed.
2342 In other words, don't complain to the atk-bridge if the registry
2343 could not notify all its listeners, that's no fault of the
2344 application and thus should not appear to be an error from the
2345 application's perspective.
2347 * cspi/spi_main.c: [fix for bug 85980]
2349 Replaced use of bonobo_object_dup_ref with call to the wrapper
2350 method, csou_dup_ref (); this silences a compiler warning and
2351 provided more portability.
2353 Ping the registry before return, and restart if necessary.
2355 * cspi/bonobo/cspi-bonobo.c:
2357 New internal method.
2359 Fixed this method to return an object reference, as it should have
2362 * cspi/cspi-lowlevel.h:
2363 Added internal definition for cspi_ping() and fixed
2364 return type of cspi_dup_ref().
2367 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2369 * atk-bridge/bridge.c: [fix for bug 85305]
2370 (spi_atk_bridge_register_application):
2371 New method where the initial application registry calls have been
2372 moved; it allows an application to re-register in response to
2373 certain error conditions (such as a registry restart, see below).
2375 Moved some initialization code to the method
2376 spi_atk_bridge_get_registry, below.
2377 (spi_atk_bridge_get_registry):
2378 New, private accessor function for the Accessibility_Registry
2379 instance. If the registry has not been started before, or has
2380 died (as detected by failure of a CORBA exception), it is
2381 restarted before return, and spi_atk_bridge_register_application
2382 is called again to register with the new bridge instance.
2383 (spi_atk_emit_eventv):
2384 Set registry_died on error; use spi_atk_bridge_get_registry () to
2385 access the registry.
2387 * registryd/registry.c:
2388 (impl_accessibility_registry_register_global_event_listener):
2389 Set listener's event_type_quark to etype.minor instead of
2390 etype.major (fix for bug 84856).
2392 * test/event-listener-test.c:
2393 (report_detail_event):
2394 Change the output string so that user/tester can tell that the
2395 'detail listener' was called instead of the 'generic listener'.
2397 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2399 Fixes for bugs 84900, 84908, 84897, 84898.
2404 Revved version to 1.1.0
2405 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2406 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2408 * idl/Accessibility_Registry.idl:
2409 (EventListener::notifyEvent):
2410 Removed 'oneway' directive after extensive consulation with
2411 ORBit2 team and others. This means also that unref() of the event
2412 source can and should be done synchronously after emission, rather
2413 than remotely in the client, after servicing the notify call on
2416 NOTE: This change speeds up listener performance considerably, but
2417 introduces new latency on the application side. We may want to
2418 add an event queue to the atk-bridge.
2420 * atk-bridge/bridge.c:
2421 (spi_atk_bridge_focus_tracker):
2422 Do a local unref() on the event source after emission.
2424 * registryd/registry.c:
2425 (desktop_remove_application):
2426 Do an unref() on the event source after emission.
2427 (desktop_add_application):
2428 Do an unref() on the event source after emission.
2429 (notify_listeners_cb):
2430 When relaying an event, don't automatically add the event source
2431 to the local object cache, just CORBA_dup it instead. Likewise,
2432 if this method reenters, release the ref rather than calling
2434 (impl_registry_notify_event):
2435 No longer call remote unref() on the event source after dispatch.
2437 * libspi/eventlistener.c:
2438 (impl_accessible_event_notify_event):
2439 Removed remote unref ()
2441 * cspi/bonobo/cspi-bonobo-listener.c:
2443 We now call cspi_object_new() instead of cspi_object_add() on
2444 receipt of an event; thus we only have an implicit object ref
2445 while the cspi_event method is being executed. If we need to keep
2446 a reference to the object, the listener must call ref() on the
2447 object. Thus also we don't need to call cspi_object_unref() after
2448 invoking the listener callbacks in this method.
2452 New internal API for creating a new cspi object, without adding it
2453 to the object cache.
2455 Now uses cspi_object_new() to create the cspi object instance.
2457 Now checks to see if the object is in the internal object cache,
2458 and adds it if necessary before incrementing its refcount (note
2459 that new objects are added with a refcount of 1).
2460 (report_leaked_ref):
2461 New method which gives some information on leaked object instances
2462 if leak detection is turned on.
2464 * test/event-listener-test.c:
2465 (timing_test_event):
2466 New method, used for testing event delivery timing for special
2467 events of type "object:test". It reports elapsed time and
2468 events/sec every 500 events.
2470 Added a new listener, 'test listener', to check timing of event
2471 receipt as noted above.
2473 Added some timing output here also, reports elapsed time every 100
2476 * test/stress-test.c:
2477 Emit events of type "object:test", for use with "event-listener-test".
2479 * test/test-simple.c:
2480 (global_listener_cb):
2481 Call Accessible_ref() on the event source before calling
2482 validate_accessible, since the validation process does pointer
2483 comparisons on the event source, meaning that the event source
2484 needs to be added to the local object cache first. Any use of
2485 such pointer comparisons between Accessible objects requires that
2486 the caller hold an explicit reference to those objects.
2487 We also must therefore call Accessible_unref() when leaving this method.
2489 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2491 * registryd/deviceeventcontroller.c:
2492 (spi_controller_update_key_grabs):
2493 Fix for #84735, subsequent keygrab listeners not informed of
2494 registration failure.
2497 (spi_base_construct):
2498 Add an assertion on construct, to make sure the GObject passed in
2499 is really a GObject.
2501 Explicitly initialize object->gobj pointer to NULL;
2503 * cspi/bonobo/cspi-bonobo-listener.c:
2504 (cspi_object_add_ref):
2505 New method, can specify whether to dup-ref a bonobo object passed
2506 in if it's newly added to the object cache.
2508 Now calls cspi_object_add_ref with second param of "FALSE". This
2509 prevents us from doing a pointless dup-ref followed by
2510 release-unref for all those cases where the object is already in
2511 our object cache (fix for #85205).
2513 * atk-bridge/bridge.c:
2514 (spi_atk_bridge_idle_init):
2515 Removed this method, we don't need to initialize in an idle
2518 Changed to call spi_atk_register_event_listeners directly, not via an
2519 idle handler. (fix for #81139)
2520 (gnome_accessibility_module_shutdown):
2521 Removed conditional around deregistration of listeners, since we
2522 don't use the idle handler and thus have always registered when
2524 (spi_init_keystroke_from_atk_key_event):
2525 Changed references to Accessibility_KEY_PRESSED to
2526 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2528 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2530 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2535 * test/stress-test.c:
2538 (may have been an incomplete commit yesterday?)
2540 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2543 Added target for new stress-test.
2545 * test/stress-test.c:
2546 New test, sends 1000 focus notifies in quick succession.
2548 * test/key-listener-test.c:
2549 Now we report whether a keylistener registration
2550 request succeeded or failed.
2552 * test/event-listener-test.c:
2553 Uncommented some listeners which are now implemented.
2556 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2558 * registryd/deviceeventcontroller.c:
2559 (spi_controller_update_key_grabs):
2560 Fix for #82509, lack of failure notification when
2561 ALL_WINDOWS keygrabs fail due to XGrabKey
2562 failure: we synchronize the server when
2563 registering a passive grab, to make sure we get the
2564 error message before the call returns.
2566 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2568 * test/test-simple.c:
2570 Removed #ifdef KEY_IMPL_WORKS guards.
2571 (test_keylisteners):
2572 Removed #ifdef KEY_IMPL_WORKS guards.
2573 Fixed bug which was causing a hang waiting for a
2574 "press" event (which was already overwritten by a "release"
2575 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2577 Added code to set globals 'key_press_received' and
2578 'key_release_received'.
2581 Added section "1.1 API Proposed Additions" which
2582 lists API additions desired for at-spi-1.1 (only one so far).
2583 Updated TODO list a little.
2585 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2587 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2590 * configure.in: Revved to 1.0.0.
2592 * idl/Accessibility_Registry.idl:
2593 (registerKeystrokeListener):
2594 Added boolean return value.
2596 * registryd/registry.c:
2597 (notify_listeners_cb): Minor fix to debug output.
2599 * registryd/Accessibility_Registry.server.in.in:
2600 Revved version number in OAFIID to 1.0.
2602 * registryd/registryd.c:
2604 Use new OAFIID version.
2606 * cspi/bonobo/cspi-bonobo.c:
2608 Use new OAFIID version.
2614 * atk-bridge/bridge.c:
2616 Use new OAFIID version.
2618 * registryd/deviceeventcontroller.c:
2619 (impl_register_keystroke_listener):
2620 Added CORBA_boolean return value.
2621 (spi_controller_register_device_listener):
2622 Added gboolean return value.
2623 (spi_controller_register_global_keygrabs):
2624 Added gboolean return value.
2625 (spi_key_set_contains_key):
2626 Added implementation for many more control keys,
2627 for instance F1-F12, arrow keys, End, Home, Page_Up,
2629 [TODO: some still not implemented].
2631 * text/screen-review-test.c:
2632 (text_chunk_pad_string):
2633 New function: it provides mapping between coordinate
2634 positions of text chunks and character positions in the
2635 screen-review-line output string.
2636 (text_chunk_to_string):
2637 New function, calls text_chunk_pad_string with various
2638 pad/delimiter characters. Pushbuttons are delimited with
2639 square brackets, Frames with vertical 'pipe' lines, and
2640 other text with double quotes.
2641 (text_chunk_list_to_string):
2642 Calls new function text_chunk_to_string.
2643 (toplevel_composite):
2644 New function to composite layers CANVAS through
2645 POPUP in each toplevel (other layers are composited
2646 across toplevels, i.e. BACKGROUND and OVERLAY).
2647 (review_buffer_composite):
2648 Revise to use new methods.
2654 2002-05-31 Laszlo Peter <laca@sun.com>
2656 * configure.in: add the Xtst libdir to the runpath on Solaris,
2657 since it's not in the default library search path.
2659 2002-05-29 jacob berkman <jacob@ximian.com>
2661 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2663 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2665 * test/screen-review-test.c:
2666 (text_chunk_pad_string):
2667 Added method, which pads the string according to the
2668 text bounds of the chunk. It also takes a 3-character
2669 string as a param which indicates the characters to be
2670 used for start, padding, and end delimitation of the chunk.
2671 (text_chunk_to_string):
2672 Changed to use text_chunk_pad_string.
2674 * configure.in: Fixed bug in AC_OUTPUT that was
2675 causing path substitution in Accessibility_Registry.server
2678 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2680 * text/screen-review-test.c:
2681 (guess_string_clip):
2682 New method which attempts a best-guess at clipping
2683 text from components (like Java labels) which don't
2684 actually implement AccessibleText. This inaccurate
2685 clip is based on the assumption that the label is
2686 justified left-and-right, and monospaced.
2687 (text_chunk_get_clipped_string):
2688 We now call guess_string_clip() for text-containing
2689 components that don't implement AccessibleText.
2691 * test/screen-review-test.c:
2692 (review_buffer_get_text_chunk):
2693 We now pull "name" from labels if they do not implement
2694 AccessibleText (i.e. for Java labels).
2695 (get_screen_review_line_at):
2696 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2699 Replaceded AC_OUTPUT target
2700 registryd/Accessibility_Registry.server with
2701 registryd/Accessibility_Registry.server.in.
2703 * registryd/Accessibility_Registry.server.in:
2704 Removed (this is now a Makefile target).
2706 * registryd/Accessibility_Registry.server.in.in:
2707 Added (source for target above). We now use $(libexecdir) as
2708 prefix for the executable at-spi-registryd.
2710 * registry/Makefile.am:
2711 Now install at-spi-registryd into $(libexecdir), and build .server
2712 file with path (see above).
2714 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2716 * test/screen-review-test.c:
2717 (text_chunk_get_clipped_string):
2718 We now check to see if words fall within clip bounds
2719 before resorting to character-by-character clip bounds testing.
2721 * TODO: Added a section for "2.2 Proposed API Additions".
2723 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2725 * test/screen-review-test.c:
2727 Added a screen review benchmarking and test program to test
2730 * cspi/spi_accessible.c:
2732 Made some of the debug strings passed to cspi_check_ev a
2733 little more specific.
2735 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2737 * test/screen-review-test.c: Fix crashes in debug statements
2739 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2741 * test/screen-review-test.c: Added this file.
2743 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2745 * atk-bridge/bridge.c: changed "object:state-change" to
2746 "object:state-changed" to match docs.
2748 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2750 * atk-bridge/bridge.c: Hooked up state-change event details.
2752 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2754 * registryd/registry.c:
2755 Fixed quarking bug in event string parsing; now events with
2756 detail parameters get matched correctly to listeners.
2759 * util/idl/Magnifier.idl: remove.
2761 * util/*.[ch]: Remove.
2762 Magnification utilities and IDL are now in module gnome-mag.
2764 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2766 * registryd/deviceeventcontroller.c:
2767 Fixed bug in grab key conversion which was causing keycode grabs
2768 to be converted to AnyKey grabs.
2771 updated NEWS file to reflect recent spin-off of gnome-mag.
2773 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2775 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2776 busted AccessibleStateSet_compare. Removed redundant casts.
2778 * cspi/spi-action.c: Removed redundant casts.
2780 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2782 * cspi/spi_component.c: Fixed typos and casting error.
2784 * cspi/spi_editabletext.c: Removed redundant casts.
2786 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2788 * cspi/spi_hypertext.c: Eliminated redundant casts.
2790 * cspi/spi_image.c: Eliminated redundant casts.
2792 * cspi/spi_registry.c: Eliminated redundant casts.
2793 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2794 * cspi/spi_selection.c: Removed redundant casts.
2795 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2796 handling. Screen geometry and text offsets were being returned as 0
2797 on error which is technically valid-- changed these to return -1.
2798 Added marshaller for text boundary types to fix bug with boundary
2799 types being passed incorrectly to atk.
2801 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2804 * cspi/spi_registry.c:
2805 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2806 which was uncovered by the recent key changes.
2808 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2810 * test/event-listener-test.c:
2812 Added new test, "event-listener-test";
2813 this code does two things; it benchmarks traversal time
2814 for the accessible hierarchy for the first running accessible
2815 app, and it connects listeners for all supported event types.
2816 It is thus useful as an example event listener and for
2817 diagnostics/debugging of event generation.
2819 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2822 Removed unnecessary dependency on libutil.
2825 Revved micro version: 0.13.1
2827 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2830 Removed util/Makefile from targets.
2833 Removed util subdir from SUBDIRS (temporarily,
2834 pending removal of magnifier-only code
2838 #ifdef-ed out magnifier dependencies, since
2839 magnifier IDL, headers, and binary now live in
2840 module gnome-mag and we don't want at-spi to depend
2841 on gnome-mag. A magnifier demo which can run alongside
2842 simple-at is forthcoming in the gnome-mag module.
2844 NOTE: Split magnifier binary, IDL, and magnification
2845 activation code from at-spi into module gnome-mag.
2847 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2849 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2850 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2852 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2855 Revved to version 0.13.0
2857 * idl/Accessibility_Registry.idl:
2858 Changed definition of KeySet from sequence of longs to sequence of
2859 KeyDefinitions, and added KeyDefinition struct.
2860 Required for fix to bug 80616.
2862 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2863 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2864 to use new definition (see above).
2866 * registryd/deviceeventcontroller.c: handle_keygrab(),
2867 spi_keyset_contains_key():
2868 Changed to make use of new struct; this allows matching based on
2869 string key-name, for instance "Tab". This also allows matching of
2870 composed characters, non-alphanumeric characters in a way that
2871 doesn't involve dependencies on X keysym codes directly, etc.
2873 * test/key-listener-test.c:
2874 Added test for Alt-Tab key using "string" specification of keyset,
2875 and modified one of the tests to use a keycode-based keyset.
2876 Thus this test both tests and demonstrates the creation and use of
2877 keysets of three forms: specified via keycode array,
2878 keysym array, and string array. (The string case only contains a
2879 single string, i.e. a string array of length 1).
2882 Turned on PRINT_TREE option by default. Also fixed a
2883 string-freeing bug in the PRINT_TREE code.
2884 Added a listener to window:minimize events.
2886 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2888 * atk-bridge/bridge.c:
2889 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2890 for window:activate and window:deactiveate
2891 (atk_bridge_property_event_listener atk_bridge_signal_listener
2892 atk_bridge_window_event_listener) Tidy debug code
2894 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2896 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2897 Fixed handling for NULL return value from ATK.
2899 * libspi/action.c libspi/component.c libspi/editabletext.
2900 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2901 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2902 Removed redundant casts.
2904 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2905 Fixed off by one bug.
2907 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2908 function not present in idl)
2910 2002-05-02 jacob berkman <jacob@ximian.com>
2912 * atk-bridge/Makefile.am: make atk-bridge a real module
2914 2002-04-26 Radek Doulik <rodo@ximian.com>
2916 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2917 atk_state_types table
2919 2002-04-22 jacob berkman <jacob@ximian.com>
2922 * libspi/Makefile.am: add deps on the built files to help
2923 automake, and don't version the ORBit typelib
2925 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2927 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2928 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2929 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2930 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2931 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2932 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2933 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2934 libspi/accessible.h libspi/accessible.h libspi/base.h
2935 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2936 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2937 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2938 libspi/spi-private.h libspi/statetset.h libspi/table.h
2939 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2940 util/mag_client.h util/mag_control.c util/mag_image.c
2941 util/mag_image.h util/magnifier.c util/magnifier.h:
2942 Add missing file headers; standardize existing ones
2944 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2946 * atk-bridge/bridge.c: Added window event support.
2948 2002-04-18 Michael Meeks <michael@ximian.com>
2950 * libspi/relation.c (impl_getNTargets): impl.
2951 (impl_getTarget): impl.
2953 * libspi/Makefile.am: fix stateset install.
2955 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2958 Started putting useful info in this file.
2960 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2962 * atk-bridge/bridge.c:
2963 Propagate state-changed notifications to ATs
2965 * cspi/spi_registry.c: update docs to reflect actual behavior of
2966 state-change events.
2968 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2971 Incremented version to 0.12.1
2973 * util/mag_client.h:
2974 Add missing declaration for magnifier_exit,
2975 used by mag_control.c - Forte compiler didn't like
2976 the implicit redeclaration of the function :-(
2979 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2982 Revved version to 0.12 due to API change (see below).
2984 * cspi/spi-roletypes.h:
2985 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2986 definition from the inline docs, and added docs
2987 for SPI_ROLE_LAST_DEFINED.
2990 * cspi/spi_streamablecontent.c:
2991 Added missing seek_type parameter to
2992 (so far unused) method,
2993 AccessibleStreamableContent_seek().
2994 [ RT approval JodyG. ]
2997 Fixed docs for SPI_createAccessibleKeystrokeListener.
2999 * cspi/spi_registry.c:
3000 Fixed docs for SPI_KEYSET_ALL_KEYS.
3002 * docs/reference/cspi/at-spi-cspi-sections.txt:
3003 Added a number of missing APIs to SECTIONS.
3005 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3007 * registryd/Makefile.am:
3009 * cspi/bonobo/Makefile.am:
3010 Add $(X_LIBS) to makefiles.
3012 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3015 Revved version to 0.11.
3017 * libspi/component.c:
3018 Added implementation for grabFocus.
3020 * idl/Accessibility_Component.idl
3021 (Accessibility_Component_grabFocus):
3022 Made this method return boolean to indicate success or failure, to
3023 be consistent with cspi and the corresponding ATK method.
3025 * idl/Accessibility_Selection.idl
3026 (Accessibility_Selection_selectAll) :
3027 Made these methods return boolean to indicate success or
3028 failure, to be consistent with cspi and the corresponding ATK methods.
3030 * idl/Accessibility_EditableText.idl
3031 (Accessibility_EditableText_setTextContents,
3032 Accessibility_EditableText_insertText,
3033 Accessibility_EditableText_cutText,
3034 Accessibility_EditableText_deleteText,
3035 Accessibility_EditableText_pasteText):
3036 Made these methods return boolean to indicate
3039 * cspi/spi_editabletext.c:
3040 Made these methods return booleans.
3042 * libspi/selection.c:
3043 * libspi/component.c:
3044 * libspi/editabletext.c:
3045 Connected the boolean returns from ATK
3046 to the server-side code referenced above.
3048 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3050 * idl/Accessibility_Table.idl: Added missing methods,
3051 Accessibility_Table_addRowSelection,
3052 Accessibility_Table_addColumnSelection,
3053 Accessibility_Table_removeRowSelection,
3054 Accessibility_Table_removeColumnSelection.
3057 Added C wrappers for above IDL:
3058 AccessibleTable_addRowSelection,
3059 AccessibleTable_addColumnSelection,
3060 AccessibleTable_removeRowSelection,
3061 AccessibleTable_removeColumnSelection.
3064 Added server-side implementation code for IDL above, connecting
3065 to pre-existing ATK api.
3067 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3069 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3071 * libspi/accessible.c: Added implementation fo
3072 Accessibility_Accessible_get_state.
3074 * libspi/libspi.h: Added stateset.h to the list of includes.
3076 * libspi/stateset.c: Fixed broken implementation.
3078 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3081 Added implementation code for Accessibility_Magnifier_exit ().
3083 * util/mag_control.c:
3084 Added test code for above method; you can
3085 now kill an existing magnifier via
3086 ./mag_control q, from the util directory.
3088 * test/key-listener-test.c:
3090 Added a new test, for our key listener API.
3092 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3094 * test/app.c, test/keysynth-demo.c:
3096 Replace use of snprintf with g_snprintf.
3097 (fix for bugzilla 78249)
3099 2002-03-27 Michael Meeks <michael@ximian.com>
3103 * util/Makefile.am (INCLUDES): fix.
3104 (DONT_DIST_SOURCE): don't distribute the
3107 * libspi/Makefile.am (dist-hook): ditto.
3109 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3111 * libspi/hypertext.c:
3112 Fix warnings when yelp is used with atk-bridge
3114 2002-03-21 Michael Meeks <michael@ximian.com>
3116 * libspi/application.c (spi_application_new):
3117 use spi_accessible_construct so we use the AtkObject
3120 2002-03-19 Michael Meeks <michael@ximian.com>
3122 * registryd/registry.c (desktop_remove_application),
3123 (desktop_add_application): clean coding style.
3125 * registryd/desktop.c (spi_desktop_remove_application),
3126 (spi_desktop_add_application): kill re-enterency hazards.
3127 (spi_desktop_dispose): remove bogus redundant cast
3128 obscuring bug; fix bug too.
3129 (spi_desktop_init): make the desktop object immortal.
3131 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3134 Added a #define-guarded tree-traversal step
3135 when enumerating the apps (diagnostic tool).
3137 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3139 * idl/Accessibility_Role.idl:
3140 Added ROLE_DRAWING_AREA which seemed to be missing from the
3143 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3145 * cspi/spi-roletypes.h cspi/spi_accessible.c
3146 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3149 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3150 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3151 AT when applications are added and removed from the desktop. This
3152 reverts the previous broken implementation using the backing
3153 AtkObject for the SpiDesktop.
3155 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3157 * registryd/desktop.c: emit the "children-changed::add" and
3158 "children-changed::remove" signals on the backing ATK object for
3159 the desktop so AT can tell when applications are started and shut
3162 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3164 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3166 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3168 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3170 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3172 * cspi/state-types.h: synched with IDL and ATK
3174 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3176 * libspi/accessible.c
3177 (impl_accessibility_accessible_get_child_at_index):
3178 Change return value for g_return_if_fail ()
3179 to CORBA_OBJECT_NIL instead of "0" (!)
3181 * registryd/Makefile.am:
3182 * registryd/Accessibility_Register.server.in:
3183 Changed name of executable, "registryd",
3184 to something more informative:
3187 2002-03-13 Michael Meeks <michael@ximian.com>
3189 * atk-bridge/bridge.c (atk_bridge_init): don't register
3190 if we're in a bonobo-component, rather than a bonobo app.
3192 2002-03-13 Michael Meeks <michael@ximian.com>
3194 * atk-bridge/bridge.c (gtk_module_init): split
3195 out body to (atk_bridge_init): here, since otherwise
3196 we get symbol conflicts and oddness when invoked
3197 from (gnome_accessibility_module_init): here (upd.)
3199 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3202 New file. Explicitly allow "build sheriff" putbacks provided
3203 they are tested on Solaris.
3205 * docs/reference/cspi/Makefile.am:
3206 Added '-' to the "cp" command for index.sgml.
3207 ("patch by thomasvs, soon coming to a GUADEC near you")
3210 Incremented version number (0.9.0) for new release.
3211 Changed macro that checks for popt, to better detect
3212 obsolete versions of popt.
3215 Added X_LIBS to AC_SUBST, for applications
3216 that call Xlib API directly.
3219 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3222 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3225 Fix regression caused by hard-coding major
3226 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3229 * test/test-simple.c (test_editable_text),
3230 (test_test): revert previous change (error was
3231 a regression in gail which is now fixed).
3233 2002-03-04 Michael Meeks <michael@ximian.com>
3235 * test/test-simple.c (test_editable_text),
3236 (test_text): pass G_MAXINT instead of '-1' for
3237 whole string - is this a good thing !?
3239 * cspi/spi_accessible.c
3240 (Accessible_getRelationSet): fix crasher bug
3241 overwriting the end of the array.
3243 * test/test-simple.c (validate_accessible): free,
3244 not g_free returned relation set.
3246 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3248 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3249 implemented stateset support
3251 * idl/Accessibility_State.idl: Made necessary changes to
3252 the IDL to support state sets.
3254 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3256 * registryd/deviceeventcontroller.c:
3257 Added implementation for generateMouseEvent.
3259 * cspi/spi_registry.c:
3260 Connected new implementation for generateMouseEvent
3263 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3266 Incremented revision (but no change in public API
3267 outside of 'utils', which are not installed public yet.)
3269 * libspi/component.c:
3270 Changed to use atk_component API for layers and
3271 mdi_zorder, instead of deprecated atk_object API.
3273 Magnification Utility Enhancements:
3276 Added implementation of createZoomRegion, clearAllZoomRegions,
3277 resizeZoomRegion. Added new commandline argument
3278 "--no-initial-region". Note that clearAllZoomRegions doesn't
3279 unmap the old '0' region as it should (yet), and the other
3280 methods only work when creating/resizing a single region,
3281 which is "region 0".
3282 (Code for multiple region support will be added later.)
3285 Now we raise the magnifier window each time it's refreshed;
3286 this will help keep it on top.
3288 * util/mag_client.h:
3289 Added simple wrappers for above, used by mag_control.
3290 For general use, it's recommended to use the bonobo magnifier
3291 control API directly instead of using these wrappers.
3294 Moved ZoomRegionData from magnifier.c to this file.
3296 * util/mag_control.c:
3297 Added some code to exercise new IDL implementations.
3299 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3301 * libspi/text.c: Provide implementation for getAttributes.
3303 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3306 Incremented revision.
3308 * test/test-simple.c:
3309 Replaced use of deprecated g_main_iteration with
3310 g_main_context_iteration.
3312 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3315 Incremented revision for desktop alpha 2.
3317 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3319 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3322 * test/simple-at.c: include netinet/in.h.
3324 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3326 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3327 use NULL, not CORBA_OBJECT_NIL.
3329 * libspi/accessible.c:
3330 (impl_accessibility_accessible_get_relation_set):
3331 allocate the sequence correctly.
3333 * libspi/remoteobject.h: kill spi_remote_object_new.
3335 * test/test-simple.c: (validate_accessible): add code
3336 to test relation sets, now all we need is to figure
3337 out how to excercise this code path :/
3339 2002-01-18 Michael Meeks <michael@ximian.com>
3341 * test/test-simple.c
3342 (key_listener_cb): consume the key.
3343 (test_keylisteners): update.
3344 (main): wait for any pending unrefs on events.
3346 * registryd/deviceeventcontroller.c
3347 (spi_controller_update_key_grabs): only re-issue the
3348 grab on a key release.
3349 (spi_device_event_controller_forward_key_event):
3350 refresh the keygrabs before we notify the listeners,
3351 to reduce the X ungrab / re-grab race.
3352 (spi_controller_register_with_devices): remove
3353 XSelectInput - we do that with the gdk_window_ call.
3354 (_spi_controller_device_error_handler): return a value.
3355 s/GDK_DISPLAY/spi_get_display/
3357 2002-01-17 Michael Meeks <michael@ximian.com>
3359 * registryd/deviceeventcontroller.c
3360 (_deregister_keygrab): don't blow out the later
3363 * test/test-simple.c (test_keylisteners): do a
3364 more intelligent validation.
3366 2002-01-14 Michael Meeks <michael@ximian.com>
3368 * atk-bridge/bridge.c
3369 (gnome_accessibility_module_init),
3370 (gnome_accessibility_module_shutdown): impl.
3371 (gtk_module_init): protect vs. double inits.
3372 (add_signal_listener): impl.
3373 (spi_atk_bridge_state_event_listener): kill
3374 (deregister_application): split out of
3375 (spi_atk_bridge_exit_func): here.
3377 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3380 Added caret tracking when using magnifier, and
3381 now use text bounds for focus tracking of text elements, rather than
3382 the component bounds - this is helpful for short text fields in long
3383 table cells, at high magnification.
3385 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3387 * registryd/deviceeventcontroller.c:
3388 Regression fix for keylistener de-registration; global keygrabs
3389 were not being released when deregisterKeystrokeListener was
3390 called in cspi, since
3391 Accessibility_DeviceEventController_deregisterKeystrokeListener
3392 was called with a zero-length keyset. That is because the cspi
3393 method, SPI_deregisterKeystrokeListener, does not take a keyset
3394 parameter but instead should remove all the key grabs held be a
3396 The code in impl_deregister_keystroke_listener was changed to copy
3397 the keylist from the listener instance previously registered with
3398 the DeviceEventController before releasing the grabs.
3400 * registryd/registry.c:
3401 * registryd/deviceeventcontroller.c:
3402 * libspi/spi-private.h:
3404 Changed spelling of "re-enterant" to "re-entrant" globally.
3406 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3408 * test/test-simple.c:
3409 Changed key listeners test - the test was slightly mis-using the
3410 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3411 It now uses '=' as the key event listened to and generated,
3412 relying on a keysym match rather than assuming that keycode 33
3413 is always equal to keysym '!'.
3415 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3418 Changed simple-at to use a specific keyset, rather than
3419 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3420 manager, desktop, etc.
3422 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3424 * registryd/deviceeventcontroller.c:
3425 Replaced standard X error handler with a special handler that
3426 is non-fatal for failed keygrabs. This works around
3427 problems with keygrab clashes sometimes observed on
3429 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3430 mouse handling code as yet).
3432 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3435 Incremented revision for desktop alpha release.
3438 Fixed a couple of the more glaring errors (still not
3441 2002-01-11 Michael Meeks <michael@ximian.com>
3443 * registryd/deviceeventcontroller.c
3444 (spi_device_event_controller_forward_key_event): kill
3445 XUngrabKey / XKeyGrab race.
3446 (spi_controller_grab_keyboard): rename to
3447 (spi_controller_update_key_grabs): this, and deal
3448 with incremental adding / removing grabs more
3450 (_register_keygrab): ensure we're not pending a remove.
3451 (spi_grab_mask_free): impl.
3452 (spi_controller_register_global_keygrabs): split out
3454 (handle_keygrab): impl.
3455 (_deregister_keygrab): impl.
3456 (spi_controller_deregister_global_keygrabs): impl.
3457 (spi_controller_update_key_grabs): re-issue the grab if
3458 we just recieved a notification.
3460 * test/test-simple.c (key_listener_cb): remove debug.
3462 * registryd/deviceeventcontroller.c
3463 (spi_controller_register_device_listener): after
3464 registering a global keygrab, actualy register it !
3465 don't wait for a timeout; doh !
3467 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3468 to make it more readable / manipulable.
3469 s/grabmask/grab_mask/ s/refcount/ref_count/
3470 s/keyval/key_val/ s/modmask/mod_mask
3472 2002-01-08 Michael Meeks <michael@ximian.com>
3474 * registryd/deviceeventcontroller.c
3475 (spi_controller_register_with_devices): use gdk calls to
3477 (global_filter_fn): implement the filter.
3478 (spi_device_event_controller_check_key_event): rename to
3479 (spi_device_event_controller_forward_key_event): this & upd.
3480 (spi_get_display): replace with GDK_DISPLAY.
3482 * registryd/deviceeventcontroller.c
3483 (spi_controller_deregister_device_listener): unroll into
3484 (impl_deregister_keystroke_listener): here to simplify.
3485 (spi_controller_register_global_keygrabs): split cut and
3486 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3487 (spi_controller_deregister_device_listener): remove.
3488 (impl_register_mouse_listener): remove, no mouse listener
3489 support in at-spi-1.0
3491 * registryd/registry.c
3492 (_device_event_controller_hook): kill.
3493 (spi_registry_init): upd.
3495 * registryd/deviceeventcontroller.c
3496 (spi_device_event_controller_class_init): upd.
3497 (spi_check_key_event): merge into.
3498 (spi_device_event_controller_check_key_event):
3499 here and kill strange static ev init, don't leak
3500 the x_event - nor dynamicaly allocate it.
3502 * registryd/registry-main.c (main): re-direct
3503 timeout to remove strange vtable mess.
3505 * registryd/deviceeventcontroller.c
3506 (remove_listener_cb): impl.
3507 (spi_controller_deregister_device_listener):
3508 fix re-enterancy hazard.
3510 2002-01-07 Michael Meeks <michael@ximian.com>
3512 * registryd/deviceeventcontroller.c
3513 (spi_device_event_controller_new): upd.
3514 (impl_notify_listeners_sync): upd. debug.
3515 (spi_notify_keylisteners): fix re-enterancy hazards,
3516 prettify, remove O(n*n) iteration.
3517 (spi_controller_grab_keyboard): fix iteration.
3518 (spi_check_key_event): re-format to suit coding style.
3519 Clean all the warnings - we're warning free.
3521 * registryd/deviceeventcontroller.h:
3522 * registryd/registry.h: make mutualy referential with
3523 typesafe forward references instead of (!) void pointer
3526 2002-01-11 Michael Meeks <michael@ximian.com>
3528 * cspi/spi_accessible.c (role_names): add a role name
3529 to sync this array with the enum; and make the regression
3532 2002-01-10 Michael Meeks <michael@ximian.com>
3534 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3535 allow expansion of enumeration & kill warning.
3537 * test/test-simple.c (key_listener_cb): impl.
3538 (test_keylisteners): impl.
3540 * cspi/spi-listener.h: make listener signatures const
3541 on the provided (const) events.
3543 * test/keysynth-demo.c: upd. to const events.
3545 * test/simple-at.c: ditto.
3547 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3550 Rev the version to 0.5 (the previous tarball was named 0.4,
3551 even though the micro number was 3), so we need to rev upwards
3552 again for beta2/"desktop-alpha"
3555 Checked in a demo script, which requires editing before use!
3556 Proceed with caution.
3559 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3561 * cspi/spi_accessible.c:
3562 Add a couple of missing enum initializations, and fix some enum
3565 * cspi/spi_registry.c:
3566 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3568 * docs/reference/cspi/at-spi-cspi-sections.txt:
3569 Remove/fix a couple of broken document references.
3572 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3573 as Alt-Control to listen for commands, since on some systems
3574 Control-Alt may already be grabbed.
3576 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3579 Update version number to 0.4 for Beta2.
3581 * libspi/accessible.c, libspi/accessible.h:
3582 Expose spi_accessible_construct, to enable libgail-gnome
3583 construction from spi_accessible subtype.
3585 * utils/magnifier.c:
3586 Workaround for bug in some non-gnome-compliant window managers
3587 which made magnifier resize improperly.
3589 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3591 * libspi/accessible.c: (spi_accessible_new) :
3592 Move the test for SPI_IS_REMOTE_OBJECT to
3593 spi_accessible_new_return, fixing a bug and compile time warning.
3595 2002-01-08 Michael Meeks <michael@ximian.com>
3597 * registryd/registry.c (parse_event_type): remove strndup.
3599 * libspi/Makefile.am (libspi_la_SOURCES): remove
3600 sources already included in the headers section.
3602 * libspi/util.c: add.
3604 * libspi/spi-private.h: add.
3606 * registryd/registry.c: update to moved list iterators.
3608 2002-01-05 Michael Meeks <michael@ximian.com>
3610 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3612 * test/test-simple.c (main): ditto.
3614 2002-01-04 Michael Meeks <michael@ximian.com>
3616 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3617 redundant construct.
3619 * registryd/registry.c
3620 (get_listener_list): impl.
3621 (impl_accessibility_registry_register_global_event_listener):
3622 re-impl. to simplify using ~, remove dodgy const cast off.
3623 (parse_event_type): constify.
3624 (impl_accessibility_registry_deregister_global_event_listener_all):
3625 re-write, more efficiency and simplicity, kill re-enterancy
3627 (compare_listener_corbaref, compare_corba_objects),
3628 (compare_listener_quarks): define out.
3629 (impl_accessibility_registry_deregister_global_event_listener):
3630 re-write for effiency, and nail re-enterancy hazard.
3631 (impl_accessibility_registry_get_desktop_list): impl.
3632 (re_enterant_list_delete_link): impl.
3633 (re_enterant_list_foreach): impl.
3634 (remove_listener_cb): impl.
3635 (_registry_notify_listeners): kill.
3636 (notify_listeners_cb): impl.
3638 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3639 (SPI_getDesktopList): impl.
3641 * test/test-simple.c (test_desktop): test the methods.
3643 2002-01-03 Michael Meeks <michael@ximian.com>
3645 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3646 keystrings since we free them
3647 (SPI_freeAccessibleKeySet): in here.
3649 * libspi/accessible.c (spi_accessible_new): kill warning,
3650 wonder what is going on with the constructor here.
3652 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3654 * libspi/accessible.c (spi_accessible_new ()) :
3655 Added check to see if AtkObject is an SpiRemoteObject before
3656 creating an SpiAccessible.
3658 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3660 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3661 Enable keygrabs using the Control modifier, now that they are
3662 working properly (they were previously disabled).
3665 Change the command keygrab for this demo to "Control+Alt", so as
3666 to conflict with fewer other key commands on the system; this
3667 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3669 Removed a pointlessly-chatty keylistener for unshifted keys
3670 (shifted keys are still reported).
3672 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3674 * libspi/remoteobject.h:
3675 * libspi/remoteobject.c:
3676 Added definitions for special AtkObject subtype, required for
3677 support of remote components (specifically, used by BonoboControl
3678 accessibility implementation).
3680 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3682 * cspi/spi.h: synched relation types with ATK
3684 * cspi/spi_accessible.c: Added implementations of
3685 AcccessibleRelation_* methods
3687 * idl/Accessibility_Relation.idl: added getRelationTypeName
3688 method. Synched known relation types with ATK. Allowed for
3689 relation type extension with the RELATION_EXTENDED type.
3691 * libspi/relation.c: Provided implementations for
3692 AccessibleRelation methods.
3694 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3696 API tweaks for today's API 'freeze'.
3699 Added placeholder functions to allow future compatible expansion
3700 of the IDL interfaces.
3702 * idl/Accessibility_Registry.idl:
3703 Changed generateKeyEvent to generateKeyboardEvent. Changed
3704 signature of this method to accept an optional keystring in
3705 parameter (for complex text input synthesis) and changed use of
3706 simple 'boolean' parameter in registerKeystrokeListener to a
3707 struct, EventListenerMode.
3709 * cspi/spi_accessible.c:
3711 * cspi/spi_streamablecontent.c:
3712 Added references to AccessibleStreamableContent interface, and
3713 definition and implementation of AccessibleStreamableContent
3716 * cspi/spi_registry.c:
3718 Changed generateKeyEvent API to generateKeyboardEvent,
3719 taking a new (optional) keystring parameter to support complex
3724 Renamed directory (to better reflect its actual purpose, bridging
3725 from at-spi to ATK). The .so module is also now named
3728 * idl/Accessibility_Hypertext.idl:
3729 * libspi/accessible.c:
3730 * libspi/hypertext.h:
3731 * libspi/hypertext.c:
3732 Changed Accessibility_Hypertext to *not* derive from
3735 * cspi/spi_registry.c:
3736 Added list of legal event type names for 'window' events, which
3737 completes the registry event API.
3739 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3741 * at-bridge/bridge.c: Added registration for separate
3742 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3743 signals. If either of the first two parameters to the generic
3744 bridge signal handler are ints, they are passed on as event
3745 details. This allows an AT to determine what text was inserted.
3747 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3749 * registryd/deviceeventcontroller.c:
3750 Fixed regressions in generateKeyEvent caused by the removal of
3751 gdk_init from registryd; we now use pure X calls to connect to the
3752 display, which makes sense because deviceeventcontroller already
3753 uses a fair bit of X API (should eventually be migrated to a
3754 'portability layer').
3756 * registryd/desktop.c:
3757 Fixed minor regression in spi_desktop_init, changed the way the
3758 desktop name is being set to work with new spi_base API
3759 (gobject-based, rather than AtkObject-based).
3761 * registryd/Makefile.am:
3762 Minor revision of makefile to use XTST_LIBS variable rather than
3763 hard-wiring the Xtst LD_ADD element.
3765 * test/keysynth-demo.c:
3766 Tweaked an output message; added initialization of the
3767 'keystrings' member of the "switch listener" key_set.
3769 * libspi/relation.c:
3770 Squashed compile-time warning.
3772 * libspi/accessible.c:
3773 Cosmetic and formatting fixes, renamed a static method.
3775 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3777 * libspi/accessible.c
3779 * libspi/application.c
3782 * libspi/component.c
3783 * libspi/editabletext.c
3784 * libspi/hyperlink.c
3785 * libspi/hypertext.c
3787 * libspi/selection.c
3791 * registryd/desktop.c:
3792 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3794 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3796 * idl/Accessibility_Registry.idl:
3797 Added boolean member 'is_text' to DeviceEvent. This is for the
3798 use of key events, and helps prevent ambiguity between composed
3799 key strings and keysym names, since both may potentially be
3800 returned in the 'event_string' member.
3802 * at-bridge/bridge.c:
3803 * registryd/deviceeventcontroller.c:
3804 Use the 'is_text' member when notifying device event listeners.
3805 Knon issue: composed characters are not dealt with correctly by
3806 the global key listener implementation yet.
3808 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3810 * at-bridge/bridge.c:
3811 Namespaced local static methods to spi_atk_bridge_* where
3812 previously named bridge_*, and spi_* elsewhere.
3814 * at-bridge/bridge.c:
3815 * cspi/bonobo/cspi-bonobo-listener.c:
3816 Added demarshalling/conversion for string member of
3817 Accessibility_DeviceEvent to AccessibleKeystroke.
3819 * registryd/deviceeventcontroller.c:
3820 Added code to fill the Accessibility_DeviceEvent key string value
3821 member for global key events (i.e. from XGrabKey), to match
3822 behavior of Accessibility_DeviceEvent from the toolkit key events
3823 from the bridge. Fixed timestamp in global key event notifications.
3826 Added printout of key event's string value to
3827 report_ordinary_key_event, for demo/debugging purposes.
3829 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3831 * idl/Accessibility_Registry.idl:
3832 Removed Accessibility_KeyStroke structure in favor of generic
3833 Accessibility_DeviceEvent structure.
3834 Changed Accessibility_ControllerEventMask from a struct to an
3837 * at-bridge/bridge.c:
3838 Changed APIs to use DeviceEvent structure as above, and removed
3839 bogus casting between these event structures.
3841 * cspi/spi-listener.h:
3842 Added keystring member of AccessibleKeystroke structure, to enable
3843 matching on event "names" rather than only hardware codes and
3847 Added keystrings member of AccessibleKeySet struct, to allow
3848 matching on event names (as above).
3849 Added declarations for SPI_createAccessibleKeySet and
3850 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3851 event modmasks directly as unsigned ints rather than structs with
3852 refcounts, in the DeviceEventController methods.
3854 * cspi/spi_registry.c:
3855 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3857 * cspi/spi-roletypes.h:
3858 Added documentation of newly added SPI Roles.
3860 * cspi/bonobo/cspi-bonobo-listener.c:
3861 Changes in support of API changes above.
3863 * libspi/accessible.c:
3864 Converted APIs to use DeviceEvent structure (see IDL changes
3867 * registryd/deviceeventcontroller.c:
3868 Added DEControllerGrabMask structure to track keygrabs not only by
3869 modmask but by keyset as well; this allows us to do "global"
3870 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3871 grabbing on AnyKey and then filtering after-the-fact.
3872 Bugfixes for event filtration mean that we don't get false matches
3873 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3875 * registryd/deviceeventcontroller.c:
3876 Namespaced a number of static methods to use spi_ prefix. Major
3877 revision to internals of global (i.e. X) key grabs.
3879 * registryd/deviceeventcontroller.h:
3880 Removed keymask_list and added keygrabs_list to
3881 SpiDeviceEventController struct.
3884 Added use of SPI_createAccessibleKeySet API when creating a
3885 listener for only one key. Attach a listener to "shift spacebar
3886 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3887 X key event names to SPI key event names, so that listeners are
3888 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3890 * test/keysynth-demo.c:
3891 Changed (incorrect) use of X key event names (KeyPressed,
3892 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3895 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3897 * libspi/accessible.c:
3898 Convert all AtkRole enumerations to Accessibility_Role enums when
3899 getting a role from an AtkObject.
3901 * cspi/spi_accessible.c:
3902 Complete the conversion of Accessibility_Role enums at runtime to
3903 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3904 role enums correctly match those given in spi-roletypes.h.
3905 Re-synchronize the local names list for AccessibleRole_getName ().
3906 AccessibleRole_getName is now deprecated, since it duplicates the
3907 more reliable Accessible_getRoleName.
3908 Added some role types from Accessibility_Role.idl.
3910 * idl/Accessibility_Role.idl:
3911 Added some role types used by AtkRole.
3913 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3916 * cspi/spi_registry.c:
3918 * cspi/cspi-bonobo-listener.c:
3919 Namespaced all methods that did not begin with an "SPI_" or
3920 "Accessible" prefix to "SPI_".
3923 Homogenized internal function namespace to "cspi_" for statics.
3926 Patched tests to use the new CSPI API.
3928 * docs/reference/cspi/at-spi-cspi-sections.txt:
3929 Updated docs to reflect namespace changes, and added a number of
3930 methods to the documentation.
3932 * registryd/registry.c:
3933 Changed use of strings and string hashes in listener event
3934 matching and parse_event_string to use GQuark, which is guaranteed
3937 * registryd/registry.h:
3938 Squashed annoying warning.
3940 * idl/Accessibility_Role.idl:
3941 Extended range of available Accessibility_Role values.
3943 * cspi/spi_accessible.c:
3944 Re-ordered role names.
3946 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3948 * idl/Accessibility_Value.idl:
3949 Revert use of union back to CORBA_double, since the double type is
3950 more efficient and can contain the other types without loss of
3953 * idl/Accessibility_Accessible.idl:
3954 Added method Accessibility:Accessible:getRoleName, to complement
3955 Accessibility:Accessible:getRole.
3957 * cspi/spi_accessible.c:
3959 Added C binding for above, Accessible_getRoleName (), and changed
3960 signature of Accessible_getRole () to return an AccessibleRole.
3962 * cspi/spi-roletypes.h:
3963 Changed AccessibleRole_getName to return a char * instead of a
3964 const char *. This method is now at least temporarily deprecated
3965 in favor of asking Accessibles for their RoleNames directly.
3968 Revert to match Accessibility_Value.idl;
3972 Change signature of AccessibleValue methods to use double rather
3976 * cspi/spi_accessible.c:
3977 Changed Accessible_getRole to return an AccessibleRole enum rather
3978 than a UTF-8 string. The UTF-8 string can still be obtained via
3979 AccessibleRole_getName ().
3981 * test/test-simple.c:
3982 Add test_action. Small fixup to match API change to Accessible_getRole.
3985 Bugfix for get_action_from_servant ().
3987 2001-12-11 Michael Meeks <michael@ximian.com>
3989 * libspi/libspi.h: remove registry.h and
3990 desktop.h, deviceeventcontroller.h
3992 * libspi/Makefile.am: remove registry.[ch],
3993 desktop.[ch], deviceeventcontroller.[ch]
3995 * registryd/Makefile.am: add registry.[ch],
3996 desktop.[ch], rename registryd.c to registry-main.c.
3997 add deviceeventcontroller.[ch]
3999 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4002 Replace setenv() call with putenv ().
4004 * libspi/component.c:
4005 Bugfix in AccessibleComponent_getExtents (),
4008 2001-12-11 Michael Meeks <michael@ximian.com>
4010 * libspi/image.c (impl_getImageExtents): impl.
4011 (spi_image_class_init): upd.
4014 (AccessibleImage_getImageDescription): fix daft bug
4017 * test/test-simple.c (global_listener_cb): update
4018 to only quit if not --poke
4019 (main): catch --poke.
4020 (validate_accessible): upd. dumping, call test_image
4023 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4026 * idl/Accessibility.idl: update all IDL includes.
4028 * idl/*.idl - rename to namespace - this sucks, blame
4029 mjs' bad decision for oafd.
4031 * test/test-simple.c (create_test_window): add more tests.
4032 (create_tree): split this out.
4033 (validate_accessible): bugfix.
4035 2001-12-11 Michael Meeks <michael@ximian.com>
4037 * cspi/bonobo/cspi-bonobo-listener.c:
4038 (cspi_kestroke_listener_unref),
4039 (cspi_event_listener_unref): impl. undoing previous
4040 homenous environment - for Bill.
4042 * cspi/spi_table.c (long_seq_to_array): use
4045 * cspi/spi_main.c: split out all bonoboish bits into
4048 * cspi/spi-impl.h: upd. typedefs.
4050 * cspi/spi_registry.c: update to lowlevel API,
4051 return booleans to indicate success in some places.
4053 * cspi/spi_event.c: update to lowlevel API.
4055 * cspi/bonobo/Makefile.am: add.
4057 * cspi/bonobo/cspi-lowlevel.h: add
4059 * cspi/bonobo/cspi-bonobo.c: add
4061 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4063 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4064 (SUBDIRS): add bonobo, link in the libs.
4066 * cspi/spi-util.c: kill this file.
4068 * TODO: merge in my bits.
4070 2001-12-11 Michael Meeks <michael@ximian.com>
4072 * test/test-simple.c (test_value, test_table, main):
4073 remove unused variables causing warnings.
4075 * configure.in: cleanup checks - require gail.
4077 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4080 Changed Value interface to use SValue (scalars) rather than
4081 assuming all values are floats. This allows floats, doubles,
4082 longs, shorts, and unsigned values to be manipulated.
4083 Introduced Accessibility:SValue union.
4086 Updated to use new API above, and to work correctly with GValues
4087 of different types in AtkValue.
4090 Updated to use new API above. cspi's API is as yet unchanged.
4093 Updated the Value revision action item.
4095 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4097 * test/test-simple.c:
4098 Added test_table (GtkTreeView widget in test window to follow).
4099 Un-commented test_value, added GtkRange widget.
4100 Added GtkTreeView widget with GtkListStore. It passes regression
4101 test but leaks one SPI object for some reason.
4104 Fixed bug in impl__set_currentValue.
4106 2001-12-10 Michael Meeks <michael@ximian.com>
4108 * cspi/spi_text.c: audit for exception handling,
4109 tolerating NULL object references safely etc.
4111 * cspi/spi_value.c: ditto.
4113 * cspi/spi_table.c (AccessibleTable_getSummary),
4114 (AccessibleTable_getAccessibleAt),
4115 (AccessibleTable_getRowHeader),
4116 (AccessibleTable_getColumnHeader),
4117 (AccessibleTable_getCaption): fix bugs hidden by
4119 (long_seq_to_array): impl.
4120 (AccessibleTable_getSelectedRows),
4121 (AccessibleTable_getSelectedColumns): use it.
4123 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4126 Added a TODO list (rough and short for now).
4128 * cspi/spi_hyperlink.c:
4129 * cspi/spi_hypertext.c:
4130 Fixed macro name typos, and remove use of obsolete macro in
4131 AccessibleHyperlink_getLink.
4133 * cspi/spi_action.c:
4134 * cspi/spi_accessible.c:
4135 * cspi/spi_application.c:
4136 * cspi/spi_component.c:
4137 * cspi/spi_selection.c:
4140 Documentation fixes (removed return values from ref/unref methods).
4142 2001-12-10 Michael Meeks <michael@ximian.com>
4144 * cspi/spi_action.c: audit for exception handling,
4145 tolerating NULL object references safely etc.
4147 * cspi/spi_accessible.c: ditto.
4149 * cspi/spi_component.c: ditto.
4151 * cspi/spi_editabletext.c: ditto.
4153 * cspi/spi_hyperlink.c: ditto.
4155 * cspi/spi_hypertext.c: ditto.
4157 * cspi/spi_image.c: ditto.
4159 * cspi/spi_selection.c: ditto.
4161 2001-12-10 Michael Meeks <michael@ximian.com>
4163 * configure.in: use cspi/libspi.pc.in instead.
4165 * Makefile.am (pkgconfig_DATA): upd. to match.
4167 * test/simple-at.c (report_focus_event): kill hacks around
4168 bad return values, use putenv not setenv
4170 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4171 fire ChildGone - I killed it.
4173 * libspi/component.c
4174 (impl_accessibility_component_get_extents): remove
4177 * idl/Accessible.idl: kill ChildGone exception.
4179 * cspi/*.[ch]: kill int return from ref / unref.
4181 * cspi/spi_main.c (cspi_object_add_check): fold into
4182 (cspi_object_add): here.
4184 * cspi/spi_component.c (AccessibleComponent_getExtents):
4185 handle exceptions elegantly.
4187 * cspi/spi-private.h (cspi_check_ev_return),
4188 (cspi_return_if_fail): impl.
4190 * cspi/spi_accessible.c: use extensively.
4191 (AccessibleStateSet_equals): add direct compare check.
4193 * cspi/spi_selection.c: tolerate NULL objs, and check
4194 exceptions before return.
4196 * cspi/spi-util.c (cspi_warn_ev): rename to
4197 (cspi_check_ev): this & don't pass ev in; no point.
4199 2001-12-10 Michael Meeks <michael@ximian.com>
4201 * test/test-simple.c: use putenv not setenv
4202 (get_environment_vars): more chatty if you're not using
4205 * test/simple-at.c: do the setenv so more people see the
4208 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4210 * libspi/registry.c:
4211 Changed check of CORBA_environment on notification to be a warning
4212 instead of an error for the moment, since we can recover from this
4213 error when caused by a queued notification from a dead app.
4216 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4217 used by all current implementors of AtkValue), and coerce to
4218 CORBA_float. (Proper general case fix may require change to Value.idl).
4220 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4224 * cspi/spi_accessible.c:
4225 Documentation fixes: added user_data params to documentation for
4226 listeners and callbacks.
4228 * cspi/spi_accessible.c:
4229 Changed AccessibleStateSet_compare to return a
4230 StateSet rather than return the difference set into a third parameter.
4233 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4236 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4237 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4241 Remove subdirectory po from SUBDIRS for now.
4243 * at-bridge/bridge.c:
4244 Beefed up a couple of debug printouts.
4245 One-line fix for signal notification name formatting.
4247 * libspi/accessible.c:
4248 Added assertion to spi_accessible_new ().
4250 * libspi/application.c:
4251 Put #ifdef qualifiers around a printf.
4254 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4256 * registryd/Makefile.am:
4258 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4259 INTLTOOL_SERVER_RULE macro.
4262 Added an event listener for several ATK signals, for
4263 testing and debugging. Removed a few g_warnings.
4264 Added test output if focussed item implements the Value interface.
4266 * test/test-simple.c:
4267 Added test_value () function (known not to pass at the moment, so
4268 not actually called yet.
4270 2001-12-08 Michael Meeks <michael@ximian.com>
4272 * at-bridge/bridge.c (bridge_focus_tracker),
4273 (emit_eventv): fix the same ref. leak.
4274 (register_atk_event_listeners): don't leak.
4276 * cspi/spi-listener-impl.c (cspi_event): more
4277 protection from client code.
4279 * test/test-simple.c (test_desktop): unref the app.
4281 * test/Makefile.am: upd. TESTS.
4283 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4285 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4287 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4289 * cspi/spi_registry.c: constify in strings.
4290 (deregisterGlobalEventListenerAll): don't release the ref.
4292 * cspi/spi.h: start removing redundant / conflicting
4293 gtkdoc comments, making the API readable at a glance :-)
4295 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4297 * test/keysynth-demo.c (keysynth_exit, main): upd.
4299 * test/simple-at.c (main, simple_at_exit): upd.
4301 * test/test-simple.c (unutterable_horror): kill.
4302 (utterable_normal_derefs): kill.
4303 (main): upd & do a setenv before gtk_init, so that we
4304 can use memprof - and to save the pain of remembering
4305 this, if we're running under memprof - don't exit.
4307 * cspi/spi_main.c (SPI_exit): return exit status
4309 (SPI_event_quit): impl.
4310 (SPI_event_main): simplify.
4311 (cspi_is_gnome_app): kill.
4312 (SPI_init): kill isGNOMEapp arg.
4314 * at-bridge/bridge.c (register_atk_event_listeners):
4315 re-instate the unref.
4316 (bridge_exit_func): don't re-activate the registry,
4317 protect vs. theoretical re-entry, use the
4318 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4319 assert a clean shutdown - for regression tests.
4321 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4323 * configure.in: Comment out dummy i18n support for now,
4324 otherwise it fails to build.
4325 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4326 EXTRA_DIST. They are missing in tarball.
4328 2001-12-07 Michael Meeks <michael@ximian.com>
4330 * util/magnifier.c: kill bonobo activation reg. race.
4332 * libspi/component.c
4333 (impl_accessibility_component_get_extents): make it match
4336 * libspi/registry.c (_registry_notify_listeners):
4337 re-remove X headers & reconcile conflicts.
4338 (spi_listener_struct_free): bad conflict resolve.
4339 (impl_accessibility_registry_register_application):
4340 more bad merging fixed.
4341 (impl_accessibility_registry_deregister_application): ditto.
4342 (spi_registry_new): ditto.
4343 (spi_registry_init): don't have an applications field.
4345 [ merge fixups2 branch to here ]
4346 2001-12-07 Michael Meeks <michael@ximian.com>
4348 * test/simple-at.c (report_focus_event),
4349 (report_focussed_accessible): remove g_warning debug.
4351 2001-12-07 Michael Meeks <michael@ximian.com>
4353 * test/test-simple.c (validate_tree): comment out some checks.
4354 (test_desktop): app now not registered idly - horay.
4356 2001-12-07 Michael Meeks <michael@ximian.com>
4358 * cspi/spi_registry.c
4359 (registerAccessibleKeystrokeListener): clean, stop it leaking
4360 great swathes of memory, and device event controller references.
4361 ensure we always pass valid sequences.
4362 (deregisterAccessibleKeystrokeListener): ditto.
4363 (generateKeyEvent): upd.
4365 * at-bridge/bridge.c (bridge_key_listener): handle
4366 registry dead exception gracefully.
4367 (bridge_focus_tracker, emit_eventv): free ev.
4369 * test/simple-at.c (report_focus_event): fix polarity.
4371 * libspi/application.c (notify_listeners): kill the ev
4372 argument, and make sure we init the ev we use.
4373 (spi_application_object_event_listener): split out a chunk
4374 (get_atk_object_ref): here & fixup.
4375 (reverse_lookup_name_for_toolkit_event): make const.
4376 (spi_application_toolkit_event_listener): fixup, kill leaks
4379 * at-bridge/bridge.c (register_atk_event_listeners):
4380 don't unref the noop object - causes grief.
4382 * libspi/registry.c: remove the X headers.
4383 turn off the debug churn.
4385 * libspi/accessible.c (spi_accessible_new_return): only
4386 release the ref if we are supposed to [doh]
4388 * test/simple-at.c (report_button_press, report_focus_event):
4389 guard vs. unexpected exit.
4391 * at-bridge/bridge.c (gtk_module_init): prune printf.
4392 (bridge_exit_func): fix app unref.
4394 * libspi/Makefile.am: don't install registry or desktop.h
4396 * libspi/*.h: update includes.
4398 * libspi/application.h: don't include ourself, or
4399 other redundant headers.
4401 2001-12-06 Michael Meeks <michael@ximian.com>
4403 * libspi/accessible.c
4404 (get_accessible_from_servant): impl.
4405 Upd. all CORBA impl.s to use it killing cut and paste.
4407 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4409 (SPI_init): register atexit cleanup handler here.
4411 2001-12-06 Michael Meeks <michael@ximian.com>
4413 * at-bridge/bridge.c (gtk_module_init): g_error on
4414 activation exception
4416 2001-12-06 Michael Meeks <michael@ximian.com>
4418 * at-bridge/bridge.c (gtk_module_init): some sort of
4419 confusing merge clash - reverted.
4420 (bridge_idle_init): ditto.
4422 * test/test-simple.c (main, utterable_normal_derefs):
4423 merge from Bill - somehow not committed.
4425 2001-12-06 Michael Meeks <michael@ximian.com>
4427 * libspi/value.c (spi_value_class_init): upd.
4428 (spi_value_finalize): kill.
4430 * libspi/table.c (spi_table_finalize): kill.
4431 (spi_table_interface_new): upd.
4432 (spi_table_class_init): upd.
4433 (get_table_from_servant): impl.
4434 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4436 * libspi/selection.c (spi_selection_finalize): kill.
4437 (spi_selection_interface_new): upd.
4438 (spi_selection_class_init): upd.
4439 (get_selection_from_servant): impl.
4440 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4442 * libspi/relation.c (spi_relation_finalize): kill.
4443 (spi_relation_class_init, spi_relation_new): upd
4445 * libspi/image.c (spi_image_finalize): kill.
4446 (spi_image_class_init): upd.
4447 (spi_image_interface_new): upd.
4448 (get_image_from_servant): impl.
4449 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4451 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4452 (spi_hyperlink_finalize): kill.
4453 (spi_hyperlink_new): upd.
4454 (get_hyperlink_from_servant): impl.
4455 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4457 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4458 (spi_hypertext_finalize): kill.
4459 (spi_hypertext_class_init): upd.
4460 (get_hypertext_from_servant): impl.
4461 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4463 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4464 (spi_editable_text_interface_new): upd.
4465 (get_editable_text_from_servant): impl.
4466 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4468 * libspi/text.c (get_text_from_servant): impl.
4469 All impls - update to use it killing more cut and paste,
4470 also fix bad string returns on duff args ( a somewhat
4471 impossible case to handle - but hey ).
4472 (spi_text_construct): impl.
4473 (spi_text_interface_new): upd.
4474 (spi_text_object_finalize): kill.
4476 * libspi/component.c
4477 (accessibility_component_object_finalize): kill.
4478 (spi_component_class_init): upd.
4479 (get_component_from_servant): impl. helper to kill cut & paste.
4480 (impl_accessibility_component_contains):
4481 (impl_accessibility_component_get_accessible_at_point):
4482 (impl_accessibility_component_get_position):
4483 (impl_accessibility_component_get_extents):
4484 (impl_accessibility_component_get_mdi_z_order):
4485 (impl_accessibility_component_get_layer):
4486 (spi_component_interface_new): upd.
4488 * libspi/action.c (spi_action_finalize): kill.
4489 (spi_action_class_init): upd. inherit from SpiObject.
4490 (spi_action_interface_new): upd.
4491 (get_action_from_servant): impl. helper to reduce cut & paste.
4492 (impl_getKeyBinding, impl_getName, impl_doAction),
4493 (impl_getDescription): Use it everywhere.
4495 * cspi/spi_main.c (get_live_refs): a pointer hash.
4496 (spi_object_hash, spi_object_equal): comment out.
4497 There are issues with CORBA object hashing that need
4500 * libspi/application.c (spi_application_init),
4501 (spi_application_new): upd.
4503 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4504 (spi_accessible_class_init): upd.
4505 s/accessible/object/ in epv methods.
4507 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4509 * at-bridge/bridge.c:
4510 Reorder the bridge initialization into the bridge gtk_module_init,
4511 an immediate call to bridge_register_app, and an idle_add for
4512 register_atk_event_listeners (the only code that *must* wait until
4513 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4514 the activation, creates the application's Accessible object, and
4515 queues the bridge_idle_init function. Restored call to
4516 Accessibility_Registry_deregisterApplication().
4517 Prior to making this call we obtain a new reference to the
4518 registry, which is a temporary hack that helps us handle apps that
4519 shut down the bonobo mainloop before we get there.
4521 * libspi/registry.c:
4522 Fix string leakage in debug block, and don't segv if a an app
4523 dies before its event notifications have been propagated.
4526 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4527 as stopgap measure until we get proper exception handling when
4528 objects die during or before interrogation.
4532 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4533 Also changed default value of is_gnome_app to TRUE.
4536 * test/keysynth-demo.c:
4537 Changed use of SPI_init and SPI_event_main to reflect API change above.
4540 Made report_focus_event check the warning value from getName
4541 before reporting on focussed accessible; simplifies handling of
4542 notifications from dead objects.
4544 * test/test-simple.c: (Changes not in this patch since source is
4547 2001-12-05 Michael Meeks <michael@ximian.com>
4549 * registryd/registryd.c (main): protect against
4550 bonobo-activation startup race condition.
4552 * cspi/spi_main.c (cspi_object_add_check): cope
4553 with the exception elegantly.
4555 * idl/Accessible.idl: decl. ChildGone
4557 * libspi/desktop.c (spi_desktop_dispose): impl.
4558 (spi_desktop_class_init): upd.
4559 (spi_desktop_add_application),
4560 (spi_desktop_remove_application),
4561 (abnormal_application_termination): impl.
4562 (impl_desktop_get_child_at_index): re-impl.
4565 (impl_accessibility_registry_deregister_application),
4566 (impl_accessibility_registry_register_application):
4567 kill excessive debug clutter.
4569 * test/test-simple.c (test_misc): test some NULL
4570 tolerance. (main): upd.
4572 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4573 implements no interfaces - so let's not crash.
4575 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4577 * libspi/accessible.c (spi_accessible_new_return): impl.
4578 helper to calm the cut and paste, to cope with
4579 NULL AtkObjects effectively and efficiently, and to kill
4580 the referencing bugs.
4582 * libspi/table.c (impl_getAccessibleAt),
4583 (impl_getRowHeader, impl_getColumnHeader): upd.
4585 * libspi/hyperlink.c (impl_getObject): upd.
4587 * libspi/accessible.c
4588 (impl_accessibility_accessible_get_child_at_index): upd.
4590 * libspi/component.c
4591 (impl_accessibility_component_get_accessible_at_point): upd.
4593 * test/test-simple.c (test_editable_text, test_text): impl.
4596 * cspi/spi_editabletext.c
4597 (AccessibleEditableText_insertText): constify.
4599 * test/test-simple.c (focus_me): make more robust.
4601 * libspi/accessible.c: remove some printfs in methods that
4602 we test and work fine, so we can get a clean tree dump.
4604 * test/test-simple.c (validate_accessible),
4605 (validate_tree): make tree dumping pretty too.
4607 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4608 it builds without debug on.
4610 * test/test-simple.c (validate_accessible): fix the most
4613 * cspi/spi_main.c (spi_object_release): leave the nicely
4614 blanked memory around if in debug mode.
4616 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4618 [committed to fixups2]
4619 2001-12-05 Michael Meeks <michael@ximian.com>
4621 * libspi/editabletext.c
4622 (spi_editable_text_class_init): g_type_class_peek_parent,
4623 not interface peek - so we finalize cleanly.
4625 * libspi/accessible.c (spi_accessible_new): kill debug.
4627 * test/test-simple.c (validate_accessible): fix ref.
4628 leak, print strings before freeing them; sigh, comment a
4629 chunk out due to strangeness.
4630 (validate_tree): unref the child after use.
4632 * cspi/spi_component.c (AccessibleComponent_getLayer):
4633 add missing break statement, switch on zlayer not the
4634 uninitialized retval.
4636 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4637 before (possibly re-entering) remote unref.
4639 * test/simple-at.c (main): unref the desktop.
4641 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4644 * cspi/spi_main.c (cspi_accessible_is_a): here to
4645 isolate bonobo API usage more.
4647 * libspi/registry.c (impl_accessibility_registry_register_application):
4648 prune bogus comment.
4650 2001-12-04 Michael Meeks <michael@ximian.com>
4652 * test/test-simple.c (validate_tree): upd.
4653 IndexInParent check to make it more lucid.
4654 (validate_accessible): dump the tree.
4656 * libspi/accessible.c (de_register_public_ref),
4657 (get_public_refs): impl.
4658 (spi_accessible_new): make more efficient & intuitive.
4659 Now IndexInParent check works.
4661 2001-12-04 Michael Meeks <michael@ximian.com>
4663 * cspi/spi-util.h: remove.
4665 * cspi/spi.h: move SPI_freeString here
4667 * libspi/component.c (impl_accessibility_component_get_layer):
4669 (impl_accessibility_component_get_mdi_z_order): ditto,
4670 return -1 on error - is this ok ?
4672 * test/test-simple.c (test_application): impl.
4674 * cspi/spi_accessible.c (Accessible_getApplication),
4675 (Accessible_isApplication): impl.
4677 * libspi/registry.c (spi_listener_struct_free): release
4678 the CORBA reference too.
4680 * libspi/accessible.c
4681 (impl_accessibility_accessible_get_parent): fix ref leak.
4683 * libspi/registry.c (spi_registry_new): make the registry
4684 immortal - we don't want it to go away ever.
4686 * libspi/application.c
4687 (spi_accessible_application_finalize): impl. cleanup.
4689 * cspi/spi_registry.c
4690 (deregisterGlobalEventListenerAll),
4691 (deregisterGlobalEventListener),
4692 (deregisterAccessibleKeystrokeListener): fix ref leak.
4694 * cspi/spi_main.c (SPI_init): remove redundant ref.
4696 * test/test-simple.c (unutterable_horror): impl. to force a
4701 (impl_accessibility_registry_deregister_application): release
4702 the application when we de-register it.
4704 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4705 until we have the infastructure to get it right.
4707 2001-12-03 Michael Meeks <michael@ximian.com>
4709 * libspi/Makefile.am: only build eventlistener.[ch]
4711 * libspi/accessible.c
4712 (impl_accessibility_accessible_get_child_at_index): don't leak.
4714 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4715 before we hit the idle handler.
4717 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4718 debugging than exit.
4720 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4722 * libspi/listener.c (impl_notify_event): check source
4723 not NIL before unref.
4725 * libspi/registry.c (impl_registry_notify_event): ditto.
4727 * libspi/eventlistener.c
4728 (impl_accessible_event_notify_event): unref the source.
4730 * libspi/accessibleeventlistener.c
4731 (impl_accessible_event_notify_event): unref the source.
4733 * idl/Event.idl: remove 'hash_id' attribute - of no
4736 * libspi/application.c (notify_listeners): upd list
4738 (spi_application_object_event_listener),
4739 (spi_application_toolkit_event_listener): upd to do correct
4743 (_registry_notify_listeners): update.
4744 (parse_event_type): this method also leaks like a sieve.
4745 (impl_accessibility_registry_deregister_global_event_listener):
4746 fix ETYPE_WINDOW case.
4748 * libspi/application.c
4749 (impl_accessibility_application_register_object_event_listener):
4752 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4754 * libspi/hypertext.c (impl_getLink): ditto.
4756 * cspi/spi_main.c (cspi_object_add): remove
4757 bogus CORBA_Object_duplicate.
4759 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4762 * cspi/spi_accessible.c
4763 (Accessible_getRelationSet): fix leak / referencing issue.
4765 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4766 (cspi_object_add, cspi_object_unref): upd.
4767 (spi_object_release, get_live_refs): impl.
4768 (cspi_cleanup): simplify.
4770 * *.[ch]: s/boolean/SpiBoolean/
4772 * cspi/spi_accessible.c (role_names): actualy order so it
4773 corresponds with the enum !
4775 * test/test-simple.c (test_roles): check some role strings
4776 vs. enums to detect offset errors.
4778 2001-12-01 Michael Meeks <michael@ximian.com>
4780 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4782 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4784 (Accessible_getChildAtIndex): use cspi_add_check so we
4785 check the ev before using a (possibly) invalid value.
4787 * libspi/accessible.c
4788 (impl_accessibility_accessible_get_parent): don't segv
4791 * at-bridge/bridge.c (gtk_module_init): upd.
4792 (bridge_property_event_listener): don't leak strings
4794 (bridge_state_event_listener),
4795 (bridge_property_event_listener): don't use a static
4796 buffer in case of recursive event emission &
4797 re-enterancy - split out the swathe of cut and paste
4799 (emit_eventv): and fix 2 ref leaks here & comply to the
4801 (bridge_register_app): rename to
4802 (bridge_idle_init): this and kill arg parsing, split
4803 various inits & bonobo-activation registration to module
4804 init time, kill referencing error.
4805 (bridge_exit_func): fix the same leak.
4806 (bridge_focus_tracker): don't leak event structures
4808 (bridge_signal_listener): more leakage and cut & paste
4810 (bridge_key_listener): return the result - FIXME is
4811 this polarity correct ?
4812 (accessibility_keystroke_from_atk_key_event): rename
4813 (accessibility_init_keystroke_from_atk_key_event): and stop
4815 (gtk_module_init): return a value - not that it is checked by
4817 (bridge_key_listener): register my horror at casting between
4818 IDL defined structs.
4819 (bridge_get_registry): kill - not used.
4821 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4823 * test/test-simple.c (test_roles): impl.
4824 (test_desktop, validate_accessible, validate_tree): impl.
4826 * cspi/spi_accessible.c (role_names): fixup bogus
4827 MAX_ROLES setup, make constants const for efficient linkage
4828 (AccessibleRole_getName): conform to coding style, make
4831 2001-11-30 Michael Meeks <michael@ximian.com>
4833 * cspi/spi.h: add missing prototype.
4835 * libspi/registry.c (spi_listener_struct_new): fix sig.
4837 * test/Makefile.am: add test-simple
4839 * test/test-simple.c: add
4841 * test/test.sh: add.
4843 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4845 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4846 do it straight - since otherwise we often get an activation race.
4848 [ work before Bill duplicated a chunk of it ... ]
4849 2001-11-30 Michael Meeks <michael@ximian.com>
4851 * libspi/keystrokelistener.c
4852 (spi_keystroke_listener_class_init): fixup arg
4855 * libspi/eventlistener.c
4856 (spi_event_listener_class_init): ditto.
4858 * tests/test.sh: add.
4860 * cspi/spi-listener-impl.h: update macros.
4862 * cspi/spi-listener-impl.c
4863 (cspi_event_listener_remove_callback): add
4864 correct pre-conditions.
4866 * cspi/spi_main.c (SPI_exit): guard vs. double
4867 exits, exit the mainloop nicely.
4868 (SPI_event_main): make more sense.
4869 (SPI_init): move the atexit evilness here so we
4870 always do it (yuck).
4871 (SPI_event_main): upd.
4873 * test/simple-at.c: update for listener changes.
4875 * registryd/registryd.c (main): prune kruft.
4877 * libspi/libspi.h: upd.
4879 * libspi/eventlistener.[ch]: rename broken macros.
4881 * libspi/accessibleeventlistener.[ch]: remove.
4883 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4885 * test/test-simple.c: Add - automated tests.
4887 * cspi/spi-listener-impl.c (cspi_event),
4888 (cspi_key_event): add user_data to invoke.
4889 (cspi_keystroke_listener_finalize): impl.
4890 (cspi_keystroke_listener_class_init): upd.
4893 (createAccessibleEventListener),
4894 (AccessibleEventListener_addCallback),
4895 (createAccessibleKeystrokeListener),
4896 (AccessibleKeystrokeListener_addCallback): upd.
4898 * libspi/deviceeventcontroller.c
4899 (spi_device_event_controller_check_key_event): add public proto.
4902 (impl_accessibility_registry_deregister_global_event_listener):
4903 always init listeners.
4904 (_registry_notify_listeners): yes it is.
4906 * cspi/spi-listener-impl.c (cspi_key_event):
4908 (cspi_event_listener_finalize): impl.
4909 (cspi_event_listener_class_init): hook up.
4910 (event_handler_new, event_handler_free),
4911 (event_list_remove_by_callback): impl.
4912 (cspi_event_listener_remove_callback),
4913 (cspi_keystroke_listener_remove_callback),
4914 (cspi_keystroke_listener_add_callback),
4915 (cspi_event_listener_add_callback): upd.
4917 * libspi/keystrokelistener.c
4918 (keystroke_listener_object_finalize): kill
4919 (spi_keystroke_listener_class_init): upd.
4920 (spi_keystroke_listener_add_callback),
4921 (spi_keystroke_listener_remove_callback): kill,
4923 (impl_key_event): prune drasticaly.
4925 * libspi/eventlistener.c
4926 (spi_event_listener_add_callback),
4927 (spi_event_listener_remove_callback): kill, use
4929 (impl_accessible_event_notify_event): upd.
4930 (spi_event_listener_object_finalize): remove.
4932 * libspi/Makefile.am: use eventlistener.[ch]
4934 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4936 * libspi/registry.c (_registry_notify_listeners):
4937 Changed listener loop iteration to use preferred convention.
4938 Got rid of string memory leaks caused be calling g_strconcat
4939 inside function calls.
4941 * libspi/registry.c (parse_event_type):
4942 Stopped g_strconcat memory leaks, free the g_strsplit return,
4943 g_strdup the split pieces when used, etc.
4945 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4948 Change method 'compare' to return a 'difference set' rather than
4949 taking a StateSet as an out parameter (more Java-friendly).
4951 * idl/Accessible.idl:
4952 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4954 * idl/Component.idl:
4956 Changed methods 'getExtents' and 'getImageExtents' in these
4957 interfaces to return a BoundingBox structure.
4958 (getPosition and getSize are redundant and possibly should be
4959 removed, rather than creating a corresponding Point struct.)
4961 * cspi/spi_component.c:
4962 Modify implementation of getExtents to reflect the above IDL
4967 Add (missing) AccessibleImage_getExtents () API.
4969 * docs/reference/cspi/at-spi-cspi-sections.txt:
4970 Added AccessibleImage_getImageExtents () to docs.
4972 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4974 * idl/Component.idl:
4975 Added two methods, getLayer () and getMDIZOrder (), to reflect
4976 the new ATK methods atk_object_get_layer and
4977 atk_object_get_mdi_z_order. (Which arguably should be part of the
4978 AtkComponent API and AtkObject). Also added an enum,
4979 ComponentLayer, for the first method's return value.
4981 * libspi/component.c:
4982 Added implementations for these methods.
4984 * cspi/spi_component.c:
4986 Added cspi binding methods for above,
4987 AccessibleComponent_getLayer() and
4988 AccessibleComponent_getMDIZOrder().
4989 Added cspi enum 'AccessibleComponentLayer'.
4991 * docs/reference/cspi/at-spi-cspi-sections.txt:
4992 Added above methods to docs.
4996 Changed typedef for 'boolean' type (and all references to it) to
4997 SPIBoolean, to avoid keyword clashes with C++.
5000 Changed usages of 'boolean' to SPIBoolean.
5002 * test/keysynth-demo.c:
5003 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5004 app), except where SPIBoolean is required by the callbacks API.
5006 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5008 * cspi/spi_registry.c:
5009 Removed obsolete X event loop for passive keygrabs (which now
5012 * registryd/registryd.c:
5013 Removed unnecessary call to gdk_init() [cruft]. This also allows
5014 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5017 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5019 * docs/reference/cspi:
5020 Included docs for SPI_freeString in generated documentation.
5023 Renamed spi_freeString to SPI_freeString, for consistency. Added
5024 documentation for this function.
5027 Renamed spi_freeString to SPI_freeString, for consistency.
5028 Removed obsolete method declaration string_from_corba_string.
5030 * test/keysynth-demo.c:
5031 Small tweak to comments.
5034 Stopped leaking the strings returned from CSPI.
5036 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5038 Merged Michael's branch (see his ChangeLog entries below).
5040 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5041 bridge is alive, release on exit.
5043 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5044 Fix type check macro.
5047 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5050 Added is_gnome_app static, and method cspi_is_gnome_app(),
5051 so we can call the appropriate shutdown routine at exit in SPI_exit.
5053 * cspi/spi_main.c (cspi_object_ref):
5054 Duplicate the corba object passed in, since we're keeping it around.
5056 * cspi/SPI_exit.c, cspi_cleanup:
5057 Moved the releasing of the live refs to its own function, so we
5058 can put it in g_atexit (). Call the appropriate shutdown API
5059 depending on whethe calling client is a gnome app or not
5060 (bonobo_main_quit or CORBA_ORB_shutdown).
5062 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5063 Unref the listener when this method is called, after
5064 deregistration. Updated the API docs to note this behavior.
5066 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5067 Bugfixes: Ref the bonobo object when returning a parent or child
5068 reference, or an AccessibleRelation. Generally made sure
5069 BonoboObject refcount is incremented whenever we return an
5072 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5073 Fixed typo/bug in signal declaration.
5075 * libspi/accessibleeventlistener.h:
5078 * libspi/application.c (spi_application_new):
5079 Fixed leak in initialization.
5082 Remembered to increment bonobo-object refcount when returning
5083 children (applications) from desktop object.
5084 Added (empty) finalize method.
5086 * libspi/deviceeventcontroller.c:
5087 Hold a ref to listeners inside DEControllerKeyListeners.
5088 Added dec_key_listener_free() method. Use prepend instead of
5089 append in key_listener list. Fixed some refcount madness and
5090 leaks in the listener registration/deregistration - deregistration
5091 now calls dec_key_listener_free() on listeners, and on the
5092 temporarily constructed dec_key_listener() used to perform the search/match.
5094 * libspi/hypertext.c (spi_hypertest_finalize):
5095 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5096 class. Also fixed spi_hypertext_interface_new() and
5097 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5099 * libspi/hypertext.h:
5100 Removed pointless and duplicate AtkObject pointer from
5103 * libspi/keystrokelistener.c:
5104 Fixed incorrect type of keystroke_listener_parent_class,
5105 renamed keystroke_listener_object_finalize to
5106 spi_keystroke_listener_object_finalize.
5107 Fixed typo in signal declaration
5108 (spi_keystroke_listener_class_init).
5110 * libspi/registry.c:
5111 Added funcsions spi_listener_struct_new() and
5112 spi_listener_struct_free() to help with memory management issues.
5113 We also now use these methods instead of gnew + poking stuff into
5114 the struct, and to decrement listener counts/free the listeners
5115 when deregistering them.
5116 Fix more refcount bugs in getDesktop() and
5117 getDeviceEventController().
5120 De-ref the desktop after enumerating the applications. Explicitly
5121 decrement the refcounts on the created listeners on exit (using
5122 _unref for keystroke listeners, and via the
5123 deregisterGlobalEventListenerAll command for other event
5126 2001-11-27 Michael Meeks <michael@ximian.com>
5128 * cspi/spi-listener.h: fixup enum.
5130 2001-11-27 Michael Meeks <michael@ximian.com>
5132 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5133 (cspi_keystroke_listener_new): Use the cspi variants.
5135 2001-11-26 Michael Meeks <michael@ximian.com>
5137 * test/keysynth-demo.c: fix 2 compile warnings, missing
5140 * test/simple-at.c (report_focussed_accessible),
5141 (report_focus_event, report_button_press),
5142 (check_property_change, is_command_key),
5143 (report_ordinary_key_event, report_command_key_event): upd.
5145 * util/mag_client.h: include pre-requisites.
5147 * libspi/accessibleeventlistener.c
5148 (spi_event_listener_object_finalize): free any lingering
5151 * libspi/keystrokelistener.c
5152 (keystroke_listener_object_finalize): ditto.
5154 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5155 callbacks, with cspi types.
5157 * cspi/spi_event.c (createAccessibleEventListener): chain to
5158 (AccessibleEventListener_addCallback): here.
5159 (createAccessibleKeystrokeListener): chain to
5160 (AccessibleKeystrokeListener_addCallback): here.
5162 * libspi/keystrokelistener.c
5163 (spi_keystroke_listener_class_init): add signal.
5164 (impl_key_event): emit the event.
5165 (boolean_handled_accumulator): impl.
5166 (marshal_BOOLEAN__POINTER): add, gack.
5168 * libspi/accessibleeventlistener.c
5169 (spi_event_listener_class_init): add signal.
5170 (impl_accessible_event_notify_event): emit the signal &
5171 make the loop efficient.
5172 (spi_event_listener_add_callback): prepend the callback.
5174 * libspi/accessibleeventlistener.h: add an 'event' signal,
5175 decl type on callback.
5177 * libspi/keystrokelistener.h: ditto.
5179 * cspi/spi-listener.h: make methods typesafe and
5180 make them use the new event typedefs.
5182 * test/simple-at.c (report_focussed_accessible):
5183 include mag_client.h
5184 Use *(void *)text_interface not the other thing.
5186 * configure.in: add gtk to registryd bits - since we use
5189 * util/magnifier.c: include libbonobo.h
5191 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5193 * test/keysynth-demo.c:
5194 Turned this into a simple scanning keyboard, to demonstrate the
5195 use of g_timeout_add () as a means of creating timers for
5196 scanning, and the use of GtkStyle for visually indicating when
5197 virtual keyboard elements are selected.
5199 keysynth-demo now listens to any keyboard keys with zero-valued
5200 keycodes (i.e. 'unused' keys) and interprets them as
5203 Reworked the shiftlatch code so that shift-down state isn't held
5204 for long periods (it's only synthesized immediately prior to
5205 the keysynth event it's modifying). Note that shiftlatch in this
5206 demo is a convenience, not intended to take the place of AccessX
5207 which is the better choice for getting 'sticky' modifier keys.
5209 * libspi/deviceeventcontroller.c:
5210 * at-bridge/bridge.c:
5211 * cspi/spi_registry.c:
5212 Removed some debug print stuff, and put other verbosity in #ifdef
5217 Implemented some more of the magnifier IDL for the simple
5218 magnifier: namely, getZoomRegionParams.
5219 Added mag_x and mag_y members to MagnifierData struct, aid of this
5221 Added GtkWindow::realize signal handler to magnifier, to keep it
5222 from receiving keyboard focus from the WM.
5224 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5226 * cspi/spi-private.h: my guess at what michael forgot
5227 before he ran off to NZ :-)
5229 2001-11-23 Michael Meeks <michael@ximian.com>
5231 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5232 comment out non existant method invoke so we link.
5234 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5235 use bonobo_exception_get_text for more friendly warnings.
5237 * cspi/spi.c (Obj_Add): move into spi_main & rename
5238 spi_object_add; kill spi.c
5240 * cspi/spi_registry.c
5241 (deregisterGlobalEventListener),
5242 (deregisterGlobalEventListenerAll),
5243 (registerGlobalEventListener): fix exception leaks.
5245 * cspi/spi_main.c (spi_exception): impl. helper, so we
5246 don't leak exceptions.
5248 * cspi/spi_selection.c
5249 (AccessibleSelection_deselectSelectedChild): return the
5252 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5253 (spi_registry): ditto.
5254 (SPI_init): guard against double inits.
5256 * cspi/*.c: use spi_ev (), and spi_registry () where
5257 appropriate - a temporary hack until we have something
5258 better. Use spi_object_add
5260 2001-11-22 Michael Meeks <michael@ximian.com>
5262 * cspi/Makefile.am: re organise, install the headers.
5264 * cspi/*.h: add G_BEGIN/END_DECLS
5266 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5269 Added non-preemptive keylistener for key events with no modifiers
5270 and shift-only modifier.
5272 * libspi/keystrokelistener.c:
5273 Removed some verbose diagnostics printout.
5275 * cspi/spi_registry.c:
5276 Fixed a bug that caused all key listeners to be registered as
5279 * libspi/deviceeventcontroller.c:
5280 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5281 for non-preemptive key masks.
5284 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5286 * docs/reference/idl/at-spi-idl-docs.sgml:
5287 * docs/reference/idl/at-spi-idl-sections.txt:
5288 * docs/reference/idl/at-spi-idl-overrides.txt:
5289 Added missing files.
5291 * docs/reference/Makefile.am:
5292 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5293 to scan the IDL files :-(
5298 Added .cvsignore files.
5300 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5302 * libspi/deviceeventcontroller.c:
5303 * libspi/keystrokelistener.c:
5305 * cspi/spi_registry.c:
5306 Added filters for KeySets, KeyEventSeq, and event types to key
5307 event dispatching, so listeners should only receive those events
5308 that they requested :-)
5310 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5315 * docs/reference:Makefile.am:
5316 * docs/reference/cspi:
5317 * docs/reference/cspi:Makefile.am:
5318 * docs/reference/cspi:tmpl:
5319 * docs/reference/cspi:tmpl:*.sgml:
5320 * docs/reference/idl:
5321 * docs/reference/idl:Makefile.am:
5322 * docs/reference/idl:at-spi-idl-sections.txt:
5323 * docs/reference/idl:at-spi-idl-docs.sgml:
5324 * docs/reference/idl:tmpl:
5325 * docs/reference/idl:tmpl:*.sgml:
5327 Restructured docs directory to allow separate 'reference' docs
5328 section, and forked idl and cspi docs. Added the sgml template
5329 files to CVS. Added the first sections/structural sgml for the
5332 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5334 * configure.in, libspi/Makefile.am: find libXtst.
5336 2001-11-21 Michael Meeks <michael@ximian.com>
5338 * test/accessx-gui.c: s/spi_value/value/ - doh.
5340 * libspi/base.[ch]: add.
5342 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5344 * idl/Accessible.idl:
5345 * idl/Application.idl:
5348 Started gtk-doc cleanup on IDL.
5350 * libspi/deviceeventcontroller.c:
5351 Added and connected non-preemptive key notification from the
5352 toolkits (in addition to the pre-emptive support from XServer
5353 which we had before, but which causes 'focus flashing'). Filters
5354 are presently limited to key modifiers and global/non-global,
5355 KeySets are presently ignored, as are KeyEvent masks.
5357 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5358 structs into the persistant structure rather than just storing
5359 pointers to things that might not persist across servant
5362 The XGrabKey call now does async keygrabs, because synchronous
5363 ones were deadlocking with GDK_event code in a very nasty way.
5365 Added boolean to internal method notify_keylisteners, to indicate
5366 whether the event came from the 'toolkit source' or the 'global
5367 (XServer) source' - this is used in the notification process to
5368 determine which listeners to send the event to.
5370 deviceeventcontroller.c is now warning-free.
5372 * libspi/registry.c:
5373 Fixed regression in application de-registration.
5374 Also fixed some really brain-dead weirdness having to do with
5375 event dispatching - event structs are now duplicated before being
5376 re-marshalled in the dispatch to listeners. This also fixes a
5377 Solaris build problem.
5380 2001-11-20 Michael Meeks <michael@ximian.com>
5383 (impl_accessibility_registry_deregister_global_event_listener):
5386 * libspi/deviceeventcontroller.c
5387 (spi_device_event_controller_check_key_event): return
5388 FALSE on no virtual method.
5390 * libspi/*..h: make includes work on a correctly pathed install.
5392 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5394 * libspi/application.h: kill unused ( and whacked out )
5395 gboolean *spi_application_set_id (AtkObject *app, long id);
5397 2001-11-20 Michael Meeks <michael@ximian.com>
5399 * libspi/*.[ch]: further convert to bonobo's type func
5400 macros, remove redundnant casts etc.
5402 * libspi/text.c s/accessibility_text/spi_text/g,
5403 re-order to de-cruft.
5405 * libspi/hypertext.c: re-order to kill a huge slew
5406 of redundant forward decls.
5408 * libspi/relation.c: ditto.
5410 * libspi/image.c: ditto.
5412 * */.cvsignore: update
5414 2001-11-20 Michael Meeks <michael@ximian.com>
5416 * libspi/deviceeventcontroller.c
5417 (_controller_register_with_devices): use g_getenv,
5418 kill stdlib.h include.
5420 * libspi/keystrokelistener.c
5421 (spi_keystroke_listener_get_type): kill
5422 (spi_keystroke_listener_class_init),
5423 (spi_keystroke_listener_init): rename to this.
5425 * libspi/text.c (impl_getAttributes): fix warning / bug.
5427 * libspi/*.[ch]: more headers, includes and over commenting.
5429 2001-11-20 Michael Meeks <michael@ximian.com>
5431 * libspi/*.[ch]: fixup headers, includes and over commenting.
5433 * libspi/image.c (impl__get_imageDescription): const
5434 correctness warning fix. remove redundant casting.
5436 * libspi/table.c (impl_getRowDescription): ditto.
5437 (impl_getColumnDescription): ditto.
5439 * libspi/libspi.h: add.
5441 2001-11-19 Michael Meeks <michael@ximian.com>
5443 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5445 * libspi/component.c (accessibility_component_get_type):
5446 rename to (spi_component_get_type): and macroify.
5447 (accessibility_component_init): rename to
5448 (spi_component_init): this
5449 (accessibility_component_class_init): rename to
5450 (spi_component_class_init): this
5452 * libspi/action.c (spi_action_get_type): kill, use the macro.
5454 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5457 * libspi/application.c (spi_application_object_event_listener),
5458 (impl_accessibility_application_register_object_event_listener):
5459 warning fixes / const understanding updates.
5461 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5464 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5466 * libspi/spi_accessible.c: Added docs and C bindings for
5467 AccessibleStateSet. (No implementations yet). Documentation
5468 coverage for C bindings now 100%. Made docs for event listeners
5473 boolean notifyListenersSync (in DeviceEventListener listener,
5474 in DeviceEvent event);
5476 oneway void notifyListenersAsync (in DeviceEventListener listener,
5477 in DeviceEvent event);
5479 Added DeviceEventListener and DeviceEvent structs (may deprecate
5480 KeyStroke and KeystrokeListener in favor of this generic
5481 event/listener framework for devices).
5483 * libspi/deviceeventcontroller.c:
5485 Changed some key listener code to take masks, etc., and paved the
5486 way for integration of toolkit/non-preemptive key events. Changed
5487 signatures of some internal methods.
5489 * at-bridge/bridge.c:
5490 Fixed regression connecting to interface signals, apparently
5491 caused by GTK+ changes.
5493 Added an internal bridge_state_listener to deal with
5494 property-change:accessible-state signals.
5496 Changed the key_listeners GList to store structs (including masks,
5497 etc.) instead of just CORBA_Objects (required for full
5498 implementation of key listener API).
5500 Connected the bridge to all currently supported Atk signals.
5501 Events now supported:
5502 object:property-change
5503 object:property-change:accessible-name
5504 object:property-change:accessible-state
5505 object:property-change:accessible-description
5506 object:property-change:accessible-parent
5507 object:property-change:accessible-value
5508 object:property-change:accessible-role
5509 object:property-change:accessible-table-caption
5510 object:property-change:accessible-table-column-description
5511 object:property-change:accessible-table-column-header
5512 object:property-change:accessible-table-row-description
5513 object:property-change:accessible-table-row-header
5514 object:property-change:accessible-table-summary
5515 object:children-changed
5516 object:visible-data-changed
5517 object:selection-changed
5518 object:text-selection-changed
5520 object:text-caret-moved
5522 object:row-reordered
5524 object:column-inserted
5525 object:column-reordered
5526 object:column-deleted
5527 object:model-changed
5529 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5531 * libspi/hyperlink.c,h:
5532 Fixed some broken stuff in hyperlink.
5534 * libspi/relation.h:
5535 * libspi/relation.c:
5536 * cspi/spi_accessible.c:
5537 Initial implementations of AccessibleRelation methods, and docs.
5539 * libspi/accessible.c:
5540 Fixed a bug that caused SEGV if an accessible
5541 object's description is NULL, and a client
5542 requests it. An empty string is now returned.
5544 * cspi/spi_editabletext.c:
5545 * cspi/spi_hypertext.c:
5547 * cspi/spi_hyperlink.c:
5551 Doc coverage now 95%.
5553 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5555 One last namespacing revision:
5556 * libspi/accessibleeventlistener.[ch]:
5557 Renamed SpiAccessibleEventListener to SpiEventListener,
5558 (no need for two namespaces ;-)
5560 And lots of documentation fixes:
5562 * docs/at-spi-docs.sgml:
5563 Fixed 'underscore vs. hyphen' bug that was preventing
5564 the gtk-doc API docs from being automatically generated.
5567 * cspi/spi-listener.h
5569 * cspi/spi_accessible.c
5571 * cspi/spi_application.c
5572 * cspi/spi_component.c
5573 * cspi/spi_editabletext.c
5575 * cspi/spi_hypertext.c
5577 * cspi/spi_registry.c
5578 * cspi/spi_selection.c
5582 * docs/at-spi-docs.sgml
5583 * docs/at-spi-sections.txt
5585 Added and fixed up gtk-doc documentation in cspi.
5587 Interfaces now (fully) documented (subject to revision and enhancement):
5589 Event Listener Support
5591 AccessibleApplication
5595 AccessibleEditableText
5602 AccessibleRelationSet
5607 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5609 * at-bridge/bridge.c:
5610 Initial work for toolkit-level key snooper connection by bridge.
5615 New typedefs and fixes to support new namespacing, and cleaner
5616 separation of cspi bindings from libspi bonobo implementation.
5617 Removed inconsistent and extraneous Spi* namespace prefix that
5618 had crept into cspi headers.
5619 Lots of comment fixes that sed had missed.
5621 * cspi/spi-roletypes.h:
5622 * cspi/spi-statetypes.h:
5623 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5624 to AccessibleRoleType.
5626 * libspi/accessibleeventlistener.h:
5627 Fixed minor namespacing weirdness.
5629 * libspi/deviceeventcontroller.c:
5630 Reordered some internal API for device listeners.
5631 Changed the key registry final boolean to 'is_system_global'
5632 rather than 'is_synchronous', which is more descriptive of its
5634 Added spi_device_event_controller_new().
5635 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5637 * libspi/keystrokelistener.[ch]:
5638 Namespaced KeystrokeListener to SpiKeystrokeListener.
5639 Changed uses of keymasks to use SPI_ prefix, and did other
5642 * libspi/keymasks.h:
5643 Namespaced keymask constants with SPI_ prefix.
5645 * libspi/registry.c:
5646 Some warning fixes, and knock-on fixes from namespace changes.
5649 Added rules for accessx-gui test program.
5651 * test/accessx-gui.c:
5652 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5653 utility. It doesn't actually use at-spi, but it's still cool and
5656 * test/keysynth-demo.c:
5660 Fixes so that these test clients work properly with the namespaced
5661 libraries. (Incompletely tested for technical reasons, fixes may follow)
5664 2001-11-13 Michael Meeks <michael@ximian.com>
5666 * libspi/application.c
5667 (impl_accessibility_application_get_version),
5668 (impl_accessibility_application_get_toolkit_name):
5670 (impl_accessibility_application_set_id),
5671 (impl_accessibility_application_get_id): remove
5672 redundant casting code.
5674 * libspi/action.c (impl_getDescription): fix warnings.
5676 * libspi/accessible.c
5677 (impl_accessibility_accessible_get_parent),
5678 (impl_accessibility_accessible_get_child_at_index),
5679 (impl_accessibility_accessible_get_state),
5680 (impl_accessibility_accessible_get_relation_set):
5681 warning fixes & include action.h
5683 2001-11-13 Michael Meeks <michael@ximian.com>
5685 * *.[ch] fix bits I screwed up:
5687 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5688 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5690 2001-11-13 Michael Meeks <michael@ximian.com>
5692 * *.[ch] Namespace libspi into spi_ and Spi.
5694 2001-13-11 Michael Meeks <michael@ximian.com>
5696 * Makefile.am: dist & install at-spi-1.0.pc
5698 * libspi/Makefile.am: install into at-spi-1.0
5700 * idl/Makefile.am (idldir): install into at-spi-1.0
5702 * at-spi-1.0.pc.in: add.
5704 * configure.in: build it.
5706 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5708 * test/keysynth-demo.c:
5709 Use a 'realize' signal-handler to set the WM properties for
5710 the virtual keyboard, rather than making it a "POPUP" type
5711 override-redirect window (thanks to anders carlsson for that
5714 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5717 * test/keysynth-demo.c:
5718 Added new test of key synthesis, which creates a simple
5719 (mouse-operated) onscreen keyboard. It inserts key events into
5720 the currently-focused window, thus it does not grab keyboard focus
5723 * cspi/spi_registry.c:
5724 Added C binding for AT-SPI generateKeyEvent.
5726 * libspi/deviceeventcontroller.c:
5727 Added call to XFilterEvent so that key listener works with XIM (we
5728 hope). Added event_synth_type to generateKeyEvent, so that we can
5729 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5730 synthesize a press/release pair for KeySyms.
5732 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5734 * libspi/Makefile.am:
5735 * registryd/Makefile.am:
5736 (temporary) hack to include libXtst in libspi and registryd.
5737 (Needed for keystroke synthesis, see below).
5740 Improved API for registerKeystrokeListener, in accordance with
5741 discussions with Gnopernicus team and X server research.
5743 * libspi/registry.c:
5744 * libspi/deviceeventcontroller.c:
5745 * libspi/accessible.c:
5746 * libspi/keystrokelistener.c:
5747 Changes and fixes to support keylisteners for potentially
5748 consumed key events (that is, 'passive grabs').
5749 Added implementation for generateKeyEvent() [untested].
5752 Changes to registerKeystrokeListener() API, as above.
5753 Added deregisterGlobalEventListenerAll(), and
5754 deregisterKeystrokeListener(), which are needed for clean exit of
5756 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5757 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5759 * cspi/spi_registry.c:
5760 Added implementations of function prototypes mentioned above.
5762 * registryd/registryd.c:
5763 Added the key listener event source as a g_timeout(), to allow
5764 receipt of key events that are not caught by GDK (since GDK
5765 doesn't support passive keygrabs, this was necessary).
5768 Changed to attach a keylistener to 'Alt' keys, and
5769 respond to the following keycommands: Alt-M (toggle magnifier);
5770 Alt-F (toggle speech); Alt-Q (quit).
5771 Added an exit routine to deregister the listeners, and a key
5772 listener that prints some key info to the console when a key
5773 matches the listener mask (and is thus received by the listener).
5775 * util/idl/Magnifier.idl:
5776 Changes to magnifier API to support multiple zoom regions,
5777 non-uniform scaling in x and y, markDirty, and a host of other
5778 features that would be useful to magnification.
5781 * util/mag_client.c:
5782 * util/mag_client.h:
5783 * util/mag_control.c:
5785 Source code changes to support the above IDL changes.
5788 As above, and also changes to use a (slower) generic conversion
5789 path for colormap conversions, since the fast RGB conversions have been
5790 reported to fail for 16-bit displays.
5792 2001-10-26 Michael Meeks <michael@ximian.com>
5794 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5796 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5798 * at-bridge/Makefile.am: fix LDFLAGS.
5800 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5802 * at-bridge/bridge.c:
5803 Re-worked listeners for toolkit events, now we have signal
5804 and property listeners. Added a private method
5805 register_atk_event_listeners(), which registers with the
5806 various atk and gtk signals we need to monitor in order to emit
5808 Added emission hook for AtkObject:property-change events, to
5809 support the 'property listeners'.
5810 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5813 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5814 which emit warnings and exit, respectively, if CORBA errors occur
5815 during remote calls, and we now use these methods to check most of
5816 our CORBA calls in the C bindings.
5818 * cspi/spi_accessible.c:
5819 Changed AccessibleSelection_refSelectedChild() to
5820 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5821 now increment refcounts.
5823 * cspi/spi_component.c:
5824 Fixed some long pointer casts (dangerous!) to pass pointers to
5825 CORBA_longs of the proper type to the CORBA stubs, and copy the
5826 data into the longs that were passed into the C bindings code.
5828 * at-bridge/bridge.c:
5830 * libspi/accessible.c:
5831 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5832 hyperlinks, AtkHyperlink is an object type.
5834 * libspi/application.c:
5835 Added various conversions to and from "generic" event types and
5836 atk-specific types; this is really part of the 'bridge'
5837 implementation but is valid for all AtkObject-based accessibility
5840 * libspi/editabletext.c:
5841 Fixed nasty bug wherein editable text's finalize method was
5842 unref'ing tha AtkObject reference that the text parent class was
5843 about to unref _again_. There was also a nasty inheritance bug
5844 that meant that the AccessibleEditableText class was corrupt.
5846 * libspi/selection.c:
5847 Provided implementations for some selection API that was broken.
5849 * idl/Application.idl:
5850 Added registerObjectEventListener () method.
5853 Fixed a number of return values that were Bonobo_Unknowns from
5854 bonobo_object_corba_objref(), which I
5855 forgot to dup before returning. Changed instances of
5856 bonobo_object_corba_objref (bonobo_object(o)) to
5857 BONOBO_OBJREF(o), for concision and clarity.
5859 2001-10-13 Louise Miller <louise.miller@sun.com>
5861 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5862 idl/Event.idl, idl/Registry.idl
5863 Changed these files to include Bonobo_Unknown.idl instead
5866 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5868 * libspi/component.c libspi/component.h:
5869 Fixed typo. Added assertions for object checks in
5870 AccessibleComponent code.
5872 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5874 * idl/Accessible.idl:
5875 Added 'isEqual (Accessible *object)'
5876 method for Accessible. (Not Yet Implemented).
5879 Changed signature of registerKeystrokeListener() to
5880 take a KeySet and KeyEventSeq so that specific keys and event
5881 types could be requested for monitoring, and added a flag
5882 is_synchronous so that either synchronous or asynchronous
5883 notification could be requested. (However this is not all
5884 implemented yet). This also meant adding two new typedefs,
5885 KeyEventSeq and KeySet.
5888 Added two new relations, RELATION_TOOLTIP_FOR and
5889 RELATION_LEAFNODE_OF.
5892 Added new state, STATE_HAS_TOOLTIP.
5894 * libspi/text.c, editabletext.c:
5895 Added new assertions to all casts of bonobo-objects from
5896 CORBA servants, to prevent Text API calls on non-text objects.
5897 Changed suspect casts of int-pointer types, so that we
5898 always send a valid CORBA_long pointer to the CORBA APIs that use
5899 in/out long parameters. We then have to copy from the CORBA_long
5900 into the regular long or int for return to the C bindings, or
5901 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5904 * libspi/deviceeventcontroller.c:
5905 Cleaned these sources up.
5907 Changed return type for getCharacterAtOffset to
5908 CORBA_unsigned_long, to allow for 32-bit characters.
5911 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5915 Fixed 'make dist' so that distro compiles...
5916 * libspi/keymasks.h:
5918 * cspi/spi-listener.c:
5919 KeystrokeListenerCB now returns a boolean.
5921 Added KeyEventType struct, and KeyStroke.
5922 Also added createKeystrokeListener(),
5923 KeystrokeListener_addCallback(),
5924 KeystrokeListener_removeCallback(), and added a keymask to
5925 registerKeystrokeListener().
5926 * cspi/spi_accessible.c:
5927 Changed numerous return types for interfaces from
5928 AccessibleComponent to Accessible<InterfaceName>; this was
5929 probably a cut-and-paste error.
5931 Implementations of new KeystrokeListener api (from spi.h,
5934 Changes to key modifier mapping.
5935 Created ControllerEventMask struct.
5936 Made DeviceEventController derive from Bonobo::Unknown.
5938 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5939 * libspi/deviceeventcontroller.c:
5940 Added a number of new internal (private) methods.
5941 * libspi/editabletext.c:
5942 * libspi/editabletext.h:
5943 Fixed a number of bugs related to the fact that
5944 editabletext inherits from text. Fixed the EditableText struct,
5945 the init() call, and use correct casts when calling Text methods
5946 from an EditableText object. Removed (duplicate) atko from the
5947 EditableText structure, we use the one in the parent Text
5948 structure via the casts mentioned above.
5949 * libspi/keystrokelistener.[ch]:
5950 * libspi/registry.c:
5951 Changes in support of keyboard handling (above).
5953 Keyboard handling, though partly functional, is still not
5954 recommended for at-spi client use as there is considerable
5955 work yet to be done.
5958 Changed some places where pointers to various int types
5959 are cast to be pointers to CORBA_long types and vice-versa:
5960 pointer casting is not safe so we pass pointers of the correct
5961 types and then cast the result before putting it into the target
5964 * libspi/text.h: minor typos corrected.
5966 We now speak not only the name of a Text element, but the
5967 first sentence of its content, when it receives focus.
5968 I also changed the text compression to 75% from 50%.
5969 * util/Accessibility_Util.server.in:
5970 Changed the default magnifier type to be a 3x vertical
5971 splitscreen magnifier (was previously a 2x horizontal one).
5973 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5975 * libspi/keystrokelistener.h:
5976 * libspi/keystrokelistener.c:
5977 Initial functional implementations of KeystrokeListener.
5980 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5982 Fixed string handling for NULL strings in libspi.
5983 Added spi_freeString to free strings returned by C bindings.
5985 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5987 * libspi/keystrokelistener.h:
5988 * libspi/keystrokelistener.c:
5989 Began (no-op) implementations of KeystrokeListener
5991 * libspi/deviceeventcontroller.c:
5992 * libspi/deviceeventcontroller.h:
5993 Began creating implementations of DeviceEventController,
5994 to handle keystroke and mouse event listening and
5996 * libspi/accessible.c:
5997 Stubbed-in the implementations for
5998 Accessibility_Accessible_getState and
5999 Accessibility_Accessible_getRelationSet.
6000 * libspi/registry.c:
6001 Improved de-registration process and fixed some bugs,
6002 deregistration now works correctly.
6004 Added initialization of applications list (to NULL).
6006 Reduced speech compression from 0.5 to 0.7, for demo.
6007 Changed call to gdk_window_set_decorations()
6008 to gtk_window_set_decorated().
6009 * at-bridge/bridge.c:
6010 Bridge now deregisters when app exits, via
6011 registration of a cleanup function
6012 with the g_atexit() call.
6013 Required making 'app' static, renamed 'this_app'.
6014 Fixed broken use of bonobo_init, passing argv wrongly.
6016 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6020 Created a new directory for
6021 accessibility-related utilities, primarily for
6022 testing and demo purposes, but with possible
6029 Onscreen magnifier utility that
6030 is implemented as a bonobo service.
6032 * util/mag_client.c:
6033 * util/mag_client.h:
6034 Client-side support (simple C bindings)
6035 for Magnification service
6037 * util/mag_control.c:
6038 Client program example for
6039 Magnification service
6041 * util/Accessibility_Magnifier.server.in:
6042 Bonobo-activation file for the
6043 Magnification service.
6046 * util/idl/Magnifier.idl:
6047 IDL defining the bonobo Magnification
6051 Modifications to use the bonobo-activated magnifier
6052 above, in place of trying to connect to an existing
6053 magnifier that uses socket-listening IPC.
6055 If env variable MAGNIFIER is set, a magnifier service
6056 will be started if one does not exist.
6058 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6060 * at-bridge/bridge.c:
6061 applied patch from Marc to build and run
6062 against new glib and gtk+ (seemed like a change
6063 to bonobo_init signature was made ?)
6065 made festival-server support turned off by default.
6066 Added support for a simple magnifier (off by default)
6067 which will be added to a 'util' directory later.
6068 * at-bridge/Makefile.am:
6069 Changed "application.h" header from a 'source'
6070 to a 'dependency' of libat-bridge.
6072 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6081 Added interface implementation c files to list of
6082 includes so they are included in libcspi.
6085 Changed prototype of AccessibleAction_doAction to return a
6087 Changed prototype of AccessibleTable_getCaption to
6088 return an Accessible.
6089 Changed prototype of AccessibleTable_getSelectedRows
6090 and AccessibleTable_getSelectedColumns to
6091 return a long (returns the number of selected rows
6092 or columns respectively).
6093 Changed name of AccessibleText_refRunAttributes to
6094 AccessibleText_getAttributes.
6095 Changed prototype of AccessibleText_getCharacterExtents to
6096 return a void rather than a boolean.
6097 Added support for a AccessibleCoordType parameter
6098 specifying what type of coordinates are desired.
6099 Added an AccessibleCordType parameter to
6100 AccessibleText_getPointAtOffset.
6102 * cspi/spi_accessible.c:
6103 Added code to return the outstanding interfaces from
6104 Accessible_queryInterface.
6106 * cspi/spi_action.c:
6108 Corrected call to getNActions to call the c binding
6111 * cspi/spi_editabletext.c:
6113 Changed name from setRunAttributes to setAttributes.
6115 * cspi/spi_hyperlink.c:
6117 Changed call to getNAnchors to correctly call the c
6118 binding for an attribute.
6120 * cspi/spi_hypertext.c:
6122 Changed getImageDescription to correctly call the
6123 binding for an attribute.
6125 * cspi/spi_selection.c:
6126 Changed getNSelectedChildren to correctly call the c
6127 binding for the attribute.
6128 Changed refSelectedChild to getSelectedChild.
6132 Changed getCaption to return an Accessible.
6133 Fixed calls which retrieve attributes.
6134 Changed refAt to getAccessibleAt.
6135 Changed getNSelectedRows and getNSelectedColumns to
6139 Changed getCharacterExtents and getPointAtOffset to accept an
6140 AccessibleCoordType.
6142 Changed calls which retrieve attributes.
6143 Changed refRunAttributes to getAttributes.
6148 * idl/Hyperlink.idl:
6149 Changed n_anchors attribute to nAnchors to keep naming
6150 convention consistent.
6153 Made Table inherit from Bonobo::Unknown.
6154 Added nSelectedColumns and nSelectedRows attributes.
6157 Made Value inherit from Bonobo::Unknown.
6159 * libspi/hyperlink.c:
6160 Change for nAnchors attributte name change.
6162 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6170 Added interface implementation c files to list of
6171 includes so they are included in libcspi.
6174 Changed prototype of AccessibleAction_doAction to return a
6176 Changed prototype of AccessibleTable_getCaption to
6177 return an Accessible.
6178 Changed prototype of AccessibleTable_getSelectedRows
6179 and AccessibleTable_getSelectedColumns to
6180 return a long (returns the number of selected rows
6181 or columns respectively).
6182 Changed name of AccessibleText_refRunAttributes to
6183 AccessibleText_getAttributes.
6184 Changed prototype of AccessibleText_getCharacterExtents to
6185 return a void rather than a boolean.
6186 Added support for a AccessibleCoordType parameter
6187 specifying what type of coordinates are desired.
6188 Added an AccessibleCordType parameter to
6189 AccessibleText_getPointAtOffset.
6191 * cspi/spi_accessible.c:
6192 Added code to return the outstanding interfaces from
6193 Accessible_queryInterface.
6195 * cspi/spi_action.c:
6197 Corrected call to getNActions to call the c binding
6200 * cspi/spi_editabletext.c:
6202 Changed name from setRunAttributes to setAttributes.
6204 * cspi/spi_hyperlink.c:
6206 Changed call to getNAnchors to correctly call the c
6207 binding for an attribute.
6209 * cspi/spi_hypertext.c:
6211 Changed getImageDescription to correctly call the
6212 binding for an attribute.
6214 * cspi/spi_selection.c:
6215 Changed getNSelectedChildren to correctly call the c
6216 binding for the attribute.
6217 Changed refSelectedChild to getSelectedChild.
6221 Changed getCaption to return an Accessible.
6222 Fixed calls which retrieve attributes.
6223 Changed refAt to getAccessibleAt.
6224 Changed getNSelectedRows and getNSelectedColumns to
6228 Changed getCharacterExtents and getPointAtOffset to accept an
6229 AccessibleCoordType.
6231 Changed calls which retrieve attributes.
6232 Changed refRunAttributes to getAttributes.
6237 * idl/Hyperlink.idl:
6238 Changed n_anchors attribute to nAnchors to keep naming
6239 convention consistent.
6242 Made Table inherit from Bonobo::Unknown.
6243 Added nSelectedColumns and nSelectedRows attributes.
6246 Made Value inherit from Bonobo::Unknown.
6248 * libspi/hyperlink.c:
6249 Change for nAnchors attributte name change.
6252 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6254 implementations-- made server implementations own AtkObject pointers
6255 rather than their respective AtkInterrface pointers to fix
6256 refcounting. AtkHyperlink is still broken.
6258 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6259 * cspi/spi_accessible.c:
6260 Added method Accessible_Role_getName(),
6261 and requisite string array (role_names).
6262 Added conversion string_from_corba_strin() call
6263 to Accessible_getName and _getDescription.
6264 * libspi/accessible.c:
6265 Added implementation for Accessible_getRole()
6267 Added festival support, used if environment variable
6270 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6272 * at-bridge/bridge.c:
6273 Now allocate Accessibility_Event using
6274 Accessibility_Event__alloc() instead of g_new0().
6275 * libspi/accessibleeventlistener.c:
6276 Initialize AccessibleEventListener->callbacks to NULL.
6277 Fixed accessible__event_listener_init() param, changed to
6278 "AccessibleEventListener *" type.
6279 Changed a bonobo_object_release_unref() call to
6280 Accessibility_Accessible_unref().
6281 * libspi/listener.c:
6282 Changed Bonobo_Unknown_unref to (equivalent)
6283 Accessibility_Accessible_unref.
6284 * libspi/registry.c:
6285 Changed bonobo_object_release_unref to
6286 Accessibility_Accessible_unref.
6288 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6291 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6292 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6293 spi-util.c spi-util.h
6294 Implementations for C bindings to remaining accessibility
6297 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6300 changed return value of Action from void to boolean to
6301 bring in line with ATK.
6304 Changed getText funcions to return "out" start and end offsets.
6305 Changed getAttributes to take and offset and return the start
6306 and end offset of the attribute run.
6307 Changed getOffsetAtPoint and getCharacterExtents to take an
6308 enum describing whether coordinates are window or screen.
6311 libspi/action.c libspi/action.h libspi/editabletext.c
6312 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6313 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6314 libspi/image.h libspi/selection.c libspi/selection.h
6315 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6316 libspi/value.c libspi/value.h
6317 Added server implementations for outstanding ATK interfaces
6318 not yet implemented.
6320 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6323 Added (missing) getName() method.
6324 Made nActions an attribute.
6325 * idl/EditableText.idl:
6326 Changed order of params in setAttributes.
6327 * idl/Hyperlink.idl:
6328 Removed getAnchor, added getURI.
6330 Changed attributes to methods, for efficiency
6331 (so that getting extents can be done in one call)
6332 * idl/Selection.idl:
6333 Changed nSelectedChildren to attribute, and re-indented.
6334 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6336 * idl/Text.idl: reformatted to match our coding style.
6337 (temporarily?) removed getRowColumnAtOffset().
6338 Changed text selection API to support multi-select and
6339 non-contiguous selections, as in ATK.
6340 * idl/Value.idl: changed some methods to attributes.
6342 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6344 * libspi/listener.c(impl_notify_event):
6345 BonoboUnkown_unref the source instead
6346 of bonobo_object_release_unref - the ORB
6347 handles the releasing.
6349 * configure.in: require ORBit-2.3.94 for
6352 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6354 Tagged CVS repository 'EA_1_0'.
6355 * README.EARLY_ACCESS:
6356 Alphabetized acknowledgements list, and
6358 Listed some known dependencies of at-spi.
6360 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6362 * docs/at-spi-docs.sgml:
6363 * docs/at-spi-sections.txt:
6364 * docs/at-spi-overrides.txt: (Added zero-length file)
6365 Documentation improvements - gtk-doc should build
6366 docs for all implemented C bindings now.
6369 * cspi/spi.c: (New file)
6370 * cspi/spi_event.c: (New file)
6371 * cspi/spi_registry.c: (New file)
6372 * cspi/spi_accessible.c: (New file)
6373 * cspi/spi_application.c: (New file)
6374 * cspi/spi_component.c: (New file)
6375 Split spi_main.c into six parts, and included them from
6376 "spi.c". This is a bit of a hack, probably temporary,
6377 but required by gtk-doc, apparently.
6379 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6382 * docs/at-spi-docs.sgml:
6383 * docs/at-spi-sections.txt:
6385 Initial checkins/modifications for gtk-doc generation.
6388 Added (missing) interface query methods to Accessible's C binding.
6390 Added GenericInterface type definition.
6392 Added query for AccessibleComponent interface to focus event handler.
6393 Added printout of bounding box for focussed component.
6394 * libspi/component.c:
6395 Added partial implementation for AccessibleComponent to C binding.
6396 * idl/Application.idl:
6397 * libspi/registry.c:
6398 * libspi/listener.c:
6399 * libspi/application.c:
6400 * libspi/application.h:
6401 Changed "ID" attribute type from string to long.
6403 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6407 Made method naming consistent: methods taking object args
6408 start with uppercase, other methods (except those using
6409 acronyms) start with lowercase. Underscores delimit between
6410 object names and method names:
6411 SPI_init() - uppercase since it starts with an acronym.
6412 getDesktopCount () - lowercase start since no object param0.
6413 Accessible_getName() - uppercase object type name, studlyCaps method
6417 Added gtk-doc documentation for all currently implemented
6418 methods in the C bindings API.
6420 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6422 * Makefile.am : changed build order to build test last.
6425 Changed "createEventListener" to "CreateEventListener".
6426 * libspi/accessibleeventlistener.c :
6427 Bugfix for addition of callbacks.
6428 * test/Makefile.am :
6429 * test/simple-at.c :
6430 Added new test that uses the C bindings API.
6432 * libspi/listener.c :
6433 * libspi/registry.c :
6434 * libspi/accessibleeventlistener.c :
6435 * at-bridge/bridge.c :
6436 Renamed member "target" of Accessibility_Event to "source",
6437 which is more descriptive.
6440 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6444 * cspi/Makefile.am :
6445 Added makefile support for at-spi/cspi directory.
6448 * cspi/spi-listener.h : (NEW FILE)
6449 Added support for/use of spi-listener.h.
6451 C bindings now build successfully, with no warnings.
6452 * libspi/accessibleeventlistener.h : (NEW FILE)
6453 * libspi/accessibleeventlistener.c : (NEW FILE)
6454 * libspi/Makefile.am :
6455 Added new object type "AccessibleEventListener"
6456 which inherits from Listener, and allows attachment
6457 of in-process callbacks (so that a client with a listening
6458 object instance can add functionality to the local
6459 implementation, dynamically).
6461 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6463 * libspi/accessible.c:
6464 Add implementation for get_index_in_parent().
6466 Added #include of "spi-roletypes.h", and
6467 added enumerated type AccessibleCoordType.
6468 Added definition for KeystrokeListener (function type).
6471 * cspi/spi-statetypes.h :
6472 * cspi/spi-roletypes.h :
6474 Added these headers, used by spi.h.
6476 Added code (NOTE: not yet built by make).
6478 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6480 * libspi/Makefile.am: generate imodule
6481 at the same time as other idl compiler
6484 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6485 * libspi/registry.c :
6486 * libspi/application.c :
6487 * idl/Application.idl :
6488 Made registration with toolkit an application method,
6489 which is required since each app has its own toolkit static
6490 environment. Thus the bridge must register for
6491 notification of toolkit events from each application in turn.
6492 Toolkit notifications are now successfully registered for, and
6493 sent to the listening at client.
6495 Changed toolkit event string to use hyphens rather than underscores.
6496 * libspi/listener.c :
6497 listner now gives more info in debug mode - it reports the
6498 name of the event received, as well as the name of the source.
6501 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6503 * libspi/registry.c :
6504 added more implementation for toolkit events.
6505 Fixed bug such that toolkit event registrations
6506 (via atk) use the whole event name string, not
6508 Removed a useless call to an ORBit_ method.
6509 * at-bridge/bridge.c :
6510 Removed unused local sbuf[] variable.
6512 We now register for Gtk:GtkWidget:button_press_event
6513 events as well as "focus:" events.
6515 Add some more API from Registry.idl that was missing,
6516 for keystroke listening, keystroke and mouse event
6517 synthesis, and enumeration of accessible desktops.
6519 2001-08-16 Michael Meeks <michael@ximian.com>
6521 * configure.in: use AM_GLIB_GNU_GETTEXT.
6523 * Makefile.am (SUBDIRS): kill intl.
6525 2001-08-15 Michael Meeks <michael@ximian.com>
6527 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6529 * configure.in: upd.
6531 * configure.in: depend on a recent bonobo-activation that
6532 will find our server files ...
6534 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6536 * libspi/accessible.c : accessible_new() :
6537 Now we add the Component interface via bonobo_object_add_interface,
6538 if the contained AtkObject implements AtkComponent.
6539 * libspi/accessible.h : now include "component.h"
6540 * libspi/component.h :
6541 * libspi/component.c : added files - implementation of
6542 bonobo wrapper object for Accessibility/Component
6543 * libspi/listener.c :
6544 Added test code to check for Accessibility/Component:1.0
6545 interface and report whether it is implemented by the
6547 * libspi/registry.c :
6548 Now we check for not only the hash of the whole event
6549 string before relaying the event, we also check the
6550 "minor" event string (without the detail string).
6551 This allows event listeners to be registered against
6552 all events of a certain major+minor type, or just
6553 against a specific major+minor+detail type.
6554 * libspi/accessible.c :
6555 Added implementations for Accessible:get_parent(),
6556 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6557 * libspi/registry.c :
6558 * libspi/listener.c :
6559 Replaced calls to Accessibility_Accessible_ref() and
6560 Accessibility_Accessible_unref() with
6561 calls to bonobo_object_dup_ref() and
6562 bonobo_object_release_unref(), so that the CORBA object
6563 is dup-ed and released when relayed, as well as the bonobo object.
6565 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6567 * libspi/Makefile.am,
6568 registryd/Makefile.am,
6569 at-bridge/Makefile.am.
6570 test/Makefile.am, configure.in:
6571 reverse previous changes.
6573 * /idl/Image.idl: fix typo.
6575 * test/Makefile.am: put DEBUG_FLAGS
6578 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6580 * test/app.c: use argv[0] instead of
6583 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6585 * libspi/Makefile.am,
6586 registryd/Makefile.am,
6587 at-bridge/Makefile.am.
6588 test/Makefile.am, configure.in:
6589 cleanup, replace individual LIBS/CFLAGS with
6590 AT_COMMON_{LIBS|CFLAGS}.
6594 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6596 * configure.in, libspi/Makefile.am:
6597 Change IDL path checking for bonobo-activation
6600 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6602 * registryd/registry.c : separated event listeners to use
6603 3 separate lists (focus, window, toolkit). Began testing
6604 event names against hashes before relaying events.
6605 * test/at.c : now register for events of type "focus:"
6606 * test/app.c : now generate events of type "focus:"
6607 * at-bridge/bridge.c : register with ATK for focus events,
6608 and we now relay those focus events to any "focus:" listeners.
6609 This now works with the bridge as a GTK_MODULE when running test/at.
6610 * libspi/registry.c :
6611 * libspi/listener.c :
6612 now we ref event sources before propagating, and unref on receipt.
6613 * libspi/registry.c :
6614 some changes to internal structs, to support event typestring hashes.
6615 * text/app.c : changed the way the appname is generated.
6616 * cspi : added directory that will hold the C bindings library for
6617 non-CORBA/bonobo-savvy clients.
6618 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6619 * idl/Component.idl : added in parameter to indicate coord system for
6620 geometry-related calls.
6621 * idl/Hyperlink.idl : added readonly n_links attribute
6622 * idl/Image.idl : changed methods to attributes.
6624 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6626 * at-bridge/Makefile.am: link against
6627 ../libspi/libspi.la instead of -lspi.
6629 * at-spi/test/app.c: include
6630 bonobo-activation.h. Use a default appname
6631 if one is not provided.
6633 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6635 * idl/Registry.idl : temporarily changed register_Application
6636 to oneway, to work around issue with initial registration
6638 * idl/Application.idl : changed attribute "id" from readonly
6639 to read-write, since it needs to be assigned by Registry.
6640 * registryd/registryd.c : added call to set application id
6642 * registryd/registry.c : changed de-registration procedure to
6643 use CORBA_Object_hash() to find matching object ref in application
6644 lists and listener lists.
6645 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6646 began distinguishing between event types (work in progress).
6648 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6651 * libspi/application.c:
6652 Added implementations for get/set id, get_toolkitName,
6654 * registryd/registryd.c :
6658 Converted from use of OAF to bonobo-activation.
6659 * libspi/desktop.h :
6660 * libspi/desktop.c :
6662 Removed references to atksimpleobject, since base atkobject
6663 implementation now provides functionality we need.
6664 * libspi/atksimpleobject.c :
6665 * libspi/atksimpleobject.h :
6670 * at-bridge/Makefile.am
6671 * at-bridge/bridge.c
6674 Added directory "bridge" and contents, and added dependencies
6675 in Makefile.am/configure.in.
6676 Initial checkin of "at-bridge".
6677 This code is a GTK_MODULE which automatically registers
6678 GTK+ apps with the accessibility registry, using an object
6679 reference to the root ATK object.
6681 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6683 * po/Makefile.in.in: Remove. Again. If this
6684 doesn't get autogenerated - you need to update
6687 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6689 * po/Makefile.in.in: Add. Again.
6691 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6693 * libspi/accessible.c : added support for 'description' property.
6694 * libspi/accessible.c
6696 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6697 (since the two are now equivalent in libbonobo)
6705 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6706 Bonobo::Unknown as does Accessibility::Accessible.
6707 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6708 interface with Bonobo::Stream, since it was redundant with it.
6709 (The Stream returned by a StreamableContext object is expected to
6710 implement only a subset of Bonobo::Stream)
6712 2001-07-28 Anders Carlsson <andersca@gnome.org>
6714 * libspi/accessible.c (accessible_object_finalize): Change
6715 g_free to g_object_unref since the AtkObject is a GObject.
6717 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6719 * idl/Accessibility.idl: add new IDL files
6722 * idl/Action.idl: Definitions of actionable UI object
6723 * idl/Component.idl: Definitions of UI component geometry, etc.
6724 * idl/Hyperlink.idl: Defs of hyperlink behavior
6725 * idl/Image.idl: Def of accessible image
6726 * idl/Selection.idl: Definition of UI object with selectable children
6727 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6728 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6729 * idl/Text.idl: Interface defs for UI elements with complex textual content
6730 * idl/Value.idl: Definition of UI element that is a value controller or display
6732 2001-07-27 Michael Meeks <michael@ximian.com>
6734 * po/Makefile.in.in: remove autogenerated file from CVS.
6736 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6739 * idl/Registry.idl: include guard.
6741 * idl/Accessibility.idl: Add, and include all the other IDL
6744 * idl/*.idl: remove mass of pragmas etc.
6746 2001-07-26 Michael Meeks <michael@ximian.com>
6748 * registryd/Makefile.am (registryd_SOURCES): remove
6751 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6753 * libspi/.cvsignore, registryd/.cvsignore,
6754 test/.cvsignore: updated.
6756 * po/Makefile.in.in: gettext update.
6758 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6760 * initial CVS checkin
6762 2001-06-29 Michael Meeks <michael@ximian.com>
6764 * configure.in: add AM_CONFIG_HEADER to gen config.h