1 2003-03-07 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: 1.1.9 release.
6 2003-03-07 Bill Haneman <bill.haneman@sun.com>
8 [needed by GOK, to fix bugs 107985 and 107988]
9 * registryd/deviceeventcontroller.c:
10 (spi_dec_clear_unlatch_pending):
11 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
12 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
13 (spi_dec_init_mouse_listener):Emit warning if mouse button
15 (spi_device_event_controller_forward_mouse_event):
16 Removed unnecessary parens from a conditional.
17 (global_filter_fn):Added TODO comment.
18 (impl_generate_keyboard_event):
19 Cancel a pending relatch if a 'delatching' key was
22 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
24 * atk-bridge/bridge.c:
25 Change atk_signal_child_changed to atk_signal_children_changed.
26 Reorganize code in spi_atk_bridge_signal_listener().
28 * test/event-listener-test.c:
29 Add children_changed_listener and report_children_changed_event()
30 to test AccessibleChildEvent_getChildAccessible.
32 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
34 * cspi/spi_event.c (cspi_internal_event_get_text): Change
35 g_strdup to CORBA_String_dup (bug #105291)
37 * test/event-listener-test.c (report_text_event): Add call to
40 2003-02-28 Bill Haneman <bill.haneman@sun.com>
42 * registryd/deviceeventcontroller.c:
43 (spi_keystroke_from_x_key_event):
44 Fix string and keysym return codes to match modifier state.
47 2003-02-28 Bill Haneman <bill.haneman@sun.com>
49 * registryd/deviceeventcontroller.c:
50 (spi_keystroke_from_x_key_event):
51 Fix segv due to improper use of isprint(c). [bug #107254]
53 2003-02-24 Bill Haneman <bill.haneman@sun.com>
56 (get_accessible_text_boundary_type):
57 Move default return value to (new) default case in switch.
58 (get_accessible_text_clip_type):
59 Move default return value to (new) default case in switch.
61 * libspi/application.c:
62 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
63 Remove unused methods.
64 (impl_accessibility_application_register_object_event_listener):
65 Remove unused methods.
68 Added #include of <math.h>.
70 * registryd/deviceeventcontroller.c:
71 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
72 we don't currently use this method.
73 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
75 (impl_generate_key_event):
76 Remove unused variables.
77 (impl_generate_mouse_event):
78 Initialize button to zero, just in case we get an invalid
79 input. Added support for mouse buttons 4 and 5.
80 (spi_device_event_controller_new):
81 Removed unused variable declaration for 'private'.
83 Added #include of <gdk/gdk.h>
85 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
87 * configure.in: Update to work when X is not installed in expected
88 location. Fixes bug #105836.
91 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
93 (spi_atk_register_event_listener): Add signal listener for
95 (spi_atk_bridge_signal_listener): Event event when link-selected
96 signal is emitted. (bug #104622)
98 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
99 on returned string. (bug #105291)
101 * test/event-listener-test.c: Add test for link-selected.
103 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
105 * atk-bridge/Makefile.am: Correct typo in previous commit.
107 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
109 * atk-bridge/Makefile.am: Allow for build directory to be different
110 from source directory
112 * registryd/Makefile.am: Allow for build directory to be different
113 from source directory
117 2003-01-29 Bill Haneman <bill.haneman@sun.com>
120 Fixed dependencies for libcspi so that libspi gets pulled in
121 properly. Fixes 104741.
125 Clean up inline docs a little.
127 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
129 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
130 This is done by implementing AtkComponent for SpiAtkDesktop, which is
131 the AtkObject within an SpiDesktop.
132 This addresses bug #101524.
134 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
135 Remove call to gdk_init().
137 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
138 so that Display is set when SpiDesktop is created.
140 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
142 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
143 This fixes bug #102830.
145 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
147 * test/test-simple.c: Update to take account of fact that GailButton
148 now implements AtkText.
149 (create_text_window): Set name on AtkObject for GtkEntry.
150 (validate_accessible): Check accessible name before calling test_text().
152 * libspi/Makefile.am: Fix problem with building outside of source
153 directory. Bug #98120.
155 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
156 typo in documentation comments. Bug #94275.
158 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
160 * libspi/text.c (impl_getBoundedRanges): Bug fix.
162 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
165 Add includes to avoid compiler warnings on Solaris.
166 (impl_getRangeExtents): Bug fix.
168 2002-12-17 Bill Haneman <bill.haneman@sun.com>
170 Fix for 100944, [API addition approved by Gman and murrayc].
177 * idl/Accessibility_Text.idl:
178 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
179 (Text::getRangeExtents): New method for efficient
180 bounds query of a text range.
181 (Text::getBoundedRanges): New method for efficient
182 clipping of text to bounding boxes.
183 (unImplemented7, unImplemented8):
184 Removed these padding methods to preserve bincompat.
187 (impl_getRangeExtents): implementation of new IDL.
188 (impl_getBoundedRanges): implementation of new IDL.
189 (SpiTextRect): Internal use struct.
190 (_spi_text_rect_union): internal method, calculates union of two
191 SpiTextRect bounding rects.
192 (_spi_text_range_seq_from_gslist): internal method, allows us
193 to build our sequence efficiently as a gslist then convert it
195 (_spi_bounds_contain): internal method, determines whether
196 a text character is "in" or "out" of a clip rect according to
197 values of TEXT_CLIP_TYPE.
198 (spi_text_class_init): Initialize the new methods in the epv.
201 (AccessibleTextClipType): New enum used by screen review api.
202 (AccessibleTextRange): New struct used by screen review api.
203 (AccessibleText_getRangeExtents):
204 cspi binding for Accessibility_Text_getRangeExtents.
205 (AccessibleText_getBoundedRanges):
206 cspi binding for Accessibility_Text_getBoundedRanges.
207 (AccessibleTextRange_freeRanges): convenience method.
210 (AccessibleText_getRangeExtents):
211 cspi binding for Accessibility_Text_getRangeExtents.
212 (AccessibleText_getBoundedRanges):
213 cspi binding for Accessibility_Text_getBoundedRanges.
214 (AccessibleTextRange_freeRanges): convenience method.
215 (get_accessible_text_clip_type): internal conversion method.
216 (get_accessible_text_ranges_from_range_seq): internal conversion method.
218 * registryd/deviceeventcontroller.c:
219 (spi_dec_mouse_check):
220 Improved behavior for mouse:abs events
221 [same granularity as mouse:rel events, and no
222 events when mouse is idle].
224 2002-12-16 Michael Meeks <michael@ximian.com>
226 * cspi/spi_accessible.c (spi_state_to_corba): rename.
228 * libspi/stateset.c (state_spi_to_atk): split out
229 ( fix several remote array bounds nasties )
230 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
231 (impl_remove): make safe from array bounds issues.
232 (spi_atk_state_from_spi_state): impl.
234 * libspi/stateset.h (spi_state_set_cache_is_empty):
235 add a set of wrapper defines to get layering right.
237 * cspi/spi_accessible.c: update state set stuff to
240 2002-12-14 Michael Meeks <michael@ximian.com>
242 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
243 to avoid 2 roundtrips to the registry per key event
244 (spi_atk_bridge_key_listener): upd.
245 (deregister_application): release the dec.
247 * registryd/registry.c (notify_listeners_cb):
248 bin lots of re-enterant complexity - we no longer
249 do a round-trip bonobo ref here, ensure that a single
250 listener's exception failure won't poison all other
252 (impl_registry_notify_event): bin obvious memory leak.
254 2002-12-13 Michael Meeks <michael@ximian.com>
256 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
257 init the ev so the error is meaningful.
258 (spi_atk_bridge_key_listener): ditto.
260 * cspi/spi_main.c (cspi_ev): init the ev so we start
261 with a clean slate, otherwise the first exception
264 * cspi/spi_text.c (get_accessible_text_boundary_type):
265 add a fallthrough for no warnings.
267 * cspi/spi_registry.c: prune unused warnings.
269 * cspi/spi_main.c (cspi_object_take): fix
270 mind-blowing brokenness ( by watching the compile
273 * cspi/spi_accessible.c (Accessible_getStateSet):
274 re-impl. to use an AtkStateSet.
275 (spi_state_type_from_accessible_state),
276 (init_state_table): bin these.
278 * libspi/stateset.c (spi_atk_state_set_from_sequence):
280 (atk_state_set_from_accessibility_state_set): here.
282 * cspi/spi_accessible.c (spi_state_to_atk): impl.
283 (AccessibleStateSet_contains, AccessibleStateSet_ref),
284 (AccessibleStateSet_unref, AccessibleStateSet_contains),
285 (AccessibleStateSet_add, AccessibleStateSet_remove),
286 (AccessibleStateSet_equals, AccessibleStateSet_compare),
287 (AccessibleStateSet_isEmpty): re-write to use a local
290 2002-12-13 Bill Haneman <bill.haneman@sun.com>
292 * configure.in: Revved to 1.1.7 (new keymask vals).
294 2002-12-10 Bill Haneman <bill.haneman@sun.com>
297 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
299 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
302 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
303 to compare two CORBA_TypeCodes.
304 (cspi_internal_event_add): Silence warning from FORTE compiler.
306 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
307 avoid implicit declaration of functions.
309 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
311 * atk-bridge/bridge.c:
312 (spi_atk_bridge_init_event_type_consts): Store signal id for
313 active-descendant-changed signal.
314 (spi_atk_register_event_listeners): Add signal listener for
315 active-descendant-changed signal,
316 (spi_atk_bridge_signal_listener): Move code in function
317 spi_atk-signal_emit_event() into this function.
318 Add support for active-descendant-changed
319 Update support for child-changed signal.
320 (spi_bridge_window_event_listener): Silence warning.
322 * libspi/spi_private.[ch]:
323 (spi_init_any_object): Change second parameter from CORBA_Object to
325 Omit call to CORBA_Object_duplicate().
326 Set CORBA_any's _value to CORBA_Object*.
328 2002-12-06 Bill Haneman <bill.haneman@sun.com>
334 (AccessibleEvent_ref, AccessibleEvent_unref):
335 New methods, for persisting an event outside the emission context.
336 Must be used if the new accessor methods are to be called
337 outside of the event listener's callback.
339 * cspi/bonobo/cspi-bonobo.c:
340 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
341 as second parameter instead of NULL, so we can call
342 cspi_check_ev afterwards.
345 (cspi_object_take): New internal method,
346 converts a CORBA_Object reference to a hard ref on
347 an Accessible if possible, returning NULL if the object
348 reference is invalid or an Accessible * otherwise.
351 (AccessibleEvent_ref):
352 Increment the event's internal private refcount, and
353 add the event's internal struct to an internal cache
354 if it's not already there.
355 (AccessibleEvent_unref):
356 Decrement the event's refcount and remove it from
357 the cspi event cache if refcount==0.
358 (cspi_event_compare): New private method.
359 Compares two event structs via their ids. Used
361 (cspi_internal_event_lookup): New private method.
362 (cspi_internal_event_check): New private method,
363 a 0-order sanity check for events to make sure their
364 private data is intact.
365 (cspi_internal_event_add, cspi_internal_event_remove):
366 New private methods for managiing the event cache.
368 * cspi/bonobo/cspi-bonobo-listener.c:
370 Initialize the new private data elements (id, magic, ref_count).
372 * atk-bridge/bridge.c:
373 (spi_atk_bridge_signal_listener):
374 Fixed bug #100530, passing wrong params to emission func.
376 * registryd/deviceeventcontroller.c:
377 (spi_dec_button_update_and_emit):
378 Fixed type in mask bit operations; fix for #99799.
380 2002-12-02 Bill Haneman <bill.haneman@sun.com>
382 Removed some of the more dangerous workarounds from
383 previous commit; they are only needed by GOK, which
384 in reality should be using another method to accomplish
385 the goals. So on reconsideration some of the workarounds
388 * registryd/deviceeventcontroller.c:
389 (spi_keycodes_contain, spi_dec_init_keycode_list):
390 Removed these methods, used only by a nasty hack to try
391 and detect whether a key synthesis should be allowed
392 to reset the XKB latch state or not. This code was only
393 required to work around an interaction between GOK,
394 button events, and XKB.
395 (impl_generate_key_event):
396 Removed hack at end of key generation that tried to
397 "do the right thing" if XKB latch keys were generated
398 in the midst of button press/release pairs.
401 Added a check for HAVE_XINPUT. Not normally used yet.
403 2002-11-25 Bill Haneman <bill.haneman@sun.com>
405 Workarounds and fixes for mouse event/XKB interaction.
407 * registryd/deviceeventcontroller.c:
408 (spi_keycodes_contain, spi_dec_init_keycode_list):
409 New internal methods.
410 (spi_dec_set_unlatch_pending):
411 Split the method that tells XKB to expect an
412 unlatch (and revert it) out of the rest of the
413 event handling code. This method is called by the
414 two mouse event handlers (the poll and the filter).
415 (spi_dec_update_and_emit, spi_dec_mouse_check):
416 New methods split from spi_dec_poll_mouse_moved.
417 The second one is now called from inside the filterFn
418 when an XKB delatch event is received, to determine
419 whether to revert the delatch or not.
420 (spi_poll_mouse_moved): Refactor; also we can now
421 properly handle the case where multiple button states
422 have changed between polling cycles and we didn't get
423 notified due to another client's grab.
425 Synchronize the server while handling an XKB notification.
426 Ugly, but apparently necessary to avoid nasty races.
427 Check the mouse state on receipt of an XKB latch change,
428 to decide whether to revert the latch or not. (Latches are
429 reverted if there is an immediately preceding mouse button
430 event that a client has consumed, in which case we don't want
431 the user to see the side-effect of the event).
432 (spi_device_event_controller_forward_mouse_event):
433 Check for modifier events and fire before resetting mouse_mask_state,
434 prevents losing modifier events.
436 (impl_generate_keyboard_event):
437 If we've just generated a keyboard event for a non-shift key,
438 we don't want to revert the pending XKB latch.
439 Otherwise, check the modifier state (via a call to
440 spi_dev_mouse_check) and set the relatch mask to
441 that state before returning.
443 2002-11-24 Bill Haneman <bill.haneman@sun.com>
446 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
449 * atk-bridge/bridge.c:
450 (spi_atk_register_event_listeners):
451 Don't re-register for ATK events if the registry has died
452 and the app needs to re-register; the ATK listeners are in
453 process and doing so will cause duplicate emission.
455 * registryd/deviceeventcontroller.c:
456 (spi_poll_mouse_moved):
457 Reformat the source, detect and emit multiple button-change
458 events (i.e. if multiple buttons have changed between poll
460 Add code to detect mouse-down events even when the pointer
461 is grabbed; workaround for GOK bug 98420.
462 (spi_controller_register_with_devices):
463 Call XTestGrabControl with 'impervious' flag set to True,
464 allows us to synthesize events and query the pointer even during
465 an active grab by another client.
466 (spi_device_event_controller_forward_mouse_event):
467 Set the mouse_mask_state to the mouse_button_state from
468 the intercepted event, to synchronize the grab listener with
471 2002-11-20 Bill Haneman <bill.haneman@sun.com>
473 * cspi/spi_accessible.c:
474 (AccessibleRole_getName):
475 Added necessary strings for making this (deprecated)
476 method work with the new role types.
477 (init_role_table, role_table):
478 Added definition of SPI_ROLE_APPLICATION.
480 * libspi/spi-roletypes.h:
481 Added SPI_ROLE_APPLICATION.
483 * idl/Accessibility_Role.idl:
484 Added ROLE_APPLICATION.
486 * docs/reference/cspi/at-spi-cspi-decl.txt:
487 Added SPI_ROLE_APPLICATION to docs.
489 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
491 * cspi/spi_accessible.c
492 (cspi_init_role_table): Do not write beyond end of role_table.
493 (Accessible_getRole): Use correct type for value returned by
494 Accessibility_Accessible_getRole().
496 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
497 beyond end of role_table. (This fixes bug #98269)
499 * libspi/application.c: Add include file spi-private.h for
500 definition of spi_init_any_nil.
502 2002-11-19 Bill Haneman <bill.haneman@sun.com>
506 * libspi/spi-private.h:
507 Added DGB() macro, and extern int _dbg declaration.
509 * registryd/registry.c:
510 (definitions) storage for _dbg.
512 Get environment variable "AT_SPI_DEBUG".
513 (spi_registry_set_debug):
514 New method, to initialize _dbg value.
515 (spi_listener_struct_new, spi_registry_object_finalize):
516 (notify_listeners_cb):
517 Changed fprintfs to use DBG and g_warning().
519 * registryd/deviceeventcontroller.c:
520 (_deregister_keygrab, spi_controller_register_device_listener):
521 Changed debug/warning messages to use DBG macro.
525 Changed warning messages to use DBG macro and g_warning().
527 * atk-bridge/bridge.c:
528 (atk_bridge_init, spi_atk_bridge_get_registry):
529 (spi_atk_bridge_exit_func):
530 (spi_atk_bridge_property_event_listener):
531 Changed status, warning, and error messages to use
532 g_warning, g_message, and DBG macros.
535 Read the state of the AT_SPI_DEBUG environment variable
536 and set a local '_dbg' accordingly.
538 2002-11-19 Bill Haneman <bill.haneman@sun.com>
540 FIXES for 98836, 98842, other bugs.
543 Revved to 1.1.4, interface-age=4, binary-age=4.
545 * registryd/deviceeventcontroller.c:
547 Fixed crasher bug in last_mouse_pos initialization.
549 * registryd/registry.c:
550 (desktop_add_application, desktop_remove_application):
551 Added (and then commented out) some support for
552 object context marshalling. [TODO]
554 * atk-bridge/bridge.c:
555 (spi_atk_bridge_event_context_create):
556 Commented out object context creation until it can
557 be properly tested and debugged.
559 * registryd/registry.c:
560 (impl_registry_notify_event):
561 Fixed crasher bug, we were calling
562 spi_re_entrant_list_foreach () with an empty list.
564 2002-11-18 Bill Haneman <bill.haneman@sun.com>
566 * idl/Accessibility_Action.idl:
567 * idl/Accessibility_Component.idl:
568 * idl/Accessibility_Desktop.idl:
569 * idl/Accessibility_Event.idl:
570 * idl/Accessibility_Hyperlink.idl:
571 * idl/Accessibility_Image.idl:
572 * idl/Accessibility_Relation.idl:
573 * idl/Accessibility_Selection.idl:
574 * idl/Accessibility_State.idl:
575 * idl/Accessibility_Value.idl:
576 Updated unimplemented slot count to minimum of
577 four for all interfaces, for ABI freeze.
579 * idl/Accessibility_EditableText.idl:
580 * idl/Accessibility_Text.idl:
581 Updated unimplemented slot count to six
584 * idl/Accessibility_Registry.idl:
585 Updated unimplemented slot count to six
586 (also for DeviceEventController),
589 * idl/Accessibility_Table.idl:
590 Updated unimplemented slot count to eight,
593 * idl/Accessibility_Event.idl:
594 Added CORBA_any "any_data" member to Event struct.
596 * idl/Accessibility_Event.idl:
597 Added CORBA_any "any_data" member to Event struct.
599 * atk-bridge/bridge.c:
601 atk_signal_text_changed, atk_signal_child_changed,
602 signal ids queried from gtype system.
603 (AtkBridgeEventContextType): New enum.
604 (AtkBridgeEventContextData): New struct.
605 (AtkBridgeEventContext): New struct.
606 (atk_bridge_init_event_type_consts):
607 New method, initializes type contants for comparison
608 prior to emit_eventv.
609 (atk_bridge_event_context_init): New method,
610 initializes a CORBA_any from an AtkBridgeEventContext.
611 (atk_bridge_focus_tracker): Call spi_init_any_nil to
612 initialize the event.any_data struct.
613 (spi_atk_bridge_event_context_create): New method,
614 creates an AtkBridgeEventContext from signal/event info.
615 (spi_atk_bridge_event_context_free): New method.
616 (spi_atk_emit_eventv): Changed to take an
617 AtkBridgeEventContext parameter. We now initialize
618 the event.any_data member prior to notifying the
619 Registry, via the AtkBridgeEventContext.
620 (spi_atk_bridge_property_event_listener):
621 (spi_atk_bridge_state_event_listener):
622 Match emit_eventv signature.
623 (spi_atk_bridge_object_event_listener):
624 Match emit_eventv signature, and create an
625 event context from the event details.
626 Free the event context afterwards.
627 (spi_atk_bridge_window_event_listener):
628 Create an event context, pass it to the
632 (AccessibleEvent_getContextString):
633 (AccessibleEvent_getContextObject):
634 New methods, allow query of AccessibleEvent objects
635 for more context details (via the "any_data" member
636 of the Event struct, above).
639 Definitions for AccessibleEvent_getContextString
640 and AccessibleEvent_getContextObject.
642 * cspi/spi_listener.h:
643 (InternalEvent): New struct.
646 (AccessibleEvent_getContextString):
647 (AccessibleEvent_getContextObject):
648 Implementations of new methods, for obtaining
649 additional context information from some event types.
651 * cspi/spi_registry.c:
652 (SPI_registerGlobalEventListener):
653 Added mention of active-descendant-changed event in docs.
655 * cspi/cspi-bonobo-listener.c:
657 Marshal the any into the AccessibleEvent via
660 * libspi/spi-private.h:
661 #include <orbit/orbit.h>
663 (spi_init_any_string):
664 (spi_init_any_object):
665 New convenience function declarations.
669 (spi_init_any_string):
670 (spi_init_any_object):
671 New convenience function implementations.
673 * registryd/deviceeventcontroller.c:
674 (spi_poll_dec_mouse_moved):
675 (spi_device_event_controller_forward_mous_event):
676 Initialize any_data member of event.
677 (spi_deregister_controller_device_listener):
678 Fix incorrect param pass which was preventing deregistration.
680 * registryd/registry.c:
681 (desktop_add_application):
682 (desktop_remove_application):
683 Add object data to event's any_data before dispatch.
685 Fix for error messages from GAIL.
687 * test/event-listener-test.c:
688 Test new ContextString and "any_data" API:
689 (report_text_event): New method query and output context string.
690 (main): register a new text listener with report_text_event
693 2002-11-19 Darren Kenny <darren.kenny@sun.com>
695 Fixes for bugs 98127 and 97914.
696 * cspi/spi-roletypes.h:
697 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
699 * cspi/spi-statetypes.h:
700 Added SPI_STATE_MANAGES_DESCENDANTS
702 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
703 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
704 * cspi/spi_accessible.c:
705 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
706 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
707 Accessibility_STATE_MANAGES_DESCENDANTS
708 * libspi/accessible.c:
709 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
710 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
711 As requested by Bill, I also cleaned up the alignment.
713 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
714 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
716 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
717 Accessibility_STATE_MANAGES_DESCENDANTS
718 * docs/reference/cspi/tmpl/spi_accessible.sgml:
719 Document changes reflecting modifications to roles.
720 * docs/reference/cspi/tmpl/spi_relation.sgml:
721 Document changes reflecting modifications to relations.
722 * docs/reference/cspi/tmpl/spi_stateset.sgml:
723 Document changes reflecting modifications to states.
725 2002-11-17 Bill Haneman <bill.haneman@sun.com>
728 Revved to 1.1.3, interface-age=3, binary-age=3.
732 Removed accessx-gui from the tests, since we have a nice
733 keyboard accessibility capplet now :-)
735 * test/keysynth-demo.c:
736 (increment_scan): removed do-nothing default: case,
739 * test/visual-bell.c:
740 (main) : removed do-nothing default: case,
744 (AccessibleAction_getKeyBinding_):
745 Documented keybinding string format.
749 (AccessibleText_getAttributes):
750 Documented the text attribute string format.
751 It's changed to use semicolon delimiters also,
752 to prevent clashes with CSS attributes, but the old
753 trick of looking for ", " strings will still work
754 (as unreliably as ever). Fix for bug related to 97916.
757 Include <cspi/bonobo/cspi-bonobo-listener.h>
759 (SPI_freeAccessibleKeySet):
760 (AccessibleKeystrokeListener_addCallback):
761 (AccessibleKeystrokeListener_removeCallback):
762 Modify to use AccessibleDeviceListener API internally,
763 instead of AccessibleKeystrokeListener.
765 * idl/Accessibility_Event.idl:
766 Added two more empty slots to EventListener (for a total of four).
768 * idl/Accessibility_Accessible.idl:
769 Added four empty slots to Accessible interface.
771 2002-11-15 Bill Haneman <bill.haneman@sun.com>
773 * idl/Accessibility_Registry.idl:
774 (KeyEventType, EventType):
775 Marked KeyEventType as deprecated; it duplicates
776 functionality of EventType, which has been extended to
777 include Mouse-button events.
778 (KeyEventTypeSeq): defined in terms of EventType.
779 (registerDeviceEventListener, deregisterDeviceEventListener):
780 New methods, for managing listeners to device events,
781 which potentially may consume them.
784 Added definition for AccessibleDeviceListener.
786 * cspi/spi-listener.h:
787 (enum AccessibleDeviceEventType):
788 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
789 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
790 for backwards compat.
791 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
792 and typedef'd AccessibleKeystroke to it for back-compat.
793 (AccessibleDeviceListenerCB):
794 New function prototype typedef.
797 (AccessibleDeviceEventMask): New typedef.
798 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
799 (AccessibleKeyMaskType):
800 Set equivalent to AccessibleModifierMaskType for back-compat.
801 (SPI_createAccessibleKeystrokeListener):
802 (AccessibleKeystrokeListener_unref):
803 Deprecated in favor of equivalent (better-named) new API below..
804 keystroke listeners are like all device listeners.
805 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
806 New API names for old features :-).
807 (AccessibleDeviceListener_addCallback):
808 (AccessibleDeviceListener_removeCallback):
809 (SPI_registerDeviceEventListener):
810 (SPI_deregisterDeviceEventListener):
814 (SPI_createAccessibleKeystrokeListener):
815 Use new preferred API, cspi_device_listener_new() and
816 cspi_device_listener_add_cb().
817 (AccessibleKeystrokeListener_removeCallback):
818 Use new preferred API, cspi_device_listener_remove_cb().
819 (AccessibleKeystrokeListener_unref):
820 Use new preferred API, cspi_device_listener_unref().
821 (SPI_createAccessibleDeviceListener):
822 (AccessibleDeviceListener_addCallback):
823 (AccessibleDeviceListener_removeCallback):
824 Implementation of new API.
826 * cspi/spi_registry.c:
827 (SPI_registerDeviceEventListener):
828 (SPI_deregisterDeviceEventListener):
829 Implementation of new API. Fixed memory leak and removed need to
830 allocate EventTypeSeq (thanks Michael for catching this).
831 Squashed a wayward CORBA_exception_free that shouldn't get called.
833 * cspi/bonobo/cspi-bonobo-listener.c:
835 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
836 (cspi_key_event): renamed to cspi_device_event().
837 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
838 Extended to handle mouse button events as well as key events.
839 (CSpiKeystrokeListener):
840 Class superceded by CSpiDeviceListener.
841 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
842 These internal APIs changed to "*device_listener" from "*keystroke_listener".
844 * cspi/bonobo/cspi-bonobo-listener.h:
845 (CSpiKeystrokeListener):
846 Class superceded by CSpiDeviceListener.
847 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
848 These internal APIs changed to "*device_listener" from "*keystroke_listener".
850 * libspi/Makefile.am:
851 Replaced keystrokelistener.h and keystrokelistener.c
852 with devicelistener.h and devicelistener.c; keystrokelisener.h
853 stub retained for back-compat.
855 * libspi/keystrokelistener.c:
859 Replaced inclusion of keystrokelistener.h with devicelistener.h.
861 * registryd/deviceeventcontroller.c:
862 (DEControllerListener): Added Accessibility_EventTypeSeq member.
863 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
864 (DEControllerPrivateData): Added xkb settings data.
865 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
866 button release events (which can't be captured via XGrabButton).
867 Don't dispatch via the 'normal' event mechanism if the device event was
869 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
870 Handle the typeseq data in its new location (see above).
871 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
872 New methods, for "generic" device listeners.
873 (spi_controller_register_device_listener):
874 Now handle mouse event listeners as well as key listeners.
875 (spi_controller_notify_mouselisteners):
877 (spi_device_event_controller_forward_mouse_event):
878 Now we notify mouse device listeners as well as generating the
879 non-consumable "mouse:" events.
881 We must check and restore the XKB
882 modifier map if we consume the event, since the act of triggering
883 a mouse event will normally reset the XKB latch. This is required for
885 (spi_controller_register_with_devices):
886 Load the XKB settings when registering, and register for XKB
888 (spi_key_eventtype_seq_contains_event):
889 Renamed spi_eventtype_seq_contains_event, since it's used
890 internally for all device event types now.
891 (spi_key_event_matches_listener):
892 Uses spi_eventtype_seq_contains_event now.
893 (spi_device_event_controller_object_finalize):
894 Free the private data and the XkbKeyboard struct.
895 (impl_register_device_listener, impl_deregister_device_listener):
896 Implementation of new IDL.
897 (spi_deregister_controller_device_listener):
899 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
900 More efficient implementation, we don't have to create a new
901 XkbControls structure every time we query.
902 (spi_device_event_controller_class_init):
903 Initialize the epv entries for the new IDL. Assign the
904 "spi-dec-private" quark.
905 (spi_device_event_controller_init):
906 Initialize the private data.
907 (spi_device_event_controller_forward_key_event):
908 Removed a bogus CORBA_exception_free() call.
910 * registryd/deviceeventcontroller.h:
911 Replaced inclusion of keystrokelistener.h with
914 * test/event-listener-test.c:
915 (report_mouse_event):
918 Added mouse-event device listener.
920 * test/test-simple.c:
921 (create_test_window):
922 Fixed regression (we were instantiating a GtkRange,
923 which is now an abstract class). Also fixed to match
924 existing AtkRole names, this seems to have changed in ATK
925 awhile ago; too late now I think, and the new
926 mechanism is at least elegant and consistent with the
927 glib enum "nick" APIs.
929 2002-11-15 Darren Kenny <darren.kenny@sun.com>
931 * idl/Accessibility_Relation.idl:
932 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
933 RELATION_EMBEDS,RELATION_EMBEDDED_BY
934 * idl/Accessibility_Role.idl:
935 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
936 * idl/Accessibility_State.idl:
937 add STATE_MANAGES_DESCENDANTS
938 * test/event-listener-test.c:
939 Added a listener for active-descendant events.
941 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
943 * atk-bridge/bridge.c
944 (atk_bridge_init): If application is Bonobo component wait until top
945 level is added before registering
946 (spi_atk_bridge_do_registration): New function which contains code,
947 formerly in atk_bridge_init, to do application registration.
948 (spi_atk_bridge_toplevel_added): Signal called when top level
949 added to Bonobo component
951 This fixes bug #83134.
953 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
955 * registryd/deviceeventcontroller.c
956 Fixed compilation error caused by calling gettimeofday()
959 2002-10-18 Bill Haneman <bill.haneman@sun.com>
964 Added template for HAVE_XKB.
967 Changes to check for XKB, and to set the HAVE_XKB #define if it
971 ()impl_notify_event): Make failure to get event source name
974 * registryd/deviceeventcontroller.c:
975 (#include): include X11/XKBlib.h.
976 (DEControllerPrivateData) : New struct.
977 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
979 (dec_synth_keycode_press) (dec_synth_keycode_release):
980 New methods; split the key synthesis code into these methods.
981 They check XKB settings before determining the "time" values to
982 pass to Xtest; this fixes bug #95828.
983 (impl_generate_keyboard_event): Changed to use methods above,
984 instead of callng Xtest directly.
985 (spi_device_event_controller_init): Initialize new privae struct s
987 (spi_device_event_controllr_object_finalize):
988 Free the (new) private data.
990 * registryd/deviceeventcontroller.h:
991 Add new gpointer to end of struct data.
993 2002-10-16 Bill Haneman <bill.haneman@sun.com>
996 Incremented revision to 1.1.2, SONAME is still '.so', library
997 extensions are ".so.0.0.2".
999 * registryd/deviceeventcontroller.c:
1000 FIXES FOR #93592 and #95940.
1001 (statics): renamed mouse_button_state to mouse_mask_state,
1002 added key_modifier_mask.
1003 (spi_dec_poll_mouse_moved):
1004 Added key modifier checks, and emit "keyboard:modifiers"
1005 events when the key modifiers currently in use change.
1006 Also generate "mouse:abs" events periodically, even if the mouse
1007 is stationary (should we?).
1008 Alternatively we could generate "mouse:abs" events for either all
1009 mouse movements, or every 'nth' mouse movement, or at the
1010 beginning and end of every "active" mouse period.
1012 * test/event-listener-test.c:
1013 (main): Added listener for "keyboard:modifiers" events.
1015 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1017 * libspi/keymasks.h:
1018 Added key mask #defines for mouse buttons; e.g.
1019 SPI_KEYMASK_BUTTON1, etc.
1022 Incremented dependency on ATK to version 1.1.0. (This dependency
1023 is probably premature but will soon be real enough).
1025 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1027 * libspi/hyperlink.[ch]
1028 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1029 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1032 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1037 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1039 * registryd/deviceeventcontroller.c
1040 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1041 events to be ignored.
1042 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1043 keyboard_mode so that XAllowEvents() can be called.
1047 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1049 * cspi/spi-accessible.c: Correct names of roles returned by
1050 AccessibleRole_getName(). Fixes bug #95055.
1052 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1054 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1057 * registryd/registry.c
1058 (desktop_remove_application: Write diagnostic message to stderr for
1061 (impl_accessibility_registry_deregister_global_event_listener):
1062 Correct size of lists array. This addresses bug #94555).
1064 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1066 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1069 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1071 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1074 * registryd/registry.c (impl_registry_notify_event): Remove
1075 unnecessary call to parser_event_type().
1077 * docs/reference/cspi/tmpl/spi_component.sgml:
1078 Add reference to SPI_LAYER_WINDOW.
1080 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1082 * registryd/registry.c
1083 (desktop_add_application): Remove leak.
1084 (desktop_remove_application): Remove leak.
1085 (parser_event_type): Remove leak.
1087 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1089 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1090 bogus call to CORBA_string_dup(). Also removed unnecessary
1091 g_string_dup/g_free calls.
1093 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1095 * registryd/deviceeventcontroller.c:
1096 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1098 * test/event-listener-test.c:
1099 main: commented out three redundant listeners, to reduce output
1100 noise. (They still are potentially useful for testing).
1103 2002-09-13 Michael Meeks <michael@ximian.com>
1105 * Update all the copyrights to include Ximian.
1107 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1109 * cspi/spi.h: add SPI_LAYER_WINDOW.
1111 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1112 add Accessibility_LAYER_WINDOW case.
1114 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1116 * libspi/component.c: (impl_accessibility_component_get_layer):
1117 add ATK_LAYER_WINDOW case.
1119 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1121 * configure.in: incremented micro version.
1123 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1125 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1128 Clarified and reworded our commit policy.
1131 Started an API "todo" addition list for 2.2.
1134 (impl_getSelection):
1135 Free char pointer from atk_text_get_selection, which was being leaked.
1137 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1140 Small revision to author acknowledgement.
1142 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1144 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1145 If signal has detail add it to the type of the event.
1148 2002-08-12 Michael Meeks <michael@ximian.com>
1150 * test/test-simple.c (global_listener_cb): bin bogosity.
1151 (test_keylisteners): disable, still doesn't work reliably,
1152 certainly not on my system anyway.
1154 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1155 don't leak a reference on the DEC. This round-trip
1156 fetching of the DEC per keystroke sucks, it should be
1159 * cspi/spi-private.h,
1160 * cspi/cspi-lowlevel.h,
1161 * cspi/bonobo/cspi-bonobo-listener.[ch],
1162 * cspi/bonobo/cspi-bonobo.c: get the copyright
1163 notices better - there is still a large amount of
1164 work in at-spi falsely attributed solely to Sun.
1166 * cspi/spi_main.c (cspi_object_ref): kill bogus
1167 hash lookup, just increment the ref.
1168 (SPI_freeString): make explicit the fact that we
1169 handle NULL strings just fine.
1170 (report_leaked_ref): obey coding standards.
1171 (cspi_object_hash, cspi_object_equal): kill retval.
1172 (cspi_object_release): only release if not on loan.
1173 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1174 (cspi_object_borrow, cspi_object_return): impl.
1176 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1177 use cspi_object_borrow / return.
1179 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1181 * cspi/bonobo/cspi-bonobo-listener.c:
1183 Don't call cspi_oject_new() because this is creating a new Accessible
1184 every single time that an event is fired. This causes ATs like at-poke
1185 to nolonger recognise the source of the event and thus ignore it.
1186 Re-use the object from the cache, ref it and then unref it after the
1187 listeners have been called.
1189 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1191 * test/event-listener-test.c:
1192 Added command-line options to disable mouse events (m) and
1195 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1197 * configure.in: Update required versions of ATK, GTK+ and GAIL
1199 * cspi-1.0.pc.in: Add dependency for X include files
1202 * cspi/bonobo/Makefile.am:
1203 Add $(X_CFLAGS) so that X include files
1204 are picked up even if not in standard place (bug #71686)
1206 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1208 * registryd/deviceeventcontroller.c: fix for 84261
1209 (spi_dec_mouse_moved):
1210 Added test of mouse button mask, so that we can detect mouse
1211 button release. Unfortunately we can't otherwise detect mouse
1212 button release events without consuming the mouse press event,
1213 because of the way XGrabButton works. This means that our mouse
1214 release events have a latency dependent on the polling period
1215 while the mouse button is down. At least in this case we only
1216 have to poll while the button is down, and not at other times.
1217 If the button masks don't match with what the last press event
1218 reported, we report the appropriate button release event.
1219 (spi_dec_ungrab_mouse):
1220 New method (not yet called).
1221 (spi_device_event_controller_forward_mouse_event):
1222 New method, sends mouse press event from GdkFilter.
1223 (spi_dec_init_mouse_listener):
1224 Added code to call XGrabButton, redirecting mouse button events to
1225 the root window and our Gdk event loop.
1227 Added code to filter mouse button events, and reordered.
1229 * test/event-listener-test.c:
1231 Added registration for mouse events of type "mouse:button".
1233 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1235 * registryd/deviceeventcontroller.c: partial fix for 84261
1236 (spi_dec_poll_mouse_idle):
1237 New method, a timeout which checks to see if the mouse
1239 (spi_dec_poll_mouse_moving):
1240 A timeout to be called when mouse motion is underway.
1241 (spi_dec_poll_mouse_moved):
1242 A method which fires an event if the mouse has moved, and reports
1243 whether or not it did so.
1244 (spi_dec_init_mouse_listener):
1245 A method which sets up the timeouts above.
1246 (spi_device_event_controller_new):
1247 Now calls spi_dec_init_mouse_listener.
1249 * registryd/registry.c:
1250 (spi_registry_init):
1251 Now we initialize the device event controller when the registry is
1252 initialized, instead of waiting until a client has requested a key
1253 event notification; this is because we need the event controller
1254 for mouse events, but the mouse event registration API is a
1255 "registry" call and doesn't explicitly call the
1256 deviceeventcontroller.
1257 We now report mouse motion events with a 100 ms idle latency and
1258 a 20 ms granularity when motion is in progress.
1260 * test/event-listener-test.c:
1262 We now register the "detail listener" for events of type
1263 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1264 delivered only for the first mouse event received, and thereafter
1265 "mouse:abs" events are delivered.)
1267 * cspi/spi_registry.c:
1268 DOCS: Documented the above mouse event typestrings.
1270 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1272 Happy Summer Solstice...
1274 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1275 (spi_controller_notify_keylisteners):
1276 Changes to remove a listener from the listener list, freeing its
1277 open keygrabs, if a notification to that listener fails. This
1278 means that although a dead listener can continue to hold a passive
1279 keygrab, a maximum of one dispatch to such a listener can fail
1280 before the listener is removed from the list, thus the keygrab
1281 will be released on the next occurrence.
1282 As part of this fix:
1283 (spi_notify_keylisteners):
1284 Renamed to spi_controller_notify_keylisteners, as the controller
1285 instance must now be passed as an argument.
1286 The copied 'notify' GList is now a list of DEControllerKeyListener
1287 objects, since we need more than just the CORBA reference if a
1288 notify fails and we need to deregister the listener.
1289 (impl_notify_listeners_sync):
1290 (impl_notify_listeners_async):
1291 (spi_device_event_controller_forward_key_event):
1292 Modify use of notify_keylisteners in accordance with above
1294 (spi_deregister_controller_key_listener):
1295 New method introduced by refactoring, from
1296 impl_deregister_keystroke_listener.
1297 (impl_deregister_keystroke_listener):
1298 Call spi_deregister_controller_key_listener.
1299 (spi_key_listener_clone):
1300 New method to copy a key listner without doing a 'ref' on the
1301 remote object instance; used to create a notifier list.
1302 (spi_key_listener_data_free):
1303 New method, frees data without unreffing the source.
1305 (spi_key_listener_clone_free): new method.
1306 (spi_key_listener_free):
1307 refactored to call spi_key_listener_data_free.
1309 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1311 * registryd/registry.c: [fix for bug 86048]
1312 (notify_listeners_cb):
1313 Clear CORBA system exceptions which occur when notifying
1314 listeners, before returning to the source of the original event,
1315 since the event source doesn't care if the relayed notify failed.
1316 In other words, don't complain to the atk-bridge if the registry
1317 could not notify all its listeners, that's no fault of the
1318 application and thus should not appear to be an error from the
1319 application's perspective.
1321 * cspi/spi_main.c: [fix for bug 85980]
1323 Replaced use of bonobo_object_dup_ref with call to the wrapper
1324 method, csou_dup_ref (); this silences a compiler warning and
1325 provided more portability.
1327 Ping the registry before return, and restart if necessary.
1329 * cspi/bonobo/cspi-bonobo.c:
1331 New internal method.
1333 Fixed this method to return an object reference, as it should have
1336 * cspi/cspi-lowlevel.h:
1337 Added internal definition for cspi_ping() and fixed
1338 return type of cspi_dup_ref().
1341 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1343 * atk-bridge/bridge.c: [fix for bug 85305]
1344 (spi_atk_bridge_register_application):
1345 New method where the initial application registry calls have been
1346 moved; it allows an application to re-register in response to
1347 certain error conditions (such as a registry restart, see below).
1349 Moved some initialization code to the method
1350 spi_atk_bridge_get_registry, below.
1351 (spi_atk_bridge_get_registry):
1352 New, private accessor function for the Accessibility_Registry
1353 instance. If the registry has not been started before, or has
1354 died (as detected by failure of a CORBA exception), it is
1355 restarted before return, and spi_atk_bridge_register_application
1356 is called again to register with the new bridge instance.
1357 (spi_atk_emit_eventv):
1358 Set registry_died on error; use spi_atk_bridge_get_registry () to
1359 access the registry.
1361 * registryd/registry.c:
1362 (impl_accessibility_registry_register_global_event_listener):
1363 Set listener's event_type_quark to etype.minor instead of
1364 etype.major (fix for bug 84856).
1366 * test/event-listener-test.c:
1367 (report_detail_event):
1368 Change the output string so that user/tester can tell that the
1369 'detail listener' was called instead of the 'generic listener'.
1371 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1373 Fixes for bugs 84900, 84908, 84897, 84898.
1378 Revved version to 1.1.0
1379 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1380 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1382 * idl/Accessibility_Registry.idl:
1383 (EventListener::notifyEvent):
1384 Removed 'oneway' directive after extensive consulation with
1385 ORBit2 team and others. This means also that unref() of the event
1386 source can and should be done synchronously after emission, rather
1387 than remotely in the client, after servicing the notify call on
1390 NOTE: This change speeds up listener performance considerably, but
1391 introduces new latency on the application side. We may want to
1392 add an event queue to the atk-bridge.
1394 * atk-bridge/bridge.c:
1395 (spi_atk_bridge_focus_tracker):
1396 Do a local unref() on the event source after emission.
1398 * registryd/registry.c:
1399 (desktop_remove_application):
1400 Do an unref() on the event source after emission.
1401 (desktop_add_application):
1402 Do an unref() on the event source after emission.
1403 (notify_listeners_cb):
1404 When relaying an event, don't automatically add the event source
1405 to the local object cache, just CORBA_dup it instead. Likewise,
1406 if this method reenters, release the ref rather than calling
1408 (impl_registry_notify_event):
1409 No longer call remote unref() on the event source after dispatch.
1411 * libspi/eventlistener.c:
1412 (impl_accessible_event_notify_event):
1413 Removed remote unref ()
1415 * cspi/bonobo/cspi-bonobo-listener.c:
1417 We now call cspi_object_new() instead of cspi_object_add() on
1418 receipt of an event; thus we only have an implicit object ref
1419 while the cspi_event method is being executed. If we need to keep
1420 a reference to the object, the listener must call ref() on the
1421 object. Thus also we don't need to call cspi_object_unref() after
1422 invoking the listener callbacks in this method.
1426 New internal API for creating a new cspi object, without adding it
1427 to the object cache.
1429 Now uses cspi_object_new() to create the cspi object instance.
1431 Now checks to see if the object is in the internal object cache,
1432 and adds it if necessary before incrementing its refcount (note
1433 that new objects are added with a refcount of 1).
1434 (report_leaked_ref):
1435 New method which gives some information on leaked object instances
1436 if leak detection is turned on.
1438 * test/event-listener-test.c:
1439 (timing_test_event):
1440 New method, used for testing event delivery timing for special
1441 events of type "object:test". It reports elapsed time and
1442 events/sec every 500 events.
1444 Added a new listener, 'test listener', to check timing of event
1445 receipt as noted above.
1447 Added some timing output here also, reports elapsed time every 100
1450 * test/stress-test.c:
1451 Emit events of type "object:test", for use with "event-listener-test".
1453 * test/test-simple.c:
1454 (global_listener_cb):
1455 Call Accessible_ref() on the event source before calling
1456 validate_accessible, since the validation process does pointer
1457 comparisons on the event source, meaning that the event source
1458 needs to be added to the local object cache first. Any use of
1459 such pointer comparisons between Accessible objects requires that
1460 the caller hold an explicit reference to those objects.
1461 We also must therefore call Accessible_unref() when leaving this method.
1463 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1465 * registryd/deviceeventcontroller.c:
1466 (spi_controller_update_key_grabs):
1467 Fix for #84735, subsequent keygrab listeners not informed of
1468 registration failure.
1471 (spi_base_construct):
1472 Add an assertion on construct, to make sure the GObject passed in
1473 is really a GObject.
1475 Explicitly initialize object->gobj pointer to NULL;
1477 * cspi/bonobo/cspi-bonobo-listener.c:
1478 (cspi_object_add_ref):
1479 New method, can specify whether to dup-ref a bonobo object passed
1480 in if it's newly added to the object cache.
1482 Now calls cspi_object_add_ref with second param of "FALSE". This
1483 prevents us from doing a pointless dup-ref followed by
1484 release-unref for all those cases where the object is already in
1485 our object cache (fix for #85205).
1487 * atk-bridge/bridge.c:
1488 (spi_atk_bridge_idle_init):
1489 Removed this method, we don't need to initialize in an idle
1492 Changed to call spi_atk_register_event_listeners directly, not via an
1493 idle handler. (fix for #81139)
1494 (gnome_accessibility_module_shutdown):
1495 Removed conditional around deregistration of listeners, since we
1496 don't use the idle handler and thus have always registered when
1498 (spi_init_keystroke_from_atk_key_event):
1499 Changed references to Accessibility_KEY_PRESSED to
1500 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1502 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1504 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1509 * test/stress-test.c:
1512 (may have been an incomplete commit yesterday?)
1514 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1517 Added target for new stress-test.
1519 * test/stress-test.c:
1520 New test, sends 1000 focus notifies in quick succession.
1522 * test/key-listener-test.c:
1523 Now we report whether a keylistener registration
1524 request succeeded or failed.
1526 * test/event-listener-test.c:
1527 Uncommented some listeners which are now implemented.
1530 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1532 * registryd/deviceeventcontroller.c:
1533 (spi_controller_update_key_grabs):
1534 Fix for #82509, lack of failure notification when
1535 ALL_WINDOWS keygrabs fail due to XGrabKey
1536 failure: we synchronize the server when
1537 registering a passive grab, to make sure we get the
1538 error message before the call returns.
1540 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1542 * test/test-simple.c:
1544 Removed #ifdef KEY_IMPL_WORKS guards.
1545 (test_keylisteners):
1546 Removed #ifdef KEY_IMPL_WORKS guards.
1547 Fixed bug which was causing a hang waiting for a
1548 "press" event (which was already overwritten by a "release"
1549 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1551 Added code to set globals 'key_press_received' and
1552 'key_release_received'.
1555 Added section "1.1 API Proposed Additions" which
1556 lists API additions desired for at-spi-1.1 (only one so far).
1557 Updated TODO list a little.
1559 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1561 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1564 * configure.in: Revved to 1.0.0.
1566 * idl/Accessibility_Registry.idl:
1567 (registerKeystrokeListener):
1568 Added boolean return value.
1570 * registryd/registry.c:
1571 (notify_listeners_cb): Minor fix to debug output.
1573 * registryd/Accessibility_Registry.server.in.in:
1574 Revved version number in OAFIID to 1.0.
1576 * registryd/registryd.c:
1578 Use new OAFIID version.
1580 * cspi/bonobo/cspi-bonobo.c:
1582 Use new OAFIID version.
1588 * atk-bridge/bridge.c:
1590 Use new OAFIID version.
1592 * registryd/deviceeventcontroller.c:
1593 (impl_register_keystroke_listener):
1594 Added CORBA_boolean return value.
1595 (spi_controller_register_device_listener):
1596 Added gboolean return value.
1597 (spi_controller_register_global_keygrabs):
1598 Added gboolean return value.
1599 (spi_key_set_contains_key):
1600 Added implementation for many more control keys,
1601 for instance F1-F12, arrow keys, End, Home, Page_Up,
1603 [TODO: some still not implemented].
1605 * text/screen-review-test.c:
1606 (text_chunk_pad_string):
1607 New function: it provides mapping between coordinate
1608 positions of text chunks and character positions in the
1609 screen-review-line output string.
1610 (text_chunk_to_string):
1611 New function, calls text_chunk_pad_string with various
1612 pad/delimiter characters. Pushbuttons are delimited with
1613 square brackets, Frames with vertical 'pipe' lines, and
1614 other text with double quotes.
1615 (text_chunk_list_to_string):
1616 Calls new function text_chunk_to_string.
1617 (toplevel_composite):
1618 New function to composite layers CANVAS through
1619 POPUP in each toplevel (other layers are composited
1620 across toplevels, i.e. BACKGROUND and OVERLAY).
1621 (review_buffer_composite):
1622 Revise to use new methods.
1628 2002-05-31 Laszlo Peter <laca@sun.com>
1630 * configure.in: add the Xtst libdir to the runpath on Solaris,
1631 since it's not in the default library search path.
1633 2002-05-29 jacob berkman <jacob@ximian.com>
1635 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1637 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1639 * test/screen-review-test.c:
1640 (text_chunk_pad_string):
1641 Added method, which pads the string according to the
1642 text bounds of the chunk. It also takes a 3-character
1643 string as a param which indicates the characters to be
1644 used for start, padding, and end delimitation of the chunk.
1645 (text_chunk_to_string):
1646 Changed to use text_chunk_pad_string.
1648 * configure.in: Fixed bug in AC_OUTPUT that was
1649 causing path substitution in Accessibility_Registry.server
1652 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1654 * text/screen-review-test.c:
1655 (guess_string_clip):
1656 New method which attempts a best-guess at clipping
1657 text from components (like Java labels) which don't
1658 actually implement AccessibleText. This inaccurate
1659 clip is based on the assumption that the label is
1660 justified left-and-right, and monospaced.
1661 (text_chunk_get_clipped_string):
1662 We now call guess_string_clip() for text-containing
1663 components that don't implement AccessibleText.
1665 * test/screen-review-test.c:
1666 (review_buffer_get_text_chunk):
1667 We now pull "name" from labels if they do not implement
1668 AccessibleText (i.e. for Java labels).
1669 (get_screen_review_line_at):
1670 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1673 Replaceded AC_OUTPUT target
1674 registryd/Accessibility_Registry.server with
1675 registryd/Accessibility_Registry.server.in.
1677 * registryd/Accessibility_Registry.server.in:
1678 Removed (this is now a Makefile target).
1680 * registryd/Accessibility_Registry.server.in.in:
1681 Added (source for target above). We now use $(libexecdir) as
1682 prefix for the executable at-spi-registryd.
1684 * registry/Makefile.am:
1685 Now install at-spi-registryd into $(libexecdir), and build .server
1686 file with path (see above).
1688 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1690 * test/screen-review-test.c:
1691 (text_chunk_get_clipped_string):
1692 We now check to see if words fall within clip bounds
1693 before resorting to character-by-character clip bounds testing.
1695 * TODO: Added a section for "2.2 Proposed API Additions".
1697 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1699 * test/screen-review-test.c:
1701 Added a screen review benchmarking and test program to test
1704 * cspi/spi_accessible.c:
1706 Made some of the debug strings passed to cspi_check_ev a
1707 little more specific.
1709 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1711 * test/screen-review-test.c: Fix crashes in debug statements
1713 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1715 * test/screen-review-test.c: Added this file.
1717 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1719 * atk-bridge/bridge.c: changed "object:state-change" to
1720 "object:state-changed" to match docs.
1722 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1724 * atk-bridge/bridge.c: Hooked up state-change event details.
1726 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1728 * registryd/registry.c:
1729 Fixed quarking bug in event string parsing; now events with
1730 detail parameters get matched correctly to listeners.
1733 * util/idl/Magnifier.idl: remove.
1735 * util/*.[ch]: Remove.
1736 Magnification utilities and IDL are now in module gnome-mag.
1738 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1740 * registryd/deviceeventcontroller.c:
1741 Fixed bug in grab key conversion which was causing keycode grabs
1742 to be converted to AnyKey grabs.
1745 updated NEWS file to reflect recent spin-off of gnome-mag.
1747 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1749 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1750 busted AccessibleStateSet_compare. Removed redundant casts.
1752 * cspi/spi-action.c: Removed redundant casts.
1754 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1756 * cspi/spi_component.c: Fixed typos and casting error.
1758 * cspi/spi_editabletext.c: Removed redundant casts.
1760 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1762 * cspi/spi_hypertext.c: Eliminated redundant casts.
1764 * cspi/spi_image.c: Eliminated redundant casts.
1766 * cspi/spi_registry.c: Eliminated redundant casts.
1767 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1768 * cspi/spi_selection.c: Removed redundant casts.
1769 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1770 handling. Screen geometry and text offsets were being returned as 0
1771 on error which is technically valid-- changed these to return -1.
1772 Added marshaller for text boundary types to fix bug with boundary
1773 types being passed incorrectly to atk.
1775 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1778 * cspi/spi_registry.c:
1779 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1780 which was uncovered by the recent key changes.
1782 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1784 * test/event-listener-test.c:
1786 Added new test, "event-listener-test";
1787 this code does two things; it benchmarks traversal time
1788 for the accessible hierarchy for the first running accessible
1789 app, and it connects listeners for all supported event types.
1790 It is thus useful as an example event listener and for
1791 diagnostics/debugging of event generation.
1793 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1796 Removed unnecessary dependency on libutil.
1799 Revved micro version: 0.13.1
1801 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1804 Removed util/Makefile from targets.
1807 Removed util subdir from SUBDIRS (temporarily,
1808 pending removal of magnifier-only code
1812 #ifdef-ed out magnifier dependencies, since
1813 magnifier IDL, headers, and binary now live in
1814 module gnome-mag and we don't want at-spi to depend
1815 on gnome-mag. A magnifier demo which can run alongside
1816 simple-at is forthcoming in the gnome-mag module.
1818 NOTE: Split magnifier binary, IDL, and magnification
1819 activation code from at-spi into module gnome-mag.
1821 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1823 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1824 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1826 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1829 Revved to version 0.13.0
1831 * idl/Accessibility_Registry.idl:
1832 Changed definition of KeySet from sequence of longs to sequence of
1833 KeyDefinitions, and added KeyDefinition struct.
1834 Required for fix to bug 80616.
1836 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1837 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1838 to use new definition (see above).
1840 * registryd/deviceeventcontroller.c: handle_keygrab(),
1841 spi_keyset_contains_key():
1842 Changed to make use of new struct; this allows matching based on
1843 string key-name, for instance "Tab". This also allows matching of
1844 composed characters, non-alphanumeric characters in a way that
1845 doesn't involve dependencies on X keysym codes directly, etc.
1847 * test/key-listener-test.c:
1848 Added test for Alt-Tab key using "string" specification of keyset,
1849 and modified one of the tests to use a keycode-based keyset.
1850 Thus this test both tests and demonstrates the creation and use of
1851 keysets of three forms: specified via keycode array,
1852 keysym array, and string array. (The string case only contains a
1853 single string, i.e. a string array of length 1).
1856 Turned on PRINT_TREE option by default. Also fixed a
1857 string-freeing bug in the PRINT_TREE code.
1858 Added a listener to window:minimize events.
1860 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1862 * atk-bridge/bridge.c:
1863 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1864 for window:activate and window:deactiveate
1865 (atk_bridge_property_event_listener atk_bridge_signal_listener
1866 atk_bridge_window_event_listener) Tidy debug code
1868 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1870 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1871 Fixed handling for NULL return value from ATK.
1873 * libspi/action.c libspi/component.c libspi/editabletext.
1874 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1875 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1876 Removed redundant casts.
1878 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1879 Fixed off by one bug.
1881 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1882 function not present in idl)
1884 2002-05-02 jacob berkman <jacob@ximian.com>
1886 * atk-bridge/Makefile.am: make atk-bridge a real module
1888 2002-04-26 Radek Doulik <rodo@ximian.com>
1890 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1891 atk_state_types table
1893 2002-04-22 jacob berkman <jacob@ximian.com>
1896 * libspi/Makefile.am: add deps on the built files to help
1897 automake, and don't version the ORBit typelib
1899 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1901 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1902 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1903 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1904 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1905 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1906 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1907 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1908 libspi/accessible.h libspi/accessible.h libspi/base.h
1909 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1910 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1911 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1912 libspi/spi-private.h libspi/statetset.h libspi/table.h
1913 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1914 util/mag_client.h util/mag_control.c util/mag_image.c
1915 util/mag_image.h util/magnifier.c util/magnifier.h:
1916 Add missing file headers; standardize existing ones
1918 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1920 * atk-bridge/bridge.c: Added window event support.
1922 2002-04-18 Michael Meeks <michael@ximian.com>
1924 * libspi/relation.c (impl_getNTargets): impl.
1925 (impl_getTarget): impl.
1927 * libspi/Makefile.am: fix stateset install.
1929 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1932 Started putting useful info in this file.
1934 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1936 * atk-bridge/bridge.c:
1937 Propagate state-changed notifications to ATs
1939 * cspi/spi_registry.c: update docs to reflect actual behavior of
1940 state-change events.
1942 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1945 Incremented version to 0.12.1
1947 * util/mag_client.h:
1948 Add missing declaration for magnifier_exit,
1949 used by mag_control.c - Forte compiler didn't like
1950 the implicit redeclaration of the function :-(
1953 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1956 Revved version to 0.12 due to API change (see below).
1958 * cspi/spi-roletypes.h:
1959 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1960 definition from the inline docs, and added docs
1961 for SPI_ROLE_LAST_DEFINED.
1964 * cspi/spi_streamablecontent.c:
1965 Added missing seek_type parameter to
1966 (so far unused) method,
1967 AccessibleStreamableContent_seek().
1968 [ RT approval JodyG. ]
1971 Fixed docs for SPI_createAccessibleKeystrokeListener.
1973 * cspi/spi_registry.c:
1974 Fixed docs for SPI_KEYSET_ALL_KEYS.
1976 * docs/reference/cspi/at-spi-cspi-sections.txt:
1977 Added a number of missing APIs to SECTIONS.
1979 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1981 * registryd/Makefile.am:
1983 * cspi/bonobo/Makefile.am:
1984 Add $(X_LIBS) to makefiles.
1986 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1989 Revved version to 0.11.
1991 * libspi/component.c:
1992 Added implementation for grabFocus.
1994 * idl/Accessibility_Component.idl
1995 (Accessibility_Component_grabFocus):
1996 Made this method return boolean to indicate success or failure, to
1997 be consistent with cspi and the corresponding ATK method.
1999 * idl/Accessibility_Selection.idl
2000 (Accessibility_Selection_selectAll) :
2001 Made these methods return boolean to indicate success or
2002 failure, to be consistent with cspi and the corresponding ATK methods.
2004 * idl/Accessibility_EditableText.idl
2005 (Accessibility_EditableText_setTextContents,
2006 Accessibility_EditableText_insertText,
2007 Accessibility_EditableText_cutText,
2008 Accessibility_EditableText_deleteText,
2009 Accessibility_EditableText_pasteText):
2010 Made these methods return boolean to indicate
2013 * cspi/spi_editabletext.c:
2014 Made these methods return booleans.
2016 * libspi/selection.c:
2017 * libspi/component.c:
2018 * libspi/editabletext.c:
2019 Connected the boolean returns from ATK
2020 to the server-side code referenced above.
2022 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2024 * idl/Accessibility_Table.idl: Added missing methods,
2025 Accessibility_Table_addRowSelection,
2026 Accessibility_Table_addColumnSelection,
2027 Accessibility_Table_removeRowSelection,
2028 Accessibility_Table_removeColumnSelection.
2031 Added C wrappers for above IDL:
2032 AccessibleTable_addRowSelection,
2033 AccessibleTable_addColumnSelection,
2034 AccessibleTable_removeRowSelection,
2035 AccessibleTable_removeColumnSelection.
2038 Added server-side implementation code for IDL above, connecting
2039 to pre-existing ATK api.
2041 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2043 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2045 * libspi/accessible.c: Added implementation fo
2046 Accessibility_Accessible_get_state.
2048 * libspi/libspi.h: Added stateset.h to the list of includes.
2050 * libspi/stateset.c: Fixed broken implementation.
2052 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2055 Added implementation code for Accessibility_Magnifier_exit ().
2057 * util/mag_control.c:
2058 Added test code for above method; you can
2059 now kill an existing magnifier via
2060 ./mag_control q, from the util directory.
2062 * test/key-listener-test.c:
2064 Added a new test, for our key listener API.
2066 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2068 * test/app.c, test/keysynth-demo.c:
2070 Replace use of snprintf with g_snprintf.
2071 (fix for bugzilla 78249)
2073 2002-03-27 Michael Meeks <michael@ximian.com>
2077 * util/Makefile.am (INCLUDES): fix.
2078 (DONT_DIST_SOURCE): don't distribute the
2081 * libspi/Makefile.am (dist-hook): ditto.
2083 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2085 * libspi/hypertext.c:
2086 Fix warnings when yelp is used with atk-bridge
2088 2002-03-21 Michael Meeks <michael@ximian.com>
2090 * libspi/application.c (spi_application_new):
2091 use spi_accessible_construct so we use the AtkObject
2094 2002-03-19 Michael Meeks <michael@ximian.com>
2096 * registryd/registry.c (desktop_remove_application),
2097 (desktop_add_application): clean coding style.
2099 * registryd/desktop.c (spi_desktop_remove_application),
2100 (spi_desktop_add_application): kill re-enterency hazards.
2101 (spi_desktop_dispose): remove bogus redundant cast
2102 obscuring bug; fix bug too.
2103 (spi_desktop_init): make the desktop object immortal.
2105 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2108 Added a #define-guarded tree-traversal step
2109 when enumerating the apps (diagnostic tool).
2111 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2113 * idl/Accessibility_Role.idl:
2114 Added ROLE_DRAWING_AREA which seemed to be missing from the
2117 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2119 * cspi/spi-roletypes.h cspi/spi_accessible.c
2120 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2123 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2124 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2125 AT when applications are added and removed from the desktop. This
2126 reverts the previous broken implementation using the backing
2127 AtkObject for the SpiDesktop.
2129 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2131 * registryd/desktop.c: emit the "children-changed::add" and
2132 "children-changed::remove" signals on the backing ATK object for
2133 the desktop so AT can tell when applications are started and shut
2136 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2138 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2140 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2142 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2144 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2146 * cspi/state-types.h: synched with IDL and ATK
2148 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2150 * libspi/accessible.c
2151 (impl_accessibility_accessible_get_child_at_index):
2152 Change return value for g_return_if_fail ()
2153 to CORBA_OBJECT_NIL instead of "0" (!)
2155 * registryd/Makefile.am:
2156 * registryd/Accessibility_Register.server.in:
2157 Changed name of executable, "registryd",
2158 to something more informative:
2161 2002-03-13 Michael Meeks <michael@ximian.com>
2163 * atk-bridge/bridge.c (atk_bridge_init): don't register
2164 if we're in a bonobo-component, rather than a bonobo app.
2166 2002-03-13 Michael Meeks <michael@ximian.com>
2168 * atk-bridge/bridge.c (gtk_module_init): split
2169 out body to (atk_bridge_init): here, since otherwise
2170 we get symbol conflicts and oddness when invoked
2171 from (gnome_accessibility_module_init): here (upd.)
2173 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2176 New file. Explicitly allow "build sheriff" putbacks provided
2177 they are tested on Solaris.
2179 * docs/reference/cspi/Makefile.am:
2180 Added '-' to the "cp" command for index.sgml.
2181 ("patch by thomasvs, soon coming to a GUADEC near you")
2184 Incremented version number (0.9.0) for new release.
2185 Changed macro that checks for popt, to better detect
2186 obsolete versions of popt.
2189 Added X_LIBS to AC_SUBST, for applications
2190 that call Xlib API directly.
2193 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2196 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2199 Fix regression caused by hard-coding major
2200 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2203 * test/test-simple.c (test_editable_text),
2204 (test_test): revert previous change (error was
2205 a regression in gail which is now fixed).
2207 2002-03-04 Michael Meeks <michael@ximian.com>
2209 * test/test-simple.c (test_editable_text),
2210 (test_text): pass G_MAXINT instead of '-1' for
2211 whole string - is this a good thing !?
2213 * cspi/spi_accessible.c
2214 (Accessible_getRelationSet): fix crasher bug
2215 overwriting the end of the array.
2217 * test/test-simple.c (validate_accessible): free,
2218 not g_free returned relation set.
2220 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2222 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2223 implemented stateset support
2225 * idl/Accessibility_State.idl: Made necessary changes to
2226 the IDL to support state sets.
2228 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2230 * registryd/deviceeventcontroller.c:
2231 Added implementation for generateMouseEvent.
2233 * cspi/spi_registry.c:
2234 Connected new implementation for generateMouseEvent
2237 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2240 Incremented revision (but no change in public API
2241 outside of 'utils', which are not installed public yet.)
2243 * libspi/component.c:
2244 Changed to use atk_component API for layers and
2245 mdi_zorder, instead of deprecated atk_object API.
2247 Magnification Utility Enhancements:
2250 Added implementation of createZoomRegion, clearAllZoomRegions,
2251 resizeZoomRegion. Added new commandline argument
2252 "--no-initial-region". Note that clearAllZoomRegions doesn't
2253 unmap the old '0' region as it should (yet), and the other
2254 methods only work when creating/resizing a single region,
2255 which is "region 0".
2256 (Code for multiple region support will be added later.)
2259 Now we raise the magnifier window each time it's refreshed;
2260 this will help keep it on top.
2262 * util/mag_client.h:
2263 Added simple wrappers for above, used by mag_control.
2264 For general use, it's recommended to use the bonobo magnifier
2265 control API directly instead of using these wrappers.
2268 Moved ZoomRegionData from magnifier.c to this file.
2270 * util/mag_control.c:
2271 Added some code to exercise new IDL implementations.
2273 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2275 * libspi/text.c: Provide implementation for getAttributes.
2277 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2280 Incremented revision.
2282 * test/test-simple.c:
2283 Replaced use of deprecated g_main_iteration with
2284 g_main_context_iteration.
2286 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2289 Incremented revision for desktop alpha 2.
2291 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2293 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2296 * test/simple-at.c: include netinet/in.h.
2298 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2300 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2301 use NULL, not CORBA_OBJECT_NIL.
2303 * libspi/accessible.c:
2304 (impl_accessibility_accessible_get_relation_set):
2305 allocate the sequence correctly.
2307 * libspi/remoteobject.h: kill spi_remote_object_new.
2309 * test/test-simple.c: (validate_accessible): add code
2310 to test relation sets, now all we need is to figure
2311 out how to excercise this code path :/
2313 2002-01-18 Michael Meeks <michael@ximian.com>
2315 * test/test-simple.c
2316 (key_listener_cb): consume the key.
2317 (test_keylisteners): update.
2318 (main): wait for any pending unrefs on events.
2320 * registryd/deviceeventcontroller.c
2321 (spi_controller_update_key_grabs): only re-issue the
2322 grab on a key release.
2323 (spi_device_event_controller_forward_key_event):
2324 refresh the keygrabs before we notify the listeners,
2325 to reduce the X ungrab / re-grab race.
2326 (spi_controller_register_with_devices): remove
2327 XSelectInput - we do that with the gdk_window_ call.
2328 (_spi_controller_device_error_handler): return a value.
2329 s/GDK_DISPLAY/spi_get_display/
2331 2002-01-17 Michael Meeks <michael@ximian.com>
2333 * registryd/deviceeventcontroller.c
2334 (_deregister_keygrab): don't blow out the later
2337 * test/test-simple.c (test_keylisteners): do a
2338 more intelligent validation.
2340 2002-01-14 Michael Meeks <michael@ximian.com>
2342 * atk-bridge/bridge.c
2343 (gnome_accessibility_module_init),
2344 (gnome_accessibility_module_shutdown): impl.
2345 (gtk_module_init): protect vs. double inits.
2346 (add_signal_listener): impl.
2347 (spi_atk_bridge_state_event_listener): kill
2348 (deregister_application): split out of
2349 (spi_atk_bridge_exit_func): here.
2351 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2354 Added caret tracking when using magnifier, and
2355 now use text bounds for focus tracking of text elements, rather than
2356 the component bounds - this is helpful for short text fields in long
2357 table cells, at high magnification.
2359 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2361 * registryd/deviceeventcontroller.c:
2362 Regression fix for keylistener de-registration; global keygrabs
2363 were not being released when deregisterKeystrokeListener was
2364 called in cspi, since
2365 Accessibility_DeviceEventController_deregisterKeystrokeListener
2366 was called with a zero-length keyset. That is because the cspi
2367 method, SPI_deregisterKeystrokeListener, does not take a keyset
2368 parameter but instead should remove all the key grabs held be a
2370 The code in impl_deregister_keystroke_listener was changed to copy
2371 the keylist from the listener instance previously registered with
2372 the DeviceEventController before releasing the grabs.
2374 * registryd/registry.c:
2375 * registryd/deviceeventcontroller.c:
2376 * libspi/spi-private.h:
2378 Changed spelling of "re-enterant" to "re-entrant" globally.
2380 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2382 * test/test-simple.c:
2383 Changed key listeners test - the test was slightly mis-using the
2384 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2385 It now uses '=' as the key event listened to and generated,
2386 relying on a keysym match rather than assuming that keycode 33
2387 is always equal to keysym '!'.
2389 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2392 Changed simple-at to use a specific keyset, rather than
2393 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2394 manager, desktop, etc.
2396 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2398 * registryd/deviceeventcontroller.c:
2399 Replaced standard X error handler with a special handler that
2400 is non-fatal for failed keygrabs. This works around
2401 problems with keygrab clashes sometimes observed on
2403 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2404 mouse handling code as yet).
2406 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2409 Incremented revision for desktop alpha release.
2412 Fixed a couple of the more glaring errors (still not
2415 2002-01-11 Michael Meeks <michael@ximian.com>
2417 * registryd/deviceeventcontroller.c
2418 (spi_device_event_controller_forward_key_event): kill
2419 XUngrabKey / XKeyGrab race.
2420 (spi_controller_grab_keyboard): rename to
2421 (spi_controller_update_key_grabs): this, and deal
2422 with incremental adding / removing grabs more
2424 (_register_keygrab): ensure we're not pending a remove.
2425 (spi_grab_mask_free): impl.
2426 (spi_controller_register_global_keygrabs): split out
2428 (handle_keygrab): impl.
2429 (_deregister_keygrab): impl.
2430 (spi_controller_deregister_global_keygrabs): impl.
2431 (spi_controller_update_key_grabs): re-issue the grab if
2432 we just recieved a notification.
2434 * test/test-simple.c (key_listener_cb): remove debug.
2436 * registryd/deviceeventcontroller.c
2437 (spi_controller_register_device_listener): after
2438 registering a global keygrab, actualy register it !
2439 don't wait for a timeout; doh !
2441 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2442 to make it more readable / manipulable.
2443 s/grabmask/grab_mask/ s/refcount/ref_count/
2444 s/keyval/key_val/ s/modmask/mod_mask
2446 2002-01-08 Michael Meeks <michael@ximian.com>
2448 * registryd/deviceeventcontroller.c
2449 (spi_controller_register_with_devices): use gdk calls to
2451 (global_filter_fn): implement the filter.
2452 (spi_device_event_controller_check_key_event): rename to
2453 (spi_device_event_controller_forward_key_event): this & upd.
2454 (spi_get_display): replace with GDK_DISPLAY.
2456 * registryd/deviceeventcontroller.c
2457 (spi_controller_deregister_device_listener): unroll into
2458 (impl_deregister_keystroke_listener): here to simplify.
2459 (spi_controller_register_global_keygrabs): split cut and
2460 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2461 (spi_controller_deregister_device_listener): remove.
2462 (impl_register_mouse_listener): remove, no mouse listener
2463 support in at-spi-1.0
2465 * registryd/registry.c
2466 (_device_event_controller_hook): kill.
2467 (spi_registry_init): upd.
2469 * registryd/deviceeventcontroller.c
2470 (spi_device_event_controller_class_init): upd.
2471 (spi_check_key_event): merge into.
2472 (spi_device_event_controller_check_key_event):
2473 here and kill strange static ev init, don't leak
2474 the x_event - nor dynamicaly allocate it.
2476 * registryd/registry-main.c (main): re-direct
2477 timeout to remove strange vtable mess.
2479 * registryd/deviceeventcontroller.c
2480 (remove_listener_cb): impl.
2481 (spi_controller_deregister_device_listener):
2482 fix re-enterancy hazard.
2484 2002-01-07 Michael Meeks <michael@ximian.com>
2486 * registryd/deviceeventcontroller.c
2487 (spi_device_event_controller_new): upd.
2488 (impl_notify_listeners_sync): upd. debug.
2489 (spi_notify_keylisteners): fix re-enterancy hazards,
2490 prettify, remove O(n*n) iteration.
2491 (spi_controller_grab_keyboard): fix iteration.
2492 (spi_check_key_event): re-format to suit coding style.
2493 Clean all the warnings - we're warning free.
2495 * registryd/deviceeventcontroller.h:
2496 * registryd/registry.h: make mutualy referential with
2497 typesafe forward references instead of (!) void pointer
2500 2002-01-11 Michael Meeks <michael@ximian.com>
2502 * cspi/spi_accessible.c (role_names): add a role name
2503 to sync this array with the enum; and make the regression
2506 2002-01-10 Michael Meeks <michael@ximian.com>
2508 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2509 allow expansion of enumeration & kill warning.
2511 * test/test-simple.c (key_listener_cb): impl.
2512 (test_keylisteners): impl.
2514 * cspi/spi-listener.h: make listener signatures const
2515 on the provided (const) events.
2517 * test/keysynth-demo.c: upd. to const events.
2519 * test/simple-at.c: ditto.
2521 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2524 Rev the version to 0.5 (the previous tarball was named 0.4,
2525 even though the micro number was 3), so we need to rev upwards
2526 again for beta2/"desktop-alpha"
2529 Checked in a demo script, which requires editing before use!
2530 Proceed with caution.
2533 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2535 * cspi/spi_accessible.c:
2536 Add a couple of missing enum initializations, and fix some enum
2539 * cspi/spi_registry.c:
2540 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2542 * docs/reference/cspi/at-spi-cspi-sections.txt:
2543 Remove/fix a couple of broken document references.
2546 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2547 as Alt-Control to listen for commands, since on some systems
2548 Control-Alt may already be grabbed.
2550 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2553 Update version number to 0.4 for Beta2.
2555 * libspi/accessible.c, libspi/accessible.h:
2556 Expose spi_accessible_construct, to enable libgail-gnome
2557 construction from spi_accessible subtype.
2559 * utils/magnifier.c:
2560 Workaround for bug in some non-gnome-compliant window managers
2561 which made magnifier resize improperly.
2563 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2565 * libspi/accessible.c: (spi_accessible_new) :
2566 Move the test for SPI_IS_REMOTE_OBJECT to
2567 spi_accessible_new_return, fixing a bug and compile time warning.
2569 2002-01-08 Michael Meeks <michael@ximian.com>
2571 * registryd/registry.c (parse_event_type): remove strndup.
2573 * libspi/Makefile.am (libspi_la_SOURCES): remove
2574 sources already included in the headers section.
2576 * libspi/util.c: add.
2578 * libspi/spi-private.h: add.
2580 * registryd/registry.c: update to moved list iterators.
2582 2002-01-05 Michael Meeks <michael@ximian.com>
2584 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2586 * test/test-simple.c (main): ditto.
2588 2002-01-04 Michael Meeks <michael@ximian.com>
2590 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2591 redundant construct.
2593 * registryd/registry.c
2594 (get_listener_list): impl.
2595 (impl_accessibility_registry_register_global_event_listener):
2596 re-impl. to simplify using ~, remove dodgy const cast off.
2597 (parse_event_type): constify.
2598 (impl_accessibility_registry_deregister_global_event_listener_all):
2599 re-write, more efficiency and simplicity, kill re-enterancy
2601 (compare_listener_corbaref, compare_corba_objects),
2602 (compare_listener_quarks): define out.
2603 (impl_accessibility_registry_deregister_global_event_listener):
2604 re-write for effiency, and nail re-enterancy hazard.
2605 (impl_accessibility_registry_get_desktop_list): impl.
2606 (re_enterant_list_delete_link): impl.
2607 (re_enterant_list_foreach): impl.
2608 (remove_listener_cb): impl.
2609 (_registry_notify_listeners): kill.
2610 (notify_listeners_cb): impl.
2612 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2613 (SPI_getDesktopList): impl.
2615 * test/test-simple.c (test_desktop): test the methods.
2617 2002-01-03 Michael Meeks <michael@ximian.com>
2619 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2620 keystrings since we free them
2621 (SPI_freeAccessibleKeySet): in here.
2623 * libspi/accessible.c (spi_accessible_new): kill warning,
2624 wonder what is going on with the constructor here.
2626 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2628 * libspi/accessible.c (spi_accessible_new ()) :
2629 Added check to see if AtkObject is an SpiRemoteObject before
2630 creating an SpiAccessible.
2632 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2634 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2635 Enable keygrabs using the Control modifier, now that they are
2636 working properly (they were previously disabled).
2639 Change the command keygrab for this demo to "Control+Alt", so as
2640 to conflict with fewer other key commands on the system; this
2641 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2643 Removed a pointlessly-chatty keylistener for unshifted keys
2644 (shifted keys are still reported).
2646 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2648 * libspi/remoteobject.h:
2649 * libspi/remoteobject.c:
2650 Added definitions for special AtkObject subtype, required for
2651 support of remote components (specifically, used by BonoboControl
2652 accessibility implementation).
2654 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2656 * cspi/spi.h: synched relation types with ATK
2658 * cspi/spi_accessible.c: Added implementations of
2659 AcccessibleRelation_* methods
2661 * idl/Accessibility_Relation.idl: added getRelationTypeName
2662 method. Synched known relation types with ATK. Allowed for
2663 relation type extension with the RELATION_EXTENDED type.
2665 * libspi/relation.c: Provided implementations for
2666 AccessibleRelation methods.
2668 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2670 API tweaks for today's API 'freeze'.
2673 Added placeholder functions to allow future compatible expansion
2674 of the IDL interfaces.
2676 * idl/Accessibility_Registry.idl:
2677 Changed generateKeyEvent to generateKeyboardEvent. Changed
2678 signature of this method to accept an optional keystring in
2679 parameter (for complex text input synthesis) and changed use of
2680 simple 'boolean' parameter in registerKeystrokeListener to a
2681 struct, EventListenerMode.
2683 * cspi/spi_accessible.c:
2685 * cspi/spi_streamablecontent.c:
2686 Added references to AccessibleStreamableContent interface, and
2687 definition and implementation of AccessibleStreamableContent
2690 * cspi/spi_registry.c:
2692 Changed generateKeyEvent API to generateKeyboardEvent,
2693 taking a new (optional) keystring parameter to support complex
2698 Renamed directory (to better reflect its actual purpose, bridging
2699 from at-spi to ATK). The .so module is also now named
2702 * idl/Accessibility_Hypertext.idl:
2703 * libspi/accessible.c:
2704 * libspi/hypertext.h:
2705 * libspi/hypertext.c:
2706 Changed Accessibility_Hypertext to *not* derive from
2709 * cspi/spi_registry.c:
2710 Added list of legal event type names for 'window' events, which
2711 completes the registry event API.
2713 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2715 * at-bridge/bridge.c: Added registration for separate
2716 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2717 signals. If either of the first two parameters to the generic
2718 bridge signal handler are ints, they are passed on as event
2719 details. This allows an AT to determine what text was inserted.
2721 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2723 * registryd/deviceeventcontroller.c:
2724 Fixed regressions in generateKeyEvent caused by the removal of
2725 gdk_init from registryd; we now use pure X calls to connect to the
2726 display, which makes sense because deviceeventcontroller already
2727 uses a fair bit of X API (should eventually be migrated to a
2728 'portability layer').
2730 * registryd/desktop.c:
2731 Fixed minor regression in spi_desktop_init, changed the way the
2732 desktop name is being set to work with new spi_base API
2733 (gobject-based, rather than AtkObject-based).
2735 * registryd/Makefile.am:
2736 Minor revision of makefile to use XTST_LIBS variable rather than
2737 hard-wiring the Xtst LD_ADD element.
2739 * test/keysynth-demo.c:
2740 Tweaked an output message; added initialization of the
2741 'keystrings' member of the "switch listener" key_set.
2743 * libspi/relation.c:
2744 Squashed compile-time warning.
2746 * libspi/accessible.c:
2747 Cosmetic and formatting fixes, renamed a static method.
2749 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2751 * libspi/accessible.c
2753 * libspi/application.c
2756 * libspi/component.c
2757 * libspi/editabletext.c
2758 * libspi/hyperlink.c
2759 * libspi/hypertext.c
2761 * libspi/selection.c
2765 * registryd/desktop.c:
2766 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2768 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2770 * idl/Accessibility_Registry.idl:
2771 Added boolean member 'is_text' to DeviceEvent. This is for the
2772 use of key events, and helps prevent ambiguity between composed
2773 key strings and keysym names, since both may potentially be
2774 returned in the 'event_string' member.
2776 * at-bridge/bridge.c:
2777 * registryd/deviceeventcontroller.c:
2778 Use the 'is_text' member when notifying device event listeners.
2779 Knon issue: composed characters are not dealt with correctly by
2780 the global key listener implementation yet.
2782 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2784 * at-bridge/bridge.c:
2785 Namespaced local static methods to spi_atk_bridge_* where
2786 previously named bridge_*, and spi_* elsewhere.
2788 * at-bridge/bridge.c:
2789 * cspi/bonobo/cspi-bonobo-listener.c:
2790 Added demarshalling/conversion for string member of
2791 Accessibility_DeviceEvent to AccessibleKeystroke.
2793 * registryd/deviceeventcontroller.c:
2794 Added code to fill the Accessibility_DeviceEvent key string value
2795 member for global key events (i.e. from XGrabKey), to match
2796 behavior of Accessibility_DeviceEvent from the toolkit key events
2797 from the bridge. Fixed timestamp in global key event notifications.
2800 Added printout of key event's string value to
2801 report_ordinary_key_event, for demo/debugging purposes.
2803 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2805 * idl/Accessibility_Registry.idl:
2806 Removed Accessibility_KeyStroke structure in favor of generic
2807 Accessibility_DeviceEvent structure.
2808 Changed Accessibility_ControllerEventMask from a struct to an
2811 * at-bridge/bridge.c:
2812 Changed APIs to use DeviceEvent structure as above, and removed
2813 bogus casting between these event structures.
2815 * cspi/spi-listener.h:
2816 Added keystring member of AccessibleKeystroke structure, to enable
2817 matching on event "names" rather than only hardware codes and
2821 Added keystrings member of AccessibleKeySet struct, to allow
2822 matching on event names (as above).
2823 Added declarations for SPI_createAccessibleKeySet and
2824 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2825 event modmasks directly as unsigned ints rather than structs with
2826 refcounts, in the DeviceEventController methods.
2828 * cspi/spi_registry.c:
2829 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2831 * cspi/spi-roletypes.h:
2832 Added documentation of newly added SPI Roles.
2834 * cspi/bonobo/cspi-bonobo-listener.c:
2835 Changes in support of API changes above.
2837 * libspi/accessible.c:
2838 Converted APIs to use DeviceEvent structure (see IDL changes
2841 * registryd/deviceeventcontroller.c:
2842 Added DEControllerGrabMask structure to track keygrabs not only by
2843 modmask but by keyset as well; this allows us to do "global"
2844 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2845 grabbing on AnyKey and then filtering after-the-fact.
2846 Bugfixes for event filtration mean that we don't get false matches
2847 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2849 * registryd/deviceeventcontroller.c:
2850 Namespaced a number of static methods to use spi_ prefix. Major
2851 revision to internals of global (i.e. X) key grabs.
2853 * registryd/deviceeventcontroller.h:
2854 Removed keymask_list and added keygrabs_list to
2855 SpiDeviceEventController struct.
2858 Added use of SPI_createAccessibleKeySet API when creating a
2859 listener for only one key. Attach a listener to "shift spacebar
2860 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2861 X key event names to SPI key event names, so that listeners are
2862 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2864 * test/keysynth-demo.c:
2865 Changed (incorrect) use of X key event names (KeyPressed,
2866 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2869 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2871 * libspi/accessible.c:
2872 Convert all AtkRole enumerations to Accessibility_Role enums when
2873 getting a role from an AtkObject.
2875 * cspi/spi_accessible.c:
2876 Complete the conversion of Accessibility_Role enums at runtime to
2877 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2878 role enums correctly match those given in spi-roletypes.h.
2879 Re-synchronize the local names list for AccessibleRole_getName ().
2880 AccessibleRole_getName is now deprecated, since it duplicates the
2881 more reliable Accessible_getRoleName.
2882 Added some role types from Accessibility_Role.idl.
2884 * idl/Accessibility_Role.idl:
2885 Added some role types used by AtkRole.
2887 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2890 * cspi/spi_registry.c:
2892 * cspi/cspi-bonobo-listener.c:
2893 Namespaced all methods that did not begin with an "SPI_" or
2894 "Accessible" prefix to "SPI_".
2897 Homogenized internal function namespace to "cspi_" for statics.
2900 Patched tests to use the new CSPI API.
2902 * docs/reference/cspi/at-spi-cspi-sections.txt:
2903 Updated docs to reflect namespace changes, and added a number of
2904 methods to the documentation.
2906 * registryd/registry.c:
2907 Changed use of strings and string hashes in listener event
2908 matching and parse_event_string to use GQuark, which is guaranteed
2911 * registryd/registry.h:
2912 Squashed annoying warning.
2914 * idl/Accessibility_Role.idl:
2915 Extended range of available Accessibility_Role values.
2917 * cspi/spi_accessible.c:
2918 Re-ordered role names.
2920 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2922 * idl/Accessibility_Value.idl:
2923 Revert use of union back to CORBA_double, since the double type is
2924 more efficient and can contain the other types without loss of
2927 * idl/Accessibility_Accessible.idl:
2928 Added method Accessibility:Accessible:getRoleName, to complement
2929 Accessibility:Accessible:getRole.
2931 * cspi/spi_accessible.c:
2933 Added C binding for above, Accessible_getRoleName (), and changed
2934 signature of Accessible_getRole () to return an AccessibleRole.
2936 * cspi/spi-roletypes.h:
2937 Changed AccessibleRole_getName to return a char * instead of a
2938 const char *. This method is now at least temporarily deprecated
2939 in favor of asking Accessibles for their RoleNames directly.
2942 Revert to match Accessibility_Value.idl;
2946 Change signature of AccessibleValue methods to use double rather
2950 * cspi/spi_accessible.c:
2951 Changed Accessible_getRole to return an AccessibleRole enum rather
2952 than a UTF-8 string. The UTF-8 string can still be obtained via
2953 AccessibleRole_getName ().
2955 * test/test-simple.c:
2956 Add test_action. Small fixup to match API change to Accessible_getRole.
2959 Bugfix for get_action_from_servant ().
2961 2001-12-11 Michael Meeks <michael@ximian.com>
2963 * libspi/libspi.h: remove registry.h and
2964 desktop.h, deviceeventcontroller.h
2966 * libspi/Makefile.am: remove registry.[ch],
2967 desktop.[ch], deviceeventcontroller.[ch]
2969 * registryd/Makefile.am: add registry.[ch],
2970 desktop.[ch], rename registryd.c to registry-main.c.
2971 add deviceeventcontroller.[ch]
2973 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2976 Replace setenv() call with putenv ().
2978 * libspi/component.c:
2979 Bugfix in AccessibleComponent_getExtents (),
2982 2001-12-11 Michael Meeks <michael@ximian.com>
2984 * libspi/image.c (impl_getImageExtents): impl.
2985 (spi_image_class_init): upd.
2988 (AccessibleImage_getImageDescription): fix daft bug
2991 * test/test-simple.c (global_listener_cb): update
2992 to only quit if not --poke
2993 (main): catch --poke.
2994 (validate_accessible): upd. dumping, call test_image
2997 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3000 * idl/Accessibility.idl: update all IDL includes.
3002 * idl/*.idl - rename to namespace - this sucks, blame
3003 mjs' bad decision for oafd.
3005 * test/test-simple.c (create_test_window): add more tests.
3006 (create_tree): split this out.
3007 (validate_accessible): bugfix.
3009 2001-12-11 Michael Meeks <michael@ximian.com>
3011 * cspi/bonobo/cspi-bonobo-listener.c:
3012 (cspi_kestroke_listener_unref),
3013 (cspi_event_listener_unref): impl. undoing previous
3014 homenous environment - for Bill.
3016 * cspi/spi_table.c (long_seq_to_array): use
3019 * cspi/spi_main.c: split out all bonoboish bits into
3022 * cspi/spi-impl.h: upd. typedefs.
3024 * cspi/spi_registry.c: update to lowlevel API,
3025 return booleans to indicate success in some places.
3027 * cspi/spi_event.c: update to lowlevel API.
3029 * cspi/bonobo/Makefile.am: add.
3031 * cspi/bonobo/cspi-lowlevel.h: add
3033 * cspi/bonobo/cspi-bonobo.c: add
3035 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3037 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3038 (SUBDIRS): add bonobo, link in the libs.
3040 * cspi/spi-util.c: kill this file.
3042 * TODO: merge in my bits.
3044 2001-12-11 Michael Meeks <michael@ximian.com>
3046 * test/test-simple.c (test_value, test_table, main):
3047 remove unused variables causing warnings.
3049 * configure.in: cleanup checks - require gail.
3051 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3054 Changed Value interface to use SValue (scalars) rather than
3055 assuming all values are floats. This allows floats, doubles,
3056 longs, shorts, and unsigned values to be manipulated.
3057 Introduced Accessibility:SValue union.
3060 Updated to use new API above, and to work correctly with GValues
3061 of different types in AtkValue.
3064 Updated to use new API above. cspi's API is as yet unchanged.
3067 Updated the Value revision action item.
3069 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3071 * test/test-simple.c:
3072 Added test_table (GtkTreeView widget in test window to follow).
3073 Un-commented test_value, added GtkRange widget.
3074 Added GtkTreeView widget with GtkListStore. It passes regression
3075 test but leaks one SPI object for some reason.
3078 Fixed bug in impl__set_currentValue.
3080 2001-12-10 Michael Meeks <michael@ximian.com>
3082 * cspi/spi_text.c: audit for exception handling,
3083 tolerating NULL object references safely etc.
3085 * cspi/spi_value.c: ditto.
3087 * cspi/spi_table.c (AccessibleTable_getSummary),
3088 (AccessibleTable_getAccessibleAt),
3089 (AccessibleTable_getRowHeader),
3090 (AccessibleTable_getColumnHeader),
3091 (AccessibleTable_getCaption): fix bugs hidden by
3093 (long_seq_to_array): impl.
3094 (AccessibleTable_getSelectedRows),
3095 (AccessibleTable_getSelectedColumns): use it.
3097 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3100 Added a TODO list (rough and short for now).
3102 * cspi/spi_hyperlink.c:
3103 * cspi/spi_hypertext.c:
3104 Fixed macro name typos, and remove use of obsolete macro in
3105 AccessibleHyperlink_getLink.
3107 * cspi/spi_action.c:
3108 * cspi/spi_accessible.c:
3109 * cspi/spi_application.c:
3110 * cspi/spi_component.c:
3111 * cspi/spi_selection.c:
3114 Documentation fixes (removed return values from ref/unref methods).
3116 2001-12-10 Michael Meeks <michael@ximian.com>
3118 * cspi/spi_action.c: audit for exception handling,
3119 tolerating NULL object references safely etc.
3121 * cspi/spi_accessible.c: ditto.
3123 * cspi/spi_component.c: ditto.
3125 * cspi/spi_editabletext.c: ditto.
3127 * cspi/spi_hyperlink.c: ditto.
3129 * cspi/spi_hypertext.c: ditto.
3131 * cspi/spi_image.c: ditto.
3133 * cspi/spi_selection.c: ditto.
3135 2001-12-10 Michael Meeks <michael@ximian.com>
3137 * configure.in: use cspi/libspi.pc.in instead.
3139 * Makefile.am (pkgconfig_DATA): upd. to match.
3141 * test/simple-at.c (report_focus_event): kill hacks around
3142 bad return values, use putenv not setenv
3144 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3145 fire ChildGone - I killed it.
3147 * libspi/component.c
3148 (impl_accessibility_component_get_extents): remove
3151 * idl/Accessible.idl: kill ChildGone exception.
3153 * cspi/*.[ch]: kill int return from ref / unref.
3155 * cspi/spi_main.c (cspi_object_add_check): fold into
3156 (cspi_object_add): here.
3158 * cspi/spi_component.c (AccessibleComponent_getExtents):
3159 handle exceptions elegantly.
3161 * cspi/spi-private.h (cspi_check_ev_return),
3162 (cspi_return_if_fail): impl.
3164 * cspi/spi_accessible.c: use extensively.
3165 (AccessibleStateSet_equals): add direct compare check.
3167 * cspi/spi_selection.c: tolerate NULL objs, and check
3168 exceptions before return.
3170 * cspi/spi-util.c (cspi_warn_ev): rename to
3171 (cspi_check_ev): this & don't pass ev in; no point.
3173 2001-12-10 Michael Meeks <michael@ximian.com>
3175 * test/test-simple.c: use putenv not setenv
3176 (get_environment_vars): more chatty if you're not using
3179 * test/simple-at.c: do the setenv so more people see the
3182 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3184 * libspi/registry.c:
3185 Changed check of CORBA_environment on notification to be a warning
3186 instead of an error for the moment, since we can recover from this
3187 error when caused by a queued notification from a dead app.
3190 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3191 used by all current implementors of AtkValue), and coerce to
3192 CORBA_float. (Proper general case fix may require change to Value.idl).
3194 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3198 * cspi/spi_accessible.c:
3199 Documentation fixes: added user_data params to documentation for
3200 listeners and callbacks.
3202 * cspi/spi_accessible.c:
3203 Changed AccessibleStateSet_compare to return a
3204 StateSet rather than return the difference set into a third parameter.
3207 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3210 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3211 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3215 Remove subdirectory po from SUBDIRS for now.
3217 * at-bridge/bridge.c:
3218 Beefed up a couple of debug printouts.
3219 One-line fix for signal notification name formatting.
3221 * libspi/accessible.c:
3222 Added assertion to spi_accessible_new ().
3224 * libspi/application.c:
3225 Put #ifdef qualifiers around a printf.
3228 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3230 * registryd/Makefile.am:
3232 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3233 INTLTOOL_SERVER_RULE macro.
3236 Added an event listener for several ATK signals, for
3237 testing and debugging. Removed a few g_warnings.
3238 Added test output if focussed item implements the Value interface.
3240 * test/test-simple.c:
3241 Added test_value () function (known not to pass at the moment, so
3242 not actually called yet.
3244 2001-12-08 Michael Meeks <michael@ximian.com>
3246 * at-bridge/bridge.c (bridge_focus_tracker),
3247 (emit_eventv): fix the same ref. leak.
3248 (register_atk_event_listeners): don't leak.
3250 * cspi/spi-listener-impl.c (cspi_event): more
3251 protection from client code.
3253 * test/test-simple.c (test_desktop): unref the app.
3255 * test/Makefile.am: upd. TESTS.
3257 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3259 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3261 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3263 * cspi/spi_registry.c: constify in strings.
3264 (deregisterGlobalEventListenerAll): don't release the ref.
3266 * cspi/spi.h: start removing redundant / conflicting
3267 gtkdoc comments, making the API readable at a glance :-)
3269 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3271 * test/keysynth-demo.c (keysynth_exit, main): upd.
3273 * test/simple-at.c (main, simple_at_exit): upd.
3275 * test/test-simple.c (unutterable_horror): kill.
3276 (utterable_normal_derefs): kill.
3277 (main): upd & do a setenv before gtk_init, so that we
3278 can use memprof - and to save the pain of remembering
3279 this, if we're running under memprof - don't exit.
3281 * cspi/spi_main.c (SPI_exit): return exit status
3283 (SPI_event_quit): impl.
3284 (SPI_event_main): simplify.
3285 (cspi_is_gnome_app): kill.
3286 (SPI_init): kill isGNOMEapp arg.
3288 * at-bridge/bridge.c (register_atk_event_listeners):
3289 re-instate the unref.
3290 (bridge_exit_func): don't re-activate the registry,
3291 protect vs. theoretical re-entry, use the
3292 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3293 assert a clean shutdown - for regression tests.
3295 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3297 * configure.in: Comment out dummy i18n support for now,
3298 otherwise it fails to build.
3299 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3300 EXTRA_DIST. They are missing in tarball.
3302 2001-12-07 Michael Meeks <michael@ximian.com>
3304 * util/magnifier.c: kill bonobo activation reg. race.
3306 * libspi/component.c
3307 (impl_accessibility_component_get_extents): make it match
3310 * libspi/registry.c (_registry_notify_listeners):
3311 re-remove X headers & reconcile conflicts.
3312 (spi_listener_struct_free): bad conflict resolve.
3313 (impl_accessibility_registry_register_application):
3314 more bad merging fixed.
3315 (impl_accessibility_registry_deregister_application): ditto.
3316 (spi_registry_new): ditto.
3317 (spi_registry_init): don't have an applications field.
3319 [ merge fixups2 branch to here ]
3320 2001-12-07 Michael Meeks <michael@ximian.com>
3322 * test/simple-at.c (report_focus_event),
3323 (report_focussed_accessible): remove g_warning debug.
3325 2001-12-07 Michael Meeks <michael@ximian.com>
3327 * test/test-simple.c (validate_tree): comment out some checks.
3328 (test_desktop): app now not registered idly - horay.
3330 2001-12-07 Michael Meeks <michael@ximian.com>
3332 * cspi/spi_registry.c
3333 (registerAccessibleKeystrokeListener): clean, stop it leaking
3334 great swathes of memory, and device event controller references.
3335 ensure we always pass valid sequences.
3336 (deregisterAccessibleKeystrokeListener): ditto.
3337 (generateKeyEvent): upd.
3339 * at-bridge/bridge.c (bridge_key_listener): handle
3340 registry dead exception gracefully.
3341 (bridge_focus_tracker, emit_eventv): free ev.
3343 * test/simple-at.c (report_focus_event): fix polarity.
3345 * libspi/application.c (notify_listeners): kill the ev
3346 argument, and make sure we init the ev we use.
3347 (spi_application_object_event_listener): split out a chunk
3348 (get_atk_object_ref): here & fixup.
3349 (reverse_lookup_name_for_toolkit_event): make const.
3350 (spi_application_toolkit_event_listener): fixup, kill leaks
3353 * at-bridge/bridge.c (register_atk_event_listeners):
3354 don't unref the noop object - causes grief.
3356 * libspi/registry.c: remove the X headers.
3357 turn off the debug churn.
3359 * libspi/accessible.c (spi_accessible_new_return): only
3360 release the ref if we are supposed to [doh]
3362 * test/simple-at.c (report_button_press, report_focus_event):
3363 guard vs. unexpected exit.
3365 * at-bridge/bridge.c (gtk_module_init): prune printf.
3366 (bridge_exit_func): fix app unref.
3368 * libspi/Makefile.am: don't install registry or desktop.h
3370 * libspi/*.h: update includes.
3372 * libspi/application.h: don't include ourself, or
3373 other redundant headers.
3375 2001-12-06 Michael Meeks <michael@ximian.com>
3377 * libspi/accessible.c
3378 (get_accessible_from_servant): impl.
3379 Upd. all CORBA impl.s to use it killing cut and paste.
3381 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3383 (SPI_init): register atexit cleanup handler here.
3385 2001-12-06 Michael Meeks <michael@ximian.com>
3387 * at-bridge/bridge.c (gtk_module_init): g_error on
3388 activation exception
3390 2001-12-06 Michael Meeks <michael@ximian.com>
3392 * at-bridge/bridge.c (gtk_module_init): some sort of
3393 confusing merge clash - reverted.
3394 (bridge_idle_init): ditto.
3396 * test/test-simple.c (main, utterable_normal_derefs):
3397 merge from Bill - somehow not committed.
3399 2001-12-06 Michael Meeks <michael@ximian.com>
3401 * libspi/value.c (spi_value_class_init): upd.
3402 (spi_value_finalize): kill.
3404 * libspi/table.c (spi_table_finalize): kill.
3405 (spi_table_interface_new): upd.
3406 (spi_table_class_init): upd.
3407 (get_table_from_servant): impl.
3408 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3410 * libspi/selection.c (spi_selection_finalize): kill.
3411 (spi_selection_interface_new): upd.
3412 (spi_selection_class_init): upd.
3413 (get_selection_from_servant): impl.
3414 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3416 * libspi/relation.c (spi_relation_finalize): kill.
3417 (spi_relation_class_init, spi_relation_new): upd
3419 * libspi/image.c (spi_image_finalize): kill.
3420 (spi_image_class_init): upd.
3421 (spi_image_interface_new): upd.
3422 (get_image_from_servant): impl.
3423 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3425 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3426 (spi_hyperlink_finalize): kill.
3427 (spi_hyperlink_new): upd.
3428 (get_hyperlink_from_servant): impl.
3429 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3431 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3432 (spi_hypertext_finalize): kill.
3433 (spi_hypertext_class_init): upd.
3434 (get_hypertext_from_servant): impl.
3435 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3437 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3438 (spi_editable_text_interface_new): upd.
3439 (get_editable_text_from_servant): impl.
3440 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3442 * libspi/text.c (get_text_from_servant): impl.
3443 All impls - update to use it killing more cut and paste,
3444 also fix bad string returns on duff args ( a somewhat
3445 impossible case to handle - but hey ).
3446 (spi_text_construct): impl.
3447 (spi_text_interface_new): upd.
3448 (spi_text_object_finalize): kill.
3450 * libspi/component.c
3451 (accessibility_component_object_finalize): kill.
3452 (spi_component_class_init): upd.
3453 (get_component_from_servant): impl. helper to kill cut & paste.
3454 (impl_accessibility_component_contains):
3455 (impl_accessibility_component_get_accessible_at_point):
3456 (impl_accessibility_component_get_position):
3457 (impl_accessibility_component_get_extents):
3458 (impl_accessibility_component_get_mdi_z_order):
3459 (impl_accessibility_component_get_layer):
3460 (spi_component_interface_new): upd.
3462 * libspi/action.c (spi_action_finalize): kill.
3463 (spi_action_class_init): upd. inherit from SpiObject.
3464 (spi_action_interface_new): upd.
3465 (get_action_from_servant): impl. helper to reduce cut & paste.
3466 (impl_getKeyBinding, impl_getName, impl_doAction),
3467 (impl_getDescription): Use it everywhere.
3469 * cspi/spi_main.c (get_live_refs): a pointer hash.
3470 (spi_object_hash, spi_object_equal): comment out.
3471 There are issues with CORBA object hashing that need
3474 * libspi/application.c (spi_application_init),
3475 (spi_application_new): upd.
3477 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3478 (spi_accessible_class_init): upd.
3479 s/accessible/object/ in epv methods.
3481 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3483 * at-bridge/bridge.c:
3484 Reorder the bridge initialization into the bridge gtk_module_init,
3485 an immediate call to bridge_register_app, and an idle_add for
3486 register_atk_event_listeners (the only code that *must* wait until
3487 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3488 the activation, creates the application's Accessible object, and
3489 queues the bridge_idle_init function. Restored call to
3490 Accessibility_Registry_deregisterApplication().
3491 Prior to making this call we obtain a new reference to the
3492 registry, which is a temporary hack that helps us handle apps that
3493 shut down the bonobo mainloop before we get there.
3495 * libspi/registry.c:
3496 Fix string leakage in debug block, and don't segv if a an app
3497 dies before its event notifications have been propagated.
3500 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3501 as stopgap measure until we get proper exception handling when
3502 objects die during or before interrogation.
3506 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3507 Also changed default value of is_gnome_app to TRUE.
3510 * test/keysynth-demo.c:
3511 Changed use of SPI_init and SPI_event_main to reflect API change above.
3514 Made report_focus_event check the warning value from getName
3515 before reporting on focussed accessible; simplifies handling of
3516 notifications from dead objects.
3518 * test/test-simple.c: (Changes not in this patch since source is
3521 2001-12-05 Michael Meeks <michael@ximian.com>
3523 * registryd/registryd.c (main): protect against
3524 bonobo-activation startup race condition.
3526 * cspi/spi_main.c (cspi_object_add_check): cope
3527 with the exception elegantly.
3529 * idl/Accessible.idl: decl. ChildGone
3531 * libspi/desktop.c (spi_desktop_dispose): impl.
3532 (spi_desktop_class_init): upd.
3533 (spi_desktop_add_application),
3534 (spi_desktop_remove_application),
3535 (abnormal_application_termination): impl.
3536 (impl_desktop_get_child_at_index): re-impl.
3539 (impl_accessibility_registry_deregister_application),
3540 (impl_accessibility_registry_register_application):
3541 kill excessive debug clutter.
3543 * test/test-simple.c (test_misc): test some NULL
3544 tolerance. (main): upd.
3546 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3547 implements no interfaces - so let's not crash.
3549 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3551 * libspi/accessible.c (spi_accessible_new_return): impl.
3552 helper to calm the cut and paste, to cope with
3553 NULL AtkObjects effectively and efficiently, and to kill
3554 the referencing bugs.
3556 * libspi/table.c (impl_getAccessibleAt),
3557 (impl_getRowHeader, impl_getColumnHeader): upd.
3559 * libspi/hyperlink.c (impl_getObject): upd.
3561 * libspi/accessible.c
3562 (impl_accessibility_accessible_get_child_at_index): upd.
3564 * libspi/component.c
3565 (impl_accessibility_component_get_accessible_at_point): upd.
3567 * test/test-simple.c (test_editable_text, test_text): impl.
3570 * cspi/spi_editabletext.c
3571 (AccessibleEditableText_insertText): constify.
3573 * test/test-simple.c (focus_me): make more robust.
3575 * libspi/accessible.c: remove some printfs in methods that
3576 we test and work fine, so we can get a clean tree dump.
3578 * test/test-simple.c (validate_accessible),
3579 (validate_tree): make tree dumping pretty too.
3581 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3582 it builds without debug on.
3584 * test/test-simple.c (validate_accessible): fix the most
3587 * cspi/spi_main.c (spi_object_release): leave the nicely
3588 blanked memory around if in debug mode.
3590 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3592 [committed to fixups2]
3593 2001-12-05 Michael Meeks <michael@ximian.com>
3595 * libspi/editabletext.c
3596 (spi_editable_text_class_init): g_type_class_peek_parent,
3597 not interface peek - so we finalize cleanly.
3599 * libspi/accessible.c (spi_accessible_new): kill debug.
3601 * test/test-simple.c (validate_accessible): fix ref.
3602 leak, print strings before freeing them; sigh, comment a
3603 chunk out due to strangeness.
3604 (validate_tree): unref the child after use.
3606 * cspi/spi_component.c (AccessibleComponent_getLayer):
3607 add missing break statement, switch on zlayer not the
3608 uninitialized retval.
3610 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3611 before (possibly re-entering) remote unref.
3613 * test/simple-at.c (main): unref the desktop.
3615 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3618 * cspi/spi_main.c (cspi_accessible_is_a): here to
3619 isolate bonobo API usage more.
3621 * libspi/registry.c (impl_accessibility_registry_register_application):
3622 prune bogus comment.
3624 2001-12-04 Michael Meeks <michael@ximian.com>
3626 * test/test-simple.c (validate_tree): upd.
3627 IndexInParent check to make it more lucid.
3628 (validate_accessible): dump the tree.
3630 * libspi/accessible.c (de_register_public_ref),
3631 (get_public_refs): impl.
3632 (spi_accessible_new): make more efficient & intuitive.
3633 Now IndexInParent check works.
3635 2001-12-04 Michael Meeks <michael@ximian.com>
3637 * cspi/spi-util.h: remove.
3639 * cspi/spi.h: move SPI_freeString here
3641 * libspi/component.c (impl_accessibility_component_get_layer):
3643 (impl_accessibility_component_get_mdi_z_order): ditto,
3644 return -1 on error - is this ok ?
3646 * test/test-simple.c (test_application): impl.
3648 * cspi/spi_accessible.c (Accessible_getApplication),
3649 (Accessible_isApplication): impl.
3651 * libspi/registry.c (spi_listener_struct_free): release
3652 the CORBA reference too.
3654 * libspi/accessible.c
3655 (impl_accessibility_accessible_get_parent): fix ref leak.
3657 * libspi/registry.c (spi_registry_new): make the registry
3658 immortal - we don't want it to go away ever.
3660 * libspi/application.c
3661 (spi_accessible_application_finalize): impl. cleanup.
3663 * cspi/spi_registry.c
3664 (deregisterGlobalEventListenerAll),
3665 (deregisterGlobalEventListener),
3666 (deregisterAccessibleKeystrokeListener): fix ref leak.
3668 * cspi/spi_main.c (SPI_init): remove redundant ref.
3670 * test/test-simple.c (unutterable_horror): impl. to force a
3675 (impl_accessibility_registry_deregister_application): release
3676 the application when we de-register it.
3678 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3679 until we have the infastructure to get it right.
3681 2001-12-03 Michael Meeks <michael@ximian.com>
3683 * libspi/Makefile.am: only build eventlistener.[ch]
3685 * libspi/accessible.c
3686 (impl_accessibility_accessible_get_child_at_index): don't leak.
3688 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3689 before we hit the idle handler.
3691 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3692 debugging than exit.
3694 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3696 * libspi/listener.c (impl_notify_event): check source
3697 not NIL before unref.
3699 * libspi/registry.c (impl_registry_notify_event): ditto.
3701 * libspi/eventlistener.c
3702 (impl_accessible_event_notify_event): unref the source.
3704 * libspi/accessibleeventlistener.c
3705 (impl_accessible_event_notify_event): unref the source.
3707 * idl/Event.idl: remove 'hash_id' attribute - of no
3710 * libspi/application.c (notify_listeners): upd list
3712 (spi_application_object_event_listener),
3713 (spi_application_toolkit_event_listener): upd to do correct
3717 (_registry_notify_listeners): update.
3718 (parse_event_type): this method also leaks like a sieve.
3719 (impl_accessibility_registry_deregister_global_event_listener):
3720 fix ETYPE_WINDOW case.
3722 * libspi/application.c
3723 (impl_accessibility_application_register_object_event_listener):
3726 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3728 * libspi/hypertext.c (impl_getLink): ditto.
3730 * cspi/spi_main.c (cspi_object_add): remove
3731 bogus CORBA_Object_duplicate.
3733 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3736 * cspi/spi_accessible.c
3737 (Accessible_getRelationSet): fix leak / referencing issue.
3739 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3740 (cspi_object_add, cspi_object_unref): upd.
3741 (spi_object_release, get_live_refs): impl.
3742 (cspi_cleanup): simplify.
3744 * *.[ch]: s/boolean/SpiBoolean/
3746 * cspi/spi_accessible.c (role_names): actualy order so it
3747 corresponds with the enum !
3749 * test/test-simple.c (test_roles): check some role strings
3750 vs. enums to detect offset errors.
3752 2001-12-01 Michael Meeks <michael@ximian.com>
3754 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3756 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3758 (Accessible_getChildAtIndex): use cspi_add_check so we
3759 check the ev before using a (possibly) invalid value.
3761 * libspi/accessible.c
3762 (impl_accessibility_accessible_get_parent): don't segv
3765 * at-bridge/bridge.c (gtk_module_init): upd.
3766 (bridge_property_event_listener): don't leak strings
3768 (bridge_state_event_listener),
3769 (bridge_property_event_listener): don't use a static
3770 buffer in case of recursive event emission &
3771 re-enterancy - split out the swathe of cut and paste
3773 (emit_eventv): and fix 2 ref leaks here & comply to the
3775 (bridge_register_app): rename to
3776 (bridge_idle_init): this and kill arg parsing, split
3777 various inits & bonobo-activation registration to module
3778 init time, kill referencing error.
3779 (bridge_exit_func): fix the same leak.
3780 (bridge_focus_tracker): don't leak event structures
3782 (bridge_signal_listener): more leakage and cut & paste
3784 (bridge_key_listener): return the result - FIXME is
3785 this polarity correct ?
3786 (accessibility_keystroke_from_atk_key_event): rename
3787 (accessibility_init_keystroke_from_atk_key_event): and stop
3789 (gtk_module_init): return a value - not that it is checked by
3791 (bridge_key_listener): register my horror at casting between
3792 IDL defined structs.
3793 (bridge_get_registry): kill - not used.
3795 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3797 * test/test-simple.c (test_roles): impl.
3798 (test_desktop, validate_accessible, validate_tree): impl.
3800 * cspi/spi_accessible.c (role_names): fixup bogus
3801 MAX_ROLES setup, make constants const for efficient linkage
3802 (AccessibleRole_getName): conform to coding style, make
3805 2001-11-30 Michael Meeks <michael@ximian.com>
3807 * cspi/spi.h: add missing prototype.
3809 * libspi/registry.c (spi_listener_struct_new): fix sig.
3811 * test/Makefile.am: add test-simple
3813 * test/test-simple.c: add
3815 * test/test.sh: add.
3817 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3819 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3820 do it straight - since otherwise we often get an activation race.
3822 [ work before Bill duplicated a chunk of it ... ]
3823 2001-11-30 Michael Meeks <michael@ximian.com>
3825 * libspi/keystrokelistener.c
3826 (spi_keystroke_listener_class_init): fixup arg
3829 * libspi/eventlistener.c
3830 (spi_event_listener_class_init): ditto.
3832 * tests/test.sh: add.
3834 * cspi/spi-listener-impl.h: update macros.
3836 * cspi/spi-listener-impl.c
3837 (cspi_event_listener_remove_callback): add
3838 correct pre-conditions.
3840 * cspi/spi_main.c (SPI_exit): guard vs. double
3841 exits, exit the mainloop nicely.
3842 (SPI_event_main): make more sense.
3843 (SPI_init): move the atexit evilness here so we
3844 always do it (yuck).
3845 (SPI_event_main): upd.
3847 * test/simple-at.c: update for listener changes.
3849 * registryd/registryd.c (main): prune kruft.
3851 * libspi/libspi.h: upd.
3853 * libspi/eventlistener.[ch]: rename broken macros.
3855 * libspi/accessibleeventlistener.[ch]: remove.
3857 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3859 * test/test-simple.c: Add - automated tests.
3861 * cspi/spi-listener-impl.c (cspi_event),
3862 (cspi_key_event): add user_data to invoke.
3863 (cspi_keystroke_listener_finalize): impl.
3864 (cspi_keystroke_listener_class_init): upd.
3867 (createAccessibleEventListener),
3868 (AccessibleEventListener_addCallback),
3869 (createAccessibleKeystrokeListener),
3870 (AccessibleKeystrokeListener_addCallback): upd.
3872 * libspi/deviceeventcontroller.c
3873 (spi_device_event_controller_check_key_event): add public proto.
3876 (impl_accessibility_registry_deregister_global_event_listener):
3877 always init listeners.
3878 (_registry_notify_listeners): yes it is.
3880 * cspi/spi-listener-impl.c (cspi_key_event):
3882 (cspi_event_listener_finalize): impl.
3883 (cspi_event_listener_class_init): hook up.
3884 (event_handler_new, event_handler_free),
3885 (event_list_remove_by_callback): impl.
3886 (cspi_event_listener_remove_callback),
3887 (cspi_keystroke_listener_remove_callback),
3888 (cspi_keystroke_listener_add_callback),
3889 (cspi_event_listener_add_callback): upd.
3891 * libspi/keystrokelistener.c
3892 (keystroke_listener_object_finalize): kill
3893 (spi_keystroke_listener_class_init): upd.
3894 (spi_keystroke_listener_add_callback),
3895 (spi_keystroke_listener_remove_callback): kill,
3897 (impl_key_event): prune drasticaly.
3899 * libspi/eventlistener.c
3900 (spi_event_listener_add_callback),
3901 (spi_event_listener_remove_callback): kill, use
3903 (impl_accessible_event_notify_event): upd.
3904 (spi_event_listener_object_finalize): remove.
3906 * libspi/Makefile.am: use eventlistener.[ch]
3908 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3910 * libspi/registry.c (_registry_notify_listeners):
3911 Changed listener loop iteration to use preferred convention.
3912 Got rid of string memory leaks caused be calling g_strconcat
3913 inside function calls.
3915 * libspi/registry.c (parse_event_type):
3916 Stopped g_strconcat memory leaks, free the g_strsplit return,
3917 g_strdup the split pieces when used, etc.
3919 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3922 Change method 'compare' to return a 'difference set' rather than
3923 taking a StateSet as an out parameter (more Java-friendly).
3925 * idl/Accessible.idl:
3926 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3928 * idl/Component.idl:
3930 Changed methods 'getExtents' and 'getImageExtents' in these
3931 interfaces to return a BoundingBox structure.
3932 (getPosition and getSize are redundant and possibly should be
3933 removed, rather than creating a corresponding Point struct.)
3935 * cspi/spi_component.c:
3936 Modify implementation of getExtents to reflect the above IDL
3941 Add (missing) AccessibleImage_getExtents () API.
3943 * docs/reference/cspi/at-spi-cspi-sections.txt:
3944 Added AccessibleImage_getImageExtents () to docs.
3946 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3948 * idl/Component.idl:
3949 Added two methods, getLayer () and getMDIZOrder (), to reflect
3950 the new ATK methods atk_object_get_layer and
3951 atk_object_get_mdi_z_order. (Which arguably should be part of the
3952 AtkComponent API and AtkObject). Also added an enum,
3953 ComponentLayer, for the first method's return value.
3955 * libspi/component.c:
3956 Added implementations for these methods.
3958 * cspi/spi_component.c:
3960 Added cspi binding methods for above,
3961 AccessibleComponent_getLayer() and
3962 AccessibleComponent_getMDIZOrder().
3963 Added cspi enum 'AccessibleComponentLayer'.
3965 * docs/reference/cspi/at-spi-cspi-sections.txt:
3966 Added above methods to docs.
3970 Changed typedef for 'boolean' type (and all references to it) to
3971 SPIBoolean, to avoid keyword clashes with C++.
3974 Changed usages of 'boolean' to SPIBoolean.
3976 * test/keysynth-demo.c:
3977 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3978 app), except where SPIBoolean is required by the callbacks API.
3980 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3982 * cspi/spi_registry.c:
3983 Removed obsolete X event loop for passive keygrabs (which now
3986 * registryd/registryd.c:
3987 Removed unnecessary call to gdk_init() [cruft]. This also allows
3988 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3991 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3993 * docs/reference/cspi:
3994 Included docs for SPI_freeString in generated documentation.
3997 Renamed spi_freeString to SPI_freeString, for consistency. Added
3998 documentation for this function.
4001 Renamed spi_freeString to SPI_freeString, for consistency.
4002 Removed obsolete method declaration string_from_corba_string.
4004 * test/keysynth-demo.c:
4005 Small tweak to comments.
4008 Stopped leaking the strings returned from CSPI.
4010 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4012 Merged Michael's branch (see his ChangeLog entries below).
4014 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4015 bridge is alive, release on exit.
4017 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4018 Fix type check macro.
4021 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4024 Added is_gnome_app static, and method cspi_is_gnome_app(),
4025 so we can call the appropriate shutdown routine at exit in SPI_exit.
4027 * cspi/spi_main.c (cspi_object_ref):
4028 Duplicate the corba object passed in, since we're keeping it around.
4030 * cspi/SPI_exit.c, cspi_cleanup:
4031 Moved the releasing of the live refs to its own function, so we
4032 can put it in g_atexit (). Call the appropriate shutdown API
4033 depending on whethe calling client is a gnome app or not
4034 (bonobo_main_quit or CORBA_ORB_shutdown).
4036 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4037 Unref the listener when this method is called, after
4038 deregistration. Updated the API docs to note this behavior.
4040 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4041 Bugfixes: Ref the bonobo object when returning a parent or child
4042 reference, or an AccessibleRelation. Generally made sure
4043 BonoboObject refcount is incremented whenever we return an
4046 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4047 Fixed typo/bug in signal declaration.
4049 * libspi/accessibleeventlistener.h:
4052 * libspi/application.c (spi_application_new):
4053 Fixed leak in initialization.
4056 Remembered to increment bonobo-object refcount when returning
4057 children (applications) from desktop object.
4058 Added (empty) finalize method.
4060 * libspi/deviceeventcontroller.c:
4061 Hold a ref to listeners inside DEControllerKeyListeners.
4062 Added dec_key_listener_free() method. Use prepend instead of
4063 append in key_listener list. Fixed some refcount madness and
4064 leaks in the listener registration/deregistration - deregistration
4065 now calls dec_key_listener_free() on listeners, and on the
4066 temporarily constructed dec_key_listener() used to perform the search/match.
4068 * libspi/hypertext.c (spi_hypertest_finalize):
4069 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4070 class. Also fixed spi_hypertext_interface_new() and
4071 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4073 * libspi/hypertext.h:
4074 Removed pointless and duplicate AtkObject pointer from
4077 * libspi/keystrokelistener.c:
4078 Fixed incorrect type of keystroke_listener_parent_class,
4079 renamed keystroke_listener_object_finalize to
4080 spi_keystroke_listener_object_finalize.
4081 Fixed typo in signal declaration
4082 (spi_keystroke_listener_class_init).
4084 * libspi/registry.c:
4085 Added funcsions spi_listener_struct_new() and
4086 spi_listener_struct_free() to help with memory management issues.
4087 We also now use these methods instead of gnew + poking stuff into
4088 the struct, and to decrement listener counts/free the listeners
4089 when deregistering them.
4090 Fix more refcount bugs in getDesktop() and
4091 getDeviceEventController().
4094 De-ref the desktop after enumerating the applications. Explicitly
4095 decrement the refcounts on the created listeners on exit (using
4096 _unref for keystroke listeners, and via the
4097 deregisterGlobalEventListenerAll command for other event
4100 2001-11-27 Michael Meeks <michael@ximian.com>
4102 * cspi/spi-listener.h: fixup enum.
4104 2001-11-27 Michael Meeks <michael@ximian.com>
4106 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4107 (cspi_keystroke_listener_new): Use the cspi variants.
4109 2001-11-26 Michael Meeks <michael@ximian.com>
4111 * test/keysynth-demo.c: fix 2 compile warnings, missing
4114 * test/simple-at.c (report_focussed_accessible),
4115 (report_focus_event, report_button_press),
4116 (check_property_change, is_command_key),
4117 (report_ordinary_key_event, report_command_key_event): upd.
4119 * util/mag_client.h: include pre-requisites.
4121 * libspi/accessibleeventlistener.c
4122 (spi_event_listener_object_finalize): free any lingering
4125 * libspi/keystrokelistener.c
4126 (keystroke_listener_object_finalize): ditto.
4128 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4129 callbacks, with cspi types.
4131 * cspi/spi_event.c (createAccessibleEventListener): chain to
4132 (AccessibleEventListener_addCallback): here.
4133 (createAccessibleKeystrokeListener): chain to
4134 (AccessibleKeystrokeListener_addCallback): here.
4136 * libspi/keystrokelistener.c
4137 (spi_keystroke_listener_class_init): add signal.
4138 (impl_key_event): emit the event.
4139 (boolean_handled_accumulator): impl.
4140 (marshal_BOOLEAN__POINTER): add, gack.
4142 * libspi/accessibleeventlistener.c
4143 (spi_event_listener_class_init): add signal.
4144 (impl_accessible_event_notify_event): emit the signal &
4145 make the loop efficient.
4146 (spi_event_listener_add_callback): prepend the callback.
4148 * libspi/accessibleeventlistener.h: add an 'event' signal,
4149 decl type on callback.
4151 * libspi/keystrokelistener.h: ditto.
4153 * cspi/spi-listener.h: make methods typesafe and
4154 make them use the new event typedefs.
4156 * test/simple-at.c (report_focussed_accessible):
4157 include mag_client.h
4158 Use *(void *)text_interface not the other thing.
4160 * configure.in: add gtk to registryd bits - since we use
4163 * util/magnifier.c: include libbonobo.h
4165 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4167 * test/keysynth-demo.c:
4168 Turned this into a simple scanning keyboard, to demonstrate the
4169 use of g_timeout_add () as a means of creating timers for
4170 scanning, and the use of GtkStyle for visually indicating when
4171 virtual keyboard elements are selected.
4173 keysynth-demo now listens to any keyboard keys with zero-valued
4174 keycodes (i.e. 'unused' keys) and interprets them as
4177 Reworked the shiftlatch code so that shift-down state isn't held
4178 for long periods (it's only synthesized immediately prior to
4179 the keysynth event it's modifying). Note that shiftlatch in this
4180 demo is a convenience, not intended to take the place of AccessX
4181 which is the better choice for getting 'sticky' modifier keys.
4183 * libspi/deviceeventcontroller.c:
4184 * at-bridge/bridge.c:
4185 * cspi/spi_registry.c:
4186 Removed some debug print stuff, and put other verbosity in #ifdef
4191 Implemented some more of the magnifier IDL for the simple
4192 magnifier: namely, getZoomRegionParams.
4193 Added mag_x and mag_y members to MagnifierData struct, aid of this
4195 Added GtkWindow::realize signal handler to magnifier, to keep it
4196 from receiving keyboard focus from the WM.
4198 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4200 * cspi/spi-private.h: my guess at what michael forgot
4201 before he ran off to NZ :-)
4203 2001-11-23 Michael Meeks <michael@ximian.com>
4205 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4206 comment out non existant method invoke so we link.
4208 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4209 use bonobo_exception_get_text for more friendly warnings.
4211 * cspi/spi.c (Obj_Add): move into spi_main & rename
4212 spi_object_add; kill spi.c
4214 * cspi/spi_registry.c
4215 (deregisterGlobalEventListener),
4216 (deregisterGlobalEventListenerAll),
4217 (registerGlobalEventListener): fix exception leaks.
4219 * cspi/spi_main.c (spi_exception): impl. helper, so we
4220 don't leak exceptions.
4222 * cspi/spi_selection.c
4223 (AccessibleSelection_deselectSelectedChild): return the
4226 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4227 (spi_registry): ditto.
4228 (SPI_init): guard against double inits.
4230 * cspi/*.c: use spi_ev (), and spi_registry () where
4231 appropriate - a temporary hack until we have something
4232 better. Use spi_object_add
4234 2001-11-22 Michael Meeks <michael@ximian.com>
4236 * cspi/Makefile.am: re organise, install the headers.
4238 * cspi/*.h: add G_BEGIN/END_DECLS
4240 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4243 Added non-preemptive keylistener for key events with no modifiers
4244 and shift-only modifier.
4246 * libspi/keystrokelistener.c:
4247 Removed some verbose diagnostics printout.
4249 * cspi/spi_registry.c:
4250 Fixed a bug that caused all key listeners to be registered as
4253 * libspi/deviceeventcontroller.c:
4254 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4255 for non-preemptive key masks.
4258 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4260 * docs/reference/idl/at-spi-idl-docs.sgml:
4261 * docs/reference/idl/at-spi-idl-sections.txt:
4262 * docs/reference/idl/at-spi-idl-overrides.txt:
4263 Added missing files.
4265 * docs/reference/Makefile.am:
4266 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4267 to scan the IDL files :-(
4272 Added .cvsignore files.
4274 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4276 * libspi/deviceeventcontroller.c:
4277 * libspi/keystrokelistener.c:
4279 * cspi/spi_registry.c:
4280 Added filters for KeySets, KeyEventSeq, and event types to key
4281 event dispatching, so listeners should only receive those events
4282 that they requested :-)
4284 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4289 * docs/reference:Makefile.am:
4290 * docs/reference/cspi:
4291 * docs/reference/cspi:Makefile.am:
4292 * docs/reference/cspi:tmpl:
4293 * docs/reference/cspi:tmpl:*.sgml:
4294 * docs/reference/idl:
4295 * docs/reference/idl:Makefile.am:
4296 * docs/reference/idl:at-spi-idl-sections.txt:
4297 * docs/reference/idl:at-spi-idl-docs.sgml:
4298 * docs/reference/idl:tmpl:
4299 * docs/reference/idl:tmpl:*.sgml:
4301 Restructured docs directory to allow separate 'reference' docs
4302 section, and forked idl and cspi docs. Added the sgml template
4303 files to CVS. Added the first sections/structural sgml for the
4306 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4308 * configure.in, libspi/Makefile.am: find libXtst.
4310 2001-11-21 Michael Meeks <michael@ximian.com>
4312 * test/accessx-gui.c: s/spi_value/value/ - doh.
4314 * libspi/base.[ch]: add.
4316 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4318 * idl/Accessible.idl:
4319 * idl/Application.idl:
4322 Started gtk-doc cleanup on IDL.
4324 * libspi/deviceeventcontroller.c:
4325 Added and connected non-preemptive key notification from the
4326 toolkits (in addition to the pre-emptive support from XServer
4327 which we had before, but which causes 'focus flashing'). Filters
4328 are presently limited to key modifiers and global/non-global,
4329 KeySets are presently ignored, as are KeyEvent masks.
4331 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4332 structs into the persistant structure rather than just storing
4333 pointers to things that might not persist across servant
4336 The XGrabKey call now does async keygrabs, because synchronous
4337 ones were deadlocking with GDK_event code in a very nasty way.
4339 Added boolean to internal method notify_keylisteners, to indicate
4340 whether the event came from the 'toolkit source' or the 'global
4341 (XServer) source' - this is used in the notification process to
4342 determine which listeners to send the event to.
4344 deviceeventcontroller.c is now warning-free.
4346 * libspi/registry.c:
4347 Fixed regression in application de-registration.
4348 Also fixed some really brain-dead weirdness having to do with
4349 event dispatching - event structs are now duplicated before being
4350 re-marshalled in the dispatch to listeners. This also fixes a
4351 Solaris build problem.
4354 2001-11-20 Michael Meeks <michael@ximian.com>
4357 (impl_accessibility_registry_deregister_global_event_listener):
4360 * libspi/deviceeventcontroller.c
4361 (spi_device_event_controller_check_key_event): return
4362 FALSE on no virtual method.
4364 * libspi/*..h: make includes work on a correctly pathed install.
4366 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4368 * libspi/application.h: kill unused ( and whacked out )
4369 gboolean *spi_application_set_id (AtkObject *app, long id);
4371 2001-11-20 Michael Meeks <michael@ximian.com>
4373 * libspi/*.[ch]: further convert to bonobo's type func
4374 macros, remove redundnant casts etc.
4376 * libspi/text.c s/accessibility_text/spi_text/g,
4377 re-order to de-cruft.
4379 * libspi/hypertext.c: re-order to kill a huge slew
4380 of redundant forward decls.
4382 * libspi/relation.c: ditto.
4384 * libspi/image.c: ditto.
4386 * */.cvsignore: update
4388 2001-11-20 Michael Meeks <michael@ximian.com>
4390 * libspi/deviceeventcontroller.c
4391 (_controller_register_with_devices): use g_getenv,
4392 kill stdlib.h include.
4394 * libspi/keystrokelistener.c
4395 (spi_keystroke_listener_get_type): kill
4396 (spi_keystroke_listener_class_init),
4397 (spi_keystroke_listener_init): rename to this.
4399 * libspi/text.c (impl_getAttributes): fix warning / bug.
4401 * libspi/*.[ch]: more headers, includes and over commenting.
4403 2001-11-20 Michael Meeks <michael@ximian.com>
4405 * libspi/*.[ch]: fixup headers, includes and over commenting.
4407 * libspi/image.c (impl__get_imageDescription): const
4408 correctness warning fix. remove redundant casting.
4410 * libspi/table.c (impl_getRowDescription): ditto.
4411 (impl_getColumnDescription): ditto.
4413 * libspi/libspi.h: add.
4415 2001-11-19 Michael Meeks <michael@ximian.com>
4417 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4419 * libspi/component.c (accessibility_component_get_type):
4420 rename to (spi_component_get_type): and macroify.
4421 (accessibility_component_init): rename to
4422 (spi_component_init): this
4423 (accessibility_component_class_init): rename to
4424 (spi_component_class_init): this
4426 * libspi/action.c (spi_action_get_type): kill, use the macro.
4428 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4431 * libspi/application.c (spi_application_object_event_listener),
4432 (impl_accessibility_application_register_object_event_listener):
4433 warning fixes / const understanding updates.
4435 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4438 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4440 * libspi/spi_accessible.c: Added docs and C bindings for
4441 AccessibleStateSet. (No implementations yet). Documentation
4442 coverage for C bindings now 100%. Made docs for event listeners
4447 boolean notifyListenersSync (in DeviceEventListener listener,
4448 in DeviceEvent event);
4450 oneway void notifyListenersAsync (in DeviceEventListener listener,
4451 in DeviceEvent event);
4453 Added DeviceEventListener and DeviceEvent structs (may deprecate
4454 KeyStroke and KeystrokeListener in favor of this generic
4455 event/listener framework for devices).
4457 * libspi/deviceeventcontroller.c:
4459 Changed some key listener code to take masks, etc., and paved the
4460 way for integration of toolkit/non-preemptive key events. Changed
4461 signatures of some internal methods.
4463 * at-bridge/bridge.c:
4464 Fixed regression connecting to interface signals, apparently
4465 caused by GTK+ changes.
4467 Added an internal bridge_state_listener to deal with
4468 property-change:accessible-state signals.
4470 Changed the key_listeners GList to store structs (including masks,
4471 etc.) instead of just CORBA_Objects (required for full
4472 implementation of key listener API).
4474 Connected the bridge to all currently supported Atk signals.
4475 Events now supported:
4476 object:property-change
4477 object:property-change:accessible-name
4478 object:property-change:accessible-state
4479 object:property-change:accessible-description
4480 object:property-change:accessible-parent
4481 object:property-change:accessible-value
4482 object:property-change:accessible-role
4483 object:property-change:accessible-table-caption
4484 object:property-change:accessible-table-column-description
4485 object:property-change:accessible-table-column-header
4486 object:property-change:accessible-table-row-description
4487 object:property-change:accessible-table-row-header
4488 object:property-change:accessible-table-summary
4489 object:children-changed
4490 object:visible-data-changed
4491 object:selection-changed
4492 object:text-selection-changed
4494 object:text-caret-moved
4496 object:row-reordered
4498 object:column-inserted
4499 object:column-reordered
4500 object:column-deleted
4501 object:model-changed
4503 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4505 * libspi/hyperlink.c,h:
4506 Fixed some broken stuff in hyperlink.
4508 * libspi/relation.h:
4509 * libspi/relation.c:
4510 * cspi/spi_accessible.c:
4511 Initial implementations of AccessibleRelation methods, and docs.
4513 * libspi/accessible.c:
4514 Fixed a bug that caused SEGV if an accessible
4515 object's description is NULL, and a client
4516 requests it. An empty string is now returned.
4518 * cspi/spi_editabletext.c:
4519 * cspi/spi_hypertext.c:
4521 * cspi/spi_hyperlink.c:
4525 Doc coverage now 95%.
4527 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4529 One last namespacing revision:
4530 * libspi/accessibleeventlistener.[ch]:
4531 Renamed SpiAccessibleEventListener to SpiEventListener,
4532 (no need for two namespaces ;-)
4534 And lots of documentation fixes:
4536 * docs/at-spi-docs.sgml:
4537 Fixed 'underscore vs. hyphen' bug that was preventing
4538 the gtk-doc API docs from being automatically generated.
4541 * cspi/spi-listener.h
4543 * cspi/spi_accessible.c
4545 * cspi/spi_application.c
4546 * cspi/spi_component.c
4547 * cspi/spi_editabletext.c
4549 * cspi/spi_hypertext.c
4551 * cspi/spi_registry.c
4552 * cspi/spi_selection.c
4556 * docs/at-spi-docs.sgml
4557 * docs/at-spi-sections.txt
4559 Added and fixed up gtk-doc documentation in cspi.
4561 Interfaces now (fully) documented (subject to revision and enhancement):
4563 Event Listener Support
4565 AccessibleApplication
4569 AccessibleEditableText
4576 AccessibleRelationSet
4581 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4583 * at-bridge/bridge.c:
4584 Initial work for toolkit-level key snooper connection by bridge.
4589 New typedefs and fixes to support new namespacing, and cleaner
4590 separation of cspi bindings from libspi bonobo implementation.
4591 Removed inconsistent and extraneous Spi* namespace prefix that
4592 had crept into cspi headers.
4593 Lots of comment fixes that sed had missed.
4595 * cspi/spi-roletypes.h:
4596 * cspi/spi-statetypes.h:
4597 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4598 to AccessibleRoleType.
4600 * libspi/accessibleeventlistener.h:
4601 Fixed minor namespacing weirdness.
4603 * libspi/deviceeventcontroller.c:
4604 Reordered some internal API for device listeners.
4605 Changed the key registry final boolean to 'is_system_global'
4606 rather than 'is_synchronous', which is more descriptive of its
4608 Added spi_device_event_controller_new().
4609 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4611 * libspi/keystrokelistener.[ch]:
4612 Namespaced KeystrokeListener to SpiKeystrokeListener.
4613 Changed uses of keymasks to use SPI_ prefix, and did other
4616 * libspi/keymasks.h:
4617 Namespaced keymask constants with SPI_ prefix.
4619 * libspi/registry.c:
4620 Some warning fixes, and knock-on fixes from namespace changes.
4623 Added rules for accessx-gui test program.
4625 * test/accessx-gui.c:
4626 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4627 utility. It doesn't actually use at-spi, but it's still cool and
4630 * test/keysynth-demo.c:
4634 Fixes so that these test clients work properly with the namespaced
4635 libraries. (Incompletely tested for technical reasons, fixes may follow)
4638 2001-11-13 Michael Meeks <michael@ximian.com>
4640 * libspi/application.c
4641 (impl_accessibility_application_get_version),
4642 (impl_accessibility_application_get_toolkit_name):
4644 (impl_accessibility_application_set_id),
4645 (impl_accessibility_application_get_id): remove
4646 redundant casting code.
4648 * libspi/action.c (impl_getDescription): fix warnings.
4650 * libspi/accessible.c
4651 (impl_accessibility_accessible_get_parent),
4652 (impl_accessibility_accessible_get_child_at_index),
4653 (impl_accessibility_accessible_get_state),
4654 (impl_accessibility_accessible_get_relation_set):
4655 warning fixes & include action.h
4657 2001-11-13 Michael Meeks <michael@ximian.com>
4659 * *.[ch] fix bits I screwed up:
4661 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4662 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4664 2001-11-13 Michael Meeks <michael@ximian.com>
4666 * *.[ch] Namespace libspi into spi_ and Spi.
4668 2001-13-11 Michael Meeks <michael@ximian.com>
4670 * Makefile.am: dist & install at-spi-1.0.pc
4672 * libspi/Makefile.am: install into at-spi-1.0
4674 * idl/Makefile.am (idldir): install into at-spi-1.0
4676 * at-spi-1.0.pc.in: add.
4678 * configure.in: build it.
4680 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4682 * test/keysynth-demo.c:
4683 Use a 'realize' signal-handler to set the WM properties for
4684 the virtual keyboard, rather than making it a "POPUP" type
4685 override-redirect window (thanks to anders carlsson for that
4688 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4691 * test/keysynth-demo.c:
4692 Added new test of key synthesis, which creates a simple
4693 (mouse-operated) onscreen keyboard. It inserts key events into
4694 the currently-focused window, thus it does not grab keyboard focus
4697 * cspi/spi_registry.c:
4698 Added C binding for AT-SPI generateKeyEvent.
4700 * libspi/deviceeventcontroller.c:
4701 Added call to XFilterEvent so that key listener works with XIM (we
4702 hope). Added event_synth_type to generateKeyEvent, so that we can
4703 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4704 synthesize a press/release pair for KeySyms.
4706 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4708 * libspi/Makefile.am:
4709 * registryd/Makefile.am:
4710 (temporary) hack to include libXtst in libspi and registryd.
4711 (Needed for keystroke synthesis, see below).
4714 Improved API for registerKeystrokeListener, in accordance with
4715 discussions with Gnopernicus team and X server research.
4717 * libspi/registry.c:
4718 * libspi/deviceeventcontroller.c:
4719 * libspi/accessible.c:
4720 * libspi/keystrokelistener.c:
4721 Changes and fixes to support keylisteners for potentially
4722 consumed key events (that is, 'passive grabs').
4723 Added implementation for generateKeyEvent() [untested].
4726 Changes to registerKeystrokeListener() API, as above.
4727 Added deregisterGlobalEventListenerAll(), and
4728 deregisterKeystrokeListener(), which are needed for clean exit of
4730 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4731 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4733 * cspi/spi_registry.c:
4734 Added implementations of function prototypes mentioned above.
4736 * registryd/registryd.c:
4737 Added the key listener event source as a g_timeout(), to allow
4738 receipt of key events that are not caught by GDK (since GDK
4739 doesn't support passive keygrabs, this was necessary).
4742 Changed to attach a keylistener to 'Alt' keys, and
4743 respond to the following keycommands: Alt-M (toggle magnifier);
4744 Alt-F (toggle speech); Alt-Q (quit).
4745 Added an exit routine to deregister the listeners, and a key
4746 listener that prints some key info to the console when a key
4747 matches the listener mask (and is thus received by the listener).
4749 * util/idl/Magnifier.idl:
4750 Changes to magnifier API to support multiple zoom regions,
4751 non-uniform scaling in x and y, markDirty, and a host of other
4752 features that would be useful to magnification.
4755 * util/mag_client.c:
4756 * util/mag_client.h:
4757 * util/mag_control.c:
4759 Source code changes to support the above IDL changes.
4762 As above, and also changes to use a (slower) generic conversion
4763 path for colormap conversions, since the fast RGB conversions have been
4764 reported to fail for 16-bit displays.
4766 2001-10-26 Michael Meeks <michael@ximian.com>
4768 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4770 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4772 * at-bridge/Makefile.am: fix LDFLAGS.
4774 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4776 * at-bridge/bridge.c:
4777 Re-worked listeners for toolkit events, now we have signal
4778 and property listeners. Added a private method
4779 register_atk_event_listeners(), which registers with the
4780 various atk and gtk signals we need to monitor in order to emit
4782 Added emission hook for AtkObject:property-change events, to
4783 support the 'property listeners'.
4784 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4787 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4788 which emit warnings and exit, respectively, if CORBA errors occur
4789 during remote calls, and we now use these methods to check most of
4790 our CORBA calls in the C bindings.
4792 * cspi/spi_accessible.c:
4793 Changed AccessibleSelection_refSelectedChild() to
4794 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4795 now increment refcounts.
4797 * cspi/spi_component.c:
4798 Fixed some long pointer casts (dangerous!) to pass pointers to
4799 CORBA_longs of the proper type to the CORBA stubs, and copy the
4800 data into the longs that were passed into the C bindings code.
4802 * at-bridge/bridge.c:
4804 * libspi/accessible.c:
4805 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4806 hyperlinks, AtkHyperlink is an object type.
4808 * libspi/application.c:
4809 Added various conversions to and from "generic" event types and
4810 atk-specific types; this is really part of the 'bridge'
4811 implementation but is valid for all AtkObject-based accessibility
4814 * libspi/editabletext.c:
4815 Fixed nasty bug wherein editable text's finalize method was
4816 unref'ing tha AtkObject reference that the text parent class was
4817 about to unref _again_. There was also a nasty inheritance bug
4818 that meant that the AccessibleEditableText class was corrupt.
4820 * libspi/selection.c:
4821 Provided implementations for some selection API that was broken.
4823 * idl/Application.idl:
4824 Added registerObjectEventListener () method.
4827 Fixed a number of return values that were Bonobo_Unknowns from
4828 bonobo_object_corba_objref(), which I
4829 forgot to dup before returning. Changed instances of
4830 bonobo_object_corba_objref (bonobo_object(o)) to
4831 BONOBO_OBJREF(o), for concision and clarity.
4833 2001-10-13 Louise Miller <louise.miller@sun.com>
4835 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4836 idl/Event.idl, idl/Registry.idl
4837 Changed these files to include Bonobo_Unknown.idl instead
4840 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4842 * libspi/component.c libspi/component.h:
4843 Fixed typo. Added assertions for object checks in
4844 AccessibleComponent code.
4846 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4848 * idl/Accessible.idl:
4849 Added 'isEqual (Accessible *object)'
4850 method for Accessible. (Not Yet Implemented).
4853 Changed signature of registerKeystrokeListener() to
4854 take a KeySet and KeyEventSeq so that specific keys and event
4855 types could be requested for monitoring, and added a flag
4856 is_synchronous so that either synchronous or asynchronous
4857 notification could be requested. (However this is not all
4858 implemented yet). This also meant adding two new typedefs,
4859 KeyEventSeq and KeySet.
4862 Added two new relations, RELATION_TOOLTIP_FOR and
4863 RELATION_LEAFNODE_OF.
4866 Added new state, STATE_HAS_TOOLTIP.
4868 * libspi/text.c, editabletext.c:
4869 Added new assertions to all casts of bonobo-objects from
4870 CORBA servants, to prevent Text API calls on non-text objects.
4871 Changed suspect casts of int-pointer types, so that we
4872 always send a valid CORBA_long pointer to the CORBA APIs that use
4873 in/out long parameters. We then have to copy from the CORBA_long
4874 into the regular long or int for return to the C bindings, or
4875 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4878 * libspi/deviceeventcontroller.c:
4879 Cleaned these sources up.
4881 Changed return type for getCharacterAtOffset to
4882 CORBA_unsigned_long, to allow for 32-bit characters.
4885 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4889 Fixed 'make dist' so that distro compiles...
4890 * libspi/keymasks.h:
4892 * cspi/spi-listener.c:
4893 KeystrokeListenerCB now returns a boolean.
4895 Added KeyEventType struct, and KeyStroke.
4896 Also added createKeystrokeListener(),
4897 KeystrokeListener_addCallback(),
4898 KeystrokeListener_removeCallback(), and added a keymask to
4899 registerKeystrokeListener().
4900 * cspi/spi_accessible.c:
4901 Changed numerous return types for interfaces from
4902 AccessibleComponent to Accessible<InterfaceName>; this was
4903 probably a cut-and-paste error.
4905 Implementations of new KeystrokeListener api (from spi.h,
4908 Changes to key modifier mapping.
4909 Created ControllerEventMask struct.
4910 Made DeviceEventController derive from Bonobo::Unknown.
4912 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4913 * libspi/deviceeventcontroller.c:
4914 Added a number of new internal (private) methods.
4915 * libspi/editabletext.c:
4916 * libspi/editabletext.h:
4917 Fixed a number of bugs related to the fact that
4918 editabletext inherits from text. Fixed the EditableText struct,
4919 the init() call, and use correct casts when calling Text methods
4920 from an EditableText object. Removed (duplicate) atko from the
4921 EditableText structure, we use the one in the parent Text
4922 structure via the casts mentioned above.
4923 * libspi/keystrokelistener.[ch]:
4924 * libspi/registry.c:
4925 Changes in support of keyboard handling (above).
4927 Keyboard handling, though partly functional, is still not
4928 recommended for at-spi client use as there is considerable
4929 work yet to be done.
4932 Changed some places where pointers to various int types
4933 are cast to be pointers to CORBA_long types and vice-versa:
4934 pointer casting is not safe so we pass pointers of the correct
4935 types and then cast the result before putting it into the target
4938 * libspi/text.h: minor typos corrected.
4940 We now speak not only the name of a Text element, but the
4941 first sentence of its content, when it receives focus.
4942 I also changed the text compression to 75% from 50%.
4943 * util/Accessibility_Util.server.in:
4944 Changed the default magnifier type to be a 3x vertical
4945 splitscreen magnifier (was previously a 2x horizontal one).
4947 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4949 * libspi/keystrokelistener.h:
4950 * libspi/keystrokelistener.c:
4951 Initial functional implementations of KeystrokeListener.
4954 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4956 Fixed string handling for NULL strings in libspi.
4957 Added spi_freeString to free strings returned by C bindings.
4959 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4961 * libspi/keystrokelistener.h:
4962 * libspi/keystrokelistener.c:
4963 Began (no-op) implementations of KeystrokeListener
4965 * libspi/deviceeventcontroller.c:
4966 * libspi/deviceeventcontroller.h:
4967 Began creating implementations of DeviceEventController,
4968 to handle keystroke and mouse event listening and
4970 * libspi/accessible.c:
4971 Stubbed-in the implementations for
4972 Accessibility_Accessible_getState and
4973 Accessibility_Accessible_getRelationSet.
4974 * libspi/registry.c:
4975 Improved de-registration process and fixed some bugs,
4976 deregistration now works correctly.
4978 Added initialization of applications list (to NULL).
4980 Reduced speech compression from 0.5 to 0.7, for demo.
4981 Changed call to gdk_window_set_decorations()
4982 to gtk_window_set_decorated().
4983 * at-bridge/bridge.c:
4984 Bridge now deregisters when app exits, via
4985 registration of a cleanup function
4986 with the g_atexit() call.
4987 Required making 'app' static, renamed 'this_app'.
4988 Fixed broken use of bonobo_init, passing argv wrongly.
4990 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4994 Created a new directory for
4995 accessibility-related utilities, primarily for
4996 testing and demo purposes, but with possible
5003 Onscreen magnifier utility that
5004 is implemented as a bonobo service.
5006 * util/mag_client.c:
5007 * util/mag_client.h:
5008 Client-side support (simple C bindings)
5009 for Magnification service
5011 * util/mag_control.c:
5012 Client program example for
5013 Magnification service
5015 * util/Accessibility_Magnifier.server.in:
5016 Bonobo-activation file for the
5017 Magnification service.
5020 * util/idl/Magnifier.idl:
5021 IDL defining the bonobo Magnification
5025 Modifications to use the bonobo-activated magnifier
5026 above, in place of trying to connect to an existing
5027 magnifier that uses socket-listening IPC.
5029 If env variable MAGNIFIER is set, a magnifier service
5030 will be started if one does not exist.
5032 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5034 * at-bridge/bridge.c:
5035 applied patch from Marc to build and run
5036 against new glib and gtk+ (seemed like a change
5037 to bonobo_init signature was made ?)
5039 made festival-server support turned off by default.
5040 Added support for a simple magnifier (off by default)
5041 which will be added to a 'util' directory later.
5042 * at-bridge/Makefile.am:
5043 Changed "application.h" header from a 'source'
5044 to a 'dependency' of libat-bridge.
5046 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5055 Added interface implementation c files to list of
5056 includes so they are included in libcspi.
5059 Changed prototype of AccessibleAction_doAction to return a
5061 Changed prototype of AccessibleTable_getCaption to
5062 return an Accessible.
5063 Changed prototype of AccessibleTable_getSelectedRows
5064 and AccessibleTable_getSelectedColumns to
5065 return a long (returns the number of selected rows
5066 or columns respectively).
5067 Changed name of AccessibleText_refRunAttributes to
5068 AccessibleText_getAttributes.
5069 Changed prototype of AccessibleText_getCharacterExtents to
5070 return a void rather than a boolean.
5071 Added support for a AccessibleCoordType parameter
5072 specifying what type of coordinates are desired.
5073 Added an AccessibleCordType parameter to
5074 AccessibleText_getPointAtOffset.
5076 * cspi/spi_accessible.c:
5077 Added code to return the outstanding interfaces from
5078 Accessible_queryInterface.
5080 * cspi/spi_action.c:
5082 Corrected call to getNActions to call the c binding
5085 * cspi/spi_editabletext.c:
5087 Changed name from setRunAttributes to setAttributes.
5089 * cspi/spi_hyperlink.c:
5091 Changed call to getNAnchors to correctly call the c
5092 binding for an attribute.
5094 * cspi/spi_hypertext.c:
5096 Changed getImageDescription to correctly call the
5097 binding for an attribute.
5099 * cspi/spi_selection.c:
5100 Changed getNSelectedChildren to correctly call the c
5101 binding for the attribute.
5102 Changed refSelectedChild to getSelectedChild.
5106 Changed getCaption to return an Accessible.
5107 Fixed calls which retrieve attributes.
5108 Changed refAt to getAccessibleAt.
5109 Changed getNSelectedRows and getNSelectedColumns to
5113 Changed getCharacterExtents and getPointAtOffset to accept an
5114 AccessibleCoordType.
5116 Changed calls which retrieve attributes.
5117 Changed refRunAttributes to getAttributes.
5122 * idl/Hyperlink.idl:
5123 Changed n_anchors attribute to nAnchors to keep naming
5124 convention consistent.
5127 Made Table inherit from Bonobo::Unknown.
5128 Added nSelectedColumns and nSelectedRows attributes.
5131 Made Value inherit from Bonobo::Unknown.
5133 * libspi/hyperlink.c:
5134 Change for nAnchors attributte name change.
5136 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5144 Added interface implementation c files to list of
5145 includes so they are included in libcspi.
5148 Changed prototype of AccessibleAction_doAction to return a
5150 Changed prototype of AccessibleTable_getCaption to
5151 return an Accessible.
5152 Changed prototype of AccessibleTable_getSelectedRows
5153 and AccessibleTable_getSelectedColumns to
5154 return a long (returns the number of selected rows
5155 or columns respectively).
5156 Changed name of AccessibleText_refRunAttributes to
5157 AccessibleText_getAttributes.
5158 Changed prototype of AccessibleText_getCharacterExtents to
5159 return a void rather than a boolean.
5160 Added support for a AccessibleCoordType parameter
5161 specifying what type of coordinates are desired.
5162 Added an AccessibleCordType parameter to
5163 AccessibleText_getPointAtOffset.
5165 * cspi/spi_accessible.c:
5166 Added code to return the outstanding interfaces from
5167 Accessible_queryInterface.
5169 * cspi/spi_action.c:
5171 Corrected call to getNActions to call the c binding
5174 * cspi/spi_editabletext.c:
5176 Changed name from setRunAttributes to setAttributes.
5178 * cspi/spi_hyperlink.c:
5180 Changed call to getNAnchors to correctly call the c
5181 binding for an attribute.
5183 * cspi/spi_hypertext.c:
5185 Changed getImageDescription to correctly call the
5186 binding for an attribute.
5188 * cspi/spi_selection.c:
5189 Changed getNSelectedChildren to correctly call the c
5190 binding for the attribute.
5191 Changed refSelectedChild to getSelectedChild.
5195 Changed getCaption to return an Accessible.
5196 Fixed calls which retrieve attributes.
5197 Changed refAt to getAccessibleAt.
5198 Changed getNSelectedRows and getNSelectedColumns to
5202 Changed getCharacterExtents and getPointAtOffset to accept an
5203 AccessibleCoordType.
5205 Changed calls which retrieve attributes.
5206 Changed refRunAttributes to getAttributes.
5211 * idl/Hyperlink.idl:
5212 Changed n_anchors attribute to nAnchors to keep naming
5213 convention consistent.
5216 Made Table inherit from Bonobo::Unknown.
5217 Added nSelectedColumns and nSelectedRows attributes.
5220 Made Value inherit from Bonobo::Unknown.
5222 * libspi/hyperlink.c:
5223 Change for nAnchors attributte name change.
5226 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5228 implementations-- made server implementations own AtkObject pointers
5229 rather than their respective AtkInterrface pointers to fix
5230 refcounting. AtkHyperlink is still broken.
5232 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5233 * cspi/spi_accessible.c:
5234 Added method Accessible_Role_getName(),
5235 and requisite string array (role_names).
5236 Added conversion string_from_corba_strin() call
5237 to Accessible_getName and _getDescription.
5238 * libspi/accessible.c:
5239 Added implementation for Accessible_getRole()
5241 Added festival support, used if environment variable
5244 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5246 * at-bridge/bridge.c:
5247 Now allocate Accessibility_Event using
5248 Accessibility_Event__alloc() instead of g_new0().
5249 * libspi/accessibleeventlistener.c:
5250 Initialize AccessibleEventListener->callbacks to NULL.
5251 Fixed accessible__event_listener_init() param, changed to
5252 "AccessibleEventListener *" type.
5253 Changed a bonobo_object_release_unref() call to
5254 Accessibility_Accessible_unref().
5255 * libspi/listener.c:
5256 Changed Bonobo_Unknown_unref to (equivalent)
5257 Accessibility_Accessible_unref.
5258 * libspi/registry.c:
5259 Changed bonobo_object_release_unref to
5260 Accessibility_Accessible_unref.
5262 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5265 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5266 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5267 spi-util.c spi-util.h
5268 Implementations for C bindings to remaining accessibility
5271 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5274 changed return value of Action from void to boolean to
5275 bring in line with ATK.
5278 Changed getText funcions to return "out" start and end offsets.
5279 Changed getAttributes to take and offset and return the start
5280 and end offset of the attribute run.
5281 Changed getOffsetAtPoint and getCharacterExtents to take an
5282 enum describing whether coordinates are window or screen.
5285 libspi/action.c libspi/action.h libspi/editabletext.c
5286 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5287 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5288 libspi/image.h libspi/selection.c libspi/selection.h
5289 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5290 libspi/value.c libspi/value.h
5291 Added server implementations for outstanding ATK interfaces
5292 not yet implemented.
5294 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5297 Added (missing) getName() method.
5298 Made nActions an attribute.
5299 * idl/EditableText.idl:
5300 Changed order of params in setAttributes.
5301 * idl/Hyperlink.idl:
5302 Removed getAnchor, added getURI.
5304 Changed attributes to methods, for efficiency
5305 (so that getting extents can be done in one call)
5306 * idl/Selection.idl:
5307 Changed nSelectedChildren to attribute, and re-indented.
5308 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5310 * idl/Text.idl: reformatted to match our coding style.
5311 (temporarily?) removed getRowColumnAtOffset().
5312 Changed text selection API to support multi-select and
5313 non-contiguous selections, as in ATK.
5314 * idl/Value.idl: changed some methods to attributes.
5316 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5318 * libspi/listener.c(impl_notify_event):
5319 BonoboUnkown_unref the source instead
5320 of bonobo_object_release_unref - the ORB
5321 handles the releasing.
5323 * configure.in: require ORBit-2.3.94 for
5326 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5328 Tagged CVS repository 'EA_1_0'.
5329 * README.EARLY_ACCESS:
5330 Alphabetized acknowledgements list, and
5332 Listed some known dependencies of at-spi.
5334 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5336 * docs/at-spi-docs.sgml:
5337 * docs/at-spi-sections.txt:
5338 * docs/at-spi-overrides.txt: (Added zero-length file)
5339 Documentation improvements - gtk-doc should build
5340 docs for all implemented C bindings now.
5343 * cspi/spi.c: (New file)
5344 * cspi/spi_event.c: (New file)
5345 * cspi/spi_registry.c: (New file)
5346 * cspi/spi_accessible.c: (New file)
5347 * cspi/spi_application.c: (New file)
5348 * cspi/spi_component.c: (New file)
5349 Split spi_main.c into six parts, and included them from
5350 "spi.c". This is a bit of a hack, probably temporary,
5351 but required by gtk-doc, apparently.
5353 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5356 * docs/at-spi-docs.sgml:
5357 * docs/at-spi-sections.txt:
5359 Initial checkins/modifications for gtk-doc generation.
5362 Added (missing) interface query methods to Accessible's C binding.
5364 Added GenericInterface type definition.
5366 Added query for AccessibleComponent interface to focus event handler.
5367 Added printout of bounding box for focussed component.
5368 * libspi/component.c:
5369 Added partial implementation for AccessibleComponent to C binding.
5370 * idl/Application.idl:
5371 * libspi/registry.c:
5372 * libspi/listener.c:
5373 * libspi/application.c:
5374 * libspi/application.h:
5375 Changed "ID" attribute type from string to long.
5377 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5381 Made method naming consistent: methods taking object args
5382 start with uppercase, other methods (except those using
5383 acronyms) start with lowercase. Underscores delimit between
5384 object names and method names:
5385 SPI_init() - uppercase since it starts with an acronym.
5386 getDesktopCount () - lowercase start since no object param0.
5387 Accessible_getName() - uppercase object type name, studlyCaps method
5391 Added gtk-doc documentation for all currently implemented
5392 methods in the C bindings API.
5394 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5396 * Makefile.am : changed build order to build test last.
5399 Changed "createEventListener" to "CreateEventListener".
5400 * libspi/accessibleeventlistener.c :
5401 Bugfix for addition of callbacks.
5402 * test/Makefile.am :
5403 * test/simple-at.c :
5404 Added new test that uses the C bindings API.
5406 * libspi/listener.c :
5407 * libspi/registry.c :
5408 * libspi/accessibleeventlistener.c :
5409 * at-bridge/bridge.c :
5410 Renamed member "target" of Accessibility_Event to "source",
5411 which is more descriptive.
5414 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5418 * cspi/Makefile.am :
5419 Added makefile support for at-spi/cspi directory.
5422 * cspi/spi-listener.h : (NEW FILE)
5423 Added support for/use of spi-listener.h.
5425 C bindings now build successfully, with no warnings.
5426 * libspi/accessibleeventlistener.h : (NEW FILE)
5427 * libspi/accessibleeventlistener.c : (NEW FILE)
5428 * libspi/Makefile.am :
5429 Added new object type "AccessibleEventListener"
5430 which inherits from Listener, and allows attachment
5431 of in-process callbacks (so that a client with a listening
5432 object instance can add functionality to the local
5433 implementation, dynamically).
5435 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5437 * libspi/accessible.c:
5438 Add implementation for get_index_in_parent().
5440 Added #include of "spi-roletypes.h", and
5441 added enumerated type AccessibleCoordType.
5442 Added definition for KeystrokeListener (function type).
5445 * cspi/spi-statetypes.h :
5446 * cspi/spi-roletypes.h :
5448 Added these headers, used by spi.h.
5450 Added code (NOTE: not yet built by make).
5452 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5454 * libspi/Makefile.am: generate imodule
5455 at the same time as other idl compiler
5458 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5459 * libspi/registry.c :
5460 * libspi/application.c :
5461 * idl/Application.idl :
5462 Made registration with toolkit an application method,
5463 which is required since each app has its own toolkit static
5464 environment. Thus the bridge must register for
5465 notification of toolkit events from each application in turn.
5466 Toolkit notifications are now successfully registered for, and
5467 sent to the listening at client.
5469 Changed toolkit event string to use hyphens rather than underscores.
5470 * libspi/listener.c :
5471 listner now gives more info in debug mode - it reports the
5472 name of the event received, as well as the name of the source.
5475 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5477 * libspi/registry.c :
5478 added more implementation for toolkit events.
5479 Fixed bug such that toolkit event registrations
5480 (via atk) use the whole event name string, not
5482 Removed a useless call to an ORBit_ method.
5483 * at-bridge/bridge.c :
5484 Removed unused local sbuf[] variable.
5486 We now register for Gtk:GtkWidget:button_press_event
5487 events as well as "focus:" events.
5489 Add some more API from Registry.idl that was missing,
5490 for keystroke listening, keystroke and mouse event
5491 synthesis, and enumeration of accessible desktops.
5493 2001-08-16 Michael Meeks <michael@ximian.com>
5495 * configure.in: use AM_GLIB_GNU_GETTEXT.
5497 * Makefile.am (SUBDIRS): kill intl.
5499 2001-08-15 Michael Meeks <michael@ximian.com>
5501 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5503 * configure.in: upd.
5505 * configure.in: depend on a recent bonobo-activation that
5506 will find our server files ...
5508 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5510 * libspi/accessible.c : accessible_new() :
5511 Now we add the Component interface via bonobo_object_add_interface,
5512 if the contained AtkObject implements AtkComponent.
5513 * libspi/accessible.h : now include "component.h"
5514 * libspi/component.h :
5515 * libspi/component.c : added files - implementation of
5516 bonobo wrapper object for Accessibility/Component
5517 * libspi/listener.c :
5518 Added test code to check for Accessibility/Component:1.0
5519 interface and report whether it is implemented by the
5521 * libspi/registry.c :
5522 Now we check for not only the hash of the whole event
5523 string before relaying the event, we also check the
5524 "minor" event string (without the detail string).
5525 This allows event listeners to be registered against
5526 all events of a certain major+minor type, or just
5527 against a specific major+minor+detail type.
5528 * libspi/accessible.c :
5529 Added implementations for Accessible:get_parent(),
5530 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5531 * libspi/registry.c :
5532 * libspi/listener.c :
5533 Replaced calls to Accessibility_Accessible_ref() and
5534 Accessibility_Accessible_unref() with
5535 calls to bonobo_object_dup_ref() and
5536 bonobo_object_release_unref(), so that the CORBA object
5537 is dup-ed and released when relayed, as well as the bonobo object.
5539 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5541 * libspi/Makefile.am,
5542 registryd/Makefile.am,
5543 at-bridge/Makefile.am.
5544 test/Makefile.am, configure.in:
5545 reverse previous changes.
5547 * /idl/Image.idl: fix typo.
5549 * test/Makefile.am: put DEBUG_FLAGS
5552 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5554 * test/app.c: use argv[0] instead of
5557 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5559 * libspi/Makefile.am,
5560 registryd/Makefile.am,
5561 at-bridge/Makefile.am.
5562 test/Makefile.am, configure.in:
5563 cleanup, replace individual LIBS/CFLAGS with
5564 AT_COMMON_{LIBS|CFLAGS}.
5568 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5570 * configure.in, libspi/Makefile.am:
5571 Change IDL path checking for bonobo-activation
5574 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5576 * registryd/registry.c : separated event listeners to use
5577 3 separate lists (focus, window, toolkit). Began testing
5578 event names against hashes before relaying events.
5579 * test/at.c : now register for events of type "focus:"
5580 * test/app.c : now generate events of type "focus:"
5581 * at-bridge/bridge.c : register with ATK for focus events,
5582 and we now relay those focus events to any "focus:" listeners.
5583 This now works with the bridge as a GTK_MODULE when running test/at.
5584 * libspi/registry.c :
5585 * libspi/listener.c :
5586 now we ref event sources before propagating, and unref on receipt.
5587 * libspi/registry.c :
5588 some changes to internal structs, to support event typestring hashes.
5589 * text/app.c : changed the way the appname is generated.
5590 * cspi : added directory that will hold the C bindings library for
5591 non-CORBA/bonobo-savvy clients.
5592 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5593 * idl/Component.idl : added in parameter to indicate coord system for
5594 geometry-related calls.
5595 * idl/Hyperlink.idl : added readonly n_links attribute
5596 * idl/Image.idl : changed methods to attributes.
5598 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5600 * at-bridge/Makefile.am: link against
5601 ../libspi/libspi.la instead of -lspi.
5603 * at-spi/test/app.c: include
5604 bonobo-activation.h. Use a default appname
5605 if one is not provided.
5607 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5609 * idl/Registry.idl : temporarily changed register_Application
5610 to oneway, to work around issue with initial registration
5612 * idl/Application.idl : changed attribute "id" from readonly
5613 to read-write, since it needs to be assigned by Registry.
5614 * registryd/registryd.c : added call to set application id
5616 * registryd/registry.c : changed de-registration procedure to
5617 use CORBA_Object_hash() to find matching object ref in application
5618 lists and listener lists.
5619 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5620 began distinguishing between event types (work in progress).
5622 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5625 * libspi/application.c:
5626 Added implementations for get/set id, get_toolkitName,
5628 * registryd/registryd.c :
5632 Converted from use of OAF to bonobo-activation.
5633 * libspi/desktop.h :
5634 * libspi/desktop.c :
5636 Removed references to atksimpleobject, since base atkobject
5637 implementation now provides functionality we need.
5638 * libspi/atksimpleobject.c :
5639 * libspi/atksimpleobject.h :
5644 * at-bridge/Makefile.am
5645 * at-bridge/bridge.c
5648 Added directory "bridge" and contents, and added dependencies
5649 in Makefile.am/configure.in.
5650 Initial checkin of "at-bridge".
5651 This code is a GTK_MODULE which automatically registers
5652 GTK+ apps with the accessibility registry, using an object
5653 reference to the root ATK object.
5655 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5657 * po/Makefile.in.in: Remove. Again. If this
5658 doesn't get autogenerated - you need to update
5661 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5663 * po/Makefile.in.in: Add. Again.
5665 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5667 * libspi/accessible.c : added support for 'description' property.
5668 * libspi/accessible.c
5670 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5671 (since the two are now equivalent in libbonobo)
5679 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5680 Bonobo::Unknown as does Accessibility::Accessible.
5681 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5682 interface with Bonobo::Stream, since it was redundant with it.
5683 (The Stream returned by a StreamableContext object is expected to
5684 implement only a subset of Bonobo::Stream)
5686 2001-07-28 Anders Carlsson <andersca@gnome.org>
5688 * libspi/accessible.c (accessible_object_finalize): Change
5689 g_free to g_object_unref since the AtkObject is a GObject.
5691 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5693 * idl/Accessibility.idl: add new IDL files
5696 * idl/Action.idl: Definitions of actionable UI object
5697 * idl/Component.idl: Definitions of UI component geometry, etc.
5698 * idl/Hyperlink.idl: Defs of hyperlink behavior
5699 * idl/Image.idl: Def of accessible image
5700 * idl/Selection.idl: Definition of UI object with selectable children
5701 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5702 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5703 * idl/Text.idl: Interface defs for UI elements with complex textual content
5704 * idl/Value.idl: Definition of UI element that is a value controller or display
5706 2001-07-27 Michael Meeks <michael@ximian.com>
5708 * po/Makefile.in.in: remove autogenerated file from CVS.
5710 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5713 * idl/Registry.idl: include guard.
5715 * idl/Accessibility.idl: Add, and include all the other IDL
5718 * idl/*.idl: remove mass of pragmas etc.
5720 2001-07-26 Michael Meeks <michael@ximian.com>
5722 * registryd/Makefile.am (registryd_SOURCES): remove
5725 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5727 * libspi/.cvsignore, registryd/.cvsignore,
5728 test/.cvsignore: updated.
5730 * po/Makefile.in.in: gettext update.
5732 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5734 * initial CVS checkin
5736 2001-06-29 Michael Meeks <michael@ximian.com>
5738 * configure.in: add AM_CONFIG_HEADER to gen config.h