1 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
3 * docs/reference/cspi/Makefile.am, configure.in:
4 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
5 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
6 * libspi/Makefile.am: fixes for automake >= 1.6.
7 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
8 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
11 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
13 * docs/reference/cspi/Makefile.am (install-data-local): Install
14 index.sgml since the doc autobuilder on widget.gnome.org looks for
17 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
19 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
22 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
24 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
26 2004-01-27 Brian Cameron <brian.cameron@sun.com>
28 * test/simple-at.c: Fixed null string problems that cause core
29 dumping problems on Solaris.
31 2004-01-12 Bill Haneman <billh@gnome.org>
33 * configure.in: Incremented version to 1.3.11.
35 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
37 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
38 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
41 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
43 * configure.in: Added "fa" to ALL_LINGUAS.
45 2003-12-20 Arafat Medini <lumina@silverpen.de>
47 * configure.in: Added "ar" to ALL_LINGUAS
49 2003-12-16 Bill Haneman <billh@gnome.org>
51 * registryd/registry-main.c:
53 Set the reg_env DISPLAY variable before registering the
54 activated registry service. Fixes bug #129479.
56 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
58 * configure.in: Added "id" in ALL_LINGUAS
59 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
61 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
63 * registryd/deviceeventcontroller.c (global_filter_fn):
64 When an event is consumed discard any XEvents were added to
65 the queue while dealing with the the event. This can happen if
66 processing of the event takes a long time. Call XUngrabKeyboard
67 if an event was discarded. This fixes bug $124837.
68 Only call wait_for_release_event for a KeyPress.
69 Use local variable display instead of spi_get_display().
70 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
73 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
75 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
76 Allow for mask to contain values other than NumLock mask.
79 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
81 * registryd/devieceventcontroller.c:
82 (wait_for_release_event): Change first parameter from GdkEvent to
84 (global_filter_fn); Correct call to wait_for_release_event.
88 2003-12-08 Bill Haneman <billh@gnome.org>
92 * registryd/ucs2keysym.c: New file.
94 * registryd/deviceeventcontroller.c:
95 (dec_keysym_for_unichar): Remove old partial implementation and
96 replace with call to ucs2keysym(), which is much more complete.
97 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
102 2003-12-05 Bill Haneman <billh@gnome.org>
104 * configure.in: Version 1.3.9.
106 * docs/reference/cspi/tmpl/spi_registry.sgml:
107 Added reference to libspi/keymasks.h to the
108 description of Registry queries: AccessibleKeyMaskType.
111 2003-12-04 Bill Haneman <billh@gnome.org>
115 * idl/Accessibility_Application.idl:
116 (Accessibility::LOCALE_TYPE): New enum, corresponds to
117 setlocale's LC_TYPEs.
118 (Accessibility::Application::getLocale): New method.
119 Allows clients to query the locale, by type, of an app.
122 * cspi/spi_application.c:
123 (AccessibleApplication_getLocale): New method, wraps IDL above.
125 * libspi/application.c:
126 (spi_application_class_init): Init epv entry for getLocale.
127 (impl_accessibility_application_get_locale): Impl for above.
129 * test/test-simple.c:
130 (test_application): Added assertion for getLocale, i.e.
131 that the string from AccessibleApplication_getLocale (app, type)
132 is the same as that from setlocale (type, NULL);
134 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
136 *registryd/deviceeventcontroller.c: Add an idle handler which polls
137 the keyboard on a timeout intil the key state goes from pressed to
138 released. Fixes bug #111429.
140 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
142 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
143 root object so that it is present when a context menu in an
144 out-of-process applet is popped up.
145 (spi_atk_bridge_do_registration): Create acceessible application root
146 object only if it does not exist.
148 This fixes bug #125834.
150 2003-12-01 Bill Haneman <billh@gnome.org>
152 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
155 Added enum for AccessibleStreamableContentSeekType.
156 (AccessibleStreamableContent_freeContentTypeList): New.
158 * cspi/spi_streamablecontent.c:
159 (accessible_bonobo_stream_client_seek): New private method.
160 (AccessibleStreamableContent_seek): Implemented this method,
161 using Bonobo_Stream_seek.
162 (AccessibleStreamableContent_freeContentTypeList): New method
163 for freeing the return value from
164 AccessibleStreamableContent_getContentTypes.
165 (stream_cache_item_free): Replaces stream_release; stop leaks.
166 (stream_release): removed.
167 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
168 free the memory properly.
170 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
174 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
176 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
178 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
180 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
182 2003-12-01 Bill Haneman <billh@gnome.org>
184 Fix for bug/rfe #127463.
186 * idl/Accessibility_Accessible.idl:
187 (getLocalizedRoleName): New.
188 (unimplemented4): Removed (replaced by above).
190 * libspi/accessible.c:
191 (impl_accessibility_accessible_get_local_role_name): New.
192 (spi_accessible_class_init): Add getLocalizedRoleName entry to
196 (Accessible_getLocalizedRoleName): New.
198 * cspi/spi_accessible.c:
199 (Accessible_getLocalizedRoleName): New.
201 2003-12-01 Bill Haneman <billh@gnome.org>
204 * idl/Accessibility_Text.idl:
205 (getDefaultAttributes): New.
206 (unimplemented4): Removed (replaced by above method).
209 (impl_getDefaultAttributes): New method.
210 (spi_text_class_init):
211 initialize the get_default_attributes slot in the epv.
214 (AccessibleText_getDefaultAttributes): New prototype.
217 (AccessibleText_getDefaultAttributes): New method.
219 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
221 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
222 write beyond the end of the table. Fixes bug #120473.
224 2003-09-30 Christian Rose <menthos@menthos.com>
226 * configure.in: Added "eu" to ALL_LINGUAS.
228 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
230 * configure.in: ALL_LINGUAS: Added no.
232 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
234 * configure.in: Added lt to ALL_LINGUAS.
236 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
238 * atk-bridge/bridge.c:
239 (atk_bridge_init): Register event listeners always even for
240 out-of-process applet.
241 (spi_atk_bridge_toplevel_added): Remove call to
242 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
243 (spi_atk_bridge_toplevelk_removed): Remove call to
244 spi_atk_deregister_event_listenersa as the listeners are now always
246 (spi_atk_bridge_register_application): Remove call to
247 spi_atk_register_event_listeners as it is not done in atk_bridge_init
249 This fixes bug #120991.
251 * libspi/table.c (impl_getColumnDescription): Correct typo,
252 pointed out by Bolian.Yin@sun.com.
254 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
256 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
258 2003-09-08 Bill Haneman <billh@gnome.org>
260 * configure.in: Revved to 1.3.7.
262 This is the GNOME 2.4.0 release of at-spi.
264 * docs/reference/cspi/Makefile.am:
265 Removed spurious inclusion of 'index.sgml' in the
266 html directory; this was breaking make distcheck and
267 also some other build environments.
269 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
271 * registryd/registry.[ch}:
272 Add queue_handler_id and focus_object to SpiRegistry data structure.
273 (registry_flush_event_queue): If event being discarded is
274 "state-change:focused" store object as focus_object.
275 (registry_start_queue): Remove queue handler and focus object
277 (registry_discard_event): New function which discards a focus event
278 if we had stored focus object in the registry.
279 (registry_queue_event): Add new check that is_queueing is set as this
280 function is reentrant.
281 (registry_filer_event): Add call to registry_discard_event.
283 This resolves issues raised in bug #108664.
285 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
287 * configure.in: Added "bn" to ALL_LINGUAS.
289 2003-09-04 Bill Haneman <billh@gnome.org>
291 * cspi/spi_event.c: Documentation improvements for
292 (SPI_registerAccessibleKeylistener).
294 * docs/reference/tmpl/spi_registry.sgml:
295 Documentation improvements for SpiAccessibleKeylistenerCB.
297 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
299 * configure.in: Added "ro" to ALL_LINGUAS.
302 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
304 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
305 not decremented to zero. Fixes bug #120725.
307 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
309 * configure.in: Added "ja" to ALL_LINGUAS.
311 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
313 * configure.in: Added "is" to ALL_LINGUAS.
315 2003-08-22 Christian Rose <menthos@menthos.com>
317 * configure.in: Added "nl" to ALL_LINGUAS.
319 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
321 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
322 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
324 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
326 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
327 type for unspecified exception.
328 * cspi_streamablecontect): Add include of string.h for memcpy.
329 (stream_release): Correct call to bonobo_object_release_unref
330 (stream_cache_item_free): Correct call to bonobo_object_release_unref
331 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
332 argument of _cspi_expection_throw.
333 * libspi/hyperlink.c: Add include of libspi/action.h:
334 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
335 * libspi/streamablecontent.c: add include of libspi/component.h.
336 * regisrtyd/deviceeventcontroller.c:
337 (spi_dec_translate_mask): Removed unused variable priv.
338 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
339 * registryd/registry.c:
340 (registry_filter_event): Remove unused variable queue_is-empty.
341 (impl_registry_notify_event): Use correct modifier in fprintf call.
343 This fixes compiler warnings reported in bug #120220.
345 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
347 * registryd/registryd.c: Remove this file.
349 2003-08-17 Sanlig Badral <badral@openmn.org>
351 * configure.in: Added mn to ALL_LINGUAS.
353 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
355 * configure.in: Added et to ALL_LINGUAS.
357 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
359 * test/event-listener-test.c: Change active-descendant to
360 active-descendant-changed.
362 2003-08-10 Sami Pesonen <sampeson@iki.fi>
364 * configure.in: Added "fi" in ALL_LINGUAS.
366 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
368 * configure.in: Added "hi" in ALL_LINGUAS.
370 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
372 * configure.in: Revved to 1.3.6.
376 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
378 * registryd/deviceeventcontroller.c
379 (spi_device_event_controller_object_finalize): Fix typo in previous
382 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
384 * registryd/deviceeventcontroller.c
385 (spi_device_event_controller_object_finalize): Fix build on
386 systems without XEvIE.
388 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
390 * acconfig.h, configure.in, registryd/Makefile.am,
391 registryd/devicecontoller.[ch]: Add XEViE support.
393 2003-08-06 Wang Jian <lark@linux.net.cn>
395 * configure.in: Added "zh_CN" to ALL_LINGUAS.
397 2003-08-06 Metin Amiroff<metin@karegen.com>
399 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
401 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
403 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
404 MODIFIER_ALT in correct place.
406 This fixes part of bug #118114.
408 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
410 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
412 2003-07-28 Changwoo Ryu <cwryu@debian.org>
414 * configure.in: Added "ko" to ALL_LINGUAS.
416 2003-07-28 Ole Laursen <olau@hardworking.dk>
418 * configure.in: Added "da" to the commented out ALL_LINGUAS.
420 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
422 * configure.in: Added "sq" to ALL_LINGUAS.
424 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
426 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
428 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
430 * configure.in: updated ALL_LINGUAS list
432 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
434 * configure.in: Added Belarusian to ALL_LINGUAS.
436 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
438 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
440 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
441 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
443 This fixes bug #116949.
445 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
447 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
448 Correct CSPI to SPI in function documentation.
450 This fixes bug #118054.
452 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
454 * configure.in: Added Russian to ALL_LINGUAS.
456 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
458 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
460 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
462 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
464 2003-07-10 Joel Brich <joel.brich@laposte.net>
466 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
468 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
470 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
472 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
474 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
475 resources allocated for AccessibleEvent. See cspi_event().
477 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
478 static variable streams to NULL.
480 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
481 Update so that AcessibleEvent_ref will work.
483 This fixes bug #116624.
485 2003-07-06 Jordi Mallach <jordi@sindominio.net>
487 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
489 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
491 * configure.in: Added "fr" (French) to ALL_LINGUAS.
493 2003-07-02 Christian Neumair <chris@gnome-de.org>
495 * configure.in: Added "de" (German) to ALL_LINGUAS.
497 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
499 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
501 2003-07-01 Miloslav Trmac <mitr@volny.cz>
503 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
505 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
507 * configure.in: Added "pl" to ALL_LINGUAS.
509 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
511 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
513 2003-06-30 Bill Haneman <bill.haneman@sun.com>
516 (get_action_from_servant):
517 Removed assertion that action is implemented on an AtkObject.
519 * libspi/hyperlink.c:
521 Aggregate AccessibleAction interface on the hyperlink object if
522 the object implements AtkAction. (This convention is used in
525 2003-06-30 Bill Haneman <bill.haneman@sun.com>
527 * configure.in: Revved to 1.3.5.
529 * registryd/Accessibility_Registry.server.in.in:
530 Marked up appropriate strings for translation.
532 * atk-bridge/bridge.c: Marked a couple of
533 user-visible warnings for translation. Questionable
534 whether they are really useful, but possibly so.
537 2003-06-28 Christian Rose <menthos@menthos.com>
539 * configure.in: Added "sv" to ALL_LINGUAS.
541 2003-06-26 Bill Haneman <bill.haneman@sun.com>
543 * registryd/registry.c:
544 (spi_registry_object_finalize): Unref the deviceeventcontroller.
545 (registry_defer_on_event): Defer focus: events, this is an
546 improvement to the patch for bug #108664.
548 * TODO: Update with 2.4/"Dev Complete" items.
550 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
552 * atk-bridge/bridge.c:
553 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
554 looks up signals once.
555 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
556 if doing registration.
557 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
558 when doing registration.
560 This fixes bug #115014.
562 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
564 * atk-bridge/bridge.c:
565 (atk_bridge_init): Add signal handler for children-changed:remove on
566 root when in a BonoboComponent.
567 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
568 for first toplevel only other incrememt variable toplevels.
569 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
570 application and remove listeners.
571 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
573 (spi_atk_deregister_event_listeners): New function which removes
575 (reinit_register_vars): New fuction which reinitializes variables.
577 This fixes bug #111578.
579 2003-06-13 Bill Haneman <bill.haneman@sun.com>
581 * configure.in: version 1.3.4.
583 * cspi/spi_accessible.c:
584 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
587 2003-06-13 Michael Meeks <michael@ximian.com>
589 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
591 * cspi/spi_main.c (cspi_peek_ev): impl.
593 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
595 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
597 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
599 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
600 SPI_ROLE_AUTOCOMPLETE
602 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
604 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
605 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
607 2003-06-11 Bill Haneman <bill.haneman@sun.com>
609 * libspi/streamablecontent.h:
610 * libspi/streamablecontent.c:
611 New files, provide implementation/wrappers for
612 Accessibility_StreamableContent.
614 * cspi/spi_streamablecontent.c:
615 Connected the C wrappers to the libspi C bindings.
616 (AccessibleStreamableContent_close): New method.
619 (AccessibleStreamableContent_close): New method, needed
620 since we have an "open, [seek], read, close" model in cspi.
622 2003-06-11 Bill Haneman <bill.haneman@sun.com>
624 Fix for #108664; Padraig's revision of my original patch.
626 * registryd/registry.h:
627 Added event queue list, is_queuing, and exit_notify_timeout
628 to the registry struct.
630 * registryd/registry.c:
631 (registry_init): Initialize new struct from registry.h.
632 (impl_registry_notify_event):
633 Filter events before notifying, in case some need to be
635 (registry_filter_event): New,
636 we defer certain incoming events (for instance
637 window:deactivate) because we may wish to hide
638 or reject them based on pending events. This is
639 mostly a workaround for bug #108664.
640 (registry_queue_event, registry_start_queue): New.
641 (registry_defer_on_event): Test event to see if it
643 (registry_reset_on_event): Returns TRUE if the
644 event should cause a queue reset.
645 (registry_discard_on_event): Returns TRUE if the event
646 should cause the previous queue contents to be discarded.
647 (registry_timeout_flush_queue): Flushes the pending event
648 queue if no reset/discard-triggering events have come in
649 within the timeout period.
650 (registry_emit_event): New.
651 (registry_clone_notify_context): New, used when queueing the
652 event notify contexts.
654 2003-06-10 Bill Haneman <bill.haneman@sun.com>
656 * configure.in: Version revved to 1.3.2, lt 0.9.2
657 Incremented ATK required version to 1.3.4.
659 * cspi/spi_registry.c:
660 (SPI_generateKeyEvent):
661 We now pass the keystring along if it's non-null.
663 * registryd/deviceeventcontroller.c:
664 (keysym_mod_mask): New method, returns modifier mask
665 required to generate a keysym from a given keycode.
666 (dec_synth_keysym): New method.
667 (dec_synth_keystring): New method.
668 (dec_get_modifier_state): New method.
669 (dec_lock_modifiers): New
670 (dec_unlock_modifiers): New.
671 (dec_keysym_for_unichar): New, rather brute-force
672 conversion from UCS-4 to X KeySyms. Only works for
673 Latin at the moment, with partial implementations for
674 Greek, Hebrew, and (incomplete) Katakana.
675 (impl_generate_keyboard_event): Now implement
676 "KEYSTRING" synthesis and implement "KEYSYM"
678 (keycode_from_keysym): Improved, passes a returned
679 modmask value now if the corresponding param is non-NULL.
681 Fixes bugs #92143 and #109776.
684 * test/keysynth-test.c:
685 New test program for key synthesis, to confirm fixes for
689 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
691 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
693 * cspi/spi_accessible.c (cspi_init_relation_type_table):
694 Add line for RELATION_POPUP_FOR
696 * docs/reference/cspi/tmpl/spi_relation.sgml:
697 Add relation SPI_RELATION_POPUP_FOR
699 * docs/reference/cspi/tmpl/spi_stateset.sgml:
700 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
702 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
704 * libspi/relation.c (spi_init_relation_type_table):
705 Add line for RELATION_POPUP_FOR
707 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
709 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
710 there are still windows which have not been deleted and emit
711 window:deactivate, if necessary and window:destroy events.
712 This fixes bug #114370. The change on June 5th was not correct.
714 2003-06-09 Bill Haneman <bill.haneman@sun.com>
716 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
719 (SPI_dupString): Allow dup-ing of a string such that it's safe to
721 New methods for client exception handling and interception.
722 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
723 (SPI_exceptionHandlerPop): You guessed it...
724 (SPI_getSourceType): Return the type of object which offended.
725 (SPI_getExceptionCode): Return an enum code telling, possibly,
726 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
727 (SPIAccessibleException_getSource): get the source object for
728 exceptions that come from Accessibles, if SPIExceptionSourceType is
729 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
730 (SPIException_getDescription): New, returns a string description of
731 the problem. [Not yet a stable ABI, strings are not frozen]
733 * cspi/spi-private.h:
734 Added implementation details of opaque SPIException
738 Implementations of above. Also
739 (_cspi_exception_throw): new private method that
740 dispatches exceptions to handlers, called from cspi-bonobo.c
742 * cspi/bonobo/cspi-bonobo.c:
743 (cspi_check_ev): call _cspi_exception_throw.
744 Don't print a warning message if the exception has been
745 handled by _cspi_exception_throw.
747 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
749 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
750 there are still windows which have not been deleted and emit
751 window:deactivate, if necessary and window:destroy events.
752 This fixes bug #114370.
754 2003-06-03 Bill Haneman <bill.haneman@sun.com>
757 (cspi_accessible_is_a): Make non-fatal
758 if the object reference is dead.
760 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
762 * cspi/spi_main.c: #include <stdio.h>
763 * test/simple-at.c: ditto
764 * test/event-listener-test.c: ditto
765 * test/screen-review-test.c: ditto
767 2003-05-30 Michael Meeks <michael@ximian.com>
769 * test/test-simple.c (main): use CORBA_ORB_perform_work
770 instead of an unnecessary linc_ call.
772 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
774 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
775 Add SPI_STATE_INDETERMINATE.
777 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
780 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
782 * libspi/stateset.c (init_state_type_tables): Add support for
785 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
787 * configure: Update versions of atk and gail required.
788 This fixes bug #113268.
790 2003-05-02 Bill Haneman <bill.haneman@sun.com>
792 * configure.in: Revved micro version to 1.3.1 (because of build fix).
794 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
796 * libspi/Makefile.am:
797 Ensure headers are generated before being used by c sources.
799 2003-05-01 Bill Haneman <bill.haneman@sun.com>
802 Simplified lt versioning rules.
803 Incremented version to 1.3.0, to indicate that we're on the
806 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
808 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
809 Add MKDB_OPTIONS=--outtput-format=xml
811 * docs/reference/cspi/at-spi-cspi-docs.sgml
812 docs/reference/idl/at-spi-idl-docs.sgml:
813 Convert to Docbook XML.
815 This fixes bug #111793.
817 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
819 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
820 AcccessibleKeyEventType, AccessibleKeyMaskType.
822 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
824 * cspi/state-types.h: Add documentation for AccessibleState.
826 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
827 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
828 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
829 AccessibleComponentLayer.
831 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
834 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
836 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
837 Accessible. Add description of AccessibleEvent,
838 AccessibleEventListenerCB.
840 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
843 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
844 documentation. Add description of AccessibleKeystrokeListenerCB,
845 AccessibleKeyEventMask, AccessibleModifierMaskType,
846 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
847 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
849 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
852 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
855 This fixes bug #104730.
857 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
859 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
860 Set is_text field of Accessibility_DeviceEvent data structure.
862 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
863 is-text field of AccessibleDeviceEvent data structure.
865 This addresses part of bug #108666.
867 * registryd/devcieeventcontroller.c: Unset debug option.
869 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
872 (cpi_initial_relation_type_table): New function which initializes
873 mapping between Accessibility_RelationType and AccessibleRelationType.
874 (cspi_relation_type_from_spi_relation_type): New function which
875 translates an Accessibility_RelationType into an AccessibleRelationType.
876 (AccessibleRelation_getRelationType): Use
877 cpi_relation_type_get_spi_relation_type to return correct value.
878 (spi_state_to_corba): Return correct type for default case.
880 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
881 Use Accessibility_EventType instead of Accessibility_KeyEventType.
883 * cspi/cspi-bonobo-listener.c:
884 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
887 * libspi/accessible.c, libspi/action.c, libspi/application.c,
888 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
889 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
890 libspi/image.c, libspi/listener.c, libspi/selection.c,
891 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
892 registryd/desktop.c, registryd/registry.c:
893 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
895 * libspi/eventlistener.c
896 Remove semicolon after BONOBO_TYPE_FUNC.
899 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
900 (spi_init_relation_type_table): Initialize using correct type.
902 * registryd/desktop.c:
903 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
904 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
905 of Accessibility_KeyEventType.
907 * test/key-listener-test.c (report_tab_key_event): Use fprintf
910 * tests/simple-at.c, tests/screen-review-test.c:
911 Add include for <strings.h>.
913 * tests.stress-test.c:
914 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
916 These changes fix compiler warnings when using FORTE compiler on
917 Solaris; fixes bug #107479.
920 2003-04-10 Bill Haneman <bill.haneman@sun.com>
923 * configure.in: revved to 1.1.10
926 (SPI_KEYMASK_NUMLOCK): Added.
928 * registryd/deviceeventcontroller.c:
929 (spi_key_event_matches_listener): AND with a smaller
930 bitmask (as we should).
931 (spi_dec_translate_mask):
932 New method, sets the virtual NumLock modifier bit
933 if numlock is on. Eventually it can handle other virtual
934 modifier bits if needed, or other marshalling from
935 at-spi modifier masks to platform (X) masks.
936 (spi_dec_key_listener_new):
937 Call spi_dec_translate_mask to set up virtual mod bits
938 in the 'mask' field when creating a new listener struct.
939 (spi_dec_emit_modifier_event):
940 Set the virtual (i.e. NumLock) bits before emitting event.
941 (spi_controller_register_with_devices):
942 Query for the NumLock modifier 'physical' bit if Xkb is
943 present, for use in above methods.
947 2003-04-10 Bill Haneman <bill.haneman@sun.com>
949 * registryd/deviceeventcontroller.c:
950 (spi_keystroke_from_x_key_event):
951 Instead of checking to see if the keysym is
952 printable, check the string from XLookupString
953 if available, get the first unicode character from it,
954 and call g_unichar_isprint to determine whether the
955 is_text flag should be TRUE or FALSE.
959 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
961 * atk-bridge/bridge.c: Add support for extended events
962 * cspi/spi_event.c: Add documentation and implementation for
964 * tests/event-listener-test.c: Add tests for extended events.
966 This fixes bugs #100424 and #100426.
968 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
970 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
971 of LT_CURRENT. This fixes bug #89350.
973 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
975 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
976 number of signal parameter values before accessing them. This fixes
979 2003-04-01 Bill Haneman <bill.haneman@sun.com>
981 * configure.in: Fixed duplicate inclusion of -lspi.
982 * branched for gnome-2-2/HEAD.
983 [created tag "gnome-2-2"]
985 2003-03-07 Bill Haneman <bill.haneman@sun.com>
987 * configure.in: 1.1.9 release.
990 2003-03-07 Bill Haneman <bill.haneman@sun.com>
992 [needed by GOK, to fix bugs 107985 and 107988]
993 * registryd/deviceeventcontroller.c:
994 (spi_dec_clear_unlatch_pending):
995 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
996 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
997 (spi_dec_init_mouse_listener):Emit warning if mouse button
999 (spi_device_event_controller_forward_mouse_event):
1000 Removed unnecessary parens from a conditional.
1001 (global_filter_fn):Added TODO comment.
1002 (impl_generate_keyboard_event):
1003 Cancel a pending relatch if a 'delatching' key was
1006 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1008 * atk-bridge/bridge.c:
1009 Change atk_signal_child_changed to atk_signal_children_changed.
1010 Reorganize code in spi_atk_bridge_signal_listener().
1012 * test/event-listener-test.c:
1013 Add children_changed_listener and report_children_changed_event()
1014 to test AccessibleChildEvent_getChildAccessible.
1016 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1018 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1019 g_strdup to CORBA_String_dup (bug #105291)
1021 * test/event-listener-test.c (report_text_event): Add call to
1024 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1026 * registryd/deviceeventcontroller.c:
1027 (spi_keystroke_from_x_key_event):
1028 Fix string and keysym return codes to match modifier state.
1031 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1033 * registryd/deviceeventcontroller.c:
1034 (spi_keystroke_from_x_key_event):
1035 Fix segv due to improper use of isprint(c). [bug #107254]
1037 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1040 (get_accessible_text_boundary_type):
1041 Move default return value to (new) default case in switch.
1042 (get_accessible_text_clip_type):
1043 Move default return value to (new) default case in switch.
1045 * libspi/application.c:
1046 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1047 Remove unused methods.
1048 (impl_accessibility_application_register_object_event_listener):
1049 Remove unused methods.
1052 Added #include of <math.h>.
1054 * registryd/deviceeventcontroller.c:
1055 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1056 we don't currently use this method.
1057 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1059 (impl_generate_key_event):
1060 Remove unused variables.
1061 (impl_generate_mouse_event):
1062 Initialize button to zero, just in case we get an invalid
1063 input. Added support for mouse buttons 4 and 5.
1064 (spi_device_event_controller_new):
1065 Removed unused variable declaration for 'private'.
1067 Added #include of <gdk/gdk.h>
1069 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1071 * configure.in: Update to work when X is not installed in expected
1072 location. Fixes bug #105836.
1074 * atk-bridge/bridge.c
1075 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1077 (spi_atk_register_event_listener): Add signal listener for
1079 (spi_atk_bridge_signal_listener): Event event when link-selected
1080 signal is emitted. (bug #104622)
1082 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1083 on returned string. (bug #105291)
1085 * test/event-listener-test.c: Add test for link-selected.
1087 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1089 * atk-bridge/Makefile.am: Correct typo in previous commit.
1091 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1093 * atk-bridge/Makefile.am: Allow for build directory to be different
1094 from source directory
1096 * registryd/Makefile.am: Allow for build directory to be different
1097 from source directory
1101 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1104 Fixed dependencies for libcspi so that libspi gets pulled in
1105 properly. Fixes 104741.
1109 Clean up inline docs a little.
1111 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1113 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1114 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1115 the AtkObject within an SpiDesktop.
1116 This addresses bug #101524.
1118 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1119 Remove call to gdk_init().
1121 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1122 so that Display is set when SpiDesktop is created.
1124 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1126 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1127 This fixes bug #102830.
1129 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1131 * test/test-simple.c: Update to take account of fact that GailButton
1132 now implements AtkText.
1133 (create_text_window): Set name on AtkObject for GtkEntry.
1134 (validate_accessible): Check accessible name before calling test_text().
1136 * libspi/Makefile.am: Fix problem with building outside of source
1137 directory. Bug #98120.
1139 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1140 typo in documentation comments. Bug #94275.
1142 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1144 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1146 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1149 Add includes to avoid compiler warnings on Solaris.
1150 (impl_getRangeExtents): Bug fix.
1152 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1154 Fix for 100944, [API addition approved by Gman and murrayc].
1161 * idl/Accessibility_Text.idl:
1162 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1163 (Text::getRangeExtents): New method for efficient
1164 bounds query of a text range.
1165 (Text::getBoundedRanges): New method for efficient
1166 clipping of text to bounding boxes.
1167 (unImplemented7, unImplemented8):
1168 Removed these padding methods to preserve bincompat.
1171 (impl_getRangeExtents): implementation of new IDL.
1172 (impl_getBoundedRanges): implementation of new IDL.
1173 (SpiTextRect): Internal use struct.
1174 (_spi_text_rect_union): internal method, calculates union of two
1175 SpiTextRect bounding rects.
1176 (_spi_text_range_seq_from_gslist): internal method, allows us
1177 to build our sequence efficiently as a gslist then convert it
1179 (_spi_bounds_contain): internal method, determines whether
1180 a text character is "in" or "out" of a clip rect according to
1181 values of TEXT_CLIP_TYPE.
1182 (spi_text_class_init): Initialize the new methods in the epv.
1185 (AccessibleTextClipType): New enum used by screen review api.
1186 (AccessibleTextRange): New struct used by screen review api.
1187 (AccessibleText_getRangeExtents):
1188 cspi binding for Accessibility_Text_getRangeExtents.
1189 (AccessibleText_getBoundedRanges):
1190 cspi binding for Accessibility_Text_getBoundedRanges.
1191 (AccessibleTextRange_freeRanges): convenience method.
1194 (AccessibleText_getRangeExtents):
1195 cspi binding for Accessibility_Text_getRangeExtents.
1196 (AccessibleText_getBoundedRanges):
1197 cspi binding for Accessibility_Text_getBoundedRanges.
1198 (AccessibleTextRange_freeRanges): convenience method.
1199 (get_accessible_text_clip_type): internal conversion method.
1200 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1202 * registryd/deviceeventcontroller.c:
1203 (spi_dec_mouse_check):
1204 Improved behavior for mouse:abs events
1205 [same granularity as mouse:rel events, and no
1206 events when mouse is idle].
1208 2002-12-16 Michael Meeks <michael@ximian.com>
1210 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1212 * libspi/stateset.c (state_spi_to_atk): split out
1213 ( fix several remote array bounds nasties )
1214 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1215 (impl_remove): make safe from array bounds issues.
1216 (spi_atk_state_from_spi_state): impl.
1218 * libspi/stateset.h (spi_state_set_cache_is_empty):
1219 add a set of wrapper defines to get layering right.
1221 * cspi/spi_accessible.c: update state set stuff to
1224 2002-12-14 Michael Meeks <michael@ximian.com>
1226 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1227 to avoid 2 roundtrips to the registry per key event
1228 (spi_atk_bridge_key_listener): upd.
1229 (deregister_application): release the dec.
1231 * registryd/registry.c (notify_listeners_cb):
1232 bin lots of re-enterant complexity - we no longer
1233 do a round-trip bonobo ref here, ensure that a single
1234 listener's exception failure won't poison all other
1236 (impl_registry_notify_event): bin obvious memory leak.
1238 2002-12-13 Michael Meeks <michael@ximian.com>
1240 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1241 init the ev so the error is meaningful.
1242 (spi_atk_bridge_key_listener): ditto.
1244 * cspi/spi_main.c (cspi_ev): init the ev so we start
1245 with a clean slate, otherwise the first exception
1246 kills us completely.
1248 * cspi/spi_text.c (get_accessible_text_boundary_type):
1249 add a fallthrough for no warnings.
1251 * cspi/spi_registry.c: prune unused warnings.
1253 * cspi/spi_main.c (cspi_object_take): fix
1254 mind-blowing brokenness ( by watching the compile
1257 * cspi/spi_accessible.c (Accessible_getStateSet):
1258 re-impl. to use an AtkStateSet.
1259 (spi_state_type_from_accessible_state),
1260 (init_state_table): bin these.
1262 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1264 (atk_state_set_from_accessibility_state_set): here.
1266 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1267 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1268 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1269 (AccessibleStateSet_add, AccessibleStateSet_remove),
1270 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1271 (AccessibleStateSet_isEmpty): re-write to use a local
1274 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1276 * configure.in: Revved to 1.1.7 (new keymask vals).
1278 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1280 * libspi/keymasks.h:
1281 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1283 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1286 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1287 to compare two CORBA_TypeCodes.
1288 (cspi_internal_event_add): Silence warning from FORTE compiler.
1290 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1291 avoid implicit declaration of functions.
1293 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1295 * atk-bridge/bridge.c:
1296 (spi_atk_bridge_init_event_type_consts): Store signal id for
1297 active-descendant-changed signal.
1298 (spi_atk_register_event_listeners): Add signal listener for
1299 active-descendant-changed signal,
1300 (spi_atk_bridge_signal_listener): Move code in function
1301 spi_atk-signal_emit_event() into this function.
1302 Add support for active-descendant-changed
1303 Update support for child-changed signal.
1304 (spi_bridge_window_event_listener): Silence warning.
1306 * libspi/spi_private.[ch]:
1307 (spi_init_any_object): Change second parameter from CORBA_Object to
1309 Omit call to CORBA_Object_duplicate().
1310 Set CORBA_any's _value to CORBA_Object*.
1312 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1318 (AccessibleEvent_ref, AccessibleEvent_unref):
1319 New methods, for persisting an event outside the emission context.
1320 Must be used if the new accessor methods are to be called
1321 outside of the event listener's callback.
1323 * cspi/bonobo/cspi-bonobo.c:
1324 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1325 as second parameter instead of NULL, so we can call
1326 cspi_check_ev afterwards.
1329 (cspi_object_take): New internal method,
1330 converts a CORBA_Object reference to a hard ref on
1331 an Accessible if possible, returning NULL if the object
1332 reference is invalid or an Accessible * otherwise.
1335 (AccessibleEvent_ref):
1336 Increment the event's internal private refcount, and
1337 add the event's internal struct to an internal cache
1338 if it's not already there.
1339 (AccessibleEvent_unref):
1340 Decrement the event's refcount and remove it from
1341 the cspi event cache if refcount==0.
1342 (cspi_event_compare): New private method.
1343 Compares two event structs via their ids. Used
1345 (cspi_internal_event_lookup): New private method.
1346 (cspi_internal_event_check): New private method,
1347 a 0-order sanity check for events to make sure their
1348 private data is intact.
1349 (cspi_internal_event_add, cspi_internal_event_remove):
1350 New private methods for managiing the event cache.
1352 * cspi/bonobo/cspi-bonobo-listener.c:
1354 Initialize the new private data elements (id, magic, ref_count).
1356 * atk-bridge/bridge.c:
1357 (spi_atk_bridge_signal_listener):
1358 Fixed bug #100530, passing wrong params to emission func.
1360 * registryd/deviceeventcontroller.c:
1361 (spi_dec_button_update_and_emit):
1362 Fixed type in mask bit operations; fix for #99799.
1364 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1366 Removed some of the more dangerous workarounds from
1367 previous commit; they are only needed by GOK, which
1368 in reality should be using another method to accomplish
1369 the goals. So on reconsideration some of the workarounds
1370 need to be reverted:
1372 * registryd/deviceeventcontroller.c:
1373 (spi_keycodes_contain, spi_dec_init_keycode_list):
1374 Removed these methods, used only by a nasty hack to try
1375 and detect whether a key synthesis should be allowed
1376 to reset the XKB latch state or not. This code was only
1377 required to work around an interaction between GOK,
1378 button events, and XKB.
1379 (impl_generate_key_event):
1380 Removed hack at end of key generation that tried to
1381 "do the right thing" if XKB latch keys were generated
1382 in the midst of button press/release pairs.
1385 Added a check for HAVE_XINPUT. Not normally used yet.
1387 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1389 Workarounds and fixes for mouse event/XKB interaction.
1391 * registryd/deviceeventcontroller.c:
1392 (spi_keycodes_contain, spi_dec_init_keycode_list):
1393 New internal methods.
1394 (spi_dec_set_unlatch_pending):
1395 Split the method that tells XKB to expect an
1396 unlatch (and revert it) out of the rest of the
1397 event handling code. This method is called by the
1398 two mouse event handlers (the poll and the filter).
1399 (spi_dec_update_and_emit, spi_dec_mouse_check):
1400 New methods split from spi_dec_poll_mouse_moved.
1401 The second one is now called from inside the filterFn
1402 when an XKB delatch event is received, to determine
1403 whether to revert the delatch or not.
1404 (spi_poll_mouse_moved): Refactor; also we can now
1405 properly handle the case where multiple button states
1406 have changed between polling cycles and we didn't get
1407 notified due to another client's grab.
1409 Synchronize the server while handling an XKB notification.
1410 Ugly, but apparently necessary to avoid nasty races.
1411 Check the mouse state on receipt of an XKB latch change,
1412 to decide whether to revert the latch or not. (Latches are
1413 reverted if there is an immediately preceding mouse button
1414 event that a client has consumed, in which case we don't want
1415 the user to see the side-effect of the event).
1416 (spi_device_event_controller_forward_mouse_event):
1417 Check for modifier events and fire before resetting mouse_mask_state,
1418 prevents losing modifier events.
1420 (impl_generate_keyboard_event):
1421 If we've just generated a keyboard event for a non-shift key,
1422 we don't want to revert the pending XKB latch.
1423 Otherwise, check the modifier state (via a call to
1424 spi_dev_mouse_check) and set the relatch mask to
1425 that state before returning.
1427 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1430 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1433 * atk-bridge/bridge.c:
1434 (spi_atk_register_event_listeners):
1435 Don't re-register for ATK events if the registry has died
1436 and the app needs to re-register; the ATK listeners are in
1437 process and doing so will cause duplicate emission.
1439 * registryd/deviceeventcontroller.c:
1440 (spi_poll_mouse_moved):
1441 Reformat the source, detect and emit multiple button-change
1442 events (i.e. if multiple buttons have changed between poll
1444 Add code to detect mouse-down events even when the pointer
1445 is grabbed; workaround for GOK bug 98420.
1446 (spi_controller_register_with_devices):
1447 Call XTestGrabControl with 'impervious' flag set to True,
1448 allows us to synthesize events and query the pointer even during
1449 an active grab by another client.
1450 (spi_device_event_controller_forward_mouse_event):
1451 Set the mouse_mask_state to the mouse_button_state from
1452 the intercepted event, to synchronize the grab listener with
1455 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1457 * cspi/spi_accessible.c:
1458 (AccessibleRole_getName):
1459 Added necessary strings for making this (deprecated)
1460 method work with the new role types.
1461 (init_role_table, role_table):
1462 Added definition of SPI_ROLE_APPLICATION.
1464 * libspi/spi-roletypes.h:
1465 Added SPI_ROLE_APPLICATION.
1467 * idl/Accessibility_Role.idl:
1468 Added ROLE_APPLICATION.
1470 * docs/reference/cspi/at-spi-cspi-decl.txt:
1471 Added SPI_ROLE_APPLICATION to docs.
1473 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1475 * cspi/spi_accessible.c
1476 (cspi_init_role_table): Do not write beyond end of role_table.
1477 (Accessible_getRole): Use correct type for value returned by
1478 Accessibility_Accessible_getRole().
1480 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1481 beyond end of role_table. (This fixes bug #98269)
1483 * libspi/application.c: Add include file spi-private.h for
1484 definition of spi_init_any_nil.
1486 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1490 * libspi/spi-private.h:
1491 Added DGB() macro, and extern int _dbg declaration.
1493 * registryd/registry.c:
1494 (definitions) storage for _dbg.
1495 (spi_registry_init):
1496 Get environment variable "AT_SPI_DEBUG".
1497 (spi_registry_set_debug):
1498 New method, to initialize _dbg value.
1499 (spi_listener_struct_new, spi_registry_object_finalize):
1500 (notify_listeners_cb):
1501 Changed fprintfs to use DBG and g_warning().
1503 * registryd/deviceeventcontroller.c:
1504 (_deregister_keygrab, spi_controller_register_device_listener):
1505 Changed debug/warning messages to use DBG macro.
1507 * libspi/listener.c:
1508 (impl_notify_event):
1509 Changed warning messages to use DBG macro and g_warning().
1511 * atk-bridge/bridge.c:
1512 (atk_bridge_init, spi_atk_bridge_get_registry):
1513 (spi_atk_bridge_exit_func):
1514 (spi_atk_bridge_property_event_listener):
1515 Changed status, warning, and error messages to use
1516 g_warning, g_message, and DBG macros.
1519 Read the state of the AT_SPI_DEBUG environment variable
1520 and set a local '_dbg' accordingly.
1522 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1524 FIXES for 98836, 98842, other bugs.
1527 Revved to 1.1.4, interface-age=4, binary-age=4.
1529 * registryd/deviceeventcontroller.c:
1531 Fixed crasher bug in last_mouse_pos initialization.
1533 * registryd/registry.c:
1534 (desktop_add_application, desktop_remove_application):
1535 Added (and then commented out) some support for
1536 object context marshalling. [TODO]
1538 * atk-bridge/bridge.c:
1539 (spi_atk_bridge_event_context_create):
1540 Commented out object context creation until it can
1541 be properly tested and debugged.
1543 * registryd/registry.c:
1544 (impl_registry_notify_event):
1545 Fixed crasher bug, we were calling
1546 spi_re_entrant_list_foreach () with an empty list.
1548 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1550 * idl/Accessibility_Action.idl:
1551 * idl/Accessibility_Component.idl:
1552 * idl/Accessibility_Desktop.idl:
1553 * idl/Accessibility_Event.idl:
1554 * idl/Accessibility_Hyperlink.idl:
1555 * idl/Accessibility_Image.idl:
1556 * idl/Accessibility_Relation.idl:
1557 * idl/Accessibility_Selection.idl:
1558 * idl/Accessibility_State.idl:
1559 * idl/Accessibility_Value.idl:
1560 Updated unimplemented slot count to minimum of
1561 four for all interfaces, for ABI freeze.
1563 * idl/Accessibility_EditableText.idl:
1564 * idl/Accessibility_Text.idl:
1565 Updated unimplemented slot count to six
1568 * idl/Accessibility_Registry.idl:
1569 Updated unimplemented slot count to six
1570 (also for DeviceEventController),
1573 * idl/Accessibility_Table.idl:
1574 Updated unimplemented slot count to eight,
1577 * idl/Accessibility_Event.idl:
1578 Added CORBA_any "any_data" member to Event struct.
1580 * idl/Accessibility_Event.idl:
1581 Added CORBA_any "any_data" member to Event struct.
1583 * atk-bridge/bridge.c:
1585 atk_signal_text_changed, atk_signal_child_changed,
1586 signal ids queried from gtype system.
1587 (AtkBridgeEventContextType): New enum.
1588 (AtkBridgeEventContextData): New struct.
1589 (AtkBridgeEventContext): New struct.
1590 (atk_bridge_init_event_type_consts):
1591 New method, initializes type contants for comparison
1592 prior to emit_eventv.
1593 (atk_bridge_event_context_init): New method,
1594 initializes a CORBA_any from an AtkBridgeEventContext.
1595 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1596 initialize the event.any_data struct.
1597 (spi_atk_bridge_event_context_create): New method,
1598 creates an AtkBridgeEventContext from signal/event info.
1599 (spi_atk_bridge_event_context_free): New method.
1600 (spi_atk_emit_eventv): Changed to take an
1601 AtkBridgeEventContext parameter. We now initialize
1602 the event.any_data member prior to notifying the
1603 Registry, via the AtkBridgeEventContext.
1604 (spi_atk_bridge_property_event_listener):
1605 (spi_atk_bridge_state_event_listener):
1606 Match emit_eventv signature.
1607 (spi_atk_bridge_object_event_listener):
1608 Match emit_eventv signature, and create an
1609 event context from the event details.
1610 Free the event context afterwards.
1611 (spi_atk_bridge_window_event_listener):
1612 Create an event context, pass it to the
1616 (AccessibleEvent_getContextString):
1617 (AccessibleEvent_getContextObject):
1618 New methods, allow query of AccessibleEvent objects
1619 for more context details (via the "any_data" member
1620 of the Event struct, above).
1623 Definitions for AccessibleEvent_getContextString
1624 and AccessibleEvent_getContextObject.
1626 * cspi/spi_listener.h:
1627 (InternalEvent): New struct.
1630 (AccessibleEvent_getContextString):
1631 (AccessibleEvent_getContextObject):
1632 Implementations of new methods, for obtaining
1633 additional context information from some event types.
1635 * cspi/spi_registry.c:
1636 (SPI_registerGlobalEventListener):
1637 Added mention of active-descendant-changed event in docs.
1639 * cspi/cspi-bonobo-listener.c:
1641 Marshal the any into the AccessibleEvent via
1644 * libspi/spi-private.h:
1645 #include <orbit/orbit.h>
1647 (spi_init_any_string):
1648 (spi_init_any_object):
1649 New convenience function declarations.
1653 (spi_init_any_string):
1654 (spi_init_any_object):
1655 New convenience function implementations.
1657 * registryd/deviceeventcontroller.c:
1658 (spi_poll_dec_mouse_moved):
1659 (spi_device_event_controller_forward_mous_event):
1660 Initialize any_data member of event.
1661 (spi_deregister_controller_device_listener):
1662 Fix incorrect param pass which was preventing deregistration.
1664 * registryd/registry.c:
1665 (desktop_add_application):
1666 (desktop_remove_application):
1667 Add object data to event's any_data before dispatch.
1669 Fix for error messages from GAIL.
1671 * test/event-listener-test.c:
1672 Test new ContextString and "any_data" API:
1673 (report_text_event): New method query and output context string.
1674 (main): register a new text listener with report_text_event
1677 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1679 Fixes for bugs 98127 and 97914.
1680 * cspi/spi-roletypes.h:
1681 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1683 * cspi/spi-statetypes.h:
1684 Added SPI_STATE_MANAGES_DESCENDANTS
1686 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1687 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1688 * cspi/spi_accessible.c:
1689 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1690 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1691 Accessibility_STATE_MANAGES_DESCENDANTS
1692 * libspi/accessible.c:
1693 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1694 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1695 As requested by Bill, I also cleaned up the alignment.
1696 * libspi/relation.c:
1697 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1698 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1699 * libspi/stateset.c:
1700 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1701 Accessibility_STATE_MANAGES_DESCENDANTS
1702 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1703 Document changes reflecting modifications to roles.
1704 * docs/reference/cspi/tmpl/spi_relation.sgml:
1705 Document changes reflecting modifications to relations.
1706 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1707 Document changes reflecting modifications to states.
1709 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1712 Revved to 1.1.3, interface-age=3, binary-age=3.
1713 Added REBUILD macro.
1716 Removed accessx-gui from the tests, since we have a nice
1717 keyboard accessibility capplet now :-)
1719 * test/keysynth-demo.c:
1720 (increment_scan): removed do-nothing default: case,
1723 * test/visual-bell.c:
1724 (main) : removed do-nothing default: case,
1727 * cspi/spi_action.c:
1728 (AccessibleAction_getKeyBinding_):
1729 Documented keybinding string format.
1733 (AccessibleText_getAttributes):
1734 Documented the text attribute string format.
1735 It's changed to use semicolon delimiters also,
1736 to prevent clashes with CSS attributes, but the old
1737 trick of looking for ", " strings will still work
1738 (as unreliably as ever). Fix for bug related to 97916.
1741 Include <cspi/bonobo/cspi-bonobo-listener.h>
1742 Fixes build warning.
1743 (SPI_freeAccessibleKeySet):
1744 (AccessibleKeystrokeListener_addCallback):
1745 (AccessibleKeystrokeListener_removeCallback):
1746 Modify to use AccessibleDeviceListener API internally,
1747 instead of AccessibleKeystrokeListener.
1749 * idl/Accessibility_Event.idl:
1750 Added two more empty slots to EventListener (for a total of four).
1752 * idl/Accessibility_Accessible.idl:
1753 Added four empty slots to Accessible interface.
1755 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1757 * idl/Accessibility_Registry.idl:
1758 (KeyEventType, EventType):
1759 Marked KeyEventType as deprecated; it duplicates
1760 functionality of EventType, which has been extended to
1761 include Mouse-button events.
1762 (KeyEventTypeSeq): defined in terms of EventType.
1763 (registerDeviceEventListener, deregisterDeviceEventListener):
1764 New methods, for managing listeners to device events,
1765 which potentially may consume them.
1768 Added definition for AccessibleDeviceListener.
1770 * cspi/spi-listener.h:
1771 (enum AccessibleDeviceEventType):
1772 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1773 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1774 for backwards compat.
1775 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1776 and typedef'd AccessibleKeystroke to it for back-compat.
1777 (AccessibleDeviceListenerCB):
1778 New function prototype typedef.
1781 (AccessibleDeviceEventMask): New typedef.
1782 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1783 (AccessibleKeyMaskType):
1784 Set equivalent to AccessibleModifierMaskType for back-compat.
1785 (SPI_createAccessibleKeystrokeListener):
1786 (AccessibleKeystrokeListener_unref):
1787 Deprecated in favor of equivalent (better-named) new API below..
1788 keystroke listeners are like all device listeners.
1789 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1790 New API names for old features :-).
1791 (AccessibleDeviceListener_addCallback):
1792 (AccessibleDeviceListener_removeCallback):
1793 (SPI_registerDeviceEventListener):
1794 (SPI_deregisterDeviceEventListener):
1798 (SPI_createAccessibleKeystrokeListener):
1799 Use new preferred API, cspi_device_listener_new() and
1800 cspi_device_listener_add_cb().
1801 (AccessibleKeystrokeListener_removeCallback):
1802 Use new preferred API, cspi_device_listener_remove_cb().
1803 (AccessibleKeystrokeListener_unref):
1804 Use new preferred API, cspi_device_listener_unref().
1805 (SPI_createAccessibleDeviceListener):
1806 (AccessibleDeviceListener_addCallback):
1807 (AccessibleDeviceListener_removeCallback):
1808 Implementation of new API.
1810 * cspi/spi_registry.c:
1811 (SPI_registerDeviceEventListener):
1812 (SPI_deregisterDeviceEventListener):
1813 Implementation of new API. Fixed memory leak and removed need to
1814 allocate EventTypeSeq (thanks Michael for catching this).
1815 Squashed a wayward CORBA_exception_free that shouldn't get called.
1817 * cspi/bonobo/cspi-bonobo-listener.c:
1819 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1820 (cspi_key_event): renamed to cspi_device_event().
1821 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1822 Extended to handle mouse button events as well as key events.
1823 (CSpiKeystrokeListener):
1824 Class superceded by CSpiDeviceListener.
1825 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1826 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1828 * cspi/bonobo/cspi-bonobo-listener.h:
1829 (CSpiKeystrokeListener):
1830 Class superceded by CSpiDeviceListener.
1831 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1832 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1834 * libspi/Makefile.am:
1835 Replaced keystrokelistener.h and keystrokelistener.c
1836 with devicelistener.h and devicelistener.c; keystrokelisener.h
1837 stub retained for back-compat.
1839 * libspi/keystrokelistener.c:
1843 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1845 * registryd/deviceeventcontroller.c:
1846 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1847 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1848 (DEControllerPrivateData): Added xkb settings data.
1849 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1850 button release events (which can't be captured via XGrabButton).
1851 Don't dispatch via the 'normal' event mechanism if the device event was
1853 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1854 Handle the typeseq data in its new location (see above).
1855 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1856 New methods, for "generic" device listeners.
1857 (spi_controller_register_device_listener):
1858 Now handle mouse event listeners as well as key listeners.
1859 (spi_controller_notify_mouselisteners):
1860 New internal method.
1861 (spi_device_event_controller_forward_mouse_event):
1862 Now we notify mouse device listeners as well as generating the
1863 non-consumable "mouse:" events.
1865 We must check and restore the XKB
1866 modifier map if we consume the event, since the act of triggering
1867 a mouse event will normally reset the XKB latch. This is required for
1869 (spi_controller_register_with_devices):
1870 Load the XKB settings when registering, and register for XKB
1871 state notify events.
1872 (spi_key_eventtype_seq_contains_event):
1873 Renamed spi_eventtype_seq_contains_event, since it's used
1874 internally for all device event types now.
1875 (spi_key_event_matches_listener):
1876 Uses spi_eventtype_seq_contains_event now.
1877 (spi_device_event_controller_object_finalize):
1878 Free the private data and the XkbKeyboard struct.
1879 (impl_register_device_listener, impl_deregister_device_listener):
1880 Implementation of new IDL.
1881 (spi_deregister_controller_device_listener):
1882 New internal method.
1883 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1884 More efficient implementation, we don't have to create a new
1885 XkbControls structure every time we query.
1886 (spi_device_event_controller_class_init):
1887 Initialize the epv entries for the new IDL. Assign the
1888 "spi-dec-private" quark.
1889 (spi_device_event_controller_init):
1890 Initialize the private data.
1891 (spi_device_event_controller_forward_key_event):
1892 Removed a bogus CORBA_exception_free() call.
1894 * registryd/deviceeventcontroller.h:
1895 Replaced inclusion of keystrokelistener.h with
1898 * test/event-listener-test.c:
1899 (report_mouse_event):
1902 Added mouse-event device listener.
1904 * test/test-simple.c:
1905 (create_test_window):
1906 Fixed regression (we were instantiating a GtkRange,
1907 which is now an abstract class). Also fixed to match
1908 existing AtkRole names, this seems to have changed in ATK
1909 awhile ago; too late now I think, and the new
1910 mechanism is at least elegant and consistent with the
1911 glib enum "nick" APIs.
1913 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1915 * idl/Accessibility_Relation.idl:
1916 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1917 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1918 * idl/Accessibility_Role.idl:
1919 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1920 * idl/Accessibility_State.idl:
1921 add STATE_MANAGES_DESCENDANTS
1922 * test/event-listener-test.c:
1923 Added a listener for active-descendant events.
1925 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1927 * atk-bridge/bridge.c
1928 (atk_bridge_init): If application is Bonobo component wait until top
1929 level is added before registering
1930 (spi_atk_bridge_do_registration): New function which contains code,
1931 formerly in atk_bridge_init, to do application registration.
1932 (spi_atk_bridge_toplevel_added): Signal called when top level
1933 added to Bonobo component
1935 This fixes bug #83134.
1937 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1939 * registryd/deviceeventcontroller.c
1940 Fixed compilation error caused by calling gettimeofday()
1943 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1948 Added template for HAVE_XKB.
1951 Changes to check for XKB, and to set the HAVE_XKB #define if it
1954 * libspi/listener.c:
1955 ()impl_notify_event): Make failure to get event source name
1958 * registryd/deviceeventcontroller.c:
1959 (#include): include X11/XKBlib.h.
1960 (DEControllerPrivateData) : New struct.
1961 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1963 (dec_synth_keycode_press) (dec_synth_keycode_release):
1964 New methods; split the key synthesis code into these methods.
1965 They check XKB settings before determining the "time" values to
1966 pass to Xtest; this fixes bug #95828.
1967 (impl_generate_keyboard_event): Changed to use methods above,
1968 instead of callng Xtest directly.
1969 (spi_device_event_controller_init): Initialize new privae struct s
1971 (spi_device_event_controllr_object_finalize):
1972 Free the (new) private data.
1974 * registryd/deviceeventcontroller.h:
1975 Add new gpointer to end of struct data.
1977 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1980 Incremented revision to 1.1.2, SONAME is still '.so', library
1981 extensions are ".so.0.0.2".
1983 * registryd/deviceeventcontroller.c:
1984 FIXES FOR #93592 and #95940.
1985 (statics): renamed mouse_button_state to mouse_mask_state,
1986 added key_modifier_mask.
1987 (spi_dec_poll_mouse_moved):
1988 Added key modifier checks, and emit "keyboard:modifiers"
1989 events when the key modifiers currently in use change.
1990 Also generate "mouse:abs" events periodically, even if the mouse
1991 is stationary (should we?).
1992 Alternatively we could generate "mouse:abs" events for either all
1993 mouse movements, or every 'nth' mouse movement, or at the
1994 beginning and end of every "active" mouse period.
1996 * test/event-listener-test.c:
1997 (main): Added listener for "keyboard:modifiers" events.
1999 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2001 * libspi/keymasks.h:
2002 Added key mask #defines for mouse buttons; e.g.
2003 SPI_KEYMASK_BUTTON1, etc.
2006 Incremented dependency on ATK to version 1.1.0. (This dependency
2007 is probably premature but will soon be real enough).
2009 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2011 * libspi/hyperlink.[ch]
2012 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2013 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2016 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2021 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2023 * registryd/deviceeventcontroller.c
2024 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2025 events to be ignored.
2026 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2027 keyboard_mode so that XAllowEvents() can be called.
2031 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2033 * cspi/spi-accessible.c: Correct names of roles returned by
2034 AccessibleRole_getName(). Fixes bug #95055.
2036 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2038 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2041 * registryd/registry.c
2042 (desktop_remove_application: Write diagnostic message to stderr for
2045 (impl_accessibility_registry_deregister_global_event_listener):
2046 Correct size of lists array. This addresses bug #94555).
2048 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2050 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2053 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2055 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2058 * registryd/registry.c (impl_registry_notify_event): Remove
2059 unnecessary call to parser_event_type().
2061 * docs/reference/cspi/tmpl/spi_component.sgml:
2062 Add reference to SPI_LAYER_WINDOW.
2064 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2066 * registryd/registry.c
2067 (desktop_add_application): Remove leak.
2068 (desktop_remove_application): Remove leak.
2069 (parser_event_type): Remove leak.
2071 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2073 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2074 bogus call to CORBA_string_dup(). Also removed unnecessary
2075 g_string_dup/g_free calls.
2077 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2079 * registryd/deviceeventcontroller.c:
2080 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2082 * test/event-listener-test.c:
2083 main: commented out three redundant listeners, to reduce output
2084 noise. (They still are potentially useful for testing).
2087 2002-09-13 Michael Meeks <michael@ximian.com>
2089 * Update all the copyrights to include Ximian.
2091 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2093 * cspi/spi.h: add SPI_LAYER_WINDOW.
2095 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2096 add Accessibility_LAYER_WINDOW case.
2098 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2100 * libspi/component.c: (impl_accessibility_component_get_layer):
2101 add ATK_LAYER_WINDOW case.
2103 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2105 * configure.in: incremented micro version.
2107 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2109 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2112 Clarified and reworded our commit policy.
2115 Started an API "todo" addition list for 2.2.
2118 (impl_getSelection):
2119 Free char pointer from atk_text_get_selection, which was being leaked.
2121 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2124 Small revision to author acknowledgement.
2126 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2128 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2129 If signal has detail add it to the type of the event.
2132 2002-08-12 Michael Meeks <michael@ximian.com>
2134 * test/test-simple.c (global_listener_cb): bin bogosity.
2135 (test_keylisteners): disable, still doesn't work reliably,
2136 certainly not on my system anyway.
2138 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2139 don't leak a reference on the DEC. This round-trip
2140 fetching of the DEC per keystroke sucks, it should be
2143 * cspi/spi-private.h,
2144 * cspi/cspi-lowlevel.h,
2145 * cspi/bonobo/cspi-bonobo-listener.[ch],
2146 * cspi/bonobo/cspi-bonobo.c: get the copyright
2147 notices better - there is still a large amount of
2148 work in at-spi falsely attributed solely to Sun.
2150 * cspi/spi_main.c (cspi_object_ref): kill bogus
2151 hash lookup, just increment the ref.
2152 (SPI_freeString): make explicit the fact that we
2153 handle NULL strings just fine.
2154 (report_leaked_ref): obey coding standards.
2155 (cspi_object_hash, cspi_object_equal): kill retval.
2156 (cspi_object_release): only release if not on loan.
2157 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2158 (cspi_object_borrow, cspi_object_return): impl.
2160 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2161 use cspi_object_borrow / return.
2163 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2165 * cspi/bonobo/cspi-bonobo-listener.c:
2167 Don't call cspi_oject_new() because this is creating a new Accessible
2168 every single time that an event is fired. This causes ATs like at-poke
2169 to nolonger recognise the source of the event and thus ignore it.
2170 Re-use the object from the cache, ref it and then unref it after the
2171 listeners have been called.
2173 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2175 * test/event-listener-test.c:
2176 Added command-line options to disable mouse events (m) and
2179 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2181 * configure.in: Update required versions of ATK, GTK+ and GAIL
2183 * cspi-1.0.pc.in: Add dependency for X include files
2186 * cspi/bonobo/Makefile.am:
2187 Add $(X_CFLAGS) so that X include files
2188 are picked up even if not in standard place (bug #71686)
2190 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2192 * registryd/deviceeventcontroller.c: fix for 84261
2193 (spi_dec_mouse_moved):
2194 Added test of mouse button mask, so that we can detect mouse
2195 button release. Unfortunately we can't otherwise detect mouse
2196 button release events without consuming the mouse press event,
2197 because of the way XGrabButton works. This means that our mouse
2198 release events have a latency dependent on the polling period
2199 while the mouse button is down. At least in this case we only
2200 have to poll while the button is down, and not at other times.
2201 If the button masks don't match with what the last press event
2202 reported, we report the appropriate button release event.
2203 (spi_dec_ungrab_mouse):
2204 New method (not yet called).
2205 (spi_device_event_controller_forward_mouse_event):
2206 New method, sends mouse press event from GdkFilter.
2207 (spi_dec_init_mouse_listener):
2208 Added code to call XGrabButton, redirecting mouse button events to
2209 the root window and our Gdk event loop.
2211 Added code to filter mouse button events, and reordered.
2213 * test/event-listener-test.c:
2215 Added registration for mouse events of type "mouse:button".
2217 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2219 * registryd/deviceeventcontroller.c: partial fix for 84261
2220 (spi_dec_poll_mouse_idle):
2221 New method, a timeout which checks to see if the mouse
2223 (spi_dec_poll_mouse_moving):
2224 A timeout to be called when mouse motion is underway.
2225 (spi_dec_poll_mouse_moved):
2226 A method which fires an event if the mouse has moved, and reports
2227 whether or not it did so.
2228 (spi_dec_init_mouse_listener):
2229 A method which sets up the timeouts above.
2230 (spi_device_event_controller_new):
2231 Now calls spi_dec_init_mouse_listener.
2233 * registryd/registry.c:
2234 (spi_registry_init):
2235 Now we initialize the device event controller when the registry is
2236 initialized, instead of waiting until a client has requested a key
2237 event notification; this is because we need the event controller
2238 for mouse events, but the mouse event registration API is a
2239 "registry" call and doesn't explicitly call the
2240 deviceeventcontroller.
2241 We now report mouse motion events with a 100 ms idle latency and
2242 a 20 ms granularity when motion is in progress.
2244 * test/event-listener-test.c:
2246 We now register the "detail listener" for events of type
2247 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2248 delivered only for the first mouse event received, and thereafter
2249 "mouse:abs" events are delivered.)
2251 * cspi/spi_registry.c:
2252 DOCS: Documented the above mouse event typestrings.
2254 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2256 Happy Summer Solstice...
2258 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2259 (spi_controller_notify_keylisteners):
2260 Changes to remove a listener from the listener list, freeing its
2261 open keygrabs, if a notification to that listener fails. This
2262 means that although a dead listener can continue to hold a passive
2263 keygrab, a maximum of one dispatch to such a listener can fail
2264 before the listener is removed from the list, thus the keygrab
2265 will be released on the next occurrence.
2266 As part of this fix:
2267 (spi_notify_keylisteners):
2268 Renamed to spi_controller_notify_keylisteners, as the controller
2269 instance must now be passed as an argument.
2270 The copied 'notify' GList is now a list of DEControllerKeyListener
2271 objects, since we need more than just the CORBA reference if a
2272 notify fails and we need to deregister the listener.
2273 (impl_notify_listeners_sync):
2274 (impl_notify_listeners_async):
2275 (spi_device_event_controller_forward_key_event):
2276 Modify use of notify_keylisteners in accordance with above
2278 (spi_deregister_controller_key_listener):
2279 New method introduced by refactoring, from
2280 impl_deregister_keystroke_listener.
2281 (impl_deregister_keystroke_listener):
2282 Call spi_deregister_controller_key_listener.
2283 (spi_key_listener_clone):
2284 New method to copy a key listner without doing a 'ref' on the
2285 remote object instance; used to create a notifier list.
2286 (spi_key_listener_data_free):
2287 New method, frees data without unreffing the source.
2289 (spi_key_listener_clone_free): new method.
2290 (spi_key_listener_free):
2291 refactored to call spi_key_listener_data_free.
2293 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2295 * registryd/registry.c: [fix for bug 86048]
2296 (notify_listeners_cb):
2297 Clear CORBA system exceptions which occur when notifying
2298 listeners, before returning to the source of the original event,
2299 since the event source doesn't care if the relayed notify failed.
2300 In other words, don't complain to the atk-bridge if the registry
2301 could not notify all its listeners, that's no fault of the
2302 application and thus should not appear to be an error from the
2303 application's perspective.
2305 * cspi/spi_main.c: [fix for bug 85980]
2307 Replaced use of bonobo_object_dup_ref with call to the wrapper
2308 method, csou_dup_ref (); this silences a compiler warning and
2309 provided more portability.
2311 Ping the registry before return, and restart if necessary.
2313 * cspi/bonobo/cspi-bonobo.c:
2315 New internal method.
2317 Fixed this method to return an object reference, as it should have
2320 * cspi/cspi-lowlevel.h:
2321 Added internal definition for cspi_ping() and fixed
2322 return type of cspi_dup_ref().
2325 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2327 * atk-bridge/bridge.c: [fix for bug 85305]
2328 (spi_atk_bridge_register_application):
2329 New method where the initial application registry calls have been
2330 moved; it allows an application to re-register in response to
2331 certain error conditions (such as a registry restart, see below).
2333 Moved some initialization code to the method
2334 spi_atk_bridge_get_registry, below.
2335 (spi_atk_bridge_get_registry):
2336 New, private accessor function for the Accessibility_Registry
2337 instance. If the registry has not been started before, or has
2338 died (as detected by failure of a CORBA exception), it is
2339 restarted before return, and spi_atk_bridge_register_application
2340 is called again to register with the new bridge instance.
2341 (spi_atk_emit_eventv):
2342 Set registry_died on error; use spi_atk_bridge_get_registry () to
2343 access the registry.
2345 * registryd/registry.c:
2346 (impl_accessibility_registry_register_global_event_listener):
2347 Set listener's event_type_quark to etype.minor instead of
2348 etype.major (fix for bug 84856).
2350 * test/event-listener-test.c:
2351 (report_detail_event):
2352 Change the output string so that user/tester can tell that the
2353 'detail listener' was called instead of the 'generic listener'.
2355 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2357 Fixes for bugs 84900, 84908, 84897, 84898.
2362 Revved version to 1.1.0
2363 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2364 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2366 * idl/Accessibility_Registry.idl:
2367 (EventListener::notifyEvent):
2368 Removed 'oneway' directive after extensive consulation with
2369 ORBit2 team and others. This means also that unref() of the event
2370 source can and should be done synchronously after emission, rather
2371 than remotely in the client, after servicing the notify call on
2374 NOTE: This change speeds up listener performance considerably, but
2375 introduces new latency on the application side. We may want to
2376 add an event queue to the atk-bridge.
2378 * atk-bridge/bridge.c:
2379 (spi_atk_bridge_focus_tracker):
2380 Do a local unref() on the event source after emission.
2382 * registryd/registry.c:
2383 (desktop_remove_application):
2384 Do an unref() on the event source after emission.
2385 (desktop_add_application):
2386 Do an unref() on the event source after emission.
2387 (notify_listeners_cb):
2388 When relaying an event, don't automatically add the event source
2389 to the local object cache, just CORBA_dup it instead. Likewise,
2390 if this method reenters, release the ref rather than calling
2392 (impl_registry_notify_event):
2393 No longer call remote unref() on the event source after dispatch.
2395 * libspi/eventlistener.c:
2396 (impl_accessible_event_notify_event):
2397 Removed remote unref ()
2399 * cspi/bonobo/cspi-bonobo-listener.c:
2401 We now call cspi_object_new() instead of cspi_object_add() on
2402 receipt of an event; thus we only have an implicit object ref
2403 while the cspi_event method is being executed. If we need to keep
2404 a reference to the object, the listener must call ref() on the
2405 object. Thus also we don't need to call cspi_object_unref() after
2406 invoking the listener callbacks in this method.
2410 New internal API for creating a new cspi object, without adding it
2411 to the object cache.
2413 Now uses cspi_object_new() to create the cspi object instance.
2415 Now checks to see if the object is in the internal object cache,
2416 and adds it if necessary before incrementing its refcount (note
2417 that new objects are added with a refcount of 1).
2418 (report_leaked_ref):
2419 New method which gives some information on leaked object instances
2420 if leak detection is turned on.
2422 * test/event-listener-test.c:
2423 (timing_test_event):
2424 New method, used for testing event delivery timing for special
2425 events of type "object:test". It reports elapsed time and
2426 events/sec every 500 events.
2428 Added a new listener, 'test listener', to check timing of event
2429 receipt as noted above.
2431 Added some timing output here also, reports elapsed time every 100
2434 * test/stress-test.c:
2435 Emit events of type "object:test", for use with "event-listener-test".
2437 * test/test-simple.c:
2438 (global_listener_cb):
2439 Call Accessible_ref() on the event source before calling
2440 validate_accessible, since the validation process does pointer
2441 comparisons on the event source, meaning that the event source
2442 needs to be added to the local object cache first. Any use of
2443 such pointer comparisons between Accessible objects requires that
2444 the caller hold an explicit reference to those objects.
2445 We also must therefore call Accessible_unref() when leaving this method.
2447 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2449 * registryd/deviceeventcontroller.c:
2450 (spi_controller_update_key_grabs):
2451 Fix for #84735, subsequent keygrab listeners not informed of
2452 registration failure.
2455 (spi_base_construct):
2456 Add an assertion on construct, to make sure the GObject passed in
2457 is really a GObject.
2459 Explicitly initialize object->gobj pointer to NULL;
2461 * cspi/bonobo/cspi-bonobo-listener.c:
2462 (cspi_object_add_ref):
2463 New method, can specify whether to dup-ref a bonobo object passed
2464 in if it's newly added to the object cache.
2466 Now calls cspi_object_add_ref with second param of "FALSE". This
2467 prevents us from doing a pointless dup-ref followed by
2468 release-unref for all those cases where the object is already in
2469 our object cache (fix for #85205).
2471 * atk-bridge/bridge.c:
2472 (spi_atk_bridge_idle_init):
2473 Removed this method, we don't need to initialize in an idle
2476 Changed to call spi_atk_register_event_listeners directly, not via an
2477 idle handler. (fix for #81139)
2478 (gnome_accessibility_module_shutdown):
2479 Removed conditional around deregistration of listeners, since we
2480 don't use the idle handler and thus have always registered when
2482 (spi_init_keystroke_from_atk_key_event):
2483 Changed references to Accessibility_KEY_PRESSED to
2484 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2486 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2488 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2493 * test/stress-test.c:
2496 (may have been an incomplete commit yesterday?)
2498 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2501 Added target for new stress-test.
2503 * test/stress-test.c:
2504 New test, sends 1000 focus notifies in quick succession.
2506 * test/key-listener-test.c:
2507 Now we report whether a keylistener registration
2508 request succeeded or failed.
2510 * test/event-listener-test.c:
2511 Uncommented some listeners which are now implemented.
2514 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2516 * registryd/deviceeventcontroller.c:
2517 (spi_controller_update_key_grabs):
2518 Fix for #82509, lack of failure notification when
2519 ALL_WINDOWS keygrabs fail due to XGrabKey
2520 failure: we synchronize the server when
2521 registering a passive grab, to make sure we get the
2522 error message before the call returns.
2524 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2526 * test/test-simple.c:
2528 Removed #ifdef KEY_IMPL_WORKS guards.
2529 (test_keylisteners):
2530 Removed #ifdef KEY_IMPL_WORKS guards.
2531 Fixed bug which was causing a hang waiting for a
2532 "press" event (which was already overwritten by a "release"
2533 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2535 Added code to set globals 'key_press_received' and
2536 'key_release_received'.
2539 Added section "1.1 API Proposed Additions" which
2540 lists API additions desired for at-spi-1.1 (only one so far).
2541 Updated TODO list a little.
2543 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2545 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2548 * configure.in: Revved to 1.0.0.
2550 * idl/Accessibility_Registry.idl:
2551 (registerKeystrokeListener):
2552 Added boolean return value.
2554 * registryd/registry.c:
2555 (notify_listeners_cb): Minor fix to debug output.
2557 * registryd/Accessibility_Registry.server.in.in:
2558 Revved version number in OAFIID to 1.0.
2560 * registryd/registryd.c:
2562 Use new OAFIID version.
2564 * cspi/bonobo/cspi-bonobo.c:
2566 Use new OAFIID version.
2572 * atk-bridge/bridge.c:
2574 Use new OAFIID version.
2576 * registryd/deviceeventcontroller.c:
2577 (impl_register_keystroke_listener):
2578 Added CORBA_boolean return value.
2579 (spi_controller_register_device_listener):
2580 Added gboolean return value.
2581 (spi_controller_register_global_keygrabs):
2582 Added gboolean return value.
2583 (spi_key_set_contains_key):
2584 Added implementation for many more control keys,
2585 for instance F1-F12, arrow keys, End, Home, Page_Up,
2587 [TODO: some still not implemented].
2589 * text/screen-review-test.c:
2590 (text_chunk_pad_string):
2591 New function: it provides mapping between coordinate
2592 positions of text chunks and character positions in the
2593 screen-review-line output string.
2594 (text_chunk_to_string):
2595 New function, calls text_chunk_pad_string with various
2596 pad/delimiter characters. Pushbuttons are delimited with
2597 square brackets, Frames with vertical 'pipe' lines, and
2598 other text with double quotes.
2599 (text_chunk_list_to_string):
2600 Calls new function text_chunk_to_string.
2601 (toplevel_composite):
2602 New function to composite layers CANVAS through
2603 POPUP in each toplevel (other layers are composited
2604 across toplevels, i.e. BACKGROUND and OVERLAY).
2605 (review_buffer_composite):
2606 Revise to use new methods.
2612 2002-05-31 Laszlo Peter <laca@sun.com>
2614 * configure.in: add the Xtst libdir to the runpath on Solaris,
2615 since it's not in the default library search path.
2617 2002-05-29 jacob berkman <jacob@ximian.com>
2619 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2621 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2623 * test/screen-review-test.c:
2624 (text_chunk_pad_string):
2625 Added method, which pads the string according to the
2626 text bounds of the chunk. It also takes a 3-character
2627 string as a param which indicates the characters to be
2628 used for start, padding, and end delimitation of the chunk.
2629 (text_chunk_to_string):
2630 Changed to use text_chunk_pad_string.
2632 * configure.in: Fixed bug in AC_OUTPUT that was
2633 causing path substitution in Accessibility_Registry.server
2636 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2638 * text/screen-review-test.c:
2639 (guess_string_clip):
2640 New method which attempts a best-guess at clipping
2641 text from components (like Java labels) which don't
2642 actually implement AccessibleText. This inaccurate
2643 clip is based on the assumption that the label is
2644 justified left-and-right, and monospaced.
2645 (text_chunk_get_clipped_string):
2646 We now call guess_string_clip() for text-containing
2647 components that don't implement AccessibleText.
2649 * test/screen-review-test.c:
2650 (review_buffer_get_text_chunk):
2651 We now pull "name" from labels if they do not implement
2652 AccessibleText (i.e. for Java labels).
2653 (get_screen_review_line_at):
2654 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2657 Replaceded AC_OUTPUT target
2658 registryd/Accessibility_Registry.server with
2659 registryd/Accessibility_Registry.server.in.
2661 * registryd/Accessibility_Registry.server.in:
2662 Removed (this is now a Makefile target).
2664 * registryd/Accessibility_Registry.server.in.in:
2665 Added (source for target above). We now use $(libexecdir) as
2666 prefix for the executable at-spi-registryd.
2668 * registry/Makefile.am:
2669 Now install at-spi-registryd into $(libexecdir), and build .server
2670 file with path (see above).
2672 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2674 * test/screen-review-test.c:
2675 (text_chunk_get_clipped_string):
2676 We now check to see if words fall within clip bounds
2677 before resorting to character-by-character clip bounds testing.
2679 * TODO: Added a section for "2.2 Proposed API Additions".
2681 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2683 * test/screen-review-test.c:
2685 Added a screen review benchmarking and test program to test
2688 * cspi/spi_accessible.c:
2690 Made some of the debug strings passed to cspi_check_ev a
2691 little more specific.
2693 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2695 * test/screen-review-test.c: Fix crashes in debug statements
2697 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2699 * test/screen-review-test.c: Added this file.
2701 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2703 * atk-bridge/bridge.c: changed "object:state-change" to
2704 "object:state-changed" to match docs.
2706 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2708 * atk-bridge/bridge.c: Hooked up state-change event details.
2710 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2712 * registryd/registry.c:
2713 Fixed quarking bug in event string parsing; now events with
2714 detail parameters get matched correctly to listeners.
2717 * util/idl/Magnifier.idl: remove.
2719 * util/*.[ch]: Remove.
2720 Magnification utilities and IDL are now in module gnome-mag.
2722 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2724 * registryd/deviceeventcontroller.c:
2725 Fixed bug in grab key conversion which was causing keycode grabs
2726 to be converted to AnyKey grabs.
2729 updated NEWS file to reflect recent spin-off of gnome-mag.
2731 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2733 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2734 busted AccessibleStateSet_compare. Removed redundant casts.
2736 * cspi/spi-action.c: Removed redundant casts.
2738 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2740 * cspi/spi_component.c: Fixed typos and casting error.
2742 * cspi/spi_editabletext.c: Removed redundant casts.
2744 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2746 * cspi/spi_hypertext.c: Eliminated redundant casts.
2748 * cspi/spi_image.c: Eliminated redundant casts.
2750 * cspi/spi_registry.c: Eliminated redundant casts.
2751 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2752 * cspi/spi_selection.c: Removed redundant casts.
2753 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2754 handling. Screen geometry and text offsets were being returned as 0
2755 on error which is technically valid-- changed these to return -1.
2756 Added marshaller for text boundary types to fix bug with boundary
2757 types being passed incorrectly to atk.
2759 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2762 * cspi/spi_registry.c:
2763 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2764 which was uncovered by the recent key changes.
2766 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2768 * test/event-listener-test.c:
2770 Added new test, "event-listener-test";
2771 this code does two things; it benchmarks traversal time
2772 for the accessible hierarchy for the first running accessible
2773 app, and it connects listeners for all supported event types.
2774 It is thus useful as an example event listener and for
2775 diagnostics/debugging of event generation.
2777 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2780 Removed unnecessary dependency on libutil.
2783 Revved micro version: 0.13.1
2785 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2788 Removed util/Makefile from targets.
2791 Removed util subdir from SUBDIRS (temporarily,
2792 pending removal of magnifier-only code
2796 #ifdef-ed out magnifier dependencies, since
2797 magnifier IDL, headers, and binary now live in
2798 module gnome-mag and we don't want at-spi to depend
2799 on gnome-mag. A magnifier demo which can run alongside
2800 simple-at is forthcoming in the gnome-mag module.
2802 NOTE: Split magnifier binary, IDL, and magnification
2803 activation code from at-spi into module gnome-mag.
2805 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2807 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2808 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2810 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2813 Revved to version 0.13.0
2815 * idl/Accessibility_Registry.idl:
2816 Changed definition of KeySet from sequence of longs to sequence of
2817 KeyDefinitions, and added KeyDefinition struct.
2818 Required for fix to bug 80616.
2820 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2821 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2822 to use new definition (see above).
2824 * registryd/deviceeventcontroller.c: handle_keygrab(),
2825 spi_keyset_contains_key():
2826 Changed to make use of new struct; this allows matching based on
2827 string key-name, for instance "Tab". This also allows matching of
2828 composed characters, non-alphanumeric characters in a way that
2829 doesn't involve dependencies on X keysym codes directly, etc.
2831 * test/key-listener-test.c:
2832 Added test for Alt-Tab key using "string" specification of keyset,
2833 and modified one of the tests to use a keycode-based keyset.
2834 Thus this test both tests and demonstrates the creation and use of
2835 keysets of three forms: specified via keycode array,
2836 keysym array, and string array. (The string case only contains a
2837 single string, i.e. a string array of length 1).
2840 Turned on PRINT_TREE option by default. Also fixed a
2841 string-freeing bug in the PRINT_TREE code.
2842 Added a listener to window:minimize events.
2844 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2846 * atk-bridge/bridge.c:
2847 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2848 for window:activate and window:deactiveate
2849 (atk_bridge_property_event_listener atk_bridge_signal_listener
2850 atk_bridge_window_event_listener) Tidy debug code
2852 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2854 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2855 Fixed handling for NULL return value from ATK.
2857 * libspi/action.c libspi/component.c libspi/editabletext.
2858 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2859 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2860 Removed redundant casts.
2862 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2863 Fixed off by one bug.
2865 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2866 function not present in idl)
2868 2002-05-02 jacob berkman <jacob@ximian.com>
2870 * atk-bridge/Makefile.am: make atk-bridge a real module
2872 2002-04-26 Radek Doulik <rodo@ximian.com>
2874 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2875 atk_state_types table
2877 2002-04-22 jacob berkman <jacob@ximian.com>
2880 * libspi/Makefile.am: add deps on the built files to help
2881 automake, and don't version the ORBit typelib
2883 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2885 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2886 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2887 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2888 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2889 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2890 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2891 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2892 libspi/accessible.h libspi/accessible.h libspi/base.h
2893 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2894 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2895 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2896 libspi/spi-private.h libspi/statetset.h libspi/table.h
2897 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2898 util/mag_client.h util/mag_control.c util/mag_image.c
2899 util/mag_image.h util/magnifier.c util/magnifier.h:
2900 Add missing file headers; standardize existing ones
2902 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2904 * atk-bridge/bridge.c: Added window event support.
2906 2002-04-18 Michael Meeks <michael@ximian.com>
2908 * libspi/relation.c (impl_getNTargets): impl.
2909 (impl_getTarget): impl.
2911 * libspi/Makefile.am: fix stateset install.
2913 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2916 Started putting useful info in this file.
2918 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2920 * atk-bridge/bridge.c:
2921 Propagate state-changed notifications to ATs
2923 * cspi/spi_registry.c: update docs to reflect actual behavior of
2924 state-change events.
2926 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2929 Incremented version to 0.12.1
2931 * util/mag_client.h:
2932 Add missing declaration for magnifier_exit,
2933 used by mag_control.c - Forte compiler didn't like
2934 the implicit redeclaration of the function :-(
2937 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2940 Revved version to 0.12 due to API change (see below).
2942 * cspi/spi-roletypes.h:
2943 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2944 definition from the inline docs, and added docs
2945 for SPI_ROLE_LAST_DEFINED.
2948 * cspi/spi_streamablecontent.c:
2949 Added missing seek_type parameter to
2950 (so far unused) method,
2951 AccessibleStreamableContent_seek().
2952 [ RT approval JodyG. ]
2955 Fixed docs for SPI_createAccessibleKeystrokeListener.
2957 * cspi/spi_registry.c:
2958 Fixed docs for SPI_KEYSET_ALL_KEYS.
2960 * docs/reference/cspi/at-spi-cspi-sections.txt:
2961 Added a number of missing APIs to SECTIONS.
2963 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2965 * registryd/Makefile.am:
2967 * cspi/bonobo/Makefile.am:
2968 Add $(X_LIBS) to makefiles.
2970 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2973 Revved version to 0.11.
2975 * libspi/component.c:
2976 Added implementation for grabFocus.
2978 * idl/Accessibility_Component.idl
2979 (Accessibility_Component_grabFocus):
2980 Made this method return boolean to indicate success or failure, to
2981 be consistent with cspi and the corresponding ATK method.
2983 * idl/Accessibility_Selection.idl
2984 (Accessibility_Selection_selectAll) :
2985 Made these methods return boolean to indicate success or
2986 failure, to be consistent with cspi and the corresponding ATK methods.
2988 * idl/Accessibility_EditableText.idl
2989 (Accessibility_EditableText_setTextContents,
2990 Accessibility_EditableText_insertText,
2991 Accessibility_EditableText_cutText,
2992 Accessibility_EditableText_deleteText,
2993 Accessibility_EditableText_pasteText):
2994 Made these methods return boolean to indicate
2997 * cspi/spi_editabletext.c:
2998 Made these methods return booleans.
3000 * libspi/selection.c:
3001 * libspi/component.c:
3002 * libspi/editabletext.c:
3003 Connected the boolean returns from ATK
3004 to the server-side code referenced above.
3006 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3008 * idl/Accessibility_Table.idl: Added missing methods,
3009 Accessibility_Table_addRowSelection,
3010 Accessibility_Table_addColumnSelection,
3011 Accessibility_Table_removeRowSelection,
3012 Accessibility_Table_removeColumnSelection.
3015 Added C wrappers for above IDL:
3016 AccessibleTable_addRowSelection,
3017 AccessibleTable_addColumnSelection,
3018 AccessibleTable_removeRowSelection,
3019 AccessibleTable_removeColumnSelection.
3022 Added server-side implementation code for IDL above, connecting
3023 to pre-existing ATK api.
3025 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3027 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3029 * libspi/accessible.c: Added implementation fo
3030 Accessibility_Accessible_get_state.
3032 * libspi/libspi.h: Added stateset.h to the list of includes.
3034 * libspi/stateset.c: Fixed broken implementation.
3036 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3039 Added implementation code for Accessibility_Magnifier_exit ().
3041 * util/mag_control.c:
3042 Added test code for above method; you can
3043 now kill an existing magnifier via
3044 ./mag_control q, from the util directory.
3046 * test/key-listener-test.c:
3048 Added a new test, for our key listener API.
3050 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3052 * test/app.c, test/keysynth-demo.c:
3054 Replace use of snprintf with g_snprintf.
3055 (fix for bugzilla 78249)
3057 2002-03-27 Michael Meeks <michael@ximian.com>
3061 * util/Makefile.am (INCLUDES): fix.
3062 (DONT_DIST_SOURCE): don't distribute the
3065 * libspi/Makefile.am (dist-hook): ditto.
3067 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3069 * libspi/hypertext.c:
3070 Fix warnings when yelp is used with atk-bridge
3072 2002-03-21 Michael Meeks <michael@ximian.com>
3074 * libspi/application.c (spi_application_new):
3075 use spi_accessible_construct so we use the AtkObject
3078 2002-03-19 Michael Meeks <michael@ximian.com>
3080 * registryd/registry.c (desktop_remove_application),
3081 (desktop_add_application): clean coding style.
3083 * registryd/desktop.c (spi_desktop_remove_application),
3084 (spi_desktop_add_application): kill re-enterency hazards.
3085 (spi_desktop_dispose): remove bogus redundant cast
3086 obscuring bug; fix bug too.
3087 (spi_desktop_init): make the desktop object immortal.
3089 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3092 Added a #define-guarded tree-traversal step
3093 when enumerating the apps (diagnostic tool).
3095 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3097 * idl/Accessibility_Role.idl:
3098 Added ROLE_DRAWING_AREA which seemed to be missing from the
3101 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3103 * cspi/spi-roletypes.h cspi/spi_accessible.c
3104 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3107 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3108 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3109 AT when applications are added and removed from the desktop. This
3110 reverts the previous broken implementation using the backing
3111 AtkObject for the SpiDesktop.
3113 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3115 * registryd/desktop.c: emit the "children-changed::add" and
3116 "children-changed::remove" signals on the backing ATK object for
3117 the desktop so AT can tell when applications are started and shut
3120 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3122 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3124 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3126 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3128 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3130 * cspi/state-types.h: synched with IDL and ATK
3132 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3134 * libspi/accessible.c
3135 (impl_accessibility_accessible_get_child_at_index):
3136 Change return value for g_return_if_fail ()
3137 to CORBA_OBJECT_NIL instead of "0" (!)
3139 * registryd/Makefile.am:
3140 * registryd/Accessibility_Register.server.in:
3141 Changed name of executable, "registryd",
3142 to something more informative:
3145 2002-03-13 Michael Meeks <michael@ximian.com>
3147 * atk-bridge/bridge.c (atk_bridge_init): don't register
3148 if we're in a bonobo-component, rather than a bonobo app.
3150 2002-03-13 Michael Meeks <michael@ximian.com>
3152 * atk-bridge/bridge.c (gtk_module_init): split
3153 out body to (atk_bridge_init): here, since otherwise
3154 we get symbol conflicts and oddness when invoked
3155 from (gnome_accessibility_module_init): here (upd.)
3157 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3160 New file. Explicitly allow "build sheriff" putbacks provided
3161 they are tested on Solaris.
3163 * docs/reference/cspi/Makefile.am:
3164 Added '-' to the "cp" command for index.sgml.
3165 ("patch by thomasvs, soon coming to a GUADEC near you")
3168 Incremented version number (0.9.0) for new release.
3169 Changed macro that checks for popt, to better detect
3170 obsolete versions of popt.
3173 Added X_LIBS to AC_SUBST, for applications
3174 that call Xlib API directly.
3177 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3180 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3183 Fix regression caused by hard-coding major
3184 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3187 * test/test-simple.c (test_editable_text),
3188 (test_test): revert previous change (error was
3189 a regression in gail which is now fixed).
3191 2002-03-04 Michael Meeks <michael@ximian.com>
3193 * test/test-simple.c (test_editable_text),
3194 (test_text): pass G_MAXINT instead of '-1' for
3195 whole string - is this a good thing !?
3197 * cspi/spi_accessible.c
3198 (Accessible_getRelationSet): fix crasher bug
3199 overwriting the end of the array.
3201 * test/test-simple.c (validate_accessible): free,
3202 not g_free returned relation set.
3204 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3206 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3207 implemented stateset support
3209 * idl/Accessibility_State.idl: Made necessary changes to
3210 the IDL to support state sets.
3212 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3214 * registryd/deviceeventcontroller.c:
3215 Added implementation for generateMouseEvent.
3217 * cspi/spi_registry.c:
3218 Connected new implementation for generateMouseEvent
3221 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3224 Incremented revision (but no change in public API
3225 outside of 'utils', which are not installed public yet.)
3227 * libspi/component.c:
3228 Changed to use atk_component API for layers and
3229 mdi_zorder, instead of deprecated atk_object API.
3231 Magnification Utility Enhancements:
3234 Added implementation of createZoomRegion, clearAllZoomRegions,
3235 resizeZoomRegion. Added new commandline argument
3236 "--no-initial-region". Note that clearAllZoomRegions doesn't
3237 unmap the old '0' region as it should (yet), and the other
3238 methods only work when creating/resizing a single region,
3239 which is "region 0".
3240 (Code for multiple region support will be added later.)
3243 Now we raise the magnifier window each time it's refreshed;
3244 this will help keep it on top.
3246 * util/mag_client.h:
3247 Added simple wrappers for above, used by mag_control.
3248 For general use, it's recommended to use the bonobo magnifier
3249 control API directly instead of using these wrappers.
3252 Moved ZoomRegionData from magnifier.c to this file.
3254 * util/mag_control.c:
3255 Added some code to exercise new IDL implementations.
3257 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3259 * libspi/text.c: Provide implementation for getAttributes.
3261 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3264 Incremented revision.
3266 * test/test-simple.c:
3267 Replaced use of deprecated g_main_iteration with
3268 g_main_context_iteration.
3270 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3273 Incremented revision for desktop alpha 2.
3275 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3277 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3280 * test/simple-at.c: include netinet/in.h.
3282 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3284 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3285 use NULL, not CORBA_OBJECT_NIL.
3287 * libspi/accessible.c:
3288 (impl_accessibility_accessible_get_relation_set):
3289 allocate the sequence correctly.
3291 * libspi/remoteobject.h: kill spi_remote_object_new.
3293 * test/test-simple.c: (validate_accessible): add code
3294 to test relation sets, now all we need is to figure
3295 out how to excercise this code path :/
3297 2002-01-18 Michael Meeks <michael@ximian.com>
3299 * test/test-simple.c
3300 (key_listener_cb): consume the key.
3301 (test_keylisteners): update.
3302 (main): wait for any pending unrefs on events.
3304 * registryd/deviceeventcontroller.c
3305 (spi_controller_update_key_grabs): only re-issue the
3306 grab on a key release.
3307 (spi_device_event_controller_forward_key_event):
3308 refresh the keygrabs before we notify the listeners,
3309 to reduce the X ungrab / re-grab race.
3310 (spi_controller_register_with_devices): remove
3311 XSelectInput - we do that with the gdk_window_ call.
3312 (_spi_controller_device_error_handler): return a value.
3313 s/GDK_DISPLAY/spi_get_display/
3315 2002-01-17 Michael Meeks <michael@ximian.com>
3317 * registryd/deviceeventcontroller.c
3318 (_deregister_keygrab): don't blow out the later
3321 * test/test-simple.c (test_keylisteners): do a
3322 more intelligent validation.
3324 2002-01-14 Michael Meeks <michael@ximian.com>
3326 * atk-bridge/bridge.c
3327 (gnome_accessibility_module_init),
3328 (gnome_accessibility_module_shutdown): impl.
3329 (gtk_module_init): protect vs. double inits.
3330 (add_signal_listener): impl.
3331 (spi_atk_bridge_state_event_listener): kill
3332 (deregister_application): split out of
3333 (spi_atk_bridge_exit_func): here.
3335 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3338 Added caret tracking when using magnifier, and
3339 now use text bounds for focus tracking of text elements, rather than
3340 the component bounds - this is helpful for short text fields in long
3341 table cells, at high magnification.
3343 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3345 * registryd/deviceeventcontroller.c:
3346 Regression fix for keylistener de-registration; global keygrabs
3347 were not being released when deregisterKeystrokeListener was
3348 called in cspi, since
3349 Accessibility_DeviceEventController_deregisterKeystrokeListener
3350 was called with a zero-length keyset. That is because the cspi
3351 method, SPI_deregisterKeystrokeListener, does not take a keyset
3352 parameter but instead should remove all the key grabs held be a
3354 The code in impl_deregister_keystroke_listener was changed to copy
3355 the keylist from the listener instance previously registered with
3356 the DeviceEventController before releasing the grabs.
3358 * registryd/registry.c:
3359 * registryd/deviceeventcontroller.c:
3360 * libspi/spi-private.h:
3362 Changed spelling of "re-enterant" to "re-entrant" globally.
3364 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3366 * test/test-simple.c:
3367 Changed key listeners test - the test was slightly mis-using the
3368 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3369 It now uses '=' as the key event listened to and generated,
3370 relying on a keysym match rather than assuming that keycode 33
3371 is always equal to keysym '!'.
3373 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3376 Changed simple-at to use a specific keyset, rather than
3377 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3378 manager, desktop, etc.
3380 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3382 * registryd/deviceeventcontroller.c:
3383 Replaced standard X error handler with a special handler that
3384 is non-fatal for failed keygrabs. This works around
3385 problems with keygrab clashes sometimes observed on
3387 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3388 mouse handling code as yet).
3390 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3393 Incremented revision for desktop alpha release.
3396 Fixed a couple of the more glaring errors (still not
3399 2002-01-11 Michael Meeks <michael@ximian.com>
3401 * registryd/deviceeventcontroller.c
3402 (spi_device_event_controller_forward_key_event): kill
3403 XUngrabKey / XKeyGrab race.
3404 (spi_controller_grab_keyboard): rename to
3405 (spi_controller_update_key_grabs): this, and deal
3406 with incremental adding / removing grabs more
3408 (_register_keygrab): ensure we're not pending a remove.
3409 (spi_grab_mask_free): impl.
3410 (spi_controller_register_global_keygrabs): split out
3412 (handle_keygrab): impl.
3413 (_deregister_keygrab): impl.
3414 (spi_controller_deregister_global_keygrabs): impl.
3415 (spi_controller_update_key_grabs): re-issue the grab if
3416 we just recieved a notification.
3418 * test/test-simple.c (key_listener_cb): remove debug.
3420 * registryd/deviceeventcontroller.c
3421 (spi_controller_register_device_listener): after
3422 registering a global keygrab, actualy register it !
3423 don't wait for a timeout; doh !
3425 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3426 to make it more readable / manipulable.
3427 s/grabmask/grab_mask/ s/refcount/ref_count/
3428 s/keyval/key_val/ s/modmask/mod_mask
3430 2002-01-08 Michael Meeks <michael@ximian.com>
3432 * registryd/deviceeventcontroller.c
3433 (spi_controller_register_with_devices): use gdk calls to
3435 (global_filter_fn): implement the filter.
3436 (spi_device_event_controller_check_key_event): rename to
3437 (spi_device_event_controller_forward_key_event): this & upd.
3438 (spi_get_display): replace with GDK_DISPLAY.
3440 * registryd/deviceeventcontroller.c
3441 (spi_controller_deregister_device_listener): unroll into
3442 (impl_deregister_keystroke_listener): here to simplify.
3443 (spi_controller_register_global_keygrabs): split cut and
3444 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3445 (spi_controller_deregister_device_listener): remove.
3446 (impl_register_mouse_listener): remove, no mouse listener
3447 support in at-spi-1.0
3449 * registryd/registry.c
3450 (_device_event_controller_hook): kill.
3451 (spi_registry_init): upd.
3453 * registryd/deviceeventcontroller.c
3454 (spi_device_event_controller_class_init): upd.
3455 (spi_check_key_event): merge into.
3456 (spi_device_event_controller_check_key_event):
3457 here and kill strange static ev init, don't leak
3458 the x_event - nor dynamicaly allocate it.
3460 * registryd/registry-main.c (main): re-direct
3461 timeout to remove strange vtable mess.
3463 * registryd/deviceeventcontroller.c
3464 (remove_listener_cb): impl.
3465 (spi_controller_deregister_device_listener):
3466 fix re-enterancy hazard.
3468 2002-01-07 Michael Meeks <michael@ximian.com>
3470 * registryd/deviceeventcontroller.c
3471 (spi_device_event_controller_new): upd.
3472 (impl_notify_listeners_sync): upd. debug.
3473 (spi_notify_keylisteners): fix re-enterancy hazards,
3474 prettify, remove O(n*n) iteration.
3475 (spi_controller_grab_keyboard): fix iteration.
3476 (spi_check_key_event): re-format to suit coding style.
3477 Clean all the warnings - we're warning free.
3479 * registryd/deviceeventcontroller.h:
3480 * registryd/registry.h: make mutualy referential with
3481 typesafe forward references instead of (!) void pointer
3484 2002-01-11 Michael Meeks <michael@ximian.com>
3486 * cspi/spi_accessible.c (role_names): add a role name
3487 to sync this array with the enum; and make the regression
3490 2002-01-10 Michael Meeks <michael@ximian.com>
3492 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3493 allow expansion of enumeration & kill warning.
3495 * test/test-simple.c (key_listener_cb): impl.
3496 (test_keylisteners): impl.
3498 * cspi/spi-listener.h: make listener signatures const
3499 on the provided (const) events.
3501 * test/keysynth-demo.c: upd. to const events.
3503 * test/simple-at.c: ditto.
3505 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3508 Rev the version to 0.5 (the previous tarball was named 0.4,
3509 even though the micro number was 3), so we need to rev upwards
3510 again for beta2/"desktop-alpha"
3513 Checked in a demo script, which requires editing before use!
3514 Proceed with caution.
3517 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3519 * cspi/spi_accessible.c:
3520 Add a couple of missing enum initializations, and fix some enum
3523 * cspi/spi_registry.c:
3524 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3526 * docs/reference/cspi/at-spi-cspi-sections.txt:
3527 Remove/fix a couple of broken document references.
3530 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3531 as Alt-Control to listen for commands, since on some systems
3532 Control-Alt may already be grabbed.
3534 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3537 Update version number to 0.4 for Beta2.
3539 * libspi/accessible.c, libspi/accessible.h:
3540 Expose spi_accessible_construct, to enable libgail-gnome
3541 construction from spi_accessible subtype.
3543 * utils/magnifier.c:
3544 Workaround for bug in some non-gnome-compliant window managers
3545 which made magnifier resize improperly.
3547 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3549 * libspi/accessible.c: (spi_accessible_new) :
3550 Move the test for SPI_IS_REMOTE_OBJECT to
3551 spi_accessible_new_return, fixing a bug and compile time warning.
3553 2002-01-08 Michael Meeks <michael@ximian.com>
3555 * registryd/registry.c (parse_event_type): remove strndup.
3557 * libspi/Makefile.am (libspi_la_SOURCES): remove
3558 sources already included in the headers section.
3560 * libspi/util.c: add.
3562 * libspi/spi-private.h: add.
3564 * registryd/registry.c: update to moved list iterators.
3566 2002-01-05 Michael Meeks <michael@ximian.com>
3568 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3570 * test/test-simple.c (main): ditto.
3572 2002-01-04 Michael Meeks <michael@ximian.com>
3574 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3575 redundant construct.
3577 * registryd/registry.c
3578 (get_listener_list): impl.
3579 (impl_accessibility_registry_register_global_event_listener):
3580 re-impl. to simplify using ~, remove dodgy const cast off.
3581 (parse_event_type): constify.
3582 (impl_accessibility_registry_deregister_global_event_listener_all):
3583 re-write, more efficiency and simplicity, kill re-enterancy
3585 (compare_listener_corbaref, compare_corba_objects),
3586 (compare_listener_quarks): define out.
3587 (impl_accessibility_registry_deregister_global_event_listener):
3588 re-write for effiency, and nail re-enterancy hazard.
3589 (impl_accessibility_registry_get_desktop_list): impl.
3590 (re_enterant_list_delete_link): impl.
3591 (re_enterant_list_foreach): impl.
3592 (remove_listener_cb): impl.
3593 (_registry_notify_listeners): kill.
3594 (notify_listeners_cb): impl.
3596 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3597 (SPI_getDesktopList): impl.
3599 * test/test-simple.c (test_desktop): test the methods.
3601 2002-01-03 Michael Meeks <michael@ximian.com>
3603 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3604 keystrings since we free them
3605 (SPI_freeAccessibleKeySet): in here.
3607 * libspi/accessible.c (spi_accessible_new): kill warning,
3608 wonder what is going on with the constructor here.
3610 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3612 * libspi/accessible.c (spi_accessible_new ()) :
3613 Added check to see if AtkObject is an SpiRemoteObject before
3614 creating an SpiAccessible.
3616 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3618 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3619 Enable keygrabs using the Control modifier, now that they are
3620 working properly (they were previously disabled).
3623 Change the command keygrab for this demo to "Control+Alt", so as
3624 to conflict with fewer other key commands on the system; this
3625 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3627 Removed a pointlessly-chatty keylistener for unshifted keys
3628 (shifted keys are still reported).
3630 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3632 * libspi/remoteobject.h:
3633 * libspi/remoteobject.c:
3634 Added definitions for special AtkObject subtype, required for
3635 support of remote components (specifically, used by BonoboControl
3636 accessibility implementation).
3638 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3640 * cspi/spi.h: synched relation types with ATK
3642 * cspi/spi_accessible.c: Added implementations of
3643 AcccessibleRelation_* methods
3645 * idl/Accessibility_Relation.idl: added getRelationTypeName
3646 method. Synched known relation types with ATK. Allowed for
3647 relation type extension with the RELATION_EXTENDED type.
3649 * libspi/relation.c: Provided implementations for
3650 AccessibleRelation methods.
3652 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3654 API tweaks for today's API 'freeze'.
3657 Added placeholder functions to allow future compatible expansion
3658 of the IDL interfaces.
3660 * idl/Accessibility_Registry.idl:
3661 Changed generateKeyEvent to generateKeyboardEvent. Changed
3662 signature of this method to accept an optional keystring in
3663 parameter (for complex text input synthesis) and changed use of
3664 simple 'boolean' parameter in registerKeystrokeListener to a
3665 struct, EventListenerMode.
3667 * cspi/spi_accessible.c:
3669 * cspi/spi_streamablecontent.c:
3670 Added references to AccessibleStreamableContent interface, and
3671 definition and implementation of AccessibleStreamableContent
3674 * cspi/spi_registry.c:
3676 Changed generateKeyEvent API to generateKeyboardEvent,
3677 taking a new (optional) keystring parameter to support complex
3682 Renamed directory (to better reflect its actual purpose, bridging
3683 from at-spi to ATK). The .so module is also now named
3686 * idl/Accessibility_Hypertext.idl:
3687 * libspi/accessible.c:
3688 * libspi/hypertext.h:
3689 * libspi/hypertext.c:
3690 Changed Accessibility_Hypertext to *not* derive from
3693 * cspi/spi_registry.c:
3694 Added list of legal event type names for 'window' events, which
3695 completes the registry event API.
3697 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3699 * at-bridge/bridge.c: Added registration for separate
3700 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3701 signals. If either of the first two parameters to the generic
3702 bridge signal handler are ints, they are passed on as event
3703 details. This allows an AT to determine what text was inserted.
3705 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3707 * registryd/deviceeventcontroller.c:
3708 Fixed regressions in generateKeyEvent caused by the removal of
3709 gdk_init from registryd; we now use pure X calls to connect to the
3710 display, which makes sense because deviceeventcontroller already
3711 uses a fair bit of X API (should eventually be migrated to a
3712 'portability layer').
3714 * registryd/desktop.c:
3715 Fixed minor regression in spi_desktop_init, changed the way the
3716 desktop name is being set to work with new spi_base API
3717 (gobject-based, rather than AtkObject-based).
3719 * registryd/Makefile.am:
3720 Minor revision of makefile to use XTST_LIBS variable rather than
3721 hard-wiring the Xtst LD_ADD element.
3723 * test/keysynth-demo.c:
3724 Tweaked an output message; added initialization of the
3725 'keystrings' member of the "switch listener" key_set.
3727 * libspi/relation.c:
3728 Squashed compile-time warning.
3730 * libspi/accessible.c:
3731 Cosmetic and formatting fixes, renamed a static method.
3733 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3735 * libspi/accessible.c
3737 * libspi/application.c
3740 * libspi/component.c
3741 * libspi/editabletext.c
3742 * libspi/hyperlink.c
3743 * libspi/hypertext.c
3745 * libspi/selection.c
3749 * registryd/desktop.c:
3750 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3752 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3754 * idl/Accessibility_Registry.idl:
3755 Added boolean member 'is_text' to DeviceEvent. This is for the
3756 use of key events, and helps prevent ambiguity between composed
3757 key strings and keysym names, since both may potentially be
3758 returned in the 'event_string' member.
3760 * at-bridge/bridge.c:
3761 * registryd/deviceeventcontroller.c:
3762 Use the 'is_text' member when notifying device event listeners.
3763 Knon issue: composed characters are not dealt with correctly by
3764 the global key listener implementation yet.
3766 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3768 * at-bridge/bridge.c:
3769 Namespaced local static methods to spi_atk_bridge_* where
3770 previously named bridge_*, and spi_* elsewhere.
3772 * at-bridge/bridge.c:
3773 * cspi/bonobo/cspi-bonobo-listener.c:
3774 Added demarshalling/conversion for string member of
3775 Accessibility_DeviceEvent to AccessibleKeystroke.
3777 * registryd/deviceeventcontroller.c:
3778 Added code to fill the Accessibility_DeviceEvent key string value
3779 member for global key events (i.e. from XGrabKey), to match
3780 behavior of Accessibility_DeviceEvent from the toolkit key events
3781 from the bridge. Fixed timestamp in global key event notifications.
3784 Added printout of key event's string value to
3785 report_ordinary_key_event, for demo/debugging purposes.
3787 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3789 * idl/Accessibility_Registry.idl:
3790 Removed Accessibility_KeyStroke structure in favor of generic
3791 Accessibility_DeviceEvent structure.
3792 Changed Accessibility_ControllerEventMask from a struct to an
3795 * at-bridge/bridge.c:
3796 Changed APIs to use DeviceEvent structure as above, and removed
3797 bogus casting between these event structures.
3799 * cspi/spi-listener.h:
3800 Added keystring member of AccessibleKeystroke structure, to enable
3801 matching on event "names" rather than only hardware codes and
3805 Added keystrings member of AccessibleKeySet struct, to allow
3806 matching on event names (as above).
3807 Added declarations for SPI_createAccessibleKeySet and
3808 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3809 event modmasks directly as unsigned ints rather than structs with
3810 refcounts, in the DeviceEventController methods.
3812 * cspi/spi_registry.c:
3813 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3815 * cspi/spi-roletypes.h:
3816 Added documentation of newly added SPI Roles.
3818 * cspi/bonobo/cspi-bonobo-listener.c:
3819 Changes in support of API changes above.
3821 * libspi/accessible.c:
3822 Converted APIs to use DeviceEvent structure (see IDL changes
3825 * registryd/deviceeventcontroller.c:
3826 Added DEControllerGrabMask structure to track keygrabs not only by
3827 modmask but by keyset as well; this allows us to do "global"
3828 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3829 grabbing on AnyKey and then filtering after-the-fact.
3830 Bugfixes for event filtration mean that we don't get false matches
3831 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3833 * registryd/deviceeventcontroller.c:
3834 Namespaced a number of static methods to use spi_ prefix. Major
3835 revision to internals of global (i.e. X) key grabs.
3837 * registryd/deviceeventcontroller.h:
3838 Removed keymask_list and added keygrabs_list to
3839 SpiDeviceEventController struct.
3842 Added use of SPI_createAccessibleKeySet API when creating a
3843 listener for only one key. Attach a listener to "shift spacebar
3844 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3845 X key event names to SPI key event names, so that listeners are
3846 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3848 * test/keysynth-demo.c:
3849 Changed (incorrect) use of X key event names (KeyPressed,
3850 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3853 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3855 * libspi/accessible.c:
3856 Convert all AtkRole enumerations to Accessibility_Role enums when
3857 getting a role from an AtkObject.
3859 * cspi/spi_accessible.c:
3860 Complete the conversion of Accessibility_Role enums at runtime to
3861 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3862 role enums correctly match those given in spi-roletypes.h.
3863 Re-synchronize the local names list for AccessibleRole_getName ().
3864 AccessibleRole_getName is now deprecated, since it duplicates the
3865 more reliable Accessible_getRoleName.
3866 Added some role types from Accessibility_Role.idl.
3868 * idl/Accessibility_Role.idl:
3869 Added some role types used by AtkRole.
3871 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3874 * cspi/spi_registry.c:
3876 * cspi/cspi-bonobo-listener.c:
3877 Namespaced all methods that did not begin with an "SPI_" or
3878 "Accessible" prefix to "SPI_".
3881 Homogenized internal function namespace to "cspi_" for statics.
3884 Patched tests to use the new CSPI API.
3886 * docs/reference/cspi/at-spi-cspi-sections.txt:
3887 Updated docs to reflect namespace changes, and added a number of
3888 methods to the documentation.
3890 * registryd/registry.c:
3891 Changed use of strings and string hashes in listener event
3892 matching and parse_event_string to use GQuark, which is guaranteed
3895 * registryd/registry.h:
3896 Squashed annoying warning.
3898 * idl/Accessibility_Role.idl:
3899 Extended range of available Accessibility_Role values.
3901 * cspi/spi_accessible.c:
3902 Re-ordered role names.
3904 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3906 * idl/Accessibility_Value.idl:
3907 Revert use of union back to CORBA_double, since the double type is
3908 more efficient and can contain the other types without loss of
3911 * idl/Accessibility_Accessible.idl:
3912 Added method Accessibility:Accessible:getRoleName, to complement
3913 Accessibility:Accessible:getRole.
3915 * cspi/spi_accessible.c:
3917 Added C binding for above, Accessible_getRoleName (), and changed
3918 signature of Accessible_getRole () to return an AccessibleRole.
3920 * cspi/spi-roletypes.h:
3921 Changed AccessibleRole_getName to return a char * instead of a
3922 const char *. This method is now at least temporarily deprecated
3923 in favor of asking Accessibles for their RoleNames directly.
3926 Revert to match Accessibility_Value.idl;
3930 Change signature of AccessibleValue methods to use double rather
3934 * cspi/spi_accessible.c:
3935 Changed Accessible_getRole to return an AccessibleRole enum rather
3936 than a UTF-8 string. The UTF-8 string can still be obtained via
3937 AccessibleRole_getName ().
3939 * test/test-simple.c:
3940 Add test_action. Small fixup to match API change to Accessible_getRole.
3943 Bugfix for get_action_from_servant ().
3945 2001-12-11 Michael Meeks <michael@ximian.com>
3947 * libspi/libspi.h: remove registry.h and
3948 desktop.h, deviceeventcontroller.h
3950 * libspi/Makefile.am: remove registry.[ch],
3951 desktop.[ch], deviceeventcontroller.[ch]
3953 * registryd/Makefile.am: add registry.[ch],
3954 desktop.[ch], rename registryd.c to registry-main.c.
3955 add deviceeventcontroller.[ch]
3957 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3960 Replace setenv() call with putenv ().
3962 * libspi/component.c:
3963 Bugfix in AccessibleComponent_getExtents (),
3966 2001-12-11 Michael Meeks <michael@ximian.com>
3968 * libspi/image.c (impl_getImageExtents): impl.
3969 (spi_image_class_init): upd.
3972 (AccessibleImage_getImageDescription): fix daft bug
3975 * test/test-simple.c (global_listener_cb): update
3976 to only quit if not --poke
3977 (main): catch --poke.
3978 (validate_accessible): upd. dumping, call test_image
3981 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3984 * idl/Accessibility.idl: update all IDL includes.
3986 * idl/*.idl - rename to namespace - this sucks, blame
3987 mjs' bad decision for oafd.
3989 * test/test-simple.c (create_test_window): add more tests.
3990 (create_tree): split this out.
3991 (validate_accessible): bugfix.
3993 2001-12-11 Michael Meeks <michael@ximian.com>
3995 * cspi/bonobo/cspi-bonobo-listener.c:
3996 (cspi_kestroke_listener_unref),
3997 (cspi_event_listener_unref): impl. undoing previous
3998 homenous environment - for Bill.
4000 * cspi/spi_table.c (long_seq_to_array): use
4003 * cspi/spi_main.c: split out all bonoboish bits into
4006 * cspi/spi-impl.h: upd. typedefs.
4008 * cspi/spi_registry.c: update to lowlevel API,
4009 return booleans to indicate success in some places.
4011 * cspi/spi_event.c: update to lowlevel API.
4013 * cspi/bonobo/Makefile.am: add.
4015 * cspi/bonobo/cspi-lowlevel.h: add
4017 * cspi/bonobo/cspi-bonobo.c: add
4019 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4021 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4022 (SUBDIRS): add bonobo, link in the libs.
4024 * cspi/spi-util.c: kill this file.
4026 * TODO: merge in my bits.
4028 2001-12-11 Michael Meeks <michael@ximian.com>
4030 * test/test-simple.c (test_value, test_table, main):
4031 remove unused variables causing warnings.
4033 * configure.in: cleanup checks - require gail.
4035 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4038 Changed Value interface to use SValue (scalars) rather than
4039 assuming all values are floats. This allows floats, doubles,
4040 longs, shorts, and unsigned values to be manipulated.
4041 Introduced Accessibility:SValue union.
4044 Updated to use new API above, and to work correctly with GValues
4045 of different types in AtkValue.
4048 Updated to use new API above. cspi's API is as yet unchanged.
4051 Updated the Value revision action item.
4053 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4055 * test/test-simple.c:
4056 Added test_table (GtkTreeView widget in test window to follow).
4057 Un-commented test_value, added GtkRange widget.
4058 Added GtkTreeView widget with GtkListStore. It passes regression
4059 test but leaks one SPI object for some reason.
4062 Fixed bug in impl__set_currentValue.
4064 2001-12-10 Michael Meeks <michael@ximian.com>
4066 * cspi/spi_text.c: audit for exception handling,
4067 tolerating NULL object references safely etc.
4069 * cspi/spi_value.c: ditto.
4071 * cspi/spi_table.c (AccessibleTable_getSummary),
4072 (AccessibleTable_getAccessibleAt),
4073 (AccessibleTable_getRowHeader),
4074 (AccessibleTable_getColumnHeader),
4075 (AccessibleTable_getCaption): fix bugs hidden by
4077 (long_seq_to_array): impl.
4078 (AccessibleTable_getSelectedRows),
4079 (AccessibleTable_getSelectedColumns): use it.
4081 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4084 Added a TODO list (rough and short for now).
4086 * cspi/spi_hyperlink.c:
4087 * cspi/spi_hypertext.c:
4088 Fixed macro name typos, and remove use of obsolete macro in
4089 AccessibleHyperlink_getLink.
4091 * cspi/spi_action.c:
4092 * cspi/spi_accessible.c:
4093 * cspi/spi_application.c:
4094 * cspi/spi_component.c:
4095 * cspi/spi_selection.c:
4098 Documentation fixes (removed return values from ref/unref methods).
4100 2001-12-10 Michael Meeks <michael@ximian.com>
4102 * cspi/spi_action.c: audit for exception handling,
4103 tolerating NULL object references safely etc.
4105 * cspi/spi_accessible.c: ditto.
4107 * cspi/spi_component.c: ditto.
4109 * cspi/spi_editabletext.c: ditto.
4111 * cspi/spi_hyperlink.c: ditto.
4113 * cspi/spi_hypertext.c: ditto.
4115 * cspi/spi_image.c: ditto.
4117 * cspi/spi_selection.c: ditto.
4119 2001-12-10 Michael Meeks <michael@ximian.com>
4121 * configure.in: use cspi/libspi.pc.in instead.
4123 * Makefile.am (pkgconfig_DATA): upd. to match.
4125 * test/simple-at.c (report_focus_event): kill hacks around
4126 bad return values, use putenv not setenv
4128 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4129 fire ChildGone - I killed it.
4131 * libspi/component.c
4132 (impl_accessibility_component_get_extents): remove
4135 * idl/Accessible.idl: kill ChildGone exception.
4137 * cspi/*.[ch]: kill int return from ref / unref.
4139 * cspi/spi_main.c (cspi_object_add_check): fold into
4140 (cspi_object_add): here.
4142 * cspi/spi_component.c (AccessibleComponent_getExtents):
4143 handle exceptions elegantly.
4145 * cspi/spi-private.h (cspi_check_ev_return),
4146 (cspi_return_if_fail): impl.
4148 * cspi/spi_accessible.c: use extensively.
4149 (AccessibleStateSet_equals): add direct compare check.
4151 * cspi/spi_selection.c: tolerate NULL objs, and check
4152 exceptions before return.
4154 * cspi/spi-util.c (cspi_warn_ev): rename to
4155 (cspi_check_ev): this & don't pass ev in; no point.
4157 2001-12-10 Michael Meeks <michael@ximian.com>
4159 * test/test-simple.c: use putenv not setenv
4160 (get_environment_vars): more chatty if you're not using
4163 * test/simple-at.c: do the setenv so more people see the
4166 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4168 * libspi/registry.c:
4169 Changed check of CORBA_environment on notification to be a warning
4170 instead of an error for the moment, since we can recover from this
4171 error when caused by a queued notification from a dead app.
4174 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4175 used by all current implementors of AtkValue), and coerce to
4176 CORBA_float. (Proper general case fix may require change to Value.idl).
4178 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4182 * cspi/spi_accessible.c:
4183 Documentation fixes: added user_data params to documentation for
4184 listeners and callbacks.
4186 * cspi/spi_accessible.c:
4187 Changed AccessibleStateSet_compare to return a
4188 StateSet rather than return the difference set into a third parameter.
4191 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4194 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4195 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4199 Remove subdirectory po from SUBDIRS for now.
4201 * at-bridge/bridge.c:
4202 Beefed up a couple of debug printouts.
4203 One-line fix for signal notification name formatting.
4205 * libspi/accessible.c:
4206 Added assertion to spi_accessible_new ().
4208 * libspi/application.c:
4209 Put #ifdef qualifiers around a printf.
4212 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4214 * registryd/Makefile.am:
4216 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4217 INTLTOOL_SERVER_RULE macro.
4220 Added an event listener for several ATK signals, for
4221 testing and debugging. Removed a few g_warnings.
4222 Added test output if focussed item implements the Value interface.
4224 * test/test-simple.c:
4225 Added test_value () function (known not to pass at the moment, so
4226 not actually called yet.
4228 2001-12-08 Michael Meeks <michael@ximian.com>
4230 * at-bridge/bridge.c (bridge_focus_tracker),
4231 (emit_eventv): fix the same ref. leak.
4232 (register_atk_event_listeners): don't leak.
4234 * cspi/spi-listener-impl.c (cspi_event): more
4235 protection from client code.
4237 * test/test-simple.c (test_desktop): unref the app.
4239 * test/Makefile.am: upd. TESTS.
4241 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4243 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4245 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4247 * cspi/spi_registry.c: constify in strings.
4248 (deregisterGlobalEventListenerAll): don't release the ref.
4250 * cspi/spi.h: start removing redundant / conflicting
4251 gtkdoc comments, making the API readable at a glance :-)
4253 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4255 * test/keysynth-demo.c (keysynth_exit, main): upd.
4257 * test/simple-at.c (main, simple_at_exit): upd.
4259 * test/test-simple.c (unutterable_horror): kill.
4260 (utterable_normal_derefs): kill.
4261 (main): upd & do a setenv before gtk_init, so that we
4262 can use memprof - and to save the pain of remembering
4263 this, if we're running under memprof - don't exit.
4265 * cspi/spi_main.c (SPI_exit): return exit status
4267 (SPI_event_quit): impl.
4268 (SPI_event_main): simplify.
4269 (cspi_is_gnome_app): kill.
4270 (SPI_init): kill isGNOMEapp arg.
4272 * at-bridge/bridge.c (register_atk_event_listeners):
4273 re-instate the unref.
4274 (bridge_exit_func): don't re-activate the registry,
4275 protect vs. theoretical re-entry, use the
4276 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4277 assert a clean shutdown - for regression tests.
4279 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4281 * configure.in: Comment out dummy i18n support for now,
4282 otherwise it fails to build.
4283 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4284 EXTRA_DIST. They are missing in tarball.
4286 2001-12-07 Michael Meeks <michael@ximian.com>
4288 * util/magnifier.c: kill bonobo activation reg. race.
4290 * libspi/component.c
4291 (impl_accessibility_component_get_extents): make it match
4294 * libspi/registry.c (_registry_notify_listeners):
4295 re-remove X headers & reconcile conflicts.
4296 (spi_listener_struct_free): bad conflict resolve.
4297 (impl_accessibility_registry_register_application):
4298 more bad merging fixed.
4299 (impl_accessibility_registry_deregister_application): ditto.
4300 (spi_registry_new): ditto.
4301 (spi_registry_init): don't have an applications field.
4303 [ merge fixups2 branch to here ]
4304 2001-12-07 Michael Meeks <michael@ximian.com>
4306 * test/simple-at.c (report_focus_event),
4307 (report_focussed_accessible): remove g_warning debug.
4309 2001-12-07 Michael Meeks <michael@ximian.com>
4311 * test/test-simple.c (validate_tree): comment out some checks.
4312 (test_desktop): app now not registered idly - horay.
4314 2001-12-07 Michael Meeks <michael@ximian.com>
4316 * cspi/spi_registry.c
4317 (registerAccessibleKeystrokeListener): clean, stop it leaking
4318 great swathes of memory, and device event controller references.
4319 ensure we always pass valid sequences.
4320 (deregisterAccessibleKeystrokeListener): ditto.
4321 (generateKeyEvent): upd.
4323 * at-bridge/bridge.c (bridge_key_listener): handle
4324 registry dead exception gracefully.
4325 (bridge_focus_tracker, emit_eventv): free ev.
4327 * test/simple-at.c (report_focus_event): fix polarity.
4329 * libspi/application.c (notify_listeners): kill the ev
4330 argument, and make sure we init the ev we use.
4331 (spi_application_object_event_listener): split out a chunk
4332 (get_atk_object_ref): here & fixup.
4333 (reverse_lookup_name_for_toolkit_event): make const.
4334 (spi_application_toolkit_event_listener): fixup, kill leaks
4337 * at-bridge/bridge.c (register_atk_event_listeners):
4338 don't unref the noop object - causes grief.
4340 * libspi/registry.c: remove the X headers.
4341 turn off the debug churn.
4343 * libspi/accessible.c (spi_accessible_new_return): only
4344 release the ref if we are supposed to [doh]
4346 * test/simple-at.c (report_button_press, report_focus_event):
4347 guard vs. unexpected exit.
4349 * at-bridge/bridge.c (gtk_module_init): prune printf.
4350 (bridge_exit_func): fix app unref.
4352 * libspi/Makefile.am: don't install registry or desktop.h
4354 * libspi/*.h: update includes.
4356 * libspi/application.h: don't include ourself, or
4357 other redundant headers.
4359 2001-12-06 Michael Meeks <michael@ximian.com>
4361 * libspi/accessible.c
4362 (get_accessible_from_servant): impl.
4363 Upd. all CORBA impl.s to use it killing cut and paste.
4365 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4367 (SPI_init): register atexit cleanup handler here.
4369 2001-12-06 Michael Meeks <michael@ximian.com>
4371 * at-bridge/bridge.c (gtk_module_init): g_error on
4372 activation exception
4374 2001-12-06 Michael Meeks <michael@ximian.com>
4376 * at-bridge/bridge.c (gtk_module_init): some sort of
4377 confusing merge clash - reverted.
4378 (bridge_idle_init): ditto.
4380 * test/test-simple.c (main, utterable_normal_derefs):
4381 merge from Bill - somehow not committed.
4383 2001-12-06 Michael Meeks <michael@ximian.com>
4385 * libspi/value.c (spi_value_class_init): upd.
4386 (spi_value_finalize): kill.
4388 * libspi/table.c (spi_table_finalize): kill.
4389 (spi_table_interface_new): upd.
4390 (spi_table_class_init): upd.
4391 (get_table_from_servant): impl.
4392 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4394 * libspi/selection.c (spi_selection_finalize): kill.
4395 (spi_selection_interface_new): upd.
4396 (spi_selection_class_init): upd.
4397 (get_selection_from_servant): impl.
4398 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4400 * libspi/relation.c (spi_relation_finalize): kill.
4401 (spi_relation_class_init, spi_relation_new): upd
4403 * libspi/image.c (spi_image_finalize): kill.
4404 (spi_image_class_init): upd.
4405 (spi_image_interface_new): upd.
4406 (get_image_from_servant): impl.
4407 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4409 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4410 (spi_hyperlink_finalize): kill.
4411 (spi_hyperlink_new): upd.
4412 (get_hyperlink_from_servant): impl.
4413 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4415 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4416 (spi_hypertext_finalize): kill.
4417 (spi_hypertext_class_init): upd.
4418 (get_hypertext_from_servant): impl.
4419 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4421 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4422 (spi_editable_text_interface_new): upd.
4423 (get_editable_text_from_servant): impl.
4424 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4426 * libspi/text.c (get_text_from_servant): impl.
4427 All impls - update to use it killing more cut and paste,
4428 also fix bad string returns on duff args ( a somewhat
4429 impossible case to handle - but hey ).
4430 (spi_text_construct): impl.
4431 (spi_text_interface_new): upd.
4432 (spi_text_object_finalize): kill.
4434 * libspi/component.c
4435 (accessibility_component_object_finalize): kill.
4436 (spi_component_class_init): upd.
4437 (get_component_from_servant): impl. helper to kill cut & paste.
4438 (impl_accessibility_component_contains):
4439 (impl_accessibility_component_get_accessible_at_point):
4440 (impl_accessibility_component_get_position):
4441 (impl_accessibility_component_get_extents):
4442 (impl_accessibility_component_get_mdi_z_order):
4443 (impl_accessibility_component_get_layer):
4444 (spi_component_interface_new): upd.
4446 * libspi/action.c (spi_action_finalize): kill.
4447 (spi_action_class_init): upd. inherit from SpiObject.
4448 (spi_action_interface_new): upd.
4449 (get_action_from_servant): impl. helper to reduce cut & paste.
4450 (impl_getKeyBinding, impl_getName, impl_doAction),
4451 (impl_getDescription): Use it everywhere.
4453 * cspi/spi_main.c (get_live_refs): a pointer hash.
4454 (spi_object_hash, spi_object_equal): comment out.
4455 There are issues with CORBA object hashing that need
4458 * libspi/application.c (spi_application_init),
4459 (spi_application_new): upd.
4461 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4462 (spi_accessible_class_init): upd.
4463 s/accessible/object/ in epv methods.
4465 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4467 * at-bridge/bridge.c:
4468 Reorder the bridge initialization into the bridge gtk_module_init,
4469 an immediate call to bridge_register_app, and an idle_add for
4470 register_atk_event_listeners (the only code that *must* wait until
4471 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4472 the activation, creates the application's Accessible object, and
4473 queues the bridge_idle_init function. Restored call to
4474 Accessibility_Registry_deregisterApplication().
4475 Prior to making this call we obtain a new reference to the
4476 registry, which is a temporary hack that helps us handle apps that
4477 shut down the bonobo mainloop before we get there.
4479 * libspi/registry.c:
4480 Fix string leakage in debug block, and don't segv if a an app
4481 dies before its event notifications have been propagated.
4484 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4485 as stopgap measure until we get proper exception handling when
4486 objects die during or before interrogation.
4490 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4491 Also changed default value of is_gnome_app to TRUE.
4494 * test/keysynth-demo.c:
4495 Changed use of SPI_init and SPI_event_main to reflect API change above.
4498 Made report_focus_event check the warning value from getName
4499 before reporting on focussed accessible; simplifies handling of
4500 notifications from dead objects.
4502 * test/test-simple.c: (Changes not in this patch since source is
4505 2001-12-05 Michael Meeks <michael@ximian.com>
4507 * registryd/registryd.c (main): protect against
4508 bonobo-activation startup race condition.
4510 * cspi/spi_main.c (cspi_object_add_check): cope
4511 with the exception elegantly.
4513 * idl/Accessible.idl: decl. ChildGone
4515 * libspi/desktop.c (spi_desktop_dispose): impl.
4516 (spi_desktop_class_init): upd.
4517 (spi_desktop_add_application),
4518 (spi_desktop_remove_application),
4519 (abnormal_application_termination): impl.
4520 (impl_desktop_get_child_at_index): re-impl.
4523 (impl_accessibility_registry_deregister_application),
4524 (impl_accessibility_registry_register_application):
4525 kill excessive debug clutter.
4527 * test/test-simple.c (test_misc): test some NULL
4528 tolerance. (main): upd.
4530 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4531 implements no interfaces - so let's not crash.
4533 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4535 * libspi/accessible.c (spi_accessible_new_return): impl.
4536 helper to calm the cut and paste, to cope with
4537 NULL AtkObjects effectively and efficiently, and to kill
4538 the referencing bugs.
4540 * libspi/table.c (impl_getAccessibleAt),
4541 (impl_getRowHeader, impl_getColumnHeader): upd.
4543 * libspi/hyperlink.c (impl_getObject): upd.
4545 * libspi/accessible.c
4546 (impl_accessibility_accessible_get_child_at_index): upd.
4548 * libspi/component.c
4549 (impl_accessibility_component_get_accessible_at_point): upd.
4551 * test/test-simple.c (test_editable_text, test_text): impl.
4554 * cspi/spi_editabletext.c
4555 (AccessibleEditableText_insertText): constify.
4557 * test/test-simple.c (focus_me): make more robust.
4559 * libspi/accessible.c: remove some printfs in methods that
4560 we test and work fine, so we can get a clean tree dump.
4562 * test/test-simple.c (validate_accessible),
4563 (validate_tree): make tree dumping pretty too.
4565 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4566 it builds without debug on.
4568 * test/test-simple.c (validate_accessible): fix the most
4571 * cspi/spi_main.c (spi_object_release): leave the nicely
4572 blanked memory around if in debug mode.
4574 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4576 [committed to fixups2]
4577 2001-12-05 Michael Meeks <michael@ximian.com>
4579 * libspi/editabletext.c
4580 (spi_editable_text_class_init): g_type_class_peek_parent,
4581 not interface peek - so we finalize cleanly.
4583 * libspi/accessible.c (spi_accessible_new): kill debug.
4585 * test/test-simple.c (validate_accessible): fix ref.
4586 leak, print strings before freeing them; sigh, comment a
4587 chunk out due to strangeness.
4588 (validate_tree): unref the child after use.
4590 * cspi/spi_component.c (AccessibleComponent_getLayer):
4591 add missing break statement, switch on zlayer not the
4592 uninitialized retval.
4594 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4595 before (possibly re-entering) remote unref.
4597 * test/simple-at.c (main): unref the desktop.
4599 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4602 * cspi/spi_main.c (cspi_accessible_is_a): here to
4603 isolate bonobo API usage more.
4605 * libspi/registry.c (impl_accessibility_registry_register_application):
4606 prune bogus comment.
4608 2001-12-04 Michael Meeks <michael@ximian.com>
4610 * test/test-simple.c (validate_tree): upd.
4611 IndexInParent check to make it more lucid.
4612 (validate_accessible): dump the tree.
4614 * libspi/accessible.c (de_register_public_ref),
4615 (get_public_refs): impl.
4616 (spi_accessible_new): make more efficient & intuitive.
4617 Now IndexInParent check works.
4619 2001-12-04 Michael Meeks <michael@ximian.com>
4621 * cspi/spi-util.h: remove.
4623 * cspi/spi.h: move SPI_freeString here
4625 * libspi/component.c (impl_accessibility_component_get_layer):
4627 (impl_accessibility_component_get_mdi_z_order): ditto,
4628 return -1 on error - is this ok ?
4630 * test/test-simple.c (test_application): impl.
4632 * cspi/spi_accessible.c (Accessible_getApplication),
4633 (Accessible_isApplication): impl.
4635 * libspi/registry.c (spi_listener_struct_free): release
4636 the CORBA reference too.
4638 * libspi/accessible.c
4639 (impl_accessibility_accessible_get_parent): fix ref leak.
4641 * libspi/registry.c (spi_registry_new): make the registry
4642 immortal - we don't want it to go away ever.
4644 * libspi/application.c
4645 (spi_accessible_application_finalize): impl. cleanup.
4647 * cspi/spi_registry.c
4648 (deregisterGlobalEventListenerAll),
4649 (deregisterGlobalEventListener),
4650 (deregisterAccessibleKeystrokeListener): fix ref leak.
4652 * cspi/spi_main.c (SPI_init): remove redundant ref.
4654 * test/test-simple.c (unutterable_horror): impl. to force a
4659 (impl_accessibility_registry_deregister_application): release
4660 the application when we de-register it.
4662 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4663 until we have the infastructure to get it right.
4665 2001-12-03 Michael Meeks <michael@ximian.com>
4667 * libspi/Makefile.am: only build eventlistener.[ch]
4669 * libspi/accessible.c
4670 (impl_accessibility_accessible_get_child_at_index): don't leak.
4672 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4673 before we hit the idle handler.
4675 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4676 debugging than exit.
4678 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4680 * libspi/listener.c (impl_notify_event): check source
4681 not NIL before unref.
4683 * libspi/registry.c (impl_registry_notify_event): ditto.
4685 * libspi/eventlistener.c
4686 (impl_accessible_event_notify_event): unref the source.
4688 * libspi/accessibleeventlistener.c
4689 (impl_accessible_event_notify_event): unref the source.
4691 * idl/Event.idl: remove 'hash_id' attribute - of no
4694 * libspi/application.c (notify_listeners): upd list
4696 (spi_application_object_event_listener),
4697 (spi_application_toolkit_event_listener): upd to do correct
4701 (_registry_notify_listeners): update.
4702 (parse_event_type): this method also leaks like a sieve.
4703 (impl_accessibility_registry_deregister_global_event_listener):
4704 fix ETYPE_WINDOW case.
4706 * libspi/application.c
4707 (impl_accessibility_application_register_object_event_listener):
4710 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4712 * libspi/hypertext.c (impl_getLink): ditto.
4714 * cspi/spi_main.c (cspi_object_add): remove
4715 bogus CORBA_Object_duplicate.
4717 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4720 * cspi/spi_accessible.c
4721 (Accessible_getRelationSet): fix leak / referencing issue.
4723 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4724 (cspi_object_add, cspi_object_unref): upd.
4725 (spi_object_release, get_live_refs): impl.
4726 (cspi_cleanup): simplify.
4728 * *.[ch]: s/boolean/SpiBoolean/
4730 * cspi/spi_accessible.c (role_names): actualy order so it
4731 corresponds with the enum !
4733 * test/test-simple.c (test_roles): check some role strings
4734 vs. enums to detect offset errors.
4736 2001-12-01 Michael Meeks <michael@ximian.com>
4738 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4740 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4742 (Accessible_getChildAtIndex): use cspi_add_check so we
4743 check the ev before using a (possibly) invalid value.
4745 * libspi/accessible.c
4746 (impl_accessibility_accessible_get_parent): don't segv
4749 * at-bridge/bridge.c (gtk_module_init): upd.
4750 (bridge_property_event_listener): don't leak strings
4752 (bridge_state_event_listener),
4753 (bridge_property_event_listener): don't use a static
4754 buffer in case of recursive event emission &
4755 re-enterancy - split out the swathe of cut and paste
4757 (emit_eventv): and fix 2 ref leaks here & comply to the
4759 (bridge_register_app): rename to
4760 (bridge_idle_init): this and kill arg parsing, split
4761 various inits & bonobo-activation registration to module
4762 init time, kill referencing error.
4763 (bridge_exit_func): fix the same leak.
4764 (bridge_focus_tracker): don't leak event structures
4766 (bridge_signal_listener): more leakage and cut & paste
4768 (bridge_key_listener): return the result - FIXME is
4769 this polarity correct ?
4770 (accessibility_keystroke_from_atk_key_event): rename
4771 (accessibility_init_keystroke_from_atk_key_event): and stop
4773 (gtk_module_init): return a value - not that it is checked by
4775 (bridge_key_listener): register my horror at casting between
4776 IDL defined structs.
4777 (bridge_get_registry): kill - not used.
4779 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4781 * test/test-simple.c (test_roles): impl.
4782 (test_desktop, validate_accessible, validate_tree): impl.
4784 * cspi/spi_accessible.c (role_names): fixup bogus
4785 MAX_ROLES setup, make constants const for efficient linkage
4786 (AccessibleRole_getName): conform to coding style, make
4789 2001-11-30 Michael Meeks <michael@ximian.com>
4791 * cspi/spi.h: add missing prototype.
4793 * libspi/registry.c (spi_listener_struct_new): fix sig.
4795 * test/Makefile.am: add test-simple
4797 * test/test-simple.c: add
4799 * test/test.sh: add.
4801 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4803 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4804 do it straight - since otherwise we often get an activation race.
4806 [ work before Bill duplicated a chunk of it ... ]
4807 2001-11-30 Michael Meeks <michael@ximian.com>
4809 * libspi/keystrokelistener.c
4810 (spi_keystroke_listener_class_init): fixup arg
4813 * libspi/eventlistener.c
4814 (spi_event_listener_class_init): ditto.
4816 * tests/test.sh: add.
4818 * cspi/spi-listener-impl.h: update macros.
4820 * cspi/spi-listener-impl.c
4821 (cspi_event_listener_remove_callback): add
4822 correct pre-conditions.
4824 * cspi/spi_main.c (SPI_exit): guard vs. double
4825 exits, exit the mainloop nicely.
4826 (SPI_event_main): make more sense.
4827 (SPI_init): move the atexit evilness here so we
4828 always do it (yuck).
4829 (SPI_event_main): upd.
4831 * test/simple-at.c: update for listener changes.
4833 * registryd/registryd.c (main): prune kruft.
4835 * libspi/libspi.h: upd.
4837 * libspi/eventlistener.[ch]: rename broken macros.
4839 * libspi/accessibleeventlistener.[ch]: remove.
4841 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4843 * test/test-simple.c: Add - automated tests.
4845 * cspi/spi-listener-impl.c (cspi_event),
4846 (cspi_key_event): add user_data to invoke.
4847 (cspi_keystroke_listener_finalize): impl.
4848 (cspi_keystroke_listener_class_init): upd.
4851 (createAccessibleEventListener),
4852 (AccessibleEventListener_addCallback),
4853 (createAccessibleKeystrokeListener),
4854 (AccessibleKeystrokeListener_addCallback): upd.
4856 * libspi/deviceeventcontroller.c
4857 (spi_device_event_controller_check_key_event): add public proto.
4860 (impl_accessibility_registry_deregister_global_event_listener):
4861 always init listeners.
4862 (_registry_notify_listeners): yes it is.
4864 * cspi/spi-listener-impl.c (cspi_key_event):
4866 (cspi_event_listener_finalize): impl.
4867 (cspi_event_listener_class_init): hook up.
4868 (event_handler_new, event_handler_free),
4869 (event_list_remove_by_callback): impl.
4870 (cspi_event_listener_remove_callback),
4871 (cspi_keystroke_listener_remove_callback),
4872 (cspi_keystroke_listener_add_callback),
4873 (cspi_event_listener_add_callback): upd.
4875 * libspi/keystrokelistener.c
4876 (keystroke_listener_object_finalize): kill
4877 (spi_keystroke_listener_class_init): upd.
4878 (spi_keystroke_listener_add_callback),
4879 (spi_keystroke_listener_remove_callback): kill,
4881 (impl_key_event): prune drasticaly.
4883 * libspi/eventlistener.c
4884 (spi_event_listener_add_callback),
4885 (spi_event_listener_remove_callback): kill, use
4887 (impl_accessible_event_notify_event): upd.
4888 (spi_event_listener_object_finalize): remove.
4890 * libspi/Makefile.am: use eventlistener.[ch]
4892 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4894 * libspi/registry.c (_registry_notify_listeners):
4895 Changed listener loop iteration to use preferred convention.
4896 Got rid of string memory leaks caused be calling g_strconcat
4897 inside function calls.
4899 * libspi/registry.c (parse_event_type):
4900 Stopped g_strconcat memory leaks, free the g_strsplit return,
4901 g_strdup the split pieces when used, etc.
4903 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4906 Change method 'compare' to return a 'difference set' rather than
4907 taking a StateSet as an out parameter (more Java-friendly).
4909 * idl/Accessible.idl:
4910 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4912 * idl/Component.idl:
4914 Changed methods 'getExtents' and 'getImageExtents' in these
4915 interfaces to return a BoundingBox structure.
4916 (getPosition and getSize are redundant and possibly should be
4917 removed, rather than creating a corresponding Point struct.)
4919 * cspi/spi_component.c:
4920 Modify implementation of getExtents to reflect the above IDL
4925 Add (missing) AccessibleImage_getExtents () API.
4927 * docs/reference/cspi/at-spi-cspi-sections.txt:
4928 Added AccessibleImage_getImageExtents () to docs.
4930 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4932 * idl/Component.idl:
4933 Added two methods, getLayer () and getMDIZOrder (), to reflect
4934 the new ATK methods atk_object_get_layer and
4935 atk_object_get_mdi_z_order. (Which arguably should be part of the
4936 AtkComponent API and AtkObject). Also added an enum,
4937 ComponentLayer, for the first method's return value.
4939 * libspi/component.c:
4940 Added implementations for these methods.
4942 * cspi/spi_component.c:
4944 Added cspi binding methods for above,
4945 AccessibleComponent_getLayer() and
4946 AccessibleComponent_getMDIZOrder().
4947 Added cspi enum 'AccessibleComponentLayer'.
4949 * docs/reference/cspi/at-spi-cspi-sections.txt:
4950 Added above methods to docs.
4954 Changed typedef for 'boolean' type (and all references to it) to
4955 SPIBoolean, to avoid keyword clashes with C++.
4958 Changed usages of 'boolean' to SPIBoolean.
4960 * test/keysynth-demo.c:
4961 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4962 app), except where SPIBoolean is required by the callbacks API.
4964 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4966 * cspi/spi_registry.c:
4967 Removed obsolete X event loop for passive keygrabs (which now
4970 * registryd/registryd.c:
4971 Removed unnecessary call to gdk_init() [cruft]. This also allows
4972 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4975 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4977 * docs/reference/cspi:
4978 Included docs for SPI_freeString in generated documentation.
4981 Renamed spi_freeString to SPI_freeString, for consistency. Added
4982 documentation for this function.
4985 Renamed spi_freeString to SPI_freeString, for consistency.
4986 Removed obsolete method declaration string_from_corba_string.
4988 * test/keysynth-demo.c:
4989 Small tweak to comments.
4992 Stopped leaking the strings returned from CSPI.
4994 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4996 Merged Michael's branch (see his ChangeLog entries below).
4998 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4999 bridge is alive, release on exit.
5001 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5002 Fix type check macro.
5005 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5008 Added is_gnome_app static, and method cspi_is_gnome_app(),
5009 so we can call the appropriate shutdown routine at exit in SPI_exit.
5011 * cspi/spi_main.c (cspi_object_ref):
5012 Duplicate the corba object passed in, since we're keeping it around.
5014 * cspi/SPI_exit.c, cspi_cleanup:
5015 Moved the releasing of the live refs to its own function, so we
5016 can put it in g_atexit (). Call the appropriate shutdown API
5017 depending on whethe calling client is a gnome app or not
5018 (bonobo_main_quit or CORBA_ORB_shutdown).
5020 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5021 Unref the listener when this method is called, after
5022 deregistration. Updated the API docs to note this behavior.
5024 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5025 Bugfixes: Ref the bonobo object when returning a parent or child
5026 reference, or an AccessibleRelation. Generally made sure
5027 BonoboObject refcount is incremented whenever we return an
5030 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5031 Fixed typo/bug in signal declaration.
5033 * libspi/accessibleeventlistener.h:
5036 * libspi/application.c (spi_application_new):
5037 Fixed leak in initialization.
5040 Remembered to increment bonobo-object refcount when returning
5041 children (applications) from desktop object.
5042 Added (empty) finalize method.
5044 * libspi/deviceeventcontroller.c:
5045 Hold a ref to listeners inside DEControllerKeyListeners.
5046 Added dec_key_listener_free() method. Use prepend instead of
5047 append in key_listener list. Fixed some refcount madness and
5048 leaks in the listener registration/deregistration - deregistration
5049 now calls dec_key_listener_free() on listeners, and on the
5050 temporarily constructed dec_key_listener() used to perform the search/match.
5052 * libspi/hypertext.c (spi_hypertest_finalize):
5053 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5054 class. Also fixed spi_hypertext_interface_new() and
5055 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5057 * libspi/hypertext.h:
5058 Removed pointless and duplicate AtkObject pointer from
5061 * libspi/keystrokelistener.c:
5062 Fixed incorrect type of keystroke_listener_parent_class,
5063 renamed keystroke_listener_object_finalize to
5064 spi_keystroke_listener_object_finalize.
5065 Fixed typo in signal declaration
5066 (spi_keystroke_listener_class_init).
5068 * libspi/registry.c:
5069 Added funcsions spi_listener_struct_new() and
5070 spi_listener_struct_free() to help with memory management issues.
5071 We also now use these methods instead of gnew + poking stuff into
5072 the struct, and to decrement listener counts/free the listeners
5073 when deregistering them.
5074 Fix more refcount bugs in getDesktop() and
5075 getDeviceEventController().
5078 De-ref the desktop after enumerating the applications. Explicitly
5079 decrement the refcounts on the created listeners on exit (using
5080 _unref for keystroke listeners, and via the
5081 deregisterGlobalEventListenerAll command for other event
5084 2001-11-27 Michael Meeks <michael@ximian.com>
5086 * cspi/spi-listener.h: fixup enum.
5088 2001-11-27 Michael Meeks <michael@ximian.com>
5090 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5091 (cspi_keystroke_listener_new): Use the cspi variants.
5093 2001-11-26 Michael Meeks <michael@ximian.com>
5095 * test/keysynth-demo.c: fix 2 compile warnings, missing
5098 * test/simple-at.c (report_focussed_accessible),
5099 (report_focus_event, report_button_press),
5100 (check_property_change, is_command_key),
5101 (report_ordinary_key_event, report_command_key_event): upd.
5103 * util/mag_client.h: include pre-requisites.
5105 * libspi/accessibleeventlistener.c
5106 (spi_event_listener_object_finalize): free any lingering
5109 * libspi/keystrokelistener.c
5110 (keystroke_listener_object_finalize): ditto.
5112 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5113 callbacks, with cspi types.
5115 * cspi/spi_event.c (createAccessibleEventListener): chain to
5116 (AccessibleEventListener_addCallback): here.
5117 (createAccessibleKeystrokeListener): chain to
5118 (AccessibleKeystrokeListener_addCallback): here.
5120 * libspi/keystrokelistener.c
5121 (spi_keystroke_listener_class_init): add signal.
5122 (impl_key_event): emit the event.
5123 (boolean_handled_accumulator): impl.
5124 (marshal_BOOLEAN__POINTER): add, gack.
5126 * libspi/accessibleeventlistener.c
5127 (spi_event_listener_class_init): add signal.
5128 (impl_accessible_event_notify_event): emit the signal &
5129 make the loop efficient.
5130 (spi_event_listener_add_callback): prepend the callback.
5132 * libspi/accessibleeventlistener.h: add an 'event' signal,
5133 decl type on callback.
5135 * libspi/keystrokelistener.h: ditto.
5137 * cspi/spi-listener.h: make methods typesafe and
5138 make them use the new event typedefs.
5140 * test/simple-at.c (report_focussed_accessible):
5141 include mag_client.h
5142 Use *(void *)text_interface not the other thing.
5144 * configure.in: add gtk to registryd bits - since we use
5147 * util/magnifier.c: include libbonobo.h
5149 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5151 * test/keysynth-demo.c:
5152 Turned this into a simple scanning keyboard, to demonstrate the
5153 use of g_timeout_add () as a means of creating timers for
5154 scanning, and the use of GtkStyle for visually indicating when
5155 virtual keyboard elements are selected.
5157 keysynth-demo now listens to any keyboard keys with zero-valued
5158 keycodes (i.e. 'unused' keys) and interprets them as
5161 Reworked the shiftlatch code so that shift-down state isn't held
5162 for long periods (it's only synthesized immediately prior to
5163 the keysynth event it's modifying). Note that shiftlatch in this
5164 demo is a convenience, not intended to take the place of AccessX
5165 which is the better choice for getting 'sticky' modifier keys.
5167 * libspi/deviceeventcontroller.c:
5168 * at-bridge/bridge.c:
5169 * cspi/spi_registry.c:
5170 Removed some debug print stuff, and put other verbosity in #ifdef
5175 Implemented some more of the magnifier IDL for the simple
5176 magnifier: namely, getZoomRegionParams.
5177 Added mag_x and mag_y members to MagnifierData struct, aid of this
5179 Added GtkWindow::realize signal handler to magnifier, to keep it
5180 from receiving keyboard focus from the WM.
5182 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5184 * cspi/spi-private.h: my guess at what michael forgot
5185 before he ran off to NZ :-)
5187 2001-11-23 Michael Meeks <michael@ximian.com>
5189 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5190 comment out non existant method invoke so we link.
5192 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5193 use bonobo_exception_get_text for more friendly warnings.
5195 * cspi/spi.c (Obj_Add): move into spi_main & rename
5196 spi_object_add; kill spi.c
5198 * cspi/spi_registry.c
5199 (deregisterGlobalEventListener),
5200 (deregisterGlobalEventListenerAll),
5201 (registerGlobalEventListener): fix exception leaks.
5203 * cspi/spi_main.c (spi_exception): impl. helper, so we
5204 don't leak exceptions.
5206 * cspi/spi_selection.c
5207 (AccessibleSelection_deselectSelectedChild): return the
5210 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5211 (spi_registry): ditto.
5212 (SPI_init): guard against double inits.
5214 * cspi/*.c: use spi_ev (), and spi_registry () where
5215 appropriate - a temporary hack until we have something
5216 better. Use spi_object_add
5218 2001-11-22 Michael Meeks <michael@ximian.com>
5220 * cspi/Makefile.am: re organise, install the headers.
5222 * cspi/*.h: add G_BEGIN/END_DECLS
5224 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5227 Added non-preemptive keylistener for key events with no modifiers
5228 and shift-only modifier.
5230 * libspi/keystrokelistener.c:
5231 Removed some verbose diagnostics printout.
5233 * cspi/spi_registry.c:
5234 Fixed a bug that caused all key listeners to be registered as
5237 * libspi/deviceeventcontroller.c:
5238 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5239 for non-preemptive key masks.
5242 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5244 * docs/reference/idl/at-spi-idl-docs.sgml:
5245 * docs/reference/idl/at-spi-idl-sections.txt:
5246 * docs/reference/idl/at-spi-idl-overrides.txt:
5247 Added missing files.
5249 * docs/reference/Makefile.am:
5250 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5251 to scan the IDL files :-(
5256 Added .cvsignore files.
5258 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5260 * libspi/deviceeventcontroller.c:
5261 * libspi/keystrokelistener.c:
5263 * cspi/spi_registry.c:
5264 Added filters for KeySets, KeyEventSeq, and event types to key
5265 event dispatching, so listeners should only receive those events
5266 that they requested :-)
5268 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5273 * docs/reference:Makefile.am:
5274 * docs/reference/cspi:
5275 * docs/reference/cspi:Makefile.am:
5276 * docs/reference/cspi:tmpl:
5277 * docs/reference/cspi:tmpl:*.sgml:
5278 * docs/reference/idl:
5279 * docs/reference/idl:Makefile.am:
5280 * docs/reference/idl:at-spi-idl-sections.txt:
5281 * docs/reference/idl:at-spi-idl-docs.sgml:
5282 * docs/reference/idl:tmpl:
5283 * docs/reference/idl:tmpl:*.sgml:
5285 Restructured docs directory to allow separate 'reference' docs
5286 section, and forked idl and cspi docs. Added the sgml template
5287 files to CVS. Added the first sections/structural sgml for the
5290 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5292 * configure.in, libspi/Makefile.am: find libXtst.
5294 2001-11-21 Michael Meeks <michael@ximian.com>
5296 * test/accessx-gui.c: s/spi_value/value/ - doh.
5298 * libspi/base.[ch]: add.
5300 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5302 * idl/Accessible.idl:
5303 * idl/Application.idl:
5306 Started gtk-doc cleanup on IDL.
5308 * libspi/deviceeventcontroller.c:
5309 Added and connected non-preemptive key notification from the
5310 toolkits (in addition to the pre-emptive support from XServer
5311 which we had before, but which causes 'focus flashing'). Filters
5312 are presently limited to key modifiers and global/non-global,
5313 KeySets are presently ignored, as are KeyEvent masks.
5315 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5316 structs into the persistant structure rather than just storing
5317 pointers to things that might not persist across servant
5320 The XGrabKey call now does async keygrabs, because synchronous
5321 ones were deadlocking with GDK_event code in a very nasty way.
5323 Added boolean to internal method notify_keylisteners, to indicate
5324 whether the event came from the 'toolkit source' or the 'global
5325 (XServer) source' - this is used in the notification process to
5326 determine which listeners to send the event to.
5328 deviceeventcontroller.c is now warning-free.
5330 * libspi/registry.c:
5331 Fixed regression in application de-registration.
5332 Also fixed some really brain-dead weirdness having to do with
5333 event dispatching - event structs are now duplicated before being
5334 re-marshalled in the dispatch to listeners. This also fixes a
5335 Solaris build problem.
5338 2001-11-20 Michael Meeks <michael@ximian.com>
5341 (impl_accessibility_registry_deregister_global_event_listener):
5344 * libspi/deviceeventcontroller.c
5345 (spi_device_event_controller_check_key_event): return
5346 FALSE on no virtual method.
5348 * libspi/*..h: make includes work on a correctly pathed install.
5350 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5352 * libspi/application.h: kill unused ( and whacked out )
5353 gboolean *spi_application_set_id (AtkObject *app, long id);
5355 2001-11-20 Michael Meeks <michael@ximian.com>
5357 * libspi/*.[ch]: further convert to bonobo's type func
5358 macros, remove redundnant casts etc.
5360 * libspi/text.c s/accessibility_text/spi_text/g,
5361 re-order to de-cruft.
5363 * libspi/hypertext.c: re-order to kill a huge slew
5364 of redundant forward decls.
5366 * libspi/relation.c: ditto.
5368 * libspi/image.c: ditto.
5370 * */.cvsignore: update
5372 2001-11-20 Michael Meeks <michael@ximian.com>
5374 * libspi/deviceeventcontroller.c
5375 (_controller_register_with_devices): use g_getenv,
5376 kill stdlib.h include.
5378 * libspi/keystrokelistener.c
5379 (spi_keystroke_listener_get_type): kill
5380 (spi_keystroke_listener_class_init),
5381 (spi_keystroke_listener_init): rename to this.
5383 * libspi/text.c (impl_getAttributes): fix warning / bug.
5385 * libspi/*.[ch]: more headers, includes and over commenting.
5387 2001-11-20 Michael Meeks <michael@ximian.com>
5389 * libspi/*.[ch]: fixup headers, includes and over commenting.
5391 * libspi/image.c (impl__get_imageDescription): const
5392 correctness warning fix. remove redundant casting.
5394 * libspi/table.c (impl_getRowDescription): ditto.
5395 (impl_getColumnDescription): ditto.
5397 * libspi/libspi.h: add.
5399 2001-11-19 Michael Meeks <michael@ximian.com>
5401 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5403 * libspi/component.c (accessibility_component_get_type):
5404 rename to (spi_component_get_type): and macroify.
5405 (accessibility_component_init): rename to
5406 (spi_component_init): this
5407 (accessibility_component_class_init): rename to
5408 (spi_component_class_init): this
5410 * libspi/action.c (spi_action_get_type): kill, use the macro.
5412 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5415 * libspi/application.c (spi_application_object_event_listener),
5416 (impl_accessibility_application_register_object_event_listener):
5417 warning fixes / const understanding updates.
5419 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5422 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5424 * libspi/spi_accessible.c: Added docs and C bindings for
5425 AccessibleStateSet. (No implementations yet). Documentation
5426 coverage for C bindings now 100%. Made docs for event listeners
5431 boolean notifyListenersSync (in DeviceEventListener listener,
5432 in DeviceEvent event);
5434 oneway void notifyListenersAsync (in DeviceEventListener listener,
5435 in DeviceEvent event);
5437 Added DeviceEventListener and DeviceEvent structs (may deprecate
5438 KeyStroke and KeystrokeListener in favor of this generic
5439 event/listener framework for devices).
5441 * libspi/deviceeventcontroller.c:
5443 Changed some key listener code to take masks, etc., and paved the
5444 way for integration of toolkit/non-preemptive key events. Changed
5445 signatures of some internal methods.
5447 * at-bridge/bridge.c:
5448 Fixed regression connecting to interface signals, apparently
5449 caused by GTK+ changes.
5451 Added an internal bridge_state_listener to deal with
5452 property-change:accessible-state signals.
5454 Changed the key_listeners GList to store structs (including masks,
5455 etc.) instead of just CORBA_Objects (required for full
5456 implementation of key listener API).
5458 Connected the bridge to all currently supported Atk signals.
5459 Events now supported:
5460 object:property-change
5461 object:property-change:accessible-name
5462 object:property-change:accessible-state
5463 object:property-change:accessible-description
5464 object:property-change:accessible-parent
5465 object:property-change:accessible-value
5466 object:property-change:accessible-role
5467 object:property-change:accessible-table-caption
5468 object:property-change:accessible-table-column-description
5469 object:property-change:accessible-table-column-header
5470 object:property-change:accessible-table-row-description
5471 object:property-change:accessible-table-row-header
5472 object:property-change:accessible-table-summary
5473 object:children-changed
5474 object:visible-data-changed
5475 object:selection-changed
5476 object:text-selection-changed
5478 object:text-caret-moved
5480 object:row-reordered
5482 object:column-inserted
5483 object:column-reordered
5484 object:column-deleted
5485 object:model-changed
5487 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5489 * libspi/hyperlink.c,h:
5490 Fixed some broken stuff in hyperlink.
5492 * libspi/relation.h:
5493 * libspi/relation.c:
5494 * cspi/spi_accessible.c:
5495 Initial implementations of AccessibleRelation methods, and docs.
5497 * libspi/accessible.c:
5498 Fixed a bug that caused SEGV if an accessible
5499 object's description is NULL, and a client
5500 requests it. An empty string is now returned.
5502 * cspi/spi_editabletext.c:
5503 * cspi/spi_hypertext.c:
5505 * cspi/spi_hyperlink.c:
5509 Doc coverage now 95%.
5511 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5513 One last namespacing revision:
5514 * libspi/accessibleeventlistener.[ch]:
5515 Renamed SpiAccessibleEventListener to SpiEventListener,
5516 (no need for two namespaces ;-)
5518 And lots of documentation fixes:
5520 * docs/at-spi-docs.sgml:
5521 Fixed 'underscore vs. hyphen' bug that was preventing
5522 the gtk-doc API docs from being automatically generated.
5525 * cspi/spi-listener.h
5527 * cspi/spi_accessible.c
5529 * cspi/spi_application.c
5530 * cspi/spi_component.c
5531 * cspi/spi_editabletext.c
5533 * cspi/spi_hypertext.c
5535 * cspi/spi_registry.c
5536 * cspi/spi_selection.c
5540 * docs/at-spi-docs.sgml
5541 * docs/at-spi-sections.txt
5543 Added and fixed up gtk-doc documentation in cspi.
5545 Interfaces now (fully) documented (subject to revision and enhancement):
5547 Event Listener Support
5549 AccessibleApplication
5553 AccessibleEditableText
5560 AccessibleRelationSet
5565 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5567 * at-bridge/bridge.c:
5568 Initial work for toolkit-level key snooper connection by bridge.
5573 New typedefs and fixes to support new namespacing, and cleaner
5574 separation of cspi bindings from libspi bonobo implementation.
5575 Removed inconsistent and extraneous Spi* namespace prefix that
5576 had crept into cspi headers.
5577 Lots of comment fixes that sed had missed.
5579 * cspi/spi-roletypes.h:
5580 * cspi/spi-statetypes.h:
5581 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5582 to AccessibleRoleType.
5584 * libspi/accessibleeventlistener.h:
5585 Fixed minor namespacing weirdness.
5587 * libspi/deviceeventcontroller.c:
5588 Reordered some internal API for device listeners.
5589 Changed the key registry final boolean to 'is_system_global'
5590 rather than 'is_synchronous', which is more descriptive of its
5592 Added spi_device_event_controller_new().
5593 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5595 * libspi/keystrokelistener.[ch]:
5596 Namespaced KeystrokeListener to SpiKeystrokeListener.
5597 Changed uses of keymasks to use SPI_ prefix, and did other
5600 * libspi/keymasks.h:
5601 Namespaced keymask constants with SPI_ prefix.
5603 * libspi/registry.c:
5604 Some warning fixes, and knock-on fixes from namespace changes.
5607 Added rules for accessx-gui test program.
5609 * test/accessx-gui.c:
5610 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5611 utility. It doesn't actually use at-spi, but it's still cool and
5614 * test/keysynth-demo.c:
5618 Fixes so that these test clients work properly with the namespaced
5619 libraries. (Incompletely tested for technical reasons, fixes may follow)
5622 2001-11-13 Michael Meeks <michael@ximian.com>
5624 * libspi/application.c
5625 (impl_accessibility_application_get_version),
5626 (impl_accessibility_application_get_toolkit_name):
5628 (impl_accessibility_application_set_id),
5629 (impl_accessibility_application_get_id): remove
5630 redundant casting code.
5632 * libspi/action.c (impl_getDescription): fix warnings.
5634 * libspi/accessible.c
5635 (impl_accessibility_accessible_get_parent),
5636 (impl_accessibility_accessible_get_child_at_index),
5637 (impl_accessibility_accessible_get_state),
5638 (impl_accessibility_accessible_get_relation_set):
5639 warning fixes & include action.h
5641 2001-11-13 Michael Meeks <michael@ximian.com>
5643 * *.[ch] fix bits I screwed up:
5645 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5646 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5648 2001-11-13 Michael Meeks <michael@ximian.com>
5650 * *.[ch] Namespace libspi into spi_ and Spi.
5652 2001-13-11 Michael Meeks <michael@ximian.com>
5654 * Makefile.am: dist & install at-spi-1.0.pc
5656 * libspi/Makefile.am: install into at-spi-1.0
5658 * idl/Makefile.am (idldir): install into at-spi-1.0
5660 * at-spi-1.0.pc.in: add.
5662 * configure.in: build it.
5664 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5666 * test/keysynth-demo.c:
5667 Use a 'realize' signal-handler to set the WM properties for
5668 the virtual keyboard, rather than making it a "POPUP" type
5669 override-redirect window (thanks to anders carlsson for that
5672 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5675 * test/keysynth-demo.c:
5676 Added new test of key synthesis, which creates a simple
5677 (mouse-operated) onscreen keyboard. It inserts key events into
5678 the currently-focused window, thus it does not grab keyboard focus
5681 * cspi/spi_registry.c:
5682 Added C binding for AT-SPI generateKeyEvent.
5684 * libspi/deviceeventcontroller.c:
5685 Added call to XFilterEvent so that key listener works with XIM (we
5686 hope). Added event_synth_type to generateKeyEvent, so that we can
5687 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5688 synthesize a press/release pair for KeySyms.
5690 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5692 * libspi/Makefile.am:
5693 * registryd/Makefile.am:
5694 (temporary) hack to include libXtst in libspi and registryd.
5695 (Needed for keystroke synthesis, see below).
5698 Improved API for registerKeystrokeListener, in accordance with
5699 discussions with Gnopernicus team and X server research.
5701 * libspi/registry.c:
5702 * libspi/deviceeventcontroller.c:
5703 * libspi/accessible.c:
5704 * libspi/keystrokelistener.c:
5705 Changes and fixes to support keylisteners for potentially
5706 consumed key events (that is, 'passive grabs').
5707 Added implementation for generateKeyEvent() [untested].
5710 Changes to registerKeystrokeListener() API, as above.
5711 Added deregisterGlobalEventListenerAll(), and
5712 deregisterKeystrokeListener(), which are needed for clean exit of
5714 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5715 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5717 * cspi/spi_registry.c:
5718 Added implementations of function prototypes mentioned above.
5720 * registryd/registryd.c:
5721 Added the key listener event source as a g_timeout(), to allow
5722 receipt of key events that are not caught by GDK (since GDK
5723 doesn't support passive keygrabs, this was necessary).
5726 Changed to attach a keylistener to 'Alt' keys, and
5727 respond to the following keycommands: Alt-M (toggle magnifier);
5728 Alt-F (toggle speech); Alt-Q (quit).
5729 Added an exit routine to deregister the listeners, and a key
5730 listener that prints some key info to the console when a key
5731 matches the listener mask (and is thus received by the listener).
5733 * util/idl/Magnifier.idl:
5734 Changes to magnifier API to support multiple zoom regions,
5735 non-uniform scaling in x and y, markDirty, and a host of other
5736 features that would be useful to magnification.
5739 * util/mag_client.c:
5740 * util/mag_client.h:
5741 * util/mag_control.c:
5743 Source code changes to support the above IDL changes.
5746 As above, and also changes to use a (slower) generic conversion
5747 path for colormap conversions, since the fast RGB conversions have been
5748 reported to fail for 16-bit displays.
5750 2001-10-26 Michael Meeks <michael@ximian.com>
5752 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5754 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5756 * at-bridge/Makefile.am: fix LDFLAGS.
5758 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5760 * at-bridge/bridge.c:
5761 Re-worked listeners for toolkit events, now we have signal
5762 and property listeners. Added a private method
5763 register_atk_event_listeners(), which registers with the
5764 various atk and gtk signals we need to monitor in order to emit
5766 Added emission hook for AtkObject:property-change events, to
5767 support the 'property listeners'.
5768 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5771 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5772 which emit warnings and exit, respectively, if CORBA errors occur
5773 during remote calls, and we now use these methods to check most of
5774 our CORBA calls in the C bindings.
5776 * cspi/spi_accessible.c:
5777 Changed AccessibleSelection_refSelectedChild() to
5778 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5779 now increment refcounts.
5781 * cspi/spi_component.c:
5782 Fixed some long pointer casts (dangerous!) to pass pointers to
5783 CORBA_longs of the proper type to the CORBA stubs, and copy the
5784 data into the longs that were passed into the C bindings code.
5786 * at-bridge/bridge.c:
5788 * libspi/accessible.c:
5789 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5790 hyperlinks, AtkHyperlink is an object type.
5792 * libspi/application.c:
5793 Added various conversions to and from "generic" event types and
5794 atk-specific types; this is really part of the 'bridge'
5795 implementation but is valid for all AtkObject-based accessibility
5798 * libspi/editabletext.c:
5799 Fixed nasty bug wherein editable text's finalize method was
5800 unref'ing tha AtkObject reference that the text parent class was
5801 about to unref _again_. There was also a nasty inheritance bug
5802 that meant that the AccessibleEditableText class was corrupt.
5804 * libspi/selection.c:
5805 Provided implementations for some selection API that was broken.
5807 * idl/Application.idl:
5808 Added registerObjectEventListener () method.
5811 Fixed a number of return values that were Bonobo_Unknowns from
5812 bonobo_object_corba_objref(), which I
5813 forgot to dup before returning. Changed instances of
5814 bonobo_object_corba_objref (bonobo_object(o)) to
5815 BONOBO_OBJREF(o), for concision and clarity.
5817 2001-10-13 Louise Miller <louise.miller@sun.com>
5819 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5820 idl/Event.idl, idl/Registry.idl
5821 Changed these files to include Bonobo_Unknown.idl instead
5824 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5826 * libspi/component.c libspi/component.h:
5827 Fixed typo. Added assertions for object checks in
5828 AccessibleComponent code.
5830 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5832 * idl/Accessible.idl:
5833 Added 'isEqual (Accessible *object)'
5834 method for Accessible. (Not Yet Implemented).
5837 Changed signature of registerKeystrokeListener() to
5838 take a KeySet and KeyEventSeq so that specific keys and event
5839 types could be requested for monitoring, and added a flag
5840 is_synchronous so that either synchronous or asynchronous
5841 notification could be requested. (However this is not all
5842 implemented yet). This also meant adding two new typedefs,
5843 KeyEventSeq and KeySet.
5846 Added two new relations, RELATION_TOOLTIP_FOR and
5847 RELATION_LEAFNODE_OF.
5850 Added new state, STATE_HAS_TOOLTIP.
5852 * libspi/text.c, editabletext.c:
5853 Added new assertions to all casts of bonobo-objects from
5854 CORBA servants, to prevent Text API calls on non-text objects.
5855 Changed suspect casts of int-pointer types, so that we
5856 always send a valid CORBA_long pointer to the CORBA APIs that use
5857 in/out long parameters. We then have to copy from the CORBA_long
5858 into the regular long or int for return to the C bindings, or
5859 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5862 * libspi/deviceeventcontroller.c:
5863 Cleaned these sources up.
5865 Changed return type for getCharacterAtOffset to
5866 CORBA_unsigned_long, to allow for 32-bit characters.
5869 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5873 Fixed 'make dist' so that distro compiles...
5874 * libspi/keymasks.h:
5876 * cspi/spi-listener.c:
5877 KeystrokeListenerCB now returns a boolean.
5879 Added KeyEventType struct, and KeyStroke.
5880 Also added createKeystrokeListener(),
5881 KeystrokeListener_addCallback(),
5882 KeystrokeListener_removeCallback(), and added a keymask to
5883 registerKeystrokeListener().
5884 * cspi/spi_accessible.c:
5885 Changed numerous return types for interfaces from
5886 AccessibleComponent to Accessible<InterfaceName>; this was
5887 probably a cut-and-paste error.
5889 Implementations of new KeystrokeListener api (from spi.h,
5892 Changes to key modifier mapping.
5893 Created ControllerEventMask struct.
5894 Made DeviceEventController derive from Bonobo::Unknown.
5896 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5897 * libspi/deviceeventcontroller.c:
5898 Added a number of new internal (private) methods.
5899 * libspi/editabletext.c:
5900 * libspi/editabletext.h:
5901 Fixed a number of bugs related to the fact that
5902 editabletext inherits from text. Fixed the EditableText struct,
5903 the init() call, and use correct casts when calling Text methods
5904 from an EditableText object. Removed (duplicate) atko from the
5905 EditableText structure, we use the one in the parent Text
5906 structure via the casts mentioned above.
5907 * libspi/keystrokelistener.[ch]:
5908 * libspi/registry.c:
5909 Changes in support of keyboard handling (above).
5911 Keyboard handling, though partly functional, is still not
5912 recommended for at-spi client use as there is considerable
5913 work yet to be done.
5916 Changed some places where pointers to various int types
5917 are cast to be pointers to CORBA_long types and vice-versa:
5918 pointer casting is not safe so we pass pointers of the correct
5919 types and then cast the result before putting it into the target
5922 * libspi/text.h: minor typos corrected.
5924 We now speak not only the name of a Text element, but the
5925 first sentence of its content, when it receives focus.
5926 I also changed the text compression to 75% from 50%.
5927 * util/Accessibility_Util.server.in:
5928 Changed the default magnifier type to be a 3x vertical
5929 splitscreen magnifier (was previously a 2x horizontal one).
5931 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5933 * libspi/keystrokelistener.h:
5934 * libspi/keystrokelistener.c:
5935 Initial functional implementations of KeystrokeListener.
5938 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5940 Fixed string handling for NULL strings in libspi.
5941 Added spi_freeString to free strings returned by C bindings.
5943 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5945 * libspi/keystrokelistener.h:
5946 * libspi/keystrokelistener.c:
5947 Began (no-op) implementations of KeystrokeListener
5949 * libspi/deviceeventcontroller.c:
5950 * libspi/deviceeventcontroller.h:
5951 Began creating implementations of DeviceEventController,
5952 to handle keystroke and mouse event listening and
5954 * libspi/accessible.c:
5955 Stubbed-in the implementations for
5956 Accessibility_Accessible_getState and
5957 Accessibility_Accessible_getRelationSet.
5958 * libspi/registry.c:
5959 Improved de-registration process and fixed some bugs,
5960 deregistration now works correctly.
5962 Added initialization of applications list (to NULL).
5964 Reduced speech compression from 0.5 to 0.7, for demo.
5965 Changed call to gdk_window_set_decorations()
5966 to gtk_window_set_decorated().
5967 * at-bridge/bridge.c:
5968 Bridge now deregisters when app exits, via
5969 registration of a cleanup function
5970 with the g_atexit() call.
5971 Required making 'app' static, renamed 'this_app'.
5972 Fixed broken use of bonobo_init, passing argv wrongly.
5974 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5978 Created a new directory for
5979 accessibility-related utilities, primarily for
5980 testing and demo purposes, but with possible
5987 Onscreen magnifier utility that
5988 is implemented as a bonobo service.
5990 * util/mag_client.c:
5991 * util/mag_client.h:
5992 Client-side support (simple C bindings)
5993 for Magnification service
5995 * util/mag_control.c:
5996 Client program example for
5997 Magnification service
5999 * util/Accessibility_Magnifier.server.in:
6000 Bonobo-activation file for the
6001 Magnification service.
6004 * util/idl/Magnifier.idl:
6005 IDL defining the bonobo Magnification
6009 Modifications to use the bonobo-activated magnifier
6010 above, in place of trying to connect to an existing
6011 magnifier that uses socket-listening IPC.
6013 If env variable MAGNIFIER is set, a magnifier service
6014 will be started if one does not exist.
6016 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6018 * at-bridge/bridge.c:
6019 applied patch from Marc to build and run
6020 against new glib and gtk+ (seemed like a change
6021 to bonobo_init signature was made ?)
6023 made festival-server support turned off by default.
6024 Added support for a simple magnifier (off by default)
6025 which will be added to a 'util' directory later.
6026 * at-bridge/Makefile.am:
6027 Changed "application.h" header from a 'source'
6028 to a 'dependency' of libat-bridge.
6030 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6039 Added interface implementation c files to list of
6040 includes so they are included in libcspi.
6043 Changed prototype of AccessibleAction_doAction to return a
6045 Changed prototype of AccessibleTable_getCaption to
6046 return an Accessible.
6047 Changed prototype of AccessibleTable_getSelectedRows
6048 and AccessibleTable_getSelectedColumns to
6049 return a long (returns the number of selected rows
6050 or columns respectively).
6051 Changed name of AccessibleText_refRunAttributes to
6052 AccessibleText_getAttributes.
6053 Changed prototype of AccessibleText_getCharacterExtents to
6054 return a void rather than a boolean.
6055 Added support for a AccessibleCoordType parameter
6056 specifying what type of coordinates are desired.
6057 Added an AccessibleCordType parameter to
6058 AccessibleText_getPointAtOffset.
6060 * cspi/spi_accessible.c:
6061 Added code to return the outstanding interfaces from
6062 Accessible_queryInterface.
6064 * cspi/spi_action.c:
6066 Corrected call to getNActions to call the c binding
6069 * cspi/spi_editabletext.c:
6071 Changed name from setRunAttributes to setAttributes.
6073 * cspi/spi_hyperlink.c:
6075 Changed call to getNAnchors to correctly call the c
6076 binding for an attribute.
6078 * cspi/spi_hypertext.c:
6080 Changed getImageDescription to correctly call the
6081 binding for an attribute.
6083 * cspi/spi_selection.c:
6084 Changed getNSelectedChildren to correctly call the c
6085 binding for the attribute.
6086 Changed refSelectedChild to getSelectedChild.
6090 Changed getCaption to return an Accessible.
6091 Fixed calls which retrieve attributes.
6092 Changed refAt to getAccessibleAt.
6093 Changed getNSelectedRows and getNSelectedColumns to
6097 Changed getCharacterExtents and getPointAtOffset to accept an
6098 AccessibleCoordType.
6100 Changed calls which retrieve attributes.
6101 Changed refRunAttributes to getAttributes.
6106 * idl/Hyperlink.idl:
6107 Changed n_anchors attribute to nAnchors to keep naming
6108 convention consistent.
6111 Made Table inherit from Bonobo::Unknown.
6112 Added nSelectedColumns and nSelectedRows attributes.
6115 Made Value inherit from Bonobo::Unknown.
6117 * libspi/hyperlink.c:
6118 Change for nAnchors attributte name change.
6120 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6128 Added interface implementation c files to list of
6129 includes so they are included in libcspi.
6132 Changed prototype of AccessibleAction_doAction to return a
6134 Changed prototype of AccessibleTable_getCaption to
6135 return an Accessible.
6136 Changed prototype of AccessibleTable_getSelectedRows
6137 and AccessibleTable_getSelectedColumns to
6138 return a long (returns the number of selected rows
6139 or columns respectively).
6140 Changed name of AccessibleText_refRunAttributes to
6141 AccessibleText_getAttributes.
6142 Changed prototype of AccessibleText_getCharacterExtents to
6143 return a void rather than a boolean.
6144 Added support for a AccessibleCoordType parameter
6145 specifying what type of coordinates are desired.
6146 Added an AccessibleCordType parameter to
6147 AccessibleText_getPointAtOffset.
6149 * cspi/spi_accessible.c:
6150 Added code to return the outstanding interfaces from
6151 Accessible_queryInterface.
6153 * cspi/spi_action.c:
6155 Corrected call to getNActions to call the c binding
6158 * cspi/spi_editabletext.c:
6160 Changed name from setRunAttributes to setAttributes.
6162 * cspi/spi_hyperlink.c:
6164 Changed call to getNAnchors to correctly call the c
6165 binding for an attribute.
6167 * cspi/spi_hypertext.c:
6169 Changed getImageDescription to correctly call the
6170 binding for an attribute.
6172 * cspi/spi_selection.c:
6173 Changed getNSelectedChildren to correctly call the c
6174 binding for the attribute.
6175 Changed refSelectedChild to getSelectedChild.
6179 Changed getCaption to return an Accessible.
6180 Fixed calls which retrieve attributes.
6181 Changed refAt to getAccessibleAt.
6182 Changed getNSelectedRows and getNSelectedColumns to
6186 Changed getCharacterExtents and getPointAtOffset to accept an
6187 AccessibleCoordType.
6189 Changed calls which retrieve attributes.
6190 Changed refRunAttributes to getAttributes.
6195 * idl/Hyperlink.idl:
6196 Changed n_anchors attribute to nAnchors to keep naming
6197 convention consistent.
6200 Made Table inherit from Bonobo::Unknown.
6201 Added nSelectedColumns and nSelectedRows attributes.
6204 Made Value inherit from Bonobo::Unknown.
6206 * libspi/hyperlink.c:
6207 Change for nAnchors attributte name change.
6210 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6212 implementations-- made server implementations own AtkObject pointers
6213 rather than their respective AtkInterrface pointers to fix
6214 refcounting. AtkHyperlink is still broken.
6216 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6217 * cspi/spi_accessible.c:
6218 Added method Accessible_Role_getName(),
6219 and requisite string array (role_names).
6220 Added conversion string_from_corba_strin() call
6221 to Accessible_getName and _getDescription.
6222 * libspi/accessible.c:
6223 Added implementation for Accessible_getRole()
6225 Added festival support, used if environment variable
6228 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6230 * at-bridge/bridge.c:
6231 Now allocate Accessibility_Event using
6232 Accessibility_Event__alloc() instead of g_new0().
6233 * libspi/accessibleeventlistener.c:
6234 Initialize AccessibleEventListener->callbacks to NULL.
6235 Fixed accessible__event_listener_init() param, changed to
6236 "AccessibleEventListener *" type.
6237 Changed a bonobo_object_release_unref() call to
6238 Accessibility_Accessible_unref().
6239 * libspi/listener.c:
6240 Changed Bonobo_Unknown_unref to (equivalent)
6241 Accessibility_Accessible_unref.
6242 * libspi/registry.c:
6243 Changed bonobo_object_release_unref to
6244 Accessibility_Accessible_unref.
6246 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6249 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6250 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6251 spi-util.c spi-util.h
6252 Implementations for C bindings to remaining accessibility
6255 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6258 changed return value of Action from void to boolean to
6259 bring in line with ATK.
6262 Changed getText funcions to return "out" start and end offsets.
6263 Changed getAttributes to take and offset and return the start
6264 and end offset of the attribute run.
6265 Changed getOffsetAtPoint and getCharacterExtents to take an
6266 enum describing whether coordinates are window or screen.
6269 libspi/action.c libspi/action.h libspi/editabletext.c
6270 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6271 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6272 libspi/image.h libspi/selection.c libspi/selection.h
6273 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6274 libspi/value.c libspi/value.h
6275 Added server implementations for outstanding ATK interfaces
6276 not yet implemented.
6278 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6281 Added (missing) getName() method.
6282 Made nActions an attribute.
6283 * idl/EditableText.idl:
6284 Changed order of params in setAttributes.
6285 * idl/Hyperlink.idl:
6286 Removed getAnchor, added getURI.
6288 Changed attributes to methods, for efficiency
6289 (so that getting extents can be done in one call)
6290 * idl/Selection.idl:
6291 Changed nSelectedChildren to attribute, and re-indented.
6292 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6294 * idl/Text.idl: reformatted to match our coding style.
6295 (temporarily?) removed getRowColumnAtOffset().
6296 Changed text selection API to support multi-select and
6297 non-contiguous selections, as in ATK.
6298 * idl/Value.idl: changed some methods to attributes.
6300 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6302 * libspi/listener.c(impl_notify_event):
6303 BonoboUnkown_unref the source instead
6304 of bonobo_object_release_unref - the ORB
6305 handles the releasing.
6307 * configure.in: require ORBit-2.3.94 for
6310 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6312 Tagged CVS repository 'EA_1_0'.
6313 * README.EARLY_ACCESS:
6314 Alphabetized acknowledgements list, and
6316 Listed some known dependencies of at-spi.
6318 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6320 * docs/at-spi-docs.sgml:
6321 * docs/at-spi-sections.txt:
6322 * docs/at-spi-overrides.txt: (Added zero-length file)
6323 Documentation improvements - gtk-doc should build
6324 docs for all implemented C bindings now.
6327 * cspi/spi.c: (New file)
6328 * cspi/spi_event.c: (New file)
6329 * cspi/spi_registry.c: (New file)
6330 * cspi/spi_accessible.c: (New file)
6331 * cspi/spi_application.c: (New file)
6332 * cspi/spi_component.c: (New file)
6333 Split spi_main.c into six parts, and included them from
6334 "spi.c". This is a bit of a hack, probably temporary,
6335 but required by gtk-doc, apparently.
6337 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6340 * docs/at-spi-docs.sgml:
6341 * docs/at-spi-sections.txt:
6343 Initial checkins/modifications for gtk-doc generation.
6346 Added (missing) interface query methods to Accessible's C binding.
6348 Added GenericInterface type definition.
6350 Added query for AccessibleComponent interface to focus event handler.
6351 Added printout of bounding box for focussed component.
6352 * libspi/component.c:
6353 Added partial implementation for AccessibleComponent to C binding.
6354 * idl/Application.idl:
6355 * libspi/registry.c:
6356 * libspi/listener.c:
6357 * libspi/application.c:
6358 * libspi/application.h:
6359 Changed "ID" attribute type from string to long.
6361 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6365 Made method naming consistent: methods taking object args
6366 start with uppercase, other methods (except those using
6367 acronyms) start with lowercase. Underscores delimit between
6368 object names and method names:
6369 SPI_init() - uppercase since it starts with an acronym.
6370 getDesktopCount () - lowercase start since no object param0.
6371 Accessible_getName() - uppercase object type name, studlyCaps method
6375 Added gtk-doc documentation for all currently implemented
6376 methods in the C bindings API.
6378 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6380 * Makefile.am : changed build order to build test last.
6383 Changed "createEventListener" to "CreateEventListener".
6384 * libspi/accessibleeventlistener.c :
6385 Bugfix for addition of callbacks.
6386 * test/Makefile.am :
6387 * test/simple-at.c :
6388 Added new test that uses the C bindings API.
6390 * libspi/listener.c :
6391 * libspi/registry.c :
6392 * libspi/accessibleeventlistener.c :
6393 * at-bridge/bridge.c :
6394 Renamed member "target" of Accessibility_Event to "source",
6395 which is more descriptive.
6398 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6402 * cspi/Makefile.am :
6403 Added makefile support for at-spi/cspi directory.
6406 * cspi/spi-listener.h : (NEW FILE)
6407 Added support for/use of spi-listener.h.
6409 C bindings now build successfully, with no warnings.
6410 * libspi/accessibleeventlistener.h : (NEW FILE)
6411 * libspi/accessibleeventlistener.c : (NEW FILE)
6412 * libspi/Makefile.am :
6413 Added new object type "AccessibleEventListener"
6414 which inherits from Listener, and allows attachment
6415 of in-process callbacks (so that a client with a listening
6416 object instance can add functionality to the local
6417 implementation, dynamically).
6419 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6421 * libspi/accessible.c:
6422 Add implementation for get_index_in_parent().
6424 Added #include of "spi-roletypes.h", and
6425 added enumerated type AccessibleCoordType.
6426 Added definition for KeystrokeListener (function type).
6429 * cspi/spi-statetypes.h :
6430 * cspi/spi-roletypes.h :
6432 Added these headers, used by spi.h.
6434 Added code (NOTE: not yet built by make).
6436 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6438 * libspi/Makefile.am: generate imodule
6439 at the same time as other idl compiler
6442 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6443 * libspi/registry.c :
6444 * libspi/application.c :
6445 * idl/Application.idl :
6446 Made registration with toolkit an application method,
6447 which is required since each app has its own toolkit static
6448 environment. Thus the bridge must register for
6449 notification of toolkit events from each application in turn.
6450 Toolkit notifications are now successfully registered for, and
6451 sent to the listening at client.
6453 Changed toolkit event string to use hyphens rather than underscores.
6454 * libspi/listener.c :
6455 listner now gives more info in debug mode - it reports the
6456 name of the event received, as well as the name of the source.
6459 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6461 * libspi/registry.c :
6462 added more implementation for toolkit events.
6463 Fixed bug such that toolkit event registrations
6464 (via atk) use the whole event name string, not
6466 Removed a useless call to an ORBit_ method.
6467 * at-bridge/bridge.c :
6468 Removed unused local sbuf[] variable.
6470 We now register for Gtk:GtkWidget:button_press_event
6471 events as well as "focus:" events.
6473 Add some more API from Registry.idl that was missing,
6474 for keystroke listening, keystroke and mouse event
6475 synthesis, and enumeration of accessible desktops.
6477 2001-08-16 Michael Meeks <michael@ximian.com>
6479 * configure.in: use AM_GLIB_GNU_GETTEXT.
6481 * Makefile.am (SUBDIRS): kill intl.
6483 2001-08-15 Michael Meeks <michael@ximian.com>
6485 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6487 * configure.in: upd.
6489 * configure.in: depend on a recent bonobo-activation that
6490 will find our server files ...
6492 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6494 * libspi/accessible.c : accessible_new() :
6495 Now we add the Component interface via bonobo_object_add_interface,
6496 if the contained AtkObject implements AtkComponent.
6497 * libspi/accessible.h : now include "component.h"
6498 * libspi/component.h :
6499 * libspi/component.c : added files - implementation of
6500 bonobo wrapper object for Accessibility/Component
6501 * libspi/listener.c :
6502 Added test code to check for Accessibility/Component:1.0
6503 interface and report whether it is implemented by the
6505 * libspi/registry.c :
6506 Now we check for not only the hash of the whole event
6507 string before relaying the event, we also check the
6508 "minor" event string (without the detail string).
6509 This allows event listeners to be registered against
6510 all events of a certain major+minor type, or just
6511 against a specific major+minor+detail type.
6512 * libspi/accessible.c :
6513 Added implementations for Accessible:get_parent(),
6514 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6515 * libspi/registry.c :
6516 * libspi/listener.c :
6517 Replaced calls to Accessibility_Accessible_ref() and
6518 Accessibility_Accessible_unref() with
6519 calls to bonobo_object_dup_ref() and
6520 bonobo_object_release_unref(), so that the CORBA object
6521 is dup-ed and released when relayed, as well as the bonobo object.
6523 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6525 * libspi/Makefile.am,
6526 registryd/Makefile.am,
6527 at-bridge/Makefile.am.
6528 test/Makefile.am, configure.in:
6529 reverse previous changes.
6531 * /idl/Image.idl: fix typo.
6533 * test/Makefile.am: put DEBUG_FLAGS
6536 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6538 * test/app.c: use argv[0] instead of
6541 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6543 * libspi/Makefile.am,
6544 registryd/Makefile.am,
6545 at-bridge/Makefile.am.
6546 test/Makefile.am, configure.in:
6547 cleanup, replace individual LIBS/CFLAGS with
6548 AT_COMMON_{LIBS|CFLAGS}.
6552 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6554 * configure.in, libspi/Makefile.am:
6555 Change IDL path checking for bonobo-activation
6558 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6560 * registryd/registry.c : separated event listeners to use
6561 3 separate lists (focus, window, toolkit). Began testing
6562 event names against hashes before relaying events.
6563 * test/at.c : now register for events of type "focus:"
6564 * test/app.c : now generate events of type "focus:"
6565 * at-bridge/bridge.c : register with ATK for focus events,
6566 and we now relay those focus events to any "focus:" listeners.
6567 This now works with the bridge as a GTK_MODULE when running test/at.
6568 * libspi/registry.c :
6569 * libspi/listener.c :
6570 now we ref event sources before propagating, and unref on receipt.
6571 * libspi/registry.c :
6572 some changes to internal structs, to support event typestring hashes.
6573 * text/app.c : changed the way the appname is generated.
6574 * cspi : added directory that will hold the C bindings library for
6575 non-CORBA/bonobo-savvy clients.
6576 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6577 * idl/Component.idl : added in parameter to indicate coord system for
6578 geometry-related calls.
6579 * idl/Hyperlink.idl : added readonly n_links attribute
6580 * idl/Image.idl : changed methods to attributes.
6582 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6584 * at-bridge/Makefile.am: link against
6585 ../libspi/libspi.la instead of -lspi.
6587 * at-spi/test/app.c: include
6588 bonobo-activation.h. Use a default appname
6589 if one is not provided.
6591 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6593 * idl/Registry.idl : temporarily changed register_Application
6594 to oneway, to work around issue with initial registration
6596 * idl/Application.idl : changed attribute "id" from readonly
6597 to read-write, since it needs to be assigned by Registry.
6598 * registryd/registryd.c : added call to set application id
6600 * registryd/registry.c : changed de-registration procedure to
6601 use CORBA_Object_hash() to find matching object ref in application
6602 lists and listener lists.
6603 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6604 began distinguishing between event types (work in progress).
6606 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6609 * libspi/application.c:
6610 Added implementations for get/set id, get_toolkitName,
6612 * registryd/registryd.c :
6616 Converted from use of OAF to bonobo-activation.
6617 * libspi/desktop.h :
6618 * libspi/desktop.c :
6620 Removed references to atksimpleobject, since base atkobject
6621 implementation now provides functionality we need.
6622 * libspi/atksimpleobject.c :
6623 * libspi/atksimpleobject.h :
6628 * at-bridge/Makefile.am
6629 * at-bridge/bridge.c
6632 Added directory "bridge" and contents, and added dependencies
6633 in Makefile.am/configure.in.
6634 Initial checkin of "at-bridge".
6635 This code is a GTK_MODULE which automatically registers
6636 GTK+ apps with the accessibility registry, using an object
6637 reference to the root ATK object.
6639 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6641 * po/Makefile.in.in: Remove. Again. If this
6642 doesn't get autogenerated - you need to update
6645 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6647 * po/Makefile.in.in: Add. Again.
6649 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6651 * libspi/accessible.c : added support for 'description' property.
6652 * libspi/accessible.c
6654 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6655 (since the two are now equivalent in libbonobo)
6663 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6664 Bonobo::Unknown as does Accessibility::Accessible.
6665 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6666 interface with Bonobo::Stream, since it was redundant with it.
6667 (The Stream returned by a StreamableContext object is expected to
6668 implement only a subset of Bonobo::Stream)
6670 2001-07-28 Anders Carlsson <andersca@gnome.org>
6672 * libspi/accessible.c (accessible_object_finalize): Change
6673 g_free to g_object_unref since the AtkObject is a GObject.
6675 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6677 * idl/Accessibility.idl: add new IDL files
6680 * idl/Action.idl: Definitions of actionable UI object
6681 * idl/Component.idl: Definitions of UI component geometry, etc.
6682 * idl/Hyperlink.idl: Defs of hyperlink behavior
6683 * idl/Image.idl: Def of accessible image
6684 * idl/Selection.idl: Definition of UI object with selectable children
6685 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6686 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6687 * idl/Text.idl: Interface defs for UI elements with complex textual content
6688 * idl/Value.idl: Definition of UI element that is a value controller or display
6690 2001-07-27 Michael Meeks <michael@ximian.com>
6692 * po/Makefile.in.in: remove autogenerated file from CVS.
6694 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6697 * idl/Registry.idl: include guard.
6699 * idl/Accessibility.idl: Add, and include all the other IDL
6702 * idl/*.idl: remove mass of pragmas etc.
6704 2001-07-26 Michael Meeks <michael@ximian.com>
6706 * registryd/Makefile.am (registryd_SOURCES): remove
6709 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6711 * libspi/.cvsignore, registryd/.cvsignore,
6712 test/.cvsignore: updated.
6714 * po/Makefile.in.in: gettext update.
6716 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6718 * initial CVS checkin
6720 2001-06-29 Michael Meeks <michael@ximian.com>
6722 * configure.in: add AM_CONFIG_HEADER to gen config.h