1 2004-03-01 Bill Haneman <billh@gnome.org>
3 * configure.in: Revved to 1.3.15,
6 2004-03-07 Danilo Segan <dsegan@gmx.net>
8 * configure.in: Added "sr@ije" to ALL_LINGUAS.
10 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
12 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
14 2004-03-01 Bill Haneman <billh@gnome.org>
16 * configure.in: Revved to 1.3.14.
19 (SPI_exit): Removed "bye-bye" exit message.
20 Moved "leak" report to happen before the
21 iteration over the leaked refs list.
22 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
24 2004-02-24 Bill Haneman <billh@gnome.org>
26 * configure.in: Revved to 1.3.13.
28 * docs/reference/cspi/Makefile.am:
29 Correct typo that was breaking the docs build.
31 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
33 * autogen.sh: Require version 1.7 of automake.
35 * configure.in: call GTK_DOC_CHECK([1.0])
37 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
39 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
41 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
43 * test/Makefile.am: Remove use of CFLAGS.
45 This fixes bug #132987.
47 2004-02-11 Bill Haneman <billh@gnome.org>
49 * reverted most of Tomasz' patch below, since it was breaking
50 builds (see bug #134058).
52 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
54 * docs/reference/cspi/at-spi-cspi.types: added empty file for
55 correct pass "make dist" (empty .. because seems no sach types in
56 header files with gtk-doc markups).
57 * docs/reference/cspi/Makefile.am, configure.in:
58 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
59 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
61 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
62 for force correct pass generate documentation on "make distcheck".
63 * libspi/Makefile.am: fixes for automake >= 1.6.
64 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
65 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
68 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
70 * docs/reference/cspi/Makefile.am (install-data-local): Install
71 index.sgml since the doc autobuilder on widget.gnome.org looks for
74 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
76 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
79 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
81 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
83 2004-01-27 Brian Cameron <brian.cameron@sun.com>
85 * test/simple-at.c: Fixed null string problems that cause core
86 dumping problems on Solaris.
88 2004-01-12 Bill Haneman <billh@gnome.org>
90 * configure.in: Incremented version to 1.3.11.
92 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
94 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
95 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
98 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
100 * configure.in: Added "fa" to ALL_LINGUAS.
102 2003-12-20 Arafat Medini <lumina@silverpen.de>
104 * configure.in: Added "ar" to ALL_LINGUAS
106 2003-12-16 Bill Haneman <billh@gnome.org>
108 * registryd/registry-main.c:
110 Set the reg_env DISPLAY variable before registering the
111 activated registry service. Fixes bug #129479.
113 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
115 * configure.in: Added "id" in ALL_LINGUAS
116 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
118 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
120 * registryd/deviceeventcontroller.c (global_filter_fn):
121 When an event is consumed discard any XEvents were added to
122 the queue while dealing with the the event. This can happen if
123 processing of the event takes a long time. Call XUngrabKeyboard
124 if an event was discarded. This fixes bug $124837.
125 Only call wait_for_release_event for a KeyPress.
126 Use local variable display instead of spi_get_display().
127 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
130 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
132 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
133 Allow for mask to contain values other than NumLock mask.
136 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
138 * registryd/devieceventcontroller.c:
139 (wait_for_release_event): Change first parameter from GdkEvent to
141 (global_filter_fn); Correct call to wait_for_release_event.
145 2003-12-08 Bill Haneman <billh@gnome.org>
149 * registryd/ucs2keysym.c: New file.
151 * registryd/deviceeventcontroller.c:
152 (dec_keysym_for_unichar): Remove old partial implementation and
153 replace with call to ucs2keysym(), which is much more complete.
154 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
159 2003-12-05 Bill Haneman <billh@gnome.org>
161 * configure.in: Version 1.3.9.
163 * docs/reference/cspi/tmpl/spi_registry.sgml:
164 Added reference to libspi/keymasks.h to the
165 description of Registry queries: AccessibleKeyMaskType.
168 2003-12-04 Bill Haneman <billh@gnome.org>
172 * idl/Accessibility_Application.idl:
173 (Accessibility::LOCALE_TYPE): New enum, corresponds to
174 setlocale's LC_TYPEs.
175 (Accessibility::Application::getLocale): New method.
176 Allows clients to query the locale, by type, of an app.
179 * cspi/spi_application.c:
180 (AccessibleApplication_getLocale): New method, wraps IDL above.
182 * libspi/application.c:
183 (spi_application_class_init): Init epv entry for getLocale.
184 (impl_accessibility_application_get_locale): Impl for above.
186 * test/test-simple.c:
187 (test_application): Added assertion for getLocale, i.e.
188 that the string from AccessibleApplication_getLocale (app, type)
189 is the same as that from setlocale (type, NULL);
191 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
193 *registryd/deviceeventcontroller.c: Add an idle handler which polls
194 the keyboard on a timeout intil the key state goes from pressed to
195 released. Fixes bug #111429.
197 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
199 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
200 root object so that it is present when a context menu in an
201 out-of-process applet is popped up.
202 (spi_atk_bridge_do_registration): Create acceessible application root
203 object only if it does not exist.
205 This fixes bug #125834.
207 2003-12-01 Bill Haneman <billh@gnome.org>
209 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
212 Added enum for AccessibleStreamableContentSeekType.
213 (AccessibleStreamableContent_freeContentTypeList): New.
215 * cspi/spi_streamablecontent.c:
216 (accessible_bonobo_stream_client_seek): New private method.
217 (AccessibleStreamableContent_seek): Implemented this method,
218 using Bonobo_Stream_seek.
219 (AccessibleStreamableContent_freeContentTypeList): New method
220 for freeing the return value from
221 AccessibleStreamableContent_getContentTypes.
222 (stream_cache_item_free): Replaces stream_release; stop leaks.
223 (stream_release): removed.
224 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
225 free the memory properly.
227 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
231 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
233 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
235 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
237 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
239 2003-12-01 Bill Haneman <billh@gnome.org>
241 Fix for bug/rfe #127463.
243 * idl/Accessibility_Accessible.idl:
244 (getLocalizedRoleName): New.
245 (unimplemented4): Removed (replaced by above).
247 * libspi/accessible.c:
248 (impl_accessibility_accessible_get_local_role_name): New.
249 (spi_accessible_class_init): Add getLocalizedRoleName entry to
253 (Accessible_getLocalizedRoleName): New.
255 * cspi/spi_accessible.c:
256 (Accessible_getLocalizedRoleName): New.
258 2003-12-01 Bill Haneman <billh@gnome.org>
261 * idl/Accessibility_Text.idl:
262 (getDefaultAttributes): New.
263 (unimplemented4): Removed (replaced by above method).
266 (impl_getDefaultAttributes): New method.
267 (spi_text_class_init):
268 initialize the get_default_attributes slot in the epv.
271 (AccessibleText_getDefaultAttributes): New prototype.
274 (AccessibleText_getDefaultAttributes): New method.
276 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
278 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
279 write beyond the end of the table. Fixes bug #120473.
281 2003-09-30 Christian Rose <menthos@menthos.com>
283 * configure.in: Added "eu" to ALL_LINGUAS.
285 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
287 * configure.in: ALL_LINGUAS: Added no.
289 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
291 * configure.in: Added lt to ALL_LINGUAS.
293 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
295 * atk-bridge/bridge.c:
296 (atk_bridge_init): Register event listeners always even for
297 out-of-process applet.
298 (spi_atk_bridge_toplevel_added): Remove call to
299 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
300 (spi_atk_bridge_toplevelk_removed): Remove call to
301 spi_atk_deregister_event_listenersa as the listeners are now always
303 (spi_atk_bridge_register_application): Remove call to
304 spi_atk_register_event_listeners as it is not done in atk_bridge_init
306 This fixes bug #120991.
308 * libspi/table.c (impl_getColumnDescription): Correct typo,
309 pointed out by Bolian.Yin@sun.com.
311 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
313 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
315 2003-09-08 Bill Haneman <billh@gnome.org>
317 * configure.in: Revved to 1.3.7.
319 This is the GNOME 2.4.0 release of at-spi.
321 * docs/reference/cspi/Makefile.am:
322 Removed spurious inclusion of 'index.sgml' in the
323 html directory; this was breaking make distcheck and
324 also some other build environments.
326 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
328 * registryd/registry.[ch}:
329 Add queue_handler_id and focus_object to SpiRegistry data structure.
330 (registry_flush_event_queue): If event being discarded is
331 "state-change:focused" store object as focus_object.
332 (registry_start_queue): Remove queue handler and focus object
334 (registry_discard_event): New function which discards a focus event
335 if we had stored focus object in the registry.
336 (registry_queue_event): Add new check that is_queueing is set as this
337 function is reentrant.
338 (registry_filer_event): Add call to registry_discard_event.
340 This resolves issues raised in bug #108664.
342 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
344 * configure.in: Added "bn" to ALL_LINGUAS.
346 2003-09-04 Bill Haneman <billh@gnome.org>
348 * cspi/spi_event.c: Documentation improvements for
349 (SPI_registerAccessibleKeylistener).
351 * docs/reference/tmpl/spi_registry.sgml:
352 Documentation improvements for SpiAccessibleKeylistenerCB.
354 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
356 * configure.in: Added "ro" to ALL_LINGUAS.
359 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
361 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
362 not decremented to zero. Fixes bug #120725.
364 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
366 * configure.in: Added "ja" to ALL_LINGUAS.
368 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
370 * configure.in: Added "is" to ALL_LINGUAS.
372 2003-08-22 Christian Rose <menthos@menthos.com>
374 * configure.in: Added "nl" to ALL_LINGUAS.
376 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
378 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
379 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
381 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
383 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
384 type for unspecified exception.
385 * cspi_streamablecontect): Add include of string.h for memcpy.
386 (stream_release): Correct call to bonobo_object_release_unref
387 (stream_cache_item_free): Correct call to bonobo_object_release_unref
388 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
389 argument of _cspi_expection_throw.
390 * libspi/hyperlink.c: Add include of libspi/action.h:
391 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
392 * libspi/streamablecontent.c: add include of libspi/component.h.
393 * regisrtyd/deviceeventcontroller.c:
394 (spi_dec_translate_mask): Removed unused variable priv.
395 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
396 * registryd/registry.c:
397 (registry_filter_event): Remove unused variable queue_is-empty.
398 (impl_registry_notify_event): Use correct modifier in fprintf call.
400 This fixes compiler warnings reported in bug #120220.
402 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
404 * registryd/registryd.c: Remove this file.
406 2003-08-17 Sanlig Badral <badral@openmn.org>
408 * configure.in: Added mn to ALL_LINGUAS.
410 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
412 * configure.in: Added et to ALL_LINGUAS.
414 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
416 * test/event-listener-test.c: Change active-descendant to
417 active-descendant-changed.
419 2003-08-10 Sami Pesonen <sampeson@iki.fi>
421 * configure.in: Added "fi" in ALL_LINGUAS.
423 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
425 * configure.in: Added "hi" in ALL_LINGUAS.
427 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
429 * configure.in: Revved to 1.3.6.
433 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
435 * registryd/deviceeventcontroller.c
436 (spi_device_event_controller_object_finalize): Fix typo in previous
439 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
441 * registryd/deviceeventcontroller.c
442 (spi_device_event_controller_object_finalize): Fix build on
443 systems without XEvIE.
445 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
447 * acconfig.h, configure.in, registryd/Makefile.am,
448 registryd/devicecontoller.[ch]: Add XEViE support.
450 2003-08-06 Wang Jian <lark@linux.net.cn>
452 * configure.in: Added "zh_CN" to ALL_LINGUAS.
454 2003-08-06 Metin Amiroff<metin@karegen.com>
456 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
458 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
460 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
461 MODIFIER_ALT in correct place.
463 This fixes part of bug #118114.
465 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
467 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
469 2003-07-28 Changwoo Ryu <cwryu@debian.org>
471 * configure.in: Added "ko" to ALL_LINGUAS.
473 2003-07-28 Ole Laursen <olau@hardworking.dk>
475 * configure.in: Added "da" to the commented out ALL_LINGUAS.
477 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
479 * configure.in: Added "sq" to ALL_LINGUAS.
481 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
483 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
485 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
487 * configure.in: updated ALL_LINGUAS list
489 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
491 * configure.in: Added Belarusian to ALL_LINGUAS.
493 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
495 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
497 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
498 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
500 This fixes bug #116949.
502 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
504 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
505 Correct CSPI to SPI in function documentation.
507 This fixes bug #118054.
509 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
511 * configure.in: Added Russian to ALL_LINGUAS.
513 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
515 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
517 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
519 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
521 2003-07-10 Joel Brich <joel.brich@laposte.net>
523 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
525 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
527 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
529 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
531 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
532 resources allocated for AccessibleEvent. See cspi_event().
534 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
535 static variable streams to NULL.
537 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
538 Update so that AcessibleEvent_ref will work.
540 This fixes bug #116624.
542 2003-07-06 Jordi Mallach <jordi@sindominio.net>
544 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
546 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
548 * configure.in: Added "fr" (French) to ALL_LINGUAS.
550 2003-07-02 Christian Neumair <chris@gnome-de.org>
552 * configure.in: Added "de" (German) to ALL_LINGUAS.
554 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
556 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
558 2003-07-01 Miloslav Trmac <mitr@volny.cz>
560 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
562 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
564 * configure.in: Added "pl" to ALL_LINGUAS.
566 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
568 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
570 2003-06-30 Bill Haneman <bill.haneman@sun.com>
573 (get_action_from_servant):
574 Removed assertion that action is implemented on an AtkObject.
576 * libspi/hyperlink.c:
578 Aggregate AccessibleAction interface on the hyperlink object if
579 the object implements AtkAction. (This convention is used in
582 2003-06-30 Bill Haneman <bill.haneman@sun.com>
584 * configure.in: Revved to 1.3.5.
586 * registryd/Accessibility_Registry.server.in.in:
587 Marked up appropriate strings for translation.
589 * atk-bridge/bridge.c: Marked a couple of
590 user-visible warnings for translation. Questionable
591 whether they are really useful, but possibly so.
594 2003-06-28 Christian Rose <menthos@menthos.com>
596 * configure.in: Added "sv" to ALL_LINGUAS.
598 2003-06-26 Bill Haneman <bill.haneman@sun.com>
600 * registryd/registry.c:
601 (spi_registry_object_finalize): Unref the deviceeventcontroller.
602 (registry_defer_on_event): Defer focus: events, this is an
603 improvement to the patch for bug #108664.
605 * TODO: Update with 2.4/"Dev Complete" items.
607 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
609 * atk-bridge/bridge.c:
610 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
611 looks up signals once.
612 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
613 if doing registration.
614 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
615 when doing registration.
617 This fixes bug #115014.
619 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
621 * atk-bridge/bridge.c:
622 (atk_bridge_init): Add signal handler for children-changed:remove on
623 root when in a BonoboComponent.
624 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
625 for first toplevel only other incrememt variable toplevels.
626 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
627 application and remove listeners.
628 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
630 (spi_atk_deregister_event_listeners): New function which removes
632 (reinit_register_vars): New fuction which reinitializes variables.
634 This fixes bug #111578.
636 2003-06-13 Bill Haneman <bill.haneman@sun.com>
638 * configure.in: version 1.3.4.
640 * cspi/spi_accessible.c:
641 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
644 2003-06-13 Michael Meeks <michael@ximian.com>
646 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
648 * cspi/spi_main.c (cspi_peek_ev): impl.
650 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
652 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
654 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
656 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
657 SPI_ROLE_AUTOCOMPLETE
659 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
661 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
662 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
664 2003-06-11 Bill Haneman <bill.haneman@sun.com>
666 * libspi/streamablecontent.h:
667 * libspi/streamablecontent.c:
668 New files, provide implementation/wrappers for
669 Accessibility_StreamableContent.
671 * cspi/spi_streamablecontent.c:
672 Connected the C wrappers to the libspi C bindings.
673 (AccessibleStreamableContent_close): New method.
676 (AccessibleStreamableContent_close): New method, needed
677 since we have an "open, [seek], read, close" model in cspi.
679 2003-06-11 Bill Haneman <bill.haneman@sun.com>
681 Fix for #108664; Padraig's revision of my original patch.
683 * registryd/registry.h:
684 Added event queue list, is_queuing, and exit_notify_timeout
685 to the registry struct.
687 * registryd/registry.c:
688 (registry_init): Initialize new struct from registry.h.
689 (impl_registry_notify_event):
690 Filter events before notifying, in case some need to be
692 (registry_filter_event): New,
693 we defer certain incoming events (for instance
694 window:deactivate) because we may wish to hide
695 or reject them based on pending events. This is
696 mostly a workaround for bug #108664.
697 (registry_queue_event, registry_start_queue): New.
698 (registry_defer_on_event): Test event to see if it
700 (registry_reset_on_event): Returns TRUE if the
701 event should cause a queue reset.
702 (registry_discard_on_event): Returns TRUE if the event
703 should cause the previous queue contents to be discarded.
704 (registry_timeout_flush_queue): Flushes the pending event
705 queue if no reset/discard-triggering events have come in
706 within the timeout period.
707 (registry_emit_event): New.
708 (registry_clone_notify_context): New, used when queueing the
709 event notify contexts.
711 2003-06-10 Bill Haneman <bill.haneman@sun.com>
713 * configure.in: Version revved to 1.3.2, lt 0.9.2
714 Incremented ATK required version to 1.3.4.
716 * cspi/spi_registry.c:
717 (SPI_generateKeyEvent):
718 We now pass the keystring along if it's non-null.
720 * registryd/deviceeventcontroller.c:
721 (keysym_mod_mask): New method, returns modifier mask
722 required to generate a keysym from a given keycode.
723 (dec_synth_keysym): New method.
724 (dec_synth_keystring): New method.
725 (dec_get_modifier_state): New method.
726 (dec_lock_modifiers): New
727 (dec_unlock_modifiers): New.
728 (dec_keysym_for_unichar): New, rather brute-force
729 conversion from UCS-4 to X KeySyms. Only works for
730 Latin at the moment, with partial implementations for
731 Greek, Hebrew, and (incomplete) Katakana.
732 (impl_generate_keyboard_event): Now implement
733 "KEYSTRING" synthesis and implement "KEYSYM"
735 (keycode_from_keysym): Improved, passes a returned
736 modmask value now if the corresponding param is non-NULL.
738 Fixes bugs #92143 and #109776.
741 * test/keysynth-test.c:
742 New test program for key synthesis, to confirm fixes for
746 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
748 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
750 * cspi/spi_accessible.c (cspi_init_relation_type_table):
751 Add line for RELATION_POPUP_FOR
753 * docs/reference/cspi/tmpl/spi_relation.sgml:
754 Add relation SPI_RELATION_POPUP_FOR
756 * docs/reference/cspi/tmpl/spi_stateset.sgml:
757 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
759 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
761 * libspi/relation.c (spi_init_relation_type_table):
762 Add line for RELATION_POPUP_FOR
764 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
766 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
767 there are still windows which have not been deleted and emit
768 window:deactivate, if necessary and window:destroy events.
769 This fixes bug #114370. The change on June 5th was not correct.
771 2003-06-09 Bill Haneman <bill.haneman@sun.com>
773 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
776 (SPI_dupString): Allow dup-ing of a string such that it's safe to
778 New methods for client exception handling and interception.
779 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
780 (SPI_exceptionHandlerPop): You guessed it...
781 (SPI_getSourceType): Return the type of object which offended.
782 (SPI_getExceptionCode): Return an enum code telling, possibly,
783 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
784 (SPIAccessibleException_getSource): get the source object for
785 exceptions that come from Accessibles, if SPIExceptionSourceType is
786 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
787 (SPIException_getDescription): New, returns a string description of
788 the problem. [Not yet a stable ABI, strings are not frozen]
790 * cspi/spi-private.h:
791 Added implementation details of opaque SPIException
795 Implementations of above. Also
796 (_cspi_exception_throw): new private method that
797 dispatches exceptions to handlers, called from cspi-bonobo.c
799 * cspi/bonobo/cspi-bonobo.c:
800 (cspi_check_ev): call _cspi_exception_throw.
801 Don't print a warning message if the exception has been
802 handled by _cspi_exception_throw.
804 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
806 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
807 there are still windows which have not been deleted and emit
808 window:deactivate, if necessary and window:destroy events.
809 This fixes bug #114370.
811 2003-06-03 Bill Haneman <bill.haneman@sun.com>
814 (cspi_accessible_is_a): Make non-fatal
815 if the object reference is dead.
817 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
819 * cspi/spi_main.c: #include <stdio.h>
820 * test/simple-at.c: ditto
821 * test/event-listener-test.c: ditto
822 * test/screen-review-test.c: ditto
824 2003-05-30 Michael Meeks <michael@ximian.com>
826 * test/test-simple.c (main): use CORBA_ORB_perform_work
827 instead of an unnecessary linc_ call.
829 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
831 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
832 Add SPI_STATE_INDETERMINATE.
834 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
837 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
839 * libspi/stateset.c (init_state_type_tables): Add support for
842 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
844 * configure: Update versions of atk and gail required.
845 This fixes bug #113268.
847 2003-05-02 Bill Haneman <bill.haneman@sun.com>
849 * configure.in: Revved micro version to 1.3.1 (because of build fix).
851 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
853 * libspi/Makefile.am:
854 Ensure headers are generated before being used by c sources.
856 2003-05-01 Bill Haneman <bill.haneman@sun.com>
859 Simplified lt versioning rules.
860 Incremented version to 1.3.0, to indicate that we're on the
863 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
865 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
866 Add MKDB_OPTIONS=--outtput-format=xml
868 * docs/reference/cspi/at-spi-cspi-docs.sgml
869 docs/reference/idl/at-spi-idl-docs.sgml:
870 Convert to Docbook XML.
872 This fixes bug #111793.
874 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
876 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
877 AcccessibleKeyEventType, AccessibleKeyMaskType.
879 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
881 * cspi/state-types.h: Add documentation for AccessibleState.
883 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
884 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
885 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
886 AccessibleComponentLayer.
888 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
891 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
893 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
894 Accessible. Add description of AccessibleEvent,
895 AccessibleEventListenerCB.
897 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
900 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
901 documentation. Add description of AccessibleKeystrokeListenerCB,
902 AccessibleKeyEventMask, AccessibleModifierMaskType,
903 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
904 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
906 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
909 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
912 This fixes bug #104730.
914 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
916 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
917 Set is_text field of Accessibility_DeviceEvent data structure.
919 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
920 is-text field of AccessibleDeviceEvent data structure.
922 This addresses part of bug #108666.
924 * registryd/devcieeventcontroller.c: Unset debug option.
926 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
929 (cpi_initial_relation_type_table): New function which initializes
930 mapping between Accessibility_RelationType and AccessibleRelationType.
931 (cspi_relation_type_from_spi_relation_type): New function which
932 translates an Accessibility_RelationType into an AccessibleRelationType.
933 (AccessibleRelation_getRelationType): Use
934 cpi_relation_type_get_spi_relation_type to return correct value.
935 (spi_state_to_corba): Return correct type for default case.
937 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
938 Use Accessibility_EventType instead of Accessibility_KeyEventType.
940 * cspi/cspi-bonobo-listener.c:
941 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
944 * libspi/accessible.c, libspi/action.c, libspi/application.c,
945 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
946 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
947 libspi/image.c, libspi/listener.c, libspi/selection.c,
948 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
949 registryd/desktop.c, registryd/registry.c:
950 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
952 * libspi/eventlistener.c
953 Remove semicolon after BONOBO_TYPE_FUNC.
956 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
957 (spi_init_relation_type_table): Initialize using correct type.
959 * registryd/desktop.c:
960 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
961 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
962 of Accessibility_KeyEventType.
964 * test/key-listener-test.c (report_tab_key_event): Use fprintf
967 * tests/simple-at.c, tests/screen-review-test.c:
968 Add include for <strings.h>.
970 * tests.stress-test.c:
971 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
973 These changes fix compiler warnings when using FORTE compiler on
974 Solaris; fixes bug #107479.
977 2003-04-10 Bill Haneman <bill.haneman@sun.com>
980 * configure.in: revved to 1.1.10
983 (SPI_KEYMASK_NUMLOCK): Added.
985 * registryd/deviceeventcontroller.c:
986 (spi_key_event_matches_listener): AND with a smaller
987 bitmask (as we should).
988 (spi_dec_translate_mask):
989 New method, sets the virtual NumLock modifier bit
990 if numlock is on. Eventually it can handle other virtual
991 modifier bits if needed, or other marshalling from
992 at-spi modifier masks to platform (X) masks.
993 (spi_dec_key_listener_new):
994 Call spi_dec_translate_mask to set up virtual mod bits
995 in the 'mask' field when creating a new listener struct.
996 (spi_dec_emit_modifier_event):
997 Set the virtual (i.e. NumLock) bits before emitting event.
998 (spi_controller_register_with_devices):
999 Query for the NumLock modifier 'physical' bit if Xkb is
1000 present, for use in above methods.
1004 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1006 * registryd/deviceeventcontroller.c:
1007 (spi_keystroke_from_x_key_event):
1008 Instead of checking to see if the keysym is
1009 printable, check the string from XLookupString
1010 if available, get the first unicode character from it,
1011 and call g_unichar_isprint to determine whether the
1012 is_text flag should be TRUE or FALSE.
1016 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1018 * atk-bridge/bridge.c: Add support for extended events
1019 * cspi/spi_event.c: Add documentation and implementation for
1021 * tests/event-listener-test.c: Add tests for extended events.
1023 This fixes bugs #100424 and #100426.
1025 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1027 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1028 of LT_CURRENT. This fixes bug #89350.
1030 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1032 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1033 number of signal parameter values before accessing them. This fixes
1036 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1038 * configure.in: Fixed duplicate inclusion of -lspi.
1039 * branched for gnome-2-2/HEAD.
1040 [created tag "gnome-2-2"]
1042 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1044 * configure.in: 1.1.9 release.
1047 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1049 [needed by GOK, to fix bugs 107985 and 107988]
1050 * registryd/deviceeventcontroller.c:
1051 (spi_dec_clear_unlatch_pending):
1052 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1053 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1054 (spi_dec_init_mouse_listener):Emit warning if mouse button
1056 (spi_device_event_controller_forward_mouse_event):
1057 Removed unnecessary parens from a conditional.
1058 (global_filter_fn):Added TODO comment.
1059 (impl_generate_keyboard_event):
1060 Cancel a pending relatch if a 'delatching' key was
1063 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1065 * atk-bridge/bridge.c:
1066 Change atk_signal_child_changed to atk_signal_children_changed.
1067 Reorganize code in spi_atk_bridge_signal_listener().
1069 * test/event-listener-test.c:
1070 Add children_changed_listener and report_children_changed_event()
1071 to test AccessibleChildEvent_getChildAccessible.
1073 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1075 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1076 g_strdup to CORBA_String_dup (bug #105291)
1078 * test/event-listener-test.c (report_text_event): Add call to
1081 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1083 * registryd/deviceeventcontroller.c:
1084 (spi_keystroke_from_x_key_event):
1085 Fix string and keysym return codes to match modifier state.
1088 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1090 * registryd/deviceeventcontroller.c:
1091 (spi_keystroke_from_x_key_event):
1092 Fix segv due to improper use of isprint(c). [bug #107254]
1094 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1097 (get_accessible_text_boundary_type):
1098 Move default return value to (new) default case in switch.
1099 (get_accessible_text_clip_type):
1100 Move default return value to (new) default case in switch.
1102 * libspi/application.c:
1103 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1104 Remove unused methods.
1105 (impl_accessibility_application_register_object_event_listener):
1106 Remove unused methods.
1109 Added #include of <math.h>.
1111 * registryd/deviceeventcontroller.c:
1112 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1113 we don't currently use this method.
1114 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1116 (impl_generate_key_event):
1117 Remove unused variables.
1118 (impl_generate_mouse_event):
1119 Initialize button to zero, just in case we get an invalid
1120 input. Added support for mouse buttons 4 and 5.
1121 (spi_device_event_controller_new):
1122 Removed unused variable declaration for 'private'.
1124 Added #include of <gdk/gdk.h>
1126 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1128 * configure.in: Update to work when X is not installed in expected
1129 location. Fixes bug #105836.
1131 * atk-bridge/bridge.c
1132 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1134 (spi_atk_register_event_listener): Add signal listener for
1136 (spi_atk_bridge_signal_listener): Event event when link-selected
1137 signal is emitted. (bug #104622)
1139 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1140 on returned string. (bug #105291)
1142 * test/event-listener-test.c: Add test for link-selected.
1144 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1146 * atk-bridge/Makefile.am: Correct typo in previous commit.
1148 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1150 * atk-bridge/Makefile.am: Allow for build directory to be different
1151 from source directory
1153 * registryd/Makefile.am: Allow for build directory to be different
1154 from source directory
1158 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1161 Fixed dependencies for libcspi so that libspi gets pulled in
1162 properly. Fixes 104741.
1166 Clean up inline docs a little.
1168 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1170 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1171 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1172 the AtkObject within an SpiDesktop.
1173 This addresses bug #101524.
1175 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1176 Remove call to gdk_init().
1178 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1179 so that Display is set when SpiDesktop is created.
1181 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1183 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1184 This fixes bug #102830.
1186 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1188 * test/test-simple.c: Update to take account of fact that GailButton
1189 now implements AtkText.
1190 (create_text_window): Set name on AtkObject for GtkEntry.
1191 (validate_accessible): Check accessible name before calling test_text().
1193 * libspi/Makefile.am: Fix problem with building outside of source
1194 directory. Bug #98120.
1196 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1197 typo in documentation comments. Bug #94275.
1199 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1201 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1203 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1206 Add includes to avoid compiler warnings on Solaris.
1207 (impl_getRangeExtents): Bug fix.
1209 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1211 Fix for 100944, [API addition approved by Gman and murrayc].
1218 * idl/Accessibility_Text.idl:
1219 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1220 (Text::getRangeExtents): New method for efficient
1221 bounds query of a text range.
1222 (Text::getBoundedRanges): New method for efficient
1223 clipping of text to bounding boxes.
1224 (unImplemented7, unImplemented8):
1225 Removed these padding methods to preserve bincompat.
1228 (impl_getRangeExtents): implementation of new IDL.
1229 (impl_getBoundedRanges): implementation of new IDL.
1230 (SpiTextRect): Internal use struct.
1231 (_spi_text_rect_union): internal method, calculates union of two
1232 SpiTextRect bounding rects.
1233 (_spi_text_range_seq_from_gslist): internal method, allows us
1234 to build our sequence efficiently as a gslist then convert it
1236 (_spi_bounds_contain): internal method, determines whether
1237 a text character is "in" or "out" of a clip rect according to
1238 values of TEXT_CLIP_TYPE.
1239 (spi_text_class_init): Initialize the new methods in the epv.
1242 (AccessibleTextClipType): New enum used by screen review api.
1243 (AccessibleTextRange): New struct used by screen review api.
1244 (AccessibleText_getRangeExtents):
1245 cspi binding for Accessibility_Text_getRangeExtents.
1246 (AccessibleText_getBoundedRanges):
1247 cspi binding for Accessibility_Text_getBoundedRanges.
1248 (AccessibleTextRange_freeRanges): convenience method.
1251 (AccessibleText_getRangeExtents):
1252 cspi binding for Accessibility_Text_getRangeExtents.
1253 (AccessibleText_getBoundedRanges):
1254 cspi binding for Accessibility_Text_getBoundedRanges.
1255 (AccessibleTextRange_freeRanges): convenience method.
1256 (get_accessible_text_clip_type): internal conversion method.
1257 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1259 * registryd/deviceeventcontroller.c:
1260 (spi_dec_mouse_check):
1261 Improved behavior for mouse:abs events
1262 [same granularity as mouse:rel events, and no
1263 events when mouse is idle].
1265 2002-12-16 Michael Meeks <michael@ximian.com>
1267 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1269 * libspi/stateset.c (state_spi_to_atk): split out
1270 ( fix several remote array bounds nasties )
1271 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1272 (impl_remove): make safe from array bounds issues.
1273 (spi_atk_state_from_spi_state): impl.
1275 * libspi/stateset.h (spi_state_set_cache_is_empty):
1276 add a set of wrapper defines to get layering right.
1278 * cspi/spi_accessible.c: update state set stuff to
1281 2002-12-14 Michael Meeks <michael@ximian.com>
1283 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1284 to avoid 2 roundtrips to the registry per key event
1285 (spi_atk_bridge_key_listener): upd.
1286 (deregister_application): release the dec.
1288 * registryd/registry.c (notify_listeners_cb):
1289 bin lots of re-enterant complexity - we no longer
1290 do a round-trip bonobo ref here, ensure that a single
1291 listener's exception failure won't poison all other
1293 (impl_registry_notify_event): bin obvious memory leak.
1295 2002-12-13 Michael Meeks <michael@ximian.com>
1297 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1298 init the ev so the error is meaningful.
1299 (spi_atk_bridge_key_listener): ditto.
1301 * cspi/spi_main.c (cspi_ev): init the ev so we start
1302 with a clean slate, otherwise the first exception
1303 kills us completely.
1305 * cspi/spi_text.c (get_accessible_text_boundary_type):
1306 add a fallthrough for no warnings.
1308 * cspi/spi_registry.c: prune unused warnings.
1310 * cspi/spi_main.c (cspi_object_take): fix
1311 mind-blowing brokenness ( by watching the compile
1314 * cspi/spi_accessible.c (Accessible_getStateSet):
1315 re-impl. to use an AtkStateSet.
1316 (spi_state_type_from_accessible_state),
1317 (init_state_table): bin these.
1319 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1321 (atk_state_set_from_accessibility_state_set): here.
1323 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1324 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1325 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1326 (AccessibleStateSet_add, AccessibleStateSet_remove),
1327 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1328 (AccessibleStateSet_isEmpty): re-write to use a local
1331 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1333 * configure.in: Revved to 1.1.7 (new keymask vals).
1335 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1337 * libspi/keymasks.h:
1338 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1340 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1343 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1344 to compare two CORBA_TypeCodes.
1345 (cspi_internal_event_add): Silence warning from FORTE compiler.
1347 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1348 avoid implicit declaration of functions.
1350 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1352 * atk-bridge/bridge.c:
1353 (spi_atk_bridge_init_event_type_consts): Store signal id for
1354 active-descendant-changed signal.
1355 (spi_atk_register_event_listeners): Add signal listener for
1356 active-descendant-changed signal,
1357 (spi_atk_bridge_signal_listener): Move code in function
1358 spi_atk-signal_emit_event() into this function.
1359 Add support for active-descendant-changed
1360 Update support for child-changed signal.
1361 (spi_bridge_window_event_listener): Silence warning.
1363 * libspi/spi_private.[ch]:
1364 (spi_init_any_object): Change second parameter from CORBA_Object to
1366 Omit call to CORBA_Object_duplicate().
1367 Set CORBA_any's _value to CORBA_Object*.
1369 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1375 (AccessibleEvent_ref, AccessibleEvent_unref):
1376 New methods, for persisting an event outside the emission context.
1377 Must be used if the new accessor methods are to be called
1378 outside of the event listener's callback.
1380 * cspi/bonobo/cspi-bonobo.c:
1381 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1382 as second parameter instead of NULL, so we can call
1383 cspi_check_ev afterwards.
1386 (cspi_object_take): New internal method,
1387 converts a CORBA_Object reference to a hard ref on
1388 an Accessible if possible, returning NULL if the object
1389 reference is invalid or an Accessible * otherwise.
1392 (AccessibleEvent_ref):
1393 Increment the event's internal private refcount, and
1394 add the event's internal struct to an internal cache
1395 if it's not already there.
1396 (AccessibleEvent_unref):
1397 Decrement the event's refcount and remove it from
1398 the cspi event cache if refcount==0.
1399 (cspi_event_compare): New private method.
1400 Compares two event structs via their ids. Used
1402 (cspi_internal_event_lookup): New private method.
1403 (cspi_internal_event_check): New private method,
1404 a 0-order sanity check for events to make sure their
1405 private data is intact.
1406 (cspi_internal_event_add, cspi_internal_event_remove):
1407 New private methods for managiing the event cache.
1409 * cspi/bonobo/cspi-bonobo-listener.c:
1411 Initialize the new private data elements (id, magic, ref_count).
1413 * atk-bridge/bridge.c:
1414 (spi_atk_bridge_signal_listener):
1415 Fixed bug #100530, passing wrong params to emission func.
1417 * registryd/deviceeventcontroller.c:
1418 (spi_dec_button_update_and_emit):
1419 Fixed type in mask bit operations; fix for #99799.
1421 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1423 Removed some of the more dangerous workarounds from
1424 previous commit; they are only needed by GOK, which
1425 in reality should be using another method to accomplish
1426 the goals. So on reconsideration some of the workarounds
1427 need to be reverted:
1429 * registryd/deviceeventcontroller.c:
1430 (spi_keycodes_contain, spi_dec_init_keycode_list):
1431 Removed these methods, used only by a nasty hack to try
1432 and detect whether a key synthesis should be allowed
1433 to reset the XKB latch state or not. This code was only
1434 required to work around an interaction between GOK,
1435 button events, and XKB.
1436 (impl_generate_key_event):
1437 Removed hack at end of key generation that tried to
1438 "do the right thing" if XKB latch keys were generated
1439 in the midst of button press/release pairs.
1442 Added a check for HAVE_XINPUT. Not normally used yet.
1444 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1446 Workarounds and fixes for mouse event/XKB interaction.
1448 * registryd/deviceeventcontroller.c:
1449 (spi_keycodes_contain, spi_dec_init_keycode_list):
1450 New internal methods.
1451 (spi_dec_set_unlatch_pending):
1452 Split the method that tells XKB to expect an
1453 unlatch (and revert it) out of the rest of the
1454 event handling code. This method is called by the
1455 two mouse event handlers (the poll and the filter).
1456 (spi_dec_update_and_emit, spi_dec_mouse_check):
1457 New methods split from spi_dec_poll_mouse_moved.
1458 The second one is now called from inside the filterFn
1459 when an XKB delatch event is received, to determine
1460 whether to revert the delatch or not.
1461 (spi_poll_mouse_moved): Refactor; also we can now
1462 properly handle the case where multiple button states
1463 have changed between polling cycles and we didn't get
1464 notified due to another client's grab.
1466 Synchronize the server while handling an XKB notification.
1467 Ugly, but apparently necessary to avoid nasty races.
1468 Check the mouse state on receipt of an XKB latch change,
1469 to decide whether to revert the latch or not. (Latches are
1470 reverted if there is an immediately preceding mouse button
1471 event that a client has consumed, in which case we don't want
1472 the user to see the side-effect of the event).
1473 (spi_device_event_controller_forward_mouse_event):
1474 Check for modifier events and fire before resetting mouse_mask_state,
1475 prevents losing modifier events.
1477 (impl_generate_keyboard_event):
1478 If we've just generated a keyboard event for a non-shift key,
1479 we don't want to revert the pending XKB latch.
1480 Otherwise, check the modifier state (via a call to
1481 spi_dev_mouse_check) and set the relatch mask to
1482 that state before returning.
1484 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1487 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1490 * atk-bridge/bridge.c:
1491 (spi_atk_register_event_listeners):
1492 Don't re-register for ATK events if the registry has died
1493 and the app needs to re-register; the ATK listeners are in
1494 process and doing so will cause duplicate emission.
1496 * registryd/deviceeventcontroller.c:
1497 (spi_poll_mouse_moved):
1498 Reformat the source, detect and emit multiple button-change
1499 events (i.e. if multiple buttons have changed between poll
1501 Add code to detect mouse-down events even when the pointer
1502 is grabbed; workaround for GOK bug 98420.
1503 (spi_controller_register_with_devices):
1504 Call XTestGrabControl with 'impervious' flag set to True,
1505 allows us to synthesize events and query the pointer even during
1506 an active grab by another client.
1507 (spi_device_event_controller_forward_mouse_event):
1508 Set the mouse_mask_state to the mouse_button_state from
1509 the intercepted event, to synchronize the grab listener with
1512 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1514 * cspi/spi_accessible.c:
1515 (AccessibleRole_getName):
1516 Added necessary strings for making this (deprecated)
1517 method work with the new role types.
1518 (init_role_table, role_table):
1519 Added definition of SPI_ROLE_APPLICATION.
1521 * libspi/spi-roletypes.h:
1522 Added SPI_ROLE_APPLICATION.
1524 * idl/Accessibility_Role.idl:
1525 Added ROLE_APPLICATION.
1527 * docs/reference/cspi/at-spi-cspi-decl.txt:
1528 Added SPI_ROLE_APPLICATION to docs.
1530 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1532 * cspi/spi_accessible.c
1533 (cspi_init_role_table): Do not write beyond end of role_table.
1534 (Accessible_getRole): Use correct type for value returned by
1535 Accessibility_Accessible_getRole().
1537 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1538 beyond end of role_table. (This fixes bug #98269)
1540 * libspi/application.c: Add include file spi-private.h for
1541 definition of spi_init_any_nil.
1543 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1547 * libspi/spi-private.h:
1548 Added DGB() macro, and extern int _dbg declaration.
1550 * registryd/registry.c:
1551 (definitions) storage for _dbg.
1552 (spi_registry_init):
1553 Get environment variable "AT_SPI_DEBUG".
1554 (spi_registry_set_debug):
1555 New method, to initialize _dbg value.
1556 (spi_listener_struct_new, spi_registry_object_finalize):
1557 (notify_listeners_cb):
1558 Changed fprintfs to use DBG and g_warning().
1560 * registryd/deviceeventcontroller.c:
1561 (_deregister_keygrab, spi_controller_register_device_listener):
1562 Changed debug/warning messages to use DBG macro.
1564 * libspi/listener.c:
1565 (impl_notify_event):
1566 Changed warning messages to use DBG macro and g_warning().
1568 * atk-bridge/bridge.c:
1569 (atk_bridge_init, spi_atk_bridge_get_registry):
1570 (spi_atk_bridge_exit_func):
1571 (spi_atk_bridge_property_event_listener):
1572 Changed status, warning, and error messages to use
1573 g_warning, g_message, and DBG macros.
1576 Read the state of the AT_SPI_DEBUG environment variable
1577 and set a local '_dbg' accordingly.
1579 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1581 FIXES for 98836, 98842, other bugs.
1584 Revved to 1.1.4, interface-age=4, binary-age=4.
1586 * registryd/deviceeventcontroller.c:
1588 Fixed crasher bug in last_mouse_pos initialization.
1590 * registryd/registry.c:
1591 (desktop_add_application, desktop_remove_application):
1592 Added (and then commented out) some support for
1593 object context marshalling. [TODO]
1595 * atk-bridge/bridge.c:
1596 (spi_atk_bridge_event_context_create):
1597 Commented out object context creation until it can
1598 be properly tested and debugged.
1600 * registryd/registry.c:
1601 (impl_registry_notify_event):
1602 Fixed crasher bug, we were calling
1603 spi_re_entrant_list_foreach () with an empty list.
1605 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1607 * idl/Accessibility_Action.idl:
1608 * idl/Accessibility_Component.idl:
1609 * idl/Accessibility_Desktop.idl:
1610 * idl/Accessibility_Event.idl:
1611 * idl/Accessibility_Hyperlink.idl:
1612 * idl/Accessibility_Image.idl:
1613 * idl/Accessibility_Relation.idl:
1614 * idl/Accessibility_Selection.idl:
1615 * idl/Accessibility_State.idl:
1616 * idl/Accessibility_Value.idl:
1617 Updated unimplemented slot count to minimum of
1618 four for all interfaces, for ABI freeze.
1620 * idl/Accessibility_EditableText.idl:
1621 * idl/Accessibility_Text.idl:
1622 Updated unimplemented slot count to six
1625 * idl/Accessibility_Registry.idl:
1626 Updated unimplemented slot count to six
1627 (also for DeviceEventController),
1630 * idl/Accessibility_Table.idl:
1631 Updated unimplemented slot count to eight,
1634 * idl/Accessibility_Event.idl:
1635 Added CORBA_any "any_data" member to Event struct.
1637 * idl/Accessibility_Event.idl:
1638 Added CORBA_any "any_data" member to Event struct.
1640 * atk-bridge/bridge.c:
1642 atk_signal_text_changed, atk_signal_child_changed,
1643 signal ids queried from gtype system.
1644 (AtkBridgeEventContextType): New enum.
1645 (AtkBridgeEventContextData): New struct.
1646 (AtkBridgeEventContext): New struct.
1647 (atk_bridge_init_event_type_consts):
1648 New method, initializes type contants for comparison
1649 prior to emit_eventv.
1650 (atk_bridge_event_context_init): New method,
1651 initializes a CORBA_any from an AtkBridgeEventContext.
1652 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1653 initialize the event.any_data struct.
1654 (spi_atk_bridge_event_context_create): New method,
1655 creates an AtkBridgeEventContext from signal/event info.
1656 (spi_atk_bridge_event_context_free): New method.
1657 (spi_atk_emit_eventv): Changed to take an
1658 AtkBridgeEventContext parameter. We now initialize
1659 the event.any_data member prior to notifying the
1660 Registry, via the AtkBridgeEventContext.
1661 (spi_atk_bridge_property_event_listener):
1662 (spi_atk_bridge_state_event_listener):
1663 Match emit_eventv signature.
1664 (spi_atk_bridge_object_event_listener):
1665 Match emit_eventv signature, and create an
1666 event context from the event details.
1667 Free the event context afterwards.
1668 (spi_atk_bridge_window_event_listener):
1669 Create an event context, pass it to the
1673 (AccessibleEvent_getContextString):
1674 (AccessibleEvent_getContextObject):
1675 New methods, allow query of AccessibleEvent objects
1676 for more context details (via the "any_data" member
1677 of the Event struct, above).
1680 Definitions for AccessibleEvent_getContextString
1681 and AccessibleEvent_getContextObject.
1683 * cspi/spi_listener.h:
1684 (InternalEvent): New struct.
1687 (AccessibleEvent_getContextString):
1688 (AccessibleEvent_getContextObject):
1689 Implementations of new methods, for obtaining
1690 additional context information from some event types.
1692 * cspi/spi_registry.c:
1693 (SPI_registerGlobalEventListener):
1694 Added mention of active-descendant-changed event in docs.
1696 * cspi/cspi-bonobo-listener.c:
1698 Marshal the any into the AccessibleEvent via
1701 * libspi/spi-private.h:
1702 #include <orbit/orbit.h>
1704 (spi_init_any_string):
1705 (spi_init_any_object):
1706 New convenience function declarations.
1710 (spi_init_any_string):
1711 (spi_init_any_object):
1712 New convenience function implementations.
1714 * registryd/deviceeventcontroller.c:
1715 (spi_poll_dec_mouse_moved):
1716 (spi_device_event_controller_forward_mous_event):
1717 Initialize any_data member of event.
1718 (spi_deregister_controller_device_listener):
1719 Fix incorrect param pass which was preventing deregistration.
1721 * registryd/registry.c:
1722 (desktop_add_application):
1723 (desktop_remove_application):
1724 Add object data to event's any_data before dispatch.
1726 Fix for error messages from GAIL.
1728 * test/event-listener-test.c:
1729 Test new ContextString and "any_data" API:
1730 (report_text_event): New method query and output context string.
1731 (main): register a new text listener with report_text_event
1734 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1736 Fixes for bugs 98127 and 97914.
1737 * cspi/spi-roletypes.h:
1738 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1740 * cspi/spi-statetypes.h:
1741 Added SPI_STATE_MANAGES_DESCENDANTS
1743 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1744 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1745 * cspi/spi_accessible.c:
1746 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1747 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1748 Accessibility_STATE_MANAGES_DESCENDANTS
1749 * libspi/accessible.c:
1750 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1751 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1752 As requested by Bill, I also cleaned up the alignment.
1753 * libspi/relation.c:
1754 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1755 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1756 * libspi/stateset.c:
1757 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1758 Accessibility_STATE_MANAGES_DESCENDANTS
1759 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1760 Document changes reflecting modifications to roles.
1761 * docs/reference/cspi/tmpl/spi_relation.sgml:
1762 Document changes reflecting modifications to relations.
1763 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1764 Document changes reflecting modifications to states.
1766 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1769 Revved to 1.1.3, interface-age=3, binary-age=3.
1770 Added REBUILD macro.
1773 Removed accessx-gui from the tests, since we have a nice
1774 keyboard accessibility capplet now :-)
1776 * test/keysynth-demo.c:
1777 (increment_scan): removed do-nothing default: case,
1780 * test/visual-bell.c:
1781 (main) : removed do-nothing default: case,
1784 * cspi/spi_action.c:
1785 (AccessibleAction_getKeyBinding_):
1786 Documented keybinding string format.
1790 (AccessibleText_getAttributes):
1791 Documented the text attribute string format.
1792 It's changed to use semicolon delimiters also,
1793 to prevent clashes with CSS attributes, but the old
1794 trick of looking for ", " strings will still work
1795 (as unreliably as ever). Fix for bug related to 97916.
1798 Include <cspi/bonobo/cspi-bonobo-listener.h>
1799 Fixes build warning.
1800 (SPI_freeAccessibleKeySet):
1801 (AccessibleKeystrokeListener_addCallback):
1802 (AccessibleKeystrokeListener_removeCallback):
1803 Modify to use AccessibleDeviceListener API internally,
1804 instead of AccessibleKeystrokeListener.
1806 * idl/Accessibility_Event.idl:
1807 Added two more empty slots to EventListener (for a total of four).
1809 * idl/Accessibility_Accessible.idl:
1810 Added four empty slots to Accessible interface.
1812 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1814 * idl/Accessibility_Registry.idl:
1815 (KeyEventType, EventType):
1816 Marked KeyEventType as deprecated; it duplicates
1817 functionality of EventType, which has been extended to
1818 include Mouse-button events.
1819 (KeyEventTypeSeq): defined in terms of EventType.
1820 (registerDeviceEventListener, deregisterDeviceEventListener):
1821 New methods, for managing listeners to device events,
1822 which potentially may consume them.
1825 Added definition for AccessibleDeviceListener.
1827 * cspi/spi-listener.h:
1828 (enum AccessibleDeviceEventType):
1829 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1830 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1831 for backwards compat.
1832 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1833 and typedef'd AccessibleKeystroke to it for back-compat.
1834 (AccessibleDeviceListenerCB):
1835 New function prototype typedef.
1838 (AccessibleDeviceEventMask): New typedef.
1839 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1840 (AccessibleKeyMaskType):
1841 Set equivalent to AccessibleModifierMaskType for back-compat.
1842 (SPI_createAccessibleKeystrokeListener):
1843 (AccessibleKeystrokeListener_unref):
1844 Deprecated in favor of equivalent (better-named) new API below..
1845 keystroke listeners are like all device listeners.
1846 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1847 New API names for old features :-).
1848 (AccessibleDeviceListener_addCallback):
1849 (AccessibleDeviceListener_removeCallback):
1850 (SPI_registerDeviceEventListener):
1851 (SPI_deregisterDeviceEventListener):
1855 (SPI_createAccessibleKeystrokeListener):
1856 Use new preferred API, cspi_device_listener_new() and
1857 cspi_device_listener_add_cb().
1858 (AccessibleKeystrokeListener_removeCallback):
1859 Use new preferred API, cspi_device_listener_remove_cb().
1860 (AccessibleKeystrokeListener_unref):
1861 Use new preferred API, cspi_device_listener_unref().
1862 (SPI_createAccessibleDeviceListener):
1863 (AccessibleDeviceListener_addCallback):
1864 (AccessibleDeviceListener_removeCallback):
1865 Implementation of new API.
1867 * cspi/spi_registry.c:
1868 (SPI_registerDeviceEventListener):
1869 (SPI_deregisterDeviceEventListener):
1870 Implementation of new API. Fixed memory leak and removed need to
1871 allocate EventTypeSeq (thanks Michael for catching this).
1872 Squashed a wayward CORBA_exception_free that shouldn't get called.
1874 * cspi/bonobo/cspi-bonobo-listener.c:
1876 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1877 (cspi_key_event): renamed to cspi_device_event().
1878 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1879 Extended to handle mouse button events as well as key events.
1880 (CSpiKeystrokeListener):
1881 Class superceded by CSpiDeviceListener.
1882 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1883 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1885 * cspi/bonobo/cspi-bonobo-listener.h:
1886 (CSpiKeystrokeListener):
1887 Class superceded by CSpiDeviceListener.
1888 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1889 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1891 * libspi/Makefile.am:
1892 Replaced keystrokelistener.h and keystrokelistener.c
1893 with devicelistener.h and devicelistener.c; keystrokelisener.h
1894 stub retained for back-compat.
1896 * libspi/keystrokelistener.c:
1900 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1902 * registryd/deviceeventcontroller.c:
1903 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1904 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1905 (DEControllerPrivateData): Added xkb settings data.
1906 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1907 button release events (which can't be captured via XGrabButton).
1908 Don't dispatch via the 'normal' event mechanism if the device event was
1910 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1911 Handle the typeseq data in its new location (see above).
1912 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1913 New methods, for "generic" device listeners.
1914 (spi_controller_register_device_listener):
1915 Now handle mouse event listeners as well as key listeners.
1916 (spi_controller_notify_mouselisteners):
1917 New internal method.
1918 (spi_device_event_controller_forward_mouse_event):
1919 Now we notify mouse device listeners as well as generating the
1920 non-consumable "mouse:" events.
1922 We must check and restore the XKB
1923 modifier map if we consume the event, since the act of triggering
1924 a mouse event will normally reset the XKB latch. This is required for
1926 (spi_controller_register_with_devices):
1927 Load the XKB settings when registering, and register for XKB
1928 state notify events.
1929 (spi_key_eventtype_seq_contains_event):
1930 Renamed spi_eventtype_seq_contains_event, since it's used
1931 internally for all device event types now.
1932 (spi_key_event_matches_listener):
1933 Uses spi_eventtype_seq_contains_event now.
1934 (spi_device_event_controller_object_finalize):
1935 Free the private data and the XkbKeyboard struct.
1936 (impl_register_device_listener, impl_deregister_device_listener):
1937 Implementation of new IDL.
1938 (spi_deregister_controller_device_listener):
1939 New internal method.
1940 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1941 More efficient implementation, we don't have to create a new
1942 XkbControls structure every time we query.
1943 (spi_device_event_controller_class_init):
1944 Initialize the epv entries for the new IDL. Assign the
1945 "spi-dec-private" quark.
1946 (spi_device_event_controller_init):
1947 Initialize the private data.
1948 (spi_device_event_controller_forward_key_event):
1949 Removed a bogus CORBA_exception_free() call.
1951 * registryd/deviceeventcontroller.h:
1952 Replaced inclusion of keystrokelistener.h with
1955 * test/event-listener-test.c:
1956 (report_mouse_event):
1959 Added mouse-event device listener.
1961 * test/test-simple.c:
1962 (create_test_window):
1963 Fixed regression (we were instantiating a GtkRange,
1964 which is now an abstract class). Also fixed to match
1965 existing AtkRole names, this seems to have changed in ATK
1966 awhile ago; too late now I think, and the new
1967 mechanism is at least elegant and consistent with the
1968 glib enum "nick" APIs.
1970 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1972 * idl/Accessibility_Relation.idl:
1973 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1974 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1975 * idl/Accessibility_Role.idl:
1976 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1977 * idl/Accessibility_State.idl:
1978 add STATE_MANAGES_DESCENDANTS
1979 * test/event-listener-test.c:
1980 Added a listener for active-descendant events.
1982 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1984 * atk-bridge/bridge.c
1985 (atk_bridge_init): If application is Bonobo component wait until top
1986 level is added before registering
1987 (spi_atk_bridge_do_registration): New function which contains code,
1988 formerly in atk_bridge_init, to do application registration.
1989 (spi_atk_bridge_toplevel_added): Signal called when top level
1990 added to Bonobo component
1992 This fixes bug #83134.
1994 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1996 * registryd/deviceeventcontroller.c
1997 Fixed compilation error caused by calling gettimeofday()
2000 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2005 Added template for HAVE_XKB.
2008 Changes to check for XKB, and to set the HAVE_XKB #define if it
2011 * libspi/listener.c:
2012 ()impl_notify_event): Make failure to get event source name
2015 * registryd/deviceeventcontroller.c:
2016 (#include): include X11/XKBlib.h.
2017 (DEControllerPrivateData) : New struct.
2018 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2020 (dec_synth_keycode_press) (dec_synth_keycode_release):
2021 New methods; split the key synthesis code into these methods.
2022 They check XKB settings before determining the "time" values to
2023 pass to Xtest; this fixes bug #95828.
2024 (impl_generate_keyboard_event): Changed to use methods above,
2025 instead of callng Xtest directly.
2026 (spi_device_event_controller_init): Initialize new privae struct s
2028 (spi_device_event_controllr_object_finalize):
2029 Free the (new) private data.
2031 * registryd/deviceeventcontroller.h:
2032 Add new gpointer to end of struct data.
2034 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2037 Incremented revision to 1.1.2, SONAME is still '.so', library
2038 extensions are ".so.0.0.2".
2040 * registryd/deviceeventcontroller.c:
2041 FIXES FOR #93592 and #95940.
2042 (statics): renamed mouse_button_state to mouse_mask_state,
2043 added key_modifier_mask.
2044 (spi_dec_poll_mouse_moved):
2045 Added key modifier checks, and emit "keyboard:modifiers"
2046 events when the key modifiers currently in use change.
2047 Also generate "mouse:abs" events periodically, even if the mouse
2048 is stationary (should we?).
2049 Alternatively we could generate "mouse:abs" events for either all
2050 mouse movements, or every 'nth' mouse movement, or at the
2051 beginning and end of every "active" mouse period.
2053 * test/event-listener-test.c:
2054 (main): Added listener for "keyboard:modifiers" events.
2056 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2058 * libspi/keymasks.h:
2059 Added key mask #defines for mouse buttons; e.g.
2060 SPI_KEYMASK_BUTTON1, etc.
2063 Incremented dependency on ATK to version 1.1.0. (This dependency
2064 is probably premature but will soon be real enough).
2066 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2068 * libspi/hyperlink.[ch]
2069 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2070 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2073 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2078 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2080 * registryd/deviceeventcontroller.c
2081 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2082 events to be ignored.
2083 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2084 keyboard_mode so that XAllowEvents() can be called.
2088 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2090 * cspi/spi-accessible.c: Correct names of roles returned by
2091 AccessibleRole_getName(). Fixes bug #95055.
2093 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2095 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2098 * registryd/registry.c
2099 (desktop_remove_application: Write diagnostic message to stderr for
2102 (impl_accessibility_registry_deregister_global_event_listener):
2103 Correct size of lists array. This addresses bug #94555).
2105 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2107 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2110 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2112 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2115 * registryd/registry.c (impl_registry_notify_event): Remove
2116 unnecessary call to parser_event_type().
2118 * docs/reference/cspi/tmpl/spi_component.sgml:
2119 Add reference to SPI_LAYER_WINDOW.
2121 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2123 * registryd/registry.c
2124 (desktop_add_application): Remove leak.
2125 (desktop_remove_application): Remove leak.
2126 (parser_event_type): Remove leak.
2128 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2130 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2131 bogus call to CORBA_string_dup(). Also removed unnecessary
2132 g_string_dup/g_free calls.
2134 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2136 * registryd/deviceeventcontroller.c:
2137 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2139 * test/event-listener-test.c:
2140 main: commented out three redundant listeners, to reduce output
2141 noise. (They still are potentially useful for testing).
2144 2002-09-13 Michael Meeks <michael@ximian.com>
2146 * Update all the copyrights to include Ximian.
2148 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2150 * cspi/spi.h: add SPI_LAYER_WINDOW.
2152 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2153 add Accessibility_LAYER_WINDOW case.
2155 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2157 * libspi/component.c: (impl_accessibility_component_get_layer):
2158 add ATK_LAYER_WINDOW case.
2160 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2162 * configure.in: incremented micro version.
2164 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2166 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2169 Clarified and reworded our commit policy.
2172 Started an API "todo" addition list for 2.2.
2175 (impl_getSelection):
2176 Free char pointer from atk_text_get_selection, which was being leaked.
2178 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2181 Small revision to author acknowledgement.
2183 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2185 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2186 If signal has detail add it to the type of the event.
2189 2002-08-12 Michael Meeks <michael@ximian.com>
2191 * test/test-simple.c (global_listener_cb): bin bogosity.
2192 (test_keylisteners): disable, still doesn't work reliably,
2193 certainly not on my system anyway.
2195 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2196 don't leak a reference on the DEC. This round-trip
2197 fetching of the DEC per keystroke sucks, it should be
2200 * cspi/spi-private.h,
2201 * cspi/cspi-lowlevel.h,
2202 * cspi/bonobo/cspi-bonobo-listener.[ch],
2203 * cspi/bonobo/cspi-bonobo.c: get the copyright
2204 notices better - there is still a large amount of
2205 work in at-spi falsely attributed solely to Sun.
2207 * cspi/spi_main.c (cspi_object_ref): kill bogus
2208 hash lookup, just increment the ref.
2209 (SPI_freeString): make explicit the fact that we
2210 handle NULL strings just fine.
2211 (report_leaked_ref): obey coding standards.
2212 (cspi_object_hash, cspi_object_equal): kill retval.
2213 (cspi_object_release): only release if not on loan.
2214 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2215 (cspi_object_borrow, cspi_object_return): impl.
2217 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2218 use cspi_object_borrow / return.
2220 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2222 * cspi/bonobo/cspi-bonobo-listener.c:
2224 Don't call cspi_oject_new() because this is creating a new Accessible
2225 every single time that an event is fired. This causes ATs like at-poke
2226 to nolonger recognise the source of the event and thus ignore it.
2227 Re-use the object from the cache, ref it and then unref it after the
2228 listeners have been called.
2230 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2232 * test/event-listener-test.c:
2233 Added command-line options to disable mouse events (m) and
2236 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2238 * configure.in: Update required versions of ATK, GTK+ and GAIL
2240 * cspi-1.0.pc.in: Add dependency for X include files
2243 * cspi/bonobo/Makefile.am:
2244 Add $(X_CFLAGS) so that X include files
2245 are picked up even if not in standard place (bug #71686)
2247 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2249 * registryd/deviceeventcontroller.c: fix for 84261
2250 (spi_dec_mouse_moved):
2251 Added test of mouse button mask, so that we can detect mouse
2252 button release. Unfortunately we can't otherwise detect mouse
2253 button release events without consuming the mouse press event,
2254 because of the way XGrabButton works. This means that our mouse
2255 release events have a latency dependent on the polling period
2256 while the mouse button is down. At least in this case we only
2257 have to poll while the button is down, and not at other times.
2258 If the button masks don't match with what the last press event
2259 reported, we report the appropriate button release event.
2260 (spi_dec_ungrab_mouse):
2261 New method (not yet called).
2262 (spi_device_event_controller_forward_mouse_event):
2263 New method, sends mouse press event from GdkFilter.
2264 (spi_dec_init_mouse_listener):
2265 Added code to call XGrabButton, redirecting mouse button events to
2266 the root window and our Gdk event loop.
2268 Added code to filter mouse button events, and reordered.
2270 * test/event-listener-test.c:
2272 Added registration for mouse events of type "mouse:button".
2274 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2276 * registryd/deviceeventcontroller.c: partial fix for 84261
2277 (spi_dec_poll_mouse_idle):
2278 New method, a timeout which checks to see if the mouse
2280 (spi_dec_poll_mouse_moving):
2281 A timeout to be called when mouse motion is underway.
2282 (spi_dec_poll_mouse_moved):
2283 A method which fires an event if the mouse has moved, and reports
2284 whether or not it did so.
2285 (spi_dec_init_mouse_listener):
2286 A method which sets up the timeouts above.
2287 (spi_device_event_controller_new):
2288 Now calls spi_dec_init_mouse_listener.
2290 * registryd/registry.c:
2291 (spi_registry_init):
2292 Now we initialize the device event controller when the registry is
2293 initialized, instead of waiting until a client has requested a key
2294 event notification; this is because we need the event controller
2295 for mouse events, but the mouse event registration API is a
2296 "registry" call and doesn't explicitly call the
2297 deviceeventcontroller.
2298 We now report mouse motion events with a 100 ms idle latency and
2299 a 20 ms granularity when motion is in progress.
2301 * test/event-listener-test.c:
2303 We now register the "detail listener" for events of type
2304 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2305 delivered only for the first mouse event received, and thereafter
2306 "mouse:abs" events are delivered.)
2308 * cspi/spi_registry.c:
2309 DOCS: Documented the above mouse event typestrings.
2311 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2313 Happy Summer Solstice...
2315 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2316 (spi_controller_notify_keylisteners):
2317 Changes to remove a listener from the listener list, freeing its
2318 open keygrabs, if a notification to that listener fails. This
2319 means that although a dead listener can continue to hold a passive
2320 keygrab, a maximum of one dispatch to such a listener can fail
2321 before the listener is removed from the list, thus the keygrab
2322 will be released on the next occurrence.
2323 As part of this fix:
2324 (spi_notify_keylisteners):
2325 Renamed to spi_controller_notify_keylisteners, as the controller
2326 instance must now be passed as an argument.
2327 The copied 'notify' GList is now a list of DEControllerKeyListener
2328 objects, since we need more than just the CORBA reference if a
2329 notify fails and we need to deregister the listener.
2330 (impl_notify_listeners_sync):
2331 (impl_notify_listeners_async):
2332 (spi_device_event_controller_forward_key_event):
2333 Modify use of notify_keylisteners in accordance with above
2335 (spi_deregister_controller_key_listener):
2336 New method introduced by refactoring, from
2337 impl_deregister_keystroke_listener.
2338 (impl_deregister_keystroke_listener):
2339 Call spi_deregister_controller_key_listener.
2340 (spi_key_listener_clone):
2341 New method to copy a key listner without doing a 'ref' on the
2342 remote object instance; used to create a notifier list.
2343 (spi_key_listener_data_free):
2344 New method, frees data without unreffing the source.
2346 (spi_key_listener_clone_free): new method.
2347 (spi_key_listener_free):
2348 refactored to call spi_key_listener_data_free.
2350 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2352 * registryd/registry.c: [fix for bug 86048]
2353 (notify_listeners_cb):
2354 Clear CORBA system exceptions which occur when notifying
2355 listeners, before returning to the source of the original event,
2356 since the event source doesn't care if the relayed notify failed.
2357 In other words, don't complain to the atk-bridge if the registry
2358 could not notify all its listeners, that's no fault of the
2359 application and thus should not appear to be an error from the
2360 application's perspective.
2362 * cspi/spi_main.c: [fix for bug 85980]
2364 Replaced use of bonobo_object_dup_ref with call to the wrapper
2365 method, csou_dup_ref (); this silences a compiler warning and
2366 provided more portability.
2368 Ping the registry before return, and restart if necessary.
2370 * cspi/bonobo/cspi-bonobo.c:
2372 New internal method.
2374 Fixed this method to return an object reference, as it should have
2377 * cspi/cspi-lowlevel.h:
2378 Added internal definition for cspi_ping() and fixed
2379 return type of cspi_dup_ref().
2382 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2384 * atk-bridge/bridge.c: [fix for bug 85305]
2385 (spi_atk_bridge_register_application):
2386 New method where the initial application registry calls have been
2387 moved; it allows an application to re-register in response to
2388 certain error conditions (such as a registry restart, see below).
2390 Moved some initialization code to the method
2391 spi_atk_bridge_get_registry, below.
2392 (spi_atk_bridge_get_registry):
2393 New, private accessor function for the Accessibility_Registry
2394 instance. If the registry has not been started before, or has
2395 died (as detected by failure of a CORBA exception), it is
2396 restarted before return, and spi_atk_bridge_register_application
2397 is called again to register with the new bridge instance.
2398 (spi_atk_emit_eventv):
2399 Set registry_died on error; use spi_atk_bridge_get_registry () to
2400 access the registry.
2402 * registryd/registry.c:
2403 (impl_accessibility_registry_register_global_event_listener):
2404 Set listener's event_type_quark to etype.minor instead of
2405 etype.major (fix for bug 84856).
2407 * test/event-listener-test.c:
2408 (report_detail_event):
2409 Change the output string so that user/tester can tell that the
2410 'detail listener' was called instead of the 'generic listener'.
2412 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2414 Fixes for bugs 84900, 84908, 84897, 84898.
2419 Revved version to 1.1.0
2420 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2421 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2423 * idl/Accessibility_Registry.idl:
2424 (EventListener::notifyEvent):
2425 Removed 'oneway' directive after extensive consulation with
2426 ORBit2 team and others. This means also that unref() of the event
2427 source can and should be done synchronously after emission, rather
2428 than remotely in the client, after servicing the notify call on
2431 NOTE: This change speeds up listener performance considerably, but
2432 introduces new latency on the application side. We may want to
2433 add an event queue to the atk-bridge.
2435 * atk-bridge/bridge.c:
2436 (spi_atk_bridge_focus_tracker):
2437 Do a local unref() on the event source after emission.
2439 * registryd/registry.c:
2440 (desktop_remove_application):
2441 Do an unref() on the event source after emission.
2442 (desktop_add_application):
2443 Do an unref() on the event source after emission.
2444 (notify_listeners_cb):
2445 When relaying an event, don't automatically add the event source
2446 to the local object cache, just CORBA_dup it instead. Likewise,
2447 if this method reenters, release the ref rather than calling
2449 (impl_registry_notify_event):
2450 No longer call remote unref() on the event source after dispatch.
2452 * libspi/eventlistener.c:
2453 (impl_accessible_event_notify_event):
2454 Removed remote unref ()
2456 * cspi/bonobo/cspi-bonobo-listener.c:
2458 We now call cspi_object_new() instead of cspi_object_add() on
2459 receipt of an event; thus we only have an implicit object ref
2460 while the cspi_event method is being executed. If we need to keep
2461 a reference to the object, the listener must call ref() on the
2462 object. Thus also we don't need to call cspi_object_unref() after
2463 invoking the listener callbacks in this method.
2467 New internal API for creating a new cspi object, without adding it
2468 to the object cache.
2470 Now uses cspi_object_new() to create the cspi object instance.
2472 Now checks to see if the object is in the internal object cache,
2473 and adds it if necessary before incrementing its refcount (note
2474 that new objects are added with a refcount of 1).
2475 (report_leaked_ref):
2476 New method which gives some information on leaked object instances
2477 if leak detection is turned on.
2479 * test/event-listener-test.c:
2480 (timing_test_event):
2481 New method, used for testing event delivery timing for special
2482 events of type "object:test". It reports elapsed time and
2483 events/sec every 500 events.
2485 Added a new listener, 'test listener', to check timing of event
2486 receipt as noted above.
2488 Added some timing output here also, reports elapsed time every 100
2491 * test/stress-test.c:
2492 Emit events of type "object:test", for use with "event-listener-test".
2494 * test/test-simple.c:
2495 (global_listener_cb):
2496 Call Accessible_ref() on the event source before calling
2497 validate_accessible, since the validation process does pointer
2498 comparisons on the event source, meaning that the event source
2499 needs to be added to the local object cache first. Any use of
2500 such pointer comparisons between Accessible objects requires that
2501 the caller hold an explicit reference to those objects.
2502 We also must therefore call Accessible_unref() when leaving this method.
2504 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2506 * registryd/deviceeventcontroller.c:
2507 (spi_controller_update_key_grabs):
2508 Fix for #84735, subsequent keygrab listeners not informed of
2509 registration failure.
2512 (spi_base_construct):
2513 Add an assertion on construct, to make sure the GObject passed in
2514 is really a GObject.
2516 Explicitly initialize object->gobj pointer to NULL;
2518 * cspi/bonobo/cspi-bonobo-listener.c:
2519 (cspi_object_add_ref):
2520 New method, can specify whether to dup-ref a bonobo object passed
2521 in if it's newly added to the object cache.
2523 Now calls cspi_object_add_ref with second param of "FALSE". This
2524 prevents us from doing a pointless dup-ref followed by
2525 release-unref for all those cases where the object is already in
2526 our object cache (fix for #85205).
2528 * atk-bridge/bridge.c:
2529 (spi_atk_bridge_idle_init):
2530 Removed this method, we don't need to initialize in an idle
2533 Changed to call spi_atk_register_event_listeners directly, not via an
2534 idle handler. (fix for #81139)
2535 (gnome_accessibility_module_shutdown):
2536 Removed conditional around deregistration of listeners, since we
2537 don't use the idle handler and thus have always registered when
2539 (spi_init_keystroke_from_atk_key_event):
2540 Changed references to Accessibility_KEY_PRESSED to
2541 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2543 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2545 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2550 * test/stress-test.c:
2553 (may have been an incomplete commit yesterday?)
2555 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2558 Added target for new stress-test.
2560 * test/stress-test.c:
2561 New test, sends 1000 focus notifies in quick succession.
2563 * test/key-listener-test.c:
2564 Now we report whether a keylistener registration
2565 request succeeded or failed.
2567 * test/event-listener-test.c:
2568 Uncommented some listeners which are now implemented.
2571 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2573 * registryd/deviceeventcontroller.c:
2574 (spi_controller_update_key_grabs):
2575 Fix for #82509, lack of failure notification when
2576 ALL_WINDOWS keygrabs fail due to XGrabKey
2577 failure: we synchronize the server when
2578 registering a passive grab, to make sure we get the
2579 error message before the call returns.
2581 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2583 * test/test-simple.c:
2585 Removed #ifdef KEY_IMPL_WORKS guards.
2586 (test_keylisteners):
2587 Removed #ifdef KEY_IMPL_WORKS guards.
2588 Fixed bug which was causing a hang waiting for a
2589 "press" event (which was already overwritten by a "release"
2590 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2592 Added code to set globals 'key_press_received' and
2593 'key_release_received'.
2596 Added section "1.1 API Proposed Additions" which
2597 lists API additions desired for at-spi-1.1 (only one so far).
2598 Updated TODO list a little.
2600 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2602 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2605 * configure.in: Revved to 1.0.0.
2607 * idl/Accessibility_Registry.idl:
2608 (registerKeystrokeListener):
2609 Added boolean return value.
2611 * registryd/registry.c:
2612 (notify_listeners_cb): Minor fix to debug output.
2614 * registryd/Accessibility_Registry.server.in.in:
2615 Revved version number in OAFIID to 1.0.
2617 * registryd/registryd.c:
2619 Use new OAFIID version.
2621 * cspi/bonobo/cspi-bonobo.c:
2623 Use new OAFIID version.
2629 * atk-bridge/bridge.c:
2631 Use new OAFIID version.
2633 * registryd/deviceeventcontroller.c:
2634 (impl_register_keystroke_listener):
2635 Added CORBA_boolean return value.
2636 (spi_controller_register_device_listener):
2637 Added gboolean return value.
2638 (spi_controller_register_global_keygrabs):
2639 Added gboolean return value.
2640 (spi_key_set_contains_key):
2641 Added implementation for many more control keys,
2642 for instance F1-F12, arrow keys, End, Home, Page_Up,
2644 [TODO: some still not implemented].
2646 * text/screen-review-test.c:
2647 (text_chunk_pad_string):
2648 New function: it provides mapping between coordinate
2649 positions of text chunks and character positions in the
2650 screen-review-line output string.
2651 (text_chunk_to_string):
2652 New function, calls text_chunk_pad_string with various
2653 pad/delimiter characters. Pushbuttons are delimited with
2654 square brackets, Frames with vertical 'pipe' lines, and
2655 other text with double quotes.
2656 (text_chunk_list_to_string):
2657 Calls new function text_chunk_to_string.
2658 (toplevel_composite):
2659 New function to composite layers CANVAS through
2660 POPUP in each toplevel (other layers are composited
2661 across toplevels, i.e. BACKGROUND and OVERLAY).
2662 (review_buffer_composite):
2663 Revise to use new methods.
2669 2002-05-31 Laszlo Peter <laca@sun.com>
2671 * configure.in: add the Xtst libdir to the runpath on Solaris,
2672 since it's not in the default library search path.
2674 2002-05-29 jacob berkman <jacob@ximian.com>
2676 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2678 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2680 * test/screen-review-test.c:
2681 (text_chunk_pad_string):
2682 Added method, which pads the string according to the
2683 text bounds of the chunk. It also takes a 3-character
2684 string as a param which indicates the characters to be
2685 used for start, padding, and end delimitation of the chunk.
2686 (text_chunk_to_string):
2687 Changed to use text_chunk_pad_string.
2689 * configure.in: Fixed bug in AC_OUTPUT that was
2690 causing path substitution in Accessibility_Registry.server
2693 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2695 * text/screen-review-test.c:
2696 (guess_string_clip):
2697 New method which attempts a best-guess at clipping
2698 text from components (like Java labels) which don't
2699 actually implement AccessibleText. This inaccurate
2700 clip is based on the assumption that the label is
2701 justified left-and-right, and monospaced.
2702 (text_chunk_get_clipped_string):
2703 We now call guess_string_clip() for text-containing
2704 components that don't implement AccessibleText.
2706 * test/screen-review-test.c:
2707 (review_buffer_get_text_chunk):
2708 We now pull "name" from labels if they do not implement
2709 AccessibleText (i.e. for Java labels).
2710 (get_screen_review_line_at):
2711 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2714 Replaceded AC_OUTPUT target
2715 registryd/Accessibility_Registry.server with
2716 registryd/Accessibility_Registry.server.in.
2718 * registryd/Accessibility_Registry.server.in:
2719 Removed (this is now a Makefile target).
2721 * registryd/Accessibility_Registry.server.in.in:
2722 Added (source for target above). We now use $(libexecdir) as
2723 prefix for the executable at-spi-registryd.
2725 * registry/Makefile.am:
2726 Now install at-spi-registryd into $(libexecdir), and build .server
2727 file with path (see above).
2729 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2731 * test/screen-review-test.c:
2732 (text_chunk_get_clipped_string):
2733 We now check to see if words fall within clip bounds
2734 before resorting to character-by-character clip bounds testing.
2736 * TODO: Added a section for "2.2 Proposed API Additions".
2738 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2740 * test/screen-review-test.c:
2742 Added a screen review benchmarking and test program to test
2745 * cspi/spi_accessible.c:
2747 Made some of the debug strings passed to cspi_check_ev a
2748 little more specific.
2750 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2752 * test/screen-review-test.c: Fix crashes in debug statements
2754 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2756 * test/screen-review-test.c: Added this file.
2758 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2760 * atk-bridge/bridge.c: changed "object:state-change" to
2761 "object:state-changed" to match docs.
2763 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2765 * atk-bridge/bridge.c: Hooked up state-change event details.
2767 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2769 * registryd/registry.c:
2770 Fixed quarking bug in event string parsing; now events with
2771 detail parameters get matched correctly to listeners.
2774 * util/idl/Magnifier.idl: remove.
2776 * util/*.[ch]: Remove.
2777 Magnification utilities and IDL are now in module gnome-mag.
2779 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2781 * registryd/deviceeventcontroller.c:
2782 Fixed bug in grab key conversion which was causing keycode grabs
2783 to be converted to AnyKey grabs.
2786 updated NEWS file to reflect recent spin-off of gnome-mag.
2788 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2790 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2791 busted AccessibleStateSet_compare. Removed redundant casts.
2793 * cspi/spi-action.c: Removed redundant casts.
2795 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2797 * cspi/spi_component.c: Fixed typos and casting error.
2799 * cspi/spi_editabletext.c: Removed redundant casts.
2801 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2803 * cspi/spi_hypertext.c: Eliminated redundant casts.
2805 * cspi/spi_image.c: Eliminated redundant casts.
2807 * cspi/spi_registry.c: Eliminated redundant casts.
2808 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2809 * cspi/spi_selection.c: Removed redundant casts.
2810 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2811 handling. Screen geometry and text offsets were being returned as 0
2812 on error which is technically valid-- changed these to return -1.
2813 Added marshaller for text boundary types to fix bug with boundary
2814 types being passed incorrectly to atk.
2816 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2819 * cspi/spi_registry.c:
2820 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2821 which was uncovered by the recent key changes.
2823 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2825 * test/event-listener-test.c:
2827 Added new test, "event-listener-test";
2828 this code does two things; it benchmarks traversal time
2829 for the accessible hierarchy for the first running accessible
2830 app, and it connects listeners for all supported event types.
2831 It is thus useful as an example event listener and for
2832 diagnostics/debugging of event generation.
2834 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2837 Removed unnecessary dependency on libutil.
2840 Revved micro version: 0.13.1
2842 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2845 Removed util/Makefile from targets.
2848 Removed util subdir from SUBDIRS (temporarily,
2849 pending removal of magnifier-only code
2853 #ifdef-ed out magnifier dependencies, since
2854 magnifier IDL, headers, and binary now live in
2855 module gnome-mag and we don't want at-spi to depend
2856 on gnome-mag. A magnifier demo which can run alongside
2857 simple-at is forthcoming in the gnome-mag module.
2859 NOTE: Split magnifier binary, IDL, and magnification
2860 activation code from at-spi into module gnome-mag.
2862 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2864 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2865 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2867 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2870 Revved to version 0.13.0
2872 * idl/Accessibility_Registry.idl:
2873 Changed definition of KeySet from sequence of longs to sequence of
2874 KeyDefinitions, and added KeyDefinition struct.
2875 Required for fix to bug 80616.
2877 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2878 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2879 to use new definition (see above).
2881 * registryd/deviceeventcontroller.c: handle_keygrab(),
2882 spi_keyset_contains_key():
2883 Changed to make use of new struct; this allows matching based on
2884 string key-name, for instance "Tab". This also allows matching of
2885 composed characters, non-alphanumeric characters in a way that
2886 doesn't involve dependencies on X keysym codes directly, etc.
2888 * test/key-listener-test.c:
2889 Added test for Alt-Tab key using "string" specification of keyset,
2890 and modified one of the tests to use a keycode-based keyset.
2891 Thus this test both tests and demonstrates the creation and use of
2892 keysets of three forms: specified via keycode array,
2893 keysym array, and string array. (The string case only contains a
2894 single string, i.e. a string array of length 1).
2897 Turned on PRINT_TREE option by default. Also fixed a
2898 string-freeing bug in the PRINT_TREE code.
2899 Added a listener to window:minimize events.
2901 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2903 * atk-bridge/bridge.c:
2904 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2905 for window:activate and window:deactiveate
2906 (atk_bridge_property_event_listener atk_bridge_signal_listener
2907 atk_bridge_window_event_listener) Tidy debug code
2909 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2911 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2912 Fixed handling for NULL return value from ATK.
2914 * libspi/action.c libspi/component.c libspi/editabletext.
2915 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2916 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2917 Removed redundant casts.
2919 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2920 Fixed off by one bug.
2922 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2923 function not present in idl)
2925 2002-05-02 jacob berkman <jacob@ximian.com>
2927 * atk-bridge/Makefile.am: make atk-bridge a real module
2929 2002-04-26 Radek Doulik <rodo@ximian.com>
2931 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2932 atk_state_types table
2934 2002-04-22 jacob berkman <jacob@ximian.com>
2937 * libspi/Makefile.am: add deps on the built files to help
2938 automake, and don't version the ORBit typelib
2940 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2942 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2943 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2944 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2945 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2946 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2947 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2948 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2949 libspi/accessible.h libspi/accessible.h libspi/base.h
2950 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2951 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2952 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2953 libspi/spi-private.h libspi/statetset.h libspi/table.h
2954 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2955 util/mag_client.h util/mag_control.c util/mag_image.c
2956 util/mag_image.h util/magnifier.c util/magnifier.h:
2957 Add missing file headers; standardize existing ones
2959 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2961 * atk-bridge/bridge.c: Added window event support.
2963 2002-04-18 Michael Meeks <michael@ximian.com>
2965 * libspi/relation.c (impl_getNTargets): impl.
2966 (impl_getTarget): impl.
2968 * libspi/Makefile.am: fix stateset install.
2970 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2973 Started putting useful info in this file.
2975 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2977 * atk-bridge/bridge.c:
2978 Propagate state-changed notifications to ATs
2980 * cspi/spi_registry.c: update docs to reflect actual behavior of
2981 state-change events.
2983 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2986 Incremented version to 0.12.1
2988 * util/mag_client.h:
2989 Add missing declaration for magnifier_exit,
2990 used by mag_control.c - Forte compiler didn't like
2991 the implicit redeclaration of the function :-(
2994 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2997 Revved version to 0.12 due to API change (see below).
2999 * cspi/spi-roletypes.h:
3000 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3001 definition from the inline docs, and added docs
3002 for SPI_ROLE_LAST_DEFINED.
3005 * cspi/spi_streamablecontent.c:
3006 Added missing seek_type parameter to
3007 (so far unused) method,
3008 AccessibleStreamableContent_seek().
3009 [ RT approval JodyG. ]
3012 Fixed docs for SPI_createAccessibleKeystrokeListener.
3014 * cspi/spi_registry.c:
3015 Fixed docs for SPI_KEYSET_ALL_KEYS.
3017 * docs/reference/cspi/at-spi-cspi-sections.txt:
3018 Added a number of missing APIs to SECTIONS.
3020 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3022 * registryd/Makefile.am:
3024 * cspi/bonobo/Makefile.am:
3025 Add $(X_LIBS) to makefiles.
3027 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3030 Revved version to 0.11.
3032 * libspi/component.c:
3033 Added implementation for grabFocus.
3035 * idl/Accessibility_Component.idl
3036 (Accessibility_Component_grabFocus):
3037 Made this method return boolean to indicate success or failure, to
3038 be consistent with cspi and the corresponding ATK method.
3040 * idl/Accessibility_Selection.idl
3041 (Accessibility_Selection_selectAll) :
3042 Made these methods return boolean to indicate success or
3043 failure, to be consistent with cspi and the corresponding ATK methods.
3045 * idl/Accessibility_EditableText.idl
3046 (Accessibility_EditableText_setTextContents,
3047 Accessibility_EditableText_insertText,
3048 Accessibility_EditableText_cutText,
3049 Accessibility_EditableText_deleteText,
3050 Accessibility_EditableText_pasteText):
3051 Made these methods return boolean to indicate
3054 * cspi/spi_editabletext.c:
3055 Made these methods return booleans.
3057 * libspi/selection.c:
3058 * libspi/component.c:
3059 * libspi/editabletext.c:
3060 Connected the boolean returns from ATK
3061 to the server-side code referenced above.
3063 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3065 * idl/Accessibility_Table.idl: Added missing methods,
3066 Accessibility_Table_addRowSelection,
3067 Accessibility_Table_addColumnSelection,
3068 Accessibility_Table_removeRowSelection,
3069 Accessibility_Table_removeColumnSelection.
3072 Added C wrappers for above IDL:
3073 AccessibleTable_addRowSelection,
3074 AccessibleTable_addColumnSelection,
3075 AccessibleTable_removeRowSelection,
3076 AccessibleTable_removeColumnSelection.
3079 Added server-side implementation code for IDL above, connecting
3080 to pre-existing ATK api.
3082 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3084 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3086 * libspi/accessible.c: Added implementation fo
3087 Accessibility_Accessible_get_state.
3089 * libspi/libspi.h: Added stateset.h to the list of includes.
3091 * libspi/stateset.c: Fixed broken implementation.
3093 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3096 Added implementation code for Accessibility_Magnifier_exit ().
3098 * util/mag_control.c:
3099 Added test code for above method; you can
3100 now kill an existing magnifier via
3101 ./mag_control q, from the util directory.
3103 * test/key-listener-test.c:
3105 Added a new test, for our key listener API.
3107 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3109 * test/app.c, test/keysynth-demo.c:
3111 Replace use of snprintf with g_snprintf.
3112 (fix for bugzilla 78249)
3114 2002-03-27 Michael Meeks <michael@ximian.com>
3118 * util/Makefile.am (INCLUDES): fix.
3119 (DONT_DIST_SOURCE): don't distribute the
3122 * libspi/Makefile.am (dist-hook): ditto.
3124 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3126 * libspi/hypertext.c:
3127 Fix warnings when yelp is used with atk-bridge
3129 2002-03-21 Michael Meeks <michael@ximian.com>
3131 * libspi/application.c (spi_application_new):
3132 use spi_accessible_construct so we use the AtkObject
3135 2002-03-19 Michael Meeks <michael@ximian.com>
3137 * registryd/registry.c (desktop_remove_application),
3138 (desktop_add_application): clean coding style.
3140 * registryd/desktop.c (spi_desktop_remove_application),
3141 (spi_desktop_add_application): kill re-enterency hazards.
3142 (spi_desktop_dispose): remove bogus redundant cast
3143 obscuring bug; fix bug too.
3144 (spi_desktop_init): make the desktop object immortal.
3146 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3149 Added a #define-guarded tree-traversal step
3150 when enumerating the apps (diagnostic tool).
3152 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3154 * idl/Accessibility_Role.idl:
3155 Added ROLE_DRAWING_AREA which seemed to be missing from the
3158 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3160 * cspi/spi-roletypes.h cspi/spi_accessible.c
3161 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3164 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3165 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3166 AT when applications are added and removed from the desktop. This
3167 reverts the previous broken implementation using the backing
3168 AtkObject for the SpiDesktop.
3170 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3172 * registryd/desktop.c: emit the "children-changed::add" and
3173 "children-changed::remove" signals on the backing ATK object for
3174 the desktop so AT can tell when applications are started and shut
3177 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3179 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3181 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3183 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3185 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3187 * cspi/state-types.h: synched with IDL and ATK
3189 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3191 * libspi/accessible.c
3192 (impl_accessibility_accessible_get_child_at_index):
3193 Change return value for g_return_if_fail ()
3194 to CORBA_OBJECT_NIL instead of "0" (!)
3196 * registryd/Makefile.am:
3197 * registryd/Accessibility_Register.server.in:
3198 Changed name of executable, "registryd",
3199 to something more informative:
3202 2002-03-13 Michael Meeks <michael@ximian.com>
3204 * atk-bridge/bridge.c (atk_bridge_init): don't register
3205 if we're in a bonobo-component, rather than a bonobo app.
3207 2002-03-13 Michael Meeks <michael@ximian.com>
3209 * atk-bridge/bridge.c (gtk_module_init): split
3210 out body to (atk_bridge_init): here, since otherwise
3211 we get symbol conflicts and oddness when invoked
3212 from (gnome_accessibility_module_init): here (upd.)
3214 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3217 New file. Explicitly allow "build sheriff" putbacks provided
3218 they are tested on Solaris.
3220 * docs/reference/cspi/Makefile.am:
3221 Added '-' to the "cp" command for index.sgml.
3222 ("patch by thomasvs, soon coming to a GUADEC near you")
3225 Incremented version number (0.9.0) for new release.
3226 Changed macro that checks for popt, to better detect
3227 obsolete versions of popt.
3230 Added X_LIBS to AC_SUBST, for applications
3231 that call Xlib API directly.
3234 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3237 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3240 Fix regression caused by hard-coding major
3241 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3244 * test/test-simple.c (test_editable_text),
3245 (test_test): revert previous change (error was
3246 a regression in gail which is now fixed).
3248 2002-03-04 Michael Meeks <michael@ximian.com>
3250 * test/test-simple.c (test_editable_text),
3251 (test_text): pass G_MAXINT instead of '-1' for
3252 whole string - is this a good thing !?
3254 * cspi/spi_accessible.c
3255 (Accessible_getRelationSet): fix crasher bug
3256 overwriting the end of the array.
3258 * test/test-simple.c (validate_accessible): free,
3259 not g_free returned relation set.
3261 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3263 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3264 implemented stateset support
3266 * idl/Accessibility_State.idl: Made necessary changes to
3267 the IDL to support state sets.
3269 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3271 * registryd/deviceeventcontroller.c:
3272 Added implementation for generateMouseEvent.
3274 * cspi/spi_registry.c:
3275 Connected new implementation for generateMouseEvent
3278 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3281 Incremented revision (but no change in public API
3282 outside of 'utils', which are not installed public yet.)
3284 * libspi/component.c:
3285 Changed to use atk_component API for layers and
3286 mdi_zorder, instead of deprecated atk_object API.
3288 Magnification Utility Enhancements:
3291 Added implementation of createZoomRegion, clearAllZoomRegions,
3292 resizeZoomRegion. Added new commandline argument
3293 "--no-initial-region". Note that clearAllZoomRegions doesn't
3294 unmap the old '0' region as it should (yet), and the other
3295 methods only work when creating/resizing a single region,
3296 which is "region 0".
3297 (Code for multiple region support will be added later.)
3300 Now we raise the magnifier window each time it's refreshed;
3301 this will help keep it on top.
3303 * util/mag_client.h:
3304 Added simple wrappers for above, used by mag_control.
3305 For general use, it's recommended to use the bonobo magnifier
3306 control API directly instead of using these wrappers.
3309 Moved ZoomRegionData from magnifier.c to this file.
3311 * util/mag_control.c:
3312 Added some code to exercise new IDL implementations.
3314 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3316 * libspi/text.c: Provide implementation for getAttributes.
3318 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3321 Incremented revision.
3323 * test/test-simple.c:
3324 Replaced use of deprecated g_main_iteration with
3325 g_main_context_iteration.
3327 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3330 Incremented revision for desktop alpha 2.
3332 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3334 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3337 * test/simple-at.c: include netinet/in.h.
3339 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3341 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3342 use NULL, not CORBA_OBJECT_NIL.
3344 * libspi/accessible.c:
3345 (impl_accessibility_accessible_get_relation_set):
3346 allocate the sequence correctly.
3348 * libspi/remoteobject.h: kill spi_remote_object_new.
3350 * test/test-simple.c: (validate_accessible): add code
3351 to test relation sets, now all we need is to figure
3352 out how to excercise this code path :/
3354 2002-01-18 Michael Meeks <michael@ximian.com>
3356 * test/test-simple.c
3357 (key_listener_cb): consume the key.
3358 (test_keylisteners): update.
3359 (main): wait for any pending unrefs on events.
3361 * registryd/deviceeventcontroller.c
3362 (spi_controller_update_key_grabs): only re-issue the
3363 grab on a key release.
3364 (spi_device_event_controller_forward_key_event):
3365 refresh the keygrabs before we notify the listeners,
3366 to reduce the X ungrab / re-grab race.
3367 (spi_controller_register_with_devices): remove
3368 XSelectInput - we do that with the gdk_window_ call.
3369 (_spi_controller_device_error_handler): return a value.
3370 s/GDK_DISPLAY/spi_get_display/
3372 2002-01-17 Michael Meeks <michael@ximian.com>
3374 * registryd/deviceeventcontroller.c
3375 (_deregister_keygrab): don't blow out the later
3378 * test/test-simple.c (test_keylisteners): do a
3379 more intelligent validation.
3381 2002-01-14 Michael Meeks <michael@ximian.com>
3383 * atk-bridge/bridge.c
3384 (gnome_accessibility_module_init),
3385 (gnome_accessibility_module_shutdown): impl.
3386 (gtk_module_init): protect vs. double inits.
3387 (add_signal_listener): impl.
3388 (spi_atk_bridge_state_event_listener): kill
3389 (deregister_application): split out of
3390 (spi_atk_bridge_exit_func): here.
3392 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3395 Added caret tracking when using magnifier, and
3396 now use text bounds for focus tracking of text elements, rather than
3397 the component bounds - this is helpful for short text fields in long
3398 table cells, at high magnification.
3400 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3402 * registryd/deviceeventcontroller.c:
3403 Regression fix for keylistener de-registration; global keygrabs
3404 were not being released when deregisterKeystrokeListener was
3405 called in cspi, since
3406 Accessibility_DeviceEventController_deregisterKeystrokeListener
3407 was called with a zero-length keyset. That is because the cspi
3408 method, SPI_deregisterKeystrokeListener, does not take a keyset
3409 parameter but instead should remove all the key grabs held be a
3411 The code in impl_deregister_keystroke_listener was changed to copy
3412 the keylist from the listener instance previously registered with
3413 the DeviceEventController before releasing the grabs.
3415 * registryd/registry.c:
3416 * registryd/deviceeventcontroller.c:
3417 * libspi/spi-private.h:
3419 Changed spelling of "re-enterant" to "re-entrant" globally.
3421 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3423 * test/test-simple.c:
3424 Changed key listeners test - the test was slightly mis-using the
3425 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3426 It now uses '=' as the key event listened to and generated,
3427 relying on a keysym match rather than assuming that keycode 33
3428 is always equal to keysym '!'.
3430 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3433 Changed simple-at to use a specific keyset, rather than
3434 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3435 manager, desktop, etc.
3437 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3439 * registryd/deviceeventcontroller.c:
3440 Replaced standard X error handler with a special handler that
3441 is non-fatal for failed keygrabs. This works around
3442 problems with keygrab clashes sometimes observed on
3444 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3445 mouse handling code as yet).
3447 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3450 Incremented revision for desktop alpha release.
3453 Fixed a couple of the more glaring errors (still not
3456 2002-01-11 Michael Meeks <michael@ximian.com>
3458 * registryd/deviceeventcontroller.c
3459 (spi_device_event_controller_forward_key_event): kill
3460 XUngrabKey / XKeyGrab race.
3461 (spi_controller_grab_keyboard): rename to
3462 (spi_controller_update_key_grabs): this, and deal
3463 with incremental adding / removing grabs more
3465 (_register_keygrab): ensure we're not pending a remove.
3466 (spi_grab_mask_free): impl.
3467 (spi_controller_register_global_keygrabs): split out
3469 (handle_keygrab): impl.
3470 (_deregister_keygrab): impl.
3471 (spi_controller_deregister_global_keygrabs): impl.
3472 (spi_controller_update_key_grabs): re-issue the grab if
3473 we just recieved a notification.
3475 * test/test-simple.c (key_listener_cb): remove debug.
3477 * registryd/deviceeventcontroller.c
3478 (spi_controller_register_device_listener): after
3479 registering a global keygrab, actualy register it !
3480 don't wait for a timeout; doh !
3482 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3483 to make it more readable / manipulable.
3484 s/grabmask/grab_mask/ s/refcount/ref_count/
3485 s/keyval/key_val/ s/modmask/mod_mask
3487 2002-01-08 Michael Meeks <michael@ximian.com>
3489 * registryd/deviceeventcontroller.c
3490 (spi_controller_register_with_devices): use gdk calls to
3492 (global_filter_fn): implement the filter.
3493 (spi_device_event_controller_check_key_event): rename to
3494 (spi_device_event_controller_forward_key_event): this & upd.
3495 (spi_get_display): replace with GDK_DISPLAY.
3497 * registryd/deviceeventcontroller.c
3498 (spi_controller_deregister_device_listener): unroll into
3499 (impl_deregister_keystroke_listener): here to simplify.
3500 (spi_controller_register_global_keygrabs): split cut and
3501 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3502 (spi_controller_deregister_device_listener): remove.
3503 (impl_register_mouse_listener): remove, no mouse listener
3504 support in at-spi-1.0
3506 * registryd/registry.c
3507 (_device_event_controller_hook): kill.
3508 (spi_registry_init): upd.
3510 * registryd/deviceeventcontroller.c
3511 (spi_device_event_controller_class_init): upd.
3512 (spi_check_key_event): merge into.
3513 (spi_device_event_controller_check_key_event):
3514 here and kill strange static ev init, don't leak
3515 the x_event - nor dynamicaly allocate it.
3517 * registryd/registry-main.c (main): re-direct
3518 timeout to remove strange vtable mess.
3520 * registryd/deviceeventcontroller.c
3521 (remove_listener_cb): impl.
3522 (spi_controller_deregister_device_listener):
3523 fix re-enterancy hazard.
3525 2002-01-07 Michael Meeks <michael@ximian.com>
3527 * registryd/deviceeventcontroller.c
3528 (spi_device_event_controller_new): upd.
3529 (impl_notify_listeners_sync): upd. debug.
3530 (spi_notify_keylisteners): fix re-enterancy hazards,
3531 prettify, remove O(n*n) iteration.
3532 (spi_controller_grab_keyboard): fix iteration.
3533 (spi_check_key_event): re-format to suit coding style.
3534 Clean all the warnings - we're warning free.
3536 * registryd/deviceeventcontroller.h:
3537 * registryd/registry.h: make mutualy referential with
3538 typesafe forward references instead of (!) void pointer
3541 2002-01-11 Michael Meeks <michael@ximian.com>
3543 * cspi/spi_accessible.c (role_names): add a role name
3544 to sync this array with the enum; and make the regression
3547 2002-01-10 Michael Meeks <michael@ximian.com>
3549 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3550 allow expansion of enumeration & kill warning.
3552 * test/test-simple.c (key_listener_cb): impl.
3553 (test_keylisteners): impl.
3555 * cspi/spi-listener.h: make listener signatures const
3556 on the provided (const) events.
3558 * test/keysynth-demo.c: upd. to const events.
3560 * test/simple-at.c: ditto.
3562 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3565 Rev the version to 0.5 (the previous tarball was named 0.4,
3566 even though the micro number was 3), so we need to rev upwards
3567 again for beta2/"desktop-alpha"
3570 Checked in a demo script, which requires editing before use!
3571 Proceed with caution.
3574 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3576 * cspi/spi_accessible.c:
3577 Add a couple of missing enum initializations, and fix some enum
3580 * cspi/spi_registry.c:
3581 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3583 * docs/reference/cspi/at-spi-cspi-sections.txt:
3584 Remove/fix a couple of broken document references.
3587 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3588 as Alt-Control to listen for commands, since on some systems
3589 Control-Alt may already be grabbed.
3591 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3594 Update version number to 0.4 for Beta2.
3596 * libspi/accessible.c, libspi/accessible.h:
3597 Expose spi_accessible_construct, to enable libgail-gnome
3598 construction from spi_accessible subtype.
3600 * utils/magnifier.c:
3601 Workaround for bug in some non-gnome-compliant window managers
3602 which made magnifier resize improperly.
3604 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3606 * libspi/accessible.c: (spi_accessible_new) :
3607 Move the test for SPI_IS_REMOTE_OBJECT to
3608 spi_accessible_new_return, fixing a bug and compile time warning.
3610 2002-01-08 Michael Meeks <michael@ximian.com>
3612 * registryd/registry.c (parse_event_type): remove strndup.
3614 * libspi/Makefile.am (libspi_la_SOURCES): remove
3615 sources already included in the headers section.
3617 * libspi/util.c: add.
3619 * libspi/spi-private.h: add.
3621 * registryd/registry.c: update to moved list iterators.
3623 2002-01-05 Michael Meeks <michael@ximian.com>
3625 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3627 * test/test-simple.c (main): ditto.
3629 2002-01-04 Michael Meeks <michael@ximian.com>
3631 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3632 redundant construct.
3634 * registryd/registry.c
3635 (get_listener_list): impl.
3636 (impl_accessibility_registry_register_global_event_listener):
3637 re-impl. to simplify using ~, remove dodgy const cast off.
3638 (parse_event_type): constify.
3639 (impl_accessibility_registry_deregister_global_event_listener_all):
3640 re-write, more efficiency and simplicity, kill re-enterancy
3642 (compare_listener_corbaref, compare_corba_objects),
3643 (compare_listener_quarks): define out.
3644 (impl_accessibility_registry_deregister_global_event_listener):
3645 re-write for effiency, and nail re-enterancy hazard.
3646 (impl_accessibility_registry_get_desktop_list): impl.
3647 (re_enterant_list_delete_link): impl.
3648 (re_enterant_list_foreach): impl.
3649 (remove_listener_cb): impl.
3650 (_registry_notify_listeners): kill.
3651 (notify_listeners_cb): impl.
3653 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3654 (SPI_getDesktopList): impl.
3656 * test/test-simple.c (test_desktop): test the methods.
3658 2002-01-03 Michael Meeks <michael@ximian.com>
3660 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3661 keystrings since we free them
3662 (SPI_freeAccessibleKeySet): in here.
3664 * libspi/accessible.c (spi_accessible_new): kill warning,
3665 wonder what is going on with the constructor here.
3667 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3669 * libspi/accessible.c (spi_accessible_new ()) :
3670 Added check to see if AtkObject is an SpiRemoteObject before
3671 creating an SpiAccessible.
3673 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3675 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3676 Enable keygrabs using the Control modifier, now that they are
3677 working properly (they were previously disabled).
3680 Change the command keygrab for this demo to "Control+Alt", so as
3681 to conflict with fewer other key commands on the system; this
3682 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3684 Removed a pointlessly-chatty keylistener for unshifted keys
3685 (shifted keys are still reported).
3687 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3689 * libspi/remoteobject.h:
3690 * libspi/remoteobject.c:
3691 Added definitions for special AtkObject subtype, required for
3692 support of remote components (specifically, used by BonoboControl
3693 accessibility implementation).
3695 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3697 * cspi/spi.h: synched relation types with ATK
3699 * cspi/spi_accessible.c: Added implementations of
3700 AcccessibleRelation_* methods
3702 * idl/Accessibility_Relation.idl: added getRelationTypeName
3703 method. Synched known relation types with ATK. Allowed for
3704 relation type extension with the RELATION_EXTENDED type.
3706 * libspi/relation.c: Provided implementations for
3707 AccessibleRelation methods.
3709 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3711 API tweaks for today's API 'freeze'.
3714 Added placeholder functions to allow future compatible expansion
3715 of the IDL interfaces.
3717 * idl/Accessibility_Registry.idl:
3718 Changed generateKeyEvent to generateKeyboardEvent. Changed
3719 signature of this method to accept an optional keystring in
3720 parameter (for complex text input synthesis) and changed use of
3721 simple 'boolean' parameter in registerKeystrokeListener to a
3722 struct, EventListenerMode.
3724 * cspi/spi_accessible.c:
3726 * cspi/spi_streamablecontent.c:
3727 Added references to AccessibleStreamableContent interface, and
3728 definition and implementation of AccessibleStreamableContent
3731 * cspi/spi_registry.c:
3733 Changed generateKeyEvent API to generateKeyboardEvent,
3734 taking a new (optional) keystring parameter to support complex
3739 Renamed directory (to better reflect its actual purpose, bridging
3740 from at-spi to ATK). The .so module is also now named
3743 * idl/Accessibility_Hypertext.idl:
3744 * libspi/accessible.c:
3745 * libspi/hypertext.h:
3746 * libspi/hypertext.c:
3747 Changed Accessibility_Hypertext to *not* derive from
3750 * cspi/spi_registry.c:
3751 Added list of legal event type names for 'window' events, which
3752 completes the registry event API.
3754 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3756 * at-bridge/bridge.c: Added registration for separate
3757 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3758 signals. If either of the first two parameters to the generic
3759 bridge signal handler are ints, they are passed on as event
3760 details. This allows an AT to determine what text was inserted.
3762 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3764 * registryd/deviceeventcontroller.c:
3765 Fixed regressions in generateKeyEvent caused by the removal of
3766 gdk_init from registryd; we now use pure X calls to connect to the
3767 display, which makes sense because deviceeventcontroller already
3768 uses a fair bit of X API (should eventually be migrated to a
3769 'portability layer').
3771 * registryd/desktop.c:
3772 Fixed minor regression in spi_desktop_init, changed the way the
3773 desktop name is being set to work with new spi_base API
3774 (gobject-based, rather than AtkObject-based).
3776 * registryd/Makefile.am:
3777 Minor revision of makefile to use XTST_LIBS variable rather than
3778 hard-wiring the Xtst LD_ADD element.
3780 * test/keysynth-demo.c:
3781 Tweaked an output message; added initialization of the
3782 'keystrings' member of the "switch listener" key_set.
3784 * libspi/relation.c:
3785 Squashed compile-time warning.
3787 * libspi/accessible.c:
3788 Cosmetic and formatting fixes, renamed a static method.
3790 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3792 * libspi/accessible.c
3794 * libspi/application.c
3797 * libspi/component.c
3798 * libspi/editabletext.c
3799 * libspi/hyperlink.c
3800 * libspi/hypertext.c
3802 * libspi/selection.c
3806 * registryd/desktop.c:
3807 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3809 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3811 * idl/Accessibility_Registry.idl:
3812 Added boolean member 'is_text' to DeviceEvent. This is for the
3813 use of key events, and helps prevent ambiguity between composed
3814 key strings and keysym names, since both may potentially be
3815 returned in the 'event_string' member.
3817 * at-bridge/bridge.c:
3818 * registryd/deviceeventcontroller.c:
3819 Use the 'is_text' member when notifying device event listeners.
3820 Knon issue: composed characters are not dealt with correctly by
3821 the global key listener implementation yet.
3823 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3825 * at-bridge/bridge.c:
3826 Namespaced local static methods to spi_atk_bridge_* where
3827 previously named bridge_*, and spi_* elsewhere.
3829 * at-bridge/bridge.c:
3830 * cspi/bonobo/cspi-bonobo-listener.c:
3831 Added demarshalling/conversion for string member of
3832 Accessibility_DeviceEvent to AccessibleKeystroke.
3834 * registryd/deviceeventcontroller.c:
3835 Added code to fill the Accessibility_DeviceEvent key string value
3836 member for global key events (i.e. from XGrabKey), to match
3837 behavior of Accessibility_DeviceEvent from the toolkit key events
3838 from the bridge. Fixed timestamp in global key event notifications.
3841 Added printout of key event's string value to
3842 report_ordinary_key_event, for demo/debugging purposes.
3844 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3846 * idl/Accessibility_Registry.idl:
3847 Removed Accessibility_KeyStroke structure in favor of generic
3848 Accessibility_DeviceEvent structure.
3849 Changed Accessibility_ControllerEventMask from a struct to an
3852 * at-bridge/bridge.c:
3853 Changed APIs to use DeviceEvent structure as above, and removed
3854 bogus casting between these event structures.
3856 * cspi/spi-listener.h:
3857 Added keystring member of AccessibleKeystroke structure, to enable
3858 matching on event "names" rather than only hardware codes and
3862 Added keystrings member of AccessibleKeySet struct, to allow
3863 matching on event names (as above).
3864 Added declarations for SPI_createAccessibleKeySet and
3865 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3866 event modmasks directly as unsigned ints rather than structs with
3867 refcounts, in the DeviceEventController methods.
3869 * cspi/spi_registry.c:
3870 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3872 * cspi/spi-roletypes.h:
3873 Added documentation of newly added SPI Roles.
3875 * cspi/bonobo/cspi-bonobo-listener.c:
3876 Changes in support of API changes above.
3878 * libspi/accessible.c:
3879 Converted APIs to use DeviceEvent structure (see IDL changes
3882 * registryd/deviceeventcontroller.c:
3883 Added DEControllerGrabMask structure to track keygrabs not only by
3884 modmask but by keyset as well; this allows us to do "global"
3885 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3886 grabbing on AnyKey and then filtering after-the-fact.
3887 Bugfixes for event filtration mean that we don't get false matches
3888 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3890 * registryd/deviceeventcontroller.c:
3891 Namespaced a number of static methods to use spi_ prefix. Major
3892 revision to internals of global (i.e. X) key grabs.
3894 * registryd/deviceeventcontroller.h:
3895 Removed keymask_list and added keygrabs_list to
3896 SpiDeviceEventController struct.
3899 Added use of SPI_createAccessibleKeySet API when creating a
3900 listener for only one key. Attach a listener to "shift spacebar
3901 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3902 X key event names to SPI key event names, so that listeners are
3903 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3905 * test/keysynth-demo.c:
3906 Changed (incorrect) use of X key event names (KeyPressed,
3907 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3910 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3912 * libspi/accessible.c:
3913 Convert all AtkRole enumerations to Accessibility_Role enums when
3914 getting a role from an AtkObject.
3916 * cspi/spi_accessible.c:
3917 Complete the conversion of Accessibility_Role enums at runtime to
3918 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3919 role enums correctly match those given in spi-roletypes.h.
3920 Re-synchronize the local names list for AccessibleRole_getName ().
3921 AccessibleRole_getName is now deprecated, since it duplicates the
3922 more reliable Accessible_getRoleName.
3923 Added some role types from Accessibility_Role.idl.
3925 * idl/Accessibility_Role.idl:
3926 Added some role types used by AtkRole.
3928 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3931 * cspi/spi_registry.c:
3933 * cspi/cspi-bonobo-listener.c:
3934 Namespaced all methods that did not begin with an "SPI_" or
3935 "Accessible" prefix to "SPI_".
3938 Homogenized internal function namespace to "cspi_" for statics.
3941 Patched tests to use the new CSPI API.
3943 * docs/reference/cspi/at-spi-cspi-sections.txt:
3944 Updated docs to reflect namespace changes, and added a number of
3945 methods to the documentation.
3947 * registryd/registry.c:
3948 Changed use of strings and string hashes in listener event
3949 matching and parse_event_string to use GQuark, which is guaranteed
3952 * registryd/registry.h:
3953 Squashed annoying warning.
3955 * idl/Accessibility_Role.idl:
3956 Extended range of available Accessibility_Role values.
3958 * cspi/spi_accessible.c:
3959 Re-ordered role names.
3961 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3963 * idl/Accessibility_Value.idl:
3964 Revert use of union back to CORBA_double, since the double type is
3965 more efficient and can contain the other types without loss of
3968 * idl/Accessibility_Accessible.idl:
3969 Added method Accessibility:Accessible:getRoleName, to complement
3970 Accessibility:Accessible:getRole.
3972 * cspi/spi_accessible.c:
3974 Added C binding for above, Accessible_getRoleName (), and changed
3975 signature of Accessible_getRole () to return an AccessibleRole.
3977 * cspi/spi-roletypes.h:
3978 Changed AccessibleRole_getName to return a char * instead of a
3979 const char *. This method is now at least temporarily deprecated
3980 in favor of asking Accessibles for their RoleNames directly.
3983 Revert to match Accessibility_Value.idl;
3987 Change signature of AccessibleValue methods to use double rather
3991 * cspi/spi_accessible.c:
3992 Changed Accessible_getRole to return an AccessibleRole enum rather
3993 than a UTF-8 string. The UTF-8 string can still be obtained via
3994 AccessibleRole_getName ().
3996 * test/test-simple.c:
3997 Add test_action. Small fixup to match API change to Accessible_getRole.
4000 Bugfix for get_action_from_servant ().
4002 2001-12-11 Michael Meeks <michael@ximian.com>
4004 * libspi/libspi.h: remove registry.h and
4005 desktop.h, deviceeventcontroller.h
4007 * libspi/Makefile.am: remove registry.[ch],
4008 desktop.[ch], deviceeventcontroller.[ch]
4010 * registryd/Makefile.am: add registry.[ch],
4011 desktop.[ch], rename registryd.c to registry-main.c.
4012 add deviceeventcontroller.[ch]
4014 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4017 Replace setenv() call with putenv ().
4019 * libspi/component.c:
4020 Bugfix in AccessibleComponent_getExtents (),
4023 2001-12-11 Michael Meeks <michael@ximian.com>
4025 * libspi/image.c (impl_getImageExtents): impl.
4026 (spi_image_class_init): upd.
4029 (AccessibleImage_getImageDescription): fix daft bug
4032 * test/test-simple.c (global_listener_cb): update
4033 to only quit if not --poke
4034 (main): catch --poke.
4035 (validate_accessible): upd. dumping, call test_image
4038 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4041 * idl/Accessibility.idl: update all IDL includes.
4043 * idl/*.idl - rename to namespace - this sucks, blame
4044 mjs' bad decision for oafd.
4046 * test/test-simple.c (create_test_window): add more tests.
4047 (create_tree): split this out.
4048 (validate_accessible): bugfix.
4050 2001-12-11 Michael Meeks <michael@ximian.com>
4052 * cspi/bonobo/cspi-bonobo-listener.c:
4053 (cspi_kestroke_listener_unref),
4054 (cspi_event_listener_unref): impl. undoing previous
4055 homenous environment - for Bill.
4057 * cspi/spi_table.c (long_seq_to_array): use
4060 * cspi/spi_main.c: split out all bonoboish bits into
4063 * cspi/spi-impl.h: upd. typedefs.
4065 * cspi/spi_registry.c: update to lowlevel API,
4066 return booleans to indicate success in some places.
4068 * cspi/spi_event.c: update to lowlevel API.
4070 * cspi/bonobo/Makefile.am: add.
4072 * cspi/bonobo/cspi-lowlevel.h: add
4074 * cspi/bonobo/cspi-bonobo.c: add
4076 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4078 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4079 (SUBDIRS): add bonobo, link in the libs.
4081 * cspi/spi-util.c: kill this file.
4083 * TODO: merge in my bits.
4085 2001-12-11 Michael Meeks <michael@ximian.com>
4087 * test/test-simple.c (test_value, test_table, main):
4088 remove unused variables causing warnings.
4090 * configure.in: cleanup checks - require gail.
4092 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4095 Changed Value interface to use SValue (scalars) rather than
4096 assuming all values are floats. This allows floats, doubles,
4097 longs, shorts, and unsigned values to be manipulated.
4098 Introduced Accessibility:SValue union.
4101 Updated to use new API above, and to work correctly with GValues
4102 of different types in AtkValue.
4105 Updated to use new API above. cspi's API is as yet unchanged.
4108 Updated the Value revision action item.
4110 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4112 * test/test-simple.c:
4113 Added test_table (GtkTreeView widget in test window to follow).
4114 Un-commented test_value, added GtkRange widget.
4115 Added GtkTreeView widget with GtkListStore. It passes regression
4116 test but leaks one SPI object for some reason.
4119 Fixed bug in impl__set_currentValue.
4121 2001-12-10 Michael Meeks <michael@ximian.com>
4123 * cspi/spi_text.c: audit for exception handling,
4124 tolerating NULL object references safely etc.
4126 * cspi/spi_value.c: ditto.
4128 * cspi/spi_table.c (AccessibleTable_getSummary),
4129 (AccessibleTable_getAccessibleAt),
4130 (AccessibleTable_getRowHeader),
4131 (AccessibleTable_getColumnHeader),
4132 (AccessibleTable_getCaption): fix bugs hidden by
4134 (long_seq_to_array): impl.
4135 (AccessibleTable_getSelectedRows),
4136 (AccessibleTable_getSelectedColumns): use it.
4138 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4141 Added a TODO list (rough and short for now).
4143 * cspi/spi_hyperlink.c:
4144 * cspi/spi_hypertext.c:
4145 Fixed macro name typos, and remove use of obsolete macro in
4146 AccessibleHyperlink_getLink.
4148 * cspi/spi_action.c:
4149 * cspi/spi_accessible.c:
4150 * cspi/spi_application.c:
4151 * cspi/spi_component.c:
4152 * cspi/spi_selection.c:
4155 Documentation fixes (removed return values from ref/unref methods).
4157 2001-12-10 Michael Meeks <michael@ximian.com>
4159 * cspi/spi_action.c: audit for exception handling,
4160 tolerating NULL object references safely etc.
4162 * cspi/spi_accessible.c: ditto.
4164 * cspi/spi_component.c: ditto.
4166 * cspi/spi_editabletext.c: ditto.
4168 * cspi/spi_hyperlink.c: ditto.
4170 * cspi/spi_hypertext.c: ditto.
4172 * cspi/spi_image.c: ditto.
4174 * cspi/spi_selection.c: ditto.
4176 2001-12-10 Michael Meeks <michael@ximian.com>
4178 * configure.in: use cspi/libspi.pc.in instead.
4180 * Makefile.am (pkgconfig_DATA): upd. to match.
4182 * test/simple-at.c (report_focus_event): kill hacks around
4183 bad return values, use putenv not setenv
4185 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4186 fire ChildGone - I killed it.
4188 * libspi/component.c
4189 (impl_accessibility_component_get_extents): remove
4192 * idl/Accessible.idl: kill ChildGone exception.
4194 * cspi/*.[ch]: kill int return from ref / unref.
4196 * cspi/spi_main.c (cspi_object_add_check): fold into
4197 (cspi_object_add): here.
4199 * cspi/spi_component.c (AccessibleComponent_getExtents):
4200 handle exceptions elegantly.
4202 * cspi/spi-private.h (cspi_check_ev_return),
4203 (cspi_return_if_fail): impl.
4205 * cspi/spi_accessible.c: use extensively.
4206 (AccessibleStateSet_equals): add direct compare check.
4208 * cspi/spi_selection.c: tolerate NULL objs, and check
4209 exceptions before return.
4211 * cspi/spi-util.c (cspi_warn_ev): rename to
4212 (cspi_check_ev): this & don't pass ev in; no point.
4214 2001-12-10 Michael Meeks <michael@ximian.com>
4216 * test/test-simple.c: use putenv not setenv
4217 (get_environment_vars): more chatty if you're not using
4220 * test/simple-at.c: do the setenv so more people see the
4223 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4225 * libspi/registry.c:
4226 Changed check of CORBA_environment on notification to be a warning
4227 instead of an error for the moment, since we can recover from this
4228 error when caused by a queued notification from a dead app.
4231 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4232 used by all current implementors of AtkValue), and coerce to
4233 CORBA_float. (Proper general case fix may require change to Value.idl).
4235 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4239 * cspi/spi_accessible.c:
4240 Documentation fixes: added user_data params to documentation for
4241 listeners and callbacks.
4243 * cspi/spi_accessible.c:
4244 Changed AccessibleStateSet_compare to return a
4245 StateSet rather than return the difference set into a third parameter.
4248 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4251 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4252 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4256 Remove subdirectory po from SUBDIRS for now.
4258 * at-bridge/bridge.c:
4259 Beefed up a couple of debug printouts.
4260 One-line fix for signal notification name formatting.
4262 * libspi/accessible.c:
4263 Added assertion to spi_accessible_new ().
4265 * libspi/application.c:
4266 Put #ifdef qualifiers around a printf.
4269 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4271 * registryd/Makefile.am:
4273 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4274 INTLTOOL_SERVER_RULE macro.
4277 Added an event listener for several ATK signals, for
4278 testing and debugging. Removed a few g_warnings.
4279 Added test output if focussed item implements the Value interface.
4281 * test/test-simple.c:
4282 Added test_value () function (known not to pass at the moment, so
4283 not actually called yet.
4285 2001-12-08 Michael Meeks <michael@ximian.com>
4287 * at-bridge/bridge.c (bridge_focus_tracker),
4288 (emit_eventv): fix the same ref. leak.
4289 (register_atk_event_listeners): don't leak.
4291 * cspi/spi-listener-impl.c (cspi_event): more
4292 protection from client code.
4294 * test/test-simple.c (test_desktop): unref the app.
4296 * test/Makefile.am: upd. TESTS.
4298 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4300 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4302 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4304 * cspi/spi_registry.c: constify in strings.
4305 (deregisterGlobalEventListenerAll): don't release the ref.
4307 * cspi/spi.h: start removing redundant / conflicting
4308 gtkdoc comments, making the API readable at a glance :-)
4310 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4312 * test/keysynth-demo.c (keysynth_exit, main): upd.
4314 * test/simple-at.c (main, simple_at_exit): upd.
4316 * test/test-simple.c (unutterable_horror): kill.
4317 (utterable_normal_derefs): kill.
4318 (main): upd & do a setenv before gtk_init, so that we
4319 can use memprof - and to save the pain of remembering
4320 this, if we're running under memprof - don't exit.
4322 * cspi/spi_main.c (SPI_exit): return exit status
4324 (SPI_event_quit): impl.
4325 (SPI_event_main): simplify.
4326 (cspi_is_gnome_app): kill.
4327 (SPI_init): kill isGNOMEapp arg.
4329 * at-bridge/bridge.c (register_atk_event_listeners):
4330 re-instate the unref.
4331 (bridge_exit_func): don't re-activate the registry,
4332 protect vs. theoretical re-entry, use the
4333 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4334 assert a clean shutdown - for regression tests.
4336 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4338 * configure.in: Comment out dummy i18n support for now,
4339 otherwise it fails to build.
4340 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4341 EXTRA_DIST. They are missing in tarball.
4343 2001-12-07 Michael Meeks <michael@ximian.com>
4345 * util/magnifier.c: kill bonobo activation reg. race.
4347 * libspi/component.c
4348 (impl_accessibility_component_get_extents): make it match
4351 * libspi/registry.c (_registry_notify_listeners):
4352 re-remove X headers & reconcile conflicts.
4353 (spi_listener_struct_free): bad conflict resolve.
4354 (impl_accessibility_registry_register_application):
4355 more bad merging fixed.
4356 (impl_accessibility_registry_deregister_application): ditto.
4357 (spi_registry_new): ditto.
4358 (spi_registry_init): don't have an applications field.
4360 [ merge fixups2 branch to here ]
4361 2001-12-07 Michael Meeks <michael@ximian.com>
4363 * test/simple-at.c (report_focus_event),
4364 (report_focussed_accessible): remove g_warning debug.
4366 2001-12-07 Michael Meeks <michael@ximian.com>
4368 * test/test-simple.c (validate_tree): comment out some checks.
4369 (test_desktop): app now not registered idly - horay.
4371 2001-12-07 Michael Meeks <michael@ximian.com>
4373 * cspi/spi_registry.c
4374 (registerAccessibleKeystrokeListener): clean, stop it leaking
4375 great swathes of memory, and device event controller references.
4376 ensure we always pass valid sequences.
4377 (deregisterAccessibleKeystrokeListener): ditto.
4378 (generateKeyEvent): upd.
4380 * at-bridge/bridge.c (bridge_key_listener): handle
4381 registry dead exception gracefully.
4382 (bridge_focus_tracker, emit_eventv): free ev.
4384 * test/simple-at.c (report_focus_event): fix polarity.
4386 * libspi/application.c (notify_listeners): kill the ev
4387 argument, and make sure we init the ev we use.
4388 (spi_application_object_event_listener): split out a chunk
4389 (get_atk_object_ref): here & fixup.
4390 (reverse_lookup_name_for_toolkit_event): make const.
4391 (spi_application_toolkit_event_listener): fixup, kill leaks
4394 * at-bridge/bridge.c (register_atk_event_listeners):
4395 don't unref the noop object - causes grief.
4397 * libspi/registry.c: remove the X headers.
4398 turn off the debug churn.
4400 * libspi/accessible.c (spi_accessible_new_return): only
4401 release the ref if we are supposed to [doh]
4403 * test/simple-at.c (report_button_press, report_focus_event):
4404 guard vs. unexpected exit.
4406 * at-bridge/bridge.c (gtk_module_init): prune printf.
4407 (bridge_exit_func): fix app unref.
4409 * libspi/Makefile.am: don't install registry or desktop.h
4411 * libspi/*.h: update includes.
4413 * libspi/application.h: don't include ourself, or
4414 other redundant headers.
4416 2001-12-06 Michael Meeks <michael@ximian.com>
4418 * libspi/accessible.c
4419 (get_accessible_from_servant): impl.
4420 Upd. all CORBA impl.s to use it killing cut and paste.
4422 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4424 (SPI_init): register atexit cleanup handler here.
4426 2001-12-06 Michael Meeks <michael@ximian.com>
4428 * at-bridge/bridge.c (gtk_module_init): g_error on
4429 activation exception
4431 2001-12-06 Michael Meeks <michael@ximian.com>
4433 * at-bridge/bridge.c (gtk_module_init): some sort of
4434 confusing merge clash - reverted.
4435 (bridge_idle_init): ditto.
4437 * test/test-simple.c (main, utterable_normal_derefs):
4438 merge from Bill - somehow not committed.
4440 2001-12-06 Michael Meeks <michael@ximian.com>
4442 * libspi/value.c (spi_value_class_init): upd.
4443 (spi_value_finalize): kill.
4445 * libspi/table.c (spi_table_finalize): kill.
4446 (spi_table_interface_new): upd.
4447 (spi_table_class_init): upd.
4448 (get_table_from_servant): impl.
4449 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4451 * libspi/selection.c (spi_selection_finalize): kill.
4452 (spi_selection_interface_new): upd.
4453 (spi_selection_class_init): upd.
4454 (get_selection_from_servant): impl.
4455 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4457 * libspi/relation.c (spi_relation_finalize): kill.
4458 (spi_relation_class_init, spi_relation_new): upd
4460 * libspi/image.c (spi_image_finalize): kill.
4461 (spi_image_class_init): upd.
4462 (spi_image_interface_new): upd.
4463 (get_image_from_servant): impl.
4464 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4466 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4467 (spi_hyperlink_finalize): kill.
4468 (spi_hyperlink_new): upd.
4469 (get_hyperlink_from_servant): impl.
4470 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4472 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4473 (spi_hypertext_finalize): kill.
4474 (spi_hypertext_class_init): upd.
4475 (get_hypertext_from_servant): impl.
4476 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4478 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4479 (spi_editable_text_interface_new): upd.
4480 (get_editable_text_from_servant): impl.
4481 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4483 * libspi/text.c (get_text_from_servant): impl.
4484 All impls - update to use it killing more cut and paste,
4485 also fix bad string returns on duff args ( a somewhat
4486 impossible case to handle - but hey ).
4487 (spi_text_construct): impl.
4488 (spi_text_interface_new): upd.
4489 (spi_text_object_finalize): kill.
4491 * libspi/component.c
4492 (accessibility_component_object_finalize): kill.
4493 (spi_component_class_init): upd.
4494 (get_component_from_servant): impl. helper to kill cut & paste.
4495 (impl_accessibility_component_contains):
4496 (impl_accessibility_component_get_accessible_at_point):
4497 (impl_accessibility_component_get_position):
4498 (impl_accessibility_component_get_extents):
4499 (impl_accessibility_component_get_mdi_z_order):
4500 (impl_accessibility_component_get_layer):
4501 (spi_component_interface_new): upd.
4503 * libspi/action.c (spi_action_finalize): kill.
4504 (spi_action_class_init): upd. inherit from SpiObject.
4505 (spi_action_interface_new): upd.
4506 (get_action_from_servant): impl. helper to reduce cut & paste.
4507 (impl_getKeyBinding, impl_getName, impl_doAction),
4508 (impl_getDescription): Use it everywhere.
4510 * cspi/spi_main.c (get_live_refs): a pointer hash.
4511 (spi_object_hash, spi_object_equal): comment out.
4512 There are issues with CORBA object hashing that need
4515 * libspi/application.c (spi_application_init),
4516 (spi_application_new): upd.
4518 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4519 (spi_accessible_class_init): upd.
4520 s/accessible/object/ in epv methods.
4522 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4524 * at-bridge/bridge.c:
4525 Reorder the bridge initialization into the bridge gtk_module_init,
4526 an immediate call to bridge_register_app, and an idle_add for
4527 register_atk_event_listeners (the only code that *must* wait until
4528 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4529 the activation, creates the application's Accessible object, and
4530 queues the bridge_idle_init function. Restored call to
4531 Accessibility_Registry_deregisterApplication().
4532 Prior to making this call we obtain a new reference to the
4533 registry, which is a temporary hack that helps us handle apps that
4534 shut down the bonobo mainloop before we get there.
4536 * libspi/registry.c:
4537 Fix string leakage in debug block, and don't segv if a an app
4538 dies before its event notifications have been propagated.
4541 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4542 as stopgap measure until we get proper exception handling when
4543 objects die during or before interrogation.
4547 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4548 Also changed default value of is_gnome_app to TRUE.
4551 * test/keysynth-demo.c:
4552 Changed use of SPI_init and SPI_event_main to reflect API change above.
4555 Made report_focus_event check the warning value from getName
4556 before reporting on focussed accessible; simplifies handling of
4557 notifications from dead objects.
4559 * test/test-simple.c: (Changes not in this patch since source is
4562 2001-12-05 Michael Meeks <michael@ximian.com>
4564 * registryd/registryd.c (main): protect against
4565 bonobo-activation startup race condition.
4567 * cspi/spi_main.c (cspi_object_add_check): cope
4568 with the exception elegantly.
4570 * idl/Accessible.idl: decl. ChildGone
4572 * libspi/desktop.c (spi_desktop_dispose): impl.
4573 (spi_desktop_class_init): upd.
4574 (spi_desktop_add_application),
4575 (spi_desktop_remove_application),
4576 (abnormal_application_termination): impl.
4577 (impl_desktop_get_child_at_index): re-impl.
4580 (impl_accessibility_registry_deregister_application),
4581 (impl_accessibility_registry_register_application):
4582 kill excessive debug clutter.
4584 * test/test-simple.c (test_misc): test some NULL
4585 tolerance. (main): upd.
4587 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4588 implements no interfaces - so let's not crash.
4590 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4592 * libspi/accessible.c (spi_accessible_new_return): impl.
4593 helper to calm the cut and paste, to cope with
4594 NULL AtkObjects effectively and efficiently, and to kill
4595 the referencing bugs.
4597 * libspi/table.c (impl_getAccessibleAt),
4598 (impl_getRowHeader, impl_getColumnHeader): upd.
4600 * libspi/hyperlink.c (impl_getObject): upd.
4602 * libspi/accessible.c
4603 (impl_accessibility_accessible_get_child_at_index): upd.
4605 * libspi/component.c
4606 (impl_accessibility_component_get_accessible_at_point): upd.
4608 * test/test-simple.c (test_editable_text, test_text): impl.
4611 * cspi/spi_editabletext.c
4612 (AccessibleEditableText_insertText): constify.
4614 * test/test-simple.c (focus_me): make more robust.
4616 * libspi/accessible.c: remove some printfs in methods that
4617 we test and work fine, so we can get a clean tree dump.
4619 * test/test-simple.c (validate_accessible),
4620 (validate_tree): make tree dumping pretty too.
4622 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4623 it builds without debug on.
4625 * test/test-simple.c (validate_accessible): fix the most
4628 * cspi/spi_main.c (spi_object_release): leave the nicely
4629 blanked memory around if in debug mode.
4631 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4633 [committed to fixups2]
4634 2001-12-05 Michael Meeks <michael@ximian.com>
4636 * libspi/editabletext.c
4637 (spi_editable_text_class_init): g_type_class_peek_parent,
4638 not interface peek - so we finalize cleanly.
4640 * libspi/accessible.c (spi_accessible_new): kill debug.
4642 * test/test-simple.c (validate_accessible): fix ref.
4643 leak, print strings before freeing them; sigh, comment a
4644 chunk out due to strangeness.
4645 (validate_tree): unref the child after use.
4647 * cspi/spi_component.c (AccessibleComponent_getLayer):
4648 add missing break statement, switch on zlayer not the
4649 uninitialized retval.
4651 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4652 before (possibly re-entering) remote unref.
4654 * test/simple-at.c (main): unref the desktop.
4656 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4659 * cspi/spi_main.c (cspi_accessible_is_a): here to
4660 isolate bonobo API usage more.
4662 * libspi/registry.c (impl_accessibility_registry_register_application):
4663 prune bogus comment.
4665 2001-12-04 Michael Meeks <michael@ximian.com>
4667 * test/test-simple.c (validate_tree): upd.
4668 IndexInParent check to make it more lucid.
4669 (validate_accessible): dump the tree.
4671 * libspi/accessible.c (de_register_public_ref),
4672 (get_public_refs): impl.
4673 (spi_accessible_new): make more efficient & intuitive.
4674 Now IndexInParent check works.
4676 2001-12-04 Michael Meeks <michael@ximian.com>
4678 * cspi/spi-util.h: remove.
4680 * cspi/spi.h: move SPI_freeString here
4682 * libspi/component.c (impl_accessibility_component_get_layer):
4684 (impl_accessibility_component_get_mdi_z_order): ditto,
4685 return -1 on error - is this ok ?
4687 * test/test-simple.c (test_application): impl.
4689 * cspi/spi_accessible.c (Accessible_getApplication),
4690 (Accessible_isApplication): impl.
4692 * libspi/registry.c (spi_listener_struct_free): release
4693 the CORBA reference too.
4695 * libspi/accessible.c
4696 (impl_accessibility_accessible_get_parent): fix ref leak.
4698 * libspi/registry.c (spi_registry_new): make the registry
4699 immortal - we don't want it to go away ever.
4701 * libspi/application.c
4702 (spi_accessible_application_finalize): impl. cleanup.
4704 * cspi/spi_registry.c
4705 (deregisterGlobalEventListenerAll),
4706 (deregisterGlobalEventListener),
4707 (deregisterAccessibleKeystrokeListener): fix ref leak.
4709 * cspi/spi_main.c (SPI_init): remove redundant ref.
4711 * test/test-simple.c (unutterable_horror): impl. to force a
4716 (impl_accessibility_registry_deregister_application): release
4717 the application when we de-register it.
4719 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4720 until we have the infastructure to get it right.
4722 2001-12-03 Michael Meeks <michael@ximian.com>
4724 * libspi/Makefile.am: only build eventlistener.[ch]
4726 * libspi/accessible.c
4727 (impl_accessibility_accessible_get_child_at_index): don't leak.
4729 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4730 before we hit the idle handler.
4732 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4733 debugging than exit.
4735 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4737 * libspi/listener.c (impl_notify_event): check source
4738 not NIL before unref.
4740 * libspi/registry.c (impl_registry_notify_event): ditto.
4742 * libspi/eventlistener.c
4743 (impl_accessible_event_notify_event): unref the source.
4745 * libspi/accessibleeventlistener.c
4746 (impl_accessible_event_notify_event): unref the source.
4748 * idl/Event.idl: remove 'hash_id' attribute - of no
4751 * libspi/application.c (notify_listeners): upd list
4753 (spi_application_object_event_listener),
4754 (spi_application_toolkit_event_listener): upd to do correct
4758 (_registry_notify_listeners): update.
4759 (parse_event_type): this method also leaks like a sieve.
4760 (impl_accessibility_registry_deregister_global_event_listener):
4761 fix ETYPE_WINDOW case.
4763 * libspi/application.c
4764 (impl_accessibility_application_register_object_event_listener):
4767 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4769 * libspi/hypertext.c (impl_getLink): ditto.
4771 * cspi/spi_main.c (cspi_object_add): remove
4772 bogus CORBA_Object_duplicate.
4774 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4777 * cspi/spi_accessible.c
4778 (Accessible_getRelationSet): fix leak / referencing issue.
4780 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4781 (cspi_object_add, cspi_object_unref): upd.
4782 (spi_object_release, get_live_refs): impl.
4783 (cspi_cleanup): simplify.
4785 * *.[ch]: s/boolean/SpiBoolean/
4787 * cspi/spi_accessible.c (role_names): actualy order so it
4788 corresponds with the enum !
4790 * test/test-simple.c (test_roles): check some role strings
4791 vs. enums to detect offset errors.
4793 2001-12-01 Michael Meeks <michael@ximian.com>
4795 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4797 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4799 (Accessible_getChildAtIndex): use cspi_add_check so we
4800 check the ev before using a (possibly) invalid value.
4802 * libspi/accessible.c
4803 (impl_accessibility_accessible_get_parent): don't segv
4806 * at-bridge/bridge.c (gtk_module_init): upd.
4807 (bridge_property_event_listener): don't leak strings
4809 (bridge_state_event_listener),
4810 (bridge_property_event_listener): don't use a static
4811 buffer in case of recursive event emission &
4812 re-enterancy - split out the swathe of cut and paste
4814 (emit_eventv): and fix 2 ref leaks here & comply to the
4816 (bridge_register_app): rename to
4817 (bridge_idle_init): this and kill arg parsing, split
4818 various inits & bonobo-activation registration to module
4819 init time, kill referencing error.
4820 (bridge_exit_func): fix the same leak.
4821 (bridge_focus_tracker): don't leak event structures
4823 (bridge_signal_listener): more leakage and cut & paste
4825 (bridge_key_listener): return the result - FIXME is
4826 this polarity correct ?
4827 (accessibility_keystroke_from_atk_key_event): rename
4828 (accessibility_init_keystroke_from_atk_key_event): and stop
4830 (gtk_module_init): return a value - not that it is checked by
4832 (bridge_key_listener): register my horror at casting between
4833 IDL defined structs.
4834 (bridge_get_registry): kill - not used.
4836 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4838 * test/test-simple.c (test_roles): impl.
4839 (test_desktop, validate_accessible, validate_tree): impl.
4841 * cspi/spi_accessible.c (role_names): fixup bogus
4842 MAX_ROLES setup, make constants const for efficient linkage
4843 (AccessibleRole_getName): conform to coding style, make
4846 2001-11-30 Michael Meeks <michael@ximian.com>
4848 * cspi/spi.h: add missing prototype.
4850 * libspi/registry.c (spi_listener_struct_new): fix sig.
4852 * test/Makefile.am: add test-simple
4854 * test/test-simple.c: add
4856 * test/test.sh: add.
4858 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4860 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4861 do it straight - since otherwise we often get an activation race.
4863 [ work before Bill duplicated a chunk of it ... ]
4864 2001-11-30 Michael Meeks <michael@ximian.com>
4866 * libspi/keystrokelistener.c
4867 (spi_keystroke_listener_class_init): fixup arg
4870 * libspi/eventlistener.c
4871 (spi_event_listener_class_init): ditto.
4873 * tests/test.sh: add.
4875 * cspi/spi-listener-impl.h: update macros.
4877 * cspi/spi-listener-impl.c
4878 (cspi_event_listener_remove_callback): add
4879 correct pre-conditions.
4881 * cspi/spi_main.c (SPI_exit): guard vs. double
4882 exits, exit the mainloop nicely.
4883 (SPI_event_main): make more sense.
4884 (SPI_init): move the atexit evilness here so we
4885 always do it (yuck).
4886 (SPI_event_main): upd.
4888 * test/simple-at.c: update for listener changes.
4890 * registryd/registryd.c (main): prune kruft.
4892 * libspi/libspi.h: upd.
4894 * libspi/eventlistener.[ch]: rename broken macros.
4896 * libspi/accessibleeventlistener.[ch]: remove.
4898 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4900 * test/test-simple.c: Add - automated tests.
4902 * cspi/spi-listener-impl.c (cspi_event),
4903 (cspi_key_event): add user_data to invoke.
4904 (cspi_keystroke_listener_finalize): impl.
4905 (cspi_keystroke_listener_class_init): upd.
4908 (createAccessibleEventListener),
4909 (AccessibleEventListener_addCallback),
4910 (createAccessibleKeystrokeListener),
4911 (AccessibleKeystrokeListener_addCallback): upd.
4913 * libspi/deviceeventcontroller.c
4914 (spi_device_event_controller_check_key_event): add public proto.
4917 (impl_accessibility_registry_deregister_global_event_listener):
4918 always init listeners.
4919 (_registry_notify_listeners): yes it is.
4921 * cspi/spi-listener-impl.c (cspi_key_event):
4923 (cspi_event_listener_finalize): impl.
4924 (cspi_event_listener_class_init): hook up.
4925 (event_handler_new, event_handler_free),
4926 (event_list_remove_by_callback): impl.
4927 (cspi_event_listener_remove_callback),
4928 (cspi_keystroke_listener_remove_callback),
4929 (cspi_keystroke_listener_add_callback),
4930 (cspi_event_listener_add_callback): upd.
4932 * libspi/keystrokelistener.c
4933 (keystroke_listener_object_finalize): kill
4934 (spi_keystroke_listener_class_init): upd.
4935 (spi_keystroke_listener_add_callback),
4936 (spi_keystroke_listener_remove_callback): kill,
4938 (impl_key_event): prune drasticaly.
4940 * libspi/eventlistener.c
4941 (spi_event_listener_add_callback),
4942 (spi_event_listener_remove_callback): kill, use
4944 (impl_accessible_event_notify_event): upd.
4945 (spi_event_listener_object_finalize): remove.
4947 * libspi/Makefile.am: use eventlistener.[ch]
4949 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4951 * libspi/registry.c (_registry_notify_listeners):
4952 Changed listener loop iteration to use preferred convention.
4953 Got rid of string memory leaks caused be calling g_strconcat
4954 inside function calls.
4956 * libspi/registry.c (parse_event_type):
4957 Stopped g_strconcat memory leaks, free the g_strsplit return,
4958 g_strdup the split pieces when used, etc.
4960 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4963 Change method 'compare' to return a 'difference set' rather than
4964 taking a StateSet as an out parameter (more Java-friendly).
4966 * idl/Accessible.idl:
4967 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4969 * idl/Component.idl:
4971 Changed methods 'getExtents' and 'getImageExtents' in these
4972 interfaces to return a BoundingBox structure.
4973 (getPosition and getSize are redundant and possibly should be
4974 removed, rather than creating a corresponding Point struct.)
4976 * cspi/spi_component.c:
4977 Modify implementation of getExtents to reflect the above IDL
4982 Add (missing) AccessibleImage_getExtents () API.
4984 * docs/reference/cspi/at-spi-cspi-sections.txt:
4985 Added AccessibleImage_getImageExtents () to docs.
4987 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4989 * idl/Component.idl:
4990 Added two methods, getLayer () and getMDIZOrder (), to reflect
4991 the new ATK methods atk_object_get_layer and
4992 atk_object_get_mdi_z_order. (Which arguably should be part of the
4993 AtkComponent API and AtkObject). Also added an enum,
4994 ComponentLayer, for the first method's return value.
4996 * libspi/component.c:
4997 Added implementations for these methods.
4999 * cspi/spi_component.c:
5001 Added cspi binding methods for above,
5002 AccessibleComponent_getLayer() and
5003 AccessibleComponent_getMDIZOrder().
5004 Added cspi enum 'AccessibleComponentLayer'.
5006 * docs/reference/cspi/at-spi-cspi-sections.txt:
5007 Added above methods to docs.
5011 Changed typedef for 'boolean' type (and all references to it) to
5012 SPIBoolean, to avoid keyword clashes with C++.
5015 Changed usages of 'boolean' to SPIBoolean.
5017 * test/keysynth-demo.c:
5018 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5019 app), except where SPIBoolean is required by the callbacks API.
5021 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5023 * cspi/spi_registry.c:
5024 Removed obsolete X event loop for passive keygrabs (which now
5027 * registryd/registryd.c:
5028 Removed unnecessary call to gdk_init() [cruft]. This also allows
5029 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5032 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5034 * docs/reference/cspi:
5035 Included docs for SPI_freeString in generated documentation.
5038 Renamed spi_freeString to SPI_freeString, for consistency. Added
5039 documentation for this function.
5042 Renamed spi_freeString to SPI_freeString, for consistency.
5043 Removed obsolete method declaration string_from_corba_string.
5045 * test/keysynth-demo.c:
5046 Small tweak to comments.
5049 Stopped leaking the strings returned from CSPI.
5051 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5053 Merged Michael's branch (see his ChangeLog entries below).
5055 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5056 bridge is alive, release on exit.
5058 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5059 Fix type check macro.
5062 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5065 Added is_gnome_app static, and method cspi_is_gnome_app(),
5066 so we can call the appropriate shutdown routine at exit in SPI_exit.
5068 * cspi/spi_main.c (cspi_object_ref):
5069 Duplicate the corba object passed in, since we're keeping it around.
5071 * cspi/SPI_exit.c, cspi_cleanup:
5072 Moved the releasing of the live refs to its own function, so we
5073 can put it in g_atexit (). Call the appropriate shutdown API
5074 depending on whethe calling client is a gnome app or not
5075 (bonobo_main_quit or CORBA_ORB_shutdown).
5077 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5078 Unref the listener when this method is called, after
5079 deregistration. Updated the API docs to note this behavior.
5081 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5082 Bugfixes: Ref the bonobo object when returning a parent or child
5083 reference, or an AccessibleRelation. Generally made sure
5084 BonoboObject refcount is incremented whenever we return an
5087 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5088 Fixed typo/bug in signal declaration.
5090 * libspi/accessibleeventlistener.h:
5093 * libspi/application.c (spi_application_new):
5094 Fixed leak in initialization.
5097 Remembered to increment bonobo-object refcount when returning
5098 children (applications) from desktop object.
5099 Added (empty) finalize method.
5101 * libspi/deviceeventcontroller.c:
5102 Hold a ref to listeners inside DEControllerKeyListeners.
5103 Added dec_key_listener_free() method. Use prepend instead of
5104 append in key_listener list. Fixed some refcount madness and
5105 leaks in the listener registration/deregistration - deregistration
5106 now calls dec_key_listener_free() on listeners, and on the
5107 temporarily constructed dec_key_listener() used to perform the search/match.
5109 * libspi/hypertext.c (spi_hypertest_finalize):
5110 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5111 class. Also fixed spi_hypertext_interface_new() and
5112 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5114 * libspi/hypertext.h:
5115 Removed pointless and duplicate AtkObject pointer from
5118 * libspi/keystrokelistener.c:
5119 Fixed incorrect type of keystroke_listener_parent_class,
5120 renamed keystroke_listener_object_finalize to
5121 spi_keystroke_listener_object_finalize.
5122 Fixed typo in signal declaration
5123 (spi_keystroke_listener_class_init).
5125 * libspi/registry.c:
5126 Added funcsions spi_listener_struct_new() and
5127 spi_listener_struct_free() to help with memory management issues.
5128 We also now use these methods instead of gnew + poking stuff into
5129 the struct, and to decrement listener counts/free the listeners
5130 when deregistering them.
5131 Fix more refcount bugs in getDesktop() and
5132 getDeviceEventController().
5135 De-ref the desktop after enumerating the applications. Explicitly
5136 decrement the refcounts on the created listeners on exit (using
5137 _unref for keystroke listeners, and via the
5138 deregisterGlobalEventListenerAll command for other event
5141 2001-11-27 Michael Meeks <michael@ximian.com>
5143 * cspi/spi-listener.h: fixup enum.
5145 2001-11-27 Michael Meeks <michael@ximian.com>
5147 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5148 (cspi_keystroke_listener_new): Use the cspi variants.
5150 2001-11-26 Michael Meeks <michael@ximian.com>
5152 * test/keysynth-demo.c: fix 2 compile warnings, missing
5155 * test/simple-at.c (report_focussed_accessible),
5156 (report_focus_event, report_button_press),
5157 (check_property_change, is_command_key),
5158 (report_ordinary_key_event, report_command_key_event): upd.
5160 * util/mag_client.h: include pre-requisites.
5162 * libspi/accessibleeventlistener.c
5163 (spi_event_listener_object_finalize): free any lingering
5166 * libspi/keystrokelistener.c
5167 (keystroke_listener_object_finalize): ditto.
5169 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5170 callbacks, with cspi types.
5172 * cspi/spi_event.c (createAccessibleEventListener): chain to
5173 (AccessibleEventListener_addCallback): here.
5174 (createAccessibleKeystrokeListener): chain to
5175 (AccessibleKeystrokeListener_addCallback): here.
5177 * libspi/keystrokelistener.c
5178 (spi_keystroke_listener_class_init): add signal.
5179 (impl_key_event): emit the event.
5180 (boolean_handled_accumulator): impl.
5181 (marshal_BOOLEAN__POINTER): add, gack.
5183 * libspi/accessibleeventlistener.c
5184 (spi_event_listener_class_init): add signal.
5185 (impl_accessible_event_notify_event): emit the signal &
5186 make the loop efficient.
5187 (spi_event_listener_add_callback): prepend the callback.
5189 * libspi/accessibleeventlistener.h: add an 'event' signal,
5190 decl type on callback.
5192 * libspi/keystrokelistener.h: ditto.
5194 * cspi/spi-listener.h: make methods typesafe and
5195 make them use the new event typedefs.
5197 * test/simple-at.c (report_focussed_accessible):
5198 include mag_client.h
5199 Use *(void *)text_interface not the other thing.
5201 * configure.in: add gtk to registryd bits - since we use
5204 * util/magnifier.c: include libbonobo.h
5206 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5208 * test/keysynth-demo.c:
5209 Turned this into a simple scanning keyboard, to demonstrate the
5210 use of g_timeout_add () as a means of creating timers for
5211 scanning, and the use of GtkStyle for visually indicating when
5212 virtual keyboard elements are selected.
5214 keysynth-demo now listens to any keyboard keys with zero-valued
5215 keycodes (i.e. 'unused' keys) and interprets them as
5218 Reworked the shiftlatch code so that shift-down state isn't held
5219 for long periods (it's only synthesized immediately prior to
5220 the keysynth event it's modifying). Note that shiftlatch in this
5221 demo is a convenience, not intended to take the place of AccessX
5222 which is the better choice for getting 'sticky' modifier keys.
5224 * libspi/deviceeventcontroller.c:
5225 * at-bridge/bridge.c:
5226 * cspi/spi_registry.c:
5227 Removed some debug print stuff, and put other verbosity in #ifdef
5232 Implemented some more of the magnifier IDL for the simple
5233 magnifier: namely, getZoomRegionParams.
5234 Added mag_x and mag_y members to MagnifierData struct, aid of this
5236 Added GtkWindow::realize signal handler to magnifier, to keep it
5237 from receiving keyboard focus from the WM.
5239 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5241 * cspi/spi-private.h: my guess at what michael forgot
5242 before he ran off to NZ :-)
5244 2001-11-23 Michael Meeks <michael@ximian.com>
5246 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5247 comment out non existant method invoke so we link.
5249 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5250 use bonobo_exception_get_text for more friendly warnings.
5252 * cspi/spi.c (Obj_Add): move into spi_main & rename
5253 spi_object_add; kill spi.c
5255 * cspi/spi_registry.c
5256 (deregisterGlobalEventListener),
5257 (deregisterGlobalEventListenerAll),
5258 (registerGlobalEventListener): fix exception leaks.
5260 * cspi/spi_main.c (spi_exception): impl. helper, so we
5261 don't leak exceptions.
5263 * cspi/spi_selection.c
5264 (AccessibleSelection_deselectSelectedChild): return the
5267 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5268 (spi_registry): ditto.
5269 (SPI_init): guard against double inits.
5271 * cspi/*.c: use spi_ev (), and spi_registry () where
5272 appropriate - a temporary hack until we have something
5273 better. Use spi_object_add
5275 2001-11-22 Michael Meeks <michael@ximian.com>
5277 * cspi/Makefile.am: re organise, install the headers.
5279 * cspi/*.h: add G_BEGIN/END_DECLS
5281 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5284 Added non-preemptive keylistener for key events with no modifiers
5285 and shift-only modifier.
5287 * libspi/keystrokelistener.c:
5288 Removed some verbose diagnostics printout.
5290 * cspi/spi_registry.c:
5291 Fixed a bug that caused all key listeners to be registered as
5294 * libspi/deviceeventcontroller.c:
5295 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5296 for non-preemptive key masks.
5299 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5301 * docs/reference/idl/at-spi-idl-docs.sgml:
5302 * docs/reference/idl/at-spi-idl-sections.txt:
5303 * docs/reference/idl/at-spi-idl-overrides.txt:
5304 Added missing files.
5306 * docs/reference/Makefile.am:
5307 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5308 to scan the IDL files :-(
5313 Added .cvsignore files.
5315 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5317 * libspi/deviceeventcontroller.c:
5318 * libspi/keystrokelistener.c:
5320 * cspi/spi_registry.c:
5321 Added filters for KeySets, KeyEventSeq, and event types to key
5322 event dispatching, so listeners should only receive those events
5323 that they requested :-)
5325 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5330 * docs/reference:Makefile.am:
5331 * docs/reference/cspi:
5332 * docs/reference/cspi:Makefile.am:
5333 * docs/reference/cspi:tmpl:
5334 * docs/reference/cspi:tmpl:*.sgml:
5335 * docs/reference/idl:
5336 * docs/reference/idl:Makefile.am:
5337 * docs/reference/idl:at-spi-idl-sections.txt:
5338 * docs/reference/idl:at-spi-idl-docs.sgml:
5339 * docs/reference/idl:tmpl:
5340 * docs/reference/idl:tmpl:*.sgml:
5342 Restructured docs directory to allow separate 'reference' docs
5343 section, and forked idl and cspi docs. Added the sgml template
5344 files to CVS. Added the first sections/structural sgml for the
5347 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5349 * configure.in, libspi/Makefile.am: find libXtst.
5351 2001-11-21 Michael Meeks <michael@ximian.com>
5353 * test/accessx-gui.c: s/spi_value/value/ - doh.
5355 * libspi/base.[ch]: add.
5357 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5359 * idl/Accessible.idl:
5360 * idl/Application.idl:
5363 Started gtk-doc cleanup on IDL.
5365 * libspi/deviceeventcontroller.c:
5366 Added and connected non-preemptive key notification from the
5367 toolkits (in addition to the pre-emptive support from XServer
5368 which we had before, but which causes 'focus flashing'). Filters
5369 are presently limited to key modifiers and global/non-global,
5370 KeySets are presently ignored, as are KeyEvent masks.
5372 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5373 structs into the persistant structure rather than just storing
5374 pointers to things that might not persist across servant
5377 The XGrabKey call now does async keygrabs, because synchronous
5378 ones were deadlocking with GDK_event code in a very nasty way.
5380 Added boolean to internal method notify_keylisteners, to indicate
5381 whether the event came from the 'toolkit source' or the 'global
5382 (XServer) source' - this is used in the notification process to
5383 determine which listeners to send the event to.
5385 deviceeventcontroller.c is now warning-free.
5387 * libspi/registry.c:
5388 Fixed regression in application de-registration.
5389 Also fixed some really brain-dead weirdness having to do with
5390 event dispatching - event structs are now duplicated before being
5391 re-marshalled in the dispatch to listeners. This also fixes a
5392 Solaris build problem.
5395 2001-11-20 Michael Meeks <michael@ximian.com>
5398 (impl_accessibility_registry_deregister_global_event_listener):
5401 * libspi/deviceeventcontroller.c
5402 (spi_device_event_controller_check_key_event): return
5403 FALSE on no virtual method.
5405 * libspi/*..h: make includes work on a correctly pathed install.
5407 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5409 * libspi/application.h: kill unused ( and whacked out )
5410 gboolean *spi_application_set_id (AtkObject *app, long id);
5412 2001-11-20 Michael Meeks <michael@ximian.com>
5414 * libspi/*.[ch]: further convert to bonobo's type func
5415 macros, remove redundnant casts etc.
5417 * libspi/text.c s/accessibility_text/spi_text/g,
5418 re-order to de-cruft.
5420 * libspi/hypertext.c: re-order to kill a huge slew
5421 of redundant forward decls.
5423 * libspi/relation.c: ditto.
5425 * libspi/image.c: ditto.
5427 * */.cvsignore: update
5429 2001-11-20 Michael Meeks <michael@ximian.com>
5431 * libspi/deviceeventcontroller.c
5432 (_controller_register_with_devices): use g_getenv,
5433 kill stdlib.h include.
5435 * libspi/keystrokelistener.c
5436 (spi_keystroke_listener_get_type): kill
5437 (spi_keystroke_listener_class_init),
5438 (spi_keystroke_listener_init): rename to this.
5440 * libspi/text.c (impl_getAttributes): fix warning / bug.
5442 * libspi/*.[ch]: more headers, includes and over commenting.
5444 2001-11-20 Michael Meeks <michael@ximian.com>
5446 * libspi/*.[ch]: fixup headers, includes and over commenting.
5448 * libspi/image.c (impl__get_imageDescription): const
5449 correctness warning fix. remove redundant casting.
5451 * libspi/table.c (impl_getRowDescription): ditto.
5452 (impl_getColumnDescription): ditto.
5454 * libspi/libspi.h: add.
5456 2001-11-19 Michael Meeks <michael@ximian.com>
5458 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5460 * libspi/component.c (accessibility_component_get_type):
5461 rename to (spi_component_get_type): and macroify.
5462 (accessibility_component_init): rename to
5463 (spi_component_init): this
5464 (accessibility_component_class_init): rename to
5465 (spi_component_class_init): this
5467 * libspi/action.c (spi_action_get_type): kill, use the macro.
5469 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5472 * libspi/application.c (spi_application_object_event_listener),
5473 (impl_accessibility_application_register_object_event_listener):
5474 warning fixes / const understanding updates.
5476 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5479 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5481 * libspi/spi_accessible.c: Added docs and C bindings for
5482 AccessibleStateSet. (No implementations yet). Documentation
5483 coverage for C bindings now 100%. Made docs for event listeners
5488 boolean notifyListenersSync (in DeviceEventListener listener,
5489 in DeviceEvent event);
5491 oneway void notifyListenersAsync (in DeviceEventListener listener,
5492 in DeviceEvent event);
5494 Added DeviceEventListener and DeviceEvent structs (may deprecate
5495 KeyStroke and KeystrokeListener in favor of this generic
5496 event/listener framework for devices).
5498 * libspi/deviceeventcontroller.c:
5500 Changed some key listener code to take masks, etc., and paved the
5501 way for integration of toolkit/non-preemptive key events. Changed
5502 signatures of some internal methods.
5504 * at-bridge/bridge.c:
5505 Fixed regression connecting to interface signals, apparently
5506 caused by GTK+ changes.
5508 Added an internal bridge_state_listener to deal with
5509 property-change:accessible-state signals.
5511 Changed the key_listeners GList to store structs (including masks,
5512 etc.) instead of just CORBA_Objects (required for full
5513 implementation of key listener API).
5515 Connected the bridge to all currently supported Atk signals.
5516 Events now supported:
5517 object:property-change
5518 object:property-change:accessible-name
5519 object:property-change:accessible-state
5520 object:property-change:accessible-description
5521 object:property-change:accessible-parent
5522 object:property-change:accessible-value
5523 object:property-change:accessible-role
5524 object:property-change:accessible-table-caption
5525 object:property-change:accessible-table-column-description
5526 object:property-change:accessible-table-column-header
5527 object:property-change:accessible-table-row-description
5528 object:property-change:accessible-table-row-header
5529 object:property-change:accessible-table-summary
5530 object:children-changed
5531 object:visible-data-changed
5532 object:selection-changed
5533 object:text-selection-changed
5535 object:text-caret-moved
5537 object:row-reordered
5539 object:column-inserted
5540 object:column-reordered
5541 object:column-deleted
5542 object:model-changed
5544 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5546 * libspi/hyperlink.c,h:
5547 Fixed some broken stuff in hyperlink.
5549 * libspi/relation.h:
5550 * libspi/relation.c:
5551 * cspi/spi_accessible.c:
5552 Initial implementations of AccessibleRelation methods, and docs.
5554 * libspi/accessible.c:
5555 Fixed a bug that caused SEGV if an accessible
5556 object's description is NULL, and a client
5557 requests it. An empty string is now returned.
5559 * cspi/spi_editabletext.c:
5560 * cspi/spi_hypertext.c:
5562 * cspi/spi_hyperlink.c:
5566 Doc coverage now 95%.
5568 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5570 One last namespacing revision:
5571 * libspi/accessibleeventlistener.[ch]:
5572 Renamed SpiAccessibleEventListener to SpiEventListener,
5573 (no need for two namespaces ;-)
5575 And lots of documentation fixes:
5577 * docs/at-spi-docs.sgml:
5578 Fixed 'underscore vs. hyphen' bug that was preventing
5579 the gtk-doc API docs from being automatically generated.
5582 * cspi/spi-listener.h
5584 * cspi/spi_accessible.c
5586 * cspi/spi_application.c
5587 * cspi/spi_component.c
5588 * cspi/spi_editabletext.c
5590 * cspi/spi_hypertext.c
5592 * cspi/spi_registry.c
5593 * cspi/spi_selection.c
5597 * docs/at-spi-docs.sgml
5598 * docs/at-spi-sections.txt
5600 Added and fixed up gtk-doc documentation in cspi.
5602 Interfaces now (fully) documented (subject to revision and enhancement):
5604 Event Listener Support
5606 AccessibleApplication
5610 AccessibleEditableText
5617 AccessibleRelationSet
5622 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5624 * at-bridge/bridge.c:
5625 Initial work for toolkit-level key snooper connection by bridge.
5630 New typedefs and fixes to support new namespacing, and cleaner
5631 separation of cspi bindings from libspi bonobo implementation.
5632 Removed inconsistent and extraneous Spi* namespace prefix that
5633 had crept into cspi headers.
5634 Lots of comment fixes that sed had missed.
5636 * cspi/spi-roletypes.h:
5637 * cspi/spi-statetypes.h:
5638 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5639 to AccessibleRoleType.
5641 * libspi/accessibleeventlistener.h:
5642 Fixed minor namespacing weirdness.
5644 * libspi/deviceeventcontroller.c:
5645 Reordered some internal API for device listeners.
5646 Changed the key registry final boolean to 'is_system_global'
5647 rather than 'is_synchronous', which is more descriptive of its
5649 Added spi_device_event_controller_new().
5650 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5652 * libspi/keystrokelistener.[ch]:
5653 Namespaced KeystrokeListener to SpiKeystrokeListener.
5654 Changed uses of keymasks to use SPI_ prefix, and did other
5657 * libspi/keymasks.h:
5658 Namespaced keymask constants with SPI_ prefix.
5660 * libspi/registry.c:
5661 Some warning fixes, and knock-on fixes from namespace changes.
5664 Added rules for accessx-gui test program.
5666 * test/accessx-gui.c:
5667 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5668 utility. It doesn't actually use at-spi, but it's still cool and
5671 * test/keysynth-demo.c:
5675 Fixes so that these test clients work properly with the namespaced
5676 libraries. (Incompletely tested for technical reasons, fixes may follow)
5679 2001-11-13 Michael Meeks <michael@ximian.com>
5681 * libspi/application.c
5682 (impl_accessibility_application_get_version),
5683 (impl_accessibility_application_get_toolkit_name):
5685 (impl_accessibility_application_set_id),
5686 (impl_accessibility_application_get_id): remove
5687 redundant casting code.
5689 * libspi/action.c (impl_getDescription): fix warnings.
5691 * libspi/accessible.c
5692 (impl_accessibility_accessible_get_parent),
5693 (impl_accessibility_accessible_get_child_at_index),
5694 (impl_accessibility_accessible_get_state),
5695 (impl_accessibility_accessible_get_relation_set):
5696 warning fixes & include action.h
5698 2001-11-13 Michael Meeks <michael@ximian.com>
5700 * *.[ch] fix bits I screwed up:
5702 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5703 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5705 2001-11-13 Michael Meeks <michael@ximian.com>
5707 * *.[ch] Namespace libspi into spi_ and Spi.
5709 2001-13-11 Michael Meeks <michael@ximian.com>
5711 * Makefile.am: dist & install at-spi-1.0.pc
5713 * libspi/Makefile.am: install into at-spi-1.0
5715 * idl/Makefile.am (idldir): install into at-spi-1.0
5717 * at-spi-1.0.pc.in: add.
5719 * configure.in: build it.
5721 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5723 * test/keysynth-demo.c:
5724 Use a 'realize' signal-handler to set the WM properties for
5725 the virtual keyboard, rather than making it a "POPUP" type
5726 override-redirect window (thanks to anders carlsson for that
5729 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5732 * test/keysynth-demo.c:
5733 Added new test of key synthesis, which creates a simple
5734 (mouse-operated) onscreen keyboard. It inserts key events into
5735 the currently-focused window, thus it does not grab keyboard focus
5738 * cspi/spi_registry.c:
5739 Added C binding for AT-SPI generateKeyEvent.
5741 * libspi/deviceeventcontroller.c:
5742 Added call to XFilterEvent so that key listener works with XIM (we
5743 hope). Added event_synth_type to generateKeyEvent, so that we can
5744 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5745 synthesize a press/release pair for KeySyms.
5747 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5749 * libspi/Makefile.am:
5750 * registryd/Makefile.am:
5751 (temporary) hack to include libXtst in libspi and registryd.
5752 (Needed for keystroke synthesis, see below).
5755 Improved API for registerKeystrokeListener, in accordance with
5756 discussions with Gnopernicus team and X server research.
5758 * libspi/registry.c:
5759 * libspi/deviceeventcontroller.c:
5760 * libspi/accessible.c:
5761 * libspi/keystrokelistener.c:
5762 Changes and fixes to support keylisteners for potentially
5763 consumed key events (that is, 'passive grabs').
5764 Added implementation for generateKeyEvent() [untested].
5767 Changes to registerKeystrokeListener() API, as above.
5768 Added deregisterGlobalEventListenerAll(), and
5769 deregisterKeystrokeListener(), which are needed for clean exit of
5771 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5772 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5774 * cspi/spi_registry.c:
5775 Added implementations of function prototypes mentioned above.
5777 * registryd/registryd.c:
5778 Added the key listener event source as a g_timeout(), to allow
5779 receipt of key events that are not caught by GDK (since GDK
5780 doesn't support passive keygrabs, this was necessary).
5783 Changed to attach a keylistener to 'Alt' keys, and
5784 respond to the following keycommands: Alt-M (toggle magnifier);
5785 Alt-F (toggle speech); Alt-Q (quit).
5786 Added an exit routine to deregister the listeners, and a key
5787 listener that prints some key info to the console when a key
5788 matches the listener mask (and is thus received by the listener).
5790 * util/idl/Magnifier.idl:
5791 Changes to magnifier API to support multiple zoom regions,
5792 non-uniform scaling in x and y, markDirty, and a host of other
5793 features that would be useful to magnification.
5796 * util/mag_client.c:
5797 * util/mag_client.h:
5798 * util/mag_control.c:
5800 Source code changes to support the above IDL changes.
5803 As above, and also changes to use a (slower) generic conversion
5804 path for colormap conversions, since the fast RGB conversions have been
5805 reported to fail for 16-bit displays.
5807 2001-10-26 Michael Meeks <michael@ximian.com>
5809 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5811 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5813 * at-bridge/Makefile.am: fix LDFLAGS.
5815 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5817 * at-bridge/bridge.c:
5818 Re-worked listeners for toolkit events, now we have signal
5819 and property listeners. Added a private method
5820 register_atk_event_listeners(), which registers with the
5821 various atk and gtk signals we need to monitor in order to emit
5823 Added emission hook for AtkObject:property-change events, to
5824 support the 'property listeners'.
5825 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5828 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5829 which emit warnings and exit, respectively, if CORBA errors occur
5830 during remote calls, and we now use these methods to check most of
5831 our CORBA calls in the C bindings.
5833 * cspi/spi_accessible.c:
5834 Changed AccessibleSelection_refSelectedChild() to
5835 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5836 now increment refcounts.
5838 * cspi/spi_component.c:
5839 Fixed some long pointer casts (dangerous!) to pass pointers to
5840 CORBA_longs of the proper type to the CORBA stubs, and copy the
5841 data into the longs that were passed into the C bindings code.
5843 * at-bridge/bridge.c:
5845 * libspi/accessible.c:
5846 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5847 hyperlinks, AtkHyperlink is an object type.
5849 * libspi/application.c:
5850 Added various conversions to and from "generic" event types and
5851 atk-specific types; this is really part of the 'bridge'
5852 implementation but is valid for all AtkObject-based accessibility
5855 * libspi/editabletext.c:
5856 Fixed nasty bug wherein editable text's finalize method was
5857 unref'ing tha AtkObject reference that the text parent class was
5858 about to unref _again_. There was also a nasty inheritance bug
5859 that meant that the AccessibleEditableText class was corrupt.
5861 * libspi/selection.c:
5862 Provided implementations for some selection API that was broken.
5864 * idl/Application.idl:
5865 Added registerObjectEventListener () method.
5868 Fixed a number of return values that were Bonobo_Unknowns from
5869 bonobo_object_corba_objref(), which I
5870 forgot to dup before returning. Changed instances of
5871 bonobo_object_corba_objref (bonobo_object(o)) to
5872 BONOBO_OBJREF(o), for concision and clarity.
5874 2001-10-13 Louise Miller <louise.miller@sun.com>
5876 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5877 idl/Event.idl, idl/Registry.idl
5878 Changed these files to include Bonobo_Unknown.idl instead
5881 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5883 * libspi/component.c libspi/component.h:
5884 Fixed typo. Added assertions for object checks in
5885 AccessibleComponent code.
5887 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5889 * idl/Accessible.idl:
5890 Added 'isEqual (Accessible *object)'
5891 method for Accessible. (Not Yet Implemented).
5894 Changed signature of registerKeystrokeListener() to
5895 take a KeySet and KeyEventSeq so that specific keys and event
5896 types could be requested for monitoring, and added a flag
5897 is_synchronous so that either synchronous or asynchronous
5898 notification could be requested. (However this is not all
5899 implemented yet). This also meant adding two new typedefs,
5900 KeyEventSeq and KeySet.
5903 Added two new relations, RELATION_TOOLTIP_FOR and
5904 RELATION_LEAFNODE_OF.
5907 Added new state, STATE_HAS_TOOLTIP.
5909 * libspi/text.c, editabletext.c:
5910 Added new assertions to all casts of bonobo-objects from
5911 CORBA servants, to prevent Text API calls on non-text objects.
5912 Changed suspect casts of int-pointer types, so that we
5913 always send a valid CORBA_long pointer to the CORBA APIs that use
5914 in/out long parameters. We then have to copy from the CORBA_long
5915 into the regular long or int for return to the C bindings, or
5916 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5919 * libspi/deviceeventcontroller.c:
5920 Cleaned these sources up.
5922 Changed return type for getCharacterAtOffset to
5923 CORBA_unsigned_long, to allow for 32-bit characters.
5926 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5930 Fixed 'make dist' so that distro compiles...
5931 * libspi/keymasks.h:
5933 * cspi/spi-listener.c:
5934 KeystrokeListenerCB now returns a boolean.
5936 Added KeyEventType struct, and KeyStroke.
5937 Also added createKeystrokeListener(),
5938 KeystrokeListener_addCallback(),
5939 KeystrokeListener_removeCallback(), and added a keymask to
5940 registerKeystrokeListener().
5941 * cspi/spi_accessible.c:
5942 Changed numerous return types for interfaces from
5943 AccessibleComponent to Accessible<InterfaceName>; this was
5944 probably a cut-and-paste error.
5946 Implementations of new KeystrokeListener api (from spi.h,
5949 Changes to key modifier mapping.
5950 Created ControllerEventMask struct.
5951 Made DeviceEventController derive from Bonobo::Unknown.
5953 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5954 * libspi/deviceeventcontroller.c:
5955 Added a number of new internal (private) methods.
5956 * libspi/editabletext.c:
5957 * libspi/editabletext.h:
5958 Fixed a number of bugs related to the fact that
5959 editabletext inherits from text. Fixed the EditableText struct,
5960 the init() call, and use correct casts when calling Text methods
5961 from an EditableText object. Removed (duplicate) atko from the
5962 EditableText structure, we use the one in the parent Text
5963 structure via the casts mentioned above.
5964 * libspi/keystrokelistener.[ch]:
5965 * libspi/registry.c:
5966 Changes in support of keyboard handling (above).
5968 Keyboard handling, though partly functional, is still not
5969 recommended for at-spi client use as there is considerable
5970 work yet to be done.
5973 Changed some places where pointers to various int types
5974 are cast to be pointers to CORBA_long types and vice-versa:
5975 pointer casting is not safe so we pass pointers of the correct
5976 types and then cast the result before putting it into the target
5979 * libspi/text.h: minor typos corrected.
5981 We now speak not only the name of a Text element, but the
5982 first sentence of its content, when it receives focus.
5983 I also changed the text compression to 75% from 50%.
5984 * util/Accessibility_Util.server.in:
5985 Changed the default magnifier type to be a 3x vertical
5986 splitscreen magnifier (was previously a 2x horizontal one).
5988 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5990 * libspi/keystrokelistener.h:
5991 * libspi/keystrokelistener.c:
5992 Initial functional implementations of KeystrokeListener.
5995 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5997 Fixed string handling for NULL strings in libspi.
5998 Added spi_freeString to free strings returned by C bindings.
6000 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6002 * libspi/keystrokelistener.h:
6003 * libspi/keystrokelistener.c:
6004 Began (no-op) implementations of KeystrokeListener
6006 * libspi/deviceeventcontroller.c:
6007 * libspi/deviceeventcontroller.h:
6008 Began creating implementations of DeviceEventController,
6009 to handle keystroke and mouse event listening and
6011 * libspi/accessible.c:
6012 Stubbed-in the implementations for
6013 Accessibility_Accessible_getState and
6014 Accessibility_Accessible_getRelationSet.
6015 * libspi/registry.c:
6016 Improved de-registration process and fixed some bugs,
6017 deregistration now works correctly.
6019 Added initialization of applications list (to NULL).
6021 Reduced speech compression from 0.5 to 0.7, for demo.
6022 Changed call to gdk_window_set_decorations()
6023 to gtk_window_set_decorated().
6024 * at-bridge/bridge.c:
6025 Bridge now deregisters when app exits, via
6026 registration of a cleanup function
6027 with the g_atexit() call.
6028 Required making 'app' static, renamed 'this_app'.
6029 Fixed broken use of bonobo_init, passing argv wrongly.
6031 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6035 Created a new directory for
6036 accessibility-related utilities, primarily for
6037 testing and demo purposes, but with possible
6044 Onscreen magnifier utility that
6045 is implemented as a bonobo service.
6047 * util/mag_client.c:
6048 * util/mag_client.h:
6049 Client-side support (simple C bindings)
6050 for Magnification service
6052 * util/mag_control.c:
6053 Client program example for
6054 Magnification service
6056 * util/Accessibility_Magnifier.server.in:
6057 Bonobo-activation file for the
6058 Magnification service.
6061 * util/idl/Magnifier.idl:
6062 IDL defining the bonobo Magnification
6066 Modifications to use the bonobo-activated magnifier
6067 above, in place of trying to connect to an existing
6068 magnifier that uses socket-listening IPC.
6070 If env variable MAGNIFIER is set, a magnifier service
6071 will be started if one does not exist.
6073 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6075 * at-bridge/bridge.c:
6076 applied patch from Marc to build and run
6077 against new glib and gtk+ (seemed like a change
6078 to bonobo_init signature was made ?)
6080 made festival-server support turned off by default.
6081 Added support for a simple magnifier (off by default)
6082 which will be added to a 'util' directory later.
6083 * at-bridge/Makefile.am:
6084 Changed "application.h" header from a 'source'
6085 to a 'dependency' of libat-bridge.
6087 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6096 Added interface implementation c files to list of
6097 includes so they are included in libcspi.
6100 Changed prototype of AccessibleAction_doAction to return a
6102 Changed prototype of AccessibleTable_getCaption to
6103 return an Accessible.
6104 Changed prototype of AccessibleTable_getSelectedRows
6105 and AccessibleTable_getSelectedColumns to
6106 return a long (returns the number of selected rows
6107 or columns respectively).
6108 Changed name of AccessibleText_refRunAttributes to
6109 AccessibleText_getAttributes.
6110 Changed prototype of AccessibleText_getCharacterExtents to
6111 return a void rather than a boolean.
6112 Added support for a AccessibleCoordType parameter
6113 specifying what type of coordinates are desired.
6114 Added an AccessibleCordType parameter to
6115 AccessibleText_getPointAtOffset.
6117 * cspi/spi_accessible.c:
6118 Added code to return the outstanding interfaces from
6119 Accessible_queryInterface.
6121 * cspi/spi_action.c:
6123 Corrected call to getNActions to call the c binding
6126 * cspi/spi_editabletext.c:
6128 Changed name from setRunAttributes to setAttributes.
6130 * cspi/spi_hyperlink.c:
6132 Changed call to getNAnchors to correctly call the c
6133 binding for an attribute.
6135 * cspi/spi_hypertext.c:
6137 Changed getImageDescription to correctly call the
6138 binding for an attribute.
6140 * cspi/spi_selection.c:
6141 Changed getNSelectedChildren to correctly call the c
6142 binding for the attribute.
6143 Changed refSelectedChild to getSelectedChild.
6147 Changed getCaption to return an Accessible.
6148 Fixed calls which retrieve attributes.
6149 Changed refAt to getAccessibleAt.
6150 Changed getNSelectedRows and getNSelectedColumns to
6154 Changed getCharacterExtents and getPointAtOffset to accept an
6155 AccessibleCoordType.
6157 Changed calls which retrieve attributes.
6158 Changed refRunAttributes to getAttributes.
6163 * idl/Hyperlink.idl:
6164 Changed n_anchors attribute to nAnchors to keep naming
6165 convention consistent.
6168 Made Table inherit from Bonobo::Unknown.
6169 Added nSelectedColumns and nSelectedRows attributes.
6172 Made Value inherit from Bonobo::Unknown.
6174 * libspi/hyperlink.c:
6175 Change for nAnchors attributte name change.
6177 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6185 Added interface implementation c files to list of
6186 includes so they are included in libcspi.
6189 Changed prototype of AccessibleAction_doAction to return a
6191 Changed prototype of AccessibleTable_getCaption to
6192 return an Accessible.
6193 Changed prototype of AccessibleTable_getSelectedRows
6194 and AccessibleTable_getSelectedColumns to
6195 return a long (returns the number of selected rows
6196 or columns respectively).
6197 Changed name of AccessibleText_refRunAttributes to
6198 AccessibleText_getAttributes.
6199 Changed prototype of AccessibleText_getCharacterExtents to
6200 return a void rather than a boolean.
6201 Added support for a AccessibleCoordType parameter
6202 specifying what type of coordinates are desired.
6203 Added an AccessibleCordType parameter to
6204 AccessibleText_getPointAtOffset.
6206 * cspi/spi_accessible.c:
6207 Added code to return the outstanding interfaces from
6208 Accessible_queryInterface.
6210 * cspi/spi_action.c:
6212 Corrected call to getNActions to call the c binding
6215 * cspi/spi_editabletext.c:
6217 Changed name from setRunAttributes to setAttributes.
6219 * cspi/spi_hyperlink.c:
6221 Changed call to getNAnchors to correctly call the c
6222 binding for an attribute.
6224 * cspi/spi_hypertext.c:
6226 Changed getImageDescription to correctly call the
6227 binding for an attribute.
6229 * cspi/spi_selection.c:
6230 Changed getNSelectedChildren to correctly call the c
6231 binding for the attribute.
6232 Changed refSelectedChild to getSelectedChild.
6236 Changed getCaption to return an Accessible.
6237 Fixed calls which retrieve attributes.
6238 Changed refAt to getAccessibleAt.
6239 Changed getNSelectedRows and getNSelectedColumns to
6243 Changed getCharacterExtents and getPointAtOffset to accept an
6244 AccessibleCoordType.
6246 Changed calls which retrieve attributes.
6247 Changed refRunAttributes to getAttributes.
6252 * idl/Hyperlink.idl:
6253 Changed n_anchors attribute to nAnchors to keep naming
6254 convention consistent.
6257 Made Table inherit from Bonobo::Unknown.
6258 Added nSelectedColumns and nSelectedRows attributes.
6261 Made Value inherit from Bonobo::Unknown.
6263 * libspi/hyperlink.c:
6264 Change for nAnchors attributte name change.
6267 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6269 implementations-- made server implementations own AtkObject pointers
6270 rather than their respective AtkInterrface pointers to fix
6271 refcounting. AtkHyperlink is still broken.
6273 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6274 * cspi/spi_accessible.c:
6275 Added method Accessible_Role_getName(),
6276 and requisite string array (role_names).
6277 Added conversion string_from_corba_strin() call
6278 to Accessible_getName and _getDescription.
6279 * libspi/accessible.c:
6280 Added implementation for Accessible_getRole()
6282 Added festival support, used if environment variable
6285 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6287 * at-bridge/bridge.c:
6288 Now allocate Accessibility_Event using
6289 Accessibility_Event__alloc() instead of g_new0().
6290 * libspi/accessibleeventlistener.c:
6291 Initialize AccessibleEventListener->callbacks to NULL.
6292 Fixed accessible__event_listener_init() param, changed to
6293 "AccessibleEventListener *" type.
6294 Changed a bonobo_object_release_unref() call to
6295 Accessibility_Accessible_unref().
6296 * libspi/listener.c:
6297 Changed Bonobo_Unknown_unref to (equivalent)
6298 Accessibility_Accessible_unref.
6299 * libspi/registry.c:
6300 Changed bonobo_object_release_unref to
6301 Accessibility_Accessible_unref.
6303 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6306 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6307 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6308 spi-util.c spi-util.h
6309 Implementations for C bindings to remaining accessibility
6312 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6315 changed return value of Action from void to boolean to
6316 bring in line with ATK.
6319 Changed getText funcions to return "out" start and end offsets.
6320 Changed getAttributes to take and offset and return the start
6321 and end offset of the attribute run.
6322 Changed getOffsetAtPoint and getCharacterExtents to take an
6323 enum describing whether coordinates are window or screen.
6326 libspi/action.c libspi/action.h libspi/editabletext.c
6327 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6328 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6329 libspi/image.h libspi/selection.c libspi/selection.h
6330 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6331 libspi/value.c libspi/value.h
6332 Added server implementations for outstanding ATK interfaces
6333 not yet implemented.
6335 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6338 Added (missing) getName() method.
6339 Made nActions an attribute.
6340 * idl/EditableText.idl:
6341 Changed order of params in setAttributes.
6342 * idl/Hyperlink.idl:
6343 Removed getAnchor, added getURI.
6345 Changed attributes to methods, for efficiency
6346 (so that getting extents can be done in one call)
6347 * idl/Selection.idl:
6348 Changed nSelectedChildren to attribute, and re-indented.
6349 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6351 * idl/Text.idl: reformatted to match our coding style.
6352 (temporarily?) removed getRowColumnAtOffset().
6353 Changed text selection API to support multi-select and
6354 non-contiguous selections, as in ATK.
6355 * idl/Value.idl: changed some methods to attributes.
6357 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6359 * libspi/listener.c(impl_notify_event):
6360 BonoboUnkown_unref the source instead
6361 of bonobo_object_release_unref - the ORB
6362 handles the releasing.
6364 * configure.in: require ORBit-2.3.94 for
6367 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6369 Tagged CVS repository 'EA_1_0'.
6370 * README.EARLY_ACCESS:
6371 Alphabetized acknowledgements list, and
6373 Listed some known dependencies of at-spi.
6375 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6377 * docs/at-spi-docs.sgml:
6378 * docs/at-spi-sections.txt:
6379 * docs/at-spi-overrides.txt: (Added zero-length file)
6380 Documentation improvements - gtk-doc should build
6381 docs for all implemented C bindings now.
6384 * cspi/spi.c: (New file)
6385 * cspi/spi_event.c: (New file)
6386 * cspi/spi_registry.c: (New file)
6387 * cspi/spi_accessible.c: (New file)
6388 * cspi/spi_application.c: (New file)
6389 * cspi/spi_component.c: (New file)
6390 Split spi_main.c into six parts, and included them from
6391 "spi.c". This is a bit of a hack, probably temporary,
6392 but required by gtk-doc, apparently.
6394 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6397 * docs/at-spi-docs.sgml:
6398 * docs/at-spi-sections.txt:
6400 Initial checkins/modifications for gtk-doc generation.
6403 Added (missing) interface query methods to Accessible's C binding.
6405 Added GenericInterface type definition.
6407 Added query for AccessibleComponent interface to focus event handler.
6408 Added printout of bounding box for focussed component.
6409 * libspi/component.c:
6410 Added partial implementation for AccessibleComponent to C binding.
6411 * idl/Application.idl:
6412 * libspi/registry.c:
6413 * libspi/listener.c:
6414 * libspi/application.c:
6415 * libspi/application.h:
6416 Changed "ID" attribute type from string to long.
6418 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6422 Made method naming consistent: methods taking object args
6423 start with uppercase, other methods (except those using
6424 acronyms) start with lowercase. Underscores delimit between
6425 object names and method names:
6426 SPI_init() - uppercase since it starts with an acronym.
6427 getDesktopCount () - lowercase start since no object param0.
6428 Accessible_getName() - uppercase object type name, studlyCaps method
6432 Added gtk-doc documentation for all currently implemented
6433 methods in the C bindings API.
6435 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6437 * Makefile.am : changed build order to build test last.
6440 Changed "createEventListener" to "CreateEventListener".
6441 * libspi/accessibleeventlistener.c :
6442 Bugfix for addition of callbacks.
6443 * test/Makefile.am :
6444 * test/simple-at.c :
6445 Added new test that uses the C bindings API.
6447 * libspi/listener.c :
6448 * libspi/registry.c :
6449 * libspi/accessibleeventlistener.c :
6450 * at-bridge/bridge.c :
6451 Renamed member "target" of Accessibility_Event to "source",
6452 which is more descriptive.
6455 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6459 * cspi/Makefile.am :
6460 Added makefile support for at-spi/cspi directory.
6463 * cspi/spi-listener.h : (NEW FILE)
6464 Added support for/use of spi-listener.h.
6466 C bindings now build successfully, with no warnings.
6467 * libspi/accessibleeventlistener.h : (NEW FILE)
6468 * libspi/accessibleeventlistener.c : (NEW FILE)
6469 * libspi/Makefile.am :
6470 Added new object type "AccessibleEventListener"
6471 which inherits from Listener, and allows attachment
6472 of in-process callbacks (so that a client with a listening
6473 object instance can add functionality to the local
6474 implementation, dynamically).
6476 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6478 * libspi/accessible.c:
6479 Add implementation for get_index_in_parent().
6481 Added #include of "spi-roletypes.h", and
6482 added enumerated type AccessibleCoordType.
6483 Added definition for KeystrokeListener (function type).
6486 * cspi/spi-statetypes.h :
6487 * cspi/spi-roletypes.h :
6489 Added these headers, used by spi.h.
6491 Added code (NOTE: not yet built by make).
6493 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6495 * libspi/Makefile.am: generate imodule
6496 at the same time as other idl compiler
6499 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6500 * libspi/registry.c :
6501 * libspi/application.c :
6502 * idl/Application.idl :
6503 Made registration with toolkit an application method,
6504 which is required since each app has its own toolkit static
6505 environment. Thus the bridge must register for
6506 notification of toolkit events from each application in turn.
6507 Toolkit notifications are now successfully registered for, and
6508 sent to the listening at client.
6510 Changed toolkit event string to use hyphens rather than underscores.
6511 * libspi/listener.c :
6512 listner now gives more info in debug mode - it reports the
6513 name of the event received, as well as the name of the source.
6516 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6518 * libspi/registry.c :
6519 added more implementation for toolkit events.
6520 Fixed bug such that toolkit event registrations
6521 (via atk) use the whole event name string, not
6523 Removed a useless call to an ORBit_ method.
6524 * at-bridge/bridge.c :
6525 Removed unused local sbuf[] variable.
6527 We now register for Gtk:GtkWidget:button_press_event
6528 events as well as "focus:" events.
6530 Add some more API from Registry.idl that was missing,
6531 for keystroke listening, keystroke and mouse event
6532 synthesis, and enumeration of accessible desktops.
6534 2001-08-16 Michael Meeks <michael@ximian.com>
6536 * configure.in: use AM_GLIB_GNU_GETTEXT.
6538 * Makefile.am (SUBDIRS): kill intl.
6540 2001-08-15 Michael Meeks <michael@ximian.com>
6542 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6544 * configure.in: upd.
6546 * configure.in: depend on a recent bonobo-activation that
6547 will find our server files ...
6549 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6551 * libspi/accessible.c : accessible_new() :
6552 Now we add the Component interface via bonobo_object_add_interface,
6553 if the contained AtkObject implements AtkComponent.
6554 * libspi/accessible.h : now include "component.h"
6555 * libspi/component.h :
6556 * libspi/component.c : added files - implementation of
6557 bonobo wrapper object for Accessibility/Component
6558 * libspi/listener.c :
6559 Added test code to check for Accessibility/Component:1.0
6560 interface and report whether it is implemented by the
6562 * libspi/registry.c :
6563 Now we check for not only the hash of the whole event
6564 string before relaying the event, we also check the
6565 "minor" event string (without the detail string).
6566 This allows event listeners to be registered against
6567 all events of a certain major+minor type, or just
6568 against a specific major+minor+detail type.
6569 * libspi/accessible.c :
6570 Added implementations for Accessible:get_parent(),
6571 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6572 * libspi/registry.c :
6573 * libspi/listener.c :
6574 Replaced calls to Accessibility_Accessible_ref() and
6575 Accessibility_Accessible_unref() with
6576 calls to bonobo_object_dup_ref() and
6577 bonobo_object_release_unref(), so that the CORBA object
6578 is dup-ed and released when relayed, as well as the bonobo object.
6580 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6582 * libspi/Makefile.am,
6583 registryd/Makefile.am,
6584 at-bridge/Makefile.am.
6585 test/Makefile.am, configure.in:
6586 reverse previous changes.
6588 * /idl/Image.idl: fix typo.
6590 * test/Makefile.am: put DEBUG_FLAGS
6593 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6595 * test/app.c: use argv[0] instead of
6598 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6600 * libspi/Makefile.am,
6601 registryd/Makefile.am,
6602 at-bridge/Makefile.am.
6603 test/Makefile.am, configure.in:
6604 cleanup, replace individual LIBS/CFLAGS with
6605 AT_COMMON_{LIBS|CFLAGS}.
6609 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6611 * configure.in, libspi/Makefile.am:
6612 Change IDL path checking for bonobo-activation
6615 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6617 * registryd/registry.c : separated event listeners to use
6618 3 separate lists (focus, window, toolkit). Began testing
6619 event names against hashes before relaying events.
6620 * test/at.c : now register for events of type "focus:"
6621 * test/app.c : now generate events of type "focus:"
6622 * at-bridge/bridge.c : register with ATK for focus events,
6623 and we now relay those focus events to any "focus:" listeners.
6624 This now works with the bridge as a GTK_MODULE when running test/at.
6625 * libspi/registry.c :
6626 * libspi/listener.c :
6627 now we ref event sources before propagating, and unref on receipt.
6628 * libspi/registry.c :
6629 some changes to internal structs, to support event typestring hashes.
6630 * text/app.c : changed the way the appname is generated.
6631 * cspi : added directory that will hold the C bindings library for
6632 non-CORBA/bonobo-savvy clients.
6633 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6634 * idl/Component.idl : added in parameter to indicate coord system for
6635 geometry-related calls.
6636 * idl/Hyperlink.idl : added readonly n_links attribute
6637 * idl/Image.idl : changed methods to attributes.
6639 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6641 * at-bridge/Makefile.am: link against
6642 ../libspi/libspi.la instead of -lspi.
6644 * at-spi/test/app.c: include
6645 bonobo-activation.h. Use a default appname
6646 if one is not provided.
6648 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6650 * idl/Registry.idl : temporarily changed register_Application
6651 to oneway, to work around issue with initial registration
6653 * idl/Application.idl : changed attribute "id" from readonly
6654 to read-write, since it needs to be assigned by Registry.
6655 * registryd/registryd.c : added call to set application id
6657 * registryd/registry.c : changed de-registration procedure to
6658 use CORBA_Object_hash() to find matching object ref in application
6659 lists and listener lists.
6660 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6661 began distinguishing between event types (work in progress).
6663 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6666 * libspi/application.c:
6667 Added implementations for get/set id, get_toolkitName,
6669 * registryd/registryd.c :
6673 Converted from use of OAF to bonobo-activation.
6674 * libspi/desktop.h :
6675 * libspi/desktop.c :
6677 Removed references to atksimpleobject, since base atkobject
6678 implementation now provides functionality we need.
6679 * libspi/atksimpleobject.c :
6680 * libspi/atksimpleobject.h :
6685 * at-bridge/Makefile.am
6686 * at-bridge/bridge.c
6689 Added directory "bridge" and contents, and added dependencies
6690 in Makefile.am/configure.in.
6691 Initial checkin of "at-bridge".
6692 This code is a GTK_MODULE which automatically registers
6693 GTK+ apps with the accessibility registry, using an object
6694 reference to the root ATK object.
6696 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6698 * po/Makefile.in.in: Remove. Again. If this
6699 doesn't get autogenerated - you need to update
6702 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6704 * po/Makefile.in.in: Add. Again.
6706 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6708 * libspi/accessible.c : added support for 'description' property.
6709 * libspi/accessible.c
6711 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6712 (since the two are now equivalent in libbonobo)
6720 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6721 Bonobo::Unknown as does Accessibility::Accessible.
6722 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6723 interface with Bonobo::Stream, since it was redundant with it.
6724 (The Stream returned by a StreamableContext object is expected to
6725 implement only a subset of Bonobo::Stream)
6727 2001-07-28 Anders Carlsson <andersca@gnome.org>
6729 * libspi/accessible.c (accessible_object_finalize): Change
6730 g_free to g_object_unref since the AtkObject is a GObject.
6732 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6734 * idl/Accessibility.idl: add new IDL files
6737 * idl/Action.idl: Definitions of actionable UI object
6738 * idl/Component.idl: Definitions of UI component geometry, etc.
6739 * idl/Hyperlink.idl: Defs of hyperlink behavior
6740 * idl/Image.idl: Def of accessible image
6741 * idl/Selection.idl: Definition of UI object with selectable children
6742 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6743 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6744 * idl/Text.idl: Interface defs for UI elements with complex textual content
6745 * idl/Value.idl: Definition of UI element that is a value controller or display
6747 2001-07-27 Michael Meeks <michael@ximian.com>
6749 * po/Makefile.in.in: remove autogenerated file from CVS.
6751 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6754 * idl/Registry.idl: include guard.
6756 * idl/Accessibility.idl: Add, and include all the other IDL
6759 * idl/*.idl: remove mass of pragmas etc.
6761 2001-07-26 Michael Meeks <michael@ximian.com>
6763 * registryd/Makefile.am (registryd_SOURCES): remove
6766 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6768 * libspi/.cvsignore, registryd/.cvsignore,
6769 test/.cvsignore: updated.
6771 * po/Makefile.in.in: gettext update.
6773 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6775 * initial CVS checkin
6777 2001-06-29 Michael Meeks <michael@ximian.com>
6779 * configure.in: add AM_CONFIG_HEADER to gen config.h