1 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
3 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
5 2004-01-27 Brian Cameron <brian.cameron@sun.com>
7 * test/simple-at.c: Fixed null string problems that cause core
8 dumping problems on Solaris.
10 2004-01-12 Bill Haneman <billh@gnome.org>
12 * configure.in: Incremented version to 1.3.11.
14 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
16 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
17 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
20 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
22 * configure.in: Added "fa" to ALL_LINGUAS.
24 2003-12-20 Arafat Medini <lumina@silverpen.de>
26 * configure.in: Added "ar" to ALL_LINGUAS
28 2003-12-16 Bill Haneman <billh@gnome.org>
30 * registryd/registry-main.c:
32 Set the reg_env DISPLAY variable before registering the
33 activated registry service. Fixes bug #129479.
35 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
37 * configure.in: Added "id" in ALL_LINGUAS
38 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
40 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
42 * registryd/deviceeventcontroller.c (global_filter_fn):
43 When an event is consumed discard any XEvents were added to
44 the queue while dealing with the the event. This can happen if
45 processing of the event takes a long time. Call XUngrabKeyboard
46 if an event was discarded. This fixes bug $124837.
47 Only call wait_for_release_event for a KeyPress.
48 Use local variable display instead of spi_get_display().
49 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
52 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
54 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
55 Allow for mask to contain values other than NumLock mask.
58 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
60 * registryd/devieceventcontroller.c:
61 (wait_for_release_event): Change first parameter from GdkEvent to
63 (global_filter_fn); Correct call to wait_for_release_event.
67 2003-12-08 Bill Haneman <billh@gnome.org>
71 * registryd/ucs2keysym.c: New file.
73 * registryd/deviceeventcontroller.c:
74 (dec_keysym_for_unichar): Remove old partial implementation and
75 replace with call to ucs2keysym(), which is much more complete.
76 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
81 2003-12-05 Bill Haneman <billh@gnome.org>
83 * configure.in: Version 1.3.9.
85 * docs/reference/cspi/tmpl/spi_registry.sgml:
86 Added reference to libspi/keymasks.h to the
87 description of Registry queries: AccessibleKeyMaskType.
90 2003-12-04 Bill Haneman <billh@gnome.org>
94 * idl/Accessibility_Application.idl:
95 (Accessibility::LOCALE_TYPE): New enum, corresponds to
97 (Accessibility::Application::getLocale): New method.
98 Allows clients to query the locale, by type, of an app.
101 * cspi/spi_application.c:
102 (AccessibleApplication_getLocale): New method, wraps IDL above.
104 * libspi/application.c:
105 (spi_application_class_init): Init epv entry for getLocale.
106 (impl_accessibility_application_get_locale): Impl for above.
108 * test/test-simple.c:
109 (test_application): Added assertion for getLocale, i.e.
110 that the string from AccessibleApplication_getLocale (app, type)
111 is the same as that from setlocale (type, NULL);
113 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
115 *registryd/deviceeventcontroller.c: Add an idle handler which polls
116 the keyboard on a timeout intil the key state goes from pressed to
117 released. Fixes bug #111429.
119 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
121 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
122 root object so that it is present when a context menu in an
123 out-of-process applet is popped up.
124 (spi_atk_bridge_do_registration): Create acceessible application root
125 object only if it does not exist.
127 This fixes bug #125834.
129 2003-12-01 Bill Haneman <billh@gnome.org>
131 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
134 Added enum for AccessibleStreamableContentSeekType.
135 (AccessibleStreamableContent_freeContentTypeList): New.
137 * cspi/spi_streamablecontent.c:
138 (accessible_bonobo_stream_client_seek): New private method.
139 (AccessibleStreamableContent_seek): Implemented this method,
140 using Bonobo_Stream_seek.
141 (AccessibleStreamableContent_freeContentTypeList): New method
142 for freeing the return value from
143 AccessibleStreamableContent_getContentTypes.
144 (stream_cache_item_free): Replaces stream_release; stop leaks.
145 (stream_release): removed.
146 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
147 free the memory properly.
149 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
153 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
155 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
157 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
159 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
161 2003-12-01 Bill Haneman <billh@gnome.org>
163 Fix for bug/rfe #127463.
165 * idl/Accessibility_Accessible.idl:
166 (getLocalizedRoleName): New.
167 (unimplemented4): Removed (replaced by above).
169 * libspi/accessible.c:
170 (impl_accessibility_accessible_get_local_role_name): New.
171 (spi_accessible_class_init): Add getLocalizedRoleName entry to
175 (Accessible_getLocalizedRoleName): New.
177 * cspi/spi_accessible.c:
178 (Accessible_getLocalizedRoleName): New.
180 2003-12-01 Bill Haneman <billh@gnome.org>
183 * idl/Accessibility_Text.idl:
184 (getDefaultAttributes): New.
185 (unimplemented4): Removed (replaced by above method).
188 (impl_getDefaultAttributes): New method.
189 (spi_text_class_init):
190 initialize the get_default_attributes slot in the epv.
193 (AccessibleText_getDefaultAttributes): New prototype.
196 (AccessibleText_getDefaultAttributes): New method.
198 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
200 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
201 write beyond the end of the table. Fixes bug #120473.
203 2003-09-30 Christian Rose <menthos@menthos.com>
205 * configure.in: Added "eu" to ALL_LINGUAS.
207 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
209 * configure.in: ALL_LINGUAS: Added no.
211 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
213 * configure.in: Added lt to ALL_LINGUAS.
215 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
217 * atk-bridge/bridge.c:
218 (atk_bridge_init): Register event listeners always even for
219 out-of-process applet.
220 (spi_atk_bridge_toplevel_added): Remove call to
221 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
222 (spi_atk_bridge_toplevelk_removed): Remove call to
223 spi_atk_deregister_event_listenersa as the listeners are now always
225 (spi_atk_bridge_register_application): Remove call to
226 spi_atk_register_event_listeners as it is not done in atk_bridge_init
228 This fixes bug #120991.
230 * libspi/table.c (impl_getColumnDescription): Correct typo,
231 pointed out by Bolian.Yin@sun.com.
233 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
235 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
237 2003-09-08 Bill Haneman <billh@gnome.org>
239 * configure.in: Revved to 1.3.7.
241 This is the GNOME 2.4.0 release of at-spi.
243 * docs/reference/cspi/Makefile.am:
244 Removed spurious inclusion of 'index.sgml' in the
245 html directory; this was breaking make distcheck and
246 also some other build environments.
248 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
250 * registryd/registry.[ch}:
251 Add queue_handler_id and focus_object to SpiRegistry data structure.
252 (registry_flush_event_queue): If event being discarded is
253 "state-change:focused" store object as focus_object.
254 (registry_start_queue): Remove queue handler and focus object
256 (registry_discard_event): New function which discards a focus event
257 if we had stored focus object in the registry.
258 (registry_queue_event): Add new check that is_queueing is set as this
259 function is reentrant.
260 (registry_filer_event): Add call to registry_discard_event.
262 This resolves issues raised in bug #108664.
264 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
266 * configure.in: Added "bn" to ALL_LINGUAS.
268 2003-09-04 Bill Haneman <billh@gnome.org>
270 * cspi/spi_event.c: Documentation improvements for
271 (SPI_registerAccessibleKeylistener).
273 * docs/reference/tmpl/spi_registry.sgml:
274 Documentation improvements for SpiAccessibleKeylistenerCB.
276 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
278 * configure.in: Added "ro" to ALL_LINGUAS.
281 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
283 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
284 not decremented to zero. Fixes bug #120725.
286 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
288 * configure.in: Added "ja" to ALL_LINGUAS.
290 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
292 * configure.in: Added "is" to ALL_LINGUAS.
294 2003-08-22 Christian Rose <menthos@menthos.com>
296 * configure.in: Added "nl" to ALL_LINGUAS.
298 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
300 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
301 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
303 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
305 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
306 type for unspecified exception.
307 * cspi_streamablecontect): Add include of string.h for memcpy.
308 (stream_release): Correct call to bonobo_object_release_unref
309 (stream_cache_item_free): Correct call to bonobo_object_release_unref
310 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
311 argument of _cspi_expection_throw.
312 * libspi/hyperlink.c: Add include of libspi/action.h:
313 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
314 * libspi/streamablecontent.c: add include of libspi/component.h.
315 * regisrtyd/deviceeventcontroller.c:
316 (spi_dec_translate_mask): Removed unused variable priv.
317 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
318 * registryd/registry.c:
319 (registry_filter_event): Remove unused variable queue_is-empty.
320 (impl_registry_notify_event): Use correct modifier in fprintf call.
322 This fixes compiler warnings reported in bug #120220.
324 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
326 * registryd/registryd.c: Remove this file.
328 2003-08-17 Sanlig Badral <badral@openmn.org>
330 * configure.in: Added mn to ALL_LINGUAS.
332 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
334 * configure.in: Added et to ALL_LINGUAS.
336 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
338 * test/event-listener-test.c: Change active-descendant to
339 active-descendant-changed.
341 2003-08-10 Sami Pesonen <sampeson@iki.fi>
343 * configure.in: Added "fi" in ALL_LINGUAS.
345 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
347 * configure.in: Added "hi" in ALL_LINGUAS.
349 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
351 * configure.in: Revved to 1.3.6.
355 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
357 * registryd/deviceeventcontroller.c
358 (spi_device_event_controller_object_finalize): Fix typo in previous
361 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
363 * registryd/deviceeventcontroller.c
364 (spi_device_event_controller_object_finalize): Fix build on
365 systems without XEvIE.
367 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
369 * acconfig.h, configure.in, registryd/Makefile.am,
370 registryd/devicecontoller.[ch]: Add XEViE support.
372 2003-08-06 Wang Jian <lark@linux.net.cn>
374 * configure.in: Added "zh_CN" to ALL_LINGUAS.
376 2003-08-06 Metin Amiroff<metin@karegen.com>
378 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
380 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
382 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
383 MODIFIER_ALT in correct place.
385 This fixes part of bug #118114.
387 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
389 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
391 2003-07-28 Changwoo Ryu <cwryu@debian.org>
393 * configure.in: Added "ko" to ALL_LINGUAS.
395 2003-07-28 Ole Laursen <olau@hardworking.dk>
397 * configure.in: Added "da" to the commented out ALL_LINGUAS.
399 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
401 * configure.in: Added "sq" to ALL_LINGUAS.
403 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
405 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
407 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
409 * configure.in: updated ALL_LINGUAS list
411 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
413 * configure.in: Added Belarusian to ALL_LINGUAS.
415 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
417 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
419 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
420 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
422 This fixes bug #116949.
424 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
426 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
427 Correct CSPI to SPI in function documentation.
429 This fixes bug #118054.
431 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
433 * configure.in: Added Russian to ALL_LINGUAS.
435 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
437 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
439 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
441 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
443 2003-07-10 Joel Brich <joel.brich@laposte.net>
445 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
447 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
449 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
451 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
453 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
454 resources allocated for AccessibleEvent. See cspi_event().
456 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
457 static variable streams to NULL.
459 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
460 Update so that AcessibleEvent_ref will work.
462 This fixes bug #116624.
464 2003-07-06 Jordi Mallach <jordi@sindominio.net>
466 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
468 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
470 * configure.in: Added "fr" (French) to ALL_LINGUAS.
472 2003-07-02 Christian Neumair <chris@gnome-de.org>
474 * configure.in: Added "de" (German) to ALL_LINGUAS.
476 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
478 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
480 2003-07-01 Miloslav Trmac <mitr@volny.cz>
482 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
484 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
486 * configure.in: Added "pl" to ALL_LINGUAS.
488 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
490 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
492 2003-06-30 Bill Haneman <bill.haneman@sun.com>
495 (get_action_from_servant):
496 Removed assertion that action is implemented on an AtkObject.
498 * libspi/hyperlink.c:
500 Aggregate AccessibleAction interface on the hyperlink object if
501 the object implements AtkAction. (This convention is used in
504 2003-06-30 Bill Haneman <bill.haneman@sun.com>
506 * configure.in: Revved to 1.3.5.
508 * registryd/Accessibility_Registry.server.in.in:
509 Marked up appropriate strings for translation.
511 * atk-bridge/bridge.c: Marked a couple of
512 user-visible warnings for translation. Questionable
513 whether they are really useful, but possibly so.
516 2003-06-28 Christian Rose <menthos@menthos.com>
518 * configure.in: Added "sv" to ALL_LINGUAS.
520 2003-06-26 Bill Haneman <bill.haneman@sun.com>
522 * registryd/registry.c:
523 (spi_registry_object_finalize): Unref the deviceeventcontroller.
524 (registry_defer_on_event): Defer focus: events, this is an
525 improvement to the patch for bug #108664.
527 * TODO: Update with 2.4/"Dev Complete" items.
529 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
531 * atk-bridge/bridge.c:
532 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
533 looks up signals once.
534 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
535 if doing registration.
536 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
537 when doing registration.
539 This fixes bug #115014.
541 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
543 * atk-bridge/bridge.c:
544 (atk_bridge_init): Add signal handler for children-changed:remove on
545 root when in a BonoboComponent.
546 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
547 for first toplevel only other incrememt variable toplevels.
548 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
549 application and remove listeners.
550 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
552 (spi_atk_deregister_event_listeners): New function which removes
554 (reinit_register_vars): New fuction which reinitializes variables.
556 This fixes bug #111578.
558 2003-06-13 Bill Haneman <bill.haneman@sun.com>
560 * configure.in: version 1.3.4.
562 * cspi/spi_accessible.c:
563 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
566 2003-06-13 Michael Meeks <michael@ximian.com>
568 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
570 * cspi/spi_main.c (cspi_peek_ev): impl.
572 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
574 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
576 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
578 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
579 SPI_ROLE_AUTOCOMPLETE
581 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
583 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
584 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
586 2003-06-11 Bill Haneman <bill.haneman@sun.com>
588 * libspi/streamablecontent.h:
589 * libspi/streamablecontent.c:
590 New files, provide implementation/wrappers for
591 Accessibility_StreamableContent.
593 * cspi/spi_streamablecontent.c:
594 Connected the C wrappers to the libspi C bindings.
595 (AccessibleStreamableContent_close): New method.
598 (AccessibleStreamableContent_close): New method, needed
599 since we have an "open, [seek], read, close" model in cspi.
601 2003-06-11 Bill Haneman <bill.haneman@sun.com>
603 Fix for #108664; Padraig's revision of my original patch.
605 * registryd/registry.h:
606 Added event queue list, is_queuing, and exit_notify_timeout
607 to the registry struct.
609 * registryd/registry.c:
610 (registry_init): Initialize new struct from registry.h.
611 (impl_registry_notify_event):
612 Filter events before notifying, in case some need to be
614 (registry_filter_event): New,
615 we defer certain incoming events (for instance
616 window:deactivate) because we may wish to hide
617 or reject them based on pending events. This is
618 mostly a workaround for bug #108664.
619 (registry_queue_event, registry_start_queue): New.
620 (registry_defer_on_event): Test event to see if it
622 (registry_reset_on_event): Returns TRUE if the
623 event should cause a queue reset.
624 (registry_discard_on_event): Returns TRUE if the event
625 should cause the previous queue contents to be discarded.
626 (registry_timeout_flush_queue): Flushes the pending event
627 queue if no reset/discard-triggering events have come in
628 within the timeout period.
629 (registry_emit_event): New.
630 (registry_clone_notify_context): New, used when queueing the
631 event notify contexts.
633 2003-06-10 Bill Haneman <bill.haneman@sun.com>
635 * configure.in: Version revved to 1.3.2, lt 0.9.2
636 Incremented ATK required version to 1.3.4.
638 * cspi/spi_registry.c:
639 (SPI_generateKeyEvent):
640 We now pass the keystring along if it's non-null.
642 * registryd/deviceeventcontroller.c:
643 (keysym_mod_mask): New method, returns modifier mask
644 required to generate a keysym from a given keycode.
645 (dec_synth_keysym): New method.
646 (dec_synth_keystring): New method.
647 (dec_get_modifier_state): New method.
648 (dec_lock_modifiers): New
649 (dec_unlock_modifiers): New.
650 (dec_keysym_for_unichar): New, rather brute-force
651 conversion from UCS-4 to X KeySyms. Only works for
652 Latin at the moment, with partial implementations for
653 Greek, Hebrew, and (incomplete) Katakana.
654 (impl_generate_keyboard_event): Now implement
655 "KEYSTRING" synthesis and implement "KEYSYM"
657 (keycode_from_keysym): Improved, passes a returned
658 modmask value now if the corresponding param is non-NULL.
660 Fixes bugs #92143 and #109776.
663 * test/keysynth-test.c:
664 New test program for key synthesis, to confirm fixes for
668 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
670 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
672 * cspi/spi_accessible.c (cspi_init_relation_type_table):
673 Add line for RELATION_POPUP_FOR
675 * docs/reference/cspi/tmpl/spi_relation.sgml:
676 Add relation SPI_RELATION_POPUP_FOR
678 * docs/reference/cspi/tmpl/spi_stateset.sgml:
679 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
681 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
683 * libspi/relation.c (spi_init_relation_type_table):
684 Add line for RELATION_POPUP_FOR
686 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
688 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
689 there are still windows which have not been deleted and emit
690 window:deactivate, if necessary and window:destroy events.
691 This fixes bug #114370. The change on June 5th was not correct.
693 2003-06-09 Bill Haneman <bill.haneman@sun.com>
695 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
698 (SPI_dupString): Allow dup-ing of a string such that it's safe to
700 New methods for client exception handling and interception.
701 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
702 (SPI_exceptionHandlerPop): You guessed it...
703 (SPI_getSourceType): Return the type of object which offended.
704 (SPI_getExceptionCode): Return an enum code telling, possibly,
705 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
706 (SPIAccessibleException_getSource): get the source object for
707 exceptions that come from Accessibles, if SPIExceptionSourceType is
708 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
709 (SPIException_getDescription): New, returns a string description of
710 the problem. [Not yet a stable ABI, strings are not frozen]
712 * cspi/spi-private.h:
713 Added implementation details of opaque SPIException
717 Implementations of above. Also
718 (_cspi_exception_throw): new private method that
719 dispatches exceptions to handlers, called from cspi-bonobo.c
721 * cspi/bonobo/cspi-bonobo.c:
722 (cspi_check_ev): call _cspi_exception_throw.
723 Don't print a warning message if the exception has been
724 handled by _cspi_exception_throw.
726 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
728 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
729 there are still windows which have not been deleted and emit
730 window:deactivate, if necessary and window:destroy events.
731 This fixes bug #114370.
733 2003-06-03 Bill Haneman <bill.haneman@sun.com>
736 (cspi_accessible_is_a): Make non-fatal
737 if the object reference is dead.
739 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
741 * cspi/spi_main.c: #include <stdio.h>
742 * test/simple-at.c: ditto
743 * test/event-listener-test.c: ditto
744 * test/screen-review-test.c: ditto
746 2003-05-30 Michael Meeks <michael@ximian.com>
748 * test/test-simple.c (main): use CORBA_ORB_perform_work
749 instead of an unnecessary linc_ call.
751 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
753 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
754 Add SPI_STATE_INDETERMINATE.
756 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
759 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
761 * libspi/stateset.c (init_state_type_tables): Add support for
764 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
766 * configure: Update versions of atk and gail required.
767 This fixes bug #113268.
769 2003-05-02 Bill Haneman <bill.haneman@sun.com>
771 * configure.in: Revved micro version to 1.3.1 (because of build fix).
773 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
775 * libspi/Makefile.am:
776 Ensure headers are generated before being used by c sources.
778 2003-05-01 Bill Haneman <bill.haneman@sun.com>
781 Simplified lt versioning rules.
782 Incremented version to 1.3.0, to indicate that we're on the
785 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
787 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
788 Add MKDB_OPTIONS=--outtput-format=xml
790 * docs/reference/cspi/at-spi-cspi-docs.sgml
791 docs/reference/idl/at-spi-idl-docs.sgml:
792 Convert to Docbook XML.
794 This fixes bug #111793.
796 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
798 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
799 AcccessibleKeyEventType, AccessibleKeyMaskType.
801 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
803 * cspi/state-types.h: Add documentation for AccessibleState.
805 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
806 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
807 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
808 AccessibleComponentLayer.
810 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
813 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
815 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
816 Accessible. Add description of AccessibleEvent,
817 AccessibleEventListenerCB.
819 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
822 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
823 documentation. Add description of AccessibleKeystrokeListenerCB,
824 AccessibleKeyEventMask, AccessibleModifierMaskType,
825 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
826 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
828 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
831 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
834 This fixes bug #104730.
836 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
838 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
839 Set is_text field of Accessibility_DeviceEvent data structure.
841 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
842 is-text field of AccessibleDeviceEvent data structure.
844 This addresses part of bug #108666.
846 * registryd/devcieeventcontroller.c: Unset debug option.
848 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
851 (cpi_initial_relation_type_table): New function which initializes
852 mapping between Accessibility_RelationType and AccessibleRelationType.
853 (cspi_relation_type_from_spi_relation_type): New function which
854 translates an Accessibility_RelationType into an AccessibleRelationType.
855 (AccessibleRelation_getRelationType): Use
856 cpi_relation_type_get_spi_relation_type to return correct value.
857 (spi_state_to_corba): Return correct type for default case.
859 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
860 Use Accessibility_EventType instead of Accessibility_KeyEventType.
862 * cspi/cspi-bonobo-listener.c:
863 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
866 * libspi/accessible.c, libspi/action.c, libspi/application.c,
867 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
868 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
869 libspi/image.c, libspi/listener.c, libspi/selection.c,
870 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
871 registryd/desktop.c, registryd/registry.c:
872 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
874 * libspi/eventlistener.c
875 Remove semicolon after BONOBO_TYPE_FUNC.
878 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
879 (spi_init_relation_type_table): Initialize using correct type.
881 * registryd/desktop.c:
882 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
883 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
884 of Accessibility_KeyEventType.
886 * test/key-listener-test.c (report_tab_key_event): Use fprintf
889 * tests/simple-at.c, tests/screen-review-test.c:
890 Add include for <strings.h>.
892 * tests.stress-test.c:
893 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
895 These changes fix compiler warnings when using FORTE compiler on
896 Solaris; fixes bug #107479.
899 2003-04-10 Bill Haneman <bill.haneman@sun.com>
902 * configure.in: revved to 1.1.10
905 (SPI_KEYMASK_NUMLOCK): Added.
907 * registryd/deviceeventcontroller.c:
908 (spi_key_event_matches_listener): AND with a smaller
909 bitmask (as we should).
910 (spi_dec_translate_mask):
911 New method, sets the virtual NumLock modifier bit
912 if numlock is on. Eventually it can handle other virtual
913 modifier bits if needed, or other marshalling from
914 at-spi modifier masks to platform (X) masks.
915 (spi_dec_key_listener_new):
916 Call spi_dec_translate_mask to set up virtual mod bits
917 in the 'mask' field when creating a new listener struct.
918 (spi_dec_emit_modifier_event):
919 Set the virtual (i.e. NumLock) bits before emitting event.
920 (spi_controller_register_with_devices):
921 Query for the NumLock modifier 'physical' bit if Xkb is
922 present, for use in above methods.
926 2003-04-10 Bill Haneman <bill.haneman@sun.com>
928 * registryd/deviceeventcontroller.c:
929 (spi_keystroke_from_x_key_event):
930 Instead of checking to see if the keysym is
931 printable, check the string from XLookupString
932 if available, get the first unicode character from it,
933 and call g_unichar_isprint to determine whether the
934 is_text flag should be TRUE or FALSE.
938 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
940 * atk-bridge/bridge.c: Add support for extended events
941 * cspi/spi_event.c: Add documentation and implementation for
943 * tests/event-listener-test.c: Add tests for extended events.
945 This fixes bugs #100424 and #100426.
947 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
949 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
950 of LT_CURRENT. This fixes bug #89350.
952 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
954 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
955 number of signal parameter values before accessing them. This fixes
958 2003-04-01 Bill Haneman <bill.haneman@sun.com>
960 * configure.in: Fixed duplicate inclusion of -lspi.
961 * branched for gnome-2-2/HEAD.
962 [created tag "gnome-2-2"]
964 2003-03-07 Bill Haneman <bill.haneman@sun.com>
966 * configure.in: 1.1.9 release.
969 2003-03-07 Bill Haneman <bill.haneman@sun.com>
971 [needed by GOK, to fix bugs 107985 and 107988]
972 * registryd/deviceeventcontroller.c:
973 (spi_dec_clear_unlatch_pending):
974 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
975 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
976 (spi_dec_init_mouse_listener):Emit warning if mouse button
978 (spi_device_event_controller_forward_mouse_event):
979 Removed unnecessary parens from a conditional.
980 (global_filter_fn):Added TODO comment.
981 (impl_generate_keyboard_event):
982 Cancel a pending relatch if a 'delatching' key was
985 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
987 * atk-bridge/bridge.c:
988 Change atk_signal_child_changed to atk_signal_children_changed.
989 Reorganize code in spi_atk_bridge_signal_listener().
991 * test/event-listener-test.c:
992 Add children_changed_listener and report_children_changed_event()
993 to test AccessibleChildEvent_getChildAccessible.
995 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
997 * cspi/spi_event.c (cspi_internal_event_get_text): Change
998 g_strdup to CORBA_String_dup (bug #105291)
1000 * test/event-listener-test.c (report_text_event): Add call to
1003 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1005 * registryd/deviceeventcontroller.c:
1006 (spi_keystroke_from_x_key_event):
1007 Fix string and keysym return codes to match modifier state.
1010 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1012 * registryd/deviceeventcontroller.c:
1013 (spi_keystroke_from_x_key_event):
1014 Fix segv due to improper use of isprint(c). [bug #107254]
1016 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1019 (get_accessible_text_boundary_type):
1020 Move default return value to (new) default case in switch.
1021 (get_accessible_text_clip_type):
1022 Move default return value to (new) default case in switch.
1024 * libspi/application.c:
1025 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1026 Remove unused methods.
1027 (impl_accessibility_application_register_object_event_listener):
1028 Remove unused methods.
1031 Added #include of <math.h>.
1033 * registryd/deviceeventcontroller.c:
1034 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1035 we don't currently use this method.
1036 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1038 (impl_generate_key_event):
1039 Remove unused variables.
1040 (impl_generate_mouse_event):
1041 Initialize button to zero, just in case we get an invalid
1042 input. Added support for mouse buttons 4 and 5.
1043 (spi_device_event_controller_new):
1044 Removed unused variable declaration for 'private'.
1046 Added #include of <gdk/gdk.h>
1048 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1050 * configure.in: Update to work when X is not installed in expected
1051 location. Fixes bug #105836.
1053 * atk-bridge/bridge.c
1054 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1056 (spi_atk_register_event_listener): Add signal listener for
1058 (spi_atk_bridge_signal_listener): Event event when link-selected
1059 signal is emitted. (bug #104622)
1061 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1062 on returned string. (bug #105291)
1064 * test/event-listener-test.c: Add test for link-selected.
1066 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1068 * atk-bridge/Makefile.am: Correct typo in previous commit.
1070 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1072 * atk-bridge/Makefile.am: Allow for build directory to be different
1073 from source directory
1075 * registryd/Makefile.am: Allow for build directory to be different
1076 from source directory
1080 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1083 Fixed dependencies for libcspi so that libspi gets pulled in
1084 properly. Fixes 104741.
1088 Clean up inline docs a little.
1090 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1092 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1093 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1094 the AtkObject within an SpiDesktop.
1095 This addresses bug #101524.
1097 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1098 Remove call to gdk_init().
1100 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1101 so that Display is set when SpiDesktop is created.
1103 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1105 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1106 This fixes bug #102830.
1108 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1110 * test/test-simple.c: Update to take account of fact that GailButton
1111 now implements AtkText.
1112 (create_text_window): Set name on AtkObject for GtkEntry.
1113 (validate_accessible): Check accessible name before calling test_text().
1115 * libspi/Makefile.am: Fix problem with building outside of source
1116 directory. Bug #98120.
1118 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1119 typo in documentation comments. Bug #94275.
1121 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1123 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1125 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1128 Add includes to avoid compiler warnings on Solaris.
1129 (impl_getRangeExtents): Bug fix.
1131 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1133 Fix for 100944, [API addition approved by Gman and murrayc].
1140 * idl/Accessibility_Text.idl:
1141 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1142 (Text::getRangeExtents): New method for efficient
1143 bounds query of a text range.
1144 (Text::getBoundedRanges): New method for efficient
1145 clipping of text to bounding boxes.
1146 (unImplemented7, unImplemented8):
1147 Removed these padding methods to preserve bincompat.
1150 (impl_getRangeExtents): implementation of new IDL.
1151 (impl_getBoundedRanges): implementation of new IDL.
1152 (SpiTextRect): Internal use struct.
1153 (_spi_text_rect_union): internal method, calculates union of two
1154 SpiTextRect bounding rects.
1155 (_spi_text_range_seq_from_gslist): internal method, allows us
1156 to build our sequence efficiently as a gslist then convert it
1158 (_spi_bounds_contain): internal method, determines whether
1159 a text character is "in" or "out" of a clip rect according to
1160 values of TEXT_CLIP_TYPE.
1161 (spi_text_class_init): Initialize the new methods in the epv.
1164 (AccessibleTextClipType): New enum used by screen review api.
1165 (AccessibleTextRange): New struct used by screen review api.
1166 (AccessibleText_getRangeExtents):
1167 cspi binding for Accessibility_Text_getRangeExtents.
1168 (AccessibleText_getBoundedRanges):
1169 cspi binding for Accessibility_Text_getBoundedRanges.
1170 (AccessibleTextRange_freeRanges): convenience method.
1173 (AccessibleText_getRangeExtents):
1174 cspi binding for Accessibility_Text_getRangeExtents.
1175 (AccessibleText_getBoundedRanges):
1176 cspi binding for Accessibility_Text_getBoundedRanges.
1177 (AccessibleTextRange_freeRanges): convenience method.
1178 (get_accessible_text_clip_type): internal conversion method.
1179 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1181 * registryd/deviceeventcontroller.c:
1182 (spi_dec_mouse_check):
1183 Improved behavior for mouse:abs events
1184 [same granularity as mouse:rel events, and no
1185 events when mouse is idle].
1187 2002-12-16 Michael Meeks <michael@ximian.com>
1189 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1191 * libspi/stateset.c (state_spi_to_atk): split out
1192 ( fix several remote array bounds nasties )
1193 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1194 (impl_remove): make safe from array bounds issues.
1195 (spi_atk_state_from_spi_state): impl.
1197 * libspi/stateset.h (spi_state_set_cache_is_empty):
1198 add a set of wrapper defines to get layering right.
1200 * cspi/spi_accessible.c: update state set stuff to
1203 2002-12-14 Michael Meeks <michael@ximian.com>
1205 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1206 to avoid 2 roundtrips to the registry per key event
1207 (spi_atk_bridge_key_listener): upd.
1208 (deregister_application): release the dec.
1210 * registryd/registry.c (notify_listeners_cb):
1211 bin lots of re-enterant complexity - we no longer
1212 do a round-trip bonobo ref here, ensure that a single
1213 listener's exception failure won't poison all other
1215 (impl_registry_notify_event): bin obvious memory leak.
1217 2002-12-13 Michael Meeks <michael@ximian.com>
1219 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1220 init the ev so the error is meaningful.
1221 (spi_atk_bridge_key_listener): ditto.
1223 * cspi/spi_main.c (cspi_ev): init the ev so we start
1224 with a clean slate, otherwise the first exception
1225 kills us completely.
1227 * cspi/spi_text.c (get_accessible_text_boundary_type):
1228 add a fallthrough for no warnings.
1230 * cspi/spi_registry.c: prune unused warnings.
1232 * cspi/spi_main.c (cspi_object_take): fix
1233 mind-blowing brokenness ( by watching the compile
1236 * cspi/spi_accessible.c (Accessible_getStateSet):
1237 re-impl. to use an AtkStateSet.
1238 (spi_state_type_from_accessible_state),
1239 (init_state_table): bin these.
1241 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1243 (atk_state_set_from_accessibility_state_set): here.
1245 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1246 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1247 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1248 (AccessibleStateSet_add, AccessibleStateSet_remove),
1249 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1250 (AccessibleStateSet_isEmpty): re-write to use a local
1253 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1255 * configure.in: Revved to 1.1.7 (new keymask vals).
1257 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1259 * libspi/keymasks.h:
1260 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1262 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1265 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1266 to compare two CORBA_TypeCodes.
1267 (cspi_internal_event_add): Silence warning from FORTE compiler.
1269 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1270 avoid implicit declaration of functions.
1272 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1274 * atk-bridge/bridge.c:
1275 (spi_atk_bridge_init_event_type_consts): Store signal id for
1276 active-descendant-changed signal.
1277 (spi_atk_register_event_listeners): Add signal listener for
1278 active-descendant-changed signal,
1279 (spi_atk_bridge_signal_listener): Move code in function
1280 spi_atk-signal_emit_event() into this function.
1281 Add support for active-descendant-changed
1282 Update support for child-changed signal.
1283 (spi_bridge_window_event_listener): Silence warning.
1285 * libspi/spi_private.[ch]:
1286 (spi_init_any_object): Change second parameter from CORBA_Object to
1288 Omit call to CORBA_Object_duplicate().
1289 Set CORBA_any's _value to CORBA_Object*.
1291 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1297 (AccessibleEvent_ref, AccessibleEvent_unref):
1298 New methods, for persisting an event outside the emission context.
1299 Must be used if the new accessor methods are to be called
1300 outside of the event listener's callback.
1302 * cspi/bonobo/cspi-bonobo.c:
1303 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1304 as second parameter instead of NULL, so we can call
1305 cspi_check_ev afterwards.
1308 (cspi_object_take): New internal method,
1309 converts a CORBA_Object reference to a hard ref on
1310 an Accessible if possible, returning NULL if the object
1311 reference is invalid or an Accessible * otherwise.
1314 (AccessibleEvent_ref):
1315 Increment the event's internal private refcount, and
1316 add the event's internal struct to an internal cache
1317 if it's not already there.
1318 (AccessibleEvent_unref):
1319 Decrement the event's refcount and remove it from
1320 the cspi event cache if refcount==0.
1321 (cspi_event_compare): New private method.
1322 Compares two event structs via their ids. Used
1324 (cspi_internal_event_lookup): New private method.
1325 (cspi_internal_event_check): New private method,
1326 a 0-order sanity check for events to make sure their
1327 private data is intact.
1328 (cspi_internal_event_add, cspi_internal_event_remove):
1329 New private methods for managiing the event cache.
1331 * cspi/bonobo/cspi-bonobo-listener.c:
1333 Initialize the new private data elements (id, magic, ref_count).
1335 * atk-bridge/bridge.c:
1336 (spi_atk_bridge_signal_listener):
1337 Fixed bug #100530, passing wrong params to emission func.
1339 * registryd/deviceeventcontroller.c:
1340 (spi_dec_button_update_and_emit):
1341 Fixed type in mask bit operations; fix for #99799.
1343 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1345 Removed some of the more dangerous workarounds from
1346 previous commit; they are only needed by GOK, which
1347 in reality should be using another method to accomplish
1348 the goals. So on reconsideration some of the workarounds
1349 need to be reverted:
1351 * registryd/deviceeventcontroller.c:
1352 (spi_keycodes_contain, spi_dec_init_keycode_list):
1353 Removed these methods, used only by a nasty hack to try
1354 and detect whether a key synthesis should be allowed
1355 to reset the XKB latch state or not. This code was only
1356 required to work around an interaction between GOK,
1357 button events, and XKB.
1358 (impl_generate_key_event):
1359 Removed hack at end of key generation that tried to
1360 "do the right thing" if XKB latch keys were generated
1361 in the midst of button press/release pairs.
1364 Added a check for HAVE_XINPUT. Not normally used yet.
1366 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1368 Workarounds and fixes for mouse event/XKB interaction.
1370 * registryd/deviceeventcontroller.c:
1371 (spi_keycodes_contain, spi_dec_init_keycode_list):
1372 New internal methods.
1373 (spi_dec_set_unlatch_pending):
1374 Split the method that tells XKB to expect an
1375 unlatch (and revert it) out of the rest of the
1376 event handling code. This method is called by the
1377 two mouse event handlers (the poll and the filter).
1378 (spi_dec_update_and_emit, spi_dec_mouse_check):
1379 New methods split from spi_dec_poll_mouse_moved.
1380 The second one is now called from inside the filterFn
1381 when an XKB delatch event is received, to determine
1382 whether to revert the delatch or not.
1383 (spi_poll_mouse_moved): Refactor; also we can now
1384 properly handle the case where multiple button states
1385 have changed between polling cycles and we didn't get
1386 notified due to another client's grab.
1388 Synchronize the server while handling an XKB notification.
1389 Ugly, but apparently necessary to avoid nasty races.
1390 Check the mouse state on receipt of an XKB latch change,
1391 to decide whether to revert the latch or not. (Latches are
1392 reverted if there is an immediately preceding mouse button
1393 event that a client has consumed, in which case we don't want
1394 the user to see the side-effect of the event).
1395 (spi_device_event_controller_forward_mouse_event):
1396 Check for modifier events and fire before resetting mouse_mask_state,
1397 prevents losing modifier events.
1399 (impl_generate_keyboard_event):
1400 If we've just generated a keyboard event for a non-shift key,
1401 we don't want to revert the pending XKB latch.
1402 Otherwise, check the modifier state (via a call to
1403 spi_dev_mouse_check) and set the relatch mask to
1404 that state before returning.
1406 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1409 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1412 * atk-bridge/bridge.c:
1413 (spi_atk_register_event_listeners):
1414 Don't re-register for ATK events if the registry has died
1415 and the app needs to re-register; the ATK listeners are in
1416 process and doing so will cause duplicate emission.
1418 * registryd/deviceeventcontroller.c:
1419 (spi_poll_mouse_moved):
1420 Reformat the source, detect and emit multiple button-change
1421 events (i.e. if multiple buttons have changed between poll
1423 Add code to detect mouse-down events even when the pointer
1424 is grabbed; workaround for GOK bug 98420.
1425 (spi_controller_register_with_devices):
1426 Call XTestGrabControl with 'impervious' flag set to True,
1427 allows us to synthesize events and query the pointer even during
1428 an active grab by another client.
1429 (spi_device_event_controller_forward_mouse_event):
1430 Set the mouse_mask_state to the mouse_button_state from
1431 the intercepted event, to synchronize the grab listener with
1434 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1436 * cspi/spi_accessible.c:
1437 (AccessibleRole_getName):
1438 Added necessary strings for making this (deprecated)
1439 method work with the new role types.
1440 (init_role_table, role_table):
1441 Added definition of SPI_ROLE_APPLICATION.
1443 * libspi/spi-roletypes.h:
1444 Added SPI_ROLE_APPLICATION.
1446 * idl/Accessibility_Role.idl:
1447 Added ROLE_APPLICATION.
1449 * docs/reference/cspi/at-spi-cspi-decl.txt:
1450 Added SPI_ROLE_APPLICATION to docs.
1452 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1454 * cspi/spi_accessible.c
1455 (cspi_init_role_table): Do not write beyond end of role_table.
1456 (Accessible_getRole): Use correct type for value returned by
1457 Accessibility_Accessible_getRole().
1459 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1460 beyond end of role_table. (This fixes bug #98269)
1462 * libspi/application.c: Add include file spi-private.h for
1463 definition of spi_init_any_nil.
1465 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1469 * libspi/spi-private.h:
1470 Added DGB() macro, and extern int _dbg declaration.
1472 * registryd/registry.c:
1473 (definitions) storage for _dbg.
1474 (spi_registry_init):
1475 Get environment variable "AT_SPI_DEBUG".
1476 (spi_registry_set_debug):
1477 New method, to initialize _dbg value.
1478 (spi_listener_struct_new, spi_registry_object_finalize):
1479 (notify_listeners_cb):
1480 Changed fprintfs to use DBG and g_warning().
1482 * registryd/deviceeventcontroller.c:
1483 (_deregister_keygrab, spi_controller_register_device_listener):
1484 Changed debug/warning messages to use DBG macro.
1486 * libspi/listener.c:
1487 (impl_notify_event):
1488 Changed warning messages to use DBG macro and g_warning().
1490 * atk-bridge/bridge.c:
1491 (atk_bridge_init, spi_atk_bridge_get_registry):
1492 (spi_atk_bridge_exit_func):
1493 (spi_atk_bridge_property_event_listener):
1494 Changed status, warning, and error messages to use
1495 g_warning, g_message, and DBG macros.
1498 Read the state of the AT_SPI_DEBUG environment variable
1499 and set a local '_dbg' accordingly.
1501 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1503 FIXES for 98836, 98842, other bugs.
1506 Revved to 1.1.4, interface-age=4, binary-age=4.
1508 * registryd/deviceeventcontroller.c:
1510 Fixed crasher bug in last_mouse_pos initialization.
1512 * registryd/registry.c:
1513 (desktop_add_application, desktop_remove_application):
1514 Added (and then commented out) some support for
1515 object context marshalling. [TODO]
1517 * atk-bridge/bridge.c:
1518 (spi_atk_bridge_event_context_create):
1519 Commented out object context creation until it can
1520 be properly tested and debugged.
1522 * registryd/registry.c:
1523 (impl_registry_notify_event):
1524 Fixed crasher bug, we were calling
1525 spi_re_entrant_list_foreach () with an empty list.
1527 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1529 * idl/Accessibility_Action.idl:
1530 * idl/Accessibility_Component.idl:
1531 * idl/Accessibility_Desktop.idl:
1532 * idl/Accessibility_Event.idl:
1533 * idl/Accessibility_Hyperlink.idl:
1534 * idl/Accessibility_Image.idl:
1535 * idl/Accessibility_Relation.idl:
1536 * idl/Accessibility_Selection.idl:
1537 * idl/Accessibility_State.idl:
1538 * idl/Accessibility_Value.idl:
1539 Updated unimplemented slot count to minimum of
1540 four for all interfaces, for ABI freeze.
1542 * idl/Accessibility_EditableText.idl:
1543 * idl/Accessibility_Text.idl:
1544 Updated unimplemented slot count to six
1547 * idl/Accessibility_Registry.idl:
1548 Updated unimplemented slot count to six
1549 (also for DeviceEventController),
1552 * idl/Accessibility_Table.idl:
1553 Updated unimplemented slot count to eight,
1556 * idl/Accessibility_Event.idl:
1557 Added CORBA_any "any_data" member to Event struct.
1559 * idl/Accessibility_Event.idl:
1560 Added CORBA_any "any_data" member to Event struct.
1562 * atk-bridge/bridge.c:
1564 atk_signal_text_changed, atk_signal_child_changed,
1565 signal ids queried from gtype system.
1566 (AtkBridgeEventContextType): New enum.
1567 (AtkBridgeEventContextData): New struct.
1568 (AtkBridgeEventContext): New struct.
1569 (atk_bridge_init_event_type_consts):
1570 New method, initializes type contants for comparison
1571 prior to emit_eventv.
1572 (atk_bridge_event_context_init): New method,
1573 initializes a CORBA_any from an AtkBridgeEventContext.
1574 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1575 initialize the event.any_data struct.
1576 (spi_atk_bridge_event_context_create): New method,
1577 creates an AtkBridgeEventContext from signal/event info.
1578 (spi_atk_bridge_event_context_free): New method.
1579 (spi_atk_emit_eventv): Changed to take an
1580 AtkBridgeEventContext parameter. We now initialize
1581 the event.any_data member prior to notifying the
1582 Registry, via the AtkBridgeEventContext.
1583 (spi_atk_bridge_property_event_listener):
1584 (spi_atk_bridge_state_event_listener):
1585 Match emit_eventv signature.
1586 (spi_atk_bridge_object_event_listener):
1587 Match emit_eventv signature, and create an
1588 event context from the event details.
1589 Free the event context afterwards.
1590 (spi_atk_bridge_window_event_listener):
1591 Create an event context, pass it to the
1595 (AccessibleEvent_getContextString):
1596 (AccessibleEvent_getContextObject):
1597 New methods, allow query of AccessibleEvent objects
1598 for more context details (via the "any_data" member
1599 of the Event struct, above).
1602 Definitions for AccessibleEvent_getContextString
1603 and AccessibleEvent_getContextObject.
1605 * cspi/spi_listener.h:
1606 (InternalEvent): New struct.
1609 (AccessibleEvent_getContextString):
1610 (AccessibleEvent_getContextObject):
1611 Implementations of new methods, for obtaining
1612 additional context information from some event types.
1614 * cspi/spi_registry.c:
1615 (SPI_registerGlobalEventListener):
1616 Added mention of active-descendant-changed event in docs.
1618 * cspi/cspi-bonobo-listener.c:
1620 Marshal the any into the AccessibleEvent via
1623 * libspi/spi-private.h:
1624 #include <orbit/orbit.h>
1626 (spi_init_any_string):
1627 (spi_init_any_object):
1628 New convenience function declarations.
1632 (spi_init_any_string):
1633 (spi_init_any_object):
1634 New convenience function implementations.
1636 * registryd/deviceeventcontroller.c:
1637 (spi_poll_dec_mouse_moved):
1638 (spi_device_event_controller_forward_mous_event):
1639 Initialize any_data member of event.
1640 (spi_deregister_controller_device_listener):
1641 Fix incorrect param pass which was preventing deregistration.
1643 * registryd/registry.c:
1644 (desktop_add_application):
1645 (desktop_remove_application):
1646 Add object data to event's any_data before dispatch.
1648 Fix for error messages from GAIL.
1650 * test/event-listener-test.c:
1651 Test new ContextString and "any_data" API:
1652 (report_text_event): New method query and output context string.
1653 (main): register a new text listener with report_text_event
1656 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1658 Fixes for bugs 98127 and 97914.
1659 * cspi/spi-roletypes.h:
1660 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1662 * cspi/spi-statetypes.h:
1663 Added SPI_STATE_MANAGES_DESCENDANTS
1665 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1666 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1667 * cspi/spi_accessible.c:
1668 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1669 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1670 Accessibility_STATE_MANAGES_DESCENDANTS
1671 * libspi/accessible.c:
1672 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1673 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1674 As requested by Bill, I also cleaned up the alignment.
1675 * libspi/relation.c:
1676 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1677 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1678 * libspi/stateset.c:
1679 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1680 Accessibility_STATE_MANAGES_DESCENDANTS
1681 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1682 Document changes reflecting modifications to roles.
1683 * docs/reference/cspi/tmpl/spi_relation.sgml:
1684 Document changes reflecting modifications to relations.
1685 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1686 Document changes reflecting modifications to states.
1688 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1691 Revved to 1.1.3, interface-age=3, binary-age=3.
1692 Added REBUILD macro.
1695 Removed accessx-gui from the tests, since we have a nice
1696 keyboard accessibility capplet now :-)
1698 * test/keysynth-demo.c:
1699 (increment_scan): removed do-nothing default: case,
1702 * test/visual-bell.c:
1703 (main) : removed do-nothing default: case,
1706 * cspi/spi_action.c:
1707 (AccessibleAction_getKeyBinding_):
1708 Documented keybinding string format.
1712 (AccessibleText_getAttributes):
1713 Documented the text attribute string format.
1714 It's changed to use semicolon delimiters also,
1715 to prevent clashes with CSS attributes, but the old
1716 trick of looking for ", " strings will still work
1717 (as unreliably as ever). Fix for bug related to 97916.
1720 Include <cspi/bonobo/cspi-bonobo-listener.h>
1721 Fixes build warning.
1722 (SPI_freeAccessibleKeySet):
1723 (AccessibleKeystrokeListener_addCallback):
1724 (AccessibleKeystrokeListener_removeCallback):
1725 Modify to use AccessibleDeviceListener API internally,
1726 instead of AccessibleKeystrokeListener.
1728 * idl/Accessibility_Event.idl:
1729 Added two more empty slots to EventListener (for a total of four).
1731 * idl/Accessibility_Accessible.idl:
1732 Added four empty slots to Accessible interface.
1734 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1736 * idl/Accessibility_Registry.idl:
1737 (KeyEventType, EventType):
1738 Marked KeyEventType as deprecated; it duplicates
1739 functionality of EventType, which has been extended to
1740 include Mouse-button events.
1741 (KeyEventTypeSeq): defined in terms of EventType.
1742 (registerDeviceEventListener, deregisterDeviceEventListener):
1743 New methods, for managing listeners to device events,
1744 which potentially may consume them.
1747 Added definition for AccessibleDeviceListener.
1749 * cspi/spi-listener.h:
1750 (enum AccessibleDeviceEventType):
1751 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1752 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1753 for backwards compat.
1754 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1755 and typedef'd AccessibleKeystroke to it for back-compat.
1756 (AccessibleDeviceListenerCB):
1757 New function prototype typedef.
1760 (AccessibleDeviceEventMask): New typedef.
1761 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1762 (AccessibleKeyMaskType):
1763 Set equivalent to AccessibleModifierMaskType for back-compat.
1764 (SPI_createAccessibleKeystrokeListener):
1765 (AccessibleKeystrokeListener_unref):
1766 Deprecated in favor of equivalent (better-named) new API below..
1767 keystroke listeners are like all device listeners.
1768 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1769 New API names for old features :-).
1770 (AccessibleDeviceListener_addCallback):
1771 (AccessibleDeviceListener_removeCallback):
1772 (SPI_registerDeviceEventListener):
1773 (SPI_deregisterDeviceEventListener):
1777 (SPI_createAccessibleKeystrokeListener):
1778 Use new preferred API, cspi_device_listener_new() and
1779 cspi_device_listener_add_cb().
1780 (AccessibleKeystrokeListener_removeCallback):
1781 Use new preferred API, cspi_device_listener_remove_cb().
1782 (AccessibleKeystrokeListener_unref):
1783 Use new preferred API, cspi_device_listener_unref().
1784 (SPI_createAccessibleDeviceListener):
1785 (AccessibleDeviceListener_addCallback):
1786 (AccessibleDeviceListener_removeCallback):
1787 Implementation of new API.
1789 * cspi/spi_registry.c:
1790 (SPI_registerDeviceEventListener):
1791 (SPI_deregisterDeviceEventListener):
1792 Implementation of new API. Fixed memory leak and removed need to
1793 allocate EventTypeSeq (thanks Michael for catching this).
1794 Squashed a wayward CORBA_exception_free that shouldn't get called.
1796 * cspi/bonobo/cspi-bonobo-listener.c:
1798 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1799 (cspi_key_event): renamed to cspi_device_event().
1800 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1801 Extended to handle mouse button events as well as key events.
1802 (CSpiKeystrokeListener):
1803 Class superceded by CSpiDeviceListener.
1804 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1805 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1807 * cspi/bonobo/cspi-bonobo-listener.h:
1808 (CSpiKeystrokeListener):
1809 Class superceded by CSpiDeviceListener.
1810 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1811 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1813 * libspi/Makefile.am:
1814 Replaced keystrokelistener.h and keystrokelistener.c
1815 with devicelistener.h and devicelistener.c; keystrokelisener.h
1816 stub retained for back-compat.
1818 * libspi/keystrokelistener.c:
1822 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1824 * registryd/deviceeventcontroller.c:
1825 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1826 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1827 (DEControllerPrivateData): Added xkb settings data.
1828 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1829 button release events (which can't be captured via XGrabButton).
1830 Don't dispatch via the 'normal' event mechanism if the device event was
1832 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1833 Handle the typeseq data in its new location (see above).
1834 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1835 New methods, for "generic" device listeners.
1836 (spi_controller_register_device_listener):
1837 Now handle mouse event listeners as well as key listeners.
1838 (spi_controller_notify_mouselisteners):
1839 New internal method.
1840 (spi_device_event_controller_forward_mouse_event):
1841 Now we notify mouse device listeners as well as generating the
1842 non-consumable "mouse:" events.
1844 We must check and restore the XKB
1845 modifier map if we consume the event, since the act of triggering
1846 a mouse event will normally reset the XKB latch. This is required for
1848 (spi_controller_register_with_devices):
1849 Load the XKB settings when registering, and register for XKB
1850 state notify events.
1851 (spi_key_eventtype_seq_contains_event):
1852 Renamed spi_eventtype_seq_contains_event, since it's used
1853 internally for all device event types now.
1854 (spi_key_event_matches_listener):
1855 Uses spi_eventtype_seq_contains_event now.
1856 (spi_device_event_controller_object_finalize):
1857 Free the private data and the XkbKeyboard struct.
1858 (impl_register_device_listener, impl_deregister_device_listener):
1859 Implementation of new IDL.
1860 (spi_deregister_controller_device_listener):
1861 New internal method.
1862 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1863 More efficient implementation, we don't have to create a new
1864 XkbControls structure every time we query.
1865 (spi_device_event_controller_class_init):
1866 Initialize the epv entries for the new IDL. Assign the
1867 "spi-dec-private" quark.
1868 (spi_device_event_controller_init):
1869 Initialize the private data.
1870 (spi_device_event_controller_forward_key_event):
1871 Removed a bogus CORBA_exception_free() call.
1873 * registryd/deviceeventcontroller.h:
1874 Replaced inclusion of keystrokelistener.h with
1877 * test/event-listener-test.c:
1878 (report_mouse_event):
1881 Added mouse-event device listener.
1883 * test/test-simple.c:
1884 (create_test_window):
1885 Fixed regression (we were instantiating a GtkRange,
1886 which is now an abstract class). Also fixed to match
1887 existing AtkRole names, this seems to have changed in ATK
1888 awhile ago; too late now I think, and the new
1889 mechanism is at least elegant and consistent with the
1890 glib enum "nick" APIs.
1892 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1894 * idl/Accessibility_Relation.idl:
1895 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1896 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1897 * idl/Accessibility_Role.idl:
1898 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1899 * idl/Accessibility_State.idl:
1900 add STATE_MANAGES_DESCENDANTS
1901 * test/event-listener-test.c:
1902 Added a listener for active-descendant events.
1904 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1906 * atk-bridge/bridge.c
1907 (atk_bridge_init): If application is Bonobo component wait until top
1908 level is added before registering
1909 (spi_atk_bridge_do_registration): New function which contains code,
1910 formerly in atk_bridge_init, to do application registration.
1911 (spi_atk_bridge_toplevel_added): Signal called when top level
1912 added to Bonobo component
1914 This fixes bug #83134.
1916 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1918 * registryd/deviceeventcontroller.c
1919 Fixed compilation error caused by calling gettimeofday()
1922 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1927 Added template for HAVE_XKB.
1930 Changes to check for XKB, and to set the HAVE_XKB #define if it
1933 * libspi/listener.c:
1934 ()impl_notify_event): Make failure to get event source name
1937 * registryd/deviceeventcontroller.c:
1938 (#include): include X11/XKBlib.h.
1939 (DEControllerPrivateData) : New struct.
1940 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1942 (dec_synth_keycode_press) (dec_synth_keycode_release):
1943 New methods; split the key synthesis code into these methods.
1944 They check XKB settings before determining the "time" values to
1945 pass to Xtest; this fixes bug #95828.
1946 (impl_generate_keyboard_event): Changed to use methods above,
1947 instead of callng Xtest directly.
1948 (spi_device_event_controller_init): Initialize new privae struct s
1950 (spi_device_event_controllr_object_finalize):
1951 Free the (new) private data.
1953 * registryd/deviceeventcontroller.h:
1954 Add new gpointer to end of struct data.
1956 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1959 Incremented revision to 1.1.2, SONAME is still '.so', library
1960 extensions are ".so.0.0.2".
1962 * registryd/deviceeventcontroller.c:
1963 FIXES FOR #93592 and #95940.
1964 (statics): renamed mouse_button_state to mouse_mask_state,
1965 added key_modifier_mask.
1966 (spi_dec_poll_mouse_moved):
1967 Added key modifier checks, and emit "keyboard:modifiers"
1968 events when the key modifiers currently in use change.
1969 Also generate "mouse:abs" events periodically, even if the mouse
1970 is stationary (should we?).
1971 Alternatively we could generate "mouse:abs" events for either all
1972 mouse movements, or every 'nth' mouse movement, or at the
1973 beginning and end of every "active" mouse period.
1975 * test/event-listener-test.c:
1976 (main): Added listener for "keyboard:modifiers" events.
1978 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1980 * libspi/keymasks.h:
1981 Added key mask #defines for mouse buttons; e.g.
1982 SPI_KEYMASK_BUTTON1, etc.
1985 Incremented dependency on ATK to version 1.1.0. (This dependency
1986 is probably premature but will soon be real enough).
1988 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1990 * libspi/hyperlink.[ch]
1991 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1992 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1995 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2000 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2002 * registryd/deviceeventcontroller.c
2003 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2004 events to be ignored.
2005 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2006 keyboard_mode so that XAllowEvents() can be called.
2010 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2012 * cspi/spi-accessible.c: Correct names of roles returned by
2013 AccessibleRole_getName(). Fixes bug #95055.
2015 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2017 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2020 * registryd/registry.c
2021 (desktop_remove_application: Write diagnostic message to stderr for
2024 (impl_accessibility_registry_deregister_global_event_listener):
2025 Correct size of lists array. This addresses bug #94555).
2027 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2029 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2032 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2034 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2037 * registryd/registry.c (impl_registry_notify_event): Remove
2038 unnecessary call to parser_event_type().
2040 * docs/reference/cspi/tmpl/spi_component.sgml:
2041 Add reference to SPI_LAYER_WINDOW.
2043 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2045 * registryd/registry.c
2046 (desktop_add_application): Remove leak.
2047 (desktop_remove_application): Remove leak.
2048 (parser_event_type): Remove leak.
2050 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2052 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2053 bogus call to CORBA_string_dup(). Also removed unnecessary
2054 g_string_dup/g_free calls.
2056 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2058 * registryd/deviceeventcontroller.c:
2059 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2061 * test/event-listener-test.c:
2062 main: commented out three redundant listeners, to reduce output
2063 noise. (They still are potentially useful for testing).
2066 2002-09-13 Michael Meeks <michael@ximian.com>
2068 * Update all the copyrights to include Ximian.
2070 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2072 * cspi/spi.h: add SPI_LAYER_WINDOW.
2074 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2075 add Accessibility_LAYER_WINDOW case.
2077 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2079 * libspi/component.c: (impl_accessibility_component_get_layer):
2080 add ATK_LAYER_WINDOW case.
2082 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2084 * configure.in: incremented micro version.
2086 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2088 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2091 Clarified and reworded our commit policy.
2094 Started an API "todo" addition list for 2.2.
2097 (impl_getSelection):
2098 Free char pointer from atk_text_get_selection, which was being leaked.
2100 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2103 Small revision to author acknowledgement.
2105 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2107 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2108 If signal has detail add it to the type of the event.
2111 2002-08-12 Michael Meeks <michael@ximian.com>
2113 * test/test-simple.c (global_listener_cb): bin bogosity.
2114 (test_keylisteners): disable, still doesn't work reliably,
2115 certainly not on my system anyway.
2117 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2118 don't leak a reference on the DEC. This round-trip
2119 fetching of the DEC per keystroke sucks, it should be
2122 * cspi/spi-private.h,
2123 * cspi/cspi-lowlevel.h,
2124 * cspi/bonobo/cspi-bonobo-listener.[ch],
2125 * cspi/bonobo/cspi-bonobo.c: get the copyright
2126 notices better - there is still a large amount of
2127 work in at-spi falsely attributed solely to Sun.
2129 * cspi/spi_main.c (cspi_object_ref): kill bogus
2130 hash lookup, just increment the ref.
2131 (SPI_freeString): make explicit the fact that we
2132 handle NULL strings just fine.
2133 (report_leaked_ref): obey coding standards.
2134 (cspi_object_hash, cspi_object_equal): kill retval.
2135 (cspi_object_release): only release if not on loan.
2136 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2137 (cspi_object_borrow, cspi_object_return): impl.
2139 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2140 use cspi_object_borrow / return.
2142 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2144 * cspi/bonobo/cspi-bonobo-listener.c:
2146 Don't call cspi_oject_new() because this is creating a new Accessible
2147 every single time that an event is fired. This causes ATs like at-poke
2148 to nolonger recognise the source of the event and thus ignore it.
2149 Re-use the object from the cache, ref it and then unref it after the
2150 listeners have been called.
2152 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2154 * test/event-listener-test.c:
2155 Added command-line options to disable mouse events (m) and
2158 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2160 * configure.in: Update required versions of ATK, GTK+ and GAIL
2162 * cspi-1.0.pc.in: Add dependency for X include files
2165 * cspi/bonobo/Makefile.am:
2166 Add $(X_CFLAGS) so that X include files
2167 are picked up even if not in standard place (bug #71686)
2169 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2171 * registryd/deviceeventcontroller.c: fix for 84261
2172 (spi_dec_mouse_moved):
2173 Added test of mouse button mask, so that we can detect mouse
2174 button release. Unfortunately we can't otherwise detect mouse
2175 button release events without consuming the mouse press event,
2176 because of the way XGrabButton works. This means that our mouse
2177 release events have a latency dependent on the polling period
2178 while the mouse button is down. At least in this case we only
2179 have to poll while the button is down, and not at other times.
2180 If the button masks don't match with what the last press event
2181 reported, we report the appropriate button release event.
2182 (spi_dec_ungrab_mouse):
2183 New method (not yet called).
2184 (spi_device_event_controller_forward_mouse_event):
2185 New method, sends mouse press event from GdkFilter.
2186 (spi_dec_init_mouse_listener):
2187 Added code to call XGrabButton, redirecting mouse button events to
2188 the root window and our Gdk event loop.
2190 Added code to filter mouse button events, and reordered.
2192 * test/event-listener-test.c:
2194 Added registration for mouse events of type "mouse:button".
2196 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2198 * registryd/deviceeventcontroller.c: partial fix for 84261
2199 (spi_dec_poll_mouse_idle):
2200 New method, a timeout which checks to see if the mouse
2202 (spi_dec_poll_mouse_moving):
2203 A timeout to be called when mouse motion is underway.
2204 (spi_dec_poll_mouse_moved):
2205 A method which fires an event if the mouse has moved, and reports
2206 whether or not it did so.
2207 (spi_dec_init_mouse_listener):
2208 A method which sets up the timeouts above.
2209 (spi_device_event_controller_new):
2210 Now calls spi_dec_init_mouse_listener.
2212 * registryd/registry.c:
2213 (spi_registry_init):
2214 Now we initialize the device event controller when the registry is
2215 initialized, instead of waiting until a client has requested a key
2216 event notification; this is because we need the event controller
2217 for mouse events, but the mouse event registration API is a
2218 "registry" call and doesn't explicitly call the
2219 deviceeventcontroller.
2220 We now report mouse motion events with a 100 ms idle latency and
2221 a 20 ms granularity when motion is in progress.
2223 * test/event-listener-test.c:
2225 We now register the "detail listener" for events of type
2226 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2227 delivered only for the first mouse event received, and thereafter
2228 "mouse:abs" events are delivered.)
2230 * cspi/spi_registry.c:
2231 DOCS: Documented the above mouse event typestrings.
2233 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2235 Happy Summer Solstice...
2237 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2238 (spi_controller_notify_keylisteners):
2239 Changes to remove a listener from the listener list, freeing its
2240 open keygrabs, if a notification to that listener fails. This
2241 means that although a dead listener can continue to hold a passive
2242 keygrab, a maximum of one dispatch to such a listener can fail
2243 before the listener is removed from the list, thus the keygrab
2244 will be released on the next occurrence.
2245 As part of this fix:
2246 (spi_notify_keylisteners):
2247 Renamed to spi_controller_notify_keylisteners, as the controller
2248 instance must now be passed as an argument.
2249 The copied 'notify' GList is now a list of DEControllerKeyListener
2250 objects, since we need more than just the CORBA reference if a
2251 notify fails and we need to deregister the listener.
2252 (impl_notify_listeners_sync):
2253 (impl_notify_listeners_async):
2254 (spi_device_event_controller_forward_key_event):
2255 Modify use of notify_keylisteners in accordance with above
2257 (spi_deregister_controller_key_listener):
2258 New method introduced by refactoring, from
2259 impl_deregister_keystroke_listener.
2260 (impl_deregister_keystroke_listener):
2261 Call spi_deregister_controller_key_listener.
2262 (spi_key_listener_clone):
2263 New method to copy a key listner without doing a 'ref' on the
2264 remote object instance; used to create a notifier list.
2265 (spi_key_listener_data_free):
2266 New method, frees data without unreffing the source.
2268 (spi_key_listener_clone_free): new method.
2269 (spi_key_listener_free):
2270 refactored to call spi_key_listener_data_free.
2272 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2274 * registryd/registry.c: [fix for bug 86048]
2275 (notify_listeners_cb):
2276 Clear CORBA system exceptions which occur when notifying
2277 listeners, before returning to the source of the original event,
2278 since the event source doesn't care if the relayed notify failed.
2279 In other words, don't complain to the atk-bridge if the registry
2280 could not notify all its listeners, that's no fault of the
2281 application and thus should not appear to be an error from the
2282 application's perspective.
2284 * cspi/spi_main.c: [fix for bug 85980]
2286 Replaced use of bonobo_object_dup_ref with call to the wrapper
2287 method, csou_dup_ref (); this silences a compiler warning and
2288 provided more portability.
2290 Ping the registry before return, and restart if necessary.
2292 * cspi/bonobo/cspi-bonobo.c:
2294 New internal method.
2296 Fixed this method to return an object reference, as it should have
2299 * cspi/cspi-lowlevel.h:
2300 Added internal definition for cspi_ping() and fixed
2301 return type of cspi_dup_ref().
2304 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2306 * atk-bridge/bridge.c: [fix for bug 85305]
2307 (spi_atk_bridge_register_application):
2308 New method where the initial application registry calls have been
2309 moved; it allows an application to re-register in response to
2310 certain error conditions (such as a registry restart, see below).
2312 Moved some initialization code to the method
2313 spi_atk_bridge_get_registry, below.
2314 (spi_atk_bridge_get_registry):
2315 New, private accessor function for the Accessibility_Registry
2316 instance. If the registry has not been started before, or has
2317 died (as detected by failure of a CORBA exception), it is
2318 restarted before return, and spi_atk_bridge_register_application
2319 is called again to register with the new bridge instance.
2320 (spi_atk_emit_eventv):
2321 Set registry_died on error; use spi_atk_bridge_get_registry () to
2322 access the registry.
2324 * registryd/registry.c:
2325 (impl_accessibility_registry_register_global_event_listener):
2326 Set listener's event_type_quark to etype.minor instead of
2327 etype.major (fix for bug 84856).
2329 * test/event-listener-test.c:
2330 (report_detail_event):
2331 Change the output string so that user/tester can tell that the
2332 'detail listener' was called instead of the 'generic listener'.
2334 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2336 Fixes for bugs 84900, 84908, 84897, 84898.
2341 Revved version to 1.1.0
2342 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2343 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2345 * idl/Accessibility_Registry.idl:
2346 (EventListener::notifyEvent):
2347 Removed 'oneway' directive after extensive consulation with
2348 ORBit2 team and others. This means also that unref() of the event
2349 source can and should be done synchronously after emission, rather
2350 than remotely in the client, after servicing the notify call on
2353 NOTE: This change speeds up listener performance considerably, but
2354 introduces new latency on the application side. We may want to
2355 add an event queue to the atk-bridge.
2357 * atk-bridge/bridge.c:
2358 (spi_atk_bridge_focus_tracker):
2359 Do a local unref() on the event source after emission.
2361 * registryd/registry.c:
2362 (desktop_remove_application):
2363 Do an unref() on the event source after emission.
2364 (desktop_add_application):
2365 Do an unref() on the event source after emission.
2366 (notify_listeners_cb):
2367 When relaying an event, don't automatically add the event source
2368 to the local object cache, just CORBA_dup it instead. Likewise,
2369 if this method reenters, release the ref rather than calling
2371 (impl_registry_notify_event):
2372 No longer call remote unref() on the event source after dispatch.
2374 * libspi/eventlistener.c:
2375 (impl_accessible_event_notify_event):
2376 Removed remote unref ()
2378 * cspi/bonobo/cspi-bonobo-listener.c:
2380 We now call cspi_object_new() instead of cspi_object_add() on
2381 receipt of an event; thus we only have an implicit object ref
2382 while the cspi_event method is being executed. If we need to keep
2383 a reference to the object, the listener must call ref() on the
2384 object. Thus also we don't need to call cspi_object_unref() after
2385 invoking the listener callbacks in this method.
2389 New internal API for creating a new cspi object, without adding it
2390 to the object cache.
2392 Now uses cspi_object_new() to create the cspi object instance.
2394 Now checks to see if the object is in the internal object cache,
2395 and adds it if necessary before incrementing its refcount (note
2396 that new objects are added with a refcount of 1).
2397 (report_leaked_ref):
2398 New method which gives some information on leaked object instances
2399 if leak detection is turned on.
2401 * test/event-listener-test.c:
2402 (timing_test_event):
2403 New method, used for testing event delivery timing for special
2404 events of type "object:test". It reports elapsed time and
2405 events/sec every 500 events.
2407 Added a new listener, 'test listener', to check timing of event
2408 receipt as noted above.
2410 Added some timing output here also, reports elapsed time every 100
2413 * test/stress-test.c:
2414 Emit events of type "object:test", for use with "event-listener-test".
2416 * test/test-simple.c:
2417 (global_listener_cb):
2418 Call Accessible_ref() on the event source before calling
2419 validate_accessible, since the validation process does pointer
2420 comparisons on the event source, meaning that the event source
2421 needs to be added to the local object cache first. Any use of
2422 such pointer comparisons between Accessible objects requires that
2423 the caller hold an explicit reference to those objects.
2424 We also must therefore call Accessible_unref() when leaving this method.
2426 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2428 * registryd/deviceeventcontroller.c:
2429 (spi_controller_update_key_grabs):
2430 Fix for #84735, subsequent keygrab listeners not informed of
2431 registration failure.
2434 (spi_base_construct):
2435 Add an assertion on construct, to make sure the GObject passed in
2436 is really a GObject.
2438 Explicitly initialize object->gobj pointer to NULL;
2440 * cspi/bonobo/cspi-bonobo-listener.c:
2441 (cspi_object_add_ref):
2442 New method, can specify whether to dup-ref a bonobo object passed
2443 in if it's newly added to the object cache.
2445 Now calls cspi_object_add_ref with second param of "FALSE". This
2446 prevents us from doing a pointless dup-ref followed by
2447 release-unref for all those cases where the object is already in
2448 our object cache (fix for #85205).
2450 * atk-bridge/bridge.c:
2451 (spi_atk_bridge_idle_init):
2452 Removed this method, we don't need to initialize in an idle
2455 Changed to call spi_atk_register_event_listeners directly, not via an
2456 idle handler. (fix for #81139)
2457 (gnome_accessibility_module_shutdown):
2458 Removed conditional around deregistration of listeners, since we
2459 don't use the idle handler and thus have always registered when
2461 (spi_init_keystroke_from_atk_key_event):
2462 Changed references to Accessibility_KEY_PRESSED to
2463 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2465 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2467 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2472 * test/stress-test.c:
2475 (may have been an incomplete commit yesterday?)
2477 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2480 Added target for new stress-test.
2482 * test/stress-test.c:
2483 New test, sends 1000 focus notifies in quick succession.
2485 * test/key-listener-test.c:
2486 Now we report whether a keylistener registration
2487 request succeeded or failed.
2489 * test/event-listener-test.c:
2490 Uncommented some listeners which are now implemented.
2493 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2495 * registryd/deviceeventcontroller.c:
2496 (spi_controller_update_key_grabs):
2497 Fix for #82509, lack of failure notification when
2498 ALL_WINDOWS keygrabs fail due to XGrabKey
2499 failure: we synchronize the server when
2500 registering a passive grab, to make sure we get the
2501 error message before the call returns.
2503 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2505 * test/test-simple.c:
2507 Removed #ifdef KEY_IMPL_WORKS guards.
2508 (test_keylisteners):
2509 Removed #ifdef KEY_IMPL_WORKS guards.
2510 Fixed bug which was causing a hang waiting for a
2511 "press" event (which was already overwritten by a "release"
2512 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2514 Added code to set globals 'key_press_received' and
2515 'key_release_received'.
2518 Added section "1.1 API Proposed Additions" which
2519 lists API additions desired for at-spi-1.1 (only one so far).
2520 Updated TODO list a little.
2522 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2524 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2527 * configure.in: Revved to 1.0.0.
2529 * idl/Accessibility_Registry.idl:
2530 (registerKeystrokeListener):
2531 Added boolean return value.
2533 * registryd/registry.c:
2534 (notify_listeners_cb): Minor fix to debug output.
2536 * registryd/Accessibility_Registry.server.in.in:
2537 Revved version number in OAFIID to 1.0.
2539 * registryd/registryd.c:
2541 Use new OAFIID version.
2543 * cspi/bonobo/cspi-bonobo.c:
2545 Use new OAFIID version.
2551 * atk-bridge/bridge.c:
2553 Use new OAFIID version.
2555 * registryd/deviceeventcontroller.c:
2556 (impl_register_keystroke_listener):
2557 Added CORBA_boolean return value.
2558 (spi_controller_register_device_listener):
2559 Added gboolean return value.
2560 (spi_controller_register_global_keygrabs):
2561 Added gboolean return value.
2562 (spi_key_set_contains_key):
2563 Added implementation for many more control keys,
2564 for instance F1-F12, arrow keys, End, Home, Page_Up,
2566 [TODO: some still not implemented].
2568 * text/screen-review-test.c:
2569 (text_chunk_pad_string):
2570 New function: it provides mapping between coordinate
2571 positions of text chunks and character positions in the
2572 screen-review-line output string.
2573 (text_chunk_to_string):
2574 New function, calls text_chunk_pad_string with various
2575 pad/delimiter characters. Pushbuttons are delimited with
2576 square brackets, Frames with vertical 'pipe' lines, and
2577 other text with double quotes.
2578 (text_chunk_list_to_string):
2579 Calls new function text_chunk_to_string.
2580 (toplevel_composite):
2581 New function to composite layers CANVAS through
2582 POPUP in each toplevel (other layers are composited
2583 across toplevels, i.e. BACKGROUND and OVERLAY).
2584 (review_buffer_composite):
2585 Revise to use new methods.
2591 2002-05-31 Laszlo Peter <laca@sun.com>
2593 * configure.in: add the Xtst libdir to the runpath on Solaris,
2594 since it's not in the default library search path.
2596 2002-05-29 jacob berkman <jacob@ximian.com>
2598 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2600 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2602 * test/screen-review-test.c:
2603 (text_chunk_pad_string):
2604 Added method, which pads the string according to the
2605 text bounds of the chunk. It also takes a 3-character
2606 string as a param which indicates the characters to be
2607 used for start, padding, and end delimitation of the chunk.
2608 (text_chunk_to_string):
2609 Changed to use text_chunk_pad_string.
2611 * configure.in: Fixed bug in AC_OUTPUT that was
2612 causing path substitution in Accessibility_Registry.server
2615 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2617 * text/screen-review-test.c:
2618 (guess_string_clip):
2619 New method which attempts a best-guess at clipping
2620 text from components (like Java labels) which don't
2621 actually implement AccessibleText. This inaccurate
2622 clip is based on the assumption that the label is
2623 justified left-and-right, and monospaced.
2624 (text_chunk_get_clipped_string):
2625 We now call guess_string_clip() for text-containing
2626 components that don't implement AccessibleText.
2628 * test/screen-review-test.c:
2629 (review_buffer_get_text_chunk):
2630 We now pull "name" from labels if they do not implement
2631 AccessibleText (i.e. for Java labels).
2632 (get_screen_review_line_at):
2633 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2636 Replaceded AC_OUTPUT target
2637 registryd/Accessibility_Registry.server with
2638 registryd/Accessibility_Registry.server.in.
2640 * registryd/Accessibility_Registry.server.in:
2641 Removed (this is now a Makefile target).
2643 * registryd/Accessibility_Registry.server.in.in:
2644 Added (source for target above). We now use $(libexecdir) as
2645 prefix for the executable at-spi-registryd.
2647 * registry/Makefile.am:
2648 Now install at-spi-registryd into $(libexecdir), and build .server
2649 file with path (see above).
2651 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2653 * test/screen-review-test.c:
2654 (text_chunk_get_clipped_string):
2655 We now check to see if words fall within clip bounds
2656 before resorting to character-by-character clip bounds testing.
2658 * TODO: Added a section for "2.2 Proposed API Additions".
2660 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2662 * test/screen-review-test.c:
2664 Added a screen review benchmarking and test program to test
2667 * cspi/spi_accessible.c:
2669 Made some of the debug strings passed to cspi_check_ev a
2670 little more specific.
2672 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2674 * test/screen-review-test.c: Fix crashes in debug statements
2676 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2678 * test/screen-review-test.c: Added this file.
2680 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2682 * atk-bridge/bridge.c: changed "object:state-change" to
2683 "object:state-changed" to match docs.
2685 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2687 * atk-bridge/bridge.c: Hooked up state-change event details.
2689 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2691 * registryd/registry.c:
2692 Fixed quarking bug in event string parsing; now events with
2693 detail parameters get matched correctly to listeners.
2696 * util/idl/Magnifier.idl: remove.
2698 * util/*.[ch]: Remove.
2699 Magnification utilities and IDL are now in module gnome-mag.
2701 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2703 * registryd/deviceeventcontroller.c:
2704 Fixed bug in grab key conversion which was causing keycode grabs
2705 to be converted to AnyKey grabs.
2708 updated NEWS file to reflect recent spin-off of gnome-mag.
2710 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2712 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2713 busted AccessibleStateSet_compare. Removed redundant casts.
2715 * cspi/spi-action.c: Removed redundant casts.
2717 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2719 * cspi/spi_component.c: Fixed typos and casting error.
2721 * cspi/spi_editabletext.c: Removed redundant casts.
2723 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2725 * cspi/spi_hypertext.c: Eliminated redundant casts.
2727 * cspi/spi_image.c: Eliminated redundant casts.
2729 * cspi/spi_registry.c: Eliminated redundant casts.
2730 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2731 * cspi/spi_selection.c: Removed redundant casts.
2732 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2733 handling. Screen geometry and text offsets were being returned as 0
2734 on error which is technically valid-- changed these to return -1.
2735 Added marshaller for text boundary types to fix bug with boundary
2736 types being passed incorrectly to atk.
2738 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2741 * cspi/spi_registry.c:
2742 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2743 which was uncovered by the recent key changes.
2745 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2747 * test/event-listener-test.c:
2749 Added new test, "event-listener-test";
2750 this code does two things; it benchmarks traversal time
2751 for the accessible hierarchy for the first running accessible
2752 app, and it connects listeners for all supported event types.
2753 It is thus useful as an example event listener and for
2754 diagnostics/debugging of event generation.
2756 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2759 Removed unnecessary dependency on libutil.
2762 Revved micro version: 0.13.1
2764 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2767 Removed util/Makefile from targets.
2770 Removed util subdir from SUBDIRS (temporarily,
2771 pending removal of magnifier-only code
2775 #ifdef-ed out magnifier dependencies, since
2776 magnifier IDL, headers, and binary now live in
2777 module gnome-mag and we don't want at-spi to depend
2778 on gnome-mag. A magnifier demo which can run alongside
2779 simple-at is forthcoming in the gnome-mag module.
2781 NOTE: Split magnifier binary, IDL, and magnification
2782 activation code from at-spi into module gnome-mag.
2784 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2786 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2787 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2789 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2792 Revved to version 0.13.0
2794 * idl/Accessibility_Registry.idl:
2795 Changed definition of KeySet from sequence of longs to sequence of
2796 KeyDefinitions, and added KeyDefinition struct.
2797 Required for fix to bug 80616.
2799 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2800 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2801 to use new definition (see above).
2803 * registryd/deviceeventcontroller.c: handle_keygrab(),
2804 spi_keyset_contains_key():
2805 Changed to make use of new struct; this allows matching based on
2806 string key-name, for instance "Tab". This also allows matching of
2807 composed characters, non-alphanumeric characters in a way that
2808 doesn't involve dependencies on X keysym codes directly, etc.
2810 * test/key-listener-test.c:
2811 Added test for Alt-Tab key using "string" specification of keyset,
2812 and modified one of the tests to use a keycode-based keyset.
2813 Thus this test both tests and demonstrates the creation and use of
2814 keysets of three forms: specified via keycode array,
2815 keysym array, and string array. (The string case only contains a
2816 single string, i.e. a string array of length 1).
2819 Turned on PRINT_TREE option by default. Also fixed a
2820 string-freeing bug in the PRINT_TREE code.
2821 Added a listener to window:minimize events.
2823 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2825 * atk-bridge/bridge.c:
2826 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2827 for window:activate and window:deactiveate
2828 (atk_bridge_property_event_listener atk_bridge_signal_listener
2829 atk_bridge_window_event_listener) Tidy debug code
2831 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2833 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2834 Fixed handling for NULL return value from ATK.
2836 * libspi/action.c libspi/component.c libspi/editabletext.
2837 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2838 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2839 Removed redundant casts.
2841 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2842 Fixed off by one bug.
2844 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2845 function not present in idl)
2847 2002-05-02 jacob berkman <jacob@ximian.com>
2849 * atk-bridge/Makefile.am: make atk-bridge a real module
2851 2002-04-26 Radek Doulik <rodo@ximian.com>
2853 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2854 atk_state_types table
2856 2002-04-22 jacob berkman <jacob@ximian.com>
2859 * libspi/Makefile.am: add deps on the built files to help
2860 automake, and don't version the ORBit typelib
2862 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2864 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2865 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2866 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2867 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2868 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2869 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2870 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2871 libspi/accessible.h libspi/accessible.h libspi/base.h
2872 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2873 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2874 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2875 libspi/spi-private.h libspi/statetset.h libspi/table.h
2876 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2877 util/mag_client.h util/mag_control.c util/mag_image.c
2878 util/mag_image.h util/magnifier.c util/magnifier.h:
2879 Add missing file headers; standardize existing ones
2881 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2883 * atk-bridge/bridge.c: Added window event support.
2885 2002-04-18 Michael Meeks <michael@ximian.com>
2887 * libspi/relation.c (impl_getNTargets): impl.
2888 (impl_getTarget): impl.
2890 * libspi/Makefile.am: fix stateset install.
2892 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2895 Started putting useful info in this file.
2897 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2899 * atk-bridge/bridge.c:
2900 Propagate state-changed notifications to ATs
2902 * cspi/spi_registry.c: update docs to reflect actual behavior of
2903 state-change events.
2905 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2908 Incremented version to 0.12.1
2910 * util/mag_client.h:
2911 Add missing declaration for magnifier_exit,
2912 used by mag_control.c - Forte compiler didn't like
2913 the implicit redeclaration of the function :-(
2916 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2919 Revved version to 0.12 due to API change (see below).
2921 * cspi/spi-roletypes.h:
2922 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2923 definition from the inline docs, and added docs
2924 for SPI_ROLE_LAST_DEFINED.
2927 * cspi/spi_streamablecontent.c:
2928 Added missing seek_type parameter to
2929 (so far unused) method,
2930 AccessibleStreamableContent_seek().
2931 [ RT approval JodyG. ]
2934 Fixed docs for SPI_createAccessibleKeystrokeListener.
2936 * cspi/spi_registry.c:
2937 Fixed docs for SPI_KEYSET_ALL_KEYS.
2939 * docs/reference/cspi/at-spi-cspi-sections.txt:
2940 Added a number of missing APIs to SECTIONS.
2942 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2944 * registryd/Makefile.am:
2946 * cspi/bonobo/Makefile.am:
2947 Add $(X_LIBS) to makefiles.
2949 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2952 Revved version to 0.11.
2954 * libspi/component.c:
2955 Added implementation for grabFocus.
2957 * idl/Accessibility_Component.idl
2958 (Accessibility_Component_grabFocus):
2959 Made this method return boolean to indicate success or failure, to
2960 be consistent with cspi and the corresponding ATK method.
2962 * idl/Accessibility_Selection.idl
2963 (Accessibility_Selection_selectAll) :
2964 Made these methods return boolean to indicate success or
2965 failure, to be consistent with cspi and the corresponding ATK methods.
2967 * idl/Accessibility_EditableText.idl
2968 (Accessibility_EditableText_setTextContents,
2969 Accessibility_EditableText_insertText,
2970 Accessibility_EditableText_cutText,
2971 Accessibility_EditableText_deleteText,
2972 Accessibility_EditableText_pasteText):
2973 Made these methods return boolean to indicate
2976 * cspi/spi_editabletext.c:
2977 Made these methods return booleans.
2979 * libspi/selection.c:
2980 * libspi/component.c:
2981 * libspi/editabletext.c:
2982 Connected the boolean returns from ATK
2983 to the server-side code referenced above.
2985 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2987 * idl/Accessibility_Table.idl: Added missing methods,
2988 Accessibility_Table_addRowSelection,
2989 Accessibility_Table_addColumnSelection,
2990 Accessibility_Table_removeRowSelection,
2991 Accessibility_Table_removeColumnSelection.
2994 Added C wrappers for above IDL:
2995 AccessibleTable_addRowSelection,
2996 AccessibleTable_addColumnSelection,
2997 AccessibleTable_removeRowSelection,
2998 AccessibleTable_removeColumnSelection.
3001 Added server-side implementation code for IDL above, connecting
3002 to pre-existing ATK api.
3004 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3006 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3008 * libspi/accessible.c: Added implementation fo
3009 Accessibility_Accessible_get_state.
3011 * libspi/libspi.h: Added stateset.h to the list of includes.
3013 * libspi/stateset.c: Fixed broken implementation.
3015 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3018 Added implementation code for Accessibility_Magnifier_exit ().
3020 * util/mag_control.c:
3021 Added test code for above method; you can
3022 now kill an existing magnifier via
3023 ./mag_control q, from the util directory.
3025 * test/key-listener-test.c:
3027 Added a new test, for our key listener API.
3029 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3031 * test/app.c, test/keysynth-demo.c:
3033 Replace use of snprintf with g_snprintf.
3034 (fix for bugzilla 78249)
3036 2002-03-27 Michael Meeks <michael@ximian.com>
3040 * util/Makefile.am (INCLUDES): fix.
3041 (DONT_DIST_SOURCE): don't distribute the
3044 * libspi/Makefile.am (dist-hook): ditto.
3046 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3048 * libspi/hypertext.c:
3049 Fix warnings when yelp is used with atk-bridge
3051 2002-03-21 Michael Meeks <michael@ximian.com>
3053 * libspi/application.c (spi_application_new):
3054 use spi_accessible_construct so we use the AtkObject
3057 2002-03-19 Michael Meeks <michael@ximian.com>
3059 * registryd/registry.c (desktop_remove_application),
3060 (desktop_add_application): clean coding style.
3062 * registryd/desktop.c (spi_desktop_remove_application),
3063 (spi_desktop_add_application): kill re-enterency hazards.
3064 (spi_desktop_dispose): remove bogus redundant cast
3065 obscuring bug; fix bug too.
3066 (spi_desktop_init): make the desktop object immortal.
3068 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3071 Added a #define-guarded tree-traversal step
3072 when enumerating the apps (diagnostic tool).
3074 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3076 * idl/Accessibility_Role.idl:
3077 Added ROLE_DRAWING_AREA which seemed to be missing from the
3080 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3082 * cspi/spi-roletypes.h cspi/spi_accessible.c
3083 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3086 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3087 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3088 AT when applications are added and removed from the desktop. This
3089 reverts the previous broken implementation using the backing
3090 AtkObject for the SpiDesktop.
3092 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3094 * registryd/desktop.c: emit the "children-changed::add" and
3095 "children-changed::remove" signals on the backing ATK object for
3096 the desktop so AT can tell when applications are started and shut
3099 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3101 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3103 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3105 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3107 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3109 * cspi/state-types.h: synched with IDL and ATK
3111 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3113 * libspi/accessible.c
3114 (impl_accessibility_accessible_get_child_at_index):
3115 Change return value for g_return_if_fail ()
3116 to CORBA_OBJECT_NIL instead of "0" (!)
3118 * registryd/Makefile.am:
3119 * registryd/Accessibility_Register.server.in:
3120 Changed name of executable, "registryd",
3121 to something more informative:
3124 2002-03-13 Michael Meeks <michael@ximian.com>
3126 * atk-bridge/bridge.c (atk_bridge_init): don't register
3127 if we're in a bonobo-component, rather than a bonobo app.
3129 2002-03-13 Michael Meeks <michael@ximian.com>
3131 * atk-bridge/bridge.c (gtk_module_init): split
3132 out body to (atk_bridge_init): here, since otherwise
3133 we get symbol conflicts and oddness when invoked
3134 from (gnome_accessibility_module_init): here (upd.)
3136 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3139 New file. Explicitly allow "build sheriff" putbacks provided
3140 they are tested on Solaris.
3142 * docs/reference/cspi/Makefile.am:
3143 Added '-' to the "cp" command for index.sgml.
3144 ("patch by thomasvs, soon coming to a GUADEC near you")
3147 Incremented version number (0.9.0) for new release.
3148 Changed macro that checks for popt, to better detect
3149 obsolete versions of popt.
3152 Added X_LIBS to AC_SUBST, for applications
3153 that call Xlib API directly.
3156 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3159 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3162 Fix regression caused by hard-coding major
3163 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3166 * test/test-simple.c (test_editable_text),
3167 (test_test): revert previous change (error was
3168 a regression in gail which is now fixed).
3170 2002-03-04 Michael Meeks <michael@ximian.com>
3172 * test/test-simple.c (test_editable_text),
3173 (test_text): pass G_MAXINT instead of '-1' for
3174 whole string - is this a good thing !?
3176 * cspi/spi_accessible.c
3177 (Accessible_getRelationSet): fix crasher bug
3178 overwriting the end of the array.
3180 * test/test-simple.c (validate_accessible): free,
3181 not g_free returned relation set.
3183 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3185 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3186 implemented stateset support
3188 * idl/Accessibility_State.idl: Made necessary changes to
3189 the IDL to support state sets.
3191 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3193 * registryd/deviceeventcontroller.c:
3194 Added implementation for generateMouseEvent.
3196 * cspi/spi_registry.c:
3197 Connected new implementation for generateMouseEvent
3200 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3203 Incremented revision (but no change in public API
3204 outside of 'utils', which are not installed public yet.)
3206 * libspi/component.c:
3207 Changed to use atk_component API for layers and
3208 mdi_zorder, instead of deprecated atk_object API.
3210 Magnification Utility Enhancements:
3213 Added implementation of createZoomRegion, clearAllZoomRegions,
3214 resizeZoomRegion. Added new commandline argument
3215 "--no-initial-region". Note that clearAllZoomRegions doesn't
3216 unmap the old '0' region as it should (yet), and the other
3217 methods only work when creating/resizing a single region,
3218 which is "region 0".
3219 (Code for multiple region support will be added later.)
3222 Now we raise the magnifier window each time it's refreshed;
3223 this will help keep it on top.
3225 * util/mag_client.h:
3226 Added simple wrappers for above, used by mag_control.
3227 For general use, it's recommended to use the bonobo magnifier
3228 control API directly instead of using these wrappers.
3231 Moved ZoomRegionData from magnifier.c to this file.
3233 * util/mag_control.c:
3234 Added some code to exercise new IDL implementations.
3236 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3238 * libspi/text.c: Provide implementation for getAttributes.
3240 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3243 Incremented revision.
3245 * test/test-simple.c:
3246 Replaced use of deprecated g_main_iteration with
3247 g_main_context_iteration.
3249 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3252 Incremented revision for desktop alpha 2.
3254 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3256 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3259 * test/simple-at.c: include netinet/in.h.
3261 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3263 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3264 use NULL, not CORBA_OBJECT_NIL.
3266 * libspi/accessible.c:
3267 (impl_accessibility_accessible_get_relation_set):
3268 allocate the sequence correctly.
3270 * libspi/remoteobject.h: kill spi_remote_object_new.
3272 * test/test-simple.c: (validate_accessible): add code
3273 to test relation sets, now all we need is to figure
3274 out how to excercise this code path :/
3276 2002-01-18 Michael Meeks <michael@ximian.com>
3278 * test/test-simple.c
3279 (key_listener_cb): consume the key.
3280 (test_keylisteners): update.
3281 (main): wait for any pending unrefs on events.
3283 * registryd/deviceeventcontroller.c
3284 (spi_controller_update_key_grabs): only re-issue the
3285 grab on a key release.
3286 (spi_device_event_controller_forward_key_event):
3287 refresh the keygrabs before we notify the listeners,
3288 to reduce the X ungrab / re-grab race.
3289 (spi_controller_register_with_devices): remove
3290 XSelectInput - we do that with the gdk_window_ call.
3291 (_spi_controller_device_error_handler): return a value.
3292 s/GDK_DISPLAY/spi_get_display/
3294 2002-01-17 Michael Meeks <michael@ximian.com>
3296 * registryd/deviceeventcontroller.c
3297 (_deregister_keygrab): don't blow out the later
3300 * test/test-simple.c (test_keylisteners): do a
3301 more intelligent validation.
3303 2002-01-14 Michael Meeks <michael@ximian.com>
3305 * atk-bridge/bridge.c
3306 (gnome_accessibility_module_init),
3307 (gnome_accessibility_module_shutdown): impl.
3308 (gtk_module_init): protect vs. double inits.
3309 (add_signal_listener): impl.
3310 (spi_atk_bridge_state_event_listener): kill
3311 (deregister_application): split out of
3312 (spi_atk_bridge_exit_func): here.
3314 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3317 Added caret tracking when using magnifier, and
3318 now use text bounds for focus tracking of text elements, rather than
3319 the component bounds - this is helpful for short text fields in long
3320 table cells, at high magnification.
3322 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3324 * registryd/deviceeventcontroller.c:
3325 Regression fix for keylistener de-registration; global keygrabs
3326 were not being released when deregisterKeystrokeListener was
3327 called in cspi, since
3328 Accessibility_DeviceEventController_deregisterKeystrokeListener
3329 was called with a zero-length keyset. That is because the cspi
3330 method, SPI_deregisterKeystrokeListener, does not take a keyset
3331 parameter but instead should remove all the key grabs held be a
3333 The code in impl_deregister_keystroke_listener was changed to copy
3334 the keylist from the listener instance previously registered with
3335 the DeviceEventController before releasing the grabs.
3337 * registryd/registry.c:
3338 * registryd/deviceeventcontroller.c:
3339 * libspi/spi-private.h:
3341 Changed spelling of "re-enterant" to "re-entrant" globally.
3343 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3345 * test/test-simple.c:
3346 Changed key listeners test - the test was slightly mis-using the
3347 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3348 It now uses '=' as the key event listened to and generated,
3349 relying on a keysym match rather than assuming that keycode 33
3350 is always equal to keysym '!'.
3352 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3355 Changed simple-at to use a specific keyset, rather than
3356 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3357 manager, desktop, etc.
3359 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3361 * registryd/deviceeventcontroller.c:
3362 Replaced standard X error handler with a special handler that
3363 is non-fatal for failed keygrabs. This works around
3364 problems with keygrab clashes sometimes observed on
3366 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3367 mouse handling code as yet).
3369 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3372 Incremented revision for desktop alpha release.
3375 Fixed a couple of the more glaring errors (still not
3378 2002-01-11 Michael Meeks <michael@ximian.com>
3380 * registryd/deviceeventcontroller.c
3381 (spi_device_event_controller_forward_key_event): kill
3382 XUngrabKey / XKeyGrab race.
3383 (spi_controller_grab_keyboard): rename to
3384 (spi_controller_update_key_grabs): this, and deal
3385 with incremental adding / removing grabs more
3387 (_register_keygrab): ensure we're not pending a remove.
3388 (spi_grab_mask_free): impl.
3389 (spi_controller_register_global_keygrabs): split out
3391 (handle_keygrab): impl.
3392 (_deregister_keygrab): impl.
3393 (spi_controller_deregister_global_keygrabs): impl.
3394 (spi_controller_update_key_grabs): re-issue the grab if
3395 we just recieved a notification.
3397 * test/test-simple.c (key_listener_cb): remove debug.
3399 * registryd/deviceeventcontroller.c
3400 (spi_controller_register_device_listener): after
3401 registering a global keygrab, actualy register it !
3402 don't wait for a timeout; doh !
3404 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3405 to make it more readable / manipulable.
3406 s/grabmask/grab_mask/ s/refcount/ref_count/
3407 s/keyval/key_val/ s/modmask/mod_mask
3409 2002-01-08 Michael Meeks <michael@ximian.com>
3411 * registryd/deviceeventcontroller.c
3412 (spi_controller_register_with_devices): use gdk calls to
3414 (global_filter_fn): implement the filter.
3415 (spi_device_event_controller_check_key_event): rename to
3416 (spi_device_event_controller_forward_key_event): this & upd.
3417 (spi_get_display): replace with GDK_DISPLAY.
3419 * registryd/deviceeventcontroller.c
3420 (spi_controller_deregister_device_listener): unroll into
3421 (impl_deregister_keystroke_listener): here to simplify.
3422 (spi_controller_register_global_keygrabs): split cut and
3423 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3424 (spi_controller_deregister_device_listener): remove.
3425 (impl_register_mouse_listener): remove, no mouse listener
3426 support in at-spi-1.0
3428 * registryd/registry.c
3429 (_device_event_controller_hook): kill.
3430 (spi_registry_init): upd.
3432 * registryd/deviceeventcontroller.c
3433 (spi_device_event_controller_class_init): upd.
3434 (spi_check_key_event): merge into.
3435 (spi_device_event_controller_check_key_event):
3436 here and kill strange static ev init, don't leak
3437 the x_event - nor dynamicaly allocate it.
3439 * registryd/registry-main.c (main): re-direct
3440 timeout to remove strange vtable mess.
3442 * registryd/deviceeventcontroller.c
3443 (remove_listener_cb): impl.
3444 (spi_controller_deregister_device_listener):
3445 fix re-enterancy hazard.
3447 2002-01-07 Michael Meeks <michael@ximian.com>
3449 * registryd/deviceeventcontroller.c
3450 (spi_device_event_controller_new): upd.
3451 (impl_notify_listeners_sync): upd. debug.
3452 (spi_notify_keylisteners): fix re-enterancy hazards,
3453 prettify, remove O(n*n) iteration.
3454 (spi_controller_grab_keyboard): fix iteration.
3455 (spi_check_key_event): re-format to suit coding style.
3456 Clean all the warnings - we're warning free.
3458 * registryd/deviceeventcontroller.h:
3459 * registryd/registry.h: make mutualy referential with
3460 typesafe forward references instead of (!) void pointer
3463 2002-01-11 Michael Meeks <michael@ximian.com>
3465 * cspi/spi_accessible.c (role_names): add a role name
3466 to sync this array with the enum; and make the regression
3469 2002-01-10 Michael Meeks <michael@ximian.com>
3471 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3472 allow expansion of enumeration & kill warning.
3474 * test/test-simple.c (key_listener_cb): impl.
3475 (test_keylisteners): impl.
3477 * cspi/spi-listener.h: make listener signatures const
3478 on the provided (const) events.
3480 * test/keysynth-demo.c: upd. to const events.
3482 * test/simple-at.c: ditto.
3484 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3487 Rev the version to 0.5 (the previous tarball was named 0.4,
3488 even though the micro number was 3), so we need to rev upwards
3489 again for beta2/"desktop-alpha"
3492 Checked in a demo script, which requires editing before use!
3493 Proceed with caution.
3496 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3498 * cspi/spi_accessible.c:
3499 Add a couple of missing enum initializations, and fix some enum
3502 * cspi/spi_registry.c:
3503 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3505 * docs/reference/cspi/at-spi-cspi-sections.txt:
3506 Remove/fix a couple of broken document references.
3509 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3510 as Alt-Control to listen for commands, since on some systems
3511 Control-Alt may already be grabbed.
3513 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3516 Update version number to 0.4 for Beta2.
3518 * libspi/accessible.c, libspi/accessible.h:
3519 Expose spi_accessible_construct, to enable libgail-gnome
3520 construction from spi_accessible subtype.
3522 * utils/magnifier.c:
3523 Workaround for bug in some non-gnome-compliant window managers
3524 which made magnifier resize improperly.
3526 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3528 * libspi/accessible.c: (spi_accessible_new) :
3529 Move the test for SPI_IS_REMOTE_OBJECT to
3530 spi_accessible_new_return, fixing a bug and compile time warning.
3532 2002-01-08 Michael Meeks <michael@ximian.com>
3534 * registryd/registry.c (parse_event_type): remove strndup.
3536 * libspi/Makefile.am (libspi_la_SOURCES): remove
3537 sources already included in the headers section.
3539 * libspi/util.c: add.
3541 * libspi/spi-private.h: add.
3543 * registryd/registry.c: update to moved list iterators.
3545 2002-01-05 Michael Meeks <michael@ximian.com>
3547 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3549 * test/test-simple.c (main): ditto.
3551 2002-01-04 Michael Meeks <michael@ximian.com>
3553 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3554 redundant construct.
3556 * registryd/registry.c
3557 (get_listener_list): impl.
3558 (impl_accessibility_registry_register_global_event_listener):
3559 re-impl. to simplify using ~, remove dodgy const cast off.
3560 (parse_event_type): constify.
3561 (impl_accessibility_registry_deregister_global_event_listener_all):
3562 re-write, more efficiency and simplicity, kill re-enterancy
3564 (compare_listener_corbaref, compare_corba_objects),
3565 (compare_listener_quarks): define out.
3566 (impl_accessibility_registry_deregister_global_event_listener):
3567 re-write for effiency, and nail re-enterancy hazard.
3568 (impl_accessibility_registry_get_desktop_list): impl.
3569 (re_enterant_list_delete_link): impl.
3570 (re_enterant_list_foreach): impl.
3571 (remove_listener_cb): impl.
3572 (_registry_notify_listeners): kill.
3573 (notify_listeners_cb): impl.
3575 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3576 (SPI_getDesktopList): impl.
3578 * test/test-simple.c (test_desktop): test the methods.
3580 2002-01-03 Michael Meeks <michael@ximian.com>
3582 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3583 keystrings since we free them
3584 (SPI_freeAccessibleKeySet): in here.
3586 * libspi/accessible.c (spi_accessible_new): kill warning,
3587 wonder what is going on with the constructor here.
3589 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3591 * libspi/accessible.c (spi_accessible_new ()) :
3592 Added check to see if AtkObject is an SpiRemoteObject before
3593 creating an SpiAccessible.
3595 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3597 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3598 Enable keygrabs using the Control modifier, now that they are
3599 working properly (they were previously disabled).
3602 Change the command keygrab for this demo to "Control+Alt", so as
3603 to conflict with fewer other key commands on the system; this
3604 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3606 Removed a pointlessly-chatty keylistener for unshifted keys
3607 (shifted keys are still reported).
3609 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3611 * libspi/remoteobject.h:
3612 * libspi/remoteobject.c:
3613 Added definitions for special AtkObject subtype, required for
3614 support of remote components (specifically, used by BonoboControl
3615 accessibility implementation).
3617 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3619 * cspi/spi.h: synched relation types with ATK
3621 * cspi/spi_accessible.c: Added implementations of
3622 AcccessibleRelation_* methods
3624 * idl/Accessibility_Relation.idl: added getRelationTypeName
3625 method. Synched known relation types with ATK. Allowed for
3626 relation type extension with the RELATION_EXTENDED type.
3628 * libspi/relation.c: Provided implementations for
3629 AccessibleRelation methods.
3631 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3633 API tweaks for today's API 'freeze'.
3636 Added placeholder functions to allow future compatible expansion
3637 of the IDL interfaces.
3639 * idl/Accessibility_Registry.idl:
3640 Changed generateKeyEvent to generateKeyboardEvent. Changed
3641 signature of this method to accept an optional keystring in
3642 parameter (for complex text input synthesis) and changed use of
3643 simple 'boolean' parameter in registerKeystrokeListener to a
3644 struct, EventListenerMode.
3646 * cspi/spi_accessible.c:
3648 * cspi/spi_streamablecontent.c:
3649 Added references to AccessibleStreamableContent interface, and
3650 definition and implementation of AccessibleStreamableContent
3653 * cspi/spi_registry.c:
3655 Changed generateKeyEvent API to generateKeyboardEvent,
3656 taking a new (optional) keystring parameter to support complex
3661 Renamed directory (to better reflect its actual purpose, bridging
3662 from at-spi to ATK). The .so module is also now named
3665 * idl/Accessibility_Hypertext.idl:
3666 * libspi/accessible.c:
3667 * libspi/hypertext.h:
3668 * libspi/hypertext.c:
3669 Changed Accessibility_Hypertext to *not* derive from
3672 * cspi/spi_registry.c:
3673 Added list of legal event type names for 'window' events, which
3674 completes the registry event API.
3676 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3678 * at-bridge/bridge.c: Added registration for separate
3679 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3680 signals. If either of the first two parameters to the generic
3681 bridge signal handler are ints, they are passed on as event
3682 details. This allows an AT to determine what text was inserted.
3684 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3686 * registryd/deviceeventcontroller.c:
3687 Fixed regressions in generateKeyEvent caused by the removal of
3688 gdk_init from registryd; we now use pure X calls to connect to the
3689 display, which makes sense because deviceeventcontroller already
3690 uses a fair bit of X API (should eventually be migrated to a
3691 'portability layer').
3693 * registryd/desktop.c:
3694 Fixed minor regression in spi_desktop_init, changed the way the
3695 desktop name is being set to work with new spi_base API
3696 (gobject-based, rather than AtkObject-based).
3698 * registryd/Makefile.am:
3699 Minor revision of makefile to use XTST_LIBS variable rather than
3700 hard-wiring the Xtst LD_ADD element.
3702 * test/keysynth-demo.c:
3703 Tweaked an output message; added initialization of the
3704 'keystrings' member of the "switch listener" key_set.
3706 * libspi/relation.c:
3707 Squashed compile-time warning.
3709 * libspi/accessible.c:
3710 Cosmetic and formatting fixes, renamed a static method.
3712 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3714 * libspi/accessible.c
3716 * libspi/application.c
3719 * libspi/component.c
3720 * libspi/editabletext.c
3721 * libspi/hyperlink.c
3722 * libspi/hypertext.c
3724 * libspi/selection.c
3728 * registryd/desktop.c:
3729 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3731 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3733 * idl/Accessibility_Registry.idl:
3734 Added boolean member 'is_text' to DeviceEvent. This is for the
3735 use of key events, and helps prevent ambiguity between composed
3736 key strings and keysym names, since both may potentially be
3737 returned in the 'event_string' member.
3739 * at-bridge/bridge.c:
3740 * registryd/deviceeventcontroller.c:
3741 Use the 'is_text' member when notifying device event listeners.
3742 Knon issue: composed characters are not dealt with correctly by
3743 the global key listener implementation yet.
3745 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3747 * at-bridge/bridge.c:
3748 Namespaced local static methods to spi_atk_bridge_* where
3749 previously named bridge_*, and spi_* elsewhere.
3751 * at-bridge/bridge.c:
3752 * cspi/bonobo/cspi-bonobo-listener.c:
3753 Added demarshalling/conversion for string member of
3754 Accessibility_DeviceEvent to AccessibleKeystroke.
3756 * registryd/deviceeventcontroller.c:
3757 Added code to fill the Accessibility_DeviceEvent key string value
3758 member for global key events (i.e. from XGrabKey), to match
3759 behavior of Accessibility_DeviceEvent from the toolkit key events
3760 from the bridge. Fixed timestamp in global key event notifications.
3763 Added printout of key event's string value to
3764 report_ordinary_key_event, for demo/debugging purposes.
3766 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3768 * idl/Accessibility_Registry.idl:
3769 Removed Accessibility_KeyStroke structure in favor of generic
3770 Accessibility_DeviceEvent structure.
3771 Changed Accessibility_ControllerEventMask from a struct to an
3774 * at-bridge/bridge.c:
3775 Changed APIs to use DeviceEvent structure as above, and removed
3776 bogus casting between these event structures.
3778 * cspi/spi-listener.h:
3779 Added keystring member of AccessibleKeystroke structure, to enable
3780 matching on event "names" rather than only hardware codes and
3784 Added keystrings member of AccessibleKeySet struct, to allow
3785 matching on event names (as above).
3786 Added declarations for SPI_createAccessibleKeySet and
3787 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3788 event modmasks directly as unsigned ints rather than structs with
3789 refcounts, in the DeviceEventController methods.
3791 * cspi/spi_registry.c:
3792 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3794 * cspi/spi-roletypes.h:
3795 Added documentation of newly added SPI Roles.
3797 * cspi/bonobo/cspi-bonobo-listener.c:
3798 Changes in support of API changes above.
3800 * libspi/accessible.c:
3801 Converted APIs to use DeviceEvent structure (see IDL changes
3804 * registryd/deviceeventcontroller.c:
3805 Added DEControllerGrabMask structure to track keygrabs not only by
3806 modmask but by keyset as well; this allows us to do "global"
3807 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3808 grabbing on AnyKey and then filtering after-the-fact.
3809 Bugfixes for event filtration mean that we don't get false matches
3810 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3812 * registryd/deviceeventcontroller.c:
3813 Namespaced a number of static methods to use spi_ prefix. Major
3814 revision to internals of global (i.e. X) key grabs.
3816 * registryd/deviceeventcontroller.h:
3817 Removed keymask_list and added keygrabs_list to
3818 SpiDeviceEventController struct.
3821 Added use of SPI_createAccessibleKeySet API when creating a
3822 listener for only one key. Attach a listener to "shift spacebar
3823 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3824 X key event names to SPI key event names, so that listeners are
3825 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3827 * test/keysynth-demo.c:
3828 Changed (incorrect) use of X key event names (KeyPressed,
3829 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3832 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3834 * libspi/accessible.c:
3835 Convert all AtkRole enumerations to Accessibility_Role enums when
3836 getting a role from an AtkObject.
3838 * cspi/spi_accessible.c:
3839 Complete the conversion of Accessibility_Role enums at runtime to
3840 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3841 role enums correctly match those given in spi-roletypes.h.
3842 Re-synchronize the local names list for AccessibleRole_getName ().
3843 AccessibleRole_getName is now deprecated, since it duplicates the
3844 more reliable Accessible_getRoleName.
3845 Added some role types from Accessibility_Role.idl.
3847 * idl/Accessibility_Role.idl:
3848 Added some role types used by AtkRole.
3850 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3853 * cspi/spi_registry.c:
3855 * cspi/cspi-bonobo-listener.c:
3856 Namespaced all methods that did not begin with an "SPI_" or
3857 "Accessible" prefix to "SPI_".
3860 Homogenized internal function namespace to "cspi_" for statics.
3863 Patched tests to use the new CSPI API.
3865 * docs/reference/cspi/at-spi-cspi-sections.txt:
3866 Updated docs to reflect namespace changes, and added a number of
3867 methods to the documentation.
3869 * registryd/registry.c:
3870 Changed use of strings and string hashes in listener event
3871 matching and parse_event_string to use GQuark, which is guaranteed
3874 * registryd/registry.h:
3875 Squashed annoying warning.
3877 * idl/Accessibility_Role.idl:
3878 Extended range of available Accessibility_Role values.
3880 * cspi/spi_accessible.c:
3881 Re-ordered role names.
3883 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3885 * idl/Accessibility_Value.idl:
3886 Revert use of union back to CORBA_double, since the double type is
3887 more efficient and can contain the other types without loss of
3890 * idl/Accessibility_Accessible.idl:
3891 Added method Accessibility:Accessible:getRoleName, to complement
3892 Accessibility:Accessible:getRole.
3894 * cspi/spi_accessible.c:
3896 Added C binding for above, Accessible_getRoleName (), and changed
3897 signature of Accessible_getRole () to return an AccessibleRole.
3899 * cspi/spi-roletypes.h:
3900 Changed AccessibleRole_getName to return a char * instead of a
3901 const char *. This method is now at least temporarily deprecated
3902 in favor of asking Accessibles for their RoleNames directly.
3905 Revert to match Accessibility_Value.idl;
3909 Change signature of AccessibleValue methods to use double rather
3913 * cspi/spi_accessible.c:
3914 Changed Accessible_getRole to return an AccessibleRole enum rather
3915 than a UTF-8 string. The UTF-8 string can still be obtained via
3916 AccessibleRole_getName ().
3918 * test/test-simple.c:
3919 Add test_action. Small fixup to match API change to Accessible_getRole.
3922 Bugfix for get_action_from_servant ().
3924 2001-12-11 Michael Meeks <michael@ximian.com>
3926 * libspi/libspi.h: remove registry.h and
3927 desktop.h, deviceeventcontroller.h
3929 * libspi/Makefile.am: remove registry.[ch],
3930 desktop.[ch], deviceeventcontroller.[ch]
3932 * registryd/Makefile.am: add registry.[ch],
3933 desktop.[ch], rename registryd.c to registry-main.c.
3934 add deviceeventcontroller.[ch]
3936 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3939 Replace setenv() call with putenv ().
3941 * libspi/component.c:
3942 Bugfix in AccessibleComponent_getExtents (),
3945 2001-12-11 Michael Meeks <michael@ximian.com>
3947 * libspi/image.c (impl_getImageExtents): impl.
3948 (spi_image_class_init): upd.
3951 (AccessibleImage_getImageDescription): fix daft bug
3954 * test/test-simple.c (global_listener_cb): update
3955 to only quit if not --poke
3956 (main): catch --poke.
3957 (validate_accessible): upd. dumping, call test_image
3960 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3963 * idl/Accessibility.idl: update all IDL includes.
3965 * idl/*.idl - rename to namespace - this sucks, blame
3966 mjs' bad decision for oafd.
3968 * test/test-simple.c (create_test_window): add more tests.
3969 (create_tree): split this out.
3970 (validate_accessible): bugfix.
3972 2001-12-11 Michael Meeks <michael@ximian.com>
3974 * cspi/bonobo/cspi-bonobo-listener.c:
3975 (cspi_kestroke_listener_unref),
3976 (cspi_event_listener_unref): impl. undoing previous
3977 homenous environment - for Bill.
3979 * cspi/spi_table.c (long_seq_to_array): use
3982 * cspi/spi_main.c: split out all bonoboish bits into
3985 * cspi/spi-impl.h: upd. typedefs.
3987 * cspi/spi_registry.c: update to lowlevel API,
3988 return booleans to indicate success in some places.
3990 * cspi/spi_event.c: update to lowlevel API.
3992 * cspi/bonobo/Makefile.am: add.
3994 * cspi/bonobo/cspi-lowlevel.h: add
3996 * cspi/bonobo/cspi-bonobo.c: add
3998 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4000 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4001 (SUBDIRS): add bonobo, link in the libs.
4003 * cspi/spi-util.c: kill this file.
4005 * TODO: merge in my bits.
4007 2001-12-11 Michael Meeks <michael@ximian.com>
4009 * test/test-simple.c (test_value, test_table, main):
4010 remove unused variables causing warnings.
4012 * configure.in: cleanup checks - require gail.
4014 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4017 Changed Value interface to use SValue (scalars) rather than
4018 assuming all values are floats. This allows floats, doubles,
4019 longs, shorts, and unsigned values to be manipulated.
4020 Introduced Accessibility:SValue union.
4023 Updated to use new API above, and to work correctly with GValues
4024 of different types in AtkValue.
4027 Updated to use new API above. cspi's API is as yet unchanged.
4030 Updated the Value revision action item.
4032 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4034 * test/test-simple.c:
4035 Added test_table (GtkTreeView widget in test window to follow).
4036 Un-commented test_value, added GtkRange widget.
4037 Added GtkTreeView widget with GtkListStore. It passes regression
4038 test but leaks one SPI object for some reason.
4041 Fixed bug in impl__set_currentValue.
4043 2001-12-10 Michael Meeks <michael@ximian.com>
4045 * cspi/spi_text.c: audit for exception handling,
4046 tolerating NULL object references safely etc.
4048 * cspi/spi_value.c: ditto.
4050 * cspi/spi_table.c (AccessibleTable_getSummary),
4051 (AccessibleTable_getAccessibleAt),
4052 (AccessibleTable_getRowHeader),
4053 (AccessibleTable_getColumnHeader),
4054 (AccessibleTable_getCaption): fix bugs hidden by
4056 (long_seq_to_array): impl.
4057 (AccessibleTable_getSelectedRows),
4058 (AccessibleTable_getSelectedColumns): use it.
4060 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4063 Added a TODO list (rough and short for now).
4065 * cspi/spi_hyperlink.c:
4066 * cspi/spi_hypertext.c:
4067 Fixed macro name typos, and remove use of obsolete macro in
4068 AccessibleHyperlink_getLink.
4070 * cspi/spi_action.c:
4071 * cspi/spi_accessible.c:
4072 * cspi/spi_application.c:
4073 * cspi/spi_component.c:
4074 * cspi/spi_selection.c:
4077 Documentation fixes (removed return values from ref/unref methods).
4079 2001-12-10 Michael Meeks <michael@ximian.com>
4081 * cspi/spi_action.c: audit for exception handling,
4082 tolerating NULL object references safely etc.
4084 * cspi/spi_accessible.c: ditto.
4086 * cspi/spi_component.c: ditto.
4088 * cspi/spi_editabletext.c: ditto.
4090 * cspi/spi_hyperlink.c: ditto.
4092 * cspi/spi_hypertext.c: ditto.
4094 * cspi/spi_image.c: ditto.
4096 * cspi/spi_selection.c: ditto.
4098 2001-12-10 Michael Meeks <michael@ximian.com>
4100 * configure.in: use cspi/libspi.pc.in instead.
4102 * Makefile.am (pkgconfig_DATA): upd. to match.
4104 * test/simple-at.c (report_focus_event): kill hacks around
4105 bad return values, use putenv not setenv
4107 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4108 fire ChildGone - I killed it.
4110 * libspi/component.c
4111 (impl_accessibility_component_get_extents): remove
4114 * idl/Accessible.idl: kill ChildGone exception.
4116 * cspi/*.[ch]: kill int return from ref / unref.
4118 * cspi/spi_main.c (cspi_object_add_check): fold into
4119 (cspi_object_add): here.
4121 * cspi/spi_component.c (AccessibleComponent_getExtents):
4122 handle exceptions elegantly.
4124 * cspi/spi-private.h (cspi_check_ev_return),
4125 (cspi_return_if_fail): impl.
4127 * cspi/spi_accessible.c: use extensively.
4128 (AccessibleStateSet_equals): add direct compare check.
4130 * cspi/spi_selection.c: tolerate NULL objs, and check
4131 exceptions before return.
4133 * cspi/spi-util.c (cspi_warn_ev): rename to
4134 (cspi_check_ev): this & don't pass ev in; no point.
4136 2001-12-10 Michael Meeks <michael@ximian.com>
4138 * test/test-simple.c: use putenv not setenv
4139 (get_environment_vars): more chatty if you're not using
4142 * test/simple-at.c: do the setenv so more people see the
4145 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4147 * libspi/registry.c:
4148 Changed check of CORBA_environment on notification to be a warning
4149 instead of an error for the moment, since we can recover from this
4150 error when caused by a queued notification from a dead app.
4153 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4154 used by all current implementors of AtkValue), and coerce to
4155 CORBA_float. (Proper general case fix may require change to Value.idl).
4157 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4161 * cspi/spi_accessible.c:
4162 Documentation fixes: added user_data params to documentation for
4163 listeners and callbacks.
4165 * cspi/spi_accessible.c:
4166 Changed AccessibleStateSet_compare to return a
4167 StateSet rather than return the difference set into a third parameter.
4170 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4173 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4174 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4178 Remove subdirectory po from SUBDIRS for now.
4180 * at-bridge/bridge.c:
4181 Beefed up a couple of debug printouts.
4182 One-line fix for signal notification name formatting.
4184 * libspi/accessible.c:
4185 Added assertion to spi_accessible_new ().
4187 * libspi/application.c:
4188 Put #ifdef qualifiers around a printf.
4191 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4193 * registryd/Makefile.am:
4195 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4196 INTLTOOL_SERVER_RULE macro.
4199 Added an event listener for several ATK signals, for
4200 testing and debugging. Removed a few g_warnings.
4201 Added test output if focussed item implements the Value interface.
4203 * test/test-simple.c:
4204 Added test_value () function (known not to pass at the moment, so
4205 not actually called yet.
4207 2001-12-08 Michael Meeks <michael@ximian.com>
4209 * at-bridge/bridge.c (bridge_focus_tracker),
4210 (emit_eventv): fix the same ref. leak.
4211 (register_atk_event_listeners): don't leak.
4213 * cspi/spi-listener-impl.c (cspi_event): more
4214 protection from client code.
4216 * test/test-simple.c (test_desktop): unref the app.
4218 * test/Makefile.am: upd. TESTS.
4220 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4222 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4224 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4226 * cspi/spi_registry.c: constify in strings.
4227 (deregisterGlobalEventListenerAll): don't release the ref.
4229 * cspi/spi.h: start removing redundant / conflicting
4230 gtkdoc comments, making the API readable at a glance :-)
4232 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4234 * test/keysynth-demo.c (keysynth_exit, main): upd.
4236 * test/simple-at.c (main, simple_at_exit): upd.
4238 * test/test-simple.c (unutterable_horror): kill.
4239 (utterable_normal_derefs): kill.
4240 (main): upd & do a setenv before gtk_init, so that we
4241 can use memprof - and to save the pain of remembering
4242 this, if we're running under memprof - don't exit.
4244 * cspi/spi_main.c (SPI_exit): return exit status
4246 (SPI_event_quit): impl.
4247 (SPI_event_main): simplify.
4248 (cspi_is_gnome_app): kill.
4249 (SPI_init): kill isGNOMEapp arg.
4251 * at-bridge/bridge.c (register_atk_event_listeners):
4252 re-instate the unref.
4253 (bridge_exit_func): don't re-activate the registry,
4254 protect vs. theoretical re-entry, use the
4255 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4256 assert a clean shutdown - for regression tests.
4258 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4260 * configure.in: Comment out dummy i18n support for now,
4261 otherwise it fails to build.
4262 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4263 EXTRA_DIST. They are missing in tarball.
4265 2001-12-07 Michael Meeks <michael@ximian.com>
4267 * util/magnifier.c: kill bonobo activation reg. race.
4269 * libspi/component.c
4270 (impl_accessibility_component_get_extents): make it match
4273 * libspi/registry.c (_registry_notify_listeners):
4274 re-remove X headers & reconcile conflicts.
4275 (spi_listener_struct_free): bad conflict resolve.
4276 (impl_accessibility_registry_register_application):
4277 more bad merging fixed.
4278 (impl_accessibility_registry_deregister_application): ditto.
4279 (spi_registry_new): ditto.
4280 (spi_registry_init): don't have an applications field.
4282 [ merge fixups2 branch to here ]
4283 2001-12-07 Michael Meeks <michael@ximian.com>
4285 * test/simple-at.c (report_focus_event),
4286 (report_focussed_accessible): remove g_warning debug.
4288 2001-12-07 Michael Meeks <michael@ximian.com>
4290 * test/test-simple.c (validate_tree): comment out some checks.
4291 (test_desktop): app now not registered idly - horay.
4293 2001-12-07 Michael Meeks <michael@ximian.com>
4295 * cspi/spi_registry.c
4296 (registerAccessibleKeystrokeListener): clean, stop it leaking
4297 great swathes of memory, and device event controller references.
4298 ensure we always pass valid sequences.
4299 (deregisterAccessibleKeystrokeListener): ditto.
4300 (generateKeyEvent): upd.
4302 * at-bridge/bridge.c (bridge_key_listener): handle
4303 registry dead exception gracefully.
4304 (bridge_focus_tracker, emit_eventv): free ev.
4306 * test/simple-at.c (report_focus_event): fix polarity.
4308 * libspi/application.c (notify_listeners): kill the ev
4309 argument, and make sure we init the ev we use.
4310 (spi_application_object_event_listener): split out a chunk
4311 (get_atk_object_ref): here & fixup.
4312 (reverse_lookup_name_for_toolkit_event): make const.
4313 (spi_application_toolkit_event_listener): fixup, kill leaks
4316 * at-bridge/bridge.c (register_atk_event_listeners):
4317 don't unref the noop object - causes grief.
4319 * libspi/registry.c: remove the X headers.
4320 turn off the debug churn.
4322 * libspi/accessible.c (spi_accessible_new_return): only
4323 release the ref if we are supposed to [doh]
4325 * test/simple-at.c (report_button_press, report_focus_event):
4326 guard vs. unexpected exit.
4328 * at-bridge/bridge.c (gtk_module_init): prune printf.
4329 (bridge_exit_func): fix app unref.
4331 * libspi/Makefile.am: don't install registry or desktop.h
4333 * libspi/*.h: update includes.
4335 * libspi/application.h: don't include ourself, or
4336 other redundant headers.
4338 2001-12-06 Michael Meeks <michael@ximian.com>
4340 * libspi/accessible.c
4341 (get_accessible_from_servant): impl.
4342 Upd. all CORBA impl.s to use it killing cut and paste.
4344 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4346 (SPI_init): register atexit cleanup handler here.
4348 2001-12-06 Michael Meeks <michael@ximian.com>
4350 * at-bridge/bridge.c (gtk_module_init): g_error on
4351 activation exception
4353 2001-12-06 Michael Meeks <michael@ximian.com>
4355 * at-bridge/bridge.c (gtk_module_init): some sort of
4356 confusing merge clash - reverted.
4357 (bridge_idle_init): ditto.
4359 * test/test-simple.c (main, utterable_normal_derefs):
4360 merge from Bill - somehow not committed.
4362 2001-12-06 Michael Meeks <michael@ximian.com>
4364 * libspi/value.c (spi_value_class_init): upd.
4365 (spi_value_finalize): kill.
4367 * libspi/table.c (spi_table_finalize): kill.
4368 (spi_table_interface_new): upd.
4369 (spi_table_class_init): upd.
4370 (get_table_from_servant): impl.
4371 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4373 * libspi/selection.c (spi_selection_finalize): kill.
4374 (spi_selection_interface_new): upd.
4375 (spi_selection_class_init): upd.
4376 (get_selection_from_servant): impl.
4377 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4379 * libspi/relation.c (spi_relation_finalize): kill.
4380 (spi_relation_class_init, spi_relation_new): upd
4382 * libspi/image.c (spi_image_finalize): kill.
4383 (spi_image_class_init): upd.
4384 (spi_image_interface_new): upd.
4385 (get_image_from_servant): impl.
4386 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4388 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4389 (spi_hyperlink_finalize): kill.
4390 (spi_hyperlink_new): upd.
4391 (get_hyperlink_from_servant): impl.
4392 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4394 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4395 (spi_hypertext_finalize): kill.
4396 (spi_hypertext_class_init): upd.
4397 (get_hypertext_from_servant): impl.
4398 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4400 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4401 (spi_editable_text_interface_new): upd.
4402 (get_editable_text_from_servant): impl.
4403 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4405 * libspi/text.c (get_text_from_servant): impl.
4406 All impls - update to use it killing more cut and paste,
4407 also fix bad string returns on duff args ( a somewhat
4408 impossible case to handle - but hey ).
4409 (spi_text_construct): impl.
4410 (spi_text_interface_new): upd.
4411 (spi_text_object_finalize): kill.
4413 * libspi/component.c
4414 (accessibility_component_object_finalize): kill.
4415 (spi_component_class_init): upd.
4416 (get_component_from_servant): impl. helper to kill cut & paste.
4417 (impl_accessibility_component_contains):
4418 (impl_accessibility_component_get_accessible_at_point):
4419 (impl_accessibility_component_get_position):
4420 (impl_accessibility_component_get_extents):
4421 (impl_accessibility_component_get_mdi_z_order):
4422 (impl_accessibility_component_get_layer):
4423 (spi_component_interface_new): upd.
4425 * libspi/action.c (spi_action_finalize): kill.
4426 (spi_action_class_init): upd. inherit from SpiObject.
4427 (spi_action_interface_new): upd.
4428 (get_action_from_servant): impl. helper to reduce cut & paste.
4429 (impl_getKeyBinding, impl_getName, impl_doAction),
4430 (impl_getDescription): Use it everywhere.
4432 * cspi/spi_main.c (get_live_refs): a pointer hash.
4433 (spi_object_hash, spi_object_equal): comment out.
4434 There are issues with CORBA object hashing that need
4437 * libspi/application.c (spi_application_init),
4438 (spi_application_new): upd.
4440 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4441 (spi_accessible_class_init): upd.
4442 s/accessible/object/ in epv methods.
4444 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4446 * at-bridge/bridge.c:
4447 Reorder the bridge initialization into the bridge gtk_module_init,
4448 an immediate call to bridge_register_app, and an idle_add for
4449 register_atk_event_listeners (the only code that *must* wait until
4450 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4451 the activation, creates the application's Accessible object, and
4452 queues the bridge_idle_init function. Restored call to
4453 Accessibility_Registry_deregisterApplication().
4454 Prior to making this call we obtain a new reference to the
4455 registry, which is a temporary hack that helps us handle apps that
4456 shut down the bonobo mainloop before we get there.
4458 * libspi/registry.c:
4459 Fix string leakage in debug block, and don't segv if a an app
4460 dies before its event notifications have been propagated.
4463 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4464 as stopgap measure until we get proper exception handling when
4465 objects die during or before interrogation.
4469 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4470 Also changed default value of is_gnome_app to TRUE.
4473 * test/keysynth-demo.c:
4474 Changed use of SPI_init and SPI_event_main to reflect API change above.
4477 Made report_focus_event check the warning value from getName
4478 before reporting on focussed accessible; simplifies handling of
4479 notifications from dead objects.
4481 * test/test-simple.c: (Changes not in this patch since source is
4484 2001-12-05 Michael Meeks <michael@ximian.com>
4486 * registryd/registryd.c (main): protect against
4487 bonobo-activation startup race condition.
4489 * cspi/spi_main.c (cspi_object_add_check): cope
4490 with the exception elegantly.
4492 * idl/Accessible.idl: decl. ChildGone
4494 * libspi/desktop.c (spi_desktop_dispose): impl.
4495 (spi_desktop_class_init): upd.
4496 (spi_desktop_add_application),
4497 (spi_desktop_remove_application),
4498 (abnormal_application_termination): impl.
4499 (impl_desktop_get_child_at_index): re-impl.
4502 (impl_accessibility_registry_deregister_application),
4503 (impl_accessibility_registry_register_application):
4504 kill excessive debug clutter.
4506 * test/test-simple.c (test_misc): test some NULL
4507 tolerance. (main): upd.
4509 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4510 implements no interfaces - so let's not crash.
4512 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4514 * libspi/accessible.c (spi_accessible_new_return): impl.
4515 helper to calm the cut and paste, to cope with
4516 NULL AtkObjects effectively and efficiently, and to kill
4517 the referencing bugs.
4519 * libspi/table.c (impl_getAccessibleAt),
4520 (impl_getRowHeader, impl_getColumnHeader): upd.
4522 * libspi/hyperlink.c (impl_getObject): upd.
4524 * libspi/accessible.c
4525 (impl_accessibility_accessible_get_child_at_index): upd.
4527 * libspi/component.c
4528 (impl_accessibility_component_get_accessible_at_point): upd.
4530 * test/test-simple.c (test_editable_text, test_text): impl.
4533 * cspi/spi_editabletext.c
4534 (AccessibleEditableText_insertText): constify.
4536 * test/test-simple.c (focus_me): make more robust.
4538 * libspi/accessible.c: remove some printfs in methods that
4539 we test and work fine, so we can get a clean tree dump.
4541 * test/test-simple.c (validate_accessible),
4542 (validate_tree): make tree dumping pretty too.
4544 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4545 it builds without debug on.
4547 * test/test-simple.c (validate_accessible): fix the most
4550 * cspi/spi_main.c (spi_object_release): leave the nicely
4551 blanked memory around if in debug mode.
4553 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4555 [committed to fixups2]
4556 2001-12-05 Michael Meeks <michael@ximian.com>
4558 * libspi/editabletext.c
4559 (spi_editable_text_class_init): g_type_class_peek_parent,
4560 not interface peek - so we finalize cleanly.
4562 * libspi/accessible.c (spi_accessible_new): kill debug.
4564 * test/test-simple.c (validate_accessible): fix ref.
4565 leak, print strings before freeing them; sigh, comment a
4566 chunk out due to strangeness.
4567 (validate_tree): unref the child after use.
4569 * cspi/spi_component.c (AccessibleComponent_getLayer):
4570 add missing break statement, switch on zlayer not the
4571 uninitialized retval.
4573 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4574 before (possibly re-entering) remote unref.
4576 * test/simple-at.c (main): unref the desktop.
4578 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4581 * cspi/spi_main.c (cspi_accessible_is_a): here to
4582 isolate bonobo API usage more.
4584 * libspi/registry.c (impl_accessibility_registry_register_application):
4585 prune bogus comment.
4587 2001-12-04 Michael Meeks <michael@ximian.com>
4589 * test/test-simple.c (validate_tree): upd.
4590 IndexInParent check to make it more lucid.
4591 (validate_accessible): dump the tree.
4593 * libspi/accessible.c (de_register_public_ref),
4594 (get_public_refs): impl.
4595 (spi_accessible_new): make more efficient & intuitive.
4596 Now IndexInParent check works.
4598 2001-12-04 Michael Meeks <michael@ximian.com>
4600 * cspi/spi-util.h: remove.
4602 * cspi/spi.h: move SPI_freeString here
4604 * libspi/component.c (impl_accessibility_component_get_layer):
4606 (impl_accessibility_component_get_mdi_z_order): ditto,
4607 return -1 on error - is this ok ?
4609 * test/test-simple.c (test_application): impl.
4611 * cspi/spi_accessible.c (Accessible_getApplication),
4612 (Accessible_isApplication): impl.
4614 * libspi/registry.c (spi_listener_struct_free): release
4615 the CORBA reference too.
4617 * libspi/accessible.c
4618 (impl_accessibility_accessible_get_parent): fix ref leak.
4620 * libspi/registry.c (spi_registry_new): make the registry
4621 immortal - we don't want it to go away ever.
4623 * libspi/application.c
4624 (spi_accessible_application_finalize): impl. cleanup.
4626 * cspi/spi_registry.c
4627 (deregisterGlobalEventListenerAll),
4628 (deregisterGlobalEventListener),
4629 (deregisterAccessibleKeystrokeListener): fix ref leak.
4631 * cspi/spi_main.c (SPI_init): remove redundant ref.
4633 * test/test-simple.c (unutterable_horror): impl. to force a
4638 (impl_accessibility_registry_deregister_application): release
4639 the application when we de-register it.
4641 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4642 until we have the infastructure to get it right.
4644 2001-12-03 Michael Meeks <michael@ximian.com>
4646 * libspi/Makefile.am: only build eventlistener.[ch]
4648 * libspi/accessible.c
4649 (impl_accessibility_accessible_get_child_at_index): don't leak.
4651 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4652 before we hit the idle handler.
4654 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4655 debugging than exit.
4657 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4659 * libspi/listener.c (impl_notify_event): check source
4660 not NIL before unref.
4662 * libspi/registry.c (impl_registry_notify_event): ditto.
4664 * libspi/eventlistener.c
4665 (impl_accessible_event_notify_event): unref the source.
4667 * libspi/accessibleeventlistener.c
4668 (impl_accessible_event_notify_event): unref the source.
4670 * idl/Event.idl: remove 'hash_id' attribute - of no
4673 * libspi/application.c (notify_listeners): upd list
4675 (spi_application_object_event_listener),
4676 (spi_application_toolkit_event_listener): upd to do correct
4680 (_registry_notify_listeners): update.
4681 (parse_event_type): this method also leaks like a sieve.
4682 (impl_accessibility_registry_deregister_global_event_listener):
4683 fix ETYPE_WINDOW case.
4685 * libspi/application.c
4686 (impl_accessibility_application_register_object_event_listener):
4689 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4691 * libspi/hypertext.c (impl_getLink): ditto.
4693 * cspi/spi_main.c (cspi_object_add): remove
4694 bogus CORBA_Object_duplicate.
4696 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4699 * cspi/spi_accessible.c
4700 (Accessible_getRelationSet): fix leak / referencing issue.
4702 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4703 (cspi_object_add, cspi_object_unref): upd.
4704 (spi_object_release, get_live_refs): impl.
4705 (cspi_cleanup): simplify.
4707 * *.[ch]: s/boolean/SpiBoolean/
4709 * cspi/spi_accessible.c (role_names): actualy order so it
4710 corresponds with the enum !
4712 * test/test-simple.c (test_roles): check some role strings
4713 vs. enums to detect offset errors.
4715 2001-12-01 Michael Meeks <michael@ximian.com>
4717 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4719 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4721 (Accessible_getChildAtIndex): use cspi_add_check so we
4722 check the ev before using a (possibly) invalid value.
4724 * libspi/accessible.c
4725 (impl_accessibility_accessible_get_parent): don't segv
4728 * at-bridge/bridge.c (gtk_module_init): upd.
4729 (bridge_property_event_listener): don't leak strings
4731 (bridge_state_event_listener),
4732 (bridge_property_event_listener): don't use a static
4733 buffer in case of recursive event emission &
4734 re-enterancy - split out the swathe of cut and paste
4736 (emit_eventv): and fix 2 ref leaks here & comply to the
4738 (bridge_register_app): rename to
4739 (bridge_idle_init): this and kill arg parsing, split
4740 various inits & bonobo-activation registration to module
4741 init time, kill referencing error.
4742 (bridge_exit_func): fix the same leak.
4743 (bridge_focus_tracker): don't leak event structures
4745 (bridge_signal_listener): more leakage and cut & paste
4747 (bridge_key_listener): return the result - FIXME is
4748 this polarity correct ?
4749 (accessibility_keystroke_from_atk_key_event): rename
4750 (accessibility_init_keystroke_from_atk_key_event): and stop
4752 (gtk_module_init): return a value - not that it is checked by
4754 (bridge_key_listener): register my horror at casting between
4755 IDL defined structs.
4756 (bridge_get_registry): kill - not used.
4758 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4760 * test/test-simple.c (test_roles): impl.
4761 (test_desktop, validate_accessible, validate_tree): impl.
4763 * cspi/spi_accessible.c (role_names): fixup bogus
4764 MAX_ROLES setup, make constants const for efficient linkage
4765 (AccessibleRole_getName): conform to coding style, make
4768 2001-11-30 Michael Meeks <michael@ximian.com>
4770 * cspi/spi.h: add missing prototype.
4772 * libspi/registry.c (spi_listener_struct_new): fix sig.
4774 * test/Makefile.am: add test-simple
4776 * test/test-simple.c: add
4778 * test/test.sh: add.
4780 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4782 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4783 do it straight - since otherwise we often get an activation race.
4785 [ work before Bill duplicated a chunk of it ... ]
4786 2001-11-30 Michael Meeks <michael@ximian.com>
4788 * libspi/keystrokelistener.c
4789 (spi_keystroke_listener_class_init): fixup arg
4792 * libspi/eventlistener.c
4793 (spi_event_listener_class_init): ditto.
4795 * tests/test.sh: add.
4797 * cspi/spi-listener-impl.h: update macros.
4799 * cspi/spi-listener-impl.c
4800 (cspi_event_listener_remove_callback): add
4801 correct pre-conditions.
4803 * cspi/spi_main.c (SPI_exit): guard vs. double
4804 exits, exit the mainloop nicely.
4805 (SPI_event_main): make more sense.
4806 (SPI_init): move the atexit evilness here so we
4807 always do it (yuck).
4808 (SPI_event_main): upd.
4810 * test/simple-at.c: update for listener changes.
4812 * registryd/registryd.c (main): prune kruft.
4814 * libspi/libspi.h: upd.
4816 * libspi/eventlistener.[ch]: rename broken macros.
4818 * libspi/accessibleeventlistener.[ch]: remove.
4820 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4822 * test/test-simple.c: Add - automated tests.
4824 * cspi/spi-listener-impl.c (cspi_event),
4825 (cspi_key_event): add user_data to invoke.
4826 (cspi_keystroke_listener_finalize): impl.
4827 (cspi_keystroke_listener_class_init): upd.
4830 (createAccessibleEventListener),
4831 (AccessibleEventListener_addCallback),
4832 (createAccessibleKeystrokeListener),
4833 (AccessibleKeystrokeListener_addCallback): upd.
4835 * libspi/deviceeventcontroller.c
4836 (spi_device_event_controller_check_key_event): add public proto.
4839 (impl_accessibility_registry_deregister_global_event_listener):
4840 always init listeners.
4841 (_registry_notify_listeners): yes it is.
4843 * cspi/spi-listener-impl.c (cspi_key_event):
4845 (cspi_event_listener_finalize): impl.
4846 (cspi_event_listener_class_init): hook up.
4847 (event_handler_new, event_handler_free),
4848 (event_list_remove_by_callback): impl.
4849 (cspi_event_listener_remove_callback),
4850 (cspi_keystroke_listener_remove_callback),
4851 (cspi_keystroke_listener_add_callback),
4852 (cspi_event_listener_add_callback): upd.
4854 * libspi/keystrokelistener.c
4855 (keystroke_listener_object_finalize): kill
4856 (spi_keystroke_listener_class_init): upd.
4857 (spi_keystroke_listener_add_callback),
4858 (spi_keystroke_listener_remove_callback): kill,
4860 (impl_key_event): prune drasticaly.
4862 * libspi/eventlistener.c
4863 (spi_event_listener_add_callback),
4864 (spi_event_listener_remove_callback): kill, use
4866 (impl_accessible_event_notify_event): upd.
4867 (spi_event_listener_object_finalize): remove.
4869 * libspi/Makefile.am: use eventlistener.[ch]
4871 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4873 * libspi/registry.c (_registry_notify_listeners):
4874 Changed listener loop iteration to use preferred convention.
4875 Got rid of string memory leaks caused be calling g_strconcat
4876 inside function calls.
4878 * libspi/registry.c (parse_event_type):
4879 Stopped g_strconcat memory leaks, free the g_strsplit return,
4880 g_strdup the split pieces when used, etc.
4882 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4885 Change method 'compare' to return a 'difference set' rather than
4886 taking a StateSet as an out parameter (more Java-friendly).
4888 * idl/Accessible.idl:
4889 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4891 * idl/Component.idl:
4893 Changed methods 'getExtents' and 'getImageExtents' in these
4894 interfaces to return a BoundingBox structure.
4895 (getPosition and getSize are redundant and possibly should be
4896 removed, rather than creating a corresponding Point struct.)
4898 * cspi/spi_component.c:
4899 Modify implementation of getExtents to reflect the above IDL
4904 Add (missing) AccessibleImage_getExtents () API.
4906 * docs/reference/cspi/at-spi-cspi-sections.txt:
4907 Added AccessibleImage_getImageExtents () to docs.
4909 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4911 * idl/Component.idl:
4912 Added two methods, getLayer () and getMDIZOrder (), to reflect
4913 the new ATK methods atk_object_get_layer and
4914 atk_object_get_mdi_z_order. (Which arguably should be part of the
4915 AtkComponent API and AtkObject). Also added an enum,
4916 ComponentLayer, for the first method's return value.
4918 * libspi/component.c:
4919 Added implementations for these methods.
4921 * cspi/spi_component.c:
4923 Added cspi binding methods for above,
4924 AccessibleComponent_getLayer() and
4925 AccessibleComponent_getMDIZOrder().
4926 Added cspi enum 'AccessibleComponentLayer'.
4928 * docs/reference/cspi/at-spi-cspi-sections.txt:
4929 Added above methods to docs.
4933 Changed typedef for 'boolean' type (and all references to it) to
4934 SPIBoolean, to avoid keyword clashes with C++.
4937 Changed usages of 'boolean' to SPIBoolean.
4939 * test/keysynth-demo.c:
4940 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4941 app), except where SPIBoolean is required by the callbacks API.
4943 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4945 * cspi/spi_registry.c:
4946 Removed obsolete X event loop for passive keygrabs (which now
4949 * registryd/registryd.c:
4950 Removed unnecessary call to gdk_init() [cruft]. This also allows
4951 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4954 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4956 * docs/reference/cspi:
4957 Included docs for SPI_freeString in generated documentation.
4960 Renamed spi_freeString to SPI_freeString, for consistency. Added
4961 documentation for this function.
4964 Renamed spi_freeString to SPI_freeString, for consistency.
4965 Removed obsolete method declaration string_from_corba_string.
4967 * test/keysynth-demo.c:
4968 Small tweak to comments.
4971 Stopped leaking the strings returned from CSPI.
4973 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4975 Merged Michael's branch (see his ChangeLog entries below).
4977 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4978 bridge is alive, release on exit.
4980 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4981 Fix type check macro.
4984 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4987 Added is_gnome_app static, and method cspi_is_gnome_app(),
4988 so we can call the appropriate shutdown routine at exit in SPI_exit.
4990 * cspi/spi_main.c (cspi_object_ref):
4991 Duplicate the corba object passed in, since we're keeping it around.
4993 * cspi/SPI_exit.c, cspi_cleanup:
4994 Moved the releasing of the live refs to its own function, so we
4995 can put it in g_atexit (). Call the appropriate shutdown API
4996 depending on whethe calling client is a gnome app or not
4997 (bonobo_main_quit or CORBA_ORB_shutdown).
4999 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5000 Unref the listener when this method is called, after
5001 deregistration. Updated the API docs to note this behavior.
5003 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5004 Bugfixes: Ref the bonobo object when returning a parent or child
5005 reference, or an AccessibleRelation. Generally made sure
5006 BonoboObject refcount is incremented whenever we return an
5009 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5010 Fixed typo/bug in signal declaration.
5012 * libspi/accessibleeventlistener.h:
5015 * libspi/application.c (spi_application_new):
5016 Fixed leak in initialization.
5019 Remembered to increment bonobo-object refcount when returning
5020 children (applications) from desktop object.
5021 Added (empty) finalize method.
5023 * libspi/deviceeventcontroller.c:
5024 Hold a ref to listeners inside DEControllerKeyListeners.
5025 Added dec_key_listener_free() method. Use prepend instead of
5026 append in key_listener list. Fixed some refcount madness and
5027 leaks in the listener registration/deregistration - deregistration
5028 now calls dec_key_listener_free() on listeners, and on the
5029 temporarily constructed dec_key_listener() used to perform the search/match.
5031 * libspi/hypertext.c (spi_hypertest_finalize):
5032 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5033 class. Also fixed spi_hypertext_interface_new() and
5034 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5036 * libspi/hypertext.h:
5037 Removed pointless and duplicate AtkObject pointer from
5040 * libspi/keystrokelistener.c:
5041 Fixed incorrect type of keystroke_listener_parent_class,
5042 renamed keystroke_listener_object_finalize to
5043 spi_keystroke_listener_object_finalize.
5044 Fixed typo in signal declaration
5045 (spi_keystroke_listener_class_init).
5047 * libspi/registry.c:
5048 Added funcsions spi_listener_struct_new() and
5049 spi_listener_struct_free() to help with memory management issues.
5050 We also now use these methods instead of gnew + poking stuff into
5051 the struct, and to decrement listener counts/free the listeners
5052 when deregistering them.
5053 Fix more refcount bugs in getDesktop() and
5054 getDeviceEventController().
5057 De-ref the desktop after enumerating the applications. Explicitly
5058 decrement the refcounts on the created listeners on exit (using
5059 _unref for keystroke listeners, and via the
5060 deregisterGlobalEventListenerAll command for other event
5063 2001-11-27 Michael Meeks <michael@ximian.com>
5065 * cspi/spi-listener.h: fixup enum.
5067 2001-11-27 Michael Meeks <michael@ximian.com>
5069 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5070 (cspi_keystroke_listener_new): Use the cspi variants.
5072 2001-11-26 Michael Meeks <michael@ximian.com>
5074 * test/keysynth-demo.c: fix 2 compile warnings, missing
5077 * test/simple-at.c (report_focussed_accessible),
5078 (report_focus_event, report_button_press),
5079 (check_property_change, is_command_key),
5080 (report_ordinary_key_event, report_command_key_event): upd.
5082 * util/mag_client.h: include pre-requisites.
5084 * libspi/accessibleeventlistener.c
5085 (spi_event_listener_object_finalize): free any lingering
5088 * libspi/keystrokelistener.c
5089 (keystroke_listener_object_finalize): ditto.
5091 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5092 callbacks, with cspi types.
5094 * cspi/spi_event.c (createAccessibleEventListener): chain to
5095 (AccessibleEventListener_addCallback): here.
5096 (createAccessibleKeystrokeListener): chain to
5097 (AccessibleKeystrokeListener_addCallback): here.
5099 * libspi/keystrokelistener.c
5100 (spi_keystroke_listener_class_init): add signal.
5101 (impl_key_event): emit the event.
5102 (boolean_handled_accumulator): impl.
5103 (marshal_BOOLEAN__POINTER): add, gack.
5105 * libspi/accessibleeventlistener.c
5106 (spi_event_listener_class_init): add signal.
5107 (impl_accessible_event_notify_event): emit the signal &
5108 make the loop efficient.
5109 (spi_event_listener_add_callback): prepend the callback.
5111 * libspi/accessibleeventlistener.h: add an 'event' signal,
5112 decl type on callback.
5114 * libspi/keystrokelistener.h: ditto.
5116 * cspi/spi-listener.h: make methods typesafe and
5117 make them use the new event typedefs.
5119 * test/simple-at.c (report_focussed_accessible):
5120 include mag_client.h
5121 Use *(void *)text_interface not the other thing.
5123 * configure.in: add gtk to registryd bits - since we use
5126 * util/magnifier.c: include libbonobo.h
5128 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5130 * test/keysynth-demo.c:
5131 Turned this into a simple scanning keyboard, to demonstrate the
5132 use of g_timeout_add () as a means of creating timers for
5133 scanning, and the use of GtkStyle for visually indicating when
5134 virtual keyboard elements are selected.
5136 keysynth-demo now listens to any keyboard keys with zero-valued
5137 keycodes (i.e. 'unused' keys) and interprets them as
5140 Reworked the shiftlatch code so that shift-down state isn't held
5141 for long periods (it's only synthesized immediately prior to
5142 the keysynth event it's modifying). Note that shiftlatch in this
5143 demo is a convenience, not intended to take the place of AccessX
5144 which is the better choice for getting 'sticky' modifier keys.
5146 * libspi/deviceeventcontroller.c:
5147 * at-bridge/bridge.c:
5148 * cspi/spi_registry.c:
5149 Removed some debug print stuff, and put other verbosity in #ifdef
5154 Implemented some more of the magnifier IDL for the simple
5155 magnifier: namely, getZoomRegionParams.
5156 Added mag_x and mag_y members to MagnifierData struct, aid of this
5158 Added GtkWindow::realize signal handler to magnifier, to keep it
5159 from receiving keyboard focus from the WM.
5161 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5163 * cspi/spi-private.h: my guess at what michael forgot
5164 before he ran off to NZ :-)
5166 2001-11-23 Michael Meeks <michael@ximian.com>
5168 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5169 comment out non existant method invoke so we link.
5171 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5172 use bonobo_exception_get_text for more friendly warnings.
5174 * cspi/spi.c (Obj_Add): move into spi_main & rename
5175 spi_object_add; kill spi.c
5177 * cspi/spi_registry.c
5178 (deregisterGlobalEventListener),
5179 (deregisterGlobalEventListenerAll),
5180 (registerGlobalEventListener): fix exception leaks.
5182 * cspi/spi_main.c (spi_exception): impl. helper, so we
5183 don't leak exceptions.
5185 * cspi/spi_selection.c
5186 (AccessibleSelection_deselectSelectedChild): return the
5189 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5190 (spi_registry): ditto.
5191 (SPI_init): guard against double inits.
5193 * cspi/*.c: use spi_ev (), and spi_registry () where
5194 appropriate - a temporary hack until we have something
5195 better. Use spi_object_add
5197 2001-11-22 Michael Meeks <michael@ximian.com>
5199 * cspi/Makefile.am: re organise, install the headers.
5201 * cspi/*.h: add G_BEGIN/END_DECLS
5203 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5206 Added non-preemptive keylistener for key events with no modifiers
5207 and shift-only modifier.
5209 * libspi/keystrokelistener.c:
5210 Removed some verbose diagnostics printout.
5212 * cspi/spi_registry.c:
5213 Fixed a bug that caused all key listeners to be registered as
5216 * libspi/deviceeventcontroller.c:
5217 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5218 for non-preemptive key masks.
5221 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5223 * docs/reference/idl/at-spi-idl-docs.sgml:
5224 * docs/reference/idl/at-spi-idl-sections.txt:
5225 * docs/reference/idl/at-spi-idl-overrides.txt:
5226 Added missing files.
5228 * docs/reference/Makefile.am:
5229 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5230 to scan the IDL files :-(
5235 Added .cvsignore files.
5237 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5239 * libspi/deviceeventcontroller.c:
5240 * libspi/keystrokelistener.c:
5242 * cspi/spi_registry.c:
5243 Added filters for KeySets, KeyEventSeq, and event types to key
5244 event dispatching, so listeners should only receive those events
5245 that they requested :-)
5247 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5252 * docs/reference:Makefile.am:
5253 * docs/reference/cspi:
5254 * docs/reference/cspi:Makefile.am:
5255 * docs/reference/cspi:tmpl:
5256 * docs/reference/cspi:tmpl:*.sgml:
5257 * docs/reference/idl:
5258 * docs/reference/idl:Makefile.am:
5259 * docs/reference/idl:at-spi-idl-sections.txt:
5260 * docs/reference/idl:at-spi-idl-docs.sgml:
5261 * docs/reference/idl:tmpl:
5262 * docs/reference/idl:tmpl:*.sgml:
5264 Restructured docs directory to allow separate 'reference' docs
5265 section, and forked idl and cspi docs. Added the sgml template
5266 files to CVS. Added the first sections/structural sgml for the
5269 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5271 * configure.in, libspi/Makefile.am: find libXtst.
5273 2001-11-21 Michael Meeks <michael@ximian.com>
5275 * test/accessx-gui.c: s/spi_value/value/ - doh.
5277 * libspi/base.[ch]: add.
5279 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5281 * idl/Accessible.idl:
5282 * idl/Application.idl:
5285 Started gtk-doc cleanup on IDL.
5287 * libspi/deviceeventcontroller.c:
5288 Added and connected non-preemptive key notification from the
5289 toolkits (in addition to the pre-emptive support from XServer
5290 which we had before, but which causes 'focus flashing'). Filters
5291 are presently limited to key modifiers and global/non-global,
5292 KeySets are presently ignored, as are KeyEvent masks.
5294 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5295 structs into the persistant structure rather than just storing
5296 pointers to things that might not persist across servant
5299 The XGrabKey call now does async keygrabs, because synchronous
5300 ones were deadlocking with GDK_event code in a very nasty way.
5302 Added boolean to internal method notify_keylisteners, to indicate
5303 whether the event came from the 'toolkit source' or the 'global
5304 (XServer) source' - this is used in the notification process to
5305 determine which listeners to send the event to.
5307 deviceeventcontroller.c is now warning-free.
5309 * libspi/registry.c:
5310 Fixed regression in application de-registration.
5311 Also fixed some really brain-dead weirdness having to do with
5312 event dispatching - event structs are now duplicated before being
5313 re-marshalled in the dispatch to listeners. This also fixes a
5314 Solaris build problem.
5317 2001-11-20 Michael Meeks <michael@ximian.com>
5320 (impl_accessibility_registry_deregister_global_event_listener):
5323 * libspi/deviceeventcontroller.c
5324 (spi_device_event_controller_check_key_event): return
5325 FALSE on no virtual method.
5327 * libspi/*..h: make includes work on a correctly pathed install.
5329 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5331 * libspi/application.h: kill unused ( and whacked out )
5332 gboolean *spi_application_set_id (AtkObject *app, long id);
5334 2001-11-20 Michael Meeks <michael@ximian.com>
5336 * libspi/*.[ch]: further convert to bonobo's type func
5337 macros, remove redundnant casts etc.
5339 * libspi/text.c s/accessibility_text/spi_text/g,
5340 re-order to de-cruft.
5342 * libspi/hypertext.c: re-order to kill a huge slew
5343 of redundant forward decls.
5345 * libspi/relation.c: ditto.
5347 * libspi/image.c: ditto.
5349 * */.cvsignore: update
5351 2001-11-20 Michael Meeks <michael@ximian.com>
5353 * libspi/deviceeventcontroller.c
5354 (_controller_register_with_devices): use g_getenv,
5355 kill stdlib.h include.
5357 * libspi/keystrokelistener.c
5358 (spi_keystroke_listener_get_type): kill
5359 (spi_keystroke_listener_class_init),
5360 (spi_keystroke_listener_init): rename to this.
5362 * libspi/text.c (impl_getAttributes): fix warning / bug.
5364 * libspi/*.[ch]: more headers, includes and over commenting.
5366 2001-11-20 Michael Meeks <michael@ximian.com>
5368 * libspi/*.[ch]: fixup headers, includes and over commenting.
5370 * libspi/image.c (impl__get_imageDescription): const
5371 correctness warning fix. remove redundant casting.
5373 * libspi/table.c (impl_getRowDescription): ditto.
5374 (impl_getColumnDescription): ditto.
5376 * libspi/libspi.h: add.
5378 2001-11-19 Michael Meeks <michael@ximian.com>
5380 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5382 * libspi/component.c (accessibility_component_get_type):
5383 rename to (spi_component_get_type): and macroify.
5384 (accessibility_component_init): rename to
5385 (spi_component_init): this
5386 (accessibility_component_class_init): rename to
5387 (spi_component_class_init): this
5389 * libspi/action.c (spi_action_get_type): kill, use the macro.
5391 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5394 * libspi/application.c (spi_application_object_event_listener),
5395 (impl_accessibility_application_register_object_event_listener):
5396 warning fixes / const understanding updates.
5398 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5401 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5403 * libspi/spi_accessible.c: Added docs and C bindings for
5404 AccessibleStateSet. (No implementations yet). Documentation
5405 coverage for C bindings now 100%. Made docs for event listeners
5410 boolean notifyListenersSync (in DeviceEventListener listener,
5411 in DeviceEvent event);
5413 oneway void notifyListenersAsync (in DeviceEventListener listener,
5414 in DeviceEvent event);
5416 Added DeviceEventListener and DeviceEvent structs (may deprecate
5417 KeyStroke and KeystrokeListener in favor of this generic
5418 event/listener framework for devices).
5420 * libspi/deviceeventcontroller.c:
5422 Changed some key listener code to take masks, etc., and paved the
5423 way for integration of toolkit/non-preemptive key events. Changed
5424 signatures of some internal methods.
5426 * at-bridge/bridge.c:
5427 Fixed regression connecting to interface signals, apparently
5428 caused by GTK+ changes.
5430 Added an internal bridge_state_listener to deal with
5431 property-change:accessible-state signals.
5433 Changed the key_listeners GList to store structs (including masks,
5434 etc.) instead of just CORBA_Objects (required for full
5435 implementation of key listener API).
5437 Connected the bridge to all currently supported Atk signals.
5438 Events now supported:
5439 object:property-change
5440 object:property-change:accessible-name
5441 object:property-change:accessible-state
5442 object:property-change:accessible-description
5443 object:property-change:accessible-parent
5444 object:property-change:accessible-value
5445 object:property-change:accessible-role
5446 object:property-change:accessible-table-caption
5447 object:property-change:accessible-table-column-description
5448 object:property-change:accessible-table-column-header
5449 object:property-change:accessible-table-row-description
5450 object:property-change:accessible-table-row-header
5451 object:property-change:accessible-table-summary
5452 object:children-changed
5453 object:visible-data-changed
5454 object:selection-changed
5455 object:text-selection-changed
5457 object:text-caret-moved
5459 object:row-reordered
5461 object:column-inserted
5462 object:column-reordered
5463 object:column-deleted
5464 object:model-changed
5466 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5468 * libspi/hyperlink.c,h:
5469 Fixed some broken stuff in hyperlink.
5471 * libspi/relation.h:
5472 * libspi/relation.c:
5473 * cspi/spi_accessible.c:
5474 Initial implementations of AccessibleRelation methods, and docs.
5476 * libspi/accessible.c:
5477 Fixed a bug that caused SEGV if an accessible
5478 object's description is NULL, and a client
5479 requests it. An empty string is now returned.
5481 * cspi/spi_editabletext.c:
5482 * cspi/spi_hypertext.c:
5484 * cspi/spi_hyperlink.c:
5488 Doc coverage now 95%.
5490 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5492 One last namespacing revision:
5493 * libspi/accessibleeventlistener.[ch]:
5494 Renamed SpiAccessibleEventListener to SpiEventListener,
5495 (no need for two namespaces ;-)
5497 And lots of documentation fixes:
5499 * docs/at-spi-docs.sgml:
5500 Fixed 'underscore vs. hyphen' bug that was preventing
5501 the gtk-doc API docs from being automatically generated.
5504 * cspi/spi-listener.h
5506 * cspi/spi_accessible.c
5508 * cspi/spi_application.c
5509 * cspi/spi_component.c
5510 * cspi/spi_editabletext.c
5512 * cspi/spi_hypertext.c
5514 * cspi/spi_registry.c
5515 * cspi/spi_selection.c
5519 * docs/at-spi-docs.sgml
5520 * docs/at-spi-sections.txt
5522 Added and fixed up gtk-doc documentation in cspi.
5524 Interfaces now (fully) documented (subject to revision and enhancement):
5526 Event Listener Support
5528 AccessibleApplication
5532 AccessibleEditableText
5539 AccessibleRelationSet
5544 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5546 * at-bridge/bridge.c:
5547 Initial work for toolkit-level key snooper connection by bridge.
5552 New typedefs and fixes to support new namespacing, and cleaner
5553 separation of cspi bindings from libspi bonobo implementation.
5554 Removed inconsistent and extraneous Spi* namespace prefix that
5555 had crept into cspi headers.
5556 Lots of comment fixes that sed had missed.
5558 * cspi/spi-roletypes.h:
5559 * cspi/spi-statetypes.h:
5560 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5561 to AccessibleRoleType.
5563 * libspi/accessibleeventlistener.h:
5564 Fixed minor namespacing weirdness.
5566 * libspi/deviceeventcontroller.c:
5567 Reordered some internal API for device listeners.
5568 Changed the key registry final boolean to 'is_system_global'
5569 rather than 'is_synchronous', which is more descriptive of its
5571 Added spi_device_event_controller_new().
5572 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5574 * libspi/keystrokelistener.[ch]:
5575 Namespaced KeystrokeListener to SpiKeystrokeListener.
5576 Changed uses of keymasks to use SPI_ prefix, and did other
5579 * libspi/keymasks.h:
5580 Namespaced keymask constants with SPI_ prefix.
5582 * libspi/registry.c:
5583 Some warning fixes, and knock-on fixes from namespace changes.
5586 Added rules for accessx-gui test program.
5588 * test/accessx-gui.c:
5589 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5590 utility. It doesn't actually use at-spi, but it's still cool and
5593 * test/keysynth-demo.c:
5597 Fixes so that these test clients work properly with the namespaced
5598 libraries. (Incompletely tested for technical reasons, fixes may follow)
5601 2001-11-13 Michael Meeks <michael@ximian.com>
5603 * libspi/application.c
5604 (impl_accessibility_application_get_version),
5605 (impl_accessibility_application_get_toolkit_name):
5607 (impl_accessibility_application_set_id),
5608 (impl_accessibility_application_get_id): remove
5609 redundant casting code.
5611 * libspi/action.c (impl_getDescription): fix warnings.
5613 * libspi/accessible.c
5614 (impl_accessibility_accessible_get_parent),
5615 (impl_accessibility_accessible_get_child_at_index),
5616 (impl_accessibility_accessible_get_state),
5617 (impl_accessibility_accessible_get_relation_set):
5618 warning fixes & include action.h
5620 2001-11-13 Michael Meeks <michael@ximian.com>
5622 * *.[ch] fix bits I screwed up:
5624 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5625 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5627 2001-11-13 Michael Meeks <michael@ximian.com>
5629 * *.[ch] Namespace libspi into spi_ and Spi.
5631 2001-13-11 Michael Meeks <michael@ximian.com>
5633 * Makefile.am: dist & install at-spi-1.0.pc
5635 * libspi/Makefile.am: install into at-spi-1.0
5637 * idl/Makefile.am (idldir): install into at-spi-1.0
5639 * at-spi-1.0.pc.in: add.
5641 * configure.in: build it.
5643 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5645 * test/keysynth-demo.c:
5646 Use a 'realize' signal-handler to set the WM properties for
5647 the virtual keyboard, rather than making it a "POPUP" type
5648 override-redirect window (thanks to anders carlsson for that
5651 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5654 * test/keysynth-demo.c:
5655 Added new test of key synthesis, which creates a simple
5656 (mouse-operated) onscreen keyboard. It inserts key events into
5657 the currently-focused window, thus it does not grab keyboard focus
5660 * cspi/spi_registry.c:
5661 Added C binding for AT-SPI generateKeyEvent.
5663 * libspi/deviceeventcontroller.c:
5664 Added call to XFilterEvent so that key listener works with XIM (we
5665 hope). Added event_synth_type to generateKeyEvent, so that we can
5666 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5667 synthesize a press/release pair for KeySyms.
5669 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5671 * libspi/Makefile.am:
5672 * registryd/Makefile.am:
5673 (temporary) hack to include libXtst in libspi and registryd.
5674 (Needed for keystroke synthesis, see below).
5677 Improved API for registerKeystrokeListener, in accordance with
5678 discussions with Gnopernicus team and X server research.
5680 * libspi/registry.c:
5681 * libspi/deviceeventcontroller.c:
5682 * libspi/accessible.c:
5683 * libspi/keystrokelistener.c:
5684 Changes and fixes to support keylisteners for potentially
5685 consumed key events (that is, 'passive grabs').
5686 Added implementation for generateKeyEvent() [untested].
5689 Changes to registerKeystrokeListener() API, as above.
5690 Added deregisterGlobalEventListenerAll(), and
5691 deregisterKeystrokeListener(), which are needed for clean exit of
5693 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5694 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5696 * cspi/spi_registry.c:
5697 Added implementations of function prototypes mentioned above.
5699 * registryd/registryd.c:
5700 Added the key listener event source as a g_timeout(), to allow
5701 receipt of key events that are not caught by GDK (since GDK
5702 doesn't support passive keygrabs, this was necessary).
5705 Changed to attach a keylistener to 'Alt' keys, and
5706 respond to the following keycommands: Alt-M (toggle magnifier);
5707 Alt-F (toggle speech); Alt-Q (quit).
5708 Added an exit routine to deregister the listeners, and a key
5709 listener that prints some key info to the console when a key
5710 matches the listener mask (and is thus received by the listener).
5712 * util/idl/Magnifier.idl:
5713 Changes to magnifier API to support multiple zoom regions,
5714 non-uniform scaling in x and y, markDirty, and a host of other
5715 features that would be useful to magnification.
5718 * util/mag_client.c:
5719 * util/mag_client.h:
5720 * util/mag_control.c:
5722 Source code changes to support the above IDL changes.
5725 As above, and also changes to use a (slower) generic conversion
5726 path for colormap conversions, since the fast RGB conversions have been
5727 reported to fail for 16-bit displays.
5729 2001-10-26 Michael Meeks <michael@ximian.com>
5731 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5733 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5735 * at-bridge/Makefile.am: fix LDFLAGS.
5737 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5739 * at-bridge/bridge.c:
5740 Re-worked listeners for toolkit events, now we have signal
5741 and property listeners. Added a private method
5742 register_atk_event_listeners(), which registers with the
5743 various atk and gtk signals we need to monitor in order to emit
5745 Added emission hook for AtkObject:property-change events, to
5746 support the 'property listeners'.
5747 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5750 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5751 which emit warnings and exit, respectively, if CORBA errors occur
5752 during remote calls, and we now use these methods to check most of
5753 our CORBA calls in the C bindings.
5755 * cspi/spi_accessible.c:
5756 Changed AccessibleSelection_refSelectedChild() to
5757 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5758 now increment refcounts.
5760 * cspi/spi_component.c:
5761 Fixed some long pointer casts (dangerous!) to pass pointers to
5762 CORBA_longs of the proper type to the CORBA stubs, and copy the
5763 data into the longs that were passed into the C bindings code.
5765 * at-bridge/bridge.c:
5767 * libspi/accessible.c:
5768 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5769 hyperlinks, AtkHyperlink is an object type.
5771 * libspi/application.c:
5772 Added various conversions to and from "generic" event types and
5773 atk-specific types; this is really part of the 'bridge'
5774 implementation but is valid for all AtkObject-based accessibility
5777 * libspi/editabletext.c:
5778 Fixed nasty bug wherein editable text's finalize method was
5779 unref'ing tha AtkObject reference that the text parent class was
5780 about to unref _again_. There was also a nasty inheritance bug
5781 that meant that the AccessibleEditableText class was corrupt.
5783 * libspi/selection.c:
5784 Provided implementations for some selection API that was broken.
5786 * idl/Application.idl:
5787 Added registerObjectEventListener () method.
5790 Fixed a number of return values that were Bonobo_Unknowns from
5791 bonobo_object_corba_objref(), which I
5792 forgot to dup before returning. Changed instances of
5793 bonobo_object_corba_objref (bonobo_object(o)) to
5794 BONOBO_OBJREF(o), for concision and clarity.
5796 2001-10-13 Louise Miller <louise.miller@sun.com>
5798 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5799 idl/Event.idl, idl/Registry.idl
5800 Changed these files to include Bonobo_Unknown.idl instead
5803 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5805 * libspi/component.c libspi/component.h:
5806 Fixed typo. Added assertions for object checks in
5807 AccessibleComponent code.
5809 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5811 * idl/Accessible.idl:
5812 Added 'isEqual (Accessible *object)'
5813 method for Accessible. (Not Yet Implemented).
5816 Changed signature of registerKeystrokeListener() to
5817 take a KeySet and KeyEventSeq so that specific keys and event
5818 types could be requested for monitoring, and added a flag
5819 is_synchronous so that either synchronous or asynchronous
5820 notification could be requested. (However this is not all
5821 implemented yet). This also meant adding two new typedefs,
5822 KeyEventSeq and KeySet.
5825 Added two new relations, RELATION_TOOLTIP_FOR and
5826 RELATION_LEAFNODE_OF.
5829 Added new state, STATE_HAS_TOOLTIP.
5831 * libspi/text.c, editabletext.c:
5832 Added new assertions to all casts of bonobo-objects from
5833 CORBA servants, to prevent Text API calls on non-text objects.
5834 Changed suspect casts of int-pointer types, so that we
5835 always send a valid CORBA_long pointer to the CORBA APIs that use
5836 in/out long parameters. We then have to copy from the CORBA_long
5837 into the regular long or int for return to the C bindings, or
5838 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5841 * libspi/deviceeventcontroller.c:
5842 Cleaned these sources up.
5844 Changed return type for getCharacterAtOffset to
5845 CORBA_unsigned_long, to allow for 32-bit characters.
5848 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5852 Fixed 'make dist' so that distro compiles...
5853 * libspi/keymasks.h:
5855 * cspi/spi-listener.c:
5856 KeystrokeListenerCB now returns a boolean.
5858 Added KeyEventType struct, and KeyStroke.
5859 Also added createKeystrokeListener(),
5860 KeystrokeListener_addCallback(),
5861 KeystrokeListener_removeCallback(), and added a keymask to
5862 registerKeystrokeListener().
5863 * cspi/spi_accessible.c:
5864 Changed numerous return types for interfaces from
5865 AccessibleComponent to Accessible<InterfaceName>; this was
5866 probably a cut-and-paste error.
5868 Implementations of new KeystrokeListener api (from spi.h,
5871 Changes to key modifier mapping.
5872 Created ControllerEventMask struct.
5873 Made DeviceEventController derive from Bonobo::Unknown.
5875 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5876 * libspi/deviceeventcontroller.c:
5877 Added a number of new internal (private) methods.
5878 * libspi/editabletext.c:
5879 * libspi/editabletext.h:
5880 Fixed a number of bugs related to the fact that
5881 editabletext inherits from text. Fixed the EditableText struct,
5882 the init() call, and use correct casts when calling Text methods
5883 from an EditableText object. Removed (duplicate) atko from the
5884 EditableText structure, we use the one in the parent Text
5885 structure via the casts mentioned above.
5886 * libspi/keystrokelistener.[ch]:
5887 * libspi/registry.c:
5888 Changes in support of keyboard handling (above).
5890 Keyboard handling, though partly functional, is still not
5891 recommended for at-spi client use as there is considerable
5892 work yet to be done.
5895 Changed some places where pointers to various int types
5896 are cast to be pointers to CORBA_long types and vice-versa:
5897 pointer casting is not safe so we pass pointers of the correct
5898 types and then cast the result before putting it into the target
5901 * libspi/text.h: minor typos corrected.
5903 We now speak not only the name of a Text element, but the
5904 first sentence of its content, when it receives focus.
5905 I also changed the text compression to 75% from 50%.
5906 * util/Accessibility_Util.server.in:
5907 Changed the default magnifier type to be a 3x vertical
5908 splitscreen magnifier (was previously a 2x horizontal one).
5910 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5912 * libspi/keystrokelistener.h:
5913 * libspi/keystrokelistener.c:
5914 Initial functional implementations of KeystrokeListener.
5917 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5919 Fixed string handling for NULL strings in libspi.
5920 Added spi_freeString to free strings returned by C bindings.
5922 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5924 * libspi/keystrokelistener.h:
5925 * libspi/keystrokelistener.c:
5926 Began (no-op) implementations of KeystrokeListener
5928 * libspi/deviceeventcontroller.c:
5929 * libspi/deviceeventcontroller.h:
5930 Began creating implementations of DeviceEventController,
5931 to handle keystroke and mouse event listening and
5933 * libspi/accessible.c:
5934 Stubbed-in the implementations for
5935 Accessibility_Accessible_getState and
5936 Accessibility_Accessible_getRelationSet.
5937 * libspi/registry.c:
5938 Improved de-registration process and fixed some bugs,
5939 deregistration now works correctly.
5941 Added initialization of applications list (to NULL).
5943 Reduced speech compression from 0.5 to 0.7, for demo.
5944 Changed call to gdk_window_set_decorations()
5945 to gtk_window_set_decorated().
5946 * at-bridge/bridge.c:
5947 Bridge now deregisters when app exits, via
5948 registration of a cleanup function
5949 with the g_atexit() call.
5950 Required making 'app' static, renamed 'this_app'.
5951 Fixed broken use of bonobo_init, passing argv wrongly.
5953 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5957 Created a new directory for
5958 accessibility-related utilities, primarily for
5959 testing and demo purposes, but with possible
5966 Onscreen magnifier utility that
5967 is implemented as a bonobo service.
5969 * util/mag_client.c:
5970 * util/mag_client.h:
5971 Client-side support (simple C bindings)
5972 for Magnification service
5974 * util/mag_control.c:
5975 Client program example for
5976 Magnification service
5978 * util/Accessibility_Magnifier.server.in:
5979 Bonobo-activation file for the
5980 Magnification service.
5983 * util/idl/Magnifier.idl:
5984 IDL defining the bonobo Magnification
5988 Modifications to use the bonobo-activated magnifier
5989 above, in place of trying to connect to an existing
5990 magnifier that uses socket-listening IPC.
5992 If env variable MAGNIFIER is set, a magnifier service
5993 will be started if one does not exist.
5995 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5997 * at-bridge/bridge.c:
5998 applied patch from Marc to build and run
5999 against new glib and gtk+ (seemed like a change
6000 to bonobo_init signature was made ?)
6002 made festival-server support turned off by default.
6003 Added support for a simple magnifier (off by default)
6004 which will be added to a 'util' directory later.
6005 * at-bridge/Makefile.am:
6006 Changed "application.h" header from a 'source'
6007 to a 'dependency' of libat-bridge.
6009 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6018 Added interface implementation c files to list of
6019 includes so they are included in libcspi.
6022 Changed prototype of AccessibleAction_doAction to return a
6024 Changed prototype of AccessibleTable_getCaption to
6025 return an Accessible.
6026 Changed prototype of AccessibleTable_getSelectedRows
6027 and AccessibleTable_getSelectedColumns to
6028 return a long (returns the number of selected rows
6029 or columns respectively).
6030 Changed name of AccessibleText_refRunAttributes to
6031 AccessibleText_getAttributes.
6032 Changed prototype of AccessibleText_getCharacterExtents to
6033 return a void rather than a boolean.
6034 Added support for a AccessibleCoordType parameter
6035 specifying what type of coordinates are desired.
6036 Added an AccessibleCordType parameter to
6037 AccessibleText_getPointAtOffset.
6039 * cspi/spi_accessible.c:
6040 Added code to return the outstanding interfaces from
6041 Accessible_queryInterface.
6043 * cspi/spi_action.c:
6045 Corrected call to getNActions to call the c binding
6048 * cspi/spi_editabletext.c:
6050 Changed name from setRunAttributes to setAttributes.
6052 * cspi/spi_hyperlink.c:
6054 Changed call to getNAnchors to correctly call the c
6055 binding for an attribute.
6057 * cspi/spi_hypertext.c:
6059 Changed getImageDescription to correctly call the
6060 binding for an attribute.
6062 * cspi/spi_selection.c:
6063 Changed getNSelectedChildren to correctly call the c
6064 binding for the attribute.
6065 Changed refSelectedChild to getSelectedChild.
6069 Changed getCaption to return an Accessible.
6070 Fixed calls which retrieve attributes.
6071 Changed refAt to getAccessibleAt.
6072 Changed getNSelectedRows and getNSelectedColumns to
6076 Changed getCharacterExtents and getPointAtOffset to accept an
6077 AccessibleCoordType.
6079 Changed calls which retrieve attributes.
6080 Changed refRunAttributes to getAttributes.
6085 * idl/Hyperlink.idl:
6086 Changed n_anchors attribute to nAnchors to keep naming
6087 convention consistent.
6090 Made Table inherit from Bonobo::Unknown.
6091 Added nSelectedColumns and nSelectedRows attributes.
6094 Made Value inherit from Bonobo::Unknown.
6096 * libspi/hyperlink.c:
6097 Change for nAnchors attributte name change.
6099 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6107 Added interface implementation c files to list of
6108 includes so they are included in libcspi.
6111 Changed prototype of AccessibleAction_doAction to return a
6113 Changed prototype of AccessibleTable_getCaption to
6114 return an Accessible.
6115 Changed prototype of AccessibleTable_getSelectedRows
6116 and AccessibleTable_getSelectedColumns to
6117 return a long (returns the number of selected rows
6118 or columns respectively).
6119 Changed name of AccessibleText_refRunAttributes to
6120 AccessibleText_getAttributes.
6121 Changed prototype of AccessibleText_getCharacterExtents to
6122 return a void rather than a boolean.
6123 Added support for a AccessibleCoordType parameter
6124 specifying what type of coordinates are desired.
6125 Added an AccessibleCordType parameter to
6126 AccessibleText_getPointAtOffset.
6128 * cspi/spi_accessible.c:
6129 Added code to return the outstanding interfaces from
6130 Accessible_queryInterface.
6132 * cspi/spi_action.c:
6134 Corrected call to getNActions to call the c binding
6137 * cspi/spi_editabletext.c:
6139 Changed name from setRunAttributes to setAttributes.
6141 * cspi/spi_hyperlink.c:
6143 Changed call to getNAnchors to correctly call the c
6144 binding for an attribute.
6146 * cspi/spi_hypertext.c:
6148 Changed getImageDescription to correctly call the
6149 binding for an attribute.
6151 * cspi/spi_selection.c:
6152 Changed getNSelectedChildren to correctly call the c
6153 binding for the attribute.
6154 Changed refSelectedChild to getSelectedChild.
6158 Changed getCaption to return an Accessible.
6159 Fixed calls which retrieve attributes.
6160 Changed refAt to getAccessibleAt.
6161 Changed getNSelectedRows and getNSelectedColumns to
6165 Changed getCharacterExtents and getPointAtOffset to accept an
6166 AccessibleCoordType.
6168 Changed calls which retrieve attributes.
6169 Changed refRunAttributes to getAttributes.
6174 * idl/Hyperlink.idl:
6175 Changed n_anchors attribute to nAnchors to keep naming
6176 convention consistent.
6179 Made Table inherit from Bonobo::Unknown.
6180 Added nSelectedColumns and nSelectedRows attributes.
6183 Made Value inherit from Bonobo::Unknown.
6185 * libspi/hyperlink.c:
6186 Change for nAnchors attributte name change.
6189 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6191 implementations-- made server implementations own AtkObject pointers
6192 rather than their respective AtkInterrface pointers to fix
6193 refcounting. AtkHyperlink is still broken.
6195 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6196 * cspi/spi_accessible.c:
6197 Added method Accessible_Role_getName(),
6198 and requisite string array (role_names).
6199 Added conversion string_from_corba_strin() call
6200 to Accessible_getName and _getDescription.
6201 * libspi/accessible.c:
6202 Added implementation for Accessible_getRole()
6204 Added festival support, used if environment variable
6207 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6209 * at-bridge/bridge.c:
6210 Now allocate Accessibility_Event using
6211 Accessibility_Event__alloc() instead of g_new0().
6212 * libspi/accessibleeventlistener.c:
6213 Initialize AccessibleEventListener->callbacks to NULL.
6214 Fixed accessible__event_listener_init() param, changed to
6215 "AccessibleEventListener *" type.
6216 Changed a bonobo_object_release_unref() call to
6217 Accessibility_Accessible_unref().
6218 * libspi/listener.c:
6219 Changed Bonobo_Unknown_unref to (equivalent)
6220 Accessibility_Accessible_unref.
6221 * libspi/registry.c:
6222 Changed bonobo_object_release_unref to
6223 Accessibility_Accessible_unref.
6225 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6228 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6229 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6230 spi-util.c spi-util.h
6231 Implementations for C bindings to remaining accessibility
6234 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6237 changed return value of Action from void to boolean to
6238 bring in line with ATK.
6241 Changed getText funcions to return "out" start and end offsets.
6242 Changed getAttributes to take and offset and return the start
6243 and end offset of the attribute run.
6244 Changed getOffsetAtPoint and getCharacterExtents to take an
6245 enum describing whether coordinates are window or screen.
6248 libspi/action.c libspi/action.h libspi/editabletext.c
6249 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6250 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6251 libspi/image.h libspi/selection.c libspi/selection.h
6252 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6253 libspi/value.c libspi/value.h
6254 Added server implementations for outstanding ATK interfaces
6255 not yet implemented.
6257 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6260 Added (missing) getName() method.
6261 Made nActions an attribute.
6262 * idl/EditableText.idl:
6263 Changed order of params in setAttributes.
6264 * idl/Hyperlink.idl:
6265 Removed getAnchor, added getURI.
6267 Changed attributes to methods, for efficiency
6268 (so that getting extents can be done in one call)
6269 * idl/Selection.idl:
6270 Changed nSelectedChildren to attribute, and re-indented.
6271 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6273 * idl/Text.idl: reformatted to match our coding style.
6274 (temporarily?) removed getRowColumnAtOffset().
6275 Changed text selection API to support multi-select and
6276 non-contiguous selections, as in ATK.
6277 * idl/Value.idl: changed some methods to attributes.
6279 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6281 * libspi/listener.c(impl_notify_event):
6282 BonoboUnkown_unref the source instead
6283 of bonobo_object_release_unref - the ORB
6284 handles the releasing.
6286 * configure.in: require ORBit-2.3.94 for
6289 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6291 Tagged CVS repository 'EA_1_0'.
6292 * README.EARLY_ACCESS:
6293 Alphabetized acknowledgements list, and
6295 Listed some known dependencies of at-spi.
6297 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6299 * docs/at-spi-docs.sgml:
6300 * docs/at-spi-sections.txt:
6301 * docs/at-spi-overrides.txt: (Added zero-length file)
6302 Documentation improvements - gtk-doc should build
6303 docs for all implemented C bindings now.
6306 * cspi/spi.c: (New file)
6307 * cspi/spi_event.c: (New file)
6308 * cspi/spi_registry.c: (New file)
6309 * cspi/spi_accessible.c: (New file)
6310 * cspi/spi_application.c: (New file)
6311 * cspi/spi_component.c: (New file)
6312 Split spi_main.c into six parts, and included them from
6313 "spi.c". This is a bit of a hack, probably temporary,
6314 but required by gtk-doc, apparently.
6316 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6319 * docs/at-spi-docs.sgml:
6320 * docs/at-spi-sections.txt:
6322 Initial checkins/modifications for gtk-doc generation.
6325 Added (missing) interface query methods to Accessible's C binding.
6327 Added GenericInterface type definition.
6329 Added query for AccessibleComponent interface to focus event handler.
6330 Added printout of bounding box for focussed component.
6331 * libspi/component.c:
6332 Added partial implementation for AccessibleComponent to C binding.
6333 * idl/Application.idl:
6334 * libspi/registry.c:
6335 * libspi/listener.c:
6336 * libspi/application.c:
6337 * libspi/application.h:
6338 Changed "ID" attribute type from string to long.
6340 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6344 Made method naming consistent: methods taking object args
6345 start with uppercase, other methods (except those using
6346 acronyms) start with lowercase. Underscores delimit between
6347 object names and method names:
6348 SPI_init() - uppercase since it starts with an acronym.
6349 getDesktopCount () - lowercase start since no object param0.
6350 Accessible_getName() - uppercase object type name, studlyCaps method
6354 Added gtk-doc documentation for all currently implemented
6355 methods in the C bindings API.
6357 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6359 * Makefile.am : changed build order to build test last.
6362 Changed "createEventListener" to "CreateEventListener".
6363 * libspi/accessibleeventlistener.c :
6364 Bugfix for addition of callbacks.
6365 * test/Makefile.am :
6366 * test/simple-at.c :
6367 Added new test that uses the C bindings API.
6369 * libspi/listener.c :
6370 * libspi/registry.c :
6371 * libspi/accessibleeventlistener.c :
6372 * at-bridge/bridge.c :
6373 Renamed member "target" of Accessibility_Event to "source",
6374 which is more descriptive.
6377 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6381 * cspi/Makefile.am :
6382 Added makefile support for at-spi/cspi directory.
6385 * cspi/spi-listener.h : (NEW FILE)
6386 Added support for/use of spi-listener.h.
6388 C bindings now build successfully, with no warnings.
6389 * libspi/accessibleeventlistener.h : (NEW FILE)
6390 * libspi/accessibleeventlistener.c : (NEW FILE)
6391 * libspi/Makefile.am :
6392 Added new object type "AccessibleEventListener"
6393 which inherits from Listener, and allows attachment
6394 of in-process callbacks (so that a client with a listening
6395 object instance can add functionality to the local
6396 implementation, dynamically).
6398 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6400 * libspi/accessible.c:
6401 Add implementation for get_index_in_parent().
6403 Added #include of "spi-roletypes.h", and
6404 added enumerated type AccessibleCoordType.
6405 Added definition for KeystrokeListener (function type).
6408 * cspi/spi-statetypes.h :
6409 * cspi/spi-roletypes.h :
6411 Added these headers, used by spi.h.
6413 Added code (NOTE: not yet built by make).
6415 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6417 * libspi/Makefile.am: generate imodule
6418 at the same time as other idl compiler
6421 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6422 * libspi/registry.c :
6423 * libspi/application.c :
6424 * idl/Application.idl :
6425 Made registration with toolkit an application method,
6426 which is required since each app has its own toolkit static
6427 environment. Thus the bridge must register for
6428 notification of toolkit events from each application in turn.
6429 Toolkit notifications are now successfully registered for, and
6430 sent to the listening at client.
6432 Changed toolkit event string to use hyphens rather than underscores.
6433 * libspi/listener.c :
6434 listner now gives more info in debug mode - it reports the
6435 name of the event received, as well as the name of the source.
6438 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6440 * libspi/registry.c :
6441 added more implementation for toolkit events.
6442 Fixed bug such that toolkit event registrations
6443 (via atk) use the whole event name string, not
6445 Removed a useless call to an ORBit_ method.
6446 * at-bridge/bridge.c :
6447 Removed unused local sbuf[] variable.
6449 We now register for Gtk:GtkWidget:button_press_event
6450 events as well as "focus:" events.
6452 Add some more API from Registry.idl that was missing,
6453 for keystroke listening, keystroke and mouse event
6454 synthesis, and enumeration of accessible desktops.
6456 2001-08-16 Michael Meeks <michael@ximian.com>
6458 * configure.in: use AM_GLIB_GNU_GETTEXT.
6460 * Makefile.am (SUBDIRS): kill intl.
6462 2001-08-15 Michael Meeks <michael@ximian.com>
6464 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6466 * configure.in: upd.
6468 * configure.in: depend on a recent bonobo-activation that
6469 will find our server files ...
6471 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6473 * libspi/accessible.c : accessible_new() :
6474 Now we add the Component interface via bonobo_object_add_interface,
6475 if the contained AtkObject implements AtkComponent.
6476 * libspi/accessible.h : now include "component.h"
6477 * libspi/component.h :
6478 * libspi/component.c : added files - implementation of
6479 bonobo wrapper object for Accessibility/Component
6480 * libspi/listener.c :
6481 Added test code to check for Accessibility/Component:1.0
6482 interface and report whether it is implemented by the
6484 * libspi/registry.c :
6485 Now we check for not only the hash of the whole event
6486 string before relaying the event, we also check the
6487 "minor" event string (without the detail string).
6488 This allows event listeners to be registered against
6489 all events of a certain major+minor type, or just
6490 against a specific major+minor+detail type.
6491 * libspi/accessible.c :
6492 Added implementations for Accessible:get_parent(),
6493 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6494 * libspi/registry.c :
6495 * libspi/listener.c :
6496 Replaced calls to Accessibility_Accessible_ref() and
6497 Accessibility_Accessible_unref() with
6498 calls to bonobo_object_dup_ref() and
6499 bonobo_object_release_unref(), so that the CORBA object
6500 is dup-ed and released when relayed, as well as the bonobo object.
6502 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6504 * libspi/Makefile.am,
6505 registryd/Makefile.am,
6506 at-bridge/Makefile.am.
6507 test/Makefile.am, configure.in:
6508 reverse previous changes.
6510 * /idl/Image.idl: fix typo.
6512 * test/Makefile.am: put DEBUG_FLAGS
6515 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6517 * test/app.c: use argv[0] instead of
6520 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6522 * libspi/Makefile.am,
6523 registryd/Makefile.am,
6524 at-bridge/Makefile.am.
6525 test/Makefile.am, configure.in:
6526 cleanup, replace individual LIBS/CFLAGS with
6527 AT_COMMON_{LIBS|CFLAGS}.
6531 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6533 * configure.in, libspi/Makefile.am:
6534 Change IDL path checking for bonobo-activation
6537 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6539 * registryd/registry.c : separated event listeners to use
6540 3 separate lists (focus, window, toolkit). Began testing
6541 event names against hashes before relaying events.
6542 * test/at.c : now register for events of type "focus:"
6543 * test/app.c : now generate events of type "focus:"
6544 * at-bridge/bridge.c : register with ATK for focus events,
6545 and we now relay those focus events to any "focus:" listeners.
6546 This now works with the bridge as a GTK_MODULE when running test/at.
6547 * libspi/registry.c :
6548 * libspi/listener.c :
6549 now we ref event sources before propagating, and unref on receipt.
6550 * libspi/registry.c :
6551 some changes to internal structs, to support event typestring hashes.
6552 * text/app.c : changed the way the appname is generated.
6553 * cspi : added directory that will hold the C bindings library for
6554 non-CORBA/bonobo-savvy clients.
6555 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6556 * idl/Component.idl : added in parameter to indicate coord system for
6557 geometry-related calls.
6558 * idl/Hyperlink.idl : added readonly n_links attribute
6559 * idl/Image.idl : changed methods to attributes.
6561 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6563 * at-bridge/Makefile.am: link against
6564 ../libspi/libspi.la instead of -lspi.
6566 * at-spi/test/app.c: include
6567 bonobo-activation.h. Use a default appname
6568 if one is not provided.
6570 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6572 * idl/Registry.idl : temporarily changed register_Application
6573 to oneway, to work around issue with initial registration
6575 * idl/Application.idl : changed attribute "id" from readonly
6576 to read-write, since it needs to be assigned by Registry.
6577 * registryd/registryd.c : added call to set application id
6579 * registryd/registry.c : changed de-registration procedure to
6580 use CORBA_Object_hash() to find matching object ref in application
6581 lists and listener lists.
6582 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6583 began distinguishing between event types (work in progress).
6585 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6588 * libspi/application.c:
6589 Added implementations for get/set id, get_toolkitName,
6591 * registryd/registryd.c :
6595 Converted from use of OAF to bonobo-activation.
6596 * libspi/desktop.h :
6597 * libspi/desktop.c :
6599 Removed references to atksimpleobject, since base atkobject
6600 implementation now provides functionality we need.
6601 * libspi/atksimpleobject.c :
6602 * libspi/atksimpleobject.h :
6607 * at-bridge/Makefile.am
6608 * at-bridge/bridge.c
6611 Added directory "bridge" and contents, and added dependencies
6612 in Makefile.am/configure.in.
6613 Initial checkin of "at-bridge".
6614 This code is a GTK_MODULE which automatically registers
6615 GTK+ apps with the accessibility registry, using an object
6616 reference to the root ATK object.
6618 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6620 * po/Makefile.in.in: Remove. Again. If this
6621 doesn't get autogenerated - you need to update
6624 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6626 * po/Makefile.in.in: Add. Again.
6628 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6630 * libspi/accessible.c : added support for 'description' property.
6631 * libspi/accessible.c
6633 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6634 (since the two are now equivalent in libbonobo)
6642 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6643 Bonobo::Unknown as does Accessibility::Accessible.
6644 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6645 interface with Bonobo::Stream, since it was redundant with it.
6646 (The Stream returned by a StreamableContext object is expected to
6647 implement only a subset of Bonobo::Stream)
6649 2001-07-28 Anders Carlsson <andersca@gnome.org>
6651 * libspi/accessible.c (accessible_object_finalize): Change
6652 g_free to g_object_unref since the AtkObject is a GObject.
6654 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6656 * idl/Accessibility.idl: add new IDL files
6659 * idl/Action.idl: Definitions of actionable UI object
6660 * idl/Component.idl: Definitions of UI component geometry, etc.
6661 * idl/Hyperlink.idl: Defs of hyperlink behavior
6662 * idl/Image.idl: Def of accessible image
6663 * idl/Selection.idl: Definition of UI object with selectable children
6664 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6665 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6666 * idl/Text.idl: Interface defs for UI elements with complex textual content
6667 * idl/Value.idl: Definition of UI element that is a value controller or display
6669 2001-07-27 Michael Meeks <michael@ximian.com>
6671 * po/Makefile.in.in: remove autogenerated file from CVS.
6673 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6676 * idl/Registry.idl: include guard.
6678 * idl/Accessibility.idl: Add, and include all the other IDL
6681 * idl/*.idl: remove mass of pragmas etc.
6683 2001-07-26 Michael Meeks <michael@ximian.com>
6685 * registryd/Makefile.am (registryd_SOURCES): remove
6688 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6690 * libspi/.cvsignore, registryd/.cvsignore,
6691 test/.cvsignore: updated.
6693 * po/Makefile.in.in: gettext update.
6695 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6697 * initial CVS checkin
6699 2001-06-29 Michael Meeks <michael@ximian.com>
6701 * configure.in: add AM_CONFIG_HEADER to gen config.h