1 2003-04-10 Bill Haneman <bill.haneman@sun.com>
3 * registryd/deviceeventcontroller.c:
4 (spi_keystroke_from_x_key_event):
5 Instead of checking to see if the keysym is
6 printable, check the string from XLookupString
7 if available, get the first unicode character from it,
8 and call g_unichar_isprint to determine whether the
9 is_text flag should be TRUE or FALSE.
13 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
15 * atk-bridge/bridge.c: Add support for extended events
16 * cspi/spi_event.c: Add documentation and implementation for
18 * tests/event-listener-test.c: Add tests for extended events.
20 This fixes bugs #100424 and #100426.
22 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
24 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
25 of LT_CURRENT. This fixes bug #89350.
27 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
29 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
30 number of signal parameter values before accessing them. This fixes
33 2003-04-01 Bill Haneman <bill.haneman@sun.com>
35 * configure.in: Fixed duplicate inclusion of -lspi.
36 * branched for gnome-2-2/HEAD.
37 [created tag "gnome-2-2"]
39 2003-03-07 Bill Haneman <bill.haneman@sun.com>
41 * configure.in: 1.1.9 release.
44 2003-03-07 Bill Haneman <bill.haneman@sun.com>
46 [needed by GOK, to fix bugs 107985 and 107988]
47 * registryd/deviceeventcontroller.c:
48 (spi_dec_clear_unlatch_pending):
49 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
50 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
51 (spi_dec_init_mouse_listener):Emit warning if mouse button
53 (spi_device_event_controller_forward_mouse_event):
54 Removed unnecessary parens from a conditional.
55 (global_filter_fn):Added TODO comment.
56 (impl_generate_keyboard_event):
57 Cancel a pending relatch if a 'delatching' key was
60 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
62 * atk-bridge/bridge.c:
63 Change atk_signal_child_changed to atk_signal_children_changed.
64 Reorganize code in spi_atk_bridge_signal_listener().
66 * test/event-listener-test.c:
67 Add children_changed_listener and report_children_changed_event()
68 to test AccessibleChildEvent_getChildAccessible.
70 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
72 * cspi/spi_event.c (cspi_internal_event_get_text): Change
73 g_strdup to CORBA_String_dup (bug #105291)
75 * test/event-listener-test.c (report_text_event): Add call to
78 2003-02-28 Bill Haneman <bill.haneman@sun.com>
80 * registryd/deviceeventcontroller.c:
81 (spi_keystroke_from_x_key_event):
82 Fix string and keysym return codes to match modifier state.
85 2003-02-28 Bill Haneman <bill.haneman@sun.com>
87 * registryd/deviceeventcontroller.c:
88 (spi_keystroke_from_x_key_event):
89 Fix segv due to improper use of isprint(c). [bug #107254]
91 2003-02-24 Bill Haneman <bill.haneman@sun.com>
94 (get_accessible_text_boundary_type):
95 Move default return value to (new) default case in switch.
96 (get_accessible_text_clip_type):
97 Move default return value to (new) default case in switch.
99 * libspi/application.c:
100 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
101 Remove unused methods.
102 (impl_accessibility_application_register_object_event_listener):
103 Remove unused methods.
106 Added #include of <math.h>.
108 * registryd/deviceeventcontroller.c:
109 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
110 we don't currently use this method.
111 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
113 (impl_generate_key_event):
114 Remove unused variables.
115 (impl_generate_mouse_event):
116 Initialize button to zero, just in case we get an invalid
117 input. Added support for mouse buttons 4 and 5.
118 (spi_device_event_controller_new):
119 Removed unused variable declaration for 'private'.
121 Added #include of <gdk/gdk.h>
123 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
125 * configure.in: Update to work when X is not installed in expected
126 location. Fixes bug #105836.
128 * atk-bridge/bridge.c
129 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
131 (spi_atk_register_event_listener): Add signal listener for
133 (spi_atk_bridge_signal_listener): Event event when link-selected
134 signal is emitted. (bug #104622)
136 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
137 on returned string. (bug #105291)
139 * test/event-listener-test.c: Add test for link-selected.
141 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
143 * atk-bridge/Makefile.am: Correct typo in previous commit.
145 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
147 * atk-bridge/Makefile.am: Allow for build directory to be different
148 from source directory
150 * registryd/Makefile.am: Allow for build directory to be different
151 from source directory
155 2003-01-29 Bill Haneman <bill.haneman@sun.com>
158 Fixed dependencies for libcspi so that libspi gets pulled in
159 properly. Fixes 104741.
163 Clean up inline docs a little.
165 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
167 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
168 This is done by implementing AtkComponent for SpiAtkDesktop, which is
169 the AtkObject within an SpiDesktop.
170 This addresses bug #101524.
172 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
173 Remove call to gdk_init().
175 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
176 so that Display is set when SpiDesktop is created.
178 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
180 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
181 This fixes bug #102830.
183 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
185 * test/test-simple.c: Update to take account of fact that GailButton
186 now implements AtkText.
187 (create_text_window): Set name on AtkObject for GtkEntry.
188 (validate_accessible): Check accessible name before calling test_text().
190 * libspi/Makefile.am: Fix problem with building outside of source
191 directory. Bug #98120.
193 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
194 typo in documentation comments. Bug #94275.
196 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
198 * libspi/text.c (impl_getBoundedRanges): Bug fix.
200 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
203 Add includes to avoid compiler warnings on Solaris.
204 (impl_getRangeExtents): Bug fix.
206 2002-12-17 Bill Haneman <bill.haneman@sun.com>
208 Fix for 100944, [API addition approved by Gman and murrayc].
215 * idl/Accessibility_Text.idl:
216 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
217 (Text::getRangeExtents): New method for efficient
218 bounds query of a text range.
219 (Text::getBoundedRanges): New method for efficient
220 clipping of text to bounding boxes.
221 (unImplemented7, unImplemented8):
222 Removed these padding methods to preserve bincompat.
225 (impl_getRangeExtents): implementation of new IDL.
226 (impl_getBoundedRanges): implementation of new IDL.
227 (SpiTextRect): Internal use struct.
228 (_spi_text_rect_union): internal method, calculates union of two
229 SpiTextRect bounding rects.
230 (_spi_text_range_seq_from_gslist): internal method, allows us
231 to build our sequence efficiently as a gslist then convert it
233 (_spi_bounds_contain): internal method, determines whether
234 a text character is "in" or "out" of a clip rect according to
235 values of TEXT_CLIP_TYPE.
236 (spi_text_class_init): Initialize the new methods in the epv.
239 (AccessibleTextClipType): New enum used by screen review api.
240 (AccessibleTextRange): New struct used by screen review api.
241 (AccessibleText_getRangeExtents):
242 cspi binding for Accessibility_Text_getRangeExtents.
243 (AccessibleText_getBoundedRanges):
244 cspi binding for Accessibility_Text_getBoundedRanges.
245 (AccessibleTextRange_freeRanges): convenience method.
248 (AccessibleText_getRangeExtents):
249 cspi binding for Accessibility_Text_getRangeExtents.
250 (AccessibleText_getBoundedRanges):
251 cspi binding for Accessibility_Text_getBoundedRanges.
252 (AccessibleTextRange_freeRanges): convenience method.
253 (get_accessible_text_clip_type): internal conversion method.
254 (get_accessible_text_ranges_from_range_seq): internal conversion method.
256 * registryd/deviceeventcontroller.c:
257 (spi_dec_mouse_check):
258 Improved behavior for mouse:abs events
259 [same granularity as mouse:rel events, and no
260 events when mouse is idle].
262 2002-12-16 Michael Meeks <michael@ximian.com>
264 * cspi/spi_accessible.c (spi_state_to_corba): rename.
266 * libspi/stateset.c (state_spi_to_atk): split out
267 ( fix several remote array bounds nasties )
268 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
269 (impl_remove): make safe from array bounds issues.
270 (spi_atk_state_from_spi_state): impl.
272 * libspi/stateset.h (spi_state_set_cache_is_empty):
273 add a set of wrapper defines to get layering right.
275 * cspi/spi_accessible.c: update state set stuff to
278 2002-12-14 Michael Meeks <michael@ximian.com>
280 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
281 to avoid 2 roundtrips to the registry per key event
282 (spi_atk_bridge_key_listener): upd.
283 (deregister_application): release the dec.
285 * registryd/registry.c (notify_listeners_cb):
286 bin lots of re-enterant complexity - we no longer
287 do a round-trip bonobo ref here, ensure that a single
288 listener's exception failure won't poison all other
290 (impl_registry_notify_event): bin obvious memory leak.
292 2002-12-13 Michael Meeks <michael@ximian.com>
294 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
295 init the ev so the error is meaningful.
296 (spi_atk_bridge_key_listener): ditto.
298 * cspi/spi_main.c (cspi_ev): init the ev so we start
299 with a clean slate, otherwise the first exception
302 * cspi/spi_text.c (get_accessible_text_boundary_type):
303 add a fallthrough for no warnings.
305 * cspi/spi_registry.c: prune unused warnings.
307 * cspi/spi_main.c (cspi_object_take): fix
308 mind-blowing brokenness ( by watching the compile
311 * cspi/spi_accessible.c (Accessible_getStateSet):
312 re-impl. to use an AtkStateSet.
313 (spi_state_type_from_accessible_state),
314 (init_state_table): bin these.
316 * libspi/stateset.c (spi_atk_state_set_from_sequence):
318 (atk_state_set_from_accessibility_state_set): here.
320 * cspi/spi_accessible.c (spi_state_to_atk): impl.
321 (AccessibleStateSet_contains, AccessibleStateSet_ref),
322 (AccessibleStateSet_unref, AccessibleStateSet_contains),
323 (AccessibleStateSet_add, AccessibleStateSet_remove),
324 (AccessibleStateSet_equals, AccessibleStateSet_compare),
325 (AccessibleStateSet_isEmpty): re-write to use a local
328 2002-12-13 Bill Haneman <bill.haneman@sun.com>
330 * configure.in: Revved to 1.1.7 (new keymask vals).
332 2002-12-10 Bill Haneman <bill.haneman@sun.com>
335 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
337 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
340 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
341 to compare two CORBA_TypeCodes.
342 (cspi_internal_event_add): Silence warning from FORTE compiler.
344 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
345 avoid implicit declaration of functions.
347 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
349 * atk-bridge/bridge.c:
350 (spi_atk_bridge_init_event_type_consts): Store signal id for
351 active-descendant-changed signal.
352 (spi_atk_register_event_listeners): Add signal listener for
353 active-descendant-changed signal,
354 (spi_atk_bridge_signal_listener): Move code in function
355 spi_atk-signal_emit_event() into this function.
356 Add support for active-descendant-changed
357 Update support for child-changed signal.
358 (spi_bridge_window_event_listener): Silence warning.
360 * libspi/spi_private.[ch]:
361 (spi_init_any_object): Change second parameter from CORBA_Object to
363 Omit call to CORBA_Object_duplicate().
364 Set CORBA_any's _value to CORBA_Object*.
366 2002-12-06 Bill Haneman <bill.haneman@sun.com>
372 (AccessibleEvent_ref, AccessibleEvent_unref):
373 New methods, for persisting an event outside the emission context.
374 Must be used if the new accessor methods are to be called
375 outside of the event listener's callback.
377 * cspi/bonobo/cspi-bonobo.c:
378 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
379 as second parameter instead of NULL, so we can call
380 cspi_check_ev afterwards.
383 (cspi_object_take): New internal method,
384 converts a CORBA_Object reference to a hard ref on
385 an Accessible if possible, returning NULL if the object
386 reference is invalid or an Accessible * otherwise.
389 (AccessibleEvent_ref):
390 Increment the event's internal private refcount, and
391 add the event's internal struct to an internal cache
392 if it's not already there.
393 (AccessibleEvent_unref):
394 Decrement the event's refcount and remove it from
395 the cspi event cache if refcount==0.
396 (cspi_event_compare): New private method.
397 Compares two event structs via their ids. Used
399 (cspi_internal_event_lookup): New private method.
400 (cspi_internal_event_check): New private method,
401 a 0-order sanity check for events to make sure their
402 private data is intact.
403 (cspi_internal_event_add, cspi_internal_event_remove):
404 New private methods for managiing the event cache.
406 * cspi/bonobo/cspi-bonobo-listener.c:
408 Initialize the new private data elements (id, magic, ref_count).
410 * atk-bridge/bridge.c:
411 (spi_atk_bridge_signal_listener):
412 Fixed bug #100530, passing wrong params to emission func.
414 * registryd/deviceeventcontroller.c:
415 (spi_dec_button_update_and_emit):
416 Fixed type in mask bit operations; fix for #99799.
418 2002-12-02 Bill Haneman <bill.haneman@sun.com>
420 Removed some of the more dangerous workarounds from
421 previous commit; they are only needed by GOK, which
422 in reality should be using another method to accomplish
423 the goals. So on reconsideration some of the workarounds
426 * registryd/deviceeventcontroller.c:
427 (spi_keycodes_contain, spi_dec_init_keycode_list):
428 Removed these methods, used only by a nasty hack to try
429 and detect whether a key synthesis should be allowed
430 to reset the XKB latch state or not. This code was only
431 required to work around an interaction between GOK,
432 button events, and XKB.
433 (impl_generate_key_event):
434 Removed hack at end of key generation that tried to
435 "do the right thing" if XKB latch keys were generated
436 in the midst of button press/release pairs.
439 Added a check for HAVE_XINPUT. Not normally used yet.
441 2002-11-25 Bill Haneman <bill.haneman@sun.com>
443 Workarounds and fixes for mouse event/XKB interaction.
445 * registryd/deviceeventcontroller.c:
446 (spi_keycodes_contain, spi_dec_init_keycode_list):
447 New internal methods.
448 (spi_dec_set_unlatch_pending):
449 Split the method that tells XKB to expect an
450 unlatch (and revert it) out of the rest of the
451 event handling code. This method is called by the
452 two mouse event handlers (the poll and the filter).
453 (spi_dec_update_and_emit, spi_dec_mouse_check):
454 New methods split from spi_dec_poll_mouse_moved.
455 The second one is now called from inside the filterFn
456 when an XKB delatch event is received, to determine
457 whether to revert the delatch or not.
458 (spi_poll_mouse_moved): Refactor; also we can now
459 properly handle the case where multiple button states
460 have changed between polling cycles and we didn't get
461 notified due to another client's grab.
463 Synchronize the server while handling an XKB notification.
464 Ugly, but apparently necessary to avoid nasty races.
465 Check the mouse state on receipt of an XKB latch change,
466 to decide whether to revert the latch or not. (Latches are
467 reverted if there is an immediately preceding mouse button
468 event that a client has consumed, in which case we don't want
469 the user to see the side-effect of the event).
470 (spi_device_event_controller_forward_mouse_event):
471 Check for modifier events and fire before resetting mouse_mask_state,
472 prevents losing modifier events.
474 (impl_generate_keyboard_event):
475 If we've just generated a keyboard event for a non-shift key,
476 we don't want to revert the pending XKB latch.
477 Otherwise, check the modifier state (via a call to
478 spi_dev_mouse_check) and set the relatch mask to
479 that state before returning.
481 2002-11-24 Bill Haneman <bill.haneman@sun.com>
484 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
487 * atk-bridge/bridge.c:
488 (spi_atk_register_event_listeners):
489 Don't re-register for ATK events if the registry has died
490 and the app needs to re-register; the ATK listeners are in
491 process and doing so will cause duplicate emission.
493 * registryd/deviceeventcontroller.c:
494 (spi_poll_mouse_moved):
495 Reformat the source, detect and emit multiple button-change
496 events (i.e. if multiple buttons have changed between poll
498 Add code to detect mouse-down events even when the pointer
499 is grabbed; workaround for GOK bug 98420.
500 (spi_controller_register_with_devices):
501 Call XTestGrabControl with 'impervious' flag set to True,
502 allows us to synthesize events and query the pointer even during
503 an active grab by another client.
504 (spi_device_event_controller_forward_mouse_event):
505 Set the mouse_mask_state to the mouse_button_state from
506 the intercepted event, to synchronize the grab listener with
509 2002-11-20 Bill Haneman <bill.haneman@sun.com>
511 * cspi/spi_accessible.c:
512 (AccessibleRole_getName):
513 Added necessary strings for making this (deprecated)
514 method work with the new role types.
515 (init_role_table, role_table):
516 Added definition of SPI_ROLE_APPLICATION.
518 * libspi/spi-roletypes.h:
519 Added SPI_ROLE_APPLICATION.
521 * idl/Accessibility_Role.idl:
522 Added ROLE_APPLICATION.
524 * docs/reference/cspi/at-spi-cspi-decl.txt:
525 Added SPI_ROLE_APPLICATION to docs.
527 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
529 * cspi/spi_accessible.c
530 (cspi_init_role_table): Do not write beyond end of role_table.
531 (Accessible_getRole): Use correct type for value returned by
532 Accessibility_Accessible_getRole().
534 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
535 beyond end of role_table. (This fixes bug #98269)
537 * libspi/application.c: Add include file spi-private.h for
538 definition of spi_init_any_nil.
540 2002-11-19 Bill Haneman <bill.haneman@sun.com>
544 * libspi/spi-private.h:
545 Added DGB() macro, and extern int _dbg declaration.
547 * registryd/registry.c:
548 (definitions) storage for _dbg.
550 Get environment variable "AT_SPI_DEBUG".
551 (spi_registry_set_debug):
552 New method, to initialize _dbg value.
553 (spi_listener_struct_new, spi_registry_object_finalize):
554 (notify_listeners_cb):
555 Changed fprintfs to use DBG and g_warning().
557 * registryd/deviceeventcontroller.c:
558 (_deregister_keygrab, spi_controller_register_device_listener):
559 Changed debug/warning messages to use DBG macro.
563 Changed warning messages to use DBG macro and g_warning().
565 * atk-bridge/bridge.c:
566 (atk_bridge_init, spi_atk_bridge_get_registry):
567 (spi_atk_bridge_exit_func):
568 (spi_atk_bridge_property_event_listener):
569 Changed status, warning, and error messages to use
570 g_warning, g_message, and DBG macros.
573 Read the state of the AT_SPI_DEBUG environment variable
574 and set a local '_dbg' accordingly.
576 2002-11-19 Bill Haneman <bill.haneman@sun.com>
578 FIXES for 98836, 98842, other bugs.
581 Revved to 1.1.4, interface-age=4, binary-age=4.
583 * registryd/deviceeventcontroller.c:
585 Fixed crasher bug in last_mouse_pos initialization.
587 * registryd/registry.c:
588 (desktop_add_application, desktop_remove_application):
589 Added (and then commented out) some support for
590 object context marshalling. [TODO]
592 * atk-bridge/bridge.c:
593 (spi_atk_bridge_event_context_create):
594 Commented out object context creation until it can
595 be properly tested and debugged.
597 * registryd/registry.c:
598 (impl_registry_notify_event):
599 Fixed crasher bug, we were calling
600 spi_re_entrant_list_foreach () with an empty list.
602 2002-11-18 Bill Haneman <bill.haneman@sun.com>
604 * idl/Accessibility_Action.idl:
605 * idl/Accessibility_Component.idl:
606 * idl/Accessibility_Desktop.idl:
607 * idl/Accessibility_Event.idl:
608 * idl/Accessibility_Hyperlink.idl:
609 * idl/Accessibility_Image.idl:
610 * idl/Accessibility_Relation.idl:
611 * idl/Accessibility_Selection.idl:
612 * idl/Accessibility_State.idl:
613 * idl/Accessibility_Value.idl:
614 Updated unimplemented slot count to minimum of
615 four for all interfaces, for ABI freeze.
617 * idl/Accessibility_EditableText.idl:
618 * idl/Accessibility_Text.idl:
619 Updated unimplemented slot count to six
622 * idl/Accessibility_Registry.idl:
623 Updated unimplemented slot count to six
624 (also for DeviceEventController),
627 * idl/Accessibility_Table.idl:
628 Updated unimplemented slot count to eight,
631 * idl/Accessibility_Event.idl:
632 Added CORBA_any "any_data" member to Event struct.
634 * idl/Accessibility_Event.idl:
635 Added CORBA_any "any_data" member to Event struct.
637 * atk-bridge/bridge.c:
639 atk_signal_text_changed, atk_signal_child_changed,
640 signal ids queried from gtype system.
641 (AtkBridgeEventContextType): New enum.
642 (AtkBridgeEventContextData): New struct.
643 (AtkBridgeEventContext): New struct.
644 (atk_bridge_init_event_type_consts):
645 New method, initializes type contants for comparison
646 prior to emit_eventv.
647 (atk_bridge_event_context_init): New method,
648 initializes a CORBA_any from an AtkBridgeEventContext.
649 (atk_bridge_focus_tracker): Call spi_init_any_nil to
650 initialize the event.any_data struct.
651 (spi_atk_bridge_event_context_create): New method,
652 creates an AtkBridgeEventContext from signal/event info.
653 (spi_atk_bridge_event_context_free): New method.
654 (spi_atk_emit_eventv): Changed to take an
655 AtkBridgeEventContext parameter. We now initialize
656 the event.any_data member prior to notifying the
657 Registry, via the AtkBridgeEventContext.
658 (spi_atk_bridge_property_event_listener):
659 (spi_atk_bridge_state_event_listener):
660 Match emit_eventv signature.
661 (spi_atk_bridge_object_event_listener):
662 Match emit_eventv signature, and create an
663 event context from the event details.
664 Free the event context afterwards.
665 (spi_atk_bridge_window_event_listener):
666 Create an event context, pass it to the
670 (AccessibleEvent_getContextString):
671 (AccessibleEvent_getContextObject):
672 New methods, allow query of AccessibleEvent objects
673 for more context details (via the "any_data" member
674 of the Event struct, above).
677 Definitions for AccessibleEvent_getContextString
678 and AccessibleEvent_getContextObject.
680 * cspi/spi_listener.h:
681 (InternalEvent): New struct.
684 (AccessibleEvent_getContextString):
685 (AccessibleEvent_getContextObject):
686 Implementations of new methods, for obtaining
687 additional context information from some event types.
689 * cspi/spi_registry.c:
690 (SPI_registerGlobalEventListener):
691 Added mention of active-descendant-changed event in docs.
693 * cspi/cspi-bonobo-listener.c:
695 Marshal the any into the AccessibleEvent via
698 * libspi/spi-private.h:
699 #include <orbit/orbit.h>
701 (spi_init_any_string):
702 (spi_init_any_object):
703 New convenience function declarations.
707 (spi_init_any_string):
708 (spi_init_any_object):
709 New convenience function implementations.
711 * registryd/deviceeventcontroller.c:
712 (spi_poll_dec_mouse_moved):
713 (spi_device_event_controller_forward_mous_event):
714 Initialize any_data member of event.
715 (spi_deregister_controller_device_listener):
716 Fix incorrect param pass which was preventing deregistration.
718 * registryd/registry.c:
719 (desktop_add_application):
720 (desktop_remove_application):
721 Add object data to event's any_data before dispatch.
723 Fix for error messages from GAIL.
725 * test/event-listener-test.c:
726 Test new ContextString and "any_data" API:
727 (report_text_event): New method query and output context string.
728 (main): register a new text listener with report_text_event
731 2002-11-19 Darren Kenny <darren.kenny@sun.com>
733 Fixes for bugs 98127 and 97914.
734 * cspi/spi-roletypes.h:
735 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
737 * cspi/spi-statetypes.h:
738 Added SPI_STATE_MANAGES_DESCENDANTS
740 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
741 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
742 * cspi/spi_accessible.c:
743 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
744 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
745 Accessibility_STATE_MANAGES_DESCENDANTS
746 * libspi/accessible.c:
747 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
748 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
749 As requested by Bill, I also cleaned up the alignment.
751 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
752 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
754 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
755 Accessibility_STATE_MANAGES_DESCENDANTS
756 * docs/reference/cspi/tmpl/spi_accessible.sgml:
757 Document changes reflecting modifications to roles.
758 * docs/reference/cspi/tmpl/spi_relation.sgml:
759 Document changes reflecting modifications to relations.
760 * docs/reference/cspi/tmpl/spi_stateset.sgml:
761 Document changes reflecting modifications to states.
763 2002-11-17 Bill Haneman <bill.haneman@sun.com>
766 Revved to 1.1.3, interface-age=3, binary-age=3.
770 Removed accessx-gui from the tests, since we have a nice
771 keyboard accessibility capplet now :-)
773 * test/keysynth-demo.c:
774 (increment_scan): removed do-nothing default: case,
777 * test/visual-bell.c:
778 (main) : removed do-nothing default: case,
782 (AccessibleAction_getKeyBinding_):
783 Documented keybinding string format.
787 (AccessibleText_getAttributes):
788 Documented the text attribute string format.
789 It's changed to use semicolon delimiters also,
790 to prevent clashes with CSS attributes, but the old
791 trick of looking for ", " strings will still work
792 (as unreliably as ever). Fix for bug related to 97916.
795 Include <cspi/bonobo/cspi-bonobo-listener.h>
797 (SPI_freeAccessibleKeySet):
798 (AccessibleKeystrokeListener_addCallback):
799 (AccessibleKeystrokeListener_removeCallback):
800 Modify to use AccessibleDeviceListener API internally,
801 instead of AccessibleKeystrokeListener.
803 * idl/Accessibility_Event.idl:
804 Added two more empty slots to EventListener (for a total of four).
806 * idl/Accessibility_Accessible.idl:
807 Added four empty slots to Accessible interface.
809 2002-11-15 Bill Haneman <bill.haneman@sun.com>
811 * idl/Accessibility_Registry.idl:
812 (KeyEventType, EventType):
813 Marked KeyEventType as deprecated; it duplicates
814 functionality of EventType, which has been extended to
815 include Mouse-button events.
816 (KeyEventTypeSeq): defined in terms of EventType.
817 (registerDeviceEventListener, deregisterDeviceEventListener):
818 New methods, for managing listeners to device events,
819 which potentially may consume them.
822 Added definition for AccessibleDeviceListener.
824 * cspi/spi-listener.h:
825 (enum AccessibleDeviceEventType):
826 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
827 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
828 for backwards compat.
829 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
830 and typedef'd AccessibleKeystroke to it for back-compat.
831 (AccessibleDeviceListenerCB):
832 New function prototype typedef.
835 (AccessibleDeviceEventMask): New typedef.
836 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
837 (AccessibleKeyMaskType):
838 Set equivalent to AccessibleModifierMaskType for back-compat.
839 (SPI_createAccessibleKeystrokeListener):
840 (AccessibleKeystrokeListener_unref):
841 Deprecated in favor of equivalent (better-named) new API below..
842 keystroke listeners are like all device listeners.
843 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
844 New API names for old features :-).
845 (AccessibleDeviceListener_addCallback):
846 (AccessibleDeviceListener_removeCallback):
847 (SPI_registerDeviceEventListener):
848 (SPI_deregisterDeviceEventListener):
852 (SPI_createAccessibleKeystrokeListener):
853 Use new preferred API, cspi_device_listener_new() and
854 cspi_device_listener_add_cb().
855 (AccessibleKeystrokeListener_removeCallback):
856 Use new preferred API, cspi_device_listener_remove_cb().
857 (AccessibleKeystrokeListener_unref):
858 Use new preferred API, cspi_device_listener_unref().
859 (SPI_createAccessibleDeviceListener):
860 (AccessibleDeviceListener_addCallback):
861 (AccessibleDeviceListener_removeCallback):
862 Implementation of new API.
864 * cspi/spi_registry.c:
865 (SPI_registerDeviceEventListener):
866 (SPI_deregisterDeviceEventListener):
867 Implementation of new API. Fixed memory leak and removed need to
868 allocate EventTypeSeq (thanks Michael for catching this).
869 Squashed a wayward CORBA_exception_free that shouldn't get called.
871 * cspi/bonobo/cspi-bonobo-listener.c:
873 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
874 (cspi_key_event): renamed to cspi_device_event().
875 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
876 Extended to handle mouse button events as well as key events.
877 (CSpiKeystrokeListener):
878 Class superceded by CSpiDeviceListener.
879 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
880 These internal APIs changed to "*device_listener" from "*keystroke_listener".
882 * cspi/bonobo/cspi-bonobo-listener.h:
883 (CSpiKeystrokeListener):
884 Class superceded by CSpiDeviceListener.
885 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
886 These internal APIs changed to "*device_listener" from "*keystroke_listener".
888 * libspi/Makefile.am:
889 Replaced keystrokelistener.h and keystrokelistener.c
890 with devicelistener.h and devicelistener.c; keystrokelisener.h
891 stub retained for back-compat.
893 * libspi/keystrokelistener.c:
897 Replaced inclusion of keystrokelistener.h with devicelistener.h.
899 * registryd/deviceeventcontroller.c:
900 (DEControllerListener): Added Accessibility_EventTypeSeq member.
901 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
902 (DEControllerPrivateData): Added xkb settings data.
903 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
904 button release events (which can't be captured via XGrabButton).
905 Don't dispatch via the 'normal' event mechanism if the device event was
907 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
908 Handle the typeseq data in its new location (see above).
909 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
910 New methods, for "generic" device listeners.
911 (spi_controller_register_device_listener):
912 Now handle mouse event listeners as well as key listeners.
913 (spi_controller_notify_mouselisteners):
915 (spi_device_event_controller_forward_mouse_event):
916 Now we notify mouse device listeners as well as generating the
917 non-consumable "mouse:" events.
919 We must check and restore the XKB
920 modifier map if we consume the event, since the act of triggering
921 a mouse event will normally reset the XKB latch. This is required for
923 (spi_controller_register_with_devices):
924 Load the XKB settings when registering, and register for XKB
926 (spi_key_eventtype_seq_contains_event):
927 Renamed spi_eventtype_seq_contains_event, since it's used
928 internally for all device event types now.
929 (spi_key_event_matches_listener):
930 Uses spi_eventtype_seq_contains_event now.
931 (spi_device_event_controller_object_finalize):
932 Free the private data and the XkbKeyboard struct.
933 (impl_register_device_listener, impl_deregister_device_listener):
934 Implementation of new IDL.
935 (spi_deregister_controller_device_listener):
937 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
938 More efficient implementation, we don't have to create a new
939 XkbControls structure every time we query.
940 (spi_device_event_controller_class_init):
941 Initialize the epv entries for the new IDL. Assign the
942 "spi-dec-private" quark.
943 (spi_device_event_controller_init):
944 Initialize the private data.
945 (spi_device_event_controller_forward_key_event):
946 Removed a bogus CORBA_exception_free() call.
948 * registryd/deviceeventcontroller.h:
949 Replaced inclusion of keystrokelistener.h with
952 * test/event-listener-test.c:
953 (report_mouse_event):
956 Added mouse-event device listener.
958 * test/test-simple.c:
959 (create_test_window):
960 Fixed regression (we were instantiating a GtkRange,
961 which is now an abstract class). Also fixed to match
962 existing AtkRole names, this seems to have changed in ATK
963 awhile ago; too late now I think, and the new
964 mechanism is at least elegant and consistent with the
965 glib enum "nick" APIs.
967 2002-11-15 Darren Kenny <darren.kenny@sun.com>
969 * idl/Accessibility_Relation.idl:
970 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
971 RELATION_EMBEDS,RELATION_EMBEDDED_BY
972 * idl/Accessibility_Role.idl:
973 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
974 * idl/Accessibility_State.idl:
975 add STATE_MANAGES_DESCENDANTS
976 * test/event-listener-test.c:
977 Added a listener for active-descendant events.
979 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
981 * atk-bridge/bridge.c
982 (atk_bridge_init): If application is Bonobo component wait until top
983 level is added before registering
984 (spi_atk_bridge_do_registration): New function which contains code,
985 formerly in atk_bridge_init, to do application registration.
986 (spi_atk_bridge_toplevel_added): Signal called when top level
987 added to Bonobo component
989 This fixes bug #83134.
991 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
993 * registryd/deviceeventcontroller.c
994 Fixed compilation error caused by calling gettimeofday()
997 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1002 Added template for HAVE_XKB.
1005 Changes to check for XKB, and to set the HAVE_XKB #define if it
1008 * libspi/listener.c:
1009 ()impl_notify_event): Make failure to get event source name
1012 * registryd/deviceeventcontroller.c:
1013 (#include): include X11/XKBlib.h.
1014 (DEControllerPrivateData) : New struct.
1015 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1017 (dec_synth_keycode_press) (dec_synth_keycode_release):
1018 New methods; split the key synthesis code into these methods.
1019 They check XKB settings before determining the "time" values to
1020 pass to Xtest; this fixes bug #95828.
1021 (impl_generate_keyboard_event): Changed to use methods above,
1022 instead of callng Xtest directly.
1023 (spi_device_event_controller_init): Initialize new privae struct s
1025 (spi_device_event_controllr_object_finalize):
1026 Free the (new) private data.
1028 * registryd/deviceeventcontroller.h:
1029 Add new gpointer to end of struct data.
1031 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1034 Incremented revision to 1.1.2, SONAME is still '.so', library
1035 extensions are ".so.0.0.2".
1037 * registryd/deviceeventcontroller.c:
1038 FIXES FOR #93592 and #95940.
1039 (statics): renamed mouse_button_state to mouse_mask_state,
1040 added key_modifier_mask.
1041 (spi_dec_poll_mouse_moved):
1042 Added key modifier checks, and emit "keyboard:modifiers"
1043 events when the key modifiers currently in use change.
1044 Also generate "mouse:abs" events periodically, even if the mouse
1045 is stationary (should we?).
1046 Alternatively we could generate "mouse:abs" events for either all
1047 mouse movements, or every 'nth' mouse movement, or at the
1048 beginning and end of every "active" mouse period.
1050 * test/event-listener-test.c:
1051 (main): Added listener for "keyboard:modifiers" events.
1053 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1055 * libspi/keymasks.h:
1056 Added key mask #defines for mouse buttons; e.g.
1057 SPI_KEYMASK_BUTTON1, etc.
1060 Incremented dependency on ATK to version 1.1.0. (This dependency
1061 is probably premature but will soon be real enough).
1063 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1065 * libspi/hyperlink.[ch]
1066 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1067 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1070 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1075 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1077 * registryd/deviceeventcontroller.c
1078 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1079 events to be ignored.
1080 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1081 keyboard_mode so that XAllowEvents() can be called.
1085 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1087 * cspi/spi-accessible.c: Correct names of roles returned by
1088 AccessibleRole_getName(). Fixes bug #95055.
1090 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1092 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1095 * registryd/registry.c
1096 (desktop_remove_application: Write diagnostic message to stderr for
1099 (impl_accessibility_registry_deregister_global_event_listener):
1100 Correct size of lists array. This addresses bug #94555).
1102 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1104 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1107 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1109 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1112 * registryd/registry.c (impl_registry_notify_event): Remove
1113 unnecessary call to parser_event_type().
1115 * docs/reference/cspi/tmpl/spi_component.sgml:
1116 Add reference to SPI_LAYER_WINDOW.
1118 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1120 * registryd/registry.c
1121 (desktop_add_application): Remove leak.
1122 (desktop_remove_application): Remove leak.
1123 (parser_event_type): Remove leak.
1125 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1127 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1128 bogus call to CORBA_string_dup(). Also removed unnecessary
1129 g_string_dup/g_free calls.
1131 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1133 * registryd/deviceeventcontroller.c:
1134 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1136 * test/event-listener-test.c:
1137 main: commented out three redundant listeners, to reduce output
1138 noise. (They still are potentially useful for testing).
1141 2002-09-13 Michael Meeks <michael@ximian.com>
1143 * Update all the copyrights to include Ximian.
1145 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1147 * cspi/spi.h: add SPI_LAYER_WINDOW.
1149 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1150 add Accessibility_LAYER_WINDOW case.
1152 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1154 * libspi/component.c: (impl_accessibility_component_get_layer):
1155 add ATK_LAYER_WINDOW case.
1157 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1159 * configure.in: incremented micro version.
1161 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1163 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1166 Clarified and reworded our commit policy.
1169 Started an API "todo" addition list for 2.2.
1172 (impl_getSelection):
1173 Free char pointer from atk_text_get_selection, which was being leaked.
1175 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1178 Small revision to author acknowledgement.
1180 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1182 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1183 If signal has detail add it to the type of the event.
1186 2002-08-12 Michael Meeks <michael@ximian.com>
1188 * test/test-simple.c (global_listener_cb): bin bogosity.
1189 (test_keylisteners): disable, still doesn't work reliably,
1190 certainly not on my system anyway.
1192 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1193 don't leak a reference on the DEC. This round-trip
1194 fetching of the DEC per keystroke sucks, it should be
1197 * cspi/spi-private.h,
1198 * cspi/cspi-lowlevel.h,
1199 * cspi/bonobo/cspi-bonobo-listener.[ch],
1200 * cspi/bonobo/cspi-bonobo.c: get the copyright
1201 notices better - there is still a large amount of
1202 work in at-spi falsely attributed solely to Sun.
1204 * cspi/spi_main.c (cspi_object_ref): kill bogus
1205 hash lookup, just increment the ref.
1206 (SPI_freeString): make explicit the fact that we
1207 handle NULL strings just fine.
1208 (report_leaked_ref): obey coding standards.
1209 (cspi_object_hash, cspi_object_equal): kill retval.
1210 (cspi_object_release): only release if not on loan.
1211 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1212 (cspi_object_borrow, cspi_object_return): impl.
1214 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1215 use cspi_object_borrow / return.
1217 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1219 * cspi/bonobo/cspi-bonobo-listener.c:
1221 Don't call cspi_oject_new() because this is creating a new Accessible
1222 every single time that an event is fired. This causes ATs like at-poke
1223 to nolonger recognise the source of the event and thus ignore it.
1224 Re-use the object from the cache, ref it and then unref it after the
1225 listeners have been called.
1227 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1229 * test/event-listener-test.c:
1230 Added command-line options to disable mouse events (m) and
1233 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1235 * configure.in: Update required versions of ATK, GTK+ and GAIL
1237 * cspi-1.0.pc.in: Add dependency for X include files
1240 * cspi/bonobo/Makefile.am:
1241 Add $(X_CFLAGS) so that X include files
1242 are picked up even if not in standard place (bug #71686)
1244 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1246 * registryd/deviceeventcontroller.c: fix for 84261
1247 (spi_dec_mouse_moved):
1248 Added test of mouse button mask, so that we can detect mouse
1249 button release. Unfortunately we can't otherwise detect mouse
1250 button release events without consuming the mouse press event,
1251 because of the way XGrabButton works. This means that our mouse
1252 release events have a latency dependent on the polling period
1253 while the mouse button is down. At least in this case we only
1254 have to poll while the button is down, and not at other times.
1255 If the button masks don't match with what the last press event
1256 reported, we report the appropriate button release event.
1257 (spi_dec_ungrab_mouse):
1258 New method (not yet called).
1259 (spi_device_event_controller_forward_mouse_event):
1260 New method, sends mouse press event from GdkFilter.
1261 (spi_dec_init_mouse_listener):
1262 Added code to call XGrabButton, redirecting mouse button events to
1263 the root window and our Gdk event loop.
1265 Added code to filter mouse button events, and reordered.
1267 * test/event-listener-test.c:
1269 Added registration for mouse events of type "mouse:button".
1271 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1273 * registryd/deviceeventcontroller.c: partial fix for 84261
1274 (spi_dec_poll_mouse_idle):
1275 New method, a timeout which checks to see if the mouse
1277 (spi_dec_poll_mouse_moving):
1278 A timeout to be called when mouse motion is underway.
1279 (spi_dec_poll_mouse_moved):
1280 A method which fires an event if the mouse has moved, and reports
1281 whether or not it did so.
1282 (spi_dec_init_mouse_listener):
1283 A method which sets up the timeouts above.
1284 (spi_device_event_controller_new):
1285 Now calls spi_dec_init_mouse_listener.
1287 * registryd/registry.c:
1288 (spi_registry_init):
1289 Now we initialize the device event controller when the registry is
1290 initialized, instead of waiting until a client has requested a key
1291 event notification; this is because we need the event controller
1292 for mouse events, but the mouse event registration API is a
1293 "registry" call and doesn't explicitly call the
1294 deviceeventcontroller.
1295 We now report mouse motion events with a 100 ms idle latency and
1296 a 20 ms granularity when motion is in progress.
1298 * test/event-listener-test.c:
1300 We now register the "detail listener" for events of type
1301 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1302 delivered only for the first mouse event received, and thereafter
1303 "mouse:abs" events are delivered.)
1305 * cspi/spi_registry.c:
1306 DOCS: Documented the above mouse event typestrings.
1308 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1310 Happy Summer Solstice...
1312 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1313 (spi_controller_notify_keylisteners):
1314 Changes to remove a listener from the listener list, freeing its
1315 open keygrabs, if a notification to that listener fails. This
1316 means that although a dead listener can continue to hold a passive
1317 keygrab, a maximum of one dispatch to such a listener can fail
1318 before the listener is removed from the list, thus the keygrab
1319 will be released on the next occurrence.
1320 As part of this fix:
1321 (spi_notify_keylisteners):
1322 Renamed to spi_controller_notify_keylisteners, as the controller
1323 instance must now be passed as an argument.
1324 The copied 'notify' GList is now a list of DEControllerKeyListener
1325 objects, since we need more than just the CORBA reference if a
1326 notify fails and we need to deregister the listener.
1327 (impl_notify_listeners_sync):
1328 (impl_notify_listeners_async):
1329 (spi_device_event_controller_forward_key_event):
1330 Modify use of notify_keylisteners in accordance with above
1332 (spi_deregister_controller_key_listener):
1333 New method introduced by refactoring, from
1334 impl_deregister_keystroke_listener.
1335 (impl_deregister_keystroke_listener):
1336 Call spi_deregister_controller_key_listener.
1337 (spi_key_listener_clone):
1338 New method to copy a key listner without doing a 'ref' on the
1339 remote object instance; used to create a notifier list.
1340 (spi_key_listener_data_free):
1341 New method, frees data without unreffing the source.
1343 (spi_key_listener_clone_free): new method.
1344 (spi_key_listener_free):
1345 refactored to call spi_key_listener_data_free.
1347 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1349 * registryd/registry.c: [fix for bug 86048]
1350 (notify_listeners_cb):
1351 Clear CORBA system exceptions which occur when notifying
1352 listeners, before returning to the source of the original event,
1353 since the event source doesn't care if the relayed notify failed.
1354 In other words, don't complain to the atk-bridge if the registry
1355 could not notify all its listeners, that's no fault of the
1356 application and thus should not appear to be an error from the
1357 application's perspective.
1359 * cspi/spi_main.c: [fix for bug 85980]
1361 Replaced use of bonobo_object_dup_ref with call to the wrapper
1362 method, csou_dup_ref (); this silences a compiler warning and
1363 provided more portability.
1365 Ping the registry before return, and restart if necessary.
1367 * cspi/bonobo/cspi-bonobo.c:
1369 New internal method.
1371 Fixed this method to return an object reference, as it should have
1374 * cspi/cspi-lowlevel.h:
1375 Added internal definition for cspi_ping() and fixed
1376 return type of cspi_dup_ref().
1379 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1381 * atk-bridge/bridge.c: [fix for bug 85305]
1382 (spi_atk_bridge_register_application):
1383 New method where the initial application registry calls have been
1384 moved; it allows an application to re-register in response to
1385 certain error conditions (such as a registry restart, see below).
1387 Moved some initialization code to the method
1388 spi_atk_bridge_get_registry, below.
1389 (spi_atk_bridge_get_registry):
1390 New, private accessor function for the Accessibility_Registry
1391 instance. If the registry has not been started before, or has
1392 died (as detected by failure of a CORBA exception), it is
1393 restarted before return, and spi_atk_bridge_register_application
1394 is called again to register with the new bridge instance.
1395 (spi_atk_emit_eventv):
1396 Set registry_died on error; use spi_atk_bridge_get_registry () to
1397 access the registry.
1399 * registryd/registry.c:
1400 (impl_accessibility_registry_register_global_event_listener):
1401 Set listener's event_type_quark to etype.minor instead of
1402 etype.major (fix for bug 84856).
1404 * test/event-listener-test.c:
1405 (report_detail_event):
1406 Change the output string so that user/tester can tell that the
1407 'detail listener' was called instead of the 'generic listener'.
1409 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1411 Fixes for bugs 84900, 84908, 84897, 84898.
1416 Revved version to 1.1.0
1417 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1418 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1420 * idl/Accessibility_Registry.idl:
1421 (EventListener::notifyEvent):
1422 Removed 'oneway' directive after extensive consulation with
1423 ORBit2 team and others. This means also that unref() of the event
1424 source can and should be done synchronously after emission, rather
1425 than remotely in the client, after servicing the notify call on
1428 NOTE: This change speeds up listener performance considerably, but
1429 introduces new latency on the application side. We may want to
1430 add an event queue to the atk-bridge.
1432 * atk-bridge/bridge.c:
1433 (spi_atk_bridge_focus_tracker):
1434 Do a local unref() on the event source after emission.
1436 * registryd/registry.c:
1437 (desktop_remove_application):
1438 Do an unref() on the event source after emission.
1439 (desktop_add_application):
1440 Do an unref() on the event source after emission.
1441 (notify_listeners_cb):
1442 When relaying an event, don't automatically add the event source
1443 to the local object cache, just CORBA_dup it instead. Likewise,
1444 if this method reenters, release the ref rather than calling
1446 (impl_registry_notify_event):
1447 No longer call remote unref() on the event source after dispatch.
1449 * libspi/eventlistener.c:
1450 (impl_accessible_event_notify_event):
1451 Removed remote unref ()
1453 * cspi/bonobo/cspi-bonobo-listener.c:
1455 We now call cspi_object_new() instead of cspi_object_add() on
1456 receipt of an event; thus we only have an implicit object ref
1457 while the cspi_event method is being executed. If we need to keep
1458 a reference to the object, the listener must call ref() on the
1459 object. Thus also we don't need to call cspi_object_unref() after
1460 invoking the listener callbacks in this method.
1464 New internal API for creating a new cspi object, without adding it
1465 to the object cache.
1467 Now uses cspi_object_new() to create the cspi object instance.
1469 Now checks to see if the object is in the internal object cache,
1470 and adds it if necessary before incrementing its refcount (note
1471 that new objects are added with a refcount of 1).
1472 (report_leaked_ref):
1473 New method which gives some information on leaked object instances
1474 if leak detection is turned on.
1476 * test/event-listener-test.c:
1477 (timing_test_event):
1478 New method, used for testing event delivery timing for special
1479 events of type "object:test". It reports elapsed time and
1480 events/sec every 500 events.
1482 Added a new listener, 'test listener', to check timing of event
1483 receipt as noted above.
1485 Added some timing output here also, reports elapsed time every 100
1488 * test/stress-test.c:
1489 Emit events of type "object:test", for use with "event-listener-test".
1491 * test/test-simple.c:
1492 (global_listener_cb):
1493 Call Accessible_ref() on the event source before calling
1494 validate_accessible, since the validation process does pointer
1495 comparisons on the event source, meaning that the event source
1496 needs to be added to the local object cache first. Any use of
1497 such pointer comparisons between Accessible objects requires that
1498 the caller hold an explicit reference to those objects.
1499 We also must therefore call Accessible_unref() when leaving this method.
1501 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1503 * registryd/deviceeventcontroller.c:
1504 (spi_controller_update_key_grabs):
1505 Fix for #84735, subsequent keygrab listeners not informed of
1506 registration failure.
1509 (spi_base_construct):
1510 Add an assertion on construct, to make sure the GObject passed in
1511 is really a GObject.
1513 Explicitly initialize object->gobj pointer to NULL;
1515 * cspi/bonobo/cspi-bonobo-listener.c:
1516 (cspi_object_add_ref):
1517 New method, can specify whether to dup-ref a bonobo object passed
1518 in if it's newly added to the object cache.
1520 Now calls cspi_object_add_ref with second param of "FALSE". This
1521 prevents us from doing a pointless dup-ref followed by
1522 release-unref for all those cases where the object is already in
1523 our object cache (fix for #85205).
1525 * atk-bridge/bridge.c:
1526 (spi_atk_bridge_idle_init):
1527 Removed this method, we don't need to initialize in an idle
1530 Changed to call spi_atk_register_event_listeners directly, not via an
1531 idle handler. (fix for #81139)
1532 (gnome_accessibility_module_shutdown):
1533 Removed conditional around deregistration of listeners, since we
1534 don't use the idle handler and thus have always registered when
1536 (spi_init_keystroke_from_atk_key_event):
1537 Changed references to Accessibility_KEY_PRESSED to
1538 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1540 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1542 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1547 * test/stress-test.c:
1550 (may have been an incomplete commit yesterday?)
1552 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1555 Added target for new stress-test.
1557 * test/stress-test.c:
1558 New test, sends 1000 focus notifies in quick succession.
1560 * test/key-listener-test.c:
1561 Now we report whether a keylistener registration
1562 request succeeded or failed.
1564 * test/event-listener-test.c:
1565 Uncommented some listeners which are now implemented.
1568 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1570 * registryd/deviceeventcontroller.c:
1571 (spi_controller_update_key_grabs):
1572 Fix for #82509, lack of failure notification when
1573 ALL_WINDOWS keygrabs fail due to XGrabKey
1574 failure: we synchronize the server when
1575 registering a passive grab, to make sure we get the
1576 error message before the call returns.
1578 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1580 * test/test-simple.c:
1582 Removed #ifdef KEY_IMPL_WORKS guards.
1583 (test_keylisteners):
1584 Removed #ifdef KEY_IMPL_WORKS guards.
1585 Fixed bug which was causing a hang waiting for a
1586 "press" event (which was already overwritten by a "release"
1587 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1589 Added code to set globals 'key_press_received' and
1590 'key_release_received'.
1593 Added section "1.1 API Proposed Additions" which
1594 lists API additions desired for at-spi-1.1 (only one so far).
1595 Updated TODO list a little.
1597 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1599 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1602 * configure.in: Revved to 1.0.0.
1604 * idl/Accessibility_Registry.idl:
1605 (registerKeystrokeListener):
1606 Added boolean return value.
1608 * registryd/registry.c:
1609 (notify_listeners_cb): Minor fix to debug output.
1611 * registryd/Accessibility_Registry.server.in.in:
1612 Revved version number in OAFIID to 1.0.
1614 * registryd/registryd.c:
1616 Use new OAFIID version.
1618 * cspi/bonobo/cspi-bonobo.c:
1620 Use new OAFIID version.
1626 * atk-bridge/bridge.c:
1628 Use new OAFIID version.
1630 * registryd/deviceeventcontroller.c:
1631 (impl_register_keystroke_listener):
1632 Added CORBA_boolean return value.
1633 (spi_controller_register_device_listener):
1634 Added gboolean return value.
1635 (spi_controller_register_global_keygrabs):
1636 Added gboolean return value.
1637 (spi_key_set_contains_key):
1638 Added implementation for many more control keys,
1639 for instance F1-F12, arrow keys, End, Home, Page_Up,
1641 [TODO: some still not implemented].
1643 * text/screen-review-test.c:
1644 (text_chunk_pad_string):
1645 New function: it provides mapping between coordinate
1646 positions of text chunks and character positions in the
1647 screen-review-line output string.
1648 (text_chunk_to_string):
1649 New function, calls text_chunk_pad_string with various
1650 pad/delimiter characters. Pushbuttons are delimited with
1651 square brackets, Frames with vertical 'pipe' lines, and
1652 other text with double quotes.
1653 (text_chunk_list_to_string):
1654 Calls new function text_chunk_to_string.
1655 (toplevel_composite):
1656 New function to composite layers CANVAS through
1657 POPUP in each toplevel (other layers are composited
1658 across toplevels, i.e. BACKGROUND and OVERLAY).
1659 (review_buffer_composite):
1660 Revise to use new methods.
1666 2002-05-31 Laszlo Peter <laca@sun.com>
1668 * configure.in: add the Xtst libdir to the runpath on Solaris,
1669 since it's not in the default library search path.
1671 2002-05-29 jacob berkman <jacob@ximian.com>
1673 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1675 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1677 * test/screen-review-test.c:
1678 (text_chunk_pad_string):
1679 Added method, which pads the string according to the
1680 text bounds of the chunk. It also takes a 3-character
1681 string as a param which indicates the characters to be
1682 used for start, padding, and end delimitation of the chunk.
1683 (text_chunk_to_string):
1684 Changed to use text_chunk_pad_string.
1686 * configure.in: Fixed bug in AC_OUTPUT that was
1687 causing path substitution in Accessibility_Registry.server
1690 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1692 * text/screen-review-test.c:
1693 (guess_string_clip):
1694 New method which attempts a best-guess at clipping
1695 text from components (like Java labels) which don't
1696 actually implement AccessibleText. This inaccurate
1697 clip is based on the assumption that the label is
1698 justified left-and-right, and monospaced.
1699 (text_chunk_get_clipped_string):
1700 We now call guess_string_clip() for text-containing
1701 components that don't implement AccessibleText.
1703 * test/screen-review-test.c:
1704 (review_buffer_get_text_chunk):
1705 We now pull "name" from labels if they do not implement
1706 AccessibleText (i.e. for Java labels).
1707 (get_screen_review_line_at):
1708 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1711 Replaceded AC_OUTPUT target
1712 registryd/Accessibility_Registry.server with
1713 registryd/Accessibility_Registry.server.in.
1715 * registryd/Accessibility_Registry.server.in:
1716 Removed (this is now a Makefile target).
1718 * registryd/Accessibility_Registry.server.in.in:
1719 Added (source for target above). We now use $(libexecdir) as
1720 prefix for the executable at-spi-registryd.
1722 * registry/Makefile.am:
1723 Now install at-spi-registryd into $(libexecdir), and build .server
1724 file with path (see above).
1726 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1728 * test/screen-review-test.c:
1729 (text_chunk_get_clipped_string):
1730 We now check to see if words fall within clip bounds
1731 before resorting to character-by-character clip bounds testing.
1733 * TODO: Added a section for "2.2 Proposed API Additions".
1735 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1737 * test/screen-review-test.c:
1739 Added a screen review benchmarking and test program to test
1742 * cspi/spi_accessible.c:
1744 Made some of the debug strings passed to cspi_check_ev a
1745 little more specific.
1747 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1749 * test/screen-review-test.c: Fix crashes in debug statements
1751 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1753 * test/screen-review-test.c: Added this file.
1755 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1757 * atk-bridge/bridge.c: changed "object:state-change" to
1758 "object:state-changed" to match docs.
1760 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1762 * atk-bridge/bridge.c: Hooked up state-change event details.
1764 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1766 * registryd/registry.c:
1767 Fixed quarking bug in event string parsing; now events with
1768 detail parameters get matched correctly to listeners.
1771 * util/idl/Magnifier.idl: remove.
1773 * util/*.[ch]: Remove.
1774 Magnification utilities and IDL are now in module gnome-mag.
1776 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1778 * registryd/deviceeventcontroller.c:
1779 Fixed bug in grab key conversion which was causing keycode grabs
1780 to be converted to AnyKey grabs.
1783 updated NEWS file to reflect recent spin-off of gnome-mag.
1785 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1787 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1788 busted AccessibleStateSet_compare. Removed redundant casts.
1790 * cspi/spi-action.c: Removed redundant casts.
1792 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1794 * cspi/spi_component.c: Fixed typos and casting error.
1796 * cspi/spi_editabletext.c: Removed redundant casts.
1798 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1800 * cspi/spi_hypertext.c: Eliminated redundant casts.
1802 * cspi/spi_image.c: Eliminated redundant casts.
1804 * cspi/spi_registry.c: Eliminated redundant casts.
1805 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1806 * cspi/spi_selection.c: Removed redundant casts.
1807 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1808 handling. Screen geometry and text offsets were being returned as 0
1809 on error which is technically valid-- changed these to return -1.
1810 Added marshaller for text boundary types to fix bug with boundary
1811 types being passed incorrectly to atk.
1813 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1816 * cspi/spi_registry.c:
1817 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1818 which was uncovered by the recent key changes.
1820 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1822 * test/event-listener-test.c:
1824 Added new test, "event-listener-test";
1825 this code does two things; it benchmarks traversal time
1826 for the accessible hierarchy for the first running accessible
1827 app, and it connects listeners for all supported event types.
1828 It is thus useful as an example event listener and for
1829 diagnostics/debugging of event generation.
1831 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1834 Removed unnecessary dependency on libutil.
1837 Revved micro version: 0.13.1
1839 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1842 Removed util/Makefile from targets.
1845 Removed util subdir from SUBDIRS (temporarily,
1846 pending removal of magnifier-only code
1850 #ifdef-ed out magnifier dependencies, since
1851 magnifier IDL, headers, and binary now live in
1852 module gnome-mag and we don't want at-spi to depend
1853 on gnome-mag. A magnifier demo which can run alongside
1854 simple-at is forthcoming in the gnome-mag module.
1856 NOTE: Split magnifier binary, IDL, and magnification
1857 activation code from at-spi into module gnome-mag.
1859 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1861 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1862 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1864 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1867 Revved to version 0.13.0
1869 * idl/Accessibility_Registry.idl:
1870 Changed definition of KeySet from sequence of longs to sequence of
1871 KeyDefinitions, and added KeyDefinition struct.
1872 Required for fix to bug 80616.
1874 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1875 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1876 to use new definition (see above).
1878 * registryd/deviceeventcontroller.c: handle_keygrab(),
1879 spi_keyset_contains_key():
1880 Changed to make use of new struct; this allows matching based on
1881 string key-name, for instance "Tab". This also allows matching of
1882 composed characters, non-alphanumeric characters in a way that
1883 doesn't involve dependencies on X keysym codes directly, etc.
1885 * test/key-listener-test.c:
1886 Added test for Alt-Tab key using "string" specification of keyset,
1887 and modified one of the tests to use a keycode-based keyset.
1888 Thus this test both tests and demonstrates the creation and use of
1889 keysets of three forms: specified via keycode array,
1890 keysym array, and string array. (The string case only contains a
1891 single string, i.e. a string array of length 1).
1894 Turned on PRINT_TREE option by default. Also fixed a
1895 string-freeing bug in the PRINT_TREE code.
1896 Added a listener to window:minimize events.
1898 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1900 * atk-bridge/bridge.c:
1901 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1902 for window:activate and window:deactiveate
1903 (atk_bridge_property_event_listener atk_bridge_signal_listener
1904 atk_bridge_window_event_listener) Tidy debug code
1906 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1908 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1909 Fixed handling for NULL return value from ATK.
1911 * libspi/action.c libspi/component.c libspi/editabletext.
1912 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1913 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1914 Removed redundant casts.
1916 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1917 Fixed off by one bug.
1919 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1920 function not present in idl)
1922 2002-05-02 jacob berkman <jacob@ximian.com>
1924 * atk-bridge/Makefile.am: make atk-bridge a real module
1926 2002-04-26 Radek Doulik <rodo@ximian.com>
1928 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1929 atk_state_types table
1931 2002-04-22 jacob berkman <jacob@ximian.com>
1934 * libspi/Makefile.am: add deps on the built files to help
1935 automake, and don't version the ORBit typelib
1937 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1939 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1940 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1941 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1942 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1943 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1944 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1945 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1946 libspi/accessible.h libspi/accessible.h libspi/base.h
1947 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1948 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1949 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1950 libspi/spi-private.h libspi/statetset.h libspi/table.h
1951 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1952 util/mag_client.h util/mag_control.c util/mag_image.c
1953 util/mag_image.h util/magnifier.c util/magnifier.h:
1954 Add missing file headers; standardize existing ones
1956 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1958 * atk-bridge/bridge.c: Added window event support.
1960 2002-04-18 Michael Meeks <michael@ximian.com>
1962 * libspi/relation.c (impl_getNTargets): impl.
1963 (impl_getTarget): impl.
1965 * libspi/Makefile.am: fix stateset install.
1967 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1970 Started putting useful info in this file.
1972 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1974 * atk-bridge/bridge.c:
1975 Propagate state-changed notifications to ATs
1977 * cspi/spi_registry.c: update docs to reflect actual behavior of
1978 state-change events.
1980 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1983 Incremented version to 0.12.1
1985 * util/mag_client.h:
1986 Add missing declaration for magnifier_exit,
1987 used by mag_control.c - Forte compiler didn't like
1988 the implicit redeclaration of the function :-(
1991 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1994 Revved version to 0.12 due to API change (see below).
1996 * cspi/spi-roletypes.h:
1997 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1998 definition from the inline docs, and added docs
1999 for SPI_ROLE_LAST_DEFINED.
2002 * cspi/spi_streamablecontent.c:
2003 Added missing seek_type parameter to
2004 (so far unused) method,
2005 AccessibleStreamableContent_seek().
2006 [ RT approval JodyG. ]
2009 Fixed docs for SPI_createAccessibleKeystrokeListener.
2011 * cspi/spi_registry.c:
2012 Fixed docs for SPI_KEYSET_ALL_KEYS.
2014 * docs/reference/cspi/at-spi-cspi-sections.txt:
2015 Added a number of missing APIs to SECTIONS.
2017 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2019 * registryd/Makefile.am:
2021 * cspi/bonobo/Makefile.am:
2022 Add $(X_LIBS) to makefiles.
2024 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2027 Revved version to 0.11.
2029 * libspi/component.c:
2030 Added implementation for grabFocus.
2032 * idl/Accessibility_Component.idl
2033 (Accessibility_Component_grabFocus):
2034 Made this method return boolean to indicate success or failure, to
2035 be consistent with cspi and the corresponding ATK method.
2037 * idl/Accessibility_Selection.idl
2038 (Accessibility_Selection_selectAll) :
2039 Made these methods return boolean to indicate success or
2040 failure, to be consistent with cspi and the corresponding ATK methods.
2042 * idl/Accessibility_EditableText.idl
2043 (Accessibility_EditableText_setTextContents,
2044 Accessibility_EditableText_insertText,
2045 Accessibility_EditableText_cutText,
2046 Accessibility_EditableText_deleteText,
2047 Accessibility_EditableText_pasteText):
2048 Made these methods return boolean to indicate
2051 * cspi/spi_editabletext.c:
2052 Made these methods return booleans.
2054 * libspi/selection.c:
2055 * libspi/component.c:
2056 * libspi/editabletext.c:
2057 Connected the boolean returns from ATK
2058 to the server-side code referenced above.
2060 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2062 * idl/Accessibility_Table.idl: Added missing methods,
2063 Accessibility_Table_addRowSelection,
2064 Accessibility_Table_addColumnSelection,
2065 Accessibility_Table_removeRowSelection,
2066 Accessibility_Table_removeColumnSelection.
2069 Added C wrappers for above IDL:
2070 AccessibleTable_addRowSelection,
2071 AccessibleTable_addColumnSelection,
2072 AccessibleTable_removeRowSelection,
2073 AccessibleTable_removeColumnSelection.
2076 Added server-side implementation code for IDL above, connecting
2077 to pre-existing ATK api.
2079 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2081 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2083 * libspi/accessible.c: Added implementation fo
2084 Accessibility_Accessible_get_state.
2086 * libspi/libspi.h: Added stateset.h to the list of includes.
2088 * libspi/stateset.c: Fixed broken implementation.
2090 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2093 Added implementation code for Accessibility_Magnifier_exit ().
2095 * util/mag_control.c:
2096 Added test code for above method; you can
2097 now kill an existing magnifier via
2098 ./mag_control q, from the util directory.
2100 * test/key-listener-test.c:
2102 Added a new test, for our key listener API.
2104 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2106 * test/app.c, test/keysynth-demo.c:
2108 Replace use of snprintf with g_snprintf.
2109 (fix for bugzilla 78249)
2111 2002-03-27 Michael Meeks <michael@ximian.com>
2115 * util/Makefile.am (INCLUDES): fix.
2116 (DONT_DIST_SOURCE): don't distribute the
2119 * libspi/Makefile.am (dist-hook): ditto.
2121 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2123 * libspi/hypertext.c:
2124 Fix warnings when yelp is used with atk-bridge
2126 2002-03-21 Michael Meeks <michael@ximian.com>
2128 * libspi/application.c (spi_application_new):
2129 use spi_accessible_construct so we use the AtkObject
2132 2002-03-19 Michael Meeks <michael@ximian.com>
2134 * registryd/registry.c (desktop_remove_application),
2135 (desktop_add_application): clean coding style.
2137 * registryd/desktop.c (spi_desktop_remove_application),
2138 (spi_desktop_add_application): kill re-enterency hazards.
2139 (spi_desktop_dispose): remove bogus redundant cast
2140 obscuring bug; fix bug too.
2141 (spi_desktop_init): make the desktop object immortal.
2143 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2146 Added a #define-guarded tree-traversal step
2147 when enumerating the apps (diagnostic tool).
2149 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2151 * idl/Accessibility_Role.idl:
2152 Added ROLE_DRAWING_AREA which seemed to be missing from the
2155 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2157 * cspi/spi-roletypes.h cspi/spi_accessible.c
2158 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2161 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2162 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2163 AT when applications are added and removed from the desktop. This
2164 reverts the previous broken implementation using the backing
2165 AtkObject for the SpiDesktop.
2167 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2169 * registryd/desktop.c: emit the "children-changed::add" and
2170 "children-changed::remove" signals on the backing ATK object for
2171 the desktop so AT can tell when applications are started and shut
2174 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2176 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2178 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2180 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2182 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2184 * cspi/state-types.h: synched with IDL and ATK
2186 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2188 * libspi/accessible.c
2189 (impl_accessibility_accessible_get_child_at_index):
2190 Change return value for g_return_if_fail ()
2191 to CORBA_OBJECT_NIL instead of "0" (!)
2193 * registryd/Makefile.am:
2194 * registryd/Accessibility_Register.server.in:
2195 Changed name of executable, "registryd",
2196 to something more informative:
2199 2002-03-13 Michael Meeks <michael@ximian.com>
2201 * atk-bridge/bridge.c (atk_bridge_init): don't register
2202 if we're in a bonobo-component, rather than a bonobo app.
2204 2002-03-13 Michael Meeks <michael@ximian.com>
2206 * atk-bridge/bridge.c (gtk_module_init): split
2207 out body to (atk_bridge_init): here, since otherwise
2208 we get symbol conflicts and oddness when invoked
2209 from (gnome_accessibility_module_init): here (upd.)
2211 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2214 New file. Explicitly allow "build sheriff" putbacks provided
2215 they are tested on Solaris.
2217 * docs/reference/cspi/Makefile.am:
2218 Added '-' to the "cp" command for index.sgml.
2219 ("patch by thomasvs, soon coming to a GUADEC near you")
2222 Incremented version number (0.9.0) for new release.
2223 Changed macro that checks for popt, to better detect
2224 obsolete versions of popt.
2227 Added X_LIBS to AC_SUBST, for applications
2228 that call Xlib API directly.
2231 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2234 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2237 Fix regression caused by hard-coding major
2238 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2241 * test/test-simple.c (test_editable_text),
2242 (test_test): revert previous change (error was
2243 a regression in gail which is now fixed).
2245 2002-03-04 Michael Meeks <michael@ximian.com>
2247 * test/test-simple.c (test_editable_text),
2248 (test_text): pass G_MAXINT instead of '-1' for
2249 whole string - is this a good thing !?
2251 * cspi/spi_accessible.c
2252 (Accessible_getRelationSet): fix crasher bug
2253 overwriting the end of the array.
2255 * test/test-simple.c (validate_accessible): free,
2256 not g_free returned relation set.
2258 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2260 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2261 implemented stateset support
2263 * idl/Accessibility_State.idl: Made necessary changes to
2264 the IDL to support state sets.
2266 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2268 * registryd/deviceeventcontroller.c:
2269 Added implementation for generateMouseEvent.
2271 * cspi/spi_registry.c:
2272 Connected new implementation for generateMouseEvent
2275 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2278 Incremented revision (but no change in public API
2279 outside of 'utils', which are not installed public yet.)
2281 * libspi/component.c:
2282 Changed to use atk_component API for layers and
2283 mdi_zorder, instead of deprecated atk_object API.
2285 Magnification Utility Enhancements:
2288 Added implementation of createZoomRegion, clearAllZoomRegions,
2289 resizeZoomRegion. Added new commandline argument
2290 "--no-initial-region". Note that clearAllZoomRegions doesn't
2291 unmap the old '0' region as it should (yet), and the other
2292 methods only work when creating/resizing a single region,
2293 which is "region 0".
2294 (Code for multiple region support will be added later.)
2297 Now we raise the magnifier window each time it's refreshed;
2298 this will help keep it on top.
2300 * util/mag_client.h:
2301 Added simple wrappers for above, used by mag_control.
2302 For general use, it's recommended to use the bonobo magnifier
2303 control API directly instead of using these wrappers.
2306 Moved ZoomRegionData from magnifier.c to this file.
2308 * util/mag_control.c:
2309 Added some code to exercise new IDL implementations.
2311 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2313 * libspi/text.c: Provide implementation for getAttributes.
2315 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2318 Incremented revision.
2320 * test/test-simple.c:
2321 Replaced use of deprecated g_main_iteration with
2322 g_main_context_iteration.
2324 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2327 Incremented revision for desktop alpha 2.
2329 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2331 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2334 * test/simple-at.c: include netinet/in.h.
2336 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2338 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2339 use NULL, not CORBA_OBJECT_NIL.
2341 * libspi/accessible.c:
2342 (impl_accessibility_accessible_get_relation_set):
2343 allocate the sequence correctly.
2345 * libspi/remoteobject.h: kill spi_remote_object_new.
2347 * test/test-simple.c: (validate_accessible): add code
2348 to test relation sets, now all we need is to figure
2349 out how to excercise this code path :/
2351 2002-01-18 Michael Meeks <michael@ximian.com>
2353 * test/test-simple.c
2354 (key_listener_cb): consume the key.
2355 (test_keylisteners): update.
2356 (main): wait for any pending unrefs on events.
2358 * registryd/deviceeventcontroller.c
2359 (spi_controller_update_key_grabs): only re-issue the
2360 grab on a key release.
2361 (spi_device_event_controller_forward_key_event):
2362 refresh the keygrabs before we notify the listeners,
2363 to reduce the X ungrab / re-grab race.
2364 (spi_controller_register_with_devices): remove
2365 XSelectInput - we do that with the gdk_window_ call.
2366 (_spi_controller_device_error_handler): return a value.
2367 s/GDK_DISPLAY/spi_get_display/
2369 2002-01-17 Michael Meeks <michael@ximian.com>
2371 * registryd/deviceeventcontroller.c
2372 (_deregister_keygrab): don't blow out the later
2375 * test/test-simple.c (test_keylisteners): do a
2376 more intelligent validation.
2378 2002-01-14 Michael Meeks <michael@ximian.com>
2380 * atk-bridge/bridge.c
2381 (gnome_accessibility_module_init),
2382 (gnome_accessibility_module_shutdown): impl.
2383 (gtk_module_init): protect vs. double inits.
2384 (add_signal_listener): impl.
2385 (spi_atk_bridge_state_event_listener): kill
2386 (deregister_application): split out of
2387 (spi_atk_bridge_exit_func): here.
2389 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2392 Added caret tracking when using magnifier, and
2393 now use text bounds for focus tracking of text elements, rather than
2394 the component bounds - this is helpful for short text fields in long
2395 table cells, at high magnification.
2397 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2399 * registryd/deviceeventcontroller.c:
2400 Regression fix for keylistener de-registration; global keygrabs
2401 were not being released when deregisterKeystrokeListener was
2402 called in cspi, since
2403 Accessibility_DeviceEventController_deregisterKeystrokeListener
2404 was called with a zero-length keyset. That is because the cspi
2405 method, SPI_deregisterKeystrokeListener, does not take a keyset
2406 parameter but instead should remove all the key grabs held be a
2408 The code in impl_deregister_keystroke_listener was changed to copy
2409 the keylist from the listener instance previously registered with
2410 the DeviceEventController before releasing the grabs.
2412 * registryd/registry.c:
2413 * registryd/deviceeventcontroller.c:
2414 * libspi/spi-private.h:
2416 Changed spelling of "re-enterant" to "re-entrant" globally.
2418 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2420 * test/test-simple.c:
2421 Changed key listeners test - the test was slightly mis-using the
2422 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2423 It now uses '=' as the key event listened to and generated,
2424 relying on a keysym match rather than assuming that keycode 33
2425 is always equal to keysym '!'.
2427 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2430 Changed simple-at to use a specific keyset, rather than
2431 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2432 manager, desktop, etc.
2434 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2436 * registryd/deviceeventcontroller.c:
2437 Replaced standard X error handler with a special handler that
2438 is non-fatal for failed keygrabs. This works around
2439 problems with keygrab clashes sometimes observed on
2441 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2442 mouse handling code as yet).
2444 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2447 Incremented revision for desktop alpha release.
2450 Fixed a couple of the more glaring errors (still not
2453 2002-01-11 Michael Meeks <michael@ximian.com>
2455 * registryd/deviceeventcontroller.c
2456 (spi_device_event_controller_forward_key_event): kill
2457 XUngrabKey / XKeyGrab race.
2458 (spi_controller_grab_keyboard): rename to
2459 (spi_controller_update_key_grabs): this, and deal
2460 with incremental adding / removing grabs more
2462 (_register_keygrab): ensure we're not pending a remove.
2463 (spi_grab_mask_free): impl.
2464 (spi_controller_register_global_keygrabs): split out
2466 (handle_keygrab): impl.
2467 (_deregister_keygrab): impl.
2468 (spi_controller_deregister_global_keygrabs): impl.
2469 (spi_controller_update_key_grabs): re-issue the grab if
2470 we just recieved a notification.
2472 * test/test-simple.c (key_listener_cb): remove debug.
2474 * registryd/deviceeventcontroller.c
2475 (spi_controller_register_device_listener): after
2476 registering a global keygrab, actualy register it !
2477 don't wait for a timeout; doh !
2479 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2480 to make it more readable / manipulable.
2481 s/grabmask/grab_mask/ s/refcount/ref_count/
2482 s/keyval/key_val/ s/modmask/mod_mask
2484 2002-01-08 Michael Meeks <michael@ximian.com>
2486 * registryd/deviceeventcontroller.c
2487 (spi_controller_register_with_devices): use gdk calls to
2489 (global_filter_fn): implement the filter.
2490 (spi_device_event_controller_check_key_event): rename to
2491 (spi_device_event_controller_forward_key_event): this & upd.
2492 (spi_get_display): replace with GDK_DISPLAY.
2494 * registryd/deviceeventcontroller.c
2495 (spi_controller_deregister_device_listener): unroll into
2496 (impl_deregister_keystroke_listener): here to simplify.
2497 (spi_controller_register_global_keygrabs): split cut and
2498 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2499 (spi_controller_deregister_device_listener): remove.
2500 (impl_register_mouse_listener): remove, no mouse listener
2501 support in at-spi-1.0
2503 * registryd/registry.c
2504 (_device_event_controller_hook): kill.
2505 (spi_registry_init): upd.
2507 * registryd/deviceeventcontroller.c
2508 (spi_device_event_controller_class_init): upd.
2509 (spi_check_key_event): merge into.
2510 (spi_device_event_controller_check_key_event):
2511 here and kill strange static ev init, don't leak
2512 the x_event - nor dynamicaly allocate it.
2514 * registryd/registry-main.c (main): re-direct
2515 timeout to remove strange vtable mess.
2517 * registryd/deviceeventcontroller.c
2518 (remove_listener_cb): impl.
2519 (spi_controller_deregister_device_listener):
2520 fix re-enterancy hazard.
2522 2002-01-07 Michael Meeks <michael@ximian.com>
2524 * registryd/deviceeventcontroller.c
2525 (spi_device_event_controller_new): upd.
2526 (impl_notify_listeners_sync): upd. debug.
2527 (spi_notify_keylisteners): fix re-enterancy hazards,
2528 prettify, remove O(n*n) iteration.
2529 (spi_controller_grab_keyboard): fix iteration.
2530 (spi_check_key_event): re-format to suit coding style.
2531 Clean all the warnings - we're warning free.
2533 * registryd/deviceeventcontroller.h:
2534 * registryd/registry.h: make mutualy referential with
2535 typesafe forward references instead of (!) void pointer
2538 2002-01-11 Michael Meeks <michael@ximian.com>
2540 * cspi/spi_accessible.c (role_names): add a role name
2541 to sync this array with the enum; and make the regression
2544 2002-01-10 Michael Meeks <michael@ximian.com>
2546 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2547 allow expansion of enumeration & kill warning.
2549 * test/test-simple.c (key_listener_cb): impl.
2550 (test_keylisteners): impl.
2552 * cspi/spi-listener.h: make listener signatures const
2553 on the provided (const) events.
2555 * test/keysynth-demo.c: upd. to const events.
2557 * test/simple-at.c: ditto.
2559 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2562 Rev the version to 0.5 (the previous tarball was named 0.4,
2563 even though the micro number was 3), so we need to rev upwards
2564 again for beta2/"desktop-alpha"
2567 Checked in a demo script, which requires editing before use!
2568 Proceed with caution.
2571 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2573 * cspi/spi_accessible.c:
2574 Add a couple of missing enum initializations, and fix some enum
2577 * cspi/spi_registry.c:
2578 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2580 * docs/reference/cspi/at-spi-cspi-sections.txt:
2581 Remove/fix a couple of broken document references.
2584 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2585 as Alt-Control to listen for commands, since on some systems
2586 Control-Alt may already be grabbed.
2588 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2591 Update version number to 0.4 for Beta2.
2593 * libspi/accessible.c, libspi/accessible.h:
2594 Expose spi_accessible_construct, to enable libgail-gnome
2595 construction from spi_accessible subtype.
2597 * utils/magnifier.c:
2598 Workaround for bug in some non-gnome-compliant window managers
2599 which made magnifier resize improperly.
2601 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2603 * libspi/accessible.c: (spi_accessible_new) :
2604 Move the test for SPI_IS_REMOTE_OBJECT to
2605 spi_accessible_new_return, fixing a bug and compile time warning.
2607 2002-01-08 Michael Meeks <michael@ximian.com>
2609 * registryd/registry.c (parse_event_type): remove strndup.
2611 * libspi/Makefile.am (libspi_la_SOURCES): remove
2612 sources already included in the headers section.
2614 * libspi/util.c: add.
2616 * libspi/spi-private.h: add.
2618 * registryd/registry.c: update to moved list iterators.
2620 2002-01-05 Michael Meeks <michael@ximian.com>
2622 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2624 * test/test-simple.c (main): ditto.
2626 2002-01-04 Michael Meeks <michael@ximian.com>
2628 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2629 redundant construct.
2631 * registryd/registry.c
2632 (get_listener_list): impl.
2633 (impl_accessibility_registry_register_global_event_listener):
2634 re-impl. to simplify using ~, remove dodgy const cast off.
2635 (parse_event_type): constify.
2636 (impl_accessibility_registry_deregister_global_event_listener_all):
2637 re-write, more efficiency and simplicity, kill re-enterancy
2639 (compare_listener_corbaref, compare_corba_objects),
2640 (compare_listener_quarks): define out.
2641 (impl_accessibility_registry_deregister_global_event_listener):
2642 re-write for effiency, and nail re-enterancy hazard.
2643 (impl_accessibility_registry_get_desktop_list): impl.
2644 (re_enterant_list_delete_link): impl.
2645 (re_enterant_list_foreach): impl.
2646 (remove_listener_cb): impl.
2647 (_registry_notify_listeners): kill.
2648 (notify_listeners_cb): impl.
2650 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2651 (SPI_getDesktopList): impl.
2653 * test/test-simple.c (test_desktop): test the methods.
2655 2002-01-03 Michael Meeks <michael@ximian.com>
2657 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2658 keystrings since we free them
2659 (SPI_freeAccessibleKeySet): in here.
2661 * libspi/accessible.c (spi_accessible_new): kill warning,
2662 wonder what is going on with the constructor here.
2664 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2666 * libspi/accessible.c (spi_accessible_new ()) :
2667 Added check to see if AtkObject is an SpiRemoteObject before
2668 creating an SpiAccessible.
2670 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2672 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2673 Enable keygrabs using the Control modifier, now that they are
2674 working properly (they were previously disabled).
2677 Change the command keygrab for this demo to "Control+Alt", so as
2678 to conflict with fewer other key commands on the system; this
2679 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2681 Removed a pointlessly-chatty keylistener for unshifted keys
2682 (shifted keys are still reported).
2684 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2686 * libspi/remoteobject.h:
2687 * libspi/remoteobject.c:
2688 Added definitions for special AtkObject subtype, required for
2689 support of remote components (specifically, used by BonoboControl
2690 accessibility implementation).
2692 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2694 * cspi/spi.h: synched relation types with ATK
2696 * cspi/spi_accessible.c: Added implementations of
2697 AcccessibleRelation_* methods
2699 * idl/Accessibility_Relation.idl: added getRelationTypeName
2700 method. Synched known relation types with ATK. Allowed for
2701 relation type extension with the RELATION_EXTENDED type.
2703 * libspi/relation.c: Provided implementations for
2704 AccessibleRelation methods.
2706 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2708 API tweaks for today's API 'freeze'.
2711 Added placeholder functions to allow future compatible expansion
2712 of the IDL interfaces.
2714 * idl/Accessibility_Registry.idl:
2715 Changed generateKeyEvent to generateKeyboardEvent. Changed
2716 signature of this method to accept an optional keystring in
2717 parameter (for complex text input synthesis) and changed use of
2718 simple 'boolean' parameter in registerKeystrokeListener to a
2719 struct, EventListenerMode.
2721 * cspi/spi_accessible.c:
2723 * cspi/spi_streamablecontent.c:
2724 Added references to AccessibleStreamableContent interface, and
2725 definition and implementation of AccessibleStreamableContent
2728 * cspi/spi_registry.c:
2730 Changed generateKeyEvent API to generateKeyboardEvent,
2731 taking a new (optional) keystring parameter to support complex
2736 Renamed directory (to better reflect its actual purpose, bridging
2737 from at-spi to ATK). The .so module is also now named
2740 * idl/Accessibility_Hypertext.idl:
2741 * libspi/accessible.c:
2742 * libspi/hypertext.h:
2743 * libspi/hypertext.c:
2744 Changed Accessibility_Hypertext to *not* derive from
2747 * cspi/spi_registry.c:
2748 Added list of legal event type names for 'window' events, which
2749 completes the registry event API.
2751 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2753 * at-bridge/bridge.c: Added registration for separate
2754 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2755 signals. If either of the first two parameters to the generic
2756 bridge signal handler are ints, they are passed on as event
2757 details. This allows an AT to determine what text was inserted.
2759 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2761 * registryd/deviceeventcontroller.c:
2762 Fixed regressions in generateKeyEvent caused by the removal of
2763 gdk_init from registryd; we now use pure X calls to connect to the
2764 display, which makes sense because deviceeventcontroller already
2765 uses a fair bit of X API (should eventually be migrated to a
2766 'portability layer').
2768 * registryd/desktop.c:
2769 Fixed minor regression in spi_desktop_init, changed the way the
2770 desktop name is being set to work with new spi_base API
2771 (gobject-based, rather than AtkObject-based).
2773 * registryd/Makefile.am:
2774 Minor revision of makefile to use XTST_LIBS variable rather than
2775 hard-wiring the Xtst LD_ADD element.
2777 * test/keysynth-demo.c:
2778 Tweaked an output message; added initialization of the
2779 'keystrings' member of the "switch listener" key_set.
2781 * libspi/relation.c:
2782 Squashed compile-time warning.
2784 * libspi/accessible.c:
2785 Cosmetic and formatting fixes, renamed a static method.
2787 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2789 * libspi/accessible.c
2791 * libspi/application.c
2794 * libspi/component.c
2795 * libspi/editabletext.c
2796 * libspi/hyperlink.c
2797 * libspi/hypertext.c
2799 * libspi/selection.c
2803 * registryd/desktop.c:
2804 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2806 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2808 * idl/Accessibility_Registry.idl:
2809 Added boolean member 'is_text' to DeviceEvent. This is for the
2810 use of key events, and helps prevent ambiguity between composed
2811 key strings and keysym names, since both may potentially be
2812 returned in the 'event_string' member.
2814 * at-bridge/bridge.c:
2815 * registryd/deviceeventcontroller.c:
2816 Use the 'is_text' member when notifying device event listeners.
2817 Knon issue: composed characters are not dealt with correctly by
2818 the global key listener implementation yet.
2820 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2822 * at-bridge/bridge.c:
2823 Namespaced local static methods to spi_atk_bridge_* where
2824 previously named bridge_*, and spi_* elsewhere.
2826 * at-bridge/bridge.c:
2827 * cspi/bonobo/cspi-bonobo-listener.c:
2828 Added demarshalling/conversion for string member of
2829 Accessibility_DeviceEvent to AccessibleKeystroke.
2831 * registryd/deviceeventcontroller.c:
2832 Added code to fill the Accessibility_DeviceEvent key string value
2833 member for global key events (i.e. from XGrabKey), to match
2834 behavior of Accessibility_DeviceEvent from the toolkit key events
2835 from the bridge. Fixed timestamp in global key event notifications.
2838 Added printout of key event's string value to
2839 report_ordinary_key_event, for demo/debugging purposes.
2841 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2843 * idl/Accessibility_Registry.idl:
2844 Removed Accessibility_KeyStroke structure in favor of generic
2845 Accessibility_DeviceEvent structure.
2846 Changed Accessibility_ControllerEventMask from a struct to an
2849 * at-bridge/bridge.c:
2850 Changed APIs to use DeviceEvent structure as above, and removed
2851 bogus casting between these event structures.
2853 * cspi/spi-listener.h:
2854 Added keystring member of AccessibleKeystroke structure, to enable
2855 matching on event "names" rather than only hardware codes and
2859 Added keystrings member of AccessibleKeySet struct, to allow
2860 matching on event names (as above).
2861 Added declarations for SPI_createAccessibleKeySet and
2862 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2863 event modmasks directly as unsigned ints rather than structs with
2864 refcounts, in the DeviceEventController methods.
2866 * cspi/spi_registry.c:
2867 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2869 * cspi/spi-roletypes.h:
2870 Added documentation of newly added SPI Roles.
2872 * cspi/bonobo/cspi-bonobo-listener.c:
2873 Changes in support of API changes above.
2875 * libspi/accessible.c:
2876 Converted APIs to use DeviceEvent structure (see IDL changes
2879 * registryd/deviceeventcontroller.c:
2880 Added DEControllerGrabMask structure to track keygrabs not only by
2881 modmask but by keyset as well; this allows us to do "global"
2882 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2883 grabbing on AnyKey and then filtering after-the-fact.
2884 Bugfixes for event filtration mean that we don't get false matches
2885 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2887 * registryd/deviceeventcontroller.c:
2888 Namespaced a number of static methods to use spi_ prefix. Major
2889 revision to internals of global (i.e. X) key grabs.
2891 * registryd/deviceeventcontroller.h:
2892 Removed keymask_list and added keygrabs_list to
2893 SpiDeviceEventController struct.
2896 Added use of SPI_createAccessibleKeySet API when creating a
2897 listener for only one key. Attach a listener to "shift spacebar
2898 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2899 X key event names to SPI key event names, so that listeners are
2900 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2902 * test/keysynth-demo.c:
2903 Changed (incorrect) use of X key event names (KeyPressed,
2904 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2907 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2909 * libspi/accessible.c:
2910 Convert all AtkRole enumerations to Accessibility_Role enums when
2911 getting a role from an AtkObject.
2913 * cspi/spi_accessible.c:
2914 Complete the conversion of Accessibility_Role enums at runtime to
2915 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2916 role enums correctly match those given in spi-roletypes.h.
2917 Re-synchronize the local names list for AccessibleRole_getName ().
2918 AccessibleRole_getName is now deprecated, since it duplicates the
2919 more reliable Accessible_getRoleName.
2920 Added some role types from Accessibility_Role.idl.
2922 * idl/Accessibility_Role.idl:
2923 Added some role types used by AtkRole.
2925 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2928 * cspi/spi_registry.c:
2930 * cspi/cspi-bonobo-listener.c:
2931 Namespaced all methods that did not begin with an "SPI_" or
2932 "Accessible" prefix to "SPI_".
2935 Homogenized internal function namespace to "cspi_" for statics.
2938 Patched tests to use the new CSPI API.
2940 * docs/reference/cspi/at-spi-cspi-sections.txt:
2941 Updated docs to reflect namespace changes, and added a number of
2942 methods to the documentation.
2944 * registryd/registry.c:
2945 Changed use of strings and string hashes in listener event
2946 matching and parse_event_string to use GQuark, which is guaranteed
2949 * registryd/registry.h:
2950 Squashed annoying warning.
2952 * idl/Accessibility_Role.idl:
2953 Extended range of available Accessibility_Role values.
2955 * cspi/spi_accessible.c:
2956 Re-ordered role names.
2958 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2960 * idl/Accessibility_Value.idl:
2961 Revert use of union back to CORBA_double, since the double type is
2962 more efficient and can contain the other types without loss of
2965 * idl/Accessibility_Accessible.idl:
2966 Added method Accessibility:Accessible:getRoleName, to complement
2967 Accessibility:Accessible:getRole.
2969 * cspi/spi_accessible.c:
2971 Added C binding for above, Accessible_getRoleName (), and changed
2972 signature of Accessible_getRole () to return an AccessibleRole.
2974 * cspi/spi-roletypes.h:
2975 Changed AccessibleRole_getName to return a char * instead of a
2976 const char *. This method is now at least temporarily deprecated
2977 in favor of asking Accessibles for their RoleNames directly.
2980 Revert to match Accessibility_Value.idl;
2984 Change signature of AccessibleValue methods to use double rather
2988 * cspi/spi_accessible.c:
2989 Changed Accessible_getRole to return an AccessibleRole enum rather
2990 than a UTF-8 string. The UTF-8 string can still be obtained via
2991 AccessibleRole_getName ().
2993 * test/test-simple.c:
2994 Add test_action. Small fixup to match API change to Accessible_getRole.
2997 Bugfix for get_action_from_servant ().
2999 2001-12-11 Michael Meeks <michael@ximian.com>
3001 * libspi/libspi.h: remove registry.h and
3002 desktop.h, deviceeventcontroller.h
3004 * libspi/Makefile.am: remove registry.[ch],
3005 desktop.[ch], deviceeventcontroller.[ch]
3007 * registryd/Makefile.am: add registry.[ch],
3008 desktop.[ch], rename registryd.c to registry-main.c.
3009 add deviceeventcontroller.[ch]
3011 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3014 Replace setenv() call with putenv ().
3016 * libspi/component.c:
3017 Bugfix in AccessibleComponent_getExtents (),
3020 2001-12-11 Michael Meeks <michael@ximian.com>
3022 * libspi/image.c (impl_getImageExtents): impl.
3023 (spi_image_class_init): upd.
3026 (AccessibleImage_getImageDescription): fix daft bug
3029 * test/test-simple.c (global_listener_cb): update
3030 to only quit if not --poke
3031 (main): catch --poke.
3032 (validate_accessible): upd. dumping, call test_image
3035 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3038 * idl/Accessibility.idl: update all IDL includes.
3040 * idl/*.idl - rename to namespace - this sucks, blame
3041 mjs' bad decision for oafd.
3043 * test/test-simple.c (create_test_window): add more tests.
3044 (create_tree): split this out.
3045 (validate_accessible): bugfix.
3047 2001-12-11 Michael Meeks <michael@ximian.com>
3049 * cspi/bonobo/cspi-bonobo-listener.c:
3050 (cspi_kestroke_listener_unref),
3051 (cspi_event_listener_unref): impl. undoing previous
3052 homenous environment - for Bill.
3054 * cspi/spi_table.c (long_seq_to_array): use
3057 * cspi/spi_main.c: split out all bonoboish bits into
3060 * cspi/spi-impl.h: upd. typedefs.
3062 * cspi/spi_registry.c: update to lowlevel API,
3063 return booleans to indicate success in some places.
3065 * cspi/spi_event.c: update to lowlevel API.
3067 * cspi/bonobo/Makefile.am: add.
3069 * cspi/bonobo/cspi-lowlevel.h: add
3071 * cspi/bonobo/cspi-bonobo.c: add
3073 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3075 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3076 (SUBDIRS): add bonobo, link in the libs.
3078 * cspi/spi-util.c: kill this file.
3080 * TODO: merge in my bits.
3082 2001-12-11 Michael Meeks <michael@ximian.com>
3084 * test/test-simple.c (test_value, test_table, main):
3085 remove unused variables causing warnings.
3087 * configure.in: cleanup checks - require gail.
3089 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3092 Changed Value interface to use SValue (scalars) rather than
3093 assuming all values are floats. This allows floats, doubles,
3094 longs, shorts, and unsigned values to be manipulated.
3095 Introduced Accessibility:SValue union.
3098 Updated to use new API above, and to work correctly with GValues
3099 of different types in AtkValue.
3102 Updated to use new API above. cspi's API is as yet unchanged.
3105 Updated the Value revision action item.
3107 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3109 * test/test-simple.c:
3110 Added test_table (GtkTreeView widget in test window to follow).
3111 Un-commented test_value, added GtkRange widget.
3112 Added GtkTreeView widget with GtkListStore. It passes regression
3113 test but leaks one SPI object for some reason.
3116 Fixed bug in impl__set_currentValue.
3118 2001-12-10 Michael Meeks <michael@ximian.com>
3120 * cspi/spi_text.c: audit for exception handling,
3121 tolerating NULL object references safely etc.
3123 * cspi/spi_value.c: ditto.
3125 * cspi/spi_table.c (AccessibleTable_getSummary),
3126 (AccessibleTable_getAccessibleAt),
3127 (AccessibleTable_getRowHeader),
3128 (AccessibleTable_getColumnHeader),
3129 (AccessibleTable_getCaption): fix bugs hidden by
3131 (long_seq_to_array): impl.
3132 (AccessibleTable_getSelectedRows),
3133 (AccessibleTable_getSelectedColumns): use it.
3135 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3138 Added a TODO list (rough and short for now).
3140 * cspi/spi_hyperlink.c:
3141 * cspi/spi_hypertext.c:
3142 Fixed macro name typos, and remove use of obsolete macro in
3143 AccessibleHyperlink_getLink.
3145 * cspi/spi_action.c:
3146 * cspi/spi_accessible.c:
3147 * cspi/spi_application.c:
3148 * cspi/spi_component.c:
3149 * cspi/spi_selection.c:
3152 Documentation fixes (removed return values from ref/unref methods).
3154 2001-12-10 Michael Meeks <michael@ximian.com>
3156 * cspi/spi_action.c: audit for exception handling,
3157 tolerating NULL object references safely etc.
3159 * cspi/spi_accessible.c: ditto.
3161 * cspi/spi_component.c: ditto.
3163 * cspi/spi_editabletext.c: ditto.
3165 * cspi/spi_hyperlink.c: ditto.
3167 * cspi/spi_hypertext.c: ditto.
3169 * cspi/spi_image.c: ditto.
3171 * cspi/spi_selection.c: ditto.
3173 2001-12-10 Michael Meeks <michael@ximian.com>
3175 * configure.in: use cspi/libspi.pc.in instead.
3177 * Makefile.am (pkgconfig_DATA): upd. to match.
3179 * test/simple-at.c (report_focus_event): kill hacks around
3180 bad return values, use putenv not setenv
3182 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3183 fire ChildGone - I killed it.
3185 * libspi/component.c
3186 (impl_accessibility_component_get_extents): remove
3189 * idl/Accessible.idl: kill ChildGone exception.
3191 * cspi/*.[ch]: kill int return from ref / unref.
3193 * cspi/spi_main.c (cspi_object_add_check): fold into
3194 (cspi_object_add): here.
3196 * cspi/spi_component.c (AccessibleComponent_getExtents):
3197 handle exceptions elegantly.
3199 * cspi/spi-private.h (cspi_check_ev_return),
3200 (cspi_return_if_fail): impl.
3202 * cspi/spi_accessible.c: use extensively.
3203 (AccessibleStateSet_equals): add direct compare check.
3205 * cspi/spi_selection.c: tolerate NULL objs, and check
3206 exceptions before return.
3208 * cspi/spi-util.c (cspi_warn_ev): rename to
3209 (cspi_check_ev): this & don't pass ev in; no point.
3211 2001-12-10 Michael Meeks <michael@ximian.com>
3213 * test/test-simple.c: use putenv not setenv
3214 (get_environment_vars): more chatty if you're not using
3217 * test/simple-at.c: do the setenv so more people see the
3220 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3222 * libspi/registry.c:
3223 Changed check of CORBA_environment on notification to be a warning
3224 instead of an error for the moment, since we can recover from this
3225 error when caused by a queued notification from a dead app.
3228 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3229 used by all current implementors of AtkValue), and coerce to
3230 CORBA_float. (Proper general case fix may require change to Value.idl).
3232 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3236 * cspi/spi_accessible.c:
3237 Documentation fixes: added user_data params to documentation for
3238 listeners and callbacks.
3240 * cspi/spi_accessible.c:
3241 Changed AccessibleStateSet_compare to return a
3242 StateSet rather than return the difference set into a third parameter.
3245 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3248 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3249 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3253 Remove subdirectory po from SUBDIRS for now.
3255 * at-bridge/bridge.c:
3256 Beefed up a couple of debug printouts.
3257 One-line fix for signal notification name formatting.
3259 * libspi/accessible.c:
3260 Added assertion to spi_accessible_new ().
3262 * libspi/application.c:
3263 Put #ifdef qualifiers around a printf.
3266 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3268 * registryd/Makefile.am:
3270 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3271 INTLTOOL_SERVER_RULE macro.
3274 Added an event listener for several ATK signals, for
3275 testing and debugging. Removed a few g_warnings.
3276 Added test output if focussed item implements the Value interface.
3278 * test/test-simple.c:
3279 Added test_value () function (known not to pass at the moment, so
3280 not actually called yet.
3282 2001-12-08 Michael Meeks <michael@ximian.com>
3284 * at-bridge/bridge.c (bridge_focus_tracker),
3285 (emit_eventv): fix the same ref. leak.
3286 (register_atk_event_listeners): don't leak.
3288 * cspi/spi-listener-impl.c (cspi_event): more
3289 protection from client code.
3291 * test/test-simple.c (test_desktop): unref the app.
3293 * test/Makefile.am: upd. TESTS.
3295 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3297 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3299 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3301 * cspi/spi_registry.c: constify in strings.
3302 (deregisterGlobalEventListenerAll): don't release the ref.
3304 * cspi/spi.h: start removing redundant / conflicting
3305 gtkdoc comments, making the API readable at a glance :-)
3307 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3309 * test/keysynth-demo.c (keysynth_exit, main): upd.
3311 * test/simple-at.c (main, simple_at_exit): upd.
3313 * test/test-simple.c (unutterable_horror): kill.
3314 (utterable_normal_derefs): kill.
3315 (main): upd & do a setenv before gtk_init, so that we
3316 can use memprof - and to save the pain of remembering
3317 this, if we're running under memprof - don't exit.
3319 * cspi/spi_main.c (SPI_exit): return exit status
3321 (SPI_event_quit): impl.
3322 (SPI_event_main): simplify.
3323 (cspi_is_gnome_app): kill.
3324 (SPI_init): kill isGNOMEapp arg.
3326 * at-bridge/bridge.c (register_atk_event_listeners):
3327 re-instate the unref.
3328 (bridge_exit_func): don't re-activate the registry,
3329 protect vs. theoretical re-entry, use the
3330 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3331 assert a clean shutdown - for regression tests.
3333 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3335 * configure.in: Comment out dummy i18n support for now,
3336 otherwise it fails to build.
3337 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3338 EXTRA_DIST. They are missing in tarball.
3340 2001-12-07 Michael Meeks <michael@ximian.com>
3342 * util/magnifier.c: kill bonobo activation reg. race.
3344 * libspi/component.c
3345 (impl_accessibility_component_get_extents): make it match
3348 * libspi/registry.c (_registry_notify_listeners):
3349 re-remove X headers & reconcile conflicts.
3350 (spi_listener_struct_free): bad conflict resolve.
3351 (impl_accessibility_registry_register_application):
3352 more bad merging fixed.
3353 (impl_accessibility_registry_deregister_application): ditto.
3354 (spi_registry_new): ditto.
3355 (spi_registry_init): don't have an applications field.
3357 [ merge fixups2 branch to here ]
3358 2001-12-07 Michael Meeks <michael@ximian.com>
3360 * test/simple-at.c (report_focus_event),
3361 (report_focussed_accessible): remove g_warning debug.
3363 2001-12-07 Michael Meeks <michael@ximian.com>
3365 * test/test-simple.c (validate_tree): comment out some checks.
3366 (test_desktop): app now not registered idly - horay.
3368 2001-12-07 Michael Meeks <michael@ximian.com>
3370 * cspi/spi_registry.c
3371 (registerAccessibleKeystrokeListener): clean, stop it leaking
3372 great swathes of memory, and device event controller references.
3373 ensure we always pass valid sequences.
3374 (deregisterAccessibleKeystrokeListener): ditto.
3375 (generateKeyEvent): upd.
3377 * at-bridge/bridge.c (bridge_key_listener): handle
3378 registry dead exception gracefully.
3379 (bridge_focus_tracker, emit_eventv): free ev.
3381 * test/simple-at.c (report_focus_event): fix polarity.
3383 * libspi/application.c (notify_listeners): kill the ev
3384 argument, and make sure we init the ev we use.
3385 (spi_application_object_event_listener): split out a chunk
3386 (get_atk_object_ref): here & fixup.
3387 (reverse_lookup_name_for_toolkit_event): make const.
3388 (spi_application_toolkit_event_listener): fixup, kill leaks
3391 * at-bridge/bridge.c (register_atk_event_listeners):
3392 don't unref the noop object - causes grief.
3394 * libspi/registry.c: remove the X headers.
3395 turn off the debug churn.
3397 * libspi/accessible.c (spi_accessible_new_return): only
3398 release the ref if we are supposed to [doh]
3400 * test/simple-at.c (report_button_press, report_focus_event):
3401 guard vs. unexpected exit.
3403 * at-bridge/bridge.c (gtk_module_init): prune printf.
3404 (bridge_exit_func): fix app unref.
3406 * libspi/Makefile.am: don't install registry or desktop.h
3408 * libspi/*.h: update includes.
3410 * libspi/application.h: don't include ourself, or
3411 other redundant headers.
3413 2001-12-06 Michael Meeks <michael@ximian.com>
3415 * libspi/accessible.c
3416 (get_accessible_from_servant): impl.
3417 Upd. all CORBA impl.s to use it killing cut and paste.
3419 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3421 (SPI_init): register atexit cleanup handler here.
3423 2001-12-06 Michael Meeks <michael@ximian.com>
3425 * at-bridge/bridge.c (gtk_module_init): g_error on
3426 activation exception
3428 2001-12-06 Michael Meeks <michael@ximian.com>
3430 * at-bridge/bridge.c (gtk_module_init): some sort of
3431 confusing merge clash - reverted.
3432 (bridge_idle_init): ditto.
3434 * test/test-simple.c (main, utterable_normal_derefs):
3435 merge from Bill - somehow not committed.
3437 2001-12-06 Michael Meeks <michael@ximian.com>
3439 * libspi/value.c (spi_value_class_init): upd.
3440 (spi_value_finalize): kill.
3442 * libspi/table.c (spi_table_finalize): kill.
3443 (spi_table_interface_new): upd.
3444 (spi_table_class_init): upd.
3445 (get_table_from_servant): impl.
3446 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3448 * libspi/selection.c (spi_selection_finalize): kill.
3449 (spi_selection_interface_new): upd.
3450 (spi_selection_class_init): upd.
3451 (get_selection_from_servant): impl.
3452 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3454 * libspi/relation.c (spi_relation_finalize): kill.
3455 (spi_relation_class_init, spi_relation_new): upd
3457 * libspi/image.c (spi_image_finalize): kill.
3458 (spi_image_class_init): upd.
3459 (spi_image_interface_new): upd.
3460 (get_image_from_servant): impl.
3461 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3463 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3464 (spi_hyperlink_finalize): kill.
3465 (spi_hyperlink_new): upd.
3466 (get_hyperlink_from_servant): impl.
3467 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3469 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3470 (spi_hypertext_finalize): kill.
3471 (spi_hypertext_class_init): upd.
3472 (get_hypertext_from_servant): impl.
3473 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3475 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3476 (spi_editable_text_interface_new): upd.
3477 (get_editable_text_from_servant): impl.
3478 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3480 * libspi/text.c (get_text_from_servant): impl.
3481 All impls - update to use it killing more cut and paste,
3482 also fix bad string returns on duff args ( a somewhat
3483 impossible case to handle - but hey ).
3484 (spi_text_construct): impl.
3485 (spi_text_interface_new): upd.
3486 (spi_text_object_finalize): kill.
3488 * libspi/component.c
3489 (accessibility_component_object_finalize): kill.
3490 (spi_component_class_init): upd.
3491 (get_component_from_servant): impl. helper to kill cut & paste.
3492 (impl_accessibility_component_contains):
3493 (impl_accessibility_component_get_accessible_at_point):
3494 (impl_accessibility_component_get_position):
3495 (impl_accessibility_component_get_extents):
3496 (impl_accessibility_component_get_mdi_z_order):
3497 (impl_accessibility_component_get_layer):
3498 (spi_component_interface_new): upd.
3500 * libspi/action.c (spi_action_finalize): kill.
3501 (spi_action_class_init): upd. inherit from SpiObject.
3502 (spi_action_interface_new): upd.
3503 (get_action_from_servant): impl. helper to reduce cut & paste.
3504 (impl_getKeyBinding, impl_getName, impl_doAction),
3505 (impl_getDescription): Use it everywhere.
3507 * cspi/spi_main.c (get_live_refs): a pointer hash.
3508 (spi_object_hash, spi_object_equal): comment out.
3509 There are issues with CORBA object hashing that need
3512 * libspi/application.c (spi_application_init),
3513 (spi_application_new): upd.
3515 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3516 (spi_accessible_class_init): upd.
3517 s/accessible/object/ in epv methods.
3519 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3521 * at-bridge/bridge.c:
3522 Reorder the bridge initialization into the bridge gtk_module_init,
3523 an immediate call to bridge_register_app, and an idle_add for
3524 register_atk_event_listeners (the only code that *must* wait until
3525 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3526 the activation, creates the application's Accessible object, and
3527 queues the bridge_idle_init function. Restored call to
3528 Accessibility_Registry_deregisterApplication().
3529 Prior to making this call we obtain a new reference to the
3530 registry, which is a temporary hack that helps us handle apps that
3531 shut down the bonobo mainloop before we get there.
3533 * libspi/registry.c:
3534 Fix string leakage in debug block, and don't segv if a an app
3535 dies before its event notifications have been propagated.
3538 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3539 as stopgap measure until we get proper exception handling when
3540 objects die during or before interrogation.
3544 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3545 Also changed default value of is_gnome_app to TRUE.
3548 * test/keysynth-demo.c:
3549 Changed use of SPI_init and SPI_event_main to reflect API change above.
3552 Made report_focus_event check the warning value from getName
3553 before reporting on focussed accessible; simplifies handling of
3554 notifications from dead objects.
3556 * test/test-simple.c: (Changes not in this patch since source is
3559 2001-12-05 Michael Meeks <michael@ximian.com>
3561 * registryd/registryd.c (main): protect against
3562 bonobo-activation startup race condition.
3564 * cspi/spi_main.c (cspi_object_add_check): cope
3565 with the exception elegantly.
3567 * idl/Accessible.idl: decl. ChildGone
3569 * libspi/desktop.c (spi_desktop_dispose): impl.
3570 (spi_desktop_class_init): upd.
3571 (spi_desktop_add_application),
3572 (spi_desktop_remove_application),
3573 (abnormal_application_termination): impl.
3574 (impl_desktop_get_child_at_index): re-impl.
3577 (impl_accessibility_registry_deregister_application),
3578 (impl_accessibility_registry_register_application):
3579 kill excessive debug clutter.
3581 * test/test-simple.c (test_misc): test some NULL
3582 tolerance. (main): upd.
3584 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3585 implements no interfaces - so let's not crash.
3587 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3589 * libspi/accessible.c (spi_accessible_new_return): impl.
3590 helper to calm the cut and paste, to cope with
3591 NULL AtkObjects effectively and efficiently, and to kill
3592 the referencing bugs.
3594 * libspi/table.c (impl_getAccessibleAt),
3595 (impl_getRowHeader, impl_getColumnHeader): upd.
3597 * libspi/hyperlink.c (impl_getObject): upd.
3599 * libspi/accessible.c
3600 (impl_accessibility_accessible_get_child_at_index): upd.
3602 * libspi/component.c
3603 (impl_accessibility_component_get_accessible_at_point): upd.
3605 * test/test-simple.c (test_editable_text, test_text): impl.
3608 * cspi/spi_editabletext.c
3609 (AccessibleEditableText_insertText): constify.
3611 * test/test-simple.c (focus_me): make more robust.
3613 * libspi/accessible.c: remove some printfs in methods that
3614 we test and work fine, so we can get a clean tree dump.
3616 * test/test-simple.c (validate_accessible),
3617 (validate_tree): make tree dumping pretty too.
3619 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3620 it builds without debug on.
3622 * test/test-simple.c (validate_accessible): fix the most
3625 * cspi/spi_main.c (spi_object_release): leave the nicely
3626 blanked memory around if in debug mode.
3628 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3630 [committed to fixups2]
3631 2001-12-05 Michael Meeks <michael@ximian.com>
3633 * libspi/editabletext.c
3634 (spi_editable_text_class_init): g_type_class_peek_parent,
3635 not interface peek - so we finalize cleanly.
3637 * libspi/accessible.c (spi_accessible_new): kill debug.
3639 * test/test-simple.c (validate_accessible): fix ref.
3640 leak, print strings before freeing them; sigh, comment a
3641 chunk out due to strangeness.
3642 (validate_tree): unref the child after use.
3644 * cspi/spi_component.c (AccessibleComponent_getLayer):
3645 add missing break statement, switch on zlayer not the
3646 uninitialized retval.
3648 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3649 before (possibly re-entering) remote unref.
3651 * test/simple-at.c (main): unref the desktop.
3653 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3656 * cspi/spi_main.c (cspi_accessible_is_a): here to
3657 isolate bonobo API usage more.
3659 * libspi/registry.c (impl_accessibility_registry_register_application):
3660 prune bogus comment.
3662 2001-12-04 Michael Meeks <michael@ximian.com>
3664 * test/test-simple.c (validate_tree): upd.
3665 IndexInParent check to make it more lucid.
3666 (validate_accessible): dump the tree.
3668 * libspi/accessible.c (de_register_public_ref),
3669 (get_public_refs): impl.
3670 (spi_accessible_new): make more efficient & intuitive.
3671 Now IndexInParent check works.
3673 2001-12-04 Michael Meeks <michael@ximian.com>
3675 * cspi/spi-util.h: remove.
3677 * cspi/spi.h: move SPI_freeString here
3679 * libspi/component.c (impl_accessibility_component_get_layer):
3681 (impl_accessibility_component_get_mdi_z_order): ditto,
3682 return -1 on error - is this ok ?
3684 * test/test-simple.c (test_application): impl.
3686 * cspi/spi_accessible.c (Accessible_getApplication),
3687 (Accessible_isApplication): impl.
3689 * libspi/registry.c (spi_listener_struct_free): release
3690 the CORBA reference too.
3692 * libspi/accessible.c
3693 (impl_accessibility_accessible_get_parent): fix ref leak.
3695 * libspi/registry.c (spi_registry_new): make the registry
3696 immortal - we don't want it to go away ever.
3698 * libspi/application.c
3699 (spi_accessible_application_finalize): impl. cleanup.
3701 * cspi/spi_registry.c
3702 (deregisterGlobalEventListenerAll),
3703 (deregisterGlobalEventListener),
3704 (deregisterAccessibleKeystrokeListener): fix ref leak.
3706 * cspi/spi_main.c (SPI_init): remove redundant ref.
3708 * test/test-simple.c (unutterable_horror): impl. to force a
3713 (impl_accessibility_registry_deregister_application): release
3714 the application when we de-register it.
3716 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3717 until we have the infastructure to get it right.
3719 2001-12-03 Michael Meeks <michael@ximian.com>
3721 * libspi/Makefile.am: only build eventlistener.[ch]
3723 * libspi/accessible.c
3724 (impl_accessibility_accessible_get_child_at_index): don't leak.
3726 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3727 before we hit the idle handler.
3729 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3730 debugging than exit.
3732 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3734 * libspi/listener.c (impl_notify_event): check source
3735 not NIL before unref.
3737 * libspi/registry.c (impl_registry_notify_event): ditto.
3739 * libspi/eventlistener.c
3740 (impl_accessible_event_notify_event): unref the source.
3742 * libspi/accessibleeventlistener.c
3743 (impl_accessible_event_notify_event): unref the source.
3745 * idl/Event.idl: remove 'hash_id' attribute - of no
3748 * libspi/application.c (notify_listeners): upd list
3750 (spi_application_object_event_listener),
3751 (spi_application_toolkit_event_listener): upd to do correct
3755 (_registry_notify_listeners): update.
3756 (parse_event_type): this method also leaks like a sieve.
3757 (impl_accessibility_registry_deregister_global_event_listener):
3758 fix ETYPE_WINDOW case.
3760 * libspi/application.c
3761 (impl_accessibility_application_register_object_event_listener):
3764 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3766 * libspi/hypertext.c (impl_getLink): ditto.
3768 * cspi/spi_main.c (cspi_object_add): remove
3769 bogus CORBA_Object_duplicate.
3771 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3774 * cspi/spi_accessible.c
3775 (Accessible_getRelationSet): fix leak / referencing issue.
3777 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3778 (cspi_object_add, cspi_object_unref): upd.
3779 (spi_object_release, get_live_refs): impl.
3780 (cspi_cleanup): simplify.
3782 * *.[ch]: s/boolean/SpiBoolean/
3784 * cspi/spi_accessible.c (role_names): actualy order so it
3785 corresponds with the enum !
3787 * test/test-simple.c (test_roles): check some role strings
3788 vs. enums to detect offset errors.
3790 2001-12-01 Michael Meeks <michael@ximian.com>
3792 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3794 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3796 (Accessible_getChildAtIndex): use cspi_add_check so we
3797 check the ev before using a (possibly) invalid value.
3799 * libspi/accessible.c
3800 (impl_accessibility_accessible_get_parent): don't segv
3803 * at-bridge/bridge.c (gtk_module_init): upd.
3804 (bridge_property_event_listener): don't leak strings
3806 (bridge_state_event_listener),
3807 (bridge_property_event_listener): don't use a static
3808 buffer in case of recursive event emission &
3809 re-enterancy - split out the swathe of cut and paste
3811 (emit_eventv): and fix 2 ref leaks here & comply to the
3813 (bridge_register_app): rename to
3814 (bridge_idle_init): this and kill arg parsing, split
3815 various inits & bonobo-activation registration to module
3816 init time, kill referencing error.
3817 (bridge_exit_func): fix the same leak.
3818 (bridge_focus_tracker): don't leak event structures
3820 (bridge_signal_listener): more leakage and cut & paste
3822 (bridge_key_listener): return the result - FIXME is
3823 this polarity correct ?
3824 (accessibility_keystroke_from_atk_key_event): rename
3825 (accessibility_init_keystroke_from_atk_key_event): and stop
3827 (gtk_module_init): return a value - not that it is checked by
3829 (bridge_key_listener): register my horror at casting between
3830 IDL defined structs.
3831 (bridge_get_registry): kill - not used.
3833 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3835 * test/test-simple.c (test_roles): impl.
3836 (test_desktop, validate_accessible, validate_tree): impl.
3838 * cspi/spi_accessible.c (role_names): fixup bogus
3839 MAX_ROLES setup, make constants const for efficient linkage
3840 (AccessibleRole_getName): conform to coding style, make
3843 2001-11-30 Michael Meeks <michael@ximian.com>
3845 * cspi/spi.h: add missing prototype.
3847 * libspi/registry.c (spi_listener_struct_new): fix sig.
3849 * test/Makefile.am: add test-simple
3851 * test/test-simple.c: add
3853 * test/test.sh: add.
3855 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3857 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3858 do it straight - since otherwise we often get an activation race.
3860 [ work before Bill duplicated a chunk of it ... ]
3861 2001-11-30 Michael Meeks <michael@ximian.com>
3863 * libspi/keystrokelistener.c
3864 (spi_keystroke_listener_class_init): fixup arg
3867 * libspi/eventlistener.c
3868 (spi_event_listener_class_init): ditto.
3870 * tests/test.sh: add.
3872 * cspi/spi-listener-impl.h: update macros.
3874 * cspi/spi-listener-impl.c
3875 (cspi_event_listener_remove_callback): add
3876 correct pre-conditions.
3878 * cspi/spi_main.c (SPI_exit): guard vs. double
3879 exits, exit the mainloop nicely.
3880 (SPI_event_main): make more sense.
3881 (SPI_init): move the atexit evilness here so we
3882 always do it (yuck).
3883 (SPI_event_main): upd.
3885 * test/simple-at.c: update for listener changes.
3887 * registryd/registryd.c (main): prune kruft.
3889 * libspi/libspi.h: upd.
3891 * libspi/eventlistener.[ch]: rename broken macros.
3893 * libspi/accessibleeventlistener.[ch]: remove.
3895 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3897 * test/test-simple.c: Add - automated tests.
3899 * cspi/spi-listener-impl.c (cspi_event),
3900 (cspi_key_event): add user_data to invoke.
3901 (cspi_keystroke_listener_finalize): impl.
3902 (cspi_keystroke_listener_class_init): upd.
3905 (createAccessibleEventListener),
3906 (AccessibleEventListener_addCallback),
3907 (createAccessibleKeystrokeListener),
3908 (AccessibleKeystrokeListener_addCallback): upd.
3910 * libspi/deviceeventcontroller.c
3911 (spi_device_event_controller_check_key_event): add public proto.
3914 (impl_accessibility_registry_deregister_global_event_listener):
3915 always init listeners.
3916 (_registry_notify_listeners): yes it is.
3918 * cspi/spi-listener-impl.c (cspi_key_event):
3920 (cspi_event_listener_finalize): impl.
3921 (cspi_event_listener_class_init): hook up.
3922 (event_handler_new, event_handler_free),
3923 (event_list_remove_by_callback): impl.
3924 (cspi_event_listener_remove_callback),
3925 (cspi_keystroke_listener_remove_callback),
3926 (cspi_keystroke_listener_add_callback),
3927 (cspi_event_listener_add_callback): upd.
3929 * libspi/keystrokelistener.c
3930 (keystroke_listener_object_finalize): kill
3931 (spi_keystroke_listener_class_init): upd.
3932 (spi_keystroke_listener_add_callback),
3933 (spi_keystroke_listener_remove_callback): kill,
3935 (impl_key_event): prune drasticaly.
3937 * libspi/eventlistener.c
3938 (spi_event_listener_add_callback),
3939 (spi_event_listener_remove_callback): kill, use
3941 (impl_accessible_event_notify_event): upd.
3942 (spi_event_listener_object_finalize): remove.
3944 * libspi/Makefile.am: use eventlistener.[ch]
3946 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3948 * libspi/registry.c (_registry_notify_listeners):
3949 Changed listener loop iteration to use preferred convention.
3950 Got rid of string memory leaks caused be calling g_strconcat
3951 inside function calls.
3953 * libspi/registry.c (parse_event_type):
3954 Stopped g_strconcat memory leaks, free the g_strsplit return,
3955 g_strdup the split pieces when used, etc.
3957 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3960 Change method 'compare' to return a 'difference set' rather than
3961 taking a StateSet as an out parameter (more Java-friendly).
3963 * idl/Accessible.idl:
3964 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3966 * idl/Component.idl:
3968 Changed methods 'getExtents' and 'getImageExtents' in these
3969 interfaces to return a BoundingBox structure.
3970 (getPosition and getSize are redundant and possibly should be
3971 removed, rather than creating a corresponding Point struct.)
3973 * cspi/spi_component.c:
3974 Modify implementation of getExtents to reflect the above IDL
3979 Add (missing) AccessibleImage_getExtents () API.
3981 * docs/reference/cspi/at-spi-cspi-sections.txt:
3982 Added AccessibleImage_getImageExtents () to docs.
3984 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3986 * idl/Component.idl:
3987 Added two methods, getLayer () and getMDIZOrder (), to reflect
3988 the new ATK methods atk_object_get_layer and
3989 atk_object_get_mdi_z_order. (Which arguably should be part of the
3990 AtkComponent API and AtkObject). Also added an enum,
3991 ComponentLayer, for the first method's return value.
3993 * libspi/component.c:
3994 Added implementations for these methods.
3996 * cspi/spi_component.c:
3998 Added cspi binding methods for above,
3999 AccessibleComponent_getLayer() and
4000 AccessibleComponent_getMDIZOrder().
4001 Added cspi enum 'AccessibleComponentLayer'.
4003 * docs/reference/cspi/at-spi-cspi-sections.txt:
4004 Added above methods to docs.
4008 Changed typedef for 'boolean' type (and all references to it) to
4009 SPIBoolean, to avoid keyword clashes with C++.
4012 Changed usages of 'boolean' to SPIBoolean.
4014 * test/keysynth-demo.c:
4015 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4016 app), except where SPIBoolean is required by the callbacks API.
4018 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4020 * cspi/spi_registry.c:
4021 Removed obsolete X event loop for passive keygrabs (which now
4024 * registryd/registryd.c:
4025 Removed unnecessary call to gdk_init() [cruft]. This also allows
4026 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4029 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4031 * docs/reference/cspi:
4032 Included docs for SPI_freeString in generated documentation.
4035 Renamed spi_freeString to SPI_freeString, for consistency. Added
4036 documentation for this function.
4039 Renamed spi_freeString to SPI_freeString, for consistency.
4040 Removed obsolete method declaration string_from_corba_string.
4042 * test/keysynth-demo.c:
4043 Small tweak to comments.
4046 Stopped leaking the strings returned from CSPI.
4048 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4050 Merged Michael's branch (see his ChangeLog entries below).
4052 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4053 bridge is alive, release on exit.
4055 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4056 Fix type check macro.
4059 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4062 Added is_gnome_app static, and method cspi_is_gnome_app(),
4063 so we can call the appropriate shutdown routine at exit in SPI_exit.
4065 * cspi/spi_main.c (cspi_object_ref):
4066 Duplicate the corba object passed in, since we're keeping it around.
4068 * cspi/SPI_exit.c, cspi_cleanup:
4069 Moved the releasing of the live refs to its own function, so we
4070 can put it in g_atexit (). Call the appropriate shutdown API
4071 depending on whethe calling client is a gnome app or not
4072 (bonobo_main_quit or CORBA_ORB_shutdown).
4074 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4075 Unref the listener when this method is called, after
4076 deregistration. Updated the API docs to note this behavior.
4078 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4079 Bugfixes: Ref the bonobo object when returning a parent or child
4080 reference, or an AccessibleRelation. Generally made sure
4081 BonoboObject refcount is incremented whenever we return an
4084 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4085 Fixed typo/bug in signal declaration.
4087 * libspi/accessibleeventlistener.h:
4090 * libspi/application.c (spi_application_new):
4091 Fixed leak in initialization.
4094 Remembered to increment bonobo-object refcount when returning
4095 children (applications) from desktop object.
4096 Added (empty) finalize method.
4098 * libspi/deviceeventcontroller.c:
4099 Hold a ref to listeners inside DEControllerKeyListeners.
4100 Added dec_key_listener_free() method. Use prepend instead of
4101 append in key_listener list. Fixed some refcount madness and
4102 leaks in the listener registration/deregistration - deregistration
4103 now calls dec_key_listener_free() on listeners, and on the
4104 temporarily constructed dec_key_listener() used to perform the search/match.
4106 * libspi/hypertext.c (spi_hypertest_finalize):
4107 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4108 class. Also fixed spi_hypertext_interface_new() and
4109 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4111 * libspi/hypertext.h:
4112 Removed pointless and duplicate AtkObject pointer from
4115 * libspi/keystrokelistener.c:
4116 Fixed incorrect type of keystroke_listener_parent_class,
4117 renamed keystroke_listener_object_finalize to
4118 spi_keystroke_listener_object_finalize.
4119 Fixed typo in signal declaration
4120 (spi_keystroke_listener_class_init).
4122 * libspi/registry.c:
4123 Added funcsions spi_listener_struct_new() and
4124 spi_listener_struct_free() to help with memory management issues.
4125 We also now use these methods instead of gnew + poking stuff into
4126 the struct, and to decrement listener counts/free the listeners
4127 when deregistering them.
4128 Fix more refcount bugs in getDesktop() and
4129 getDeviceEventController().
4132 De-ref the desktop after enumerating the applications. Explicitly
4133 decrement the refcounts on the created listeners on exit (using
4134 _unref for keystroke listeners, and via the
4135 deregisterGlobalEventListenerAll command for other event
4138 2001-11-27 Michael Meeks <michael@ximian.com>
4140 * cspi/spi-listener.h: fixup enum.
4142 2001-11-27 Michael Meeks <michael@ximian.com>
4144 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4145 (cspi_keystroke_listener_new): Use the cspi variants.
4147 2001-11-26 Michael Meeks <michael@ximian.com>
4149 * test/keysynth-demo.c: fix 2 compile warnings, missing
4152 * test/simple-at.c (report_focussed_accessible),
4153 (report_focus_event, report_button_press),
4154 (check_property_change, is_command_key),
4155 (report_ordinary_key_event, report_command_key_event): upd.
4157 * util/mag_client.h: include pre-requisites.
4159 * libspi/accessibleeventlistener.c
4160 (spi_event_listener_object_finalize): free any lingering
4163 * libspi/keystrokelistener.c
4164 (keystroke_listener_object_finalize): ditto.
4166 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4167 callbacks, with cspi types.
4169 * cspi/spi_event.c (createAccessibleEventListener): chain to
4170 (AccessibleEventListener_addCallback): here.
4171 (createAccessibleKeystrokeListener): chain to
4172 (AccessibleKeystrokeListener_addCallback): here.
4174 * libspi/keystrokelistener.c
4175 (spi_keystroke_listener_class_init): add signal.
4176 (impl_key_event): emit the event.
4177 (boolean_handled_accumulator): impl.
4178 (marshal_BOOLEAN__POINTER): add, gack.
4180 * libspi/accessibleeventlistener.c
4181 (spi_event_listener_class_init): add signal.
4182 (impl_accessible_event_notify_event): emit the signal &
4183 make the loop efficient.
4184 (spi_event_listener_add_callback): prepend the callback.
4186 * libspi/accessibleeventlistener.h: add an 'event' signal,
4187 decl type on callback.
4189 * libspi/keystrokelistener.h: ditto.
4191 * cspi/spi-listener.h: make methods typesafe and
4192 make them use the new event typedefs.
4194 * test/simple-at.c (report_focussed_accessible):
4195 include mag_client.h
4196 Use *(void *)text_interface not the other thing.
4198 * configure.in: add gtk to registryd bits - since we use
4201 * util/magnifier.c: include libbonobo.h
4203 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4205 * test/keysynth-demo.c:
4206 Turned this into a simple scanning keyboard, to demonstrate the
4207 use of g_timeout_add () as a means of creating timers for
4208 scanning, and the use of GtkStyle for visually indicating when
4209 virtual keyboard elements are selected.
4211 keysynth-demo now listens to any keyboard keys with zero-valued
4212 keycodes (i.e. 'unused' keys) and interprets them as
4215 Reworked the shiftlatch code so that shift-down state isn't held
4216 for long periods (it's only synthesized immediately prior to
4217 the keysynth event it's modifying). Note that shiftlatch in this
4218 demo is a convenience, not intended to take the place of AccessX
4219 which is the better choice for getting 'sticky' modifier keys.
4221 * libspi/deviceeventcontroller.c:
4222 * at-bridge/bridge.c:
4223 * cspi/spi_registry.c:
4224 Removed some debug print stuff, and put other verbosity in #ifdef
4229 Implemented some more of the magnifier IDL for the simple
4230 magnifier: namely, getZoomRegionParams.
4231 Added mag_x and mag_y members to MagnifierData struct, aid of this
4233 Added GtkWindow::realize signal handler to magnifier, to keep it
4234 from receiving keyboard focus from the WM.
4236 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4238 * cspi/spi-private.h: my guess at what michael forgot
4239 before he ran off to NZ :-)
4241 2001-11-23 Michael Meeks <michael@ximian.com>
4243 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4244 comment out non existant method invoke so we link.
4246 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4247 use bonobo_exception_get_text for more friendly warnings.
4249 * cspi/spi.c (Obj_Add): move into spi_main & rename
4250 spi_object_add; kill spi.c
4252 * cspi/spi_registry.c
4253 (deregisterGlobalEventListener),
4254 (deregisterGlobalEventListenerAll),
4255 (registerGlobalEventListener): fix exception leaks.
4257 * cspi/spi_main.c (spi_exception): impl. helper, so we
4258 don't leak exceptions.
4260 * cspi/spi_selection.c
4261 (AccessibleSelection_deselectSelectedChild): return the
4264 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4265 (spi_registry): ditto.
4266 (SPI_init): guard against double inits.
4268 * cspi/*.c: use spi_ev (), and spi_registry () where
4269 appropriate - a temporary hack until we have something
4270 better. Use spi_object_add
4272 2001-11-22 Michael Meeks <michael@ximian.com>
4274 * cspi/Makefile.am: re organise, install the headers.
4276 * cspi/*.h: add G_BEGIN/END_DECLS
4278 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4281 Added non-preemptive keylistener for key events with no modifiers
4282 and shift-only modifier.
4284 * libspi/keystrokelistener.c:
4285 Removed some verbose diagnostics printout.
4287 * cspi/spi_registry.c:
4288 Fixed a bug that caused all key listeners to be registered as
4291 * libspi/deviceeventcontroller.c:
4292 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4293 for non-preemptive key masks.
4296 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4298 * docs/reference/idl/at-spi-idl-docs.sgml:
4299 * docs/reference/idl/at-spi-idl-sections.txt:
4300 * docs/reference/idl/at-spi-idl-overrides.txt:
4301 Added missing files.
4303 * docs/reference/Makefile.am:
4304 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4305 to scan the IDL files :-(
4310 Added .cvsignore files.
4312 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4314 * libspi/deviceeventcontroller.c:
4315 * libspi/keystrokelistener.c:
4317 * cspi/spi_registry.c:
4318 Added filters for KeySets, KeyEventSeq, and event types to key
4319 event dispatching, so listeners should only receive those events
4320 that they requested :-)
4322 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4327 * docs/reference:Makefile.am:
4328 * docs/reference/cspi:
4329 * docs/reference/cspi:Makefile.am:
4330 * docs/reference/cspi:tmpl:
4331 * docs/reference/cspi:tmpl:*.sgml:
4332 * docs/reference/idl:
4333 * docs/reference/idl:Makefile.am:
4334 * docs/reference/idl:at-spi-idl-sections.txt:
4335 * docs/reference/idl:at-spi-idl-docs.sgml:
4336 * docs/reference/idl:tmpl:
4337 * docs/reference/idl:tmpl:*.sgml:
4339 Restructured docs directory to allow separate 'reference' docs
4340 section, and forked idl and cspi docs. Added the sgml template
4341 files to CVS. Added the first sections/structural sgml for the
4344 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4346 * configure.in, libspi/Makefile.am: find libXtst.
4348 2001-11-21 Michael Meeks <michael@ximian.com>
4350 * test/accessx-gui.c: s/spi_value/value/ - doh.
4352 * libspi/base.[ch]: add.
4354 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4356 * idl/Accessible.idl:
4357 * idl/Application.idl:
4360 Started gtk-doc cleanup on IDL.
4362 * libspi/deviceeventcontroller.c:
4363 Added and connected non-preemptive key notification from the
4364 toolkits (in addition to the pre-emptive support from XServer
4365 which we had before, but which causes 'focus flashing'). Filters
4366 are presently limited to key modifiers and global/non-global,
4367 KeySets are presently ignored, as are KeyEvent masks.
4369 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4370 structs into the persistant structure rather than just storing
4371 pointers to things that might not persist across servant
4374 The XGrabKey call now does async keygrabs, because synchronous
4375 ones were deadlocking with GDK_event code in a very nasty way.
4377 Added boolean to internal method notify_keylisteners, to indicate
4378 whether the event came from the 'toolkit source' or the 'global
4379 (XServer) source' - this is used in the notification process to
4380 determine which listeners to send the event to.
4382 deviceeventcontroller.c is now warning-free.
4384 * libspi/registry.c:
4385 Fixed regression in application de-registration.
4386 Also fixed some really brain-dead weirdness having to do with
4387 event dispatching - event structs are now duplicated before being
4388 re-marshalled in the dispatch to listeners. This also fixes a
4389 Solaris build problem.
4392 2001-11-20 Michael Meeks <michael@ximian.com>
4395 (impl_accessibility_registry_deregister_global_event_listener):
4398 * libspi/deviceeventcontroller.c
4399 (spi_device_event_controller_check_key_event): return
4400 FALSE on no virtual method.
4402 * libspi/*..h: make includes work on a correctly pathed install.
4404 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4406 * libspi/application.h: kill unused ( and whacked out )
4407 gboolean *spi_application_set_id (AtkObject *app, long id);
4409 2001-11-20 Michael Meeks <michael@ximian.com>
4411 * libspi/*.[ch]: further convert to bonobo's type func
4412 macros, remove redundnant casts etc.
4414 * libspi/text.c s/accessibility_text/spi_text/g,
4415 re-order to de-cruft.
4417 * libspi/hypertext.c: re-order to kill a huge slew
4418 of redundant forward decls.
4420 * libspi/relation.c: ditto.
4422 * libspi/image.c: ditto.
4424 * */.cvsignore: update
4426 2001-11-20 Michael Meeks <michael@ximian.com>
4428 * libspi/deviceeventcontroller.c
4429 (_controller_register_with_devices): use g_getenv,
4430 kill stdlib.h include.
4432 * libspi/keystrokelistener.c
4433 (spi_keystroke_listener_get_type): kill
4434 (spi_keystroke_listener_class_init),
4435 (spi_keystroke_listener_init): rename to this.
4437 * libspi/text.c (impl_getAttributes): fix warning / bug.
4439 * libspi/*.[ch]: more headers, includes and over commenting.
4441 2001-11-20 Michael Meeks <michael@ximian.com>
4443 * libspi/*.[ch]: fixup headers, includes and over commenting.
4445 * libspi/image.c (impl__get_imageDescription): const
4446 correctness warning fix. remove redundant casting.
4448 * libspi/table.c (impl_getRowDescription): ditto.
4449 (impl_getColumnDescription): ditto.
4451 * libspi/libspi.h: add.
4453 2001-11-19 Michael Meeks <michael@ximian.com>
4455 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4457 * libspi/component.c (accessibility_component_get_type):
4458 rename to (spi_component_get_type): and macroify.
4459 (accessibility_component_init): rename to
4460 (spi_component_init): this
4461 (accessibility_component_class_init): rename to
4462 (spi_component_class_init): this
4464 * libspi/action.c (spi_action_get_type): kill, use the macro.
4466 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4469 * libspi/application.c (spi_application_object_event_listener),
4470 (impl_accessibility_application_register_object_event_listener):
4471 warning fixes / const understanding updates.
4473 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4476 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4478 * libspi/spi_accessible.c: Added docs and C bindings for
4479 AccessibleStateSet. (No implementations yet). Documentation
4480 coverage for C bindings now 100%. Made docs for event listeners
4485 boolean notifyListenersSync (in DeviceEventListener listener,
4486 in DeviceEvent event);
4488 oneway void notifyListenersAsync (in DeviceEventListener listener,
4489 in DeviceEvent event);
4491 Added DeviceEventListener and DeviceEvent structs (may deprecate
4492 KeyStroke and KeystrokeListener in favor of this generic
4493 event/listener framework for devices).
4495 * libspi/deviceeventcontroller.c:
4497 Changed some key listener code to take masks, etc., and paved the
4498 way for integration of toolkit/non-preemptive key events. Changed
4499 signatures of some internal methods.
4501 * at-bridge/bridge.c:
4502 Fixed regression connecting to interface signals, apparently
4503 caused by GTK+ changes.
4505 Added an internal bridge_state_listener to deal with
4506 property-change:accessible-state signals.
4508 Changed the key_listeners GList to store structs (including masks,
4509 etc.) instead of just CORBA_Objects (required for full
4510 implementation of key listener API).
4512 Connected the bridge to all currently supported Atk signals.
4513 Events now supported:
4514 object:property-change
4515 object:property-change:accessible-name
4516 object:property-change:accessible-state
4517 object:property-change:accessible-description
4518 object:property-change:accessible-parent
4519 object:property-change:accessible-value
4520 object:property-change:accessible-role
4521 object:property-change:accessible-table-caption
4522 object:property-change:accessible-table-column-description
4523 object:property-change:accessible-table-column-header
4524 object:property-change:accessible-table-row-description
4525 object:property-change:accessible-table-row-header
4526 object:property-change:accessible-table-summary
4527 object:children-changed
4528 object:visible-data-changed
4529 object:selection-changed
4530 object:text-selection-changed
4532 object:text-caret-moved
4534 object:row-reordered
4536 object:column-inserted
4537 object:column-reordered
4538 object:column-deleted
4539 object:model-changed
4541 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4543 * libspi/hyperlink.c,h:
4544 Fixed some broken stuff in hyperlink.
4546 * libspi/relation.h:
4547 * libspi/relation.c:
4548 * cspi/spi_accessible.c:
4549 Initial implementations of AccessibleRelation methods, and docs.
4551 * libspi/accessible.c:
4552 Fixed a bug that caused SEGV if an accessible
4553 object's description is NULL, and a client
4554 requests it. An empty string is now returned.
4556 * cspi/spi_editabletext.c:
4557 * cspi/spi_hypertext.c:
4559 * cspi/spi_hyperlink.c:
4563 Doc coverage now 95%.
4565 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4567 One last namespacing revision:
4568 * libspi/accessibleeventlistener.[ch]:
4569 Renamed SpiAccessibleEventListener to SpiEventListener,
4570 (no need for two namespaces ;-)
4572 And lots of documentation fixes:
4574 * docs/at-spi-docs.sgml:
4575 Fixed 'underscore vs. hyphen' bug that was preventing
4576 the gtk-doc API docs from being automatically generated.
4579 * cspi/spi-listener.h
4581 * cspi/spi_accessible.c
4583 * cspi/spi_application.c
4584 * cspi/spi_component.c
4585 * cspi/spi_editabletext.c
4587 * cspi/spi_hypertext.c
4589 * cspi/spi_registry.c
4590 * cspi/spi_selection.c
4594 * docs/at-spi-docs.sgml
4595 * docs/at-spi-sections.txt
4597 Added and fixed up gtk-doc documentation in cspi.
4599 Interfaces now (fully) documented (subject to revision and enhancement):
4601 Event Listener Support
4603 AccessibleApplication
4607 AccessibleEditableText
4614 AccessibleRelationSet
4619 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4621 * at-bridge/bridge.c:
4622 Initial work for toolkit-level key snooper connection by bridge.
4627 New typedefs and fixes to support new namespacing, and cleaner
4628 separation of cspi bindings from libspi bonobo implementation.
4629 Removed inconsistent and extraneous Spi* namespace prefix that
4630 had crept into cspi headers.
4631 Lots of comment fixes that sed had missed.
4633 * cspi/spi-roletypes.h:
4634 * cspi/spi-statetypes.h:
4635 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4636 to AccessibleRoleType.
4638 * libspi/accessibleeventlistener.h:
4639 Fixed minor namespacing weirdness.
4641 * libspi/deviceeventcontroller.c:
4642 Reordered some internal API for device listeners.
4643 Changed the key registry final boolean to 'is_system_global'
4644 rather than 'is_synchronous', which is more descriptive of its
4646 Added spi_device_event_controller_new().
4647 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4649 * libspi/keystrokelistener.[ch]:
4650 Namespaced KeystrokeListener to SpiKeystrokeListener.
4651 Changed uses of keymasks to use SPI_ prefix, and did other
4654 * libspi/keymasks.h:
4655 Namespaced keymask constants with SPI_ prefix.
4657 * libspi/registry.c:
4658 Some warning fixes, and knock-on fixes from namespace changes.
4661 Added rules for accessx-gui test program.
4663 * test/accessx-gui.c:
4664 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4665 utility. It doesn't actually use at-spi, but it's still cool and
4668 * test/keysynth-demo.c:
4672 Fixes so that these test clients work properly with the namespaced
4673 libraries. (Incompletely tested for technical reasons, fixes may follow)
4676 2001-11-13 Michael Meeks <michael@ximian.com>
4678 * libspi/application.c
4679 (impl_accessibility_application_get_version),
4680 (impl_accessibility_application_get_toolkit_name):
4682 (impl_accessibility_application_set_id),
4683 (impl_accessibility_application_get_id): remove
4684 redundant casting code.
4686 * libspi/action.c (impl_getDescription): fix warnings.
4688 * libspi/accessible.c
4689 (impl_accessibility_accessible_get_parent),
4690 (impl_accessibility_accessible_get_child_at_index),
4691 (impl_accessibility_accessible_get_state),
4692 (impl_accessibility_accessible_get_relation_set):
4693 warning fixes & include action.h
4695 2001-11-13 Michael Meeks <michael@ximian.com>
4697 * *.[ch] fix bits I screwed up:
4699 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4700 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4702 2001-11-13 Michael Meeks <michael@ximian.com>
4704 * *.[ch] Namespace libspi into spi_ and Spi.
4706 2001-13-11 Michael Meeks <michael@ximian.com>
4708 * Makefile.am: dist & install at-spi-1.0.pc
4710 * libspi/Makefile.am: install into at-spi-1.0
4712 * idl/Makefile.am (idldir): install into at-spi-1.0
4714 * at-spi-1.0.pc.in: add.
4716 * configure.in: build it.
4718 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4720 * test/keysynth-demo.c:
4721 Use a 'realize' signal-handler to set the WM properties for
4722 the virtual keyboard, rather than making it a "POPUP" type
4723 override-redirect window (thanks to anders carlsson for that
4726 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4729 * test/keysynth-demo.c:
4730 Added new test of key synthesis, which creates a simple
4731 (mouse-operated) onscreen keyboard. It inserts key events into
4732 the currently-focused window, thus it does not grab keyboard focus
4735 * cspi/spi_registry.c:
4736 Added C binding for AT-SPI generateKeyEvent.
4738 * libspi/deviceeventcontroller.c:
4739 Added call to XFilterEvent so that key listener works with XIM (we
4740 hope). Added event_synth_type to generateKeyEvent, so that we can
4741 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4742 synthesize a press/release pair for KeySyms.
4744 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4746 * libspi/Makefile.am:
4747 * registryd/Makefile.am:
4748 (temporary) hack to include libXtst in libspi and registryd.
4749 (Needed for keystroke synthesis, see below).
4752 Improved API for registerKeystrokeListener, in accordance with
4753 discussions with Gnopernicus team and X server research.
4755 * libspi/registry.c:
4756 * libspi/deviceeventcontroller.c:
4757 * libspi/accessible.c:
4758 * libspi/keystrokelistener.c:
4759 Changes and fixes to support keylisteners for potentially
4760 consumed key events (that is, 'passive grabs').
4761 Added implementation for generateKeyEvent() [untested].
4764 Changes to registerKeystrokeListener() API, as above.
4765 Added deregisterGlobalEventListenerAll(), and
4766 deregisterKeystrokeListener(), which are needed for clean exit of
4768 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4769 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4771 * cspi/spi_registry.c:
4772 Added implementations of function prototypes mentioned above.
4774 * registryd/registryd.c:
4775 Added the key listener event source as a g_timeout(), to allow
4776 receipt of key events that are not caught by GDK (since GDK
4777 doesn't support passive keygrabs, this was necessary).
4780 Changed to attach a keylistener to 'Alt' keys, and
4781 respond to the following keycommands: Alt-M (toggle magnifier);
4782 Alt-F (toggle speech); Alt-Q (quit).
4783 Added an exit routine to deregister the listeners, and a key
4784 listener that prints some key info to the console when a key
4785 matches the listener mask (and is thus received by the listener).
4787 * util/idl/Magnifier.idl:
4788 Changes to magnifier API to support multiple zoom regions,
4789 non-uniform scaling in x and y, markDirty, and a host of other
4790 features that would be useful to magnification.
4793 * util/mag_client.c:
4794 * util/mag_client.h:
4795 * util/mag_control.c:
4797 Source code changes to support the above IDL changes.
4800 As above, and also changes to use a (slower) generic conversion
4801 path for colormap conversions, since the fast RGB conversions have been
4802 reported to fail for 16-bit displays.
4804 2001-10-26 Michael Meeks <michael@ximian.com>
4806 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4808 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4810 * at-bridge/Makefile.am: fix LDFLAGS.
4812 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4814 * at-bridge/bridge.c:
4815 Re-worked listeners for toolkit events, now we have signal
4816 and property listeners. Added a private method
4817 register_atk_event_listeners(), which registers with the
4818 various atk and gtk signals we need to monitor in order to emit
4820 Added emission hook for AtkObject:property-change events, to
4821 support the 'property listeners'.
4822 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4825 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4826 which emit warnings and exit, respectively, if CORBA errors occur
4827 during remote calls, and we now use these methods to check most of
4828 our CORBA calls in the C bindings.
4830 * cspi/spi_accessible.c:
4831 Changed AccessibleSelection_refSelectedChild() to
4832 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4833 now increment refcounts.
4835 * cspi/spi_component.c:
4836 Fixed some long pointer casts (dangerous!) to pass pointers to
4837 CORBA_longs of the proper type to the CORBA stubs, and copy the
4838 data into the longs that were passed into the C bindings code.
4840 * at-bridge/bridge.c:
4842 * libspi/accessible.c:
4843 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4844 hyperlinks, AtkHyperlink is an object type.
4846 * libspi/application.c:
4847 Added various conversions to and from "generic" event types and
4848 atk-specific types; this is really part of the 'bridge'
4849 implementation but is valid for all AtkObject-based accessibility
4852 * libspi/editabletext.c:
4853 Fixed nasty bug wherein editable text's finalize method was
4854 unref'ing tha AtkObject reference that the text parent class was
4855 about to unref _again_. There was also a nasty inheritance bug
4856 that meant that the AccessibleEditableText class was corrupt.
4858 * libspi/selection.c:
4859 Provided implementations for some selection API that was broken.
4861 * idl/Application.idl:
4862 Added registerObjectEventListener () method.
4865 Fixed a number of return values that were Bonobo_Unknowns from
4866 bonobo_object_corba_objref(), which I
4867 forgot to dup before returning. Changed instances of
4868 bonobo_object_corba_objref (bonobo_object(o)) to
4869 BONOBO_OBJREF(o), for concision and clarity.
4871 2001-10-13 Louise Miller <louise.miller@sun.com>
4873 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4874 idl/Event.idl, idl/Registry.idl
4875 Changed these files to include Bonobo_Unknown.idl instead
4878 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4880 * libspi/component.c libspi/component.h:
4881 Fixed typo. Added assertions for object checks in
4882 AccessibleComponent code.
4884 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4886 * idl/Accessible.idl:
4887 Added 'isEqual (Accessible *object)'
4888 method for Accessible. (Not Yet Implemented).
4891 Changed signature of registerKeystrokeListener() to
4892 take a KeySet and KeyEventSeq so that specific keys and event
4893 types could be requested for monitoring, and added a flag
4894 is_synchronous so that either synchronous or asynchronous
4895 notification could be requested. (However this is not all
4896 implemented yet). This also meant adding two new typedefs,
4897 KeyEventSeq and KeySet.
4900 Added two new relations, RELATION_TOOLTIP_FOR and
4901 RELATION_LEAFNODE_OF.
4904 Added new state, STATE_HAS_TOOLTIP.
4906 * libspi/text.c, editabletext.c:
4907 Added new assertions to all casts of bonobo-objects from
4908 CORBA servants, to prevent Text API calls on non-text objects.
4909 Changed suspect casts of int-pointer types, so that we
4910 always send a valid CORBA_long pointer to the CORBA APIs that use
4911 in/out long parameters. We then have to copy from the CORBA_long
4912 into the regular long or int for return to the C bindings, or
4913 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4916 * libspi/deviceeventcontroller.c:
4917 Cleaned these sources up.
4919 Changed return type for getCharacterAtOffset to
4920 CORBA_unsigned_long, to allow for 32-bit characters.
4923 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4927 Fixed 'make dist' so that distro compiles...
4928 * libspi/keymasks.h:
4930 * cspi/spi-listener.c:
4931 KeystrokeListenerCB now returns a boolean.
4933 Added KeyEventType struct, and KeyStroke.
4934 Also added createKeystrokeListener(),
4935 KeystrokeListener_addCallback(),
4936 KeystrokeListener_removeCallback(), and added a keymask to
4937 registerKeystrokeListener().
4938 * cspi/spi_accessible.c:
4939 Changed numerous return types for interfaces from
4940 AccessibleComponent to Accessible<InterfaceName>; this was
4941 probably a cut-and-paste error.
4943 Implementations of new KeystrokeListener api (from spi.h,
4946 Changes to key modifier mapping.
4947 Created ControllerEventMask struct.
4948 Made DeviceEventController derive from Bonobo::Unknown.
4950 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4951 * libspi/deviceeventcontroller.c:
4952 Added a number of new internal (private) methods.
4953 * libspi/editabletext.c:
4954 * libspi/editabletext.h:
4955 Fixed a number of bugs related to the fact that
4956 editabletext inherits from text. Fixed the EditableText struct,
4957 the init() call, and use correct casts when calling Text methods
4958 from an EditableText object. Removed (duplicate) atko from the
4959 EditableText structure, we use the one in the parent Text
4960 structure via the casts mentioned above.
4961 * libspi/keystrokelistener.[ch]:
4962 * libspi/registry.c:
4963 Changes in support of keyboard handling (above).
4965 Keyboard handling, though partly functional, is still not
4966 recommended for at-spi client use as there is considerable
4967 work yet to be done.
4970 Changed some places where pointers to various int types
4971 are cast to be pointers to CORBA_long types and vice-versa:
4972 pointer casting is not safe so we pass pointers of the correct
4973 types and then cast the result before putting it into the target
4976 * libspi/text.h: minor typos corrected.
4978 We now speak not only the name of a Text element, but the
4979 first sentence of its content, when it receives focus.
4980 I also changed the text compression to 75% from 50%.
4981 * util/Accessibility_Util.server.in:
4982 Changed the default magnifier type to be a 3x vertical
4983 splitscreen magnifier (was previously a 2x horizontal one).
4985 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4987 * libspi/keystrokelistener.h:
4988 * libspi/keystrokelistener.c:
4989 Initial functional implementations of KeystrokeListener.
4992 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4994 Fixed string handling for NULL strings in libspi.
4995 Added spi_freeString to free strings returned by C bindings.
4997 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4999 * libspi/keystrokelistener.h:
5000 * libspi/keystrokelistener.c:
5001 Began (no-op) implementations of KeystrokeListener
5003 * libspi/deviceeventcontroller.c:
5004 * libspi/deviceeventcontroller.h:
5005 Began creating implementations of DeviceEventController,
5006 to handle keystroke and mouse event listening and
5008 * libspi/accessible.c:
5009 Stubbed-in the implementations for
5010 Accessibility_Accessible_getState and
5011 Accessibility_Accessible_getRelationSet.
5012 * libspi/registry.c:
5013 Improved de-registration process and fixed some bugs,
5014 deregistration now works correctly.
5016 Added initialization of applications list (to NULL).
5018 Reduced speech compression from 0.5 to 0.7, for demo.
5019 Changed call to gdk_window_set_decorations()
5020 to gtk_window_set_decorated().
5021 * at-bridge/bridge.c:
5022 Bridge now deregisters when app exits, via
5023 registration of a cleanup function
5024 with the g_atexit() call.
5025 Required making 'app' static, renamed 'this_app'.
5026 Fixed broken use of bonobo_init, passing argv wrongly.
5028 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5032 Created a new directory for
5033 accessibility-related utilities, primarily for
5034 testing and demo purposes, but with possible
5041 Onscreen magnifier utility that
5042 is implemented as a bonobo service.
5044 * util/mag_client.c:
5045 * util/mag_client.h:
5046 Client-side support (simple C bindings)
5047 for Magnification service
5049 * util/mag_control.c:
5050 Client program example for
5051 Magnification service
5053 * util/Accessibility_Magnifier.server.in:
5054 Bonobo-activation file for the
5055 Magnification service.
5058 * util/idl/Magnifier.idl:
5059 IDL defining the bonobo Magnification
5063 Modifications to use the bonobo-activated magnifier
5064 above, in place of trying to connect to an existing
5065 magnifier that uses socket-listening IPC.
5067 If env variable MAGNIFIER is set, a magnifier service
5068 will be started if one does not exist.
5070 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5072 * at-bridge/bridge.c:
5073 applied patch from Marc to build and run
5074 against new glib and gtk+ (seemed like a change
5075 to bonobo_init signature was made ?)
5077 made festival-server support turned off by default.
5078 Added support for a simple magnifier (off by default)
5079 which will be added to a 'util' directory later.
5080 * at-bridge/Makefile.am:
5081 Changed "application.h" header from a 'source'
5082 to a 'dependency' of libat-bridge.
5084 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5093 Added interface implementation c files to list of
5094 includes so they are included in libcspi.
5097 Changed prototype of AccessibleAction_doAction to return a
5099 Changed prototype of AccessibleTable_getCaption to
5100 return an Accessible.
5101 Changed prototype of AccessibleTable_getSelectedRows
5102 and AccessibleTable_getSelectedColumns to
5103 return a long (returns the number of selected rows
5104 or columns respectively).
5105 Changed name of AccessibleText_refRunAttributes to
5106 AccessibleText_getAttributes.
5107 Changed prototype of AccessibleText_getCharacterExtents to
5108 return a void rather than a boolean.
5109 Added support for a AccessibleCoordType parameter
5110 specifying what type of coordinates are desired.
5111 Added an AccessibleCordType parameter to
5112 AccessibleText_getPointAtOffset.
5114 * cspi/spi_accessible.c:
5115 Added code to return the outstanding interfaces from
5116 Accessible_queryInterface.
5118 * cspi/spi_action.c:
5120 Corrected call to getNActions to call the c binding
5123 * cspi/spi_editabletext.c:
5125 Changed name from setRunAttributes to setAttributes.
5127 * cspi/spi_hyperlink.c:
5129 Changed call to getNAnchors to correctly call the c
5130 binding for an attribute.
5132 * cspi/spi_hypertext.c:
5134 Changed getImageDescription to correctly call the
5135 binding for an attribute.
5137 * cspi/spi_selection.c:
5138 Changed getNSelectedChildren to correctly call the c
5139 binding for the attribute.
5140 Changed refSelectedChild to getSelectedChild.
5144 Changed getCaption to return an Accessible.
5145 Fixed calls which retrieve attributes.
5146 Changed refAt to getAccessibleAt.
5147 Changed getNSelectedRows and getNSelectedColumns to
5151 Changed getCharacterExtents and getPointAtOffset to accept an
5152 AccessibleCoordType.
5154 Changed calls which retrieve attributes.
5155 Changed refRunAttributes to getAttributes.
5160 * idl/Hyperlink.idl:
5161 Changed n_anchors attribute to nAnchors to keep naming
5162 convention consistent.
5165 Made Table inherit from Bonobo::Unknown.
5166 Added nSelectedColumns and nSelectedRows attributes.
5169 Made Value inherit from Bonobo::Unknown.
5171 * libspi/hyperlink.c:
5172 Change for nAnchors attributte name change.
5174 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5182 Added interface implementation c files to list of
5183 includes so they are included in libcspi.
5186 Changed prototype of AccessibleAction_doAction to return a
5188 Changed prototype of AccessibleTable_getCaption to
5189 return an Accessible.
5190 Changed prototype of AccessibleTable_getSelectedRows
5191 and AccessibleTable_getSelectedColumns to
5192 return a long (returns the number of selected rows
5193 or columns respectively).
5194 Changed name of AccessibleText_refRunAttributes to
5195 AccessibleText_getAttributes.
5196 Changed prototype of AccessibleText_getCharacterExtents to
5197 return a void rather than a boolean.
5198 Added support for a AccessibleCoordType parameter
5199 specifying what type of coordinates are desired.
5200 Added an AccessibleCordType parameter to
5201 AccessibleText_getPointAtOffset.
5203 * cspi/spi_accessible.c:
5204 Added code to return the outstanding interfaces from
5205 Accessible_queryInterface.
5207 * cspi/spi_action.c:
5209 Corrected call to getNActions to call the c binding
5212 * cspi/spi_editabletext.c:
5214 Changed name from setRunAttributes to setAttributes.
5216 * cspi/spi_hyperlink.c:
5218 Changed call to getNAnchors to correctly call the c
5219 binding for an attribute.
5221 * cspi/spi_hypertext.c:
5223 Changed getImageDescription to correctly call the
5224 binding for an attribute.
5226 * cspi/spi_selection.c:
5227 Changed getNSelectedChildren to correctly call the c
5228 binding for the attribute.
5229 Changed refSelectedChild to getSelectedChild.
5233 Changed getCaption to return an Accessible.
5234 Fixed calls which retrieve attributes.
5235 Changed refAt to getAccessibleAt.
5236 Changed getNSelectedRows and getNSelectedColumns to
5240 Changed getCharacterExtents and getPointAtOffset to accept an
5241 AccessibleCoordType.
5243 Changed calls which retrieve attributes.
5244 Changed refRunAttributes to getAttributes.
5249 * idl/Hyperlink.idl:
5250 Changed n_anchors attribute to nAnchors to keep naming
5251 convention consistent.
5254 Made Table inherit from Bonobo::Unknown.
5255 Added nSelectedColumns and nSelectedRows attributes.
5258 Made Value inherit from Bonobo::Unknown.
5260 * libspi/hyperlink.c:
5261 Change for nAnchors attributte name change.
5264 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5266 implementations-- made server implementations own AtkObject pointers
5267 rather than their respective AtkInterrface pointers to fix
5268 refcounting. AtkHyperlink is still broken.
5270 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5271 * cspi/spi_accessible.c:
5272 Added method Accessible_Role_getName(),
5273 and requisite string array (role_names).
5274 Added conversion string_from_corba_strin() call
5275 to Accessible_getName and _getDescription.
5276 * libspi/accessible.c:
5277 Added implementation for Accessible_getRole()
5279 Added festival support, used if environment variable
5282 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5284 * at-bridge/bridge.c:
5285 Now allocate Accessibility_Event using
5286 Accessibility_Event__alloc() instead of g_new0().
5287 * libspi/accessibleeventlistener.c:
5288 Initialize AccessibleEventListener->callbacks to NULL.
5289 Fixed accessible__event_listener_init() param, changed to
5290 "AccessibleEventListener *" type.
5291 Changed a bonobo_object_release_unref() call to
5292 Accessibility_Accessible_unref().
5293 * libspi/listener.c:
5294 Changed Bonobo_Unknown_unref to (equivalent)
5295 Accessibility_Accessible_unref.
5296 * libspi/registry.c:
5297 Changed bonobo_object_release_unref to
5298 Accessibility_Accessible_unref.
5300 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5303 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5304 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5305 spi-util.c spi-util.h
5306 Implementations for C bindings to remaining accessibility
5309 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5312 changed return value of Action from void to boolean to
5313 bring in line with ATK.
5316 Changed getText funcions to return "out" start and end offsets.
5317 Changed getAttributes to take and offset and return the start
5318 and end offset of the attribute run.
5319 Changed getOffsetAtPoint and getCharacterExtents to take an
5320 enum describing whether coordinates are window or screen.
5323 libspi/action.c libspi/action.h libspi/editabletext.c
5324 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5325 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5326 libspi/image.h libspi/selection.c libspi/selection.h
5327 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5328 libspi/value.c libspi/value.h
5329 Added server implementations for outstanding ATK interfaces
5330 not yet implemented.
5332 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5335 Added (missing) getName() method.
5336 Made nActions an attribute.
5337 * idl/EditableText.idl:
5338 Changed order of params in setAttributes.
5339 * idl/Hyperlink.idl:
5340 Removed getAnchor, added getURI.
5342 Changed attributes to methods, for efficiency
5343 (so that getting extents can be done in one call)
5344 * idl/Selection.idl:
5345 Changed nSelectedChildren to attribute, and re-indented.
5346 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5348 * idl/Text.idl: reformatted to match our coding style.
5349 (temporarily?) removed getRowColumnAtOffset().
5350 Changed text selection API to support multi-select and
5351 non-contiguous selections, as in ATK.
5352 * idl/Value.idl: changed some methods to attributes.
5354 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5356 * libspi/listener.c(impl_notify_event):
5357 BonoboUnkown_unref the source instead
5358 of bonobo_object_release_unref - the ORB
5359 handles the releasing.
5361 * configure.in: require ORBit-2.3.94 for
5364 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5366 Tagged CVS repository 'EA_1_0'.
5367 * README.EARLY_ACCESS:
5368 Alphabetized acknowledgements list, and
5370 Listed some known dependencies of at-spi.
5372 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5374 * docs/at-spi-docs.sgml:
5375 * docs/at-spi-sections.txt:
5376 * docs/at-spi-overrides.txt: (Added zero-length file)
5377 Documentation improvements - gtk-doc should build
5378 docs for all implemented C bindings now.
5381 * cspi/spi.c: (New file)
5382 * cspi/spi_event.c: (New file)
5383 * cspi/spi_registry.c: (New file)
5384 * cspi/spi_accessible.c: (New file)
5385 * cspi/spi_application.c: (New file)
5386 * cspi/spi_component.c: (New file)
5387 Split spi_main.c into six parts, and included them from
5388 "spi.c". This is a bit of a hack, probably temporary,
5389 but required by gtk-doc, apparently.
5391 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5394 * docs/at-spi-docs.sgml:
5395 * docs/at-spi-sections.txt:
5397 Initial checkins/modifications for gtk-doc generation.
5400 Added (missing) interface query methods to Accessible's C binding.
5402 Added GenericInterface type definition.
5404 Added query for AccessibleComponent interface to focus event handler.
5405 Added printout of bounding box for focussed component.
5406 * libspi/component.c:
5407 Added partial implementation for AccessibleComponent to C binding.
5408 * idl/Application.idl:
5409 * libspi/registry.c:
5410 * libspi/listener.c:
5411 * libspi/application.c:
5412 * libspi/application.h:
5413 Changed "ID" attribute type from string to long.
5415 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5419 Made method naming consistent: methods taking object args
5420 start with uppercase, other methods (except those using
5421 acronyms) start with lowercase. Underscores delimit between
5422 object names and method names:
5423 SPI_init() - uppercase since it starts with an acronym.
5424 getDesktopCount () - lowercase start since no object param0.
5425 Accessible_getName() - uppercase object type name, studlyCaps method
5429 Added gtk-doc documentation for all currently implemented
5430 methods in the C bindings API.
5432 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5434 * Makefile.am : changed build order to build test last.
5437 Changed "createEventListener" to "CreateEventListener".
5438 * libspi/accessibleeventlistener.c :
5439 Bugfix for addition of callbacks.
5440 * test/Makefile.am :
5441 * test/simple-at.c :
5442 Added new test that uses the C bindings API.
5444 * libspi/listener.c :
5445 * libspi/registry.c :
5446 * libspi/accessibleeventlistener.c :
5447 * at-bridge/bridge.c :
5448 Renamed member "target" of Accessibility_Event to "source",
5449 which is more descriptive.
5452 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5456 * cspi/Makefile.am :
5457 Added makefile support for at-spi/cspi directory.
5460 * cspi/spi-listener.h : (NEW FILE)
5461 Added support for/use of spi-listener.h.
5463 C bindings now build successfully, with no warnings.
5464 * libspi/accessibleeventlistener.h : (NEW FILE)
5465 * libspi/accessibleeventlistener.c : (NEW FILE)
5466 * libspi/Makefile.am :
5467 Added new object type "AccessibleEventListener"
5468 which inherits from Listener, and allows attachment
5469 of in-process callbacks (so that a client with a listening
5470 object instance can add functionality to the local
5471 implementation, dynamically).
5473 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5475 * libspi/accessible.c:
5476 Add implementation for get_index_in_parent().
5478 Added #include of "spi-roletypes.h", and
5479 added enumerated type AccessibleCoordType.
5480 Added definition for KeystrokeListener (function type).
5483 * cspi/spi-statetypes.h :
5484 * cspi/spi-roletypes.h :
5486 Added these headers, used by spi.h.
5488 Added code (NOTE: not yet built by make).
5490 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5492 * libspi/Makefile.am: generate imodule
5493 at the same time as other idl compiler
5496 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5497 * libspi/registry.c :
5498 * libspi/application.c :
5499 * idl/Application.idl :
5500 Made registration with toolkit an application method,
5501 which is required since each app has its own toolkit static
5502 environment. Thus the bridge must register for
5503 notification of toolkit events from each application in turn.
5504 Toolkit notifications are now successfully registered for, and
5505 sent to the listening at client.
5507 Changed toolkit event string to use hyphens rather than underscores.
5508 * libspi/listener.c :
5509 listner now gives more info in debug mode - it reports the
5510 name of the event received, as well as the name of the source.
5513 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5515 * libspi/registry.c :
5516 added more implementation for toolkit events.
5517 Fixed bug such that toolkit event registrations
5518 (via atk) use the whole event name string, not
5520 Removed a useless call to an ORBit_ method.
5521 * at-bridge/bridge.c :
5522 Removed unused local sbuf[] variable.
5524 We now register for Gtk:GtkWidget:button_press_event
5525 events as well as "focus:" events.
5527 Add some more API from Registry.idl that was missing,
5528 for keystroke listening, keystroke and mouse event
5529 synthesis, and enumeration of accessible desktops.
5531 2001-08-16 Michael Meeks <michael@ximian.com>
5533 * configure.in: use AM_GLIB_GNU_GETTEXT.
5535 * Makefile.am (SUBDIRS): kill intl.
5537 2001-08-15 Michael Meeks <michael@ximian.com>
5539 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5541 * configure.in: upd.
5543 * configure.in: depend on a recent bonobo-activation that
5544 will find our server files ...
5546 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5548 * libspi/accessible.c : accessible_new() :
5549 Now we add the Component interface via bonobo_object_add_interface,
5550 if the contained AtkObject implements AtkComponent.
5551 * libspi/accessible.h : now include "component.h"
5552 * libspi/component.h :
5553 * libspi/component.c : added files - implementation of
5554 bonobo wrapper object for Accessibility/Component
5555 * libspi/listener.c :
5556 Added test code to check for Accessibility/Component:1.0
5557 interface and report whether it is implemented by the
5559 * libspi/registry.c :
5560 Now we check for not only the hash of the whole event
5561 string before relaying the event, we also check the
5562 "minor" event string (without the detail string).
5563 This allows event listeners to be registered against
5564 all events of a certain major+minor type, or just
5565 against a specific major+minor+detail type.
5566 * libspi/accessible.c :
5567 Added implementations for Accessible:get_parent(),
5568 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5569 * libspi/registry.c :
5570 * libspi/listener.c :
5571 Replaced calls to Accessibility_Accessible_ref() and
5572 Accessibility_Accessible_unref() with
5573 calls to bonobo_object_dup_ref() and
5574 bonobo_object_release_unref(), so that the CORBA object
5575 is dup-ed and released when relayed, as well as the bonobo object.
5577 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5579 * libspi/Makefile.am,
5580 registryd/Makefile.am,
5581 at-bridge/Makefile.am.
5582 test/Makefile.am, configure.in:
5583 reverse previous changes.
5585 * /idl/Image.idl: fix typo.
5587 * test/Makefile.am: put DEBUG_FLAGS
5590 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5592 * test/app.c: use argv[0] instead of
5595 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5597 * libspi/Makefile.am,
5598 registryd/Makefile.am,
5599 at-bridge/Makefile.am.
5600 test/Makefile.am, configure.in:
5601 cleanup, replace individual LIBS/CFLAGS with
5602 AT_COMMON_{LIBS|CFLAGS}.
5606 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5608 * configure.in, libspi/Makefile.am:
5609 Change IDL path checking for bonobo-activation
5612 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5614 * registryd/registry.c : separated event listeners to use
5615 3 separate lists (focus, window, toolkit). Began testing
5616 event names against hashes before relaying events.
5617 * test/at.c : now register for events of type "focus:"
5618 * test/app.c : now generate events of type "focus:"
5619 * at-bridge/bridge.c : register with ATK for focus events,
5620 and we now relay those focus events to any "focus:" listeners.
5621 This now works with the bridge as a GTK_MODULE when running test/at.
5622 * libspi/registry.c :
5623 * libspi/listener.c :
5624 now we ref event sources before propagating, and unref on receipt.
5625 * libspi/registry.c :
5626 some changes to internal structs, to support event typestring hashes.
5627 * text/app.c : changed the way the appname is generated.
5628 * cspi : added directory that will hold the C bindings library for
5629 non-CORBA/bonobo-savvy clients.
5630 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5631 * idl/Component.idl : added in parameter to indicate coord system for
5632 geometry-related calls.
5633 * idl/Hyperlink.idl : added readonly n_links attribute
5634 * idl/Image.idl : changed methods to attributes.
5636 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5638 * at-bridge/Makefile.am: link against
5639 ../libspi/libspi.la instead of -lspi.
5641 * at-spi/test/app.c: include
5642 bonobo-activation.h. Use a default appname
5643 if one is not provided.
5645 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5647 * idl/Registry.idl : temporarily changed register_Application
5648 to oneway, to work around issue with initial registration
5650 * idl/Application.idl : changed attribute "id" from readonly
5651 to read-write, since it needs to be assigned by Registry.
5652 * registryd/registryd.c : added call to set application id
5654 * registryd/registry.c : changed de-registration procedure to
5655 use CORBA_Object_hash() to find matching object ref in application
5656 lists and listener lists.
5657 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5658 began distinguishing between event types (work in progress).
5660 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5663 * libspi/application.c:
5664 Added implementations for get/set id, get_toolkitName,
5666 * registryd/registryd.c :
5670 Converted from use of OAF to bonobo-activation.
5671 * libspi/desktop.h :
5672 * libspi/desktop.c :
5674 Removed references to atksimpleobject, since base atkobject
5675 implementation now provides functionality we need.
5676 * libspi/atksimpleobject.c :
5677 * libspi/atksimpleobject.h :
5682 * at-bridge/Makefile.am
5683 * at-bridge/bridge.c
5686 Added directory "bridge" and contents, and added dependencies
5687 in Makefile.am/configure.in.
5688 Initial checkin of "at-bridge".
5689 This code is a GTK_MODULE which automatically registers
5690 GTK+ apps with the accessibility registry, using an object
5691 reference to the root ATK object.
5693 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5695 * po/Makefile.in.in: Remove. Again. If this
5696 doesn't get autogenerated - you need to update
5699 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5701 * po/Makefile.in.in: Add. Again.
5703 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5705 * libspi/accessible.c : added support for 'description' property.
5706 * libspi/accessible.c
5708 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5709 (since the two are now equivalent in libbonobo)
5717 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5718 Bonobo::Unknown as does Accessibility::Accessible.
5719 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5720 interface with Bonobo::Stream, since it was redundant with it.
5721 (The Stream returned by a StreamableContext object is expected to
5722 implement only a subset of Bonobo::Stream)
5724 2001-07-28 Anders Carlsson <andersca@gnome.org>
5726 * libspi/accessible.c (accessible_object_finalize): Change
5727 g_free to g_object_unref since the AtkObject is a GObject.
5729 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5731 * idl/Accessibility.idl: add new IDL files
5734 * idl/Action.idl: Definitions of actionable UI object
5735 * idl/Component.idl: Definitions of UI component geometry, etc.
5736 * idl/Hyperlink.idl: Defs of hyperlink behavior
5737 * idl/Image.idl: Def of accessible image
5738 * idl/Selection.idl: Definition of UI object with selectable children
5739 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5740 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5741 * idl/Text.idl: Interface defs for UI elements with complex textual content
5742 * idl/Value.idl: Definition of UI element that is a value controller or display
5744 2001-07-27 Michael Meeks <michael@ximian.com>
5746 * po/Makefile.in.in: remove autogenerated file from CVS.
5748 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5751 * idl/Registry.idl: include guard.
5753 * idl/Accessibility.idl: Add, and include all the other IDL
5756 * idl/*.idl: remove mass of pragmas etc.
5758 2001-07-26 Michael Meeks <michael@ximian.com>
5760 * registryd/Makefile.am (registryd_SOURCES): remove
5763 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5765 * libspi/.cvsignore, registryd/.cvsignore,
5766 test/.cvsignore: updated.
5768 * po/Makefile.in.in: gettext update.
5770 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5772 * initial CVS checkin
5774 2001-06-29 Michael Meeks <michael@ximian.com>
5776 * configure.in: add AM_CONFIG_HEADER to gen config.h