1 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com
3 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
4 typo in documentation comments. Bug #94275.
6 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com
8 * libspi/text.c (impl_getBoundedRanges): Bug fix.
10 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com
13 Add includes to avoid compiler warnings on Solaris.
14 (impl_getRangeExtents): Bug fix.
16 2002-12-17 Bill Haneman <bill.haneman@sun.com
18 Fix for 100944, [API addition approved by Gman and murrayc].
25 * idl/Accessibility_Text.idl:
26 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
27 (Text::getRangeExtents): New method for efficient
28 bounds query of a text range.
29 (Text::getBoundedRanges): New method for efficient
30 clipping of text to bounding boxes.
31 (unImplemented7, unImplemented8):
32 Removed these padding methods to preserve bincompat.
35 (impl_getRangeExtents): implementation of new IDL.
36 (impl_getBoundedRanges): implementation of new IDL.
37 (SpiTextRect): Internal use struct.
38 (_spi_text_rect_union): internal method, calculates union of two
39 SpiTextRect bounding rects.
40 (_spi_text_range_seq_from_gslist): internal method, allows us
41 to build our sequence efficiently as a gslist then convert it
43 (_spi_bounds_contain): internal method, determines whether
44 a text character is "in" or "out" of a clip rect according to
45 values of TEXT_CLIP_TYPE.
46 (spi_text_class_init): Initialize the new methods in the epv.
49 (AccessibleTextClipType): New enum used by screen review api.
50 (AccessibleTextRange): New struct used by screen review api.
51 (AccessibleText_getRangeExtents):
52 cspi binding for Accessibility_Text_getRangeExtents.
53 (AccessibleText_getBoundedRanges):
54 cspi binding for Accessibility_Text_getBoundedRanges.
55 (AccessibleTextRange_freeRanges): convenience method.
58 (AccessibleText_getRangeExtents):
59 cspi binding for Accessibility_Text_getRangeExtents.
60 (AccessibleText_getBoundedRanges):
61 cspi binding for Accessibility_Text_getBoundedRanges.
62 (AccessibleTextRange_freeRanges): convenience method.
63 (get_accessible_text_clip_type): internal conversion method.
64 (get_accessible_text_ranges_from_range_seq): internal conversion method.
66 * registryd/deviceeventcontroller.c:
67 (spi_dec_mouse_check):
68 Improved behavior for mouse:abs events
69 [same granularity as mouse:rel events, and no
70 events when mouse is idle].
72 2002-12-16 Michael Meeks <michael@ximian.com>
74 * cspi/spi_accessible.c (spi_state_to_corba): rename.
76 * libspi/stateset.c (state_spi_to_atk): split out
77 ( fix several remote array bounds nasties )
78 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
79 (impl_remove): make safe from array bounds issues.
80 (spi_atk_state_from_spi_state): impl.
82 * libspi/stateset.h (spi_state_set_cache_is_empty):
83 add a set of wrapper defines to get layering right.
85 * cspi/spi_accessible.c: update state set stuff to
88 2002-12-14 Michael Meeks <michael@ximian.com>
90 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
91 to avoid 2 roundtrips to the registry per key event
92 (spi_atk_bridge_key_listener): upd.
93 (deregister_application): release the dec.
95 * registryd/registry.c (notify_listeners_cb):
96 bin lots of re-enterant complexity - we no longer
97 do a round-trip bonobo ref here, ensure that a single
98 listener's exception failure won't poison all other
100 (impl_registry_notify_event): bin obvious memory leak.
102 2002-12-13 Michael Meeks <michael@ximian.com>
104 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
105 init the ev so the error is meaningful.
106 (spi_atk_bridge_key_listener): ditto.
108 * cspi/spi_main.c (cspi_ev): init the ev so we start
109 with a clean slate, otherwise the first exception
112 * cspi/spi_text.c (get_accessible_text_boundary_type):
113 add a fallthrough for no warnings.
115 * cspi/spi_registry.c: prune unused warnings.
117 * cspi/spi_main.c (cspi_object_take): fix
118 mind-blowing brokenness ( by watching the compile
121 * cspi/spi_accessible.c (Accessible_getStateSet):
122 re-impl. to use an AtkStateSet.
123 (spi_state_type_from_accessible_state),
124 (init_state_table): bin these.
126 * libspi/stateset.c (spi_atk_state_set_from_sequence):
128 (atk_state_set_from_accessibility_state_set): here.
130 * cspi/spi_accessible.c (spi_state_to_atk): impl.
131 (AccessibleStateSet_contains, AccessibleStateSet_ref),
132 (AccessibleStateSet_unref, AccessibleStateSet_contains),
133 (AccessibleStateSet_add, AccessibleStateSet_remove),
134 (AccessibleStateSet_equals, AccessibleStateSet_compare),
135 (AccessibleStateSet_isEmpty): re-write to use a local
138 2002-12-13 Bill Haneman <bill.haneman@sun.com>
140 * configure.in: Revved to 1.1.7 (new keymask vals).
142 2002-12-10 Bill Haneman <bill.haneman@sun.com>
145 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
147 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
150 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
151 to compare two CORBA_TypeCodes.
152 (cspi_internal_event_add): Silence warning from FORTE compiler.
154 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
155 avoid implicit declaration of functions.
157 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
159 * atk-bridge/bridge.c:
160 (spi_atk_bridge_init_event_type_consts): Store signal id for
161 active-descendant-changed signal.
162 (spi_atk_register_event_listeners): Add signal listener for
163 active-descendant-changed signal,
164 (spi_atk_bridge_signal_listener): Move code in function
165 spi_atk-signal_emit_event() into this function.
166 Add support for active-descendant-changed
167 Update support for child-changed signal.
168 (spi_bridge_window_event_listener): Silence warning.
170 * libspi/spi_private.[ch]:
171 (spi_init_any_object): Change second parameter from CORBA_Object to
173 Omit call to CORBA_Object_duplicate().
174 Set CORBA_any's _value to CORBA_Object*.
176 2002-12-06 Bill Haneman <bill.haneman@sun.com>
182 (AccessibleEvent_ref, AccessibleEvent_unref):
183 New methods, for persisting an event outside the emission context.
184 Must be used if the new accessor methods are to be called
185 outside of the event listener's callback.
187 * cspi/bonobo/cspi-bonobo.c:
188 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
189 as second parameter instead of NULL, so we can call
190 cspi_check_ev afterwards.
193 (cspi_object_take): New internal method,
194 converts a CORBA_Object reference to a hard ref on
195 an Accessible if possible, returning NULL if the object
196 reference is invalid or an Accessible * otherwise.
199 (AccessibleEvent_ref):
200 Increment the event's internal private refcount, and
201 add the event's internal struct to an internal cache
202 if it's not already there.
203 (AccessibleEvent_unref):
204 Decrement the event's refcount and remove it from
205 the cspi event cache if refcount==0.
206 (cspi_event_compare): New private method.
207 Compares two event structs via their ids. Used
209 (cspi_internal_event_lookup): New private method.
210 (cspi_internal_event_check): New private method,
211 a 0-order sanity check for events to make sure their
212 private data is intact.
213 (cspi_internal_event_add, cspi_internal_event_remove):
214 New private methods for managiing the event cache.
216 * cspi/bonobo/cspi-bonobo-listener.c:
218 Initialize the new private data elements (id, magic, ref_count).
220 * atk-bridge/bridge.c:
221 (spi_atk_bridge_signal_listener):
222 Fixed bug #100530, passing wrong params to emission func.
224 * registryd/deviceeventcontroller.c:
225 (spi_dec_button_update_and_emit):
226 Fixed type in mask bit operations; fix for #99799.
228 2002-12-02 Bill Haneman <bill.haneman@sun.com>
230 Removed some of the more dangerous workarounds from
231 previous commit; they are only needed by GOK, which
232 in reality should be using another method to accomplish
233 the goals. So on reconsideration some of the workarounds
236 * registryd/deviceeventcontroller.c:
237 (spi_keycodes_contain, spi_dec_init_keycode_list):
238 Removed these methods, used only by a nasty hack to try
239 and detect whether a key synthesis should be allowed
240 to reset the XKB latch state or not. This code was only
241 required to work around an interaction between GOK,
242 button events, and XKB.
243 (impl_generate_key_event):
244 Removed hack at end of key generation that tried to
245 "do the right thing" if XKB latch keys were generated
246 in the midst of button press/release pairs.
249 Added a check for HAVE_XINPUT. Not normally used yet.
251 2002-11-25 Bill Haneman <bill.haneman@sun.com>
253 Workarounds and fixes for mouse event/XKB interaction.
255 * registryd/deviceeventcontroller.c:
256 (spi_keycodes_contain, spi_dec_init_keycode_list):
257 New internal methods.
258 (spi_dec_set_unlatch_pending):
259 Split the method that tells XKB to expect an
260 unlatch (and revert it) out of the rest of the
261 event handling code. This method is called by the
262 two mouse event handlers (the poll and the filter).
263 (spi_dec_update_and_emit, spi_dec_mouse_check):
264 New methods split from spi_dec_poll_mouse_moved.
265 The second one is now called from inside the filterFn
266 when an XKB delatch event is received, to determine
267 whether to revert the delatch or not.
268 (spi_poll_mouse_moved): Refactor; also we can now
269 properly handle the case where multiple button states
270 have changed between polling cycles and we didn't get
271 notified due to another client's grab.
273 Synchronize the server while handling an XKB notification.
274 Ugly, but apparently necessary to avoid nasty races.
275 Check the mouse state on receipt of an XKB latch change,
276 to decide whether to revert the latch or not. (Latches are
277 reverted if there is an immediately preceding mouse button
278 event that a client has consumed, in which case we don't want
279 the user to see the side-effect of the event).
280 (spi_device_event_controller_forward_mouse_event):
281 Check for modifier events and fire before resetting mouse_mask_state,
282 prevents losing modifier events.
284 (impl_generate_keyboard_event):
285 If we've just generated a keyboard event for a non-shift key,
286 we don't want to revert the pending XKB latch.
287 Otherwise, check the modifier state (via a call to
288 spi_dev_mouse_check) and set the relatch mask to
289 that state before returning.
291 2002-11-24 Bill Haneman <bill.haneman@sun.com>
294 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
297 * atk-bridge/bridge.c:
298 (spi_atk_register_event_listeners):
299 Don't re-register for ATK events if the registry has died
300 and the app needs to re-register; the ATK listeners are in
301 process and doing so will cause duplicate emission.
303 * registryd/deviceeventcontroller.c:
304 (spi_poll_mouse_moved):
305 Reformat the source, detect and emit multiple button-change
306 events (i.e. if multiple buttons have changed between poll
308 Add code to detect mouse-down events even when the pointer
309 is grabbed; workaround for GOK bug 98420.
310 (spi_controller_register_with_devices):
311 Call XTestGrabControl with 'impervious' flag set to True,
312 allows us to synthesize events and query the pointer even during
313 an active grab by another client.
314 (spi_device_event_controller_forward_mouse_event):
315 Set the mouse_mask_state to the mouse_button_state from
316 the intercepted event, to synchronize the grab listener with
319 2002-11-20 Bill Haneman <bill.haneman@sun.com>
321 * cspi/spi_accessible.c:
322 (AccessibleRole_getName):
323 Added necessary strings for making this (deprecated)
324 method work with the new role types.
325 (init_role_table, role_table):
326 Added definition of SPI_ROLE_APPLICATION.
328 * libspi/spi-roletypes.h:
329 Added SPI_ROLE_APPLICATION.
331 * idl/Accessibility_Role.idl:
332 Added ROLE_APPLICATION.
334 * docs/reference/cspi/at-spi-cspi-decl.txt:
335 Added SPI_ROLE_APPLICATION to docs.
337 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
339 * cspi/spi_accessible.c
340 (cspi_init_role_table): Do not write beyond end of role_table.
341 (Accessible_getRole): Use correct type for value returned by
342 Accessibility_Accessible_getRole().
344 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
345 beyond end of role_table. (This fixes bug #98269)
347 * libspi/application.c: Add include file spi-private.h for
348 definition of spi_init_any_nil.
350 2002-11-19 Bill Haneman <bill.haneman@sun.com>
354 * libspi/spi-private.h:
355 Added DGB() macro, and extern int _dbg declaration.
357 * registryd/registry.c:
358 (definitions) storage for _dbg.
360 Get environment variable "AT_SPI_DEBUG".
361 (spi_registry_set_debug):
362 New method, to initialize _dbg value.
363 (spi_listener_struct_new, spi_registry_object_finalize):
364 (notify_listeners_cb):
365 Changed fprintfs to use DBG and g_warning().
367 * registryd/deviceeventcontroller.c:
368 (_deregister_keygrab, spi_controller_register_device_listener):
369 Changed debug/warning messages to use DBG macro.
373 Changed warning messages to use DBG macro and g_warning().
375 * atk-bridge/bridge.c:
376 (atk_bridge_init, spi_atk_bridge_get_registry):
377 (spi_atk_bridge_exit_func):
378 (spi_atk_bridge_property_event_listener):
379 Changed status, warning, and error messages to use
380 g_warning, g_message, and DBG macros.
383 Read the state of the AT_SPI_DEBUG environment variable
384 and set a local '_dbg' accordingly.
386 2002-11-19 Bill Haneman <bill.haneman@sun.com>
388 FIXES for 98836, 98842, other bugs.
391 Revved to 1.1.4, interface-age=4, binary-age=4.
393 * registryd/deviceeventcontroller.c:
395 Fixed crasher bug in last_mouse_pos initialization.
397 * registryd/registry.c:
398 (desktop_add_application, desktop_remove_application):
399 Added (and then commented out) some support for
400 object context marshalling. [TODO]
402 * atk-bridge/bridge.c:
403 (spi_atk_bridge_event_context_create):
404 Commented out object context creation until it can
405 be properly tested and debugged.
407 * registryd/registry.c:
408 (impl_registry_notify_event):
409 Fixed crasher bug, we were calling
410 spi_re_entrant_list_foreach () with an empty list.
412 2002-11-18 Bill Haneman <bill.haneman@sun.com>
414 * idl/Accessibility_Action.idl:
415 * idl/Accessibility_Component.idl:
416 * idl/Accessibility_Desktop.idl:
417 * idl/Accessibility_Event.idl:
418 * idl/Accessibility_Hyperlink.idl:
419 * idl/Accessibility_Image.idl:
420 * idl/Accessibility_Relation.idl:
421 * idl/Accessibility_Selection.idl:
422 * idl/Accessibility_State.idl:
423 * idl/Accessibility_Value.idl:
424 Updated unimplemented slot count to minimum of
425 four for all interfaces, for ABI freeze.
427 * idl/Accessibility_EditableText.idl:
428 * idl/Accessibility_Text.idl:
429 Updated unimplemented slot count to six
432 * idl/Accessibility_Registry.idl:
433 Updated unimplemented slot count to six
434 (also for DeviceEventController),
437 * idl/Accessibility_Table.idl:
438 Updated unimplemented slot count to eight,
441 * idl/Accessibility_Event.idl:
442 Added CORBA_any "any_data" member to Event struct.
444 * idl/Accessibility_Event.idl:
445 Added CORBA_any "any_data" member to Event struct.
447 * atk-bridge/bridge.c:
449 atk_signal_text_changed, atk_signal_child_changed,
450 signal ids queried from gtype system.
451 (AtkBridgeEventContextType): New enum.
452 (AtkBridgeEventContextData): New struct.
453 (AtkBridgeEventContext): New struct.
454 (atk_bridge_init_event_type_consts):
455 New method, initializes type contants for comparison
456 prior to emit_eventv.
457 (atk_bridge_event_context_init): New method,
458 initializes a CORBA_any from an AtkBridgeEventContext.
459 (atk_bridge_focus_tracker): Call spi_init_any_nil to
460 initialize the event.any_data struct.
461 (spi_atk_bridge_event_context_create): New method,
462 creates an AtkBridgeEventContext from signal/event info.
463 (spi_atk_bridge_event_context_free): New method.
464 (spi_atk_emit_eventv): Changed to take an
465 AtkBridgeEventContext parameter. We now initialize
466 the event.any_data member prior to notifying the
467 Registry, via the AtkBridgeEventContext.
468 (spi_atk_bridge_property_event_listener):
469 (spi_atk_bridge_state_event_listener):
470 Match emit_eventv signature.
471 (spi_atk_bridge_object_event_listener):
472 Match emit_eventv signature, and create an
473 event context from the event details.
474 Free the event context afterwards.
475 (spi_atk_bridge_window_event_listener):
476 Create an event context, pass it to the
480 (AccessibleEvent_getContextString):
481 (AccessibleEvent_getContextObject):
482 New methods, allow query of AccessibleEvent objects
483 for more context details (via the "any_data" member
484 of the Event struct, above).
487 Definitions for AccessibleEvent_getContextString
488 and AccessibleEvent_getContextObject.
490 * cspi/spi_listener.h:
491 (InternalEvent): New struct.
494 (AccessibleEvent_getContextString):
495 (AccessibleEvent_getContextObject):
496 Implementations of new methods, for obtaining
497 additional context information from some event types.
499 * cspi/spi_registry.c:
500 (SPI_registerGlobalEventListener):
501 Added mention of active-descendant-changed event in docs.
503 * cspi/cspi-bonobo-listener.c:
505 Marshal the any into the AccessibleEvent via
508 * libspi/spi-private.h:
509 #include <orbit/orbit.h>
511 (spi_init_any_string):
512 (spi_init_any_object):
513 New convenience function declarations.
517 (spi_init_any_string):
518 (spi_init_any_object):
519 New convenience function implementations.
521 * registryd/deviceeventcontroller.c:
522 (spi_poll_dec_mouse_moved):
523 (spi_device_event_controller_forward_mous_event):
524 Initialize any_data member of event.
525 (spi_deregister_controller_device_listener):
526 Fix incorrect param pass which was preventing deregistration.
528 * registryd/registry.c:
529 (desktop_add_application):
530 (desktop_remove_application):
531 Add object data to event's any_data before dispatch.
533 Fix for error messages from GAIL.
535 * test/event-listener-test.c:
536 Test new ContextString and "any_data" API:
537 (report_text_event): New method query and output context string.
538 (main): register a new text listener with report_text_event
541 2002-11-19 Darren Kenny <darren.kenny@sun.com>
543 Fixes for bugs 98127 and 97914.
544 * cspi/spi-roletypes.h:
545 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
547 * cspi/spi-statetypes.h:
548 Added SPI_STATE_MANAGES_DESCENDANTS
550 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
551 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
552 * cspi/spi_accessible.c:
553 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
554 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
555 Accessibility_STATE_MANAGES_DESCENDANTS
556 * libspi/accessible.c:
557 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
558 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
559 As requested by Bill, I also cleaned up the alignment.
561 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
562 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
564 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
565 Accessibility_STATE_MANAGES_DESCENDANTS
566 * docs/reference/cspi/tmpl/spi_accessible.sgml:
567 Document changes reflecting modifications to roles.
568 * docs/reference/cspi/tmpl/spi_relation.sgml:
569 Document changes reflecting modifications to relations.
570 * docs/reference/cspi/tmpl/spi_stateset.sgml:
571 Document changes reflecting modifications to states.
573 2002-11-17 Bill Haneman <bill.haneman@sun.com>
576 Revved to 1.1.3, interface-age=3, binary-age=3.
580 Removed accessx-gui from the tests, since we have a nice
581 keyboard accessibility capplet now :-)
583 * test/keysynth-demo.c:
584 (increment_scan): removed do-nothing default: case,
587 * test/visual-bell.c:
588 (main) : removed do-nothing default: case,
592 (AccessibleAction_getKeyBinding_):
593 Documented keybinding string format.
597 (AccessibleText_getAttributes):
598 Documented the text attribute string format.
599 It's changed to use semicolon delimiters also,
600 to prevent clashes with CSS attributes, but the old
601 trick of looking for ", " strings will still work
602 (as unreliably as ever). Fix for bug related to 97916.
605 Include <cspi/bonobo/cspi-bonobo-listener.h>
607 (SPI_freeAccessibleKeySet):
608 (AccessibleKeystrokeListener_addCallback):
609 (AccessibleKeystrokeListener_removeCallback):
610 Modify to use AccessibleDeviceListener API internally,
611 instead of AccessibleKeystrokeListener.
613 * idl/Accessibility_Event.idl:
614 Added two more empty slots to EventListener (for a total of four).
616 * idl/Accessibility_Accessible.idl:
617 Added four empty slots to Accessible interface.
619 2002-11-15 Bill Haneman <bill.haneman@sun.com>
621 * idl/Accessibility_Registry.idl:
622 (KeyEventType, EventType):
623 Marked KeyEventType as deprecated; it duplicates
624 functionality of EventType, which has been extended to
625 include Mouse-button events.
626 (KeyEventTypeSeq): defined in terms of EventType.
627 (registerDeviceEventListener, deregisterDeviceEventListener):
628 New methods, for managing listeners to device events,
629 which potentially may consume them.
632 Added definition for AccessibleDeviceListener.
634 * cspi/spi-listener.h:
635 (enum AccessibleDeviceEventType):
636 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
637 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
638 for backwards compat.
639 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
640 and typedef'd AccessibleKeystroke to it for back-compat.
641 (AccessibleDeviceListenerCB):
642 New function prototype typedef.
645 (AccessibleDeviceEventMask): New typedef.
646 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
647 (AccessibleKeyMaskType):
648 Set equivalent to AccessibleModifierMaskType for back-compat.
649 (SPI_createAccessibleKeystrokeListener):
650 (AccessibleKeystrokeListener_unref):
651 Deprecated in favor of equivalent (better-named) new API below..
652 keystroke listeners are like all device listeners.
653 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
654 New API names for old features :-).
655 (AccessibleDeviceListener_addCallback):
656 (AccessibleDeviceListener_removeCallback):
657 (SPI_registerDeviceEventListener):
658 (SPI_deregisterDeviceEventListener):
662 (SPI_createAccessibleKeystrokeListener):
663 Use new preferred API, cspi_device_listener_new() and
664 cspi_device_listener_add_cb().
665 (AccessibleKeystrokeListener_removeCallback):
666 Use new preferred API, cspi_device_listener_remove_cb().
667 (AccessibleKeystrokeListener_unref):
668 Use new preferred API, cspi_device_listener_unref().
669 (SPI_createAccessibleDeviceListener):
670 (AccessibleDeviceListener_addCallback):
671 (AccessibleDeviceListener_removeCallback):
672 Implementation of new API.
674 * cspi/spi_registry.c:
675 (SPI_registerDeviceEventListener):
676 (SPI_deregisterDeviceEventListener):
677 Implementation of new API. Fixed memory leak and removed need to
678 allocate EventTypeSeq (thanks Michael for catching this).
679 Squashed a wayward CORBA_exception_free that shouldn't get called.
681 * cspi/bonobo/cspi-bonobo-listener.c:
683 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
684 (cspi_key_event): renamed to cspi_device_event().
685 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
686 Extended to handle mouse button events as well as key events.
687 (CSpiKeystrokeListener):
688 Class superceded by CSpiDeviceListener.
689 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
690 These internal APIs changed to "*device_listener" from "*keystroke_listener".
692 * cspi/bonobo/cspi-bonobo-listener.h:
693 (CSpiKeystrokeListener):
694 Class superceded by CSpiDeviceListener.
695 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
696 These internal APIs changed to "*device_listener" from "*keystroke_listener".
698 * libspi/Makefile.am:
699 Replaced keystrokelistener.h and keystrokelistener.c
700 with devicelistener.h and devicelistener.c; keystrokelisener.h
701 stub retained for back-compat.
703 * libspi/keystrokelistener.c:
707 Replaced inclusion of keystrokelistener.h with devicelistener.h.
709 * registryd/deviceeventcontroller.c:
710 (DEControllerListener): Added Accessibility_EventTypeSeq member.
711 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
712 (DEControllerPrivateData): Added xkb settings data.
713 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
714 button release events (which can't be captured via XGrabButton).
715 Don't dispatch via the 'normal' event mechanism if the device event was
717 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
718 Handle the typeseq data in its new location (see above).
719 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
720 New methods, for "generic" device listeners.
721 (spi_controller_register_device_listener):
722 Now handle mouse event listeners as well as key listeners.
723 (spi_controller_notify_mouselisteners):
725 (spi_device_event_controller_forward_mouse_event):
726 Now we notify mouse device listeners as well as generating the
727 non-consumable "mouse:" events.
729 We must check and restore the XKB
730 modifier map if we consume the event, since the act of triggering
731 a mouse event will normally reset the XKB latch. This is required for
733 (spi_controller_register_with_devices):
734 Load the XKB settings when registering, and register for XKB
736 (spi_key_eventtype_seq_contains_event):
737 Renamed spi_eventtype_seq_contains_event, since it's used
738 internally for all device event types now.
739 (spi_key_event_matches_listener):
740 Uses spi_eventtype_seq_contains_event now.
741 (spi_device_event_controller_object_finalize):
742 Free the private data and the XkbKeyboard struct.
743 (impl_register_device_listener, impl_deregister_device_listener):
744 Implementation of new IDL.
745 (spi_deregister_controller_device_listener):
747 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
748 More efficient implementation, we don't have to create a new
749 XkbControls structure every time we query.
750 (spi_device_event_controller_class_init):
751 Initialize the epv entries for the new IDL. Assign the
752 "spi-dec-private" quark.
753 (spi_device_event_controller_init):
754 Initialize the private data.
755 (spi_device_event_controller_forward_key_event):
756 Removed a bogus CORBA_exception_free() call.
758 * registryd/deviceeventcontroller.h:
759 Replaced inclusion of keystrokelistener.h with
762 * test/event-listener-test.c:
763 (report_mouse_event):
766 Added mouse-event device listener.
768 * test/test-simple.c:
769 (create_test_window):
770 Fixed regression (we were instantiating a GtkRange,
771 which is now an abstract class). Also fixed to match
772 existing AtkRole names, this seems to have changed in ATK
773 awhile ago; too late now I think, and the new
774 mechanism is at least elegant and consistent with the
775 glib enum "nick" APIs.
777 2002-11-15 Darren Kenny <darren.kenny@sun.com>
779 * idl/Accessibility_Relation.idl:
780 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
781 RELATION_EMBEDS,RELATION_EMBEDDED_BY
782 * idl/Accessibility_Role.idl:
783 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
784 * idl/Accessibility_State.idl:
785 add STATE_MANAGES_DESCENDANTS
786 * test/event-listener-test.c:
787 Added a listener for active-descendant events.
789 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
791 * atk-bridge/bridge.c
792 (atk_bridge_init): If application is Bonobo component wait until top
793 level is added before registering
794 (spi_atk_bridge_do_registration): New function which contains code,
795 formerly in atk_bridge_init, to do application registration.
796 (spi_atk_bridge_toplevel_added): Signal called when top level
797 added to Bonobo component
799 This fixes bug #83134.
801 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
803 * registryd/deviceeventcontroller.c
804 Fixed compilation error caused by calling gettimeofday()
807 2002-10-18 Bill Haneman <bill.haneman@sun.com>
812 Added template for HAVE_XKB.
815 Changes to check for XKB, and to set the HAVE_XKB #define if it
819 ()impl_notify_event): Make failure to get event source name
822 * registryd/deviceeventcontroller.c:
823 (#include): include X11/XKBlib.h.
824 (DEControllerPrivateData) : New struct.
825 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
827 (dec_synth_keycode_press) (dec_synth_keycode_release):
828 New methods; split the key synthesis code into these methods.
829 They check XKB settings before determining the "time" values to
830 pass to Xtest; this fixes bug #95828.
831 (impl_generate_keyboard_event): Changed to use methods above,
832 instead of callng Xtest directly.
833 (spi_device_event_controller_init): Initialize new privae struct s
835 (spi_device_event_controllr_object_finalize):
836 Free the (new) private data.
838 * registryd/deviceeventcontroller.h:
839 Add new gpointer to end of struct data.
841 2002-10-16 Bill Haneman <bill.haneman@sun.com>
844 Incremented revision to 1.1.2, SONAME is still '.so', library
845 extensions are ".so.0.0.2".
847 * registryd/deviceeventcontroller.c:
848 FIXES FOR #93592 and #95940.
849 (statics): renamed mouse_button_state to mouse_mask_state,
850 added key_modifier_mask.
851 (spi_dec_poll_mouse_moved):
852 Added key modifier checks, and emit "keyboard:modifiers"
853 events when the key modifiers currently in use change.
854 Also generate "mouse:abs" events periodically, even if the mouse
855 is stationary (should we?).
856 Alternatively we could generate "mouse:abs" events for either all
857 mouse movements, or every 'nth' mouse movement, or at the
858 beginning and end of every "active" mouse period.
860 * test/event-listener-test.c:
861 (main): Added listener for "keyboard:modifiers" events.
863 2002-10-15 Bill Haneman <bill.haneman@sun.com>
866 Added key mask #defines for mouse buttons; e.g.
867 SPI_KEYMASK_BUTTON1, etc.
870 Incremented dependency on ATK to version 1.1.0. (This dependency
871 is probably premature but will soon be real enough).
873 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
875 * libspi/hyperlink.[ch]
876 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
877 (get_hyperlink_from_servant): Check object is AtkHyperlink not
880 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
885 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
887 * registryd/deviceeventcontroller.c
888 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
889 events to be ignored.
890 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
891 keyboard_mode so that XAllowEvents() can be called.
895 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
897 * cspi/spi-accessible.c: Correct names of roles returned by
898 AccessibleRole_getName(). Fixes bug #95055.
900 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
902 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
905 * registryd/registry.c
906 (desktop_remove_application: Write diagnostic message to stderr for
909 (impl_accessibility_registry_deregister_global_event_listener):
910 Correct size of lists array. This addresses bug #94555).
912 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
914 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
917 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
919 * registryd/Makefile: Add CLEANFILES so that .server file is removed
922 * registryd/registry.c (impl_registry_notify_event): Remove
923 unnecessary call to parser_event_type().
925 * docs/reference/cspi/tmpl/spi_component.sgml:
926 Add reference to SPI_LAYER_WINDOW.
928 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
930 * registryd/registry.c
931 (desktop_add_application): Remove leak.
932 (desktop_remove_application): Remove leak.
933 (parser_event_type): Remove leak.
935 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
937 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
938 bogus call to CORBA_string_dup(). Also removed unnecessary
939 g_string_dup/g_free calls.
941 2002-09-13 Bill Haneman <bill.haneman@sun.com>
943 * registryd/deviceeventcontroller.c:
944 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
946 * test/event-listener-test.c:
947 main: commented out three redundant listeners, to reduce output
948 noise. (They still are potentially useful for testing).
951 2002-09-13 Michael Meeks <michael@ximian.com>
953 * Update all the copyrights to include Ximian.
955 2002-09-06 Mark McLoughlin <mark@skynet.ie>
957 * cspi/spi.h: add SPI_LAYER_WINDOW.
959 * cspi/spi_component.c: (AccessibleComponent_getLayer):
960 add Accessibility_LAYER_WINDOW case.
962 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
964 * libspi/component.c: (impl_accessibility_component_get_layer):
965 add ATK_LAYER_WINDOW case.
967 2002-08-28 Bill Haneman <bill.haneman@sun.com>
969 * configure.in: incremented micro version.
971 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
973 2002-08-20 Bill Haneman <bill.haneman@sun.com>
976 Clarified and reworded our commit policy.
979 Started an API "todo" addition list for 2.2.
983 Free char pointer from atk_text_get_selection, which was being leaked.
985 2002-08-19 Bill Haneman <bill.haneman@sun.com>
988 Small revision to author acknowledgement.
990 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
992 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
993 If signal has detail add it to the type of the event.
996 2002-08-12 Michael Meeks <michael@ximian.com>
998 * test/test-simple.c (global_listener_cb): bin bogosity.
999 (test_keylisteners): disable, still doesn't work reliably,
1000 certainly not on my system anyway.
1002 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1003 don't leak a reference on the DEC. This round-trip
1004 fetching of the DEC per keystroke sucks, it should be
1007 * cspi/spi-private.h,
1008 * cspi/cspi-lowlevel.h,
1009 * cspi/bonobo/cspi-bonobo-listener.[ch],
1010 * cspi/bonobo/cspi-bonobo.c: get the copyright
1011 notices better - there is still a large amount of
1012 work in at-spi falsely attributed solely to Sun.
1014 * cspi/spi_main.c (cspi_object_ref): kill bogus
1015 hash lookup, just increment the ref.
1016 (SPI_freeString): make explicit the fact that we
1017 handle NULL strings just fine.
1018 (report_leaked_ref): obey coding standards.
1019 (cspi_object_hash, cspi_object_equal): kill retval.
1020 (cspi_object_release): only release if not on loan.
1021 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1022 (cspi_object_borrow, cspi_object_return): impl.
1024 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1025 use cspi_object_borrow / return.
1027 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1029 * cspi/bonobo/cspi-bonobo-listener.c:
1031 Don't call cspi_oject_new() because this is creating a new Accessible
1032 every single time that an event is fired. This causes ATs like at-poke
1033 to nolonger recognise the source of the event and thus ignore it.
1034 Re-use the object from the cache, ref it and then unref it after the
1035 listeners have been called.
1037 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1039 * test/event-listener-test.c:
1040 Added command-line options to disable mouse events (m) and
1043 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1045 * configure.in: Update required versions of ATK, GTK+ and GAIL
1047 * cspi-1.0.pc.in: Add dependency for X include files
1050 * cspi/bonobo/Makefile.am:
1051 Add $(X_CFLAGS) so that X include files
1052 are picked up even if not in standard place (bug #71686)
1054 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1056 * registryd/deviceeventcontroller.c: fix for 84261
1057 (spi_dec_mouse_moved):
1058 Added test of mouse button mask, so that we can detect mouse
1059 button release. Unfortunately we can't otherwise detect mouse
1060 button release events without consuming the mouse press event,
1061 because of the way XGrabButton works. This means that our mouse
1062 release events have a latency dependent on the polling period
1063 while the mouse button is down. At least in this case we only
1064 have to poll while the button is down, and not at other times.
1065 If the button masks don't match with what the last press event
1066 reported, we report the appropriate button release event.
1067 (spi_dec_ungrab_mouse):
1068 New method (not yet called).
1069 (spi_device_event_controller_forward_mouse_event):
1070 New method, sends mouse press event from GdkFilter.
1071 (spi_dec_init_mouse_listener):
1072 Added code to call XGrabButton, redirecting mouse button events to
1073 the root window and our Gdk event loop.
1075 Added code to filter mouse button events, and reordered.
1077 * test/event-listener-test.c:
1079 Added registration for mouse events of type "mouse:button".
1081 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1083 * registryd/deviceeventcontroller.c: partial fix for 84261
1084 (spi_dec_poll_mouse_idle):
1085 New method, a timeout which checks to see if the mouse
1087 (spi_dec_poll_mouse_moving):
1088 A timeout to be called when mouse motion is underway.
1089 (spi_dec_poll_mouse_moved):
1090 A method which fires an event if the mouse has moved, and reports
1091 whether or not it did so.
1092 (spi_dec_init_mouse_listener):
1093 A method which sets up the timeouts above.
1094 (spi_device_event_controller_new):
1095 Now calls spi_dec_init_mouse_listener.
1097 * registryd/registry.c:
1098 (spi_registry_init):
1099 Now we initialize the device event controller when the registry is
1100 initialized, instead of waiting until a client has requested a key
1101 event notification; this is because we need the event controller
1102 for mouse events, but the mouse event registration API is a
1103 "registry" call and doesn't explicitly call the
1104 deviceeventcontroller.
1105 We now report mouse motion events with a 100 ms idle latency and
1106 a 20 ms granularity when motion is in progress.
1108 * test/event-listener-test.c:
1110 We now register the "detail listener" for events of type
1111 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1112 delivered only for the first mouse event received, and thereafter
1113 "mouse:abs" events are delivered.)
1115 * cspi/spi_registry.c:
1116 DOCS: Documented the above mouse event typestrings.
1118 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1120 Happy Summer Solstice...
1122 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1123 (spi_controller_notify_keylisteners):
1124 Changes to remove a listener from the listener list, freeing its
1125 open keygrabs, if a notification to that listener fails. This
1126 means that although a dead listener can continue to hold a passive
1127 keygrab, a maximum of one dispatch to such a listener can fail
1128 before the listener is removed from the list, thus the keygrab
1129 will be released on the next occurrence.
1130 As part of this fix:
1131 (spi_notify_keylisteners):
1132 Renamed to spi_controller_notify_keylisteners, as the controller
1133 instance must now be passed as an argument.
1134 The copied 'notify' GList is now a list of DEControllerKeyListener
1135 objects, since we need more than just the CORBA reference if a
1136 notify fails and we need to deregister the listener.
1137 (impl_notify_listeners_sync):
1138 (impl_notify_listeners_async):
1139 (spi_device_event_controller_forward_key_event):
1140 Modify use of notify_keylisteners in accordance with above
1142 (spi_deregister_controller_key_listener):
1143 New method introduced by refactoring, from
1144 impl_deregister_keystroke_listener.
1145 (impl_deregister_keystroke_listener):
1146 Call spi_deregister_controller_key_listener.
1147 (spi_key_listener_clone):
1148 New method to copy a key listner without doing a 'ref' on the
1149 remote object instance; used to create a notifier list.
1150 (spi_key_listener_data_free):
1151 New method, frees data without unreffing the source.
1153 (spi_key_listener_clone_free): new method.
1154 (spi_key_listener_free):
1155 refactored to call spi_key_listener_data_free.
1157 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1159 * registryd/registry.c: [fix for bug 86048]
1160 (notify_listeners_cb):
1161 Clear CORBA system exceptions which occur when notifying
1162 listeners, before returning to the source of the original event,
1163 since the event source doesn't care if the relayed notify failed.
1164 In other words, don't complain to the atk-bridge if the registry
1165 could not notify all its listeners, that's no fault of the
1166 application and thus should not appear to be an error from the
1167 application's perspective.
1169 * cspi/spi_main.c: [fix for bug 85980]
1171 Replaced use of bonobo_object_dup_ref with call to the wrapper
1172 method, csou_dup_ref (); this silences a compiler warning and
1173 provided more portability.
1175 Ping the registry before return, and restart if necessary.
1177 * cspi/bonobo/cspi-bonobo.c:
1179 New internal method.
1181 Fixed this method to return an object reference, as it should have
1184 * cspi/cspi-lowlevel.h:
1185 Added internal definition for cspi_ping() and fixed
1186 return type of cspi_dup_ref().
1189 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1191 * atk-bridge/bridge.c: [fix for bug 85305]
1192 (spi_atk_bridge_register_application):
1193 New method where the initial application registry calls have been
1194 moved; it allows an application to re-register in response to
1195 certain error conditions (such as a registry restart, see below).
1197 Moved some initialization code to the method
1198 spi_atk_bridge_get_registry, below.
1199 (spi_atk_bridge_get_registry):
1200 New, private accessor function for the Accessibility_Registry
1201 instance. If the registry has not been started before, or has
1202 died (as detected by failure of a CORBA exception), it is
1203 restarted before return, and spi_atk_bridge_register_application
1204 is called again to register with the new bridge instance.
1205 (spi_atk_emit_eventv):
1206 Set registry_died on error; use spi_atk_bridge_get_registry () to
1207 access the registry.
1209 * registryd/registry.c:
1210 (impl_accessibility_registry_register_global_event_listener):
1211 Set listener's event_type_quark to etype.minor instead of
1212 etype.major (fix for bug 84856).
1214 * test/event-listener-test.c:
1215 (report_detail_event):
1216 Change the output string so that user/tester can tell that the
1217 'detail listener' was called instead of the 'generic listener'.
1219 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1221 Fixes for bugs 84900, 84908, 84897, 84898.
1226 Revved version to 1.1.0
1227 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1228 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1230 * idl/Accessibility_Registry.idl:
1231 (EventListener::notifyEvent):
1232 Removed 'oneway' directive after extensive consulation with
1233 ORBit2 team and others. This means also that unref() of the event
1234 source can and should be done synchronously after emission, rather
1235 than remotely in the client, after servicing the notify call on
1238 NOTE: This change speeds up listener performance considerably, but
1239 introduces new latency on the application side. We may want to
1240 add an event queue to the atk-bridge.
1242 * atk-bridge/bridge.c:
1243 (spi_atk_bridge_focus_tracker):
1244 Do a local unref() on the event source after emission.
1246 * registryd/registry.c:
1247 (desktop_remove_application):
1248 Do an unref() on the event source after emission.
1249 (desktop_add_application):
1250 Do an unref() on the event source after emission.
1251 (notify_listeners_cb):
1252 When relaying an event, don't automatically add the event source
1253 to the local object cache, just CORBA_dup it instead. Likewise,
1254 if this method reenters, release the ref rather than calling
1256 (impl_registry_notify_event):
1257 No longer call remote unref() on the event source after dispatch.
1259 * libspi/eventlistener.c:
1260 (impl_accessible_event_notify_event):
1261 Removed remote unref ()
1263 * cspi/bonobo/cspi-bonobo-listener.c:
1265 We now call cspi_object_new() instead of cspi_object_add() on
1266 receipt of an event; thus we only have an implicit object ref
1267 while the cspi_event method is being executed. If we need to keep
1268 a reference to the object, the listener must call ref() on the
1269 object. Thus also we don't need to call cspi_object_unref() after
1270 invoking the listener callbacks in this method.
1274 New internal API for creating a new cspi object, without adding it
1275 to the object cache.
1277 Now uses cspi_object_new() to create the cspi object instance.
1279 Now checks to see if the object is in the internal object cache,
1280 and adds it if necessary before incrementing its refcount (note
1281 that new objects are added with a refcount of 1).
1282 (report_leaked_ref):
1283 New method which gives some information on leaked object instances
1284 if leak detection is turned on.
1286 * test/event-listener-test.c:
1287 (timing_test_event):
1288 New method, used for testing event delivery timing for special
1289 events of type "object:test". It reports elapsed time and
1290 events/sec every 500 events.
1292 Added a new listener, 'test listener', to check timing of event
1293 receipt as noted above.
1295 Added some timing output here also, reports elapsed time every 100
1298 * test/stress-test.c:
1299 Emit events of type "object:test", for use with "event-listener-test".
1301 * test/test-simple.c:
1302 (global_listener_cb):
1303 Call Accessible_ref() on the event source before calling
1304 validate_accessible, since the validation process does pointer
1305 comparisons on the event source, meaning that the event source
1306 needs to be added to the local object cache first. Any use of
1307 such pointer comparisons between Accessible objects requires that
1308 the caller hold an explicit reference to those objects.
1309 We also must therefore call Accessible_unref() when leaving this method.
1311 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1313 * registryd/deviceeventcontroller.c:
1314 (spi_controller_update_key_grabs):
1315 Fix for #84735, subsequent keygrab listeners not informed of
1316 registration failure.
1319 (spi_base_construct):
1320 Add an assertion on construct, to make sure the GObject passed in
1321 is really a GObject.
1323 Explicitly initialize object->gobj pointer to NULL;
1325 * cspi/bonobo/cspi-bonobo-listener.c:
1326 (cspi_object_add_ref):
1327 New method, can specify whether to dup-ref a bonobo object passed
1328 in if it's newly added to the object cache.
1330 Now calls cspi_object_add_ref with second param of "FALSE". This
1331 prevents us from doing a pointless dup-ref followed by
1332 release-unref for all those cases where the object is already in
1333 our object cache (fix for #85205).
1335 * atk-bridge/bridge.c:
1336 (spi_atk_bridge_idle_init):
1337 Removed this method, we don't need to initialize in an idle
1340 Changed to call spi_atk_register_event_listeners directly, not via an
1341 idle handler. (fix for #81139)
1342 (gnome_accessibility_module_shutdown):
1343 Removed conditional around deregistration of listeners, since we
1344 don't use the idle handler and thus have always registered when
1346 (spi_init_keystroke_from_atk_key_event):
1347 Changed references to Accessibility_KEY_PRESSED to
1348 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1350 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1352 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1357 * test/stress-test.c:
1360 (may have been an incomplete commit yesterday?)
1362 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1365 Added target for new stress-test.
1367 * test/stress-test.c:
1368 New test, sends 1000 focus notifies in quick succession.
1370 * test/key-listener-test.c:
1371 Now we report whether a keylistener registration
1372 request succeeded or failed.
1374 * test/event-listener-test.c:
1375 Uncommented some listeners which are now implemented.
1378 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1380 * registryd/deviceeventcontroller.c:
1381 (spi_controller_update_key_grabs):
1382 Fix for #82509, lack of failure notification when
1383 ALL_WINDOWS keygrabs fail due to XGrabKey
1384 failure: we synchronize the server when
1385 registering a passive grab, to make sure we get the
1386 error message before the call returns.
1388 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1390 * test/test-simple.c:
1392 Removed #ifdef KEY_IMPL_WORKS guards.
1393 (test_keylisteners):
1394 Removed #ifdef KEY_IMPL_WORKS guards.
1395 Fixed bug which was causing a hang waiting for a
1396 "press" event (which was already overwritten by a "release"
1397 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1399 Added code to set globals 'key_press_received' and
1400 'key_release_received'.
1403 Added section "1.1 API Proposed Additions" which
1404 lists API additions desired for at-spi-1.1 (only one so far).
1405 Updated TODO list a little.
1407 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1409 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1412 * configure.in: Revved to 1.0.0.
1414 * idl/Accessibility_Registry.idl:
1415 (registerKeystrokeListener):
1416 Added boolean return value.
1418 * registryd/registry.c:
1419 (notify_listeners_cb): Minor fix to debug output.
1421 * registryd/Accessibility_Registry.server.in.in:
1422 Revved version number in OAFIID to 1.0.
1424 * registryd/registryd.c:
1426 Use new OAFIID version.
1428 * cspi/bonobo/cspi-bonobo.c:
1430 Use new OAFIID version.
1436 * atk-bridge/bridge.c:
1438 Use new OAFIID version.
1440 * registryd/deviceeventcontroller.c:
1441 (impl_register_keystroke_listener):
1442 Added CORBA_boolean return value.
1443 (spi_controller_register_device_listener):
1444 Added gboolean return value.
1445 (spi_controller_register_global_keygrabs):
1446 Added gboolean return value.
1447 (spi_key_set_contains_key):
1448 Added implementation for many more control keys,
1449 for instance F1-F12, arrow keys, End, Home, Page_Up,
1451 [TODO: some still not implemented].
1453 * text/screen-review-test.c:
1454 (text_chunk_pad_string):
1455 New function: it provides mapping between coordinate
1456 positions of text chunks and character positions in the
1457 screen-review-line output string.
1458 (text_chunk_to_string):
1459 New function, calls text_chunk_pad_string with various
1460 pad/delimiter characters. Pushbuttons are delimited with
1461 square brackets, Frames with vertical 'pipe' lines, and
1462 other text with double quotes.
1463 (text_chunk_list_to_string):
1464 Calls new function text_chunk_to_string.
1465 (toplevel_composite):
1466 New function to composite layers CANVAS through
1467 POPUP in each toplevel (other layers are composited
1468 across toplevels, i.e. BACKGROUND and OVERLAY).
1469 (review_buffer_composite):
1470 Revise to use new methods.
1476 2002-05-31 Laszlo Peter <laca@sun.com>
1478 * configure.in: add the Xtst libdir to the runpath on Solaris,
1479 since it's not in the default library search path.
1481 2002-05-29 jacob berkman <jacob@ximian.com>
1483 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1485 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1487 * test/screen-review-test.c:
1488 (text_chunk_pad_string):
1489 Added method, which pads the string according to the
1490 text bounds of the chunk. It also takes a 3-character
1491 string as a param which indicates the characters to be
1492 used for start, padding, and end delimitation of the chunk.
1493 (text_chunk_to_string):
1494 Changed to use text_chunk_pad_string.
1496 * configure.in: Fixed bug in AC_OUTPUT that was
1497 causing path substitution in Accessibility_Registry.server
1500 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1502 * text/screen-review-test.c:
1503 (guess_string_clip):
1504 New method which attempts a best-guess at clipping
1505 text from components (like Java labels) which don't
1506 actually implement AccessibleText. This inaccurate
1507 clip is based on the assumption that the label is
1508 justified left-and-right, and monospaced.
1509 (text_chunk_get_clipped_string):
1510 We now call guess_string_clip() for text-containing
1511 components that don't implement AccessibleText.
1513 * test/screen-review-test.c:
1514 (review_buffer_get_text_chunk):
1515 We now pull "name" from labels if they do not implement
1516 AccessibleText (i.e. for Java labels).
1517 (get_screen_review_line_at):
1518 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1521 Replaceded AC_OUTPUT target
1522 registryd/Accessibility_Registry.server with
1523 registryd/Accessibility_Registry.server.in.
1525 * registryd/Accessibility_Registry.server.in:
1526 Removed (this is now a Makefile target).
1528 * registryd/Accessibility_Registry.server.in.in:
1529 Added (source for target above). We now use $(libexecdir) as
1530 prefix for the executable at-spi-registryd.
1532 * registry/Makefile.am:
1533 Now install at-spi-registryd into $(libexecdir), and build .server
1534 file with path (see above).
1536 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1538 * test/screen-review-test.c:
1539 (text_chunk_get_clipped_string):
1540 We now check to see if words fall within clip bounds
1541 before resorting to character-by-character clip bounds testing.
1543 * TODO: Added a section for "2.2 Proposed API Additions".
1545 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1547 * test/screen-review-test.c:
1549 Added a screen review benchmarking and test program to test
1552 * cspi/spi_accessible.c:
1554 Made some of the debug strings passed to cspi_check_ev a
1555 little more specific.
1557 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1559 * test/screen-review-test.c: Fix crashes in debug statements
1561 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1563 * test/screen-review-test.c: Added this file.
1565 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1567 * atk-bridge/bridge.c: changed "object:state-change" to
1568 "object:state-changed" to match docs.
1570 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1572 * atk-bridge/bridge.c: Hooked up state-change event details.
1574 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1576 * registryd/registry.c:
1577 Fixed quarking bug in event string parsing; now events with
1578 detail parameters get matched correctly to listeners.
1581 * util/idl/Magnifier.idl: remove.
1583 * util/*.[ch]: Remove.
1584 Magnification utilities and IDL are now in module gnome-mag.
1586 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1588 * registryd/deviceeventcontroller.c:
1589 Fixed bug in grab key conversion which was causing keycode grabs
1590 to be converted to AnyKey grabs.
1593 updated NEWS file to reflect recent spin-off of gnome-mag.
1595 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1597 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1598 busted AccessibleStateSet_compare. Removed redundant casts.
1600 * cspi/spi-action.c: Removed redundant casts.
1602 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1604 * cspi/spi_component.c: Fixed typos and casting error.
1606 * cspi/spi_editabletext.c: Removed redundant casts.
1608 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1610 * cspi/spi_hypertext.c: Eliminated redundant casts.
1612 * cspi/spi_image.c: Eliminated redundant casts.
1614 * cspi/spi_registry.c: Eliminated redundant casts.
1615 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1616 * cspi/spi_selection.c: Removed redundant casts.
1617 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1618 handling. Screen geometry and text offsets were being returned as 0
1619 on error which is technically valid-- changed these to return -1.
1620 Added marshaller for text boundary types to fix bug with boundary
1621 types being passed incorrectly to atk.
1623 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1626 * cspi/spi_registry.c:
1627 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1628 which was uncovered by the recent key changes.
1630 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1632 * test/event-listener-test.c:
1634 Added new test, "event-listener-test";
1635 this code does two things; it benchmarks traversal time
1636 for the accessible hierarchy for the first running accessible
1637 app, and it connects listeners for all supported event types.
1638 It is thus useful as an example event listener and for
1639 diagnostics/debugging of event generation.
1641 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1644 Removed unnecessary dependency on libutil.
1647 Revved micro version: 0.13.1
1649 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1652 Removed util/Makefile from targets.
1655 Removed util subdir from SUBDIRS (temporarily,
1656 pending removal of magnifier-only code
1660 #ifdef-ed out magnifier dependencies, since
1661 magnifier IDL, headers, and binary now live in
1662 module gnome-mag and we don't want at-spi to depend
1663 on gnome-mag. A magnifier demo which can run alongside
1664 simple-at is forthcoming in the gnome-mag module.
1666 NOTE: Split magnifier binary, IDL, and magnification
1667 activation code from at-spi into module gnome-mag.
1669 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1671 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1672 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1674 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1677 Revved to version 0.13.0
1679 * idl/Accessibility_Registry.idl:
1680 Changed definition of KeySet from sequence of longs to sequence of
1681 KeyDefinitions, and added KeyDefinition struct.
1682 Required for fix to bug 80616.
1684 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1685 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1686 to use new definition (see above).
1688 * registryd/deviceeventcontroller.c: handle_keygrab(),
1689 spi_keyset_contains_key():
1690 Changed to make use of new struct; this allows matching based on
1691 string key-name, for instance "Tab". This also allows matching of
1692 composed characters, non-alphanumeric characters in a way that
1693 doesn't involve dependencies on X keysym codes directly, etc.
1695 * test/key-listener-test.c:
1696 Added test for Alt-Tab key using "string" specification of keyset,
1697 and modified one of the tests to use a keycode-based keyset.
1698 Thus this test both tests and demonstrates the creation and use of
1699 keysets of three forms: specified via keycode array,
1700 keysym array, and string array. (The string case only contains a
1701 single string, i.e. a string array of length 1).
1704 Turned on PRINT_TREE option by default. Also fixed a
1705 string-freeing bug in the PRINT_TREE code.
1706 Added a listener to window:minimize events.
1708 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1710 * atk-bridge/bridge.c:
1711 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1712 for window:activate and window:deactiveate
1713 (atk_bridge_property_event_listener atk_bridge_signal_listener
1714 atk_bridge_window_event_listener) Tidy debug code
1716 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1718 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1719 Fixed handling for NULL return value from ATK.
1721 * libspi/action.c libspi/component.c libspi/editabletext.
1722 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1723 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1724 Removed redundant casts.
1726 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1727 Fixed off by one bug.
1729 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1730 function not present in idl)
1732 2002-05-02 jacob berkman <jacob@ximian.com>
1734 * atk-bridge/Makefile.am: make atk-bridge a real module
1736 2002-04-26 Radek Doulik <rodo@ximian.com>
1738 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1739 atk_state_types table
1741 2002-04-22 jacob berkman <jacob@ximian.com>
1744 * libspi/Makefile.am: add deps on the built files to help
1745 automake, and don't version the ORBit typelib
1747 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1749 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1750 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1751 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1752 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1753 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1754 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1755 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1756 libspi/accessible.h libspi/accessible.h libspi/base.h
1757 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1758 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1759 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1760 libspi/spi-private.h libspi/statetset.h libspi/table.h
1761 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1762 util/mag_client.h util/mag_control.c util/mag_image.c
1763 util/mag_image.h util/magnifier.c util/magnifier.h:
1764 Add missing file headers; standardize existing ones
1766 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1768 * atk-bridge/bridge.c: Added window event support.
1770 2002-04-18 Michael Meeks <michael@ximian.com>
1772 * libspi/relation.c (impl_getNTargets): impl.
1773 (impl_getTarget): impl.
1775 * libspi/Makefile.am: fix stateset install.
1777 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1780 Started putting useful info in this file.
1782 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1784 * atk-bridge/bridge.c:
1785 Propagate state-changed notifications to ATs
1787 * cspi/spi_registry.c: update docs to reflect actual behavior of
1788 state-change events.
1790 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1793 Incremented version to 0.12.1
1795 * util/mag_client.h:
1796 Add missing declaration for magnifier_exit,
1797 used by mag_control.c - Forte compiler didn't like
1798 the implicit redeclaration of the function :-(
1801 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1804 Revved version to 0.12 due to API change (see below).
1806 * cspi/spi-roletypes.h:
1807 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1808 definition from the inline docs, and added docs
1809 for SPI_ROLE_LAST_DEFINED.
1812 * cspi/spi_streamablecontent.c:
1813 Added missing seek_type parameter to
1814 (so far unused) method,
1815 AccessibleStreamableContent_seek().
1816 [ RT approval JodyG. ]
1819 Fixed docs for SPI_createAccessibleKeystrokeListener.
1821 * cspi/spi_registry.c:
1822 Fixed docs for SPI_KEYSET_ALL_KEYS.
1824 * docs/reference/cspi/at-spi-cspi-sections.txt:
1825 Added a number of missing APIs to SECTIONS.
1827 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1829 * registryd/Makefile.am:
1831 * cspi/bonobo/Makefile.am:
1832 Add $(X_LIBS) to makefiles.
1834 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1837 Revved version to 0.11.
1839 * libspi/component.c:
1840 Added implementation for grabFocus.
1842 * idl/Accessibility_Component.idl
1843 (Accessibility_Component_grabFocus):
1844 Made this method return boolean to indicate success or failure, to
1845 be consistent with cspi and the corresponding ATK method.
1847 * idl/Accessibility_Selection.idl
1848 (Accessibility_Selection_selectAll) :
1849 Made these methods return boolean to indicate success or
1850 failure, to be consistent with cspi and the corresponding ATK methods.
1852 * idl/Accessibility_EditableText.idl
1853 (Accessibility_EditableText_setTextContents,
1854 Accessibility_EditableText_insertText,
1855 Accessibility_EditableText_cutText,
1856 Accessibility_EditableText_deleteText,
1857 Accessibility_EditableText_pasteText):
1858 Made these methods return boolean to indicate
1861 * cspi/spi_editabletext.c:
1862 Made these methods return booleans.
1864 * libspi/selection.c:
1865 * libspi/component.c:
1866 * libspi/editabletext.c:
1867 Connected the boolean returns from ATK
1868 to the server-side code referenced above.
1870 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1872 * idl/Accessibility_Table.idl: Added missing methods,
1873 Accessibility_Table_addRowSelection,
1874 Accessibility_Table_addColumnSelection,
1875 Accessibility_Table_removeRowSelection,
1876 Accessibility_Table_removeColumnSelection.
1879 Added C wrappers for above IDL:
1880 AccessibleTable_addRowSelection,
1881 AccessibleTable_addColumnSelection,
1882 AccessibleTable_removeRowSelection,
1883 AccessibleTable_removeColumnSelection.
1886 Added server-side implementation code for IDL above, connecting
1887 to pre-existing ATK api.
1889 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1891 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1893 * libspi/accessible.c: Added implementation fo
1894 Accessibility_Accessible_get_state.
1896 * libspi/libspi.h: Added stateset.h to the list of includes.
1898 * libspi/stateset.c: Fixed broken implementation.
1900 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1903 Added implementation code for Accessibility_Magnifier_exit ().
1905 * util/mag_control.c:
1906 Added test code for above method; you can
1907 now kill an existing magnifier via
1908 ./mag_control q, from the util directory.
1910 * test/key-listener-test.c:
1912 Added a new test, for our key listener API.
1914 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1916 * test/app.c, test/keysynth-demo.c:
1918 Replace use of snprintf with g_snprintf.
1919 (fix for bugzilla 78249)
1921 2002-03-27 Michael Meeks <michael@ximian.com>
1925 * util/Makefile.am (INCLUDES): fix.
1926 (DONT_DIST_SOURCE): don't distribute the
1929 * libspi/Makefile.am (dist-hook): ditto.
1931 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1933 * libspi/hypertext.c:
1934 Fix warnings when yelp is used with atk-bridge
1936 2002-03-21 Michael Meeks <michael@ximian.com>
1938 * libspi/application.c (spi_application_new):
1939 use spi_accessible_construct so we use the AtkObject
1942 2002-03-19 Michael Meeks <michael@ximian.com>
1944 * registryd/registry.c (desktop_remove_application),
1945 (desktop_add_application): clean coding style.
1947 * registryd/desktop.c (spi_desktop_remove_application),
1948 (spi_desktop_add_application): kill re-enterency hazards.
1949 (spi_desktop_dispose): remove bogus redundant cast
1950 obscuring bug; fix bug too.
1951 (spi_desktop_init): make the desktop object immortal.
1953 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1956 Added a #define-guarded tree-traversal step
1957 when enumerating the apps (diagnostic tool).
1959 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1961 * idl/Accessibility_Role.idl:
1962 Added ROLE_DRAWING_AREA which seemed to be missing from the
1965 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1967 * cspi/spi-roletypes.h cspi/spi_accessible.c
1968 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1971 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1972 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1973 AT when applications are added and removed from the desktop. This
1974 reverts the previous broken implementation using the backing
1975 AtkObject for the SpiDesktop.
1977 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1979 * registryd/desktop.c: emit the "children-changed::add" and
1980 "children-changed::remove" signals on the backing ATK object for
1981 the desktop so AT can tell when applications are started and shut
1984 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1986 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1988 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1990 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1992 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1994 * cspi/state-types.h: synched with IDL and ATK
1996 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1998 * libspi/accessible.c
1999 (impl_accessibility_accessible_get_child_at_index):
2000 Change return value for g_return_if_fail ()
2001 to CORBA_OBJECT_NIL instead of "0" (!)
2003 * registryd/Makefile.am:
2004 * registryd/Accessibility_Register.server.in:
2005 Changed name of executable, "registryd",
2006 to something more informative:
2009 2002-03-13 Michael Meeks <michael@ximian.com>
2011 * atk-bridge/bridge.c (atk_bridge_init): don't register
2012 if we're in a bonobo-component, rather than a bonobo app.
2014 2002-03-13 Michael Meeks <michael@ximian.com>
2016 * atk-bridge/bridge.c (gtk_module_init): split
2017 out body to (atk_bridge_init): here, since otherwise
2018 we get symbol conflicts and oddness when invoked
2019 from (gnome_accessibility_module_init): here (upd.)
2021 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2024 New file. Explicitly allow "build sheriff" putbacks provided
2025 they are tested on Solaris.
2027 * docs/reference/cspi/Makefile.am:
2028 Added '-' to the "cp" command for index.sgml.
2029 ("patch by thomasvs, soon coming to a GUADEC near you")
2032 Incremented version number (0.9.0) for new release.
2033 Changed macro that checks for popt, to better detect
2034 obsolete versions of popt.
2037 Added X_LIBS to AC_SUBST, for applications
2038 that call Xlib API directly.
2041 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2044 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2047 Fix regression caused by hard-coding major
2048 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2051 * test/test-simple.c (test_editable_text),
2052 (test_test): revert previous change (error was
2053 a regression in gail which is now fixed).
2055 2002-03-04 Michael Meeks <michael@ximian.com>
2057 * test/test-simple.c (test_editable_text),
2058 (test_text): pass G_MAXINT instead of '-1' for
2059 whole string - is this a good thing !?
2061 * cspi/spi_accessible.c
2062 (Accessible_getRelationSet): fix crasher bug
2063 overwriting the end of the array.
2065 * test/test-simple.c (validate_accessible): free,
2066 not g_free returned relation set.
2068 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2070 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2071 implemented stateset support
2073 * idl/Accessibility_State.idl: Made necessary changes to
2074 the IDL to support state sets.
2076 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2078 * registryd/deviceeventcontroller.c:
2079 Added implementation for generateMouseEvent.
2081 * cspi/spi_registry.c:
2082 Connected new implementation for generateMouseEvent
2085 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2088 Incremented revision (but no change in public API
2089 outside of 'utils', which are not installed public yet.)
2091 * libspi/component.c:
2092 Changed to use atk_component API for layers and
2093 mdi_zorder, instead of deprecated atk_object API.
2095 Magnification Utility Enhancements:
2098 Added implementation of createZoomRegion, clearAllZoomRegions,
2099 resizeZoomRegion. Added new commandline argument
2100 "--no-initial-region". Note that clearAllZoomRegions doesn't
2101 unmap the old '0' region as it should (yet), and the other
2102 methods only work when creating/resizing a single region,
2103 which is "region 0".
2104 (Code for multiple region support will be added later.)
2107 Now we raise the magnifier window each time it's refreshed;
2108 this will help keep it on top.
2110 * util/mag_client.h:
2111 Added simple wrappers for above, used by mag_control.
2112 For general use, it's recommended to use the bonobo magnifier
2113 control API directly instead of using these wrappers.
2116 Moved ZoomRegionData from magnifier.c to this file.
2118 * util/mag_control.c:
2119 Added some code to exercise new IDL implementations.
2121 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2123 * libspi/text.c: Provide implementation for getAttributes.
2125 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2128 Incremented revision.
2130 * test/test-simple.c:
2131 Replaced use of deprecated g_main_iteration with
2132 g_main_context_iteration.
2134 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2137 Incremented revision for desktop alpha 2.
2139 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2141 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2144 * test/simple-at.c: include netinet/in.h.
2146 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2148 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2149 use NULL, not CORBA_OBJECT_NIL.
2151 * libspi/accessible.c:
2152 (impl_accessibility_accessible_get_relation_set):
2153 allocate the sequence correctly.
2155 * libspi/remoteobject.h: kill spi_remote_object_new.
2157 * test/test-simple.c: (validate_accessible): add code
2158 to test relation sets, now all we need is to figure
2159 out how to excercise this code path :/
2161 2002-01-18 Michael Meeks <michael@ximian.com>
2163 * test/test-simple.c
2164 (key_listener_cb): consume the key.
2165 (test_keylisteners): update.
2166 (main): wait for any pending unrefs on events.
2168 * registryd/deviceeventcontroller.c
2169 (spi_controller_update_key_grabs): only re-issue the
2170 grab on a key release.
2171 (spi_device_event_controller_forward_key_event):
2172 refresh the keygrabs before we notify the listeners,
2173 to reduce the X ungrab / re-grab race.
2174 (spi_controller_register_with_devices): remove
2175 XSelectInput - we do that with the gdk_window_ call.
2176 (_spi_controller_device_error_handler): return a value.
2177 s/GDK_DISPLAY/spi_get_display/
2179 2002-01-17 Michael Meeks <michael@ximian.com>
2181 * registryd/deviceeventcontroller.c
2182 (_deregister_keygrab): don't blow out the later
2185 * test/test-simple.c (test_keylisteners): do a
2186 more intelligent validation.
2188 2002-01-14 Michael Meeks <michael@ximian.com>
2190 * atk-bridge/bridge.c
2191 (gnome_accessibility_module_init),
2192 (gnome_accessibility_module_shutdown): impl.
2193 (gtk_module_init): protect vs. double inits.
2194 (add_signal_listener): impl.
2195 (spi_atk_bridge_state_event_listener): kill
2196 (deregister_application): split out of
2197 (spi_atk_bridge_exit_func): here.
2199 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2202 Added caret tracking when using magnifier, and
2203 now use text bounds for focus tracking of text elements, rather than
2204 the component bounds - this is helpful for short text fields in long
2205 table cells, at high magnification.
2207 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2209 * registryd/deviceeventcontroller.c:
2210 Regression fix for keylistener de-registration; global keygrabs
2211 were not being released when deregisterKeystrokeListener was
2212 called in cspi, since
2213 Accessibility_DeviceEventController_deregisterKeystrokeListener
2214 was called with a zero-length keyset. That is because the cspi
2215 method, SPI_deregisterKeystrokeListener, does not take a keyset
2216 parameter but instead should remove all the key grabs held be a
2218 The code in impl_deregister_keystroke_listener was changed to copy
2219 the keylist from the listener instance previously registered with
2220 the DeviceEventController before releasing the grabs.
2222 * registryd/registry.c:
2223 * registryd/deviceeventcontroller.c:
2224 * libspi/spi-private.h:
2226 Changed spelling of "re-enterant" to "re-entrant" globally.
2228 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2230 * test/test-simple.c:
2231 Changed key listeners test - the test was slightly mis-using the
2232 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2233 It now uses '=' as the key event listened to and generated,
2234 relying on a keysym match rather than assuming that keycode 33
2235 is always equal to keysym '!'.
2237 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2240 Changed simple-at to use a specific keyset, rather than
2241 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2242 manager, desktop, etc.
2244 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2246 * registryd/deviceeventcontroller.c:
2247 Replaced standard X error handler with a special handler that
2248 is non-fatal for failed keygrabs. This works around
2249 problems with keygrab clashes sometimes observed on
2251 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2252 mouse handling code as yet).
2254 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2257 Incremented revision for desktop alpha release.
2260 Fixed a couple of the more glaring errors (still not
2263 2002-01-11 Michael Meeks <michael@ximian.com>
2265 * registryd/deviceeventcontroller.c
2266 (spi_device_event_controller_forward_key_event): kill
2267 XUngrabKey / XKeyGrab race.
2268 (spi_controller_grab_keyboard): rename to
2269 (spi_controller_update_key_grabs): this, and deal
2270 with incremental adding / removing grabs more
2272 (_register_keygrab): ensure we're not pending a remove.
2273 (spi_grab_mask_free): impl.
2274 (spi_controller_register_global_keygrabs): split out
2276 (handle_keygrab): impl.
2277 (_deregister_keygrab): impl.
2278 (spi_controller_deregister_global_keygrabs): impl.
2279 (spi_controller_update_key_grabs): re-issue the grab if
2280 we just recieved a notification.
2282 * test/test-simple.c (key_listener_cb): remove debug.
2284 * registryd/deviceeventcontroller.c
2285 (spi_controller_register_device_listener): after
2286 registering a global keygrab, actualy register it !
2287 don't wait for a timeout; doh !
2289 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2290 to make it more readable / manipulable.
2291 s/grabmask/grab_mask/ s/refcount/ref_count/
2292 s/keyval/key_val/ s/modmask/mod_mask
2294 2002-01-08 Michael Meeks <michael@ximian.com>
2296 * registryd/deviceeventcontroller.c
2297 (spi_controller_register_with_devices): use gdk calls to
2299 (global_filter_fn): implement the filter.
2300 (spi_device_event_controller_check_key_event): rename to
2301 (spi_device_event_controller_forward_key_event): this & upd.
2302 (spi_get_display): replace with GDK_DISPLAY.
2304 * registryd/deviceeventcontroller.c
2305 (spi_controller_deregister_device_listener): unroll into
2306 (impl_deregister_keystroke_listener): here to simplify.
2307 (spi_controller_register_global_keygrabs): split cut and
2308 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2309 (spi_controller_deregister_device_listener): remove.
2310 (impl_register_mouse_listener): remove, no mouse listener
2311 support in at-spi-1.0
2313 * registryd/registry.c
2314 (_device_event_controller_hook): kill.
2315 (spi_registry_init): upd.
2317 * registryd/deviceeventcontroller.c
2318 (spi_device_event_controller_class_init): upd.
2319 (spi_check_key_event): merge into.
2320 (spi_device_event_controller_check_key_event):
2321 here and kill strange static ev init, don't leak
2322 the x_event - nor dynamicaly allocate it.
2324 * registryd/registry-main.c (main): re-direct
2325 timeout to remove strange vtable mess.
2327 * registryd/deviceeventcontroller.c
2328 (remove_listener_cb): impl.
2329 (spi_controller_deregister_device_listener):
2330 fix re-enterancy hazard.
2332 2002-01-07 Michael Meeks <michael@ximian.com>
2334 * registryd/deviceeventcontroller.c
2335 (spi_device_event_controller_new): upd.
2336 (impl_notify_listeners_sync): upd. debug.
2337 (spi_notify_keylisteners): fix re-enterancy hazards,
2338 prettify, remove O(n*n) iteration.
2339 (spi_controller_grab_keyboard): fix iteration.
2340 (spi_check_key_event): re-format to suit coding style.
2341 Clean all the warnings - we're warning free.
2343 * registryd/deviceeventcontroller.h:
2344 * registryd/registry.h: make mutualy referential with
2345 typesafe forward references instead of (!) void pointer
2348 2002-01-11 Michael Meeks <michael@ximian.com>
2350 * cspi/spi_accessible.c (role_names): add a role name
2351 to sync this array with the enum; and make the regression
2354 2002-01-10 Michael Meeks <michael@ximian.com>
2356 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2357 allow expansion of enumeration & kill warning.
2359 * test/test-simple.c (key_listener_cb): impl.
2360 (test_keylisteners): impl.
2362 * cspi/spi-listener.h: make listener signatures const
2363 on the provided (const) events.
2365 * test/keysynth-demo.c: upd. to const events.
2367 * test/simple-at.c: ditto.
2369 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2372 Rev the version to 0.5 (the previous tarball was named 0.4,
2373 even though the micro number was 3), so we need to rev upwards
2374 again for beta2/"desktop-alpha"
2377 Checked in a demo script, which requires editing before use!
2378 Proceed with caution.
2381 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2383 * cspi/spi_accessible.c:
2384 Add a couple of missing enum initializations, and fix some enum
2387 * cspi/spi_registry.c:
2388 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2390 * docs/reference/cspi/at-spi-cspi-sections.txt:
2391 Remove/fix a couple of broken document references.
2394 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2395 as Alt-Control to listen for commands, since on some systems
2396 Control-Alt may already be grabbed.
2398 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2401 Update version number to 0.4 for Beta2.
2403 * libspi/accessible.c, libspi/accessible.h:
2404 Expose spi_accessible_construct, to enable libgail-gnome
2405 construction from spi_accessible subtype.
2407 * utils/magnifier.c:
2408 Workaround for bug in some non-gnome-compliant window managers
2409 which made magnifier resize improperly.
2411 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2413 * libspi/accessible.c: (spi_accessible_new) :
2414 Move the test for SPI_IS_REMOTE_OBJECT to
2415 spi_accessible_new_return, fixing a bug and compile time warning.
2417 2002-01-08 Michael Meeks <michael@ximian.com>
2419 * registryd/registry.c (parse_event_type): remove strndup.
2421 * libspi/Makefile.am (libspi_la_SOURCES): remove
2422 sources already included in the headers section.
2424 * libspi/util.c: add.
2426 * libspi/spi-private.h: add.
2428 * registryd/registry.c: update to moved list iterators.
2430 2002-01-05 Michael Meeks <michael@ximian.com>
2432 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2434 * test/test-simple.c (main): ditto.
2436 2002-01-04 Michael Meeks <michael@ximian.com>
2438 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2439 redundant construct.
2441 * registryd/registry.c
2442 (get_listener_list): impl.
2443 (impl_accessibility_registry_register_global_event_listener):
2444 re-impl. to simplify using ~, remove dodgy const cast off.
2445 (parse_event_type): constify.
2446 (impl_accessibility_registry_deregister_global_event_listener_all):
2447 re-write, more efficiency and simplicity, kill re-enterancy
2449 (compare_listener_corbaref, compare_corba_objects),
2450 (compare_listener_quarks): define out.
2451 (impl_accessibility_registry_deregister_global_event_listener):
2452 re-write for effiency, and nail re-enterancy hazard.
2453 (impl_accessibility_registry_get_desktop_list): impl.
2454 (re_enterant_list_delete_link): impl.
2455 (re_enterant_list_foreach): impl.
2456 (remove_listener_cb): impl.
2457 (_registry_notify_listeners): kill.
2458 (notify_listeners_cb): impl.
2460 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2461 (SPI_getDesktopList): impl.
2463 * test/test-simple.c (test_desktop): test the methods.
2465 2002-01-03 Michael Meeks <michael@ximian.com>
2467 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2468 keystrings since we free them
2469 (SPI_freeAccessibleKeySet): in here.
2471 * libspi/accessible.c (spi_accessible_new): kill warning,
2472 wonder what is going on with the constructor here.
2474 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2476 * libspi/accessible.c (spi_accessible_new ()) :
2477 Added check to see if AtkObject is an SpiRemoteObject before
2478 creating an SpiAccessible.
2480 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2482 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2483 Enable keygrabs using the Control modifier, now that they are
2484 working properly (they were previously disabled).
2487 Change the command keygrab for this demo to "Control+Alt", so as
2488 to conflict with fewer other key commands on the system; this
2489 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2491 Removed a pointlessly-chatty keylistener for unshifted keys
2492 (shifted keys are still reported).
2494 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2496 * libspi/remoteobject.h:
2497 * libspi/remoteobject.c:
2498 Added definitions for special AtkObject subtype, required for
2499 support of remote components (specifically, used by BonoboControl
2500 accessibility implementation).
2502 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2504 * cspi/spi.h: synched relation types with ATK
2506 * cspi/spi_accessible.c: Added implementations of
2507 AcccessibleRelation_* methods
2509 * idl/Accessibility_Relation.idl: added getRelationTypeName
2510 method. Synched known relation types with ATK. Allowed for
2511 relation type extension with the RELATION_EXTENDED type.
2513 * libspi/relation.c: Provided implementations for
2514 AccessibleRelation methods.
2516 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2518 API tweaks for today's API 'freeze'.
2521 Added placeholder functions to allow future compatible expansion
2522 of the IDL interfaces.
2524 * idl/Accessibility_Registry.idl:
2525 Changed generateKeyEvent to generateKeyboardEvent. Changed
2526 signature of this method to accept an optional keystring in
2527 parameter (for complex text input synthesis) and changed use of
2528 simple 'boolean' parameter in registerKeystrokeListener to a
2529 struct, EventListenerMode.
2531 * cspi/spi_accessible.c:
2533 * cspi/spi_streamablecontent.c:
2534 Added references to AccessibleStreamableContent interface, and
2535 definition and implementation of AccessibleStreamableContent
2538 * cspi/spi_registry.c:
2540 Changed generateKeyEvent API to generateKeyboardEvent,
2541 taking a new (optional) keystring parameter to support complex
2546 Renamed directory (to better reflect its actual purpose, bridging
2547 from at-spi to ATK). The .so module is also now named
2550 * idl/Accessibility_Hypertext.idl:
2551 * libspi/accessible.c:
2552 * libspi/hypertext.h:
2553 * libspi/hypertext.c:
2554 Changed Accessibility_Hypertext to *not* derive from
2557 * cspi/spi_registry.c:
2558 Added list of legal event type names for 'window' events, which
2559 completes the registry event API.
2561 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2563 * at-bridge/bridge.c: Added registration for separate
2564 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2565 signals. If either of the first two parameters to the generic
2566 bridge signal handler are ints, they are passed on as event
2567 details. This allows an AT to determine what text was inserted.
2569 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2571 * registryd/deviceeventcontroller.c:
2572 Fixed regressions in generateKeyEvent caused by the removal of
2573 gdk_init from registryd; we now use pure X calls to connect to the
2574 display, which makes sense because deviceeventcontroller already
2575 uses a fair bit of X API (should eventually be migrated to a
2576 'portability layer').
2578 * registryd/desktop.c:
2579 Fixed minor regression in spi_desktop_init, changed the way the
2580 desktop name is being set to work with new spi_base API
2581 (gobject-based, rather than AtkObject-based).
2583 * registryd/Makefile.am:
2584 Minor revision of makefile to use XTST_LIBS variable rather than
2585 hard-wiring the Xtst LD_ADD element.
2587 * test/keysynth-demo.c:
2588 Tweaked an output message; added initialization of the
2589 'keystrings' member of the "switch listener" key_set.
2591 * libspi/relation.c:
2592 Squashed compile-time warning.
2594 * libspi/accessible.c:
2595 Cosmetic and formatting fixes, renamed a static method.
2597 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2599 * libspi/accessible.c
2601 * libspi/application.c
2604 * libspi/component.c
2605 * libspi/editabletext.c
2606 * libspi/hyperlink.c
2607 * libspi/hypertext.c
2609 * libspi/selection.c
2613 * registryd/desktop.c:
2614 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2616 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2618 * idl/Accessibility_Registry.idl:
2619 Added boolean member 'is_text' to DeviceEvent. This is for the
2620 use of key events, and helps prevent ambiguity between composed
2621 key strings and keysym names, since both may potentially be
2622 returned in the 'event_string' member.
2624 * at-bridge/bridge.c:
2625 * registryd/deviceeventcontroller.c:
2626 Use the 'is_text' member when notifying device event listeners.
2627 Knon issue: composed characters are not dealt with correctly by
2628 the global key listener implementation yet.
2630 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2632 * at-bridge/bridge.c:
2633 Namespaced local static methods to spi_atk_bridge_* where
2634 previously named bridge_*, and spi_* elsewhere.
2636 * at-bridge/bridge.c:
2637 * cspi/bonobo/cspi-bonobo-listener.c:
2638 Added demarshalling/conversion for string member of
2639 Accessibility_DeviceEvent to AccessibleKeystroke.
2641 * registryd/deviceeventcontroller.c:
2642 Added code to fill the Accessibility_DeviceEvent key string value
2643 member for global key events (i.e. from XGrabKey), to match
2644 behavior of Accessibility_DeviceEvent from the toolkit key events
2645 from the bridge. Fixed timestamp in global key event notifications.
2648 Added printout of key event's string value to
2649 report_ordinary_key_event, for demo/debugging purposes.
2651 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2653 * idl/Accessibility_Registry.idl:
2654 Removed Accessibility_KeyStroke structure in favor of generic
2655 Accessibility_DeviceEvent structure.
2656 Changed Accessibility_ControllerEventMask from a struct to an
2659 * at-bridge/bridge.c:
2660 Changed APIs to use DeviceEvent structure as above, and removed
2661 bogus casting between these event structures.
2663 * cspi/spi-listener.h:
2664 Added keystring member of AccessibleKeystroke structure, to enable
2665 matching on event "names" rather than only hardware codes and
2669 Added keystrings member of AccessibleKeySet struct, to allow
2670 matching on event names (as above).
2671 Added declarations for SPI_createAccessibleKeySet and
2672 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2673 event modmasks directly as unsigned ints rather than structs with
2674 refcounts, in the DeviceEventController methods.
2676 * cspi/spi_registry.c:
2677 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2679 * cspi/spi-roletypes.h:
2680 Added documentation of newly added SPI Roles.
2682 * cspi/bonobo/cspi-bonobo-listener.c:
2683 Changes in support of API changes above.
2685 * libspi/accessible.c:
2686 Converted APIs to use DeviceEvent structure (see IDL changes
2689 * registryd/deviceeventcontroller.c:
2690 Added DEControllerGrabMask structure to track keygrabs not only by
2691 modmask but by keyset as well; this allows us to do "global"
2692 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2693 grabbing on AnyKey and then filtering after-the-fact.
2694 Bugfixes for event filtration mean that we don't get false matches
2695 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2697 * registryd/deviceeventcontroller.c:
2698 Namespaced a number of static methods to use spi_ prefix. Major
2699 revision to internals of global (i.e. X) key grabs.
2701 * registryd/deviceeventcontroller.h:
2702 Removed keymask_list and added keygrabs_list to
2703 SpiDeviceEventController struct.
2706 Added use of SPI_createAccessibleKeySet API when creating a
2707 listener for only one key. Attach a listener to "shift spacebar
2708 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2709 X key event names to SPI key event names, so that listeners are
2710 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2712 * test/keysynth-demo.c:
2713 Changed (incorrect) use of X key event names (KeyPressed,
2714 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2717 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2719 * libspi/accessible.c:
2720 Convert all AtkRole enumerations to Accessibility_Role enums when
2721 getting a role from an AtkObject.
2723 * cspi/spi_accessible.c:
2724 Complete the conversion of Accessibility_Role enums at runtime to
2725 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2726 role enums correctly match those given in spi-roletypes.h.
2727 Re-synchronize the local names list for AccessibleRole_getName ().
2728 AccessibleRole_getName is now deprecated, since it duplicates the
2729 more reliable Accessible_getRoleName.
2730 Added some role types from Accessibility_Role.idl.
2732 * idl/Accessibility_Role.idl:
2733 Added some role types used by AtkRole.
2735 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2738 * cspi/spi_registry.c:
2740 * cspi/cspi-bonobo-listener.c:
2741 Namespaced all methods that did not begin with an "SPI_" or
2742 "Accessible" prefix to "SPI_".
2745 Homogenized internal function namespace to "cspi_" for statics.
2748 Patched tests to use the new CSPI API.
2750 * docs/reference/cspi/at-spi-cspi-sections.txt:
2751 Updated docs to reflect namespace changes, and added a number of
2752 methods to the documentation.
2754 * registryd/registry.c:
2755 Changed use of strings and string hashes in listener event
2756 matching and parse_event_string to use GQuark, which is guaranteed
2759 * registryd/registry.h:
2760 Squashed annoying warning.
2762 * idl/Accessibility_Role.idl:
2763 Extended range of available Accessibility_Role values.
2765 * cspi/spi_accessible.c:
2766 Re-ordered role names.
2768 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2770 * idl/Accessibility_Value.idl:
2771 Revert use of union back to CORBA_double, since the double type is
2772 more efficient and can contain the other types without loss of
2775 * idl/Accessibility_Accessible.idl:
2776 Added method Accessibility:Accessible:getRoleName, to complement
2777 Accessibility:Accessible:getRole.
2779 * cspi/spi_accessible.c:
2781 Added C binding for above, Accessible_getRoleName (), and changed
2782 signature of Accessible_getRole () to return an AccessibleRole.
2784 * cspi/spi-roletypes.h:
2785 Changed AccessibleRole_getName to return a char * instead of a
2786 const char *. This method is now at least temporarily deprecated
2787 in favor of asking Accessibles for their RoleNames directly.
2790 Revert to match Accessibility_Value.idl;
2794 Change signature of AccessibleValue methods to use double rather
2798 * cspi/spi_accessible.c:
2799 Changed Accessible_getRole to return an AccessibleRole enum rather
2800 than a UTF-8 string. The UTF-8 string can still be obtained via
2801 AccessibleRole_getName ().
2803 * test/test-simple.c:
2804 Add test_action. Small fixup to match API change to Accessible_getRole.
2807 Bugfix for get_action_from_servant ().
2809 2001-12-11 Michael Meeks <michael@ximian.com>
2811 * libspi/libspi.h: remove registry.h and
2812 desktop.h, deviceeventcontroller.h
2814 * libspi/Makefile.am: remove registry.[ch],
2815 desktop.[ch], deviceeventcontroller.[ch]
2817 * registryd/Makefile.am: add registry.[ch],
2818 desktop.[ch], rename registryd.c to registry-main.c.
2819 add deviceeventcontroller.[ch]
2821 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2824 Replace setenv() call with putenv ().
2826 * libspi/component.c:
2827 Bugfix in AccessibleComponent_getExtents (),
2830 2001-12-11 Michael Meeks <michael@ximian.com>
2832 * libspi/image.c (impl_getImageExtents): impl.
2833 (spi_image_class_init): upd.
2836 (AccessibleImage_getImageDescription): fix daft bug
2839 * test/test-simple.c (global_listener_cb): update
2840 to only quit if not --poke
2841 (main): catch --poke.
2842 (validate_accessible): upd. dumping, call test_image
2845 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2848 * idl/Accessibility.idl: update all IDL includes.
2850 * idl/*.idl - rename to namespace - this sucks, blame
2851 mjs' bad decision for oafd.
2853 * test/test-simple.c (create_test_window): add more tests.
2854 (create_tree): split this out.
2855 (validate_accessible): bugfix.
2857 2001-12-11 Michael Meeks <michael@ximian.com>
2859 * cspi/bonobo/cspi-bonobo-listener.c:
2860 (cspi_kestroke_listener_unref),
2861 (cspi_event_listener_unref): impl. undoing previous
2862 homenous environment - for Bill.
2864 * cspi/spi_table.c (long_seq_to_array): use
2867 * cspi/spi_main.c: split out all bonoboish bits into
2870 * cspi/spi-impl.h: upd. typedefs.
2872 * cspi/spi_registry.c: update to lowlevel API,
2873 return booleans to indicate success in some places.
2875 * cspi/spi_event.c: update to lowlevel API.
2877 * cspi/bonobo/Makefile.am: add.
2879 * cspi/bonobo/cspi-lowlevel.h: add
2881 * cspi/bonobo/cspi-bonobo.c: add
2883 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2885 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2886 (SUBDIRS): add bonobo, link in the libs.
2888 * cspi/spi-util.c: kill this file.
2890 * TODO: merge in my bits.
2892 2001-12-11 Michael Meeks <michael@ximian.com>
2894 * test/test-simple.c (test_value, test_table, main):
2895 remove unused variables causing warnings.
2897 * configure.in: cleanup checks - require gail.
2899 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2902 Changed Value interface to use SValue (scalars) rather than
2903 assuming all values are floats. This allows floats, doubles,
2904 longs, shorts, and unsigned values to be manipulated.
2905 Introduced Accessibility:SValue union.
2908 Updated to use new API above, and to work correctly with GValues
2909 of different types in AtkValue.
2912 Updated to use new API above. cspi's API is as yet unchanged.
2915 Updated the Value revision action item.
2917 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2919 * test/test-simple.c:
2920 Added test_table (GtkTreeView widget in test window to follow).
2921 Un-commented test_value, added GtkRange widget.
2922 Added GtkTreeView widget with GtkListStore. It passes regression
2923 test but leaks one SPI object for some reason.
2926 Fixed bug in impl__set_currentValue.
2928 2001-12-10 Michael Meeks <michael@ximian.com>
2930 * cspi/spi_text.c: audit for exception handling,
2931 tolerating NULL object references safely etc.
2933 * cspi/spi_value.c: ditto.
2935 * cspi/spi_table.c (AccessibleTable_getSummary),
2936 (AccessibleTable_getAccessibleAt),
2937 (AccessibleTable_getRowHeader),
2938 (AccessibleTable_getColumnHeader),
2939 (AccessibleTable_getCaption): fix bugs hidden by
2941 (long_seq_to_array): impl.
2942 (AccessibleTable_getSelectedRows),
2943 (AccessibleTable_getSelectedColumns): use it.
2945 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2948 Added a TODO list (rough and short for now).
2950 * cspi/spi_hyperlink.c:
2951 * cspi/spi_hypertext.c:
2952 Fixed macro name typos, and remove use of obsolete macro in
2953 AccessibleHyperlink_getLink.
2955 * cspi/spi_action.c:
2956 * cspi/spi_accessible.c:
2957 * cspi/spi_application.c:
2958 * cspi/spi_component.c:
2959 * cspi/spi_selection.c:
2962 Documentation fixes (removed return values from ref/unref methods).
2964 2001-12-10 Michael Meeks <michael@ximian.com>
2966 * cspi/spi_action.c: audit for exception handling,
2967 tolerating NULL object references safely etc.
2969 * cspi/spi_accessible.c: ditto.
2971 * cspi/spi_component.c: ditto.
2973 * cspi/spi_editabletext.c: ditto.
2975 * cspi/spi_hyperlink.c: ditto.
2977 * cspi/spi_hypertext.c: ditto.
2979 * cspi/spi_image.c: ditto.
2981 * cspi/spi_selection.c: ditto.
2983 2001-12-10 Michael Meeks <michael@ximian.com>
2985 * configure.in: use cspi/libspi.pc.in instead.
2987 * Makefile.am (pkgconfig_DATA): upd. to match.
2989 * test/simple-at.c (report_focus_event): kill hacks around
2990 bad return values, use putenv not setenv
2992 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2993 fire ChildGone - I killed it.
2995 * libspi/component.c
2996 (impl_accessibility_component_get_extents): remove
2999 * idl/Accessible.idl: kill ChildGone exception.
3001 * cspi/*.[ch]: kill int return from ref / unref.
3003 * cspi/spi_main.c (cspi_object_add_check): fold into
3004 (cspi_object_add): here.
3006 * cspi/spi_component.c (AccessibleComponent_getExtents):
3007 handle exceptions elegantly.
3009 * cspi/spi-private.h (cspi_check_ev_return),
3010 (cspi_return_if_fail): impl.
3012 * cspi/spi_accessible.c: use extensively.
3013 (AccessibleStateSet_equals): add direct compare check.
3015 * cspi/spi_selection.c: tolerate NULL objs, and check
3016 exceptions before return.
3018 * cspi/spi-util.c (cspi_warn_ev): rename to
3019 (cspi_check_ev): this & don't pass ev in; no point.
3021 2001-12-10 Michael Meeks <michael@ximian.com>
3023 * test/test-simple.c: use putenv not setenv
3024 (get_environment_vars): more chatty if you're not using
3027 * test/simple-at.c: do the setenv so more people see the
3030 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3032 * libspi/registry.c:
3033 Changed check of CORBA_environment on notification to be a warning
3034 instead of an error for the moment, since we can recover from this
3035 error when caused by a queued notification from a dead app.
3038 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3039 used by all current implementors of AtkValue), and coerce to
3040 CORBA_float. (Proper general case fix may require change to Value.idl).
3042 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3046 * cspi/spi_accessible.c:
3047 Documentation fixes: added user_data params to documentation for
3048 listeners and callbacks.
3050 * cspi/spi_accessible.c:
3051 Changed AccessibleStateSet_compare to return a
3052 StateSet rather than return the difference set into a third parameter.
3055 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3058 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3059 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3063 Remove subdirectory po from SUBDIRS for now.
3065 * at-bridge/bridge.c:
3066 Beefed up a couple of debug printouts.
3067 One-line fix for signal notification name formatting.
3069 * libspi/accessible.c:
3070 Added assertion to spi_accessible_new ().
3072 * libspi/application.c:
3073 Put #ifdef qualifiers around a printf.
3076 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3078 * registryd/Makefile.am:
3080 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3081 INTLTOOL_SERVER_RULE macro.
3084 Added an event listener for several ATK signals, for
3085 testing and debugging. Removed a few g_warnings.
3086 Added test output if focussed item implements the Value interface.
3088 * test/test-simple.c:
3089 Added test_value () function (known not to pass at the moment, so
3090 not actually called yet.
3092 2001-12-08 Michael Meeks <michael@ximian.com>
3094 * at-bridge/bridge.c (bridge_focus_tracker),
3095 (emit_eventv): fix the same ref. leak.
3096 (register_atk_event_listeners): don't leak.
3098 * cspi/spi-listener-impl.c (cspi_event): more
3099 protection from client code.
3101 * test/test-simple.c (test_desktop): unref the app.
3103 * test/Makefile.am: upd. TESTS.
3105 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3107 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3109 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3111 * cspi/spi_registry.c: constify in strings.
3112 (deregisterGlobalEventListenerAll): don't release the ref.
3114 * cspi/spi.h: start removing redundant / conflicting
3115 gtkdoc comments, making the API readable at a glance :-)
3117 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3119 * test/keysynth-demo.c (keysynth_exit, main): upd.
3121 * test/simple-at.c (main, simple_at_exit): upd.
3123 * test/test-simple.c (unutterable_horror): kill.
3124 (utterable_normal_derefs): kill.
3125 (main): upd & do a setenv before gtk_init, so that we
3126 can use memprof - and to save the pain of remembering
3127 this, if we're running under memprof - don't exit.
3129 * cspi/spi_main.c (SPI_exit): return exit status
3131 (SPI_event_quit): impl.
3132 (SPI_event_main): simplify.
3133 (cspi_is_gnome_app): kill.
3134 (SPI_init): kill isGNOMEapp arg.
3136 * at-bridge/bridge.c (register_atk_event_listeners):
3137 re-instate the unref.
3138 (bridge_exit_func): don't re-activate the registry,
3139 protect vs. theoretical re-entry, use the
3140 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3141 assert a clean shutdown - for regression tests.
3143 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3145 * configure.in: Comment out dummy i18n support for now,
3146 otherwise it fails to build.
3147 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3148 EXTRA_DIST. They are missing in tarball.
3150 2001-12-07 Michael Meeks <michael@ximian.com>
3152 * util/magnifier.c: kill bonobo activation reg. race.
3154 * libspi/component.c
3155 (impl_accessibility_component_get_extents): make it match
3158 * libspi/registry.c (_registry_notify_listeners):
3159 re-remove X headers & reconcile conflicts.
3160 (spi_listener_struct_free): bad conflict resolve.
3161 (impl_accessibility_registry_register_application):
3162 more bad merging fixed.
3163 (impl_accessibility_registry_deregister_application): ditto.
3164 (spi_registry_new): ditto.
3165 (spi_registry_init): don't have an applications field.
3167 [ merge fixups2 branch to here ]
3168 2001-12-07 Michael Meeks <michael@ximian.com>
3170 * test/simple-at.c (report_focus_event),
3171 (report_focussed_accessible): remove g_warning debug.
3173 2001-12-07 Michael Meeks <michael@ximian.com>
3175 * test/test-simple.c (validate_tree): comment out some checks.
3176 (test_desktop): app now not registered idly - horay.
3178 2001-12-07 Michael Meeks <michael@ximian.com>
3180 * cspi/spi_registry.c
3181 (registerAccessibleKeystrokeListener): clean, stop it leaking
3182 great swathes of memory, and device event controller references.
3183 ensure we always pass valid sequences.
3184 (deregisterAccessibleKeystrokeListener): ditto.
3185 (generateKeyEvent): upd.
3187 * at-bridge/bridge.c (bridge_key_listener): handle
3188 registry dead exception gracefully.
3189 (bridge_focus_tracker, emit_eventv): free ev.
3191 * test/simple-at.c (report_focus_event): fix polarity.
3193 * libspi/application.c (notify_listeners): kill the ev
3194 argument, and make sure we init the ev we use.
3195 (spi_application_object_event_listener): split out a chunk
3196 (get_atk_object_ref): here & fixup.
3197 (reverse_lookup_name_for_toolkit_event): make const.
3198 (spi_application_toolkit_event_listener): fixup, kill leaks
3201 * at-bridge/bridge.c (register_atk_event_listeners):
3202 don't unref the noop object - causes grief.
3204 * libspi/registry.c: remove the X headers.
3205 turn off the debug churn.
3207 * libspi/accessible.c (spi_accessible_new_return): only
3208 release the ref if we are supposed to [doh]
3210 * test/simple-at.c (report_button_press, report_focus_event):
3211 guard vs. unexpected exit.
3213 * at-bridge/bridge.c (gtk_module_init): prune printf.
3214 (bridge_exit_func): fix app unref.
3216 * libspi/Makefile.am: don't install registry or desktop.h
3218 * libspi/*.h: update includes.
3220 * libspi/application.h: don't include ourself, or
3221 other redundant headers.
3223 2001-12-06 Michael Meeks <michael@ximian.com>
3225 * libspi/accessible.c
3226 (get_accessible_from_servant): impl.
3227 Upd. all CORBA impl.s to use it killing cut and paste.
3229 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3231 (SPI_init): register atexit cleanup handler here.
3233 2001-12-06 Michael Meeks <michael@ximian.com>
3235 * at-bridge/bridge.c (gtk_module_init): g_error on
3236 activation exception
3238 2001-12-06 Michael Meeks <michael@ximian.com>
3240 * at-bridge/bridge.c (gtk_module_init): some sort of
3241 confusing merge clash - reverted.
3242 (bridge_idle_init): ditto.
3244 * test/test-simple.c (main, utterable_normal_derefs):
3245 merge from Bill - somehow not committed.
3247 2001-12-06 Michael Meeks <michael@ximian.com>
3249 * libspi/value.c (spi_value_class_init): upd.
3250 (spi_value_finalize): kill.
3252 * libspi/table.c (spi_table_finalize): kill.
3253 (spi_table_interface_new): upd.
3254 (spi_table_class_init): upd.
3255 (get_table_from_servant): impl.
3256 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3258 * libspi/selection.c (spi_selection_finalize): kill.
3259 (spi_selection_interface_new): upd.
3260 (spi_selection_class_init): upd.
3261 (get_selection_from_servant): impl.
3262 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3264 * libspi/relation.c (spi_relation_finalize): kill.
3265 (spi_relation_class_init, spi_relation_new): upd
3267 * libspi/image.c (spi_image_finalize): kill.
3268 (spi_image_class_init): upd.
3269 (spi_image_interface_new): upd.
3270 (get_image_from_servant): impl.
3271 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3273 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3274 (spi_hyperlink_finalize): kill.
3275 (spi_hyperlink_new): upd.
3276 (get_hyperlink_from_servant): impl.
3277 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3279 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3280 (spi_hypertext_finalize): kill.
3281 (spi_hypertext_class_init): upd.
3282 (get_hypertext_from_servant): impl.
3283 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3285 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3286 (spi_editable_text_interface_new): upd.
3287 (get_editable_text_from_servant): impl.
3288 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3290 * libspi/text.c (get_text_from_servant): impl.
3291 All impls - update to use it killing more cut and paste,
3292 also fix bad string returns on duff args ( a somewhat
3293 impossible case to handle - but hey ).
3294 (spi_text_construct): impl.
3295 (spi_text_interface_new): upd.
3296 (spi_text_object_finalize): kill.
3298 * libspi/component.c
3299 (accessibility_component_object_finalize): kill.
3300 (spi_component_class_init): upd.
3301 (get_component_from_servant): impl. helper to kill cut & paste.
3302 (impl_accessibility_component_contains):
3303 (impl_accessibility_component_get_accessible_at_point):
3304 (impl_accessibility_component_get_position):
3305 (impl_accessibility_component_get_extents):
3306 (impl_accessibility_component_get_mdi_z_order):
3307 (impl_accessibility_component_get_layer):
3308 (spi_component_interface_new): upd.
3310 * libspi/action.c (spi_action_finalize): kill.
3311 (spi_action_class_init): upd. inherit from SpiObject.
3312 (spi_action_interface_new): upd.
3313 (get_action_from_servant): impl. helper to reduce cut & paste.
3314 (impl_getKeyBinding, impl_getName, impl_doAction),
3315 (impl_getDescription): Use it everywhere.
3317 * cspi/spi_main.c (get_live_refs): a pointer hash.
3318 (spi_object_hash, spi_object_equal): comment out.
3319 There are issues with CORBA object hashing that need
3322 * libspi/application.c (spi_application_init),
3323 (spi_application_new): upd.
3325 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3326 (spi_accessible_class_init): upd.
3327 s/accessible/object/ in epv methods.
3329 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3331 * at-bridge/bridge.c:
3332 Reorder the bridge initialization into the bridge gtk_module_init,
3333 an immediate call to bridge_register_app, and an idle_add for
3334 register_atk_event_listeners (the only code that *must* wait until
3335 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3336 the activation, creates the application's Accessible object, and
3337 queues the bridge_idle_init function. Restored call to
3338 Accessibility_Registry_deregisterApplication().
3339 Prior to making this call we obtain a new reference to the
3340 registry, which is a temporary hack that helps us handle apps that
3341 shut down the bonobo mainloop before we get there.
3343 * libspi/registry.c:
3344 Fix string leakage in debug block, and don't segv if a an app
3345 dies before its event notifications have been propagated.
3348 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3349 as stopgap measure until we get proper exception handling when
3350 objects die during or before interrogation.
3354 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3355 Also changed default value of is_gnome_app to TRUE.
3358 * test/keysynth-demo.c:
3359 Changed use of SPI_init and SPI_event_main to reflect API change above.
3362 Made report_focus_event check the warning value from getName
3363 before reporting on focussed accessible; simplifies handling of
3364 notifications from dead objects.
3366 * test/test-simple.c: (Changes not in this patch since source is
3369 2001-12-05 Michael Meeks <michael@ximian.com>
3371 * registryd/registryd.c (main): protect against
3372 bonobo-activation startup race condition.
3374 * cspi/spi_main.c (cspi_object_add_check): cope
3375 with the exception elegantly.
3377 * idl/Accessible.idl: decl. ChildGone
3379 * libspi/desktop.c (spi_desktop_dispose): impl.
3380 (spi_desktop_class_init): upd.
3381 (spi_desktop_add_application),
3382 (spi_desktop_remove_application),
3383 (abnormal_application_termination): impl.
3384 (impl_desktop_get_child_at_index): re-impl.
3387 (impl_accessibility_registry_deregister_application),
3388 (impl_accessibility_registry_register_application):
3389 kill excessive debug clutter.
3391 * test/test-simple.c (test_misc): test some NULL
3392 tolerance. (main): upd.
3394 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3395 implements no interfaces - so let's not crash.
3397 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3399 * libspi/accessible.c (spi_accessible_new_return): impl.
3400 helper to calm the cut and paste, to cope with
3401 NULL AtkObjects effectively and efficiently, and to kill
3402 the referencing bugs.
3404 * libspi/table.c (impl_getAccessibleAt),
3405 (impl_getRowHeader, impl_getColumnHeader): upd.
3407 * libspi/hyperlink.c (impl_getObject): upd.
3409 * libspi/accessible.c
3410 (impl_accessibility_accessible_get_child_at_index): upd.
3412 * libspi/component.c
3413 (impl_accessibility_component_get_accessible_at_point): upd.
3415 * test/test-simple.c (test_editable_text, test_text): impl.
3418 * cspi/spi_editabletext.c
3419 (AccessibleEditableText_insertText): constify.
3421 * test/test-simple.c (focus_me): make more robust.
3423 * libspi/accessible.c: remove some printfs in methods that
3424 we test and work fine, so we can get a clean tree dump.
3426 * test/test-simple.c (validate_accessible),
3427 (validate_tree): make tree dumping pretty too.
3429 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3430 it builds without debug on.
3432 * test/test-simple.c (validate_accessible): fix the most
3435 * cspi/spi_main.c (spi_object_release): leave the nicely
3436 blanked memory around if in debug mode.
3438 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3440 [committed to fixups2]
3441 2001-12-05 Michael Meeks <michael@ximian.com>
3443 * libspi/editabletext.c
3444 (spi_editable_text_class_init): g_type_class_peek_parent,
3445 not interface peek - so we finalize cleanly.
3447 * libspi/accessible.c (spi_accessible_new): kill debug.
3449 * test/test-simple.c (validate_accessible): fix ref.
3450 leak, print strings before freeing them; sigh, comment a
3451 chunk out due to strangeness.
3452 (validate_tree): unref the child after use.
3454 * cspi/spi_component.c (AccessibleComponent_getLayer):
3455 add missing break statement, switch on zlayer not the
3456 uninitialized retval.
3458 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3459 before (possibly re-entering) remote unref.
3461 * test/simple-at.c (main): unref the desktop.
3463 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3466 * cspi/spi_main.c (cspi_accessible_is_a): here to
3467 isolate bonobo API usage more.
3469 * libspi/registry.c (impl_accessibility_registry_register_application):
3470 prune bogus comment.
3472 2001-12-04 Michael Meeks <michael@ximian.com>
3474 * test/test-simple.c (validate_tree): upd.
3475 IndexInParent check to make it more lucid.
3476 (validate_accessible): dump the tree.
3478 * libspi/accessible.c (de_register_public_ref),
3479 (get_public_refs): impl.
3480 (spi_accessible_new): make more efficient & intuitive.
3481 Now IndexInParent check works.
3483 2001-12-04 Michael Meeks <michael@ximian.com>
3485 * cspi/spi-util.h: remove.
3487 * cspi/spi.h: move SPI_freeString here
3489 * libspi/component.c (impl_accessibility_component_get_layer):
3491 (impl_accessibility_component_get_mdi_z_order): ditto,
3492 return -1 on error - is this ok ?
3494 * test/test-simple.c (test_application): impl.
3496 * cspi/spi_accessible.c (Accessible_getApplication),
3497 (Accessible_isApplication): impl.
3499 * libspi/registry.c (spi_listener_struct_free): release
3500 the CORBA reference too.
3502 * libspi/accessible.c
3503 (impl_accessibility_accessible_get_parent): fix ref leak.
3505 * libspi/registry.c (spi_registry_new): make the registry
3506 immortal - we don't want it to go away ever.
3508 * libspi/application.c
3509 (spi_accessible_application_finalize): impl. cleanup.
3511 * cspi/spi_registry.c
3512 (deregisterGlobalEventListenerAll),
3513 (deregisterGlobalEventListener),
3514 (deregisterAccessibleKeystrokeListener): fix ref leak.
3516 * cspi/spi_main.c (SPI_init): remove redundant ref.
3518 * test/test-simple.c (unutterable_horror): impl. to force a
3523 (impl_accessibility_registry_deregister_application): release
3524 the application when we de-register it.
3526 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3527 until we have the infastructure to get it right.
3529 2001-12-03 Michael Meeks <michael@ximian.com>
3531 * libspi/Makefile.am: only build eventlistener.[ch]
3533 * libspi/accessible.c
3534 (impl_accessibility_accessible_get_child_at_index): don't leak.
3536 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3537 before we hit the idle handler.
3539 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3540 debugging than exit.
3542 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3544 * libspi/listener.c (impl_notify_event): check source
3545 not NIL before unref.
3547 * libspi/registry.c (impl_registry_notify_event): ditto.
3549 * libspi/eventlistener.c
3550 (impl_accessible_event_notify_event): unref the source.
3552 * libspi/accessibleeventlistener.c
3553 (impl_accessible_event_notify_event): unref the source.
3555 * idl/Event.idl: remove 'hash_id' attribute - of no
3558 * libspi/application.c (notify_listeners): upd list
3560 (spi_application_object_event_listener),
3561 (spi_application_toolkit_event_listener): upd to do correct
3565 (_registry_notify_listeners): update.
3566 (parse_event_type): this method also leaks like a sieve.
3567 (impl_accessibility_registry_deregister_global_event_listener):
3568 fix ETYPE_WINDOW case.
3570 * libspi/application.c
3571 (impl_accessibility_application_register_object_event_listener):
3574 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3576 * libspi/hypertext.c (impl_getLink): ditto.
3578 * cspi/spi_main.c (cspi_object_add): remove
3579 bogus CORBA_Object_duplicate.
3581 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3584 * cspi/spi_accessible.c
3585 (Accessible_getRelationSet): fix leak / referencing issue.
3587 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3588 (cspi_object_add, cspi_object_unref): upd.
3589 (spi_object_release, get_live_refs): impl.
3590 (cspi_cleanup): simplify.
3592 * *.[ch]: s/boolean/SpiBoolean/
3594 * cspi/spi_accessible.c (role_names): actualy order so it
3595 corresponds with the enum !
3597 * test/test-simple.c (test_roles): check some role strings
3598 vs. enums to detect offset errors.
3600 2001-12-01 Michael Meeks <michael@ximian.com>
3602 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3604 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3606 (Accessible_getChildAtIndex): use cspi_add_check so we
3607 check the ev before using a (possibly) invalid value.
3609 * libspi/accessible.c
3610 (impl_accessibility_accessible_get_parent): don't segv
3613 * at-bridge/bridge.c (gtk_module_init): upd.
3614 (bridge_property_event_listener): don't leak strings
3616 (bridge_state_event_listener),
3617 (bridge_property_event_listener): don't use a static
3618 buffer in case of recursive event emission &
3619 re-enterancy - split out the swathe of cut and paste
3621 (emit_eventv): and fix 2 ref leaks here & comply to the
3623 (bridge_register_app): rename to
3624 (bridge_idle_init): this and kill arg parsing, split
3625 various inits & bonobo-activation registration to module
3626 init time, kill referencing error.
3627 (bridge_exit_func): fix the same leak.
3628 (bridge_focus_tracker): don't leak event structures
3630 (bridge_signal_listener): more leakage and cut & paste
3632 (bridge_key_listener): return the result - FIXME is
3633 this polarity correct ?
3634 (accessibility_keystroke_from_atk_key_event): rename
3635 (accessibility_init_keystroke_from_atk_key_event): and stop
3637 (gtk_module_init): return a value - not that it is checked by
3639 (bridge_key_listener): register my horror at casting between
3640 IDL defined structs.
3641 (bridge_get_registry): kill - not used.
3643 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3645 * test/test-simple.c (test_roles): impl.
3646 (test_desktop, validate_accessible, validate_tree): impl.
3648 * cspi/spi_accessible.c (role_names): fixup bogus
3649 MAX_ROLES setup, make constants const for efficient linkage
3650 (AccessibleRole_getName): conform to coding style, make
3653 2001-11-30 Michael Meeks <michael@ximian.com>
3655 * cspi/spi.h: add missing prototype.
3657 * libspi/registry.c (spi_listener_struct_new): fix sig.
3659 * test/Makefile.am: add test-simple
3661 * test/test-simple.c: add
3663 * test/test.sh: add.
3665 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3667 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3668 do it straight - since otherwise we often get an activation race.
3670 [ work before Bill duplicated a chunk of it ... ]
3671 2001-11-30 Michael Meeks <michael@ximian.com>
3673 * libspi/keystrokelistener.c
3674 (spi_keystroke_listener_class_init): fixup arg
3677 * libspi/eventlistener.c
3678 (spi_event_listener_class_init): ditto.
3680 * tests/test.sh: add.
3682 * cspi/spi-listener-impl.h: update macros.
3684 * cspi/spi-listener-impl.c
3685 (cspi_event_listener_remove_callback): add
3686 correct pre-conditions.
3688 * cspi/spi_main.c (SPI_exit): guard vs. double
3689 exits, exit the mainloop nicely.
3690 (SPI_event_main): make more sense.
3691 (SPI_init): move the atexit evilness here so we
3692 always do it (yuck).
3693 (SPI_event_main): upd.
3695 * test/simple-at.c: update for listener changes.
3697 * registryd/registryd.c (main): prune kruft.
3699 * libspi/libspi.h: upd.
3701 * libspi/eventlistener.[ch]: rename broken macros.
3703 * libspi/accessibleeventlistener.[ch]: remove.
3705 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3707 * test/test-simple.c: Add - automated tests.
3709 * cspi/spi-listener-impl.c (cspi_event),
3710 (cspi_key_event): add user_data to invoke.
3711 (cspi_keystroke_listener_finalize): impl.
3712 (cspi_keystroke_listener_class_init): upd.
3715 (createAccessibleEventListener),
3716 (AccessibleEventListener_addCallback),
3717 (createAccessibleKeystrokeListener),
3718 (AccessibleKeystrokeListener_addCallback): upd.
3720 * libspi/deviceeventcontroller.c
3721 (spi_device_event_controller_check_key_event): add public proto.
3724 (impl_accessibility_registry_deregister_global_event_listener):
3725 always init listeners.
3726 (_registry_notify_listeners): yes it is.
3728 * cspi/spi-listener-impl.c (cspi_key_event):
3730 (cspi_event_listener_finalize): impl.
3731 (cspi_event_listener_class_init): hook up.
3732 (event_handler_new, event_handler_free),
3733 (event_list_remove_by_callback): impl.
3734 (cspi_event_listener_remove_callback),
3735 (cspi_keystroke_listener_remove_callback),
3736 (cspi_keystroke_listener_add_callback),
3737 (cspi_event_listener_add_callback): upd.
3739 * libspi/keystrokelistener.c
3740 (keystroke_listener_object_finalize): kill
3741 (spi_keystroke_listener_class_init): upd.
3742 (spi_keystroke_listener_add_callback),
3743 (spi_keystroke_listener_remove_callback): kill,
3745 (impl_key_event): prune drasticaly.
3747 * libspi/eventlistener.c
3748 (spi_event_listener_add_callback),
3749 (spi_event_listener_remove_callback): kill, use
3751 (impl_accessible_event_notify_event): upd.
3752 (spi_event_listener_object_finalize): remove.
3754 * libspi/Makefile.am: use eventlistener.[ch]
3756 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3758 * libspi/registry.c (_registry_notify_listeners):
3759 Changed listener loop iteration to use preferred convention.
3760 Got rid of string memory leaks caused be calling g_strconcat
3761 inside function calls.
3763 * libspi/registry.c (parse_event_type):
3764 Stopped g_strconcat memory leaks, free the g_strsplit return,
3765 g_strdup the split pieces when used, etc.
3767 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3770 Change method 'compare' to return a 'difference set' rather than
3771 taking a StateSet as an out parameter (more Java-friendly).
3773 * idl/Accessible.idl:
3774 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3776 * idl/Component.idl:
3778 Changed methods 'getExtents' and 'getImageExtents' in these
3779 interfaces to return a BoundingBox structure.
3780 (getPosition and getSize are redundant and possibly should be
3781 removed, rather than creating a corresponding Point struct.)
3783 * cspi/spi_component.c:
3784 Modify implementation of getExtents to reflect the above IDL
3789 Add (missing) AccessibleImage_getExtents () API.
3791 * docs/reference/cspi/at-spi-cspi-sections.txt:
3792 Added AccessibleImage_getImageExtents () to docs.
3794 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3796 * idl/Component.idl:
3797 Added two methods, getLayer () and getMDIZOrder (), to reflect
3798 the new ATK methods atk_object_get_layer and
3799 atk_object_get_mdi_z_order. (Which arguably should be part of the
3800 AtkComponent API and AtkObject). Also added an enum,
3801 ComponentLayer, for the first method's return value.
3803 * libspi/component.c:
3804 Added implementations for these methods.
3806 * cspi/spi_component.c:
3808 Added cspi binding methods for above,
3809 AccessibleComponent_getLayer() and
3810 AccessibleComponent_getMDIZOrder().
3811 Added cspi enum 'AccessibleComponentLayer'.
3813 * docs/reference/cspi/at-spi-cspi-sections.txt:
3814 Added above methods to docs.
3818 Changed typedef for 'boolean' type (and all references to it) to
3819 SPIBoolean, to avoid keyword clashes with C++.
3822 Changed usages of 'boolean' to SPIBoolean.
3824 * test/keysynth-demo.c:
3825 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3826 app), except where SPIBoolean is required by the callbacks API.
3828 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3830 * cspi/spi_registry.c:
3831 Removed obsolete X event loop for passive keygrabs (which now
3834 * registryd/registryd.c:
3835 Removed unnecessary call to gdk_init() [cruft]. This also allows
3836 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3839 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3841 * docs/reference/cspi:
3842 Included docs for SPI_freeString in generated documentation.
3845 Renamed spi_freeString to SPI_freeString, for consistency. Added
3846 documentation for this function.
3849 Renamed spi_freeString to SPI_freeString, for consistency.
3850 Removed obsolete method declaration string_from_corba_string.
3852 * test/keysynth-demo.c:
3853 Small tweak to comments.
3856 Stopped leaking the strings returned from CSPI.
3858 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3860 Merged Michael's branch (see his ChangeLog entries below).
3862 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3863 bridge is alive, release on exit.
3865 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3866 Fix type check macro.
3869 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3872 Added is_gnome_app static, and method cspi_is_gnome_app(),
3873 so we can call the appropriate shutdown routine at exit in SPI_exit.
3875 * cspi/spi_main.c (cspi_object_ref):
3876 Duplicate the corba object passed in, since we're keeping it around.
3878 * cspi/SPI_exit.c, cspi_cleanup:
3879 Moved the releasing of the live refs to its own function, so we
3880 can put it in g_atexit (). Call the appropriate shutdown API
3881 depending on whethe calling client is a gnome app or not
3882 (bonobo_main_quit or CORBA_ORB_shutdown).
3884 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3885 Unref the listener when this method is called, after
3886 deregistration. Updated the API docs to note this behavior.
3888 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3889 Bugfixes: Ref the bonobo object when returning a parent or child
3890 reference, or an AccessibleRelation. Generally made sure
3891 BonoboObject refcount is incremented whenever we return an
3894 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3895 Fixed typo/bug in signal declaration.
3897 * libspi/accessibleeventlistener.h:
3900 * libspi/application.c (spi_application_new):
3901 Fixed leak in initialization.
3904 Remembered to increment bonobo-object refcount when returning
3905 children (applications) from desktop object.
3906 Added (empty) finalize method.
3908 * libspi/deviceeventcontroller.c:
3909 Hold a ref to listeners inside DEControllerKeyListeners.
3910 Added dec_key_listener_free() method. Use prepend instead of
3911 append in key_listener list. Fixed some refcount madness and
3912 leaks in the listener registration/deregistration - deregistration
3913 now calls dec_key_listener_free() on listeners, and on the
3914 temporarily constructed dec_key_listener() used to perform the search/match.
3916 * libspi/hypertext.c (spi_hypertest_finalize):
3917 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3918 class. Also fixed spi_hypertext_interface_new() and
3919 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3921 * libspi/hypertext.h:
3922 Removed pointless and duplicate AtkObject pointer from
3925 * libspi/keystrokelistener.c:
3926 Fixed incorrect type of keystroke_listener_parent_class,
3927 renamed keystroke_listener_object_finalize to
3928 spi_keystroke_listener_object_finalize.
3929 Fixed typo in signal declaration
3930 (spi_keystroke_listener_class_init).
3932 * libspi/registry.c:
3933 Added funcsions spi_listener_struct_new() and
3934 spi_listener_struct_free() to help with memory management issues.
3935 We also now use these methods instead of gnew + poking stuff into
3936 the struct, and to decrement listener counts/free the listeners
3937 when deregistering them.
3938 Fix more refcount bugs in getDesktop() and
3939 getDeviceEventController().
3942 De-ref the desktop after enumerating the applications. Explicitly
3943 decrement the refcounts on the created listeners on exit (using
3944 _unref for keystroke listeners, and via the
3945 deregisterGlobalEventListenerAll command for other event
3948 2001-11-27 Michael Meeks <michael@ximian.com>
3950 * cspi/spi-listener.h: fixup enum.
3952 2001-11-27 Michael Meeks <michael@ximian.com>
3954 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3955 (cspi_keystroke_listener_new): Use the cspi variants.
3957 2001-11-26 Michael Meeks <michael@ximian.com>
3959 * test/keysynth-demo.c: fix 2 compile warnings, missing
3962 * test/simple-at.c (report_focussed_accessible),
3963 (report_focus_event, report_button_press),
3964 (check_property_change, is_command_key),
3965 (report_ordinary_key_event, report_command_key_event): upd.
3967 * util/mag_client.h: include pre-requisites.
3969 * libspi/accessibleeventlistener.c
3970 (spi_event_listener_object_finalize): free any lingering
3973 * libspi/keystrokelistener.c
3974 (keystroke_listener_object_finalize): ditto.
3976 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3977 callbacks, with cspi types.
3979 * cspi/spi_event.c (createAccessibleEventListener): chain to
3980 (AccessibleEventListener_addCallback): here.
3981 (createAccessibleKeystrokeListener): chain to
3982 (AccessibleKeystrokeListener_addCallback): here.
3984 * libspi/keystrokelistener.c
3985 (spi_keystroke_listener_class_init): add signal.
3986 (impl_key_event): emit the event.
3987 (boolean_handled_accumulator): impl.
3988 (marshal_BOOLEAN__POINTER): add, gack.
3990 * libspi/accessibleeventlistener.c
3991 (spi_event_listener_class_init): add signal.
3992 (impl_accessible_event_notify_event): emit the signal &
3993 make the loop efficient.
3994 (spi_event_listener_add_callback): prepend the callback.
3996 * libspi/accessibleeventlistener.h: add an 'event' signal,
3997 decl type on callback.
3999 * libspi/keystrokelistener.h: ditto.
4001 * cspi/spi-listener.h: make methods typesafe and
4002 make them use the new event typedefs.
4004 * test/simple-at.c (report_focussed_accessible):
4005 include mag_client.h
4006 Use *(void *)text_interface not the other thing.
4008 * configure.in: add gtk to registryd bits - since we use
4011 * util/magnifier.c: include libbonobo.h
4013 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4015 * test/keysynth-demo.c:
4016 Turned this into a simple scanning keyboard, to demonstrate the
4017 use of g_timeout_add () as a means of creating timers for
4018 scanning, and the use of GtkStyle for visually indicating when
4019 virtual keyboard elements are selected.
4021 keysynth-demo now listens to any keyboard keys with zero-valued
4022 keycodes (i.e. 'unused' keys) and interprets them as
4025 Reworked the shiftlatch code so that shift-down state isn't held
4026 for long periods (it's only synthesized immediately prior to
4027 the keysynth event it's modifying). Note that shiftlatch in this
4028 demo is a convenience, not intended to take the place of AccessX
4029 which is the better choice for getting 'sticky' modifier keys.
4031 * libspi/deviceeventcontroller.c:
4032 * at-bridge/bridge.c:
4033 * cspi/spi_registry.c:
4034 Removed some debug print stuff, and put other verbosity in #ifdef
4039 Implemented some more of the magnifier IDL for the simple
4040 magnifier: namely, getZoomRegionParams.
4041 Added mag_x and mag_y members to MagnifierData struct, aid of this
4043 Added GtkWindow::realize signal handler to magnifier, to keep it
4044 from receiving keyboard focus from the WM.
4046 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4048 * cspi/spi-private.h: my guess at what michael forgot
4049 before he ran off to NZ :-)
4051 2001-11-23 Michael Meeks <michael@ximian.com>
4053 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4054 comment out non existant method invoke so we link.
4056 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4057 use bonobo_exception_get_text for more friendly warnings.
4059 * cspi/spi.c (Obj_Add): move into spi_main & rename
4060 spi_object_add; kill spi.c
4062 * cspi/spi_registry.c
4063 (deregisterGlobalEventListener),
4064 (deregisterGlobalEventListenerAll),
4065 (registerGlobalEventListener): fix exception leaks.
4067 * cspi/spi_main.c (spi_exception): impl. helper, so we
4068 don't leak exceptions.
4070 * cspi/spi_selection.c
4071 (AccessibleSelection_deselectSelectedChild): return the
4074 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4075 (spi_registry): ditto.
4076 (SPI_init): guard against double inits.
4078 * cspi/*.c: use spi_ev (), and spi_registry () where
4079 appropriate - a temporary hack until we have something
4080 better. Use spi_object_add
4082 2001-11-22 Michael Meeks <michael@ximian.com>
4084 * cspi/Makefile.am: re organise, install the headers.
4086 * cspi/*.h: add G_BEGIN/END_DECLS
4088 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4091 Added non-preemptive keylistener for key events with no modifiers
4092 and shift-only modifier.
4094 * libspi/keystrokelistener.c:
4095 Removed some verbose diagnostics printout.
4097 * cspi/spi_registry.c:
4098 Fixed a bug that caused all key listeners to be registered as
4101 * libspi/deviceeventcontroller.c:
4102 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4103 for non-preemptive key masks.
4106 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4108 * docs/reference/idl/at-spi-idl-docs.sgml:
4109 * docs/reference/idl/at-spi-idl-sections.txt:
4110 * docs/reference/idl/at-spi-idl-overrides.txt:
4111 Added missing files.
4113 * docs/reference/Makefile.am:
4114 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4115 to scan the IDL files :-(
4120 Added .cvsignore files.
4122 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4124 * libspi/deviceeventcontroller.c:
4125 * libspi/keystrokelistener.c:
4127 * cspi/spi_registry.c:
4128 Added filters for KeySets, KeyEventSeq, and event types to key
4129 event dispatching, so listeners should only receive those events
4130 that they requested :-)
4132 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4137 * docs/reference:Makefile.am:
4138 * docs/reference/cspi:
4139 * docs/reference/cspi:Makefile.am:
4140 * docs/reference/cspi:tmpl:
4141 * docs/reference/cspi:tmpl:*.sgml:
4142 * docs/reference/idl:
4143 * docs/reference/idl:Makefile.am:
4144 * docs/reference/idl:at-spi-idl-sections.txt:
4145 * docs/reference/idl:at-spi-idl-docs.sgml:
4146 * docs/reference/idl:tmpl:
4147 * docs/reference/idl:tmpl:*.sgml:
4149 Restructured docs directory to allow separate 'reference' docs
4150 section, and forked idl and cspi docs. Added the sgml template
4151 files to CVS. Added the first sections/structural sgml for the
4154 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4156 * configure.in, libspi/Makefile.am: find libXtst.
4158 2001-11-21 Michael Meeks <michael@ximian.com>
4160 * test/accessx-gui.c: s/spi_value/value/ - doh.
4162 * libspi/base.[ch]: add.
4164 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4166 * idl/Accessible.idl:
4167 * idl/Application.idl:
4170 Started gtk-doc cleanup on IDL.
4172 * libspi/deviceeventcontroller.c:
4173 Added and connected non-preemptive key notification from the
4174 toolkits (in addition to the pre-emptive support from XServer
4175 which we had before, but which causes 'focus flashing'). Filters
4176 are presently limited to key modifiers and global/non-global,
4177 KeySets are presently ignored, as are KeyEvent masks.
4179 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4180 structs into the persistant structure rather than just storing
4181 pointers to things that might not persist across servant
4184 The XGrabKey call now does async keygrabs, because synchronous
4185 ones were deadlocking with GDK_event code in a very nasty way.
4187 Added boolean to internal method notify_keylisteners, to indicate
4188 whether the event came from the 'toolkit source' or the 'global
4189 (XServer) source' - this is used in the notification process to
4190 determine which listeners to send the event to.
4192 deviceeventcontroller.c is now warning-free.
4194 * libspi/registry.c:
4195 Fixed regression in application de-registration.
4196 Also fixed some really brain-dead weirdness having to do with
4197 event dispatching - event structs are now duplicated before being
4198 re-marshalled in the dispatch to listeners. This also fixes a
4199 Solaris build problem.
4202 2001-11-20 Michael Meeks <michael@ximian.com>
4205 (impl_accessibility_registry_deregister_global_event_listener):
4208 * libspi/deviceeventcontroller.c
4209 (spi_device_event_controller_check_key_event): return
4210 FALSE on no virtual method.
4212 * libspi/*..h: make includes work on a correctly pathed install.
4214 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4216 * libspi/application.h: kill unused ( and whacked out )
4217 gboolean *spi_application_set_id (AtkObject *app, long id);
4219 2001-11-20 Michael Meeks <michael@ximian.com>
4221 * libspi/*.[ch]: further convert to bonobo's type func
4222 macros, remove redundnant casts etc.
4224 * libspi/text.c s/accessibility_text/spi_text/g,
4225 re-order to de-cruft.
4227 * libspi/hypertext.c: re-order to kill a huge slew
4228 of redundant forward decls.
4230 * libspi/relation.c: ditto.
4232 * libspi/image.c: ditto.
4234 * */.cvsignore: update
4236 2001-11-20 Michael Meeks <michael@ximian.com>
4238 * libspi/deviceeventcontroller.c
4239 (_controller_register_with_devices): use g_getenv,
4240 kill stdlib.h include.
4242 * libspi/keystrokelistener.c
4243 (spi_keystroke_listener_get_type): kill
4244 (spi_keystroke_listener_class_init),
4245 (spi_keystroke_listener_init): rename to this.
4247 * libspi/text.c (impl_getAttributes): fix warning / bug.
4249 * libspi/*.[ch]: more headers, includes and over commenting.
4251 2001-11-20 Michael Meeks <michael@ximian.com>
4253 * libspi/*.[ch]: fixup headers, includes and over commenting.
4255 * libspi/image.c (impl__get_imageDescription): const
4256 correctness warning fix. remove redundant casting.
4258 * libspi/table.c (impl_getRowDescription): ditto.
4259 (impl_getColumnDescription): ditto.
4261 * libspi/libspi.h: add.
4263 2001-11-19 Michael Meeks <michael@ximian.com>
4265 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4267 * libspi/component.c (accessibility_component_get_type):
4268 rename to (spi_component_get_type): and macroify.
4269 (accessibility_component_init): rename to
4270 (spi_component_init): this
4271 (accessibility_component_class_init): rename to
4272 (spi_component_class_init): this
4274 * libspi/action.c (spi_action_get_type): kill, use the macro.
4276 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4279 * libspi/application.c (spi_application_object_event_listener),
4280 (impl_accessibility_application_register_object_event_listener):
4281 warning fixes / const understanding updates.
4283 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4286 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4288 * libspi/spi_accessible.c: Added docs and C bindings for
4289 AccessibleStateSet. (No implementations yet). Documentation
4290 coverage for C bindings now 100%. Made docs for event listeners
4295 boolean notifyListenersSync (in DeviceEventListener listener,
4296 in DeviceEvent event);
4298 oneway void notifyListenersAsync (in DeviceEventListener listener,
4299 in DeviceEvent event);
4301 Added DeviceEventListener and DeviceEvent structs (may deprecate
4302 KeyStroke and KeystrokeListener in favor of this generic
4303 event/listener framework for devices).
4305 * libspi/deviceeventcontroller.c:
4307 Changed some key listener code to take masks, etc., and paved the
4308 way for integration of toolkit/non-preemptive key events. Changed
4309 signatures of some internal methods.
4311 * at-bridge/bridge.c:
4312 Fixed regression connecting to interface signals, apparently
4313 caused by GTK+ changes.
4315 Added an internal bridge_state_listener to deal with
4316 property-change:accessible-state signals.
4318 Changed the key_listeners GList to store structs (including masks,
4319 etc.) instead of just CORBA_Objects (required for full
4320 implementation of key listener API).
4322 Connected the bridge to all currently supported Atk signals.
4323 Events now supported:
4324 object:property-change
4325 object:property-change:accessible-name
4326 object:property-change:accessible-state
4327 object:property-change:accessible-description
4328 object:property-change:accessible-parent
4329 object:property-change:accessible-value
4330 object:property-change:accessible-role
4331 object:property-change:accessible-table-caption
4332 object:property-change:accessible-table-column-description
4333 object:property-change:accessible-table-column-header
4334 object:property-change:accessible-table-row-description
4335 object:property-change:accessible-table-row-header
4336 object:property-change:accessible-table-summary
4337 object:children-changed
4338 object:visible-data-changed
4339 object:selection-changed
4340 object:text-selection-changed
4342 object:text-caret-moved
4344 object:row-reordered
4346 object:column-inserted
4347 object:column-reordered
4348 object:column-deleted
4349 object:model-changed
4351 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4353 * libspi/hyperlink.c,h:
4354 Fixed some broken stuff in hyperlink.
4356 * libspi/relation.h:
4357 * libspi/relation.c:
4358 * cspi/spi_accessible.c:
4359 Initial implementations of AccessibleRelation methods, and docs.
4361 * libspi/accessible.c:
4362 Fixed a bug that caused SEGV if an accessible
4363 object's description is NULL, and a client
4364 requests it. An empty string is now returned.
4366 * cspi/spi_editabletext.c:
4367 * cspi/spi_hypertext.c:
4369 * cspi/spi_hyperlink.c:
4373 Doc coverage now 95%.
4375 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4377 One last namespacing revision:
4378 * libspi/accessibleeventlistener.[ch]:
4379 Renamed SpiAccessibleEventListener to SpiEventListener,
4380 (no need for two namespaces ;-)
4382 And lots of documentation fixes:
4384 * docs/at-spi-docs.sgml:
4385 Fixed 'underscore vs. hyphen' bug that was preventing
4386 the gtk-doc API docs from being automatically generated.
4389 * cspi/spi-listener.h
4391 * cspi/spi_accessible.c
4393 * cspi/spi_application.c
4394 * cspi/spi_component.c
4395 * cspi/spi_editabletext.c
4397 * cspi/spi_hypertext.c
4399 * cspi/spi_registry.c
4400 * cspi/spi_selection.c
4404 * docs/at-spi-docs.sgml
4405 * docs/at-spi-sections.txt
4407 Added and fixed up gtk-doc documentation in cspi.
4409 Interfaces now (fully) documented (subject to revision and enhancement):
4411 Event Listener Support
4413 AccessibleApplication
4417 AccessibleEditableText
4424 AccessibleRelationSet
4429 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4431 * at-bridge/bridge.c:
4432 Initial work for toolkit-level key snooper connection by bridge.
4437 New typedefs and fixes to support new namespacing, and cleaner
4438 separation of cspi bindings from libspi bonobo implementation.
4439 Removed inconsistent and extraneous Spi* namespace prefix that
4440 had crept into cspi headers.
4441 Lots of comment fixes that sed had missed.
4443 * cspi/spi-roletypes.h:
4444 * cspi/spi-statetypes.h:
4445 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4446 to AccessibleRoleType.
4448 * libspi/accessibleeventlistener.h:
4449 Fixed minor namespacing weirdness.
4451 * libspi/deviceeventcontroller.c:
4452 Reordered some internal API for device listeners.
4453 Changed the key registry final boolean to 'is_system_global'
4454 rather than 'is_synchronous', which is more descriptive of its
4456 Added spi_device_event_controller_new().
4457 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4459 * libspi/keystrokelistener.[ch]:
4460 Namespaced KeystrokeListener to SpiKeystrokeListener.
4461 Changed uses of keymasks to use SPI_ prefix, and did other
4464 * libspi/keymasks.h:
4465 Namespaced keymask constants with SPI_ prefix.
4467 * libspi/registry.c:
4468 Some warning fixes, and knock-on fixes from namespace changes.
4471 Added rules for accessx-gui test program.
4473 * test/accessx-gui.c:
4474 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4475 utility. It doesn't actually use at-spi, but it's still cool and
4478 * test/keysynth-demo.c:
4482 Fixes so that these test clients work properly with the namespaced
4483 libraries. (Incompletely tested for technical reasons, fixes may follow)
4486 2001-11-13 Michael Meeks <michael@ximian.com>
4488 * libspi/application.c
4489 (impl_accessibility_application_get_version),
4490 (impl_accessibility_application_get_toolkit_name):
4492 (impl_accessibility_application_set_id),
4493 (impl_accessibility_application_get_id): remove
4494 redundant casting code.
4496 * libspi/action.c (impl_getDescription): fix warnings.
4498 * libspi/accessible.c
4499 (impl_accessibility_accessible_get_parent),
4500 (impl_accessibility_accessible_get_child_at_index),
4501 (impl_accessibility_accessible_get_state),
4502 (impl_accessibility_accessible_get_relation_set):
4503 warning fixes & include action.h
4505 2001-11-13 Michael Meeks <michael@ximian.com>
4507 * *.[ch] fix bits I screwed up:
4509 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4510 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4512 2001-11-13 Michael Meeks <michael@ximian.com>
4514 * *.[ch] Namespace libspi into spi_ and Spi.
4516 2001-13-11 Michael Meeks <michael@ximian.com>
4518 * Makefile.am: dist & install at-spi-1.0.pc
4520 * libspi/Makefile.am: install into at-spi-1.0
4522 * idl/Makefile.am (idldir): install into at-spi-1.0
4524 * at-spi-1.0.pc.in: add.
4526 * configure.in: build it.
4528 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4530 * test/keysynth-demo.c:
4531 Use a 'realize' signal-handler to set the WM properties for
4532 the virtual keyboard, rather than making it a "POPUP" type
4533 override-redirect window (thanks to anders carlsson for that
4536 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4539 * test/keysynth-demo.c:
4540 Added new test of key synthesis, which creates a simple
4541 (mouse-operated) onscreen keyboard. It inserts key events into
4542 the currently-focused window, thus it does not grab keyboard focus
4545 * cspi/spi_registry.c:
4546 Added C binding for AT-SPI generateKeyEvent.
4548 * libspi/deviceeventcontroller.c:
4549 Added call to XFilterEvent so that key listener works with XIM (we
4550 hope). Added event_synth_type to generateKeyEvent, so that we can
4551 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4552 synthesize a press/release pair for KeySyms.
4554 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4556 * libspi/Makefile.am:
4557 * registryd/Makefile.am:
4558 (temporary) hack to include libXtst in libspi and registryd.
4559 (Needed for keystroke synthesis, see below).
4562 Improved API for registerKeystrokeListener, in accordance with
4563 discussions with Gnopernicus team and X server research.
4565 * libspi/registry.c:
4566 * libspi/deviceeventcontroller.c:
4567 * libspi/accessible.c:
4568 * libspi/keystrokelistener.c:
4569 Changes and fixes to support keylisteners for potentially
4570 consumed key events (that is, 'passive grabs').
4571 Added implementation for generateKeyEvent() [untested].
4574 Changes to registerKeystrokeListener() API, as above.
4575 Added deregisterGlobalEventListenerAll(), and
4576 deregisterKeystrokeListener(), which are needed for clean exit of
4578 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4579 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4581 * cspi/spi_registry.c:
4582 Added implementations of function prototypes mentioned above.
4584 * registryd/registryd.c:
4585 Added the key listener event source as a g_timeout(), to allow
4586 receipt of key events that are not caught by GDK (since GDK
4587 doesn't support passive keygrabs, this was necessary).
4590 Changed to attach a keylistener to 'Alt' keys, and
4591 respond to the following keycommands: Alt-M (toggle magnifier);
4592 Alt-F (toggle speech); Alt-Q (quit).
4593 Added an exit routine to deregister the listeners, and a key
4594 listener that prints some key info to the console when a key
4595 matches the listener mask (and is thus received by the listener).
4597 * util/idl/Magnifier.idl:
4598 Changes to magnifier API to support multiple zoom regions,
4599 non-uniform scaling in x and y, markDirty, and a host of other
4600 features that would be useful to magnification.
4603 * util/mag_client.c:
4604 * util/mag_client.h:
4605 * util/mag_control.c:
4607 Source code changes to support the above IDL changes.
4610 As above, and also changes to use a (slower) generic conversion
4611 path for colormap conversions, since the fast RGB conversions have been
4612 reported to fail for 16-bit displays.
4614 2001-10-26 Michael Meeks <michael@ximian.com>
4616 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4618 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4620 * at-bridge/Makefile.am: fix LDFLAGS.
4622 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4624 * at-bridge/bridge.c:
4625 Re-worked listeners for toolkit events, now we have signal
4626 and property listeners. Added a private method
4627 register_atk_event_listeners(), which registers with the
4628 various atk and gtk signals we need to monitor in order to emit
4630 Added emission hook for AtkObject:property-change events, to
4631 support the 'property listeners'.
4632 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4635 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4636 which emit warnings and exit, respectively, if CORBA errors occur
4637 during remote calls, and we now use these methods to check most of
4638 our CORBA calls in the C bindings.
4640 * cspi/spi_accessible.c:
4641 Changed AccessibleSelection_refSelectedChild() to
4642 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4643 now increment refcounts.
4645 * cspi/spi_component.c:
4646 Fixed some long pointer casts (dangerous!) to pass pointers to
4647 CORBA_longs of the proper type to the CORBA stubs, and copy the
4648 data into the longs that were passed into the C bindings code.
4650 * at-bridge/bridge.c:
4652 * libspi/accessible.c:
4653 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4654 hyperlinks, AtkHyperlink is an object type.
4656 * libspi/application.c:
4657 Added various conversions to and from "generic" event types and
4658 atk-specific types; this is really part of the 'bridge'
4659 implementation but is valid for all AtkObject-based accessibility
4662 * libspi/editabletext.c:
4663 Fixed nasty bug wherein editable text's finalize method was
4664 unref'ing tha AtkObject reference that the text parent class was
4665 about to unref _again_. There was also a nasty inheritance bug
4666 that meant that the AccessibleEditableText class was corrupt.
4668 * libspi/selection.c:
4669 Provided implementations for some selection API that was broken.
4671 * idl/Application.idl:
4672 Added registerObjectEventListener () method.
4675 Fixed a number of return values that were Bonobo_Unknowns from
4676 bonobo_object_corba_objref(), which I
4677 forgot to dup before returning. Changed instances of
4678 bonobo_object_corba_objref (bonobo_object(o)) to
4679 BONOBO_OBJREF(o), for concision and clarity.
4681 2001-10-13 Louise Miller <louise.miller@sun.com>
4683 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4684 idl/Event.idl, idl/Registry.idl
4685 Changed these files to include Bonobo_Unknown.idl instead
4688 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4690 * libspi/component.c libspi/component.h:
4691 Fixed typo. Added assertions for object checks in
4692 AccessibleComponent code.
4694 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4696 * idl/Accessible.idl:
4697 Added 'isEqual (Accessible *object)'
4698 method for Accessible. (Not Yet Implemented).
4701 Changed signature of registerKeystrokeListener() to
4702 take a KeySet and KeyEventSeq so that specific keys and event
4703 types could be requested for monitoring, and added a flag
4704 is_synchronous so that either synchronous or asynchronous
4705 notification could be requested. (However this is not all
4706 implemented yet). This also meant adding two new typedefs,
4707 KeyEventSeq and KeySet.
4710 Added two new relations, RELATION_TOOLTIP_FOR and
4711 RELATION_LEAFNODE_OF.
4714 Added new state, STATE_HAS_TOOLTIP.
4716 * libspi/text.c, editabletext.c:
4717 Added new assertions to all casts of bonobo-objects from
4718 CORBA servants, to prevent Text API calls on non-text objects.
4719 Changed suspect casts of int-pointer types, so that we
4720 always send a valid CORBA_long pointer to the CORBA APIs that use
4721 in/out long parameters. We then have to copy from the CORBA_long
4722 into the regular long or int for return to the C bindings, or
4723 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4726 * libspi/deviceeventcontroller.c:
4727 Cleaned these sources up.
4729 Changed return type for getCharacterAtOffset to
4730 CORBA_unsigned_long, to allow for 32-bit characters.
4733 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4737 Fixed 'make dist' so that distro compiles...
4738 * libspi/keymasks.h:
4740 * cspi/spi-listener.c:
4741 KeystrokeListenerCB now returns a boolean.
4743 Added KeyEventType struct, and KeyStroke.
4744 Also added createKeystrokeListener(),
4745 KeystrokeListener_addCallback(),
4746 KeystrokeListener_removeCallback(), and added a keymask to
4747 registerKeystrokeListener().
4748 * cspi/spi_accessible.c:
4749 Changed numerous return types for interfaces from
4750 AccessibleComponent to Accessible<InterfaceName>; this was
4751 probably a cut-and-paste error.
4753 Implementations of new KeystrokeListener api (from spi.h,
4756 Changes to key modifier mapping.
4757 Created ControllerEventMask struct.
4758 Made DeviceEventController derive from Bonobo::Unknown.
4760 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4761 * libspi/deviceeventcontroller.c:
4762 Added a number of new internal (private) methods.
4763 * libspi/editabletext.c:
4764 * libspi/editabletext.h:
4765 Fixed a number of bugs related to the fact that
4766 editabletext inherits from text. Fixed the EditableText struct,
4767 the init() call, and use correct casts when calling Text methods
4768 from an EditableText object. Removed (duplicate) atko from the
4769 EditableText structure, we use the one in the parent Text
4770 structure via the casts mentioned above.
4771 * libspi/keystrokelistener.[ch]:
4772 * libspi/registry.c:
4773 Changes in support of keyboard handling (above).
4775 Keyboard handling, though partly functional, is still not
4776 recommended for at-spi client use as there is considerable
4777 work yet to be done.
4780 Changed some places where pointers to various int types
4781 are cast to be pointers to CORBA_long types and vice-versa:
4782 pointer casting is not safe so we pass pointers of the correct
4783 types and then cast the result before putting it into the target
4786 * libspi/text.h: minor typos corrected.
4788 We now speak not only the name of a Text element, but the
4789 first sentence of its content, when it receives focus.
4790 I also changed the text compression to 75% from 50%.
4791 * util/Accessibility_Util.server.in:
4792 Changed the default magnifier type to be a 3x vertical
4793 splitscreen magnifier (was previously a 2x horizontal one).
4795 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4797 * libspi/keystrokelistener.h:
4798 * libspi/keystrokelistener.c:
4799 Initial functional implementations of KeystrokeListener.
4802 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4804 Fixed string handling for NULL strings in libspi.
4805 Added spi_freeString to free strings returned by C bindings.
4807 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4809 * libspi/keystrokelistener.h:
4810 * libspi/keystrokelistener.c:
4811 Began (no-op) implementations of KeystrokeListener
4813 * libspi/deviceeventcontroller.c:
4814 * libspi/deviceeventcontroller.h:
4815 Began creating implementations of DeviceEventController,
4816 to handle keystroke and mouse event listening and
4818 * libspi/accessible.c:
4819 Stubbed-in the implementations for
4820 Accessibility_Accessible_getState and
4821 Accessibility_Accessible_getRelationSet.
4822 * libspi/registry.c:
4823 Improved de-registration process and fixed some bugs,
4824 deregistration now works correctly.
4826 Added initialization of applications list (to NULL).
4828 Reduced speech compression from 0.5 to 0.7, for demo.
4829 Changed call to gdk_window_set_decorations()
4830 to gtk_window_set_decorated().
4831 * at-bridge/bridge.c:
4832 Bridge now deregisters when app exits, via
4833 registration of a cleanup function
4834 with the g_atexit() call.
4835 Required making 'app' static, renamed 'this_app'.
4836 Fixed broken use of bonobo_init, passing argv wrongly.
4838 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4842 Created a new directory for
4843 accessibility-related utilities, primarily for
4844 testing and demo purposes, but with possible
4851 Onscreen magnifier utility that
4852 is implemented as a bonobo service.
4854 * util/mag_client.c:
4855 * util/mag_client.h:
4856 Client-side support (simple C bindings)
4857 for Magnification service
4859 * util/mag_control.c:
4860 Client program example for
4861 Magnification service
4863 * util/Accessibility_Magnifier.server.in:
4864 Bonobo-activation file for the
4865 Magnification service.
4868 * util/idl/Magnifier.idl:
4869 IDL defining the bonobo Magnification
4873 Modifications to use the bonobo-activated magnifier
4874 above, in place of trying to connect to an existing
4875 magnifier that uses socket-listening IPC.
4877 If env variable MAGNIFIER is set, a magnifier service
4878 will be started if one does not exist.
4880 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4882 * at-bridge/bridge.c:
4883 applied patch from Marc to build and run
4884 against new glib and gtk+ (seemed like a change
4885 to bonobo_init signature was made ?)
4887 made festival-server support turned off by default.
4888 Added support for a simple magnifier (off by default)
4889 which will be added to a 'util' directory later.
4890 * at-bridge/Makefile.am:
4891 Changed "application.h" header from a 'source'
4892 to a 'dependency' of libat-bridge.
4894 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4903 Added interface implementation c files to list of
4904 includes so they are included in libcspi.
4907 Changed prototype of AccessibleAction_doAction to return a
4909 Changed prototype of AccessibleTable_getCaption to
4910 return an Accessible.
4911 Changed prototype of AccessibleTable_getSelectedRows
4912 and AccessibleTable_getSelectedColumns to
4913 return a long (returns the number of selected rows
4914 or columns respectively).
4915 Changed name of AccessibleText_refRunAttributes to
4916 AccessibleText_getAttributes.
4917 Changed prototype of AccessibleText_getCharacterExtents to
4918 return a void rather than a boolean.
4919 Added support for a AccessibleCoordType parameter
4920 specifying what type of coordinates are desired.
4921 Added an AccessibleCordType parameter to
4922 AccessibleText_getPointAtOffset.
4924 * cspi/spi_accessible.c:
4925 Added code to return the outstanding interfaces from
4926 Accessible_queryInterface.
4928 * cspi/spi_action.c:
4930 Corrected call to getNActions to call the c binding
4933 * cspi/spi_editabletext.c:
4935 Changed name from setRunAttributes to setAttributes.
4937 * cspi/spi_hyperlink.c:
4939 Changed call to getNAnchors to correctly call the c
4940 binding for an attribute.
4942 * cspi/spi_hypertext.c:
4944 Changed getImageDescription to correctly call the
4945 binding for an attribute.
4947 * cspi/spi_selection.c:
4948 Changed getNSelectedChildren to correctly call the c
4949 binding for the attribute.
4950 Changed refSelectedChild to getSelectedChild.
4954 Changed getCaption to return an Accessible.
4955 Fixed calls which retrieve attributes.
4956 Changed refAt to getAccessibleAt.
4957 Changed getNSelectedRows and getNSelectedColumns to
4961 Changed getCharacterExtents and getPointAtOffset to accept an
4962 AccessibleCoordType.
4964 Changed calls which retrieve attributes.
4965 Changed refRunAttributes to getAttributes.
4970 * idl/Hyperlink.idl:
4971 Changed n_anchors attribute to nAnchors to keep naming
4972 convention consistent.
4975 Made Table inherit from Bonobo::Unknown.
4976 Added nSelectedColumns and nSelectedRows attributes.
4979 Made Value inherit from Bonobo::Unknown.
4981 * libspi/hyperlink.c:
4982 Change for nAnchors attributte name change.
4984 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4992 Added interface implementation c files to list of
4993 includes so they are included in libcspi.
4996 Changed prototype of AccessibleAction_doAction to return a
4998 Changed prototype of AccessibleTable_getCaption to
4999 return an Accessible.
5000 Changed prototype of AccessibleTable_getSelectedRows
5001 and AccessibleTable_getSelectedColumns to
5002 return a long (returns the number of selected rows
5003 or columns respectively).
5004 Changed name of AccessibleText_refRunAttributes to
5005 AccessibleText_getAttributes.
5006 Changed prototype of AccessibleText_getCharacterExtents to
5007 return a void rather than a boolean.
5008 Added support for a AccessibleCoordType parameter
5009 specifying what type of coordinates are desired.
5010 Added an AccessibleCordType parameter to
5011 AccessibleText_getPointAtOffset.
5013 * cspi/spi_accessible.c:
5014 Added code to return the outstanding interfaces from
5015 Accessible_queryInterface.
5017 * cspi/spi_action.c:
5019 Corrected call to getNActions to call the c binding
5022 * cspi/spi_editabletext.c:
5024 Changed name from setRunAttributes to setAttributes.
5026 * cspi/spi_hyperlink.c:
5028 Changed call to getNAnchors to correctly call the c
5029 binding for an attribute.
5031 * cspi/spi_hypertext.c:
5033 Changed getImageDescription to correctly call the
5034 binding for an attribute.
5036 * cspi/spi_selection.c:
5037 Changed getNSelectedChildren to correctly call the c
5038 binding for the attribute.
5039 Changed refSelectedChild to getSelectedChild.
5043 Changed getCaption to return an Accessible.
5044 Fixed calls which retrieve attributes.
5045 Changed refAt to getAccessibleAt.
5046 Changed getNSelectedRows and getNSelectedColumns to
5050 Changed getCharacterExtents and getPointAtOffset to accept an
5051 AccessibleCoordType.
5053 Changed calls which retrieve attributes.
5054 Changed refRunAttributes to getAttributes.
5059 * idl/Hyperlink.idl:
5060 Changed n_anchors attribute to nAnchors to keep naming
5061 convention consistent.
5064 Made Table inherit from Bonobo::Unknown.
5065 Added nSelectedColumns and nSelectedRows attributes.
5068 Made Value inherit from Bonobo::Unknown.
5070 * libspi/hyperlink.c:
5071 Change for nAnchors attributte name change.
5074 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5076 implementations-- made server implementations own AtkObject pointers
5077 rather than their respective AtkInterrface pointers to fix
5078 refcounting. AtkHyperlink is still broken.
5080 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5081 * cspi/spi_accessible.c:
5082 Added method Accessible_Role_getName(),
5083 and requisite string array (role_names).
5084 Added conversion string_from_corba_strin() call
5085 to Accessible_getName and _getDescription.
5086 * libspi/accessible.c:
5087 Added implementation for Accessible_getRole()
5089 Added festival support, used if environment variable
5092 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5094 * at-bridge/bridge.c:
5095 Now allocate Accessibility_Event using
5096 Accessibility_Event__alloc() instead of g_new0().
5097 * libspi/accessibleeventlistener.c:
5098 Initialize AccessibleEventListener->callbacks to NULL.
5099 Fixed accessible__event_listener_init() param, changed to
5100 "AccessibleEventListener *" type.
5101 Changed a bonobo_object_release_unref() call to
5102 Accessibility_Accessible_unref().
5103 * libspi/listener.c:
5104 Changed Bonobo_Unknown_unref to (equivalent)
5105 Accessibility_Accessible_unref.
5106 * libspi/registry.c:
5107 Changed bonobo_object_release_unref to
5108 Accessibility_Accessible_unref.
5110 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5113 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5114 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5115 spi-util.c spi-util.h
5116 Implementations for C bindings to remaining accessibility
5119 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5122 changed return value of Action from void to boolean to
5123 bring in line with ATK.
5126 Changed getText funcions to return "out" start and end offsets.
5127 Changed getAttributes to take and offset and return the start
5128 and end offset of the attribute run.
5129 Changed getOffsetAtPoint and getCharacterExtents to take an
5130 enum describing whether coordinates are window or screen.
5133 libspi/action.c libspi/action.h libspi/editabletext.c
5134 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5135 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5136 libspi/image.h libspi/selection.c libspi/selection.h
5137 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5138 libspi/value.c libspi/value.h
5139 Added server implementations for outstanding ATK interfaces
5140 not yet implemented.
5142 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5145 Added (missing) getName() method.
5146 Made nActions an attribute.
5147 * idl/EditableText.idl:
5148 Changed order of params in setAttributes.
5149 * idl/Hyperlink.idl:
5150 Removed getAnchor, added getURI.
5152 Changed attributes to methods, for efficiency
5153 (so that getting extents can be done in one call)
5154 * idl/Selection.idl:
5155 Changed nSelectedChildren to attribute, and re-indented.
5156 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5158 * idl/Text.idl: reformatted to match our coding style.
5159 (temporarily?) removed getRowColumnAtOffset().
5160 Changed text selection API to support multi-select and
5161 non-contiguous selections, as in ATK.
5162 * idl/Value.idl: changed some methods to attributes.
5164 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5166 * libspi/listener.c(impl_notify_event):
5167 BonoboUnkown_unref the source instead
5168 of bonobo_object_release_unref - the ORB
5169 handles the releasing.
5171 * configure.in: require ORBit-2.3.94 for
5174 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5176 Tagged CVS repository 'EA_1_0'.
5177 * README.EARLY_ACCESS:
5178 Alphabetized acknowledgements list, and
5180 Listed some known dependencies of at-spi.
5182 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5184 * docs/at-spi-docs.sgml:
5185 * docs/at-spi-sections.txt:
5186 * docs/at-spi-overrides.txt: (Added zero-length file)
5187 Documentation improvements - gtk-doc should build
5188 docs for all implemented C bindings now.
5191 * cspi/spi.c: (New file)
5192 * cspi/spi_event.c: (New file)
5193 * cspi/spi_registry.c: (New file)
5194 * cspi/spi_accessible.c: (New file)
5195 * cspi/spi_application.c: (New file)
5196 * cspi/spi_component.c: (New file)
5197 Split spi_main.c into six parts, and included them from
5198 "spi.c". This is a bit of a hack, probably temporary,
5199 but required by gtk-doc, apparently.
5201 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5204 * docs/at-spi-docs.sgml:
5205 * docs/at-spi-sections.txt:
5207 Initial checkins/modifications for gtk-doc generation.
5210 Added (missing) interface query methods to Accessible's C binding.
5212 Added GenericInterface type definition.
5214 Added query for AccessibleComponent interface to focus event handler.
5215 Added printout of bounding box for focussed component.
5216 * libspi/component.c:
5217 Added partial implementation for AccessibleComponent to C binding.
5218 * idl/Application.idl:
5219 * libspi/registry.c:
5220 * libspi/listener.c:
5221 * libspi/application.c:
5222 * libspi/application.h:
5223 Changed "ID" attribute type from string to long.
5225 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5229 Made method naming consistent: methods taking object args
5230 start with uppercase, other methods (except those using
5231 acronyms) start with lowercase. Underscores delimit between
5232 object names and method names:
5233 SPI_init() - uppercase since it starts with an acronym.
5234 getDesktopCount () - lowercase start since no object param0.
5235 Accessible_getName() - uppercase object type name, studlyCaps method
5239 Added gtk-doc documentation for all currently implemented
5240 methods in the C bindings API.
5242 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5244 * Makefile.am : changed build order to build test last.
5247 Changed "createEventListener" to "CreateEventListener".
5248 * libspi/accessibleeventlistener.c :
5249 Bugfix for addition of callbacks.
5250 * test/Makefile.am :
5251 * test/simple-at.c :
5252 Added new test that uses the C bindings API.
5254 * libspi/listener.c :
5255 * libspi/registry.c :
5256 * libspi/accessibleeventlistener.c :
5257 * at-bridge/bridge.c :
5258 Renamed member "target" of Accessibility_Event to "source",
5259 which is more descriptive.
5262 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5266 * cspi/Makefile.am :
5267 Added makefile support for at-spi/cspi directory.
5270 * cspi/spi-listener.h : (NEW FILE)
5271 Added support for/use of spi-listener.h.
5273 C bindings now build successfully, with no warnings.
5274 * libspi/accessibleeventlistener.h : (NEW FILE)
5275 * libspi/accessibleeventlistener.c : (NEW FILE)
5276 * libspi/Makefile.am :
5277 Added new object type "AccessibleEventListener"
5278 which inherits from Listener, and allows attachment
5279 of in-process callbacks (so that a client with a listening
5280 object instance can add functionality to the local
5281 implementation, dynamically).
5283 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5285 * libspi/accessible.c:
5286 Add implementation for get_index_in_parent().
5288 Added #include of "spi-roletypes.h", and
5289 added enumerated type AccessibleCoordType.
5290 Added definition for KeystrokeListener (function type).
5293 * cspi/spi-statetypes.h :
5294 * cspi/spi-roletypes.h :
5296 Added these headers, used by spi.h.
5298 Added code (NOTE: not yet built by make).
5300 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5302 * libspi/Makefile.am: generate imodule
5303 at the same time as other idl compiler
5306 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5307 * libspi/registry.c :
5308 * libspi/application.c :
5309 * idl/Application.idl :
5310 Made registration with toolkit an application method,
5311 which is required since each app has its own toolkit static
5312 environment. Thus the bridge must register for
5313 notification of toolkit events from each application in turn.
5314 Toolkit notifications are now successfully registered for, and
5315 sent to the listening at client.
5317 Changed toolkit event string to use hyphens rather than underscores.
5318 * libspi/listener.c :
5319 listner now gives more info in debug mode - it reports the
5320 name of the event received, as well as the name of the source.
5323 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5325 * libspi/registry.c :
5326 added more implementation for toolkit events.
5327 Fixed bug such that toolkit event registrations
5328 (via atk) use the whole event name string, not
5330 Removed a useless call to an ORBit_ method.
5331 * at-bridge/bridge.c :
5332 Removed unused local sbuf[] variable.
5334 We now register for Gtk:GtkWidget:button_press_event
5335 events as well as "focus:" events.
5337 Add some more API from Registry.idl that was missing,
5338 for keystroke listening, keystroke and mouse event
5339 synthesis, and enumeration of accessible desktops.
5341 2001-08-16 Michael Meeks <michael@ximian.com>
5343 * configure.in: use AM_GLIB_GNU_GETTEXT.
5345 * Makefile.am (SUBDIRS): kill intl.
5347 2001-08-15 Michael Meeks <michael@ximian.com>
5349 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5351 * configure.in: upd.
5353 * configure.in: depend on a recent bonobo-activation that
5354 will find our server files ...
5356 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5358 * libspi/accessible.c : accessible_new() :
5359 Now we add the Component interface via bonobo_object_add_interface,
5360 if the contained AtkObject implements AtkComponent.
5361 * libspi/accessible.h : now include "component.h"
5362 * libspi/component.h :
5363 * libspi/component.c : added files - implementation of
5364 bonobo wrapper object for Accessibility/Component
5365 * libspi/listener.c :
5366 Added test code to check for Accessibility/Component:1.0
5367 interface and report whether it is implemented by the
5369 * libspi/registry.c :
5370 Now we check for not only the hash of the whole event
5371 string before relaying the event, we also check the
5372 "minor" event string (without the detail string).
5373 This allows event listeners to be registered against
5374 all events of a certain major+minor type, or just
5375 against a specific major+minor+detail type.
5376 * libspi/accessible.c :
5377 Added implementations for Accessible:get_parent(),
5378 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5379 * libspi/registry.c :
5380 * libspi/listener.c :
5381 Replaced calls to Accessibility_Accessible_ref() and
5382 Accessibility_Accessible_unref() with
5383 calls to bonobo_object_dup_ref() and
5384 bonobo_object_release_unref(), so that the CORBA object
5385 is dup-ed and released when relayed, as well as the bonobo object.
5387 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5389 * libspi/Makefile.am,
5390 registryd/Makefile.am,
5391 at-bridge/Makefile.am.
5392 test/Makefile.am, configure.in:
5393 reverse previous changes.
5395 * /idl/Image.idl: fix typo.
5397 * test/Makefile.am: put DEBUG_FLAGS
5400 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5402 * test/app.c: use argv[0] instead of
5405 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5407 * libspi/Makefile.am,
5408 registryd/Makefile.am,
5409 at-bridge/Makefile.am.
5410 test/Makefile.am, configure.in:
5411 cleanup, replace individual LIBS/CFLAGS with
5412 AT_COMMON_{LIBS|CFLAGS}.
5416 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5418 * configure.in, libspi/Makefile.am:
5419 Change IDL path checking for bonobo-activation
5422 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5424 * registryd/registry.c : separated event listeners to use
5425 3 separate lists (focus, window, toolkit). Began testing
5426 event names against hashes before relaying events.
5427 * test/at.c : now register for events of type "focus:"
5428 * test/app.c : now generate events of type "focus:"
5429 * at-bridge/bridge.c : register with ATK for focus events,
5430 and we now relay those focus events to any "focus:" listeners.
5431 This now works with the bridge as a GTK_MODULE when running test/at.
5432 * libspi/registry.c :
5433 * libspi/listener.c :
5434 now we ref event sources before propagating, and unref on receipt.
5435 * libspi/registry.c :
5436 some changes to internal structs, to support event typestring hashes.
5437 * text/app.c : changed the way the appname is generated.
5438 * cspi : added directory that will hold the C bindings library for
5439 non-CORBA/bonobo-savvy clients.
5440 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5441 * idl/Component.idl : added in parameter to indicate coord system for
5442 geometry-related calls.
5443 * idl/Hyperlink.idl : added readonly n_links attribute
5444 * idl/Image.idl : changed methods to attributes.
5446 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5448 * at-bridge/Makefile.am: link against
5449 ../libspi/libspi.la instead of -lspi.
5451 * at-spi/test/app.c: include
5452 bonobo-activation.h. Use a default appname
5453 if one is not provided.
5455 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5457 * idl/Registry.idl : temporarily changed register_Application
5458 to oneway, to work around issue with initial registration
5460 * idl/Application.idl : changed attribute "id" from readonly
5461 to read-write, since it needs to be assigned by Registry.
5462 * registryd/registryd.c : added call to set application id
5464 * registryd/registry.c : changed de-registration procedure to
5465 use CORBA_Object_hash() to find matching object ref in application
5466 lists and listener lists.
5467 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5468 began distinguishing between event types (work in progress).
5470 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5473 * libspi/application.c:
5474 Added implementations for get/set id, get_toolkitName,
5476 * registryd/registryd.c :
5480 Converted from use of OAF to bonobo-activation.
5481 * libspi/desktop.h :
5482 * libspi/desktop.c :
5484 Removed references to atksimpleobject, since base atkobject
5485 implementation now provides functionality we need.
5486 * libspi/atksimpleobject.c :
5487 * libspi/atksimpleobject.h :
5492 * at-bridge/Makefile.am
5493 * at-bridge/bridge.c
5496 Added directory "bridge" and contents, and added dependencies
5497 in Makefile.am/configure.in.
5498 Initial checkin of "at-bridge".
5499 This code is a GTK_MODULE which automatically registers
5500 GTK+ apps with the accessibility registry, using an object
5501 reference to the root ATK object.
5503 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5505 * po/Makefile.in.in: Remove. Again. If this
5506 doesn't get autogenerated - you need to update
5509 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5511 * po/Makefile.in.in: Add. Again.
5513 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5515 * libspi/accessible.c : added support for 'description' property.
5516 * libspi/accessible.c
5518 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5519 (since the two are now equivalent in libbonobo)
5527 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5528 Bonobo::Unknown as does Accessibility::Accessible.
5529 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5530 interface with Bonobo::Stream, since it was redundant with it.
5531 (The Stream returned by a StreamableContext object is expected to
5532 implement only a subset of Bonobo::Stream)
5534 2001-07-28 Anders Carlsson <andersca@gnome.org>
5536 * libspi/accessible.c (accessible_object_finalize): Change
5537 g_free to g_object_unref since the AtkObject is a GObject.
5539 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5541 * idl/Accessibility.idl: add new IDL files
5544 * idl/Action.idl: Definitions of actionable UI object
5545 * idl/Component.idl: Definitions of UI component geometry, etc.
5546 * idl/Hyperlink.idl: Defs of hyperlink behavior
5547 * idl/Image.idl: Def of accessible image
5548 * idl/Selection.idl: Definition of UI object with selectable children
5549 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5550 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5551 * idl/Text.idl: Interface defs for UI elements with complex textual content
5552 * idl/Value.idl: Definition of UI element that is a value controller or display
5554 2001-07-27 Michael Meeks <michael@ximian.com>
5556 * po/Makefile.in.in: remove autogenerated file from CVS.
5558 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5561 * idl/Registry.idl: include guard.
5563 * idl/Accessibility.idl: Add, and include all the other IDL
5566 * idl/*.idl: remove mass of pragmas etc.
5568 2001-07-26 Michael Meeks <michael@ximian.com>
5570 * registryd/Makefile.am (registryd_SOURCES): remove
5573 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5575 * libspi/.cvsignore, registryd/.cvsignore,
5576 test/.cvsignore: updated.
5578 * po/Makefile.in.in: gettext update.
5580 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5582 * initial CVS checkin
5584 2001-06-29 Michael Meeks <michael@ximian.com>
5586 * configure.in: add AM_CONFIG_HEADER to gen config.h