1 2004-03-15 Laszlo Peter <laca@sun.com>
3 * libspi-1.0-uninstalled.pc.in: new file
5 * cspi-1.0-uninstalled.pc.in: new file
7 * configure.in: add the new pc files to AC_OUTPUT
9 * Makefile.am: add the new pc files to EXTRA_DIST
11 2004-03-12 Bill Haneman <billh@gnome.org>
13 * atk-bridge/bridge.c:
14 (spi_atk_bridge_key_listener):
15 Make sure to return consumed=FALSE if snoop
16 event is not dispatched to listener.
19 2004-03-01 Bill Haneman <billh@gnome.org>
21 * configure.in: Revved to 1.3.15,
24 2004-03-07 Danilo Segan <dsegan@gmx.net>
26 * configure.in: Added "sr@ije" to ALL_LINGUAS.
28 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
30 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
32 2004-03-01 Bill Haneman <billh@gnome.org>
34 * configure.in: Revved to 1.3.14.
37 (SPI_exit): Removed "bye-bye" exit message.
38 Moved "leak" report to happen before the
39 iteration over the leaked refs list.
40 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
42 2004-02-24 Bill Haneman <billh@gnome.org>
44 * configure.in: Revved to 1.3.13.
46 * docs/reference/cspi/Makefile.am:
47 Correct typo that was breaking the docs build.
49 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
51 * autogen.sh: Require version 1.7 of automake.
53 * configure.in: call GTK_DOC_CHECK([1.0])
55 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
57 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
59 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
61 * test/Makefile.am: Remove use of CFLAGS.
63 This fixes bug #132987.
65 2004-02-11 Bill Haneman <billh@gnome.org>
67 * reverted most of Tomasz' patch below, since it was breaking
68 builds (see bug #134058).
70 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
72 * docs/reference/cspi/at-spi-cspi.types: added empty file for
73 correct pass "make dist" (empty .. because seems no sach types in
74 header files with gtk-doc markups).
75 * docs/reference/cspi/Makefile.am, configure.in:
76 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
77 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
79 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
80 for force correct pass generate documentation on "make distcheck".
81 * libspi/Makefile.am: fixes for automake >= 1.6.
82 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
83 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
86 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
88 * docs/reference/cspi/Makefile.am (install-data-local): Install
89 index.sgml since the doc autobuilder on widget.gnome.org looks for
92 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
94 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
97 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
99 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
101 2004-01-27 Brian Cameron <brian.cameron@sun.com>
103 * test/simple-at.c: Fixed null string problems that cause core
104 dumping problems on Solaris.
106 2004-01-12 Bill Haneman <billh@gnome.org>
108 * configure.in: Incremented version to 1.3.11.
110 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
112 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
113 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
116 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
118 * configure.in: Added "fa" to ALL_LINGUAS.
120 2003-12-20 Arafat Medini <lumina@silverpen.de>
122 * configure.in: Added "ar" to ALL_LINGUAS
124 2003-12-16 Bill Haneman <billh@gnome.org>
126 * registryd/registry-main.c:
128 Set the reg_env DISPLAY variable before registering the
129 activated registry service. Fixes bug #129479.
131 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
133 * configure.in: Added "id" in ALL_LINGUAS
134 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
136 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
138 * registryd/deviceeventcontroller.c (global_filter_fn):
139 When an event is consumed discard any XEvents were added to
140 the queue while dealing with the the event. This can happen if
141 processing of the event takes a long time. Call XUngrabKeyboard
142 if an event was discarded. This fixes bug $124837.
143 Only call wait_for_release_event for a KeyPress.
144 Use local variable display instead of spi_get_display().
145 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
148 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
150 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
151 Allow for mask to contain values other than NumLock mask.
154 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
156 * registryd/devieceventcontroller.c:
157 (wait_for_release_event): Change first parameter from GdkEvent to
159 (global_filter_fn); Correct call to wait_for_release_event.
163 2003-12-08 Bill Haneman <billh@gnome.org>
167 * registryd/ucs2keysym.c: New file.
169 * registryd/deviceeventcontroller.c:
170 (dec_keysym_for_unichar): Remove old partial implementation and
171 replace with call to ucs2keysym(), which is much more complete.
172 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
177 2003-12-05 Bill Haneman <billh@gnome.org>
179 * configure.in: Version 1.3.9.
181 * docs/reference/cspi/tmpl/spi_registry.sgml:
182 Added reference to libspi/keymasks.h to the
183 description of Registry queries: AccessibleKeyMaskType.
186 2003-12-04 Bill Haneman <billh@gnome.org>
190 * idl/Accessibility_Application.idl:
191 (Accessibility::LOCALE_TYPE): New enum, corresponds to
192 setlocale's LC_TYPEs.
193 (Accessibility::Application::getLocale): New method.
194 Allows clients to query the locale, by type, of an app.
197 * cspi/spi_application.c:
198 (AccessibleApplication_getLocale): New method, wraps IDL above.
200 * libspi/application.c:
201 (spi_application_class_init): Init epv entry for getLocale.
202 (impl_accessibility_application_get_locale): Impl for above.
204 * test/test-simple.c:
205 (test_application): Added assertion for getLocale, i.e.
206 that the string from AccessibleApplication_getLocale (app, type)
207 is the same as that from setlocale (type, NULL);
209 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
211 *registryd/deviceeventcontroller.c: Add an idle handler which polls
212 the keyboard on a timeout intil the key state goes from pressed to
213 released. Fixes bug #111429.
215 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
217 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
218 root object so that it is present when a context menu in an
219 out-of-process applet is popped up.
220 (spi_atk_bridge_do_registration): Create acceessible application root
221 object only if it does not exist.
223 This fixes bug #125834.
225 2003-12-01 Bill Haneman <billh@gnome.org>
227 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
230 Added enum for AccessibleStreamableContentSeekType.
231 (AccessibleStreamableContent_freeContentTypeList): New.
233 * cspi/spi_streamablecontent.c:
234 (accessible_bonobo_stream_client_seek): New private method.
235 (AccessibleStreamableContent_seek): Implemented this method,
236 using Bonobo_Stream_seek.
237 (AccessibleStreamableContent_freeContentTypeList): New method
238 for freeing the return value from
239 AccessibleStreamableContent_getContentTypes.
240 (stream_cache_item_free): Replaces stream_release; stop leaks.
241 (stream_release): removed.
242 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
243 free the memory properly.
245 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
249 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
251 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
253 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
255 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
257 2003-12-01 Bill Haneman <billh@gnome.org>
259 Fix for bug/rfe #127463.
261 * idl/Accessibility_Accessible.idl:
262 (getLocalizedRoleName): New.
263 (unimplemented4): Removed (replaced by above).
265 * libspi/accessible.c:
266 (impl_accessibility_accessible_get_local_role_name): New.
267 (spi_accessible_class_init): Add getLocalizedRoleName entry to
271 (Accessible_getLocalizedRoleName): New.
273 * cspi/spi_accessible.c:
274 (Accessible_getLocalizedRoleName): New.
276 2003-12-01 Bill Haneman <billh@gnome.org>
279 * idl/Accessibility_Text.idl:
280 (getDefaultAttributes): New.
281 (unimplemented4): Removed (replaced by above method).
284 (impl_getDefaultAttributes): New method.
285 (spi_text_class_init):
286 initialize the get_default_attributes slot in the epv.
289 (AccessibleText_getDefaultAttributes): New prototype.
292 (AccessibleText_getDefaultAttributes): New method.
294 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
296 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
297 write beyond the end of the table. Fixes bug #120473.
299 2003-09-30 Christian Rose <menthos@menthos.com>
301 * configure.in: Added "eu" to ALL_LINGUAS.
303 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
305 * configure.in: ALL_LINGUAS: Added no.
307 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
309 * configure.in: Added lt to ALL_LINGUAS.
311 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
313 * atk-bridge/bridge.c:
314 (atk_bridge_init): Register event listeners always even for
315 out-of-process applet.
316 (spi_atk_bridge_toplevel_added): Remove call to
317 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
318 (spi_atk_bridge_toplevelk_removed): Remove call to
319 spi_atk_deregister_event_listenersa as the listeners are now always
321 (spi_atk_bridge_register_application): Remove call to
322 spi_atk_register_event_listeners as it is not done in atk_bridge_init
324 This fixes bug #120991.
326 * libspi/table.c (impl_getColumnDescription): Correct typo,
327 pointed out by Bolian.Yin@sun.com.
329 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
331 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
333 2003-09-08 Bill Haneman <billh@gnome.org>
335 * configure.in: Revved to 1.3.7.
337 This is the GNOME 2.4.0 release of at-spi.
339 * docs/reference/cspi/Makefile.am:
340 Removed spurious inclusion of 'index.sgml' in the
341 html directory; this was breaking make distcheck and
342 also some other build environments.
344 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
346 * registryd/registry.[ch}:
347 Add queue_handler_id and focus_object to SpiRegistry data structure.
348 (registry_flush_event_queue): If event being discarded is
349 "state-change:focused" store object as focus_object.
350 (registry_start_queue): Remove queue handler and focus object
352 (registry_discard_event): New function which discards a focus event
353 if we had stored focus object in the registry.
354 (registry_queue_event): Add new check that is_queueing is set as this
355 function is reentrant.
356 (registry_filer_event): Add call to registry_discard_event.
358 This resolves issues raised in bug #108664.
360 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
362 * configure.in: Added "bn" to ALL_LINGUAS.
364 2003-09-04 Bill Haneman <billh@gnome.org>
366 * cspi/spi_event.c: Documentation improvements for
367 (SPI_registerAccessibleKeylistener).
369 * docs/reference/tmpl/spi_registry.sgml:
370 Documentation improvements for SpiAccessibleKeylistenerCB.
372 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
374 * configure.in: Added "ro" to ALL_LINGUAS.
377 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
379 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
380 not decremented to zero. Fixes bug #120725.
382 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
384 * configure.in: Added "ja" to ALL_LINGUAS.
386 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
388 * configure.in: Added "is" to ALL_LINGUAS.
390 2003-08-22 Christian Rose <menthos@menthos.com>
392 * configure.in: Added "nl" to ALL_LINGUAS.
394 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
396 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
397 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
399 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
401 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
402 type for unspecified exception.
403 * cspi_streamablecontect): Add include of string.h for memcpy.
404 (stream_release): Correct call to bonobo_object_release_unref
405 (stream_cache_item_free): Correct call to bonobo_object_release_unref
406 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
407 argument of _cspi_expection_throw.
408 * libspi/hyperlink.c: Add include of libspi/action.h:
409 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
410 * libspi/streamablecontent.c: add include of libspi/component.h.
411 * regisrtyd/deviceeventcontroller.c:
412 (spi_dec_translate_mask): Removed unused variable priv.
413 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
414 * registryd/registry.c:
415 (registry_filter_event): Remove unused variable queue_is-empty.
416 (impl_registry_notify_event): Use correct modifier in fprintf call.
418 This fixes compiler warnings reported in bug #120220.
420 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
422 * registryd/registryd.c: Remove this file.
424 2003-08-17 Sanlig Badral <badral@openmn.org>
426 * configure.in: Added mn to ALL_LINGUAS.
428 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
430 * configure.in: Added et to ALL_LINGUAS.
432 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
434 * test/event-listener-test.c: Change active-descendant to
435 active-descendant-changed.
437 2003-08-10 Sami Pesonen <sampeson@iki.fi>
439 * configure.in: Added "fi" in ALL_LINGUAS.
441 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
443 * configure.in: Added "hi" in ALL_LINGUAS.
445 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
447 * configure.in: Revved to 1.3.6.
451 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
453 * registryd/deviceeventcontroller.c
454 (spi_device_event_controller_object_finalize): Fix typo in previous
457 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
459 * registryd/deviceeventcontroller.c
460 (spi_device_event_controller_object_finalize): Fix build on
461 systems without XEvIE.
463 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
465 * acconfig.h, configure.in, registryd/Makefile.am,
466 registryd/devicecontoller.[ch]: Add XEViE support.
468 2003-08-06 Wang Jian <lark@linux.net.cn>
470 * configure.in: Added "zh_CN" to ALL_LINGUAS.
472 2003-08-06 Metin Amiroff<metin@karegen.com>
474 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
476 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
478 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
479 MODIFIER_ALT in correct place.
481 This fixes part of bug #118114.
483 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
485 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
487 2003-07-28 Changwoo Ryu <cwryu@debian.org>
489 * configure.in: Added "ko" to ALL_LINGUAS.
491 2003-07-28 Ole Laursen <olau@hardworking.dk>
493 * configure.in: Added "da" to the commented out ALL_LINGUAS.
495 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
497 * configure.in: Added "sq" to ALL_LINGUAS.
499 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
501 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
503 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
505 * configure.in: updated ALL_LINGUAS list
507 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
509 * configure.in: Added Belarusian to ALL_LINGUAS.
511 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
513 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
515 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
516 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
518 This fixes bug #116949.
520 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
522 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
523 Correct CSPI to SPI in function documentation.
525 This fixes bug #118054.
527 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
529 * configure.in: Added Russian to ALL_LINGUAS.
531 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
533 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
535 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
537 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
539 2003-07-10 Joel Brich <joel.brich@laposte.net>
541 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
543 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
545 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
547 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
549 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
550 resources allocated for AccessibleEvent. See cspi_event().
552 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
553 static variable streams to NULL.
555 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
556 Update so that AcessibleEvent_ref will work.
558 This fixes bug #116624.
560 2003-07-06 Jordi Mallach <jordi@sindominio.net>
562 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
564 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
566 * configure.in: Added "fr" (French) to ALL_LINGUAS.
568 2003-07-02 Christian Neumair <chris@gnome-de.org>
570 * configure.in: Added "de" (German) to ALL_LINGUAS.
572 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
574 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
576 2003-07-01 Miloslav Trmac <mitr@volny.cz>
578 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
580 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
582 * configure.in: Added "pl" to ALL_LINGUAS.
584 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
586 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
588 2003-06-30 Bill Haneman <bill.haneman@sun.com>
591 (get_action_from_servant):
592 Removed assertion that action is implemented on an AtkObject.
594 * libspi/hyperlink.c:
596 Aggregate AccessibleAction interface on the hyperlink object if
597 the object implements AtkAction. (This convention is used in
600 2003-06-30 Bill Haneman <bill.haneman@sun.com>
602 * configure.in: Revved to 1.3.5.
604 * registryd/Accessibility_Registry.server.in.in:
605 Marked up appropriate strings for translation.
607 * atk-bridge/bridge.c: Marked a couple of
608 user-visible warnings for translation. Questionable
609 whether they are really useful, but possibly so.
612 2003-06-28 Christian Rose <menthos@menthos.com>
614 * configure.in: Added "sv" to ALL_LINGUAS.
616 2003-06-26 Bill Haneman <bill.haneman@sun.com>
618 * registryd/registry.c:
619 (spi_registry_object_finalize): Unref the deviceeventcontroller.
620 (registry_defer_on_event): Defer focus: events, this is an
621 improvement to the patch for bug #108664.
623 * TODO: Update with 2.4/"Dev Complete" items.
625 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
627 * atk-bridge/bridge.c:
628 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
629 looks up signals once.
630 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
631 if doing registration.
632 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
633 when doing registration.
635 This fixes bug #115014.
637 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
639 * atk-bridge/bridge.c:
640 (atk_bridge_init): Add signal handler for children-changed:remove on
641 root when in a BonoboComponent.
642 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
643 for first toplevel only other incrememt variable toplevels.
644 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
645 application and remove listeners.
646 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
648 (spi_atk_deregister_event_listeners): New function which removes
650 (reinit_register_vars): New fuction which reinitializes variables.
652 This fixes bug #111578.
654 2003-06-13 Bill Haneman <bill.haneman@sun.com>
656 * configure.in: version 1.3.4.
658 * cspi/spi_accessible.c:
659 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
662 2003-06-13 Michael Meeks <michael@ximian.com>
664 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
666 * cspi/spi_main.c (cspi_peek_ev): impl.
668 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
670 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
672 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
674 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
675 SPI_ROLE_AUTOCOMPLETE
677 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
679 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
680 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
682 2003-06-11 Bill Haneman <bill.haneman@sun.com>
684 * libspi/streamablecontent.h:
685 * libspi/streamablecontent.c:
686 New files, provide implementation/wrappers for
687 Accessibility_StreamableContent.
689 * cspi/spi_streamablecontent.c:
690 Connected the C wrappers to the libspi C bindings.
691 (AccessibleStreamableContent_close): New method.
694 (AccessibleStreamableContent_close): New method, needed
695 since we have an "open, [seek], read, close" model in cspi.
697 2003-06-11 Bill Haneman <bill.haneman@sun.com>
699 Fix for #108664; Padraig's revision of my original patch.
701 * registryd/registry.h:
702 Added event queue list, is_queuing, and exit_notify_timeout
703 to the registry struct.
705 * registryd/registry.c:
706 (registry_init): Initialize new struct from registry.h.
707 (impl_registry_notify_event):
708 Filter events before notifying, in case some need to be
710 (registry_filter_event): New,
711 we defer certain incoming events (for instance
712 window:deactivate) because we may wish to hide
713 or reject them based on pending events. This is
714 mostly a workaround for bug #108664.
715 (registry_queue_event, registry_start_queue): New.
716 (registry_defer_on_event): Test event to see if it
718 (registry_reset_on_event): Returns TRUE if the
719 event should cause a queue reset.
720 (registry_discard_on_event): Returns TRUE if the event
721 should cause the previous queue contents to be discarded.
722 (registry_timeout_flush_queue): Flushes the pending event
723 queue if no reset/discard-triggering events have come in
724 within the timeout period.
725 (registry_emit_event): New.
726 (registry_clone_notify_context): New, used when queueing the
727 event notify contexts.
729 2003-06-10 Bill Haneman <bill.haneman@sun.com>
731 * configure.in: Version revved to 1.3.2, lt 0.9.2
732 Incremented ATK required version to 1.3.4.
734 * cspi/spi_registry.c:
735 (SPI_generateKeyEvent):
736 We now pass the keystring along if it's non-null.
738 * registryd/deviceeventcontroller.c:
739 (keysym_mod_mask): New method, returns modifier mask
740 required to generate a keysym from a given keycode.
741 (dec_synth_keysym): New method.
742 (dec_synth_keystring): New method.
743 (dec_get_modifier_state): New method.
744 (dec_lock_modifiers): New
745 (dec_unlock_modifiers): New.
746 (dec_keysym_for_unichar): New, rather brute-force
747 conversion from UCS-4 to X KeySyms. Only works for
748 Latin at the moment, with partial implementations for
749 Greek, Hebrew, and (incomplete) Katakana.
750 (impl_generate_keyboard_event): Now implement
751 "KEYSTRING" synthesis and implement "KEYSYM"
753 (keycode_from_keysym): Improved, passes a returned
754 modmask value now if the corresponding param is non-NULL.
756 Fixes bugs #92143 and #109776.
759 * test/keysynth-test.c:
760 New test program for key synthesis, to confirm fixes for
764 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
766 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
768 * cspi/spi_accessible.c (cspi_init_relation_type_table):
769 Add line for RELATION_POPUP_FOR
771 * docs/reference/cspi/tmpl/spi_relation.sgml:
772 Add relation SPI_RELATION_POPUP_FOR
774 * docs/reference/cspi/tmpl/spi_stateset.sgml:
775 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
777 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
779 * libspi/relation.c (spi_init_relation_type_table):
780 Add line for RELATION_POPUP_FOR
782 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
784 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
785 there are still windows which have not been deleted and emit
786 window:deactivate, if necessary and window:destroy events.
787 This fixes bug #114370. The change on June 5th was not correct.
789 2003-06-09 Bill Haneman <bill.haneman@sun.com>
791 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
794 (SPI_dupString): Allow dup-ing of a string such that it's safe to
796 New methods for client exception handling and interception.
797 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
798 (SPI_exceptionHandlerPop): You guessed it...
799 (SPI_getSourceType): Return the type of object which offended.
800 (SPI_getExceptionCode): Return an enum code telling, possibly,
801 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
802 (SPIAccessibleException_getSource): get the source object for
803 exceptions that come from Accessibles, if SPIExceptionSourceType is
804 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
805 (SPIException_getDescription): New, returns a string description of
806 the problem. [Not yet a stable ABI, strings are not frozen]
808 * cspi/spi-private.h:
809 Added implementation details of opaque SPIException
813 Implementations of above. Also
814 (_cspi_exception_throw): new private method that
815 dispatches exceptions to handlers, called from cspi-bonobo.c
817 * cspi/bonobo/cspi-bonobo.c:
818 (cspi_check_ev): call _cspi_exception_throw.
819 Don't print a warning message if the exception has been
820 handled by _cspi_exception_throw.
822 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
824 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
825 there are still windows which have not been deleted and emit
826 window:deactivate, if necessary and window:destroy events.
827 This fixes bug #114370.
829 2003-06-03 Bill Haneman <bill.haneman@sun.com>
832 (cspi_accessible_is_a): Make non-fatal
833 if the object reference is dead.
835 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
837 * cspi/spi_main.c: #include <stdio.h>
838 * test/simple-at.c: ditto
839 * test/event-listener-test.c: ditto
840 * test/screen-review-test.c: ditto
842 2003-05-30 Michael Meeks <michael@ximian.com>
844 * test/test-simple.c (main): use CORBA_ORB_perform_work
845 instead of an unnecessary linc_ call.
847 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
849 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
850 Add SPI_STATE_INDETERMINATE.
852 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
855 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
857 * libspi/stateset.c (init_state_type_tables): Add support for
860 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
862 * configure: Update versions of atk and gail required.
863 This fixes bug #113268.
865 2003-05-02 Bill Haneman <bill.haneman@sun.com>
867 * configure.in: Revved micro version to 1.3.1 (because of build fix).
869 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
871 * libspi/Makefile.am:
872 Ensure headers are generated before being used by c sources.
874 2003-05-01 Bill Haneman <bill.haneman@sun.com>
877 Simplified lt versioning rules.
878 Incremented version to 1.3.0, to indicate that we're on the
881 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
883 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
884 Add MKDB_OPTIONS=--outtput-format=xml
886 * docs/reference/cspi/at-spi-cspi-docs.sgml
887 docs/reference/idl/at-spi-idl-docs.sgml:
888 Convert to Docbook XML.
890 This fixes bug #111793.
892 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
894 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
895 AcccessibleKeyEventType, AccessibleKeyMaskType.
897 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
899 * cspi/state-types.h: Add documentation for AccessibleState.
901 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
902 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
903 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
904 AccessibleComponentLayer.
906 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
909 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
911 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
912 Accessible. Add description of AccessibleEvent,
913 AccessibleEventListenerCB.
915 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
918 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
919 documentation. Add description of AccessibleKeystrokeListenerCB,
920 AccessibleKeyEventMask, AccessibleModifierMaskType,
921 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
922 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
924 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
927 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
930 This fixes bug #104730.
932 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
934 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
935 Set is_text field of Accessibility_DeviceEvent data structure.
937 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
938 is-text field of AccessibleDeviceEvent data structure.
940 This addresses part of bug #108666.
942 * registryd/devcieeventcontroller.c: Unset debug option.
944 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
947 (cpi_initial_relation_type_table): New function which initializes
948 mapping between Accessibility_RelationType and AccessibleRelationType.
949 (cspi_relation_type_from_spi_relation_type): New function which
950 translates an Accessibility_RelationType into an AccessibleRelationType.
951 (AccessibleRelation_getRelationType): Use
952 cpi_relation_type_get_spi_relation_type to return correct value.
953 (spi_state_to_corba): Return correct type for default case.
955 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
956 Use Accessibility_EventType instead of Accessibility_KeyEventType.
958 * cspi/cspi-bonobo-listener.c:
959 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
962 * libspi/accessible.c, libspi/action.c, libspi/application.c,
963 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
964 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
965 libspi/image.c, libspi/listener.c, libspi/selection.c,
966 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
967 registryd/desktop.c, registryd/registry.c:
968 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
970 * libspi/eventlistener.c
971 Remove semicolon after BONOBO_TYPE_FUNC.
974 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
975 (spi_init_relation_type_table): Initialize using correct type.
977 * registryd/desktop.c:
978 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
979 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
980 of Accessibility_KeyEventType.
982 * test/key-listener-test.c (report_tab_key_event): Use fprintf
985 * tests/simple-at.c, tests/screen-review-test.c:
986 Add include for <strings.h>.
988 * tests.stress-test.c:
989 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
991 These changes fix compiler warnings when using FORTE compiler on
992 Solaris; fixes bug #107479.
995 2003-04-10 Bill Haneman <bill.haneman@sun.com>
998 * configure.in: revved to 1.1.10
1000 * libspi/keymasks.h:
1001 (SPI_KEYMASK_NUMLOCK): Added.
1003 * registryd/deviceeventcontroller.c:
1004 (spi_key_event_matches_listener): AND with a smaller
1005 bitmask (as we should).
1006 (spi_dec_translate_mask):
1007 New method, sets the virtual NumLock modifier bit
1008 if numlock is on. Eventually it can handle other virtual
1009 modifier bits if needed, or other marshalling from
1010 at-spi modifier masks to platform (X) masks.
1011 (spi_dec_key_listener_new):
1012 Call spi_dec_translate_mask to set up virtual mod bits
1013 in the 'mask' field when creating a new listener struct.
1014 (spi_dec_emit_modifier_event):
1015 Set the virtual (i.e. NumLock) bits before emitting event.
1016 (spi_controller_register_with_devices):
1017 Query for the NumLock modifier 'physical' bit if Xkb is
1018 present, for use in above methods.
1022 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1024 * registryd/deviceeventcontroller.c:
1025 (spi_keystroke_from_x_key_event):
1026 Instead of checking to see if the keysym is
1027 printable, check the string from XLookupString
1028 if available, get the first unicode character from it,
1029 and call g_unichar_isprint to determine whether the
1030 is_text flag should be TRUE or FALSE.
1034 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1036 * atk-bridge/bridge.c: Add support for extended events
1037 * cspi/spi_event.c: Add documentation and implementation for
1039 * tests/event-listener-test.c: Add tests for extended events.
1041 This fixes bugs #100424 and #100426.
1043 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1045 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1046 of LT_CURRENT. This fixes bug #89350.
1048 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1050 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1051 number of signal parameter values before accessing them. This fixes
1054 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1056 * configure.in: Fixed duplicate inclusion of -lspi.
1057 * branched for gnome-2-2/HEAD.
1058 [created tag "gnome-2-2"]
1060 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1062 * configure.in: 1.1.9 release.
1065 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1067 [needed by GOK, to fix bugs 107985 and 107988]
1068 * registryd/deviceeventcontroller.c:
1069 (spi_dec_clear_unlatch_pending):
1070 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1071 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1072 (spi_dec_init_mouse_listener):Emit warning if mouse button
1074 (spi_device_event_controller_forward_mouse_event):
1075 Removed unnecessary parens from a conditional.
1076 (global_filter_fn):Added TODO comment.
1077 (impl_generate_keyboard_event):
1078 Cancel a pending relatch if a 'delatching' key was
1081 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1083 * atk-bridge/bridge.c:
1084 Change atk_signal_child_changed to atk_signal_children_changed.
1085 Reorganize code in spi_atk_bridge_signal_listener().
1087 * test/event-listener-test.c:
1088 Add children_changed_listener and report_children_changed_event()
1089 to test AccessibleChildEvent_getChildAccessible.
1091 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1093 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1094 g_strdup to CORBA_String_dup (bug #105291)
1096 * test/event-listener-test.c (report_text_event): Add call to
1099 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1101 * registryd/deviceeventcontroller.c:
1102 (spi_keystroke_from_x_key_event):
1103 Fix string and keysym return codes to match modifier state.
1106 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1108 * registryd/deviceeventcontroller.c:
1109 (spi_keystroke_from_x_key_event):
1110 Fix segv due to improper use of isprint(c). [bug #107254]
1112 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1115 (get_accessible_text_boundary_type):
1116 Move default return value to (new) default case in switch.
1117 (get_accessible_text_clip_type):
1118 Move default return value to (new) default case in switch.
1120 * libspi/application.c:
1121 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1122 Remove unused methods.
1123 (impl_accessibility_application_register_object_event_listener):
1124 Remove unused methods.
1127 Added #include of <math.h>.
1129 * registryd/deviceeventcontroller.c:
1130 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1131 we don't currently use this method.
1132 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1134 (impl_generate_key_event):
1135 Remove unused variables.
1136 (impl_generate_mouse_event):
1137 Initialize button to zero, just in case we get an invalid
1138 input. Added support for mouse buttons 4 and 5.
1139 (spi_device_event_controller_new):
1140 Removed unused variable declaration for 'private'.
1142 Added #include of <gdk/gdk.h>
1144 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1146 * configure.in: Update to work when X is not installed in expected
1147 location. Fixes bug #105836.
1149 * atk-bridge/bridge.c
1150 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1152 (spi_atk_register_event_listener): Add signal listener for
1154 (spi_atk_bridge_signal_listener): Event event when link-selected
1155 signal is emitted. (bug #104622)
1157 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1158 on returned string. (bug #105291)
1160 * test/event-listener-test.c: Add test for link-selected.
1162 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1164 * atk-bridge/Makefile.am: Correct typo in previous commit.
1166 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1168 * atk-bridge/Makefile.am: Allow for build directory to be different
1169 from source directory
1171 * registryd/Makefile.am: Allow for build directory to be different
1172 from source directory
1176 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1179 Fixed dependencies for libcspi so that libspi gets pulled in
1180 properly. Fixes 104741.
1184 Clean up inline docs a little.
1186 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1188 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1189 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1190 the AtkObject within an SpiDesktop.
1191 This addresses bug #101524.
1193 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1194 Remove call to gdk_init().
1196 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1197 so that Display is set when SpiDesktop is created.
1199 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1201 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1202 This fixes bug #102830.
1204 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1206 * test/test-simple.c: Update to take account of fact that GailButton
1207 now implements AtkText.
1208 (create_text_window): Set name on AtkObject for GtkEntry.
1209 (validate_accessible): Check accessible name before calling test_text().
1211 * libspi/Makefile.am: Fix problem with building outside of source
1212 directory. Bug #98120.
1214 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1215 typo in documentation comments. Bug #94275.
1217 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1219 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1221 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1224 Add includes to avoid compiler warnings on Solaris.
1225 (impl_getRangeExtents): Bug fix.
1227 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1229 Fix for 100944, [API addition approved by Gman and murrayc].
1236 * idl/Accessibility_Text.idl:
1237 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1238 (Text::getRangeExtents): New method for efficient
1239 bounds query of a text range.
1240 (Text::getBoundedRanges): New method for efficient
1241 clipping of text to bounding boxes.
1242 (unImplemented7, unImplemented8):
1243 Removed these padding methods to preserve bincompat.
1246 (impl_getRangeExtents): implementation of new IDL.
1247 (impl_getBoundedRanges): implementation of new IDL.
1248 (SpiTextRect): Internal use struct.
1249 (_spi_text_rect_union): internal method, calculates union of two
1250 SpiTextRect bounding rects.
1251 (_spi_text_range_seq_from_gslist): internal method, allows us
1252 to build our sequence efficiently as a gslist then convert it
1254 (_spi_bounds_contain): internal method, determines whether
1255 a text character is "in" or "out" of a clip rect according to
1256 values of TEXT_CLIP_TYPE.
1257 (spi_text_class_init): Initialize the new methods in the epv.
1260 (AccessibleTextClipType): New enum used by screen review api.
1261 (AccessibleTextRange): New struct used by screen review api.
1262 (AccessibleText_getRangeExtents):
1263 cspi binding for Accessibility_Text_getRangeExtents.
1264 (AccessibleText_getBoundedRanges):
1265 cspi binding for Accessibility_Text_getBoundedRanges.
1266 (AccessibleTextRange_freeRanges): convenience method.
1269 (AccessibleText_getRangeExtents):
1270 cspi binding for Accessibility_Text_getRangeExtents.
1271 (AccessibleText_getBoundedRanges):
1272 cspi binding for Accessibility_Text_getBoundedRanges.
1273 (AccessibleTextRange_freeRanges): convenience method.
1274 (get_accessible_text_clip_type): internal conversion method.
1275 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1277 * registryd/deviceeventcontroller.c:
1278 (spi_dec_mouse_check):
1279 Improved behavior for mouse:abs events
1280 [same granularity as mouse:rel events, and no
1281 events when mouse is idle].
1283 2002-12-16 Michael Meeks <michael@ximian.com>
1285 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1287 * libspi/stateset.c (state_spi_to_atk): split out
1288 ( fix several remote array bounds nasties )
1289 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1290 (impl_remove): make safe from array bounds issues.
1291 (spi_atk_state_from_spi_state): impl.
1293 * libspi/stateset.h (spi_state_set_cache_is_empty):
1294 add a set of wrapper defines to get layering right.
1296 * cspi/spi_accessible.c: update state set stuff to
1299 2002-12-14 Michael Meeks <michael@ximian.com>
1301 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1302 to avoid 2 roundtrips to the registry per key event
1303 (spi_atk_bridge_key_listener): upd.
1304 (deregister_application): release the dec.
1306 * registryd/registry.c (notify_listeners_cb):
1307 bin lots of re-enterant complexity - we no longer
1308 do a round-trip bonobo ref here, ensure that a single
1309 listener's exception failure won't poison all other
1311 (impl_registry_notify_event): bin obvious memory leak.
1313 2002-12-13 Michael Meeks <michael@ximian.com>
1315 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1316 init the ev so the error is meaningful.
1317 (spi_atk_bridge_key_listener): ditto.
1319 * cspi/spi_main.c (cspi_ev): init the ev so we start
1320 with a clean slate, otherwise the first exception
1321 kills us completely.
1323 * cspi/spi_text.c (get_accessible_text_boundary_type):
1324 add a fallthrough for no warnings.
1326 * cspi/spi_registry.c: prune unused warnings.
1328 * cspi/spi_main.c (cspi_object_take): fix
1329 mind-blowing brokenness ( by watching the compile
1332 * cspi/spi_accessible.c (Accessible_getStateSet):
1333 re-impl. to use an AtkStateSet.
1334 (spi_state_type_from_accessible_state),
1335 (init_state_table): bin these.
1337 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1339 (atk_state_set_from_accessibility_state_set): here.
1341 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1342 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1343 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1344 (AccessibleStateSet_add, AccessibleStateSet_remove),
1345 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1346 (AccessibleStateSet_isEmpty): re-write to use a local
1349 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1351 * configure.in: Revved to 1.1.7 (new keymask vals).
1353 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1355 * libspi/keymasks.h:
1356 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1358 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1361 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1362 to compare two CORBA_TypeCodes.
1363 (cspi_internal_event_add): Silence warning from FORTE compiler.
1365 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1366 avoid implicit declaration of functions.
1368 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1370 * atk-bridge/bridge.c:
1371 (spi_atk_bridge_init_event_type_consts): Store signal id for
1372 active-descendant-changed signal.
1373 (spi_atk_register_event_listeners): Add signal listener for
1374 active-descendant-changed signal,
1375 (spi_atk_bridge_signal_listener): Move code in function
1376 spi_atk-signal_emit_event() into this function.
1377 Add support for active-descendant-changed
1378 Update support for child-changed signal.
1379 (spi_bridge_window_event_listener): Silence warning.
1381 * libspi/spi_private.[ch]:
1382 (spi_init_any_object): Change second parameter from CORBA_Object to
1384 Omit call to CORBA_Object_duplicate().
1385 Set CORBA_any's _value to CORBA_Object*.
1387 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1393 (AccessibleEvent_ref, AccessibleEvent_unref):
1394 New methods, for persisting an event outside the emission context.
1395 Must be used if the new accessor methods are to be called
1396 outside of the event listener's callback.
1398 * cspi/bonobo/cspi-bonobo.c:
1399 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1400 as second parameter instead of NULL, so we can call
1401 cspi_check_ev afterwards.
1404 (cspi_object_take): New internal method,
1405 converts a CORBA_Object reference to a hard ref on
1406 an Accessible if possible, returning NULL if the object
1407 reference is invalid or an Accessible * otherwise.
1410 (AccessibleEvent_ref):
1411 Increment the event's internal private refcount, and
1412 add the event's internal struct to an internal cache
1413 if it's not already there.
1414 (AccessibleEvent_unref):
1415 Decrement the event's refcount and remove it from
1416 the cspi event cache if refcount==0.
1417 (cspi_event_compare): New private method.
1418 Compares two event structs via their ids. Used
1420 (cspi_internal_event_lookup): New private method.
1421 (cspi_internal_event_check): New private method,
1422 a 0-order sanity check for events to make sure their
1423 private data is intact.
1424 (cspi_internal_event_add, cspi_internal_event_remove):
1425 New private methods for managiing the event cache.
1427 * cspi/bonobo/cspi-bonobo-listener.c:
1429 Initialize the new private data elements (id, magic, ref_count).
1431 * atk-bridge/bridge.c:
1432 (spi_atk_bridge_signal_listener):
1433 Fixed bug #100530, passing wrong params to emission func.
1435 * registryd/deviceeventcontroller.c:
1436 (spi_dec_button_update_and_emit):
1437 Fixed type in mask bit operations; fix for #99799.
1439 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1441 Removed some of the more dangerous workarounds from
1442 previous commit; they are only needed by GOK, which
1443 in reality should be using another method to accomplish
1444 the goals. So on reconsideration some of the workarounds
1445 need to be reverted:
1447 * registryd/deviceeventcontroller.c:
1448 (spi_keycodes_contain, spi_dec_init_keycode_list):
1449 Removed these methods, used only by a nasty hack to try
1450 and detect whether a key synthesis should be allowed
1451 to reset the XKB latch state or not. This code was only
1452 required to work around an interaction between GOK,
1453 button events, and XKB.
1454 (impl_generate_key_event):
1455 Removed hack at end of key generation that tried to
1456 "do the right thing" if XKB latch keys were generated
1457 in the midst of button press/release pairs.
1460 Added a check for HAVE_XINPUT. Not normally used yet.
1462 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1464 Workarounds and fixes for mouse event/XKB interaction.
1466 * registryd/deviceeventcontroller.c:
1467 (spi_keycodes_contain, spi_dec_init_keycode_list):
1468 New internal methods.
1469 (spi_dec_set_unlatch_pending):
1470 Split the method that tells XKB to expect an
1471 unlatch (and revert it) out of the rest of the
1472 event handling code. This method is called by the
1473 two mouse event handlers (the poll and the filter).
1474 (spi_dec_update_and_emit, spi_dec_mouse_check):
1475 New methods split from spi_dec_poll_mouse_moved.
1476 The second one is now called from inside the filterFn
1477 when an XKB delatch event is received, to determine
1478 whether to revert the delatch or not.
1479 (spi_poll_mouse_moved): Refactor; also we can now
1480 properly handle the case where multiple button states
1481 have changed between polling cycles and we didn't get
1482 notified due to another client's grab.
1484 Synchronize the server while handling an XKB notification.
1485 Ugly, but apparently necessary to avoid nasty races.
1486 Check the mouse state on receipt of an XKB latch change,
1487 to decide whether to revert the latch or not. (Latches are
1488 reverted if there is an immediately preceding mouse button
1489 event that a client has consumed, in which case we don't want
1490 the user to see the side-effect of the event).
1491 (spi_device_event_controller_forward_mouse_event):
1492 Check for modifier events and fire before resetting mouse_mask_state,
1493 prevents losing modifier events.
1495 (impl_generate_keyboard_event):
1496 If we've just generated a keyboard event for a non-shift key,
1497 we don't want to revert the pending XKB latch.
1498 Otherwise, check the modifier state (via a call to
1499 spi_dev_mouse_check) and set the relatch mask to
1500 that state before returning.
1502 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1505 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1508 * atk-bridge/bridge.c:
1509 (spi_atk_register_event_listeners):
1510 Don't re-register for ATK events if the registry has died
1511 and the app needs to re-register; the ATK listeners are in
1512 process and doing so will cause duplicate emission.
1514 * registryd/deviceeventcontroller.c:
1515 (spi_poll_mouse_moved):
1516 Reformat the source, detect and emit multiple button-change
1517 events (i.e. if multiple buttons have changed between poll
1519 Add code to detect mouse-down events even when the pointer
1520 is grabbed; workaround for GOK bug 98420.
1521 (spi_controller_register_with_devices):
1522 Call XTestGrabControl with 'impervious' flag set to True,
1523 allows us to synthesize events and query the pointer even during
1524 an active grab by another client.
1525 (spi_device_event_controller_forward_mouse_event):
1526 Set the mouse_mask_state to the mouse_button_state from
1527 the intercepted event, to synchronize the grab listener with
1530 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1532 * cspi/spi_accessible.c:
1533 (AccessibleRole_getName):
1534 Added necessary strings for making this (deprecated)
1535 method work with the new role types.
1536 (init_role_table, role_table):
1537 Added definition of SPI_ROLE_APPLICATION.
1539 * libspi/spi-roletypes.h:
1540 Added SPI_ROLE_APPLICATION.
1542 * idl/Accessibility_Role.idl:
1543 Added ROLE_APPLICATION.
1545 * docs/reference/cspi/at-spi-cspi-decl.txt:
1546 Added SPI_ROLE_APPLICATION to docs.
1548 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1550 * cspi/spi_accessible.c
1551 (cspi_init_role_table): Do not write beyond end of role_table.
1552 (Accessible_getRole): Use correct type for value returned by
1553 Accessibility_Accessible_getRole().
1555 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1556 beyond end of role_table. (This fixes bug #98269)
1558 * libspi/application.c: Add include file spi-private.h for
1559 definition of spi_init_any_nil.
1561 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1565 * libspi/spi-private.h:
1566 Added DGB() macro, and extern int _dbg declaration.
1568 * registryd/registry.c:
1569 (definitions) storage for _dbg.
1570 (spi_registry_init):
1571 Get environment variable "AT_SPI_DEBUG".
1572 (spi_registry_set_debug):
1573 New method, to initialize _dbg value.
1574 (spi_listener_struct_new, spi_registry_object_finalize):
1575 (notify_listeners_cb):
1576 Changed fprintfs to use DBG and g_warning().
1578 * registryd/deviceeventcontroller.c:
1579 (_deregister_keygrab, spi_controller_register_device_listener):
1580 Changed debug/warning messages to use DBG macro.
1582 * libspi/listener.c:
1583 (impl_notify_event):
1584 Changed warning messages to use DBG macro and g_warning().
1586 * atk-bridge/bridge.c:
1587 (atk_bridge_init, spi_atk_bridge_get_registry):
1588 (spi_atk_bridge_exit_func):
1589 (spi_atk_bridge_property_event_listener):
1590 Changed status, warning, and error messages to use
1591 g_warning, g_message, and DBG macros.
1594 Read the state of the AT_SPI_DEBUG environment variable
1595 and set a local '_dbg' accordingly.
1597 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1599 FIXES for 98836, 98842, other bugs.
1602 Revved to 1.1.4, interface-age=4, binary-age=4.
1604 * registryd/deviceeventcontroller.c:
1606 Fixed crasher bug in last_mouse_pos initialization.
1608 * registryd/registry.c:
1609 (desktop_add_application, desktop_remove_application):
1610 Added (and then commented out) some support for
1611 object context marshalling. [TODO]
1613 * atk-bridge/bridge.c:
1614 (spi_atk_bridge_event_context_create):
1615 Commented out object context creation until it can
1616 be properly tested and debugged.
1618 * registryd/registry.c:
1619 (impl_registry_notify_event):
1620 Fixed crasher bug, we were calling
1621 spi_re_entrant_list_foreach () with an empty list.
1623 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1625 * idl/Accessibility_Action.idl:
1626 * idl/Accessibility_Component.idl:
1627 * idl/Accessibility_Desktop.idl:
1628 * idl/Accessibility_Event.idl:
1629 * idl/Accessibility_Hyperlink.idl:
1630 * idl/Accessibility_Image.idl:
1631 * idl/Accessibility_Relation.idl:
1632 * idl/Accessibility_Selection.idl:
1633 * idl/Accessibility_State.idl:
1634 * idl/Accessibility_Value.idl:
1635 Updated unimplemented slot count to minimum of
1636 four for all interfaces, for ABI freeze.
1638 * idl/Accessibility_EditableText.idl:
1639 * idl/Accessibility_Text.idl:
1640 Updated unimplemented slot count to six
1643 * idl/Accessibility_Registry.idl:
1644 Updated unimplemented slot count to six
1645 (also for DeviceEventController),
1648 * idl/Accessibility_Table.idl:
1649 Updated unimplemented slot count to eight,
1652 * idl/Accessibility_Event.idl:
1653 Added CORBA_any "any_data" member to Event struct.
1655 * idl/Accessibility_Event.idl:
1656 Added CORBA_any "any_data" member to Event struct.
1658 * atk-bridge/bridge.c:
1660 atk_signal_text_changed, atk_signal_child_changed,
1661 signal ids queried from gtype system.
1662 (AtkBridgeEventContextType): New enum.
1663 (AtkBridgeEventContextData): New struct.
1664 (AtkBridgeEventContext): New struct.
1665 (atk_bridge_init_event_type_consts):
1666 New method, initializes type contants for comparison
1667 prior to emit_eventv.
1668 (atk_bridge_event_context_init): New method,
1669 initializes a CORBA_any from an AtkBridgeEventContext.
1670 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1671 initialize the event.any_data struct.
1672 (spi_atk_bridge_event_context_create): New method,
1673 creates an AtkBridgeEventContext from signal/event info.
1674 (spi_atk_bridge_event_context_free): New method.
1675 (spi_atk_emit_eventv): Changed to take an
1676 AtkBridgeEventContext parameter. We now initialize
1677 the event.any_data member prior to notifying the
1678 Registry, via the AtkBridgeEventContext.
1679 (spi_atk_bridge_property_event_listener):
1680 (spi_atk_bridge_state_event_listener):
1681 Match emit_eventv signature.
1682 (spi_atk_bridge_object_event_listener):
1683 Match emit_eventv signature, and create an
1684 event context from the event details.
1685 Free the event context afterwards.
1686 (spi_atk_bridge_window_event_listener):
1687 Create an event context, pass it to the
1691 (AccessibleEvent_getContextString):
1692 (AccessibleEvent_getContextObject):
1693 New methods, allow query of AccessibleEvent objects
1694 for more context details (via the "any_data" member
1695 of the Event struct, above).
1698 Definitions for AccessibleEvent_getContextString
1699 and AccessibleEvent_getContextObject.
1701 * cspi/spi_listener.h:
1702 (InternalEvent): New struct.
1705 (AccessibleEvent_getContextString):
1706 (AccessibleEvent_getContextObject):
1707 Implementations of new methods, for obtaining
1708 additional context information from some event types.
1710 * cspi/spi_registry.c:
1711 (SPI_registerGlobalEventListener):
1712 Added mention of active-descendant-changed event in docs.
1714 * cspi/cspi-bonobo-listener.c:
1716 Marshal the any into the AccessibleEvent via
1719 * libspi/spi-private.h:
1720 #include <orbit/orbit.h>
1722 (spi_init_any_string):
1723 (spi_init_any_object):
1724 New convenience function declarations.
1728 (spi_init_any_string):
1729 (spi_init_any_object):
1730 New convenience function implementations.
1732 * registryd/deviceeventcontroller.c:
1733 (spi_poll_dec_mouse_moved):
1734 (spi_device_event_controller_forward_mous_event):
1735 Initialize any_data member of event.
1736 (spi_deregister_controller_device_listener):
1737 Fix incorrect param pass which was preventing deregistration.
1739 * registryd/registry.c:
1740 (desktop_add_application):
1741 (desktop_remove_application):
1742 Add object data to event's any_data before dispatch.
1744 Fix for error messages from GAIL.
1746 * test/event-listener-test.c:
1747 Test new ContextString and "any_data" API:
1748 (report_text_event): New method query and output context string.
1749 (main): register a new text listener with report_text_event
1752 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1754 Fixes for bugs 98127 and 97914.
1755 * cspi/spi-roletypes.h:
1756 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1758 * cspi/spi-statetypes.h:
1759 Added SPI_STATE_MANAGES_DESCENDANTS
1761 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1762 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1763 * cspi/spi_accessible.c:
1764 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1765 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1766 Accessibility_STATE_MANAGES_DESCENDANTS
1767 * libspi/accessible.c:
1768 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1769 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1770 As requested by Bill, I also cleaned up the alignment.
1771 * libspi/relation.c:
1772 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1773 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1774 * libspi/stateset.c:
1775 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1776 Accessibility_STATE_MANAGES_DESCENDANTS
1777 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1778 Document changes reflecting modifications to roles.
1779 * docs/reference/cspi/tmpl/spi_relation.sgml:
1780 Document changes reflecting modifications to relations.
1781 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1782 Document changes reflecting modifications to states.
1784 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1787 Revved to 1.1.3, interface-age=3, binary-age=3.
1788 Added REBUILD macro.
1791 Removed accessx-gui from the tests, since we have a nice
1792 keyboard accessibility capplet now :-)
1794 * test/keysynth-demo.c:
1795 (increment_scan): removed do-nothing default: case,
1798 * test/visual-bell.c:
1799 (main) : removed do-nothing default: case,
1802 * cspi/spi_action.c:
1803 (AccessibleAction_getKeyBinding_):
1804 Documented keybinding string format.
1808 (AccessibleText_getAttributes):
1809 Documented the text attribute string format.
1810 It's changed to use semicolon delimiters also,
1811 to prevent clashes with CSS attributes, but the old
1812 trick of looking for ", " strings will still work
1813 (as unreliably as ever). Fix for bug related to 97916.
1816 Include <cspi/bonobo/cspi-bonobo-listener.h>
1817 Fixes build warning.
1818 (SPI_freeAccessibleKeySet):
1819 (AccessibleKeystrokeListener_addCallback):
1820 (AccessibleKeystrokeListener_removeCallback):
1821 Modify to use AccessibleDeviceListener API internally,
1822 instead of AccessibleKeystrokeListener.
1824 * idl/Accessibility_Event.idl:
1825 Added two more empty slots to EventListener (for a total of four).
1827 * idl/Accessibility_Accessible.idl:
1828 Added four empty slots to Accessible interface.
1830 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1832 * idl/Accessibility_Registry.idl:
1833 (KeyEventType, EventType):
1834 Marked KeyEventType as deprecated; it duplicates
1835 functionality of EventType, which has been extended to
1836 include Mouse-button events.
1837 (KeyEventTypeSeq): defined in terms of EventType.
1838 (registerDeviceEventListener, deregisterDeviceEventListener):
1839 New methods, for managing listeners to device events,
1840 which potentially may consume them.
1843 Added definition for AccessibleDeviceListener.
1845 * cspi/spi-listener.h:
1846 (enum AccessibleDeviceEventType):
1847 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1848 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1849 for backwards compat.
1850 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1851 and typedef'd AccessibleKeystroke to it for back-compat.
1852 (AccessibleDeviceListenerCB):
1853 New function prototype typedef.
1856 (AccessibleDeviceEventMask): New typedef.
1857 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1858 (AccessibleKeyMaskType):
1859 Set equivalent to AccessibleModifierMaskType for back-compat.
1860 (SPI_createAccessibleKeystrokeListener):
1861 (AccessibleKeystrokeListener_unref):
1862 Deprecated in favor of equivalent (better-named) new API below..
1863 keystroke listeners are like all device listeners.
1864 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1865 New API names for old features :-).
1866 (AccessibleDeviceListener_addCallback):
1867 (AccessibleDeviceListener_removeCallback):
1868 (SPI_registerDeviceEventListener):
1869 (SPI_deregisterDeviceEventListener):
1873 (SPI_createAccessibleKeystrokeListener):
1874 Use new preferred API, cspi_device_listener_new() and
1875 cspi_device_listener_add_cb().
1876 (AccessibleKeystrokeListener_removeCallback):
1877 Use new preferred API, cspi_device_listener_remove_cb().
1878 (AccessibleKeystrokeListener_unref):
1879 Use new preferred API, cspi_device_listener_unref().
1880 (SPI_createAccessibleDeviceListener):
1881 (AccessibleDeviceListener_addCallback):
1882 (AccessibleDeviceListener_removeCallback):
1883 Implementation of new API.
1885 * cspi/spi_registry.c:
1886 (SPI_registerDeviceEventListener):
1887 (SPI_deregisterDeviceEventListener):
1888 Implementation of new API. Fixed memory leak and removed need to
1889 allocate EventTypeSeq (thanks Michael for catching this).
1890 Squashed a wayward CORBA_exception_free that shouldn't get called.
1892 * cspi/bonobo/cspi-bonobo-listener.c:
1894 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1895 (cspi_key_event): renamed to cspi_device_event().
1896 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1897 Extended to handle mouse button events as well as key events.
1898 (CSpiKeystrokeListener):
1899 Class superceded by CSpiDeviceListener.
1900 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1901 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1903 * cspi/bonobo/cspi-bonobo-listener.h:
1904 (CSpiKeystrokeListener):
1905 Class superceded by CSpiDeviceListener.
1906 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1907 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1909 * libspi/Makefile.am:
1910 Replaced keystrokelistener.h and keystrokelistener.c
1911 with devicelistener.h and devicelistener.c; keystrokelisener.h
1912 stub retained for back-compat.
1914 * libspi/keystrokelistener.c:
1918 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1920 * registryd/deviceeventcontroller.c:
1921 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1922 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1923 (DEControllerPrivateData): Added xkb settings data.
1924 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1925 button release events (which can't be captured via XGrabButton).
1926 Don't dispatch via the 'normal' event mechanism if the device event was
1928 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1929 Handle the typeseq data in its new location (see above).
1930 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1931 New methods, for "generic" device listeners.
1932 (spi_controller_register_device_listener):
1933 Now handle mouse event listeners as well as key listeners.
1934 (spi_controller_notify_mouselisteners):
1935 New internal method.
1936 (spi_device_event_controller_forward_mouse_event):
1937 Now we notify mouse device listeners as well as generating the
1938 non-consumable "mouse:" events.
1940 We must check and restore the XKB
1941 modifier map if we consume the event, since the act of triggering
1942 a mouse event will normally reset the XKB latch. This is required for
1944 (spi_controller_register_with_devices):
1945 Load the XKB settings when registering, and register for XKB
1946 state notify events.
1947 (spi_key_eventtype_seq_contains_event):
1948 Renamed spi_eventtype_seq_contains_event, since it's used
1949 internally for all device event types now.
1950 (spi_key_event_matches_listener):
1951 Uses spi_eventtype_seq_contains_event now.
1952 (spi_device_event_controller_object_finalize):
1953 Free the private data and the XkbKeyboard struct.
1954 (impl_register_device_listener, impl_deregister_device_listener):
1955 Implementation of new IDL.
1956 (spi_deregister_controller_device_listener):
1957 New internal method.
1958 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1959 More efficient implementation, we don't have to create a new
1960 XkbControls structure every time we query.
1961 (spi_device_event_controller_class_init):
1962 Initialize the epv entries for the new IDL. Assign the
1963 "spi-dec-private" quark.
1964 (spi_device_event_controller_init):
1965 Initialize the private data.
1966 (spi_device_event_controller_forward_key_event):
1967 Removed a bogus CORBA_exception_free() call.
1969 * registryd/deviceeventcontroller.h:
1970 Replaced inclusion of keystrokelistener.h with
1973 * test/event-listener-test.c:
1974 (report_mouse_event):
1977 Added mouse-event device listener.
1979 * test/test-simple.c:
1980 (create_test_window):
1981 Fixed regression (we were instantiating a GtkRange,
1982 which is now an abstract class). Also fixed to match
1983 existing AtkRole names, this seems to have changed in ATK
1984 awhile ago; too late now I think, and the new
1985 mechanism is at least elegant and consistent with the
1986 glib enum "nick" APIs.
1988 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1990 * idl/Accessibility_Relation.idl:
1991 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1992 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1993 * idl/Accessibility_Role.idl:
1994 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1995 * idl/Accessibility_State.idl:
1996 add STATE_MANAGES_DESCENDANTS
1997 * test/event-listener-test.c:
1998 Added a listener for active-descendant events.
2000 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2002 * atk-bridge/bridge.c
2003 (atk_bridge_init): If application is Bonobo component wait until top
2004 level is added before registering
2005 (spi_atk_bridge_do_registration): New function which contains code,
2006 formerly in atk_bridge_init, to do application registration.
2007 (spi_atk_bridge_toplevel_added): Signal called when top level
2008 added to Bonobo component
2010 This fixes bug #83134.
2012 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2014 * registryd/deviceeventcontroller.c
2015 Fixed compilation error caused by calling gettimeofday()
2018 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2023 Added template for HAVE_XKB.
2026 Changes to check for XKB, and to set the HAVE_XKB #define if it
2029 * libspi/listener.c:
2030 ()impl_notify_event): Make failure to get event source name
2033 * registryd/deviceeventcontroller.c:
2034 (#include): include X11/XKBlib.h.
2035 (DEControllerPrivateData) : New struct.
2036 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2038 (dec_synth_keycode_press) (dec_synth_keycode_release):
2039 New methods; split the key synthesis code into these methods.
2040 They check XKB settings before determining the "time" values to
2041 pass to Xtest; this fixes bug #95828.
2042 (impl_generate_keyboard_event): Changed to use methods above,
2043 instead of callng Xtest directly.
2044 (spi_device_event_controller_init): Initialize new privae struct s
2046 (spi_device_event_controllr_object_finalize):
2047 Free the (new) private data.
2049 * registryd/deviceeventcontroller.h:
2050 Add new gpointer to end of struct data.
2052 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2055 Incremented revision to 1.1.2, SONAME is still '.so', library
2056 extensions are ".so.0.0.2".
2058 * registryd/deviceeventcontroller.c:
2059 FIXES FOR #93592 and #95940.
2060 (statics): renamed mouse_button_state to mouse_mask_state,
2061 added key_modifier_mask.
2062 (spi_dec_poll_mouse_moved):
2063 Added key modifier checks, and emit "keyboard:modifiers"
2064 events when the key modifiers currently in use change.
2065 Also generate "mouse:abs" events periodically, even if the mouse
2066 is stationary (should we?).
2067 Alternatively we could generate "mouse:abs" events for either all
2068 mouse movements, or every 'nth' mouse movement, or at the
2069 beginning and end of every "active" mouse period.
2071 * test/event-listener-test.c:
2072 (main): Added listener for "keyboard:modifiers" events.
2074 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2076 * libspi/keymasks.h:
2077 Added key mask #defines for mouse buttons; e.g.
2078 SPI_KEYMASK_BUTTON1, etc.
2081 Incremented dependency on ATK to version 1.1.0. (This dependency
2082 is probably premature but will soon be real enough).
2084 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2086 * libspi/hyperlink.[ch]
2087 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2088 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2091 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2096 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2098 * registryd/deviceeventcontroller.c
2099 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2100 events to be ignored.
2101 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2102 keyboard_mode so that XAllowEvents() can be called.
2106 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2108 * cspi/spi-accessible.c: Correct names of roles returned by
2109 AccessibleRole_getName(). Fixes bug #95055.
2111 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2113 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2116 * registryd/registry.c
2117 (desktop_remove_application: Write diagnostic message to stderr for
2120 (impl_accessibility_registry_deregister_global_event_listener):
2121 Correct size of lists array. This addresses bug #94555).
2123 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2125 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2128 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2130 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2133 * registryd/registry.c (impl_registry_notify_event): Remove
2134 unnecessary call to parser_event_type().
2136 * docs/reference/cspi/tmpl/spi_component.sgml:
2137 Add reference to SPI_LAYER_WINDOW.
2139 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2141 * registryd/registry.c
2142 (desktop_add_application): Remove leak.
2143 (desktop_remove_application): Remove leak.
2144 (parser_event_type): Remove leak.
2146 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2148 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2149 bogus call to CORBA_string_dup(). Also removed unnecessary
2150 g_string_dup/g_free calls.
2152 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2154 * registryd/deviceeventcontroller.c:
2155 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2157 * test/event-listener-test.c:
2158 main: commented out three redundant listeners, to reduce output
2159 noise. (They still are potentially useful for testing).
2162 2002-09-13 Michael Meeks <michael@ximian.com>
2164 * Update all the copyrights to include Ximian.
2166 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2168 * cspi/spi.h: add SPI_LAYER_WINDOW.
2170 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2171 add Accessibility_LAYER_WINDOW case.
2173 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2175 * libspi/component.c: (impl_accessibility_component_get_layer):
2176 add ATK_LAYER_WINDOW case.
2178 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2180 * configure.in: incremented micro version.
2182 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2184 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2187 Clarified and reworded our commit policy.
2190 Started an API "todo" addition list for 2.2.
2193 (impl_getSelection):
2194 Free char pointer from atk_text_get_selection, which was being leaked.
2196 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2199 Small revision to author acknowledgement.
2201 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2203 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2204 If signal has detail add it to the type of the event.
2207 2002-08-12 Michael Meeks <michael@ximian.com>
2209 * test/test-simple.c (global_listener_cb): bin bogosity.
2210 (test_keylisteners): disable, still doesn't work reliably,
2211 certainly not on my system anyway.
2213 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2214 don't leak a reference on the DEC. This round-trip
2215 fetching of the DEC per keystroke sucks, it should be
2218 * cspi/spi-private.h,
2219 * cspi/cspi-lowlevel.h,
2220 * cspi/bonobo/cspi-bonobo-listener.[ch],
2221 * cspi/bonobo/cspi-bonobo.c: get the copyright
2222 notices better - there is still a large amount of
2223 work in at-spi falsely attributed solely to Sun.
2225 * cspi/spi_main.c (cspi_object_ref): kill bogus
2226 hash lookup, just increment the ref.
2227 (SPI_freeString): make explicit the fact that we
2228 handle NULL strings just fine.
2229 (report_leaked_ref): obey coding standards.
2230 (cspi_object_hash, cspi_object_equal): kill retval.
2231 (cspi_object_release): only release if not on loan.
2232 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2233 (cspi_object_borrow, cspi_object_return): impl.
2235 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2236 use cspi_object_borrow / return.
2238 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2240 * cspi/bonobo/cspi-bonobo-listener.c:
2242 Don't call cspi_oject_new() because this is creating a new Accessible
2243 every single time that an event is fired. This causes ATs like at-poke
2244 to nolonger recognise the source of the event and thus ignore it.
2245 Re-use the object from the cache, ref it and then unref it after the
2246 listeners have been called.
2248 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2250 * test/event-listener-test.c:
2251 Added command-line options to disable mouse events (m) and
2254 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2256 * configure.in: Update required versions of ATK, GTK+ and GAIL
2258 * cspi-1.0.pc.in: Add dependency for X include files
2261 * cspi/bonobo/Makefile.am:
2262 Add $(X_CFLAGS) so that X include files
2263 are picked up even if not in standard place (bug #71686)
2265 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2267 * registryd/deviceeventcontroller.c: fix for 84261
2268 (spi_dec_mouse_moved):
2269 Added test of mouse button mask, so that we can detect mouse
2270 button release. Unfortunately we can't otherwise detect mouse
2271 button release events without consuming the mouse press event,
2272 because of the way XGrabButton works. This means that our mouse
2273 release events have a latency dependent on the polling period
2274 while the mouse button is down. At least in this case we only
2275 have to poll while the button is down, and not at other times.
2276 If the button masks don't match with what the last press event
2277 reported, we report the appropriate button release event.
2278 (spi_dec_ungrab_mouse):
2279 New method (not yet called).
2280 (spi_device_event_controller_forward_mouse_event):
2281 New method, sends mouse press event from GdkFilter.
2282 (spi_dec_init_mouse_listener):
2283 Added code to call XGrabButton, redirecting mouse button events to
2284 the root window and our Gdk event loop.
2286 Added code to filter mouse button events, and reordered.
2288 * test/event-listener-test.c:
2290 Added registration for mouse events of type "mouse:button".
2292 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2294 * registryd/deviceeventcontroller.c: partial fix for 84261
2295 (spi_dec_poll_mouse_idle):
2296 New method, a timeout which checks to see if the mouse
2298 (spi_dec_poll_mouse_moving):
2299 A timeout to be called when mouse motion is underway.
2300 (spi_dec_poll_mouse_moved):
2301 A method which fires an event if the mouse has moved, and reports
2302 whether or not it did so.
2303 (spi_dec_init_mouse_listener):
2304 A method which sets up the timeouts above.
2305 (spi_device_event_controller_new):
2306 Now calls spi_dec_init_mouse_listener.
2308 * registryd/registry.c:
2309 (spi_registry_init):
2310 Now we initialize the device event controller when the registry is
2311 initialized, instead of waiting until a client has requested a key
2312 event notification; this is because we need the event controller
2313 for mouse events, but the mouse event registration API is a
2314 "registry" call and doesn't explicitly call the
2315 deviceeventcontroller.
2316 We now report mouse motion events with a 100 ms idle latency and
2317 a 20 ms granularity when motion is in progress.
2319 * test/event-listener-test.c:
2321 We now register the "detail listener" for events of type
2322 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2323 delivered only for the first mouse event received, and thereafter
2324 "mouse:abs" events are delivered.)
2326 * cspi/spi_registry.c:
2327 DOCS: Documented the above mouse event typestrings.
2329 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2331 Happy Summer Solstice...
2333 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2334 (spi_controller_notify_keylisteners):
2335 Changes to remove a listener from the listener list, freeing its
2336 open keygrabs, if a notification to that listener fails. This
2337 means that although a dead listener can continue to hold a passive
2338 keygrab, a maximum of one dispatch to such a listener can fail
2339 before the listener is removed from the list, thus the keygrab
2340 will be released on the next occurrence.
2341 As part of this fix:
2342 (spi_notify_keylisteners):
2343 Renamed to spi_controller_notify_keylisteners, as the controller
2344 instance must now be passed as an argument.
2345 The copied 'notify' GList is now a list of DEControllerKeyListener
2346 objects, since we need more than just the CORBA reference if a
2347 notify fails and we need to deregister the listener.
2348 (impl_notify_listeners_sync):
2349 (impl_notify_listeners_async):
2350 (spi_device_event_controller_forward_key_event):
2351 Modify use of notify_keylisteners in accordance with above
2353 (spi_deregister_controller_key_listener):
2354 New method introduced by refactoring, from
2355 impl_deregister_keystroke_listener.
2356 (impl_deregister_keystroke_listener):
2357 Call spi_deregister_controller_key_listener.
2358 (spi_key_listener_clone):
2359 New method to copy a key listner without doing a 'ref' on the
2360 remote object instance; used to create a notifier list.
2361 (spi_key_listener_data_free):
2362 New method, frees data without unreffing the source.
2364 (spi_key_listener_clone_free): new method.
2365 (spi_key_listener_free):
2366 refactored to call spi_key_listener_data_free.
2368 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2370 * registryd/registry.c: [fix for bug 86048]
2371 (notify_listeners_cb):
2372 Clear CORBA system exceptions which occur when notifying
2373 listeners, before returning to the source of the original event,
2374 since the event source doesn't care if the relayed notify failed.
2375 In other words, don't complain to the atk-bridge if the registry
2376 could not notify all its listeners, that's no fault of the
2377 application and thus should not appear to be an error from the
2378 application's perspective.
2380 * cspi/spi_main.c: [fix for bug 85980]
2382 Replaced use of bonobo_object_dup_ref with call to the wrapper
2383 method, csou_dup_ref (); this silences a compiler warning and
2384 provided more portability.
2386 Ping the registry before return, and restart if necessary.
2388 * cspi/bonobo/cspi-bonobo.c:
2390 New internal method.
2392 Fixed this method to return an object reference, as it should have
2395 * cspi/cspi-lowlevel.h:
2396 Added internal definition for cspi_ping() and fixed
2397 return type of cspi_dup_ref().
2400 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2402 * atk-bridge/bridge.c: [fix for bug 85305]
2403 (spi_atk_bridge_register_application):
2404 New method where the initial application registry calls have been
2405 moved; it allows an application to re-register in response to
2406 certain error conditions (such as a registry restart, see below).
2408 Moved some initialization code to the method
2409 spi_atk_bridge_get_registry, below.
2410 (spi_atk_bridge_get_registry):
2411 New, private accessor function for the Accessibility_Registry
2412 instance. If the registry has not been started before, or has
2413 died (as detected by failure of a CORBA exception), it is
2414 restarted before return, and spi_atk_bridge_register_application
2415 is called again to register with the new bridge instance.
2416 (spi_atk_emit_eventv):
2417 Set registry_died on error; use spi_atk_bridge_get_registry () to
2418 access the registry.
2420 * registryd/registry.c:
2421 (impl_accessibility_registry_register_global_event_listener):
2422 Set listener's event_type_quark to etype.minor instead of
2423 etype.major (fix for bug 84856).
2425 * test/event-listener-test.c:
2426 (report_detail_event):
2427 Change the output string so that user/tester can tell that the
2428 'detail listener' was called instead of the 'generic listener'.
2430 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2432 Fixes for bugs 84900, 84908, 84897, 84898.
2437 Revved version to 1.1.0
2438 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2439 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2441 * idl/Accessibility_Registry.idl:
2442 (EventListener::notifyEvent):
2443 Removed 'oneway' directive after extensive consulation with
2444 ORBit2 team and others. This means also that unref() of the event
2445 source can and should be done synchronously after emission, rather
2446 than remotely in the client, after servicing the notify call on
2449 NOTE: This change speeds up listener performance considerably, but
2450 introduces new latency on the application side. We may want to
2451 add an event queue to the atk-bridge.
2453 * atk-bridge/bridge.c:
2454 (spi_atk_bridge_focus_tracker):
2455 Do a local unref() on the event source after emission.
2457 * registryd/registry.c:
2458 (desktop_remove_application):
2459 Do an unref() on the event source after emission.
2460 (desktop_add_application):
2461 Do an unref() on the event source after emission.
2462 (notify_listeners_cb):
2463 When relaying an event, don't automatically add the event source
2464 to the local object cache, just CORBA_dup it instead. Likewise,
2465 if this method reenters, release the ref rather than calling
2467 (impl_registry_notify_event):
2468 No longer call remote unref() on the event source after dispatch.
2470 * libspi/eventlistener.c:
2471 (impl_accessible_event_notify_event):
2472 Removed remote unref ()
2474 * cspi/bonobo/cspi-bonobo-listener.c:
2476 We now call cspi_object_new() instead of cspi_object_add() on
2477 receipt of an event; thus we only have an implicit object ref
2478 while the cspi_event method is being executed. If we need to keep
2479 a reference to the object, the listener must call ref() on the
2480 object. Thus also we don't need to call cspi_object_unref() after
2481 invoking the listener callbacks in this method.
2485 New internal API for creating a new cspi object, without adding it
2486 to the object cache.
2488 Now uses cspi_object_new() to create the cspi object instance.
2490 Now checks to see if the object is in the internal object cache,
2491 and adds it if necessary before incrementing its refcount (note
2492 that new objects are added with a refcount of 1).
2493 (report_leaked_ref):
2494 New method which gives some information on leaked object instances
2495 if leak detection is turned on.
2497 * test/event-listener-test.c:
2498 (timing_test_event):
2499 New method, used for testing event delivery timing for special
2500 events of type "object:test". It reports elapsed time and
2501 events/sec every 500 events.
2503 Added a new listener, 'test listener', to check timing of event
2504 receipt as noted above.
2506 Added some timing output here also, reports elapsed time every 100
2509 * test/stress-test.c:
2510 Emit events of type "object:test", for use with "event-listener-test".
2512 * test/test-simple.c:
2513 (global_listener_cb):
2514 Call Accessible_ref() on the event source before calling
2515 validate_accessible, since the validation process does pointer
2516 comparisons on the event source, meaning that the event source
2517 needs to be added to the local object cache first. Any use of
2518 such pointer comparisons between Accessible objects requires that
2519 the caller hold an explicit reference to those objects.
2520 We also must therefore call Accessible_unref() when leaving this method.
2522 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2524 * registryd/deviceeventcontroller.c:
2525 (spi_controller_update_key_grabs):
2526 Fix for #84735, subsequent keygrab listeners not informed of
2527 registration failure.
2530 (spi_base_construct):
2531 Add an assertion on construct, to make sure the GObject passed in
2532 is really a GObject.
2534 Explicitly initialize object->gobj pointer to NULL;
2536 * cspi/bonobo/cspi-bonobo-listener.c:
2537 (cspi_object_add_ref):
2538 New method, can specify whether to dup-ref a bonobo object passed
2539 in if it's newly added to the object cache.
2541 Now calls cspi_object_add_ref with second param of "FALSE". This
2542 prevents us from doing a pointless dup-ref followed by
2543 release-unref for all those cases where the object is already in
2544 our object cache (fix for #85205).
2546 * atk-bridge/bridge.c:
2547 (spi_atk_bridge_idle_init):
2548 Removed this method, we don't need to initialize in an idle
2551 Changed to call spi_atk_register_event_listeners directly, not via an
2552 idle handler. (fix for #81139)
2553 (gnome_accessibility_module_shutdown):
2554 Removed conditional around deregistration of listeners, since we
2555 don't use the idle handler and thus have always registered when
2557 (spi_init_keystroke_from_atk_key_event):
2558 Changed references to Accessibility_KEY_PRESSED to
2559 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2561 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2563 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2568 * test/stress-test.c:
2571 (may have been an incomplete commit yesterday?)
2573 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2576 Added target for new stress-test.
2578 * test/stress-test.c:
2579 New test, sends 1000 focus notifies in quick succession.
2581 * test/key-listener-test.c:
2582 Now we report whether a keylistener registration
2583 request succeeded or failed.
2585 * test/event-listener-test.c:
2586 Uncommented some listeners which are now implemented.
2589 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2591 * registryd/deviceeventcontroller.c:
2592 (spi_controller_update_key_grabs):
2593 Fix for #82509, lack of failure notification when
2594 ALL_WINDOWS keygrabs fail due to XGrabKey
2595 failure: we synchronize the server when
2596 registering a passive grab, to make sure we get the
2597 error message before the call returns.
2599 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2601 * test/test-simple.c:
2603 Removed #ifdef KEY_IMPL_WORKS guards.
2604 (test_keylisteners):
2605 Removed #ifdef KEY_IMPL_WORKS guards.
2606 Fixed bug which was causing a hang waiting for a
2607 "press" event (which was already overwritten by a "release"
2608 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2610 Added code to set globals 'key_press_received' and
2611 'key_release_received'.
2614 Added section "1.1 API Proposed Additions" which
2615 lists API additions desired for at-spi-1.1 (only one so far).
2616 Updated TODO list a little.
2618 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2620 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2623 * configure.in: Revved to 1.0.0.
2625 * idl/Accessibility_Registry.idl:
2626 (registerKeystrokeListener):
2627 Added boolean return value.
2629 * registryd/registry.c:
2630 (notify_listeners_cb): Minor fix to debug output.
2632 * registryd/Accessibility_Registry.server.in.in:
2633 Revved version number in OAFIID to 1.0.
2635 * registryd/registryd.c:
2637 Use new OAFIID version.
2639 * cspi/bonobo/cspi-bonobo.c:
2641 Use new OAFIID version.
2647 * atk-bridge/bridge.c:
2649 Use new OAFIID version.
2651 * registryd/deviceeventcontroller.c:
2652 (impl_register_keystroke_listener):
2653 Added CORBA_boolean return value.
2654 (spi_controller_register_device_listener):
2655 Added gboolean return value.
2656 (spi_controller_register_global_keygrabs):
2657 Added gboolean return value.
2658 (spi_key_set_contains_key):
2659 Added implementation for many more control keys,
2660 for instance F1-F12, arrow keys, End, Home, Page_Up,
2662 [TODO: some still not implemented].
2664 * text/screen-review-test.c:
2665 (text_chunk_pad_string):
2666 New function: it provides mapping between coordinate
2667 positions of text chunks and character positions in the
2668 screen-review-line output string.
2669 (text_chunk_to_string):
2670 New function, calls text_chunk_pad_string with various
2671 pad/delimiter characters. Pushbuttons are delimited with
2672 square brackets, Frames with vertical 'pipe' lines, and
2673 other text with double quotes.
2674 (text_chunk_list_to_string):
2675 Calls new function text_chunk_to_string.
2676 (toplevel_composite):
2677 New function to composite layers CANVAS through
2678 POPUP in each toplevel (other layers are composited
2679 across toplevels, i.e. BACKGROUND and OVERLAY).
2680 (review_buffer_composite):
2681 Revise to use new methods.
2687 2002-05-31 Laszlo Peter <laca@sun.com>
2689 * configure.in: add the Xtst libdir to the runpath on Solaris,
2690 since it's not in the default library search path.
2692 2002-05-29 jacob berkman <jacob@ximian.com>
2694 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2696 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2698 * test/screen-review-test.c:
2699 (text_chunk_pad_string):
2700 Added method, which pads the string according to the
2701 text bounds of the chunk. It also takes a 3-character
2702 string as a param which indicates the characters to be
2703 used for start, padding, and end delimitation of the chunk.
2704 (text_chunk_to_string):
2705 Changed to use text_chunk_pad_string.
2707 * configure.in: Fixed bug in AC_OUTPUT that was
2708 causing path substitution in Accessibility_Registry.server
2711 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2713 * text/screen-review-test.c:
2714 (guess_string_clip):
2715 New method which attempts a best-guess at clipping
2716 text from components (like Java labels) which don't
2717 actually implement AccessibleText. This inaccurate
2718 clip is based on the assumption that the label is
2719 justified left-and-right, and monospaced.
2720 (text_chunk_get_clipped_string):
2721 We now call guess_string_clip() for text-containing
2722 components that don't implement AccessibleText.
2724 * test/screen-review-test.c:
2725 (review_buffer_get_text_chunk):
2726 We now pull "name" from labels if they do not implement
2727 AccessibleText (i.e. for Java labels).
2728 (get_screen_review_line_at):
2729 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2732 Replaceded AC_OUTPUT target
2733 registryd/Accessibility_Registry.server with
2734 registryd/Accessibility_Registry.server.in.
2736 * registryd/Accessibility_Registry.server.in:
2737 Removed (this is now a Makefile target).
2739 * registryd/Accessibility_Registry.server.in.in:
2740 Added (source for target above). We now use $(libexecdir) as
2741 prefix for the executable at-spi-registryd.
2743 * registry/Makefile.am:
2744 Now install at-spi-registryd into $(libexecdir), and build .server
2745 file with path (see above).
2747 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2749 * test/screen-review-test.c:
2750 (text_chunk_get_clipped_string):
2751 We now check to see if words fall within clip bounds
2752 before resorting to character-by-character clip bounds testing.
2754 * TODO: Added a section for "2.2 Proposed API Additions".
2756 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2758 * test/screen-review-test.c:
2760 Added a screen review benchmarking and test program to test
2763 * cspi/spi_accessible.c:
2765 Made some of the debug strings passed to cspi_check_ev a
2766 little more specific.
2768 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2770 * test/screen-review-test.c: Fix crashes in debug statements
2772 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2774 * test/screen-review-test.c: Added this file.
2776 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2778 * atk-bridge/bridge.c: changed "object:state-change" to
2779 "object:state-changed" to match docs.
2781 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2783 * atk-bridge/bridge.c: Hooked up state-change event details.
2785 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2787 * registryd/registry.c:
2788 Fixed quarking bug in event string parsing; now events with
2789 detail parameters get matched correctly to listeners.
2792 * util/idl/Magnifier.idl: remove.
2794 * util/*.[ch]: Remove.
2795 Magnification utilities and IDL are now in module gnome-mag.
2797 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2799 * registryd/deviceeventcontroller.c:
2800 Fixed bug in grab key conversion which was causing keycode grabs
2801 to be converted to AnyKey grabs.
2804 updated NEWS file to reflect recent spin-off of gnome-mag.
2806 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2808 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2809 busted AccessibleStateSet_compare. Removed redundant casts.
2811 * cspi/spi-action.c: Removed redundant casts.
2813 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2815 * cspi/spi_component.c: Fixed typos and casting error.
2817 * cspi/spi_editabletext.c: Removed redundant casts.
2819 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2821 * cspi/spi_hypertext.c: Eliminated redundant casts.
2823 * cspi/spi_image.c: Eliminated redundant casts.
2825 * cspi/spi_registry.c: Eliminated redundant casts.
2826 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2827 * cspi/spi_selection.c: Removed redundant casts.
2828 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2829 handling. Screen geometry and text offsets were being returned as 0
2830 on error which is technically valid-- changed these to return -1.
2831 Added marshaller for text boundary types to fix bug with boundary
2832 types being passed incorrectly to atk.
2834 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2837 * cspi/spi_registry.c:
2838 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2839 which was uncovered by the recent key changes.
2841 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2843 * test/event-listener-test.c:
2845 Added new test, "event-listener-test";
2846 this code does two things; it benchmarks traversal time
2847 for the accessible hierarchy for the first running accessible
2848 app, and it connects listeners for all supported event types.
2849 It is thus useful as an example event listener and for
2850 diagnostics/debugging of event generation.
2852 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2855 Removed unnecessary dependency on libutil.
2858 Revved micro version: 0.13.1
2860 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2863 Removed util/Makefile from targets.
2866 Removed util subdir from SUBDIRS (temporarily,
2867 pending removal of magnifier-only code
2871 #ifdef-ed out magnifier dependencies, since
2872 magnifier IDL, headers, and binary now live in
2873 module gnome-mag and we don't want at-spi to depend
2874 on gnome-mag. A magnifier demo which can run alongside
2875 simple-at is forthcoming in the gnome-mag module.
2877 NOTE: Split magnifier binary, IDL, and magnification
2878 activation code from at-spi into module gnome-mag.
2880 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2882 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2883 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2885 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2888 Revved to version 0.13.0
2890 * idl/Accessibility_Registry.idl:
2891 Changed definition of KeySet from sequence of longs to sequence of
2892 KeyDefinitions, and added KeyDefinition struct.
2893 Required for fix to bug 80616.
2895 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2896 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2897 to use new definition (see above).
2899 * registryd/deviceeventcontroller.c: handle_keygrab(),
2900 spi_keyset_contains_key():
2901 Changed to make use of new struct; this allows matching based on
2902 string key-name, for instance "Tab". This also allows matching of
2903 composed characters, non-alphanumeric characters in a way that
2904 doesn't involve dependencies on X keysym codes directly, etc.
2906 * test/key-listener-test.c:
2907 Added test for Alt-Tab key using "string" specification of keyset,
2908 and modified one of the tests to use a keycode-based keyset.
2909 Thus this test both tests and demonstrates the creation and use of
2910 keysets of three forms: specified via keycode array,
2911 keysym array, and string array. (The string case only contains a
2912 single string, i.e. a string array of length 1).
2915 Turned on PRINT_TREE option by default. Also fixed a
2916 string-freeing bug in the PRINT_TREE code.
2917 Added a listener to window:minimize events.
2919 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2921 * atk-bridge/bridge.c:
2922 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2923 for window:activate and window:deactiveate
2924 (atk_bridge_property_event_listener atk_bridge_signal_listener
2925 atk_bridge_window_event_listener) Tidy debug code
2927 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2929 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2930 Fixed handling for NULL return value from ATK.
2932 * libspi/action.c libspi/component.c libspi/editabletext.
2933 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2934 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2935 Removed redundant casts.
2937 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2938 Fixed off by one bug.
2940 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2941 function not present in idl)
2943 2002-05-02 jacob berkman <jacob@ximian.com>
2945 * atk-bridge/Makefile.am: make atk-bridge a real module
2947 2002-04-26 Radek Doulik <rodo@ximian.com>
2949 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2950 atk_state_types table
2952 2002-04-22 jacob berkman <jacob@ximian.com>
2955 * libspi/Makefile.am: add deps on the built files to help
2956 automake, and don't version the ORBit typelib
2958 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2960 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2961 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2962 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2963 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2964 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2965 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2966 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2967 libspi/accessible.h libspi/accessible.h libspi/base.h
2968 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2969 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2970 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2971 libspi/spi-private.h libspi/statetset.h libspi/table.h
2972 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2973 util/mag_client.h util/mag_control.c util/mag_image.c
2974 util/mag_image.h util/magnifier.c util/magnifier.h:
2975 Add missing file headers; standardize existing ones
2977 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2979 * atk-bridge/bridge.c: Added window event support.
2981 2002-04-18 Michael Meeks <michael@ximian.com>
2983 * libspi/relation.c (impl_getNTargets): impl.
2984 (impl_getTarget): impl.
2986 * libspi/Makefile.am: fix stateset install.
2988 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2991 Started putting useful info in this file.
2993 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2995 * atk-bridge/bridge.c:
2996 Propagate state-changed notifications to ATs
2998 * cspi/spi_registry.c: update docs to reflect actual behavior of
2999 state-change events.
3001 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3004 Incremented version to 0.12.1
3006 * util/mag_client.h:
3007 Add missing declaration for magnifier_exit,
3008 used by mag_control.c - Forte compiler didn't like
3009 the implicit redeclaration of the function :-(
3012 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3015 Revved version to 0.12 due to API change (see below).
3017 * cspi/spi-roletypes.h:
3018 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3019 definition from the inline docs, and added docs
3020 for SPI_ROLE_LAST_DEFINED.
3023 * cspi/spi_streamablecontent.c:
3024 Added missing seek_type parameter to
3025 (so far unused) method,
3026 AccessibleStreamableContent_seek().
3027 [ RT approval JodyG. ]
3030 Fixed docs for SPI_createAccessibleKeystrokeListener.
3032 * cspi/spi_registry.c:
3033 Fixed docs for SPI_KEYSET_ALL_KEYS.
3035 * docs/reference/cspi/at-spi-cspi-sections.txt:
3036 Added a number of missing APIs to SECTIONS.
3038 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3040 * registryd/Makefile.am:
3042 * cspi/bonobo/Makefile.am:
3043 Add $(X_LIBS) to makefiles.
3045 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3048 Revved version to 0.11.
3050 * libspi/component.c:
3051 Added implementation for grabFocus.
3053 * idl/Accessibility_Component.idl
3054 (Accessibility_Component_grabFocus):
3055 Made this method return boolean to indicate success or failure, to
3056 be consistent with cspi and the corresponding ATK method.
3058 * idl/Accessibility_Selection.idl
3059 (Accessibility_Selection_selectAll) :
3060 Made these methods return boolean to indicate success or
3061 failure, to be consistent with cspi and the corresponding ATK methods.
3063 * idl/Accessibility_EditableText.idl
3064 (Accessibility_EditableText_setTextContents,
3065 Accessibility_EditableText_insertText,
3066 Accessibility_EditableText_cutText,
3067 Accessibility_EditableText_deleteText,
3068 Accessibility_EditableText_pasteText):
3069 Made these methods return boolean to indicate
3072 * cspi/spi_editabletext.c:
3073 Made these methods return booleans.
3075 * libspi/selection.c:
3076 * libspi/component.c:
3077 * libspi/editabletext.c:
3078 Connected the boolean returns from ATK
3079 to the server-side code referenced above.
3081 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3083 * idl/Accessibility_Table.idl: Added missing methods,
3084 Accessibility_Table_addRowSelection,
3085 Accessibility_Table_addColumnSelection,
3086 Accessibility_Table_removeRowSelection,
3087 Accessibility_Table_removeColumnSelection.
3090 Added C wrappers for above IDL:
3091 AccessibleTable_addRowSelection,
3092 AccessibleTable_addColumnSelection,
3093 AccessibleTable_removeRowSelection,
3094 AccessibleTable_removeColumnSelection.
3097 Added server-side implementation code for IDL above, connecting
3098 to pre-existing ATK api.
3100 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3102 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3104 * libspi/accessible.c: Added implementation fo
3105 Accessibility_Accessible_get_state.
3107 * libspi/libspi.h: Added stateset.h to the list of includes.
3109 * libspi/stateset.c: Fixed broken implementation.
3111 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3114 Added implementation code for Accessibility_Magnifier_exit ().
3116 * util/mag_control.c:
3117 Added test code for above method; you can
3118 now kill an existing magnifier via
3119 ./mag_control q, from the util directory.
3121 * test/key-listener-test.c:
3123 Added a new test, for our key listener API.
3125 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3127 * test/app.c, test/keysynth-demo.c:
3129 Replace use of snprintf with g_snprintf.
3130 (fix for bugzilla 78249)
3132 2002-03-27 Michael Meeks <michael@ximian.com>
3136 * util/Makefile.am (INCLUDES): fix.
3137 (DONT_DIST_SOURCE): don't distribute the
3140 * libspi/Makefile.am (dist-hook): ditto.
3142 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3144 * libspi/hypertext.c:
3145 Fix warnings when yelp is used with atk-bridge
3147 2002-03-21 Michael Meeks <michael@ximian.com>
3149 * libspi/application.c (spi_application_new):
3150 use spi_accessible_construct so we use the AtkObject
3153 2002-03-19 Michael Meeks <michael@ximian.com>
3155 * registryd/registry.c (desktop_remove_application),
3156 (desktop_add_application): clean coding style.
3158 * registryd/desktop.c (spi_desktop_remove_application),
3159 (spi_desktop_add_application): kill re-enterency hazards.
3160 (spi_desktop_dispose): remove bogus redundant cast
3161 obscuring bug; fix bug too.
3162 (spi_desktop_init): make the desktop object immortal.
3164 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3167 Added a #define-guarded tree-traversal step
3168 when enumerating the apps (diagnostic tool).
3170 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3172 * idl/Accessibility_Role.idl:
3173 Added ROLE_DRAWING_AREA which seemed to be missing from the
3176 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3178 * cspi/spi-roletypes.h cspi/spi_accessible.c
3179 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3182 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3183 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3184 AT when applications are added and removed from the desktop. This
3185 reverts the previous broken implementation using the backing
3186 AtkObject for the SpiDesktop.
3188 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3190 * registryd/desktop.c: emit the "children-changed::add" and
3191 "children-changed::remove" signals on the backing ATK object for
3192 the desktop so AT can tell when applications are started and shut
3195 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3197 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3199 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3201 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3203 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3205 * cspi/state-types.h: synched with IDL and ATK
3207 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3209 * libspi/accessible.c
3210 (impl_accessibility_accessible_get_child_at_index):
3211 Change return value for g_return_if_fail ()
3212 to CORBA_OBJECT_NIL instead of "0" (!)
3214 * registryd/Makefile.am:
3215 * registryd/Accessibility_Register.server.in:
3216 Changed name of executable, "registryd",
3217 to something more informative:
3220 2002-03-13 Michael Meeks <michael@ximian.com>
3222 * atk-bridge/bridge.c (atk_bridge_init): don't register
3223 if we're in a bonobo-component, rather than a bonobo app.
3225 2002-03-13 Michael Meeks <michael@ximian.com>
3227 * atk-bridge/bridge.c (gtk_module_init): split
3228 out body to (atk_bridge_init): here, since otherwise
3229 we get symbol conflicts and oddness when invoked
3230 from (gnome_accessibility_module_init): here (upd.)
3232 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3235 New file. Explicitly allow "build sheriff" putbacks provided
3236 they are tested on Solaris.
3238 * docs/reference/cspi/Makefile.am:
3239 Added '-' to the "cp" command for index.sgml.
3240 ("patch by thomasvs, soon coming to a GUADEC near you")
3243 Incremented version number (0.9.0) for new release.
3244 Changed macro that checks for popt, to better detect
3245 obsolete versions of popt.
3248 Added X_LIBS to AC_SUBST, for applications
3249 that call Xlib API directly.
3252 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3255 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3258 Fix regression caused by hard-coding major
3259 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3262 * test/test-simple.c (test_editable_text),
3263 (test_test): revert previous change (error was
3264 a regression in gail which is now fixed).
3266 2002-03-04 Michael Meeks <michael@ximian.com>
3268 * test/test-simple.c (test_editable_text),
3269 (test_text): pass G_MAXINT instead of '-1' for
3270 whole string - is this a good thing !?
3272 * cspi/spi_accessible.c
3273 (Accessible_getRelationSet): fix crasher bug
3274 overwriting the end of the array.
3276 * test/test-simple.c (validate_accessible): free,
3277 not g_free returned relation set.
3279 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3281 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3282 implemented stateset support
3284 * idl/Accessibility_State.idl: Made necessary changes to
3285 the IDL to support state sets.
3287 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3289 * registryd/deviceeventcontroller.c:
3290 Added implementation for generateMouseEvent.
3292 * cspi/spi_registry.c:
3293 Connected new implementation for generateMouseEvent
3296 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3299 Incremented revision (but no change in public API
3300 outside of 'utils', which are not installed public yet.)
3302 * libspi/component.c:
3303 Changed to use atk_component API for layers and
3304 mdi_zorder, instead of deprecated atk_object API.
3306 Magnification Utility Enhancements:
3309 Added implementation of createZoomRegion, clearAllZoomRegions,
3310 resizeZoomRegion. Added new commandline argument
3311 "--no-initial-region". Note that clearAllZoomRegions doesn't
3312 unmap the old '0' region as it should (yet), and the other
3313 methods only work when creating/resizing a single region,
3314 which is "region 0".
3315 (Code for multiple region support will be added later.)
3318 Now we raise the magnifier window each time it's refreshed;
3319 this will help keep it on top.
3321 * util/mag_client.h:
3322 Added simple wrappers for above, used by mag_control.
3323 For general use, it's recommended to use the bonobo magnifier
3324 control API directly instead of using these wrappers.
3327 Moved ZoomRegionData from magnifier.c to this file.
3329 * util/mag_control.c:
3330 Added some code to exercise new IDL implementations.
3332 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3334 * libspi/text.c: Provide implementation for getAttributes.
3336 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3339 Incremented revision.
3341 * test/test-simple.c:
3342 Replaced use of deprecated g_main_iteration with
3343 g_main_context_iteration.
3345 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3348 Incremented revision for desktop alpha 2.
3350 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3352 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3355 * test/simple-at.c: include netinet/in.h.
3357 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3359 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3360 use NULL, not CORBA_OBJECT_NIL.
3362 * libspi/accessible.c:
3363 (impl_accessibility_accessible_get_relation_set):
3364 allocate the sequence correctly.
3366 * libspi/remoteobject.h: kill spi_remote_object_new.
3368 * test/test-simple.c: (validate_accessible): add code
3369 to test relation sets, now all we need is to figure
3370 out how to excercise this code path :/
3372 2002-01-18 Michael Meeks <michael@ximian.com>
3374 * test/test-simple.c
3375 (key_listener_cb): consume the key.
3376 (test_keylisteners): update.
3377 (main): wait for any pending unrefs on events.
3379 * registryd/deviceeventcontroller.c
3380 (spi_controller_update_key_grabs): only re-issue the
3381 grab on a key release.
3382 (spi_device_event_controller_forward_key_event):
3383 refresh the keygrabs before we notify the listeners,
3384 to reduce the X ungrab / re-grab race.
3385 (spi_controller_register_with_devices): remove
3386 XSelectInput - we do that with the gdk_window_ call.
3387 (_spi_controller_device_error_handler): return a value.
3388 s/GDK_DISPLAY/spi_get_display/
3390 2002-01-17 Michael Meeks <michael@ximian.com>
3392 * registryd/deviceeventcontroller.c
3393 (_deregister_keygrab): don't blow out the later
3396 * test/test-simple.c (test_keylisteners): do a
3397 more intelligent validation.
3399 2002-01-14 Michael Meeks <michael@ximian.com>
3401 * atk-bridge/bridge.c
3402 (gnome_accessibility_module_init),
3403 (gnome_accessibility_module_shutdown): impl.
3404 (gtk_module_init): protect vs. double inits.
3405 (add_signal_listener): impl.
3406 (spi_atk_bridge_state_event_listener): kill
3407 (deregister_application): split out of
3408 (spi_atk_bridge_exit_func): here.
3410 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3413 Added caret tracking when using magnifier, and
3414 now use text bounds for focus tracking of text elements, rather than
3415 the component bounds - this is helpful for short text fields in long
3416 table cells, at high magnification.
3418 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3420 * registryd/deviceeventcontroller.c:
3421 Regression fix for keylistener de-registration; global keygrabs
3422 were not being released when deregisterKeystrokeListener was
3423 called in cspi, since
3424 Accessibility_DeviceEventController_deregisterKeystrokeListener
3425 was called with a zero-length keyset. That is because the cspi
3426 method, SPI_deregisterKeystrokeListener, does not take a keyset
3427 parameter but instead should remove all the key grabs held be a
3429 The code in impl_deregister_keystroke_listener was changed to copy
3430 the keylist from the listener instance previously registered with
3431 the DeviceEventController before releasing the grabs.
3433 * registryd/registry.c:
3434 * registryd/deviceeventcontroller.c:
3435 * libspi/spi-private.h:
3437 Changed spelling of "re-enterant" to "re-entrant" globally.
3439 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3441 * test/test-simple.c:
3442 Changed key listeners test - the test was slightly mis-using the
3443 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3444 It now uses '=' as the key event listened to and generated,
3445 relying on a keysym match rather than assuming that keycode 33
3446 is always equal to keysym '!'.
3448 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3451 Changed simple-at to use a specific keyset, rather than
3452 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3453 manager, desktop, etc.
3455 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3457 * registryd/deviceeventcontroller.c:
3458 Replaced standard X error handler with a special handler that
3459 is non-fatal for failed keygrabs. This works around
3460 problems with keygrab clashes sometimes observed on
3462 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3463 mouse handling code as yet).
3465 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3468 Incremented revision for desktop alpha release.
3471 Fixed a couple of the more glaring errors (still not
3474 2002-01-11 Michael Meeks <michael@ximian.com>
3476 * registryd/deviceeventcontroller.c
3477 (spi_device_event_controller_forward_key_event): kill
3478 XUngrabKey / XKeyGrab race.
3479 (spi_controller_grab_keyboard): rename to
3480 (spi_controller_update_key_grabs): this, and deal
3481 with incremental adding / removing grabs more
3483 (_register_keygrab): ensure we're not pending a remove.
3484 (spi_grab_mask_free): impl.
3485 (spi_controller_register_global_keygrabs): split out
3487 (handle_keygrab): impl.
3488 (_deregister_keygrab): impl.
3489 (spi_controller_deregister_global_keygrabs): impl.
3490 (spi_controller_update_key_grabs): re-issue the grab if
3491 we just recieved a notification.
3493 * test/test-simple.c (key_listener_cb): remove debug.
3495 * registryd/deviceeventcontroller.c
3496 (spi_controller_register_device_listener): after
3497 registering a global keygrab, actualy register it !
3498 don't wait for a timeout; doh !
3500 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3501 to make it more readable / manipulable.
3502 s/grabmask/grab_mask/ s/refcount/ref_count/
3503 s/keyval/key_val/ s/modmask/mod_mask
3505 2002-01-08 Michael Meeks <michael@ximian.com>
3507 * registryd/deviceeventcontroller.c
3508 (spi_controller_register_with_devices): use gdk calls to
3510 (global_filter_fn): implement the filter.
3511 (spi_device_event_controller_check_key_event): rename to
3512 (spi_device_event_controller_forward_key_event): this & upd.
3513 (spi_get_display): replace with GDK_DISPLAY.
3515 * registryd/deviceeventcontroller.c
3516 (spi_controller_deregister_device_listener): unroll into
3517 (impl_deregister_keystroke_listener): here to simplify.
3518 (spi_controller_register_global_keygrabs): split cut and
3519 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3520 (spi_controller_deregister_device_listener): remove.
3521 (impl_register_mouse_listener): remove, no mouse listener
3522 support in at-spi-1.0
3524 * registryd/registry.c
3525 (_device_event_controller_hook): kill.
3526 (spi_registry_init): upd.
3528 * registryd/deviceeventcontroller.c
3529 (spi_device_event_controller_class_init): upd.
3530 (spi_check_key_event): merge into.
3531 (spi_device_event_controller_check_key_event):
3532 here and kill strange static ev init, don't leak
3533 the x_event - nor dynamicaly allocate it.
3535 * registryd/registry-main.c (main): re-direct
3536 timeout to remove strange vtable mess.
3538 * registryd/deviceeventcontroller.c
3539 (remove_listener_cb): impl.
3540 (spi_controller_deregister_device_listener):
3541 fix re-enterancy hazard.
3543 2002-01-07 Michael Meeks <michael@ximian.com>
3545 * registryd/deviceeventcontroller.c
3546 (spi_device_event_controller_new): upd.
3547 (impl_notify_listeners_sync): upd. debug.
3548 (spi_notify_keylisteners): fix re-enterancy hazards,
3549 prettify, remove O(n*n) iteration.
3550 (spi_controller_grab_keyboard): fix iteration.
3551 (spi_check_key_event): re-format to suit coding style.
3552 Clean all the warnings - we're warning free.
3554 * registryd/deviceeventcontroller.h:
3555 * registryd/registry.h: make mutualy referential with
3556 typesafe forward references instead of (!) void pointer
3559 2002-01-11 Michael Meeks <michael@ximian.com>
3561 * cspi/spi_accessible.c (role_names): add a role name
3562 to sync this array with the enum; and make the regression
3565 2002-01-10 Michael Meeks <michael@ximian.com>
3567 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3568 allow expansion of enumeration & kill warning.
3570 * test/test-simple.c (key_listener_cb): impl.
3571 (test_keylisteners): impl.
3573 * cspi/spi-listener.h: make listener signatures const
3574 on the provided (const) events.
3576 * test/keysynth-demo.c: upd. to const events.
3578 * test/simple-at.c: ditto.
3580 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3583 Rev the version to 0.5 (the previous tarball was named 0.4,
3584 even though the micro number was 3), so we need to rev upwards
3585 again for beta2/"desktop-alpha"
3588 Checked in a demo script, which requires editing before use!
3589 Proceed with caution.
3592 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3594 * cspi/spi_accessible.c:
3595 Add a couple of missing enum initializations, and fix some enum
3598 * cspi/spi_registry.c:
3599 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3601 * docs/reference/cspi/at-spi-cspi-sections.txt:
3602 Remove/fix a couple of broken document references.
3605 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3606 as Alt-Control to listen for commands, since on some systems
3607 Control-Alt may already be grabbed.
3609 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3612 Update version number to 0.4 for Beta2.
3614 * libspi/accessible.c, libspi/accessible.h:
3615 Expose spi_accessible_construct, to enable libgail-gnome
3616 construction from spi_accessible subtype.
3618 * utils/magnifier.c:
3619 Workaround for bug in some non-gnome-compliant window managers
3620 which made magnifier resize improperly.
3622 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3624 * libspi/accessible.c: (spi_accessible_new) :
3625 Move the test for SPI_IS_REMOTE_OBJECT to
3626 spi_accessible_new_return, fixing a bug and compile time warning.
3628 2002-01-08 Michael Meeks <michael@ximian.com>
3630 * registryd/registry.c (parse_event_type): remove strndup.
3632 * libspi/Makefile.am (libspi_la_SOURCES): remove
3633 sources already included in the headers section.
3635 * libspi/util.c: add.
3637 * libspi/spi-private.h: add.
3639 * registryd/registry.c: update to moved list iterators.
3641 2002-01-05 Michael Meeks <michael@ximian.com>
3643 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3645 * test/test-simple.c (main): ditto.
3647 2002-01-04 Michael Meeks <michael@ximian.com>
3649 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3650 redundant construct.
3652 * registryd/registry.c
3653 (get_listener_list): impl.
3654 (impl_accessibility_registry_register_global_event_listener):
3655 re-impl. to simplify using ~, remove dodgy const cast off.
3656 (parse_event_type): constify.
3657 (impl_accessibility_registry_deregister_global_event_listener_all):
3658 re-write, more efficiency and simplicity, kill re-enterancy
3660 (compare_listener_corbaref, compare_corba_objects),
3661 (compare_listener_quarks): define out.
3662 (impl_accessibility_registry_deregister_global_event_listener):
3663 re-write for effiency, and nail re-enterancy hazard.
3664 (impl_accessibility_registry_get_desktop_list): impl.
3665 (re_enterant_list_delete_link): impl.
3666 (re_enterant_list_foreach): impl.
3667 (remove_listener_cb): impl.
3668 (_registry_notify_listeners): kill.
3669 (notify_listeners_cb): impl.
3671 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3672 (SPI_getDesktopList): impl.
3674 * test/test-simple.c (test_desktop): test the methods.
3676 2002-01-03 Michael Meeks <michael@ximian.com>
3678 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3679 keystrings since we free them
3680 (SPI_freeAccessibleKeySet): in here.
3682 * libspi/accessible.c (spi_accessible_new): kill warning,
3683 wonder what is going on with the constructor here.
3685 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3687 * libspi/accessible.c (spi_accessible_new ()) :
3688 Added check to see if AtkObject is an SpiRemoteObject before
3689 creating an SpiAccessible.
3691 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3693 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3694 Enable keygrabs using the Control modifier, now that they are
3695 working properly (they were previously disabled).
3698 Change the command keygrab for this demo to "Control+Alt", so as
3699 to conflict with fewer other key commands on the system; this
3700 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3702 Removed a pointlessly-chatty keylistener for unshifted keys
3703 (shifted keys are still reported).
3705 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3707 * libspi/remoteobject.h:
3708 * libspi/remoteobject.c:
3709 Added definitions for special AtkObject subtype, required for
3710 support of remote components (specifically, used by BonoboControl
3711 accessibility implementation).
3713 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3715 * cspi/spi.h: synched relation types with ATK
3717 * cspi/spi_accessible.c: Added implementations of
3718 AcccessibleRelation_* methods
3720 * idl/Accessibility_Relation.idl: added getRelationTypeName
3721 method. Synched known relation types with ATK. Allowed for
3722 relation type extension with the RELATION_EXTENDED type.
3724 * libspi/relation.c: Provided implementations for
3725 AccessibleRelation methods.
3727 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3729 API tweaks for today's API 'freeze'.
3732 Added placeholder functions to allow future compatible expansion
3733 of the IDL interfaces.
3735 * idl/Accessibility_Registry.idl:
3736 Changed generateKeyEvent to generateKeyboardEvent. Changed
3737 signature of this method to accept an optional keystring in
3738 parameter (for complex text input synthesis) and changed use of
3739 simple 'boolean' parameter in registerKeystrokeListener to a
3740 struct, EventListenerMode.
3742 * cspi/spi_accessible.c:
3744 * cspi/spi_streamablecontent.c:
3745 Added references to AccessibleStreamableContent interface, and
3746 definition and implementation of AccessibleStreamableContent
3749 * cspi/spi_registry.c:
3751 Changed generateKeyEvent API to generateKeyboardEvent,
3752 taking a new (optional) keystring parameter to support complex
3757 Renamed directory (to better reflect its actual purpose, bridging
3758 from at-spi to ATK). The .so module is also now named
3761 * idl/Accessibility_Hypertext.idl:
3762 * libspi/accessible.c:
3763 * libspi/hypertext.h:
3764 * libspi/hypertext.c:
3765 Changed Accessibility_Hypertext to *not* derive from
3768 * cspi/spi_registry.c:
3769 Added list of legal event type names for 'window' events, which
3770 completes the registry event API.
3772 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3774 * at-bridge/bridge.c: Added registration for separate
3775 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3776 signals. If either of the first two parameters to the generic
3777 bridge signal handler are ints, they are passed on as event
3778 details. This allows an AT to determine what text was inserted.
3780 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3782 * registryd/deviceeventcontroller.c:
3783 Fixed regressions in generateKeyEvent caused by the removal of
3784 gdk_init from registryd; we now use pure X calls to connect to the
3785 display, which makes sense because deviceeventcontroller already
3786 uses a fair bit of X API (should eventually be migrated to a
3787 'portability layer').
3789 * registryd/desktop.c:
3790 Fixed minor regression in spi_desktop_init, changed the way the
3791 desktop name is being set to work with new spi_base API
3792 (gobject-based, rather than AtkObject-based).
3794 * registryd/Makefile.am:
3795 Minor revision of makefile to use XTST_LIBS variable rather than
3796 hard-wiring the Xtst LD_ADD element.
3798 * test/keysynth-demo.c:
3799 Tweaked an output message; added initialization of the
3800 'keystrings' member of the "switch listener" key_set.
3802 * libspi/relation.c:
3803 Squashed compile-time warning.
3805 * libspi/accessible.c:
3806 Cosmetic and formatting fixes, renamed a static method.
3808 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3810 * libspi/accessible.c
3812 * libspi/application.c
3815 * libspi/component.c
3816 * libspi/editabletext.c
3817 * libspi/hyperlink.c
3818 * libspi/hypertext.c
3820 * libspi/selection.c
3824 * registryd/desktop.c:
3825 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3827 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3829 * idl/Accessibility_Registry.idl:
3830 Added boolean member 'is_text' to DeviceEvent. This is for the
3831 use of key events, and helps prevent ambiguity between composed
3832 key strings and keysym names, since both may potentially be
3833 returned in the 'event_string' member.
3835 * at-bridge/bridge.c:
3836 * registryd/deviceeventcontroller.c:
3837 Use the 'is_text' member when notifying device event listeners.
3838 Knon issue: composed characters are not dealt with correctly by
3839 the global key listener implementation yet.
3841 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3843 * at-bridge/bridge.c:
3844 Namespaced local static methods to spi_atk_bridge_* where
3845 previously named bridge_*, and spi_* elsewhere.
3847 * at-bridge/bridge.c:
3848 * cspi/bonobo/cspi-bonobo-listener.c:
3849 Added demarshalling/conversion for string member of
3850 Accessibility_DeviceEvent to AccessibleKeystroke.
3852 * registryd/deviceeventcontroller.c:
3853 Added code to fill the Accessibility_DeviceEvent key string value
3854 member for global key events (i.e. from XGrabKey), to match
3855 behavior of Accessibility_DeviceEvent from the toolkit key events
3856 from the bridge. Fixed timestamp in global key event notifications.
3859 Added printout of key event's string value to
3860 report_ordinary_key_event, for demo/debugging purposes.
3862 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3864 * idl/Accessibility_Registry.idl:
3865 Removed Accessibility_KeyStroke structure in favor of generic
3866 Accessibility_DeviceEvent structure.
3867 Changed Accessibility_ControllerEventMask from a struct to an
3870 * at-bridge/bridge.c:
3871 Changed APIs to use DeviceEvent structure as above, and removed
3872 bogus casting between these event structures.
3874 * cspi/spi-listener.h:
3875 Added keystring member of AccessibleKeystroke structure, to enable
3876 matching on event "names" rather than only hardware codes and
3880 Added keystrings member of AccessibleKeySet struct, to allow
3881 matching on event names (as above).
3882 Added declarations for SPI_createAccessibleKeySet and
3883 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3884 event modmasks directly as unsigned ints rather than structs with
3885 refcounts, in the DeviceEventController methods.
3887 * cspi/spi_registry.c:
3888 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3890 * cspi/spi-roletypes.h:
3891 Added documentation of newly added SPI Roles.
3893 * cspi/bonobo/cspi-bonobo-listener.c:
3894 Changes in support of API changes above.
3896 * libspi/accessible.c:
3897 Converted APIs to use DeviceEvent structure (see IDL changes
3900 * registryd/deviceeventcontroller.c:
3901 Added DEControllerGrabMask structure to track keygrabs not only by
3902 modmask but by keyset as well; this allows us to do "global"
3903 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3904 grabbing on AnyKey and then filtering after-the-fact.
3905 Bugfixes for event filtration mean that we don't get false matches
3906 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3908 * registryd/deviceeventcontroller.c:
3909 Namespaced a number of static methods to use spi_ prefix. Major
3910 revision to internals of global (i.e. X) key grabs.
3912 * registryd/deviceeventcontroller.h:
3913 Removed keymask_list and added keygrabs_list to
3914 SpiDeviceEventController struct.
3917 Added use of SPI_createAccessibleKeySet API when creating a
3918 listener for only one key. Attach a listener to "shift spacebar
3919 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3920 X key event names to SPI key event names, so that listeners are
3921 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3923 * test/keysynth-demo.c:
3924 Changed (incorrect) use of X key event names (KeyPressed,
3925 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3928 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3930 * libspi/accessible.c:
3931 Convert all AtkRole enumerations to Accessibility_Role enums when
3932 getting a role from an AtkObject.
3934 * cspi/spi_accessible.c:
3935 Complete the conversion of Accessibility_Role enums at runtime to
3936 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3937 role enums correctly match those given in spi-roletypes.h.
3938 Re-synchronize the local names list for AccessibleRole_getName ().
3939 AccessibleRole_getName is now deprecated, since it duplicates the
3940 more reliable Accessible_getRoleName.
3941 Added some role types from Accessibility_Role.idl.
3943 * idl/Accessibility_Role.idl:
3944 Added some role types used by AtkRole.
3946 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3949 * cspi/spi_registry.c:
3951 * cspi/cspi-bonobo-listener.c:
3952 Namespaced all methods that did not begin with an "SPI_" or
3953 "Accessible" prefix to "SPI_".
3956 Homogenized internal function namespace to "cspi_" for statics.
3959 Patched tests to use the new CSPI API.
3961 * docs/reference/cspi/at-spi-cspi-sections.txt:
3962 Updated docs to reflect namespace changes, and added a number of
3963 methods to the documentation.
3965 * registryd/registry.c:
3966 Changed use of strings and string hashes in listener event
3967 matching and parse_event_string to use GQuark, which is guaranteed
3970 * registryd/registry.h:
3971 Squashed annoying warning.
3973 * idl/Accessibility_Role.idl:
3974 Extended range of available Accessibility_Role values.
3976 * cspi/spi_accessible.c:
3977 Re-ordered role names.
3979 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3981 * idl/Accessibility_Value.idl:
3982 Revert use of union back to CORBA_double, since the double type is
3983 more efficient and can contain the other types without loss of
3986 * idl/Accessibility_Accessible.idl:
3987 Added method Accessibility:Accessible:getRoleName, to complement
3988 Accessibility:Accessible:getRole.
3990 * cspi/spi_accessible.c:
3992 Added C binding for above, Accessible_getRoleName (), and changed
3993 signature of Accessible_getRole () to return an AccessibleRole.
3995 * cspi/spi-roletypes.h:
3996 Changed AccessibleRole_getName to return a char * instead of a
3997 const char *. This method is now at least temporarily deprecated
3998 in favor of asking Accessibles for their RoleNames directly.
4001 Revert to match Accessibility_Value.idl;
4005 Change signature of AccessibleValue methods to use double rather
4009 * cspi/spi_accessible.c:
4010 Changed Accessible_getRole to return an AccessibleRole enum rather
4011 than a UTF-8 string. The UTF-8 string can still be obtained via
4012 AccessibleRole_getName ().
4014 * test/test-simple.c:
4015 Add test_action. Small fixup to match API change to Accessible_getRole.
4018 Bugfix for get_action_from_servant ().
4020 2001-12-11 Michael Meeks <michael@ximian.com>
4022 * libspi/libspi.h: remove registry.h and
4023 desktop.h, deviceeventcontroller.h
4025 * libspi/Makefile.am: remove registry.[ch],
4026 desktop.[ch], deviceeventcontroller.[ch]
4028 * registryd/Makefile.am: add registry.[ch],
4029 desktop.[ch], rename registryd.c to registry-main.c.
4030 add deviceeventcontroller.[ch]
4032 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4035 Replace setenv() call with putenv ().
4037 * libspi/component.c:
4038 Bugfix in AccessibleComponent_getExtents (),
4041 2001-12-11 Michael Meeks <michael@ximian.com>
4043 * libspi/image.c (impl_getImageExtents): impl.
4044 (spi_image_class_init): upd.
4047 (AccessibleImage_getImageDescription): fix daft bug
4050 * test/test-simple.c (global_listener_cb): update
4051 to only quit if not --poke
4052 (main): catch --poke.
4053 (validate_accessible): upd. dumping, call test_image
4056 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4059 * idl/Accessibility.idl: update all IDL includes.
4061 * idl/*.idl - rename to namespace - this sucks, blame
4062 mjs' bad decision for oafd.
4064 * test/test-simple.c (create_test_window): add more tests.
4065 (create_tree): split this out.
4066 (validate_accessible): bugfix.
4068 2001-12-11 Michael Meeks <michael@ximian.com>
4070 * cspi/bonobo/cspi-bonobo-listener.c:
4071 (cspi_kestroke_listener_unref),
4072 (cspi_event_listener_unref): impl. undoing previous
4073 homenous environment - for Bill.
4075 * cspi/spi_table.c (long_seq_to_array): use
4078 * cspi/spi_main.c: split out all bonoboish bits into
4081 * cspi/spi-impl.h: upd. typedefs.
4083 * cspi/spi_registry.c: update to lowlevel API,
4084 return booleans to indicate success in some places.
4086 * cspi/spi_event.c: update to lowlevel API.
4088 * cspi/bonobo/Makefile.am: add.
4090 * cspi/bonobo/cspi-lowlevel.h: add
4092 * cspi/bonobo/cspi-bonobo.c: add
4094 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4096 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4097 (SUBDIRS): add bonobo, link in the libs.
4099 * cspi/spi-util.c: kill this file.
4101 * TODO: merge in my bits.
4103 2001-12-11 Michael Meeks <michael@ximian.com>
4105 * test/test-simple.c (test_value, test_table, main):
4106 remove unused variables causing warnings.
4108 * configure.in: cleanup checks - require gail.
4110 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4113 Changed Value interface to use SValue (scalars) rather than
4114 assuming all values are floats. This allows floats, doubles,
4115 longs, shorts, and unsigned values to be manipulated.
4116 Introduced Accessibility:SValue union.
4119 Updated to use new API above, and to work correctly with GValues
4120 of different types in AtkValue.
4123 Updated to use new API above. cspi's API is as yet unchanged.
4126 Updated the Value revision action item.
4128 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4130 * test/test-simple.c:
4131 Added test_table (GtkTreeView widget in test window to follow).
4132 Un-commented test_value, added GtkRange widget.
4133 Added GtkTreeView widget with GtkListStore. It passes regression
4134 test but leaks one SPI object for some reason.
4137 Fixed bug in impl__set_currentValue.
4139 2001-12-10 Michael Meeks <michael@ximian.com>
4141 * cspi/spi_text.c: audit for exception handling,
4142 tolerating NULL object references safely etc.
4144 * cspi/spi_value.c: ditto.
4146 * cspi/spi_table.c (AccessibleTable_getSummary),
4147 (AccessibleTable_getAccessibleAt),
4148 (AccessibleTable_getRowHeader),
4149 (AccessibleTable_getColumnHeader),
4150 (AccessibleTable_getCaption): fix bugs hidden by
4152 (long_seq_to_array): impl.
4153 (AccessibleTable_getSelectedRows),
4154 (AccessibleTable_getSelectedColumns): use it.
4156 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4159 Added a TODO list (rough and short for now).
4161 * cspi/spi_hyperlink.c:
4162 * cspi/spi_hypertext.c:
4163 Fixed macro name typos, and remove use of obsolete macro in
4164 AccessibleHyperlink_getLink.
4166 * cspi/spi_action.c:
4167 * cspi/spi_accessible.c:
4168 * cspi/spi_application.c:
4169 * cspi/spi_component.c:
4170 * cspi/spi_selection.c:
4173 Documentation fixes (removed return values from ref/unref methods).
4175 2001-12-10 Michael Meeks <michael@ximian.com>
4177 * cspi/spi_action.c: audit for exception handling,
4178 tolerating NULL object references safely etc.
4180 * cspi/spi_accessible.c: ditto.
4182 * cspi/spi_component.c: ditto.
4184 * cspi/spi_editabletext.c: ditto.
4186 * cspi/spi_hyperlink.c: ditto.
4188 * cspi/spi_hypertext.c: ditto.
4190 * cspi/spi_image.c: ditto.
4192 * cspi/spi_selection.c: ditto.
4194 2001-12-10 Michael Meeks <michael@ximian.com>
4196 * configure.in: use cspi/libspi.pc.in instead.
4198 * Makefile.am (pkgconfig_DATA): upd. to match.
4200 * test/simple-at.c (report_focus_event): kill hacks around
4201 bad return values, use putenv not setenv
4203 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4204 fire ChildGone - I killed it.
4206 * libspi/component.c
4207 (impl_accessibility_component_get_extents): remove
4210 * idl/Accessible.idl: kill ChildGone exception.
4212 * cspi/*.[ch]: kill int return from ref / unref.
4214 * cspi/spi_main.c (cspi_object_add_check): fold into
4215 (cspi_object_add): here.
4217 * cspi/spi_component.c (AccessibleComponent_getExtents):
4218 handle exceptions elegantly.
4220 * cspi/spi-private.h (cspi_check_ev_return),
4221 (cspi_return_if_fail): impl.
4223 * cspi/spi_accessible.c: use extensively.
4224 (AccessibleStateSet_equals): add direct compare check.
4226 * cspi/spi_selection.c: tolerate NULL objs, and check
4227 exceptions before return.
4229 * cspi/spi-util.c (cspi_warn_ev): rename to
4230 (cspi_check_ev): this & don't pass ev in; no point.
4232 2001-12-10 Michael Meeks <michael@ximian.com>
4234 * test/test-simple.c: use putenv not setenv
4235 (get_environment_vars): more chatty if you're not using
4238 * test/simple-at.c: do the setenv so more people see the
4241 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4243 * libspi/registry.c:
4244 Changed check of CORBA_environment on notification to be a warning
4245 instead of an error for the moment, since we can recover from this
4246 error when caused by a queued notification from a dead app.
4249 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4250 used by all current implementors of AtkValue), and coerce to
4251 CORBA_float. (Proper general case fix may require change to Value.idl).
4253 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4257 * cspi/spi_accessible.c:
4258 Documentation fixes: added user_data params to documentation for
4259 listeners and callbacks.
4261 * cspi/spi_accessible.c:
4262 Changed AccessibleStateSet_compare to return a
4263 StateSet rather than return the difference set into a third parameter.
4266 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4269 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4270 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4274 Remove subdirectory po from SUBDIRS for now.
4276 * at-bridge/bridge.c:
4277 Beefed up a couple of debug printouts.
4278 One-line fix for signal notification name formatting.
4280 * libspi/accessible.c:
4281 Added assertion to spi_accessible_new ().
4283 * libspi/application.c:
4284 Put #ifdef qualifiers around a printf.
4287 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4289 * registryd/Makefile.am:
4291 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4292 INTLTOOL_SERVER_RULE macro.
4295 Added an event listener for several ATK signals, for
4296 testing and debugging. Removed a few g_warnings.
4297 Added test output if focussed item implements the Value interface.
4299 * test/test-simple.c:
4300 Added test_value () function (known not to pass at the moment, so
4301 not actually called yet.
4303 2001-12-08 Michael Meeks <michael@ximian.com>
4305 * at-bridge/bridge.c (bridge_focus_tracker),
4306 (emit_eventv): fix the same ref. leak.
4307 (register_atk_event_listeners): don't leak.
4309 * cspi/spi-listener-impl.c (cspi_event): more
4310 protection from client code.
4312 * test/test-simple.c (test_desktop): unref the app.
4314 * test/Makefile.am: upd. TESTS.
4316 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4318 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4320 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4322 * cspi/spi_registry.c: constify in strings.
4323 (deregisterGlobalEventListenerAll): don't release the ref.
4325 * cspi/spi.h: start removing redundant / conflicting
4326 gtkdoc comments, making the API readable at a glance :-)
4328 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4330 * test/keysynth-demo.c (keysynth_exit, main): upd.
4332 * test/simple-at.c (main, simple_at_exit): upd.
4334 * test/test-simple.c (unutterable_horror): kill.
4335 (utterable_normal_derefs): kill.
4336 (main): upd & do a setenv before gtk_init, so that we
4337 can use memprof - and to save the pain of remembering
4338 this, if we're running under memprof - don't exit.
4340 * cspi/spi_main.c (SPI_exit): return exit status
4342 (SPI_event_quit): impl.
4343 (SPI_event_main): simplify.
4344 (cspi_is_gnome_app): kill.
4345 (SPI_init): kill isGNOMEapp arg.
4347 * at-bridge/bridge.c (register_atk_event_listeners):
4348 re-instate the unref.
4349 (bridge_exit_func): don't re-activate the registry,
4350 protect vs. theoretical re-entry, use the
4351 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4352 assert a clean shutdown - for regression tests.
4354 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4356 * configure.in: Comment out dummy i18n support for now,
4357 otherwise it fails to build.
4358 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4359 EXTRA_DIST. They are missing in tarball.
4361 2001-12-07 Michael Meeks <michael@ximian.com>
4363 * util/magnifier.c: kill bonobo activation reg. race.
4365 * libspi/component.c
4366 (impl_accessibility_component_get_extents): make it match
4369 * libspi/registry.c (_registry_notify_listeners):
4370 re-remove X headers & reconcile conflicts.
4371 (spi_listener_struct_free): bad conflict resolve.
4372 (impl_accessibility_registry_register_application):
4373 more bad merging fixed.
4374 (impl_accessibility_registry_deregister_application): ditto.
4375 (spi_registry_new): ditto.
4376 (spi_registry_init): don't have an applications field.
4378 [ merge fixups2 branch to here ]
4379 2001-12-07 Michael Meeks <michael@ximian.com>
4381 * test/simple-at.c (report_focus_event),
4382 (report_focussed_accessible): remove g_warning debug.
4384 2001-12-07 Michael Meeks <michael@ximian.com>
4386 * test/test-simple.c (validate_tree): comment out some checks.
4387 (test_desktop): app now not registered idly - horay.
4389 2001-12-07 Michael Meeks <michael@ximian.com>
4391 * cspi/spi_registry.c
4392 (registerAccessibleKeystrokeListener): clean, stop it leaking
4393 great swathes of memory, and device event controller references.
4394 ensure we always pass valid sequences.
4395 (deregisterAccessibleKeystrokeListener): ditto.
4396 (generateKeyEvent): upd.
4398 * at-bridge/bridge.c (bridge_key_listener): handle
4399 registry dead exception gracefully.
4400 (bridge_focus_tracker, emit_eventv): free ev.
4402 * test/simple-at.c (report_focus_event): fix polarity.
4404 * libspi/application.c (notify_listeners): kill the ev
4405 argument, and make sure we init the ev we use.
4406 (spi_application_object_event_listener): split out a chunk
4407 (get_atk_object_ref): here & fixup.
4408 (reverse_lookup_name_for_toolkit_event): make const.
4409 (spi_application_toolkit_event_listener): fixup, kill leaks
4412 * at-bridge/bridge.c (register_atk_event_listeners):
4413 don't unref the noop object - causes grief.
4415 * libspi/registry.c: remove the X headers.
4416 turn off the debug churn.
4418 * libspi/accessible.c (spi_accessible_new_return): only
4419 release the ref if we are supposed to [doh]
4421 * test/simple-at.c (report_button_press, report_focus_event):
4422 guard vs. unexpected exit.
4424 * at-bridge/bridge.c (gtk_module_init): prune printf.
4425 (bridge_exit_func): fix app unref.
4427 * libspi/Makefile.am: don't install registry or desktop.h
4429 * libspi/*.h: update includes.
4431 * libspi/application.h: don't include ourself, or
4432 other redundant headers.
4434 2001-12-06 Michael Meeks <michael@ximian.com>
4436 * libspi/accessible.c
4437 (get_accessible_from_servant): impl.
4438 Upd. all CORBA impl.s to use it killing cut and paste.
4440 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4442 (SPI_init): register atexit cleanup handler here.
4444 2001-12-06 Michael Meeks <michael@ximian.com>
4446 * at-bridge/bridge.c (gtk_module_init): g_error on
4447 activation exception
4449 2001-12-06 Michael Meeks <michael@ximian.com>
4451 * at-bridge/bridge.c (gtk_module_init): some sort of
4452 confusing merge clash - reverted.
4453 (bridge_idle_init): ditto.
4455 * test/test-simple.c (main, utterable_normal_derefs):
4456 merge from Bill - somehow not committed.
4458 2001-12-06 Michael Meeks <michael@ximian.com>
4460 * libspi/value.c (spi_value_class_init): upd.
4461 (spi_value_finalize): kill.
4463 * libspi/table.c (spi_table_finalize): kill.
4464 (spi_table_interface_new): upd.
4465 (spi_table_class_init): upd.
4466 (get_table_from_servant): impl.
4467 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4469 * libspi/selection.c (spi_selection_finalize): kill.
4470 (spi_selection_interface_new): upd.
4471 (spi_selection_class_init): upd.
4472 (get_selection_from_servant): impl.
4473 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4475 * libspi/relation.c (spi_relation_finalize): kill.
4476 (spi_relation_class_init, spi_relation_new): upd
4478 * libspi/image.c (spi_image_finalize): kill.
4479 (spi_image_class_init): upd.
4480 (spi_image_interface_new): upd.
4481 (get_image_from_servant): impl.
4482 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4484 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4485 (spi_hyperlink_finalize): kill.
4486 (spi_hyperlink_new): upd.
4487 (get_hyperlink_from_servant): impl.
4488 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4490 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4491 (spi_hypertext_finalize): kill.
4492 (spi_hypertext_class_init): upd.
4493 (get_hypertext_from_servant): impl.
4494 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4496 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4497 (spi_editable_text_interface_new): upd.
4498 (get_editable_text_from_servant): impl.
4499 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4501 * libspi/text.c (get_text_from_servant): impl.
4502 All impls - update to use it killing more cut and paste,
4503 also fix bad string returns on duff args ( a somewhat
4504 impossible case to handle - but hey ).
4505 (spi_text_construct): impl.
4506 (spi_text_interface_new): upd.
4507 (spi_text_object_finalize): kill.
4509 * libspi/component.c
4510 (accessibility_component_object_finalize): kill.
4511 (spi_component_class_init): upd.
4512 (get_component_from_servant): impl. helper to kill cut & paste.
4513 (impl_accessibility_component_contains):
4514 (impl_accessibility_component_get_accessible_at_point):
4515 (impl_accessibility_component_get_position):
4516 (impl_accessibility_component_get_extents):
4517 (impl_accessibility_component_get_mdi_z_order):
4518 (impl_accessibility_component_get_layer):
4519 (spi_component_interface_new): upd.
4521 * libspi/action.c (spi_action_finalize): kill.
4522 (spi_action_class_init): upd. inherit from SpiObject.
4523 (spi_action_interface_new): upd.
4524 (get_action_from_servant): impl. helper to reduce cut & paste.
4525 (impl_getKeyBinding, impl_getName, impl_doAction),
4526 (impl_getDescription): Use it everywhere.
4528 * cspi/spi_main.c (get_live_refs): a pointer hash.
4529 (spi_object_hash, spi_object_equal): comment out.
4530 There are issues with CORBA object hashing that need
4533 * libspi/application.c (spi_application_init),
4534 (spi_application_new): upd.
4536 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4537 (spi_accessible_class_init): upd.
4538 s/accessible/object/ in epv methods.
4540 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4542 * at-bridge/bridge.c:
4543 Reorder the bridge initialization into the bridge gtk_module_init,
4544 an immediate call to bridge_register_app, and an idle_add for
4545 register_atk_event_listeners (the only code that *must* wait until
4546 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4547 the activation, creates the application's Accessible object, and
4548 queues the bridge_idle_init function. Restored call to
4549 Accessibility_Registry_deregisterApplication().
4550 Prior to making this call we obtain a new reference to the
4551 registry, which is a temporary hack that helps us handle apps that
4552 shut down the bonobo mainloop before we get there.
4554 * libspi/registry.c:
4555 Fix string leakage in debug block, and don't segv if a an app
4556 dies before its event notifications have been propagated.
4559 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4560 as stopgap measure until we get proper exception handling when
4561 objects die during or before interrogation.
4565 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4566 Also changed default value of is_gnome_app to TRUE.
4569 * test/keysynth-demo.c:
4570 Changed use of SPI_init and SPI_event_main to reflect API change above.
4573 Made report_focus_event check the warning value from getName
4574 before reporting on focussed accessible; simplifies handling of
4575 notifications from dead objects.
4577 * test/test-simple.c: (Changes not in this patch since source is
4580 2001-12-05 Michael Meeks <michael@ximian.com>
4582 * registryd/registryd.c (main): protect against
4583 bonobo-activation startup race condition.
4585 * cspi/spi_main.c (cspi_object_add_check): cope
4586 with the exception elegantly.
4588 * idl/Accessible.idl: decl. ChildGone
4590 * libspi/desktop.c (spi_desktop_dispose): impl.
4591 (spi_desktop_class_init): upd.
4592 (spi_desktop_add_application),
4593 (spi_desktop_remove_application),
4594 (abnormal_application_termination): impl.
4595 (impl_desktop_get_child_at_index): re-impl.
4598 (impl_accessibility_registry_deregister_application),
4599 (impl_accessibility_registry_register_application):
4600 kill excessive debug clutter.
4602 * test/test-simple.c (test_misc): test some NULL
4603 tolerance. (main): upd.
4605 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4606 implements no interfaces - so let's not crash.
4608 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4610 * libspi/accessible.c (spi_accessible_new_return): impl.
4611 helper to calm the cut and paste, to cope with
4612 NULL AtkObjects effectively and efficiently, and to kill
4613 the referencing bugs.
4615 * libspi/table.c (impl_getAccessibleAt),
4616 (impl_getRowHeader, impl_getColumnHeader): upd.
4618 * libspi/hyperlink.c (impl_getObject): upd.
4620 * libspi/accessible.c
4621 (impl_accessibility_accessible_get_child_at_index): upd.
4623 * libspi/component.c
4624 (impl_accessibility_component_get_accessible_at_point): upd.
4626 * test/test-simple.c (test_editable_text, test_text): impl.
4629 * cspi/spi_editabletext.c
4630 (AccessibleEditableText_insertText): constify.
4632 * test/test-simple.c (focus_me): make more robust.
4634 * libspi/accessible.c: remove some printfs in methods that
4635 we test and work fine, so we can get a clean tree dump.
4637 * test/test-simple.c (validate_accessible),
4638 (validate_tree): make tree dumping pretty too.
4640 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4641 it builds without debug on.
4643 * test/test-simple.c (validate_accessible): fix the most
4646 * cspi/spi_main.c (spi_object_release): leave the nicely
4647 blanked memory around if in debug mode.
4649 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4651 [committed to fixups2]
4652 2001-12-05 Michael Meeks <michael@ximian.com>
4654 * libspi/editabletext.c
4655 (spi_editable_text_class_init): g_type_class_peek_parent,
4656 not interface peek - so we finalize cleanly.
4658 * libspi/accessible.c (spi_accessible_new): kill debug.
4660 * test/test-simple.c (validate_accessible): fix ref.
4661 leak, print strings before freeing them; sigh, comment a
4662 chunk out due to strangeness.
4663 (validate_tree): unref the child after use.
4665 * cspi/spi_component.c (AccessibleComponent_getLayer):
4666 add missing break statement, switch on zlayer not the
4667 uninitialized retval.
4669 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4670 before (possibly re-entering) remote unref.
4672 * test/simple-at.c (main): unref the desktop.
4674 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4677 * cspi/spi_main.c (cspi_accessible_is_a): here to
4678 isolate bonobo API usage more.
4680 * libspi/registry.c (impl_accessibility_registry_register_application):
4681 prune bogus comment.
4683 2001-12-04 Michael Meeks <michael@ximian.com>
4685 * test/test-simple.c (validate_tree): upd.
4686 IndexInParent check to make it more lucid.
4687 (validate_accessible): dump the tree.
4689 * libspi/accessible.c (de_register_public_ref),
4690 (get_public_refs): impl.
4691 (spi_accessible_new): make more efficient & intuitive.
4692 Now IndexInParent check works.
4694 2001-12-04 Michael Meeks <michael@ximian.com>
4696 * cspi/spi-util.h: remove.
4698 * cspi/spi.h: move SPI_freeString here
4700 * libspi/component.c (impl_accessibility_component_get_layer):
4702 (impl_accessibility_component_get_mdi_z_order): ditto,
4703 return -1 on error - is this ok ?
4705 * test/test-simple.c (test_application): impl.
4707 * cspi/spi_accessible.c (Accessible_getApplication),
4708 (Accessible_isApplication): impl.
4710 * libspi/registry.c (spi_listener_struct_free): release
4711 the CORBA reference too.
4713 * libspi/accessible.c
4714 (impl_accessibility_accessible_get_parent): fix ref leak.
4716 * libspi/registry.c (spi_registry_new): make the registry
4717 immortal - we don't want it to go away ever.
4719 * libspi/application.c
4720 (spi_accessible_application_finalize): impl. cleanup.
4722 * cspi/spi_registry.c
4723 (deregisterGlobalEventListenerAll),
4724 (deregisterGlobalEventListener),
4725 (deregisterAccessibleKeystrokeListener): fix ref leak.
4727 * cspi/spi_main.c (SPI_init): remove redundant ref.
4729 * test/test-simple.c (unutterable_horror): impl. to force a
4734 (impl_accessibility_registry_deregister_application): release
4735 the application when we de-register it.
4737 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4738 until we have the infastructure to get it right.
4740 2001-12-03 Michael Meeks <michael@ximian.com>
4742 * libspi/Makefile.am: only build eventlistener.[ch]
4744 * libspi/accessible.c
4745 (impl_accessibility_accessible_get_child_at_index): don't leak.
4747 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4748 before we hit the idle handler.
4750 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4751 debugging than exit.
4753 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4755 * libspi/listener.c (impl_notify_event): check source
4756 not NIL before unref.
4758 * libspi/registry.c (impl_registry_notify_event): ditto.
4760 * libspi/eventlistener.c
4761 (impl_accessible_event_notify_event): unref the source.
4763 * libspi/accessibleeventlistener.c
4764 (impl_accessible_event_notify_event): unref the source.
4766 * idl/Event.idl: remove 'hash_id' attribute - of no
4769 * libspi/application.c (notify_listeners): upd list
4771 (spi_application_object_event_listener),
4772 (spi_application_toolkit_event_listener): upd to do correct
4776 (_registry_notify_listeners): update.
4777 (parse_event_type): this method also leaks like a sieve.
4778 (impl_accessibility_registry_deregister_global_event_listener):
4779 fix ETYPE_WINDOW case.
4781 * libspi/application.c
4782 (impl_accessibility_application_register_object_event_listener):
4785 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4787 * libspi/hypertext.c (impl_getLink): ditto.
4789 * cspi/spi_main.c (cspi_object_add): remove
4790 bogus CORBA_Object_duplicate.
4792 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4795 * cspi/spi_accessible.c
4796 (Accessible_getRelationSet): fix leak / referencing issue.
4798 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4799 (cspi_object_add, cspi_object_unref): upd.
4800 (spi_object_release, get_live_refs): impl.
4801 (cspi_cleanup): simplify.
4803 * *.[ch]: s/boolean/SpiBoolean/
4805 * cspi/spi_accessible.c (role_names): actualy order so it
4806 corresponds with the enum !
4808 * test/test-simple.c (test_roles): check some role strings
4809 vs. enums to detect offset errors.
4811 2001-12-01 Michael Meeks <michael@ximian.com>
4813 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4815 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4817 (Accessible_getChildAtIndex): use cspi_add_check so we
4818 check the ev before using a (possibly) invalid value.
4820 * libspi/accessible.c
4821 (impl_accessibility_accessible_get_parent): don't segv
4824 * at-bridge/bridge.c (gtk_module_init): upd.
4825 (bridge_property_event_listener): don't leak strings
4827 (bridge_state_event_listener),
4828 (bridge_property_event_listener): don't use a static
4829 buffer in case of recursive event emission &
4830 re-enterancy - split out the swathe of cut and paste
4832 (emit_eventv): and fix 2 ref leaks here & comply to the
4834 (bridge_register_app): rename to
4835 (bridge_idle_init): this and kill arg parsing, split
4836 various inits & bonobo-activation registration to module
4837 init time, kill referencing error.
4838 (bridge_exit_func): fix the same leak.
4839 (bridge_focus_tracker): don't leak event structures
4841 (bridge_signal_listener): more leakage and cut & paste
4843 (bridge_key_listener): return the result - FIXME is
4844 this polarity correct ?
4845 (accessibility_keystroke_from_atk_key_event): rename
4846 (accessibility_init_keystroke_from_atk_key_event): and stop
4848 (gtk_module_init): return a value - not that it is checked by
4850 (bridge_key_listener): register my horror at casting between
4851 IDL defined structs.
4852 (bridge_get_registry): kill - not used.
4854 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4856 * test/test-simple.c (test_roles): impl.
4857 (test_desktop, validate_accessible, validate_tree): impl.
4859 * cspi/spi_accessible.c (role_names): fixup bogus
4860 MAX_ROLES setup, make constants const for efficient linkage
4861 (AccessibleRole_getName): conform to coding style, make
4864 2001-11-30 Michael Meeks <michael@ximian.com>
4866 * cspi/spi.h: add missing prototype.
4868 * libspi/registry.c (spi_listener_struct_new): fix sig.
4870 * test/Makefile.am: add test-simple
4872 * test/test-simple.c: add
4874 * test/test.sh: add.
4876 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4878 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4879 do it straight - since otherwise we often get an activation race.
4881 [ work before Bill duplicated a chunk of it ... ]
4882 2001-11-30 Michael Meeks <michael@ximian.com>
4884 * libspi/keystrokelistener.c
4885 (spi_keystroke_listener_class_init): fixup arg
4888 * libspi/eventlistener.c
4889 (spi_event_listener_class_init): ditto.
4891 * tests/test.sh: add.
4893 * cspi/spi-listener-impl.h: update macros.
4895 * cspi/spi-listener-impl.c
4896 (cspi_event_listener_remove_callback): add
4897 correct pre-conditions.
4899 * cspi/spi_main.c (SPI_exit): guard vs. double
4900 exits, exit the mainloop nicely.
4901 (SPI_event_main): make more sense.
4902 (SPI_init): move the atexit evilness here so we
4903 always do it (yuck).
4904 (SPI_event_main): upd.
4906 * test/simple-at.c: update for listener changes.
4908 * registryd/registryd.c (main): prune kruft.
4910 * libspi/libspi.h: upd.
4912 * libspi/eventlistener.[ch]: rename broken macros.
4914 * libspi/accessibleeventlistener.[ch]: remove.
4916 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4918 * test/test-simple.c: Add - automated tests.
4920 * cspi/spi-listener-impl.c (cspi_event),
4921 (cspi_key_event): add user_data to invoke.
4922 (cspi_keystroke_listener_finalize): impl.
4923 (cspi_keystroke_listener_class_init): upd.
4926 (createAccessibleEventListener),
4927 (AccessibleEventListener_addCallback),
4928 (createAccessibleKeystrokeListener),
4929 (AccessibleKeystrokeListener_addCallback): upd.
4931 * libspi/deviceeventcontroller.c
4932 (spi_device_event_controller_check_key_event): add public proto.
4935 (impl_accessibility_registry_deregister_global_event_listener):
4936 always init listeners.
4937 (_registry_notify_listeners): yes it is.
4939 * cspi/spi-listener-impl.c (cspi_key_event):
4941 (cspi_event_listener_finalize): impl.
4942 (cspi_event_listener_class_init): hook up.
4943 (event_handler_new, event_handler_free),
4944 (event_list_remove_by_callback): impl.
4945 (cspi_event_listener_remove_callback),
4946 (cspi_keystroke_listener_remove_callback),
4947 (cspi_keystroke_listener_add_callback),
4948 (cspi_event_listener_add_callback): upd.
4950 * libspi/keystrokelistener.c
4951 (keystroke_listener_object_finalize): kill
4952 (spi_keystroke_listener_class_init): upd.
4953 (spi_keystroke_listener_add_callback),
4954 (spi_keystroke_listener_remove_callback): kill,
4956 (impl_key_event): prune drasticaly.
4958 * libspi/eventlistener.c
4959 (spi_event_listener_add_callback),
4960 (spi_event_listener_remove_callback): kill, use
4962 (impl_accessible_event_notify_event): upd.
4963 (spi_event_listener_object_finalize): remove.
4965 * libspi/Makefile.am: use eventlistener.[ch]
4967 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4969 * libspi/registry.c (_registry_notify_listeners):
4970 Changed listener loop iteration to use preferred convention.
4971 Got rid of string memory leaks caused be calling g_strconcat
4972 inside function calls.
4974 * libspi/registry.c (parse_event_type):
4975 Stopped g_strconcat memory leaks, free the g_strsplit return,
4976 g_strdup the split pieces when used, etc.
4978 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4981 Change method 'compare' to return a 'difference set' rather than
4982 taking a StateSet as an out parameter (more Java-friendly).
4984 * idl/Accessible.idl:
4985 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4987 * idl/Component.idl:
4989 Changed methods 'getExtents' and 'getImageExtents' in these
4990 interfaces to return a BoundingBox structure.
4991 (getPosition and getSize are redundant and possibly should be
4992 removed, rather than creating a corresponding Point struct.)
4994 * cspi/spi_component.c:
4995 Modify implementation of getExtents to reflect the above IDL
5000 Add (missing) AccessibleImage_getExtents () API.
5002 * docs/reference/cspi/at-spi-cspi-sections.txt:
5003 Added AccessibleImage_getImageExtents () to docs.
5005 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5007 * idl/Component.idl:
5008 Added two methods, getLayer () and getMDIZOrder (), to reflect
5009 the new ATK methods atk_object_get_layer and
5010 atk_object_get_mdi_z_order. (Which arguably should be part of the
5011 AtkComponent API and AtkObject). Also added an enum,
5012 ComponentLayer, for the first method's return value.
5014 * libspi/component.c:
5015 Added implementations for these methods.
5017 * cspi/spi_component.c:
5019 Added cspi binding methods for above,
5020 AccessibleComponent_getLayer() and
5021 AccessibleComponent_getMDIZOrder().
5022 Added cspi enum 'AccessibleComponentLayer'.
5024 * docs/reference/cspi/at-spi-cspi-sections.txt:
5025 Added above methods to docs.
5029 Changed typedef for 'boolean' type (and all references to it) to
5030 SPIBoolean, to avoid keyword clashes with C++.
5033 Changed usages of 'boolean' to SPIBoolean.
5035 * test/keysynth-demo.c:
5036 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5037 app), except where SPIBoolean is required by the callbacks API.
5039 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5041 * cspi/spi_registry.c:
5042 Removed obsolete X event loop for passive keygrabs (which now
5045 * registryd/registryd.c:
5046 Removed unnecessary call to gdk_init() [cruft]. This also allows
5047 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5050 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5052 * docs/reference/cspi:
5053 Included docs for SPI_freeString in generated documentation.
5056 Renamed spi_freeString to SPI_freeString, for consistency. Added
5057 documentation for this function.
5060 Renamed spi_freeString to SPI_freeString, for consistency.
5061 Removed obsolete method declaration string_from_corba_string.
5063 * test/keysynth-demo.c:
5064 Small tweak to comments.
5067 Stopped leaking the strings returned from CSPI.
5069 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5071 Merged Michael's branch (see his ChangeLog entries below).
5073 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5074 bridge is alive, release on exit.
5076 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5077 Fix type check macro.
5080 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5083 Added is_gnome_app static, and method cspi_is_gnome_app(),
5084 so we can call the appropriate shutdown routine at exit in SPI_exit.
5086 * cspi/spi_main.c (cspi_object_ref):
5087 Duplicate the corba object passed in, since we're keeping it around.
5089 * cspi/SPI_exit.c, cspi_cleanup:
5090 Moved the releasing of the live refs to its own function, so we
5091 can put it in g_atexit (). Call the appropriate shutdown API
5092 depending on whethe calling client is a gnome app or not
5093 (bonobo_main_quit or CORBA_ORB_shutdown).
5095 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5096 Unref the listener when this method is called, after
5097 deregistration. Updated the API docs to note this behavior.
5099 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5100 Bugfixes: Ref the bonobo object when returning a parent or child
5101 reference, or an AccessibleRelation. Generally made sure
5102 BonoboObject refcount is incremented whenever we return an
5105 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5106 Fixed typo/bug in signal declaration.
5108 * libspi/accessibleeventlistener.h:
5111 * libspi/application.c (spi_application_new):
5112 Fixed leak in initialization.
5115 Remembered to increment bonobo-object refcount when returning
5116 children (applications) from desktop object.
5117 Added (empty) finalize method.
5119 * libspi/deviceeventcontroller.c:
5120 Hold a ref to listeners inside DEControllerKeyListeners.
5121 Added dec_key_listener_free() method. Use prepend instead of
5122 append in key_listener list. Fixed some refcount madness and
5123 leaks in the listener registration/deregistration - deregistration
5124 now calls dec_key_listener_free() on listeners, and on the
5125 temporarily constructed dec_key_listener() used to perform the search/match.
5127 * libspi/hypertext.c (spi_hypertest_finalize):
5128 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5129 class. Also fixed spi_hypertext_interface_new() and
5130 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5132 * libspi/hypertext.h:
5133 Removed pointless and duplicate AtkObject pointer from
5136 * libspi/keystrokelistener.c:
5137 Fixed incorrect type of keystroke_listener_parent_class,
5138 renamed keystroke_listener_object_finalize to
5139 spi_keystroke_listener_object_finalize.
5140 Fixed typo in signal declaration
5141 (spi_keystroke_listener_class_init).
5143 * libspi/registry.c:
5144 Added funcsions spi_listener_struct_new() and
5145 spi_listener_struct_free() to help with memory management issues.
5146 We also now use these methods instead of gnew + poking stuff into
5147 the struct, and to decrement listener counts/free the listeners
5148 when deregistering them.
5149 Fix more refcount bugs in getDesktop() and
5150 getDeviceEventController().
5153 De-ref the desktop after enumerating the applications. Explicitly
5154 decrement the refcounts on the created listeners on exit (using
5155 _unref for keystroke listeners, and via the
5156 deregisterGlobalEventListenerAll command for other event
5159 2001-11-27 Michael Meeks <michael@ximian.com>
5161 * cspi/spi-listener.h: fixup enum.
5163 2001-11-27 Michael Meeks <michael@ximian.com>
5165 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5166 (cspi_keystroke_listener_new): Use the cspi variants.
5168 2001-11-26 Michael Meeks <michael@ximian.com>
5170 * test/keysynth-demo.c: fix 2 compile warnings, missing
5173 * test/simple-at.c (report_focussed_accessible),
5174 (report_focus_event, report_button_press),
5175 (check_property_change, is_command_key),
5176 (report_ordinary_key_event, report_command_key_event): upd.
5178 * util/mag_client.h: include pre-requisites.
5180 * libspi/accessibleeventlistener.c
5181 (spi_event_listener_object_finalize): free any lingering
5184 * libspi/keystrokelistener.c
5185 (keystroke_listener_object_finalize): ditto.
5187 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5188 callbacks, with cspi types.
5190 * cspi/spi_event.c (createAccessibleEventListener): chain to
5191 (AccessibleEventListener_addCallback): here.
5192 (createAccessibleKeystrokeListener): chain to
5193 (AccessibleKeystrokeListener_addCallback): here.
5195 * libspi/keystrokelistener.c
5196 (spi_keystroke_listener_class_init): add signal.
5197 (impl_key_event): emit the event.
5198 (boolean_handled_accumulator): impl.
5199 (marshal_BOOLEAN__POINTER): add, gack.
5201 * libspi/accessibleeventlistener.c
5202 (spi_event_listener_class_init): add signal.
5203 (impl_accessible_event_notify_event): emit the signal &
5204 make the loop efficient.
5205 (spi_event_listener_add_callback): prepend the callback.
5207 * libspi/accessibleeventlistener.h: add an 'event' signal,
5208 decl type on callback.
5210 * libspi/keystrokelistener.h: ditto.
5212 * cspi/spi-listener.h: make methods typesafe and
5213 make them use the new event typedefs.
5215 * test/simple-at.c (report_focussed_accessible):
5216 include mag_client.h
5217 Use *(void *)text_interface not the other thing.
5219 * configure.in: add gtk to registryd bits - since we use
5222 * util/magnifier.c: include libbonobo.h
5224 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5226 * test/keysynth-demo.c:
5227 Turned this into a simple scanning keyboard, to demonstrate the
5228 use of g_timeout_add () as a means of creating timers for
5229 scanning, and the use of GtkStyle for visually indicating when
5230 virtual keyboard elements are selected.
5232 keysynth-demo now listens to any keyboard keys with zero-valued
5233 keycodes (i.e. 'unused' keys) and interprets them as
5236 Reworked the shiftlatch code so that shift-down state isn't held
5237 for long periods (it's only synthesized immediately prior to
5238 the keysynth event it's modifying). Note that shiftlatch in this
5239 demo is a convenience, not intended to take the place of AccessX
5240 which is the better choice for getting 'sticky' modifier keys.
5242 * libspi/deviceeventcontroller.c:
5243 * at-bridge/bridge.c:
5244 * cspi/spi_registry.c:
5245 Removed some debug print stuff, and put other verbosity in #ifdef
5250 Implemented some more of the magnifier IDL for the simple
5251 magnifier: namely, getZoomRegionParams.
5252 Added mag_x and mag_y members to MagnifierData struct, aid of this
5254 Added GtkWindow::realize signal handler to magnifier, to keep it
5255 from receiving keyboard focus from the WM.
5257 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5259 * cspi/spi-private.h: my guess at what michael forgot
5260 before he ran off to NZ :-)
5262 2001-11-23 Michael Meeks <michael@ximian.com>
5264 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5265 comment out non existant method invoke so we link.
5267 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5268 use bonobo_exception_get_text for more friendly warnings.
5270 * cspi/spi.c (Obj_Add): move into spi_main & rename
5271 spi_object_add; kill spi.c
5273 * cspi/spi_registry.c
5274 (deregisterGlobalEventListener),
5275 (deregisterGlobalEventListenerAll),
5276 (registerGlobalEventListener): fix exception leaks.
5278 * cspi/spi_main.c (spi_exception): impl. helper, so we
5279 don't leak exceptions.
5281 * cspi/spi_selection.c
5282 (AccessibleSelection_deselectSelectedChild): return the
5285 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5286 (spi_registry): ditto.
5287 (SPI_init): guard against double inits.
5289 * cspi/*.c: use spi_ev (), and spi_registry () where
5290 appropriate - a temporary hack until we have something
5291 better. Use spi_object_add
5293 2001-11-22 Michael Meeks <michael@ximian.com>
5295 * cspi/Makefile.am: re organise, install the headers.
5297 * cspi/*.h: add G_BEGIN/END_DECLS
5299 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5302 Added non-preemptive keylistener for key events with no modifiers
5303 and shift-only modifier.
5305 * libspi/keystrokelistener.c:
5306 Removed some verbose diagnostics printout.
5308 * cspi/spi_registry.c:
5309 Fixed a bug that caused all key listeners to be registered as
5312 * libspi/deviceeventcontroller.c:
5313 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5314 for non-preemptive key masks.
5317 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5319 * docs/reference/idl/at-spi-idl-docs.sgml:
5320 * docs/reference/idl/at-spi-idl-sections.txt:
5321 * docs/reference/idl/at-spi-idl-overrides.txt:
5322 Added missing files.
5324 * docs/reference/Makefile.am:
5325 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5326 to scan the IDL files :-(
5331 Added .cvsignore files.
5333 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5335 * libspi/deviceeventcontroller.c:
5336 * libspi/keystrokelistener.c:
5338 * cspi/spi_registry.c:
5339 Added filters for KeySets, KeyEventSeq, and event types to key
5340 event dispatching, so listeners should only receive those events
5341 that they requested :-)
5343 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5348 * docs/reference:Makefile.am:
5349 * docs/reference/cspi:
5350 * docs/reference/cspi:Makefile.am:
5351 * docs/reference/cspi:tmpl:
5352 * docs/reference/cspi:tmpl:*.sgml:
5353 * docs/reference/idl:
5354 * docs/reference/idl:Makefile.am:
5355 * docs/reference/idl:at-spi-idl-sections.txt:
5356 * docs/reference/idl:at-spi-idl-docs.sgml:
5357 * docs/reference/idl:tmpl:
5358 * docs/reference/idl:tmpl:*.sgml:
5360 Restructured docs directory to allow separate 'reference' docs
5361 section, and forked idl and cspi docs. Added the sgml template
5362 files to CVS. Added the first sections/structural sgml for the
5365 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5367 * configure.in, libspi/Makefile.am: find libXtst.
5369 2001-11-21 Michael Meeks <michael@ximian.com>
5371 * test/accessx-gui.c: s/spi_value/value/ - doh.
5373 * libspi/base.[ch]: add.
5375 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5377 * idl/Accessible.idl:
5378 * idl/Application.idl:
5381 Started gtk-doc cleanup on IDL.
5383 * libspi/deviceeventcontroller.c:
5384 Added and connected non-preemptive key notification from the
5385 toolkits (in addition to the pre-emptive support from XServer
5386 which we had before, but which causes 'focus flashing'). Filters
5387 are presently limited to key modifiers and global/non-global,
5388 KeySets are presently ignored, as are KeyEvent masks.
5390 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5391 structs into the persistant structure rather than just storing
5392 pointers to things that might not persist across servant
5395 The XGrabKey call now does async keygrabs, because synchronous
5396 ones were deadlocking with GDK_event code in a very nasty way.
5398 Added boolean to internal method notify_keylisteners, to indicate
5399 whether the event came from the 'toolkit source' or the 'global
5400 (XServer) source' - this is used in the notification process to
5401 determine which listeners to send the event to.
5403 deviceeventcontroller.c is now warning-free.
5405 * libspi/registry.c:
5406 Fixed regression in application de-registration.
5407 Also fixed some really brain-dead weirdness having to do with
5408 event dispatching - event structs are now duplicated before being
5409 re-marshalled in the dispatch to listeners. This also fixes a
5410 Solaris build problem.
5413 2001-11-20 Michael Meeks <michael@ximian.com>
5416 (impl_accessibility_registry_deregister_global_event_listener):
5419 * libspi/deviceeventcontroller.c
5420 (spi_device_event_controller_check_key_event): return
5421 FALSE on no virtual method.
5423 * libspi/*..h: make includes work on a correctly pathed install.
5425 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5427 * libspi/application.h: kill unused ( and whacked out )
5428 gboolean *spi_application_set_id (AtkObject *app, long id);
5430 2001-11-20 Michael Meeks <michael@ximian.com>
5432 * libspi/*.[ch]: further convert to bonobo's type func
5433 macros, remove redundnant casts etc.
5435 * libspi/text.c s/accessibility_text/spi_text/g,
5436 re-order to de-cruft.
5438 * libspi/hypertext.c: re-order to kill a huge slew
5439 of redundant forward decls.
5441 * libspi/relation.c: ditto.
5443 * libspi/image.c: ditto.
5445 * */.cvsignore: update
5447 2001-11-20 Michael Meeks <michael@ximian.com>
5449 * libspi/deviceeventcontroller.c
5450 (_controller_register_with_devices): use g_getenv,
5451 kill stdlib.h include.
5453 * libspi/keystrokelistener.c
5454 (spi_keystroke_listener_get_type): kill
5455 (spi_keystroke_listener_class_init),
5456 (spi_keystroke_listener_init): rename to this.
5458 * libspi/text.c (impl_getAttributes): fix warning / bug.
5460 * libspi/*.[ch]: more headers, includes and over commenting.
5462 2001-11-20 Michael Meeks <michael@ximian.com>
5464 * libspi/*.[ch]: fixup headers, includes and over commenting.
5466 * libspi/image.c (impl__get_imageDescription): const
5467 correctness warning fix. remove redundant casting.
5469 * libspi/table.c (impl_getRowDescription): ditto.
5470 (impl_getColumnDescription): ditto.
5472 * libspi/libspi.h: add.
5474 2001-11-19 Michael Meeks <michael@ximian.com>
5476 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5478 * libspi/component.c (accessibility_component_get_type):
5479 rename to (spi_component_get_type): and macroify.
5480 (accessibility_component_init): rename to
5481 (spi_component_init): this
5482 (accessibility_component_class_init): rename to
5483 (spi_component_class_init): this
5485 * libspi/action.c (spi_action_get_type): kill, use the macro.
5487 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5490 * libspi/application.c (spi_application_object_event_listener),
5491 (impl_accessibility_application_register_object_event_listener):
5492 warning fixes / const understanding updates.
5494 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5497 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5499 * libspi/spi_accessible.c: Added docs and C bindings for
5500 AccessibleStateSet. (No implementations yet). Documentation
5501 coverage for C bindings now 100%. Made docs for event listeners
5506 boolean notifyListenersSync (in DeviceEventListener listener,
5507 in DeviceEvent event);
5509 oneway void notifyListenersAsync (in DeviceEventListener listener,
5510 in DeviceEvent event);
5512 Added DeviceEventListener and DeviceEvent structs (may deprecate
5513 KeyStroke and KeystrokeListener in favor of this generic
5514 event/listener framework for devices).
5516 * libspi/deviceeventcontroller.c:
5518 Changed some key listener code to take masks, etc., and paved the
5519 way for integration of toolkit/non-preemptive key events. Changed
5520 signatures of some internal methods.
5522 * at-bridge/bridge.c:
5523 Fixed regression connecting to interface signals, apparently
5524 caused by GTK+ changes.
5526 Added an internal bridge_state_listener to deal with
5527 property-change:accessible-state signals.
5529 Changed the key_listeners GList to store structs (including masks,
5530 etc.) instead of just CORBA_Objects (required for full
5531 implementation of key listener API).
5533 Connected the bridge to all currently supported Atk signals.
5534 Events now supported:
5535 object:property-change
5536 object:property-change:accessible-name
5537 object:property-change:accessible-state
5538 object:property-change:accessible-description
5539 object:property-change:accessible-parent
5540 object:property-change:accessible-value
5541 object:property-change:accessible-role
5542 object:property-change:accessible-table-caption
5543 object:property-change:accessible-table-column-description
5544 object:property-change:accessible-table-column-header
5545 object:property-change:accessible-table-row-description
5546 object:property-change:accessible-table-row-header
5547 object:property-change:accessible-table-summary
5548 object:children-changed
5549 object:visible-data-changed
5550 object:selection-changed
5551 object:text-selection-changed
5553 object:text-caret-moved
5555 object:row-reordered
5557 object:column-inserted
5558 object:column-reordered
5559 object:column-deleted
5560 object:model-changed
5562 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5564 * libspi/hyperlink.c,h:
5565 Fixed some broken stuff in hyperlink.
5567 * libspi/relation.h:
5568 * libspi/relation.c:
5569 * cspi/spi_accessible.c:
5570 Initial implementations of AccessibleRelation methods, and docs.
5572 * libspi/accessible.c:
5573 Fixed a bug that caused SEGV if an accessible
5574 object's description is NULL, and a client
5575 requests it. An empty string is now returned.
5577 * cspi/spi_editabletext.c:
5578 * cspi/spi_hypertext.c:
5580 * cspi/spi_hyperlink.c:
5584 Doc coverage now 95%.
5586 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5588 One last namespacing revision:
5589 * libspi/accessibleeventlistener.[ch]:
5590 Renamed SpiAccessibleEventListener to SpiEventListener,
5591 (no need for two namespaces ;-)
5593 And lots of documentation fixes:
5595 * docs/at-spi-docs.sgml:
5596 Fixed 'underscore vs. hyphen' bug that was preventing
5597 the gtk-doc API docs from being automatically generated.
5600 * cspi/spi-listener.h
5602 * cspi/spi_accessible.c
5604 * cspi/spi_application.c
5605 * cspi/spi_component.c
5606 * cspi/spi_editabletext.c
5608 * cspi/spi_hypertext.c
5610 * cspi/spi_registry.c
5611 * cspi/spi_selection.c
5615 * docs/at-spi-docs.sgml
5616 * docs/at-spi-sections.txt
5618 Added and fixed up gtk-doc documentation in cspi.
5620 Interfaces now (fully) documented (subject to revision and enhancement):
5622 Event Listener Support
5624 AccessibleApplication
5628 AccessibleEditableText
5635 AccessibleRelationSet
5640 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5642 * at-bridge/bridge.c:
5643 Initial work for toolkit-level key snooper connection by bridge.
5648 New typedefs and fixes to support new namespacing, and cleaner
5649 separation of cspi bindings from libspi bonobo implementation.
5650 Removed inconsistent and extraneous Spi* namespace prefix that
5651 had crept into cspi headers.
5652 Lots of comment fixes that sed had missed.
5654 * cspi/spi-roletypes.h:
5655 * cspi/spi-statetypes.h:
5656 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5657 to AccessibleRoleType.
5659 * libspi/accessibleeventlistener.h:
5660 Fixed minor namespacing weirdness.
5662 * libspi/deviceeventcontroller.c:
5663 Reordered some internal API for device listeners.
5664 Changed the key registry final boolean to 'is_system_global'
5665 rather than 'is_synchronous', which is more descriptive of its
5667 Added spi_device_event_controller_new().
5668 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5670 * libspi/keystrokelistener.[ch]:
5671 Namespaced KeystrokeListener to SpiKeystrokeListener.
5672 Changed uses of keymasks to use SPI_ prefix, and did other
5675 * libspi/keymasks.h:
5676 Namespaced keymask constants with SPI_ prefix.
5678 * libspi/registry.c:
5679 Some warning fixes, and knock-on fixes from namespace changes.
5682 Added rules for accessx-gui test program.
5684 * test/accessx-gui.c:
5685 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5686 utility. It doesn't actually use at-spi, but it's still cool and
5689 * test/keysynth-demo.c:
5693 Fixes so that these test clients work properly with the namespaced
5694 libraries. (Incompletely tested for technical reasons, fixes may follow)
5697 2001-11-13 Michael Meeks <michael@ximian.com>
5699 * libspi/application.c
5700 (impl_accessibility_application_get_version),
5701 (impl_accessibility_application_get_toolkit_name):
5703 (impl_accessibility_application_set_id),
5704 (impl_accessibility_application_get_id): remove
5705 redundant casting code.
5707 * libspi/action.c (impl_getDescription): fix warnings.
5709 * libspi/accessible.c
5710 (impl_accessibility_accessible_get_parent),
5711 (impl_accessibility_accessible_get_child_at_index),
5712 (impl_accessibility_accessible_get_state),
5713 (impl_accessibility_accessible_get_relation_set):
5714 warning fixes & include action.h
5716 2001-11-13 Michael Meeks <michael@ximian.com>
5718 * *.[ch] fix bits I screwed up:
5720 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5721 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5723 2001-11-13 Michael Meeks <michael@ximian.com>
5725 * *.[ch] Namespace libspi into spi_ and Spi.
5727 2001-13-11 Michael Meeks <michael@ximian.com>
5729 * Makefile.am: dist & install at-spi-1.0.pc
5731 * libspi/Makefile.am: install into at-spi-1.0
5733 * idl/Makefile.am (idldir): install into at-spi-1.0
5735 * at-spi-1.0.pc.in: add.
5737 * configure.in: build it.
5739 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5741 * test/keysynth-demo.c:
5742 Use a 'realize' signal-handler to set the WM properties for
5743 the virtual keyboard, rather than making it a "POPUP" type
5744 override-redirect window (thanks to anders carlsson for that
5747 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5750 * test/keysynth-demo.c:
5751 Added new test of key synthesis, which creates a simple
5752 (mouse-operated) onscreen keyboard. It inserts key events into
5753 the currently-focused window, thus it does not grab keyboard focus
5756 * cspi/spi_registry.c:
5757 Added C binding for AT-SPI generateKeyEvent.
5759 * libspi/deviceeventcontroller.c:
5760 Added call to XFilterEvent so that key listener works with XIM (we
5761 hope). Added event_synth_type to generateKeyEvent, so that we can
5762 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5763 synthesize a press/release pair for KeySyms.
5765 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5767 * libspi/Makefile.am:
5768 * registryd/Makefile.am:
5769 (temporary) hack to include libXtst in libspi and registryd.
5770 (Needed for keystroke synthesis, see below).
5773 Improved API for registerKeystrokeListener, in accordance with
5774 discussions with Gnopernicus team and X server research.
5776 * libspi/registry.c:
5777 * libspi/deviceeventcontroller.c:
5778 * libspi/accessible.c:
5779 * libspi/keystrokelistener.c:
5780 Changes and fixes to support keylisteners for potentially
5781 consumed key events (that is, 'passive grabs').
5782 Added implementation for generateKeyEvent() [untested].
5785 Changes to registerKeystrokeListener() API, as above.
5786 Added deregisterGlobalEventListenerAll(), and
5787 deregisterKeystrokeListener(), which are needed for clean exit of
5789 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5790 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5792 * cspi/spi_registry.c:
5793 Added implementations of function prototypes mentioned above.
5795 * registryd/registryd.c:
5796 Added the key listener event source as a g_timeout(), to allow
5797 receipt of key events that are not caught by GDK (since GDK
5798 doesn't support passive keygrabs, this was necessary).
5801 Changed to attach a keylistener to 'Alt' keys, and
5802 respond to the following keycommands: Alt-M (toggle magnifier);
5803 Alt-F (toggle speech); Alt-Q (quit).
5804 Added an exit routine to deregister the listeners, and a key
5805 listener that prints some key info to the console when a key
5806 matches the listener mask (and is thus received by the listener).
5808 * util/idl/Magnifier.idl:
5809 Changes to magnifier API to support multiple zoom regions,
5810 non-uniform scaling in x and y, markDirty, and a host of other
5811 features that would be useful to magnification.
5814 * util/mag_client.c:
5815 * util/mag_client.h:
5816 * util/mag_control.c:
5818 Source code changes to support the above IDL changes.
5821 As above, and also changes to use a (slower) generic conversion
5822 path for colormap conversions, since the fast RGB conversions have been
5823 reported to fail for 16-bit displays.
5825 2001-10-26 Michael Meeks <michael@ximian.com>
5827 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5829 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5831 * at-bridge/Makefile.am: fix LDFLAGS.
5833 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5835 * at-bridge/bridge.c:
5836 Re-worked listeners for toolkit events, now we have signal
5837 and property listeners. Added a private method
5838 register_atk_event_listeners(), which registers with the
5839 various atk and gtk signals we need to monitor in order to emit
5841 Added emission hook for AtkObject:property-change events, to
5842 support the 'property listeners'.
5843 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5846 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5847 which emit warnings and exit, respectively, if CORBA errors occur
5848 during remote calls, and we now use these methods to check most of
5849 our CORBA calls in the C bindings.
5851 * cspi/spi_accessible.c:
5852 Changed AccessibleSelection_refSelectedChild() to
5853 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5854 now increment refcounts.
5856 * cspi/spi_component.c:
5857 Fixed some long pointer casts (dangerous!) to pass pointers to
5858 CORBA_longs of the proper type to the CORBA stubs, and copy the
5859 data into the longs that were passed into the C bindings code.
5861 * at-bridge/bridge.c:
5863 * libspi/accessible.c:
5864 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5865 hyperlinks, AtkHyperlink is an object type.
5867 * libspi/application.c:
5868 Added various conversions to and from "generic" event types and
5869 atk-specific types; this is really part of the 'bridge'
5870 implementation but is valid for all AtkObject-based accessibility
5873 * libspi/editabletext.c:
5874 Fixed nasty bug wherein editable text's finalize method was
5875 unref'ing tha AtkObject reference that the text parent class was
5876 about to unref _again_. There was also a nasty inheritance bug
5877 that meant that the AccessibleEditableText class was corrupt.
5879 * libspi/selection.c:
5880 Provided implementations for some selection API that was broken.
5882 * idl/Application.idl:
5883 Added registerObjectEventListener () method.
5886 Fixed a number of return values that were Bonobo_Unknowns from
5887 bonobo_object_corba_objref(), which I
5888 forgot to dup before returning. Changed instances of
5889 bonobo_object_corba_objref (bonobo_object(o)) to
5890 BONOBO_OBJREF(o), for concision and clarity.
5892 2001-10-13 Louise Miller <louise.miller@sun.com>
5894 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5895 idl/Event.idl, idl/Registry.idl
5896 Changed these files to include Bonobo_Unknown.idl instead
5899 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5901 * libspi/component.c libspi/component.h:
5902 Fixed typo. Added assertions for object checks in
5903 AccessibleComponent code.
5905 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5907 * idl/Accessible.idl:
5908 Added 'isEqual (Accessible *object)'
5909 method for Accessible. (Not Yet Implemented).
5912 Changed signature of registerKeystrokeListener() to
5913 take a KeySet and KeyEventSeq so that specific keys and event
5914 types could be requested for monitoring, and added a flag
5915 is_synchronous so that either synchronous or asynchronous
5916 notification could be requested. (However this is not all
5917 implemented yet). This also meant adding two new typedefs,
5918 KeyEventSeq and KeySet.
5921 Added two new relations, RELATION_TOOLTIP_FOR and
5922 RELATION_LEAFNODE_OF.
5925 Added new state, STATE_HAS_TOOLTIP.
5927 * libspi/text.c, editabletext.c:
5928 Added new assertions to all casts of bonobo-objects from
5929 CORBA servants, to prevent Text API calls on non-text objects.
5930 Changed suspect casts of int-pointer types, so that we
5931 always send a valid CORBA_long pointer to the CORBA APIs that use
5932 in/out long parameters. We then have to copy from the CORBA_long
5933 into the regular long or int for return to the C bindings, or
5934 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5937 * libspi/deviceeventcontroller.c:
5938 Cleaned these sources up.
5940 Changed return type for getCharacterAtOffset to
5941 CORBA_unsigned_long, to allow for 32-bit characters.
5944 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5948 Fixed 'make dist' so that distro compiles...
5949 * libspi/keymasks.h:
5951 * cspi/spi-listener.c:
5952 KeystrokeListenerCB now returns a boolean.
5954 Added KeyEventType struct, and KeyStroke.
5955 Also added createKeystrokeListener(),
5956 KeystrokeListener_addCallback(),
5957 KeystrokeListener_removeCallback(), and added a keymask to
5958 registerKeystrokeListener().
5959 * cspi/spi_accessible.c:
5960 Changed numerous return types for interfaces from
5961 AccessibleComponent to Accessible<InterfaceName>; this was
5962 probably a cut-and-paste error.
5964 Implementations of new KeystrokeListener api (from spi.h,
5967 Changes to key modifier mapping.
5968 Created ControllerEventMask struct.
5969 Made DeviceEventController derive from Bonobo::Unknown.
5971 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5972 * libspi/deviceeventcontroller.c:
5973 Added a number of new internal (private) methods.
5974 * libspi/editabletext.c:
5975 * libspi/editabletext.h:
5976 Fixed a number of bugs related to the fact that
5977 editabletext inherits from text. Fixed the EditableText struct,
5978 the init() call, and use correct casts when calling Text methods
5979 from an EditableText object. Removed (duplicate) atko from the
5980 EditableText structure, we use the one in the parent Text
5981 structure via the casts mentioned above.
5982 * libspi/keystrokelistener.[ch]:
5983 * libspi/registry.c:
5984 Changes in support of keyboard handling (above).
5986 Keyboard handling, though partly functional, is still not
5987 recommended for at-spi client use as there is considerable
5988 work yet to be done.
5991 Changed some places where pointers to various int types
5992 are cast to be pointers to CORBA_long types and vice-versa:
5993 pointer casting is not safe so we pass pointers of the correct
5994 types and then cast the result before putting it into the target
5997 * libspi/text.h: minor typos corrected.
5999 We now speak not only the name of a Text element, but the
6000 first sentence of its content, when it receives focus.
6001 I also changed the text compression to 75% from 50%.
6002 * util/Accessibility_Util.server.in:
6003 Changed the default magnifier type to be a 3x vertical
6004 splitscreen magnifier (was previously a 2x horizontal one).
6006 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6008 * libspi/keystrokelistener.h:
6009 * libspi/keystrokelistener.c:
6010 Initial functional implementations of KeystrokeListener.
6013 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6015 Fixed string handling for NULL strings in libspi.
6016 Added spi_freeString to free strings returned by C bindings.
6018 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6020 * libspi/keystrokelistener.h:
6021 * libspi/keystrokelistener.c:
6022 Began (no-op) implementations of KeystrokeListener
6024 * libspi/deviceeventcontroller.c:
6025 * libspi/deviceeventcontroller.h:
6026 Began creating implementations of DeviceEventController,
6027 to handle keystroke and mouse event listening and
6029 * libspi/accessible.c:
6030 Stubbed-in the implementations for
6031 Accessibility_Accessible_getState and
6032 Accessibility_Accessible_getRelationSet.
6033 * libspi/registry.c:
6034 Improved de-registration process and fixed some bugs,
6035 deregistration now works correctly.
6037 Added initialization of applications list (to NULL).
6039 Reduced speech compression from 0.5 to 0.7, for demo.
6040 Changed call to gdk_window_set_decorations()
6041 to gtk_window_set_decorated().
6042 * at-bridge/bridge.c:
6043 Bridge now deregisters when app exits, via
6044 registration of a cleanup function
6045 with the g_atexit() call.
6046 Required making 'app' static, renamed 'this_app'.
6047 Fixed broken use of bonobo_init, passing argv wrongly.
6049 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6053 Created a new directory for
6054 accessibility-related utilities, primarily for
6055 testing and demo purposes, but with possible
6062 Onscreen magnifier utility that
6063 is implemented as a bonobo service.
6065 * util/mag_client.c:
6066 * util/mag_client.h:
6067 Client-side support (simple C bindings)
6068 for Magnification service
6070 * util/mag_control.c:
6071 Client program example for
6072 Magnification service
6074 * util/Accessibility_Magnifier.server.in:
6075 Bonobo-activation file for the
6076 Magnification service.
6079 * util/idl/Magnifier.idl:
6080 IDL defining the bonobo Magnification
6084 Modifications to use the bonobo-activated magnifier
6085 above, in place of trying to connect to an existing
6086 magnifier that uses socket-listening IPC.
6088 If env variable MAGNIFIER is set, a magnifier service
6089 will be started if one does not exist.
6091 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6093 * at-bridge/bridge.c:
6094 applied patch from Marc to build and run
6095 against new glib and gtk+ (seemed like a change
6096 to bonobo_init signature was made ?)
6098 made festival-server support turned off by default.
6099 Added support for a simple magnifier (off by default)
6100 which will be added to a 'util' directory later.
6101 * at-bridge/Makefile.am:
6102 Changed "application.h" header from a 'source'
6103 to a 'dependency' of libat-bridge.
6105 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6114 Added interface implementation c files to list of
6115 includes so they are included in libcspi.
6118 Changed prototype of AccessibleAction_doAction to return a
6120 Changed prototype of AccessibleTable_getCaption to
6121 return an Accessible.
6122 Changed prototype of AccessibleTable_getSelectedRows
6123 and AccessibleTable_getSelectedColumns to
6124 return a long (returns the number of selected rows
6125 or columns respectively).
6126 Changed name of AccessibleText_refRunAttributes to
6127 AccessibleText_getAttributes.
6128 Changed prototype of AccessibleText_getCharacterExtents to
6129 return a void rather than a boolean.
6130 Added support for a AccessibleCoordType parameter
6131 specifying what type of coordinates are desired.
6132 Added an AccessibleCordType parameter to
6133 AccessibleText_getPointAtOffset.
6135 * cspi/spi_accessible.c:
6136 Added code to return the outstanding interfaces from
6137 Accessible_queryInterface.
6139 * cspi/spi_action.c:
6141 Corrected call to getNActions to call the c binding
6144 * cspi/spi_editabletext.c:
6146 Changed name from setRunAttributes to setAttributes.
6148 * cspi/spi_hyperlink.c:
6150 Changed call to getNAnchors to correctly call the c
6151 binding for an attribute.
6153 * cspi/spi_hypertext.c:
6155 Changed getImageDescription to correctly call the
6156 binding for an attribute.
6158 * cspi/spi_selection.c:
6159 Changed getNSelectedChildren to correctly call the c
6160 binding for the attribute.
6161 Changed refSelectedChild to getSelectedChild.
6165 Changed getCaption to return an Accessible.
6166 Fixed calls which retrieve attributes.
6167 Changed refAt to getAccessibleAt.
6168 Changed getNSelectedRows and getNSelectedColumns to
6172 Changed getCharacterExtents and getPointAtOffset to accept an
6173 AccessibleCoordType.
6175 Changed calls which retrieve attributes.
6176 Changed refRunAttributes to getAttributes.
6181 * idl/Hyperlink.idl:
6182 Changed n_anchors attribute to nAnchors to keep naming
6183 convention consistent.
6186 Made Table inherit from Bonobo::Unknown.
6187 Added nSelectedColumns and nSelectedRows attributes.
6190 Made Value inherit from Bonobo::Unknown.
6192 * libspi/hyperlink.c:
6193 Change for nAnchors attributte name change.
6195 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6203 Added interface implementation c files to list of
6204 includes so they are included in libcspi.
6207 Changed prototype of AccessibleAction_doAction to return a
6209 Changed prototype of AccessibleTable_getCaption to
6210 return an Accessible.
6211 Changed prototype of AccessibleTable_getSelectedRows
6212 and AccessibleTable_getSelectedColumns to
6213 return a long (returns the number of selected rows
6214 or columns respectively).
6215 Changed name of AccessibleText_refRunAttributes to
6216 AccessibleText_getAttributes.
6217 Changed prototype of AccessibleText_getCharacterExtents to
6218 return a void rather than a boolean.
6219 Added support for a AccessibleCoordType parameter
6220 specifying what type of coordinates are desired.
6221 Added an AccessibleCordType parameter to
6222 AccessibleText_getPointAtOffset.
6224 * cspi/spi_accessible.c:
6225 Added code to return the outstanding interfaces from
6226 Accessible_queryInterface.
6228 * cspi/spi_action.c:
6230 Corrected call to getNActions to call the c binding
6233 * cspi/spi_editabletext.c:
6235 Changed name from setRunAttributes to setAttributes.
6237 * cspi/spi_hyperlink.c:
6239 Changed call to getNAnchors to correctly call the c
6240 binding for an attribute.
6242 * cspi/spi_hypertext.c:
6244 Changed getImageDescription to correctly call the
6245 binding for an attribute.
6247 * cspi/spi_selection.c:
6248 Changed getNSelectedChildren to correctly call the c
6249 binding for the attribute.
6250 Changed refSelectedChild to getSelectedChild.
6254 Changed getCaption to return an Accessible.
6255 Fixed calls which retrieve attributes.
6256 Changed refAt to getAccessibleAt.
6257 Changed getNSelectedRows and getNSelectedColumns to
6261 Changed getCharacterExtents and getPointAtOffset to accept an
6262 AccessibleCoordType.
6264 Changed calls which retrieve attributes.
6265 Changed refRunAttributes to getAttributes.
6270 * idl/Hyperlink.idl:
6271 Changed n_anchors attribute to nAnchors to keep naming
6272 convention consistent.
6275 Made Table inherit from Bonobo::Unknown.
6276 Added nSelectedColumns and nSelectedRows attributes.
6279 Made Value inherit from Bonobo::Unknown.
6281 * libspi/hyperlink.c:
6282 Change for nAnchors attributte name change.
6285 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6287 implementations-- made server implementations own AtkObject pointers
6288 rather than their respective AtkInterrface pointers to fix
6289 refcounting. AtkHyperlink is still broken.
6291 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6292 * cspi/spi_accessible.c:
6293 Added method Accessible_Role_getName(),
6294 and requisite string array (role_names).
6295 Added conversion string_from_corba_strin() call
6296 to Accessible_getName and _getDescription.
6297 * libspi/accessible.c:
6298 Added implementation for Accessible_getRole()
6300 Added festival support, used if environment variable
6303 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6305 * at-bridge/bridge.c:
6306 Now allocate Accessibility_Event using
6307 Accessibility_Event__alloc() instead of g_new0().
6308 * libspi/accessibleeventlistener.c:
6309 Initialize AccessibleEventListener->callbacks to NULL.
6310 Fixed accessible__event_listener_init() param, changed to
6311 "AccessibleEventListener *" type.
6312 Changed a bonobo_object_release_unref() call to
6313 Accessibility_Accessible_unref().
6314 * libspi/listener.c:
6315 Changed Bonobo_Unknown_unref to (equivalent)
6316 Accessibility_Accessible_unref.
6317 * libspi/registry.c:
6318 Changed bonobo_object_release_unref to
6319 Accessibility_Accessible_unref.
6321 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6324 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6325 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6326 spi-util.c spi-util.h
6327 Implementations for C bindings to remaining accessibility
6330 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6333 changed return value of Action from void to boolean to
6334 bring in line with ATK.
6337 Changed getText funcions to return "out" start and end offsets.
6338 Changed getAttributes to take and offset and return the start
6339 and end offset of the attribute run.
6340 Changed getOffsetAtPoint and getCharacterExtents to take an
6341 enum describing whether coordinates are window or screen.
6344 libspi/action.c libspi/action.h libspi/editabletext.c
6345 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6346 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6347 libspi/image.h libspi/selection.c libspi/selection.h
6348 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6349 libspi/value.c libspi/value.h
6350 Added server implementations for outstanding ATK interfaces
6351 not yet implemented.
6353 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6356 Added (missing) getName() method.
6357 Made nActions an attribute.
6358 * idl/EditableText.idl:
6359 Changed order of params in setAttributes.
6360 * idl/Hyperlink.idl:
6361 Removed getAnchor, added getURI.
6363 Changed attributes to methods, for efficiency
6364 (so that getting extents can be done in one call)
6365 * idl/Selection.idl:
6366 Changed nSelectedChildren to attribute, and re-indented.
6367 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6369 * idl/Text.idl: reformatted to match our coding style.
6370 (temporarily?) removed getRowColumnAtOffset().
6371 Changed text selection API to support multi-select and
6372 non-contiguous selections, as in ATK.
6373 * idl/Value.idl: changed some methods to attributes.
6375 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6377 * libspi/listener.c(impl_notify_event):
6378 BonoboUnkown_unref the source instead
6379 of bonobo_object_release_unref - the ORB
6380 handles the releasing.
6382 * configure.in: require ORBit-2.3.94 for
6385 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6387 Tagged CVS repository 'EA_1_0'.
6388 * README.EARLY_ACCESS:
6389 Alphabetized acknowledgements list, and
6391 Listed some known dependencies of at-spi.
6393 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6395 * docs/at-spi-docs.sgml:
6396 * docs/at-spi-sections.txt:
6397 * docs/at-spi-overrides.txt: (Added zero-length file)
6398 Documentation improvements - gtk-doc should build
6399 docs for all implemented C bindings now.
6402 * cspi/spi.c: (New file)
6403 * cspi/spi_event.c: (New file)
6404 * cspi/spi_registry.c: (New file)
6405 * cspi/spi_accessible.c: (New file)
6406 * cspi/spi_application.c: (New file)
6407 * cspi/spi_component.c: (New file)
6408 Split spi_main.c into six parts, and included them from
6409 "spi.c". This is a bit of a hack, probably temporary,
6410 but required by gtk-doc, apparently.
6412 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6415 * docs/at-spi-docs.sgml:
6416 * docs/at-spi-sections.txt:
6418 Initial checkins/modifications for gtk-doc generation.
6421 Added (missing) interface query methods to Accessible's C binding.
6423 Added GenericInterface type definition.
6425 Added query for AccessibleComponent interface to focus event handler.
6426 Added printout of bounding box for focussed component.
6427 * libspi/component.c:
6428 Added partial implementation for AccessibleComponent to C binding.
6429 * idl/Application.idl:
6430 * libspi/registry.c:
6431 * libspi/listener.c:
6432 * libspi/application.c:
6433 * libspi/application.h:
6434 Changed "ID" attribute type from string to long.
6436 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6440 Made method naming consistent: methods taking object args
6441 start with uppercase, other methods (except those using
6442 acronyms) start with lowercase. Underscores delimit between
6443 object names and method names:
6444 SPI_init() - uppercase since it starts with an acronym.
6445 getDesktopCount () - lowercase start since no object param0.
6446 Accessible_getName() - uppercase object type name, studlyCaps method
6450 Added gtk-doc documentation for all currently implemented
6451 methods in the C bindings API.
6453 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6455 * Makefile.am : changed build order to build test last.
6458 Changed "createEventListener" to "CreateEventListener".
6459 * libspi/accessibleeventlistener.c :
6460 Bugfix for addition of callbacks.
6461 * test/Makefile.am :
6462 * test/simple-at.c :
6463 Added new test that uses the C bindings API.
6465 * libspi/listener.c :
6466 * libspi/registry.c :
6467 * libspi/accessibleeventlistener.c :
6468 * at-bridge/bridge.c :
6469 Renamed member "target" of Accessibility_Event to "source",
6470 which is more descriptive.
6473 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6477 * cspi/Makefile.am :
6478 Added makefile support for at-spi/cspi directory.
6481 * cspi/spi-listener.h : (NEW FILE)
6482 Added support for/use of spi-listener.h.
6484 C bindings now build successfully, with no warnings.
6485 * libspi/accessibleeventlistener.h : (NEW FILE)
6486 * libspi/accessibleeventlistener.c : (NEW FILE)
6487 * libspi/Makefile.am :
6488 Added new object type "AccessibleEventListener"
6489 which inherits from Listener, and allows attachment
6490 of in-process callbacks (so that a client with a listening
6491 object instance can add functionality to the local
6492 implementation, dynamically).
6494 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6496 * libspi/accessible.c:
6497 Add implementation for get_index_in_parent().
6499 Added #include of "spi-roletypes.h", and
6500 added enumerated type AccessibleCoordType.
6501 Added definition for KeystrokeListener (function type).
6504 * cspi/spi-statetypes.h :
6505 * cspi/spi-roletypes.h :
6507 Added these headers, used by spi.h.
6509 Added code (NOTE: not yet built by make).
6511 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6513 * libspi/Makefile.am: generate imodule
6514 at the same time as other idl compiler
6517 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6518 * libspi/registry.c :
6519 * libspi/application.c :
6520 * idl/Application.idl :
6521 Made registration with toolkit an application method,
6522 which is required since each app has its own toolkit static
6523 environment. Thus the bridge must register for
6524 notification of toolkit events from each application in turn.
6525 Toolkit notifications are now successfully registered for, and
6526 sent to the listening at client.
6528 Changed toolkit event string to use hyphens rather than underscores.
6529 * libspi/listener.c :
6530 listner now gives more info in debug mode - it reports the
6531 name of the event received, as well as the name of the source.
6534 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6536 * libspi/registry.c :
6537 added more implementation for toolkit events.
6538 Fixed bug such that toolkit event registrations
6539 (via atk) use the whole event name string, not
6541 Removed a useless call to an ORBit_ method.
6542 * at-bridge/bridge.c :
6543 Removed unused local sbuf[] variable.
6545 We now register for Gtk:GtkWidget:button_press_event
6546 events as well as "focus:" events.
6548 Add some more API from Registry.idl that was missing,
6549 for keystroke listening, keystroke and mouse event
6550 synthesis, and enumeration of accessible desktops.
6552 2001-08-16 Michael Meeks <michael@ximian.com>
6554 * configure.in: use AM_GLIB_GNU_GETTEXT.
6556 * Makefile.am (SUBDIRS): kill intl.
6558 2001-08-15 Michael Meeks <michael@ximian.com>
6560 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6562 * configure.in: upd.
6564 * configure.in: depend on a recent bonobo-activation that
6565 will find our server files ...
6567 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6569 * libspi/accessible.c : accessible_new() :
6570 Now we add the Component interface via bonobo_object_add_interface,
6571 if the contained AtkObject implements AtkComponent.
6572 * libspi/accessible.h : now include "component.h"
6573 * libspi/component.h :
6574 * libspi/component.c : added files - implementation of
6575 bonobo wrapper object for Accessibility/Component
6576 * libspi/listener.c :
6577 Added test code to check for Accessibility/Component:1.0
6578 interface and report whether it is implemented by the
6580 * libspi/registry.c :
6581 Now we check for not only the hash of the whole event
6582 string before relaying the event, we also check the
6583 "minor" event string (without the detail string).
6584 This allows event listeners to be registered against
6585 all events of a certain major+minor type, or just
6586 against a specific major+minor+detail type.
6587 * libspi/accessible.c :
6588 Added implementations for Accessible:get_parent(),
6589 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6590 * libspi/registry.c :
6591 * libspi/listener.c :
6592 Replaced calls to Accessibility_Accessible_ref() and
6593 Accessibility_Accessible_unref() with
6594 calls to bonobo_object_dup_ref() and
6595 bonobo_object_release_unref(), so that the CORBA object
6596 is dup-ed and released when relayed, as well as the bonobo object.
6598 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6600 * libspi/Makefile.am,
6601 registryd/Makefile.am,
6602 at-bridge/Makefile.am.
6603 test/Makefile.am, configure.in:
6604 reverse previous changes.
6606 * /idl/Image.idl: fix typo.
6608 * test/Makefile.am: put DEBUG_FLAGS
6611 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6613 * test/app.c: use argv[0] instead of
6616 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6618 * libspi/Makefile.am,
6619 registryd/Makefile.am,
6620 at-bridge/Makefile.am.
6621 test/Makefile.am, configure.in:
6622 cleanup, replace individual LIBS/CFLAGS with
6623 AT_COMMON_{LIBS|CFLAGS}.
6627 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6629 * configure.in, libspi/Makefile.am:
6630 Change IDL path checking for bonobo-activation
6633 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6635 * registryd/registry.c : separated event listeners to use
6636 3 separate lists (focus, window, toolkit). Began testing
6637 event names against hashes before relaying events.
6638 * test/at.c : now register for events of type "focus:"
6639 * test/app.c : now generate events of type "focus:"
6640 * at-bridge/bridge.c : register with ATK for focus events,
6641 and we now relay those focus events to any "focus:" listeners.
6642 This now works with the bridge as a GTK_MODULE when running test/at.
6643 * libspi/registry.c :
6644 * libspi/listener.c :
6645 now we ref event sources before propagating, and unref on receipt.
6646 * libspi/registry.c :
6647 some changes to internal structs, to support event typestring hashes.
6648 * text/app.c : changed the way the appname is generated.
6649 * cspi : added directory that will hold the C bindings library for
6650 non-CORBA/bonobo-savvy clients.
6651 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6652 * idl/Component.idl : added in parameter to indicate coord system for
6653 geometry-related calls.
6654 * idl/Hyperlink.idl : added readonly n_links attribute
6655 * idl/Image.idl : changed methods to attributes.
6657 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6659 * at-bridge/Makefile.am: link against
6660 ../libspi/libspi.la instead of -lspi.
6662 * at-spi/test/app.c: include
6663 bonobo-activation.h. Use a default appname
6664 if one is not provided.
6666 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6668 * idl/Registry.idl : temporarily changed register_Application
6669 to oneway, to work around issue with initial registration
6671 * idl/Application.idl : changed attribute "id" from readonly
6672 to read-write, since it needs to be assigned by Registry.
6673 * registryd/registryd.c : added call to set application id
6675 * registryd/registry.c : changed de-registration procedure to
6676 use CORBA_Object_hash() to find matching object ref in application
6677 lists and listener lists.
6678 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6679 began distinguishing between event types (work in progress).
6681 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6684 * libspi/application.c:
6685 Added implementations for get/set id, get_toolkitName,
6687 * registryd/registryd.c :
6691 Converted from use of OAF to bonobo-activation.
6692 * libspi/desktop.h :
6693 * libspi/desktop.c :
6695 Removed references to atksimpleobject, since base atkobject
6696 implementation now provides functionality we need.
6697 * libspi/atksimpleobject.c :
6698 * libspi/atksimpleobject.h :
6703 * at-bridge/Makefile.am
6704 * at-bridge/bridge.c
6707 Added directory "bridge" and contents, and added dependencies
6708 in Makefile.am/configure.in.
6709 Initial checkin of "at-bridge".
6710 This code is a GTK_MODULE which automatically registers
6711 GTK+ apps with the accessibility registry, using an object
6712 reference to the root ATK object.
6714 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6716 * po/Makefile.in.in: Remove. Again. If this
6717 doesn't get autogenerated - you need to update
6720 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6722 * po/Makefile.in.in: Add. Again.
6724 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6726 * libspi/accessible.c : added support for 'description' property.
6727 * libspi/accessible.c
6729 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6730 (since the two are now equivalent in libbonobo)
6738 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6739 Bonobo::Unknown as does Accessibility::Accessible.
6740 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6741 interface with Bonobo::Stream, since it was redundant with it.
6742 (The Stream returned by a StreamableContext object is expected to
6743 implement only a subset of Bonobo::Stream)
6745 2001-07-28 Anders Carlsson <andersca@gnome.org>
6747 * libspi/accessible.c (accessible_object_finalize): Change
6748 g_free to g_object_unref since the AtkObject is a GObject.
6750 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6752 * idl/Accessibility.idl: add new IDL files
6755 * idl/Action.idl: Definitions of actionable UI object
6756 * idl/Component.idl: Definitions of UI component geometry, etc.
6757 * idl/Hyperlink.idl: Defs of hyperlink behavior
6758 * idl/Image.idl: Def of accessible image
6759 * idl/Selection.idl: Definition of UI object with selectable children
6760 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6761 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6762 * idl/Text.idl: Interface defs for UI elements with complex textual content
6763 * idl/Value.idl: Definition of UI element that is a value controller or display
6765 2001-07-27 Michael Meeks <michael@ximian.com>
6767 * po/Makefile.in.in: remove autogenerated file from CVS.
6769 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6772 * idl/Registry.idl: include guard.
6774 * idl/Accessibility.idl: Add, and include all the other IDL
6777 * idl/*.idl: remove mass of pragmas etc.
6779 2001-07-26 Michael Meeks <michael@ximian.com>
6781 * registryd/Makefile.am (registryd_SOURCES): remove
6784 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6786 * libspi/.cvsignore, registryd/.cvsignore,
6787 test/.cvsignore: updated.
6789 * po/Makefile.in.in: gettext update.
6791 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6793 * initial CVS checkin
6795 2001-06-29 Michael Meeks <michael@ximian.com>
6797 * configure.in: add AM_CONFIG_HEADER to gen config.h