1 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
3 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
5 2004-03-24 Bill Haneman <billh@gnome.org>
8 (AccessibleTable_addRowSelection),
9 (AccessibleTable_addColumnSelection),
10 (AccessibleTable_removeRowSelection),
11 (AccessibleTable_removeColumnSelection):
12 Add declarations for spi wrappers which were
13 inadvertantly omitted. Fixes bug #133413.
16 Revved to 1.5.0 (unstable series for GNOME 2.7).
18 2004-03-24 Bill Haneman <billh@gnome.org>
20 * atk-bridge/bridge.c:
21 Bracketed some debug output in
22 conditionals, to avoid printing it in normal use.
26 Don't cast 'object' to ATK_OBJECT when constructing
27 an AtkAction interface for a hyperlink.
28 See discussion in bug #120659.
30 * test/key-listener-test.c:
31 (report_all_key_event): Send output to stderr,
32 not stdout, for consistency with the rest of the test callbacks.
35 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
36 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
37 Incremented to 1.4.1 (but didn't dist yet - I'm going to
38 try incrementing the revision AFTER doing a dist, at least
41 2004-03-22 Bill Haneman <billh@gnome.org>
43 * configure.in: Revved to 1.4.0, libtool 9.14.9
45 2004-03-17 Laszlo Peter <laca@sun.com>
47 * libspi-1.0-uninstalled.pc.in: add idldir
49 * cspi-1.0-uninstalled.pc.in: add idldir
51 2004-03-16 Gareth Owen <gowen72@yahoo.com>
53 * configure.in: Added "en_GB" to ALL_LINGUAS
55 2004-03-15 Bill Haneman <billh@gnome.org>
57 * configure.in: Revved to 1.3.16,
60 2004-03-15 Laszlo Peter <laca@sun.com>
62 * libspi-1.0-uninstalled.pc.in: new file
64 * cspi-1.0-uninstalled.pc.in: new file
66 * configure.in: add the new pc files to AC_OUTPUT
68 * Makefile.am: add the new pc files to EXTRA_DIST
70 2004-03-12 Bill Haneman <billh@gnome.org>
72 * atk-bridge/bridge.c:
73 (spi_atk_bridge_key_listener):
74 Make sure to return consumed=FALSE if snoop
75 event is not dispatched to listener.
78 2004-03-01 Bill Haneman <billh@gnome.org>
80 * configure.in: Revved to 1.3.15,
83 2004-03-07 Danilo Segan <dsegan@gmx.net>
85 * configure.in: Added "sr@ije" to ALL_LINGUAS.
87 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
89 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
91 2004-03-01 Bill Haneman <billh@gnome.org>
93 * configure.in: Revved to 1.3.14.
96 (SPI_exit): Removed "bye-bye" exit message.
97 Moved "leak" report to happen before the
98 iteration over the leaked refs list.
99 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
101 2004-02-24 Bill Haneman <billh@gnome.org>
103 * configure.in: Revved to 1.3.13.
105 * docs/reference/cspi/Makefile.am:
106 Correct typo that was breaking the docs build.
108 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
110 * autogen.sh: Require version 1.7 of automake.
112 * configure.in: call GTK_DOC_CHECK([1.0])
114 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
116 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
118 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
120 * test/Makefile.am: Remove use of CFLAGS.
122 This fixes bug #132987.
124 2004-02-11 Bill Haneman <billh@gnome.org>
126 * reverted most of Tomasz' patch below, since it was breaking
127 builds (see bug #134058).
129 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
131 * docs/reference/cspi/at-spi-cspi.types: added empty file for
132 correct pass "make dist" (empty .. because seems no sach types in
133 header files with gtk-doc markups).
134 * docs/reference/cspi/Makefile.am, configure.in:
135 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
136 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
137 * Makefile.am: added:
138 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
139 for force correct pass generate documentation on "make distcheck".
140 * libspi/Makefile.am: fixes for automake >= 1.6.
141 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
142 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
145 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
147 * docs/reference/cspi/Makefile.am (install-data-local): Install
148 index.sgml since the doc autobuilder on widget.gnome.org looks for
151 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
153 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
156 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
158 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
160 2004-01-27 Brian Cameron <brian.cameron@sun.com>
162 * test/simple-at.c: Fixed null string problems that cause core
163 dumping problems on Solaris.
165 2004-01-12 Bill Haneman <billh@gnome.org>
167 * configure.in: Incremented version to 1.3.11.
169 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
171 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
172 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
175 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
177 * configure.in: Added "fa" to ALL_LINGUAS.
179 2003-12-20 Arafat Medini <lumina@silverpen.de>
181 * configure.in: Added "ar" to ALL_LINGUAS
183 2003-12-16 Bill Haneman <billh@gnome.org>
185 * registryd/registry-main.c:
187 Set the reg_env DISPLAY variable before registering the
188 activated registry service. Fixes bug #129479.
190 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
192 * configure.in: Added "id" in ALL_LINGUAS
193 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
195 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
197 * registryd/deviceeventcontroller.c (global_filter_fn):
198 When an event is consumed discard any XEvents were added to
199 the queue while dealing with the the event. This can happen if
200 processing of the event takes a long time. Call XUngrabKeyboard
201 if an event was discarded. This fixes bug $124837.
202 Only call wait_for_release_event for a KeyPress.
203 Use local variable display instead of spi_get_display().
204 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
207 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
209 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
210 Allow for mask to contain values other than NumLock mask.
213 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
215 * registryd/devieceventcontroller.c:
216 (wait_for_release_event): Change first parameter from GdkEvent to
218 (global_filter_fn); Correct call to wait_for_release_event.
222 2003-12-08 Bill Haneman <billh@gnome.org>
226 * registryd/ucs2keysym.c: New file.
228 * registryd/deviceeventcontroller.c:
229 (dec_keysym_for_unichar): Remove old partial implementation and
230 replace with call to ucs2keysym(), which is much more complete.
231 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
236 2003-12-05 Bill Haneman <billh@gnome.org>
238 * configure.in: Version 1.3.9.
240 * docs/reference/cspi/tmpl/spi_registry.sgml:
241 Added reference to libspi/keymasks.h to the
242 description of Registry queries: AccessibleKeyMaskType.
245 2003-12-04 Bill Haneman <billh@gnome.org>
249 * idl/Accessibility_Application.idl:
250 (Accessibility::LOCALE_TYPE): New enum, corresponds to
251 setlocale's LC_TYPEs.
252 (Accessibility::Application::getLocale): New method.
253 Allows clients to query the locale, by type, of an app.
256 * cspi/spi_application.c:
257 (AccessibleApplication_getLocale): New method, wraps IDL above.
259 * libspi/application.c:
260 (spi_application_class_init): Init epv entry for getLocale.
261 (impl_accessibility_application_get_locale): Impl for above.
263 * test/test-simple.c:
264 (test_application): Added assertion for getLocale, i.e.
265 that the string from AccessibleApplication_getLocale (app, type)
266 is the same as that from setlocale (type, NULL);
268 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
270 *registryd/deviceeventcontroller.c: Add an idle handler which polls
271 the keyboard on a timeout intil the key state goes from pressed to
272 released. Fixes bug #111429.
274 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
276 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
277 root object so that it is present when a context menu in an
278 out-of-process applet is popped up.
279 (spi_atk_bridge_do_registration): Create acceessible application root
280 object only if it does not exist.
282 This fixes bug #125834.
284 2003-12-01 Bill Haneman <billh@gnome.org>
286 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
289 Added enum for AccessibleStreamableContentSeekType.
290 (AccessibleStreamableContent_freeContentTypeList): New.
292 * cspi/spi_streamablecontent.c:
293 (accessible_bonobo_stream_client_seek): New private method.
294 (AccessibleStreamableContent_seek): Implemented this method,
295 using Bonobo_Stream_seek.
296 (AccessibleStreamableContent_freeContentTypeList): New method
297 for freeing the return value from
298 AccessibleStreamableContent_getContentTypes.
299 (stream_cache_item_free): Replaces stream_release; stop leaks.
300 (stream_release): removed.
301 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
302 free the memory properly.
304 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
308 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
310 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
312 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
314 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
316 2003-12-01 Bill Haneman <billh@gnome.org>
318 Fix for bug/rfe #127463.
320 * idl/Accessibility_Accessible.idl:
321 (getLocalizedRoleName): New.
322 (unimplemented4): Removed (replaced by above).
324 * libspi/accessible.c:
325 (impl_accessibility_accessible_get_local_role_name): New.
326 (spi_accessible_class_init): Add getLocalizedRoleName entry to
330 (Accessible_getLocalizedRoleName): New.
332 * cspi/spi_accessible.c:
333 (Accessible_getLocalizedRoleName): New.
335 2003-12-01 Bill Haneman <billh@gnome.org>
338 * idl/Accessibility_Text.idl:
339 (getDefaultAttributes): New.
340 (unimplemented4): Removed (replaced by above method).
343 (impl_getDefaultAttributes): New method.
344 (spi_text_class_init):
345 initialize the get_default_attributes slot in the epv.
348 (AccessibleText_getDefaultAttributes): New prototype.
351 (AccessibleText_getDefaultAttributes): New method.
353 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
355 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
356 write beyond the end of the table. Fixes bug #120473.
358 2003-09-30 Christian Rose <menthos@menthos.com>
360 * configure.in: Added "eu" to ALL_LINGUAS.
362 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
364 * configure.in: ALL_LINGUAS: Added no.
366 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
368 * configure.in: Added lt to ALL_LINGUAS.
370 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
372 * atk-bridge/bridge.c:
373 (atk_bridge_init): Register event listeners always even for
374 out-of-process applet.
375 (spi_atk_bridge_toplevel_added): Remove call to
376 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
377 (spi_atk_bridge_toplevelk_removed): Remove call to
378 spi_atk_deregister_event_listenersa as the listeners are now always
380 (spi_atk_bridge_register_application): Remove call to
381 spi_atk_register_event_listeners as it is not done in atk_bridge_init
383 This fixes bug #120991.
385 * libspi/table.c (impl_getColumnDescription): Correct typo,
386 pointed out by Bolian.Yin@sun.com.
388 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
390 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
392 2003-09-08 Bill Haneman <billh@gnome.org>
394 * configure.in: Revved to 1.3.7.
396 This is the GNOME 2.4.0 release of at-spi.
398 * docs/reference/cspi/Makefile.am:
399 Removed spurious inclusion of 'index.sgml' in the
400 html directory; this was breaking make distcheck and
401 also some other build environments.
403 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
405 * registryd/registry.[ch}:
406 Add queue_handler_id and focus_object to SpiRegistry data structure.
407 (registry_flush_event_queue): If event being discarded is
408 "state-change:focused" store object as focus_object.
409 (registry_start_queue): Remove queue handler and focus object
411 (registry_discard_event): New function which discards a focus event
412 if we had stored focus object in the registry.
413 (registry_queue_event): Add new check that is_queueing is set as this
414 function is reentrant.
415 (registry_filer_event): Add call to registry_discard_event.
417 This resolves issues raised in bug #108664.
419 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
421 * configure.in: Added "bn" to ALL_LINGUAS.
423 2003-09-04 Bill Haneman <billh@gnome.org>
425 * cspi/spi_event.c: Documentation improvements for
426 (SPI_registerAccessibleKeylistener).
428 * docs/reference/tmpl/spi_registry.sgml:
429 Documentation improvements for SpiAccessibleKeylistenerCB.
431 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
433 * configure.in: Added "ro" to ALL_LINGUAS.
436 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
438 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
439 not decremented to zero. Fixes bug #120725.
441 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
443 * configure.in: Added "ja" to ALL_LINGUAS.
445 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
447 * configure.in: Added "is" to ALL_LINGUAS.
449 2003-08-22 Christian Rose <menthos@menthos.com>
451 * configure.in: Added "nl" to ALL_LINGUAS.
453 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
455 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
456 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
458 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
460 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
461 type for unspecified exception.
462 * cspi_streamablecontect): Add include of string.h for memcpy.
463 (stream_release): Correct call to bonobo_object_release_unref
464 (stream_cache_item_free): Correct call to bonobo_object_release_unref
465 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
466 argument of _cspi_expection_throw.
467 * libspi/hyperlink.c: Add include of libspi/action.h:
468 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
469 * libspi/streamablecontent.c: add include of libspi/component.h.
470 * regisrtyd/deviceeventcontroller.c:
471 (spi_dec_translate_mask): Removed unused variable priv.
472 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
473 * registryd/registry.c:
474 (registry_filter_event): Remove unused variable queue_is-empty.
475 (impl_registry_notify_event): Use correct modifier in fprintf call.
477 This fixes compiler warnings reported in bug #120220.
479 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
481 * registryd/registryd.c: Remove this file.
483 2003-08-17 Sanlig Badral <badral@openmn.org>
485 * configure.in: Added mn to ALL_LINGUAS.
487 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
489 * configure.in: Added et to ALL_LINGUAS.
491 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
493 * test/event-listener-test.c: Change active-descendant to
494 active-descendant-changed.
496 2003-08-10 Sami Pesonen <sampeson@iki.fi>
498 * configure.in: Added "fi" in ALL_LINGUAS.
500 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
502 * configure.in: Added "hi" in ALL_LINGUAS.
504 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
506 * configure.in: Revved to 1.3.6.
510 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
512 * registryd/deviceeventcontroller.c
513 (spi_device_event_controller_object_finalize): Fix typo in previous
516 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
518 * registryd/deviceeventcontroller.c
519 (spi_device_event_controller_object_finalize): Fix build on
520 systems without XEvIE.
522 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
524 * acconfig.h, configure.in, registryd/Makefile.am,
525 registryd/devicecontoller.[ch]: Add XEViE support.
527 2003-08-06 Wang Jian <lark@linux.net.cn>
529 * configure.in: Added "zh_CN" to ALL_LINGUAS.
531 2003-08-06 Metin Amiroff<metin@karegen.com>
533 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
535 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
537 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
538 MODIFIER_ALT in correct place.
540 This fixes part of bug #118114.
542 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
544 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
546 2003-07-28 Changwoo Ryu <cwryu@debian.org>
548 * configure.in: Added "ko" to ALL_LINGUAS.
550 2003-07-28 Ole Laursen <olau@hardworking.dk>
552 * configure.in: Added "da" to the commented out ALL_LINGUAS.
554 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
556 * configure.in: Added "sq" to ALL_LINGUAS.
558 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
560 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
562 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
564 * configure.in: updated ALL_LINGUAS list
566 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
568 * configure.in: Added Belarusian to ALL_LINGUAS.
570 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
572 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
574 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
575 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
577 This fixes bug #116949.
579 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
581 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
582 Correct CSPI to SPI in function documentation.
584 This fixes bug #118054.
586 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
588 * configure.in: Added Russian to ALL_LINGUAS.
590 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
592 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
594 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
596 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
598 2003-07-10 Joel Brich <joel.brich@laposte.net>
600 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
602 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
604 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
606 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
608 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
609 resources allocated for AccessibleEvent. See cspi_event().
611 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
612 static variable streams to NULL.
614 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
615 Update so that AcessibleEvent_ref will work.
617 This fixes bug #116624.
619 2003-07-06 Jordi Mallach <jordi@sindominio.net>
621 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
623 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
625 * configure.in: Added "fr" (French) to ALL_LINGUAS.
627 2003-07-02 Christian Neumair <chris@gnome-de.org>
629 * configure.in: Added "de" (German) to ALL_LINGUAS.
631 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
633 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
635 2003-07-01 Miloslav Trmac <mitr@volny.cz>
637 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
639 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
641 * configure.in: Added "pl" to ALL_LINGUAS.
643 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
645 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
647 2003-06-30 Bill Haneman <bill.haneman@sun.com>
650 (get_action_from_servant):
651 Removed assertion that action is implemented on an AtkObject.
653 * libspi/hyperlink.c:
655 Aggregate AccessibleAction interface on the hyperlink object if
656 the object implements AtkAction. (This convention is used in
659 2003-06-30 Bill Haneman <bill.haneman@sun.com>
661 * configure.in: Revved to 1.3.5.
663 * registryd/Accessibility_Registry.server.in.in:
664 Marked up appropriate strings for translation.
666 * atk-bridge/bridge.c: Marked a couple of
667 user-visible warnings for translation. Questionable
668 whether they are really useful, but possibly so.
671 2003-06-28 Christian Rose <menthos@menthos.com>
673 * configure.in: Added "sv" to ALL_LINGUAS.
675 2003-06-26 Bill Haneman <bill.haneman@sun.com>
677 * registryd/registry.c:
678 (spi_registry_object_finalize): Unref the deviceeventcontroller.
679 (registry_defer_on_event): Defer focus: events, this is an
680 improvement to the patch for bug #108664.
682 * TODO: Update with 2.4/"Dev Complete" items.
684 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
686 * atk-bridge/bridge.c:
687 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
688 looks up signals once.
689 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
690 if doing registration.
691 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
692 when doing registration.
694 This fixes bug #115014.
696 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
698 * atk-bridge/bridge.c:
699 (atk_bridge_init): Add signal handler for children-changed:remove on
700 root when in a BonoboComponent.
701 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
702 for first toplevel only other incrememt variable toplevels.
703 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
704 application and remove listeners.
705 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
707 (spi_atk_deregister_event_listeners): New function which removes
709 (reinit_register_vars): New fuction which reinitializes variables.
711 This fixes bug #111578.
713 2003-06-13 Bill Haneman <bill.haneman@sun.com>
715 * configure.in: version 1.3.4.
717 * cspi/spi_accessible.c:
718 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
721 2003-06-13 Michael Meeks <michael@ximian.com>
723 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
725 * cspi/spi_main.c (cspi_peek_ev): impl.
727 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
729 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
731 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
733 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
734 SPI_ROLE_AUTOCOMPLETE
736 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
738 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
739 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
741 2003-06-11 Bill Haneman <bill.haneman@sun.com>
743 * libspi/streamablecontent.h:
744 * libspi/streamablecontent.c:
745 New files, provide implementation/wrappers for
746 Accessibility_StreamableContent.
748 * cspi/spi_streamablecontent.c:
749 Connected the C wrappers to the libspi C bindings.
750 (AccessibleStreamableContent_close): New method.
753 (AccessibleStreamableContent_close): New method, needed
754 since we have an "open, [seek], read, close" model in cspi.
756 2003-06-11 Bill Haneman <bill.haneman@sun.com>
758 Fix for #108664; Padraig's revision of my original patch.
760 * registryd/registry.h:
761 Added event queue list, is_queuing, and exit_notify_timeout
762 to the registry struct.
764 * registryd/registry.c:
765 (registry_init): Initialize new struct from registry.h.
766 (impl_registry_notify_event):
767 Filter events before notifying, in case some need to be
769 (registry_filter_event): New,
770 we defer certain incoming events (for instance
771 window:deactivate) because we may wish to hide
772 or reject them based on pending events. This is
773 mostly a workaround for bug #108664.
774 (registry_queue_event, registry_start_queue): New.
775 (registry_defer_on_event): Test event to see if it
777 (registry_reset_on_event): Returns TRUE if the
778 event should cause a queue reset.
779 (registry_discard_on_event): Returns TRUE if the event
780 should cause the previous queue contents to be discarded.
781 (registry_timeout_flush_queue): Flushes the pending event
782 queue if no reset/discard-triggering events have come in
783 within the timeout period.
784 (registry_emit_event): New.
785 (registry_clone_notify_context): New, used when queueing the
786 event notify contexts.
788 2003-06-10 Bill Haneman <bill.haneman@sun.com>
790 * configure.in: Version revved to 1.3.2, lt 0.9.2
791 Incremented ATK required version to 1.3.4.
793 * cspi/spi_registry.c:
794 (SPI_generateKeyEvent):
795 We now pass the keystring along if it's non-null.
797 * registryd/deviceeventcontroller.c:
798 (keysym_mod_mask): New method, returns modifier mask
799 required to generate a keysym from a given keycode.
800 (dec_synth_keysym): New method.
801 (dec_synth_keystring): New method.
802 (dec_get_modifier_state): New method.
803 (dec_lock_modifiers): New
804 (dec_unlock_modifiers): New.
805 (dec_keysym_for_unichar): New, rather brute-force
806 conversion from UCS-4 to X KeySyms. Only works for
807 Latin at the moment, with partial implementations for
808 Greek, Hebrew, and (incomplete) Katakana.
809 (impl_generate_keyboard_event): Now implement
810 "KEYSTRING" synthesis and implement "KEYSYM"
812 (keycode_from_keysym): Improved, passes a returned
813 modmask value now if the corresponding param is non-NULL.
815 Fixes bugs #92143 and #109776.
818 * test/keysynth-test.c:
819 New test program for key synthesis, to confirm fixes for
823 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
825 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
827 * cspi/spi_accessible.c (cspi_init_relation_type_table):
828 Add line for RELATION_POPUP_FOR
830 * docs/reference/cspi/tmpl/spi_relation.sgml:
831 Add relation SPI_RELATION_POPUP_FOR
833 * docs/reference/cspi/tmpl/spi_stateset.sgml:
834 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
836 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
838 * libspi/relation.c (spi_init_relation_type_table):
839 Add line for RELATION_POPUP_FOR
841 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
843 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
844 there are still windows which have not been deleted and emit
845 window:deactivate, if necessary and window:destroy events.
846 This fixes bug #114370. The change on June 5th was not correct.
848 2003-06-09 Bill Haneman <bill.haneman@sun.com>
850 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
853 (SPI_dupString): Allow dup-ing of a string such that it's safe to
855 New methods for client exception handling and interception.
856 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
857 (SPI_exceptionHandlerPop): You guessed it...
858 (SPI_getSourceType): Return the type of object which offended.
859 (SPI_getExceptionCode): Return an enum code telling, possibly,
860 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
861 (SPIAccessibleException_getSource): get the source object for
862 exceptions that come from Accessibles, if SPIExceptionSourceType is
863 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
864 (SPIException_getDescription): New, returns a string description of
865 the problem. [Not yet a stable ABI, strings are not frozen]
867 * cspi/spi-private.h:
868 Added implementation details of opaque SPIException
872 Implementations of above. Also
873 (_cspi_exception_throw): new private method that
874 dispatches exceptions to handlers, called from cspi-bonobo.c
876 * cspi/bonobo/cspi-bonobo.c:
877 (cspi_check_ev): call _cspi_exception_throw.
878 Don't print a warning message if the exception has been
879 handled by _cspi_exception_throw.
881 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
883 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
884 there are still windows which have not been deleted and emit
885 window:deactivate, if necessary and window:destroy events.
886 This fixes bug #114370.
888 2003-06-03 Bill Haneman <bill.haneman@sun.com>
891 (cspi_accessible_is_a): Make non-fatal
892 if the object reference is dead.
894 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
896 * cspi/spi_main.c: #include <stdio.h>
897 * test/simple-at.c: ditto
898 * test/event-listener-test.c: ditto
899 * test/screen-review-test.c: ditto
901 2003-05-30 Michael Meeks <michael@ximian.com>
903 * test/test-simple.c (main): use CORBA_ORB_perform_work
904 instead of an unnecessary linc_ call.
906 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
908 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
909 Add SPI_STATE_INDETERMINATE.
911 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
914 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
916 * libspi/stateset.c (init_state_type_tables): Add support for
919 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
921 * configure: Update versions of atk and gail required.
922 This fixes bug #113268.
924 2003-05-02 Bill Haneman <bill.haneman@sun.com>
926 * configure.in: Revved micro version to 1.3.1 (because of build fix).
928 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
930 * libspi/Makefile.am:
931 Ensure headers are generated before being used by c sources.
933 2003-05-01 Bill Haneman <bill.haneman@sun.com>
936 Simplified lt versioning rules.
937 Incremented version to 1.3.0, to indicate that we're on the
940 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
942 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
943 Add MKDB_OPTIONS=--outtput-format=xml
945 * docs/reference/cspi/at-spi-cspi-docs.sgml
946 docs/reference/idl/at-spi-idl-docs.sgml:
947 Convert to Docbook XML.
949 This fixes bug #111793.
951 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
953 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
954 AcccessibleKeyEventType, AccessibleKeyMaskType.
956 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
958 * cspi/state-types.h: Add documentation for AccessibleState.
960 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
961 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
962 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
963 AccessibleComponentLayer.
965 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
968 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
970 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
971 Accessible. Add description of AccessibleEvent,
972 AccessibleEventListenerCB.
974 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
977 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
978 documentation. Add description of AccessibleKeystrokeListenerCB,
979 AccessibleKeyEventMask, AccessibleModifierMaskType,
980 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
981 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
983 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
986 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
989 This fixes bug #104730.
991 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
993 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
994 Set is_text field of Accessibility_DeviceEvent data structure.
996 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
997 is-text field of AccessibleDeviceEvent data structure.
999 This addresses part of bug #108666.
1001 * registryd/devcieeventcontroller.c: Unset debug option.
1003 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1005 * cspi/accessible.c:
1006 (cpi_initial_relation_type_table): New function which initializes
1007 mapping between Accessibility_RelationType and AccessibleRelationType.
1008 (cspi_relation_type_from_spi_relation_type): New function which
1009 translates an Accessibility_RelationType into an AccessibleRelationType.
1010 (AccessibleRelation_getRelationType): Use
1011 cpi_relation_type_get_spi_relation_type to return correct value.
1012 (spi_state_to_corba): Return correct type for default case.
1014 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1015 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1017 * cspi/cspi-bonobo-listener.c:
1018 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1021 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1022 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1023 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1024 libspi/image.c, libspi/listener.c, libspi/selection.c,
1025 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1026 registryd/desktop.c, registryd/registry.c:
1027 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1029 * libspi/eventlistener.c
1030 Remove semicolon after BONOBO_TYPE_FUNC.
1032 * libspi/relation.c:
1033 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1034 (spi_init_relation_type_table): Initialize using correct type.
1036 * registryd/desktop.c:
1037 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1038 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1039 of Accessibility_KeyEventType.
1041 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1044 * tests/simple-at.c, tests/screen-review-test.c:
1045 Add include for <strings.h>.
1047 * tests.stress-test.c:
1048 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1050 These changes fix compiler warnings when using FORTE compiler on
1051 Solaris; fixes bug #107479.
1054 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1057 * configure.in: revved to 1.1.10
1059 * libspi/keymasks.h:
1060 (SPI_KEYMASK_NUMLOCK): Added.
1062 * registryd/deviceeventcontroller.c:
1063 (spi_key_event_matches_listener): AND with a smaller
1064 bitmask (as we should).
1065 (spi_dec_translate_mask):
1066 New method, sets the virtual NumLock modifier bit
1067 if numlock is on. Eventually it can handle other virtual
1068 modifier bits if needed, or other marshalling from
1069 at-spi modifier masks to platform (X) masks.
1070 (spi_dec_key_listener_new):
1071 Call spi_dec_translate_mask to set up virtual mod bits
1072 in the 'mask' field when creating a new listener struct.
1073 (spi_dec_emit_modifier_event):
1074 Set the virtual (i.e. NumLock) bits before emitting event.
1075 (spi_controller_register_with_devices):
1076 Query for the NumLock modifier 'physical' bit if Xkb is
1077 present, for use in above methods.
1081 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1083 * registryd/deviceeventcontroller.c:
1084 (spi_keystroke_from_x_key_event):
1085 Instead of checking to see if the keysym is
1086 printable, check the string from XLookupString
1087 if available, get the first unicode character from it,
1088 and call g_unichar_isprint to determine whether the
1089 is_text flag should be TRUE or FALSE.
1093 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1095 * atk-bridge/bridge.c: Add support for extended events
1096 * cspi/spi_event.c: Add documentation and implementation for
1098 * tests/event-listener-test.c: Add tests for extended events.
1100 This fixes bugs #100424 and #100426.
1102 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1104 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1105 of LT_CURRENT. This fixes bug #89350.
1107 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1109 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1110 number of signal parameter values before accessing them. This fixes
1113 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1115 * configure.in: Fixed duplicate inclusion of -lspi.
1116 * branched for gnome-2-2/HEAD.
1117 [created tag "gnome-2-2"]
1119 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1121 * configure.in: 1.1.9 release.
1124 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1126 [needed by GOK, to fix bugs 107985 and 107988]
1127 * registryd/deviceeventcontroller.c:
1128 (spi_dec_clear_unlatch_pending):
1129 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1130 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1131 (spi_dec_init_mouse_listener):Emit warning if mouse button
1133 (spi_device_event_controller_forward_mouse_event):
1134 Removed unnecessary parens from a conditional.
1135 (global_filter_fn):Added TODO comment.
1136 (impl_generate_keyboard_event):
1137 Cancel a pending relatch if a 'delatching' key was
1140 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1142 * atk-bridge/bridge.c:
1143 Change atk_signal_child_changed to atk_signal_children_changed.
1144 Reorganize code in spi_atk_bridge_signal_listener().
1146 * test/event-listener-test.c:
1147 Add children_changed_listener and report_children_changed_event()
1148 to test AccessibleChildEvent_getChildAccessible.
1150 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1152 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1153 g_strdup to CORBA_String_dup (bug #105291)
1155 * test/event-listener-test.c (report_text_event): Add call to
1158 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1160 * registryd/deviceeventcontroller.c:
1161 (spi_keystroke_from_x_key_event):
1162 Fix string and keysym return codes to match modifier state.
1165 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1167 * registryd/deviceeventcontroller.c:
1168 (spi_keystroke_from_x_key_event):
1169 Fix segv due to improper use of isprint(c). [bug #107254]
1171 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1174 (get_accessible_text_boundary_type):
1175 Move default return value to (new) default case in switch.
1176 (get_accessible_text_clip_type):
1177 Move default return value to (new) default case in switch.
1179 * libspi/application.c:
1180 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1181 Remove unused methods.
1182 (impl_accessibility_application_register_object_event_listener):
1183 Remove unused methods.
1186 Added #include of <math.h>.
1188 * registryd/deviceeventcontroller.c:
1189 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1190 we don't currently use this method.
1191 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1193 (impl_generate_key_event):
1194 Remove unused variables.
1195 (impl_generate_mouse_event):
1196 Initialize button to zero, just in case we get an invalid
1197 input. Added support for mouse buttons 4 and 5.
1198 (spi_device_event_controller_new):
1199 Removed unused variable declaration for 'private'.
1201 Added #include of <gdk/gdk.h>
1203 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1205 * configure.in: Update to work when X is not installed in expected
1206 location. Fixes bug #105836.
1208 * atk-bridge/bridge.c
1209 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1211 (spi_atk_register_event_listener): Add signal listener for
1213 (spi_atk_bridge_signal_listener): Event event when link-selected
1214 signal is emitted. (bug #104622)
1216 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1217 on returned string. (bug #105291)
1219 * test/event-listener-test.c: Add test for link-selected.
1221 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1223 * atk-bridge/Makefile.am: Correct typo in previous commit.
1225 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1227 * atk-bridge/Makefile.am: Allow for build directory to be different
1228 from source directory
1230 * registryd/Makefile.am: Allow for build directory to be different
1231 from source directory
1235 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1238 Fixed dependencies for libcspi so that libspi gets pulled in
1239 properly. Fixes 104741.
1243 Clean up inline docs a little.
1245 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1247 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1248 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1249 the AtkObject within an SpiDesktop.
1250 This addresses bug #101524.
1252 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1253 Remove call to gdk_init().
1255 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1256 so that Display is set when SpiDesktop is created.
1258 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1260 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1261 This fixes bug #102830.
1263 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1265 * test/test-simple.c: Update to take account of fact that GailButton
1266 now implements AtkText.
1267 (create_text_window): Set name on AtkObject for GtkEntry.
1268 (validate_accessible): Check accessible name before calling test_text().
1270 * libspi/Makefile.am: Fix problem with building outside of source
1271 directory. Bug #98120.
1273 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1274 typo in documentation comments. Bug #94275.
1276 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1278 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1280 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1283 Add includes to avoid compiler warnings on Solaris.
1284 (impl_getRangeExtents): Bug fix.
1286 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1288 Fix for 100944, [API addition approved by Gman and murrayc].
1295 * idl/Accessibility_Text.idl:
1296 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1297 (Text::getRangeExtents): New method for efficient
1298 bounds query of a text range.
1299 (Text::getBoundedRanges): New method for efficient
1300 clipping of text to bounding boxes.
1301 (unImplemented7, unImplemented8):
1302 Removed these padding methods to preserve bincompat.
1305 (impl_getRangeExtents): implementation of new IDL.
1306 (impl_getBoundedRanges): implementation of new IDL.
1307 (SpiTextRect): Internal use struct.
1308 (_spi_text_rect_union): internal method, calculates union of two
1309 SpiTextRect bounding rects.
1310 (_spi_text_range_seq_from_gslist): internal method, allows us
1311 to build our sequence efficiently as a gslist then convert it
1313 (_spi_bounds_contain): internal method, determines whether
1314 a text character is "in" or "out" of a clip rect according to
1315 values of TEXT_CLIP_TYPE.
1316 (spi_text_class_init): Initialize the new methods in the epv.
1319 (AccessibleTextClipType): New enum used by screen review api.
1320 (AccessibleTextRange): New struct used by screen review api.
1321 (AccessibleText_getRangeExtents):
1322 cspi binding for Accessibility_Text_getRangeExtents.
1323 (AccessibleText_getBoundedRanges):
1324 cspi binding for Accessibility_Text_getBoundedRanges.
1325 (AccessibleTextRange_freeRanges): convenience method.
1328 (AccessibleText_getRangeExtents):
1329 cspi binding for Accessibility_Text_getRangeExtents.
1330 (AccessibleText_getBoundedRanges):
1331 cspi binding for Accessibility_Text_getBoundedRanges.
1332 (AccessibleTextRange_freeRanges): convenience method.
1333 (get_accessible_text_clip_type): internal conversion method.
1334 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1336 * registryd/deviceeventcontroller.c:
1337 (spi_dec_mouse_check):
1338 Improved behavior for mouse:abs events
1339 [same granularity as mouse:rel events, and no
1340 events when mouse is idle].
1342 2002-12-16 Michael Meeks <michael@ximian.com>
1344 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1346 * libspi/stateset.c (state_spi_to_atk): split out
1347 ( fix several remote array bounds nasties )
1348 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1349 (impl_remove): make safe from array bounds issues.
1350 (spi_atk_state_from_spi_state): impl.
1352 * libspi/stateset.h (spi_state_set_cache_is_empty):
1353 add a set of wrapper defines to get layering right.
1355 * cspi/spi_accessible.c: update state set stuff to
1358 2002-12-14 Michael Meeks <michael@ximian.com>
1360 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1361 to avoid 2 roundtrips to the registry per key event
1362 (spi_atk_bridge_key_listener): upd.
1363 (deregister_application): release the dec.
1365 * registryd/registry.c (notify_listeners_cb):
1366 bin lots of re-enterant complexity - we no longer
1367 do a round-trip bonobo ref here, ensure that a single
1368 listener's exception failure won't poison all other
1370 (impl_registry_notify_event): bin obvious memory leak.
1372 2002-12-13 Michael Meeks <michael@ximian.com>
1374 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1375 init the ev so the error is meaningful.
1376 (spi_atk_bridge_key_listener): ditto.
1378 * cspi/spi_main.c (cspi_ev): init the ev so we start
1379 with a clean slate, otherwise the first exception
1380 kills us completely.
1382 * cspi/spi_text.c (get_accessible_text_boundary_type):
1383 add a fallthrough for no warnings.
1385 * cspi/spi_registry.c: prune unused warnings.
1387 * cspi/spi_main.c (cspi_object_take): fix
1388 mind-blowing brokenness ( by watching the compile
1391 * cspi/spi_accessible.c (Accessible_getStateSet):
1392 re-impl. to use an AtkStateSet.
1393 (spi_state_type_from_accessible_state),
1394 (init_state_table): bin these.
1396 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1398 (atk_state_set_from_accessibility_state_set): here.
1400 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1401 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1402 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1403 (AccessibleStateSet_add, AccessibleStateSet_remove),
1404 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1405 (AccessibleStateSet_isEmpty): re-write to use a local
1408 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1410 * configure.in: Revved to 1.1.7 (new keymask vals).
1412 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1414 * libspi/keymasks.h:
1415 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1417 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1420 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1421 to compare two CORBA_TypeCodes.
1422 (cspi_internal_event_add): Silence warning from FORTE compiler.
1424 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1425 avoid implicit declaration of functions.
1427 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1429 * atk-bridge/bridge.c:
1430 (spi_atk_bridge_init_event_type_consts): Store signal id for
1431 active-descendant-changed signal.
1432 (spi_atk_register_event_listeners): Add signal listener for
1433 active-descendant-changed signal,
1434 (spi_atk_bridge_signal_listener): Move code in function
1435 spi_atk-signal_emit_event() into this function.
1436 Add support for active-descendant-changed
1437 Update support for child-changed signal.
1438 (spi_bridge_window_event_listener): Silence warning.
1440 * libspi/spi_private.[ch]:
1441 (spi_init_any_object): Change second parameter from CORBA_Object to
1443 Omit call to CORBA_Object_duplicate().
1444 Set CORBA_any's _value to CORBA_Object*.
1446 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1452 (AccessibleEvent_ref, AccessibleEvent_unref):
1453 New methods, for persisting an event outside the emission context.
1454 Must be used if the new accessor methods are to be called
1455 outside of the event listener's callback.
1457 * cspi/bonobo/cspi-bonobo.c:
1458 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1459 as second parameter instead of NULL, so we can call
1460 cspi_check_ev afterwards.
1463 (cspi_object_take): New internal method,
1464 converts a CORBA_Object reference to a hard ref on
1465 an Accessible if possible, returning NULL if the object
1466 reference is invalid or an Accessible * otherwise.
1469 (AccessibleEvent_ref):
1470 Increment the event's internal private refcount, and
1471 add the event's internal struct to an internal cache
1472 if it's not already there.
1473 (AccessibleEvent_unref):
1474 Decrement the event's refcount and remove it from
1475 the cspi event cache if refcount==0.
1476 (cspi_event_compare): New private method.
1477 Compares two event structs via their ids. Used
1479 (cspi_internal_event_lookup): New private method.
1480 (cspi_internal_event_check): New private method,
1481 a 0-order sanity check for events to make sure their
1482 private data is intact.
1483 (cspi_internal_event_add, cspi_internal_event_remove):
1484 New private methods for managiing the event cache.
1486 * cspi/bonobo/cspi-bonobo-listener.c:
1488 Initialize the new private data elements (id, magic, ref_count).
1490 * atk-bridge/bridge.c:
1491 (spi_atk_bridge_signal_listener):
1492 Fixed bug #100530, passing wrong params to emission func.
1494 * registryd/deviceeventcontroller.c:
1495 (spi_dec_button_update_and_emit):
1496 Fixed type in mask bit operations; fix for #99799.
1498 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1500 Removed some of the more dangerous workarounds from
1501 previous commit; they are only needed by GOK, which
1502 in reality should be using another method to accomplish
1503 the goals. So on reconsideration some of the workarounds
1504 need to be reverted:
1506 * registryd/deviceeventcontroller.c:
1507 (spi_keycodes_contain, spi_dec_init_keycode_list):
1508 Removed these methods, used only by a nasty hack to try
1509 and detect whether a key synthesis should be allowed
1510 to reset the XKB latch state or not. This code was only
1511 required to work around an interaction between GOK,
1512 button events, and XKB.
1513 (impl_generate_key_event):
1514 Removed hack at end of key generation that tried to
1515 "do the right thing" if XKB latch keys were generated
1516 in the midst of button press/release pairs.
1519 Added a check for HAVE_XINPUT. Not normally used yet.
1521 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1523 Workarounds and fixes for mouse event/XKB interaction.
1525 * registryd/deviceeventcontroller.c:
1526 (spi_keycodes_contain, spi_dec_init_keycode_list):
1527 New internal methods.
1528 (spi_dec_set_unlatch_pending):
1529 Split the method that tells XKB to expect an
1530 unlatch (and revert it) out of the rest of the
1531 event handling code. This method is called by the
1532 two mouse event handlers (the poll and the filter).
1533 (spi_dec_update_and_emit, spi_dec_mouse_check):
1534 New methods split from spi_dec_poll_mouse_moved.
1535 The second one is now called from inside the filterFn
1536 when an XKB delatch event is received, to determine
1537 whether to revert the delatch or not.
1538 (spi_poll_mouse_moved): Refactor; also we can now
1539 properly handle the case where multiple button states
1540 have changed between polling cycles and we didn't get
1541 notified due to another client's grab.
1543 Synchronize the server while handling an XKB notification.
1544 Ugly, but apparently necessary to avoid nasty races.
1545 Check the mouse state on receipt of an XKB latch change,
1546 to decide whether to revert the latch or not. (Latches are
1547 reverted if there is an immediately preceding mouse button
1548 event that a client has consumed, in which case we don't want
1549 the user to see the side-effect of the event).
1550 (spi_device_event_controller_forward_mouse_event):
1551 Check for modifier events and fire before resetting mouse_mask_state,
1552 prevents losing modifier events.
1554 (impl_generate_keyboard_event):
1555 If we've just generated a keyboard event for a non-shift key,
1556 we don't want to revert the pending XKB latch.
1557 Otherwise, check the modifier state (via a call to
1558 spi_dev_mouse_check) and set the relatch mask to
1559 that state before returning.
1561 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1564 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1567 * atk-bridge/bridge.c:
1568 (spi_atk_register_event_listeners):
1569 Don't re-register for ATK events if the registry has died
1570 and the app needs to re-register; the ATK listeners are in
1571 process and doing so will cause duplicate emission.
1573 * registryd/deviceeventcontroller.c:
1574 (spi_poll_mouse_moved):
1575 Reformat the source, detect and emit multiple button-change
1576 events (i.e. if multiple buttons have changed between poll
1578 Add code to detect mouse-down events even when the pointer
1579 is grabbed; workaround for GOK bug 98420.
1580 (spi_controller_register_with_devices):
1581 Call XTestGrabControl with 'impervious' flag set to True,
1582 allows us to synthesize events and query the pointer even during
1583 an active grab by another client.
1584 (spi_device_event_controller_forward_mouse_event):
1585 Set the mouse_mask_state to the mouse_button_state from
1586 the intercepted event, to synchronize the grab listener with
1589 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1591 * cspi/spi_accessible.c:
1592 (AccessibleRole_getName):
1593 Added necessary strings for making this (deprecated)
1594 method work with the new role types.
1595 (init_role_table, role_table):
1596 Added definition of SPI_ROLE_APPLICATION.
1598 * libspi/spi-roletypes.h:
1599 Added SPI_ROLE_APPLICATION.
1601 * idl/Accessibility_Role.idl:
1602 Added ROLE_APPLICATION.
1604 * docs/reference/cspi/at-spi-cspi-decl.txt:
1605 Added SPI_ROLE_APPLICATION to docs.
1607 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1609 * cspi/spi_accessible.c
1610 (cspi_init_role_table): Do not write beyond end of role_table.
1611 (Accessible_getRole): Use correct type for value returned by
1612 Accessibility_Accessible_getRole().
1614 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1615 beyond end of role_table. (This fixes bug #98269)
1617 * libspi/application.c: Add include file spi-private.h for
1618 definition of spi_init_any_nil.
1620 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1624 * libspi/spi-private.h:
1625 Added DGB() macro, and extern int _dbg declaration.
1627 * registryd/registry.c:
1628 (definitions) storage for _dbg.
1629 (spi_registry_init):
1630 Get environment variable "AT_SPI_DEBUG".
1631 (spi_registry_set_debug):
1632 New method, to initialize _dbg value.
1633 (spi_listener_struct_new, spi_registry_object_finalize):
1634 (notify_listeners_cb):
1635 Changed fprintfs to use DBG and g_warning().
1637 * registryd/deviceeventcontroller.c:
1638 (_deregister_keygrab, spi_controller_register_device_listener):
1639 Changed debug/warning messages to use DBG macro.
1641 * libspi/listener.c:
1642 (impl_notify_event):
1643 Changed warning messages to use DBG macro and g_warning().
1645 * atk-bridge/bridge.c:
1646 (atk_bridge_init, spi_atk_bridge_get_registry):
1647 (spi_atk_bridge_exit_func):
1648 (spi_atk_bridge_property_event_listener):
1649 Changed status, warning, and error messages to use
1650 g_warning, g_message, and DBG macros.
1653 Read the state of the AT_SPI_DEBUG environment variable
1654 and set a local '_dbg' accordingly.
1656 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1658 FIXES for 98836, 98842, other bugs.
1661 Revved to 1.1.4, interface-age=4, binary-age=4.
1663 * registryd/deviceeventcontroller.c:
1665 Fixed crasher bug in last_mouse_pos initialization.
1667 * registryd/registry.c:
1668 (desktop_add_application, desktop_remove_application):
1669 Added (and then commented out) some support for
1670 object context marshalling. [TODO]
1672 * atk-bridge/bridge.c:
1673 (spi_atk_bridge_event_context_create):
1674 Commented out object context creation until it can
1675 be properly tested and debugged.
1677 * registryd/registry.c:
1678 (impl_registry_notify_event):
1679 Fixed crasher bug, we were calling
1680 spi_re_entrant_list_foreach () with an empty list.
1682 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1684 * idl/Accessibility_Action.idl:
1685 * idl/Accessibility_Component.idl:
1686 * idl/Accessibility_Desktop.idl:
1687 * idl/Accessibility_Event.idl:
1688 * idl/Accessibility_Hyperlink.idl:
1689 * idl/Accessibility_Image.idl:
1690 * idl/Accessibility_Relation.idl:
1691 * idl/Accessibility_Selection.idl:
1692 * idl/Accessibility_State.idl:
1693 * idl/Accessibility_Value.idl:
1694 Updated unimplemented slot count to minimum of
1695 four for all interfaces, for ABI freeze.
1697 * idl/Accessibility_EditableText.idl:
1698 * idl/Accessibility_Text.idl:
1699 Updated unimplemented slot count to six
1702 * idl/Accessibility_Registry.idl:
1703 Updated unimplemented slot count to six
1704 (also for DeviceEventController),
1707 * idl/Accessibility_Table.idl:
1708 Updated unimplemented slot count to eight,
1711 * idl/Accessibility_Event.idl:
1712 Added CORBA_any "any_data" member to Event struct.
1714 * idl/Accessibility_Event.idl:
1715 Added CORBA_any "any_data" member to Event struct.
1717 * atk-bridge/bridge.c:
1719 atk_signal_text_changed, atk_signal_child_changed,
1720 signal ids queried from gtype system.
1721 (AtkBridgeEventContextType): New enum.
1722 (AtkBridgeEventContextData): New struct.
1723 (AtkBridgeEventContext): New struct.
1724 (atk_bridge_init_event_type_consts):
1725 New method, initializes type contants for comparison
1726 prior to emit_eventv.
1727 (atk_bridge_event_context_init): New method,
1728 initializes a CORBA_any from an AtkBridgeEventContext.
1729 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1730 initialize the event.any_data struct.
1731 (spi_atk_bridge_event_context_create): New method,
1732 creates an AtkBridgeEventContext from signal/event info.
1733 (spi_atk_bridge_event_context_free): New method.
1734 (spi_atk_emit_eventv): Changed to take an
1735 AtkBridgeEventContext parameter. We now initialize
1736 the event.any_data member prior to notifying the
1737 Registry, via the AtkBridgeEventContext.
1738 (spi_atk_bridge_property_event_listener):
1739 (spi_atk_bridge_state_event_listener):
1740 Match emit_eventv signature.
1741 (spi_atk_bridge_object_event_listener):
1742 Match emit_eventv signature, and create an
1743 event context from the event details.
1744 Free the event context afterwards.
1745 (spi_atk_bridge_window_event_listener):
1746 Create an event context, pass it to the
1750 (AccessibleEvent_getContextString):
1751 (AccessibleEvent_getContextObject):
1752 New methods, allow query of AccessibleEvent objects
1753 for more context details (via the "any_data" member
1754 of the Event struct, above).
1757 Definitions for AccessibleEvent_getContextString
1758 and AccessibleEvent_getContextObject.
1760 * cspi/spi_listener.h:
1761 (InternalEvent): New struct.
1764 (AccessibleEvent_getContextString):
1765 (AccessibleEvent_getContextObject):
1766 Implementations of new methods, for obtaining
1767 additional context information from some event types.
1769 * cspi/spi_registry.c:
1770 (SPI_registerGlobalEventListener):
1771 Added mention of active-descendant-changed event in docs.
1773 * cspi/cspi-bonobo-listener.c:
1775 Marshal the any into the AccessibleEvent via
1778 * libspi/spi-private.h:
1779 #include <orbit/orbit.h>
1781 (spi_init_any_string):
1782 (spi_init_any_object):
1783 New convenience function declarations.
1787 (spi_init_any_string):
1788 (spi_init_any_object):
1789 New convenience function implementations.
1791 * registryd/deviceeventcontroller.c:
1792 (spi_poll_dec_mouse_moved):
1793 (spi_device_event_controller_forward_mous_event):
1794 Initialize any_data member of event.
1795 (spi_deregister_controller_device_listener):
1796 Fix incorrect param pass which was preventing deregistration.
1798 * registryd/registry.c:
1799 (desktop_add_application):
1800 (desktop_remove_application):
1801 Add object data to event's any_data before dispatch.
1803 Fix for error messages from GAIL.
1805 * test/event-listener-test.c:
1806 Test new ContextString and "any_data" API:
1807 (report_text_event): New method query and output context string.
1808 (main): register a new text listener with report_text_event
1811 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1813 Fixes for bugs 98127 and 97914.
1814 * cspi/spi-roletypes.h:
1815 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1817 * cspi/spi-statetypes.h:
1818 Added SPI_STATE_MANAGES_DESCENDANTS
1820 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1821 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1822 * cspi/spi_accessible.c:
1823 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1824 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1825 Accessibility_STATE_MANAGES_DESCENDANTS
1826 * libspi/accessible.c:
1827 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1828 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1829 As requested by Bill, I also cleaned up the alignment.
1830 * libspi/relation.c:
1831 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1832 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1833 * libspi/stateset.c:
1834 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1835 Accessibility_STATE_MANAGES_DESCENDANTS
1836 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1837 Document changes reflecting modifications to roles.
1838 * docs/reference/cspi/tmpl/spi_relation.sgml:
1839 Document changes reflecting modifications to relations.
1840 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1841 Document changes reflecting modifications to states.
1843 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1846 Revved to 1.1.3, interface-age=3, binary-age=3.
1847 Added REBUILD macro.
1850 Removed accessx-gui from the tests, since we have a nice
1851 keyboard accessibility capplet now :-)
1853 * test/keysynth-demo.c:
1854 (increment_scan): removed do-nothing default: case,
1857 * test/visual-bell.c:
1858 (main) : removed do-nothing default: case,
1861 * cspi/spi_action.c:
1862 (AccessibleAction_getKeyBinding_):
1863 Documented keybinding string format.
1867 (AccessibleText_getAttributes):
1868 Documented the text attribute string format.
1869 It's changed to use semicolon delimiters also,
1870 to prevent clashes with CSS attributes, but the old
1871 trick of looking for ", " strings will still work
1872 (as unreliably as ever). Fix for bug related to 97916.
1875 Include <cspi/bonobo/cspi-bonobo-listener.h>
1876 Fixes build warning.
1877 (SPI_freeAccessibleKeySet):
1878 (AccessibleKeystrokeListener_addCallback):
1879 (AccessibleKeystrokeListener_removeCallback):
1880 Modify to use AccessibleDeviceListener API internally,
1881 instead of AccessibleKeystrokeListener.
1883 * idl/Accessibility_Event.idl:
1884 Added two more empty slots to EventListener (for a total of four).
1886 * idl/Accessibility_Accessible.idl:
1887 Added four empty slots to Accessible interface.
1889 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1891 * idl/Accessibility_Registry.idl:
1892 (KeyEventType, EventType):
1893 Marked KeyEventType as deprecated; it duplicates
1894 functionality of EventType, which has been extended to
1895 include Mouse-button events.
1896 (KeyEventTypeSeq): defined in terms of EventType.
1897 (registerDeviceEventListener, deregisterDeviceEventListener):
1898 New methods, for managing listeners to device events,
1899 which potentially may consume them.
1902 Added definition for AccessibleDeviceListener.
1904 * cspi/spi-listener.h:
1905 (enum AccessibleDeviceEventType):
1906 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1907 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1908 for backwards compat.
1909 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1910 and typedef'd AccessibleKeystroke to it for back-compat.
1911 (AccessibleDeviceListenerCB):
1912 New function prototype typedef.
1915 (AccessibleDeviceEventMask): New typedef.
1916 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1917 (AccessibleKeyMaskType):
1918 Set equivalent to AccessibleModifierMaskType for back-compat.
1919 (SPI_createAccessibleKeystrokeListener):
1920 (AccessibleKeystrokeListener_unref):
1921 Deprecated in favor of equivalent (better-named) new API below..
1922 keystroke listeners are like all device listeners.
1923 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1924 New API names for old features :-).
1925 (AccessibleDeviceListener_addCallback):
1926 (AccessibleDeviceListener_removeCallback):
1927 (SPI_registerDeviceEventListener):
1928 (SPI_deregisterDeviceEventListener):
1932 (SPI_createAccessibleKeystrokeListener):
1933 Use new preferred API, cspi_device_listener_new() and
1934 cspi_device_listener_add_cb().
1935 (AccessibleKeystrokeListener_removeCallback):
1936 Use new preferred API, cspi_device_listener_remove_cb().
1937 (AccessibleKeystrokeListener_unref):
1938 Use new preferred API, cspi_device_listener_unref().
1939 (SPI_createAccessibleDeviceListener):
1940 (AccessibleDeviceListener_addCallback):
1941 (AccessibleDeviceListener_removeCallback):
1942 Implementation of new API.
1944 * cspi/spi_registry.c:
1945 (SPI_registerDeviceEventListener):
1946 (SPI_deregisterDeviceEventListener):
1947 Implementation of new API. Fixed memory leak and removed need to
1948 allocate EventTypeSeq (thanks Michael for catching this).
1949 Squashed a wayward CORBA_exception_free that shouldn't get called.
1951 * cspi/bonobo/cspi-bonobo-listener.c:
1953 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1954 (cspi_key_event): renamed to cspi_device_event().
1955 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1956 Extended to handle mouse button events as well as key events.
1957 (CSpiKeystrokeListener):
1958 Class superceded by CSpiDeviceListener.
1959 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1960 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1962 * cspi/bonobo/cspi-bonobo-listener.h:
1963 (CSpiKeystrokeListener):
1964 Class superceded by CSpiDeviceListener.
1965 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1966 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1968 * libspi/Makefile.am:
1969 Replaced keystrokelistener.h and keystrokelistener.c
1970 with devicelistener.h and devicelistener.c; keystrokelisener.h
1971 stub retained for back-compat.
1973 * libspi/keystrokelistener.c:
1977 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1979 * registryd/deviceeventcontroller.c:
1980 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1981 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1982 (DEControllerPrivateData): Added xkb settings data.
1983 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1984 button release events (which can't be captured via XGrabButton).
1985 Don't dispatch via the 'normal' event mechanism if the device event was
1987 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1988 Handle the typeseq data in its new location (see above).
1989 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1990 New methods, for "generic" device listeners.
1991 (spi_controller_register_device_listener):
1992 Now handle mouse event listeners as well as key listeners.
1993 (spi_controller_notify_mouselisteners):
1994 New internal method.
1995 (spi_device_event_controller_forward_mouse_event):
1996 Now we notify mouse device listeners as well as generating the
1997 non-consumable "mouse:" events.
1999 We must check and restore the XKB
2000 modifier map if we consume the event, since the act of triggering
2001 a mouse event will normally reset the XKB latch. This is required for
2003 (spi_controller_register_with_devices):
2004 Load the XKB settings when registering, and register for XKB
2005 state notify events.
2006 (spi_key_eventtype_seq_contains_event):
2007 Renamed spi_eventtype_seq_contains_event, since it's used
2008 internally for all device event types now.
2009 (spi_key_event_matches_listener):
2010 Uses spi_eventtype_seq_contains_event now.
2011 (spi_device_event_controller_object_finalize):
2012 Free the private data and the XkbKeyboard struct.
2013 (impl_register_device_listener, impl_deregister_device_listener):
2014 Implementation of new IDL.
2015 (spi_deregister_controller_device_listener):
2016 New internal method.
2017 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2018 More efficient implementation, we don't have to create a new
2019 XkbControls structure every time we query.
2020 (spi_device_event_controller_class_init):
2021 Initialize the epv entries for the new IDL. Assign the
2022 "spi-dec-private" quark.
2023 (spi_device_event_controller_init):
2024 Initialize the private data.
2025 (spi_device_event_controller_forward_key_event):
2026 Removed a bogus CORBA_exception_free() call.
2028 * registryd/deviceeventcontroller.h:
2029 Replaced inclusion of keystrokelistener.h with
2032 * test/event-listener-test.c:
2033 (report_mouse_event):
2036 Added mouse-event device listener.
2038 * test/test-simple.c:
2039 (create_test_window):
2040 Fixed regression (we were instantiating a GtkRange,
2041 which is now an abstract class). Also fixed to match
2042 existing AtkRole names, this seems to have changed in ATK
2043 awhile ago; too late now I think, and the new
2044 mechanism is at least elegant and consistent with the
2045 glib enum "nick" APIs.
2047 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2049 * idl/Accessibility_Relation.idl:
2050 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2051 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2052 * idl/Accessibility_Role.idl:
2053 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2054 * idl/Accessibility_State.idl:
2055 add STATE_MANAGES_DESCENDANTS
2056 * test/event-listener-test.c:
2057 Added a listener for active-descendant events.
2059 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2061 * atk-bridge/bridge.c
2062 (atk_bridge_init): If application is Bonobo component wait until top
2063 level is added before registering
2064 (spi_atk_bridge_do_registration): New function which contains code,
2065 formerly in atk_bridge_init, to do application registration.
2066 (spi_atk_bridge_toplevel_added): Signal called when top level
2067 added to Bonobo component
2069 This fixes bug #83134.
2071 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2073 * registryd/deviceeventcontroller.c
2074 Fixed compilation error caused by calling gettimeofday()
2077 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2082 Added template for HAVE_XKB.
2085 Changes to check for XKB, and to set the HAVE_XKB #define if it
2088 * libspi/listener.c:
2089 ()impl_notify_event): Make failure to get event source name
2092 * registryd/deviceeventcontroller.c:
2093 (#include): include X11/XKBlib.h.
2094 (DEControllerPrivateData) : New struct.
2095 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2097 (dec_synth_keycode_press) (dec_synth_keycode_release):
2098 New methods; split the key synthesis code into these methods.
2099 They check XKB settings before determining the "time" values to
2100 pass to Xtest; this fixes bug #95828.
2101 (impl_generate_keyboard_event): Changed to use methods above,
2102 instead of callng Xtest directly.
2103 (spi_device_event_controller_init): Initialize new privae struct s
2105 (spi_device_event_controllr_object_finalize):
2106 Free the (new) private data.
2108 * registryd/deviceeventcontroller.h:
2109 Add new gpointer to end of struct data.
2111 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2114 Incremented revision to 1.1.2, SONAME is still '.so', library
2115 extensions are ".so.0.0.2".
2117 * registryd/deviceeventcontroller.c:
2118 FIXES FOR #93592 and #95940.
2119 (statics): renamed mouse_button_state to mouse_mask_state,
2120 added key_modifier_mask.
2121 (spi_dec_poll_mouse_moved):
2122 Added key modifier checks, and emit "keyboard:modifiers"
2123 events when the key modifiers currently in use change.
2124 Also generate "mouse:abs" events periodically, even if the mouse
2125 is stationary (should we?).
2126 Alternatively we could generate "mouse:abs" events for either all
2127 mouse movements, or every 'nth' mouse movement, or at the
2128 beginning and end of every "active" mouse period.
2130 * test/event-listener-test.c:
2131 (main): Added listener for "keyboard:modifiers" events.
2133 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2135 * libspi/keymasks.h:
2136 Added key mask #defines for mouse buttons; e.g.
2137 SPI_KEYMASK_BUTTON1, etc.
2140 Incremented dependency on ATK to version 1.1.0. (This dependency
2141 is probably premature but will soon be real enough).
2143 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2145 * libspi/hyperlink.[ch]
2146 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2147 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2150 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2155 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2157 * registryd/deviceeventcontroller.c
2158 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2159 events to be ignored.
2160 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2161 keyboard_mode so that XAllowEvents() can be called.
2165 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2167 * cspi/spi-accessible.c: Correct names of roles returned by
2168 AccessibleRole_getName(). Fixes bug #95055.
2170 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2172 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2175 * registryd/registry.c
2176 (desktop_remove_application: Write diagnostic message to stderr for
2179 (impl_accessibility_registry_deregister_global_event_listener):
2180 Correct size of lists array. This addresses bug #94555).
2182 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2184 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2187 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2189 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2192 * registryd/registry.c (impl_registry_notify_event): Remove
2193 unnecessary call to parser_event_type().
2195 * docs/reference/cspi/tmpl/spi_component.sgml:
2196 Add reference to SPI_LAYER_WINDOW.
2198 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2200 * registryd/registry.c
2201 (desktop_add_application): Remove leak.
2202 (desktop_remove_application): Remove leak.
2203 (parser_event_type): Remove leak.
2205 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2207 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2208 bogus call to CORBA_string_dup(). Also removed unnecessary
2209 g_string_dup/g_free calls.
2211 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2213 * registryd/deviceeventcontroller.c:
2214 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2216 * test/event-listener-test.c:
2217 main: commented out three redundant listeners, to reduce output
2218 noise. (They still are potentially useful for testing).
2221 2002-09-13 Michael Meeks <michael@ximian.com>
2223 * Update all the copyrights to include Ximian.
2225 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2227 * cspi/spi.h: add SPI_LAYER_WINDOW.
2229 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2230 add Accessibility_LAYER_WINDOW case.
2232 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2234 * libspi/component.c: (impl_accessibility_component_get_layer):
2235 add ATK_LAYER_WINDOW case.
2237 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2239 * configure.in: incremented micro version.
2241 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2243 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2246 Clarified and reworded our commit policy.
2249 Started an API "todo" addition list for 2.2.
2252 (impl_getSelection):
2253 Free char pointer from atk_text_get_selection, which was being leaked.
2255 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2258 Small revision to author acknowledgement.
2260 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2262 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2263 If signal has detail add it to the type of the event.
2266 2002-08-12 Michael Meeks <michael@ximian.com>
2268 * test/test-simple.c (global_listener_cb): bin bogosity.
2269 (test_keylisteners): disable, still doesn't work reliably,
2270 certainly not on my system anyway.
2272 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2273 don't leak a reference on the DEC. This round-trip
2274 fetching of the DEC per keystroke sucks, it should be
2277 * cspi/spi-private.h,
2278 * cspi/cspi-lowlevel.h,
2279 * cspi/bonobo/cspi-bonobo-listener.[ch],
2280 * cspi/bonobo/cspi-bonobo.c: get the copyright
2281 notices better - there is still a large amount of
2282 work in at-spi falsely attributed solely to Sun.
2284 * cspi/spi_main.c (cspi_object_ref): kill bogus
2285 hash lookup, just increment the ref.
2286 (SPI_freeString): make explicit the fact that we
2287 handle NULL strings just fine.
2288 (report_leaked_ref): obey coding standards.
2289 (cspi_object_hash, cspi_object_equal): kill retval.
2290 (cspi_object_release): only release if not on loan.
2291 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2292 (cspi_object_borrow, cspi_object_return): impl.
2294 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2295 use cspi_object_borrow / return.
2297 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2299 * cspi/bonobo/cspi-bonobo-listener.c:
2301 Don't call cspi_oject_new() because this is creating a new Accessible
2302 every single time that an event is fired. This causes ATs like at-poke
2303 to nolonger recognise the source of the event and thus ignore it.
2304 Re-use the object from the cache, ref it and then unref it after the
2305 listeners have been called.
2307 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2309 * test/event-listener-test.c:
2310 Added command-line options to disable mouse events (m) and
2313 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2315 * configure.in: Update required versions of ATK, GTK+ and GAIL
2317 * cspi-1.0.pc.in: Add dependency for X include files
2320 * cspi/bonobo/Makefile.am:
2321 Add $(X_CFLAGS) so that X include files
2322 are picked up even if not in standard place (bug #71686)
2324 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2326 * registryd/deviceeventcontroller.c: fix for 84261
2327 (spi_dec_mouse_moved):
2328 Added test of mouse button mask, so that we can detect mouse
2329 button release. Unfortunately we can't otherwise detect mouse
2330 button release events without consuming the mouse press event,
2331 because of the way XGrabButton works. This means that our mouse
2332 release events have a latency dependent on the polling period
2333 while the mouse button is down. At least in this case we only
2334 have to poll while the button is down, and not at other times.
2335 If the button masks don't match with what the last press event
2336 reported, we report the appropriate button release event.
2337 (spi_dec_ungrab_mouse):
2338 New method (not yet called).
2339 (spi_device_event_controller_forward_mouse_event):
2340 New method, sends mouse press event from GdkFilter.
2341 (spi_dec_init_mouse_listener):
2342 Added code to call XGrabButton, redirecting mouse button events to
2343 the root window and our Gdk event loop.
2345 Added code to filter mouse button events, and reordered.
2347 * test/event-listener-test.c:
2349 Added registration for mouse events of type "mouse:button".
2351 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2353 * registryd/deviceeventcontroller.c: partial fix for 84261
2354 (spi_dec_poll_mouse_idle):
2355 New method, a timeout which checks to see if the mouse
2357 (spi_dec_poll_mouse_moving):
2358 A timeout to be called when mouse motion is underway.
2359 (spi_dec_poll_mouse_moved):
2360 A method which fires an event if the mouse has moved, and reports
2361 whether or not it did so.
2362 (spi_dec_init_mouse_listener):
2363 A method which sets up the timeouts above.
2364 (spi_device_event_controller_new):
2365 Now calls spi_dec_init_mouse_listener.
2367 * registryd/registry.c:
2368 (spi_registry_init):
2369 Now we initialize the device event controller when the registry is
2370 initialized, instead of waiting until a client has requested a key
2371 event notification; this is because we need the event controller
2372 for mouse events, but the mouse event registration API is a
2373 "registry" call and doesn't explicitly call the
2374 deviceeventcontroller.
2375 We now report mouse motion events with a 100 ms idle latency and
2376 a 20 ms granularity when motion is in progress.
2378 * test/event-listener-test.c:
2380 We now register the "detail listener" for events of type
2381 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2382 delivered only for the first mouse event received, and thereafter
2383 "mouse:abs" events are delivered.)
2385 * cspi/spi_registry.c:
2386 DOCS: Documented the above mouse event typestrings.
2388 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2390 Happy Summer Solstice...
2392 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2393 (spi_controller_notify_keylisteners):
2394 Changes to remove a listener from the listener list, freeing its
2395 open keygrabs, if a notification to that listener fails. This
2396 means that although a dead listener can continue to hold a passive
2397 keygrab, a maximum of one dispatch to such a listener can fail
2398 before the listener is removed from the list, thus the keygrab
2399 will be released on the next occurrence.
2400 As part of this fix:
2401 (spi_notify_keylisteners):
2402 Renamed to spi_controller_notify_keylisteners, as the controller
2403 instance must now be passed as an argument.
2404 The copied 'notify' GList is now a list of DEControllerKeyListener
2405 objects, since we need more than just the CORBA reference if a
2406 notify fails and we need to deregister the listener.
2407 (impl_notify_listeners_sync):
2408 (impl_notify_listeners_async):
2409 (spi_device_event_controller_forward_key_event):
2410 Modify use of notify_keylisteners in accordance with above
2412 (spi_deregister_controller_key_listener):
2413 New method introduced by refactoring, from
2414 impl_deregister_keystroke_listener.
2415 (impl_deregister_keystroke_listener):
2416 Call spi_deregister_controller_key_listener.
2417 (spi_key_listener_clone):
2418 New method to copy a key listner without doing a 'ref' on the
2419 remote object instance; used to create a notifier list.
2420 (spi_key_listener_data_free):
2421 New method, frees data without unreffing the source.
2423 (spi_key_listener_clone_free): new method.
2424 (spi_key_listener_free):
2425 refactored to call spi_key_listener_data_free.
2427 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2429 * registryd/registry.c: [fix for bug 86048]
2430 (notify_listeners_cb):
2431 Clear CORBA system exceptions which occur when notifying
2432 listeners, before returning to the source of the original event,
2433 since the event source doesn't care if the relayed notify failed.
2434 In other words, don't complain to the atk-bridge if the registry
2435 could not notify all its listeners, that's no fault of the
2436 application and thus should not appear to be an error from the
2437 application's perspective.
2439 * cspi/spi_main.c: [fix for bug 85980]
2441 Replaced use of bonobo_object_dup_ref with call to the wrapper
2442 method, csou_dup_ref (); this silences a compiler warning and
2443 provided more portability.
2445 Ping the registry before return, and restart if necessary.
2447 * cspi/bonobo/cspi-bonobo.c:
2449 New internal method.
2451 Fixed this method to return an object reference, as it should have
2454 * cspi/cspi-lowlevel.h:
2455 Added internal definition for cspi_ping() and fixed
2456 return type of cspi_dup_ref().
2459 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2461 * atk-bridge/bridge.c: [fix for bug 85305]
2462 (spi_atk_bridge_register_application):
2463 New method where the initial application registry calls have been
2464 moved; it allows an application to re-register in response to
2465 certain error conditions (such as a registry restart, see below).
2467 Moved some initialization code to the method
2468 spi_atk_bridge_get_registry, below.
2469 (spi_atk_bridge_get_registry):
2470 New, private accessor function for the Accessibility_Registry
2471 instance. If the registry has not been started before, or has
2472 died (as detected by failure of a CORBA exception), it is
2473 restarted before return, and spi_atk_bridge_register_application
2474 is called again to register with the new bridge instance.
2475 (spi_atk_emit_eventv):
2476 Set registry_died on error; use spi_atk_bridge_get_registry () to
2477 access the registry.
2479 * registryd/registry.c:
2480 (impl_accessibility_registry_register_global_event_listener):
2481 Set listener's event_type_quark to etype.minor instead of
2482 etype.major (fix for bug 84856).
2484 * test/event-listener-test.c:
2485 (report_detail_event):
2486 Change the output string so that user/tester can tell that the
2487 'detail listener' was called instead of the 'generic listener'.
2489 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2491 Fixes for bugs 84900, 84908, 84897, 84898.
2496 Revved version to 1.1.0
2497 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2498 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2500 * idl/Accessibility_Registry.idl:
2501 (EventListener::notifyEvent):
2502 Removed 'oneway' directive after extensive consulation with
2503 ORBit2 team and others. This means also that unref() of the event
2504 source can and should be done synchronously after emission, rather
2505 than remotely in the client, after servicing the notify call on
2508 NOTE: This change speeds up listener performance considerably, but
2509 introduces new latency on the application side. We may want to
2510 add an event queue to the atk-bridge.
2512 * atk-bridge/bridge.c:
2513 (spi_atk_bridge_focus_tracker):
2514 Do a local unref() on the event source after emission.
2516 * registryd/registry.c:
2517 (desktop_remove_application):
2518 Do an unref() on the event source after emission.
2519 (desktop_add_application):
2520 Do an unref() on the event source after emission.
2521 (notify_listeners_cb):
2522 When relaying an event, don't automatically add the event source
2523 to the local object cache, just CORBA_dup it instead. Likewise,
2524 if this method reenters, release the ref rather than calling
2526 (impl_registry_notify_event):
2527 No longer call remote unref() on the event source after dispatch.
2529 * libspi/eventlistener.c:
2530 (impl_accessible_event_notify_event):
2531 Removed remote unref ()
2533 * cspi/bonobo/cspi-bonobo-listener.c:
2535 We now call cspi_object_new() instead of cspi_object_add() on
2536 receipt of an event; thus we only have an implicit object ref
2537 while the cspi_event method is being executed. If we need to keep
2538 a reference to the object, the listener must call ref() on the
2539 object. Thus also we don't need to call cspi_object_unref() after
2540 invoking the listener callbacks in this method.
2544 New internal API for creating a new cspi object, without adding it
2545 to the object cache.
2547 Now uses cspi_object_new() to create the cspi object instance.
2549 Now checks to see if the object is in the internal object cache,
2550 and adds it if necessary before incrementing its refcount (note
2551 that new objects are added with a refcount of 1).
2552 (report_leaked_ref):
2553 New method which gives some information on leaked object instances
2554 if leak detection is turned on.
2556 * test/event-listener-test.c:
2557 (timing_test_event):
2558 New method, used for testing event delivery timing for special
2559 events of type "object:test". It reports elapsed time and
2560 events/sec every 500 events.
2562 Added a new listener, 'test listener', to check timing of event
2563 receipt as noted above.
2565 Added some timing output here also, reports elapsed time every 100
2568 * test/stress-test.c:
2569 Emit events of type "object:test", for use with "event-listener-test".
2571 * test/test-simple.c:
2572 (global_listener_cb):
2573 Call Accessible_ref() on the event source before calling
2574 validate_accessible, since the validation process does pointer
2575 comparisons on the event source, meaning that the event source
2576 needs to be added to the local object cache first. Any use of
2577 such pointer comparisons between Accessible objects requires that
2578 the caller hold an explicit reference to those objects.
2579 We also must therefore call Accessible_unref() when leaving this method.
2581 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2583 * registryd/deviceeventcontroller.c:
2584 (spi_controller_update_key_grabs):
2585 Fix for #84735, subsequent keygrab listeners not informed of
2586 registration failure.
2589 (spi_base_construct):
2590 Add an assertion on construct, to make sure the GObject passed in
2591 is really a GObject.
2593 Explicitly initialize object->gobj pointer to NULL;
2595 * cspi/bonobo/cspi-bonobo-listener.c:
2596 (cspi_object_add_ref):
2597 New method, can specify whether to dup-ref a bonobo object passed
2598 in if it's newly added to the object cache.
2600 Now calls cspi_object_add_ref with second param of "FALSE". This
2601 prevents us from doing a pointless dup-ref followed by
2602 release-unref for all those cases where the object is already in
2603 our object cache (fix for #85205).
2605 * atk-bridge/bridge.c:
2606 (spi_atk_bridge_idle_init):
2607 Removed this method, we don't need to initialize in an idle
2610 Changed to call spi_atk_register_event_listeners directly, not via an
2611 idle handler. (fix for #81139)
2612 (gnome_accessibility_module_shutdown):
2613 Removed conditional around deregistration of listeners, since we
2614 don't use the idle handler and thus have always registered when
2616 (spi_init_keystroke_from_atk_key_event):
2617 Changed references to Accessibility_KEY_PRESSED to
2618 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2620 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2622 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2627 * test/stress-test.c:
2630 (may have been an incomplete commit yesterday?)
2632 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2635 Added target for new stress-test.
2637 * test/stress-test.c:
2638 New test, sends 1000 focus notifies in quick succession.
2640 * test/key-listener-test.c:
2641 Now we report whether a keylistener registration
2642 request succeeded or failed.
2644 * test/event-listener-test.c:
2645 Uncommented some listeners which are now implemented.
2648 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2650 * registryd/deviceeventcontroller.c:
2651 (spi_controller_update_key_grabs):
2652 Fix for #82509, lack of failure notification when
2653 ALL_WINDOWS keygrabs fail due to XGrabKey
2654 failure: we synchronize the server when
2655 registering a passive grab, to make sure we get the
2656 error message before the call returns.
2658 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2660 * test/test-simple.c:
2662 Removed #ifdef KEY_IMPL_WORKS guards.
2663 (test_keylisteners):
2664 Removed #ifdef KEY_IMPL_WORKS guards.
2665 Fixed bug which was causing a hang waiting for a
2666 "press" event (which was already overwritten by a "release"
2667 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2669 Added code to set globals 'key_press_received' and
2670 'key_release_received'.
2673 Added section "1.1 API Proposed Additions" which
2674 lists API additions desired for at-spi-1.1 (only one so far).
2675 Updated TODO list a little.
2677 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2679 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2682 * configure.in: Revved to 1.0.0.
2684 * idl/Accessibility_Registry.idl:
2685 (registerKeystrokeListener):
2686 Added boolean return value.
2688 * registryd/registry.c:
2689 (notify_listeners_cb): Minor fix to debug output.
2691 * registryd/Accessibility_Registry.server.in.in:
2692 Revved version number in OAFIID to 1.0.
2694 * registryd/registryd.c:
2696 Use new OAFIID version.
2698 * cspi/bonobo/cspi-bonobo.c:
2700 Use new OAFIID version.
2706 * atk-bridge/bridge.c:
2708 Use new OAFIID version.
2710 * registryd/deviceeventcontroller.c:
2711 (impl_register_keystroke_listener):
2712 Added CORBA_boolean return value.
2713 (spi_controller_register_device_listener):
2714 Added gboolean return value.
2715 (spi_controller_register_global_keygrabs):
2716 Added gboolean return value.
2717 (spi_key_set_contains_key):
2718 Added implementation for many more control keys,
2719 for instance F1-F12, arrow keys, End, Home, Page_Up,
2721 [TODO: some still not implemented].
2723 * text/screen-review-test.c:
2724 (text_chunk_pad_string):
2725 New function: it provides mapping between coordinate
2726 positions of text chunks and character positions in the
2727 screen-review-line output string.
2728 (text_chunk_to_string):
2729 New function, calls text_chunk_pad_string with various
2730 pad/delimiter characters. Pushbuttons are delimited with
2731 square brackets, Frames with vertical 'pipe' lines, and
2732 other text with double quotes.
2733 (text_chunk_list_to_string):
2734 Calls new function text_chunk_to_string.
2735 (toplevel_composite):
2736 New function to composite layers CANVAS through
2737 POPUP in each toplevel (other layers are composited
2738 across toplevels, i.e. BACKGROUND and OVERLAY).
2739 (review_buffer_composite):
2740 Revise to use new methods.
2746 2002-05-31 Laszlo Peter <laca@sun.com>
2748 * configure.in: add the Xtst libdir to the runpath on Solaris,
2749 since it's not in the default library search path.
2751 2002-05-29 jacob berkman <jacob@ximian.com>
2753 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2755 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2757 * test/screen-review-test.c:
2758 (text_chunk_pad_string):
2759 Added method, which pads the string according to the
2760 text bounds of the chunk. It also takes a 3-character
2761 string as a param which indicates the characters to be
2762 used for start, padding, and end delimitation of the chunk.
2763 (text_chunk_to_string):
2764 Changed to use text_chunk_pad_string.
2766 * configure.in: Fixed bug in AC_OUTPUT that was
2767 causing path substitution in Accessibility_Registry.server
2770 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2772 * text/screen-review-test.c:
2773 (guess_string_clip):
2774 New method which attempts a best-guess at clipping
2775 text from components (like Java labels) which don't
2776 actually implement AccessibleText. This inaccurate
2777 clip is based on the assumption that the label is
2778 justified left-and-right, and monospaced.
2779 (text_chunk_get_clipped_string):
2780 We now call guess_string_clip() for text-containing
2781 components that don't implement AccessibleText.
2783 * test/screen-review-test.c:
2784 (review_buffer_get_text_chunk):
2785 We now pull "name" from labels if they do not implement
2786 AccessibleText (i.e. for Java labels).
2787 (get_screen_review_line_at):
2788 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2791 Replaceded AC_OUTPUT target
2792 registryd/Accessibility_Registry.server with
2793 registryd/Accessibility_Registry.server.in.
2795 * registryd/Accessibility_Registry.server.in:
2796 Removed (this is now a Makefile target).
2798 * registryd/Accessibility_Registry.server.in.in:
2799 Added (source for target above). We now use $(libexecdir) as
2800 prefix for the executable at-spi-registryd.
2802 * registry/Makefile.am:
2803 Now install at-spi-registryd into $(libexecdir), and build .server
2804 file with path (see above).
2806 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2808 * test/screen-review-test.c:
2809 (text_chunk_get_clipped_string):
2810 We now check to see if words fall within clip bounds
2811 before resorting to character-by-character clip bounds testing.
2813 * TODO: Added a section for "2.2 Proposed API Additions".
2815 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2817 * test/screen-review-test.c:
2819 Added a screen review benchmarking and test program to test
2822 * cspi/spi_accessible.c:
2824 Made some of the debug strings passed to cspi_check_ev a
2825 little more specific.
2827 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2829 * test/screen-review-test.c: Fix crashes in debug statements
2831 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2833 * test/screen-review-test.c: Added this file.
2835 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2837 * atk-bridge/bridge.c: changed "object:state-change" to
2838 "object:state-changed" to match docs.
2840 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2842 * atk-bridge/bridge.c: Hooked up state-change event details.
2844 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2846 * registryd/registry.c:
2847 Fixed quarking bug in event string parsing; now events with
2848 detail parameters get matched correctly to listeners.
2851 * util/idl/Magnifier.idl: remove.
2853 * util/*.[ch]: Remove.
2854 Magnification utilities and IDL are now in module gnome-mag.
2856 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2858 * registryd/deviceeventcontroller.c:
2859 Fixed bug in grab key conversion which was causing keycode grabs
2860 to be converted to AnyKey grabs.
2863 updated NEWS file to reflect recent spin-off of gnome-mag.
2865 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2867 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2868 busted AccessibleStateSet_compare. Removed redundant casts.
2870 * cspi/spi-action.c: Removed redundant casts.
2872 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2874 * cspi/spi_component.c: Fixed typos and casting error.
2876 * cspi/spi_editabletext.c: Removed redundant casts.
2878 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2880 * cspi/spi_hypertext.c: Eliminated redundant casts.
2882 * cspi/spi_image.c: Eliminated redundant casts.
2884 * cspi/spi_registry.c: Eliminated redundant casts.
2885 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2886 * cspi/spi_selection.c: Removed redundant casts.
2887 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2888 handling. Screen geometry and text offsets were being returned as 0
2889 on error which is technically valid-- changed these to return -1.
2890 Added marshaller for text boundary types to fix bug with boundary
2891 types being passed incorrectly to atk.
2893 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2896 * cspi/spi_registry.c:
2897 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2898 which was uncovered by the recent key changes.
2900 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2902 * test/event-listener-test.c:
2904 Added new test, "event-listener-test";
2905 this code does two things; it benchmarks traversal time
2906 for the accessible hierarchy for the first running accessible
2907 app, and it connects listeners for all supported event types.
2908 It is thus useful as an example event listener and for
2909 diagnostics/debugging of event generation.
2911 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2914 Removed unnecessary dependency on libutil.
2917 Revved micro version: 0.13.1
2919 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2922 Removed util/Makefile from targets.
2925 Removed util subdir from SUBDIRS (temporarily,
2926 pending removal of magnifier-only code
2930 #ifdef-ed out magnifier dependencies, since
2931 magnifier IDL, headers, and binary now live in
2932 module gnome-mag and we don't want at-spi to depend
2933 on gnome-mag. A magnifier demo which can run alongside
2934 simple-at is forthcoming in the gnome-mag module.
2936 NOTE: Split magnifier binary, IDL, and magnification
2937 activation code from at-spi into module gnome-mag.
2939 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2941 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2942 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2944 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2947 Revved to version 0.13.0
2949 * idl/Accessibility_Registry.idl:
2950 Changed definition of KeySet from sequence of longs to sequence of
2951 KeyDefinitions, and added KeyDefinition struct.
2952 Required for fix to bug 80616.
2954 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2955 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2956 to use new definition (see above).
2958 * registryd/deviceeventcontroller.c: handle_keygrab(),
2959 spi_keyset_contains_key():
2960 Changed to make use of new struct; this allows matching based on
2961 string key-name, for instance "Tab". This also allows matching of
2962 composed characters, non-alphanumeric characters in a way that
2963 doesn't involve dependencies on X keysym codes directly, etc.
2965 * test/key-listener-test.c:
2966 Added test for Alt-Tab key using "string" specification of keyset,
2967 and modified one of the tests to use a keycode-based keyset.
2968 Thus this test both tests and demonstrates the creation and use of
2969 keysets of three forms: specified via keycode array,
2970 keysym array, and string array. (The string case only contains a
2971 single string, i.e. a string array of length 1).
2974 Turned on PRINT_TREE option by default. Also fixed a
2975 string-freeing bug in the PRINT_TREE code.
2976 Added a listener to window:minimize events.
2978 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2980 * atk-bridge/bridge.c:
2981 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2982 for window:activate and window:deactiveate
2983 (atk_bridge_property_event_listener atk_bridge_signal_listener
2984 atk_bridge_window_event_listener) Tidy debug code
2986 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2988 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2989 Fixed handling for NULL return value from ATK.
2991 * libspi/action.c libspi/component.c libspi/editabletext.
2992 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2993 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2994 Removed redundant casts.
2996 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2997 Fixed off by one bug.
2999 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3000 function not present in idl)
3002 2002-05-02 jacob berkman <jacob@ximian.com>
3004 * atk-bridge/Makefile.am: make atk-bridge a real module
3006 2002-04-26 Radek Doulik <rodo@ximian.com>
3008 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3009 atk_state_types table
3011 2002-04-22 jacob berkman <jacob@ximian.com>
3014 * libspi/Makefile.am: add deps on the built files to help
3015 automake, and don't version the ORBit typelib
3017 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3019 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3020 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3021 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3022 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3023 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3024 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3025 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3026 libspi/accessible.h libspi/accessible.h libspi/base.h
3027 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3028 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3029 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3030 libspi/spi-private.h libspi/statetset.h libspi/table.h
3031 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3032 util/mag_client.h util/mag_control.c util/mag_image.c
3033 util/mag_image.h util/magnifier.c util/magnifier.h:
3034 Add missing file headers; standardize existing ones
3036 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3038 * atk-bridge/bridge.c: Added window event support.
3040 2002-04-18 Michael Meeks <michael@ximian.com>
3042 * libspi/relation.c (impl_getNTargets): impl.
3043 (impl_getTarget): impl.
3045 * libspi/Makefile.am: fix stateset install.
3047 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3050 Started putting useful info in this file.
3052 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3054 * atk-bridge/bridge.c:
3055 Propagate state-changed notifications to ATs
3057 * cspi/spi_registry.c: update docs to reflect actual behavior of
3058 state-change events.
3060 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3063 Incremented version to 0.12.1
3065 * util/mag_client.h:
3066 Add missing declaration for magnifier_exit,
3067 used by mag_control.c - Forte compiler didn't like
3068 the implicit redeclaration of the function :-(
3071 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3074 Revved version to 0.12 due to API change (see below).
3076 * cspi/spi-roletypes.h:
3077 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3078 definition from the inline docs, and added docs
3079 for SPI_ROLE_LAST_DEFINED.
3082 * cspi/spi_streamablecontent.c:
3083 Added missing seek_type parameter to
3084 (so far unused) method,
3085 AccessibleStreamableContent_seek().
3086 [ RT approval JodyG. ]
3089 Fixed docs for SPI_createAccessibleKeystrokeListener.
3091 * cspi/spi_registry.c:
3092 Fixed docs for SPI_KEYSET_ALL_KEYS.
3094 * docs/reference/cspi/at-spi-cspi-sections.txt:
3095 Added a number of missing APIs to SECTIONS.
3097 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3099 * registryd/Makefile.am:
3101 * cspi/bonobo/Makefile.am:
3102 Add $(X_LIBS) to makefiles.
3104 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3107 Revved version to 0.11.
3109 * libspi/component.c:
3110 Added implementation for grabFocus.
3112 * idl/Accessibility_Component.idl
3113 (Accessibility_Component_grabFocus):
3114 Made this method return boolean to indicate success or failure, to
3115 be consistent with cspi and the corresponding ATK method.
3117 * idl/Accessibility_Selection.idl
3118 (Accessibility_Selection_selectAll) :
3119 Made these methods return boolean to indicate success or
3120 failure, to be consistent with cspi and the corresponding ATK methods.
3122 * idl/Accessibility_EditableText.idl
3123 (Accessibility_EditableText_setTextContents,
3124 Accessibility_EditableText_insertText,
3125 Accessibility_EditableText_cutText,
3126 Accessibility_EditableText_deleteText,
3127 Accessibility_EditableText_pasteText):
3128 Made these methods return boolean to indicate
3131 * cspi/spi_editabletext.c:
3132 Made these methods return booleans.
3134 * libspi/selection.c:
3135 * libspi/component.c:
3136 * libspi/editabletext.c:
3137 Connected the boolean returns from ATK
3138 to the server-side code referenced above.
3140 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3142 * idl/Accessibility_Table.idl: Added missing methods,
3143 Accessibility_Table_addRowSelection,
3144 Accessibility_Table_addColumnSelection,
3145 Accessibility_Table_removeRowSelection,
3146 Accessibility_Table_removeColumnSelection.
3149 Added C wrappers for above IDL:
3150 AccessibleTable_addRowSelection,
3151 AccessibleTable_addColumnSelection,
3152 AccessibleTable_removeRowSelection,
3153 AccessibleTable_removeColumnSelection.
3156 Added server-side implementation code for IDL above, connecting
3157 to pre-existing ATK api.
3159 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3161 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3163 * libspi/accessible.c: Added implementation fo
3164 Accessibility_Accessible_get_state.
3166 * libspi/libspi.h: Added stateset.h to the list of includes.
3168 * libspi/stateset.c: Fixed broken implementation.
3170 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3173 Added implementation code for Accessibility_Magnifier_exit ().
3175 * util/mag_control.c:
3176 Added test code for above method; you can
3177 now kill an existing magnifier via
3178 ./mag_control q, from the util directory.
3180 * test/key-listener-test.c:
3182 Added a new test, for our key listener API.
3184 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3186 * test/app.c, test/keysynth-demo.c:
3188 Replace use of snprintf with g_snprintf.
3189 (fix for bugzilla 78249)
3191 2002-03-27 Michael Meeks <michael@ximian.com>
3195 * util/Makefile.am (INCLUDES): fix.
3196 (DONT_DIST_SOURCE): don't distribute the
3199 * libspi/Makefile.am (dist-hook): ditto.
3201 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3203 * libspi/hypertext.c:
3204 Fix warnings when yelp is used with atk-bridge
3206 2002-03-21 Michael Meeks <michael@ximian.com>
3208 * libspi/application.c (spi_application_new):
3209 use spi_accessible_construct so we use the AtkObject
3212 2002-03-19 Michael Meeks <michael@ximian.com>
3214 * registryd/registry.c (desktop_remove_application),
3215 (desktop_add_application): clean coding style.
3217 * registryd/desktop.c (spi_desktop_remove_application),
3218 (spi_desktop_add_application): kill re-enterency hazards.
3219 (spi_desktop_dispose): remove bogus redundant cast
3220 obscuring bug; fix bug too.
3221 (spi_desktop_init): make the desktop object immortal.
3223 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3226 Added a #define-guarded tree-traversal step
3227 when enumerating the apps (diagnostic tool).
3229 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3231 * idl/Accessibility_Role.idl:
3232 Added ROLE_DRAWING_AREA which seemed to be missing from the
3235 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3237 * cspi/spi-roletypes.h cspi/spi_accessible.c
3238 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3241 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3242 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3243 AT when applications are added and removed from the desktop. This
3244 reverts the previous broken implementation using the backing
3245 AtkObject for the SpiDesktop.
3247 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3249 * registryd/desktop.c: emit the "children-changed::add" and
3250 "children-changed::remove" signals on the backing ATK object for
3251 the desktop so AT can tell when applications are started and shut
3254 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3256 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3258 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3260 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3262 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3264 * cspi/state-types.h: synched with IDL and ATK
3266 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3268 * libspi/accessible.c
3269 (impl_accessibility_accessible_get_child_at_index):
3270 Change return value for g_return_if_fail ()
3271 to CORBA_OBJECT_NIL instead of "0" (!)
3273 * registryd/Makefile.am:
3274 * registryd/Accessibility_Register.server.in:
3275 Changed name of executable, "registryd",
3276 to something more informative:
3279 2002-03-13 Michael Meeks <michael@ximian.com>
3281 * atk-bridge/bridge.c (atk_bridge_init): don't register
3282 if we're in a bonobo-component, rather than a bonobo app.
3284 2002-03-13 Michael Meeks <michael@ximian.com>
3286 * atk-bridge/bridge.c (gtk_module_init): split
3287 out body to (atk_bridge_init): here, since otherwise
3288 we get symbol conflicts and oddness when invoked
3289 from (gnome_accessibility_module_init): here (upd.)
3291 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3294 New file. Explicitly allow "build sheriff" putbacks provided
3295 they are tested on Solaris.
3297 * docs/reference/cspi/Makefile.am:
3298 Added '-' to the "cp" command for index.sgml.
3299 ("patch by thomasvs, soon coming to a GUADEC near you")
3302 Incremented version number (0.9.0) for new release.
3303 Changed macro that checks for popt, to better detect
3304 obsolete versions of popt.
3307 Added X_LIBS to AC_SUBST, for applications
3308 that call Xlib API directly.
3311 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3314 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3317 Fix regression caused by hard-coding major
3318 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3321 * test/test-simple.c (test_editable_text),
3322 (test_test): revert previous change (error was
3323 a regression in gail which is now fixed).
3325 2002-03-04 Michael Meeks <michael@ximian.com>
3327 * test/test-simple.c (test_editable_text),
3328 (test_text): pass G_MAXINT instead of '-1' for
3329 whole string - is this a good thing !?
3331 * cspi/spi_accessible.c
3332 (Accessible_getRelationSet): fix crasher bug
3333 overwriting the end of the array.
3335 * test/test-simple.c (validate_accessible): free,
3336 not g_free returned relation set.
3338 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3340 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3341 implemented stateset support
3343 * idl/Accessibility_State.idl: Made necessary changes to
3344 the IDL to support state sets.
3346 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3348 * registryd/deviceeventcontroller.c:
3349 Added implementation for generateMouseEvent.
3351 * cspi/spi_registry.c:
3352 Connected new implementation for generateMouseEvent
3355 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3358 Incremented revision (but no change in public API
3359 outside of 'utils', which are not installed public yet.)
3361 * libspi/component.c:
3362 Changed to use atk_component API for layers and
3363 mdi_zorder, instead of deprecated atk_object API.
3365 Magnification Utility Enhancements:
3368 Added implementation of createZoomRegion, clearAllZoomRegions,
3369 resizeZoomRegion. Added new commandline argument
3370 "--no-initial-region". Note that clearAllZoomRegions doesn't
3371 unmap the old '0' region as it should (yet), and the other
3372 methods only work when creating/resizing a single region,
3373 which is "region 0".
3374 (Code for multiple region support will be added later.)
3377 Now we raise the magnifier window each time it's refreshed;
3378 this will help keep it on top.
3380 * util/mag_client.h:
3381 Added simple wrappers for above, used by mag_control.
3382 For general use, it's recommended to use the bonobo magnifier
3383 control API directly instead of using these wrappers.
3386 Moved ZoomRegionData from magnifier.c to this file.
3388 * util/mag_control.c:
3389 Added some code to exercise new IDL implementations.
3391 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3393 * libspi/text.c: Provide implementation for getAttributes.
3395 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3398 Incremented revision.
3400 * test/test-simple.c:
3401 Replaced use of deprecated g_main_iteration with
3402 g_main_context_iteration.
3404 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3407 Incremented revision for desktop alpha 2.
3409 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3411 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3414 * test/simple-at.c: include netinet/in.h.
3416 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3418 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3419 use NULL, not CORBA_OBJECT_NIL.
3421 * libspi/accessible.c:
3422 (impl_accessibility_accessible_get_relation_set):
3423 allocate the sequence correctly.
3425 * libspi/remoteobject.h: kill spi_remote_object_new.
3427 * test/test-simple.c: (validate_accessible): add code
3428 to test relation sets, now all we need is to figure
3429 out how to excercise this code path :/
3431 2002-01-18 Michael Meeks <michael@ximian.com>
3433 * test/test-simple.c
3434 (key_listener_cb): consume the key.
3435 (test_keylisteners): update.
3436 (main): wait for any pending unrefs on events.
3438 * registryd/deviceeventcontroller.c
3439 (spi_controller_update_key_grabs): only re-issue the
3440 grab on a key release.
3441 (spi_device_event_controller_forward_key_event):
3442 refresh the keygrabs before we notify the listeners,
3443 to reduce the X ungrab / re-grab race.
3444 (spi_controller_register_with_devices): remove
3445 XSelectInput - we do that with the gdk_window_ call.
3446 (_spi_controller_device_error_handler): return a value.
3447 s/GDK_DISPLAY/spi_get_display/
3449 2002-01-17 Michael Meeks <michael@ximian.com>
3451 * registryd/deviceeventcontroller.c
3452 (_deregister_keygrab): don't blow out the later
3455 * test/test-simple.c (test_keylisteners): do a
3456 more intelligent validation.
3458 2002-01-14 Michael Meeks <michael@ximian.com>
3460 * atk-bridge/bridge.c
3461 (gnome_accessibility_module_init),
3462 (gnome_accessibility_module_shutdown): impl.
3463 (gtk_module_init): protect vs. double inits.
3464 (add_signal_listener): impl.
3465 (spi_atk_bridge_state_event_listener): kill
3466 (deregister_application): split out of
3467 (spi_atk_bridge_exit_func): here.
3469 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3472 Added caret tracking when using magnifier, and
3473 now use text bounds for focus tracking of text elements, rather than
3474 the component bounds - this is helpful for short text fields in long
3475 table cells, at high magnification.
3477 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3479 * registryd/deviceeventcontroller.c:
3480 Regression fix for keylistener de-registration; global keygrabs
3481 were not being released when deregisterKeystrokeListener was
3482 called in cspi, since
3483 Accessibility_DeviceEventController_deregisterKeystrokeListener
3484 was called with a zero-length keyset. That is because the cspi
3485 method, SPI_deregisterKeystrokeListener, does not take a keyset
3486 parameter but instead should remove all the key grabs held be a
3488 The code in impl_deregister_keystroke_listener was changed to copy
3489 the keylist from the listener instance previously registered with
3490 the DeviceEventController before releasing the grabs.
3492 * registryd/registry.c:
3493 * registryd/deviceeventcontroller.c:
3494 * libspi/spi-private.h:
3496 Changed spelling of "re-enterant" to "re-entrant" globally.
3498 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3500 * test/test-simple.c:
3501 Changed key listeners test - the test was slightly mis-using the
3502 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3503 It now uses '=' as the key event listened to and generated,
3504 relying on a keysym match rather than assuming that keycode 33
3505 is always equal to keysym '!'.
3507 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3510 Changed simple-at to use a specific keyset, rather than
3511 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3512 manager, desktop, etc.
3514 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3516 * registryd/deviceeventcontroller.c:
3517 Replaced standard X error handler with a special handler that
3518 is non-fatal for failed keygrabs. This works around
3519 problems with keygrab clashes sometimes observed on
3521 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3522 mouse handling code as yet).
3524 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3527 Incremented revision for desktop alpha release.
3530 Fixed a couple of the more glaring errors (still not
3533 2002-01-11 Michael Meeks <michael@ximian.com>
3535 * registryd/deviceeventcontroller.c
3536 (spi_device_event_controller_forward_key_event): kill
3537 XUngrabKey / XKeyGrab race.
3538 (spi_controller_grab_keyboard): rename to
3539 (spi_controller_update_key_grabs): this, and deal
3540 with incremental adding / removing grabs more
3542 (_register_keygrab): ensure we're not pending a remove.
3543 (spi_grab_mask_free): impl.
3544 (spi_controller_register_global_keygrabs): split out
3546 (handle_keygrab): impl.
3547 (_deregister_keygrab): impl.
3548 (spi_controller_deregister_global_keygrabs): impl.
3549 (spi_controller_update_key_grabs): re-issue the grab if
3550 we just recieved a notification.
3552 * test/test-simple.c (key_listener_cb): remove debug.
3554 * registryd/deviceeventcontroller.c
3555 (spi_controller_register_device_listener): after
3556 registering a global keygrab, actualy register it !
3557 don't wait for a timeout; doh !
3559 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3560 to make it more readable / manipulable.
3561 s/grabmask/grab_mask/ s/refcount/ref_count/
3562 s/keyval/key_val/ s/modmask/mod_mask
3564 2002-01-08 Michael Meeks <michael@ximian.com>
3566 * registryd/deviceeventcontroller.c
3567 (spi_controller_register_with_devices): use gdk calls to
3569 (global_filter_fn): implement the filter.
3570 (spi_device_event_controller_check_key_event): rename to
3571 (spi_device_event_controller_forward_key_event): this & upd.
3572 (spi_get_display): replace with GDK_DISPLAY.
3574 * registryd/deviceeventcontroller.c
3575 (spi_controller_deregister_device_listener): unroll into
3576 (impl_deregister_keystroke_listener): here to simplify.
3577 (spi_controller_register_global_keygrabs): split cut and
3578 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3579 (spi_controller_deregister_device_listener): remove.
3580 (impl_register_mouse_listener): remove, no mouse listener
3581 support in at-spi-1.0
3583 * registryd/registry.c
3584 (_device_event_controller_hook): kill.
3585 (spi_registry_init): upd.
3587 * registryd/deviceeventcontroller.c
3588 (spi_device_event_controller_class_init): upd.
3589 (spi_check_key_event): merge into.
3590 (spi_device_event_controller_check_key_event):
3591 here and kill strange static ev init, don't leak
3592 the x_event - nor dynamicaly allocate it.
3594 * registryd/registry-main.c (main): re-direct
3595 timeout to remove strange vtable mess.
3597 * registryd/deviceeventcontroller.c
3598 (remove_listener_cb): impl.
3599 (spi_controller_deregister_device_listener):
3600 fix re-enterancy hazard.
3602 2002-01-07 Michael Meeks <michael@ximian.com>
3604 * registryd/deviceeventcontroller.c
3605 (spi_device_event_controller_new): upd.
3606 (impl_notify_listeners_sync): upd. debug.
3607 (spi_notify_keylisteners): fix re-enterancy hazards,
3608 prettify, remove O(n*n) iteration.
3609 (spi_controller_grab_keyboard): fix iteration.
3610 (spi_check_key_event): re-format to suit coding style.
3611 Clean all the warnings - we're warning free.
3613 * registryd/deviceeventcontroller.h:
3614 * registryd/registry.h: make mutualy referential with
3615 typesafe forward references instead of (!) void pointer
3618 2002-01-11 Michael Meeks <michael@ximian.com>
3620 * cspi/spi_accessible.c (role_names): add a role name
3621 to sync this array with the enum; and make the regression
3624 2002-01-10 Michael Meeks <michael@ximian.com>
3626 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3627 allow expansion of enumeration & kill warning.
3629 * test/test-simple.c (key_listener_cb): impl.
3630 (test_keylisteners): impl.
3632 * cspi/spi-listener.h: make listener signatures const
3633 on the provided (const) events.
3635 * test/keysynth-demo.c: upd. to const events.
3637 * test/simple-at.c: ditto.
3639 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3642 Rev the version to 0.5 (the previous tarball was named 0.4,
3643 even though the micro number was 3), so we need to rev upwards
3644 again for beta2/"desktop-alpha"
3647 Checked in a demo script, which requires editing before use!
3648 Proceed with caution.
3651 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3653 * cspi/spi_accessible.c:
3654 Add a couple of missing enum initializations, and fix some enum
3657 * cspi/spi_registry.c:
3658 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3660 * docs/reference/cspi/at-spi-cspi-sections.txt:
3661 Remove/fix a couple of broken document references.
3664 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3665 as Alt-Control to listen for commands, since on some systems
3666 Control-Alt may already be grabbed.
3668 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3671 Update version number to 0.4 for Beta2.
3673 * libspi/accessible.c, libspi/accessible.h:
3674 Expose spi_accessible_construct, to enable libgail-gnome
3675 construction from spi_accessible subtype.
3677 * utils/magnifier.c:
3678 Workaround for bug in some non-gnome-compliant window managers
3679 which made magnifier resize improperly.
3681 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3683 * libspi/accessible.c: (spi_accessible_new) :
3684 Move the test for SPI_IS_REMOTE_OBJECT to
3685 spi_accessible_new_return, fixing a bug and compile time warning.
3687 2002-01-08 Michael Meeks <michael@ximian.com>
3689 * registryd/registry.c (parse_event_type): remove strndup.
3691 * libspi/Makefile.am (libspi_la_SOURCES): remove
3692 sources already included in the headers section.
3694 * libspi/util.c: add.
3696 * libspi/spi-private.h: add.
3698 * registryd/registry.c: update to moved list iterators.
3700 2002-01-05 Michael Meeks <michael@ximian.com>
3702 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3704 * test/test-simple.c (main): ditto.
3706 2002-01-04 Michael Meeks <michael@ximian.com>
3708 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3709 redundant construct.
3711 * registryd/registry.c
3712 (get_listener_list): impl.
3713 (impl_accessibility_registry_register_global_event_listener):
3714 re-impl. to simplify using ~, remove dodgy const cast off.
3715 (parse_event_type): constify.
3716 (impl_accessibility_registry_deregister_global_event_listener_all):
3717 re-write, more efficiency and simplicity, kill re-enterancy
3719 (compare_listener_corbaref, compare_corba_objects),
3720 (compare_listener_quarks): define out.
3721 (impl_accessibility_registry_deregister_global_event_listener):
3722 re-write for effiency, and nail re-enterancy hazard.
3723 (impl_accessibility_registry_get_desktop_list): impl.
3724 (re_enterant_list_delete_link): impl.
3725 (re_enterant_list_foreach): impl.
3726 (remove_listener_cb): impl.
3727 (_registry_notify_listeners): kill.
3728 (notify_listeners_cb): impl.
3730 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3731 (SPI_getDesktopList): impl.
3733 * test/test-simple.c (test_desktop): test the methods.
3735 2002-01-03 Michael Meeks <michael@ximian.com>
3737 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3738 keystrings since we free them
3739 (SPI_freeAccessibleKeySet): in here.
3741 * libspi/accessible.c (spi_accessible_new): kill warning,
3742 wonder what is going on with the constructor here.
3744 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3746 * libspi/accessible.c (spi_accessible_new ()) :
3747 Added check to see if AtkObject is an SpiRemoteObject before
3748 creating an SpiAccessible.
3750 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3752 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3753 Enable keygrabs using the Control modifier, now that they are
3754 working properly (they were previously disabled).
3757 Change the command keygrab for this demo to "Control+Alt", so as
3758 to conflict with fewer other key commands on the system; this
3759 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3761 Removed a pointlessly-chatty keylistener for unshifted keys
3762 (shifted keys are still reported).
3764 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3766 * libspi/remoteobject.h:
3767 * libspi/remoteobject.c:
3768 Added definitions for special AtkObject subtype, required for
3769 support of remote components (specifically, used by BonoboControl
3770 accessibility implementation).
3772 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3774 * cspi/spi.h: synched relation types with ATK
3776 * cspi/spi_accessible.c: Added implementations of
3777 AcccessibleRelation_* methods
3779 * idl/Accessibility_Relation.idl: added getRelationTypeName
3780 method. Synched known relation types with ATK. Allowed for
3781 relation type extension with the RELATION_EXTENDED type.
3783 * libspi/relation.c: Provided implementations for
3784 AccessibleRelation methods.
3786 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3788 API tweaks for today's API 'freeze'.
3791 Added placeholder functions to allow future compatible expansion
3792 of the IDL interfaces.
3794 * idl/Accessibility_Registry.idl:
3795 Changed generateKeyEvent to generateKeyboardEvent. Changed
3796 signature of this method to accept an optional keystring in
3797 parameter (for complex text input synthesis) and changed use of
3798 simple 'boolean' parameter in registerKeystrokeListener to a
3799 struct, EventListenerMode.
3801 * cspi/spi_accessible.c:
3803 * cspi/spi_streamablecontent.c:
3804 Added references to AccessibleStreamableContent interface, and
3805 definition and implementation of AccessibleStreamableContent
3808 * cspi/spi_registry.c:
3810 Changed generateKeyEvent API to generateKeyboardEvent,
3811 taking a new (optional) keystring parameter to support complex
3816 Renamed directory (to better reflect its actual purpose, bridging
3817 from at-spi to ATK). The .so module is also now named
3820 * idl/Accessibility_Hypertext.idl:
3821 * libspi/accessible.c:
3822 * libspi/hypertext.h:
3823 * libspi/hypertext.c:
3824 Changed Accessibility_Hypertext to *not* derive from
3827 * cspi/spi_registry.c:
3828 Added list of legal event type names for 'window' events, which
3829 completes the registry event API.
3831 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3833 * at-bridge/bridge.c: Added registration for separate
3834 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3835 signals. If either of the first two parameters to the generic
3836 bridge signal handler are ints, they are passed on as event
3837 details. This allows an AT to determine what text was inserted.
3839 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3841 * registryd/deviceeventcontroller.c:
3842 Fixed regressions in generateKeyEvent caused by the removal of
3843 gdk_init from registryd; we now use pure X calls to connect to the
3844 display, which makes sense because deviceeventcontroller already
3845 uses a fair bit of X API (should eventually be migrated to a
3846 'portability layer').
3848 * registryd/desktop.c:
3849 Fixed minor regression in spi_desktop_init, changed the way the
3850 desktop name is being set to work with new spi_base API
3851 (gobject-based, rather than AtkObject-based).
3853 * registryd/Makefile.am:
3854 Minor revision of makefile to use XTST_LIBS variable rather than
3855 hard-wiring the Xtst LD_ADD element.
3857 * test/keysynth-demo.c:
3858 Tweaked an output message; added initialization of the
3859 'keystrings' member of the "switch listener" key_set.
3861 * libspi/relation.c:
3862 Squashed compile-time warning.
3864 * libspi/accessible.c:
3865 Cosmetic and formatting fixes, renamed a static method.
3867 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3869 * libspi/accessible.c
3871 * libspi/application.c
3874 * libspi/component.c
3875 * libspi/editabletext.c
3876 * libspi/hyperlink.c
3877 * libspi/hypertext.c
3879 * libspi/selection.c
3883 * registryd/desktop.c:
3884 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3886 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3888 * idl/Accessibility_Registry.idl:
3889 Added boolean member 'is_text' to DeviceEvent. This is for the
3890 use of key events, and helps prevent ambiguity between composed
3891 key strings and keysym names, since both may potentially be
3892 returned in the 'event_string' member.
3894 * at-bridge/bridge.c:
3895 * registryd/deviceeventcontroller.c:
3896 Use the 'is_text' member when notifying device event listeners.
3897 Knon issue: composed characters are not dealt with correctly by
3898 the global key listener implementation yet.
3900 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3902 * at-bridge/bridge.c:
3903 Namespaced local static methods to spi_atk_bridge_* where
3904 previously named bridge_*, and spi_* elsewhere.
3906 * at-bridge/bridge.c:
3907 * cspi/bonobo/cspi-bonobo-listener.c:
3908 Added demarshalling/conversion for string member of
3909 Accessibility_DeviceEvent to AccessibleKeystroke.
3911 * registryd/deviceeventcontroller.c:
3912 Added code to fill the Accessibility_DeviceEvent key string value
3913 member for global key events (i.e. from XGrabKey), to match
3914 behavior of Accessibility_DeviceEvent from the toolkit key events
3915 from the bridge. Fixed timestamp in global key event notifications.
3918 Added printout of key event's string value to
3919 report_ordinary_key_event, for demo/debugging purposes.
3921 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3923 * idl/Accessibility_Registry.idl:
3924 Removed Accessibility_KeyStroke structure in favor of generic
3925 Accessibility_DeviceEvent structure.
3926 Changed Accessibility_ControllerEventMask from a struct to an
3929 * at-bridge/bridge.c:
3930 Changed APIs to use DeviceEvent structure as above, and removed
3931 bogus casting between these event structures.
3933 * cspi/spi-listener.h:
3934 Added keystring member of AccessibleKeystroke structure, to enable
3935 matching on event "names" rather than only hardware codes and
3939 Added keystrings member of AccessibleKeySet struct, to allow
3940 matching on event names (as above).
3941 Added declarations for SPI_createAccessibleKeySet and
3942 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3943 event modmasks directly as unsigned ints rather than structs with
3944 refcounts, in the DeviceEventController methods.
3946 * cspi/spi_registry.c:
3947 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3949 * cspi/spi-roletypes.h:
3950 Added documentation of newly added SPI Roles.
3952 * cspi/bonobo/cspi-bonobo-listener.c:
3953 Changes in support of API changes above.
3955 * libspi/accessible.c:
3956 Converted APIs to use DeviceEvent structure (see IDL changes
3959 * registryd/deviceeventcontroller.c:
3960 Added DEControllerGrabMask structure to track keygrabs not only by
3961 modmask but by keyset as well; this allows us to do "global"
3962 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3963 grabbing on AnyKey and then filtering after-the-fact.
3964 Bugfixes for event filtration mean that we don't get false matches
3965 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3967 * registryd/deviceeventcontroller.c:
3968 Namespaced a number of static methods to use spi_ prefix. Major
3969 revision to internals of global (i.e. X) key grabs.
3971 * registryd/deviceeventcontroller.h:
3972 Removed keymask_list and added keygrabs_list to
3973 SpiDeviceEventController struct.
3976 Added use of SPI_createAccessibleKeySet API when creating a
3977 listener for only one key. Attach a listener to "shift spacebar
3978 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3979 X key event names to SPI key event names, so that listeners are
3980 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3982 * test/keysynth-demo.c:
3983 Changed (incorrect) use of X key event names (KeyPressed,
3984 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3987 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3989 * libspi/accessible.c:
3990 Convert all AtkRole enumerations to Accessibility_Role enums when
3991 getting a role from an AtkObject.
3993 * cspi/spi_accessible.c:
3994 Complete the conversion of Accessibility_Role enums at runtime to
3995 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3996 role enums correctly match those given in spi-roletypes.h.
3997 Re-synchronize the local names list for AccessibleRole_getName ().
3998 AccessibleRole_getName is now deprecated, since it duplicates the
3999 more reliable Accessible_getRoleName.
4000 Added some role types from Accessibility_Role.idl.
4002 * idl/Accessibility_Role.idl:
4003 Added some role types used by AtkRole.
4005 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4008 * cspi/spi_registry.c:
4010 * cspi/cspi-bonobo-listener.c:
4011 Namespaced all methods that did not begin with an "SPI_" or
4012 "Accessible" prefix to "SPI_".
4015 Homogenized internal function namespace to "cspi_" for statics.
4018 Patched tests to use the new CSPI API.
4020 * docs/reference/cspi/at-spi-cspi-sections.txt:
4021 Updated docs to reflect namespace changes, and added a number of
4022 methods to the documentation.
4024 * registryd/registry.c:
4025 Changed use of strings and string hashes in listener event
4026 matching and parse_event_string to use GQuark, which is guaranteed
4029 * registryd/registry.h:
4030 Squashed annoying warning.
4032 * idl/Accessibility_Role.idl:
4033 Extended range of available Accessibility_Role values.
4035 * cspi/spi_accessible.c:
4036 Re-ordered role names.
4038 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4040 * idl/Accessibility_Value.idl:
4041 Revert use of union back to CORBA_double, since the double type is
4042 more efficient and can contain the other types without loss of
4045 * idl/Accessibility_Accessible.idl:
4046 Added method Accessibility:Accessible:getRoleName, to complement
4047 Accessibility:Accessible:getRole.
4049 * cspi/spi_accessible.c:
4051 Added C binding for above, Accessible_getRoleName (), and changed
4052 signature of Accessible_getRole () to return an AccessibleRole.
4054 * cspi/spi-roletypes.h:
4055 Changed AccessibleRole_getName to return a char * instead of a
4056 const char *. This method is now at least temporarily deprecated
4057 in favor of asking Accessibles for their RoleNames directly.
4060 Revert to match Accessibility_Value.idl;
4064 Change signature of AccessibleValue methods to use double rather
4068 * cspi/spi_accessible.c:
4069 Changed Accessible_getRole to return an AccessibleRole enum rather
4070 than a UTF-8 string. The UTF-8 string can still be obtained via
4071 AccessibleRole_getName ().
4073 * test/test-simple.c:
4074 Add test_action. Small fixup to match API change to Accessible_getRole.
4077 Bugfix for get_action_from_servant ().
4079 2001-12-11 Michael Meeks <michael@ximian.com>
4081 * libspi/libspi.h: remove registry.h and
4082 desktop.h, deviceeventcontroller.h
4084 * libspi/Makefile.am: remove registry.[ch],
4085 desktop.[ch], deviceeventcontroller.[ch]
4087 * registryd/Makefile.am: add registry.[ch],
4088 desktop.[ch], rename registryd.c to registry-main.c.
4089 add deviceeventcontroller.[ch]
4091 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4094 Replace setenv() call with putenv ().
4096 * libspi/component.c:
4097 Bugfix in AccessibleComponent_getExtents (),
4100 2001-12-11 Michael Meeks <michael@ximian.com>
4102 * libspi/image.c (impl_getImageExtents): impl.
4103 (spi_image_class_init): upd.
4106 (AccessibleImage_getImageDescription): fix daft bug
4109 * test/test-simple.c (global_listener_cb): update
4110 to only quit if not --poke
4111 (main): catch --poke.
4112 (validate_accessible): upd. dumping, call test_image
4115 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4118 * idl/Accessibility.idl: update all IDL includes.
4120 * idl/*.idl - rename to namespace - this sucks, blame
4121 mjs' bad decision for oafd.
4123 * test/test-simple.c (create_test_window): add more tests.
4124 (create_tree): split this out.
4125 (validate_accessible): bugfix.
4127 2001-12-11 Michael Meeks <michael@ximian.com>
4129 * cspi/bonobo/cspi-bonobo-listener.c:
4130 (cspi_kestroke_listener_unref),
4131 (cspi_event_listener_unref): impl. undoing previous
4132 homenous environment - for Bill.
4134 * cspi/spi_table.c (long_seq_to_array): use
4137 * cspi/spi_main.c: split out all bonoboish bits into
4140 * cspi/spi-impl.h: upd. typedefs.
4142 * cspi/spi_registry.c: update to lowlevel API,
4143 return booleans to indicate success in some places.
4145 * cspi/spi_event.c: update to lowlevel API.
4147 * cspi/bonobo/Makefile.am: add.
4149 * cspi/bonobo/cspi-lowlevel.h: add
4151 * cspi/bonobo/cspi-bonobo.c: add
4153 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4155 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4156 (SUBDIRS): add bonobo, link in the libs.
4158 * cspi/spi-util.c: kill this file.
4160 * TODO: merge in my bits.
4162 2001-12-11 Michael Meeks <michael@ximian.com>
4164 * test/test-simple.c (test_value, test_table, main):
4165 remove unused variables causing warnings.
4167 * configure.in: cleanup checks - require gail.
4169 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4172 Changed Value interface to use SValue (scalars) rather than
4173 assuming all values are floats. This allows floats, doubles,
4174 longs, shorts, and unsigned values to be manipulated.
4175 Introduced Accessibility:SValue union.
4178 Updated to use new API above, and to work correctly with GValues
4179 of different types in AtkValue.
4182 Updated to use new API above. cspi's API is as yet unchanged.
4185 Updated the Value revision action item.
4187 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4189 * test/test-simple.c:
4190 Added test_table (GtkTreeView widget in test window to follow).
4191 Un-commented test_value, added GtkRange widget.
4192 Added GtkTreeView widget with GtkListStore. It passes regression
4193 test but leaks one SPI object for some reason.
4196 Fixed bug in impl__set_currentValue.
4198 2001-12-10 Michael Meeks <michael@ximian.com>
4200 * cspi/spi_text.c: audit for exception handling,
4201 tolerating NULL object references safely etc.
4203 * cspi/spi_value.c: ditto.
4205 * cspi/spi_table.c (AccessibleTable_getSummary),
4206 (AccessibleTable_getAccessibleAt),
4207 (AccessibleTable_getRowHeader),
4208 (AccessibleTable_getColumnHeader),
4209 (AccessibleTable_getCaption): fix bugs hidden by
4211 (long_seq_to_array): impl.
4212 (AccessibleTable_getSelectedRows),
4213 (AccessibleTable_getSelectedColumns): use it.
4215 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4218 Added a TODO list (rough and short for now).
4220 * cspi/spi_hyperlink.c:
4221 * cspi/spi_hypertext.c:
4222 Fixed macro name typos, and remove use of obsolete macro in
4223 AccessibleHyperlink_getLink.
4225 * cspi/spi_action.c:
4226 * cspi/spi_accessible.c:
4227 * cspi/spi_application.c:
4228 * cspi/spi_component.c:
4229 * cspi/spi_selection.c:
4232 Documentation fixes (removed return values from ref/unref methods).
4234 2001-12-10 Michael Meeks <michael@ximian.com>
4236 * cspi/spi_action.c: audit for exception handling,
4237 tolerating NULL object references safely etc.
4239 * cspi/spi_accessible.c: ditto.
4241 * cspi/spi_component.c: ditto.
4243 * cspi/spi_editabletext.c: ditto.
4245 * cspi/spi_hyperlink.c: ditto.
4247 * cspi/spi_hypertext.c: ditto.
4249 * cspi/spi_image.c: ditto.
4251 * cspi/spi_selection.c: ditto.
4253 2001-12-10 Michael Meeks <michael@ximian.com>
4255 * configure.in: use cspi/libspi.pc.in instead.
4257 * Makefile.am (pkgconfig_DATA): upd. to match.
4259 * test/simple-at.c (report_focus_event): kill hacks around
4260 bad return values, use putenv not setenv
4262 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4263 fire ChildGone - I killed it.
4265 * libspi/component.c
4266 (impl_accessibility_component_get_extents): remove
4269 * idl/Accessible.idl: kill ChildGone exception.
4271 * cspi/*.[ch]: kill int return from ref / unref.
4273 * cspi/spi_main.c (cspi_object_add_check): fold into
4274 (cspi_object_add): here.
4276 * cspi/spi_component.c (AccessibleComponent_getExtents):
4277 handle exceptions elegantly.
4279 * cspi/spi-private.h (cspi_check_ev_return),
4280 (cspi_return_if_fail): impl.
4282 * cspi/spi_accessible.c: use extensively.
4283 (AccessibleStateSet_equals): add direct compare check.
4285 * cspi/spi_selection.c: tolerate NULL objs, and check
4286 exceptions before return.
4288 * cspi/spi-util.c (cspi_warn_ev): rename to
4289 (cspi_check_ev): this & don't pass ev in; no point.
4291 2001-12-10 Michael Meeks <michael@ximian.com>
4293 * test/test-simple.c: use putenv not setenv
4294 (get_environment_vars): more chatty if you're not using
4297 * test/simple-at.c: do the setenv so more people see the
4300 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4302 * libspi/registry.c:
4303 Changed check of CORBA_environment on notification to be a warning
4304 instead of an error for the moment, since we can recover from this
4305 error when caused by a queued notification from a dead app.
4308 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4309 used by all current implementors of AtkValue), and coerce to
4310 CORBA_float. (Proper general case fix may require change to Value.idl).
4312 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4316 * cspi/spi_accessible.c:
4317 Documentation fixes: added user_data params to documentation for
4318 listeners and callbacks.
4320 * cspi/spi_accessible.c:
4321 Changed AccessibleStateSet_compare to return a
4322 StateSet rather than return the difference set into a third parameter.
4325 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4328 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4329 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4333 Remove subdirectory po from SUBDIRS for now.
4335 * at-bridge/bridge.c:
4336 Beefed up a couple of debug printouts.
4337 One-line fix for signal notification name formatting.
4339 * libspi/accessible.c:
4340 Added assertion to spi_accessible_new ().
4342 * libspi/application.c:
4343 Put #ifdef qualifiers around a printf.
4346 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4348 * registryd/Makefile.am:
4350 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4351 INTLTOOL_SERVER_RULE macro.
4354 Added an event listener for several ATK signals, for
4355 testing and debugging. Removed a few g_warnings.
4356 Added test output if focussed item implements the Value interface.
4358 * test/test-simple.c:
4359 Added test_value () function (known not to pass at the moment, so
4360 not actually called yet.
4362 2001-12-08 Michael Meeks <michael@ximian.com>
4364 * at-bridge/bridge.c (bridge_focus_tracker),
4365 (emit_eventv): fix the same ref. leak.
4366 (register_atk_event_listeners): don't leak.
4368 * cspi/spi-listener-impl.c (cspi_event): more
4369 protection from client code.
4371 * test/test-simple.c (test_desktop): unref the app.
4373 * test/Makefile.am: upd. TESTS.
4375 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4377 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4379 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4381 * cspi/spi_registry.c: constify in strings.
4382 (deregisterGlobalEventListenerAll): don't release the ref.
4384 * cspi/spi.h: start removing redundant / conflicting
4385 gtkdoc comments, making the API readable at a glance :-)
4387 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4389 * test/keysynth-demo.c (keysynth_exit, main): upd.
4391 * test/simple-at.c (main, simple_at_exit): upd.
4393 * test/test-simple.c (unutterable_horror): kill.
4394 (utterable_normal_derefs): kill.
4395 (main): upd & do a setenv before gtk_init, so that we
4396 can use memprof - and to save the pain of remembering
4397 this, if we're running under memprof - don't exit.
4399 * cspi/spi_main.c (SPI_exit): return exit status
4401 (SPI_event_quit): impl.
4402 (SPI_event_main): simplify.
4403 (cspi_is_gnome_app): kill.
4404 (SPI_init): kill isGNOMEapp arg.
4406 * at-bridge/bridge.c (register_atk_event_listeners):
4407 re-instate the unref.
4408 (bridge_exit_func): don't re-activate the registry,
4409 protect vs. theoretical re-entry, use the
4410 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4411 assert a clean shutdown - for regression tests.
4413 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4415 * configure.in: Comment out dummy i18n support for now,
4416 otherwise it fails to build.
4417 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4418 EXTRA_DIST. They are missing in tarball.
4420 2001-12-07 Michael Meeks <michael@ximian.com>
4422 * util/magnifier.c: kill bonobo activation reg. race.
4424 * libspi/component.c
4425 (impl_accessibility_component_get_extents): make it match
4428 * libspi/registry.c (_registry_notify_listeners):
4429 re-remove X headers & reconcile conflicts.
4430 (spi_listener_struct_free): bad conflict resolve.
4431 (impl_accessibility_registry_register_application):
4432 more bad merging fixed.
4433 (impl_accessibility_registry_deregister_application): ditto.
4434 (spi_registry_new): ditto.
4435 (spi_registry_init): don't have an applications field.
4437 [ merge fixups2 branch to here ]
4438 2001-12-07 Michael Meeks <michael@ximian.com>
4440 * test/simple-at.c (report_focus_event),
4441 (report_focussed_accessible): remove g_warning debug.
4443 2001-12-07 Michael Meeks <michael@ximian.com>
4445 * test/test-simple.c (validate_tree): comment out some checks.
4446 (test_desktop): app now not registered idly - horay.
4448 2001-12-07 Michael Meeks <michael@ximian.com>
4450 * cspi/spi_registry.c
4451 (registerAccessibleKeystrokeListener): clean, stop it leaking
4452 great swathes of memory, and device event controller references.
4453 ensure we always pass valid sequences.
4454 (deregisterAccessibleKeystrokeListener): ditto.
4455 (generateKeyEvent): upd.
4457 * at-bridge/bridge.c (bridge_key_listener): handle
4458 registry dead exception gracefully.
4459 (bridge_focus_tracker, emit_eventv): free ev.
4461 * test/simple-at.c (report_focus_event): fix polarity.
4463 * libspi/application.c (notify_listeners): kill the ev
4464 argument, and make sure we init the ev we use.
4465 (spi_application_object_event_listener): split out a chunk
4466 (get_atk_object_ref): here & fixup.
4467 (reverse_lookup_name_for_toolkit_event): make const.
4468 (spi_application_toolkit_event_listener): fixup, kill leaks
4471 * at-bridge/bridge.c (register_atk_event_listeners):
4472 don't unref the noop object - causes grief.
4474 * libspi/registry.c: remove the X headers.
4475 turn off the debug churn.
4477 * libspi/accessible.c (spi_accessible_new_return): only
4478 release the ref if we are supposed to [doh]
4480 * test/simple-at.c (report_button_press, report_focus_event):
4481 guard vs. unexpected exit.
4483 * at-bridge/bridge.c (gtk_module_init): prune printf.
4484 (bridge_exit_func): fix app unref.
4486 * libspi/Makefile.am: don't install registry or desktop.h
4488 * libspi/*.h: update includes.
4490 * libspi/application.h: don't include ourself, or
4491 other redundant headers.
4493 2001-12-06 Michael Meeks <michael@ximian.com>
4495 * libspi/accessible.c
4496 (get_accessible_from_servant): impl.
4497 Upd. all CORBA impl.s to use it killing cut and paste.
4499 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4501 (SPI_init): register atexit cleanup handler here.
4503 2001-12-06 Michael Meeks <michael@ximian.com>
4505 * at-bridge/bridge.c (gtk_module_init): g_error on
4506 activation exception
4508 2001-12-06 Michael Meeks <michael@ximian.com>
4510 * at-bridge/bridge.c (gtk_module_init): some sort of
4511 confusing merge clash - reverted.
4512 (bridge_idle_init): ditto.
4514 * test/test-simple.c (main, utterable_normal_derefs):
4515 merge from Bill - somehow not committed.
4517 2001-12-06 Michael Meeks <michael@ximian.com>
4519 * libspi/value.c (spi_value_class_init): upd.
4520 (spi_value_finalize): kill.
4522 * libspi/table.c (spi_table_finalize): kill.
4523 (spi_table_interface_new): upd.
4524 (spi_table_class_init): upd.
4525 (get_table_from_servant): impl.
4526 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4528 * libspi/selection.c (spi_selection_finalize): kill.
4529 (spi_selection_interface_new): upd.
4530 (spi_selection_class_init): upd.
4531 (get_selection_from_servant): impl.
4532 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4534 * libspi/relation.c (spi_relation_finalize): kill.
4535 (spi_relation_class_init, spi_relation_new): upd
4537 * libspi/image.c (spi_image_finalize): kill.
4538 (spi_image_class_init): upd.
4539 (spi_image_interface_new): upd.
4540 (get_image_from_servant): impl.
4541 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4543 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4544 (spi_hyperlink_finalize): kill.
4545 (spi_hyperlink_new): upd.
4546 (get_hyperlink_from_servant): impl.
4547 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4549 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4550 (spi_hypertext_finalize): kill.
4551 (spi_hypertext_class_init): upd.
4552 (get_hypertext_from_servant): impl.
4553 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4555 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4556 (spi_editable_text_interface_new): upd.
4557 (get_editable_text_from_servant): impl.
4558 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4560 * libspi/text.c (get_text_from_servant): impl.
4561 All impls - update to use it killing more cut and paste,
4562 also fix bad string returns on duff args ( a somewhat
4563 impossible case to handle - but hey ).
4564 (spi_text_construct): impl.
4565 (spi_text_interface_new): upd.
4566 (spi_text_object_finalize): kill.
4568 * libspi/component.c
4569 (accessibility_component_object_finalize): kill.
4570 (spi_component_class_init): upd.
4571 (get_component_from_servant): impl. helper to kill cut & paste.
4572 (impl_accessibility_component_contains):
4573 (impl_accessibility_component_get_accessible_at_point):
4574 (impl_accessibility_component_get_position):
4575 (impl_accessibility_component_get_extents):
4576 (impl_accessibility_component_get_mdi_z_order):
4577 (impl_accessibility_component_get_layer):
4578 (spi_component_interface_new): upd.
4580 * libspi/action.c (spi_action_finalize): kill.
4581 (spi_action_class_init): upd. inherit from SpiObject.
4582 (spi_action_interface_new): upd.
4583 (get_action_from_servant): impl. helper to reduce cut & paste.
4584 (impl_getKeyBinding, impl_getName, impl_doAction),
4585 (impl_getDescription): Use it everywhere.
4587 * cspi/spi_main.c (get_live_refs): a pointer hash.
4588 (spi_object_hash, spi_object_equal): comment out.
4589 There are issues with CORBA object hashing that need
4592 * libspi/application.c (spi_application_init),
4593 (spi_application_new): upd.
4595 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4596 (spi_accessible_class_init): upd.
4597 s/accessible/object/ in epv methods.
4599 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4601 * at-bridge/bridge.c:
4602 Reorder the bridge initialization into the bridge gtk_module_init,
4603 an immediate call to bridge_register_app, and an idle_add for
4604 register_atk_event_listeners (the only code that *must* wait until
4605 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4606 the activation, creates the application's Accessible object, and
4607 queues the bridge_idle_init function. Restored call to
4608 Accessibility_Registry_deregisterApplication().
4609 Prior to making this call we obtain a new reference to the
4610 registry, which is a temporary hack that helps us handle apps that
4611 shut down the bonobo mainloop before we get there.
4613 * libspi/registry.c:
4614 Fix string leakage in debug block, and don't segv if a an app
4615 dies before its event notifications have been propagated.
4618 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4619 as stopgap measure until we get proper exception handling when
4620 objects die during or before interrogation.
4624 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4625 Also changed default value of is_gnome_app to TRUE.
4628 * test/keysynth-demo.c:
4629 Changed use of SPI_init and SPI_event_main to reflect API change above.
4632 Made report_focus_event check the warning value from getName
4633 before reporting on focussed accessible; simplifies handling of
4634 notifications from dead objects.
4636 * test/test-simple.c: (Changes not in this patch since source is
4639 2001-12-05 Michael Meeks <michael@ximian.com>
4641 * registryd/registryd.c (main): protect against
4642 bonobo-activation startup race condition.
4644 * cspi/spi_main.c (cspi_object_add_check): cope
4645 with the exception elegantly.
4647 * idl/Accessible.idl: decl. ChildGone
4649 * libspi/desktop.c (spi_desktop_dispose): impl.
4650 (spi_desktop_class_init): upd.
4651 (spi_desktop_add_application),
4652 (spi_desktop_remove_application),
4653 (abnormal_application_termination): impl.
4654 (impl_desktop_get_child_at_index): re-impl.
4657 (impl_accessibility_registry_deregister_application),
4658 (impl_accessibility_registry_register_application):
4659 kill excessive debug clutter.
4661 * test/test-simple.c (test_misc): test some NULL
4662 tolerance. (main): upd.
4664 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4665 implements no interfaces - so let's not crash.
4667 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4669 * libspi/accessible.c (spi_accessible_new_return): impl.
4670 helper to calm the cut and paste, to cope with
4671 NULL AtkObjects effectively and efficiently, and to kill
4672 the referencing bugs.
4674 * libspi/table.c (impl_getAccessibleAt),
4675 (impl_getRowHeader, impl_getColumnHeader): upd.
4677 * libspi/hyperlink.c (impl_getObject): upd.
4679 * libspi/accessible.c
4680 (impl_accessibility_accessible_get_child_at_index): upd.
4682 * libspi/component.c
4683 (impl_accessibility_component_get_accessible_at_point): upd.
4685 * test/test-simple.c (test_editable_text, test_text): impl.
4688 * cspi/spi_editabletext.c
4689 (AccessibleEditableText_insertText): constify.
4691 * test/test-simple.c (focus_me): make more robust.
4693 * libspi/accessible.c: remove some printfs in methods that
4694 we test and work fine, so we can get a clean tree dump.
4696 * test/test-simple.c (validate_accessible),
4697 (validate_tree): make tree dumping pretty too.
4699 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4700 it builds without debug on.
4702 * test/test-simple.c (validate_accessible): fix the most
4705 * cspi/spi_main.c (spi_object_release): leave the nicely
4706 blanked memory around if in debug mode.
4708 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4710 [committed to fixups2]
4711 2001-12-05 Michael Meeks <michael@ximian.com>
4713 * libspi/editabletext.c
4714 (spi_editable_text_class_init): g_type_class_peek_parent,
4715 not interface peek - so we finalize cleanly.
4717 * libspi/accessible.c (spi_accessible_new): kill debug.
4719 * test/test-simple.c (validate_accessible): fix ref.
4720 leak, print strings before freeing them; sigh, comment a
4721 chunk out due to strangeness.
4722 (validate_tree): unref the child after use.
4724 * cspi/spi_component.c (AccessibleComponent_getLayer):
4725 add missing break statement, switch on zlayer not the
4726 uninitialized retval.
4728 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4729 before (possibly re-entering) remote unref.
4731 * test/simple-at.c (main): unref the desktop.
4733 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4736 * cspi/spi_main.c (cspi_accessible_is_a): here to
4737 isolate bonobo API usage more.
4739 * libspi/registry.c (impl_accessibility_registry_register_application):
4740 prune bogus comment.
4742 2001-12-04 Michael Meeks <michael@ximian.com>
4744 * test/test-simple.c (validate_tree): upd.
4745 IndexInParent check to make it more lucid.
4746 (validate_accessible): dump the tree.
4748 * libspi/accessible.c (de_register_public_ref),
4749 (get_public_refs): impl.
4750 (spi_accessible_new): make more efficient & intuitive.
4751 Now IndexInParent check works.
4753 2001-12-04 Michael Meeks <michael@ximian.com>
4755 * cspi/spi-util.h: remove.
4757 * cspi/spi.h: move SPI_freeString here
4759 * libspi/component.c (impl_accessibility_component_get_layer):
4761 (impl_accessibility_component_get_mdi_z_order): ditto,
4762 return -1 on error - is this ok ?
4764 * test/test-simple.c (test_application): impl.
4766 * cspi/spi_accessible.c (Accessible_getApplication),
4767 (Accessible_isApplication): impl.
4769 * libspi/registry.c (spi_listener_struct_free): release
4770 the CORBA reference too.
4772 * libspi/accessible.c
4773 (impl_accessibility_accessible_get_parent): fix ref leak.
4775 * libspi/registry.c (spi_registry_new): make the registry
4776 immortal - we don't want it to go away ever.
4778 * libspi/application.c
4779 (spi_accessible_application_finalize): impl. cleanup.
4781 * cspi/spi_registry.c
4782 (deregisterGlobalEventListenerAll),
4783 (deregisterGlobalEventListener),
4784 (deregisterAccessibleKeystrokeListener): fix ref leak.
4786 * cspi/spi_main.c (SPI_init): remove redundant ref.
4788 * test/test-simple.c (unutterable_horror): impl. to force a
4793 (impl_accessibility_registry_deregister_application): release
4794 the application when we de-register it.
4796 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4797 until we have the infastructure to get it right.
4799 2001-12-03 Michael Meeks <michael@ximian.com>
4801 * libspi/Makefile.am: only build eventlistener.[ch]
4803 * libspi/accessible.c
4804 (impl_accessibility_accessible_get_child_at_index): don't leak.
4806 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4807 before we hit the idle handler.
4809 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4810 debugging than exit.
4812 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4814 * libspi/listener.c (impl_notify_event): check source
4815 not NIL before unref.
4817 * libspi/registry.c (impl_registry_notify_event): ditto.
4819 * libspi/eventlistener.c
4820 (impl_accessible_event_notify_event): unref the source.
4822 * libspi/accessibleeventlistener.c
4823 (impl_accessible_event_notify_event): unref the source.
4825 * idl/Event.idl: remove 'hash_id' attribute - of no
4828 * libspi/application.c (notify_listeners): upd list
4830 (spi_application_object_event_listener),
4831 (spi_application_toolkit_event_listener): upd to do correct
4835 (_registry_notify_listeners): update.
4836 (parse_event_type): this method also leaks like a sieve.
4837 (impl_accessibility_registry_deregister_global_event_listener):
4838 fix ETYPE_WINDOW case.
4840 * libspi/application.c
4841 (impl_accessibility_application_register_object_event_listener):
4844 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4846 * libspi/hypertext.c (impl_getLink): ditto.
4848 * cspi/spi_main.c (cspi_object_add): remove
4849 bogus CORBA_Object_duplicate.
4851 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4854 * cspi/spi_accessible.c
4855 (Accessible_getRelationSet): fix leak / referencing issue.
4857 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4858 (cspi_object_add, cspi_object_unref): upd.
4859 (spi_object_release, get_live_refs): impl.
4860 (cspi_cleanup): simplify.
4862 * *.[ch]: s/boolean/SpiBoolean/
4864 * cspi/spi_accessible.c (role_names): actualy order so it
4865 corresponds with the enum !
4867 * test/test-simple.c (test_roles): check some role strings
4868 vs. enums to detect offset errors.
4870 2001-12-01 Michael Meeks <michael@ximian.com>
4872 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4874 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4876 (Accessible_getChildAtIndex): use cspi_add_check so we
4877 check the ev before using a (possibly) invalid value.
4879 * libspi/accessible.c
4880 (impl_accessibility_accessible_get_parent): don't segv
4883 * at-bridge/bridge.c (gtk_module_init): upd.
4884 (bridge_property_event_listener): don't leak strings
4886 (bridge_state_event_listener),
4887 (bridge_property_event_listener): don't use a static
4888 buffer in case of recursive event emission &
4889 re-enterancy - split out the swathe of cut and paste
4891 (emit_eventv): and fix 2 ref leaks here & comply to the
4893 (bridge_register_app): rename to
4894 (bridge_idle_init): this and kill arg parsing, split
4895 various inits & bonobo-activation registration to module
4896 init time, kill referencing error.
4897 (bridge_exit_func): fix the same leak.
4898 (bridge_focus_tracker): don't leak event structures
4900 (bridge_signal_listener): more leakage and cut & paste
4902 (bridge_key_listener): return the result - FIXME is
4903 this polarity correct ?
4904 (accessibility_keystroke_from_atk_key_event): rename
4905 (accessibility_init_keystroke_from_atk_key_event): and stop
4907 (gtk_module_init): return a value - not that it is checked by
4909 (bridge_key_listener): register my horror at casting between
4910 IDL defined structs.
4911 (bridge_get_registry): kill - not used.
4913 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4915 * test/test-simple.c (test_roles): impl.
4916 (test_desktop, validate_accessible, validate_tree): impl.
4918 * cspi/spi_accessible.c (role_names): fixup bogus
4919 MAX_ROLES setup, make constants const for efficient linkage
4920 (AccessibleRole_getName): conform to coding style, make
4923 2001-11-30 Michael Meeks <michael@ximian.com>
4925 * cspi/spi.h: add missing prototype.
4927 * libspi/registry.c (spi_listener_struct_new): fix sig.
4929 * test/Makefile.am: add test-simple
4931 * test/test-simple.c: add
4933 * test/test.sh: add.
4935 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4937 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4938 do it straight - since otherwise we often get an activation race.
4940 [ work before Bill duplicated a chunk of it ... ]
4941 2001-11-30 Michael Meeks <michael@ximian.com>
4943 * libspi/keystrokelistener.c
4944 (spi_keystroke_listener_class_init): fixup arg
4947 * libspi/eventlistener.c
4948 (spi_event_listener_class_init): ditto.
4950 * tests/test.sh: add.
4952 * cspi/spi-listener-impl.h: update macros.
4954 * cspi/spi-listener-impl.c
4955 (cspi_event_listener_remove_callback): add
4956 correct pre-conditions.
4958 * cspi/spi_main.c (SPI_exit): guard vs. double
4959 exits, exit the mainloop nicely.
4960 (SPI_event_main): make more sense.
4961 (SPI_init): move the atexit evilness here so we
4962 always do it (yuck).
4963 (SPI_event_main): upd.
4965 * test/simple-at.c: update for listener changes.
4967 * registryd/registryd.c (main): prune kruft.
4969 * libspi/libspi.h: upd.
4971 * libspi/eventlistener.[ch]: rename broken macros.
4973 * libspi/accessibleeventlistener.[ch]: remove.
4975 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4977 * test/test-simple.c: Add - automated tests.
4979 * cspi/spi-listener-impl.c (cspi_event),
4980 (cspi_key_event): add user_data to invoke.
4981 (cspi_keystroke_listener_finalize): impl.
4982 (cspi_keystroke_listener_class_init): upd.
4985 (createAccessibleEventListener),
4986 (AccessibleEventListener_addCallback),
4987 (createAccessibleKeystrokeListener),
4988 (AccessibleKeystrokeListener_addCallback): upd.
4990 * libspi/deviceeventcontroller.c
4991 (spi_device_event_controller_check_key_event): add public proto.
4994 (impl_accessibility_registry_deregister_global_event_listener):
4995 always init listeners.
4996 (_registry_notify_listeners): yes it is.
4998 * cspi/spi-listener-impl.c (cspi_key_event):
5000 (cspi_event_listener_finalize): impl.
5001 (cspi_event_listener_class_init): hook up.
5002 (event_handler_new, event_handler_free),
5003 (event_list_remove_by_callback): impl.
5004 (cspi_event_listener_remove_callback),
5005 (cspi_keystroke_listener_remove_callback),
5006 (cspi_keystroke_listener_add_callback),
5007 (cspi_event_listener_add_callback): upd.
5009 * libspi/keystrokelistener.c
5010 (keystroke_listener_object_finalize): kill
5011 (spi_keystroke_listener_class_init): upd.
5012 (spi_keystroke_listener_add_callback),
5013 (spi_keystroke_listener_remove_callback): kill,
5015 (impl_key_event): prune drasticaly.
5017 * libspi/eventlistener.c
5018 (spi_event_listener_add_callback),
5019 (spi_event_listener_remove_callback): kill, use
5021 (impl_accessible_event_notify_event): upd.
5022 (spi_event_listener_object_finalize): remove.
5024 * libspi/Makefile.am: use eventlistener.[ch]
5026 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5028 * libspi/registry.c (_registry_notify_listeners):
5029 Changed listener loop iteration to use preferred convention.
5030 Got rid of string memory leaks caused be calling g_strconcat
5031 inside function calls.
5033 * libspi/registry.c (parse_event_type):
5034 Stopped g_strconcat memory leaks, free the g_strsplit return,
5035 g_strdup the split pieces when used, etc.
5037 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5040 Change method 'compare' to return a 'difference set' rather than
5041 taking a StateSet as an out parameter (more Java-friendly).
5043 * idl/Accessible.idl:
5044 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5046 * idl/Component.idl:
5048 Changed methods 'getExtents' and 'getImageExtents' in these
5049 interfaces to return a BoundingBox structure.
5050 (getPosition and getSize are redundant and possibly should be
5051 removed, rather than creating a corresponding Point struct.)
5053 * cspi/spi_component.c:
5054 Modify implementation of getExtents to reflect the above IDL
5059 Add (missing) AccessibleImage_getExtents () API.
5061 * docs/reference/cspi/at-spi-cspi-sections.txt:
5062 Added AccessibleImage_getImageExtents () to docs.
5064 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5066 * idl/Component.idl:
5067 Added two methods, getLayer () and getMDIZOrder (), to reflect
5068 the new ATK methods atk_object_get_layer and
5069 atk_object_get_mdi_z_order. (Which arguably should be part of the
5070 AtkComponent API and AtkObject). Also added an enum,
5071 ComponentLayer, for the first method's return value.
5073 * libspi/component.c:
5074 Added implementations for these methods.
5076 * cspi/spi_component.c:
5078 Added cspi binding methods for above,
5079 AccessibleComponent_getLayer() and
5080 AccessibleComponent_getMDIZOrder().
5081 Added cspi enum 'AccessibleComponentLayer'.
5083 * docs/reference/cspi/at-spi-cspi-sections.txt:
5084 Added above methods to docs.
5088 Changed typedef for 'boolean' type (and all references to it) to
5089 SPIBoolean, to avoid keyword clashes with C++.
5092 Changed usages of 'boolean' to SPIBoolean.
5094 * test/keysynth-demo.c:
5095 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5096 app), except where SPIBoolean is required by the callbacks API.
5098 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5100 * cspi/spi_registry.c:
5101 Removed obsolete X event loop for passive keygrabs (which now
5104 * registryd/registryd.c:
5105 Removed unnecessary call to gdk_init() [cruft]. This also allows
5106 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5109 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5111 * docs/reference/cspi:
5112 Included docs for SPI_freeString in generated documentation.
5115 Renamed spi_freeString to SPI_freeString, for consistency. Added
5116 documentation for this function.
5119 Renamed spi_freeString to SPI_freeString, for consistency.
5120 Removed obsolete method declaration string_from_corba_string.
5122 * test/keysynth-demo.c:
5123 Small tweak to comments.
5126 Stopped leaking the strings returned from CSPI.
5128 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5130 Merged Michael's branch (see his ChangeLog entries below).
5132 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5133 bridge is alive, release on exit.
5135 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5136 Fix type check macro.
5139 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5142 Added is_gnome_app static, and method cspi_is_gnome_app(),
5143 so we can call the appropriate shutdown routine at exit in SPI_exit.
5145 * cspi/spi_main.c (cspi_object_ref):
5146 Duplicate the corba object passed in, since we're keeping it around.
5148 * cspi/SPI_exit.c, cspi_cleanup:
5149 Moved the releasing of the live refs to its own function, so we
5150 can put it in g_atexit (). Call the appropriate shutdown API
5151 depending on whethe calling client is a gnome app or not
5152 (bonobo_main_quit or CORBA_ORB_shutdown).
5154 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5155 Unref the listener when this method is called, after
5156 deregistration. Updated the API docs to note this behavior.
5158 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5159 Bugfixes: Ref the bonobo object when returning a parent or child
5160 reference, or an AccessibleRelation. Generally made sure
5161 BonoboObject refcount is incremented whenever we return an
5164 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5165 Fixed typo/bug in signal declaration.
5167 * libspi/accessibleeventlistener.h:
5170 * libspi/application.c (spi_application_new):
5171 Fixed leak in initialization.
5174 Remembered to increment bonobo-object refcount when returning
5175 children (applications) from desktop object.
5176 Added (empty) finalize method.
5178 * libspi/deviceeventcontroller.c:
5179 Hold a ref to listeners inside DEControllerKeyListeners.
5180 Added dec_key_listener_free() method. Use prepend instead of
5181 append in key_listener list. Fixed some refcount madness and
5182 leaks in the listener registration/deregistration - deregistration
5183 now calls dec_key_listener_free() on listeners, and on the
5184 temporarily constructed dec_key_listener() used to perform the search/match.
5186 * libspi/hypertext.c (spi_hypertest_finalize):
5187 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5188 class. Also fixed spi_hypertext_interface_new() and
5189 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5191 * libspi/hypertext.h:
5192 Removed pointless and duplicate AtkObject pointer from
5195 * libspi/keystrokelistener.c:
5196 Fixed incorrect type of keystroke_listener_parent_class,
5197 renamed keystroke_listener_object_finalize to
5198 spi_keystroke_listener_object_finalize.
5199 Fixed typo in signal declaration
5200 (spi_keystroke_listener_class_init).
5202 * libspi/registry.c:
5203 Added funcsions spi_listener_struct_new() and
5204 spi_listener_struct_free() to help with memory management issues.
5205 We also now use these methods instead of gnew + poking stuff into
5206 the struct, and to decrement listener counts/free the listeners
5207 when deregistering them.
5208 Fix more refcount bugs in getDesktop() and
5209 getDeviceEventController().
5212 De-ref the desktop after enumerating the applications. Explicitly
5213 decrement the refcounts on the created listeners on exit (using
5214 _unref for keystroke listeners, and via the
5215 deregisterGlobalEventListenerAll command for other event
5218 2001-11-27 Michael Meeks <michael@ximian.com>
5220 * cspi/spi-listener.h: fixup enum.
5222 2001-11-27 Michael Meeks <michael@ximian.com>
5224 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5225 (cspi_keystroke_listener_new): Use the cspi variants.
5227 2001-11-26 Michael Meeks <michael@ximian.com>
5229 * test/keysynth-demo.c: fix 2 compile warnings, missing
5232 * test/simple-at.c (report_focussed_accessible),
5233 (report_focus_event, report_button_press),
5234 (check_property_change, is_command_key),
5235 (report_ordinary_key_event, report_command_key_event): upd.
5237 * util/mag_client.h: include pre-requisites.
5239 * libspi/accessibleeventlistener.c
5240 (spi_event_listener_object_finalize): free any lingering
5243 * libspi/keystrokelistener.c
5244 (keystroke_listener_object_finalize): ditto.
5246 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5247 callbacks, with cspi types.
5249 * cspi/spi_event.c (createAccessibleEventListener): chain to
5250 (AccessibleEventListener_addCallback): here.
5251 (createAccessibleKeystrokeListener): chain to
5252 (AccessibleKeystrokeListener_addCallback): here.
5254 * libspi/keystrokelistener.c
5255 (spi_keystroke_listener_class_init): add signal.
5256 (impl_key_event): emit the event.
5257 (boolean_handled_accumulator): impl.
5258 (marshal_BOOLEAN__POINTER): add, gack.
5260 * libspi/accessibleeventlistener.c
5261 (spi_event_listener_class_init): add signal.
5262 (impl_accessible_event_notify_event): emit the signal &
5263 make the loop efficient.
5264 (spi_event_listener_add_callback): prepend the callback.
5266 * libspi/accessibleeventlistener.h: add an 'event' signal,
5267 decl type on callback.
5269 * libspi/keystrokelistener.h: ditto.
5271 * cspi/spi-listener.h: make methods typesafe and
5272 make them use the new event typedefs.
5274 * test/simple-at.c (report_focussed_accessible):
5275 include mag_client.h
5276 Use *(void *)text_interface not the other thing.
5278 * configure.in: add gtk to registryd bits - since we use
5281 * util/magnifier.c: include libbonobo.h
5283 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5285 * test/keysynth-demo.c:
5286 Turned this into a simple scanning keyboard, to demonstrate the
5287 use of g_timeout_add () as a means of creating timers for
5288 scanning, and the use of GtkStyle for visually indicating when
5289 virtual keyboard elements are selected.
5291 keysynth-demo now listens to any keyboard keys with zero-valued
5292 keycodes (i.e. 'unused' keys) and interprets them as
5295 Reworked the shiftlatch code so that shift-down state isn't held
5296 for long periods (it's only synthesized immediately prior to
5297 the keysynth event it's modifying). Note that shiftlatch in this
5298 demo is a convenience, not intended to take the place of AccessX
5299 which is the better choice for getting 'sticky' modifier keys.
5301 * libspi/deviceeventcontroller.c:
5302 * at-bridge/bridge.c:
5303 * cspi/spi_registry.c:
5304 Removed some debug print stuff, and put other verbosity in #ifdef
5309 Implemented some more of the magnifier IDL for the simple
5310 magnifier: namely, getZoomRegionParams.
5311 Added mag_x and mag_y members to MagnifierData struct, aid of this
5313 Added GtkWindow::realize signal handler to magnifier, to keep it
5314 from receiving keyboard focus from the WM.
5316 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5318 * cspi/spi-private.h: my guess at what michael forgot
5319 before he ran off to NZ :-)
5321 2001-11-23 Michael Meeks <michael@ximian.com>
5323 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5324 comment out non existant method invoke so we link.
5326 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5327 use bonobo_exception_get_text for more friendly warnings.
5329 * cspi/spi.c (Obj_Add): move into spi_main & rename
5330 spi_object_add; kill spi.c
5332 * cspi/spi_registry.c
5333 (deregisterGlobalEventListener),
5334 (deregisterGlobalEventListenerAll),
5335 (registerGlobalEventListener): fix exception leaks.
5337 * cspi/spi_main.c (spi_exception): impl. helper, so we
5338 don't leak exceptions.
5340 * cspi/spi_selection.c
5341 (AccessibleSelection_deselectSelectedChild): return the
5344 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5345 (spi_registry): ditto.
5346 (SPI_init): guard against double inits.
5348 * cspi/*.c: use spi_ev (), and spi_registry () where
5349 appropriate - a temporary hack until we have something
5350 better. Use spi_object_add
5352 2001-11-22 Michael Meeks <michael@ximian.com>
5354 * cspi/Makefile.am: re organise, install the headers.
5356 * cspi/*.h: add G_BEGIN/END_DECLS
5358 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5361 Added non-preemptive keylistener for key events with no modifiers
5362 and shift-only modifier.
5364 * libspi/keystrokelistener.c:
5365 Removed some verbose diagnostics printout.
5367 * cspi/spi_registry.c:
5368 Fixed a bug that caused all key listeners to be registered as
5371 * libspi/deviceeventcontroller.c:
5372 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5373 for non-preemptive key masks.
5376 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5378 * docs/reference/idl/at-spi-idl-docs.sgml:
5379 * docs/reference/idl/at-spi-idl-sections.txt:
5380 * docs/reference/idl/at-spi-idl-overrides.txt:
5381 Added missing files.
5383 * docs/reference/Makefile.am:
5384 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5385 to scan the IDL files :-(
5390 Added .cvsignore files.
5392 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5394 * libspi/deviceeventcontroller.c:
5395 * libspi/keystrokelistener.c:
5397 * cspi/spi_registry.c:
5398 Added filters for KeySets, KeyEventSeq, and event types to key
5399 event dispatching, so listeners should only receive those events
5400 that they requested :-)
5402 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5407 * docs/reference:Makefile.am:
5408 * docs/reference/cspi:
5409 * docs/reference/cspi:Makefile.am:
5410 * docs/reference/cspi:tmpl:
5411 * docs/reference/cspi:tmpl:*.sgml:
5412 * docs/reference/idl:
5413 * docs/reference/idl:Makefile.am:
5414 * docs/reference/idl:at-spi-idl-sections.txt:
5415 * docs/reference/idl:at-spi-idl-docs.sgml:
5416 * docs/reference/idl:tmpl:
5417 * docs/reference/idl:tmpl:*.sgml:
5419 Restructured docs directory to allow separate 'reference' docs
5420 section, and forked idl and cspi docs. Added the sgml template
5421 files to CVS. Added the first sections/structural sgml for the
5424 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5426 * configure.in, libspi/Makefile.am: find libXtst.
5428 2001-11-21 Michael Meeks <michael@ximian.com>
5430 * test/accessx-gui.c: s/spi_value/value/ - doh.
5432 * libspi/base.[ch]: add.
5434 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5436 * idl/Accessible.idl:
5437 * idl/Application.idl:
5440 Started gtk-doc cleanup on IDL.
5442 * libspi/deviceeventcontroller.c:
5443 Added and connected non-preemptive key notification from the
5444 toolkits (in addition to the pre-emptive support from XServer
5445 which we had before, but which causes 'focus flashing'). Filters
5446 are presently limited to key modifiers and global/non-global,
5447 KeySets are presently ignored, as are KeyEvent masks.
5449 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5450 structs into the persistant structure rather than just storing
5451 pointers to things that might not persist across servant
5454 The XGrabKey call now does async keygrabs, because synchronous
5455 ones were deadlocking with GDK_event code in a very nasty way.
5457 Added boolean to internal method notify_keylisteners, to indicate
5458 whether the event came from the 'toolkit source' or the 'global
5459 (XServer) source' - this is used in the notification process to
5460 determine which listeners to send the event to.
5462 deviceeventcontroller.c is now warning-free.
5464 * libspi/registry.c:
5465 Fixed regression in application de-registration.
5466 Also fixed some really brain-dead weirdness having to do with
5467 event dispatching - event structs are now duplicated before being
5468 re-marshalled in the dispatch to listeners. This also fixes a
5469 Solaris build problem.
5472 2001-11-20 Michael Meeks <michael@ximian.com>
5475 (impl_accessibility_registry_deregister_global_event_listener):
5478 * libspi/deviceeventcontroller.c
5479 (spi_device_event_controller_check_key_event): return
5480 FALSE on no virtual method.
5482 * libspi/*..h: make includes work on a correctly pathed install.
5484 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5486 * libspi/application.h: kill unused ( and whacked out )
5487 gboolean *spi_application_set_id (AtkObject *app, long id);
5489 2001-11-20 Michael Meeks <michael@ximian.com>
5491 * libspi/*.[ch]: further convert to bonobo's type func
5492 macros, remove redundnant casts etc.
5494 * libspi/text.c s/accessibility_text/spi_text/g,
5495 re-order to de-cruft.
5497 * libspi/hypertext.c: re-order to kill a huge slew
5498 of redundant forward decls.
5500 * libspi/relation.c: ditto.
5502 * libspi/image.c: ditto.
5504 * */.cvsignore: update
5506 2001-11-20 Michael Meeks <michael@ximian.com>
5508 * libspi/deviceeventcontroller.c
5509 (_controller_register_with_devices): use g_getenv,
5510 kill stdlib.h include.
5512 * libspi/keystrokelistener.c
5513 (spi_keystroke_listener_get_type): kill
5514 (spi_keystroke_listener_class_init),
5515 (spi_keystroke_listener_init): rename to this.
5517 * libspi/text.c (impl_getAttributes): fix warning / bug.
5519 * libspi/*.[ch]: more headers, includes and over commenting.
5521 2001-11-20 Michael Meeks <michael@ximian.com>
5523 * libspi/*.[ch]: fixup headers, includes and over commenting.
5525 * libspi/image.c (impl__get_imageDescription): const
5526 correctness warning fix. remove redundant casting.
5528 * libspi/table.c (impl_getRowDescription): ditto.
5529 (impl_getColumnDescription): ditto.
5531 * libspi/libspi.h: add.
5533 2001-11-19 Michael Meeks <michael@ximian.com>
5535 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5537 * libspi/component.c (accessibility_component_get_type):
5538 rename to (spi_component_get_type): and macroify.
5539 (accessibility_component_init): rename to
5540 (spi_component_init): this
5541 (accessibility_component_class_init): rename to
5542 (spi_component_class_init): this
5544 * libspi/action.c (spi_action_get_type): kill, use the macro.
5546 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5549 * libspi/application.c (spi_application_object_event_listener),
5550 (impl_accessibility_application_register_object_event_listener):
5551 warning fixes / const understanding updates.
5553 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5556 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5558 * libspi/spi_accessible.c: Added docs and C bindings for
5559 AccessibleStateSet. (No implementations yet). Documentation
5560 coverage for C bindings now 100%. Made docs for event listeners
5565 boolean notifyListenersSync (in DeviceEventListener listener,
5566 in DeviceEvent event);
5568 oneway void notifyListenersAsync (in DeviceEventListener listener,
5569 in DeviceEvent event);
5571 Added DeviceEventListener and DeviceEvent structs (may deprecate
5572 KeyStroke and KeystrokeListener in favor of this generic
5573 event/listener framework for devices).
5575 * libspi/deviceeventcontroller.c:
5577 Changed some key listener code to take masks, etc., and paved the
5578 way for integration of toolkit/non-preemptive key events. Changed
5579 signatures of some internal methods.
5581 * at-bridge/bridge.c:
5582 Fixed regression connecting to interface signals, apparently
5583 caused by GTK+ changes.
5585 Added an internal bridge_state_listener to deal with
5586 property-change:accessible-state signals.
5588 Changed the key_listeners GList to store structs (including masks,
5589 etc.) instead of just CORBA_Objects (required for full
5590 implementation of key listener API).
5592 Connected the bridge to all currently supported Atk signals.
5593 Events now supported:
5594 object:property-change
5595 object:property-change:accessible-name
5596 object:property-change:accessible-state
5597 object:property-change:accessible-description
5598 object:property-change:accessible-parent
5599 object:property-change:accessible-value
5600 object:property-change:accessible-role
5601 object:property-change:accessible-table-caption
5602 object:property-change:accessible-table-column-description
5603 object:property-change:accessible-table-column-header
5604 object:property-change:accessible-table-row-description
5605 object:property-change:accessible-table-row-header
5606 object:property-change:accessible-table-summary
5607 object:children-changed
5608 object:visible-data-changed
5609 object:selection-changed
5610 object:text-selection-changed
5612 object:text-caret-moved
5614 object:row-reordered
5616 object:column-inserted
5617 object:column-reordered
5618 object:column-deleted
5619 object:model-changed
5621 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5623 * libspi/hyperlink.c,h:
5624 Fixed some broken stuff in hyperlink.
5626 * libspi/relation.h:
5627 * libspi/relation.c:
5628 * cspi/spi_accessible.c:
5629 Initial implementations of AccessibleRelation methods, and docs.
5631 * libspi/accessible.c:
5632 Fixed a bug that caused SEGV if an accessible
5633 object's description is NULL, and a client
5634 requests it. An empty string is now returned.
5636 * cspi/spi_editabletext.c:
5637 * cspi/spi_hypertext.c:
5639 * cspi/spi_hyperlink.c:
5643 Doc coverage now 95%.
5645 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5647 One last namespacing revision:
5648 * libspi/accessibleeventlistener.[ch]:
5649 Renamed SpiAccessibleEventListener to SpiEventListener,
5650 (no need for two namespaces ;-)
5652 And lots of documentation fixes:
5654 * docs/at-spi-docs.sgml:
5655 Fixed 'underscore vs. hyphen' bug that was preventing
5656 the gtk-doc API docs from being automatically generated.
5659 * cspi/spi-listener.h
5661 * cspi/spi_accessible.c
5663 * cspi/spi_application.c
5664 * cspi/spi_component.c
5665 * cspi/spi_editabletext.c
5667 * cspi/spi_hypertext.c
5669 * cspi/spi_registry.c
5670 * cspi/spi_selection.c
5674 * docs/at-spi-docs.sgml
5675 * docs/at-spi-sections.txt
5677 Added and fixed up gtk-doc documentation in cspi.
5679 Interfaces now (fully) documented (subject to revision and enhancement):
5681 Event Listener Support
5683 AccessibleApplication
5687 AccessibleEditableText
5694 AccessibleRelationSet
5699 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5701 * at-bridge/bridge.c:
5702 Initial work for toolkit-level key snooper connection by bridge.
5707 New typedefs and fixes to support new namespacing, and cleaner
5708 separation of cspi bindings from libspi bonobo implementation.
5709 Removed inconsistent and extraneous Spi* namespace prefix that
5710 had crept into cspi headers.
5711 Lots of comment fixes that sed had missed.
5713 * cspi/spi-roletypes.h:
5714 * cspi/spi-statetypes.h:
5715 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5716 to AccessibleRoleType.
5718 * libspi/accessibleeventlistener.h:
5719 Fixed minor namespacing weirdness.
5721 * libspi/deviceeventcontroller.c:
5722 Reordered some internal API for device listeners.
5723 Changed the key registry final boolean to 'is_system_global'
5724 rather than 'is_synchronous', which is more descriptive of its
5726 Added spi_device_event_controller_new().
5727 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5729 * libspi/keystrokelistener.[ch]:
5730 Namespaced KeystrokeListener to SpiKeystrokeListener.
5731 Changed uses of keymasks to use SPI_ prefix, and did other
5734 * libspi/keymasks.h:
5735 Namespaced keymask constants with SPI_ prefix.
5737 * libspi/registry.c:
5738 Some warning fixes, and knock-on fixes from namespace changes.
5741 Added rules for accessx-gui test program.
5743 * test/accessx-gui.c:
5744 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5745 utility. It doesn't actually use at-spi, but it's still cool and
5748 * test/keysynth-demo.c:
5752 Fixes so that these test clients work properly with the namespaced
5753 libraries. (Incompletely tested for technical reasons, fixes may follow)
5756 2001-11-13 Michael Meeks <michael@ximian.com>
5758 * libspi/application.c
5759 (impl_accessibility_application_get_version),
5760 (impl_accessibility_application_get_toolkit_name):
5762 (impl_accessibility_application_set_id),
5763 (impl_accessibility_application_get_id): remove
5764 redundant casting code.
5766 * libspi/action.c (impl_getDescription): fix warnings.
5768 * libspi/accessible.c
5769 (impl_accessibility_accessible_get_parent),
5770 (impl_accessibility_accessible_get_child_at_index),
5771 (impl_accessibility_accessible_get_state),
5772 (impl_accessibility_accessible_get_relation_set):
5773 warning fixes & include action.h
5775 2001-11-13 Michael Meeks <michael@ximian.com>
5777 * *.[ch] fix bits I screwed up:
5779 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5780 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5782 2001-11-13 Michael Meeks <michael@ximian.com>
5784 * *.[ch] Namespace libspi into spi_ and Spi.
5786 2001-13-11 Michael Meeks <michael@ximian.com>
5788 * Makefile.am: dist & install at-spi-1.0.pc
5790 * libspi/Makefile.am: install into at-spi-1.0
5792 * idl/Makefile.am (idldir): install into at-spi-1.0
5794 * at-spi-1.0.pc.in: add.
5796 * configure.in: build it.
5798 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5800 * test/keysynth-demo.c:
5801 Use a 'realize' signal-handler to set the WM properties for
5802 the virtual keyboard, rather than making it a "POPUP" type
5803 override-redirect window (thanks to anders carlsson for that
5806 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5809 * test/keysynth-demo.c:
5810 Added new test of key synthesis, which creates a simple
5811 (mouse-operated) onscreen keyboard. It inserts key events into
5812 the currently-focused window, thus it does not grab keyboard focus
5815 * cspi/spi_registry.c:
5816 Added C binding for AT-SPI generateKeyEvent.
5818 * libspi/deviceeventcontroller.c:
5819 Added call to XFilterEvent so that key listener works with XIM (we
5820 hope). Added event_synth_type to generateKeyEvent, so that we can
5821 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5822 synthesize a press/release pair for KeySyms.
5824 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5826 * libspi/Makefile.am:
5827 * registryd/Makefile.am:
5828 (temporary) hack to include libXtst in libspi and registryd.
5829 (Needed for keystroke synthesis, see below).
5832 Improved API for registerKeystrokeListener, in accordance with
5833 discussions with Gnopernicus team and X server research.
5835 * libspi/registry.c:
5836 * libspi/deviceeventcontroller.c:
5837 * libspi/accessible.c:
5838 * libspi/keystrokelistener.c:
5839 Changes and fixes to support keylisteners for potentially
5840 consumed key events (that is, 'passive grabs').
5841 Added implementation for generateKeyEvent() [untested].
5844 Changes to registerKeystrokeListener() API, as above.
5845 Added deregisterGlobalEventListenerAll(), and
5846 deregisterKeystrokeListener(), which are needed for clean exit of
5848 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5849 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5851 * cspi/spi_registry.c:
5852 Added implementations of function prototypes mentioned above.
5854 * registryd/registryd.c:
5855 Added the key listener event source as a g_timeout(), to allow
5856 receipt of key events that are not caught by GDK (since GDK
5857 doesn't support passive keygrabs, this was necessary).
5860 Changed to attach a keylistener to 'Alt' keys, and
5861 respond to the following keycommands: Alt-M (toggle magnifier);
5862 Alt-F (toggle speech); Alt-Q (quit).
5863 Added an exit routine to deregister the listeners, and a key
5864 listener that prints some key info to the console when a key
5865 matches the listener mask (and is thus received by the listener).
5867 * util/idl/Magnifier.idl:
5868 Changes to magnifier API to support multiple zoom regions,
5869 non-uniform scaling in x and y, markDirty, and a host of other
5870 features that would be useful to magnification.
5873 * util/mag_client.c:
5874 * util/mag_client.h:
5875 * util/mag_control.c:
5877 Source code changes to support the above IDL changes.
5880 As above, and also changes to use a (slower) generic conversion
5881 path for colormap conversions, since the fast RGB conversions have been
5882 reported to fail for 16-bit displays.
5884 2001-10-26 Michael Meeks <michael@ximian.com>
5886 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5888 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5890 * at-bridge/Makefile.am: fix LDFLAGS.
5892 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5894 * at-bridge/bridge.c:
5895 Re-worked listeners for toolkit events, now we have signal
5896 and property listeners. Added a private method
5897 register_atk_event_listeners(), which registers with the
5898 various atk and gtk signals we need to monitor in order to emit
5900 Added emission hook for AtkObject:property-change events, to
5901 support the 'property listeners'.
5902 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5905 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5906 which emit warnings and exit, respectively, if CORBA errors occur
5907 during remote calls, and we now use these methods to check most of
5908 our CORBA calls in the C bindings.
5910 * cspi/spi_accessible.c:
5911 Changed AccessibleSelection_refSelectedChild() to
5912 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5913 now increment refcounts.
5915 * cspi/spi_component.c:
5916 Fixed some long pointer casts (dangerous!) to pass pointers to
5917 CORBA_longs of the proper type to the CORBA stubs, and copy the
5918 data into the longs that were passed into the C bindings code.
5920 * at-bridge/bridge.c:
5922 * libspi/accessible.c:
5923 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5924 hyperlinks, AtkHyperlink is an object type.
5926 * libspi/application.c:
5927 Added various conversions to and from "generic" event types and
5928 atk-specific types; this is really part of the 'bridge'
5929 implementation but is valid for all AtkObject-based accessibility
5932 * libspi/editabletext.c:
5933 Fixed nasty bug wherein editable text's finalize method was
5934 unref'ing tha AtkObject reference that the text parent class was
5935 about to unref _again_. There was also a nasty inheritance bug
5936 that meant that the AccessibleEditableText class was corrupt.
5938 * libspi/selection.c:
5939 Provided implementations for some selection API that was broken.
5941 * idl/Application.idl:
5942 Added registerObjectEventListener () method.
5945 Fixed a number of return values that were Bonobo_Unknowns from
5946 bonobo_object_corba_objref(), which I
5947 forgot to dup before returning. Changed instances of
5948 bonobo_object_corba_objref (bonobo_object(o)) to
5949 BONOBO_OBJREF(o), for concision and clarity.
5951 2001-10-13 Louise Miller <louise.miller@sun.com>
5953 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5954 idl/Event.idl, idl/Registry.idl
5955 Changed these files to include Bonobo_Unknown.idl instead
5958 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5960 * libspi/component.c libspi/component.h:
5961 Fixed typo. Added assertions for object checks in
5962 AccessibleComponent code.
5964 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5966 * idl/Accessible.idl:
5967 Added 'isEqual (Accessible *object)'
5968 method for Accessible. (Not Yet Implemented).
5971 Changed signature of registerKeystrokeListener() to
5972 take a KeySet and KeyEventSeq so that specific keys and event
5973 types could be requested for monitoring, and added a flag
5974 is_synchronous so that either synchronous or asynchronous
5975 notification could be requested. (However this is not all
5976 implemented yet). This also meant adding two new typedefs,
5977 KeyEventSeq and KeySet.
5980 Added two new relations, RELATION_TOOLTIP_FOR and
5981 RELATION_LEAFNODE_OF.
5984 Added new state, STATE_HAS_TOOLTIP.
5986 * libspi/text.c, editabletext.c:
5987 Added new assertions to all casts of bonobo-objects from
5988 CORBA servants, to prevent Text API calls on non-text objects.
5989 Changed suspect casts of int-pointer types, so that we
5990 always send a valid CORBA_long pointer to the CORBA APIs that use
5991 in/out long parameters. We then have to copy from the CORBA_long
5992 into the regular long or int for return to the C bindings, or
5993 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5996 * libspi/deviceeventcontroller.c:
5997 Cleaned these sources up.
5999 Changed return type for getCharacterAtOffset to
6000 CORBA_unsigned_long, to allow for 32-bit characters.
6003 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6007 Fixed 'make dist' so that distro compiles...
6008 * libspi/keymasks.h:
6010 * cspi/spi-listener.c:
6011 KeystrokeListenerCB now returns a boolean.
6013 Added KeyEventType struct, and KeyStroke.
6014 Also added createKeystrokeListener(),
6015 KeystrokeListener_addCallback(),
6016 KeystrokeListener_removeCallback(), and added a keymask to
6017 registerKeystrokeListener().
6018 * cspi/spi_accessible.c:
6019 Changed numerous return types for interfaces from
6020 AccessibleComponent to Accessible<InterfaceName>; this was
6021 probably a cut-and-paste error.
6023 Implementations of new KeystrokeListener api (from spi.h,
6026 Changes to key modifier mapping.
6027 Created ControllerEventMask struct.
6028 Made DeviceEventController derive from Bonobo::Unknown.
6030 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6031 * libspi/deviceeventcontroller.c:
6032 Added a number of new internal (private) methods.
6033 * libspi/editabletext.c:
6034 * libspi/editabletext.h:
6035 Fixed a number of bugs related to the fact that
6036 editabletext inherits from text. Fixed the EditableText struct,
6037 the init() call, and use correct casts when calling Text methods
6038 from an EditableText object. Removed (duplicate) atko from the
6039 EditableText structure, we use the one in the parent Text
6040 structure via the casts mentioned above.
6041 * libspi/keystrokelistener.[ch]:
6042 * libspi/registry.c:
6043 Changes in support of keyboard handling (above).
6045 Keyboard handling, though partly functional, is still not
6046 recommended for at-spi client use as there is considerable
6047 work yet to be done.
6050 Changed some places where pointers to various int types
6051 are cast to be pointers to CORBA_long types and vice-versa:
6052 pointer casting is not safe so we pass pointers of the correct
6053 types and then cast the result before putting it into the target
6056 * libspi/text.h: minor typos corrected.
6058 We now speak not only the name of a Text element, but the
6059 first sentence of its content, when it receives focus.
6060 I also changed the text compression to 75% from 50%.
6061 * util/Accessibility_Util.server.in:
6062 Changed the default magnifier type to be a 3x vertical
6063 splitscreen magnifier (was previously a 2x horizontal one).
6065 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6067 * libspi/keystrokelistener.h:
6068 * libspi/keystrokelistener.c:
6069 Initial functional implementations of KeystrokeListener.
6072 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6074 Fixed string handling for NULL strings in libspi.
6075 Added spi_freeString to free strings returned by C bindings.
6077 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6079 * libspi/keystrokelistener.h:
6080 * libspi/keystrokelistener.c:
6081 Began (no-op) implementations of KeystrokeListener
6083 * libspi/deviceeventcontroller.c:
6084 * libspi/deviceeventcontroller.h:
6085 Began creating implementations of DeviceEventController,
6086 to handle keystroke and mouse event listening and
6088 * libspi/accessible.c:
6089 Stubbed-in the implementations for
6090 Accessibility_Accessible_getState and
6091 Accessibility_Accessible_getRelationSet.
6092 * libspi/registry.c:
6093 Improved de-registration process and fixed some bugs,
6094 deregistration now works correctly.
6096 Added initialization of applications list (to NULL).
6098 Reduced speech compression from 0.5 to 0.7, for demo.
6099 Changed call to gdk_window_set_decorations()
6100 to gtk_window_set_decorated().
6101 * at-bridge/bridge.c:
6102 Bridge now deregisters when app exits, via
6103 registration of a cleanup function
6104 with the g_atexit() call.
6105 Required making 'app' static, renamed 'this_app'.
6106 Fixed broken use of bonobo_init, passing argv wrongly.
6108 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6112 Created a new directory for
6113 accessibility-related utilities, primarily for
6114 testing and demo purposes, but with possible
6121 Onscreen magnifier utility that
6122 is implemented as a bonobo service.
6124 * util/mag_client.c:
6125 * util/mag_client.h:
6126 Client-side support (simple C bindings)
6127 for Magnification service
6129 * util/mag_control.c:
6130 Client program example for
6131 Magnification service
6133 * util/Accessibility_Magnifier.server.in:
6134 Bonobo-activation file for the
6135 Magnification service.
6138 * util/idl/Magnifier.idl:
6139 IDL defining the bonobo Magnification
6143 Modifications to use the bonobo-activated magnifier
6144 above, in place of trying to connect to an existing
6145 magnifier that uses socket-listening IPC.
6147 If env variable MAGNIFIER is set, a magnifier service
6148 will be started if one does not exist.
6150 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6152 * at-bridge/bridge.c:
6153 applied patch from Marc to build and run
6154 against new glib and gtk+ (seemed like a change
6155 to bonobo_init signature was made ?)
6157 made festival-server support turned off by default.
6158 Added support for a simple magnifier (off by default)
6159 which will be added to a 'util' directory later.
6160 * at-bridge/Makefile.am:
6161 Changed "application.h" header from a 'source'
6162 to a 'dependency' of libat-bridge.
6164 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6173 Added interface implementation c files to list of
6174 includes so they are included in libcspi.
6177 Changed prototype of AccessibleAction_doAction to return a
6179 Changed prototype of AccessibleTable_getCaption to
6180 return an Accessible.
6181 Changed prototype of AccessibleTable_getSelectedRows
6182 and AccessibleTable_getSelectedColumns to
6183 return a long (returns the number of selected rows
6184 or columns respectively).
6185 Changed name of AccessibleText_refRunAttributes to
6186 AccessibleText_getAttributes.
6187 Changed prototype of AccessibleText_getCharacterExtents to
6188 return a void rather than a boolean.
6189 Added support for a AccessibleCoordType parameter
6190 specifying what type of coordinates are desired.
6191 Added an AccessibleCordType parameter to
6192 AccessibleText_getPointAtOffset.
6194 * cspi/spi_accessible.c:
6195 Added code to return the outstanding interfaces from
6196 Accessible_queryInterface.
6198 * cspi/spi_action.c:
6200 Corrected call to getNActions to call the c binding
6203 * cspi/spi_editabletext.c:
6205 Changed name from setRunAttributes to setAttributes.
6207 * cspi/spi_hyperlink.c:
6209 Changed call to getNAnchors to correctly call the c
6210 binding for an attribute.
6212 * cspi/spi_hypertext.c:
6214 Changed getImageDescription to correctly call the
6215 binding for an attribute.
6217 * cspi/spi_selection.c:
6218 Changed getNSelectedChildren to correctly call the c
6219 binding for the attribute.
6220 Changed refSelectedChild to getSelectedChild.
6224 Changed getCaption to return an Accessible.
6225 Fixed calls which retrieve attributes.
6226 Changed refAt to getAccessibleAt.
6227 Changed getNSelectedRows and getNSelectedColumns to
6231 Changed getCharacterExtents and getPointAtOffset to accept an
6232 AccessibleCoordType.
6234 Changed calls which retrieve attributes.
6235 Changed refRunAttributes to getAttributes.
6240 * idl/Hyperlink.idl:
6241 Changed n_anchors attribute to nAnchors to keep naming
6242 convention consistent.
6245 Made Table inherit from Bonobo::Unknown.
6246 Added nSelectedColumns and nSelectedRows attributes.
6249 Made Value inherit from Bonobo::Unknown.
6251 * libspi/hyperlink.c:
6252 Change for nAnchors attributte name change.
6254 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6262 Added interface implementation c files to list of
6263 includes so they are included in libcspi.
6266 Changed prototype of AccessibleAction_doAction to return a
6268 Changed prototype of AccessibleTable_getCaption to
6269 return an Accessible.
6270 Changed prototype of AccessibleTable_getSelectedRows
6271 and AccessibleTable_getSelectedColumns to
6272 return a long (returns the number of selected rows
6273 or columns respectively).
6274 Changed name of AccessibleText_refRunAttributes to
6275 AccessibleText_getAttributes.
6276 Changed prototype of AccessibleText_getCharacterExtents to
6277 return a void rather than a boolean.
6278 Added support for a AccessibleCoordType parameter
6279 specifying what type of coordinates are desired.
6280 Added an AccessibleCordType parameter to
6281 AccessibleText_getPointAtOffset.
6283 * cspi/spi_accessible.c:
6284 Added code to return the outstanding interfaces from
6285 Accessible_queryInterface.
6287 * cspi/spi_action.c:
6289 Corrected call to getNActions to call the c binding
6292 * cspi/spi_editabletext.c:
6294 Changed name from setRunAttributes to setAttributes.
6296 * cspi/spi_hyperlink.c:
6298 Changed call to getNAnchors to correctly call the c
6299 binding for an attribute.
6301 * cspi/spi_hypertext.c:
6303 Changed getImageDescription to correctly call the
6304 binding for an attribute.
6306 * cspi/spi_selection.c:
6307 Changed getNSelectedChildren to correctly call the c
6308 binding for the attribute.
6309 Changed refSelectedChild to getSelectedChild.
6313 Changed getCaption to return an Accessible.
6314 Fixed calls which retrieve attributes.
6315 Changed refAt to getAccessibleAt.
6316 Changed getNSelectedRows and getNSelectedColumns to
6320 Changed getCharacterExtents and getPointAtOffset to accept an
6321 AccessibleCoordType.
6323 Changed calls which retrieve attributes.
6324 Changed refRunAttributes to getAttributes.
6329 * idl/Hyperlink.idl:
6330 Changed n_anchors attribute to nAnchors to keep naming
6331 convention consistent.
6334 Made Table inherit from Bonobo::Unknown.
6335 Added nSelectedColumns and nSelectedRows attributes.
6338 Made Value inherit from Bonobo::Unknown.
6340 * libspi/hyperlink.c:
6341 Change for nAnchors attributte name change.
6344 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6346 implementations-- made server implementations own AtkObject pointers
6347 rather than their respective AtkInterrface pointers to fix
6348 refcounting. AtkHyperlink is still broken.
6350 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6351 * cspi/spi_accessible.c:
6352 Added method Accessible_Role_getName(),
6353 and requisite string array (role_names).
6354 Added conversion string_from_corba_strin() call
6355 to Accessible_getName and _getDescription.
6356 * libspi/accessible.c:
6357 Added implementation for Accessible_getRole()
6359 Added festival support, used if environment variable
6362 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6364 * at-bridge/bridge.c:
6365 Now allocate Accessibility_Event using
6366 Accessibility_Event__alloc() instead of g_new0().
6367 * libspi/accessibleeventlistener.c:
6368 Initialize AccessibleEventListener->callbacks to NULL.
6369 Fixed accessible__event_listener_init() param, changed to
6370 "AccessibleEventListener *" type.
6371 Changed a bonobo_object_release_unref() call to
6372 Accessibility_Accessible_unref().
6373 * libspi/listener.c:
6374 Changed Bonobo_Unknown_unref to (equivalent)
6375 Accessibility_Accessible_unref.
6376 * libspi/registry.c:
6377 Changed bonobo_object_release_unref to
6378 Accessibility_Accessible_unref.
6380 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6383 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6384 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6385 spi-util.c spi-util.h
6386 Implementations for C bindings to remaining accessibility
6389 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6392 changed return value of Action from void to boolean to
6393 bring in line with ATK.
6396 Changed getText funcions to return "out" start and end offsets.
6397 Changed getAttributes to take and offset and return the start
6398 and end offset of the attribute run.
6399 Changed getOffsetAtPoint and getCharacterExtents to take an
6400 enum describing whether coordinates are window or screen.
6403 libspi/action.c libspi/action.h libspi/editabletext.c
6404 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6405 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6406 libspi/image.h libspi/selection.c libspi/selection.h
6407 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6408 libspi/value.c libspi/value.h
6409 Added server implementations for outstanding ATK interfaces
6410 not yet implemented.
6412 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6415 Added (missing) getName() method.
6416 Made nActions an attribute.
6417 * idl/EditableText.idl:
6418 Changed order of params in setAttributes.
6419 * idl/Hyperlink.idl:
6420 Removed getAnchor, added getURI.
6422 Changed attributes to methods, for efficiency
6423 (so that getting extents can be done in one call)
6424 * idl/Selection.idl:
6425 Changed nSelectedChildren to attribute, and re-indented.
6426 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6428 * idl/Text.idl: reformatted to match our coding style.
6429 (temporarily?) removed getRowColumnAtOffset().
6430 Changed text selection API to support multi-select and
6431 non-contiguous selections, as in ATK.
6432 * idl/Value.idl: changed some methods to attributes.
6434 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6436 * libspi/listener.c(impl_notify_event):
6437 BonoboUnkown_unref the source instead
6438 of bonobo_object_release_unref - the ORB
6439 handles the releasing.
6441 * configure.in: require ORBit-2.3.94 for
6444 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6446 Tagged CVS repository 'EA_1_0'.
6447 * README.EARLY_ACCESS:
6448 Alphabetized acknowledgements list, and
6450 Listed some known dependencies of at-spi.
6452 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6454 * docs/at-spi-docs.sgml:
6455 * docs/at-spi-sections.txt:
6456 * docs/at-spi-overrides.txt: (Added zero-length file)
6457 Documentation improvements - gtk-doc should build
6458 docs for all implemented C bindings now.
6461 * cspi/spi.c: (New file)
6462 * cspi/spi_event.c: (New file)
6463 * cspi/spi_registry.c: (New file)
6464 * cspi/spi_accessible.c: (New file)
6465 * cspi/spi_application.c: (New file)
6466 * cspi/spi_component.c: (New file)
6467 Split spi_main.c into six parts, and included them from
6468 "spi.c". This is a bit of a hack, probably temporary,
6469 but required by gtk-doc, apparently.
6471 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6474 * docs/at-spi-docs.sgml:
6475 * docs/at-spi-sections.txt:
6477 Initial checkins/modifications for gtk-doc generation.
6480 Added (missing) interface query methods to Accessible's C binding.
6482 Added GenericInterface type definition.
6484 Added query for AccessibleComponent interface to focus event handler.
6485 Added printout of bounding box for focussed component.
6486 * libspi/component.c:
6487 Added partial implementation for AccessibleComponent to C binding.
6488 * idl/Application.idl:
6489 * libspi/registry.c:
6490 * libspi/listener.c:
6491 * libspi/application.c:
6492 * libspi/application.h:
6493 Changed "ID" attribute type from string to long.
6495 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6499 Made method naming consistent: methods taking object args
6500 start with uppercase, other methods (except those using
6501 acronyms) start with lowercase. Underscores delimit between
6502 object names and method names:
6503 SPI_init() - uppercase since it starts with an acronym.
6504 getDesktopCount () - lowercase start since no object param0.
6505 Accessible_getName() - uppercase object type name, studlyCaps method
6509 Added gtk-doc documentation for all currently implemented
6510 methods in the C bindings API.
6512 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6514 * Makefile.am : changed build order to build test last.
6517 Changed "createEventListener" to "CreateEventListener".
6518 * libspi/accessibleeventlistener.c :
6519 Bugfix for addition of callbacks.
6520 * test/Makefile.am :
6521 * test/simple-at.c :
6522 Added new test that uses the C bindings API.
6524 * libspi/listener.c :
6525 * libspi/registry.c :
6526 * libspi/accessibleeventlistener.c :
6527 * at-bridge/bridge.c :
6528 Renamed member "target" of Accessibility_Event to "source",
6529 which is more descriptive.
6532 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6536 * cspi/Makefile.am :
6537 Added makefile support for at-spi/cspi directory.
6540 * cspi/spi-listener.h : (NEW FILE)
6541 Added support for/use of spi-listener.h.
6543 C bindings now build successfully, with no warnings.
6544 * libspi/accessibleeventlistener.h : (NEW FILE)
6545 * libspi/accessibleeventlistener.c : (NEW FILE)
6546 * libspi/Makefile.am :
6547 Added new object type "AccessibleEventListener"
6548 which inherits from Listener, and allows attachment
6549 of in-process callbacks (so that a client with a listening
6550 object instance can add functionality to the local
6551 implementation, dynamically).
6553 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6555 * libspi/accessible.c:
6556 Add implementation for get_index_in_parent().
6558 Added #include of "spi-roletypes.h", and
6559 added enumerated type AccessibleCoordType.
6560 Added definition for KeystrokeListener (function type).
6563 * cspi/spi-statetypes.h :
6564 * cspi/spi-roletypes.h :
6566 Added these headers, used by spi.h.
6568 Added code (NOTE: not yet built by make).
6570 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6572 * libspi/Makefile.am: generate imodule
6573 at the same time as other idl compiler
6576 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6577 * libspi/registry.c :
6578 * libspi/application.c :
6579 * idl/Application.idl :
6580 Made registration with toolkit an application method,
6581 which is required since each app has its own toolkit static
6582 environment. Thus the bridge must register for
6583 notification of toolkit events from each application in turn.
6584 Toolkit notifications are now successfully registered for, and
6585 sent to the listening at client.
6587 Changed toolkit event string to use hyphens rather than underscores.
6588 * libspi/listener.c :
6589 listner now gives more info in debug mode - it reports the
6590 name of the event received, as well as the name of the source.
6593 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6595 * libspi/registry.c :
6596 added more implementation for toolkit events.
6597 Fixed bug such that toolkit event registrations
6598 (via atk) use the whole event name string, not
6600 Removed a useless call to an ORBit_ method.
6601 * at-bridge/bridge.c :
6602 Removed unused local sbuf[] variable.
6604 We now register for Gtk:GtkWidget:button_press_event
6605 events as well as "focus:" events.
6607 Add some more API from Registry.idl that was missing,
6608 for keystroke listening, keystroke and mouse event
6609 synthesis, and enumeration of accessible desktops.
6611 2001-08-16 Michael Meeks <michael@ximian.com>
6613 * configure.in: use AM_GLIB_GNU_GETTEXT.
6615 * Makefile.am (SUBDIRS): kill intl.
6617 2001-08-15 Michael Meeks <michael@ximian.com>
6619 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6621 * configure.in: upd.
6623 * configure.in: depend on a recent bonobo-activation that
6624 will find our server files ...
6626 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6628 * libspi/accessible.c : accessible_new() :
6629 Now we add the Component interface via bonobo_object_add_interface,
6630 if the contained AtkObject implements AtkComponent.
6631 * libspi/accessible.h : now include "component.h"
6632 * libspi/component.h :
6633 * libspi/component.c : added files - implementation of
6634 bonobo wrapper object for Accessibility/Component
6635 * libspi/listener.c :
6636 Added test code to check for Accessibility/Component:1.0
6637 interface and report whether it is implemented by the
6639 * libspi/registry.c :
6640 Now we check for not only the hash of the whole event
6641 string before relaying the event, we also check the
6642 "minor" event string (without the detail string).
6643 This allows event listeners to be registered against
6644 all events of a certain major+minor type, or just
6645 against a specific major+minor+detail type.
6646 * libspi/accessible.c :
6647 Added implementations for Accessible:get_parent(),
6648 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6649 * libspi/registry.c :
6650 * libspi/listener.c :
6651 Replaced calls to Accessibility_Accessible_ref() and
6652 Accessibility_Accessible_unref() with
6653 calls to bonobo_object_dup_ref() and
6654 bonobo_object_release_unref(), so that the CORBA object
6655 is dup-ed and released when relayed, as well as the bonobo object.
6657 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6659 * libspi/Makefile.am,
6660 registryd/Makefile.am,
6661 at-bridge/Makefile.am.
6662 test/Makefile.am, configure.in:
6663 reverse previous changes.
6665 * /idl/Image.idl: fix typo.
6667 * test/Makefile.am: put DEBUG_FLAGS
6670 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6672 * test/app.c: use argv[0] instead of
6675 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6677 * libspi/Makefile.am,
6678 registryd/Makefile.am,
6679 at-bridge/Makefile.am.
6680 test/Makefile.am, configure.in:
6681 cleanup, replace individual LIBS/CFLAGS with
6682 AT_COMMON_{LIBS|CFLAGS}.
6686 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6688 * configure.in, libspi/Makefile.am:
6689 Change IDL path checking for bonobo-activation
6692 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6694 * registryd/registry.c : separated event listeners to use
6695 3 separate lists (focus, window, toolkit). Began testing
6696 event names against hashes before relaying events.
6697 * test/at.c : now register for events of type "focus:"
6698 * test/app.c : now generate events of type "focus:"
6699 * at-bridge/bridge.c : register with ATK for focus events,
6700 and we now relay those focus events to any "focus:" listeners.
6701 This now works with the bridge as a GTK_MODULE when running test/at.
6702 * libspi/registry.c :
6703 * libspi/listener.c :
6704 now we ref event sources before propagating, and unref on receipt.
6705 * libspi/registry.c :
6706 some changes to internal structs, to support event typestring hashes.
6707 * text/app.c : changed the way the appname is generated.
6708 * cspi : added directory that will hold the C bindings library for
6709 non-CORBA/bonobo-savvy clients.
6710 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6711 * idl/Component.idl : added in parameter to indicate coord system for
6712 geometry-related calls.
6713 * idl/Hyperlink.idl : added readonly n_links attribute
6714 * idl/Image.idl : changed methods to attributes.
6716 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6718 * at-bridge/Makefile.am: link against
6719 ../libspi/libspi.la instead of -lspi.
6721 * at-spi/test/app.c: include
6722 bonobo-activation.h. Use a default appname
6723 if one is not provided.
6725 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6727 * idl/Registry.idl : temporarily changed register_Application
6728 to oneway, to work around issue with initial registration
6730 * idl/Application.idl : changed attribute "id" from readonly
6731 to read-write, since it needs to be assigned by Registry.
6732 * registryd/registryd.c : added call to set application id
6734 * registryd/registry.c : changed de-registration procedure to
6735 use CORBA_Object_hash() to find matching object ref in application
6736 lists and listener lists.
6737 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6738 began distinguishing between event types (work in progress).
6740 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6743 * libspi/application.c:
6744 Added implementations for get/set id, get_toolkitName,
6746 * registryd/registryd.c :
6750 Converted from use of OAF to bonobo-activation.
6751 * libspi/desktop.h :
6752 * libspi/desktop.c :
6754 Removed references to atksimpleobject, since base atkobject
6755 implementation now provides functionality we need.
6756 * libspi/atksimpleobject.c :
6757 * libspi/atksimpleobject.h :
6762 * at-bridge/Makefile.am
6763 * at-bridge/bridge.c
6766 Added directory "bridge" and contents, and added dependencies
6767 in Makefile.am/configure.in.
6768 Initial checkin of "at-bridge".
6769 This code is a GTK_MODULE which automatically registers
6770 GTK+ apps with the accessibility registry, using an object
6771 reference to the root ATK object.
6773 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6775 * po/Makefile.in.in: Remove. Again. If this
6776 doesn't get autogenerated - you need to update
6779 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6781 * po/Makefile.in.in: Add. Again.
6783 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6785 * libspi/accessible.c : added support for 'description' property.
6786 * libspi/accessible.c
6788 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6789 (since the two are now equivalent in libbonobo)
6797 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6798 Bonobo::Unknown as does Accessibility::Accessible.
6799 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6800 interface with Bonobo::Stream, since it was redundant with it.
6801 (The Stream returned by a StreamableContext object is expected to
6802 implement only a subset of Bonobo::Stream)
6804 2001-07-28 Anders Carlsson <andersca@gnome.org>
6806 * libspi/accessible.c (accessible_object_finalize): Change
6807 g_free to g_object_unref since the AtkObject is a GObject.
6809 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6811 * idl/Accessibility.idl: add new IDL files
6814 * idl/Action.idl: Definitions of actionable UI object
6815 * idl/Component.idl: Definitions of UI component geometry, etc.
6816 * idl/Hyperlink.idl: Defs of hyperlink behavior
6817 * idl/Image.idl: Def of accessible image
6818 * idl/Selection.idl: Definition of UI object with selectable children
6819 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6820 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6821 * idl/Text.idl: Interface defs for UI elements with complex textual content
6822 * idl/Value.idl: Definition of UI element that is a value controller or display
6824 2001-07-27 Michael Meeks <michael@ximian.com>
6826 * po/Makefile.in.in: remove autogenerated file from CVS.
6828 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6831 * idl/Registry.idl: include guard.
6833 * idl/Accessibility.idl: Add, and include all the other IDL
6836 * idl/*.idl: remove mass of pragmas etc.
6838 2001-07-26 Michael Meeks <michael@ximian.com>
6840 * registryd/Makefile.am (registryd_SOURCES): remove
6843 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6845 * libspi/.cvsignore, registryd/.cvsignore,
6846 test/.cvsignore: updated.
6848 * po/Makefile.in.in: gettext update.
6850 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6852 * initial CVS checkin
6854 2001-06-29 Michael Meeks <michael@ximian.com>
6856 * configure.in: add AM_CONFIG_HEADER to gen config.h