1 2003-12-16 Bill Haneman <billh@gnome.org>
3 * registryd/registry-main.c:
5 Set the reg_env DISPLAY variable before registering the
6 activated registry service. Fixes bug #129479.
8 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
10 * configure.in: Added "id" in ALL_LINGUAS
11 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
13 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
15 * registryd/deviceeventcontroller.c (global_filter_fn):
16 When an event is consumed discard any XEvents were added to
17 the queue while dealing with the the event. This can happen if
18 processing of the event takes a long time. Call XUngrabKeyboard
19 if an event was discarded. This fixes bug $124837.
20 Only call wait_for_release_event for a KeyPress.
21 Use local variable display instead of spi_get_display().
22 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
25 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
27 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
28 Allow for mask to contain values other than NumLock mask.
31 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
33 * registryd/devieceventcontroller.c:
34 (wait_for_release_event): Change first parameter from GdkEvent to
36 (global_filter_fn); Correct call to wait_for_release_event.
40 2003-12-08 Bill Haneman <billh@gnome.org>
44 * registryd/ucs2keysym.c: New file.
46 * registryd/deviceeventcontroller.c:
47 (dec_keysym_for_unichar): Remove old partial implementation and
48 replace with call to ucs2keysym(), which is much more complete.
49 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
54 2003-12-05 Bill Haneman <billh@gnome.org>
56 * configure.in: Version 1.3.9.
58 * docs/reference/cspi/tmpl/spi_registry.sgml:
59 Added reference to libspi/keymasks.h to the
60 description of Registry queries: AccessibleKeyMaskType.
63 2003-12-04 Bill Haneman <billh@gnome.org>
67 * idl/Accessibility_Application.idl:
68 (Accessibility::LOCALE_TYPE): New enum, corresponds to
70 (Accessibility::Application::getLocale): New method.
71 Allows clients to query the locale, by type, of an app.
74 * cspi/spi_application.c:
75 (AccessibleApplication_getLocale): New method, wraps IDL above.
77 * libspi/application.c:
78 (spi_application_class_init): Init epv entry for getLocale.
79 (impl_accessibility_application_get_locale): Impl for above.
82 (test_application): Added assertion for getLocale, i.e.
83 that the string from AccessibleApplication_getLocale (app, type)
84 is the same as that from setlocale (type, NULL);
86 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
88 *registryd/deviceeventcontroller.c: Add an idle handler which polls
89 the keyboard on a timeout intil the key state goes from pressed to
90 released. Fixes bug #111429.
92 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
94 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
95 root object so that it is present when a context menu in an
96 out-of-process applet is popped up.
97 (spi_atk_bridge_do_registration): Create acceessible application root
98 object only if it does not exist.
100 This fixes bug #125834.
102 2003-12-01 Bill Haneman <billh@gnome.org>
104 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
107 Added enum for AccessibleStreamableContentSeekType.
108 (AccessibleStreamableContent_freeContentTypeList): New.
110 * cspi/spi_streamablecontent.c:
111 (accessible_bonobo_stream_client_seek): New private method.
112 (AccessibleStreamableContent_seek): Implemented this method,
113 using Bonobo_Stream_seek.
114 (AccessibleStreamableContent_freeContentTypeList): New method
115 for freeing the return value from
116 AccessibleStreamableContent_getContentTypes.
117 (stream_cache_item_free): Replaces stream_release; stop leaks.
118 (stream_release): removed.
119 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
120 free the memory properly.
122 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
126 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
128 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
130 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
132 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
134 2003-12-01 Bill Haneman <billh@gnome.org>
136 Fix for bug/rfe #127463.
138 * idl/Accessibility_Accessible.idl:
139 (getLocalizedRoleName): New.
140 (unimplemented4): Removed (replaced by above).
142 * libspi/accessible.c:
143 (impl_accessibility_accessible_get_local_role_name): New.
144 (spi_accessible_class_init): Add getLocalizedRoleName entry to
148 (Accessible_getLocalizedRoleName): New.
150 * cspi/spi_accessible.c:
151 (Accessible_getLocalizedRoleName): New.
153 2003-12-01 Bill Haneman <billh@gnome.org>
156 * idl/Accessibility_Text.idl:
157 (getDefaultAttributes): New.
158 (unimplemented4): Removed (replaced by above method).
161 (impl_getDefaultAttributes): New method.
162 (spi_text_class_init):
163 initialize the get_default_attributes slot in the epv.
166 (AccessibleText_getDefaultAttributes): New prototype.
169 (AccessibleText_getDefaultAttributes): New method.
171 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
173 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
174 write beyond the end of the table. Fixes bug #120473.
176 2003-09-30 Christian Rose <menthos@menthos.com>
178 * configure.in: Added "eu" to ALL_LINGUAS.
180 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
182 * configure.in: ALL_LINGUAS: Added no.
184 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
186 * configure.in: Added lt to ALL_LINGUAS.
188 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
190 * atk-bridge/bridge.c:
191 (atk_bridge_init): Register event listeners always even for
192 out-of-process applet.
193 (spi_atk_bridge_toplevel_added): Remove call to
194 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
195 (spi_atk_bridge_toplevelk_removed): Remove call to
196 spi_atk_deregister_event_listenersa as the listeners are now always
198 (spi_atk_bridge_register_application): Remove call to
199 spi_atk_register_event_listeners as it is not done in atk_bridge_init
201 This fixes bug #120991.
203 * libspi/table.c (impl_getColumnDescription): Correct typo,
204 pointed out by Bolian.Yin@sun.com.
206 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
208 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
210 2003-09-08 Bill Haneman <billh@gnome.org>
212 * configure.in: Revved to 1.3.7.
214 This is the GNOME 2.4.0 release of at-spi.
216 * docs/reference/cspi/Makefile.am:
217 Removed spurious inclusion of 'index.sgml' in the
218 html directory; this was breaking make distcheck and
219 also some other build environments.
221 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
223 * registryd/registry.[ch}:
224 Add queue_handler_id and focus_object to SpiRegistry data structure.
225 (registry_flush_event_queue): If event being discarded is
226 "state-change:focused" store object as focus_object.
227 (registry_start_queue): Remove queue handler and focus object
229 (registry_discard_event): New function which discards a focus event
230 if we had stored focus object in the registry.
231 (registry_queue_event): Add new check that is_queueing is set as this
232 function is reentrant.
233 (registry_filer_event): Add call to registry_discard_event.
235 This resolves issues raised in bug #108664.
237 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
239 * configure.in: Added "bn" to ALL_LINGUAS.
241 2003-09-04 Bill Haneman <billh@gnome.org>
243 * cspi/spi_event.c: Documentation improvements for
244 (SPI_registerAccessibleKeylistener).
246 * docs/reference/tmpl/spi_registry.sgml:
247 Documentation improvements for SpiAccessibleKeylistenerCB.
249 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
251 * configure.in: Added "ro" to ALL_LINGUAS.
254 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
256 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
257 not decremented to zero. Fixes bug #120725.
259 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
261 * configure.in: Added "ja" to ALL_LINGUAS.
263 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
265 * configure.in: Added "is" to ALL_LINGUAS.
267 2003-08-22 Christian Rose <menthos@menthos.com>
269 * configure.in: Added "nl" to ALL_LINGUAS.
271 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
273 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
274 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
276 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
278 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
279 type for unspecified exception.
280 * cspi_streamablecontect): Add include of string.h for memcpy.
281 (stream_release): Correct call to bonobo_object_release_unref
282 (stream_cache_item_free): Correct call to bonobo_object_release_unref
283 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
284 argument of _cspi_expection_throw.
285 * libspi/hyperlink.c: Add include of libspi/action.h:
286 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
287 * libspi/streamablecontent.c: add include of libspi/component.h.
288 * regisrtyd/deviceeventcontroller.c:
289 (spi_dec_translate_mask): Removed unused variable priv.
290 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
291 * registryd/registry.c:
292 (registry_filter_event): Remove unused variable queue_is-empty.
293 (impl_registry_notify_event): Use correct modifier in fprintf call.
295 This fixes compiler warnings reported in bug #120220.
297 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
299 * registryd/registryd.c: Remove this file.
301 2003-08-17 Sanlig Badral <badral@openmn.org>
303 * configure.in: Added mn to ALL_LINGUAS.
305 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
307 * configure.in: Added et to ALL_LINGUAS.
309 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
311 * test/event-listener-test.c: Change active-descendant to
312 active-descendant-changed.
314 2003-08-10 Sami Pesonen <sampeson@iki.fi>
316 * configure.in: Added "fi" in ALL_LINGUAS.
318 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
320 * configure.in: Added "hi" in ALL_LINGUAS.
322 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
324 * configure.in: Revved to 1.3.6.
328 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
330 * registryd/deviceeventcontroller.c
331 (spi_device_event_controller_object_finalize): Fix typo in previous
334 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
336 * registryd/deviceeventcontroller.c
337 (spi_device_event_controller_object_finalize): Fix build on
338 systems without XEvIE.
340 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
342 * acconfig.h, configure.in, registryd/Makefile.am,
343 registryd/devicecontoller.[ch]: Add XEViE support.
345 2003-08-06 Wang Jian <lark@linux.net.cn>
347 * configure.in: Added "zh_CN" to ALL_LINGUAS.
349 2003-08-06 Metin Amiroff<metin@karegen.com>
351 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
353 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
355 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
356 MODIFIER_ALT in correct place.
358 This fixes part of bug #118114.
360 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
362 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
364 2003-07-28 Changwoo Ryu <cwryu@debian.org>
366 * configure.in: Added "ko" to ALL_LINGUAS.
368 2003-07-28 Ole Laursen <olau@hardworking.dk>
370 * configure.in: Added "da" to the commented out ALL_LINGUAS.
372 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
374 * configure.in: Added "sq" to ALL_LINGUAS.
376 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
378 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
380 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
382 * configure.in: updated ALL_LINGUAS list
384 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
386 * configure.in: Added Belarusian to ALL_LINGUAS.
388 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
390 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
392 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
393 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
395 This fixes bug #116949.
397 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
399 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
400 Correct CSPI to SPI in function documentation.
402 This fixes bug #118054.
404 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
406 * configure.in: Added Russian to ALL_LINGUAS.
408 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
410 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
412 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
414 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
416 2003-07-10 Joel Brich <joel.brich@laposte.net>
418 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
420 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
422 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
424 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
426 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
427 resources allocated for AccessibleEvent. See cspi_event().
429 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
430 static variable streams to NULL.
432 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
433 Update so that AcessibleEvent_ref will work.
435 This fixes bug #116624.
437 2003-07-06 Jordi Mallach <jordi@sindominio.net>
439 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
441 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
443 * configure.in: Added "fr" (French) to ALL_LINGUAS.
445 2003-07-02 Christian Neumair <chris@gnome-de.org>
447 * configure.in: Added "de" (German) to ALL_LINGUAS.
449 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
451 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
453 2003-07-01 Miloslav Trmac <mitr@volny.cz>
455 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
457 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
459 * configure.in: Added "pl" to ALL_LINGUAS.
461 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
463 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
465 2003-06-30 Bill Haneman <bill.haneman@sun.com>
468 (get_action_from_servant):
469 Removed assertion that action is implemented on an AtkObject.
471 * libspi/hyperlink.c:
473 Aggregate AccessibleAction interface on the hyperlink object if
474 the object implements AtkAction. (This convention is used in
477 2003-06-30 Bill Haneman <bill.haneman@sun.com>
479 * configure.in: Revved to 1.3.5.
481 * registryd/Accessibility_Registry.server.in.in:
482 Marked up appropriate strings for translation.
484 * atk-bridge/bridge.c: Marked a couple of
485 user-visible warnings for translation. Questionable
486 whether they are really useful, but possibly so.
489 2003-06-28 Christian Rose <menthos@menthos.com>
491 * configure.in: Added "sv" to ALL_LINGUAS.
493 2003-06-26 Bill Haneman <bill.haneman@sun.com>
495 * registryd/registry.c:
496 (spi_registry_object_finalize): Unref the deviceeventcontroller.
497 (registry_defer_on_event): Defer focus: events, this is an
498 improvement to the patch for bug #108664.
500 * TODO: Update with 2.4/"Dev Complete" items.
502 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
504 * atk-bridge/bridge.c:
505 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
506 looks up signals once.
507 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
508 if doing registration.
509 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
510 when doing registration.
512 This fixes bug #115014.
514 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
516 * atk-bridge/bridge.c:
517 (atk_bridge_init): Add signal handler for children-changed:remove on
518 root when in a BonoboComponent.
519 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
520 for first toplevel only other incrememt variable toplevels.
521 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
522 application and remove listeners.
523 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
525 (spi_atk_deregister_event_listeners): New function which removes
527 (reinit_register_vars): New fuction which reinitializes variables.
529 This fixes bug #111578.
531 2003-06-13 Bill Haneman <bill.haneman@sun.com>
533 * configure.in: version 1.3.4.
535 * cspi/spi_accessible.c:
536 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
539 2003-06-13 Michael Meeks <michael@ximian.com>
541 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
543 * cspi/spi_main.c (cspi_peek_ev): impl.
545 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
547 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
549 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
551 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
552 SPI_ROLE_AUTOCOMPLETE
554 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
556 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
557 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
559 2003-06-11 Bill Haneman <bill.haneman@sun.com>
561 * libspi/streamablecontent.h:
562 * libspi/streamablecontent.c:
563 New files, provide implementation/wrappers for
564 Accessibility_StreamableContent.
566 * cspi/spi_streamablecontent.c:
567 Connected the C wrappers to the libspi C bindings.
568 (AccessibleStreamableContent_close): New method.
571 (AccessibleStreamableContent_close): New method, needed
572 since we have an "open, [seek], read, close" model in cspi.
574 2003-06-11 Bill Haneman <bill.haneman@sun.com>
576 Fix for #108664; Padraig's revision of my original patch.
578 * registryd/registry.h:
579 Added event queue list, is_queuing, and exit_notify_timeout
580 to the registry struct.
582 * registryd/registry.c:
583 (registry_init): Initialize new struct from registry.h.
584 (impl_registry_notify_event):
585 Filter events before notifying, in case some need to be
587 (registry_filter_event): New,
588 we defer certain incoming events (for instance
589 window:deactivate) because we may wish to hide
590 or reject them based on pending events. This is
591 mostly a workaround for bug #108664.
592 (registry_queue_event, registry_start_queue): New.
593 (registry_defer_on_event): Test event to see if it
595 (registry_reset_on_event): Returns TRUE if the
596 event should cause a queue reset.
597 (registry_discard_on_event): Returns TRUE if the event
598 should cause the previous queue contents to be discarded.
599 (registry_timeout_flush_queue): Flushes the pending event
600 queue if no reset/discard-triggering events have come in
601 within the timeout period.
602 (registry_emit_event): New.
603 (registry_clone_notify_context): New, used when queueing the
604 event notify contexts.
606 2003-06-10 Bill Haneman <bill.haneman@sun.com>
608 * configure.in: Version revved to 1.3.2, lt 0.9.2
609 Incremented ATK required version to 1.3.4.
611 * cspi/spi_registry.c:
612 (SPI_generateKeyEvent):
613 We now pass the keystring along if it's non-null.
615 * registryd/deviceeventcontroller.c:
616 (keysym_mod_mask): New method, returns modifier mask
617 required to generate a keysym from a given keycode.
618 (dec_synth_keysym): New method.
619 (dec_synth_keystring): New method.
620 (dec_get_modifier_state): New method.
621 (dec_lock_modifiers): New
622 (dec_unlock_modifiers): New.
623 (dec_keysym_for_unichar): New, rather brute-force
624 conversion from UCS-4 to X KeySyms. Only works for
625 Latin at the moment, with partial implementations for
626 Greek, Hebrew, and (incomplete) Katakana.
627 (impl_generate_keyboard_event): Now implement
628 "KEYSTRING" synthesis and implement "KEYSYM"
630 (keycode_from_keysym): Improved, passes a returned
631 modmask value now if the corresponding param is non-NULL.
633 Fixes bugs #92143 and #109776.
636 * test/keysynth-test.c:
637 New test program for key synthesis, to confirm fixes for
641 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
643 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
645 * cspi/spi_accessible.c (cspi_init_relation_type_table):
646 Add line for RELATION_POPUP_FOR
648 * docs/reference/cspi/tmpl/spi_relation.sgml:
649 Add relation SPI_RELATION_POPUP_FOR
651 * docs/reference/cspi/tmpl/spi_stateset.sgml:
652 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
654 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
656 * libspi/relation.c (spi_init_relation_type_table):
657 Add line for RELATION_POPUP_FOR
659 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
661 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
662 there are still windows which have not been deleted and emit
663 window:deactivate, if necessary and window:destroy events.
664 This fixes bug #114370. The change on June 5th was not correct.
666 2003-06-09 Bill Haneman <bill.haneman@sun.com>
668 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
671 (SPI_dupString): Allow dup-ing of a string such that it's safe to
673 New methods for client exception handling and interception.
674 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
675 (SPI_exceptionHandlerPop): You guessed it...
676 (SPI_getSourceType): Return the type of object which offended.
677 (SPI_getExceptionCode): Return an enum code telling, possibly,
678 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
679 (SPIAccessibleException_getSource): get the source object for
680 exceptions that come from Accessibles, if SPIExceptionSourceType is
681 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
682 (SPIException_getDescription): New, returns a string description of
683 the problem. [Not yet a stable ABI, strings are not frozen]
685 * cspi/spi-private.h:
686 Added implementation details of opaque SPIException
690 Implementations of above. Also
691 (_cspi_exception_throw): new private method that
692 dispatches exceptions to handlers, called from cspi-bonobo.c
694 * cspi/bonobo/cspi-bonobo.c:
695 (cspi_check_ev): call _cspi_exception_throw.
696 Don't print a warning message if the exception has been
697 handled by _cspi_exception_throw.
699 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
701 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
702 there are still windows which have not been deleted and emit
703 window:deactivate, if necessary and window:destroy events.
704 This fixes bug #114370.
706 2003-06-03 Bill Haneman <bill.haneman@sun.com>
709 (cspi_accessible_is_a): Make non-fatal
710 if the object reference is dead.
712 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
714 * cspi/spi_main.c: #include <stdio.h>
715 * test/simple-at.c: ditto
716 * test/event-listener-test.c: ditto
717 * test/screen-review-test.c: ditto
719 2003-05-30 Michael Meeks <michael@ximian.com>
721 * test/test-simple.c (main): use CORBA_ORB_perform_work
722 instead of an unnecessary linc_ call.
724 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
726 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
727 Add SPI_STATE_INDETERMINATE.
729 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
732 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
734 * libspi/stateset.c (init_state_type_tables): Add support for
737 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
739 * configure: Update versions of atk and gail required.
740 This fixes bug #113268.
742 2003-05-02 Bill Haneman <bill.haneman@sun.com>
744 * configure.in: Revved micro version to 1.3.1 (because of build fix).
746 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
748 * libspi/Makefile.am:
749 Ensure headers are generated before being used by c sources.
751 2003-05-01 Bill Haneman <bill.haneman@sun.com>
754 Simplified lt versioning rules.
755 Incremented version to 1.3.0, to indicate that we're on the
758 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
760 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
761 Add MKDB_OPTIONS=--outtput-format=xml
763 * docs/reference/cspi/at-spi-cspi-docs.sgml
764 docs/reference/idl/at-spi-idl-docs.sgml:
765 Convert to Docbook XML.
767 This fixes bug #111793.
769 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
771 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
772 AcccessibleKeyEventType, AccessibleKeyMaskType.
774 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
776 * cspi/state-types.h: Add documentation for AccessibleState.
778 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
779 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
780 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
781 AccessibleComponentLayer.
783 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
786 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
788 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
789 Accessible. Add description of AccessibleEvent,
790 AccessibleEventListenerCB.
792 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
795 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
796 documentation. Add description of AccessibleKeystrokeListenerCB,
797 AccessibleKeyEventMask, AccessibleModifierMaskType,
798 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
799 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
801 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
804 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
807 This fixes bug #104730.
809 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
811 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
812 Set is_text field of Accessibility_DeviceEvent data structure.
814 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
815 is-text field of AccessibleDeviceEvent data structure.
817 This addresses part of bug #108666.
819 * registryd/devcieeventcontroller.c: Unset debug option.
821 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
824 (cpi_initial_relation_type_table): New function which initializes
825 mapping between Accessibility_RelationType and AccessibleRelationType.
826 (cspi_relation_type_from_spi_relation_type): New function which
827 translates an Accessibility_RelationType into an AccessibleRelationType.
828 (AccessibleRelation_getRelationType): Use
829 cpi_relation_type_get_spi_relation_type to return correct value.
830 (spi_state_to_corba): Return correct type for default case.
832 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
833 Use Accessibility_EventType instead of Accessibility_KeyEventType.
835 * cspi/cspi-bonobo-listener.c:
836 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
839 * libspi/accessible.c, libspi/action.c, libspi/application.c,
840 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
841 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
842 libspi/image.c, libspi/listener.c, libspi/selection.c,
843 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
844 registryd/desktop.c, registryd/registry.c:
845 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
847 * libspi/eventlistener.c
848 Remove semicolon after BONOBO_TYPE_FUNC.
851 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
852 (spi_init_relation_type_table): Initialize using correct type.
854 * registryd/desktop.c:
855 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
856 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
857 of Accessibility_KeyEventType.
859 * test/key-listener-test.c (report_tab_key_event): Use fprintf
862 * tests/simple-at.c, tests/screen-review-test.c:
863 Add include for <strings.h>.
865 * tests.stress-test.c:
866 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
868 These changes fix compiler warnings when using FORTE compiler on
869 Solaris; fixes bug #107479.
872 2003-04-10 Bill Haneman <bill.haneman@sun.com>
875 * configure.in: revved to 1.1.10
878 (SPI_KEYMASK_NUMLOCK): Added.
880 * registryd/deviceeventcontroller.c:
881 (spi_key_event_matches_listener): AND with a smaller
882 bitmask (as we should).
883 (spi_dec_translate_mask):
884 New method, sets the virtual NumLock modifier bit
885 if numlock is on. Eventually it can handle other virtual
886 modifier bits if needed, or other marshalling from
887 at-spi modifier masks to platform (X) masks.
888 (spi_dec_key_listener_new):
889 Call spi_dec_translate_mask to set up virtual mod bits
890 in the 'mask' field when creating a new listener struct.
891 (spi_dec_emit_modifier_event):
892 Set the virtual (i.e. NumLock) bits before emitting event.
893 (spi_controller_register_with_devices):
894 Query for the NumLock modifier 'physical' bit if Xkb is
895 present, for use in above methods.
899 2003-04-10 Bill Haneman <bill.haneman@sun.com>
901 * registryd/deviceeventcontroller.c:
902 (spi_keystroke_from_x_key_event):
903 Instead of checking to see if the keysym is
904 printable, check the string from XLookupString
905 if available, get the first unicode character from it,
906 and call g_unichar_isprint to determine whether the
907 is_text flag should be TRUE or FALSE.
911 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
913 * atk-bridge/bridge.c: Add support for extended events
914 * cspi/spi_event.c: Add documentation and implementation for
916 * tests/event-listener-test.c: Add tests for extended events.
918 This fixes bugs #100424 and #100426.
920 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
922 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
923 of LT_CURRENT. This fixes bug #89350.
925 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
927 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
928 number of signal parameter values before accessing them. This fixes
931 2003-04-01 Bill Haneman <bill.haneman@sun.com>
933 * configure.in: Fixed duplicate inclusion of -lspi.
934 * branched for gnome-2-2/HEAD.
935 [created tag "gnome-2-2"]
937 2003-03-07 Bill Haneman <bill.haneman@sun.com>
939 * configure.in: 1.1.9 release.
942 2003-03-07 Bill Haneman <bill.haneman@sun.com>
944 [needed by GOK, to fix bugs 107985 and 107988]
945 * registryd/deviceeventcontroller.c:
946 (spi_dec_clear_unlatch_pending):
947 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
948 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
949 (spi_dec_init_mouse_listener):Emit warning if mouse button
951 (spi_device_event_controller_forward_mouse_event):
952 Removed unnecessary parens from a conditional.
953 (global_filter_fn):Added TODO comment.
954 (impl_generate_keyboard_event):
955 Cancel a pending relatch if a 'delatching' key was
958 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
960 * atk-bridge/bridge.c:
961 Change atk_signal_child_changed to atk_signal_children_changed.
962 Reorganize code in spi_atk_bridge_signal_listener().
964 * test/event-listener-test.c:
965 Add children_changed_listener and report_children_changed_event()
966 to test AccessibleChildEvent_getChildAccessible.
968 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
970 * cspi/spi_event.c (cspi_internal_event_get_text): Change
971 g_strdup to CORBA_String_dup (bug #105291)
973 * test/event-listener-test.c (report_text_event): Add call to
976 2003-02-28 Bill Haneman <bill.haneman@sun.com>
978 * registryd/deviceeventcontroller.c:
979 (spi_keystroke_from_x_key_event):
980 Fix string and keysym return codes to match modifier state.
983 2003-02-28 Bill Haneman <bill.haneman@sun.com>
985 * registryd/deviceeventcontroller.c:
986 (spi_keystroke_from_x_key_event):
987 Fix segv due to improper use of isprint(c). [bug #107254]
989 2003-02-24 Bill Haneman <bill.haneman@sun.com>
992 (get_accessible_text_boundary_type):
993 Move default return value to (new) default case in switch.
994 (get_accessible_text_clip_type):
995 Move default return value to (new) default case in switch.
997 * libspi/application.c:
998 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
999 Remove unused methods.
1000 (impl_accessibility_application_register_object_event_listener):
1001 Remove unused methods.
1004 Added #include of <math.h>.
1006 * registryd/deviceeventcontroller.c:
1007 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1008 we don't currently use this method.
1009 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1011 (impl_generate_key_event):
1012 Remove unused variables.
1013 (impl_generate_mouse_event):
1014 Initialize button to zero, just in case we get an invalid
1015 input. Added support for mouse buttons 4 and 5.
1016 (spi_device_event_controller_new):
1017 Removed unused variable declaration for 'private'.
1019 Added #include of <gdk/gdk.h>
1021 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1023 * configure.in: Update to work when X is not installed in expected
1024 location. Fixes bug #105836.
1026 * atk-bridge/bridge.c
1027 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1029 (spi_atk_register_event_listener): Add signal listener for
1031 (spi_atk_bridge_signal_listener): Event event when link-selected
1032 signal is emitted. (bug #104622)
1034 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1035 on returned string. (bug #105291)
1037 * test/event-listener-test.c: Add test for link-selected.
1039 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1041 * atk-bridge/Makefile.am: Correct typo in previous commit.
1043 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1045 * atk-bridge/Makefile.am: Allow for build directory to be different
1046 from source directory
1048 * registryd/Makefile.am: Allow for build directory to be different
1049 from source directory
1053 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1056 Fixed dependencies for libcspi so that libspi gets pulled in
1057 properly. Fixes 104741.
1061 Clean up inline docs a little.
1063 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1065 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1066 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1067 the AtkObject within an SpiDesktop.
1068 This addresses bug #101524.
1070 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1071 Remove call to gdk_init().
1073 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1074 so that Display is set when SpiDesktop is created.
1076 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1078 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1079 This fixes bug #102830.
1081 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1083 * test/test-simple.c: Update to take account of fact that GailButton
1084 now implements AtkText.
1085 (create_text_window): Set name on AtkObject for GtkEntry.
1086 (validate_accessible): Check accessible name before calling test_text().
1088 * libspi/Makefile.am: Fix problem with building outside of source
1089 directory. Bug #98120.
1091 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1092 typo in documentation comments. Bug #94275.
1094 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1096 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1098 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1101 Add includes to avoid compiler warnings on Solaris.
1102 (impl_getRangeExtents): Bug fix.
1104 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1106 Fix for 100944, [API addition approved by Gman and murrayc].
1113 * idl/Accessibility_Text.idl:
1114 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1115 (Text::getRangeExtents): New method for efficient
1116 bounds query of a text range.
1117 (Text::getBoundedRanges): New method for efficient
1118 clipping of text to bounding boxes.
1119 (unImplemented7, unImplemented8):
1120 Removed these padding methods to preserve bincompat.
1123 (impl_getRangeExtents): implementation of new IDL.
1124 (impl_getBoundedRanges): implementation of new IDL.
1125 (SpiTextRect): Internal use struct.
1126 (_spi_text_rect_union): internal method, calculates union of two
1127 SpiTextRect bounding rects.
1128 (_spi_text_range_seq_from_gslist): internal method, allows us
1129 to build our sequence efficiently as a gslist then convert it
1131 (_spi_bounds_contain): internal method, determines whether
1132 a text character is "in" or "out" of a clip rect according to
1133 values of TEXT_CLIP_TYPE.
1134 (spi_text_class_init): Initialize the new methods in the epv.
1137 (AccessibleTextClipType): New enum used by screen review api.
1138 (AccessibleTextRange): New struct used by screen review api.
1139 (AccessibleText_getRangeExtents):
1140 cspi binding for Accessibility_Text_getRangeExtents.
1141 (AccessibleText_getBoundedRanges):
1142 cspi binding for Accessibility_Text_getBoundedRanges.
1143 (AccessibleTextRange_freeRanges): convenience method.
1146 (AccessibleText_getRangeExtents):
1147 cspi binding for Accessibility_Text_getRangeExtents.
1148 (AccessibleText_getBoundedRanges):
1149 cspi binding for Accessibility_Text_getBoundedRanges.
1150 (AccessibleTextRange_freeRanges): convenience method.
1151 (get_accessible_text_clip_type): internal conversion method.
1152 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1154 * registryd/deviceeventcontroller.c:
1155 (spi_dec_mouse_check):
1156 Improved behavior for mouse:abs events
1157 [same granularity as mouse:rel events, and no
1158 events when mouse is idle].
1160 2002-12-16 Michael Meeks <michael@ximian.com>
1162 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1164 * libspi/stateset.c (state_spi_to_atk): split out
1165 ( fix several remote array bounds nasties )
1166 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1167 (impl_remove): make safe from array bounds issues.
1168 (spi_atk_state_from_spi_state): impl.
1170 * libspi/stateset.h (spi_state_set_cache_is_empty):
1171 add a set of wrapper defines to get layering right.
1173 * cspi/spi_accessible.c: update state set stuff to
1176 2002-12-14 Michael Meeks <michael@ximian.com>
1178 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1179 to avoid 2 roundtrips to the registry per key event
1180 (spi_atk_bridge_key_listener): upd.
1181 (deregister_application): release the dec.
1183 * registryd/registry.c (notify_listeners_cb):
1184 bin lots of re-enterant complexity - we no longer
1185 do a round-trip bonobo ref here, ensure that a single
1186 listener's exception failure won't poison all other
1188 (impl_registry_notify_event): bin obvious memory leak.
1190 2002-12-13 Michael Meeks <michael@ximian.com>
1192 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1193 init the ev so the error is meaningful.
1194 (spi_atk_bridge_key_listener): ditto.
1196 * cspi/spi_main.c (cspi_ev): init the ev so we start
1197 with a clean slate, otherwise the first exception
1198 kills us completely.
1200 * cspi/spi_text.c (get_accessible_text_boundary_type):
1201 add a fallthrough for no warnings.
1203 * cspi/spi_registry.c: prune unused warnings.
1205 * cspi/spi_main.c (cspi_object_take): fix
1206 mind-blowing brokenness ( by watching the compile
1209 * cspi/spi_accessible.c (Accessible_getStateSet):
1210 re-impl. to use an AtkStateSet.
1211 (spi_state_type_from_accessible_state),
1212 (init_state_table): bin these.
1214 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1216 (atk_state_set_from_accessibility_state_set): here.
1218 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1219 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1220 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1221 (AccessibleStateSet_add, AccessibleStateSet_remove),
1222 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1223 (AccessibleStateSet_isEmpty): re-write to use a local
1226 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1228 * configure.in: Revved to 1.1.7 (new keymask vals).
1230 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1232 * libspi/keymasks.h:
1233 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1235 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1238 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1239 to compare two CORBA_TypeCodes.
1240 (cspi_internal_event_add): Silence warning from FORTE compiler.
1242 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1243 avoid implicit declaration of functions.
1245 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1247 * atk-bridge/bridge.c:
1248 (spi_atk_bridge_init_event_type_consts): Store signal id for
1249 active-descendant-changed signal.
1250 (spi_atk_register_event_listeners): Add signal listener for
1251 active-descendant-changed signal,
1252 (spi_atk_bridge_signal_listener): Move code in function
1253 spi_atk-signal_emit_event() into this function.
1254 Add support for active-descendant-changed
1255 Update support for child-changed signal.
1256 (spi_bridge_window_event_listener): Silence warning.
1258 * libspi/spi_private.[ch]:
1259 (spi_init_any_object): Change second parameter from CORBA_Object to
1261 Omit call to CORBA_Object_duplicate().
1262 Set CORBA_any's _value to CORBA_Object*.
1264 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1270 (AccessibleEvent_ref, AccessibleEvent_unref):
1271 New methods, for persisting an event outside the emission context.
1272 Must be used if the new accessor methods are to be called
1273 outside of the event listener's callback.
1275 * cspi/bonobo/cspi-bonobo.c:
1276 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1277 as second parameter instead of NULL, so we can call
1278 cspi_check_ev afterwards.
1281 (cspi_object_take): New internal method,
1282 converts a CORBA_Object reference to a hard ref on
1283 an Accessible if possible, returning NULL if the object
1284 reference is invalid or an Accessible * otherwise.
1287 (AccessibleEvent_ref):
1288 Increment the event's internal private refcount, and
1289 add the event's internal struct to an internal cache
1290 if it's not already there.
1291 (AccessibleEvent_unref):
1292 Decrement the event's refcount and remove it from
1293 the cspi event cache if refcount==0.
1294 (cspi_event_compare): New private method.
1295 Compares two event structs via their ids. Used
1297 (cspi_internal_event_lookup): New private method.
1298 (cspi_internal_event_check): New private method,
1299 a 0-order sanity check for events to make sure their
1300 private data is intact.
1301 (cspi_internal_event_add, cspi_internal_event_remove):
1302 New private methods for managiing the event cache.
1304 * cspi/bonobo/cspi-bonobo-listener.c:
1306 Initialize the new private data elements (id, magic, ref_count).
1308 * atk-bridge/bridge.c:
1309 (spi_atk_bridge_signal_listener):
1310 Fixed bug #100530, passing wrong params to emission func.
1312 * registryd/deviceeventcontroller.c:
1313 (spi_dec_button_update_and_emit):
1314 Fixed type in mask bit operations; fix for #99799.
1316 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1318 Removed some of the more dangerous workarounds from
1319 previous commit; they are only needed by GOK, which
1320 in reality should be using another method to accomplish
1321 the goals. So on reconsideration some of the workarounds
1322 need to be reverted:
1324 * registryd/deviceeventcontroller.c:
1325 (spi_keycodes_contain, spi_dec_init_keycode_list):
1326 Removed these methods, used only by a nasty hack to try
1327 and detect whether a key synthesis should be allowed
1328 to reset the XKB latch state or not. This code was only
1329 required to work around an interaction between GOK,
1330 button events, and XKB.
1331 (impl_generate_key_event):
1332 Removed hack at end of key generation that tried to
1333 "do the right thing" if XKB latch keys were generated
1334 in the midst of button press/release pairs.
1337 Added a check for HAVE_XINPUT. Not normally used yet.
1339 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1341 Workarounds and fixes for mouse event/XKB interaction.
1343 * registryd/deviceeventcontroller.c:
1344 (spi_keycodes_contain, spi_dec_init_keycode_list):
1345 New internal methods.
1346 (spi_dec_set_unlatch_pending):
1347 Split the method that tells XKB to expect an
1348 unlatch (and revert it) out of the rest of the
1349 event handling code. This method is called by the
1350 two mouse event handlers (the poll and the filter).
1351 (spi_dec_update_and_emit, spi_dec_mouse_check):
1352 New methods split from spi_dec_poll_mouse_moved.
1353 The second one is now called from inside the filterFn
1354 when an XKB delatch event is received, to determine
1355 whether to revert the delatch or not.
1356 (spi_poll_mouse_moved): Refactor; also we can now
1357 properly handle the case where multiple button states
1358 have changed between polling cycles and we didn't get
1359 notified due to another client's grab.
1361 Synchronize the server while handling an XKB notification.
1362 Ugly, but apparently necessary to avoid nasty races.
1363 Check the mouse state on receipt of an XKB latch change,
1364 to decide whether to revert the latch or not. (Latches are
1365 reverted if there is an immediately preceding mouse button
1366 event that a client has consumed, in which case we don't want
1367 the user to see the side-effect of the event).
1368 (spi_device_event_controller_forward_mouse_event):
1369 Check for modifier events and fire before resetting mouse_mask_state,
1370 prevents losing modifier events.
1372 (impl_generate_keyboard_event):
1373 If we've just generated a keyboard event for a non-shift key,
1374 we don't want to revert the pending XKB latch.
1375 Otherwise, check the modifier state (via a call to
1376 spi_dev_mouse_check) and set the relatch mask to
1377 that state before returning.
1379 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1382 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1385 * atk-bridge/bridge.c:
1386 (spi_atk_register_event_listeners):
1387 Don't re-register for ATK events if the registry has died
1388 and the app needs to re-register; the ATK listeners are in
1389 process and doing so will cause duplicate emission.
1391 * registryd/deviceeventcontroller.c:
1392 (spi_poll_mouse_moved):
1393 Reformat the source, detect and emit multiple button-change
1394 events (i.e. if multiple buttons have changed between poll
1396 Add code to detect mouse-down events even when the pointer
1397 is grabbed; workaround for GOK bug 98420.
1398 (spi_controller_register_with_devices):
1399 Call XTestGrabControl with 'impervious' flag set to True,
1400 allows us to synthesize events and query the pointer even during
1401 an active grab by another client.
1402 (spi_device_event_controller_forward_mouse_event):
1403 Set the mouse_mask_state to the mouse_button_state from
1404 the intercepted event, to synchronize the grab listener with
1407 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1409 * cspi/spi_accessible.c:
1410 (AccessibleRole_getName):
1411 Added necessary strings for making this (deprecated)
1412 method work with the new role types.
1413 (init_role_table, role_table):
1414 Added definition of SPI_ROLE_APPLICATION.
1416 * libspi/spi-roletypes.h:
1417 Added SPI_ROLE_APPLICATION.
1419 * idl/Accessibility_Role.idl:
1420 Added ROLE_APPLICATION.
1422 * docs/reference/cspi/at-spi-cspi-decl.txt:
1423 Added SPI_ROLE_APPLICATION to docs.
1425 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1427 * cspi/spi_accessible.c
1428 (cspi_init_role_table): Do not write beyond end of role_table.
1429 (Accessible_getRole): Use correct type for value returned by
1430 Accessibility_Accessible_getRole().
1432 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1433 beyond end of role_table. (This fixes bug #98269)
1435 * libspi/application.c: Add include file spi-private.h for
1436 definition of spi_init_any_nil.
1438 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1442 * libspi/spi-private.h:
1443 Added DGB() macro, and extern int _dbg declaration.
1445 * registryd/registry.c:
1446 (definitions) storage for _dbg.
1447 (spi_registry_init):
1448 Get environment variable "AT_SPI_DEBUG".
1449 (spi_registry_set_debug):
1450 New method, to initialize _dbg value.
1451 (spi_listener_struct_new, spi_registry_object_finalize):
1452 (notify_listeners_cb):
1453 Changed fprintfs to use DBG and g_warning().
1455 * registryd/deviceeventcontroller.c:
1456 (_deregister_keygrab, spi_controller_register_device_listener):
1457 Changed debug/warning messages to use DBG macro.
1459 * libspi/listener.c:
1460 (impl_notify_event):
1461 Changed warning messages to use DBG macro and g_warning().
1463 * atk-bridge/bridge.c:
1464 (atk_bridge_init, spi_atk_bridge_get_registry):
1465 (spi_atk_bridge_exit_func):
1466 (spi_atk_bridge_property_event_listener):
1467 Changed status, warning, and error messages to use
1468 g_warning, g_message, and DBG macros.
1471 Read the state of the AT_SPI_DEBUG environment variable
1472 and set a local '_dbg' accordingly.
1474 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1476 FIXES for 98836, 98842, other bugs.
1479 Revved to 1.1.4, interface-age=4, binary-age=4.
1481 * registryd/deviceeventcontroller.c:
1483 Fixed crasher bug in last_mouse_pos initialization.
1485 * registryd/registry.c:
1486 (desktop_add_application, desktop_remove_application):
1487 Added (and then commented out) some support for
1488 object context marshalling. [TODO]
1490 * atk-bridge/bridge.c:
1491 (spi_atk_bridge_event_context_create):
1492 Commented out object context creation until it can
1493 be properly tested and debugged.
1495 * registryd/registry.c:
1496 (impl_registry_notify_event):
1497 Fixed crasher bug, we were calling
1498 spi_re_entrant_list_foreach () with an empty list.
1500 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1502 * idl/Accessibility_Action.idl:
1503 * idl/Accessibility_Component.idl:
1504 * idl/Accessibility_Desktop.idl:
1505 * idl/Accessibility_Event.idl:
1506 * idl/Accessibility_Hyperlink.idl:
1507 * idl/Accessibility_Image.idl:
1508 * idl/Accessibility_Relation.idl:
1509 * idl/Accessibility_Selection.idl:
1510 * idl/Accessibility_State.idl:
1511 * idl/Accessibility_Value.idl:
1512 Updated unimplemented slot count to minimum of
1513 four for all interfaces, for ABI freeze.
1515 * idl/Accessibility_EditableText.idl:
1516 * idl/Accessibility_Text.idl:
1517 Updated unimplemented slot count to six
1520 * idl/Accessibility_Registry.idl:
1521 Updated unimplemented slot count to six
1522 (also for DeviceEventController),
1525 * idl/Accessibility_Table.idl:
1526 Updated unimplemented slot count to eight,
1529 * idl/Accessibility_Event.idl:
1530 Added CORBA_any "any_data" member to Event struct.
1532 * idl/Accessibility_Event.idl:
1533 Added CORBA_any "any_data" member to Event struct.
1535 * atk-bridge/bridge.c:
1537 atk_signal_text_changed, atk_signal_child_changed,
1538 signal ids queried from gtype system.
1539 (AtkBridgeEventContextType): New enum.
1540 (AtkBridgeEventContextData): New struct.
1541 (AtkBridgeEventContext): New struct.
1542 (atk_bridge_init_event_type_consts):
1543 New method, initializes type contants for comparison
1544 prior to emit_eventv.
1545 (atk_bridge_event_context_init): New method,
1546 initializes a CORBA_any from an AtkBridgeEventContext.
1547 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1548 initialize the event.any_data struct.
1549 (spi_atk_bridge_event_context_create): New method,
1550 creates an AtkBridgeEventContext from signal/event info.
1551 (spi_atk_bridge_event_context_free): New method.
1552 (spi_atk_emit_eventv): Changed to take an
1553 AtkBridgeEventContext parameter. We now initialize
1554 the event.any_data member prior to notifying the
1555 Registry, via the AtkBridgeEventContext.
1556 (spi_atk_bridge_property_event_listener):
1557 (spi_atk_bridge_state_event_listener):
1558 Match emit_eventv signature.
1559 (spi_atk_bridge_object_event_listener):
1560 Match emit_eventv signature, and create an
1561 event context from the event details.
1562 Free the event context afterwards.
1563 (spi_atk_bridge_window_event_listener):
1564 Create an event context, pass it to the
1568 (AccessibleEvent_getContextString):
1569 (AccessibleEvent_getContextObject):
1570 New methods, allow query of AccessibleEvent objects
1571 for more context details (via the "any_data" member
1572 of the Event struct, above).
1575 Definitions for AccessibleEvent_getContextString
1576 and AccessibleEvent_getContextObject.
1578 * cspi/spi_listener.h:
1579 (InternalEvent): New struct.
1582 (AccessibleEvent_getContextString):
1583 (AccessibleEvent_getContextObject):
1584 Implementations of new methods, for obtaining
1585 additional context information from some event types.
1587 * cspi/spi_registry.c:
1588 (SPI_registerGlobalEventListener):
1589 Added mention of active-descendant-changed event in docs.
1591 * cspi/cspi-bonobo-listener.c:
1593 Marshal the any into the AccessibleEvent via
1596 * libspi/spi-private.h:
1597 #include <orbit/orbit.h>
1599 (spi_init_any_string):
1600 (spi_init_any_object):
1601 New convenience function declarations.
1605 (spi_init_any_string):
1606 (spi_init_any_object):
1607 New convenience function implementations.
1609 * registryd/deviceeventcontroller.c:
1610 (spi_poll_dec_mouse_moved):
1611 (spi_device_event_controller_forward_mous_event):
1612 Initialize any_data member of event.
1613 (spi_deregister_controller_device_listener):
1614 Fix incorrect param pass which was preventing deregistration.
1616 * registryd/registry.c:
1617 (desktop_add_application):
1618 (desktop_remove_application):
1619 Add object data to event's any_data before dispatch.
1621 Fix for error messages from GAIL.
1623 * test/event-listener-test.c:
1624 Test new ContextString and "any_data" API:
1625 (report_text_event): New method query and output context string.
1626 (main): register a new text listener with report_text_event
1629 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1631 Fixes for bugs 98127 and 97914.
1632 * cspi/spi-roletypes.h:
1633 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1635 * cspi/spi-statetypes.h:
1636 Added SPI_STATE_MANAGES_DESCENDANTS
1638 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1639 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1640 * cspi/spi_accessible.c:
1641 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1642 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1643 Accessibility_STATE_MANAGES_DESCENDANTS
1644 * libspi/accessible.c:
1645 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1646 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1647 As requested by Bill, I also cleaned up the alignment.
1648 * libspi/relation.c:
1649 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1650 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1651 * libspi/stateset.c:
1652 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1653 Accessibility_STATE_MANAGES_DESCENDANTS
1654 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1655 Document changes reflecting modifications to roles.
1656 * docs/reference/cspi/tmpl/spi_relation.sgml:
1657 Document changes reflecting modifications to relations.
1658 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1659 Document changes reflecting modifications to states.
1661 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1664 Revved to 1.1.3, interface-age=3, binary-age=3.
1665 Added REBUILD macro.
1668 Removed accessx-gui from the tests, since we have a nice
1669 keyboard accessibility capplet now :-)
1671 * test/keysynth-demo.c:
1672 (increment_scan): removed do-nothing default: case,
1675 * test/visual-bell.c:
1676 (main) : removed do-nothing default: case,
1679 * cspi/spi_action.c:
1680 (AccessibleAction_getKeyBinding_):
1681 Documented keybinding string format.
1685 (AccessibleText_getAttributes):
1686 Documented the text attribute string format.
1687 It's changed to use semicolon delimiters also,
1688 to prevent clashes with CSS attributes, but the old
1689 trick of looking for ", " strings will still work
1690 (as unreliably as ever). Fix for bug related to 97916.
1693 Include <cspi/bonobo/cspi-bonobo-listener.h>
1694 Fixes build warning.
1695 (SPI_freeAccessibleKeySet):
1696 (AccessibleKeystrokeListener_addCallback):
1697 (AccessibleKeystrokeListener_removeCallback):
1698 Modify to use AccessibleDeviceListener API internally,
1699 instead of AccessibleKeystrokeListener.
1701 * idl/Accessibility_Event.idl:
1702 Added two more empty slots to EventListener (for a total of four).
1704 * idl/Accessibility_Accessible.idl:
1705 Added four empty slots to Accessible interface.
1707 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1709 * idl/Accessibility_Registry.idl:
1710 (KeyEventType, EventType):
1711 Marked KeyEventType as deprecated; it duplicates
1712 functionality of EventType, which has been extended to
1713 include Mouse-button events.
1714 (KeyEventTypeSeq): defined in terms of EventType.
1715 (registerDeviceEventListener, deregisterDeviceEventListener):
1716 New methods, for managing listeners to device events,
1717 which potentially may consume them.
1720 Added definition for AccessibleDeviceListener.
1722 * cspi/spi-listener.h:
1723 (enum AccessibleDeviceEventType):
1724 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1725 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1726 for backwards compat.
1727 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1728 and typedef'd AccessibleKeystroke to it for back-compat.
1729 (AccessibleDeviceListenerCB):
1730 New function prototype typedef.
1733 (AccessibleDeviceEventMask): New typedef.
1734 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1735 (AccessibleKeyMaskType):
1736 Set equivalent to AccessibleModifierMaskType for back-compat.
1737 (SPI_createAccessibleKeystrokeListener):
1738 (AccessibleKeystrokeListener_unref):
1739 Deprecated in favor of equivalent (better-named) new API below..
1740 keystroke listeners are like all device listeners.
1741 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1742 New API names for old features :-).
1743 (AccessibleDeviceListener_addCallback):
1744 (AccessibleDeviceListener_removeCallback):
1745 (SPI_registerDeviceEventListener):
1746 (SPI_deregisterDeviceEventListener):
1750 (SPI_createAccessibleKeystrokeListener):
1751 Use new preferred API, cspi_device_listener_new() and
1752 cspi_device_listener_add_cb().
1753 (AccessibleKeystrokeListener_removeCallback):
1754 Use new preferred API, cspi_device_listener_remove_cb().
1755 (AccessibleKeystrokeListener_unref):
1756 Use new preferred API, cspi_device_listener_unref().
1757 (SPI_createAccessibleDeviceListener):
1758 (AccessibleDeviceListener_addCallback):
1759 (AccessibleDeviceListener_removeCallback):
1760 Implementation of new API.
1762 * cspi/spi_registry.c:
1763 (SPI_registerDeviceEventListener):
1764 (SPI_deregisterDeviceEventListener):
1765 Implementation of new API. Fixed memory leak and removed need to
1766 allocate EventTypeSeq (thanks Michael for catching this).
1767 Squashed a wayward CORBA_exception_free that shouldn't get called.
1769 * cspi/bonobo/cspi-bonobo-listener.c:
1771 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1772 (cspi_key_event): renamed to cspi_device_event().
1773 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1774 Extended to handle mouse button events as well as key events.
1775 (CSpiKeystrokeListener):
1776 Class superceded by CSpiDeviceListener.
1777 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1778 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1780 * cspi/bonobo/cspi-bonobo-listener.h:
1781 (CSpiKeystrokeListener):
1782 Class superceded by CSpiDeviceListener.
1783 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1784 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1786 * libspi/Makefile.am:
1787 Replaced keystrokelistener.h and keystrokelistener.c
1788 with devicelistener.h and devicelistener.c; keystrokelisener.h
1789 stub retained for back-compat.
1791 * libspi/keystrokelistener.c:
1795 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1797 * registryd/deviceeventcontroller.c:
1798 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1799 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1800 (DEControllerPrivateData): Added xkb settings data.
1801 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1802 button release events (which can't be captured via XGrabButton).
1803 Don't dispatch via the 'normal' event mechanism if the device event was
1805 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1806 Handle the typeseq data in its new location (see above).
1807 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1808 New methods, for "generic" device listeners.
1809 (spi_controller_register_device_listener):
1810 Now handle mouse event listeners as well as key listeners.
1811 (spi_controller_notify_mouselisteners):
1812 New internal method.
1813 (spi_device_event_controller_forward_mouse_event):
1814 Now we notify mouse device listeners as well as generating the
1815 non-consumable "mouse:" events.
1817 We must check and restore the XKB
1818 modifier map if we consume the event, since the act of triggering
1819 a mouse event will normally reset the XKB latch. This is required for
1821 (spi_controller_register_with_devices):
1822 Load the XKB settings when registering, and register for XKB
1823 state notify events.
1824 (spi_key_eventtype_seq_contains_event):
1825 Renamed spi_eventtype_seq_contains_event, since it's used
1826 internally for all device event types now.
1827 (spi_key_event_matches_listener):
1828 Uses spi_eventtype_seq_contains_event now.
1829 (spi_device_event_controller_object_finalize):
1830 Free the private data and the XkbKeyboard struct.
1831 (impl_register_device_listener, impl_deregister_device_listener):
1832 Implementation of new IDL.
1833 (spi_deregister_controller_device_listener):
1834 New internal method.
1835 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1836 More efficient implementation, we don't have to create a new
1837 XkbControls structure every time we query.
1838 (spi_device_event_controller_class_init):
1839 Initialize the epv entries for the new IDL. Assign the
1840 "spi-dec-private" quark.
1841 (spi_device_event_controller_init):
1842 Initialize the private data.
1843 (spi_device_event_controller_forward_key_event):
1844 Removed a bogus CORBA_exception_free() call.
1846 * registryd/deviceeventcontroller.h:
1847 Replaced inclusion of keystrokelistener.h with
1850 * test/event-listener-test.c:
1851 (report_mouse_event):
1854 Added mouse-event device listener.
1856 * test/test-simple.c:
1857 (create_test_window):
1858 Fixed regression (we were instantiating a GtkRange,
1859 which is now an abstract class). Also fixed to match
1860 existing AtkRole names, this seems to have changed in ATK
1861 awhile ago; too late now I think, and the new
1862 mechanism is at least elegant and consistent with the
1863 glib enum "nick" APIs.
1865 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1867 * idl/Accessibility_Relation.idl:
1868 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1869 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1870 * idl/Accessibility_Role.idl:
1871 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1872 * idl/Accessibility_State.idl:
1873 add STATE_MANAGES_DESCENDANTS
1874 * test/event-listener-test.c:
1875 Added a listener for active-descendant events.
1877 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1879 * atk-bridge/bridge.c
1880 (atk_bridge_init): If application is Bonobo component wait until top
1881 level is added before registering
1882 (spi_atk_bridge_do_registration): New function which contains code,
1883 formerly in atk_bridge_init, to do application registration.
1884 (spi_atk_bridge_toplevel_added): Signal called when top level
1885 added to Bonobo component
1887 This fixes bug #83134.
1889 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1891 * registryd/deviceeventcontroller.c
1892 Fixed compilation error caused by calling gettimeofday()
1895 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1900 Added template for HAVE_XKB.
1903 Changes to check for XKB, and to set the HAVE_XKB #define if it
1906 * libspi/listener.c:
1907 ()impl_notify_event): Make failure to get event source name
1910 * registryd/deviceeventcontroller.c:
1911 (#include): include X11/XKBlib.h.
1912 (DEControllerPrivateData) : New struct.
1913 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1915 (dec_synth_keycode_press) (dec_synth_keycode_release):
1916 New methods; split the key synthesis code into these methods.
1917 They check XKB settings before determining the "time" values to
1918 pass to Xtest; this fixes bug #95828.
1919 (impl_generate_keyboard_event): Changed to use methods above,
1920 instead of callng Xtest directly.
1921 (spi_device_event_controller_init): Initialize new privae struct s
1923 (spi_device_event_controllr_object_finalize):
1924 Free the (new) private data.
1926 * registryd/deviceeventcontroller.h:
1927 Add new gpointer to end of struct data.
1929 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1932 Incremented revision to 1.1.2, SONAME is still '.so', library
1933 extensions are ".so.0.0.2".
1935 * registryd/deviceeventcontroller.c:
1936 FIXES FOR #93592 and #95940.
1937 (statics): renamed mouse_button_state to mouse_mask_state,
1938 added key_modifier_mask.
1939 (spi_dec_poll_mouse_moved):
1940 Added key modifier checks, and emit "keyboard:modifiers"
1941 events when the key modifiers currently in use change.
1942 Also generate "mouse:abs" events periodically, even if the mouse
1943 is stationary (should we?).
1944 Alternatively we could generate "mouse:abs" events for either all
1945 mouse movements, or every 'nth' mouse movement, or at the
1946 beginning and end of every "active" mouse period.
1948 * test/event-listener-test.c:
1949 (main): Added listener for "keyboard:modifiers" events.
1951 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1953 * libspi/keymasks.h:
1954 Added key mask #defines for mouse buttons; e.g.
1955 SPI_KEYMASK_BUTTON1, etc.
1958 Incremented dependency on ATK to version 1.1.0. (This dependency
1959 is probably premature but will soon be real enough).
1961 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1963 * libspi/hyperlink.[ch]
1964 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1965 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1968 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1973 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1975 * registryd/deviceeventcontroller.c
1976 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1977 events to be ignored.
1978 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1979 keyboard_mode so that XAllowEvents() can be called.
1983 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1985 * cspi/spi-accessible.c: Correct names of roles returned by
1986 AccessibleRole_getName(). Fixes bug #95055.
1988 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1990 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1993 * registryd/registry.c
1994 (desktop_remove_application: Write diagnostic message to stderr for
1997 (impl_accessibility_registry_deregister_global_event_listener):
1998 Correct size of lists array. This addresses bug #94555).
2000 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2002 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2005 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2007 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2010 * registryd/registry.c (impl_registry_notify_event): Remove
2011 unnecessary call to parser_event_type().
2013 * docs/reference/cspi/tmpl/spi_component.sgml:
2014 Add reference to SPI_LAYER_WINDOW.
2016 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2018 * registryd/registry.c
2019 (desktop_add_application): Remove leak.
2020 (desktop_remove_application): Remove leak.
2021 (parser_event_type): Remove leak.
2023 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2025 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2026 bogus call to CORBA_string_dup(). Also removed unnecessary
2027 g_string_dup/g_free calls.
2029 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2031 * registryd/deviceeventcontroller.c:
2032 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2034 * test/event-listener-test.c:
2035 main: commented out three redundant listeners, to reduce output
2036 noise. (They still are potentially useful for testing).
2039 2002-09-13 Michael Meeks <michael@ximian.com>
2041 * Update all the copyrights to include Ximian.
2043 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2045 * cspi/spi.h: add SPI_LAYER_WINDOW.
2047 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2048 add Accessibility_LAYER_WINDOW case.
2050 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2052 * libspi/component.c: (impl_accessibility_component_get_layer):
2053 add ATK_LAYER_WINDOW case.
2055 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2057 * configure.in: incremented micro version.
2059 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2061 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2064 Clarified and reworded our commit policy.
2067 Started an API "todo" addition list for 2.2.
2070 (impl_getSelection):
2071 Free char pointer from atk_text_get_selection, which was being leaked.
2073 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2076 Small revision to author acknowledgement.
2078 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2080 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2081 If signal has detail add it to the type of the event.
2084 2002-08-12 Michael Meeks <michael@ximian.com>
2086 * test/test-simple.c (global_listener_cb): bin bogosity.
2087 (test_keylisteners): disable, still doesn't work reliably,
2088 certainly not on my system anyway.
2090 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2091 don't leak a reference on the DEC. This round-trip
2092 fetching of the DEC per keystroke sucks, it should be
2095 * cspi/spi-private.h,
2096 * cspi/cspi-lowlevel.h,
2097 * cspi/bonobo/cspi-bonobo-listener.[ch],
2098 * cspi/bonobo/cspi-bonobo.c: get the copyright
2099 notices better - there is still a large amount of
2100 work in at-spi falsely attributed solely to Sun.
2102 * cspi/spi_main.c (cspi_object_ref): kill bogus
2103 hash lookup, just increment the ref.
2104 (SPI_freeString): make explicit the fact that we
2105 handle NULL strings just fine.
2106 (report_leaked_ref): obey coding standards.
2107 (cspi_object_hash, cspi_object_equal): kill retval.
2108 (cspi_object_release): only release if not on loan.
2109 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2110 (cspi_object_borrow, cspi_object_return): impl.
2112 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2113 use cspi_object_borrow / return.
2115 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2117 * cspi/bonobo/cspi-bonobo-listener.c:
2119 Don't call cspi_oject_new() because this is creating a new Accessible
2120 every single time that an event is fired. This causes ATs like at-poke
2121 to nolonger recognise the source of the event and thus ignore it.
2122 Re-use the object from the cache, ref it and then unref it after the
2123 listeners have been called.
2125 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2127 * test/event-listener-test.c:
2128 Added command-line options to disable mouse events (m) and
2131 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2133 * configure.in: Update required versions of ATK, GTK+ and GAIL
2135 * cspi-1.0.pc.in: Add dependency for X include files
2138 * cspi/bonobo/Makefile.am:
2139 Add $(X_CFLAGS) so that X include files
2140 are picked up even if not in standard place (bug #71686)
2142 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2144 * registryd/deviceeventcontroller.c: fix for 84261
2145 (spi_dec_mouse_moved):
2146 Added test of mouse button mask, so that we can detect mouse
2147 button release. Unfortunately we can't otherwise detect mouse
2148 button release events without consuming the mouse press event,
2149 because of the way XGrabButton works. This means that our mouse
2150 release events have a latency dependent on the polling period
2151 while the mouse button is down. At least in this case we only
2152 have to poll while the button is down, and not at other times.
2153 If the button masks don't match with what the last press event
2154 reported, we report the appropriate button release event.
2155 (spi_dec_ungrab_mouse):
2156 New method (not yet called).
2157 (spi_device_event_controller_forward_mouse_event):
2158 New method, sends mouse press event from GdkFilter.
2159 (spi_dec_init_mouse_listener):
2160 Added code to call XGrabButton, redirecting mouse button events to
2161 the root window and our Gdk event loop.
2163 Added code to filter mouse button events, and reordered.
2165 * test/event-listener-test.c:
2167 Added registration for mouse events of type "mouse:button".
2169 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2171 * registryd/deviceeventcontroller.c: partial fix for 84261
2172 (spi_dec_poll_mouse_idle):
2173 New method, a timeout which checks to see if the mouse
2175 (spi_dec_poll_mouse_moving):
2176 A timeout to be called when mouse motion is underway.
2177 (spi_dec_poll_mouse_moved):
2178 A method which fires an event if the mouse has moved, and reports
2179 whether or not it did so.
2180 (spi_dec_init_mouse_listener):
2181 A method which sets up the timeouts above.
2182 (spi_device_event_controller_new):
2183 Now calls spi_dec_init_mouse_listener.
2185 * registryd/registry.c:
2186 (spi_registry_init):
2187 Now we initialize the device event controller when the registry is
2188 initialized, instead of waiting until a client has requested a key
2189 event notification; this is because we need the event controller
2190 for mouse events, but the mouse event registration API is a
2191 "registry" call and doesn't explicitly call the
2192 deviceeventcontroller.
2193 We now report mouse motion events with a 100 ms idle latency and
2194 a 20 ms granularity when motion is in progress.
2196 * test/event-listener-test.c:
2198 We now register the "detail listener" for events of type
2199 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2200 delivered only for the first mouse event received, and thereafter
2201 "mouse:abs" events are delivered.)
2203 * cspi/spi_registry.c:
2204 DOCS: Documented the above mouse event typestrings.
2206 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2208 Happy Summer Solstice...
2210 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2211 (spi_controller_notify_keylisteners):
2212 Changes to remove a listener from the listener list, freeing its
2213 open keygrabs, if a notification to that listener fails. This
2214 means that although a dead listener can continue to hold a passive
2215 keygrab, a maximum of one dispatch to such a listener can fail
2216 before the listener is removed from the list, thus the keygrab
2217 will be released on the next occurrence.
2218 As part of this fix:
2219 (spi_notify_keylisteners):
2220 Renamed to spi_controller_notify_keylisteners, as the controller
2221 instance must now be passed as an argument.
2222 The copied 'notify' GList is now a list of DEControllerKeyListener
2223 objects, since we need more than just the CORBA reference if a
2224 notify fails and we need to deregister the listener.
2225 (impl_notify_listeners_sync):
2226 (impl_notify_listeners_async):
2227 (spi_device_event_controller_forward_key_event):
2228 Modify use of notify_keylisteners in accordance with above
2230 (spi_deregister_controller_key_listener):
2231 New method introduced by refactoring, from
2232 impl_deregister_keystroke_listener.
2233 (impl_deregister_keystroke_listener):
2234 Call spi_deregister_controller_key_listener.
2235 (spi_key_listener_clone):
2236 New method to copy a key listner without doing a 'ref' on the
2237 remote object instance; used to create a notifier list.
2238 (spi_key_listener_data_free):
2239 New method, frees data without unreffing the source.
2241 (spi_key_listener_clone_free): new method.
2242 (spi_key_listener_free):
2243 refactored to call spi_key_listener_data_free.
2245 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2247 * registryd/registry.c: [fix for bug 86048]
2248 (notify_listeners_cb):
2249 Clear CORBA system exceptions which occur when notifying
2250 listeners, before returning to the source of the original event,
2251 since the event source doesn't care if the relayed notify failed.
2252 In other words, don't complain to the atk-bridge if the registry
2253 could not notify all its listeners, that's no fault of the
2254 application and thus should not appear to be an error from the
2255 application's perspective.
2257 * cspi/spi_main.c: [fix for bug 85980]
2259 Replaced use of bonobo_object_dup_ref with call to the wrapper
2260 method, csou_dup_ref (); this silences a compiler warning and
2261 provided more portability.
2263 Ping the registry before return, and restart if necessary.
2265 * cspi/bonobo/cspi-bonobo.c:
2267 New internal method.
2269 Fixed this method to return an object reference, as it should have
2272 * cspi/cspi-lowlevel.h:
2273 Added internal definition for cspi_ping() and fixed
2274 return type of cspi_dup_ref().
2277 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2279 * atk-bridge/bridge.c: [fix for bug 85305]
2280 (spi_atk_bridge_register_application):
2281 New method where the initial application registry calls have been
2282 moved; it allows an application to re-register in response to
2283 certain error conditions (such as a registry restart, see below).
2285 Moved some initialization code to the method
2286 spi_atk_bridge_get_registry, below.
2287 (spi_atk_bridge_get_registry):
2288 New, private accessor function for the Accessibility_Registry
2289 instance. If the registry has not been started before, or has
2290 died (as detected by failure of a CORBA exception), it is
2291 restarted before return, and spi_atk_bridge_register_application
2292 is called again to register with the new bridge instance.
2293 (spi_atk_emit_eventv):
2294 Set registry_died on error; use spi_atk_bridge_get_registry () to
2295 access the registry.
2297 * registryd/registry.c:
2298 (impl_accessibility_registry_register_global_event_listener):
2299 Set listener's event_type_quark to etype.minor instead of
2300 etype.major (fix for bug 84856).
2302 * test/event-listener-test.c:
2303 (report_detail_event):
2304 Change the output string so that user/tester can tell that the
2305 'detail listener' was called instead of the 'generic listener'.
2307 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2309 Fixes for bugs 84900, 84908, 84897, 84898.
2314 Revved version to 1.1.0
2315 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2316 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2318 * idl/Accessibility_Registry.idl:
2319 (EventListener::notifyEvent):
2320 Removed 'oneway' directive after extensive consulation with
2321 ORBit2 team and others. This means also that unref() of the event
2322 source can and should be done synchronously after emission, rather
2323 than remotely in the client, after servicing the notify call on
2326 NOTE: This change speeds up listener performance considerably, but
2327 introduces new latency on the application side. We may want to
2328 add an event queue to the atk-bridge.
2330 * atk-bridge/bridge.c:
2331 (spi_atk_bridge_focus_tracker):
2332 Do a local unref() on the event source after emission.
2334 * registryd/registry.c:
2335 (desktop_remove_application):
2336 Do an unref() on the event source after emission.
2337 (desktop_add_application):
2338 Do an unref() on the event source after emission.
2339 (notify_listeners_cb):
2340 When relaying an event, don't automatically add the event source
2341 to the local object cache, just CORBA_dup it instead. Likewise,
2342 if this method reenters, release the ref rather than calling
2344 (impl_registry_notify_event):
2345 No longer call remote unref() on the event source after dispatch.
2347 * libspi/eventlistener.c:
2348 (impl_accessible_event_notify_event):
2349 Removed remote unref ()
2351 * cspi/bonobo/cspi-bonobo-listener.c:
2353 We now call cspi_object_new() instead of cspi_object_add() on
2354 receipt of an event; thus we only have an implicit object ref
2355 while the cspi_event method is being executed. If we need to keep
2356 a reference to the object, the listener must call ref() on the
2357 object. Thus also we don't need to call cspi_object_unref() after
2358 invoking the listener callbacks in this method.
2362 New internal API for creating a new cspi object, without adding it
2363 to the object cache.
2365 Now uses cspi_object_new() to create the cspi object instance.
2367 Now checks to see if the object is in the internal object cache,
2368 and adds it if necessary before incrementing its refcount (note
2369 that new objects are added with a refcount of 1).
2370 (report_leaked_ref):
2371 New method which gives some information on leaked object instances
2372 if leak detection is turned on.
2374 * test/event-listener-test.c:
2375 (timing_test_event):
2376 New method, used for testing event delivery timing for special
2377 events of type "object:test". It reports elapsed time and
2378 events/sec every 500 events.
2380 Added a new listener, 'test listener', to check timing of event
2381 receipt as noted above.
2383 Added some timing output here also, reports elapsed time every 100
2386 * test/stress-test.c:
2387 Emit events of type "object:test", for use with "event-listener-test".
2389 * test/test-simple.c:
2390 (global_listener_cb):
2391 Call Accessible_ref() on the event source before calling
2392 validate_accessible, since the validation process does pointer
2393 comparisons on the event source, meaning that the event source
2394 needs to be added to the local object cache first. Any use of
2395 such pointer comparisons between Accessible objects requires that
2396 the caller hold an explicit reference to those objects.
2397 We also must therefore call Accessible_unref() when leaving this method.
2399 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2401 * registryd/deviceeventcontroller.c:
2402 (spi_controller_update_key_grabs):
2403 Fix for #84735, subsequent keygrab listeners not informed of
2404 registration failure.
2407 (spi_base_construct):
2408 Add an assertion on construct, to make sure the GObject passed in
2409 is really a GObject.
2411 Explicitly initialize object->gobj pointer to NULL;
2413 * cspi/bonobo/cspi-bonobo-listener.c:
2414 (cspi_object_add_ref):
2415 New method, can specify whether to dup-ref a bonobo object passed
2416 in if it's newly added to the object cache.
2418 Now calls cspi_object_add_ref with second param of "FALSE". This
2419 prevents us from doing a pointless dup-ref followed by
2420 release-unref for all those cases where the object is already in
2421 our object cache (fix for #85205).
2423 * atk-bridge/bridge.c:
2424 (spi_atk_bridge_idle_init):
2425 Removed this method, we don't need to initialize in an idle
2428 Changed to call spi_atk_register_event_listeners directly, not via an
2429 idle handler. (fix for #81139)
2430 (gnome_accessibility_module_shutdown):
2431 Removed conditional around deregistration of listeners, since we
2432 don't use the idle handler and thus have always registered when
2434 (spi_init_keystroke_from_atk_key_event):
2435 Changed references to Accessibility_KEY_PRESSED to
2436 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2438 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2440 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2445 * test/stress-test.c:
2448 (may have been an incomplete commit yesterday?)
2450 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2453 Added target for new stress-test.
2455 * test/stress-test.c:
2456 New test, sends 1000 focus notifies in quick succession.
2458 * test/key-listener-test.c:
2459 Now we report whether a keylistener registration
2460 request succeeded or failed.
2462 * test/event-listener-test.c:
2463 Uncommented some listeners which are now implemented.
2466 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2468 * registryd/deviceeventcontroller.c:
2469 (spi_controller_update_key_grabs):
2470 Fix for #82509, lack of failure notification when
2471 ALL_WINDOWS keygrabs fail due to XGrabKey
2472 failure: we synchronize the server when
2473 registering a passive grab, to make sure we get the
2474 error message before the call returns.
2476 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2478 * test/test-simple.c:
2480 Removed #ifdef KEY_IMPL_WORKS guards.
2481 (test_keylisteners):
2482 Removed #ifdef KEY_IMPL_WORKS guards.
2483 Fixed bug which was causing a hang waiting for a
2484 "press" event (which was already overwritten by a "release"
2485 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2487 Added code to set globals 'key_press_received' and
2488 'key_release_received'.
2491 Added section "1.1 API Proposed Additions" which
2492 lists API additions desired for at-spi-1.1 (only one so far).
2493 Updated TODO list a little.
2495 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2497 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2500 * configure.in: Revved to 1.0.0.
2502 * idl/Accessibility_Registry.idl:
2503 (registerKeystrokeListener):
2504 Added boolean return value.
2506 * registryd/registry.c:
2507 (notify_listeners_cb): Minor fix to debug output.
2509 * registryd/Accessibility_Registry.server.in.in:
2510 Revved version number in OAFIID to 1.0.
2512 * registryd/registryd.c:
2514 Use new OAFIID version.
2516 * cspi/bonobo/cspi-bonobo.c:
2518 Use new OAFIID version.
2524 * atk-bridge/bridge.c:
2526 Use new OAFIID version.
2528 * registryd/deviceeventcontroller.c:
2529 (impl_register_keystroke_listener):
2530 Added CORBA_boolean return value.
2531 (spi_controller_register_device_listener):
2532 Added gboolean return value.
2533 (spi_controller_register_global_keygrabs):
2534 Added gboolean return value.
2535 (spi_key_set_contains_key):
2536 Added implementation for many more control keys,
2537 for instance F1-F12, arrow keys, End, Home, Page_Up,
2539 [TODO: some still not implemented].
2541 * text/screen-review-test.c:
2542 (text_chunk_pad_string):
2543 New function: it provides mapping between coordinate
2544 positions of text chunks and character positions in the
2545 screen-review-line output string.
2546 (text_chunk_to_string):
2547 New function, calls text_chunk_pad_string with various
2548 pad/delimiter characters. Pushbuttons are delimited with
2549 square brackets, Frames with vertical 'pipe' lines, and
2550 other text with double quotes.
2551 (text_chunk_list_to_string):
2552 Calls new function text_chunk_to_string.
2553 (toplevel_composite):
2554 New function to composite layers CANVAS through
2555 POPUP in each toplevel (other layers are composited
2556 across toplevels, i.e. BACKGROUND and OVERLAY).
2557 (review_buffer_composite):
2558 Revise to use new methods.
2564 2002-05-31 Laszlo Peter <laca@sun.com>
2566 * configure.in: add the Xtst libdir to the runpath on Solaris,
2567 since it's not in the default library search path.
2569 2002-05-29 jacob berkman <jacob@ximian.com>
2571 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2573 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2575 * test/screen-review-test.c:
2576 (text_chunk_pad_string):
2577 Added method, which pads the string according to the
2578 text bounds of the chunk. It also takes a 3-character
2579 string as a param which indicates the characters to be
2580 used for start, padding, and end delimitation of the chunk.
2581 (text_chunk_to_string):
2582 Changed to use text_chunk_pad_string.
2584 * configure.in: Fixed bug in AC_OUTPUT that was
2585 causing path substitution in Accessibility_Registry.server
2588 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2590 * text/screen-review-test.c:
2591 (guess_string_clip):
2592 New method which attempts a best-guess at clipping
2593 text from components (like Java labels) which don't
2594 actually implement AccessibleText. This inaccurate
2595 clip is based on the assumption that the label is
2596 justified left-and-right, and monospaced.
2597 (text_chunk_get_clipped_string):
2598 We now call guess_string_clip() for text-containing
2599 components that don't implement AccessibleText.
2601 * test/screen-review-test.c:
2602 (review_buffer_get_text_chunk):
2603 We now pull "name" from labels if they do not implement
2604 AccessibleText (i.e. for Java labels).
2605 (get_screen_review_line_at):
2606 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2609 Replaceded AC_OUTPUT target
2610 registryd/Accessibility_Registry.server with
2611 registryd/Accessibility_Registry.server.in.
2613 * registryd/Accessibility_Registry.server.in:
2614 Removed (this is now a Makefile target).
2616 * registryd/Accessibility_Registry.server.in.in:
2617 Added (source for target above). We now use $(libexecdir) as
2618 prefix for the executable at-spi-registryd.
2620 * registry/Makefile.am:
2621 Now install at-spi-registryd into $(libexecdir), and build .server
2622 file with path (see above).
2624 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2626 * test/screen-review-test.c:
2627 (text_chunk_get_clipped_string):
2628 We now check to see if words fall within clip bounds
2629 before resorting to character-by-character clip bounds testing.
2631 * TODO: Added a section for "2.2 Proposed API Additions".
2633 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2635 * test/screen-review-test.c:
2637 Added a screen review benchmarking and test program to test
2640 * cspi/spi_accessible.c:
2642 Made some of the debug strings passed to cspi_check_ev a
2643 little more specific.
2645 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2647 * test/screen-review-test.c: Fix crashes in debug statements
2649 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2651 * test/screen-review-test.c: Added this file.
2653 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2655 * atk-bridge/bridge.c: changed "object:state-change" to
2656 "object:state-changed" to match docs.
2658 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2660 * atk-bridge/bridge.c: Hooked up state-change event details.
2662 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2664 * registryd/registry.c:
2665 Fixed quarking bug in event string parsing; now events with
2666 detail parameters get matched correctly to listeners.
2669 * util/idl/Magnifier.idl: remove.
2671 * util/*.[ch]: Remove.
2672 Magnification utilities and IDL are now in module gnome-mag.
2674 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2676 * registryd/deviceeventcontroller.c:
2677 Fixed bug in grab key conversion which was causing keycode grabs
2678 to be converted to AnyKey grabs.
2681 updated NEWS file to reflect recent spin-off of gnome-mag.
2683 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2685 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2686 busted AccessibleStateSet_compare. Removed redundant casts.
2688 * cspi/spi-action.c: Removed redundant casts.
2690 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2692 * cspi/spi_component.c: Fixed typos and casting error.
2694 * cspi/spi_editabletext.c: Removed redundant casts.
2696 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2698 * cspi/spi_hypertext.c: Eliminated redundant casts.
2700 * cspi/spi_image.c: Eliminated redundant casts.
2702 * cspi/spi_registry.c: Eliminated redundant casts.
2703 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2704 * cspi/spi_selection.c: Removed redundant casts.
2705 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2706 handling. Screen geometry and text offsets were being returned as 0
2707 on error which is technically valid-- changed these to return -1.
2708 Added marshaller for text boundary types to fix bug with boundary
2709 types being passed incorrectly to atk.
2711 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2714 * cspi/spi_registry.c:
2715 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2716 which was uncovered by the recent key changes.
2718 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2720 * test/event-listener-test.c:
2722 Added new test, "event-listener-test";
2723 this code does two things; it benchmarks traversal time
2724 for the accessible hierarchy for the first running accessible
2725 app, and it connects listeners for all supported event types.
2726 It is thus useful as an example event listener and for
2727 diagnostics/debugging of event generation.
2729 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2732 Removed unnecessary dependency on libutil.
2735 Revved micro version: 0.13.1
2737 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2740 Removed util/Makefile from targets.
2743 Removed util subdir from SUBDIRS (temporarily,
2744 pending removal of magnifier-only code
2748 #ifdef-ed out magnifier dependencies, since
2749 magnifier IDL, headers, and binary now live in
2750 module gnome-mag and we don't want at-spi to depend
2751 on gnome-mag. A magnifier demo which can run alongside
2752 simple-at is forthcoming in the gnome-mag module.
2754 NOTE: Split magnifier binary, IDL, and magnification
2755 activation code from at-spi into module gnome-mag.
2757 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2759 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2760 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2762 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2765 Revved to version 0.13.0
2767 * idl/Accessibility_Registry.idl:
2768 Changed definition of KeySet from sequence of longs to sequence of
2769 KeyDefinitions, and added KeyDefinition struct.
2770 Required for fix to bug 80616.
2772 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2773 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2774 to use new definition (see above).
2776 * registryd/deviceeventcontroller.c: handle_keygrab(),
2777 spi_keyset_contains_key():
2778 Changed to make use of new struct; this allows matching based on
2779 string key-name, for instance "Tab". This also allows matching of
2780 composed characters, non-alphanumeric characters in a way that
2781 doesn't involve dependencies on X keysym codes directly, etc.
2783 * test/key-listener-test.c:
2784 Added test for Alt-Tab key using "string" specification of keyset,
2785 and modified one of the tests to use a keycode-based keyset.
2786 Thus this test both tests and demonstrates the creation and use of
2787 keysets of three forms: specified via keycode array,
2788 keysym array, and string array. (The string case only contains a
2789 single string, i.e. a string array of length 1).
2792 Turned on PRINT_TREE option by default. Also fixed a
2793 string-freeing bug in the PRINT_TREE code.
2794 Added a listener to window:minimize events.
2796 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2798 * atk-bridge/bridge.c:
2799 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2800 for window:activate and window:deactiveate
2801 (atk_bridge_property_event_listener atk_bridge_signal_listener
2802 atk_bridge_window_event_listener) Tidy debug code
2804 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2806 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2807 Fixed handling for NULL return value from ATK.
2809 * libspi/action.c libspi/component.c libspi/editabletext.
2810 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2811 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2812 Removed redundant casts.
2814 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2815 Fixed off by one bug.
2817 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2818 function not present in idl)
2820 2002-05-02 jacob berkman <jacob@ximian.com>
2822 * atk-bridge/Makefile.am: make atk-bridge a real module
2824 2002-04-26 Radek Doulik <rodo@ximian.com>
2826 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2827 atk_state_types table
2829 2002-04-22 jacob berkman <jacob@ximian.com>
2832 * libspi/Makefile.am: add deps on the built files to help
2833 automake, and don't version the ORBit typelib
2835 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2837 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2838 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2839 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2840 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2841 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2842 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2843 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2844 libspi/accessible.h libspi/accessible.h libspi/base.h
2845 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2846 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2847 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2848 libspi/spi-private.h libspi/statetset.h libspi/table.h
2849 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2850 util/mag_client.h util/mag_control.c util/mag_image.c
2851 util/mag_image.h util/magnifier.c util/magnifier.h:
2852 Add missing file headers; standardize existing ones
2854 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2856 * atk-bridge/bridge.c: Added window event support.
2858 2002-04-18 Michael Meeks <michael@ximian.com>
2860 * libspi/relation.c (impl_getNTargets): impl.
2861 (impl_getTarget): impl.
2863 * libspi/Makefile.am: fix stateset install.
2865 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2868 Started putting useful info in this file.
2870 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2872 * atk-bridge/bridge.c:
2873 Propagate state-changed notifications to ATs
2875 * cspi/spi_registry.c: update docs to reflect actual behavior of
2876 state-change events.
2878 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2881 Incremented version to 0.12.1
2883 * util/mag_client.h:
2884 Add missing declaration for magnifier_exit,
2885 used by mag_control.c - Forte compiler didn't like
2886 the implicit redeclaration of the function :-(
2889 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2892 Revved version to 0.12 due to API change (see below).
2894 * cspi/spi-roletypes.h:
2895 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2896 definition from the inline docs, and added docs
2897 for SPI_ROLE_LAST_DEFINED.
2900 * cspi/spi_streamablecontent.c:
2901 Added missing seek_type parameter to
2902 (so far unused) method,
2903 AccessibleStreamableContent_seek().
2904 [ RT approval JodyG. ]
2907 Fixed docs for SPI_createAccessibleKeystrokeListener.
2909 * cspi/spi_registry.c:
2910 Fixed docs for SPI_KEYSET_ALL_KEYS.
2912 * docs/reference/cspi/at-spi-cspi-sections.txt:
2913 Added a number of missing APIs to SECTIONS.
2915 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2917 * registryd/Makefile.am:
2919 * cspi/bonobo/Makefile.am:
2920 Add $(X_LIBS) to makefiles.
2922 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2925 Revved version to 0.11.
2927 * libspi/component.c:
2928 Added implementation for grabFocus.
2930 * idl/Accessibility_Component.idl
2931 (Accessibility_Component_grabFocus):
2932 Made this method return boolean to indicate success or failure, to
2933 be consistent with cspi and the corresponding ATK method.
2935 * idl/Accessibility_Selection.idl
2936 (Accessibility_Selection_selectAll) :
2937 Made these methods return boolean to indicate success or
2938 failure, to be consistent with cspi and the corresponding ATK methods.
2940 * idl/Accessibility_EditableText.idl
2941 (Accessibility_EditableText_setTextContents,
2942 Accessibility_EditableText_insertText,
2943 Accessibility_EditableText_cutText,
2944 Accessibility_EditableText_deleteText,
2945 Accessibility_EditableText_pasteText):
2946 Made these methods return boolean to indicate
2949 * cspi/spi_editabletext.c:
2950 Made these methods return booleans.
2952 * libspi/selection.c:
2953 * libspi/component.c:
2954 * libspi/editabletext.c:
2955 Connected the boolean returns from ATK
2956 to the server-side code referenced above.
2958 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2960 * idl/Accessibility_Table.idl: Added missing methods,
2961 Accessibility_Table_addRowSelection,
2962 Accessibility_Table_addColumnSelection,
2963 Accessibility_Table_removeRowSelection,
2964 Accessibility_Table_removeColumnSelection.
2967 Added C wrappers for above IDL:
2968 AccessibleTable_addRowSelection,
2969 AccessibleTable_addColumnSelection,
2970 AccessibleTable_removeRowSelection,
2971 AccessibleTable_removeColumnSelection.
2974 Added server-side implementation code for IDL above, connecting
2975 to pre-existing ATK api.
2977 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2979 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2981 * libspi/accessible.c: Added implementation fo
2982 Accessibility_Accessible_get_state.
2984 * libspi/libspi.h: Added stateset.h to the list of includes.
2986 * libspi/stateset.c: Fixed broken implementation.
2988 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2991 Added implementation code for Accessibility_Magnifier_exit ().
2993 * util/mag_control.c:
2994 Added test code for above method; you can
2995 now kill an existing magnifier via
2996 ./mag_control q, from the util directory.
2998 * test/key-listener-test.c:
3000 Added a new test, for our key listener API.
3002 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3004 * test/app.c, test/keysynth-demo.c:
3006 Replace use of snprintf with g_snprintf.
3007 (fix for bugzilla 78249)
3009 2002-03-27 Michael Meeks <michael@ximian.com>
3013 * util/Makefile.am (INCLUDES): fix.
3014 (DONT_DIST_SOURCE): don't distribute the
3017 * libspi/Makefile.am (dist-hook): ditto.
3019 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3021 * libspi/hypertext.c:
3022 Fix warnings when yelp is used with atk-bridge
3024 2002-03-21 Michael Meeks <michael@ximian.com>
3026 * libspi/application.c (spi_application_new):
3027 use spi_accessible_construct so we use the AtkObject
3030 2002-03-19 Michael Meeks <michael@ximian.com>
3032 * registryd/registry.c (desktop_remove_application),
3033 (desktop_add_application): clean coding style.
3035 * registryd/desktop.c (spi_desktop_remove_application),
3036 (spi_desktop_add_application): kill re-enterency hazards.
3037 (spi_desktop_dispose): remove bogus redundant cast
3038 obscuring bug; fix bug too.
3039 (spi_desktop_init): make the desktop object immortal.
3041 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3044 Added a #define-guarded tree-traversal step
3045 when enumerating the apps (diagnostic tool).
3047 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3049 * idl/Accessibility_Role.idl:
3050 Added ROLE_DRAWING_AREA which seemed to be missing from the
3053 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3055 * cspi/spi-roletypes.h cspi/spi_accessible.c
3056 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3059 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3060 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3061 AT when applications are added and removed from the desktop. This
3062 reverts the previous broken implementation using the backing
3063 AtkObject for the SpiDesktop.
3065 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3067 * registryd/desktop.c: emit the "children-changed::add" and
3068 "children-changed::remove" signals on the backing ATK object for
3069 the desktop so AT can tell when applications are started and shut
3072 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3074 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3076 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3078 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3080 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3082 * cspi/state-types.h: synched with IDL and ATK
3084 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3086 * libspi/accessible.c
3087 (impl_accessibility_accessible_get_child_at_index):
3088 Change return value for g_return_if_fail ()
3089 to CORBA_OBJECT_NIL instead of "0" (!)
3091 * registryd/Makefile.am:
3092 * registryd/Accessibility_Register.server.in:
3093 Changed name of executable, "registryd",
3094 to something more informative:
3097 2002-03-13 Michael Meeks <michael@ximian.com>
3099 * atk-bridge/bridge.c (atk_bridge_init): don't register
3100 if we're in a bonobo-component, rather than a bonobo app.
3102 2002-03-13 Michael Meeks <michael@ximian.com>
3104 * atk-bridge/bridge.c (gtk_module_init): split
3105 out body to (atk_bridge_init): here, since otherwise
3106 we get symbol conflicts and oddness when invoked
3107 from (gnome_accessibility_module_init): here (upd.)
3109 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3112 New file. Explicitly allow "build sheriff" putbacks provided
3113 they are tested on Solaris.
3115 * docs/reference/cspi/Makefile.am:
3116 Added '-' to the "cp" command for index.sgml.
3117 ("patch by thomasvs, soon coming to a GUADEC near you")
3120 Incremented version number (0.9.0) for new release.
3121 Changed macro that checks for popt, to better detect
3122 obsolete versions of popt.
3125 Added X_LIBS to AC_SUBST, for applications
3126 that call Xlib API directly.
3129 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3132 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3135 Fix regression caused by hard-coding major
3136 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3139 * test/test-simple.c (test_editable_text),
3140 (test_test): revert previous change (error was
3141 a regression in gail which is now fixed).
3143 2002-03-04 Michael Meeks <michael@ximian.com>
3145 * test/test-simple.c (test_editable_text),
3146 (test_text): pass G_MAXINT instead of '-1' for
3147 whole string - is this a good thing !?
3149 * cspi/spi_accessible.c
3150 (Accessible_getRelationSet): fix crasher bug
3151 overwriting the end of the array.
3153 * test/test-simple.c (validate_accessible): free,
3154 not g_free returned relation set.
3156 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3158 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3159 implemented stateset support
3161 * idl/Accessibility_State.idl: Made necessary changes to
3162 the IDL to support state sets.
3164 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3166 * registryd/deviceeventcontroller.c:
3167 Added implementation for generateMouseEvent.
3169 * cspi/spi_registry.c:
3170 Connected new implementation for generateMouseEvent
3173 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3176 Incremented revision (but no change in public API
3177 outside of 'utils', which are not installed public yet.)
3179 * libspi/component.c:
3180 Changed to use atk_component API for layers and
3181 mdi_zorder, instead of deprecated atk_object API.
3183 Magnification Utility Enhancements:
3186 Added implementation of createZoomRegion, clearAllZoomRegions,
3187 resizeZoomRegion. Added new commandline argument
3188 "--no-initial-region". Note that clearAllZoomRegions doesn't
3189 unmap the old '0' region as it should (yet), and the other
3190 methods only work when creating/resizing a single region,
3191 which is "region 0".
3192 (Code for multiple region support will be added later.)
3195 Now we raise the magnifier window each time it's refreshed;
3196 this will help keep it on top.
3198 * util/mag_client.h:
3199 Added simple wrappers for above, used by mag_control.
3200 For general use, it's recommended to use the bonobo magnifier
3201 control API directly instead of using these wrappers.
3204 Moved ZoomRegionData from magnifier.c to this file.
3206 * util/mag_control.c:
3207 Added some code to exercise new IDL implementations.
3209 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3211 * libspi/text.c: Provide implementation for getAttributes.
3213 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3216 Incremented revision.
3218 * test/test-simple.c:
3219 Replaced use of deprecated g_main_iteration with
3220 g_main_context_iteration.
3222 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3225 Incremented revision for desktop alpha 2.
3227 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3229 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3232 * test/simple-at.c: include netinet/in.h.
3234 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3236 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3237 use NULL, not CORBA_OBJECT_NIL.
3239 * libspi/accessible.c:
3240 (impl_accessibility_accessible_get_relation_set):
3241 allocate the sequence correctly.
3243 * libspi/remoteobject.h: kill spi_remote_object_new.
3245 * test/test-simple.c: (validate_accessible): add code
3246 to test relation sets, now all we need is to figure
3247 out how to excercise this code path :/
3249 2002-01-18 Michael Meeks <michael@ximian.com>
3251 * test/test-simple.c
3252 (key_listener_cb): consume the key.
3253 (test_keylisteners): update.
3254 (main): wait for any pending unrefs on events.
3256 * registryd/deviceeventcontroller.c
3257 (spi_controller_update_key_grabs): only re-issue the
3258 grab on a key release.
3259 (spi_device_event_controller_forward_key_event):
3260 refresh the keygrabs before we notify the listeners,
3261 to reduce the X ungrab / re-grab race.
3262 (spi_controller_register_with_devices): remove
3263 XSelectInput - we do that with the gdk_window_ call.
3264 (_spi_controller_device_error_handler): return a value.
3265 s/GDK_DISPLAY/spi_get_display/
3267 2002-01-17 Michael Meeks <michael@ximian.com>
3269 * registryd/deviceeventcontroller.c
3270 (_deregister_keygrab): don't blow out the later
3273 * test/test-simple.c (test_keylisteners): do a
3274 more intelligent validation.
3276 2002-01-14 Michael Meeks <michael@ximian.com>
3278 * atk-bridge/bridge.c
3279 (gnome_accessibility_module_init),
3280 (gnome_accessibility_module_shutdown): impl.
3281 (gtk_module_init): protect vs. double inits.
3282 (add_signal_listener): impl.
3283 (spi_atk_bridge_state_event_listener): kill
3284 (deregister_application): split out of
3285 (spi_atk_bridge_exit_func): here.
3287 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3290 Added caret tracking when using magnifier, and
3291 now use text bounds for focus tracking of text elements, rather than
3292 the component bounds - this is helpful for short text fields in long
3293 table cells, at high magnification.
3295 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3297 * registryd/deviceeventcontroller.c:
3298 Regression fix for keylistener de-registration; global keygrabs
3299 were not being released when deregisterKeystrokeListener was
3300 called in cspi, since
3301 Accessibility_DeviceEventController_deregisterKeystrokeListener
3302 was called with a zero-length keyset. That is because the cspi
3303 method, SPI_deregisterKeystrokeListener, does not take a keyset
3304 parameter but instead should remove all the key grabs held be a
3306 The code in impl_deregister_keystroke_listener was changed to copy
3307 the keylist from the listener instance previously registered with
3308 the DeviceEventController before releasing the grabs.
3310 * registryd/registry.c:
3311 * registryd/deviceeventcontroller.c:
3312 * libspi/spi-private.h:
3314 Changed spelling of "re-enterant" to "re-entrant" globally.
3316 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3318 * test/test-simple.c:
3319 Changed key listeners test - the test was slightly mis-using the
3320 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3321 It now uses '=' as the key event listened to and generated,
3322 relying on a keysym match rather than assuming that keycode 33
3323 is always equal to keysym '!'.
3325 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3328 Changed simple-at to use a specific keyset, rather than
3329 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3330 manager, desktop, etc.
3332 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3334 * registryd/deviceeventcontroller.c:
3335 Replaced standard X error handler with a special handler that
3336 is non-fatal for failed keygrabs. This works around
3337 problems with keygrab clashes sometimes observed on
3339 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3340 mouse handling code as yet).
3342 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3345 Incremented revision for desktop alpha release.
3348 Fixed a couple of the more glaring errors (still not
3351 2002-01-11 Michael Meeks <michael@ximian.com>
3353 * registryd/deviceeventcontroller.c
3354 (spi_device_event_controller_forward_key_event): kill
3355 XUngrabKey / XKeyGrab race.
3356 (spi_controller_grab_keyboard): rename to
3357 (spi_controller_update_key_grabs): this, and deal
3358 with incremental adding / removing grabs more
3360 (_register_keygrab): ensure we're not pending a remove.
3361 (spi_grab_mask_free): impl.
3362 (spi_controller_register_global_keygrabs): split out
3364 (handle_keygrab): impl.
3365 (_deregister_keygrab): impl.
3366 (spi_controller_deregister_global_keygrabs): impl.
3367 (spi_controller_update_key_grabs): re-issue the grab if
3368 we just recieved a notification.
3370 * test/test-simple.c (key_listener_cb): remove debug.
3372 * registryd/deviceeventcontroller.c
3373 (spi_controller_register_device_listener): after
3374 registering a global keygrab, actualy register it !
3375 don't wait for a timeout; doh !
3377 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3378 to make it more readable / manipulable.
3379 s/grabmask/grab_mask/ s/refcount/ref_count/
3380 s/keyval/key_val/ s/modmask/mod_mask
3382 2002-01-08 Michael Meeks <michael@ximian.com>
3384 * registryd/deviceeventcontroller.c
3385 (spi_controller_register_with_devices): use gdk calls to
3387 (global_filter_fn): implement the filter.
3388 (spi_device_event_controller_check_key_event): rename to
3389 (spi_device_event_controller_forward_key_event): this & upd.
3390 (spi_get_display): replace with GDK_DISPLAY.
3392 * registryd/deviceeventcontroller.c
3393 (spi_controller_deregister_device_listener): unroll into
3394 (impl_deregister_keystroke_listener): here to simplify.
3395 (spi_controller_register_global_keygrabs): split cut and
3396 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3397 (spi_controller_deregister_device_listener): remove.
3398 (impl_register_mouse_listener): remove, no mouse listener
3399 support in at-spi-1.0
3401 * registryd/registry.c
3402 (_device_event_controller_hook): kill.
3403 (spi_registry_init): upd.
3405 * registryd/deviceeventcontroller.c
3406 (spi_device_event_controller_class_init): upd.
3407 (spi_check_key_event): merge into.
3408 (spi_device_event_controller_check_key_event):
3409 here and kill strange static ev init, don't leak
3410 the x_event - nor dynamicaly allocate it.
3412 * registryd/registry-main.c (main): re-direct
3413 timeout to remove strange vtable mess.
3415 * registryd/deviceeventcontroller.c
3416 (remove_listener_cb): impl.
3417 (spi_controller_deregister_device_listener):
3418 fix re-enterancy hazard.
3420 2002-01-07 Michael Meeks <michael@ximian.com>
3422 * registryd/deviceeventcontroller.c
3423 (spi_device_event_controller_new): upd.
3424 (impl_notify_listeners_sync): upd. debug.
3425 (spi_notify_keylisteners): fix re-enterancy hazards,
3426 prettify, remove O(n*n) iteration.
3427 (spi_controller_grab_keyboard): fix iteration.
3428 (spi_check_key_event): re-format to suit coding style.
3429 Clean all the warnings - we're warning free.
3431 * registryd/deviceeventcontroller.h:
3432 * registryd/registry.h: make mutualy referential with
3433 typesafe forward references instead of (!) void pointer
3436 2002-01-11 Michael Meeks <michael@ximian.com>
3438 * cspi/spi_accessible.c (role_names): add a role name
3439 to sync this array with the enum; and make the regression
3442 2002-01-10 Michael Meeks <michael@ximian.com>
3444 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3445 allow expansion of enumeration & kill warning.
3447 * test/test-simple.c (key_listener_cb): impl.
3448 (test_keylisteners): impl.
3450 * cspi/spi-listener.h: make listener signatures const
3451 on the provided (const) events.
3453 * test/keysynth-demo.c: upd. to const events.
3455 * test/simple-at.c: ditto.
3457 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3460 Rev the version to 0.5 (the previous tarball was named 0.4,
3461 even though the micro number was 3), so we need to rev upwards
3462 again for beta2/"desktop-alpha"
3465 Checked in a demo script, which requires editing before use!
3466 Proceed with caution.
3469 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3471 * cspi/spi_accessible.c:
3472 Add a couple of missing enum initializations, and fix some enum
3475 * cspi/spi_registry.c:
3476 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3478 * docs/reference/cspi/at-spi-cspi-sections.txt:
3479 Remove/fix a couple of broken document references.
3482 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3483 as Alt-Control to listen for commands, since on some systems
3484 Control-Alt may already be grabbed.
3486 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3489 Update version number to 0.4 for Beta2.
3491 * libspi/accessible.c, libspi/accessible.h:
3492 Expose spi_accessible_construct, to enable libgail-gnome
3493 construction from spi_accessible subtype.
3495 * utils/magnifier.c:
3496 Workaround for bug in some non-gnome-compliant window managers
3497 which made magnifier resize improperly.
3499 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3501 * libspi/accessible.c: (spi_accessible_new) :
3502 Move the test for SPI_IS_REMOTE_OBJECT to
3503 spi_accessible_new_return, fixing a bug and compile time warning.
3505 2002-01-08 Michael Meeks <michael@ximian.com>
3507 * registryd/registry.c (parse_event_type): remove strndup.
3509 * libspi/Makefile.am (libspi_la_SOURCES): remove
3510 sources already included in the headers section.
3512 * libspi/util.c: add.
3514 * libspi/spi-private.h: add.
3516 * registryd/registry.c: update to moved list iterators.
3518 2002-01-05 Michael Meeks <michael@ximian.com>
3520 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3522 * test/test-simple.c (main): ditto.
3524 2002-01-04 Michael Meeks <michael@ximian.com>
3526 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3527 redundant construct.
3529 * registryd/registry.c
3530 (get_listener_list): impl.
3531 (impl_accessibility_registry_register_global_event_listener):
3532 re-impl. to simplify using ~, remove dodgy const cast off.
3533 (parse_event_type): constify.
3534 (impl_accessibility_registry_deregister_global_event_listener_all):
3535 re-write, more efficiency and simplicity, kill re-enterancy
3537 (compare_listener_corbaref, compare_corba_objects),
3538 (compare_listener_quarks): define out.
3539 (impl_accessibility_registry_deregister_global_event_listener):
3540 re-write for effiency, and nail re-enterancy hazard.
3541 (impl_accessibility_registry_get_desktop_list): impl.
3542 (re_enterant_list_delete_link): impl.
3543 (re_enterant_list_foreach): impl.
3544 (remove_listener_cb): impl.
3545 (_registry_notify_listeners): kill.
3546 (notify_listeners_cb): impl.
3548 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3549 (SPI_getDesktopList): impl.
3551 * test/test-simple.c (test_desktop): test the methods.
3553 2002-01-03 Michael Meeks <michael@ximian.com>
3555 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3556 keystrings since we free them
3557 (SPI_freeAccessibleKeySet): in here.
3559 * libspi/accessible.c (spi_accessible_new): kill warning,
3560 wonder what is going on with the constructor here.
3562 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3564 * libspi/accessible.c (spi_accessible_new ()) :
3565 Added check to see if AtkObject is an SpiRemoteObject before
3566 creating an SpiAccessible.
3568 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3570 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3571 Enable keygrabs using the Control modifier, now that they are
3572 working properly (they were previously disabled).
3575 Change the command keygrab for this demo to "Control+Alt", so as
3576 to conflict with fewer other key commands on the system; this
3577 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3579 Removed a pointlessly-chatty keylistener for unshifted keys
3580 (shifted keys are still reported).
3582 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3584 * libspi/remoteobject.h:
3585 * libspi/remoteobject.c:
3586 Added definitions for special AtkObject subtype, required for
3587 support of remote components (specifically, used by BonoboControl
3588 accessibility implementation).
3590 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3592 * cspi/spi.h: synched relation types with ATK
3594 * cspi/spi_accessible.c: Added implementations of
3595 AcccessibleRelation_* methods
3597 * idl/Accessibility_Relation.idl: added getRelationTypeName
3598 method. Synched known relation types with ATK. Allowed for
3599 relation type extension with the RELATION_EXTENDED type.
3601 * libspi/relation.c: Provided implementations for
3602 AccessibleRelation methods.
3604 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3606 API tweaks for today's API 'freeze'.
3609 Added placeholder functions to allow future compatible expansion
3610 of the IDL interfaces.
3612 * idl/Accessibility_Registry.idl:
3613 Changed generateKeyEvent to generateKeyboardEvent. Changed
3614 signature of this method to accept an optional keystring in
3615 parameter (for complex text input synthesis) and changed use of
3616 simple 'boolean' parameter in registerKeystrokeListener to a
3617 struct, EventListenerMode.
3619 * cspi/spi_accessible.c:
3621 * cspi/spi_streamablecontent.c:
3622 Added references to AccessibleStreamableContent interface, and
3623 definition and implementation of AccessibleStreamableContent
3626 * cspi/spi_registry.c:
3628 Changed generateKeyEvent API to generateKeyboardEvent,
3629 taking a new (optional) keystring parameter to support complex
3634 Renamed directory (to better reflect its actual purpose, bridging
3635 from at-spi to ATK). The .so module is also now named
3638 * idl/Accessibility_Hypertext.idl:
3639 * libspi/accessible.c:
3640 * libspi/hypertext.h:
3641 * libspi/hypertext.c:
3642 Changed Accessibility_Hypertext to *not* derive from
3645 * cspi/spi_registry.c:
3646 Added list of legal event type names for 'window' events, which
3647 completes the registry event API.
3649 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3651 * at-bridge/bridge.c: Added registration for separate
3652 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3653 signals. If either of the first two parameters to the generic
3654 bridge signal handler are ints, they are passed on as event
3655 details. This allows an AT to determine what text was inserted.
3657 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3659 * registryd/deviceeventcontroller.c:
3660 Fixed regressions in generateKeyEvent caused by the removal of
3661 gdk_init from registryd; we now use pure X calls to connect to the
3662 display, which makes sense because deviceeventcontroller already
3663 uses a fair bit of X API (should eventually be migrated to a
3664 'portability layer').
3666 * registryd/desktop.c:
3667 Fixed minor regression in spi_desktop_init, changed the way the
3668 desktop name is being set to work with new spi_base API
3669 (gobject-based, rather than AtkObject-based).
3671 * registryd/Makefile.am:
3672 Minor revision of makefile to use XTST_LIBS variable rather than
3673 hard-wiring the Xtst LD_ADD element.
3675 * test/keysynth-demo.c:
3676 Tweaked an output message; added initialization of the
3677 'keystrings' member of the "switch listener" key_set.
3679 * libspi/relation.c:
3680 Squashed compile-time warning.
3682 * libspi/accessible.c:
3683 Cosmetic and formatting fixes, renamed a static method.
3685 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3687 * libspi/accessible.c
3689 * libspi/application.c
3692 * libspi/component.c
3693 * libspi/editabletext.c
3694 * libspi/hyperlink.c
3695 * libspi/hypertext.c
3697 * libspi/selection.c
3701 * registryd/desktop.c:
3702 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3704 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3706 * idl/Accessibility_Registry.idl:
3707 Added boolean member 'is_text' to DeviceEvent. This is for the
3708 use of key events, and helps prevent ambiguity between composed
3709 key strings and keysym names, since both may potentially be
3710 returned in the 'event_string' member.
3712 * at-bridge/bridge.c:
3713 * registryd/deviceeventcontroller.c:
3714 Use the 'is_text' member when notifying device event listeners.
3715 Knon issue: composed characters are not dealt with correctly by
3716 the global key listener implementation yet.
3718 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3720 * at-bridge/bridge.c:
3721 Namespaced local static methods to spi_atk_bridge_* where
3722 previously named bridge_*, and spi_* elsewhere.
3724 * at-bridge/bridge.c:
3725 * cspi/bonobo/cspi-bonobo-listener.c:
3726 Added demarshalling/conversion for string member of
3727 Accessibility_DeviceEvent to AccessibleKeystroke.
3729 * registryd/deviceeventcontroller.c:
3730 Added code to fill the Accessibility_DeviceEvent key string value
3731 member for global key events (i.e. from XGrabKey), to match
3732 behavior of Accessibility_DeviceEvent from the toolkit key events
3733 from the bridge. Fixed timestamp in global key event notifications.
3736 Added printout of key event's string value to
3737 report_ordinary_key_event, for demo/debugging purposes.
3739 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3741 * idl/Accessibility_Registry.idl:
3742 Removed Accessibility_KeyStroke structure in favor of generic
3743 Accessibility_DeviceEvent structure.
3744 Changed Accessibility_ControllerEventMask from a struct to an
3747 * at-bridge/bridge.c:
3748 Changed APIs to use DeviceEvent structure as above, and removed
3749 bogus casting between these event structures.
3751 * cspi/spi-listener.h:
3752 Added keystring member of AccessibleKeystroke structure, to enable
3753 matching on event "names" rather than only hardware codes and
3757 Added keystrings member of AccessibleKeySet struct, to allow
3758 matching on event names (as above).
3759 Added declarations for SPI_createAccessibleKeySet and
3760 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3761 event modmasks directly as unsigned ints rather than structs with
3762 refcounts, in the DeviceEventController methods.
3764 * cspi/spi_registry.c:
3765 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3767 * cspi/spi-roletypes.h:
3768 Added documentation of newly added SPI Roles.
3770 * cspi/bonobo/cspi-bonobo-listener.c:
3771 Changes in support of API changes above.
3773 * libspi/accessible.c:
3774 Converted APIs to use DeviceEvent structure (see IDL changes
3777 * registryd/deviceeventcontroller.c:
3778 Added DEControllerGrabMask structure to track keygrabs not only by
3779 modmask but by keyset as well; this allows us to do "global"
3780 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3781 grabbing on AnyKey and then filtering after-the-fact.
3782 Bugfixes for event filtration mean that we don't get false matches
3783 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3785 * registryd/deviceeventcontroller.c:
3786 Namespaced a number of static methods to use spi_ prefix. Major
3787 revision to internals of global (i.e. X) key grabs.
3789 * registryd/deviceeventcontroller.h:
3790 Removed keymask_list and added keygrabs_list to
3791 SpiDeviceEventController struct.
3794 Added use of SPI_createAccessibleKeySet API when creating a
3795 listener for only one key. Attach a listener to "shift spacebar
3796 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3797 X key event names to SPI key event names, so that listeners are
3798 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3800 * test/keysynth-demo.c:
3801 Changed (incorrect) use of X key event names (KeyPressed,
3802 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3805 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3807 * libspi/accessible.c:
3808 Convert all AtkRole enumerations to Accessibility_Role enums when
3809 getting a role from an AtkObject.
3811 * cspi/spi_accessible.c:
3812 Complete the conversion of Accessibility_Role enums at runtime to
3813 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3814 role enums correctly match those given in spi-roletypes.h.
3815 Re-synchronize the local names list for AccessibleRole_getName ().
3816 AccessibleRole_getName is now deprecated, since it duplicates the
3817 more reliable Accessible_getRoleName.
3818 Added some role types from Accessibility_Role.idl.
3820 * idl/Accessibility_Role.idl:
3821 Added some role types used by AtkRole.
3823 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3826 * cspi/spi_registry.c:
3828 * cspi/cspi-bonobo-listener.c:
3829 Namespaced all methods that did not begin with an "SPI_" or
3830 "Accessible" prefix to "SPI_".
3833 Homogenized internal function namespace to "cspi_" for statics.
3836 Patched tests to use the new CSPI API.
3838 * docs/reference/cspi/at-spi-cspi-sections.txt:
3839 Updated docs to reflect namespace changes, and added a number of
3840 methods to the documentation.
3842 * registryd/registry.c:
3843 Changed use of strings and string hashes in listener event
3844 matching and parse_event_string to use GQuark, which is guaranteed
3847 * registryd/registry.h:
3848 Squashed annoying warning.
3850 * idl/Accessibility_Role.idl:
3851 Extended range of available Accessibility_Role values.
3853 * cspi/spi_accessible.c:
3854 Re-ordered role names.
3856 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3858 * idl/Accessibility_Value.idl:
3859 Revert use of union back to CORBA_double, since the double type is
3860 more efficient and can contain the other types without loss of
3863 * idl/Accessibility_Accessible.idl:
3864 Added method Accessibility:Accessible:getRoleName, to complement
3865 Accessibility:Accessible:getRole.
3867 * cspi/spi_accessible.c:
3869 Added C binding for above, Accessible_getRoleName (), and changed
3870 signature of Accessible_getRole () to return an AccessibleRole.
3872 * cspi/spi-roletypes.h:
3873 Changed AccessibleRole_getName to return a char * instead of a
3874 const char *. This method is now at least temporarily deprecated
3875 in favor of asking Accessibles for their RoleNames directly.
3878 Revert to match Accessibility_Value.idl;
3882 Change signature of AccessibleValue methods to use double rather
3886 * cspi/spi_accessible.c:
3887 Changed Accessible_getRole to return an AccessibleRole enum rather
3888 than a UTF-8 string. The UTF-8 string can still be obtained via
3889 AccessibleRole_getName ().
3891 * test/test-simple.c:
3892 Add test_action. Small fixup to match API change to Accessible_getRole.
3895 Bugfix for get_action_from_servant ().
3897 2001-12-11 Michael Meeks <michael@ximian.com>
3899 * libspi/libspi.h: remove registry.h and
3900 desktop.h, deviceeventcontroller.h
3902 * libspi/Makefile.am: remove registry.[ch],
3903 desktop.[ch], deviceeventcontroller.[ch]
3905 * registryd/Makefile.am: add registry.[ch],
3906 desktop.[ch], rename registryd.c to registry-main.c.
3907 add deviceeventcontroller.[ch]
3909 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3912 Replace setenv() call with putenv ().
3914 * libspi/component.c:
3915 Bugfix in AccessibleComponent_getExtents (),
3918 2001-12-11 Michael Meeks <michael@ximian.com>
3920 * libspi/image.c (impl_getImageExtents): impl.
3921 (spi_image_class_init): upd.
3924 (AccessibleImage_getImageDescription): fix daft bug
3927 * test/test-simple.c (global_listener_cb): update
3928 to only quit if not --poke
3929 (main): catch --poke.
3930 (validate_accessible): upd. dumping, call test_image
3933 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3936 * idl/Accessibility.idl: update all IDL includes.
3938 * idl/*.idl - rename to namespace - this sucks, blame
3939 mjs' bad decision for oafd.
3941 * test/test-simple.c (create_test_window): add more tests.
3942 (create_tree): split this out.
3943 (validate_accessible): bugfix.
3945 2001-12-11 Michael Meeks <michael@ximian.com>
3947 * cspi/bonobo/cspi-bonobo-listener.c:
3948 (cspi_kestroke_listener_unref),
3949 (cspi_event_listener_unref): impl. undoing previous
3950 homenous environment - for Bill.
3952 * cspi/spi_table.c (long_seq_to_array): use
3955 * cspi/spi_main.c: split out all bonoboish bits into
3958 * cspi/spi-impl.h: upd. typedefs.
3960 * cspi/spi_registry.c: update to lowlevel API,
3961 return booleans to indicate success in some places.
3963 * cspi/spi_event.c: update to lowlevel API.
3965 * cspi/bonobo/Makefile.am: add.
3967 * cspi/bonobo/cspi-lowlevel.h: add
3969 * cspi/bonobo/cspi-bonobo.c: add
3971 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3973 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3974 (SUBDIRS): add bonobo, link in the libs.
3976 * cspi/spi-util.c: kill this file.
3978 * TODO: merge in my bits.
3980 2001-12-11 Michael Meeks <michael@ximian.com>
3982 * test/test-simple.c (test_value, test_table, main):
3983 remove unused variables causing warnings.
3985 * configure.in: cleanup checks - require gail.
3987 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3990 Changed Value interface to use SValue (scalars) rather than
3991 assuming all values are floats. This allows floats, doubles,
3992 longs, shorts, and unsigned values to be manipulated.
3993 Introduced Accessibility:SValue union.
3996 Updated to use new API above, and to work correctly with GValues
3997 of different types in AtkValue.
4000 Updated to use new API above. cspi's API is as yet unchanged.
4003 Updated the Value revision action item.
4005 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4007 * test/test-simple.c:
4008 Added test_table (GtkTreeView widget in test window to follow).
4009 Un-commented test_value, added GtkRange widget.
4010 Added GtkTreeView widget with GtkListStore. It passes regression
4011 test but leaks one SPI object for some reason.
4014 Fixed bug in impl__set_currentValue.
4016 2001-12-10 Michael Meeks <michael@ximian.com>
4018 * cspi/spi_text.c: audit for exception handling,
4019 tolerating NULL object references safely etc.
4021 * cspi/spi_value.c: ditto.
4023 * cspi/spi_table.c (AccessibleTable_getSummary),
4024 (AccessibleTable_getAccessibleAt),
4025 (AccessibleTable_getRowHeader),
4026 (AccessibleTable_getColumnHeader),
4027 (AccessibleTable_getCaption): fix bugs hidden by
4029 (long_seq_to_array): impl.
4030 (AccessibleTable_getSelectedRows),
4031 (AccessibleTable_getSelectedColumns): use it.
4033 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4036 Added a TODO list (rough and short for now).
4038 * cspi/spi_hyperlink.c:
4039 * cspi/spi_hypertext.c:
4040 Fixed macro name typos, and remove use of obsolete macro in
4041 AccessibleHyperlink_getLink.
4043 * cspi/spi_action.c:
4044 * cspi/spi_accessible.c:
4045 * cspi/spi_application.c:
4046 * cspi/spi_component.c:
4047 * cspi/spi_selection.c:
4050 Documentation fixes (removed return values from ref/unref methods).
4052 2001-12-10 Michael Meeks <michael@ximian.com>
4054 * cspi/spi_action.c: audit for exception handling,
4055 tolerating NULL object references safely etc.
4057 * cspi/spi_accessible.c: ditto.
4059 * cspi/spi_component.c: ditto.
4061 * cspi/spi_editabletext.c: ditto.
4063 * cspi/spi_hyperlink.c: ditto.
4065 * cspi/spi_hypertext.c: ditto.
4067 * cspi/spi_image.c: ditto.
4069 * cspi/spi_selection.c: ditto.
4071 2001-12-10 Michael Meeks <michael@ximian.com>
4073 * configure.in: use cspi/libspi.pc.in instead.
4075 * Makefile.am (pkgconfig_DATA): upd. to match.
4077 * test/simple-at.c (report_focus_event): kill hacks around
4078 bad return values, use putenv not setenv
4080 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4081 fire ChildGone - I killed it.
4083 * libspi/component.c
4084 (impl_accessibility_component_get_extents): remove
4087 * idl/Accessible.idl: kill ChildGone exception.
4089 * cspi/*.[ch]: kill int return from ref / unref.
4091 * cspi/spi_main.c (cspi_object_add_check): fold into
4092 (cspi_object_add): here.
4094 * cspi/spi_component.c (AccessibleComponent_getExtents):
4095 handle exceptions elegantly.
4097 * cspi/spi-private.h (cspi_check_ev_return),
4098 (cspi_return_if_fail): impl.
4100 * cspi/spi_accessible.c: use extensively.
4101 (AccessibleStateSet_equals): add direct compare check.
4103 * cspi/spi_selection.c: tolerate NULL objs, and check
4104 exceptions before return.
4106 * cspi/spi-util.c (cspi_warn_ev): rename to
4107 (cspi_check_ev): this & don't pass ev in; no point.
4109 2001-12-10 Michael Meeks <michael@ximian.com>
4111 * test/test-simple.c: use putenv not setenv
4112 (get_environment_vars): more chatty if you're not using
4115 * test/simple-at.c: do the setenv so more people see the
4118 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4120 * libspi/registry.c:
4121 Changed check of CORBA_environment on notification to be a warning
4122 instead of an error for the moment, since we can recover from this
4123 error when caused by a queued notification from a dead app.
4126 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4127 used by all current implementors of AtkValue), and coerce to
4128 CORBA_float. (Proper general case fix may require change to Value.idl).
4130 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4134 * cspi/spi_accessible.c:
4135 Documentation fixes: added user_data params to documentation for
4136 listeners and callbacks.
4138 * cspi/spi_accessible.c:
4139 Changed AccessibleStateSet_compare to return a
4140 StateSet rather than return the difference set into a third parameter.
4143 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4146 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4147 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4151 Remove subdirectory po from SUBDIRS for now.
4153 * at-bridge/bridge.c:
4154 Beefed up a couple of debug printouts.
4155 One-line fix for signal notification name formatting.
4157 * libspi/accessible.c:
4158 Added assertion to spi_accessible_new ().
4160 * libspi/application.c:
4161 Put #ifdef qualifiers around a printf.
4164 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4166 * registryd/Makefile.am:
4168 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4169 INTLTOOL_SERVER_RULE macro.
4172 Added an event listener for several ATK signals, for
4173 testing and debugging. Removed a few g_warnings.
4174 Added test output if focussed item implements the Value interface.
4176 * test/test-simple.c:
4177 Added test_value () function (known not to pass at the moment, so
4178 not actually called yet.
4180 2001-12-08 Michael Meeks <michael@ximian.com>
4182 * at-bridge/bridge.c (bridge_focus_tracker),
4183 (emit_eventv): fix the same ref. leak.
4184 (register_atk_event_listeners): don't leak.
4186 * cspi/spi-listener-impl.c (cspi_event): more
4187 protection from client code.
4189 * test/test-simple.c (test_desktop): unref the app.
4191 * test/Makefile.am: upd. TESTS.
4193 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4195 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4197 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4199 * cspi/spi_registry.c: constify in strings.
4200 (deregisterGlobalEventListenerAll): don't release the ref.
4202 * cspi/spi.h: start removing redundant / conflicting
4203 gtkdoc comments, making the API readable at a glance :-)
4205 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4207 * test/keysynth-demo.c (keysynth_exit, main): upd.
4209 * test/simple-at.c (main, simple_at_exit): upd.
4211 * test/test-simple.c (unutterable_horror): kill.
4212 (utterable_normal_derefs): kill.
4213 (main): upd & do a setenv before gtk_init, so that we
4214 can use memprof - and to save the pain of remembering
4215 this, if we're running under memprof - don't exit.
4217 * cspi/spi_main.c (SPI_exit): return exit status
4219 (SPI_event_quit): impl.
4220 (SPI_event_main): simplify.
4221 (cspi_is_gnome_app): kill.
4222 (SPI_init): kill isGNOMEapp arg.
4224 * at-bridge/bridge.c (register_atk_event_listeners):
4225 re-instate the unref.
4226 (bridge_exit_func): don't re-activate the registry,
4227 protect vs. theoretical re-entry, use the
4228 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4229 assert a clean shutdown - for regression tests.
4231 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4233 * configure.in: Comment out dummy i18n support for now,
4234 otherwise it fails to build.
4235 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4236 EXTRA_DIST. They are missing in tarball.
4238 2001-12-07 Michael Meeks <michael@ximian.com>
4240 * util/magnifier.c: kill bonobo activation reg. race.
4242 * libspi/component.c
4243 (impl_accessibility_component_get_extents): make it match
4246 * libspi/registry.c (_registry_notify_listeners):
4247 re-remove X headers & reconcile conflicts.
4248 (spi_listener_struct_free): bad conflict resolve.
4249 (impl_accessibility_registry_register_application):
4250 more bad merging fixed.
4251 (impl_accessibility_registry_deregister_application): ditto.
4252 (spi_registry_new): ditto.
4253 (spi_registry_init): don't have an applications field.
4255 [ merge fixups2 branch to here ]
4256 2001-12-07 Michael Meeks <michael@ximian.com>
4258 * test/simple-at.c (report_focus_event),
4259 (report_focussed_accessible): remove g_warning debug.
4261 2001-12-07 Michael Meeks <michael@ximian.com>
4263 * test/test-simple.c (validate_tree): comment out some checks.
4264 (test_desktop): app now not registered idly - horay.
4266 2001-12-07 Michael Meeks <michael@ximian.com>
4268 * cspi/spi_registry.c
4269 (registerAccessibleKeystrokeListener): clean, stop it leaking
4270 great swathes of memory, and device event controller references.
4271 ensure we always pass valid sequences.
4272 (deregisterAccessibleKeystrokeListener): ditto.
4273 (generateKeyEvent): upd.
4275 * at-bridge/bridge.c (bridge_key_listener): handle
4276 registry dead exception gracefully.
4277 (bridge_focus_tracker, emit_eventv): free ev.
4279 * test/simple-at.c (report_focus_event): fix polarity.
4281 * libspi/application.c (notify_listeners): kill the ev
4282 argument, and make sure we init the ev we use.
4283 (spi_application_object_event_listener): split out a chunk
4284 (get_atk_object_ref): here & fixup.
4285 (reverse_lookup_name_for_toolkit_event): make const.
4286 (spi_application_toolkit_event_listener): fixup, kill leaks
4289 * at-bridge/bridge.c (register_atk_event_listeners):
4290 don't unref the noop object - causes grief.
4292 * libspi/registry.c: remove the X headers.
4293 turn off the debug churn.
4295 * libspi/accessible.c (spi_accessible_new_return): only
4296 release the ref if we are supposed to [doh]
4298 * test/simple-at.c (report_button_press, report_focus_event):
4299 guard vs. unexpected exit.
4301 * at-bridge/bridge.c (gtk_module_init): prune printf.
4302 (bridge_exit_func): fix app unref.
4304 * libspi/Makefile.am: don't install registry or desktop.h
4306 * libspi/*.h: update includes.
4308 * libspi/application.h: don't include ourself, or
4309 other redundant headers.
4311 2001-12-06 Michael Meeks <michael@ximian.com>
4313 * libspi/accessible.c
4314 (get_accessible_from_servant): impl.
4315 Upd. all CORBA impl.s to use it killing cut and paste.
4317 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4319 (SPI_init): register atexit cleanup handler here.
4321 2001-12-06 Michael Meeks <michael@ximian.com>
4323 * at-bridge/bridge.c (gtk_module_init): g_error on
4324 activation exception
4326 2001-12-06 Michael Meeks <michael@ximian.com>
4328 * at-bridge/bridge.c (gtk_module_init): some sort of
4329 confusing merge clash - reverted.
4330 (bridge_idle_init): ditto.
4332 * test/test-simple.c (main, utterable_normal_derefs):
4333 merge from Bill - somehow not committed.
4335 2001-12-06 Michael Meeks <michael@ximian.com>
4337 * libspi/value.c (spi_value_class_init): upd.
4338 (spi_value_finalize): kill.
4340 * libspi/table.c (spi_table_finalize): kill.
4341 (spi_table_interface_new): upd.
4342 (spi_table_class_init): upd.
4343 (get_table_from_servant): impl.
4344 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4346 * libspi/selection.c (spi_selection_finalize): kill.
4347 (spi_selection_interface_new): upd.
4348 (spi_selection_class_init): upd.
4349 (get_selection_from_servant): impl.
4350 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4352 * libspi/relation.c (spi_relation_finalize): kill.
4353 (spi_relation_class_init, spi_relation_new): upd
4355 * libspi/image.c (spi_image_finalize): kill.
4356 (spi_image_class_init): upd.
4357 (spi_image_interface_new): upd.
4358 (get_image_from_servant): impl.
4359 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4361 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4362 (spi_hyperlink_finalize): kill.
4363 (spi_hyperlink_new): upd.
4364 (get_hyperlink_from_servant): impl.
4365 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4367 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4368 (spi_hypertext_finalize): kill.
4369 (spi_hypertext_class_init): upd.
4370 (get_hypertext_from_servant): impl.
4371 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4373 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4374 (spi_editable_text_interface_new): upd.
4375 (get_editable_text_from_servant): impl.
4376 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4378 * libspi/text.c (get_text_from_servant): impl.
4379 All impls - update to use it killing more cut and paste,
4380 also fix bad string returns on duff args ( a somewhat
4381 impossible case to handle - but hey ).
4382 (spi_text_construct): impl.
4383 (spi_text_interface_new): upd.
4384 (spi_text_object_finalize): kill.
4386 * libspi/component.c
4387 (accessibility_component_object_finalize): kill.
4388 (spi_component_class_init): upd.
4389 (get_component_from_servant): impl. helper to kill cut & paste.
4390 (impl_accessibility_component_contains):
4391 (impl_accessibility_component_get_accessible_at_point):
4392 (impl_accessibility_component_get_position):
4393 (impl_accessibility_component_get_extents):
4394 (impl_accessibility_component_get_mdi_z_order):
4395 (impl_accessibility_component_get_layer):
4396 (spi_component_interface_new): upd.
4398 * libspi/action.c (spi_action_finalize): kill.
4399 (spi_action_class_init): upd. inherit from SpiObject.
4400 (spi_action_interface_new): upd.
4401 (get_action_from_servant): impl. helper to reduce cut & paste.
4402 (impl_getKeyBinding, impl_getName, impl_doAction),
4403 (impl_getDescription): Use it everywhere.
4405 * cspi/spi_main.c (get_live_refs): a pointer hash.
4406 (spi_object_hash, spi_object_equal): comment out.
4407 There are issues with CORBA object hashing that need
4410 * libspi/application.c (spi_application_init),
4411 (spi_application_new): upd.
4413 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4414 (spi_accessible_class_init): upd.
4415 s/accessible/object/ in epv methods.
4417 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4419 * at-bridge/bridge.c:
4420 Reorder the bridge initialization into the bridge gtk_module_init,
4421 an immediate call to bridge_register_app, and an idle_add for
4422 register_atk_event_listeners (the only code that *must* wait until
4423 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4424 the activation, creates the application's Accessible object, and
4425 queues the bridge_idle_init function. Restored call to
4426 Accessibility_Registry_deregisterApplication().
4427 Prior to making this call we obtain a new reference to the
4428 registry, which is a temporary hack that helps us handle apps that
4429 shut down the bonobo mainloop before we get there.
4431 * libspi/registry.c:
4432 Fix string leakage in debug block, and don't segv if a an app
4433 dies before its event notifications have been propagated.
4436 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4437 as stopgap measure until we get proper exception handling when
4438 objects die during or before interrogation.
4442 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4443 Also changed default value of is_gnome_app to TRUE.
4446 * test/keysynth-demo.c:
4447 Changed use of SPI_init and SPI_event_main to reflect API change above.
4450 Made report_focus_event check the warning value from getName
4451 before reporting on focussed accessible; simplifies handling of
4452 notifications from dead objects.
4454 * test/test-simple.c: (Changes not in this patch since source is
4457 2001-12-05 Michael Meeks <michael@ximian.com>
4459 * registryd/registryd.c (main): protect against
4460 bonobo-activation startup race condition.
4462 * cspi/spi_main.c (cspi_object_add_check): cope
4463 with the exception elegantly.
4465 * idl/Accessible.idl: decl. ChildGone
4467 * libspi/desktop.c (spi_desktop_dispose): impl.
4468 (spi_desktop_class_init): upd.
4469 (spi_desktop_add_application),
4470 (spi_desktop_remove_application),
4471 (abnormal_application_termination): impl.
4472 (impl_desktop_get_child_at_index): re-impl.
4475 (impl_accessibility_registry_deregister_application),
4476 (impl_accessibility_registry_register_application):
4477 kill excessive debug clutter.
4479 * test/test-simple.c (test_misc): test some NULL
4480 tolerance. (main): upd.
4482 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4483 implements no interfaces - so let's not crash.
4485 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4487 * libspi/accessible.c (spi_accessible_new_return): impl.
4488 helper to calm the cut and paste, to cope with
4489 NULL AtkObjects effectively and efficiently, and to kill
4490 the referencing bugs.
4492 * libspi/table.c (impl_getAccessibleAt),
4493 (impl_getRowHeader, impl_getColumnHeader): upd.
4495 * libspi/hyperlink.c (impl_getObject): upd.
4497 * libspi/accessible.c
4498 (impl_accessibility_accessible_get_child_at_index): upd.
4500 * libspi/component.c
4501 (impl_accessibility_component_get_accessible_at_point): upd.
4503 * test/test-simple.c (test_editable_text, test_text): impl.
4506 * cspi/spi_editabletext.c
4507 (AccessibleEditableText_insertText): constify.
4509 * test/test-simple.c (focus_me): make more robust.
4511 * libspi/accessible.c: remove some printfs in methods that
4512 we test and work fine, so we can get a clean tree dump.
4514 * test/test-simple.c (validate_accessible),
4515 (validate_tree): make tree dumping pretty too.
4517 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4518 it builds without debug on.
4520 * test/test-simple.c (validate_accessible): fix the most
4523 * cspi/spi_main.c (spi_object_release): leave the nicely
4524 blanked memory around if in debug mode.
4526 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4528 [committed to fixups2]
4529 2001-12-05 Michael Meeks <michael@ximian.com>
4531 * libspi/editabletext.c
4532 (spi_editable_text_class_init): g_type_class_peek_parent,
4533 not interface peek - so we finalize cleanly.
4535 * libspi/accessible.c (spi_accessible_new): kill debug.
4537 * test/test-simple.c (validate_accessible): fix ref.
4538 leak, print strings before freeing them; sigh, comment a
4539 chunk out due to strangeness.
4540 (validate_tree): unref the child after use.
4542 * cspi/spi_component.c (AccessibleComponent_getLayer):
4543 add missing break statement, switch on zlayer not the
4544 uninitialized retval.
4546 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4547 before (possibly re-entering) remote unref.
4549 * test/simple-at.c (main): unref the desktop.
4551 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4554 * cspi/spi_main.c (cspi_accessible_is_a): here to
4555 isolate bonobo API usage more.
4557 * libspi/registry.c (impl_accessibility_registry_register_application):
4558 prune bogus comment.
4560 2001-12-04 Michael Meeks <michael@ximian.com>
4562 * test/test-simple.c (validate_tree): upd.
4563 IndexInParent check to make it more lucid.
4564 (validate_accessible): dump the tree.
4566 * libspi/accessible.c (de_register_public_ref),
4567 (get_public_refs): impl.
4568 (spi_accessible_new): make more efficient & intuitive.
4569 Now IndexInParent check works.
4571 2001-12-04 Michael Meeks <michael@ximian.com>
4573 * cspi/spi-util.h: remove.
4575 * cspi/spi.h: move SPI_freeString here
4577 * libspi/component.c (impl_accessibility_component_get_layer):
4579 (impl_accessibility_component_get_mdi_z_order): ditto,
4580 return -1 on error - is this ok ?
4582 * test/test-simple.c (test_application): impl.
4584 * cspi/spi_accessible.c (Accessible_getApplication),
4585 (Accessible_isApplication): impl.
4587 * libspi/registry.c (spi_listener_struct_free): release
4588 the CORBA reference too.
4590 * libspi/accessible.c
4591 (impl_accessibility_accessible_get_parent): fix ref leak.
4593 * libspi/registry.c (spi_registry_new): make the registry
4594 immortal - we don't want it to go away ever.
4596 * libspi/application.c
4597 (spi_accessible_application_finalize): impl. cleanup.
4599 * cspi/spi_registry.c
4600 (deregisterGlobalEventListenerAll),
4601 (deregisterGlobalEventListener),
4602 (deregisterAccessibleKeystrokeListener): fix ref leak.
4604 * cspi/spi_main.c (SPI_init): remove redundant ref.
4606 * test/test-simple.c (unutterable_horror): impl. to force a
4611 (impl_accessibility_registry_deregister_application): release
4612 the application when we de-register it.
4614 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4615 until we have the infastructure to get it right.
4617 2001-12-03 Michael Meeks <michael@ximian.com>
4619 * libspi/Makefile.am: only build eventlistener.[ch]
4621 * libspi/accessible.c
4622 (impl_accessibility_accessible_get_child_at_index): don't leak.
4624 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4625 before we hit the idle handler.
4627 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4628 debugging than exit.
4630 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4632 * libspi/listener.c (impl_notify_event): check source
4633 not NIL before unref.
4635 * libspi/registry.c (impl_registry_notify_event): ditto.
4637 * libspi/eventlistener.c
4638 (impl_accessible_event_notify_event): unref the source.
4640 * libspi/accessibleeventlistener.c
4641 (impl_accessible_event_notify_event): unref the source.
4643 * idl/Event.idl: remove 'hash_id' attribute - of no
4646 * libspi/application.c (notify_listeners): upd list
4648 (spi_application_object_event_listener),
4649 (spi_application_toolkit_event_listener): upd to do correct
4653 (_registry_notify_listeners): update.
4654 (parse_event_type): this method also leaks like a sieve.
4655 (impl_accessibility_registry_deregister_global_event_listener):
4656 fix ETYPE_WINDOW case.
4658 * libspi/application.c
4659 (impl_accessibility_application_register_object_event_listener):
4662 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4664 * libspi/hypertext.c (impl_getLink): ditto.
4666 * cspi/spi_main.c (cspi_object_add): remove
4667 bogus CORBA_Object_duplicate.
4669 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4672 * cspi/spi_accessible.c
4673 (Accessible_getRelationSet): fix leak / referencing issue.
4675 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4676 (cspi_object_add, cspi_object_unref): upd.
4677 (spi_object_release, get_live_refs): impl.
4678 (cspi_cleanup): simplify.
4680 * *.[ch]: s/boolean/SpiBoolean/
4682 * cspi/spi_accessible.c (role_names): actualy order so it
4683 corresponds with the enum !
4685 * test/test-simple.c (test_roles): check some role strings
4686 vs. enums to detect offset errors.
4688 2001-12-01 Michael Meeks <michael@ximian.com>
4690 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4692 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4694 (Accessible_getChildAtIndex): use cspi_add_check so we
4695 check the ev before using a (possibly) invalid value.
4697 * libspi/accessible.c
4698 (impl_accessibility_accessible_get_parent): don't segv
4701 * at-bridge/bridge.c (gtk_module_init): upd.
4702 (bridge_property_event_listener): don't leak strings
4704 (bridge_state_event_listener),
4705 (bridge_property_event_listener): don't use a static
4706 buffer in case of recursive event emission &
4707 re-enterancy - split out the swathe of cut and paste
4709 (emit_eventv): and fix 2 ref leaks here & comply to the
4711 (bridge_register_app): rename to
4712 (bridge_idle_init): this and kill arg parsing, split
4713 various inits & bonobo-activation registration to module
4714 init time, kill referencing error.
4715 (bridge_exit_func): fix the same leak.
4716 (bridge_focus_tracker): don't leak event structures
4718 (bridge_signal_listener): more leakage and cut & paste
4720 (bridge_key_listener): return the result - FIXME is
4721 this polarity correct ?
4722 (accessibility_keystroke_from_atk_key_event): rename
4723 (accessibility_init_keystroke_from_atk_key_event): and stop
4725 (gtk_module_init): return a value - not that it is checked by
4727 (bridge_key_listener): register my horror at casting between
4728 IDL defined structs.
4729 (bridge_get_registry): kill - not used.
4731 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4733 * test/test-simple.c (test_roles): impl.
4734 (test_desktop, validate_accessible, validate_tree): impl.
4736 * cspi/spi_accessible.c (role_names): fixup bogus
4737 MAX_ROLES setup, make constants const for efficient linkage
4738 (AccessibleRole_getName): conform to coding style, make
4741 2001-11-30 Michael Meeks <michael@ximian.com>
4743 * cspi/spi.h: add missing prototype.
4745 * libspi/registry.c (spi_listener_struct_new): fix sig.
4747 * test/Makefile.am: add test-simple
4749 * test/test-simple.c: add
4751 * test/test.sh: add.
4753 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4755 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4756 do it straight - since otherwise we often get an activation race.
4758 [ work before Bill duplicated a chunk of it ... ]
4759 2001-11-30 Michael Meeks <michael@ximian.com>
4761 * libspi/keystrokelistener.c
4762 (spi_keystroke_listener_class_init): fixup arg
4765 * libspi/eventlistener.c
4766 (spi_event_listener_class_init): ditto.
4768 * tests/test.sh: add.
4770 * cspi/spi-listener-impl.h: update macros.
4772 * cspi/spi-listener-impl.c
4773 (cspi_event_listener_remove_callback): add
4774 correct pre-conditions.
4776 * cspi/spi_main.c (SPI_exit): guard vs. double
4777 exits, exit the mainloop nicely.
4778 (SPI_event_main): make more sense.
4779 (SPI_init): move the atexit evilness here so we
4780 always do it (yuck).
4781 (SPI_event_main): upd.
4783 * test/simple-at.c: update for listener changes.
4785 * registryd/registryd.c (main): prune kruft.
4787 * libspi/libspi.h: upd.
4789 * libspi/eventlistener.[ch]: rename broken macros.
4791 * libspi/accessibleeventlistener.[ch]: remove.
4793 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4795 * test/test-simple.c: Add - automated tests.
4797 * cspi/spi-listener-impl.c (cspi_event),
4798 (cspi_key_event): add user_data to invoke.
4799 (cspi_keystroke_listener_finalize): impl.
4800 (cspi_keystroke_listener_class_init): upd.
4803 (createAccessibleEventListener),
4804 (AccessibleEventListener_addCallback),
4805 (createAccessibleKeystrokeListener),
4806 (AccessibleKeystrokeListener_addCallback): upd.
4808 * libspi/deviceeventcontroller.c
4809 (spi_device_event_controller_check_key_event): add public proto.
4812 (impl_accessibility_registry_deregister_global_event_listener):
4813 always init listeners.
4814 (_registry_notify_listeners): yes it is.
4816 * cspi/spi-listener-impl.c (cspi_key_event):
4818 (cspi_event_listener_finalize): impl.
4819 (cspi_event_listener_class_init): hook up.
4820 (event_handler_new, event_handler_free),
4821 (event_list_remove_by_callback): impl.
4822 (cspi_event_listener_remove_callback),
4823 (cspi_keystroke_listener_remove_callback),
4824 (cspi_keystroke_listener_add_callback),
4825 (cspi_event_listener_add_callback): upd.
4827 * libspi/keystrokelistener.c
4828 (keystroke_listener_object_finalize): kill
4829 (spi_keystroke_listener_class_init): upd.
4830 (spi_keystroke_listener_add_callback),
4831 (spi_keystroke_listener_remove_callback): kill,
4833 (impl_key_event): prune drasticaly.
4835 * libspi/eventlistener.c
4836 (spi_event_listener_add_callback),
4837 (spi_event_listener_remove_callback): kill, use
4839 (impl_accessible_event_notify_event): upd.
4840 (spi_event_listener_object_finalize): remove.
4842 * libspi/Makefile.am: use eventlistener.[ch]
4844 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4846 * libspi/registry.c (_registry_notify_listeners):
4847 Changed listener loop iteration to use preferred convention.
4848 Got rid of string memory leaks caused be calling g_strconcat
4849 inside function calls.
4851 * libspi/registry.c (parse_event_type):
4852 Stopped g_strconcat memory leaks, free the g_strsplit return,
4853 g_strdup the split pieces when used, etc.
4855 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4858 Change method 'compare' to return a 'difference set' rather than
4859 taking a StateSet as an out parameter (more Java-friendly).
4861 * idl/Accessible.idl:
4862 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4864 * idl/Component.idl:
4866 Changed methods 'getExtents' and 'getImageExtents' in these
4867 interfaces to return a BoundingBox structure.
4868 (getPosition and getSize are redundant and possibly should be
4869 removed, rather than creating a corresponding Point struct.)
4871 * cspi/spi_component.c:
4872 Modify implementation of getExtents to reflect the above IDL
4877 Add (missing) AccessibleImage_getExtents () API.
4879 * docs/reference/cspi/at-spi-cspi-sections.txt:
4880 Added AccessibleImage_getImageExtents () to docs.
4882 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4884 * idl/Component.idl:
4885 Added two methods, getLayer () and getMDIZOrder (), to reflect
4886 the new ATK methods atk_object_get_layer and
4887 atk_object_get_mdi_z_order. (Which arguably should be part of the
4888 AtkComponent API and AtkObject). Also added an enum,
4889 ComponentLayer, for the first method's return value.
4891 * libspi/component.c:
4892 Added implementations for these methods.
4894 * cspi/spi_component.c:
4896 Added cspi binding methods for above,
4897 AccessibleComponent_getLayer() and
4898 AccessibleComponent_getMDIZOrder().
4899 Added cspi enum 'AccessibleComponentLayer'.
4901 * docs/reference/cspi/at-spi-cspi-sections.txt:
4902 Added above methods to docs.
4906 Changed typedef for 'boolean' type (and all references to it) to
4907 SPIBoolean, to avoid keyword clashes with C++.
4910 Changed usages of 'boolean' to SPIBoolean.
4912 * test/keysynth-demo.c:
4913 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4914 app), except where SPIBoolean is required by the callbacks API.
4916 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4918 * cspi/spi_registry.c:
4919 Removed obsolete X event loop for passive keygrabs (which now
4922 * registryd/registryd.c:
4923 Removed unnecessary call to gdk_init() [cruft]. This also allows
4924 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4927 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4929 * docs/reference/cspi:
4930 Included docs for SPI_freeString in generated documentation.
4933 Renamed spi_freeString to SPI_freeString, for consistency. Added
4934 documentation for this function.
4937 Renamed spi_freeString to SPI_freeString, for consistency.
4938 Removed obsolete method declaration string_from_corba_string.
4940 * test/keysynth-demo.c:
4941 Small tweak to comments.
4944 Stopped leaking the strings returned from CSPI.
4946 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4948 Merged Michael's branch (see his ChangeLog entries below).
4950 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4951 bridge is alive, release on exit.
4953 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4954 Fix type check macro.
4957 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4960 Added is_gnome_app static, and method cspi_is_gnome_app(),
4961 so we can call the appropriate shutdown routine at exit in SPI_exit.
4963 * cspi/spi_main.c (cspi_object_ref):
4964 Duplicate the corba object passed in, since we're keeping it around.
4966 * cspi/SPI_exit.c, cspi_cleanup:
4967 Moved the releasing of the live refs to its own function, so we
4968 can put it in g_atexit (). Call the appropriate shutdown API
4969 depending on whethe calling client is a gnome app or not
4970 (bonobo_main_quit or CORBA_ORB_shutdown).
4972 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4973 Unref the listener when this method is called, after
4974 deregistration. Updated the API docs to note this behavior.
4976 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4977 Bugfixes: Ref the bonobo object when returning a parent or child
4978 reference, or an AccessibleRelation. Generally made sure
4979 BonoboObject refcount is incremented whenever we return an
4982 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4983 Fixed typo/bug in signal declaration.
4985 * libspi/accessibleeventlistener.h:
4988 * libspi/application.c (spi_application_new):
4989 Fixed leak in initialization.
4992 Remembered to increment bonobo-object refcount when returning
4993 children (applications) from desktop object.
4994 Added (empty) finalize method.
4996 * libspi/deviceeventcontroller.c:
4997 Hold a ref to listeners inside DEControllerKeyListeners.
4998 Added dec_key_listener_free() method. Use prepend instead of
4999 append in key_listener list. Fixed some refcount madness and
5000 leaks in the listener registration/deregistration - deregistration
5001 now calls dec_key_listener_free() on listeners, and on the
5002 temporarily constructed dec_key_listener() used to perform the search/match.
5004 * libspi/hypertext.c (spi_hypertest_finalize):
5005 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5006 class. Also fixed spi_hypertext_interface_new() and
5007 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5009 * libspi/hypertext.h:
5010 Removed pointless and duplicate AtkObject pointer from
5013 * libspi/keystrokelistener.c:
5014 Fixed incorrect type of keystroke_listener_parent_class,
5015 renamed keystroke_listener_object_finalize to
5016 spi_keystroke_listener_object_finalize.
5017 Fixed typo in signal declaration
5018 (spi_keystroke_listener_class_init).
5020 * libspi/registry.c:
5021 Added funcsions spi_listener_struct_new() and
5022 spi_listener_struct_free() to help with memory management issues.
5023 We also now use these methods instead of gnew + poking stuff into
5024 the struct, and to decrement listener counts/free the listeners
5025 when deregistering them.
5026 Fix more refcount bugs in getDesktop() and
5027 getDeviceEventController().
5030 De-ref the desktop after enumerating the applications. Explicitly
5031 decrement the refcounts on the created listeners on exit (using
5032 _unref for keystroke listeners, and via the
5033 deregisterGlobalEventListenerAll command for other event
5036 2001-11-27 Michael Meeks <michael@ximian.com>
5038 * cspi/spi-listener.h: fixup enum.
5040 2001-11-27 Michael Meeks <michael@ximian.com>
5042 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5043 (cspi_keystroke_listener_new): Use the cspi variants.
5045 2001-11-26 Michael Meeks <michael@ximian.com>
5047 * test/keysynth-demo.c: fix 2 compile warnings, missing
5050 * test/simple-at.c (report_focussed_accessible),
5051 (report_focus_event, report_button_press),
5052 (check_property_change, is_command_key),
5053 (report_ordinary_key_event, report_command_key_event): upd.
5055 * util/mag_client.h: include pre-requisites.
5057 * libspi/accessibleeventlistener.c
5058 (spi_event_listener_object_finalize): free any lingering
5061 * libspi/keystrokelistener.c
5062 (keystroke_listener_object_finalize): ditto.
5064 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5065 callbacks, with cspi types.
5067 * cspi/spi_event.c (createAccessibleEventListener): chain to
5068 (AccessibleEventListener_addCallback): here.
5069 (createAccessibleKeystrokeListener): chain to
5070 (AccessibleKeystrokeListener_addCallback): here.
5072 * libspi/keystrokelistener.c
5073 (spi_keystroke_listener_class_init): add signal.
5074 (impl_key_event): emit the event.
5075 (boolean_handled_accumulator): impl.
5076 (marshal_BOOLEAN__POINTER): add, gack.
5078 * libspi/accessibleeventlistener.c
5079 (spi_event_listener_class_init): add signal.
5080 (impl_accessible_event_notify_event): emit the signal &
5081 make the loop efficient.
5082 (spi_event_listener_add_callback): prepend the callback.
5084 * libspi/accessibleeventlistener.h: add an 'event' signal,
5085 decl type on callback.
5087 * libspi/keystrokelistener.h: ditto.
5089 * cspi/spi-listener.h: make methods typesafe and
5090 make them use the new event typedefs.
5092 * test/simple-at.c (report_focussed_accessible):
5093 include mag_client.h
5094 Use *(void *)text_interface not the other thing.
5096 * configure.in: add gtk to registryd bits - since we use
5099 * util/magnifier.c: include libbonobo.h
5101 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5103 * test/keysynth-demo.c:
5104 Turned this into a simple scanning keyboard, to demonstrate the
5105 use of g_timeout_add () as a means of creating timers for
5106 scanning, and the use of GtkStyle for visually indicating when
5107 virtual keyboard elements are selected.
5109 keysynth-demo now listens to any keyboard keys with zero-valued
5110 keycodes (i.e. 'unused' keys) and interprets them as
5113 Reworked the shiftlatch code so that shift-down state isn't held
5114 for long periods (it's only synthesized immediately prior to
5115 the keysynth event it's modifying). Note that shiftlatch in this
5116 demo is a convenience, not intended to take the place of AccessX
5117 which is the better choice for getting 'sticky' modifier keys.
5119 * libspi/deviceeventcontroller.c:
5120 * at-bridge/bridge.c:
5121 * cspi/spi_registry.c:
5122 Removed some debug print stuff, and put other verbosity in #ifdef
5127 Implemented some more of the magnifier IDL for the simple
5128 magnifier: namely, getZoomRegionParams.
5129 Added mag_x and mag_y members to MagnifierData struct, aid of this
5131 Added GtkWindow::realize signal handler to magnifier, to keep it
5132 from receiving keyboard focus from the WM.
5134 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5136 * cspi/spi-private.h: my guess at what michael forgot
5137 before he ran off to NZ :-)
5139 2001-11-23 Michael Meeks <michael@ximian.com>
5141 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5142 comment out non existant method invoke so we link.
5144 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5145 use bonobo_exception_get_text for more friendly warnings.
5147 * cspi/spi.c (Obj_Add): move into spi_main & rename
5148 spi_object_add; kill spi.c
5150 * cspi/spi_registry.c
5151 (deregisterGlobalEventListener),
5152 (deregisterGlobalEventListenerAll),
5153 (registerGlobalEventListener): fix exception leaks.
5155 * cspi/spi_main.c (spi_exception): impl. helper, so we
5156 don't leak exceptions.
5158 * cspi/spi_selection.c
5159 (AccessibleSelection_deselectSelectedChild): return the
5162 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5163 (spi_registry): ditto.
5164 (SPI_init): guard against double inits.
5166 * cspi/*.c: use spi_ev (), and spi_registry () where
5167 appropriate - a temporary hack until we have something
5168 better. Use spi_object_add
5170 2001-11-22 Michael Meeks <michael@ximian.com>
5172 * cspi/Makefile.am: re organise, install the headers.
5174 * cspi/*.h: add G_BEGIN/END_DECLS
5176 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5179 Added non-preemptive keylistener for key events with no modifiers
5180 and shift-only modifier.
5182 * libspi/keystrokelistener.c:
5183 Removed some verbose diagnostics printout.
5185 * cspi/spi_registry.c:
5186 Fixed a bug that caused all key listeners to be registered as
5189 * libspi/deviceeventcontroller.c:
5190 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5191 for non-preemptive key masks.
5194 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5196 * docs/reference/idl/at-spi-idl-docs.sgml:
5197 * docs/reference/idl/at-spi-idl-sections.txt:
5198 * docs/reference/idl/at-spi-idl-overrides.txt:
5199 Added missing files.
5201 * docs/reference/Makefile.am:
5202 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5203 to scan the IDL files :-(
5208 Added .cvsignore files.
5210 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5212 * libspi/deviceeventcontroller.c:
5213 * libspi/keystrokelistener.c:
5215 * cspi/spi_registry.c:
5216 Added filters for KeySets, KeyEventSeq, and event types to key
5217 event dispatching, so listeners should only receive those events
5218 that they requested :-)
5220 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5225 * docs/reference:Makefile.am:
5226 * docs/reference/cspi:
5227 * docs/reference/cspi:Makefile.am:
5228 * docs/reference/cspi:tmpl:
5229 * docs/reference/cspi:tmpl:*.sgml:
5230 * docs/reference/idl:
5231 * docs/reference/idl:Makefile.am:
5232 * docs/reference/idl:at-spi-idl-sections.txt:
5233 * docs/reference/idl:at-spi-idl-docs.sgml:
5234 * docs/reference/idl:tmpl:
5235 * docs/reference/idl:tmpl:*.sgml:
5237 Restructured docs directory to allow separate 'reference' docs
5238 section, and forked idl and cspi docs. Added the sgml template
5239 files to CVS. Added the first sections/structural sgml for the
5242 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5244 * configure.in, libspi/Makefile.am: find libXtst.
5246 2001-11-21 Michael Meeks <michael@ximian.com>
5248 * test/accessx-gui.c: s/spi_value/value/ - doh.
5250 * libspi/base.[ch]: add.
5252 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5254 * idl/Accessible.idl:
5255 * idl/Application.idl:
5258 Started gtk-doc cleanup on IDL.
5260 * libspi/deviceeventcontroller.c:
5261 Added and connected non-preemptive key notification from the
5262 toolkits (in addition to the pre-emptive support from XServer
5263 which we had before, but which causes 'focus flashing'). Filters
5264 are presently limited to key modifiers and global/non-global,
5265 KeySets are presently ignored, as are KeyEvent masks.
5267 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5268 structs into the persistant structure rather than just storing
5269 pointers to things that might not persist across servant
5272 The XGrabKey call now does async keygrabs, because synchronous
5273 ones were deadlocking with GDK_event code in a very nasty way.
5275 Added boolean to internal method notify_keylisteners, to indicate
5276 whether the event came from the 'toolkit source' or the 'global
5277 (XServer) source' - this is used in the notification process to
5278 determine which listeners to send the event to.
5280 deviceeventcontroller.c is now warning-free.
5282 * libspi/registry.c:
5283 Fixed regression in application de-registration.
5284 Also fixed some really brain-dead weirdness having to do with
5285 event dispatching - event structs are now duplicated before being
5286 re-marshalled in the dispatch to listeners. This also fixes a
5287 Solaris build problem.
5290 2001-11-20 Michael Meeks <michael@ximian.com>
5293 (impl_accessibility_registry_deregister_global_event_listener):
5296 * libspi/deviceeventcontroller.c
5297 (spi_device_event_controller_check_key_event): return
5298 FALSE on no virtual method.
5300 * libspi/*..h: make includes work on a correctly pathed install.
5302 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5304 * libspi/application.h: kill unused ( and whacked out )
5305 gboolean *spi_application_set_id (AtkObject *app, long id);
5307 2001-11-20 Michael Meeks <michael@ximian.com>
5309 * libspi/*.[ch]: further convert to bonobo's type func
5310 macros, remove redundnant casts etc.
5312 * libspi/text.c s/accessibility_text/spi_text/g,
5313 re-order to de-cruft.
5315 * libspi/hypertext.c: re-order to kill a huge slew
5316 of redundant forward decls.
5318 * libspi/relation.c: ditto.
5320 * libspi/image.c: ditto.
5322 * */.cvsignore: update
5324 2001-11-20 Michael Meeks <michael@ximian.com>
5326 * libspi/deviceeventcontroller.c
5327 (_controller_register_with_devices): use g_getenv,
5328 kill stdlib.h include.
5330 * libspi/keystrokelistener.c
5331 (spi_keystroke_listener_get_type): kill
5332 (spi_keystroke_listener_class_init),
5333 (spi_keystroke_listener_init): rename to this.
5335 * libspi/text.c (impl_getAttributes): fix warning / bug.
5337 * libspi/*.[ch]: more headers, includes and over commenting.
5339 2001-11-20 Michael Meeks <michael@ximian.com>
5341 * libspi/*.[ch]: fixup headers, includes and over commenting.
5343 * libspi/image.c (impl__get_imageDescription): const
5344 correctness warning fix. remove redundant casting.
5346 * libspi/table.c (impl_getRowDescription): ditto.
5347 (impl_getColumnDescription): ditto.
5349 * libspi/libspi.h: add.
5351 2001-11-19 Michael Meeks <michael@ximian.com>
5353 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5355 * libspi/component.c (accessibility_component_get_type):
5356 rename to (spi_component_get_type): and macroify.
5357 (accessibility_component_init): rename to
5358 (spi_component_init): this
5359 (accessibility_component_class_init): rename to
5360 (spi_component_class_init): this
5362 * libspi/action.c (spi_action_get_type): kill, use the macro.
5364 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5367 * libspi/application.c (spi_application_object_event_listener),
5368 (impl_accessibility_application_register_object_event_listener):
5369 warning fixes / const understanding updates.
5371 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5374 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5376 * libspi/spi_accessible.c: Added docs and C bindings for
5377 AccessibleStateSet. (No implementations yet). Documentation
5378 coverage for C bindings now 100%. Made docs for event listeners
5383 boolean notifyListenersSync (in DeviceEventListener listener,
5384 in DeviceEvent event);
5386 oneway void notifyListenersAsync (in DeviceEventListener listener,
5387 in DeviceEvent event);
5389 Added DeviceEventListener and DeviceEvent structs (may deprecate
5390 KeyStroke and KeystrokeListener in favor of this generic
5391 event/listener framework for devices).
5393 * libspi/deviceeventcontroller.c:
5395 Changed some key listener code to take masks, etc., and paved the
5396 way for integration of toolkit/non-preemptive key events. Changed
5397 signatures of some internal methods.
5399 * at-bridge/bridge.c:
5400 Fixed regression connecting to interface signals, apparently
5401 caused by GTK+ changes.
5403 Added an internal bridge_state_listener to deal with
5404 property-change:accessible-state signals.
5406 Changed the key_listeners GList to store structs (including masks,
5407 etc.) instead of just CORBA_Objects (required for full
5408 implementation of key listener API).
5410 Connected the bridge to all currently supported Atk signals.
5411 Events now supported:
5412 object:property-change
5413 object:property-change:accessible-name
5414 object:property-change:accessible-state
5415 object:property-change:accessible-description
5416 object:property-change:accessible-parent
5417 object:property-change:accessible-value
5418 object:property-change:accessible-role
5419 object:property-change:accessible-table-caption
5420 object:property-change:accessible-table-column-description
5421 object:property-change:accessible-table-column-header
5422 object:property-change:accessible-table-row-description
5423 object:property-change:accessible-table-row-header
5424 object:property-change:accessible-table-summary
5425 object:children-changed
5426 object:visible-data-changed
5427 object:selection-changed
5428 object:text-selection-changed
5430 object:text-caret-moved
5432 object:row-reordered
5434 object:column-inserted
5435 object:column-reordered
5436 object:column-deleted
5437 object:model-changed
5439 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5441 * libspi/hyperlink.c,h:
5442 Fixed some broken stuff in hyperlink.
5444 * libspi/relation.h:
5445 * libspi/relation.c:
5446 * cspi/spi_accessible.c:
5447 Initial implementations of AccessibleRelation methods, and docs.
5449 * libspi/accessible.c:
5450 Fixed a bug that caused SEGV if an accessible
5451 object's description is NULL, and a client
5452 requests it. An empty string is now returned.
5454 * cspi/spi_editabletext.c:
5455 * cspi/spi_hypertext.c:
5457 * cspi/spi_hyperlink.c:
5461 Doc coverage now 95%.
5463 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5465 One last namespacing revision:
5466 * libspi/accessibleeventlistener.[ch]:
5467 Renamed SpiAccessibleEventListener to SpiEventListener,
5468 (no need for two namespaces ;-)
5470 And lots of documentation fixes:
5472 * docs/at-spi-docs.sgml:
5473 Fixed 'underscore vs. hyphen' bug that was preventing
5474 the gtk-doc API docs from being automatically generated.
5477 * cspi/spi-listener.h
5479 * cspi/spi_accessible.c
5481 * cspi/spi_application.c
5482 * cspi/spi_component.c
5483 * cspi/spi_editabletext.c
5485 * cspi/spi_hypertext.c
5487 * cspi/spi_registry.c
5488 * cspi/spi_selection.c
5492 * docs/at-spi-docs.sgml
5493 * docs/at-spi-sections.txt
5495 Added and fixed up gtk-doc documentation in cspi.
5497 Interfaces now (fully) documented (subject to revision and enhancement):
5499 Event Listener Support
5501 AccessibleApplication
5505 AccessibleEditableText
5512 AccessibleRelationSet
5517 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5519 * at-bridge/bridge.c:
5520 Initial work for toolkit-level key snooper connection by bridge.
5525 New typedefs and fixes to support new namespacing, and cleaner
5526 separation of cspi bindings from libspi bonobo implementation.
5527 Removed inconsistent and extraneous Spi* namespace prefix that
5528 had crept into cspi headers.
5529 Lots of comment fixes that sed had missed.
5531 * cspi/spi-roletypes.h:
5532 * cspi/spi-statetypes.h:
5533 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5534 to AccessibleRoleType.
5536 * libspi/accessibleeventlistener.h:
5537 Fixed minor namespacing weirdness.
5539 * libspi/deviceeventcontroller.c:
5540 Reordered some internal API for device listeners.
5541 Changed the key registry final boolean to 'is_system_global'
5542 rather than 'is_synchronous', which is more descriptive of its
5544 Added spi_device_event_controller_new().
5545 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5547 * libspi/keystrokelistener.[ch]:
5548 Namespaced KeystrokeListener to SpiKeystrokeListener.
5549 Changed uses of keymasks to use SPI_ prefix, and did other
5552 * libspi/keymasks.h:
5553 Namespaced keymask constants with SPI_ prefix.
5555 * libspi/registry.c:
5556 Some warning fixes, and knock-on fixes from namespace changes.
5559 Added rules for accessx-gui test program.
5561 * test/accessx-gui.c:
5562 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5563 utility. It doesn't actually use at-spi, but it's still cool and
5566 * test/keysynth-demo.c:
5570 Fixes so that these test clients work properly with the namespaced
5571 libraries. (Incompletely tested for technical reasons, fixes may follow)
5574 2001-11-13 Michael Meeks <michael@ximian.com>
5576 * libspi/application.c
5577 (impl_accessibility_application_get_version),
5578 (impl_accessibility_application_get_toolkit_name):
5580 (impl_accessibility_application_set_id),
5581 (impl_accessibility_application_get_id): remove
5582 redundant casting code.
5584 * libspi/action.c (impl_getDescription): fix warnings.
5586 * libspi/accessible.c
5587 (impl_accessibility_accessible_get_parent),
5588 (impl_accessibility_accessible_get_child_at_index),
5589 (impl_accessibility_accessible_get_state),
5590 (impl_accessibility_accessible_get_relation_set):
5591 warning fixes & include action.h
5593 2001-11-13 Michael Meeks <michael@ximian.com>
5595 * *.[ch] fix bits I screwed up:
5597 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5598 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5600 2001-11-13 Michael Meeks <michael@ximian.com>
5602 * *.[ch] Namespace libspi into spi_ and Spi.
5604 2001-13-11 Michael Meeks <michael@ximian.com>
5606 * Makefile.am: dist & install at-spi-1.0.pc
5608 * libspi/Makefile.am: install into at-spi-1.0
5610 * idl/Makefile.am (idldir): install into at-spi-1.0
5612 * at-spi-1.0.pc.in: add.
5614 * configure.in: build it.
5616 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5618 * test/keysynth-demo.c:
5619 Use a 'realize' signal-handler to set the WM properties for
5620 the virtual keyboard, rather than making it a "POPUP" type
5621 override-redirect window (thanks to anders carlsson for that
5624 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5627 * test/keysynth-demo.c:
5628 Added new test of key synthesis, which creates a simple
5629 (mouse-operated) onscreen keyboard. It inserts key events into
5630 the currently-focused window, thus it does not grab keyboard focus
5633 * cspi/spi_registry.c:
5634 Added C binding for AT-SPI generateKeyEvent.
5636 * libspi/deviceeventcontroller.c:
5637 Added call to XFilterEvent so that key listener works with XIM (we
5638 hope). Added event_synth_type to generateKeyEvent, so that we can
5639 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5640 synthesize a press/release pair for KeySyms.
5642 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5644 * libspi/Makefile.am:
5645 * registryd/Makefile.am:
5646 (temporary) hack to include libXtst in libspi and registryd.
5647 (Needed for keystroke synthesis, see below).
5650 Improved API for registerKeystrokeListener, in accordance with
5651 discussions with Gnopernicus team and X server research.
5653 * libspi/registry.c:
5654 * libspi/deviceeventcontroller.c:
5655 * libspi/accessible.c:
5656 * libspi/keystrokelistener.c:
5657 Changes and fixes to support keylisteners for potentially
5658 consumed key events (that is, 'passive grabs').
5659 Added implementation for generateKeyEvent() [untested].
5662 Changes to registerKeystrokeListener() API, as above.
5663 Added deregisterGlobalEventListenerAll(), and
5664 deregisterKeystrokeListener(), which are needed for clean exit of
5666 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5667 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5669 * cspi/spi_registry.c:
5670 Added implementations of function prototypes mentioned above.
5672 * registryd/registryd.c:
5673 Added the key listener event source as a g_timeout(), to allow
5674 receipt of key events that are not caught by GDK (since GDK
5675 doesn't support passive keygrabs, this was necessary).
5678 Changed to attach a keylistener to 'Alt' keys, and
5679 respond to the following keycommands: Alt-M (toggle magnifier);
5680 Alt-F (toggle speech); Alt-Q (quit).
5681 Added an exit routine to deregister the listeners, and a key
5682 listener that prints some key info to the console when a key
5683 matches the listener mask (and is thus received by the listener).
5685 * util/idl/Magnifier.idl:
5686 Changes to magnifier API to support multiple zoom regions,
5687 non-uniform scaling in x and y, markDirty, and a host of other
5688 features that would be useful to magnification.
5691 * util/mag_client.c:
5692 * util/mag_client.h:
5693 * util/mag_control.c:
5695 Source code changes to support the above IDL changes.
5698 As above, and also changes to use a (slower) generic conversion
5699 path for colormap conversions, since the fast RGB conversions have been
5700 reported to fail for 16-bit displays.
5702 2001-10-26 Michael Meeks <michael@ximian.com>
5704 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5706 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5708 * at-bridge/Makefile.am: fix LDFLAGS.
5710 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5712 * at-bridge/bridge.c:
5713 Re-worked listeners for toolkit events, now we have signal
5714 and property listeners. Added a private method
5715 register_atk_event_listeners(), which registers with the
5716 various atk and gtk signals we need to monitor in order to emit
5718 Added emission hook for AtkObject:property-change events, to
5719 support the 'property listeners'.
5720 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5723 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5724 which emit warnings and exit, respectively, if CORBA errors occur
5725 during remote calls, and we now use these methods to check most of
5726 our CORBA calls in the C bindings.
5728 * cspi/spi_accessible.c:
5729 Changed AccessibleSelection_refSelectedChild() to
5730 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5731 now increment refcounts.
5733 * cspi/spi_component.c:
5734 Fixed some long pointer casts (dangerous!) to pass pointers to
5735 CORBA_longs of the proper type to the CORBA stubs, and copy the
5736 data into the longs that were passed into the C bindings code.
5738 * at-bridge/bridge.c:
5740 * libspi/accessible.c:
5741 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5742 hyperlinks, AtkHyperlink is an object type.
5744 * libspi/application.c:
5745 Added various conversions to and from "generic" event types and
5746 atk-specific types; this is really part of the 'bridge'
5747 implementation but is valid for all AtkObject-based accessibility
5750 * libspi/editabletext.c:
5751 Fixed nasty bug wherein editable text's finalize method was
5752 unref'ing tha AtkObject reference that the text parent class was
5753 about to unref _again_. There was also a nasty inheritance bug
5754 that meant that the AccessibleEditableText class was corrupt.
5756 * libspi/selection.c:
5757 Provided implementations for some selection API that was broken.
5759 * idl/Application.idl:
5760 Added registerObjectEventListener () method.
5763 Fixed a number of return values that were Bonobo_Unknowns from
5764 bonobo_object_corba_objref(), which I
5765 forgot to dup before returning. Changed instances of
5766 bonobo_object_corba_objref (bonobo_object(o)) to
5767 BONOBO_OBJREF(o), for concision and clarity.
5769 2001-10-13 Louise Miller <louise.miller@sun.com>
5771 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5772 idl/Event.idl, idl/Registry.idl
5773 Changed these files to include Bonobo_Unknown.idl instead
5776 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5778 * libspi/component.c libspi/component.h:
5779 Fixed typo. Added assertions for object checks in
5780 AccessibleComponent code.
5782 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5784 * idl/Accessible.idl:
5785 Added 'isEqual (Accessible *object)'
5786 method for Accessible. (Not Yet Implemented).
5789 Changed signature of registerKeystrokeListener() to
5790 take a KeySet and KeyEventSeq so that specific keys and event
5791 types could be requested for monitoring, and added a flag
5792 is_synchronous so that either synchronous or asynchronous
5793 notification could be requested. (However this is not all
5794 implemented yet). This also meant adding two new typedefs,
5795 KeyEventSeq and KeySet.
5798 Added two new relations, RELATION_TOOLTIP_FOR and
5799 RELATION_LEAFNODE_OF.
5802 Added new state, STATE_HAS_TOOLTIP.
5804 * libspi/text.c, editabletext.c:
5805 Added new assertions to all casts of bonobo-objects from
5806 CORBA servants, to prevent Text API calls on non-text objects.
5807 Changed suspect casts of int-pointer types, so that we
5808 always send a valid CORBA_long pointer to the CORBA APIs that use
5809 in/out long parameters. We then have to copy from the CORBA_long
5810 into the regular long or int for return to the C bindings, or
5811 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5814 * libspi/deviceeventcontroller.c:
5815 Cleaned these sources up.
5817 Changed return type for getCharacterAtOffset to
5818 CORBA_unsigned_long, to allow for 32-bit characters.
5821 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5825 Fixed 'make dist' so that distro compiles...
5826 * libspi/keymasks.h:
5828 * cspi/spi-listener.c:
5829 KeystrokeListenerCB now returns a boolean.
5831 Added KeyEventType struct, and KeyStroke.
5832 Also added createKeystrokeListener(),
5833 KeystrokeListener_addCallback(),
5834 KeystrokeListener_removeCallback(), and added a keymask to
5835 registerKeystrokeListener().
5836 * cspi/spi_accessible.c:
5837 Changed numerous return types for interfaces from
5838 AccessibleComponent to Accessible<InterfaceName>; this was
5839 probably a cut-and-paste error.
5841 Implementations of new KeystrokeListener api (from spi.h,
5844 Changes to key modifier mapping.
5845 Created ControllerEventMask struct.
5846 Made DeviceEventController derive from Bonobo::Unknown.
5848 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5849 * libspi/deviceeventcontroller.c:
5850 Added a number of new internal (private) methods.
5851 * libspi/editabletext.c:
5852 * libspi/editabletext.h:
5853 Fixed a number of bugs related to the fact that
5854 editabletext inherits from text. Fixed the EditableText struct,
5855 the init() call, and use correct casts when calling Text methods
5856 from an EditableText object. Removed (duplicate) atko from the
5857 EditableText structure, we use the one in the parent Text
5858 structure via the casts mentioned above.
5859 * libspi/keystrokelistener.[ch]:
5860 * libspi/registry.c:
5861 Changes in support of keyboard handling (above).
5863 Keyboard handling, though partly functional, is still not
5864 recommended for at-spi client use as there is considerable
5865 work yet to be done.
5868 Changed some places where pointers to various int types
5869 are cast to be pointers to CORBA_long types and vice-versa:
5870 pointer casting is not safe so we pass pointers of the correct
5871 types and then cast the result before putting it into the target
5874 * libspi/text.h: minor typos corrected.
5876 We now speak not only the name of a Text element, but the
5877 first sentence of its content, when it receives focus.
5878 I also changed the text compression to 75% from 50%.
5879 * util/Accessibility_Util.server.in:
5880 Changed the default magnifier type to be a 3x vertical
5881 splitscreen magnifier (was previously a 2x horizontal one).
5883 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5885 * libspi/keystrokelistener.h:
5886 * libspi/keystrokelistener.c:
5887 Initial functional implementations of KeystrokeListener.
5890 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5892 Fixed string handling for NULL strings in libspi.
5893 Added spi_freeString to free strings returned by C bindings.
5895 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5897 * libspi/keystrokelistener.h:
5898 * libspi/keystrokelistener.c:
5899 Began (no-op) implementations of KeystrokeListener
5901 * libspi/deviceeventcontroller.c:
5902 * libspi/deviceeventcontroller.h:
5903 Began creating implementations of DeviceEventController,
5904 to handle keystroke and mouse event listening and
5906 * libspi/accessible.c:
5907 Stubbed-in the implementations for
5908 Accessibility_Accessible_getState and
5909 Accessibility_Accessible_getRelationSet.
5910 * libspi/registry.c:
5911 Improved de-registration process and fixed some bugs,
5912 deregistration now works correctly.
5914 Added initialization of applications list (to NULL).
5916 Reduced speech compression from 0.5 to 0.7, for demo.
5917 Changed call to gdk_window_set_decorations()
5918 to gtk_window_set_decorated().
5919 * at-bridge/bridge.c:
5920 Bridge now deregisters when app exits, via
5921 registration of a cleanup function
5922 with the g_atexit() call.
5923 Required making 'app' static, renamed 'this_app'.
5924 Fixed broken use of bonobo_init, passing argv wrongly.
5926 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5930 Created a new directory for
5931 accessibility-related utilities, primarily for
5932 testing and demo purposes, but with possible
5939 Onscreen magnifier utility that
5940 is implemented as a bonobo service.
5942 * util/mag_client.c:
5943 * util/mag_client.h:
5944 Client-side support (simple C bindings)
5945 for Magnification service
5947 * util/mag_control.c:
5948 Client program example for
5949 Magnification service
5951 * util/Accessibility_Magnifier.server.in:
5952 Bonobo-activation file for the
5953 Magnification service.
5956 * util/idl/Magnifier.idl:
5957 IDL defining the bonobo Magnification
5961 Modifications to use the bonobo-activated magnifier
5962 above, in place of trying to connect to an existing
5963 magnifier that uses socket-listening IPC.
5965 If env variable MAGNIFIER is set, a magnifier service
5966 will be started if one does not exist.
5968 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5970 * at-bridge/bridge.c:
5971 applied patch from Marc to build and run
5972 against new glib and gtk+ (seemed like a change
5973 to bonobo_init signature was made ?)
5975 made festival-server support turned off by default.
5976 Added support for a simple magnifier (off by default)
5977 which will be added to a 'util' directory later.
5978 * at-bridge/Makefile.am:
5979 Changed "application.h" header from a 'source'
5980 to a 'dependency' of libat-bridge.
5982 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5991 Added interface implementation c files to list of
5992 includes so they are included in libcspi.
5995 Changed prototype of AccessibleAction_doAction to return a
5997 Changed prototype of AccessibleTable_getCaption to
5998 return an Accessible.
5999 Changed prototype of AccessibleTable_getSelectedRows
6000 and AccessibleTable_getSelectedColumns to
6001 return a long (returns the number of selected rows
6002 or columns respectively).
6003 Changed name of AccessibleText_refRunAttributes to
6004 AccessibleText_getAttributes.
6005 Changed prototype of AccessibleText_getCharacterExtents to
6006 return a void rather than a boolean.
6007 Added support for a AccessibleCoordType parameter
6008 specifying what type of coordinates are desired.
6009 Added an AccessibleCordType parameter to
6010 AccessibleText_getPointAtOffset.
6012 * cspi/spi_accessible.c:
6013 Added code to return the outstanding interfaces from
6014 Accessible_queryInterface.
6016 * cspi/spi_action.c:
6018 Corrected call to getNActions to call the c binding
6021 * cspi/spi_editabletext.c:
6023 Changed name from setRunAttributes to setAttributes.
6025 * cspi/spi_hyperlink.c:
6027 Changed call to getNAnchors to correctly call the c
6028 binding for an attribute.
6030 * cspi/spi_hypertext.c:
6032 Changed getImageDescription to correctly call the
6033 binding for an attribute.
6035 * cspi/spi_selection.c:
6036 Changed getNSelectedChildren to correctly call the c
6037 binding for the attribute.
6038 Changed refSelectedChild to getSelectedChild.
6042 Changed getCaption to return an Accessible.
6043 Fixed calls which retrieve attributes.
6044 Changed refAt to getAccessibleAt.
6045 Changed getNSelectedRows and getNSelectedColumns to
6049 Changed getCharacterExtents and getPointAtOffset to accept an
6050 AccessibleCoordType.
6052 Changed calls which retrieve attributes.
6053 Changed refRunAttributes to getAttributes.
6058 * idl/Hyperlink.idl:
6059 Changed n_anchors attribute to nAnchors to keep naming
6060 convention consistent.
6063 Made Table inherit from Bonobo::Unknown.
6064 Added nSelectedColumns and nSelectedRows attributes.
6067 Made Value inherit from Bonobo::Unknown.
6069 * libspi/hyperlink.c:
6070 Change for nAnchors attributte name change.
6072 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6080 Added interface implementation c files to list of
6081 includes so they are included in libcspi.
6084 Changed prototype of AccessibleAction_doAction to return a
6086 Changed prototype of AccessibleTable_getCaption to
6087 return an Accessible.
6088 Changed prototype of AccessibleTable_getSelectedRows
6089 and AccessibleTable_getSelectedColumns to
6090 return a long (returns the number of selected rows
6091 or columns respectively).
6092 Changed name of AccessibleText_refRunAttributes to
6093 AccessibleText_getAttributes.
6094 Changed prototype of AccessibleText_getCharacterExtents to
6095 return a void rather than a boolean.
6096 Added support for a AccessibleCoordType parameter
6097 specifying what type of coordinates are desired.
6098 Added an AccessibleCordType parameter to
6099 AccessibleText_getPointAtOffset.
6101 * cspi/spi_accessible.c:
6102 Added code to return the outstanding interfaces from
6103 Accessible_queryInterface.
6105 * cspi/spi_action.c:
6107 Corrected call to getNActions to call the c binding
6110 * cspi/spi_editabletext.c:
6112 Changed name from setRunAttributes to setAttributes.
6114 * cspi/spi_hyperlink.c:
6116 Changed call to getNAnchors to correctly call the c
6117 binding for an attribute.
6119 * cspi/spi_hypertext.c:
6121 Changed getImageDescription to correctly call the
6122 binding for an attribute.
6124 * cspi/spi_selection.c:
6125 Changed getNSelectedChildren to correctly call the c
6126 binding for the attribute.
6127 Changed refSelectedChild to getSelectedChild.
6131 Changed getCaption to return an Accessible.
6132 Fixed calls which retrieve attributes.
6133 Changed refAt to getAccessibleAt.
6134 Changed getNSelectedRows and getNSelectedColumns to
6138 Changed getCharacterExtents and getPointAtOffset to accept an
6139 AccessibleCoordType.
6141 Changed calls which retrieve attributes.
6142 Changed refRunAttributes to getAttributes.
6147 * idl/Hyperlink.idl:
6148 Changed n_anchors attribute to nAnchors to keep naming
6149 convention consistent.
6152 Made Table inherit from Bonobo::Unknown.
6153 Added nSelectedColumns and nSelectedRows attributes.
6156 Made Value inherit from Bonobo::Unknown.
6158 * libspi/hyperlink.c:
6159 Change for nAnchors attributte name change.
6162 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6164 implementations-- made server implementations own AtkObject pointers
6165 rather than their respective AtkInterrface pointers to fix
6166 refcounting. AtkHyperlink is still broken.
6168 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6169 * cspi/spi_accessible.c:
6170 Added method Accessible_Role_getName(),
6171 and requisite string array (role_names).
6172 Added conversion string_from_corba_strin() call
6173 to Accessible_getName and _getDescription.
6174 * libspi/accessible.c:
6175 Added implementation for Accessible_getRole()
6177 Added festival support, used if environment variable
6180 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6182 * at-bridge/bridge.c:
6183 Now allocate Accessibility_Event using
6184 Accessibility_Event__alloc() instead of g_new0().
6185 * libspi/accessibleeventlistener.c:
6186 Initialize AccessibleEventListener->callbacks to NULL.
6187 Fixed accessible__event_listener_init() param, changed to
6188 "AccessibleEventListener *" type.
6189 Changed a bonobo_object_release_unref() call to
6190 Accessibility_Accessible_unref().
6191 * libspi/listener.c:
6192 Changed Bonobo_Unknown_unref to (equivalent)
6193 Accessibility_Accessible_unref.
6194 * libspi/registry.c:
6195 Changed bonobo_object_release_unref to
6196 Accessibility_Accessible_unref.
6198 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6201 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6202 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6203 spi-util.c spi-util.h
6204 Implementations for C bindings to remaining accessibility
6207 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6210 changed return value of Action from void to boolean to
6211 bring in line with ATK.
6214 Changed getText funcions to return "out" start and end offsets.
6215 Changed getAttributes to take and offset and return the start
6216 and end offset of the attribute run.
6217 Changed getOffsetAtPoint and getCharacterExtents to take an
6218 enum describing whether coordinates are window or screen.
6221 libspi/action.c libspi/action.h libspi/editabletext.c
6222 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6223 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6224 libspi/image.h libspi/selection.c libspi/selection.h
6225 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6226 libspi/value.c libspi/value.h
6227 Added server implementations for outstanding ATK interfaces
6228 not yet implemented.
6230 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6233 Added (missing) getName() method.
6234 Made nActions an attribute.
6235 * idl/EditableText.idl:
6236 Changed order of params in setAttributes.
6237 * idl/Hyperlink.idl:
6238 Removed getAnchor, added getURI.
6240 Changed attributes to methods, for efficiency
6241 (so that getting extents can be done in one call)
6242 * idl/Selection.idl:
6243 Changed nSelectedChildren to attribute, and re-indented.
6244 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6246 * idl/Text.idl: reformatted to match our coding style.
6247 (temporarily?) removed getRowColumnAtOffset().
6248 Changed text selection API to support multi-select and
6249 non-contiguous selections, as in ATK.
6250 * idl/Value.idl: changed some methods to attributes.
6252 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6254 * libspi/listener.c(impl_notify_event):
6255 BonoboUnkown_unref the source instead
6256 of bonobo_object_release_unref - the ORB
6257 handles the releasing.
6259 * configure.in: require ORBit-2.3.94 for
6262 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6264 Tagged CVS repository 'EA_1_0'.
6265 * README.EARLY_ACCESS:
6266 Alphabetized acknowledgements list, and
6268 Listed some known dependencies of at-spi.
6270 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6272 * docs/at-spi-docs.sgml:
6273 * docs/at-spi-sections.txt:
6274 * docs/at-spi-overrides.txt: (Added zero-length file)
6275 Documentation improvements - gtk-doc should build
6276 docs for all implemented C bindings now.
6279 * cspi/spi.c: (New file)
6280 * cspi/spi_event.c: (New file)
6281 * cspi/spi_registry.c: (New file)
6282 * cspi/spi_accessible.c: (New file)
6283 * cspi/spi_application.c: (New file)
6284 * cspi/spi_component.c: (New file)
6285 Split spi_main.c into six parts, and included them from
6286 "spi.c". This is a bit of a hack, probably temporary,
6287 but required by gtk-doc, apparently.
6289 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6292 * docs/at-spi-docs.sgml:
6293 * docs/at-spi-sections.txt:
6295 Initial checkins/modifications for gtk-doc generation.
6298 Added (missing) interface query methods to Accessible's C binding.
6300 Added GenericInterface type definition.
6302 Added query for AccessibleComponent interface to focus event handler.
6303 Added printout of bounding box for focussed component.
6304 * libspi/component.c:
6305 Added partial implementation for AccessibleComponent to C binding.
6306 * idl/Application.idl:
6307 * libspi/registry.c:
6308 * libspi/listener.c:
6309 * libspi/application.c:
6310 * libspi/application.h:
6311 Changed "ID" attribute type from string to long.
6313 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6317 Made method naming consistent: methods taking object args
6318 start with uppercase, other methods (except those using
6319 acronyms) start with lowercase. Underscores delimit between
6320 object names and method names:
6321 SPI_init() - uppercase since it starts with an acronym.
6322 getDesktopCount () - lowercase start since no object param0.
6323 Accessible_getName() - uppercase object type name, studlyCaps method
6327 Added gtk-doc documentation for all currently implemented
6328 methods in the C bindings API.
6330 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6332 * Makefile.am : changed build order to build test last.
6335 Changed "createEventListener" to "CreateEventListener".
6336 * libspi/accessibleeventlistener.c :
6337 Bugfix for addition of callbacks.
6338 * test/Makefile.am :
6339 * test/simple-at.c :
6340 Added new test that uses the C bindings API.
6342 * libspi/listener.c :
6343 * libspi/registry.c :
6344 * libspi/accessibleeventlistener.c :
6345 * at-bridge/bridge.c :
6346 Renamed member "target" of Accessibility_Event to "source",
6347 which is more descriptive.
6350 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6354 * cspi/Makefile.am :
6355 Added makefile support for at-spi/cspi directory.
6358 * cspi/spi-listener.h : (NEW FILE)
6359 Added support for/use of spi-listener.h.
6361 C bindings now build successfully, with no warnings.
6362 * libspi/accessibleeventlistener.h : (NEW FILE)
6363 * libspi/accessibleeventlistener.c : (NEW FILE)
6364 * libspi/Makefile.am :
6365 Added new object type "AccessibleEventListener"
6366 which inherits from Listener, and allows attachment
6367 of in-process callbacks (so that a client with a listening
6368 object instance can add functionality to the local
6369 implementation, dynamically).
6371 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6373 * libspi/accessible.c:
6374 Add implementation for get_index_in_parent().
6376 Added #include of "spi-roletypes.h", and
6377 added enumerated type AccessibleCoordType.
6378 Added definition for KeystrokeListener (function type).
6381 * cspi/spi-statetypes.h :
6382 * cspi/spi-roletypes.h :
6384 Added these headers, used by spi.h.
6386 Added code (NOTE: not yet built by make).
6388 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6390 * libspi/Makefile.am: generate imodule
6391 at the same time as other idl compiler
6394 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6395 * libspi/registry.c :
6396 * libspi/application.c :
6397 * idl/Application.idl :
6398 Made registration with toolkit an application method,
6399 which is required since each app has its own toolkit static
6400 environment. Thus the bridge must register for
6401 notification of toolkit events from each application in turn.
6402 Toolkit notifications are now successfully registered for, and
6403 sent to the listening at client.
6405 Changed toolkit event string to use hyphens rather than underscores.
6406 * libspi/listener.c :
6407 listner now gives more info in debug mode - it reports the
6408 name of the event received, as well as the name of the source.
6411 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6413 * libspi/registry.c :
6414 added more implementation for toolkit events.
6415 Fixed bug such that toolkit event registrations
6416 (via atk) use the whole event name string, not
6418 Removed a useless call to an ORBit_ method.
6419 * at-bridge/bridge.c :
6420 Removed unused local sbuf[] variable.
6422 We now register for Gtk:GtkWidget:button_press_event
6423 events as well as "focus:" events.
6425 Add some more API from Registry.idl that was missing,
6426 for keystroke listening, keystroke and mouse event
6427 synthesis, and enumeration of accessible desktops.
6429 2001-08-16 Michael Meeks <michael@ximian.com>
6431 * configure.in: use AM_GLIB_GNU_GETTEXT.
6433 * Makefile.am (SUBDIRS): kill intl.
6435 2001-08-15 Michael Meeks <michael@ximian.com>
6437 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6439 * configure.in: upd.
6441 * configure.in: depend on a recent bonobo-activation that
6442 will find our server files ...
6444 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6446 * libspi/accessible.c : accessible_new() :
6447 Now we add the Component interface via bonobo_object_add_interface,
6448 if the contained AtkObject implements AtkComponent.
6449 * libspi/accessible.h : now include "component.h"
6450 * libspi/component.h :
6451 * libspi/component.c : added files - implementation of
6452 bonobo wrapper object for Accessibility/Component
6453 * libspi/listener.c :
6454 Added test code to check for Accessibility/Component:1.0
6455 interface and report whether it is implemented by the
6457 * libspi/registry.c :
6458 Now we check for not only the hash of the whole event
6459 string before relaying the event, we also check the
6460 "minor" event string (without the detail string).
6461 This allows event listeners to be registered against
6462 all events of a certain major+minor type, or just
6463 against a specific major+minor+detail type.
6464 * libspi/accessible.c :
6465 Added implementations for Accessible:get_parent(),
6466 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6467 * libspi/registry.c :
6468 * libspi/listener.c :
6469 Replaced calls to Accessibility_Accessible_ref() and
6470 Accessibility_Accessible_unref() with
6471 calls to bonobo_object_dup_ref() and
6472 bonobo_object_release_unref(), so that the CORBA object
6473 is dup-ed and released when relayed, as well as the bonobo object.
6475 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6477 * libspi/Makefile.am,
6478 registryd/Makefile.am,
6479 at-bridge/Makefile.am.
6480 test/Makefile.am, configure.in:
6481 reverse previous changes.
6483 * /idl/Image.idl: fix typo.
6485 * test/Makefile.am: put DEBUG_FLAGS
6488 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6490 * test/app.c: use argv[0] instead of
6493 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6495 * libspi/Makefile.am,
6496 registryd/Makefile.am,
6497 at-bridge/Makefile.am.
6498 test/Makefile.am, configure.in:
6499 cleanup, replace individual LIBS/CFLAGS with
6500 AT_COMMON_{LIBS|CFLAGS}.
6504 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6506 * configure.in, libspi/Makefile.am:
6507 Change IDL path checking for bonobo-activation
6510 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6512 * registryd/registry.c : separated event listeners to use
6513 3 separate lists (focus, window, toolkit). Began testing
6514 event names against hashes before relaying events.
6515 * test/at.c : now register for events of type "focus:"
6516 * test/app.c : now generate events of type "focus:"
6517 * at-bridge/bridge.c : register with ATK for focus events,
6518 and we now relay those focus events to any "focus:" listeners.
6519 This now works with the bridge as a GTK_MODULE when running test/at.
6520 * libspi/registry.c :
6521 * libspi/listener.c :
6522 now we ref event sources before propagating, and unref on receipt.
6523 * libspi/registry.c :
6524 some changes to internal structs, to support event typestring hashes.
6525 * text/app.c : changed the way the appname is generated.
6526 * cspi : added directory that will hold the C bindings library for
6527 non-CORBA/bonobo-savvy clients.
6528 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6529 * idl/Component.idl : added in parameter to indicate coord system for
6530 geometry-related calls.
6531 * idl/Hyperlink.idl : added readonly n_links attribute
6532 * idl/Image.idl : changed methods to attributes.
6534 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6536 * at-bridge/Makefile.am: link against
6537 ../libspi/libspi.la instead of -lspi.
6539 * at-spi/test/app.c: include
6540 bonobo-activation.h. Use a default appname
6541 if one is not provided.
6543 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6545 * idl/Registry.idl : temporarily changed register_Application
6546 to oneway, to work around issue with initial registration
6548 * idl/Application.idl : changed attribute "id" from readonly
6549 to read-write, since it needs to be assigned by Registry.
6550 * registryd/registryd.c : added call to set application id
6552 * registryd/registry.c : changed de-registration procedure to
6553 use CORBA_Object_hash() to find matching object ref in application
6554 lists and listener lists.
6555 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6556 began distinguishing between event types (work in progress).
6558 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6561 * libspi/application.c:
6562 Added implementations for get/set id, get_toolkitName,
6564 * registryd/registryd.c :
6568 Converted from use of OAF to bonobo-activation.
6569 * libspi/desktop.h :
6570 * libspi/desktop.c :
6572 Removed references to atksimpleobject, since base atkobject
6573 implementation now provides functionality we need.
6574 * libspi/atksimpleobject.c :
6575 * libspi/atksimpleobject.h :
6580 * at-bridge/Makefile.am
6581 * at-bridge/bridge.c
6584 Added directory "bridge" and contents, and added dependencies
6585 in Makefile.am/configure.in.
6586 Initial checkin of "at-bridge".
6587 This code is a GTK_MODULE which automatically registers
6588 GTK+ apps with the accessibility registry, using an object
6589 reference to the root ATK object.
6591 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6593 * po/Makefile.in.in: Remove. Again. If this
6594 doesn't get autogenerated - you need to update
6597 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6599 * po/Makefile.in.in: Add. Again.
6601 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6603 * libspi/accessible.c : added support for 'description' property.
6604 * libspi/accessible.c
6606 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6607 (since the two are now equivalent in libbonobo)
6615 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6616 Bonobo::Unknown as does Accessibility::Accessible.
6617 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6618 interface with Bonobo::Stream, since it was redundant with it.
6619 (The Stream returned by a StreamableContext object is expected to
6620 implement only a subset of Bonobo::Stream)
6622 2001-07-28 Anders Carlsson <andersca@gnome.org>
6624 * libspi/accessible.c (accessible_object_finalize): Change
6625 g_free to g_object_unref since the AtkObject is a GObject.
6627 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6629 * idl/Accessibility.idl: add new IDL files
6632 * idl/Action.idl: Definitions of actionable UI object
6633 * idl/Component.idl: Definitions of UI component geometry, etc.
6634 * idl/Hyperlink.idl: Defs of hyperlink behavior
6635 * idl/Image.idl: Def of accessible image
6636 * idl/Selection.idl: Definition of UI object with selectable children
6637 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6638 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6639 * idl/Text.idl: Interface defs for UI elements with complex textual content
6640 * idl/Value.idl: Definition of UI element that is a value controller or display
6642 2001-07-27 Michael Meeks <michael@ximian.com>
6644 * po/Makefile.in.in: remove autogenerated file from CVS.
6646 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6649 * idl/Registry.idl: include guard.
6651 * idl/Accessibility.idl: Add, and include all the other IDL
6654 * idl/*.idl: remove mass of pragmas etc.
6656 2001-07-26 Michael Meeks <michael@ximian.com>
6658 * registryd/Makefile.am (registryd_SOURCES): remove
6661 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6663 * libspi/.cvsignore, registryd/.cvsignore,
6664 test/.cvsignore: updated.
6666 * po/Makefile.in.in: gettext update.
6668 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6670 * initial CVS checkin
6672 2001-06-29 Michael Meeks <michael@ximian.com>
6674 * configure.in: add AM_CONFIG_HEADER to gen config.h