1 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
3 * atk-bridge/Makefile.am: Correct typo in previous commit.
5 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
7 * atk-bridge/Makefile.am: Allow for build directory to be different
10 * registryd/Makefile.am: Allow for build directory to be different
15 2003-01-29 Bill Haneman <bill.haneman@sun.com>
18 Fixed dependencies for libcspi so that libspi gets pulled in
19 properly. Fixes 104741.
23 Clean up inline docs a little.
25 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
27 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
28 This is done by implementing AtkComponent for SpiAtkDesktop, which is
29 the AtkObject within an SpiDesktop.
30 This addresses bug #101524.
32 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
33 Remove call to gdk_init().
35 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
36 so that Display is set when SpiDesktop is created.
38 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
40 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
41 This fixes bug #102830.
43 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
45 * test/test-simple.c: Update to take account of fact that GailButton
46 now implements AtkText.
47 (create_text_window): Set name on AtkObject for GtkEntry.
48 (validate_accessible): Check accessible name before calling test_text().
50 * libspi/Makefile.am: Fix problem with building outside of source
51 directory. Bug #98120.
53 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
54 typo in documentation comments. Bug #94275.
56 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
58 * libspi/text.c (impl_getBoundedRanges): Bug fix.
60 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
63 Add includes to avoid compiler warnings on Solaris.
64 (impl_getRangeExtents): Bug fix.
66 2002-12-17 Bill Haneman <bill.haneman@sun.com>
68 Fix for 100944, [API addition approved by Gman and murrayc].
75 * idl/Accessibility_Text.idl:
76 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
77 (Text::getRangeExtents): New method for efficient
78 bounds query of a text range.
79 (Text::getBoundedRanges): New method for efficient
80 clipping of text to bounding boxes.
81 (unImplemented7, unImplemented8):
82 Removed these padding methods to preserve bincompat.
85 (impl_getRangeExtents): implementation of new IDL.
86 (impl_getBoundedRanges): implementation of new IDL.
87 (SpiTextRect): Internal use struct.
88 (_spi_text_rect_union): internal method, calculates union of two
89 SpiTextRect bounding rects.
90 (_spi_text_range_seq_from_gslist): internal method, allows us
91 to build our sequence efficiently as a gslist then convert it
93 (_spi_bounds_contain): internal method, determines whether
94 a text character is "in" or "out" of a clip rect according to
95 values of TEXT_CLIP_TYPE.
96 (spi_text_class_init): Initialize the new methods in the epv.
99 (AccessibleTextClipType): New enum used by screen review api.
100 (AccessibleTextRange): New struct used by screen review api.
101 (AccessibleText_getRangeExtents):
102 cspi binding for Accessibility_Text_getRangeExtents.
103 (AccessibleText_getBoundedRanges):
104 cspi binding for Accessibility_Text_getBoundedRanges.
105 (AccessibleTextRange_freeRanges): convenience method.
108 (AccessibleText_getRangeExtents):
109 cspi binding for Accessibility_Text_getRangeExtents.
110 (AccessibleText_getBoundedRanges):
111 cspi binding for Accessibility_Text_getBoundedRanges.
112 (AccessibleTextRange_freeRanges): convenience method.
113 (get_accessible_text_clip_type): internal conversion method.
114 (get_accessible_text_ranges_from_range_seq): internal conversion method.
116 * registryd/deviceeventcontroller.c:
117 (spi_dec_mouse_check):
118 Improved behavior for mouse:abs events
119 [same granularity as mouse:rel events, and no
120 events when mouse is idle].
122 2002-12-16 Michael Meeks <michael@ximian.com>
124 * cspi/spi_accessible.c (spi_state_to_corba): rename.
126 * libspi/stateset.c (state_spi_to_atk): split out
127 ( fix several remote array bounds nasties )
128 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
129 (impl_remove): make safe from array bounds issues.
130 (spi_atk_state_from_spi_state): impl.
132 * libspi/stateset.h (spi_state_set_cache_is_empty):
133 add a set of wrapper defines to get layering right.
135 * cspi/spi_accessible.c: update state set stuff to
138 2002-12-14 Michael Meeks <michael@ximian.com>
140 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
141 to avoid 2 roundtrips to the registry per key event
142 (spi_atk_bridge_key_listener): upd.
143 (deregister_application): release the dec.
145 * registryd/registry.c (notify_listeners_cb):
146 bin lots of re-enterant complexity - we no longer
147 do a round-trip bonobo ref here, ensure that a single
148 listener's exception failure won't poison all other
150 (impl_registry_notify_event): bin obvious memory leak.
152 2002-12-13 Michael Meeks <michael@ximian.com>
154 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
155 init the ev so the error is meaningful.
156 (spi_atk_bridge_key_listener): ditto.
158 * cspi/spi_main.c (cspi_ev): init the ev so we start
159 with a clean slate, otherwise the first exception
162 * cspi/spi_text.c (get_accessible_text_boundary_type):
163 add a fallthrough for no warnings.
165 * cspi/spi_registry.c: prune unused warnings.
167 * cspi/spi_main.c (cspi_object_take): fix
168 mind-blowing brokenness ( by watching the compile
171 * cspi/spi_accessible.c (Accessible_getStateSet):
172 re-impl. to use an AtkStateSet.
173 (spi_state_type_from_accessible_state),
174 (init_state_table): bin these.
176 * libspi/stateset.c (spi_atk_state_set_from_sequence):
178 (atk_state_set_from_accessibility_state_set): here.
180 * cspi/spi_accessible.c (spi_state_to_atk): impl.
181 (AccessibleStateSet_contains, AccessibleStateSet_ref),
182 (AccessibleStateSet_unref, AccessibleStateSet_contains),
183 (AccessibleStateSet_add, AccessibleStateSet_remove),
184 (AccessibleStateSet_equals, AccessibleStateSet_compare),
185 (AccessibleStateSet_isEmpty): re-write to use a local
188 2002-12-13 Bill Haneman <bill.haneman@sun.com>
190 * configure.in: Revved to 1.1.7 (new keymask vals).
192 2002-12-10 Bill Haneman <bill.haneman@sun.com>
195 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
197 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
200 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
201 to compare two CORBA_TypeCodes.
202 (cspi_internal_event_add): Silence warning from FORTE compiler.
204 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
205 avoid implicit declaration of functions.
207 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
209 * atk-bridge/bridge.c:
210 (spi_atk_bridge_init_event_type_consts): Store signal id for
211 active-descendant-changed signal.
212 (spi_atk_register_event_listeners): Add signal listener for
213 active-descendant-changed signal,
214 (spi_atk_bridge_signal_listener): Move code in function
215 spi_atk-signal_emit_event() into this function.
216 Add support for active-descendant-changed
217 Update support for child-changed signal.
218 (spi_bridge_window_event_listener): Silence warning.
220 * libspi/spi_private.[ch]:
221 (spi_init_any_object): Change second parameter from CORBA_Object to
223 Omit call to CORBA_Object_duplicate().
224 Set CORBA_any's _value to CORBA_Object*.
226 2002-12-06 Bill Haneman <bill.haneman@sun.com>
232 (AccessibleEvent_ref, AccessibleEvent_unref):
233 New methods, for persisting an event outside the emission context.
234 Must be used if the new accessor methods are to be called
235 outside of the event listener's callback.
237 * cspi/bonobo/cspi-bonobo.c:
238 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
239 as second parameter instead of NULL, so we can call
240 cspi_check_ev afterwards.
243 (cspi_object_take): New internal method,
244 converts a CORBA_Object reference to a hard ref on
245 an Accessible if possible, returning NULL if the object
246 reference is invalid or an Accessible * otherwise.
249 (AccessibleEvent_ref):
250 Increment the event's internal private refcount, and
251 add the event's internal struct to an internal cache
252 if it's not already there.
253 (AccessibleEvent_unref):
254 Decrement the event's refcount and remove it from
255 the cspi event cache if refcount==0.
256 (cspi_event_compare): New private method.
257 Compares two event structs via their ids. Used
259 (cspi_internal_event_lookup): New private method.
260 (cspi_internal_event_check): New private method,
261 a 0-order sanity check for events to make sure their
262 private data is intact.
263 (cspi_internal_event_add, cspi_internal_event_remove):
264 New private methods for managiing the event cache.
266 * cspi/bonobo/cspi-bonobo-listener.c:
268 Initialize the new private data elements (id, magic, ref_count).
270 * atk-bridge/bridge.c:
271 (spi_atk_bridge_signal_listener):
272 Fixed bug #100530, passing wrong params to emission func.
274 * registryd/deviceeventcontroller.c:
275 (spi_dec_button_update_and_emit):
276 Fixed type in mask bit operations; fix for #99799.
278 2002-12-02 Bill Haneman <bill.haneman@sun.com>
280 Removed some of the more dangerous workarounds from
281 previous commit; they are only needed by GOK, which
282 in reality should be using another method to accomplish
283 the goals. So on reconsideration some of the workarounds
286 * registryd/deviceeventcontroller.c:
287 (spi_keycodes_contain, spi_dec_init_keycode_list):
288 Removed these methods, used only by a nasty hack to try
289 and detect whether a key synthesis should be allowed
290 to reset the XKB latch state or not. This code was only
291 required to work around an interaction between GOK,
292 button events, and XKB.
293 (impl_generate_key_event):
294 Removed hack at end of key generation that tried to
295 "do the right thing" if XKB latch keys were generated
296 in the midst of button press/release pairs.
299 Added a check for HAVE_XINPUT. Not normally used yet.
301 2002-11-25 Bill Haneman <bill.haneman@sun.com>
303 Workarounds and fixes for mouse event/XKB interaction.
305 * registryd/deviceeventcontroller.c:
306 (spi_keycodes_contain, spi_dec_init_keycode_list):
307 New internal methods.
308 (spi_dec_set_unlatch_pending):
309 Split the method that tells XKB to expect an
310 unlatch (and revert it) out of the rest of the
311 event handling code. This method is called by the
312 two mouse event handlers (the poll and the filter).
313 (spi_dec_update_and_emit, spi_dec_mouse_check):
314 New methods split from spi_dec_poll_mouse_moved.
315 The second one is now called from inside the filterFn
316 when an XKB delatch event is received, to determine
317 whether to revert the delatch or not.
318 (spi_poll_mouse_moved): Refactor; also we can now
319 properly handle the case where multiple button states
320 have changed between polling cycles and we didn't get
321 notified due to another client's grab.
323 Synchronize the server while handling an XKB notification.
324 Ugly, but apparently necessary to avoid nasty races.
325 Check the mouse state on receipt of an XKB latch change,
326 to decide whether to revert the latch or not. (Latches are
327 reverted if there is an immediately preceding mouse button
328 event that a client has consumed, in which case we don't want
329 the user to see the side-effect of the event).
330 (spi_device_event_controller_forward_mouse_event):
331 Check for modifier events and fire before resetting mouse_mask_state,
332 prevents losing modifier events.
334 (impl_generate_keyboard_event):
335 If we've just generated a keyboard event for a non-shift key,
336 we don't want to revert the pending XKB latch.
337 Otherwise, check the modifier state (via a call to
338 spi_dev_mouse_check) and set the relatch mask to
339 that state before returning.
341 2002-11-24 Bill Haneman <bill.haneman@sun.com>
344 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
347 * atk-bridge/bridge.c:
348 (spi_atk_register_event_listeners):
349 Don't re-register for ATK events if the registry has died
350 and the app needs to re-register; the ATK listeners are in
351 process and doing so will cause duplicate emission.
353 * registryd/deviceeventcontroller.c:
354 (spi_poll_mouse_moved):
355 Reformat the source, detect and emit multiple button-change
356 events (i.e. if multiple buttons have changed between poll
358 Add code to detect mouse-down events even when the pointer
359 is grabbed; workaround for GOK bug 98420.
360 (spi_controller_register_with_devices):
361 Call XTestGrabControl with 'impervious' flag set to True,
362 allows us to synthesize events and query the pointer even during
363 an active grab by another client.
364 (spi_device_event_controller_forward_mouse_event):
365 Set the mouse_mask_state to the mouse_button_state from
366 the intercepted event, to synchronize the grab listener with
369 2002-11-20 Bill Haneman <bill.haneman@sun.com>
371 * cspi/spi_accessible.c:
372 (AccessibleRole_getName):
373 Added necessary strings for making this (deprecated)
374 method work with the new role types.
375 (init_role_table, role_table):
376 Added definition of SPI_ROLE_APPLICATION.
378 * libspi/spi-roletypes.h:
379 Added SPI_ROLE_APPLICATION.
381 * idl/Accessibility_Role.idl:
382 Added ROLE_APPLICATION.
384 * docs/reference/cspi/at-spi-cspi-decl.txt:
385 Added SPI_ROLE_APPLICATION to docs.
387 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
389 * cspi/spi_accessible.c
390 (cspi_init_role_table): Do not write beyond end of role_table.
391 (Accessible_getRole): Use correct type for value returned by
392 Accessibility_Accessible_getRole().
394 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
395 beyond end of role_table. (This fixes bug #98269)
397 * libspi/application.c: Add include file spi-private.h for
398 definition of spi_init_any_nil.
400 2002-11-19 Bill Haneman <bill.haneman@sun.com>
404 * libspi/spi-private.h:
405 Added DGB() macro, and extern int _dbg declaration.
407 * registryd/registry.c:
408 (definitions) storage for _dbg.
410 Get environment variable "AT_SPI_DEBUG".
411 (spi_registry_set_debug):
412 New method, to initialize _dbg value.
413 (spi_listener_struct_new, spi_registry_object_finalize):
414 (notify_listeners_cb):
415 Changed fprintfs to use DBG and g_warning().
417 * registryd/deviceeventcontroller.c:
418 (_deregister_keygrab, spi_controller_register_device_listener):
419 Changed debug/warning messages to use DBG macro.
423 Changed warning messages to use DBG macro and g_warning().
425 * atk-bridge/bridge.c:
426 (atk_bridge_init, spi_atk_bridge_get_registry):
427 (spi_atk_bridge_exit_func):
428 (spi_atk_bridge_property_event_listener):
429 Changed status, warning, and error messages to use
430 g_warning, g_message, and DBG macros.
433 Read the state of the AT_SPI_DEBUG environment variable
434 and set a local '_dbg' accordingly.
436 2002-11-19 Bill Haneman <bill.haneman@sun.com>
438 FIXES for 98836, 98842, other bugs.
441 Revved to 1.1.4, interface-age=4, binary-age=4.
443 * registryd/deviceeventcontroller.c:
445 Fixed crasher bug in last_mouse_pos initialization.
447 * registryd/registry.c:
448 (desktop_add_application, desktop_remove_application):
449 Added (and then commented out) some support for
450 object context marshalling. [TODO]
452 * atk-bridge/bridge.c:
453 (spi_atk_bridge_event_context_create):
454 Commented out object context creation until it can
455 be properly tested and debugged.
457 * registryd/registry.c:
458 (impl_registry_notify_event):
459 Fixed crasher bug, we were calling
460 spi_re_entrant_list_foreach () with an empty list.
462 2002-11-18 Bill Haneman <bill.haneman@sun.com>
464 * idl/Accessibility_Action.idl:
465 * idl/Accessibility_Component.idl:
466 * idl/Accessibility_Desktop.idl:
467 * idl/Accessibility_Event.idl:
468 * idl/Accessibility_Hyperlink.idl:
469 * idl/Accessibility_Image.idl:
470 * idl/Accessibility_Relation.idl:
471 * idl/Accessibility_Selection.idl:
472 * idl/Accessibility_State.idl:
473 * idl/Accessibility_Value.idl:
474 Updated unimplemented slot count to minimum of
475 four for all interfaces, for ABI freeze.
477 * idl/Accessibility_EditableText.idl:
478 * idl/Accessibility_Text.idl:
479 Updated unimplemented slot count to six
482 * idl/Accessibility_Registry.idl:
483 Updated unimplemented slot count to six
484 (also for DeviceEventController),
487 * idl/Accessibility_Table.idl:
488 Updated unimplemented slot count to eight,
491 * idl/Accessibility_Event.idl:
492 Added CORBA_any "any_data" member to Event struct.
494 * idl/Accessibility_Event.idl:
495 Added CORBA_any "any_data" member to Event struct.
497 * atk-bridge/bridge.c:
499 atk_signal_text_changed, atk_signal_child_changed,
500 signal ids queried from gtype system.
501 (AtkBridgeEventContextType): New enum.
502 (AtkBridgeEventContextData): New struct.
503 (AtkBridgeEventContext): New struct.
504 (atk_bridge_init_event_type_consts):
505 New method, initializes type contants for comparison
506 prior to emit_eventv.
507 (atk_bridge_event_context_init): New method,
508 initializes a CORBA_any from an AtkBridgeEventContext.
509 (atk_bridge_focus_tracker): Call spi_init_any_nil to
510 initialize the event.any_data struct.
511 (spi_atk_bridge_event_context_create): New method,
512 creates an AtkBridgeEventContext from signal/event info.
513 (spi_atk_bridge_event_context_free): New method.
514 (spi_atk_emit_eventv): Changed to take an
515 AtkBridgeEventContext parameter. We now initialize
516 the event.any_data member prior to notifying the
517 Registry, via the AtkBridgeEventContext.
518 (spi_atk_bridge_property_event_listener):
519 (spi_atk_bridge_state_event_listener):
520 Match emit_eventv signature.
521 (spi_atk_bridge_object_event_listener):
522 Match emit_eventv signature, and create an
523 event context from the event details.
524 Free the event context afterwards.
525 (spi_atk_bridge_window_event_listener):
526 Create an event context, pass it to the
530 (AccessibleEvent_getContextString):
531 (AccessibleEvent_getContextObject):
532 New methods, allow query of AccessibleEvent objects
533 for more context details (via the "any_data" member
534 of the Event struct, above).
537 Definitions for AccessibleEvent_getContextString
538 and AccessibleEvent_getContextObject.
540 * cspi/spi_listener.h:
541 (InternalEvent): New struct.
544 (AccessibleEvent_getContextString):
545 (AccessibleEvent_getContextObject):
546 Implementations of new methods, for obtaining
547 additional context information from some event types.
549 * cspi/spi_registry.c:
550 (SPI_registerGlobalEventListener):
551 Added mention of active-descendant-changed event in docs.
553 * cspi/cspi-bonobo-listener.c:
555 Marshal the any into the AccessibleEvent via
558 * libspi/spi-private.h:
559 #include <orbit/orbit.h>
561 (spi_init_any_string):
562 (spi_init_any_object):
563 New convenience function declarations.
567 (spi_init_any_string):
568 (spi_init_any_object):
569 New convenience function implementations.
571 * registryd/deviceeventcontroller.c:
572 (spi_poll_dec_mouse_moved):
573 (spi_device_event_controller_forward_mous_event):
574 Initialize any_data member of event.
575 (spi_deregister_controller_device_listener):
576 Fix incorrect param pass which was preventing deregistration.
578 * registryd/registry.c:
579 (desktop_add_application):
580 (desktop_remove_application):
581 Add object data to event's any_data before dispatch.
583 Fix for error messages from GAIL.
585 * test/event-listener-test.c:
586 Test new ContextString and "any_data" API:
587 (report_text_event): New method query and output context string.
588 (main): register a new text listener with report_text_event
591 2002-11-19 Darren Kenny <darren.kenny@sun.com>
593 Fixes for bugs 98127 and 97914.
594 * cspi/spi-roletypes.h:
595 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
597 * cspi/spi-statetypes.h:
598 Added SPI_STATE_MANAGES_DESCENDANTS
600 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
601 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
602 * cspi/spi_accessible.c:
603 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
604 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
605 Accessibility_STATE_MANAGES_DESCENDANTS
606 * libspi/accessible.c:
607 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
608 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
609 As requested by Bill, I also cleaned up the alignment.
611 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
612 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
614 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
615 Accessibility_STATE_MANAGES_DESCENDANTS
616 * docs/reference/cspi/tmpl/spi_accessible.sgml:
617 Document changes reflecting modifications to roles.
618 * docs/reference/cspi/tmpl/spi_relation.sgml:
619 Document changes reflecting modifications to relations.
620 * docs/reference/cspi/tmpl/spi_stateset.sgml:
621 Document changes reflecting modifications to states.
623 2002-11-17 Bill Haneman <bill.haneman@sun.com>
626 Revved to 1.1.3, interface-age=3, binary-age=3.
630 Removed accessx-gui from the tests, since we have a nice
631 keyboard accessibility capplet now :-)
633 * test/keysynth-demo.c:
634 (increment_scan): removed do-nothing default: case,
637 * test/visual-bell.c:
638 (main) : removed do-nothing default: case,
642 (AccessibleAction_getKeyBinding_):
643 Documented keybinding string format.
647 (AccessibleText_getAttributes):
648 Documented the text attribute string format.
649 It's changed to use semicolon delimiters also,
650 to prevent clashes with CSS attributes, but the old
651 trick of looking for ", " strings will still work
652 (as unreliably as ever). Fix for bug related to 97916.
655 Include <cspi/bonobo/cspi-bonobo-listener.h>
657 (SPI_freeAccessibleKeySet):
658 (AccessibleKeystrokeListener_addCallback):
659 (AccessibleKeystrokeListener_removeCallback):
660 Modify to use AccessibleDeviceListener API internally,
661 instead of AccessibleKeystrokeListener.
663 * idl/Accessibility_Event.idl:
664 Added two more empty slots to EventListener (for a total of four).
666 * idl/Accessibility_Accessible.idl:
667 Added four empty slots to Accessible interface.
669 2002-11-15 Bill Haneman <bill.haneman@sun.com>
671 * idl/Accessibility_Registry.idl:
672 (KeyEventType, EventType):
673 Marked KeyEventType as deprecated; it duplicates
674 functionality of EventType, which has been extended to
675 include Mouse-button events.
676 (KeyEventTypeSeq): defined in terms of EventType.
677 (registerDeviceEventListener, deregisterDeviceEventListener):
678 New methods, for managing listeners to device events,
679 which potentially may consume them.
682 Added definition for AccessibleDeviceListener.
684 * cspi/spi-listener.h:
685 (enum AccessibleDeviceEventType):
686 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
687 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
688 for backwards compat.
689 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
690 and typedef'd AccessibleKeystroke to it for back-compat.
691 (AccessibleDeviceListenerCB):
692 New function prototype typedef.
695 (AccessibleDeviceEventMask): New typedef.
696 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
697 (AccessibleKeyMaskType):
698 Set equivalent to AccessibleModifierMaskType for back-compat.
699 (SPI_createAccessibleKeystrokeListener):
700 (AccessibleKeystrokeListener_unref):
701 Deprecated in favor of equivalent (better-named) new API below..
702 keystroke listeners are like all device listeners.
703 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
704 New API names for old features :-).
705 (AccessibleDeviceListener_addCallback):
706 (AccessibleDeviceListener_removeCallback):
707 (SPI_registerDeviceEventListener):
708 (SPI_deregisterDeviceEventListener):
712 (SPI_createAccessibleKeystrokeListener):
713 Use new preferred API, cspi_device_listener_new() and
714 cspi_device_listener_add_cb().
715 (AccessibleKeystrokeListener_removeCallback):
716 Use new preferred API, cspi_device_listener_remove_cb().
717 (AccessibleKeystrokeListener_unref):
718 Use new preferred API, cspi_device_listener_unref().
719 (SPI_createAccessibleDeviceListener):
720 (AccessibleDeviceListener_addCallback):
721 (AccessibleDeviceListener_removeCallback):
722 Implementation of new API.
724 * cspi/spi_registry.c:
725 (SPI_registerDeviceEventListener):
726 (SPI_deregisterDeviceEventListener):
727 Implementation of new API. Fixed memory leak and removed need to
728 allocate EventTypeSeq (thanks Michael for catching this).
729 Squashed a wayward CORBA_exception_free that shouldn't get called.
731 * cspi/bonobo/cspi-bonobo-listener.c:
733 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
734 (cspi_key_event): renamed to cspi_device_event().
735 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
736 Extended to handle mouse button events as well as key events.
737 (CSpiKeystrokeListener):
738 Class superceded by CSpiDeviceListener.
739 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
740 These internal APIs changed to "*device_listener" from "*keystroke_listener".
742 * cspi/bonobo/cspi-bonobo-listener.h:
743 (CSpiKeystrokeListener):
744 Class superceded by CSpiDeviceListener.
745 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
746 These internal APIs changed to "*device_listener" from "*keystroke_listener".
748 * libspi/Makefile.am:
749 Replaced keystrokelistener.h and keystrokelistener.c
750 with devicelistener.h and devicelistener.c; keystrokelisener.h
751 stub retained for back-compat.
753 * libspi/keystrokelistener.c:
757 Replaced inclusion of keystrokelistener.h with devicelistener.h.
759 * registryd/deviceeventcontroller.c:
760 (DEControllerListener): Added Accessibility_EventTypeSeq member.
761 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
762 (DEControllerPrivateData): Added xkb settings data.
763 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
764 button release events (which can't be captured via XGrabButton).
765 Don't dispatch via the 'normal' event mechanism if the device event was
767 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
768 Handle the typeseq data in its new location (see above).
769 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
770 New methods, for "generic" device listeners.
771 (spi_controller_register_device_listener):
772 Now handle mouse event listeners as well as key listeners.
773 (spi_controller_notify_mouselisteners):
775 (spi_device_event_controller_forward_mouse_event):
776 Now we notify mouse device listeners as well as generating the
777 non-consumable "mouse:" events.
779 We must check and restore the XKB
780 modifier map if we consume the event, since the act of triggering
781 a mouse event will normally reset the XKB latch. This is required for
783 (spi_controller_register_with_devices):
784 Load the XKB settings when registering, and register for XKB
786 (spi_key_eventtype_seq_contains_event):
787 Renamed spi_eventtype_seq_contains_event, since it's used
788 internally for all device event types now.
789 (spi_key_event_matches_listener):
790 Uses spi_eventtype_seq_contains_event now.
791 (spi_device_event_controller_object_finalize):
792 Free the private data and the XkbKeyboard struct.
793 (impl_register_device_listener, impl_deregister_device_listener):
794 Implementation of new IDL.
795 (spi_deregister_controller_device_listener):
797 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
798 More efficient implementation, we don't have to create a new
799 XkbControls structure every time we query.
800 (spi_device_event_controller_class_init):
801 Initialize the epv entries for the new IDL. Assign the
802 "spi-dec-private" quark.
803 (spi_device_event_controller_init):
804 Initialize the private data.
805 (spi_device_event_controller_forward_key_event):
806 Removed a bogus CORBA_exception_free() call.
808 * registryd/deviceeventcontroller.h:
809 Replaced inclusion of keystrokelistener.h with
812 * test/event-listener-test.c:
813 (report_mouse_event):
816 Added mouse-event device listener.
818 * test/test-simple.c:
819 (create_test_window):
820 Fixed regression (we were instantiating a GtkRange,
821 which is now an abstract class). Also fixed to match
822 existing AtkRole names, this seems to have changed in ATK
823 awhile ago; too late now I think, and the new
824 mechanism is at least elegant and consistent with the
825 glib enum "nick" APIs.
827 2002-11-15 Darren Kenny <darren.kenny@sun.com>
829 * idl/Accessibility_Relation.idl:
830 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
831 RELATION_EMBEDS,RELATION_EMBEDDED_BY
832 * idl/Accessibility_Role.idl:
833 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
834 * idl/Accessibility_State.idl:
835 add STATE_MANAGES_DESCENDANTS
836 * test/event-listener-test.c:
837 Added a listener for active-descendant events.
839 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
841 * atk-bridge/bridge.c
842 (atk_bridge_init): If application is Bonobo component wait until top
843 level is added before registering
844 (spi_atk_bridge_do_registration): New function which contains code,
845 formerly in atk_bridge_init, to do application registration.
846 (spi_atk_bridge_toplevel_added): Signal called when top level
847 added to Bonobo component
849 This fixes bug #83134.
851 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
853 * registryd/deviceeventcontroller.c
854 Fixed compilation error caused by calling gettimeofday()
857 2002-10-18 Bill Haneman <bill.haneman@sun.com>
862 Added template for HAVE_XKB.
865 Changes to check for XKB, and to set the HAVE_XKB #define if it
869 ()impl_notify_event): Make failure to get event source name
872 * registryd/deviceeventcontroller.c:
873 (#include): include X11/XKBlib.h.
874 (DEControllerPrivateData) : New struct.
875 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
877 (dec_synth_keycode_press) (dec_synth_keycode_release):
878 New methods; split the key synthesis code into these methods.
879 They check XKB settings before determining the "time" values to
880 pass to Xtest; this fixes bug #95828.
881 (impl_generate_keyboard_event): Changed to use methods above,
882 instead of callng Xtest directly.
883 (spi_device_event_controller_init): Initialize new privae struct s
885 (spi_device_event_controllr_object_finalize):
886 Free the (new) private data.
888 * registryd/deviceeventcontroller.h:
889 Add new gpointer to end of struct data.
891 2002-10-16 Bill Haneman <bill.haneman@sun.com>
894 Incremented revision to 1.1.2, SONAME is still '.so', library
895 extensions are ".so.0.0.2".
897 * registryd/deviceeventcontroller.c:
898 FIXES FOR #93592 and #95940.
899 (statics): renamed mouse_button_state to mouse_mask_state,
900 added key_modifier_mask.
901 (spi_dec_poll_mouse_moved):
902 Added key modifier checks, and emit "keyboard:modifiers"
903 events when the key modifiers currently in use change.
904 Also generate "mouse:abs" events periodically, even if the mouse
905 is stationary (should we?).
906 Alternatively we could generate "mouse:abs" events for either all
907 mouse movements, or every 'nth' mouse movement, or at the
908 beginning and end of every "active" mouse period.
910 * test/event-listener-test.c:
911 (main): Added listener for "keyboard:modifiers" events.
913 2002-10-15 Bill Haneman <bill.haneman@sun.com>
916 Added key mask #defines for mouse buttons; e.g.
917 SPI_KEYMASK_BUTTON1, etc.
920 Incremented dependency on ATK to version 1.1.0. (This dependency
921 is probably premature but will soon be real enough).
923 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
925 * libspi/hyperlink.[ch]
926 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
927 (get_hyperlink_from_servant): Check object is AtkHyperlink not
930 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
935 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
937 * registryd/deviceeventcontroller.c
938 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
939 events to be ignored.
940 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
941 keyboard_mode so that XAllowEvents() can be called.
945 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
947 * cspi/spi-accessible.c: Correct names of roles returned by
948 AccessibleRole_getName(). Fixes bug #95055.
950 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
952 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
955 * registryd/registry.c
956 (desktop_remove_application: Write diagnostic message to stderr for
959 (impl_accessibility_registry_deregister_global_event_listener):
960 Correct size of lists array. This addresses bug #94555).
962 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
964 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
967 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
969 * registryd/Makefile: Add CLEANFILES so that .server file is removed
972 * registryd/registry.c (impl_registry_notify_event): Remove
973 unnecessary call to parser_event_type().
975 * docs/reference/cspi/tmpl/spi_component.sgml:
976 Add reference to SPI_LAYER_WINDOW.
978 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
980 * registryd/registry.c
981 (desktop_add_application): Remove leak.
982 (desktop_remove_application): Remove leak.
983 (parser_event_type): Remove leak.
985 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
988 bogus call to CORBA_string_dup(). Also removed unnecessary
989 g_string_dup/g_free calls.
991 2002-09-13 Bill Haneman <bill.haneman@sun.com>
993 * registryd/deviceeventcontroller.c:
994 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
996 * test/event-listener-test.c:
997 main: commented out three redundant listeners, to reduce output
998 noise. (They still are potentially useful for testing).
1001 2002-09-13 Michael Meeks <michael@ximian.com>
1003 * Update all the copyrights to include Ximian.
1005 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1007 * cspi/spi.h: add SPI_LAYER_WINDOW.
1009 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1010 add Accessibility_LAYER_WINDOW case.
1012 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1014 * libspi/component.c: (impl_accessibility_component_get_layer):
1015 add ATK_LAYER_WINDOW case.
1017 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1019 * configure.in: incremented micro version.
1021 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1023 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1026 Clarified and reworded our commit policy.
1029 Started an API "todo" addition list for 2.2.
1032 (impl_getSelection):
1033 Free char pointer from atk_text_get_selection, which was being leaked.
1035 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1038 Small revision to author acknowledgement.
1040 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1042 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1043 If signal has detail add it to the type of the event.
1046 2002-08-12 Michael Meeks <michael@ximian.com>
1048 * test/test-simple.c (global_listener_cb): bin bogosity.
1049 (test_keylisteners): disable, still doesn't work reliably,
1050 certainly not on my system anyway.
1052 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1053 don't leak a reference on the DEC. This round-trip
1054 fetching of the DEC per keystroke sucks, it should be
1057 * cspi/spi-private.h,
1058 * cspi/cspi-lowlevel.h,
1059 * cspi/bonobo/cspi-bonobo-listener.[ch],
1060 * cspi/bonobo/cspi-bonobo.c: get the copyright
1061 notices better - there is still a large amount of
1062 work in at-spi falsely attributed solely to Sun.
1064 * cspi/spi_main.c (cspi_object_ref): kill bogus
1065 hash lookup, just increment the ref.
1066 (SPI_freeString): make explicit the fact that we
1067 handle NULL strings just fine.
1068 (report_leaked_ref): obey coding standards.
1069 (cspi_object_hash, cspi_object_equal): kill retval.
1070 (cspi_object_release): only release if not on loan.
1071 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1072 (cspi_object_borrow, cspi_object_return): impl.
1074 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1075 use cspi_object_borrow / return.
1077 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1079 * cspi/bonobo/cspi-bonobo-listener.c:
1081 Don't call cspi_oject_new() because this is creating a new Accessible
1082 every single time that an event is fired. This causes ATs like at-poke
1083 to nolonger recognise the source of the event and thus ignore it.
1084 Re-use the object from the cache, ref it and then unref it after the
1085 listeners have been called.
1087 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1089 * test/event-listener-test.c:
1090 Added command-line options to disable mouse events (m) and
1093 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1095 * configure.in: Update required versions of ATK, GTK+ and GAIL
1097 * cspi-1.0.pc.in: Add dependency for X include files
1100 * cspi/bonobo/Makefile.am:
1101 Add $(X_CFLAGS) so that X include files
1102 are picked up even if not in standard place (bug #71686)
1104 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1106 * registryd/deviceeventcontroller.c: fix for 84261
1107 (spi_dec_mouse_moved):
1108 Added test of mouse button mask, so that we can detect mouse
1109 button release. Unfortunately we can't otherwise detect mouse
1110 button release events without consuming the mouse press event,
1111 because of the way XGrabButton works. This means that our mouse
1112 release events have a latency dependent on the polling period
1113 while the mouse button is down. At least in this case we only
1114 have to poll while the button is down, and not at other times.
1115 If the button masks don't match with what the last press event
1116 reported, we report the appropriate button release event.
1117 (spi_dec_ungrab_mouse):
1118 New method (not yet called).
1119 (spi_device_event_controller_forward_mouse_event):
1120 New method, sends mouse press event from GdkFilter.
1121 (spi_dec_init_mouse_listener):
1122 Added code to call XGrabButton, redirecting mouse button events to
1123 the root window and our Gdk event loop.
1125 Added code to filter mouse button events, and reordered.
1127 * test/event-listener-test.c:
1129 Added registration for mouse events of type "mouse:button".
1131 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1133 * registryd/deviceeventcontroller.c: partial fix for 84261
1134 (spi_dec_poll_mouse_idle):
1135 New method, a timeout which checks to see if the mouse
1137 (spi_dec_poll_mouse_moving):
1138 A timeout to be called when mouse motion is underway.
1139 (spi_dec_poll_mouse_moved):
1140 A method which fires an event if the mouse has moved, and reports
1141 whether or not it did so.
1142 (spi_dec_init_mouse_listener):
1143 A method which sets up the timeouts above.
1144 (spi_device_event_controller_new):
1145 Now calls spi_dec_init_mouse_listener.
1147 * registryd/registry.c:
1148 (spi_registry_init):
1149 Now we initialize the device event controller when the registry is
1150 initialized, instead of waiting until a client has requested a key
1151 event notification; this is because we need the event controller
1152 for mouse events, but the mouse event registration API is a
1153 "registry" call and doesn't explicitly call the
1154 deviceeventcontroller.
1155 We now report mouse motion events with a 100 ms idle latency and
1156 a 20 ms granularity when motion is in progress.
1158 * test/event-listener-test.c:
1160 We now register the "detail listener" for events of type
1161 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1162 delivered only for the first mouse event received, and thereafter
1163 "mouse:abs" events are delivered.)
1165 * cspi/spi_registry.c:
1166 DOCS: Documented the above mouse event typestrings.
1168 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1170 Happy Summer Solstice...
1172 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1173 (spi_controller_notify_keylisteners):
1174 Changes to remove a listener from the listener list, freeing its
1175 open keygrabs, if a notification to that listener fails. This
1176 means that although a dead listener can continue to hold a passive
1177 keygrab, a maximum of one dispatch to such a listener can fail
1178 before the listener is removed from the list, thus the keygrab
1179 will be released on the next occurrence.
1180 As part of this fix:
1181 (spi_notify_keylisteners):
1182 Renamed to spi_controller_notify_keylisteners, as the controller
1183 instance must now be passed as an argument.
1184 The copied 'notify' GList is now a list of DEControllerKeyListener
1185 objects, since we need more than just the CORBA reference if a
1186 notify fails and we need to deregister the listener.
1187 (impl_notify_listeners_sync):
1188 (impl_notify_listeners_async):
1189 (spi_device_event_controller_forward_key_event):
1190 Modify use of notify_keylisteners in accordance with above
1192 (spi_deregister_controller_key_listener):
1193 New method introduced by refactoring, from
1194 impl_deregister_keystroke_listener.
1195 (impl_deregister_keystroke_listener):
1196 Call spi_deregister_controller_key_listener.
1197 (spi_key_listener_clone):
1198 New method to copy a key listner without doing a 'ref' on the
1199 remote object instance; used to create a notifier list.
1200 (spi_key_listener_data_free):
1201 New method, frees data without unreffing the source.
1203 (spi_key_listener_clone_free): new method.
1204 (spi_key_listener_free):
1205 refactored to call spi_key_listener_data_free.
1207 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1209 * registryd/registry.c: [fix for bug 86048]
1210 (notify_listeners_cb):
1211 Clear CORBA system exceptions which occur when notifying
1212 listeners, before returning to the source of the original event,
1213 since the event source doesn't care if the relayed notify failed.
1214 In other words, don't complain to the atk-bridge if the registry
1215 could not notify all its listeners, that's no fault of the
1216 application and thus should not appear to be an error from the
1217 application's perspective.
1219 * cspi/spi_main.c: [fix for bug 85980]
1221 Replaced use of bonobo_object_dup_ref with call to the wrapper
1222 method, csou_dup_ref (); this silences a compiler warning and
1223 provided more portability.
1225 Ping the registry before return, and restart if necessary.
1227 * cspi/bonobo/cspi-bonobo.c:
1229 New internal method.
1231 Fixed this method to return an object reference, as it should have
1234 * cspi/cspi-lowlevel.h:
1235 Added internal definition for cspi_ping() and fixed
1236 return type of cspi_dup_ref().
1239 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1241 * atk-bridge/bridge.c: [fix for bug 85305]
1242 (spi_atk_bridge_register_application):
1243 New method where the initial application registry calls have been
1244 moved; it allows an application to re-register in response to
1245 certain error conditions (such as a registry restart, see below).
1247 Moved some initialization code to the method
1248 spi_atk_bridge_get_registry, below.
1249 (spi_atk_bridge_get_registry):
1250 New, private accessor function for the Accessibility_Registry
1251 instance. If the registry has not been started before, or has
1252 died (as detected by failure of a CORBA exception), it is
1253 restarted before return, and spi_atk_bridge_register_application
1254 is called again to register with the new bridge instance.
1255 (spi_atk_emit_eventv):
1256 Set registry_died on error; use spi_atk_bridge_get_registry () to
1257 access the registry.
1259 * registryd/registry.c:
1260 (impl_accessibility_registry_register_global_event_listener):
1261 Set listener's event_type_quark to etype.minor instead of
1262 etype.major (fix for bug 84856).
1264 * test/event-listener-test.c:
1265 (report_detail_event):
1266 Change the output string so that user/tester can tell that the
1267 'detail listener' was called instead of the 'generic listener'.
1269 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1271 Fixes for bugs 84900, 84908, 84897, 84898.
1276 Revved version to 1.1.0
1277 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1278 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1280 * idl/Accessibility_Registry.idl:
1281 (EventListener::notifyEvent):
1282 Removed 'oneway' directive after extensive consulation with
1283 ORBit2 team and others. This means also that unref() of the event
1284 source can and should be done synchronously after emission, rather
1285 than remotely in the client, after servicing the notify call on
1288 NOTE: This change speeds up listener performance considerably, but
1289 introduces new latency on the application side. We may want to
1290 add an event queue to the atk-bridge.
1292 * atk-bridge/bridge.c:
1293 (spi_atk_bridge_focus_tracker):
1294 Do a local unref() on the event source after emission.
1296 * registryd/registry.c:
1297 (desktop_remove_application):
1298 Do an unref() on the event source after emission.
1299 (desktop_add_application):
1300 Do an unref() on the event source after emission.
1301 (notify_listeners_cb):
1302 When relaying an event, don't automatically add the event source
1303 to the local object cache, just CORBA_dup it instead. Likewise,
1304 if this method reenters, release the ref rather than calling
1306 (impl_registry_notify_event):
1307 No longer call remote unref() on the event source after dispatch.
1309 * libspi/eventlistener.c:
1310 (impl_accessible_event_notify_event):
1311 Removed remote unref ()
1313 * cspi/bonobo/cspi-bonobo-listener.c:
1315 We now call cspi_object_new() instead of cspi_object_add() on
1316 receipt of an event; thus we only have an implicit object ref
1317 while the cspi_event method is being executed. If we need to keep
1318 a reference to the object, the listener must call ref() on the
1319 object. Thus also we don't need to call cspi_object_unref() after
1320 invoking the listener callbacks in this method.
1324 New internal API for creating a new cspi object, without adding it
1325 to the object cache.
1327 Now uses cspi_object_new() to create the cspi object instance.
1329 Now checks to see if the object is in the internal object cache,
1330 and adds it if necessary before incrementing its refcount (note
1331 that new objects are added with a refcount of 1).
1332 (report_leaked_ref):
1333 New method which gives some information on leaked object instances
1334 if leak detection is turned on.
1336 * test/event-listener-test.c:
1337 (timing_test_event):
1338 New method, used for testing event delivery timing for special
1339 events of type "object:test". It reports elapsed time and
1340 events/sec every 500 events.
1342 Added a new listener, 'test listener', to check timing of event
1343 receipt as noted above.
1345 Added some timing output here also, reports elapsed time every 100
1348 * test/stress-test.c:
1349 Emit events of type "object:test", for use with "event-listener-test".
1351 * test/test-simple.c:
1352 (global_listener_cb):
1353 Call Accessible_ref() on the event source before calling
1354 validate_accessible, since the validation process does pointer
1355 comparisons on the event source, meaning that the event source
1356 needs to be added to the local object cache first. Any use of
1357 such pointer comparisons between Accessible objects requires that
1358 the caller hold an explicit reference to those objects.
1359 We also must therefore call Accessible_unref() when leaving this method.
1361 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1363 * registryd/deviceeventcontroller.c:
1364 (spi_controller_update_key_grabs):
1365 Fix for #84735, subsequent keygrab listeners not informed of
1366 registration failure.
1369 (spi_base_construct):
1370 Add an assertion on construct, to make sure the GObject passed in
1371 is really a GObject.
1373 Explicitly initialize object->gobj pointer to NULL;
1375 * cspi/bonobo/cspi-bonobo-listener.c:
1376 (cspi_object_add_ref):
1377 New method, can specify whether to dup-ref a bonobo object passed
1378 in if it's newly added to the object cache.
1380 Now calls cspi_object_add_ref with second param of "FALSE". This
1381 prevents us from doing a pointless dup-ref followed by
1382 release-unref for all those cases where the object is already in
1383 our object cache (fix for #85205).
1385 * atk-bridge/bridge.c:
1386 (spi_atk_bridge_idle_init):
1387 Removed this method, we don't need to initialize in an idle
1390 Changed to call spi_atk_register_event_listeners directly, not via an
1391 idle handler. (fix for #81139)
1392 (gnome_accessibility_module_shutdown):
1393 Removed conditional around deregistration of listeners, since we
1394 don't use the idle handler and thus have always registered when
1396 (spi_init_keystroke_from_atk_key_event):
1397 Changed references to Accessibility_KEY_PRESSED to
1398 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1400 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1402 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1407 * test/stress-test.c:
1410 (may have been an incomplete commit yesterday?)
1412 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1415 Added target for new stress-test.
1417 * test/stress-test.c:
1418 New test, sends 1000 focus notifies in quick succession.
1420 * test/key-listener-test.c:
1421 Now we report whether a keylistener registration
1422 request succeeded or failed.
1424 * test/event-listener-test.c:
1425 Uncommented some listeners which are now implemented.
1428 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1430 * registryd/deviceeventcontroller.c:
1431 (spi_controller_update_key_grabs):
1432 Fix for #82509, lack of failure notification when
1433 ALL_WINDOWS keygrabs fail due to XGrabKey
1434 failure: we synchronize the server when
1435 registering a passive grab, to make sure we get the
1436 error message before the call returns.
1438 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1440 * test/test-simple.c:
1442 Removed #ifdef KEY_IMPL_WORKS guards.
1443 (test_keylisteners):
1444 Removed #ifdef KEY_IMPL_WORKS guards.
1445 Fixed bug which was causing a hang waiting for a
1446 "press" event (which was already overwritten by a "release"
1447 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1449 Added code to set globals 'key_press_received' and
1450 'key_release_received'.
1453 Added section "1.1 API Proposed Additions" which
1454 lists API additions desired for at-spi-1.1 (only one so far).
1455 Updated TODO list a little.
1457 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1459 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1462 * configure.in: Revved to 1.0.0.
1464 * idl/Accessibility_Registry.idl:
1465 (registerKeystrokeListener):
1466 Added boolean return value.
1468 * registryd/registry.c:
1469 (notify_listeners_cb): Minor fix to debug output.
1471 * registryd/Accessibility_Registry.server.in.in:
1472 Revved version number in OAFIID to 1.0.
1474 * registryd/registryd.c:
1476 Use new OAFIID version.
1478 * cspi/bonobo/cspi-bonobo.c:
1480 Use new OAFIID version.
1486 * atk-bridge/bridge.c:
1488 Use new OAFIID version.
1490 * registryd/deviceeventcontroller.c:
1491 (impl_register_keystroke_listener):
1492 Added CORBA_boolean return value.
1493 (spi_controller_register_device_listener):
1494 Added gboolean return value.
1495 (spi_controller_register_global_keygrabs):
1496 Added gboolean return value.
1497 (spi_key_set_contains_key):
1498 Added implementation for many more control keys,
1499 for instance F1-F12, arrow keys, End, Home, Page_Up,
1501 [TODO: some still not implemented].
1503 * text/screen-review-test.c:
1504 (text_chunk_pad_string):
1505 New function: it provides mapping between coordinate
1506 positions of text chunks and character positions in the
1507 screen-review-line output string.
1508 (text_chunk_to_string):
1509 New function, calls text_chunk_pad_string with various
1510 pad/delimiter characters. Pushbuttons are delimited with
1511 square brackets, Frames with vertical 'pipe' lines, and
1512 other text with double quotes.
1513 (text_chunk_list_to_string):
1514 Calls new function text_chunk_to_string.
1515 (toplevel_composite):
1516 New function to composite layers CANVAS through
1517 POPUP in each toplevel (other layers are composited
1518 across toplevels, i.e. BACKGROUND and OVERLAY).
1519 (review_buffer_composite):
1520 Revise to use new methods.
1526 2002-05-31 Laszlo Peter <laca@sun.com>
1528 * configure.in: add the Xtst libdir to the runpath on Solaris,
1529 since it's not in the default library search path.
1531 2002-05-29 jacob berkman <jacob@ximian.com>
1533 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1535 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1537 * test/screen-review-test.c:
1538 (text_chunk_pad_string):
1539 Added method, which pads the string according to the
1540 text bounds of the chunk. It also takes a 3-character
1541 string as a param which indicates the characters to be
1542 used for start, padding, and end delimitation of the chunk.
1543 (text_chunk_to_string):
1544 Changed to use text_chunk_pad_string.
1546 * configure.in: Fixed bug in AC_OUTPUT that was
1547 causing path substitution in Accessibility_Registry.server
1550 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1552 * text/screen-review-test.c:
1553 (guess_string_clip):
1554 New method which attempts a best-guess at clipping
1555 text from components (like Java labels) which don't
1556 actually implement AccessibleText. This inaccurate
1557 clip is based on the assumption that the label is
1558 justified left-and-right, and monospaced.
1559 (text_chunk_get_clipped_string):
1560 We now call guess_string_clip() for text-containing
1561 components that don't implement AccessibleText.
1563 * test/screen-review-test.c:
1564 (review_buffer_get_text_chunk):
1565 We now pull "name" from labels if they do not implement
1566 AccessibleText (i.e. for Java labels).
1567 (get_screen_review_line_at):
1568 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1571 Replaceded AC_OUTPUT target
1572 registryd/Accessibility_Registry.server with
1573 registryd/Accessibility_Registry.server.in.
1575 * registryd/Accessibility_Registry.server.in:
1576 Removed (this is now a Makefile target).
1578 * registryd/Accessibility_Registry.server.in.in:
1579 Added (source for target above). We now use $(libexecdir) as
1580 prefix for the executable at-spi-registryd.
1582 * registry/Makefile.am:
1583 Now install at-spi-registryd into $(libexecdir), and build .server
1584 file with path (see above).
1586 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1588 * test/screen-review-test.c:
1589 (text_chunk_get_clipped_string):
1590 We now check to see if words fall within clip bounds
1591 before resorting to character-by-character clip bounds testing.
1593 * TODO: Added a section for "2.2 Proposed API Additions".
1595 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1597 * test/screen-review-test.c:
1599 Added a screen review benchmarking and test program to test
1602 * cspi/spi_accessible.c:
1604 Made some of the debug strings passed to cspi_check_ev a
1605 little more specific.
1607 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1609 * test/screen-review-test.c: Fix crashes in debug statements
1611 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1613 * test/screen-review-test.c: Added this file.
1615 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1617 * atk-bridge/bridge.c: changed "object:state-change" to
1618 "object:state-changed" to match docs.
1620 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1622 * atk-bridge/bridge.c: Hooked up state-change event details.
1624 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1626 * registryd/registry.c:
1627 Fixed quarking bug in event string parsing; now events with
1628 detail parameters get matched correctly to listeners.
1631 * util/idl/Magnifier.idl: remove.
1633 * util/*.[ch]: Remove.
1634 Magnification utilities and IDL are now in module gnome-mag.
1636 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1638 * registryd/deviceeventcontroller.c:
1639 Fixed bug in grab key conversion which was causing keycode grabs
1640 to be converted to AnyKey grabs.
1643 updated NEWS file to reflect recent spin-off of gnome-mag.
1645 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1647 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1648 busted AccessibleStateSet_compare. Removed redundant casts.
1650 * cspi/spi-action.c: Removed redundant casts.
1652 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1654 * cspi/spi_component.c: Fixed typos and casting error.
1656 * cspi/spi_editabletext.c: Removed redundant casts.
1658 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1660 * cspi/spi_hypertext.c: Eliminated redundant casts.
1662 * cspi/spi_image.c: Eliminated redundant casts.
1664 * cspi/spi_registry.c: Eliminated redundant casts.
1665 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1666 * cspi/spi_selection.c: Removed redundant casts.
1667 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1668 handling. Screen geometry and text offsets were being returned as 0
1669 on error which is technically valid-- changed these to return -1.
1670 Added marshaller for text boundary types to fix bug with boundary
1671 types being passed incorrectly to atk.
1673 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1676 * cspi/spi_registry.c:
1677 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1678 which was uncovered by the recent key changes.
1680 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1682 * test/event-listener-test.c:
1684 Added new test, "event-listener-test";
1685 this code does two things; it benchmarks traversal time
1686 for the accessible hierarchy for the first running accessible
1687 app, and it connects listeners for all supported event types.
1688 It is thus useful as an example event listener and for
1689 diagnostics/debugging of event generation.
1691 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1694 Removed unnecessary dependency on libutil.
1697 Revved micro version: 0.13.1
1699 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1702 Removed util/Makefile from targets.
1705 Removed util subdir from SUBDIRS (temporarily,
1706 pending removal of magnifier-only code
1710 #ifdef-ed out magnifier dependencies, since
1711 magnifier IDL, headers, and binary now live in
1712 module gnome-mag and we don't want at-spi to depend
1713 on gnome-mag. A magnifier demo which can run alongside
1714 simple-at is forthcoming in the gnome-mag module.
1716 NOTE: Split magnifier binary, IDL, and magnification
1717 activation code from at-spi into module gnome-mag.
1719 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1721 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1722 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1724 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1727 Revved to version 0.13.0
1729 * idl/Accessibility_Registry.idl:
1730 Changed definition of KeySet from sequence of longs to sequence of
1731 KeyDefinitions, and added KeyDefinition struct.
1732 Required for fix to bug 80616.
1734 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1735 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1736 to use new definition (see above).
1738 * registryd/deviceeventcontroller.c: handle_keygrab(),
1739 spi_keyset_contains_key():
1740 Changed to make use of new struct; this allows matching based on
1741 string key-name, for instance "Tab". This also allows matching of
1742 composed characters, non-alphanumeric characters in a way that
1743 doesn't involve dependencies on X keysym codes directly, etc.
1745 * test/key-listener-test.c:
1746 Added test for Alt-Tab key using "string" specification of keyset,
1747 and modified one of the tests to use a keycode-based keyset.
1748 Thus this test both tests and demonstrates the creation and use of
1749 keysets of three forms: specified via keycode array,
1750 keysym array, and string array. (The string case only contains a
1751 single string, i.e. a string array of length 1).
1754 Turned on PRINT_TREE option by default. Also fixed a
1755 string-freeing bug in the PRINT_TREE code.
1756 Added a listener to window:minimize events.
1758 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1760 * atk-bridge/bridge.c:
1761 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1762 for window:activate and window:deactiveate
1763 (atk_bridge_property_event_listener atk_bridge_signal_listener
1764 atk_bridge_window_event_listener) Tidy debug code
1766 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1768 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1769 Fixed handling for NULL return value from ATK.
1771 * libspi/action.c libspi/component.c libspi/editabletext.
1772 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1773 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1774 Removed redundant casts.
1776 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1777 Fixed off by one bug.
1779 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1780 function not present in idl)
1782 2002-05-02 jacob berkman <jacob@ximian.com>
1784 * atk-bridge/Makefile.am: make atk-bridge a real module
1786 2002-04-26 Radek Doulik <rodo@ximian.com>
1788 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1789 atk_state_types table
1791 2002-04-22 jacob berkman <jacob@ximian.com>
1794 * libspi/Makefile.am: add deps on the built files to help
1795 automake, and don't version the ORBit typelib
1797 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1799 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1800 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1801 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1802 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1803 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1804 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1805 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1806 libspi/accessible.h libspi/accessible.h libspi/base.h
1807 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1808 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1809 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1810 libspi/spi-private.h libspi/statetset.h libspi/table.h
1811 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1812 util/mag_client.h util/mag_control.c util/mag_image.c
1813 util/mag_image.h util/magnifier.c util/magnifier.h:
1814 Add missing file headers; standardize existing ones
1816 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1818 * atk-bridge/bridge.c: Added window event support.
1820 2002-04-18 Michael Meeks <michael@ximian.com>
1822 * libspi/relation.c (impl_getNTargets): impl.
1823 (impl_getTarget): impl.
1825 * libspi/Makefile.am: fix stateset install.
1827 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1830 Started putting useful info in this file.
1832 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1834 * atk-bridge/bridge.c:
1835 Propagate state-changed notifications to ATs
1837 * cspi/spi_registry.c: update docs to reflect actual behavior of
1838 state-change events.
1840 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1843 Incremented version to 0.12.1
1845 * util/mag_client.h:
1846 Add missing declaration for magnifier_exit,
1847 used by mag_control.c - Forte compiler didn't like
1848 the implicit redeclaration of the function :-(
1851 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1854 Revved version to 0.12 due to API change (see below).
1856 * cspi/spi-roletypes.h:
1857 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1858 definition from the inline docs, and added docs
1859 for SPI_ROLE_LAST_DEFINED.
1862 * cspi/spi_streamablecontent.c:
1863 Added missing seek_type parameter to
1864 (so far unused) method,
1865 AccessibleStreamableContent_seek().
1866 [ RT approval JodyG. ]
1869 Fixed docs for SPI_createAccessibleKeystrokeListener.
1871 * cspi/spi_registry.c:
1872 Fixed docs for SPI_KEYSET_ALL_KEYS.
1874 * docs/reference/cspi/at-spi-cspi-sections.txt:
1875 Added a number of missing APIs to SECTIONS.
1877 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1879 * registryd/Makefile.am:
1881 * cspi/bonobo/Makefile.am:
1882 Add $(X_LIBS) to makefiles.
1884 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1887 Revved version to 0.11.
1889 * libspi/component.c:
1890 Added implementation for grabFocus.
1892 * idl/Accessibility_Component.idl
1893 (Accessibility_Component_grabFocus):
1894 Made this method return boolean to indicate success or failure, to
1895 be consistent with cspi and the corresponding ATK method.
1897 * idl/Accessibility_Selection.idl
1898 (Accessibility_Selection_selectAll) :
1899 Made these methods return boolean to indicate success or
1900 failure, to be consistent with cspi and the corresponding ATK methods.
1902 * idl/Accessibility_EditableText.idl
1903 (Accessibility_EditableText_setTextContents,
1904 Accessibility_EditableText_insertText,
1905 Accessibility_EditableText_cutText,
1906 Accessibility_EditableText_deleteText,
1907 Accessibility_EditableText_pasteText):
1908 Made these methods return boolean to indicate
1911 * cspi/spi_editabletext.c:
1912 Made these methods return booleans.
1914 * libspi/selection.c:
1915 * libspi/component.c:
1916 * libspi/editabletext.c:
1917 Connected the boolean returns from ATK
1918 to the server-side code referenced above.
1920 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1922 * idl/Accessibility_Table.idl: Added missing methods,
1923 Accessibility_Table_addRowSelection,
1924 Accessibility_Table_addColumnSelection,
1925 Accessibility_Table_removeRowSelection,
1926 Accessibility_Table_removeColumnSelection.
1929 Added C wrappers for above IDL:
1930 AccessibleTable_addRowSelection,
1931 AccessibleTable_addColumnSelection,
1932 AccessibleTable_removeRowSelection,
1933 AccessibleTable_removeColumnSelection.
1936 Added server-side implementation code for IDL above, connecting
1937 to pre-existing ATK api.
1939 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1941 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1943 * libspi/accessible.c: Added implementation fo
1944 Accessibility_Accessible_get_state.
1946 * libspi/libspi.h: Added stateset.h to the list of includes.
1948 * libspi/stateset.c: Fixed broken implementation.
1950 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1953 Added implementation code for Accessibility_Magnifier_exit ().
1955 * util/mag_control.c:
1956 Added test code for above method; you can
1957 now kill an existing magnifier via
1958 ./mag_control q, from the util directory.
1960 * test/key-listener-test.c:
1962 Added a new test, for our key listener API.
1964 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1966 * test/app.c, test/keysynth-demo.c:
1968 Replace use of snprintf with g_snprintf.
1969 (fix for bugzilla 78249)
1971 2002-03-27 Michael Meeks <michael@ximian.com>
1975 * util/Makefile.am (INCLUDES): fix.
1976 (DONT_DIST_SOURCE): don't distribute the
1979 * libspi/Makefile.am (dist-hook): ditto.
1981 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1983 * libspi/hypertext.c:
1984 Fix warnings when yelp is used with atk-bridge
1986 2002-03-21 Michael Meeks <michael@ximian.com>
1988 * libspi/application.c (spi_application_new):
1989 use spi_accessible_construct so we use the AtkObject
1992 2002-03-19 Michael Meeks <michael@ximian.com>
1994 * registryd/registry.c (desktop_remove_application),
1995 (desktop_add_application): clean coding style.
1997 * registryd/desktop.c (spi_desktop_remove_application),
1998 (spi_desktop_add_application): kill re-enterency hazards.
1999 (spi_desktop_dispose): remove bogus redundant cast
2000 obscuring bug; fix bug too.
2001 (spi_desktop_init): make the desktop object immortal.
2003 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2006 Added a #define-guarded tree-traversal step
2007 when enumerating the apps (diagnostic tool).
2009 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2011 * idl/Accessibility_Role.idl:
2012 Added ROLE_DRAWING_AREA which seemed to be missing from the
2015 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2017 * cspi/spi-roletypes.h cspi/spi_accessible.c
2018 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2021 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2022 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2023 AT when applications are added and removed from the desktop. This
2024 reverts the previous broken implementation using the backing
2025 AtkObject for the SpiDesktop.
2027 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2029 * registryd/desktop.c: emit the "children-changed::add" and
2030 "children-changed::remove" signals on the backing ATK object for
2031 the desktop so AT can tell when applications are started and shut
2034 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2036 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2038 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2040 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2042 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2044 * cspi/state-types.h: synched with IDL and ATK
2046 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2048 * libspi/accessible.c
2049 (impl_accessibility_accessible_get_child_at_index):
2050 Change return value for g_return_if_fail ()
2051 to CORBA_OBJECT_NIL instead of "0" (!)
2053 * registryd/Makefile.am:
2054 * registryd/Accessibility_Register.server.in:
2055 Changed name of executable, "registryd",
2056 to something more informative:
2059 2002-03-13 Michael Meeks <michael@ximian.com>
2061 * atk-bridge/bridge.c (atk_bridge_init): don't register
2062 if we're in a bonobo-component, rather than a bonobo app.
2064 2002-03-13 Michael Meeks <michael@ximian.com>
2066 * atk-bridge/bridge.c (gtk_module_init): split
2067 out body to (atk_bridge_init): here, since otherwise
2068 we get symbol conflicts and oddness when invoked
2069 from (gnome_accessibility_module_init): here (upd.)
2071 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2074 New file. Explicitly allow "build sheriff" putbacks provided
2075 they are tested on Solaris.
2077 * docs/reference/cspi/Makefile.am:
2078 Added '-' to the "cp" command for index.sgml.
2079 ("patch by thomasvs, soon coming to a GUADEC near you")
2082 Incremented version number (0.9.0) for new release.
2083 Changed macro that checks for popt, to better detect
2084 obsolete versions of popt.
2087 Added X_LIBS to AC_SUBST, for applications
2088 that call Xlib API directly.
2091 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2094 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2097 Fix regression caused by hard-coding major
2098 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2101 * test/test-simple.c (test_editable_text),
2102 (test_test): revert previous change (error was
2103 a regression in gail which is now fixed).
2105 2002-03-04 Michael Meeks <michael@ximian.com>
2107 * test/test-simple.c (test_editable_text),
2108 (test_text): pass G_MAXINT instead of '-1' for
2109 whole string - is this a good thing !?
2111 * cspi/spi_accessible.c
2112 (Accessible_getRelationSet): fix crasher bug
2113 overwriting the end of the array.
2115 * test/test-simple.c (validate_accessible): free,
2116 not g_free returned relation set.
2118 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2120 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2121 implemented stateset support
2123 * idl/Accessibility_State.idl: Made necessary changes to
2124 the IDL to support state sets.
2126 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2128 * registryd/deviceeventcontroller.c:
2129 Added implementation for generateMouseEvent.
2131 * cspi/spi_registry.c:
2132 Connected new implementation for generateMouseEvent
2135 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2138 Incremented revision (but no change in public API
2139 outside of 'utils', which are not installed public yet.)
2141 * libspi/component.c:
2142 Changed to use atk_component API for layers and
2143 mdi_zorder, instead of deprecated atk_object API.
2145 Magnification Utility Enhancements:
2148 Added implementation of createZoomRegion, clearAllZoomRegions,
2149 resizeZoomRegion. Added new commandline argument
2150 "--no-initial-region". Note that clearAllZoomRegions doesn't
2151 unmap the old '0' region as it should (yet), and the other
2152 methods only work when creating/resizing a single region,
2153 which is "region 0".
2154 (Code for multiple region support will be added later.)
2157 Now we raise the magnifier window each time it's refreshed;
2158 this will help keep it on top.
2160 * util/mag_client.h:
2161 Added simple wrappers for above, used by mag_control.
2162 For general use, it's recommended to use the bonobo magnifier
2163 control API directly instead of using these wrappers.
2166 Moved ZoomRegionData from magnifier.c to this file.
2168 * util/mag_control.c:
2169 Added some code to exercise new IDL implementations.
2171 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2173 * libspi/text.c: Provide implementation for getAttributes.
2175 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2178 Incremented revision.
2180 * test/test-simple.c:
2181 Replaced use of deprecated g_main_iteration with
2182 g_main_context_iteration.
2184 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2187 Incremented revision for desktop alpha 2.
2189 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2191 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2194 * test/simple-at.c: include netinet/in.h.
2196 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2198 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2199 use NULL, not CORBA_OBJECT_NIL.
2201 * libspi/accessible.c:
2202 (impl_accessibility_accessible_get_relation_set):
2203 allocate the sequence correctly.
2205 * libspi/remoteobject.h: kill spi_remote_object_new.
2207 * test/test-simple.c: (validate_accessible): add code
2208 to test relation sets, now all we need is to figure
2209 out how to excercise this code path :/
2211 2002-01-18 Michael Meeks <michael@ximian.com>
2213 * test/test-simple.c
2214 (key_listener_cb): consume the key.
2215 (test_keylisteners): update.
2216 (main): wait for any pending unrefs on events.
2218 * registryd/deviceeventcontroller.c
2219 (spi_controller_update_key_grabs): only re-issue the
2220 grab on a key release.
2221 (spi_device_event_controller_forward_key_event):
2222 refresh the keygrabs before we notify the listeners,
2223 to reduce the X ungrab / re-grab race.
2224 (spi_controller_register_with_devices): remove
2225 XSelectInput - we do that with the gdk_window_ call.
2226 (_spi_controller_device_error_handler): return a value.
2227 s/GDK_DISPLAY/spi_get_display/
2229 2002-01-17 Michael Meeks <michael@ximian.com>
2231 * registryd/deviceeventcontroller.c
2232 (_deregister_keygrab): don't blow out the later
2235 * test/test-simple.c (test_keylisteners): do a
2236 more intelligent validation.
2238 2002-01-14 Michael Meeks <michael@ximian.com>
2240 * atk-bridge/bridge.c
2241 (gnome_accessibility_module_init),
2242 (gnome_accessibility_module_shutdown): impl.
2243 (gtk_module_init): protect vs. double inits.
2244 (add_signal_listener): impl.
2245 (spi_atk_bridge_state_event_listener): kill
2246 (deregister_application): split out of
2247 (spi_atk_bridge_exit_func): here.
2249 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2252 Added caret tracking when using magnifier, and
2253 now use text bounds for focus tracking of text elements, rather than
2254 the component bounds - this is helpful for short text fields in long
2255 table cells, at high magnification.
2257 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2259 * registryd/deviceeventcontroller.c:
2260 Regression fix for keylistener de-registration; global keygrabs
2261 were not being released when deregisterKeystrokeListener was
2262 called in cspi, since
2263 Accessibility_DeviceEventController_deregisterKeystrokeListener
2264 was called with a zero-length keyset. That is because the cspi
2265 method, SPI_deregisterKeystrokeListener, does not take a keyset
2266 parameter but instead should remove all the key grabs held be a
2268 The code in impl_deregister_keystroke_listener was changed to copy
2269 the keylist from the listener instance previously registered with
2270 the DeviceEventController before releasing the grabs.
2272 * registryd/registry.c:
2273 * registryd/deviceeventcontroller.c:
2274 * libspi/spi-private.h:
2276 Changed spelling of "re-enterant" to "re-entrant" globally.
2278 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2280 * test/test-simple.c:
2281 Changed key listeners test - the test was slightly mis-using the
2282 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2283 It now uses '=' as the key event listened to and generated,
2284 relying on a keysym match rather than assuming that keycode 33
2285 is always equal to keysym '!'.
2287 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2290 Changed simple-at to use a specific keyset, rather than
2291 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2292 manager, desktop, etc.
2294 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2296 * registryd/deviceeventcontroller.c:
2297 Replaced standard X error handler with a special handler that
2298 is non-fatal for failed keygrabs. This works around
2299 problems with keygrab clashes sometimes observed on
2301 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2302 mouse handling code as yet).
2304 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2307 Incremented revision for desktop alpha release.
2310 Fixed a couple of the more glaring errors (still not
2313 2002-01-11 Michael Meeks <michael@ximian.com>
2315 * registryd/deviceeventcontroller.c
2316 (spi_device_event_controller_forward_key_event): kill
2317 XUngrabKey / XKeyGrab race.
2318 (spi_controller_grab_keyboard): rename to
2319 (spi_controller_update_key_grabs): this, and deal
2320 with incremental adding / removing grabs more
2322 (_register_keygrab): ensure we're not pending a remove.
2323 (spi_grab_mask_free): impl.
2324 (spi_controller_register_global_keygrabs): split out
2326 (handle_keygrab): impl.
2327 (_deregister_keygrab): impl.
2328 (spi_controller_deregister_global_keygrabs): impl.
2329 (spi_controller_update_key_grabs): re-issue the grab if
2330 we just recieved a notification.
2332 * test/test-simple.c (key_listener_cb): remove debug.
2334 * registryd/deviceeventcontroller.c
2335 (spi_controller_register_device_listener): after
2336 registering a global keygrab, actualy register it !
2337 don't wait for a timeout; doh !
2339 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2340 to make it more readable / manipulable.
2341 s/grabmask/grab_mask/ s/refcount/ref_count/
2342 s/keyval/key_val/ s/modmask/mod_mask
2344 2002-01-08 Michael Meeks <michael@ximian.com>
2346 * registryd/deviceeventcontroller.c
2347 (spi_controller_register_with_devices): use gdk calls to
2349 (global_filter_fn): implement the filter.
2350 (spi_device_event_controller_check_key_event): rename to
2351 (spi_device_event_controller_forward_key_event): this & upd.
2352 (spi_get_display): replace with GDK_DISPLAY.
2354 * registryd/deviceeventcontroller.c
2355 (spi_controller_deregister_device_listener): unroll into
2356 (impl_deregister_keystroke_listener): here to simplify.
2357 (spi_controller_register_global_keygrabs): split cut and
2358 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2359 (spi_controller_deregister_device_listener): remove.
2360 (impl_register_mouse_listener): remove, no mouse listener
2361 support in at-spi-1.0
2363 * registryd/registry.c
2364 (_device_event_controller_hook): kill.
2365 (spi_registry_init): upd.
2367 * registryd/deviceeventcontroller.c
2368 (spi_device_event_controller_class_init): upd.
2369 (spi_check_key_event): merge into.
2370 (spi_device_event_controller_check_key_event):
2371 here and kill strange static ev init, don't leak
2372 the x_event - nor dynamicaly allocate it.
2374 * registryd/registry-main.c (main): re-direct
2375 timeout to remove strange vtable mess.
2377 * registryd/deviceeventcontroller.c
2378 (remove_listener_cb): impl.
2379 (spi_controller_deregister_device_listener):
2380 fix re-enterancy hazard.
2382 2002-01-07 Michael Meeks <michael@ximian.com>
2384 * registryd/deviceeventcontroller.c
2385 (spi_device_event_controller_new): upd.
2386 (impl_notify_listeners_sync): upd. debug.
2387 (spi_notify_keylisteners): fix re-enterancy hazards,
2388 prettify, remove O(n*n) iteration.
2389 (spi_controller_grab_keyboard): fix iteration.
2390 (spi_check_key_event): re-format to suit coding style.
2391 Clean all the warnings - we're warning free.
2393 * registryd/deviceeventcontroller.h:
2394 * registryd/registry.h: make mutualy referential with
2395 typesafe forward references instead of (!) void pointer
2398 2002-01-11 Michael Meeks <michael@ximian.com>
2400 * cspi/spi_accessible.c (role_names): add a role name
2401 to sync this array with the enum; and make the regression
2404 2002-01-10 Michael Meeks <michael@ximian.com>
2406 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2407 allow expansion of enumeration & kill warning.
2409 * test/test-simple.c (key_listener_cb): impl.
2410 (test_keylisteners): impl.
2412 * cspi/spi-listener.h: make listener signatures const
2413 on the provided (const) events.
2415 * test/keysynth-demo.c: upd. to const events.
2417 * test/simple-at.c: ditto.
2419 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2422 Rev the version to 0.5 (the previous tarball was named 0.4,
2423 even though the micro number was 3), so we need to rev upwards
2424 again for beta2/"desktop-alpha"
2427 Checked in a demo script, which requires editing before use!
2428 Proceed with caution.
2431 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2433 * cspi/spi_accessible.c:
2434 Add a couple of missing enum initializations, and fix some enum
2437 * cspi/spi_registry.c:
2438 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2440 * docs/reference/cspi/at-spi-cspi-sections.txt:
2441 Remove/fix a couple of broken document references.
2444 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2445 as Alt-Control to listen for commands, since on some systems
2446 Control-Alt may already be grabbed.
2448 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2451 Update version number to 0.4 for Beta2.
2453 * libspi/accessible.c, libspi/accessible.h:
2454 Expose spi_accessible_construct, to enable libgail-gnome
2455 construction from spi_accessible subtype.
2457 * utils/magnifier.c:
2458 Workaround for bug in some non-gnome-compliant window managers
2459 which made magnifier resize improperly.
2461 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2463 * libspi/accessible.c: (spi_accessible_new) :
2464 Move the test for SPI_IS_REMOTE_OBJECT to
2465 spi_accessible_new_return, fixing a bug and compile time warning.
2467 2002-01-08 Michael Meeks <michael@ximian.com>
2469 * registryd/registry.c (parse_event_type): remove strndup.
2471 * libspi/Makefile.am (libspi_la_SOURCES): remove
2472 sources already included in the headers section.
2474 * libspi/util.c: add.
2476 * libspi/spi-private.h: add.
2478 * registryd/registry.c: update to moved list iterators.
2480 2002-01-05 Michael Meeks <michael@ximian.com>
2482 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2484 * test/test-simple.c (main): ditto.
2486 2002-01-04 Michael Meeks <michael@ximian.com>
2488 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2489 redundant construct.
2491 * registryd/registry.c
2492 (get_listener_list): impl.
2493 (impl_accessibility_registry_register_global_event_listener):
2494 re-impl. to simplify using ~, remove dodgy const cast off.
2495 (parse_event_type): constify.
2496 (impl_accessibility_registry_deregister_global_event_listener_all):
2497 re-write, more efficiency and simplicity, kill re-enterancy
2499 (compare_listener_corbaref, compare_corba_objects),
2500 (compare_listener_quarks): define out.
2501 (impl_accessibility_registry_deregister_global_event_listener):
2502 re-write for effiency, and nail re-enterancy hazard.
2503 (impl_accessibility_registry_get_desktop_list): impl.
2504 (re_enterant_list_delete_link): impl.
2505 (re_enterant_list_foreach): impl.
2506 (remove_listener_cb): impl.
2507 (_registry_notify_listeners): kill.
2508 (notify_listeners_cb): impl.
2510 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2511 (SPI_getDesktopList): impl.
2513 * test/test-simple.c (test_desktop): test the methods.
2515 2002-01-03 Michael Meeks <michael@ximian.com>
2517 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2518 keystrings since we free them
2519 (SPI_freeAccessibleKeySet): in here.
2521 * libspi/accessible.c (spi_accessible_new): kill warning,
2522 wonder what is going on with the constructor here.
2524 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2526 * libspi/accessible.c (spi_accessible_new ()) :
2527 Added check to see if AtkObject is an SpiRemoteObject before
2528 creating an SpiAccessible.
2530 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2532 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2533 Enable keygrabs using the Control modifier, now that they are
2534 working properly (they were previously disabled).
2537 Change the command keygrab for this demo to "Control+Alt", so as
2538 to conflict with fewer other key commands on the system; this
2539 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2541 Removed a pointlessly-chatty keylistener for unshifted keys
2542 (shifted keys are still reported).
2544 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2546 * libspi/remoteobject.h:
2547 * libspi/remoteobject.c:
2548 Added definitions for special AtkObject subtype, required for
2549 support of remote components (specifically, used by BonoboControl
2550 accessibility implementation).
2552 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2554 * cspi/spi.h: synched relation types with ATK
2556 * cspi/spi_accessible.c: Added implementations of
2557 AcccessibleRelation_* methods
2559 * idl/Accessibility_Relation.idl: added getRelationTypeName
2560 method. Synched known relation types with ATK. Allowed for
2561 relation type extension with the RELATION_EXTENDED type.
2563 * libspi/relation.c: Provided implementations for
2564 AccessibleRelation methods.
2566 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2568 API tweaks for today's API 'freeze'.
2571 Added placeholder functions to allow future compatible expansion
2572 of the IDL interfaces.
2574 * idl/Accessibility_Registry.idl:
2575 Changed generateKeyEvent to generateKeyboardEvent. Changed
2576 signature of this method to accept an optional keystring in
2577 parameter (for complex text input synthesis) and changed use of
2578 simple 'boolean' parameter in registerKeystrokeListener to a
2579 struct, EventListenerMode.
2581 * cspi/spi_accessible.c:
2583 * cspi/spi_streamablecontent.c:
2584 Added references to AccessibleStreamableContent interface, and
2585 definition and implementation of AccessibleStreamableContent
2588 * cspi/spi_registry.c:
2590 Changed generateKeyEvent API to generateKeyboardEvent,
2591 taking a new (optional) keystring parameter to support complex
2596 Renamed directory (to better reflect its actual purpose, bridging
2597 from at-spi to ATK). The .so module is also now named
2600 * idl/Accessibility_Hypertext.idl:
2601 * libspi/accessible.c:
2602 * libspi/hypertext.h:
2603 * libspi/hypertext.c:
2604 Changed Accessibility_Hypertext to *not* derive from
2607 * cspi/spi_registry.c:
2608 Added list of legal event type names for 'window' events, which
2609 completes the registry event API.
2611 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2613 * at-bridge/bridge.c: Added registration for separate
2614 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2615 signals. If either of the first two parameters to the generic
2616 bridge signal handler are ints, they are passed on as event
2617 details. This allows an AT to determine what text was inserted.
2619 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2621 * registryd/deviceeventcontroller.c:
2622 Fixed regressions in generateKeyEvent caused by the removal of
2623 gdk_init from registryd; we now use pure X calls to connect to the
2624 display, which makes sense because deviceeventcontroller already
2625 uses a fair bit of X API (should eventually be migrated to a
2626 'portability layer').
2628 * registryd/desktop.c:
2629 Fixed minor regression in spi_desktop_init, changed the way the
2630 desktop name is being set to work with new spi_base API
2631 (gobject-based, rather than AtkObject-based).
2633 * registryd/Makefile.am:
2634 Minor revision of makefile to use XTST_LIBS variable rather than
2635 hard-wiring the Xtst LD_ADD element.
2637 * test/keysynth-demo.c:
2638 Tweaked an output message; added initialization of the
2639 'keystrings' member of the "switch listener" key_set.
2641 * libspi/relation.c:
2642 Squashed compile-time warning.
2644 * libspi/accessible.c:
2645 Cosmetic and formatting fixes, renamed a static method.
2647 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2649 * libspi/accessible.c
2651 * libspi/application.c
2654 * libspi/component.c
2655 * libspi/editabletext.c
2656 * libspi/hyperlink.c
2657 * libspi/hypertext.c
2659 * libspi/selection.c
2663 * registryd/desktop.c:
2664 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2666 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2668 * idl/Accessibility_Registry.idl:
2669 Added boolean member 'is_text' to DeviceEvent. This is for the
2670 use of key events, and helps prevent ambiguity between composed
2671 key strings and keysym names, since both may potentially be
2672 returned in the 'event_string' member.
2674 * at-bridge/bridge.c:
2675 * registryd/deviceeventcontroller.c:
2676 Use the 'is_text' member when notifying device event listeners.
2677 Knon issue: composed characters are not dealt with correctly by
2678 the global key listener implementation yet.
2680 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2682 * at-bridge/bridge.c:
2683 Namespaced local static methods to spi_atk_bridge_* where
2684 previously named bridge_*, and spi_* elsewhere.
2686 * at-bridge/bridge.c:
2687 * cspi/bonobo/cspi-bonobo-listener.c:
2688 Added demarshalling/conversion for string member of
2689 Accessibility_DeviceEvent to AccessibleKeystroke.
2691 * registryd/deviceeventcontroller.c:
2692 Added code to fill the Accessibility_DeviceEvent key string value
2693 member for global key events (i.e. from XGrabKey), to match
2694 behavior of Accessibility_DeviceEvent from the toolkit key events
2695 from the bridge. Fixed timestamp in global key event notifications.
2698 Added printout of key event's string value to
2699 report_ordinary_key_event, for demo/debugging purposes.
2701 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2703 * idl/Accessibility_Registry.idl:
2704 Removed Accessibility_KeyStroke structure in favor of generic
2705 Accessibility_DeviceEvent structure.
2706 Changed Accessibility_ControllerEventMask from a struct to an
2709 * at-bridge/bridge.c:
2710 Changed APIs to use DeviceEvent structure as above, and removed
2711 bogus casting between these event structures.
2713 * cspi/spi-listener.h:
2714 Added keystring member of AccessibleKeystroke structure, to enable
2715 matching on event "names" rather than only hardware codes and
2719 Added keystrings member of AccessibleKeySet struct, to allow
2720 matching on event names (as above).
2721 Added declarations for SPI_createAccessibleKeySet and
2722 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2723 event modmasks directly as unsigned ints rather than structs with
2724 refcounts, in the DeviceEventController methods.
2726 * cspi/spi_registry.c:
2727 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2729 * cspi/spi-roletypes.h:
2730 Added documentation of newly added SPI Roles.
2732 * cspi/bonobo/cspi-bonobo-listener.c:
2733 Changes in support of API changes above.
2735 * libspi/accessible.c:
2736 Converted APIs to use DeviceEvent structure (see IDL changes
2739 * registryd/deviceeventcontroller.c:
2740 Added DEControllerGrabMask structure to track keygrabs not only by
2741 modmask but by keyset as well; this allows us to do "global"
2742 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2743 grabbing on AnyKey and then filtering after-the-fact.
2744 Bugfixes for event filtration mean that we don't get false matches
2745 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2747 * registryd/deviceeventcontroller.c:
2748 Namespaced a number of static methods to use spi_ prefix. Major
2749 revision to internals of global (i.e. X) key grabs.
2751 * registryd/deviceeventcontroller.h:
2752 Removed keymask_list and added keygrabs_list to
2753 SpiDeviceEventController struct.
2756 Added use of SPI_createAccessibleKeySet API when creating a
2757 listener for only one key. Attach a listener to "shift spacebar
2758 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2759 X key event names to SPI key event names, so that listeners are
2760 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2762 * test/keysynth-demo.c:
2763 Changed (incorrect) use of X key event names (KeyPressed,
2764 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2767 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2769 * libspi/accessible.c:
2770 Convert all AtkRole enumerations to Accessibility_Role enums when
2771 getting a role from an AtkObject.
2773 * cspi/spi_accessible.c:
2774 Complete the conversion of Accessibility_Role enums at runtime to
2775 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2776 role enums correctly match those given in spi-roletypes.h.
2777 Re-synchronize the local names list for AccessibleRole_getName ().
2778 AccessibleRole_getName is now deprecated, since it duplicates the
2779 more reliable Accessible_getRoleName.
2780 Added some role types from Accessibility_Role.idl.
2782 * idl/Accessibility_Role.idl:
2783 Added some role types used by AtkRole.
2785 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2788 * cspi/spi_registry.c:
2790 * cspi/cspi-bonobo-listener.c:
2791 Namespaced all methods that did not begin with an "SPI_" or
2792 "Accessible" prefix to "SPI_".
2795 Homogenized internal function namespace to "cspi_" for statics.
2798 Patched tests to use the new CSPI API.
2800 * docs/reference/cspi/at-spi-cspi-sections.txt:
2801 Updated docs to reflect namespace changes, and added a number of
2802 methods to the documentation.
2804 * registryd/registry.c:
2805 Changed use of strings and string hashes in listener event
2806 matching and parse_event_string to use GQuark, which is guaranteed
2809 * registryd/registry.h:
2810 Squashed annoying warning.
2812 * idl/Accessibility_Role.idl:
2813 Extended range of available Accessibility_Role values.
2815 * cspi/spi_accessible.c:
2816 Re-ordered role names.
2818 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2820 * idl/Accessibility_Value.idl:
2821 Revert use of union back to CORBA_double, since the double type is
2822 more efficient and can contain the other types without loss of
2825 * idl/Accessibility_Accessible.idl:
2826 Added method Accessibility:Accessible:getRoleName, to complement
2827 Accessibility:Accessible:getRole.
2829 * cspi/spi_accessible.c:
2831 Added C binding for above, Accessible_getRoleName (), and changed
2832 signature of Accessible_getRole () to return an AccessibleRole.
2834 * cspi/spi-roletypes.h:
2835 Changed AccessibleRole_getName to return a char * instead of a
2836 const char *. This method is now at least temporarily deprecated
2837 in favor of asking Accessibles for their RoleNames directly.
2840 Revert to match Accessibility_Value.idl;
2844 Change signature of AccessibleValue methods to use double rather
2848 * cspi/spi_accessible.c:
2849 Changed Accessible_getRole to return an AccessibleRole enum rather
2850 than a UTF-8 string. The UTF-8 string can still be obtained via
2851 AccessibleRole_getName ().
2853 * test/test-simple.c:
2854 Add test_action. Small fixup to match API change to Accessible_getRole.
2857 Bugfix for get_action_from_servant ().
2859 2001-12-11 Michael Meeks <michael@ximian.com>
2861 * libspi/libspi.h: remove registry.h and
2862 desktop.h, deviceeventcontroller.h
2864 * libspi/Makefile.am: remove registry.[ch],
2865 desktop.[ch], deviceeventcontroller.[ch]
2867 * registryd/Makefile.am: add registry.[ch],
2868 desktop.[ch], rename registryd.c to registry-main.c.
2869 add deviceeventcontroller.[ch]
2871 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2874 Replace setenv() call with putenv ().
2876 * libspi/component.c:
2877 Bugfix in AccessibleComponent_getExtents (),
2880 2001-12-11 Michael Meeks <michael@ximian.com>
2882 * libspi/image.c (impl_getImageExtents): impl.
2883 (spi_image_class_init): upd.
2886 (AccessibleImage_getImageDescription): fix daft bug
2889 * test/test-simple.c (global_listener_cb): update
2890 to only quit if not --poke
2891 (main): catch --poke.
2892 (validate_accessible): upd. dumping, call test_image
2895 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2898 * idl/Accessibility.idl: update all IDL includes.
2900 * idl/*.idl - rename to namespace - this sucks, blame
2901 mjs' bad decision for oafd.
2903 * test/test-simple.c (create_test_window): add more tests.
2904 (create_tree): split this out.
2905 (validate_accessible): bugfix.
2907 2001-12-11 Michael Meeks <michael@ximian.com>
2909 * cspi/bonobo/cspi-bonobo-listener.c:
2910 (cspi_kestroke_listener_unref),
2911 (cspi_event_listener_unref): impl. undoing previous
2912 homenous environment - for Bill.
2914 * cspi/spi_table.c (long_seq_to_array): use
2917 * cspi/spi_main.c: split out all bonoboish bits into
2920 * cspi/spi-impl.h: upd. typedefs.
2922 * cspi/spi_registry.c: update to lowlevel API,
2923 return booleans to indicate success in some places.
2925 * cspi/spi_event.c: update to lowlevel API.
2927 * cspi/bonobo/Makefile.am: add.
2929 * cspi/bonobo/cspi-lowlevel.h: add
2931 * cspi/bonobo/cspi-bonobo.c: add
2933 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2935 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2936 (SUBDIRS): add bonobo, link in the libs.
2938 * cspi/spi-util.c: kill this file.
2940 * TODO: merge in my bits.
2942 2001-12-11 Michael Meeks <michael@ximian.com>
2944 * test/test-simple.c (test_value, test_table, main):
2945 remove unused variables causing warnings.
2947 * configure.in: cleanup checks - require gail.
2949 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2952 Changed Value interface to use SValue (scalars) rather than
2953 assuming all values are floats. This allows floats, doubles,
2954 longs, shorts, and unsigned values to be manipulated.
2955 Introduced Accessibility:SValue union.
2958 Updated to use new API above, and to work correctly with GValues
2959 of different types in AtkValue.
2962 Updated to use new API above. cspi's API is as yet unchanged.
2965 Updated the Value revision action item.
2967 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2969 * test/test-simple.c:
2970 Added test_table (GtkTreeView widget in test window to follow).
2971 Un-commented test_value, added GtkRange widget.
2972 Added GtkTreeView widget with GtkListStore. It passes regression
2973 test but leaks one SPI object for some reason.
2976 Fixed bug in impl__set_currentValue.
2978 2001-12-10 Michael Meeks <michael@ximian.com>
2980 * cspi/spi_text.c: audit for exception handling,
2981 tolerating NULL object references safely etc.
2983 * cspi/spi_value.c: ditto.
2985 * cspi/spi_table.c (AccessibleTable_getSummary),
2986 (AccessibleTable_getAccessibleAt),
2987 (AccessibleTable_getRowHeader),
2988 (AccessibleTable_getColumnHeader),
2989 (AccessibleTable_getCaption): fix bugs hidden by
2991 (long_seq_to_array): impl.
2992 (AccessibleTable_getSelectedRows),
2993 (AccessibleTable_getSelectedColumns): use it.
2995 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2998 Added a TODO list (rough and short for now).
3000 * cspi/spi_hyperlink.c:
3001 * cspi/spi_hypertext.c:
3002 Fixed macro name typos, and remove use of obsolete macro in
3003 AccessibleHyperlink_getLink.
3005 * cspi/spi_action.c:
3006 * cspi/spi_accessible.c:
3007 * cspi/spi_application.c:
3008 * cspi/spi_component.c:
3009 * cspi/spi_selection.c:
3012 Documentation fixes (removed return values from ref/unref methods).
3014 2001-12-10 Michael Meeks <michael@ximian.com>
3016 * cspi/spi_action.c: audit for exception handling,
3017 tolerating NULL object references safely etc.
3019 * cspi/spi_accessible.c: ditto.
3021 * cspi/spi_component.c: ditto.
3023 * cspi/spi_editabletext.c: ditto.
3025 * cspi/spi_hyperlink.c: ditto.
3027 * cspi/spi_hypertext.c: ditto.
3029 * cspi/spi_image.c: ditto.
3031 * cspi/spi_selection.c: ditto.
3033 2001-12-10 Michael Meeks <michael@ximian.com>
3035 * configure.in: use cspi/libspi.pc.in instead.
3037 * Makefile.am (pkgconfig_DATA): upd. to match.
3039 * test/simple-at.c (report_focus_event): kill hacks around
3040 bad return values, use putenv not setenv
3042 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3043 fire ChildGone - I killed it.
3045 * libspi/component.c
3046 (impl_accessibility_component_get_extents): remove
3049 * idl/Accessible.idl: kill ChildGone exception.
3051 * cspi/*.[ch]: kill int return from ref / unref.
3053 * cspi/spi_main.c (cspi_object_add_check): fold into
3054 (cspi_object_add): here.
3056 * cspi/spi_component.c (AccessibleComponent_getExtents):
3057 handle exceptions elegantly.
3059 * cspi/spi-private.h (cspi_check_ev_return),
3060 (cspi_return_if_fail): impl.
3062 * cspi/spi_accessible.c: use extensively.
3063 (AccessibleStateSet_equals): add direct compare check.
3065 * cspi/spi_selection.c: tolerate NULL objs, and check
3066 exceptions before return.
3068 * cspi/spi-util.c (cspi_warn_ev): rename to
3069 (cspi_check_ev): this & don't pass ev in; no point.
3071 2001-12-10 Michael Meeks <michael@ximian.com>
3073 * test/test-simple.c: use putenv not setenv
3074 (get_environment_vars): more chatty if you're not using
3077 * test/simple-at.c: do the setenv so more people see the
3080 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3082 * libspi/registry.c:
3083 Changed check of CORBA_environment on notification to be a warning
3084 instead of an error for the moment, since we can recover from this
3085 error when caused by a queued notification from a dead app.
3088 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3089 used by all current implementors of AtkValue), and coerce to
3090 CORBA_float. (Proper general case fix may require change to Value.idl).
3092 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3096 * cspi/spi_accessible.c:
3097 Documentation fixes: added user_data params to documentation for
3098 listeners and callbacks.
3100 * cspi/spi_accessible.c:
3101 Changed AccessibleStateSet_compare to return a
3102 StateSet rather than return the difference set into a third parameter.
3105 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3108 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3109 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3113 Remove subdirectory po from SUBDIRS for now.
3115 * at-bridge/bridge.c:
3116 Beefed up a couple of debug printouts.
3117 One-line fix for signal notification name formatting.
3119 * libspi/accessible.c:
3120 Added assertion to spi_accessible_new ().
3122 * libspi/application.c:
3123 Put #ifdef qualifiers around a printf.
3126 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3128 * registryd/Makefile.am:
3130 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3131 INTLTOOL_SERVER_RULE macro.
3134 Added an event listener for several ATK signals, for
3135 testing and debugging. Removed a few g_warnings.
3136 Added test output if focussed item implements the Value interface.
3138 * test/test-simple.c:
3139 Added test_value () function (known not to pass at the moment, so
3140 not actually called yet.
3142 2001-12-08 Michael Meeks <michael@ximian.com>
3144 * at-bridge/bridge.c (bridge_focus_tracker),
3145 (emit_eventv): fix the same ref. leak.
3146 (register_atk_event_listeners): don't leak.
3148 * cspi/spi-listener-impl.c (cspi_event): more
3149 protection from client code.
3151 * test/test-simple.c (test_desktop): unref the app.
3153 * test/Makefile.am: upd. TESTS.
3155 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3157 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3159 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3161 * cspi/spi_registry.c: constify in strings.
3162 (deregisterGlobalEventListenerAll): don't release the ref.
3164 * cspi/spi.h: start removing redundant / conflicting
3165 gtkdoc comments, making the API readable at a glance :-)
3167 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3169 * test/keysynth-demo.c (keysynth_exit, main): upd.
3171 * test/simple-at.c (main, simple_at_exit): upd.
3173 * test/test-simple.c (unutterable_horror): kill.
3174 (utterable_normal_derefs): kill.
3175 (main): upd & do a setenv before gtk_init, so that we
3176 can use memprof - and to save the pain of remembering
3177 this, if we're running under memprof - don't exit.
3179 * cspi/spi_main.c (SPI_exit): return exit status
3181 (SPI_event_quit): impl.
3182 (SPI_event_main): simplify.
3183 (cspi_is_gnome_app): kill.
3184 (SPI_init): kill isGNOMEapp arg.
3186 * at-bridge/bridge.c (register_atk_event_listeners):
3187 re-instate the unref.
3188 (bridge_exit_func): don't re-activate the registry,
3189 protect vs. theoretical re-entry, use the
3190 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3191 assert a clean shutdown - for regression tests.
3193 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3195 * configure.in: Comment out dummy i18n support for now,
3196 otherwise it fails to build.
3197 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3198 EXTRA_DIST. They are missing in tarball.
3200 2001-12-07 Michael Meeks <michael@ximian.com>
3202 * util/magnifier.c: kill bonobo activation reg. race.
3204 * libspi/component.c
3205 (impl_accessibility_component_get_extents): make it match
3208 * libspi/registry.c (_registry_notify_listeners):
3209 re-remove X headers & reconcile conflicts.
3210 (spi_listener_struct_free): bad conflict resolve.
3211 (impl_accessibility_registry_register_application):
3212 more bad merging fixed.
3213 (impl_accessibility_registry_deregister_application): ditto.
3214 (spi_registry_new): ditto.
3215 (spi_registry_init): don't have an applications field.
3217 [ merge fixups2 branch to here ]
3218 2001-12-07 Michael Meeks <michael@ximian.com>
3220 * test/simple-at.c (report_focus_event),
3221 (report_focussed_accessible): remove g_warning debug.
3223 2001-12-07 Michael Meeks <michael@ximian.com>
3225 * test/test-simple.c (validate_tree): comment out some checks.
3226 (test_desktop): app now not registered idly - horay.
3228 2001-12-07 Michael Meeks <michael@ximian.com>
3230 * cspi/spi_registry.c
3231 (registerAccessibleKeystrokeListener): clean, stop it leaking
3232 great swathes of memory, and device event controller references.
3233 ensure we always pass valid sequences.
3234 (deregisterAccessibleKeystrokeListener): ditto.
3235 (generateKeyEvent): upd.
3237 * at-bridge/bridge.c (bridge_key_listener): handle
3238 registry dead exception gracefully.
3239 (bridge_focus_tracker, emit_eventv): free ev.
3241 * test/simple-at.c (report_focus_event): fix polarity.
3243 * libspi/application.c (notify_listeners): kill the ev
3244 argument, and make sure we init the ev we use.
3245 (spi_application_object_event_listener): split out a chunk
3246 (get_atk_object_ref): here & fixup.
3247 (reverse_lookup_name_for_toolkit_event): make const.
3248 (spi_application_toolkit_event_listener): fixup, kill leaks
3251 * at-bridge/bridge.c (register_atk_event_listeners):
3252 don't unref the noop object - causes grief.
3254 * libspi/registry.c: remove the X headers.
3255 turn off the debug churn.
3257 * libspi/accessible.c (spi_accessible_new_return): only
3258 release the ref if we are supposed to [doh]
3260 * test/simple-at.c (report_button_press, report_focus_event):
3261 guard vs. unexpected exit.
3263 * at-bridge/bridge.c (gtk_module_init): prune printf.
3264 (bridge_exit_func): fix app unref.
3266 * libspi/Makefile.am: don't install registry or desktop.h
3268 * libspi/*.h: update includes.
3270 * libspi/application.h: don't include ourself, or
3271 other redundant headers.
3273 2001-12-06 Michael Meeks <michael@ximian.com>
3275 * libspi/accessible.c
3276 (get_accessible_from_servant): impl.
3277 Upd. all CORBA impl.s to use it killing cut and paste.
3279 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3281 (SPI_init): register atexit cleanup handler here.
3283 2001-12-06 Michael Meeks <michael@ximian.com>
3285 * at-bridge/bridge.c (gtk_module_init): g_error on
3286 activation exception
3288 2001-12-06 Michael Meeks <michael@ximian.com>
3290 * at-bridge/bridge.c (gtk_module_init): some sort of
3291 confusing merge clash - reverted.
3292 (bridge_idle_init): ditto.
3294 * test/test-simple.c (main, utterable_normal_derefs):
3295 merge from Bill - somehow not committed.
3297 2001-12-06 Michael Meeks <michael@ximian.com>
3299 * libspi/value.c (spi_value_class_init): upd.
3300 (spi_value_finalize): kill.
3302 * libspi/table.c (spi_table_finalize): kill.
3303 (spi_table_interface_new): upd.
3304 (spi_table_class_init): upd.
3305 (get_table_from_servant): impl.
3306 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3308 * libspi/selection.c (spi_selection_finalize): kill.
3309 (spi_selection_interface_new): upd.
3310 (spi_selection_class_init): upd.
3311 (get_selection_from_servant): impl.
3312 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3314 * libspi/relation.c (spi_relation_finalize): kill.
3315 (spi_relation_class_init, spi_relation_new): upd
3317 * libspi/image.c (spi_image_finalize): kill.
3318 (spi_image_class_init): upd.
3319 (spi_image_interface_new): upd.
3320 (get_image_from_servant): impl.
3321 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3323 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3324 (spi_hyperlink_finalize): kill.
3325 (spi_hyperlink_new): upd.
3326 (get_hyperlink_from_servant): impl.
3327 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3329 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3330 (spi_hypertext_finalize): kill.
3331 (spi_hypertext_class_init): upd.
3332 (get_hypertext_from_servant): impl.
3333 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3335 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3336 (spi_editable_text_interface_new): upd.
3337 (get_editable_text_from_servant): impl.
3338 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3340 * libspi/text.c (get_text_from_servant): impl.
3341 All impls - update to use it killing more cut and paste,
3342 also fix bad string returns on duff args ( a somewhat
3343 impossible case to handle - but hey ).
3344 (spi_text_construct): impl.
3345 (spi_text_interface_new): upd.
3346 (spi_text_object_finalize): kill.
3348 * libspi/component.c
3349 (accessibility_component_object_finalize): kill.
3350 (spi_component_class_init): upd.
3351 (get_component_from_servant): impl. helper to kill cut & paste.
3352 (impl_accessibility_component_contains):
3353 (impl_accessibility_component_get_accessible_at_point):
3354 (impl_accessibility_component_get_position):
3355 (impl_accessibility_component_get_extents):
3356 (impl_accessibility_component_get_mdi_z_order):
3357 (impl_accessibility_component_get_layer):
3358 (spi_component_interface_new): upd.
3360 * libspi/action.c (spi_action_finalize): kill.
3361 (spi_action_class_init): upd. inherit from SpiObject.
3362 (spi_action_interface_new): upd.
3363 (get_action_from_servant): impl. helper to reduce cut & paste.
3364 (impl_getKeyBinding, impl_getName, impl_doAction),
3365 (impl_getDescription): Use it everywhere.
3367 * cspi/spi_main.c (get_live_refs): a pointer hash.
3368 (spi_object_hash, spi_object_equal): comment out.
3369 There are issues with CORBA object hashing that need
3372 * libspi/application.c (spi_application_init),
3373 (spi_application_new): upd.
3375 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3376 (spi_accessible_class_init): upd.
3377 s/accessible/object/ in epv methods.
3379 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3381 * at-bridge/bridge.c:
3382 Reorder the bridge initialization into the bridge gtk_module_init,
3383 an immediate call to bridge_register_app, and an idle_add for
3384 register_atk_event_listeners (the only code that *must* wait until
3385 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3386 the activation, creates the application's Accessible object, and
3387 queues the bridge_idle_init function. Restored call to
3388 Accessibility_Registry_deregisterApplication().
3389 Prior to making this call we obtain a new reference to the
3390 registry, which is a temporary hack that helps us handle apps that
3391 shut down the bonobo mainloop before we get there.
3393 * libspi/registry.c:
3394 Fix string leakage in debug block, and don't segv if a an app
3395 dies before its event notifications have been propagated.
3398 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3399 as stopgap measure until we get proper exception handling when
3400 objects die during or before interrogation.
3404 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3405 Also changed default value of is_gnome_app to TRUE.
3408 * test/keysynth-demo.c:
3409 Changed use of SPI_init and SPI_event_main to reflect API change above.
3412 Made report_focus_event check the warning value from getName
3413 before reporting on focussed accessible; simplifies handling of
3414 notifications from dead objects.
3416 * test/test-simple.c: (Changes not in this patch since source is
3419 2001-12-05 Michael Meeks <michael@ximian.com>
3421 * registryd/registryd.c (main): protect against
3422 bonobo-activation startup race condition.
3424 * cspi/spi_main.c (cspi_object_add_check): cope
3425 with the exception elegantly.
3427 * idl/Accessible.idl: decl. ChildGone
3429 * libspi/desktop.c (spi_desktop_dispose): impl.
3430 (spi_desktop_class_init): upd.
3431 (spi_desktop_add_application),
3432 (spi_desktop_remove_application),
3433 (abnormal_application_termination): impl.
3434 (impl_desktop_get_child_at_index): re-impl.
3437 (impl_accessibility_registry_deregister_application),
3438 (impl_accessibility_registry_register_application):
3439 kill excessive debug clutter.
3441 * test/test-simple.c (test_misc): test some NULL
3442 tolerance. (main): upd.
3444 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3445 implements no interfaces - so let's not crash.
3447 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3449 * libspi/accessible.c (spi_accessible_new_return): impl.
3450 helper to calm the cut and paste, to cope with
3451 NULL AtkObjects effectively and efficiently, and to kill
3452 the referencing bugs.
3454 * libspi/table.c (impl_getAccessibleAt),
3455 (impl_getRowHeader, impl_getColumnHeader): upd.
3457 * libspi/hyperlink.c (impl_getObject): upd.
3459 * libspi/accessible.c
3460 (impl_accessibility_accessible_get_child_at_index): upd.
3462 * libspi/component.c
3463 (impl_accessibility_component_get_accessible_at_point): upd.
3465 * test/test-simple.c (test_editable_text, test_text): impl.
3468 * cspi/spi_editabletext.c
3469 (AccessibleEditableText_insertText): constify.
3471 * test/test-simple.c (focus_me): make more robust.
3473 * libspi/accessible.c: remove some printfs in methods that
3474 we test and work fine, so we can get a clean tree dump.
3476 * test/test-simple.c (validate_accessible),
3477 (validate_tree): make tree dumping pretty too.
3479 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3480 it builds without debug on.
3482 * test/test-simple.c (validate_accessible): fix the most
3485 * cspi/spi_main.c (spi_object_release): leave the nicely
3486 blanked memory around if in debug mode.
3488 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3490 [committed to fixups2]
3491 2001-12-05 Michael Meeks <michael@ximian.com>
3493 * libspi/editabletext.c
3494 (spi_editable_text_class_init): g_type_class_peek_parent,
3495 not interface peek - so we finalize cleanly.
3497 * libspi/accessible.c (spi_accessible_new): kill debug.
3499 * test/test-simple.c (validate_accessible): fix ref.
3500 leak, print strings before freeing them; sigh, comment a
3501 chunk out due to strangeness.
3502 (validate_tree): unref the child after use.
3504 * cspi/spi_component.c (AccessibleComponent_getLayer):
3505 add missing break statement, switch on zlayer not the
3506 uninitialized retval.
3508 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3509 before (possibly re-entering) remote unref.
3511 * test/simple-at.c (main): unref the desktop.
3513 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3516 * cspi/spi_main.c (cspi_accessible_is_a): here to
3517 isolate bonobo API usage more.
3519 * libspi/registry.c (impl_accessibility_registry_register_application):
3520 prune bogus comment.
3522 2001-12-04 Michael Meeks <michael@ximian.com>
3524 * test/test-simple.c (validate_tree): upd.
3525 IndexInParent check to make it more lucid.
3526 (validate_accessible): dump the tree.
3528 * libspi/accessible.c (de_register_public_ref),
3529 (get_public_refs): impl.
3530 (spi_accessible_new): make more efficient & intuitive.
3531 Now IndexInParent check works.
3533 2001-12-04 Michael Meeks <michael@ximian.com>
3535 * cspi/spi-util.h: remove.
3537 * cspi/spi.h: move SPI_freeString here
3539 * libspi/component.c (impl_accessibility_component_get_layer):
3541 (impl_accessibility_component_get_mdi_z_order): ditto,
3542 return -1 on error - is this ok ?
3544 * test/test-simple.c (test_application): impl.
3546 * cspi/spi_accessible.c (Accessible_getApplication),
3547 (Accessible_isApplication): impl.
3549 * libspi/registry.c (spi_listener_struct_free): release
3550 the CORBA reference too.
3552 * libspi/accessible.c
3553 (impl_accessibility_accessible_get_parent): fix ref leak.
3555 * libspi/registry.c (spi_registry_new): make the registry
3556 immortal - we don't want it to go away ever.
3558 * libspi/application.c
3559 (spi_accessible_application_finalize): impl. cleanup.
3561 * cspi/spi_registry.c
3562 (deregisterGlobalEventListenerAll),
3563 (deregisterGlobalEventListener),
3564 (deregisterAccessibleKeystrokeListener): fix ref leak.
3566 * cspi/spi_main.c (SPI_init): remove redundant ref.
3568 * test/test-simple.c (unutterable_horror): impl. to force a
3573 (impl_accessibility_registry_deregister_application): release
3574 the application when we de-register it.
3576 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3577 until we have the infastructure to get it right.
3579 2001-12-03 Michael Meeks <michael@ximian.com>
3581 * libspi/Makefile.am: only build eventlistener.[ch]
3583 * libspi/accessible.c
3584 (impl_accessibility_accessible_get_child_at_index): don't leak.
3586 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3587 before we hit the idle handler.
3589 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3590 debugging than exit.
3592 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3594 * libspi/listener.c (impl_notify_event): check source
3595 not NIL before unref.
3597 * libspi/registry.c (impl_registry_notify_event): ditto.
3599 * libspi/eventlistener.c
3600 (impl_accessible_event_notify_event): unref the source.
3602 * libspi/accessibleeventlistener.c
3603 (impl_accessible_event_notify_event): unref the source.
3605 * idl/Event.idl: remove 'hash_id' attribute - of no
3608 * libspi/application.c (notify_listeners): upd list
3610 (spi_application_object_event_listener),
3611 (spi_application_toolkit_event_listener): upd to do correct
3615 (_registry_notify_listeners): update.
3616 (parse_event_type): this method also leaks like a sieve.
3617 (impl_accessibility_registry_deregister_global_event_listener):
3618 fix ETYPE_WINDOW case.
3620 * libspi/application.c
3621 (impl_accessibility_application_register_object_event_listener):
3624 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3626 * libspi/hypertext.c (impl_getLink): ditto.
3628 * cspi/spi_main.c (cspi_object_add): remove
3629 bogus CORBA_Object_duplicate.
3631 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3634 * cspi/spi_accessible.c
3635 (Accessible_getRelationSet): fix leak / referencing issue.
3637 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3638 (cspi_object_add, cspi_object_unref): upd.
3639 (spi_object_release, get_live_refs): impl.
3640 (cspi_cleanup): simplify.
3642 * *.[ch]: s/boolean/SpiBoolean/
3644 * cspi/spi_accessible.c (role_names): actualy order so it
3645 corresponds with the enum !
3647 * test/test-simple.c (test_roles): check some role strings
3648 vs. enums to detect offset errors.
3650 2001-12-01 Michael Meeks <michael@ximian.com>
3652 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3654 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3656 (Accessible_getChildAtIndex): use cspi_add_check so we
3657 check the ev before using a (possibly) invalid value.
3659 * libspi/accessible.c
3660 (impl_accessibility_accessible_get_parent): don't segv
3663 * at-bridge/bridge.c (gtk_module_init): upd.
3664 (bridge_property_event_listener): don't leak strings
3666 (bridge_state_event_listener),
3667 (bridge_property_event_listener): don't use a static
3668 buffer in case of recursive event emission &
3669 re-enterancy - split out the swathe of cut and paste
3671 (emit_eventv): and fix 2 ref leaks here & comply to the
3673 (bridge_register_app): rename to
3674 (bridge_idle_init): this and kill arg parsing, split
3675 various inits & bonobo-activation registration to module
3676 init time, kill referencing error.
3677 (bridge_exit_func): fix the same leak.
3678 (bridge_focus_tracker): don't leak event structures
3680 (bridge_signal_listener): more leakage and cut & paste
3682 (bridge_key_listener): return the result - FIXME is
3683 this polarity correct ?
3684 (accessibility_keystroke_from_atk_key_event): rename
3685 (accessibility_init_keystroke_from_atk_key_event): and stop
3687 (gtk_module_init): return a value - not that it is checked by
3689 (bridge_key_listener): register my horror at casting between
3690 IDL defined structs.
3691 (bridge_get_registry): kill - not used.
3693 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3695 * test/test-simple.c (test_roles): impl.
3696 (test_desktop, validate_accessible, validate_tree): impl.
3698 * cspi/spi_accessible.c (role_names): fixup bogus
3699 MAX_ROLES setup, make constants const for efficient linkage
3700 (AccessibleRole_getName): conform to coding style, make
3703 2001-11-30 Michael Meeks <michael@ximian.com>
3705 * cspi/spi.h: add missing prototype.
3707 * libspi/registry.c (spi_listener_struct_new): fix sig.
3709 * test/Makefile.am: add test-simple
3711 * test/test-simple.c: add
3713 * test/test.sh: add.
3715 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3717 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3718 do it straight - since otherwise we often get an activation race.
3720 [ work before Bill duplicated a chunk of it ... ]
3721 2001-11-30 Michael Meeks <michael@ximian.com>
3723 * libspi/keystrokelistener.c
3724 (spi_keystroke_listener_class_init): fixup arg
3727 * libspi/eventlistener.c
3728 (spi_event_listener_class_init): ditto.
3730 * tests/test.sh: add.
3732 * cspi/spi-listener-impl.h: update macros.
3734 * cspi/spi-listener-impl.c
3735 (cspi_event_listener_remove_callback): add
3736 correct pre-conditions.
3738 * cspi/spi_main.c (SPI_exit): guard vs. double
3739 exits, exit the mainloop nicely.
3740 (SPI_event_main): make more sense.
3741 (SPI_init): move the atexit evilness here so we
3742 always do it (yuck).
3743 (SPI_event_main): upd.
3745 * test/simple-at.c: update for listener changes.
3747 * registryd/registryd.c (main): prune kruft.
3749 * libspi/libspi.h: upd.
3751 * libspi/eventlistener.[ch]: rename broken macros.
3753 * libspi/accessibleeventlistener.[ch]: remove.
3755 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3757 * test/test-simple.c: Add - automated tests.
3759 * cspi/spi-listener-impl.c (cspi_event),
3760 (cspi_key_event): add user_data to invoke.
3761 (cspi_keystroke_listener_finalize): impl.
3762 (cspi_keystroke_listener_class_init): upd.
3765 (createAccessibleEventListener),
3766 (AccessibleEventListener_addCallback),
3767 (createAccessibleKeystrokeListener),
3768 (AccessibleKeystrokeListener_addCallback): upd.
3770 * libspi/deviceeventcontroller.c
3771 (spi_device_event_controller_check_key_event): add public proto.
3774 (impl_accessibility_registry_deregister_global_event_listener):
3775 always init listeners.
3776 (_registry_notify_listeners): yes it is.
3778 * cspi/spi-listener-impl.c (cspi_key_event):
3780 (cspi_event_listener_finalize): impl.
3781 (cspi_event_listener_class_init): hook up.
3782 (event_handler_new, event_handler_free),
3783 (event_list_remove_by_callback): impl.
3784 (cspi_event_listener_remove_callback),
3785 (cspi_keystroke_listener_remove_callback),
3786 (cspi_keystroke_listener_add_callback),
3787 (cspi_event_listener_add_callback): upd.
3789 * libspi/keystrokelistener.c
3790 (keystroke_listener_object_finalize): kill
3791 (spi_keystroke_listener_class_init): upd.
3792 (spi_keystroke_listener_add_callback),
3793 (spi_keystroke_listener_remove_callback): kill,
3795 (impl_key_event): prune drasticaly.
3797 * libspi/eventlistener.c
3798 (spi_event_listener_add_callback),
3799 (spi_event_listener_remove_callback): kill, use
3801 (impl_accessible_event_notify_event): upd.
3802 (spi_event_listener_object_finalize): remove.
3804 * libspi/Makefile.am: use eventlistener.[ch]
3806 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3808 * libspi/registry.c (_registry_notify_listeners):
3809 Changed listener loop iteration to use preferred convention.
3810 Got rid of string memory leaks caused be calling g_strconcat
3811 inside function calls.
3813 * libspi/registry.c (parse_event_type):
3814 Stopped g_strconcat memory leaks, free the g_strsplit return,
3815 g_strdup the split pieces when used, etc.
3817 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3820 Change method 'compare' to return a 'difference set' rather than
3821 taking a StateSet as an out parameter (more Java-friendly).
3823 * idl/Accessible.idl:
3824 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3826 * idl/Component.idl:
3828 Changed methods 'getExtents' and 'getImageExtents' in these
3829 interfaces to return a BoundingBox structure.
3830 (getPosition and getSize are redundant and possibly should be
3831 removed, rather than creating a corresponding Point struct.)
3833 * cspi/spi_component.c:
3834 Modify implementation of getExtents to reflect the above IDL
3839 Add (missing) AccessibleImage_getExtents () API.
3841 * docs/reference/cspi/at-spi-cspi-sections.txt:
3842 Added AccessibleImage_getImageExtents () to docs.
3844 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3846 * idl/Component.idl:
3847 Added two methods, getLayer () and getMDIZOrder (), to reflect
3848 the new ATK methods atk_object_get_layer and
3849 atk_object_get_mdi_z_order. (Which arguably should be part of the
3850 AtkComponent API and AtkObject). Also added an enum,
3851 ComponentLayer, for the first method's return value.
3853 * libspi/component.c:
3854 Added implementations for these methods.
3856 * cspi/spi_component.c:
3858 Added cspi binding methods for above,
3859 AccessibleComponent_getLayer() and
3860 AccessibleComponent_getMDIZOrder().
3861 Added cspi enum 'AccessibleComponentLayer'.
3863 * docs/reference/cspi/at-spi-cspi-sections.txt:
3864 Added above methods to docs.
3868 Changed typedef for 'boolean' type (and all references to it) to
3869 SPIBoolean, to avoid keyword clashes with C++.
3872 Changed usages of 'boolean' to SPIBoolean.
3874 * test/keysynth-demo.c:
3875 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3876 app), except where SPIBoolean is required by the callbacks API.
3878 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3880 * cspi/spi_registry.c:
3881 Removed obsolete X event loop for passive keygrabs (which now
3884 * registryd/registryd.c:
3885 Removed unnecessary call to gdk_init() [cruft]. This also allows
3886 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3889 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3891 * docs/reference/cspi:
3892 Included docs for SPI_freeString in generated documentation.
3895 Renamed spi_freeString to SPI_freeString, for consistency. Added
3896 documentation for this function.
3899 Renamed spi_freeString to SPI_freeString, for consistency.
3900 Removed obsolete method declaration string_from_corba_string.
3902 * test/keysynth-demo.c:
3903 Small tweak to comments.
3906 Stopped leaking the strings returned from CSPI.
3908 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3910 Merged Michael's branch (see his ChangeLog entries below).
3912 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3913 bridge is alive, release on exit.
3915 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3916 Fix type check macro.
3919 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3922 Added is_gnome_app static, and method cspi_is_gnome_app(),
3923 so we can call the appropriate shutdown routine at exit in SPI_exit.
3925 * cspi/spi_main.c (cspi_object_ref):
3926 Duplicate the corba object passed in, since we're keeping it around.
3928 * cspi/SPI_exit.c, cspi_cleanup:
3929 Moved the releasing of the live refs to its own function, so we
3930 can put it in g_atexit (). Call the appropriate shutdown API
3931 depending on whethe calling client is a gnome app or not
3932 (bonobo_main_quit or CORBA_ORB_shutdown).
3934 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3935 Unref the listener when this method is called, after
3936 deregistration. Updated the API docs to note this behavior.
3938 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3939 Bugfixes: Ref the bonobo object when returning a parent or child
3940 reference, or an AccessibleRelation. Generally made sure
3941 BonoboObject refcount is incremented whenever we return an
3944 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3945 Fixed typo/bug in signal declaration.
3947 * libspi/accessibleeventlistener.h:
3950 * libspi/application.c (spi_application_new):
3951 Fixed leak in initialization.
3954 Remembered to increment bonobo-object refcount when returning
3955 children (applications) from desktop object.
3956 Added (empty) finalize method.
3958 * libspi/deviceeventcontroller.c:
3959 Hold a ref to listeners inside DEControllerKeyListeners.
3960 Added dec_key_listener_free() method. Use prepend instead of
3961 append in key_listener list. Fixed some refcount madness and
3962 leaks in the listener registration/deregistration - deregistration
3963 now calls dec_key_listener_free() on listeners, and on the
3964 temporarily constructed dec_key_listener() used to perform the search/match.
3966 * libspi/hypertext.c (spi_hypertest_finalize):
3967 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3968 class. Also fixed spi_hypertext_interface_new() and
3969 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3971 * libspi/hypertext.h:
3972 Removed pointless and duplicate AtkObject pointer from
3975 * libspi/keystrokelistener.c:
3976 Fixed incorrect type of keystroke_listener_parent_class,
3977 renamed keystroke_listener_object_finalize to
3978 spi_keystroke_listener_object_finalize.
3979 Fixed typo in signal declaration
3980 (spi_keystroke_listener_class_init).
3982 * libspi/registry.c:
3983 Added funcsions spi_listener_struct_new() and
3984 spi_listener_struct_free() to help with memory management issues.
3985 We also now use these methods instead of gnew + poking stuff into
3986 the struct, and to decrement listener counts/free the listeners
3987 when deregistering them.
3988 Fix more refcount bugs in getDesktop() and
3989 getDeviceEventController().
3992 De-ref the desktop after enumerating the applications. Explicitly
3993 decrement the refcounts on the created listeners on exit (using
3994 _unref for keystroke listeners, and via the
3995 deregisterGlobalEventListenerAll command for other event
3998 2001-11-27 Michael Meeks <michael@ximian.com>
4000 * cspi/spi-listener.h: fixup enum.
4002 2001-11-27 Michael Meeks <michael@ximian.com>
4004 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4005 (cspi_keystroke_listener_new): Use the cspi variants.
4007 2001-11-26 Michael Meeks <michael@ximian.com>
4009 * test/keysynth-demo.c: fix 2 compile warnings, missing
4012 * test/simple-at.c (report_focussed_accessible),
4013 (report_focus_event, report_button_press),
4014 (check_property_change, is_command_key),
4015 (report_ordinary_key_event, report_command_key_event): upd.
4017 * util/mag_client.h: include pre-requisites.
4019 * libspi/accessibleeventlistener.c
4020 (spi_event_listener_object_finalize): free any lingering
4023 * libspi/keystrokelistener.c
4024 (keystroke_listener_object_finalize): ditto.
4026 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4027 callbacks, with cspi types.
4029 * cspi/spi_event.c (createAccessibleEventListener): chain to
4030 (AccessibleEventListener_addCallback): here.
4031 (createAccessibleKeystrokeListener): chain to
4032 (AccessibleKeystrokeListener_addCallback): here.
4034 * libspi/keystrokelistener.c
4035 (spi_keystroke_listener_class_init): add signal.
4036 (impl_key_event): emit the event.
4037 (boolean_handled_accumulator): impl.
4038 (marshal_BOOLEAN__POINTER): add, gack.
4040 * libspi/accessibleeventlistener.c
4041 (spi_event_listener_class_init): add signal.
4042 (impl_accessible_event_notify_event): emit the signal &
4043 make the loop efficient.
4044 (spi_event_listener_add_callback): prepend the callback.
4046 * libspi/accessibleeventlistener.h: add an 'event' signal,
4047 decl type on callback.
4049 * libspi/keystrokelistener.h: ditto.
4051 * cspi/spi-listener.h: make methods typesafe and
4052 make them use the new event typedefs.
4054 * test/simple-at.c (report_focussed_accessible):
4055 include mag_client.h
4056 Use *(void *)text_interface not the other thing.
4058 * configure.in: add gtk to registryd bits - since we use
4061 * util/magnifier.c: include libbonobo.h
4063 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4065 * test/keysynth-demo.c:
4066 Turned this into a simple scanning keyboard, to demonstrate the
4067 use of g_timeout_add () as a means of creating timers for
4068 scanning, and the use of GtkStyle for visually indicating when
4069 virtual keyboard elements are selected.
4071 keysynth-demo now listens to any keyboard keys with zero-valued
4072 keycodes (i.e. 'unused' keys) and interprets them as
4075 Reworked the shiftlatch code so that shift-down state isn't held
4076 for long periods (it's only synthesized immediately prior to
4077 the keysynth event it's modifying). Note that shiftlatch in this
4078 demo is a convenience, not intended to take the place of AccessX
4079 which is the better choice for getting 'sticky' modifier keys.
4081 * libspi/deviceeventcontroller.c:
4082 * at-bridge/bridge.c:
4083 * cspi/spi_registry.c:
4084 Removed some debug print stuff, and put other verbosity in #ifdef
4089 Implemented some more of the magnifier IDL for the simple
4090 magnifier: namely, getZoomRegionParams.
4091 Added mag_x and mag_y members to MagnifierData struct, aid of this
4093 Added GtkWindow::realize signal handler to magnifier, to keep it
4094 from receiving keyboard focus from the WM.
4096 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4098 * cspi/spi-private.h: my guess at what michael forgot
4099 before he ran off to NZ :-)
4101 2001-11-23 Michael Meeks <michael@ximian.com>
4103 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4104 comment out non existant method invoke so we link.
4106 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4107 use bonobo_exception_get_text for more friendly warnings.
4109 * cspi/spi.c (Obj_Add): move into spi_main & rename
4110 spi_object_add; kill spi.c
4112 * cspi/spi_registry.c
4113 (deregisterGlobalEventListener),
4114 (deregisterGlobalEventListenerAll),
4115 (registerGlobalEventListener): fix exception leaks.
4117 * cspi/spi_main.c (spi_exception): impl. helper, so we
4118 don't leak exceptions.
4120 * cspi/spi_selection.c
4121 (AccessibleSelection_deselectSelectedChild): return the
4124 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4125 (spi_registry): ditto.
4126 (SPI_init): guard against double inits.
4128 * cspi/*.c: use spi_ev (), and spi_registry () where
4129 appropriate - a temporary hack until we have something
4130 better. Use spi_object_add
4132 2001-11-22 Michael Meeks <michael@ximian.com>
4134 * cspi/Makefile.am: re organise, install the headers.
4136 * cspi/*.h: add G_BEGIN/END_DECLS
4138 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4141 Added non-preemptive keylistener for key events with no modifiers
4142 and shift-only modifier.
4144 * libspi/keystrokelistener.c:
4145 Removed some verbose diagnostics printout.
4147 * cspi/spi_registry.c:
4148 Fixed a bug that caused all key listeners to be registered as
4151 * libspi/deviceeventcontroller.c:
4152 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4153 for non-preemptive key masks.
4156 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4158 * docs/reference/idl/at-spi-idl-docs.sgml:
4159 * docs/reference/idl/at-spi-idl-sections.txt:
4160 * docs/reference/idl/at-spi-idl-overrides.txt:
4161 Added missing files.
4163 * docs/reference/Makefile.am:
4164 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4165 to scan the IDL files :-(
4170 Added .cvsignore files.
4172 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4174 * libspi/deviceeventcontroller.c:
4175 * libspi/keystrokelistener.c:
4177 * cspi/spi_registry.c:
4178 Added filters for KeySets, KeyEventSeq, and event types to key
4179 event dispatching, so listeners should only receive those events
4180 that they requested :-)
4182 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4187 * docs/reference:Makefile.am:
4188 * docs/reference/cspi:
4189 * docs/reference/cspi:Makefile.am:
4190 * docs/reference/cspi:tmpl:
4191 * docs/reference/cspi:tmpl:*.sgml:
4192 * docs/reference/idl:
4193 * docs/reference/idl:Makefile.am:
4194 * docs/reference/idl:at-spi-idl-sections.txt:
4195 * docs/reference/idl:at-spi-idl-docs.sgml:
4196 * docs/reference/idl:tmpl:
4197 * docs/reference/idl:tmpl:*.sgml:
4199 Restructured docs directory to allow separate 'reference' docs
4200 section, and forked idl and cspi docs. Added the sgml template
4201 files to CVS. Added the first sections/structural sgml for the
4204 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4206 * configure.in, libspi/Makefile.am: find libXtst.
4208 2001-11-21 Michael Meeks <michael@ximian.com>
4210 * test/accessx-gui.c: s/spi_value/value/ - doh.
4212 * libspi/base.[ch]: add.
4214 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4216 * idl/Accessible.idl:
4217 * idl/Application.idl:
4220 Started gtk-doc cleanup on IDL.
4222 * libspi/deviceeventcontroller.c:
4223 Added and connected non-preemptive key notification from the
4224 toolkits (in addition to the pre-emptive support from XServer
4225 which we had before, but which causes 'focus flashing'). Filters
4226 are presently limited to key modifiers and global/non-global,
4227 KeySets are presently ignored, as are KeyEvent masks.
4229 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4230 structs into the persistant structure rather than just storing
4231 pointers to things that might not persist across servant
4234 The XGrabKey call now does async keygrabs, because synchronous
4235 ones were deadlocking with GDK_event code in a very nasty way.
4237 Added boolean to internal method notify_keylisteners, to indicate
4238 whether the event came from the 'toolkit source' or the 'global
4239 (XServer) source' - this is used in the notification process to
4240 determine which listeners to send the event to.
4242 deviceeventcontroller.c is now warning-free.
4244 * libspi/registry.c:
4245 Fixed regression in application de-registration.
4246 Also fixed some really brain-dead weirdness having to do with
4247 event dispatching - event structs are now duplicated before being
4248 re-marshalled in the dispatch to listeners. This also fixes a
4249 Solaris build problem.
4252 2001-11-20 Michael Meeks <michael@ximian.com>
4255 (impl_accessibility_registry_deregister_global_event_listener):
4258 * libspi/deviceeventcontroller.c
4259 (spi_device_event_controller_check_key_event): return
4260 FALSE on no virtual method.
4262 * libspi/*..h: make includes work on a correctly pathed install.
4264 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4266 * libspi/application.h: kill unused ( and whacked out )
4267 gboolean *spi_application_set_id (AtkObject *app, long id);
4269 2001-11-20 Michael Meeks <michael@ximian.com>
4271 * libspi/*.[ch]: further convert to bonobo's type func
4272 macros, remove redundnant casts etc.
4274 * libspi/text.c s/accessibility_text/spi_text/g,
4275 re-order to de-cruft.
4277 * libspi/hypertext.c: re-order to kill a huge slew
4278 of redundant forward decls.
4280 * libspi/relation.c: ditto.
4282 * libspi/image.c: ditto.
4284 * */.cvsignore: update
4286 2001-11-20 Michael Meeks <michael@ximian.com>
4288 * libspi/deviceeventcontroller.c
4289 (_controller_register_with_devices): use g_getenv,
4290 kill stdlib.h include.
4292 * libspi/keystrokelistener.c
4293 (spi_keystroke_listener_get_type): kill
4294 (spi_keystroke_listener_class_init),
4295 (spi_keystroke_listener_init): rename to this.
4297 * libspi/text.c (impl_getAttributes): fix warning / bug.
4299 * libspi/*.[ch]: more headers, includes and over commenting.
4301 2001-11-20 Michael Meeks <michael@ximian.com>
4303 * libspi/*.[ch]: fixup headers, includes and over commenting.
4305 * libspi/image.c (impl__get_imageDescription): const
4306 correctness warning fix. remove redundant casting.
4308 * libspi/table.c (impl_getRowDescription): ditto.
4309 (impl_getColumnDescription): ditto.
4311 * libspi/libspi.h: add.
4313 2001-11-19 Michael Meeks <michael@ximian.com>
4315 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4317 * libspi/component.c (accessibility_component_get_type):
4318 rename to (spi_component_get_type): and macroify.
4319 (accessibility_component_init): rename to
4320 (spi_component_init): this
4321 (accessibility_component_class_init): rename to
4322 (spi_component_class_init): this
4324 * libspi/action.c (spi_action_get_type): kill, use the macro.
4326 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4329 * libspi/application.c (spi_application_object_event_listener),
4330 (impl_accessibility_application_register_object_event_listener):
4331 warning fixes / const understanding updates.
4333 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4336 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4338 * libspi/spi_accessible.c: Added docs and C bindings for
4339 AccessibleStateSet. (No implementations yet). Documentation
4340 coverage for C bindings now 100%. Made docs for event listeners
4345 boolean notifyListenersSync (in DeviceEventListener listener,
4346 in DeviceEvent event);
4348 oneway void notifyListenersAsync (in DeviceEventListener listener,
4349 in DeviceEvent event);
4351 Added DeviceEventListener and DeviceEvent structs (may deprecate
4352 KeyStroke and KeystrokeListener in favor of this generic
4353 event/listener framework for devices).
4355 * libspi/deviceeventcontroller.c:
4357 Changed some key listener code to take masks, etc., and paved the
4358 way for integration of toolkit/non-preemptive key events. Changed
4359 signatures of some internal methods.
4361 * at-bridge/bridge.c:
4362 Fixed regression connecting to interface signals, apparently
4363 caused by GTK+ changes.
4365 Added an internal bridge_state_listener to deal with
4366 property-change:accessible-state signals.
4368 Changed the key_listeners GList to store structs (including masks,
4369 etc.) instead of just CORBA_Objects (required for full
4370 implementation of key listener API).
4372 Connected the bridge to all currently supported Atk signals.
4373 Events now supported:
4374 object:property-change
4375 object:property-change:accessible-name
4376 object:property-change:accessible-state
4377 object:property-change:accessible-description
4378 object:property-change:accessible-parent
4379 object:property-change:accessible-value
4380 object:property-change:accessible-role
4381 object:property-change:accessible-table-caption
4382 object:property-change:accessible-table-column-description
4383 object:property-change:accessible-table-column-header
4384 object:property-change:accessible-table-row-description
4385 object:property-change:accessible-table-row-header
4386 object:property-change:accessible-table-summary
4387 object:children-changed
4388 object:visible-data-changed
4389 object:selection-changed
4390 object:text-selection-changed
4392 object:text-caret-moved
4394 object:row-reordered
4396 object:column-inserted
4397 object:column-reordered
4398 object:column-deleted
4399 object:model-changed
4401 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4403 * libspi/hyperlink.c,h:
4404 Fixed some broken stuff in hyperlink.
4406 * libspi/relation.h:
4407 * libspi/relation.c:
4408 * cspi/spi_accessible.c:
4409 Initial implementations of AccessibleRelation methods, and docs.
4411 * libspi/accessible.c:
4412 Fixed a bug that caused SEGV if an accessible
4413 object's description is NULL, and a client
4414 requests it. An empty string is now returned.
4416 * cspi/spi_editabletext.c:
4417 * cspi/spi_hypertext.c:
4419 * cspi/spi_hyperlink.c:
4423 Doc coverage now 95%.
4425 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4427 One last namespacing revision:
4428 * libspi/accessibleeventlistener.[ch]:
4429 Renamed SpiAccessibleEventListener to SpiEventListener,
4430 (no need for two namespaces ;-)
4432 And lots of documentation fixes:
4434 * docs/at-spi-docs.sgml:
4435 Fixed 'underscore vs. hyphen' bug that was preventing
4436 the gtk-doc API docs from being automatically generated.
4439 * cspi/spi-listener.h
4441 * cspi/spi_accessible.c
4443 * cspi/spi_application.c
4444 * cspi/spi_component.c
4445 * cspi/spi_editabletext.c
4447 * cspi/spi_hypertext.c
4449 * cspi/spi_registry.c
4450 * cspi/spi_selection.c
4454 * docs/at-spi-docs.sgml
4455 * docs/at-spi-sections.txt
4457 Added and fixed up gtk-doc documentation in cspi.
4459 Interfaces now (fully) documented (subject to revision and enhancement):
4461 Event Listener Support
4463 AccessibleApplication
4467 AccessibleEditableText
4474 AccessibleRelationSet
4479 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4481 * at-bridge/bridge.c:
4482 Initial work for toolkit-level key snooper connection by bridge.
4487 New typedefs and fixes to support new namespacing, and cleaner
4488 separation of cspi bindings from libspi bonobo implementation.
4489 Removed inconsistent and extraneous Spi* namespace prefix that
4490 had crept into cspi headers.
4491 Lots of comment fixes that sed had missed.
4493 * cspi/spi-roletypes.h:
4494 * cspi/spi-statetypes.h:
4495 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4496 to AccessibleRoleType.
4498 * libspi/accessibleeventlistener.h:
4499 Fixed minor namespacing weirdness.
4501 * libspi/deviceeventcontroller.c:
4502 Reordered some internal API for device listeners.
4503 Changed the key registry final boolean to 'is_system_global'
4504 rather than 'is_synchronous', which is more descriptive of its
4506 Added spi_device_event_controller_new().
4507 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4509 * libspi/keystrokelistener.[ch]:
4510 Namespaced KeystrokeListener to SpiKeystrokeListener.
4511 Changed uses of keymasks to use SPI_ prefix, and did other
4514 * libspi/keymasks.h:
4515 Namespaced keymask constants with SPI_ prefix.
4517 * libspi/registry.c:
4518 Some warning fixes, and knock-on fixes from namespace changes.
4521 Added rules for accessx-gui test program.
4523 * test/accessx-gui.c:
4524 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4525 utility. It doesn't actually use at-spi, but it's still cool and
4528 * test/keysynth-demo.c:
4532 Fixes so that these test clients work properly with the namespaced
4533 libraries. (Incompletely tested for technical reasons, fixes may follow)
4536 2001-11-13 Michael Meeks <michael@ximian.com>
4538 * libspi/application.c
4539 (impl_accessibility_application_get_version),
4540 (impl_accessibility_application_get_toolkit_name):
4542 (impl_accessibility_application_set_id),
4543 (impl_accessibility_application_get_id): remove
4544 redundant casting code.
4546 * libspi/action.c (impl_getDescription): fix warnings.
4548 * libspi/accessible.c
4549 (impl_accessibility_accessible_get_parent),
4550 (impl_accessibility_accessible_get_child_at_index),
4551 (impl_accessibility_accessible_get_state),
4552 (impl_accessibility_accessible_get_relation_set):
4553 warning fixes & include action.h
4555 2001-11-13 Michael Meeks <michael@ximian.com>
4557 * *.[ch] fix bits I screwed up:
4559 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4560 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4562 2001-11-13 Michael Meeks <michael@ximian.com>
4564 * *.[ch] Namespace libspi into spi_ and Spi.
4566 2001-13-11 Michael Meeks <michael@ximian.com>
4568 * Makefile.am: dist & install at-spi-1.0.pc
4570 * libspi/Makefile.am: install into at-spi-1.0
4572 * idl/Makefile.am (idldir): install into at-spi-1.0
4574 * at-spi-1.0.pc.in: add.
4576 * configure.in: build it.
4578 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4580 * test/keysynth-demo.c:
4581 Use a 'realize' signal-handler to set the WM properties for
4582 the virtual keyboard, rather than making it a "POPUP" type
4583 override-redirect window (thanks to anders carlsson for that
4586 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4589 * test/keysynth-demo.c:
4590 Added new test of key synthesis, which creates a simple
4591 (mouse-operated) onscreen keyboard. It inserts key events into
4592 the currently-focused window, thus it does not grab keyboard focus
4595 * cspi/spi_registry.c:
4596 Added C binding for AT-SPI generateKeyEvent.
4598 * libspi/deviceeventcontroller.c:
4599 Added call to XFilterEvent so that key listener works with XIM (we
4600 hope). Added event_synth_type to generateKeyEvent, so that we can
4601 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4602 synthesize a press/release pair for KeySyms.
4604 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4606 * libspi/Makefile.am:
4607 * registryd/Makefile.am:
4608 (temporary) hack to include libXtst in libspi and registryd.
4609 (Needed for keystroke synthesis, see below).
4612 Improved API for registerKeystrokeListener, in accordance with
4613 discussions with Gnopernicus team and X server research.
4615 * libspi/registry.c:
4616 * libspi/deviceeventcontroller.c:
4617 * libspi/accessible.c:
4618 * libspi/keystrokelistener.c:
4619 Changes and fixes to support keylisteners for potentially
4620 consumed key events (that is, 'passive grabs').
4621 Added implementation for generateKeyEvent() [untested].
4624 Changes to registerKeystrokeListener() API, as above.
4625 Added deregisterGlobalEventListenerAll(), and
4626 deregisterKeystrokeListener(), which are needed for clean exit of
4628 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4629 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4631 * cspi/spi_registry.c:
4632 Added implementations of function prototypes mentioned above.
4634 * registryd/registryd.c:
4635 Added the key listener event source as a g_timeout(), to allow
4636 receipt of key events that are not caught by GDK (since GDK
4637 doesn't support passive keygrabs, this was necessary).
4640 Changed to attach a keylistener to 'Alt' keys, and
4641 respond to the following keycommands: Alt-M (toggle magnifier);
4642 Alt-F (toggle speech); Alt-Q (quit).
4643 Added an exit routine to deregister the listeners, and a key
4644 listener that prints some key info to the console when a key
4645 matches the listener mask (and is thus received by the listener).
4647 * util/idl/Magnifier.idl:
4648 Changes to magnifier API to support multiple zoom regions,
4649 non-uniform scaling in x and y, markDirty, and a host of other
4650 features that would be useful to magnification.
4653 * util/mag_client.c:
4654 * util/mag_client.h:
4655 * util/mag_control.c:
4657 Source code changes to support the above IDL changes.
4660 As above, and also changes to use a (slower) generic conversion
4661 path for colormap conversions, since the fast RGB conversions have been
4662 reported to fail for 16-bit displays.
4664 2001-10-26 Michael Meeks <michael@ximian.com>
4666 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4668 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4670 * at-bridge/Makefile.am: fix LDFLAGS.
4672 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4674 * at-bridge/bridge.c:
4675 Re-worked listeners for toolkit events, now we have signal
4676 and property listeners. Added a private method
4677 register_atk_event_listeners(), which registers with the
4678 various atk and gtk signals we need to monitor in order to emit
4680 Added emission hook for AtkObject:property-change events, to
4681 support the 'property listeners'.
4682 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4685 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4686 which emit warnings and exit, respectively, if CORBA errors occur
4687 during remote calls, and we now use these methods to check most of
4688 our CORBA calls in the C bindings.
4690 * cspi/spi_accessible.c:
4691 Changed AccessibleSelection_refSelectedChild() to
4692 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4693 now increment refcounts.
4695 * cspi/spi_component.c:
4696 Fixed some long pointer casts (dangerous!) to pass pointers to
4697 CORBA_longs of the proper type to the CORBA stubs, and copy the
4698 data into the longs that were passed into the C bindings code.
4700 * at-bridge/bridge.c:
4702 * libspi/accessible.c:
4703 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4704 hyperlinks, AtkHyperlink is an object type.
4706 * libspi/application.c:
4707 Added various conversions to and from "generic" event types and
4708 atk-specific types; this is really part of the 'bridge'
4709 implementation but is valid for all AtkObject-based accessibility
4712 * libspi/editabletext.c:
4713 Fixed nasty bug wherein editable text's finalize method was
4714 unref'ing tha AtkObject reference that the text parent class was
4715 about to unref _again_. There was also a nasty inheritance bug
4716 that meant that the AccessibleEditableText class was corrupt.
4718 * libspi/selection.c:
4719 Provided implementations for some selection API that was broken.
4721 * idl/Application.idl:
4722 Added registerObjectEventListener () method.
4725 Fixed a number of return values that were Bonobo_Unknowns from
4726 bonobo_object_corba_objref(), which I
4727 forgot to dup before returning. Changed instances of
4728 bonobo_object_corba_objref (bonobo_object(o)) to
4729 BONOBO_OBJREF(o), for concision and clarity.
4731 2001-10-13 Louise Miller <louise.miller@sun.com>
4733 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4734 idl/Event.idl, idl/Registry.idl
4735 Changed these files to include Bonobo_Unknown.idl instead
4738 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4740 * libspi/component.c libspi/component.h:
4741 Fixed typo. Added assertions for object checks in
4742 AccessibleComponent code.
4744 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4746 * idl/Accessible.idl:
4747 Added 'isEqual (Accessible *object)'
4748 method for Accessible. (Not Yet Implemented).
4751 Changed signature of registerKeystrokeListener() to
4752 take a KeySet and KeyEventSeq so that specific keys and event
4753 types could be requested for monitoring, and added a flag
4754 is_synchronous so that either synchronous or asynchronous
4755 notification could be requested. (However this is not all
4756 implemented yet). This also meant adding two new typedefs,
4757 KeyEventSeq and KeySet.
4760 Added two new relations, RELATION_TOOLTIP_FOR and
4761 RELATION_LEAFNODE_OF.
4764 Added new state, STATE_HAS_TOOLTIP.
4766 * libspi/text.c, editabletext.c:
4767 Added new assertions to all casts of bonobo-objects from
4768 CORBA servants, to prevent Text API calls on non-text objects.
4769 Changed suspect casts of int-pointer types, so that we
4770 always send a valid CORBA_long pointer to the CORBA APIs that use
4771 in/out long parameters. We then have to copy from the CORBA_long
4772 into the regular long or int for return to the C bindings, or
4773 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4776 * libspi/deviceeventcontroller.c:
4777 Cleaned these sources up.
4779 Changed return type for getCharacterAtOffset to
4780 CORBA_unsigned_long, to allow for 32-bit characters.
4783 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4787 Fixed 'make dist' so that distro compiles...
4788 * libspi/keymasks.h:
4790 * cspi/spi-listener.c:
4791 KeystrokeListenerCB now returns a boolean.
4793 Added KeyEventType struct, and KeyStroke.
4794 Also added createKeystrokeListener(),
4795 KeystrokeListener_addCallback(),
4796 KeystrokeListener_removeCallback(), and added a keymask to
4797 registerKeystrokeListener().
4798 * cspi/spi_accessible.c:
4799 Changed numerous return types for interfaces from
4800 AccessibleComponent to Accessible<InterfaceName>; this was
4801 probably a cut-and-paste error.
4803 Implementations of new KeystrokeListener api (from spi.h,
4806 Changes to key modifier mapping.
4807 Created ControllerEventMask struct.
4808 Made DeviceEventController derive from Bonobo::Unknown.
4810 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4811 * libspi/deviceeventcontroller.c:
4812 Added a number of new internal (private) methods.
4813 * libspi/editabletext.c:
4814 * libspi/editabletext.h:
4815 Fixed a number of bugs related to the fact that
4816 editabletext inherits from text. Fixed the EditableText struct,
4817 the init() call, and use correct casts when calling Text methods
4818 from an EditableText object. Removed (duplicate) atko from the
4819 EditableText structure, we use the one in the parent Text
4820 structure via the casts mentioned above.
4821 * libspi/keystrokelistener.[ch]:
4822 * libspi/registry.c:
4823 Changes in support of keyboard handling (above).
4825 Keyboard handling, though partly functional, is still not
4826 recommended for at-spi client use as there is considerable
4827 work yet to be done.
4830 Changed some places where pointers to various int types
4831 are cast to be pointers to CORBA_long types and vice-versa:
4832 pointer casting is not safe so we pass pointers of the correct
4833 types and then cast the result before putting it into the target
4836 * libspi/text.h: minor typos corrected.
4838 We now speak not only the name of a Text element, but the
4839 first sentence of its content, when it receives focus.
4840 I also changed the text compression to 75% from 50%.
4841 * util/Accessibility_Util.server.in:
4842 Changed the default magnifier type to be a 3x vertical
4843 splitscreen magnifier (was previously a 2x horizontal one).
4845 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4847 * libspi/keystrokelistener.h:
4848 * libspi/keystrokelistener.c:
4849 Initial functional implementations of KeystrokeListener.
4852 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4854 Fixed string handling for NULL strings in libspi.
4855 Added spi_freeString to free strings returned by C bindings.
4857 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4859 * libspi/keystrokelistener.h:
4860 * libspi/keystrokelistener.c:
4861 Began (no-op) implementations of KeystrokeListener
4863 * libspi/deviceeventcontroller.c:
4864 * libspi/deviceeventcontroller.h:
4865 Began creating implementations of DeviceEventController,
4866 to handle keystroke and mouse event listening and
4868 * libspi/accessible.c:
4869 Stubbed-in the implementations for
4870 Accessibility_Accessible_getState and
4871 Accessibility_Accessible_getRelationSet.
4872 * libspi/registry.c:
4873 Improved de-registration process and fixed some bugs,
4874 deregistration now works correctly.
4876 Added initialization of applications list (to NULL).
4878 Reduced speech compression from 0.5 to 0.7, for demo.
4879 Changed call to gdk_window_set_decorations()
4880 to gtk_window_set_decorated().
4881 * at-bridge/bridge.c:
4882 Bridge now deregisters when app exits, via
4883 registration of a cleanup function
4884 with the g_atexit() call.
4885 Required making 'app' static, renamed 'this_app'.
4886 Fixed broken use of bonobo_init, passing argv wrongly.
4888 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4892 Created a new directory for
4893 accessibility-related utilities, primarily for
4894 testing and demo purposes, but with possible
4901 Onscreen magnifier utility that
4902 is implemented as a bonobo service.
4904 * util/mag_client.c:
4905 * util/mag_client.h:
4906 Client-side support (simple C bindings)
4907 for Magnification service
4909 * util/mag_control.c:
4910 Client program example for
4911 Magnification service
4913 * util/Accessibility_Magnifier.server.in:
4914 Bonobo-activation file for the
4915 Magnification service.
4918 * util/idl/Magnifier.idl:
4919 IDL defining the bonobo Magnification
4923 Modifications to use the bonobo-activated magnifier
4924 above, in place of trying to connect to an existing
4925 magnifier that uses socket-listening IPC.
4927 If env variable MAGNIFIER is set, a magnifier service
4928 will be started if one does not exist.
4930 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4932 * at-bridge/bridge.c:
4933 applied patch from Marc to build and run
4934 against new glib and gtk+ (seemed like a change
4935 to bonobo_init signature was made ?)
4937 made festival-server support turned off by default.
4938 Added support for a simple magnifier (off by default)
4939 which will be added to a 'util' directory later.
4940 * at-bridge/Makefile.am:
4941 Changed "application.h" header from a 'source'
4942 to a 'dependency' of libat-bridge.
4944 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4953 Added interface implementation c files to list of
4954 includes so they are included in libcspi.
4957 Changed prototype of AccessibleAction_doAction to return a
4959 Changed prototype of AccessibleTable_getCaption to
4960 return an Accessible.
4961 Changed prototype of AccessibleTable_getSelectedRows
4962 and AccessibleTable_getSelectedColumns to
4963 return a long (returns the number of selected rows
4964 or columns respectively).
4965 Changed name of AccessibleText_refRunAttributes to
4966 AccessibleText_getAttributes.
4967 Changed prototype of AccessibleText_getCharacterExtents to
4968 return a void rather than a boolean.
4969 Added support for a AccessibleCoordType parameter
4970 specifying what type of coordinates are desired.
4971 Added an AccessibleCordType parameter to
4972 AccessibleText_getPointAtOffset.
4974 * cspi/spi_accessible.c:
4975 Added code to return the outstanding interfaces from
4976 Accessible_queryInterface.
4978 * cspi/spi_action.c:
4980 Corrected call to getNActions to call the c binding
4983 * cspi/spi_editabletext.c:
4985 Changed name from setRunAttributes to setAttributes.
4987 * cspi/spi_hyperlink.c:
4989 Changed call to getNAnchors to correctly call the c
4990 binding for an attribute.
4992 * cspi/spi_hypertext.c:
4994 Changed getImageDescription to correctly call the
4995 binding for an attribute.
4997 * cspi/spi_selection.c:
4998 Changed getNSelectedChildren to correctly call the c
4999 binding for the attribute.
5000 Changed refSelectedChild to getSelectedChild.
5004 Changed getCaption to return an Accessible.
5005 Fixed calls which retrieve attributes.
5006 Changed refAt to getAccessibleAt.
5007 Changed getNSelectedRows and getNSelectedColumns to
5011 Changed getCharacterExtents and getPointAtOffset to accept an
5012 AccessibleCoordType.
5014 Changed calls which retrieve attributes.
5015 Changed refRunAttributes to getAttributes.
5020 * idl/Hyperlink.idl:
5021 Changed n_anchors attribute to nAnchors to keep naming
5022 convention consistent.
5025 Made Table inherit from Bonobo::Unknown.
5026 Added nSelectedColumns and nSelectedRows attributes.
5029 Made Value inherit from Bonobo::Unknown.
5031 * libspi/hyperlink.c:
5032 Change for nAnchors attributte name change.
5034 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5042 Added interface implementation c files to list of
5043 includes so they are included in libcspi.
5046 Changed prototype of AccessibleAction_doAction to return a
5048 Changed prototype of AccessibleTable_getCaption to
5049 return an Accessible.
5050 Changed prototype of AccessibleTable_getSelectedRows
5051 and AccessibleTable_getSelectedColumns to
5052 return a long (returns the number of selected rows
5053 or columns respectively).
5054 Changed name of AccessibleText_refRunAttributes to
5055 AccessibleText_getAttributes.
5056 Changed prototype of AccessibleText_getCharacterExtents to
5057 return a void rather than a boolean.
5058 Added support for a AccessibleCoordType parameter
5059 specifying what type of coordinates are desired.
5060 Added an AccessibleCordType parameter to
5061 AccessibleText_getPointAtOffset.
5063 * cspi/spi_accessible.c:
5064 Added code to return the outstanding interfaces from
5065 Accessible_queryInterface.
5067 * cspi/spi_action.c:
5069 Corrected call to getNActions to call the c binding
5072 * cspi/spi_editabletext.c:
5074 Changed name from setRunAttributes to setAttributes.
5076 * cspi/spi_hyperlink.c:
5078 Changed call to getNAnchors to correctly call the c
5079 binding for an attribute.
5081 * cspi/spi_hypertext.c:
5083 Changed getImageDescription to correctly call the
5084 binding for an attribute.
5086 * cspi/spi_selection.c:
5087 Changed getNSelectedChildren to correctly call the c
5088 binding for the attribute.
5089 Changed refSelectedChild to getSelectedChild.
5093 Changed getCaption to return an Accessible.
5094 Fixed calls which retrieve attributes.
5095 Changed refAt to getAccessibleAt.
5096 Changed getNSelectedRows and getNSelectedColumns to
5100 Changed getCharacterExtents and getPointAtOffset to accept an
5101 AccessibleCoordType.
5103 Changed calls which retrieve attributes.
5104 Changed refRunAttributes to getAttributes.
5109 * idl/Hyperlink.idl:
5110 Changed n_anchors attribute to nAnchors to keep naming
5111 convention consistent.
5114 Made Table inherit from Bonobo::Unknown.
5115 Added nSelectedColumns and nSelectedRows attributes.
5118 Made Value inherit from Bonobo::Unknown.
5120 * libspi/hyperlink.c:
5121 Change for nAnchors attributte name change.
5124 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5126 implementations-- made server implementations own AtkObject pointers
5127 rather than their respective AtkInterrface pointers to fix
5128 refcounting. AtkHyperlink is still broken.
5130 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5131 * cspi/spi_accessible.c:
5132 Added method Accessible_Role_getName(),
5133 and requisite string array (role_names).
5134 Added conversion string_from_corba_strin() call
5135 to Accessible_getName and _getDescription.
5136 * libspi/accessible.c:
5137 Added implementation for Accessible_getRole()
5139 Added festival support, used if environment variable
5142 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5144 * at-bridge/bridge.c:
5145 Now allocate Accessibility_Event using
5146 Accessibility_Event__alloc() instead of g_new0().
5147 * libspi/accessibleeventlistener.c:
5148 Initialize AccessibleEventListener->callbacks to NULL.
5149 Fixed accessible__event_listener_init() param, changed to
5150 "AccessibleEventListener *" type.
5151 Changed a bonobo_object_release_unref() call to
5152 Accessibility_Accessible_unref().
5153 * libspi/listener.c:
5154 Changed Bonobo_Unknown_unref to (equivalent)
5155 Accessibility_Accessible_unref.
5156 * libspi/registry.c:
5157 Changed bonobo_object_release_unref to
5158 Accessibility_Accessible_unref.
5160 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5163 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5164 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5165 spi-util.c spi-util.h
5166 Implementations for C bindings to remaining accessibility
5169 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5172 changed return value of Action from void to boolean to
5173 bring in line with ATK.
5176 Changed getText funcions to return "out" start and end offsets.
5177 Changed getAttributes to take and offset and return the start
5178 and end offset of the attribute run.
5179 Changed getOffsetAtPoint and getCharacterExtents to take an
5180 enum describing whether coordinates are window or screen.
5183 libspi/action.c libspi/action.h libspi/editabletext.c
5184 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5185 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5186 libspi/image.h libspi/selection.c libspi/selection.h
5187 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5188 libspi/value.c libspi/value.h
5189 Added server implementations for outstanding ATK interfaces
5190 not yet implemented.
5192 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5195 Added (missing) getName() method.
5196 Made nActions an attribute.
5197 * idl/EditableText.idl:
5198 Changed order of params in setAttributes.
5199 * idl/Hyperlink.idl:
5200 Removed getAnchor, added getURI.
5202 Changed attributes to methods, for efficiency
5203 (so that getting extents can be done in one call)
5204 * idl/Selection.idl:
5205 Changed nSelectedChildren to attribute, and re-indented.
5206 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5208 * idl/Text.idl: reformatted to match our coding style.
5209 (temporarily?) removed getRowColumnAtOffset().
5210 Changed text selection API to support multi-select and
5211 non-contiguous selections, as in ATK.
5212 * idl/Value.idl: changed some methods to attributes.
5214 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5216 * libspi/listener.c(impl_notify_event):
5217 BonoboUnkown_unref the source instead
5218 of bonobo_object_release_unref - the ORB
5219 handles the releasing.
5221 * configure.in: require ORBit-2.3.94 for
5224 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5226 Tagged CVS repository 'EA_1_0'.
5227 * README.EARLY_ACCESS:
5228 Alphabetized acknowledgements list, and
5230 Listed some known dependencies of at-spi.
5232 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5234 * docs/at-spi-docs.sgml:
5235 * docs/at-spi-sections.txt:
5236 * docs/at-spi-overrides.txt: (Added zero-length file)
5237 Documentation improvements - gtk-doc should build
5238 docs for all implemented C bindings now.
5241 * cspi/spi.c: (New file)
5242 * cspi/spi_event.c: (New file)
5243 * cspi/spi_registry.c: (New file)
5244 * cspi/spi_accessible.c: (New file)
5245 * cspi/spi_application.c: (New file)
5246 * cspi/spi_component.c: (New file)
5247 Split spi_main.c into six parts, and included them from
5248 "spi.c". This is a bit of a hack, probably temporary,
5249 but required by gtk-doc, apparently.
5251 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5254 * docs/at-spi-docs.sgml:
5255 * docs/at-spi-sections.txt:
5257 Initial checkins/modifications for gtk-doc generation.
5260 Added (missing) interface query methods to Accessible's C binding.
5262 Added GenericInterface type definition.
5264 Added query for AccessibleComponent interface to focus event handler.
5265 Added printout of bounding box for focussed component.
5266 * libspi/component.c:
5267 Added partial implementation for AccessibleComponent to C binding.
5268 * idl/Application.idl:
5269 * libspi/registry.c:
5270 * libspi/listener.c:
5271 * libspi/application.c:
5272 * libspi/application.h:
5273 Changed "ID" attribute type from string to long.
5275 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5279 Made method naming consistent: methods taking object args
5280 start with uppercase, other methods (except those using
5281 acronyms) start with lowercase. Underscores delimit between
5282 object names and method names:
5283 SPI_init() - uppercase since it starts with an acronym.
5284 getDesktopCount () - lowercase start since no object param0.
5285 Accessible_getName() - uppercase object type name, studlyCaps method
5289 Added gtk-doc documentation for all currently implemented
5290 methods in the C bindings API.
5292 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5294 * Makefile.am : changed build order to build test last.
5297 Changed "createEventListener" to "CreateEventListener".
5298 * libspi/accessibleeventlistener.c :
5299 Bugfix for addition of callbacks.
5300 * test/Makefile.am :
5301 * test/simple-at.c :
5302 Added new test that uses the C bindings API.
5304 * libspi/listener.c :
5305 * libspi/registry.c :
5306 * libspi/accessibleeventlistener.c :
5307 * at-bridge/bridge.c :
5308 Renamed member "target" of Accessibility_Event to "source",
5309 which is more descriptive.
5312 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5316 * cspi/Makefile.am :
5317 Added makefile support for at-spi/cspi directory.
5320 * cspi/spi-listener.h : (NEW FILE)
5321 Added support for/use of spi-listener.h.
5323 C bindings now build successfully, with no warnings.
5324 * libspi/accessibleeventlistener.h : (NEW FILE)
5325 * libspi/accessibleeventlistener.c : (NEW FILE)
5326 * libspi/Makefile.am :
5327 Added new object type "AccessibleEventListener"
5328 which inherits from Listener, and allows attachment
5329 of in-process callbacks (so that a client with a listening
5330 object instance can add functionality to the local
5331 implementation, dynamically).
5333 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5335 * libspi/accessible.c:
5336 Add implementation for get_index_in_parent().
5338 Added #include of "spi-roletypes.h", and
5339 added enumerated type AccessibleCoordType.
5340 Added definition for KeystrokeListener (function type).
5343 * cspi/spi-statetypes.h :
5344 * cspi/spi-roletypes.h :
5346 Added these headers, used by spi.h.
5348 Added code (NOTE: not yet built by make).
5350 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5352 * libspi/Makefile.am: generate imodule
5353 at the same time as other idl compiler
5356 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5357 * libspi/registry.c :
5358 * libspi/application.c :
5359 * idl/Application.idl :
5360 Made registration with toolkit an application method,
5361 which is required since each app has its own toolkit static
5362 environment. Thus the bridge must register for
5363 notification of toolkit events from each application in turn.
5364 Toolkit notifications are now successfully registered for, and
5365 sent to the listening at client.
5367 Changed toolkit event string to use hyphens rather than underscores.
5368 * libspi/listener.c :
5369 listner now gives more info in debug mode - it reports the
5370 name of the event received, as well as the name of the source.
5373 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5375 * libspi/registry.c :
5376 added more implementation for toolkit events.
5377 Fixed bug such that toolkit event registrations
5378 (via atk) use the whole event name string, not
5380 Removed a useless call to an ORBit_ method.
5381 * at-bridge/bridge.c :
5382 Removed unused local sbuf[] variable.
5384 We now register for Gtk:GtkWidget:button_press_event
5385 events as well as "focus:" events.
5387 Add some more API from Registry.idl that was missing,
5388 for keystroke listening, keystroke and mouse event
5389 synthesis, and enumeration of accessible desktops.
5391 2001-08-16 Michael Meeks <michael@ximian.com>
5393 * configure.in: use AM_GLIB_GNU_GETTEXT.
5395 * Makefile.am (SUBDIRS): kill intl.
5397 2001-08-15 Michael Meeks <michael@ximian.com>
5399 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5401 * configure.in: upd.
5403 * configure.in: depend on a recent bonobo-activation that
5404 will find our server files ...
5406 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5408 * libspi/accessible.c : accessible_new() :
5409 Now we add the Component interface via bonobo_object_add_interface,
5410 if the contained AtkObject implements AtkComponent.
5411 * libspi/accessible.h : now include "component.h"
5412 * libspi/component.h :
5413 * libspi/component.c : added files - implementation of
5414 bonobo wrapper object for Accessibility/Component
5415 * libspi/listener.c :
5416 Added test code to check for Accessibility/Component:1.0
5417 interface and report whether it is implemented by the
5419 * libspi/registry.c :
5420 Now we check for not only the hash of the whole event
5421 string before relaying the event, we also check the
5422 "minor" event string (without the detail string).
5423 This allows event listeners to be registered against
5424 all events of a certain major+minor type, or just
5425 against a specific major+minor+detail type.
5426 * libspi/accessible.c :
5427 Added implementations for Accessible:get_parent(),
5428 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5429 * libspi/registry.c :
5430 * libspi/listener.c :
5431 Replaced calls to Accessibility_Accessible_ref() and
5432 Accessibility_Accessible_unref() with
5433 calls to bonobo_object_dup_ref() and
5434 bonobo_object_release_unref(), so that the CORBA object
5435 is dup-ed and released when relayed, as well as the bonobo object.
5437 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5439 * libspi/Makefile.am,
5440 registryd/Makefile.am,
5441 at-bridge/Makefile.am.
5442 test/Makefile.am, configure.in:
5443 reverse previous changes.
5445 * /idl/Image.idl: fix typo.
5447 * test/Makefile.am: put DEBUG_FLAGS
5450 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5452 * test/app.c: use argv[0] instead of
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 cleanup, replace individual LIBS/CFLAGS with
5462 AT_COMMON_{LIBS|CFLAGS}.
5466 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5468 * configure.in, libspi/Makefile.am:
5469 Change IDL path checking for bonobo-activation
5472 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5474 * registryd/registry.c : separated event listeners to use
5475 3 separate lists (focus, window, toolkit). Began testing
5476 event names against hashes before relaying events.
5477 * test/at.c : now register for events of type "focus:"
5478 * test/app.c : now generate events of type "focus:"
5479 * at-bridge/bridge.c : register with ATK for focus events,
5480 and we now relay those focus events to any "focus:" listeners.
5481 This now works with the bridge as a GTK_MODULE when running test/at.
5482 * libspi/registry.c :
5483 * libspi/listener.c :
5484 now we ref event sources before propagating, and unref on receipt.
5485 * libspi/registry.c :
5486 some changes to internal structs, to support event typestring hashes.
5487 * text/app.c : changed the way the appname is generated.
5488 * cspi : added directory that will hold the C bindings library for
5489 non-CORBA/bonobo-savvy clients.
5490 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5491 * idl/Component.idl : added in parameter to indicate coord system for
5492 geometry-related calls.
5493 * idl/Hyperlink.idl : added readonly n_links attribute
5494 * idl/Image.idl : changed methods to attributes.
5496 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5498 * at-bridge/Makefile.am: link against
5499 ../libspi/libspi.la instead of -lspi.
5501 * at-spi/test/app.c: include
5502 bonobo-activation.h. Use a default appname
5503 if one is not provided.
5505 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5507 * idl/Registry.idl : temporarily changed register_Application
5508 to oneway, to work around issue with initial registration
5510 * idl/Application.idl : changed attribute "id" from readonly
5511 to read-write, since it needs to be assigned by Registry.
5512 * registryd/registryd.c : added call to set application id
5514 * registryd/registry.c : changed de-registration procedure to
5515 use CORBA_Object_hash() to find matching object ref in application
5516 lists and listener lists.
5517 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5518 began distinguishing between event types (work in progress).
5520 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5523 * libspi/application.c:
5524 Added implementations for get/set id, get_toolkitName,
5526 * registryd/registryd.c :
5530 Converted from use of OAF to bonobo-activation.
5531 * libspi/desktop.h :
5532 * libspi/desktop.c :
5534 Removed references to atksimpleobject, since base atkobject
5535 implementation now provides functionality we need.
5536 * libspi/atksimpleobject.c :
5537 * libspi/atksimpleobject.h :
5542 * at-bridge/Makefile.am
5543 * at-bridge/bridge.c
5546 Added directory "bridge" and contents, and added dependencies
5547 in Makefile.am/configure.in.
5548 Initial checkin of "at-bridge".
5549 This code is a GTK_MODULE which automatically registers
5550 GTK+ apps with the accessibility registry, using an object
5551 reference to the root ATK object.
5553 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5555 * po/Makefile.in.in: Remove. Again. If this
5556 doesn't get autogenerated - you need to update
5559 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5561 * po/Makefile.in.in: Add. Again.
5563 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5565 * libspi/accessible.c : added support for 'description' property.
5566 * libspi/accessible.c
5568 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5569 (since the two are now equivalent in libbonobo)
5577 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5578 Bonobo::Unknown as does Accessibility::Accessible.
5579 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5580 interface with Bonobo::Stream, since it was redundant with it.
5581 (The Stream returned by a StreamableContext object is expected to
5582 implement only a subset of Bonobo::Stream)
5584 2001-07-28 Anders Carlsson <andersca@gnome.org>
5586 * libspi/accessible.c (accessible_object_finalize): Change
5587 g_free to g_object_unref since the AtkObject is a GObject.
5589 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5591 * idl/Accessibility.idl: add new IDL files
5594 * idl/Action.idl: Definitions of actionable UI object
5595 * idl/Component.idl: Definitions of UI component geometry, etc.
5596 * idl/Hyperlink.idl: Defs of hyperlink behavior
5597 * idl/Image.idl: Def of accessible image
5598 * idl/Selection.idl: Definition of UI object with selectable children
5599 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5600 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5601 * idl/Text.idl: Interface defs for UI elements with complex textual content
5602 * idl/Value.idl: Definition of UI element that is a value controller or display
5604 2001-07-27 Michael Meeks <michael@ximian.com>
5606 * po/Makefile.in.in: remove autogenerated file from CVS.
5608 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5611 * idl/Registry.idl: include guard.
5613 * idl/Accessibility.idl: Add, and include all the other IDL
5616 * idl/*.idl: remove mass of pragmas etc.
5618 2001-07-26 Michael Meeks <michael@ximian.com>
5620 * registryd/Makefile.am (registryd_SOURCES): remove
5623 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5625 * libspi/.cvsignore, registryd/.cvsignore,
5626 test/.cvsignore: updated.
5628 * po/Makefile.in.in: gettext update.
5630 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5632 * initial CVS checkin
5634 2001-06-29 Michael Meeks <michael@ximian.com>
5636 * configure.in: add AM_CONFIG_HEADER to gen config.h