1 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
3 * configure.in: Update to work when X is not installed in expected
4 location. Fixes bug #105836.
7 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
9 (spi_atk_register_event_listener): Add signal listener for
11 (spi_atk_bridge_signal_listener): Event event when link-selected
12 signal is emitted. (bug #104622)
14 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
15 on returned string. (bug #105291)
17 * test/event-listener-test.c: Add test for link-selected.
19 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
21 * atk-bridge/Makefile.am: Correct typo in previous commit.
23 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
25 * atk-bridge/Makefile.am: Allow for build directory to be different
28 * registryd/Makefile.am: Allow for build directory to be different
33 2003-01-29 Bill Haneman <bill.haneman@sun.com>
36 Fixed dependencies for libcspi so that libspi gets pulled in
37 properly. Fixes 104741.
41 Clean up inline docs a little.
43 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
45 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
46 This is done by implementing AtkComponent for SpiAtkDesktop, which is
47 the AtkObject within an SpiDesktop.
48 This addresses bug #101524.
50 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
51 Remove call to gdk_init().
53 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
54 so that Display is set when SpiDesktop is created.
56 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
58 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
59 This fixes bug #102830.
61 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
63 * test/test-simple.c: Update to take account of fact that GailButton
64 now implements AtkText.
65 (create_text_window): Set name on AtkObject for GtkEntry.
66 (validate_accessible): Check accessible name before calling test_text().
68 * libspi/Makefile.am: Fix problem with building outside of source
69 directory. Bug #98120.
71 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
72 typo in documentation comments. Bug #94275.
74 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
76 * libspi/text.c (impl_getBoundedRanges): Bug fix.
78 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
81 Add includes to avoid compiler warnings on Solaris.
82 (impl_getRangeExtents): Bug fix.
84 2002-12-17 Bill Haneman <bill.haneman@sun.com>
86 Fix for 100944, [API addition approved by Gman and murrayc].
93 * idl/Accessibility_Text.idl:
94 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
95 (Text::getRangeExtents): New method for efficient
96 bounds query of a text range.
97 (Text::getBoundedRanges): New method for efficient
98 clipping of text to bounding boxes.
99 (unImplemented7, unImplemented8):
100 Removed these padding methods to preserve bincompat.
103 (impl_getRangeExtents): implementation of new IDL.
104 (impl_getBoundedRanges): implementation of new IDL.
105 (SpiTextRect): Internal use struct.
106 (_spi_text_rect_union): internal method, calculates union of two
107 SpiTextRect bounding rects.
108 (_spi_text_range_seq_from_gslist): internal method, allows us
109 to build our sequence efficiently as a gslist then convert it
111 (_spi_bounds_contain): internal method, determines whether
112 a text character is "in" or "out" of a clip rect according to
113 values of TEXT_CLIP_TYPE.
114 (spi_text_class_init): Initialize the new methods in the epv.
117 (AccessibleTextClipType): New enum used by screen review api.
118 (AccessibleTextRange): New struct used by screen review api.
119 (AccessibleText_getRangeExtents):
120 cspi binding for Accessibility_Text_getRangeExtents.
121 (AccessibleText_getBoundedRanges):
122 cspi binding for Accessibility_Text_getBoundedRanges.
123 (AccessibleTextRange_freeRanges): convenience method.
126 (AccessibleText_getRangeExtents):
127 cspi binding for Accessibility_Text_getRangeExtents.
128 (AccessibleText_getBoundedRanges):
129 cspi binding for Accessibility_Text_getBoundedRanges.
130 (AccessibleTextRange_freeRanges): convenience method.
131 (get_accessible_text_clip_type): internal conversion method.
132 (get_accessible_text_ranges_from_range_seq): internal conversion method.
134 * registryd/deviceeventcontroller.c:
135 (spi_dec_mouse_check):
136 Improved behavior for mouse:abs events
137 [same granularity as mouse:rel events, and no
138 events when mouse is idle].
140 2002-12-16 Michael Meeks <michael@ximian.com>
142 * cspi/spi_accessible.c (spi_state_to_corba): rename.
144 * libspi/stateset.c (state_spi_to_atk): split out
145 ( fix several remote array bounds nasties )
146 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
147 (impl_remove): make safe from array bounds issues.
148 (spi_atk_state_from_spi_state): impl.
150 * libspi/stateset.h (spi_state_set_cache_is_empty):
151 add a set of wrapper defines to get layering right.
153 * cspi/spi_accessible.c: update state set stuff to
156 2002-12-14 Michael Meeks <michael@ximian.com>
158 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
159 to avoid 2 roundtrips to the registry per key event
160 (spi_atk_bridge_key_listener): upd.
161 (deregister_application): release the dec.
163 * registryd/registry.c (notify_listeners_cb):
164 bin lots of re-enterant complexity - we no longer
165 do a round-trip bonobo ref here, ensure that a single
166 listener's exception failure won't poison all other
168 (impl_registry_notify_event): bin obvious memory leak.
170 2002-12-13 Michael Meeks <michael@ximian.com>
172 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
173 init the ev so the error is meaningful.
174 (spi_atk_bridge_key_listener): ditto.
176 * cspi/spi_main.c (cspi_ev): init the ev so we start
177 with a clean slate, otherwise the first exception
180 * cspi/spi_text.c (get_accessible_text_boundary_type):
181 add a fallthrough for no warnings.
183 * cspi/spi_registry.c: prune unused warnings.
185 * cspi/spi_main.c (cspi_object_take): fix
186 mind-blowing brokenness ( by watching the compile
189 * cspi/spi_accessible.c (Accessible_getStateSet):
190 re-impl. to use an AtkStateSet.
191 (spi_state_type_from_accessible_state),
192 (init_state_table): bin these.
194 * libspi/stateset.c (spi_atk_state_set_from_sequence):
196 (atk_state_set_from_accessibility_state_set): here.
198 * cspi/spi_accessible.c (spi_state_to_atk): impl.
199 (AccessibleStateSet_contains, AccessibleStateSet_ref),
200 (AccessibleStateSet_unref, AccessibleStateSet_contains),
201 (AccessibleStateSet_add, AccessibleStateSet_remove),
202 (AccessibleStateSet_equals, AccessibleStateSet_compare),
203 (AccessibleStateSet_isEmpty): re-write to use a local
206 2002-12-13 Bill Haneman <bill.haneman@sun.com>
208 * configure.in: Revved to 1.1.7 (new keymask vals).
210 2002-12-10 Bill Haneman <bill.haneman@sun.com>
213 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
215 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
218 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
219 to compare two CORBA_TypeCodes.
220 (cspi_internal_event_add): Silence warning from FORTE compiler.
222 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
223 avoid implicit declaration of functions.
225 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
227 * atk-bridge/bridge.c:
228 (spi_atk_bridge_init_event_type_consts): Store signal id for
229 active-descendant-changed signal.
230 (spi_atk_register_event_listeners): Add signal listener for
231 active-descendant-changed signal,
232 (spi_atk_bridge_signal_listener): Move code in function
233 spi_atk-signal_emit_event() into this function.
234 Add support for active-descendant-changed
235 Update support for child-changed signal.
236 (spi_bridge_window_event_listener): Silence warning.
238 * libspi/spi_private.[ch]:
239 (spi_init_any_object): Change second parameter from CORBA_Object to
241 Omit call to CORBA_Object_duplicate().
242 Set CORBA_any's _value to CORBA_Object*.
244 2002-12-06 Bill Haneman <bill.haneman@sun.com>
250 (AccessibleEvent_ref, AccessibleEvent_unref):
251 New methods, for persisting an event outside the emission context.
252 Must be used if the new accessor methods are to be called
253 outside of the event listener's callback.
255 * cspi/bonobo/cspi-bonobo.c:
256 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
257 as second parameter instead of NULL, so we can call
258 cspi_check_ev afterwards.
261 (cspi_object_take): New internal method,
262 converts a CORBA_Object reference to a hard ref on
263 an Accessible if possible, returning NULL if the object
264 reference is invalid or an Accessible * otherwise.
267 (AccessibleEvent_ref):
268 Increment the event's internal private refcount, and
269 add the event's internal struct to an internal cache
270 if it's not already there.
271 (AccessibleEvent_unref):
272 Decrement the event's refcount and remove it from
273 the cspi event cache if refcount==0.
274 (cspi_event_compare): New private method.
275 Compares two event structs via their ids. Used
277 (cspi_internal_event_lookup): New private method.
278 (cspi_internal_event_check): New private method,
279 a 0-order sanity check for events to make sure their
280 private data is intact.
281 (cspi_internal_event_add, cspi_internal_event_remove):
282 New private methods for managiing the event cache.
284 * cspi/bonobo/cspi-bonobo-listener.c:
286 Initialize the new private data elements (id, magic, ref_count).
288 * atk-bridge/bridge.c:
289 (spi_atk_bridge_signal_listener):
290 Fixed bug #100530, passing wrong params to emission func.
292 * registryd/deviceeventcontroller.c:
293 (spi_dec_button_update_and_emit):
294 Fixed type in mask bit operations; fix for #99799.
296 2002-12-02 Bill Haneman <bill.haneman@sun.com>
298 Removed some of the more dangerous workarounds from
299 previous commit; they are only needed by GOK, which
300 in reality should be using another method to accomplish
301 the goals. So on reconsideration some of the workarounds
304 * registryd/deviceeventcontroller.c:
305 (spi_keycodes_contain, spi_dec_init_keycode_list):
306 Removed these methods, used only by a nasty hack to try
307 and detect whether a key synthesis should be allowed
308 to reset the XKB latch state or not. This code was only
309 required to work around an interaction between GOK,
310 button events, and XKB.
311 (impl_generate_key_event):
312 Removed hack at end of key generation that tried to
313 "do the right thing" if XKB latch keys were generated
314 in the midst of button press/release pairs.
317 Added a check for HAVE_XINPUT. Not normally used yet.
319 2002-11-25 Bill Haneman <bill.haneman@sun.com>
321 Workarounds and fixes for mouse event/XKB interaction.
323 * registryd/deviceeventcontroller.c:
324 (spi_keycodes_contain, spi_dec_init_keycode_list):
325 New internal methods.
326 (spi_dec_set_unlatch_pending):
327 Split the method that tells XKB to expect an
328 unlatch (and revert it) out of the rest of the
329 event handling code. This method is called by the
330 two mouse event handlers (the poll and the filter).
331 (spi_dec_update_and_emit, spi_dec_mouse_check):
332 New methods split from spi_dec_poll_mouse_moved.
333 The second one is now called from inside the filterFn
334 when an XKB delatch event is received, to determine
335 whether to revert the delatch or not.
336 (spi_poll_mouse_moved): Refactor; also we can now
337 properly handle the case where multiple button states
338 have changed between polling cycles and we didn't get
339 notified due to another client's grab.
341 Synchronize the server while handling an XKB notification.
342 Ugly, but apparently necessary to avoid nasty races.
343 Check the mouse state on receipt of an XKB latch change,
344 to decide whether to revert the latch or not. (Latches are
345 reverted if there is an immediately preceding mouse button
346 event that a client has consumed, in which case we don't want
347 the user to see the side-effect of the event).
348 (spi_device_event_controller_forward_mouse_event):
349 Check for modifier events and fire before resetting mouse_mask_state,
350 prevents losing modifier events.
352 (impl_generate_keyboard_event):
353 If we've just generated a keyboard event for a non-shift key,
354 we don't want to revert the pending XKB latch.
355 Otherwise, check the modifier state (via a call to
356 spi_dev_mouse_check) and set the relatch mask to
357 that state before returning.
359 2002-11-24 Bill Haneman <bill.haneman@sun.com>
362 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
365 * atk-bridge/bridge.c:
366 (spi_atk_register_event_listeners):
367 Don't re-register for ATK events if the registry has died
368 and the app needs to re-register; the ATK listeners are in
369 process and doing so will cause duplicate emission.
371 * registryd/deviceeventcontroller.c:
372 (spi_poll_mouse_moved):
373 Reformat the source, detect and emit multiple button-change
374 events (i.e. if multiple buttons have changed between poll
376 Add code to detect mouse-down events even when the pointer
377 is grabbed; workaround for GOK bug 98420.
378 (spi_controller_register_with_devices):
379 Call XTestGrabControl with 'impervious' flag set to True,
380 allows us to synthesize events and query the pointer even during
381 an active grab by another client.
382 (spi_device_event_controller_forward_mouse_event):
383 Set the mouse_mask_state to the mouse_button_state from
384 the intercepted event, to synchronize the grab listener with
387 2002-11-20 Bill Haneman <bill.haneman@sun.com>
389 * cspi/spi_accessible.c:
390 (AccessibleRole_getName):
391 Added necessary strings for making this (deprecated)
392 method work with the new role types.
393 (init_role_table, role_table):
394 Added definition of SPI_ROLE_APPLICATION.
396 * libspi/spi-roletypes.h:
397 Added SPI_ROLE_APPLICATION.
399 * idl/Accessibility_Role.idl:
400 Added ROLE_APPLICATION.
402 * docs/reference/cspi/at-spi-cspi-decl.txt:
403 Added SPI_ROLE_APPLICATION to docs.
405 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
407 * cspi/spi_accessible.c
408 (cspi_init_role_table): Do not write beyond end of role_table.
409 (Accessible_getRole): Use correct type for value returned by
410 Accessibility_Accessible_getRole().
412 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
413 beyond end of role_table. (This fixes bug #98269)
415 * libspi/application.c: Add include file spi-private.h for
416 definition of spi_init_any_nil.
418 2002-11-19 Bill Haneman <bill.haneman@sun.com>
422 * libspi/spi-private.h:
423 Added DGB() macro, and extern int _dbg declaration.
425 * registryd/registry.c:
426 (definitions) storage for _dbg.
428 Get environment variable "AT_SPI_DEBUG".
429 (spi_registry_set_debug):
430 New method, to initialize _dbg value.
431 (spi_listener_struct_new, spi_registry_object_finalize):
432 (notify_listeners_cb):
433 Changed fprintfs to use DBG and g_warning().
435 * registryd/deviceeventcontroller.c:
436 (_deregister_keygrab, spi_controller_register_device_listener):
437 Changed debug/warning messages to use DBG macro.
441 Changed warning messages to use DBG macro and g_warning().
443 * atk-bridge/bridge.c:
444 (atk_bridge_init, spi_atk_bridge_get_registry):
445 (spi_atk_bridge_exit_func):
446 (spi_atk_bridge_property_event_listener):
447 Changed status, warning, and error messages to use
448 g_warning, g_message, and DBG macros.
451 Read the state of the AT_SPI_DEBUG environment variable
452 and set a local '_dbg' accordingly.
454 2002-11-19 Bill Haneman <bill.haneman@sun.com>
456 FIXES for 98836, 98842, other bugs.
459 Revved to 1.1.4, interface-age=4, binary-age=4.
461 * registryd/deviceeventcontroller.c:
463 Fixed crasher bug in last_mouse_pos initialization.
465 * registryd/registry.c:
466 (desktop_add_application, desktop_remove_application):
467 Added (and then commented out) some support for
468 object context marshalling. [TODO]
470 * atk-bridge/bridge.c:
471 (spi_atk_bridge_event_context_create):
472 Commented out object context creation until it can
473 be properly tested and debugged.
475 * registryd/registry.c:
476 (impl_registry_notify_event):
477 Fixed crasher bug, we were calling
478 spi_re_entrant_list_foreach () with an empty list.
480 2002-11-18 Bill Haneman <bill.haneman@sun.com>
482 * idl/Accessibility_Action.idl:
483 * idl/Accessibility_Component.idl:
484 * idl/Accessibility_Desktop.idl:
485 * idl/Accessibility_Event.idl:
486 * idl/Accessibility_Hyperlink.idl:
487 * idl/Accessibility_Image.idl:
488 * idl/Accessibility_Relation.idl:
489 * idl/Accessibility_Selection.idl:
490 * idl/Accessibility_State.idl:
491 * idl/Accessibility_Value.idl:
492 Updated unimplemented slot count to minimum of
493 four for all interfaces, for ABI freeze.
495 * idl/Accessibility_EditableText.idl:
496 * idl/Accessibility_Text.idl:
497 Updated unimplemented slot count to six
500 * idl/Accessibility_Registry.idl:
501 Updated unimplemented slot count to six
502 (also for DeviceEventController),
505 * idl/Accessibility_Table.idl:
506 Updated unimplemented slot count to eight,
509 * idl/Accessibility_Event.idl:
510 Added CORBA_any "any_data" member to Event struct.
512 * idl/Accessibility_Event.idl:
513 Added CORBA_any "any_data" member to Event struct.
515 * atk-bridge/bridge.c:
517 atk_signal_text_changed, atk_signal_child_changed,
518 signal ids queried from gtype system.
519 (AtkBridgeEventContextType): New enum.
520 (AtkBridgeEventContextData): New struct.
521 (AtkBridgeEventContext): New struct.
522 (atk_bridge_init_event_type_consts):
523 New method, initializes type contants for comparison
524 prior to emit_eventv.
525 (atk_bridge_event_context_init): New method,
526 initializes a CORBA_any from an AtkBridgeEventContext.
527 (atk_bridge_focus_tracker): Call spi_init_any_nil to
528 initialize the event.any_data struct.
529 (spi_atk_bridge_event_context_create): New method,
530 creates an AtkBridgeEventContext from signal/event info.
531 (spi_atk_bridge_event_context_free): New method.
532 (spi_atk_emit_eventv): Changed to take an
533 AtkBridgeEventContext parameter. We now initialize
534 the event.any_data member prior to notifying the
535 Registry, via the AtkBridgeEventContext.
536 (spi_atk_bridge_property_event_listener):
537 (spi_atk_bridge_state_event_listener):
538 Match emit_eventv signature.
539 (spi_atk_bridge_object_event_listener):
540 Match emit_eventv signature, and create an
541 event context from the event details.
542 Free the event context afterwards.
543 (spi_atk_bridge_window_event_listener):
544 Create an event context, pass it to the
548 (AccessibleEvent_getContextString):
549 (AccessibleEvent_getContextObject):
550 New methods, allow query of AccessibleEvent objects
551 for more context details (via the "any_data" member
552 of the Event struct, above).
555 Definitions for AccessibleEvent_getContextString
556 and AccessibleEvent_getContextObject.
558 * cspi/spi_listener.h:
559 (InternalEvent): New struct.
562 (AccessibleEvent_getContextString):
563 (AccessibleEvent_getContextObject):
564 Implementations of new methods, for obtaining
565 additional context information from some event types.
567 * cspi/spi_registry.c:
568 (SPI_registerGlobalEventListener):
569 Added mention of active-descendant-changed event in docs.
571 * cspi/cspi-bonobo-listener.c:
573 Marshal the any into the AccessibleEvent via
576 * libspi/spi-private.h:
577 #include <orbit/orbit.h>
579 (spi_init_any_string):
580 (spi_init_any_object):
581 New convenience function declarations.
585 (spi_init_any_string):
586 (spi_init_any_object):
587 New convenience function implementations.
589 * registryd/deviceeventcontroller.c:
590 (spi_poll_dec_mouse_moved):
591 (spi_device_event_controller_forward_mous_event):
592 Initialize any_data member of event.
593 (spi_deregister_controller_device_listener):
594 Fix incorrect param pass which was preventing deregistration.
596 * registryd/registry.c:
597 (desktop_add_application):
598 (desktop_remove_application):
599 Add object data to event's any_data before dispatch.
601 Fix for error messages from GAIL.
603 * test/event-listener-test.c:
604 Test new ContextString and "any_data" API:
605 (report_text_event): New method query and output context string.
606 (main): register a new text listener with report_text_event
609 2002-11-19 Darren Kenny <darren.kenny@sun.com>
611 Fixes for bugs 98127 and 97914.
612 * cspi/spi-roletypes.h:
613 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
615 * cspi/spi-statetypes.h:
616 Added SPI_STATE_MANAGES_DESCENDANTS
618 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
619 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
620 * cspi/spi_accessible.c:
621 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
622 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
623 Accessibility_STATE_MANAGES_DESCENDANTS
624 * libspi/accessible.c:
625 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
626 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
627 As requested by Bill, I also cleaned up the alignment.
629 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
630 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
632 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
633 Accessibility_STATE_MANAGES_DESCENDANTS
634 * docs/reference/cspi/tmpl/spi_accessible.sgml:
635 Document changes reflecting modifications to roles.
636 * docs/reference/cspi/tmpl/spi_relation.sgml:
637 Document changes reflecting modifications to relations.
638 * docs/reference/cspi/tmpl/spi_stateset.sgml:
639 Document changes reflecting modifications to states.
641 2002-11-17 Bill Haneman <bill.haneman@sun.com>
644 Revved to 1.1.3, interface-age=3, binary-age=3.
648 Removed accessx-gui from the tests, since we have a nice
649 keyboard accessibility capplet now :-)
651 * test/keysynth-demo.c:
652 (increment_scan): removed do-nothing default: case,
655 * test/visual-bell.c:
656 (main) : removed do-nothing default: case,
660 (AccessibleAction_getKeyBinding_):
661 Documented keybinding string format.
665 (AccessibleText_getAttributes):
666 Documented the text attribute string format.
667 It's changed to use semicolon delimiters also,
668 to prevent clashes with CSS attributes, but the old
669 trick of looking for ", " strings will still work
670 (as unreliably as ever). Fix for bug related to 97916.
673 Include <cspi/bonobo/cspi-bonobo-listener.h>
675 (SPI_freeAccessibleKeySet):
676 (AccessibleKeystrokeListener_addCallback):
677 (AccessibleKeystrokeListener_removeCallback):
678 Modify to use AccessibleDeviceListener API internally,
679 instead of AccessibleKeystrokeListener.
681 * idl/Accessibility_Event.idl:
682 Added two more empty slots to EventListener (for a total of four).
684 * idl/Accessibility_Accessible.idl:
685 Added four empty slots to Accessible interface.
687 2002-11-15 Bill Haneman <bill.haneman@sun.com>
689 * idl/Accessibility_Registry.idl:
690 (KeyEventType, EventType):
691 Marked KeyEventType as deprecated; it duplicates
692 functionality of EventType, which has been extended to
693 include Mouse-button events.
694 (KeyEventTypeSeq): defined in terms of EventType.
695 (registerDeviceEventListener, deregisterDeviceEventListener):
696 New methods, for managing listeners to device events,
697 which potentially may consume them.
700 Added definition for AccessibleDeviceListener.
702 * cspi/spi-listener.h:
703 (enum AccessibleDeviceEventType):
704 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
705 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
706 for backwards compat.
707 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
708 and typedef'd AccessibleKeystroke to it for back-compat.
709 (AccessibleDeviceListenerCB):
710 New function prototype typedef.
713 (AccessibleDeviceEventMask): New typedef.
714 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
715 (AccessibleKeyMaskType):
716 Set equivalent to AccessibleModifierMaskType for back-compat.
717 (SPI_createAccessibleKeystrokeListener):
718 (AccessibleKeystrokeListener_unref):
719 Deprecated in favor of equivalent (better-named) new API below..
720 keystroke listeners are like all device listeners.
721 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
722 New API names for old features :-).
723 (AccessibleDeviceListener_addCallback):
724 (AccessibleDeviceListener_removeCallback):
725 (SPI_registerDeviceEventListener):
726 (SPI_deregisterDeviceEventListener):
730 (SPI_createAccessibleKeystrokeListener):
731 Use new preferred API, cspi_device_listener_new() and
732 cspi_device_listener_add_cb().
733 (AccessibleKeystrokeListener_removeCallback):
734 Use new preferred API, cspi_device_listener_remove_cb().
735 (AccessibleKeystrokeListener_unref):
736 Use new preferred API, cspi_device_listener_unref().
737 (SPI_createAccessibleDeviceListener):
738 (AccessibleDeviceListener_addCallback):
739 (AccessibleDeviceListener_removeCallback):
740 Implementation of new API.
742 * cspi/spi_registry.c:
743 (SPI_registerDeviceEventListener):
744 (SPI_deregisterDeviceEventListener):
745 Implementation of new API. Fixed memory leak and removed need to
746 allocate EventTypeSeq (thanks Michael for catching this).
747 Squashed a wayward CORBA_exception_free that shouldn't get called.
749 * cspi/bonobo/cspi-bonobo-listener.c:
751 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
752 (cspi_key_event): renamed to cspi_device_event().
753 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
754 Extended to handle mouse button events as well as key events.
755 (CSpiKeystrokeListener):
756 Class superceded by CSpiDeviceListener.
757 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
758 These internal APIs changed to "*device_listener" from "*keystroke_listener".
760 * cspi/bonobo/cspi-bonobo-listener.h:
761 (CSpiKeystrokeListener):
762 Class superceded by CSpiDeviceListener.
763 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
764 These internal APIs changed to "*device_listener" from "*keystroke_listener".
766 * libspi/Makefile.am:
767 Replaced keystrokelistener.h and keystrokelistener.c
768 with devicelistener.h and devicelistener.c; keystrokelisener.h
769 stub retained for back-compat.
771 * libspi/keystrokelistener.c:
775 Replaced inclusion of keystrokelistener.h with devicelistener.h.
777 * registryd/deviceeventcontroller.c:
778 (DEControllerListener): Added Accessibility_EventTypeSeq member.
779 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
780 (DEControllerPrivateData): Added xkb settings data.
781 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
782 button release events (which can't be captured via XGrabButton).
783 Don't dispatch via the 'normal' event mechanism if the device event was
785 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
786 Handle the typeseq data in its new location (see above).
787 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
788 New methods, for "generic" device listeners.
789 (spi_controller_register_device_listener):
790 Now handle mouse event listeners as well as key listeners.
791 (spi_controller_notify_mouselisteners):
793 (spi_device_event_controller_forward_mouse_event):
794 Now we notify mouse device listeners as well as generating the
795 non-consumable "mouse:" events.
797 We must check and restore the XKB
798 modifier map if we consume the event, since the act of triggering
799 a mouse event will normally reset the XKB latch. This is required for
801 (spi_controller_register_with_devices):
802 Load the XKB settings when registering, and register for XKB
804 (spi_key_eventtype_seq_contains_event):
805 Renamed spi_eventtype_seq_contains_event, since it's used
806 internally for all device event types now.
807 (spi_key_event_matches_listener):
808 Uses spi_eventtype_seq_contains_event now.
809 (spi_device_event_controller_object_finalize):
810 Free the private data and the XkbKeyboard struct.
811 (impl_register_device_listener, impl_deregister_device_listener):
812 Implementation of new IDL.
813 (spi_deregister_controller_device_listener):
815 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
816 More efficient implementation, we don't have to create a new
817 XkbControls structure every time we query.
818 (spi_device_event_controller_class_init):
819 Initialize the epv entries for the new IDL. Assign the
820 "spi-dec-private" quark.
821 (spi_device_event_controller_init):
822 Initialize the private data.
823 (spi_device_event_controller_forward_key_event):
824 Removed a bogus CORBA_exception_free() call.
826 * registryd/deviceeventcontroller.h:
827 Replaced inclusion of keystrokelistener.h with
830 * test/event-listener-test.c:
831 (report_mouse_event):
834 Added mouse-event device listener.
836 * test/test-simple.c:
837 (create_test_window):
838 Fixed regression (we were instantiating a GtkRange,
839 which is now an abstract class). Also fixed to match
840 existing AtkRole names, this seems to have changed in ATK
841 awhile ago; too late now I think, and the new
842 mechanism is at least elegant and consistent with the
843 glib enum "nick" APIs.
845 2002-11-15 Darren Kenny <darren.kenny@sun.com>
847 * idl/Accessibility_Relation.idl:
848 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
849 RELATION_EMBEDS,RELATION_EMBEDDED_BY
850 * idl/Accessibility_Role.idl:
851 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
852 * idl/Accessibility_State.idl:
853 add STATE_MANAGES_DESCENDANTS
854 * test/event-listener-test.c:
855 Added a listener for active-descendant events.
857 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
859 * atk-bridge/bridge.c
860 (atk_bridge_init): If application is Bonobo component wait until top
861 level is added before registering
862 (spi_atk_bridge_do_registration): New function which contains code,
863 formerly in atk_bridge_init, to do application registration.
864 (spi_atk_bridge_toplevel_added): Signal called when top level
865 added to Bonobo component
867 This fixes bug #83134.
869 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
871 * registryd/deviceeventcontroller.c
872 Fixed compilation error caused by calling gettimeofday()
875 2002-10-18 Bill Haneman <bill.haneman@sun.com>
880 Added template for HAVE_XKB.
883 Changes to check for XKB, and to set the HAVE_XKB #define if it
887 ()impl_notify_event): Make failure to get event source name
890 * registryd/deviceeventcontroller.c:
891 (#include): include X11/XKBlib.h.
892 (DEControllerPrivateData) : New struct.
893 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
895 (dec_synth_keycode_press) (dec_synth_keycode_release):
896 New methods; split the key synthesis code into these methods.
897 They check XKB settings before determining the "time" values to
898 pass to Xtest; this fixes bug #95828.
899 (impl_generate_keyboard_event): Changed to use methods above,
900 instead of callng Xtest directly.
901 (spi_device_event_controller_init): Initialize new privae struct s
903 (spi_device_event_controllr_object_finalize):
904 Free the (new) private data.
906 * registryd/deviceeventcontroller.h:
907 Add new gpointer to end of struct data.
909 2002-10-16 Bill Haneman <bill.haneman@sun.com>
912 Incremented revision to 1.1.2, SONAME is still '.so', library
913 extensions are ".so.0.0.2".
915 * registryd/deviceeventcontroller.c:
916 FIXES FOR #93592 and #95940.
917 (statics): renamed mouse_button_state to mouse_mask_state,
918 added key_modifier_mask.
919 (spi_dec_poll_mouse_moved):
920 Added key modifier checks, and emit "keyboard:modifiers"
921 events when the key modifiers currently in use change.
922 Also generate "mouse:abs" events periodically, even if the mouse
923 is stationary (should we?).
924 Alternatively we could generate "mouse:abs" events for either all
925 mouse movements, or every 'nth' mouse movement, or at the
926 beginning and end of every "active" mouse period.
928 * test/event-listener-test.c:
929 (main): Added listener for "keyboard:modifiers" events.
931 2002-10-15 Bill Haneman <bill.haneman@sun.com>
934 Added key mask #defines for mouse buttons; e.g.
935 SPI_KEYMASK_BUTTON1, etc.
938 Incremented dependency on ATK to version 1.1.0. (This dependency
939 is probably premature but will soon be real enough).
941 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
943 * libspi/hyperlink.[ch]
944 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
945 (get_hyperlink_from_servant): Check object is AtkHyperlink not
948 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
953 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
955 * registryd/deviceeventcontroller.c
956 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
957 events to be ignored.
958 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
959 keyboard_mode so that XAllowEvents() can be called.
963 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
965 * cspi/spi-accessible.c: Correct names of roles returned by
966 AccessibleRole_getName(). Fixes bug #95055.
968 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
970 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
973 * registryd/registry.c
974 (desktop_remove_application: Write diagnostic message to stderr for
977 (impl_accessibility_registry_deregister_global_event_listener):
978 Correct size of lists array. This addresses bug #94555).
980 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
982 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
985 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/Makefile: Add CLEANFILES so that .server file is removed
990 * registryd/registry.c (impl_registry_notify_event): Remove
991 unnecessary call to parser_event_type().
993 * docs/reference/cspi/tmpl/spi_component.sgml:
994 Add reference to SPI_LAYER_WINDOW.
996 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
998 * registryd/registry.c
999 (desktop_add_application): Remove leak.
1000 (desktop_remove_application): Remove leak.
1001 (parser_event_type): Remove leak.
1003 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1005 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1006 bogus call to CORBA_string_dup(). Also removed unnecessary
1007 g_string_dup/g_free calls.
1009 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1011 * registryd/deviceeventcontroller.c:
1012 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1014 * test/event-listener-test.c:
1015 main: commented out three redundant listeners, to reduce output
1016 noise. (They still are potentially useful for testing).
1019 2002-09-13 Michael Meeks <michael@ximian.com>
1021 * Update all the copyrights to include Ximian.
1023 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1025 * cspi/spi.h: add SPI_LAYER_WINDOW.
1027 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1028 add Accessibility_LAYER_WINDOW case.
1030 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1032 * libspi/component.c: (impl_accessibility_component_get_layer):
1033 add ATK_LAYER_WINDOW case.
1035 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1037 * configure.in: incremented micro version.
1039 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1041 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1044 Clarified and reworded our commit policy.
1047 Started an API "todo" addition list for 2.2.
1050 (impl_getSelection):
1051 Free char pointer from atk_text_get_selection, which was being leaked.
1053 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1056 Small revision to author acknowledgement.
1058 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1060 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1061 If signal has detail add it to the type of the event.
1064 2002-08-12 Michael Meeks <michael@ximian.com>
1066 * test/test-simple.c (global_listener_cb): bin bogosity.
1067 (test_keylisteners): disable, still doesn't work reliably,
1068 certainly not on my system anyway.
1070 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1071 don't leak a reference on the DEC. This round-trip
1072 fetching of the DEC per keystroke sucks, it should be
1075 * cspi/spi-private.h,
1076 * cspi/cspi-lowlevel.h,
1077 * cspi/bonobo/cspi-bonobo-listener.[ch],
1078 * cspi/bonobo/cspi-bonobo.c: get the copyright
1079 notices better - there is still a large amount of
1080 work in at-spi falsely attributed solely to Sun.
1082 * cspi/spi_main.c (cspi_object_ref): kill bogus
1083 hash lookup, just increment the ref.
1084 (SPI_freeString): make explicit the fact that we
1085 handle NULL strings just fine.
1086 (report_leaked_ref): obey coding standards.
1087 (cspi_object_hash, cspi_object_equal): kill retval.
1088 (cspi_object_release): only release if not on loan.
1089 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1090 (cspi_object_borrow, cspi_object_return): impl.
1092 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1093 use cspi_object_borrow / return.
1095 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1097 * cspi/bonobo/cspi-bonobo-listener.c:
1099 Don't call cspi_oject_new() because this is creating a new Accessible
1100 every single time that an event is fired. This causes ATs like at-poke
1101 to nolonger recognise the source of the event and thus ignore it.
1102 Re-use the object from the cache, ref it and then unref it after the
1103 listeners have been called.
1105 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1107 * test/event-listener-test.c:
1108 Added command-line options to disable mouse events (m) and
1111 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1113 * configure.in: Update required versions of ATK, GTK+ and GAIL
1115 * cspi-1.0.pc.in: Add dependency for X include files
1118 * cspi/bonobo/Makefile.am:
1119 Add $(X_CFLAGS) so that X include files
1120 are picked up even if not in standard place (bug #71686)
1122 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1124 * registryd/deviceeventcontroller.c: fix for 84261
1125 (spi_dec_mouse_moved):
1126 Added test of mouse button mask, so that we can detect mouse
1127 button release. Unfortunately we can't otherwise detect mouse
1128 button release events without consuming the mouse press event,
1129 because of the way XGrabButton works. This means that our mouse
1130 release events have a latency dependent on the polling period
1131 while the mouse button is down. At least in this case we only
1132 have to poll while the button is down, and not at other times.
1133 If the button masks don't match with what the last press event
1134 reported, we report the appropriate button release event.
1135 (spi_dec_ungrab_mouse):
1136 New method (not yet called).
1137 (spi_device_event_controller_forward_mouse_event):
1138 New method, sends mouse press event from GdkFilter.
1139 (spi_dec_init_mouse_listener):
1140 Added code to call XGrabButton, redirecting mouse button events to
1141 the root window and our Gdk event loop.
1143 Added code to filter mouse button events, and reordered.
1145 * test/event-listener-test.c:
1147 Added registration for mouse events of type "mouse:button".
1149 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1151 * registryd/deviceeventcontroller.c: partial fix for 84261
1152 (spi_dec_poll_mouse_idle):
1153 New method, a timeout which checks to see if the mouse
1155 (spi_dec_poll_mouse_moving):
1156 A timeout to be called when mouse motion is underway.
1157 (spi_dec_poll_mouse_moved):
1158 A method which fires an event if the mouse has moved, and reports
1159 whether or not it did so.
1160 (spi_dec_init_mouse_listener):
1161 A method which sets up the timeouts above.
1162 (spi_device_event_controller_new):
1163 Now calls spi_dec_init_mouse_listener.
1165 * registryd/registry.c:
1166 (spi_registry_init):
1167 Now we initialize the device event controller when the registry is
1168 initialized, instead of waiting until a client has requested a key
1169 event notification; this is because we need the event controller
1170 for mouse events, but the mouse event registration API is a
1171 "registry" call and doesn't explicitly call the
1172 deviceeventcontroller.
1173 We now report mouse motion events with a 100 ms idle latency and
1174 a 20 ms granularity when motion is in progress.
1176 * test/event-listener-test.c:
1178 We now register the "detail listener" for events of type
1179 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1180 delivered only for the first mouse event received, and thereafter
1181 "mouse:abs" events are delivered.)
1183 * cspi/spi_registry.c:
1184 DOCS: Documented the above mouse event typestrings.
1186 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1188 Happy Summer Solstice...
1190 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1191 (spi_controller_notify_keylisteners):
1192 Changes to remove a listener from the listener list, freeing its
1193 open keygrabs, if a notification to that listener fails. This
1194 means that although a dead listener can continue to hold a passive
1195 keygrab, a maximum of one dispatch to such a listener can fail
1196 before the listener is removed from the list, thus the keygrab
1197 will be released on the next occurrence.
1198 As part of this fix:
1199 (spi_notify_keylisteners):
1200 Renamed to spi_controller_notify_keylisteners, as the controller
1201 instance must now be passed as an argument.
1202 The copied 'notify' GList is now a list of DEControllerKeyListener
1203 objects, since we need more than just the CORBA reference if a
1204 notify fails and we need to deregister the listener.
1205 (impl_notify_listeners_sync):
1206 (impl_notify_listeners_async):
1207 (spi_device_event_controller_forward_key_event):
1208 Modify use of notify_keylisteners in accordance with above
1210 (spi_deregister_controller_key_listener):
1211 New method introduced by refactoring, from
1212 impl_deregister_keystroke_listener.
1213 (impl_deregister_keystroke_listener):
1214 Call spi_deregister_controller_key_listener.
1215 (spi_key_listener_clone):
1216 New method to copy a key listner without doing a 'ref' on the
1217 remote object instance; used to create a notifier list.
1218 (spi_key_listener_data_free):
1219 New method, frees data without unreffing the source.
1221 (spi_key_listener_clone_free): new method.
1222 (spi_key_listener_free):
1223 refactored to call spi_key_listener_data_free.
1225 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1227 * registryd/registry.c: [fix for bug 86048]
1228 (notify_listeners_cb):
1229 Clear CORBA system exceptions which occur when notifying
1230 listeners, before returning to the source of the original event,
1231 since the event source doesn't care if the relayed notify failed.
1232 In other words, don't complain to the atk-bridge if the registry
1233 could not notify all its listeners, that's no fault of the
1234 application and thus should not appear to be an error from the
1235 application's perspective.
1237 * cspi/spi_main.c: [fix for bug 85980]
1239 Replaced use of bonobo_object_dup_ref with call to the wrapper
1240 method, csou_dup_ref (); this silences a compiler warning and
1241 provided more portability.
1243 Ping the registry before return, and restart if necessary.
1245 * cspi/bonobo/cspi-bonobo.c:
1247 New internal method.
1249 Fixed this method to return an object reference, as it should have
1252 * cspi/cspi-lowlevel.h:
1253 Added internal definition for cspi_ping() and fixed
1254 return type of cspi_dup_ref().
1257 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1259 * atk-bridge/bridge.c: [fix for bug 85305]
1260 (spi_atk_bridge_register_application):
1261 New method where the initial application registry calls have been
1262 moved; it allows an application to re-register in response to
1263 certain error conditions (such as a registry restart, see below).
1265 Moved some initialization code to the method
1266 spi_atk_bridge_get_registry, below.
1267 (spi_atk_bridge_get_registry):
1268 New, private accessor function for the Accessibility_Registry
1269 instance. If the registry has not been started before, or has
1270 died (as detected by failure of a CORBA exception), it is
1271 restarted before return, and spi_atk_bridge_register_application
1272 is called again to register with the new bridge instance.
1273 (spi_atk_emit_eventv):
1274 Set registry_died on error; use spi_atk_bridge_get_registry () to
1275 access the registry.
1277 * registryd/registry.c:
1278 (impl_accessibility_registry_register_global_event_listener):
1279 Set listener's event_type_quark to etype.minor instead of
1280 etype.major (fix for bug 84856).
1282 * test/event-listener-test.c:
1283 (report_detail_event):
1284 Change the output string so that user/tester can tell that the
1285 'detail listener' was called instead of the 'generic listener'.
1287 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1289 Fixes for bugs 84900, 84908, 84897, 84898.
1294 Revved version to 1.1.0
1295 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1296 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1298 * idl/Accessibility_Registry.idl:
1299 (EventListener::notifyEvent):
1300 Removed 'oneway' directive after extensive consulation with
1301 ORBit2 team and others. This means also that unref() of the event
1302 source can and should be done synchronously after emission, rather
1303 than remotely in the client, after servicing the notify call on
1306 NOTE: This change speeds up listener performance considerably, but
1307 introduces new latency on the application side. We may want to
1308 add an event queue to the atk-bridge.
1310 * atk-bridge/bridge.c:
1311 (spi_atk_bridge_focus_tracker):
1312 Do a local unref() on the event source after emission.
1314 * registryd/registry.c:
1315 (desktop_remove_application):
1316 Do an unref() on the event source after emission.
1317 (desktop_add_application):
1318 Do an unref() on the event source after emission.
1319 (notify_listeners_cb):
1320 When relaying an event, don't automatically add the event source
1321 to the local object cache, just CORBA_dup it instead. Likewise,
1322 if this method reenters, release the ref rather than calling
1324 (impl_registry_notify_event):
1325 No longer call remote unref() on the event source after dispatch.
1327 * libspi/eventlistener.c:
1328 (impl_accessible_event_notify_event):
1329 Removed remote unref ()
1331 * cspi/bonobo/cspi-bonobo-listener.c:
1333 We now call cspi_object_new() instead of cspi_object_add() on
1334 receipt of an event; thus we only have an implicit object ref
1335 while the cspi_event method is being executed. If we need to keep
1336 a reference to the object, the listener must call ref() on the
1337 object. Thus also we don't need to call cspi_object_unref() after
1338 invoking the listener callbacks in this method.
1342 New internal API for creating a new cspi object, without adding it
1343 to the object cache.
1345 Now uses cspi_object_new() to create the cspi object instance.
1347 Now checks to see if the object is in the internal object cache,
1348 and adds it if necessary before incrementing its refcount (note
1349 that new objects are added with a refcount of 1).
1350 (report_leaked_ref):
1351 New method which gives some information on leaked object instances
1352 if leak detection is turned on.
1354 * test/event-listener-test.c:
1355 (timing_test_event):
1356 New method, used for testing event delivery timing for special
1357 events of type "object:test". It reports elapsed time and
1358 events/sec every 500 events.
1360 Added a new listener, 'test listener', to check timing of event
1361 receipt as noted above.
1363 Added some timing output here also, reports elapsed time every 100
1366 * test/stress-test.c:
1367 Emit events of type "object:test", for use with "event-listener-test".
1369 * test/test-simple.c:
1370 (global_listener_cb):
1371 Call Accessible_ref() on the event source before calling
1372 validate_accessible, since the validation process does pointer
1373 comparisons on the event source, meaning that the event source
1374 needs to be added to the local object cache first. Any use of
1375 such pointer comparisons between Accessible objects requires that
1376 the caller hold an explicit reference to those objects.
1377 We also must therefore call Accessible_unref() when leaving this method.
1379 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1381 * registryd/deviceeventcontroller.c:
1382 (spi_controller_update_key_grabs):
1383 Fix for #84735, subsequent keygrab listeners not informed of
1384 registration failure.
1387 (spi_base_construct):
1388 Add an assertion on construct, to make sure the GObject passed in
1389 is really a GObject.
1391 Explicitly initialize object->gobj pointer to NULL;
1393 * cspi/bonobo/cspi-bonobo-listener.c:
1394 (cspi_object_add_ref):
1395 New method, can specify whether to dup-ref a bonobo object passed
1396 in if it's newly added to the object cache.
1398 Now calls cspi_object_add_ref with second param of "FALSE". This
1399 prevents us from doing a pointless dup-ref followed by
1400 release-unref for all those cases where the object is already in
1401 our object cache (fix for #85205).
1403 * atk-bridge/bridge.c:
1404 (spi_atk_bridge_idle_init):
1405 Removed this method, we don't need to initialize in an idle
1408 Changed to call spi_atk_register_event_listeners directly, not via an
1409 idle handler. (fix for #81139)
1410 (gnome_accessibility_module_shutdown):
1411 Removed conditional around deregistration of listeners, since we
1412 don't use the idle handler and thus have always registered when
1414 (spi_init_keystroke_from_atk_key_event):
1415 Changed references to Accessibility_KEY_PRESSED to
1416 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1418 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1420 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1425 * test/stress-test.c:
1428 (may have been an incomplete commit yesterday?)
1430 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1433 Added target for new stress-test.
1435 * test/stress-test.c:
1436 New test, sends 1000 focus notifies in quick succession.
1438 * test/key-listener-test.c:
1439 Now we report whether a keylistener registration
1440 request succeeded or failed.
1442 * test/event-listener-test.c:
1443 Uncommented some listeners which are now implemented.
1446 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1448 * registryd/deviceeventcontroller.c:
1449 (spi_controller_update_key_grabs):
1450 Fix for #82509, lack of failure notification when
1451 ALL_WINDOWS keygrabs fail due to XGrabKey
1452 failure: we synchronize the server when
1453 registering a passive grab, to make sure we get the
1454 error message before the call returns.
1456 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1458 * test/test-simple.c:
1460 Removed #ifdef KEY_IMPL_WORKS guards.
1461 (test_keylisteners):
1462 Removed #ifdef KEY_IMPL_WORKS guards.
1463 Fixed bug which was causing a hang waiting for a
1464 "press" event (which was already overwritten by a "release"
1465 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1467 Added code to set globals 'key_press_received' and
1468 'key_release_received'.
1471 Added section "1.1 API Proposed Additions" which
1472 lists API additions desired for at-spi-1.1 (only one so far).
1473 Updated TODO list a little.
1475 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1477 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1480 * configure.in: Revved to 1.0.0.
1482 * idl/Accessibility_Registry.idl:
1483 (registerKeystrokeListener):
1484 Added boolean return value.
1486 * registryd/registry.c:
1487 (notify_listeners_cb): Minor fix to debug output.
1489 * registryd/Accessibility_Registry.server.in.in:
1490 Revved version number in OAFIID to 1.0.
1492 * registryd/registryd.c:
1494 Use new OAFIID version.
1496 * cspi/bonobo/cspi-bonobo.c:
1498 Use new OAFIID version.
1504 * atk-bridge/bridge.c:
1506 Use new OAFIID version.
1508 * registryd/deviceeventcontroller.c:
1509 (impl_register_keystroke_listener):
1510 Added CORBA_boolean return value.
1511 (spi_controller_register_device_listener):
1512 Added gboolean return value.
1513 (spi_controller_register_global_keygrabs):
1514 Added gboolean return value.
1515 (spi_key_set_contains_key):
1516 Added implementation for many more control keys,
1517 for instance F1-F12, arrow keys, End, Home, Page_Up,
1519 [TODO: some still not implemented].
1521 * text/screen-review-test.c:
1522 (text_chunk_pad_string):
1523 New function: it provides mapping between coordinate
1524 positions of text chunks and character positions in the
1525 screen-review-line output string.
1526 (text_chunk_to_string):
1527 New function, calls text_chunk_pad_string with various
1528 pad/delimiter characters. Pushbuttons are delimited with
1529 square brackets, Frames with vertical 'pipe' lines, and
1530 other text with double quotes.
1531 (text_chunk_list_to_string):
1532 Calls new function text_chunk_to_string.
1533 (toplevel_composite):
1534 New function to composite layers CANVAS through
1535 POPUP in each toplevel (other layers are composited
1536 across toplevels, i.e. BACKGROUND and OVERLAY).
1537 (review_buffer_composite):
1538 Revise to use new methods.
1544 2002-05-31 Laszlo Peter <laca@sun.com>
1546 * configure.in: add the Xtst libdir to the runpath on Solaris,
1547 since it's not in the default library search path.
1549 2002-05-29 jacob berkman <jacob@ximian.com>
1551 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1553 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1555 * test/screen-review-test.c:
1556 (text_chunk_pad_string):
1557 Added method, which pads the string according to the
1558 text bounds of the chunk. It also takes a 3-character
1559 string as a param which indicates the characters to be
1560 used for start, padding, and end delimitation of the chunk.
1561 (text_chunk_to_string):
1562 Changed to use text_chunk_pad_string.
1564 * configure.in: Fixed bug in AC_OUTPUT that was
1565 causing path substitution in Accessibility_Registry.server
1568 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1570 * text/screen-review-test.c:
1571 (guess_string_clip):
1572 New method which attempts a best-guess at clipping
1573 text from components (like Java labels) which don't
1574 actually implement AccessibleText. This inaccurate
1575 clip is based on the assumption that the label is
1576 justified left-and-right, and monospaced.
1577 (text_chunk_get_clipped_string):
1578 We now call guess_string_clip() for text-containing
1579 components that don't implement AccessibleText.
1581 * test/screen-review-test.c:
1582 (review_buffer_get_text_chunk):
1583 We now pull "name" from labels if they do not implement
1584 AccessibleText (i.e. for Java labels).
1585 (get_screen_review_line_at):
1586 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1589 Replaceded AC_OUTPUT target
1590 registryd/Accessibility_Registry.server with
1591 registryd/Accessibility_Registry.server.in.
1593 * registryd/Accessibility_Registry.server.in:
1594 Removed (this is now a Makefile target).
1596 * registryd/Accessibility_Registry.server.in.in:
1597 Added (source for target above). We now use $(libexecdir) as
1598 prefix for the executable at-spi-registryd.
1600 * registry/Makefile.am:
1601 Now install at-spi-registryd into $(libexecdir), and build .server
1602 file with path (see above).
1604 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1606 * test/screen-review-test.c:
1607 (text_chunk_get_clipped_string):
1608 We now check to see if words fall within clip bounds
1609 before resorting to character-by-character clip bounds testing.
1611 * TODO: Added a section for "2.2 Proposed API Additions".
1613 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1615 * test/screen-review-test.c:
1617 Added a screen review benchmarking and test program to test
1620 * cspi/spi_accessible.c:
1622 Made some of the debug strings passed to cspi_check_ev a
1623 little more specific.
1625 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1627 * test/screen-review-test.c: Fix crashes in debug statements
1629 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1631 * test/screen-review-test.c: Added this file.
1633 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1635 * atk-bridge/bridge.c: changed "object:state-change" to
1636 "object:state-changed" to match docs.
1638 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1640 * atk-bridge/bridge.c: Hooked up state-change event details.
1642 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1644 * registryd/registry.c:
1645 Fixed quarking bug in event string parsing; now events with
1646 detail parameters get matched correctly to listeners.
1649 * util/idl/Magnifier.idl: remove.
1651 * util/*.[ch]: Remove.
1652 Magnification utilities and IDL are now in module gnome-mag.
1654 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1656 * registryd/deviceeventcontroller.c:
1657 Fixed bug in grab key conversion which was causing keycode grabs
1658 to be converted to AnyKey grabs.
1661 updated NEWS file to reflect recent spin-off of gnome-mag.
1663 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1665 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1666 busted AccessibleStateSet_compare. Removed redundant casts.
1668 * cspi/spi-action.c: Removed redundant casts.
1670 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1672 * cspi/spi_component.c: Fixed typos and casting error.
1674 * cspi/spi_editabletext.c: Removed redundant casts.
1676 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1678 * cspi/spi_hypertext.c: Eliminated redundant casts.
1680 * cspi/spi_image.c: Eliminated redundant casts.
1682 * cspi/spi_registry.c: Eliminated redundant casts.
1683 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1684 * cspi/spi_selection.c: Removed redundant casts.
1685 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1686 handling. Screen geometry and text offsets were being returned as 0
1687 on error which is technically valid-- changed these to return -1.
1688 Added marshaller for text boundary types to fix bug with boundary
1689 types being passed incorrectly to atk.
1691 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1694 * cspi/spi_registry.c:
1695 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1696 which was uncovered by the recent key changes.
1698 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1700 * test/event-listener-test.c:
1702 Added new test, "event-listener-test";
1703 this code does two things; it benchmarks traversal time
1704 for the accessible hierarchy for the first running accessible
1705 app, and it connects listeners for all supported event types.
1706 It is thus useful as an example event listener and for
1707 diagnostics/debugging of event generation.
1709 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1712 Removed unnecessary dependency on libutil.
1715 Revved micro version: 0.13.1
1717 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1720 Removed util/Makefile from targets.
1723 Removed util subdir from SUBDIRS (temporarily,
1724 pending removal of magnifier-only code
1728 #ifdef-ed out magnifier dependencies, since
1729 magnifier IDL, headers, and binary now live in
1730 module gnome-mag and we don't want at-spi to depend
1731 on gnome-mag. A magnifier demo which can run alongside
1732 simple-at is forthcoming in the gnome-mag module.
1734 NOTE: Split magnifier binary, IDL, and magnification
1735 activation code from at-spi into module gnome-mag.
1737 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1739 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1740 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1742 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1745 Revved to version 0.13.0
1747 * idl/Accessibility_Registry.idl:
1748 Changed definition of KeySet from sequence of longs to sequence of
1749 KeyDefinitions, and added KeyDefinition struct.
1750 Required for fix to bug 80616.
1752 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1753 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1754 to use new definition (see above).
1756 * registryd/deviceeventcontroller.c: handle_keygrab(),
1757 spi_keyset_contains_key():
1758 Changed to make use of new struct; this allows matching based on
1759 string key-name, for instance "Tab". This also allows matching of
1760 composed characters, non-alphanumeric characters in a way that
1761 doesn't involve dependencies on X keysym codes directly, etc.
1763 * test/key-listener-test.c:
1764 Added test for Alt-Tab key using "string" specification of keyset,
1765 and modified one of the tests to use a keycode-based keyset.
1766 Thus this test both tests and demonstrates the creation and use of
1767 keysets of three forms: specified via keycode array,
1768 keysym array, and string array. (The string case only contains a
1769 single string, i.e. a string array of length 1).
1772 Turned on PRINT_TREE option by default. Also fixed a
1773 string-freeing bug in the PRINT_TREE code.
1774 Added a listener to window:minimize events.
1776 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c:
1779 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1780 for window:activate and window:deactiveate
1781 (atk_bridge_property_event_listener atk_bridge_signal_listener
1782 atk_bridge_window_event_listener) Tidy debug code
1784 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1786 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1787 Fixed handling for NULL return value from ATK.
1789 * libspi/action.c libspi/component.c libspi/editabletext.
1790 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1791 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1792 Removed redundant casts.
1794 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1795 Fixed off by one bug.
1797 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1798 function not present in idl)
1800 2002-05-02 jacob berkman <jacob@ximian.com>
1802 * atk-bridge/Makefile.am: make atk-bridge a real module
1804 2002-04-26 Radek Doulik <rodo@ximian.com>
1806 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1807 atk_state_types table
1809 2002-04-22 jacob berkman <jacob@ximian.com>
1812 * libspi/Makefile.am: add deps on the built files to help
1813 automake, and don't version the ORBit typelib
1815 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1817 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1818 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1819 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1820 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1821 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1822 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1823 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1824 libspi/accessible.h libspi/accessible.h libspi/base.h
1825 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1826 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1827 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1828 libspi/spi-private.h libspi/statetset.h libspi/table.h
1829 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1830 util/mag_client.h util/mag_control.c util/mag_image.c
1831 util/mag_image.h util/magnifier.c util/magnifier.h:
1832 Add missing file headers; standardize existing ones
1834 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1836 * atk-bridge/bridge.c: Added window event support.
1838 2002-04-18 Michael Meeks <michael@ximian.com>
1840 * libspi/relation.c (impl_getNTargets): impl.
1841 (impl_getTarget): impl.
1843 * libspi/Makefile.am: fix stateset install.
1845 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1848 Started putting useful info in this file.
1850 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1852 * atk-bridge/bridge.c:
1853 Propagate state-changed notifications to ATs
1855 * cspi/spi_registry.c: update docs to reflect actual behavior of
1856 state-change events.
1858 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1861 Incremented version to 0.12.1
1863 * util/mag_client.h:
1864 Add missing declaration for magnifier_exit,
1865 used by mag_control.c - Forte compiler didn't like
1866 the implicit redeclaration of the function :-(
1869 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1872 Revved version to 0.12 due to API change (see below).
1874 * cspi/spi-roletypes.h:
1875 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1876 definition from the inline docs, and added docs
1877 for SPI_ROLE_LAST_DEFINED.
1880 * cspi/spi_streamablecontent.c:
1881 Added missing seek_type parameter to
1882 (so far unused) method,
1883 AccessibleStreamableContent_seek().
1884 [ RT approval JodyG. ]
1887 Fixed docs for SPI_createAccessibleKeystrokeListener.
1889 * cspi/spi_registry.c:
1890 Fixed docs for SPI_KEYSET_ALL_KEYS.
1892 * docs/reference/cspi/at-spi-cspi-sections.txt:
1893 Added a number of missing APIs to SECTIONS.
1895 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1897 * registryd/Makefile.am:
1899 * cspi/bonobo/Makefile.am:
1900 Add $(X_LIBS) to makefiles.
1902 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1905 Revved version to 0.11.
1907 * libspi/component.c:
1908 Added implementation for grabFocus.
1910 * idl/Accessibility_Component.idl
1911 (Accessibility_Component_grabFocus):
1912 Made this method return boolean to indicate success or failure, to
1913 be consistent with cspi and the corresponding ATK method.
1915 * idl/Accessibility_Selection.idl
1916 (Accessibility_Selection_selectAll) :
1917 Made these methods return boolean to indicate success or
1918 failure, to be consistent with cspi and the corresponding ATK methods.
1920 * idl/Accessibility_EditableText.idl
1921 (Accessibility_EditableText_setTextContents,
1922 Accessibility_EditableText_insertText,
1923 Accessibility_EditableText_cutText,
1924 Accessibility_EditableText_deleteText,
1925 Accessibility_EditableText_pasteText):
1926 Made these methods return boolean to indicate
1929 * cspi/spi_editabletext.c:
1930 Made these methods return booleans.
1932 * libspi/selection.c:
1933 * libspi/component.c:
1934 * libspi/editabletext.c:
1935 Connected the boolean returns from ATK
1936 to the server-side code referenced above.
1938 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1940 * idl/Accessibility_Table.idl: Added missing methods,
1941 Accessibility_Table_addRowSelection,
1942 Accessibility_Table_addColumnSelection,
1943 Accessibility_Table_removeRowSelection,
1944 Accessibility_Table_removeColumnSelection.
1947 Added C wrappers for above IDL:
1948 AccessibleTable_addRowSelection,
1949 AccessibleTable_addColumnSelection,
1950 AccessibleTable_removeRowSelection,
1951 AccessibleTable_removeColumnSelection.
1954 Added server-side implementation code for IDL above, connecting
1955 to pre-existing ATK api.
1957 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1959 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1961 * libspi/accessible.c: Added implementation fo
1962 Accessibility_Accessible_get_state.
1964 * libspi/libspi.h: Added stateset.h to the list of includes.
1966 * libspi/stateset.c: Fixed broken implementation.
1968 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1971 Added implementation code for Accessibility_Magnifier_exit ().
1973 * util/mag_control.c:
1974 Added test code for above method; you can
1975 now kill an existing magnifier via
1976 ./mag_control q, from the util directory.
1978 * test/key-listener-test.c:
1980 Added a new test, for our key listener API.
1982 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1984 * test/app.c, test/keysynth-demo.c:
1986 Replace use of snprintf with g_snprintf.
1987 (fix for bugzilla 78249)
1989 2002-03-27 Michael Meeks <michael@ximian.com>
1993 * util/Makefile.am (INCLUDES): fix.
1994 (DONT_DIST_SOURCE): don't distribute the
1997 * libspi/Makefile.am (dist-hook): ditto.
1999 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2001 * libspi/hypertext.c:
2002 Fix warnings when yelp is used with atk-bridge
2004 2002-03-21 Michael Meeks <michael@ximian.com>
2006 * libspi/application.c (spi_application_new):
2007 use spi_accessible_construct so we use the AtkObject
2010 2002-03-19 Michael Meeks <michael@ximian.com>
2012 * registryd/registry.c (desktop_remove_application),
2013 (desktop_add_application): clean coding style.
2015 * registryd/desktop.c (spi_desktop_remove_application),
2016 (spi_desktop_add_application): kill re-enterency hazards.
2017 (spi_desktop_dispose): remove bogus redundant cast
2018 obscuring bug; fix bug too.
2019 (spi_desktop_init): make the desktop object immortal.
2021 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2024 Added a #define-guarded tree-traversal step
2025 when enumerating the apps (diagnostic tool).
2027 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2029 * idl/Accessibility_Role.idl:
2030 Added ROLE_DRAWING_AREA which seemed to be missing from the
2033 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2035 * cspi/spi-roletypes.h cspi/spi_accessible.c
2036 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2039 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2040 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2041 AT when applications are added and removed from the desktop. This
2042 reverts the previous broken implementation using the backing
2043 AtkObject for the SpiDesktop.
2045 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2047 * registryd/desktop.c: emit the "children-changed::add" and
2048 "children-changed::remove" signals on the backing ATK object for
2049 the desktop so AT can tell when applications are started and shut
2052 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2054 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2056 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2058 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2060 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2062 * cspi/state-types.h: synched with IDL and ATK
2064 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2066 * libspi/accessible.c
2067 (impl_accessibility_accessible_get_child_at_index):
2068 Change return value for g_return_if_fail ()
2069 to CORBA_OBJECT_NIL instead of "0" (!)
2071 * registryd/Makefile.am:
2072 * registryd/Accessibility_Register.server.in:
2073 Changed name of executable, "registryd",
2074 to something more informative:
2077 2002-03-13 Michael Meeks <michael@ximian.com>
2079 * atk-bridge/bridge.c (atk_bridge_init): don't register
2080 if we're in a bonobo-component, rather than a bonobo app.
2082 2002-03-13 Michael Meeks <michael@ximian.com>
2084 * atk-bridge/bridge.c (gtk_module_init): split
2085 out body to (atk_bridge_init): here, since otherwise
2086 we get symbol conflicts and oddness when invoked
2087 from (gnome_accessibility_module_init): here (upd.)
2089 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2092 New file. Explicitly allow "build sheriff" putbacks provided
2093 they are tested on Solaris.
2095 * docs/reference/cspi/Makefile.am:
2096 Added '-' to the "cp" command for index.sgml.
2097 ("patch by thomasvs, soon coming to a GUADEC near you")
2100 Incremented version number (0.9.0) for new release.
2101 Changed macro that checks for popt, to better detect
2102 obsolete versions of popt.
2105 Added X_LIBS to AC_SUBST, for applications
2106 that call Xlib API directly.
2109 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2112 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2115 Fix regression caused by hard-coding major
2116 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2119 * test/test-simple.c (test_editable_text),
2120 (test_test): revert previous change (error was
2121 a regression in gail which is now fixed).
2123 2002-03-04 Michael Meeks <michael@ximian.com>
2125 * test/test-simple.c (test_editable_text),
2126 (test_text): pass G_MAXINT instead of '-1' for
2127 whole string - is this a good thing !?
2129 * cspi/spi_accessible.c
2130 (Accessible_getRelationSet): fix crasher bug
2131 overwriting the end of the array.
2133 * test/test-simple.c (validate_accessible): free,
2134 not g_free returned relation set.
2136 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2138 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2139 implemented stateset support
2141 * idl/Accessibility_State.idl: Made necessary changes to
2142 the IDL to support state sets.
2144 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2146 * registryd/deviceeventcontroller.c:
2147 Added implementation for generateMouseEvent.
2149 * cspi/spi_registry.c:
2150 Connected new implementation for generateMouseEvent
2153 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2156 Incremented revision (but no change in public API
2157 outside of 'utils', which are not installed public yet.)
2159 * libspi/component.c:
2160 Changed to use atk_component API for layers and
2161 mdi_zorder, instead of deprecated atk_object API.
2163 Magnification Utility Enhancements:
2166 Added implementation of createZoomRegion, clearAllZoomRegions,
2167 resizeZoomRegion. Added new commandline argument
2168 "--no-initial-region". Note that clearAllZoomRegions doesn't
2169 unmap the old '0' region as it should (yet), and the other
2170 methods only work when creating/resizing a single region,
2171 which is "region 0".
2172 (Code for multiple region support will be added later.)
2175 Now we raise the magnifier window each time it's refreshed;
2176 this will help keep it on top.
2178 * util/mag_client.h:
2179 Added simple wrappers for above, used by mag_control.
2180 For general use, it's recommended to use the bonobo magnifier
2181 control API directly instead of using these wrappers.
2184 Moved ZoomRegionData from magnifier.c to this file.
2186 * util/mag_control.c:
2187 Added some code to exercise new IDL implementations.
2189 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2191 * libspi/text.c: Provide implementation for getAttributes.
2193 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2196 Incremented revision.
2198 * test/test-simple.c:
2199 Replaced use of deprecated g_main_iteration with
2200 g_main_context_iteration.
2202 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2205 Incremented revision for desktop alpha 2.
2207 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2209 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2212 * test/simple-at.c: include netinet/in.h.
2214 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2216 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2217 use NULL, not CORBA_OBJECT_NIL.
2219 * libspi/accessible.c:
2220 (impl_accessibility_accessible_get_relation_set):
2221 allocate the sequence correctly.
2223 * libspi/remoteobject.h: kill spi_remote_object_new.
2225 * test/test-simple.c: (validate_accessible): add code
2226 to test relation sets, now all we need is to figure
2227 out how to excercise this code path :/
2229 2002-01-18 Michael Meeks <michael@ximian.com>
2231 * test/test-simple.c
2232 (key_listener_cb): consume the key.
2233 (test_keylisteners): update.
2234 (main): wait for any pending unrefs on events.
2236 * registryd/deviceeventcontroller.c
2237 (spi_controller_update_key_grabs): only re-issue the
2238 grab on a key release.
2239 (spi_device_event_controller_forward_key_event):
2240 refresh the keygrabs before we notify the listeners,
2241 to reduce the X ungrab / re-grab race.
2242 (spi_controller_register_with_devices): remove
2243 XSelectInput - we do that with the gdk_window_ call.
2244 (_spi_controller_device_error_handler): return a value.
2245 s/GDK_DISPLAY/spi_get_display/
2247 2002-01-17 Michael Meeks <michael@ximian.com>
2249 * registryd/deviceeventcontroller.c
2250 (_deregister_keygrab): don't blow out the later
2253 * test/test-simple.c (test_keylisteners): do a
2254 more intelligent validation.
2256 2002-01-14 Michael Meeks <michael@ximian.com>
2258 * atk-bridge/bridge.c
2259 (gnome_accessibility_module_init),
2260 (gnome_accessibility_module_shutdown): impl.
2261 (gtk_module_init): protect vs. double inits.
2262 (add_signal_listener): impl.
2263 (spi_atk_bridge_state_event_listener): kill
2264 (deregister_application): split out of
2265 (spi_atk_bridge_exit_func): here.
2267 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2270 Added caret tracking when using magnifier, and
2271 now use text bounds for focus tracking of text elements, rather than
2272 the component bounds - this is helpful for short text fields in long
2273 table cells, at high magnification.
2275 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2277 * registryd/deviceeventcontroller.c:
2278 Regression fix for keylistener de-registration; global keygrabs
2279 were not being released when deregisterKeystrokeListener was
2280 called in cspi, since
2281 Accessibility_DeviceEventController_deregisterKeystrokeListener
2282 was called with a zero-length keyset. That is because the cspi
2283 method, SPI_deregisterKeystrokeListener, does not take a keyset
2284 parameter but instead should remove all the key grabs held be a
2286 The code in impl_deregister_keystroke_listener was changed to copy
2287 the keylist from the listener instance previously registered with
2288 the DeviceEventController before releasing the grabs.
2290 * registryd/registry.c:
2291 * registryd/deviceeventcontroller.c:
2292 * libspi/spi-private.h:
2294 Changed spelling of "re-enterant" to "re-entrant" globally.
2296 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2298 * test/test-simple.c:
2299 Changed key listeners test - the test was slightly mis-using the
2300 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2301 It now uses '=' as the key event listened to and generated,
2302 relying on a keysym match rather than assuming that keycode 33
2303 is always equal to keysym '!'.
2305 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2308 Changed simple-at to use a specific keyset, rather than
2309 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2310 manager, desktop, etc.
2312 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2314 * registryd/deviceeventcontroller.c:
2315 Replaced standard X error handler with a special handler that
2316 is non-fatal for failed keygrabs. This works around
2317 problems with keygrab clashes sometimes observed on
2319 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2320 mouse handling code as yet).
2322 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2325 Incremented revision for desktop alpha release.
2328 Fixed a couple of the more glaring errors (still not
2331 2002-01-11 Michael Meeks <michael@ximian.com>
2333 * registryd/deviceeventcontroller.c
2334 (spi_device_event_controller_forward_key_event): kill
2335 XUngrabKey / XKeyGrab race.
2336 (spi_controller_grab_keyboard): rename to
2337 (spi_controller_update_key_grabs): this, and deal
2338 with incremental adding / removing grabs more
2340 (_register_keygrab): ensure we're not pending a remove.
2341 (spi_grab_mask_free): impl.
2342 (spi_controller_register_global_keygrabs): split out
2344 (handle_keygrab): impl.
2345 (_deregister_keygrab): impl.
2346 (spi_controller_deregister_global_keygrabs): impl.
2347 (spi_controller_update_key_grabs): re-issue the grab if
2348 we just recieved a notification.
2350 * test/test-simple.c (key_listener_cb): remove debug.
2352 * registryd/deviceeventcontroller.c
2353 (spi_controller_register_device_listener): after
2354 registering a global keygrab, actualy register it !
2355 don't wait for a timeout; doh !
2357 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2358 to make it more readable / manipulable.
2359 s/grabmask/grab_mask/ s/refcount/ref_count/
2360 s/keyval/key_val/ s/modmask/mod_mask
2362 2002-01-08 Michael Meeks <michael@ximian.com>
2364 * registryd/deviceeventcontroller.c
2365 (spi_controller_register_with_devices): use gdk calls to
2367 (global_filter_fn): implement the filter.
2368 (spi_device_event_controller_check_key_event): rename to
2369 (spi_device_event_controller_forward_key_event): this & upd.
2370 (spi_get_display): replace with GDK_DISPLAY.
2372 * registryd/deviceeventcontroller.c
2373 (spi_controller_deregister_device_listener): unroll into
2374 (impl_deregister_keystroke_listener): here to simplify.
2375 (spi_controller_register_global_keygrabs): split cut and
2376 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2377 (spi_controller_deregister_device_listener): remove.
2378 (impl_register_mouse_listener): remove, no mouse listener
2379 support in at-spi-1.0
2381 * registryd/registry.c
2382 (_device_event_controller_hook): kill.
2383 (spi_registry_init): upd.
2385 * registryd/deviceeventcontroller.c
2386 (spi_device_event_controller_class_init): upd.
2387 (spi_check_key_event): merge into.
2388 (spi_device_event_controller_check_key_event):
2389 here and kill strange static ev init, don't leak
2390 the x_event - nor dynamicaly allocate it.
2392 * registryd/registry-main.c (main): re-direct
2393 timeout to remove strange vtable mess.
2395 * registryd/deviceeventcontroller.c
2396 (remove_listener_cb): impl.
2397 (spi_controller_deregister_device_listener):
2398 fix re-enterancy hazard.
2400 2002-01-07 Michael Meeks <michael@ximian.com>
2402 * registryd/deviceeventcontroller.c
2403 (spi_device_event_controller_new): upd.
2404 (impl_notify_listeners_sync): upd. debug.
2405 (spi_notify_keylisteners): fix re-enterancy hazards,
2406 prettify, remove O(n*n) iteration.
2407 (spi_controller_grab_keyboard): fix iteration.
2408 (spi_check_key_event): re-format to suit coding style.
2409 Clean all the warnings - we're warning free.
2411 * registryd/deviceeventcontroller.h:
2412 * registryd/registry.h: make mutualy referential with
2413 typesafe forward references instead of (!) void pointer
2416 2002-01-11 Michael Meeks <michael@ximian.com>
2418 * cspi/spi_accessible.c (role_names): add a role name
2419 to sync this array with the enum; and make the regression
2422 2002-01-10 Michael Meeks <michael@ximian.com>
2424 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2425 allow expansion of enumeration & kill warning.
2427 * test/test-simple.c (key_listener_cb): impl.
2428 (test_keylisteners): impl.
2430 * cspi/spi-listener.h: make listener signatures const
2431 on the provided (const) events.
2433 * test/keysynth-demo.c: upd. to const events.
2435 * test/simple-at.c: ditto.
2437 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2440 Rev the version to 0.5 (the previous tarball was named 0.4,
2441 even though the micro number was 3), so we need to rev upwards
2442 again for beta2/"desktop-alpha"
2445 Checked in a demo script, which requires editing before use!
2446 Proceed with caution.
2449 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2451 * cspi/spi_accessible.c:
2452 Add a couple of missing enum initializations, and fix some enum
2455 * cspi/spi_registry.c:
2456 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2458 * docs/reference/cspi/at-spi-cspi-sections.txt:
2459 Remove/fix a couple of broken document references.
2462 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2463 as Alt-Control to listen for commands, since on some systems
2464 Control-Alt may already be grabbed.
2466 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2469 Update version number to 0.4 for Beta2.
2471 * libspi/accessible.c, libspi/accessible.h:
2472 Expose spi_accessible_construct, to enable libgail-gnome
2473 construction from spi_accessible subtype.
2475 * utils/magnifier.c:
2476 Workaround for bug in some non-gnome-compliant window managers
2477 which made magnifier resize improperly.
2479 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2481 * libspi/accessible.c: (spi_accessible_new) :
2482 Move the test for SPI_IS_REMOTE_OBJECT to
2483 spi_accessible_new_return, fixing a bug and compile time warning.
2485 2002-01-08 Michael Meeks <michael@ximian.com>
2487 * registryd/registry.c (parse_event_type): remove strndup.
2489 * libspi/Makefile.am (libspi_la_SOURCES): remove
2490 sources already included in the headers section.
2492 * libspi/util.c: add.
2494 * libspi/spi-private.h: add.
2496 * registryd/registry.c: update to moved list iterators.
2498 2002-01-05 Michael Meeks <michael@ximian.com>
2500 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2502 * test/test-simple.c (main): ditto.
2504 2002-01-04 Michael Meeks <michael@ximian.com>
2506 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2507 redundant construct.
2509 * registryd/registry.c
2510 (get_listener_list): impl.
2511 (impl_accessibility_registry_register_global_event_listener):
2512 re-impl. to simplify using ~, remove dodgy const cast off.
2513 (parse_event_type): constify.
2514 (impl_accessibility_registry_deregister_global_event_listener_all):
2515 re-write, more efficiency and simplicity, kill re-enterancy
2517 (compare_listener_corbaref, compare_corba_objects),
2518 (compare_listener_quarks): define out.
2519 (impl_accessibility_registry_deregister_global_event_listener):
2520 re-write for effiency, and nail re-enterancy hazard.
2521 (impl_accessibility_registry_get_desktop_list): impl.
2522 (re_enterant_list_delete_link): impl.
2523 (re_enterant_list_foreach): impl.
2524 (remove_listener_cb): impl.
2525 (_registry_notify_listeners): kill.
2526 (notify_listeners_cb): impl.
2528 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2529 (SPI_getDesktopList): impl.
2531 * test/test-simple.c (test_desktop): test the methods.
2533 2002-01-03 Michael Meeks <michael@ximian.com>
2535 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2536 keystrings since we free them
2537 (SPI_freeAccessibleKeySet): in here.
2539 * libspi/accessible.c (spi_accessible_new): kill warning,
2540 wonder what is going on with the constructor here.
2542 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2544 * libspi/accessible.c (spi_accessible_new ()) :
2545 Added check to see if AtkObject is an SpiRemoteObject before
2546 creating an SpiAccessible.
2548 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2550 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2551 Enable keygrabs using the Control modifier, now that they are
2552 working properly (they were previously disabled).
2555 Change the command keygrab for this demo to "Control+Alt", so as
2556 to conflict with fewer other key commands on the system; this
2557 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2559 Removed a pointlessly-chatty keylistener for unshifted keys
2560 (shifted keys are still reported).
2562 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2564 * libspi/remoteobject.h:
2565 * libspi/remoteobject.c:
2566 Added definitions for special AtkObject subtype, required for
2567 support of remote components (specifically, used by BonoboControl
2568 accessibility implementation).
2570 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2572 * cspi/spi.h: synched relation types with ATK
2574 * cspi/spi_accessible.c: Added implementations of
2575 AcccessibleRelation_* methods
2577 * idl/Accessibility_Relation.idl: added getRelationTypeName
2578 method. Synched known relation types with ATK. Allowed for
2579 relation type extension with the RELATION_EXTENDED type.
2581 * libspi/relation.c: Provided implementations for
2582 AccessibleRelation methods.
2584 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2586 API tweaks for today's API 'freeze'.
2589 Added placeholder functions to allow future compatible expansion
2590 of the IDL interfaces.
2592 * idl/Accessibility_Registry.idl:
2593 Changed generateKeyEvent to generateKeyboardEvent. Changed
2594 signature of this method to accept an optional keystring in
2595 parameter (for complex text input synthesis) and changed use of
2596 simple 'boolean' parameter in registerKeystrokeListener to a
2597 struct, EventListenerMode.
2599 * cspi/spi_accessible.c:
2601 * cspi/spi_streamablecontent.c:
2602 Added references to AccessibleStreamableContent interface, and
2603 definition and implementation of AccessibleStreamableContent
2606 * cspi/spi_registry.c:
2608 Changed generateKeyEvent API to generateKeyboardEvent,
2609 taking a new (optional) keystring parameter to support complex
2614 Renamed directory (to better reflect its actual purpose, bridging
2615 from at-spi to ATK). The .so module is also now named
2618 * idl/Accessibility_Hypertext.idl:
2619 * libspi/accessible.c:
2620 * libspi/hypertext.h:
2621 * libspi/hypertext.c:
2622 Changed Accessibility_Hypertext to *not* derive from
2625 * cspi/spi_registry.c:
2626 Added list of legal event type names for 'window' events, which
2627 completes the registry event API.
2629 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2631 * at-bridge/bridge.c: Added registration for separate
2632 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2633 signals. If either of the first two parameters to the generic
2634 bridge signal handler are ints, they are passed on as event
2635 details. This allows an AT to determine what text was inserted.
2637 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2639 * registryd/deviceeventcontroller.c:
2640 Fixed regressions in generateKeyEvent caused by the removal of
2641 gdk_init from registryd; we now use pure X calls to connect to the
2642 display, which makes sense because deviceeventcontroller already
2643 uses a fair bit of X API (should eventually be migrated to a
2644 'portability layer').
2646 * registryd/desktop.c:
2647 Fixed minor regression in spi_desktop_init, changed the way the
2648 desktop name is being set to work with new spi_base API
2649 (gobject-based, rather than AtkObject-based).
2651 * registryd/Makefile.am:
2652 Minor revision of makefile to use XTST_LIBS variable rather than
2653 hard-wiring the Xtst LD_ADD element.
2655 * test/keysynth-demo.c:
2656 Tweaked an output message; added initialization of the
2657 'keystrings' member of the "switch listener" key_set.
2659 * libspi/relation.c:
2660 Squashed compile-time warning.
2662 * libspi/accessible.c:
2663 Cosmetic and formatting fixes, renamed a static method.
2665 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2667 * libspi/accessible.c
2669 * libspi/application.c
2672 * libspi/component.c
2673 * libspi/editabletext.c
2674 * libspi/hyperlink.c
2675 * libspi/hypertext.c
2677 * libspi/selection.c
2681 * registryd/desktop.c:
2682 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2684 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2686 * idl/Accessibility_Registry.idl:
2687 Added boolean member 'is_text' to DeviceEvent. This is for the
2688 use of key events, and helps prevent ambiguity between composed
2689 key strings and keysym names, since both may potentially be
2690 returned in the 'event_string' member.
2692 * at-bridge/bridge.c:
2693 * registryd/deviceeventcontroller.c:
2694 Use the 'is_text' member when notifying device event listeners.
2695 Knon issue: composed characters are not dealt with correctly by
2696 the global key listener implementation yet.
2698 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2700 * at-bridge/bridge.c:
2701 Namespaced local static methods to spi_atk_bridge_* where
2702 previously named bridge_*, and spi_* elsewhere.
2704 * at-bridge/bridge.c:
2705 * cspi/bonobo/cspi-bonobo-listener.c:
2706 Added demarshalling/conversion for string member of
2707 Accessibility_DeviceEvent to AccessibleKeystroke.
2709 * registryd/deviceeventcontroller.c:
2710 Added code to fill the Accessibility_DeviceEvent key string value
2711 member for global key events (i.e. from XGrabKey), to match
2712 behavior of Accessibility_DeviceEvent from the toolkit key events
2713 from the bridge. Fixed timestamp in global key event notifications.
2716 Added printout of key event's string value to
2717 report_ordinary_key_event, for demo/debugging purposes.
2719 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2721 * idl/Accessibility_Registry.idl:
2722 Removed Accessibility_KeyStroke structure in favor of generic
2723 Accessibility_DeviceEvent structure.
2724 Changed Accessibility_ControllerEventMask from a struct to an
2727 * at-bridge/bridge.c:
2728 Changed APIs to use DeviceEvent structure as above, and removed
2729 bogus casting between these event structures.
2731 * cspi/spi-listener.h:
2732 Added keystring member of AccessibleKeystroke structure, to enable
2733 matching on event "names" rather than only hardware codes and
2737 Added keystrings member of AccessibleKeySet struct, to allow
2738 matching on event names (as above).
2739 Added declarations for SPI_createAccessibleKeySet and
2740 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2741 event modmasks directly as unsigned ints rather than structs with
2742 refcounts, in the DeviceEventController methods.
2744 * cspi/spi_registry.c:
2745 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2747 * cspi/spi-roletypes.h:
2748 Added documentation of newly added SPI Roles.
2750 * cspi/bonobo/cspi-bonobo-listener.c:
2751 Changes in support of API changes above.
2753 * libspi/accessible.c:
2754 Converted APIs to use DeviceEvent structure (see IDL changes
2757 * registryd/deviceeventcontroller.c:
2758 Added DEControllerGrabMask structure to track keygrabs not only by
2759 modmask but by keyset as well; this allows us to do "global"
2760 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2761 grabbing on AnyKey and then filtering after-the-fact.
2762 Bugfixes for event filtration mean that we don't get false matches
2763 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2765 * registryd/deviceeventcontroller.c:
2766 Namespaced a number of static methods to use spi_ prefix. Major
2767 revision to internals of global (i.e. X) key grabs.
2769 * registryd/deviceeventcontroller.h:
2770 Removed keymask_list and added keygrabs_list to
2771 SpiDeviceEventController struct.
2774 Added use of SPI_createAccessibleKeySet API when creating a
2775 listener for only one key. Attach a listener to "shift spacebar
2776 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2777 X key event names to SPI key event names, so that listeners are
2778 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2780 * test/keysynth-demo.c:
2781 Changed (incorrect) use of X key event names (KeyPressed,
2782 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2785 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2787 * libspi/accessible.c:
2788 Convert all AtkRole enumerations to Accessibility_Role enums when
2789 getting a role from an AtkObject.
2791 * cspi/spi_accessible.c:
2792 Complete the conversion of Accessibility_Role enums at runtime to
2793 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2794 role enums correctly match those given in spi-roletypes.h.
2795 Re-synchronize the local names list for AccessibleRole_getName ().
2796 AccessibleRole_getName is now deprecated, since it duplicates the
2797 more reliable Accessible_getRoleName.
2798 Added some role types from Accessibility_Role.idl.
2800 * idl/Accessibility_Role.idl:
2801 Added some role types used by AtkRole.
2803 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2806 * cspi/spi_registry.c:
2808 * cspi/cspi-bonobo-listener.c:
2809 Namespaced all methods that did not begin with an "SPI_" or
2810 "Accessible" prefix to "SPI_".
2813 Homogenized internal function namespace to "cspi_" for statics.
2816 Patched tests to use the new CSPI API.
2818 * docs/reference/cspi/at-spi-cspi-sections.txt:
2819 Updated docs to reflect namespace changes, and added a number of
2820 methods to the documentation.
2822 * registryd/registry.c:
2823 Changed use of strings and string hashes in listener event
2824 matching and parse_event_string to use GQuark, which is guaranteed
2827 * registryd/registry.h:
2828 Squashed annoying warning.
2830 * idl/Accessibility_Role.idl:
2831 Extended range of available Accessibility_Role values.
2833 * cspi/spi_accessible.c:
2834 Re-ordered role names.
2836 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2838 * idl/Accessibility_Value.idl:
2839 Revert use of union back to CORBA_double, since the double type is
2840 more efficient and can contain the other types without loss of
2843 * idl/Accessibility_Accessible.idl:
2844 Added method Accessibility:Accessible:getRoleName, to complement
2845 Accessibility:Accessible:getRole.
2847 * cspi/spi_accessible.c:
2849 Added C binding for above, Accessible_getRoleName (), and changed
2850 signature of Accessible_getRole () to return an AccessibleRole.
2852 * cspi/spi-roletypes.h:
2853 Changed AccessibleRole_getName to return a char * instead of a
2854 const char *. This method is now at least temporarily deprecated
2855 in favor of asking Accessibles for their RoleNames directly.
2858 Revert to match Accessibility_Value.idl;
2862 Change signature of AccessibleValue methods to use double rather
2866 * cspi/spi_accessible.c:
2867 Changed Accessible_getRole to return an AccessibleRole enum rather
2868 than a UTF-8 string. The UTF-8 string can still be obtained via
2869 AccessibleRole_getName ().
2871 * test/test-simple.c:
2872 Add test_action. Small fixup to match API change to Accessible_getRole.
2875 Bugfix for get_action_from_servant ().
2877 2001-12-11 Michael Meeks <michael@ximian.com>
2879 * libspi/libspi.h: remove registry.h and
2880 desktop.h, deviceeventcontroller.h
2882 * libspi/Makefile.am: remove registry.[ch],
2883 desktop.[ch], deviceeventcontroller.[ch]
2885 * registryd/Makefile.am: add registry.[ch],
2886 desktop.[ch], rename registryd.c to registry-main.c.
2887 add deviceeventcontroller.[ch]
2889 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2892 Replace setenv() call with putenv ().
2894 * libspi/component.c:
2895 Bugfix in AccessibleComponent_getExtents (),
2898 2001-12-11 Michael Meeks <michael@ximian.com>
2900 * libspi/image.c (impl_getImageExtents): impl.
2901 (spi_image_class_init): upd.
2904 (AccessibleImage_getImageDescription): fix daft bug
2907 * test/test-simple.c (global_listener_cb): update
2908 to only quit if not --poke
2909 (main): catch --poke.
2910 (validate_accessible): upd. dumping, call test_image
2913 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2916 * idl/Accessibility.idl: update all IDL includes.
2918 * idl/*.idl - rename to namespace - this sucks, blame
2919 mjs' bad decision for oafd.
2921 * test/test-simple.c (create_test_window): add more tests.
2922 (create_tree): split this out.
2923 (validate_accessible): bugfix.
2925 2001-12-11 Michael Meeks <michael@ximian.com>
2927 * cspi/bonobo/cspi-bonobo-listener.c:
2928 (cspi_kestroke_listener_unref),
2929 (cspi_event_listener_unref): impl. undoing previous
2930 homenous environment - for Bill.
2932 * cspi/spi_table.c (long_seq_to_array): use
2935 * cspi/spi_main.c: split out all bonoboish bits into
2938 * cspi/spi-impl.h: upd. typedefs.
2940 * cspi/spi_registry.c: update to lowlevel API,
2941 return booleans to indicate success in some places.
2943 * cspi/spi_event.c: update to lowlevel API.
2945 * cspi/bonobo/Makefile.am: add.
2947 * cspi/bonobo/cspi-lowlevel.h: add
2949 * cspi/bonobo/cspi-bonobo.c: add
2951 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2953 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2954 (SUBDIRS): add bonobo, link in the libs.
2956 * cspi/spi-util.c: kill this file.
2958 * TODO: merge in my bits.
2960 2001-12-11 Michael Meeks <michael@ximian.com>
2962 * test/test-simple.c (test_value, test_table, main):
2963 remove unused variables causing warnings.
2965 * configure.in: cleanup checks - require gail.
2967 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2970 Changed Value interface to use SValue (scalars) rather than
2971 assuming all values are floats. This allows floats, doubles,
2972 longs, shorts, and unsigned values to be manipulated.
2973 Introduced Accessibility:SValue union.
2976 Updated to use new API above, and to work correctly with GValues
2977 of different types in AtkValue.
2980 Updated to use new API above. cspi's API is as yet unchanged.
2983 Updated the Value revision action item.
2985 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2987 * test/test-simple.c:
2988 Added test_table (GtkTreeView widget in test window to follow).
2989 Un-commented test_value, added GtkRange widget.
2990 Added GtkTreeView widget with GtkListStore. It passes regression
2991 test but leaks one SPI object for some reason.
2994 Fixed bug in impl__set_currentValue.
2996 2001-12-10 Michael Meeks <michael@ximian.com>
2998 * cspi/spi_text.c: audit for exception handling,
2999 tolerating NULL object references safely etc.
3001 * cspi/spi_value.c: ditto.
3003 * cspi/spi_table.c (AccessibleTable_getSummary),
3004 (AccessibleTable_getAccessibleAt),
3005 (AccessibleTable_getRowHeader),
3006 (AccessibleTable_getColumnHeader),
3007 (AccessibleTable_getCaption): fix bugs hidden by
3009 (long_seq_to_array): impl.
3010 (AccessibleTable_getSelectedRows),
3011 (AccessibleTable_getSelectedColumns): use it.
3013 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3016 Added a TODO list (rough and short for now).
3018 * cspi/spi_hyperlink.c:
3019 * cspi/spi_hypertext.c:
3020 Fixed macro name typos, and remove use of obsolete macro in
3021 AccessibleHyperlink_getLink.
3023 * cspi/spi_action.c:
3024 * cspi/spi_accessible.c:
3025 * cspi/spi_application.c:
3026 * cspi/spi_component.c:
3027 * cspi/spi_selection.c:
3030 Documentation fixes (removed return values from ref/unref methods).
3032 2001-12-10 Michael Meeks <michael@ximian.com>
3034 * cspi/spi_action.c: audit for exception handling,
3035 tolerating NULL object references safely etc.
3037 * cspi/spi_accessible.c: ditto.
3039 * cspi/spi_component.c: ditto.
3041 * cspi/spi_editabletext.c: ditto.
3043 * cspi/spi_hyperlink.c: ditto.
3045 * cspi/spi_hypertext.c: ditto.
3047 * cspi/spi_image.c: ditto.
3049 * cspi/spi_selection.c: ditto.
3051 2001-12-10 Michael Meeks <michael@ximian.com>
3053 * configure.in: use cspi/libspi.pc.in instead.
3055 * Makefile.am (pkgconfig_DATA): upd. to match.
3057 * test/simple-at.c (report_focus_event): kill hacks around
3058 bad return values, use putenv not setenv
3060 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3061 fire ChildGone - I killed it.
3063 * libspi/component.c
3064 (impl_accessibility_component_get_extents): remove
3067 * idl/Accessible.idl: kill ChildGone exception.
3069 * cspi/*.[ch]: kill int return from ref / unref.
3071 * cspi/spi_main.c (cspi_object_add_check): fold into
3072 (cspi_object_add): here.
3074 * cspi/spi_component.c (AccessibleComponent_getExtents):
3075 handle exceptions elegantly.
3077 * cspi/spi-private.h (cspi_check_ev_return),
3078 (cspi_return_if_fail): impl.
3080 * cspi/spi_accessible.c: use extensively.
3081 (AccessibleStateSet_equals): add direct compare check.
3083 * cspi/spi_selection.c: tolerate NULL objs, and check
3084 exceptions before return.
3086 * cspi/spi-util.c (cspi_warn_ev): rename to
3087 (cspi_check_ev): this & don't pass ev in; no point.
3089 2001-12-10 Michael Meeks <michael@ximian.com>
3091 * test/test-simple.c: use putenv not setenv
3092 (get_environment_vars): more chatty if you're not using
3095 * test/simple-at.c: do the setenv so more people see the
3098 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3100 * libspi/registry.c:
3101 Changed check of CORBA_environment on notification to be a warning
3102 instead of an error for the moment, since we can recover from this
3103 error when caused by a queued notification from a dead app.
3106 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3107 used by all current implementors of AtkValue), and coerce to
3108 CORBA_float. (Proper general case fix may require change to Value.idl).
3110 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3114 * cspi/spi_accessible.c:
3115 Documentation fixes: added user_data params to documentation for
3116 listeners and callbacks.
3118 * cspi/spi_accessible.c:
3119 Changed AccessibleStateSet_compare to return a
3120 StateSet rather than return the difference set into a third parameter.
3123 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3126 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3127 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3131 Remove subdirectory po from SUBDIRS for now.
3133 * at-bridge/bridge.c:
3134 Beefed up a couple of debug printouts.
3135 One-line fix for signal notification name formatting.
3137 * libspi/accessible.c:
3138 Added assertion to spi_accessible_new ().
3140 * libspi/application.c:
3141 Put #ifdef qualifiers around a printf.
3144 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3146 * registryd/Makefile.am:
3148 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3149 INTLTOOL_SERVER_RULE macro.
3152 Added an event listener for several ATK signals, for
3153 testing and debugging. Removed a few g_warnings.
3154 Added test output if focussed item implements the Value interface.
3156 * test/test-simple.c:
3157 Added test_value () function (known not to pass at the moment, so
3158 not actually called yet.
3160 2001-12-08 Michael Meeks <michael@ximian.com>
3162 * at-bridge/bridge.c (bridge_focus_tracker),
3163 (emit_eventv): fix the same ref. leak.
3164 (register_atk_event_listeners): don't leak.
3166 * cspi/spi-listener-impl.c (cspi_event): more
3167 protection from client code.
3169 * test/test-simple.c (test_desktop): unref the app.
3171 * test/Makefile.am: upd. TESTS.
3173 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3175 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3177 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3179 * cspi/spi_registry.c: constify in strings.
3180 (deregisterGlobalEventListenerAll): don't release the ref.
3182 * cspi/spi.h: start removing redundant / conflicting
3183 gtkdoc comments, making the API readable at a glance :-)
3185 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3187 * test/keysynth-demo.c (keysynth_exit, main): upd.
3189 * test/simple-at.c (main, simple_at_exit): upd.
3191 * test/test-simple.c (unutterable_horror): kill.
3192 (utterable_normal_derefs): kill.
3193 (main): upd & do a setenv before gtk_init, so that we
3194 can use memprof - and to save the pain of remembering
3195 this, if we're running under memprof - don't exit.
3197 * cspi/spi_main.c (SPI_exit): return exit status
3199 (SPI_event_quit): impl.
3200 (SPI_event_main): simplify.
3201 (cspi_is_gnome_app): kill.
3202 (SPI_init): kill isGNOMEapp arg.
3204 * at-bridge/bridge.c (register_atk_event_listeners):
3205 re-instate the unref.
3206 (bridge_exit_func): don't re-activate the registry,
3207 protect vs. theoretical re-entry, use the
3208 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3209 assert a clean shutdown - for regression tests.
3211 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3213 * configure.in: Comment out dummy i18n support for now,
3214 otherwise it fails to build.
3215 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3216 EXTRA_DIST. They are missing in tarball.
3218 2001-12-07 Michael Meeks <michael@ximian.com>
3220 * util/magnifier.c: kill bonobo activation reg. race.
3222 * libspi/component.c
3223 (impl_accessibility_component_get_extents): make it match
3226 * libspi/registry.c (_registry_notify_listeners):
3227 re-remove X headers & reconcile conflicts.
3228 (spi_listener_struct_free): bad conflict resolve.
3229 (impl_accessibility_registry_register_application):
3230 more bad merging fixed.
3231 (impl_accessibility_registry_deregister_application): ditto.
3232 (spi_registry_new): ditto.
3233 (spi_registry_init): don't have an applications field.
3235 [ merge fixups2 branch to here ]
3236 2001-12-07 Michael Meeks <michael@ximian.com>
3238 * test/simple-at.c (report_focus_event),
3239 (report_focussed_accessible): remove g_warning debug.
3241 2001-12-07 Michael Meeks <michael@ximian.com>
3243 * test/test-simple.c (validate_tree): comment out some checks.
3244 (test_desktop): app now not registered idly - horay.
3246 2001-12-07 Michael Meeks <michael@ximian.com>
3248 * cspi/spi_registry.c
3249 (registerAccessibleKeystrokeListener): clean, stop it leaking
3250 great swathes of memory, and device event controller references.
3251 ensure we always pass valid sequences.
3252 (deregisterAccessibleKeystrokeListener): ditto.
3253 (generateKeyEvent): upd.
3255 * at-bridge/bridge.c (bridge_key_listener): handle
3256 registry dead exception gracefully.
3257 (bridge_focus_tracker, emit_eventv): free ev.
3259 * test/simple-at.c (report_focus_event): fix polarity.
3261 * libspi/application.c (notify_listeners): kill the ev
3262 argument, and make sure we init the ev we use.
3263 (spi_application_object_event_listener): split out a chunk
3264 (get_atk_object_ref): here & fixup.
3265 (reverse_lookup_name_for_toolkit_event): make const.
3266 (spi_application_toolkit_event_listener): fixup, kill leaks
3269 * at-bridge/bridge.c (register_atk_event_listeners):
3270 don't unref the noop object - causes grief.
3272 * libspi/registry.c: remove the X headers.
3273 turn off the debug churn.
3275 * libspi/accessible.c (spi_accessible_new_return): only
3276 release the ref if we are supposed to [doh]
3278 * test/simple-at.c (report_button_press, report_focus_event):
3279 guard vs. unexpected exit.
3281 * at-bridge/bridge.c (gtk_module_init): prune printf.
3282 (bridge_exit_func): fix app unref.
3284 * libspi/Makefile.am: don't install registry or desktop.h
3286 * libspi/*.h: update includes.
3288 * libspi/application.h: don't include ourself, or
3289 other redundant headers.
3291 2001-12-06 Michael Meeks <michael@ximian.com>
3293 * libspi/accessible.c
3294 (get_accessible_from_servant): impl.
3295 Upd. all CORBA impl.s to use it killing cut and paste.
3297 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3299 (SPI_init): register atexit cleanup handler here.
3301 2001-12-06 Michael Meeks <michael@ximian.com>
3303 * at-bridge/bridge.c (gtk_module_init): g_error on
3304 activation exception
3306 2001-12-06 Michael Meeks <michael@ximian.com>
3308 * at-bridge/bridge.c (gtk_module_init): some sort of
3309 confusing merge clash - reverted.
3310 (bridge_idle_init): ditto.
3312 * test/test-simple.c (main, utterable_normal_derefs):
3313 merge from Bill - somehow not committed.
3315 2001-12-06 Michael Meeks <michael@ximian.com>
3317 * libspi/value.c (spi_value_class_init): upd.
3318 (spi_value_finalize): kill.
3320 * libspi/table.c (spi_table_finalize): kill.
3321 (spi_table_interface_new): upd.
3322 (spi_table_class_init): upd.
3323 (get_table_from_servant): impl.
3324 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3326 * libspi/selection.c (spi_selection_finalize): kill.
3327 (spi_selection_interface_new): upd.
3328 (spi_selection_class_init): upd.
3329 (get_selection_from_servant): impl.
3330 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3332 * libspi/relation.c (spi_relation_finalize): kill.
3333 (spi_relation_class_init, spi_relation_new): upd
3335 * libspi/image.c (spi_image_finalize): kill.
3336 (spi_image_class_init): upd.
3337 (spi_image_interface_new): upd.
3338 (get_image_from_servant): impl.
3339 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3341 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3342 (spi_hyperlink_finalize): kill.
3343 (spi_hyperlink_new): upd.
3344 (get_hyperlink_from_servant): impl.
3345 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3347 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3348 (spi_hypertext_finalize): kill.
3349 (spi_hypertext_class_init): upd.
3350 (get_hypertext_from_servant): impl.
3351 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3353 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3354 (spi_editable_text_interface_new): upd.
3355 (get_editable_text_from_servant): impl.
3356 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3358 * libspi/text.c (get_text_from_servant): impl.
3359 All impls - update to use it killing more cut and paste,
3360 also fix bad string returns on duff args ( a somewhat
3361 impossible case to handle - but hey ).
3362 (spi_text_construct): impl.
3363 (spi_text_interface_new): upd.
3364 (spi_text_object_finalize): kill.
3366 * libspi/component.c
3367 (accessibility_component_object_finalize): kill.
3368 (spi_component_class_init): upd.
3369 (get_component_from_servant): impl. helper to kill cut & paste.
3370 (impl_accessibility_component_contains):
3371 (impl_accessibility_component_get_accessible_at_point):
3372 (impl_accessibility_component_get_position):
3373 (impl_accessibility_component_get_extents):
3374 (impl_accessibility_component_get_mdi_z_order):
3375 (impl_accessibility_component_get_layer):
3376 (spi_component_interface_new): upd.
3378 * libspi/action.c (spi_action_finalize): kill.
3379 (spi_action_class_init): upd. inherit from SpiObject.
3380 (spi_action_interface_new): upd.
3381 (get_action_from_servant): impl. helper to reduce cut & paste.
3382 (impl_getKeyBinding, impl_getName, impl_doAction),
3383 (impl_getDescription): Use it everywhere.
3385 * cspi/spi_main.c (get_live_refs): a pointer hash.
3386 (spi_object_hash, spi_object_equal): comment out.
3387 There are issues with CORBA object hashing that need
3390 * libspi/application.c (spi_application_init),
3391 (spi_application_new): upd.
3393 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3394 (spi_accessible_class_init): upd.
3395 s/accessible/object/ in epv methods.
3397 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3399 * at-bridge/bridge.c:
3400 Reorder the bridge initialization into the bridge gtk_module_init,
3401 an immediate call to bridge_register_app, and an idle_add for
3402 register_atk_event_listeners (the only code that *must* wait until
3403 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3404 the activation, creates the application's Accessible object, and
3405 queues the bridge_idle_init function. Restored call to
3406 Accessibility_Registry_deregisterApplication().
3407 Prior to making this call we obtain a new reference to the
3408 registry, which is a temporary hack that helps us handle apps that
3409 shut down the bonobo mainloop before we get there.
3411 * libspi/registry.c:
3412 Fix string leakage in debug block, and don't segv if a an app
3413 dies before its event notifications have been propagated.
3416 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3417 as stopgap measure until we get proper exception handling when
3418 objects die during or before interrogation.
3422 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3423 Also changed default value of is_gnome_app to TRUE.
3426 * test/keysynth-demo.c:
3427 Changed use of SPI_init and SPI_event_main to reflect API change above.
3430 Made report_focus_event check the warning value from getName
3431 before reporting on focussed accessible; simplifies handling of
3432 notifications from dead objects.
3434 * test/test-simple.c: (Changes not in this patch since source is
3437 2001-12-05 Michael Meeks <michael@ximian.com>
3439 * registryd/registryd.c (main): protect against
3440 bonobo-activation startup race condition.
3442 * cspi/spi_main.c (cspi_object_add_check): cope
3443 with the exception elegantly.
3445 * idl/Accessible.idl: decl. ChildGone
3447 * libspi/desktop.c (spi_desktop_dispose): impl.
3448 (spi_desktop_class_init): upd.
3449 (spi_desktop_add_application),
3450 (spi_desktop_remove_application),
3451 (abnormal_application_termination): impl.
3452 (impl_desktop_get_child_at_index): re-impl.
3455 (impl_accessibility_registry_deregister_application),
3456 (impl_accessibility_registry_register_application):
3457 kill excessive debug clutter.
3459 * test/test-simple.c (test_misc): test some NULL
3460 tolerance. (main): upd.
3462 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3463 implements no interfaces - so let's not crash.
3465 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3467 * libspi/accessible.c (spi_accessible_new_return): impl.
3468 helper to calm the cut and paste, to cope with
3469 NULL AtkObjects effectively and efficiently, and to kill
3470 the referencing bugs.
3472 * libspi/table.c (impl_getAccessibleAt),
3473 (impl_getRowHeader, impl_getColumnHeader): upd.
3475 * libspi/hyperlink.c (impl_getObject): upd.
3477 * libspi/accessible.c
3478 (impl_accessibility_accessible_get_child_at_index): upd.
3480 * libspi/component.c
3481 (impl_accessibility_component_get_accessible_at_point): upd.
3483 * test/test-simple.c (test_editable_text, test_text): impl.
3486 * cspi/spi_editabletext.c
3487 (AccessibleEditableText_insertText): constify.
3489 * test/test-simple.c (focus_me): make more robust.
3491 * libspi/accessible.c: remove some printfs in methods that
3492 we test and work fine, so we can get a clean tree dump.
3494 * test/test-simple.c (validate_accessible),
3495 (validate_tree): make tree dumping pretty too.
3497 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3498 it builds without debug on.
3500 * test/test-simple.c (validate_accessible): fix the most
3503 * cspi/spi_main.c (spi_object_release): leave the nicely
3504 blanked memory around if in debug mode.
3506 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3508 [committed to fixups2]
3509 2001-12-05 Michael Meeks <michael@ximian.com>
3511 * libspi/editabletext.c
3512 (spi_editable_text_class_init): g_type_class_peek_parent,
3513 not interface peek - so we finalize cleanly.
3515 * libspi/accessible.c (spi_accessible_new): kill debug.
3517 * test/test-simple.c (validate_accessible): fix ref.
3518 leak, print strings before freeing them; sigh, comment a
3519 chunk out due to strangeness.
3520 (validate_tree): unref the child after use.
3522 * cspi/spi_component.c (AccessibleComponent_getLayer):
3523 add missing break statement, switch on zlayer not the
3524 uninitialized retval.
3526 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3527 before (possibly re-entering) remote unref.
3529 * test/simple-at.c (main): unref the desktop.
3531 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3534 * cspi/spi_main.c (cspi_accessible_is_a): here to
3535 isolate bonobo API usage more.
3537 * libspi/registry.c (impl_accessibility_registry_register_application):
3538 prune bogus comment.
3540 2001-12-04 Michael Meeks <michael@ximian.com>
3542 * test/test-simple.c (validate_tree): upd.
3543 IndexInParent check to make it more lucid.
3544 (validate_accessible): dump the tree.
3546 * libspi/accessible.c (de_register_public_ref),
3547 (get_public_refs): impl.
3548 (spi_accessible_new): make more efficient & intuitive.
3549 Now IndexInParent check works.
3551 2001-12-04 Michael Meeks <michael@ximian.com>
3553 * cspi/spi-util.h: remove.
3555 * cspi/spi.h: move SPI_freeString here
3557 * libspi/component.c (impl_accessibility_component_get_layer):
3559 (impl_accessibility_component_get_mdi_z_order): ditto,
3560 return -1 on error - is this ok ?
3562 * test/test-simple.c (test_application): impl.
3564 * cspi/spi_accessible.c (Accessible_getApplication),
3565 (Accessible_isApplication): impl.
3567 * libspi/registry.c (spi_listener_struct_free): release
3568 the CORBA reference too.
3570 * libspi/accessible.c
3571 (impl_accessibility_accessible_get_parent): fix ref leak.
3573 * libspi/registry.c (spi_registry_new): make the registry
3574 immortal - we don't want it to go away ever.
3576 * libspi/application.c
3577 (spi_accessible_application_finalize): impl. cleanup.
3579 * cspi/spi_registry.c
3580 (deregisterGlobalEventListenerAll),
3581 (deregisterGlobalEventListener),
3582 (deregisterAccessibleKeystrokeListener): fix ref leak.
3584 * cspi/spi_main.c (SPI_init): remove redundant ref.
3586 * test/test-simple.c (unutterable_horror): impl. to force a
3591 (impl_accessibility_registry_deregister_application): release
3592 the application when we de-register it.
3594 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3595 until we have the infastructure to get it right.
3597 2001-12-03 Michael Meeks <michael@ximian.com>
3599 * libspi/Makefile.am: only build eventlistener.[ch]
3601 * libspi/accessible.c
3602 (impl_accessibility_accessible_get_child_at_index): don't leak.
3604 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3605 before we hit the idle handler.
3607 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3608 debugging than exit.
3610 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3612 * libspi/listener.c (impl_notify_event): check source
3613 not NIL before unref.
3615 * libspi/registry.c (impl_registry_notify_event): ditto.
3617 * libspi/eventlistener.c
3618 (impl_accessible_event_notify_event): unref the source.
3620 * libspi/accessibleeventlistener.c
3621 (impl_accessible_event_notify_event): unref the source.
3623 * idl/Event.idl: remove 'hash_id' attribute - of no
3626 * libspi/application.c (notify_listeners): upd list
3628 (spi_application_object_event_listener),
3629 (spi_application_toolkit_event_listener): upd to do correct
3633 (_registry_notify_listeners): update.
3634 (parse_event_type): this method also leaks like a sieve.
3635 (impl_accessibility_registry_deregister_global_event_listener):
3636 fix ETYPE_WINDOW case.
3638 * libspi/application.c
3639 (impl_accessibility_application_register_object_event_listener):
3642 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3644 * libspi/hypertext.c (impl_getLink): ditto.
3646 * cspi/spi_main.c (cspi_object_add): remove
3647 bogus CORBA_Object_duplicate.
3649 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3652 * cspi/spi_accessible.c
3653 (Accessible_getRelationSet): fix leak / referencing issue.
3655 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3656 (cspi_object_add, cspi_object_unref): upd.
3657 (spi_object_release, get_live_refs): impl.
3658 (cspi_cleanup): simplify.
3660 * *.[ch]: s/boolean/SpiBoolean/
3662 * cspi/spi_accessible.c (role_names): actualy order so it
3663 corresponds with the enum !
3665 * test/test-simple.c (test_roles): check some role strings
3666 vs. enums to detect offset errors.
3668 2001-12-01 Michael Meeks <michael@ximian.com>
3670 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3672 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3674 (Accessible_getChildAtIndex): use cspi_add_check so we
3675 check the ev before using a (possibly) invalid value.
3677 * libspi/accessible.c
3678 (impl_accessibility_accessible_get_parent): don't segv
3681 * at-bridge/bridge.c (gtk_module_init): upd.
3682 (bridge_property_event_listener): don't leak strings
3684 (bridge_state_event_listener),
3685 (bridge_property_event_listener): don't use a static
3686 buffer in case of recursive event emission &
3687 re-enterancy - split out the swathe of cut and paste
3689 (emit_eventv): and fix 2 ref leaks here & comply to the
3691 (bridge_register_app): rename to
3692 (bridge_idle_init): this and kill arg parsing, split
3693 various inits & bonobo-activation registration to module
3694 init time, kill referencing error.
3695 (bridge_exit_func): fix the same leak.
3696 (bridge_focus_tracker): don't leak event structures
3698 (bridge_signal_listener): more leakage and cut & paste
3700 (bridge_key_listener): return the result - FIXME is
3701 this polarity correct ?
3702 (accessibility_keystroke_from_atk_key_event): rename
3703 (accessibility_init_keystroke_from_atk_key_event): and stop
3705 (gtk_module_init): return a value - not that it is checked by
3707 (bridge_key_listener): register my horror at casting between
3708 IDL defined structs.
3709 (bridge_get_registry): kill - not used.
3711 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3713 * test/test-simple.c (test_roles): impl.
3714 (test_desktop, validate_accessible, validate_tree): impl.
3716 * cspi/spi_accessible.c (role_names): fixup bogus
3717 MAX_ROLES setup, make constants const for efficient linkage
3718 (AccessibleRole_getName): conform to coding style, make
3721 2001-11-30 Michael Meeks <michael@ximian.com>
3723 * cspi/spi.h: add missing prototype.
3725 * libspi/registry.c (spi_listener_struct_new): fix sig.
3727 * test/Makefile.am: add test-simple
3729 * test/test-simple.c: add
3731 * test/test.sh: add.
3733 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3735 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3736 do it straight - since otherwise we often get an activation race.
3738 [ work before Bill duplicated a chunk of it ... ]
3739 2001-11-30 Michael Meeks <michael@ximian.com>
3741 * libspi/keystrokelistener.c
3742 (spi_keystroke_listener_class_init): fixup arg
3745 * libspi/eventlistener.c
3746 (spi_event_listener_class_init): ditto.
3748 * tests/test.sh: add.
3750 * cspi/spi-listener-impl.h: update macros.
3752 * cspi/spi-listener-impl.c
3753 (cspi_event_listener_remove_callback): add
3754 correct pre-conditions.
3756 * cspi/spi_main.c (SPI_exit): guard vs. double
3757 exits, exit the mainloop nicely.
3758 (SPI_event_main): make more sense.
3759 (SPI_init): move the atexit evilness here so we
3760 always do it (yuck).
3761 (SPI_event_main): upd.
3763 * test/simple-at.c: update for listener changes.
3765 * registryd/registryd.c (main): prune kruft.
3767 * libspi/libspi.h: upd.
3769 * libspi/eventlistener.[ch]: rename broken macros.
3771 * libspi/accessibleeventlistener.[ch]: remove.
3773 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3775 * test/test-simple.c: Add - automated tests.
3777 * cspi/spi-listener-impl.c (cspi_event),
3778 (cspi_key_event): add user_data to invoke.
3779 (cspi_keystroke_listener_finalize): impl.
3780 (cspi_keystroke_listener_class_init): upd.
3783 (createAccessibleEventListener),
3784 (AccessibleEventListener_addCallback),
3785 (createAccessibleKeystrokeListener),
3786 (AccessibleKeystrokeListener_addCallback): upd.
3788 * libspi/deviceeventcontroller.c
3789 (spi_device_event_controller_check_key_event): add public proto.
3792 (impl_accessibility_registry_deregister_global_event_listener):
3793 always init listeners.
3794 (_registry_notify_listeners): yes it is.
3796 * cspi/spi-listener-impl.c (cspi_key_event):
3798 (cspi_event_listener_finalize): impl.
3799 (cspi_event_listener_class_init): hook up.
3800 (event_handler_new, event_handler_free),
3801 (event_list_remove_by_callback): impl.
3802 (cspi_event_listener_remove_callback),
3803 (cspi_keystroke_listener_remove_callback),
3804 (cspi_keystroke_listener_add_callback),
3805 (cspi_event_listener_add_callback): upd.
3807 * libspi/keystrokelistener.c
3808 (keystroke_listener_object_finalize): kill
3809 (spi_keystroke_listener_class_init): upd.
3810 (spi_keystroke_listener_add_callback),
3811 (spi_keystroke_listener_remove_callback): kill,
3813 (impl_key_event): prune drasticaly.
3815 * libspi/eventlistener.c
3816 (spi_event_listener_add_callback),
3817 (spi_event_listener_remove_callback): kill, use
3819 (impl_accessible_event_notify_event): upd.
3820 (spi_event_listener_object_finalize): remove.
3822 * libspi/Makefile.am: use eventlistener.[ch]
3824 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3826 * libspi/registry.c (_registry_notify_listeners):
3827 Changed listener loop iteration to use preferred convention.
3828 Got rid of string memory leaks caused be calling g_strconcat
3829 inside function calls.
3831 * libspi/registry.c (parse_event_type):
3832 Stopped g_strconcat memory leaks, free the g_strsplit return,
3833 g_strdup the split pieces when used, etc.
3835 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3838 Change method 'compare' to return a 'difference set' rather than
3839 taking a StateSet as an out parameter (more Java-friendly).
3841 * idl/Accessible.idl:
3842 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3844 * idl/Component.idl:
3846 Changed methods 'getExtents' and 'getImageExtents' in these
3847 interfaces to return a BoundingBox structure.
3848 (getPosition and getSize are redundant and possibly should be
3849 removed, rather than creating a corresponding Point struct.)
3851 * cspi/spi_component.c:
3852 Modify implementation of getExtents to reflect the above IDL
3857 Add (missing) AccessibleImage_getExtents () API.
3859 * docs/reference/cspi/at-spi-cspi-sections.txt:
3860 Added AccessibleImage_getImageExtents () to docs.
3862 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3864 * idl/Component.idl:
3865 Added two methods, getLayer () and getMDIZOrder (), to reflect
3866 the new ATK methods atk_object_get_layer and
3867 atk_object_get_mdi_z_order. (Which arguably should be part of the
3868 AtkComponent API and AtkObject). Also added an enum,
3869 ComponentLayer, for the first method's return value.
3871 * libspi/component.c:
3872 Added implementations for these methods.
3874 * cspi/spi_component.c:
3876 Added cspi binding methods for above,
3877 AccessibleComponent_getLayer() and
3878 AccessibleComponent_getMDIZOrder().
3879 Added cspi enum 'AccessibleComponentLayer'.
3881 * docs/reference/cspi/at-spi-cspi-sections.txt:
3882 Added above methods to docs.
3886 Changed typedef for 'boolean' type (and all references to it) to
3887 SPIBoolean, to avoid keyword clashes with C++.
3890 Changed usages of 'boolean' to SPIBoolean.
3892 * test/keysynth-demo.c:
3893 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3894 app), except where SPIBoolean is required by the callbacks API.
3896 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3898 * cspi/spi_registry.c:
3899 Removed obsolete X event loop for passive keygrabs (which now
3902 * registryd/registryd.c:
3903 Removed unnecessary call to gdk_init() [cruft]. This also allows
3904 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3907 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3909 * docs/reference/cspi:
3910 Included docs for SPI_freeString in generated documentation.
3913 Renamed spi_freeString to SPI_freeString, for consistency. Added
3914 documentation for this function.
3917 Renamed spi_freeString to SPI_freeString, for consistency.
3918 Removed obsolete method declaration string_from_corba_string.
3920 * test/keysynth-demo.c:
3921 Small tweak to comments.
3924 Stopped leaking the strings returned from CSPI.
3926 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3928 Merged Michael's branch (see his ChangeLog entries below).
3930 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3931 bridge is alive, release on exit.
3933 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3934 Fix type check macro.
3937 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3940 Added is_gnome_app static, and method cspi_is_gnome_app(),
3941 so we can call the appropriate shutdown routine at exit in SPI_exit.
3943 * cspi/spi_main.c (cspi_object_ref):
3944 Duplicate the corba object passed in, since we're keeping it around.
3946 * cspi/SPI_exit.c, cspi_cleanup:
3947 Moved the releasing of the live refs to its own function, so we
3948 can put it in g_atexit (). Call the appropriate shutdown API
3949 depending on whethe calling client is a gnome app or not
3950 (bonobo_main_quit or CORBA_ORB_shutdown).
3952 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3953 Unref the listener when this method is called, after
3954 deregistration. Updated the API docs to note this behavior.
3956 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3957 Bugfixes: Ref the bonobo object when returning a parent or child
3958 reference, or an AccessibleRelation. Generally made sure
3959 BonoboObject refcount is incremented whenever we return an
3962 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3963 Fixed typo/bug in signal declaration.
3965 * libspi/accessibleeventlistener.h:
3968 * libspi/application.c (spi_application_new):
3969 Fixed leak in initialization.
3972 Remembered to increment bonobo-object refcount when returning
3973 children (applications) from desktop object.
3974 Added (empty) finalize method.
3976 * libspi/deviceeventcontroller.c:
3977 Hold a ref to listeners inside DEControllerKeyListeners.
3978 Added dec_key_listener_free() method. Use prepend instead of
3979 append in key_listener list. Fixed some refcount madness and
3980 leaks in the listener registration/deregistration - deregistration
3981 now calls dec_key_listener_free() on listeners, and on the
3982 temporarily constructed dec_key_listener() used to perform the search/match.
3984 * libspi/hypertext.c (spi_hypertest_finalize):
3985 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3986 class. Also fixed spi_hypertext_interface_new() and
3987 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3989 * libspi/hypertext.h:
3990 Removed pointless and duplicate AtkObject pointer from
3993 * libspi/keystrokelistener.c:
3994 Fixed incorrect type of keystroke_listener_parent_class,
3995 renamed keystroke_listener_object_finalize to
3996 spi_keystroke_listener_object_finalize.
3997 Fixed typo in signal declaration
3998 (spi_keystroke_listener_class_init).
4000 * libspi/registry.c:
4001 Added funcsions spi_listener_struct_new() and
4002 spi_listener_struct_free() to help with memory management issues.
4003 We also now use these methods instead of gnew + poking stuff into
4004 the struct, and to decrement listener counts/free the listeners
4005 when deregistering them.
4006 Fix more refcount bugs in getDesktop() and
4007 getDeviceEventController().
4010 De-ref the desktop after enumerating the applications. Explicitly
4011 decrement the refcounts on the created listeners on exit (using
4012 _unref for keystroke listeners, and via the
4013 deregisterGlobalEventListenerAll command for other event
4016 2001-11-27 Michael Meeks <michael@ximian.com>
4018 * cspi/spi-listener.h: fixup enum.
4020 2001-11-27 Michael Meeks <michael@ximian.com>
4022 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4023 (cspi_keystroke_listener_new): Use the cspi variants.
4025 2001-11-26 Michael Meeks <michael@ximian.com>
4027 * test/keysynth-demo.c: fix 2 compile warnings, missing
4030 * test/simple-at.c (report_focussed_accessible),
4031 (report_focus_event, report_button_press),
4032 (check_property_change, is_command_key),
4033 (report_ordinary_key_event, report_command_key_event): upd.
4035 * util/mag_client.h: include pre-requisites.
4037 * libspi/accessibleeventlistener.c
4038 (spi_event_listener_object_finalize): free any lingering
4041 * libspi/keystrokelistener.c
4042 (keystroke_listener_object_finalize): ditto.
4044 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4045 callbacks, with cspi types.
4047 * cspi/spi_event.c (createAccessibleEventListener): chain to
4048 (AccessibleEventListener_addCallback): here.
4049 (createAccessibleKeystrokeListener): chain to
4050 (AccessibleKeystrokeListener_addCallback): here.
4052 * libspi/keystrokelistener.c
4053 (spi_keystroke_listener_class_init): add signal.
4054 (impl_key_event): emit the event.
4055 (boolean_handled_accumulator): impl.
4056 (marshal_BOOLEAN__POINTER): add, gack.
4058 * libspi/accessibleeventlistener.c
4059 (spi_event_listener_class_init): add signal.
4060 (impl_accessible_event_notify_event): emit the signal &
4061 make the loop efficient.
4062 (spi_event_listener_add_callback): prepend the callback.
4064 * libspi/accessibleeventlistener.h: add an 'event' signal,
4065 decl type on callback.
4067 * libspi/keystrokelistener.h: ditto.
4069 * cspi/spi-listener.h: make methods typesafe and
4070 make them use the new event typedefs.
4072 * test/simple-at.c (report_focussed_accessible):
4073 include mag_client.h
4074 Use *(void *)text_interface not the other thing.
4076 * configure.in: add gtk to registryd bits - since we use
4079 * util/magnifier.c: include libbonobo.h
4081 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4083 * test/keysynth-demo.c:
4084 Turned this into a simple scanning keyboard, to demonstrate the
4085 use of g_timeout_add () as a means of creating timers for
4086 scanning, and the use of GtkStyle for visually indicating when
4087 virtual keyboard elements are selected.
4089 keysynth-demo now listens to any keyboard keys with zero-valued
4090 keycodes (i.e. 'unused' keys) and interprets them as
4093 Reworked the shiftlatch code so that shift-down state isn't held
4094 for long periods (it's only synthesized immediately prior to
4095 the keysynth event it's modifying). Note that shiftlatch in this
4096 demo is a convenience, not intended to take the place of AccessX
4097 which is the better choice for getting 'sticky' modifier keys.
4099 * libspi/deviceeventcontroller.c:
4100 * at-bridge/bridge.c:
4101 * cspi/spi_registry.c:
4102 Removed some debug print stuff, and put other verbosity in #ifdef
4107 Implemented some more of the magnifier IDL for the simple
4108 magnifier: namely, getZoomRegionParams.
4109 Added mag_x and mag_y members to MagnifierData struct, aid of this
4111 Added GtkWindow::realize signal handler to magnifier, to keep it
4112 from receiving keyboard focus from the WM.
4114 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4116 * cspi/spi-private.h: my guess at what michael forgot
4117 before he ran off to NZ :-)
4119 2001-11-23 Michael Meeks <michael@ximian.com>
4121 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4122 comment out non existant method invoke so we link.
4124 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4125 use bonobo_exception_get_text for more friendly warnings.
4127 * cspi/spi.c (Obj_Add): move into spi_main & rename
4128 spi_object_add; kill spi.c
4130 * cspi/spi_registry.c
4131 (deregisterGlobalEventListener),
4132 (deregisterGlobalEventListenerAll),
4133 (registerGlobalEventListener): fix exception leaks.
4135 * cspi/spi_main.c (spi_exception): impl. helper, so we
4136 don't leak exceptions.
4138 * cspi/spi_selection.c
4139 (AccessibleSelection_deselectSelectedChild): return the
4142 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4143 (spi_registry): ditto.
4144 (SPI_init): guard against double inits.
4146 * cspi/*.c: use spi_ev (), and spi_registry () where
4147 appropriate - a temporary hack until we have something
4148 better. Use spi_object_add
4150 2001-11-22 Michael Meeks <michael@ximian.com>
4152 * cspi/Makefile.am: re organise, install the headers.
4154 * cspi/*.h: add G_BEGIN/END_DECLS
4156 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4159 Added non-preemptive keylistener for key events with no modifiers
4160 and shift-only modifier.
4162 * libspi/keystrokelistener.c:
4163 Removed some verbose diagnostics printout.
4165 * cspi/spi_registry.c:
4166 Fixed a bug that caused all key listeners to be registered as
4169 * libspi/deviceeventcontroller.c:
4170 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4171 for non-preemptive key masks.
4174 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4176 * docs/reference/idl/at-spi-idl-docs.sgml:
4177 * docs/reference/idl/at-spi-idl-sections.txt:
4178 * docs/reference/idl/at-spi-idl-overrides.txt:
4179 Added missing files.
4181 * docs/reference/Makefile.am:
4182 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4183 to scan the IDL files :-(
4188 Added .cvsignore files.
4190 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4192 * libspi/deviceeventcontroller.c:
4193 * libspi/keystrokelistener.c:
4195 * cspi/spi_registry.c:
4196 Added filters for KeySets, KeyEventSeq, and event types to key
4197 event dispatching, so listeners should only receive those events
4198 that they requested :-)
4200 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4205 * docs/reference:Makefile.am:
4206 * docs/reference/cspi:
4207 * docs/reference/cspi:Makefile.am:
4208 * docs/reference/cspi:tmpl:
4209 * docs/reference/cspi:tmpl:*.sgml:
4210 * docs/reference/idl:
4211 * docs/reference/idl:Makefile.am:
4212 * docs/reference/idl:at-spi-idl-sections.txt:
4213 * docs/reference/idl:at-spi-idl-docs.sgml:
4214 * docs/reference/idl:tmpl:
4215 * docs/reference/idl:tmpl:*.sgml:
4217 Restructured docs directory to allow separate 'reference' docs
4218 section, and forked idl and cspi docs. Added the sgml template
4219 files to CVS. Added the first sections/structural sgml for the
4222 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4224 * configure.in, libspi/Makefile.am: find libXtst.
4226 2001-11-21 Michael Meeks <michael@ximian.com>
4228 * test/accessx-gui.c: s/spi_value/value/ - doh.
4230 * libspi/base.[ch]: add.
4232 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4234 * idl/Accessible.idl:
4235 * idl/Application.idl:
4238 Started gtk-doc cleanup on IDL.
4240 * libspi/deviceeventcontroller.c:
4241 Added and connected non-preemptive key notification from the
4242 toolkits (in addition to the pre-emptive support from XServer
4243 which we had before, but which causes 'focus flashing'). Filters
4244 are presently limited to key modifiers and global/non-global,
4245 KeySets are presently ignored, as are KeyEvent masks.
4247 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4248 structs into the persistant structure rather than just storing
4249 pointers to things that might not persist across servant
4252 The XGrabKey call now does async keygrabs, because synchronous
4253 ones were deadlocking with GDK_event code in a very nasty way.
4255 Added boolean to internal method notify_keylisteners, to indicate
4256 whether the event came from the 'toolkit source' or the 'global
4257 (XServer) source' - this is used in the notification process to
4258 determine which listeners to send the event to.
4260 deviceeventcontroller.c is now warning-free.
4262 * libspi/registry.c:
4263 Fixed regression in application de-registration.
4264 Also fixed some really brain-dead weirdness having to do with
4265 event dispatching - event structs are now duplicated before being
4266 re-marshalled in the dispatch to listeners. This also fixes a
4267 Solaris build problem.
4270 2001-11-20 Michael Meeks <michael@ximian.com>
4273 (impl_accessibility_registry_deregister_global_event_listener):
4276 * libspi/deviceeventcontroller.c
4277 (spi_device_event_controller_check_key_event): return
4278 FALSE on no virtual method.
4280 * libspi/*..h: make includes work on a correctly pathed install.
4282 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4284 * libspi/application.h: kill unused ( and whacked out )
4285 gboolean *spi_application_set_id (AtkObject *app, long id);
4287 2001-11-20 Michael Meeks <michael@ximian.com>
4289 * libspi/*.[ch]: further convert to bonobo's type func
4290 macros, remove redundnant casts etc.
4292 * libspi/text.c s/accessibility_text/spi_text/g,
4293 re-order to de-cruft.
4295 * libspi/hypertext.c: re-order to kill a huge slew
4296 of redundant forward decls.
4298 * libspi/relation.c: ditto.
4300 * libspi/image.c: ditto.
4302 * */.cvsignore: update
4304 2001-11-20 Michael Meeks <michael@ximian.com>
4306 * libspi/deviceeventcontroller.c
4307 (_controller_register_with_devices): use g_getenv,
4308 kill stdlib.h include.
4310 * libspi/keystrokelistener.c
4311 (spi_keystroke_listener_get_type): kill
4312 (spi_keystroke_listener_class_init),
4313 (spi_keystroke_listener_init): rename to this.
4315 * libspi/text.c (impl_getAttributes): fix warning / bug.
4317 * libspi/*.[ch]: more headers, includes and over commenting.
4319 2001-11-20 Michael Meeks <michael@ximian.com>
4321 * libspi/*.[ch]: fixup headers, includes and over commenting.
4323 * libspi/image.c (impl__get_imageDescription): const
4324 correctness warning fix. remove redundant casting.
4326 * libspi/table.c (impl_getRowDescription): ditto.
4327 (impl_getColumnDescription): ditto.
4329 * libspi/libspi.h: add.
4331 2001-11-19 Michael Meeks <michael@ximian.com>
4333 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4335 * libspi/component.c (accessibility_component_get_type):
4336 rename to (spi_component_get_type): and macroify.
4337 (accessibility_component_init): rename to
4338 (spi_component_init): this
4339 (accessibility_component_class_init): rename to
4340 (spi_component_class_init): this
4342 * libspi/action.c (spi_action_get_type): kill, use the macro.
4344 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4347 * libspi/application.c (spi_application_object_event_listener),
4348 (impl_accessibility_application_register_object_event_listener):
4349 warning fixes / const understanding updates.
4351 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4354 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4356 * libspi/spi_accessible.c: Added docs and C bindings for
4357 AccessibleStateSet. (No implementations yet). Documentation
4358 coverage for C bindings now 100%. Made docs for event listeners
4363 boolean notifyListenersSync (in DeviceEventListener listener,
4364 in DeviceEvent event);
4366 oneway void notifyListenersAsync (in DeviceEventListener listener,
4367 in DeviceEvent event);
4369 Added DeviceEventListener and DeviceEvent structs (may deprecate
4370 KeyStroke and KeystrokeListener in favor of this generic
4371 event/listener framework for devices).
4373 * libspi/deviceeventcontroller.c:
4375 Changed some key listener code to take masks, etc., and paved the
4376 way for integration of toolkit/non-preemptive key events. Changed
4377 signatures of some internal methods.
4379 * at-bridge/bridge.c:
4380 Fixed regression connecting to interface signals, apparently
4381 caused by GTK+ changes.
4383 Added an internal bridge_state_listener to deal with
4384 property-change:accessible-state signals.
4386 Changed the key_listeners GList to store structs (including masks,
4387 etc.) instead of just CORBA_Objects (required for full
4388 implementation of key listener API).
4390 Connected the bridge to all currently supported Atk signals.
4391 Events now supported:
4392 object:property-change
4393 object:property-change:accessible-name
4394 object:property-change:accessible-state
4395 object:property-change:accessible-description
4396 object:property-change:accessible-parent
4397 object:property-change:accessible-value
4398 object:property-change:accessible-role
4399 object:property-change:accessible-table-caption
4400 object:property-change:accessible-table-column-description
4401 object:property-change:accessible-table-column-header
4402 object:property-change:accessible-table-row-description
4403 object:property-change:accessible-table-row-header
4404 object:property-change:accessible-table-summary
4405 object:children-changed
4406 object:visible-data-changed
4407 object:selection-changed
4408 object:text-selection-changed
4410 object:text-caret-moved
4412 object:row-reordered
4414 object:column-inserted
4415 object:column-reordered
4416 object:column-deleted
4417 object:model-changed
4419 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4421 * libspi/hyperlink.c,h:
4422 Fixed some broken stuff in hyperlink.
4424 * libspi/relation.h:
4425 * libspi/relation.c:
4426 * cspi/spi_accessible.c:
4427 Initial implementations of AccessibleRelation methods, and docs.
4429 * libspi/accessible.c:
4430 Fixed a bug that caused SEGV if an accessible
4431 object's description is NULL, and a client
4432 requests it. An empty string is now returned.
4434 * cspi/spi_editabletext.c:
4435 * cspi/spi_hypertext.c:
4437 * cspi/spi_hyperlink.c:
4441 Doc coverage now 95%.
4443 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4445 One last namespacing revision:
4446 * libspi/accessibleeventlistener.[ch]:
4447 Renamed SpiAccessibleEventListener to SpiEventListener,
4448 (no need for two namespaces ;-)
4450 And lots of documentation fixes:
4452 * docs/at-spi-docs.sgml:
4453 Fixed 'underscore vs. hyphen' bug that was preventing
4454 the gtk-doc API docs from being automatically generated.
4457 * cspi/spi-listener.h
4459 * cspi/spi_accessible.c
4461 * cspi/spi_application.c
4462 * cspi/spi_component.c
4463 * cspi/spi_editabletext.c
4465 * cspi/spi_hypertext.c
4467 * cspi/spi_registry.c
4468 * cspi/spi_selection.c
4472 * docs/at-spi-docs.sgml
4473 * docs/at-spi-sections.txt
4475 Added and fixed up gtk-doc documentation in cspi.
4477 Interfaces now (fully) documented (subject to revision and enhancement):
4479 Event Listener Support
4481 AccessibleApplication
4485 AccessibleEditableText
4492 AccessibleRelationSet
4497 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4499 * at-bridge/bridge.c:
4500 Initial work for toolkit-level key snooper connection by bridge.
4505 New typedefs and fixes to support new namespacing, and cleaner
4506 separation of cspi bindings from libspi bonobo implementation.
4507 Removed inconsistent and extraneous Spi* namespace prefix that
4508 had crept into cspi headers.
4509 Lots of comment fixes that sed had missed.
4511 * cspi/spi-roletypes.h:
4512 * cspi/spi-statetypes.h:
4513 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4514 to AccessibleRoleType.
4516 * libspi/accessibleeventlistener.h:
4517 Fixed minor namespacing weirdness.
4519 * libspi/deviceeventcontroller.c:
4520 Reordered some internal API for device listeners.
4521 Changed the key registry final boolean to 'is_system_global'
4522 rather than 'is_synchronous', which is more descriptive of its
4524 Added spi_device_event_controller_new().
4525 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4527 * libspi/keystrokelistener.[ch]:
4528 Namespaced KeystrokeListener to SpiKeystrokeListener.
4529 Changed uses of keymasks to use SPI_ prefix, and did other
4532 * libspi/keymasks.h:
4533 Namespaced keymask constants with SPI_ prefix.
4535 * libspi/registry.c:
4536 Some warning fixes, and knock-on fixes from namespace changes.
4539 Added rules for accessx-gui test program.
4541 * test/accessx-gui.c:
4542 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4543 utility. It doesn't actually use at-spi, but it's still cool and
4546 * test/keysynth-demo.c:
4550 Fixes so that these test clients work properly with the namespaced
4551 libraries. (Incompletely tested for technical reasons, fixes may follow)
4554 2001-11-13 Michael Meeks <michael@ximian.com>
4556 * libspi/application.c
4557 (impl_accessibility_application_get_version),
4558 (impl_accessibility_application_get_toolkit_name):
4560 (impl_accessibility_application_set_id),
4561 (impl_accessibility_application_get_id): remove
4562 redundant casting code.
4564 * libspi/action.c (impl_getDescription): fix warnings.
4566 * libspi/accessible.c
4567 (impl_accessibility_accessible_get_parent),
4568 (impl_accessibility_accessible_get_child_at_index),
4569 (impl_accessibility_accessible_get_state),
4570 (impl_accessibility_accessible_get_relation_set):
4571 warning fixes & include action.h
4573 2001-11-13 Michael Meeks <michael@ximian.com>
4575 * *.[ch] fix bits I screwed up:
4577 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4578 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4580 2001-11-13 Michael Meeks <michael@ximian.com>
4582 * *.[ch] Namespace libspi into spi_ and Spi.
4584 2001-13-11 Michael Meeks <michael@ximian.com>
4586 * Makefile.am: dist & install at-spi-1.0.pc
4588 * libspi/Makefile.am: install into at-spi-1.0
4590 * idl/Makefile.am (idldir): install into at-spi-1.0
4592 * at-spi-1.0.pc.in: add.
4594 * configure.in: build it.
4596 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4598 * test/keysynth-demo.c:
4599 Use a 'realize' signal-handler to set the WM properties for
4600 the virtual keyboard, rather than making it a "POPUP" type
4601 override-redirect window (thanks to anders carlsson for that
4604 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4607 * test/keysynth-demo.c:
4608 Added new test of key synthesis, which creates a simple
4609 (mouse-operated) onscreen keyboard. It inserts key events into
4610 the currently-focused window, thus it does not grab keyboard focus
4613 * cspi/spi_registry.c:
4614 Added C binding for AT-SPI generateKeyEvent.
4616 * libspi/deviceeventcontroller.c:
4617 Added call to XFilterEvent so that key listener works with XIM (we
4618 hope). Added event_synth_type to generateKeyEvent, so that we can
4619 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4620 synthesize a press/release pair for KeySyms.
4622 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4624 * libspi/Makefile.am:
4625 * registryd/Makefile.am:
4626 (temporary) hack to include libXtst in libspi and registryd.
4627 (Needed for keystroke synthesis, see below).
4630 Improved API for registerKeystrokeListener, in accordance with
4631 discussions with Gnopernicus team and X server research.
4633 * libspi/registry.c:
4634 * libspi/deviceeventcontroller.c:
4635 * libspi/accessible.c:
4636 * libspi/keystrokelistener.c:
4637 Changes and fixes to support keylisteners for potentially
4638 consumed key events (that is, 'passive grabs').
4639 Added implementation for generateKeyEvent() [untested].
4642 Changes to registerKeystrokeListener() API, as above.
4643 Added deregisterGlobalEventListenerAll(), and
4644 deregisterKeystrokeListener(), which are needed for clean exit of
4646 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4647 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4649 * cspi/spi_registry.c:
4650 Added implementations of function prototypes mentioned above.
4652 * registryd/registryd.c:
4653 Added the key listener event source as a g_timeout(), to allow
4654 receipt of key events that are not caught by GDK (since GDK
4655 doesn't support passive keygrabs, this was necessary).
4658 Changed to attach a keylistener to 'Alt' keys, and
4659 respond to the following keycommands: Alt-M (toggle magnifier);
4660 Alt-F (toggle speech); Alt-Q (quit).
4661 Added an exit routine to deregister the listeners, and a key
4662 listener that prints some key info to the console when a key
4663 matches the listener mask (and is thus received by the listener).
4665 * util/idl/Magnifier.idl:
4666 Changes to magnifier API to support multiple zoom regions,
4667 non-uniform scaling in x and y, markDirty, and a host of other
4668 features that would be useful to magnification.
4671 * util/mag_client.c:
4672 * util/mag_client.h:
4673 * util/mag_control.c:
4675 Source code changes to support the above IDL changes.
4678 As above, and also changes to use a (slower) generic conversion
4679 path for colormap conversions, since the fast RGB conversions have been
4680 reported to fail for 16-bit displays.
4682 2001-10-26 Michael Meeks <michael@ximian.com>
4684 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4686 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4688 * at-bridge/Makefile.am: fix LDFLAGS.
4690 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4692 * at-bridge/bridge.c:
4693 Re-worked listeners for toolkit events, now we have signal
4694 and property listeners. Added a private method
4695 register_atk_event_listeners(), which registers with the
4696 various atk and gtk signals we need to monitor in order to emit
4698 Added emission hook for AtkObject:property-change events, to
4699 support the 'property listeners'.
4700 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4703 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4704 which emit warnings and exit, respectively, if CORBA errors occur
4705 during remote calls, and we now use these methods to check most of
4706 our CORBA calls in the C bindings.
4708 * cspi/spi_accessible.c:
4709 Changed AccessibleSelection_refSelectedChild() to
4710 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4711 now increment refcounts.
4713 * cspi/spi_component.c:
4714 Fixed some long pointer casts (dangerous!) to pass pointers to
4715 CORBA_longs of the proper type to the CORBA stubs, and copy the
4716 data into the longs that were passed into the C bindings code.
4718 * at-bridge/bridge.c:
4720 * libspi/accessible.c:
4721 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4722 hyperlinks, AtkHyperlink is an object type.
4724 * libspi/application.c:
4725 Added various conversions to and from "generic" event types and
4726 atk-specific types; this is really part of the 'bridge'
4727 implementation but is valid for all AtkObject-based accessibility
4730 * libspi/editabletext.c:
4731 Fixed nasty bug wherein editable text's finalize method was
4732 unref'ing tha AtkObject reference that the text parent class was
4733 about to unref _again_. There was also a nasty inheritance bug
4734 that meant that the AccessibleEditableText class was corrupt.
4736 * libspi/selection.c:
4737 Provided implementations for some selection API that was broken.
4739 * idl/Application.idl:
4740 Added registerObjectEventListener () method.
4743 Fixed a number of return values that were Bonobo_Unknowns from
4744 bonobo_object_corba_objref(), which I
4745 forgot to dup before returning. Changed instances of
4746 bonobo_object_corba_objref (bonobo_object(o)) to
4747 BONOBO_OBJREF(o), for concision and clarity.
4749 2001-10-13 Louise Miller <louise.miller@sun.com>
4751 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4752 idl/Event.idl, idl/Registry.idl
4753 Changed these files to include Bonobo_Unknown.idl instead
4756 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4758 * libspi/component.c libspi/component.h:
4759 Fixed typo. Added assertions for object checks in
4760 AccessibleComponent code.
4762 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4764 * idl/Accessible.idl:
4765 Added 'isEqual (Accessible *object)'
4766 method for Accessible. (Not Yet Implemented).
4769 Changed signature of registerKeystrokeListener() to
4770 take a KeySet and KeyEventSeq so that specific keys and event
4771 types could be requested for monitoring, and added a flag
4772 is_synchronous so that either synchronous or asynchronous
4773 notification could be requested. (However this is not all
4774 implemented yet). This also meant adding two new typedefs,
4775 KeyEventSeq and KeySet.
4778 Added two new relations, RELATION_TOOLTIP_FOR and
4779 RELATION_LEAFNODE_OF.
4782 Added new state, STATE_HAS_TOOLTIP.
4784 * libspi/text.c, editabletext.c:
4785 Added new assertions to all casts of bonobo-objects from
4786 CORBA servants, to prevent Text API calls on non-text objects.
4787 Changed suspect casts of int-pointer types, so that we
4788 always send a valid CORBA_long pointer to the CORBA APIs that use
4789 in/out long parameters. We then have to copy from the CORBA_long
4790 into the regular long or int for return to the C bindings, or
4791 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4794 * libspi/deviceeventcontroller.c:
4795 Cleaned these sources up.
4797 Changed return type for getCharacterAtOffset to
4798 CORBA_unsigned_long, to allow for 32-bit characters.
4801 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4805 Fixed 'make dist' so that distro compiles...
4806 * libspi/keymasks.h:
4808 * cspi/spi-listener.c:
4809 KeystrokeListenerCB now returns a boolean.
4811 Added KeyEventType struct, and KeyStroke.
4812 Also added createKeystrokeListener(),
4813 KeystrokeListener_addCallback(),
4814 KeystrokeListener_removeCallback(), and added a keymask to
4815 registerKeystrokeListener().
4816 * cspi/spi_accessible.c:
4817 Changed numerous return types for interfaces from
4818 AccessibleComponent to Accessible<InterfaceName>; this was
4819 probably a cut-and-paste error.
4821 Implementations of new KeystrokeListener api (from spi.h,
4824 Changes to key modifier mapping.
4825 Created ControllerEventMask struct.
4826 Made DeviceEventController derive from Bonobo::Unknown.
4828 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4829 * libspi/deviceeventcontroller.c:
4830 Added a number of new internal (private) methods.
4831 * libspi/editabletext.c:
4832 * libspi/editabletext.h:
4833 Fixed a number of bugs related to the fact that
4834 editabletext inherits from text. Fixed the EditableText struct,
4835 the init() call, and use correct casts when calling Text methods
4836 from an EditableText object. Removed (duplicate) atko from the
4837 EditableText structure, we use the one in the parent Text
4838 structure via the casts mentioned above.
4839 * libspi/keystrokelistener.[ch]:
4840 * libspi/registry.c:
4841 Changes in support of keyboard handling (above).
4843 Keyboard handling, though partly functional, is still not
4844 recommended for at-spi client use as there is considerable
4845 work yet to be done.
4848 Changed some places where pointers to various int types
4849 are cast to be pointers to CORBA_long types and vice-versa:
4850 pointer casting is not safe so we pass pointers of the correct
4851 types and then cast the result before putting it into the target
4854 * libspi/text.h: minor typos corrected.
4856 We now speak not only the name of a Text element, but the
4857 first sentence of its content, when it receives focus.
4858 I also changed the text compression to 75% from 50%.
4859 * util/Accessibility_Util.server.in:
4860 Changed the default magnifier type to be a 3x vertical
4861 splitscreen magnifier (was previously a 2x horizontal one).
4863 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4865 * libspi/keystrokelistener.h:
4866 * libspi/keystrokelistener.c:
4867 Initial functional implementations of KeystrokeListener.
4870 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4872 Fixed string handling for NULL strings in libspi.
4873 Added spi_freeString to free strings returned by C bindings.
4875 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4877 * libspi/keystrokelistener.h:
4878 * libspi/keystrokelistener.c:
4879 Began (no-op) implementations of KeystrokeListener
4881 * libspi/deviceeventcontroller.c:
4882 * libspi/deviceeventcontroller.h:
4883 Began creating implementations of DeviceEventController,
4884 to handle keystroke and mouse event listening and
4886 * libspi/accessible.c:
4887 Stubbed-in the implementations for
4888 Accessibility_Accessible_getState and
4889 Accessibility_Accessible_getRelationSet.
4890 * libspi/registry.c:
4891 Improved de-registration process and fixed some bugs,
4892 deregistration now works correctly.
4894 Added initialization of applications list (to NULL).
4896 Reduced speech compression from 0.5 to 0.7, for demo.
4897 Changed call to gdk_window_set_decorations()
4898 to gtk_window_set_decorated().
4899 * at-bridge/bridge.c:
4900 Bridge now deregisters when app exits, via
4901 registration of a cleanup function
4902 with the g_atexit() call.
4903 Required making 'app' static, renamed 'this_app'.
4904 Fixed broken use of bonobo_init, passing argv wrongly.
4906 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4910 Created a new directory for
4911 accessibility-related utilities, primarily for
4912 testing and demo purposes, but with possible
4919 Onscreen magnifier utility that
4920 is implemented as a bonobo service.
4922 * util/mag_client.c:
4923 * util/mag_client.h:
4924 Client-side support (simple C bindings)
4925 for Magnification service
4927 * util/mag_control.c:
4928 Client program example for
4929 Magnification service
4931 * util/Accessibility_Magnifier.server.in:
4932 Bonobo-activation file for the
4933 Magnification service.
4936 * util/idl/Magnifier.idl:
4937 IDL defining the bonobo Magnification
4941 Modifications to use the bonobo-activated magnifier
4942 above, in place of trying to connect to an existing
4943 magnifier that uses socket-listening IPC.
4945 If env variable MAGNIFIER is set, a magnifier service
4946 will be started if one does not exist.
4948 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4950 * at-bridge/bridge.c:
4951 applied patch from Marc to build and run
4952 against new glib and gtk+ (seemed like a change
4953 to bonobo_init signature was made ?)
4955 made festival-server support turned off by default.
4956 Added support for a simple magnifier (off by default)
4957 which will be added to a 'util' directory later.
4958 * at-bridge/Makefile.am:
4959 Changed "application.h" header from a 'source'
4960 to a 'dependency' of libat-bridge.
4962 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4971 Added interface implementation c files to list of
4972 includes so they are included in libcspi.
4975 Changed prototype of AccessibleAction_doAction to return a
4977 Changed prototype of AccessibleTable_getCaption to
4978 return an Accessible.
4979 Changed prototype of AccessibleTable_getSelectedRows
4980 and AccessibleTable_getSelectedColumns to
4981 return a long (returns the number of selected rows
4982 or columns respectively).
4983 Changed name of AccessibleText_refRunAttributes to
4984 AccessibleText_getAttributes.
4985 Changed prototype of AccessibleText_getCharacterExtents to
4986 return a void rather than a boolean.
4987 Added support for a AccessibleCoordType parameter
4988 specifying what type of coordinates are desired.
4989 Added an AccessibleCordType parameter to
4990 AccessibleText_getPointAtOffset.
4992 * cspi/spi_accessible.c:
4993 Added code to return the outstanding interfaces from
4994 Accessible_queryInterface.
4996 * cspi/spi_action.c:
4998 Corrected call to getNActions to call the c binding
5001 * cspi/spi_editabletext.c:
5003 Changed name from setRunAttributes to setAttributes.
5005 * cspi/spi_hyperlink.c:
5007 Changed call to getNAnchors to correctly call the c
5008 binding for an attribute.
5010 * cspi/spi_hypertext.c:
5012 Changed getImageDescription to correctly call the
5013 binding for an attribute.
5015 * cspi/spi_selection.c:
5016 Changed getNSelectedChildren to correctly call the c
5017 binding for the attribute.
5018 Changed refSelectedChild to getSelectedChild.
5022 Changed getCaption to return an Accessible.
5023 Fixed calls which retrieve attributes.
5024 Changed refAt to getAccessibleAt.
5025 Changed getNSelectedRows and getNSelectedColumns to
5029 Changed getCharacterExtents and getPointAtOffset to accept an
5030 AccessibleCoordType.
5032 Changed calls which retrieve attributes.
5033 Changed refRunAttributes to getAttributes.
5038 * idl/Hyperlink.idl:
5039 Changed n_anchors attribute to nAnchors to keep naming
5040 convention consistent.
5043 Made Table inherit from Bonobo::Unknown.
5044 Added nSelectedColumns and nSelectedRows attributes.
5047 Made Value inherit from Bonobo::Unknown.
5049 * libspi/hyperlink.c:
5050 Change for nAnchors attributte name change.
5052 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5060 Added interface implementation c files to list of
5061 includes so they are included in libcspi.
5064 Changed prototype of AccessibleAction_doAction to return a
5066 Changed prototype of AccessibleTable_getCaption to
5067 return an Accessible.
5068 Changed prototype of AccessibleTable_getSelectedRows
5069 and AccessibleTable_getSelectedColumns to
5070 return a long (returns the number of selected rows
5071 or columns respectively).
5072 Changed name of AccessibleText_refRunAttributes to
5073 AccessibleText_getAttributes.
5074 Changed prototype of AccessibleText_getCharacterExtents to
5075 return a void rather than a boolean.
5076 Added support for a AccessibleCoordType parameter
5077 specifying what type of coordinates are desired.
5078 Added an AccessibleCordType parameter to
5079 AccessibleText_getPointAtOffset.
5081 * cspi/spi_accessible.c:
5082 Added code to return the outstanding interfaces from
5083 Accessible_queryInterface.
5085 * cspi/spi_action.c:
5087 Corrected call to getNActions to call the c binding
5090 * cspi/spi_editabletext.c:
5092 Changed name from setRunAttributes to setAttributes.
5094 * cspi/spi_hyperlink.c:
5096 Changed call to getNAnchors to correctly call the c
5097 binding for an attribute.
5099 * cspi/spi_hypertext.c:
5101 Changed getImageDescription to correctly call the
5102 binding for an attribute.
5104 * cspi/spi_selection.c:
5105 Changed getNSelectedChildren to correctly call the c
5106 binding for the attribute.
5107 Changed refSelectedChild to getSelectedChild.
5111 Changed getCaption to return an Accessible.
5112 Fixed calls which retrieve attributes.
5113 Changed refAt to getAccessibleAt.
5114 Changed getNSelectedRows and getNSelectedColumns to
5118 Changed getCharacterExtents and getPointAtOffset to accept an
5119 AccessibleCoordType.
5121 Changed calls which retrieve attributes.
5122 Changed refRunAttributes to getAttributes.
5127 * idl/Hyperlink.idl:
5128 Changed n_anchors attribute to nAnchors to keep naming
5129 convention consistent.
5132 Made Table inherit from Bonobo::Unknown.
5133 Added nSelectedColumns and nSelectedRows attributes.
5136 Made Value inherit from Bonobo::Unknown.
5138 * libspi/hyperlink.c:
5139 Change for nAnchors attributte name change.
5142 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5144 implementations-- made server implementations own AtkObject pointers
5145 rather than their respective AtkInterrface pointers to fix
5146 refcounting. AtkHyperlink is still broken.
5148 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5149 * cspi/spi_accessible.c:
5150 Added method Accessible_Role_getName(),
5151 and requisite string array (role_names).
5152 Added conversion string_from_corba_strin() call
5153 to Accessible_getName and _getDescription.
5154 * libspi/accessible.c:
5155 Added implementation for Accessible_getRole()
5157 Added festival support, used if environment variable
5160 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5162 * at-bridge/bridge.c:
5163 Now allocate Accessibility_Event using
5164 Accessibility_Event__alloc() instead of g_new0().
5165 * libspi/accessibleeventlistener.c:
5166 Initialize AccessibleEventListener->callbacks to NULL.
5167 Fixed accessible__event_listener_init() param, changed to
5168 "AccessibleEventListener *" type.
5169 Changed a bonobo_object_release_unref() call to
5170 Accessibility_Accessible_unref().
5171 * libspi/listener.c:
5172 Changed Bonobo_Unknown_unref to (equivalent)
5173 Accessibility_Accessible_unref.
5174 * libspi/registry.c:
5175 Changed bonobo_object_release_unref to
5176 Accessibility_Accessible_unref.
5178 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5181 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5182 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5183 spi-util.c spi-util.h
5184 Implementations for C bindings to remaining accessibility
5187 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5190 changed return value of Action from void to boolean to
5191 bring in line with ATK.
5194 Changed getText funcions to return "out" start and end offsets.
5195 Changed getAttributes to take and offset and return the start
5196 and end offset of the attribute run.
5197 Changed getOffsetAtPoint and getCharacterExtents to take an
5198 enum describing whether coordinates are window or screen.
5201 libspi/action.c libspi/action.h libspi/editabletext.c
5202 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5203 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5204 libspi/image.h libspi/selection.c libspi/selection.h
5205 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5206 libspi/value.c libspi/value.h
5207 Added server implementations for outstanding ATK interfaces
5208 not yet implemented.
5210 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5213 Added (missing) getName() method.
5214 Made nActions an attribute.
5215 * idl/EditableText.idl:
5216 Changed order of params in setAttributes.
5217 * idl/Hyperlink.idl:
5218 Removed getAnchor, added getURI.
5220 Changed attributes to methods, for efficiency
5221 (so that getting extents can be done in one call)
5222 * idl/Selection.idl:
5223 Changed nSelectedChildren to attribute, and re-indented.
5224 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5226 * idl/Text.idl: reformatted to match our coding style.
5227 (temporarily?) removed getRowColumnAtOffset().
5228 Changed text selection API to support multi-select and
5229 non-contiguous selections, as in ATK.
5230 * idl/Value.idl: changed some methods to attributes.
5232 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5234 * libspi/listener.c(impl_notify_event):
5235 BonoboUnkown_unref the source instead
5236 of bonobo_object_release_unref - the ORB
5237 handles the releasing.
5239 * configure.in: require ORBit-2.3.94 for
5242 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5244 Tagged CVS repository 'EA_1_0'.
5245 * README.EARLY_ACCESS:
5246 Alphabetized acknowledgements list, and
5248 Listed some known dependencies of at-spi.
5250 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5252 * docs/at-spi-docs.sgml:
5253 * docs/at-spi-sections.txt:
5254 * docs/at-spi-overrides.txt: (Added zero-length file)
5255 Documentation improvements - gtk-doc should build
5256 docs for all implemented C bindings now.
5259 * cspi/spi.c: (New file)
5260 * cspi/spi_event.c: (New file)
5261 * cspi/spi_registry.c: (New file)
5262 * cspi/spi_accessible.c: (New file)
5263 * cspi/spi_application.c: (New file)
5264 * cspi/spi_component.c: (New file)
5265 Split spi_main.c into six parts, and included them from
5266 "spi.c". This is a bit of a hack, probably temporary,
5267 but required by gtk-doc, apparently.
5269 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5272 * docs/at-spi-docs.sgml:
5273 * docs/at-spi-sections.txt:
5275 Initial checkins/modifications for gtk-doc generation.
5278 Added (missing) interface query methods to Accessible's C binding.
5280 Added GenericInterface type definition.
5282 Added query for AccessibleComponent interface to focus event handler.
5283 Added printout of bounding box for focussed component.
5284 * libspi/component.c:
5285 Added partial implementation for AccessibleComponent to C binding.
5286 * idl/Application.idl:
5287 * libspi/registry.c:
5288 * libspi/listener.c:
5289 * libspi/application.c:
5290 * libspi/application.h:
5291 Changed "ID" attribute type from string to long.
5293 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5297 Made method naming consistent: methods taking object args
5298 start with uppercase, other methods (except those using
5299 acronyms) start with lowercase. Underscores delimit between
5300 object names and method names:
5301 SPI_init() - uppercase since it starts with an acronym.
5302 getDesktopCount () - lowercase start since no object param0.
5303 Accessible_getName() - uppercase object type name, studlyCaps method
5307 Added gtk-doc documentation for all currently implemented
5308 methods in the C bindings API.
5310 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5312 * Makefile.am : changed build order to build test last.
5315 Changed "createEventListener" to "CreateEventListener".
5316 * libspi/accessibleeventlistener.c :
5317 Bugfix for addition of callbacks.
5318 * test/Makefile.am :
5319 * test/simple-at.c :
5320 Added new test that uses the C bindings API.
5322 * libspi/listener.c :
5323 * libspi/registry.c :
5324 * libspi/accessibleeventlistener.c :
5325 * at-bridge/bridge.c :
5326 Renamed member "target" of Accessibility_Event to "source",
5327 which is more descriptive.
5330 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5334 * cspi/Makefile.am :
5335 Added makefile support for at-spi/cspi directory.
5338 * cspi/spi-listener.h : (NEW FILE)
5339 Added support for/use of spi-listener.h.
5341 C bindings now build successfully, with no warnings.
5342 * libspi/accessibleeventlistener.h : (NEW FILE)
5343 * libspi/accessibleeventlistener.c : (NEW FILE)
5344 * libspi/Makefile.am :
5345 Added new object type "AccessibleEventListener"
5346 which inherits from Listener, and allows attachment
5347 of in-process callbacks (so that a client with a listening
5348 object instance can add functionality to the local
5349 implementation, dynamically).
5351 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5353 * libspi/accessible.c:
5354 Add implementation for get_index_in_parent().
5356 Added #include of "spi-roletypes.h", and
5357 added enumerated type AccessibleCoordType.
5358 Added definition for KeystrokeListener (function type).
5361 * cspi/spi-statetypes.h :
5362 * cspi/spi-roletypes.h :
5364 Added these headers, used by spi.h.
5366 Added code (NOTE: not yet built by make).
5368 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5370 * libspi/Makefile.am: generate imodule
5371 at the same time as other idl compiler
5374 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5375 * libspi/registry.c :
5376 * libspi/application.c :
5377 * idl/Application.idl :
5378 Made registration with toolkit an application method,
5379 which is required since each app has its own toolkit static
5380 environment. Thus the bridge must register for
5381 notification of toolkit events from each application in turn.
5382 Toolkit notifications are now successfully registered for, and
5383 sent to the listening at client.
5385 Changed toolkit event string to use hyphens rather than underscores.
5386 * libspi/listener.c :
5387 listner now gives more info in debug mode - it reports the
5388 name of the event received, as well as the name of the source.
5391 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5393 * libspi/registry.c :
5394 added more implementation for toolkit events.
5395 Fixed bug such that toolkit event registrations
5396 (via atk) use the whole event name string, not
5398 Removed a useless call to an ORBit_ method.
5399 * at-bridge/bridge.c :
5400 Removed unused local sbuf[] variable.
5402 We now register for Gtk:GtkWidget:button_press_event
5403 events as well as "focus:" events.
5405 Add some more API from Registry.idl that was missing,
5406 for keystroke listening, keystroke and mouse event
5407 synthesis, and enumeration of accessible desktops.
5409 2001-08-16 Michael Meeks <michael@ximian.com>
5411 * configure.in: use AM_GLIB_GNU_GETTEXT.
5413 * Makefile.am (SUBDIRS): kill intl.
5415 2001-08-15 Michael Meeks <michael@ximian.com>
5417 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5419 * configure.in: upd.
5421 * configure.in: depend on a recent bonobo-activation that
5422 will find our server files ...
5424 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5426 * libspi/accessible.c : accessible_new() :
5427 Now we add the Component interface via bonobo_object_add_interface,
5428 if the contained AtkObject implements AtkComponent.
5429 * libspi/accessible.h : now include "component.h"
5430 * libspi/component.h :
5431 * libspi/component.c : added files - implementation of
5432 bonobo wrapper object for Accessibility/Component
5433 * libspi/listener.c :
5434 Added test code to check for Accessibility/Component:1.0
5435 interface and report whether it is implemented by the
5437 * libspi/registry.c :
5438 Now we check for not only the hash of the whole event
5439 string before relaying the event, we also check the
5440 "minor" event string (without the detail string).
5441 This allows event listeners to be registered against
5442 all events of a certain major+minor type, or just
5443 against a specific major+minor+detail type.
5444 * libspi/accessible.c :
5445 Added implementations for Accessible:get_parent(),
5446 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5447 * libspi/registry.c :
5448 * libspi/listener.c :
5449 Replaced calls to Accessibility_Accessible_ref() and
5450 Accessibility_Accessible_unref() with
5451 calls to bonobo_object_dup_ref() and
5452 bonobo_object_release_unref(), so that the CORBA object
5453 is dup-ed and released when relayed, as well as the bonobo object.
5455 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5457 * libspi/Makefile.am,
5458 registryd/Makefile.am,
5459 at-bridge/Makefile.am.
5460 test/Makefile.am, configure.in:
5461 reverse previous changes.
5463 * /idl/Image.idl: fix typo.
5465 * test/Makefile.am: put DEBUG_FLAGS
5468 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5470 * test/app.c: use argv[0] instead of
5473 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5475 * libspi/Makefile.am,
5476 registryd/Makefile.am,
5477 at-bridge/Makefile.am.
5478 test/Makefile.am, configure.in:
5479 cleanup, replace individual LIBS/CFLAGS with
5480 AT_COMMON_{LIBS|CFLAGS}.
5484 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5486 * configure.in, libspi/Makefile.am:
5487 Change IDL path checking for bonobo-activation
5490 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5492 * registryd/registry.c : separated event listeners to use
5493 3 separate lists (focus, window, toolkit). Began testing
5494 event names against hashes before relaying events.
5495 * test/at.c : now register for events of type "focus:"
5496 * test/app.c : now generate events of type "focus:"
5497 * at-bridge/bridge.c : register with ATK for focus events,
5498 and we now relay those focus events to any "focus:" listeners.
5499 This now works with the bridge as a GTK_MODULE when running test/at.
5500 * libspi/registry.c :
5501 * libspi/listener.c :
5502 now we ref event sources before propagating, and unref on receipt.
5503 * libspi/registry.c :
5504 some changes to internal structs, to support event typestring hashes.
5505 * text/app.c : changed the way the appname is generated.
5506 * cspi : added directory that will hold the C bindings library for
5507 non-CORBA/bonobo-savvy clients.
5508 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5509 * idl/Component.idl : added in parameter to indicate coord system for
5510 geometry-related calls.
5511 * idl/Hyperlink.idl : added readonly n_links attribute
5512 * idl/Image.idl : changed methods to attributes.
5514 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5516 * at-bridge/Makefile.am: link against
5517 ../libspi/libspi.la instead of -lspi.
5519 * at-spi/test/app.c: include
5520 bonobo-activation.h. Use a default appname
5521 if one is not provided.
5523 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5525 * idl/Registry.idl : temporarily changed register_Application
5526 to oneway, to work around issue with initial registration
5528 * idl/Application.idl : changed attribute "id" from readonly
5529 to read-write, since it needs to be assigned by Registry.
5530 * registryd/registryd.c : added call to set application id
5532 * registryd/registry.c : changed de-registration procedure to
5533 use CORBA_Object_hash() to find matching object ref in application
5534 lists and listener lists.
5535 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5536 began distinguishing between event types (work in progress).
5538 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5541 * libspi/application.c:
5542 Added implementations for get/set id, get_toolkitName,
5544 * registryd/registryd.c :
5548 Converted from use of OAF to bonobo-activation.
5549 * libspi/desktop.h :
5550 * libspi/desktop.c :
5552 Removed references to atksimpleobject, since base atkobject
5553 implementation now provides functionality we need.
5554 * libspi/atksimpleobject.c :
5555 * libspi/atksimpleobject.h :
5560 * at-bridge/Makefile.am
5561 * at-bridge/bridge.c
5564 Added directory "bridge" and contents, and added dependencies
5565 in Makefile.am/configure.in.
5566 Initial checkin of "at-bridge".
5567 This code is a GTK_MODULE which automatically registers
5568 GTK+ apps with the accessibility registry, using an object
5569 reference to the root ATK object.
5571 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5573 * po/Makefile.in.in: Remove. Again. If this
5574 doesn't get autogenerated - you need to update
5577 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5579 * po/Makefile.in.in: Add. Again.
5581 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5583 * libspi/accessible.c : added support for 'description' property.
5584 * libspi/accessible.c
5586 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5587 (since the two are now equivalent in libbonobo)
5595 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5596 Bonobo::Unknown as does Accessibility::Accessible.
5597 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5598 interface with Bonobo::Stream, since it was redundant with it.
5599 (The Stream returned by a StreamableContext object is expected to
5600 implement only a subset of Bonobo::Stream)
5602 2001-07-28 Anders Carlsson <andersca@gnome.org>
5604 * libspi/accessible.c (accessible_object_finalize): Change
5605 g_free to g_object_unref since the AtkObject is a GObject.
5607 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5609 * idl/Accessibility.idl: add new IDL files
5612 * idl/Action.idl: Definitions of actionable UI object
5613 * idl/Component.idl: Definitions of UI component geometry, etc.
5614 * idl/Hyperlink.idl: Defs of hyperlink behavior
5615 * idl/Image.idl: Def of accessible image
5616 * idl/Selection.idl: Definition of UI object with selectable children
5617 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5618 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5619 * idl/Text.idl: Interface defs for UI elements with complex textual content
5620 * idl/Value.idl: Definition of UI element that is a value controller or display
5622 2001-07-27 Michael Meeks <michael@ximian.com>
5624 * po/Makefile.in.in: remove autogenerated file from CVS.
5626 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5629 * idl/Registry.idl: include guard.
5631 * idl/Accessibility.idl: Add, and include all the other IDL
5634 * idl/*.idl: remove mass of pragmas etc.
5636 2001-07-26 Michael Meeks <michael@ximian.com>
5638 * registryd/Makefile.am (registryd_SOURCES): remove
5641 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5643 * libspi/.cvsignore, registryd/.cvsignore,
5644 test/.cvsignore: updated.
5646 * po/Makefile.in.in: gettext update.
5648 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5650 * initial CVS checkin
5652 2001-06-29 Michael Meeks <michael@ximian.com>
5654 * configure.in: add AM_CONFIG_HEADER to gen config.h