1 2003-12-01 Bill Haneman <billh@gnome.org>
3 Fix for bug/rfe #127463.
5 * idl/Accessibility_Accessible.idl:
6 (getLocalizedRoleName): New.
7 (unimplemented4): Removed (replaced by above).
10 (impl_accessibility_accessible_get_local_role_name): New.
11 (spi_accessible_class_init): Add getLocalizedRoleName entry to
15 (Accessible_getLocalizedRoleName): New.
17 * cspi/spi_accessible.c:
18 (Accessible_getLocalizedRoleName): New.
20 2003-12-01 Bill Haneman <billh@gnome.org>
23 * idl/Accessibility_Text.idl:
24 (getDefaultAttributes): New.
25 (unimplemented4): Removed (replaced by above method).
28 (impl_getDefaultAttributes): New method.
29 (spi_text_class_init):
30 initialize the get_default_attributes slot in the epv.
33 (AccessibleText_getDefaultAttributes): New prototype.
36 (AccessibleText_getDefaultAttributes): New method.
38 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
40 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
41 write beyond the end of the table. Fixes bug #120473.
43 2003-09-30 Christian Rose <menthos@menthos.com>
45 * configure.in: Added "eu" to ALL_LINGUAS.
47 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
49 * configure.in: ALL_LINGUAS: Added no.
51 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
53 * configure.in: Added lt to ALL_LINGUAS.
55 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
57 * atk-bridge/bridge.c:
58 (atk_bridge_init): Register event listeners always even for
59 out-of-process applet.
60 (spi_atk_bridge_toplevel_added): Remove call to
61 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
62 (spi_atk_bridge_toplevelk_removed): Remove call to
63 spi_atk_deregister_event_listenersa as the listeners are now always
65 (spi_atk_bridge_register_application): Remove call to
66 spi_atk_register_event_listeners as it is not done in atk_bridge_init
68 This fixes bug #120991.
70 * libspi/table.c (impl_getColumnDescription): Correct typo,
71 pointed out by Bolian.Yin@sun.com.
73 2003-09-21 Åsmund Skjæveland <aasmunds@fys.uio.no>
75 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
77 2003-09-08 Bill Haneman <billh@gnome.org>
79 * configure.in: Revved to 1.3.7.
81 This is the GNOME 2.4.0 release of at-spi.
83 * docs/reference/cspi/Makefile.am:
84 Removed spurious inclusion of 'index.sgml' in the
85 html directory; this was breaking make distcheck and
86 also some other build environments.
88 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
90 * registryd/registry.[ch}:
91 Add queue_handler_id and focus_object to SpiRegistry data structure.
92 (registry_flush_event_queue): If event being discarded is
93 "state-change:focused" store object as focus_object.
94 (registry_start_queue): Remove queue handler and focus object
96 (registry_discard_event): New function which discards a focus event
97 if we had stored focus object in the registry.
98 (registry_queue_event): Add new check that is_queueing is set as this
99 function is reentrant.
100 (registry_filer_event): Add call to registry_discard_event.
102 This resolves issues raised in bug #108664.
104 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
106 * configure.in: Added "bn" to ALL_LINGUAS.
108 2003-09-04 Bill Haneman <billh@gnome.org>
110 * cspi/spi_event.c: Documentation improvements for
111 (SPI_registerAccessibleKeylistener).
113 * docs/reference/tmpl/spi_registry.sgml:
114 Documentation improvements for SpiAccessibleKeylistenerCB.
116 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
118 * configure.in: Added "ro" to ALL_LINGUAS.
121 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
123 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
124 not decremented to zero. Fixes bug #120725.
126 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
128 * configure.in: Added "ja" to ALL_LINGUAS.
130 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
132 * configure.in: Added "is" to ALL_LINGUAS.
134 2003-08-22 Christian Rose <menthos@menthos.com>
136 * configure.in: Added "nl" to ALL_LINGUAS.
138 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
140 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
141 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
143 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
145 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
146 type for unspecified exception.
147 * cspi_streamablecontect): Add include of string.h for memcpy.
148 (stream_release): Correct call to bonobo_object_release_unref
149 (stream_cache_item_free): Correct call to bonobo_object_release_unref
150 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
151 argument of _cspi_expection_throw.
152 * libspi/hyperlink.c: Add include of libspi/action.h:
153 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
154 * libspi/streamablecontent.c: add include of libspi/component.h.
155 * regisrtyd/deviceeventcontroller.c:
156 (spi_dec_translate_mask): Removed unused variable priv.
157 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
158 * registryd/registry.c:
159 (registry_filter_event): Remove unused variable queue_is-empty.
160 (impl_registry_notify_event): Use correct modifier in fprintf call.
162 This fixes compiler warnings reported in bug #120220.
164 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
166 * registryd/registryd.c: Remove this file.
168 2003-08-17 Sanlig Badral <badral@openmn.org>
170 * configure.in: Added mn to ALL_LINGUAS.
172 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
174 * configure.in: Added et to ALL_LINGUAS.
176 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
178 * test/event-listener-test.c: Change active-descendant to
179 active-descendant-changed.
181 2003-08-10 Sami Pesonen <sampeson@iki.fi>
183 * configure.in: Added "fi" in ALL_LINGUAS.
185 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
187 * configure.in: Added "hi" in ALL_LINGUAS.
189 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
191 * configure.in: Revved to 1.3.6.
195 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
197 * registryd/deviceeventcontroller.c
198 (spi_device_event_controller_object_finalize): Fix typo in previous
201 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
203 * registryd/deviceeventcontroller.c
204 (spi_device_event_controller_object_finalize): Fix build on
205 systems without XEvIE.
207 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
209 * acconfig.h, configure.in, registryd/Makefile.am,
210 registryd/devicecontoller.[ch]: Add XEViE support.
212 2003-08-06 Wang Jian <lark@linux.net.cn>
214 * configure.in: Added "zh_CN" to ALL_LINGUAS.
216 2003-08-06 Metin Amiroff<metin@karegen.com>
218 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
220 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
222 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
223 MODIFIER_ALT in correct place.
225 This fixes part of bug #118114.
227 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
229 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
231 2003-07-28 Changwoo Ryu <cwryu@debian.org>
233 * configure.in: Added "ko" to ALL_LINGUAS.
235 2003-07-28 Ole Laursen <olau@hardworking.dk>
237 * configure.in: Added "da" to the commented out ALL_LINGUAS.
239 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
241 * configure.in: Added "sq" to ALL_LINGUAS.
243 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
245 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
247 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
249 * configure.in: updated ALL_LINGUAS list
251 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
253 * configure.in: Added Belarusian to ALL_LINGUAS.
255 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
257 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
259 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
260 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
262 This fixes bug #116949.
264 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
266 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
267 Correct CSPI to SPI in function documentation.
269 This fixes bug #118054.
271 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
273 * configure.in: Added Russian to ALL_LINGUAS.
275 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
277 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
279 2003-07-14 Danilo Šegan <dsegan@gmx.net>
281 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
283 2003-07-10 Joel Brich <joel.brich@laposte.net>
285 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
287 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
289 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
291 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
293 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
294 resources allocated for AccessibleEvent. See cspi_event().
296 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
297 static variable streams to NULL.
299 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
300 Update so that AcessibleEvent_ref will work.
302 This fixes bug #116624.
304 2003-07-06 Jordi Mallach <jordi@sindominio.net>
306 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
308 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
310 * configure.in: Added "fr" (French) to ALL_LINGUAS.
312 2003-07-02 Christian Neumair <chris@gnome-de.org>
314 * configure.in: Added "de" (German) to ALL_LINGUAS.
316 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
318 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
320 2003-07-01 Miloslav Trmac <mitr@volny.cz>
322 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
324 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
326 * configure.in: Added "pl" to ALL_LINGUAS.
328 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
330 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
332 2003-06-30 Bill Haneman <bill.haneman@sun.com>
335 (get_action_from_servant):
336 Removed assertion that action is implemented on an AtkObject.
338 * libspi/hyperlink.c:
340 Aggregate AccessibleAction interface on the hyperlink object if
341 the object implements AtkAction. (This convention is used in
344 2003-06-30 Bill Haneman <bill.haneman@sun.com>
346 * configure.in: Revved to 1.3.5.
348 * registryd/Accessibility_Registry.server.in.in:
349 Marked up appropriate strings for translation.
351 * atk-bridge/bridge.c: Marked a couple of
352 user-visible warnings for translation. Questionable
353 whether they are really useful, but possibly so.
356 2003-06-28 Christian Rose <menthos@menthos.com>
358 * configure.in: Added "sv" to ALL_LINGUAS.
360 2003-06-26 Bill Haneman <bill.haneman@sun.com>
362 * registryd/registry.c:
363 (spi_registry_object_finalize): Unref the deviceeventcontroller.
364 (registry_defer_on_event): Defer focus: events, this is an
365 improvement to the patch for bug #108664.
367 * TODO: Update with 2.4/"Dev Complete" items.
369 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
371 * atk-bridge/bridge.c:
372 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
373 looks up signals once.
374 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
375 if doing registration.
376 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
377 when doing registration.
379 This fixes bug #115014.
381 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
383 * atk-bridge/bridge.c:
384 (atk_bridge_init): Add signal handler for children-changed:remove on
385 root when in a BonoboComponent.
386 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
387 for first toplevel only other incrememt variable toplevels.
388 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
389 application and remove listeners.
390 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
392 (spi_atk_deregister_event_listeners): New function which removes
394 (reinit_register_vars): New fuction which reinitializes variables.
396 This fixes bug #111578.
398 2003-06-13 Bill Haneman <bill.haneman@sun.com>
400 * configure.in: version 1.3.4.
402 * cspi/spi_accessible.c:
403 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
406 2003-06-13 Michael Meeks <michael@ximian.com>
408 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
410 * cspi/spi_main.c (cspi_peek_ev): impl.
412 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
414 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
416 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
418 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
419 SPI_ROLE_AUTOCOMPLETE
421 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
423 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
424 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
426 2003-06-11 Bill Haneman <bill.haneman@sun.com>
428 * libspi/streamablecontent.h:
429 * libspi/streamablecontent.c:
430 New files, provide implementation/wrappers for
431 Accessibility_StreamableContent.
433 * cspi/spi_streamablecontent.c:
434 Connected the C wrappers to the libspi C bindings.
435 (AccessibleStreamableContent_close): New method.
438 (AccessibleStreamableContent_close): New method, needed
439 since we have an "open, [seek], read, close" model in cspi.
441 2003-06-11 Bill Haneman <bill.haneman@sun.com>
443 Fix for #108664; Padraig's revision of my original patch.
445 * registryd/registry.h:
446 Added event queue list, is_queuing, and exit_notify_timeout
447 to the registry struct.
449 * registryd/registry.c:
450 (registry_init): Initialize new struct from registry.h.
451 (impl_registry_notify_event):
452 Filter events before notifying, in case some need to be
454 (registry_filter_event): New,
455 we defer certain incoming events (for instance
456 window:deactivate) because we may wish to hide
457 or reject them based on pending events. This is
458 mostly a workaround for bug #108664.
459 (registry_queue_event, registry_start_queue): New.
460 (registry_defer_on_event): Test event to see if it
462 (registry_reset_on_event): Returns TRUE if the
463 event should cause a queue reset.
464 (registry_discard_on_event): Returns TRUE if the event
465 should cause the previous queue contents to be discarded.
466 (registry_timeout_flush_queue): Flushes the pending event
467 queue if no reset/discard-triggering events have come in
468 within the timeout period.
469 (registry_emit_event): New.
470 (registry_clone_notify_context): New, used when queueing the
471 event notify contexts.
473 2003-06-10 Bill Haneman <bill.haneman@sun.com>
475 * configure.in: Version revved to 1.3.2, lt 0.9.2
476 Incremented ATK required version to 1.3.4.
478 * cspi/spi_registry.c:
479 (SPI_generateKeyEvent):
480 We now pass the keystring along if it's non-null.
482 * registryd/deviceeventcontroller.c:
483 (keysym_mod_mask): New method, returns modifier mask
484 required to generate a keysym from a given keycode.
485 (dec_synth_keysym): New method.
486 (dec_synth_keystring): New method.
487 (dec_get_modifier_state): New method.
488 (dec_lock_modifiers): New
489 (dec_unlock_modifiers): New.
490 (dec_keysym_for_unichar): New, rather brute-force
491 conversion from UCS-4 to X KeySyms. Only works for
492 Latin at the moment, with partial implementations for
493 Greek, Hebrew, and (incomplete) Katakana.
494 (impl_generate_keyboard_event): Now implement
495 "KEYSTRING" synthesis and implement "KEYSYM"
497 (keycode_from_keysym): Improved, passes a returned
498 modmask value now if the corresponding param is non-NULL.
500 Fixes bugs #92143 and #109776.
503 * test/keysynth-test.c:
504 New test program for key synthesis, to confirm fixes for
508 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
510 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
512 * cspi/spi_accessible.c (cspi_init_relation_type_table):
513 Add line for RELATION_POPUP_FOR
515 * docs/reference/cspi/tmpl/spi_relation.sgml:
516 Add relation SPI_RELATION_POPUP_FOR
518 * docs/reference/cspi/tmpl/spi_stateset.sgml:
519 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
521 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
523 * libspi/relation.c (spi_init_relation_type_table):
524 Add line for RELATION_POPUP_FOR
526 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
528 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
529 there are still windows which have not been deleted and emit
530 window:deactivate, if necessary and window:destroy events.
531 This fixes bug #114370. The change on June 5th was not correct.
533 2003-06-09 Bill Haneman <bill.haneman@sun.com>
535 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
538 (SPI_dupString): Allow dup-ing of a string such that it's safe to
540 New methods for client exception handling and interception.
541 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
542 (SPI_exceptionHandlerPop): You guessed it...
543 (SPI_getSourceType): Return the type of object which offended.
544 (SPI_getExceptionCode): Return an enum code telling, possibly,
545 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
546 (SPIAccessibleException_getSource): get the source object for
547 exceptions that come from Accessibles, if SPIExceptionSourceType is
548 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
549 (SPIException_getDescription): New, returns a string description of
550 the problem. [Not yet a stable ABI, strings are not frozen]
552 * cspi/spi-private.h:
553 Added implementation details of opaque SPIException
557 Implementations of above. Also
558 (_cspi_exception_throw): new private method that
559 dispatches exceptions to handlers, called from cspi-bonobo.c
561 * cspi/bonobo/cspi-bonobo.c:
562 (cspi_check_ev): call _cspi_exception_throw.
563 Don't print a warning message if the exception has been
564 handled by _cspi_exception_throw.
566 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
568 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
569 there are still windows which have not been deleted and emit
570 window:deactivate, if necessary and window:destroy events.
571 This fixes bug #114370.
573 2003-06-03 Bill Haneman <bill.haneman@sun.com>
576 (cspi_accessible_is_a): Make non-fatal
577 if the object reference is dead.
579 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
581 * cspi/spi_main.c: #include <stdio.h>
582 * test/simple-at.c: ditto
583 * test/event-listener-test.c: ditto
584 * test/screen-review-test.c: ditto
586 2003-05-30 Michael Meeks <michael@ximian.com>
588 * test/test-simple.c (main): use CORBA_ORB_perform_work
589 instead of an unnecessary linc_ call.
591 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
593 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
594 Add SPI_STATE_INDETERMINATE.
596 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
599 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
601 * libspi/stateset.c (init_state_type_tables): Add support for
604 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
606 * configure: Update versions of atk and gail required.
607 This fixes bug #113268.
609 2003-05-02 Bill Haneman <bill.haneman@sun.com>
611 * configure.in: Revved micro version to 1.3.1 (because of build fix).
613 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
615 * libspi/Makefile.am:
616 Ensure headers are generated before being used by c sources.
618 2003-05-01 Bill Haneman <bill.haneman@sun.com>
621 Simplified lt versioning rules.
622 Incremented version to 1.3.0, to indicate that we're on the
625 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
627 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
628 Add MKDB_OPTIONS=--outtput-format=xml
630 * docs/reference/cspi/at-spi-cspi-docs.sgml
631 docs/reference/idl/at-spi-idl-docs.sgml:
632 Convert to Docbook XML.
634 This fixes bug #111793.
636 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
638 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
639 AcccessibleKeyEventType, AccessibleKeyMaskType.
641 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
643 * cspi/state-types.h: Add documentation for AccessibleState.
645 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
646 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
647 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
648 AccessibleComponentLayer.
650 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
653 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
655 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
656 Accessible. Add description of AccessibleEvent,
657 AccessibleEventListenerCB.
659 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
662 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
663 documentation. Add description of AccessibleKeystrokeListenerCB,
664 AccessibleKeyEventMask, AccessibleModifierMaskType,
665 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
666 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
668 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
671 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
674 This fixes bug #104730.
676 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
678 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
679 Set is_text field of Accessibility_DeviceEvent data structure.
681 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
682 is-text field of AccessibleDeviceEvent data structure.
684 This addresses part of bug #108666.
686 * registryd/devcieeventcontroller.c: Unset debug option.
688 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
691 (cpi_initial_relation_type_table): New function which initializes
692 mapping between Accessibility_RelationType and AccessibleRelationType.
693 (cspi_relation_type_from_spi_relation_type): New function which
694 translates an Accessibility_RelationType into an AccessibleRelationType.
695 (AccessibleRelation_getRelationType): Use
696 cpi_relation_type_get_spi_relation_type to return correct value.
697 (spi_state_to_corba): Return correct type for default case.
699 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
700 Use Accessibility_EventType instead of Accessibility_KeyEventType.
702 * cspi/cspi-bonobo-listener.c:
703 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
706 * libspi/accessible.c, libspi/action.c, libspi/application.c,
707 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
708 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
709 libspi/image.c, libspi/listener.c, libspi/selection.c,
710 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
711 registryd/desktop.c, registryd/registry.c:
712 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
714 * libspi/eventlistener.c
715 Remove semicolon after BONOBO_TYPE_FUNC.
718 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
719 (spi_init_relation_type_table): Initialize using correct type.
721 * registryd/desktop.c:
722 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
723 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
724 of Accessibility_KeyEventType.
726 * test/key-listener-test.c (report_tab_key_event): Use fprintf
729 * tests/simple-at.c, tests/screen-review-test.c:
730 Add include for <strings.h>.
732 * tests.stress-test.c:
733 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
735 These changes fix compiler warnings when using FORTE compiler on
736 Solaris; fixes bug #107479.
739 2003-04-10 Bill Haneman <bill.haneman@sun.com>
742 * configure.in: revved to 1.1.10
745 (SPI_KEYMASK_NUMLOCK): Added.
747 * registryd/deviceeventcontroller.c:
748 (spi_key_event_matches_listener): AND with a smaller
749 bitmask (as we should).
750 (spi_dec_translate_mask):
751 New method, sets the virtual NumLock modifier bit
752 if numlock is on. Eventually it can handle other virtual
753 modifier bits if needed, or other marshalling from
754 at-spi modifier masks to platform (X) masks.
755 (spi_dec_key_listener_new):
756 Call spi_dec_translate_mask to set up virtual mod bits
757 in the 'mask' field when creating a new listener struct.
758 (spi_dec_emit_modifier_event):
759 Set the virtual (i.e. NumLock) bits before emitting event.
760 (spi_controller_register_with_devices):
761 Query for the NumLock modifier 'physical' bit if Xkb is
762 present, for use in above methods.
766 2003-04-10 Bill Haneman <bill.haneman@sun.com>
768 * registryd/deviceeventcontroller.c:
769 (spi_keystroke_from_x_key_event):
770 Instead of checking to see if the keysym is
771 printable, check the string from XLookupString
772 if available, get the first unicode character from it,
773 and call g_unichar_isprint to determine whether the
774 is_text flag should be TRUE or FALSE.
778 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
780 * atk-bridge/bridge.c: Add support for extended events
781 * cspi/spi_event.c: Add documentation and implementation for
783 * tests/event-listener-test.c: Add tests for extended events.
785 This fixes bugs #100424 and #100426.
787 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
789 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
790 of LT_CURRENT. This fixes bug #89350.
792 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
794 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
795 number of signal parameter values before accessing them. This fixes
798 2003-04-01 Bill Haneman <bill.haneman@sun.com>
800 * configure.in: Fixed duplicate inclusion of -lspi.
801 * branched for gnome-2-2/HEAD.
802 [created tag "gnome-2-2"]
804 2003-03-07 Bill Haneman <bill.haneman@sun.com>
806 * configure.in: 1.1.9 release.
809 2003-03-07 Bill Haneman <bill.haneman@sun.com>
811 [needed by GOK, to fix bugs 107985 and 107988]
812 * registryd/deviceeventcontroller.c:
813 (spi_dec_clear_unlatch_pending):
814 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
815 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
816 (spi_dec_init_mouse_listener):Emit warning if mouse button
818 (spi_device_event_controller_forward_mouse_event):
819 Removed unnecessary parens from a conditional.
820 (global_filter_fn):Added TODO comment.
821 (impl_generate_keyboard_event):
822 Cancel a pending relatch if a 'delatching' key was
825 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
827 * atk-bridge/bridge.c:
828 Change atk_signal_child_changed to atk_signal_children_changed.
829 Reorganize code in spi_atk_bridge_signal_listener().
831 * test/event-listener-test.c:
832 Add children_changed_listener and report_children_changed_event()
833 to test AccessibleChildEvent_getChildAccessible.
835 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
837 * cspi/spi_event.c (cspi_internal_event_get_text): Change
838 g_strdup to CORBA_String_dup (bug #105291)
840 * test/event-listener-test.c (report_text_event): Add call to
843 2003-02-28 Bill Haneman <bill.haneman@sun.com>
845 * registryd/deviceeventcontroller.c:
846 (spi_keystroke_from_x_key_event):
847 Fix string and keysym return codes to match modifier state.
850 2003-02-28 Bill Haneman <bill.haneman@sun.com>
852 * registryd/deviceeventcontroller.c:
853 (spi_keystroke_from_x_key_event):
854 Fix segv due to improper use of isprint(c). [bug #107254]
856 2003-02-24 Bill Haneman <bill.haneman@sun.com>
859 (get_accessible_text_boundary_type):
860 Move default return value to (new) default case in switch.
861 (get_accessible_text_clip_type):
862 Move default return value to (new) default case in switch.
864 * libspi/application.c:
865 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
866 Remove unused methods.
867 (impl_accessibility_application_register_object_event_listener):
868 Remove unused methods.
871 Added #include of <math.h>.
873 * registryd/deviceeventcontroller.c:
874 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
875 we don't currently use this method.
876 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
878 (impl_generate_key_event):
879 Remove unused variables.
880 (impl_generate_mouse_event):
881 Initialize button to zero, just in case we get an invalid
882 input. Added support for mouse buttons 4 and 5.
883 (spi_device_event_controller_new):
884 Removed unused variable declaration for 'private'.
886 Added #include of <gdk/gdk.h>
888 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
890 * configure.in: Update to work when X is not installed in expected
891 location. Fixes bug #105836.
893 * atk-bridge/bridge.c
894 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
896 (spi_atk_register_event_listener): Add signal listener for
898 (spi_atk_bridge_signal_listener): Event event when link-selected
899 signal is emitted. (bug #104622)
901 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
902 on returned string. (bug #105291)
904 * test/event-listener-test.c: Add test for link-selected.
906 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
908 * atk-bridge/Makefile.am: Correct typo in previous commit.
910 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
912 * atk-bridge/Makefile.am: Allow for build directory to be different
913 from source directory
915 * registryd/Makefile.am: Allow for build directory to be different
916 from source directory
920 2003-01-29 Bill Haneman <bill.haneman@sun.com>
923 Fixed dependencies for libcspi so that libspi gets pulled in
924 properly. Fixes 104741.
928 Clean up inline docs a little.
930 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
932 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
933 This is done by implementing AtkComponent for SpiAtkDesktop, which is
934 the AtkObject within an SpiDesktop.
935 This addresses bug #101524.
937 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
938 Remove call to gdk_init().
940 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
941 so that Display is set when SpiDesktop is created.
943 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
945 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
946 This fixes bug #102830.
948 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
950 * test/test-simple.c: Update to take account of fact that GailButton
951 now implements AtkText.
952 (create_text_window): Set name on AtkObject for GtkEntry.
953 (validate_accessible): Check accessible name before calling test_text().
955 * libspi/Makefile.am: Fix problem with building outside of source
956 directory. Bug #98120.
958 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
959 typo in documentation comments. Bug #94275.
961 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
963 * libspi/text.c (impl_getBoundedRanges): Bug fix.
965 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
968 Add includes to avoid compiler warnings on Solaris.
969 (impl_getRangeExtents): Bug fix.
971 2002-12-17 Bill Haneman <bill.haneman@sun.com>
973 Fix for 100944, [API addition approved by Gman and murrayc].
980 * idl/Accessibility_Text.idl:
981 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
982 (Text::getRangeExtents): New method for efficient
983 bounds query of a text range.
984 (Text::getBoundedRanges): New method for efficient
985 clipping of text to bounding boxes.
986 (unImplemented7, unImplemented8):
987 Removed these padding methods to preserve bincompat.
990 (impl_getRangeExtents): implementation of new IDL.
991 (impl_getBoundedRanges): implementation of new IDL.
992 (SpiTextRect): Internal use struct.
993 (_spi_text_rect_union): internal method, calculates union of two
994 SpiTextRect bounding rects.
995 (_spi_text_range_seq_from_gslist): internal method, allows us
996 to build our sequence efficiently as a gslist then convert it
998 (_spi_bounds_contain): internal method, determines whether
999 a text character is "in" or "out" of a clip rect according to
1000 values of TEXT_CLIP_TYPE.
1001 (spi_text_class_init): Initialize the new methods in the epv.
1004 (AccessibleTextClipType): New enum used by screen review api.
1005 (AccessibleTextRange): New struct used by screen review api.
1006 (AccessibleText_getRangeExtents):
1007 cspi binding for Accessibility_Text_getRangeExtents.
1008 (AccessibleText_getBoundedRanges):
1009 cspi binding for Accessibility_Text_getBoundedRanges.
1010 (AccessibleTextRange_freeRanges): convenience method.
1013 (AccessibleText_getRangeExtents):
1014 cspi binding for Accessibility_Text_getRangeExtents.
1015 (AccessibleText_getBoundedRanges):
1016 cspi binding for Accessibility_Text_getBoundedRanges.
1017 (AccessibleTextRange_freeRanges): convenience method.
1018 (get_accessible_text_clip_type): internal conversion method.
1019 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1021 * registryd/deviceeventcontroller.c:
1022 (spi_dec_mouse_check):
1023 Improved behavior for mouse:abs events
1024 [same granularity as mouse:rel events, and no
1025 events when mouse is idle].
1027 2002-12-16 Michael Meeks <michael@ximian.com>
1029 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1031 * libspi/stateset.c (state_spi_to_atk): split out
1032 ( fix several remote array bounds nasties )
1033 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1034 (impl_remove): make safe from array bounds issues.
1035 (spi_atk_state_from_spi_state): impl.
1037 * libspi/stateset.h (spi_state_set_cache_is_empty):
1038 add a set of wrapper defines to get layering right.
1040 * cspi/spi_accessible.c: update state set stuff to
1043 2002-12-14 Michael Meeks <michael@ximian.com>
1045 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1046 to avoid 2 roundtrips to the registry per key event
1047 (spi_atk_bridge_key_listener): upd.
1048 (deregister_application): release the dec.
1050 * registryd/registry.c (notify_listeners_cb):
1051 bin lots of re-enterant complexity - we no longer
1052 do a round-trip bonobo ref here, ensure that a single
1053 listener's exception failure won't poison all other
1055 (impl_registry_notify_event): bin obvious memory leak.
1057 2002-12-13 Michael Meeks <michael@ximian.com>
1059 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1060 init the ev so the error is meaningful.
1061 (spi_atk_bridge_key_listener): ditto.
1063 * cspi/spi_main.c (cspi_ev): init the ev so we start
1064 with a clean slate, otherwise the first exception
1065 kills us completely.
1067 * cspi/spi_text.c (get_accessible_text_boundary_type):
1068 add a fallthrough for no warnings.
1070 * cspi/spi_registry.c: prune unused warnings.
1072 * cspi/spi_main.c (cspi_object_take): fix
1073 mind-blowing brokenness ( by watching the compile
1076 * cspi/spi_accessible.c (Accessible_getStateSet):
1077 re-impl. to use an AtkStateSet.
1078 (spi_state_type_from_accessible_state),
1079 (init_state_table): bin these.
1081 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1083 (atk_state_set_from_accessibility_state_set): here.
1085 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1086 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1087 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1088 (AccessibleStateSet_add, AccessibleStateSet_remove),
1089 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1090 (AccessibleStateSet_isEmpty): re-write to use a local
1093 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1095 * configure.in: Revved to 1.1.7 (new keymask vals).
1097 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1099 * libspi/keymasks.h:
1100 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1102 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1105 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1106 to compare two CORBA_TypeCodes.
1107 (cspi_internal_event_add): Silence warning from FORTE compiler.
1109 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1110 avoid implicit declaration of functions.
1112 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1114 * atk-bridge/bridge.c:
1115 (spi_atk_bridge_init_event_type_consts): Store signal id for
1116 active-descendant-changed signal.
1117 (spi_atk_register_event_listeners): Add signal listener for
1118 active-descendant-changed signal,
1119 (spi_atk_bridge_signal_listener): Move code in function
1120 spi_atk-signal_emit_event() into this function.
1121 Add support for active-descendant-changed
1122 Update support for child-changed signal.
1123 (spi_bridge_window_event_listener): Silence warning.
1125 * libspi/spi_private.[ch]:
1126 (spi_init_any_object): Change second parameter from CORBA_Object to
1128 Omit call to CORBA_Object_duplicate().
1129 Set CORBA_any's _value to CORBA_Object*.
1131 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1137 (AccessibleEvent_ref, AccessibleEvent_unref):
1138 New methods, for persisting an event outside the emission context.
1139 Must be used if the new accessor methods are to be called
1140 outside of the event listener's callback.
1142 * cspi/bonobo/cspi-bonobo.c:
1143 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1144 as second parameter instead of NULL, so we can call
1145 cspi_check_ev afterwards.
1148 (cspi_object_take): New internal method,
1149 converts a CORBA_Object reference to a hard ref on
1150 an Accessible if possible, returning NULL if the object
1151 reference is invalid or an Accessible * otherwise.
1154 (AccessibleEvent_ref):
1155 Increment the event's internal private refcount, and
1156 add the event's internal struct to an internal cache
1157 if it's not already there.
1158 (AccessibleEvent_unref):
1159 Decrement the event's refcount and remove it from
1160 the cspi event cache if refcount==0.
1161 (cspi_event_compare): New private method.
1162 Compares two event structs via their ids. Used
1164 (cspi_internal_event_lookup): New private method.
1165 (cspi_internal_event_check): New private method,
1166 a 0-order sanity check for events to make sure their
1167 private data is intact.
1168 (cspi_internal_event_add, cspi_internal_event_remove):
1169 New private methods for managiing the event cache.
1171 * cspi/bonobo/cspi-bonobo-listener.c:
1173 Initialize the new private data elements (id, magic, ref_count).
1175 * atk-bridge/bridge.c:
1176 (spi_atk_bridge_signal_listener):
1177 Fixed bug #100530, passing wrong params to emission func.
1179 * registryd/deviceeventcontroller.c:
1180 (spi_dec_button_update_and_emit):
1181 Fixed type in mask bit operations; fix for #99799.
1183 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1185 Removed some of the more dangerous workarounds from
1186 previous commit; they are only needed by GOK, which
1187 in reality should be using another method to accomplish
1188 the goals. So on reconsideration some of the workarounds
1189 need to be reverted:
1191 * registryd/deviceeventcontroller.c:
1192 (spi_keycodes_contain, spi_dec_init_keycode_list):
1193 Removed these methods, used only by a nasty hack to try
1194 and detect whether a key synthesis should be allowed
1195 to reset the XKB latch state or not. This code was only
1196 required to work around an interaction between GOK,
1197 button events, and XKB.
1198 (impl_generate_key_event):
1199 Removed hack at end of key generation that tried to
1200 "do the right thing" if XKB latch keys were generated
1201 in the midst of button press/release pairs.
1204 Added a check for HAVE_XINPUT. Not normally used yet.
1206 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1208 Workarounds and fixes for mouse event/XKB interaction.
1210 * registryd/deviceeventcontroller.c:
1211 (spi_keycodes_contain, spi_dec_init_keycode_list):
1212 New internal methods.
1213 (spi_dec_set_unlatch_pending):
1214 Split the method that tells XKB to expect an
1215 unlatch (and revert it) out of the rest of the
1216 event handling code. This method is called by the
1217 two mouse event handlers (the poll and the filter).
1218 (spi_dec_update_and_emit, spi_dec_mouse_check):
1219 New methods split from spi_dec_poll_mouse_moved.
1220 The second one is now called from inside the filterFn
1221 when an XKB delatch event is received, to determine
1222 whether to revert the delatch or not.
1223 (spi_poll_mouse_moved): Refactor; also we can now
1224 properly handle the case where multiple button states
1225 have changed between polling cycles and we didn't get
1226 notified due to another client's grab.
1228 Synchronize the server while handling an XKB notification.
1229 Ugly, but apparently necessary to avoid nasty races.
1230 Check the mouse state on receipt of an XKB latch change,
1231 to decide whether to revert the latch or not. (Latches are
1232 reverted if there is an immediately preceding mouse button
1233 event that a client has consumed, in which case we don't want
1234 the user to see the side-effect of the event).
1235 (spi_device_event_controller_forward_mouse_event):
1236 Check for modifier events and fire before resetting mouse_mask_state,
1237 prevents losing modifier events.
1239 (impl_generate_keyboard_event):
1240 If we've just generated a keyboard event for a non-shift key,
1241 we don't want to revert the pending XKB latch.
1242 Otherwise, check the modifier state (via a call to
1243 spi_dev_mouse_check) and set the relatch mask to
1244 that state before returning.
1246 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1249 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1252 * atk-bridge/bridge.c:
1253 (spi_atk_register_event_listeners):
1254 Don't re-register for ATK events if the registry has died
1255 and the app needs to re-register; the ATK listeners are in
1256 process and doing so will cause duplicate emission.
1258 * registryd/deviceeventcontroller.c:
1259 (spi_poll_mouse_moved):
1260 Reformat the source, detect and emit multiple button-change
1261 events (i.e. if multiple buttons have changed between poll
1263 Add code to detect mouse-down events even when the pointer
1264 is grabbed; workaround for GOK bug 98420.
1265 (spi_controller_register_with_devices):
1266 Call XTestGrabControl with 'impervious' flag set to True,
1267 allows us to synthesize events and query the pointer even during
1268 an active grab by another client.
1269 (spi_device_event_controller_forward_mouse_event):
1270 Set the mouse_mask_state to the mouse_button_state from
1271 the intercepted event, to synchronize the grab listener with
1274 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1276 * cspi/spi_accessible.c:
1277 (AccessibleRole_getName):
1278 Added necessary strings for making this (deprecated)
1279 method work with the new role types.
1280 (init_role_table, role_table):
1281 Added definition of SPI_ROLE_APPLICATION.
1283 * libspi/spi-roletypes.h:
1284 Added SPI_ROLE_APPLICATION.
1286 * idl/Accessibility_Role.idl:
1287 Added ROLE_APPLICATION.
1289 * docs/reference/cspi/at-spi-cspi-decl.txt:
1290 Added SPI_ROLE_APPLICATION to docs.
1292 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1294 * cspi/spi_accessible.c
1295 (cspi_init_role_table): Do not write beyond end of role_table.
1296 (Accessible_getRole): Use correct type for value returned by
1297 Accessibility_Accessible_getRole().
1299 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1300 beyond end of role_table. (This fixes bug #98269)
1302 * libspi/application.c: Add include file spi-private.h for
1303 definition of spi_init_any_nil.
1305 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1309 * libspi/spi-private.h:
1310 Added DGB() macro, and extern int _dbg declaration.
1312 * registryd/registry.c:
1313 (definitions) storage for _dbg.
1314 (spi_registry_init):
1315 Get environment variable "AT_SPI_DEBUG".
1316 (spi_registry_set_debug):
1317 New method, to initialize _dbg value.
1318 (spi_listener_struct_new, spi_registry_object_finalize):
1319 (notify_listeners_cb):
1320 Changed fprintfs to use DBG and g_warning().
1322 * registryd/deviceeventcontroller.c:
1323 (_deregister_keygrab, spi_controller_register_device_listener):
1324 Changed debug/warning messages to use DBG macro.
1326 * libspi/listener.c:
1327 (impl_notify_event):
1328 Changed warning messages to use DBG macro and g_warning().
1330 * atk-bridge/bridge.c:
1331 (atk_bridge_init, spi_atk_bridge_get_registry):
1332 (spi_atk_bridge_exit_func):
1333 (spi_atk_bridge_property_event_listener):
1334 Changed status, warning, and error messages to use
1335 g_warning, g_message, and DBG macros.
1338 Read the state of the AT_SPI_DEBUG environment variable
1339 and set a local '_dbg' accordingly.
1341 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1343 FIXES for 98836, 98842, other bugs.
1346 Revved to 1.1.4, interface-age=4, binary-age=4.
1348 * registryd/deviceeventcontroller.c:
1350 Fixed crasher bug in last_mouse_pos initialization.
1352 * registryd/registry.c:
1353 (desktop_add_application, desktop_remove_application):
1354 Added (and then commented out) some support for
1355 object context marshalling. [TODO]
1357 * atk-bridge/bridge.c:
1358 (spi_atk_bridge_event_context_create):
1359 Commented out object context creation until it can
1360 be properly tested and debugged.
1362 * registryd/registry.c:
1363 (impl_registry_notify_event):
1364 Fixed crasher bug, we were calling
1365 spi_re_entrant_list_foreach () with an empty list.
1367 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1369 * idl/Accessibility_Action.idl:
1370 * idl/Accessibility_Component.idl:
1371 * idl/Accessibility_Desktop.idl:
1372 * idl/Accessibility_Event.idl:
1373 * idl/Accessibility_Hyperlink.idl:
1374 * idl/Accessibility_Image.idl:
1375 * idl/Accessibility_Relation.idl:
1376 * idl/Accessibility_Selection.idl:
1377 * idl/Accessibility_State.idl:
1378 * idl/Accessibility_Value.idl:
1379 Updated unimplemented slot count to minimum of
1380 four for all interfaces, for ABI freeze.
1382 * idl/Accessibility_EditableText.idl:
1383 * idl/Accessibility_Text.idl:
1384 Updated unimplemented slot count to six
1387 * idl/Accessibility_Registry.idl:
1388 Updated unimplemented slot count to six
1389 (also for DeviceEventController),
1392 * idl/Accessibility_Table.idl:
1393 Updated unimplemented slot count to eight,
1396 * idl/Accessibility_Event.idl:
1397 Added CORBA_any "any_data" member to Event struct.
1399 * idl/Accessibility_Event.idl:
1400 Added CORBA_any "any_data" member to Event struct.
1402 * atk-bridge/bridge.c:
1404 atk_signal_text_changed, atk_signal_child_changed,
1405 signal ids queried from gtype system.
1406 (AtkBridgeEventContextType): New enum.
1407 (AtkBridgeEventContextData): New struct.
1408 (AtkBridgeEventContext): New struct.
1409 (atk_bridge_init_event_type_consts):
1410 New method, initializes type contants for comparison
1411 prior to emit_eventv.
1412 (atk_bridge_event_context_init): New method,
1413 initializes a CORBA_any from an AtkBridgeEventContext.
1414 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1415 initialize the event.any_data struct.
1416 (spi_atk_bridge_event_context_create): New method,
1417 creates an AtkBridgeEventContext from signal/event info.
1418 (spi_atk_bridge_event_context_free): New method.
1419 (spi_atk_emit_eventv): Changed to take an
1420 AtkBridgeEventContext parameter. We now initialize
1421 the event.any_data member prior to notifying the
1422 Registry, via the AtkBridgeEventContext.
1423 (spi_atk_bridge_property_event_listener):
1424 (spi_atk_bridge_state_event_listener):
1425 Match emit_eventv signature.
1426 (spi_atk_bridge_object_event_listener):
1427 Match emit_eventv signature, and create an
1428 event context from the event details.
1429 Free the event context afterwards.
1430 (spi_atk_bridge_window_event_listener):
1431 Create an event context, pass it to the
1435 (AccessibleEvent_getContextString):
1436 (AccessibleEvent_getContextObject):
1437 New methods, allow query of AccessibleEvent objects
1438 for more context details (via the "any_data" member
1439 of the Event struct, above).
1442 Definitions for AccessibleEvent_getContextString
1443 and AccessibleEvent_getContextObject.
1445 * cspi/spi_listener.h:
1446 (InternalEvent): New struct.
1449 (AccessibleEvent_getContextString):
1450 (AccessibleEvent_getContextObject):
1451 Implementations of new methods, for obtaining
1452 additional context information from some event types.
1454 * cspi/spi_registry.c:
1455 (SPI_registerGlobalEventListener):
1456 Added mention of active-descendant-changed event in docs.
1458 * cspi/cspi-bonobo-listener.c:
1460 Marshal the any into the AccessibleEvent via
1463 * libspi/spi-private.h:
1464 #include <orbit/orbit.h>
1466 (spi_init_any_string):
1467 (spi_init_any_object):
1468 New convenience function declarations.
1472 (spi_init_any_string):
1473 (spi_init_any_object):
1474 New convenience function implementations.
1476 * registryd/deviceeventcontroller.c:
1477 (spi_poll_dec_mouse_moved):
1478 (spi_device_event_controller_forward_mous_event):
1479 Initialize any_data member of event.
1480 (spi_deregister_controller_device_listener):
1481 Fix incorrect param pass which was preventing deregistration.
1483 * registryd/registry.c:
1484 (desktop_add_application):
1485 (desktop_remove_application):
1486 Add object data to event's any_data before dispatch.
1488 Fix for error messages from GAIL.
1490 * test/event-listener-test.c:
1491 Test new ContextString and "any_data" API:
1492 (report_text_event): New method query and output context string.
1493 (main): register a new text listener with report_text_event
1496 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1498 Fixes for bugs 98127 and 97914.
1499 * cspi/spi-roletypes.h:
1500 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1502 * cspi/spi-statetypes.h:
1503 Added SPI_STATE_MANAGES_DESCENDANTS
1505 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1506 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1507 * cspi/spi_accessible.c:
1508 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1509 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1510 Accessibility_STATE_MANAGES_DESCENDANTS
1511 * libspi/accessible.c:
1512 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1513 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1514 As requested by Bill, I also cleaned up the alignment.
1515 * libspi/relation.c:
1516 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1517 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1518 * libspi/stateset.c:
1519 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1520 Accessibility_STATE_MANAGES_DESCENDANTS
1521 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1522 Document changes reflecting modifications to roles.
1523 * docs/reference/cspi/tmpl/spi_relation.sgml:
1524 Document changes reflecting modifications to relations.
1525 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1526 Document changes reflecting modifications to states.
1528 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1531 Revved to 1.1.3, interface-age=3, binary-age=3.
1532 Added REBUILD macro.
1535 Removed accessx-gui from the tests, since we have a nice
1536 keyboard accessibility capplet now :-)
1538 * test/keysynth-demo.c:
1539 (increment_scan): removed do-nothing default: case,
1542 * test/visual-bell.c:
1543 (main) : removed do-nothing default: case,
1546 * cspi/spi_action.c:
1547 (AccessibleAction_getKeyBinding_):
1548 Documented keybinding string format.
1552 (AccessibleText_getAttributes):
1553 Documented the text attribute string format.
1554 It's changed to use semicolon delimiters also,
1555 to prevent clashes with CSS attributes, but the old
1556 trick of looking for ", " strings will still work
1557 (as unreliably as ever). Fix for bug related to 97916.
1560 Include <cspi/bonobo/cspi-bonobo-listener.h>
1561 Fixes build warning.
1562 (SPI_freeAccessibleKeySet):
1563 (AccessibleKeystrokeListener_addCallback):
1564 (AccessibleKeystrokeListener_removeCallback):
1565 Modify to use AccessibleDeviceListener API internally,
1566 instead of AccessibleKeystrokeListener.
1568 * idl/Accessibility_Event.idl:
1569 Added two more empty slots to EventListener (for a total of four).
1571 * idl/Accessibility_Accessible.idl:
1572 Added four empty slots to Accessible interface.
1574 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1576 * idl/Accessibility_Registry.idl:
1577 (KeyEventType, EventType):
1578 Marked KeyEventType as deprecated; it duplicates
1579 functionality of EventType, which has been extended to
1580 include Mouse-button events.
1581 (KeyEventTypeSeq): defined in terms of EventType.
1582 (registerDeviceEventListener, deregisterDeviceEventListener):
1583 New methods, for managing listeners to device events,
1584 which potentially may consume them.
1587 Added definition for AccessibleDeviceListener.
1589 * cspi/spi-listener.h:
1590 (enum AccessibleDeviceEventType):
1591 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1592 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1593 for backwards compat.
1594 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1595 and typedef'd AccessibleKeystroke to it for back-compat.
1596 (AccessibleDeviceListenerCB):
1597 New function prototype typedef.
1600 (AccessibleDeviceEventMask): New typedef.
1601 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1602 (AccessibleKeyMaskType):
1603 Set equivalent to AccessibleModifierMaskType for back-compat.
1604 (SPI_createAccessibleKeystrokeListener):
1605 (AccessibleKeystrokeListener_unref):
1606 Deprecated in favor of equivalent (better-named) new API below..
1607 keystroke listeners are like all device listeners.
1608 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1609 New API names for old features :-).
1610 (AccessibleDeviceListener_addCallback):
1611 (AccessibleDeviceListener_removeCallback):
1612 (SPI_registerDeviceEventListener):
1613 (SPI_deregisterDeviceEventListener):
1617 (SPI_createAccessibleKeystrokeListener):
1618 Use new preferred API, cspi_device_listener_new() and
1619 cspi_device_listener_add_cb().
1620 (AccessibleKeystrokeListener_removeCallback):
1621 Use new preferred API, cspi_device_listener_remove_cb().
1622 (AccessibleKeystrokeListener_unref):
1623 Use new preferred API, cspi_device_listener_unref().
1624 (SPI_createAccessibleDeviceListener):
1625 (AccessibleDeviceListener_addCallback):
1626 (AccessibleDeviceListener_removeCallback):
1627 Implementation of new API.
1629 * cspi/spi_registry.c:
1630 (SPI_registerDeviceEventListener):
1631 (SPI_deregisterDeviceEventListener):
1632 Implementation of new API. Fixed memory leak and removed need to
1633 allocate EventTypeSeq (thanks Michael for catching this).
1634 Squashed a wayward CORBA_exception_free that shouldn't get called.
1636 * cspi/bonobo/cspi-bonobo-listener.c:
1638 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1639 (cspi_key_event): renamed to cspi_device_event().
1640 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1641 Extended to handle mouse button events as well as key events.
1642 (CSpiKeystrokeListener):
1643 Class superceded by CSpiDeviceListener.
1644 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1645 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1647 * cspi/bonobo/cspi-bonobo-listener.h:
1648 (CSpiKeystrokeListener):
1649 Class superceded by CSpiDeviceListener.
1650 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1651 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1653 * libspi/Makefile.am:
1654 Replaced keystrokelistener.h and keystrokelistener.c
1655 with devicelistener.h and devicelistener.c; keystrokelisener.h
1656 stub retained for back-compat.
1658 * libspi/keystrokelistener.c:
1662 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1664 * registryd/deviceeventcontroller.c:
1665 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1666 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1667 (DEControllerPrivateData): Added xkb settings data.
1668 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1669 button release events (which can't be captured via XGrabButton).
1670 Don't dispatch via the 'normal' event mechanism if the device event was
1672 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1673 Handle the typeseq data in its new location (see above).
1674 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1675 New methods, for "generic" device listeners.
1676 (spi_controller_register_device_listener):
1677 Now handle mouse event listeners as well as key listeners.
1678 (spi_controller_notify_mouselisteners):
1679 New internal method.
1680 (spi_device_event_controller_forward_mouse_event):
1681 Now we notify mouse device listeners as well as generating the
1682 non-consumable "mouse:" events.
1684 We must check and restore the XKB
1685 modifier map if we consume the event, since the act of triggering
1686 a mouse event will normally reset the XKB latch. This is required for
1688 (spi_controller_register_with_devices):
1689 Load the XKB settings when registering, and register for XKB
1690 state notify events.
1691 (spi_key_eventtype_seq_contains_event):
1692 Renamed spi_eventtype_seq_contains_event, since it's used
1693 internally for all device event types now.
1694 (spi_key_event_matches_listener):
1695 Uses spi_eventtype_seq_contains_event now.
1696 (spi_device_event_controller_object_finalize):
1697 Free the private data and the XkbKeyboard struct.
1698 (impl_register_device_listener, impl_deregister_device_listener):
1699 Implementation of new IDL.
1700 (spi_deregister_controller_device_listener):
1701 New internal method.
1702 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1703 More efficient implementation, we don't have to create a new
1704 XkbControls structure every time we query.
1705 (spi_device_event_controller_class_init):
1706 Initialize the epv entries for the new IDL. Assign the
1707 "spi-dec-private" quark.
1708 (spi_device_event_controller_init):
1709 Initialize the private data.
1710 (spi_device_event_controller_forward_key_event):
1711 Removed a bogus CORBA_exception_free() call.
1713 * registryd/deviceeventcontroller.h:
1714 Replaced inclusion of keystrokelistener.h with
1717 * test/event-listener-test.c:
1718 (report_mouse_event):
1721 Added mouse-event device listener.
1723 * test/test-simple.c:
1724 (create_test_window):
1725 Fixed regression (we were instantiating a GtkRange,
1726 which is now an abstract class). Also fixed to match
1727 existing AtkRole names, this seems to have changed in ATK
1728 awhile ago; too late now I think, and the new
1729 mechanism is at least elegant and consistent with the
1730 glib enum "nick" APIs.
1732 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1734 * idl/Accessibility_Relation.idl:
1735 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1736 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1737 * idl/Accessibility_Role.idl:
1738 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1739 * idl/Accessibility_State.idl:
1740 add STATE_MANAGES_DESCENDANTS
1741 * test/event-listener-test.c:
1742 Added a listener for active-descendant events.
1744 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1746 * atk-bridge/bridge.c
1747 (atk_bridge_init): If application is Bonobo component wait until top
1748 level is added before registering
1749 (spi_atk_bridge_do_registration): New function which contains code,
1750 formerly in atk_bridge_init, to do application registration.
1751 (spi_atk_bridge_toplevel_added): Signal called when top level
1752 added to Bonobo component
1754 This fixes bug #83134.
1756 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1758 * registryd/deviceeventcontroller.c
1759 Fixed compilation error caused by calling gettimeofday()
1762 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1767 Added template for HAVE_XKB.
1770 Changes to check for XKB, and to set the HAVE_XKB #define if it
1773 * libspi/listener.c:
1774 ()impl_notify_event): Make failure to get event source name
1777 * registryd/deviceeventcontroller.c:
1778 (#include): include X11/XKBlib.h.
1779 (DEControllerPrivateData) : New struct.
1780 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1782 (dec_synth_keycode_press) (dec_synth_keycode_release):
1783 New methods; split the key synthesis code into these methods.
1784 They check XKB settings before determining the "time" values to
1785 pass to Xtest; this fixes bug #95828.
1786 (impl_generate_keyboard_event): Changed to use methods above,
1787 instead of callng Xtest directly.
1788 (spi_device_event_controller_init): Initialize new privae struct s
1790 (spi_device_event_controllr_object_finalize):
1791 Free the (new) private data.
1793 * registryd/deviceeventcontroller.h:
1794 Add new gpointer to end of struct data.
1796 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1799 Incremented revision to 1.1.2, SONAME is still '.so', library
1800 extensions are ".so.0.0.2".
1802 * registryd/deviceeventcontroller.c:
1803 FIXES FOR #93592 and #95940.
1804 (statics): renamed mouse_button_state to mouse_mask_state,
1805 added key_modifier_mask.
1806 (spi_dec_poll_mouse_moved):
1807 Added key modifier checks, and emit "keyboard:modifiers"
1808 events when the key modifiers currently in use change.
1809 Also generate "mouse:abs" events periodically, even if the mouse
1810 is stationary (should we?).
1811 Alternatively we could generate "mouse:abs" events for either all
1812 mouse movements, or every 'nth' mouse movement, or at the
1813 beginning and end of every "active" mouse period.
1815 * test/event-listener-test.c:
1816 (main): Added listener for "keyboard:modifiers" events.
1818 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1820 * libspi/keymasks.h:
1821 Added key mask #defines for mouse buttons; e.g.
1822 SPI_KEYMASK_BUTTON1, etc.
1825 Incremented dependency on ATK to version 1.1.0. (This dependency
1826 is probably premature but will soon be real enough).
1828 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1830 * libspi/hyperlink.[ch]
1831 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1832 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1835 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1840 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1842 * registryd/deviceeventcontroller.c
1843 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1844 events to be ignored.
1845 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1846 keyboard_mode so that XAllowEvents() can be called.
1850 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1852 * cspi/spi-accessible.c: Correct names of roles returned by
1853 AccessibleRole_getName(). Fixes bug #95055.
1855 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1857 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1860 * registryd/registry.c
1861 (desktop_remove_application: Write diagnostic message to stderr for
1864 (impl_accessibility_registry_deregister_global_event_listener):
1865 Correct size of lists array. This addresses bug #94555).
1867 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1869 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1872 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1874 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1877 * registryd/registry.c (impl_registry_notify_event): Remove
1878 unnecessary call to parser_event_type().
1880 * docs/reference/cspi/tmpl/spi_component.sgml:
1881 Add reference to SPI_LAYER_WINDOW.
1883 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1885 * registryd/registry.c
1886 (desktop_add_application): Remove leak.
1887 (desktop_remove_application): Remove leak.
1888 (parser_event_type): Remove leak.
1890 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1892 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1893 bogus call to CORBA_string_dup(). Also removed unnecessary
1894 g_string_dup/g_free calls.
1896 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1898 * registryd/deviceeventcontroller.c:
1899 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1901 * test/event-listener-test.c:
1902 main: commented out three redundant listeners, to reduce output
1903 noise. (They still are potentially useful for testing).
1906 2002-09-13 Michael Meeks <michael@ximian.com>
1908 * Update all the copyrights to include Ximian.
1910 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1912 * cspi/spi.h: add SPI_LAYER_WINDOW.
1914 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1915 add Accessibility_LAYER_WINDOW case.
1917 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1919 * libspi/component.c: (impl_accessibility_component_get_layer):
1920 add ATK_LAYER_WINDOW case.
1922 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1924 * configure.in: incremented micro version.
1926 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1928 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1931 Clarified and reworded our commit policy.
1934 Started an API "todo" addition list for 2.2.
1937 (impl_getSelection):
1938 Free char pointer from atk_text_get_selection, which was being leaked.
1940 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1943 Small revision to author acknowledgement.
1945 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1947 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1948 If signal has detail add it to the type of the event.
1951 2002-08-12 Michael Meeks <michael@ximian.com>
1953 * test/test-simple.c (global_listener_cb): bin bogosity.
1954 (test_keylisteners): disable, still doesn't work reliably,
1955 certainly not on my system anyway.
1957 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1958 don't leak a reference on the DEC. This round-trip
1959 fetching of the DEC per keystroke sucks, it should be
1962 * cspi/spi-private.h,
1963 * cspi/cspi-lowlevel.h,
1964 * cspi/bonobo/cspi-bonobo-listener.[ch],
1965 * cspi/bonobo/cspi-bonobo.c: get the copyright
1966 notices better - there is still a large amount of
1967 work in at-spi falsely attributed solely to Sun.
1969 * cspi/spi_main.c (cspi_object_ref): kill bogus
1970 hash lookup, just increment the ref.
1971 (SPI_freeString): make explicit the fact that we
1972 handle NULL strings just fine.
1973 (report_leaked_ref): obey coding standards.
1974 (cspi_object_hash, cspi_object_equal): kill retval.
1975 (cspi_object_release): only release if not on loan.
1976 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1977 (cspi_object_borrow, cspi_object_return): impl.
1979 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1980 use cspi_object_borrow / return.
1982 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1984 * cspi/bonobo/cspi-bonobo-listener.c:
1986 Don't call cspi_oject_new() because this is creating a new Accessible
1987 every single time that an event is fired. This causes ATs like at-poke
1988 to nolonger recognise the source of the event and thus ignore it.
1989 Re-use the object from the cache, ref it and then unref it after the
1990 listeners have been called.
1992 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1994 * test/event-listener-test.c:
1995 Added command-line options to disable mouse events (m) and
1998 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2000 * configure.in: Update required versions of ATK, GTK+ and GAIL
2002 * cspi-1.0.pc.in: Add dependency for X include files
2005 * cspi/bonobo/Makefile.am:
2006 Add $(X_CFLAGS) so that X include files
2007 are picked up even if not in standard place (bug #71686)
2009 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2011 * registryd/deviceeventcontroller.c: fix for 84261
2012 (spi_dec_mouse_moved):
2013 Added test of mouse button mask, so that we can detect mouse
2014 button release. Unfortunately we can't otherwise detect mouse
2015 button release events without consuming the mouse press event,
2016 because of the way XGrabButton works. This means that our mouse
2017 release events have a latency dependent on the polling period
2018 while the mouse button is down. At least in this case we only
2019 have to poll while the button is down, and not at other times.
2020 If the button masks don't match with what the last press event
2021 reported, we report the appropriate button release event.
2022 (spi_dec_ungrab_mouse):
2023 New method (not yet called).
2024 (spi_device_event_controller_forward_mouse_event):
2025 New method, sends mouse press event from GdkFilter.
2026 (spi_dec_init_mouse_listener):
2027 Added code to call XGrabButton, redirecting mouse button events to
2028 the root window and our Gdk event loop.
2030 Added code to filter mouse button events, and reordered.
2032 * test/event-listener-test.c:
2034 Added registration for mouse events of type "mouse:button".
2036 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2038 * registryd/deviceeventcontroller.c: partial fix for 84261
2039 (spi_dec_poll_mouse_idle):
2040 New method, a timeout which checks to see if the mouse
2042 (spi_dec_poll_mouse_moving):
2043 A timeout to be called when mouse motion is underway.
2044 (spi_dec_poll_mouse_moved):
2045 A method which fires an event if the mouse has moved, and reports
2046 whether or not it did so.
2047 (spi_dec_init_mouse_listener):
2048 A method which sets up the timeouts above.
2049 (spi_device_event_controller_new):
2050 Now calls spi_dec_init_mouse_listener.
2052 * registryd/registry.c:
2053 (spi_registry_init):
2054 Now we initialize the device event controller when the registry is
2055 initialized, instead of waiting until a client has requested a key
2056 event notification; this is because we need the event controller
2057 for mouse events, but the mouse event registration API is a
2058 "registry" call and doesn't explicitly call the
2059 deviceeventcontroller.
2060 We now report mouse motion events with a 100 ms idle latency and
2061 a 20 ms granularity when motion is in progress.
2063 * test/event-listener-test.c:
2065 We now register the "detail listener" for events of type
2066 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2067 delivered only for the first mouse event received, and thereafter
2068 "mouse:abs" events are delivered.)
2070 * cspi/spi_registry.c:
2071 DOCS: Documented the above mouse event typestrings.
2073 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2075 Happy Summer Solstice...
2077 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2078 (spi_controller_notify_keylisteners):
2079 Changes to remove a listener from the listener list, freeing its
2080 open keygrabs, if a notification to that listener fails. This
2081 means that although a dead listener can continue to hold a passive
2082 keygrab, a maximum of one dispatch to such a listener can fail
2083 before the listener is removed from the list, thus the keygrab
2084 will be released on the next occurrence.
2085 As part of this fix:
2086 (spi_notify_keylisteners):
2087 Renamed to spi_controller_notify_keylisteners, as the controller
2088 instance must now be passed as an argument.
2089 The copied 'notify' GList is now a list of DEControllerKeyListener
2090 objects, since we need more than just the CORBA reference if a
2091 notify fails and we need to deregister the listener.
2092 (impl_notify_listeners_sync):
2093 (impl_notify_listeners_async):
2094 (spi_device_event_controller_forward_key_event):
2095 Modify use of notify_keylisteners in accordance with above
2097 (spi_deregister_controller_key_listener):
2098 New method introduced by refactoring, from
2099 impl_deregister_keystroke_listener.
2100 (impl_deregister_keystroke_listener):
2101 Call spi_deregister_controller_key_listener.
2102 (spi_key_listener_clone):
2103 New method to copy a key listner without doing a 'ref' on the
2104 remote object instance; used to create a notifier list.
2105 (spi_key_listener_data_free):
2106 New method, frees data without unreffing the source.
2108 (spi_key_listener_clone_free): new method.
2109 (spi_key_listener_free):
2110 refactored to call spi_key_listener_data_free.
2112 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2114 * registryd/registry.c: [fix for bug 86048]
2115 (notify_listeners_cb):
2116 Clear CORBA system exceptions which occur when notifying
2117 listeners, before returning to the source of the original event,
2118 since the event source doesn't care if the relayed notify failed.
2119 In other words, don't complain to the atk-bridge if the registry
2120 could not notify all its listeners, that's no fault of the
2121 application and thus should not appear to be an error from the
2122 application's perspective.
2124 * cspi/spi_main.c: [fix for bug 85980]
2126 Replaced use of bonobo_object_dup_ref with call to the wrapper
2127 method, csou_dup_ref (); this silences a compiler warning and
2128 provided more portability.
2130 Ping the registry before return, and restart if necessary.
2132 * cspi/bonobo/cspi-bonobo.c:
2134 New internal method.
2136 Fixed this method to return an object reference, as it should have
2139 * cspi/cspi-lowlevel.h:
2140 Added internal definition for cspi_ping() and fixed
2141 return type of cspi_dup_ref().
2144 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2146 * atk-bridge/bridge.c: [fix for bug 85305]
2147 (spi_atk_bridge_register_application):
2148 New method where the initial application registry calls have been
2149 moved; it allows an application to re-register in response to
2150 certain error conditions (such as a registry restart, see below).
2152 Moved some initialization code to the method
2153 spi_atk_bridge_get_registry, below.
2154 (spi_atk_bridge_get_registry):
2155 New, private accessor function for the Accessibility_Registry
2156 instance. If the registry has not been started before, or has
2157 died (as detected by failure of a CORBA exception), it is
2158 restarted before return, and spi_atk_bridge_register_application
2159 is called again to register with the new bridge instance.
2160 (spi_atk_emit_eventv):
2161 Set registry_died on error; use spi_atk_bridge_get_registry () to
2162 access the registry.
2164 * registryd/registry.c:
2165 (impl_accessibility_registry_register_global_event_listener):
2166 Set listener's event_type_quark to etype.minor instead of
2167 etype.major (fix for bug 84856).
2169 * test/event-listener-test.c:
2170 (report_detail_event):
2171 Change the output string so that user/tester can tell that the
2172 'detail listener' was called instead of the 'generic listener'.
2174 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2176 Fixes for bugs 84900, 84908, 84897, 84898.
2181 Revved version to 1.1.0
2182 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2183 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2185 * idl/Accessibility_Registry.idl:
2186 (EventListener::notifyEvent):
2187 Removed 'oneway' directive after extensive consulation with
2188 ORBit2 team and others. This means also that unref() of the event
2189 source can and should be done synchronously after emission, rather
2190 than remotely in the client, after servicing the notify call on
2193 NOTE: This change speeds up listener performance considerably, but
2194 introduces new latency on the application side. We may want to
2195 add an event queue to the atk-bridge.
2197 * atk-bridge/bridge.c:
2198 (spi_atk_bridge_focus_tracker):
2199 Do a local unref() on the event source after emission.
2201 * registryd/registry.c:
2202 (desktop_remove_application):
2203 Do an unref() on the event source after emission.
2204 (desktop_add_application):
2205 Do an unref() on the event source after emission.
2206 (notify_listeners_cb):
2207 When relaying an event, don't automatically add the event source
2208 to the local object cache, just CORBA_dup it instead. Likewise,
2209 if this method reenters, release the ref rather than calling
2211 (impl_registry_notify_event):
2212 No longer call remote unref() on the event source after dispatch.
2214 * libspi/eventlistener.c:
2215 (impl_accessible_event_notify_event):
2216 Removed remote unref ()
2218 * cspi/bonobo/cspi-bonobo-listener.c:
2220 We now call cspi_object_new() instead of cspi_object_add() on
2221 receipt of an event; thus we only have an implicit object ref
2222 while the cspi_event method is being executed. If we need to keep
2223 a reference to the object, the listener must call ref() on the
2224 object. Thus also we don't need to call cspi_object_unref() after
2225 invoking the listener callbacks in this method.
2229 New internal API for creating a new cspi object, without adding it
2230 to the object cache.
2232 Now uses cspi_object_new() to create the cspi object instance.
2234 Now checks to see if the object is in the internal object cache,
2235 and adds it if necessary before incrementing its refcount (note
2236 that new objects are added with a refcount of 1).
2237 (report_leaked_ref):
2238 New method which gives some information on leaked object instances
2239 if leak detection is turned on.
2241 * test/event-listener-test.c:
2242 (timing_test_event):
2243 New method, used for testing event delivery timing for special
2244 events of type "object:test". It reports elapsed time and
2245 events/sec every 500 events.
2247 Added a new listener, 'test listener', to check timing of event
2248 receipt as noted above.
2250 Added some timing output here also, reports elapsed time every 100
2253 * test/stress-test.c:
2254 Emit events of type "object:test", for use with "event-listener-test".
2256 * test/test-simple.c:
2257 (global_listener_cb):
2258 Call Accessible_ref() on the event source before calling
2259 validate_accessible, since the validation process does pointer
2260 comparisons on the event source, meaning that the event source
2261 needs to be added to the local object cache first. Any use of
2262 such pointer comparisons between Accessible objects requires that
2263 the caller hold an explicit reference to those objects.
2264 We also must therefore call Accessible_unref() when leaving this method.
2266 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2268 * registryd/deviceeventcontroller.c:
2269 (spi_controller_update_key_grabs):
2270 Fix for #84735, subsequent keygrab listeners not informed of
2271 registration failure.
2274 (spi_base_construct):
2275 Add an assertion on construct, to make sure the GObject passed in
2276 is really a GObject.
2278 Explicitly initialize object->gobj pointer to NULL;
2280 * cspi/bonobo/cspi-bonobo-listener.c:
2281 (cspi_object_add_ref):
2282 New method, can specify whether to dup-ref a bonobo object passed
2283 in if it's newly added to the object cache.
2285 Now calls cspi_object_add_ref with second param of "FALSE". This
2286 prevents us from doing a pointless dup-ref followed by
2287 release-unref for all those cases where the object is already in
2288 our object cache (fix for #85205).
2290 * atk-bridge/bridge.c:
2291 (spi_atk_bridge_idle_init):
2292 Removed this method, we don't need to initialize in an idle
2295 Changed to call spi_atk_register_event_listeners directly, not via an
2296 idle handler. (fix for #81139)
2297 (gnome_accessibility_module_shutdown):
2298 Removed conditional around deregistration of listeners, since we
2299 don't use the idle handler and thus have always registered when
2301 (spi_init_keystroke_from_atk_key_event):
2302 Changed references to Accessibility_KEY_PRESSED to
2303 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2305 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2307 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2312 * test/stress-test.c:
2315 (may have been an incomplete commit yesterday?)
2317 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2320 Added target for new stress-test.
2322 * test/stress-test.c:
2323 New test, sends 1000 focus notifies in quick succession.
2325 * test/key-listener-test.c:
2326 Now we report whether a keylistener registration
2327 request succeeded or failed.
2329 * test/event-listener-test.c:
2330 Uncommented some listeners which are now implemented.
2333 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2335 * registryd/deviceeventcontroller.c:
2336 (spi_controller_update_key_grabs):
2337 Fix for #82509, lack of failure notification when
2338 ALL_WINDOWS keygrabs fail due to XGrabKey
2339 failure: we synchronize the server when
2340 registering a passive grab, to make sure we get the
2341 error message before the call returns.
2343 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2345 * test/test-simple.c:
2347 Removed #ifdef KEY_IMPL_WORKS guards.
2348 (test_keylisteners):
2349 Removed #ifdef KEY_IMPL_WORKS guards.
2350 Fixed bug which was causing a hang waiting for a
2351 "press" event (which was already overwritten by a "release"
2352 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2354 Added code to set globals 'key_press_received' and
2355 'key_release_received'.
2358 Added section "1.1 API Proposed Additions" which
2359 lists API additions desired for at-spi-1.1 (only one so far).
2360 Updated TODO list a little.
2362 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2364 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2367 * configure.in: Revved to 1.0.0.
2369 * idl/Accessibility_Registry.idl:
2370 (registerKeystrokeListener):
2371 Added boolean return value.
2373 * registryd/registry.c:
2374 (notify_listeners_cb): Minor fix to debug output.
2376 * registryd/Accessibility_Registry.server.in.in:
2377 Revved version number in OAFIID to 1.0.
2379 * registryd/registryd.c:
2381 Use new OAFIID version.
2383 * cspi/bonobo/cspi-bonobo.c:
2385 Use new OAFIID version.
2391 * atk-bridge/bridge.c:
2393 Use new OAFIID version.
2395 * registryd/deviceeventcontroller.c:
2396 (impl_register_keystroke_listener):
2397 Added CORBA_boolean return value.
2398 (spi_controller_register_device_listener):
2399 Added gboolean return value.
2400 (spi_controller_register_global_keygrabs):
2401 Added gboolean return value.
2402 (spi_key_set_contains_key):
2403 Added implementation for many more control keys,
2404 for instance F1-F12, arrow keys, End, Home, Page_Up,
2406 [TODO: some still not implemented].
2408 * text/screen-review-test.c:
2409 (text_chunk_pad_string):
2410 New function: it provides mapping between coordinate
2411 positions of text chunks and character positions in the
2412 screen-review-line output string.
2413 (text_chunk_to_string):
2414 New function, calls text_chunk_pad_string with various
2415 pad/delimiter characters. Pushbuttons are delimited with
2416 square brackets, Frames with vertical 'pipe' lines, and
2417 other text with double quotes.
2418 (text_chunk_list_to_string):
2419 Calls new function text_chunk_to_string.
2420 (toplevel_composite):
2421 New function to composite layers CANVAS through
2422 POPUP in each toplevel (other layers are composited
2423 across toplevels, i.e. BACKGROUND and OVERLAY).
2424 (review_buffer_composite):
2425 Revise to use new methods.
2431 2002-05-31 Laszlo Peter <laca@sun.com>
2433 * configure.in: add the Xtst libdir to the runpath on Solaris,
2434 since it's not in the default library search path.
2436 2002-05-29 jacob berkman <jacob@ximian.com>
2438 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2440 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2442 * test/screen-review-test.c:
2443 (text_chunk_pad_string):
2444 Added method, which pads the string according to the
2445 text bounds of the chunk. It also takes a 3-character
2446 string as a param which indicates the characters to be
2447 used for start, padding, and end delimitation of the chunk.
2448 (text_chunk_to_string):
2449 Changed to use text_chunk_pad_string.
2451 * configure.in: Fixed bug in AC_OUTPUT that was
2452 causing path substitution in Accessibility_Registry.server
2455 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2457 * text/screen-review-test.c:
2458 (guess_string_clip):
2459 New method which attempts a best-guess at clipping
2460 text from components (like Java labels) which don't
2461 actually implement AccessibleText. This inaccurate
2462 clip is based on the assumption that the label is
2463 justified left-and-right, and monospaced.
2464 (text_chunk_get_clipped_string):
2465 We now call guess_string_clip() for text-containing
2466 components that don't implement AccessibleText.
2468 * test/screen-review-test.c:
2469 (review_buffer_get_text_chunk):
2470 We now pull "name" from labels if they do not implement
2471 AccessibleText (i.e. for Java labels).
2472 (get_screen_review_line_at):
2473 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2476 Replaceded AC_OUTPUT target
2477 registryd/Accessibility_Registry.server with
2478 registryd/Accessibility_Registry.server.in.
2480 * registryd/Accessibility_Registry.server.in:
2481 Removed (this is now a Makefile target).
2483 * registryd/Accessibility_Registry.server.in.in:
2484 Added (source for target above). We now use $(libexecdir) as
2485 prefix for the executable at-spi-registryd.
2487 * registry/Makefile.am:
2488 Now install at-spi-registryd into $(libexecdir), and build .server
2489 file with path (see above).
2491 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2493 * test/screen-review-test.c:
2494 (text_chunk_get_clipped_string):
2495 We now check to see if words fall within clip bounds
2496 before resorting to character-by-character clip bounds testing.
2498 * TODO: Added a section for "2.2 Proposed API Additions".
2500 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2502 * test/screen-review-test.c:
2504 Added a screen review benchmarking and test program to test
2507 * cspi/spi_accessible.c:
2509 Made some of the debug strings passed to cspi_check_ev a
2510 little more specific.
2512 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2514 * test/screen-review-test.c: Fix crashes in debug statements
2516 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2518 * test/screen-review-test.c: Added this file.
2520 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2522 * atk-bridge/bridge.c: changed "object:state-change" to
2523 "object:state-changed" to match docs.
2525 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2527 * atk-bridge/bridge.c: Hooked up state-change event details.
2529 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2531 * registryd/registry.c:
2532 Fixed quarking bug in event string parsing; now events with
2533 detail parameters get matched correctly to listeners.
2536 * util/idl/Magnifier.idl: remove.
2538 * util/*.[ch]: Remove.
2539 Magnification utilities and IDL are now in module gnome-mag.
2541 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2543 * registryd/deviceeventcontroller.c:
2544 Fixed bug in grab key conversion which was causing keycode grabs
2545 to be converted to AnyKey grabs.
2548 updated NEWS file to reflect recent spin-off of gnome-mag.
2550 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2552 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2553 busted AccessibleStateSet_compare. Removed redundant casts.
2555 * cspi/spi-action.c: Removed redundant casts.
2557 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2559 * cspi/spi_component.c: Fixed typos and casting error.
2561 * cspi/spi_editabletext.c: Removed redundant casts.
2563 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2565 * cspi/spi_hypertext.c: Eliminated redundant casts.
2567 * cspi/spi_image.c: Eliminated redundant casts.
2569 * cspi/spi_registry.c: Eliminated redundant casts.
2570 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2571 * cspi/spi_selection.c: Removed redundant casts.
2572 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2573 handling. Screen geometry and text offsets were being returned as 0
2574 on error which is technically valid-- changed these to return -1.
2575 Added marshaller for text boundary types to fix bug with boundary
2576 types being passed incorrectly to atk.
2578 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2581 * cspi/spi_registry.c:
2582 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2583 which was uncovered by the recent key changes.
2585 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2587 * test/event-listener-test.c:
2589 Added new test, "event-listener-test";
2590 this code does two things; it benchmarks traversal time
2591 for the accessible hierarchy for the first running accessible
2592 app, and it connects listeners for all supported event types.
2593 It is thus useful as an example event listener and for
2594 diagnostics/debugging of event generation.
2596 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2599 Removed unnecessary dependency on libutil.
2602 Revved micro version: 0.13.1
2604 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2607 Removed util/Makefile from targets.
2610 Removed util subdir from SUBDIRS (temporarily,
2611 pending removal of magnifier-only code
2615 #ifdef-ed out magnifier dependencies, since
2616 magnifier IDL, headers, and binary now live in
2617 module gnome-mag and we don't want at-spi to depend
2618 on gnome-mag. A magnifier demo which can run alongside
2619 simple-at is forthcoming in the gnome-mag module.
2621 NOTE: Split magnifier binary, IDL, and magnification
2622 activation code from at-spi into module gnome-mag.
2624 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2626 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2627 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2629 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2632 Revved to version 0.13.0
2634 * idl/Accessibility_Registry.idl:
2635 Changed definition of KeySet from sequence of longs to sequence of
2636 KeyDefinitions, and added KeyDefinition struct.
2637 Required for fix to bug 80616.
2639 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2640 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2641 to use new definition (see above).
2643 * registryd/deviceeventcontroller.c: handle_keygrab(),
2644 spi_keyset_contains_key():
2645 Changed to make use of new struct; this allows matching based on
2646 string key-name, for instance "Tab". This also allows matching of
2647 composed characters, non-alphanumeric characters in a way that
2648 doesn't involve dependencies on X keysym codes directly, etc.
2650 * test/key-listener-test.c:
2651 Added test for Alt-Tab key using "string" specification of keyset,
2652 and modified one of the tests to use a keycode-based keyset.
2653 Thus this test both tests and demonstrates the creation and use of
2654 keysets of three forms: specified via keycode array,
2655 keysym array, and string array. (The string case only contains a
2656 single string, i.e. a string array of length 1).
2659 Turned on PRINT_TREE option by default. Also fixed a
2660 string-freeing bug in the PRINT_TREE code.
2661 Added a listener to window:minimize events.
2663 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2665 * atk-bridge/bridge.c:
2666 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2667 for window:activate and window:deactiveate
2668 (atk_bridge_property_event_listener atk_bridge_signal_listener
2669 atk_bridge_window_event_listener) Tidy debug code
2671 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2673 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2674 Fixed handling for NULL return value from ATK.
2676 * libspi/action.c libspi/component.c libspi/editabletext.
2677 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2678 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2679 Removed redundant casts.
2681 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2682 Fixed off by one bug.
2684 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2685 function not present in idl)
2687 2002-05-02 jacob berkman <jacob@ximian.com>
2689 * atk-bridge/Makefile.am: make atk-bridge a real module
2691 2002-04-26 Radek Doulik <rodo@ximian.com>
2693 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2694 atk_state_types table
2696 2002-04-22 jacob berkman <jacob@ximian.com>
2699 * libspi/Makefile.am: add deps on the built files to help
2700 automake, and don't version the ORBit typelib
2702 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2704 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2705 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2706 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2707 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2708 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2709 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2710 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2711 libspi/accessible.h libspi/accessible.h libspi/base.h
2712 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2713 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2714 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2715 libspi/spi-private.h libspi/statetset.h libspi/table.h
2716 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2717 util/mag_client.h util/mag_control.c util/mag_image.c
2718 util/mag_image.h util/magnifier.c util/magnifier.h:
2719 Add missing file headers; standardize existing ones
2721 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2723 * atk-bridge/bridge.c: Added window event support.
2725 2002-04-18 Michael Meeks <michael@ximian.com>
2727 * libspi/relation.c (impl_getNTargets): impl.
2728 (impl_getTarget): impl.
2730 * libspi/Makefile.am: fix stateset install.
2732 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2735 Started putting useful info in this file.
2737 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2739 * atk-bridge/bridge.c:
2740 Propagate state-changed notifications to ATs
2742 * cspi/spi_registry.c: update docs to reflect actual behavior of
2743 state-change events.
2745 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2748 Incremented version to 0.12.1
2750 * util/mag_client.h:
2751 Add missing declaration for magnifier_exit,
2752 used by mag_control.c - Forte compiler didn't like
2753 the implicit redeclaration of the function :-(
2756 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2759 Revved version to 0.12 due to API change (see below).
2761 * cspi/spi-roletypes.h:
2762 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2763 definition from the inline docs, and added docs
2764 for SPI_ROLE_LAST_DEFINED.
2767 * cspi/spi_streamablecontent.c:
2768 Added missing seek_type parameter to
2769 (so far unused) method,
2770 AccessibleStreamableContent_seek().
2771 [ RT approval JodyG. ]
2774 Fixed docs for SPI_createAccessibleKeystrokeListener.
2776 * cspi/spi_registry.c:
2777 Fixed docs for SPI_KEYSET_ALL_KEYS.
2779 * docs/reference/cspi/at-spi-cspi-sections.txt:
2780 Added a number of missing APIs to SECTIONS.
2782 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2784 * registryd/Makefile.am:
2786 * cspi/bonobo/Makefile.am:
2787 Add $(X_LIBS) to makefiles.
2789 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2792 Revved version to 0.11.
2794 * libspi/component.c:
2795 Added implementation for grabFocus.
2797 * idl/Accessibility_Component.idl
2798 (Accessibility_Component_grabFocus):
2799 Made this method return boolean to indicate success or failure, to
2800 be consistent with cspi and the corresponding ATK method.
2802 * idl/Accessibility_Selection.idl
2803 (Accessibility_Selection_selectAll) :
2804 Made these methods return boolean to indicate success or
2805 failure, to be consistent with cspi and the corresponding ATK methods.
2807 * idl/Accessibility_EditableText.idl
2808 (Accessibility_EditableText_setTextContents,
2809 Accessibility_EditableText_insertText,
2810 Accessibility_EditableText_cutText,
2811 Accessibility_EditableText_deleteText,
2812 Accessibility_EditableText_pasteText):
2813 Made these methods return boolean to indicate
2816 * cspi/spi_editabletext.c:
2817 Made these methods return booleans.
2819 * libspi/selection.c:
2820 * libspi/component.c:
2821 * libspi/editabletext.c:
2822 Connected the boolean returns from ATK
2823 to the server-side code referenced above.
2825 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2827 * idl/Accessibility_Table.idl: Added missing methods,
2828 Accessibility_Table_addRowSelection,
2829 Accessibility_Table_addColumnSelection,
2830 Accessibility_Table_removeRowSelection,
2831 Accessibility_Table_removeColumnSelection.
2834 Added C wrappers for above IDL:
2835 AccessibleTable_addRowSelection,
2836 AccessibleTable_addColumnSelection,
2837 AccessibleTable_removeRowSelection,
2838 AccessibleTable_removeColumnSelection.
2841 Added server-side implementation code for IDL above, connecting
2842 to pre-existing ATK api.
2844 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2846 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2848 * libspi/accessible.c: Added implementation fo
2849 Accessibility_Accessible_get_state.
2851 * libspi/libspi.h: Added stateset.h to the list of includes.
2853 * libspi/stateset.c: Fixed broken implementation.
2855 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2858 Added implementation code for Accessibility_Magnifier_exit ().
2860 * util/mag_control.c:
2861 Added test code for above method; you can
2862 now kill an existing magnifier via
2863 ./mag_control q, from the util directory.
2865 * test/key-listener-test.c:
2867 Added a new test, for our key listener API.
2869 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2871 * test/app.c, test/keysynth-demo.c:
2873 Replace use of snprintf with g_snprintf.
2874 (fix for bugzilla 78249)
2876 2002-03-27 Michael Meeks <michael@ximian.com>
2880 * util/Makefile.am (INCLUDES): fix.
2881 (DONT_DIST_SOURCE): don't distribute the
2884 * libspi/Makefile.am (dist-hook): ditto.
2886 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2888 * libspi/hypertext.c:
2889 Fix warnings when yelp is used with atk-bridge
2891 2002-03-21 Michael Meeks <michael@ximian.com>
2893 * libspi/application.c (spi_application_new):
2894 use spi_accessible_construct so we use the AtkObject
2897 2002-03-19 Michael Meeks <michael@ximian.com>
2899 * registryd/registry.c (desktop_remove_application),
2900 (desktop_add_application): clean coding style.
2902 * registryd/desktop.c (spi_desktop_remove_application),
2903 (spi_desktop_add_application): kill re-enterency hazards.
2904 (spi_desktop_dispose): remove bogus redundant cast
2905 obscuring bug; fix bug too.
2906 (spi_desktop_init): make the desktop object immortal.
2908 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2911 Added a #define-guarded tree-traversal step
2912 when enumerating the apps (diagnostic tool).
2914 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2916 * idl/Accessibility_Role.idl:
2917 Added ROLE_DRAWING_AREA which seemed to be missing from the
2920 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2922 * cspi/spi-roletypes.h cspi/spi_accessible.c
2923 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2926 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2927 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2928 AT when applications are added and removed from the desktop. This
2929 reverts the previous broken implementation using the backing
2930 AtkObject for the SpiDesktop.
2932 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2934 * registryd/desktop.c: emit the "children-changed::add" and
2935 "children-changed::remove" signals on the backing ATK object for
2936 the desktop so AT can tell when applications are started and shut
2939 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2941 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2943 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2945 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2947 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2949 * cspi/state-types.h: synched with IDL and ATK
2951 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2953 * libspi/accessible.c
2954 (impl_accessibility_accessible_get_child_at_index):
2955 Change return value for g_return_if_fail ()
2956 to CORBA_OBJECT_NIL instead of "0" (!)
2958 * registryd/Makefile.am:
2959 * registryd/Accessibility_Register.server.in:
2960 Changed name of executable, "registryd",
2961 to something more informative:
2964 2002-03-13 Michael Meeks <michael@ximian.com>
2966 * atk-bridge/bridge.c (atk_bridge_init): don't register
2967 if we're in a bonobo-component, rather than a bonobo app.
2969 2002-03-13 Michael Meeks <michael@ximian.com>
2971 * atk-bridge/bridge.c (gtk_module_init): split
2972 out body to (atk_bridge_init): here, since otherwise
2973 we get symbol conflicts and oddness when invoked
2974 from (gnome_accessibility_module_init): here (upd.)
2976 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2979 New file. Explicitly allow "build sheriff" putbacks provided
2980 they are tested on Solaris.
2982 * docs/reference/cspi/Makefile.am:
2983 Added '-' to the "cp" command for index.sgml.
2984 ("patch by thomasvs, soon coming to a GUADEC near you")
2987 Incremented version number (0.9.0) for new release.
2988 Changed macro that checks for popt, to better detect
2989 obsolete versions of popt.
2992 Added X_LIBS to AC_SUBST, for applications
2993 that call Xlib API directly.
2996 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2999 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3002 Fix regression caused by hard-coding major
3003 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3006 * test/test-simple.c (test_editable_text),
3007 (test_test): revert previous change (error was
3008 a regression in gail which is now fixed).
3010 2002-03-04 Michael Meeks <michael@ximian.com>
3012 * test/test-simple.c (test_editable_text),
3013 (test_text): pass G_MAXINT instead of '-1' for
3014 whole string - is this a good thing !?
3016 * cspi/spi_accessible.c
3017 (Accessible_getRelationSet): fix crasher bug
3018 overwriting the end of the array.
3020 * test/test-simple.c (validate_accessible): free,
3021 not g_free returned relation set.
3023 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3025 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3026 implemented stateset support
3028 * idl/Accessibility_State.idl: Made necessary changes to
3029 the IDL to support state sets.
3031 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3033 * registryd/deviceeventcontroller.c:
3034 Added implementation for generateMouseEvent.
3036 * cspi/spi_registry.c:
3037 Connected new implementation for generateMouseEvent
3040 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3043 Incremented revision (but no change in public API
3044 outside of 'utils', which are not installed public yet.)
3046 * libspi/component.c:
3047 Changed to use atk_component API for layers and
3048 mdi_zorder, instead of deprecated atk_object API.
3050 Magnification Utility Enhancements:
3053 Added implementation of createZoomRegion, clearAllZoomRegions,
3054 resizeZoomRegion. Added new commandline argument
3055 "--no-initial-region". Note that clearAllZoomRegions doesn't
3056 unmap the old '0' region as it should (yet), and the other
3057 methods only work when creating/resizing a single region,
3058 which is "region 0".
3059 (Code for multiple region support will be added later.)
3062 Now we raise the magnifier window each time it's refreshed;
3063 this will help keep it on top.
3065 * util/mag_client.h:
3066 Added simple wrappers for above, used by mag_control.
3067 For general use, it's recommended to use the bonobo magnifier
3068 control API directly instead of using these wrappers.
3071 Moved ZoomRegionData from magnifier.c to this file.
3073 * util/mag_control.c:
3074 Added some code to exercise new IDL implementations.
3076 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3078 * libspi/text.c: Provide implementation for getAttributes.
3080 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3083 Incremented revision.
3085 * test/test-simple.c:
3086 Replaced use of deprecated g_main_iteration with
3087 g_main_context_iteration.
3089 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3092 Incremented revision for desktop alpha 2.
3094 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3096 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3099 * test/simple-at.c: include netinet/in.h.
3101 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3103 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3104 use NULL, not CORBA_OBJECT_NIL.
3106 * libspi/accessible.c:
3107 (impl_accessibility_accessible_get_relation_set):
3108 allocate the sequence correctly.
3110 * libspi/remoteobject.h: kill spi_remote_object_new.
3112 * test/test-simple.c: (validate_accessible): add code
3113 to test relation sets, now all we need is to figure
3114 out how to excercise this code path :/
3116 2002-01-18 Michael Meeks <michael@ximian.com>
3118 * test/test-simple.c
3119 (key_listener_cb): consume the key.
3120 (test_keylisteners): update.
3121 (main): wait for any pending unrefs on events.
3123 * registryd/deviceeventcontroller.c
3124 (spi_controller_update_key_grabs): only re-issue the
3125 grab on a key release.
3126 (spi_device_event_controller_forward_key_event):
3127 refresh the keygrabs before we notify the listeners,
3128 to reduce the X ungrab / re-grab race.
3129 (spi_controller_register_with_devices): remove
3130 XSelectInput - we do that with the gdk_window_ call.
3131 (_spi_controller_device_error_handler): return a value.
3132 s/GDK_DISPLAY/spi_get_display/
3134 2002-01-17 Michael Meeks <michael@ximian.com>
3136 * registryd/deviceeventcontroller.c
3137 (_deregister_keygrab): don't blow out the later
3140 * test/test-simple.c (test_keylisteners): do a
3141 more intelligent validation.
3143 2002-01-14 Michael Meeks <michael@ximian.com>
3145 * atk-bridge/bridge.c
3146 (gnome_accessibility_module_init),
3147 (gnome_accessibility_module_shutdown): impl.
3148 (gtk_module_init): protect vs. double inits.
3149 (add_signal_listener): impl.
3150 (spi_atk_bridge_state_event_listener): kill
3151 (deregister_application): split out of
3152 (spi_atk_bridge_exit_func): here.
3154 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3157 Added caret tracking when using magnifier, and
3158 now use text bounds for focus tracking of text elements, rather than
3159 the component bounds - this is helpful for short text fields in long
3160 table cells, at high magnification.
3162 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3164 * registryd/deviceeventcontroller.c:
3165 Regression fix for keylistener de-registration; global keygrabs
3166 were not being released when deregisterKeystrokeListener was
3167 called in cspi, since
3168 Accessibility_DeviceEventController_deregisterKeystrokeListener
3169 was called with a zero-length keyset. That is because the cspi
3170 method, SPI_deregisterKeystrokeListener, does not take a keyset
3171 parameter but instead should remove all the key grabs held be a
3173 The code in impl_deregister_keystroke_listener was changed to copy
3174 the keylist from the listener instance previously registered with
3175 the DeviceEventController before releasing the grabs.
3177 * registryd/registry.c:
3178 * registryd/deviceeventcontroller.c:
3179 * libspi/spi-private.h:
3181 Changed spelling of "re-enterant" to "re-entrant" globally.
3183 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3185 * test/test-simple.c:
3186 Changed key listeners test - the test was slightly mis-using the
3187 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3188 It now uses '=' as the key event listened to and generated,
3189 relying on a keysym match rather than assuming that keycode 33
3190 is always equal to keysym '!'.
3192 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3195 Changed simple-at to use a specific keyset, rather than
3196 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3197 manager, desktop, etc.
3199 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3201 * registryd/deviceeventcontroller.c:
3202 Replaced standard X error handler with a special handler that
3203 is non-fatal for failed keygrabs. This works around
3204 problems with keygrab clashes sometimes observed on
3206 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3207 mouse handling code as yet).
3209 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3212 Incremented revision for desktop alpha release.
3215 Fixed a couple of the more glaring errors (still not
3218 2002-01-11 Michael Meeks <michael@ximian.com>
3220 * registryd/deviceeventcontroller.c
3221 (spi_device_event_controller_forward_key_event): kill
3222 XUngrabKey / XKeyGrab race.
3223 (spi_controller_grab_keyboard): rename to
3224 (spi_controller_update_key_grabs): this, and deal
3225 with incremental adding / removing grabs more
3227 (_register_keygrab): ensure we're not pending a remove.
3228 (spi_grab_mask_free): impl.
3229 (spi_controller_register_global_keygrabs): split out
3231 (handle_keygrab): impl.
3232 (_deregister_keygrab): impl.
3233 (spi_controller_deregister_global_keygrabs): impl.
3234 (spi_controller_update_key_grabs): re-issue the grab if
3235 we just recieved a notification.
3237 * test/test-simple.c (key_listener_cb): remove debug.
3239 * registryd/deviceeventcontroller.c
3240 (spi_controller_register_device_listener): after
3241 registering a global keygrab, actualy register it !
3242 don't wait for a timeout; doh !
3244 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3245 to make it more readable / manipulable.
3246 s/grabmask/grab_mask/ s/refcount/ref_count/
3247 s/keyval/key_val/ s/modmask/mod_mask
3249 2002-01-08 Michael Meeks <michael@ximian.com>
3251 * registryd/deviceeventcontroller.c
3252 (spi_controller_register_with_devices): use gdk calls to
3254 (global_filter_fn): implement the filter.
3255 (spi_device_event_controller_check_key_event): rename to
3256 (spi_device_event_controller_forward_key_event): this & upd.
3257 (spi_get_display): replace with GDK_DISPLAY.
3259 * registryd/deviceeventcontroller.c
3260 (spi_controller_deregister_device_listener): unroll into
3261 (impl_deregister_keystroke_listener): here to simplify.
3262 (spi_controller_register_global_keygrabs): split cut and
3263 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3264 (spi_controller_deregister_device_listener): remove.
3265 (impl_register_mouse_listener): remove, no mouse listener
3266 support in at-spi-1.0
3268 * registryd/registry.c
3269 (_device_event_controller_hook): kill.
3270 (spi_registry_init): upd.
3272 * registryd/deviceeventcontroller.c
3273 (spi_device_event_controller_class_init): upd.
3274 (spi_check_key_event): merge into.
3275 (spi_device_event_controller_check_key_event):
3276 here and kill strange static ev init, don't leak
3277 the x_event - nor dynamicaly allocate it.
3279 * registryd/registry-main.c (main): re-direct
3280 timeout to remove strange vtable mess.
3282 * registryd/deviceeventcontroller.c
3283 (remove_listener_cb): impl.
3284 (spi_controller_deregister_device_listener):
3285 fix re-enterancy hazard.
3287 2002-01-07 Michael Meeks <michael@ximian.com>
3289 * registryd/deviceeventcontroller.c
3290 (spi_device_event_controller_new): upd.
3291 (impl_notify_listeners_sync): upd. debug.
3292 (spi_notify_keylisteners): fix re-enterancy hazards,
3293 prettify, remove O(n*n) iteration.
3294 (spi_controller_grab_keyboard): fix iteration.
3295 (spi_check_key_event): re-format to suit coding style.
3296 Clean all the warnings - we're warning free.
3298 * registryd/deviceeventcontroller.h:
3299 * registryd/registry.h: make mutualy referential with
3300 typesafe forward references instead of (!) void pointer
3303 2002-01-11 Michael Meeks <michael@ximian.com>
3305 * cspi/spi_accessible.c (role_names): add a role name
3306 to sync this array with the enum; and make the regression
3309 2002-01-10 Michael Meeks <michael@ximian.com>
3311 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3312 allow expansion of enumeration & kill warning.
3314 * test/test-simple.c (key_listener_cb): impl.
3315 (test_keylisteners): impl.
3317 * cspi/spi-listener.h: make listener signatures const
3318 on the provided (const) events.
3320 * test/keysynth-demo.c: upd. to const events.
3322 * test/simple-at.c: ditto.
3324 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3327 Rev the version to 0.5 (the previous tarball was named 0.4,
3328 even though the micro number was 3), so we need to rev upwards
3329 again for beta2/"desktop-alpha"
3332 Checked in a demo script, which requires editing before use!
3333 Proceed with caution.
3336 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3338 * cspi/spi_accessible.c:
3339 Add a couple of missing enum initializations, and fix some enum
3342 * cspi/spi_registry.c:
3343 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3345 * docs/reference/cspi/at-spi-cspi-sections.txt:
3346 Remove/fix a couple of broken document references.
3349 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3350 as Alt-Control to listen for commands, since on some systems
3351 Control-Alt may already be grabbed.
3353 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3356 Update version number to 0.4 for Beta2.
3358 * libspi/accessible.c, libspi/accessible.h:
3359 Expose spi_accessible_construct, to enable libgail-gnome
3360 construction from spi_accessible subtype.
3362 * utils/magnifier.c:
3363 Workaround for bug in some non-gnome-compliant window managers
3364 which made magnifier resize improperly.
3366 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3368 * libspi/accessible.c: (spi_accessible_new) :
3369 Move the test for SPI_IS_REMOTE_OBJECT to
3370 spi_accessible_new_return, fixing a bug and compile time warning.
3372 2002-01-08 Michael Meeks <michael@ximian.com>
3374 * registryd/registry.c (parse_event_type): remove strndup.
3376 * libspi/Makefile.am (libspi_la_SOURCES): remove
3377 sources already included in the headers section.
3379 * libspi/util.c: add.
3381 * libspi/spi-private.h: add.
3383 * registryd/registry.c: update to moved list iterators.
3385 2002-01-05 Michael Meeks <michael@ximian.com>
3387 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3389 * test/test-simple.c (main): ditto.
3391 2002-01-04 Michael Meeks <michael@ximian.com>
3393 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3394 redundant construct.
3396 * registryd/registry.c
3397 (get_listener_list): impl.
3398 (impl_accessibility_registry_register_global_event_listener):
3399 re-impl. to simplify using ~, remove dodgy const cast off.
3400 (parse_event_type): constify.
3401 (impl_accessibility_registry_deregister_global_event_listener_all):
3402 re-write, more efficiency and simplicity, kill re-enterancy
3404 (compare_listener_corbaref, compare_corba_objects),
3405 (compare_listener_quarks): define out.
3406 (impl_accessibility_registry_deregister_global_event_listener):
3407 re-write for effiency, and nail re-enterancy hazard.
3408 (impl_accessibility_registry_get_desktop_list): impl.
3409 (re_enterant_list_delete_link): impl.
3410 (re_enterant_list_foreach): impl.
3411 (remove_listener_cb): impl.
3412 (_registry_notify_listeners): kill.
3413 (notify_listeners_cb): impl.
3415 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3416 (SPI_getDesktopList): impl.
3418 * test/test-simple.c (test_desktop): test the methods.
3420 2002-01-03 Michael Meeks <michael@ximian.com>
3422 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3423 keystrings since we free them
3424 (SPI_freeAccessibleKeySet): in here.
3426 * libspi/accessible.c (spi_accessible_new): kill warning,
3427 wonder what is going on with the constructor here.
3429 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3431 * libspi/accessible.c (spi_accessible_new ()) :
3432 Added check to see if AtkObject is an SpiRemoteObject before
3433 creating an SpiAccessible.
3435 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3437 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3438 Enable keygrabs using the Control modifier, now that they are
3439 working properly (they were previously disabled).
3442 Change the command keygrab for this demo to "Control+Alt", so as
3443 to conflict with fewer other key commands on the system; this
3444 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3446 Removed a pointlessly-chatty keylistener for unshifted keys
3447 (shifted keys are still reported).
3449 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3451 * libspi/remoteobject.h:
3452 * libspi/remoteobject.c:
3453 Added definitions for special AtkObject subtype, required for
3454 support of remote components (specifically, used by BonoboControl
3455 accessibility implementation).
3457 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3459 * cspi/spi.h: synched relation types with ATK
3461 * cspi/spi_accessible.c: Added implementations of
3462 AcccessibleRelation_* methods
3464 * idl/Accessibility_Relation.idl: added getRelationTypeName
3465 method. Synched known relation types with ATK. Allowed for
3466 relation type extension with the RELATION_EXTENDED type.
3468 * libspi/relation.c: Provided implementations for
3469 AccessibleRelation methods.
3471 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3473 API tweaks for today's API 'freeze'.
3476 Added placeholder functions to allow future compatible expansion
3477 of the IDL interfaces.
3479 * idl/Accessibility_Registry.idl:
3480 Changed generateKeyEvent to generateKeyboardEvent. Changed
3481 signature of this method to accept an optional keystring in
3482 parameter (for complex text input synthesis) and changed use of
3483 simple 'boolean' parameter in registerKeystrokeListener to a
3484 struct, EventListenerMode.
3486 * cspi/spi_accessible.c:
3488 * cspi/spi_streamablecontent.c:
3489 Added references to AccessibleStreamableContent interface, and
3490 definition and implementation of AccessibleStreamableContent
3493 * cspi/spi_registry.c:
3495 Changed generateKeyEvent API to generateKeyboardEvent,
3496 taking a new (optional) keystring parameter to support complex
3501 Renamed directory (to better reflect its actual purpose, bridging
3502 from at-spi to ATK). The .so module is also now named
3505 * idl/Accessibility_Hypertext.idl:
3506 * libspi/accessible.c:
3507 * libspi/hypertext.h:
3508 * libspi/hypertext.c:
3509 Changed Accessibility_Hypertext to *not* derive from
3512 * cspi/spi_registry.c:
3513 Added list of legal event type names for 'window' events, which
3514 completes the registry event API.
3516 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3518 * at-bridge/bridge.c: Added registration for separate
3519 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3520 signals. If either of the first two parameters to the generic
3521 bridge signal handler are ints, they are passed on as event
3522 details. This allows an AT to determine what text was inserted.
3524 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3526 * registryd/deviceeventcontroller.c:
3527 Fixed regressions in generateKeyEvent caused by the removal of
3528 gdk_init from registryd; we now use pure X calls to connect to the
3529 display, which makes sense because deviceeventcontroller already
3530 uses a fair bit of X API (should eventually be migrated to a
3531 'portability layer').
3533 * registryd/desktop.c:
3534 Fixed minor regression in spi_desktop_init, changed the way the
3535 desktop name is being set to work with new spi_base API
3536 (gobject-based, rather than AtkObject-based).
3538 * registryd/Makefile.am:
3539 Minor revision of makefile to use XTST_LIBS variable rather than
3540 hard-wiring the Xtst LD_ADD element.
3542 * test/keysynth-demo.c:
3543 Tweaked an output message; added initialization of the
3544 'keystrings' member of the "switch listener" key_set.
3546 * libspi/relation.c:
3547 Squashed compile-time warning.
3549 * libspi/accessible.c:
3550 Cosmetic and formatting fixes, renamed a static method.
3552 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3554 * libspi/accessible.c
3556 * libspi/application.c
3559 * libspi/component.c
3560 * libspi/editabletext.c
3561 * libspi/hyperlink.c
3562 * libspi/hypertext.c
3564 * libspi/selection.c
3568 * registryd/desktop.c:
3569 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3571 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3573 * idl/Accessibility_Registry.idl:
3574 Added boolean member 'is_text' to DeviceEvent. This is for the
3575 use of key events, and helps prevent ambiguity between composed
3576 key strings and keysym names, since both may potentially be
3577 returned in the 'event_string' member.
3579 * at-bridge/bridge.c:
3580 * registryd/deviceeventcontroller.c:
3581 Use the 'is_text' member when notifying device event listeners.
3582 Knon issue: composed characters are not dealt with correctly by
3583 the global key listener implementation yet.
3585 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3587 * at-bridge/bridge.c:
3588 Namespaced local static methods to spi_atk_bridge_* where
3589 previously named bridge_*, and spi_* elsewhere.
3591 * at-bridge/bridge.c:
3592 * cspi/bonobo/cspi-bonobo-listener.c:
3593 Added demarshalling/conversion for string member of
3594 Accessibility_DeviceEvent to AccessibleKeystroke.
3596 * registryd/deviceeventcontroller.c:
3597 Added code to fill the Accessibility_DeviceEvent key string value
3598 member for global key events (i.e. from XGrabKey), to match
3599 behavior of Accessibility_DeviceEvent from the toolkit key events
3600 from the bridge. Fixed timestamp in global key event notifications.
3603 Added printout of key event's string value to
3604 report_ordinary_key_event, for demo/debugging purposes.
3606 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3608 * idl/Accessibility_Registry.idl:
3609 Removed Accessibility_KeyStroke structure in favor of generic
3610 Accessibility_DeviceEvent structure.
3611 Changed Accessibility_ControllerEventMask from a struct to an
3614 * at-bridge/bridge.c:
3615 Changed APIs to use DeviceEvent structure as above, and removed
3616 bogus casting between these event structures.
3618 * cspi/spi-listener.h:
3619 Added keystring member of AccessibleKeystroke structure, to enable
3620 matching on event "names" rather than only hardware codes and
3624 Added keystrings member of AccessibleKeySet struct, to allow
3625 matching on event names (as above).
3626 Added declarations for SPI_createAccessibleKeySet and
3627 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3628 event modmasks directly as unsigned ints rather than structs with
3629 refcounts, in the DeviceEventController methods.
3631 * cspi/spi_registry.c:
3632 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3634 * cspi/spi-roletypes.h:
3635 Added documentation of newly added SPI Roles.
3637 * cspi/bonobo/cspi-bonobo-listener.c:
3638 Changes in support of API changes above.
3640 * libspi/accessible.c:
3641 Converted APIs to use DeviceEvent structure (see IDL changes
3644 * registryd/deviceeventcontroller.c:
3645 Added DEControllerGrabMask structure to track keygrabs not only by
3646 modmask but by keyset as well; this allows us to do "global"
3647 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3648 grabbing on AnyKey and then filtering after-the-fact.
3649 Bugfixes for event filtration mean that we don't get false matches
3650 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3652 * registryd/deviceeventcontroller.c:
3653 Namespaced a number of static methods to use spi_ prefix. Major
3654 revision to internals of global (i.e. X) key grabs.
3656 * registryd/deviceeventcontroller.h:
3657 Removed keymask_list and added keygrabs_list to
3658 SpiDeviceEventController struct.
3661 Added use of SPI_createAccessibleKeySet API when creating a
3662 listener for only one key. Attach a listener to "shift spacebar
3663 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3664 X key event names to SPI key event names, so that listeners are
3665 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3667 * test/keysynth-demo.c:
3668 Changed (incorrect) use of X key event names (KeyPressed,
3669 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3672 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3674 * libspi/accessible.c:
3675 Convert all AtkRole enumerations to Accessibility_Role enums when
3676 getting a role from an AtkObject.
3678 * cspi/spi_accessible.c:
3679 Complete the conversion of Accessibility_Role enums at runtime to
3680 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3681 role enums correctly match those given in spi-roletypes.h.
3682 Re-synchronize the local names list for AccessibleRole_getName ().
3683 AccessibleRole_getName is now deprecated, since it duplicates the
3684 more reliable Accessible_getRoleName.
3685 Added some role types from Accessibility_Role.idl.
3687 * idl/Accessibility_Role.idl:
3688 Added some role types used by AtkRole.
3690 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3693 * cspi/spi_registry.c:
3695 * cspi/cspi-bonobo-listener.c:
3696 Namespaced all methods that did not begin with an "SPI_" or
3697 "Accessible" prefix to "SPI_".
3700 Homogenized internal function namespace to "cspi_" for statics.
3703 Patched tests to use the new CSPI API.
3705 * docs/reference/cspi/at-spi-cspi-sections.txt:
3706 Updated docs to reflect namespace changes, and added a number of
3707 methods to the documentation.
3709 * registryd/registry.c:
3710 Changed use of strings and string hashes in listener event
3711 matching and parse_event_string to use GQuark, which is guaranteed
3714 * registryd/registry.h:
3715 Squashed annoying warning.
3717 * idl/Accessibility_Role.idl:
3718 Extended range of available Accessibility_Role values.
3720 * cspi/spi_accessible.c:
3721 Re-ordered role names.
3723 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3725 * idl/Accessibility_Value.idl:
3726 Revert use of union back to CORBA_double, since the double type is
3727 more efficient and can contain the other types without loss of
3730 * idl/Accessibility_Accessible.idl:
3731 Added method Accessibility:Accessible:getRoleName, to complement
3732 Accessibility:Accessible:getRole.
3734 * cspi/spi_accessible.c:
3736 Added C binding for above, Accessible_getRoleName (), and changed
3737 signature of Accessible_getRole () to return an AccessibleRole.
3739 * cspi/spi-roletypes.h:
3740 Changed AccessibleRole_getName to return a char * instead of a
3741 const char *. This method is now at least temporarily deprecated
3742 in favor of asking Accessibles for their RoleNames directly.
3745 Revert to match Accessibility_Value.idl;
3749 Change signature of AccessibleValue methods to use double rather
3753 * cspi/spi_accessible.c:
3754 Changed Accessible_getRole to return an AccessibleRole enum rather
3755 than a UTF-8 string. The UTF-8 string can still be obtained via
3756 AccessibleRole_getName ().
3758 * test/test-simple.c:
3759 Add test_action. Small fixup to match API change to Accessible_getRole.
3762 Bugfix for get_action_from_servant ().
3764 2001-12-11 Michael Meeks <michael@ximian.com>
3766 * libspi/libspi.h: remove registry.h and
3767 desktop.h, deviceeventcontroller.h
3769 * libspi/Makefile.am: remove registry.[ch],
3770 desktop.[ch], deviceeventcontroller.[ch]
3772 * registryd/Makefile.am: add registry.[ch],
3773 desktop.[ch], rename registryd.c to registry-main.c.
3774 add deviceeventcontroller.[ch]
3776 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3779 Replace setenv() call with putenv ().
3781 * libspi/component.c:
3782 Bugfix in AccessibleComponent_getExtents (),
3785 2001-12-11 Michael Meeks <michael@ximian.com>
3787 * libspi/image.c (impl_getImageExtents): impl.
3788 (spi_image_class_init): upd.
3791 (AccessibleImage_getImageDescription): fix daft bug
3794 * test/test-simple.c (global_listener_cb): update
3795 to only quit if not --poke
3796 (main): catch --poke.
3797 (validate_accessible): upd. dumping, call test_image
3800 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3803 * idl/Accessibility.idl: update all IDL includes.
3805 * idl/*.idl - rename to namespace - this sucks, blame
3806 mjs' bad decision for oafd.
3808 * test/test-simple.c (create_test_window): add more tests.
3809 (create_tree): split this out.
3810 (validate_accessible): bugfix.
3812 2001-12-11 Michael Meeks <michael@ximian.com>
3814 * cspi/bonobo/cspi-bonobo-listener.c:
3815 (cspi_kestroke_listener_unref),
3816 (cspi_event_listener_unref): impl. undoing previous
3817 homenous environment - for Bill.
3819 * cspi/spi_table.c (long_seq_to_array): use
3822 * cspi/spi_main.c: split out all bonoboish bits into
3825 * cspi/spi-impl.h: upd. typedefs.
3827 * cspi/spi_registry.c: update to lowlevel API,
3828 return booleans to indicate success in some places.
3830 * cspi/spi_event.c: update to lowlevel API.
3832 * cspi/bonobo/Makefile.am: add.
3834 * cspi/bonobo/cspi-lowlevel.h: add
3836 * cspi/bonobo/cspi-bonobo.c: add
3838 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3840 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3841 (SUBDIRS): add bonobo, link in the libs.
3843 * cspi/spi-util.c: kill this file.
3845 * TODO: merge in my bits.
3847 2001-12-11 Michael Meeks <michael@ximian.com>
3849 * test/test-simple.c (test_value, test_table, main):
3850 remove unused variables causing warnings.
3852 * configure.in: cleanup checks - require gail.
3854 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3857 Changed Value interface to use SValue (scalars) rather than
3858 assuming all values are floats. This allows floats, doubles,
3859 longs, shorts, and unsigned values to be manipulated.
3860 Introduced Accessibility:SValue union.
3863 Updated to use new API above, and to work correctly with GValues
3864 of different types in AtkValue.
3867 Updated to use new API above. cspi's API is as yet unchanged.
3870 Updated the Value revision action item.
3872 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3874 * test/test-simple.c:
3875 Added test_table (GtkTreeView widget in test window to follow).
3876 Un-commented test_value, added GtkRange widget.
3877 Added GtkTreeView widget with GtkListStore. It passes regression
3878 test but leaks one SPI object for some reason.
3881 Fixed bug in impl__set_currentValue.
3883 2001-12-10 Michael Meeks <michael@ximian.com>
3885 * cspi/spi_text.c: audit for exception handling,
3886 tolerating NULL object references safely etc.
3888 * cspi/spi_value.c: ditto.
3890 * cspi/spi_table.c (AccessibleTable_getSummary),
3891 (AccessibleTable_getAccessibleAt),
3892 (AccessibleTable_getRowHeader),
3893 (AccessibleTable_getColumnHeader),
3894 (AccessibleTable_getCaption): fix bugs hidden by
3896 (long_seq_to_array): impl.
3897 (AccessibleTable_getSelectedRows),
3898 (AccessibleTable_getSelectedColumns): use it.
3900 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3903 Added a TODO list (rough and short for now).
3905 * cspi/spi_hyperlink.c:
3906 * cspi/spi_hypertext.c:
3907 Fixed macro name typos, and remove use of obsolete macro in
3908 AccessibleHyperlink_getLink.
3910 * cspi/spi_action.c:
3911 * cspi/spi_accessible.c:
3912 * cspi/spi_application.c:
3913 * cspi/spi_component.c:
3914 * cspi/spi_selection.c:
3917 Documentation fixes (removed return values from ref/unref methods).
3919 2001-12-10 Michael Meeks <michael@ximian.com>
3921 * cspi/spi_action.c: audit for exception handling,
3922 tolerating NULL object references safely etc.
3924 * cspi/spi_accessible.c: ditto.
3926 * cspi/spi_component.c: ditto.
3928 * cspi/spi_editabletext.c: ditto.
3930 * cspi/spi_hyperlink.c: ditto.
3932 * cspi/spi_hypertext.c: ditto.
3934 * cspi/spi_image.c: ditto.
3936 * cspi/spi_selection.c: ditto.
3938 2001-12-10 Michael Meeks <michael@ximian.com>
3940 * configure.in: use cspi/libspi.pc.in instead.
3942 * Makefile.am (pkgconfig_DATA): upd. to match.
3944 * test/simple-at.c (report_focus_event): kill hacks around
3945 bad return values, use putenv not setenv
3947 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3948 fire ChildGone - I killed it.
3950 * libspi/component.c
3951 (impl_accessibility_component_get_extents): remove
3954 * idl/Accessible.idl: kill ChildGone exception.
3956 * cspi/*.[ch]: kill int return from ref / unref.
3958 * cspi/spi_main.c (cspi_object_add_check): fold into
3959 (cspi_object_add): here.
3961 * cspi/spi_component.c (AccessibleComponent_getExtents):
3962 handle exceptions elegantly.
3964 * cspi/spi-private.h (cspi_check_ev_return),
3965 (cspi_return_if_fail): impl.
3967 * cspi/spi_accessible.c: use extensively.
3968 (AccessibleStateSet_equals): add direct compare check.
3970 * cspi/spi_selection.c: tolerate NULL objs, and check
3971 exceptions before return.
3973 * cspi/spi-util.c (cspi_warn_ev): rename to
3974 (cspi_check_ev): this & don't pass ev in; no point.
3976 2001-12-10 Michael Meeks <michael@ximian.com>
3978 * test/test-simple.c: use putenv not setenv
3979 (get_environment_vars): more chatty if you're not using
3982 * test/simple-at.c: do the setenv so more people see the
3985 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3987 * libspi/registry.c:
3988 Changed check of CORBA_environment on notification to be a warning
3989 instead of an error for the moment, since we can recover from this
3990 error when caused by a queued notification from a dead app.
3993 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3994 used by all current implementors of AtkValue), and coerce to
3995 CORBA_float. (Proper general case fix may require change to Value.idl).
3997 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4001 * cspi/spi_accessible.c:
4002 Documentation fixes: added user_data params to documentation for
4003 listeners and callbacks.
4005 * cspi/spi_accessible.c:
4006 Changed AccessibleStateSet_compare to return a
4007 StateSet rather than return the difference set into a third parameter.
4010 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4013 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4014 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4018 Remove subdirectory po from SUBDIRS for now.
4020 * at-bridge/bridge.c:
4021 Beefed up a couple of debug printouts.
4022 One-line fix for signal notification name formatting.
4024 * libspi/accessible.c:
4025 Added assertion to spi_accessible_new ().
4027 * libspi/application.c:
4028 Put #ifdef qualifiers around a printf.
4031 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4033 * registryd/Makefile.am:
4035 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4036 INTLTOOL_SERVER_RULE macro.
4039 Added an event listener for several ATK signals, for
4040 testing and debugging. Removed a few g_warnings.
4041 Added test output if focussed item implements the Value interface.
4043 * test/test-simple.c:
4044 Added test_value () function (known not to pass at the moment, so
4045 not actually called yet.
4047 2001-12-08 Michael Meeks <michael@ximian.com>
4049 * at-bridge/bridge.c (bridge_focus_tracker),
4050 (emit_eventv): fix the same ref. leak.
4051 (register_atk_event_listeners): don't leak.
4053 * cspi/spi-listener-impl.c (cspi_event): more
4054 protection from client code.
4056 * test/test-simple.c (test_desktop): unref the app.
4058 * test/Makefile.am: upd. TESTS.
4060 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4062 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4064 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4066 * cspi/spi_registry.c: constify in strings.
4067 (deregisterGlobalEventListenerAll): don't release the ref.
4069 * cspi/spi.h: start removing redundant / conflicting
4070 gtkdoc comments, making the API readable at a glance :-)
4072 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4074 * test/keysynth-demo.c (keysynth_exit, main): upd.
4076 * test/simple-at.c (main, simple_at_exit): upd.
4078 * test/test-simple.c (unutterable_horror): kill.
4079 (utterable_normal_derefs): kill.
4080 (main): upd & do a setenv before gtk_init, so that we
4081 can use memprof - and to save the pain of remembering
4082 this, if we're running under memprof - don't exit.
4084 * cspi/spi_main.c (SPI_exit): return exit status
4086 (SPI_event_quit): impl.
4087 (SPI_event_main): simplify.
4088 (cspi_is_gnome_app): kill.
4089 (SPI_init): kill isGNOMEapp arg.
4091 * at-bridge/bridge.c (register_atk_event_listeners):
4092 re-instate the unref.
4093 (bridge_exit_func): don't re-activate the registry,
4094 protect vs. theoretical re-entry, use the
4095 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4096 assert a clean shutdown - for regression tests.
4098 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4100 * configure.in: Comment out dummy i18n support for now,
4101 otherwise it fails to build.
4102 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4103 EXTRA_DIST. They are missing in tarball.
4105 2001-12-07 Michael Meeks <michael@ximian.com>
4107 * util/magnifier.c: kill bonobo activation reg. race.
4109 * libspi/component.c
4110 (impl_accessibility_component_get_extents): make it match
4113 * libspi/registry.c (_registry_notify_listeners):
4114 re-remove X headers & reconcile conflicts.
4115 (spi_listener_struct_free): bad conflict resolve.
4116 (impl_accessibility_registry_register_application):
4117 more bad merging fixed.
4118 (impl_accessibility_registry_deregister_application): ditto.
4119 (spi_registry_new): ditto.
4120 (spi_registry_init): don't have an applications field.
4122 [ merge fixups2 branch to here ]
4123 2001-12-07 Michael Meeks <michael@ximian.com>
4125 * test/simple-at.c (report_focus_event),
4126 (report_focussed_accessible): remove g_warning debug.
4128 2001-12-07 Michael Meeks <michael@ximian.com>
4130 * test/test-simple.c (validate_tree): comment out some checks.
4131 (test_desktop): app now not registered idly - horay.
4133 2001-12-07 Michael Meeks <michael@ximian.com>
4135 * cspi/spi_registry.c
4136 (registerAccessibleKeystrokeListener): clean, stop it leaking
4137 great swathes of memory, and device event controller references.
4138 ensure we always pass valid sequences.
4139 (deregisterAccessibleKeystrokeListener): ditto.
4140 (generateKeyEvent): upd.
4142 * at-bridge/bridge.c (bridge_key_listener): handle
4143 registry dead exception gracefully.
4144 (bridge_focus_tracker, emit_eventv): free ev.
4146 * test/simple-at.c (report_focus_event): fix polarity.
4148 * libspi/application.c (notify_listeners): kill the ev
4149 argument, and make sure we init the ev we use.
4150 (spi_application_object_event_listener): split out a chunk
4151 (get_atk_object_ref): here & fixup.
4152 (reverse_lookup_name_for_toolkit_event): make const.
4153 (spi_application_toolkit_event_listener): fixup, kill leaks
4156 * at-bridge/bridge.c (register_atk_event_listeners):
4157 don't unref the noop object - causes grief.
4159 * libspi/registry.c: remove the X headers.
4160 turn off the debug churn.
4162 * libspi/accessible.c (spi_accessible_new_return): only
4163 release the ref if we are supposed to [doh]
4165 * test/simple-at.c (report_button_press, report_focus_event):
4166 guard vs. unexpected exit.
4168 * at-bridge/bridge.c (gtk_module_init): prune printf.
4169 (bridge_exit_func): fix app unref.
4171 * libspi/Makefile.am: don't install registry or desktop.h
4173 * libspi/*.h: update includes.
4175 * libspi/application.h: don't include ourself, or
4176 other redundant headers.
4178 2001-12-06 Michael Meeks <michael@ximian.com>
4180 * libspi/accessible.c
4181 (get_accessible_from_servant): impl.
4182 Upd. all CORBA impl.s to use it killing cut and paste.
4184 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4186 (SPI_init): register atexit cleanup handler here.
4188 2001-12-06 Michael Meeks <michael@ximian.com>
4190 * at-bridge/bridge.c (gtk_module_init): g_error on
4191 activation exception
4193 2001-12-06 Michael Meeks <michael@ximian.com>
4195 * at-bridge/bridge.c (gtk_module_init): some sort of
4196 confusing merge clash - reverted.
4197 (bridge_idle_init): ditto.
4199 * test/test-simple.c (main, utterable_normal_derefs):
4200 merge from Bill - somehow not committed.
4202 2001-12-06 Michael Meeks <michael@ximian.com>
4204 * libspi/value.c (spi_value_class_init): upd.
4205 (spi_value_finalize): kill.
4207 * libspi/table.c (spi_table_finalize): kill.
4208 (spi_table_interface_new): upd.
4209 (spi_table_class_init): upd.
4210 (get_table_from_servant): impl.
4211 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4213 * libspi/selection.c (spi_selection_finalize): kill.
4214 (spi_selection_interface_new): upd.
4215 (spi_selection_class_init): upd.
4216 (get_selection_from_servant): impl.
4217 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4219 * libspi/relation.c (spi_relation_finalize): kill.
4220 (spi_relation_class_init, spi_relation_new): upd
4222 * libspi/image.c (spi_image_finalize): kill.
4223 (spi_image_class_init): upd.
4224 (spi_image_interface_new): upd.
4225 (get_image_from_servant): impl.
4226 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4228 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4229 (spi_hyperlink_finalize): kill.
4230 (spi_hyperlink_new): upd.
4231 (get_hyperlink_from_servant): impl.
4232 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4234 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4235 (spi_hypertext_finalize): kill.
4236 (spi_hypertext_class_init): upd.
4237 (get_hypertext_from_servant): impl.
4238 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4240 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4241 (spi_editable_text_interface_new): upd.
4242 (get_editable_text_from_servant): impl.
4243 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4245 * libspi/text.c (get_text_from_servant): impl.
4246 All impls - update to use it killing more cut and paste,
4247 also fix bad string returns on duff args ( a somewhat
4248 impossible case to handle - but hey ).
4249 (spi_text_construct): impl.
4250 (spi_text_interface_new): upd.
4251 (spi_text_object_finalize): kill.
4253 * libspi/component.c
4254 (accessibility_component_object_finalize): kill.
4255 (spi_component_class_init): upd.
4256 (get_component_from_servant): impl. helper to kill cut & paste.
4257 (impl_accessibility_component_contains):
4258 (impl_accessibility_component_get_accessible_at_point):
4259 (impl_accessibility_component_get_position):
4260 (impl_accessibility_component_get_extents):
4261 (impl_accessibility_component_get_mdi_z_order):
4262 (impl_accessibility_component_get_layer):
4263 (spi_component_interface_new): upd.
4265 * libspi/action.c (spi_action_finalize): kill.
4266 (spi_action_class_init): upd. inherit from SpiObject.
4267 (spi_action_interface_new): upd.
4268 (get_action_from_servant): impl. helper to reduce cut & paste.
4269 (impl_getKeyBinding, impl_getName, impl_doAction),
4270 (impl_getDescription): Use it everywhere.
4272 * cspi/spi_main.c (get_live_refs): a pointer hash.
4273 (spi_object_hash, spi_object_equal): comment out.
4274 There are issues with CORBA object hashing that need
4277 * libspi/application.c (spi_application_init),
4278 (spi_application_new): upd.
4280 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4281 (spi_accessible_class_init): upd.
4282 s/accessible/object/ in epv methods.
4284 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4286 * at-bridge/bridge.c:
4287 Reorder the bridge initialization into the bridge gtk_module_init,
4288 an immediate call to bridge_register_app, and an idle_add for
4289 register_atk_event_listeners (the only code that *must* wait until
4290 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4291 the activation, creates the application's Accessible object, and
4292 queues the bridge_idle_init function. Restored call to
4293 Accessibility_Registry_deregisterApplication().
4294 Prior to making this call we obtain a new reference to the
4295 registry, which is a temporary hack that helps us handle apps that
4296 shut down the bonobo mainloop before we get there.
4298 * libspi/registry.c:
4299 Fix string leakage in debug block, and don't segv if a an app
4300 dies before its event notifications have been propagated.
4303 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4304 as stopgap measure until we get proper exception handling when
4305 objects die during or before interrogation.
4309 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4310 Also changed default value of is_gnome_app to TRUE.
4313 * test/keysynth-demo.c:
4314 Changed use of SPI_init and SPI_event_main to reflect API change above.
4317 Made report_focus_event check the warning value from getName
4318 before reporting on focussed accessible; simplifies handling of
4319 notifications from dead objects.
4321 * test/test-simple.c: (Changes not in this patch since source is
4324 2001-12-05 Michael Meeks <michael@ximian.com>
4326 * registryd/registryd.c (main): protect against
4327 bonobo-activation startup race condition.
4329 * cspi/spi_main.c (cspi_object_add_check): cope
4330 with the exception elegantly.
4332 * idl/Accessible.idl: decl. ChildGone
4334 * libspi/desktop.c (spi_desktop_dispose): impl.
4335 (spi_desktop_class_init): upd.
4336 (spi_desktop_add_application),
4337 (spi_desktop_remove_application),
4338 (abnormal_application_termination): impl.
4339 (impl_desktop_get_child_at_index): re-impl.
4342 (impl_accessibility_registry_deregister_application),
4343 (impl_accessibility_registry_register_application):
4344 kill excessive debug clutter.
4346 * test/test-simple.c (test_misc): test some NULL
4347 tolerance. (main): upd.
4349 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4350 implements no interfaces - so let's not crash.
4352 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4354 * libspi/accessible.c (spi_accessible_new_return): impl.
4355 helper to calm the cut and paste, to cope with
4356 NULL AtkObjects effectively and efficiently, and to kill
4357 the referencing bugs.
4359 * libspi/table.c (impl_getAccessibleAt),
4360 (impl_getRowHeader, impl_getColumnHeader): upd.
4362 * libspi/hyperlink.c (impl_getObject): upd.
4364 * libspi/accessible.c
4365 (impl_accessibility_accessible_get_child_at_index): upd.
4367 * libspi/component.c
4368 (impl_accessibility_component_get_accessible_at_point): upd.
4370 * test/test-simple.c (test_editable_text, test_text): impl.
4373 * cspi/spi_editabletext.c
4374 (AccessibleEditableText_insertText): constify.
4376 * test/test-simple.c (focus_me): make more robust.
4378 * libspi/accessible.c: remove some printfs in methods that
4379 we test and work fine, so we can get a clean tree dump.
4381 * test/test-simple.c (validate_accessible),
4382 (validate_tree): make tree dumping pretty too.
4384 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4385 it builds without debug on.
4387 * test/test-simple.c (validate_accessible): fix the most
4390 * cspi/spi_main.c (spi_object_release): leave the nicely
4391 blanked memory around if in debug mode.
4393 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4395 [committed to fixups2]
4396 2001-12-05 Michael Meeks <michael@ximian.com>
4398 * libspi/editabletext.c
4399 (spi_editable_text_class_init): g_type_class_peek_parent,
4400 not interface peek - so we finalize cleanly.
4402 * libspi/accessible.c (spi_accessible_new): kill debug.
4404 * test/test-simple.c (validate_accessible): fix ref.
4405 leak, print strings before freeing them; sigh, comment a
4406 chunk out due to strangeness.
4407 (validate_tree): unref the child after use.
4409 * cspi/spi_component.c (AccessibleComponent_getLayer):
4410 add missing break statement, switch on zlayer not the
4411 uninitialized retval.
4413 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4414 before (possibly re-entering) remote unref.
4416 * test/simple-at.c (main): unref the desktop.
4418 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4421 * cspi/spi_main.c (cspi_accessible_is_a): here to
4422 isolate bonobo API usage more.
4424 * libspi/registry.c (impl_accessibility_registry_register_application):
4425 prune bogus comment.
4427 2001-12-04 Michael Meeks <michael@ximian.com>
4429 * test/test-simple.c (validate_tree): upd.
4430 IndexInParent check to make it more lucid.
4431 (validate_accessible): dump the tree.
4433 * libspi/accessible.c (de_register_public_ref),
4434 (get_public_refs): impl.
4435 (spi_accessible_new): make more efficient & intuitive.
4436 Now IndexInParent check works.
4438 2001-12-04 Michael Meeks <michael@ximian.com>
4440 * cspi/spi-util.h: remove.
4442 * cspi/spi.h: move SPI_freeString here
4444 * libspi/component.c (impl_accessibility_component_get_layer):
4446 (impl_accessibility_component_get_mdi_z_order): ditto,
4447 return -1 on error - is this ok ?
4449 * test/test-simple.c (test_application): impl.
4451 * cspi/spi_accessible.c (Accessible_getApplication),
4452 (Accessible_isApplication): impl.
4454 * libspi/registry.c (spi_listener_struct_free): release
4455 the CORBA reference too.
4457 * libspi/accessible.c
4458 (impl_accessibility_accessible_get_parent): fix ref leak.
4460 * libspi/registry.c (spi_registry_new): make the registry
4461 immortal - we don't want it to go away ever.
4463 * libspi/application.c
4464 (spi_accessible_application_finalize): impl. cleanup.
4466 * cspi/spi_registry.c
4467 (deregisterGlobalEventListenerAll),
4468 (deregisterGlobalEventListener),
4469 (deregisterAccessibleKeystrokeListener): fix ref leak.
4471 * cspi/spi_main.c (SPI_init): remove redundant ref.
4473 * test/test-simple.c (unutterable_horror): impl. to force a
4478 (impl_accessibility_registry_deregister_application): release
4479 the application when we de-register it.
4481 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4482 until we have the infastructure to get it right.
4484 2001-12-03 Michael Meeks <michael@ximian.com>
4486 * libspi/Makefile.am: only build eventlistener.[ch]
4488 * libspi/accessible.c
4489 (impl_accessibility_accessible_get_child_at_index): don't leak.
4491 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4492 before we hit the idle handler.
4494 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4495 debugging than exit.
4497 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4499 * libspi/listener.c (impl_notify_event): check source
4500 not NIL before unref.
4502 * libspi/registry.c (impl_registry_notify_event): ditto.
4504 * libspi/eventlistener.c
4505 (impl_accessible_event_notify_event): unref the source.
4507 * libspi/accessibleeventlistener.c
4508 (impl_accessible_event_notify_event): unref the source.
4510 * idl/Event.idl: remove 'hash_id' attribute - of no
4513 * libspi/application.c (notify_listeners): upd list
4515 (spi_application_object_event_listener),
4516 (spi_application_toolkit_event_listener): upd to do correct
4520 (_registry_notify_listeners): update.
4521 (parse_event_type): this method also leaks like a sieve.
4522 (impl_accessibility_registry_deregister_global_event_listener):
4523 fix ETYPE_WINDOW case.
4525 * libspi/application.c
4526 (impl_accessibility_application_register_object_event_listener):
4529 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4531 * libspi/hypertext.c (impl_getLink): ditto.
4533 * cspi/spi_main.c (cspi_object_add): remove
4534 bogus CORBA_Object_duplicate.
4536 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4539 * cspi/spi_accessible.c
4540 (Accessible_getRelationSet): fix leak / referencing issue.
4542 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4543 (cspi_object_add, cspi_object_unref): upd.
4544 (spi_object_release, get_live_refs): impl.
4545 (cspi_cleanup): simplify.
4547 * *.[ch]: s/boolean/SpiBoolean/
4549 * cspi/spi_accessible.c (role_names): actualy order so it
4550 corresponds with the enum !
4552 * test/test-simple.c (test_roles): check some role strings
4553 vs. enums to detect offset errors.
4555 2001-12-01 Michael Meeks <michael@ximian.com>
4557 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4559 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4561 (Accessible_getChildAtIndex): use cspi_add_check so we
4562 check the ev before using a (possibly) invalid value.
4564 * libspi/accessible.c
4565 (impl_accessibility_accessible_get_parent): don't segv
4568 * at-bridge/bridge.c (gtk_module_init): upd.
4569 (bridge_property_event_listener): don't leak strings
4571 (bridge_state_event_listener),
4572 (bridge_property_event_listener): don't use a static
4573 buffer in case of recursive event emission &
4574 re-enterancy - split out the swathe of cut and paste
4576 (emit_eventv): and fix 2 ref leaks here & comply to the
4578 (bridge_register_app): rename to
4579 (bridge_idle_init): this and kill arg parsing, split
4580 various inits & bonobo-activation registration to module
4581 init time, kill referencing error.
4582 (bridge_exit_func): fix the same leak.
4583 (bridge_focus_tracker): don't leak event structures
4585 (bridge_signal_listener): more leakage and cut & paste
4587 (bridge_key_listener): return the result - FIXME is
4588 this polarity correct ?
4589 (accessibility_keystroke_from_atk_key_event): rename
4590 (accessibility_init_keystroke_from_atk_key_event): and stop
4592 (gtk_module_init): return a value - not that it is checked by
4594 (bridge_key_listener): register my horror at casting between
4595 IDL defined structs.
4596 (bridge_get_registry): kill - not used.
4598 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4600 * test/test-simple.c (test_roles): impl.
4601 (test_desktop, validate_accessible, validate_tree): impl.
4603 * cspi/spi_accessible.c (role_names): fixup bogus
4604 MAX_ROLES setup, make constants const for efficient linkage
4605 (AccessibleRole_getName): conform to coding style, make
4608 2001-11-30 Michael Meeks <michael@ximian.com>
4610 * cspi/spi.h: add missing prototype.
4612 * libspi/registry.c (spi_listener_struct_new): fix sig.
4614 * test/Makefile.am: add test-simple
4616 * test/test-simple.c: add
4618 * test/test.sh: add.
4620 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4622 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4623 do it straight - since otherwise we often get an activation race.
4625 [ work before Bill duplicated a chunk of it ... ]
4626 2001-11-30 Michael Meeks <michael@ximian.com>
4628 * libspi/keystrokelistener.c
4629 (spi_keystroke_listener_class_init): fixup arg
4632 * libspi/eventlistener.c
4633 (spi_event_listener_class_init): ditto.
4635 * tests/test.sh: add.
4637 * cspi/spi-listener-impl.h: update macros.
4639 * cspi/spi-listener-impl.c
4640 (cspi_event_listener_remove_callback): add
4641 correct pre-conditions.
4643 * cspi/spi_main.c (SPI_exit): guard vs. double
4644 exits, exit the mainloop nicely.
4645 (SPI_event_main): make more sense.
4646 (SPI_init): move the atexit evilness here so we
4647 always do it (yuck).
4648 (SPI_event_main): upd.
4650 * test/simple-at.c: update for listener changes.
4652 * registryd/registryd.c (main): prune kruft.
4654 * libspi/libspi.h: upd.
4656 * libspi/eventlistener.[ch]: rename broken macros.
4658 * libspi/accessibleeventlistener.[ch]: remove.
4660 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4662 * test/test-simple.c: Add - automated tests.
4664 * cspi/spi-listener-impl.c (cspi_event),
4665 (cspi_key_event): add user_data to invoke.
4666 (cspi_keystroke_listener_finalize): impl.
4667 (cspi_keystroke_listener_class_init): upd.
4670 (createAccessibleEventListener),
4671 (AccessibleEventListener_addCallback),
4672 (createAccessibleKeystrokeListener),
4673 (AccessibleKeystrokeListener_addCallback): upd.
4675 * libspi/deviceeventcontroller.c
4676 (spi_device_event_controller_check_key_event): add public proto.
4679 (impl_accessibility_registry_deregister_global_event_listener):
4680 always init listeners.
4681 (_registry_notify_listeners): yes it is.
4683 * cspi/spi-listener-impl.c (cspi_key_event):
4685 (cspi_event_listener_finalize): impl.
4686 (cspi_event_listener_class_init): hook up.
4687 (event_handler_new, event_handler_free),
4688 (event_list_remove_by_callback): impl.
4689 (cspi_event_listener_remove_callback),
4690 (cspi_keystroke_listener_remove_callback),
4691 (cspi_keystroke_listener_add_callback),
4692 (cspi_event_listener_add_callback): upd.
4694 * libspi/keystrokelistener.c
4695 (keystroke_listener_object_finalize): kill
4696 (spi_keystroke_listener_class_init): upd.
4697 (spi_keystroke_listener_add_callback),
4698 (spi_keystroke_listener_remove_callback): kill,
4700 (impl_key_event): prune drasticaly.
4702 * libspi/eventlistener.c
4703 (spi_event_listener_add_callback),
4704 (spi_event_listener_remove_callback): kill, use
4706 (impl_accessible_event_notify_event): upd.
4707 (spi_event_listener_object_finalize): remove.
4709 * libspi/Makefile.am: use eventlistener.[ch]
4711 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4713 * libspi/registry.c (_registry_notify_listeners):
4714 Changed listener loop iteration to use preferred convention.
4715 Got rid of string memory leaks caused be calling g_strconcat
4716 inside function calls.
4718 * libspi/registry.c (parse_event_type):
4719 Stopped g_strconcat memory leaks, free the g_strsplit return,
4720 g_strdup the split pieces when used, etc.
4722 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4725 Change method 'compare' to return a 'difference set' rather than
4726 taking a StateSet as an out parameter (more Java-friendly).
4728 * idl/Accessible.idl:
4729 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4731 * idl/Component.idl:
4733 Changed methods 'getExtents' and 'getImageExtents' in these
4734 interfaces to return a BoundingBox structure.
4735 (getPosition and getSize are redundant and possibly should be
4736 removed, rather than creating a corresponding Point struct.)
4738 * cspi/spi_component.c:
4739 Modify implementation of getExtents to reflect the above IDL
4744 Add (missing) AccessibleImage_getExtents () API.
4746 * docs/reference/cspi/at-spi-cspi-sections.txt:
4747 Added AccessibleImage_getImageExtents () to docs.
4749 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4751 * idl/Component.idl:
4752 Added two methods, getLayer () and getMDIZOrder (), to reflect
4753 the new ATK methods atk_object_get_layer and
4754 atk_object_get_mdi_z_order. (Which arguably should be part of the
4755 AtkComponent API and AtkObject). Also added an enum,
4756 ComponentLayer, for the first method's return value.
4758 * libspi/component.c:
4759 Added implementations for these methods.
4761 * cspi/spi_component.c:
4763 Added cspi binding methods for above,
4764 AccessibleComponent_getLayer() and
4765 AccessibleComponent_getMDIZOrder().
4766 Added cspi enum 'AccessibleComponentLayer'.
4768 * docs/reference/cspi/at-spi-cspi-sections.txt:
4769 Added above methods to docs.
4773 Changed typedef for 'boolean' type (and all references to it) to
4774 SPIBoolean, to avoid keyword clashes with C++.
4777 Changed usages of 'boolean' to SPIBoolean.
4779 * test/keysynth-demo.c:
4780 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4781 app), except where SPIBoolean is required by the callbacks API.
4783 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4785 * cspi/spi_registry.c:
4786 Removed obsolete X event loop for passive keygrabs (which now
4789 * registryd/registryd.c:
4790 Removed unnecessary call to gdk_init() [cruft]. This also allows
4791 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4794 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4796 * docs/reference/cspi:
4797 Included docs for SPI_freeString in generated documentation.
4800 Renamed spi_freeString to SPI_freeString, for consistency. Added
4801 documentation for this function.
4804 Renamed spi_freeString to SPI_freeString, for consistency.
4805 Removed obsolete method declaration string_from_corba_string.
4807 * test/keysynth-demo.c:
4808 Small tweak to comments.
4811 Stopped leaking the strings returned from CSPI.
4813 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4815 Merged Michael's branch (see his ChangeLog entries below).
4817 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4818 bridge is alive, release on exit.
4820 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4821 Fix type check macro.
4824 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4827 Added is_gnome_app static, and method cspi_is_gnome_app(),
4828 so we can call the appropriate shutdown routine at exit in SPI_exit.
4830 * cspi/spi_main.c (cspi_object_ref):
4831 Duplicate the corba object passed in, since we're keeping it around.
4833 * cspi/SPI_exit.c, cspi_cleanup:
4834 Moved the releasing of the live refs to its own function, so we
4835 can put it in g_atexit (). Call the appropriate shutdown API
4836 depending on whethe calling client is a gnome app or not
4837 (bonobo_main_quit or CORBA_ORB_shutdown).
4839 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4840 Unref the listener when this method is called, after
4841 deregistration. Updated the API docs to note this behavior.
4843 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4844 Bugfixes: Ref the bonobo object when returning a parent or child
4845 reference, or an AccessibleRelation. Generally made sure
4846 BonoboObject refcount is incremented whenever we return an
4849 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4850 Fixed typo/bug in signal declaration.
4852 * libspi/accessibleeventlistener.h:
4855 * libspi/application.c (spi_application_new):
4856 Fixed leak in initialization.
4859 Remembered to increment bonobo-object refcount when returning
4860 children (applications) from desktop object.
4861 Added (empty) finalize method.
4863 * libspi/deviceeventcontroller.c:
4864 Hold a ref to listeners inside DEControllerKeyListeners.
4865 Added dec_key_listener_free() method. Use prepend instead of
4866 append in key_listener list. Fixed some refcount madness and
4867 leaks in the listener registration/deregistration - deregistration
4868 now calls dec_key_listener_free() on listeners, and on the
4869 temporarily constructed dec_key_listener() used to perform the search/match.
4871 * libspi/hypertext.c (spi_hypertest_finalize):
4872 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4873 class. Also fixed spi_hypertext_interface_new() and
4874 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4876 * libspi/hypertext.h:
4877 Removed pointless and duplicate AtkObject pointer from
4880 * libspi/keystrokelistener.c:
4881 Fixed incorrect type of keystroke_listener_parent_class,
4882 renamed keystroke_listener_object_finalize to
4883 spi_keystroke_listener_object_finalize.
4884 Fixed typo in signal declaration
4885 (spi_keystroke_listener_class_init).
4887 * libspi/registry.c:
4888 Added funcsions spi_listener_struct_new() and
4889 spi_listener_struct_free() to help with memory management issues.
4890 We also now use these methods instead of gnew + poking stuff into
4891 the struct, and to decrement listener counts/free the listeners
4892 when deregistering them.
4893 Fix more refcount bugs in getDesktop() and
4894 getDeviceEventController().
4897 De-ref the desktop after enumerating the applications. Explicitly
4898 decrement the refcounts on the created listeners on exit (using
4899 _unref for keystroke listeners, and via the
4900 deregisterGlobalEventListenerAll command for other event
4903 2001-11-27 Michael Meeks <michael@ximian.com>
4905 * cspi/spi-listener.h: fixup enum.
4907 2001-11-27 Michael Meeks <michael@ximian.com>
4909 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4910 (cspi_keystroke_listener_new): Use the cspi variants.
4912 2001-11-26 Michael Meeks <michael@ximian.com>
4914 * test/keysynth-demo.c: fix 2 compile warnings, missing
4917 * test/simple-at.c (report_focussed_accessible),
4918 (report_focus_event, report_button_press),
4919 (check_property_change, is_command_key),
4920 (report_ordinary_key_event, report_command_key_event): upd.
4922 * util/mag_client.h: include pre-requisites.
4924 * libspi/accessibleeventlistener.c
4925 (spi_event_listener_object_finalize): free any lingering
4928 * libspi/keystrokelistener.c
4929 (keystroke_listener_object_finalize): ditto.
4931 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4932 callbacks, with cspi types.
4934 * cspi/spi_event.c (createAccessibleEventListener): chain to
4935 (AccessibleEventListener_addCallback): here.
4936 (createAccessibleKeystrokeListener): chain to
4937 (AccessibleKeystrokeListener_addCallback): here.
4939 * libspi/keystrokelistener.c
4940 (spi_keystroke_listener_class_init): add signal.
4941 (impl_key_event): emit the event.
4942 (boolean_handled_accumulator): impl.
4943 (marshal_BOOLEAN__POINTER): add, gack.
4945 * libspi/accessibleeventlistener.c
4946 (spi_event_listener_class_init): add signal.
4947 (impl_accessible_event_notify_event): emit the signal &
4948 make the loop efficient.
4949 (spi_event_listener_add_callback): prepend the callback.
4951 * libspi/accessibleeventlistener.h: add an 'event' signal,
4952 decl type on callback.
4954 * libspi/keystrokelistener.h: ditto.
4956 * cspi/spi-listener.h: make methods typesafe and
4957 make them use the new event typedefs.
4959 * test/simple-at.c (report_focussed_accessible):
4960 include mag_client.h
4961 Use *(void *)text_interface not the other thing.
4963 * configure.in: add gtk to registryd bits - since we use
4966 * util/magnifier.c: include libbonobo.h
4968 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4970 * test/keysynth-demo.c:
4971 Turned this into a simple scanning keyboard, to demonstrate the
4972 use of g_timeout_add () as a means of creating timers for
4973 scanning, and the use of GtkStyle for visually indicating when
4974 virtual keyboard elements are selected.
4976 keysynth-demo now listens to any keyboard keys with zero-valued
4977 keycodes (i.e. 'unused' keys) and interprets them as
4980 Reworked the shiftlatch code so that shift-down state isn't held
4981 for long periods (it's only synthesized immediately prior to
4982 the keysynth event it's modifying). Note that shiftlatch in this
4983 demo is a convenience, not intended to take the place of AccessX
4984 which is the better choice for getting 'sticky' modifier keys.
4986 * libspi/deviceeventcontroller.c:
4987 * at-bridge/bridge.c:
4988 * cspi/spi_registry.c:
4989 Removed some debug print stuff, and put other verbosity in #ifdef
4994 Implemented some more of the magnifier IDL for the simple
4995 magnifier: namely, getZoomRegionParams.
4996 Added mag_x and mag_y members to MagnifierData struct, aid of this
4998 Added GtkWindow::realize signal handler to magnifier, to keep it
4999 from receiving keyboard focus from the WM.
5001 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5003 * cspi/spi-private.h: my guess at what michael forgot
5004 before he ran off to NZ :-)
5006 2001-11-23 Michael Meeks <michael@ximian.com>
5008 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5009 comment out non existant method invoke so we link.
5011 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5012 use bonobo_exception_get_text for more friendly warnings.
5014 * cspi/spi.c (Obj_Add): move into spi_main & rename
5015 spi_object_add; kill spi.c
5017 * cspi/spi_registry.c
5018 (deregisterGlobalEventListener),
5019 (deregisterGlobalEventListenerAll),
5020 (registerGlobalEventListener): fix exception leaks.
5022 * cspi/spi_main.c (spi_exception): impl. helper, so we
5023 don't leak exceptions.
5025 * cspi/spi_selection.c
5026 (AccessibleSelection_deselectSelectedChild): return the
5029 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5030 (spi_registry): ditto.
5031 (SPI_init): guard against double inits.
5033 * cspi/*.c: use spi_ev (), and spi_registry () where
5034 appropriate - a temporary hack until we have something
5035 better. Use spi_object_add
5037 2001-11-22 Michael Meeks <michael@ximian.com>
5039 * cspi/Makefile.am: re organise, install the headers.
5041 * cspi/*.h: add G_BEGIN/END_DECLS
5043 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5046 Added non-preemptive keylistener for key events with no modifiers
5047 and shift-only modifier.
5049 * libspi/keystrokelistener.c:
5050 Removed some verbose diagnostics printout.
5052 * cspi/spi_registry.c:
5053 Fixed a bug that caused all key listeners to be registered as
5056 * libspi/deviceeventcontroller.c:
5057 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5058 for non-preemptive key masks.
5061 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5063 * docs/reference/idl/at-spi-idl-docs.sgml:
5064 * docs/reference/idl/at-spi-idl-sections.txt:
5065 * docs/reference/idl/at-spi-idl-overrides.txt:
5066 Added missing files.
5068 * docs/reference/Makefile.am:
5069 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5070 to scan the IDL files :-(
5075 Added .cvsignore files.
5077 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5079 * libspi/deviceeventcontroller.c:
5080 * libspi/keystrokelistener.c:
5082 * cspi/spi_registry.c:
5083 Added filters for KeySets, KeyEventSeq, and event types to key
5084 event dispatching, so listeners should only receive those events
5085 that they requested :-)
5087 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5092 * docs/reference:Makefile.am:
5093 * docs/reference/cspi:
5094 * docs/reference/cspi:Makefile.am:
5095 * docs/reference/cspi:tmpl:
5096 * docs/reference/cspi:tmpl:*.sgml:
5097 * docs/reference/idl:
5098 * docs/reference/idl:Makefile.am:
5099 * docs/reference/idl:at-spi-idl-sections.txt:
5100 * docs/reference/idl:at-spi-idl-docs.sgml:
5101 * docs/reference/idl:tmpl:
5102 * docs/reference/idl:tmpl:*.sgml:
5104 Restructured docs directory to allow separate 'reference' docs
5105 section, and forked idl and cspi docs. Added the sgml template
5106 files to CVS. Added the first sections/structural sgml for the
5109 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5111 * configure.in, libspi/Makefile.am: find libXtst.
5113 2001-11-21 Michael Meeks <michael@ximian.com>
5115 * test/accessx-gui.c: s/spi_value/value/ - doh.
5117 * libspi/base.[ch]: add.
5119 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5121 * idl/Accessible.idl:
5122 * idl/Application.idl:
5125 Started gtk-doc cleanup on IDL.
5127 * libspi/deviceeventcontroller.c:
5128 Added and connected non-preemptive key notification from the
5129 toolkits (in addition to the pre-emptive support from XServer
5130 which we had before, but which causes 'focus flashing'). Filters
5131 are presently limited to key modifiers and global/non-global,
5132 KeySets are presently ignored, as are KeyEvent masks.
5134 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5135 structs into the persistant structure rather than just storing
5136 pointers to things that might not persist across servant
5139 The XGrabKey call now does async keygrabs, because synchronous
5140 ones were deadlocking with GDK_event code in a very nasty way.
5142 Added boolean to internal method notify_keylisteners, to indicate
5143 whether the event came from the 'toolkit source' or the 'global
5144 (XServer) source' - this is used in the notification process to
5145 determine which listeners to send the event to.
5147 deviceeventcontroller.c is now warning-free.
5149 * libspi/registry.c:
5150 Fixed regression in application de-registration.
5151 Also fixed some really brain-dead weirdness having to do with
5152 event dispatching - event structs are now duplicated before being
5153 re-marshalled in the dispatch to listeners. This also fixes a
5154 Solaris build problem.
5157 2001-11-20 Michael Meeks <michael@ximian.com>
5160 (impl_accessibility_registry_deregister_global_event_listener):
5163 * libspi/deviceeventcontroller.c
5164 (spi_device_event_controller_check_key_event): return
5165 FALSE on no virtual method.
5167 * libspi/*..h: make includes work on a correctly pathed install.
5169 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5171 * libspi/application.h: kill unused ( and whacked out )
5172 gboolean *spi_application_set_id (AtkObject *app, long id);
5174 2001-11-20 Michael Meeks <michael@ximian.com>
5176 * libspi/*.[ch]: further convert to bonobo's type func
5177 macros, remove redundnant casts etc.
5179 * libspi/text.c s/accessibility_text/spi_text/g,
5180 re-order to de-cruft.
5182 * libspi/hypertext.c: re-order to kill a huge slew
5183 of redundant forward decls.
5185 * libspi/relation.c: ditto.
5187 * libspi/image.c: ditto.
5189 * */.cvsignore: update
5191 2001-11-20 Michael Meeks <michael@ximian.com>
5193 * libspi/deviceeventcontroller.c
5194 (_controller_register_with_devices): use g_getenv,
5195 kill stdlib.h include.
5197 * libspi/keystrokelistener.c
5198 (spi_keystroke_listener_get_type): kill
5199 (spi_keystroke_listener_class_init),
5200 (spi_keystroke_listener_init): rename to this.
5202 * libspi/text.c (impl_getAttributes): fix warning / bug.
5204 * libspi/*.[ch]: more headers, includes and over commenting.
5206 2001-11-20 Michael Meeks <michael@ximian.com>
5208 * libspi/*.[ch]: fixup headers, includes and over commenting.
5210 * libspi/image.c (impl__get_imageDescription): const
5211 correctness warning fix. remove redundant casting.
5213 * libspi/table.c (impl_getRowDescription): ditto.
5214 (impl_getColumnDescription): ditto.
5216 * libspi/libspi.h: add.
5218 2001-11-19 Michael Meeks <michael@ximian.com>
5220 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5222 * libspi/component.c (accessibility_component_get_type):
5223 rename to (spi_component_get_type): and macroify.
5224 (accessibility_component_init): rename to
5225 (spi_component_init): this
5226 (accessibility_component_class_init): rename to
5227 (spi_component_class_init): this
5229 * libspi/action.c (spi_action_get_type): kill, use the macro.
5231 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5234 * libspi/application.c (spi_application_object_event_listener),
5235 (impl_accessibility_application_register_object_event_listener):
5236 warning fixes / const understanding updates.
5238 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5241 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5243 * libspi/spi_accessible.c: Added docs and C bindings for
5244 AccessibleStateSet. (No implementations yet). Documentation
5245 coverage for C bindings now 100%. Made docs for event listeners
5250 boolean notifyListenersSync (in DeviceEventListener listener,
5251 in DeviceEvent event);
5253 oneway void notifyListenersAsync (in DeviceEventListener listener,
5254 in DeviceEvent event);
5256 Added DeviceEventListener and DeviceEvent structs (may deprecate
5257 KeyStroke and KeystrokeListener in favor of this generic
5258 event/listener framework for devices).
5260 * libspi/deviceeventcontroller.c:
5262 Changed some key listener code to take masks, etc., and paved the
5263 way for integration of toolkit/non-preemptive key events. Changed
5264 signatures of some internal methods.
5266 * at-bridge/bridge.c:
5267 Fixed regression connecting to interface signals, apparently
5268 caused by GTK+ changes.
5270 Added an internal bridge_state_listener to deal with
5271 property-change:accessible-state signals.
5273 Changed the key_listeners GList to store structs (including masks,
5274 etc.) instead of just CORBA_Objects (required for full
5275 implementation of key listener API).
5277 Connected the bridge to all currently supported Atk signals.
5278 Events now supported:
5279 object:property-change
5280 object:property-change:accessible-name
5281 object:property-change:accessible-state
5282 object:property-change:accessible-description
5283 object:property-change:accessible-parent
5284 object:property-change:accessible-value
5285 object:property-change:accessible-role
5286 object:property-change:accessible-table-caption
5287 object:property-change:accessible-table-column-description
5288 object:property-change:accessible-table-column-header
5289 object:property-change:accessible-table-row-description
5290 object:property-change:accessible-table-row-header
5291 object:property-change:accessible-table-summary
5292 object:children-changed
5293 object:visible-data-changed
5294 object:selection-changed
5295 object:text-selection-changed
5297 object:text-caret-moved
5299 object:row-reordered
5301 object:column-inserted
5302 object:column-reordered
5303 object:column-deleted
5304 object:model-changed
5306 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5308 * libspi/hyperlink.c,h:
5309 Fixed some broken stuff in hyperlink.
5311 * libspi/relation.h:
5312 * libspi/relation.c:
5313 * cspi/spi_accessible.c:
5314 Initial implementations of AccessibleRelation methods, and docs.
5316 * libspi/accessible.c:
5317 Fixed a bug that caused SEGV if an accessible
5318 object's description is NULL, and a client
5319 requests it. An empty string is now returned.
5321 * cspi/spi_editabletext.c:
5322 * cspi/spi_hypertext.c:
5324 * cspi/spi_hyperlink.c:
5328 Doc coverage now 95%.
5330 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5332 One last namespacing revision:
5333 * libspi/accessibleeventlistener.[ch]:
5334 Renamed SpiAccessibleEventListener to SpiEventListener,
5335 (no need for two namespaces ;-)
5337 And lots of documentation fixes:
5339 * docs/at-spi-docs.sgml:
5340 Fixed 'underscore vs. hyphen' bug that was preventing
5341 the gtk-doc API docs from being automatically generated.
5344 * cspi/spi-listener.h
5346 * cspi/spi_accessible.c
5348 * cspi/spi_application.c
5349 * cspi/spi_component.c
5350 * cspi/spi_editabletext.c
5352 * cspi/spi_hypertext.c
5354 * cspi/spi_registry.c
5355 * cspi/spi_selection.c
5359 * docs/at-spi-docs.sgml
5360 * docs/at-spi-sections.txt
5362 Added and fixed up gtk-doc documentation in cspi.
5364 Interfaces now (fully) documented (subject to revision and enhancement):
5366 Event Listener Support
5368 AccessibleApplication
5372 AccessibleEditableText
5379 AccessibleRelationSet
5384 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5386 * at-bridge/bridge.c:
5387 Initial work for toolkit-level key snooper connection by bridge.
5392 New typedefs and fixes to support new namespacing, and cleaner
5393 separation of cspi bindings from libspi bonobo implementation.
5394 Removed inconsistent and extraneous Spi* namespace prefix that
5395 had crept into cspi headers.
5396 Lots of comment fixes that sed had missed.
5398 * cspi/spi-roletypes.h:
5399 * cspi/spi-statetypes.h:
5400 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5401 to AccessibleRoleType.
5403 * libspi/accessibleeventlistener.h:
5404 Fixed minor namespacing weirdness.
5406 * libspi/deviceeventcontroller.c:
5407 Reordered some internal API for device listeners.
5408 Changed the key registry final boolean to 'is_system_global'
5409 rather than 'is_synchronous', which is more descriptive of its
5411 Added spi_device_event_controller_new().
5412 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5414 * libspi/keystrokelistener.[ch]:
5415 Namespaced KeystrokeListener to SpiKeystrokeListener.
5416 Changed uses of keymasks to use SPI_ prefix, and did other
5419 * libspi/keymasks.h:
5420 Namespaced keymask constants with SPI_ prefix.
5422 * libspi/registry.c:
5423 Some warning fixes, and knock-on fixes from namespace changes.
5426 Added rules for accessx-gui test program.
5428 * test/accessx-gui.c:
5429 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5430 utility. It doesn't actually use at-spi, but it's still cool and
5433 * test/keysynth-demo.c:
5437 Fixes so that these test clients work properly with the namespaced
5438 libraries. (Incompletely tested for technical reasons, fixes may follow)
5441 2001-11-13 Michael Meeks <michael@ximian.com>
5443 * libspi/application.c
5444 (impl_accessibility_application_get_version),
5445 (impl_accessibility_application_get_toolkit_name):
5447 (impl_accessibility_application_set_id),
5448 (impl_accessibility_application_get_id): remove
5449 redundant casting code.
5451 * libspi/action.c (impl_getDescription): fix warnings.
5453 * libspi/accessible.c
5454 (impl_accessibility_accessible_get_parent),
5455 (impl_accessibility_accessible_get_child_at_index),
5456 (impl_accessibility_accessible_get_state),
5457 (impl_accessibility_accessible_get_relation_set):
5458 warning fixes & include action.h
5460 2001-11-13 Michael Meeks <michael@ximian.com>
5462 * *.[ch] fix bits I screwed up:
5464 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5465 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5467 2001-11-13 Michael Meeks <michael@ximian.com>
5469 * *.[ch] Namespace libspi into spi_ and Spi.
5471 2001-13-11 Michael Meeks <michael@ximian.com>
5473 * Makefile.am: dist & install at-spi-1.0.pc
5475 * libspi/Makefile.am: install into at-spi-1.0
5477 * idl/Makefile.am (idldir): install into at-spi-1.0
5479 * at-spi-1.0.pc.in: add.
5481 * configure.in: build it.
5483 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5485 * test/keysynth-demo.c:
5486 Use a 'realize' signal-handler to set the WM properties for
5487 the virtual keyboard, rather than making it a "POPUP" type
5488 override-redirect window (thanks to anders carlsson for that
5491 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5494 * test/keysynth-demo.c:
5495 Added new test of key synthesis, which creates a simple
5496 (mouse-operated) onscreen keyboard. It inserts key events into
5497 the currently-focused window, thus it does not grab keyboard focus
5500 * cspi/spi_registry.c:
5501 Added C binding for AT-SPI generateKeyEvent.
5503 * libspi/deviceeventcontroller.c:
5504 Added call to XFilterEvent so that key listener works with XIM (we
5505 hope). Added event_synth_type to generateKeyEvent, so that we can
5506 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5507 synthesize a press/release pair for KeySyms.
5509 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5511 * libspi/Makefile.am:
5512 * registryd/Makefile.am:
5513 (temporary) hack to include libXtst in libspi and registryd.
5514 (Needed for keystroke synthesis, see below).
5517 Improved API for registerKeystrokeListener, in accordance with
5518 discussions with Gnopernicus team and X server research.
5520 * libspi/registry.c:
5521 * libspi/deviceeventcontroller.c:
5522 * libspi/accessible.c:
5523 * libspi/keystrokelistener.c:
5524 Changes and fixes to support keylisteners for potentially
5525 consumed key events (that is, 'passive grabs').
5526 Added implementation for generateKeyEvent() [untested].
5529 Changes to registerKeystrokeListener() API, as above.
5530 Added deregisterGlobalEventListenerAll(), and
5531 deregisterKeystrokeListener(), which are needed for clean exit of
5533 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5534 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5536 * cspi/spi_registry.c:
5537 Added implementations of function prototypes mentioned above.
5539 * registryd/registryd.c:
5540 Added the key listener event source as a g_timeout(), to allow
5541 receipt of key events that are not caught by GDK (since GDK
5542 doesn't support passive keygrabs, this was necessary).
5545 Changed to attach a keylistener to 'Alt' keys, and
5546 respond to the following keycommands: Alt-M (toggle magnifier);
5547 Alt-F (toggle speech); Alt-Q (quit).
5548 Added an exit routine to deregister the listeners, and a key
5549 listener that prints some key info to the console when a key
5550 matches the listener mask (and is thus received by the listener).
5552 * util/idl/Magnifier.idl:
5553 Changes to magnifier API to support multiple zoom regions,
5554 non-uniform scaling in x and y, markDirty, and a host of other
5555 features that would be useful to magnification.
5558 * util/mag_client.c:
5559 * util/mag_client.h:
5560 * util/mag_control.c:
5562 Source code changes to support the above IDL changes.
5565 As above, and also changes to use a (slower) generic conversion
5566 path for colormap conversions, since the fast RGB conversions have been
5567 reported to fail for 16-bit displays.
5569 2001-10-26 Michael Meeks <michael@ximian.com>
5571 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5573 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5575 * at-bridge/Makefile.am: fix LDFLAGS.
5577 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5579 * at-bridge/bridge.c:
5580 Re-worked listeners for toolkit events, now we have signal
5581 and property listeners. Added a private method
5582 register_atk_event_listeners(), which registers with the
5583 various atk and gtk signals we need to monitor in order to emit
5585 Added emission hook for AtkObject:property-change events, to
5586 support the 'property listeners'.
5587 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5590 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5591 which emit warnings and exit, respectively, if CORBA errors occur
5592 during remote calls, and we now use these methods to check most of
5593 our CORBA calls in the C bindings.
5595 * cspi/spi_accessible.c:
5596 Changed AccessibleSelection_refSelectedChild() to
5597 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5598 now increment refcounts.
5600 * cspi/spi_component.c:
5601 Fixed some long pointer casts (dangerous!) to pass pointers to
5602 CORBA_longs of the proper type to the CORBA stubs, and copy the
5603 data into the longs that were passed into the C bindings code.
5605 * at-bridge/bridge.c:
5607 * libspi/accessible.c:
5608 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5609 hyperlinks, AtkHyperlink is an object type.
5611 * libspi/application.c:
5612 Added various conversions to and from "generic" event types and
5613 atk-specific types; this is really part of the 'bridge'
5614 implementation but is valid for all AtkObject-based accessibility
5617 * libspi/editabletext.c:
5618 Fixed nasty bug wherein editable text's finalize method was
5619 unref'ing tha AtkObject reference that the text parent class was
5620 about to unref _again_. There was also a nasty inheritance bug
5621 that meant that the AccessibleEditableText class was corrupt.
5623 * libspi/selection.c:
5624 Provided implementations for some selection API that was broken.
5626 * idl/Application.idl:
5627 Added registerObjectEventListener () method.
5630 Fixed a number of return values that were Bonobo_Unknowns from
5631 bonobo_object_corba_objref(), which I
5632 forgot to dup before returning. Changed instances of
5633 bonobo_object_corba_objref (bonobo_object(o)) to
5634 BONOBO_OBJREF(o), for concision and clarity.
5636 2001-10-13 Louise Miller <louise.miller@sun.com>
5638 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5639 idl/Event.idl, idl/Registry.idl
5640 Changed these files to include Bonobo_Unknown.idl instead
5643 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5645 * libspi/component.c libspi/component.h:
5646 Fixed typo. Added assertions for object checks in
5647 AccessibleComponent code.
5649 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5651 * idl/Accessible.idl:
5652 Added 'isEqual (Accessible *object)'
5653 method for Accessible. (Not Yet Implemented).
5656 Changed signature of registerKeystrokeListener() to
5657 take a KeySet and KeyEventSeq so that specific keys and event
5658 types could be requested for monitoring, and added a flag
5659 is_synchronous so that either synchronous or asynchronous
5660 notification could be requested. (However this is not all
5661 implemented yet). This also meant adding two new typedefs,
5662 KeyEventSeq and KeySet.
5665 Added two new relations, RELATION_TOOLTIP_FOR and
5666 RELATION_LEAFNODE_OF.
5669 Added new state, STATE_HAS_TOOLTIP.
5671 * libspi/text.c, editabletext.c:
5672 Added new assertions to all casts of bonobo-objects from
5673 CORBA servants, to prevent Text API calls on non-text objects.
5674 Changed suspect casts of int-pointer types, so that we
5675 always send a valid CORBA_long pointer to the CORBA APIs that use
5676 in/out long parameters. We then have to copy from the CORBA_long
5677 into the regular long or int for return to the C bindings, or
5678 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5681 * libspi/deviceeventcontroller.c:
5682 Cleaned these sources up.
5684 Changed return type for getCharacterAtOffset to
5685 CORBA_unsigned_long, to allow for 32-bit characters.
5688 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5692 Fixed 'make dist' so that distro compiles...
5693 * libspi/keymasks.h:
5695 * cspi/spi-listener.c:
5696 KeystrokeListenerCB now returns a boolean.
5698 Added KeyEventType struct, and KeyStroke.
5699 Also added createKeystrokeListener(),
5700 KeystrokeListener_addCallback(),
5701 KeystrokeListener_removeCallback(), and added a keymask to
5702 registerKeystrokeListener().
5703 * cspi/spi_accessible.c:
5704 Changed numerous return types for interfaces from
5705 AccessibleComponent to Accessible<InterfaceName>; this was
5706 probably a cut-and-paste error.
5708 Implementations of new KeystrokeListener api (from spi.h,
5711 Changes to key modifier mapping.
5712 Created ControllerEventMask struct.
5713 Made DeviceEventController derive from Bonobo::Unknown.
5715 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5716 * libspi/deviceeventcontroller.c:
5717 Added a number of new internal (private) methods.
5718 * libspi/editabletext.c:
5719 * libspi/editabletext.h:
5720 Fixed a number of bugs related to the fact that
5721 editabletext inherits from text. Fixed the EditableText struct,
5722 the init() call, and use correct casts when calling Text methods
5723 from an EditableText object. Removed (duplicate) atko from the
5724 EditableText structure, we use the one in the parent Text
5725 structure via the casts mentioned above.
5726 * libspi/keystrokelistener.[ch]:
5727 * libspi/registry.c:
5728 Changes in support of keyboard handling (above).
5730 Keyboard handling, though partly functional, is still not
5731 recommended for at-spi client use as there is considerable
5732 work yet to be done.
5735 Changed some places where pointers to various int types
5736 are cast to be pointers to CORBA_long types and vice-versa:
5737 pointer casting is not safe so we pass pointers of the correct
5738 types and then cast the result before putting it into the target
5741 * libspi/text.h: minor typos corrected.
5743 We now speak not only the name of a Text element, but the
5744 first sentence of its content, when it receives focus.
5745 I also changed the text compression to 75% from 50%.
5746 * util/Accessibility_Util.server.in:
5747 Changed the default magnifier type to be a 3x vertical
5748 splitscreen magnifier (was previously a 2x horizontal one).
5750 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5752 * libspi/keystrokelistener.h:
5753 * libspi/keystrokelistener.c:
5754 Initial functional implementations of KeystrokeListener.
5757 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5759 Fixed string handling for NULL strings in libspi.
5760 Added spi_freeString to free strings returned by C bindings.
5762 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5764 * libspi/keystrokelistener.h:
5765 * libspi/keystrokelistener.c:
5766 Began (no-op) implementations of KeystrokeListener
5768 * libspi/deviceeventcontroller.c:
5769 * libspi/deviceeventcontroller.h:
5770 Began creating implementations of DeviceEventController,
5771 to handle keystroke and mouse event listening and
5773 * libspi/accessible.c:
5774 Stubbed-in the implementations for
5775 Accessibility_Accessible_getState and
5776 Accessibility_Accessible_getRelationSet.
5777 * libspi/registry.c:
5778 Improved de-registration process and fixed some bugs,
5779 deregistration now works correctly.
5781 Added initialization of applications list (to NULL).
5783 Reduced speech compression from 0.5 to 0.7, for demo.
5784 Changed call to gdk_window_set_decorations()
5785 to gtk_window_set_decorated().
5786 * at-bridge/bridge.c:
5787 Bridge now deregisters when app exits, via
5788 registration of a cleanup function
5789 with the g_atexit() call.
5790 Required making 'app' static, renamed 'this_app'.
5791 Fixed broken use of bonobo_init, passing argv wrongly.
5793 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5797 Created a new directory for
5798 accessibility-related utilities, primarily for
5799 testing and demo purposes, but with possible
5806 Onscreen magnifier utility that
5807 is implemented as a bonobo service.
5809 * util/mag_client.c:
5810 * util/mag_client.h:
5811 Client-side support (simple C bindings)
5812 for Magnification service
5814 * util/mag_control.c:
5815 Client program example for
5816 Magnification service
5818 * util/Accessibility_Magnifier.server.in:
5819 Bonobo-activation file for the
5820 Magnification service.
5823 * util/idl/Magnifier.idl:
5824 IDL defining the bonobo Magnification
5828 Modifications to use the bonobo-activated magnifier
5829 above, in place of trying to connect to an existing
5830 magnifier that uses socket-listening IPC.
5832 If env variable MAGNIFIER is set, a magnifier service
5833 will be started if one does not exist.
5835 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5837 * at-bridge/bridge.c:
5838 applied patch from Marc to build and run
5839 against new glib and gtk+ (seemed like a change
5840 to bonobo_init signature was made ?)
5842 made festival-server support turned off by default.
5843 Added support for a simple magnifier (off by default)
5844 which will be added to a 'util' directory later.
5845 * at-bridge/Makefile.am:
5846 Changed "application.h" header from a 'source'
5847 to a 'dependency' of libat-bridge.
5849 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5858 Added interface implementation c files to list of
5859 includes so they are included in libcspi.
5862 Changed prototype of AccessibleAction_doAction to return a
5864 Changed prototype of AccessibleTable_getCaption to
5865 return an Accessible.
5866 Changed prototype of AccessibleTable_getSelectedRows
5867 and AccessibleTable_getSelectedColumns to
5868 return a long (returns the number of selected rows
5869 or columns respectively).
5870 Changed name of AccessibleText_refRunAttributes to
5871 AccessibleText_getAttributes.
5872 Changed prototype of AccessibleText_getCharacterExtents to
5873 return a void rather than a boolean.
5874 Added support for a AccessibleCoordType parameter
5875 specifying what type of coordinates are desired.
5876 Added an AccessibleCordType parameter to
5877 AccessibleText_getPointAtOffset.
5879 * cspi/spi_accessible.c:
5880 Added code to return the outstanding interfaces from
5881 Accessible_queryInterface.
5883 * cspi/spi_action.c:
5885 Corrected call to getNActions to call the c binding
5888 * cspi/spi_editabletext.c:
5890 Changed name from setRunAttributes to setAttributes.
5892 * cspi/spi_hyperlink.c:
5894 Changed call to getNAnchors to correctly call the c
5895 binding for an attribute.
5897 * cspi/spi_hypertext.c:
5899 Changed getImageDescription to correctly call the
5900 binding for an attribute.
5902 * cspi/spi_selection.c:
5903 Changed getNSelectedChildren to correctly call the c
5904 binding for the attribute.
5905 Changed refSelectedChild to getSelectedChild.
5909 Changed getCaption to return an Accessible.
5910 Fixed calls which retrieve attributes.
5911 Changed refAt to getAccessibleAt.
5912 Changed getNSelectedRows and getNSelectedColumns to
5916 Changed getCharacterExtents and getPointAtOffset to accept an
5917 AccessibleCoordType.
5919 Changed calls which retrieve attributes.
5920 Changed refRunAttributes to getAttributes.
5925 * idl/Hyperlink.idl:
5926 Changed n_anchors attribute to nAnchors to keep naming
5927 convention consistent.
5930 Made Table inherit from Bonobo::Unknown.
5931 Added nSelectedColumns and nSelectedRows attributes.
5934 Made Value inherit from Bonobo::Unknown.
5936 * libspi/hyperlink.c:
5937 Change for nAnchors attributte name change.
5939 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5947 Added interface implementation c files to list of
5948 includes so they are included in libcspi.
5951 Changed prototype of AccessibleAction_doAction to return a
5953 Changed prototype of AccessibleTable_getCaption to
5954 return an Accessible.
5955 Changed prototype of AccessibleTable_getSelectedRows
5956 and AccessibleTable_getSelectedColumns to
5957 return a long (returns the number of selected rows
5958 or columns respectively).
5959 Changed name of AccessibleText_refRunAttributes to
5960 AccessibleText_getAttributes.
5961 Changed prototype of AccessibleText_getCharacterExtents to
5962 return a void rather than a boolean.
5963 Added support for a AccessibleCoordType parameter
5964 specifying what type of coordinates are desired.
5965 Added an AccessibleCordType parameter to
5966 AccessibleText_getPointAtOffset.
5968 * cspi/spi_accessible.c:
5969 Added code to return the outstanding interfaces from
5970 Accessible_queryInterface.
5972 * cspi/spi_action.c:
5974 Corrected call to getNActions to call the c binding
5977 * cspi/spi_editabletext.c:
5979 Changed name from setRunAttributes to setAttributes.
5981 * cspi/spi_hyperlink.c:
5983 Changed call to getNAnchors to correctly call the c
5984 binding for an attribute.
5986 * cspi/spi_hypertext.c:
5988 Changed getImageDescription to correctly call the
5989 binding for an attribute.
5991 * cspi/spi_selection.c:
5992 Changed getNSelectedChildren to correctly call the c
5993 binding for the attribute.
5994 Changed refSelectedChild to getSelectedChild.
5998 Changed getCaption to return an Accessible.
5999 Fixed calls which retrieve attributes.
6000 Changed refAt to getAccessibleAt.
6001 Changed getNSelectedRows and getNSelectedColumns to
6005 Changed getCharacterExtents and getPointAtOffset to accept an
6006 AccessibleCoordType.
6008 Changed calls which retrieve attributes.
6009 Changed refRunAttributes to getAttributes.
6014 * idl/Hyperlink.idl:
6015 Changed n_anchors attribute to nAnchors to keep naming
6016 convention consistent.
6019 Made Table inherit from Bonobo::Unknown.
6020 Added nSelectedColumns and nSelectedRows attributes.
6023 Made Value inherit from Bonobo::Unknown.
6025 * libspi/hyperlink.c:
6026 Change for nAnchors attributte name change.
6029 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6031 implementations-- made server implementations own AtkObject pointers
6032 rather than their respective AtkInterrface pointers to fix
6033 refcounting. AtkHyperlink is still broken.
6035 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6036 * cspi/spi_accessible.c:
6037 Added method Accessible_Role_getName(),
6038 and requisite string array (role_names).
6039 Added conversion string_from_corba_strin() call
6040 to Accessible_getName and _getDescription.
6041 * libspi/accessible.c:
6042 Added implementation for Accessible_getRole()
6044 Added festival support, used if environment variable
6047 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6049 * at-bridge/bridge.c:
6050 Now allocate Accessibility_Event using
6051 Accessibility_Event__alloc() instead of g_new0().
6052 * libspi/accessibleeventlistener.c:
6053 Initialize AccessibleEventListener->callbacks to NULL.
6054 Fixed accessible__event_listener_init() param, changed to
6055 "AccessibleEventListener *" type.
6056 Changed a bonobo_object_release_unref() call to
6057 Accessibility_Accessible_unref().
6058 * libspi/listener.c:
6059 Changed Bonobo_Unknown_unref to (equivalent)
6060 Accessibility_Accessible_unref.
6061 * libspi/registry.c:
6062 Changed bonobo_object_release_unref to
6063 Accessibility_Accessible_unref.
6065 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6068 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6069 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6070 spi-util.c spi-util.h
6071 Implementations for C bindings to remaining accessibility
6074 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6077 changed return value of Action from void to boolean to
6078 bring in line with ATK.
6081 Changed getText funcions to return "out" start and end offsets.
6082 Changed getAttributes to take and offset and return the start
6083 and end offset of the attribute run.
6084 Changed getOffsetAtPoint and getCharacterExtents to take an
6085 enum describing whether coordinates are window or screen.
6088 libspi/action.c libspi/action.h libspi/editabletext.c
6089 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6090 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6091 libspi/image.h libspi/selection.c libspi/selection.h
6092 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6093 libspi/value.c libspi/value.h
6094 Added server implementations for outstanding ATK interfaces
6095 not yet implemented.
6097 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6100 Added (missing) getName() method.
6101 Made nActions an attribute.
6102 * idl/EditableText.idl:
6103 Changed order of params in setAttributes.
6104 * idl/Hyperlink.idl:
6105 Removed getAnchor, added getURI.
6107 Changed attributes to methods, for efficiency
6108 (so that getting extents can be done in one call)
6109 * idl/Selection.idl:
6110 Changed nSelectedChildren to attribute, and re-indented.
6111 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6113 * idl/Text.idl: reformatted to match our coding style.
6114 (temporarily?) removed getRowColumnAtOffset().
6115 Changed text selection API to support multi-select and
6116 non-contiguous selections, as in ATK.
6117 * idl/Value.idl: changed some methods to attributes.
6119 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6121 * libspi/listener.c(impl_notify_event):
6122 BonoboUnkown_unref the source instead
6123 of bonobo_object_release_unref - the ORB
6124 handles the releasing.
6126 * configure.in: require ORBit-2.3.94 for
6129 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6131 Tagged CVS repository 'EA_1_0'.
6132 * README.EARLY_ACCESS:
6133 Alphabetized acknowledgements list, and
6135 Listed some known dependencies of at-spi.
6137 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6139 * docs/at-spi-docs.sgml:
6140 * docs/at-spi-sections.txt:
6141 * docs/at-spi-overrides.txt: (Added zero-length file)
6142 Documentation improvements - gtk-doc should build
6143 docs for all implemented C bindings now.
6146 * cspi/spi.c: (New file)
6147 * cspi/spi_event.c: (New file)
6148 * cspi/spi_registry.c: (New file)
6149 * cspi/spi_accessible.c: (New file)
6150 * cspi/spi_application.c: (New file)
6151 * cspi/spi_component.c: (New file)
6152 Split spi_main.c into six parts, and included them from
6153 "spi.c". This is a bit of a hack, probably temporary,
6154 but required by gtk-doc, apparently.
6156 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6159 * docs/at-spi-docs.sgml:
6160 * docs/at-spi-sections.txt:
6162 Initial checkins/modifications for gtk-doc generation.
6165 Added (missing) interface query methods to Accessible's C binding.
6167 Added GenericInterface type definition.
6169 Added query for AccessibleComponent interface to focus event handler.
6170 Added printout of bounding box for focussed component.
6171 * libspi/component.c:
6172 Added partial implementation for AccessibleComponent to C binding.
6173 * idl/Application.idl:
6174 * libspi/registry.c:
6175 * libspi/listener.c:
6176 * libspi/application.c:
6177 * libspi/application.h:
6178 Changed "ID" attribute type from string to long.
6180 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6184 Made method naming consistent: methods taking object args
6185 start with uppercase, other methods (except those using
6186 acronyms) start with lowercase. Underscores delimit between
6187 object names and method names:
6188 SPI_init() - uppercase since it starts with an acronym.
6189 getDesktopCount () - lowercase start since no object param0.
6190 Accessible_getName() - uppercase object type name, studlyCaps method
6194 Added gtk-doc documentation for all currently implemented
6195 methods in the C bindings API.
6197 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6199 * Makefile.am : changed build order to build test last.
6202 Changed "createEventListener" to "CreateEventListener".
6203 * libspi/accessibleeventlistener.c :
6204 Bugfix for addition of callbacks.
6205 * test/Makefile.am :
6206 * test/simple-at.c :
6207 Added new test that uses the C bindings API.
6209 * libspi/listener.c :
6210 * libspi/registry.c :
6211 * libspi/accessibleeventlistener.c :
6212 * at-bridge/bridge.c :
6213 Renamed member "target" of Accessibility_Event to "source",
6214 which is more descriptive.
6217 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6221 * cspi/Makefile.am :
6222 Added makefile support for at-spi/cspi directory.
6225 * cspi/spi-listener.h : (NEW FILE)
6226 Added support for/use of spi-listener.h.
6228 C bindings now build successfully, with no warnings.
6229 * libspi/accessibleeventlistener.h : (NEW FILE)
6230 * libspi/accessibleeventlistener.c : (NEW FILE)
6231 * libspi/Makefile.am :
6232 Added new object type "AccessibleEventListener"
6233 which inherits from Listener, and allows attachment
6234 of in-process callbacks (so that a client with a listening
6235 object instance can add functionality to the local
6236 implementation, dynamically).
6238 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6240 * libspi/accessible.c:
6241 Add implementation for get_index_in_parent().
6243 Added #include of "spi-roletypes.h", and
6244 added enumerated type AccessibleCoordType.
6245 Added definition for KeystrokeListener (function type).
6248 * cspi/spi-statetypes.h :
6249 * cspi/spi-roletypes.h :
6251 Added these headers, used by spi.h.
6253 Added code (NOTE: not yet built by make).
6255 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6257 * libspi/Makefile.am: generate imodule
6258 at the same time as other idl compiler
6261 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6262 * libspi/registry.c :
6263 * libspi/application.c :
6264 * idl/Application.idl :
6265 Made registration with toolkit an application method,
6266 which is required since each app has its own toolkit static
6267 environment. Thus the bridge must register for
6268 notification of toolkit events from each application in turn.
6269 Toolkit notifications are now successfully registered for, and
6270 sent to the listening at client.
6272 Changed toolkit event string to use hyphens rather than underscores.
6273 * libspi/listener.c :
6274 listner now gives more info in debug mode - it reports the
6275 name of the event received, as well as the name of the source.
6278 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6280 * libspi/registry.c :
6281 added more implementation for toolkit events.
6282 Fixed bug such that toolkit event registrations
6283 (via atk) use the whole event name string, not
6285 Removed a useless call to an ORBit_ method.
6286 * at-bridge/bridge.c :
6287 Removed unused local sbuf[] variable.
6289 We now register for Gtk:GtkWidget:button_press_event
6290 events as well as "focus:" events.
6292 Add some more API from Registry.idl that was missing,
6293 for keystroke listening, keystroke and mouse event
6294 synthesis, and enumeration of accessible desktops.
6296 2001-08-16 Michael Meeks <michael@ximian.com>
6298 * configure.in: use AM_GLIB_GNU_GETTEXT.
6300 * Makefile.am (SUBDIRS): kill intl.
6302 2001-08-15 Michael Meeks <michael@ximian.com>
6304 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6306 * configure.in: upd.
6308 * configure.in: depend on a recent bonobo-activation that
6309 will find our server files ...
6311 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6313 * libspi/accessible.c : accessible_new() :
6314 Now we add the Component interface via bonobo_object_add_interface,
6315 if the contained AtkObject implements AtkComponent.
6316 * libspi/accessible.h : now include "component.h"
6317 * libspi/component.h :
6318 * libspi/component.c : added files - implementation of
6319 bonobo wrapper object for Accessibility/Component
6320 * libspi/listener.c :
6321 Added test code to check for Accessibility/Component:1.0
6322 interface and report whether it is implemented by the
6324 * libspi/registry.c :
6325 Now we check for not only the hash of the whole event
6326 string before relaying the event, we also check the
6327 "minor" event string (without the detail string).
6328 This allows event listeners to be registered against
6329 all events of a certain major+minor type, or just
6330 against a specific major+minor+detail type.
6331 * libspi/accessible.c :
6332 Added implementations for Accessible:get_parent(),
6333 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6334 * libspi/registry.c :
6335 * libspi/listener.c :
6336 Replaced calls to Accessibility_Accessible_ref() and
6337 Accessibility_Accessible_unref() with
6338 calls to bonobo_object_dup_ref() and
6339 bonobo_object_release_unref(), so that the CORBA object
6340 is dup-ed and released when relayed, as well as the bonobo object.
6342 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6344 * libspi/Makefile.am,
6345 registryd/Makefile.am,
6346 at-bridge/Makefile.am.
6347 test/Makefile.am, configure.in:
6348 reverse previous changes.
6350 * /idl/Image.idl: fix typo.
6352 * test/Makefile.am: put DEBUG_FLAGS
6355 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6357 * test/app.c: use argv[0] instead of
6360 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6362 * libspi/Makefile.am,
6363 registryd/Makefile.am,
6364 at-bridge/Makefile.am.
6365 test/Makefile.am, configure.in:
6366 cleanup, replace individual LIBS/CFLAGS with
6367 AT_COMMON_{LIBS|CFLAGS}.
6371 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6373 * configure.in, libspi/Makefile.am:
6374 Change IDL path checking for bonobo-activation
6377 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6379 * registryd/registry.c : separated event listeners to use
6380 3 separate lists (focus, window, toolkit). Began testing
6381 event names against hashes before relaying events.
6382 * test/at.c : now register for events of type "focus:"
6383 * test/app.c : now generate events of type "focus:"
6384 * at-bridge/bridge.c : register with ATK for focus events,
6385 and we now relay those focus events to any "focus:" listeners.
6386 This now works with the bridge as a GTK_MODULE when running test/at.
6387 * libspi/registry.c :
6388 * libspi/listener.c :
6389 now we ref event sources before propagating, and unref on receipt.
6390 * libspi/registry.c :
6391 some changes to internal structs, to support event typestring hashes.
6392 * text/app.c : changed the way the appname is generated.
6393 * cspi : added directory that will hold the C bindings library for
6394 non-CORBA/bonobo-savvy clients.
6395 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6396 * idl/Component.idl : added in parameter to indicate coord system for
6397 geometry-related calls.
6398 * idl/Hyperlink.idl : added readonly n_links attribute
6399 * idl/Image.idl : changed methods to attributes.
6401 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6403 * at-bridge/Makefile.am: link against
6404 ../libspi/libspi.la instead of -lspi.
6406 * at-spi/test/app.c: include
6407 bonobo-activation.h. Use a default appname
6408 if one is not provided.
6410 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6412 * idl/Registry.idl : temporarily changed register_Application
6413 to oneway, to work around issue with initial registration
6415 * idl/Application.idl : changed attribute "id" from readonly
6416 to read-write, since it needs to be assigned by Registry.
6417 * registryd/registryd.c : added call to set application id
6419 * registryd/registry.c : changed de-registration procedure to
6420 use CORBA_Object_hash() to find matching object ref in application
6421 lists and listener lists.
6422 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6423 began distinguishing between event types (work in progress).
6425 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6428 * libspi/application.c:
6429 Added implementations for get/set id, get_toolkitName,
6431 * registryd/registryd.c :
6435 Converted from use of OAF to bonobo-activation.
6436 * libspi/desktop.h :
6437 * libspi/desktop.c :
6439 Removed references to atksimpleobject, since base atkobject
6440 implementation now provides functionality we need.
6441 * libspi/atksimpleobject.c :
6442 * libspi/atksimpleobject.h :
6447 * at-bridge/Makefile.am
6448 * at-bridge/bridge.c
6451 Added directory "bridge" and contents, and added dependencies
6452 in Makefile.am/configure.in.
6453 Initial checkin of "at-bridge".
6454 This code is a GTK_MODULE which automatically registers
6455 GTK+ apps with the accessibility registry, using an object
6456 reference to the root ATK object.
6458 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6460 * po/Makefile.in.in: Remove. Again. If this
6461 doesn't get autogenerated - you need to update
6464 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6466 * po/Makefile.in.in: Add. Again.
6468 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6470 * libspi/accessible.c : added support for 'description' property.
6471 * libspi/accessible.c
6473 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6474 (since the two are now equivalent in libbonobo)
6482 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6483 Bonobo::Unknown as does Accessibility::Accessible.
6484 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6485 interface with Bonobo::Stream, since it was redundant with it.
6486 (The Stream returned by a StreamableContext object is expected to
6487 implement only a subset of Bonobo::Stream)
6489 2001-07-28 Anders Carlsson <andersca@gnome.org>
6491 * libspi/accessible.c (accessible_object_finalize): Change
6492 g_free to g_object_unref since the AtkObject is a GObject.
6494 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6496 * idl/Accessibility.idl: add new IDL files
6499 * idl/Action.idl: Definitions of actionable UI object
6500 * idl/Component.idl: Definitions of UI component geometry, etc.
6501 * idl/Hyperlink.idl: Defs of hyperlink behavior
6502 * idl/Image.idl: Def of accessible image
6503 * idl/Selection.idl: Definition of UI object with selectable children
6504 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6505 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6506 * idl/Text.idl: Interface defs for UI elements with complex textual content
6507 * idl/Value.idl: Definition of UI element that is a value controller or display
6509 2001-07-27 Michael Meeks <michael@ximian.com>
6511 * po/Makefile.in.in: remove autogenerated file from CVS.
6513 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6516 * idl/Registry.idl: include guard.
6518 * idl/Accessibility.idl: Add, and include all the other IDL
6521 * idl/*.idl: remove mass of pragmas etc.
6523 2001-07-26 Michael Meeks <michael@ximian.com>
6525 * registryd/Makefile.am (registryd_SOURCES): remove
6528 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6530 * libspi/.cvsignore, registryd/.cvsignore,
6531 test/.cvsignore: updated.
6533 * po/Makefile.in.in: gettext update.
6535 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6537 * initial CVS checkin
6539 2001-06-29 Michael Meeks <michael@ximian.com>
6541 * configure.in: add AM_CONFIG_HEADER to gen config.h