1 2004-01-12 Bill Haneman <billh@gnome.org>
3 * configure.in: Incremented version to 1.3.11.
5 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
7 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
8 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
11 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
13 * configure.in: Added "fa" to ALL_LINGUAS.
15 2003-12-20 Arafat Medini <lumina@silverpen.de>
17 * configure.in: Added "ar" to ALL_LINGUAS
19 2003-12-16 Bill Haneman <billh@gnome.org>
21 * registryd/registry-main.c:
23 Set the reg_env DISPLAY variable before registering the
24 activated registry service. Fixes bug #129479.
26 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
28 * configure.in: Added "id" in ALL_LINGUAS
29 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
31 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
33 * registryd/deviceeventcontroller.c (global_filter_fn):
34 When an event is consumed discard any XEvents were added to
35 the queue while dealing with the the event. This can happen if
36 processing of the event takes a long time. Call XUngrabKeyboard
37 if an event was discarded. This fixes bug $124837.
38 Only call wait_for_release_event for a KeyPress.
39 Use local variable display instead of spi_get_display().
40 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
43 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
45 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
46 Allow for mask to contain values other than NumLock mask.
49 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
51 * registryd/devieceventcontroller.c:
52 (wait_for_release_event): Change first parameter from GdkEvent to
54 (global_filter_fn); Correct call to wait_for_release_event.
58 2003-12-08 Bill Haneman <billh@gnome.org>
62 * registryd/ucs2keysym.c: New file.
64 * registryd/deviceeventcontroller.c:
65 (dec_keysym_for_unichar): Remove old partial implementation and
66 replace with call to ucs2keysym(), which is much more complete.
67 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
72 2003-12-05 Bill Haneman <billh@gnome.org>
74 * configure.in: Version 1.3.9.
76 * docs/reference/cspi/tmpl/spi_registry.sgml:
77 Added reference to libspi/keymasks.h to the
78 description of Registry queries: AccessibleKeyMaskType.
81 2003-12-04 Bill Haneman <billh@gnome.org>
85 * idl/Accessibility_Application.idl:
86 (Accessibility::LOCALE_TYPE): New enum, corresponds to
88 (Accessibility::Application::getLocale): New method.
89 Allows clients to query the locale, by type, of an app.
92 * cspi/spi_application.c:
93 (AccessibleApplication_getLocale): New method, wraps IDL above.
95 * libspi/application.c:
96 (spi_application_class_init): Init epv entry for getLocale.
97 (impl_accessibility_application_get_locale): Impl for above.
100 (test_application): Added assertion for getLocale, i.e.
101 that the string from AccessibleApplication_getLocale (app, type)
102 is the same as that from setlocale (type, NULL);
104 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
106 *registryd/deviceeventcontroller.c: Add an idle handler which polls
107 the keyboard on a timeout intil the key state goes from pressed to
108 released. Fixes bug #111429.
110 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
112 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
113 root object so that it is present when a context menu in an
114 out-of-process applet is popped up.
115 (spi_atk_bridge_do_registration): Create acceessible application root
116 object only if it does not exist.
118 This fixes bug #125834.
120 2003-12-01 Bill Haneman <billh@gnome.org>
122 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
125 Added enum for AccessibleStreamableContentSeekType.
126 (AccessibleStreamableContent_freeContentTypeList): New.
128 * cspi/spi_streamablecontent.c:
129 (accessible_bonobo_stream_client_seek): New private method.
130 (AccessibleStreamableContent_seek): Implemented this method,
131 using Bonobo_Stream_seek.
132 (AccessibleStreamableContent_freeContentTypeList): New method
133 for freeing the return value from
134 AccessibleStreamableContent_getContentTypes.
135 (stream_cache_item_free): Replaces stream_release; stop leaks.
136 (stream_release): removed.
137 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
138 free the memory properly.
140 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
144 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
146 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
148 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
150 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
152 2003-12-01 Bill Haneman <billh@gnome.org>
154 Fix for bug/rfe #127463.
156 * idl/Accessibility_Accessible.idl:
157 (getLocalizedRoleName): New.
158 (unimplemented4): Removed (replaced by above).
160 * libspi/accessible.c:
161 (impl_accessibility_accessible_get_local_role_name): New.
162 (spi_accessible_class_init): Add getLocalizedRoleName entry to
166 (Accessible_getLocalizedRoleName): New.
168 * cspi/spi_accessible.c:
169 (Accessible_getLocalizedRoleName): New.
171 2003-12-01 Bill Haneman <billh@gnome.org>
174 * idl/Accessibility_Text.idl:
175 (getDefaultAttributes): New.
176 (unimplemented4): Removed (replaced by above method).
179 (impl_getDefaultAttributes): New method.
180 (spi_text_class_init):
181 initialize the get_default_attributes slot in the epv.
184 (AccessibleText_getDefaultAttributes): New prototype.
187 (AccessibleText_getDefaultAttributes): New method.
189 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
191 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
192 write beyond the end of the table. Fixes bug #120473.
194 2003-09-30 Christian Rose <menthos@menthos.com>
196 * configure.in: Added "eu" to ALL_LINGUAS.
198 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
200 * configure.in: ALL_LINGUAS: Added no.
202 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
204 * configure.in: Added lt to ALL_LINGUAS.
206 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
208 * atk-bridge/bridge.c:
209 (atk_bridge_init): Register event listeners always even for
210 out-of-process applet.
211 (spi_atk_bridge_toplevel_added): Remove call to
212 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
213 (spi_atk_bridge_toplevelk_removed): Remove call to
214 spi_atk_deregister_event_listenersa as the listeners are now always
216 (spi_atk_bridge_register_application): Remove call to
217 spi_atk_register_event_listeners as it is not done in atk_bridge_init
219 This fixes bug #120991.
221 * libspi/table.c (impl_getColumnDescription): Correct typo,
222 pointed out by Bolian.Yin@sun.com.
224 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
226 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
228 2003-09-08 Bill Haneman <billh@gnome.org>
230 * configure.in: Revved to 1.3.7.
232 This is the GNOME 2.4.0 release of at-spi.
234 * docs/reference/cspi/Makefile.am:
235 Removed spurious inclusion of 'index.sgml' in the
236 html directory; this was breaking make distcheck and
237 also some other build environments.
239 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
241 * registryd/registry.[ch}:
242 Add queue_handler_id and focus_object to SpiRegistry data structure.
243 (registry_flush_event_queue): If event being discarded is
244 "state-change:focused" store object as focus_object.
245 (registry_start_queue): Remove queue handler and focus object
247 (registry_discard_event): New function which discards a focus event
248 if we had stored focus object in the registry.
249 (registry_queue_event): Add new check that is_queueing is set as this
250 function is reentrant.
251 (registry_filer_event): Add call to registry_discard_event.
253 This resolves issues raised in bug #108664.
255 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
257 * configure.in: Added "bn" to ALL_LINGUAS.
259 2003-09-04 Bill Haneman <billh@gnome.org>
261 * cspi/spi_event.c: Documentation improvements for
262 (SPI_registerAccessibleKeylistener).
264 * docs/reference/tmpl/spi_registry.sgml:
265 Documentation improvements for SpiAccessibleKeylistenerCB.
267 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
269 * configure.in: Added "ro" to ALL_LINGUAS.
272 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
274 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
275 not decremented to zero. Fixes bug #120725.
277 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
279 * configure.in: Added "ja" to ALL_LINGUAS.
281 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
283 * configure.in: Added "is" to ALL_LINGUAS.
285 2003-08-22 Christian Rose <menthos@menthos.com>
287 * configure.in: Added "nl" to ALL_LINGUAS.
289 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
291 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
292 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
294 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
296 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
297 type for unspecified exception.
298 * cspi_streamablecontect): Add include of string.h for memcpy.
299 (stream_release): Correct call to bonobo_object_release_unref
300 (stream_cache_item_free): Correct call to bonobo_object_release_unref
301 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
302 argument of _cspi_expection_throw.
303 * libspi/hyperlink.c: Add include of libspi/action.h:
304 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
305 * libspi/streamablecontent.c: add include of libspi/component.h.
306 * regisrtyd/deviceeventcontroller.c:
307 (spi_dec_translate_mask): Removed unused variable priv.
308 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
309 * registryd/registry.c:
310 (registry_filter_event): Remove unused variable queue_is-empty.
311 (impl_registry_notify_event): Use correct modifier in fprintf call.
313 This fixes compiler warnings reported in bug #120220.
315 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
317 * registryd/registryd.c: Remove this file.
319 2003-08-17 Sanlig Badral <badral@openmn.org>
321 * configure.in: Added mn to ALL_LINGUAS.
323 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
325 * configure.in: Added et to ALL_LINGUAS.
327 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
329 * test/event-listener-test.c: Change active-descendant to
330 active-descendant-changed.
332 2003-08-10 Sami Pesonen <sampeson@iki.fi>
334 * configure.in: Added "fi" in ALL_LINGUAS.
336 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
338 * configure.in: Added "hi" in ALL_LINGUAS.
340 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
342 * configure.in: Revved to 1.3.6.
346 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
348 * registryd/deviceeventcontroller.c
349 (spi_device_event_controller_object_finalize): Fix typo in previous
352 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
354 * registryd/deviceeventcontroller.c
355 (spi_device_event_controller_object_finalize): Fix build on
356 systems without XEvIE.
358 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
360 * acconfig.h, configure.in, registryd/Makefile.am,
361 registryd/devicecontoller.[ch]: Add XEViE support.
363 2003-08-06 Wang Jian <lark@linux.net.cn>
365 * configure.in: Added "zh_CN" to ALL_LINGUAS.
367 2003-08-06 Metin Amiroff<metin@karegen.com>
369 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
371 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
373 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
374 MODIFIER_ALT in correct place.
376 This fixes part of bug #118114.
378 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
380 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
382 2003-07-28 Changwoo Ryu <cwryu@debian.org>
384 * configure.in: Added "ko" to ALL_LINGUAS.
386 2003-07-28 Ole Laursen <olau@hardworking.dk>
388 * configure.in: Added "da" to the commented out ALL_LINGUAS.
390 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
392 * configure.in: Added "sq" to ALL_LINGUAS.
394 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
396 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
398 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
400 * configure.in: updated ALL_LINGUAS list
402 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
404 * configure.in: Added Belarusian to ALL_LINGUAS.
406 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
408 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
410 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
411 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
413 This fixes bug #116949.
415 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
417 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
418 Correct CSPI to SPI in function documentation.
420 This fixes bug #118054.
422 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
424 * configure.in: Added Russian to ALL_LINGUAS.
426 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
428 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
430 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
432 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
434 2003-07-10 Joel Brich <joel.brich@laposte.net>
436 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
438 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
440 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
442 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
444 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
445 resources allocated for AccessibleEvent. See cspi_event().
447 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
448 static variable streams to NULL.
450 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
451 Update so that AcessibleEvent_ref will work.
453 This fixes bug #116624.
455 2003-07-06 Jordi Mallach <jordi@sindominio.net>
457 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
459 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
461 * configure.in: Added "fr" (French) to ALL_LINGUAS.
463 2003-07-02 Christian Neumair <chris@gnome-de.org>
465 * configure.in: Added "de" (German) to ALL_LINGUAS.
467 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
469 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
471 2003-07-01 Miloslav Trmac <mitr@volny.cz>
473 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
475 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
477 * configure.in: Added "pl" to ALL_LINGUAS.
479 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
481 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
483 2003-06-30 Bill Haneman <bill.haneman@sun.com>
486 (get_action_from_servant):
487 Removed assertion that action is implemented on an AtkObject.
489 * libspi/hyperlink.c:
491 Aggregate AccessibleAction interface on the hyperlink object if
492 the object implements AtkAction. (This convention is used in
495 2003-06-30 Bill Haneman <bill.haneman@sun.com>
497 * configure.in: Revved to 1.3.5.
499 * registryd/Accessibility_Registry.server.in.in:
500 Marked up appropriate strings for translation.
502 * atk-bridge/bridge.c: Marked a couple of
503 user-visible warnings for translation. Questionable
504 whether they are really useful, but possibly so.
507 2003-06-28 Christian Rose <menthos@menthos.com>
509 * configure.in: Added "sv" to ALL_LINGUAS.
511 2003-06-26 Bill Haneman <bill.haneman@sun.com>
513 * registryd/registry.c:
514 (spi_registry_object_finalize): Unref the deviceeventcontroller.
515 (registry_defer_on_event): Defer focus: events, this is an
516 improvement to the patch for bug #108664.
518 * TODO: Update with 2.4/"Dev Complete" items.
520 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
522 * atk-bridge/bridge.c:
523 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
524 looks up signals once.
525 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
526 if doing registration.
527 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
528 when doing registration.
530 This fixes bug #115014.
532 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
534 * atk-bridge/bridge.c:
535 (atk_bridge_init): Add signal handler for children-changed:remove on
536 root when in a BonoboComponent.
537 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
538 for first toplevel only other incrememt variable toplevels.
539 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
540 application and remove listeners.
541 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
543 (spi_atk_deregister_event_listeners): New function which removes
545 (reinit_register_vars): New fuction which reinitializes variables.
547 This fixes bug #111578.
549 2003-06-13 Bill Haneman <bill.haneman@sun.com>
551 * configure.in: version 1.3.4.
553 * cspi/spi_accessible.c:
554 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
557 2003-06-13 Michael Meeks <michael@ximian.com>
559 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
561 * cspi/spi_main.c (cspi_peek_ev): impl.
563 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
565 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
567 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
569 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
570 SPI_ROLE_AUTOCOMPLETE
572 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
574 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
575 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
577 2003-06-11 Bill Haneman <bill.haneman@sun.com>
579 * libspi/streamablecontent.h:
580 * libspi/streamablecontent.c:
581 New files, provide implementation/wrappers for
582 Accessibility_StreamableContent.
584 * cspi/spi_streamablecontent.c:
585 Connected the C wrappers to the libspi C bindings.
586 (AccessibleStreamableContent_close): New method.
589 (AccessibleStreamableContent_close): New method, needed
590 since we have an "open, [seek], read, close" model in cspi.
592 2003-06-11 Bill Haneman <bill.haneman@sun.com>
594 Fix for #108664; Padraig's revision of my original patch.
596 * registryd/registry.h:
597 Added event queue list, is_queuing, and exit_notify_timeout
598 to the registry struct.
600 * registryd/registry.c:
601 (registry_init): Initialize new struct from registry.h.
602 (impl_registry_notify_event):
603 Filter events before notifying, in case some need to be
605 (registry_filter_event): New,
606 we defer certain incoming events (for instance
607 window:deactivate) because we may wish to hide
608 or reject them based on pending events. This is
609 mostly a workaround for bug #108664.
610 (registry_queue_event, registry_start_queue): New.
611 (registry_defer_on_event): Test event to see if it
613 (registry_reset_on_event): Returns TRUE if the
614 event should cause a queue reset.
615 (registry_discard_on_event): Returns TRUE if the event
616 should cause the previous queue contents to be discarded.
617 (registry_timeout_flush_queue): Flushes the pending event
618 queue if no reset/discard-triggering events have come in
619 within the timeout period.
620 (registry_emit_event): New.
621 (registry_clone_notify_context): New, used when queueing the
622 event notify contexts.
624 2003-06-10 Bill Haneman <bill.haneman@sun.com>
626 * configure.in: Version revved to 1.3.2, lt 0.9.2
627 Incremented ATK required version to 1.3.4.
629 * cspi/spi_registry.c:
630 (SPI_generateKeyEvent):
631 We now pass the keystring along if it's non-null.
633 * registryd/deviceeventcontroller.c:
634 (keysym_mod_mask): New method, returns modifier mask
635 required to generate a keysym from a given keycode.
636 (dec_synth_keysym): New method.
637 (dec_synth_keystring): New method.
638 (dec_get_modifier_state): New method.
639 (dec_lock_modifiers): New
640 (dec_unlock_modifiers): New.
641 (dec_keysym_for_unichar): New, rather brute-force
642 conversion from UCS-4 to X KeySyms. Only works for
643 Latin at the moment, with partial implementations for
644 Greek, Hebrew, and (incomplete) Katakana.
645 (impl_generate_keyboard_event): Now implement
646 "KEYSTRING" synthesis and implement "KEYSYM"
648 (keycode_from_keysym): Improved, passes a returned
649 modmask value now if the corresponding param is non-NULL.
651 Fixes bugs #92143 and #109776.
654 * test/keysynth-test.c:
655 New test program for key synthesis, to confirm fixes for
659 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
661 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
663 * cspi/spi_accessible.c (cspi_init_relation_type_table):
664 Add line for RELATION_POPUP_FOR
666 * docs/reference/cspi/tmpl/spi_relation.sgml:
667 Add relation SPI_RELATION_POPUP_FOR
669 * docs/reference/cspi/tmpl/spi_stateset.sgml:
670 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
672 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
674 * libspi/relation.c (spi_init_relation_type_table):
675 Add line for RELATION_POPUP_FOR
677 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
679 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
680 there are still windows which have not been deleted and emit
681 window:deactivate, if necessary and window:destroy events.
682 This fixes bug #114370. The change on June 5th was not correct.
684 2003-06-09 Bill Haneman <bill.haneman@sun.com>
686 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
689 (SPI_dupString): Allow dup-ing of a string such that it's safe to
691 New methods for client exception handling and interception.
692 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
693 (SPI_exceptionHandlerPop): You guessed it...
694 (SPI_getSourceType): Return the type of object which offended.
695 (SPI_getExceptionCode): Return an enum code telling, possibly,
696 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
697 (SPIAccessibleException_getSource): get the source object for
698 exceptions that come from Accessibles, if SPIExceptionSourceType is
699 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
700 (SPIException_getDescription): New, returns a string description of
701 the problem. [Not yet a stable ABI, strings are not frozen]
703 * cspi/spi-private.h:
704 Added implementation details of opaque SPIException
708 Implementations of above. Also
709 (_cspi_exception_throw): new private method that
710 dispatches exceptions to handlers, called from cspi-bonobo.c
712 * cspi/bonobo/cspi-bonobo.c:
713 (cspi_check_ev): call _cspi_exception_throw.
714 Don't print a warning message if the exception has been
715 handled by _cspi_exception_throw.
717 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
719 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
720 there are still windows which have not been deleted and emit
721 window:deactivate, if necessary and window:destroy events.
722 This fixes bug #114370.
724 2003-06-03 Bill Haneman <bill.haneman@sun.com>
727 (cspi_accessible_is_a): Make non-fatal
728 if the object reference is dead.
730 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
732 * cspi/spi_main.c: #include <stdio.h>
733 * test/simple-at.c: ditto
734 * test/event-listener-test.c: ditto
735 * test/screen-review-test.c: ditto
737 2003-05-30 Michael Meeks <michael@ximian.com>
739 * test/test-simple.c (main): use CORBA_ORB_perform_work
740 instead of an unnecessary linc_ call.
742 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
744 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
745 Add SPI_STATE_INDETERMINATE.
747 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
750 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
752 * libspi/stateset.c (init_state_type_tables): Add support for
755 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
757 * configure: Update versions of atk and gail required.
758 This fixes bug #113268.
760 2003-05-02 Bill Haneman <bill.haneman@sun.com>
762 * configure.in: Revved micro version to 1.3.1 (because of build fix).
764 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
766 * libspi/Makefile.am:
767 Ensure headers are generated before being used by c sources.
769 2003-05-01 Bill Haneman <bill.haneman@sun.com>
772 Simplified lt versioning rules.
773 Incremented version to 1.3.0, to indicate that we're on the
776 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
778 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
779 Add MKDB_OPTIONS=--outtput-format=xml
781 * docs/reference/cspi/at-spi-cspi-docs.sgml
782 docs/reference/idl/at-spi-idl-docs.sgml:
783 Convert to Docbook XML.
785 This fixes bug #111793.
787 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
789 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
790 AcccessibleKeyEventType, AccessibleKeyMaskType.
792 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
794 * cspi/state-types.h: Add documentation for AccessibleState.
796 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
797 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
798 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
799 AccessibleComponentLayer.
801 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
804 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
806 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
807 Accessible. Add description of AccessibleEvent,
808 AccessibleEventListenerCB.
810 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
813 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
814 documentation. Add description of AccessibleKeystrokeListenerCB,
815 AccessibleKeyEventMask, AccessibleModifierMaskType,
816 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
817 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
819 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
822 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
825 This fixes bug #104730.
827 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
829 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
830 Set is_text field of Accessibility_DeviceEvent data structure.
832 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
833 is-text field of AccessibleDeviceEvent data structure.
835 This addresses part of bug #108666.
837 * registryd/devcieeventcontroller.c: Unset debug option.
839 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
842 (cpi_initial_relation_type_table): New function which initializes
843 mapping between Accessibility_RelationType and AccessibleRelationType.
844 (cspi_relation_type_from_spi_relation_type): New function which
845 translates an Accessibility_RelationType into an AccessibleRelationType.
846 (AccessibleRelation_getRelationType): Use
847 cpi_relation_type_get_spi_relation_type to return correct value.
848 (spi_state_to_corba): Return correct type for default case.
850 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
851 Use Accessibility_EventType instead of Accessibility_KeyEventType.
853 * cspi/cspi-bonobo-listener.c:
854 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
857 * libspi/accessible.c, libspi/action.c, libspi/application.c,
858 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
859 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
860 libspi/image.c, libspi/listener.c, libspi/selection.c,
861 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
862 registryd/desktop.c, registryd/registry.c:
863 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
865 * libspi/eventlistener.c
866 Remove semicolon after BONOBO_TYPE_FUNC.
869 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
870 (spi_init_relation_type_table): Initialize using correct type.
872 * registryd/desktop.c:
873 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
874 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
875 of Accessibility_KeyEventType.
877 * test/key-listener-test.c (report_tab_key_event): Use fprintf
880 * tests/simple-at.c, tests/screen-review-test.c:
881 Add include for <strings.h>.
883 * tests.stress-test.c:
884 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
886 These changes fix compiler warnings when using FORTE compiler on
887 Solaris; fixes bug #107479.
890 2003-04-10 Bill Haneman <bill.haneman@sun.com>
893 * configure.in: revved to 1.1.10
896 (SPI_KEYMASK_NUMLOCK): Added.
898 * registryd/deviceeventcontroller.c:
899 (spi_key_event_matches_listener): AND with a smaller
900 bitmask (as we should).
901 (spi_dec_translate_mask):
902 New method, sets the virtual NumLock modifier bit
903 if numlock is on. Eventually it can handle other virtual
904 modifier bits if needed, or other marshalling from
905 at-spi modifier masks to platform (X) masks.
906 (spi_dec_key_listener_new):
907 Call spi_dec_translate_mask to set up virtual mod bits
908 in the 'mask' field when creating a new listener struct.
909 (spi_dec_emit_modifier_event):
910 Set the virtual (i.e. NumLock) bits before emitting event.
911 (spi_controller_register_with_devices):
912 Query for the NumLock modifier 'physical' bit if Xkb is
913 present, for use in above methods.
917 2003-04-10 Bill Haneman <bill.haneman@sun.com>
919 * registryd/deviceeventcontroller.c:
920 (spi_keystroke_from_x_key_event):
921 Instead of checking to see if the keysym is
922 printable, check the string from XLookupString
923 if available, get the first unicode character from it,
924 and call g_unichar_isprint to determine whether the
925 is_text flag should be TRUE or FALSE.
929 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
931 * atk-bridge/bridge.c: Add support for extended events
932 * cspi/spi_event.c: Add documentation and implementation for
934 * tests/event-listener-test.c: Add tests for extended events.
936 This fixes bugs #100424 and #100426.
938 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
940 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
941 of LT_CURRENT. This fixes bug #89350.
943 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
945 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
946 number of signal parameter values before accessing them. This fixes
949 2003-04-01 Bill Haneman <bill.haneman@sun.com>
951 * configure.in: Fixed duplicate inclusion of -lspi.
952 * branched for gnome-2-2/HEAD.
953 [created tag "gnome-2-2"]
955 2003-03-07 Bill Haneman <bill.haneman@sun.com>
957 * configure.in: 1.1.9 release.
960 2003-03-07 Bill Haneman <bill.haneman@sun.com>
962 [needed by GOK, to fix bugs 107985 and 107988]
963 * registryd/deviceeventcontroller.c:
964 (spi_dec_clear_unlatch_pending):
965 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
966 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
967 (spi_dec_init_mouse_listener):Emit warning if mouse button
969 (spi_device_event_controller_forward_mouse_event):
970 Removed unnecessary parens from a conditional.
971 (global_filter_fn):Added TODO comment.
972 (impl_generate_keyboard_event):
973 Cancel a pending relatch if a 'delatching' key was
976 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
978 * atk-bridge/bridge.c:
979 Change atk_signal_child_changed to atk_signal_children_changed.
980 Reorganize code in spi_atk_bridge_signal_listener().
982 * test/event-listener-test.c:
983 Add children_changed_listener and report_children_changed_event()
984 to test AccessibleChildEvent_getChildAccessible.
986 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
988 * cspi/spi_event.c (cspi_internal_event_get_text): Change
989 g_strdup to CORBA_String_dup (bug #105291)
991 * test/event-listener-test.c (report_text_event): Add call to
994 2003-02-28 Bill Haneman <bill.haneman@sun.com>
996 * registryd/deviceeventcontroller.c:
997 (spi_keystroke_from_x_key_event):
998 Fix string and keysym return codes to match modifier state.
1001 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1003 * registryd/deviceeventcontroller.c:
1004 (spi_keystroke_from_x_key_event):
1005 Fix segv due to improper use of isprint(c). [bug #107254]
1007 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1010 (get_accessible_text_boundary_type):
1011 Move default return value to (new) default case in switch.
1012 (get_accessible_text_clip_type):
1013 Move default return value to (new) default case in switch.
1015 * libspi/application.c:
1016 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1017 Remove unused methods.
1018 (impl_accessibility_application_register_object_event_listener):
1019 Remove unused methods.
1022 Added #include of <math.h>.
1024 * registryd/deviceeventcontroller.c:
1025 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1026 we don't currently use this method.
1027 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1029 (impl_generate_key_event):
1030 Remove unused variables.
1031 (impl_generate_mouse_event):
1032 Initialize button to zero, just in case we get an invalid
1033 input. Added support for mouse buttons 4 and 5.
1034 (spi_device_event_controller_new):
1035 Removed unused variable declaration for 'private'.
1037 Added #include of <gdk/gdk.h>
1039 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1041 * configure.in: Update to work when X is not installed in expected
1042 location. Fixes bug #105836.
1044 * atk-bridge/bridge.c
1045 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1047 (spi_atk_register_event_listener): Add signal listener for
1049 (spi_atk_bridge_signal_listener): Event event when link-selected
1050 signal is emitted. (bug #104622)
1052 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1053 on returned string. (bug #105291)
1055 * test/event-listener-test.c: Add test for link-selected.
1057 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1059 * atk-bridge/Makefile.am: Correct typo in previous commit.
1061 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1063 * atk-bridge/Makefile.am: Allow for build directory to be different
1064 from source directory
1066 * registryd/Makefile.am: Allow for build directory to be different
1067 from source directory
1071 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1074 Fixed dependencies for libcspi so that libspi gets pulled in
1075 properly. Fixes 104741.
1079 Clean up inline docs a little.
1081 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1083 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1084 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1085 the AtkObject within an SpiDesktop.
1086 This addresses bug #101524.
1088 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1089 Remove call to gdk_init().
1091 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1092 so that Display is set when SpiDesktop is created.
1094 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1096 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1097 This fixes bug #102830.
1099 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1101 * test/test-simple.c: Update to take account of fact that GailButton
1102 now implements AtkText.
1103 (create_text_window): Set name on AtkObject for GtkEntry.
1104 (validate_accessible): Check accessible name before calling test_text().
1106 * libspi/Makefile.am: Fix problem with building outside of source
1107 directory. Bug #98120.
1109 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1110 typo in documentation comments. Bug #94275.
1112 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1114 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1116 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1119 Add includes to avoid compiler warnings on Solaris.
1120 (impl_getRangeExtents): Bug fix.
1122 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1124 Fix for 100944, [API addition approved by Gman and murrayc].
1131 * idl/Accessibility_Text.idl:
1132 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1133 (Text::getRangeExtents): New method for efficient
1134 bounds query of a text range.
1135 (Text::getBoundedRanges): New method for efficient
1136 clipping of text to bounding boxes.
1137 (unImplemented7, unImplemented8):
1138 Removed these padding methods to preserve bincompat.
1141 (impl_getRangeExtents): implementation of new IDL.
1142 (impl_getBoundedRanges): implementation of new IDL.
1143 (SpiTextRect): Internal use struct.
1144 (_spi_text_rect_union): internal method, calculates union of two
1145 SpiTextRect bounding rects.
1146 (_spi_text_range_seq_from_gslist): internal method, allows us
1147 to build our sequence efficiently as a gslist then convert it
1149 (_spi_bounds_contain): internal method, determines whether
1150 a text character is "in" or "out" of a clip rect according to
1151 values of TEXT_CLIP_TYPE.
1152 (spi_text_class_init): Initialize the new methods in the epv.
1155 (AccessibleTextClipType): New enum used by screen review api.
1156 (AccessibleTextRange): New struct used by screen review api.
1157 (AccessibleText_getRangeExtents):
1158 cspi binding for Accessibility_Text_getRangeExtents.
1159 (AccessibleText_getBoundedRanges):
1160 cspi binding for Accessibility_Text_getBoundedRanges.
1161 (AccessibleTextRange_freeRanges): convenience method.
1164 (AccessibleText_getRangeExtents):
1165 cspi binding for Accessibility_Text_getRangeExtents.
1166 (AccessibleText_getBoundedRanges):
1167 cspi binding for Accessibility_Text_getBoundedRanges.
1168 (AccessibleTextRange_freeRanges): convenience method.
1169 (get_accessible_text_clip_type): internal conversion method.
1170 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1172 * registryd/deviceeventcontroller.c:
1173 (spi_dec_mouse_check):
1174 Improved behavior for mouse:abs events
1175 [same granularity as mouse:rel events, and no
1176 events when mouse is idle].
1178 2002-12-16 Michael Meeks <michael@ximian.com>
1180 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1182 * libspi/stateset.c (state_spi_to_atk): split out
1183 ( fix several remote array bounds nasties )
1184 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1185 (impl_remove): make safe from array bounds issues.
1186 (spi_atk_state_from_spi_state): impl.
1188 * libspi/stateset.h (spi_state_set_cache_is_empty):
1189 add a set of wrapper defines to get layering right.
1191 * cspi/spi_accessible.c: update state set stuff to
1194 2002-12-14 Michael Meeks <michael@ximian.com>
1196 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1197 to avoid 2 roundtrips to the registry per key event
1198 (spi_atk_bridge_key_listener): upd.
1199 (deregister_application): release the dec.
1201 * registryd/registry.c (notify_listeners_cb):
1202 bin lots of re-enterant complexity - we no longer
1203 do a round-trip bonobo ref here, ensure that a single
1204 listener's exception failure won't poison all other
1206 (impl_registry_notify_event): bin obvious memory leak.
1208 2002-12-13 Michael Meeks <michael@ximian.com>
1210 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1211 init the ev so the error is meaningful.
1212 (spi_atk_bridge_key_listener): ditto.
1214 * cspi/spi_main.c (cspi_ev): init the ev so we start
1215 with a clean slate, otherwise the first exception
1216 kills us completely.
1218 * cspi/spi_text.c (get_accessible_text_boundary_type):
1219 add a fallthrough for no warnings.
1221 * cspi/spi_registry.c: prune unused warnings.
1223 * cspi/spi_main.c (cspi_object_take): fix
1224 mind-blowing brokenness ( by watching the compile
1227 * cspi/spi_accessible.c (Accessible_getStateSet):
1228 re-impl. to use an AtkStateSet.
1229 (spi_state_type_from_accessible_state),
1230 (init_state_table): bin these.
1232 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1234 (atk_state_set_from_accessibility_state_set): here.
1236 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1237 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1238 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1239 (AccessibleStateSet_add, AccessibleStateSet_remove),
1240 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1241 (AccessibleStateSet_isEmpty): re-write to use a local
1244 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1246 * configure.in: Revved to 1.1.7 (new keymask vals).
1248 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1250 * libspi/keymasks.h:
1251 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1253 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1256 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1257 to compare two CORBA_TypeCodes.
1258 (cspi_internal_event_add): Silence warning from FORTE compiler.
1260 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1261 avoid implicit declaration of functions.
1263 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1265 * atk-bridge/bridge.c:
1266 (spi_atk_bridge_init_event_type_consts): Store signal id for
1267 active-descendant-changed signal.
1268 (spi_atk_register_event_listeners): Add signal listener for
1269 active-descendant-changed signal,
1270 (spi_atk_bridge_signal_listener): Move code in function
1271 spi_atk-signal_emit_event() into this function.
1272 Add support for active-descendant-changed
1273 Update support for child-changed signal.
1274 (spi_bridge_window_event_listener): Silence warning.
1276 * libspi/spi_private.[ch]:
1277 (spi_init_any_object): Change second parameter from CORBA_Object to
1279 Omit call to CORBA_Object_duplicate().
1280 Set CORBA_any's _value to CORBA_Object*.
1282 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1288 (AccessibleEvent_ref, AccessibleEvent_unref):
1289 New methods, for persisting an event outside the emission context.
1290 Must be used if the new accessor methods are to be called
1291 outside of the event listener's callback.
1293 * cspi/bonobo/cspi-bonobo.c:
1294 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1295 as second parameter instead of NULL, so we can call
1296 cspi_check_ev afterwards.
1299 (cspi_object_take): New internal method,
1300 converts a CORBA_Object reference to a hard ref on
1301 an Accessible if possible, returning NULL if the object
1302 reference is invalid or an Accessible * otherwise.
1305 (AccessibleEvent_ref):
1306 Increment the event's internal private refcount, and
1307 add the event's internal struct to an internal cache
1308 if it's not already there.
1309 (AccessibleEvent_unref):
1310 Decrement the event's refcount and remove it from
1311 the cspi event cache if refcount==0.
1312 (cspi_event_compare): New private method.
1313 Compares two event structs via their ids. Used
1315 (cspi_internal_event_lookup): New private method.
1316 (cspi_internal_event_check): New private method,
1317 a 0-order sanity check for events to make sure their
1318 private data is intact.
1319 (cspi_internal_event_add, cspi_internal_event_remove):
1320 New private methods for managiing the event cache.
1322 * cspi/bonobo/cspi-bonobo-listener.c:
1324 Initialize the new private data elements (id, magic, ref_count).
1326 * atk-bridge/bridge.c:
1327 (spi_atk_bridge_signal_listener):
1328 Fixed bug #100530, passing wrong params to emission func.
1330 * registryd/deviceeventcontroller.c:
1331 (spi_dec_button_update_and_emit):
1332 Fixed type in mask bit operations; fix for #99799.
1334 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1336 Removed some of the more dangerous workarounds from
1337 previous commit; they are only needed by GOK, which
1338 in reality should be using another method to accomplish
1339 the goals. So on reconsideration some of the workarounds
1340 need to be reverted:
1342 * registryd/deviceeventcontroller.c:
1343 (spi_keycodes_contain, spi_dec_init_keycode_list):
1344 Removed these methods, used only by a nasty hack to try
1345 and detect whether a key synthesis should be allowed
1346 to reset the XKB latch state or not. This code was only
1347 required to work around an interaction between GOK,
1348 button events, and XKB.
1349 (impl_generate_key_event):
1350 Removed hack at end of key generation that tried to
1351 "do the right thing" if XKB latch keys were generated
1352 in the midst of button press/release pairs.
1355 Added a check for HAVE_XINPUT. Not normally used yet.
1357 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1359 Workarounds and fixes for mouse event/XKB interaction.
1361 * registryd/deviceeventcontroller.c:
1362 (spi_keycodes_contain, spi_dec_init_keycode_list):
1363 New internal methods.
1364 (spi_dec_set_unlatch_pending):
1365 Split the method that tells XKB to expect an
1366 unlatch (and revert it) out of the rest of the
1367 event handling code. This method is called by the
1368 two mouse event handlers (the poll and the filter).
1369 (spi_dec_update_and_emit, spi_dec_mouse_check):
1370 New methods split from spi_dec_poll_mouse_moved.
1371 The second one is now called from inside the filterFn
1372 when an XKB delatch event is received, to determine
1373 whether to revert the delatch or not.
1374 (spi_poll_mouse_moved): Refactor; also we can now
1375 properly handle the case where multiple button states
1376 have changed between polling cycles and we didn't get
1377 notified due to another client's grab.
1379 Synchronize the server while handling an XKB notification.
1380 Ugly, but apparently necessary to avoid nasty races.
1381 Check the mouse state on receipt of an XKB latch change,
1382 to decide whether to revert the latch or not. (Latches are
1383 reverted if there is an immediately preceding mouse button
1384 event that a client has consumed, in which case we don't want
1385 the user to see the side-effect of the event).
1386 (spi_device_event_controller_forward_mouse_event):
1387 Check for modifier events and fire before resetting mouse_mask_state,
1388 prevents losing modifier events.
1390 (impl_generate_keyboard_event):
1391 If we've just generated a keyboard event for a non-shift key,
1392 we don't want to revert the pending XKB latch.
1393 Otherwise, check the modifier state (via a call to
1394 spi_dev_mouse_check) and set the relatch mask to
1395 that state before returning.
1397 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1400 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1403 * atk-bridge/bridge.c:
1404 (spi_atk_register_event_listeners):
1405 Don't re-register for ATK events if the registry has died
1406 and the app needs to re-register; the ATK listeners are in
1407 process and doing so will cause duplicate emission.
1409 * registryd/deviceeventcontroller.c:
1410 (spi_poll_mouse_moved):
1411 Reformat the source, detect and emit multiple button-change
1412 events (i.e. if multiple buttons have changed between poll
1414 Add code to detect mouse-down events even when the pointer
1415 is grabbed; workaround for GOK bug 98420.
1416 (spi_controller_register_with_devices):
1417 Call XTestGrabControl with 'impervious' flag set to True,
1418 allows us to synthesize events and query the pointer even during
1419 an active grab by another client.
1420 (spi_device_event_controller_forward_mouse_event):
1421 Set the mouse_mask_state to the mouse_button_state from
1422 the intercepted event, to synchronize the grab listener with
1425 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1427 * cspi/spi_accessible.c:
1428 (AccessibleRole_getName):
1429 Added necessary strings for making this (deprecated)
1430 method work with the new role types.
1431 (init_role_table, role_table):
1432 Added definition of SPI_ROLE_APPLICATION.
1434 * libspi/spi-roletypes.h:
1435 Added SPI_ROLE_APPLICATION.
1437 * idl/Accessibility_Role.idl:
1438 Added ROLE_APPLICATION.
1440 * docs/reference/cspi/at-spi-cspi-decl.txt:
1441 Added SPI_ROLE_APPLICATION to docs.
1443 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1445 * cspi/spi_accessible.c
1446 (cspi_init_role_table): Do not write beyond end of role_table.
1447 (Accessible_getRole): Use correct type for value returned by
1448 Accessibility_Accessible_getRole().
1450 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1451 beyond end of role_table. (This fixes bug #98269)
1453 * libspi/application.c: Add include file spi-private.h for
1454 definition of spi_init_any_nil.
1456 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1460 * libspi/spi-private.h:
1461 Added DGB() macro, and extern int _dbg declaration.
1463 * registryd/registry.c:
1464 (definitions) storage for _dbg.
1465 (spi_registry_init):
1466 Get environment variable "AT_SPI_DEBUG".
1467 (spi_registry_set_debug):
1468 New method, to initialize _dbg value.
1469 (spi_listener_struct_new, spi_registry_object_finalize):
1470 (notify_listeners_cb):
1471 Changed fprintfs to use DBG and g_warning().
1473 * registryd/deviceeventcontroller.c:
1474 (_deregister_keygrab, spi_controller_register_device_listener):
1475 Changed debug/warning messages to use DBG macro.
1477 * libspi/listener.c:
1478 (impl_notify_event):
1479 Changed warning messages to use DBG macro and g_warning().
1481 * atk-bridge/bridge.c:
1482 (atk_bridge_init, spi_atk_bridge_get_registry):
1483 (spi_atk_bridge_exit_func):
1484 (spi_atk_bridge_property_event_listener):
1485 Changed status, warning, and error messages to use
1486 g_warning, g_message, and DBG macros.
1489 Read the state of the AT_SPI_DEBUG environment variable
1490 and set a local '_dbg' accordingly.
1492 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1494 FIXES for 98836, 98842, other bugs.
1497 Revved to 1.1.4, interface-age=4, binary-age=4.
1499 * registryd/deviceeventcontroller.c:
1501 Fixed crasher bug in last_mouse_pos initialization.
1503 * registryd/registry.c:
1504 (desktop_add_application, desktop_remove_application):
1505 Added (and then commented out) some support for
1506 object context marshalling. [TODO]
1508 * atk-bridge/bridge.c:
1509 (spi_atk_bridge_event_context_create):
1510 Commented out object context creation until it can
1511 be properly tested and debugged.
1513 * registryd/registry.c:
1514 (impl_registry_notify_event):
1515 Fixed crasher bug, we were calling
1516 spi_re_entrant_list_foreach () with an empty list.
1518 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1520 * idl/Accessibility_Action.idl:
1521 * idl/Accessibility_Component.idl:
1522 * idl/Accessibility_Desktop.idl:
1523 * idl/Accessibility_Event.idl:
1524 * idl/Accessibility_Hyperlink.idl:
1525 * idl/Accessibility_Image.idl:
1526 * idl/Accessibility_Relation.idl:
1527 * idl/Accessibility_Selection.idl:
1528 * idl/Accessibility_State.idl:
1529 * idl/Accessibility_Value.idl:
1530 Updated unimplemented slot count to minimum of
1531 four for all interfaces, for ABI freeze.
1533 * idl/Accessibility_EditableText.idl:
1534 * idl/Accessibility_Text.idl:
1535 Updated unimplemented slot count to six
1538 * idl/Accessibility_Registry.idl:
1539 Updated unimplemented slot count to six
1540 (also for DeviceEventController),
1543 * idl/Accessibility_Table.idl:
1544 Updated unimplemented slot count to eight,
1547 * idl/Accessibility_Event.idl:
1548 Added CORBA_any "any_data" member to Event struct.
1550 * idl/Accessibility_Event.idl:
1551 Added CORBA_any "any_data" member to Event struct.
1553 * atk-bridge/bridge.c:
1555 atk_signal_text_changed, atk_signal_child_changed,
1556 signal ids queried from gtype system.
1557 (AtkBridgeEventContextType): New enum.
1558 (AtkBridgeEventContextData): New struct.
1559 (AtkBridgeEventContext): New struct.
1560 (atk_bridge_init_event_type_consts):
1561 New method, initializes type contants for comparison
1562 prior to emit_eventv.
1563 (atk_bridge_event_context_init): New method,
1564 initializes a CORBA_any from an AtkBridgeEventContext.
1565 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1566 initialize the event.any_data struct.
1567 (spi_atk_bridge_event_context_create): New method,
1568 creates an AtkBridgeEventContext from signal/event info.
1569 (spi_atk_bridge_event_context_free): New method.
1570 (spi_atk_emit_eventv): Changed to take an
1571 AtkBridgeEventContext parameter. We now initialize
1572 the event.any_data member prior to notifying the
1573 Registry, via the AtkBridgeEventContext.
1574 (spi_atk_bridge_property_event_listener):
1575 (spi_atk_bridge_state_event_listener):
1576 Match emit_eventv signature.
1577 (spi_atk_bridge_object_event_listener):
1578 Match emit_eventv signature, and create an
1579 event context from the event details.
1580 Free the event context afterwards.
1581 (spi_atk_bridge_window_event_listener):
1582 Create an event context, pass it to the
1586 (AccessibleEvent_getContextString):
1587 (AccessibleEvent_getContextObject):
1588 New methods, allow query of AccessibleEvent objects
1589 for more context details (via the "any_data" member
1590 of the Event struct, above).
1593 Definitions for AccessibleEvent_getContextString
1594 and AccessibleEvent_getContextObject.
1596 * cspi/spi_listener.h:
1597 (InternalEvent): New struct.
1600 (AccessibleEvent_getContextString):
1601 (AccessibleEvent_getContextObject):
1602 Implementations of new methods, for obtaining
1603 additional context information from some event types.
1605 * cspi/spi_registry.c:
1606 (SPI_registerGlobalEventListener):
1607 Added mention of active-descendant-changed event in docs.
1609 * cspi/cspi-bonobo-listener.c:
1611 Marshal the any into the AccessibleEvent via
1614 * libspi/spi-private.h:
1615 #include <orbit/orbit.h>
1617 (spi_init_any_string):
1618 (spi_init_any_object):
1619 New convenience function declarations.
1623 (spi_init_any_string):
1624 (spi_init_any_object):
1625 New convenience function implementations.
1627 * registryd/deviceeventcontroller.c:
1628 (spi_poll_dec_mouse_moved):
1629 (spi_device_event_controller_forward_mous_event):
1630 Initialize any_data member of event.
1631 (spi_deregister_controller_device_listener):
1632 Fix incorrect param pass which was preventing deregistration.
1634 * registryd/registry.c:
1635 (desktop_add_application):
1636 (desktop_remove_application):
1637 Add object data to event's any_data before dispatch.
1639 Fix for error messages from GAIL.
1641 * test/event-listener-test.c:
1642 Test new ContextString and "any_data" API:
1643 (report_text_event): New method query and output context string.
1644 (main): register a new text listener with report_text_event
1647 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1649 Fixes for bugs 98127 and 97914.
1650 * cspi/spi-roletypes.h:
1651 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1653 * cspi/spi-statetypes.h:
1654 Added SPI_STATE_MANAGES_DESCENDANTS
1656 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1657 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1658 * cspi/spi_accessible.c:
1659 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1660 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1661 Accessibility_STATE_MANAGES_DESCENDANTS
1662 * libspi/accessible.c:
1663 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1664 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1665 As requested by Bill, I also cleaned up the alignment.
1666 * libspi/relation.c:
1667 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1668 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1669 * libspi/stateset.c:
1670 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1671 Accessibility_STATE_MANAGES_DESCENDANTS
1672 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1673 Document changes reflecting modifications to roles.
1674 * docs/reference/cspi/tmpl/spi_relation.sgml:
1675 Document changes reflecting modifications to relations.
1676 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1677 Document changes reflecting modifications to states.
1679 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1682 Revved to 1.1.3, interface-age=3, binary-age=3.
1683 Added REBUILD macro.
1686 Removed accessx-gui from the tests, since we have a nice
1687 keyboard accessibility capplet now :-)
1689 * test/keysynth-demo.c:
1690 (increment_scan): removed do-nothing default: case,
1693 * test/visual-bell.c:
1694 (main) : removed do-nothing default: case,
1697 * cspi/spi_action.c:
1698 (AccessibleAction_getKeyBinding_):
1699 Documented keybinding string format.
1703 (AccessibleText_getAttributes):
1704 Documented the text attribute string format.
1705 It's changed to use semicolon delimiters also,
1706 to prevent clashes with CSS attributes, but the old
1707 trick of looking for ", " strings will still work
1708 (as unreliably as ever). Fix for bug related to 97916.
1711 Include <cspi/bonobo/cspi-bonobo-listener.h>
1712 Fixes build warning.
1713 (SPI_freeAccessibleKeySet):
1714 (AccessibleKeystrokeListener_addCallback):
1715 (AccessibleKeystrokeListener_removeCallback):
1716 Modify to use AccessibleDeviceListener API internally,
1717 instead of AccessibleKeystrokeListener.
1719 * idl/Accessibility_Event.idl:
1720 Added two more empty slots to EventListener (for a total of four).
1722 * idl/Accessibility_Accessible.idl:
1723 Added four empty slots to Accessible interface.
1725 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1727 * idl/Accessibility_Registry.idl:
1728 (KeyEventType, EventType):
1729 Marked KeyEventType as deprecated; it duplicates
1730 functionality of EventType, which has been extended to
1731 include Mouse-button events.
1732 (KeyEventTypeSeq): defined in terms of EventType.
1733 (registerDeviceEventListener, deregisterDeviceEventListener):
1734 New methods, for managing listeners to device events,
1735 which potentially may consume them.
1738 Added definition for AccessibleDeviceListener.
1740 * cspi/spi-listener.h:
1741 (enum AccessibleDeviceEventType):
1742 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1743 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1744 for backwards compat.
1745 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1746 and typedef'd AccessibleKeystroke to it for back-compat.
1747 (AccessibleDeviceListenerCB):
1748 New function prototype typedef.
1751 (AccessibleDeviceEventMask): New typedef.
1752 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1753 (AccessibleKeyMaskType):
1754 Set equivalent to AccessibleModifierMaskType for back-compat.
1755 (SPI_createAccessibleKeystrokeListener):
1756 (AccessibleKeystrokeListener_unref):
1757 Deprecated in favor of equivalent (better-named) new API below..
1758 keystroke listeners are like all device listeners.
1759 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1760 New API names for old features :-).
1761 (AccessibleDeviceListener_addCallback):
1762 (AccessibleDeviceListener_removeCallback):
1763 (SPI_registerDeviceEventListener):
1764 (SPI_deregisterDeviceEventListener):
1768 (SPI_createAccessibleKeystrokeListener):
1769 Use new preferred API, cspi_device_listener_new() and
1770 cspi_device_listener_add_cb().
1771 (AccessibleKeystrokeListener_removeCallback):
1772 Use new preferred API, cspi_device_listener_remove_cb().
1773 (AccessibleKeystrokeListener_unref):
1774 Use new preferred API, cspi_device_listener_unref().
1775 (SPI_createAccessibleDeviceListener):
1776 (AccessibleDeviceListener_addCallback):
1777 (AccessibleDeviceListener_removeCallback):
1778 Implementation of new API.
1780 * cspi/spi_registry.c:
1781 (SPI_registerDeviceEventListener):
1782 (SPI_deregisterDeviceEventListener):
1783 Implementation of new API. Fixed memory leak and removed need to
1784 allocate EventTypeSeq (thanks Michael for catching this).
1785 Squashed a wayward CORBA_exception_free that shouldn't get called.
1787 * cspi/bonobo/cspi-bonobo-listener.c:
1789 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1790 (cspi_key_event): renamed to cspi_device_event().
1791 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1792 Extended to handle mouse button events as well as key events.
1793 (CSpiKeystrokeListener):
1794 Class superceded by CSpiDeviceListener.
1795 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1796 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1798 * cspi/bonobo/cspi-bonobo-listener.h:
1799 (CSpiKeystrokeListener):
1800 Class superceded by CSpiDeviceListener.
1801 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1802 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1804 * libspi/Makefile.am:
1805 Replaced keystrokelistener.h and keystrokelistener.c
1806 with devicelistener.h and devicelistener.c; keystrokelisener.h
1807 stub retained for back-compat.
1809 * libspi/keystrokelistener.c:
1813 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1815 * registryd/deviceeventcontroller.c:
1816 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1817 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1818 (DEControllerPrivateData): Added xkb settings data.
1819 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1820 button release events (which can't be captured via XGrabButton).
1821 Don't dispatch via the 'normal' event mechanism if the device event was
1823 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1824 Handle the typeseq data in its new location (see above).
1825 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1826 New methods, for "generic" device listeners.
1827 (spi_controller_register_device_listener):
1828 Now handle mouse event listeners as well as key listeners.
1829 (spi_controller_notify_mouselisteners):
1830 New internal method.
1831 (spi_device_event_controller_forward_mouse_event):
1832 Now we notify mouse device listeners as well as generating the
1833 non-consumable "mouse:" events.
1835 We must check and restore the XKB
1836 modifier map if we consume the event, since the act of triggering
1837 a mouse event will normally reset the XKB latch. This is required for
1839 (spi_controller_register_with_devices):
1840 Load the XKB settings when registering, and register for XKB
1841 state notify events.
1842 (spi_key_eventtype_seq_contains_event):
1843 Renamed spi_eventtype_seq_contains_event, since it's used
1844 internally for all device event types now.
1845 (spi_key_event_matches_listener):
1846 Uses spi_eventtype_seq_contains_event now.
1847 (spi_device_event_controller_object_finalize):
1848 Free the private data and the XkbKeyboard struct.
1849 (impl_register_device_listener, impl_deregister_device_listener):
1850 Implementation of new IDL.
1851 (spi_deregister_controller_device_listener):
1852 New internal method.
1853 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1854 More efficient implementation, we don't have to create a new
1855 XkbControls structure every time we query.
1856 (spi_device_event_controller_class_init):
1857 Initialize the epv entries for the new IDL. Assign the
1858 "spi-dec-private" quark.
1859 (spi_device_event_controller_init):
1860 Initialize the private data.
1861 (spi_device_event_controller_forward_key_event):
1862 Removed a bogus CORBA_exception_free() call.
1864 * registryd/deviceeventcontroller.h:
1865 Replaced inclusion of keystrokelistener.h with
1868 * test/event-listener-test.c:
1869 (report_mouse_event):
1872 Added mouse-event device listener.
1874 * test/test-simple.c:
1875 (create_test_window):
1876 Fixed regression (we were instantiating a GtkRange,
1877 which is now an abstract class). Also fixed to match
1878 existing AtkRole names, this seems to have changed in ATK
1879 awhile ago; too late now I think, and the new
1880 mechanism is at least elegant and consistent with the
1881 glib enum "nick" APIs.
1883 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1885 * idl/Accessibility_Relation.idl:
1886 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1887 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1888 * idl/Accessibility_Role.idl:
1889 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1890 * idl/Accessibility_State.idl:
1891 add STATE_MANAGES_DESCENDANTS
1892 * test/event-listener-test.c:
1893 Added a listener for active-descendant events.
1895 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1897 * atk-bridge/bridge.c
1898 (atk_bridge_init): If application is Bonobo component wait until top
1899 level is added before registering
1900 (spi_atk_bridge_do_registration): New function which contains code,
1901 formerly in atk_bridge_init, to do application registration.
1902 (spi_atk_bridge_toplevel_added): Signal called when top level
1903 added to Bonobo component
1905 This fixes bug #83134.
1907 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1909 * registryd/deviceeventcontroller.c
1910 Fixed compilation error caused by calling gettimeofday()
1913 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1918 Added template for HAVE_XKB.
1921 Changes to check for XKB, and to set the HAVE_XKB #define if it
1924 * libspi/listener.c:
1925 ()impl_notify_event): Make failure to get event source name
1928 * registryd/deviceeventcontroller.c:
1929 (#include): include X11/XKBlib.h.
1930 (DEControllerPrivateData) : New struct.
1931 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1933 (dec_synth_keycode_press) (dec_synth_keycode_release):
1934 New methods; split the key synthesis code into these methods.
1935 They check XKB settings before determining the "time" values to
1936 pass to Xtest; this fixes bug #95828.
1937 (impl_generate_keyboard_event): Changed to use methods above,
1938 instead of callng Xtest directly.
1939 (spi_device_event_controller_init): Initialize new privae struct s
1941 (spi_device_event_controllr_object_finalize):
1942 Free the (new) private data.
1944 * registryd/deviceeventcontroller.h:
1945 Add new gpointer to end of struct data.
1947 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1950 Incremented revision to 1.1.2, SONAME is still '.so', library
1951 extensions are ".so.0.0.2".
1953 * registryd/deviceeventcontroller.c:
1954 FIXES FOR #93592 and #95940.
1955 (statics): renamed mouse_button_state to mouse_mask_state,
1956 added key_modifier_mask.
1957 (spi_dec_poll_mouse_moved):
1958 Added key modifier checks, and emit "keyboard:modifiers"
1959 events when the key modifiers currently in use change.
1960 Also generate "mouse:abs" events periodically, even if the mouse
1961 is stationary (should we?).
1962 Alternatively we could generate "mouse:abs" events for either all
1963 mouse movements, or every 'nth' mouse movement, or at the
1964 beginning and end of every "active" mouse period.
1966 * test/event-listener-test.c:
1967 (main): Added listener for "keyboard:modifiers" events.
1969 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1971 * libspi/keymasks.h:
1972 Added key mask #defines for mouse buttons; e.g.
1973 SPI_KEYMASK_BUTTON1, etc.
1976 Incremented dependency on ATK to version 1.1.0. (This dependency
1977 is probably premature but will soon be real enough).
1979 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1981 * libspi/hyperlink.[ch]
1982 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1983 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1986 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1991 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1993 * registryd/deviceeventcontroller.c
1994 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1995 events to be ignored.
1996 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1997 keyboard_mode so that XAllowEvents() can be called.
2001 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2003 * cspi/spi-accessible.c: Correct names of roles returned by
2004 AccessibleRole_getName(). Fixes bug #95055.
2006 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2008 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2011 * registryd/registry.c
2012 (desktop_remove_application: Write diagnostic message to stderr for
2015 (impl_accessibility_registry_deregister_global_event_listener):
2016 Correct size of lists array. This addresses bug #94555).
2018 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2020 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2023 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2025 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2028 * registryd/registry.c (impl_registry_notify_event): Remove
2029 unnecessary call to parser_event_type().
2031 * docs/reference/cspi/tmpl/spi_component.sgml:
2032 Add reference to SPI_LAYER_WINDOW.
2034 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2036 * registryd/registry.c
2037 (desktop_add_application): Remove leak.
2038 (desktop_remove_application): Remove leak.
2039 (parser_event_type): Remove leak.
2041 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2043 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2044 bogus call to CORBA_string_dup(). Also removed unnecessary
2045 g_string_dup/g_free calls.
2047 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2049 * registryd/deviceeventcontroller.c:
2050 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2052 * test/event-listener-test.c:
2053 main: commented out three redundant listeners, to reduce output
2054 noise. (They still are potentially useful for testing).
2057 2002-09-13 Michael Meeks <michael@ximian.com>
2059 * Update all the copyrights to include Ximian.
2061 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2063 * cspi/spi.h: add SPI_LAYER_WINDOW.
2065 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2066 add Accessibility_LAYER_WINDOW case.
2068 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2070 * libspi/component.c: (impl_accessibility_component_get_layer):
2071 add ATK_LAYER_WINDOW case.
2073 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2075 * configure.in: incremented micro version.
2077 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2079 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2082 Clarified and reworded our commit policy.
2085 Started an API "todo" addition list for 2.2.
2088 (impl_getSelection):
2089 Free char pointer from atk_text_get_selection, which was being leaked.
2091 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2094 Small revision to author acknowledgement.
2096 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2098 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2099 If signal has detail add it to the type of the event.
2102 2002-08-12 Michael Meeks <michael@ximian.com>
2104 * test/test-simple.c (global_listener_cb): bin bogosity.
2105 (test_keylisteners): disable, still doesn't work reliably,
2106 certainly not on my system anyway.
2108 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2109 don't leak a reference on the DEC. This round-trip
2110 fetching of the DEC per keystroke sucks, it should be
2113 * cspi/spi-private.h,
2114 * cspi/cspi-lowlevel.h,
2115 * cspi/bonobo/cspi-bonobo-listener.[ch],
2116 * cspi/bonobo/cspi-bonobo.c: get the copyright
2117 notices better - there is still a large amount of
2118 work in at-spi falsely attributed solely to Sun.
2120 * cspi/spi_main.c (cspi_object_ref): kill bogus
2121 hash lookup, just increment the ref.
2122 (SPI_freeString): make explicit the fact that we
2123 handle NULL strings just fine.
2124 (report_leaked_ref): obey coding standards.
2125 (cspi_object_hash, cspi_object_equal): kill retval.
2126 (cspi_object_release): only release if not on loan.
2127 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2128 (cspi_object_borrow, cspi_object_return): impl.
2130 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2131 use cspi_object_borrow / return.
2133 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2135 * cspi/bonobo/cspi-bonobo-listener.c:
2137 Don't call cspi_oject_new() because this is creating a new Accessible
2138 every single time that an event is fired. This causes ATs like at-poke
2139 to nolonger recognise the source of the event and thus ignore it.
2140 Re-use the object from the cache, ref it and then unref it after the
2141 listeners have been called.
2143 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2145 * test/event-listener-test.c:
2146 Added command-line options to disable mouse events (m) and
2149 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2151 * configure.in: Update required versions of ATK, GTK+ and GAIL
2153 * cspi-1.0.pc.in: Add dependency for X include files
2156 * cspi/bonobo/Makefile.am:
2157 Add $(X_CFLAGS) so that X include files
2158 are picked up even if not in standard place (bug #71686)
2160 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2162 * registryd/deviceeventcontroller.c: fix for 84261
2163 (spi_dec_mouse_moved):
2164 Added test of mouse button mask, so that we can detect mouse
2165 button release. Unfortunately we can't otherwise detect mouse
2166 button release events without consuming the mouse press event,
2167 because of the way XGrabButton works. This means that our mouse
2168 release events have a latency dependent on the polling period
2169 while the mouse button is down. At least in this case we only
2170 have to poll while the button is down, and not at other times.
2171 If the button masks don't match with what the last press event
2172 reported, we report the appropriate button release event.
2173 (spi_dec_ungrab_mouse):
2174 New method (not yet called).
2175 (spi_device_event_controller_forward_mouse_event):
2176 New method, sends mouse press event from GdkFilter.
2177 (spi_dec_init_mouse_listener):
2178 Added code to call XGrabButton, redirecting mouse button events to
2179 the root window and our Gdk event loop.
2181 Added code to filter mouse button events, and reordered.
2183 * test/event-listener-test.c:
2185 Added registration for mouse events of type "mouse:button".
2187 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2189 * registryd/deviceeventcontroller.c: partial fix for 84261
2190 (spi_dec_poll_mouse_idle):
2191 New method, a timeout which checks to see if the mouse
2193 (spi_dec_poll_mouse_moving):
2194 A timeout to be called when mouse motion is underway.
2195 (spi_dec_poll_mouse_moved):
2196 A method which fires an event if the mouse has moved, and reports
2197 whether or not it did so.
2198 (spi_dec_init_mouse_listener):
2199 A method which sets up the timeouts above.
2200 (spi_device_event_controller_new):
2201 Now calls spi_dec_init_mouse_listener.
2203 * registryd/registry.c:
2204 (spi_registry_init):
2205 Now we initialize the device event controller when the registry is
2206 initialized, instead of waiting until a client has requested a key
2207 event notification; this is because we need the event controller
2208 for mouse events, but the mouse event registration API is a
2209 "registry" call and doesn't explicitly call the
2210 deviceeventcontroller.
2211 We now report mouse motion events with a 100 ms idle latency and
2212 a 20 ms granularity when motion is in progress.
2214 * test/event-listener-test.c:
2216 We now register the "detail listener" for events of type
2217 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2218 delivered only for the first mouse event received, and thereafter
2219 "mouse:abs" events are delivered.)
2221 * cspi/spi_registry.c:
2222 DOCS: Documented the above mouse event typestrings.
2224 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2226 Happy Summer Solstice...
2228 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2229 (spi_controller_notify_keylisteners):
2230 Changes to remove a listener from the listener list, freeing its
2231 open keygrabs, if a notification to that listener fails. This
2232 means that although a dead listener can continue to hold a passive
2233 keygrab, a maximum of one dispatch to such a listener can fail
2234 before the listener is removed from the list, thus the keygrab
2235 will be released on the next occurrence.
2236 As part of this fix:
2237 (spi_notify_keylisteners):
2238 Renamed to spi_controller_notify_keylisteners, as the controller
2239 instance must now be passed as an argument.
2240 The copied 'notify' GList is now a list of DEControllerKeyListener
2241 objects, since we need more than just the CORBA reference if a
2242 notify fails and we need to deregister the listener.
2243 (impl_notify_listeners_sync):
2244 (impl_notify_listeners_async):
2245 (spi_device_event_controller_forward_key_event):
2246 Modify use of notify_keylisteners in accordance with above
2248 (spi_deregister_controller_key_listener):
2249 New method introduced by refactoring, from
2250 impl_deregister_keystroke_listener.
2251 (impl_deregister_keystroke_listener):
2252 Call spi_deregister_controller_key_listener.
2253 (spi_key_listener_clone):
2254 New method to copy a key listner without doing a 'ref' on the
2255 remote object instance; used to create a notifier list.
2256 (spi_key_listener_data_free):
2257 New method, frees data without unreffing the source.
2259 (spi_key_listener_clone_free): new method.
2260 (spi_key_listener_free):
2261 refactored to call spi_key_listener_data_free.
2263 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2265 * registryd/registry.c: [fix for bug 86048]
2266 (notify_listeners_cb):
2267 Clear CORBA system exceptions which occur when notifying
2268 listeners, before returning to the source of the original event,
2269 since the event source doesn't care if the relayed notify failed.
2270 In other words, don't complain to the atk-bridge if the registry
2271 could not notify all its listeners, that's no fault of the
2272 application and thus should not appear to be an error from the
2273 application's perspective.
2275 * cspi/spi_main.c: [fix for bug 85980]
2277 Replaced use of bonobo_object_dup_ref with call to the wrapper
2278 method, csou_dup_ref (); this silences a compiler warning and
2279 provided more portability.
2281 Ping the registry before return, and restart if necessary.
2283 * cspi/bonobo/cspi-bonobo.c:
2285 New internal method.
2287 Fixed this method to return an object reference, as it should have
2290 * cspi/cspi-lowlevel.h:
2291 Added internal definition for cspi_ping() and fixed
2292 return type of cspi_dup_ref().
2295 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2297 * atk-bridge/bridge.c: [fix for bug 85305]
2298 (spi_atk_bridge_register_application):
2299 New method where the initial application registry calls have been
2300 moved; it allows an application to re-register in response to
2301 certain error conditions (such as a registry restart, see below).
2303 Moved some initialization code to the method
2304 spi_atk_bridge_get_registry, below.
2305 (spi_atk_bridge_get_registry):
2306 New, private accessor function for the Accessibility_Registry
2307 instance. If the registry has not been started before, or has
2308 died (as detected by failure of a CORBA exception), it is
2309 restarted before return, and spi_atk_bridge_register_application
2310 is called again to register with the new bridge instance.
2311 (spi_atk_emit_eventv):
2312 Set registry_died on error; use spi_atk_bridge_get_registry () to
2313 access the registry.
2315 * registryd/registry.c:
2316 (impl_accessibility_registry_register_global_event_listener):
2317 Set listener's event_type_quark to etype.minor instead of
2318 etype.major (fix for bug 84856).
2320 * test/event-listener-test.c:
2321 (report_detail_event):
2322 Change the output string so that user/tester can tell that the
2323 'detail listener' was called instead of the 'generic listener'.
2325 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2327 Fixes for bugs 84900, 84908, 84897, 84898.
2332 Revved version to 1.1.0
2333 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2334 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2336 * idl/Accessibility_Registry.idl:
2337 (EventListener::notifyEvent):
2338 Removed 'oneway' directive after extensive consulation with
2339 ORBit2 team and others. This means also that unref() of the event
2340 source can and should be done synchronously after emission, rather
2341 than remotely in the client, after servicing the notify call on
2344 NOTE: This change speeds up listener performance considerably, but
2345 introduces new latency on the application side. We may want to
2346 add an event queue to the atk-bridge.
2348 * atk-bridge/bridge.c:
2349 (spi_atk_bridge_focus_tracker):
2350 Do a local unref() on the event source after emission.
2352 * registryd/registry.c:
2353 (desktop_remove_application):
2354 Do an unref() on the event source after emission.
2355 (desktop_add_application):
2356 Do an unref() on the event source after emission.
2357 (notify_listeners_cb):
2358 When relaying an event, don't automatically add the event source
2359 to the local object cache, just CORBA_dup it instead. Likewise,
2360 if this method reenters, release the ref rather than calling
2362 (impl_registry_notify_event):
2363 No longer call remote unref() on the event source after dispatch.
2365 * libspi/eventlistener.c:
2366 (impl_accessible_event_notify_event):
2367 Removed remote unref ()
2369 * cspi/bonobo/cspi-bonobo-listener.c:
2371 We now call cspi_object_new() instead of cspi_object_add() on
2372 receipt of an event; thus we only have an implicit object ref
2373 while the cspi_event method is being executed. If we need to keep
2374 a reference to the object, the listener must call ref() on the
2375 object. Thus also we don't need to call cspi_object_unref() after
2376 invoking the listener callbacks in this method.
2380 New internal API for creating a new cspi object, without adding it
2381 to the object cache.
2383 Now uses cspi_object_new() to create the cspi object instance.
2385 Now checks to see if the object is in the internal object cache,
2386 and adds it if necessary before incrementing its refcount (note
2387 that new objects are added with a refcount of 1).
2388 (report_leaked_ref):
2389 New method which gives some information on leaked object instances
2390 if leak detection is turned on.
2392 * test/event-listener-test.c:
2393 (timing_test_event):
2394 New method, used for testing event delivery timing for special
2395 events of type "object:test". It reports elapsed time and
2396 events/sec every 500 events.
2398 Added a new listener, 'test listener', to check timing of event
2399 receipt as noted above.
2401 Added some timing output here also, reports elapsed time every 100
2404 * test/stress-test.c:
2405 Emit events of type "object:test", for use with "event-listener-test".
2407 * test/test-simple.c:
2408 (global_listener_cb):
2409 Call Accessible_ref() on the event source before calling
2410 validate_accessible, since the validation process does pointer
2411 comparisons on the event source, meaning that the event source
2412 needs to be added to the local object cache first. Any use of
2413 such pointer comparisons between Accessible objects requires that
2414 the caller hold an explicit reference to those objects.
2415 We also must therefore call Accessible_unref() when leaving this method.
2417 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2419 * registryd/deviceeventcontroller.c:
2420 (spi_controller_update_key_grabs):
2421 Fix for #84735, subsequent keygrab listeners not informed of
2422 registration failure.
2425 (spi_base_construct):
2426 Add an assertion on construct, to make sure the GObject passed in
2427 is really a GObject.
2429 Explicitly initialize object->gobj pointer to NULL;
2431 * cspi/bonobo/cspi-bonobo-listener.c:
2432 (cspi_object_add_ref):
2433 New method, can specify whether to dup-ref a bonobo object passed
2434 in if it's newly added to the object cache.
2436 Now calls cspi_object_add_ref with second param of "FALSE". This
2437 prevents us from doing a pointless dup-ref followed by
2438 release-unref for all those cases where the object is already in
2439 our object cache (fix for #85205).
2441 * atk-bridge/bridge.c:
2442 (spi_atk_bridge_idle_init):
2443 Removed this method, we don't need to initialize in an idle
2446 Changed to call spi_atk_register_event_listeners directly, not via an
2447 idle handler. (fix for #81139)
2448 (gnome_accessibility_module_shutdown):
2449 Removed conditional around deregistration of listeners, since we
2450 don't use the idle handler and thus have always registered when
2452 (spi_init_keystroke_from_atk_key_event):
2453 Changed references to Accessibility_KEY_PRESSED to
2454 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2456 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2458 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2463 * test/stress-test.c:
2466 (may have been an incomplete commit yesterday?)
2468 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2471 Added target for new stress-test.
2473 * test/stress-test.c:
2474 New test, sends 1000 focus notifies in quick succession.
2476 * test/key-listener-test.c:
2477 Now we report whether a keylistener registration
2478 request succeeded or failed.
2480 * test/event-listener-test.c:
2481 Uncommented some listeners which are now implemented.
2484 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2486 * registryd/deviceeventcontroller.c:
2487 (spi_controller_update_key_grabs):
2488 Fix for #82509, lack of failure notification when
2489 ALL_WINDOWS keygrabs fail due to XGrabKey
2490 failure: we synchronize the server when
2491 registering a passive grab, to make sure we get the
2492 error message before the call returns.
2494 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2496 * test/test-simple.c:
2498 Removed #ifdef KEY_IMPL_WORKS guards.
2499 (test_keylisteners):
2500 Removed #ifdef KEY_IMPL_WORKS guards.
2501 Fixed bug which was causing a hang waiting for a
2502 "press" event (which was already overwritten by a "release"
2503 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2505 Added code to set globals 'key_press_received' and
2506 'key_release_received'.
2509 Added section "1.1 API Proposed Additions" which
2510 lists API additions desired for at-spi-1.1 (only one so far).
2511 Updated TODO list a little.
2513 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2515 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2518 * configure.in: Revved to 1.0.0.
2520 * idl/Accessibility_Registry.idl:
2521 (registerKeystrokeListener):
2522 Added boolean return value.
2524 * registryd/registry.c:
2525 (notify_listeners_cb): Minor fix to debug output.
2527 * registryd/Accessibility_Registry.server.in.in:
2528 Revved version number in OAFIID to 1.0.
2530 * registryd/registryd.c:
2532 Use new OAFIID version.
2534 * cspi/bonobo/cspi-bonobo.c:
2536 Use new OAFIID version.
2542 * atk-bridge/bridge.c:
2544 Use new OAFIID version.
2546 * registryd/deviceeventcontroller.c:
2547 (impl_register_keystroke_listener):
2548 Added CORBA_boolean return value.
2549 (spi_controller_register_device_listener):
2550 Added gboolean return value.
2551 (spi_controller_register_global_keygrabs):
2552 Added gboolean return value.
2553 (spi_key_set_contains_key):
2554 Added implementation for many more control keys,
2555 for instance F1-F12, arrow keys, End, Home, Page_Up,
2557 [TODO: some still not implemented].
2559 * text/screen-review-test.c:
2560 (text_chunk_pad_string):
2561 New function: it provides mapping between coordinate
2562 positions of text chunks and character positions in the
2563 screen-review-line output string.
2564 (text_chunk_to_string):
2565 New function, calls text_chunk_pad_string with various
2566 pad/delimiter characters. Pushbuttons are delimited with
2567 square brackets, Frames with vertical 'pipe' lines, and
2568 other text with double quotes.
2569 (text_chunk_list_to_string):
2570 Calls new function text_chunk_to_string.
2571 (toplevel_composite):
2572 New function to composite layers CANVAS through
2573 POPUP in each toplevel (other layers are composited
2574 across toplevels, i.e. BACKGROUND and OVERLAY).
2575 (review_buffer_composite):
2576 Revise to use new methods.
2582 2002-05-31 Laszlo Peter <laca@sun.com>
2584 * configure.in: add the Xtst libdir to the runpath on Solaris,
2585 since it's not in the default library search path.
2587 2002-05-29 jacob berkman <jacob@ximian.com>
2589 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2591 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2593 * test/screen-review-test.c:
2594 (text_chunk_pad_string):
2595 Added method, which pads the string according to the
2596 text bounds of the chunk. It also takes a 3-character
2597 string as a param which indicates the characters to be
2598 used for start, padding, and end delimitation of the chunk.
2599 (text_chunk_to_string):
2600 Changed to use text_chunk_pad_string.
2602 * configure.in: Fixed bug in AC_OUTPUT that was
2603 causing path substitution in Accessibility_Registry.server
2606 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2608 * text/screen-review-test.c:
2609 (guess_string_clip):
2610 New method which attempts a best-guess at clipping
2611 text from components (like Java labels) which don't
2612 actually implement AccessibleText. This inaccurate
2613 clip is based on the assumption that the label is
2614 justified left-and-right, and monospaced.
2615 (text_chunk_get_clipped_string):
2616 We now call guess_string_clip() for text-containing
2617 components that don't implement AccessibleText.
2619 * test/screen-review-test.c:
2620 (review_buffer_get_text_chunk):
2621 We now pull "name" from labels if they do not implement
2622 AccessibleText (i.e. for Java labels).
2623 (get_screen_review_line_at):
2624 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2627 Replaceded AC_OUTPUT target
2628 registryd/Accessibility_Registry.server with
2629 registryd/Accessibility_Registry.server.in.
2631 * registryd/Accessibility_Registry.server.in:
2632 Removed (this is now a Makefile target).
2634 * registryd/Accessibility_Registry.server.in.in:
2635 Added (source for target above). We now use $(libexecdir) as
2636 prefix for the executable at-spi-registryd.
2638 * registry/Makefile.am:
2639 Now install at-spi-registryd into $(libexecdir), and build .server
2640 file with path (see above).
2642 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2644 * test/screen-review-test.c:
2645 (text_chunk_get_clipped_string):
2646 We now check to see if words fall within clip bounds
2647 before resorting to character-by-character clip bounds testing.
2649 * TODO: Added a section for "2.2 Proposed API Additions".
2651 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2653 * test/screen-review-test.c:
2655 Added a screen review benchmarking and test program to test
2658 * cspi/spi_accessible.c:
2660 Made some of the debug strings passed to cspi_check_ev a
2661 little more specific.
2663 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2665 * test/screen-review-test.c: Fix crashes in debug statements
2667 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2669 * test/screen-review-test.c: Added this file.
2671 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2673 * atk-bridge/bridge.c: changed "object:state-change" to
2674 "object:state-changed" to match docs.
2676 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2678 * atk-bridge/bridge.c: Hooked up state-change event details.
2680 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2682 * registryd/registry.c:
2683 Fixed quarking bug in event string parsing; now events with
2684 detail parameters get matched correctly to listeners.
2687 * util/idl/Magnifier.idl: remove.
2689 * util/*.[ch]: Remove.
2690 Magnification utilities and IDL are now in module gnome-mag.
2692 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2694 * registryd/deviceeventcontroller.c:
2695 Fixed bug in grab key conversion which was causing keycode grabs
2696 to be converted to AnyKey grabs.
2699 updated NEWS file to reflect recent spin-off of gnome-mag.
2701 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2703 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2704 busted AccessibleStateSet_compare. Removed redundant casts.
2706 * cspi/spi-action.c: Removed redundant casts.
2708 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2710 * cspi/spi_component.c: Fixed typos and casting error.
2712 * cspi/spi_editabletext.c: Removed redundant casts.
2714 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2716 * cspi/spi_hypertext.c: Eliminated redundant casts.
2718 * cspi/spi_image.c: Eliminated redundant casts.
2720 * cspi/spi_registry.c: Eliminated redundant casts.
2721 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2722 * cspi/spi_selection.c: Removed redundant casts.
2723 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2724 handling. Screen geometry and text offsets were being returned as 0
2725 on error which is technically valid-- changed these to return -1.
2726 Added marshaller for text boundary types to fix bug with boundary
2727 types being passed incorrectly to atk.
2729 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2732 * cspi/spi_registry.c:
2733 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2734 which was uncovered by the recent key changes.
2736 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2738 * test/event-listener-test.c:
2740 Added new test, "event-listener-test";
2741 this code does two things; it benchmarks traversal time
2742 for the accessible hierarchy for the first running accessible
2743 app, and it connects listeners for all supported event types.
2744 It is thus useful as an example event listener and for
2745 diagnostics/debugging of event generation.
2747 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2750 Removed unnecessary dependency on libutil.
2753 Revved micro version: 0.13.1
2755 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2758 Removed util/Makefile from targets.
2761 Removed util subdir from SUBDIRS (temporarily,
2762 pending removal of magnifier-only code
2766 #ifdef-ed out magnifier dependencies, since
2767 magnifier IDL, headers, and binary now live in
2768 module gnome-mag and we don't want at-spi to depend
2769 on gnome-mag. A magnifier demo which can run alongside
2770 simple-at is forthcoming in the gnome-mag module.
2772 NOTE: Split magnifier binary, IDL, and magnification
2773 activation code from at-spi into module gnome-mag.
2775 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2777 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2778 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2780 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2783 Revved to version 0.13.0
2785 * idl/Accessibility_Registry.idl:
2786 Changed definition of KeySet from sequence of longs to sequence of
2787 KeyDefinitions, and added KeyDefinition struct.
2788 Required for fix to bug 80616.
2790 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2791 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2792 to use new definition (see above).
2794 * registryd/deviceeventcontroller.c: handle_keygrab(),
2795 spi_keyset_contains_key():
2796 Changed to make use of new struct; this allows matching based on
2797 string key-name, for instance "Tab". This also allows matching of
2798 composed characters, non-alphanumeric characters in a way that
2799 doesn't involve dependencies on X keysym codes directly, etc.
2801 * test/key-listener-test.c:
2802 Added test for Alt-Tab key using "string" specification of keyset,
2803 and modified one of the tests to use a keycode-based keyset.
2804 Thus this test both tests and demonstrates the creation and use of
2805 keysets of three forms: specified via keycode array,
2806 keysym array, and string array. (The string case only contains a
2807 single string, i.e. a string array of length 1).
2810 Turned on PRINT_TREE option by default. Also fixed a
2811 string-freeing bug in the PRINT_TREE code.
2812 Added a listener to window:minimize events.
2814 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2816 * atk-bridge/bridge.c:
2817 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2818 for window:activate and window:deactiveate
2819 (atk_bridge_property_event_listener atk_bridge_signal_listener
2820 atk_bridge_window_event_listener) Tidy debug code
2822 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2824 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2825 Fixed handling for NULL return value from ATK.
2827 * libspi/action.c libspi/component.c libspi/editabletext.
2828 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2829 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2830 Removed redundant casts.
2832 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2833 Fixed off by one bug.
2835 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2836 function not present in idl)
2838 2002-05-02 jacob berkman <jacob@ximian.com>
2840 * atk-bridge/Makefile.am: make atk-bridge a real module
2842 2002-04-26 Radek Doulik <rodo@ximian.com>
2844 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2845 atk_state_types table
2847 2002-04-22 jacob berkman <jacob@ximian.com>
2850 * libspi/Makefile.am: add deps on the built files to help
2851 automake, and don't version the ORBit typelib
2853 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2855 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2856 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2857 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2858 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2859 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2860 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2861 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2862 libspi/accessible.h libspi/accessible.h libspi/base.h
2863 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2864 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2865 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2866 libspi/spi-private.h libspi/statetset.h libspi/table.h
2867 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2868 util/mag_client.h util/mag_control.c util/mag_image.c
2869 util/mag_image.h util/magnifier.c util/magnifier.h:
2870 Add missing file headers; standardize existing ones
2872 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2874 * atk-bridge/bridge.c: Added window event support.
2876 2002-04-18 Michael Meeks <michael@ximian.com>
2878 * libspi/relation.c (impl_getNTargets): impl.
2879 (impl_getTarget): impl.
2881 * libspi/Makefile.am: fix stateset install.
2883 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2886 Started putting useful info in this file.
2888 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2890 * atk-bridge/bridge.c:
2891 Propagate state-changed notifications to ATs
2893 * cspi/spi_registry.c: update docs to reflect actual behavior of
2894 state-change events.
2896 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2899 Incremented version to 0.12.1
2901 * util/mag_client.h:
2902 Add missing declaration for magnifier_exit,
2903 used by mag_control.c - Forte compiler didn't like
2904 the implicit redeclaration of the function :-(
2907 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2910 Revved version to 0.12 due to API change (see below).
2912 * cspi/spi-roletypes.h:
2913 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2914 definition from the inline docs, and added docs
2915 for SPI_ROLE_LAST_DEFINED.
2918 * cspi/spi_streamablecontent.c:
2919 Added missing seek_type parameter to
2920 (so far unused) method,
2921 AccessibleStreamableContent_seek().
2922 [ RT approval JodyG. ]
2925 Fixed docs for SPI_createAccessibleKeystrokeListener.
2927 * cspi/spi_registry.c:
2928 Fixed docs for SPI_KEYSET_ALL_KEYS.
2930 * docs/reference/cspi/at-spi-cspi-sections.txt:
2931 Added a number of missing APIs to SECTIONS.
2933 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2935 * registryd/Makefile.am:
2937 * cspi/bonobo/Makefile.am:
2938 Add $(X_LIBS) to makefiles.
2940 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2943 Revved version to 0.11.
2945 * libspi/component.c:
2946 Added implementation for grabFocus.
2948 * idl/Accessibility_Component.idl
2949 (Accessibility_Component_grabFocus):
2950 Made this method return boolean to indicate success or failure, to
2951 be consistent with cspi and the corresponding ATK method.
2953 * idl/Accessibility_Selection.idl
2954 (Accessibility_Selection_selectAll) :
2955 Made these methods return boolean to indicate success or
2956 failure, to be consistent with cspi and the corresponding ATK methods.
2958 * idl/Accessibility_EditableText.idl
2959 (Accessibility_EditableText_setTextContents,
2960 Accessibility_EditableText_insertText,
2961 Accessibility_EditableText_cutText,
2962 Accessibility_EditableText_deleteText,
2963 Accessibility_EditableText_pasteText):
2964 Made these methods return boolean to indicate
2967 * cspi/spi_editabletext.c:
2968 Made these methods return booleans.
2970 * libspi/selection.c:
2971 * libspi/component.c:
2972 * libspi/editabletext.c:
2973 Connected the boolean returns from ATK
2974 to the server-side code referenced above.
2976 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2978 * idl/Accessibility_Table.idl: Added missing methods,
2979 Accessibility_Table_addRowSelection,
2980 Accessibility_Table_addColumnSelection,
2981 Accessibility_Table_removeRowSelection,
2982 Accessibility_Table_removeColumnSelection.
2985 Added C wrappers for above IDL:
2986 AccessibleTable_addRowSelection,
2987 AccessibleTable_addColumnSelection,
2988 AccessibleTable_removeRowSelection,
2989 AccessibleTable_removeColumnSelection.
2992 Added server-side implementation code for IDL above, connecting
2993 to pre-existing ATK api.
2995 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2997 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2999 * libspi/accessible.c: Added implementation fo
3000 Accessibility_Accessible_get_state.
3002 * libspi/libspi.h: Added stateset.h to the list of includes.
3004 * libspi/stateset.c: Fixed broken implementation.
3006 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3009 Added implementation code for Accessibility_Magnifier_exit ().
3011 * util/mag_control.c:
3012 Added test code for above method; you can
3013 now kill an existing magnifier via
3014 ./mag_control q, from the util directory.
3016 * test/key-listener-test.c:
3018 Added a new test, for our key listener API.
3020 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3022 * test/app.c, test/keysynth-demo.c:
3024 Replace use of snprintf with g_snprintf.
3025 (fix for bugzilla 78249)
3027 2002-03-27 Michael Meeks <michael@ximian.com>
3031 * util/Makefile.am (INCLUDES): fix.
3032 (DONT_DIST_SOURCE): don't distribute the
3035 * libspi/Makefile.am (dist-hook): ditto.
3037 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3039 * libspi/hypertext.c:
3040 Fix warnings when yelp is used with atk-bridge
3042 2002-03-21 Michael Meeks <michael@ximian.com>
3044 * libspi/application.c (spi_application_new):
3045 use spi_accessible_construct so we use the AtkObject
3048 2002-03-19 Michael Meeks <michael@ximian.com>
3050 * registryd/registry.c (desktop_remove_application),
3051 (desktop_add_application): clean coding style.
3053 * registryd/desktop.c (spi_desktop_remove_application),
3054 (spi_desktop_add_application): kill re-enterency hazards.
3055 (spi_desktop_dispose): remove bogus redundant cast
3056 obscuring bug; fix bug too.
3057 (spi_desktop_init): make the desktop object immortal.
3059 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3062 Added a #define-guarded tree-traversal step
3063 when enumerating the apps (diagnostic tool).
3065 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3067 * idl/Accessibility_Role.idl:
3068 Added ROLE_DRAWING_AREA which seemed to be missing from the
3071 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3073 * cspi/spi-roletypes.h cspi/spi_accessible.c
3074 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3077 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3078 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3079 AT when applications are added and removed from the desktop. This
3080 reverts the previous broken implementation using the backing
3081 AtkObject for the SpiDesktop.
3083 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3085 * registryd/desktop.c: emit the "children-changed::add" and
3086 "children-changed::remove" signals on the backing ATK object for
3087 the desktop so AT can tell when applications are started and shut
3090 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3092 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3094 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3096 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3098 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3100 * cspi/state-types.h: synched with IDL and ATK
3102 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3104 * libspi/accessible.c
3105 (impl_accessibility_accessible_get_child_at_index):
3106 Change return value for g_return_if_fail ()
3107 to CORBA_OBJECT_NIL instead of "0" (!)
3109 * registryd/Makefile.am:
3110 * registryd/Accessibility_Register.server.in:
3111 Changed name of executable, "registryd",
3112 to something more informative:
3115 2002-03-13 Michael Meeks <michael@ximian.com>
3117 * atk-bridge/bridge.c (atk_bridge_init): don't register
3118 if we're in a bonobo-component, rather than a bonobo app.
3120 2002-03-13 Michael Meeks <michael@ximian.com>
3122 * atk-bridge/bridge.c (gtk_module_init): split
3123 out body to (atk_bridge_init): here, since otherwise
3124 we get symbol conflicts and oddness when invoked
3125 from (gnome_accessibility_module_init): here (upd.)
3127 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3130 New file. Explicitly allow "build sheriff" putbacks provided
3131 they are tested on Solaris.
3133 * docs/reference/cspi/Makefile.am:
3134 Added '-' to the "cp" command for index.sgml.
3135 ("patch by thomasvs, soon coming to a GUADEC near you")
3138 Incremented version number (0.9.0) for new release.
3139 Changed macro that checks for popt, to better detect
3140 obsolete versions of popt.
3143 Added X_LIBS to AC_SUBST, for applications
3144 that call Xlib API directly.
3147 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3150 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3153 Fix regression caused by hard-coding major
3154 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3157 * test/test-simple.c (test_editable_text),
3158 (test_test): revert previous change (error was
3159 a regression in gail which is now fixed).
3161 2002-03-04 Michael Meeks <michael@ximian.com>
3163 * test/test-simple.c (test_editable_text),
3164 (test_text): pass G_MAXINT instead of '-1' for
3165 whole string - is this a good thing !?
3167 * cspi/spi_accessible.c
3168 (Accessible_getRelationSet): fix crasher bug
3169 overwriting the end of the array.
3171 * test/test-simple.c (validate_accessible): free,
3172 not g_free returned relation set.
3174 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3176 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3177 implemented stateset support
3179 * idl/Accessibility_State.idl: Made necessary changes to
3180 the IDL to support state sets.
3182 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3184 * registryd/deviceeventcontroller.c:
3185 Added implementation for generateMouseEvent.
3187 * cspi/spi_registry.c:
3188 Connected new implementation for generateMouseEvent
3191 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3194 Incremented revision (but no change in public API
3195 outside of 'utils', which are not installed public yet.)
3197 * libspi/component.c:
3198 Changed to use atk_component API for layers and
3199 mdi_zorder, instead of deprecated atk_object API.
3201 Magnification Utility Enhancements:
3204 Added implementation of createZoomRegion, clearAllZoomRegions,
3205 resizeZoomRegion. Added new commandline argument
3206 "--no-initial-region". Note that clearAllZoomRegions doesn't
3207 unmap the old '0' region as it should (yet), and the other
3208 methods only work when creating/resizing a single region,
3209 which is "region 0".
3210 (Code for multiple region support will be added later.)
3213 Now we raise the magnifier window each time it's refreshed;
3214 this will help keep it on top.
3216 * util/mag_client.h:
3217 Added simple wrappers for above, used by mag_control.
3218 For general use, it's recommended to use the bonobo magnifier
3219 control API directly instead of using these wrappers.
3222 Moved ZoomRegionData from magnifier.c to this file.
3224 * util/mag_control.c:
3225 Added some code to exercise new IDL implementations.
3227 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3229 * libspi/text.c: Provide implementation for getAttributes.
3231 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3234 Incremented revision.
3236 * test/test-simple.c:
3237 Replaced use of deprecated g_main_iteration with
3238 g_main_context_iteration.
3240 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3243 Incremented revision for desktop alpha 2.
3245 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3247 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3250 * test/simple-at.c: include netinet/in.h.
3252 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3254 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3255 use NULL, not CORBA_OBJECT_NIL.
3257 * libspi/accessible.c:
3258 (impl_accessibility_accessible_get_relation_set):
3259 allocate the sequence correctly.
3261 * libspi/remoteobject.h: kill spi_remote_object_new.
3263 * test/test-simple.c: (validate_accessible): add code
3264 to test relation sets, now all we need is to figure
3265 out how to excercise this code path :/
3267 2002-01-18 Michael Meeks <michael@ximian.com>
3269 * test/test-simple.c
3270 (key_listener_cb): consume the key.
3271 (test_keylisteners): update.
3272 (main): wait for any pending unrefs on events.
3274 * registryd/deviceeventcontroller.c
3275 (spi_controller_update_key_grabs): only re-issue the
3276 grab on a key release.
3277 (spi_device_event_controller_forward_key_event):
3278 refresh the keygrabs before we notify the listeners,
3279 to reduce the X ungrab / re-grab race.
3280 (spi_controller_register_with_devices): remove
3281 XSelectInput - we do that with the gdk_window_ call.
3282 (_spi_controller_device_error_handler): return a value.
3283 s/GDK_DISPLAY/spi_get_display/
3285 2002-01-17 Michael Meeks <michael@ximian.com>
3287 * registryd/deviceeventcontroller.c
3288 (_deregister_keygrab): don't blow out the later
3291 * test/test-simple.c (test_keylisteners): do a
3292 more intelligent validation.
3294 2002-01-14 Michael Meeks <michael@ximian.com>
3296 * atk-bridge/bridge.c
3297 (gnome_accessibility_module_init),
3298 (gnome_accessibility_module_shutdown): impl.
3299 (gtk_module_init): protect vs. double inits.
3300 (add_signal_listener): impl.
3301 (spi_atk_bridge_state_event_listener): kill
3302 (deregister_application): split out of
3303 (spi_atk_bridge_exit_func): here.
3305 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3308 Added caret tracking when using magnifier, and
3309 now use text bounds for focus tracking of text elements, rather than
3310 the component bounds - this is helpful for short text fields in long
3311 table cells, at high magnification.
3313 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3315 * registryd/deviceeventcontroller.c:
3316 Regression fix for keylistener de-registration; global keygrabs
3317 were not being released when deregisterKeystrokeListener was
3318 called in cspi, since
3319 Accessibility_DeviceEventController_deregisterKeystrokeListener
3320 was called with a zero-length keyset. That is because the cspi
3321 method, SPI_deregisterKeystrokeListener, does not take a keyset
3322 parameter but instead should remove all the key grabs held be a
3324 The code in impl_deregister_keystroke_listener was changed to copy
3325 the keylist from the listener instance previously registered with
3326 the DeviceEventController before releasing the grabs.
3328 * registryd/registry.c:
3329 * registryd/deviceeventcontroller.c:
3330 * libspi/spi-private.h:
3332 Changed spelling of "re-enterant" to "re-entrant" globally.
3334 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3336 * test/test-simple.c:
3337 Changed key listeners test - the test was slightly mis-using the
3338 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3339 It now uses '=' as the key event listened to and generated,
3340 relying on a keysym match rather than assuming that keycode 33
3341 is always equal to keysym '!'.
3343 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3346 Changed simple-at to use a specific keyset, rather than
3347 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3348 manager, desktop, etc.
3350 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3352 * registryd/deviceeventcontroller.c:
3353 Replaced standard X error handler with a special handler that
3354 is non-fatal for failed keygrabs. This works around
3355 problems with keygrab clashes sometimes observed on
3357 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3358 mouse handling code as yet).
3360 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3363 Incremented revision for desktop alpha release.
3366 Fixed a couple of the more glaring errors (still not
3369 2002-01-11 Michael Meeks <michael@ximian.com>
3371 * registryd/deviceeventcontroller.c
3372 (spi_device_event_controller_forward_key_event): kill
3373 XUngrabKey / XKeyGrab race.
3374 (spi_controller_grab_keyboard): rename to
3375 (spi_controller_update_key_grabs): this, and deal
3376 with incremental adding / removing grabs more
3378 (_register_keygrab): ensure we're not pending a remove.
3379 (spi_grab_mask_free): impl.
3380 (spi_controller_register_global_keygrabs): split out
3382 (handle_keygrab): impl.
3383 (_deregister_keygrab): impl.
3384 (spi_controller_deregister_global_keygrabs): impl.
3385 (spi_controller_update_key_grabs): re-issue the grab if
3386 we just recieved a notification.
3388 * test/test-simple.c (key_listener_cb): remove debug.
3390 * registryd/deviceeventcontroller.c
3391 (spi_controller_register_device_listener): after
3392 registering a global keygrab, actualy register it !
3393 don't wait for a timeout; doh !
3395 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3396 to make it more readable / manipulable.
3397 s/grabmask/grab_mask/ s/refcount/ref_count/
3398 s/keyval/key_val/ s/modmask/mod_mask
3400 2002-01-08 Michael Meeks <michael@ximian.com>
3402 * registryd/deviceeventcontroller.c
3403 (spi_controller_register_with_devices): use gdk calls to
3405 (global_filter_fn): implement the filter.
3406 (spi_device_event_controller_check_key_event): rename to
3407 (spi_device_event_controller_forward_key_event): this & upd.
3408 (spi_get_display): replace with GDK_DISPLAY.
3410 * registryd/deviceeventcontroller.c
3411 (spi_controller_deregister_device_listener): unroll into
3412 (impl_deregister_keystroke_listener): here to simplify.
3413 (spi_controller_register_global_keygrabs): split cut and
3414 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3415 (spi_controller_deregister_device_listener): remove.
3416 (impl_register_mouse_listener): remove, no mouse listener
3417 support in at-spi-1.0
3419 * registryd/registry.c
3420 (_device_event_controller_hook): kill.
3421 (spi_registry_init): upd.
3423 * registryd/deviceeventcontroller.c
3424 (spi_device_event_controller_class_init): upd.
3425 (spi_check_key_event): merge into.
3426 (spi_device_event_controller_check_key_event):
3427 here and kill strange static ev init, don't leak
3428 the x_event - nor dynamicaly allocate it.
3430 * registryd/registry-main.c (main): re-direct
3431 timeout to remove strange vtable mess.
3433 * registryd/deviceeventcontroller.c
3434 (remove_listener_cb): impl.
3435 (spi_controller_deregister_device_listener):
3436 fix re-enterancy hazard.
3438 2002-01-07 Michael Meeks <michael@ximian.com>
3440 * registryd/deviceeventcontroller.c
3441 (spi_device_event_controller_new): upd.
3442 (impl_notify_listeners_sync): upd. debug.
3443 (spi_notify_keylisteners): fix re-enterancy hazards,
3444 prettify, remove O(n*n) iteration.
3445 (spi_controller_grab_keyboard): fix iteration.
3446 (spi_check_key_event): re-format to suit coding style.
3447 Clean all the warnings - we're warning free.
3449 * registryd/deviceeventcontroller.h:
3450 * registryd/registry.h: make mutualy referential with
3451 typesafe forward references instead of (!) void pointer
3454 2002-01-11 Michael Meeks <michael@ximian.com>
3456 * cspi/spi_accessible.c (role_names): add a role name
3457 to sync this array with the enum; and make the regression
3460 2002-01-10 Michael Meeks <michael@ximian.com>
3462 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3463 allow expansion of enumeration & kill warning.
3465 * test/test-simple.c (key_listener_cb): impl.
3466 (test_keylisteners): impl.
3468 * cspi/spi-listener.h: make listener signatures const
3469 on the provided (const) events.
3471 * test/keysynth-demo.c: upd. to const events.
3473 * test/simple-at.c: ditto.
3475 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3478 Rev the version to 0.5 (the previous tarball was named 0.4,
3479 even though the micro number was 3), so we need to rev upwards
3480 again for beta2/"desktop-alpha"
3483 Checked in a demo script, which requires editing before use!
3484 Proceed with caution.
3487 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3489 * cspi/spi_accessible.c:
3490 Add a couple of missing enum initializations, and fix some enum
3493 * cspi/spi_registry.c:
3494 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3496 * docs/reference/cspi/at-spi-cspi-sections.txt:
3497 Remove/fix a couple of broken document references.
3500 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3501 as Alt-Control to listen for commands, since on some systems
3502 Control-Alt may already be grabbed.
3504 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3507 Update version number to 0.4 for Beta2.
3509 * libspi/accessible.c, libspi/accessible.h:
3510 Expose spi_accessible_construct, to enable libgail-gnome
3511 construction from spi_accessible subtype.
3513 * utils/magnifier.c:
3514 Workaround for bug in some non-gnome-compliant window managers
3515 which made magnifier resize improperly.
3517 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3519 * libspi/accessible.c: (spi_accessible_new) :
3520 Move the test for SPI_IS_REMOTE_OBJECT to
3521 spi_accessible_new_return, fixing a bug and compile time warning.
3523 2002-01-08 Michael Meeks <michael@ximian.com>
3525 * registryd/registry.c (parse_event_type): remove strndup.
3527 * libspi/Makefile.am (libspi_la_SOURCES): remove
3528 sources already included in the headers section.
3530 * libspi/util.c: add.
3532 * libspi/spi-private.h: add.
3534 * registryd/registry.c: update to moved list iterators.
3536 2002-01-05 Michael Meeks <michael@ximian.com>
3538 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3540 * test/test-simple.c (main): ditto.
3542 2002-01-04 Michael Meeks <michael@ximian.com>
3544 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3545 redundant construct.
3547 * registryd/registry.c
3548 (get_listener_list): impl.
3549 (impl_accessibility_registry_register_global_event_listener):
3550 re-impl. to simplify using ~, remove dodgy const cast off.
3551 (parse_event_type): constify.
3552 (impl_accessibility_registry_deregister_global_event_listener_all):
3553 re-write, more efficiency and simplicity, kill re-enterancy
3555 (compare_listener_corbaref, compare_corba_objects),
3556 (compare_listener_quarks): define out.
3557 (impl_accessibility_registry_deregister_global_event_listener):
3558 re-write for effiency, and nail re-enterancy hazard.
3559 (impl_accessibility_registry_get_desktop_list): impl.
3560 (re_enterant_list_delete_link): impl.
3561 (re_enterant_list_foreach): impl.
3562 (remove_listener_cb): impl.
3563 (_registry_notify_listeners): kill.
3564 (notify_listeners_cb): impl.
3566 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3567 (SPI_getDesktopList): impl.
3569 * test/test-simple.c (test_desktop): test the methods.
3571 2002-01-03 Michael Meeks <michael@ximian.com>
3573 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3574 keystrings since we free them
3575 (SPI_freeAccessibleKeySet): in here.
3577 * libspi/accessible.c (spi_accessible_new): kill warning,
3578 wonder what is going on with the constructor here.
3580 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3582 * libspi/accessible.c (spi_accessible_new ()) :
3583 Added check to see if AtkObject is an SpiRemoteObject before
3584 creating an SpiAccessible.
3586 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3588 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3589 Enable keygrabs using the Control modifier, now that they are
3590 working properly (they were previously disabled).
3593 Change the command keygrab for this demo to "Control+Alt", so as
3594 to conflict with fewer other key commands on the system; this
3595 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3597 Removed a pointlessly-chatty keylistener for unshifted keys
3598 (shifted keys are still reported).
3600 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3602 * libspi/remoteobject.h:
3603 * libspi/remoteobject.c:
3604 Added definitions for special AtkObject subtype, required for
3605 support of remote components (specifically, used by BonoboControl
3606 accessibility implementation).
3608 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3610 * cspi/spi.h: synched relation types with ATK
3612 * cspi/spi_accessible.c: Added implementations of
3613 AcccessibleRelation_* methods
3615 * idl/Accessibility_Relation.idl: added getRelationTypeName
3616 method. Synched known relation types with ATK. Allowed for
3617 relation type extension with the RELATION_EXTENDED type.
3619 * libspi/relation.c: Provided implementations for
3620 AccessibleRelation methods.
3622 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3624 API tweaks for today's API 'freeze'.
3627 Added placeholder functions to allow future compatible expansion
3628 of the IDL interfaces.
3630 * idl/Accessibility_Registry.idl:
3631 Changed generateKeyEvent to generateKeyboardEvent. Changed
3632 signature of this method to accept an optional keystring in
3633 parameter (for complex text input synthesis) and changed use of
3634 simple 'boolean' parameter in registerKeystrokeListener to a
3635 struct, EventListenerMode.
3637 * cspi/spi_accessible.c:
3639 * cspi/spi_streamablecontent.c:
3640 Added references to AccessibleStreamableContent interface, and
3641 definition and implementation of AccessibleStreamableContent
3644 * cspi/spi_registry.c:
3646 Changed generateKeyEvent API to generateKeyboardEvent,
3647 taking a new (optional) keystring parameter to support complex
3652 Renamed directory (to better reflect its actual purpose, bridging
3653 from at-spi to ATK). The .so module is also now named
3656 * idl/Accessibility_Hypertext.idl:
3657 * libspi/accessible.c:
3658 * libspi/hypertext.h:
3659 * libspi/hypertext.c:
3660 Changed Accessibility_Hypertext to *not* derive from
3663 * cspi/spi_registry.c:
3664 Added list of legal event type names for 'window' events, which
3665 completes the registry event API.
3667 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3669 * at-bridge/bridge.c: Added registration for separate
3670 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3671 signals. If either of the first two parameters to the generic
3672 bridge signal handler are ints, they are passed on as event
3673 details. This allows an AT to determine what text was inserted.
3675 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3677 * registryd/deviceeventcontroller.c:
3678 Fixed regressions in generateKeyEvent caused by the removal of
3679 gdk_init from registryd; we now use pure X calls to connect to the
3680 display, which makes sense because deviceeventcontroller already
3681 uses a fair bit of X API (should eventually be migrated to a
3682 'portability layer').
3684 * registryd/desktop.c:
3685 Fixed minor regression in spi_desktop_init, changed the way the
3686 desktop name is being set to work with new spi_base API
3687 (gobject-based, rather than AtkObject-based).
3689 * registryd/Makefile.am:
3690 Minor revision of makefile to use XTST_LIBS variable rather than
3691 hard-wiring the Xtst LD_ADD element.
3693 * test/keysynth-demo.c:
3694 Tweaked an output message; added initialization of the
3695 'keystrings' member of the "switch listener" key_set.
3697 * libspi/relation.c:
3698 Squashed compile-time warning.
3700 * libspi/accessible.c:
3701 Cosmetic and formatting fixes, renamed a static method.
3703 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3705 * libspi/accessible.c
3707 * libspi/application.c
3710 * libspi/component.c
3711 * libspi/editabletext.c
3712 * libspi/hyperlink.c
3713 * libspi/hypertext.c
3715 * libspi/selection.c
3719 * registryd/desktop.c:
3720 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3722 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3724 * idl/Accessibility_Registry.idl:
3725 Added boolean member 'is_text' to DeviceEvent. This is for the
3726 use of key events, and helps prevent ambiguity between composed
3727 key strings and keysym names, since both may potentially be
3728 returned in the 'event_string' member.
3730 * at-bridge/bridge.c:
3731 * registryd/deviceeventcontroller.c:
3732 Use the 'is_text' member when notifying device event listeners.
3733 Knon issue: composed characters are not dealt with correctly by
3734 the global key listener implementation yet.
3736 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3738 * at-bridge/bridge.c:
3739 Namespaced local static methods to spi_atk_bridge_* where
3740 previously named bridge_*, and spi_* elsewhere.
3742 * at-bridge/bridge.c:
3743 * cspi/bonobo/cspi-bonobo-listener.c:
3744 Added demarshalling/conversion for string member of
3745 Accessibility_DeviceEvent to AccessibleKeystroke.
3747 * registryd/deviceeventcontroller.c:
3748 Added code to fill the Accessibility_DeviceEvent key string value
3749 member for global key events (i.e. from XGrabKey), to match
3750 behavior of Accessibility_DeviceEvent from the toolkit key events
3751 from the bridge. Fixed timestamp in global key event notifications.
3754 Added printout of key event's string value to
3755 report_ordinary_key_event, for demo/debugging purposes.
3757 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3759 * idl/Accessibility_Registry.idl:
3760 Removed Accessibility_KeyStroke structure in favor of generic
3761 Accessibility_DeviceEvent structure.
3762 Changed Accessibility_ControllerEventMask from a struct to an
3765 * at-bridge/bridge.c:
3766 Changed APIs to use DeviceEvent structure as above, and removed
3767 bogus casting between these event structures.
3769 * cspi/spi-listener.h:
3770 Added keystring member of AccessibleKeystroke structure, to enable
3771 matching on event "names" rather than only hardware codes and
3775 Added keystrings member of AccessibleKeySet struct, to allow
3776 matching on event names (as above).
3777 Added declarations for SPI_createAccessibleKeySet and
3778 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3779 event modmasks directly as unsigned ints rather than structs with
3780 refcounts, in the DeviceEventController methods.
3782 * cspi/spi_registry.c:
3783 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3785 * cspi/spi-roletypes.h:
3786 Added documentation of newly added SPI Roles.
3788 * cspi/bonobo/cspi-bonobo-listener.c:
3789 Changes in support of API changes above.
3791 * libspi/accessible.c:
3792 Converted APIs to use DeviceEvent structure (see IDL changes
3795 * registryd/deviceeventcontroller.c:
3796 Added DEControllerGrabMask structure to track keygrabs not only by
3797 modmask but by keyset as well; this allows us to do "global"
3798 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3799 grabbing on AnyKey and then filtering after-the-fact.
3800 Bugfixes for event filtration mean that we don't get false matches
3801 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3803 * registryd/deviceeventcontroller.c:
3804 Namespaced a number of static methods to use spi_ prefix. Major
3805 revision to internals of global (i.e. X) key grabs.
3807 * registryd/deviceeventcontroller.h:
3808 Removed keymask_list and added keygrabs_list to
3809 SpiDeviceEventController struct.
3812 Added use of SPI_createAccessibleKeySet API when creating a
3813 listener for only one key. Attach a listener to "shift spacebar
3814 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3815 X key event names to SPI key event names, so that listeners are
3816 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3818 * test/keysynth-demo.c:
3819 Changed (incorrect) use of X key event names (KeyPressed,
3820 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3823 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3825 * libspi/accessible.c:
3826 Convert all AtkRole enumerations to Accessibility_Role enums when
3827 getting a role from an AtkObject.
3829 * cspi/spi_accessible.c:
3830 Complete the conversion of Accessibility_Role enums at runtime to
3831 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3832 role enums correctly match those given in spi-roletypes.h.
3833 Re-synchronize the local names list for AccessibleRole_getName ().
3834 AccessibleRole_getName is now deprecated, since it duplicates the
3835 more reliable Accessible_getRoleName.
3836 Added some role types from Accessibility_Role.idl.
3838 * idl/Accessibility_Role.idl:
3839 Added some role types used by AtkRole.
3841 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3844 * cspi/spi_registry.c:
3846 * cspi/cspi-bonobo-listener.c:
3847 Namespaced all methods that did not begin with an "SPI_" or
3848 "Accessible" prefix to "SPI_".
3851 Homogenized internal function namespace to "cspi_" for statics.
3854 Patched tests to use the new CSPI API.
3856 * docs/reference/cspi/at-spi-cspi-sections.txt:
3857 Updated docs to reflect namespace changes, and added a number of
3858 methods to the documentation.
3860 * registryd/registry.c:
3861 Changed use of strings and string hashes in listener event
3862 matching and parse_event_string to use GQuark, which is guaranteed
3865 * registryd/registry.h:
3866 Squashed annoying warning.
3868 * idl/Accessibility_Role.idl:
3869 Extended range of available Accessibility_Role values.
3871 * cspi/spi_accessible.c:
3872 Re-ordered role names.
3874 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3876 * idl/Accessibility_Value.idl:
3877 Revert use of union back to CORBA_double, since the double type is
3878 more efficient and can contain the other types without loss of
3881 * idl/Accessibility_Accessible.idl:
3882 Added method Accessibility:Accessible:getRoleName, to complement
3883 Accessibility:Accessible:getRole.
3885 * cspi/spi_accessible.c:
3887 Added C binding for above, Accessible_getRoleName (), and changed
3888 signature of Accessible_getRole () to return an AccessibleRole.
3890 * cspi/spi-roletypes.h:
3891 Changed AccessibleRole_getName to return a char * instead of a
3892 const char *. This method is now at least temporarily deprecated
3893 in favor of asking Accessibles for their RoleNames directly.
3896 Revert to match Accessibility_Value.idl;
3900 Change signature of AccessibleValue methods to use double rather
3904 * cspi/spi_accessible.c:
3905 Changed Accessible_getRole to return an AccessibleRole enum rather
3906 than a UTF-8 string. The UTF-8 string can still be obtained via
3907 AccessibleRole_getName ().
3909 * test/test-simple.c:
3910 Add test_action. Small fixup to match API change to Accessible_getRole.
3913 Bugfix for get_action_from_servant ().
3915 2001-12-11 Michael Meeks <michael@ximian.com>
3917 * libspi/libspi.h: remove registry.h and
3918 desktop.h, deviceeventcontroller.h
3920 * libspi/Makefile.am: remove registry.[ch],
3921 desktop.[ch], deviceeventcontroller.[ch]
3923 * registryd/Makefile.am: add registry.[ch],
3924 desktop.[ch], rename registryd.c to registry-main.c.
3925 add deviceeventcontroller.[ch]
3927 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3930 Replace setenv() call with putenv ().
3932 * libspi/component.c:
3933 Bugfix in AccessibleComponent_getExtents (),
3936 2001-12-11 Michael Meeks <michael@ximian.com>
3938 * libspi/image.c (impl_getImageExtents): impl.
3939 (spi_image_class_init): upd.
3942 (AccessibleImage_getImageDescription): fix daft bug
3945 * test/test-simple.c (global_listener_cb): update
3946 to only quit if not --poke
3947 (main): catch --poke.
3948 (validate_accessible): upd. dumping, call test_image
3951 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3954 * idl/Accessibility.idl: update all IDL includes.
3956 * idl/*.idl - rename to namespace - this sucks, blame
3957 mjs' bad decision for oafd.
3959 * test/test-simple.c (create_test_window): add more tests.
3960 (create_tree): split this out.
3961 (validate_accessible): bugfix.
3963 2001-12-11 Michael Meeks <michael@ximian.com>
3965 * cspi/bonobo/cspi-bonobo-listener.c:
3966 (cspi_kestroke_listener_unref),
3967 (cspi_event_listener_unref): impl. undoing previous
3968 homenous environment - for Bill.
3970 * cspi/spi_table.c (long_seq_to_array): use
3973 * cspi/spi_main.c: split out all bonoboish bits into
3976 * cspi/spi-impl.h: upd. typedefs.
3978 * cspi/spi_registry.c: update to lowlevel API,
3979 return booleans to indicate success in some places.
3981 * cspi/spi_event.c: update to lowlevel API.
3983 * cspi/bonobo/Makefile.am: add.
3985 * cspi/bonobo/cspi-lowlevel.h: add
3987 * cspi/bonobo/cspi-bonobo.c: add
3989 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3991 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3992 (SUBDIRS): add bonobo, link in the libs.
3994 * cspi/spi-util.c: kill this file.
3996 * TODO: merge in my bits.
3998 2001-12-11 Michael Meeks <michael@ximian.com>
4000 * test/test-simple.c (test_value, test_table, main):
4001 remove unused variables causing warnings.
4003 * configure.in: cleanup checks - require gail.
4005 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4008 Changed Value interface to use SValue (scalars) rather than
4009 assuming all values are floats. This allows floats, doubles,
4010 longs, shorts, and unsigned values to be manipulated.
4011 Introduced Accessibility:SValue union.
4014 Updated to use new API above, and to work correctly with GValues
4015 of different types in AtkValue.
4018 Updated to use new API above. cspi's API is as yet unchanged.
4021 Updated the Value revision action item.
4023 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4025 * test/test-simple.c:
4026 Added test_table (GtkTreeView widget in test window to follow).
4027 Un-commented test_value, added GtkRange widget.
4028 Added GtkTreeView widget with GtkListStore. It passes regression
4029 test but leaks one SPI object for some reason.
4032 Fixed bug in impl__set_currentValue.
4034 2001-12-10 Michael Meeks <michael@ximian.com>
4036 * cspi/spi_text.c: audit for exception handling,
4037 tolerating NULL object references safely etc.
4039 * cspi/spi_value.c: ditto.
4041 * cspi/spi_table.c (AccessibleTable_getSummary),
4042 (AccessibleTable_getAccessibleAt),
4043 (AccessibleTable_getRowHeader),
4044 (AccessibleTable_getColumnHeader),
4045 (AccessibleTable_getCaption): fix bugs hidden by
4047 (long_seq_to_array): impl.
4048 (AccessibleTable_getSelectedRows),
4049 (AccessibleTable_getSelectedColumns): use it.
4051 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4054 Added a TODO list (rough and short for now).
4056 * cspi/spi_hyperlink.c:
4057 * cspi/spi_hypertext.c:
4058 Fixed macro name typos, and remove use of obsolete macro in
4059 AccessibleHyperlink_getLink.
4061 * cspi/spi_action.c:
4062 * cspi/spi_accessible.c:
4063 * cspi/spi_application.c:
4064 * cspi/spi_component.c:
4065 * cspi/spi_selection.c:
4068 Documentation fixes (removed return values from ref/unref methods).
4070 2001-12-10 Michael Meeks <michael@ximian.com>
4072 * cspi/spi_action.c: audit for exception handling,
4073 tolerating NULL object references safely etc.
4075 * cspi/spi_accessible.c: ditto.
4077 * cspi/spi_component.c: ditto.
4079 * cspi/spi_editabletext.c: ditto.
4081 * cspi/spi_hyperlink.c: ditto.
4083 * cspi/spi_hypertext.c: ditto.
4085 * cspi/spi_image.c: ditto.
4087 * cspi/spi_selection.c: ditto.
4089 2001-12-10 Michael Meeks <michael@ximian.com>
4091 * configure.in: use cspi/libspi.pc.in instead.
4093 * Makefile.am (pkgconfig_DATA): upd. to match.
4095 * test/simple-at.c (report_focus_event): kill hacks around
4096 bad return values, use putenv not setenv
4098 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4099 fire ChildGone - I killed it.
4101 * libspi/component.c
4102 (impl_accessibility_component_get_extents): remove
4105 * idl/Accessible.idl: kill ChildGone exception.
4107 * cspi/*.[ch]: kill int return from ref / unref.
4109 * cspi/spi_main.c (cspi_object_add_check): fold into
4110 (cspi_object_add): here.
4112 * cspi/spi_component.c (AccessibleComponent_getExtents):
4113 handle exceptions elegantly.
4115 * cspi/spi-private.h (cspi_check_ev_return),
4116 (cspi_return_if_fail): impl.
4118 * cspi/spi_accessible.c: use extensively.
4119 (AccessibleStateSet_equals): add direct compare check.
4121 * cspi/spi_selection.c: tolerate NULL objs, and check
4122 exceptions before return.
4124 * cspi/spi-util.c (cspi_warn_ev): rename to
4125 (cspi_check_ev): this & don't pass ev in; no point.
4127 2001-12-10 Michael Meeks <michael@ximian.com>
4129 * test/test-simple.c: use putenv not setenv
4130 (get_environment_vars): more chatty if you're not using
4133 * test/simple-at.c: do the setenv so more people see the
4136 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4138 * libspi/registry.c:
4139 Changed check of CORBA_environment on notification to be a warning
4140 instead of an error for the moment, since we can recover from this
4141 error when caused by a queued notification from a dead app.
4144 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4145 used by all current implementors of AtkValue), and coerce to
4146 CORBA_float. (Proper general case fix may require change to Value.idl).
4148 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4152 * cspi/spi_accessible.c:
4153 Documentation fixes: added user_data params to documentation for
4154 listeners and callbacks.
4156 * cspi/spi_accessible.c:
4157 Changed AccessibleStateSet_compare to return a
4158 StateSet rather than return the difference set into a third parameter.
4161 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4164 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4165 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4169 Remove subdirectory po from SUBDIRS for now.
4171 * at-bridge/bridge.c:
4172 Beefed up a couple of debug printouts.
4173 One-line fix for signal notification name formatting.
4175 * libspi/accessible.c:
4176 Added assertion to spi_accessible_new ().
4178 * libspi/application.c:
4179 Put #ifdef qualifiers around a printf.
4182 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4184 * registryd/Makefile.am:
4186 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4187 INTLTOOL_SERVER_RULE macro.
4190 Added an event listener for several ATK signals, for
4191 testing and debugging. Removed a few g_warnings.
4192 Added test output if focussed item implements the Value interface.
4194 * test/test-simple.c:
4195 Added test_value () function (known not to pass at the moment, so
4196 not actually called yet.
4198 2001-12-08 Michael Meeks <michael@ximian.com>
4200 * at-bridge/bridge.c (bridge_focus_tracker),
4201 (emit_eventv): fix the same ref. leak.
4202 (register_atk_event_listeners): don't leak.
4204 * cspi/spi-listener-impl.c (cspi_event): more
4205 protection from client code.
4207 * test/test-simple.c (test_desktop): unref the app.
4209 * test/Makefile.am: upd. TESTS.
4211 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4213 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4215 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4217 * cspi/spi_registry.c: constify in strings.
4218 (deregisterGlobalEventListenerAll): don't release the ref.
4220 * cspi/spi.h: start removing redundant / conflicting
4221 gtkdoc comments, making the API readable at a glance :-)
4223 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4225 * test/keysynth-demo.c (keysynth_exit, main): upd.
4227 * test/simple-at.c (main, simple_at_exit): upd.
4229 * test/test-simple.c (unutterable_horror): kill.
4230 (utterable_normal_derefs): kill.
4231 (main): upd & do a setenv before gtk_init, so that we
4232 can use memprof - and to save the pain of remembering
4233 this, if we're running under memprof - don't exit.
4235 * cspi/spi_main.c (SPI_exit): return exit status
4237 (SPI_event_quit): impl.
4238 (SPI_event_main): simplify.
4239 (cspi_is_gnome_app): kill.
4240 (SPI_init): kill isGNOMEapp arg.
4242 * at-bridge/bridge.c (register_atk_event_listeners):
4243 re-instate the unref.
4244 (bridge_exit_func): don't re-activate the registry,
4245 protect vs. theoretical re-entry, use the
4246 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4247 assert a clean shutdown - for regression tests.
4249 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4251 * configure.in: Comment out dummy i18n support for now,
4252 otherwise it fails to build.
4253 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4254 EXTRA_DIST. They are missing in tarball.
4256 2001-12-07 Michael Meeks <michael@ximian.com>
4258 * util/magnifier.c: kill bonobo activation reg. race.
4260 * libspi/component.c
4261 (impl_accessibility_component_get_extents): make it match
4264 * libspi/registry.c (_registry_notify_listeners):
4265 re-remove X headers & reconcile conflicts.
4266 (spi_listener_struct_free): bad conflict resolve.
4267 (impl_accessibility_registry_register_application):
4268 more bad merging fixed.
4269 (impl_accessibility_registry_deregister_application): ditto.
4270 (spi_registry_new): ditto.
4271 (spi_registry_init): don't have an applications field.
4273 [ merge fixups2 branch to here ]
4274 2001-12-07 Michael Meeks <michael@ximian.com>
4276 * test/simple-at.c (report_focus_event),
4277 (report_focussed_accessible): remove g_warning debug.
4279 2001-12-07 Michael Meeks <michael@ximian.com>
4281 * test/test-simple.c (validate_tree): comment out some checks.
4282 (test_desktop): app now not registered idly - horay.
4284 2001-12-07 Michael Meeks <michael@ximian.com>
4286 * cspi/spi_registry.c
4287 (registerAccessibleKeystrokeListener): clean, stop it leaking
4288 great swathes of memory, and device event controller references.
4289 ensure we always pass valid sequences.
4290 (deregisterAccessibleKeystrokeListener): ditto.
4291 (generateKeyEvent): upd.
4293 * at-bridge/bridge.c (bridge_key_listener): handle
4294 registry dead exception gracefully.
4295 (bridge_focus_tracker, emit_eventv): free ev.
4297 * test/simple-at.c (report_focus_event): fix polarity.
4299 * libspi/application.c (notify_listeners): kill the ev
4300 argument, and make sure we init the ev we use.
4301 (spi_application_object_event_listener): split out a chunk
4302 (get_atk_object_ref): here & fixup.
4303 (reverse_lookup_name_for_toolkit_event): make const.
4304 (spi_application_toolkit_event_listener): fixup, kill leaks
4307 * at-bridge/bridge.c (register_atk_event_listeners):
4308 don't unref the noop object - causes grief.
4310 * libspi/registry.c: remove the X headers.
4311 turn off the debug churn.
4313 * libspi/accessible.c (spi_accessible_new_return): only
4314 release the ref if we are supposed to [doh]
4316 * test/simple-at.c (report_button_press, report_focus_event):
4317 guard vs. unexpected exit.
4319 * at-bridge/bridge.c (gtk_module_init): prune printf.
4320 (bridge_exit_func): fix app unref.
4322 * libspi/Makefile.am: don't install registry or desktop.h
4324 * libspi/*.h: update includes.
4326 * libspi/application.h: don't include ourself, or
4327 other redundant headers.
4329 2001-12-06 Michael Meeks <michael@ximian.com>
4331 * libspi/accessible.c
4332 (get_accessible_from_servant): impl.
4333 Upd. all CORBA impl.s to use it killing cut and paste.
4335 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4337 (SPI_init): register atexit cleanup handler here.
4339 2001-12-06 Michael Meeks <michael@ximian.com>
4341 * at-bridge/bridge.c (gtk_module_init): g_error on
4342 activation exception
4344 2001-12-06 Michael Meeks <michael@ximian.com>
4346 * at-bridge/bridge.c (gtk_module_init): some sort of
4347 confusing merge clash - reverted.
4348 (bridge_idle_init): ditto.
4350 * test/test-simple.c (main, utterable_normal_derefs):
4351 merge from Bill - somehow not committed.
4353 2001-12-06 Michael Meeks <michael@ximian.com>
4355 * libspi/value.c (spi_value_class_init): upd.
4356 (spi_value_finalize): kill.
4358 * libspi/table.c (spi_table_finalize): kill.
4359 (spi_table_interface_new): upd.
4360 (spi_table_class_init): upd.
4361 (get_table_from_servant): impl.
4362 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4364 * libspi/selection.c (spi_selection_finalize): kill.
4365 (spi_selection_interface_new): upd.
4366 (spi_selection_class_init): upd.
4367 (get_selection_from_servant): impl.
4368 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4370 * libspi/relation.c (spi_relation_finalize): kill.
4371 (spi_relation_class_init, spi_relation_new): upd
4373 * libspi/image.c (spi_image_finalize): kill.
4374 (spi_image_class_init): upd.
4375 (spi_image_interface_new): upd.
4376 (get_image_from_servant): impl.
4377 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4379 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4380 (spi_hyperlink_finalize): kill.
4381 (spi_hyperlink_new): upd.
4382 (get_hyperlink_from_servant): impl.
4383 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4385 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4386 (spi_hypertext_finalize): kill.
4387 (spi_hypertext_class_init): upd.
4388 (get_hypertext_from_servant): impl.
4389 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4391 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4392 (spi_editable_text_interface_new): upd.
4393 (get_editable_text_from_servant): impl.
4394 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4396 * libspi/text.c (get_text_from_servant): impl.
4397 All impls - update to use it killing more cut and paste,
4398 also fix bad string returns on duff args ( a somewhat
4399 impossible case to handle - but hey ).
4400 (spi_text_construct): impl.
4401 (spi_text_interface_new): upd.
4402 (spi_text_object_finalize): kill.
4404 * libspi/component.c
4405 (accessibility_component_object_finalize): kill.
4406 (spi_component_class_init): upd.
4407 (get_component_from_servant): impl. helper to kill cut & paste.
4408 (impl_accessibility_component_contains):
4409 (impl_accessibility_component_get_accessible_at_point):
4410 (impl_accessibility_component_get_position):
4411 (impl_accessibility_component_get_extents):
4412 (impl_accessibility_component_get_mdi_z_order):
4413 (impl_accessibility_component_get_layer):
4414 (spi_component_interface_new): upd.
4416 * libspi/action.c (spi_action_finalize): kill.
4417 (spi_action_class_init): upd. inherit from SpiObject.
4418 (spi_action_interface_new): upd.
4419 (get_action_from_servant): impl. helper to reduce cut & paste.
4420 (impl_getKeyBinding, impl_getName, impl_doAction),
4421 (impl_getDescription): Use it everywhere.
4423 * cspi/spi_main.c (get_live_refs): a pointer hash.
4424 (spi_object_hash, spi_object_equal): comment out.
4425 There are issues with CORBA object hashing that need
4428 * libspi/application.c (spi_application_init),
4429 (spi_application_new): upd.
4431 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4432 (spi_accessible_class_init): upd.
4433 s/accessible/object/ in epv methods.
4435 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4437 * at-bridge/bridge.c:
4438 Reorder the bridge initialization into the bridge gtk_module_init,
4439 an immediate call to bridge_register_app, and an idle_add for
4440 register_atk_event_listeners (the only code that *must* wait until
4441 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4442 the activation, creates the application's Accessible object, and
4443 queues the bridge_idle_init function. Restored call to
4444 Accessibility_Registry_deregisterApplication().
4445 Prior to making this call we obtain a new reference to the
4446 registry, which is a temporary hack that helps us handle apps that
4447 shut down the bonobo mainloop before we get there.
4449 * libspi/registry.c:
4450 Fix string leakage in debug block, and don't segv if a an app
4451 dies before its event notifications have been propagated.
4454 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4455 as stopgap measure until we get proper exception handling when
4456 objects die during or before interrogation.
4460 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4461 Also changed default value of is_gnome_app to TRUE.
4464 * test/keysynth-demo.c:
4465 Changed use of SPI_init and SPI_event_main to reflect API change above.
4468 Made report_focus_event check the warning value from getName
4469 before reporting on focussed accessible; simplifies handling of
4470 notifications from dead objects.
4472 * test/test-simple.c: (Changes not in this patch since source is
4475 2001-12-05 Michael Meeks <michael@ximian.com>
4477 * registryd/registryd.c (main): protect against
4478 bonobo-activation startup race condition.
4480 * cspi/spi_main.c (cspi_object_add_check): cope
4481 with the exception elegantly.
4483 * idl/Accessible.idl: decl. ChildGone
4485 * libspi/desktop.c (spi_desktop_dispose): impl.
4486 (spi_desktop_class_init): upd.
4487 (spi_desktop_add_application),
4488 (spi_desktop_remove_application),
4489 (abnormal_application_termination): impl.
4490 (impl_desktop_get_child_at_index): re-impl.
4493 (impl_accessibility_registry_deregister_application),
4494 (impl_accessibility_registry_register_application):
4495 kill excessive debug clutter.
4497 * test/test-simple.c (test_misc): test some NULL
4498 tolerance. (main): upd.
4500 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4501 implements no interfaces - so let's not crash.
4503 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4505 * libspi/accessible.c (spi_accessible_new_return): impl.
4506 helper to calm the cut and paste, to cope with
4507 NULL AtkObjects effectively and efficiently, and to kill
4508 the referencing bugs.
4510 * libspi/table.c (impl_getAccessibleAt),
4511 (impl_getRowHeader, impl_getColumnHeader): upd.
4513 * libspi/hyperlink.c (impl_getObject): upd.
4515 * libspi/accessible.c
4516 (impl_accessibility_accessible_get_child_at_index): upd.
4518 * libspi/component.c
4519 (impl_accessibility_component_get_accessible_at_point): upd.
4521 * test/test-simple.c (test_editable_text, test_text): impl.
4524 * cspi/spi_editabletext.c
4525 (AccessibleEditableText_insertText): constify.
4527 * test/test-simple.c (focus_me): make more robust.
4529 * libspi/accessible.c: remove some printfs in methods that
4530 we test and work fine, so we can get a clean tree dump.
4532 * test/test-simple.c (validate_accessible),
4533 (validate_tree): make tree dumping pretty too.
4535 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4536 it builds without debug on.
4538 * test/test-simple.c (validate_accessible): fix the most
4541 * cspi/spi_main.c (spi_object_release): leave the nicely
4542 blanked memory around if in debug mode.
4544 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4546 [committed to fixups2]
4547 2001-12-05 Michael Meeks <michael@ximian.com>
4549 * libspi/editabletext.c
4550 (spi_editable_text_class_init): g_type_class_peek_parent,
4551 not interface peek - so we finalize cleanly.
4553 * libspi/accessible.c (spi_accessible_new): kill debug.
4555 * test/test-simple.c (validate_accessible): fix ref.
4556 leak, print strings before freeing them; sigh, comment a
4557 chunk out due to strangeness.
4558 (validate_tree): unref the child after use.
4560 * cspi/spi_component.c (AccessibleComponent_getLayer):
4561 add missing break statement, switch on zlayer not the
4562 uninitialized retval.
4564 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4565 before (possibly re-entering) remote unref.
4567 * test/simple-at.c (main): unref the desktop.
4569 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4572 * cspi/spi_main.c (cspi_accessible_is_a): here to
4573 isolate bonobo API usage more.
4575 * libspi/registry.c (impl_accessibility_registry_register_application):
4576 prune bogus comment.
4578 2001-12-04 Michael Meeks <michael@ximian.com>
4580 * test/test-simple.c (validate_tree): upd.
4581 IndexInParent check to make it more lucid.
4582 (validate_accessible): dump the tree.
4584 * libspi/accessible.c (de_register_public_ref),
4585 (get_public_refs): impl.
4586 (spi_accessible_new): make more efficient & intuitive.
4587 Now IndexInParent check works.
4589 2001-12-04 Michael Meeks <michael@ximian.com>
4591 * cspi/spi-util.h: remove.
4593 * cspi/spi.h: move SPI_freeString here
4595 * libspi/component.c (impl_accessibility_component_get_layer):
4597 (impl_accessibility_component_get_mdi_z_order): ditto,
4598 return -1 on error - is this ok ?
4600 * test/test-simple.c (test_application): impl.
4602 * cspi/spi_accessible.c (Accessible_getApplication),
4603 (Accessible_isApplication): impl.
4605 * libspi/registry.c (spi_listener_struct_free): release
4606 the CORBA reference too.
4608 * libspi/accessible.c
4609 (impl_accessibility_accessible_get_parent): fix ref leak.
4611 * libspi/registry.c (spi_registry_new): make the registry
4612 immortal - we don't want it to go away ever.
4614 * libspi/application.c
4615 (spi_accessible_application_finalize): impl. cleanup.
4617 * cspi/spi_registry.c
4618 (deregisterGlobalEventListenerAll),
4619 (deregisterGlobalEventListener),
4620 (deregisterAccessibleKeystrokeListener): fix ref leak.
4622 * cspi/spi_main.c (SPI_init): remove redundant ref.
4624 * test/test-simple.c (unutterable_horror): impl. to force a
4629 (impl_accessibility_registry_deregister_application): release
4630 the application when we de-register it.
4632 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4633 until we have the infastructure to get it right.
4635 2001-12-03 Michael Meeks <michael@ximian.com>
4637 * libspi/Makefile.am: only build eventlistener.[ch]
4639 * libspi/accessible.c
4640 (impl_accessibility_accessible_get_child_at_index): don't leak.
4642 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4643 before we hit the idle handler.
4645 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4646 debugging than exit.
4648 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4650 * libspi/listener.c (impl_notify_event): check source
4651 not NIL before unref.
4653 * libspi/registry.c (impl_registry_notify_event): ditto.
4655 * libspi/eventlistener.c
4656 (impl_accessible_event_notify_event): unref the source.
4658 * libspi/accessibleeventlistener.c
4659 (impl_accessible_event_notify_event): unref the source.
4661 * idl/Event.idl: remove 'hash_id' attribute - of no
4664 * libspi/application.c (notify_listeners): upd list
4666 (spi_application_object_event_listener),
4667 (spi_application_toolkit_event_listener): upd to do correct
4671 (_registry_notify_listeners): update.
4672 (parse_event_type): this method also leaks like a sieve.
4673 (impl_accessibility_registry_deregister_global_event_listener):
4674 fix ETYPE_WINDOW case.
4676 * libspi/application.c
4677 (impl_accessibility_application_register_object_event_listener):
4680 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4682 * libspi/hypertext.c (impl_getLink): ditto.
4684 * cspi/spi_main.c (cspi_object_add): remove
4685 bogus CORBA_Object_duplicate.
4687 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4690 * cspi/spi_accessible.c
4691 (Accessible_getRelationSet): fix leak / referencing issue.
4693 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4694 (cspi_object_add, cspi_object_unref): upd.
4695 (spi_object_release, get_live_refs): impl.
4696 (cspi_cleanup): simplify.
4698 * *.[ch]: s/boolean/SpiBoolean/
4700 * cspi/spi_accessible.c (role_names): actualy order so it
4701 corresponds with the enum !
4703 * test/test-simple.c (test_roles): check some role strings
4704 vs. enums to detect offset errors.
4706 2001-12-01 Michael Meeks <michael@ximian.com>
4708 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4710 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4712 (Accessible_getChildAtIndex): use cspi_add_check so we
4713 check the ev before using a (possibly) invalid value.
4715 * libspi/accessible.c
4716 (impl_accessibility_accessible_get_parent): don't segv
4719 * at-bridge/bridge.c (gtk_module_init): upd.
4720 (bridge_property_event_listener): don't leak strings
4722 (bridge_state_event_listener),
4723 (bridge_property_event_listener): don't use a static
4724 buffer in case of recursive event emission &
4725 re-enterancy - split out the swathe of cut and paste
4727 (emit_eventv): and fix 2 ref leaks here & comply to the
4729 (bridge_register_app): rename to
4730 (bridge_idle_init): this and kill arg parsing, split
4731 various inits & bonobo-activation registration to module
4732 init time, kill referencing error.
4733 (bridge_exit_func): fix the same leak.
4734 (bridge_focus_tracker): don't leak event structures
4736 (bridge_signal_listener): more leakage and cut & paste
4738 (bridge_key_listener): return the result - FIXME is
4739 this polarity correct ?
4740 (accessibility_keystroke_from_atk_key_event): rename
4741 (accessibility_init_keystroke_from_atk_key_event): and stop
4743 (gtk_module_init): return a value - not that it is checked by
4745 (bridge_key_listener): register my horror at casting between
4746 IDL defined structs.
4747 (bridge_get_registry): kill - not used.
4749 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4751 * test/test-simple.c (test_roles): impl.
4752 (test_desktop, validate_accessible, validate_tree): impl.
4754 * cspi/spi_accessible.c (role_names): fixup bogus
4755 MAX_ROLES setup, make constants const for efficient linkage
4756 (AccessibleRole_getName): conform to coding style, make
4759 2001-11-30 Michael Meeks <michael@ximian.com>
4761 * cspi/spi.h: add missing prototype.
4763 * libspi/registry.c (spi_listener_struct_new): fix sig.
4765 * test/Makefile.am: add test-simple
4767 * test/test-simple.c: add
4769 * test/test.sh: add.
4771 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4773 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4774 do it straight - since otherwise we often get an activation race.
4776 [ work before Bill duplicated a chunk of it ... ]
4777 2001-11-30 Michael Meeks <michael@ximian.com>
4779 * libspi/keystrokelistener.c
4780 (spi_keystroke_listener_class_init): fixup arg
4783 * libspi/eventlistener.c
4784 (spi_event_listener_class_init): ditto.
4786 * tests/test.sh: add.
4788 * cspi/spi-listener-impl.h: update macros.
4790 * cspi/spi-listener-impl.c
4791 (cspi_event_listener_remove_callback): add
4792 correct pre-conditions.
4794 * cspi/spi_main.c (SPI_exit): guard vs. double
4795 exits, exit the mainloop nicely.
4796 (SPI_event_main): make more sense.
4797 (SPI_init): move the atexit evilness here so we
4798 always do it (yuck).
4799 (SPI_event_main): upd.
4801 * test/simple-at.c: update for listener changes.
4803 * registryd/registryd.c (main): prune kruft.
4805 * libspi/libspi.h: upd.
4807 * libspi/eventlistener.[ch]: rename broken macros.
4809 * libspi/accessibleeventlistener.[ch]: remove.
4811 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4813 * test/test-simple.c: Add - automated tests.
4815 * cspi/spi-listener-impl.c (cspi_event),
4816 (cspi_key_event): add user_data to invoke.
4817 (cspi_keystroke_listener_finalize): impl.
4818 (cspi_keystroke_listener_class_init): upd.
4821 (createAccessibleEventListener),
4822 (AccessibleEventListener_addCallback),
4823 (createAccessibleKeystrokeListener),
4824 (AccessibleKeystrokeListener_addCallback): upd.
4826 * libspi/deviceeventcontroller.c
4827 (spi_device_event_controller_check_key_event): add public proto.
4830 (impl_accessibility_registry_deregister_global_event_listener):
4831 always init listeners.
4832 (_registry_notify_listeners): yes it is.
4834 * cspi/spi-listener-impl.c (cspi_key_event):
4836 (cspi_event_listener_finalize): impl.
4837 (cspi_event_listener_class_init): hook up.
4838 (event_handler_new, event_handler_free),
4839 (event_list_remove_by_callback): impl.
4840 (cspi_event_listener_remove_callback),
4841 (cspi_keystroke_listener_remove_callback),
4842 (cspi_keystroke_listener_add_callback),
4843 (cspi_event_listener_add_callback): upd.
4845 * libspi/keystrokelistener.c
4846 (keystroke_listener_object_finalize): kill
4847 (spi_keystroke_listener_class_init): upd.
4848 (spi_keystroke_listener_add_callback),
4849 (spi_keystroke_listener_remove_callback): kill,
4851 (impl_key_event): prune drasticaly.
4853 * libspi/eventlistener.c
4854 (spi_event_listener_add_callback),
4855 (spi_event_listener_remove_callback): kill, use
4857 (impl_accessible_event_notify_event): upd.
4858 (spi_event_listener_object_finalize): remove.
4860 * libspi/Makefile.am: use eventlistener.[ch]
4862 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4864 * libspi/registry.c (_registry_notify_listeners):
4865 Changed listener loop iteration to use preferred convention.
4866 Got rid of string memory leaks caused be calling g_strconcat
4867 inside function calls.
4869 * libspi/registry.c (parse_event_type):
4870 Stopped g_strconcat memory leaks, free the g_strsplit return,
4871 g_strdup the split pieces when used, etc.
4873 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4876 Change method 'compare' to return a 'difference set' rather than
4877 taking a StateSet as an out parameter (more Java-friendly).
4879 * idl/Accessible.idl:
4880 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4882 * idl/Component.idl:
4884 Changed methods 'getExtents' and 'getImageExtents' in these
4885 interfaces to return a BoundingBox structure.
4886 (getPosition and getSize are redundant and possibly should be
4887 removed, rather than creating a corresponding Point struct.)
4889 * cspi/spi_component.c:
4890 Modify implementation of getExtents to reflect the above IDL
4895 Add (missing) AccessibleImage_getExtents () API.
4897 * docs/reference/cspi/at-spi-cspi-sections.txt:
4898 Added AccessibleImage_getImageExtents () to docs.
4900 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4902 * idl/Component.idl:
4903 Added two methods, getLayer () and getMDIZOrder (), to reflect
4904 the new ATK methods atk_object_get_layer and
4905 atk_object_get_mdi_z_order. (Which arguably should be part of the
4906 AtkComponent API and AtkObject). Also added an enum,
4907 ComponentLayer, for the first method's return value.
4909 * libspi/component.c:
4910 Added implementations for these methods.
4912 * cspi/spi_component.c:
4914 Added cspi binding methods for above,
4915 AccessibleComponent_getLayer() and
4916 AccessibleComponent_getMDIZOrder().
4917 Added cspi enum 'AccessibleComponentLayer'.
4919 * docs/reference/cspi/at-spi-cspi-sections.txt:
4920 Added above methods to docs.
4924 Changed typedef for 'boolean' type (and all references to it) to
4925 SPIBoolean, to avoid keyword clashes with C++.
4928 Changed usages of 'boolean' to SPIBoolean.
4930 * test/keysynth-demo.c:
4931 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4932 app), except where SPIBoolean is required by the callbacks API.
4934 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4936 * cspi/spi_registry.c:
4937 Removed obsolete X event loop for passive keygrabs (which now
4940 * registryd/registryd.c:
4941 Removed unnecessary call to gdk_init() [cruft]. This also allows
4942 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4945 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4947 * docs/reference/cspi:
4948 Included docs for SPI_freeString in generated documentation.
4951 Renamed spi_freeString to SPI_freeString, for consistency. Added
4952 documentation for this function.
4955 Renamed spi_freeString to SPI_freeString, for consistency.
4956 Removed obsolete method declaration string_from_corba_string.
4958 * test/keysynth-demo.c:
4959 Small tweak to comments.
4962 Stopped leaking the strings returned from CSPI.
4964 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4966 Merged Michael's branch (see his ChangeLog entries below).
4968 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4969 bridge is alive, release on exit.
4971 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4972 Fix type check macro.
4975 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4978 Added is_gnome_app static, and method cspi_is_gnome_app(),
4979 so we can call the appropriate shutdown routine at exit in SPI_exit.
4981 * cspi/spi_main.c (cspi_object_ref):
4982 Duplicate the corba object passed in, since we're keeping it around.
4984 * cspi/SPI_exit.c, cspi_cleanup:
4985 Moved the releasing of the live refs to its own function, so we
4986 can put it in g_atexit (). Call the appropriate shutdown API
4987 depending on whethe calling client is a gnome app or not
4988 (bonobo_main_quit or CORBA_ORB_shutdown).
4990 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4991 Unref the listener when this method is called, after
4992 deregistration. Updated the API docs to note this behavior.
4994 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4995 Bugfixes: Ref the bonobo object when returning a parent or child
4996 reference, or an AccessibleRelation. Generally made sure
4997 BonoboObject refcount is incremented whenever we return an
5000 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5001 Fixed typo/bug in signal declaration.
5003 * libspi/accessibleeventlistener.h:
5006 * libspi/application.c (spi_application_new):
5007 Fixed leak in initialization.
5010 Remembered to increment bonobo-object refcount when returning
5011 children (applications) from desktop object.
5012 Added (empty) finalize method.
5014 * libspi/deviceeventcontroller.c:
5015 Hold a ref to listeners inside DEControllerKeyListeners.
5016 Added dec_key_listener_free() method. Use prepend instead of
5017 append in key_listener list. Fixed some refcount madness and
5018 leaks in the listener registration/deregistration - deregistration
5019 now calls dec_key_listener_free() on listeners, and on the
5020 temporarily constructed dec_key_listener() used to perform the search/match.
5022 * libspi/hypertext.c (spi_hypertest_finalize):
5023 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5024 class. Also fixed spi_hypertext_interface_new() and
5025 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5027 * libspi/hypertext.h:
5028 Removed pointless and duplicate AtkObject pointer from
5031 * libspi/keystrokelistener.c:
5032 Fixed incorrect type of keystroke_listener_parent_class,
5033 renamed keystroke_listener_object_finalize to
5034 spi_keystroke_listener_object_finalize.
5035 Fixed typo in signal declaration
5036 (spi_keystroke_listener_class_init).
5038 * libspi/registry.c:
5039 Added funcsions spi_listener_struct_new() and
5040 spi_listener_struct_free() to help with memory management issues.
5041 We also now use these methods instead of gnew + poking stuff into
5042 the struct, and to decrement listener counts/free the listeners
5043 when deregistering them.
5044 Fix more refcount bugs in getDesktop() and
5045 getDeviceEventController().
5048 De-ref the desktop after enumerating the applications. Explicitly
5049 decrement the refcounts on the created listeners on exit (using
5050 _unref for keystroke listeners, and via the
5051 deregisterGlobalEventListenerAll command for other event
5054 2001-11-27 Michael Meeks <michael@ximian.com>
5056 * cspi/spi-listener.h: fixup enum.
5058 2001-11-27 Michael Meeks <michael@ximian.com>
5060 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5061 (cspi_keystroke_listener_new): Use the cspi variants.
5063 2001-11-26 Michael Meeks <michael@ximian.com>
5065 * test/keysynth-demo.c: fix 2 compile warnings, missing
5068 * test/simple-at.c (report_focussed_accessible),
5069 (report_focus_event, report_button_press),
5070 (check_property_change, is_command_key),
5071 (report_ordinary_key_event, report_command_key_event): upd.
5073 * util/mag_client.h: include pre-requisites.
5075 * libspi/accessibleeventlistener.c
5076 (spi_event_listener_object_finalize): free any lingering
5079 * libspi/keystrokelistener.c
5080 (keystroke_listener_object_finalize): ditto.
5082 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5083 callbacks, with cspi types.
5085 * cspi/spi_event.c (createAccessibleEventListener): chain to
5086 (AccessibleEventListener_addCallback): here.
5087 (createAccessibleKeystrokeListener): chain to
5088 (AccessibleKeystrokeListener_addCallback): here.
5090 * libspi/keystrokelistener.c
5091 (spi_keystroke_listener_class_init): add signal.
5092 (impl_key_event): emit the event.
5093 (boolean_handled_accumulator): impl.
5094 (marshal_BOOLEAN__POINTER): add, gack.
5096 * libspi/accessibleeventlistener.c
5097 (spi_event_listener_class_init): add signal.
5098 (impl_accessible_event_notify_event): emit the signal &
5099 make the loop efficient.
5100 (spi_event_listener_add_callback): prepend the callback.
5102 * libspi/accessibleeventlistener.h: add an 'event' signal,
5103 decl type on callback.
5105 * libspi/keystrokelistener.h: ditto.
5107 * cspi/spi-listener.h: make methods typesafe and
5108 make them use the new event typedefs.
5110 * test/simple-at.c (report_focussed_accessible):
5111 include mag_client.h
5112 Use *(void *)text_interface not the other thing.
5114 * configure.in: add gtk to registryd bits - since we use
5117 * util/magnifier.c: include libbonobo.h
5119 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5121 * test/keysynth-demo.c:
5122 Turned this into a simple scanning keyboard, to demonstrate the
5123 use of g_timeout_add () as a means of creating timers for
5124 scanning, and the use of GtkStyle for visually indicating when
5125 virtual keyboard elements are selected.
5127 keysynth-demo now listens to any keyboard keys with zero-valued
5128 keycodes (i.e. 'unused' keys) and interprets them as
5131 Reworked the shiftlatch code so that shift-down state isn't held
5132 for long periods (it's only synthesized immediately prior to
5133 the keysynth event it's modifying). Note that shiftlatch in this
5134 demo is a convenience, not intended to take the place of AccessX
5135 which is the better choice for getting 'sticky' modifier keys.
5137 * libspi/deviceeventcontroller.c:
5138 * at-bridge/bridge.c:
5139 * cspi/spi_registry.c:
5140 Removed some debug print stuff, and put other verbosity in #ifdef
5145 Implemented some more of the magnifier IDL for the simple
5146 magnifier: namely, getZoomRegionParams.
5147 Added mag_x and mag_y members to MagnifierData struct, aid of this
5149 Added GtkWindow::realize signal handler to magnifier, to keep it
5150 from receiving keyboard focus from the WM.
5152 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5154 * cspi/spi-private.h: my guess at what michael forgot
5155 before he ran off to NZ :-)
5157 2001-11-23 Michael Meeks <michael@ximian.com>
5159 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5160 comment out non existant method invoke so we link.
5162 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5163 use bonobo_exception_get_text for more friendly warnings.
5165 * cspi/spi.c (Obj_Add): move into spi_main & rename
5166 spi_object_add; kill spi.c
5168 * cspi/spi_registry.c
5169 (deregisterGlobalEventListener),
5170 (deregisterGlobalEventListenerAll),
5171 (registerGlobalEventListener): fix exception leaks.
5173 * cspi/spi_main.c (spi_exception): impl. helper, so we
5174 don't leak exceptions.
5176 * cspi/spi_selection.c
5177 (AccessibleSelection_deselectSelectedChild): return the
5180 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5181 (spi_registry): ditto.
5182 (SPI_init): guard against double inits.
5184 * cspi/*.c: use spi_ev (), and spi_registry () where
5185 appropriate - a temporary hack until we have something
5186 better. Use spi_object_add
5188 2001-11-22 Michael Meeks <michael@ximian.com>
5190 * cspi/Makefile.am: re organise, install the headers.
5192 * cspi/*.h: add G_BEGIN/END_DECLS
5194 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5197 Added non-preemptive keylistener for key events with no modifiers
5198 and shift-only modifier.
5200 * libspi/keystrokelistener.c:
5201 Removed some verbose diagnostics printout.
5203 * cspi/spi_registry.c:
5204 Fixed a bug that caused all key listeners to be registered as
5207 * libspi/deviceeventcontroller.c:
5208 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5209 for non-preemptive key masks.
5212 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5214 * docs/reference/idl/at-spi-idl-docs.sgml:
5215 * docs/reference/idl/at-spi-idl-sections.txt:
5216 * docs/reference/idl/at-spi-idl-overrides.txt:
5217 Added missing files.
5219 * docs/reference/Makefile.am:
5220 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5221 to scan the IDL files :-(
5226 Added .cvsignore files.
5228 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5230 * libspi/deviceeventcontroller.c:
5231 * libspi/keystrokelistener.c:
5233 * cspi/spi_registry.c:
5234 Added filters for KeySets, KeyEventSeq, and event types to key
5235 event dispatching, so listeners should only receive those events
5236 that they requested :-)
5238 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5243 * docs/reference:Makefile.am:
5244 * docs/reference/cspi:
5245 * docs/reference/cspi:Makefile.am:
5246 * docs/reference/cspi:tmpl:
5247 * docs/reference/cspi:tmpl:*.sgml:
5248 * docs/reference/idl:
5249 * docs/reference/idl:Makefile.am:
5250 * docs/reference/idl:at-spi-idl-sections.txt:
5251 * docs/reference/idl:at-spi-idl-docs.sgml:
5252 * docs/reference/idl:tmpl:
5253 * docs/reference/idl:tmpl:*.sgml:
5255 Restructured docs directory to allow separate 'reference' docs
5256 section, and forked idl and cspi docs. Added the sgml template
5257 files to CVS. Added the first sections/structural sgml for the
5260 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5262 * configure.in, libspi/Makefile.am: find libXtst.
5264 2001-11-21 Michael Meeks <michael@ximian.com>
5266 * test/accessx-gui.c: s/spi_value/value/ - doh.
5268 * libspi/base.[ch]: add.
5270 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5272 * idl/Accessible.idl:
5273 * idl/Application.idl:
5276 Started gtk-doc cleanup on IDL.
5278 * libspi/deviceeventcontroller.c:
5279 Added and connected non-preemptive key notification from the
5280 toolkits (in addition to the pre-emptive support from XServer
5281 which we had before, but which causes 'focus flashing'). Filters
5282 are presently limited to key modifiers and global/non-global,
5283 KeySets are presently ignored, as are KeyEvent masks.
5285 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5286 structs into the persistant structure rather than just storing
5287 pointers to things that might not persist across servant
5290 The XGrabKey call now does async keygrabs, because synchronous
5291 ones were deadlocking with GDK_event code in a very nasty way.
5293 Added boolean to internal method notify_keylisteners, to indicate
5294 whether the event came from the 'toolkit source' or the 'global
5295 (XServer) source' - this is used in the notification process to
5296 determine which listeners to send the event to.
5298 deviceeventcontroller.c is now warning-free.
5300 * libspi/registry.c:
5301 Fixed regression in application de-registration.
5302 Also fixed some really brain-dead weirdness having to do with
5303 event dispatching - event structs are now duplicated before being
5304 re-marshalled in the dispatch to listeners. This also fixes a
5305 Solaris build problem.
5308 2001-11-20 Michael Meeks <michael@ximian.com>
5311 (impl_accessibility_registry_deregister_global_event_listener):
5314 * libspi/deviceeventcontroller.c
5315 (spi_device_event_controller_check_key_event): return
5316 FALSE on no virtual method.
5318 * libspi/*..h: make includes work on a correctly pathed install.
5320 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5322 * libspi/application.h: kill unused ( and whacked out )
5323 gboolean *spi_application_set_id (AtkObject *app, long id);
5325 2001-11-20 Michael Meeks <michael@ximian.com>
5327 * libspi/*.[ch]: further convert to bonobo's type func
5328 macros, remove redundnant casts etc.
5330 * libspi/text.c s/accessibility_text/spi_text/g,
5331 re-order to de-cruft.
5333 * libspi/hypertext.c: re-order to kill a huge slew
5334 of redundant forward decls.
5336 * libspi/relation.c: ditto.
5338 * libspi/image.c: ditto.
5340 * */.cvsignore: update
5342 2001-11-20 Michael Meeks <michael@ximian.com>
5344 * libspi/deviceeventcontroller.c
5345 (_controller_register_with_devices): use g_getenv,
5346 kill stdlib.h include.
5348 * libspi/keystrokelistener.c
5349 (spi_keystroke_listener_get_type): kill
5350 (spi_keystroke_listener_class_init),
5351 (spi_keystroke_listener_init): rename to this.
5353 * libspi/text.c (impl_getAttributes): fix warning / bug.
5355 * libspi/*.[ch]: more headers, includes and over commenting.
5357 2001-11-20 Michael Meeks <michael@ximian.com>
5359 * libspi/*.[ch]: fixup headers, includes and over commenting.
5361 * libspi/image.c (impl__get_imageDescription): const
5362 correctness warning fix. remove redundant casting.
5364 * libspi/table.c (impl_getRowDescription): ditto.
5365 (impl_getColumnDescription): ditto.
5367 * libspi/libspi.h: add.
5369 2001-11-19 Michael Meeks <michael@ximian.com>
5371 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5373 * libspi/component.c (accessibility_component_get_type):
5374 rename to (spi_component_get_type): and macroify.
5375 (accessibility_component_init): rename to
5376 (spi_component_init): this
5377 (accessibility_component_class_init): rename to
5378 (spi_component_class_init): this
5380 * libspi/action.c (spi_action_get_type): kill, use the macro.
5382 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5385 * libspi/application.c (spi_application_object_event_listener),
5386 (impl_accessibility_application_register_object_event_listener):
5387 warning fixes / const understanding updates.
5389 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5392 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5394 * libspi/spi_accessible.c: Added docs and C bindings for
5395 AccessibleStateSet. (No implementations yet). Documentation
5396 coverage for C bindings now 100%. Made docs for event listeners
5401 boolean notifyListenersSync (in DeviceEventListener listener,
5402 in DeviceEvent event);
5404 oneway void notifyListenersAsync (in DeviceEventListener listener,
5405 in DeviceEvent event);
5407 Added DeviceEventListener and DeviceEvent structs (may deprecate
5408 KeyStroke and KeystrokeListener in favor of this generic
5409 event/listener framework for devices).
5411 * libspi/deviceeventcontroller.c:
5413 Changed some key listener code to take masks, etc., and paved the
5414 way for integration of toolkit/non-preemptive key events. Changed
5415 signatures of some internal methods.
5417 * at-bridge/bridge.c:
5418 Fixed regression connecting to interface signals, apparently
5419 caused by GTK+ changes.
5421 Added an internal bridge_state_listener to deal with
5422 property-change:accessible-state signals.
5424 Changed the key_listeners GList to store structs (including masks,
5425 etc.) instead of just CORBA_Objects (required for full
5426 implementation of key listener API).
5428 Connected the bridge to all currently supported Atk signals.
5429 Events now supported:
5430 object:property-change
5431 object:property-change:accessible-name
5432 object:property-change:accessible-state
5433 object:property-change:accessible-description
5434 object:property-change:accessible-parent
5435 object:property-change:accessible-value
5436 object:property-change:accessible-role
5437 object:property-change:accessible-table-caption
5438 object:property-change:accessible-table-column-description
5439 object:property-change:accessible-table-column-header
5440 object:property-change:accessible-table-row-description
5441 object:property-change:accessible-table-row-header
5442 object:property-change:accessible-table-summary
5443 object:children-changed
5444 object:visible-data-changed
5445 object:selection-changed
5446 object:text-selection-changed
5448 object:text-caret-moved
5450 object:row-reordered
5452 object:column-inserted
5453 object:column-reordered
5454 object:column-deleted
5455 object:model-changed
5457 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5459 * libspi/hyperlink.c,h:
5460 Fixed some broken stuff in hyperlink.
5462 * libspi/relation.h:
5463 * libspi/relation.c:
5464 * cspi/spi_accessible.c:
5465 Initial implementations of AccessibleRelation methods, and docs.
5467 * libspi/accessible.c:
5468 Fixed a bug that caused SEGV if an accessible
5469 object's description is NULL, and a client
5470 requests it. An empty string is now returned.
5472 * cspi/spi_editabletext.c:
5473 * cspi/spi_hypertext.c:
5475 * cspi/spi_hyperlink.c:
5479 Doc coverage now 95%.
5481 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5483 One last namespacing revision:
5484 * libspi/accessibleeventlistener.[ch]:
5485 Renamed SpiAccessibleEventListener to SpiEventListener,
5486 (no need for two namespaces ;-)
5488 And lots of documentation fixes:
5490 * docs/at-spi-docs.sgml:
5491 Fixed 'underscore vs. hyphen' bug that was preventing
5492 the gtk-doc API docs from being automatically generated.
5495 * cspi/spi-listener.h
5497 * cspi/spi_accessible.c
5499 * cspi/spi_application.c
5500 * cspi/spi_component.c
5501 * cspi/spi_editabletext.c
5503 * cspi/spi_hypertext.c
5505 * cspi/spi_registry.c
5506 * cspi/spi_selection.c
5510 * docs/at-spi-docs.sgml
5511 * docs/at-spi-sections.txt
5513 Added and fixed up gtk-doc documentation in cspi.
5515 Interfaces now (fully) documented (subject to revision and enhancement):
5517 Event Listener Support
5519 AccessibleApplication
5523 AccessibleEditableText
5530 AccessibleRelationSet
5535 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5537 * at-bridge/bridge.c:
5538 Initial work for toolkit-level key snooper connection by bridge.
5543 New typedefs and fixes to support new namespacing, and cleaner
5544 separation of cspi bindings from libspi bonobo implementation.
5545 Removed inconsistent and extraneous Spi* namespace prefix that
5546 had crept into cspi headers.
5547 Lots of comment fixes that sed had missed.
5549 * cspi/spi-roletypes.h:
5550 * cspi/spi-statetypes.h:
5551 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5552 to AccessibleRoleType.
5554 * libspi/accessibleeventlistener.h:
5555 Fixed minor namespacing weirdness.
5557 * libspi/deviceeventcontroller.c:
5558 Reordered some internal API for device listeners.
5559 Changed the key registry final boolean to 'is_system_global'
5560 rather than 'is_synchronous', which is more descriptive of its
5562 Added spi_device_event_controller_new().
5563 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5565 * libspi/keystrokelistener.[ch]:
5566 Namespaced KeystrokeListener to SpiKeystrokeListener.
5567 Changed uses of keymasks to use SPI_ prefix, and did other
5570 * libspi/keymasks.h:
5571 Namespaced keymask constants with SPI_ prefix.
5573 * libspi/registry.c:
5574 Some warning fixes, and knock-on fixes from namespace changes.
5577 Added rules for accessx-gui test program.
5579 * test/accessx-gui.c:
5580 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5581 utility. It doesn't actually use at-spi, but it's still cool and
5584 * test/keysynth-demo.c:
5588 Fixes so that these test clients work properly with the namespaced
5589 libraries. (Incompletely tested for technical reasons, fixes may follow)
5592 2001-11-13 Michael Meeks <michael@ximian.com>
5594 * libspi/application.c
5595 (impl_accessibility_application_get_version),
5596 (impl_accessibility_application_get_toolkit_name):
5598 (impl_accessibility_application_set_id),
5599 (impl_accessibility_application_get_id): remove
5600 redundant casting code.
5602 * libspi/action.c (impl_getDescription): fix warnings.
5604 * libspi/accessible.c
5605 (impl_accessibility_accessible_get_parent),
5606 (impl_accessibility_accessible_get_child_at_index),
5607 (impl_accessibility_accessible_get_state),
5608 (impl_accessibility_accessible_get_relation_set):
5609 warning fixes & include action.h
5611 2001-11-13 Michael Meeks <michael@ximian.com>
5613 * *.[ch] fix bits I screwed up:
5615 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5616 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5618 2001-11-13 Michael Meeks <michael@ximian.com>
5620 * *.[ch] Namespace libspi into spi_ and Spi.
5622 2001-13-11 Michael Meeks <michael@ximian.com>
5624 * Makefile.am: dist & install at-spi-1.0.pc
5626 * libspi/Makefile.am: install into at-spi-1.0
5628 * idl/Makefile.am (idldir): install into at-spi-1.0
5630 * at-spi-1.0.pc.in: add.
5632 * configure.in: build it.
5634 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5636 * test/keysynth-demo.c:
5637 Use a 'realize' signal-handler to set the WM properties for
5638 the virtual keyboard, rather than making it a "POPUP" type
5639 override-redirect window (thanks to anders carlsson for that
5642 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5645 * test/keysynth-demo.c:
5646 Added new test of key synthesis, which creates a simple
5647 (mouse-operated) onscreen keyboard. It inserts key events into
5648 the currently-focused window, thus it does not grab keyboard focus
5651 * cspi/spi_registry.c:
5652 Added C binding for AT-SPI generateKeyEvent.
5654 * libspi/deviceeventcontroller.c:
5655 Added call to XFilterEvent so that key listener works with XIM (we
5656 hope). Added event_synth_type to generateKeyEvent, so that we can
5657 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5658 synthesize a press/release pair for KeySyms.
5660 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5662 * libspi/Makefile.am:
5663 * registryd/Makefile.am:
5664 (temporary) hack to include libXtst in libspi and registryd.
5665 (Needed for keystroke synthesis, see below).
5668 Improved API for registerKeystrokeListener, in accordance with
5669 discussions with Gnopernicus team and X server research.
5671 * libspi/registry.c:
5672 * libspi/deviceeventcontroller.c:
5673 * libspi/accessible.c:
5674 * libspi/keystrokelistener.c:
5675 Changes and fixes to support keylisteners for potentially
5676 consumed key events (that is, 'passive grabs').
5677 Added implementation for generateKeyEvent() [untested].
5680 Changes to registerKeystrokeListener() API, as above.
5681 Added deregisterGlobalEventListenerAll(), and
5682 deregisterKeystrokeListener(), which are needed for clean exit of
5684 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5685 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5687 * cspi/spi_registry.c:
5688 Added implementations of function prototypes mentioned above.
5690 * registryd/registryd.c:
5691 Added the key listener event source as a g_timeout(), to allow
5692 receipt of key events that are not caught by GDK (since GDK
5693 doesn't support passive keygrabs, this was necessary).
5696 Changed to attach a keylistener to 'Alt' keys, and
5697 respond to the following keycommands: Alt-M (toggle magnifier);
5698 Alt-F (toggle speech); Alt-Q (quit).
5699 Added an exit routine to deregister the listeners, and a key
5700 listener that prints some key info to the console when a key
5701 matches the listener mask (and is thus received by the listener).
5703 * util/idl/Magnifier.idl:
5704 Changes to magnifier API to support multiple zoom regions,
5705 non-uniform scaling in x and y, markDirty, and a host of other
5706 features that would be useful to magnification.
5709 * util/mag_client.c:
5710 * util/mag_client.h:
5711 * util/mag_control.c:
5713 Source code changes to support the above IDL changes.
5716 As above, and also changes to use a (slower) generic conversion
5717 path for colormap conversions, since the fast RGB conversions have been
5718 reported to fail for 16-bit displays.
5720 2001-10-26 Michael Meeks <michael@ximian.com>
5722 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5724 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5726 * at-bridge/Makefile.am: fix LDFLAGS.
5728 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5730 * at-bridge/bridge.c:
5731 Re-worked listeners for toolkit events, now we have signal
5732 and property listeners. Added a private method
5733 register_atk_event_listeners(), which registers with the
5734 various atk and gtk signals we need to monitor in order to emit
5736 Added emission hook for AtkObject:property-change events, to
5737 support the 'property listeners'.
5738 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5741 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5742 which emit warnings and exit, respectively, if CORBA errors occur
5743 during remote calls, and we now use these methods to check most of
5744 our CORBA calls in the C bindings.
5746 * cspi/spi_accessible.c:
5747 Changed AccessibleSelection_refSelectedChild() to
5748 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5749 now increment refcounts.
5751 * cspi/spi_component.c:
5752 Fixed some long pointer casts (dangerous!) to pass pointers to
5753 CORBA_longs of the proper type to the CORBA stubs, and copy the
5754 data into the longs that were passed into the C bindings code.
5756 * at-bridge/bridge.c:
5758 * libspi/accessible.c:
5759 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5760 hyperlinks, AtkHyperlink is an object type.
5762 * libspi/application.c:
5763 Added various conversions to and from "generic" event types and
5764 atk-specific types; this is really part of the 'bridge'
5765 implementation but is valid for all AtkObject-based accessibility
5768 * libspi/editabletext.c:
5769 Fixed nasty bug wherein editable text's finalize method was
5770 unref'ing tha AtkObject reference that the text parent class was
5771 about to unref _again_. There was also a nasty inheritance bug
5772 that meant that the AccessibleEditableText class was corrupt.
5774 * libspi/selection.c:
5775 Provided implementations for some selection API that was broken.
5777 * idl/Application.idl:
5778 Added registerObjectEventListener () method.
5781 Fixed a number of return values that were Bonobo_Unknowns from
5782 bonobo_object_corba_objref(), which I
5783 forgot to dup before returning. Changed instances of
5784 bonobo_object_corba_objref (bonobo_object(o)) to
5785 BONOBO_OBJREF(o), for concision and clarity.
5787 2001-10-13 Louise Miller <louise.miller@sun.com>
5789 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5790 idl/Event.idl, idl/Registry.idl
5791 Changed these files to include Bonobo_Unknown.idl instead
5794 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5796 * libspi/component.c libspi/component.h:
5797 Fixed typo. Added assertions for object checks in
5798 AccessibleComponent code.
5800 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5802 * idl/Accessible.idl:
5803 Added 'isEqual (Accessible *object)'
5804 method for Accessible. (Not Yet Implemented).
5807 Changed signature of registerKeystrokeListener() to
5808 take a KeySet and KeyEventSeq so that specific keys and event
5809 types could be requested for monitoring, and added a flag
5810 is_synchronous so that either synchronous or asynchronous
5811 notification could be requested. (However this is not all
5812 implemented yet). This also meant adding two new typedefs,
5813 KeyEventSeq and KeySet.
5816 Added two new relations, RELATION_TOOLTIP_FOR and
5817 RELATION_LEAFNODE_OF.
5820 Added new state, STATE_HAS_TOOLTIP.
5822 * libspi/text.c, editabletext.c:
5823 Added new assertions to all casts of bonobo-objects from
5824 CORBA servants, to prevent Text API calls on non-text objects.
5825 Changed suspect casts of int-pointer types, so that we
5826 always send a valid CORBA_long pointer to the CORBA APIs that use
5827 in/out long parameters. We then have to copy from the CORBA_long
5828 into the regular long or int for return to the C bindings, or
5829 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5832 * libspi/deviceeventcontroller.c:
5833 Cleaned these sources up.
5835 Changed return type for getCharacterAtOffset to
5836 CORBA_unsigned_long, to allow for 32-bit characters.
5839 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5843 Fixed 'make dist' so that distro compiles...
5844 * libspi/keymasks.h:
5846 * cspi/spi-listener.c:
5847 KeystrokeListenerCB now returns a boolean.
5849 Added KeyEventType struct, and KeyStroke.
5850 Also added createKeystrokeListener(),
5851 KeystrokeListener_addCallback(),
5852 KeystrokeListener_removeCallback(), and added a keymask to
5853 registerKeystrokeListener().
5854 * cspi/spi_accessible.c:
5855 Changed numerous return types for interfaces from
5856 AccessibleComponent to Accessible<InterfaceName>; this was
5857 probably a cut-and-paste error.
5859 Implementations of new KeystrokeListener api (from spi.h,
5862 Changes to key modifier mapping.
5863 Created ControllerEventMask struct.
5864 Made DeviceEventController derive from Bonobo::Unknown.
5866 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5867 * libspi/deviceeventcontroller.c:
5868 Added a number of new internal (private) methods.
5869 * libspi/editabletext.c:
5870 * libspi/editabletext.h:
5871 Fixed a number of bugs related to the fact that
5872 editabletext inherits from text. Fixed the EditableText struct,
5873 the init() call, and use correct casts when calling Text methods
5874 from an EditableText object. Removed (duplicate) atko from the
5875 EditableText structure, we use the one in the parent Text
5876 structure via the casts mentioned above.
5877 * libspi/keystrokelistener.[ch]:
5878 * libspi/registry.c:
5879 Changes in support of keyboard handling (above).
5881 Keyboard handling, though partly functional, is still not
5882 recommended for at-spi client use as there is considerable
5883 work yet to be done.
5886 Changed some places where pointers to various int types
5887 are cast to be pointers to CORBA_long types and vice-versa:
5888 pointer casting is not safe so we pass pointers of the correct
5889 types and then cast the result before putting it into the target
5892 * libspi/text.h: minor typos corrected.
5894 We now speak not only the name of a Text element, but the
5895 first sentence of its content, when it receives focus.
5896 I also changed the text compression to 75% from 50%.
5897 * util/Accessibility_Util.server.in:
5898 Changed the default magnifier type to be a 3x vertical
5899 splitscreen magnifier (was previously a 2x horizontal one).
5901 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5903 * libspi/keystrokelistener.h:
5904 * libspi/keystrokelistener.c:
5905 Initial functional implementations of KeystrokeListener.
5908 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5910 Fixed string handling for NULL strings in libspi.
5911 Added spi_freeString to free strings returned by C bindings.
5913 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5915 * libspi/keystrokelistener.h:
5916 * libspi/keystrokelistener.c:
5917 Began (no-op) implementations of KeystrokeListener
5919 * libspi/deviceeventcontroller.c:
5920 * libspi/deviceeventcontroller.h:
5921 Began creating implementations of DeviceEventController,
5922 to handle keystroke and mouse event listening and
5924 * libspi/accessible.c:
5925 Stubbed-in the implementations for
5926 Accessibility_Accessible_getState and
5927 Accessibility_Accessible_getRelationSet.
5928 * libspi/registry.c:
5929 Improved de-registration process and fixed some bugs,
5930 deregistration now works correctly.
5932 Added initialization of applications list (to NULL).
5934 Reduced speech compression from 0.5 to 0.7, for demo.
5935 Changed call to gdk_window_set_decorations()
5936 to gtk_window_set_decorated().
5937 * at-bridge/bridge.c:
5938 Bridge now deregisters when app exits, via
5939 registration of a cleanup function
5940 with the g_atexit() call.
5941 Required making 'app' static, renamed 'this_app'.
5942 Fixed broken use of bonobo_init, passing argv wrongly.
5944 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5948 Created a new directory for
5949 accessibility-related utilities, primarily for
5950 testing and demo purposes, but with possible
5957 Onscreen magnifier utility that
5958 is implemented as a bonobo service.
5960 * util/mag_client.c:
5961 * util/mag_client.h:
5962 Client-side support (simple C bindings)
5963 for Magnification service
5965 * util/mag_control.c:
5966 Client program example for
5967 Magnification service
5969 * util/Accessibility_Magnifier.server.in:
5970 Bonobo-activation file for the
5971 Magnification service.
5974 * util/idl/Magnifier.idl:
5975 IDL defining the bonobo Magnification
5979 Modifications to use the bonobo-activated magnifier
5980 above, in place of trying to connect to an existing
5981 magnifier that uses socket-listening IPC.
5983 If env variable MAGNIFIER is set, a magnifier service
5984 will be started if one does not exist.
5986 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5988 * at-bridge/bridge.c:
5989 applied patch from Marc to build and run
5990 against new glib and gtk+ (seemed like a change
5991 to bonobo_init signature was made ?)
5993 made festival-server support turned off by default.
5994 Added support for a simple magnifier (off by default)
5995 which will be added to a 'util' directory later.
5996 * at-bridge/Makefile.am:
5997 Changed "application.h" header from a 'source'
5998 to a 'dependency' of libat-bridge.
6000 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6009 Added interface implementation c files to list of
6010 includes so they are included in libcspi.
6013 Changed prototype of AccessibleAction_doAction to return a
6015 Changed prototype of AccessibleTable_getCaption to
6016 return an Accessible.
6017 Changed prototype of AccessibleTable_getSelectedRows
6018 and AccessibleTable_getSelectedColumns to
6019 return a long (returns the number of selected rows
6020 or columns respectively).
6021 Changed name of AccessibleText_refRunAttributes to
6022 AccessibleText_getAttributes.
6023 Changed prototype of AccessibleText_getCharacterExtents to
6024 return a void rather than a boolean.
6025 Added support for a AccessibleCoordType parameter
6026 specifying what type of coordinates are desired.
6027 Added an AccessibleCordType parameter to
6028 AccessibleText_getPointAtOffset.
6030 * cspi/spi_accessible.c:
6031 Added code to return the outstanding interfaces from
6032 Accessible_queryInterface.
6034 * cspi/spi_action.c:
6036 Corrected call to getNActions to call the c binding
6039 * cspi/spi_editabletext.c:
6041 Changed name from setRunAttributes to setAttributes.
6043 * cspi/spi_hyperlink.c:
6045 Changed call to getNAnchors to correctly call the c
6046 binding for an attribute.
6048 * cspi/spi_hypertext.c:
6050 Changed getImageDescription to correctly call the
6051 binding for an attribute.
6053 * cspi/spi_selection.c:
6054 Changed getNSelectedChildren to correctly call the c
6055 binding for the attribute.
6056 Changed refSelectedChild to getSelectedChild.
6060 Changed getCaption to return an Accessible.
6061 Fixed calls which retrieve attributes.
6062 Changed refAt to getAccessibleAt.
6063 Changed getNSelectedRows and getNSelectedColumns to
6067 Changed getCharacterExtents and getPointAtOffset to accept an
6068 AccessibleCoordType.
6070 Changed calls which retrieve attributes.
6071 Changed refRunAttributes to getAttributes.
6076 * idl/Hyperlink.idl:
6077 Changed n_anchors attribute to nAnchors to keep naming
6078 convention consistent.
6081 Made Table inherit from Bonobo::Unknown.
6082 Added nSelectedColumns and nSelectedRows attributes.
6085 Made Value inherit from Bonobo::Unknown.
6087 * libspi/hyperlink.c:
6088 Change for nAnchors attributte name change.
6090 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6098 Added interface implementation c files to list of
6099 includes so they are included in libcspi.
6102 Changed prototype of AccessibleAction_doAction to return a
6104 Changed prototype of AccessibleTable_getCaption to
6105 return an Accessible.
6106 Changed prototype of AccessibleTable_getSelectedRows
6107 and AccessibleTable_getSelectedColumns to
6108 return a long (returns the number of selected rows
6109 or columns respectively).
6110 Changed name of AccessibleText_refRunAttributes to
6111 AccessibleText_getAttributes.
6112 Changed prototype of AccessibleText_getCharacterExtents to
6113 return a void rather than a boolean.
6114 Added support for a AccessibleCoordType parameter
6115 specifying what type of coordinates are desired.
6116 Added an AccessibleCordType parameter to
6117 AccessibleText_getPointAtOffset.
6119 * cspi/spi_accessible.c:
6120 Added code to return the outstanding interfaces from
6121 Accessible_queryInterface.
6123 * cspi/spi_action.c:
6125 Corrected call to getNActions to call the c binding
6128 * cspi/spi_editabletext.c:
6130 Changed name from setRunAttributes to setAttributes.
6132 * cspi/spi_hyperlink.c:
6134 Changed call to getNAnchors to correctly call the c
6135 binding for an attribute.
6137 * cspi/spi_hypertext.c:
6139 Changed getImageDescription to correctly call the
6140 binding for an attribute.
6142 * cspi/spi_selection.c:
6143 Changed getNSelectedChildren to correctly call the c
6144 binding for the attribute.
6145 Changed refSelectedChild to getSelectedChild.
6149 Changed getCaption to return an Accessible.
6150 Fixed calls which retrieve attributes.
6151 Changed refAt to getAccessibleAt.
6152 Changed getNSelectedRows and getNSelectedColumns to
6156 Changed getCharacterExtents and getPointAtOffset to accept an
6157 AccessibleCoordType.
6159 Changed calls which retrieve attributes.
6160 Changed refRunAttributes to getAttributes.
6165 * idl/Hyperlink.idl:
6166 Changed n_anchors attribute to nAnchors to keep naming
6167 convention consistent.
6170 Made Table inherit from Bonobo::Unknown.
6171 Added nSelectedColumns and nSelectedRows attributes.
6174 Made Value inherit from Bonobo::Unknown.
6176 * libspi/hyperlink.c:
6177 Change for nAnchors attributte name change.
6180 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6182 implementations-- made server implementations own AtkObject pointers
6183 rather than their respective AtkInterrface pointers to fix
6184 refcounting. AtkHyperlink is still broken.
6186 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6187 * cspi/spi_accessible.c:
6188 Added method Accessible_Role_getName(),
6189 and requisite string array (role_names).
6190 Added conversion string_from_corba_strin() call
6191 to Accessible_getName and _getDescription.
6192 * libspi/accessible.c:
6193 Added implementation for Accessible_getRole()
6195 Added festival support, used if environment variable
6198 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6200 * at-bridge/bridge.c:
6201 Now allocate Accessibility_Event using
6202 Accessibility_Event__alloc() instead of g_new0().
6203 * libspi/accessibleeventlistener.c:
6204 Initialize AccessibleEventListener->callbacks to NULL.
6205 Fixed accessible__event_listener_init() param, changed to
6206 "AccessibleEventListener *" type.
6207 Changed a bonobo_object_release_unref() call to
6208 Accessibility_Accessible_unref().
6209 * libspi/listener.c:
6210 Changed Bonobo_Unknown_unref to (equivalent)
6211 Accessibility_Accessible_unref.
6212 * libspi/registry.c:
6213 Changed bonobo_object_release_unref to
6214 Accessibility_Accessible_unref.
6216 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6219 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6220 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6221 spi-util.c spi-util.h
6222 Implementations for C bindings to remaining accessibility
6225 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6228 changed return value of Action from void to boolean to
6229 bring in line with ATK.
6232 Changed getText funcions to return "out" start and end offsets.
6233 Changed getAttributes to take and offset and return the start
6234 and end offset of the attribute run.
6235 Changed getOffsetAtPoint and getCharacterExtents to take an
6236 enum describing whether coordinates are window or screen.
6239 libspi/action.c libspi/action.h libspi/editabletext.c
6240 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6241 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6242 libspi/image.h libspi/selection.c libspi/selection.h
6243 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6244 libspi/value.c libspi/value.h
6245 Added server implementations for outstanding ATK interfaces
6246 not yet implemented.
6248 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6251 Added (missing) getName() method.
6252 Made nActions an attribute.
6253 * idl/EditableText.idl:
6254 Changed order of params in setAttributes.
6255 * idl/Hyperlink.idl:
6256 Removed getAnchor, added getURI.
6258 Changed attributes to methods, for efficiency
6259 (so that getting extents can be done in one call)
6260 * idl/Selection.idl:
6261 Changed nSelectedChildren to attribute, and re-indented.
6262 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6264 * idl/Text.idl: reformatted to match our coding style.
6265 (temporarily?) removed getRowColumnAtOffset().
6266 Changed text selection API to support multi-select and
6267 non-contiguous selections, as in ATK.
6268 * idl/Value.idl: changed some methods to attributes.
6270 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6272 * libspi/listener.c(impl_notify_event):
6273 BonoboUnkown_unref the source instead
6274 of bonobo_object_release_unref - the ORB
6275 handles the releasing.
6277 * configure.in: require ORBit-2.3.94 for
6280 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6282 Tagged CVS repository 'EA_1_0'.
6283 * README.EARLY_ACCESS:
6284 Alphabetized acknowledgements list, and
6286 Listed some known dependencies of at-spi.
6288 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6290 * docs/at-spi-docs.sgml:
6291 * docs/at-spi-sections.txt:
6292 * docs/at-spi-overrides.txt: (Added zero-length file)
6293 Documentation improvements - gtk-doc should build
6294 docs for all implemented C bindings now.
6297 * cspi/spi.c: (New file)
6298 * cspi/spi_event.c: (New file)
6299 * cspi/spi_registry.c: (New file)
6300 * cspi/spi_accessible.c: (New file)
6301 * cspi/spi_application.c: (New file)
6302 * cspi/spi_component.c: (New file)
6303 Split spi_main.c into six parts, and included them from
6304 "spi.c". This is a bit of a hack, probably temporary,
6305 but required by gtk-doc, apparently.
6307 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6310 * docs/at-spi-docs.sgml:
6311 * docs/at-spi-sections.txt:
6313 Initial checkins/modifications for gtk-doc generation.
6316 Added (missing) interface query methods to Accessible's C binding.
6318 Added GenericInterface type definition.
6320 Added query for AccessibleComponent interface to focus event handler.
6321 Added printout of bounding box for focussed component.
6322 * libspi/component.c:
6323 Added partial implementation for AccessibleComponent to C binding.
6324 * idl/Application.idl:
6325 * libspi/registry.c:
6326 * libspi/listener.c:
6327 * libspi/application.c:
6328 * libspi/application.h:
6329 Changed "ID" attribute type from string to long.
6331 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6335 Made method naming consistent: methods taking object args
6336 start with uppercase, other methods (except those using
6337 acronyms) start with lowercase. Underscores delimit between
6338 object names and method names:
6339 SPI_init() - uppercase since it starts with an acronym.
6340 getDesktopCount () - lowercase start since no object param0.
6341 Accessible_getName() - uppercase object type name, studlyCaps method
6345 Added gtk-doc documentation for all currently implemented
6346 methods in the C bindings API.
6348 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6350 * Makefile.am : changed build order to build test last.
6353 Changed "createEventListener" to "CreateEventListener".
6354 * libspi/accessibleeventlistener.c :
6355 Bugfix for addition of callbacks.
6356 * test/Makefile.am :
6357 * test/simple-at.c :
6358 Added new test that uses the C bindings API.
6360 * libspi/listener.c :
6361 * libspi/registry.c :
6362 * libspi/accessibleeventlistener.c :
6363 * at-bridge/bridge.c :
6364 Renamed member "target" of Accessibility_Event to "source",
6365 which is more descriptive.
6368 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6372 * cspi/Makefile.am :
6373 Added makefile support for at-spi/cspi directory.
6376 * cspi/spi-listener.h : (NEW FILE)
6377 Added support for/use of spi-listener.h.
6379 C bindings now build successfully, with no warnings.
6380 * libspi/accessibleeventlistener.h : (NEW FILE)
6381 * libspi/accessibleeventlistener.c : (NEW FILE)
6382 * libspi/Makefile.am :
6383 Added new object type "AccessibleEventListener"
6384 which inherits from Listener, and allows attachment
6385 of in-process callbacks (so that a client with a listening
6386 object instance can add functionality to the local
6387 implementation, dynamically).
6389 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6391 * libspi/accessible.c:
6392 Add implementation for get_index_in_parent().
6394 Added #include of "spi-roletypes.h", and
6395 added enumerated type AccessibleCoordType.
6396 Added definition for KeystrokeListener (function type).
6399 * cspi/spi-statetypes.h :
6400 * cspi/spi-roletypes.h :
6402 Added these headers, used by spi.h.
6404 Added code (NOTE: not yet built by make).
6406 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6408 * libspi/Makefile.am: generate imodule
6409 at the same time as other idl compiler
6412 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6413 * libspi/registry.c :
6414 * libspi/application.c :
6415 * idl/Application.idl :
6416 Made registration with toolkit an application method,
6417 which is required since each app has its own toolkit static
6418 environment. Thus the bridge must register for
6419 notification of toolkit events from each application in turn.
6420 Toolkit notifications are now successfully registered for, and
6421 sent to the listening at client.
6423 Changed toolkit event string to use hyphens rather than underscores.
6424 * libspi/listener.c :
6425 listner now gives more info in debug mode - it reports the
6426 name of the event received, as well as the name of the source.
6429 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6431 * libspi/registry.c :
6432 added more implementation for toolkit events.
6433 Fixed bug such that toolkit event registrations
6434 (via atk) use the whole event name string, not
6436 Removed a useless call to an ORBit_ method.
6437 * at-bridge/bridge.c :
6438 Removed unused local sbuf[] variable.
6440 We now register for Gtk:GtkWidget:button_press_event
6441 events as well as "focus:" events.
6443 Add some more API from Registry.idl that was missing,
6444 for keystroke listening, keystroke and mouse event
6445 synthesis, and enumeration of accessible desktops.
6447 2001-08-16 Michael Meeks <michael@ximian.com>
6449 * configure.in: use AM_GLIB_GNU_GETTEXT.
6451 * Makefile.am (SUBDIRS): kill intl.
6453 2001-08-15 Michael Meeks <michael@ximian.com>
6455 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6457 * configure.in: upd.
6459 * configure.in: depend on a recent bonobo-activation that
6460 will find our server files ...
6462 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6464 * libspi/accessible.c : accessible_new() :
6465 Now we add the Component interface via bonobo_object_add_interface,
6466 if the contained AtkObject implements AtkComponent.
6467 * libspi/accessible.h : now include "component.h"
6468 * libspi/component.h :
6469 * libspi/component.c : added files - implementation of
6470 bonobo wrapper object for Accessibility/Component
6471 * libspi/listener.c :
6472 Added test code to check for Accessibility/Component:1.0
6473 interface and report whether it is implemented by the
6475 * libspi/registry.c :
6476 Now we check for not only the hash of the whole event
6477 string before relaying the event, we also check the
6478 "minor" event string (without the detail string).
6479 This allows event listeners to be registered against
6480 all events of a certain major+minor type, or just
6481 against a specific major+minor+detail type.
6482 * libspi/accessible.c :
6483 Added implementations for Accessible:get_parent(),
6484 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6485 * libspi/registry.c :
6486 * libspi/listener.c :
6487 Replaced calls to Accessibility_Accessible_ref() and
6488 Accessibility_Accessible_unref() with
6489 calls to bonobo_object_dup_ref() and
6490 bonobo_object_release_unref(), so that the CORBA object
6491 is dup-ed and released when relayed, as well as the bonobo object.
6493 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6495 * libspi/Makefile.am,
6496 registryd/Makefile.am,
6497 at-bridge/Makefile.am.
6498 test/Makefile.am, configure.in:
6499 reverse previous changes.
6501 * /idl/Image.idl: fix typo.
6503 * test/Makefile.am: put DEBUG_FLAGS
6506 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6508 * test/app.c: use argv[0] instead of
6511 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6513 * libspi/Makefile.am,
6514 registryd/Makefile.am,
6515 at-bridge/Makefile.am.
6516 test/Makefile.am, configure.in:
6517 cleanup, replace individual LIBS/CFLAGS with
6518 AT_COMMON_{LIBS|CFLAGS}.
6522 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6524 * configure.in, libspi/Makefile.am:
6525 Change IDL path checking for bonobo-activation
6528 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6530 * registryd/registry.c : separated event listeners to use
6531 3 separate lists (focus, window, toolkit). Began testing
6532 event names against hashes before relaying events.
6533 * test/at.c : now register for events of type "focus:"
6534 * test/app.c : now generate events of type "focus:"
6535 * at-bridge/bridge.c : register with ATK for focus events,
6536 and we now relay those focus events to any "focus:" listeners.
6537 This now works with the bridge as a GTK_MODULE when running test/at.
6538 * libspi/registry.c :
6539 * libspi/listener.c :
6540 now we ref event sources before propagating, and unref on receipt.
6541 * libspi/registry.c :
6542 some changes to internal structs, to support event typestring hashes.
6543 * text/app.c : changed the way the appname is generated.
6544 * cspi : added directory that will hold the C bindings library for
6545 non-CORBA/bonobo-savvy clients.
6546 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6547 * idl/Component.idl : added in parameter to indicate coord system for
6548 geometry-related calls.
6549 * idl/Hyperlink.idl : added readonly n_links attribute
6550 * idl/Image.idl : changed methods to attributes.
6552 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6554 * at-bridge/Makefile.am: link against
6555 ../libspi/libspi.la instead of -lspi.
6557 * at-spi/test/app.c: include
6558 bonobo-activation.h. Use a default appname
6559 if one is not provided.
6561 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6563 * idl/Registry.idl : temporarily changed register_Application
6564 to oneway, to work around issue with initial registration
6566 * idl/Application.idl : changed attribute "id" from readonly
6567 to read-write, since it needs to be assigned by Registry.
6568 * registryd/registryd.c : added call to set application id
6570 * registryd/registry.c : changed de-registration procedure to
6571 use CORBA_Object_hash() to find matching object ref in application
6572 lists and listener lists.
6573 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6574 began distinguishing between event types (work in progress).
6576 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6579 * libspi/application.c:
6580 Added implementations for get/set id, get_toolkitName,
6582 * registryd/registryd.c :
6586 Converted from use of OAF to bonobo-activation.
6587 * libspi/desktop.h :
6588 * libspi/desktop.c :
6590 Removed references to atksimpleobject, since base atkobject
6591 implementation now provides functionality we need.
6592 * libspi/atksimpleobject.c :
6593 * libspi/atksimpleobject.h :
6598 * at-bridge/Makefile.am
6599 * at-bridge/bridge.c
6602 Added directory "bridge" and contents, and added dependencies
6603 in Makefile.am/configure.in.
6604 Initial checkin of "at-bridge".
6605 This code is a GTK_MODULE which automatically registers
6606 GTK+ apps with the accessibility registry, using an object
6607 reference to the root ATK object.
6609 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6611 * po/Makefile.in.in: Remove. Again. If this
6612 doesn't get autogenerated - you need to update
6615 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6617 * po/Makefile.in.in: Add. Again.
6619 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6621 * libspi/accessible.c : added support for 'description' property.
6622 * libspi/accessible.c
6624 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6625 (since the two are now equivalent in libbonobo)
6633 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6634 Bonobo::Unknown as does Accessibility::Accessible.
6635 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6636 interface with Bonobo::Stream, since it was redundant with it.
6637 (The Stream returned by a StreamableContext object is expected to
6638 implement only a subset of Bonobo::Stream)
6640 2001-07-28 Anders Carlsson <andersca@gnome.org>
6642 * libspi/accessible.c (accessible_object_finalize): Change
6643 g_free to g_object_unref since the AtkObject is a GObject.
6645 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6647 * idl/Accessibility.idl: add new IDL files
6650 * idl/Action.idl: Definitions of actionable UI object
6651 * idl/Component.idl: Definitions of UI component geometry, etc.
6652 * idl/Hyperlink.idl: Defs of hyperlink behavior
6653 * idl/Image.idl: Def of accessible image
6654 * idl/Selection.idl: Definition of UI object with selectable children
6655 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6656 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6657 * idl/Text.idl: Interface defs for UI elements with complex textual content
6658 * idl/Value.idl: Definition of UI element that is a value controller or display
6660 2001-07-27 Michael Meeks <michael@ximian.com>
6662 * po/Makefile.in.in: remove autogenerated file from CVS.
6664 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6667 * idl/Registry.idl: include guard.
6669 * idl/Accessibility.idl: Add, and include all the other IDL
6672 * idl/*.idl: remove mass of pragmas etc.
6674 2001-07-26 Michael Meeks <michael@ximian.com>
6676 * registryd/Makefile.am (registryd_SOURCES): remove
6679 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6681 * libspi/.cvsignore, registryd/.cvsignore,
6682 test/.cvsignore: updated.
6684 * po/Makefile.in.in: gettext update.
6686 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6688 * initial CVS checkin
6690 2001-06-29 Michael Meeks <michael@ximian.com>
6692 * configure.in: add AM_CONFIG_HEADER to gen config.h