1 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
3 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
4 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
7 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
9 * configure.in: Added "fa" to ALL_LINGUAS.
11 2003-12-20 Arafat Medini <lumina@silverpen.de>
13 * configure.in: Added "ar" to ALL_LINGUAS
15 2003-12-16 Bill Haneman <billh@gnome.org>
17 * registryd/registry-main.c:
19 Set the reg_env DISPLAY variable before registering the
20 activated registry service. Fixes bug #129479.
22 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
24 * configure.in: Added "id" in ALL_LINGUAS
25 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
27 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
29 * registryd/deviceeventcontroller.c (global_filter_fn):
30 When an event is consumed discard any XEvents were added to
31 the queue while dealing with the the event. This can happen if
32 processing of the event takes a long time. Call XUngrabKeyboard
33 if an event was discarded. This fixes bug $124837.
34 Only call wait_for_release_event for a KeyPress.
35 Use local variable display instead of spi_get_display().
36 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
39 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
41 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
42 Allow for mask to contain values other than NumLock mask.
45 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
47 * registryd/devieceventcontroller.c:
48 (wait_for_release_event): Change first parameter from GdkEvent to
50 (global_filter_fn); Correct call to wait_for_release_event.
54 2003-12-08 Bill Haneman <billh@gnome.org>
58 * registryd/ucs2keysym.c: New file.
60 * registryd/deviceeventcontroller.c:
61 (dec_keysym_for_unichar): Remove old partial implementation and
62 replace with call to ucs2keysym(), which is much more complete.
63 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
68 2003-12-05 Bill Haneman <billh@gnome.org>
70 * configure.in: Version 1.3.9.
72 * docs/reference/cspi/tmpl/spi_registry.sgml:
73 Added reference to libspi/keymasks.h to the
74 description of Registry queries: AccessibleKeyMaskType.
77 2003-12-04 Bill Haneman <billh@gnome.org>
81 * idl/Accessibility_Application.idl:
82 (Accessibility::LOCALE_TYPE): New enum, corresponds to
84 (Accessibility::Application::getLocale): New method.
85 Allows clients to query the locale, by type, of an app.
88 * cspi/spi_application.c:
89 (AccessibleApplication_getLocale): New method, wraps IDL above.
91 * libspi/application.c:
92 (spi_application_class_init): Init epv entry for getLocale.
93 (impl_accessibility_application_get_locale): Impl for above.
96 (test_application): Added assertion for getLocale, i.e.
97 that the string from AccessibleApplication_getLocale (app, type)
98 is the same as that from setlocale (type, NULL);
100 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
102 *registryd/deviceeventcontroller.c: Add an idle handler which polls
103 the keyboard on a timeout intil the key state goes from pressed to
104 released. Fixes bug #111429.
106 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
108 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
109 root object so that it is present when a context menu in an
110 out-of-process applet is popped up.
111 (spi_atk_bridge_do_registration): Create acceessible application root
112 object only if it does not exist.
114 This fixes bug #125834.
116 2003-12-01 Bill Haneman <billh@gnome.org>
118 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
121 Added enum for AccessibleStreamableContentSeekType.
122 (AccessibleStreamableContent_freeContentTypeList): New.
124 * cspi/spi_streamablecontent.c:
125 (accessible_bonobo_stream_client_seek): New private method.
126 (AccessibleStreamableContent_seek): Implemented this method,
127 using Bonobo_Stream_seek.
128 (AccessibleStreamableContent_freeContentTypeList): New method
129 for freeing the return value from
130 AccessibleStreamableContent_getContentTypes.
131 (stream_cache_item_free): Replaces stream_release; stop leaks.
132 (stream_release): removed.
133 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
134 free the memory properly.
136 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
140 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
142 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
144 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
146 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
148 2003-12-01 Bill Haneman <billh@gnome.org>
150 Fix for bug/rfe #127463.
152 * idl/Accessibility_Accessible.idl:
153 (getLocalizedRoleName): New.
154 (unimplemented4): Removed (replaced by above).
156 * libspi/accessible.c:
157 (impl_accessibility_accessible_get_local_role_name): New.
158 (spi_accessible_class_init): Add getLocalizedRoleName entry to
162 (Accessible_getLocalizedRoleName): New.
164 * cspi/spi_accessible.c:
165 (Accessible_getLocalizedRoleName): New.
167 2003-12-01 Bill Haneman <billh@gnome.org>
170 * idl/Accessibility_Text.idl:
171 (getDefaultAttributes): New.
172 (unimplemented4): Removed (replaced by above method).
175 (impl_getDefaultAttributes): New method.
176 (spi_text_class_init):
177 initialize the get_default_attributes slot in the epv.
180 (AccessibleText_getDefaultAttributes): New prototype.
183 (AccessibleText_getDefaultAttributes): New method.
185 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
187 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
188 write beyond the end of the table. Fixes bug #120473.
190 2003-09-30 Christian Rose <menthos@menthos.com>
192 * configure.in: Added "eu" to ALL_LINGUAS.
194 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
196 * configure.in: ALL_LINGUAS: Added no.
198 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
200 * configure.in: Added lt to ALL_LINGUAS.
202 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
204 * atk-bridge/bridge.c:
205 (atk_bridge_init): Register event listeners always even for
206 out-of-process applet.
207 (spi_atk_bridge_toplevel_added): Remove call to
208 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
209 (spi_atk_bridge_toplevelk_removed): Remove call to
210 spi_atk_deregister_event_listenersa as the listeners are now always
212 (spi_atk_bridge_register_application): Remove call to
213 spi_atk_register_event_listeners as it is not done in atk_bridge_init
215 This fixes bug #120991.
217 * libspi/table.c (impl_getColumnDescription): Correct typo,
218 pointed out by Bolian.Yin@sun.com.
220 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
222 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
224 2003-09-08 Bill Haneman <billh@gnome.org>
226 * configure.in: Revved to 1.3.7.
228 This is the GNOME 2.4.0 release of at-spi.
230 * docs/reference/cspi/Makefile.am:
231 Removed spurious inclusion of 'index.sgml' in the
232 html directory; this was breaking make distcheck and
233 also some other build environments.
235 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
237 * registryd/registry.[ch}:
238 Add queue_handler_id and focus_object to SpiRegistry data structure.
239 (registry_flush_event_queue): If event being discarded is
240 "state-change:focused" store object as focus_object.
241 (registry_start_queue): Remove queue handler and focus object
243 (registry_discard_event): New function which discards a focus event
244 if we had stored focus object in the registry.
245 (registry_queue_event): Add new check that is_queueing is set as this
246 function is reentrant.
247 (registry_filer_event): Add call to registry_discard_event.
249 This resolves issues raised in bug #108664.
251 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
253 * configure.in: Added "bn" to ALL_LINGUAS.
255 2003-09-04 Bill Haneman <billh@gnome.org>
257 * cspi/spi_event.c: Documentation improvements for
258 (SPI_registerAccessibleKeylistener).
260 * docs/reference/tmpl/spi_registry.sgml:
261 Documentation improvements for SpiAccessibleKeylistenerCB.
263 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
265 * configure.in: Added "ro" to ALL_LINGUAS.
268 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
270 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
271 not decremented to zero. Fixes bug #120725.
273 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
275 * configure.in: Added "ja" to ALL_LINGUAS.
277 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
279 * configure.in: Added "is" to ALL_LINGUAS.
281 2003-08-22 Christian Rose <menthos@menthos.com>
283 * configure.in: Added "nl" to ALL_LINGUAS.
285 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
287 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
288 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
290 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
292 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
293 type for unspecified exception.
294 * cspi_streamablecontect): Add include of string.h for memcpy.
295 (stream_release): Correct call to bonobo_object_release_unref
296 (stream_cache_item_free): Correct call to bonobo_object_release_unref
297 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
298 argument of _cspi_expection_throw.
299 * libspi/hyperlink.c: Add include of libspi/action.h:
300 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
301 * libspi/streamablecontent.c: add include of libspi/component.h.
302 * regisrtyd/deviceeventcontroller.c:
303 (spi_dec_translate_mask): Removed unused variable priv.
304 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
305 * registryd/registry.c:
306 (registry_filter_event): Remove unused variable queue_is-empty.
307 (impl_registry_notify_event): Use correct modifier in fprintf call.
309 This fixes compiler warnings reported in bug #120220.
311 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
313 * registryd/registryd.c: Remove this file.
315 2003-08-17 Sanlig Badral <badral@openmn.org>
317 * configure.in: Added mn to ALL_LINGUAS.
319 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
321 * configure.in: Added et to ALL_LINGUAS.
323 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
325 * test/event-listener-test.c: Change active-descendant to
326 active-descendant-changed.
328 2003-08-10 Sami Pesonen <sampeson@iki.fi>
330 * configure.in: Added "fi" in ALL_LINGUAS.
332 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
334 * configure.in: Added "hi" in ALL_LINGUAS.
336 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
338 * configure.in: Revved to 1.3.6.
342 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
344 * registryd/deviceeventcontroller.c
345 (spi_device_event_controller_object_finalize): Fix typo in previous
348 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
350 * registryd/deviceeventcontroller.c
351 (spi_device_event_controller_object_finalize): Fix build on
352 systems without XEvIE.
354 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
356 * acconfig.h, configure.in, registryd/Makefile.am,
357 registryd/devicecontoller.[ch]: Add XEViE support.
359 2003-08-06 Wang Jian <lark@linux.net.cn>
361 * configure.in: Added "zh_CN" to ALL_LINGUAS.
363 2003-08-06 Metin Amiroff<metin@karegen.com>
365 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
367 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
369 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
370 MODIFIER_ALT in correct place.
372 This fixes part of bug #118114.
374 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
376 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
378 2003-07-28 Changwoo Ryu <cwryu@debian.org>
380 * configure.in: Added "ko" to ALL_LINGUAS.
382 2003-07-28 Ole Laursen <olau@hardworking.dk>
384 * configure.in: Added "da" to the commented out ALL_LINGUAS.
386 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
388 * configure.in: Added "sq" to ALL_LINGUAS.
390 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
392 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
394 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
396 * configure.in: updated ALL_LINGUAS list
398 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
400 * configure.in: Added Belarusian to ALL_LINGUAS.
402 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
404 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
406 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
407 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
409 This fixes bug #116949.
411 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
413 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
414 Correct CSPI to SPI in function documentation.
416 This fixes bug #118054.
418 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
420 * configure.in: Added Russian to ALL_LINGUAS.
422 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
424 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
426 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
428 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
430 2003-07-10 Joel Brich <joel.brich@laposte.net>
432 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
434 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
436 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
438 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
440 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
441 resources allocated for AccessibleEvent. See cspi_event().
443 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
444 static variable streams to NULL.
446 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
447 Update so that AcessibleEvent_ref will work.
449 This fixes bug #116624.
451 2003-07-06 Jordi Mallach <jordi@sindominio.net>
453 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
455 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
457 * configure.in: Added "fr" (French) to ALL_LINGUAS.
459 2003-07-02 Christian Neumair <chris@gnome-de.org>
461 * configure.in: Added "de" (German) to ALL_LINGUAS.
463 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
465 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
467 2003-07-01 Miloslav Trmac <mitr@volny.cz>
469 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
471 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
473 * configure.in: Added "pl" to ALL_LINGUAS.
475 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
477 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
479 2003-06-30 Bill Haneman <bill.haneman@sun.com>
482 (get_action_from_servant):
483 Removed assertion that action is implemented on an AtkObject.
485 * libspi/hyperlink.c:
487 Aggregate AccessibleAction interface on the hyperlink object if
488 the object implements AtkAction. (This convention is used in
491 2003-06-30 Bill Haneman <bill.haneman@sun.com>
493 * configure.in: Revved to 1.3.5.
495 * registryd/Accessibility_Registry.server.in.in:
496 Marked up appropriate strings for translation.
498 * atk-bridge/bridge.c: Marked a couple of
499 user-visible warnings for translation. Questionable
500 whether they are really useful, but possibly so.
503 2003-06-28 Christian Rose <menthos@menthos.com>
505 * configure.in: Added "sv" to ALL_LINGUAS.
507 2003-06-26 Bill Haneman <bill.haneman@sun.com>
509 * registryd/registry.c:
510 (spi_registry_object_finalize): Unref the deviceeventcontroller.
511 (registry_defer_on_event): Defer focus: events, this is an
512 improvement to the patch for bug #108664.
514 * TODO: Update with 2.4/"Dev Complete" items.
516 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
518 * atk-bridge/bridge.c:
519 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
520 looks up signals once.
521 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
522 if doing registration.
523 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
524 when doing registration.
526 This fixes bug #115014.
528 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
530 * atk-bridge/bridge.c:
531 (atk_bridge_init): Add signal handler for children-changed:remove on
532 root when in a BonoboComponent.
533 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
534 for first toplevel only other incrememt variable toplevels.
535 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
536 application and remove listeners.
537 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
539 (spi_atk_deregister_event_listeners): New function which removes
541 (reinit_register_vars): New fuction which reinitializes variables.
543 This fixes bug #111578.
545 2003-06-13 Bill Haneman <bill.haneman@sun.com>
547 * configure.in: version 1.3.4.
549 * cspi/spi_accessible.c:
550 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
553 2003-06-13 Michael Meeks <michael@ximian.com>
555 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
557 * cspi/spi_main.c (cspi_peek_ev): impl.
559 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
561 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
563 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
565 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
566 SPI_ROLE_AUTOCOMPLETE
568 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
570 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
571 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
573 2003-06-11 Bill Haneman <bill.haneman@sun.com>
575 * libspi/streamablecontent.h:
576 * libspi/streamablecontent.c:
577 New files, provide implementation/wrappers for
578 Accessibility_StreamableContent.
580 * cspi/spi_streamablecontent.c:
581 Connected the C wrappers to the libspi C bindings.
582 (AccessibleStreamableContent_close): New method.
585 (AccessibleStreamableContent_close): New method, needed
586 since we have an "open, [seek], read, close" model in cspi.
588 2003-06-11 Bill Haneman <bill.haneman@sun.com>
590 Fix for #108664; Padraig's revision of my original patch.
592 * registryd/registry.h:
593 Added event queue list, is_queuing, and exit_notify_timeout
594 to the registry struct.
596 * registryd/registry.c:
597 (registry_init): Initialize new struct from registry.h.
598 (impl_registry_notify_event):
599 Filter events before notifying, in case some need to be
601 (registry_filter_event): New,
602 we defer certain incoming events (for instance
603 window:deactivate) because we may wish to hide
604 or reject them based on pending events. This is
605 mostly a workaround for bug #108664.
606 (registry_queue_event, registry_start_queue): New.
607 (registry_defer_on_event): Test event to see if it
609 (registry_reset_on_event): Returns TRUE if the
610 event should cause a queue reset.
611 (registry_discard_on_event): Returns TRUE if the event
612 should cause the previous queue contents to be discarded.
613 (registry_timeout_flush_queue): Flushes the pending event
614 queue if no reset/discard-triggering events have come in
615 within the timeout period.
616 (registry_emit_event): New.
617 (registry_clone_notify_context): New, used when queueing the
618 event notify contexts.
620 2003-06-10 Bill Haneman <bill.haneman@sun.com>
622 * configure.in: Version revved to 1.3.2, lt 0.9.2
623 Incremented ATK required version to 1.3.4.
625 * cspi/spi_registry.c:
626 (SPI_generateKeyEvent):
627 We now pass the keystring along if it's non-null.
629 * registryd/deviceeventcontroller.c:
630 (keysym_mod_mask): New method, returns modifier mask
631 required to generate a keysym from a given keycode.
632 (dec_synth_keysym): New method.
633 (dec_synth_keystring): New method.
634 (dec_get_modifier_state): New method.
635 (dec_lock_modifiers): New
636 (dec_unlock_modifiers): New.
637 (dec_keysym_for_unichar): New, rather brute-force
638 conversion from UCS-4 to X KeySyms. Only works for
639 Latin at the moment, with partial implementations for
640 Greek, Hebrew, and (incomplete) Katakana.
641 (impl_generate_keyboard_event): Now implement
642 "KEYSTRING" synthesis and implement "KEYSYM"
644 (keycode_from_keysym): Improved, passes a returned
645 modmask value now if the corresponding param is non-NULL.
647 Fixes bugs #92143 and #109776.
650 * test/keysynth-test.c:
651 New test program for key synthesis, to confirm fixes for
655 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
657 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
659 * cspi/spi_accessible.c (cspi_init_relation_type_table):
660 Add line for RELATION_POPUP_FOR
662 * docs/reference/cspi/tmpl/spi_relation.sgml:
663 Add relation SPI_RELATION_POPUP_FOR
665 * docs/reference/cspi/tmpl/spi_stateset.sgml:
666 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
668 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
670 * libspi/relation.c (spi_init_relation_type_table):
671 Add line for RELATION_POPUP_FOR
673 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
675 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
676 there are still windows which have not been deleted and emit
677 window:deactivate, if necessary and window:destroy events.
678 This fixes bug #114370. The change on June 5th was not correct.
680 2003-06-09 Bill Haneman <bill.haneman@sun.com>
682 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
685 (SPI_dupString): Allow dup-ing of a string such that it's safe to
687 New methods for client exception handling and interception.
688 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
689 (SPI_exceptionHandlerPop): You guessed it...
690 (SPI_getSourceType): Return the type of object which offended.
691 (SPI_getExceptionCode): Return an enum code telling, possibly,
692 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
693 (SPIAccessibleException_getSource): get the source object for
694 exceptions that come from Accessibles, if SPIExceptionSourceType is
695 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
696 (SPIException_getDescription): New, returns a string description of
697 the problem. [Not yet a stable ABI, strings are not frozen]
699 * cspi/spi-private.h:
700 Added implementation details of opaque SPIException
704 Implementations of above. Also
705 (_cspi_exception_throw): new private method that
706 dispatches exceptions to handlers, called from cspi-bonobo.c
708 * cspi/bonobo/cspi-bonobo.c:
709 (cspi_check_ev): call _cspi_exception_throw.
710 Don't print a warning message if the exception has been
711 handled by _cspi_exception_throw.
713 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
715 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
716 there are still windows which have not been deleted and emit
717 window:deactivate, if necessary and window:destroy events.
718 This fixes bug #114370.
720 2003-06-03 Bill Haneman <bill.haneman@sun.com>
723 (cspi_accessible_is_a): Make non-fatal
724 if the object reference is dead.
726 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
728 * cspi/spi_main.c: #include <stdio.h>
729 * test/simple-at.c: ditto
730 * test/event-listener-test.c: ditto
731 * test/screen-review-test.c: ditto
733 2003-05-30 Michael Meeks <michael@ximian.com>
735 * test/test-simple.c (main): use CORBA_ORB_perform_work
736 instead of an unnecessary linc_ call.
738 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
740 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
741 Add SPI_STATE_INDETERMINATE.
743 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
746 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
748 * libspi/stateset.c (init_state_type_tables): Add support for
751 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
753 * configure: Update versions of atk and gail required.
754 This fixes bug #113268.
756 2003-05-02 Bill Haneman <bill.haneman@sun.com>
758 * configure.in: Revved micro version to 1.3.1 (because of build fix).
760 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
762 * libspi/Makefile.am:
763 Ensure headers are generated before being used by c sources.
765 2003-05-01 Bill Haneman <bill.haneman@sun.com>
768 Simplified lt versioning rules.
769 Incremented version to 1.3.0, to indicate that we're on the
772 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
774 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
775 Add MKDB_OPTIONS=--outtput-format=xml
777 * docs/reference/cspi/at-spi-cspi-docs.sgml
778 docs/reference/idl/at-spi-idl-docs.sgml:
779 Convert to Docbook XML.
781 This fixes bug #111793.
783 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
785 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
786 AcccessibleKeyEventType, AccessibleKeyMaskType.
788 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
790 * cspi/state-types.h: Add documentation for AccessibleState.
792 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
793 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
794 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
795 AccessibleComponentLayer.
797 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
800 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
802 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
803 Accessible. Add description of AccessibleEvent,
804 AccessibleEventListenerCB.
806 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
809 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
810 documentation. Add description of AccessibleKeystrokeListenerCB,
811 AccessibleKeyEventMask, AccessibleModifierMaskType,
812 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
813 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
815 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
818 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
821 This fixes bug #104730.
823 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
825 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
826 Set is_text field of Accessibility_DeviceEvent data structure.
828 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
829 is-text field of AccessibleDeviceEvent data structure.
831 This addresses part of bug #108666.
833 * registryd/devcieeventcontroller.c: Unset debug option.
835 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
838 (cpi_initial_relation_type_table): New function which initializes
839 mapping between Accessibility_RelationType and AccessibleRelationType.
840 (cspi_relation_type_from_spi_relation_type): New function which
841 translates an Accessibility_RelationType into an AccessibleRelationType.
842 (AccessibleRelation_getRelationType): Use
843 cpi_relation_type_get_spi_relation_type to return correct value.
844 (spi_state_to_corba): Return correct type for default case.
846 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
847 Use Accessibility_EventType instead of Accessibility_KeyEventType.
849 * cspi/cspi-bonobo-listener.c:
850 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
853 * libspi/accessible.c, libspi/action.c, libspi/application.c,
854 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
855 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
856 libspi/image.c, libspi/listener.c, libspi/selection.c,
857 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
858 registryd/desktop.c, registryd/registry.c:
859 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
861 * libspi/eventlistener.c
862 Remove semicolon after BONOBO_TYPE_FUNC.
865 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
866 (spi_init_relation_type_table): Initialize using correct type.
868 * registryd/desktop.c:
869 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
870 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
871 of Accessibility_KeyEventType.
873 * test/key-listener-test.c (report_tab_key_event): Use fprintf
876 * tests/simple-at.c, tests/screen-review-test.c:
877 Add include for <strings.h>.
879 * tests.stress-test.c:
880 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
882 These changes fix compiler warnings when using FORTE compiler on
883 Solaris; fixes bug #107479.
886 2003-04-10 Bill Haneman <bill.haneman@sun.com>
889 * configure.in: revved to 1.1.10
892 (SPI_KEYMASK_NUMLOCK): Added.
894 * registryd/deviceeventcontroller.c:
895 (spi_key_event_matches_listener): AND with a smaller
896 bitmask (as we should).
897 (spi_dec_translate_mask):
898 New method, sets the virtual NumLock modifier bit
899 if numlock is on. Eventually it can handle other virtual
900 modifier bits if needed, or other marshalling from
901 at-spi modifier masks to platform (X) masks.
902 (spi_dec_key_listener_new):
903 Call spi_dec_translate_mask to set up virtual mod bits
904 in the 'mask' field when creating a new listener struct.
905 (spi_dec_emit_modifier_event):
906 Set the virtual (i.e. NumLock) bits before emitting event.
907 (spi_controller_register_with_devices):
908 Query for the NumLock modifier 'physical' bit if Xkb is
909 present, for use in above methods.
913 2003-04-10 Bill Haneman <bill.haneman@sun.com>
915 * registryd/deviceeventcontroller.c:
916 (spi_keystroke_from_x_key_event):
917 Instead of checking to see if the keysym is
918 printable, check the string from XLookupString
919 if available, get the first unicode character from it,
920 and call g_unichar_isprint to determine whether the
921 is_text flag should be TRUE or FALSE.
925 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
927 * atk-bridge/bridge.c: Add support for extended events
928 * cspi/spi_event.c: Add documentation and implementation for
930 * tests/event-listener-test.c: Add tests for extended events.
932 This fixes bugs #100424 and #100426.
934 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
936 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
937 of LT_CURRENT. This fixes bug #89350.
939 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
941 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
942 number of signal parameter values before accessing them. This fixes
945 2003-04-01 Bill Haneman <bill.haneman@sun.com>
947 * configure.in: Fixed duplicate inclusion of -lspi.
948 * branched for gnome-2-2/HEAD.
949 [created tag "gnome-2-2"]
951 2003-03-07 Bill Haneman <bill.haneman@sun.com>
953 * configure.in: 1.1.9 release.
956 2003-03-07 Bill Haneman <bill.haneman@sun.com>
958 [needed by GOK, to fix bugs 107985 and 107988]
959 * registryd/deviceeventcontroller.c:
960 (spi_dec_clear_unlatch_pending):
961 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
962 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
963 (spi_dec_init_mouse_listener):Emit warning if mouse button
965 (spi_device_event_controller_forward_mouse_event):
966 Removed unnecessary parens from a conditional.
967 (global_filter_fn):Added TODO comment.
968 (impl_generate_keyboard_event):
969 Cancel a pending relatch if a 'delatching' key was
972 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
974 * atk-bridge/bridge.c:
975 Change atk_signal_child_changed to atk_signal_children_changed.
976 Reorganize code in spi_atk_bridge_signal_listener().
978 * test/event-listener-test.c:
979 Add children_changed_listener and report_children_changed_event()
980 to test AccessibleChildEvent_getChildAccessible.
982 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
984 * cspi/spi_event.c (cspi_internal_event_get_text): Change
985 g_strdup to CORBA_String_dup (bug #105291)
987 * test/event-listener-test.c (report_text_event): Add call to
990 2003-02-28 Bill Haneman <bill.haneman@sun.com>
992 * registryd/deviceeventcontroller.c:
993 (spi_keystroke_from_x_key_event):
994 Fix string and keysym return codes to match modifier state.
997 2003-02-28 Bill Haneman <bill.haneman@sun.com>
999 * registryd/deviceeventcontroller.c:
1000 (spi_keystroke_from_x_key_event):
1001 Fix segv due to improper use of isprint(c). [bug #107254]
1003 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1006 (get_accessible_text_boundary_type):
1007 Move default return value to (new) default case in switch.
1008 (get_accessible_text_clip_type):
1009 Move default return value to (new) default case in switch.
1011 * libspi/application.c:
1012 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1013 Remove unused methods.
1014 (impl_accessibility_application_register_object_event_listener):
1015 Remove unused methods.
1018 Added #include of <math.h>.
1020 * registryd/deviceeventcontroller.c:
1021 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1022 we don't currently use this method.
1023 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1025 (impl_generate_key_event):
1026 Remove unused variables.
1027 (impl_generate_mouse_event):
1028 Initialize button to zero, just in case we get an invalid
1029 input. Added support for mouse buttons 4 and 5.
1030 (spi_device_event_controller_new):
1031 Removed unused variable declaration for 'private'.
1033 Added #include of <gdk/gdk.h>
1035 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1037 * configure.in: Update to work when X is not installed in expected
1038 location. Fixes bug #105836.
1040 * atk-bridge/bridge.c
1041 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1043 (spi_atk_register_event_listener): Add signal listener for
1045 (spi_atk_bridge_signal_listener): Event event when link-selected
1046 signal is emitted. (bug #104622)
1048 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1049 on returned string. (bug #105291)
1051 * test/event-listener-test.c: Add test for link-selected.
1053 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1055 * atk-bridge/Makefile.am: Correct typo in previous commit.
1057 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1059 * atk-bridge/Makefile.am: Allow for build directory to be different
1060 from source directory
1062 * registryd/Makefile.am: Allow for build directory to be different
1063 from source directory
1067 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1070 Fixed dependencies for libcspi so that libspi gets pulled in
1071 properly. Fixes 104741.
1075 Clean up inline docs a little.
1077 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1079 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1080 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1081 the AtkObject within an SpiDesktop.
1082 This addresses bug #101524.
1084 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1085 Remove call to gdk_init().
1087 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1088 so that Display is set when SpiDesktop is created.
1090 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1092 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1093 This fixes bug #102830.
1095 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1097 * test/test-simple.c: Update to take account of fact that GailButton
1098 now implements AtkText.
1099 (create_text_window): Set name on AtkObject for GtkEntry.
1100 (validate_accessible): Check accessible name before calling test_text().
1102 * libspi/Makefile.am: Fix problem with building outside of source
1103 directory. Bug #98120.
1105 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1106 typo in documentation comments. Bug #94275.
1108 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1110 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1112 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1115 Add includes to avoid compiler warnings on Solaris.
1116 (impl_getRangeExtents): Bug fix.
1118 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1120 Fix for 100944, [API addition approved by Gman and murrayc].
1127 * idl/Accessibility_Text.idl:
1128 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1129 (Text::getRangeExtents): New method for efficient
1130 bounds query of a text range.
1131 (Text::getBoundedRanges): New method for efficient
1132 clipping of text to bounding boxes.
1133 (unImplemented7, unImplemented8):
1134 Removed these padding methods to preserve bincompat.
1137 (impl_getRangeExtents): implementation of new IDL.
1138 (impl_getBoundedRanges): implementation of new IDL.
1139 (SpiTextRect): Internal use struct.
1140 (_spi_text_rect_union): internal method, calculates union of two
1141 SpiTextRect bounding rects.
1142 (_spi_text_range_seq_from_gslist): internal method, allows us
1143 to build our sequence efficiently as a gslist then convert it
1145 (_spi_bounds_contain): internal method, determines whether
1146 a text character is "in" or "out" of a clip rect according to
1147 values of TEXT_CLIP_TYPE.
1148 (spi_text_class_init): Initialize the new methods in the epv.
1151 (AccessibleTextClipType): New enum used by screen review api.
1152 (AccessibleTextRange): New struct used by screen review api.
1153 (AccessibleText_getRangeExtents):
1154 cspi binding for Accessibility_Text_getRangeExtents.
1155 (AccessibleText_getBoundedRanges):
1156 cspi binding for Accessibility_Text_getBoundedRanges.
1157 (AccessibleTextRange_freeRanges): convenience method.
1160 (AccessibleText_getRangeExtents):
1161 cspi binding for Accessibility_Text_getRangeExtents.
1162 (AccessibleText_getBoundedRanges):
1163 cspi binding for Accessibility_Text_getBoundedRanges.
1164 (AccessibleTextRange_freeRanges): convenience method.
1165 (get_accessible_text_clip_type): internal conversion method.
1166 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1168 * registryd/deviceeventcontroller.c:
1169 (spi_dec_mouse_check):
1170 Improved behavior for mouse:abs events
1171 [same granularity as mouse:rel events, and no
1172 events when mouse is idle].
1174 2002-12-16 Michael Meeks <michael@ximian.com>
1176 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1178 * libspi/stateset.c (state_spi_to_atk): split out
1179 ( fix several remote array bounds nasties )
1180 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1181 (impl_remove): make safe from array bounds issues.
1182 (spi_atk_state_from_spi_state): impl.
1184 * libspi/stateset.h (spi_state_set_cache_is_empty):
1185 add a set of wrapper defines to get layering right.
1187 * cspi/spi_accessible.c: update state set stuff to
1190 2002-12-14 Michael Meeks <michael@ximian.com>
1192 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1193 to avoid 2 roundtrips to the registry per key event
1194 (spi_atk_bridge_key_listener): upd.
1195 (deregister_application): release the dec.
1197 * registryd/registry.c (notify_listeners_cb):
1198 bin lots of re-enterant complexity - we no longer
1199 do a round-trip bonobo ref here, ensure that a single
1200 listener's exception failure won't poison all other
1202 (impl_registry_notify_event): bin obvious memory leak.
1204 2002-12-13 Michael Meeks <michael@ximian.com>
1206 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1207 init the ev so the error is meaningful.
1208 (spi_atk_bridge_key_listener): ditto.
1210 * cspi/spi_main.c (cspi_ev): init the ev so we start
1211 with a clean slate, otherwise the first exception
1212 kills us completely.
1214 * cspi/spi_text.c (get_accessible_text_boundary_type):
1215 add a fallthrough for no warnings.
1217 * cspi/spi_registry.c: prune unused warnings.
1219 * cspi/spi_main.c (cspi_object_take): fix
1220 mind-blowing brokenness ( by watching the compile
1223 * cspi/spi_accessible.c (Accessible_getStateSet):
1224 re-impl. to use an AtkStateSet.
1225 (spi_state_type_from_accessible_state),
1226 (init_state_table): bin these.
1228 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1230 (atk_state_set_from_accessibility_state_set): here.
1232 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1233 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1234 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1235 (AccessibleStateSet_add, AccessibleStateSet_remove),
1236 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1237 (AccessibleStateSet_isEmpty): re-write to use a local
1240 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1242 * configure.in: Revved to 1.1.7 (new keymask vals).
1244 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1246 * libspi/keymasks.h:
1247 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1249 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1252 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1253 to compare two CORBA_TypeCodes.
1254 (cspi_internal_event_add): Silence warning from FORTE compiler.
1256 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1257 avoid implicit declaration of functions.
1259 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1261 * atk-bridge/bridge.c:
1262 (spi_atk_bridge_init_event_type_consts): Store signal id for
1263 active-descendant-changed signal.
1264 (spi_atk_register_event_listeners): Add signal listener for
1265 active-descendant-changed signal,
1266 (spi_atk_bridge_signal_listener): Move code in function
1267 spi_atk-signal_emit_event() into this function.
1268 Add support for active-descendant-changed
1269 Update support for child-changed signal.
1270 (spi_bridge_window_event_listener): Silence warning.
1272 * libspi/spi_private.[ch]:
1273 (spi_init_any_object): Change second parameter from CORBA_Object to
1275 Omit call to CORBA_Object_duplicate().
1276 Set CORBA_any's _value to CORBA_Object*.
1278 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1284 (AccessibleEvent_ref, AccessibleEvent_unref):
1285 New methods, for persisting an event outside the emission context.
1286 Must be used if the new accessor methods are to be called
1287 outside of the event listener's callback.
1289 * cspi/bonobo/cspi-bonobo.c:
1290 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1291 as second parameter instead of NULL, so we can call
1292 cspi_check_ev afterwards.
1295 (cspi_object_take): New internal method,
1296 converts a CORBA_Object reference to a hard ref on
1297 an Accessible if possible, returning NULL if the object
1298 reference is invalid or an Accessible * otherwise.
1301 (AccessibleEvent_ref):
1302 Increment the event's internal private refcount, and
1303 add the event's internal struct to an internal cache
1304 if it's not already there.
1305 (AccessibleEvent_unref):
1306 Decrement the event's refcount and remove it from
1307 the cspi event cache if refcount==0.
1308 (cspi_event_compare): New private method.
1309 Compares two event structs via their ids. Used
1311 (cspi_internal_event_lookup): New private method.
1312 (cspi_internal_event_check): New private method,
1313 a 0-order sanity check for events to make sure their
1314 private data is intact.
1315 (cspi_internal_event_add, cspi_internal_event_remove):
1316 New private methods for managiing the event cache.
1318 * cspi/bonobo/cspi-bonobo-listener.c:
1320 Initialize the new private data elements (id, magic, ref_count).
1322 * atk-bridge/bridge.c:
1323 (spi_atk_bridge_signal_listener):
1324 Fixed bug #100530, passing wrong params to emission func.
1326 * registryd/deviceeventcontroller.c:
1327 (spi_dec_button_update_and_emit):
1328 Fixed type in mask bit operations; fix for #99799.
1330 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1332 Removed some of the more dangerous workarounds from
1333 previous commit; they are only needed by GOK, which
1334 in reality should be using another method to accomplish
1335 the goals. So on reconsideration some of the workarounds
1336 need to be reverted:
1338 * registryd/deviceeventcontroller.c:
1339 (spi_keycodes_contain, spi_dec_init_keycode_list):
1340 Removed these methods, used only by a nasty hack to try
1341 and detect whether a key synthesis should be allowed
1342 to reset the XKB latch state or not. This code was only
1343 required to work around an interaction between GOK,
1344 button events, and XKB.
1345 (impl_generate_key_event):
1346 Removed hack at end of key generation that tried to
1347 "do the right thing" if XKB latch keys were generated
1348 in the midst of button press/release pairs.
1351 Added a check for HAVE_XINPUT. Not normally used yet.
1353 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1355 Workarounds and fixes for mouse event/XKB interaction.
1357 * registryd/deviceeventcontroller.c:
1358 (spi_keycodes_contain, spi_dec_init_keycode_list):
1359 New internal methods.
1360 (spi_dec_set_unlatch_pending):
1361 Split the method that tells XKB to expect an
1362 unlatch (and revert it) out of the rest of the
1363 event handling code. This method is called by the
1364 two mouse event handlers (the poll and the filter).
1365 (spi_dec_update_and_emit, spi_dec_mouse_check):
1366 New methods split from spi_dec_poll_mouse_moved.
1367 The second one is now called from inside the filterFn
1368 when an XKB delatch event is received, to determine
1369 whether to revert the delatch or not.
1370 (spi_poll_mouse_moved): Refactor; also we can now
1371 properly handle the case where multiple button states
1372 have changed between polling cycles and we didn't get
1373 notified due to another client's grab.
1375 Synchronize the server while handling an XKB notification.
1376 Ugly, but apparently necessary to avoid nasty races.
1377 Check the mouse state on receipt of an XKB latch change,
1378 to decide whether to revert the latch or not. (Latches are
1379 reverted if there is an immediately preceding mouse button
1380 event that a client has consumed, in which case we don't want
1381 the user to see the side-effect of the event).
1382 (spi_device_event_controller_forward_mouse_event):
1383 Check for modifier events and fire before resetting mouse_mask_state,
1384 prevents losing modifier events.
1386 (impl_generate_keyboard_event):
1387 If we've just generated a keyboard event for a non-shift key,
1388 we don't want to revert the pending XKB latch.
1389 Otherwise, check the modifier state (via a call to
1390 spi_dev_mouse_check) and set the relatch mask to
1391 that state before returning.
1393 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1396 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1399 * atk-bridge/bridge.c:
1400 (spi_atk_register_event_listeners):
1401 Don't re-register for ATK events if the registry has died
1402 and the app needs to re-register; the ATK listeners are in
1403 process and doing so will cause duplicate emission.
1405 * registryd/deviceeventcontroller.c:
1406 (spi_poll_mouse_moved):
1407 Reformat the source, detect and emit multiple button-change
1408 events (i.e. if multiple buttons have changed between poll
1410 Add code to detect mouse-down events even when the pointer
1411 is grabbed; workaround for GOK bug 98420.
1412 (spi_controller_register_with_devices):
1413 Call XTestGrabControl with 'impervious' flag set to True,
1414 allows us to synthesize events and query the pointer even during
1415 an active grab by another client.
1416 (spi_device_event_controller_forward_mouse_event):
1417 Set the mouse_mask_state to the mouse_button_state from
1418 the intercepted event, to synchronize the grab listener with
1421 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1423 * cspi/spi_accessible.c:
1424 (AccessibleRole_getName):
1425 Added necessary strings for making this (deprecated)
1426 method work with the new role types.
1427 (init_role_table, role_table):
1428 Added definition of SPI_ROLE_APPLICATION.
1430 * libspi/spi-roletypes.h:
1431 Added SPI_ROLE_APPLICATION.
1433 * idl/Accessibility_Role.idl:
1434 Added ROLE_APPLICATION.
1436 * docs/reference/cspi/at-spi-cspi-decl.txt:
1437 Added SPI_ROLE_APPLICATION to docs.
1439 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1441 * cspi/spi_accessible.c
1442 (cspi_init_role_table): Do not write beyond end of role_table.
1443 (Accessible_getRole): Use correct type for value returned by
1444 Accessibility_Accessible_getRole().
1446 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1447 beyond end of role_table. (This fixes bug #98269)
1449 * libspi/application.c: Add include file spi-private.h for
1450 definition of spi_init_any_nil.
1452 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1456 * libspi/spi-private.h:
1457 Added DGB() macro, and extern int _dbg declaration.
1459 * registryd/registry.c:
1460 (definitions) storage for _dbg.
1461 (spi_registry_init):
1462 Get environment variable "AT_SPI_DEBUG".
1463 (spi_registry_set_debug):
1464 New method, to initialize _dbg value.
1465 (spi_listener_struct_new, spi_registry_object_finalize):
1466 (notify_listeners_cb):
1467 Changed fprintfs to use DBG and g_warning().
1469 * registryd/deviceeventcontroller.c:
1470 (_deregister_keygrab, spi_controller_register_device_listener):
1471 Changed debug/warning messages to use DBG macro.
1473 * libspi/listener.c:
1474 (impl_notify_event):
1475 Changed warning messages to use DBG macro and g_warning().
1477 * atk-bridge/bridge.c:
1478 (atk_bridge_init, spi_atk_bridge_get_registry):
1479 (spi_atk_bridge_exit_func):
1480 (spi_atk_bridge_property_event_listener):
1481 Changed status, warning, and error messages to use
1482 g_warning, g_message, and DBG macros.
1485 Read the state of the AT_SPI_DEBUG environment variable
1486 and set a local '_dbg' accordingly.
1488 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1490 FIXES for 98836, 98842, other bugs.
1493 Revved to 1.1.4, interface-age=4, binary-age=4.
1495 * registryd/deviceeventcontroller.c:
1497 Fixed crasher bug in last_mouse_pos initialization.
1499 * registryd/registry.c:
1500 (desktop_add_application, desktop_remove_application):
1501 Added (and then commented out) some support for
1502 object context marshalling. [TODO]
1504 * atk-bridge/bridge.c:
1505 (spi_atk_bridge_event_context_create):
1506 Commented out object context creation until it can
1507 be properly tested and debugged.
1509 * registryd/registry.c:
1510 (impl_registry_notify_event):
1511 Fixed crasher bug, we were calling
1512 spi_re_entrant_list_foreach () with an empty list.
1514 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1516 * idl/Accessibility_Action.idl:
1517 * idl/Accessibility_Component.idl:
1518 * idl/Accessibility_Desktop.idl:
1519 * idl/Accessibility_Event.idl:
1520 * idl/Accessibility_Hyperlink.idl:
1521 * idl/Accessibility_Image.idl:
1522 * idl/Accessibility_Relation.idl:
1523 * idl/Accessibility_Selection.idl:
1524 * idl/Accessibility_State.idl:
1525 * idl/Accessibility_Value.idl:
1526 Updated unimplemented slot count to minimum of
1527 four for all interfaces, for ABI freeze.
1529 * idl/Accessibility_EditableText.idl:
1530 * idl/Accessibility_Text.idl:
1531 Updated unimplemented slot count to six
1534 * idl/Accessibility_Registry.idl:
1535 Updated unimplemented slot count to six
1536 (also for DeviceEventController),
1539 * idl/Accessibility_Table.idl:
1540 Updated unimplemented slot count to eight,
1543 * idl/Accessibility_Event.idl:
1544 Added CORBA_any "any_data" member to Event struct.
1546 * idl/Accessibility_Event.idl:
1547 Added CORBA_any "any_data" member to Event struct.
1549 * atk-bridge/bridge.c:
1551 atk_signal_text_changed, atk_signal_child_changed,
1552 signal ids queried from gtype system.
1553 (AtkBridgeEventContextType): New enum.
1554 (AtkBridgeEventContextData): New struct.
1555 (AtkBridgeEventContext): New struct.
1556 (atk_bridge_init_event_type_consts):
1557 New method, initializes type contants for comparison
1558 prior to emit_eventv.
1559 (atk_bridge_event_context_init): New method,
1560 initializes a CORBA_any from an AtkBridgeEventContext.
1561 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1562 initialize the event.any_data struct.
1563 (spi_atk_bridge_event_context_create): New method,
1564 creates an AtkBridgeEventContext from signal/event info.
1565 (spi_atk_bridge_event_context_free): New method.
1566 (spi_atk_emit_eventv): Changed to take an
1567 AtkBridgeEventContext parameter. We now initialize
1568 the event.any_data member prior to notifying the
1569 Registry, via the AtkBridgeEventContext.
1570 (spi_atk_bridge_property_event_listener):
1571 (spi_atk_bridge_state_event_listener):
1572 Match emit_eventv signature.
1573 (spi_atk_bridge_object_event_listener):
1574 Match emit_eventv signature, and create an
1575 event context from the event details.
1576 Free the event context afterwards.
1577 (spi_atk_bridge_window_event_listener):
1578 Create an event context, pass it to the
1582 (AccessibleEvent_getContextString):
1583 (AccessibleEvent_getContextObject):
1584 New methods, allow query of AccessibleEvent objects
1585 for more context details (via the "any_data" member
1586 of the Event struct, above).
1589 Definitions for AccessibleEvent_getContextString
1590 and AccessibleEvent_getContextObject.
1592 * cspi/spi_listener.h:
1593 (InternalEvent): New struct.
1596 (AccessibleEvent_getContextString):
1597 (AccessibleEvent_getContextObject):
1598 Implementations of new methods, for obtaining
1599 additional context information from some event types.
1601 * cspi/spi_registry.c:
1602 (SPI_registerGlobalEventListener):
1603 Added mention of active-descendant-changed event in docs.
1605 * cspi/cspi-bonobo-listener.c:
1607 Marshal the any into the AccessibleEvent via
1610 * libspi/spi-private.h:
1611 #include <orbit/orbit.h>
1613 (spi_init_any_string):
1614 (spi_init_any_object):
1615 New convenience function declarations.
1619 (spi_init_any_string):
1620 (spi_init_any_object):
1621 New convenience function implementations.
1623 * registryd/deviceeventcontroller.c:
1624 (spi_poll_dec_mouse_moved):
1625 (spi_device_event_controller_forward_mous_event):
1626 Initialize any_data member of event.
1627 (spi_deregister_controller_device_listener):
1628 Fix incorrect param pass which was preventing deregistration.
1630 * registryd/registry.c:
1631 (desktop_add_application):
1632 (desktop_remove_application):
1633 Add object data to event's any_data before dispatch.
1635 Fix for error messages from GAIL.
1637 * test/event-listener-test.c:
1638 Test new ContextString and "any_data" API:
1639 (report_text_event): New method query and output context string.
1640 (main): register a new text listener with report_text_event
1643 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1645 Fixes for bugs 98127 and 97914.
1646 * cspi/spi-roletypes.h:
1647 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1649 * cspi/spi-statetypes.h:
1650 Added SPI_STATE_MANAGES_DESCENDANTS
1652 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1653 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1654 * cspi/spi_accessible.c:
1655 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1656 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1657 Accessibility_STATE_MANAGES_DESCENDANTS
1658 * libspi/accessible.c:
1659 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1660 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1661 As requested by Bill, I also cleaned up the alignment.
1662 * libspi/relation.c:
1663 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1664 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1665 * libspi/stateset.c:
1666 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1667 Accessibility_STATE_MANAGES_DESCENDANTS
1668 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1669 Document changes reflecting modifications to roles.
1670 * docs/reference/cspi/tmpl/spi_relation.sgml:
1671 Document changes reflecting modifications to relations.
1672 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1673 Document changes reflecting modifications to states.
1675 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1678 Revved to 1.1.3, interface-age=3, binary-age=3.
1679 Added REBUILD macro.
1682 Removed accessx-gui from the tests, since we have a nice
1683 keyboard accessibility capplet now :-)
1685 * test/keysynth-demo.c:
1686 (increment_scan): removed do-nothing default: case,
1689 * test/visual-bell.c:
1690 (main) : removed do-nothing default: case,
1693 * cspi/spi_action.c:
1694 (AccessibleAction_getKeyBinding_):
1695 Documented keybinding string format.
1699 (AccessibleText_getAttributes):
1700 Documented the text attribute string format.
1701 It's changed to use semicolon delimiters also,
1702 to prevent clashes with CSS attributes, but the old
1703 trick of looking for ", " strings will still work
1704 (as unreliably as ever). Fix for bug related to 97916.
1707 Include <cspi/bonobo/cspi-bonobo-listener.h>
1708 Fixes build warning.
1709 (SPI_freeAccessibleKeySet):
1710 (AccessibleKeystrokeListener_addCallback):
1711 (AccessibleKeystrokeListener_removeCallback):
1712 Modify to use AccessibleDeviceListener API internally,
1713 instead of AccessibleKeystrokeListener.
1715 * idl/Accessibility_Event.idl:
1716 Added two more empty slots to EventListener (for a total of four).
1718 * idl/Accessibility_Accessible.idl:
1719 Added four empty slots to Accessible interface.
1721 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1723 * idl/Accessibility_Registry.idl:
1724 (KeyEventType, EventType):
1725 Marked KeyEventType as deprecated; it duplicates
1726 functionality of EventType, which has been extended to
1727 include Mouse-button events.
1728 (KeyEventTypeSeq): defined in terms of EventType.
1729 (registerDeviceEventListener, deregisterDeviceEventListener):
1730 New methods, for managing listeners to device events,
1731 which potentially may consume them.
1734 Added definition for AccessibleDeviceListener.
1736 * cspi/spi-listener.h:
1737 (enum AccessibleDeviceEventType):
1738 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1739 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1740 for backwards compat.
1741 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1742 and typedef'd AccessibleKeystroke to it for back-compat.
1743 (AccessibleDeviceListenerCB):
1744 New function prototype typedef.
1747 (AccessibleDeviceEventMask): New typedef.
1748 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1749 (AccessibleKeyMaskType):
1750 Set equivalent to AccessibleModifierMaskType for back-compat.
1751 (SPI_createAccessibleKeystrokeListener):
1752 (AccessibleKeystrokeListener_unref):
1753 Deprecated in favor of equivalent (better-named) new API below..
1754 keystroke listeners are like all device listeners.
1755 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1756 New API names for old features :-).
1757 (AccessibleDeviceListener_addCallback):
1758 (AccessibleDeviceListener_removeCallback):
1759 (SPI_registerDeviceEventListener):
1760 (SPI_deregisterDeviceEventListener):
1764 (SPI_createAccessibleKeystrokeListener):
1765 Use new preferred API, cspi_device_listener_new() and
1766 cspi_device_listener_add_cb().
1767 (AccessibleKeystrokeListener_removeCallback):
1768 Use new preferred API, cspi_device_listener_remove_cb().
1769 (AccessibleKeystrokeListener_unref):
1770 Use new preferred API, cspi_device_listener_unref().
1771 (SPI_createAccessibleDeviceListener):
1772 (AccessibleDeviceListener_addCallback):
1773 (AccessibleDeviceListener_removeCallback):
1774 Implementation of new API.
1776 * cspi/spi_registry.c:
1777 (SPI_registerDeviceEventListener):
1778 (SPI_deregisterDeviceEventListener):
1779 Implementation of new API. Fixed memory leak and removed need to
1780 allocate EventTypeSeq (thanks Michael for catching this).
1781 Squashed a wayward CORBA_exception_free that shouldn't get called.
1783 * cspi/bonobo/cspi-bonobo-listener.c:
1785 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1786 (cspi_key_event): renamed to cspi_device_event().
1787 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1788 Extended to handle mouse button events as well as key events.
1789 (CSpiKeystrokeListener):
1790 Class superceded by CSpiDeviceListener.
1791 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1792 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1794 * cspi/bonobo/cspi-bonobo-listener.h:
1795 (CSpiKeystrokeListener):
1796 Class superceded by CSpiDeviceListener.
1797 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1798 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1800 * libspi/Makefile.am:
1801 Replaced keystrokelistener.h and keystrokelistener.c
1802 with devicelistener.h and devicelistener.c; keystrokelisener.h
1803 stub retained for back-compat.
1805 * libspi/keystrokelistener.c:
1809 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1811 * registryd/deviceeventcontroller.c:
1812 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1813 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1814 (DEControllerPrivateData): Added xkb settings data.
1815 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1816 button release events (which can't be captured via XGrabButton).
1817 Don't dispatch via the 'normal' event mechanism if the device event was
1819 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1820 Handle the typeseq data in its new location (see above).
1821 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1822 New methods, for "generic" device listeners.
1823 (spi_controller_register_device_listener):
1824 Now handle mouse event listeners as well as key listeners.
1825 (spi_controller_notify_mouselisteners):
1826 New internal method.
1827 (spi_device_event_controller_forward_mouse_event):
1828 Now we notify mouse device listeners as well as generating the
1829 non-consumable "mouse:" events.
1831 We must check and restore the XKB
1832 modifier map if we consume the event, since the act of triggering
1833 a mouse event will normally reset the XKB latch. This is required for
1835 (spi_controller_register_with_devices):
1836 Load the XKB settings when registering, and register for XKB
1837 state notify events.
1838 (spi_key_eventtype_seq_contains_event):
1839 Renamed spi_eventtype_seq_contains_event, since it's used
1840 internally for all device event types now.
1841 (spi_key_event_matches_listener):
1842 Uses spi_eventtype_seq_contains_event now.
1843 (spi_device_event_controller_object_finalize):
1844 Free the private data and the XkbKeyboard struct.
1845 (impl_register_device_listener, impl_deregister_device_listener):
1846 Implementation of new IDL.
1847 (spi_deregister_controller_device_listener):
1848 New internal method.
1849 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1850 More efficient implementation, we don't have to create a new
1851 XkbControls structure every time we query.
1852 (spi_device_event_controller_class_init):
1853 Initialize the epv entries for the new IDL. Assign the
1854 "spi-dec-private" quark.
1855 (spi_device_event_controller_init):
1856 Initialize the private data.
1857 (spi_device_event_controller_forward_key_event):
1858 Removed a bogus CORBA_exception_free() call.
1860 * registryd/deviceeventcontroller.h:
1861 Replaced inclusion of keystrokelistener.h with
1864 * test/event-listener-test.c:
1865 (report_mouse_event):
1868 Added mouse-event device listener.
1870 * test/test-simple.c:
1871 (create_test_window):
1872 Fixed regression (we were instantiating a GtkRange,
1873 which is now an abstract class). Also fixed to match
1874 existing AtkRole names, this seems to have changed in ATK
1875 awhile ago; too late now I think, and the new
1876 mechanism is at least elegant and consistent with the
1877 glib enum "nick" APIs.
1879 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1881 * idl/Accessibility_Relation.idl:
1882 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1883 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1884 * idl/Accessibility_Role.idl:
1885 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1886 * idl/Accessibility_State.idl:
1887 add STATE_MANAGES_DESCENDANTS
1888 * test/event-listener-test.c:
1889 Added a listener for active-descendant events.
1891 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1893 * atk-bridge/bridge.c
1894 (atk_bridge_init): If application is Bonobo component wait until top
1895 level is added before registering
1896 (spi_atk_bridge_do_registration): New function which contains code,
1897 formerly in atk_bridge_init, to do application registration.
1898 (spi_atk_bridge_toplevel_added): Signal called when top level
1899 added to Bonobo component
1901 This fixes bug #83134.
1903 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1905 * registryd/deviceeventcontroller.c
1906 Fixed compilation error caused by calling gettimeofday()
1909 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1914 Added template for HAVE_XKB.
1917 Changes to check for XKB, and to set the HAVE_XKB #define if it
1920 * libspi/listener.c:
1921 ()impl_notify_event): Make failure to get event source name
1924 * registryd/deviceeventcontroller.c:
1925 (#include): include X11/XKBlib.h.
1926 (DEControllerPrivateData) : New struct.
1927 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1929 (dec_synth_keycode_press) (dec_synth_keycode_release):
1930 New methods; split the key synthesis code into these methods.
1931 They check XKB settings before determining the "time" values to
1932 pass to Xtest; this fixes bug #95828.
1933 (impl_generate_keyboard_event): Changed to use methods above,
1934 instead of callng Xtest directly.
1935 (spi_device_event_controller_init): Initialize new privae struct s
1937 (spi_device_event_controllr_object_finalize):
1938 Free the (new) private data.
1940 * registryd/deviceeventcontroller.h:
1941 Add new gpointer to end of struct data.
1943 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1946 Incremented revision to 1.1.2, SONAME is still '.so', library
1947 extensions are ".so.0.0.2".
1949 * registryd/deviceeventcontroller.c:
1950 FIXES FOR #93592 and #95940.
1951 (statics): renamed mouse_button_state to mouse_mask_state,
1952 added key_modifier_mask.
1953 (spi_dec_poll_mouse_moved):
1954 Added key modifier checks, and emit "keyboard:modifiers"
1955 events when the key modifiers currently in use change.
1956 Also generate "mouse:abs" events periodically, even if the mouse
1957 is stationary (should we?).
1958 Alternatively we could generate "mouse:abs" events for either all
1959 mouse movements, or every 'nth' mouse movement, or at the
1960 beginning and end of every "active" mouse period.
1962 * test/event-listener-test.c:
1963 (main): Added listener for "keyboard:modifiers" events.
1965 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1967 * libspi/keymasks.h:
1968 Added key mask #defines for mouse buttons; e.g.
1969 SPI_KEYMASK_BUTTON1, etc.
1972 Incremented dependency on ATK to version 1.1.0. (This dependency
1973 is probably premature but will soon be real enough).
1975 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1977 * libspi/hyperlink.[ch]
1978 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1979 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1982 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1987 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1989 * registryd/deviceeventcontroller.c
1990 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1991 events to be ignored.
1992 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1993 keyboard_mode so that XAllowEvents() can be called.
1997 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1999 * cspi/spi-accessible.c: Correct names of roles returned by
2000 AccessibleRole_getName(). Fixes bug #95055.
2002 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2004 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2007 * registryd/registry.c
2008 (desktop_remove_application: Write diagnostic message to stderr for
2011 (impl_accessibility_registry_deregister_global_event_listener):
2012 Correct size of lists array. This addresses bug #94555).
2014 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2016 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2019 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2021 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2024 * registryd/registry.c (impl_registry_notify_event): Remove
2025 unnecessary call to parser_event_type().
2027 * docs/reference/cspi/tmpl/spi_component.sgml:
2028 Add reference to SPI_LAYER_WINDOW.
2030 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2032 * registryd/registry.c
2033 (desktop_add_application): Remove leak.
2034 (desktop_remove_application): Remove leak.
2035 (parser_event_type): Remove leak.
2037 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2039 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2040 bogus call to CORBA_string_dup(). Also removed unnecessary
2041 g_string_dup/g_free calls.
2043 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2045 * registryd/deviceeventcontroller.c:
2046 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2048 * test/event-listener-test.c:
2049 main: commented out three redundant listeners, to reduce output
2050 noise. (They still are potentially useful for testing).
2053 2002-09-13 Michael Meeks <michael@ximian.com>
2055 * Update all the copyrights to include Ximian.
2057 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2059 * cspi/spi.h: add SPI_LAYER_WINDOW.
2061 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2062 add Accessibility_LAYER_WINDOW case.
2064 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2066 * libspi/component.c: (impl_accessibility_component_get_layer):
2067 add ATK_LAYER_WINDOW case.
2069 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2071 * configure.in: incremented micro version.
2073 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2075 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2078 Clarified and reworded our commit policy.
2081 Started an API "todo" addition list for 2.2.
2084 (impl_getSelection):
2085 Free char pointer from atk_text_get_selection, which was being leaked.
2087 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2090 Small revision to author acknowledgement.
2092 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2094 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2095 If signal has detail add it to the type of the event.
2098 2002-08-12 Michael Meeks <michael@ximian.com>
2100 * test/test-simple.c (global_listener_cb): bin bogosity.
2101 (test_keylisteners): disable, still doesn't work reliably,
2102 certainly not on my system anyway.
2104 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2105 don't leak a reference on the DEC. This round-trip
2106 fetching of the DEC per keystroke sucks, it should be
2109 * cspi/spi-private.h,
2110 * cspi/cspi-lowlevel.h,
2111 * cspi/bonobo/cspi-bonobo-listener.[ch],
2112 * cspi/bonobo/cspi-bonobo.c: get the copyright
2113 notices better - there is still a large amount of
2114 work in at-spi falsely attributed solely to Sun.
2116 * cspi/spi_main.c (cspi_object_ref): kill bogus
2117 hash lookup, just increment the ref.
2118 (SPI_freeString): make explicit the fact that we
2119 handle NULL strings just fine.
2120 (report_leaked_ref): obey coding standards.
2121 (cspi_object_hash, cspi_object_equal): kill retval.
2122 (cspi_object_release): only release if not on loan.
2123 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2124 (cspi_object_borrow, cspi_object_return): impl.
2126 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2127 use cspi_object_borrow / return.
2129 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2131 * cspi/bonobo/cspi-bonobo-listener.c:
2133 Don't call cspi_oject_new() because this is creating a new Accessible
2134 every single time that an event is fired. This causes ATs like at-poke
2135 to nolonger recognise the source of the event and thus ignore it.
2136 Re-use the object from the cache, ref it and then unref it after the
2137 listeners have been called.
2139 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2141 * test/event-listener-test.c:
2142 Added command-line options to disable mouse events (m) and
2145 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2147 * configure.in: Update required versions of ATK, GTK+ and GAIL
2149 * cspi-1.0.pc.in: Add dependency for X include files
2152 * cspi/bonobo/Makefile.am:
2153 Add $(X_CFLAGS) so that X include files
2154 are picked up even if not in standard place (bug #71686)
2156 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2158 * registryd/deviceeventcontroller.c: fix for 84261
2159 (spi_dec_mouse_moved):
2160 Added test of mouse button mask, so that we can detect mouse
2161 button release. Unfortunately we can't otherwise detect mouse
2162 button release events without consuming the mouse press event,
2163 because of the way XGrabButton works. This means that our mouse
2164 release events have a latency dependent on the polling period
2165 while the mouse button is down. At least in this case we only
2166 have to poll while the button is down, and not at other times.
2167 If the button masks don't match with what the last press event
2168 reported, we report the appropriate button release event.
2169 (spi_dec_ungrab_mouse):
2170 New method (not yet called).
2171 (spi_device_event_controller_forward_mouse_event):
2172 New method, sends mouse press event from GdkFilter.
2173 (spi_dec_init_mouse_listener):
2174 Added code to call XGrabButton, redirecting mouse button events to
2175 the root window and our Gdk event loop.
2177 Added code to filter mouse button events, and reordered.
2179 * test/event-listener-test.c:
2181 Added registration for mouse events of type "mouse:button".
2183 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2185 * registryd/deviceeventcontroller.c: partial fix for 84261
2186 (spi_dec_poll_mouse_idle):
2187 New method, a timeout which checks to see if the mouse
2189 (spi_dec_poll_mouse_moving):
2190 A timeout to be called when mouse motion is underway.
2191 (spi_dec_poll_mouse_moved):
2192 A method which fires an event if the mouse has moved, and reports
2193 whether or not it did so.
2194 (spi_dec_init_mouse_listener):
2195 A method which sets up the timeouts above.
2196 (spi_device_event_controller_new):
2197 Now calls spi_dec_init_mouse_listener.
2199 * registryd/registry.c:
2200 (spi_registry_init):
2201 Now we initialize the device event controller when the registry is
2202 initialized, instead of waiting until a client has requested a key
2203 event notification; this is because we need the event controller
2204 for mouse events, but the mouse event registration API is a
2205 "registry" call and doesn't explicitly call the
2206 deviceeventcontroller.
2207 We now report mouse motion events with a 100 ms idle latency and
2208 a 20 ms granularity when motion is in progress.
2210 * test/event-listener-test.c:
2212 We now register the "detail listener" for events of type
2213 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2214 delivered only for the first mouse event received, and thereafter
2215 "mouse:abs" events are delivered.)
2217 * cspi/spi_registry.c:
2218 DOCS: Documented the above mouse event typestrings.
2220 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2222 Happy Summer Solstice...
2224 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2225 (spi_controller_notify_keylisteners):
2226 Changes to remove a listener from the listener list, freeing its
2227 open keygrabs, if a notification to that listener fails. This
2228 means that although a dead listener can continue to hold a passive
2229 keygrab, a maximum of one dispatch to such a listener can fail
2230 before the listener is removed from the list, thus the keygrab
2231 will be released on the next occurrence.
2232 As part of this fix:
2233 (spi_notify_keylisteners):
2234 Renamed to spi_controller_notify_keylisteners, as the controller
2235 instance must now be passed as an argument.
2236 The copied 'notify' GList is now a list of DEControllerKeyListener
2237 objects, since we need more than just the CORBA reference if a
2238 notify fails and we need to deregister the listener.
2239 (impl_notify_listeners_sync):
2240 (impl_notify_listeners_async):
2241 (spi_device_event_controller_forward_key_event):
2242 Modify use of notify_keylisteners in accordance with above
2244 (spi_deregister_controller_key_listener):
2245 New method introduced by refactoring, from
2246 impl_deregister_keystroke_listener.
2247 (impl_deregister_keystroke_listener):
2248 Call spi_deregister_controller_key_listener.
2249 (spi_key_listener_clone):
2250 New method to copy a key listner without doing a 'ref' on the
2251 remote object instance; used to create a notifier list.
2252 (spi_key_listener_data_free):
2253 New method, frees data without unreffing the source.
2255 (spi_key_listener_clone_free): new method.
2256 (spi_key_listener_free):
2257 refactored to call spi_key_listener_data_free.
2259 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2261 * registryd/registry.c: [fix for bug 86048]
2262 (notify_listeners_cb):
2263 Clear CORBA system exceptions which occur when notifying
2264 listeners, before returning to the source of the original event,
2265 since the event source doesn't care if the relayed notify failed.
2266 In other words, don't complain to the atk-bridge if the registry
2267 could not notify all its listeners, that's no fault of the
2268 application and thus should not appear to be an error from the
2269 application's perspective.
2271 * cspi/spi_main.c: [fix for bug 85980]
2273 Replaced use of bonobo_object_dup_ref with call to the wrapper
2274 method, csou_dup_ref (); this silences a compiler warning and
2275 provided more portability.
2277 Ping the registry before return, and restart if necessary.
2279 * cspi/bonobo/cspi-bonobo.c:
2281 New internal method.
2283 Fixed this method to return an object reference, as it should have
2286 * cspi/cspi-lowlevel.h:
2287 Added internal definition for cspi_ping() and fixed
2288 return type of cspi_dup_ref().
2291 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2293 * atk-bridge/bridge.c: [fix for bug 85305]
2294 (spi_atk_bridge_register_application):
2295 New method where the initial application registry calls have been
2296 moved; it allows an application to re-register in response to
2297 certain error conditions (such as a registry restart, see below).
2299 Moved some initialization code to the method
2300 spi_atk_bridge_get_registry, below.
2301 (spi_atk_bridge_get_registry):
2302 New, private accessor function for the Accessibility_Registry
2303 instance. If the registry has not been started before, or has
2304 died (as detected by failure of a CORBA exception), it is
2305 restarted before return, and spi_atk_bridge_register_application
2306 is called again to register with the new bridge instance.
2307 (spi_atk_emit_eventv):
2308 Set registry_died on error; use spi_atk_bridge_get_registry () to
2309 access the registry.
2311 * registryd/registry.c:
2312 (impl_accessibility_registry_register_global_event_listener):
2313 Set listener's event_type_quark to etype.minor instead of
2314 etype.major (fix for bug 84856).
2316 * test/event-listener-test.c:
2317 (report_detail_event):
2318 Change the output string so that user/tester can tell that the
2319 'detail listener' was called instead of the 'generic listener'.
2321 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2323 Fixes for bugs 84900, 84908, 84897, 84898.
2328 Revved version to 1.1.0
2329 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2330 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2332 * idl/Accessibility_Registry.idl:
2333 (EventListener::notifyEvent):
2334 Removed 'oneway' directive after extensive consulation with
2335 ORBit2 team and others. This means also that unref() of the event
2336 source can and should be done synchronously after emission, rather
2337 than remotely in the client, after servicing the notify call on
2340 NOTE: This change speeds up listener performance considerably, but
2341 introduces new latency on the application side. We may want to
2342 add an event queue to the atk-bridge.
2344 * atk-bridge/bridge.c:
2345 (spi_atk_bridge_focus_tracker):
2346 Do a local unref() on the event source after emission.
2348 * registryd/registry.c:
2349 (desktop_remove_application):
2350 Do an unref() on the event source after emission.
2351 (desktop_add_application):
2352 Do an unref() on the event source after emission.
2353 (notify_listeners_cb):
2354 When relaying an event, don't automatically add the event source
2355 to the local object cache, just CORBA_dup it instead. Likewise,
2356 if this method reenters, release the ref rather than calling
2358 (impl_registry_notify_event):
2359 No longer call remote unref() on the event source after dispatch.
2361 * libspi/eventlistener.c:
2362 (impl_accessible_event_notify_event):
2363 Removed remote unref ()
2365 * cspi/bonobo/cspi-bonobo-listener.c:
2367 We now call cspi_object_new() instead of cspi_object_add() on
2368 receipt of an event; thus we only have an implicit object ref
2369 while the cspi_event method is being executed. If we need to keep
2370 a reference to the object, the listener must call ref() on the
2371 object. Thus also we don't need to call cspi_object_unref() after
2372 invoking the listener callbacks in this method.
2376 New internal API for creating a new cspi object, without adding it
2377 to the object cache.
2379 Now uses cspi_object_new() to create the cspi object instance.
2381 Now checks to see if the object is in the internal object cache,
2382 and adds it if necessary before incrementing its refcount (note
2383 that new objects are added with a refcount of 1).
2384 (report_leaked_ref):
2385 New method which gives some information on leaked object instances
2386 if leak detection is turned on.
2388 * test/event-listener-test.c:
2389 (timing_test_event):
2390 New method, used for testing event delivery timing for special
2391 events of type "object:test". It reports elapsed time and
2392 events/sec every 500 events.
2394 Added a new listener, 'test listener', to check timing of event
2395 receipt as noted above.
2397 Added some timing output here also, reports elapsed time every 100
2400 * test/stress-test.c:
2401 Emit events of type "object:test", for use with "event-listener-test".
2403 * test/test-simple.c:
2404 (global_listener_cb):
2405 Call Accessible_ref() on the event source before calling
2406 validate_accessible, since the validation process does pointer
2407 comparisons on the event source, meaning that the event source
2408 needs to be added to the local object cache first. Any use of
2409 such pointer comparisons between Accessible objects requires that
2410 the caller hold an explicit reference to those objects.
2411 We also must therefore call Accessible_unref() when leaving this method.
2413 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2415 * registryd/deviceeventcontroller.c:
2416 (spi_controller_update_key_grabs):
2417 Fix for #84735, subsequent keygrab listeners not informed of
2418 registration failure.
2421 (spi_base_construct):
2422 Add an assertion on construct, to make sure the GObject passed in
2423 is really a GObject.
2425 Explicitly initialize object->gobj pointer to NULL;
2427 * cspi/bonobo/cspi-bonobo-listener.c:
2428 (cspi_object_add_ref):
2429 New method, can specify whether to dup-ref a bonobo object passed
2430 in if it's newly added to the object cache.
2432 Now calls cspi_object_add_ref with second param of "FALSE". This
2433 prevents us from doing a pointless dup-ref followed by
2434 release-unref for all those cases where the object is already in
2435 our object cache (fix for #85205).
2437 * atk-bridge/bridge.c:
2438 (spi_atk_bridge_idle_init):
2439 Removed this method, we don't need to initialize in an idle
2442 Changed to call spi_atk_register_event_listeners directly, not via an
2443 idle handler. (fix for #81139)
2444 (gnome_accessibility_module_shutdown):
2445 Removed conditional around deregistration of listeners, since we
2446 don't use the idle handler and thus have always registered when
2448 (spi_init_keystroke_from_atk_key_event):
2449 Changed references to Accessibility_KEY_PRESSED to
2450 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2452 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2454 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2459 * test/stress-test.c:
2462 (may have been an incomplete commit yesterday?)
2464 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2467 Added target for new stress-test.
2469 * test/stress-test.c:
2470 New test, sends 1000 focus notifies in quick succession.
2472 * test/key-listener-test.c:
2473 Now we report whether a keylistener registration
2474 request succeeded or failed.
2476 * test/event-listener-test.c:
2477 Uncommented some listeners which are now implemented.
2480 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2482 * registryd/deviceeventcontroller.c:
2483 (spi_controller_update_key_grabs):
2484 Fix for #82509, lack of failure notification when
2485 ALL_WINDOWS keygrabs fail due to XGrabKey
2486 failure: we synchronize the server when
2487 registering a passive grab, to make sure we get the
2488 error message before the call returns.
2490 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2492 * test/test-simple.c:
2494 Removed #ifdef KEY_IMPL_WORKS guards.
2495 (test_keylisteners):
2496 Removed #ifdef KEY_IMPL_WORKS guards.
2497 Fixed bug which was causing a hang waiting for a
2498 "press" event (which was already overwritten by a "release"
2499 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2501 Added code to set globals 'key_press_received' and
2502 'key_release_received'.
2505 Added section "1.1 API Proposed Additions" which
2506 lists API additions desired for at-spi-1.1 (only one so far).
2507 Updated TODO list a little.
2509 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2511 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2514 * configure.in: Revved to 1.0.0.
2516 * idl/Accessibility_Registry.idl:
2517 (registerKeystrokeListener):
2518 Added boolean return value.
2520 * registryd/registry.c:
2521 (notify_listeners_cb): Minor fix to debug output.
2523 * registryd/Accessibility_Registry.server.in.in:
2524 Revved version number in OAFIID to 1.0.
2526 * registryd/registryd.c:
2528 Use new OAFIID version.
2530 * cspi/bonobo/cspi-bonobo.c:
2532 Use new OAFIID version.
2538 * atk-bridge/bridge.c:
2540 Use new OAFIID version.
2542 * registryd/deviceeventcontroller.c:
2543 (impl_register_keystroke_listener):
2544 Added CORBA_boolean return value.
2545 (spi_controller_register_device_listener):
2546 Added gboolean return value.
2547 (spi_controller_register_global_keygrabs):
2548 Added gboolean return value.
2549 (spi_key_set_contains_key):
2550 Added implementation for many more control keys,
2551 for instance F1-F12, arrow keys, End, Home, Page_Up,
2553 [TODO: some still not implemented].
2555 * text/screen-review-test.c:
2556 (text_chunk_pad_string):
2557 New function: it provides mapping between coordinate
2558 positions of text chunks and character positions in the
2559 screen-review-line output string.
2560 (text_chunk_to_string):
2561 New function, calls text_chunk_pad_string with various
2562 pad/delimiter characters. Pushbuttons are delimited with
2563 square brackets, Frames with vertical 'pipe' lines, and
2564 other text with double quotes.
2565 (text_chunk_list_to_string):
2566 Calls new function text_chunk_to_string.
2567 (toplevel_composite):
2568 New function to composite layers CANVAS through
2569 POPUP in each toplevel (other layers are composited
2570 across toplevels, i.e. BACKGROUND and OVERLAY).
2571 (review_buffer_composite):
2572 Revise to use new methods.
2578 2002-05-31 Laszlo Peter <laca@sun.com>
2580 * configure.in: add the Xtst libdir to the runpath on Solaris,
2581 since it's not in the default library search path.
2583 2002-05-29 jacob berkman <jacob@ximian.com>
2585 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2587 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2589 * test/screen-review-test.c:
2590 (text_chunk_pad_string):
2591 Added method, which pads the string according to the
2592 text bounds of the chunk. It also takes a 3-character
2593 string as a param which indicates the characters to be
2594 used for start, padding, and end delimitation of the chunk.
2595 (text_chunk_to_string):
2596 Changed to use text_chunk_pad_string.
2598 * configure.in: Fixed bug in AC_OUTPUT that was
2599 causing path substitution in Accessibility_Registry.server
2602 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2604 * text/screen-review-test.c:
2605 (guess_string_clip):
2606 New method which attempts a best-guess at clipping
2607 text from components (like Java labels) which don't
2608 actually implement AccessibleText. This inaccurate
2609 clip is based on the assumption that the label is
2610 justified left-and-right, and monospaced.
2611 (text_chunk_get_clipped_string):
2612 We now call guess_string_clip() for text-containing
2613 components that don't implement AccessibleText.
2615 * test/screen-review-test.c:
2616 (review_buffer_get_text_chunk):
2617 We now pull "name" from labels if they do not implement
2618 AccessibleText (i.e. for Java labels).
2619 (get_screen_review_line_at):
2620 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2623 Replaceded AC_OUTPUT target
2624 registryd/Accessibility_Registry.server with
2625 registryd/Accessibility_Registry.server.in.
2627 * registryd/Accessibility_Registry.server.in:
2628 Removed (this is now a Makefile target).
2630 * registryd/Accessibility_Registry.server.in.in:
2631 Added (source for target above). We now use $(libexecdir) as
2632 prefix for the executable at-spi-registryd.
2634 * registry/Makefile.am:
2635 Now install at-spi-registryd into $(libexecdir), and build .server
2636 file with path (see above).
2638 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2640 * test/screen-review-test.c:
2641 (text_chunk_get_clipped_string):
2642 We now check to see if words fall within clip bounds
2643 before resorting to character-by-character clip bounds testing.
2645 * TODO: Added a section for "2.2 Proposed API Additions".
2647 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2649 * test/screen-review-test.c:
2651 Added a screen review benchmarking and test program to test
2654 * cspi/spi_accessible.c:
2656 Made some of the debug strings passed to cspi_check_ev a
2657 little more specific.
2659 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2661 * test/screen-review-test.c: Fix crashes in debug statements
2663 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2665 * test/screen-review-test.c: Added this file.
2667 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2669 * atk-bridge/bridge.c: changed "object:state-change" to
2670 "object:state-changed" to match docs.
2672 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2674 * atk-bridge/bridge.c: Hooked up state-change event details.
2676 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2678 * registryd/registry.c:
2679 Fixed quarking bug in event string parsing; now events with
2680 detail parameters get matched correctly to listeners.
2683 * util/idl/Magnifier.idl: remove.
2685 * util/*.[ch]: Remove.
2686 Magnification utilities and IDL are now in module gnome-mag.
2688 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2690 * registryd/deviceeventcontroller.c:
2691 Fixed bug in grab key conversion which was causing keycode grabs
2692 to be converted to AnyKey grabs.
2695 updated NEWS file to reflect recent spin-off of gnome-mag.
2697 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2699 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2700 busted AccessibleStateSet_compare. Removed redundant casts.
2702 * cspi/spi-action.c: Removed redundant casts.
2704 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2706 * cspi/spi_component.c: Fixed typos and casting error.
2708 * cspi/spi_editabletext.c: Removed redundant casts.
2710 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2712 * cspi/spi_hypertext.c: Eliminated redundant casts.
2714 * cspi/spi_image.c: Eliminated redundant casts.
2716 * cspi/spi_registry.c: Eliminated redundant casts.
2717 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2718 * cspi/spi_selection.c: Removed redundant casts.
2719 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2720 handling. Screen geometry and text offsets were being returned as 0
2721 on error which is technically valid-- changed these to return -1.
2722 Added marshaller for text boundary types to fix bug with boundary
2723 types being passed incorrectly to atk.
2725 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2728 * cspi/spi_registry.c:
2729 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2730 which was uncovered by the recent key changes.
2732 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2734 * test/event-listener-test.c:
2736 Added new test, "event-listener-test";
2737 this code does two things; it benchmarks traversal time
2738 for the accessible hierarchy for the first running accessible
2739 app, and it connects listeners for all supported event types.
2740 It is thus useful as an example event listener and for
2741 diagnostics/debugging of event generation.
2743 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2746 Removed unnecessary dependency on libutil.
2749 Revved micro version: 0.13.1
2751 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2754 Removed util/Makefile from targets.
2757 Removed util subdir from SUBDIRS (temporarily,
2758 pending removal of magnifier-only code
2762 #ifdef-ed out magnifier dependencies, since
2763 magnifier IDL, headers, and binary now live in
2764 module gnome-mag and we don't want at-spi to depend
2765 on gnome-mag. A magnifier demo which can run alongside
2766 simple-at is forthcoming in the gnome-mag module.
2768 NOTE: Split magnifier binary, IDL, and magnification
2769 activation code from at-spi into module gnome-mag.
2771 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2773 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2774 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2776 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2779 Revved to version 0.13.0
2781 * idl/Accessibility_Registry.idl:
2782 Changed definition of KeySet from sequence of longs to sequence of
2783 KeyDefinitions, and added KeyDefinition struct.
2784 Required for fix to bug 80616.
2786 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2787 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2788 to use new definition (see above).
2790 * registryd/deviceeventcontroller.c: handle_keygrab(),
2791 spi_keyset_contains_key():
2792 Changed to make use of new struct; this allows matching based on
2793 string key-name, for instance "Tab". This also allows matching of
2794 composed characters, non-alphanumeric characters in a way that
2795 doesn't involve dependencies on X keysym codes directly, etc.
2797 * test/key-listener-test.c:
2798 Added test for Alt-Tab key using "string" specification of keyset,
2799 and modified one of the tests to use a keycode-based keyset.
2800 Thus this test both tests and demonstrates the creation and use of
2801 keysets of three forms: specified via keycode array,
2802 keysym array, and string array. (The string case only contains a
2803 single string, i.e. a string array of length 1).
2806 Turned on PRINT_TREE option by default. Also fixed a
2807 string-freeing bug in the PRINT_TREE code.
2808 Added a listener to window:minimize events.
2810 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2812 * atk-bridge/bridge.c:
2813 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2814 for window:activate and window:deactiveate
2815 (atk_bridge_property_event_listener atk_bridge_signal_listener
2816 atk_bridge_window_event_listener) Tidy debug code
2818 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2820 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2821 Fixed handling for NULL return value from ATK.
2823 * libspi/action.c libspi/component.c libspi/editabletext.
2824 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2825 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2826 Removed redundant casts.
2828 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2829 Fixed off by one bug.
2831 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2832 function not present in idl)
2834 2002-05-02 jacob berkman <jacob@ximian.com>
2836 * atk-bridge/Makefile.am: make atk-bridge a real module
2838 2002-04-26 Radek Doulik <rodo@ximian.com>
2840 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2841 atk_state_types table
2843 2002-04-22 jacob berkman <jacob@ximian.com>
2846 * libspi/Makefile.am: add deps on the built files to help
2847 automake, and don't version the ORBit typelib
2849 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2851 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2852 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2853 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2854 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2855 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2856 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2857 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2858 libspi/accessible.h libspi/accessible.h libspi/base.h
2859 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2860 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2861 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2862 libspi/spi-private.h libspi/statetset.h libspi/table.h
2863 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2864 util/mag_client.h util/mag_control.c util/mag_image.c
2865 util/mag_image.h util/magnifier.c util/magnifier.h:
2866 Add missing file headers; standardize existing ones
2868 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2870 * atk-bridge/bridge.c: Added window event support.
2872 2002-04-18 Michael Meeks <michael@ximian.com>
2874 * libspi/relation.c (impl_getNTargets): impl.
2875 (impl_getTarget): impl.
2877 * libspi/Makefile.am: fix stateset install.
2879 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2882 Started putting useful info in this file.
2884 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2886 * atk-bridge/bridge.c:
2887 Propagate state-changed notifications to ATs
2889 * cspi/spi_registry.c: update docs to reflect actual behavior of
2890 state-change events.
2892 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2895 Incremented version to 0.12.1
2897 * util/mag_client.h:
2898 Add missing declaration for magnifier_exit,
2899 used by mag_control.c - Forte compiler didn't like
2900 the implicit redeclaration of the function :-(
2903 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2906 Revved version to 0.12 due to API change (see below).
2908 * cspi/spi-roletypes.h:
2909 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2910 definition from the inline docs, and added docs
2911 for SPI_ROLE_LAST_DEFINED.
2914 * cspi/spi_streamablecontent.c:
2915 Added missing seek_type parameter to
2916 (so far unused) method,
2917 AccessibleStreamableContent_seek().
2918 [ RT approval JodyG. ]
2921 Fixed docs for SPI_createAccessibleKeystrokeListener.
2923 * cspi/spi_registry.c:
2924 Fixed docs for SPI_KEYSET_ALL_KEYS.
2926 * docs/reference/cspi/at-spi-cspi-sections.txt:
2927 Added a number of missing APIs to SECTIONS.
2929 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2931 * registryd/Makefile.am:
2933 * cspi/bonobo/Makefile.am:
2934 Add $(X_LIBS) to makefiles.
2936 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2939 Revved version to 0.11.
2941 * libspi/component.c:
2942 Added implementation for grabFocus.
2944 * idl/Accessibility_Component.idl
2945 (Accessibility_Component_grabFocus):
2946 Made this method return boolean to indicate success or failure, to
2947 be consistent with cspi and the corresponding ATK method.
2949 * idl/Accessibility_Selection.idl
2950 (Accessibility_Selection_selectAll) :
2951 Made these methods return boolean to indicate success or
2952 failure, to be consistent with cspi and the corresponding ATK methods.
2954 * idl/Accessibility_EditableText.idl
2955 (Accessibility_EditableText_setTextContents,
2956 Accessibility_EditableText_insertText,
2957 Accessibility_EditableText_cutText,
2958 Accessibility_EditableText_deleteText,
2959 Accessibility_EditableText_pasteText):
2960 Made these methods return boolean to indicate
2963 * cspi/spi_editabletext.c:
2964 Made these methods return booleans.
2966 * libspi/selection.c:
2967 * libspi/component.c:
2968 * libspi/editabletext.c:
2969 Connected the boolean returns from ATK
2970 to the server-side code referenced above.
2972 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2974 * idl/Accessibility_Table.idl: Added missing methods,
2975 Accessibility_Table_addRowSelection,
2976 Accessibility_Table_addColumnSelection,
2977 Accessibility_Table_removeRowSelection,
2978 Accessibility_Table_removeColumnSelection.
2981 Added C wrappers for above IDL:
2982 AccessibleTable_addRowSelection,
2983 AccessibleTable_addColumnSelection,
2984 AccessibleTable_removeRowSelection,
2985 AccessibleTable_removeColumnSelection.
2988 Added server-side implementation code for IDL above, connecting
2989 to pre-existing ATK api.
2991 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2993 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2995 * libspi/accessible.c: Added implementation fo
2996 Accessibility_Accessible_get_state.
2998 * libspi/libspi.h: Added stateset.h to the list of includes.
3000 * libspi/stateset.c: Fixed broken implementation.
3002 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3005 Added implementation code for Accessibility_Magnifier_exit ().
3007 * util/mag_control.c:
3008 Added test code for above method; you can
3009 now kill an existing magnifier via
3010 ./mag_control q, from the util directory.
3012 * test/key-listener-test.c:
3014 Added a new test, for our key listener API.
3016 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3018 * test/app.c, test/keysynth-demo.c:
3020 Replace use of snprintf with g_snprintf.
3021 (fix for bugzilla 78249)
3023 2002-03-27 Michael Meeks <michael@ximian.com>
3027 * util/Makefile.am (INCLUDES): fix.
3028 (DONT_DIST_SOURCE): don't distribute the
3031 * libspi/Makefile.am (dist-hook): ditto.
3033 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3035 * libspi/hypertext.c:
3036 Fix warnings when yelp is used with atk-bridge
3038 2002-03-21 Michael Meeks <michael@ximian.com>
3040 * libspi/application.c (spi_application_new):
3041 use spi_accessible_construct so we use the AtkObject
3044 2002-03-19 Michael Meeks <michael@ximian.com>
3046 * registryd/registry.c (desktop_remove_application),
3047 (desktop_add_application): clean coding style.
3049 * registryd/desktop.c (spi_desktop_remove_application),
3050 (spi_desktop_add_application): kill re-enterency hazards.
3051 (spi_desktop_dispose): remove bogus redundant cast
3052 obscuring bug; fix bug too.
3053 (spi_desktop_init): make the desktop object immortal.
3055 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3058 Added a #define-guarded tree-traversal step
3059 when enumerating the apps (diagnostic tool).
3061 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3063 * idl/Accessibility_Role.idl:
3064 Added ROLE_DRAWING_AREA which seemed to be missing from the
3067 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3069 * cspi/spi-roletypes.h cspi/spi_accessible.c
3070 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3073 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3074 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3075 AT when applications are added and removed from the desktop. This
3076 reverts the previous broken implementation using the backing
3077 AtkObject for the SpiDesktop.
3079 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3081 * registryd/desktop.c: emit the "children-changed::add" and
3082 "children-changed::remove" signals on the backing ATK object for
3083 the desktop so AT can tell when applications are started and shut
3086 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3088 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3090 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3092 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3094 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3096 * cspi/state-types.h: synched with IDL and ATK
3098 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3100 * libspi/accessible.c
3101 (impl_accessibility_accessible_get_child_at_index):
3102 Change return value for g_return_if_fail ()
3103 to CORBA_OBJECT_NIL instead of "0" (!)
3105 * registryd/Makefile.am:
3106 * registryd/Accessibility_Register.server.in:
3107 Changed name of executable, "registryd",
3108 to something more informative:
3111 2002-03-13 Michael Meeks <michael@ximian.com>
3113 * atk-bridge/bridge.c (atk_bridge_init): don't register
3114 if we're in a bonobo-component, rather than a bonobo app.
3116 2002-03-13 Michael Meeks <michael@ximian.com>
3118 * atk-bridge/bridge.c (gtk_module_init): split
3119 out body to (atk_bridge_init): here, since otherwise
3120 we get symbol conflicts and oddness when invoked
3121 from (gnome_accessibility_module_init): here (upd.)
3123 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3126 New file. Explicitly allow "build sheriff" putbacks provided
3127 they are tested on Solaris.
3129 * docs/reference/cspi/Makefile.am:
3130 Added '-' to the "cp" command for index.sgml.
3131 ("patch by thomasvs, soon coming to a GUADEC near you")
3134 Incremented version number (0.9.0) for new release.
3135 Changed macro that checks for popt, to better detect
3136 obsolete versions of popt.
3139 Added X_LIBS to AC_SUBST, for applications
3140 that call Xlib API directly.
3143 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3146 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3149 Fix regression caused by hard-coding major
3150 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3153 * test/test-simple.c (test_editable_text),
3154 (test_test): revert previous change (error was
3155 a regression in gail which is now fixed).
3157 2002-03-04 Michael Meeks <michael@ximian.com>
3159 * test/test-simple.c (test_editable_text),
3160 (test_text): pass G_MAXINT instead of '-1' for
3161 whole string - is this a good thing !?
3163 * cspi/spi_accessible.c
3164 (Accessible_getRelationSet): fix crasher bug
3165 overwriting the end of the array.
3167 * test/test-simple.c (validate_accessible): free,
3168 not g_free returned relation set.
3170 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3172 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3173 implemented stateset support
3175 * idl/Accessibility_State.idl: Made necessary changes to
3176 the IDL to support state sets.
3178 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3180 * registryd/deviceeventcontroller.c:
3181 Added implementation for generateMouseEvent.
3183 * cspi/spi_registry.c:
3184 Connected new implementation for generateMouseEvent
3187 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3190 Incremented revision (but no change in public API
3191 outside of 'utils', which are not installed public yet.)
3193 * libspi/component.c:
3194 Changed to use atk_component API for layers and
3195 mdi_zorder, instead of deprecated atk_object API.
3197 Magnification Utility Enhancements:
3200 Added implementation of createZoomRegion, clearAllZoomRegions,
3201 resizeZoomRegion. Added new commandline argument
3202 "--no-initial-region". Note that clearAllZoomRegions doesn't
3203 unmap the old '0' region as it should (yet), and the other
3204 methods only work when creating/resizing a single region,
3205 which is "region 0".
3206 (Code for multiple region support will be added later.)
3209 Now we raise the magnifier window each time it's refreshed;
3210 this will help keep it on top.
3212 * util/mag_client.h:
3213 Added simple wrappers for above, used by mag_control.
3214 For general use, it's recommended to use the bonobo magnifier
3215 control API directly instead of using these wrappers.
3218 Moved ZoomRegionData from magnifier.c to this file.
3220 * util/mag_control.c:
3221 Added some code to exercise new IDL implementations.
3223 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3225 * libspi/text.c: Provide implementation for getAttributes.
3227 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3230 Incremented revision.
3232 * test/test-simple.c:
3233 Replaced use of deprecated g_main_iteration with
3234 g_main_context_iteration.
3236 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3239 Incremented revision for desktop alpha 2.
3241 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3243 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3246 * test/simple-at.c: include netinet/in.h.
3248 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3250 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3251 use NULL, not CORBA_OBJECT_NIL.
3253 * libspi/accessible.c:
3254 (impl_accessibility_accessible_get_relation_set):
3255 allocate the sequence correctly.
3257 * libspi/remoteobject.h: kill spi_remote_object_new.
3259 * test/test-simple.c: (validate_accessible): add code
3260 to test relation sets, now all we need is to figure
3261 out how to excercise this code path :/
3263 2002-01-18 Michael Meeks <michael@ximian.com>
3265 * test/test-simple.c
3266 (key_listener_cb): consume the key.
3267 (test_keylisteners): update.
3268 (main): wait for any pending unrefs on events.
3270 * registryd/deviceeventcontroller.c
3271 (spi_controller_update_key_grabs): only re-issue the
3272 grab on a key release.
3273 (spi_device_event_controller_forward_key_event):
3274 refresh the keygrabs before we notify the listeners,
3275 to reduce the X ungrab / re-grab race.
3276 (spi_controller_register_with_devices): remove
3277 XSelectInput - we do that with the gdk_window_ call.
3278 (_spi_controller_device_error_handler): return a value.
3279 s/GDK_DISPLAY/spi_get_display/
3281 2002-01-17 Michael Meeks <michael@ximian.com>
3283 * registryd/deviceeventcontroller.c
3284 (_deregister_keygrab): don't blow out the later
3287 * test/test-simple.c (test_keylisteners): do a
3288 more intelligent validation.
3290 2002-01-14 Michael Meeks <michael@ximian.com>
3292 * atk-bridge/bridge.c
3293 (gnome_accessibility_module_init),
3294 (gnome_accessibility_module_shutdown): impl.
3295 (gtk_module_init): protect vs. double inits.
3296 (add_signal_listener): impl.
3297 (spi_atk_bridge_state_event_listener): kill
3298 (deregister_application): split out of
3299 (spi_atk_bridge_exit_func): here.
3301 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3304 Added caret tracking when using magnifier, and
3305 now use text bounds for focus tracking of text elements, rather than
3306 the component bounds - this is helpful for short text fields in long
3307 table cells, at high magnification.
3309 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3311 * registryd/deviceeventcontroller.c:
3312 Regression fix for keylistener de-registration; global keygrabs
3313 were not being released when deregisterKeystrokeListener was
3314 called in cspi, since
3315 Accessibility_DeviceEventController_deregisterKeystrokeListener
3316 was called with a zero-length keyset. That is because the cspi
3317 method, SPI_deregisterKeystrokeListener, does not take a keyset
3318 parameter but instead should remove all the key grabs held be a
3320 The code in impl_deregister_keystroke_listener was changed to copy
3321 the keylist from the listener instance previously registered with
3322 the DeviceEventController before releasing the grabs.
3324 * registryd/registry.c:
3325 * registryd/deviceeventcontroller.c:
3326 * libspi/spi-private.h:
3328 Changed spelling of "re-enterant" to "re-entrant" globally.
3330 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3332 * test/test-simple.c:
3333 Changed key listeners test - the test was slightly mis-using the
3334 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3335 It now uses '=' as the key event listened to and generated,
3336 relying on a keysym match rather than assuming that keycode 33
3337 is always equal to keysym '!'.
3339 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3342 Changed simple-at to use a specific keyset, rather than
3343 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3344 manager, desktop, etc.
3346 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3348 * registryd/deviceeventcontroller.c:
3349 Replaced standard X error handler with a special handler that
3350 is non-fatal for failed keygrabs. This works around
3351 problems with keygrab clashes sometimes observed on
3353 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3354 mouse handling code as yet).
3356 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3359 Incremented revision for desktop alpha release.
3362 Fixed a couple of the more glaring errors (still not
3365 2002-01-11 Michael Meeks <michael@ximian.com>
3367 * registryd/deviceeventcontroller.c
3368 (spi_device_event_controller_forward_key_event): kill
3369 XUngrabKey / XKeyGrab race.
3370 (spi_controller_grab_keyboard): rename to
3371 (spi_controller_update_key_grabs): this, and deal
3372 with incremental adding / removing grabs more
3374 (_register_keygrab): ensure we're not pending a remove.
3375 (spi_grab_mask_free): impl.
3376 (spi_controller_register_global_keygrabs): split out
3378 (handle_keygrab): impl.
3379 (_deregister_keygrab): impl.
3380 (spi_controller_deregister_global_keygrabs): impl.
3381 (spi_controller_update_key_grabs): re-issue the grab if
3382 we just recieved a notification.
3384 * test/test-simple.c (key_listener_cb): remove debug.
3386 * registryd/deviceeventcontroller.c
3387 (spi_controller_register_device_listener): after
3388 registering a global keygrab, actualy register it !
3389 don't wait for a timeout; doh !
3391 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3392 to make it more readable / manipulable.
3393 s/grabmask/grab_mask/ s/refcount/ref_count/
3394 s/keyval/key_val/ s/modmask/mod_mask
3396 2002-01-08 Michael Meeks <michael@ximian.com>
3398 * registryd/deviceeventcontroller.c
3399 (spi_controller_register_with_devices): use gdk calls to
3401 (global_filter_fn): implement the filter.
3402 (spi_device_event_controller_check_key_event): rename to
3403 (spi_device_event_controller_forward_key_event): this & upd.
3404 (spi_get_display): replace with GDK_DISPLAY.
3406 * registryd/deviceeventcontroller.c
3407 (spi_controller_deregister_device_listener): unroll into
3408 (impl_deregister_keystroke_listener): here to simplify.
3409 (spi_controller_register_global_keygrabs): split cut and
3410 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3411 (spi_controller_deregister_device_listener): remove.
3412 (impl_register_mouse_listener): remove, no mouse listener
3413 support in at-spi-1.0
3415 * registryd/registry.c
3416 (_device_event_controller_hook): kill.
3417 (spi_registry_init): upd.
3419 * registryd/deviceeventcontroller.c
3420 (spi_device_event_controller_class_init): upd.
3421 (spi_check_key_event): merge into.
3422 (spi_device_event_controller_check_key_event):
3423 here and kill strange static ev init, don't leak
3424 the x_event - nor dynamicaly allocate it.
3426 * registryd/registry-main.c (main): re-direct
3427 timeout to remove strange vtable mess.
3429 * registryd/deviceeventcontroller.c
3430 (remove_listener_cb): impl.
3431 (spi_controller_deregister_device_listener):
3432 fix re-enterancy hazard.
3434 2002-01-07 Michael Meeks <michael@ximian.com>
3436 * registryd/deviceeventcontroller.c
3437 (spi_device_event_controller_new): upd.
3438 (impl_notify_listeners_sync): upd. debug.
3439 (spi_notify_keylisteners): fix re-enterancy hazards,
3440 prettify, remove O(n*n) iteration.
3441 (spi_controller_grab_keyboard): fix iteration.
3442 (spi_check_key_event): re-format to suit coding style.
3443 Clean all the warnings - we're warning free.
3445 * registryd/deviceeventcontroller.h:
3446 * registryd/registry.h: make mutualy referential with
3447 typesafe forward references instead of (!) void pointer
3450 2002-01-11 Michael Meeks <michael@ximian.com>
3452 * cspi/spi_accessible.c (role_names): add a role name
3453 to sync this array with the enum; and make the regression
3456 2002-01-10 Michael Meeks <michael@ximian.com>
3458 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3459 allow expansion of enumeration & kill warning.
3461 * test/test-simple.c (key_listener_cb): impl.
3462 (test_keylisteners): impl.
3464 * cspi/spi-listener.h: make listener signatures const
3465 on the provided (const) events.
3467 * test/keysynth-demo.c: upd. to const events.
3469 * test/simple-at.c: ditto.
3471 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3474 Rev the version to 0.5 (the previous tarball was named 0.4,
3475 even though the micro number was 3), so we need to rev upwards
3476 again for beta2/"desktop-alpha"
3479 Checked in a demo script, which requires editing before use!
3480 Proceed with caution.
3483 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3485 * cspi/spi_accessible.c:
3486 Add a couple of missing enum initializations, and fix some enum
3489 * cspi/spi_registry.c:
3490 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3492 * docs/reference/cspi/at-spi-cspi-sections.txt:
3493 Remove/fix a couple of broken document references.
3496 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3497 as Alt-Control to listen for commands, since on some systems
3498 Control-Alt may already be grabbed.
3500 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3503 Update version number to 0.4 for Beta2.
3505 * libspi/accessible.c, libspi/accessible.h:
3506 Expose spi_accessible_construct, to enable libgail-gnome
3507 construction from spi_accessible subtype.
3509 * utils/magnifier.c:
3510 Workaround for bug in some non-gnome-compliant window managers
3511 which made magnifier resize improperly.
3513 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3515 * libspi/accessible.c: (spi_accessible_new) :
3516 Move the test for SPI_IS_REMOTE_OBJECT to
3517 spi_accessible_new_return, fixing a bug and compile time warning.
3519 2002-01-08 Michael Meeks <michael@ximian.com>
3521 * registryd/registry.c (parse_event_type): remove strndup.
3523 * libspi/Makefile.am (libspi_la_SOURCES): remove
3524 sources already included in the headers section.
3526 * libspi/util.c: add.
3528 * libspi/spi-private.h: add.
3530 * registryd/registry.c: update to moved list iterators.
3532 2002-01-05 Michael Meeks <michael@ximian.com>
3534 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3536 * test/test-simple.c (main): ditto.
3538 2002-01-04 Michael Meeks <michael@ximian.com>
3540 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3541 redundant construct.
3543 * registryd/registry.c
3544 (get_listener_list): impl.
3545 (impl_accessibility_registry_register_global_event_listener):
3546 re-impl. to simplify using ~, remove dodgy const cast off.
3547 (parse_event_type): constify.
3548 (impl_accessibility_registry_deregister_global_event_listener_all):
3549 re-write, more efficiency and simplicity, kill re-enterancy
3551 (compare_listener_corbaref, compare_corba_objects),
3552 (compare_listener_quarks): define out.
3553 (impl_accessibility_registry_deregister_global_event_listener):
3554 re-write for effiency, and nail re-enterancy hazard.
3555 (impl_accessibility_registry_get_desktop_list): impl.
3556 (re_enterant_list_delete_link): impl.
3557 (re_enterant_list_foreach): impl.
3558 (remove_listener_cb): impl.
3559 (_registry_notify_listeners): kill.
3560 (notify_listeners_cb): impl.
3562 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3563 (SPI_getDesktopList): impl.
3565 * test/test-simple.c (test_desktop): test the methods.
3567 2002-01-03 Michael Meeks <michael@ximian.com>
3569 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3570 keystrings since we free them
3571 (SPI_freeAccessibleKeySet): in here.
3573 * libspi/accessible.c (spi_accessible_new): kill warning,
3574 wonder what is going on with the constructor here.
3576 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3578 * libspi/accessible.c (spi_accessible_new ()) :
3579 Added check to see if AtkObject is an SpiRemoteObject before
3580 creating an SpiAccessible.
3582 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3584 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3585 Enable keygrabs using the Control modifier, now that they are
3586 working properly (they were previously disabled).
3589 Change the command keygrab for this demo to "Control+Alt", so as
3590 to conflict with fewer other key commands on the system; this
3591 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3593 Removed a pointlessly-chatty keylistener for unshifted keys
3594 (shifted keys are still reported).
3596 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3598 * libspi/remoteobject.h:
3599 * libspi/remoteobject.c:
3600 Added definitions for special AtkObject subtype, required for
3601 support of remote components (specifically, used by BonoboControl
3602 accessibility implementation).
3604 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3606 * cspi/spi.h: synched relation types with ATK
3608 * cspi/spi_accessible.c: Added implementations of
3609 AcccessibleRelation_* methods
3611 * idl/Accessibility_Relation.idl: added getRelationTypeName
3612 method. Synched known relation types with ATK. Allowed for
3613 relation type extension with the RELATION_EXTENDED type.
3615 * libspi/relation.c: Provided implementations for
3616 AccessibleRelation methods.
3618 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3620 API tweaks for today's API 'freeze'.
3623 Added placeholder functions to allow future compatible expansion
3624 of the IDL interfaces.
3626 * idl/Accessibility_Registry.idl:
3627 Changed generateKeyEvent to generateKeyboardEvent. Changed
3628 signature of this method to accept an optional keystring in
3629 parameter (for complex text input synthesis) and changed use of
3630 simple 'boolean' parameter in registerKeystrokeListener to a
3631 struct, EventListenerMode.
3633 * cspi/spi_accessible.c:
3635 * cspi/spi_streamablecontent.c:
3636 Added references to AccessibleStreamableContent interface, and
3637 definition and implementation of AccessibleStreamableContent
3640 * cspi/spi_registry.c:
3642 Changed generateKeyEvent API to generateKeyboardEvent,
3643 taking a new (optional) keystring parameter to support complex
3648 Renamed directory (to better reflect its actual purpose, bridging
3649 from at-spi to ATK). The .so module is also now named
3652 * idl/Accessibility_Hypertext.idl:
3653 * libspi/accessible.c:
3654 * libspi/hypertext.h:
3655 * libspi/hypertext.c:
3656 Changed Accessibility_Hypertext to *not* derive from
3659 * cspi/spi_registry.c:
3660 Added list of legal event type names for 'window' events, which
3661 completes the registry event API.
3663 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3665 * at-bridge/bridge.c: Added registration for separate
3666 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3667 signals. If either of the first two parameters to the generic
3668 bridge signal handler are ints, they are passed on as event
3669 details. This allows an AT to determine what text was inserted.
3671 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3673 * registryd/deviceeventcontroller.c:
3674 Fixed regressions in generateKeyEvent caused by the removal of
3675 gdk_init from registryd; we now use pure X calls to connect to the
3676 display, which makes sense because deviceeventcontroller already
3677 uses a fair bit of X API (should eventually be migrated to a
3678 'portability layer').
3680 * registryd/desktop.c:
3681 Fixed minor regression in spi_desktop_init, changed the way the
3682 desktop name is being set to work with new spi_base API
3683 (gobject-based, rather than AtkObject-based).
3685 * registryd/Makefile.am:
3686 Minor revision of makefile to use XTST_LIBS variable rather than
3687 hard-wiring the Xtst LD_ADD element.
3689 * test/keysynth-demo.c:
3690 Tweaked an output message; added initialization of the
3691 'keystrings' member of the "switch listener" key_set.
3693 * libspi/relation.c:
3694 Squashed compile-time warning.
3696 * libspi/accessible.c:
3697 Cosmetic and formatting fixes, renamed a static method.
3699 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3701 * libspi/accessible.c
3703 * libspi/application.c
3706 * libspi/component.c
3707 * libspi/editabletext.c
3708 * libspi/hyperlink.c
3709 * libspi/hypertext.c
3711 * libspi/selection.c
3715 * registryd/desktop.c:
3716 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3718 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3720 * idl/Accessibility_Registry.idl:
3721 Added boolean member 'is_text' to DeviceEvent. This is for the
3722 use of key events, and helps prevent ambiguity between composed
3723 key strings and keysym names, since both may potentially be
3724 returned in the 'event_string' member.
3726 * at-bridge/bridge.c:
3727 * registryd/deviceeventcontroller.c:
3728 Use the 'is_text' member when notifying device event listeners.
3729 Knon issue: composed characters are not dealt with correctly by
3730 the global key listener implementation yet.
3732 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3734 * at-bridge/bridge.c:
3735 Namespaced local static methods to spi_atk_bridge_* where
3736 previously named bridge_*, and spi_* elsewhere.
3738 * at-bridge/bridge.c:
3739 * cspi/bonobo/cspi-bonobo-listener.c:
3740 Added demarshalling/conversion for string member of
3741 Accessibility_DeviceEvent to AccessibleKeystroke.
3743 * registryd/deviceeventcontroller.c:
3744 Added code to fill the Accessibility_DeviceEvent key string value
3745 member for global key events (i.e. from XGrabKey), to match
3746 behavior of Accessibility_DeviceEvent from the toolkit key events
3747 from the bridge. Fixed timestamp in global key event notifications.
3750 Added printout of key event's string value to
3751 report_ordinary_key_event, for demo/debugging purposes.
3753 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3755 * idl/Accessibility_Registry.idl:
3756 Removed Accessibility_KeyStroke structure in favor of generic
3757 Accessibility_DeviceEvent structure.
3758 Changed Accessibility_ControllerEventMask from a struct to an
3761 * at-bridge/bridge.c:
3762 Changed APIs to use DeviceEvent structure as above, and removed
3763 bogus casting between these event structures.
3765 * cspi/spi-listener.h:
3766 Added keystring member of AccessibleKeystroke structure, to enable
3767 matching on event "names" rather than only hardware codes and
3771 Added keystrings member of AccessibleKeySet struct, to allow
3772 matching on event names (as above).
3773 Added declarations for SPI_createAccessibleKeySet and
3774 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3775 event modmasks directly as unsigned ints rather than structs with
3776 refcounts, in the DeviceEventController methods.
3778 * cspi/spi_registry.c:
3779 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3781 * cspi/spi-roletypes.h:
3782 Added documentation of newly added SPI Roles.
3784 * cspi/bonobo/cspi-bonobo-listener.c:
3785 Changes in support of API changes above.
3787 * libspi/accessible.c:
3788 Converted APIs to use DeviceEvent structure (see IDL changes
3791 * registryd/deviceeventcontroller.c:
3792 Added DEControllerGrabMask structure to track keygrabs not only by
3793 modmask but by keyset as well; this allows us to do "global"
3794 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3795 grabbing on AnyKey and then filtering after-the-fact.
3796 Bugfixes for event filtration mean that we don't get false matches
3797 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3799 * registryd/deviceeventcontroller.c:
3800 Namespaced a number of static methods to use spi_ prefix. Major
3801 revision to internals of global (i.e. X) key grabs.
3803 * registryd/deviceeventcontroller.h:
3804 Removed keymask_list and added keygrabs_list to
3805 SpiDeviceEventController struct.
3808 Added use of SPI_createAccessibleKeySet API when creating a
3809 listener for only one key. Attach a listener to "shift spacebar
3810 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3811 X key event names to SPI key event names, so that listeners are
3812 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3814 * test/keysynth-demo.c:
3815 Changed (incorrect) use of X key event names (KeyPressed,
3816 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3819 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3821 * libspi/accessible.c:
3822 Convert all AtkRole enumerations to Accessibility_Role enums when
3823 getting a role from an AtkObject.
3825 * cspi/spi_accessible.c:
3826 Complete the conversion of Accessibility_Role enums at runtime to
3827 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3828 role enums correctly match those given in spi-roletypes.h.
3829 Re-synchronize the local names list for AccessibleRole_getName ().
3830 AccessibleRole_getName is now deprecated, since it duplicates the
3831 more reliable Accessible_getRoleName.
3832 Added some role types from Accessibility_Role.idl.
3834 * idl/Accessibility_Role.idl:
3835 Added some role types used by AtkRole.
3837 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3840 * cspi/spi_registry.c:
3842 * cspi/cspi-bonobo-listener.c:
3843 Namespaced all methods that did not begin with an "SPI_" or
3844 "Accessible" prefix to "SPI_".
3847 Homogenized internal function namespace to "cspi_" for statics.
3850 Patched tests to use the new CSPI API.
3852 * docs/reference/cspi/at-spi-cspi-sections.txt:
3853 Updated docs to reflect namespace changes, and added a number of
3854 methods to the documentation.
3856 * registryd/registry.c:
3857 Changed use of strings and string hashes in listener event
3858 matching and parse_event_string to use GQuark, which is guaranteed
3861 * registryd/registry.h:
3862 Squashed annoying warning.
3864 * idl/Accessibility_Role.idl:
3865 Extended range of available Accessibility_Role values.
3867 * cspi/spi_accessible.c:
3868 Re-ordered role names.
3870 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3872 * idl/Accessibility_Value.idl:
3873 Revert use of union back to CORBA_double, since the double type is
3874 more efficient and can contain the other types without loss of
3877 * idl/Accessibility_Accessible.idl:
3878 Added method Accessibility:Accessible:getRoleName, to complement
3879 Accessibility:Accessible:getRole.
3881 * cspi/spi_accessible.c:
3883 Added C binding for above, Accessible_getRoleName (), and changed
3884 signature of Accessible_getRole () to return an AccessibleRole.
3886 * cspi/spi-roletypes.h:
3887 Changed AccessibleRole_getName to return a char * instead of a
3888 const char *. This method is now at least temporarily deprecated
3889 in favor of asking Accessibles for their RoleNames directly.
3892 Revert to match Accessibility_Value.idl;
3896 Change signature of AccessibleValue methods to use double rather
3900 * cspi/spi_accessible.c:
3901 Changed Accessible_getRole to return an AccessibleRole enum rather
3902 than a UTF-8 string. The UTF-8 string can still be obtained via
3903 AccessibleRole_getName ().
3905 * test/test-simple.c:
3906 Add test_action. Small fixup to match API change to Accessible_getRole.
3909 Bugfix for get_action_from_servant ().
3911 2001-12-11 Michael Meeks <michael@ximian.com>
3913 * libspi/libspi.h: remove registry.h and
3914 desktop.h, deviceeventcontroller.h
3916 * libspi/Makefile.am: remove registry.[ch],
3917 desktop.[ch], deviceeventcontroller.[ch]
3919 * registryd/Makefile.am: add registry.[ch],
3920 desktop.[ch], rename registryd.c to registry-main.c.
3921 add deviceeventcontroller.[ch]
3923 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3926 Replace setenv() call with putenv ().
3928 * libspi/component.c:
3929 Bugfix in AccessibleComponent_getExtents (),
3932 2001-12-11 Michael Meeks <michael@ximian.com>
3934 * libspi/image.c (impl_getImageExtents): impl.
3935 (spi_image_class_init): upd.
3938 (AccessibleImage_getImageDescription): fix daft bug
3941 * test/test-simple.c (global_listener_cb): update
3942 to only quit if not --poke
3943 (main): catch --poke.
3944 (validate_accessible): upd. dumping, call test_image
3947 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3950 * idl/Accessibility.idl: update all IDL includes.
3952 * idl/*.idl - rename to namespace - this sucks, blame
3953 mjs' bad decision for oafd.
3955 * test/test-simple.c (create_test_window): add more tests.
3956 (create_tree): split this out.
3957 (validate_accessible): bugfix.
3959 2001-12-11 Michael Meeks <michael@ximian.com>
3961 * cspi/bonobo/cspi-bonobo-listener.c:
3962 (cspi_kestroke_listener_unref),
3963 (cspi_event_listener_unref): impl. undoing previous
3964 homenous environment - for Bill.
3966 * cspi/spi_table.c (long_seq_to_array): use
3969 * cspi/spi_main.c: split out all bonoboish bits into
3972 * cspi/spi-impl.h: upd. typedefs.
3974 * cspi/spi_registry.c: update to lowlevel API,
3975 return booleans to indicate success in some places.
3977 * cspi/spi_event.c: update to lowlevel API.
3979 * cspi/bonobo/Makefile.am: add.
3981 * cspi/bonobo/cspi-lowlevel.h: add
3983 * cspi/bonobo/cspi-bonobo.c: add
3985 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3987 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3988 (SUBDIRS): add bonobo, link in the libs.
3990 * cspi/spi-util.c: kill this file.
3992 * TODO: merge in my bits.
3994 2001-12-11 Michael Meeks <michael@ximian.com>
3996 * test/test-simple.c (test_value, test_table, main):
3997 remove unused variables causing warnings.
3999 * configure.in: cleanup checks - require gail.
4001 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4004 Changed Value interface to use SValue (scalars) rather than
4005 assuming all values are floats. This allows floats, doubles,
4006 longs, shorts, and unsigned values to be manipulated.
4007 Introduced Accessibility:SValue union.
4010 Updated to use new API above, and to work correctly with GValues
4011 of different types in AtkValue.
4014 Updated to use new API above. cspi's API is as yet unchanged.
4017 Updated the Value revision action item.
4019 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4021 * test/test-simple.c:
4022 Added test_table (GtkTreeView widget in test window to follow).
4023 Un-commented test_value, added GtkRange widget.
4024 Added GtkTreeView widget with GtkListStore. It passes regression
4025 test but leaks one SPI object for some reason.
4028 Fixed bug in impl__set_currentValue.
4030 2001-12-10 Michael Meeks <michael@ximian.com>
4032 * cspi/spi_text.c: audit for exception handling,
4033 tolerating NULL object references safely etc.
4035 * cspi/spi_value.c: ditto.
4037 * cspi/spi_table.c (AccessibleTable_getSummary),
4038 (AccessibleTable_getAccessibleAt),
4039 (AccessibleTable_getRowHeader),
4040 (AccessibleTable_getColumnHeader),
4041 (AccessibleTable_getCaption): fix bugs hidden by
4043 (long_seq_to_array): impl.
4044 (AccessibleTable_getSelectedRows),
4045 (AccessibleTable_getSelectedColumns): use it.
4047 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4050 Added a TODO list (rough and short for now).
4052 * cspi/spi_hyperlink.c:
4053 * cspi/spi_hypertext.c:
4054 Fixed macro name typos, and remove use of obsolete macro in
4055 AccessibleHyperlink_getLink.
4057 * cspi/spi_action.c:
4058 * cspi/spi_accessible.c:
4059 * cspi/spi_application.c:
4060 * cspi/spi_component.c:
4061 * cspi/spi_selection.c:
4064 Documentation fixes (removed return values from ref/unref methods).
4066 2001-12-10 Michael Meeks <michael@ximian.com>
4068 * cspi/spi_action.c: audit for exception handling,
4069 tolerating NULL object references safely etc.
4071 * cspi/spi_accessible.c: ditto.
4073 * cspi/spi_component.c: ditto.
4075 * cspi/spi_editabletext.c: ditto.
4077 * cspi/spi_hyperlink.c: ditto.
4079 * cspi/spi_hypertext.c: ditto.
4081 * cspi/spi_image.c: ditto.
4083 * cspi/spi_selection.c: ditto.
4085 2001-12-10 Michael Meeks <michael@ximian.com>
4087 * configure.in: use cspi/libspi.pc.in instead.
4089 * Makefile.am (pkgconfig_DATA): upd. to match.
4091 * test/simple-at.c (report_focus_event): kill hacks around
4092 bad return values, use putenv not setenv
4094 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4095 fire ChildGone - I killed it.
4097 * libspi/component.c
4098 (impl_accessibility_component_get_extents): remove
4101 * idl/Accessible.idl: kill ChildGone exception.
4103 * cspi/*.[ch]: kill int return from ref / unref.
4105 * cspi/spi_main.c (cspi_object_add_check): fold into
4106 (cspi_object_add): here.
4108 * cspi/spi_component.c (AccessibleComponent_getExtents):
4109 handle exceptions elegantly.
4111 * cspi/spi-private.h (cspi_check_ev_return),
4112 (cspi_return_if_fail): impl.
4114 * cspi/spi_accessible.c: use extensively.
4115 (AccessibleStateSet_equals): add direct compare check.
4117 * cspi/spi_selection.c: tolerate NULL objs, and check
4118 exceptions before return.
4120 * cspi/spi-util.c (cspi_warn_ev): rename to
4121 (cspi_check_ev): this & don't pass ev in; no point.
4123 2001-12-10 Michael Meeks <michael@ximian.com>
4125 * test/test-simple.c: use putenv not setenv
4126 (get_environment_vars): more chatty if you're not using
4129 * test/simple-at.c: do the setenv so more people see the
4132 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4134 * libspi/registry.c:
4135 Changed check of CORBA_environment on notification to be a warning
4136 instead of an error for the moment, since we can recover from this
4137 error when caused by a queued notification from a dead app.
4140 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4141 used by all current implementors of AtkValue), and coerce to
4142 CORBA_float. (Proper general case fix may require change to Value.idl).
4144 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4148 * cspi/spi_accessible.c:
4149 Documentation fixes: added user_data params to documentation for
4150 listeners and callbacks.
4152 * cspi/spi_accessible.c:
4153 Changed AccessibleStateSet_compare to return a
4154 StateSet rather than return the difference set into a third parameter.
4157 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4160 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4161 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4165 Remove subdirectory po from SUBDIRS for now.
4167 * at-bridge/bridge.c:
4168 Beefed up a couple of debug printouts.
4169 One-line fix for signal notification name formatting.
4171 * libspi/accessible.c:
4172 Added assertion to spi_accessible_new ().
4174 * libspi/application.c:
4175 Put #ifdef qualifiers around a printf.
4178 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4180 * registryd/Makefile.am:
4182 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4183 INTLTOOL_SERVER_RULE macro.
4186 Added an event listener for several ATK signals, for
4187 testing and debugging. Removed a few g_warnings.
4188 Added test output if focussed item implements the Value interface.
4190 * test/test-simple.c:
4191 Added test_value () function (known not to pass at the moment, so
4192 not actually called yet.
4194 2001-12-08 Michael Meeks <michael@ximian.com>
4196 * at-bridge/bridge.c (bridge_focus_tracker),
4197 (emit_eventv): fix the same ref. leak.
4198 (register_atk_event_listeners): don't leak.
4200 * cspi/spi-listener-impl.c (cspi_event): more
4201 protection from client code.
4203 * test/test-simple.c (test_desktop): unref the app.
4205 * test/Makefile.am: upd. TESTS.
4207 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4209 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4211 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4213 * cspi/spi_registry.c: constify in strings.
4214 (deregisterGlobalEventListenerAll): don't release the ref.
4216 * cspi/spi.h: start removing redundant / conflicting
4217 gtkdoc comments, making the API readable at a glance :-)
4219 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4221 * test/keysynth-demo.c (keysynth_exit, main): upd.
4223 * test/simple-at.c (main, simple_at_exit): upd.
4225 * test/test-simple.c (unutterable_horror): kill.
4226 (utterable_normal_derefs): kill.
4227 (main): upd & do a setenv before gtk_init, so that we
4228 can use memprof - and to save the pain of remembering
4229 this, if we're running under memprof - don't exit.
4231 * cspi/spi_main.c (SPI_exit): return exit status
4233 (SPI_event_quit): impl.
4234 (SPI_event_main): simplify.
4235 (cspi_is_gnome_app): kill.
4236 (SPI_init): kill isGNOMEapp arg.
4238 * at-bridge/bridge.c (register_atk_event_listeners):
4239 re-instate the unref.
4240 (bridge_exit_func): don't re-activate the registry,
4241 protect vs. theoretical re-entry, use the
4242 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4243 assert a clean shutdown - for regression tests.
4245 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4247 * configure.in: Comment out dummy i18n support for now,
4248 otherwise it fails to build.
4249 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4250 EXTRA_DIST. They are missing in tarball.
4252 2001-12-07 Michael Meeks <michael@ximian.com>
4254 * util/magnifier.c: kill bonobo activation reg. race.
4256 * libspi/component.c
4257 (impl_accessibility_component_get_extents): make it match
4260 * libspi/registry.c (_registry_notify_listeners):
4261 re-remove X headers & reconcile conflicts.
4262 (spi_listener_struct_free): bad conflict resolve.
4263 (impl_accessibility_registry_register_application):
4264 more bad merging fixed.
4265 (impl_accessibility_registry_deregister_application): ditto.
4266 (spi_registry_new): ditto.
4267 (spi_registry_init): don't have an applications field.
4269 [ merge fixups2 branch to here ]
4270 2001-12-07 Michael Meeks <michael@ximian.com>
4272 * test/simple-at.c (report_focus_event),
4273 (report_focussed_accessible): remove g_warning debug.
4275 2001-12-07 Michael Meeks <michael@ximian.com>
4277 * test/test-simple.c (validate_tree): comment out some checks.
4278 (test_desktop): app now not registered idly - horay.
4280 2001-12-07 Michael Meeks <michael@ximian.com>
4282 * cspi/spi_registry.c
4283 (registerAccessibleKeystrokeListener): clean, stop it leaking
4284 great swathes of memory, and device event controller references.
4285 ensure we always pass valid sequences.
4286 (deregisterAccessibleKeystrokeListener): ditto.
4287 (generateKeyEvent): upd.
4289 * at-bridge/bridge.c (bridge_key_listener): handle
4290 registry dead exception gracefully.
4291 (bridge_focus_tracker, emit_eventv): free ev.
4293 * test/simple-at.c (report_focus_event): fix polarity.
4295 * libspi/application.c (notify_listeners): kill the ev
4296 argument, and make sure we init the ev we use.
4297 (spi_application_object_event_listener): split out a chunk
4298 (get_atk_object_ref): here & fixup.
4299 (reverse_lookup_name_for_toolkit_event): make const.
4300 (spi_application_toolkit_event_listener): fixup, kill leaks
4303 * at-bridge/bridge.c (register_atk_event_listeners):
4304 don't unref the noop object - causes grief.
4306 * libspi/registry.c: remove the X headers.
4307 turn off the debug churn.
4309 * libspi/accessible.c (spi_accessible_new_return): only
4310 release the ref if we are supposed to [doh]
4312 * test/simple-at.c (report_button_press, report_focus_event):
4313 guard vs. unexpected exit.
4315 * at-bridge/bridge.c (gtk_module_init): prune printf.
4316 (bridge_exit_func): fix app unref.
4318 * libspi/Makefile.am: don't install registry or desktop.h
4320 * libspi/*.h: update includes.
4322 * libspi/application.h: don't include ourself, or
4323 other redundant headers.
4325 2001-12-06 Michael Meeks <michael@ximian.com>
4327 * libspi/accessible.c
4328 (get_accessible_from_servant): impl.
4329 Upd. all CORBA impl.s to use it killing cut and paste.
4331 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4333 (SPI_init): register atexit cleanup handler here.
4335 2001-12-06 Michael Meeks <michael@ximian.com>
4337 * at-bridge/bridge.c (gtk_module_init): g_error on
4338 activation exception
4340 2001-12-06 Michael Meeks <michael@ximian.com>
4342 * at-bridge/bridge.c (gtk_module_init): some sort of
4343 confusing merge clash - reverted.
4344 (bridge_idle_init): ditto.
4346 * test/test-simple.c (main, utterable_normal_derefs):
4347 merge from Bill - somehow not committed.
4349 2001-12-06 Michael Meeks <michael@ximian.com>
4351 * libspi/value.c (spi_value_class_init): upd.
4352 (spi_value_finalize): kill.
4354 * libspi/table.c (spi_table_finalize): kill.
4355 (spi_table_interface_new): upd.
4356 (spi_table_class_init): upd.
4357 (get_table_from_servant): impl.
4358 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4360 * libspi/selection.c (spi_selection_finalize): kill.
4361 (spi_selection_interface_new): upd.
4362 (spi_selection_class_init): upd.
4363 (get_selection_from_servant): impl.
4364 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4366 * libspi/relation.c (spi_relation_finalize): kill.
4367 (spi_relation_class_init, spi_relation_new): upd
4369 * libspi/image.c (spi_image_finalize): kill.
4370 (spi_image_class_init): upd.
4371 (spi_image_interface_new): upd.
4372 (get_image_from_servant): impl.
4373 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4375 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4376 (spi_hyperlink_finalize): kill.
4377 (spi_hyperlink_new): upd.
4378 (get_hyperlink_from_servant): impl.
4379 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4381 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4382 (spi_hypertext_finalize): kill.
4383 (spi_hypertext_class_init): upd.
4384 (get_hypertext_from_servant): impl.
4385 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4387 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4388 (spi_editable_text_interface_new): upd.
4389 (get_editable_text_from_servant): impl.
4390 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4392 * libspi/text.c (get_text_from_servant): impl.
4393 All impls - update to use it killing more cut and paste,
4394 also fix bad string returns on duff args ( a somewhat
4395 impossible case to handle - but hey ).
4396 (spi_text_construct): impl.
4397 (spi_text_interface_new): upd.
4398 (spi_text_object_finalize): kill.
4400 * libspi/component.c
4401 (accessibility_component_object_finalize): kill.
4402 (spi_component_class_init): upd.
4403 (get_component_from_servant): impl. helper to kill cut & paste.
4404 (impl_accessibility_component_contains):
4405 (impl_accessibility_component_get_accessible_at_point):
4406 (impl_accessibility_component_get_position):
4407 (impl_accessibility_component_get_extents):
4408 (impl_accessibility_component_get_mdi_z_order):
4409 (impl_accessibility_component_get_layer):
4410 (spi_component_interface_new): upd.
4412 * libspi/action.c (spi_action_finalize): kill.
4413 (spi_action_class_init): upd. inherit from SpiObject.
4414 (spi_action_interface_new): upd.
4415 (get_action_from_servant): impl. helper to reduce cut & paste.
4416 (impl_getKeyBinding, impl_getName, impl_doAction),
4417 (impl_getDescription): Use it everywhere.
4419 * cspi/spi_main.c (get_live_refs): a pointer hash.
4420 (spi_object_hash, spi_object_equal): comment out.
4421 There are issues with CORBA object hashing that need
4424 * libspi/application.c (spi_application_init),
4425 (spi_application_new): upd.
4427 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4428 (spi_accessible_class_init): upd.
4429 s/accessible/object/ in epv methods.
4431 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4433 * at-bridge/bridge.c:
4434 Reorder the bridge initialization into the bridge gtk_module_init,
4435 an immediate call to bridge_register_app, and an idle_add for
4436 register_atk_event_listeners (the only code that *must* wait until
4437 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4438 the activation, creates the application's Accessible object, and
4439 queues the bridge_idle_init function. Restored call to
4440 Accessibility_Registry_deregisterApplication().
4441 Prior to making this call we obtain a new reference to the
4442 registry, which is a temporary hack that helps us handle apps that
4443 shut down the bonobo mainloop before we get there.
4445 * libspi/registry.c:
4446 Fix string leakage in debug block, and don't segv if a an app
4447 dies before its event notifications have been propagated.
4450 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4451 as stopgap measure until we get proper exception handling when
4452 objects die during or before interrogation.
4456 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4457 Also changed default value of is_gnome_app to TRUE.
4460 * test/keysynth-demo.c:
4461 Changed use of SPI_init and SPI_event_main to reflect API change above.
4464 Made report_focus_event check the warning value from getName
4465 before reporting on focussed accessible; simplifies handling of
4466 notifications from dead objects.
4468 * test/test-simple.c: (Changes not in this patch since source is
4471 2001-12-05 Michael Meeks <michael@ximian.com>
4473 * registryd/registryd.c (main): protect against
4474 bonobo-activation startup race condition.
4476 * cspi/spi_main.c (cspi_object_add_check): cope
4477 with the exception elegantly.
4479 * idl/Accessible.idl: decl. ChildGone
4481 * libspi/desktop.c (spi_desktop_dispose): impl.
4482 (spi_desktop_class_init): upd.
4483 (spi_desktop_add_application),
4484 (spi_desktop_remove_application),
4485 (abnormal_application_termination): impl.
4486 (impl_desktop_get_child_at_index): re-impl.
4489 (impl_accessibility_registry_deregister_application),
4490 (impl_accessibility_registry_register_application):
4491 kill excessive debug clutter.
4493 * test/test-simple.c (test_misc): test some NULL
4494 tolerance. (main): upd.
4496 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4497 implements no interfaces - so let's not crash.
4499 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4501 * libspi/accessible.c (spi_accessible_new_return): impl.
4502 helper to calm the cut and paste, to cope with
4503 NULL AtkObjects effectively and efficiently, and to kill
4504 the referencing bugs.
4506 * libspi/table.c (impl_getAccessibleAt),
4507 (impl_getRowHeader, impl_getColumnHeader): upd.
4509 * libspi/hyperlink.c (impl_getObject): upd.
4511 * libspi/accessible.c
4512 (impl_accessibility_accessible_get_child_at_index): upd.
4514 * libspi/component.c
4515 (impl_accessibility_component_get_accessible_at_point): upd.
4517 * test/test-simple.c (test_editable_text, test_text): impl.
4520 * cspi/spi_editabletext.c
4521 (AccessibleEditableText_insertText): constify.
4523 * test/test-simple.c (focus_me): make more robust.
4525 * libspi/accessible.c: remove some printfs in methods that
4526 we test and work fine, so we can get a clean tree dump.
4528 * test/test-simple.c (validate_accessible),
4529 (validate_tree): make tree dumping pretty too.
4531 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4532 it builds without debug on.
4534 * test/test-simple.c (validate_accessible): fix the most
4537 * cspi/spi_main.c (spi_object_release): leave the nicely
4538 blanked memory around if in debug mode.
4540 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4542 [committed to fixups2]
4543 2001-12-05 Michael Meeks <michael@ximian.com>
4545 * libspi/editabletext.c
4546 (spi_editable_text_class_init): g_type_class_peek_parent,
4547 not interface peek - so we finalize cleanly.
4549 * libspi/accessible.c (spi_accessible_new): kill debug.
4551 * test/test-simple.c (validate_accessible): fix ref.
4552 leak, print strings before freeing them; sigh, comment a
4553 chunk out due to strangeness.
4554 (validate_tree): unref the child after use.
4556 * cspi/spi_component.c (AccessibleComponent_getLayer):
4557 add missing break statement, switch on zlayer not the
4558 uninitialized retval.
4560 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4561 before (possibly re-entering) remote unref.
4563 * test/simple-at.c (main): unref the desktop.
4565 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4568 * cspi/spi_main.c (cspi_accessible_is_a): here to
4569 isolate bonobo API usage more.
4571 * libspi/registry.c (impl_accessibility_registry_register_application):
4572 prune bogus comment.
4574 2001-12-04 Michael Meeks <michael@ximian.com>
4576 * test/test-simple.c (validate_tree): upd.
4577 IndexInParent check to make it more lucid.
4578 (validate_accessible): dump the tree.
4580 * libspi/accessible.c (de_register_public_ref),
4581 (get_public_refs): impl.
4582 (spi_accessible_new): make more efficient & intuitive.
4583 Now IndexInParent check works.
4585 2001-12-04 Michael Meeks <michael@ximian.com>
4587 * cspi/spi-util.h: remove.
4589 * cspi/spi.h: move SPI_freeString here
4591 * libspi/component.c (impl_accessibility_component_get_layer):
4593 (impl_accessibility_component_get_mdi_z_order): ditto,
4594 return -1 on error - is this ok ?
4596 * test/test-simple.c (test_application): impl.
4598 * cspi/spi_accessible.c (Accessible_getApplication),
4599 (Accessible_isApplication): impl.
4601 * libspi/registry.c (spi_listener_struct_free): release
4602 the CORBA reference too.
4604 * libspi/accessible.c
4605 (impl_accessibility_accessible_get_parent): fix ref leak.
4607 * libspi/registry.c (spi_registry_new): make the registry
4608 immortal - we don't want it to go away ever.
4610 * libspi/application.c
4611 (spi_accessible_application_finalize): impl. cleanup.
4613 * cspi/spi_registry.c
4614 (deregisterGlobalEventListenerAll),
4615 (deregisterGlobalEventListener),
4616 (deregisterAccessibleKeystrokeListener): fix ref leak.
4618 * cspi/spi_main.c (SPI_init): remove redundant ref.
4620 * test/test-simple.c (unutterable_horror): impl. to force a
4625 (impl_accessibility_registry_deregister_application): release
4626 the application when we de-register it.
4628 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4629 until we have the infastructure to get it right.
4631 2001-12-03 Michael Meeks <michael@ximian.com>
4633 * libspi/Makefile.am: only build eventlistener.[ch]
4635 * libspi/accessible.c
4636 (impl_accessibility_accessible_get_child_at_index): don't leak.
4638 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4639 before we hit the idle handler.
4641 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4642 debugging than exit.
4644 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4646 * libspi/listener.c (impl_notify_event): check source
4647 not NIL before unref.
4649 * libspi/registry.c (impl_registry_notify_event): ditto.
4651 * libspi/eventlistener.c
4652 (impl_accessible_event_notify_event): unref the source.
4654 * libspi/accessibleeventlistener.c
4655 (impl_accessible_event_notify_event): unref the source.
4657 * idl/Event.idl: remove 'hash_id' attribute - of no
4660 * libspi/application.c (notify_listeners): upd list
4662 (spi_application_object_event_listener),
4663 (spi_application_toolkit_event_listener): upd to do correct
4667 (_registry_notify_listeners): update.
4668 (parse_event_type): this method also leaks like a sieve.
4669 (impl_accessibility_registry_deregister_global_event_listener):
4670 fix ETYPE_WINDOW case.
4672 * libspi/application.c
4673 (impl_accessibility_application_register_object_event_listener):
4676 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4678 * libspi/hypertext.c (impl_getLink): ditto.
4680 * cspi/spi_main.c (cspi_object_add): remove
4681 bogus CORBA_Object_duplicate.
4683 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4686 * cspi/spi_accessible.c
4687 (Accessible_getRelationSet): fix leak / referencing issue.
4689 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4690 (cspi_object_add, cspi_object_unref): upd.
4691 (spi_object_release, get_live_refs): impl.
4692 (cspi_cleanup): simplify.
4694 * *.[ch]: s/boolean/SpiBoolean/
4696 * cspi/spi_accessible.c (role_names): actualy order so it
4697 corresponds with the enum !
4699 * test/test-simple.c (test_roles): check some role strings
4700 vs. enums to detect offset errors.
4702 2001-12-01 Michael Meeks <michael@ximian.com>
4704 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4706 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4708 (Accessible_getChildAtIndex): use cspi_add_check so we
4709 check the ev before using a (possibly) invalid value.
4711 * libspi/accessible.c
4712 (impl_accessibility_accessible_get_parent): don't segv
4715 * at-bridge/bridge.c (gtk_module_init): upd.
4716 (bridge_property_event_listener): don't leak strings
4718 (bridge_state_event_listener),
4719 (bridge_property_event_listener): don't use a static
4720 buffer in case of recursive event emission &
4721 re-enterancy - split out the swathe of cut and paste
4723 (emit_eventv): and fix 2 ref leaks here & comply to the
4725 (bridge_register_app): rename to
4726 (bridge_idle_init): this and kill arg parsing, split
4727 various inits & bonobo-activation registration to module
4728 init time, kill referencing error.
4729 (bridge_exit_func): fix the same leak.
4730 (bridge_focus_tracker): don't leak event structures
4732 (bridge_signal_listener): more leakage and cut & paste
4734 (bridge_key_listener): return the result - FIXME is
4735 this polarity correct ?
4736 (accessibility_keystroke_from_atk_key_event): rename
4737 (accessibility_init_keystroke_from_atk_key_event): and stop
4739 (gtk_module_init): return a value - not that it is checked by
4741 (bridge_key_listener): register my horror at casting between
4742 IDL defined structs.
4743 (bridge_get_registry): kill - not used.
4745 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4747 * test/test-simple.c (test_roles): impl.
4748 (test_desktop, validate_accessible, validate_tree): impl.
4750 * cspi/spi_accessible.c (role_names): fixup bogus
4751 MAX_ROLES setup, make constants const for efficient linkage
4752 (AccessibleRole_getName): conform to coding style, make
4755 2001-11-30 Michael Meeks <michael@ximian.com>
4757 * cspi/spi.h: add missing prototype.
4759 * libspi/registry.c (spi_listener_struct_new): fix sig.
4761 * test/Makefile.am: add test-simple
4763 * test/test-simple.c: add
4765 * test/test.sh: add.
4767 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4769 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4770 do it straight - since otherwise we often get an activation race.
4772 [ work before Bill duplicated a chunk of it ... ]
4773 2001-11-30 Michael Meeks <michael@ximian.com>
4775 * libspi/keystrokelistener.c
4776 (spi_keystroke_listener_class_init): fixup arg
4779 * libspi/eventlistener.c
4780 (spi_event_listener_class_init): ditto.
4782 * tests/test.sh: add.
4784 * cspi/spi-listener-impl.h: update macros.
4786 * cspi/spi-listener-impl.c
4787 (cspi_event_listener_remove_callback): add
4788 correct pre-conditions.
4790 * cspi/spi_main.c (SPI_exit): guard vs. double
4791 exits, exit the mainloop nicely.
4792 (SPI_event_main): make more sense.
4793 (SPI_init): move the atexit evilness here so we
4794 always do it (yuck).
4795 (SPI_event_main): upd.
4797 * test/simple-at.c: update for listener changes.
4799 * registryd/registryd.c (main): prune kruft.
4801 * libspi/libspi.h: upd.
4803 * libspi/eventlistener.[ch]: rename broken macros.
4805 * libspi/accessibleeventlistener.[ch]: remove.
4807 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4809 * test/test-simple.c: Add - automated tests.
4811 * cspi/spi-listener-impl.c (cspi_event),
4812 (cspi_key_event): add user_data to invoke.
4813 (cspi_keystroke_listener_finalize): impl.
4814 (cspi_keystroke_listener_class_init): upd.
4817 (createAccessibleEventListener),
4818 (AccessibleEventListener_addCallback),
4819 (createAccessibleKeystrokeListener),
4820 (AccessibleKeystrokeListener_addCallback): upd.
4822 * libspi/deviceeventcontroller.c
4823 (spi_device_event_controller_check_key_event): add public proto.
4826 (impl_accessibility_registry_deregister_global_event_listener):
4827 always init listeners.
4828 (_registry_notify_listeners): yes it is.
4830 * cspi/spi-listener-impl.c (cspi_key_event):
4832 (cspi_event_listener_finalize): impl.
4833 (cspi_event_listener_class_init): hook up.
4834 (event_handler_new, event_handler_free),
4835 (event_list_remove_by_callback): impl.
4836 (cspi_event_listener_remove_callback),
4837 (cspi_keystroke_listener_remove_callback),
4838 (cspi_keystroke_listener_add_callback),
4839 (cspi_event_listener_add_callback): upd.
4841 * libspi/keystrokelistener.c
4842 (keystroke_listener_object_finalize): kill
4843 (spi_keystroke_listener_class_init): upd.
4844 (spi_keystroke_listener_add_callback),
4845 (spi_keystroke_listener_remove_callback): kill,
4847 (impl_key_event): prune drasticaly.
4849 * libspi/eventlistener.c
4850 (spi_event_listener_add_callback),
4851 (spi_event_listener_remove_callback): kill, use
4853 (impl_accessible_event_notify_event): upd.
4854 (spi_event_listener_object_finalize): remove.
4856 * libspi/Makefile.am: use eventlistener.[ch]
4858 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4860 * libspi/registry.c (_registry_notify_listeners):
4861 Changed listener loop iteration to use preferred convention.
4862 Got rid of string memory leaks caused be calling g_strconcat
4863 inside function calls.
4865 * libspi/registry.c (parse_event_type):
4866 Stopped g_strconcat memory leaks, free the g_strsplit return,
4867 g_strdup the split pieces when used, etc.
4869 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4872 Change method 'compare' to return a 'difference set' rather than
4873 taking a StateSet as an out parameter (more Java-friendly).
4875 * idl/Accessible.idl:
4876 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4878 * idl/Component.idl:
4880 Changed methods 'getExtents' and 'getImageExtents' in these
4881 interfaces to return a BoundingBox structure.
4882 (getPosition and getSize are redundant and possibly should be
4883 removed, rather than creating a corresponding Point struct.)
4885 * cspi/spi_component.c:
4886 Modify implementation of getExtents to reflect the above IDL
4891 Add (missing) AccessibleImage_getExtents () API.
4893 * docs/reference/cspi/at-spi-cspi-sections.txt:
4894 Added AccessibleImage_getImageExtents () to docs.
4896 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4898 * idl/Component.idl:
4899 Added two methods, getLayer () and getMDIZOrder (), to reflect
4900 the new ATK methods atk_object_get_layer and
4901 atk_object_get_mdi_z_order. (Which arguably should be part of the
4902 AtkComponent API and AtkObject). Also added an enum,
4903 ComponentLayer, for the first method's return value.
4905 * libspi/component.c:
4906 Added implementations for these methods.
4908 * cspi/spi_component.c:
4910 Added cspi binding methods for above,
4911 AccessibleComponent_getLayer() and
4912 AccessibleComponent_getMDIZOrder().
4913 Added cspi enum 'AccessibleComponentLayer'.
4915 * docs/reference/cspi/at-spi-cspi-sections.txt:
4916 Added above methods to docs.
4920 Changed typedef for 'boolean' type (and all references to it) to
4921 SPIBoolean, to avoid keyword clashes with C++.
4924 Changed usages of 'boolean' to SPIBoolean.
4926 * test/keysynth-demo.c:
4927 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4928 app), except where SPIBoolean is required by the callbacks API.
4930 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4932 * cspi/spi_registry.c:
4933 Removed obsolete X event loop for passive keygrabs (which now
4936 * registryd/registryd.c:
4937 Removed unnecessary call to gdk_init() [cruft]. This also allows
4938 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4941 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4943 * docs/reference/cspi:
4944 Included docs for SPI_freeString in generated documentation.
4947 Renamed spi_freeString to SPI_freeString, for consistency. Added
4948 documentation for this function.
4951 Renamed spi_freeString to SPI_freeString, for consistency.
4952 Removed obsolete method declaration string_from_corba_string.
4954 * test/keysynth-demo.c:
4955 Small tweak to comments.
4958 Stopped leaking the strings returned from CSPI.
4960 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4962 Merged Michael's branch (see his ChangeLog entries below).
4964 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4965 bridge is alive, release on exit.
4967 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4968 Fix type check macro.
4971 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4974 Added is_gnome_app static, and method cspi_is_gnome_app(),
4975 so we can call the appropriate shutdown routine at exit in SPI_exit.
4977 * cspi/spi_main.c (cspi_object_ref):
4978 Duplicate the corba object passed in, since we're keeping it around.
4980 * cspi/SPI_exit.c, cspi_cleanup:
4981 Moved the releasing of the live refs to its own function, so we
4982 can put it in g_atexit (). Call the appropriate shutdown API
4983 depending on whethe calling client is a gnome app or not
4984 (bonobo_main_quit or CORBA_ORB_shutdown).
4986 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4987 Unref the listener when this method is called, after
4988 deregistration. Updated the API docs to note this behavior.
4990 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4991 Bugfixes: Ref the bonobo object when returning a parent or child
4992 reference, or an AccessibleRelation. Generally made sure
4993 BonoboObject refcount is incremented whenever we return an
4996 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4997 Fixed typo/bug in signal declaration.
4999 * libspi/accessibleeventlistener.h:
5002 * libspi/application.c (spi_application_new):
5003 Fixed leak in initialization.
5006 Remembered to increment bonobo-object refcount when returning
5007 children (applications) from desktop object.
5008 Added (empty) finalize method.
5010 * libspi/deviceeventcontroller.c:
5011 Hold a ref to listeners inside DEControllerKeyListeners.
5012 Added dec_key_listener_free() method. Use prepend instead of
5013 append in key_listener list. Fixed some refcount madness and
5014 leaks in the listener registration/deregistration - deregistration
5015 now calls dec_key_listener_free() on listeners, and on the
5016 temporarily constructed dec_key_listener() used to perform the search/match.
5018 * libspi/hypertext.c (spi_hypertest_finalize):
5019 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5020 class. Also fixed spi_hypertext_interface_new() and
5021 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5023 * libspi/hypertext.h:
5024 Removed pointless and duplicate AtkObject pointer from
5027 * libspi/keystrokelistener.c:
5028 Fixed incorrect type of keystroke_listener_parent_class,
5029 renamed keystroke_listener_object_finalize to
5030 spi_keystroke_listener_object_finalize.
5031 Fixed typo in signal declaration
5032 (spi_keystroke_listener_class_init).
5034 * libspi/registry.c:
5035 Added funcsions spi_listener_struct_new() and
5036 spi_listener_struct_free() to help with memory management issues.
5037 We also now use these methods instead of gnew + poking stuff into
5038 the struct, and to decrement listener counts/free the listeners
5039 when deregistering them.
5040 Fix more refcount bugs in getDesktop() and
5041 getDeviceEventController().
5044 De-ref the desktop after enumerating the applications. Explicitly
5045 decrement the refcounts on the created listeners on exit (using
5046 _unref for keystroke listeners, and via the
5047 deregisterGlobalEventListenerAll command for other event
5050 2001-11-27 Michael Meeks <michael@ximian.com>
5052 * cspi/spi-listener.h: fixup enum.
5054 2001-11-27 Michael Meeks <michael@ximian.com>
5056 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5057 (cspi_keystroke_listener_new): Use the cspi variants.
5059 2001-11-26 Michael Meeks <michael@ximian.com>
5061 * test/keysynth-demo.c: fix 2 compile warnings, missing
5064 * test/simple-at.c (report_focussed_accessible),
5065 (report_focus_event, report_button_press),
5066 (check_property_change, is_command_key),
5067 (report_ordinary_key_event, report_command_key_event): upd.
5069 * util/mag_client.h: include pre-requisites.
5071 * libspi/accessibleeventlistener.c
5072 (spi_event_listener_object_finalize): free any lingering
5075 * libspi/keystrokelistener.c
5076 (keystroke_listener_object_finalize): ditto.
5078 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5079 callbacks, with cspi types.
5081 * cspi/spi_event.c (createAccessibleEventListener): chain to
5082 (AccessibleEventListener_addCallback): here.
5083 (createAccessibleKeystrokeListener): chain to
5084 (AccessibleKeystrokeListener_addCallback): here.
5086 * libspi/keystrokelistener.c
5087 (spi_keystroke_listener_class_init): add signal.
5088 (impl_key_event): emit the event.
5089 (boolean_handled_accumulator): impl.
5090 (marshal_BOOLEAN__POINTER): add, gack.
5092 * libspi/accessibleeventlistener.c
5093 (spi_event_listener_class_init): add signal.
5094 (impl_accessible_event_notify_event): emit the signal &
5095 make the loop efficient.
5096 (spi_event_listener_add_callback): prepend the callback.
5098 * libspi/accessibleeventlistener.h: add an 'event' signal,
5099 decl type on callback.
5101 * libspi/keystrokelistener.h: ditto.
5103 * cspi/spi-listener.h: make methods typesafe and
5104 make them use the new event typedefs.
5106 * test/simple-at.c (report_focussed_accessible):
5107 include mag_client.h
5108 Use *(void *)text_interface not the other thing.
5110 * configure.in: add gtk to registryd bits - since we use
5113 * util/magnifier.c: include libbonobo.h
5115 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5117 * test/keysynth-demo.c:
5118 Turned this into a simple scanning keyboard, to demonstrate the
5119 use of g_timeout_add () as a means of creating timers for
5120 scanning, and the use of GtkStyle for visually indicating when
5121 virtual keyboard elements are selected.
5123 keysynth-demo now listens to any keyboard keys with zero-valued
5124 keycodes (i.e. 'unused' keys) and interprets them as
5127 Reworked the shiftlatch code so that shift-down state isn't held
5128 for long periods (it's only synthesized immediately prior to
5129 the keysynth event it's modifying). Note that shiftlatch in this
5130 demo is a convenience, not intended to take the place of AccessX
5131 which is the better choice for getting 'sticky' modifier keys.
5133 * libspi/deviceeventcontroller.c:
5134 * at-bridge/bridge.c:
5135 * cspi/spi_registry.c:
5136 Removed some debug print stuff, and put other verbosity in #ifdef
5141 Implemented some more of the magnifier IDL for the simple
5142 magnifier: namely, getZoomRegionParams.
5143 Added mag_x and mag_y members to MagnifierData struct, aid of this
5145 Added GtkWindow::realize signal handler to magnifier, to keep it
5146 from receiving keyboard focus from the WM.
5148 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5150 * cspi/spi-private.h: my guess at what michael forgot
5151 before he ran off to NZ :-)
5153 2001-11-23 Michael Meeks <michael@ximian.com>
5155 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5156 comment out non existant method invoke so we link.
5158 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5159 use bonobo_exception_get_text for more friendly warnings.
5161 * cspi/spi.c (Obj_Add): move into spi_main & rename
5162 spi_object_add; kill spi.c
5164 * cspi/spi_registry.c
5165 (deregisterGlobalEventListener),
5166 (deregisterGlobalEventListenerAll),
5167 (registerGlobalEventListener): fix exception leaks.
5169 * cspi/spi_main.c (spi_exception): impl. helper, so we
5170 don't leak exceptions.
5172 * cspi/spi_selection.c
5173 (AccessibleSelection_deselectSelectedChild): return the
5176 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5177 (spi_registry): ditto.
5178 (SPI_init): guard against double inits.
5180 * cspi/*.c: use spi_ev (), and spi_registry () where
5181 appropriate - a temporary hack until we have something
5182 better. Use spi_object_add
5184 2001-11-22 Michael Meeks <michael@ximian.com>
5186 * cspi/Makefile.am: re organise, install the headers.
5188 * cspi/*.h: add G_BEGIN/END_DECLS
5190 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5193 Added non-preemptive keylistener for key events with no modifiers
5194 and shift-only modifier.
5196 * libspi/keystrokelistener.c:
5197 Removed some verbose diagnostics printout.
5199 * cspi/spi_registry.c:
5200 Fixed a bug that caused all key listeners to be registered as
5203 * libspi/deviceeventcontroller.c:
5204 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5205 for non-preemptive key masks.
5208 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5210 * docs/reference/idl/at-spi-idl-docs.sgml:
5211 * docs/reference/idl/at-spi-idl-sections.txt:
5212 * docs/reference/idl/at-spi-idl-overrides.txt:
5213 Added missing files.
5215 * docs/reference/Makefile.am:
5216 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5217 to scan the IDL files :-(
5222 Added .cvsignore files.
5224 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5226 * libspi/deviceeventcontroller.c:
5227 * libspi/keystrokelistener.c:
5229 * cspi/spi_registry.c:
5230 Added filters for KeySets, KeyEventSeq, and event types to key
5231 event dispatching, so listeners should only receive those events
5232 that they requested :-)
5234 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5239 * docs/reference:Makefile.am:
5240 * docs/reference/cspi:
5241 * docs/reference/cspi:Makefile.am:
5242 * docs/reference/cspi:tmpl:
5243 * docs/reference/cspi:tmpl:*.sgml:
5244 * docs/reference/idl:
5245 * docs/reference/idl:Makefile.am:
5246 * docs/reference/idl:at-spi-idl-sections.txt:
5247 * docs/reference/idl:at-spi-idl-docs.sgml:
5248 * docs/reference/idl:tmpl:
5249 * docs/reference/idl:tmpl:*.sgml:
5251 Restructured docs directory to allow separate 'reference' docs
5252 section, and forked idl and cspi docs. Added the sgml template
5253 files to CVS. Added the first sections/structural sgml for the
5256 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5258 * configure.in, libspi/Makefile.am: find libXtst.
5260 2001-11-21 Michael Meeks <michael@ximian.com>
5262 * test/accessx-gui.c: s/spi_value/value/ - doh.
5264 * libspi/base.[ch]: add.
5266 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5268 * idl/Accessible.idl:
5269 * idl/Application.idl:
5272 Started gtk-doc cleanup on IDL.
5274 * libspi/deviceeventcontroller.c:
5275 Added and connected non-preemptive key notification from the
5276 toolkits (in addition to the pre-emptive support from XServer
5277 which we had before, but which causes 'focus flashing'). Filters
5278 are presently limited to key modifiers and global/non-global,
5279 KeySets are presently ignored, as are KeyEvent masks.
5281 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5282 structs into the persistant structure rather than just storing
5283 pointers to things that might not persist across servant
5286 The XGrabKey call now does async keygrabs, because synchronous
5287 ones were deadlocking with GDK_event code in a very nasty way.
5289 Added boolean to internal method notify_keylisteners, to indicate
5290 whether the event came from the 'toolkit source' or the 'global
5291 (XServer) source' - this is used in the notification process to
5292 determine which listeners to send the event to.
5294 deviceeventcontroller.c is now warning-free.
5296 * libspi/registry.c:
5297 Fixed regression in application de-registration.
5298 Also fixed some really brain-dead weirdness having to do with
5299 event dispatching - event structs are now duplicated before being
5300 re-marshalled in the dispatch to listeners. This also fixes a
5301 Solaris build problem.
5304 2001-11-20 Michael Meeks <michael@ximian.com>
5307 (impl_accessibility_registry_deregister_global_event_listener):
5310 * libspi/deviceeventcontroller.c
5311 (spi_device_event_controller_check_key_event): return
5312 FALSE on no virtual method.
5314 * libspi/*..h: make includes work on a correctly pathed install.
5316 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5318 * libspi/application.h: kill unused ( and whacked out )
5319 gboolean *spi_application_set_id (AtkObject *app, long id);
5321 2001-11-20 Michael Meeks <michael@ximian.com>
5323 * libspi/*.[ch]: further convert to bonobo's type func
5324 macros, remove redundnant casts etc.
5326 * libspi/text.c s/accessibility_text/spi_text/g,
5327 re-order to de-cruft.
5329 * libspi/hypertext.c: re-order to kill a huge slew
5330 of redundant forward decls.
5332 * libspi/relation.c: ditto.
5334 * libspi/image.c: ditto.
5336 * */.cvsignore: update
5338 2001-11-20 Michael Meeks <michael@ximian.com>
5340 * libspi/deviceeventcontroller.c
5341 (_controller_register_with_devices): use g_getenv,
5342 kill stdlib.h include.
5344 * libspi/keystrokelistener.c
5345 (spi_keystroke_listener_get_type): kill
5346 (spi_keystroke_listener_class_init),
5347 (spi_keystroke_listener_init): rename to this.
5349 * libspi/text.c (impl_getAttributes): fix warning / bug.
5351 * libspi/*.[ch]: more headers, includes and over commenting.
5353 2001-11-20 Michael Meeks <michael@ximian.com>
5355 * libspi/*.[ch]: fixup headers, includes and over commenting.
5357 * libspi/image.c (impl__get_imageDescription): const
5358 correctness warning fix. remove redundant casting.
5360 * libspi/table.c (impl_getRowDescription): ditto.
5361 (impl_getColumnDescription): ditto.
5363 * libspi/libspi.h: add.
5365 2001-11-19 Michael Meeks <michael@ximian.com>
5367 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5369 * libspi/component.c (accessibility_component_get_type):
5370 rename to (spi_component_get_type): and macroify.
5371 (accessibility_component_init): rename to
5372 (spi_component_init): this
5373 (accessibility_component_class_init): rename to
5374 (spi_component_class_init): this
5376 * libspi/action.c (spi_action_get_type): kill, use the macro.
5378 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5381 * libspi/application.c (spi_application_object_event_listener),
5382 (impl_accessibility_application_register_object_event_listener):
5383 warning fixes / const understanding updates.
5385 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5388 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5390 * libspi/spi_accessible.c: Added docs and C bindings for
5391 AccessibleStateSet. (No implementations yet). Documentation
5392 coverage for C bindings now 100%. Made docs for event listeners
5397 boolean notifyListenersSync (in DeviceEventListener listener,
5398 in DeviceEvent event);
5400 oneway void notifyListenersAsync (in DeviceEventListener listener,
5401 in DeviceEvent event);
5403 Added DeviceEventListener and DeviceEvent structs (may deprecate
5404 KeyStroke and KeystrokeListener in favor of this generic
5405 event/listener framework for devices).
5407 * libspi/deviceeventcontroller.c:
5409 Changed some key listener code to take masks, etc., and paved the
5410 way for integration of toolkit/non-preemptive key events. Changed
5411 signatures of some internal methods.
5413 * at-bridge/bridge.c:
5414 Fixed regression connecting to interface signals, apparently
5415 caused by GTK+ changes.
5417 Added an internal bridge_state_listener to deal with
5418 property-change:accessible-state signals.
5420 Changed the key_listeners GList to store structs (including masks,
5421 etc.) instead of just CORBA_Objects (required for full
5422 implementation of key listener API).
5424 Connected the bridge to all currently supported Atk signals.
5425 Events now supported:
5426 object:property-change
5427 object:property-change:accessible-name
5428 object:property-change:accessible-state
5429 object:property-change:accessible-description
5430 object:property-change:accessible-parent
5431 object:property-change:accessible-value
5432 object:property-change:accessible-role
5433 object:property-change:accessible-table-caption
5434 object:property-change:accessible-table-column-description
5435 object:property-change:accessible-table-column-header
5436 object:property-change:accessible-table-row-description
5437 object:property-change:accessible-table-row-header
5438 object:property-change:accessible-table-summary
5439 object:children-changed
5440 object:visible-data-changed
5441 object:selection-changed
5442 object:text-selection-changed
5444 object:text-caret-moved
5446 object:row-reordered
5448 object:column-inserted
5449 object:column-reordered
5450 object:column-deleted
5451 object:model-changed
5453 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5455 * libspi/hyperlink.c,h:
5456 Fixed some broken stuff in hyperlink.
5458 * libspi/relation.h:
5459 * libspi/relation.c:
5460 * cspi/spi_accessible.c:
5461 Initial implementations of AccessibleRelation methods, and docs.
5463 * libspi/accessible.c:
5464 Fixed a bug that caused SEGV if an accessible
5465 object's description is NULL, and a client
5466 requests it. An empty string is now returned.
5468 * cspi/spi_editabletext.c:
5469 * cspi/spi_hypertext.c:
5471 * cspi/spi_hyperlink.c:
5475 Doc coverage now 95%.
5477 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5479 One last namespacing revision:
5480 * libspi/accessibleeventlistener.[ch]:
5481 Renamed SpiAccessibleEventListener to SpiEventListener,
5482 (no need for two namespaces ;-)
5484 And lots of documentation fixes:
5486 * docs/at-spi-docs.sgml:
5487 Fixed 'underscore vs. hyphen' bug that was preventing
5488 the gtk-doc API docs from being automatically generated.
5491 * cspi/spi-listener.h
5493 * cspi/spi_accessible.c
5495 * cspi/spi_application.c
5496 * cspi/spi_component.c
5497 * cspi/spi_editabletext.c
5499 * cspi/spi_hypertext.c
5501 * cspi/spi_registry.c
5502 * cspi/spi_selection.c
5506 * docs/at-spi-docs.sgml
5507 * docs/at-spi-sections.txt
5509 Added and fixed up gtk-doc documentation in cspi.
5511 Interfaces now (fully) documented (subject to revision and enhancement):
5513 Event Listener Support
5515 AccessibleApplication
5519 AccessibleEditableText
5526 AccessibleRelationSet
5531 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5533 * at-bridge/bridge.c:
5534 Initial work for toolkit-level key snooper connection by bridge.
5539 New typedefs and fixes to support new namespacing, and cleaner
5540 separation of cspi bindings from libspi bonobo implementation.
5541 Removed inconsistent and extraneous Spi* namespace prefix that
5542 had crept into cspi headers.
5543 Lots of comment fixes that sed had missed.
5545 * cspi/spi-roletypes.h:
5546 * cspi/spi-statetypes.h:
5547 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5548 to AccessibleRoleType.
5550 * libspi/accessibleeventlistener.h:
5551 Fixed minor namespacing weirdness.
5553 * libspi/deviceeventcontroller.c:
5554 Reordered some internal API for device listeners.
5555 Changed the key registry final boolean to 'is_system_global'
5556 rather than 'is_synchronous', which is more descriptive of its
5558 Added spi_device_event_controller_new().
5559 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5561 * libspi/keystrokelistener.[ch]:
5562 Namespaced KeystrokeListener to SpiKeystrokeListener.
5563 Changed uses of keymasks to use SPI_ prefix, and did other
5566 * libspi/keymasks.h:
5567 Namespaced keymask constants with SPI_ prefix.
5569 * libspi/registry.c:
5570 Some warning fixes, and knock-on fixes from namespace changes.
5573 Added rules for accessx-gui test program.
5575 * test/accessx-gui.c:
5576 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5577 utility. It doesn't actually use at-spi, but it's still cool and
5580 * test/keysynth-demo.c:
5584 Fixes so that these test clients work properly with the namespaced
5585 libraries. (Incompletely tested for technical reasons, fixes may follow)
5588 2001-11-13 Michael Meeks <michael@ximian.com>
5590 * libspi/application.c
5591 (impl_accessibility_application_get_version),
5592 (impl_accessibility_application_get_toolkit_name):
5594 (impl_accessibility_application_set_id),
5595 (impl_accessibility_application_get_id): remove
5596 redundant casting code.
5598 * libspi/action.c (impl_getDescription): fix warnings.
5600 * libspi/accessible.c
5601 (impl_accessibility_accessible_get_parent),
5602 (impl_accessibility_accessible_get_child_at_index),
5603 (impl_accessibility_accessible_get_state),
5604 (impl_accessibility_accessible_get_relation_set):
5605 warning fixes & include action.h
5607 2001-11-13 Michael Meeks <michael@ximian.com>
5609 * *.[ch] fix bits I screwed up:
5611 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5612 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5614 2001-11-13 Michael Meeks <michael@ximian.com>
5616 * *.[ch] Namespace libspi into spi_ and Spi.
5618 2001-13-11 Michael Meeks <michael@ximian.com>
5620 * Makefile.am: dist & install at-spi-1.0.pc
5622 * libspi/Makefile.am: install into at-spi-1.0
5624 * idl/Makefile.am (idldir): install into at-spi-1.0
5626 * at-spi-1.0.pc.in: add.
5628 * configure.in: build it.
5630 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5632 * test/keysynth-demo.c:
5633 Use a 'realize' signal-handler to set the WM properties for
5634 the virtual keyboard, rather than making it a "POPUP" type
5635 override-redirect window (thanks to anders carlsson for that
5638 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5641 * test/keysynth-demo.c:
5642 Added new test of key synthesis, which creates a simple
5643 (mouse-operated) onscreen keyboard. It inserts key events into
5644 the currently-focused window, thus it does not grab keyboard focus
5647 * cspi/spi_registry.c:
5648 Added C binding for AT-SPI generateKeyEvent.
5650 * libspi/deviceeventcontroller.c:
5651 Added call to XFilterEvent so that key listener works with XIM (we
5652 hope). Added event_synth_type to generateKeyEvent, so that we can
5653 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5654 synthesize a press/release pair for KeySyms.
5656 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5658 * libspi/Makefile.am:
5659 * registryd/Makefile.am:
5660 (temporary) hack to include libXtst in libspi and registryd.
5661 (Needed for keystroke synthesis, see below).
5664 Improved API for registerKeystrokeListener, in accordance with
5665 discussions with Gnopernicus team and X server research.
5667 * libspi/registry.c:
5668 * libspi/deviceeventcontroller.c:
5669 * libspi/accessible.c:
5670 * libspi/keystrokelistener.c:
5671 Changes and fixes to support keylisteners for potentially
5672 consumed key events (that is, 'passive grabs').
5673 Added implementation for generateKeyEvent() [untested].
5676 Changes to registerKeystrokeListener() API, as above.
5677 Added deregisterGlobalEventListenerAll(), and
5678 deregisterKeystrokeListener(), which are needed for clean exit of
5680 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5681 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5683 * cspi/spi_registry.c:
5684 Added implementations of function prototypes mentioned above.
5686 * registryd/registryd.c:
5687 Added the key listener event source as a g_timeout(), to allow
5688 receipt of key events that are not caught by GDK (since GDK
5689 doesn't support passive keygrabs, this was necessary).
5692 Changed to attach a keylistener to 'Alt' keys, and
5693 respond to the following keycommands: Alt-M (toggle magnifier);
5694 Alt-F (toggle speech); Alt-Q (quit).
5695 Added an exit routine to deregister the listeners, and a key
5696 listener that prints some key info to the console when a key
5697 matches the listener mask (and is thus received by the listener).
5699 * util/idl/Magnifier.idl:
5700 Changes to magnifier API to support multiple zoom regions,
5701 non-uniform scaling in x and y, markDirty, and a host of other
5702 features that would be useful to magnification.
5705 * util/mag_client.c:
5706 * util/mag_client.h:
5707 * util/mag_control.c:
5709 Source code changes to support the above IDL changes.
5712 As above, and also changes to use a (slower) generic conversion
5713 path for colormap conversions, since the fast RGB conversions have been
5714 reported to fail for 16-bit displays.
5716 2001-10-26 Michael Meeks <michael@ximian.com>
5718 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5720 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5722 * at-bridge/Makefile.am: fix LDFLAGS.
5724 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5726 * at-bridge/bridge.c:
5727 Re-worked listeners for toolkit events, now we have signal
5728 and property listeners. Added a private method
5729 register_atk_event_listeners(), which registers with the
5730 various atk and gtk signals we need to monitor in order to emit
5732 Added emission hook for AtkObject:property-change events, to
5733 support the 'property listeners'.
5734 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5737 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5738 which emit warnings and exit, respectively, if CORBA errors occur
5739 during remote calls, and we now use these methods to check most of
5740 our CORBA calls in the C bindings.
5742 * cspi/spi_accessible.c:
5743 Changed AccessibleSelection_refSelectedChild() to
5744 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5745 now increment refcounts.
5747 * cspi/spi_component.c:
5748 Fixed some long pointer casts (dangerous!) to pass pointers to
5749 CORBA_longs of the proper type to the CORBA stubs, and copy the
5750 data into the longs that were passed into the C bindings code.
5752 * at-bridge/bridge.c:
5754 * libspi/accessible.c:
5755 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5756 hyperlinks, AtkHyperlink is an object type.
5758 * libspi/application.c:
5759 Added various conversions to and from "generic" event types and
5760 atk-specific types; this is really part of the 'bridge'
5761 implementation but is valid for all AtkObject-based accessibility
5764 * libspi/editabletext.c:
5765 Fixed nasty bug wherein editable text's finalize method was
5766 unref'ing tha AtkObject reference that the text parent class was
5767 about to unref _again_. There was also a nasty inheritance bug
5768 that meant that the AccessibleEditableText class was corrupt.
5770 * libspi/selection.c:
5771 Provided implementations for some selection API that was broken.
5773 * idl/Application.idl:
5774 Added registerObjectEventListener () method.
5777 Fixed a number of return values that were Bonobo_Unknowns from
5778 bonobo_object_corba_objref(), which I
5779 forgot to dup before returning. Changed instances of
5780 bonobo_object_corba_objref (bonobo_object(o)) to
5781 BONOBO_OBJREF(o), for concision and clarity.
5783 2001-10-13 Louise Miller <louise.miller@sun.com>
5785 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5786 idl/Event.idl, idl/Registry.idl
5787 Changed these files to include Bonobo_Unknown.idl instead
5790 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5792 * libspi/component.c libspi/component.h:
5793 Fixed typo. Added assertions for object checks in
5794 AccessibleComponent code.
5796 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5798 * idl/Accessible.idl:
5799 Added 'isEqual (Accessible *object)'
5800 method for Accessible. (Not Yet Implemented).
5803 Changed signature of registerKeystrokeListener() to
5804 take a KeySet and KeyEventSeq so that specific keys and event
5805 types could be requested for monitoring, and added a flag
5806 is_synchronous so that either synchronous or asynchronous
5807 notification could be requested. (However this is not all
5808 implemented yet). This also meant adding two new typedefs,
5809 KeyEventSeq and KeySet.
5812 Added two new relations, RELATION_TOOLTIP_FOR and
5813 RELATION_LEAFNODE_OF.
5816 Added new state, STATE_HAS_TOOLTIP.
5818 * libspi/text.c, editabletext.c:
5819 Added new assertions to all casts of bonobo-objects from
5820 CORBA servants, to prevent Text API calls on non-text objects.
5821 Changed suspect casts of int-pointer types, so that we
5822 always send a valid CORBA_long pointer to the CORBA APIs that use
5823 in/out long parameters. We then have to copy from the CORBA_long
5824 into the regular long or int for return to the C bindings, or
5825 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5828 * libspi/deviceeventcontroller.c:
5829 Cleaned these sources up.
5831 Changed return type for getCharacterAtOffset to
5832 CORBA_unsigned_long, to allow for 32-bit characters.
5835 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5839 Fixed 'make dist' so that distro compiles...
5840 * libspi/keymasks.h:
5842 * cspi/spi-listener.c:
5843 KeystrokeListenerCB now returns a boolean.
5845 Added KeyEventType struct, and KeyStroke.
5846 Also added createKeystrokeListener(),
5847 KeystrokeListener_addCallback(),
5848 KeystrokeListener_removeCallback(), and added a keymask to
5849 registerKeystrokeListener().
5850 * cspi/spi_accessible.c:
5851 Changed numerous return types for interfaces from
5852 AccessibleComponent to Accessible<InterfaceName>; this was
5853 probably a cut-and-paste error.
5855 Implementations of new KeystrokeListener api (from spi.h,
5858 Changes to key modifier mapping.
5859 Created ControllerEventMask struct.
5860 Made DeviceEventController derive from Bonobo::Unknown.
5862 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5863 * libspi/deviceeventcontroller.c:
5864 Added a number of new internal (private) methods.
5865 * libspi/editabletext.c:
5866 * libspi/editabletext.h:
5867 Fixed a number of bugs related to the fact that
5868 editabletext inherits from text. Fixed the EditableText struct,
5869 the init() call, and use correct casts when calling Text methods
5870 from an EditableText object. Removed (duplicate) atko from the
5871 EditableText structure, we use the one in the parent Text
5872 structure via the casts mentioned above.
5873 * libspi/keystrokelistener.[ch]:
5874 * libspi/registry.c:
5875 Changes in support of keyboard handling (above).
5877 Keyboard handling, though partly functional, is still not
5878 recommended for at-spi client use as there is considerable
5879 work yet to be done.
5882 Changed some places where pointers to various int types
5883 are cast to be pointers to CORBA_long types and vice-versa:
5884 pointer casting is not safe so we pass pointers of the correct
5885 types and then cast the result before putting it into the target
5888 * libspi/text.h: minor typos corrected.
5890 We now speak not only the name of a Text element, but the
5891 first sentence of its content, when it receives focus.
5892 I also changed the text compression to 75% from 50%.
5893 * util/Accessibility_Util.server.in:
5894 Changed the default magnifier type to be a 3x vertical
5895 splitscreen magnifier (was previously a 2x horizontal one).
5897 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5899 * libspi/keystrokelistener.h:
5900 * libspi/keystrokelistener.c:
5901 Initial functional implementations of KeystrokeListener.
5904 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5906 Fixed string handling for NULL strings in libspi.
5907 Added spi_freeString to free strings returned by C bindings.
5909 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5911 * libspi/keystrokelistener.h:
5912 * libspi/keystrokelistener.c:
5913 Began (no-op) implementations of KeystrokeListener
5915 * libspi/deviceeventcontroller.c:
5916 * libspi/deviceeventcontroller.h:
5917 Began creating implementations of DeviceEventController,
5918 to handle keystroke and mouse event listening and
5920 * libspi/accessible.c:
5921 Stubbed-in the implementations for
5922 Accessibility_Accessible_getState and
5923 Accessibility_Accessible_getRelationSet.
5924 * libspi/registry.c:
5925 Improved de-registration process and fixed some bugs,
5926 deregistration now works correctly.
5928 Added initialization of applications list (to NULL).
5930 Reduced speech compression from 0.5 to 0.7, for demo.
5931 Changed call to gdk_window_set_decorations()
5932 to gtk_window_set_decorated().
5933 * at-bridge/bridge.c:
5934 Bridge now deregisters when app exits, via
5935 registration of a cleanup function
5936 with the g_atexit() call.
5937 Required making 'app' static, renamed 'this_app'.
5938 Fixed broken use of bonobo_init, passing argv wrongly.
5940 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5944 Created a new directory for
5945 accessibility-related utilities, primarily for
5946 testing and demo purposes, but with possible
5953 Onscreen magnifier utility that
5954 is implemented as a bonobo service.
5956 * util/mag_client.c:
5957 * util/mag_client.h:
5958 Client-side support (simple C bindings)
5959 for Magnification service
5961 * util/mag_control.c:
5962 Client program example for
5963 Magnification service
5965 * util/Accessibility_Magnifier.server.in:
5966 Bonobo-activation file for the
5967 Magnification service.
5970 * util/idl/Magnifier.idl:
5971 IDL defining the bonobo Magnification
5975 Modifications to use the bonobo-activated magnifier
5976 above, in place of trying to connect to an existing
5977 magnifier that uses socket-listening IPC.
5979 If env variable MAGNIFIER is set, a magnifier service
5980 will be started if one does not exist.
5982 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5984 * at-bridge/bridge.c:
5985 applied patch from Marc to build and run
5986 against new glib and gtk+ (seemed like a change
5987 to bonobo_init signature was made ?)
5989 made festival-server support turned off by default.
5990 Added support for a simple magnifier (off by default)
5991 which will be added to a 'util' directory later.
5992 * at-bridge/Makefile.am:
5993 Changed "application.h" header from a 'source'
5994 to a 'dependency' of libat-bridge.
5996 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6005 Added interface implementation c files to list of
6006 includes so they are included in libcspi.
6009 Changed prototype of AccessibleAction_doAction to return a
6011 Changed prototype of AccessibleTable_getCaption to
6012 return an Accessible.
6013 Changed prototype of AccessibleTable_getSelectedRows
6014 and AccessibleTable_getSelectedColumns to
6015 return a long (returns the number of selected rows
6016 or columns respectively).
6017 Changed name of AccessibleText_refRunAttributes to
6018 AccessibleText_getAttributes.
6019 Changed prototype of AccessibleText_getCharacterExtents to
6020 return a void rather than a boolean.
6021 Added support for a AccessibleCoordType parameter
6022 specifying what type of coordinates are desired.
6023 Added an AccessibleCordType parameter to
6024 AccessibleText_getPointAtOffset.
6026 * cspi/spi_accessible.c:
6027 Added code to return the outstanding interfaces from
6028 Accessible_queryInterface.
6030 * cspi/spi_action.c:
6032 Corrected call to getNActions to call the c binding
6035 * cspi/spi_editabletext.c:
6037 Changed name from setRunAttributes to setAttributes.
6039 * cspi/spi_hyperlink.c:
6041 Changed call to getNAnchors to correctly call the c
6042 binding for an attribute.
6044 * cspi/spi_hypertext.c:
6046 Changed getImageDescription to correctly call the
6047 binding for an attribute.
6049 * cspi/spi_selection.c:
6050 Changed getNSelectedChildren to correctly call the c
6051 binding for the attribute.
6052 Changed refSelectedChild to getSelectedChild.
6056 Changed getCaption to return an Accessible.
6057 Fixed calls which retrieve attributes.
6058 Changed refAt to getAccessibleAt.
6059 Changed getNSelectedRows and getNSelectedColumns to
6063 Changed getCharacterExtents and getPointAtOffset to accept an
6064 AccessibleCoordType.
6066 Changed calls which retrieve attributes.
6067 Changed refRunAttributes to getAttributes.
6072 * idl/Hyperlink.idl:
6073 Changed n_anchors attribute to nAnchors to keep naming
6074 convention consistent.
6077 Made Table inherit from Bonobo::Unknown.
6078 Added nSelectedColumns and nSelectedRows attributes.
6081 Made Value inherit from Bonobo::Unknown.
6083 * libspi/hyperlink.c:
6084 Change for nAnchors attributte name change.
6086 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6094 Added interface implementation c files to list of
6095 includes so they are included in libcspi.
6098 Changed prototype of AccessibleAction_doAction to return a
6100 Changed prototype of AccessibleTable_getCaption to
6101 return an Accessible.
6102 Changed prototype of AccessibleTable_getSelectedRows
6103 and AccessibleTable_getSelectedColumns to
6104 return a long (returns the number of selected rows
6105 or columns respectively).
6106 Changed name of AccessibleText_refRunAttributes to
6107 AccessibleText_getAttributes.
6108 Changed prototype of AccessibleText_getCharacterExtents to
6109 return a void rather than a boolean.
6110 Added support for a AccessibleCoordType parameter
6111 specifying what type of coordinates are desired.
6112 Added an AccessibleCordType parameter to
6113 AccessibleText_getPointAtOffset.
6115 * cspi/spi_accessible.c:
6116 Added code to return the outstanding interfaces from
6117 Accessible_queryInterface.
6119 * cspi/spi_action.c:
6121 Corrected call to getNActions to call the c binding
6124 * cspi/spi_editabletext.c:
6126 Changed name from setRunAttributes to setAttributes.
6128 * cspi/spi_hyperlink.c:
6130 Changed call to getNAnchors to correctly call the c
6131 binding for an attribute.
6133 * cspi/spi_hypertext.c:
6135 Changed getImageDescription to correctly call the
6136 binding for an attribute.
6138 * cspi/spi_selection.c:
6139 Changed getNSelectedChildren to correctly call the c
6140 binding for the attribute.
6141 Changed refSelectedChild to getSelectedChild.
6145 Changed getCaption to return an Accessible.
6146 Fixed calls which retrieve attributes.
6147 Changed refAt to getAccessibleAt.
6148 Changed getNSelectedRows and getNSelectedColumns to
6152 Changed getCharacterExtents and getPointAtOffset to accept an
6153 AccessibleCoordType.
6155 Changed calls which retrieve attributes.
6156 Changed refRunAttributes to getAttributes.
6161 * idl/Hyperlink.idl:
6162 Changed n_anchors attribute to nAnchors to keep naming
6163 convention consistent.
6166 Made Table inherit from Bonobo::Unknown.
6167 Added nSelectedColumns and nSelectedRows attributes.
6170 Made Value inherit from Bonobo::Unknown.
6172 * libspi/hyperlink.c:
6173 Change for nAnchors attributte name change.
6176 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6178 implementations-- made server implementations own AtkObject pointers
6179 rather than their respective AtkInterrface pointers to fix
6180 refcounting. AtkHyperlink is still broken.
6182 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6183 * cspi/spi_accessible.c:
6184 Added method Accessible_Role_getName(),
6185 and requisite string array (role_names).
6186 Added conversion string_from_corba_strin() call
6187 to Accessible_getName and _getDescription.
6188 * libspi/accessible.c:
6189 Added implementation for Accessible_getRole()
6191 Added festival support, used if environment variable
6194 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6196 * at-bridge/bridge.c:
6197 Now allocate Accessibility_Event using
6198 Accessibility_Event__alloc() instead of g_new0().
6199 * libspi/accessibleeventlistener.c:
6200 Initialize AccessibleEventListener->callbacks to NULL.
6201 Fixed accessible__event_listener_init() param, changed to
6202 "AccessibleEventListener *" type.
6203 Changed a bonobo_object_release_unref() call to
6204 Accessibility_Accessible_unref().
6205 * libspi/listener.c:
6206 Changed Bonobo_Unknown_unref to (equivalent)
6207 Accessibility_Accessible_unref.
6208 * libspi/registry.c:
6209 Changed bonobo_object_release_unref to
6210 Accessibility_Accessible_unref.
6212 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6215 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6216 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6217 spi-util.c spi-util.h
6218 Implementations for C bindings to remaining accessibility
6221 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6224 changed return value of Action from void to boolean to
6225 bring in line with ATK.
6228 Changed getText funcions to return "out" start and end offsets.
6229 Changed getAttributes to take and offset and return the start
6230 and end offset of the attribute run.
6231 Changed getOffsetAtPoint and getCharacterExtents to take an
6232 enum describing whether coordinates are window or screen.
6235 libspi/action.c libspi/action.h libspi/editabletext.c
6236 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6237 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6238 libspi/image.h libspi/selection.c libspi/selection.h
6239 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6240 libspi/value.c libspi/value.h
6241 Added server implementations for outstanding ATK interfaces
6242 not yet implemented.
6244 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6247 Added (missing) getName() method.
6248 Made nActions an attribute.
6249 * idl/EditableText.idl:
6250 Changed order of params in setAttributes.
6251 * idl/Hyperlink.idl:
6252 Removed getAnchor, added getURI.
6254 Changed attributes to methods, for efficiency
6255 (so that getting extents can be done in one call)
6256 * idl/Selection.idl:
6257 Changed nSelectedChildren to attribute, and re-indented.
6258 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6260 * idl/Text.idl: reformatted to match our coding style.
6261 (temporarily?) removed getRowColumnAtOffset().
6262 Changed text selection API to support multi-select and
6263 non-contiguous selections, as in ATK.
6264 * idl/Value.idl: changed some methods to attributes.
6266 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6268 * libspi/listener.c(impl_notify_event):
6269 BonoboUnkown_unref the source instead
6270 of bonobo_object_release_unref - the ORB
6271 handles the releasing.
6273 * configure.in: require ORBit-2.3.94 for
6276 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6278 Tagged CVS repository 'EA_1_0'.
6279 * README.EARLY_ACCESS:
6280 Alphabetized acknowledgements list, and
6282 Listed some known dependencies of at-spi.
6284 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6286 * docs/at-spi-docs.sgml:
6287 * docs/at-spi-sections.txt:
6288 * docs/at-spi-overrides.txt: (Added zero-length file)
6289 Documentation improvements - gtk-doc should build
6290 docs for all implemented C bindings now.
6293 * cspi/spi.c: (New file)
6294 * cspi/spi_event.c: (New file)
6295 * cspi/spi_registry.c: (New file)
6296 * cspi/spi_accessible.c: (New file)
6297 * cspi/spi_application.c: (New file)
6298 * cspi/spi_component.c: (New file)
6299 Split spi_main.c into six parts, and included them from
6300 "spi.c". This is a bit of a hack, probably temporary,
6301 but required by gtk-doc, apparently.
6303 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6306 * docs/at-spi-docs.sgml:
6307 * docs/at-spi-sections.txt:
6309 Initial checkins/modifications for gtk-doc generation.
6312 Added (missing) interface query methods to Accessible's C binding.
6314 Added GenericInterface type definition.
6316 Added query for AccessibleComponent interface to focus event handler.
6317 Added printout of bounding box for focussed component.
6318 * libspi/component.c:
6319 Added partial implementation for AccessibleComponent to C binding.
6320 * idl/Application.idl:
6321 * libspi/registry.c:
6322 * libspi/listener.c:
6323 * libspi/application.c:
6324 * libspi/application.h:
6325 Changed "ID" attribute type from string to long.
6327 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6331 Made method naming consistent: methods taking object args
6332 start with uppercase, other methods (except those using
6333 acronyms) start with lowercase. Underscores delimit between
6334 object names and method names:
6335 SPI_init() - uppercase since it starts with an acronym.
6336 getDesktopCount () - lowercase start since no object param0.
6337 Accessible_getName() - uppercase object type name, studlyCaps method
6341 Added gtk-doc documentation for all currently implemented
6342 methods in the C bindings API.
6344 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6346 * Makefile.am : changed build order to build test last.
6349 Changed "createEventListener" to "CreateEventListener".
6350 * libspi/accessibleeventlistener.c :
6351 Bugfix for addition of callbacks.
6352 * test/Makefile.am :
6353 * test/simple-at.c :
6354 Added new test that uses the C bindings API.
6356 * libspi/listener.c :
6357 * libspi/registry.c :
6358 * libspi/accessibleeventlistener.c :
6359 * at-bridge/bridge.c :
6360 Renamed member "target" of Accessibility_Event to "source",
6361 which is more descriptive.
6364 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6368 * cspi/Makefile.am :
6369 Added makefile support for at-spi/cspi directory.
6372 * cspi/spi-listener.h : (NEW FILE)
6373 Added support for/use of spi-listener.h.
6375 C bindings now build successfully, with no warnings.
6376 * libspi/accessibleeventlistener.h : (NEW FILE)
6377 * libspi/accessibleeventlistener.c : (NEW FILE)
6378 * libspi/Makefile.am :
6379 Added new object type "AccessibleEventListener"
6380 which inherits from Listener, and allows attachment
6381 of in-process callbacks (so that a client with a listening
6382 object instance can add functionality to the local
6383 implementation, dynamically).
6385 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6387 * libspi/accessible.c:
6388 Add implementation for get_index_in_parent().
6390 Added #include of "spi-roletypes.h", and
6391 added enumerated type AccessibleCoordType.
6392 Added definition for KeystrokeListener (function type).
6395 * cspi/spi-statetypes.h :
6396 * cspi/spi-roletypes.h :
6398 Added these headers, used by spi.h.
6400 Added code (NOTE: not yet built by make).
6402 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6404 * libspi/Makefile.am: generate imodule
6405 at the same time as other idl compiler
6408 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6409 * libspi/registry.c :
6410 * libspi/application.c :
6411 * idl/Application.idl :
6412 Made registration with toolkit an application method,
6413 which is required since each app has its own toolkit static
6414 environment. Thus the bridge must register for
6415 notification of toolkit events from each application in turn.
6416 Toolkit notifications are now successfully registered for, and
6417 sent to the listening at client.
6419 Changed toolkit event string to use hyphens rather than underscores.
6420 * libspi/listener.c :
6421 listner now gives more info in debug mode - it reports the
6422 name of the event received, as well as the name of the source.
6425 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6427 * libspi/registry.c :
6428 added more implementation for toolkit events.
6429 Fixed bug such that toolkit event registrations
6430 (via atk) use the whole event name string, not
6432 Removed a useless call to an ORBit_ method.
6433 * at-bridge/bridge.c :
6434 Removed unused local sbuf[] variable.
6436 We now register for Gtk:GtkWidget:button_press_event
6437 events as well as "focus:" events.
6439 Add some more API from Registry.idl that was missing,
6440 for keystroke listening, keystroke and mouse event
6441 synthesis, and enumeration of accessible desktops.
6443 2001-08-16 Michael Meeks <michael@ximian.com>
6445 * configure.in: use AM_GLIB_GNU_GETTEXT.
6447 * Makefile.am (SUBDIRS): kill intl.
6449 2001-08-15 Michael Meeks <michael@ximian.com>
6451 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6453 * configure.in: upd.
6455 * configure.in: depend on a recent bonobo-activation that
6456 will find our server files ...
6458 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6460 * libspi/accessible.c : accessible_new() :
6461 Now we add the Component interface via bonobo_object_add_interface,
6462 if the contained AtkObject implements AtkComponent.
6463 * libspi/accessible.h : now include "component.h"
6464 * libspi/component.h :
6465 * libspi/component.c : added files - implementation of
6466 bonobo wrapper object for Accessibility/Component
6467 * libspi/listener.c :
6468 Added test code to check for Accessibility/Component:1.0
6469 interface and report whether it is implemented by the
6471 * libspi/registry.c :
6472 Now we check for not only the hash of the whole event
6473 string before relaying the event, we also check the
6474 "minor" event string (without the detail string).
6475 This allows event listeners to be registered against
6476 all events of a certain major+minor type, or just
6477 against a specific major+minor+detail type.
6478 * libspi/accessible.c :
6479 Added implementations for Accessible:get_parent(),
6480 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6481 * libspi/registry.c :
6482 * libspi/listener.c :
6483 Replaced calls to Accessibility_Accessible_ref() and
6484 Accessibility_Accessible_unref() with
6485 calls to bonobo_object_dup_ref() and
6486 bonobo_object_release_unref(), so that the CORBA object
6487 is dup-ed and released when relayed, as well as the bonobo object.
6489 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6491 * libspi/Makefile.am,
6492 registryd/Makefile.am,
6493 at-bridge/Makefile.am.
6494 test/Makefile.am, configure.in:
6495 reverse previous changes.
6497 * /idl/Image.idl: fix typo.
6499 * test/Makefile.am: put DEBUG_FLAGS
6502 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6504 * test/app.c: use argv[0] instead of
6507 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6509 * libspi/Makefile.am,
6510 registryd/Makefile.am,
6511 at-bridge/Makefile.am.
6512 test/Makefile.am, configure.in:
6513 cleanup, replace individual LIBS/CFLAGS with
6514 AT_COMMON_{LIBS|CFLAGS}.
6518 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6520 * configure.in, libspi/Makefile.am:
6521 Change IDL path checking for bonobo-activation
6524 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6526 * registryd/registry.c : separated event listeners to use
6527 3 separate lists (focus, window, toolkit). Began testing
6528 event names against hashes before relaying events.
6529 * test/at.c : now register for events of type "focus:"
6530 * test/app.c : now generate events of type "focus:"
6531 * at-bridge/bridge.c : register with ATK for focus events,
6532 and we now relay those focus events to any "focus:" listeners.
6533 This now works with the bridge as a GTK_MODULE when running test/at.
6534 * libspi/registry.c :
6535 * libspi/listener.c :
6536 now we ref event sources before propagating, and unref on receipt.
6537 * libspi/registry.c :
6538 some changes to internal structs, to support event typestring hashes.
6539 * text/app.c : changed the way the appname is generated.
6540 * cspi : added directory that will hold the C bindings library for
6541 non-CORBA/bonobo-savvy clients.
6542 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6543 * idl/Component.idl : added in parameter to indicate coord system for
6544 geometry-related calls.
6545 * idl/Hyperlink.idl : added readonly n_links attribute
6546 * idl/Image.idl : changed methods to attributes.
6548 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6550 * at-bridge/Makefile.am: link against
6551 ../libspi/libspi.la instead of -lspi.
6553 * at-spi/test/app.c: include
6554 bonobo-activation.h. Use a default appname
6555 if one is not provided.
6557 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6559 * idl/Registry.idl : temporarily changed register_Application
6560 to oneway, to work around issue with initial registration
6562 * idl/Application.idl : changed attribute "id" from readonly
6563 to read-write, since it needs to be assigned by Registry.
6564 * registryd/registryd.c : added call to set application id
6566 * registryd/registry.c : changed de-registration procedure to
6567 use CORBA_Object_hash() to find matching object ref in application
6568 lists and listener lists.
6569 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6570 began distinguishing between event types (work in progress).
6572 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6575 * libspi/application.c:
6576 Added implementations for get/set id, get_toolkitName,
6578 * registryd/registryd.c :
6582 Converted from use of OAF to bonobo-activation.
6583 * libspi/desktop.h :
6584 * libspi/desktop.c :
6586 Removed references to atksimpleobject, since base atkobject
6587 implementation now provides functionality we need.
6588 * libspi/atksimpleobject.c :
6589 * libspi/atksimpleobject.h :
6594 * at-bridge/Makefile.am
6595 * at-bridge/bridge.c
6598 Added directory "bridge" and contents, and added dependencies
6599 in Makefile.am/configure.in.
6600 Initial checkin of "at-bridge".
6601 This code is a GTK_MODULE which automatically registers
6602 GTK+ apps with the accessibility registry, using an object
6603 reference to the root ATK object.
6605 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6607 * po/Makefile.in.in: Remove. Again. If this
6608 doesn't get autogenerated - you need to update
6611 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6613 * po/Makefile.in.in: Add. Again.
6615 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6617 * libspi/accessible.c : added support for 'description' property.
6618 * libspi/accessible.c
6620 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6621 (since the two are now equivalent in libbonobo)
6629 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6630 Bonobo::Unknown as does Accessibility::Accessible.
6631 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6632 interface with Bonobo::Stream, since it was redundant with it.
6633 (The Stream returned by a StreamableContext object is expected to
6634 implement only a subset of Bonobo::Stream)
6636 2001-07-28 Anders Carlsson <andersca@gnome.org>
6638 * libspi/accessible.c (accessible_object_finalize): Change
6639 g_free to g_object_unref since the AtkObject is a GObject.
6641 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6643 * idl/Accessibility.idl: add new IDL files
6646 * idl/Action.idl: Definitions of actionable UI object
6647 * idl/Component.idl: Definitions of UI component geometry, etc.
6648 * idl/Hyperlink.idl: Defs of hyperlink behavior
6649 * idl/Image.idl: Def of accessible image
6650 * idl/Selection.idl: Definition of UI object with selectable children
6651 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6652 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6653 * idl/Text.idl: Interface defs for UI elements with complex textual content
6654 * idl/Value.idl: Definition of UI element that is a value controller or display
6656 2001-07-27 Michael Meeks <michael@ximian.com>
6658 * po/Makefile.in.in: remove autogenerated file from CVS.
6660 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6663 * idl/Registry.idl: include guard.
6665 * idl/Accessibility.idl: Add, and include all the other IDL
6668 * idl/*.idl: remove mass of pragmas etc.
6670 2001-07-26 Michael Meeks <michael@ximian.com>
6672 * registryd/Makefile.am (registryd_SOURCES): remove
6675 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6677 * libspi/.cvsignore, registryd/.cvsignore,
6678 test/.cvsignore: updated.
6680 * po/Makefile.in.in: gettext update.
6682 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6684 * initial CVS checkin
6686 2001-06-29 Michael Meeks <michael@ximian.com>
6688 * configure.in: add AM_CONFIG_HEADER to gen config.h