1 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
3 * atk-bridge/bridge.c: Add support for extended events
4 * cspi/spi_event.c: Add documentation and implementation for
6 * tests/event-listener-test.c: Add tests for extended events.
8 This fixes bugs #100424 and #100426.
10 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
12 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
13 of LT_CURRENT. This fixes bug #89350.
15 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
17 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
18 number of signal parameter values before accessing them. This fixes
21 2003-04-01 Bill Haneman <bill.haneman@sun.com>
23 * configure.in: Fixed duplicate inclusion of -lspi.
24 * branched for gnome-2-2/HEAD.
25 [created tag "gnome-2-2"]
27 2003-03-07 Bill Haneman <bill.haneman@sun.com>
29 * configure.in: 1.1.9 release.
32 2003-03-07 Bill Haneman <bill.haneman@sun.com>
34 [needed by GOK, to fix bugs 107985 and 107988]
35 * registryd/deviceeventcontroller.c:
36 (spi_dec_clear_unlatch_pending):
37 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
38 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
39 (spi_dec_init_mouse_listener):Emit warning if mouse button
41 (spi_device_event_controller_forward_mouse_event):
42 Removed unnecessary parens from a conditional.
43 (global_filter_fn):Added TODO comment.
44 (impl_generate_keyboard_event):
45 Cancel a pending relatch if a 'delatching' key was
48 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
50 * atk-bridge/bridge.c:
51 Change atk_signal_child_changed to atk_signal_children_changed.
52 Reorganize code in spi_atk_bridge_signal_listener().
54 * test/event-listener-test.c:
55 Add children_changed_listener and report_children_changed_event()
56 to test AccessibleChildEvent_getChildAccessible.
58 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
60 * cspi/spi_event.c (cspi_internal_event_get_text): Change
61 g_strdup to CORBA_String_dup (bug #105291)
63 * test/event-listener-test.c (report_text_event): Add call to
66 2003-02-28 Bill Haneman <bill.haneman@sun.com>
68 * registryd/deviceeventcontroller.c:
69 (spi_keystroke_from_x_key_event):
70 Fix string and keysym return codes to match modifier state.
73 2003-02-28 Bill Haneman <bill.haneman@sun.com>
75 * registryd/deviceeventcontroller.c:
76 (spi_keystroke_from_x_key_event):
77 Fix segv due to improper use of isprint(c). [bug #107254]
79 2003-02-24 Bill Haneman <bill.haneman@sun.com>
82 (get_accessible_text_boundary_type):
83 Move default return value to (new) default case in switch.
84 (get_accessible_text_clip_type):
85 Move default return value to (new) default case in switch.
87 * libspi/application.c:
88 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
89 Remove unused methods.
90 (impl_accessibility_application_register_object_event_listener):
91 Remove unused methods.
94 Added #include of <math.h>.
96 * registryd/deviceeventcontroller.c:
97 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
98 we don't currently use this method.
99 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
101 (impl_generate_key_event):
102 Remove unused variables.
103 (impl_generate_mouse_event):
104 Initialize button to zero, just in case we get an invalid
105 input. Added support for mouse buttons 4 and 5.
106 (spi_device_event_controller_new):
107 Removed unused variable declaration for 'private'.
109 Added #include of <gdk/gdk.h>
111 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
113 * configure.in: Update to work when X is not installed in expected
114 location. Fixes bug #105836.
116 * atk-bridge/bridge.c
117 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
119 (spi_atk_register_event_listener): Add signal listener for
121 (spi_atk_bridge_signal_listener): Event event when link-selected
122 signal is emitted. (bug #104622)
124 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
125 on returned string. (bug #105291)
127 * test/event-listener-test.c: Add test for link-selected.
129 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
131 * atk-bridge/Makefile.am: Correct typo in previous commit.
133 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
135 * atk-bridge/Makefile.am: Allow for build directory to be different
136 from source directory
138 * registryd/Makefile.am: Allow for build directory to be different
139 from source directory
143 2003-01-29 Bill Haneman <bill.haneman@sun.com>
146 Fixed dependencies for libcspi so that libspi gets pulled in
147 properly. Fixes 104741.
151 Clean up inline docs a little.
153 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
155 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
156 This is done by implementing AtkComponent for SpiAtkDesktop, which is
157 the AtkObject within an SpiDesktop.
158 This addresses bug #101524.
160 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
161 Remove call to gdk_init().
163 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
164 so that Display is set when SpiDesktop is created.
166 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
168 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
169 This fixes bug #102830.
171 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
173 * test/test-simple.c: Update to take account of fact that GailButton
174 now implements AtkText.
175 (create_text_window): Set name on AtkObject for GtkEntry.
176 (validate_accessible): Check accessible name before calling test_text().
178 * libspi/Makefile.am: Fix problem with building outside of source
179 directory. Bug #98120.
181 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
182 typo in documentation comments. Bug #94275.
184 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
186 * libspi/text.c (impl_getBoundedRanges): Bug fix.
188 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
191 Add includes to avoid compiler warnings on Solaris.
192 (impl_getRangeExtents): Bug fix.
194 2002-12-17 Bill Haneman <bill.haneman@sun.com>
196 Fix for 100944, [API addition approved by Gman and murrayc].
203 * idl/Accessibility_Text.idl:
204 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
205 (Text::getRangeExtents): New method for efficient
206 bounds query of a text range.
207 (Text::getBoundedRanges): New method for efficient
208 clipping of text to bounding boxes.
209 (unImplemented7, unImplemented8):
210 Removed these padding methods to preserve bincompat.
213 (impl_getRangeExtents): implementation of new IDL.
214 (impl_getBoundedRanges): implementation of new IDL.
215 (SpiTextRect): Internal use struct.
216 (_spi_text_rect_union): internal method, calculates union of two
217 SpiTextRect bounding rects.
218 (_spi_text_range_seq_from_gslist): internal method, allows us
219 to build our sequence efficiently as a gslist then convert it
221 (_spi_bounds_contain): internal method, determines whether
222 a text character is "in" or "out" of a clip rect according to
223 values of TEXT_CLIP_TYPE.
224 (spi_text_class_init): Initialize the new methods in the epv.
227 (AccessibleTextClipType): New enum used by screen review api.
228 (AccessibleTextRange): New struct used by screen review api.
229 (AccessibleText_getRangeExtents):
230 cspi binding for Accessibility_Text_getRangeExtents.
231 (AccessibleText_getBoundedRanges):
232 cspi binding for Accessibility_Text_getBoundedRanges.
233 (AccessibleTextRange_freeRanges): convenience method.
236 (AccessibleText_getRangeExtents):
237 cspi binding for Accessibility_Text_getRangeExtents.
238 (AccessibleText_getBoundedRanges):
239 cspi binding for Accessibility_Text_getBoundedRanges.
240 (AccessibleTextRange_freeRanges): convenience method.
241 (get_accessible_text_clip_type): internal conversion method.
242 (get_accessible_text_ranges_from_range_seq): internal conversion method.
244 * registryd/deviceeventcontroller.c:
245 (spi_dec_mouse_check):
246 Improved behavior for mouse:abs events
247 [same granularity as mouse:rel events, and no
248 events when mouse is idle].
250 2002-12-16 Michael Meeks <michael@ximian.com>
252 * cspi/spi_accessible.c (spi_state_to_corba): rename.
254 * libspi/stateset.c (state_spi_to_atk): split out
255 ( fix several remote array bounds nasties )
256 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
257 (impl_remove): make safe from array bounds issues.
258 (spi_atk_state_from_spi_state): impl.
260 * libspi/stateset.h (spi_state_set_cache_is_empty):
261 add a set of wrapper defines to get layering right.
263 * cspi/spi_accessible.c: update state set stuff to
266 2002-12-14 Michael Meeks <michael@ximian.com>
268 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
269 to avoid 2 roundtrips to the registry per key event
270 (spi_atk_bridge_key_listener): upd.
271 (deregister_application): release the dec.
273 * registryd/registry.c (notify_listeners_cb):
274 bin lots of re-enterant complexity - we no longer
275 do a round-trip bonobo ref here, ensure that a single
276 listener's exception failure won't poison all other
278 (impl_registry_notify_event): bin obvious memory leak.
280 2002-12-13 Michael Meeks <michael@ximian.com>
282 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
283 init the ev so the error is meaningful.
284 (spi_atk_bridge_key_listener): ditto.
286 * cspi/spi_main.c (cspi_ev): init the ev so we start
287 with a clean slate, otherwise the first exception
290 * cspi/spi_text.c (get_accessible_text_boundary_type):
291 add a fallthrough for no warnings.
293 * cspi/spi_registry.c: prune unused warnings.
295 * cspi/spi_main.c (cspi_object_take): fix
296 mind-blowing brokenness ( by watching the compile
299 * cspi/spi_accessible.c (Accessible_getStateSet):
300 re-impl. to use an AtkStateSet.
301 (spi_state_type_from_accessible_state),
302 (init_state_table): bin these.
304 * libspi/stateset.c (spi_atk_state_set_from_sequence):
306 (atk_state_set_from_accessibility_state_set): here.
308 * cspi/spi_accessible.c (spi_state_to_atk): impl.
309 (AccessibleStateSet_contains, AccessibleStateSet_ref),
310 (AccessibleStateSet_unref, AccessibleStateSet_contains),
311 (AccessibleStateSet_add, AccessibleStateSet_remove),
312 (AccessibleStateSet_equals, AccessibleStateSet_compare),
313 (AccessibleStateSet_isEmpty): re-write to use a local
316 2002-12-13 Bill Haneman <bill.haneman@sun.com>
318 * configure.in: Revved to 1.1.7 (new keymask vals).
320 2002-12-10 Bill Haneman <bill.haneman@sun.com>
323 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
325 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
328 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
329 to compare two CORBA_TypeCodes.
330 (cspi_internal_event_add): Silence warning from FORTE compiler.
332 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
333 avoid implicit declaration of functions.
335 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
337 * atk-bridge/bridge.c:
338 (spi_atk_bridge_init_event_type_consts): Store signal id for
339 active-descendant-changed signal.
340 (spi_atk_register_event_listeners): Add signal listener for
341 active-descendant-changed signal,
342 (spi_atk_bridge_signal_listener): Move code in function
343 spi_atk-signal_emit_event() into this function.
344 Add support for active-descendant-changed
345 Update support for child-changed signal.
346 (spi_bridge_window_event_listener): Silence warning.
348 * libspi/spi_private.[ch]:
349 (spi_init_any_object): Change second parameter from CORBA_Object to
351 Omit call to CORBA_Object_duplicate().
352 Set CORBA_any's _value to CORBA_Object*.
354 2002-12-06 Bill Haneman <bill.haneman@sun.com>
360 (AccessibleEvent_ref, AccessibleEvent_unref):
361 New methods, for persisting an event outside the emission context.
362 Must be used if the new accessor methods are to be called
363 outside of the event listener's callback.
365 * cspi/bonobo/cspi-bonobo.c:
366 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
367 as second parameter instead of NULL, so we can call
368 cspi_check_ev afterwards.
371 (cspi_object_take): New internal method,
372 converts a CORBA_Object reference to a hard ref on
373 an Accessible if possible, returning NULL if the object
374 reference is invalid or an Accessible * otherwise.
377 (AccessibleEvent_ref):
378 Increment the event's internal private refcount, and
379 add the event's internal struct to an internal cache
380 if it's not already there.
381 (AccessibleEvent_unref):
382 Decrement the event's refcount and remove it from
383 the cspi event cache if refcount==0.
384 (cspi_event_compare): New private method.
385 Compares two event structs via their ids. Used
387 (cspi_internal_event_lookup): New private method.
388 (cspi_internal_event_check): New private method,
389 a 0-order sanity check for events to make sure their
390 private data is intact.
391 (cspi_internal_event_add, cspi_internal_event_remove):
392 New private methods for managiing the event cache.
394 * cspi/bonobo/cspi-bonobo-listener.c:
396 Initialize the new private data elements (id, magic, ref_count).
398 * atk-bridge/bridge.c:
399 (spi_atk_bridge_signal_listener):
400 Fixed bug #100530, passing wrong params to emission func.
402 * registryd/deviceeventcontroller.c:
403 (spi_dec_button_update_and_emit):
404 Fixed type in mask bit operations; fix for #99799.
406 2002-12-02 Bill Haneman <bill.haneman@sun.com>
408 Removed some of the more dangerous workarounds from
409 previous commit; they are only needed by GOK, which
410 in reality should be using another method to accomplish
411 the goals. So on reconsideration some of the workarounds
414 * registryd/deviceeventcontroller.c:
415 (spi_keycodes_contain, spi_dec_init_keycode_list):
416 Removed these methods, used only by a nasty hack to try
417 and detect whether a key synthesis should be allowed
418 to reset the XKB latch state or not. This code was only
419 required to work around an interaction between GOK,
420 button events, and XKB.
421 (impl_generate_key_event):
422 Removed hack at end of key generation that tried to
423 "do the right thing" if XKB latch keys were generated
424 in the midst of button press/release pairs.
427 Added a check for HAVE_XINPUT. Not normally used yet.
429 2002-11-25 Bill Haneman <bill.haneman@sun.com>
431 Workarounds and fixes for mouse event/XKB interaction.
433 * registryd/deviceeventcontroller.c:
434 (spi_keycodes_contain, spi_dec_init_keycode_list):
435 New internal methods.
436 (spi_dec_set_unlatch_pending):
437 Split the method that tells XKB to expect an
438 unlatch (and revert it) out of the rest of the
439 event handling code. This method is called by the
440 two mouse event handlers (the poll and the filter).
441 (spi_dec_update_and_emit, spi_dec_mouse_check):
442 New methods split from spi_dec_poll_mouse_moved.
443 The second one is now called from inside the filterFn
444 when an XKB delatch event is received, to determine
445 whether to revert the delatch or not.
446 (spi_poll_mouse_moved): Refactor; also we can now
447 properly handle the case where multiple button states
448 have changed between polling cycles and we didn't get
449 notified due to another client's grab.
451 Synchronize the server while handling an XKB notification.
452 Ugly, but apparently necessary to avoid nasty races.
453 Check the mouse state on receipt of an XKB latch change,
454 to decide whether to revert the latch or not. (Latches are
455 reverted if there is an immediately preceding mouse button
456 event that a client has consumed, in which case we don't want
457 the user to see the side-effect of the event).
458 (spi_device_event_controller_forward_mouse_event):
459 Check for modifier events and fire before resetting mouse_mask_state,
460 prevents losing modifier events.
462 (impl_generate_keyboard_event):
463 If we've just generated a keyboard event for a non-shift key,
464 we don't want to revert the pending XKB latch.
465 Otherwise, check the modifier state (via a call to
466 spi_dev_mouse_check) and set the relatch mask to
467 that state before returning.
469 2002-11-24 Bill Haneman <bill.haneman@sun.com>
472 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
475 * atk-bridge/bridge.c:
476 (spi_atk_register_event_listeners):
477 Don't re-register for ATK events if the registry has died
478 and the app needs to re-register; the ATK listeners are in
479 process and doing so will cause duplicate emission.
481 * registryd/deviceeventcontroller.c:
482 (spi_poll_mouse_moved):
483 Reformat the source, detect and emit multiple button-change
484 events (i.e. if multiple buttons have changed between poll
486 Add code to detect mouse-down events even when the pointer
487 is grabbed; workaround for GOK bug 98420.
488 (spi_controller_register_with_devices):
489 Call XTestGrabControl with 'impervious' flag set to True,
490 allows us to synthesize events and query the pointer even during
491 an active grab by another client.
492 (spi_device_event_controller_forward_mouse_event):
493 Set the mouse_mask_state to the mouse_button_state from
494 the intercepted event, to synchronize the grab listener with
497 2002-11-20 Bill Haneman <bill.haneman@sun.com>
499 * cspi/spi_accessible.c:
500 (AccessibleRole_getName):
501 Added necessary strings for making this (deprecated)
502 method work with the new role types.
503 (init_role_table, role_table):
504 Added definition of SPI_ROLE_APPLICATION.
506 * libspi/spi-roletypes.h:
507 Added SPI_ROLE_APPLICATION.
509 * idl/Accessibility_Role.idl:
510 Added ROLE_APPLICATION.
512 * docs/reference/cspi/at-spi-cspi-decl.txt:
513 Added SPI_ROLE_APPLICATION to docs.
515 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
517 * cspi/spi_accessible.c
518 (cspi_init_role_table): Do not write beyond end of role_table.
519 (Accessible_getRole): Use correct type for value returned by
520 Accessibility_Accessible_getRole().
522 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
523 beyond end of role_table. (This fixes bug #98269)
525 * libspi/application.c: Add include file spi-private.h for
526 definition of spi_init_any_nil.
528 2002-11-19 Bill Haneman <bill.haneman@sun.com>
532 * libspi/spi-private.h:
533 Added DGB() macro, and extern int _dbg declaration.
535 * registryd/registry.c:
536 (definitions) storage for _dbg.
538 Get environment variable "AT_SPI_DEBUG".
539 (spi_registry_set_debug):
540 New method, to initialize _dbg value.
541 (spi_listener_struct_new, spi_registry_object_finalize):
542 (notify_listeners_cb):
543 Changed fprintfs to use DBG and g_warning().
545 * registryd/deviceeventcontroller.c:
546 (_deregister_keygrab, spi_controller_register_device_listener):
547 Changed debug/warning messages to use DBG macro.
551 Changed warning messages to use DBG macro and g_warning().
553 * atk-bridge/bridge.c:
554 (atk_bridge_init, spi_atk_bridge_get_registry):
555 (spi_atk_bridge_exit_func):
556 (spi_atk_bridge_property_event_listener):
557 Changed status, warning, and error messages to use
558 g_warning, g_message, and DBG macros.
561 Read the state of the AT_SPI_DEBUG environment variable
562 and set a local '_dbg' accordingly.
564 2002-11-19 Bill Haneman <bill.haneman@sun.com>
566 FIXES for 98836, 98842, other bugs.
569 Revved to 1.1.4, interface-age=4, binary-age=4.
571 * registryd/deviceeventcontroller.c:
573 Fixed crasher bug in last_mouse_pos initialization.
575 * registryd/registry.c:
576 (desktop_add_application, desktop_remove_application):
577 Added (and then commented out) some support for
578 object context marshalling. [TODO]
580 * atk-bridge/bridge.c:
581 (spi_atk_bridge_event_context_create):
582 Commented out object context creation until it can
583 be properly tested and debugged.
585 * registryd/registry.c:
586 (impl_registry_notify_event):
587 Fixed crasher bug, we were calling
588 spi_re_entrant_list_foreach () with an empty list.
590 2002-11-18 Bill Haneman <bill.haneman@sun.com>
592 * idl/Accessibility_Action.idl:
593 * idl/Accessibility_Component.idl:
594 * idl/Accessibility_Desktop.idl:
595 * idl/Accessibility_Event.idl:
596 * idl/Accessibility_Hyperlink.idl:
597 * idl/Accessibility_Image.idl:
598 * idl/Accessibility_Relation.idl:
599 * idl/Accessibility_Selection.idl:
600 * idl/Accessibility_State.idl:
601 * idl/Accessibility_Value.idl:
602 Updated unimplemented slot count to minimum of
603 four for all interfaces, for ABI freeze.
605 * idl/Accessibility_EditableText.idl:
606 * idl/Accessibility_Text.idl:
607 Updated unimplemented slot count to six
610 * idl/Accessibility_Registry.idl:
611 Updated unimplemented slot count to six
612 (also for DeviceEventController),
615 * idl/Accessibility_Table.idl:
616 Updated unimplemented slot count to eight,
619 * idl/Accessibility_Event.idl:
620 Added CORBA_any "any_data" member to Event struct.
622 * idl/Accessibility_Event.idl:
623 Added CORBA_any "any_data" member to Event struct.
625 * atk-bridge/bridge.c:
627 atk_signal_text_changed, atk_signal_child_changed,
628 signal ids queried from gtype system.
629 (AtkBridgeEventContextType): New enum.
630 (AtkBridgeEventContextData): New struct.
631 (AtkBridgeEventContext): New struct.
632 (atk_bridge_init_event_type_consts):
633 New method, initializes type contants for comparison
634 prior to emit_eventv.
635 (atk_bridge_event_context_init): New method,
636 initializes a CORBA_any from an AtkBridgeEventContext.
637 (atk_bridge_focus_tracker): Call spi_init_any_nil to
638 initialize the event.any_data struct.
639 (spi_atk_bridge_event_context_create): New method,
640 creates an AtkBridgeEventContext from signal/event info.
641 (spi_atk_bridge_event_context_free): New method.
642 (spi_atk_emit_eventv): Changed to take an
643 AtkBridgeEventContext parameter. We now initialize
644 the event.any_data member prior to notifying the
645 Registry, via the AtkBridgeEventContext.
646 (spi_atk_bridge_property_event_listener):
647 (spi_atk_bridge_state_event_listener):
648 Match emit_eventv signature.
649 (spi_atk_bridge_object_event_listener):
650 Match emit_eventv signature, and create an
651 event context from the event details.
652 Free the event context afterwards.
653 (spi_atk_bridge_window_event_listener):
654 Create an event context, pass it to the
658 (AccessibleEvent_getContextString):
659 (AccessibleEvent_getContextObject):
660 New methods, allow query of AccessibleEvent objects
661 for more context details (via the "any_data" member
662 of the Event struct, above).
665 Definitions for AccessibleEvent_getContextString
666 and AccessibleEvent_getContextObject.
668 * cspi/spi_listener.h:
669 (InternalEvent): New struct.
672 (AccessibleEvent_getContextString):
673 (AccessibleEvent_getContextObject):
674 Implementations of new methods, for obtaining
675 additional context information from some event types.
677 * cspi/spi_registry.c:
678 (SPI_registerGlobalEventListener):
679 Added mention of active-descendant-changed event in docs.
681 * cspi/cspi-bonobo-listener.c:
683 Marshal the any into the AccessibleEvent via
686 * libspi/spi-private.h:
687 #include <orbit/orbit.h>
689 (spi_init_any_string):
690 (spi_init_any_object):
691 New convenience function declarations.
695 (spi_init_any_string):
696 (spi_init_any_object):
697 New convenience function implementations.
699 * registryd/deviceeventcontroller.c:
700 (spi_poll_dec_mouse_moved):
701 (spi_device_event_controller_forward_mous_event):
702 Initialize any_data member of event.
703 (spi_deregister_controller_device_listener):
704 Fix incorrect param pass which was preventing deregistration.
706 * registryd/registry.c:
707 (desktop_add_application):
708 (desktop_remove_application):
709 Add object data to event's any_data before dispatch.
711 Fix for error messages from GAIL.
713 * test/event-listener-test.c:
714 Test new ContextString and "any_data" API:
715 (report_text_event): New method query and output context string.
716 (main): register a new text listener with report_text_event
719 2002-11-19 Darren Kenny <darren.kenny@sun.com>
721 Fixes for bugs 98127 and 97914.
722 * cspi/spi-roletypes.h:
723 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
725 * cspi/spi-statetypes.h:
726 Added SPI_STATE_MANAGES_DESCENDANTS
728 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
729 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
730 * cspi/spi_accessible.c:
731 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
732 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
733 Accessibility_STATE_MANAGES_DESCENDANTS
734 * libspi/accessible.c:
735 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
736 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
737 As requested by Bill, I also cleaned up the alignment.
739 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
740 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
742 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
743 Accessibility_STATE_MANAGES_DESCENDANTS
744 * docs/reference/cspi/tmpl/spi_accessible.sgml:
745 Document changes reflecting modifications to roles.
746 * docs/reference/cspi/tmpl/spi_relation.sgml:
747 Document changes reflecting modifications to relations.
748 * docs/reference/cspi/tmpl/spi_stateset.sgml:
749 Document changes reflecting modifications to states.
751 2002-11-17 Bill Haneman <bill.haneman@sun.com>
754 Revved to 1.1.3, interface-age=3, binary-age=3.
758 Removed accessx-gui from the tests, since we have a nice
759 keyboard accessibility capplet now :-)
761 * test/keysynth-demo.c:
762 (increment_scan): removed do-nothing default: case,
765 * test/visual-bell.c:
766 (main) : removed do-nothing default: case,
770 (AccessibleAction_getKeyBinding_):
771 Documented keybinding string format.
775 (AccessibleText_getAttributes):
776 Documented the text attribute string format.
777 It's changed to use semicolon delimiters also,
778 to prevent clashes with CSS attributes, but the old
779 trick of looking for ", " strings will still work
780 (as unreliably as ever). Fix for bug related to 97916.
783 Include <cspi/bonobo/cspi-bonobo-listener.h>
785 (SPI_freeAccessibleKeySet):
786 (AccessibleKeystrokeListener_addCallback):
787 (AccessibleKeystrokeListener_removeCallback):
788 Modify to use AccessibleDeviceListener API internally,
789 instead of AccessibleKeystrokeListener.
791 * idl/Accessibility_Event.idl:
792 Added two more empty slots to EventListener (for a total of four).
794 * idl/Accessibility_Accessible.idl:
795 Added four empty slots to Accessible interface.
797 2002-11-15 Bill Haneman <bill.haneman@sun.com>
799 * idl/Accessibility_Registry.idl:
800 (KeyEventType, EventType):
801 Marked KeyEventType as deprecated; it duplicates
802 functionality of EventType, which has been extended to
803 include Mouse-button events.
804 (KeyEventTypeSeq): defined in terms of EventType.
805 (registerDeviceEventListener, deregisterDeviceEventListener):
806 New methods, for managing listeners to device events,
807 which potentially may consume them.
810 Added definition for AccessibleDeviceListener.
812 * cspi/spi-listener.h:
813 (enum AccessibleDeviceEventType):
814 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
815 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
816 for backwards compat.
817 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
818 and typedef'd AccessibleKeystroke to it for back-compat.
819 (AccessibleDeviceListenerCB):
820 New function prototype typedef.
823 (AccessibleDeviceEventMask): New typedef.
824 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
825 (AccessibleKeyMaskType):
826 Set equivalent to AccessibleModifierMaskType for back-compat.
827 (SPI_createAccessibleKeystrokeListener):
828 (AccessibleKeystrokeListener_unref):
829 Deprecated in favor of equivalent (better-named) new API below..
830 keystroke listeners are like all device listeners.
831 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
832 New API names for old features :-).
833 (AccessibleDeviceListener_addCallback):
834 (AccessibleDeviceListener_removeCallback):
835 (SPI_registerDeviceEventListener):
836 (SPI_deregisterDeviceEventListener):
840 (SPI_createAccessibleKeystrokeListener):
841 Use new preferred API, cspi_device_listener_new() and
842 cspi_device_listener_add_cb().
843 (AccessibleKeystrokeListener_removeCallback):
844 Use new preferred API, cspi_device_listener_remove_cb().
845 (AccessibleKeystrokeListener_unref):
846 Use new preferred API, cspi_device_listener_unref().
847 (SPI_createAccessibleDeviceListener):
848 (AccessibleDeviceListener_addCallback):
849 (AccessibleDeviceListener_removeCallback):
850 Implementation of new API.
852 * cspi/spi_registry.c:
853 (SPI_registerDeviceEventListener):
854 (SPI_deregisterDeviceEventListener):
855 Implementation of new API. Fixed memory leak and removed need to
856 allocate EventTypeSeq (thanks Michael for catching this).
857 Squashed a wayward CORBA_exception_free that shouldn't get called.
859 * cspi/bonobo/cspi-bonobo-listener.c:
861 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
862 (cspi_key_event): renamed to cspi_device_event().
863 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
864 Extended to handle mouse button events as well as key events.
865 (CSpiKeystrokeListener):
866 Class superceded by CSpiDeviceListener.
867 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
868 These internal APIs changed to "*device_listener" from "*keystroke_listener".
870 * cspi/bonobo/cspi-bonobo-listener.h:
871 (CSpiKeystrokeListener):
872 Class superceded by CSpiDeviceListener.
873 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
874 These internal APIs changed to "*device_listener" from "*keystroke_listener".
876 * libspi/Makefile.am:
877 Replaced keystrokelistener.h and keystrokelistener.c
878 with devicelistener.h and devicelistener.c; keystrokelisener.h
879 stub retained for back-compat.
881 * libspi/keystrokelistener.c:
885 Replaced inclusion of keystrokelistener.h with devicelistener.h.
887 * registryd/deviceeventcontroller.c:
888 (DEControllerListener): Added Accessibility_EventTypeSeq member.
889 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
890 (DEControllerPrivateData): Added xkb settings data.
891 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
892 button release events (which can't be captured via XGrabButton).
893 Don't dispatch via the 'normal' event mechanism if the device event was
895 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
896 Handle the typeseq data in its new location (see above).
897 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
898 New methods, for "generic" device listeners.
899 (spi_controller_register_device_listener):
900 Now handle mouse event listeners as well as key listeners.
901 (spi_controller_notify_mouselisteners):
903 (spi_device_event_controller_forward_mouse_event):
904 Now we notify mouse device listeners as well as generating the
905 non-consumable "mouse:" events.
907 We must check and restore the XKB
908 modifier map if we consume the event, since the act of triggering
909 a mouse event will normally reset the XKB latch. This is required for
911 (spi_controller_register_with_devices):
912 Load the XKB settings when registering, and register for XKB
914 (spi_key_eventtype_seq_contains_event):
915 Renamed spi_eventtype_seq_contains_event, since it's used
916 internally for all device event types now.
917 (spi_key_event_matches_listener):
918 Uses spi_eventtype_seq_contains_event now.
919 (spi_device_event_controller_object_finalize):
920 Free the private data and the XkbKeyboard struct.
921 (impl_register_device_listener, impl_deregister_device_listener):
922 Implementation of new IDL.
923 (spi_deregister_controller_device_listener):
925 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
926 More efficient implementation, we don't have to create a new
927 XkbControls structure every time we query.
928 (spi_device_event_controller_class_init):
929 Initialize the epv entries for the new IDL. Assign the
930 "spi-dec-private" quark.
931 (spi_device_event_controller_init):
932 Initialize the private data.
933 (spi_device_event_controller_forward_key_event):
934 Removed a bogus CORBA_exception_free() call.
936 * registryd/deviceeventcontroller.h:
937 Replaced inclusion of keystrokelistener.h with
940 * test/event-listener-test.c:
941 (report_mouse_event):
944 Added mouse-event device listener.
946 * test/test-simple.c:
947 (create_test_window):
948 Fixed regression (we were instantiating a GtkRange,
949 which is now an abstract class). Also fixed to match
950 existing AtkRole names, this seems to have changed in ATK
951 awhile ago; too late now I think, and the new
952 mechanism is at least elegant and consistent with the
953 glib enum "nick" APIs.
955 2002-11-15 Darren Kenny <darren.kenny@sun.com>
957 * idl/Accessibility_Relation.idl:
958 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
959 RELATION_EMBEDS,RELATION_EMBEDDED_BY
960 * idl/Accessibility_Role.idl:
961 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
962 * idl/Accessibility_State.idl:
963 add STATE_MANAGES_DESCENDANTS
964 * test/event-listener-test.c:
965 Added a listener for active-descendant events.
967 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
969 * atk-bridge/bridge.c
970 (atk_bridge_init): If application is Bonobo component wait until top
971 level is added before registering
972 (spi_atk_bridge_do_registration): New function which contains code,
973 formerly in atk_bridge_init, to do application registration.
974 (spi_atk_bridge_toplevel_added): Signal called when top level
975 added to Bonobo component
977 This fixes bug #83134.
979 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
981 * registryd/deviceeventcontroller.c
982 Fixed compilation error caused by calling gettimeofday()
985 2002-10-18 Bill Haneman <bill.haneman@sun.com>
990 Added template for HAVE_XKB.
993 Changes to check for XKB, and to set the HAVE_XKB #define if it
997 ()impl_notify_event): Make failure to get event source name
1000 * registryd/deviceeventcontroller.c:
1001 (#include): include X11/XKBlib.h.
1002 (DEControllerPrivateData) : New struct.
1003 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1005 (dec_synth_keycode_press) (dec_synth_keycode_release):
1006 New methods; split the key synthesis code into these methods.
1007 They check XKB settings before determining the "time" values to
1008 pass to Xtest; this fixes bug #95828.
1009 (impl_generate_keyboard_event): Changed to use methods above,
1010 instead of callng Xtest directly.
1011 (spi_device_event_controller_init): Initialize new privae struct s
1013 (spi_device_event_controllr_object_finalize):
1014 Free the (new) private data.
1016 * registryd/deviceeventcontroller.h:
1017 Add new gpointer to end of struct data.
1019 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1022 Incremented revision to 1.1.2, SONAME is still '.so', library
1023 extensions are ".so.0.0.2".
1025 * registryd/deviceeventcontroller.c:
1026 FIXES FOR #93592 and #95940.
1027 (statics): renamed mouse_button_state to mouse_mask_state,
1028 added key_modifier_mask.
1029 (spi_dec_poll_mouse_moved):
1030 Added key modifier checks, and emit "keyboard:modifiers"
1031 events when the key modifiers currently in use change.
1032 Also generate "mouse:abs" events periodically, even if the mouse
1033 is stationary (should we?).
1034 Alternatively we could generate "mouse:abs" events for either all
1035 mouse movements, or every 'nth' mouse movement, or at the
1036 beginning and end of every "active" mouse period.
1038 * test/event-listener-test.c:
1039 (main): Added listener for "keyboard:modifiers" events.
1041 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1043 * libspi/keymasks.h:
1044 Added key mask #defines for mouse buttons; e.g.
1045 SPI_KEYMASK_BUTTON1, etc.
1048 Incremented dependency on ATK to version 1.1.0. (This dependency
1049 is probably premature but will soon be real enough).
1051 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1053 * libspi/hyperlink.[ch]
1054 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1055 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1058 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1063 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1065 * registryd/deviceeventcontroller.c
1066 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1067 events to be ignored.
1068 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1069 keyboard_mode so that XAllowEvents() can be called.
1073 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1075 * cspi/spi-accessible.c: Correct names of roles returned by
1076 AccessibleRole_getName(). Fixes bug #95055.
1078 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1080 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1083 * registryd/registry.c
1084 (desktop_remove_application: Write diagnostic message to stderr for
1087 (impl_accessibility_registry_deregister_global_event_listener):
1088 Correct size of lists array. This addresses bug #94555).
1090 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1092 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1095 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1097 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1100 * registryd/registry.c (impl_registry_notify_event): Remove
1101 unnecessary call to parser_event_type().
1103 * docs/reference/cspi/tmpl/spi_component.sgml:
1104 Add reference to SPI_LAYER_WINDOW.
1106 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1108 * registryd/registry.c
1109 (desktop_add_application): Remove leak.
1110 (desktop_remove_application): Remove leak.
1111 (parser_event_type): Remove leak.
1113 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1115 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1116 bogus call to CORBA_string_dup(). Also removed unnecessary
1117 g_string_dup/g_free calls.
1119 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1121 * registryd/deviceeventcontroller.c:
1122 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1124 * test/event-listener-test.c:
1125 main: commented out three redundant listeners, to reduce output
1126 noise. (They still are potentially useful for testing).
1129 2002-09-13 Michael Meeks <michael@ximian.com>
1131 * Update all the copyrights to include Ximian.
1133 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1135 * cspi/spi.h: add SPI_LAYER_WINDOW.
1137 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1138 add Accessibility_LAYER_WINDOW case.
1140 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1142 * libspi/component.c: (impl_accessibility_component_get_layer):
1143 add ATK_LAYER_WINDOW case.
1145 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1147 * configure.in: incremented micro version.
1149 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1151 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1154 Clarified and reworded our commit policy.
1157 Started an API "todo" addition list for 2.2.
1160 (impl_getSelection):
1161 Free char pointer from atk_text_get_selection, which was being leaked.
1163 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1166 Small revision to author acknowledgement.
1168 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1170 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1171 If signal has detail add it to the type of the event.
1174 2002-08-12 Michael Meeks <michael@ximian.com>
1176 * test/test-simple.c (global_listener_cb): bin bogosity.
1177 (test_keylisteners): disable, still doesn't work reliably,
1178 certainly not on my system anyway.
1180 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1181 don't leak a reference on the DEC. This round-trip
1182 fetching of the DEC per keystroke sucks, it should be
1185 * cspi/spi-private.h,
1186 * cspi/cspi-lowlevel.h,
1187 * cspi/bonobo/cspi-bonobo-listener.[ch],
1188 * cspi/bonobo/cspi-bonobo.c: get the copyright
1189 notices better - there is still a large amount of
1190 work in at-spi falsely attributed solely to Sun.
1192 * cspi/spi_main.c (cspi_object_ref): kill bogus
1193 hash lookup, just increment the ref.
1194 (SPI_freeString): make explicit the fact that we
1195 handle NULL strings just fine.
1196 (report_leaked_ref): obey coding standards.
1197 (cspi_object_hash, cspi_object_equal): kill retval.
1198 (cspi_object_release): only release if not on loan.
1199 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1200 (cspi_object_borrow, cspi_object_return): impl.
1202 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1203 use cspi_object_borrow / return.
1205 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1207 * cspi/bonobo/cspi-bonobo-listener.c:
1209 Don't call cspi_oject_new() because this is creating a new Accessible
1210 every single time that an event is fired. This causes ATs like at-poke
1211 to nolonger recognise the source of the event and thus ignore it.
1212 Re-use the object from the cache, ref it and then unref it after the
1213 listeners have been called.
1215 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1217 * test/event-listener-test.c:
1218 Added command-line options to disable mouse events (m) and
1221 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1223 * configure.in: Update required versions of ATK, GTK+ and GAIL
1225 * cspi-1.0.pc.in: Add dependency for X include files
1228 * cspi/bonobo/Makefile.am:
1229 Add $(X_CFLAGS) so that X include files
1230 are picked up even if not in standard place (bug #71686)
1232 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1234 * registryd/deviceeventcontroller.c: fix for 84261
1235 (spi_dec_mouse_moved):
1236 Added test of mouse button mask, so that we can detect mouse
1237 button release. Unfortunately we can't otherwise detect mouse
1238 button release events without consuming the mouse press event,
1239 because of the way XGrabButton works. This means that our mouse
1240 release events have a latency dependent on the polling period
1241 while the mouse button is down. At least in this case we only
1242 have to poll while the button is down, and not at other times.
1243 If the button masks don't match with what the last press event
1244 reported, we report the appropriate button release event.
1245 (spi_dec_ungrab_mouse):
1246 New method (not yet called).
1247 (spi_device_event_controller_forward_mouse_event):
1248 New method, sends mouse press event from GdkFilter.
1249 (spi_dec_init_mouse_listener):
1250 Added code to call XGrabButton, redirecting mouse button events to
1251 the root window and our Gdk event loop.
1253 Added code to filter mouse button events, and reordered.
1255 * test/event-listener-test.c:
1257 Added registration for mouse events of type "mouse:button".
1259 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1261 * registryd/deviceeventcontroller.c: partial fix for 84261
1262 (spi_dec_poll_mouse_idle):
1263 New method, a timeout which checks to see if the mouse
1265 (spi_dec_poll_mouse_moving):
1266 A timeout to be called when mouse motion is underway.
1267 (spi_dec_poll_mouse_moved):
1268 A method which fires an event if the mouse has moved, and reports
1269 whether or not it did so.
1270 (spi_dec_init_mouse_listener):
1271 A method which sets up the timeouts above.
1272 (spi_device_event_controller_new):
1273 Now calls spi_dec_init_mouse_listener.
1275 * registryd/registry.c:
1276 (spi_registry_init):
1277 Now we initialize the device event controller when the registry is
1278 initialized, instead of waiting until a client has requested a key
1279 event notification; this is because we need the event controller
1280 for mouse events, but the mouse event registration API is a
1281 "registry" call and doesn't explicitly call the
1282 deviceeventcontroller.
1283 We now report mouse motion events with a 100 ms idle latency and
1284 a 20 ms granularity when motion is in progress.
1286 * test/event-listener-test.c:
1288 We now register the "detail listener" for events of type
1289 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1290 delivered only for the first mouse event received, and thereafter
1291 "mouse:abs" events are delivered.)
1293 * cspi/spi_registry.c:
1294 DOCS: Documented the above mouse event typestrings.
1296 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1298 Happy Summer Solstice...
1300 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1301 (spi_controller_notify_keylisteners):
1302 Changes to remove a listener from the listener list, freeing its
1303 open keygrabs, if a notification to that listener fails. This
1304 means that although a dead listener can continue to hold a passive
1305 keygrab, a maximum of one dispatch to such a listener can fail
1306 before the listener is removed from the list, thus the keygrab
1307 will be released on the next occurrence.
1308 As part of this fix:
1309 (spi_notify_keylisteners):
1310 Renamed to spi_controller_notify_keylisteners, as the controller
1311 instance must now be passed as an argument.
1312 The copied 'notify' GList is now a list of DEControllerKeyListener
1313 objects, since we need more than just the CORBA reference if a
1314 notify fails and we need to deregister the listener.
1315 (impl_notify_listeners_sync):
1316 (impl_notify_listeners_async):
1317 (spi_device_event_controller_forward_key_event):
1318 Modify use of notify_keylisteners in accordance with above
1320 (spi_deregister_controller_key_listener):
1321 New method introduced by refactoring, from
1322 impl_deregister_keystroke_listener.
1323 (impl_deregister_keystroke_listener):
1324 Call spi_deregister_controller_key_listener.
1325 (spi_key_listener_clone):
1326 New method to copy a key listner without doing a 'ref' on the
1327 remote object instance; used to create a notifier list.
1328 (spi_key_listener_data_free):
1329 New method, frees data without unreffing the source.
1331 (spi_key_listener_clone_free): new method.
1332 (spi_key_listener_free):
1333 refactored to call spi_key_listener_data_free.
1335 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1337 * registryd/registry.c: [fix for bug 86048]
1338 (notify_listeners_cb):
1339 Clear CORBA system exceptions which occur when notifying
1340 listeners, before returning to the source of the original event,
1341 since the event source doesn't care if the relayed notify failed.
1342 In other words, don't complain to the atk-bridge if the registry
1343 could not notify all its listeners, that's no fault of the
1344 application and thus should not appear to be an error from the
1345 application's perspective.
1347 * cspi/spi_main.c: [fix for bug 85980]
1349 Replaced use of bonobo_object_dup_ref with call to the wrapper
1350 method, csou_dup_ref (); this silences a compiler warning and
1351 provided more portability.
1353 Ping the registry before return, and restart if necessary.
1355 * cspi/bonobo/cspi-bonobo.c:
1357 New internal method.
1359 Fixed this method to return an object reference, as it should have
1362 * cspi/cspi-lowlevel.h:
1363 Added internal definition for cspi_ping() and fixed
1364 return type of cspi_dup_ref().
1367 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1369 * atk-bridge/bridge.c: [fix for bug 85305]
1370 (spi_atk_bridge_register_application):
1371 New method where the initial application registry calls have been
1372 moved; it allows an application to re-register in response to
1373 certain error conditions (such as a registry restart, see below).
1375 Moved some initialization code to the method
1376 spi_atk_bridge_get_registry, below.
1377 (spi_atk_bridge_get_registry):
1378 New, private accessor function for the Accessibility_Registry
1379 instance. If the registry has not been started before, or has
1380 died (as detected by failure of a CORBA exception), it is
1381 restarted before return, and spi_atk_bridge_register_application
1382 is called again to register with the new bridge instance.
1383 (spi_atk_emit_eventv):
1384 Set registry_died on error; use spi_atk_bridge_get_registry () to
1385 access the registry.
1387 * registryd/registry.c:
1388 (impl_accessibility_registry_register_global_event_listener):
1389 Set listener's event_type_quark to etype.minor instead of
1390 etype.major (fix for bug 84856).
1392 * test/event-listener-test.c:
1393 (report_detail_event):
1394 Change the output string so that user/tester can tell that the
1395 'detail listener' was called instead of the 'generic listener'.
1397 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1399 Fixes for bugs 84900, 84908, 84897, 84898.
1404 Revved version to 1.1.0
1405 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1406 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1408 * idl/Accessibility_Registry.idl:
1409 (EventListener::notifyEvent):
1410 Removed 'oneway' directive after extensive consulation with
1411 ORBit2 team and others. This means also that unref() of the event
1412 source can and should be done synchronously after emission, rather
1413 than remotely in the client, after servicing the notify call on
1416 NOTE: This change speeds up listener performance considerably, but
1417 introduces new latency on the application side. We may want to
1418 add an event queue to the atk-bridge.
1420 * atk-bridge/bridge.c:
1421 (spi_atk_bridge_focus_tracker):
1422 Do a local unref() on the event source after emission.
1424 * registryd/registry.c:
1425 (desktop_remove_application):
1426 Do an unref() on the event source after emission.
1427 (desktop_add_application):
1428 Do an unref() on the event source after emission.
1429 (notify_listeners_cb):
1430 When relaying an event, don't automatically add the event source
1431 to the local object cache, just CORBA_dup it instead. Likewise,
1432 if this method reenters, release the ref rather than calling
1434 (impl_registry_notify_event):
1435 No longer call remote unref() on the event source after dispatch.
1437 * libspi/eventlistener.c:
1438 (impl_accessible_event_notify_event):
1439 Removed remote unref ()
1441 * cspi/bonobo/cspi-bonobo-listener.c:
1443 We now call cspi_object_new() instead of cspi_object_add() on
1444 receipt of an event; thus we only have an implicit object ref
1445 while the cspi_event method is being executed. If we need to keep
1446 a reference to the object, the listener must call ref() on the
1447 object. Thus also we don't need to call cspi_object_unref() after
1448 invoking the listener callbacks in this method.
1452 New internal API for creating a new cspi object, without adding it
1453 to the object cache.
1455 Now uses cspi_object_new() to create the cspi object instance.
1457 Now checks to see if the object is in the internal object cache,
1458 and adds it if necessary before incrementing its refcount (note
1459 that new objects are added with a refcount of 1).
1460 (report_leaked_ref):
1461 New method which gives some information on leaked object instances
1462 if leak detection is turned on.
1464 * test/event-listener-test.c:
1465 (timing_test_event):
1466 New method, used for testing event delivery timing for special
1467 events of type "object:test". It reports elapsed time and
1468 events/sec every 500 events.
1470 Added a new listener, 'test listener', to check timing of event
1471 receipt as noted above.
1473 Added some timing output here also, reports elapsed time every 100
1476 * test/stress-test.c:
1477 Emit events of type "object:test", for use with "event-listener-test".
1479 * test/test-simple.c:
1480 (global_listener_cb):
1481 Call Accessible_ref() on the event source before calling
1482 validate_accessible, since the validation process does pointer
1483 comparisons on the event source, meaning that the event source
1484 needs to be added to the local object cache first. Any use of
1485 such pointer comparisons between Accessible objects requires that
1486 the caller hold an explicit reference to those objects.
1487 We also must therefore call Accessible_unref() when leaving this method.
1489 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1491 * registryd/deviceeventcontroller.c:
1492 (spi_controller_update_key_grabs):
1493 Fix for #84735, subsequent keygrab listeners not informed of
1494 registration failure.
1497 (spi_base_construct):
1498 Add an assertion on construct, to make sure the GObject passed in
1499 is really a GObject.
1501 Explicitly initialize object->gobj pointer to NULL;
1503 * cspi/bonobo/cspi-bonobo-listener.c:
1504 (cspi_object_add_ref):
1505 New method, can specify whether to dup-ref a bonobo object passed
1506 in if it's newly added to the object cache.
1508 Now calls cspi_object_add_ref with second param of "FALSE". This
1509 prevents us from doing a pointless dup-ref followed by
1510 release-unref for all those cases where the object is already in
1511 our object cache (fix for #85205).
1513 * atk-bridge/bridge.c:
1514 (spi_atk_bridge_idle_init):
1515 Removed this method, we don't need to initialize in an idle
1518 Changed to call spi_atk_register_event_listeners directly, not via an
1519 idle handler. (fix for #81139)
1520 (gnome_accessibility_module_shutdown):
1521 Removed conditional around deregistration of listeners, since we
1522 don't use the idle handler and thus have always registered when
1524 (spi_init_keystroke_from_atk_key_event):
1525 Changed references to Accessibility_KEY_PRESSED to
1526 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1528 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1530 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1535 * test/stress-test.c:
1538 (may have been an incomplete commit yesterday?)
1540 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1543 Added target for new stress-test.
1545 * test/stress-test.c:
1546 New test, sends 1000 focus notifies in quick succession.
1548 * test/key-listener-test.c:
1549 Now we report whether a keylistener registration
1550 request succeeded or failed.
1552 * test/event-listener-test.c:
1553 Uncommented some listeners which are now implemented.
1556 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1558 * registryd/deviceeventcontroller.c:
1559 (spi_controller_update_key_grabs):
1560 Fix for #82509, lack of failure notification when
1561 ALL_WINDOWS keygrabs fail due to XGrabKey
1562 failure: we synchronize the server when
1563 registering a passive grab, to make sure we get the
1564 error message before the call returns.
1566 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1568 * test/test-simple.c:
1570 Removed #ifdef KEY_IMPL_WORKS guards.
1571 (test_keylisteners):
1572 Removed #ifdef KEY_IMPL_WORKS guards.
1573 Fixed bug which was causing a hang waiting for a
1574 "press" event (which was already overwritten by a "release"
1575 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1577 Added code to set globals 'key_press_received' and
1578 'key_release_received'.
1581 Added section "1.1 API Proposed Additions" which
1582 lists API additions desired for at-spi-1.1 (only one so far).
1583 Updated TODO list a little.
1585 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1587 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1590 * configure.in: Revved to 1.0.0.
1592 * idl/Accessibility_Registry.idl:
1593 (registerKeystrokeListener):
1594 Added boolean return value.
1596 * registryd/registry.c:
1597 (notify_listeners_cb): Minor fix to debug output.
1599 * registryd/Accessibility_Registry.server.in.in:
1600 Revved version number in OAFIID to 1.0.
1602 * registryd/registryd.c:
1604 Use new OAFIID version.
1606 * cspi/bonobo/cspi-bonobo.c:
1608 Use new OAFIID version.
1614 * atk-bridge/bridge.c:
1616 Use new OAFIID version.
1618 * registryd/deviceeventcontroller.c:
1619 (impl_register_keystroke_listener):
1620 Added CORBA_boolean return value.
1621 (spi_controller_register_device_listener):
1622 Added gboolean return value.
1623 (spi_controller_register_global_keygrabs):
1624 Added gboolean return value.
1625 (spi_key_set_contains_key):
1626 Added implementation for many more control keys,
1627 for instance F1-F12, arrow keys, End, Home, Page_Up,
1629 [TODO: some still not implemented].
1631 * text/screen-review-test.c:
1632 (text_chunk_pad_string):
1633 New function: it provides mapping between coordinate
1634 positions of text chunks and character positions in the
1635 screen-review-line output string.
1636 (text_chunk_to_string):
1637 New function, calls text_chunk_pad_string with various
1638 pad/delimiter characters. Pushbuttons are delimited with
1639 square brackets, Frames with vertical 'pipe' lines, and
1640 other text with double quotes.
1641 (text_chunk_list_to_string):
1642 Calls new function text_chunk_to_string.
1643 (toplevel_composite):
1644 New function to composite layers CANVAS through
1645 POPUP in each toplevel (other layers are composited
1646 across toplevels, i.e. BACKGROUND and OVERLAY).
1647 (review_buffer_composite):
1648 Revise to use new methods.
1654 2002-05-31 Laszlo Peter <laca@sun.com>
1656 * configure.in: add the Xtst libdir to the runpath on Solaris,
1657 since it's not in the default library search path.
1659 2002-05-29 jacob berkman <jacob@ximian.com>
1661 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1663 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1665 * test/screen-review-test.c:
1666 (text_chunk_pad_string):
1667 Added method, which pads the string according to the
1668 text bounds of the chunk. It also takes a 3-character
1669 string as a param which indicates the characters to be
1670 used for start, padding, and end delimitation of the chunk.
1671 (text_chunk_to_string):
1672 Changed to use text_chunk_pad_string.
1674 * configure.in: Fixed bug in AC_OUTPUT that was
1675 causing path substitution in Accessibility_Registry.server
1678 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1680 * text/screen-review-test.c:
1681 (guess_string_clip):
1682 New method which attempts a best-guess at clipping
1683 text from components (like Java labels) which don't
1684 actually implement AccessibleText. This inaccurate
1685 clip is based on the assumption that the label is
1686 justified left-and-right, and monospaced.
1687 (text_chunk_get_clipped_string):
1688 We now call guess_string_clip() for text-containing
1689 components that don't implement AccessibleText.
1691 * test/screen-review-test.c:
1692 (review_buffer_get_text_chunk):
1693 We now pull "name" from labels if they do not implement
1694 AccessibleText (i.e. for Java labels).
1695 (get_screen_review_line_at):
1696 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1699 Replaceded AC_OUTPUT target
1700 registryd/Accessibility_Registry.server with
1701 registryd/Accessibility_Registry.server.in.
1703 * registryd/Accessibility_Registry.server.in:
1704 Removed (this is now a Makefile target).
1706 * registryd/Accessibility_Registry.server.in.in:
1707 Added (source for target above). We now use $(libexecdir) as
1708 prefix for the executable at-spi-registryd.
1710 * registry/Makefile.am:
1711 Now install at-spi-registryd into $(libexecdir), and build .server
1712 file with path (see above).
1714 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1716 * test/screen-review-test.c:
1717 (text_chunk_get_clipped_string):
1718 We now check to see if words fall within clip bounds
1719 before resorting to character-by-character clip bounds testing.
1721 * TODO: Added a section for "2.2 Proposed API Additions".
1723 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1725 * test/screen-review-test.c:
1727 Added a screen review benchmarking and test program to test
1730 * cspi/spi_accessible.c:
1732 Made some of the debug strings passed to cspi_check_ev a
1733 little more specific.
1735 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1737 * test/screen-review-test.c: Fix crashes in debug statements
1739 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1741 * test/screen-review-test.c: Added this file.
1743 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1745 * atk-bridge/bridge.c: changed "object:state-change" to
1746 "object:state-changed" to match docs.
1748 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1750 * atk-bridge/bridge.c: Hooked up state-change event details.
1752 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1754 * registryd/registry.c:
1755 Fixed quarking bug in event string parsing; now events with
1756 detail parameters get matched correctly to listeners.
1759 * util/idl/Magnifier.idl: remove.
1761 * util/*.[ch]: Remove.
1762 Magnification utilities and IDL are now in module gnome-mag.
1764 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1766 * registryd/deviceeventcontroller.c:
1767 Fixed bug in grab key conversion which was causing keycode grabs
1768 to be converted to AnyKey grabs.
1771 updated NEWS file to reflect recent spin-off of gnome-mag.
1773 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1775 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1776 busted AccessibleStateSet_compare. Removed redundant casts.
1778 * cspi/spi-action.c: Removed redundant casts.
1780 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1782 * cspi/spi_component.c: Fixed typos and casting error.
1784 * cspi/spi_editabletext.c: Removed redundant casts.
1786 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1788 * cspi/spi_hypertext.c: Eliminated redundant casts.
1790 * cspi/spi_image.c: Eliminated redundant casts.
1792 * cspi/spi_registry.c: Eliminated redundant casts.
1793 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1794 * cspi/spi_selection.c: Removed redundant casts.
1795 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1796 handling. Screen geometry and text offsets were being returned as 0
1797 on error which is technically valid-- changed these to return -1.
1798 Added marshaller for text boundary types to fix bug with boundary
1799 types being passed incorrectly to atk.
1801 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1804 * cspi/spi_registry.c:
1805 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1806 which was uncovered by the recent key changes.
1808 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1810 * test/event-listener-test.c:
1812 Added new test, "event-listener-test";
1813 this code does two things; it benchmarks traversal time
1814 for the accessible hierarchy for the first running accessible
1815 app, and it connects listeners for all supported event types.
1816 It is thus useful as an example event listener and for
1817 diagnostics/debugging of event generation.
1819 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1822 Removed unnecessary dependency on libutil.
1825 Revved micro version: 0.13.1
1827 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1830 Removed util/Makefile from targets.
1833 Removed util subdir from SUBDIRS (temporarily,
1834 pending removal of magnifier-only code
1838 #ifdef-ed out magnifier dependencies, since
1839 magnifier IDL, headers, and binary now live in
1840 module gnome-mag and we don't want at-spi to depend
1841 on gnome-mag. A magnifier demo which can run alongside
1842 simple-at is forthcoming in the gnome-mag module.
1844 NOTE: Split magnifier binary, IDL, and magnification
1845 activation code from at-spi into module gnome-mag.
1847 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1849 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1850 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1852 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1855 Revved to version 0.13.0
1857 * idl/Accessibility_Registry.idl:
1858 Changed definition of KeySet from sequence of longs to sequence of
1859 KeyDefinitions, and added KeyDefinition struct.
1860 Required for fix to bug 80616.
1862 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1863 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1864 to use new definition (see above).
1866 * registryd/deviceeventcontroller.c: handle_keygrab(),
1867 spi_keyset_contains_key():
1868 Changed to make use of new struct; this allows matching based on
1869 string key-name, for instance "Tab". This also allows matching of
1870 composed characters, non-alphanumeric characters in a way that
1871 doesn't involve dependencies on X keysym codes directly, etc.
1873 * test/key-listener-test.c:
1874 Added test for Alt-Tab key using "string" specification of keyset,
1875 and modified one of the tests to use a keycode-based keyset.
1876 Thus this test both tests and demonstrates the creation and use of
1877 keysets of three forms: specified via keycode array,
1878 keysym array, and string array. (The string case only contains a
1879 single string, i.e. a string array of length 1).
1882 Turned on PRINT_TREE option by default. Also fixed a
1883 string-freeing bug in the PRINT_TREE code.
1884 Added a listener to window:minimize events.
1886 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1888 * atk-bridge/bridge.c:
1889 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1890 for window:activate and window:deactiveate
1891 (atk_bridge_property_event_listener atk_bridge_signal_listener
1892 atk_bridge_window_event_listener) Tidy debug code
1894 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1896 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1897 Fixed handling for NULL return value from ATK.
1899 * libspi/action.c libspi/component.c libspi/editabletext.
1900 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1901 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1902 Removed redundant casts.
1904 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1905 Fixed off by one bug.
1907 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1908 function not present in idl)
1910 2002-05-02 jacob berkman <jacob@ximian.com>
1912 * atk-bridge/Makefile.am: make atk-bridge a real module
1914 2002-04-26 Radek Doulik <rodo@ximian.com>
1916 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1917 atk_state_types table
1919 2002-04-22 jacob berkman <jacob@ximian.com>
1922 * libspi/Makefile.am: add deps on the built files to help
1923 automake, and don't version the ORBit typelib
1925 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1927 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1928 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1929 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1930 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1931 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1932 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1933 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1934 libspi/accessible.h libspi/accessible.h libspi/base.h
1935 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1936 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1937 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1938 libspi/spi-private.h libspi/statetset.h libspi/table.h
1939 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1940 util/mag_client.h util/mag_control.c util/mag_image.c
1941 util/mag_image.h util/magnifier.c util/magnifier.h:
1942 Add missing file headers; standardize existing ones
1944 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1946 * atk-bridge/bridge.c: Added window event support.
1948 2002-04-18 Michael Meeks <michael@ximian.com>
1950 * libspi/relation.c (impl_getNTargets): impl.
1951 (impl_getTarget): impl.
1953 * libspi/Makefile.am: fix stateset install.
1955 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1958 Started putting useful info in this file.
1960 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1962 * atk-bridge/bridge.c:
1963 Propagate state-changed notifications to ATs
1965 * cspi/spi_registry.c: update docs to reflect actual behavior of
1966 state-change events.
1968 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1971 Incremented version to 0.12.1
1973 * util/mag_client.h:
1974 Add missing declaration for magnifier_exit,
1975 used by mag_control.c - Forte compiler didn't like
1976 the implicit redeclaration of the function :-(
1979 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1982 Revved version to 0.12 due to API change (see below).
1984 * cspi/spi-roletypes.h:
1985 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1986 definition from the inline docs, and added docs
1987 for SPI_ROLE_LAST_DEFINED.
1990 * cspi/spi_streamablecontent.c:
1991 Added missing seek_type parameter to
1992 (so far unused) method,
1993 AccessibleStreamableContent_seek().
1994 [ RT approval JodyG. ]
1997 Fixed docs for SPI_createAccessibleKeystrokeListener.
1999 * cspi/spi_registry.c:
2000 Fixed docs for SPI_KEYSET_ALL_KEYS.
2002 * docs/reference/cspi/at-spi-cspi-sections.txt:
2003 Added a number of missing APIs to SECTIONS.
2005 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2007 * registryd/Makefile.am:
2009 * cspi/bonobo/Makefile.am:
2010 Add $(X_LIBS) to makefiles.
2012 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2015 Revved version to 0.11.
2017 * libspi/component.c:
2018 Added implementation for grabFocus.
2020 * idl/Accessibility_Component.idl
2021 (Accessibility_Component_grabFocus):
2022 Made this method return boolean to indicate success or failure, to
2023 be consistent with cspi and the corresponding ATK method.
2025 * idl/Accessibility_Selection.idl
2026 (Accessibility_Selection_selectAll) :
2027 Made these methods return boolean to indicate success or
2028 failure, to be consistent with cspi and the corresponding ATK methods.
2030 * idl/Accessibility_EditableText.idl
2031 (Accessibility_EditableText_setTextContents,
2032 Accessibility_EditableText_insertText,
2033 Accessibility_EditableText_cutText,
2034 Accessibility_EditableText_deleteText,
2035 Accessibility_EditableText_pasteText):
2036 Made these methods return boolean to indicate
2039 * cspi/spi_editabletext.c:
2040 Made these methods return booleans.
2042 * libspi/selection.c:
2043 * libspi/component.c:
2044 * libspi/editabletext.c:
2045 Connected the boolean returns from ATK
2046 to the server-side code referenced above.
2048 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2050 * idl/Accessibility_Table.idl: Added missing methods,
2051 Accessibility_Table_addRowSelection,
2052 Accessibility_Table_addColumnSelection,
2053 Accessibility_Table_removeRowSelection,
2054 Accessibility_Table_removeColumnSelection.
2057 Added C wrappers for above IDL:
2058 AccessibleTable_addRowSelection,
2059 AccessibleTable_addColumnSelection,
2060 AccessibleTable_removeRowSelection,
2061 AccessibleTable_removeColumnSelection.
2064 Added server-side implementation code for IDL above, connecting
2065 to pre-existing ATK api.
2067 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2069 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2071 * libspi/accessible.c: Added implementation fo
2072 Accessibility_Accessible_get_state.
2074 * libspi/libspi.h: Added stateset.h to the list of includes.
2076 * libspi/stateset.c: Fixed broken implementation.
2078 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2081 Added implementation code for Accessibility_Magnifier_exit ().
2083 * util/mag_control.c:
2084 Added test code for above method; you can
2085 now kill an existing magnifier via
2086 ./mag_control q, from the util directory.
2088 * test/key-listener-test.c:
2090 Added a new test, for our key listener API.
2092 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2094 * test/app.c, test/keysynth-demo.c:
2096 Replace use of snprintf with g_snprintf.
2097 (fix for bugzilla 78249)
2099 2002-03-27 Michael Meeks <michael@ximian.com>
2103 * util/Makefile.am (INCLUDES): fix.
2104 (DONT_DIST_SOURCE): don't distribute the
2107 * libspi/Makefile.am (dist-hook): ditto.
2109 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2111 * libspi/hypertext.c:
2112 Fix warnings when yelp is used with atk-bridge
2114 2002-03-21 Michael Meeks <michael@ximian.com>
2116 * libspi/application.c (spi_application_new):
2117 use spi_accessible_construct so we use the AtkObject
2120 2002-03-19 Michael Meeks <michael@ximian.com>
2122 * registryd/registry.c (desktop_remove_application),
2123 (desktop_add_application): clean coding style.
2125 * registryd/desktop.c (spi_desktop_remove_application),
2126 (spi_desktop_add_application): kill re-enterency hazards.
2127 (spi_desktop_dispose): remove bogus redundant cast
2128 obscuring bug; fix bug too.
2129 (spi_desktop_init): make the desktop object immortal.
2131 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2134 Added a #define-guarded tree-traversal step
2135 when enumerating the apps (diagnostic tool).
2137 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2139 * idl/Accessibility_Role.idl:
2140 Added ROLE_DRAWING_AREA which seemed to be missing from the
2143 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2145 * cspi/spi-roletypes.h cspi/spi_accessible.c
2146 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2149 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2150 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2151 AT when applications are added and removed from the desktop. This
2152 reverts the previous broken implementation using the backing
2153 AtkObject for the SpiDesktop.
2155 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2157 * registryd/desktop.c: emit the "children-changed::add" and
2158 "children-changed::remove" signals on the backing ATK object for
2159 the desktop so AT can tell when applications are started and shut
2162 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2164 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2166 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2168 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2170 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2172 * cspi/state-types.h: synched with IDL and ATK
2174 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2176 * libspi/accessible.c
2177 (impl_accessibility_accessible_get_child_at_index):
2178 Change return value for g_return_if_fail ()
2179 to CORBA_OBJECT_NIL instead of "0" (!)
2181 * registryd/Makefile.am:
2182 * registryd/Accessibility_Register.server.in:
2183 Changed name of executable, "registryd",
2184 to something more informative:
2187 2002-03-13 Michael Meeks <michael@ximian.com>
2189 * atk-bridge/bridge.c (atk_bridge_init): don't register
2190 if we're in a bonobo-component, rather than a bonobo app.
2192 2002-03-13 Michael Meeks <michael@ximian.com>
2194 * atk-bridge/bridge.c (gtk_module_init): split
2195 out body to (atk_bridge_init): here, since otherwise
2196 we get symbol conflicts and oddness when invoked
2197 from (gnome_accessibility_module_init): here (upd.)
2199 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2202 New file. Explicitly allow "build sheriff" putbacks provided
2203 they are tested on Solaris.
2205 * docs/reference/cspi/Makefile.am:
2206 Added '-' to the "cp" command for index.sgml.
2207 ("patch by thomasvs, soon coming to a GUADEC near you")
2210 Incremented version number (0.9.0) for new release.
2211 Changed macro that checks for popt, to better detect
2212 obsolete versions of popt.
2215 Added X_LIBS to AC_SUBST, for applications
2216 that call Xlib API directly.
2219 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2222 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2225 Fix regression caused by hard-coding major
2226 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2229 * test/test-simple.c (test_editable_text),
2230 (test_test): revert previous change (error was
2231 a regression in gail which is now fixed).
2233 2002-03-04 Michael Meeks <michael@ximian.com>
2235 * test/test-simple.c (test_editable_text),
2236 (test_text): pass G_MAXINT instead of '-1' for
2237 whole string - is this a good thing !?
2239 * cspi/spi_accessible.c
2240 (Accessible_getRelationSet): fix crasher bug
2241 overwriting the end of the array.
2243 * test/test-simple.c (validate_accessible): free,
2244 not g_free returned relation set.
2246 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2248 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2249 implemented stateset support
2251 * idl/Accessibility_State.idl: Made necessary changes to
2252 the IDL to support state sets.
2254 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2256 * registryd/deviceeventcontroller.c:
2257 Added implementation for generateMouseEvent.
2259 * cspi/spi_registry.c:
2260 Connected new implementation for generateMouseEvent
2263 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2266 Incremented revision (but no change in public API
2267 outside of 'utils', which are not installed public yet.)
2269 * libspi/component.c:
2270 Changed to use atk_component API for layers and
2271 mdi_zorder, instead of deprecated atk_object API.
2273 Magnification Utility Enhancements:
2276 Added implementation of createZoomRegion, clearAllZoomRegions,
2277 resizeZoomRegion. Added new commandline argument
2278 "--no-initial-region". Note that clearAllZoomRegions doesn't
2279 unmap the old '0' region as it should (yet), and the other
2280 methods only work when creating/resizing a single region,
2281 which is "region 0".
2282 (Code for multiple region support will be added later.)
2285 Now we raise the magnifier window each time it's refreshed;
2286 this will help keep it on top.
2288 * util/mag_client.h:
2289 Added simple wrappers for above, used by mag_control.
2290 For general use, it's recommended to use the bonobo magnifier
2291 control API directly instead of using these wrappers.
2294 Moved ZoomRegionData from magnifier.c to this file.
2296 * util/mag_control.c:
2297 Added some code to exercise new IDL implementations.
2299 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2301 * libspi/text.c: Provide implementation for getAttributes.
2303 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2306 Incremented revision.
2308 * test/test-simple.c:
2309 Replaced use of deprecated g_main_iteration with
2310 g_main_context_iteration.
2312 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2315 Incremented revision for desktop alpha 2.
2317 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2319 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2322 * test/simple-at.c: include netinet/in.h.
2324 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2326 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2327 use NULL, not CORBA_OBJECT_NIL.
2329 * libspi/accessible.c:
2330 (impl_accessibility_accessible_get_relation_set):
2331 allocate the sequence correctly.
2333 * libspi/remoteobject.h: kill spi_remote_object_new.
2335 * test/test-simple.c: (validate_accessible): add code
2336 to test relation sets, now all we need is to figure
2337 out how to excercise this code path :/
2339 2002-01-18 Michael Meeks <michael@ximian.com>
2341 * test/test-simple.c
2342 (key_listener_cb): consume the key.
2343 (test_keylisteners): update.
2344 (main): wait for any pending unrefs on events.
2346 * registryd/deviceeventcontroller.c
2347 (spi_controller_update_key_grabs): only re-issue the
2348 grab on a key release.
2349 (spi_device_event_controller_forward_key_event):
2350 refresh the keygrabs before we notify the listeners,
2351 to reduce the X ungrab / re-grab race.
2352 (spi_controller_register_with_devices): remove
2353 XSelectInput - we do that with the gdk_window_ call.
2354 (_spi_controller_device_error_handler): return a value.
2355 s/GDK_DISPLAY/spi_get_display/
2357 2002-01-17 Michael Meeks <michael@ximian.com>
2359 * registryd/deviceeventcontroller.c
2360 (_deregister_keygrab): don't blow out the later
2363 * test/test-simple.c (test_keylisteners): do a
2364 more intelligent validation.
2366 2002-01-14 Michael Meeks <michael@ximian.com>
2368 * atk-bridge/bridge.c
2369 (gnome_accessibility_module_init),
2370 (gnome_accessibility_module_shutdown): impl.
2371 (gtk_module_init): protect vs. double inits.
2372 (add_signal_listener): impl.
2373 (spi_atk_bridge_state_event_listener): kill
2374 (deregister_application): split out of
2375 (spi_atk_bridge_exit_func): here.
2377 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2380 Added caret tracking when using magnifier, and
2381 now use text bounds for focus tracking of text elements, rather than
2382 the component bounds - this is helpful for short text fields in long
2383 table cells, at high magnification.
2385 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2387 * registryd/deviceeventcontroller.c:
2388 Regression fix for keylistener de-registration; global keygrabs
2389 were not being released when deregisterKeystrokeListener was
2390 called in cspi, since
2391 Accessibility_DeviceEventController_deregisterKeystrokeListener
2392 was called with a zero-length keyset. That is because the cspi
2393 method, SPI_deregisterKeystrokeListener, does not take a keyset
2394 parameter but instead should remove all the key grabs held be a
2396 The code in impl_deregister_keystroke_listener was changed to copy
2397 the keylist from the listener instance previously registered with
2398 the DeviceEventController before releasing the grabs.
2400 * registryd/registry.c:
2401 * registryd/deviceeventcontroller.c:
2402 * libspi/spi-private.h:
2404 Changed spelling of "re-enterant" to "re-entrant" globally.
2406 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2408 * test/test-simple.c:
2409 Changed key listeners test - the test was slightly mis-using the
2410 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2411 It now uses '=' as the key event listened to and generated,
2412 relying on a keysym match rather than assuming that keycode 33
2413 is always equal to keysym '!'.
2415 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2418 Changed simple-at to use a specific keyset, rather than
2419 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2420 manager, desktop, etc.
2422 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2424 * registryd/deviceeventcontroller.c:
2425 Replaced standard X error handler with a special handler that
2426 is non-fatal for failed keygrabs. This works around
2427 problems with keygrab clashes sometimes observed on
2429 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2430 mouse handling code as yet).
2432 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2435 Incremented revision for desktop alpha release.
2438 Fixed a couple of the more glaring errors (still not
2441 2002-01-11 Michael Meeks <michael@ximian.com>
2443 * registryd/deviceeventcontroller.c
2444 (spi_device_event_controller_forward_key_event): kill
2445 XUngrabKey / XKeyGrab race.
2446 (spi_controller_grab_keyboard): rename to
2447 (spi_controller_update_key_grabs): this, and deal
2448 with incremental adding / removing grabs more
2450 (_register_keygrab): ensure we're not pending a remove.
2451 (spi_grab_mask_free): impl.
2452 (spi_controller_register_global_keygrabs): split out
2454 (handle_keygrab): impl.
2455 (_deregister_keygrab): impl.
2456 (spi_controller_deregister_global_keygrabs): impl.
2457 (spi_controller_update_key_grabs): re-issue the grab if
2458 we just recieved a notification.
2460 * test/test-simple.c (key_listener_cb): remove debug.
2462 * registryd/deviceeventcontroller.c
2463 (spi_controller_register_device_listener): after
2464 registering a global keygrab, actualy register it !
2465 don't wait for a timeout; doh !
2467 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2468 to make it more readable / manipulable.
2469 s/grabmask/grab_mask/ s/refcount/ref_count/
2470 s/keyval/key_val/ s/modmask/mod_mask
2472 2002-01-08 Michael Meeks <michael@ximian.com>
2474 * registryd/deviceeventcontroller.c
2475 (spi_controller_register_with_devices): use gdk calls to
2477 (global_filter_fn): implement the filter.
2478 (spi_device_event_controller_check_key_event): rename to
2479 (spi_device_event_controller_forward_key_event): this & upd.
2480 (spi_get_display): replace with GDK_DISPLAY.
2482 * registryd/deviceeventcontroller.c
2483 (spi_controller_deregister_device_listener): unroll into
2484 (impl_deregister_keystroke_listener): here to simplify.
2485 (spi_controller_register_global_keygrabs): split cut and
2486 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2487 (spi_controller_deregister_device_listener): remove.
2488 (impl_register_mouse_listener): remove, no mouse listener
2489 support in at-spi-1.0
2491 * registryd/registry.c
2492 (_device_event_controller_hook): kill.
2493 (spi_registry_init): upd.
2495 * registryd/deviceeventcontroller.c
2496 (spi_device_event_controller_class_init): upd.
2497 (spi_check_key_event): merge into.
2498 (spi_device_event_controller_check_key_event):
2499 here and kill strange static ev init, don't leak
2500 the x_event - nor dynamicaly allocate it.
2502 * registryd/registry-main.c (main): re-direct
2503 timeout to remove strange vtable mess.
2505 * registryd/deviceeventcontroller.c
2506 (remove_listener_cb): impl.
2507 (spi_controller_deregister_device_listener):
2508 fix re-enterancy hazard.
2510 2002-01-07 Michael Meeks <michael@ximian.com>
2512 * registryd/deviceeventcontroller.c
2513 (spi_device_event_controller_new): upd.
2514 (impl_notify_listeners_sync): upd. debug.
2515 (spi_notify_keylisteners): fix re-enterancy hazards,
2516 prettify, remove O(n*n) iteration.
2517 (spi_controller_grab_keyboard): fix iteration.
2518 (spi_check_key_event): re-format to suit coding style.
2519 Clean all the warnings - we're warning free.
2521 * registryd/deviceeventcontroller.h:
2522 * registryd/registry.h: make mutualy referential with
2523 typesafe forward references instead of (!) void pointer
2526 2002-01-11 Michael Meeks <michael@ximian.com>
2528 * cspi/spi_accessible.c (role_names): add a role name
2529 to sync this array with the enum; and make the regression
2532 2002-01-10 Michael Meeks <michael@ximian.com>
2534 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2535 allow expansion of enumeration & kill warning.
2537 * test/test-simple.c (key_listener_cb): impl.
2538 (test_keylisteners): impl.
2540 * cspi/spi-listener.h: make listener signatures const
2541 on the provided (const) events.
2543 * test/keysynth-demo.c: upd. to const events.
2545 * test/simple-at.c: ditto.
2547 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2550 Rev the version to 0.5 (the previous tarball was named 0.4,
2551 even though the micro number was 3), so we need to rev upwards
2552 again for beta2/"desktop-alpha"
2555 Checked in a demo script, which requires editing before use!
2556 Proceed with caution.
2559 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2561 * cspi/spi_accessible.c:
2562 Add a couple of missing enum initializations, and fix some enum
2565 * cspi/spi_registry.c:
2566 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2568 * docs/reference/cspi/at-spi-cspi-sections.txt:
2569 Remove/fix a couple of broken document references.
2572 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2573 as Alt-Control to listen for commands, since on some systems
2574 Control-Alt may already be grabbed.
2576 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2579 Update version number to 0.4 for Beta2.
2581 * libspi/accessible.c, libspi/accessible.h:
2582 Expose spi_accessible_construct, to enable libgail-gnome
2583 construction from spi_accessible subtype.
2585 * utils/magnifier.c:
2586 Workaround for bug in some non-gnome-compliant window managers
2587 which made magnifier resize improperly.
2589 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2591 * libspi/accessible.c: (spi_accessible_new) :
2592 Move the test for SPI_IS_REMOTE_OBJECT to
2593 spi_accessible_new_return, fixing a bug and compile time warning.
2595 2002-01-08 Michael Meeks <michael@ximian.com>
2597 * registryd/registry.c (parse_event_type): remove strndup.
2599 * libspi/Makefile.am (libspi_la_SOURCES): remove
2600 sources already included in the headers section.
2602 * libspi/util.c: add.
2604 * libspi/spi-private.h: add.
2606 * registryd/registry.c: update to moved list iterators.
2608 2002-01-05 Michael Meeks <michael@ximian.com>
2610 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2612 * test/test-simple.c (main): ditto.
2614 2002-01-04 Michael Meeks <michael@ximian.com>
2616 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2617 redundant construct.
2619 * registryd/registry.c
2620 (get_listener_list): impl.
2621 (impl_accessibility_registry_register_global_event_listener):
2622 re-impl. to simplify using ~, remove dodgy const cast off.
2623 (parse_event_type): constify.
2624 (impl_accessibility_registry_deregister_global_event_listener_all):
2625 re-write, more efficiency and simplicity, kill re-enterancy
2627 (compare_listener_corbaref, compare_corba_objects),
2628 (compare_listener_quarks): define out.
2629 (impl_accessibility_registry_deregister_global_event_listener):
2630 re-write for effiency, and nail re-enterancy hazard.
2631 (impl_accessibility_registry_get_desktop_list): impl.
2632 (re_enterant_list_delete_link): impl.
2633 (re_enterant_list_foreach): impl.
2634 (remove_listener_cb): impl.
2635 (_registry_notify_listeners): kill.
2636 (notify_listeners_cb): impl.
2638 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2639 (SPI_getDesktopList): impl.
2641 * test/test-simple.c (test_desktop): test the methods.
2643 2002-01-03 Michael Meeks <michael@ximian.com>
2645 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2646 keystrings since we free them
2647 (SPI_freeAccessibleKeySet): in here.
2649 * libspi/accessible.c (spi_accessible_new): kill warning,
2650 wonder what is going on with the constructor here.
2652 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2654 * libspi/accessible.c (spi_accessible_new ()) :
2655 Added check to see if AtkObject is an SpiRemoteObject before
2656 creating an SpiAccessible.
2658 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2660 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2661 Enable keygrabs using the Control modifier, now that they are
2662 working properly (they were previously disabled).
2665 Change the command keygrab for this demo to "Control+Alt", so as
2666 to conflict with fewer other key commands on the system; this
2667 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2669 Removed a pointlessly-chatty keylistener for unshifted keys
2670 (shifted keys are still reported).
2672 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2674 * libspi/remoteobject.h:
2675 * libspi/remoteobject.c:
2676 Added definitions for special AtkObject subtype, required for
2677 support of remote components (specifically, used by BonoboControl
2678 accessibility implementation).
2680 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2682 * cspi/spi.h: synched relation types with ATK
2684 * cspi/spi_accessible.c: Added implementations of
2685 AcccessibleRelation_* methods
2687 * idl/Accessibility_Relation.idl: added getRelationTypeName
2688 method. Synched known relation types with ATK. Allowed for
2689 relation type extension with the RELATION_EXTENDED type.
2691 * libspi/relation.c: Provided implementations for
2692 AccessibleRelation methods.
2694 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2696 API tweaks for today's API 'freeze'.
2699 Added placeholder functions to allow future compatible expansion
2700 of the IDL interfaces.
2702 * idl/Accessibility_Registry.idl:
2703 Changed generateKeyEvent to generateKeyboardEvent. Changed
2704 signature of this method to accept an optional keystring in
2705 parameter (for complex text input synthesis) and changed use of
2706 simple 'boolean' parameter in registerKeystrokeListener to a
2707 struct, EventListenerMode.
2709 * cspi/spi_accessible.c:
2711 * cspi/spi_streamablecontent.c:
2712 Added references to AccessibleStreamableContent interface, and
2713 definition and implementation of AccessibleStreamableContent
2716 * cspi/spi_registry.c:
2718 Changed generateKeyEvent API to generateKeyboardEvent,
2719 taking a new (optional) keystring parameter to support complex
2724 Renamed directory (to better reflect its actual purpose, bridging
2725 from at-spi to ATK). The .so module is also now named
2728 * idl/Accessibility_Hypertext.idl:
2729 * libspi/accessible.c:
2730 * libspi/hypertext.h:
2731 * libspi/hypertext.c:
2732 Changed Accessibility_Hypertext to *not* derive from
2735 * cspi/spi_registry.c:
2736 Added list of legal event type names for 'window' events, which
2737 completes the registry event API.
2739 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2741 * at-bridge/bridge.c: Added registration for separate
2742 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2743 signals. If either of the first two parameters to the generic
2744 bridge signal handler are ints, they are passed on as event
2745 details. This allows an AT to determine what text was inserted.
2747 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2749 * registryd/deviceeventcontroller.c:
2750 Fixed regressions in generateKeyEvent caused by the removal of
2751 gdk_init from registryd; we now use pure X calls to connect to the
2752 display, which makes sense because deviceeventcontroller already
2753 uses a fair bit of X API (should eventually be migrated to a
2754 'portability layer').
2756 * registryd/desktop.c:
2757 Fixed minor regression in spi_desktop_init, changed the way the
2758 desktop name is being set to work with new spi_base API
2759 (gobject-based, rather than AtkObject-based).
2761 * registryd/Makefile.am:
2762 Minor revision of makefile to use XTST_LIBS variable rather than
2763 hard-wiring the Xtst LD_ADD element.
2765 * test/keysynth-demo.c:
2766 Tweaked an output message; added initialization of the
2767 'keystrings' member of the "switch listener" key_set.
2769 * libspi/relation.c:
2770 Squashed compile-time warning.
2772 * libspi/accessible.c:
2773 Cosmetic and formatting fixes, renamed a static method.
2775 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2777 * libspi/accessible.c
2779 * libspi/application.c
2782 * libspi/component.c
2783 * libspi/editabletext.c
2784 * libspi/hyperlink.c
2785 * libspi/hypertext.c
2787 * libspi/selection.c
2791 * registryd/desktop.c:
2792 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2794 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2796 * idl/Accessibility_Registry.idl:
2797 Added boolean member 'is_text' to DeviceEvent. This is for the
2798 use of key events, and helps prevent ambiguity between composed
2799 key strings and keysym names, since both may potentially be
2800 returned in the 'event_string' member.
2802 * at-bridge/bridge.c:
2803 * registryd/deviceeventcontroller.c:
2804 Use the 'is_text' member when notifying device event listeners.
2805 Knon issue: composed characters are not dealt with correctly by
2806 the global key listener implementation yet.
2808 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2810 * at-bridge/bridge.c:
2811 Namespaced local static methods to spi_atk_bridge_* where
2812 previously named bridge_*, and spi_* elsewhere.
2814 * at-bridge/bridge.c:
2815 * cspi/bonobo/cspi-bonobo-listener.c:
2816 Added demarshalling/conversion for string member of
2817 Accessibility_DeviceEvent to AccessibleKeystroke.
2819 * registryd/deviceeventcontroller.c:
2820 Added code to fill the Accessibility_DeviceEvent key string value
2821 member for global key events (i.e. from XGrabKey), to match
2822 behavior of Accessibility_DeviceEvent from the toolkit key events
2823 from the bridge. Fixed timestamp in global key event notifications.
2826 Added printout of key event's string value to
2827 report_ordinary_key_event, for demo/debugging purposes.
2829 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2831 * idl/Accessibility_Registry.idl:
2832 Removed Accessibility_KeyStroke structure in favor of generic
2833 Accessibility_DeviceEvent structure.
2834 Changed Accessibility_ControllerEventMask from a struct to an
2837 * at-bridge/bridge.c:
2838 Changed APIs to use DeviceEvent structure as above, and removed
2839 bogus casting between these event structures.
2841 * cspi/spi-listener.h:
2842 Added keystring member of AccessibleKeystroke structure, to enable
2843 matching on event "names" rather than only hardware codes and
2847 Added keystrings member of AccessibleKeySet struct, to allow
2848 matching on event names (as above).
2849 Added declarations for SPI_createAccessibleKeySet and
2850 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2851 event modmasks directly as unsigned ints rather than structs with
2852 refcounts, in the DeviceEventController methods.
2854 * cspi/spi_registry.c:
2855 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2857 * cspi/spi-roletypes.h:
2858 Added documentation of newly added SPI Roles.
2860 * cspi/bonobo/cspi-bonobo-listener.c:
2861 Changes in support of API changes above.
2863 * libspi/accessible.c:
2864 Converted APIs to use DeviceEvent structure (see IDL changes
2867 * registryd/deviceeventcontroller.c:
2868 Added DEControllerGrabMask structure to track keygrabs not only by
2869 modmask but by keyset as well; this allows us to do "global"
2870 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2871 grabbing on AnyKey and then filtering after-the-fact.
2872 Bugfixes for event filtration mean that we don't get false matches
2873 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2875 * registryd/deviceeventcontroller.c:
2876 Namespaced a number of static methods to use spi_ prefix. Major
2877 revision to internals of global (i.e. X) key grabs.
2879 * registryd/deviceeventcontroller.h:
2880 Removed keymask_list and added keygrabs_list to
2881 SpiDeviceEventController struct.
2884 Added use of SPI_createAccessibleKeySet API when creating a
2885 listener for only one key. Attach a listener to "shift spacebar
2886 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2887 X key event names to SPI key event names, so that listeners are
2888 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2890 * test/keysynth-demo.c:
2891 Changed (incorrect) use of X key event names (KeyPressed,
2892 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2895 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2897 * libspi/accessible.c:
2898 Convert all AtkRole enumerations to Accessibility_Role enums when
2899 getting a role from an AtkObject.
2901 * cspi/spi_accessible.c:
2902 Complete the conversion of Accessibility_Role enums at runtime to
2903 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2904 role enums correctly match those given in spi-roletypes.h.
2905 Re-synchronize the local names list for AccessibleRole_getName ().
2906 AccessibleRole_getName is now deprecated, since it duplicates the
2907 more reliable Accessible_getRoleName.
2908 Added some role types from Accessibility_Role.idl.
2910 * idl/Accessibility_Role.idl:
2911 Added some role types used by AtkRole.
2913 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2916 * cspi/spi_registry.c:
2918 * cspi/cspi-bonobo-listener.c:
2919 Namespaced all methods that did not begin with an "SPI_" or
2920 "Accessible" prefix to "SPI_".
2923 Homogenized internal function namespace to "cspi_" for statics.
2926 Patched tests to use the new CSPI API.
2928 * docs/reference/cspi/at-spi-cspi-sections.txt:
2929 Updated docs to reflect namespace changes, and added a number of
2930 methods to the documentation.
2932 * registryd/registry.c:
2933 Changed use of strings and string hashes in listener event
2934 matching and parse_event_string to use GQuark, which is guaranteed
2937 * registryd/registry.h:
2938 Squashed annoying warning.
2940 * idl/Accessibility_Role.idl:
2941 Extended range of available Accessibility_Role values.
2943 * cspi/spi_accessible.c:
2944 Re-ordered role names.
2946 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2948 * idl/Accessibility_Value.idl:
2949 Revert use of union back to CORBA_double, since the double type is
2950 more efficient and can contain the other types without loss of
2953 * idl/Accessibility_Accessible.idl:
2954 Added method Accessibility:Accessible:getRoleName, to complement
2955 Accessibility:Accessible:getRole.
2957 * cspi/spi_accessible.c:
2959 Added C binding for above, Accessible_getRoleName (), and changed
2960 signature of Accessible_getRole () to return an AccessibleRole.
2962 * cspi/spi-roletypes.h:
2963 Changed AccessibleRole_getName to return a char * instead of a
2964 const char *. This method is now at least temporarily deprecated
2965 in favor of asking Accessibles for their RoleNames directly.
2968 Revert to match Accessibility_Value.idl;
2972 Change signature of AccessibleValue methods to use double rather
2976 * cspi/spi_accessible.c:
2977 Changed Accessible_getRole to return an AccessibleRole enum rather
2978 than a UTF-8 string. The UTF-8 string can still be obtained via
2979 AccessibleRole_getName ().
2981 * test/test-simple.c:
2982 Add test_action. Small fixup to match API change to Accessible_getRole.
2985 Bugfix for get_action_from_servant ().
2987 2001-12-11 Michael Meeks <michael@ximian.com>
2989 * libspi/libspi.h: remove registry.h and
2990 desktop.h, deviceeventcontroller.h
2992 * libspi/Makefile.am: remove registry.[ch],
2993 desktop.[ch], deviceeventcontroller.[ch]
2995 * registryd/Makefile.am: add registry.[ch],
2996 desktop.[ch], rename registryd.c to registry-main.c.
2997 add deviceeventcontroller.[ch]
2999 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3002 Replace setenv() call with putenv ().
3004 * libspi/component.c:
3005 Bugfix in AccessibleComponent_getExtents (),
3008 2001-12-11 Michael Meeks <michael@ximian.com>
3010 * libspi/image.c (impl_getImageExtents): impl.
3011 (spi_image_class_init): upd.
3014 (AccessibleImage_getImageDescription): fix daft bug
3017 * test/test-simple.c (global_listener_cb): update
3018 to only quit if not --poke
3019 (main): catch --poke.
3020 (validate_accessible): upd. dumping, call test_image
3023 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3026 * idl/Accessibility.idl: update all IDL includes.
3028 * idl/*.idl - rename to namespace - this sucks, blame
3029 mjs' bad decision for oafd.
3031 * test/test-simple.c (create_test_window): add more tests.
3032 (create_tree): split this out.
3033 (validate_accessible): bugfix.
3035 2001-12-11 Michael Meeks <michael@ximian.com>
3037 * cspi/bonobo/cspi-bonobo-listener.c:
3038 (cspi_kestroke_listener_unref),
3039 (cspi_event_listener_unref): impl. undoing previous
3040 homenous environment - for Bill.
3042 * cspi/spi_table.c (long_seq_to_array): use
3045 * cspi/spi_main.c: split out all bonoboish bits into
3048 * cspi/spi-impl.h: upd. typedefs.
3050 * cspi/spi_registry.c: update to lowlevel API,
3051 return booleans to indicate success in some places.
3053 * cspi/spi_event.c: update to lowlevel API.
3055 * cspi/bonobo/Makefile.am: add.
3057 * cspi/bonobo/cspi-lowlevel.h: add
3059 * cspi/bonobo/cspi-bonobo.c: add
3061 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3063 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3064 (SUBDIRS): add bonobo, link in the libs.
3066 * cspi/spi-util.c: kill this file.
3068 * TODO: merge in my bits.
3070 2001-12-11 Michael Meeks <michael@ximian.com>
3072 * test/test-simple.c (test_value, test_table, main):
3073 remove unused variables causing warnings.
3075 * configure.in: cleanup checks - require gail.
3077 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3080 Changed Value interface to use SValue (scalars) rather than
3081 assuming all values are floats. This allows floats, doubles,
3082 longs, shorts, and unsigned values to be manipulated.
3083 Introduced Accessibility:SValue union.
3086 Updated to use new API above, and to work correctly with GValues
3087 of different types in AtkValue.
3090 Updated to use new API above. cspi's API is as yet unchanged.
3093 Updated the Value revision action item.
3095 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3097 * test/test-simple.c:
3098 Added test_table (GtkTreeView widget in test window to follow).
3099 Un-commented test_value, added GtkRange widget.
3100 Added GtkTreeView widget with GtkListStore. It passes regression
3101 test but leaks one SPI object for some reason.
3104 Fixed bug in impl__set_currentValue.
3106 2001-12-10 Michael Meeks <michael@ximian.com>
3108 * cspi/spi_text.c: audit for exception handling,
3109 tolerating NULL object references safely etc.
3111 * cspi/spi_value.c: ditto.
3113 * cspi/spi_table.c (AccessibleTable_getSummary),
3114 (AccessibleTable_getAccessibleAt),
3115 (AccessibleTable_getRowHeader),
3116 (AccessibleTable_getColumnHeader),
3117 (AccessibleTable_getCaption): fix bugs hidden by
3119 (long_seq_to_array): impl.
3120 (AccessibleTable_getSelectedRows),
3121 (AccessibleTable_getSelectedColumns): use it.
3123 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3126 Added a TODO list (rough and short for now).
3128 * cspi/spi_hyperlink.c:
3129 * cspi/spi_hypertext.c:
3130 Fixed macro name typos, and remove use of obsolete macro in
3131 AccessibleHyperlink_getLink.
3133 * cspi/spi_action.c:
3134 * cspi/spi_accessible.c:
3135 * cspi/spi_application.c:
3136 * cspi/spi_component.c:
3137 * cspi/spi_selection.c:
3140 Documentation fixes (removed return values from ref/unref methods).
3142 2001-12-10 Michael Meeks <michael@ximian.com>
3144 * cspi/spi_action.c: audit for exception handling,
3145 tolerating NULL object references safely etc.
3147 * cspi/spi_accessible.c: ditto.
3149 * cspi/spi_component.c: ditto.
3151 * cspi/spi_editabletext.c: ditto.
3153 * cspi/spi_hyperlink.c: ditto.
3155 * cspi/spi_hypertext.c: ditto.
3157 * cspi/spi_image.c: ditto.
3159 * cspi/spi_selection.c: ditto.
3161 2001-12-10 Michael Meeks <michael@ximian.com>
3163 * configure.in: use cspi/libspi.pc.in instead.
3165 * Makefile.am (pkgconfig_DATA): upd. to match.
3167 * test/simple-at.c (report_focus_event): kill hacks around
3168 bad return values, use putenv not setenv
3170 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3171 fire ChildGone - I killed it.
3173 * libspi/component.c
3174 (impl_accessibility_component_get_extents): remove
3177 * idl/Accessible.idl: kill ChildGone exception.
3179 * cspi/*.[ch]: kill int return from ref / unref.
3181 * cspi/spi_main.c (cspi_object_add_check): fold into
3182 (cspi_object_add): here.
3184 * cspi/spi_component.c (AccessibleComponent_getExtents):
3185 handle exceptions elegantly.
3187 * cspi/spi-private.h (cspi_check_ev_return),
3188 (cspi_return_if_fail): impl.
3190 * cspi/spi_accessible.c: use extensively.
3191 (AccessibleStateSet_equals): add direct compare check.
3193 * cspi/spi_selection.c: tolerate NULL objs, and check
3194 exceptions before return.
3196 * cspi/spi-util.c (cspi_warn_ev): rename to
3197 (cspi_check_ev): this & don't pass ev in; no point.
3199 2001-12-10 Michael Meeks <michael@ximian.com>
3201 * test/test-simple.c: use putenv not setenv
3202 (get_environment_vars): more chatty if you're not using
3205 * test/simple-at.c: do the setenv so more people see the
3208 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3210 * libspi/registry.c:
3211 Changed check of CORBA_environment on notification to be a warning
3212 instead of an error for the moment, since we can recover from this
3213 error when caused by a queued notification from a dead app.
3216 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3217 used by all current implementors of AtkValue), and coerce to
3218 CORBA_float. (Proper general case fix may require change to Value.idl).
3220 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3224 * cspi/spi_accessible.c:
3225 Documentation fixes: added user_data params to documentation for
3226 listeners and callbacks.
3228 * cspi/spi_accessible.c:
3229 Changed AccessibleStateSet_compare to return a
3230 StateSet rather than return the difference set into a third parameter.
3233 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3236 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3237 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3241 Remove subdirectory po from SUBDIRS for now.
3243 * at-bridge/bridge.c:
3244 Beefed up a couple of debug printouts.
3245 One-line fix for signal notification name formatting.
3247 * libspi/accessible.c:
3248 Added assertion to spi_accessible_new ().
3250 * libspi/application.c:
3251 Put #ifdef qualifiers around a printf.
3254 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3256 * registryd/Makefile.am:
3258 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3259 INTLTOOL_SERVER_RULE macro.
3262 Added an event listener for several ATK signals, for
3263 testing and debugging. Removed a few g_warnings.
3264 Added test output if focussed item implements the Value interface.
3266 * test/test-simple.c:
3267 Added test_value () function (known not to pass at the moment, so
3268 not actually called yet.
3270 2001-12-08 Michael Meeks <michael@ximian.com>
3272 * at-bridge/bridge.c (bridge_focus_tracker),
3273 (emit_eventv): fix the same ref. leak.
3274 (register_atk_event_listeners): don't leak.
3276 * cspi/spi-listener-impl.c (cspi_event): more
3277 protection from client code.
3279 * test/test-simple.c (test_desktop): unref the app.
3281 * test/Makefile.am: upd. TESTS.
3283 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3285 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3287 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3289 * cspi/spi_registry.c: constify in strings.
3290 (deregisterGlobalEventListenerAll): don't release the ref.
3292 * cspi/spi.h: start removing redundant / conflicting
3293 gtkdoc comments, making the API readable at a glance :-)
3295 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3297 * test/keysynth-demo.c (keysynth_exit, main): upd.
3299 * test/simple-at.c (main, simple_at_exit): upd.
3301 * test/test-simple.c (unutterable_horror): kill.
3302 (utterable_normal_derefs): kill.
3303 (main): upd & do a setenv before gtk_init, so that we
3304 can use memprof - and to save the pain of remembering
3305 this, if we're running under memprof - don't exit.
3307 * cspi/spi_main.c (SPI_exit): return exit status
3309 (SPI_event_quit): impl.
3310 (SPI_event_main): simplify.
3311 (cspi_is_gnome_app): kill.
3312 (SPI_init): kill isGNOMEapp arg.
3314 * at-bridge/bridge.c (register_atk_event_listeners):
3315 re-instate the unref.
3316 (bridge_exit_func): don't re-activate the registry,
3317 protect vs. theoretical re-entry, use the
3318 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3319 assert a clean shutdown - for regression tests.
3321 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3323 * configure.in: Comment out dummy i18n support for now,
3324 otherwise it fails to build.
3325 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3326 EXTRA_DIST. They are missing in tarball.
3328 2001-12-07 Michael Meeks <michael@ximian.com>
3330 * util/magnifier.c: kill bonobo activation reg. race.
3332 * libspi/component.c
3333 (impl_accessibility_component_get_extents): make it match
3336 * libspi/registry.c (_registry_notify_listeners):
3337 re-remove X headers & reconcile conflicts.
3338 (spi_listener_struct_free): bad conflict resolve.
3339 (impl_accessibility_registry_register_application):
3340 more bad merging fixed.
3341 (impl_accessibility_registry_deregister_application): ditto.
3342 (spi_registry_new): ditto.
3343 (spi_registry_init): don't have an applications field.
3345 [ merge fixups2 branch to here ]
3346 2001-12-07 Michael Meeks <michael@ximian.com>
3348 * test/simple-at.c (report_focus_event),
3349 (report_focussed_accessible): remove g_warning debug.
3351 2001-12-07 Michael Meeks <michael@ximian.com>
3353 * test/test-simple.c (validate_tree): comment out some checks.
3354 (test_desktop): app now not registered idly - horay.
3356 2001-12-07 Michael Meeks <michael@ximian.com>
3358 * cspi/spi_registry.c
3359 (registerAccessibleKeystrokeListener): clean, stop it leaking
3360 great swathes of memory, and device event controller references.
3361 ensure we always pass valid sequences.
3362 (deregisterAccessibleKeystrokeListener): ditto.
3363 (generateKeyEvent): upd.
3365 * at-bridge/bridge.c (bridge_key_listener): handle
3366 registry dead exception gracefully.
3367 (bridge_focus_tracker, emit_eventv): free ev.
3369 * test/simple-at.c (report_focus_event): fix polarity.
3371 * libspi/application.c (notify_listeners): kill the ev
3372 argument, and make sure we init the ev we use.
3373 (spi_application_object_event_listener): split out a chunk
3374 (get_atk_object_ref): here & fixup.
3375 (reverse_lookup_name_for_toolkit_event): make const.
3376 (spi_application_toolkit_event_listener): fixup, kill leaks
3379 * at-bridge/bridge.c (register_atk_event_listeners):
3380 don't unref the noop object - causes grief.
3382 * libspi/registry.c: remove the X headers.
3383 turn off the debug churn.
3385 * libspi/accessible.c (spi_accessible_new_return): only
3386 release the ref if we are supposed to [doh]
3388 * test/simple-at.c (report_button_press, report_focus_event):
3389 guard vs. unexpected exit.
3391 * at-bridge/bridge.c (gtk_module_init): prune printf.
3392 (bridge_exit_func): fix app unref.
3394 * libspi/Makefile.am: don't install registry or desktop.h
3396 * libspi/*.h: update includes.
3398 * libspi/application.h: don't include ourself, or
3399 other redundant headers.
3401 2001-12-06 Michael Meeks <michael@ximian.com>
3403 * libspi/accessible.c
3404 (get_accessible_from_servant): impl.
3405 Upd. all CORBA impl.s to use it killing cut and paste.
3407 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3409 (SPI_init): register atexit cleanup handler here.
3411 2001-12-06 Michael Meeks <michael@ximian.com>
3413 * at-bridge/bridge.c (gtk_module_init): g_error on
3414 activation exception
3416 2001-12-06 Michael Meeks <michael@ximian.com>
3418 * at-bridge/bridge.c (gtk_module_init): some sort of
3419 confusing merge clash - reverted.
3420 (bridge_idle_init): ditto.
3422 * test/test-simple.c (main, utterable_normal_derefs):
3423 merge from Bill - somehow not committed.
3425 2001-12-06 Michael Meeks <michael@ximian.com>
3427 * libspi/value.c (spi_value_class_init): upd.
3428 (spi_value_finalize): kill.
3430 * libspi/table.c (spi_table_finalize): kill.
3431 (spi_table_interface_new): upd.
3432 (spi_table_class_init): upd.
3433 (get_table_from_servant): impl.
3434 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3436 * libspi/selection.c (spi_selection_finalize): kill.
3437 (spi_selection_interface_new): upd.
3438 (spi_selection_class_init): upd.
3439 (get_selection_from_servant): impl.
3440 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3442 * libspi/relation.c (spi_relation_finalize): kill.
3443 (spi_relation_class_init, spi_relation_new): upd
3445 * libspi/image.c (spi_image_finalize): kill.
3446 (spi_image_class_init): upd.
3447 (spi_image_interface_new): upd.
3448 (get_image_from_servant): impl.
3449 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3451 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3452 (spi_hyperlink_finalize): kill.
3453 (spi_hyperlink_new): upd.
3454 (get_hyperlink_from_servant): impl.
3455 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3457 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3458 (spi_hypertext_finalize): kill.
3459 (spi_hypertext_class_init): upd.
3460 (get_hypertext_from_servant): impl.
3461 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3463 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3464 (spi_editable_text_interface_new): upd.
3465 (get_editable_text_from_servant): impl.
3466 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3468 * libspi/text.c (get_text_from_servant): impl.
3469 All impls - update to use it killing more cut and paste,
3470 also fix bad string returns on duff args ( a somewhat
3471 impossible case to handle - but hey ).
3472 (spi_text_construct): impl.
3473 (spi_text_interface_new): upd.
3474 (spi_text_object_finalize): kill.
3476 * libspi/component.c
3477 (accessibility_component_object_finalize): kill.
3478 (spi_component_class_init): upd.
3479 (get_component_from_servant): impl. helper to kill cut & paste.
3480 (impl_accessibility_component_contains):
3481 (impl_accessibility_component_get_accessible_at_point):
3482 (impl_accessibility_component_get_position):
3483 (impl_accessibility_component_get_extents):
3484 (impl_accessibility_component_get_mdi_z_order):
3485 (impl_accessibility_component_get_layer):
3486 (spi_component_interface_new): upd.
3488 * libspi/action.c (spi_action_finalize): kill.
3489 (spi_action_class_init): upd. inherit from SpiObject.
3490 (spi_action_interface_new): upd.
3491 (get_action_from_servant): impl. helper to reduce cut & paste.
3492 (impl_getKeyBinding, impl_getName, impl_doAction),
3493 (impl_getDescription): Use it everywhere.
3495 * cspi/spi_main.c (get_live_refs): a pointer hash.
3496 (spi_object_hash, spi_object_equal): comment out.
3497 There are issues with CORBA object hashing that need
3500 * libspi/application.c (spi_application_init),
3501 (spi_application_new): upd.
3503 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3504 (spi_accessible_class_init): upd.
3505 s/accessible/object/ in epv methods.
3507 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3509 * at-bridge/bridge.c:
3510 Reorder the bridge initialization into the bridge gtk_module_init,
3511 an immediate call to bridge_register_app, and an idle_add for
3512 register_atk_event_listeners (the only code that *must* wait until
3513 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3514 the activation, creates the application's Accessible object, and
3515 queues the bridge_idle_init function. Restored call to
3516 Accessibility_Registry_deregisterApplication().
3517 Prior to making this call we obtain a new reference to the
3518 registry, which is a temporary hack that helps us handle apps that
3519 shut down the bonobo mainloop before we get there.
3521 * libspi/registry.c:
3522 Fix string leakage in debug block, and don't segv if a an app
3523 dies before its event notifications have been propagated.
3526 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3527 as stopgap measure until we get proper exception handling when
3528 objects die during or before interrogation.
3532 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3533 Also changed default value of is_gnome_app to TRUE.
3536 * test/keysynth-demo.c:
3537 Changed use of SPI_init and SPI_event_main to reflect API change above.
3540 Made report_focus_event check the warning value from getName
3541 before reporting on focussed accessible; simplifies handling of
3542 notifications from dead objects.
3544 * test/test-simple.c: (Changes not in this patch since source is
3547 2001-12-05 Michael Meeks <michael@ximian.com>
3549 * registryd/registryd.c (main): protect against
3550 bonobo-activation startup race condition.
3552 * cspi/spi_main.c (cspi_object_add_check): cope
3553 with the exception elegantly.
3555 * idl/Accessible.idl: decl. ChildGone
3557 * libspi/desktop.c (spi_desktop_dispose): impl.
3558 (spi_desktop_class_init): upd.
3559 (spi_desktop_add_application),
3560 (spi_desktop_remove_application),
3561 (abnormal_application_termination): impl.
3562 (impl_desktop_get_child_at_index): re-impl.
3565 (impl_accessibility_registry_deregister_application),
3566 (impl_accessibility_registry_register_application):
3567 kill excessive debug clutter.
3569 * test/test-simple.c (test_misc): test some NULL
3570 tolerance. (main): upd.
3572 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3573 implements no interfaces - so let's not crash.
3575 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3577 * libspi/accessible.c (spi_accessible_new_return): impl.
3578 helper to calm the cut and paste, to cope with
3579 NULL AtkObjects effectively and efficiently, and to kill
3580 the referencing bugs.
3582 * libspi/table.c (impl_getAccessibleAt),
3583 (impl_getRowHeader, impl_getColumnHeader): upd.
3585 * libspi/hyperlink.c (impl_getObject): upd.
3587 * libspi/accessible.c
3588 (impl_accessibility_accessible_get_child_at_index): upd.
3590 * libspi/component.c
3591 (impl_accessibility_component_get_accessible_at_point): upd.
3593 * test/test-simple.c (test_editable_text, test_text): impl.
3596 * cspi/spi_editabletext.c
3597 (AccessibleEditableText_insertText): constify.
3599 * test/test-simple.c (focus_me): make more robust.
3601 * libspi/accessible.c: remove some printfs in methods that
3602 we test and work fine, so we can get a clean tree dump.
3604 * test/test-simple.c (validate_accessible),
3605 (validate_tree): make tree dumping pretty too.
3607 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3608 it builds without debug on.
3610 * test/test-simple.c (validate_accessible): fix the most
3613 * cspi/spi_main.c (spi_object_release): leave the nicely
3614 blanked memory around if in debug mode.
3616 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3618 [committed to fixups2]
3619 2001-12-05 Michael Meeks <michael@ximian.com>
3621 * libspi/editabletext.c
3622 (spi_editable_text_class_init): g_type_class_peek_parent,
3623 not interface peek - so we finalize cleanly.
3625 * libspi/accessible.c (spi_accessible_new): kill debug.
3627 * test/test-simple.c (validate_accessible): fix ref.
3628 leak, print strings before freeing them; sigh, comment a
3629 chunk out due to strangeness.
3630 (validate_tree): unref the child after use.
3632 * cspi/spi_component.c (AccessibleComponent_getLayer):
3633 add missing break statement, switch on zlayer not the
3634 uninitialized retval.
3636 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3637 before (possibly re-entering) remote unref.
3639 * test/simple-at.c (main): unref the desktop.
3641 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3644 * cspi/spi_main.c (cspi_accessible_is_a): here to
3645 isolate bonobo API usage more.
3647 * libspi/registry.c (impl_accessibility_registry_register_application):
3648 prune bogus comment.
3650 2001-12-04 Michael Meeks <michael@ximian.com>
3652 * test/test-simple.c (validate_tree): upd.
3653 IndexInParent check to make it more lucid.
3654 (validate_accessible): dump the tree.
3656 * libspi/accessible.c (de_register_public_ref),
3657 (get_public_refs): impl.
3658 (spi_accessible_new): make more efficient & intuitive.
3659 Now IndexInParent check works.
3661 2001-12-04 Michael Meeks <michael@ximian.com>
3663 * cspi/spi-util.h: remove.
3665 * cspi/spi.h: move SPI_freeString here
3667 * libspi/component.c (impl_accessibility_component_get_layer):
3669 (impl_accessibility_component_get_mdi_z_order): ditto,
3670 return -1 on error - is this ok ?
3672 * test/test-simple.c (test_application): impl.
3674 * cspi/spi_accessible.c (Accessible_getApplication),
3675 (Accessible_isApplication): impl.
3677 * libspi/registry.c (spi_listener_struct_free): release
3678 the CORBA reference too.
3680 * libspi/accessible.c
3681 (impl_accessibility_accessible_get_parent): fix ref leak.
3683 * libspi/registry.c (spi_registry_new): make the registry
3684 immortal - we don't want it to go away ever.
3686 * libspi/application.c
3687 (spi_accessible_application_finalize): impl. cleanup.
3689 * cspi/spi_registry.c
3690 (deregisterGlobalEventListenerAll),
3691 (deregisterGlobalEventListener),
3692 (deregisterAccessibleKeystrokeListener): fix ref leak.
3694 * cspi/spi_main.c (SPI_init): remove redundant ref.
3696 * test/test-simple.c (unutterable_horror): impl. to force a
3701 (impl_accessibility_registry_deregister_application): release
3702 the application when we de-register it.
3704 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3705 until we have the infastructure to get it right.
3707 2001-12-03 Michael Meeks <michael@ximian.com>
3709 * libspi/Makefile.am: only build eventlistener.[ch]
3711 * libspi/accessible.c
3712 (impl_accessibility_accessible_get_child_at_index): don't leak.
3714 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3715 before we hit the idle handler.
3717 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3718 debugging than exit.
3720 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3722 * libspi/listener.c (impl_notify_event): check source
3723 not NIL before unref.
3725 * libspi/registry.c (impl_registry_notify_event): ditto.
3727 * libspi/eventlistener.c
3728 (impl_accessible_event_notify_event): unref the source.
3730 * libspi/accessibleeventlistener.c
3731 (impl_accessible_event_notify_event): unref the source.
3733 * idl/Event.idl: remove 'hash_id' attribute - of no
3736 * libspi/application.c (notify_listeners): upd list
3738 (spi_application_object_event_listener),
3739 (spi_application_toolkit_event_listener): upd to do correct
3743 (_registry_notify_listeners): update.
3744 (parse_event_type): this method also leaks like a sieve.
3745 (impl_accessibility_registry_deregister_global_event_listener):
3746 fix ETYPE_WINDOW case.
3748 * libspi/application.c
3749 (impl_accessibility_application_register_object_event_listener):
3752 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3754 * libspi/hypertext.c (impl_getLink): ditto.
3756 * cspi/spi_main.c (cspi_object_add): remove
3757 bogus CORBA_Object_duplicate.
3759 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3762 * cspi/spi_accessible.c
3763 (Accessible_getRelationSet): fix leak / referencing issue.
3765 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3766 (cspi_object_add, cspi_object_unref): upd.
3767 (spi_object_release, get_live_refs): impl.
3768 (cspi_cleanup): simplify.
3770 * *.[ch]: s/boolean/SpiBoolean/
3772 * cspi/spi_accessible.c (role_names): actualy order so it
3773 corresponds with the enum !
3775 * test/test-simple.c (test_roles): check some role strings
3776 vs. enums to detect offset errors.
3778 2001-12-01 Michael Meeks <michael@ximian.com>
3780 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3782 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3784 (Accessible_getChildAtIndex): use cspi_add_check so we
3785 check the ev before using a (possibly) invalid value.
3787 * libspi/accessible.c
3788 (impl_accessibility_accessible_get_parent): don't segv
3791 * at-bridge/bridge.c (gtk_module_init): upd.
3792 (bridge_property_event_listener): don't leak strings
3794 (bridge_state_event_listener),
3795 (bridge_property_event_listener): don't use a static
3796 buffer in case of recursive event emission &
3797 re-enterancy - split out the swathe of cut and paste
3799 (emit_eventv): and fix 2 ref leaks here & comply to the
3801 (bridge_register_app): rename to
3802 (bridge_idle_init): this and kill arg parsing, split
3803 various inits & bonobo-activation registration to module
3804 init time, kill referencing error.
3805 (bridge_exit_func): fix the same leak.
3806 (bridge_focus_tracker): don't leak event structures
3808 (bridge_signal_listener): more leakage and cut & paste
3810 (bridge_key_listener): return the result - FIXME is
3811 this polarity correct ?
3812 (accessibility_keystroke_from_atk_key_event): rename
3813 (accessibility_init_keystroke_from_atk_key_event): and stop
3815 (gtk_module_init): return a value - not that it is checked by
3817 (bridge_key_listener): register my horror at casting between
3818 IDL defined structs.
3819 (bridge_get_registry): kill - not used.
3821 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3823 * test/test-simple.c (test_roles): impl.
3824 (test_desktop, validate_accessible, validate_tree): impl.
3826 * cspi/spi_accessible.c (role_names): fixup bogus
3827 MAX_ROLES setup, make constants const for efficient linkage
3828 (AccessibleRole_getName): conform to coding style, make
3831 2001-11-30 Michael Meeks <michael@ximian.com>
3833 * cspi/spi.h: add missing prototype.
3835 * libspi/registry.c (spi_listener_struct_new): fix sig.
3837 * test/Makefile.am: add test-simple
3839 * test/test-simple.c: add
3841 * test/test.sh: add.
3843 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3845 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3846 do it straight - since otherwise we often get an activation race.
3848 [ work before Bill duplicated a chunk of it ... ]
3849 2001-11-30 Michael Meeks <michael@ximian.com>
3851 * libspi/keystrokelistener.c
3852 (spi_keystroke_listener_class_init): fixup arg
3855 * libspi/eventlistener.c
3856 (spi_event_listener_class_init): ditto.
3858 * tests/test.sh: add.
3860 * cspi/spi-listener-impl.h: update macros.
3862 * cspi/spi-listener-impl.c
3863 (cspi_event_listener_remove_callback): add
3864 correct pre-conditions.
3866 * cspi/spi_main.c (SPI_exit): guard vs. double
3867 exits, exit the mainloop nicely.
3868 (SPI_event_main): make more sense.
3869 (SPI_init): move the atexit evilness here so we
3870 always do it (yuck).
3871 (SPI_event_main): upd.
3873 * test/simple-at.c: update for listener changes.
3875 * registryd/registryd.c (main): prune kruft.
3877 * libspi/libspi.h: upd.
3879 * libspi/eventlistener.[ch]: rename broken macros.
3881 * libspi/accessibleeventlistener.[ch]: remove.
3883 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3885 * test/test-simple.c: Add - automated tests.
3887 * cspi/spi-listener-impl.c (cspi_event),
3888 (cspi_key_event): add user_data to invoke.
3889 (cspi_keystroke_listener_finalize): impl.
3890 (cspi_keystroke_listener_class_init): upd.
3893 (createAccessibleEventListener),
3894 (AccessibleEventListener_addCallback),
3895 (createAccessibleKeystrokeListener),
3896 (AccessibleKeystrokeListener_addCallback): upd.
3898 * libspi/deviceeventcontroller.c
3899 (spi_device_event_controller_check_key_event): add public proto.
3902 (impl_accessibility_registry_deregister_global_event_listener):
3903 always init listeners.
3904 (_registry_notify_listeners): yes it is.
3906 * cspi/spi-listener-impl.c (cspi_key_event):
3908 (cspi_event_listener_finalize): impl.
3909 (cspi_event_listener_class_init): hook up.
3910 (event_handler_new, event_handler_free),
3911 (event_list_remove_by_callback): impl.
3912 (cspi_event_listener_remove_callback),
3913 (cspi_keystroke_listener_remove_callback),
3914 (cspi_keystroke_listener_add_callback),
3915 (cspi_event_listener_add_callback): upd.
3917 * libspi/keystrokelistener.c
3918 (keystroke_listener_object_finalize): kill
3919 (spi_keystroke_listener_class_init): upd.
3920 (spi_keystroke_listener_add_callback),
3921 (spi_keystroke_listener_remove_callback): kill,
3923 (impl_key_event): prune drasticaly.
3925 * libspi/eventlistener.c
3926 (spi_event_listener_add_callback),
3927 (spi_event_listener_remove_callback): kill, use
3929 (impl_accessible_event_notify_event): upd.
3930 (spi_event_listener_object_finalize): remove.
3932 * libspi/Makefile.am: use eventlistener.[ch]
3934 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3936 * libspi/registry.c (_registry_notify_listeners):
3937 Changed listener loop iteration to use preferred convention.
3938 Got rid of string memory leaks caused be calling g_strconcat
3939 inside function calls.
3941 * libspi/registry.c (parse_event_type):
3942 Stopped g_strconcat memory leaks, free the g_strsplit return,
3943 g_strdup the split pieces when used, etc.
3945 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3948 Change method 'compare' to return a 'difference set' rather than
3949 taking a StateSet as an out parameter (more Java-friendly).
3951 * idl/Accessible.idl:
3952 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3954 * idl/Component.idl:
3956 Changed methods 'getExtents' and 'getImageExtents' in these
3957 interfaces to return a BoundingBox structure.
3958 (getPosition and getSize are redundant and possibly should be
3959 removed, rather than creating a corresponding Point struct.)
3961 * cspi/spi_component.c:
3962 Modify implementation of getExtents to reflect the above IDL
3967 Add (missing) AccessibleImage_getExtents () API.
3969 * docs/reference/cspi/at-spi-cspi-sections.txt:
3970 Added AccessibleImage_getImageExtents () to docs.
3972 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3974 * idl/Component.idl:
3975 Added two methods, getLayer () and getMDIZOrder (), to reflect
3976 the new ATK methods atk_object_get_layer and
3977 atk_object_get_mdi_z_order. (Which arguably should be part of the
3978 AtkComponent API and AtkObject). Also added an enum,
3979 ComponentLayer, for the first method's return value.
3981 * libspi/component.c:
3982 Added implementations for these methods.
3984 * cspi/spi_component.c:
3986 Added cspi binding methods for above,
3987 AccessibleComponent_getLayer() and
3988 AccessibleComponent_getMDIZOrder().
3989 Added cspi enum 'AccessibleComponentLayer'.
3991 * docs/reference/cspi/at-spi-cspi-sections.txt:
3992 Added above methods to docs.
3996 Changed typedef for 'boolean' type (and all references to it) to
3997 SPIBoolean, to avoid keyword clashes with C++.
4000 Changed usages of 'boolean' to SPIBoolean.
4002 * test/keysynth-demo.c:
4003 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4004 app), except where SPIBoolean is required by the callbacks API.
4006 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4008 * cspi/spi_registry.c:
4009 Removed obsolete X event loop for passive keygrabs (which now
4012 * registryd/registryd.c:
4013 Removed unnecessary call to gdk_init() [cruft]. This also allows
4014 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4017 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4019 * docs/reference/cspi:
4020 Included docs for SPI_freeString in generated documentation.
4023 Renamed spi_freeString to SPI_freeString, for consistency. Added
4024 documentation for this function.
4027 Renamed spi_freeString to SPI_freeString, for consistency.
4028 Removed obsolete method declaration string_from_corba_string.
4030 * test/keysynth-demo.c:
4031 Small tweak to comments.
4034 Stopped leaking the strings returned from CSPI.
4036 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4038 Merged Michael's branch (see his ChangeLog entries below).
4040 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4041 bridge is alive, release on exit.
4043 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4044 Fix type check macro.
4047 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4050 Added is_gnome_app static, and method cspi_is_gnome_app(),
4051 so we can call the appropriate shutdown routine at exit in SPI_exit.
4053 * cspi/spi_main.c (cspi_object_ref):
4054 Duplicate the corba object passed in, since we're keeping it around.
4056 * cspi/SPI_exit.c, cspi_cleanup:
4057 Moved the releasing of the live refs to its own function, so we
4058 can put it in g_atexit (). Call the appropriate shutdown API
4059 depending on whethe calling client is a gnome app or not
4060 (bonobo_main_quit or CORBA_ORB_shutdown).
4062 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4063 Unref the listener when this method is called, after
4064 deregistration. Updated the API docs to note this behavior.
4066 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4067 Bugfixes: Ref the bonobo object when returning a parent or child
4068 reference, or an AccessibleRelation. Generally made sure
4069 BonoboObject refcount is incremented whenever we return an
4072 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4073 Fixed typo/bug in signal declaration.
4075 * libspi/accessibleeventlistener.h:
4078 * libspi/application.c (spi_application_new):
4079 Fixed leak in initialization.
4082 Remembered to increment bonobo-object refcount when returning
4083 children (applications) from desktop object.
4084 Added (empty) finalize method.
4086 * libspi/deviceeventcontroller.c:
4087 Hold a ref to listeners inside DEControllerKeyListeners.
4088 Added dec_key_listener_free() method. Use prepend instead of
4089 append in key_listener list. Fixed some refcount madness and
4090 leaks in the listener registration/deregistration - deregistration
4091 now calls dec_key_listener_free() on listeners, and on the
4092 temporarily constructed dec_key_listener() used to perform the search/match.
4094 * libspi/hypertext.c (spi_hypertest_finalize):
4095 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4096 class. Also fixed spi_hypertext_interface_new() and
4097 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4099 * libspi/hypertext.h:
4100 Removed pointless and duplicate AtkObject pointer from
4103 * libspi/keystrokelistener.c:
4104 Fixed incorrect type of keystroke_listener_parent_class,
4105 renamed keystroke_listener_object_finalize to
4106 spi_keystroke_listener_object_finalize.
4107 Fixed typo in signal declaration
4108 (spi_keystroke_listener_class_init).
4110 * libspi/registry.c:
4111 Added funcsions spi_listener_struct_new() and
4112 spi_listener_struct_free() to help with memory management issues.
4113 We also now use these methods instead of gnew + poking stuff into
4114 the struct, and to decrement listener counts/free the listeners
4115 when deregistering them.
4116 Fix more refcount bugs in getDesktop() and
4117 getDeviceEventController().
4120 De-ref the desktop after enumerating the applications. Explicitly
4121 decrement the refcounts on the created listeners on exit (using
4122 _unref for keystroke listeners, and via the
4123 deregisterGlobalEventListenerAll command for other event
4126 2001-11-27 Michael Meeks <michael@ximian.com>
4128 * cspi/spi-listener.h: fixup enum.
4130 2001-11-27 Michael Meeks <michael@ximian.com>
4132 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4133 (cspi_keystroke_listener_new): Use the cspi variants.
4135 2001-11-26 Michael Meeks <michael@ximian.com>
4137 * test/keysynth-demo.c: fix 2 compile warnings, missing
4140 * test/simple-at.c (report_focussed_accessible),
4141 (report_focus_event, report_button_press),
4142 (check_property_change, is_command_key),
4143 (report_ordinary_key_event, report_command_key_event): upd.
4145 * util/mag_client.h: include pre-requisites.
4147 * libspi/accessibleeventlistener.c
4148 (spi_event_listener_object_finalize): free any lingering
4151 * libspi/keystrokelistener.c
4152 (keystroke_listener_object_finalize): ditto.
4154 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4155 callbacks, with cspi types.
4157 * cspi/spi_event.c (createAccessibleEventListener): chain to
4158 (AccessibleEventListener_addCallback): here.
4159 (createAccessibleKeystrokeListener): chain to
4160 (AccessibleKeystrokeListener_addCallback): here.
4162 * libspi/keystrokelistener.c
4163 (spi_keystroke_listener_class_init): add signal.
4164 (impl_key_event): emit the event.
4165 (boolean_handled_accumulator): impl.
4166 (marshal_BOOLEAN__POINTER): add, gack.
4168 * libspi/accessibleeventlistener.c
4169 (spi_event_listener_class_init): add signal.
4170 (impl_accessible_event_notify_event): emit the signal &
4171 make the loop efficient.
4172 (spi_event_listener_add_callback): prepend the callback.
4174 * libspi/accessibleeventlistener.h: add an 'event' signal,
4175 decl type on callback.
4177 * libspi/keystrokelistener.h: ditto.
4179 * cspi/spi-listener.h: make methods typesafe and
4180 make them use the new event typedefs.
4182 * test/simple-at.c (report_focussed_accessible):
4183 include mag_client.h
4184 Use *(void *)text_interface not the other thing.
4186 * configure.in: add gtk to registryd bits - since we use
4189 * util/magnifier.c: include libbonobo.h
4191 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4193 * test/keysynth-demo.c:
4194 Turned this into a simple scanning keyboard, to demonstrate the
4195 use of g_timeout_add () as a means of creating timers for
4196 scanning, and the use of GtkStyle for visually indicating when
4197 virtual keyboard elements are selected.
4199 keysynth-demo now listens to any keyboard keys with zero-valued
4200 keycodes (i.e. 'unused' keys) and interprets them as
4203 Reworked the shiftlatch code so that shift-down state isn't held
4204 for long periods (it's only synthesized immediately prior to
4205 the keysynth event it's modifying). Note that shiftlatch in this
4206 demo is a convenience, not intended to take the place of AccessX
4207 which is the better choice for getting 'sticky' modifier keys.
4209 * libspi/deviceeventcontroller.c:
4210 * at-bridge/bridge.c:
4211 * cspi/spi_registry.c:
4212 Removed some debug print stuff, and put other verbosity in #ifdef
4217 Implemented some more of the magnifier IDL for the simple
4218 magnifier: namely, getZoomRegionParams.
4219 Added mag_x and mag_y members to MagnifierData struct, aid of this
4221 Added GtkWindow::realize signal handler to magnifier, to keep it
4222 from receiving keyboard focus from the WM.
4224 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4226 * cspi/spi-private.h: my guess at what michael forgot
4227 before he ran off to NZ :-)
4229 2001-11-23 Michael Meeks <michael@ximian.com>
4231 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4232 comment out non existant method invoke so we link.
4234 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4235 use bonobo_exception_get_text for more friendly warnings.
4237 * cspi/spi.c (Obj_Add): move into spi_main & rename
4238 spi_object_add; kill spi.c
4240 * cspi/spi_registry.c
4241 (deregisterGlobalEventListener),
4242 (deregisterGlobalEventListenerAll),
4243 (registerGlobalEventListener): fix exception leaks.
4245 * cspi/spi_main.c (spi_exception): impl. helper, so we
4246 don't leak exceptions.
4248 * cspi/spi_selection.c
4249 (AccessibleSelection_deselectSelectedChild): return the
4252 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4253 (spi_registry): ditto.
4254 (SPI_init): guard against double inits.
4256 * cspi/*.c: use spi_ev (), and spi_registry () where
4257 appropriate - a temporary hack until we have something
4258 better. Use spi_object_add
4260 2001-11-22 Michael Meeks <michael@ximian.com>
4262 * cspi/Makefile.am: re organise, install the headers.
4264 * cspi/*.h: add G_BEGIN/END_DECLS
4266 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4269 Added non-preemptive keylistener for key events with no modifiers
4270 and shift-only modifier.
4272 * libspi/keystrokelistener.c:
4273 Removed some verbose diagnostics printout.
4275 * cspi/spi_registry.c:
4276 Fixed a bug that caused all key listeners to be registered as
4279 * libspi/deviceeventcontroller.c:
4280 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4281 for non-preemptive key masks.
4284 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4286 * docs/reference/idl/at-spi-idl-docs.sgml:
4287 * docs/reference/idl/at-spi-idl-sections.txt:
4288 * docs/reference/idl/at-spi-idl-overrides.txt:
4289 Added missing files.
4291 * docs/reference/Makefile.am:
4292 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4293 to scan the IDL files :-(
4298 Added .cvsignore files.
4300 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4302 * libspi/deviceeventcontroller.c:
4303 * libspi/keystrokelistener.c:
4305 * cspi/spi_registry.c:
4306 Added filters for KeySets, KeyEventSeq, and event types to key
4307 event dispatching, so listeners should only receive those events
4308 that they requested :-)
4310 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4315 * docs/reference:Makefile.am:
4316 * docs/reference/cspi:
4317 * docs/reference/cspi:Makefile.am:
4318 * docs/reference/cspi:tmpl:
4319 * docs/reference/cspi:tmpl:*.sgml:
4320 * docs/reference/idl:
4321 * docs/reference/idl:Makefile.am:
4322 * docs/reference/idl:at-spi-idl-sections.txt:
4323 * docs/reference/idl:at-spi-idl-docs.sgml:
4324 * docs/reference/idl:tmpl:
4325 * docs/reference/idl:tmpl:*.sgml:
4327 Restructured docs directory to allow separate 'reference' docs
4328 section, and forked idl and cspi docs. Added the sgml template
4329 files to CVS. Added the first sections/structural sgml for the
4332 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4334 * configure.in, libspi/Makefile.am: find libXtst.
4336 2001-11-21 Michael Meeks <michael@ximian.com>
4338 * test/accessx-gui.c: s/spi_value/value/ - doh.
4340 * libspi/base.[ch]: add.
4342 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4344 * idl/Accessible.idl:
4345 * idl/Application.idl:
4348 Started gtk-doc cleanup on IDL.
4350 * libspi/deviceeventcontroller.c:
4351 Added and connected non-preemptive key notification from the
4352 toolkits (in addition to the pre-emptive support from XServer
4353 which we had before, but which causes 'focus flashing'). Filters
4354 are presently limited to key modifiers and global/non-global,
4355 KeySets are presently ignored, as are KeyEvent masks.
4357 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4358 structs into the persistant structure rather than just storing
4359 pointers to things that might not persist across servant
4362 The XGrabKey call now does async keygrabs, because synchronous
4363 ones were deadlocking with GDK_event code in a very nasty way.
4365 Added boolean to internal method notify_keylisteners, to indicate
4366 whether the event came from the 'toolkit source' or the 'global
4367 (XServer) source' - this is used in the notification process to
4368 determine which listeners to send the event to.
4370 deviceeventcontroller.c is now warning-free.
4372 * libspi/registry.c:
4373 Fixed regression in application de-registration.
4374 Also fixed some really brain-dead weirdness having to do with
4375 event dispatching - event structs are now duplicated before being
4376 re-marshalled in the dispatch to listeners. This also fixes a
4377 Solaris build problem.
4380 2001-11-20 Michael Meeks <michael@ximian.com>
4383 (impl_accessibility_registry_deregister_global_event_listener):
4386 * libspi/deviceeventcontroller.c
4387 (spi_device_event_controller_check_key_event): return
4388 FALSE on no virtual method.
4390 * libspi/*..h: make includes work on a correctly pathed install.
4392 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4394 * libspi/application.h: kill unused ( and whacked out )
4395 gboolean *spi_application_set_id (AtkObject *app, long id);
4397 2001-11-20 Michael Meeks <michael@ximian.com>
4399 * libspi/*.[ch]: further convert to bonobo's type func
4400 macros, remove redundnant casts etc.
4402 * libspi/text.c s/accessibility_text/spi_text/g,
4403 re-order to de-cruft.
4405 * libspi/hypertext.c: re-order to kill a huge slew
4406 of redundant forward decls.
4408 * libspi/relation.c: ditto.
4410 * libspi/image.c: ditto.
4412 * */.cvsignore: update
4414 2001-11-20 Michael Meeks <michael@ximian.com>
4416 * libspi/deviceeventcontroller.c
4417 (_controller_register_with_devices): use g_getenv,
4418 kill stdlib.h include.
4420 * libspi/keystrokelistener.c
4421 (spi_keystroke_listener_get_type): kill
4422 (spi_keystroke_listener_class_init),
4423 (spi_keystroke_listener_init): rename to this.
4425 * libspi/text.c (impl_getAttributes): fix warning / bug.
4427 * libspi/*.[ch]: more headers, includes and over commenting.
4429 2001-11-20 Michael Meeks <michael@ximian.com>
4431 * libspi/*.[ch]: fixup headers, includes and over commenting.
4433 * libspi/image.c (impl__get_imageDescription): const
4434 correctness warning fix. remove redundant casting.
4436 * libspi/table.c (impl_getRowDescription): ditto.
4437 (impl_getColumnDescription): ditto.
4439 * libspi/libspi.h: add.
4441 2001-11-19 Michael Meeks <michael@ximian.com>
4443 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4445 * libspi/component.c (accessibility_component_get_type):
4446 rename to (spi_component_get_type): and macroify.
4447 (accessibility_component_init): rename to
4448 (spi_component_init): this
4449 (accessibility_component_class_init): rename to
4450 (spi_component_class_init): this
4452 * libspi/action.c (spi_action_get_type): kill, use the macro.
4454 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4457 * libspi/application.c (spi_application_object_event_listener),
4458 (impl_accessibility_application_register_object_event_listener):
4459 warning fixes / const understanding updates.
4461 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4464 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4466 * libspi/spi_accessible.c: Added docs and C bindings for
4467 AccessibleStateSet. (No implementations yet). Documentation
4468 coverage for C bindings now 100%. Made docs for event listeners
4473 boolean notifyListenersSync (in DeviceEventListener listener,
4474 in DeviceEvent event);
4476 oneway void notifyListenersAsync (in DeviceEventListener listener,
4477 in DeviceEvent event);
4479 Added DeviceEventListener and DeviceEvent structs (may deprecate
4480 KeyStroke and KeystrokeListener in favor of this generic
4481 event/listener framework for devices).
4483 * libspi/deviceeventcontroller.c:
4485 Changed some key listener code to take masks, etc., and paved the
4486 way for integration of toolkit/non-preemptive key events. Changed
4487 signatures of some internal methods.
4489 * at-bridge/bridge.c:
4490 Fixed regression connecting to interface signals, apparently
4491 caused by GTK+ changes.
4493 Added an internal bridge_state_listener to deal with
4494 property-change:accessible-state signals.
4496 Changed the key_listeners GList to store structs (including masks,
4497 etc.) instead of just CORBA_Objects (required for full
4498 implementation of key listener API).
4500 Connected the bridge to all currently supported Atk signals.
4501 Events now supported:
4502 object:property-change
4503 object:property-change:accessible-name
4504 object:property-change:accessible-state
4505 object:property-change:accessible-description
4506 object:property-change:accessible-parent
4507 object:property-change:accessible-value
4508 object:property-change:accessible-role
4509 object:property-change:accessible-table-caption
4510 object:property-change:accessible-table-column-description
4511 object:property-change:accessible-table-column-header
4512 object:property-change:accessible-table-row-description
4513 object:property-change:accessible-table-row-header
4514 object:property-change:accessible-table-summary
4515 object:children-changed
4516 object:visible-data-changed
4517 object:selection-changed
4518 object:text-selection-changed
4520 object:text-caret-moved
4522 object:row-reordered
4524 object:column-inserted
4525 object:column-reordered
4526 object:column-deleted
4527 object:model-changed
4529 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4531 * libspi/hyperlink.c,h:
4532 Fixed some broken stuff in hyperlink.
4534 * libspi/relation.h:
4535 * libspi/relation.c:
4536 * cspi/spi_accessible.c:
4537 Initial implementations of AccessibleRelation methods, and docs.
4539 * libspi/accessible.c:
4540 Fixed a bug that caused SEGV if an accessible
4541 object's description is NULL, and a client
4542 requests it. An empty string is now returned.
4544 * cspi/spi_editabletext.c:
4545 * cspi/spi_hypertext.c:
4547 * cspi/spi_hyperlink.c:
4551 Doc coverage now 95%.
4553 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4555 One last namespacing revision:
4556 * libspi/accessibleeventlistener.[ch]:
4557 Renamed SpiAccessibleEventListener to SpiEventListener,
4558 (no need for two namespaces ;-)
4560 And lots of documentation fixes:
4562 * docs/at-spi-docs.sgml:
4563 Fixed 'underscore vs. hyphen' bug that was preventing
4564 the gtk-doc API docs from being automatically generated.
4567 * cspi/spi-listener.h
4569 * cspi/spi_accessible.c
4571 * cspi/spi_application.c
4572 * cspi/spi_component.c
4573 * cspi/spi_editabletext.c
4575 * cspi/spi_hypertext.c
4577 * cspi/spi_registry.c
4578 * cspi/spi_selection.c
4582 * docs/at-spi-docs.sgml
4583 * docs/at-spi-sections.txt
4585 Added and fixed up gtk-doc documentation in cspi.
4587 Interfaces now (fully) documented (subject to revision and enhancement):
4589 Event Listener Support
4591 AccessibleApplication
4595 AccessibleEditableText
4602 AccessibleRelationSet
4607 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4609 * at-bridge/bridge.c:
4610 Initial work for toolkit-level key snooper connection by bridge.
4615 New typedefs and fixes to support new namespacing, and cleaner
4616 separation of cspi bindings from libspi bonobo implementation.
4617 Removed inconsistent and extraneous Spi* namespace prefix that
4618 had crept into cspi headers.
4619 Lots of comment fixes that sed had missed.
4621 * cspi/spi-roletypes.h:
4622 * cspi/spi-statetypes.h:
4623 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4624 to AccessibleRoleType.
4626 * libspi/accessibleeventlistener.h:
4627 Fixed minor namespacing weirdness.
4629 * libspi/deviceeventcontroller.c:
4630 Reordered some internal API for device listeners.
4631 Changed the key registry final boolean to 'is_system_global'
4632 rather than 'is_synchronous', which is more descriptive of its
4634 Added spi_device_event_controller_new().
4635 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4637 * libspi/keystrokelistener.[ch]:
4638 Namespaced KeystrokeListener to SpiKeystrokeListener.
4639 Changed uses of keymasks to use SPI_ prefix, and did other
4642 * libspi/keymasks.h:
4643 Namespaced keymask constants with SPI_ prefix.
4645 * libspi/registry.c:
4646 Some warning fixes, and knock-on fixes from namespace changes.
4649 Added rules for accessx-gui test program.
4651 * test/accessx-gui.c:
4652 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4653 utility. It doesn't actually use at-spi, but it's still cool and
4656 * test/keysynth-demo.c:
4660 Fixes so that these test clients work properly with the namespaced
4661 libraries. (Incompletely tested for technical reasons, fixes may follow)
4664 2001-11-13 Michael Meeks <michael@ximian.com>
4666 * libspi/application.c
4667 (impl_accessibility_application_get_version),
4668 (impl_accessibility_application_get_toolkit_name):
4670 (impl_accessibility_application_set_id),
4671 (impl_accessibility_application_get_id): remove
4672 redundant casting code.
4674 * libspi/action.c (impl_getDescription): fix warnings.
4676 * libspi/accessible.c
4677 (impl_accessibility_accessible_get_parent),
4678 (impl_accessibility_accessible_get_child_at_index),
4679 (impl_accessibility_accessible_get_state),
4680 (impl_accessibility_accessible_get_relation_set):
4681 warning fixes & include action.h
4683 2001-11-13 Michael Meeks <michael@ximian.com>
4685 * *.[ch] fix bits I screwed up:
4687 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4688 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4690 2001-11-13 Michael Meeks <michael@ximian.com>
4692 * *.[ch] Namespace libspi into spi_ and Spi.
4694 2001-13-11 Michael Meeks <michael@ximian.com>
4696 * Makefile.am: dist & install at-spi-1.0.pc
4698 * libspi/Makefile.am: install into at-spi-1.0
4700 * idl/Makefile.am (idldir): install into at-spi-1.0
4702 * at-spi-1.0.pc.in: add.
4704 * configure.in: build it.
4706 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4708 * test/keysynth-demo.c:
4709 Use a 'realize' signal-handler to set the WM properties for
4710 the virtual keyboard, rather than making it a "POPUP" type
4711 override-redirect window (thanks to anders carlsson for that
4714 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4717 * test/keysynth-demo.c:
4718 Added new test of key synthesis, which creates a simple
4719 (mouse-operated) onscreen keyboard. It inserts key events into
4720 the currently-focused window, thus it does not grab keyboard focus
4723 * cspi/spi_registry.c:
4724 Added C binding for AT-SPI generateKeyEvent.
4726 * libspi/deviceeventcontroller.c:
4727 Added call to XFilterEvent so that key listener works with XIM (we
4728 hope). Added event_synth_type to generateKeyEvent, so that we can
4729 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4730 synthesize a press/release pair for KeySyms.
4732 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4734 * libspi/Makefile.am:
4735 * registryd/Makefile.am:
4736 (temporary) hack to include libXtst in libspi and registryd.
4737 (Needed for keystroke synthesis, see below).
4740 Improved API for registerKeystrokeListener, in accordance with
4741 discussions with Gnopernicus team and X server research.
4743 * libspi/registry.c:
4744 * libspi/deviceeventcontroller.c:
4745 * libspi/accessible.c:
4746 * libspi/keystrokelistener.c:
4747 Changes and fixes to support keylisteners for potentially
4748 consumed key events (that is, 'passive grabs').
4749 Added implementation for generateKeyEvent() [untested].
4752 Changes to registerKeystrokeListener() API, as above.
4753 Added deregisterGlobalEventListenerAll(), and
4754 deregisterKeystrokeListener(), which are needed for clean exit of
4756 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4757 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4759 * cspi/spi_registry.c:
4760 Added implementations of function prototypes mentioned above.
4762 * registryd/registryd.c:
4763 Added the key listener event source as a g_timeout(), to allow
4764 receipt of key events that are not caught by GDK (since GDK
4765 doesn't support passive keygrabs, this was necessary).
4768 Changed to attach a keylistener to 'Alt' keys, and
4769 respond to the following keycommands: Alt-M (toggle magnifier);
4770 Alt-F (toggle speech); Alt-Q (quit).
4771 Added an exit routine to deregister the listeners, and a key
4772 listener that prints some key info to the console when a key
4773 matches the listener mask (and is thus received by the listener).
4775 * util/idl/Magnifier.idl:
4776 Changes to magnifier API to support multiple zoom regions,
4777 non-uniform scaling in x and y, markDirty, and a host of other
4778 features that would be useful to magnification.
4781 * util/mag_client.c:
4782 * util/mag_client.h:
4783 * util/mag_control.c:
4785 Source code changes to support the above IDL changes.
4788 As above, and also changes to use a (slower) generic conversion
4789 path for colormap conversions, since the fast RGB conversions have been
4790 reported to fail for 16-bit displays.
4792 2001-10-26 Michael Meeks <michael@ximian.com>
4794 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4796 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4798 * at-bridge/Makefile.am: fix LDFLAGS.
4800 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4802 * at-bridge/bridge.c:
4803 Re-worked listeners for toolkit events, now we have signal
4804 and property listeners. Added a private method
4805 register_atk_event_listeners(), which registers with the
4806 various atk and gtk signals we need to monitor in order to emit
4808 Added emission hook for AtkObject:property-change events, to
4809 support the 'property listeners'.
4810 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4813 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4814 which emit warnings and exit, respectively, if CORBA errors occur
4815 during remote calls, and we now use these methods to check most of
4816 our CORBA calls in the C bindings.
4818 * cspi/spi_accessible.c:
4819 Changed AccessibleSelection_refSelectedChild() to
4820 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4821 now increment refcounts.
4823 * cspi/spi_component.c:
4824 Fixed some long pointer casts (dangerous!) to pass pointers to
4825 CORBA_longs of the proper type to the CORBA stubs, and copy the
4826 data into the longs that were passed into the C bindings code.
4828 * at-bridge/bridge.c:
4830 * libspi/accessible.c:
4831 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4832 hyperlinks, AtkHyperlink is an object type.
4834 * libspi/application.c:
4835 Added various conversions to and from "generic" event types and
4836 atk-specific types; this is really part of the 'bridge'
4837 implementation but is valid for all AtkObject-based accessibility
4840 * libspi/editabletext.c:
4841 Fixed nasty bug wherein editable text's finalize method was
4842 unref'ing tha AtkObject reference that the text parent class was
4843 about to unref _again_. There was also a nasty inheritance bug
4844 that meant that the AccessibleEditableText class was corrupt.
4846 * libspi/selection.c:
4847 Provided implementations for some selection API that was broken.
4849 * idl/Application.idl:
4850 Added registerObjectEventListener () method.
4853 Fixed a number of return values that were Bonobo_Unknowns from
4854 bonobo_object_corba_objref(), which I
4855 forgot to dup before returning. Changed instances of
4856 bonobo_object_corba_objref (bonobo_object(o)) to
4857 BONOBO_OBJREF(o), for concision and clarity.
4859 2001-10-13 Louise Miller <louise.miller@sun.com>
4861 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4862 idl/Event.idl, idl/Registry.idl
4863 Changed these files to include Bonobo_Unknown.idl instead
4866 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4868 * libspi/component.c libspi/component.h:
4869 Fixed typo. Added assertions for object checks in
4870 AccessibleComponent code.
4872 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4874 * idl/Accessible.idl:
4875 Added 'isEqual (Accessible *object)'
4876 method for Accessible. (Not Yet Implemented).
4879 Changed signature of registerKeystrokeListener() to
4880 take a KeySet and KeyEventSeq so that specific keys and event
4881 types could be requested for monitoring, and added a flag
4882 is_synchronous so that either synchronous or asynchronous
4883 notification could be requested. (However this is not all
4884 implemented yet). This also meant adding two new typedefs,
4885 KeyEventSeq and KeySet.
4888 Added two new relations, RELATION_TOOLTIP_FOR and
4889 RELATION_LEAFNODE_OF.
4892 Added new state, STATE_HAS_TOOLTIP.
4894 * libspi/text.c, editabletext.c:
4895 Added new assertions to all casts of bonobo-objects from
4896 CORBA servants, to prevent Text API calls on non-text objects.
4897 Changed suspect casts of int-pointer types, so that we
4898 always send a valid CORBA_long pointer to the CORBA APIs that use
4899 in/out long parameters. We then have to copy from the CORBA_long
4900 into the regular long or int for return to the C bindings, or
4901 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4904 * libspi/deviceeventcontroller.c:
4905 Cleaned these sources up.
4907 Changed return type for getCharacterAtOffset to
4908 CORBA_unsigned_long, to allow for 32-bit characters.
4911 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4915 Fixed 'make dist' so that distro compiles...
4916 * libspi/keymasks.h:
4918 * cspi/spi-listener.c:
4919 KeystrokeListenerCB now returns a boolean.
4921 Added KeyEventType struct, and KeyStroke.
4922 Also added createKeystrokeListener(),
4923 KeystrokeListener_addCallback(),
4924 KeystrokeListener_removeCallback(), and added a keymask to
4925 registerKeystrokeListener().
4926 * cspi/spi_accessible.c:
4927 Changed numerous return types for interfaces from
4928 AccessibleComponent to Accessible<InterfaceName>; this was
4929 probably a cut-and-paste error.
4931 Implementations of new KeystrokeListener api (from spi.h,
4934 Changes to key modifier mapping.
4935 Created ControllerEventMask struct.
4936 Made DeviceEventController derive from Bonobo::Unknown.
4938 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4939 * libspi/deviceeventcontroller.c:
4940 Added a number of new internal (private) methods.
4941 * libspi/editabletext.c:
4942 * libspi/editabletext.h:
4943 Fixed a number of bugs related to the fact that
4944 editabletext inherits from text. Fixed the EditableText struct,
4945 the init() call, and use correct casts when calling Text methods
4946 from an EditableText object. Removed (duplicate) atko from the
4947 EditableText structure, we use the one in the parent Text
4948 structure via the casts mentioned above.
4949 * libspi/keystrokelistener.[ch]:
4950 * libspi/registry.c:
4951 Changes in support of keyboard handling (above).
4953 Keyboard handling, though partly functional, is still not
4954 recommended for at-spi client use as there is considerable
4955 work yet to be done.
4958 Changed some places where pointers to various int types
4959 are cast to be pointers to CORBA_long types and vice-versa:
4960 pointer casting is not safe so we pass pointers of the correct
4961 types and then cast the result before putting it into the target
4964 * libspi/text.h: minor typos corrected.
4966 We now speak not only the name of a Text element, but the
4967 first sentence of its content, when it receives focus.
4968 I also changed the text compression to 75% from 50%.
4969 * util/Accessibility_Util.server.in:
4970 Changed the default magnifier type to be a 3x vertical
4971 splitscreen magnifier (was previously a 2x horizontal one).
4973 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4975 * libspi/keystrokelistener.h:
4976 * libspi/keystrokelistener.c:
4977 Initial functional implementations of KeystrokeListener.
4980 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4982 Fixed string handling for NULL strings in libspi.
4983 Added spi_freeString to free strings returned by C bindings.
4985 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4987 * libspi/keystrokelistener.h:
4988 * libspi/keystrokelistener.c:
4989 Began (no-op) implementations of KeystrokeListener
4991 * libspi/deviceeventcontroller.c:
4992 * libspi/deviceeventcontroller.h:
4993 Began creating implementations of DeviceEventController,
4994 to handle keystroke and mouse event listening and
4996 * libspi/accessible.c:
4997 Stubbed-in the implementations for
4998 Accessibility_Accessible_getState and
4999 Accessibility_Accessible_getRelationSet.
5000 * libspi/registry.c:
5001 Improved de-registration process and fixed some bugs,
5002 deregistration now works correctly.
5004 Added initialization of applications list (to NULL).
5006 Reduced speech compression from 0.5 to 0.7, for demo.
5007 Changed call to gdk_window_set_decorations()
5008 to gtk_window_set_decorated().
5009 * at-bridge/bridge.c:
5010 Bridge now deregisters when app exits, via
5011 registration of a cleanup function
5012 with the g_atexit() call.
5013 Required making 'app' static, renamed 'this_app'.
5014 Fixed broken use of bonobo_init, passing argv wrongly.
5016 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5020 Created a new directory for
5021 accessibility-related utilities, primarily for
5022 testing and demo purposes, but with possible
5029 Onscreen magnifier utility that
5030 is implemented as a bonobo service.
5032 * util/mag_client.c:
5033 * util/mag_client.h:
5034 Client-side support (simple C bindings)
5035 for Magnification service
5037 * util/mag_control.c:
5038 Client program example for
5039 Magnification service
5041 * util/Accessibility_Magnifier.server.in:
5042 Bonobo-activation file for the
5043 Magnification service.
5046 * util/idl/Magnifier.idl:
5047 IDL defining the bonobo Magnification
5051 Modifications to use the bonobo-activated magnifier
5052 above, in place of trying to connect to an existing
5053 magnifier that uses socket-listening IPC.
5055 If env variable MAGNIFIER is set, a magnifier service
5056 will be started if one does not exist.
5058 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5060 * at-bridge/bridge.c:
5061 applied patch from Marc to build and run
5062 against new glib and gtk+ (seemed like a change
5063 to bonobo_init signature was made ?)
5065 made festival-server support turned off by default.
5066 Added support for a simple magnifier (off by default)
5067 which will be added to a 'util' directory later.
5068 * at-bridge/Makefile.am:
5069 Changed "application.h" header from a 'source'
5070 to a 'dependency' of libat-bridge.
5072 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5081 Added interface implementation c files to list of
5082 includes so they are included in libcspi.
5085 Changed prototype of AccessibleAction_doAction to return a
5087 Changed prototype of AccessibleTable_getCaption to
5088 return an Accessible.
5089 Changed prototype of AccessibleTable_getSelectedRows
5090 and AccessibleTable_getSelectedColumns to
5091 return a long (returns the number of selected rows
5092 or columns respectively).
5093 Changed name of AccessibleText_refRunAttributes to
5094 AccessibleText_getAttributes.
5095 Changed prototype of AccessibleText_getCharacterExtents to
5096 return a void rather than a boolean.
5097 Added support for a AccessibleCoordType parameter
5098 specifying what type of coordinates are desired.
5099 Added an AccessibleCordType parameter to
5100 AccessibleText_getPointAtOffset.
5102 * cspi/spi_accessible.c:
5103 Added code to return the outstanding interfaces from
5104 Accessible_queryInterface.
5106 * cspi/spi_action.c:
5108 Corrected call to getNActions to call the c binding
5111 * cspi/spi_editabletext.c:
5113 Changed name from setRunAttributes to setAttributes.
5115 * cspi/spi_hyperlink.c:
5117 Changed call to getNAnchors to correctly call the c
5118 binding for an attribute.
5120 * cspi/spi_hypertext.c:
5122 Changed getImageDescription to correctly call the
5123 binding for an attribute.
5125 * cspi/spi_selection.c:
5126 Changed getNSelectedChildren to correctly call the c
5127 binding for the attribute.
5128 Changed refSelectedChild to getSelectedChild.
5132 Changed getCaption to return an Accessible.
5133 Fixed calls which retrieve attributes.
5134 Changed refAt to getAccessibleAt.
5135 Changed getNSelectedRows and getNSelectedColumns to
5139 Changed getCharacterExtents and getPointAtOffset to accept an
5140 AccessibleCoordType.
5142 Changed calls which retrieve attributes.
5143 Changed refRunAttributes to getAttributes.
5148 * idl/Hyperlink.idl:
5149 Changed n_anchors attribute to nAnchors to keep naming
5150 convention consistent.
5153 Made Table inherit from Bonobo::Unknown.
5154 Added nSelectedColumns and nSelectedRows attributes.
5157 Made Value inherit from Bonobo::Unknown.
5159 * libspi/hyperlink.c:
5160 Change for nAnchors attributte name change.
5162 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5170 Added interface implementation c files to list of
5171 includes so they are included in libcspi.
5174 Changed prototype of AccessibleAction_doAction to return a
5176 Changed prototype of AccessibleTable_getCaption to
5177 return an Accessible.
5178 Changed prototype of AccessibleTable_getSelectedRows
5179 and AccessibleTable_getSelectedColumns to
5180 return a long (returns the number of selected rows
5181 or columns respectively).
5182 Changed name of AccessibleText_refRunAttributes to
5183 AccessibleText_getAttributes.
5184 Changed prototype of AccessibleText_getCharacterExtents to
5185 return a void rather than a boolean.
5186 Added support for a AccessibleCoordType parameter
5187 specifying what type of coordinates are desired.
5188 Added an AccessibleCordType parameter to
5189 AccessibleText_getPointAtOffset.
5191 * cspi/spi_accessible.c:
5192 Added code to return the outstanding interfaces from
5193 Accessible_queryInterface.
5195 * cspi/spi_action.c:
5197 Corrected call to getNActions to call the c binding
5200 * cspi/spi_editabletext.c:
5202 Changed name from setRunAttributes to setAttributes.
5204 * cspi/spi_hyperlink.c:
5206 Changed call to getNAnchors to correctly call the c
5207 binding for an attribute.
5209 * cspi/spi_hypertext.c:
5211 Changed getImageDescription to correctly call the
5212 binding for an attribute.
5214 * cspi/spi_selection.c:
5215 Changed getNSelectedChildren to correctly call the c
5216 binding for the attribute.
5217 Changed refSelectedChild to getSelectedChild.
5221 Changed getCaption to return an Accessible.
5222 Fixed calls which retrieve attributes.
5223 Changed refAt to getAccessibleAt.
5224 Changed getNSelectedRows and getNSelectedColumns to
5228 Changed getCharacterExtents and getPointAtOffset to accept an
5229 AccessibleCoordType.
5231 Changed calls which retrieve attributes.
5232 Changed refRunAttributes to getAttributes.
5237 * idl/Hyperlink.idl:
5238 Changed n_anchors attribute to nAnchors to keep naming
5239 convention consistent.
5242 Made Table inherit from Bonobo::Unknown.
5243 Added nSelectedColumns and nSelectedRows attributes.
5246 Made Value inherit from Bonobo::Unknown.
5248 * libspi/hyperlink.c:
5249 Change for nAnchors attributte name change.
5252 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5254 implementations-- made server implementations own AtkObject pointers
5255 rather than their respective AtkInterrface pointers to fix
5256 refcounting. AtkHyperlink is still broken.
5258 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5259 * cspi/spi_accessible.c:
5260 Added method Accessible_Role_getName(),
5261 and requisite string array (role_names).
5262 Added conversion string_from_corba_strin() call
5263 to Accessible_getName and _getDescription.
5264 * libspi/accessible.c:
5265 Added implementation for Accessible_getRole()
5267 Added festival support, used if environment variable
5270 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5272 * at-bridge/bridge.c:
5273 Now allocate Accessibility_Event using
5274 Accessibility_Event__alloc() instead of g_new0().
5275 * libspi/accessibleeventlistener.c:
5276 Initialize AccessibleEventListener->callbacks to NULL.
5277 Fixed accessible__event_listener_init() param, changed to
5278 "AccessibleEventListener *" type.
5279 Changed a bonobo_object_release_unref() call to
5280 Accessibility_Accessible_unref().
5281 * libspi/listener.c:
5282 Changed Bonobo_Unknown_unref to (equivalent)
5283 Accessibility_Accessible_unref.
5284 * libspi/registry.c:
5285 Changed bonobo_object_release_unref to
5286 Accessibility_Accessible_unref.
5288 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5291 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5292 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5293 spi-util.c spi-util.h
5294 Implementations for C bindings to remaining accessibility
5297 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5300 changed return value of Action from void to boolean to
5301 bring in line with ATK.
5304 Changed getText funcions to return "out" start and end offsets.
5305 Changed getAttributes to take and offset and return the start
5306 and end offset of the attribute run.
5307 Changed getOffsetAtPoint and getCharacterExtents to take an
5308 enum describing whether coordinates are window or screen.
5311 libspi/action.c libspi/action.h libspi/editabletext.c
5312 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5313 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5314 libspi/image.h libspi/selection.c libspi/selection.h
5315 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5316 libspi/value.c libspi/value.h
5317 Added server implementations for outstanding ATK interfaces
5318 not yet implemented.
5320 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5323 Added (missing) getName() method.
5324 Made nActions an attribute.
5325 * idl/EditableText.idl:
5326 Changed order of params in setAttributes.
5327 * idl/Hyperlink.idl:
5328 Removed getAnchor, added getURI.
5330 Changed attributes to methods, for efficiency
5331 (so that getting extents can be done in one call)
5332 * idl/Selection.idl:
5333 Changed nSelectedChildren to attribute, and re-indented.
5334 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5336 * idl/Text.idl: reformatted to match our coding style.
5337 (temporarily?) removed getRowColumnAtOffset().
5338 Changed text selection API to support multi-select and
5339 non-contiguous selections, as in ATK.
5340 * idl/Value.idl: changed some methods to attributes.
5342 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5344 * libspi/listener.c(impl_notify_event):
5345 BonoboUnkown_unref the source instead
5346 of bonobo_object_release_unref - the ORB
5347 handles the releasing.
5349 * configure.in: require ORBit-2.3.94 for
5352 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5354 Tagged CVS repository 'EA_1_0'.
5355 * README.EARLY_ACCESS:
5356 Alphabetized acknowledgements list, and
5358 Listed some known dependencies of at-spi.
5360 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5362 * docs/at-spi-docs.sgml:
5363 * docs/at-spi-sections.txt:
5364 * docs/at-spi-overrides.txt: (Added zero-length file)
5365 Documentation improvements - gtk-doc should build
5366 docs for all implemented C bindings now.
5369 * cspi/spi.c: (New file)
5370 * cspi/spi_event.c: (New file)
5371 * cspi/spi_registry.c: (New file)
5372 * cspi/spi_accessible.c: (New file)
5373 * cspi/spi_application.c: (New file)
5374 * cspi/spi_component.c: (New file)
5375 Split spi_main.c into six parts, and included them from
5376 "spi.c". This is a bit of a hack, probably temporary,
5377 but required by gtk-doc, apparently.
5379 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5382 * docs/at-spi-docs.sgml:
5383 * docs/at-spi-sections.txt:
5385 Initial checkins/modifications for gtk-doc generation.
5388 Added (missing) interface query methods to Accessible's C binding.
5390 Added GenericInterface type definition.
5392 Added query for AccessibleComponent interface to focus event handler.
5393 Added printout of bounding box for focussed component.
5394 * libspi/component.c:
5395 Added partial implementation for AccessibleComponent to C binding.
5396 * idl/Application.idl:
5397 * libspi/registry.c:
5398 * libspi/listener.c:
5399 * libspi/application.c:
5400 * libspi/application.h:
5401 Changed "ID" attribute type from string to long.
5403 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5407 Made method naming consistent: methods taking object args
5408 start with uppercase, other methods (except those using
5409 acronyms) start with lowercase. Underscores delimit between
5410 object names and method names:
5411 SPI_init() - uppercase since it starts with an acronym.
5412 getDesktopCount () - lowercase start since no object param0.
5413 Accessible_getName() - uppercase object type name, studlyCaps method
5417 Added gtk-doc documentation for all currently implemented
5418 methods in the C bindings API.
5420 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5422 * Makefile.am : changed build order to build test last.
5425 Changed "createEventListener" to "CreateEventListener".
5426 * libspi/accessibleeventlistener.c :
5427 Bugfix for addition of callbacks.
5428 * test/Makefile.am :
5429 * test/simple-at.c :
5430 Added new test that uses the C bindings API.
5432 * libspi/listener.c :
5433 * libspi/registry.c :
5434 * libspi/accessibleeventlistener.c :
5435 * at-bridge/bridge.c :
5436 Renamed member "target" of Accessibility_Event to "source",
5437 which is more descriptive.
5440 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5444 * cspi/Makefile.am :
5445 Added makefile support for at-spi/cspi directory.
5448 * cspi/spi-listener.h : (NEW FILE)
5449 Added support for/use of spi-listener.h.
5451 C bindings now build successfully, with no warnings.
5452 * libspi/accessibleeventlistener.h : (NEW FILE)
5453 * libspi/accessibleeventlistener.c : (NEW FILE)
5454 * libspi/Makefile.am :
5455 Added new object type "AccessibleEventListener"
5456 which inherits from Listener, and allows attachment
5457 of in-process callbacks (so that a client with a listening
5458 object instance can add functionality to the local
5459 implementation, dynamically).
5461 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5463 * libspi/accessible.c:
5464 Add implementation for get_index_in_parent().
5466 Added #include of "spi-roletypes.h", and
5467 added enumerated type AccessibleCoordType.
5468 Added definition for KeystrokeListener (function type).
5471 * cspi/spi-statetypes.h :
5472 * cspi/spi-roletypes.h :
5474 Added these headers, used by spi.h.
5476 Added code (NOTE: not yet built by make).
5478 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5480 * libspi/Makefile.am: generate imodule
5481 at the same time as other idl compiler
5484 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5485 * libspi/registry.c :
5486 * libspi/application.c :
5487 * idl/Application.idl :
5488 Made registration with toolkit an application method,
5489 which is required since each app has its own toolkit static
5490 environment. Thus the bridge must register for
5491 notification of toolkit events from each application in turn.
5492 Toolkit notifications are now successfully registered for, and
5493 sent to the listening at client.
5495 Changed toolkit event string to use hyphens rather than underscores.
5496 * libspi/listener.c :
5497 listner now gives more info in debug mode - it reports the
5498 name of the event received, as well as the name of the source.
5501 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5503 * libspi/registry.c :
5504 added more implementation for toolkit events.
5505 Fixed bug such that toolkit event registrations
5506 (via atk) use the whole event name string, not
5508 Removed a useless call to an ORBit_ method.
5509 * at-bridge/bridge.c :
5510 Removed unused local sbuf[] variable.
5512 We now register for Gtk:GtkWidget:button_press_event
5513 events as well as "focus:" events.
5515 Add some more API from Registry.idl that was missing,
5516 for keystroke listening, keystroke and mouse event
5517 synthesis, and enumeration of accessible desktops.
5519 2001-08-16 Michael Meeks <michael@ximian.com>
5521 * configure.in: use AM_GLIB_GNU_GETTEXT.
5523 * Makefile.am (SUBDIRS): kill intl.
5525 2001-08-15 Michael Meeks <michael@ximian.com>
5527 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5529 * configure.in: upd.
5531 * configure.in: depend on a recent bonobo-activation that
5532 will find our server files ...
5534 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5536 * libspi/accessible.c : accessible_new() :
5537 Now we add the Component interface via bonobo_object_add_interface,
5538 if the contained AtkObject implements AtkComponent.
5539 * libspi/accessible.h : now include "component.h"
5540 * libspi/component.h :
5541 * libspi/component.c : added files - implementation of
5542 bonobo wrapper object for Accessibility/Component
5543 * libspi/listener.c :
5544 Added test code to check for Accessibility/Component:1.0
5545 interface and report whether it is implemented by the
5547 * libspi/registry.c :
5548 Now we check for not only the hash of the whole event
5549 string before relaying the event, we also check the
5550 "minor" event string (without the detail string).
5551 This allows event listeners to be registered against
5552 all events of a certain major+minor type, or just
5553 against a specific major+minor+detail type.
5554 * libspi/accessible.c :
5555 Added implementations for Accessible:get_parent(),
5556 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5557 * libspi/registry.c :
5558 * libspi/listener.c :
5559 Replaced calls to Accessibility_Accessible_ref() and
5560 Accessibility_Accessible_unref() with
5561 calls to bonobo_object_dup_ref() and
5562 bonobo_object_release_unref(), so that the CORBA object
5563 is dup-ed and released when relayed, as well as the bonobo object.
5565 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5567 * libspi/Makefile.am,
5568 registryd/Makefile.am,
5569 at-bridge/Makefile.am.
5570 test/Makefile.am, configure.in:
5571 reverse previous changes.
5573 * /idl/Image.idl: fix typo.
5575 * test/Makefile.am: put DEBUG_FLAGS
5578 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5580 * test/app.c: use argv[0] instead of
5583 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5585 * libspi/Makefile.am,
5586 registryd/Makefile.am,
5587 at-bridge/Makefile.am.
5588 test/Makefile.am, configure.in:
5589 cleanup, replace individual LIBS/CFLAGS with
5590 AT_COMMON_{LIBS|CFLAGS}.
5594 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5596 * configure.in, libspi/Makefile.am:
5597 Change IDL path checking for bonobo-activation
5600 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5602 * registryd/registry.c : separated event listeners to use
5603 3 separate lists (focus, window, toolkit). Began testing
5604 event names against hashes before relaying events.
5605 * test/at.c : now register for events of type "focus:"
5606 * test/app.c : now generate events of type "focus:"
5607 * at-bridge/bridge.c : register with ATK for focus events,
5608 and we now relay those focus events to any "focus:" listeners.
5609 This now works with the bridge as a GTK_MODULE when running test/at.
5610 * libspi/registry.c :
5611 * libspi/listener.c :
5612 now we ref event sources before propagating, and unref on receipt.
5613 * libspi/registry.c :
5614 some changes to internal structs, to support event typestring hashes.
5615 * text/app.c : changed the way the appname is generated.
5616 * cspi : added directory that will hold the C bindings library for
5617 non-CORBA/bonobo-savvy clients.
5618 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5619 * idl/Component.idl : added in parameter to indicate coord system for
5620 geometry-related calls.
5621 * idl/Hyperlink.idl : added readonly n_links attribute
5622 * idl/Image.idl : changed methods to attributes.
5624 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5626 * at-bridge/Makefile.am: link against
5627 ../libspi/libspi.la instead of -lspi.
5629 * at-spi/test/app.c: include
5630 bonobo-activation.h. Use a default appname
5631 if one is not provided.
5633 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5635 * idl/Registry.idl : temporarily changed register_Application
5636 to oneway, to work around issue with initial registration
5638 * idl/Application.idl : changed attribute "id" from readonly
5639 to read-write, since it needs to be assigned by Registry.
5640 * registryd/registryd.c : added call to set application id
5642 * registryd/registry.c : changed de-registration procedure to
5643 use CORBA_Object_hash() to find matching object ref in application
5644 lists and listener lists.
5645 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5646 began distinguishing between event types (work in progress).
5648 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5651 * libspi/application.c:
5652 Added implementations for get/set id, get_toolkitName,
5654 * registryd/registryd.c :
5658 Converted from use of OAF to bonobo-activation.
5659 * libspi/desktop.h :
5660 * libspi/desktop.c :
5662 Removed references to atksimpleobject, since base atkobject
5663 implementation now provides functionality we need.
5664 * libspi/atksimpleobject.c :
5665 * libspi/atksimpleobject.h :
5670 * at-bridge/Makefile.am
5671 * at-bridge/bridge.c
5674 Added directory "bridge" and contents, and added dependencies
5675 in Makefile.am/configure.in.
5676 Initial checkin of "at-bridge".
5677 This code is a GTK_MODULE which automatically registers
5678 GTK+ apps with the accessibility registry, using an object
5679 reference to the root ATK object.
5681 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5683 * po/Makefile.in.in: Remove. Again. If this
5684 doesn't get autogenerated - you need to update
5687 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5689 * po/Makefile.in.in: Add. Again.
5691 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5693 * libspi/accessible.c : added support for 'description' property.
5694 * libspi/accessible.c
5696 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5697 (since the two are now equivalent in libbonobo)
5705 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5706 Bonobo::Unknown as does Accessibility::Accessible.
5707 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5708 interface with Bonobo::Stream, since it was redundant with it.
5709 (The Stream returned by a StreamableContext object is expected to
5710 implement only a subset of Bonobo::Stream)
5712 2001-07-28 Anders Carlsson <andersca@gnome.org>
5714 * libspi/accessible.c (accessible_object_finalize): Change
5715 g_free to g_object_unref since the AtkObject is a GObject.
5717 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5719 * idl/Accessibility.idl: add new IDL files
5722 * idl/Action.idl: Definitions of actionable UI object
5723 * idl/Component.idl: Definitions of UI component geometry, etc.
5724 * idl/Hyperlink.idl: Defs of hyperlink behavior
5725 * idl/Image.idl: Def of accessible image
5726 * idl/Selection.idl: Definition of UI object with selectable children
5727 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5728 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5729 * idl/Text.idl: Interface defs for UI elements with complex textual content
5730 * idl/Value.idl: Definition of UI element that is a value controller or display
5732 2001-07-27 Michael Meeks <michael@ximian.com>
5734 * po/Makefile.in.in: remove autogenerated file from CVS.
5736 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5739 * idl/Registry.idl: include guard.
5741 * idl/Accessibility.idl: Add, and include all the other IDL
5744 * idl/*.idl: remove mass of pragmas etc.
5746 2001-07-26 Michael Meeks <michael@ximian.com>
5748 * registryd/Makefile.am (registryd_SOURCES): remove
5751 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5753 * libspi/.cvsignore, registryd/.cvsignore,
5754 test/.cvsignore: updated.
5756 * po/Makefile.in.in: gettext update.
5758 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5760 * initial CVS checkin
5762 2001-06-29 Michael Meeks <michael@ximian.com>
5764 * configure.in: add AM_CONFIG_HEADER to gen config.h