1 2003-04-10 Bill Haneman <bill.haneman@sun.com>
4 * configure.in: revved to 1.1.10
7 (SPI_KEYMASK_NUMLOCK): Added.
9 * registryd/deviceeventcontroller.c:
10 (spi_key_event_matches_listener): AND with a smaller
11 bitmask (as we should).
12 (spi_dec_translate_mask):
13 New method, sets the virtual NumLock modifier bit
14 if numlock is on. Eventually it can handle other virtual
15 modifier bits if needed, or other marshalling from
16 at-spi modifier masks to platform (X) masks.
17 (spi_dec_key_listener_new):
18 Call spi_dec_translate_mask to set up virtual mod bits
19 in the 'mask' field when creating a new listener struct.
20 (spi_dec_emit_modifier_event):
21 Set the virtual (i.e. NumLock) bits before emitting event.
22 (spi_controller_register_with_devices):
23 Query for the NumLock modifier 'physical' bit if Xkb is
24 present, for use in above methods.
28 2003-04-10 Bill Haneman <bill.haneman@sun.com>
30 * registryd/deviceeventcontroller.c:
31 (spi_keystroke_from_x_key_event):
32 Instead of checking to see if the keysym is
33 printable, check the string from XLookupString
34 if available, get the first unicode character from it,
35 and call g_unichar_isprint to determine whether the
36 is_text flag should be TRUE or FALSE.
40 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
42 * atk-bridge/bridge.c: Add support for extended events
43 * cspi/spi_event.c: Add documentation and implementation for
45 * tests/event-listener-test.c: Add tests for extended events.
47 This fixes bugs #100424 and #100426.
49 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
51 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
52 of LT_CURRENT. This fixes bug #89350.
54 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
56 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
57 number of signal parameter values before accessing them. This fixes
60 2003-04-01 Bill Haneman <bill.haneman@sun.com>
62 * configure.in: Fixed duplicate inclusion of -lspi.
63 * branched for gnome-2-2/HEAD.
64 [created tag "gnome-2-2"]
66 2003-03-07 Bill Haneman <bill.haneman@sun.com>
68 * configure.in: 1.1.9 release.
71 2003-03-07 Bill Haneman <bill.haneman@sun.com>
73 [needed by GOK, to fix bugs 107985 and 107988]
74 * registryd/deviceeventcontroller.c:
75 (spi_dec_clear_unlatch_pending):
76 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
77 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
78 (spi_dec_init_mouse_listener):Emit warning if mouse button
80 (spi_device_event_controller_forward_mouse_event):
81 Removed unnecessary parens from a conditional.
82 (global_filter_fn):Added TODO comment.
83 (impl_generate_keyboard_event):
84 Cancel a pending relatch if a 'delatching' key was
87 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
89 * atk-bridge/bridge.c:
90 Change atk_signal_child_changed to atk_signal_children_changed.
91 Reorganize code in spi_atk_bridge_signal_listener().
93 * test/event-listener-test.c:
94 Add children_changed_listener and report_children_changed_event()
95 to test AccessibleChildEvent_getChildAccessible.
97 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
99 * cspi/spi_event.c (cspi_internal_event_get_text): Change
100 g_strdup to CORBA_String_dup (bug #105291)
102 * test/event-listener-test.c (report_text_event): Add call to
105 2003-02-28 Bill Haneman <bill.haneman@sun.com>
107 * registryd/deviceeventcontroller.c:
108 (spi_keystroke_from_x_key_event):
109 Fix string and keysym return codes to match modifier state.
112 2003-02-28 Bill Haneman <bill.haneman@sun.com>
114 * registryd/deviceeventcontroller.c:
115 (spi_keystroke_from_x_key_event):
116 Fix segv due to improper use of isprint(c). [bug #107254]
118 2003-02-24 Bill Haneman <bill.haneman@sun.com>
121 (get_accessible_text_boundary_type):
122 Move default return value to (new) default case in switch.
123 (get_accessible_text_clip_type):
124 Move default return value to (new) default case in switch.
126 * libspi/application.c:
127 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
128 Remove unused methods.
129 (impl_accessibility_application_register_object_event_listener):
130 Remove unused methods.
133 Added #include of <math.h>.
135 * registryd/deviceeventcontroller.c:
136 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
137 we don't currently use this method.
138 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
140 (impl_generate_key_event):
141 Remove unused variables.
142 (impl_generate_mouse_event):
143 Initialize button to zero, just in case we get an invalid
144 input. Added support for mouse buttons 4 and 5.
145 (spi_device_event_controller_new):
146 Removed unused variable declaration for 'private'.
148 Added #include of <gdk/gdk.h>
150 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
152 * configure.in: Update to work when X is not installed in expected
153 location. Fixes bug #105836.
155 * atk-bridge/bridge.c
156 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
158 (spi_atk_register_event_listener): Add signal listener for
160 (spi_atk_bridge_signal_listener): Event event when link-selected
161 signal is emitted. (bug #104622)
163 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
164 on returned string. (bug #105291)
166 * test/event-listener-test.c: Add test for link-selected.
168 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
170 * atk-bridge/Makefile.am: Correct typo in previous commit.
172 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
174 * atk-bridge/Makefile.am: Allow for build directory to be different
175 from source directory
177 * registryd/Makefile.am: Allow for build directory to be different
178 from source directory
182 2003-01-29 Bill Haneman <bill.haneman@sun.com>
185 Fixed dependencies for libcspi so that libspi gets pulled in
186 properly. Fixes 104741.
190 Clean up inline docs a little.
192 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
194 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
195 This is done by implementing AtkComponent for SpiAtkDesktop, which is
196 the AtkObject within an SpiDesktop.
197 This addresses bug #101524.
199 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
200 Remove call to gdk_init().
202 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
203 so that Display is set when SpiDesktop is created.
205 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
207 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
208 This fixes bug #102830.
210 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
212 * test/test-simple.c: Update to take account of fact that GailButton
213 now implements AtkText.
214 (create_text_window): Set name on AtkObject for GtkEntry.
215 (validate_accessible): Check accessible name before calling test_text().
217 * libspi/Makefile.am: Fix problem with building outside of source
218 directory. Bug #98120.
220 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
221 typo in documentation comments. Bug #94275.
223 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
225 * libspi/text.c (impl_getBoundedRanges): Bug fix.
227 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
230 Add includes to avoid compiler warnings on Solaris.
231 (impl_getRangeExtents): Bug fix.
233 2002-12-17 Bill Haneman <bill.haneman@sun.com>
235 Fix for 100944, [API addition approved by Gman and murrayc].
242 * idl/Accessibility_Text.idl:
243 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
244 (Text::getRangeExtents): New method for efficient
245 bounds query of a text range.
246 (Text::getBoundedRanges): New method for efficient
247 clipping of text to bounding boxes.
248 (unImplemented7, unImplemented8):
249 Removed these padding methods to preserve bincompat.
252 (impl_getRangeExtents): implementation of new IDL.
253 (impl_getBoundedRanges): implementation of new IDL.
254 (SpiTextRect): Internal use struct.
255 (_spi_text_rect_union): internal method, calculates union of two
256 SpiTextRect bounding rects.
257 (_spi_text_range_seq_from_gslist): internal method, allows us
258 to build our sequence efficiently as a gslist then convert it
260 (_spi_bounds_contain): internal method, determines whether
261 a text character is "in" or "out" of a clip rect according to
262 values of TEXT_CLIP_TYPE.
263 (spi_text_class_init): Initialize the new methods in the epv.
266 (AccessibleTextClipType): New enum used by screen review api.
267 (AccessibleTextRange): New struct used by screen review api.
268 (AccessibleText_getRangeExtents):
269 cspi binding for Accessibility_Text_getRangeExtents.
270 (AccessibleText_getBoundedRanges):
271 cspi binding for Accessibility_Text_getBoundedRanges.
272 (AccessibleTextRange_freeRanges): convenience method.
275 (AccessibleText_getRangeExtents):
276 cspi binding for Accessibility_Text_getRangeExtents.
277 (AccessibleText_getBoundedRanges):
278 cspi binding for Accessibility_Text_getBoundedRanges.
279 (AccessibleTextRange_freeRanges): convenience method.
280 (get_accessible_text_clip_type): internal conversion method.
281 (get_accessible_text_ranges_from_range_seq): internal conversion method.
283 * registryd/deviceeventcontroller.c:
284 (spi_dec_mouse_check):
285 Improved behavior for mouse:abs events
286 [same granularity as mouse:rel events, and no
287 events when mouse is idle].
289 2002-12-16 Michael Meeks <michael@ximian.com>
291 * cspi/spi_accessible.c (spi_state_to_corba): rename.
293 * libspi/stateset.c (state_spi_to_atk): split out
294 ( fix several remote array bounds nasties )
295 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
296 (impl_remove): make safe from array bounds issues.
297 (spi_atk_state_from_spi_state): impl.
299 * libspi/stateset.h (spi_state_set_cache_is_empty):
300 add a set of wrapper defines to get layering right.
302 * cspi/spi_accessible.c: update state set stuff to
305 2002-12-14 Michael Meeks <michael@ximian.com>
307 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
308 to avoid 2 roundtrips to the registry per key event
309 (spi_atk_bridge_key_listener): upd.
310 (deregister_application): release the dec.
312 * registryd/registry.c (notify_listeners_cb):
313 bin lots of re-enterant complexity - we no longer
314 do a round-trip bonobo ref here, ensure that a single
315 listener's exception failure won't poison all other
317 (impl_registry_notify_event): bin obvious memory leak.
319 2002-12-13 Michael Meeks <michael@ximian.com>
321 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
322 init the ev so the error is meaningful.
323 (spi_atk_bridge_key_listener): ditto.
325 * cspi/spi_main.c (cspi_ev): init the ev so we start
326 with a clean slate, otherwise the first exception
329 * cspi/spi_text.c (get_accessible_text_boundary_type):
330 add a fallthrough for no warnings.
332 * cspi/spi_registry.c: prune unused warnings.
334 * cspi/spi_main.c (cspi_object_take): fix
335 mind-blowing brokenness ( by watching the compile
338 * cspi/spi_accessible.c (Accessible_getStateSet):
339 re-impl. to use an AtkStateSet.
340 (spi_state_type_from_accessible_state),
341 (init_state_table): bin these.
343 * libspi/stateset.c (spi_atk_state_set_from_sequence):
345 (atk_state_set_from_accessibility_state_set): here.
347 * cspi/spi_accessible.c (spi_state_to_atk): impl.
348 (AccessibleStateSet_contains, AccessibleStateSet_ref),
349 (AccessibleStateSet_unref, AccessibleStateSet_contains),
350 (AccessibleStateSet_add, AccessibleStateSet_remove),
351 (AccessibleStateSet_equals, AccessibleStateSet_compare),
352 (AccessibleStateSet_isEmpty): re-write to use a local
355 2002-12-13 Bill Haneman <bill.haneman@sun.com>
357 * configure.in: Revved to 1.1.7 (new keymask vals).
359 2002-12-10 Bill Haneman <bill.haneman@sun.com>
362 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
364 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
367 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
368 to compare two CORBA_TypeCodes.
369 (cspi_internal_event_add): Silence warning from FORTE compiler.
371 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
372 avoid implicit declaration of functions.
374 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
376 * atk-bridge/bridge.c:
377 (spi_atk_bridge_init_event_type_consts): Store signal id for
378 active-descendant-changed signal.
379 (spi_atk_register_event_listeners): Add signal listener for
380 active-descendant-changed signal,
381 (spi_atk_bridge_signal_listener): Move code in function
382 spi_atk-signal_emit_event() into this function.
383 Add support for active-descendant-changed
384 Update support for child-changed signal.
385 (spi_bridge_window_event_listener): Silence warning.
387 * libspi/spi_private.[ch]:
388 (spi_init_any_object): Change second parameter from CORBA_Object to
390 Omit call to CORBA_Object_duplicate().
391 Set CORBA_any's _value to CORBA_Object*.
393 2002-12-06 Bill Haneman <bill.haneman@sun.com>
399 (AccessibleEvent_ref, AccessibleEvent_unref):
400 New methods, for persisting an event outside the emission context.
401 Must be used if the new accessor methods are to be called
402 outside of the event listener's callback.
404 * cspi/bonobo/cspi-bonobo.c:
405 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
406 as second parameter instead of NULL, so we can call
407 cspi_check_ev afterwards.
410 (cspi_object_take): New internal method,
411 converts a CORBA_Object reference to a hard ref on
412 an Accessible if possible, returning NULL if the object
413 reference is invalid or an Accessible * otherwise.
416 (AccessibleEvent_ref):
417 Increment the event's internal private refcount, and
418 add the event's internal struct to an internal cache
419 if it's not already there.
420 (AccessibleEvent_unref):
421 Decrement the event's refcount and remove it from
422 the cspi event cache if refcount==0.
423 (cspi_event_compare): New private method.
424 Compares two event structs via their ids. Used
426 (cspi_internal_event_lookup): New private method.
427 (cspi_internal_event_check): New private method,
428 a 0-order sanity check for events to make sure their
429 private data is intact.
430 (cspi_internal_event_add, cspi_internal_event_remove):
431 New private methods for managiing the event cache.
433 * cspi/bonobo/cspi-bonobo-listener.c:
435 Initialize the new private data elements (id, magic, ref_count).
437 * atk-bridge/bridge.c:
438 (spi_atk_bridge_signal_listener):
439 Fixed bug #100530, passing wrong params to emission func.
441 * registryd/deviceeventcontroller.c:
442 (spi_dec_button_update_and_emit):
443 Fixed type in mask bit operations; fix for #99799.
445 2002-12-02 Bill Haneman <bill.haneman@sun.com>
447 Removed some of the more dangerous workarounds from
448 previous commit; they are only needed by GOK, which
449 in reality should be using another method to accomplish
450 the goals. So on reconsideration some of the workarounds
453 * registryd/deviceeventcontroller.c:
454 (spi_keycodes_contain, spi_dec_init_keycode_list):
455 Removed these methods, used only by a nasty hack to try
456 and detect whether a key synthesis should be allowed
457 to reset the XKB latch state or not. This code was only
458 required to work around an interaction between GOK,
459 button events, and XKB.
460 (impl_generate_key_event):
461 Removed hack at end of key generation that tried to
462 "do the right thing" if XKB latch keys were generated
463 in the midst of button press/release pairs.
466 Added a check for HAVE_XINPUT. Not normally used yet.
468 2002-11-25 Bill Haneman <bill.haneman@sun.com>
470 Workarounds and fixes for mouse event/XKB interaction.
472 * registryd/deviceeventcontroller.c:
473 (spi_keycodes_contain, spi_dec_init_keycode_list):
474 New internal methods.
475 (spi_dec_set_unlatch_pending):
476 Split the method that tells XKB to expect an
477 unlatch (and revert it) out of the rest of the
478 event handling code. This method is called by the
479 two mouse event handlers (the poll and the filter).
480 (spi_dec_update_and_emit, spi_dec_mouse_check):
481 New methods split from spi_dec_poll_mouse_moved.
482 The second one is now called from inside the filterFn
483 when an XKB delatch event is received, to determine
484 whether to revert the delatch or not.
485 (spi_poll_mouse_moved): Refactor; also we can now
486 properly handle the case where multiple button states
487 have changed between polling cycles and we didn't get
488 notified due to another client's grab.
490 Synchronize the server while handling an XKB notification.
491 Ugly, but apparently necessary to avoid nasty races.
492 Check the mouse state on receipt of an XKB latch change,
493 to decide whether to revert the latch or not. (Latches are
494 reverted if there is an immediately preceding mouse button
495 event that a client has consumed, in which case we don't want
496 the user to see the side-effect of the event).
497 (spi_device_event_controller_forward_mouse_event):
498 Check for modifier events and fire before resetting mouse_mask_state,
499 prevents losing modifier events.
501 (impl_generate_keyboard_event):
502 If we've just generated a keyboard event for a non-shift key,
503 we don't want to revert the pending XKB latch.
504 Otherwise, check the modifier state (via a call to
505 spi_dev_mouse_check) and set the relatch mask to
506 that state before returning.
508 2002-11-24 Bill Haneman <bill.haneman@sun.com>
511 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
514 * atk-bridge/bridge.c:
515 (spi_atk_register_event_listeners):
516 Don't re-register for ATK events if the registry has died
517 and the app needs to re-register; the ATK listeners are in
518 process and doing so will cause duplicate emission.
520 * registryd/deviceeventcontroller.c:
521 (spi_poll_mouse_moved):
522 Reformat the source, detect and emit multiple button-change
523 events (i.e. if multiple buttons have changed between poll
525 Add code to detect mouse-down events even when the pointer
526 is grabbed; workaround for GOK bug 98420.
527 (spi_controller_register_with_devices):
528 Call XTestGrabControl with 'impervious' flag set to True,
529 allows us to synthesize events and query the pointer even during
530 an active grab by another client.
531 (spi_device_event_controller_forward_mouse_event):
532 Set the mouse_mask_state to the mouse_button_state from
533 the intercepted event, to synchronize the grab listener with
536 2002-11-20 Bill Haneman <bill.haneman@sun.com>
538 * cspi/spi_accessible.c:
539 (AccessibleRole_getName):
540 Added necessary strings for making this (deprecated)
541 method work with the new role types.
542 (init_role_table, role_table):
543 Added definition of SPI_ROLE_APPLICATION.
545 * libspi/spi-roletypes.h:
546 Added SPI_ROLE_APPLICATION.
548 * idl/Accessibility_Role.idl:
549 Added ROLE_APPLICATION.
551 * docs/reference/cspi/at-spi-cspi-decl.txt:
552 Added SPI_ROLE_APPLICATION to docs.
554 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
556 * cspi/spi_accessible.c
557 (cspi_init_role_table): Do not write beyond end of role_table.
558 (Accessible_getRole): Use correct type for value returned by
559 Accessibility_Accessible_getRole().
561 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
562 beyond end of role_table. (This fixes bug #98269)
564 * libspi/application.c: Add include file spi-private.h for
565 definition of spi_init_any_nil.
567 2002-11-19 Bill Haneman <bill.haneman@sun.com>
571 * libspi/spi-private.h:
572 Added DGB() macro, and extern int _dbg declaration.
574 * registryd/registry.c:
575 (definitions) storage for _dbg.
577 Get environment variable "AT_SPI_DEBUG".
578 (spi_registry_set_debug):
579 New method, to initialize _dbg value.
580 (spi_listener_struct_new, spi_registry_object_finalize):
581 (notify_listeners_cb):
582 Changed fprintfs to use DBG and g_warning().
584 * registryd/deviceeventcontroller.c:
585 (_deregister_keygrab, spi_controller_register_device_listener):
586 Changed debug/warning messages to use DBG macro.
590 Changed warning messages to use DBG macro and g_warning().
592 * atk-bridge/bridge.c:
593 (atk_bridge_init, spi_atk_bridge_get_registry):
594 (spi_atk_bridge_exit_func):
595 (spi_atk_bridge_property_event_listener):
596 Changed status, warning, and error messages to use
597 g_warning, g_message, and DBG macros.
600 Read the state of the AT_SPI_DEBUG environment variable
601 and set a local '_dbg' accordingly.
603 2002-11-19 Bill Haneman <bill.haneman@sun.com>
605 FIXES for 98836, 98842, other bugs.
608 Revved to 1.1.4, interface-age=4, binary-age=4.
610 * registryd/deviceeventcontroller.c:
612 Fixed crasher bug in last_mouse_pos initialization.
614 * registryd/registry.c:
615 (desktop_add_application, desktop_remove_application):
616 Added (and then commented out) some support for
617 object context marshalling. [TODO]
619 * atk-bridge/bridge.c:
620 (spi_atk_bridge_event_context_create):
621 Commented out object context creation until it can
622 be properly tested and debugged.
624 * registryd/registry.c:
625 (impl_registry_notify_event):
626 Fixed crasher bug, we were calling
627 spi_re_entrant_list_foreach () with an empty list.
629 2002-11-18 Bill Haneman <bill.haneman@sun.com>
631 * idl/Accessibility_Action.idl:
632 * idl/Accessibility_Component.idl:
633 * idl/Accessibility_Desktop.idl:
634 * idl/Accessibility_Event.idl:
635 * idl/Accessibility_Hyperlink.idl:
636 * idl/Accessibility_Image.idl:
637 * idl/Accessibility_Relation.idl:
638 * idl/Accessibility_Selection.idl:
639 * idl/Accessibility_State.idl:
640 * idl/Accessibility_Value.idl:
641 Updated unimplemented slot count to minimum of
642 four for all interfaces, for ABI freeze.
644 * idl/Accessibility_EditableText.idl:
645 * idl/Accessibility_Text.idl:
646 Updated unimplemented slot count to six
649 * idl/Accessibility_Registry.idl:
650 Updated unimplemented slot count to six
651 (also for DeviceEventController),
654 * idl/Accessibility_Table.idl:
655 Updated unimplemented slot count to eight,
658 * idl/Accessibility_Event.idl:
659 Added CORBA_any "any_data" member to Event struct.
661 * idl/Accessibility_Event.idl:
662 Added CORBA_any "any_data" member to Event struct.
664 * atk-bridge/bridge.c:
666 atk_signal_text_changed, atk_signal_child_changed,
667 signal ids queried from gtype system.
668 (AtkBridgeEventContextType): New enum.
669 (AtkBridgeEventContextData): New struct.
670 (AtkBridgeEventContext): New struct.
671 (atk_bridge_init_event_type_consts):
672 New method, initializes type contants for comparison
673 prior to emit_eventv.
674 (atk_bridge_event_context_init): New method,
675 initializes a CORBA_any from an AtkBridgeEventContext.
676 (atk_bridge_focus_tracker): Call spi_init_any_nil to
677 initialize the event.any_data struct.
678 (spi_atk_bridge_event_context_create): New method,
679 creates an AtkBridgeEventContext from signal/event info.
680 (spi_atk_bridge_event_context_free): New method.
681 (spi_atk_emit_eventv): Changed to take an
682 AtkBridgeEventContext parameter. We now initialize
683 the event.any_data member prior to notifying the
684 Registry, via the AtkBridgeEventContext.
685 (spi_atk_bridge_property_event_listener):
686 (spi_atk_bridge_state_event_listener):
687 Match emit_eventv signature.
688 (spi_atk_bridge_object_event_listener):
689 Match emit_eventv signature, and create an
690 event context from the event details.
691 Free the event context afterwards.
692 (spi_atk_bridge_window_event_listener):
693 Create an event context, pass it to the
697 (AccessibleEvent_getContextString):
698 (AccessibleEvent_getContextObject):
699 New methods, allow query of AccessibleEvent objects
700 for more context details (via the "any_data" member
701 of the Event struct, above).
704 Definitions for AccessibleEvent_getContextString
705 and AccessibleEvent_getContextObject.
707 * cspi/spi_listener.h:
708 (InternalEvent): New struct.
711 (AccessibleEvent_getContextString):
712 (AccessibleEvent_getContextObject):
713 Implementations of new methods, for obtaining
714 additional context information from some event types.
716 * cspi/spi_registry.c:
717 (SPI_registerGlobalEventListener):
718 Added mention of active-descendant-changed event in docs.
720 * cspi/cspi-bonobo-listener.c:
722 Marshal the any into the AccessibleEvent via
725 * libspi/spi-private.h:
726 #include <orbit/orbit.h>
728 (spi_init_any_string):
729 (spi_init_any_object):
730 New convenience function declarations.
734 (spi_init_any_string):
735 (spi_init_any_object):
736 New convenience function implementations.
738 * registryd/deviceeventcontroller.c:
739 (spi_poll_dec_mouse_moved):
740 (spi_device_event_controller_forward_mous_event):
741 Initialize any_data member of event.
742 (spi_deregister_controller_device_listener):
743 Fix incorrect param pass which was preventing deregistration.
745 * registryd/registry.c:
746 (desktop_add_application):
747 (desktop_remove_application):
748 Add object data to event's any_data before dispatch.
750 Fix for error messages from GAIL.
752 * test/event-listener-test.c:
753 Test new ContextString and "any_data" API:
754 (report_text_event): New method query and output context string.
755 (main): register a new text listener with report_text_event
758 2002-11-19 Darren Kenny <darren.kenny@sun.com>
760 Fixes for bugs 98127 and 97914.
761 * cspi/spi-roletypes.h:
762 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
764 * cspi/spi-statetypes.h:
765 Added SPI_STATE_MANAGES_DESCENDANTS
767 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
768 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
769 * cspi/spi_accessible.c:
770 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
771 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
772 Accessibility_STATE_MANAGES_DESCENDANTS
773 * libspi/accessible.c:
774 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
775 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
776 As requested by Bill, I also cleaned up the alignment.
778 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
779 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
781 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
782 Accessibility_STATE_MANAGES_DESCENDANTS
783 * docs/reference/cspi/tmpl/spi_accessible.sgml:
784 Document changes reflecting modifications to roles.
785 * docs/reference/cspi/tmpl/spi_relation.sgml:
786 Document changes reflecting modifications to relations.
787 * docs/reference/cspi/tmpl/spi_stateset.sgml:
788 Document changes reflecting modifications to states.
790 2002-11-17 Bill Haneman <bill.haneman@sun.com>
793 Revved to 1.1.3, interface-age=3, binary-age=3.
797 Removed accessx-gui from the tests, since we have a nice
798 keyboard accessibility capplet now :-)
800 * test/keysynth-demo.c:
801 (increment_scan): removed do-nothing default: case,
804 * test/visual-bell.c:
805 (main) : removed do-nothing default: case,
809 (AccessibleAction_getKeyBinding_):
810 Documented keybinding string format.
814 (AccessibleText_getAttributes):
815 Documented the text attribute string format.
816 It's changed to use semicolon delimiters also,
817 to prevent clashes with CSS attributes, but the old
818 trick of looking for ", " strings will still work
819 (as unreliably as ever). Fix for bug related to 97916.
822 Include <cspi/bonobo/cspi-bonobo-listener.h>
824 (SPI_freeAccessibleKeySet):
825 (AccessibleKeystrokeListener_addCallback):
826 (AccessibleKeystrokeListener_removeCallback):
827 Modify to use AccessibleDeviceListener API internally,
828 instead of AccessibleKeystrokeListener.
830 * idl/Accessibility_Event.idl:
831 Added two more empty slots to EventListener (for a total of four).
833 * idl/Accessibility_Accessible.idl:
834 Added four empty slots to Accessible interface.
836 2002-11-15 Bill Haneman <bill.haneman@sun.com>
838 * idl/Accessibility_Registry.idl:
839 (KeyEventType, EventType):
840 Marked KeyEventType as deprecated; it duplicates
841 functionality of EventType, which has been extended to
842 include Mouse-button events.
843 (KeyEventTypeSeq): defined in terms of EventType.
844 (registerDeviceEventListener, deregisterDeviceEventListener):
845 New methods, for managing listeners to device events,
846 which potentially may consume them.
849 Added definition for AccessibleDeviceListener.
851 * cspi/spi-listener.h:
852 (enum AccessibleDeviceEventType):
853 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
854 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
855 for backwards compat.
856 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
857 and typedef'd AccessibleKeystroke to it for back-compat.
858 (AccessibleDeviceListenerCB):
859 New function prototype typedef.
862 (AccessibleDeviceEventMask): New typedef.
863 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
864 (AccessibleKeyMaskType):
865 Set equivalent to AccessibleModifierMaskType for back-compat.
866 (SPI_createAccessibleKeystrokeListener):
867 (AccessibleKeystrokeListener_unref):
868 Deprecated in favor of equivalent (better-named) new API below..
869 keystroke listeners are like all device listeners.
870 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
871 New API names for old features :-).
872 (AccessibleDeviceListener_addCallback):
873 (AccessibleDeviceListener_removeCallback):
874 (SPI_registerDeviceEventListener):
875 (SPI_deregisterDeviceEventListener):
879 (SPI_createAccessibleKeystrokeListener):
880 Use new preferred API, cspi_device_listener_new() and
881 cspi_device_listener_add_cb().
882 (AccessibleKeystrokeListener_removeCallback):
883 Use new preferred API, cspi_device_listener_remove_cb().
884 (AccessibleKeystrokeListener_unref):
885 Use new preferred API, cspi_device_listener_unref().
886 (SPI_createAccessibleDeviceListener):
887 (AccessibleDeviceListener_addCallback):
888 (AccessibleDeviceListener_removeCallback):
889 Implementation of new API.
891 * cspi/spi_registry.c:
892 (SPI_registerDeviceEventListener):
893 (SPI_deregisterDeviceEventListener):
894 Implementation of new API. Fixed memory leak and removed need to
895 allocate EventTypeSeq (thanks Michael for catching this).
896 Squashed a wayward CORBA_exception_free that shouldn't get called.
898 * cspi/bonobo/cspi-bonobo-listener.c:
900 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
901 (cspi_key_event): renamed to cspi_device_event().
902 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
903 Extended to handle mouse button events as well as key events.
904 (CSpiKeystrokeListener):
905 Class superceded by CSpiDeviceListener.
906 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
907 These internal APIs changed to "*device_listener" from "*keystroke_listener".
909 * cspi/bonobo/cspi-bonobo-listener.h:
910 (CSpiKeystrokeListener):
911 Class superceded by CSpiDeviceListener.
912 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
913 These internal APIs changed to "*device_listener" from "*keystroke_listener".
915 * libspi/Makefile.am:
916 Replaced keystrokelistener.h and keystrokelistener.c
917 with devicelistener.h and devicelistener.c; keystrokelisener.h
918 stub retained for back-compat.
920 * libspi/keystrokelistener.c:
924 Replaced inclusion of keystrokelistener.h with devicelistener.h.
926 * registryd/deviceeventcontroller.c:
927 (DEControllerListener): Added Accessibility_EventTypeSeq member.
928 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
929 (DEControllerPrivateData): Added xkb settings data.
930 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
931 button release events (which can't be captured via XGrabButton).
932 Don't dispatch via the 'normal' event mechanism if the device event was
934 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
935 Handle the typeseq data in its new location (see above).
936 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
937 New methods, for "generic" device listeners.
938 (spi_controller_register_device_listener):
939 Now handle mouse event listeners as well as key listeners.
940 (spi_controller_notify_mouselisteners):
942 (spi_device_event_controller_forward_mouse_event):
943 Now we notify mouse device listeners as well as generating the
944 non-consumable "mouse:" events.
946 We must check and restore the XKB
947 modifier map if we consume the event, since the act of triggering
948 a mouse event will normally reset the XKB latch. This is required for
950 (spi_controller_register_with_devices):
951 Load the XKB settings when registering, and register for XKB
953 (spi_key_eventtype_seq_contains_event):
954 Renamed spi_eventtype_seq_contains_event, since it's used
955 internally for all device event types now.
956 (spi_key_event_matches_listener):
957 Uses spi_eventtype_seq_contains_event now.
958 (spi_device_event_controller_object_finalize):
959 Free the private data and the XkbKeyboard struct.
960 (impl_register_device_listener, impl_deregister_device_listener):
961 Implementation of new IDL.
962 (spi_deregister_controller_device_listener):
964 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
965 More efficient implementation, we don't have to create a new
966 XkbControls structure every time we query.
967 (spi_device_event_controller_class_init):
968 Initialize the epv entries for the new IDL. Assign the
969 "spi-dec-private" quark.
970 (spi_device_event_controller_init):
971 Initialize the private data.
972 (spi_device_event_controller_forward_key_event):
973 Removed a bogus CORBA_exception_free() call.
975 * registryd/deviceeventcontroller.h:
976 Replaced inclusion of keystrokelistener.h with
979 * test/event-listener-test.c:
980 (report_mouse_event):
983 Added mouse-event device listener.
985 * test/test-simple.c:
986 (create_test_window):
987 Fixed regression (we were instantiating a GtkRange,
988 which is now an abstract class). Also fixed to match
989 existing AtkRole names, this seems to have changed in ATK
990 awhile ago; too late now I think, and the new
991 mechanism is at least elegant and consistent with the
992 glib enum "nick" APIs.
994 2002-11-15 Darren Kenny <darren.kenny@sun.com>
996 * idl/Accessibility_Relation.idl:
997 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
998 RELATION_EMBEDS,RELATION_EMBEDDED_BY
999 * idl/Accessibility_Role.idl:
1000 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1001 * idl/Accessibility_State.idl:
1002 add STATE_MANAGES_DESCENDANTS
1003 * test/event-listener-test.c:
1004 Added a listener for active-descendant events.
1006 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1008 * atk-bridge/bridge.c
1009 (atk_bridge_init): If application is Bonobo component wait until top
1010 level is added before registering
1011 (spi_atk_bridge_do_registration): New function which contains code,
1012 formerly in atk_bridge_init, to do application registration.
1013 (spi_atk_bridge_toplevel_added): Signal called when top level
1014 added to Bonobo component
1016 This fixes bug #83134.
1018 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1020 * registryd/deviceeventcontroller.c
1021 Fixed compilation error caused by calling gettimeofday()
1024 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1029 Added template for HAVE_XKB.
1032 Changes to check for XKB, and to set the HAVE_XKB #define if it
1035 * libspi/listener.c:
1036 ()impl_notify_event): Make failure to get event source name
1039 * registryd/deviceeventcontroller.c:
1040 (#include): include X11/XKBlib.h.
1041 (DEControllerPrivateData) : New struct.
1042 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1044 (dec_synth_keycode_press) (dec_synth_keycode_release):
1045 New methods; split the key synthesis code into these methods.
1046 They check XKB settings before determining the "time" values to
1047 pass to Xtest; this fixes bug #95828.
1048 (impl_generate_keyboard_event): Changed to use methods above,
1049 instead of callng Xtest directly.
1050 (spi_device_event_controller_init): Initialize new privae struct s
1052 (spi_device_event_controllr_object_finalize):
1053 Free the (new) private data.
1055 * registryd/deviceeventcontroller.h:
1056 Add new gpointer to end of struct data.
1058 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1061 Incremented revision to 1.1.2, SONAME is still '.so', library
1062 extensions are ".so.0.0.2".
1064 * registryd/deviceeventcontroller.c:
1065 FIXES FOR #93592 and #95940.
1066 (statics): renamed mouse_button_state to mouse_mask_state,
1067 added key_modifier_mask.
1068 (spi_dec_poll_mouse_moved):
1069 Added key modifier checks, and emit "keyboard:modifiers"
1070 events when the key modifiers currently in use change.
1071 Also generate "mouse:abs" events periodically, even if the mouse
1072 is stationary (should we?).
1073 Alternatively we could generate "mouse:abs" events for either all
1074 mouse movements, or every 'nth' mouse movement, or at the
1075 beginning and end of every "active" mouse period.
1077 * test/event-listener-test.c:
1078 (main): Added listener for "keyboard:modifiers" events.
1080 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1082 * libspi/keymasks.h:
1083 Added key mask #defines for mouse buttons; e.g.
1084 SPI_KEYMASK_BUTTON1, etc.
1087 Incremented dependency on ATK to version 1.1.0. (This dependency
1088 is probably premature but will soon be real enough).
1090 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1092 * libspi/hyperlink.[ch]
1093 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1094 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1097 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1102 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1104 * registryd/deviceeventcontroller.c
1105 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1106 events to be ignored.
1107 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1108 keyboard_mode so that XAllowEvents() can be called.
1112 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1114 * cspi/spi-accessible.c: Correct names of roles returned by
1115 AccessibleRole_getName(). Fixes bug #95055.
1117 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1119 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1122 * registryd/registry.c
1123 (desktop_remove_application: Write diagnostic message to stderr for
1126 (impl_accessibility_registry_deregister_global_event_listener):
1127 Correct size of lists array. This addresses bug #94555).
1129 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1131 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1134 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1136 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1139 * registryd/registry.c (impl_registry_notify_event): Remove
1140 unnecessary call to parser_event_type().
1142 * docs/reference/cspi/tmpl/spi_component.sgml:
1143 Add reference to SPI_LAYER_WINDOW.
1145 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1147 * registryd/registry.c
1148 (desktop_add_application): Remove leak.
1149 (desktop_remove_application): Remove leak.
1150 (parser_event_type): Remove leak.
1152 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1154 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1155 bogus call to CORBA_string_dup(). Also removed unnecessary
1156 g_string_dup/g_free calls.
1158 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1160 * registryd/deviceeventcontroller.c:
1161 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1163 * test/event-listener-test.c:
1164 main: commented out three redundant listeners, to reduce output
1165 noise. (They still are potentially useful for testing).
1168 2002-09-13 Michael Meeks <michael@ximian.com>
1170 * Update all the copyrights to include Ximian.
1172 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1174 * cspi/spi.h: add SPI_LAYER_WINDOW.
1176 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1177 add Accessibility_LAYER_WINDOW case.
1179 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1181 * libspi/component.c: (impl_accessibility_component_get_layer):
1182 add ATK_LAYER_WINDOW case.
1184 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1186 * configure.in: incremented micro version.
1188 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1190 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1193 Clarified and reworded our commit policy.
1196 Started an API "todo" addition list for 2.2.
1199 (impl_getSelection):
1200 Free char pointer from atk_text_get_selection, which was being leaked.
1202 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1205 Small revision to author acknowledgement.
1207 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1209 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1210 If signal has detail add it to the type of the event.
1213 2002-08-12 Michael Meeks <michael@ximian.com>
1215 * test/test-simple.c (global_listener_cb): bin bogosity.
1216 (test_keylisteners): disable, still doesn't work reliably,
1217 certainly not on my system anyway.
1219 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1220 don't leak a reference on the DEC. This round-trip
1221 fetching of the DEC per keystroke sucks, it should be
1224 * cspi/spi-private.h,
1225 * cspi/cspi-lowlevel.h,
1226 * cspi/bonobo/cspi-bonobo-listener.[ch],
1227 * cspi/bonobo/cspi-bonobo.c: get the copyright
1228 notices better - there is still a large amount of
1229 work in at-spi falsely attributed solely to Sun.
1231 * cspi/spi_main.c (cspi_object_ref): kill bogus
1232 hash lookup, just increment the ref.
1233 (SPI_freeString): make explicit the fact that we
1234 handle NULL strings just fine.
1235 (report_leaked_ref): obey coding standards.
1236 (cspi_object_hash, cspi_object_equal): kill retval.
1237 (cspi_object_release): only release if not on loan.
1238 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1239 (cspi_object_borrow, cspi_object_return): impl.
1241 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1242 use cspi_object_borrow / return.
1244 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1246 * cspi/bonobo/cspi-bonobo-listener.c:
1248 Don't call cspi_oject_new() because this is creating a new Accessible
1249 every single time that an event is fired. This causes ATs like at-poke
1250 to nolonger recognise the source of the event and thus ignore it.
1251 Re-use the object from the cache, ref it and then unref it after the
1252 listeners have been called.
1254 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1256 * test/event-listener-test.c:
1257 Added command-line options to disable mouse events (m) and
1260 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1262 * configure.in: Update required versions of ATK, GTK+ and GAIL
1264 * cspi-1.0.pc.in: Add dependency for X include files
1267 * cspi/bonobo/Makefile.am:
1268 Add $(X_CFLAGS) so that X include files
1269 are picked up even if not in standard place (bug #71686)
1271 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1273 * registryd/deviceeventcontroller.c: fix for 84261
1274 (spi_dec_mouse_moved):
1275 Added test of mouse button mask, so that we can detect mouse
1276 button release. Unfortunately we can't otherwise detect mouse
1277 button release events without consuming the mouse press event,
1278 because of the way XGrabButton works. This means that our mouse
1279 release events have a latency dependent on the polling period
1280 while the mouse button is down. At least in this case we only
1281 have to poll while the button is down, and not at other times.
1282 If the button masks don't match with what the last press event
1283 reported, we report the appropriate button release event.
1284 (spi_dec_ungrab_mouse):
1285 New method (not yet called).
1286 (spi_device_event_controller_forward_mouse_event):
1287 New method, sends mouse press event from GdkFilter.
1288 (spi_dec_init_mouse_listener):
1289 Added code to call XGrabButton, redirecting mouse button events to
1290 the root window and our Gdk event loop.
1292 Added code to filter mouse button events, and reordered.
1294 * test/event-listener-test.c:
1296 Added registration for mouse events of type "mouse:button".
1298 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1300 * registryd/deviceeventcontroller.c: partial fix for 84261
1301 (spi_dec_poll_mouse_idle):
1302 New method, a timeout which checks to see if the mouse
1304 (spi_dec_poll_mouse_moving):
1305 A timeout to be called when mouse motion is underway.
1306 (spi_dec_poll_mouse_moved):
1307 A method which fires an event if the mouse has moved, and reports
1308 whether or not it did so.
1309 (spi_dec_init_mouse_listener):
1310 A method which sets up the timeouts above.
1311 (spi_device_event_controller_new):
1312 Now calls spi_dec_init_mouse_listener.
1314 * registryd/registry.c:
1315 (spi_registry_init):
1316 Now we initialize the device event controller when the registry is
1317 initialized, instead of waiting until a client has requested a key
1318 event notification; this is because we need the event controller
1319 for mouse events, but the mouse event registration API is a
1320 "registry" call and doesn't explicitly call the
1321 deviceeventcontroller.
1322 We now report mouse motion events with a 100 ms idle latency and
1323 a 20 ms granularity when motion is in progress.
1325 * test/event-listener-test.c:
1327 We now register the "detail listener" for events of type
1328 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1329 delivered only for the first mouse event received, and thereafter
1330 "mouse:abs" events are delivered.)
1332 * cspi/spi_registry.c:
1333 DOCS: Documented the above mouse event typestrings.
1335 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1337 Happy Summer Solstice...
1339 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1340 (spi_controller_notify_keylisteners):
1341 Changes to remove a listener from the listener list, freeing its
1342 open keygrabs, if a notification to that listener fails. This
1343 means that although a dead listener can continue to hold a passive
1344 keygrab, a maximum of one dispatch to such a listener can fail
1345 before the listener is removed from the list, thus the keygrab
1346 will be released on the next occurrence.
1347 As part of this fix:
1348 (spi_notify_keylisteners):
1349 Renamed to spi_controller_notify_keylisteners, as the controller
1350 instance must now be passed as an argument.
1351 The copied 'notify' GList is now a list of DEControllerKeyListener
1352 objects, since we need more than just the CORBA reference if a
1353 notify fails and we need to deregister the listener.
1354 (impl_notify_listeners_sync):
1355 (impl_notify_listeners_async):
1356 (spi_device_event_controller_forward_key_event):
1357 Modify use of notify_keylisteners in accordance with above
1359 (spi_deregister_controller_key_listener):
1360 New method introduced by refactoring, from
1361 impl_deregister_keystroke_listener.
1362 (impl_deregister_keystroke_listener):
1363 Call spi_deregister_controller_key_listener.
1364 (spi_key_listener_clone):
1365 New method to copy a key listner without doing a 'ref' on the
1366 remote object instance; used to create a notifier list.
1367 (spi_key_listener_data_free):
1368 New method, frees data without unreffing the source.
1370 (spi_key_listener_clone_free): new method.
1371 (spi_key_listener_free):
1372 refactored to call spi_key_listener_data_free.
1374 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1376 * registryd/registry.c: [fix for bug 86048]
1377 (notify_listeners_cb):
1378 Clear CORBA system exceptions which occur when notifying
1379 listeners, before returning to the source of the original event,
1380 since the event source doesn't care if the relayed notify failed.
1381 In other words, don't complain to the atk-bridge if the registry
1382 could not notify all its listeners, that's no fault of the
1383 application and thus should not appear to be an error from the
1384 application's perspective.
1386 * cspi/spi_main.c: [fix for bug 85980]
1388 Replaced use of bonobo_object_dup_ref with call to the wrapper
1389 method, csou_dup_ref (); this silences a compiler warning and
1390 provided more portability.
1392 Ping the registry before return, and restart if necessary.
1394 * cspi/bonobo/cspi-bonobo.c:
1396 New internal method.
1398 Fixed this method to return an object reference, as it should have
1401 * cspi/cspi-lowlevel.h:
1402 Added internal definition for cspi_ping() and fixed
1403 return type of cspi_dup_ref().
1406 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1408 * atk-bridge/bridge.c: [fix for bug 85305]
1409 (spi_atk_bridge_register_application):
1410 New method where the initial application registry calls have been
1411 moved; it allows an application to re-register in response to
1412 certain error conditions (such as a registry restart, see below).
1414 Moved some initialization code to the method
1415 spi_atk_bridge_get_registry, below.
1416 (spi_atk_bridge_get_registry):
1417 New, private accessor function for the Accessibility_Registry
1418 instance. If the registry has not been started before, or has
1419 died (as detected by failure of a CORBA exception), it is
1420 restarted before return, and spi_atk_bridge_register_application
1421 is called again to register with the new bridge instance.
1422 (spi_atk_emit_eventv):
1423 Set registry_died on error; use spi_atk_bridge_get_registry () to
1424 access the registry.
1426 * registryd/registry.c:
1427 (impl_accessibility_registry_register_global_event_listener):
1428 Set listener's event_type_quark to etype.minor instead of
1429 etype.major (fix for bug 84856).
1431 * test/event-listener-test.c:
1432 (report_detail_event):
1433 Change the output string so that user/tester can tell that the
1434 'detail listener' was called instead of the 'generic listener'.
1436 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1438 Fixes for bugs 84900, 84908, 84897, 84898.
1443 Revved version to 1.1.0
1444 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1445 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1447 * idl/Accessibility_Registry.idl:
1448 (EventListener::notifyEvent):
1449 Removed 'oneway' directive after extensive consulation with
1450 ORBit2 team and others. This means also that unref() of the event
1451 source can and should be done synchronously after emission, rather
1452 than remotely in the client, after servicing the notify call on
1455 NOTE: This change speeds up listener performance considerably, but
1456 introduces new latency on the application side. We may want to
1457 add an event queue to the atk-bridge.
1459 * atk-bridge/bridge.c:
1460 (spi_atk_bridge_focus_tracker):
1461 Do a local unref() on the event source after emission.
1463 * registryd/registry.c:
1464 (desktop_remove_application):
1465 Do an unref() on the event source after emission.
1466 (desktop_add_application):
1467 Do an unref() on the event source after emission.
1468 (notify_listeners_cb):
1469 When relaying an event, don't automatically add the event source
1470 to the local object cache, just CORBA_dup it instead. Likewise,
1471 if this method reenters, release the ref rather than calling
1473 (impl_registry_notify_event):
1474 No longer call remote unref() on the event source after dispatch.
1476 * libspi/eventlistener.c:
1477 (impl_accessible_event_notify_event):
1478 Removed remote unref ()
1480 * cspi/bonobo/cspi-bonobo-listener.c:
1482 We now call cspi_object_new() instead of cspi_object_add() on
1483 receipt of an event; thus we only have an implicit object ref
1484 while the cspi_event method is being executed. If we need to keep
1485 a reference to the object, the listener must call ref() on the
1486 object. Thus also we don't need to call cspi_object_unref() after
1487 invoking the listener callbacks in this method.
1491 New internal API for creating a new cspi object, without adding it
1492 to the object cache.
1494 Now uses cspi_object_new() to create the cspi object instance.
1496 Now checks to see if the object is in the internal object cache,
1497 and adds it if necessary before incrementing its refcount (note
1498 that new objects are added with a refcount of 1).
1499 (report_leaked_ref):
1500 New method which gives some information on leaked object instances
1501 if leak detection is turned on.
1503 * test/event-listener-test.c:
1504 (timing_test_event):
1505 New method, used for testing event delivery timing for special
1506 events of type "object:test". It reports elapsed time and
1507 events/sec every 500 events.
1509 Added a new listener, 'test listener', to check timing of event
1510 receipt as noted above.
1512 Added some timing output here also, reports elapsed time every 100
1515 * test/stress-test.c:
1516 Emit events of type "object:test", for use with "event-listener-test".
1518 * test/test-simple.c:
1519 (global_listener_cb):
1520 Call Accessible_ref() on the event source before calling
1521 validate_accessible, since the validation process does pointer
1522 comparisons on the event source, meaning that the event source
1523 needs to be added to the local object cache first. Any use of
1524 such pointer comparisons between Accessible objects requires that
1525 the caller hold an explicit reference to those objects.
1526 We also must therefore call Accessible_unref() when leaving this method.
1528 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1530 * registryd/deviceeventcontroller.c:
1531 (spi_controller_update_key_grabs):
1532 Fix for #84735, subsequent keygrab listeners not informed of
1533 registration failure.
1536 (spi_base_construct):
1537 Add an assertion on construct, to make sure the GObject passed in
1538 is really a GObject.
1540 Explicitly initialize object->gobj pointer to NULL;
1542 * cspi/bonobo/cspi-bonobo-listener.c:
1543 (cspi_object_add_ref):
1544 New method, can specify whether to dup-ref a bonobo object passed
1545 in if it's newly added to the object cache.
1547 Now calls cspi_object_add_ref with second param of "FALSE". This
1548 prevents us from doing a pointless dup-ref followed by
1549 release-unref for all those cases where the object is already in
1550 our object cache (fix for #85205).
1552 * atk-bridge/bridge.c:
1553 (spi_atk_bridge_idle_init):
1554 Removed this method, we don't need to initialize in an idle
1557 Changed to call spi_atk_register_event_listeners directly, not via an
1558 idle handler. (fix for #81139)
1559 (gnome_accessibility_module_shutdown):
1560 Removed conditional around deregistration of listeners, since we
1561 don't use the idle handler and thus have always registered when
1563 (spi_init_keystroke_from_atk_key_event):
1564 Changed references to Accessibility_KEY_PRESSED to
1565 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1567 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1569 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1574 * test/stress-test.c:
1577 (may have been an incomplete commit yesterday?)
1579 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1582 Added target for new stress-test.
1584 * test/stress-test.c:
1585 New test, sends 1000 focus notifies in quick succession.
1587 * test/key-listener-test.c:
1588 Now we report whether a keylistener registration
1589 request succeeded or failed.
1591 * test/event-listener-test.c:
1592 Uncommented some listeners which are now implemented.
1595 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1597 * registryd/deviceeventcontroller.c:
1598 (spi_controller_update_key_grabs):
1599 Fix for #82509, lack of failure notification when
1600 ALL_WINDOWS keygrabs fail due to XGrabKey
1601 failure: we synchronize the server when
1602 registering a passive grab, to make sure we get the
1603 error message before the call returns.
1605 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1607 * test/test-simple.c:
1609 Removed #ifdef KEY_IMPL_WORKS guards.
1610 (test_keylisteners):
1611 Removed #ifdef KEY_IMPL_WORKS guards.
1612 Fixed bug which was causing a hang waiting for a
1613 "press" event (which was already overwritten by a "release"
1614 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1616 Added code to set globals 'key_press_received' and
1617 'key_release_received'.
1620 Added section "1.1 API Proposed Additions" which
1621 lists API additions desired for at-spi-1.1 (only one so far).
1622 Updated TODO list a little.
1624 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1626 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1629 * configure.in: Revved to 1.0.0.
1631 * idl/Accessibility_Registry.idl:
1632 (registerKeystrokeListener):
1633 Added boolean return value.
1635 * registryd/registry.c:
1636 (notify_listeners_cb): Minor fix to debug output.
1638 * registryd/Accessibility_Registry.server.in.in:
1639 Revved version number in OAFIID to 1.0.
1641 * registryd/registryd.c:
1643 Use new OAFIID version.
1645 * cspi/bonobo/cspi-bonobo.c:
1647 Use new OAFIID version.
1653 * atk-bridge/bridge.c:
1655 Use new OAFIID version.
1657 * registryd/deviceeventcontroller.c:
1658 (impl_register_keystroke_listener):
1659 Added CORBA_boolean return value.
1660 (spi_controller_register_device_listener):
1661 Added gboolean return value.
1662 (spi_controller_register_global_keygrabs):
1663 Added gboolean return value.
1664 (spi_key_set_contains_key):
1665 Added implementation for many more control keys,
1666 for instance F1-F12, arrow keys, End, Home, Page_Up,
1668 [TODO: some still not implemented].
1670 * text/screen-review-test.c:
1671 (text_chunk_pad_string):
1672 New function: it provides mapping between coordinate
1673 positions of text chunks and character positions in the
1674 screen-review-line output string.
1675 (text_chunk_to_string):
1676 New function, calls text_chunk_pad_string with various
1677 pad/delimiter characters. Pushbuttons are delimited with
1678 square brackets, Frames with vertical 'pipe' lines, and
1679 other text with double quotes.
1680 (text_chunk_list_to_string):
1681 Calls new function text_chunk_to_string.
1682 (toplevel_composite):
1683 New function to composite layers CANVAS through
1684 POPUP in each toplevel (other layers are composited
1685 across toplevels, i.e. BACKGROUND and OVERLAY).
1686 (review_buffer_composite):
1687 Revise to use new methods.
1693 2002-05-31 Laszlo Peter <laca@sun.com>
1695 * configure.in: add the Xtst libdir to the runpath on Solaris,
1696 since it's not in the default library search path.
1698 2002-05-29 jacob berkman <jacob@ximian.com>
1700 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1702 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1704 * test/screen-review-test.c:
1705 (text_chunk_pad_string):
1706 Added method, which pads the string according to the
1707 text bounds of the chunk. It also takes a 3-character
1708 string as a param which indicates the characters to be
1709 used for start, padding, and end delimitation of the chunk.
1710 (text_chunk_to_string):
1711 Changed to use text_chunk_pad_string.
1713 * configure.in: Fixed bug in AC_OUTPUT that was
1714 causing path substitution in Accessibility_Registry.server
1717 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1719 * text/screen-review-test.c:
1720 (guess_string_clip):
1721 New method which attempts a best-guess at clipping
1722 text from components (like Java labels) which don't
1723 actually implement AccessibleText. This inaccurate
1724 clip is based on the assumption that the label is
1725 justified left-and-right, and monospaced.
1726 (text_chunk_get_clipped_string):
1727 We now call guess_string_clip() for text-containing
1728 components that don't implement AccessibleText.
1730 * test/screen-review-test.c:
1731 (review_buffer_get_text_chunk):
1732 We now pull "name" from labels if they do not implement
1733 AccessibleText (i.e. for Java labels).
1734 (get_screen_review_line_at):
1735 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1738 Replaceded AC_OUTPUT target
1739 registryd/Accessibility_Registry.server with
1740 registryd/Accessibility_Registry.server.in.
1742 * registryd/Accessibility_Registry.server.in:
1743 Removed (this is now a Makefile target).
1745 * registryd/Accessibility_Registry.server.in.in:
1746 Added (source for target above). We now use $(libexecdir) as
1747 prefix for the executable at-spi-registryd.
1749 * registry/Makefile.am:
1750 Now install at-spi-registryd into $(libexecdir), and build .server
1751 file with path (see above).
1753 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1755 * test/screen-review-test.c:
1756 (text_chunk_get_clipped_string):
1757 We now check to see if words fall within clip bounds
1758 before resorting to character-by-character clip bounds testing.
1760 * TODO: Added a section for "2.2 Proposed API Additions".
1762 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1764 * test/screen-review-test.c:
1766 Added a screen review benchmarking and test program to test
1769 * cspi/spi_accessible.c:
1771 Made some of the debug strings passed to cspi_check_ev a
1772 little more specific.
1774 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1776 * test/screen-review-test.c: Fix crashes in debug statements
1778 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1780 * test/screen-review-test.c: Added this file.
1782 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1784 * atk-bridge/bridge.c: changed "object:state-change" to
1785 "object:state-changed" to match docs.
1787 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1789 * atk-bridge/bridge.c: Hooked up state-change event details.
1791 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1793 * registryd/registry.c:
1794 Fixed quarking bug in event string parsing; now events with
1795 detail parameters get matched correctly to listeners.
1798 * util/idl/Magnifier.idl: remove.
1800 * util/*.[ch]: Remove.
1801 Magnification utilities and IDL are now in module gnome-mag.
1803 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1805 * registryd/deviceeventcontroller.c:
1806 Fixed bug in grab key conversion which was causing keycode grabs
1807 to be converted to AnyKey grabs.
1810 updated NEWS file to reflect recent spin-off of gnome-mag.
1812 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1814 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1815 busted AccessibleStateSet_compare. Removed redundant casts.
1817 * cspi/spi-action.c: Removed redundant casts.
1819 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1821 * cspi/spi_component.c: Fixed typos and casting error.
1823 * cspi/spi_editabletext.c: Removed redundant casts.
1825 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1827 * cspi/spi_hypertext.c: Eliminated redundant casts.
1829 * cspi/spi_image.c: Eliminated redundant casts.
1831 * cspi/spi_registry.c: Eliminated redundant casts.
1832 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1833 * cspi/spi_selection.c: Removed redundant casts.
1834 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1835 handling. Screen geometry and text offsets were being returned as 0
1836 on error which is technically valid-- changed these to return -1.
1837 Added marshaller for text boundary types to fix bug with boundary
1838 types being passed incorrectly to atk.
1840 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1843 * cspi/spi_registry.c:
1844 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1845 which was uncovered by the recent key changes.
1847 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1849 * test/event-listener-test.c:
1851 Added new test, "event-listener-test";
1852 this code does two things; it benchmarks traversal time
1853 for the accessible hierarchy for the first running accessible
1854 app, and it connects listeners for all supported event types.
1855 It is thus useful as an example event listener and for
1856 diagnostics/debugging of event generation.
1858 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1861 Removed unnecessary dependency on libutil.
1864 Revved micro version: 0.13.1
1866 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1869 Removed util/Makefile from targets.
1872 Removed util subdir from SUBDIRS (temporarily,
1873 pending removal of magnifier-only code
1877 #ifdef-ed out magnifier dependencies, since
1878 magnifier IDL, headers, and binary now live in
1879 module gnome-mag and we don't want at-spi to depend
1880 on gnome-mag. A magnifier demo which can run alongside
1881 simple-at is forthcoming in the gnome-mag module.
1883 NOTE: Split magnifier binary, IDL, and magnification
1884 activation code from at-spi into module gnome-mag.
1886 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1888 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1889 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1891 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1894 Revved to version 0.13.0
1896 * idl/Accessibility_Registry.idl:
1897 Changed definition of KeySet from sequence of longs to sequence of
1898 KeyDefinitions, and added KeyDefinition struct.
1899 Required for fix to bug 80616.
1901 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1902 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1903 to use new definition (see above).
1905 * registryd/deviceeventcontroller.c: handle_keygrab(),
1906 spi_keyset_contains_key():
1907 Changed to make use of new struct; this allows matching based on
1908 string key-name, for instance "Tab". This also allows matching of
1909 composed characters, non-alphanumeric characters in a way that
1910 doesn't involve dependencies on X keysym codes directly, etc.
1912 * test/key-listener-test.c:
1913 Added test for Alt-Tab key using "string" specification of keyset,
1914 and modified one of the tests to use a keycode-based keyset.
1915 Thus this test both tests and demonstrates the creation and use of
1916 keysets of three forms: specified via keycode array,
1917 keysym array, and string array. (The string case only contains a
1918 single string, i.e. a string array of length 1).
1921 Turned on PRINT_TREE option by default. Also fixed a
1922 string-freeing bug in the PRINT_TREE code.
1923 Added a listener to window:minimize events.
1925 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1927 * atk-bridge/bridge.c:
1928 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1929 for window:activate and window:deactiveate
1930 (atk_bridge_property_event_listener atk_bridge_signal_listener
1931 atk_bridge_window_event_listener) Tidy debug code
1933 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1935 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1936 Fixed handling for NULL return value from ATK.
1938 * libspi/action.c libspi/component.c libspi/editabletext.
1939 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1940 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1941 Removed redundant casts.
1943 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1944 Fixed off by one bug.
1946 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1947 function not present in idl)
1949 2002-05-02 jacob berkman <jacob@ximian.com>
1951 * atk-bridge/Makefile.am: make atk-bridge a real module
1953 2002-04-26 Radek Doulik <rodo@ximian.com>
1955 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1956 atk_state_types table
1958 2002-04-22 jacob berkman <jacob@ximian.com>
1961 * libspi/Makefile.am: add deps on the built files to help
1962 automake, and don't version the ORBit typelib
1964 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1966 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1967 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1968 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1969 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1970 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1971 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1972 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1973 libspi/accessible.h libspi/accessible.h libspi/base.h
1974 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1975 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1976 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1977 libspi/spi-private.h libspi/statetset.h libspi/table.h
1978 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1979 util/mag_client.h util/mag_control.c util/mag_image.c
1980 util/mag_image.h util/magnifier.c util/magnifier.h:
1981 Add missing file headers; standardize existing ones
1983 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1985 * atk-bridge/bridge.c: Added window event support.
1987 2002-04-18 Michael Meeks <michael@ximian.com>
1989 * libspi/relation.c (impl_getNTargets): impl.
1990 (impl_getTarget): impl.
1992 * libspi/Makefile.am: fix stateset install.
1994 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1997 Started putting useful info in this file.
1999 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2001 * atk-bridge/bridge.c:
2002 Propagate state-changed notifications to ATs
2004 * cspi/spi_registry.c: update docs to reflect actual behavior of
2005 state-change events.
2007 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2010 Incremented version to 0.12.1
2012 * util/mag_client.h:
2013 Add missing declaration for magnifier_exit,
2014 used by mag_control.c - Forte compiler didn't like
2015 the implicit redeclaration of the function :-(
2018 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2021 Revved version to 0.12 due to API change (see below).
2023 * cspi/spi-roletypes.h:
2024 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2025 definition from the inline docs, and added docs
2026 for SPI_ROLE_LAST_DEFINED.
2029 * cspi/spi_streamablecontent.c:
2030 Added missing seek_type parameter to
2031 (so far unused) method,
2032 AccessibleStreamableContent_seek().
2033 [ RT approval JodyG. ]
2036 Fixed docs for SPI_createAccessibleKeystrokeListener.
2038 * cspi/spi_registry.c:
2039 Fixed docs for SPI_KEYSET_ALL_KEYS.
2041 * docs/reference/cspi/at-spi-cspi-sections.txt:
2042 Added a number of missing APIs to SECTIONS.
2044 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2046 * registryd/Makefile.am:
2048 * cspi/bonobo/Makefile.am:
2049 Add $(X_LIBS) to makefiles.
2051 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2054 Revved version to 0.11.
2056 * libspi/component.c:
2057 Added implementation for grabFocus.
2059 * idl/Accessibility_Component.idl
2060 (Accessibility_Component_grabFocus):
2061 Made this method return boolean to indicate success or failure, to
2062 be consistent with cspi and the corresponding ATK method.
2064 * idl/Accessibility_Selection.idl
2065 (Accessibility_Selection_selectAll) :
2066 Made these methods return boolean to indicate success or
2067 failure, to be consistent with cspi and the corresponding ATK methods.
2069 * idl/Accessibility_EditableText.idl
2070 (Accessibility_EditableText_setTextContents,
2071 Accessibility_EditableText_insertText,
2072 Accessibility_EditableText_cutText,
2073 Accessibility_EditableText_deleteText,
2074 Accessibility_EditableText_pasteText):
2075 Made these methods return boolean to indicate
2078 * cspi/spi_editabletext.c:
2079 Made these methods return booleans.
2081 * libspi/selection.c:
2082 * libspi/component.c:
2083 * libspi/editabletext.c:
2084 Connected the boolean returns from ATK
2085 to the server-side code referenced above.
2087 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2089 * idl/Accessibility_Table.idl: Added missing methods,
2090 Accessibility_Table_addRowSelection,
2091 Accessibility_Table_addColumnSelection,
2092 Accessibility_Table_removeRowSelection,
2093 Accessibility_Table_removeColumnSelection.
2096 Added C wrappers for above IDL:
2097 AccessibleTable_addRowSelection,
2098 AccessibleTable_addColumnSelection,
2099 AccessibleTable_removeRowSelection,
2100 AccessibleTable_removeColumnSelection.
2103 Added server-side implementation code for IDL above, connecting
2104 to pre-existing ATK api.
2106 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2108 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2110 * libspi/accessible.c: Added implementation fo
2111 Accessibility_Accessible_get_state.
2113 * libspi/libspi.h: Added stateset.h to the list of includes.
2115 * libspi/stateset.c: Fixed broken implementation.
2117 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2120 Added implementation code for Accessibility_Magnifier_exit ().
2122 * util/mag_control.c:
2123 Added test code for above method; you can
2124 now kill an existing magnifier via
2125 ./mag_control q, from the util directory.
2127 * test/key-listener-test.c:
2129 Added a new test, for our key listener API.
2131 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2133 * test/app.c, test/keysynth-demo.c:
2135 Replace use of snprintf with g_snprintf.
2136 (fix for bugzilla 78249)
2138 2002-03-27 Michael Meeks <michael@ximian.com>
2142 * util/Makefile.am (INCLUDES): fix.
2143 (DONT_DIST_SOURCE): don't distribute the
2146 * libspi/Makefile.am (dist-hook): ditto.
2148 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2150 * libspi/hypertext.c:
2151 Fix warnings when yelp is used with atk-bridge
2153 2002-03-21 Michael Meeks <michael@ximian.com>
2155 * libspi/application.c (spi_application_new):
2156 use spi_accessible_construct so we use the AtkObject
2159 2002-03-19 Michael Meeks <michael@ximian.com>
2161 * registryd/registry.c (desktop_remove_application),
2162 (desktop_add_application): clean coding style.
2164 * registryd/desktop.c (spi_desktop_remove_application),
2165 (spi_desktop_add_application): kill re-enterency hazards.
2166 (spi_desktop_dispose): remove bogus redundant cast
2167 obscuring bug; fix bug too.
2168 (spi_desktop_init): make the desktop object immortal.
2170 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2173 Added a #define-guarded tree-traversal step
2174 when enumerating the apps (diagnostic tool).
2176 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2178 * idl/Accessibility_Role.idl:
2179 Added ROLE_DRAWING_AREA which seemed to be missing from the
2182 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2184 * cspi/spi-roletypes.h cspi/spi_accessible.c
2185 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2188 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2189 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2190 AT when applications are added and removed from the desktop. This
2191 reverts the previous broken implementation using the backing
2192 AtkObject for the SpiDesktop.
2194 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2196 * registryd/desktop.c: emit the "children-changed::add" and
2197 "children-changed::remove" signals on the backing ATK object for
2198 the desktop so AT can tell when applications are started and shut
2201 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2203 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2205 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2207 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2209 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2211 * cspi/state-types.h: synched with IDL and ATK
2213 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2215 * libspi/accessible.c
2216 (impl_accessibility_accessible_get_child_at_index):
2217 Change return value for g_return_if_fail ()
2218 to CORBA_OBJECT_NIL instead of "0" (!)
2220 * registryd/Makefile.am:
2221 * registryd/Accessibility_Register.server.in:
2222 Changed name of executable, "registryd",
2223 to something more informative:
2226 2002-03-13 Michael Meeks <michael@ximian.com>
2228 * atk-bridge/bridge.c (atk_bridge_init): don't register
2229 if we're in a bonobo-component, rather than a bonobo app.
2231 2002-03-13 Michael Meeks <michael@ximian.com>
2233 * atk-bridge/bridge.c (gtk_module_init): split
2234 out body to (atk_bridge_init): here, since otherwise
2235 we get symbol conflicts and oddness when invoked
2236 from (gnome_accessibility_module_init): here (upd.)
2238 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2241 New file. Explicitly allow "build sheriff" putbacks provided
2242 they are tested on Solaris.
2244 * docs/reference/cspi/Makefile.am:
2245 Added '-' to the "cp" command for index.sgml.
2246 ("patch by thomasvs, soon coming to a GUADEC near you")
2249 Incremented version number (0.9.0) for new release.
2250 Changed macro that checks for popt, to better detect
2251 obsolete versions of popt.
2254 Added X_LIBS to AC_SUBST, for applications
2255 that call Xlib API directly.
2258 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2261 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2264 Fix regression caused by hard-coding major
2265 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2268 * test/test-simple.c (test_editable_text),
2269 (test_test): revert previous change (error was
2270 a regression in gail which is now fixed).
2272 2002-03-04 Michael Meeks <michael@ximian.com>
2274 * test/test-simple.c (test_editable_text),
2275 (test_text): pass G_MAXINT instead of '-1' for
2276 whole string - is this a good thing !?
2278 * cspi/spi_accessible.c
2279 (Accessible_getRelationSet): fix crasher bug
2280 overwriting the end of the array.
2282 * test/test-simple.c (validate_accessible): free,
2283 not g_free returned relation set.
2285 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2287 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2288 implemented stateset support
2290 * idl/Accessibility_State.idl: Made necessary changes to
2291 the IDL to support state sets.
2293 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2295 * registryd/deviceeventcontroller.c:
2296 Added implementation for generateMouseEvent.
2298 * cspi/spi_registry.c:
2299 Connected new implementation for generateMouseEvent
2302 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2305 Incremented revision (but no change in public API
2306 outside of 'utils', which are not installed public yet.)
2308 * libspi/component.c:
2309 Changed to use atk_component API for layers and
2310 mdi_zorder, instead of deprecated atk_object API.
2312 Magnification Utility Enhancements:
2315 Added implementation of createZoomRegion, clearAllZoomRegions,
2316 resizeZoomRegion. Added new commandline argument
2317 "--no-initial-region". Note that clearAllZoomRegions doesn't
2318 unmap the old '0' region as it should (yet), and the other
2319 methods only work when creating/resizing a single region,
2320 which is "region 0".
2321 (Code for multiple region support will be added later.)
2324 Now we raise the magnifier window each time it's refreshed;
2325 this will help keep it on top.
2327 * util/mag_client.h:
2328 Added simple wrappers for above, used by mag_control.
2329 For general use, it's recommended to use the bonobo magnifier
2330 control API directly instead of using these wrappers.
2333 Moved ZoomRegionData from magnifier.c to this file.
2335 * util/mag_control.c:
2336 Added some code to exercise new IDL implementations.
2338 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2340 * libspi/text.c: Provide implementation for getAttributes.
2342 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2345 Incremented revision.
2347 * test/test-simple.c:
2348 Replaced use of deprecated g_main_iteration with
2349 g_main_context_iteration.
2351 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2354 Incremented revision for desktop alpha 2.
2356 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2358 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2361 * test/simple-at.c: include netinet/in.h.
2363 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2365 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2366 use NULL, not CORBA_OBJECT_NIL.
2368 * libspi/accessible.c:
2369 (impl_accessibility_accessible_get_relation_set):
2370 allocate the sequence correctly.
2372 * libspi/remoteobject.h: kill spi_remote_object_new.
2374 * test/test-simple.c: (validate_accessible): add code
2375 to test relation sets, now all we need is to figure
2376 out how to excercise this code path :/
2378 2002-01-18 Michael Meeks <michael@ximian.com>
2380 * test/test-simple.c
2381 (key_listener_cb): consume the key.
2382 (test_keylisteners): update.
2383 (main): wait for any pending unrefs on events.
2385 * registryd/deviceeventcontroller.c
2386 (spi_controller_update_key_grabs): only re-issue the
2387 grab on a key release.
2388 (spi_device_event_controller_forward_key_event):
2389 refresh the keygrabs before we notify the listeners,
2390 to reduce the X ungrab / re-grab race.
2391 (spi_controller_register_with_devices): remove
2392 XSelectInput - we do that with the gdk_window_ call.
2393 (_spi_controller_device_error_handler): return a value.
2394 s/GDK_DISPLAY/spi_get_display/
2396 2002-01-17 Michael Meeks <michael@ximian.com>
2398 * registryd/deviceeventcontroller.c
2399 (_deregister_keygrab): don't blow out the later
2402 * test/test-simple.c (test_keylisteners): do a
2403 more intelligent validation.
2405 2002-01-14 Michael Meeks <michael@ximian.com>
2407 * atk-bridge/bridge.c
2408 (gnome_accessibility_module_init),
2409 (gnome_accessibility_module_shutdown): impl.
2410 (gtk_module_init): protect vs. double inits.
2411 (add_signal_listener): impl.
2412 (spi_atk_bridge_state_event_listener): kill
2413 (deregister_application): split out of
2414 (spi_atk_bridge_exit_func): here.
2416 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2419 Added caret tracking when using magnifier, and
2420 now use text bounds for focus tracking of text elements, rather than
2421 the component bounds - this is helpful for short text fields in long
2422 table cells, at high magnification.
2424 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2426 * registryd/deviceeventcontroller.c:
2427 Regression fix for keylistener de-registration; global keygrabs
2428 were not being released when deregisterKeystrokeListener was
2429 called in cspi, since
2430 Accessibility_DeviceEventController_deregisterKeystrokeListener
2431 was called with a zero-length keyset. That is because the cspi
2432 method, SPI_deregisterKeystrokeListener, does not take a keyset
2433 parameter but instead should remove all the key grabs held be a
2435 The code in impl_deregister_keystroke_listener was changed to copy
2436 the keylist from the listener instance previously registered with
2437 the DeviceEventController before releasing the grabs.
2439 * registryd/registry.c:
2440 * registryd/deviceeventcontroller.c:
2441 * libspi/spi-private.h:
2443 Changed spelling of "re-enterant" to "re-entrant" globally.
2445 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2447 * test/test-simple.c:
2448 Changed key listeners test - the test was slightly mis-using the
2449 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2450 It now uses '=' as the key event listened to and generated,
2451 relying on a keysym match rather than assuming that keycode 33
2452 is always equal to keysym '!'.
2454 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2457 Changed simple-at to use a specific keyset, rather than
2458 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2459 manager, desktop, etc.
2461 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2463 * registryd/deviceeventcontroller.c:
2464 Replaced standard X error handler with a special handler that
2465 is non-fatal for failed keygrabs. This works around
2466 problems with keygrab clashes sometimes observed on
2468 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2469 mouse handling code as yet).
2471 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2474 Incremented revision for desktop alpha release.
2477 Fixed a couple of the more glaring errors (still not
2480 2002-01-11 Michael Meeks <michael@ximian.com>
2482 * registryd/deviceeventcontroller.c
2483 (spi_device_event_controller_forward_key_event): kill
2484 XUngrabKey / XKeyGrab race.
2485 (spi_controller_grab_keyboard): rename to
2486 (spi_controller_update_key_grabs): this, and deal
2487 with incremental adding / removing grabs more
2489 (_register_keygrab): ensure we're not pending a remove.
2490 (spi_grab_mask_free): impl.
2491 (spi_controller_register_global_keygrabs): split out
2493 (handle_keygrab): impl.
2494 (_deregister_keygrab): impl.
2495 (spi_controller_deregister_global_keygrabs): impl.
2496 (spi_controller_update_key_grabs): re-issue the grab if
2497 we just recieved a notification.
2499 * test/test-simple.c (key_listener_cb): remove debug.
2501 * registryd/deviceeventcontroller.c
2502 (spi_controller_register_device_listener): after
2503 registering a global keygrab, actualy register it !
2504 don't wait for a timeout; doh !
2506 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2507 to make it more readable / manipulable.
2508 s/grabmask/grab_mask/ s/refcount/ref_count/
2509 s/keyval/key_val/ s/modmask/mod_mask
2511 2002-01-08 Michael Meeks <michael@ximian.com>
2513 * registryd/deviceeventcontroller.c
2514 (spi_controller_register_with_devices): use gdk calls to
2516 (global_filter_fn): implement the filter.
2517 (spi_device_event_controller_check_key_event): rename to
2518 (spi_device_event_controller_forward_key_event): this & upd.
2519 (spi_get_display): replace with GDK_DISPLAY.
2521 * registryd/deviceeventcontroller.c
2522 (spi_controller_deregister_device_listener): unroll into
2523 (impl_deregister_keystroke_listener): here to simplify.
2524 (spi_controller_register_global_keygrabs): split cut and
2525 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2526 (spi_controller_deregister_device_listener): remove.
2527 (impl_register_mouse_listener): remove, no mouse listener
2528 support in at-spi-1.0
2530 * registryd/registry.c
2531 (_device_event_controller_hook): kill.
2532 (spi_registry_init): upd.
2534 * registryd/deviceeventcontroller.c
2535 (spi_device_event_controller_class_init): upd.
2536 (spi_check_key_event): merge into.
2537 (spi_device_event_controller_check_key_event):
2538 here and kill strange static ev init, don't leak
2539 the x_event - nor dynamicaly allocate it.
2541 * registryd/registry-main.c (main): re-direct
2542 timeout to remove strange vtable mess.
2544 * registryd/deviceeventcontroller.c
2545 (remove_listener_cb): impl.
2546 (spi_controller_deregister_device_listener):
2547 fix re-enterancy hazard.
2549 2002-01-07 Michael Meeks <michael@ximian.com>
2551 * registryd/deviceeventcontroller.c
2552 (spi_device_event_controller_new): upd.
2553 (impl_notify_listeners_sync): upd. debug.
2554 (spi_notify_keylisteners): fix re-enterancy hazards,
2555 prettify, remove O(n*n) iteration.
2556 (spi_controller_grab_keyboard): fix iteration.
2557 (spi_check_key_event): re-format to suit coding style.
2558 Clean all the warnings - we're warning free.
2560 * registryd/deviceeventcontroller.h:
2561 * registryd/registry.h: make mutualy referential with
2562 typesafe forward references instead of (!) void pointer
2565 2002-01-11 Michael Meeks <michael@ximian.com>
2567 * cspi/spi_accessible.c (role_names): add a role name
2568 to sync this array with the enum; and make the regression
2571 2002-01-10 Michael Meeks <michael@ximian.com>
2573 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2574 allow expansion of enumeration & kill warning.
2576 * test/test-simple.c (key_listener_cb): impl.
2577 (test_keylisteners): impl.
2579 * cspi/spi-listener.h: make listener signatures const
2580 on the provided (const) events.
2582 * test/keysynth-demo.c: upd. to const events.
2584 * test/simple-at.c: ditto.
2586 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2589 Rev the version to 0.5 (the previous tarball was named 0.4,
2590 even though the micro number was 3), so we need to rev upwards
2591 again for beta2/"desktop-alpha"
2594 Checked in a demo script, which requires editing before use!
2595 Proceed with caution.
2598 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2600 * cspi/spi_accessible.c:
2601 Add a couple of missing enum initializations, and fix some enum
2604 * cspi/spi_registry.c:
2605 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2607 * docs/reference/cspi/at-spi-cspi-sections.txt:
2608 Remove/fix a couple of broken document references.
2611 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2612 as Alt-Control to listen for commands, since on some systems
2613 Control-Alt may already be grabbed.
2615 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2618 Update version number to 0.4 for Beta2.
2620 * libspi/accessible.c, libspi/accessible.h:
2621 Expose spi_accessible_construct, to enable libgail-gnome
2622 construction from spi_accessible subtype.
2624 * utils/magnifier.c:
2625 Workaround for bug in some non-gnome-compliant window managers
2626 which made magnifier resize improperly.
2628 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2630 * libspi/accessible.c: (spi_accessible_new) :
2631 Move the test for SPI_IS_REMOTE_OBJECT to
2632 spi_accessible_new_return, fixing a bug and compile time warning.
2634 2002-01-08 Michael Meeks <michael@ximian.com>
2636 * registryd/registry.c (parse_event_type): remove strndup.
2638 * libspi/Makefile.am (libspi_la_SOURCES): remove
2639 sources already included in the headers section.
2641 * libspi/util.c: add.
2643 * libspi/spi-private.h: add.
2645 * registryd/registry.c: update to moved list iterators.
2647 2002-01-05 Michael Meeks <michael@ximian.com>
2649 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2651 * test/test-simple.c (main): ditto.
2653 2002-01-04 Michael Meeks <michael@ximian.com>
2655 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2656 redundant construct.
2658 * registryd/registry.c
2659 (get_listener_list): impl.
2660 (impl_accessibility_registry_register_global_event_listener):
2661 re-impl. to simplify using ~, remove dodgy const cast off.
2662 (parse_event_type): constify.
2663 (impl_accessibility_registry_deregister_global_event_listener_all):
2664 re-write, more efficiency and simplicity, kill re-enterancy
2666 (compare_listener_corbaref, compare_corba_objects),
2667 (compare_listener_quarks): define out.
2668 (impl_accessibility_registry_deregister_global_event_listener):
2669 re-write for effiency, and nail re-enterancy hazard.
2670 (impl_accessibility_registry_get_desktop_list): impl.
2671 (re_enterant_list_delete_link): impl.
2672 (re_enterant_list_foreach): impl.
2673 (remove_listener_cb): impl.
2674 (_registry_notify_listeners): kill.
2675 (notify_listeners_cb): impl.
2677 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2678 (SPI_getDesktopList): impl.
2680 * test/test-simple.c (test_desktop): test the methods.
2682 2002-01-03 Michael Meeks <michael@ximian.com>
2684 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2685 keystrings since we free them
2686 (SPI_freeAccessibleKeySet): in here.
2688 * libspi/accessible.c (spi_accessible_new): kill warning,
2689 wonder what is going on with the constructor here.
2691 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2693 * libspi/accessible.c (spi_accessible_new ()) :
2694 Added check to see if AtkObject is an SpiRemoteObject before
2695 creating an SpiAccessible.
2697 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2699 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2700 Enable keygrabs using the Control modifier, now that they are
2701 working properly (they were previously disabled).
2704 Change the command keygrab for this demo to "Control+Alt", so as
2705 to conflict with fewer other key commands on the system; this
2706 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2708 Removed a pointlessly-chatty keylistener for unshifted keys
2709 (shifted keys are still reported).
2711 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2713 * libspi/remoteobject.h:
2714 * libspi/remoteobject.c:
2715 Added definitions for special AtkObject subtype, required for
2716 support of remote components (specifically, used by BonoboControl
2717 accessibility implementation).
2719 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2721 * cspi/spi.h: synched relation types with ATK
2723 * cspi/spi_accessible.c: Added implementations of
2724 AcccessibleRelation_* methods
2726 * idl/Accessibility_Relation.idl: added getRelationTypeName
2727 method. Synched known relation types with ATK. Allowed for
2728 relation type extension with the RELATION_EXTENDED type.
2730 * libspi/relation.c: Provided implementations for
2731 AccessibleRelation methods.
2733 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2735 API tweaks for today's API 'freeze'.
2738 Added placeholder functions to allow future compatible expansion
2739 of the IDL interfaces.
2741 * idl/Accessibility_Registry.idl:
2742 Changed generateKeyEvent to generateKeyboardEvent. Changed
2743 signature of this method to accept an optional keystring in
2744 parameter (for complex text input synthesis) and changed use of
2745 simple 'boolean' parameter in registerKeystrokeListener to a
2746 struct, EventListenerMode.
2748 * cspi/spi_accessible.c:
2750 * cspi/spi_streamablecontent.c:
2751 Added references to AccessibleStreamableContent interface, and
2752 definition and implementation of AccessibleStreamableContent
2755 * cspi/spi_registry.c:
2757 Changed generateKeyEvent API to generateKeyboardEvent,
2758 taking a new (optional) keystring parameter to support complex
2763 Renamed directory (to better reflect its actual purpose, bridging
2764 from at-spi to ATK). The .so module is also now named
2767 * idl/Accessibility_Hypertext.idl:
2768 * libspi/accessible.c:
2769 * libspi/hypertext.h:
2770 * libspi/hypertext.c:
2771 Changed Accessibility_Hypertext to *not* derive from
2774 * cspi/spi_registry.c:
2775 Added list of legal event type names for 'window' events, which
2776 completes the registry event API.
2778 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2780 * at-bridge/bridge.c: Added registration for separate
2781 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2782 signals. If either of the first two parameters to the generic
2783 bridge signal handler are ints, they are passed on as event
2784 details. This allows an AT to determine what text was inserted.
2786 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2788 * registryd/deviceeventcontroller.c:
2789 Fixed regressions in generateKeyEvent caused by the removal of
2790 gdk_init from registryd; we now use pure X calls to connect to the
2791 display, which makes sense because deviceeventcontroller already
2792 uses a fair bit of X API (should eventually be migrated to a
2793 'portability layer').
2795 * registryd/desktop.c:
2796 Fixed minor regression in spi_desktop_init, changed the way the
2797 desktop name is being set to work with new spi_base API
2798 (gobject-based, rather than AtkObject-based).
2800 * registryd/Makefile.am:
2801 Minor revision of makefile to use XTST_LIBS variable rather than
2802 hard-wiring the Xtst LD_ADD element.
2804 * test/keysynth-demo.c:
2805 Tweaked an output message; added initialization of the
2806 'keystrings' member of the "switch listener" key_set.
2808 * libspi/relation.c:
2809 Squashed compile-time warning.
2811 * libspi/accessible.c:
2812 Cosmetic and formatting fixes, renamed a static method.
2814 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2816 * libspi/accessible.c
2818 * libspi/application.c
2821 * libspi/component.c
2822 * libspi/editabletext.c
2823 * libspi/hyperlink.c
2824 * libspi/hypertext.c
2826 * libspi/selection.c
2830 * registryd/desktop.c:
2831 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2833 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2835 * idl/Accessibility_Registry.idl:
2836 Added boolean member 'is_text' to DeviceEvent. This is for the
2837 use of key events, and helps prevent ambiguity between composed
2838 key strings and keysym names, since both may potentially be
2839 returned in the 'event_string' member.
2841 * at-bridge/bridge.c:
2842 * registryd/deviceeventcontroller.c:
2843 Use the 'is_text' member when notifying device event listeners.
2844 Knon issue: composed characters are not dealt with correctly by
2845 the global key listener implementation yet.
2847 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2849 * at-bridge/bridge.c:
2850 Namespaced local static methods to spi_atk_bridge_* where
2851 previously named bridge_*, and spi_* elsewhere.
2853 * at-bridge/bridge.c:
2854 * cspi/bonobo/cspi-bonobo-listener.c:
2855 Added demarshalling/conversion for string member of
2856 Accessibility_DeviceEvent to AccessibleKeystroke.
2858 * registryd/deviceeventcontroller.c:
2859 Added code to fill the Accessibility_DeviceEvent key string value
2860 member for global key events (i.e. from XGrabKey), to match
2861 behavior of Accessibility_DeviceEvent from the toolkit key events
2862 from the bridge. Fixed timestamp in global key event notifications.
2865 Added printout of key event's string value to
2866 report_ordinary_key_event, for demo/debugging purposes.
2868 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2870 * idl/Accessibility_Registry.idl:
2871 Removed Accessibility_KeyStroke structure in favor of generic
2872 Accessibility_DeviceEvent structure.
2873 Changed Accessibility_ControllerEventMask from a struct to an
2876 * at-bridge/bridge.c:
2877 Changed APIs to use DeviceEvent structure as above, and removed
2878 bogus casting between these event structures.
2880 * cspi/spi-listener.h:
2881 Added keystring member of AccessibleKeystroke structure, to enable
2882 matching on event "names" rather than only hardware codes and
2886 Added keystrings member of AccessibleKeySet struct, to allow
2887 matching on event names (as above).
2888 Added declarations for SPI_createAccessibleKeySet and
2889 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2890 event modmasks directly as unsigned ints rather than structs with
2891 refcounts, in the DeviceEventController methods.
2893 * cspi/spi_registry.c:
2894 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2896 * cspi/spi-roletypes.h:
2897 Added documentation of newly added SPI Roles.
2899 * cspi/bonobo/cspi-bonobo-listener.c:
2900 Changes in support of API changes above.
2902 * libspi/accessible.c:
2903 Converted APIs to use DeviceEvent structure (see IDL changes
2906 * registryd/deviceeventcontroller.c:
2907 Added DEControllerGrabMask structure to track keygrabs not only by
2908 modmask but by keyset as well; this allows us to do "global"
2909 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2910 grabbing on AnyKey and then filtering after-the-fact.
2911 Bugfixes for event filtration mean that we don't get false matches
2912 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2914 * registryd/deviceeventcontroller.c:
2915 Namespaced a number of static methods to use spi_ prefix. Major
2916 revision to internals of global (i.e. X) key grabs.
2918 * registryd/deviceeventcontroller.h:
2919 Removed keymask_list and added keygrabs_list to
2920 SpiDeviceEventController struct.
2923 Added use of SPI_createAccessibleKeySet API when creating a
2924 listener for only one key. Attach a listener to "shift spacebar
2925 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2926 X key event names to SPI key event names, so that listeners are
2927 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2929 * test/keysynth-demo.c:
2930 Changed (incorrect) use of X key event names (KeyPressed,
2931 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2934 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2936 * libspi/accessible.c:
2937 Convert all AtkRole enumerations to Accessibility_Role enums when
2938 getting a role from an AtkObject.
2940 * cspi/spi_accessible.c:
2941 Complete the conversion of Accessibility_Role enums at runtime to
2942 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2943 role enums correctly match those given in spi-roletypes.h.
2944 Re-synchronize the local names list for AccessibleRole_getName ().
2945 AccessibleRole_getName is now deprecated, since it duplicates the
2946 more reliable Accessible_getRoleName.
2947 Added some role types from Accessibility_Role.idl.
2949 * idl/Accessibility_Role.idl:
2950 Added some role types used by AtkRole.
2952 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2955 * cspi/spi_registry.c:
2957 * cspi/cspi-bonobo-listener.c:
2958 Namespaced all methods that did not begin with an "SPI_" or
2959 "Accessible" prefix to "SPI_".
2962 Homogenized internal function namespace to "cspi_" for statics.
2965 Patched tests to use the new CSPI API.
2967 * docs/reference/cspi/at-spi-cspi-sections.txt:
2968 Updated docs to reflect namespace changes, and added a number of
2969 methods to the documentation.
2971 * registryd/registry.c:
2972 Changed use of strings and string hashes in listener event
2973 matching and parse_event_string to use GQuark, which is guaranteed
2976 * registryd/registry.h:
2977 Squashed annoying warning.
2979 * idl/Accessibility_Role.idl:
2980 Extended range of available Accessibility_Role values.
2982 * cspi/spi_accessible.c:
2983 Re-ordered role names.
2985 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2987 * idl/Accessibility_Value.idl:
2988 Revert use of union back to CORBA_double, since the double type is
2989 more efficient and can contain the other types without loss of
2992 * idl/Accessibility_Accessible.idl:
2993 Added method Accessibility:Accessible:getRoleName, to complement
2994 Accessibility:Accessible:getRole.
2996 * cspi/spi_accessible.c:
2998 Added C binding for above, Accessible_getRoleName (), and changed
2999 signature of Accessible_getRole () to return an AccessibleRole.
3001 * cspi/spi-roletypes.h:
3002 Changed AccessibleRole_getName to return a char * instead of a
3003 const char *. This method is now at least temporarily deprecated
3004 in favor of asking Accessibles for their RoleNames directly.
3007 Revert to match Accessibility_Value.idl;
3011 Change signature of AccessibleValue methods to use double rather
3015 * cspi/spi_accessible.c:
3016 Changed Accessible_getRole to return an AccessibleRole enum rather
3017 than a UTF-8 string. The UTF-8 string can still be obtained via
3018 AccessibleRole_getName ().
3020 * test/test-simple.c:
3021 Add test_action. Small fixup to match API change to Accessible_getRole.
3024 Bugfix for get_action_from_servant ().
3026 2001-12-11 Michael Meeks <michael@ximian.com>
3028 * libspi/libspi.h: remove registry.h and
3029 desktop.h, deviceeventcontroller.h
3031 * libspi/Makefile.am: remove registry.[ch],
3032 desktop.[ch], deviceeventcontroller.[ch]
3034 * registryd/Makefile.am: add registry.[ch],
3035 desktop.[ch], rename registryd.c to registry-main.c.
3036 add deviceeventcontroller.[ch]
3038 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3041 Replace setenv() call with putenv ().
3043 * libspi/component.c:
3044 Bugfix in AccessibleComponent_getExtents (),
3047 2001-12-11 Michael Meeks <michael@ximian.com>
3049 * libspi/image.c (impl_getImageExtents): impl.
3050 (spi_image_class_init): upd.
3053 (AccessibleImage_getImageDescription): fix daft bug
3056 * test/test-simple.c (global_listener_cb): update
3057 to only quit if not --poke
3058 (main): catch --poke.
3059 (validate_accessible): upd. dumping, call test_image
3062 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3065 * idl/Accessibility.idl: update all IDL includes.
3067 * idl/*.idl - rename to namespace - this sucks, blame
3068 mjs' bad decision for oafd.
3070 * test/test-simple.c (create_test_window): add more tests.
3071 (create_tree): split this out.
3072 (validate_accessible): bugfix.
3074 2001-12-11 Michael Meeks <michael@ximian.com>
3076 * cspi/bonobo/cspi-bonobo-listener.c:
3077 (cspi_kestroke_listener_unref),
3078 (cspi_event_listener_unref): impl. undoing previous
3079 homenous environment - for Bill.
3081 * cspi/spi_table.c (long_seq_to_array): use
3084 * cspi/spi_main.c: split out all bonoboish bits into
3087 * cspi/spi-impl.h: upd. typedefs.
3089 * cspi/spi_registry.c: update to lowlevel API,
3090 return booleans to indicate success in some places.
3092 * cspi/spi_event.c: update to lowlevel API.
3094 * cspi/bonobo/Makefile.am: add.
3096 * cspi/bonobo/cspi-lowlevel.h: add
3098 * cspi/bonobo/cspi-bonobo.c: add
3100 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3102 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3103 (SUBDIRS): add bonobo, link in the libs.
3105 * cspi/spi-util.c: kill this file.
3107 * TODO: merge in my bits.
3109 2001-12-11 Michael Meeks <michael@ximian.com>
3111 * test/test-simple.c (test_value, test_table, main):
3112 remove unused variables causing warnings.
3114 * configure.in: cleanup checks - require gail.
3116 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3119 Changed Value interface to use SValue (scalars) rather than
3120 assuming all values are floats. This allows floats, doubles,
3121 longs, shorts, and unsigned values to be manipulated.
3122 Introduced Accessibility:SValue union.
3125 Updated to use new API above, and to work correctly with GValues
3126 of different types in AtkValue.
3129 Updated to use new API above. cspi's API is as yet unchanged.
3132 Updated the Value revision action item.
3134 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3136 * test/test-simple.c:
3137 Added test_table (GtkTreeView widget in test window to follow).
3138 Un-commented test_value, added GtkRange widget.
3139 Added GtkTreeView widget with GtkListStore. It passes regression
3140 test but leaks one SPI object for some reason.
3143 Fixed bug in impl__set_currentValue.
3145 2001-12-10 Michael Meeks <michael@ximian.com>
3147 * cspi/spi_text.c: audit for exception handling,
3148 tolerating NULL object references safely etc.
3150 * cspi/spi_value.c: ditto.
3152 * cspi/spi_table.c (AccessibleTable_getSummary),
3153 (AccessibleTable_getAccessibleAt),
3154 (AccessibleTable_getRowHeader),
3155 (AccessibleTable_getColumnHeader),
3156 (AccessibleTable_getCaption): fix bugs hidden by
3158 (long_seq_to_array): impl.
3159 (AccessibleTable_getSelectedRows),
3160 (AccessibleTable_getSelectedColumns): use it.
3162 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3165 Added a TODO list (rough and short for now).
3167 * cspi/spi_hyperlink.c:
3168 * cspi/spi_hypertext.c:
3169 Fixed macro name typos, and remove use of obsolete macro in
3170 AccessibleHyperlink_getLink.
3172 * cspi/spi_action.c:
3173 * cspi/spi_accessible.c:
3174 * cspi/spi_application.c:
3175 * cspi/spi_component.c:
3176 * cspi/spi_selection.c:
3179 Documentation fixes (removed return values from ref/unref methods).
3181 2001-12-10 Michael Meeks <michael@ximian.com>
3183 * cspi/spi_action.c: audit for exception handling,
3184 tolerating NULL object references safely etc.
3186 * cspi/spi_accessible.c: ditto.
3188 * cspi/spi_component.c: ditto.
3190 * cspi/spi_editabletext.c: ditto.
3192 * cspi/spi_hyperlink.c: ditto.
3194 * cspi/spi_hypertext.c: ditto.
3196 * cspi/spi_image.c: ditto.
3198 * cspi/spi_selection.c: ditto.
3200 2001-12-10 Michael Meeks <michael@ximian.com>
3202 * configure.in: use cspi/libspi.pc.in instead.
3204 * Makefile.am (pkgconfig_DATA): upd. to match.
3206 * test/simple-at.c (report_focus_event): kill hacks around
3207 bad return values, use putenv not setenv
3209 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3210 fire ChildGone - I killed it.
3212 * libspi/component.c
3213 (impl_accessibility_component_get_extents): remove
3216 * idl/Accessible.idl: kill ChildGone exception.
3218 * cspi/*.[ch]: kill int return from ref / unref.
3220 * cspi/spi_main.c (cspi_object_add_check): fold into
3221 (cspi_object_add): here.
3223 * cspi/spi_component.c (AccessibleComponent_getExtents):
3224 handle exceptions elegantly.
3226 * cspi/spi-private.h (cspi_check_ev_return),
3227 (cspi_return_if_fail): impl.
3229 * cspi/spi_accessible.c: use extensively.
3230 (AccessibleStateSet_equals): add direct compare check.
3232 * cspi/spi_selection.c: tolerate NULL objs, and check
3233 exceptions before return.
3235 * cspi/spi-util.c (cspi_warn_ev): rename to
3236 (cspi_check_ev): this & don't pass ev in; no point.
3238 2001-12-10 Michael Meeks <michael@ximian.com>
3240 * test/test-simple.c: use putenv not setenv
3241 (get_environment_vars): more chatty if you're not using
3244 * test/simple-at.c: do the setenv so more people see the
3247 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3249 * libspi/registry.c:
3250 Changed check of CORBA_environment on notification to be a warning
3251 instead of an error for the moment, since we can recover from this
3252 error when caused by a queued notification from a dead app.
3255 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3256 used by all current implementors of AtkValue), and coerce to
3257 CORBA_float. (Proper general case fix may require change to Value.idl).
3259 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3263 * cspi/spi_accessible.c:
3264 Documentation fixes: added user_data params to documentation for
3265 listeners and callbacks.
3267 * cspi/spi_accessible.c:
3268 Changed AccessibleStateSet_compare to return a
3269 StateSet rather than return the difference set into a third parameter.
3272 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3275 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3276 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3280 Remove subdirectory po from SUBDIRS for now.
3282 * at-bridge/bridge.c:
3283 Beefed up a couple of debug printouts.
3284 One-line fix for signal notification name formatting.
3286 * libspi/accessible.c:
3287 Added assertion to spi_accessible_new ().
3289 * libspi/application.c:
3290 Put #ifdef qualifiers around a printf.
3293 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3295 * registryd/Makefile.am:
3297 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3298 INTLTOOL_SERVER_RULE macro.
3301 Added an event listener for several ATK signals, for
3302 testing and debugging. Removed a few g_warnings.
3303 Added test output if focussed item implements the Value interface.
3305 * test/test-simple.c:
3306 Added test_value () function (known not to pass at the moment, so
3307 not actually called yet.
3309 2001-12-08 Michael Meeks <michael@ximian.com>
3311 * at-bridge/bridge.c (bridge_focus_tracker),
3312 (emit_eventv): fix the same ref. leak.
3313 (register_atk_event_listeners): don't leak.
3315 * cspi/spi-listener-impl.c (cspi_event): more
3316 protection from client code.
3318 * test/test-simple.c (test_desktop): unref the app.
3320 * test/Makefile.am: upd. TESTS.
3322 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3324 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3326 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3328 * cspi/spi_registry.c: constify in strings.
3329 (deregisterGlobalEventListenerAll): don't release the ref.
3331 * cspi/spi.h: start removing redundant / conflicting
3332 gtkdoc comments, making the API readable at a glance :-)
3334 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3336 * test/keysynth-demo.c (keysynth_exit, main): upd.
3338 * test/simple-at.c (main, simple_at_exit): upd.
3340 * test/test-simple.c (unutterable_horror): kill.
3341 (utterable_normal_derefs): kill.
3342 (main): upd & do a setenv before gtk_init, so that we
3343 can use memprof - and to save the pain of remembering
3344 this, if we're running under memprof - don't exit.
3346 * cspi/spi_main.c (SPI_exit): return exit status
3348 (SPI_event_quit): impl.
3349 (SPI_event_main): simplify.
3350 (cspi_is_gnome_app): kill.
3351 (SPI_init): kill isGNOMEapp arg.
3353 * at-bridge/bridge.c (register_atk_event_listeners):
3354 re-instate the unref.
3355 (bridge_exit_func): don't re-activate the registry,
3356 protect vs. theoretical re-entry, use the
3357 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3358 assert a clean shutdown - for regression tests.
3360 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3362 * configure.in: Comment out dummy i18n support for now,
3363 otherwise it fails to build.
3364 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3365 EXTRA_DIST. They are missing in tarball.
3367 2001-12-07 Michael Meeks <michael@ximian.com>
3369 * util/magnifier.c: kill bonobo activation reg. race.
3371 * libspi/component.c
3372 (impl_accessibility_component_get_extents): make it match
3375 * libspi/registry.c (_registry_notify_listeners):
3376 re-remove X headers & reconcile conflicts.
3377 (spi_listener_struct_free): bad conflict resolve.
3378 (impl_accessibility_registry_register_application):
3379 more bad merging fixed.
3380 (impl_accessibility_registry_deregister_application): ditto.
3381 (spi_registry_new): ditto.
3382 (spi_registry_init): don't have an applications field.
3384 [ merge fixups2 branch to here ]
3385 2001-12-07 Michael Meeks <michael@ximian.com>
3387 * test/simple-at.c (report_focus_event),
3388 (report_focussed_accessible): remove g_warning debug.
3390 2001-12-07 Michael Meeks <michael@ximian.com>
3392 * test/test-simple.c (validate_tree): comment out some checks.
3393 (test_desktop): app now not registered idly - horay.
3395 2001-12-07 Michael Meeks <michael@ximian.com>
3397 * cspi/spi_registry.c
3398 (registerAccessibleKeystrokeListener): clean, stop it leaking
3399 great swathes of memory, and device event controller references.
3400 ensure we always pass valid sequences.
3401 (deregisterAccessibleKeystrokeListener): ditto.
3402 (generateKeyEvent): upd.
3404 * at-bridge/bridge.c (bridge_key_listener): handle
3405 registry dead exception gracefully.
3406 (bridge_focus_tracker, emit_eventv): free ev.
3408 * test/simple-at.c (report_focus_event): fix polarity.
3410 * libspi/application.c (notify_listeners): kill the ev
3411 argument, and make sure we init the ev we use.
3412 (spi_application_object_event_listener): split out a chunk
3413 (get_atk_object_ref): here & fixup.
3414 (reverse_lookup_name_for_toolkit_event): make const.
3415 (spi_application_toolkit_event_listener): fixup, kill leaks
3418 * at-bridge/bridge.c (register_atk_event_listeners):
3419 don't unref the noop object - causes grief.
3421 * libspi/registry.c: remove the X headers.
3422 turn off the debug churn.
3424 * libspi/accessible.c (spi_accessible_new_return): only
3425 release the ref if we are supposed to [doh]
3427 * test/simple-at.c (report_button_press, report_focus_event):
3428 guard vs. unexpected exit.
3430 * at-bridge/bridge.c (gtk_module_init): prune printf.
3431 (bridge_exit_func): fix app unref.
3433 * libspi/Makefile.am: don't install registry or desktop.h
3435 * libspi/*.h: update includes.
3437 * libspi/application.h: don't include ourself, or
3438 other redundant headers.
3440 2001-12-06 Michael Meeks <michael@ximian.com>
3442 * libspi/accessible.c
3443 (get_accessible_from_servant): impl.
3444 Upd. all CORBA impl.s to use it killing cut and paste.
3446 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3448 (SPI_init): register atexit cleanup handler here.
3450 2001-12-06 Michael Meeks <michael@ximian.com>
3452 * at-bridge/bridge.c (gtk_module_init): g_error on
3453 activation exception
3455 2001-12-06 Michael Meeks <michael@ximian.com>
3457 * at-bridge/bridge.c (gtk_module_init): some sort of
3458 confusing merge clash - reverted.
3459 (bridge_idle_init): ditto.
3461 * test/test-simple.c (main, utterable_normal_derefs):
3462 merge from Bill - somehow not committed.
3464 2001-12-06 Michael Meeks <michael@ximian.com>
3466 * libspi/value.c (spi_value_class_init): upd.
3467 (spi_value_finalize): kill.
3469 * libspi/table.c (spi_table_finalize): kill.
3470 (spi_table_interface_new): upd.
3471 (spi_table_class_init): upd.
3472 (get_table_from_servant): impl.
3473 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3475 * libspi/selection.c (spi_selection_finalize): kill.
3476 (spi_selection_interface_new): upd.
3477 (spi_selection_class_init): upd.
3478 (get_selection_from_servant): impl.
3479 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3481 * libspi/relation.c (spi_relation_finalize): kill.
3482 (spi_relation_class_init, spi_relation_new): upd
3484 * libspi/image.c (spi_image_finalize): kill.
3485 (spi_image_class_init): upd.
3486 (spi_image_interface_new): upd.
3487 (get_image_from_servant): impl.
3488 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3490 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3491 (spi_hyperlink_finalize): kill.
3492 (spi_hyperlink_new): upd.
3493 (get_hyperlink_from_servant): impl.
3494 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3496 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3497 (spi_hypertext_finalize): kill.
3498 (spi_hypertext_class_init): upd.
3499 (get_hypertext_from_servant): impl.
3500 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3502 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3503 (spi_editable_text_interface_new): upd.
3504 (get_editable_text_from_servant): impl.
3505 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3507 * libspi/text.c (get_text_from_servant): impl.
3508 All impls - update to use it killing more cut and paste,
3509 also fix bad string returns on duff args ( a somewhat
3510 impossible case to handle - but hey ).
3511 (spi_text_construct): impl.
3512 (spi_text_interface_new): upd.
3513 (spi_text_object_finalize): kill.
3515 * libspi/component.c
3516 (accessibility_component_object_finalize): kill.
3517 (spi_component_class_init): upd.
3518 (get_component_from_servant): impl. helper to kill cut & paste.
3519 (impl_accessibility_component_contains):
3520 (impl_accessibility_component_get_accessible_at_point):
3521 (impl_accessibility_component_get_position):
3522 (impl_accessibility_component_get_extents):
3523 (impl_accessibility_component_get_mdi_z_order):
3524 (impl_accessibility_component_get_layer):
3525 (spi_component_interface_new): upd.
3527 * libspi/action.c (spi_action_finalize): kill.
3528 (spi_action_class_init): upd. inherit from SpiObject.
3529 (spi_action_interface_new): upd.
3530 (get_action_from_servant): impl. helper to reduce cut & paste.
3531 (impl_getKeyBinding, impl_getName, impl_doAction),
3532 (impl_getDescription): Use it everywhere.
3534 * cspi/spi_main.c (get_live_refs): a pointer hash.
3535 (spi_object_hash, spi_object_equal): comment out.
3536 There are issues with CORBA object hashing that need
3539 * libspi/application.c (spi_application_init),
3540 (spi_application_new): upd.
3542 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3543 (spi_accessible_class_init): upd.
3544 s/accessible/object/ in epv methods.
3546 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3548 * at-bridge/bridge.c:
3549 Reorder the bridge initialization into the bridge gtk_module_init,
3550 an immediate call to bridge_register_app, and an idle_add for
3551 register_atk_event_listeners (the only code that *must* wait until
3552 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3553 the activation, creates the application's Accessible object, and
3554 queues the bridge_idle_init function. Restored call to
3555 Accessibility_Registry_deregisterApplication().
3556 Prior to making this call we obtain a new reference to the
3557 registry, which is a temporary hack that helps us handle apps that
3558 shut down the bonobo mainloop before we get there.
3560 * libspi/registry.c:
3561 Fix string leakage in debug block, and don't segv if a an app
3562 dies before its event notifications have been propagated.
3565 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3566 as stopgap measure until we get proper exception handling when
3567 objects die during or before interrogation.
3571 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3572 Also changed default value of is_gnome_app to TRUE.
3575 * test/keysynth-demo.c:
3576 Changed use of SPI_init and SPI_event_main to reflect API change above.
3579 Made report_focus_event check the warning value from getName
3580 before reporting on focussed accessible; simplifies handling of
3581 notifications from dead objects.
3583 * test/test-simple.c: (Changes not in this patch since source is
3586 2001-12-05 Michael Meeks <michael@ximian.com>
3588 * registryd/registryd.c (main): protect against
3589 bonobo-activation startup race condition.
3591 * cspi/spi_main.c (cspi_object_add_check): cope
3592 with the exception elegantly.
3594 * idl/Accessible.idl: decl. ChildGone
3596 * libspi/desktop.c (spi_desktop_dispose): impl.
3597 (spi_desktop_class_init): upd.
3598 (spi_desktop_add_application),
3599 (spi_desktop_remove_application),
3600 (abnormal_application_termination): impl.
3601 (impl_desktop_get_child_at_index): re-impl.
3604 (impl_accessibility_registry_deregister_application),
3605 (impl_accessibility_registry_register_application):
3606 kill excessive debug clutter.
3608 * test/test-simple.c (test_misc): test some NULL
3609 tolerance. (main): upd.
3611 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3612 implements no interfaces - so let's not crash.
3614 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3616 * libspi/accessible.c (spi_accessible_new_return): impl.
3617 helper to calm the cut and paste, to cope with
3618 NULL AtkObjects effectively and efficiently, and to kill
3619 the referencing bugs.
3621 * libspi/table.c (impl_getAccessibleAt),
3622 (impl_getRowHeader, impl_getColumnHeader): upd.
3624 * libspi/hyperlink.c (impl_getObject): upd.
3626 * libspi/accessible.c
3627 (impl_accessibility_accessible_get_child_at_index): upd.
3629 * libspi/component.c
3630 (impl_accessibility_component_get_accessible_at_point): upd.
3632 * test/test-simple.c (test_editable_text, test_text): impl.
3635 * cspi/spi_editabletext.c
3636 (AccessibleEditableText_insertText): constify.
3638 * test/test-simple.c (focus_me): make more robust.
3640 * libspi/accessible.c: remove some printfs in methods that
3641 we test and work fine, so we can get a clean tree dump.
3643 * test/test-simple.c (validate_accessible),
3644 (validate_tree): make tree dumping pretty too.
3646 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3647 it builds without debug on.
3649 * test/test-simple.c (validate_accessible): fix the most
3652 * cspi/spi_main.c (spi_object_release): leave the nicely
3653 blanked memory around if in debug mode.
3655 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3657 [committed to fixups2]
3658 2001-12-05 Michael Meeks <michael@ximian.com>
3660 * libspi/editabletext.c
3661 (spi_editable_text_class_init): g_type_class_peek_parent,
3662 not interface peek - so we finalize cleanly.
3664 * libspi/accessible.c (spi_accessible_new): kill debug.
3666 * test/test-simple.c (validate_accessible): fix ref.
3667 leak, print strings before freeing them; sigh, comment a
3668 chunk out due to strangeness.
3669 (validate_tree): unref the child after use.
3671 * cspi/spi_component.c (AccessibleComponent_getLayer):
3672 add missing break statement, switch on zlayer not the
3673 uninitialized retval.
3675 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3676 before (possibly re-entering) remote unref.
3678 * test/simple-at.c (main): unref the desktop.
3680 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3683 * cspi/spi_main.c (cspi_accessible_is_a): here to
3684 isolate bonobo API usage more.
3686 * libspi/registry.c (impl_accessibility_registry_register_application):
3687 prune bogus comment.
3689 2001-12-04 Michael Meeks <michael@ximian.com>
3691 * test/test-simple.c (validate_tree): upd.
3692 IndexInParent check to make it more lucid.
3693 (validate_accessible): dump the tree.
3695 * libspi/accessible.c (de_register_public_ref),
3696 (get_public_refs): impl.
3697 (spi_accessible_new): make more efficient & intuitive.
3698 Now IndexInParent check works.
3700 2001-12-04 Michael Meeks <michael@ximian.com>
3702 * cspi/spi-util.h: remove.
3704 * cspi/spi.h: move SPI_freeString here
3706 * libspi/component.c (impl_accessibility_component_get_layer):
3708 (impl_accessibility_component_get_mdi_z_order): ditto,
3709 return -1 on error - is this ok ?
3711 * test/test-simple.c (test_application): impl.
3713 * cspi/spi_accessible.c (Accessible_getApplication),
3714 (Accessible_isApplication): impl.
3716 * libspi/registry.c (spi_listener_struct_free): release
3717 the CORBA reference too.
3719 * libspi/accessible.c
3720 (impl_accessibility_accessible_get_parent): fix ref leak.
3722 * libspi/registry.c (spi_registry_new): make the registry
3723 immortal - we don't want it to go away ever.
3725 * libspi/application.c
3726 (spi_accessible_application_finalize): impl. cleanup.
3728 * cspi/spi_registry.c
3729 (deregisterGlobalEventListenerAll),
3730 (deregisterGlobalEventListener),
3731 (deregisterAccessibleKeystrokeListener): fix ref leak.
3733 * cspi/spi_main.c (SPI_init): remove redundant ref.
3735 * test/test-simple.c (unutterable_horror): impl. to force a
3740 (impl_accessibility_registry_deregister_application): release
3741 the application when we de-register it.
3743 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3744 until we have the infastructure to get it right.
3746 2001-12-03 Michael Meeks <michael@ximian.com>
3748 * libspi/Makefile.am: only build eventlistener.[ch]
3750 * libspi/accessible.c
3751 (impl_accessibility_accessible_get_child_at_index): don't leak.
3753 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3754 before we hit the idle handler.
3756 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3757 debugging than exit.
3759 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3761 * libspi/listener.c (impl_notify_event): check source
3762 not NIL before unref.
3764 * libspi/registry.c (impl_registry_notify_event): ditto.
3766 * libspi/eventlistener.c
3767 (impl_accessible_event_notify_event): unref the source.
3769 * libspi/accessibleeventlistener.c
3770 (impl_accessible_event_notify_event): unref the source.
3772 * idl/Event.idl: remove 'hash_id' attribute - of no
3775 * libspi/application.c (notify_listeners): upd list
3777 (spi_application_object_event_listener),
3778 (spi_application_toolkit_event_listener): upd to do correct
3782 (_registry_notify_listeners): update.
3783 (parse_event_type): this method also leaks like a sieve.
3784 (impl_accessibility_registry_deregister_global_event_listener):
3785 fix ETYPE_WINDOW case.
3787 * libspi/application.c
3788 (impl_accessibility_application_register_object_event_listener):
3791 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3793 * libspi/hypertext.c (impl_getLink): ditto.
3795 * cspi/spi_main.c (cspi_object_add): remove
3796 bogus CORBA_Object_duplicate.
3798 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3801 * cspi/spi_accessible.c
3802 (Accessible_getRelationSet): fix leak / referencing issue.
3804 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3805 (cspi_object_add, cspi_object_unref): upd.
3806 (spi_object_release, get_live_refs): impl.
3807 (cspi_cleanup): simplify.
3809 * *.[ch]: s/boolean/SpiBoolean/
3811 * cspi/spi_accessible.c (role_names): actualy order so it
3812 corresponds with the enum !
3814 * test/test-simple.c (test_roles): check some role strings
3815 vs. enums to detect offset errors.
3817 2001-12-01 Michael Meeks <michael@ximian.com>
3819 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3821 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3823 (Accessible_getChildAtIndex): use cspi_add_check so we
3824 check the ev before using a (possibly) invalid value.
3826 * libspi/accessible.c
3827 (impl_accessibility_accessible_get_parent): don't segv
3830 * at-bridge/bridge.c (gtk_module_init): upd.
3831 (bridge_property_event_listener): don't leak strings
3833 (bridge_state_event_listener),
3834 (bridge_property_event_listener): don't use a static
3835 buffer in case of recursive event emission &
3836 re-enterancy - split out the swathe of cut and paste
3838 (emit_eventv): and fix 2 ref leaks here & comply to the
3840 (bridge_register_app): rename to
3841 (bridge_idle_init): this and kill arg parsing, split
3842 various inits & bonobo-activation registration to module
3843 init time, kill referencing error.
3844 (bridge_exit_func): fix the same leak.
3845 (bridge_focus_tracker): don't leak event structures
3847 (bridge_signal_listener): more leakage and cut & paste
3849 (bridge_key_listener): return the result - FIXME is
3850 this polarity correct ?
3851 (accessibility_keystroke_from_atk_key_event): rename
3852 (accessibility_init_keystroke_from_atk_key_event): and stop
3854 (gtk_module_init): return a value - not that it is checked by
3856 (bridge_key_listener): register my horror at casting between
3857 IDL defined structs.
3858 (bridge_get_registry): kill - not used.
3860 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3862 * test/test-simple.c (test_roles): impl.
3863 (test_desktop, validate_accessible, validate_tree): impl.
3865 * cspi/spi_accessible.c (role_names): fixup bogus
3866 MAX_ROLES setup, make constants const for efficient linkage
3867 (AccessibleRole_getName): conform to coding style, make
3870 2001-11-30 Michael Meeks <michael@ximian.com>
3872 * cspi/spi.h: add missing prototype.
3874 * libspi/registry.c (spi_listener_struct_new): fix sig.
3876 * test/Makefile.am: add test-simple
3878 * test/test-simple.c: add
3880 * test/test.sh: add.
3882 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3884 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3885 do it straight - since otherwise we often get an activation race.
3887 [ work before Bill duplicated a chunk of it ... ]
3888 2001-11-30 Michael Meeks <michael@ximian.com>
3890 * libspi/keystrokelistener.c
3891 (spi_keystroke_listener_class_init): fixup arg
3894 * libspi/eventlistener.c
3895 (spi_event_listener_class_init): ditto.
3897 * tests/test.sh: add.
3899 * cspi/spi-listener-impl.h: update macros.
3901 * cspi/spi-listener-impl.c
3902 (cspi_event_listener_remove_callback): add
3903 correct pre-conditions.
3905 * cspi/spi_main.c (SPI_exit): guard vs. double
3906 exits, exit the mainloop nicely.
3907 (SPI_event_main): make more sense.
3908 (SPI_init): move the atexit evilness here so we
3909 always do it (yuck).
3910 (SPI_event_main): upd.
3912 * test/simple-at.c: update for listener changes.
3914 * registryd/registryd.c (main): prune kruft.
3916 * libspi/libspi.h: upd.
3918 * libspi/eventlistener.[ch]: rename broken macros.
3920 * libspi/accessibleeventlistener.[ch]: remove.
3922 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3924 * test/test-simple.c: Add - automated tests.
3926 * cspi/spi-listener-impl.c (cspi_event),
3927 (cspi_key_event): add user_data to invoke.
3928 (cspi_keystroke_listener_finalize): impl.
3929 (cspi_keystroke_listener_class_init): upd.
3932 (createAccessibleEventListener),
3933 (AccessibleEventListener_addCallback),
3934 (createAccessibleKeystrokeListener),
3935 (AccessibleKeystrokeListener_addCallback): upd.
3937 * libspi/deviceeventcontroller.c
3938 (spi_device_event_controller_check_key_event): add public proto.
3941 (impl_accessibility_registry_deregister_global_event_listener):
3942 always init listeners.
3943 (_registry_notify_listeners): yes it is.
3945 * cspi/spi-listener-impl.c (cspi_key_event):
3947 (cspi_event_listener_finalize): impl.
3948 (cspi_event_listener_class_init): hook up.
3949 (event_handler_new, event_handler_free),
3950 (event_list_remove_by_callback): impl.
3951 (cspi_event_listener_remove_callback),
3952 (cspi_keystroke_listener_remove_callback),
3953 (cspi_keystroke_listener_add_callback),
3954 (cspi_event_listener_add_callback): upd.
3956 * libspi/keystrokelistener.c
3957 (keystroke_listener_object_finalize): kill
3958 (spi_keystroke_listener_class_init): upd.
3959 (spi_keystroke_listener_add_callback),
3960 (spi_keystroke_listener_remove_callback): kill,
3962 (impl_key_event): prune drasticaly.
3964 * libspi/eventlistener.c
3965 (spi_event_listener_add_callback),
3966 (spi_event_listener_remove_callback): kill, use
3968 (impl_accessible_event_notify_event): upd.
3969 (spi_event_listener_object_finalize): remove.
3971 * libspi/Makefile.am: use eventlistener.[ch]
3973 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3975 * libspi/registry.c (_registry_notify_listeners):
3976 Changed listener loop iteration to use preferred convention.
3977 Got rid of string memory leaks caused be calling g_strconcat
3978 inside function calls.
3980 * libspi/registry.c (parse_event_type):
3981 Stopped g_strconcat memory leaks, free the g_strsplit return,
3982 g_strdup the split pieces when used, etc.
3984 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3987 Change method 'compare' to return a 'difference set' rather than
3988 taking a StateSet as an out parameter (more Java-friendly).
3990 * idl/Accessible.idl:
3991 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3993 * idl/Component.idl:
3995 Changed methods 'getExtents' and 'getImageExtents' in these
3996 interfaces to return a BoundingBox structure.
3997 (getPosition and getSize are redundant and possibly should be
3998 removed, rather than creating a corresponding Point struct.)
4000 * cspi/spi_component.c:
4001 Modify implementation of getExtents to reflect the above IDL
4006 Add (missing) AccessibleImage_getExtents () API.
4008 * docs/reference/cspi/at-spi-cspi-sections.txt:
4009 Added AccessibleImage_getImageExtents () to docs.
4011 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4013 * idl/Component.idl:
4014 Added two methods, getLayer () and getMDIZOrder (), to reflect
4015 the new ATK methods atk_object_get_layer and
4016 atk_object_get_mdi_z_order. (Which arguably should be part of the
4017 AtkComponent API and AtkObject). Also added an enum,
4018 ComponentLayer, for the first method's return value.
4020 * libspi/component.c:
4021 Added implementations for these methods.
4023 * cspi/spi_component.c:
4025 Added cspi binding methods for above,
4026 AccessibleComponent_getLayer() and
4027 AccessibleComponent_getMDIZOrder().
4028 Added cspi enum 'AccessibleComponentLayer'.
4030 * docs/reference/cspi/at-spi-cspi-sections.txt:
4031 Added above methods to docs.
4035 Changed typedef for 'boolean' type (and all references to it) to
4036 SPIBoolean, to avoid keyword clashes with C++.
4039 Changed usages of 'boolean' to SPIBoolean.
4041 * test/keysynth-demo.c:
4042 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4043 app), except where SPIBoolean is required by the callbacks API.
4045 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4047 * cspi/spi_registry.c:
4048 Removed obsolete X event loop for passive keygrabs (which now
4051 * registryd/registryd.c:
4052 Removed unnecessary call to gdk_init() [cruft]. This also allows
4053 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4056 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4058 * docs/reference/cspi:
4059 Included docs for SPI_freeString in generated documentation.
4062 Renamed spi_freeString to SPI_freeString, for consistency. Added
4063 documentation for this function.
4066 Renamed spi_freeString to SPI_freeString, for consistency.
4067 Removed obsolete method declaration string_from_corba_string.
4069 * test/keysynth-demo.c:
4070 Small tweak to comments.
4073 Stopped leaking the strings returned from CSPI.
4075 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4077 Merged Michael's branch (see his ChangeLog entries below).
4079 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4080 bridge is alive, release on exit.
4082 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4083 Fix type check macro.
4086 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4089 Added is_gnome_app static, and method cspi_is_gnome_app(),
4090 so we can call the appropriate shutdown routine at exit in SPI_exit.
4092 * cspi/spi_main.c (cspi_object_ref):
4093 Duplicate the corba object passed in, since we're keeping it around.
4095 * cspi/SPI_exit.c, cspi_cleanup:
4096 Moved the releasing of the live refs to its own function, so we
4097 can put it in g_atexit (). Call the appropriate shutdown API
4098 depending on whethe calling client is a gnome app or not
4099 (bonobo_main_quit or CORBA_ORB_shutdown).
4101 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4102 Unref the listener when this method is called, after
4103 deregistration. Updated the API docs to note this behavior.
4105 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4106 Bugfixes: Ref the bonobo object when returning a parent or child
4107 reference, or an AccessibleRelation. Generally made sure
4108 BonoboObject refcount is incremented whenever we return an
4111 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4112 Fixed typo/bug in signal declaration.
4114 * libspi/accessibleeventlistener.h:
4117 * libspi/application.c (spi_application_new):
4118 Fixed leak in initialization.
4121 Remembered to increment bonobo-object refcount when returning
4122 children (applications) from desktop object.
4123 Added (empty) finalize method.
4125 * libspi/deviceeventcontroller.c:
4126 Hold a ref to listeners inside DEControllerKeyListeners.
4127 Added dec_key_listener_free() method. Use prepend instead of
4128 append in key_listener list. Fixed some refcount madness and
4129 leaks in the listener registration/deregistration - deregistration
4130 now calls dec_key_listener_free() on listeners, and on the
4131 temporarily constructed dec_key_listener() used to perform the search/match.
4133 * libspi/hypertext.c (spi_hypertest_finalize):
4134 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4135 class. Also fixed spi_hypertext_interface_new() and
4136 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4138 * libspi/hypertext.h:
4139 Removed pointless and duplicate AtkObject pointer from
4142 * libspi/keystrokelistener.c:
4143 Fixed incorrect type of keystroke_listener_parent_class,
4144 renamed keystroke_listener_object_finalize to
4145 spi_keystroke_listener_object_finalize.
4146 Fixed typo in signal declaration
4147 (spi_keystroke_listener_class_init).
4149 * libspi/registry.c:
4150 Added funcsions spi_listener_struct_new() and
4151 spi_listener_struct_free() to help with memory management issues.
4152 We also now use these methods instead of gnew + poking stuff into
4153 the struct, and to decrement listener counts/free the listeners
4154 when deregistering them.
4155 Fix more refcount bugs in getDesktop() and
4156 getDeviceEventController().
4159 De-ref the desktop after enumerating the applications. Explicitly
4160 decrement the refcounts on the created listeners on exit (using
4161 _unref for keystroke listeners, and via the
4162 deregisterGlobalEventListenerAll command for other event
4165 2001-11-27 Michael Meeks <michael@ximian.com>
4167 * cspi/spi-listener.h: fixup enum.
4169 2001-11-27 Michael Meeks <michael@ximian.com>
4171 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4172 (cspi_keystroke_listener_new): Use the cspi variants.
4174 2001-11-26 Michael Meeks <michael@ximian.com>
4176 * test/keysynth-demo.c: fix 2 compile warnings, missing
4179 * test/simple-at.c (report_focussed_accessible),
4180 (report_focus_event, report_button_press),
4181 (check_property_change, is_command_key),
4182 (report_ordinary_key_event, report_command_key_event): upd.
4184 * util/mag_client.h: include pre-requisites.
4186 * libspi/accessibleeventlistener.c
4187 (spi_event_listener_object_finalize): free any lingering
4190 * libspi/keystrokelistener.c
4191 (keystroke_listener_object_finalize): ditto.
4193 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4194 callbacks, with cspi types.
4196 * cspi/spi_event.c (createAccessibleEventListener): chain to
4197 (AccessibleEventListener_addCallback): here.
4198 (createAccessibleKeystrokeListener): chain to
4199 (AccessibleKeystrokeListener_addCallback): here.
4201 * libspi/keystrokelistener.c
4202 (spi_keystroke_listener_class_init): add signal.
4203 (impl_key_event): emit the event.
4204 (boolean_handled_accumulator): impl.
4205 (marshal_BOOLEAN__POINTER): add, gack.
4207 * libspi/accessibleeventlistener.c
4208 (spi_event_listener_class_init): add signal.
4209 (impl_accessible_event_notify_event): emit the signal &
4210 make the loop efficient.
4211 (spi_event_listener_add_callback): prepend the callback.
4213 * libspi/accessibleeventlistener.h: add an 'event' signal,
4214 decl type on callback.
4216 * libspi/keystrokelistener.h: ditto.
4218 * cspi/spi-listener.h: make methods typesafe and
4219 make them use the new event typedefs.
4221 * test/simple-at.c (report_focussed_accessible):
4222 include mag_client.h
4223 Use *(void *)text_interface not the other thing.
4225 * configure.in: add gtk to registryd bits - since we use
4228 * util/magnifier.c: include libbonobo.h
4230 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4232 * test/keysynth-demo.c:
4233 Turned this into a simple scanning keyboard, to demonstrate the
4234 use of g_timeout_add () as a means of creating timers for
4235 scanning, and the use of GtkStyle for visually indicating when
4236 virtual keyboard elements are selected.
4238 keysynth-demo now listens to any keyboard keys with zero-valued
4239 keycodes (i.e. 'unused' keys) and interprets them as
4242 Reworked the shiftlatch code so that shift-down state isn't held
4243 for long periods (it's only synthesized immediately prior to
4244 the keysynth event it's modifying). Note that shiftlatch in this
4245 demo is a convenience, not intended to take the place of AccessX
4246 which is the better choice for getting 'sticky' modifier keys.
4248 * libspi/deviceeventcontroller.c:
4249 * at-bridge/bridge.c:
4250 * cspi/spi_registry.c:
4251 Removed some debug print stuff, and put other verbosity in #ifdef
4256 Implemented some more of the magnifier IDL for the simple
4257 magnifier: namely, getZoomRegionParams.
4258 Added mag_x and mag_y members to MagnifierData struct, aid of this
4260 Added GtkWindow::realize signal handler to magnifier, to keep it
4261 from receiving keyboard focus from the WM.
4263 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4265 * cspi/spi-private.h: my guess at what michael forgot
4266 before he ran off to NZ :-)
4268 2001-11-23 Michael Meeks <michael@ximian.com>
4270 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4271 comment out non existant method invoke so we link.
4273 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4274 use bonobo_exception_get_text for more friendly warnings.
4276 * cspi/spi.c (Obj_Add): move into spi_main & rename
4277 spi_object_add; kill spi.c
4279 * cspi/spi_registry.c
4280 (deregisterGlobalEventListener),
4281 (deregisterGlobalEventListenerAll),
4282 (registerGlobalEventListener): fix exception leaks.
4284 * cspi/spi_main.c (spi_exception): impl. helper, so we
4285 don't leak exceptions.
4287 * cspi/spi_selection.c
4288 (AccessibleSelection_deselectSelectedChild): return the
4291 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4292 (spi_registry): ditto.
4293 (SPI_init): guard against double inits.
4295 * cspi/*.c: use spi_ev (), and spi_registry () where
4296 appropriate - a temporary hack until we have something
4297 better. Use spi_object_add
4299 2001-11-22 Michael Meeks <michael@ximian.com>
4301 * cspi/Makefile.am: re organise, install the headers.
4303 * cspi/*.h: add G_BEGIN/END_DECLS
4305 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4308 Added non-preemptive keylistener for key events with no modifiers
4309 and shift-only modifier.
4311 * libspi/keystrokelistener.c:
4312 Removed some verbose diagnostics printout.
4314 * cspi/spi_registry.c:
4315 Fixed a bug that caused all key listeners to be registered as
4318 * libspi/deviceeventcontroller.c:
4319 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4320 for non-preemptive key masks.
4323 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4325 * docs/reference/idl/at-spi-idl-docs.sgml:
4326 * docs/reference/idl/at-spi-idl-sections.txt:
4327 * docs/reference/idl/at-spi-idl-overrides.txt:
4328 Added missing files.
4330 * docs/reference/Makefile.am:
4331 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4332 to scan the IDL files :-(
4337 Added .cvsignore files.
4339 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4341 * libspi/deviceeventcontroller.c:
4342 * libspi/keystrokelistener.c:
4344 * cspi/spi_registry.c:
4345 Added filters for KeySets, KeyEventSeq, and event types to key
4346 event dispatching, so listeners should only receive those events
4347 that they requested :-)
4349 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4354 * docs/reference:Makefile.am:
4355 * docs/reference/cspi:
4356 * docs/reference/cspi:Makefile.am:
4357 * docs/reference/cspi:tmpl:
4358 * docs/reference/cspi:tmpl:*.sgml:
4359 * docs/reference/idl:
4360 * docs/reference/idl:Makefile.am:
4361 * docs/reference/idl:at-spi-idl-sections.txt:
4362 * docs/reference/idl:at-spi-idl-docs.sgml:
4363 * docs/reference/idl:tmpl:
4364 * docs/reference/idl:tmpl:*.sgml:
4366 Restructured docs directory to allow separate 'reference' docs
4367 section, and forked idl and cspi docs. Added the sgml template
4368 files to CVS. Added the first sections/structural sgml for the
4371 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4373 * configure.in, libspi/Makefile.am: find libXtst.
4375 2001-11-21 Michael Meeks <michael@ximian.com>
4377 * test/accessx-gui.c: s/spi_value/value/ - doh.
4379 * libspi/base.[ch]: add.
4381 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4383 * idl/Accessible.idl:
4384 * idl/Application.idl:
4387 Started gtk-doc cleanup on IDL.
4389 * libspi/deviceeventcontroller.c:
4390 Added and connected non-preemptive key notification from the
4391 toolkits (in addition to the pre-emptive support from XServer
4392 which we had before, but which causes 'focus flashing'). Filters
4393 are presently limited to key modifiers and global/non-global,
4394 KeySets are presently ignored, as are KeyEvent masks.
4396 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4397 structs into the persistant structure rather than just storing
4398 pointers to things that might not persist across servant
4401 The XGrabKey call now does async keygrabs, because synchronous
4402 ones were deadlocking with GDK_event code in a very nasty way.
4404 Added boolean to internal method notify_keylisteners, to indicate
4405 whether the event came from the 'toolkit source' or the 'global
4406 (XServer) source' - this is used in the notification process to
4407 determine which listeners to send the event to.
4409 deviceeventcontroller.c is now warning-free.
4411 * libspi/registry.c:
4412 Fixed regression in application de-registration.
4413 Also fixed some really brain-dead weirdness having to do with
4414 event dispatching - event structs are now duplicated before being
4415 re-marshalled in the dispatch to listeners. This also fixes a
4416 Solaris build problem.
4419 2001-11-20 Michael Meeks <michael@ximian.com>
4422 (impl_accessibility_registry_deregister_global_event_listener):
4425 * libspi/deviceeventcontroller.c
4426 (spi_device_event_controller_check_key_event): return
4427 FALSE on no virtual method.
4429 * libspi/*..h: make includes work on a correctly pathed install.
4431 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4433 * libspi/application.h: kill unused ( and whacked out )
4434 gboolean *spi_application_set_id (AtkObject *app, long id);
4436 2001-11-20 Michael Meeks <michael@ximian.com>
4438 * libspi/*.[ch]: further convert to bonobo's type func
4439 macros, remove redundnant casts etc.
4441 * libspi/text.c s/accessibility_text/spi_text/g,
4442 re-order to de-cruft.
4444 * libspi/hypertext.c: re-order to kill a huge slew
4445 of redundant forward decls.
4447 * libspi/relation.c: ditto.
4449 * libspi/image.c: ditto.
4451 * */.cvsignore: update
4453 2001-11-20 Michael Meeks <michael@ximian.com>
4455 * libspi/deviceeventcontroller.c
4456 (_controller_register_with_devices): use g_getenv,
4457 kill stdlib.h include.
4459 * libspi/keystrokelistener.c
4460 (spi_keystroke_listener_get_type): kill
4461 (spi_keystroke_listener_class_init),
4462 (spi_keystroke_listener_init): rename to this.
4464 * libspi/text.c (impl_getAttributes): fix warning / bug.
4466 * libspi/*.[ch]: more headers, includes and over commenting.
4468 2001-11-20 Michael Meeks <michael@ximian.com>
4470 * libspi/*.[ch]: fixup headers, includes and over commenting.
4472 * libspi/image.c (impl__get_imageDescription): const
4473 correctness warning fix. remove redundant casting.
4475 * libspi/table.c (impl_getRowDescription): ditto.
4476 (impl_getColumnDescription): ditto.
4478 * libspi/libspi.h: add.
4480 2001-11-19 Michael Meeks <michael@ximian.com>
4482 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4484 * libspi/component.c (accessibility_component_get_type):
4485 rename to (spi_component_get_type): and macroify.
4486 (accessibility_component_init): rename to
4487 (spi_component_init): this
4488 (accessibility_component_class_init): rename to
4489 (spi_component_class_init): this
4491 * libspi/action.c (spi_action_get_type): kill, use the macro.
4493 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4496 * libspi/application.c (spi_application_object_event_listener),
4497 (impl_accessibility_application_register_object_event_listener):
4498 warning fixes / const understanding updates.
4500 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4503 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4505 * libspi/spi_accessible.c: Added docs and C bindings for
4506 AccessibleStateSet. (No implementations yet). Documentation
4507 coverage for C bindings now 100%. Made docs for event listeners
4512 boolean notifyListenersSync (in DeviceEventListener listener,
4513 in DeviceEvent event);
4515 oneway void notifyListenersAsync (in DeviceEventListener listener,
4516 in DeviceEvent event);
4518 Added DeviceEventListener and DeviceEvent structs (may deprecate
4519 KeyStroke and KeystrokeListener in favor of this generic
4520 event/listener framework for devices).
4522 * libspi/deviceeventcontroller.c:
4524 Changed some key listener code to take masks, etc., and paved the
4525 way for integration of toolkit/non-preemptive key events. Changed
4526 signatures of some internal methods.
4528 * at-bridge/bridge.c:
4529 Fixed regression connecting to interface signals, apparently
4530 caused by GTK+ changes.
4532 Added an internal bridge_state_listener to deal with
4533 property-change:accessible-state signals.
4535 Changed the key_listeners GList to store structs (including masks,
4536 etc.) instead of just CORBA_Objects (required for full
4537 implementation of key listener API).
4539 Connected the bridge to all currently supported Atk signals.
4540 Events now supported:
4541 object:property-change
4542 object:property-change:accessible-name
4543 object:property-change:accessible-state
4544 object:property-change:accessible-description
4545 object:property-change:accessible-parent
4546 object:property-change:accessible-value
4547 object:property-change:accessible-role
4548 object:property-change:accessible-table-caption
4549 object:property-change:accessible-table-column-description
4550 object:property-change:accessible-table-column-header
4551 object:property-change:accessible-table-row-description
4552 object:property-change:accessible-table-row-header
4553 object:property-change:accessible-table-summary
4554 object:children-changed
4555 object:visible-data-changed
4556 object:selection-changed
4557 object:text-selection-changed
4559 object:text-caret-moved
4561 object:row-reordered
4563 object:column-inserted
4564 object:column-reordered
4565 object:column-deleted
4566 object:model-changed
4568 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4570 * libspi/hyperlink.c,h:
4571 Fixed some broken stuff in hyperlink.
4573 * libspi/relation.h:
4574 * libspi/relation.c:
4575 * cspi/spi_accessible.c:
4576 Initial implementations of AccessibleRelation methods, and docs.
4578 * libspi/accessible.c:
4579 Fixed a bug that caused SEGV if an accessible
4580 object's description is NULL, and a client
4581 requests it. An empty string is now returned.
4583 * cspi/spi_editabletext.c:
4584 * cspi/spi_hypertext.c:
4586 * cspi/spi_hyperlink.c:
4590 Doc coverage now 95%.
4592 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4594 One last namespacing revision:
4595 * libspi/accessibleeventlistener.[ch]:
4596 Renamed SpiAccessibleEventListener to SpiEventListener,
4597 (no need for two namespaces ;-)
4599 And lots of documentation fixes:
4601 * docs/at-spi-docs.sgml:
4602 Fixed 'underscore vs. hyphen' bug that was preventing
4603 the gtk-doc API docs from being automatically generated.
4606 * cspi/spi-listener.h
4608 * cspi/spi_accessible.c
4610 * cspi/spi_application.c
4611 * cspi/spi_component.c
4612 * cspi/spi_editabletext.c
4614 * cspi/spi_hypertext.c
4616 * cspi/spi_registry.c
4617 * cspi/spi_selection.c
4621 * docs/at-spi-docs.sgml
4622 * docs/at-spi-sections.txt
4624 Added and fixed up gtk-doc documentation in cspi.
4626 Interfaces now (fully) documented (subject to revision and enhancement):
4628 Event Listener Support
4630 AccessibleApplication
4634 AccessibleEditableText
4641 AccessibleRelationSet
4646 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4648 * at-bridge/bridge.c:
4649 Initial work for toolkit-level key snooper connection by bridge.
4654 New typedefs and fixes to support new namespacing, and cleaner
4655 separation of cspi bindings from libspi bonobo implementation.
4656 Removed inconsistent and extraneous Spi* namespace prefix that
4657 had crept into cspi headers.
4658 Lots of comment fixes that sed had missed.
4660 * cspi/spi-roletypes.h:
4661 * cspi/spi-statetypes.h:
4662 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4663 to AccessibleRoleType.
4665 * libspi/accessibleeventlistener.h:
4666 Fixed minor namespacing weirdness.
4668 * libspi/deviceeventcontroller.c:
4669 Reordered some internal API for device listeners.
4670 Changed the key registry final boolean to 'is_system_global'
4671 rather than 'is_synchronous', which is more descriptive of its
4673 Added spi_device_event_controller_new().
4674 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4676 * libspi/keystrokelistener.[ch]:
4677 Namespaced KeystrokeListener to SpiKeystrokeListener.
4678 Changed uses of keymasks to use SPI_ prefix, and did other
4681 * libspi/keymasks.h:
4682 Namespaced keymask constants with SPI_ prefix.
4684 * libspi/registry.c:
4685 Some warning fixes, and knock-on fixes from namespace changes.
4688 Added rules for accessx-gui test program.
4690 * test/accessx-gui.c:
4691 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4692 utility. It doesn't actually use at-spi, but it's still cool and
4695 * test/keysynth-demo.c:
4699 Fixes so that these test clients work properly with the namespaced
4700 libraries. (Incompletely tested for technical reasons, fixes may follow)
4703 2001-11-13 Michael Meeks <michael@ximian.com>
4705 * libspi/application.c
4706 (impl_accessibility_application_get_version),
4707 (impl_accessibility_application_get_toolkit_name):
4709 (impl_accessibility_application_set_id),
4710 (impl_accessibility_application_get_id): remove
4711 redundant casting code.
4713 * libspi/action.c (impl_getDescription): fix warnings.
4715 * libspi/accessible.c
4716 (impl_accessibility_accessible_get_parent),
4717 (impl_accessibility_accessible_get_child_at_index),
4718 (impl_accessibility_accessible_get_state),
4719 (impl_accessibility_accessible_get_relation_set):
4720 warning fixes & include action.h
4722 2001-11-13 Michael Meeks <michael@ximian.com>
4724 * *.[ch] fix bits I screwed up:
4726 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4727 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4729 2001-11-13 Michael Meeks <michael@ximian.com>
4731 * *.[ch] Namespace libspi into spi_ and Spi.
4733 2001-13-11 Michael Meeks <michael@ximian.com>
4735 * Makefile.am: dist & install at-spi-1.0.pc
4737 * libspi/Makefile.am: install into at-spi-1.0
4739 * idl/Makefile.am (idldir): install into at-spi-1.0
4741 * at-spi-1.0.pc.in: add.
4743 * configure.in: build it.
4745 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4747 * test/keysynth-demo.c:
4748 Use a 'realize' signal-handler to set the WM properties for
4749 the virtual keyboard, rather than making it a "POPUP" type
4750 override-redirect window (thanks to anders carlsson for that
4753 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4756 * test/keysynth-demo.c:
4757 Added new test of key synthesis, which creates a simple
4758 (mouse-operated) onscreen keyboard. It inserts key events into
4759 the currently-focused window, thus it does not grab keyboard focus
4762 * cspi/spi_registry.c:
4763 Added C binding for AT-SPI generateKeyEvent.
4765 * libspi/deviceeventcontroller.c:
4766 Added call to XFilterEvent so that key listener works with XIM (we
4767 hope). Added event_synth_type to generateKeyEvent, so that we can
4768 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4769 synthesize a press/release pair for KeySyms.
4771 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4773 * libspi/Makefile.am:
4774 * registryd/Makefile.am:
4775 (temporary) hack to include libXtst in libspi and registryd.
4776 (Needed for keystroke synthesis, see below).
4779 Improved API for registerKeystrokeListener, in accordance with
4780 discussions with Gnopernicus team and X server research.
4782 * libspi/registry.c:
4783 * libspi/deviceeventcontroller.c:
4784 * libspi/accessible.c:
4785 * libspi/keystrokelistener.c:
4786 Changes and fixes to support keylisteners for potentially
4787 consumed key events (that is, 'passive grabs').
4788 Added implementation for generateKeyEvent() [untested].
4791 Changes to registerKeystrokeListener() API, as above.
4792 Added deregisterGlobalEventListenerAll(), and
4793 deregisterKeystrokeListener(), which are needed for clean exit of
4795 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4796 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4798 * cspi/spi_registry.c:
4799 Added implementations of function prototypes mentioned above.
4801 * registryd/registryd.c:
4802 Added the key listener event source as a g_timeout(), to allow
4803 receipt of key events that are not caught by GDK (since GDK
4804 doesn't support passive keygrabs, this was necessary).
4807 Changed to attach a keylistener to 'Alt' keys, and
4808 respond to the following keycommands: Alt-M (toggle magnifier);
4809 Alt-F (toggle speech); Alt-Q (quit).
4810 Added an exit routine to deregister the listeners, and a key
4811 listener that prints some key info to the console when a key
4812 matches the listener mask (and is thus received by the listener).
4814 * util/idl/Magnifier.idl:
4815 Changes to magnifier API to support multiple zoom regions,
4816 non-uniform scaling in x and y, markDirty, and a host of other
4817 features that would be useful to magnification.
4820 * util/mag_client.c:
4821 * util/mag_client.h:
4822 * util/mag_control.c:
4824 Source code changes to support the above IDL changes.
4827 As above, and also changes to use a (slower) generic conversion
4828 path for colormap conversions, since the fast RGB conversions have been
4829 reported to fail for 16-bit displays.
4831 2001-10-26 Michael Meeks <michael@ximian.com>
4833 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4835 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4837 * at-bridge/Makefile.am: fix LDFLAGS.
4839 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4841 * at-bridge/bridge.c:
4842 Re-worked listeners for toolkit events, now we have signal
4843 and property listeners. Added a private method
4844 register_atk_event_listeners(), which registers with the
4845 various atk and gtk signals we need to monitor in order to emit
4847 Added emission hook for AtkObject:property-change events, to
4848 support the 'property listeners'.
4849 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4852 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4853 which emit warnings and exit, respectively, if CORBA errors occur
4854 during remote calls, and we now use these methods to check most of
4855 our CORBA calls in the C bindings.
4857 * cspi/spi_accessible.c:
4858 Changed AccessibleSelection_refSelectedChild() to
4859 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4860 now increment refcounts.
4862 * cspi/spi_component.c:
4863 Fixed some long pointer casts (dangerous!) to pass pointers to
4864 CORBA_longs of the proper type to the CORBA stubs, and copy the
4865 data into the longs that were passed into the C bindings code.
4867 * at-bridge/bridge.c:
4869 * libspi/accessible.c:
4870 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4871 hyperlinks, AtkHyperlink is an object type.
4873 * libspi/application.c:
4874 Added various conversions to and from "generic" event types and
4875 atk-specific types; this is really part of the 'bridge'
4876 implementation but is valid for all AtkObject-based accessibility
4879 * libspi/editabletext.c:
4880 Fixed nasty bug wherein editable text's finalize method was
4881 unref'ing tha AtkObject reference that the text parent class was
4882 about to unref _again_. There was also a nasty inheritance bug
4883 that meant that the AccessibleEditableText class was corrupt.
4885 * libspi/selection.c:
4886 Provided implementations for some selection API that was broken.
4888 * idl/Application.idl:
4889 Added registerObjectEventListener () method.
4892 Fixed a number of return values that were Bonobo_Unknowns from
4893 bonobo_object_corba_objref(), which I
4894 forgot to dup before returning. Changed instances of
4895 bonobo_object_corba_objref (bonobo_object(o)) to
4896 BONOBO_OBJREF(o), for concision and clarity.
4898 2001-10-13 Louise Miller <louise.miller@sun.com>
4900 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4901 idl/Event.idl, idl/Registry.idl
4902 Changed these files to include Bonobo_Unknown.idl instead
4905 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4907 * libspi/component.c libspi/component.h:
4908 Fixed typo. Added assertions for object checks in
4909 AccessibleComponent code.
4911 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4913 * idl/Accessible.idl:
4914 Added 'isEqual (Accessible *object)'
4915 method for Accessible. (Not Yet Implemented).
4918 Changed signature of registerKeystrokeListener() to
4919 take a KeySet and KeyEventSeq so that specific keys and event
4920 types could be requested for monitoring, and added a flag
4921 is_synchronous so that either synchronous or asynchronous
4922 notification could be requested. (However this is not all
4923 implemented yet). This also meant adding two new typedefs,
4924 KeyEventSeq and KeySet.
4927 Added two new relations, RELATION_TOOLTIP_FOR and
4928 RELATION_LEAFNODE_OF.
4931 Added new state, STATE_HAS_TOOLTIP.
4933 * libspi/text.c, editabletext.c:
4934 Added new assertions to all casts of bonobo-objects from
4935 CORBA servants, to prevent Text API calls on non-text objects.
4936 Changed suspect casts of int-pointer types, so that we
4937 always send a valid CORBA_long pointer to the CORBA APIs that use
4938 in/out long parameters. We then have to copy from the CORBA_long
4939 into the regular long or int for return to the C bindings, or
4940 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4943 * libspi/deviceeventcontroller.c:
4944 Cleaned these sources up.
4946 Changed return type for getCharacterAtOffset to
4947 CORBA_unsigned_long, to allow for 32-bit characters.
4950 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4954 Fixed 'make dist' so that distro compiles...
4955 * libspi/keymasks.h:
4957 * cspi/spi-listener.c:
4958 KeystrokeListenerCB now returns a boolean.
4960 Added KeyEventType struct, and KeyStroke.
4961 Also added createKeystrokeListener(),
4962 KeystrokeListener_addCallback(),
4963 KeystrokeListener_removeCallback(), and added a keymask to
4964 registerKeystrokeListener().
4965 * cspi/spi_accessible.c:
4966 Changed numerous return types for interfaces from
4967 AccessibleComponent to Accessible<InterfaceName>; this was
4968 probably a cut-and-paste error.
4970 Implementations of new KeystrokeListener api (from spi.h,
4973 Changes to key modifier mapping.
4974 Created ControllerEventMask struct.
4975 Made DeviceEventController derive from Bonobo::Unknown.
4977 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4978 * libspi/deviceeventcontroller.c:
4979 Added a number of new internal (private) methods.
4980 * libspi/editabletext.c:
4981 * libspi/editabletext.h:
4982 Fixed a number of bugs related to the fact that
4983 editabletext inherits from text. Fixed the EditableText struct,
4984 the init() call, and use correct casts when calling Text methods
4985 from an EditableText object. Removed (duplicate) atko from the
4986 EditableText structure, we use the one in the parent Text
4987 structure via the casts mentioned above.
4988 * libspi/keystrokelistener.[ch]:
4989 * libspi/registry.c:
4990 Changes in support of keyboard handling (above).
4992 Keyboard handling, though partly functional, is still not
4993 recommended for at-spi client use as there is considerable
4994 work yet to be done.
4997 Changed some places where pointers to various int types
4998 are cast to be pointers to CORBA_long types and vice-versa:
4999 pointer casting is not safe so we pass pointers of the correct
5000 types and then cast the result before putting it into the target
5003 * libspi/text.h: minor typos corrected.
5005 We now speak not only the name of a Text element, but the
5006 first sentence of its content, when it receives focus.
5007 I also changed the text compression to 75% from 50%.
5008 * util/Accessibility_Util.server.in:
5009 Changed the default magnifier type to be a 3x vertical
5010 splitscreen magnifier (was previously a 2x horizontal one).
5012 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5014 * libspi/keystrokelistener.h:
5015 * libspi/keystrokelistener.c:
5016 Initial functional implementations of KeystrokeListener.
5019 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5021 Fixed string handling for NULL strings in libspi.
5022 Added spi_freeString to free strings returned by C bindings.
5024 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5026 * libspi/keystrokelistener.h:
5027 * libspi/keystrokelistener.c:
5028 Began (no-op) implementations of KeystrokeListener
5030 * libspi/deviceeventcontroller.c:
5031 * libspi/deviceeventcontroller.h:
5032 Began creating implementations of DeviceEventController,
5033 to handle keystroke and mouse event listening and
5035 * libspi/accessible.c:
5036 Stubbed-in the implementations for
5037 Accessibility_Accessible_getState and
5038 Accessibility_Accessible_getRelationSet.
5039 * libspi/registry.c:
5040 Improved de-registration process and fixed some bugs,
5041 deregistration now works correctly.
5043 Added initialization of applications list (to NULL).
5045 Reduced speech compression from 0.5 to 0.7, for demo.
5046 Changed call to gdk_window_set_decorations()
5047 to gtk_window_set_decorated().
5048 * at-bridge/bridge.c:
5049 Bridge now deregisters when app exits, via
5050 registration of a cleanup function
5051 with the g_atexit() call.
5052 Required making 'app' static, renamed 'this_app'.
5053 Fixed broken use of bonobo_init, passing argv wrongly.
5055 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5059 Created a new directory for
5060 accessibility-related utilities, primarily for
5061 testing and demo purposes, but with possible
5068 Onscreen magnifier utility that
5069 is implemented as a bonobo service.
5071 * util/mag_client.c:
5072 * util/mag_client.h:
5073 Client-side support (simple C bindings)
5074 for Magnification service
5076 * util/mag_control.c:
5077 Client program example for
5078 Magnification service
5080 * util/Accessibility_Magnifier.server.in:
5081 Bonobo-activation file for the
5082 Magnification service.
5085 * util/idl/Magnifier.idl:
5086 IDL defining the bonobo Magnification
5090 Modifications to use the bonobo-activated magnifier
5091 above, in place of trying to connect to an existing
5092 magnifier that uses socket-listening IPC.
5094 If env variable MAGNIFIER is set, a magnifier service
5095 will be started if one does not exist.
5097 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5099 * at-bridge/bridge.c:
5100 applied patch from Marc to build and run
5101 against new glib and gtk+ (seemed like a change
5102 to bonobo_init signature was made ?)
5104 made festival-server support turned off by default.
5105 Added support for a simple magnifier (off by default)
5106 which will be added to a 'util' directory later.
5107 * at-bridge/Makefile.am:
5108 Changed "application.h" header from a 'source'
5109 to a 'dependency' of libat-bridge.
5111 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5120 Added interface implementation c files to list of
5121 includes so they are included in libcspi.
5124 Changed prototype of AccessibleAction_doAction to return a
5126 Changed prototype of AccessibleTable_getCaption to
5127 return an Accessible.
5128 Changed prototype of AccessibleTable_getSelectedRows
5129 and AccessibleTable_getSelectedColumns to
5130 return a long (returns the number of selected rows
5131 or columns respectively).
5132 Changed name of AccessibleText_refRunAttributes to
5133 AccessibleText_getAttributes.
5134 Changed prototype of AccessibleText_getCharacterExtents to
5135 return a void rather than a boolean.
5136 Added support for a AccessibleCoordType parameter
5137 specifying what type of coordinates are desired.
5138 Added an AccessibleCordType parameter to
5139 AccessibleText_getPointAtOffset.
5141 * cspi/spi_accessible.c:
5142 Added code to return the outstanding interfaces from
5143 Accessible_queryInterface.
5145 * cspi/spi_action.c:
5147 Corrected call to getNActions to call the c binding
5150 * cspi/spi_editabletext.c:
5152 Changed name from setRunAttributes to setAttributes.
5154 * cspi/spi_hyperlink.c:
5156 Changed call to getNAnchors to correctly call the c
5157 binding for an attribute.
5159 * cspi/spi_hypertext.c:
5161 Changed getImageDescription to correctly call the
5162 binding for an attribute.
5164 * cspi/spi_selection.c:
5165 Changed getNSelectedChildren to correctly call the c
5166 binding for the attribute.
5167 Changed refSelectedChild to getSelectedChild.
5171 Changed getCaption to return an Accessible.
5172 Fixed calls which retrieve attributes.
5173 Changed refAt to getAccessibleAt.
5174 Changed getNSelectedRows and getNSelectedColumns to
5178 Changed getCharacterExtents and getPointAtOffset to accept an
5179 AccessibleCoordType.
5181 Changed calls which retrieve attributes.
5182 Changed refRunAttributes to getAttributes.
5187 * idl/Hyperlink.idl:
5188 Changed n_anchors attribute to nAnchors to keep naming
5189 convention consistent.
5192 Made Table inherit from Bonobo::Unknown.
5193 Added nSelectedColumns and nSelectedRows attributes.
5196 Made Value inherit from Bonobo::Unknown.
5198 * libspi/hyperlink.c:
5199 Change for nAnchors attributte name change.
5201 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5209 Added interface implementation c files to list of
5210 includes so they are included in libcspi.
5213 Changed prototype of AccessibleAction_doAction to return a
5215 Changed prototype of AccessibleTable_getCaption to
5216 return an Accessible.
5217 Changed prototype of AccessibleTable_getSelectedRows
5218 and AccessibleTable_getSelectedColumns to
5219 return a long (returns the number of selected rows
5220 or columns respectively).
5221 Changed name of AccessibleText_refRunAttributes to
5222 AccessibleText_getAttributes.
5223 Changed prototype of AccessibleText_getCharacterExtents to
5224 return a void rather than a boolean.
5225 Added support for a AccessibleCoordType parameter
5226 specifying what type of coordinates are desired.
5227 Added an AccessibleCordType parameter to
5228 AccessibleText_getPointAtOffset.
5230 * cspi/spi_accessible.c:
5231 Added code to return the outstanding interfaces from
5232 Accessible_queryInterface.
5234 * cspi/spi_action.c:
5236 Corrected call to getNActions to call the c binding
5239 * cspi/spi_editabletext.c:
5241 Changed name from setRunAttributes to setAttributes.
5243 * cspi/spi_hyperlink.c:
5245 Changed call to getNAnchors to correctly call the c
5246 binding for an attribute.
5248 * cspi/spi_hypertext.c:
5250 Changed getImageDescription to correctly call the
5251 binding for an attribute.
5253 * cspi/spi_selection.c:
5254 Changed getNSelectedChildren to correctly call the c
5255 binding for the attribute.
5256 Changed refSelectedChild to getSelectedChild.
5260 Changed getCaption to return an Accessible.
5261 Fixed calls which retrieve attributes.
5262 Changed refAt to getAccessibleAt.
5263 Changed getNSelectedRows and getNSelectedColumns to
5267 Changed getCharacterExtents and getPointAtOffset to accept an
5268 AccessibleCoordType.
5270 Changed calls which retrieve attributes.
5271 Changed refRunAttributes to getAttributes.
5276 * idl/Hyperlink.idl:
5277 Changed n_anchors attribute to nAnchors to keep naming
5278 convention consistent.
5281 Made Table inherit from Bonobo::Unknown.
5282 Added nSelectedColumns and nSelectedRows attributes.
5285 Made Value inherit from Bonobo::Unknown.
5287 * libspi/hyperlink.c:
5288 Change for nAnchors attributte name change.
5291 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5293 implementations-- made server implementations own AtkObject pointers
5294 rather than their respective AtkInterrface pointers to fix
5295 refcounting. AtkHyperlink is still broken.
5297 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5298 * cspi/spi_accessible.c:
5299 Added method Accessible_Role_getName(),
5300 and requisite string array (role_names).
5301 Added conversion string_from_corba_strin() call
5302 to Accessible_getName and _getDescription.
5303 * libspi/accessible.c:
5304 Added implementation for Accessible_getRole()
5306 Added festival support, used if environment variable
5309 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5311 * at-bridge/bridge.c:
5312 Now allocate Accessibility_Event using
5313 Accessibility_Event__alloc() instead of g_new0().
5314 * libspi/accessibleeventlistener.c:
5315 Initialize AccessibleEventListener->callbacks to NULL.
5316 Fixed accessible__event_listener_init() param, changed to
5317 "AccessibleEventListener *" type.
5318 Changed a bonobo_object_release_unref() call to
5319 Accessibility_Accessible_unref().
5320 * libspi/listener.c:
5321 Changed Bonobo_Unknown_unref to (equivalent)
5322 Accessibility_Accessible_unref.
5323 * libspi/registry.c:
5324 Changed bonobo_object_release_unref to
5325 Accessibility_Accessible_unref.
5327 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5330 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5331 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5332 spi-util.c spi-util.h
5333 Implementations for C bindings to remaining accessibility
5336 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5339 changed return value of Action from void to boolean to
5340 bring in line with ATK.
5343 Changed getText funcions to return "out" start and end offsets.
5344 Changed getAttributes to take and offset and return the start
5345 and end offset of the attribute run.
5346 Changed getOffsetAtPoint and getCharacterExtents to take an
5347 enum describing whether coordinates are window or screen.
5350 libspi/action.c libspi/action.h libspi/editabletext.c
5351 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5352 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5353 libspi/image.h libspi/selection.c libspi/selection.h
5354 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5355 libspi/value.c libspi/value.h
5356 Added server implementations for outstanding ATK interfaces
5357 not yet implemented.
5359 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5362 Added (missing) getName() method.
5363 Made nActions an attribute.
5364 * idl/EditableText.idl:
5365 Changed order of params in setAttributes.
5366 * idl/Hyperlink.idl:
5367 Removed getAnchor, added getURI.
5369 Changed attributes to methods, for efficiency
5370 (so that getting extents can be done in one call)
5371 * idl/Selection.idl:
5372 Changed nSelectedChildren to attribute, and re-indented.
5373 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5375 * idl/Text.idl: reformatted to match our coding style.
5376 (temporarily?) removed getRowColumnAtOffset().
5377 Changed text selection API to support multi-select and
5378 non-contiguous selections, as in ATK.
5379 * idl/Value.idl: changed some methods to attributes.
5381 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5383 * libspi/listener.c(impl_notify_event):
5384 BonoboUnkown_unref the source instead
5385 of bonobo_object_release_unref - the ORB
5386 handles the releasing.
5388 * configure.in: require ORBit-2.3.94 for
5391 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5393 Tagged CVS repository 'EA_1_0'.
5394 * README.EARLY_ACCESS:
5395 Alphabetized acknowledgements list, and
5397 Listed some known dependencies of at-spi.
5399 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5401 * docs/at-spi-docs.sgml:
5402 * docs/at-spi-sections.txt:
5403 * docs/at-spi-overrides.txt: (Added zero-length file)
5404 Documentation improvements - gtk-doc should build
5405 docs for all implemented C bindings now.
5408 * cspi/spi.c: (New file)
5409 * cspi/spi_event.c: (New file)
5410 * cspi/spi_registry.c: (New file)
5411 * cspi/spi_accessible.c: (New file)
5412 * cspi/spi_application.c: (New file)
5413 * cspi/spi_component.c: (New file)
5414 Split spi_main.c into six parts, and included them from
5415 "spi.c". This is a bit of a hack, probably temporary,
5416 but required by gtk-doc, apparently.
5418 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5421 * docs/at-spi-docs.sgml:
5422 * docs/at-spi-sections.txt:
5424 Initial checkins/modifications for gtk-doc generation.
5427 Added (missing) interface query methods to Accessible's C binding.
5429 Added GenericInterface type definition.
5431 Added query for AccessibleComponent interface to focus event handler.
5432 Added printout of bounding box for focussed component.
5433 * libspi/component.c:
5434 Added partial implementation for AccessibleComponent to C binding.
5435 * idl/Application.idl:
5436 * libspi/registry.c:
5437 * libspi/listener.c:
5438 * libspi/application.c:
5439 * libspi/application.h:
5440 Changed "ID" attribute type from string to long.
5442 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5446 Made method naming consistent: methods taking object args
5447 start with uppercase, other methods (except those using
5448 acronyms) start with lowercase. Underscores delimit between
5449 object names and method names:
5450 SPI_init() - uppercase since it starts with an acronym.
5451 getDesktopCount () - lowercase start since no object param0.
5452 Accessible_getName() - uppercase object type name, studlyCaps method
5456 Added gtk-doc documentation for all currently implemented
5457 methods in the C bindings API.
5459 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5461 * Makefile.am : changed build order to build test last.
5464 Changed "createEventListener" to "CreateEventListener".
5465 * libspi/accessibleeventlistener.c :
5466 Bugfix for addition of callbacks.
5467 * test/Makefile.am :
5468 * test/simple-at.c :
5469 Added new test that uses the C bindings API.
5471 * libspi/listener.c :
5472 * libspi/registry.c :
5473 * libspi/accessibleeventlistener.c :
5474 * at-bridge/bridge.c :
5475 Renamed member "target" of Accessibility_Event to "source",
5476 which is more descriptive.
5479 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5483 * cspi/Makefile.am :
5484 Added makefile support for at-spi/cspi directory.
5487 * cspi/spi-listener.h : (NEW FILE)
5488 Added support for/use of spi-listener.h.
5490 C bindings now build successfully, with no warnings.
5491 * libspi/accessibleeventlistener.h : (NEW FILE)
5492 * libspi/accessibleeventlistener.c : (NEW FILE)
5493 * libspi/Makefile.am :
5494 Added new object type "AccessibleEventListener"
5495 which inherits from Listener, and allows attachment
5496 of in-process callbacks (so that a client with a listening
5497 object instance can add functionality to the local
5498 implementation, dynamically).
5500 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5502 * libspi/accessible.c:
5503 Add implementation for get_index_in_parent().
5505 Added #include of "spi-roletypes.h", and
5506 added enumerated type AccessibleCoordType.
5507 Added definition for KeystrokeListener (function type).
5510 * cspi/spi-statetypes.h :
5511 * cspi/spi-roletypes.h :
5513 Added these headers, used by spi.h.
5515 Added code (NOTE: not yet built by make).
5517 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5519 * libspi/Makefile.am: generate imodule
5520 at the same time as other idl compiler
5523 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5524 * libspi/registry.c :
5525 * libspi/application.c :
5526 * idl/Application.idl :
5527 Made registration with toolkit an application method,
5528 which is required since each app has its own toolkit static
5529 environment. Thus the bridge must register for
5530 notification of toolkit events from each application in turn.
5531 Toolkit notifications are now successfully registered for, and
5532 sent to the listening at client.
5534 Changed toolkit event string to use hyphens rather than underscores.
5535 * libspi/listener.c :
5536 listner now gives more info in debug mode - it reports the
5537 name of the event received, as well as the name of the source.
5540 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5542 * libspi/registry.c :
5543 added more implementation for toolkit events.
5544 Fixed bug such that toolkit event registrations
5545 (via atk) use the whole event name string, not
5547 Removed a useless call to an ORBit_ method.
5548 * at-bridge/bridge.c :
5549 Removed unused local sbuf[] variable.
5551 We now register for Gtk:GtkWidget:button_press_event
5552 events as well as "focus:" events.
5554 Add some more API from Registry.idl that was missing,
5555 for keystroke listening, keystroke and mouse event
5556 synthesis, and enumeration of accessible desktops.
5558 2001-08-16 Michael Meeks <michael@ximian.com>
5560 * configure.in: use AM_GLIB_GNU_GETTEXT.
5562 * Makefile.am (SUBDIRS): kill intl.
5564 2001-08-15 Michael Meeks <michael@ximian.com>
5566 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5568 * configure.in: upd.
5570 * configure.in: depend on a recent bonobo-activation that
5571 will find our server files ...
5573 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5575 * libspi/accessible.c : accessible_new() :
5576 Now we add the Component interface via bonobo_object_add_interface,
5577 if the contained AtkObject implements AtkComponent.
5578 * libspi/accessible.h : now include "component.h"
5579 * libspi/component.h :
5580 * libspi/component.c : added files - implementation of
5581 bonobo wrapper object for Accessibility/Component
5582 * libspi/listener.c :
5583 Added test code to check for Accessibility/Component:1.0
5584 interface and report whether it is implemented by the
5586 * libspi/registry.c :
5587 Now we check for not only the hash of the whole event
5588 string before relaying the event, we also check the
5589 "minor" event string (without the detail string).
5590 This allows event listeners to be registered against
5591 all events of a certain major+minor type, or just
5592 against a specific major+minor+detail type.
5593 * libspi/accessible.c :
5594 Added implementations for Accessible:get_parent(),
5595 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5596 * libspi/registry.c :
5597 * libspi/listener.c :
5598 Replaced calls to Accessibility_Accessible_ref() and
5599 Accessibility_Accessible_unref() with
5600 calls to bonobo_object_dup_ref() and
5601 bonobo_object_release_unref(), so that the CORBA object
5602 is dup-ed and released when relayed, as well as the bonobo object.
5604 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5606 * libspi/Makefile.am,
5607 registryd/Makefile.am,
5608 at-bridge/Makefile.am.
5609 test/Makefile.am, configure.in:
5610 reverse previous changes.
5612 * /idl/Image.idl: fix typo.
5614 * test/Makefile.am: put DEBUG_FLAGS
5617 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5619 * test/app.c: use argv[0] instead of
5622 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5624 * libspi/Makefile.am,
5625 registryd/Makefile.am,
5626 at-bridge/Makefile.am.
5627 test/Makefile.am, configure.in:
5628 cleanup, replace individual LIBS/CFLAGS with
5629 AT_COMMON_{LIBS|CFLAGS}.
5633 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5635 * configure.in, libspi/Makefile.am:
5636 Change IDL path checking for bonobo-activation
5639 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5641 * registryd/registry.c : separated event listeners to use
5642 3 separate lists (focus, window, toolkit). Began testing
5643 event names against hashes before relaying events.
5644 * test/at.c : now register for events of type "focus:"
5645 * test/app.c : now generate events of type "focus:"
5646 * at-bridge/bridge.c : register with ATK for focus events,
5647 and we now relay those focus events to any "focus:" listeners.
5648 This now works with the bridge as a GTK_MODULE when running test/at.
5649 * libspi/registry.c :
5650 * libspi/listener.c :
5651 now we ref event sources before propagating, and unref on receipt.
5652 * libspi/registry.c :
5653 some changes to internal structs, to support event typestring hashes.
5654 * text/app.c : changed the way the appname is generated.
5655 * cspi : added directory that will hold the C bindings library for
5656 non-CORBA/bonobo-savvy clients.
5657 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5658 * idl/Component.idl : added in parameter to indicate coord system for
5659 geometry-related calls.
5660 * idl/Hyperlink.idl : added readonly n_links attribute
5661 * idl/Image.idl : changed methods to attributes.
5663 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5665 * at-bridge/Makefile.am: link against
5666 ../libspi/libspi.la instead of -lspi.
5668 * at-spi/test/app.c: include
5669 bonobo-activation.h. Use a default appname
5670 if one is not provided.
5672 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5674 * idl/Registry.idl : temporarily changed register_Application
5675 to oneway, to work around issue with initial registration
5677 * idl/Application.idl : changed attribute "id" from readonly
5678 to read-write, since it needs to be assigned by Registry.
5679 * registryd/registryd.c : added call to set application id
5681 * registryd/registry.c : changed de-registration procedure to
5682 use CORBA_Object_hash() to find matching object ref in application
5683 lists and listener lists.
5684 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5685 began distinguishing between event types (work in progress).
5687 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5690 * libspi/application.c:
5691 Added implementations for get/set id, get_toolkitName,
5693 * registryd/registryd.c :
5697 Converted from use of OAF to bonobo-activation.
5698 * libspi/desktop.h :
5699 * libspi/desktop.c :
5701 Removed references to atksimpleobject, since base atkobject
5702 implementation now provides functionality we need.
5703 * libspi/atksimpleobject.c :
5704 * libspi/atksimpleobject.h :
5709 * at-bridge/Makefile.am
5710 * at-bridge/bridge.c
5713 Added directory "bridge" and contents, and added dependencies
5714 in Makefile.am/configure.in.
5715 Initial checkin of "at-bridge".
5716 This code is a GTK_MODULE which automatically registers
5717 GTK+ apps with the accessibility registry, using an object
5718 reference to the root ATK object.
5720 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5722 * po/Makefile.in.in: Remove. Again. If this
5723 doesn't get autogenerated - you need to update
5726 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5728 * po/Makefile.in.in: Add. Again.
5730 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5732 * libspi/accessible.c : added support for 'description' property.
5733 * libspi/accessible.c
5735 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5736 (since the two are now equivalent in libbonobo)
5744 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5745 Bonobo::Unknown as does Accessibility::Accessible.
5746 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5747 interface with Bonobo::Stream, since it was redundant with it.
5748 (The Stream returned by a StreamableContext object is expected to
5749 implement only a subset of Bonobo::Stream)
5751 2001-07-28 Anders Carlsson <andersca@gnome.org>
5753 * libspi/accessible.c (accessible_object_finalize): Change
5754 g_free to g_object_unref since the AtkObject is a GObject.
5756 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5758 * idl/Accessibility.idl: add new IDL files
5761 * idl/Action.idl: Definitions of actionable UI object
5762 * idl/Component.idl: Definitions of UI component geometry, etc.
5763 * idl/Hyperlink.idl: Defs of hyperlink behavior
5764 * idl/Image.idl: Def of accessible image
5765 * idl/Selection.idl: Definition of UI object with selectable children
5766 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5767 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5768 * idl/Text.idl: Interface defs for UI elements with complex textual content
5769 * idl/Value.idl: Definition of UI element that is a value controller or display
5771 2001-07-27 Michael Meeks <michael@ximian.com>
5773 * po/Makefile.in.in: remove autogenerated file from CVS.
5775 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5778 * idl/Registry.idl: include guard.
5780 * idl/Accessibility.idl: Add, and include all the other IDL
5783 * idl/*.idl: remove mass of pragmas etc.
5785 2001-07-26 Michael Meeks <michael@ximian.com>
5787 * registryd/Makefile.am (registryd_SOURCES): remove
5790 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5792 * libspi/.cvsignore, registryd/.cvsignore,
5793 test/.cvsignore: updated.
5795 * po/Makefile.in.in: gettext update.
5797 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5799 * initial CVS checkin
5801 2001-06-29 Michael Meeks <michael@ximian.com>
5803 * configure.in: add AM_CONFIG_HEADER to gen config.h