1 2003-12-05 Bill Haneman <billh@gnome.org>
3 * configure.in: Version 1.3.9.
5 * docs/reference/cspi/tmpl/spi_registry.sgml:
6 Added reference to libspi/keymasks.h to the
7 description of Registry queries: AccessibleKeyMaskType.
10 2003-12-04 Bill Haneman <billh@gnome.org>
14 * idl/Accessibility_Application.idl:
15 (Accessibility::LOCALE_TYPE): New enum, corresponds to
17 (Accessibility::Application::getLocale): New method.
18 Allows clients to query the locale, by type, of an app.
21 * cspi/spi_application.c:
22 (AccessibleApplication_getLocale): New method, wraps IDL above.
24 * libspi/application.c:
25 (spi_application_class_init): Init epv entry for getLocale.
26 (impl_accessibility_application_get_locale): Impl for above.
29 (test_application): Added assertion for getLocale, i.e.
30 that the string from AccessibleApplication_getLocale (app, type)
31 is the same as that from setlocale (type, NULL);
33 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
35 *registryd/deviceeventcontroller.c: Add an idle handler which polls
36 the keyboard on a timeout intil the key state goes from pressed to
37 released. Fixes bug #111429.
39 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
41 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
42 root object so that it is present when a context menu in an
43 out-of-process applet is popped up.
44 (spi_atk_bridge_do_registration): Create acceessible application root
45 object only if it does not exist.
47 This fixes bug #125834.
49 2003-12-01 Bill Haneman <billh@gnome.org>
51 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
54 Added enum for AccessibleStreamableContentSeekType.
55 (AccessibleStreamableContent_freeContentTypeList): New.
57 * cspi/spi_streamablecontent.c:
58 (accessible_bonobo_stream_client_seek): New private method.
59 (AccessibleStreamableContent_seek): Implemented this method,
60 using Bonobo_Stream_seek.
61 (AccessibleStreamableContent_freeContentTypeList): New method
62 for freeing the return value from
63 AccessibleStreamableContent_getContentTypes.
64 (stream_cache_item_free): Replaces stream_release; stop leaks.
65 (stream_release): removed.
66 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
67 free the memory properly.
69 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
73 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
75 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
77 * docs/referecce/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
79 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
81 2003-12-01 Bill Haneman <billh@gnome.org>
83 Fix for bug/rfe #127463.
85 * idl/Accessibility_Accessible.idl:
86 (getLocalizedRoleName): New.
87 (unimplemented4): Removed (replaced by above).
89 * libspi/accessible.c:
90 (impl_accessibility_accessible_get_local_role_name): New.
91 (spi_accessible_class_init): Add getLocalizedRoleName entry to
95 (Accessible_getLocalizedRoleName): New.
97 * cspi/spi_accessible.c:
98 (Accessible_getLocalizedRoleName): New.
100 2003-12-01 Bill Haneman <billh@gnome.org>
103 * idl/Accessibility_Text.idl:
104 (getDefaultAttributes): New.
105 (unimplemented4): Removed (replaced by above method).
108 (impl_getDefaultAttributes): New method.
109 (spi_text_class_init):
110 initialize the get_default_attributes slot in the epv.
113 (AccessibleText_getDefaultAttributes): New prototype.
116 (AccessibleText_getDefaultAttributes): New method.
118 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
120 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
121 write beyond the end of the table. Fixes bug #120473.
123 2003-09-30 Christian Rose <menthos@menthos.com>
125 * configure.in: Added "eu" to ALL_LINGUAS.
127 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
129 * configure.in: ALL_LINGUAS: Added no.
131 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
133 * configure.in: Added lt to ALL_LINGUAS.
135 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
137 * atk-bridge/bridge.c:
138 (atk_bridge_init): Register event listeners always even for
139 out-of-process applet.
140 (spi_atk_bridge_toplevel_added): Remove call to
141 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
142 (spi_atk_bridge_toplevelk_removed): Remove call to
143 spi_atk_deregister_event_listenersa as the listeners are now always
145 (spi_atk_bridge_register_application): Remove call to
146 spi_atk_register_event_listeners as it is not done in atk_bridge_init
148 This fixes bug #120991.
150 * libspi/table.c (impl_getColumnDescription): Correct typo,
151 pointed out by Bolian.Yin@sun.com.
153 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
155 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
157 2003-09-08 Bill Haneman <billh@gnome.org>
159 * configure.in: Revved to 1.3.7.
161 This is the GNOME 2.4.0 release of at-spi.
163 * docs/reference/cspi/Makefile.am:
164 Removed spurious inclusion of 'index.sgml' in the
165 html directory; this was breaking make distcheck and
166 also some other build environments.
168 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
170 * registryd/registry.[ch}:
171 Add queue_handler_id and focus_object to SpiRegistry data structure.
172 (registry_flush_event_queue): If event being discarded is
173 "state-change:focused" store object as focus_object.
174 (registry_start_queue): Remove queue handler and focus object
176 (registry_discard_event): New function which discards a focus event
177 if we had stored focus object in the registry.
178 (registry_queue_event): Add new check that is_queueing is set as this
179 function is reentrant.
180 (registry_filer_event): Add call to registry_discard_event.
182 This resolves issues raised in bug #108664.
184 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
186 * configure.in: Added "bn" to ALL_LINGUAS.
188 2003-09-04 Bill Haneman <billh@gnome.org>
190 * cspi/spi_event.c: Documentation improvements for
191 (SPI_registerAccessibleKeylistener).
193 * docs/reference/tmpl/spi_registry.sgml:
194 Documentation improvements for SpiAccessibleKeylistenerCB.
196 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
198 * configure.in: Added "ro" to ALL_LINGUAS.
201 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
203 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
204 not decremented to zero. Fixes bug #120725.
206 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
208 * configure.in: Added "ja" to ALL_LINGUAS.
210 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
212 * configure.in: Added "is" to ALL_LINGUAS.
214 2003-08-22 Christian Rose <menthos@menthos.com>
216 * configure.in: Added "nl" to ALL_LINGUAS.
218 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
220 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
221 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
223 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
225 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
226 type for unspecified exception.
227 * cspi_streamablecontect): Add include of string.h for memcpy.
228 (stream_release): Correct call to bonobo_object_release_unref
229 (stream_cache_item_free): Correct call to bonobo_object_release_unref
230 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
231 argument of _cspi_expection_throw.
232 * libspi/hyperlink.c: Add include of libspi/action.h:
233 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
234 * libspi/streamablecontent.c: add include of libspi/component.h.
235 * regisrtyd/deviceeventcontroller.c:
236 (spi_dec_translate_mask): Removed unused variable priv.
237 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
238 * registryd/registry.c:
239 (registry_filter_event): Remove unused variable queue_is-empty.
240 (impl_registry_notify_event): Use correct modifier in fprintf call.
242 This fixes compiler warnings reported in bug #120220.
244 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
246 * registryd/registryd.c: Remove this file.
248 2003-08-17 Sanlig Badral <badral@openmn.org>
250 * configure.in: Added mn to ALL_LINGUAS.
252 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
254 * configure.in: Added et to ALL_LINGUAS.
256 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
258 * test/event-listener-test.c: Change active-descendant to
259 active-descendant-changed.
261 2003-08-10 Sami Pesonen <sampeson@iki.fi>
263 * configure.in: Added "fi" in ALL_LINGUAS.
265 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
267 * configure.in: Added "hi" in ALL_LINGUAS.
269 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
271 * configure.in: Revved to 1.3.6.
275 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
277 * registryd/deviceeventcontroller.c
278 (spi_device_event_controller_object_finalize): Fix typo in previous
281 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
283 * registryd/deviceeventcontroller.c
284 (spi_device_event_controller_object_finalize): Fix build on
285 systems without XEvIE.
287 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
289 * acconfig.h, configure.in, registryd/Makefile.am,
290 registryd/devicecontoller.[ch]: Add XEViE support.
292 2003-08-06 Wang Jian <lark@linux.net.cn>
294 * configure.in: Added "zh_CN" to ALL_LINGUAS.
296 2003-08-06 Metin Amiroff<metin@karegen.com>
298 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
300 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
302 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
303 MODIFIER_ALT in correct place.
305 This fixes part of bug #118114.
307 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
309 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
311 2003-07-28 Changwoo Ryu <cwryu@debian.org>
313 * configure.in: Added "ko" to ALL_LINGUAS.
315 2003-07-28 Ole Laursen <olau@hardworking.dk>
317 * configure.in: Added "da" to the commented out ALL_LINGUAS.
319 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
321 * configure.in: Added "sq" to ALL_LINGUAS.
323 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
325 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
327 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
329 * configure.in: updated ALL_LINGUAS list
331 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
333 * configure.in: Added Belarusian to ALL_LINGUAS.
335 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
337 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
339 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
340 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
342 This fixes bug #116949.
344 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
346 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
347 Correct CSPI to SPI in function documentation.
349 This fixes bug #118054.
351 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
353 * configure.in: Added Russian to ALL_LINGUAS.
355 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
357 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
359 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
361 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
363 2003-07-10 Joel Brich <joel.brich@laposte.net>
365 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
367 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
369 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
371 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
373 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
374 resources allocated for AccessibleEvent. See cspi_event().
376 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
377 static variable streams to NULL.
379 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
380 Update so that AcessibleEvent_ref will work.
382 This fixes bug #116624.
384 2003-07-06 Jordi Mallach <jordi@sindominio.net>
386 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
388 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
390 * configure.in: Added "fr" (French) to ALL_LINGUAS.
392 2003-07-02 Christian Neumair <chris@gnome-de.org>
394 * configure.in: Added "de" (German) to ALL_LINGUAS.
396 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
398 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
400 2003-07-01 Miloslav Trmac <mitr@volny.cz>
402 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
404 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
406 * configure.in: Added "pl" to ALL_LINGUAS.
408 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
410 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
412 2003-06-30 Bill Haneman <bill.haneman@sun.com>
415 (get_action_from_servant):
416 Removed assertion that action is implemented on an AtkObject.
418 * libspi/hyperlink.c:
420 Aggregate AccessibleAction interface on the hyperlink object if
421 the object implements AtkAction. (This convention is used in
424 2003-06-30 Bill Haneman <bill.haneman@sun.com>
426 * configure.in: Revved to 1.3.5.
428 * registryd/Accessibility_Registry.server.in.in:
429 Marked up appropriate strings for translation.
431 * atk-bridge/bridge.c: Marked a couple of
432 user-visible warnings for translation. Questionable
433 whether they are really useful, but possibly so.
436 2003-06-28 Christian Rose <menthos@menthos.com>
438 * configure.in: Added "sv" to ALL_LINGUAS.
440 2003-06-26 Bill Haneman <bill.haneman@sun.com>
442 * registryd/registry.c:
443 (spi_registry_object_finalize): Unref the deviceeventcontroller.
444 (registry_defer_on_event): Defer focus: events, this is an
445 improvement to the patch for bug #108664.
447 * TODO: Update with 2.4/"Dev Complete" items.
449 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
451 * atk-bridge/bridge.c:
452 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
453 looks up signals once.
454 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
455 if doing registration.
456 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
457 when doing registration.
459 This fixes bug #115014.
461 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
463 * atk-bridge/bridge.c:
464 (atk_bridge_init): Add signal handler for children-changed:remove on
465 root when in a BonoboComponent.
466 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
467 for first toplevel only other incrememt variable toplevels.
468 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
469 application and remove listeners.
470 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
472 (spi_atk_deregister_event_listeners): New function which removes
474 (reinit_register_vars): New fuction which reinitializes variables.
476 This fixes bug #111578.
478 2003-06-13 Bill Haneman <bill.haneman@sun.com>
480 * configure.in: version 1.3.4.
482 * cspi/spi_accessible.c:
483 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
486 2003-06-13 Michael Meeks <michael@ximian.com>
488 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
490 * cspi/spi_main.c (cspi_peek_ev): impl.
492 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
494 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
496 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
498 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
499 SPI_ROLE_AUTOCOMPLETE
501 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
503 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
504 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
506 2003-06-11 Bill Haneman <bill.haneman@sun.com>
508 * libspi/streamablecontent.h:
509 * libspi/streamablecontent.c:
510 New files, provide implementation/wrappers for
511 Accessibility_StreamableContent.
513 * cspi/spi_streamablecontent.c:
514 Connected the C wrappers to the libspi C bindings.
515 (AccessibleStreamableContent_close): New method.
518 (AccessibleStreamableContent_close): New method, needed
519 since we have an "open, [seek], read, close" model in cspi.
521 2003-06-11 Bill Haneman <bill.haneman@sun.com>
523 Fix for #108664; Padraig's revision of my original patch.
525 * registryd/registry.h:
526 Added event queue list, is_queuing, and exit_notify_timeout
527 to the registry struct.
529 * registryd/registry.c:
530 (registry_init): Initialize new struct from registry.h.
531 (impl_registry_notify_event):
532 Filter events before notifying, in case some need to be
534 (registry_filter_event): New,
535 we defer certain incoming events (for instance
536 window:deactivate) because we may wish to hide
537 or reject them based on pending events. This is
538 mostly a workaround for bug #108664.
539 (registry_queue_event, registry_start_queue): New.
540 (registry_defer_on_event): Test event to see if it
542 (registry_reset_on_event): Returns TRUE if the
543 event should cause a queue reset.
544 (registry_discard_on_event): Returns TRUE if the event
545 should cause the previous queue contents to be discarded.
546 (registry_timeout_flush_queue): Flushes the pending event
547 queue if no reset/discard-triggering events have come in
548 within the timeout period.
549 (registry_emit_event): New.
550 (registry_clone_notify_context): New, used when queueing the
551 event notify contexts.
553 2003-06-10 Bill Haneman <bill.haneman@sun.com>
555 * configure.in: Version revved to 1.3.2, lt 0.9.2
556 Incremented ATK required version to 1.3.4.
558 * cspi/spi_registry.c:
559 (SPI_generateKeyEvent):
560 We now pass the keystring along if it's non-null.
562 * registryd/deviceeventcontroller.c:
563 (keysym_mod_mask): New method, returns modifier mask
564 required to generate a keysym from a given keycode.
565 (dec_synth_keysym): New method.
566 (dec_synth_keystring): New method.
567 (dec_get_modifier_state): New method.
568 (dec_lock_modifiers): New
569 (dec_unlock_modifiers): New.
570 (dec_keysym_for_unichar): New, rather brute-force
571 conversion from UCS-4 to X KeySyms. Only works for
572 Latin at the moment, with partial implementations for
573 Greek, Hebrew, and (incomplete) Katakana.
574 (impl_generate_keyboard_event): Now implement
575 "KEYSTRING" synthesis and implement "KEYSYM"
577 (keycode_from_keysym): Improved, passes a returned
578 modmask value now if the corresponding param is non-NULL.
580 Fixes bugs #92143 and #109776.
583 * test/keysynth-test.c:
584 New test program for key synthesis, to confirm fixes for
588 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
590 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
592 * cspi/spi_accessible.c (cspi_init_relation_type_table):
593 Add line for RELATION_POPUP_FOR
595 * docs/reference/cspi/tmpl/spi_relation.sgml:
596 Add relation SPI_RELATION_POPUP_FOR
598 * docs/reference/cspi/tmpl/spi_stateset.sgml:
599 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
601 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
603 * libspi/relation.c (spi_init_relation_type_table):
604 Add line for RELATION_POPUP_FOR
606 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
608 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
609 there are still windows which have not been deleted and emit
610 window:deactivate, if necessary and window:destroy events.
611 This fixes bug #114370. The change on June 5th was not correct.
613 2003-06-09 Bill Haneman <bill.haneman@sun.com>
615 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
618 (SPI_dupString): Allow dup-ing of a string such that it's safe to
620 New methods for client exception handling and interception.
621 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
622 (SPI_exceptionHandlerPop): You guessed it...
623 (SPI_getSourceType): Return the type of object which offended.
624 (SPI_getExceptionCode): Return an enum code telling, possibly,
625 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
626 (SPIAccessibleException_getSource): get the source object for
627 exceptions that come from Accessibles, if SPIExceptionSourceType is
628 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
629 (SPIException_getDescription): New, returns a string description of
630 the problem. [Not yet a stable ABI, strings are not frozen]
632 * cspi/spi-private.h:
633 Added implementation details of opaque SPIException
637 Implementations of above. Also
638 (_cspi_exception_throw): new private method that
639 dispatches exceptions to handlers, called from cspi-bonobo.c
641 * cspi/bonobo/cspi-bonobo.c:
642 (cspi_check_ev): call _cspi_exception_throw.
643 Don't print a warning message if the exception has been
644 handled by _cspi_exception_throw.
646 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
648 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
649 there are still windows which have not been deleted and emit
650 window:deactivate, if necessary and window:destroy events.
651 This fixes bug #114370.
653 2003-06-03 Bill Haneman <bill.haneman@sun.com>
656 (cspi_accessible_is_a): Make non-fatal
657 if the object reference is dead.
659 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
661 * cspi/spi_main.c: #include <stdio.h>
662 * test/simple-at.c: ditto
663 * test/event-listener-test.c: ditto
664 * test/screen-review-test.c: ditto
666 2003-05-30 Michael Meeks <michael@ximian.com>
668 * test/test-simple.c (main): use CORBA_ORB_perform_work
669 instead of an unnecessary linc_ call.
671 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
673 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
674 Add SPI_STATE_INDETERMINATE.
676 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
679 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
681 * libspi/stateset.c (init_state_type_tables): Add support for
684 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
686 * configure: Update versions of atk and gail required.
687 This fixes bug #113268.
689 2003-05-02 Bill Haneman <bill.haneman@sun.com>
691 * configure.in: Revved micro version to 1.3.1 (because of build fix).
693 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
695 * libspi/Makefile.am:
696 Ensure headers are generated before being used by c sources.
698 2003-05-01 Bill Haneman <bill.haneman@sun.com>
701 Simplified lt versioning rules.
702 Incremented version to 1.3.0, to indicate that we're on the
705 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
707 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
708 Add MKDB_OPTIONS=--outtput-format=xml
710 * docs/reference/cspi/at-spi-cspi-docs.sgml
711 docs/reference/idl/at-spi-idl-docs.sgml:
712 Convert to Docbook XML.
714 This fixes bug #111793.
716 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
718 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
719 AcccessibleKeyEventType, AccessibleKeyMaskType.
721 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
723 * cspi/state-types.h: Add documentation for AccessibleState.
725 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
726 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
727 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
728 AccessibleComponentLayer.
730 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
733 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
735 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
736 Accessible. Add description of AccessibleEvent,
737 AccessibleEventListenerCB.
739 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
742 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
743 documentation. Add description of AccessibleKeystrokeListenerCB,
744 AccessibleKeyEventMask, AccessibleModifierMaskType,
745 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
746 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
748 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
751 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
754 This fixes bug #104730.
756 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
758 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
759 Set is_text field of Accessibility_DeviceEvent data structure.
761 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
762 is-text field of AccessibleDeviceEvent data structure.
764 This addresses part of bug #108666.
766 * registryd/devcieeventcontroller.c: Unset debug option.
768 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
771 (cpi_initial_relation_type_table): New function which initializes
772 mapping between Accessibility_RelationType and AccessibleRelationType.
773 (cspi_relation_type_from_spi_relation_type): New function which
774 translates an Accessibility_RelationType into an AccessibleRelationType.
775 (AccessibleRelation_getRelationType): Use
776 cpi_relation_type_get_spi_relation_type to return correct value.
777 (spi_state_to_corba): Return correct type for default case.
779 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
780 Use Accessibility_EventType instead of Accessibility_KeyEventType.
782 * cspi/cspi-bonobo-listener.c:
783 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
786 * libspi/accessible.c, libspi/action.c, libspi/application.c,
787 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
788 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
789 libspi/image.c, libspi/listener.c, libspi/selection.c,
790 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
791 registryd/desktop.c, registryd/registry.c:
792 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
794 * libspi/eventlistener.c
795 Remove semicolon after BONOBO_TYPE_FUNC.
798 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
799 (spi_init_relation_type_table): Initialize using correct type.
801 * registryd/desktop.c:
802 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
803 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
804 of Accessibility_KeyEventType.
806 * test/key-listener-test.c (report_tab_key_event): Use fprintf
809 * tests/simple-at.c, tests/screen-review-test.c:
810 Add include for <strings.h>.
812 * tests.stress-test.c:
813 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
815 These changes fix compiler warnings when using FORTE compiler on
816 Solaris; fixes bug #107479.
819 2003-04-10 Bill Haneman <bill.haneman@sun.com>
822 * configure.in: revved to 1.1.10
825 (SPI_KEYMASK_NUMLOCK): Added.
827 * registryd/deviceeventcontroller.c:
828 (spi_key_event_matches_listener): AND with a smaller
829 bitmask (as we should).
830 (spi_dec_translate_mask):
831 New method, sets the virtual NumLock modifier bit
832 if numlock is on. Eventually it can handle other virtual
833 modifier bits if needed, or other marshalling from
834 at-spi modifier masks to platform (X) masks.
835 (spi_dec_key_listener_new):
836 Call spi_dec_translate_mask to set up virtual mod bits
837 in the 'mask' field when creating a new listener struct.
838 (spi_dec_emit_modifier_event):
839 Set the virtual (i.e. NumLock) bits before emitting event.
840 (spi_controller_register_with_devices):
841 Query for the NumLock modifier 'physical' bit if Xkb is
842 present, for use in above methods.
846 2003-04-10 Bill Haneman <bill.haneman@sun.com>
848 * registryd/deviceeventcontroller.c:
849 (spi_keystroke_from_x_key_event):
850 Instead of checking to see if the keysym is
851 printable, check the string from XLookupString
852 if available, get the first unicode character from it,
853 and call g_unichar_isprint to determine whether the
854 is_text flag should be TRUE or FALSE.
858 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
860 * atk-bridge/bridge.c: Add support for extended events
861 * cspi/spi_event.c: Add documentation and implementation for
863 * tests/event-listener-test.c: Add tests for extended events.
865 This fixes bugs #100424 and #100426.
867 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
869 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
870 of LT_CURRENT. This fixes bug #89350.
872 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
874 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
875 number of signal parameter values before accessing them. This fixes
878 2003-04-01 Bill Haneman <bill.haneman@sun.com>
880 * configure.in: Fixed duplicate inclusion of -lspi.
881 * branched for gnome-2-2/HEAD.
882 [created tag "gnome-2-2"]
884 2003-03-07 Bill Haneman <bill.haneman@sun.com>
886 * configure.in: 1.1.9 release.
889 2003-03-07 Bill Haneman <bill.haneman@sun.com>
891 [needed by GOK, to fix bugs 107985 and 107988]
892 * registryd/deviceeventcontroller.c:
893 (spi_dec_clear_unlatch_pending):
894 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
895 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
896 (spi_dec_init_mouse_listener):Emit warning if mouse button
898 (spi_device_event_controller_forward_mouse_event):
899 Removed unnecessary parens from a conditional.
900 (global_filter_fn):Added TODO comment.
901 (impl_generate_keyboard_event):
902 Cancel a pending relatch if a 'delatching' key was
905 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
907 * atk-bridge/bridge.c:
908 Change atk_signal_child_changed to atk_signal_children_changed.
909 Reorganize code in spi_atk_bridge_signal_listener().
911 * test/event-listener-test.c:
912 Add children_changed_listener and report_children_changed_event()
913 to test AccessibleChildEvent_getChildAccessible.
915 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
917 * cspi/spi_event.c (cspi_internal_event_get_text): Change
918 g_strdup to CORBA_String_dup (bug #105291)
920 * test/event-listener-test.c (report_text_event): Add call to
923 2003-02-28 Bill Haneman <bill.haneman@sun.com>
925 * registryd/deviceeventcontroller.c:
926 (spi_keystroke_from_x_key_event):
927 Fix string and keysym return codes to match modifier state.
930 2003-02-28 Bill Haneman <bill.haneman@sun.com>
932 * registryd/deviceeventcontroller.c:
933 (spi_keystroke_from_x_key_event):
934 Fix segv due to improper use of isprint(c). [bug #107254]
936 2003-02-24 Bill Haneman <bill.haneman@sun.com>
939 (get_accessible_text_boundary_type):
940 Move default return value to (new) default case in switch.
941 (get_accessible_text_clip_type):
942 Move default return value to (new) default case in switch.
944 * libspi/application.c:
945 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
946 Remove unused methods.
947 (impl_accessibility_application_register_object_event_listener):
948 Remove unused methods.
951 Added #include of <math.h>.
953 * registryd/deviceeventcontroller.c:
954 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
955 we don't currently use this method.
956 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
958 (impl_generate_key_event):
959 Remove unused variables.
960 (impl_generate_mouse_event):
961 Initialize button to zero, just in case we get an invalid
962 input. Added support for mouse buttons 4 and 5.
963 (spi_device_event_controller_new):
964 Removed unused variable declaration for 'private'.
966 Added #include of <gdk/gdk.h>
968 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
970 * configure.in: Update to work when X is not installed in expected
971 location. Fixes bug #105836.
973 * atk-bridge/bridge.c
974 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
976 (spi_atk_register_event_listener): Add signal listener for
978 (spi_atk_bridge_signal_listener): Event event when link-selected
979 signal is emitted. (bug #104622)
981 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
982 on returned string. (bug #105291)
984 * test/event-listener-test.c: Add test for link-selected.
986 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
988 * atk-bridge/Makefile.am: Correct typo in previous commit.
990 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
992 * atk-bridge/Makefile.am: Allow for build directory to be different
993 from source directory
995 * registryd/Makefile.am: Allow for build directory to be different
996 from source directory
1000 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1003 Fixed dependencies for libcspi so that libspi gets pulled in
1004 properly. Fixes 104741.
1008 Clean up inline docs a little.
1010 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1012 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1013 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1014 the AtkObject within an SpiDesktop.
1015 This addresses bug #101524.
1017 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1018 Remove call to gdk_init().
1020 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1021 so that Display is set when SpiDesktop is created.
1023 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1025 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1026 This fixes bug #102830.
1028 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1030 * test/test-simple.c: Update to take account of fact that GailButton
1031 now implements AtkText.
1032 (create_text_window): Set name on AtkObject for GtkEntry.
1033 (validate_accessible): Check accessible name before calling test_text().
1035 * libspi/Makefile.am: Fix problem with building outside of source
1036 directory. Bug #98120.
1038 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1039 typo in documentation comments. Bug #94275.
1041 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1043 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1045 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1048 Add includes to avoid compiler warnings on Solaris.
1049 (impl_getRangeExtents): Bug fix.
1051 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1053 Fix for 100944, [API addition approved by Gman and murrayc].
1060 * idl/Accessibility_Text.idl:
1061 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1062 (Text::getRangeExtents): New method for efficient
1063 bounds query of a text range.
1064 (Text::getBoundedRanges): New method for efficient
1065 clipping of text to bounding boxes.
1066 (unImplemented7, unImplemented8):
1067 Removed these padding methods to preserve bincompat.
1070 (impl_getRangeExtents): implementation of new IDL.
1071 (impl_getBoundedRanges): implementation of new IDL.
1072 (SpiTextRect): Internal use struct.
1073 (_spi_text_rect_union): internal method, calculates union of two
1074 SpiTextRect bounding rects.
1075 (_spi_text_range_seq_from_gslist): internal method, allows us
1076 to build our sequence efficiently as a gslist then convert it
1078 (_spi_bounds_contain): internal method, determines whether
1079 a text character is "in" or "out" of a clip rect according to
1080 values of TEXT_CLIP_TYPE.
1081 (spi_text_class_init): Initialize the new methods in the epv.
1084 (AccessibleTextClipType): New enum used by screen review api.
1085 (AccessibleTextRange): New struct used by screen review api.
1086 (AccessibleText_getRangeExtents):
1087 cspi binding for Accessibility_Text_getRangeExtents.
1088 (AccessibleText_getBoundedRanges):
1089 cspi binding for Accessibility_Text_getBoundedRanges.
1090 (AccessibleTextRange_freeRanges): convenience method.
1093 (AccessibleText_getRangeExtents):
1094 cspi binding for Accessibility_Text_getRangeExtents.
1095 (AccessibleText_getBoundedRanges):
1096 cspi binding for Accessibility_Text_getBoundedRanges.
1097 (AccessibleTextRange_freeRanges): convenience method.
1098 (get_accessible_text_clip_type): internal conversion method.
1099 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1101 * registryd/deviceeventcontroller.c:
1102 (spi_dec_mouse_check):
1103 Improved behavior for mouse:abs events
1104 [same granularity as mouse:rel events, and no
1105 events when mouse is idle].
1107 2002-12-16 Michael Meeks <michael@ximian.com>
1109 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1111 * libspi/stateset.c (state_spi_to_atk): split out
1112 ( fix several remote array bounds nasties )
1113 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1114 (impl_remove): make safe from array bounds issues.
1115 (spi_atk_state_from_spi_state): impl.
1117 * libspi/stateset.h (spi_state_set_cache_is_empty):
1118 add a set of wrapper defines to get layering right.
1120 * cspi/spi_accessible.c: update state set stuff to
1123 2002-12-14 Michael Meeks <michael@ximian.com>
1125 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1126 to avoid 2 roundtrips to the registry per key event
1127 (spi_atk_bridge_key_listener): upd.
1128 (deregister_application): release the dec.
1130 * registryd/registry.c (notify_listeners_cb):
1131 bin lots of re-enterant complexity - we no longer
1132 do a round-trip bonobo ref here, ensure that a single
1133 listener's exception failure won't poison all other
1135 (impl_registry_notify_event): bin obvious memory leak.
1137 2002-12-13 Michael Meeks <michael@ximian.com>
1139 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1140 init the ev so the error is meaningful.
1141 (spi_atk_bridge_key_listener): ditto.
1143 * cspi/spi_main.c (cspi_ev): init the ev so we start
1144 with a clean slate, otherwise the first exception
1145 kills us completely.
1147 * cspi/spi_text.c (get_accessible_text_boundary_type):
1148 add a fallthrough for no warnings.
1150 * cspi/spi_registry.c: prune unused warnings.
1152 * cspi/spi_main.c (cspi_object_take): fix
1153 mind-blowing brokenness ( by watching the compile
1156 * cspi/spi_accessible.c (Accessible_getStateSet):
1157 re-impl. to use an AtkStateSet.
1158 (spi_state_type_from_accessible_state),
1159 (init_state_table): bin these.
1161 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1163 (atk_state_set_from_accessibility_state_set): here.
1165 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1166 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1167 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1168 (AccessibleStateSet_add, AccessibleStateSet_remove),
1169 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1170 (AccessibleStateSet_isEmpty): re-write to use a local
1173 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1175 * configure.in: Revved to 1.1.7 (new keymask vals).
1177 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1179 * libspi/keymasks.h:
1180 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1182 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1185 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1186 to compare two CORBA_TypeCodes.
1187 (cspi_internal_event_add): Silence warning from FORTE compiler.
1189 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1190 avoid implicit declaration of functions.
1192 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1194 * atk-bridge/bridge.c:
1195 (spi_atk_bridge_init_event_type_consts): Store signal id for
1196 active-descendant-changed signal.
1197 (spi_atk_register_event_listeners): Add signal listener for
1198 active-descendant-changed signal,
1199 (spi_atk_bridge_signal_listener): Move code in function
1200 spi_atk-signal_emit_event() into this function.
1201 Add support for active-descendant-changed
1202 Update support for child-changed signal.
1203 (spi_bridge_window_event_listener): Silence warning.
1205 * libspi/spi_private.[ch]:
1206 (spi_init_any_object): Change second parameter from CORBA_Object to
1208 Omit call to CORBA_Object_duplicate().
1209 Set CORBA_any's _value to CORBA_Object*.
1211 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1217 (AccessibleEvent_ref, AccessibleEvent_unref):
1218 New methods, for persisting an event outside the emission context.
1219 Must be used if the new accessor methods are to be called
1220 outside of the event listener's callback.
1222 * cspi/bonobo/cspi-bonobo.c:
1223 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1224 as second parameter instead of NULL, so we can call
1225 cspi_check_ev afterwards.
1228 (cspi_object_take): New internal method,
1229 converts a CORBA_Object reference to a hard ref on
1230 an Accessible if possible, returning NULL if the object
1231 reference is invalid or an Accessible * otherwise.
1234 (AccessibleEvent_ref):
1235 Increment the event's internal private refcount, and
1236 add the event's internal struct to an internal cache
1237 if it's not already there.
1238 (AccessibleEvent_unref):
1239 Decrement the event's refcount and remove it from
1240 the cspi event cache if refcount==0.
1241 (cspi_event_compare): New private method.
1242 Compares two event structs via their ids. Used
1244 (cspi_internal_event_lookup): New private method.
1245 (cspi_internal_event_check): New private method,
1246 a 0-order sanity check for events to make sure their
1247 private data is intact.
1248 (cspi_internal_event_add, cspi_internal_event_remove):
1249 New private methods for managiing the event cache.
1251 * cspi/bonobo/cspi-bonobo-listener.c:
1253 Initialize the new private data elements (id, magic, ref_count).
1255 * atk-bridge/bridge.c:
1256 (spi_atk_bridge_signal_listener):
1257 Fixed bug #100530, passing wrong params to emission func.
1259 * registryd/deviceeventcontroller.c:
1260 (spi_dec_button_update_and_emit):
1261 Fixed type in mask bit operations; fix for #99799.
1263 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1265 Removed some of the more dangerous workarounds from
1266 previous commit; they are only needed by GOK, which
1267 in reality should be using another method to accomplish
1268 the goals. So on reconsideration some of the workarounds
1269 need to be reverted:
1271 * registryd/deviceeventcontroller.c:
1272 (spi_keycodes_contain, spi_dec_init_keycode_list):
1273 Removed these methods, used only by a nasty hack to try
1274 and detect whether a key synthesis should be allowed
1275 to reset the XKB latch state or not. This code was only
1276 required to work around an interaction between GOK,
1277 button events, and XKB.
1278 (impl_generate_key_event):
1279 Removed hack at end of key generation that tried to
1280 "do the right thing" if XKB latch keys were generated
1281 in the midst of button press/release pairs.
1284 Added a check for HAVE_XINPUT. Not normally used yet.
1286 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1288 Workarounds and fixes for mouse event/XKB interaction.
1290 * registryd/deviceeventcontroller.c:
1291 (spi_keycodes_contain, spi_dec_init_keycode_list):
1292 New internal methods.
1293 (spi_dec_set_unlatch_pending):
1294 Split the method that tells XKB to expect an
1295 unlatch (and revert it) out of the rest of the
1296 event handling code. This method is called by the
1297 two mouse event handlers (the poll and the filter).
1298 (spi_dec_update_and_emit, spi_dec_mouse_check):
1299 New methods split from spi_dec_poll_mouse_moved.
1300 The second one is now called from inside the filterFn
1301 when an XKB delatch event is received, to determine
1302 whether to revert the delatch or not.
1303 (spi_poll_mouse_moved): Refactor; also we can now
1304 properly handle the case where multiple button states
1305 have changed between polling cycles and we didn't get
1306 notified due to another client's grab.
1308 Synchronize the server while handling an XKB notification.
1309 Ugly, but apparently necessary to avoid nasty races.
1310 Check the mouse state on receipt of an XKB latch change,
1311 to decide whether to revert the latch or not. (Latches are
1312 reverted if there is an immediately preceding mouse button
1313 event that a client has consumed, in which case we don't want
1314 the user to see the side-effect of the event).
1315 (spi_device_event_controller_forward_mouse_event):
1316 Check for modifier events and fire before resetting mouse_mask_state,
1317 prevents losing modifier events.
1319 (impl_generate_keyboard_event):
1320 If we've just generated a keyboard event for a non-shift key,
1321 we don't want to revert the pending XKB latch.
1322 Otherwise, check the modifier state (via a call to
1323 spi_dev_mouse_check) and set the relatch mask to
1324 that state before returning.
1326 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1329 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1332 * atk-bridge/bridge.c:
1333 (spi_atk_register_event_listeners):
1334 Don't re-register for ATK events if the registry has died
1335 and the app needs to re-register; the ATK listeners are in
1336 process and doing so will cause duplicate emission.
1338 * registryd/deviceeventcontroller.c:
1339 (spi_poll_mouse_moved):
1340 Reformat the source, detect and emit multiple button-change
1341 events (i.e. if multiple buttons have changed between poll
1343 Add code to detect mouse-down events even when the pointer
1344 is grabbed; workaround for GOK bug 98420.
1345 (spi_controller_register_with_devices):
1346 Call XTestGrabControl with 'impervious' flag set to True,
1347 allows us to synthesize events and query the pointer even during
1348 an active grab by another client.
1349 (spi_device_event_controller_forward_mouse_event):
1350 Set the mouse_mask_state to the mouse_button_state from
1351 the intercepted event, to synchronize the grab listener with
1354 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1356 * cspi/spi_accessible.c:
1357 (AccessibleRole_getName):
1358 Added necessary strings for making this (deprecated)
1359 method work with the new role types.
1360 (init_role_table, role_table):
1361 Added definition of SPI_ROLE_APPLICATION.
1363 * libspi/spi-roletypes.h:
1364 Added SPI_ROLE_APPLICATION.
1366 * idl/Accessibility_Role.idl:
1367 Added ROLE_APPLICATION.
1369 * docs/reference/cspi/at-spi-cspi-decl.txt:
1370 Added SPI_ROLE_APPLICATION to docs.
1372 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1374 * cspi/spi_accessible.c
1375 (cspi_init_role_table): Do not write beyond end of role_table.
1376 (Accessible_getRole): Use correct type for value returned by
1377 Accessibility_Accessible_getRole().
1379 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1380 beyond end of role_table. (This fixes bug #98269)
1382 * libspi/application.c: Add include file spi-private.h for
1383 definition of spi_init_any_nil.
1385 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1389 * libspi/spi-private.h:
1390 Added DGB() macro, and extern int _dbg declaration.
1392 * registryd/registry.c:
1393 (definitions) storage for _dbg.
1394 (spi_registry_init):
1395 Get environment variable "AT_SPI_DEBUG".
1396 (spi_registry_set_debug):
1397 New method, to initialize _dbg value.
1398 (spi_listener_struct_new, spi_registry_object_finalize):
1399 (notify_listeners_cb):
1400 Changed fprintfs to use DBG and g_warning().
1402 * registryd/deviceeventcontroller.c:
1403 (_deregister_keygrab, spi_controller_register_device_listener):
1404 Changed debug/warning messages to use DBG macro.
1406 * libspi/listener.c:
1407 (impl_notify_event):
1408 Changed warning messages to use DBG macro and g_warning().
1410 * atk-bridge/bridge.c:
1411 (atk_bridge_init, spi_atk_bridge_get_registry):
1412 (spi_atk_bridge_exit_func):
1413 (spi_atk_bridge_property_event_listener):
1414 Changed status, warning, and error messages to use
1415 g_warning, g_message, and DBG macros.
1418 Read the state of the AT_SPI_DEBUG environment variable
1419 and set a local '_dbg' accordingly.
1421 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1423 FIXES for 98836, 98842, other bugs.
1426 Revved to 1.1.4, interface-age=4, binary-age=4.
1428 * registryd/deviceeventcontroller.c:
1430 Fixed crasher bug in last_mouse_pos initialization.
1432 * registryd/registry.c:
1433 (desktop_add_application, desktop_remove_application):
1434 Added (and then commented out) some support for
1435 object context marshalling. [TODO]
1437 * atk-bridge/bridge.c:
1438 (spi_atk_bridge_event_context_create):
1439 Commented out object context creation until it can
1440 be properly tested and debugged.
1442 * registryd/registry.c:
1443 (impl_registry_notify_event):
1444 Fixed crasher bug, we were calling
1445 spi_re_entrant_list_foreach () with an empty list.
1447 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1449 * idl/Accessibility_Action.idl:
1450 * idl/Accessibility_Component.idl:
1451 * idl/Accessibility_Desktop.idl:
1452 * idl/Accessibility_Event.idl:
1453 * idl/Accessibility_Hyperlink.idl:
1454 * idl/Accessibility_Image.idl:
1455 * idl/Accessibility_Relation.idl:
1456 * idl/Accessibility_Selection.idl:
1457 * idl/Accessibility_State.idl:
1458 * idl/Accessibility_Value.idl:
1459 Updated unimplemented slot count to minimum of
1460 four for all interfaces, for ABI freeze.
1462 * idl/Accessibility_EditableText.idl:
1463 * idl/Accessibility_Text.idl:
1464 Updated unimplemented slot count to six
1467 * idl/Accessibility_Registry.idl:
1468 Updated unimplemented slot count to six
1469 (also for DeviceEventController),
1472 * idl/Accessibility_Table.idl:
1473 Updated unimplemented slot count to eight,
1476 * idl/Accessibility_Event.idl:
1477 Added CORBA_any "any_data" member to Event struct.
1479 * idl/Accessibility_Event.idl:
1480 Added CORBA_any "any_data" member to Event struct.
1482 * atk-bridge/bridge.c:
1484 atk_signal_text_changed, atk_signal_child_changed,
1485 signal ids queried from gtype system.
1486 (AtkBridgeEventContextType): New enum.
1487 (AtkBridgeEventContextData): New struct.
1488 (AtkBridgeEventContext): New struct.
1489 (atk_bridge_init_event_type_consts):
1490 New method, initializes type contants for comparison
1491 prior to emit_eventv.
1492 (atk_bridge_event_context_init): New method,
1493 initializes a CORBA_any from an AtkBridgeEventContext.
1494 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1495 initialize the event.any_data struct.
1496 (spi_atk_bridge_event_context_create): New method,
1497 creates an AtkBridgeEventContext from signal/event info.
1498 (spi_atk_bridge_event_context_free): New method.
1499 (spi_atk_emit_eventv): Changed to take an
1500 AtkBridgeEventContext parameter. We now initialize
1501 the event.any_data member prior to notifying the
1502 Registry, via the AtkBridgeEventContext.
1503 (spi_atk_bridge_property_event_listener):
1504 (spi_atk_bridge_state_event_listener):
1505 Match emit_eventv signature.
1506 (spi_atk_bridge_object_event_listener):
1507 Match emit_eventv signature, and create an
1508 event context from the event details.
1509 Free the event context afterwards.
1510 (spi_atk_bridge_window_event_listener):
1511 Create an event context, pass it to the
1515 (AccessibleEvent_getContextString):
1516 (AccessibleEvent_getContextObject):
1517 New methods, allow query of AccessibleEvent objects
1518 for more context details (via the "any_data" member
1519 of the Event struct, above).
1522 Definitions for AccessibleEvent_getContextString
1523 and AccessibleEvent_getContextObject.
1525 * cspi/spi_listener.h:
1526 (InternalEvent): New struct.
1529 (AccessibleEvent_getContextString):
1530 (AccessibleEvent_getContextObject):
1531 Implementations of new methods, for obtaining
1532 additional context information from some event types.
1534 * cspi/spi_registry.c:
1535 (SPI_registerGlobalEventListener):
1536 Added mention of active-descendant-changed event in docs.
1538 * cspi/cspi-bonobo-listener.c:
1540 Marshal the any into the AccessibleEvent via
1543 * libspi/spi-private.h:
1544 #include <orbit/orbit.h>
1546 (spi_init_any_string):
1547 (spi_init_any_object):
1548 New convenience function declarations.
1552 (spi_init_any_string):
1553 (spi_init_any_object):
1554 New convenience function implementations.
1556 * registryd/deviceeventcontroller.c:
1557 (spi_poll_dec_mouse_moved):
1558 (spi_device_event_controller_forward_mous_event):
1559 Initialize any_data member of event.
1560 (spi_deregister_controller_device_listener):
1561 Fix incorrect param pass which was preventing deregistration.
1563 * registryd/registry.c:
1564 (desktop_add_application):
1565 (desktop_remove_application):
1566 Add object data to event's any_data before dispatch.
1568 Fix for error messages from GAIL.
1570 * test/event-listener-test.c:
1571 Test new ContextString and "any_data" API:
1572 (report_text_event): New method query and output context string.
1573 (main): register a new text listener with report_text_event
1576 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1578 Fixes for bugs 98127 and 97914.
1579 * cspi/spi-roletypes.h:
1580 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1582 * cspi/spi-statetypes.h:
1583 Added SPI_STATE_MANAGES_DESCENDANTS
1585 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1586 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1587 * cspi/spi_accessible.c:
1588 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1589 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1590 Accessibility_STATE_MANAGES_DESCENDANTS
1591 * libspi/accessible.c:
1592 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1593 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1594 As requested by Bill, I also cleaned up the alignment.
1595 * libspi/relation.c:
1596 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1597 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1598 * libspi/stateset.c:
1599 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1600 Accessibility_STATE_MANAGES_DESCENDANTS
1601 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1602 Document changes reflecting modifications to roles.
1603 * docs/reference/cspi/tmpl/spi_relation.sgml:
1604 Document changes reflecting modifications to relations.
1605 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1606 Document changes reflecting modifications to states.
1608 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1611 Revved to 1.1.3, interface-age=3, binary-age=3.
1612 Added REBUILD macro.
1615 Removed accessx-gui from the tests, since we have a nice
1616 keyboard accessibility capplet now :-)
1618 * test/keysynth-demo.c:
1619 (increment_scan): removed do-nothing default: case,
1622 * test/visual-bell.c:
1623 (main) : removed do-nothing default: case,
1626 * cspi/spi_action.c:
1627 (AccessibleAction_getKeyBinding_):
1628 Documented keybinding string format.
1632 (AccessibleText_getAttributes):
1633 Documented the text attribute string format.
1634 It's changed to use semicolon delimiters also,
1635 to prevent clashes with CSS attributes, but the old
1636 trick of looking for ", " strings will still work
1637 (as unreliably as ever). Fix for bug related to 97916.
1640 Include <cspi/bonobo/cspi-bonobo-listener.h>
1641 Fixes build warning.
1642 (SPI_freeAccessibleKeySet):
1643 (AccessibleKeystrokeListener_addCallback):
1644 (AccessibleKeystrokeListener_removeCallback):
1645 Modify to use AccessibleDeviceListener API internally,
1646 instead of AccessibleKeystrokeListener.
1648 * idl/Accessibility_Event.idl:
1649 Added two more empty slots to EventListener (for a total of four).
1651 * idl/Accessibility_Accessible.idl:
1652 Added four empty slots to Accessible interface.
1654 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1656 * idl/Accessibility_Registry.idl:
1657 (KeyEventType, EventType):
1658 Marked KeyEventType as deprecated; it duplicates
1659 functionality of EventType, which has been extended to
1660 include Mouse-button events.
1661 (KeyEventTypeSeq): defined in terms of EventType.
1662 (registerDeviceEventListener, deregisterDeviceEventListener):
1663 New methods, for managing listeners to device events,
1664 which potentially may consume them.
1667 Added definition for AccessibleDeviceListener.
1669 * cspi/spi-listener.h:
1670 (enum AccessibleDeviceEventType):
1671 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1672 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1673 for backwards compat.
1674 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1675 and typedef'd AccessibleKeystroke to it for back-compat.
1676 (AccessibleDeviceListenerCB):
1677 New function prototype typedef.
1680 (AccessibleDeviceEventMask): New typedef.
1681 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1682 (AccessibleKeyMaskType):
1683 Set equivalent to AccessibleModifierMaskType for back-compat.
1684 (SPI_createAccessibleKeystrokeListener):
1685 (AccessibleKeystrokeListener_unref):
1686 Deprecated in favor of equivalent (better-named) new API below..
1687 keystroke listeners are like all device listeners.
1688 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1689 New API names for old features :-).
1690 (AccessibleDeviceListener_addCallback):
1691 (AccessibleDeviceListener_removeCallback):
1692 (SPI_registerDeviceEventListener):
1693 (SPI_deregisterDeviceEventListener):
1697 (SPI_createAccessibleKeystrokeListener):
1698 Use new preferred API, cspi_device_listener_new() and
1699 cspi_device_listener_add_cb().
1700 (AccessibleKeystrokeListener_removeCallback):
1701 Use new preferred API, cspi_device_listener_remove_cb().
1702 (AccessibleKeystrokeListener_unref):
1703 Use new preferred API, cspi_device_listener_unref().
1704 (SPI_createAccessibleDeviceListener):
1705 (AccessibleDeviceListener_addCallback):
1706 (AccessibleDeviceListener_removeCallback):
1707 Implementation of new API.
1709 * cspi/spi_registry.c:
1710 (SPI_registerDeviceEventListener):
1711 (SPI_deregisterDeviceEventListener):
1712 Implementation of new API. Fixed memory leak and removed need to
1713 allocate EventTypeSeq (thanks Michael for catching this).
1714 Squashed a wayward CORBA_exception_free that shouldn't get called.
1716 * cspi/bonobo/cspi-bonobo-listener.c:
1718 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1719 (cspi_key_event): renamed to cspi_device_event().
1720 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1721 Extended to handle mouse button events as well as key events.
1722 (CSpiKeystrokeListener):
1723 Class superceded by CSpiDeviceListener.
1724 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1725 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1727 * cspi/bonobo/cspi-bonobo-listener.h:
1728 (CSpiKeystrokeListener):
1729 Class superceded by CSpiDeviceListener.
1730 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1731 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1733 * libspi/Makefile.am:
1734 Replaced keystrokelistener.h and keystrokelistener.c
1735 with devicelistener.h and devicelistener.c; keystrokelisener.h
1736 stub retained for back-compat.
1738 * libspi/keystrokelistener.c:
1742 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1744 * registryd/deviceeventcontroller.c:
1745 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1746 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1747 (DEControllerPrivateData): Added xkb settings data.
1748 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1749 button release events (which can't be captured via XGrabButton).
1750 Don't dispatch via the 'normal' event mechanism if the device event was
1752 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1753 Handle the typeseq data in its new location (see above).
1754 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1755 New methods, for "generic" device listeners.
1756 (spi_controller_register_device_listener):
1757 Now handle mouse event listeners as well as key listeners.
1758 (spi_controller_notify_mouselisteners):
1759 New internal method.
1760 (spi_device_event_controller_forward_mouse_event):
1761 Now we notify mouse device listeners as well as generating the
1762 non-consumable "mouse:" events.
1764 We must check and restore the XKB
1765 modifier map if we consume the event, since the act of triggering
1766 a mouse event will normally reset the XKB latch. This is required for
1768 (spi_controller_register_with_devices):
1769 Load the XKB settings when registering, and register for XKB
1770 state notify events.
1771 (spi_key_eventtype_seq_contains_event):
1772 Renamed spi_eventtype_seq_contains_event, since it's used
1773 internally for all device event types now.
1774 (spi_key_event_matches_listener):
1775 Uses spi_eventtype_seq_contains_event now.
1776 (spi_device_event_controller_object_finalize):
1777 Free the private data and the XkbKeyboard struct.
1778 (impl_register_device_listener, impl_deregister_device_listener):
1779 Implementation of new IDL.
1780 (spi_deregister_controller_device_listener):
1781 New internal method.
1782 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1783 More efficient implementation, we don't have to create a new
1784 XkbControls structure every time we query.
1785 (spi_device_event_controller_class_init):
1786 Initialize the epv entries for the new IDL. Assign the
1787 "spi-dec-private" quark.
1788 (spi_device_event_controller_init):
1789 Initialize the private data.
1790 (spi_device_event_controller_forward_key_event):
1791 Removed a bogus CORBA_exception_free() call.
1793 * registryd/deviceeventcontroller.h:
1794 Replaced inclusion of keystrokelistener.h with
1797 * test/event-listener-test.c:
1798 (report_mouse_event):
1801 Added mouse-event device listener.
1803 * test/test-simple.c:
1804 (create_test_window):
1805 Fixed regression (we were instantiating a GtkRange,
1806 which is now an abstract class). Also fixed to match
1807 existing AtkRole names, this seems to have changed in ATK
1808 awhile ago; too late now I think, and the new
1809 mechanism is at least elegant and consistent with the
1810 glib enum "nick" APIs.
1812 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1814 * idl/Accessibility_Relation.idl:
1815 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1816 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1817 * idl/Accessibility_Role.idl:
1818 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1819 * idl/Accessibility_State.idl:
1820 add STATE_MANAGES_DESCENDANTS
1821 * test/event-listener-test.c:
1822 Added a listener for active-descendant events.
1824 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1826 * atk-bridge/bridge.c
1827 (atk_bridge_init): If application is Bonobo component wait until top
1828 level is added before registering
1829 (spi_atk_bridge_do_registration): New function which contains code,
1830 formerly in atk_bridge_init, to do application registration.
1831 (spi_atk_bridge_toplevel_added): Signal called when top level
1832 added to Bonobo component
1834 This fixes bug #83134.
1836 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1838 * registryd/deviceeventcontroller.c
1839 Fixed compilation error caused by calling gettimeofday()
1842 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1847 Added template for HAVE_XKB.
1850 Changes to check for XKB, and to set the HAVE_XKB #define if it
1853 * libspi/listener.c:
1854 ()impl_notify_event): Make failure to get event source name
1857 * registryd/deviceeventcontroller.c:
1858 (#include): include X11/XKBlib.h.
1859 (DEControllerPrivateData) : New struct.
1860 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1862 (dec_synth_keycode_press) (dec_synth_keycode_release):
1863 New methods; split the key synthesis code into these methods.
1864 They check XKB settings before determining the "time" values to
1865 pass to Xtest; this fixes bug #95828.
1866 (impl_generate_keyboard_event): Changed to use methods above,
1867 instead of callng Xtest directly.
1868 (spi_device_event_controller_init): Initialize new privae struct s
1870 (spi_device_event_controllr_object_finalize):
1871 Free the (new) private data.
1873 * registryd/deviceeventcontroller.h:
1874 Add new gpointer to end of struct data.
1876 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1879 Incremented revision to 1.1.2, SONAME is still '.so', library
1880 extensions are ".so.0.0.2".
1882 * registryd/deviceeventcontroller.c:
1883 FIXES FOR #93592 and #95940.
1884 (statics): renamed mouse_button_state to mouse_mask_state,
1885 added key_modifier_mask.
1886 (spi_dec_poll_mouse_moved):
1887 Added key modifier checks, and emit "keyboard:modifiers"
1888 events when the key modifiers currently in use change.
1889 Also generate "mouse:abs" events periodically, even if the mouse
1890 is stationary (should we?).
1891 Alternatively we could generate "mouse:abs" events for either all
1892 mouse movements, or every 'nth' mouse movement, or at the
1893 beginning and end of every "active" mouse period.
1895 * test/event-listener-test.c:
1896 (main): Added listener for "keyboard:modifiers" events.
1898 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1900 * libspi/keymasks.h:
1901 Added key mask #defines for mouse buttons; e.g.
1902 SPI_KEYMASK_BUTTON1, etc.
1905 Incremented dependency on ATK to version 1.1.0. (This dependency
1906 is probably premature but will soon be real enough).
1908 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1910 * libspi/hyperlink.[ch]
1911 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1912 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1915 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1920 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1922 * registryd/deviceeventcontroller.c
1923 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1924 events to be ignored.
1925 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1926 keyboard_mode so that XAllowEvents() can be called.
1930 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1932 * cspi/spi-accessible.c: Correct names of roles returned by
1933 AccessibleRole_getName(). Fixes bug #95055.
1935 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1937 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1940 * registryd/registry.c
1941 (desktop_remove_application: Write diagnostic message to stderr for
1944 (impl_accessibility_registry_deregister_global_event_listener):
1945 Correct size of lists array. This addresses bug #94555).
1947 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1949 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1952 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1954 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1957 * registryd/registry.c (impl_registry_notify_event): Remove
1958 unnecessary call to parser_event_type().
1960 * docs/reference/cspi/tmpl/spi_component.sgml:
1961 Add reference to SPI_LAYER_WINDOW.
1963 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1965 * registryd/registry.c
1966 (desktop_add_application): Remove leak.
1967 (desktop_remove_application): Remove leak.
1968 (parser_event_type): Remove leak.
1970 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1972 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1973 bogus call to CORBA_string_dup(). Also removed unnecessary
1974 g_string_dup/g_free calls.
1976 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1978 * registryd/deviceeventcontroller.c:
1979 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1981 * test/event-listener-test.c:
1982 main: commented out three redundant listeners, to reduce output
1983 noise. (They still are potentially useful for testing).
1986 2002-09-13 Michael Meeks <michael@ximian.com>
1988 * Update all the copyrights to include Ximian.
1990 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1992 * cspi/spi.h: add SPI_LAYER_WINDOW.
1994 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1995 add Accessibility_LAYER_WINDOW case.
1997 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1999 * libspi/component.c: (impl_accessibility_component_get_layer):
2000 add ATK_LAYER_WINDOW case.
2002 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2004 * configure.in: incremented micro version.
2006 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2008 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2011 Clarified and reworded our commit policy.
2014 Started an API "todo" addition list for 2.2.
2017 (impl_getSelection):
2018 Free char pointer from atk_text_get_selection, which was being leaked.
2020 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2023 Small revision to author acknowledgement.
2025 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2027 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2028 If signal has detail add it to the type of the event.
2031 2002-08-12 Michael Meeks <michael@ximian.com>
2033 * test/test-simple.c (global_listener_cb): bin bogosity.
2034 (test_keylisteners): disable, still doesn't work reliably,
2035 certainly not on my system anyway.
2037 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2038 don't leak a reference on the DEC. This round-trip
2039 fetching of the DEC per keystroke sucks, it should be
2042 * cspi/spi-private.h,
2043 * cspi/cspi-lowlevel.h,
2044 * cspi/bonobo/cspi-bonobo-listener.[ch],
2045 * cspi/bonobo/cspi-bonobo.c: get the copyright
2046 notices better - there is still a large amount of
2047 work in at-spi falsely attributed solely to Sun.
2049 * cspi/spi_main.c (cspi_object_ref): kill bogus
2050 hash lookup, just increment the ref.
2051 (SPI_freeString): make explicit the fact that we
2052 handle NULL strings just fine.
2053 (report_leaked_ref): obey coding standards.
2054 (cspi_object_hash, cspi_object_equal): kill retval.
2055 (cspi_object_release): only release if not on loan.
2056 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2057 (cspi_object_borrow, cspi_object_return): impl.
2059 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2060 use cspi_object_borrow / return.
2062 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2064 * cspi/bonobo/cspi-bonobo-listener.c:
2066 Don't call cspi_oject_new() because this is creating a new Accessible
2067 every single time that an event is fired. This causes ATs like at-poke
2068 to nolonger recognise the source of the event and thus ignore it.
2069 Re-use the object from the cache, ref it and then unref it after the
2070 listeners have been called.
2072 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2074 * test/event-listener-test.c:
2075 Added command-line options to disable mouse events (m) and
2078 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2080 * configure.in: Update required versions of ATK, GTK+ and GAIL
2082 * cspi-1.0.pc.in: Add dependency for X include files
2085 * cspi/bonobo/Makefile.am:
2086 Add $(X_CFLAGS) so that X include files
2087 are picked up even if not in standard place (bug #71686)
2089 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2091 * registryd/deviceeventcontroller.c: fix for 84261
2092 (spi_dec_mouse_moved):
2093 Added test of mouse button mask, so that we can detect mouse
2094 button release. Unfortunately we can't otherwise detect mouse
2095 button release events without consuming the mouse press event,
2096 because of the way XGrabButton works. This means that our mouse
2097 release events have a latency dependent on the polling period
2098 while the mouse button is down. At least in this case we only
2099 have to poll while the button is down, and not at other times.
2100 If the button masks don't match with what the last press event
2101 reported, we report the appropriate button release event.
2102 (spi_dec_ungrab_mouse):
2103 New method (not yet called).
2104 (spi_device_event_controller_forward_mouse_event):
2105 New method, sends mouse press event from GdkFilter.
2106 (spi_dec_init_mouse_listener):
2107 Added code to call XGrabButton, redirecting mouse button events to
2108 the root window and our Gdk event loop.
2110 Added code to filter mouse button events, and reordered.
2112 * test/event-listener-test.c:
2114 Added registration for mouse events of type "mouse:button".
2116 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2118 * registryd/deviceeventcontroller.c: partial fix for 84261
2119 (spi_dec_poll_mouse_idle):
2120 New method, a timeout which checks to see if the mouse
2122 (spi_dec_poll_mouse_moving):
2123 A timeout to be called when mouse motion is underway.
2124 (spi_dec_poll_mouse_moved):
2125 A method which fires an event if the mouse has moved, and reports
2126 whether or not it did so.
2127 (spi_dec_init_mouse_listener):
2128 A method which sets up the timeouts above.
2129 (spi_device_event_controller_new):
2130 Now calls spi_dec_init_mouse_listener.
2132 * registryd/registry.c:
2133 (spi_registry_init):
2134 Now we initialize the device event controller when the registry is
2135 initialized, instead of waiting until a client has requested a key
2136 event notification; this is because we need the event controller
2137 for mouse events, but the mouse event registration API is a
2138 "registry" call and doesn't explicitly call the
2139 deviceeventcontroller.
2140 We now report mouse motion events with a 100 ms idle latency and
2141 a 20 ms granularity when motion is in progress.
2143 * test/event-listener-test.c:
2145 We now register the "detail listener" for events of type
2146 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2147 delivered only for the first mouse event received, and thereafter
2148 "mouse:abs" events are delivered.)
2150 * cspi/spi_registry.c:
2151 DOCS: Documented the above mouse event typestrings.
2153 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2155 Happy Summer Solstice...
2157 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2158 (spi_controller_notify_keylisteners):
2159 Changes to remove a listener from the listener list, freeing its
2160 open keygrabs, if a notification to that listener fails. This
2161 means that although a dead listener can continue to hold a passive
2162 keygrab, a maximum of one dispatch to such a listener can fail
2163 before the listener is removed from the list, thus the keygrab
2164 will be released on the next occurrence.
2165 As part of this fix:
2166 (spi_notify_keylisteners):
2167 Renamed to spi_controller_notify_keylisteners, as the controller
2168 instance must now be passed as an argument.
2169 The copied 'notify' GList is now a list of DEControllerKeyListener
2170 objects, since we need more than just the CORBA reference if a
2171 notify fails and we need to deregister the listener.
2172 (impl_notify_listeners_sync):
2173 (impl_notify_listeners_async):
2174 (spi_device_event_controller_forward_key_event):
2175 Modify use of notify_keylisteners in accordance with above
2177 (spi_deregister_controller_key_listener):
2178 New method introduced by refactoring, from
2179 impl_deregister_keystroke_listener.
2180 (impl_deregister_keystroke_listener):
2181 Call spi_deregister_controller_key_listener.
2182 (spi_key_listener_clone):
2183 New method to copy a key listner without doing a 'ref' on the
2184 remote object instance; used to create a notifier list.
2185 (spi_key_listener_data_free):
2186 New method, frees data without unreffing the source.
2188 (spi_key_listener_clone_free): new method.
2189 (spi_key_listener_free):
2190 refactored to call spi_key_listener_data_free.
2192 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2194 * registryd/registry.c: [fix for bug 86048]
2195 (notify_listeners_cb):
2196 Clear CORBA system exceptions which occur when notifying
2197 listeners, before returning to the source of the original event,
2198 since the event source doesn't care if the relayed notify failed.
2199 In other words, don't complain to the atk-bridge if the registry
2200 could not notify all its listeners, that's no fault of the
2201 application and thus should not appear to be an error from the
2202 application's perspective.
2204 * cspi/spi_main.c: [fix for bug 85980]
2206 Replaced use of bonobo_object_dup_ref with call to the wrapper
2207 method, csou_dup_ref (); this silences a compiler warning and
2208 provided more portability.
2210 Ping the registry before return, and restart if necessary.
2212 * cspi/bonobo/cspi-bonobo.c:
2214 New internal method.
2216 Fixed this method to return an object reference, as it should have
2219 * cspi/cspi-lowlevel.h:
2220 Added internal definition for cspi_ping() and fixed
2221 return type of cspi_dup_ref().
2224 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2226 * atk-bridge/bridge.c: [fix for bug 85305]
2227 (spi_atk_bridge_register_application):
2228 New method where the initial application registry calls have been
2229 moved; it allows an application to re-register in response to
2230 certain error conditions (such as a registry restart, see below).
2232 Moved some initialization code to the method
2233 spi_atk_bridge_get_registry, below.
2234 (spi_atk_bridge_get_registry):
2235 New, private accessor function for the Accessibility_Registry
2236 instance. If the registry has not been started before, or has
2237 died (as detected by failure of a CORBA exception), it is
2238 restarted before return, and spi_atk_bridge_register_application
2239 is called again to register with the new bridge instance.
2240 (spi_atk_emit_eventv):
2241 Set registry_died on error; use spi_atk_bridge_get_registry () to
2242 access the registry.
2244 * registryd/registry.c:
2245 (impl_accessibility_registry_register_global_event_listener):
2246 Set listener's event_type_quark to etype.minor instead of
2247 etype.major (fix for bug 84856).
2249 * test/event-listener-test.c:
2250 (report_detail_event):
2251 Change the output string so that user/tester can tell that the
2252 'detail listener' was called instead of the 'generic listener'.
2254 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2256 Fixes for bugs 84900, 84908, 84897, 84898.
2261 Revved version to 1.1.0
2262 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2263 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2265 * idl/Accessibility_Registry.idl:
2266 (EventListener::notifyEvent):
2267 Removed 'oneway' directive after extensive consulation with
2268 ORBit2 team and others. This means also that unref() of the event
2269 source can and should be done synchronously after emission, rather
2270 than remotely in the client, after servicing the notify call on
2273 NOTE: This change speeds up listener performance considerably, but
2274 introduces new latency on the application side. We may want to
2275 add an event queue to the atk-bridge.
2277 * atk-bridge/bridge.c:
2278 (spi_atk_bridge_focus_tracker):
2279 Do a local unref() on the event source after emission.
2281 * registryd/registry.c:
2282 (desktop_remove_application):
2283 Do an unref() on the event source after emission.
2284 (desktop_add_application):
2285 Do an unref() on the event source after emission.
2286 (notify_listeners_cb):
2287 When relaying an event, don't automatically add the event source
2288 to the local object cache, just CORBA_dup it instead. Likewise,
2289 if this method reenters, release the ref rather than calling
2291 (impl_registry_notify_event):
2292 No longer call remote unref() on the event source after dispatch.
2294 * libspi/eventlistener.c:
2295 (impl_accessible_event_notify_event):
2296 Removed remote unref ()
2298 * cspi/bonobo/cspi-bonobo-listener.c:
2300 We now call cspi_object_new() instead of cspi_object_add() on
2301 receipt of an event; thus we only have an implicit object ref
2302 while the cspi_event method is being executed. If we need to keep
2303 a reference to the object, the listener must call ref() on the
2304 object. Thus also we don't need to call cspi_object_unref() after
2305 invoking the listener callbacks in this method.
2309 New internal API for creating a new cspi object, without adding it
2310 to the object cache.
2312 Now uses cspi_object_new() to create the cspi object instance.
2314 Now checks to see if the object is in the internal object cache,
2315 and adds it if necessary before incrementing its refcount (note
2316 that new objects are added with a refcount of 1).
2317 (report_leaked_ref):
2318 New method which gives some information on leaked object instances
2319 if leak detection is turned on.
2321 * test/event-listener-test.c:
2322 (timing_test_event):
2323 New method, used for testing event delivery timing for special
2324 events of type "object:test". It reports elapsed time and
2325 events/sec every 500 events.
2327 Added a new listener, 'test listener', to check timing of event
2328 receipt as noted above.
2330 Added some timing output here also, reports elapsed time every 100
2333 * test/stress-test.c:
2334 Emit events of type "object:test", for use with "event-listener-test".
2336 * test/test-simple.c:
2337 (global_listener_cb):
2338 Call Accessible_ref() on the event source before calling
2339 validate_accessible, since the validation process does pointer
2340 comparisons on the event source, meaning that the event source
2341 needs to be added to the local object cache first. Any use of
2342 such pointer comparisons between Accessible objects requires that
2343 the caller hold an explicit reference to those objects.
2344 We also must therefore call Accessible_unref() when leaving this method.
2346 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2348 * registryd/deviceeventcontroller.c:
2349 (spi_controller_update_key_grabs):
2350 Fix for #84735, subsequent keygrab listeners not informed of
2351 registration failure.
2354 (spi_base_construct):
2355 Add an assertion on construct, to make sure the GObject passed in
2356 is really a GObject.
2358 Explicitly initialize object->gobj pointer to NULL;
2360 * cspi/bonobo/cspi-bonobo-listener.c:
2361 (cspi_object_add_ref):
2362 New method, can specify whether to dup-ref a bonobo object passed
2363 in if it's newly added to the object cache.
2365 Now calls cspi_object_add_ref with second param of "FALSE". This
2366 prevents us from doing a pointless dup-ref followed by
2367 release-unref for all those cases where the object is already in
2368 our object cache (fix for #85205).
2370 * atk-bridge/bridge.c:
2371 (spi_atk_bridge_idle_init):
2372 Removed this method, we don't need to initialize in an idle
2375 Changed to call spi_atk_register_event_listeners directly, not via an
2376 idle handler. (fix for #81139)
2377 (gnome_accessibility_module_shutdown):
2378 Removed conditional around deregistration of listeners, since we
2379 don't use the idle handler and thus have always registered when
2381 (spi_init_keystroke_from_atk_key_event):
2382 Changed references to Accessibility_KEY_PRESSED to
2383 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2385 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2387 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2392 * test/stress-test.c:
2395 (may have been an incomplete commit yesterday?)
2397 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2400 Added target for new stress-test.
2402 * test/stress-test.c:
2403 New test, sends 1000 focus notifies in quick succession.
2405 * test/key-listener-test.c:
2406 Now we report whether a keylistener registration
2407 request succeeded or failed.
2409 * test/event-listener-test.c:
2410 Uncommented some listeners which are now implemented.
2413 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2415 * registryd/deviceeventcontroller.c:
2416 (spi_controller_update_key_grabs):
2417 Fix for #82509, lack of failure notification when
2418 ALL_WINDOWS keygrabs fail due to XGrabKey
2419 failure: we synchronize the server when
2420 registering a passive grab, to make sure we get the
2421 error message before the call returns.
2423 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2425 * test/test-simple.c:
2427 Removed #ifdef KEY_IMPL_WORKS guards.
2428 (test_keylisteners):
2429 Removed #ifdef KEY_IMPL_WORKS guards.
2430 Fixed bug which was causing a hang waiting for a
2431 "press" event (which was already overwritten by a "release"
2432 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2434 Added code to set globals 'key_press_received' and
2435 'key_release_received'.
2438 Added section "1.1 API Proposed Additions" which
2439 lists API additions desired for at-spi-1.1 (only one so far).
2440 Updated TODO list a little.
2442 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2444 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2447 * configure.in: Revved to 1.0.0.
2449 * idl/Accessibility_Registry.idl:
2450 (registerKeystrokeListener):
2451 Added boolean return value.
2453 * registryd/registry.c:
2454 (notify_listeners_cb): Minor fix to debug output.
2456 * registryd/Accessibility_Registry.server.in.in:
2457 Revved version number in OAFIID to 1.0.
2459 * registryd/registryd.c:
2461 Use new OAFIID version.
2463 * cspi/bonobo/cspi-bonobo.c:
2465 Use new OAFIID version.
2471 * atk-bridge/bridge.c:
2473 Use new OAFIID version.
2475 * registryd/deviceeventcontroller.c:
2476 (impl_register_keystroke_listener):
2477 Added CORBA_boolean return value.
2478 (spi_controller_register_device_listener):
2479 Added gboolean return value.
2480 (spi_controller_register_global_keygrabs):
2481 Added gboolean return value.
2482 (spi_key_set_contains_key):
2483 Added implementation for many more control keys,
2484 for instance F1-F12, arrow keys, End, Home, Page_Up,
2486 [TODO: some still not implemented].
2488 * text/screen-review-test.c:
2489 (text_chunk_pad_string):
2490 New function: it provides mapping between coordinate
2491 positions of text chunks and character positions in the
2492 screen-review-line output string.
2493 (text_chunk_to_string):
2494 New function, calls text_chunk_pad_string with various
2495 pad/delimiter characters. Pushbuttons are delimited with
2496 square brackets, Frames with vertical 'pipe' lines, and
2497 other text with double quotes.
2498 (text_chunk_list_to_string):
2499 Calls new function text_chunk_to_string.
2500 (toplevel_composite):
2501 New function to composite layers CANVAS through
2502 POPUP in each toplevel (other layers are composited
2503 across toplevels, i.e. BACKGROUND and OVERLAY).
2504 (review_buffer_composite):
2505 Revise to use new methods.
2511 2002-05-31 Laszlo Peter <laca@sun.com>
2513 * configure.in: add the Xtst libdir to the runpath on Solaris,
2514 since it's not in the default library search path.
2516 2002-05-29 jacob berkman <jacob@ximian.com>
2518 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2520 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2522 * test/screen-review-test.c:
2523 (text_chunk_pad_string):
2524 Added method, which pads the string according to the
2525 text bounds of the chunk. It also takes a 3-character
2526 string as a param which indicates the characters to be
2527 used for start, padding, and end delimitation of the chunk.
2528 (text_chunk_to_string):
2529 Changed to use text_chunk_pad_string.
2531 * configure.in: Fixed bug in AC_OUTPUT that was
2532 causing path substitution in Accessibility_Registry.server
2535 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2537 * text/screen-review-test.c:
2538 (guess_string_clip):
2539 New method which attempts a best-guess at clipping
2540 text from components (like Java labels) which don't
2541 actually implement AccessibleText. This inaccurate
2542 clip is based on the assumption that the label is
2543 justified left-and-right, and monospaced.
2544 (text_chunk_get_clipped_string):
2545 We now call guess_string_clip() for text-containing
2546 components that don't implement AccessibleText.
2548 * test/screen-review-test.c:
2549 (review_buffer_get_text_chunk):
2550 We now pull "name" from labels if they do not implement
2551 AccessibleText (i.e. for Java labels).
2552 (get_screen_review_line_at):
2553 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2556 Replaceded AC_OUTPUT target
2557 registryd/Accessibility_Registry.server with
2558 registryd/Accessibility_Registry.server.in.
2560 * registryd/Accessibility_Registry.server.in:
2561 Removed (this is now a Makefile target).
2563 * registryd/Accessibility_Registry.server.in.in:
2564 Added (source for target above). We now use $(libexecdir) as
2565 prefix for the executable at-spi-registryd.
2567 * registry/Makefile.am:
2568 Now install at-spi-registryd into $(libexecdir), and build .server
2569 file with path (see above).
2571 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2573 * test/screen-review-test.c:
2574 (text_chunk_get_clipped_string):
2575 We now check to see if words fall within clip bounds
2576 before resorting to character-by-character clip bounds testing.
2578 * TODO: Added a section for "2.2 Proposed API Additions".
2580 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2582 * test/screen-review-test.c:
2584 Added a screen review benchmarking and test program to test
2587 * cspi/spi_accessible.c:
2589 Made some of the debug strings passed to cspi_check_ev a
2590 little more specific.
2592 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2594 * test/screen-review-test.c: Fix crashes in debug statements
2596 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2598 * test/screen-review-test.c: Added this file.
2600 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2602 * atk-bridge/bridge.c: changed "object:state-change" to
2603 "object:state-changed" to match docs.
2605 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2607 * atk-bridge/bridge.c: Hooked up state-change event details.
2609 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2611 * registryd/registry.c:
2612 Fixed quarking bug in event string parsing; now events with
2613 detail parameters get matched correctly to listeners.
2616 * util/idl/Magnifier.idl: remove.
2618 * util/*.[ch]: Remove.
2619 Magnification utilities and IDL are now in module gnome-mag.
2621 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2623 * registryd/deviceeventcontroller.c:
2624 Fixed bug in grab key conversion which was causing keycode grabs
2625 to be converted to AnyKey grabs.
2628 updated NEWS file to reflect recent spin-off of gnome-mag.
2630 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2632 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2633 busted AccessibleStateSet_compare. Removed redundant casts.
2635 * cspi/spi-action.c: Removed redundant casts.
2637 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2639 * cspi/spi_component.c: Fixed typos and casting error.
2641 * cspi/spi_editabletext.c: Removed redundant casts.
2643 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2645 * cspi/spi_hypertext.c: Eliminated redundant casts.
2647 * cspi/spi_image.c: Eliminated redundant casts.
2649 * cspi/spi_registry.c: Eliminated redundant casts.
2650 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2651 * cspi/spi_selection.c: Removed redundant casts.
2652 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2653 handling. Screen geometry and text offsets were being returned as 0
2654 on error which is technically valid-- changed these to return -1.
2655 Added marshaller for text boundary types to fix bug with boundary
2656 types being passed incorrectly to atk.
2658 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2661 * cspi/spi_registry.c:
2662 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2663 which was uncovered by the recent key changes.
2665 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2667 * test/event-listener-test.c:
2669 Added new test, "event-listener-test";
2670 this code does two things; it benchmarks traversal time
2671 for the accessible hierarchy for the first running accessible
2672 app, and it connects listeners for all supported event types.
2673 It is thus useful as an example event listener and for
2674 diagnostics/debugging of event generation.
2676 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2679 Removed unnecessary dependency on libutil.
2682 Revved micro version: 0.13.1
2684 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2687 Removed util/Makefile from targets.
2690 Removed util subdir from SUBDIRS (temporarily,
2691 pending removal of magnifier-only code
2695 #ifdef-ed out magnifier dependencies, since
2696 magnifier IDL, headers, and binary now live in
2697 module gnome-mag and we don't want at-spi to depend
2698 on gnome-mag. A magnifier demo which can run alongside
2699 simple-at is forthcoming in the gnome-mag module.
2701 NOTE: Split magnifier binary, IDL, and magnification
2702 activation code from at-spi into module gnome-mag.
2704 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2706 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2707 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2709 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2712 Revved to version 0.13.0
2714 * idl/Accessibility_Registry.idl:
2715 Changed definition of KeySet from sequence of longs to sequence of
2716 KeyDefinitions, and added KeyDefinition struct.
2717 Required for fix to bug 80616.
2719 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2720 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2721 to use new definition (see above).
2723 * registryd/deviceeventcontroller.c: handle_keygrab(),
2724 spi_keyset_contains_key():
2725 Changed to make use of new struct; this allows matching based on
2726 string key-name, for instance "Tab". This also allows matching of
2727 composed characters, non-alphanumeric characters in a way that
2728 doesn't involve dependencies on X keysym codes directly, etc.
2730 * test/key-listener-test.c:
2731 Added test for Alt-Tab key using "string" specification of keyset,
2732 and modified one of the tests to use a keycode-based keyset.
2733 Thus this test both tests and demonstrates the creation and use of
2734 keysets of three forms: specified via keycode array,
2735 keysym array, and string array. (The string case only contains a
2736 single string, i.e. a string array of length 1).
2739 Turned on PRINT_TREE option by default. Also fixed a
2740 string-freeing bug in the PRINT_TREE code.
2741 Added a listener to window:minimize events.
2743 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2745 * atk-bridge/bridge.c:
2746 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2747 for window:activate and window:deactiveate
2748 (atk_bridge_property_event_listener atk_bridge_signal_listener
2749 atk_bridge_window_event_listener) Tidy debug code
2751 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2753 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2754 Fixed handling for NULL return value from ATK.
2756 * libspi/action.c libspi/component.c libspi/editabletext.
2757 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2758 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2759 Removed redundant casts.
2761 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2762 Fixed off by one bug.
2764 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2765 function not present in idl)
2767 2002-05-02 jacob berkman <jacob@ximian.com>
2769 * atk-bridge/Makefile.am: make atk-bridge a real module
2771 2002-04-26 Radek Doulik <rodo@ximian.com>
2773 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2774 atk_state_types table
2776 2002-04-22 jacob berkman <jacob@ximian.com>
2779 * libspi/Makefile.am: add deps on the built files to help
2780 automake, and don't version the ORBit typelib
2782 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2784 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2785 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2786 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2787 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2788 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2789 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2790 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2791 libspi/accessible.h libspi/accessible.h libspi/base.h
2792 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2793 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2794 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2795 libspi/spi-private.h libspi/statetset.h libspi/table.h
2796 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2797 util/mag_client.h util/mag_control.c util/mag_image.c
2798 util/mag_image.h util/magnifier.c util/magnifier.h:
2799 Add missing file headers; standardize existing ones
2801 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2803 * atk-bridge/bridge.c: Added window event support.
2805 2002-04-18 Michael Meeks <michael@ximian.com>
2807 * libspi/relation.c (impl_getNTargets): impl.
2808 (impl_getTarget): impl.
2810 * libspi/Makefile.am: fix stateset install.
2812 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2815 Started putting useful info in this file.
2817 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2819 * atk-bridge/bridge.c:
2820 Propagate state-changed notifications to ATs
2822 * cspi/spi_registry.c: update docs to reflect actual behavior of
2823 state-change events.
2825 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2828 Incremented version to 0.12.1
2830 * util/mag_client.h:
2831 Add missing declaration for magnifier_exit,
2832 used by mag_control.c - Forte compiler didn't like
2833 the implicit redeclaration of the function :-(
2836 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2839 Revved version to 0.12 due to API change (see below).
2841 * cspi/spi-roletypes.h:
2842 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2843 definition from the inline docs, and added docs
2844 for SPI_ROLE_LAST_DEFINED.
2847 * cspi/spi_streamablecontent.c:
2848 Added missing seek_type parameter to
2849 (so far unused) method,
2850 AccessibleStreamableContent_seek().
2851 [ RT approval JodyG. ]
2854 Fixed docs for SPI_createAccessibleKeystrokeListener.
2856 * cspi/spi_registry.c:
2857 Fixed docs for SPI_KEYSET_ALL_KEYS.
2859 * docs/reference/cspi/at-spi-cspi-sections.txt:
2860 Added a number of missing APIs to SECTIONS.
2862 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2864 * registryd/Makefile.am:
2866 * cspi/bonobo/Makefile.am:
2867 Add $(X_LIBS) to makefiles.
2869 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2872 Revved version to 0.11.
2874 * libspi/component.c:
2875 Added implementation for grabFocus.
2877 * idl/Accessibility_Component.idl
2878 (Accessibility_Component_grabFocus):
2879 Made this method return boolean to indicate success or failure, to
2880 be consistent with cspi and the corresponding ATK method.
2882 * idl/Accessibility_Selection.idl
2883 (Accessibility_Selection_selectAll) :
2884 Made these methods return boolean to indicate success or
2885 failure, to be consistent with cspi and the corresponding ATK methods.
2887 * idl/Accessibility_EditableText.idl
2888 (Accessibility_EditableText_setTextContents,
2889 Accessibility_EditableText_insertText,
2890 Accessibility_EditableText_cutText,
2891 Accessibility_EditableText_deleteText,
2892 Accessibility_EditableText_pasteText):
2893 Made these methods return boolean to indicate
2896 * cspi/spi_editabletext.c:
2897 Made these methods return booleans.
2899 * libspi/selection.c:
2900 * libspi/component.c:
2901 * libspi/editabletext.c:
2902 Connected the boolean returns from ATK
2903 to the server-side code referenced above.
2905 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2907 * idl/Accessibility_Table.idl: Added missing methods,
2908 Accessibility_Table_addRowSelection,
2909 Accessibility_Table_addColumnSelection,
2910 Accessibility_Table_removeRowSelection,
2911 Accessibility_Table_removeColumnSelection.
2914 Added C wrappers for above IDL:
2915 AccessibleTable_addRowSelection,
2916 AccessibleTable_addColumnSelection,
2917 AccessibleTable_removeRowSelection,
2918 AccessibleTable_removeColumnSelection.
2921 Added server-side implementation code for IDL above, connecting
2922 to pre-existing ATK api.
2924 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2926 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2928 * libspi/accessible.c: Added implementation fo
2929 Accessibility_Accessible_get_state.
2931 * libspi/libspi.h: Added stateset.h to the list of includes.
2933 * libspi/stateset.c: Fixed broken implementation.
2935 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2938 Added implementation code for Accessibility_Magnifier_exit ().
2940 * util/mag_control.c:
2941 Added test code for above method; you can
2942 now kill an existing magnifier via
2943 ./mag_control q, from the util directory.
2945 * test/key-listener-test.c:
2947 Added a new test, for our key listener API.
2949 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2951 * test/app.c, test/keysynth-demo.c:
2953 Replace use of snprintf with g_snprintf.
2954 (fix for bugzilla 78249)
2956 2002-03-27 Michael Meeks <michael@ximian.com>
2960 * util/Makefile.am (INCLUDES): fix.
2961 (DONT_DIST_SOURCE): don't distribute the
2964 * libspi/Makefile.am (dist-hook): ditto.
2966 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2968 * libspi/hypertext.c:
2969 Fix warnings when yelp is used with atk-bridge
2971 2002-03-21 Michael Meeks <michael@ximian.com>
2973 * libspi/application.c (spi_application_new):
2974 use spi_accessible_construct so we use the AtkObject
2977 2002-03-19 Michael Meeks <michael@ximian.com>
2979 * registryd/registry.c (desktop_remove_application),
2980 (desktop_add_application): clean coding style.
2982 * registryd/desktop.c (spi_desktop_remove_application),
2983 (spi_desktop_add_application): kill re-enterency hazards.
2984 (spi_desktop_dispose): remove bogus redundant cast
2985 obscuring bug; fix bug too.
2986 (spi_desktop_init): make the desktop object immortal.
2988 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2991 Added a #define-guarded tree-traversal step
2992 when enumerating the apps (diagnostic tool).
2994 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2996 * idl/Accessibility_Role.idl:
2997 Added ROLE_DRAWING_AREA which seemed to be missing from the
3000 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3002 * cspi/spi-roletypes.h cspi/spi_accessible.c
3003 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3006 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3007 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3008 AT when applications are added and removed from the desktop. This
3009 reverts the previous broken implementation using the backing
3010 AtkObject for the SpiDesktop.
3012 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3014 * registryd/desktop.c: emit the "children-changed::add" and
3015 "children-changed::remove" signals on the backing ATK object for
3016 the desktop so AT can tell when applications are started and shut
3019 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3021 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3023 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3025 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3027 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3029 * cspi/state-types.h: synched with IDL and ATK
3031 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3033 * libspi/accessible.c
3034 (impl_accessibility_accessible_get_child_at_index):
3035 Change return value for g_return_if_fail ()
3036 to CORBA_OBJECT_NIL instead of "0" (!)
3038 * registryd/Makefile.am:
3039 * registryd/Accessibility_Register.server.in:
3040 Changed name of executable, "registryd",
3041 to something more informative:
3044 2002-03-13 Michael Meeks <michael@ximian.com>
3046 * atk-bridge/bridge.c (atk_bridge_init): don't register
3047 if we're in a bonobo-component, rather than a bonobo app.
3049 2002-03-13 Michael Meeks <michael@ximian.com>
3051 * atk-bridge/bridge.c (gtk_module_init): split
3052 out body to (atk_bridge_init): here, since otherwise
3053 we get symbol conflicts and oddness when invoked
3054 from (gnome_accessibility_module_init): here (upd.)
3056 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3059 New file. Explicitly allow "build sheriff" putbacks provided
3060 they are tested on Solaris.
3062 * docs/reference/cspi/Makefile.am:
3063 Added '-' to the "cp" command for index.sgml.
3064 ("patch by thomasvs, soon coming to a GUADEC near you")
3067 Incremented version number (0.9.0) for new release.
3068 Changed macro that checks for popt, to better detect
3069 obsolete versions of popt.
3072 Added X_LIBS to AC_SUBST, for applications
3073 that call Xlib API directly.
3076 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3079 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3082 Fix regression caused by hard-coding major
3083 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3086 * test/test-simple.c (test_editable_text),
3087 (test_test): revert previous change (error was
3088 a regression in gail which is now fixed).
3090 2002-03-04 Michael Meeks <michael@ximian.com>
3092 * test/test-simple.c (test_editable_text),
3093 (test_text): pass G_MAXINT instead of '-1' for
3094 whole string - is this a good thing !?
3096 * cspi/spi_accessible.c
3097 (Accessible_getRelationSet): fix crasher bug
3098 overwriting the end of the array.
3100 * test/test-simple.c (validate_accessible): free,
3101 not g_free returned relation set.
3103 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3105 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3106 implemented stateset support
3108 * idl/Accessibility_State.idl: Made necessary changes to
3109 the IDL to support state sets.
3111 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3113 * registryd/deviceeventcontroller.c:
3114 Added implementation for generateMouseEvent.
3116 * cspi/spi_registry.c:
3117 Connected new implementation for generateMouseEvent
3120 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3123 Incremented revision (but no change in public API
3124 outside of 'utils', which are not installed public yet.)
3126 * libspi/component.c:
3127 Changed to use atk_component API for layers and
3128 mdi_zorder, instead of deprecated atk_object API.
3130 Magnification Utility Enhancements:
3133 Added implementation of createZoomRegion, clearAllZoomRegions,
3134 resizeZoomRegion. Added new commandline argument
3135 "--no-initial-region". Note that clearAllZoomRegions doesn't
3136 unmap the old '0' region as it should (yet), and the other
3137 methods only work when creating/resizing a single region,
3138 which is "region 0".
3139 (Code for multiple region support will be added later.)
3142 Now we raise the magnifier window each time it's refreshed;
3143 this will help keep it on top.
3145 * util/mag_client.h:
3146 Added simple wrappers for above, used by mag_control.
3147 For general use, it's recommended to use the bonobo magnifier
3148 control API directly instead of using these wrappers.
3151 Moved ZoomRegionData from magnifier.c to this file.
3153 * util/mag_control.c:
3154 Added some code to exercise new IDL implementations.
3156 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3158 * libspi/text.c: Provide implementation for getAttributes.
3160 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3163 Incremented revision.
3165 * test/test-simple.c:
3166 Replaced use of deprecated g_main_iteration with
3167 g_main_context_iteration.
3169 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3172 Incremented revision for desktop alpha 2.
3174 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3176 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3179 * test/simple-at.c: include netinet/in.h.
3181 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3183 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3184 use NULL, not CORBA_OBJECT_NIL.
3186 * libspi/accessible.c:
3187 (impl_accessibility_accessible_get_relation_set):
3188 allocate the sequence correctly.
3190 * libspi/remoteobject.h: kill spi_remote_object_new.
3192 * test/test-simple.c: (validate_accessible): add code
3193 to test relation sets, now all we need is to figure
3194 out how to excercise this code path :/
3196 2002-01-18 Michael Meeks <michael@ximian.com>
3198 * test/test-simple.c
3199 (key_listener_cb): consume the key.
3200 (test_keylisteners): update.
3201 (main): wait for any pending unrefs on events.
3203 * registryd/deviceeventcontroller.c
3204 (spi_controller_update_key_grabs): only re-issue the
3205 grab on a key release.
3206 (spi_device_event_controller_forward_key_event):
3207 refresh the keygrabs before we notify the listeners,
3208 to reduce the X ungrab / re-grab race.
3209 (spi_controller_register_with_devices): remove
3210 XSelectInput - we do that with the gdk_window_ call.
3211 (_spi_controller_device_error_handler): return a value.
3212 s/GDK_DISPLAY/spi_get_display/
3214 2002-01-17 Michael Meeks <michael@ximian.com>
3216 * registryd/deviceeventcontroller.c
3217 (_deregister_keygrab): don't blow out the later
3220 * test/test-simple.c (test_keylisteners): do a
3221 more intelligent validation.
3223 2002-01-14 Michael Meeks <michael@ximian.com>
3225 * atk-bridge/bridge.c
3226 (gnome_accessibility_module_init),
3227 (gnome_accessibility_module_shutdown): impl.
3228 (gtk_module_init): protect vs. double inits.
3229 (add_signal_listener): impl.
3230 (spi_atk_bridge_state_event_listener): kill
3231 (deregister_application): split out of
3232 (spi_atk_bridge_exit_func): here.
3234 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3237 Added caret tracking when using magnifier, and
3238 now use text bounds for focus tracking of text elements, rather than
3239 the component bounds - this is helpful for short text fields in long
3240 table cells, at high magnification.
3242 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3244 * registryd/deviceeventcontroller.c:
3245 Regression fix for keylistener de-registration; global keygrabs
3246 were not being released when deregisterKeystrokeListener was
3247 called in cspi, since
3248 Accessibility_DeviceEventController_deregisterKeystrokeListener
3249 was called with a zero-length keyset. That is because the cspi
3250 method, SPI_deregisterKeystrokeListener, does not take a keyset
3251 parameter but instead should remove all the key grabs held be a
3253 The code in impl_deregister_keystroke_listener was changed to copy
3254 the keylist from the listener instance previously registered with
3255 the DeviceEventController before releasing the grabs.
3257 * registryd/registry.c:
3258 * registryd/deviceeventcontroller.c:
3259 * libspi/spi-private.h:
3261 Changed spelling of "re-enterant" to "re-entrant" globally.
3263 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3265 * test/test-simple.c:
3266 Changed key listeners test - the test was slightly mis-using the
3267 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3268 It now uses '=' as the key event listened to and generated,
3269 relying on a keysym match rather than assuming that keycode 33
3270 is always equal to keysym '!'.
3272 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3275 Changed simple-at to use a specific keyset, rather than
3276 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3277 manager, desktop, etc.
3279 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3281 * registryd/deviceeventcontroller.c:
3282 Replaced standard X error handler with a special handler that
3283 is non-fatal for failed keygrabs. This works around
3284 problems with keygrab clashes sometimes observed on
3286 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3287 mouse handling code as yet).
3289 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3292 Incremented revision for desktop alpha release.
3295 Fixed a couple of the more glaring errors (still not
3298 2002-01-11 Michael Meeks <michael@ximian.com>
3300 * registryd/deviceeventcontroller.c
3301 (spi_device_event_controller_forward_key_event): kill
3302 XUngrabKey / XKeyGrab race.
3303 (spi_controller_grab_keyboard): rename to
3304 (spi_controller_update_key_grabs): this, and deal
3305 with incremental adding / removing grabs more
3307 (_register_keygrab): ensure we're not pending a remove.
3308 (spi_grab_mask_free): impl.
3309 (spi_controller_register_global_keygrabs): split out
3311 (handle_keygrab): impl.
3312 (_deregister_keygrab): impl.
3313 (spi_controller_deregister_global_keygrabs): impl.
3314 (spi_controller_update_key_grabs): re-issue the grab if
3315 we just recieved a notification.
3317 * test/test-simple.c (key_listener_cb): remove debug.
3319 * registryd/deviceeventcontroller.c
3320 (spi_controller_register_device_listener): after
3321 registering a global keygrab, actualy register it !
3322 don't wait for a timeout; doh !
3324 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3325 to make it more readable / manipulable.
3326 s/grabmask/grab_mask/ s/refcount/ref_count/
3327 s/keyval/key_val/ s/modmask/mod_mask
3329 2002-01-08 Michael Meeks <michael@ximian.com>
3331 * registryd/deviceeventcontroller.c
3332 (spi_controller_register_with_devices): use gdk calls to
3334 (global_filter_fn): implement the filter.
3335 (spi_device_event_controller_check_key_event): rename to
3336 (spi_device_event_controller_forward_key_event): this & upd.
3337 (spi_get_display): replace with GDK_DISPLAY.
3339 * registryd/deviceeventcontroller.c
3340 (spi_controller_deregister_device_listener): unroll into
3341 (impl_deregister_keystroke_listener): here to simplify.
3342 (spi_controller_register_global_keygrabs): split cut and
3343 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3344 (spi_controller_deregister_device_listener): remove.
3345 (impl_register_mouse_listener): remove, no mouse listener
3346 support in at-spi-1.0
3348 * registryd/registry.c
3349 (_device_event_controller_hook): kill.
3350 (spi_registry_init): upd.
3352 * registryd/deviceeventcontroller.c
3353 (spi_device_event_controller_class_init): upd.
3354 (spi_check_key_event): merge into.
3355 (spi_device_event_controller_check_key_event):
3356 here and kill strange static ev init, don't leak
3357 the x_event - nor dynamicaly allocate it.
3359 * registryd/registry-main.c (main): re-direct
3360 timeout to remove strange vtable mess.
3362 * registryd/deviceeventcontroller.c
3363 (remove_listener_cb): impl.
3364 (spi_controller_deregister_device_listener):
3365 fix re-enterancy hazard.
3367 2002-01-07 Michael Meeks <michael@ximian.com>
3369 * registryd/deviceeventcontroller.c
3370 (spi_device_event_controller_new): upd.
3371 (impl_notify_listeners_sync): upd. debug.
3372 (spi_notify_keylisteners): fix re-enterancy hazards,
3373 prettify, remove O(n*n) iteration.
3374 (spi_controller_grab_keyboard): fix iteration.
3375 (spi_check_key_event): re-format to suit coding style.
3376 Clean all the warnings - we're warning free.
3378 * registryd/deviceeventcontroller.h:
3379 * registryd/registry.h: make mutualy referential with
3380 typesafe forward references instead of (!) void pointer
3383 2002-01-11 Michael Meeks <michael@ximian.com>
3385 * cspi/spi_accessible.c (role_names): add a role name
3386 to sync this array with the enum; and make the regression
3389 2002-01-10 Michael Meeks <michael@ximian.com>
3391 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3392 allow expansion of enumeration & kill warning.
3394 * test/test-simple.c (key_listener_cb): impl.
3395 (test_keylisteners): impl.
3397 * cspi/spi-listener.h: make listener signatures const
3398 on the provided (const) events.
3400 * test/keysynth-demo.c: upd. to const events.
3402 * test/simple-at.c: ditto.
3404 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3407 Rev the version to 0.5 (the previous tarball was named 0.4,
3408 even though the micro number was 3), so we need to rev upwards
3409 again for beta2/"desktop-alpha"
3412 Checked in a demo script, which requires editing before use!
3413 Proceed with caution.
3416 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3418 * cspi/spi_accessible.c:
3419 Add a couple of missing enum initializations, and fix some enum
3422 * cspi/spi_registry.c:
3423 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3425 * docs/reference/cspi/at-spi-cspi-sections.txt:
3426 Remove/fix a couple of broken document references.
3429 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3430 as Alt-Control to listen for commands, since on some systems
3431 Control-Alt may already be grabbed.
3433 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3436 Update version number to 0.4 for Beta2.
3438 * libspi/accessible.c, libspi/accessible.h:
3439 Expose spi_accessible_construct, to enable libgail-gnome
3440 construction from spi_accessible subtype.
3442 * utils/magnifier.c:
3443 Workaround for bug in some non-gnome-compliant window managers
3444 which made magnifier resize improperly.
3446 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3448 * libspi/accessible.c: (spi_accessible_new) :
3449 Move the test for SPI_IS_REMOTE_OBJECT to
3450 spi_accessible_new_return, fixing a bug and compile time warning.
3452 2002-01-08 Michael Meeks <michael@ximian.com>
3454 * registryd/registry.c (parse_event_type): remove strndup.
3456 * libspi/Makefile.am (libspi_la_SOURCES): remove
3457 sources already included in the headers section.
3459 * libspi/util.c: add.
3461 * libspi/spi-private.h: add.
3463 * registryd/registry.c: update to moved list iterators.
3465 2002-01-05 Michael Meeks <michael@ximian.com>
3467 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3469 * test/test-simple.c (main): ditto.
3471 2002-01-04 Michael Meeks <michael@ximian.com>
3473 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3474 redundant construct.
3476 * registryd/registry.c
3477 (get_listener_list): impl.
3478 (impl_accessibility_registry_register_global_event_listener):
3479 re-impl. to simplify using ~, remove dodgy const cast off.
3480 (parse_event_type): constify.
3481 (impl_accessibility_registry_deregister_global_event_listener_all):
3482 re-write, more efficiency and simplicity, kill re-enterancy
3484 (compare_listener_corbaref, compare_corba_objects),
3485 (compare_listener_quarks): define out.
3486 (impl_accessibility_registry_deregister_global_event_listener):
3487 re-write for effiency, and nail re-enterancy hazard.
3488 (impl_accessibility_registry_get_desktop_list): impl.
3489 (re_enterant_list_delete_link): impl.
3490 (re_enterant_list_foreach): impl.
3491 (remove_listener_cb): impl.
3492 (_registry_notify_listeners): kill.
3493 (notify_listeners_cb): impl.
3495 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3496 (SPI_getDesktopList): impl.
3498 * test/test-simple.c (test_desktop): test the methods.
3500 2002-01-03 Michael Meeks <michael@ximian.com>
3502 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3503 keystrings since we free them
3504 (SPI_freeAccessibleKeySet): in here.
3506 * libspi/accessible.c (spi_accessible_new): kill warning,
3507 wonder what is going on with the constructor here.
3509 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3511 * libspi/accessible.c (spi_accessible_new ()) :
3512 Added check to see if AtkObject is an SpiRemoteObject before
3513 creating an SpiAccessible.
3515 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3517 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3518 Enable keygrabs using the Control modifier, now that they are
3519 working properly (they were previously disabled).
3522 Change the command keygrab for this demo to "Control+Alt", so as
3523 to conflict with fewer other key commands on the system; this
3524 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3526 Removed a pointlessly-chatty keylistener for unshifted keys
3527 (shifted keys are still reported).
3529 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3531 * libspi/remoteobject.h:
3532 * libspi/remoteobject.c:
3533 Added definitions for special AtkObject subtype, required for
3534 support of remote components (specifically, used by BonoboControl
3535 accessibility implementation).
3537 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3539 * cspi/spi.h: synched relation types with ATK
3541 * cspi/spi_accessible.c: Added implementations of
3542 AcccessibleRelation_* methods
3544 * idl/Accessibility_Relation.idl: added getRelationTypeName
3545 method. Synched known relation types with ATK. Allowed for
3546 relation type extension with the RELATION_EXTENDED type.
3548 * libspi/relation.c: Provided implementations for
3549 AccessibleRelation methods.
3551 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3553 API tweaks for today's API 'freeze'.
3556 Added placeholder functions to allow future compatible expansion
3557 of the IDL interfaces.
3559 * idl/Accessibility_Registry.idl:
3560 Changed generateKeyEvent to generateKeyboardEvent. Changed
3561 signature of this method to accept an optional keystring in
3562 parameter (for complex text input synthesis) and changed use of
3563 simple 'boolean' parameter in registerKeystrokeListener to a
3564 struct, EventListenerMode.
3566 * cspi/spi_accessible.c:
3568 * cspi/spi_streamablecontent.c:
3569 Added references to AccessibleStreamableContent interface, and
3570 definition and implementation of AccessibleStreamableContent
3573 * cspi/spi_registry.c:
3575 Changed generateKeyEvent API to generateKeyboardEvent,
3576 taking a new (optional) keystring parameter to support complex
3581 Renamed directory (to better reflect its actual purpose, bridging
3582 from at-spi to ATK). The .so module is also now named
3585 * idl/Accessibility_Hypertext.idl:
3586 * libspi/accessible.c:
3587 * libspi/hypertext.h:
3588 * libspi/hypertext.c:
3589 Changed Accessibility_Hypertext to *not* derive from
3592 * cspi/spi_registry.c:
3593 Added list of legal event type names for 'window' events, which
3594 completes the registry event API.
3596 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3598 * at-bridge/bridge.c: Added registration for separate
3599 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3600 signals. If either of the first two parameters to the generic
3601 bridge signal handler are ints, they are passed on as event
3602 details. This allows an AT to determine what text was inserted.
3604 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3606 * registryd/deviceeventcontroller.c:
3607 Fixed regressions in generateKeyEvent caused by the removal of
3608 gdk_init from registryd; we now use pure X calls to connect to the
3609 display, which makes sense because deviceeventcontroller already
3610 uses a fair bit of X API (should eventually be migrated to a
3611 'portability layer').
3613 * registryd/desktop.c:
3614 Fixed minor regression in spi_desktop_init, changed the way the
3615 desktop name is being set to work with new spi_base API
3616 (gobject-based, rather than AtkObject-based).
3618 * registryd/Makefile.am:
3619 Minor revision of makefile to use XTST_LIBS variable rather than
3620 hard-wiring the Xtst LD_ADD element.
3622 * test/keysynth-demo.c:
3623 Tweaked an output message; added initialization of the
3624 'keystrings' member of the "switch listener" key_set.
3626 * libspi/relation.c:
3627 Squashed compile-time warning.
3629 * libspi/accessible.c:
3630 Cosmetic and formatting fixes, renamed a static method.
3632 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3634 * libspi/accessible.c
3636 * libspi/application.c
3639 * libspi/component.c
3640 * libspi/editabletext.c
3641 * libspi/hyperlink.c
3642 * libspi/hypertext.c
3644 * libspi/selection.c
3648 * registryd/desktop.c:
3649 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3651 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3653 * idl/Accessibility_Registry.idl:
3654 Added boolean member 'is_text' to DeviceEvent. This is for the
3655 use of key events, and helps prevent ambiguity between composed
3656 key strings and keysym names, since both may potentially be
3657 returned in the 'event_string' member.
3659 * at-bridge/bridge.c:
3660 * registryd/deviceeventcontroller.c:
3661 Use the 'is_text' member when notifying device event listeners.
3662 Knon issue: composed characters are not dealt with correctly by
3663 the global key listener implementation yet.
3665 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3667 * at-bridge/bridge.c:
3668 Namespaced local static methods to spi_atk_bridge_* where
3669 previously named bridge_*, and spi_* elsewhere.
3671 * at-bridge/bridge.c:
3672 * cspi/bonobo/cspi-bonobo-listener.c:
3673 Added demarshalling/conversion for string member of
3674 Accessibility_DeviceEvent to AccessibleKeystroke.
3676 * registryd/deviceeventcontroller.c:
3677 Added code to fill the Accessibility_DeviceEvent key string value
3678 member for global key events (i.e. from XGrabKey), to match
3679 behavior of Accessibility_DeviceEvent from the toolkit key events
3680 from the bridge. Fixed timestamp in global key event notifications.
3683 Added printout of key event's string value to
3684 report_ordinary_key_event, for demo/debugging purposes.
3686 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3688 * idl/Accessibility_Registry.idl:
3689 Removed Accessibility_KeyStroke structure in favor of generic
3690 Accessibility_DeviceEvent structure.
3691 Changed Accessibility_ControllerEventMask from a struct to an
3694 * at-bridge/bridge.c:
3695 Changed APIs to use DeviceEvent structure as above, and removed
3696 bogus casting between these event structures.
3698 * cspi/spi-listener.h:
3699 Added keystring member of AccessibleKeystroke structure, to enable
3700 matching on event "names" rather than only hardware codes and
3704 Added keystrings member of AccessibleKeySet struct, to allow
3705 matching on event names (as above).
3706 Added declarations for SPI_createAccessibleKeySet and
3707 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3708 event modmasks directly as unsigned ints rather than structs with
3709 refcounts, in the DeviceEventController methods.
3711 * cspi/spi_registry.c:
3712 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3714 * cspi/spi-roletypes.h:
3715 Added documentation of newly added SPI Roles.
3717 * cspi/bonobo/cspi-bonobo-listener.c:
3718 Changes in support of API changes above.
3720 * libspi/accessible.c:
3721 Converted APIs to use DeviceEvent structure (see IDL changes
3724 * registryd/deviceeventcontroller.c:
3725 Added DEControllerGrabMask structure to track keygrabs not only by
3726 modmask but by keyset as well; this allows us to do "global"
3727 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3728 grabbing on AnyKey and then filtering after-the-fact.
3729 Bugfixes for event filtration mean that we don't get false matches
3730 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3732 * registryd/deviceeventcontroller.c:
3733 Namespaced a number of static methods to use spi_ prefix. Major
3734 revision to internals of global (i.e. X) key grabs.
3736 * registryd/deviceeventcontroller.h:
3737 Removed keymask_list and added keygrabs_list to
3738 SpiDeviceEventController struct.
3741 Added use of SPI_createAccessibleKeySet API when creating a
3742 listener for only one key. Attach a listener to "shift spacebar
3743 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3744 X key event names to SPI key event names, so that listeners are
3745 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3747 * test/keysynth-demo.c:
3748 Changed (incorrect) use of X key event names (KeyPressed,
3749 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3752 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3754 * libspi/accessible.c:
3755 Convert all AtkRole enumerations to Accessibility_Role enums when
3756 getting a role from an AtkObject.
3758 * cspi/spi_accessible.c:
3759 Complete the conversion of Accessibility_Role enums at runtime to
3760 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3761 role enums correctly match those given in spi-roletypes.h.
3762 Re-synchronize the local names list for AccessibleRole_getName ().
3763 AccessibleRole_getName is now deprecated, since it duplicates the
3764 more reliable Accessible_getRoleName.
3765 Added some role types from Accessibility_Role.idl.
3767 * idl/Accessibility_Role.idl:
3768 Added some role types used by AtkRole.
3770 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3773 * cspi/spi_registry.c:
3775 * cspi/cspi-bonobo-listener.c:
3776 Namespaced all methods that did not begin with an "SPI_" or
3777 "Accessible" prefix to "SPI_".
3780 Homogenized internal function namespace to "cspi_" for statics.
3783 Patched tests to use the new CSPI API.
3785 * docs/reference/cspi/at-spi-cspi-sections.txt:
3786 Updated docs to reflect namespace changes, and added a number of
3787 methods to the documentation.
3789 * registryd/registry.c:
3790 Changed use of strings and string hashes in listener event
3791 matching and parse_event_string to use GQuark, which is guaranteed
3794 * registryd/registry.h:
3795 Squashed annoying warning.
3797 * idl/Accessibility_Role.idl:
3798 Extended range of available Accessibility_Role values.
3800 * cspi/spi_accessible.c:
3801 Re-ordered role names.
3803 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3805 * idl/Accessibility_Value.idl:
3806 Revert use of union back to CORBA_double, since the double type is
3807 more efficient and can contain the other types without loss of
3810 * idl/Accessibility_Accessible.idl:
3811 Added method Accessibility:Accessible:getRoleName, to complement
3812 Accessibility:Accessible:getRole.
3814 * cspi/spi_accessible.c:
3816 Added C binding for above, Accessible_getRoleName (), and changed
3817 signature of Accessible_getRole () to return an AccessibleRole.
3819 * cspi/spi-roletypes.h:
3820 Changed AccessibleRole_getName to return a char * instead of a
3821 const char *. This method is now at least temporarily deprecated
3822 in favor of asking Accessibles for their RoleNames directly.
3825 Revert to match Accessibility_Value.idl;
3829 Change signature of AccessibleValue methods to use double rather
3833 * cspi/spi_accessible.c:
3834 Changed Accessible_getRole to return an AccessibleRole enum rather
3835 than a UTF-8 string. The UTF-8 string can still be obtained via
3836 AccessibleRole_getName ().
3838 * test/test-simple.c:
3839 Add test_action. Small fixup to match API change to Accessible_getRole.
3842 Bugfix for get_action_from_servant ().
3844 2001-12-11 Michael Meeks <michael@ximian.com>
3846 * libspi/libspi.h: remove registry.h and
3847 desktop.h, deviceeventcontroller.h
3849 * libspi/Makefile.am: remove registry.[ch],
3850 desktop.[ch], deviceeventcontroller.[ch]
3852 * registryd/Makefile.am: add registry.[ch],
3853 desktop.[ch], rename registryd.c to registry-main.c.
3854 add deviceeventcontroller.[ch]
3856 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3859 Replace setenv() call with putenv ().
3861 * libspi/component.c:
3862 Bugfix in AccessibleComponent_getExtents (),
3865 2001-12-11 Michael Meeks <michael@ximian.com>
3867 * libspi/image.c (impl_getImageExtents): impl.
3868 (spi_image_class_init): upd.
3871 (AccessibleImage_getImageDescription): fix daft bug
3874 * test/test-simple.c (global_listener_cb): update
3875 to only quit if not --poke
3876 (main): catch --poke.
3877 (validate_accessible): upd. dumping, call test_image
3880 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3883 * idl/Accessibility.idl: update all IDL includes.
3885 * idl/*.idl - rename to namespace - this sucks, blame
3886 mjs' bad decision for oafd.
3888 * test/test-simple.c (create_test_window): add more tests.
3889 (create_tree): split this out.
3890 (validate_accessible): bugfix.
3892 2001-12-11 Michael Meeks <michael@ximian.com>
3894 * cspi/bonobo/cspi-bonobo-listener.c:
3895 (cspi_kestroke_listener_unref),
3896 (cspi_event_listener_unref): impl. undoing previous
3897 homenous environment - for Bill.
3899 * cspi/spi_table.c (long_seq_to_array): use
3902 * cspi/spi_main.c: split out all bonoboish bits into
3905 * cspi/spi-impl.h: upd. typedefs.
3907 * cspi/spi_registry.c: update to lowlevel API,
3908 return booleans to indicate success in some places.
3910 * cspi/spi_event.c: update to lowlevel API.
3912 * cspi/bonobo/Makefile.am: add.
3914 * cspi/bonobo/cspi-lowlevel.h: add
3916 * cspi/bonobo/cspi-bonobo.c: add
3918 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3920 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3921 (SUBDIRS): add bonobo, link in the libs.
3923 * cspi/spi-util.c: kill this file.
3925 * TODO: merge in my bits.
3927 2001-12-11 Michael Meeks <michael@ximian.com>
3929 * test/test-simple.c (test_value, test_table, main):
3930 remove unused variables causing warnings.
3932 * configure.in: cleanup checks - require gail.
3934 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3937 Changed Value interface to use SValue (scalars) rather than
3938 assuming all values are floats. This allows floats, doubles,
3939 longs, shorts, and unsigned values to be manipulated.
3940 Introduced Accessibility:SValue union.
3943 Updated to use new API above, and to work correctly with GValues
3944 of different types in AtkValue.
3947 Updated to use new API above. cspi's API is as yet unchanged.
3950 Updated the Value revision action item.
3952 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3954 * test/test-simple.c:
3955 Added test_table (GtkTreeView widget in test window to follow).
3956 Un-commented test_value, added GtkRange widget.
3957 Added GtkTreeView widget with GtkListStore. It passes regression
3958 test but leaks one SPI object for some reason.
3961 Fixed bug in impl__set_currentValue.
3963 2001-12-10 Michael Meeks <michael@ximian.com>
3965 * cspi/spi_text.c: audit for exception handling,
3966 tolerating NULL object references safely etc.
3968 * cspi/spi_value.c: ditto.
3970 * cspi/spi_table.c (AccessibleTable_getSummary),
3971 (AccessibleTable_getAccessibleAt),
3972 (AccessibleTable_getRowHeader),
3973 (AccessibleTable_getColumnHeader),
3974 (AccessibleTable_getCaption): fix bugs hidden by
3976 (long_seq_to_array): impl.
3977 (AccessibleTable_getSelectedRows),
3978 (AccessibleTable_getSelectedColumns): use it.
3980 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3983 Added a TODO list (rough and short for now).
3985 * cspi/spi_hyperlink.c:
3986 * cspi/spi_hypertext.c:
3987 Fixed macro name typos, and remove use of obsolete macro in
3988 AccessibleHyperlink_getLink.
3990 * cspi/spi_action.c:
3991 * cspi/spi_accessible.c:
3992 * cspi/spi_application.c:
3993 * cspi/spi_component.c:
3994 * cspi/spi_selection.c:
3997 Documentation fixes (removed return values from ref/unref methods).
3999 2001-12-10 Michael Meeks <michael@ximian.com>
4001 * cspi/spi_action.c: audit for exception handling,
4002 tolerating NULL object references safely etc.
4004 * cspi/spi_accessible.c: ditto.
4006 * cspi/spi_component.c: ditto.
4008 * cspi/spi_editabletext.c: ditto.
4010 * cspi/spi_hyperlink.c: ditto.
4012 * cspi/spi_hypertext.c: ditto.
4014 * cspi/spi_image.c: ditto.
4016 * cspi/spi_selection.c: ditto.
4018 2001-12-10 Michael Meeks <michael@ximian.com>
4020 * configure.in: use cspi/libspi.pc.in instead.
4022 * Makefile.am (pkgconfig_DATA): upd. to match.
4024 * test/simple-at.c (report_focus_event): kill hacks around
4025 bad return values, use putenv not setenv
4027 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4028 fire ChildGone - I killed it.
4030 * libspi/component.c
4031 (impl_accessibility_component_get_extents): remove
4034 * idl/Accessible.idl: kill ChildGone exception.
4036 * cspi/*.[ch]: kill int return from ref / unref.
4038 * cspi/spi_main.c (cspi_object_add_check): fold into
4039 (cspi_object_add): here.
4041 * cspi/spi_component.c (AccessibleComponent_getExtents):
4042 handle exceptions elegantly.
4044 * cspi/spi-private.h (cspi_check_ev_return),
4045 (cspi_return_if_fail): impl.
4047 * cspi/spi_accessible.c: use extensively.
4048 (AccessibleStateSet_equals): add direct compare check.
4050 * cspi/spi_selection.c: tolerate NULL objs, and check
4051 exceptions before return.
4053 * cspi/spi-util.c (cspi_warn_ev): rename to
4054 (cspi_check_ev): this & don't pass ev in; no point.
4056 2001-12-10 Michael Meeks <michael@ximian.com>
4058 * test/test-simple.c: use putenv not setenv
4059 (get_environment_vars): more chatty if you're not using
4062 * test/simple-at.c: do the setenv so more people see the
4065 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4067 * libspi/registry.c:
4068 Changed check of CORBA_environment on notification to be a warning
4069 instead of an error for the moment, since we can recover from this
4070 error when caused by a queued notification from a dead app.
4073 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4074 used by all current implementors of AtkValue), and coerce to
4075 CORBA_float. (Proper general case fix may require change to Value.idl).
4077 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4081 * cspi/spi_accessible.c:
4082 Documentation fixes: added user_data params to documentation for
4083 listeners and callbacks.
4085 * cspi/spi_accessible.c:
4086 Changed AccessibleStateSet_compare to return a
4087 StateSet rather than return the difference set into a third parameter.
4090 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4093 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4094 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4098 Remove subdirectory po from SUBDIRS for now.
4100 * at-bridge/bridge.c:
4101 Beefed up a couple of debug printouts.
4102 One-line fix for signal notification name formatting.
4104 * libspi/accessible.c:
4105 Added assertion to spi_accessible_new ().
4107 * libspi/application.c:
4108 Put #ifdef qualifiers around a printf.
4111 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4113 * registryd/Makefile.am:
4115 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4116 INTLTOOL_SERVER_RULE macro.
4119 Added an event listener for several ATK signals, for
4120 testing and debugging. Removed a few g_warnings.
4121 Added test output if focussed item implements the Value interface.
4123 * test/test-simple.c:
4124 Added test_value () function (known not to pass at the moment, so
4125 not actually called yet.
4127 2001-12-08 Michael Meeks <michael@ximian.com>
4129 * at-bridge/bridge.c (bridge_focus_tracker),
4130 (emit_eventv): fix the same ref. leak.
4131 (register_atk_event_listeners): don't leak.
4133 * cspi/spi-listener-impl.c (cspi_event): more
4134 protection from client code.
4136 * test/test-simple.c (test_desktop): unref the app.
4138 * test/Makefile.am: upd. TESTS.
4140 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4142 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4144 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4146 * cspi/spi_registry.c: constify in strings.
4147 (deregisterGlobalEventListenerAll): don't release the ref.
4149 * cspi/spi.h: start removing redundant / conflicting
4150 gtkdoc comments, making the API readable at a glance :-)
4152 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4154 * test/keysynth-demo.c (keysynth_exit, main): upd.
4156 * test/simple-at.c (main, simple_at_exit): upd.
4158 * test/test-simple.c (unutterable_horror): kill.
4159 (utterable_normal_derefs): kill.
4160 (main): upd & do a setenv before gtk_init, so that we
4161 can use memprof - and to save the pain of remembering
4162 this, if we're running under memprof - don't exit.
4164 * cspi/spi_main.c (SPI_exit): return exit status
4166 (SPI_event_quit): impl.
4167 (SPI_event_main): simplify.
4168 (cspi_is_gnome_app): kill.
4169 (SPI_init): kill isGNOMEapp arg.
4171 * at-bridge/bridge.c (register_atk_event_listeners):
4172 re-instate the unref.
4173 (bridge_exit_func): don't re-activate the registry,
4174 protect vs. theoretical re-entry, use the
4175 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4176 assert a clean shutdown - for regression tests.
4178 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4180 * configure.in: Comment out dummy i18n support for now,
4181 otherwise it fails to build.
4182 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4183 EXTRA_DIST. They are missing in tarball.
4185 2001-12-07 Michael Meeks <michael@ximian.com>
4187 * util/magnifier.c: kill bonobo activation reg. race.
4189 * libspi/component.c
4190 (impl_accessibility_component_get_extents): make it match
4193 * libspi/registry.c (_registry_notify_listeners):
4194 re-remove X headers & reconcile conflicts.
4195 (spi_listener_struct_free): bad conflict resolve.
4196 (impl_accessibility_registry_register_application):
4197 more bad merging fixed.
4198 (impl_accessibility_registry_deregister_application): ditto.
4199 (spi_registry_new): ditto.
4200 (spi_registry_init): don't have an applications field.
4202 [ merge fixups2 branch to here ]
4203 2001-12-07 Michael Meeks <michael@ximian.com>
4205 * test/simple-at.c (report_focus_event),
4206 (report_focussed_accessible): remove g_warning debug.
4208 2001-12-07 Michael Meeks <michael@ximian.com>
4210 * test/test-simple.c (validate_tree): comment out some checks.
4211 (test_desktop): app now not registered idly - horay.
4213 2001-12-07 Michael Meeks <michael@ximian.com>
4215 * cspi/spi_registry.c
4216 (registerAccessibleKeystrokeListener): clean, stop it leaking
4217 great swathes of memory, and device event controller references.
4218 ensure we always pass valid sequences.
4219 (deregisterAccessibleKeystrokeListener): ditto.
4220 (generateKeyEvent): upd.
4222 * at-bridge/bridge.c (bridge_key_listener): handle
4223 registry dead exception gracefully.
4224 (bridge_focus_tracker, emit_eventv): free ev.
4226 * test/simple-at.c (report_focus_event): fix polarity.
4228 * libspi/application.c (notify_listeners): kill the ev
4229 argument, and make sure we init the ev we use.
4230 (spi_application_object_event_listener): split out a chunk
4231 (get_atk_object_ref): here & fixup.
4232 (reverse_lookup_name_for_toolkit_event): make const.
4233 (spi_application_toolkit_event_listener): fixup, kill leaks
4236 * at-bridge/bridge.c (register_atk_event_listeners):
4237 don't unref the noop object - causes grief.
4239 * libspi/registry.c: remove the X headers.
4240 turn off the debug churn.
4242 * libspi/accessible.c (spi_accessible_new_return): only
4243 release the ref if we are supposed to [doh]
4245 * test/simple-at.c (report_button_press, report_focus_event):
4246 guard vs. unexpected exit.
4248 * at-bridge/bridge.c (gtk_module_init): prune printf.
4249 (bridge_exit_func): fix app unref.
4251 * libspi/Makefile.am: don't install registry or desktop.h
4253 * libspi/*.h: update includes.
4255 * libspi/application.h: don't include ourself, or
4256 other redundant headers.
4258 2001-12-06 Michael Meeks <michael@ximian.com>
4260 * libspi/accessible.c
4261 (get_accessible_from_servant): impl.
4262 Upd. all CORBA impl.s to use it killing cut and paste.
4264 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4266 (SPI_init): register atexit cleanup handler here.
4268 2001-12-06 Michael Meeks <michael@ximian.com>
4270 * at-bridge/bridge.c (gtk_module_init): g_error on
4271 activation exception
4273 2001-12-06 Michael Meeks <michael@ximian.com>
4275 * at-bridge/bridge.c (gtk_module_init): some sort of
4276 confusing merge clash - reverted.
4277 (bridge_idle_init): ditto.
4279 * test/test-simple.c (main, utterable_normal_derefs):
4280 merge from Bill - somehow not committed.
4282 2001-12-06 Michael Meeks <michael@ximian.com>
4284 * libspi/value.c (spi_value_class_init): upd.
4285 (spi_value_finalize): kill.
4287 * libspi/table.c (spi_table_finalize): kill.
4288 (spi_table_interface_new): upd.
4289 (spi_table_class_init): upd.
4290 (get_table_from_servant): impl.
4291 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4293 * libspi/selection.c (spi_selection_finalize): kill.
4294 (spi_selection_interface_new): upd.
4295 (spi_selection_class_init): upd.
4296 (get_selection_from_servant): impl.
4297 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4299 * libspi/relation.c (spi_relation_finalize): kill.
4300 (spi_relation_class_init, spi_relation_new): upd
4302 * libspi/image.c (spi_image_finalize): kill.
4303 (spi_image_class_init): upd.
4304 (spi_image_interface_new): upd.
4305 (get_image_from_servant): impl.
4306 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4308 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4309 (spi_hyperlink_finalize): kill.
4310 (spi_hyperlink_new): upd.
4311 (get_hyperlink_from_servant): impl.
4312 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4314 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4315 (spi_hypertext_finalize): kill.
4316 (spi_hypertext_class_init): upd.
4317 (get_hypertext_from_servant): impl.
4318 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4320 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4321 (spi_editable_text_interface_new): upd.
4322 (get_editable_text_from_servant): impl.
4323 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4325 * libspi/text.c (get_text_from_servant): impl.
4326 All impls - update to use it killing more cut and paste,
4327 also fix bad string returns on duff args ( a somewhat
4328 impossible case to handle - but hey ).
4329 (spi_text_construct): impl.
4330 (spi_text_interface_new): upd.
4331 (spi_text_object_finalize): kill.
4333 * libspi/component.c
4334 (accessibility_component_object_finalize): kill.
4335 (spi_component_class_init): upd.
4336 (get_component_from_servant): impl. helper to kill cut & paste.
4337 (impl_accessibility_component_contains):
4338 (impl_accessibility_component_get_accessible_at_point):
4339 (impl_accessibility_component_get_position):
4340 (impl_accessibility_component_get_extents):
4341 (impl_accessibility_component_get_mdi_z_order):
4342 (impl_accessibility_component_get_layer):
4343 (spi_component_interface_new): upd.
4345 * libspi/action.c (spi_action_finalize): kill.
4346 (spi_action_class_init): upd. inherit from SpiObject.
4347 (spi_action_interface_new): upd.
4348 (get_action_from_servant): impl. helper to reduce cut & paste.
4349 (impl_getKeyBinding, impl_getName, impl_doAction),
4350 (impl_getDescription): Use it everywhere.
4352 * cspi/spi_main.c (get_live_refs): a pointer hash.
4353 (spi_object_hash, spi_object_equal): comment out.
4354 There are issues with CORBA object hashing that need
4357 * libspi/application.c (spi_application_init),
4358 (spi_application_new): upd.
4360 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4361 (spi_accessible_class_init): upd.
4362 s/accessible/object/ in epv methods.
4364 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4366 * at-bridge/bridge.c:
4367 Reorder the bridge initialization into the bridge gtk_module_init,
4368 an immediate call to bridge_register_app, and an idle_add for
4369 register_atk_event_listeners (the only code that *must* wait until
4370 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4371 the activation, creates the application's Accessible object, and
4372 queues the bridge_idle_init function. Restored call to
4373 Accessibility_Registry_deregisterApplication().
4374 Prior to making this call we obtain a new reference to the
4375 registry, which is a temporary hack that helps us handle apps that
4376 shut down the bonobo mainloop before we get there.
4378 * libspi/registry.c:
4379 Fix string leakage in debug block, and don't segv if a an app
4380 dies before its event notifications have been propagated.
4383 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4384 as stopgap measure until we get proper exception handling when
4385 objects die during or before interrogation.
4389 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4390 Also changed default value of is_gnome_app to TRUE.
4393 * test/keysynth-demo.c:
4394 Changed use of SPI_init and SPI_event_main to reflect API change above.
4397 Made report_focus_event check the warning value from getName
4398 before reporting on focussed accessible; simplifies handling of
4399 notifications from dead objects.
4401 * test/test-simple.c: (Changes not in this patch since source is
4404 2001-12-05 Michael Meeks <michael@ximian.com>
4406 * registryd/registryd.c (main): protect against
4407 bonobo-activation startup race condition.
4409 * cspi/spi_main.c (cspi_object_add_check): cope
4410 with the exception elegantly.
4412 * idl/Accessible.idl: decl. ChildGone
4414 * libspi/desktop.c (spi_desktop_dispose): impl.
4415 (spi_desktop_class_init): upd.
4416 (spi_desktop_add_application),
4417 (spi_desktop_remove_application),
4418 (abnormal_application_termination): impl.
4419 (impl_desktop_get_child_at_index): re-impl.
4422 (impl_accessibility_registry_deregister_application),
4423 (impl_accessibility_registry_register_application):
4424 kill excessive debug clutter.
4426 * test/test-simple.c (test_misc): test some NULL
4427 tolerance. (main): upd.
4429 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4430 implements no interfaces - so let's not crash.
4432 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4434 * libspi/accessible.c (spi_accessible_new_return): impl.
4435 helper to calm the cut and paste, to cope with
4436 NULL AtkObjects effectively and efficiently, and to kill
4437 the referencing bugs.
4439 * libspi/table.c (impl_getAccessibleAt),
4440 (impl_getRowHeader, impl_getColumnHeader): upd.
4442 * libspi/hyperlink.c (impl_getObject): upd.
4444 * libspi/accessible.c
4445 (impl_accessibility_accessible_get_child_at_index): upd.
4447 * libspi/component.c
4448 (impl_accessibility_component_get_accessible_at_point): upd.
4450 * test/test-simple.c (test_editable_text, test_text): impl.
4453 * cspi/spi_editabletext.c
4454 (AccessibleEditableText_insertText): constify.
4456 * test/test-simple.c (focus_me): make more robust.
4458 * libspi/accessible.c: remove some printfs in methods that
4459 we test and work fine, so we can get a clean tree dump.
4461 * test/test-simple.c (validate_accessible),
4462 (validate_tree): make tree dumping pretty too.
4464 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4465 it builds without debug on.
4467 * test/test-simple.c (validate_accessible): fix the most
4470 * cspi/spi_main.c (spi_object_release): leave the nicely
4471 blanked memory around if in debug mode.
4473 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4475 [committed to fixups2]
4476 2001-12-05 Michael Meeks <michael@ximian.com>
4478 * libspi/editabletext.c
4479 (spi_editable_text_class_init): g_type_class_peek_parent,
4480 not interface peek - so we finalize cleanly.
4482 * libspi/accessible.c (spi_accessible_new): kill debug.
4484 * test/test-simple.c (validate_accessible): fix ref.
4485 leak, print strings before freeing them; sigh, comment a
4486 chunk out due to strangeness.
4487 (validate_tree): unref the child after use.
4489 * cspi/spi_component.c (AccessibleComponent_getLayer):
4490 add missing break statement, switch on zlayer not the
4491 uninitialized retval.
4493 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4494 before (possibly re-entering) remote unref.
4496 * test/simple-at.c (main): unref the desktop.
4498 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4501 * cspi/spi_main.c (cspi_accessible_is_a): here to
4502 isolate bonobo API usage more.
4504 * libspi/registry.c (impl_accessibility_registry_register_application):
4505 prune bogus comment.
4507 2001-12-04 Michael Meeks <michael@ximian.com>
4509 * test/test-simple.c (validate_tree): upd.
4510 IndexInParent check to make it more lucid.
4511 (validate_accessible): dump the tree.
4513 * libspi/accessible.c (de_register_public_ref),
4514 (get_public_refs): impl.
4515 (spi_accessible_new): make more efficient & intuitive.
4516 Now IndexInParent check works.
4518 2001-12-04 Michael Meeks <michael@ximian.com>
4520 * cspi/spi-util.h: remove.
4522 * cspi/spi.h: move SPI_freeString here
4524 * libspi/component.c (impl_accessibility_component_get_layer):
4526 (impl_accessibility_component_get_mdi_z_order): ditto,
4527 return -1 on error - is this ok ?
4529 * test/test-simple.c (test_application): impl.
4531 * cspi/spi_accessible.c (Accessible_getApplication),
4532 (Accessible_isApplication): impl.
4534 * libspi/registry.c (spi_listener_struct_free): release
4535 the CORBA reference too.
4537 * libspi/accessible.c
4538 (impl_accessibility_accessible_get_parent): fix ref leak.
4540 * libspi/registry.c (spi_registry_new): make the registry
4541 immortal - we don't want it to go away ever.
4543 * libspi/application.c
4544 (spi_accessible_application_finalize): impl. cleanup.
4546 * cspi/spi_registry.c
4547 (deregisterGlobalEventListenerAll),
4548 (deregisterGlobalEventListener),
4549 (deregisterAccessibleKeystrokeListener): fix ref leak.
4551 * cspi/spi_main.c (SPI_init): remove redundant ref.
4553 * test/test-simple.c (unutterable_horror): impl. to force a
4558 (impl_accessibility_registry_deregister_application): release
4559 the application when we de-register it.
4561 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4562 until we have the infastructure to get it right.
4564 2001-12-03 Michael Meeks <michael@ximian.com>
4566 * libspi/Makefile.am: only build eventlistener.[ch]
4568 * libspi/accessible.c
4569 (impl_accessibility_accessible_get_child_at_index): don't leak.
4571 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4572 before we hit the idle handler.
4574 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4575 debugging than exit.
4577 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4579 * libspi/listener.c (impl_notify_event): check source
4580 not NIL before unref.
4582 * libspi/registry.c (impl_registry_notify_event): ditto.
4584 * libspi/eventlistener.c
4585 (impl_accessible_event_notify_event): unref the source.
4587 * libspi/accessibleeventlistener.c
4588 (impl_accessible_event_notify_event): unref the source.
4590 * idl/Event.idl: remove 'hash_id' attribute - of no
4593 * libspi/application.c (notify_listeners): upd list
4595 (spi_application_object_event_listener),
4596 (spi_application_toolkit_event_listener): upd to do correct
4600 (_registry_notify_listeners): update.
4601 (parse_event_type): this method also leaks like a sieve.
4602 (impl_accessibility_registry_deregister_global_event_listener):
4603 fix ETYPE_WINDOW case.
4605 * libspi/application.c
4606 (impl_accessibility_application_register_object_event_listener):
4609 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4611 * libspi/hypertext.c (impl_getLink): ditto.
4613 * cspi/spi_main.c (cspi_object_add): remove
4614 bogus CORBA_Object_duplicate.
4616 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4619 * cspi/spi_accessible.c
4620 (Accessible_getRelationSet): fix leak / referencing issue.
4622 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4623 (cspi_object_add, cspi_object_unref): upd.
4624 (spi_object_release, get_live_refs): impl.
4625 (cspi_cleanup): simplify.
4627 * *.[ch]: s/boolean/SpiBoolean/
4629 * cspi/spi_accessible.c (role_names): actualy order so it
4630 corresponds with the enum !
4632 * test/test-simple.c (test_roles): check some role strings
4633 vs. enums to detect offset errors.
4635 2001-12-01 Michael Meeks <michael@ximian.com>
4637 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4639 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4641 (Accessible_getChildAtIndex): use cspi_add_check so we
4642 check the ev before using a (possibly) invalid value.
4644 * libspi/accessible.c
4645 (impl_accessibility_accessible_get_parent): don't segv
4648 * at-bridge/bridge.c (gtk_module_init): upd.
4649 (bridge_property_event_listener): don't leak strings
4651 (bridge_state_event_listener),
4652 (bridge_property_event_listener): don't use a static
4653 buffer in case of recursive event emission &
4654 re-enterancy - split out the swathe of cut and paste
4656 (emit_eventv): and fix 2 ref leaks here & comply to the
4658 (bridge_register_app): rename to
4659 (bridge_idle_init): this and kill arg parsing, split
4660 various inits & bonobo-activation registration to module
4661 init time, kill referencing error.
4662 (bridge_exit_func): fix the same leak.
4663 (bridge_focus_tracker): don't leak event structures
4665 (bridge_signal_listener): more leakage and cut & paste
4667 (bridge_key_listener): return the result - FIXME is
4668 this polarity correct ?
4669 (accessibility_keystroke_from_atk_key_event): rename
4670 (accessibility_init_keystroke_from_atk_key_event): and stop
4672 (gtk_module_init): return a value - not that it is checked by
4674 (bridge_key_listener): register my horror at casting between
4675 IDL defined structs.
4676 (bridge_get_registry): kill - not used.
4678 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4680 * test/test-simple.c (test_roles): impl.
4681 (test_desktop, validate_accessible, validate_tree): impl.
4683 * cspi/spi_accessible.c (role_names): fixup bogus
4684 MAX_ROLES setup, make constants const for efficient linkage
4685 (AccessibleRole_getName): conform to coding style, make
4688 2001-11-30 Michael Meeks <michael@ximian.com>
4690 * cspi/spi.h: add missing prototype.
4692 * libspi/registry.c (spi_listener_struct_new): fix sig.
4694 * test/Makefile.am: add test-simple
4696 * test/test-simple.c: add
4698 * test/test.sh: add.
4700 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4702 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4703 do it straight - since otherwise we often get an activation race.
4705 [ work before Bill duplicated a chunk of it ... ]
4706 2001-11-30 Michael Meeks <michael@ximian.com>
4708 * libspi/keystrokelistener.c
4709 (spi_keystroke_listener_class_init): fixup arg
4712 * libspi/eventlistener.c
4713 (spi_event_listener_class_init): ditto.
4715 * tests/test.sh: add.
4717 * cspi/spi-listener-impl.h: update macros.
4719 * cspi/spi-listener-impl.c
4720 (cspi_event_listener_remove_callback): add
4721 correct pre-conditions.
4723 * cspi/spi_main.c (SPI_exit): guard vs. double
4724 exits, exit the mainloop nicely.
4725 (SPI_event_main): make more sense.
4726 (SPI_init): move the atexit evilness here so we
4727 always do it (yuck).
4728 (SPI_event_main): upd.
4730 * test/simple-at.c: update for listener changes.
4732 * registryd/registryd.c (main): prune kruft.
4734 * libspi/libspi.h: upd.
4736 * libspi/eventlistener.[ch]: rename broken macros.
4738 * libspi/accessibleeventlistener.[ch]: remove.
4740 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4742 * test/test-simple.c: Add - automated tests.
4744 * cspi/spi-listener-impl.c (cspi_event),
4745 (cspi_key_event): add user_data to invoke.
4746 (cspi_keystroke_listener_finalize): impl.
4747 (cspi_keystroke_listener_class_init): upd.
4750 (createAccessibleEventListener),
4751 (AccessibleEventListener_addCallback),
4752 (createAccessibleKeystrokeListener),
4753 (AccessibleKeystrokeListener_addCallback): upd.
4755 * libspi/deviceeventcontroller.c
4756 (spi_device_event_controller_check_key_event): add public proto.
4759 (impl_accessibility_registry_deregister_global_event_listener):
4760 always init listeners.
4761 (_registry_notify_listeners): yes it is.
4763 * cspi/spi-listener-impl.c (cspi_key_event):
4765 (cspi_event_listener_finalize): impl.
4766 (cspi_event_listener_class_init): hook up.
4767 (event_handler_new, event_handler_free),
4768 (event_list_remove_by_callback): impl.
4769 (cspi_event_listener_remove_callback),
4770 (cspi_keystroke_listener_remove_callback),
4771 (cspi_keystroke_listener_add_callback),
4772 (cspi_event_listener_add_callback): upd.
4774 * libspi/keystrokelistener.c
4775 (keystroke_listener_object_finalize): kill
4776 (spi_keystroke_listener_class_init): upd.
4777 (spi_keystroke_listener_add_callback),
4778 (spi_keystroke_listener_remove_callback): kill,
4780 (impl_key_event): prune drasticaly.
4782 * libspi/eventlistener.c
4783 (spi_event_listener_add_callback),
4784 (spi_event_listener_remove_callback): kill, use
4786 (impl_accessible_event_notify_event): upd.
4787 (spi_event_listener_object_finalize): remove.
4789 * libspi/Makefile.am: use eventlistener.[ch]
4791 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4793 * libspi/registry.c (_registry_notify_listeners):
4794 Changed listener loop iteration to use preferred convention.
4795 Got rid of string memory leaks caused be calling g_strconcat
4796 inside function calls.
4798 * libspi/registry.c (parse_event_type):
4799 Stopped g_strconcat memory leaks, free the g_strsplit return,
4800 g_strdup the split pieces when used, etc.
4802 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4805 Change method 'compare' to return a 'difference set' rather than
4806 taking a StateSet as an out parameter (more Java-friendly).
4808 * idl/Accessible.idl:
4809 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4811 * idl/Component.idl:
4813 Changed methods 'getExtents' and 'getImageExtents' in these
4814 interfaces to return a BoundingBox structure.
4815 (getPosition and getSize are redundant and possibly should be
4816 removed, rather than creating a corresponding Point struct.)
4818 * cspi/spi_component.c:
4819 Modify implementation of getExtents to reflect the above IDL
4824 Add (missing) AccessibleImage_getExtents () API.
4826 * docs/reference/cspi/at-spi-cspi-sections.txt:
4827 Added AccessibleImage_getImageExtents () to docs.
4829 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4831 * idl/Component.idl:
4832 Added two methods, getLayer () and getMDIZOrder (), to reflect
4833 the new ATK methods atk_object_get_layer and
4834 atk_object_get_mdi_z_order. (Which arguably should be part of the
4835 AtkComponent API and AtkObject). Also added an enum,
4836 ComponentLayer, for the first method's return value.
4838 * libspi/component.c:
4839 Added implementations for these methods.
4841 * cspi/spi_component.c:
4843 Added cspi binding methods for above,
4844 AccessibleComponent_getLayer() and
4845 AccessibleComponent_getMDIZOrder().
4846 Added cspi enum 'AccessibleComponentLayer'.
4848 * docs/reference/cspi/at-spi-cspi-sections.txt:
4849 Added above methods to docs.
4853 Changed typedef for 'boolean' type (and all references to it) to
4854 SPIBoolean, to avoid keyword clashes with C++.
4857 Changed usages of 'boolean' to SPIBoolean.
4859 * test/keysynth-demo.c:
4860 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4861 app), except where SPIBoolean is required by the callbacks API.
4863 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4865 * cspi/spi_registry.c:
4866 Removed obsolete X event loop for passive keygrabs (which now
4869 * registryd/registryd.c:
4870 Removed unnecessary call to gdk_init() [cruft]. This also allows
4871 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4874 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4876 * docs/reference/cspi:
4877 Included docs for SPI_freeString in generated documentation.
4880 Renamed spi_freeString to SPI_freeString, for consistency. Added
4881 documentation for this function.
4884 Renamed spi_freeString to SPI_freeString, for consistency.
4885 Removed obsolete method declaration string_from_corba_string.
4887 * test/keysynth-demo.c:
4888 Small tweak to comments.
4891 Stopped leaking the strings returned from CSPI.
4893 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4895 Merged Michael's branch (see his ChangeLog entries below).
4897 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4898 bridge is alive, release on exit.
4900 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4901 Fix type check macro.
4904 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4907 Added is_gnome_app static, and method cspi_is_gnome_app(),
4908 so we can call the appropriate shutdown routine at exit in SPI_exit.
4910 * cspi/spi_main.c (cspi_object_ref):
4911 Duplicate the corba object passed in, since we're keeping it around.
4913 * cspi/SPI_exit.c, cspi_cleanup:
4914 Moved the releasing of the live refs to its own function, so we
4915 can put it in g_atexit (). Call the appropriate shutdown API
4916 depending on whethe calling client is a gnome app or not
4917 (bonobo_main_quit or CORBA_ORB_shutdown).
4919 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4920 Unref the listener when this method is called, after
4921 deregistration. Updated the API docs to note this behavior.
4923 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4924 Bugfixes: Ref the bonobo object when returning a parent or child
4925 reference, or an AccessibleRelation. Generally made sure
4926 BonoboObject refcount is incremented whenever we return an
4929 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4930 Fixed typo/bug in signal declaration.
4932 * libspi/accessibleeventlistener.h:
4935 * libspi/application.c (spi_application_new):
4936 Fixed leak in initialization.
4939 Remembered to increment bonobo-object refcount when returning
4940 children (applications) from desktop object.
4941 Added (empty) finalize method.
4943 * libspi/deviceeventcontroller.c:
4944 Hold a ref to listeners inside DEControllerKeyListeners.
4945 Added dec_key_listener_free() method. Use prepend instead of
4946 append in key_listener list. Fixed some refcount madness and
4947 leaks in the listener registration/deregistration - deregistration
4948 now calls dec_key_listener_free() on listeners, and on the
4949 temporarily constructed dec_key_listener() used to perform the search/match.
4951 * libspi/hypertext.c (spi_hypertest_finalize):
4952 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4953 class. Also fixed spi_hypertext_interface_new() and
4954 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4956 * libspi/hypertext.h:
4957 Removed pointless and duplicate AtkObject pointer from
4960 * libspi/keystrokelistener.c:
4961 Fixed incorrect type of keystroke_listener_parent_class,
4962 renamed keystroke_listener_object_finalize to
4963 spi_keystroke_listener_object_finalize.
4964 Fixed typo in signal declaration
4965 (spi_keystroke_listener_class_init).
4967 * libspi/registry.c:
4968 Added funcsions spi_listener_struct_new() and
4969 spi_listener_struct_free() to help with memory management issues.
4970 We also now use these methods instead of gnew + poking stuff into
4971 the struct, and to decrement listener counts/free the listeners
4972 when deregistering them.
4973 Fix more refcount bugs in getDesktop() and
4974 getDeviceEventController().
4977 De-ref the desktop after enumerating the applications. Explicitly
4978 decrement the refcounts on the created listeners on exit (using
4979 _unref for keystroke listeners, and via the
4980 deregisterGlobalEventListenerAll command for other event
4983 2001-11-27 Michael Meeks <michael@ximian.com>
4985 * cspi/spi-listener.h: fixup enum.
4987 2001-11-27 Michael Meeks <michael@ximian.com>
4989 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4990 (cspi_keystroke_listener_new): Use the cspi variants.
4992 2001-11-26 Michael Meeks <michael@ximian.com>
4994 * test/keysynth-demo.c: fix 2 compile warnings, missing
4997 * test/simple-at.c (report_focussed_accessible),
4998 (report_focus_event, report_button_press),
4999 (check_property_change, is_command_key),
5000 (report_ordinary_key_event, report_command_key_event): upd.
5002 * util/mag_client.h: include pre-requisites.
5004 * libspi/accessibleeventlistener.c
5005 (spi_event_listener_object_finalize): free any lingering
5008 * libspi/keystrokelistener.c
5009 (keystroke_listener_object_finalize): ditto.
5011 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5012 callbacks, with cspi types.
5014 * cspi/spi_event.c (createAccessibleEventListener): chain to
5015 (AccessibleEventListener_addCallback): here.
5016 (createAccessibleKeystrokeListener): chain to
5017 (AccessibleKeystrokeListener_addCallback): here.
5019 * libspi/keystrokelistener.c
5020 (spi_keystroke_listener_class_init): add signal.
5021 (impl_key_event): emit the event.
5022 (boolean_handled_accumulator): impl.
5023 (marshal_BOOLEAN__POINTER): add, gack.
5025 * libspi/accessibleeventlistener.c
5026 (spi_event_listener_class_init): add signal.
5027 (impl_accessible_event_notify_event): emit the signal &
5028 make the loop efficient.
5029 (spi_event_listener_add_callback): prepend the callback.
5031 * libspi/accessibleeventlistener.h: add an 'event' signal,
5032 decl type on callback.
5034 * libspi/keystrokelistener.h: ditto.
5036 * cspi/spi-listener.h: make methods typesafe and
5037 make them use the new event typedefs.
5039 * test/simple-at.c (report_focussed_accessible):
5040 include mag_client.h
5041 Use *(void *)text_interface not the other thing.
5043 * configure.in: add gtk to registryd bits - since we use
5046 * util/magnifier.c: include libbonobo.h
5048 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5050 * test/keysynth-demo.c:
5051 Turned this into a simple scanning keyboard, to demonstrate the
5052 use of g_timeout_add () as a means of creating timers for
5053 scanning, and the use of GtkStyle for visually indicating when
5054 virtual keyboard elements are selected.
5056 keysynth-demo now listens to any keyboard keys with zero-valued
5057 keycodes (i.e. 'unused' keys) and interprets them as
5060 Reworked the shiftlatch code so that shift-down state isn't held
5061 for long periods (it's only synthesized immediately prior to
5062 the keysynth event it's modifying). Note that shiftlatch in this
5063 demo is a convenience, not intended to take the place of AccessX
5064 which is the better choice for getting 'sticky' modifier keys.
5066 * libspi/deviceeventcontroller.c:
5067 * at-bridge/bridge.c:
5068 * cspi/spi_registry.c:
5069 Removed some debug print stuff, and put other verbosity in #ifdef
5074 Implemented some more of the magnifier IDL for the simple
5075 magnifier: namely, getZoomRegionParams.
5076 Added mag_x and mag_y members to MagnifierData struct, aid of this
5078 Added GtkWindow::realize signal handler to magnifier, to keep it
5079 from receiving keyboard focus from the WM.
5081 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5083 * cspi/spi-private.h: my guess at what michael forgot
5084 before he ran off to NZ :-)
5086 2001-11-23 Michael Meeks <michael@ximian.com>
5088 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5089 comment out non existant method invoke so we link.
5091 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5092 use bonobo_exception_get_text for more friendly warnings.
5094 * cspi/spi.c (Obj_Add): move into spi_main & rename
5095 spi_object_add; kill spi.c
5097 * cspi/spi_registry.c
5098 (deregisterGlobalEventListener),
5099 (deregisterGlobalEventListenerAll),
5100 (registerGlobalEventListener): fix exception leaks.
5102 * cspi/spi_main.c (spi_exception): impl. helper, so we
5103 don't leak exceptions.
5105 * cspi/spi_selection.c
5106 (AccessibleSelection_deselectSelectedChild): return the
5109 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5110 (spi_registry): ditto.
5111 (SPI_init): guard against double inits.
5113 * cspi/*.c: use spi_ev (), and spi_registry () where
5114 appropriate - a temporary hack until we have something
5115 better. Use spi_object_add
5117 2001-11-22 Michael Meeks <michael@ximian.com>
5119 * cspi/Makefile.am: re organise, install the headers.
5121 * cspi/*.h: add G_BEGIN/END_DECLS
5123 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5126 Added non-preemptive keylistener for key events with no modifiers
5127 and shift-only modifier.
5129 * libspi/keystrokelistener.c:
5130 Removed some verbose diagnostics printout.
5132 * cspi/spi_registry.c:
5133 Fixed a bug that caused all key listeners to be registered as
5136 * libspi/deviceeventcontroller.c:
5137 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5138 for non-preemptive key masks.
5141 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5143 * docs/reference/idl/at-spi-idl-docs.sgml:
5144 * docs/reference/idl/at-spi-idl-sections.txt:
5145 * docs/reference/idl/at-spi-idl-overrides.txt:
5146 Added missing files.
5148 * docs/reference/Makefile.am:
5149 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5150 to scan the IDL files :-(
5155 Added .cvsignore files.
5157 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5159 * libspi/deviceeventcontroller.c:
5160 * libspi/keystrokelistener.c:
5162 * cspi/spi_registry.c:
5163 Added filters for KeySets, KeyEventSeq, and event types to key
5164 event dispatching, so listeners should only receive those events
5165 that they requested :-)
5167 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5172 * docs/reference:Makefile.am:
5173 * docs/reference/cspi:
5174 * docs/reference/cspi:Makefile.am:
5175 * docs/reference/cspi:tmpl:
5176 * docs/reference/cspi:tmpl:*.sgml:
5177 * docs/reference/idl:
5178 * docs/reference/idl:Makefile.am:
5179 * docs/reference/idl:at-spi-idl-sections.txt:
5180 * docs/reference/idl:at-spi-idl-docs.sgml:
5181 * docs/reference/idl:tmpl:
5182 * docs/reference/idl:tmpl:*.sgml:
5184 Restructured docs directory to allow separate 'reference' docs
5185 section, and forked idl and cspi docs. Added the sgml template
5186 files to CVS. Added the first sections/structural sgml for the
5189 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5191 * configure.in, libspi/Makefile.am: find libXtst.
5193 2001-11-21 Michael Meeks <michael@ximian.com>
5195 * test/accessx-gui.c: s/spi_value/value/ - doh.
5197 * libspi/base.[ch]: add.
5199 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5201 * idl/Accessible.idl:
5202 * idl/Application.idl:
5205 Started gtk-doc cleanup on IDL.
5207 * libspi/deviceeventcontroller.c:
5208 Added and connected non-preemptive key notification from the
5209 toolkits (in addition to the pre-emptive support from XServer
5210 which we had before, but which causes 'focus flashing'). Filters
5211 are presently limited to key modifiers and global/non-global,
5212 KeySets are presently ignored, as are KeyEvent masks.
5214 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5215 structs into the persistant structure rather than just storing
5216 pointers to things that might not persist across servant
5219 The XGrabKey call now does async keygrabs, because synchronous
5220 ones were deadlocking with GDK_event code in a very nasty way.
5222 Added boolean to internal method notify_keylisteners, to indicate
5223 whether the event came from the 'toolkit source' or the 'global
5224 (XServer) source' - this is used in the notification process to
5225 determine which listeners to send the event to.
5227 deviceeventcontroller.c is now warning-free.
5229 * libspi/registry.c:
5230 Fixed regression in application de-registration.
5231 Also fixed some really brain-dead weirdness having to do with
5232 event dispatching - event structs are now duplicated before being
5233 re-marshalled in the dispatch to listeners. This also fixes a
5234 Solaris build problem.
5237 2001-11-20 Michael Meeks <michael@ximian.com>
5240 (impl_accessibility_registry_deregister_global_event_listener):
5243 * libspi/deviceeventcontroller.c
5244 (spi_device_event_controller_check_key_event): return
5245 FALSE on no virtual method.
5247 * libspi/*..h: make includes work on a correctly pathed install.
5249 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5251 * libspi/application.h: kill unused ( and whacked out )
5252 gboolean *spi_application_set_id (AtkObject *app, long id);
5254 2001-11-20 Michael Meeks <michael@ximian.com>
5256 * libspi/*.[ch]: further convert to bonobo's type func
5257 macros, remove redundnant casts etc.
5259 * libspi/text.c s/accessibility_text/spi_text/g,
5260 re-order to de-cruft.
5262 * libspi/hypertext.c: re-order to kill a huge slew
5263 of redundant forward decls.
5265 * libspi/relation.c: ditto.
5267 * libspi/image.c: ditto.
5269 * */.cvsignore: update
5271 2001-11-20 Michael Meeks <michael@ximian.com>
5273 * libspi/deviceeventcontroller.c
5274 (_controller_register_with_devices): use g_getenv,
5275 kill stdlib.h include.
5277 * libspi/keystrokelistener.c
5278 (spi_keystroke_listener_get_type): kill
5279 (spi_keystroke_listener_class_init),
5280 (spi_keystroke_listener_init): rename to this.
5282 * libspi/text.c (impl_getAttributes): fix warning / bug.
5284 * libspi/*.[ch]: more headers, includes and over commenting.
5286 2001-11-20 Michael Meeks <michael@ximian.com>
5288 * libspi/*.[ch]: fixup headers, includes and over commenting.
5290 * libspi/image.c (impl__get_imageDescription): const
5291 correctness warning fix. remove redundant casting.
5293 * libspi/table.c (impl_getRowDescription): ditto.
5294 (impl_getColumnDescription): ditto.
5296 * libspi/libspi.h: add.
5298 2001-11-19 Michael Meeks <michael@ximian.com>
5300 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5302 * libspi/component.c (accessibility_component_get_type):
5303 rename to (spi_component_get_type): and macroify.
5304 (accessibility_component_init): rename to
5305 (spi_component_init): this
5306 (accessibility_component_class_init): rename to
5307 (spi_component_class_init): this
5309 * libspi/action.c (spi_action_get_type): kill, use the macro.
5311 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5314 * libspi/application.c (spi_application_object_event_listener),
5315 (impl_accessibility_application_register_object_event_listener):
5316 warning fixes / const understanding updates.
5318 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5321 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5323 * libspi/spi_accessible.c: Added docs and C bindings for
5324 AccessibleStateSet. (No implementations yet). Documentation
5325 coverage for C bindings now 100%. Made docs for event listeners
5330 boolean notifyListenersSync (in DeviceEventListener listener,
5331 in DeviceEvent event);
5333 oneway void notifyListenersAsync (in DeviceEventListener listener,
5334 in DeviceEvent event);
5336 Added DeviceEventListener and DeviceEvent structs (may deprecate
5337 KeyStroke and KeystrokeListener in favor of this generic
5338 event/listener framework for devices).
5340 * libspi/deviceeventcontroller.c:
5342 Changed some key listener code to take masks, etc., and paved the
5343 way for integration of toolkit/non-preemptive key events. Changed
5344 signatures of some internal methods.
5346 * at-bridge/bridge.c:
5347 Fixed regression connecting to interface signals, apparently
5348 caused by GTK+ changes.
5350 Added an internal bridge_state_listener to deal with
5351 property-change:accessible-state signals.
5353 Changed the key_listeners GList to store structs (including masks,
5354 etc.) instead of just CORBA_Objects (required for full
5355 implementation of key listener API).
5357 Connected the bridge to all currently supported Atk signals.
5358 Events now supported:
5359 object:property-change
5360 object:property-change:accessible-name
5361 object:property-change:accessible-state
5362 object:property-change:accessible-description
5363 object:property-change:accessible-parent
5364 object:property-change:accessible-value
5365 object:property-change:accessible-role
5366 object:property-change:accessible-table-caption
5367 object:property-change:accessible-table-column-description
5368 object:property-change:accessible-table-column-header
5369 object:property-change:accessible-table-row-description
5370 object:property-change:accessible-table-row-header
5371 object:property-change:accessible-table-summary
5372 object:children-changed
5373 object:visible-data-changed
5374 object:selection-changed
5375 object:text-selection-changed
5377 object:text-caret-moved
5379 object:row-reordered
5381 object:column-inserted
5382 object:column-reordered
5383 object:column-deleted
5384 object:model-changed
5386 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5388 * libspi/hyperlink.c,h:
5389 Fixed some broken stuff in hyperlink.
5391 * libspi/relation.h:
5392 * libspi/relation.c:
5393 * cspi/spi_accessible.c:
5394 Initial implementations of AccessibleRelation methods, and docs.
5396 * libspi/accessible.c:
5397 Fixed a bug that caused SEGV if an accessible
5398 object's description is NULL, and a client
5399 requests it. An empty string is now returned.
5401 * cspi/spi_editabletext.c:
5402 * cspi/spi_hypertext.c:
5404 * cspi/spi_hyperlink.c:
5408 Doc coverage now 95%.
5410 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5412 One last namespacing revision:
5413 * libspi/accessibleeventlistener.[ch]:
5414 Renamed SpiAccessibleEventListener to SpiEventListener,
5415 (no need for two namespaces ;-)
5417 And lots of documentation fixes:
5419 * docs/at-spi-docs.sgml:
5420 Fixed 'underscore vs. hyphen' bug that was preventing
5421 the gtk-doc API docs from being automatically generated.
5424 * cspi/spi-listener.h
5426 * cspi/spi_accessible.c
5428 * cspi/spi_application.c
5429 * cspi/spi_component.c
5430 * cspi/spi_editabletext.c
5432 * cspi/spi_hypertext.c
5434 * cspi/spi_registry.c
5435 * cspi/spi_selection.c
5439 * docs/at-spi-docs.sgml
5440 * docs/at-spi-sections.txt
5442 Added and fixed up gtk-doc documentation in cspi.
5444 Interfaces now (fully) documented (subject to revision and enhancement):
5446 Event Listener Support
5448 AccessibleApplication
5452 AccessibleEditableText
5459 AccessibleRelationSet
5464 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5466 * at-bridge/bridge.c:
5467 Initial work for toolkit-level key snooper connection by bridge.
5472 New typedefs and fixes to support new namespacing, and cleaner
5473 separation of cspi bindings from libspi bonobo implementation.
5474 Removed inconsistent and extraneous Spi* namespace prefix that
5475 had crept into cspi headers.
5476 Lots of comment fixes that sed had missed.
5478 * cspi/spi-roletypes.h:
5479 * cspi/spi-statetypes.h:
5480 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5481 to AccessibleRoleType.
5483 * libspi/accessibleeventlistener.h:
5484 Fixed minor namespacing weirdness.
5486 * libspi/deviceeventcontroller.c:
5487 Reordered some internal API for device listeners.
5488 Changed the key registry final boolean to 'is_system_global'
5489 rather than 'is_synchronous', which is more descriptive of its
5491 Added spi_device_event_controller_new().
5492 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5494 * libspi/keystrokelistener.[ch]:
5495 Namespaced KeystrokeListener to SpiKeystrokeListener.
5496 Changed uses of keymasks to use SPI_ prefix, and did other
5499 * libspi/keymasks.h:
5500 Namespaced keymask constants with SPI_ prefix.
5502 * libspi/registry.c:
5503 Some warning fixes, and knock-on fixes from namespace changes.
5506 Added rules for accessx-gui test program.
5508 * test/accessx-gui.c:
5509 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5510 utility. It doesn't actually use at-spi, but it's still cool and
5513 * test/keysynth-demo.c:
5517 Fixes so that these test clients work properly with the namespaced
5518 libraries. (Incompletely tested for technical reasons, fixes may follow)
5521 2001-11-13 Michael Meeks <michael@ximian.com>
5523 * libspi/application.c
5524 (impl_accessibility_application_get_version),
5525 (impl_accessibility_application_get_toolkit_name):
5527 (impl_accessibility_application_set_id),
5528 (impl_accessibility_application_get_id): remove
5529 redundant casting code.
5531 * libspi/action.c (impl_getDescription): fix warnings.
5533 * libspi/accessible.c
5534 (impl_accessibility_accessible_get_parent),
5535 (impl_accessibility_accessible_get_child_at_index),
5536 (impl_accessibility_accessible_get_state),
5537 (impl_accessibility_accessible_get_relation_set):
5538 warning fixes & include action.h
5540 2001-11-13 Michael Meeks <michael@ximian.com>
5542 * *.[ch] fix bits I screwed up:
5544 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5545 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5547 2001-11-13 Michael Meeks <michael@ximian.com>
5549 * *.[ch] Namespace libspi into spi_ and Spi.
5551 2001-13-11 Michael Meeks <michael@ximian.com>
5553 * Makefile.am: dist & install at-spi-1.0.pc
5555 * libspi/Makefile.am: install into at-spi-1.0
5557 * idl/Makefile.am (idldir): install into at-spi-1.0
5559 * at-spi-1.0.pc.in: add.
5561 * configure.in: build it.
5563 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5565 * test/keysynth-demo.c:
5566 Use a 'realize' signal-handler to set the WM properties for
5567 the virtual keyboard, rather than making it a "POPUP" type
5568 override-redirect window (thanks to anders carlsson for that
5571 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5574 * test/keysynth-demo.c:
5575 Added new test of key synthesis, which creates a simple
5576 (mouse-operated) onscreen keyboard. It inserts key events into
5577 the currently-focused window, thus it does not grab keyboard focus
5580 * cspi/spi_registry.c:
5581 Added C binding for AT-SPI generateKeyEvent.
5583 * libspi/deviceeventcontroller.c:
5584 Added call to XFilterEvent so that key listener works with XIM (we
5585 hope). Added event_synth_type to generateKeyEvent, so that we can
5586 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5587 synthesize a press/release pair for KeySyms.
5589 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5591 * libspi/Makefile.am:
5592 * registryd/Makefile.am:
5593 (temporary) hack to include libXtst in libspi and registryd.
5594 (Needed for keystroke synthesis, see below).
5597 Improved API for registerKeystrokeListener, in accordance with
5598 discussions with Gnopernicus team and X server research.
5600 * libspi/registry.c:
5601 * libspi/deviceeventcontroller.c:
5602 * libspi/accessible.c:
5603 * libspi/keystrokelistener.c:
5604 Changes and fixes to support keylisteners for potentially
5605 consumed key events (that is, 'passive grabs').
5606 Added implementation for generateKeyEvent() [untested].
5609 Changes to registerKeystrokeListener() API, as above.
5610 Added deregisterGlobalEventListenerAll(), and
5611 deregisterKeystrokeListener(), which are needed for clean exit of
5613 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5614 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5616 * cspi/spi_registry.c:
5617 Added implementations of function prototypes mentioned above.
5619 * registryd/registryd.c:
5620 Added the key listener event source as a g_timeout(), to allow
5621 receipt of key events that are not caught by GDK (since GDK
5622 doesn't support passive keygrabs, this was necessary).
5625 Changed to attach a keylistener to 'Alt' keys, and
5626 respond to the following keycommands: Alt-M (toggle magnifier);
5627 Alt-F (toggle speech); Alt-Q (quit).
5628 Added an exit routine to deregister the listeners, and a key
5629 listener that prints some key info to the console when a key
5630 matches the listener mask (and is thus received by the listener).
5632 * util/idl/Magnifier.idl:
5633 Changes to magnifier API to support multiple zoom regions,
5634 non-uniform scaling in x and y, markDirty, and a host of other
5635 features that would be useful to magnification.
5638 * util/mag_client.c:
5639 * util/mag_client.h:
5640 * util/mag_control.c:
5642 Source code changes to support the above IDL changes.
5645 As above, and also changes to use a (slower) generic conversion
5646 path for colormap conversions, since the fast RGB conversions have been
5647 reported to fail for 16-bit displays.
5649 2001-10-26 Michael Meeks <michael@ximian.com>
5651 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5653 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5655 * at-bridge/Makefile.am: fix LDFLAGS.
5657 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5659 * at-bridge/bridge.c:
5660 Re-worked listeners for toolkit events, now we have signal
5661 and property listeners. Added a private method
5662 register_atk_event_listeners(), which registers with the
5663 various atk and gtk signals we need to monitor in order to emit
5665 Added emission hook for AtkObject:property-change events, to
5666 support the 'property listeners'.
5667 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5670 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5671 which emit warnings and exit, respectively, if CORBA errors occur
5672 during remote calls, and we now use these methods to check most of
5673 our CORBA calls in the C bindings.
5675 * cspi/spi_accessible.c:
5676 Changed AccessibleSelection_refSelectedChild() to
5677 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5678 now increment refcounts.
5680 * cspi/spi_component.c:
5681 Fixed some long pointer casts (dangerous!) to pass pointers to
5682 CORBA_longs of the proper type to the CORBA stubs, and copy the
5683 data into the longs that were passed into the C bindings code.
5685 * at-bridge/bridge.c:
5687 * libspi/accessible.c:
5688 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5689 hyperlinks, AtkHyperlink is an object type.
5691 * libspi/application.c:
5692 Added various conversions to and from "generic" event types and
5693 atk-specific types; this is really part of the 'bridge'
5694 implementation but is valid for all AtkObject-based accessibility
5697 * libspi/editabletext.c:
5698 Fixed nasty bug wherein editable text's finalize method was
5699 unref'ing tha AtkObject reference that the text parent class was
5700 about to unref _again_. There was also a nasty inheritance bug
5701 that meant that the AccessibleEditableText class was corrupt.
5703 * libspi/selection.c:
5704 Provided implementations for some selection API that was broken.
5706 * idl/Application.idl:
5707 Added registerObjectEventListener () method.
5710 Fixed a number of return values that were Bonobo_Unknowns from
5711 bonobo_object_corba_objref(), which I
5712 forgot to dup before returning. Changed instances of
5713 bonobo_object_corba_objref (bonobo_object(o)) to
5714 BONOBO_OBJREF(o), for concision and clarity.
5716 2001-10-13 Louise Miller <louise.miller@sun.com>
5718 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5719 idl/Event.idl, idl/Registry.idl
5720 Changed these files to include Bonobo_Unknown.idl instead
5723 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5725 * libspi/component.c libspi/component.h:
5726 Fixed typo. Added assertions for object checks in
5727 AccessibleComponent code.
5729 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5731 * idl/Accessible.idl:
5732 Added 'isEqual (Accessible *object)'
5733 method for Accessible. (Not Yet Implemented).
5736 Changed signature of registerKeystrokeListener() to
5737 take a KeySet and KeyEventSeq so that specific keys and event
5738 types could be requested for monitoring, and added a flag
5739 is_synchronous so that either synchronous or asynchronous
5740 notification could be requested. (However this is not all
5741 implemented yet). This also meant adding two new typedefs,
5742 KeyEventSeq and KeySet.
5745 Added two new relations, RELATION_TOOLTIP_FOR and
5746 RELATION_LEAFNODE_OF.
5749 Added new state, STATE_HAS_TOOLTIP.
5751 * libspi/text.c, editabletext.c:
5752 Added new assertions to all casts of bonobo-objects from
5753 CORBA servants, to prevent Text API calls on non-text objects.
5754 Changed suspect casts of int-pointer types, so that we
5755 always send a valid CORBA_long pointer to the CORBA APIs that use
5756 in/out long parameters. We then have to copy from the CORBA_long
5757 into the regular long or int for return to the C bindings, or
5758 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5761 * libspi/deviceeventcontroller.c:
5762 Cleaned these sources up.
5764 Changed return type for getCharacterAtOffset to
5765 CORBA_unsigned_long, to allow for 32-bit characters.
5768 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5772 Fixed 'make dist' so that distro compiles...
5773 * libspi/keymasks.h:
5775 * cspi/spi-listener.c:
5776 KeystrokeListenerCB now returns a boolean.
5778 Added KeyEventType struct, and KeyStroke.
5779 Also added createKeystrokeListener(),
5780 KeystrokeListener_addCallback(),
5781 KeystrokeListener_removeCallback(), and added a keymask to
5782 registerKeystrokeListener().
5783 * cspi/spi_accessible.c:
5784 Changed numerous return types for interfaces from
5785 AccessibleComponent to Accessible<InterfaceName>; this was
5786 probably a cut-and-paste error.
5788 Implementations of new KeystrokeListener api (from spi.h,
5791 Changes to key modifier mapping.
5792 Created ControllerEventMask struct.
5793 Made DeviceEventController derive from Bonobo::Unknown.
5795 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5796 * libspi/deviceeventcontroller.c:
5797 Added a number of new internal (private) methods.
5798 * libspi/editabletext.c:
5799 * libspi/editabletext.h:
5800 Fixed a number of bugs related to the fact that
5801 editabletext inherits from text. Fixed the EditableText struct,
5802 the init() call, and use correct casts when calling Text methods
5803 from an EditableText object. Removed (duplicate) atko from the
5804 EditableText structure, we use the one in the parent Text
5805 structure via the casts mentioned above.
5806 * libspi/keystrokelistener.[ch]:
5807 * libspi/registry.c:
5808 Changes in support of keyboard handling (above).
5810 Keyboard handling, though partly functional, is still not
5811 recommended for at-spi client use as there is considerable
5812 work yet to be done.
5815 Changed some places where pointers to various int types
5816 are cast to be pointers to CORBA_long types and vice-versa:
5817 pointer casting is not safe so we pass pointers of the correct
5818 types and then cast the result before putting it into the target
5821 * libspi/text.h: minor typos corrected.
5823 We now speak not only the name of a Text element, but the
5824 first sentence of its content, when it receives focus.
5825 I also changed the text compression to 75% from 50%.
5826 * util/Accessibility_Util.server.in:
5827 Changed the default magnifier type to be a 3x vertical
5828 splitscreen magnifier (was previously a 2x horizontal one).
5830 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5832 * libspi/keystrokelistener.h:
5833 * libspi/keystrokelistener.c:
5834 Initial functional implementations of KeystrokeListener.
5837 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5839 Fixed string handling for NULL strings in libspi.
5840 Added spi_freeString to free strings returned by C bindings.
5842 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5844 * libspi/keystrokelistener.h:
5845 * libspi/keystrokelistener.c:
5846 Began (no-op) implementations of KeystrokeListener
5848 * libspi/deviceeventcontroller.c:
5849 * libspi/deviceeventcontroller.h:
5850 Began creating implementations of DeviceEventController,
5851 to handle keystroke and mouse event listening and
5853 * libspi/accessible.c:
5854 Stubbed-in the implementations for
5855 Accessibility_Accessible_getState and
5856 Accessibility_Accessible_getRelationSet.
5857 * libspi/registry.c:
5858 Improved de-registration process and fixed some bugs,
5859 deregistration now works correctly.
5861 Added initialization of applications list (to NULL).
5863 Reduced speech compression from 0.5 to 0.7, for demo.
5864 Changed call to gdk_window_set_decorations()
5865 to gtk_window_set_decorated().
5866 * at-bridge/bridge.c:
5867 Bridge now deregisters when app exits, via
5868 registration of a cleanup function
5869 with the g_atexit() call.
5870 Required making 'app' static, renamed 'this_app'.
5871 Fixed broken use of bonobo_init, passing argv wrongly.
5873 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5877 Created a new directory for
5878 accessibility-related utilities, primarily for
5879 testing and demo purposes, but with possible
5886 Onscreen magnifier utility that
5887 is implemented as a bonobo service.
5889 * util/mag_client.c:
5890 * util/mag_client.h:
5891 Client-side support (simple C bindings)
5892 for Magnification service
5894 * util/mag_control.c:
5895 Client program example for
5896 Magnification service
5898 * util/Accessibility_Magnifier.server.in:
5899 Bonobo-activation file for the
5900 Magnification service.
5903 * util/idl/Magnifier.idl:
5904 IDL defining the bonobo Magnification
5908 Modifications to use the bonobo-activated magnifier
5909 above, in place of trying to connect to an existing
5910 magnifier that uses socket-listening IPC.
5912 If env variable MAGNIFIER is set, a magnifier service
5913 will be started if one does not exist.
5915 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5917 * at-bridge/bridge.c:
5918 applied patch from Marc to build and run
5919 against new glib and gtk+ (seemed like a change
5920 to bonobo_init signature was made ?)
5922 made festival-server support turned off by default.
5923 Added support for a simple magnifier (off by default)
5924 which will be added to a 'util' directory later.
5925 * at-bridge/Makefile.am:
5926 Changed "application.h" header from a 'source'
5927 to a 'dependency' of libat-bridge.
5929 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5938 Added interface implementation c files to list of
5939 includes so they are included in libcspi.
5942 Changed prototype of AccessibleAction_doAction to return a
5944 Changed prototype of AccessibleTable_getCaption to
5945 return an Accessible.
5946 Changed prototype of AccessibleTable_getSelectedRows
5947 and AccessibleTable_getSelectedColumns to
5948 return a long (returns the number of selected rows
5949 or columns respectively).
5950 Changed name of AccessibleText_refRunAttributes to
5951 AccessibleText_getAttributes.
5952 Changed prototype of AccessibleText_getCharacterExtents to
5953 return a void rather than a boolean.
5954 Added support for a AccessibleCoordType parameter
5955 specifying what type of coordinates are desired.
5956 Added an AccessibleCordType parameter to
5957 AccessibleText_getPointAtOffset.
5959 * cspi/spi_accessible.c:
5960 Added code to return the outstanding interfaces from
5961 Accessible_queryInterface.
5963 * cspi/spi_action.c:
5965 Corrected call to getNActions to call the c binding
5968 * cspi/spi_editabletext.c:
5970 Changed name from setRunAttributes to setAttributes.
5972 * cspi/spi_hyperlink.c:
5974 Changed call to getNAnchors to correctly call the c
5975 binding for an attribute.
5977 * cspi/spi_hypertext.c:
5979 Changed getImageDescription to correctly call the
5980 binding for an attribute.
5982 * cspi/spi_selection.c:
5983 Changed getNSelectedChildren to correctly call the c
5984 binding for the attribute.
5985 Changed refSelectedChild to getSelectedChild.
5989 Changed getCaption to return an Accessible.
5990 Fixed calls which retrieve attributes.
5991 Changed refAt to getAccessibleAt.
5992 Changed getNSelectedRows and getNSelectedColumns to
5996 Changed getCharacterExtents and getPointAtOffset to accept an
5997 AccessibleCoordType.
5999 Changed calls which retrieve attributes.
6000 Changed refRunAttributes to getAttributes.
6005 * idl/Hyperlink.idl:
6006 Changed n_anchors attribute to nAnchors to keep naming
6007 convention consistent.
6010 Made Table inherit from Bonobo::Unknown.
6011 Added nSelectedColumns and nSelectedRows attributes.
6014 Made Value inherit from Bonobo::Unknown.
6016 * libspi/hyperlink.c:
6017 Change for nAnchors attributte name change.
6019 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6027 Added interface implementation c files to list of
6028 includes so they are included in libcspi.
6031 Changed prototype of AccessibleAction_doAction to return a
6033 Changed prototype of AccessibleTable_getCaption to
6034 return an Accessible.
6035 Changed prototype of AccessibleTable_getSelectedRows
6036 and AccessibleTable_getSelectedColumns to
6037 return a long (returns the number of selected rows
6038 or columns respectively).
6039 Changed name of AccessibleText_refRunAttributes to
6040 AccessibleText_getAttributes.
6041 Changed prototype of AccessibleText_getCharacterExtents to
6042 return a void rather than a boolean.
6043 Added support for a AccessibleCoordType parameter
6044 specifying what type of coordinates are desired.
6045 Added an AccessibleCordType parameter to
6046 AccessibleText_getPointAtOffset.
6048 * cspi/spi_accessible.c:
6049 Added code to return the outstanding interfaces from
6050 Accessible_queryInterface.
6052 * cspi/spi_action.c:
6054 Corrected call to getNActions to call the c binding
6057 * cspi/spi_editabletext.c:
6059 Changed name from setRunAttributes to setAttributes.
6061 * cspi/spi_hyperlink.c:
6063 Changed call to getNAnchors to correctly call the c
6064 binding for an attribute.
6066 * cspi/spi_hypertext.c:
6068 Changed getImageDescription to correctly call the
6069 binding for an attribute.
6071 * cspi/spi_selection.c:
6072 Changed getNSelectedChildren to correctly call the c
6073 binding for the attribute.
6074 Changed refSelectedChild to getSelectedChild.
6078 Changed getCaption to return an Accessible.
6079 Fixed calls which retrieve attributes.
6080 Changed refAt to getAccessibleAt.
6081 Changed getNSelectedRows and getNSelectedColumns to
6085 Changed getCharacterExtents and getPointAtOffset to accept an
6086 AccessibleCoordType.
6088 Changed calls which retrieve attributes.
6089 Changed refRunAttributes to getAttributes.
6094 * idl/Hyperlink.idl:
6095 Changed n_anchors attribute to nAnchors to keep naming
6096 convention consistent.
6099 Made Table inherit from Bonobo::Unknown.
6100 Added nSelectedColumns and nSelectedRows attributes.
6103 Made Value inherit from Bonobo::Unknown.
6105 * libspi/hyperlink.c:
6106 Change for nAnchors attributte name change.
6109 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6111 implementations-- made server implementations own AtkObject pointers
6112 rather than their respective AtkInterrface pointers to fix
6113 refcounting. AtkHyperlink is still broken.
6115 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6116 * cspi/spi_accessible.c:
6117 Added method Accessible_Role_getName(),
6118 and requisite string array (role_names).
6119 Added conversion string_from_corba_strin() call
6120 to Accessible_getName and _getDescription.
6121 * libspi/accessible.c:
6122 Added implementation for Accessible_getRole()
6124 Added festival support, used if environment variable
6127 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6129 * at-bridge/bridge.c:
6130 Now allocate Accessibility_Event using
6131 Accessibility_Event__alloc() instead of g_new0().
6132 * libspi/accessibleeventlistener.c:
6133 Initialize AccessibleEventListener->callbacks to NULL.
6134 Fixed accessible__event_listener_init() param, changed to
6135 "AccessibleEventListener *" type.
6136 Changed a bonobo_object_release_unref() call to
6137 Accessibility_Accessible_unref().
6138 * libspi/listener.c:
6139 Changed Bonobo_Unknown_unref to (equivalent)
6140 Accessibility_Accessible_unref.
6141 * libspi/registry.c:
6142 Changed bonobo_object_release_unref to
6143 Accessibility_Accessible_unref.
6145 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6148 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6149 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6150 spi-util.c spi-util.h
6151 Implementations for C bindings to remaining accessibility
6154 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6157 changed return value of Action from void to boolean to
6158 bring in line with ATK.
6161 Changed getText funcions to return "out" start and end offsets.
6162 Changed getAttributes to take and offset and return the start
6163 and end offset of the attribute run.
6164 Changed getOffsetAtPoint and getCharacterExtents to take an
6165 enum describing whether coordinates are window or screen.
6168 libspi/action.c libspi/action.h libspi/editabletext.c
6169 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6170 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6171 libspi/image.h libspi/selection.c libspi/selection.h
6172 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6173 libspi/value.c libspi/value.h
6174 Added server implementations for outstanding ATK interfaces
6175 not yet implemented.
6177 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6180 Added (missing) getName() method.
6181 Made nActions an attribute.
6182 * idl/EditableText.idl:
6183 Changed order of params in setAttributes.
6184 * idl/Hyperlink.idl:
6185 Removed getAnchor, added getURI.
6187 Changed attributes to methods, for efficiency
6188 (so that getting extents can be done in one call)
6189 * idl/Selection.idl:
6190 Changed nSelectedChildren to attribute, and re-indented.
6191 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6193 * idl/Text.idl: reformatted to match our coding style.
6194 (temporarily?) removed getRowColumnAtOffset().
6195 Changed text selection API to support multi-select and
6196 non-contiguous selections, as in ATK.
6197 * idl/Value.idl: changed some methods to attributes.
6199 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6201 * libspi/listener.c(impl_notify_event):
6202 BonoboUnkown_unref the source instead
6203 of bonobo_object_release_unref - the ORB
6204 handles the releasing.
6206 * configure.in: require ORBit-2.3.94 for
6209 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6211 Tagged CVS repository 'EA_1_0'.
6212 * README.EARLY_ACCESS:
6213 Alphabetized acknowledgements list, and
6215 Listed some known dependencies of at-spi.
6217 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6219 * docs/at-spi-docs.sgml:
6220 * docs/at-spi-sections.txt:
6221 * docs/at-spi-overrides.txt: (Added zero-length file)
6222 Documentation improvements - gtk-doc should build
6223 docs for all implemented C bindings now.
6226 * cspi/spi.c: (New file)
6227 * cspi/spi_event.c: (New file)
6228 * cspi/spi_registry.c: (New file)
6229 * cspi/spi_accessible.c: (New file)
6230 * cspi/spi_application.c: (New file)
6231 * cspi/spi_component.c: (New file)
6232 Split spi_main.c into six parts, and included them from
6233 "spi.c". This is a bit of a hack, probably temporary,
6234 but required by gtk-doc, apparently.
6236 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6239 * docs/at-spi-docs.sgml:
6240 * docs/at-spi-sections.txt:
6242 Initial checkins/modifications for gtk-doc generation.
6245 Added (missing) interface query methods to Accessible's C binding.
6247 Added GenericInterface type definition.
6249 Added query for AccessibleComponent interface to focus event handler.
6250 Added printout of bounding box for focussed component.
6251 * libspi/component.c:
6252 Added partial implementation for AccessibleComponent to C binding.
6253 * idl/Application.idl:
6254 * libspi/registry.c:
6255 * libspi/listener.c:
6256 * libspi/application.c:
6257 * libspi/application.h:
6258 Changed "ID" attribute type from string to long.
6260 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6264 Made method naming consistent: methods taking object args
6265 start with uppercase, other methods (except those using
6266 acronyms) start with lowercase. Underscores delimit between
6267 object names and method names:
6268 SPI_init() - uppercase since it starts with an acronym.
6269 getDesktopCount () - lowercase start since no object param0.
6270 Accessible_getName() - uppercase object type name, studlyCaps method
6274 Added gtk-doc documentation for all currently implemented
6275 methods in the C bindings API.
6277 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6279 * Makefile.am : changed build order to build test last.
6282 Changed "createEventListener" to "CreateEventListener".
6283 * libspi/accessibleeventlistener.c :
6284 Bugfix for addition of callbacks.
6285 * test/Makefile.am :
6286 * test/simple-at.c :
6287 Added new test that uses the C bindings API.
6289 * libspi/listener.c :
6290 * libspi/registry.c :
6291 * libspi/accessibleeventlistener.c :
6292 * at-bridge/bridge.c :
6293 Renamed member "target" of Accessibility_Event to "source",
6294 which is more descriptive.
6297 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6301 * cspi/Makefile.am :
6302 Added makefile support for at-spi/cspi directory.
6305 * cspi/spi-listener.h : (NEW FILE)
6306 Added support for/use of spi-listener.h.
6308 C bindings now build successfully, with no warnings.
6309 * libspi/accessibleeventlistener.h : (NEW FILE)
6310 * libspi/accessibleeventlistener.c : (NEW FILE)
6311 * libspi/Makefile.am :
6312 Added new object type "AccessibleEventListener"
6313 which inherits from Listener, and allows attachment
6314 of in-process callbacks (so that a client with a listening
6315 object instance can add functionality to the local
6316 implementation, dynamically).
6318 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6320 * libspi/accessible.c:
6321 Add implementation for get_index_in_parent().
6323 Added #include of "spi-roletypes.h", and
6324 added enumerated type AccessibleCoordType.
6325 Added definition for KeystrokeListener (function type).
6328 * cspi/spi-statetypes.h :
6329 * cspi/spi-roletypes.h :
6331 Added these headers, used by spi.h.
6333 Added code (NOTE: not yet built by make).
6335 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6337 * libspi/Makefile.am: generate imodule
6338 at the same time as other idl compiler
6341 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6342 * libspi/registry.c :
6343 * libspi/application.c :
6344 * idl/Application.idl :
6345 Made registration with toolkit an application method,
6346 which is required since each app has its own toolkit static
6347 environment. Thus the bridge must register for
6348 notification of toolkit events from each application in turn.
6349 Toolkit notifications are now successfully registered for, and
6350 sent to the listening at client.
6352 Changed toolkit event string to use hyphens rather than underscores.
6353 * libspi/listener.c :
6354 listner now gives more info in debug mode - it reports the
6355 name of the event received, as well as the name of the source.
6358 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6360 * libspi/registry.c :
6361 added more implementation for toolkit events.
6362 Fixed bug such that toolkit event registrations
6363 (via atk) use the whole event name string, not
6365 Removed a useless call to an ORBit_ method.
6366 * at-bridge/bridge.c :
6367 Removed unused local sbuf[] variable.
6369 We now register for Gtk:GtkWidget:button_press_event
6370 events as well as "focus:" events.
6372 Add some more API from Registry.idl that was missing,
6373 for keystroke listening, keystroke and mouse event
6374 synthesis, and enumeration of accessible desktops.
6376 2001-08-16 Michael Meeks <michael@ximian.com>
6378 * configure.in: use AM_GLIB_GNU_GETTEXT.
6380 * Makefile.am (SUBDIRS): kill intl.
6382 2001-08-15 Michael Meeks <michael@ximian.com>
6384 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6386 * configure.in: upd.
6388 * configure.in: depend on a recent bonobo-activation that
6389 will find our server files ...
6391 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6393 * libspi/accessible.c : accessible_new() :
6394 Now we add the Component interface via bonobo_object_add_interface,
6395 if the contained AtkObject implements AtkComponent.
6396 * libspi/accessible.h : now include "component.h"
6397 * libspi/component.h :
6398 * libspi/component.c : added files - implementation of
6399 bonobo wrapper object for Accessibility/Component
6400 * libspi/listener.c :
6401 Added test code to check for Accessibility/Component:1.0
6402 interface and report whether it is implemented by the
6404 * libspi/registry.c :
6405 Now we check for not only the hash of the whole event
6406 string before relaying the event, we also check the
6407 "minor" event string (without the detail string).
6408 This allows event listeners to be registered against
6409 all events of a certain major+minor type, or just
6410 against a specific major+minor+detail type.
6411 * libspi/accessible.c :
6412 Added implementations for Accessible:get_parent(),
6413 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6414 * libspi/registry.c :
6415 * libspi/listener.c :
6416 Replaced calls to Accessibility_Accessible_ref() and
6417 Accessibility_Accessible_unref() with
6418 calls to bonobo_object_dup_ref() and
6419 bonobo_object_release_unref(), so that the CORBA object
6420 is dup-ed and released when relayed, as well as the bonobo object.
6422 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6424 * libspi/Makefile.am,
6425 registryd/Makefile.am,
6426 at-bridge/Makefile.am.
6427 test/Makefile.am, configure.in:
6428 reverse previous changes.
6430 * /idl/Image.idl: fix typo.
6432 * test/Makefile.am: put DEBUG_FLAGS
6435 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6437 * test/app.c: use argv[0] instead of
6440 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6442 * libspi/Makefile.am,
6443 registryd/Makefile.am,
6444 at-bridge/Makefile.am.
6445 test/Makefile.am, configure.in:
6446 cleanup, replace individual LIBS/CFLAGS with
6447 AT_COMMON_{LIBS|CFLAGS}.
6451 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6453 * configure.in, libspi/Makefile.am:
6454 Change IDL path checking for bonobo-activation
6457 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6459 * registryd/registry.c : separated event listeners to use
6460 3 separate lists (focus, window, toolkit). Began testing
6461 event names against hashes before relaying events.
6462 * test/at.c : now register for events of type "focus:"
6463 * test/app.c : now generate events of type "focus:"
6464 * at-bridge/bridge.c : register with ATK for focus events,
6465 and we now relay those focus events to any "focus:" listeners.
6466 This now works with the bridge as a GTK_MODULE when running test/at.
6467 * libspi/registry.c :
6468 * libspi/listener.c :
6469 now we ref event sources before propagating, and unref on receipt.
6470 * libspi/registry.c :
6471 some changes to internal structs, to support event typestring hashes.
6472 * text/app.c : changed the way the appname is generated.
6473 * cspi : added directory that will hold the C bindings library for
6474 non-CORBA/bonobo-savvy clients.
6475 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6476 * idl/Component.idl : added in parameter to indicate coord system for
6477 geometry-related calls.
6478 * idl/Hyperlink.idl : added readonly n_links attribute
6479 * idl/Image.idl : changed methods to attributes.
6481 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6483 * at-bridge/Makefile.am: link against
6484 ../libspi/libspi.la instead of -lspi.
6486 * at-spi/test/app.c: include
6487 bonobo-activation.h. Use a default appname
6488 if one is not provided.
6490 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6492 * idl/Registry.idl : temporarily changed register_Application
6493 to oneway, to work around issue with initial registration
6495 * idl/Application.idl : changed attribute "id" from readonly
6496 to read-write, since it needs to be assigned by Registry.
6497 * registryd/registryd.c : added call to set application id
6499 * registryd/registry.c : changed de-registration procedure to
6500 use CORBA_Object_hash() to find matching object ref in application
6501 lists and listener lists.
6502 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6503 began distinguishing between event types (work in progress).
6505 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6508 * libspi/application.c:
6509 Added implementations for get/set id, get_toolkitName,
6511 * registryd/registryd.c :
6515 Converted from use of OAF to bonobo-activation.
6516 * libspi/desktop.h :
6517 * libspi/desktop.c :
6519 Removed references to atksimpleobject, since base atkobject
6520 implementation now provides functionality we need.
6521 * libspi/atksimpleobject.c :
6522 * libspi/atksimpleobject.h :
6527 * at-bridge/Makefile.am
6528 * at-bridge/bridge.c
6531 Added directory "bridge" and contents, and added dependencies
6532 in Makefile.am/configure.in.
6533 Initial checkin of "at-bridge".
6534 This code is a GTK_MODULE which automatically registers
6535 GTK+ apps with the accessibility registry, using an object
6536 reference to the root ATK object.
6538 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6540 * po/Makefile.in.in: Remove. Again. If this
6541 doesn't get autogenerated - you need to update
6544 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6546 * po/Makefile.in.in: Add. Again.
6548 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6550 * libspi/accessible.c : added support for 'description' property.
6551 * libspi/accessible.c
6553 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6554 (since the two are now equivalent in libbonobo)
6562 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6563 Bonobo::Unknown as does Accessibility::Accessible.
6564 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6565 interface with Bonobo::Stream, since it was redundant with it.
6566 (The Stream returned by a StreamableContext object is expected to
6567 implement only a subset of Bonobo::Stream)
6569 2001-07-28 Anders Carlsson <andersca@gnome.org>
6571 * libspi/accessible.c (accessible_object_finalize): Change
6572 g_free to g_object_unref since the AtkObject is a GObject.
6574 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6576 * idl/Accessibility.idl: add new IDL files
6579 * idl/Action.idl: Definitions of actionable UI object
6580 * idl/Component.idl: Definitions of UI component geometry, etc.
6581 * idl/Hyperlink.idl: Defs of hyperlink behavior
6582 * idl/Image.idl: Def of accessible image
6583 * idl/Selection.idl: Definition of UI object with selectable children
6584 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6585 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6586 * idl/Text.idl: Interface defs for UI elements with complex textual content
6587 * idl/Value.idl: Definition of UI element that is a value controller or display
6589 2001-07-27 Michael Meeks <michael@ximian.com>
6591 * po/Makefile.in.in: remove autogenerated file from CVS.
6593 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6596 * idl/Registry.idl: include guard.
6598 * idl/Accessibility.idl: Add, and include all the other IDL
6601 * idl/*.idl: remove mass of pragmas etc.
6603 2001-07-26 Michael Meeks <michael@ximian.com>
6605 * registryd/Makefile.am (registryd_SOURCES): remove
6608 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6610 * libspi/.cvsignore, registryd/.cvsignore,
6611 test/.cvsignore: updated.
6613 * po/Makefile.in.in: gettext update.
6615 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6617 * initial CVS checkin
6619 2001-06-29 Michael Meeks <michael@ximian.com>
6621 * configure.in: add AM_CONFIG_HEADER to gen config.h