1 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
3 * cspi/spi_event.c (cspi_internal_event_get_text): Change
4 g_strdup to CORBA_String_dup (bug #105291)
6 * test/event-listener-test.c (report_text_event): Add call to
9 2003-02-28 Bill Haneman <bill.haneman@sun.com>
11 * registryd/deviceeventcontroller.c:
12 (spi_keystroke_from_x_key_event):
13 Fix string and keysym return codes to match modifier state.
16 2003-02-28 Bill Haneman <bill.haneman@sun.com>
18 * registryd/deviceeventcontroller.c:
19 (spi_keystroke_from_x_key_event):
20 Fix segv due to improper use of isprint(c). [bug #107254]
22 2003-02-24 Bill Haneman <bill.haneman@sun.com>
25 (get_accessible_text_boundary_type):
26 Move default return value to (new) default case in switch.
27 (get_accessible_text_clip_type):
28 Move default return value to (new) default case in switch.
30 * libspi/application.c:
31 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
32 Remove unused methods.
33 (impl_accessibility_application_register_object_event_listener):
34 Remove unused methods.
37 Added #include of <math.h>.
39 * registryd/deviceeventcontroller.c:
40 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
41 we don't currently use this method.
42 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
44 (impl_generate_key_event):
45 Remove unused variables.
46 (impl_generate_mouse_event):
47 Initialize button to zero, just in case we get an invalid
48 input. Added support for mouse buttons 4 and 5.
49 (spi_device_event_controller_new):
50 Removed unused variable declaration for 'private'.
52 Added #include of <gdk/gdk.h>
54 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
56 * configure.in: Update to work when X is not installed in expected
57 location. Fixes bug #105836.
60 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
62 (spi_atk_register_event_listener): Add signal listener for
64 (spi_atk_bridge_signal_listener): Event event when link-selected
65 signal is emitted. (bug #104622)
67 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
68 on returned string. (bug #105291)
70 * test/event-listener-test.c: Add test for link-selected.
72 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
74 * atk-bridge/Makefile.am: Correct typo in previous commit.
76 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
78 * atk-bridge/Makefile.am: Allow for build directory to be different
81 * registryd/Makefile.am: Allow for build directory to be different
86 2003-01-29 Bill Haneman <bill.haneman@sun.com>
89 Fixed dependencies for libcspi so that libspi gets pulled in
90 properly. Fixes 104741.
94 Clean up inline docs a little.
96 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
98 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
99 This is done by implementing AtkComponent for SpiAtkDesktop, which is
100 the AtkObject within an SpiDesktop.
101 This addresses bug #101524.
103 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
104 Remove call to gdk_init().
106 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
107 so that Display is set when SpiDesktop is created.
109 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
111 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
112 This fixes bug #102830.
114 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
116 * test/test-simple.c: Update to take account of fact that GailButton
117 now implements AtkText.
118 (create_text_window): Set name on AtkObject for GtkEntry.
119 (validate_accessible): Check accessible name before calling test_text().
121 * libspi/Makefile.am: Fix problem with building outside of source
122 directory. Bug #98120.
124 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
125 typo in documentation comments. Bug #94275.
127 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
129 * libspi/text.c (impl_getBoundedRanges): Bug fix.
131 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
134 Add includes to avoid compiler warnings on Solaris.
135 (impl_getRangeExtents): Bug fix.
137 2002-12-17 Bill Haneman <bill.haneman@sun.com>
139 Fix for 100944, [API addition approved by Gman and murrayc].
146 * idl/Accessibility_Text.idl:
147 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
148 (Text::getRangeExtents): New method for efficient
149 bounds query of a text range.
150 (Text::getBoundedRanges): New method for efficient
151 clipping of text to bounding boxes.
152 (unImplemented7, unImplemented8):
153 Removed these padding methods to preserve bincompat.
156 (impl_getRangeExtents): implementation of new IDL.
157 (impl_getBoundedRanges): implementation of new IDL.
158 (SpiTextRect): Internal use struct.
159 (_spi_text_rect_union): internal method, calculates union of two
160 SpiTextRect bounding rects.
161 (_spi_text_range_seq_from_gslist): internal method, allows us
162 to build our sequence efficiently as a gslist then convert it
164 (_spi_bounds_contain): internal method, determines whether
165 a text character is "in" or "out" of a clip rect according to
166 values of TEXT_CLIP_TYPE.
167 (spi_text_class_init): Initialize the new methods in the epv.
170 (AccessibleTextClipType): New enum used by screen review api.
171 (AccessibleTextRange): New struct used by screen review api.
172 (AccessibleText_getRangeExtents):
173 cspi binding for Accessibility_Text_getRangeExtents.
174 (AccessibleText_getBoundedRanges):
175 cspi binding for Accessibility_Text_getBoundedRanges.
176 (AccessibleTextRange_freeRanges): convenience method.
179 (AccessibleText_getRangeExtents):
180 cspi binding for Accessibility_Text_getRangeExtents.
181 (AccessibleText_getBoundedRanges):
182 cspi binding for Accessibility_Text_getBoundedRanges.
183 (AccessibleTextRange_freeRanges): convenience method.
184 (get_accessible_text_clip_type): internal conversion method.
185 (get_accessible_text_ranges_from_range_seq): internal conversion method.
187 * registryd/deviceeventcontroller.c:
188 (spi_dec_mouse_check):
189 Improved behavior for mouse:abs events
190 [same granularity as mouse:rel events, and no
191 events when mouse is idle].
193 2002-12-16 Michael Meeks <michael@ximian.com>
195 * cspi/spi_accessible.c (spi_state_to_corba): rename.
197 * libspi/stateset.c (state_spi_to_atk): split out
198 ( fix several remote array bounds nasties )
199 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
200 (impl_remove): make safe from array bounds issues.
201 (spi_atk_state_from_spi_state): impl.
203 * libspi/stateset.h (spi_state_set_cache_is_empty):
204 add a set of wrapper defines to get layering right.
206 * cspi/spi_accessible.c: update state set stuff to
209 2002-12-14 Michael Meeks <michael@ximian.com>
211 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
212 to avoid 2 roundtrips to the registry per key event
213 (spi_atk_bridge_key_listener): upd.
214 (deregister_application): release the dec.
216 * registryd/registry.c (notify_listeners_cb):
217 bin lots of re-enterant complexity - we no longer
218 do a round-trip bonobo ref here, ensure that a single
219 listener's exception failure won't poison all other
221 (impl_registry_notify_event): bin obvious memory leak.
223 2002-12-13 Michael Meeks <michael@ximian.com>
225 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
226 init the ev so the error is meaningful.
227 (spi_atk_bridge_key_listener): ditto.
229 * cspi/spi_main.c (cspi_ev): init the ev so we start
230 with a clean slate, otherwise the first exception
233 * cspi/spi_text.c (get_accessible_text_boundary_type):
234 add a fallthrough for no warnings.
236 * cspi/spi_registry.c: prune unused warnings.
238 * cspi/spi_main.c (cspi_object_take): fix
239 mind-blowing brokenness ( by watching the compile
242 * cspi/spi_accessible.c (Accessible_getStateSet):
243 re-impl. to use an AtkStateSet.
244 (spi_state_type_from_accessible_state),
245 (init_state_table): bin these.
247 * libspi/stateset.c (spi_atk_state_set_from_sequence):
249 (atk_state_set_from_accessibility_state_set): here.
251 * cspi/spi_accessible.c (spi_state_to_atk): impl.
252 (AccessibleStateSet_contains, AccessibleStateSet_ref),
253 (AccessibleStateSet_unref, AccessibleStateSet_contains),
254 (AccessibleStateSet_add, AccessibleStateSet_remove),
255 (AccessibleStateSet_equals, AccessibleStateSet_compare),
256 (AccessibleStateSet_isEmpty): re-write to use a local
259 2002-12-13 Bill Haneman <bill.haneman@sun.com>
261 * configure.in: Revved to 1.1.7 (new keymask vals).
263 2002-12-10 Bill Haneman <bill.haneman@sun.com>
266 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
268 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
271 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
272 to compare two CORBA_TypeCodes.
273 (cspi_internal_event_add): Silence warning from FORTE compiler.
275 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
276 avoid implicit declaration of functions.
278 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
280 * atk-bridge/bridge.c:
281 (spi_atk_bridge_init_event_type_consts): Store signal id for
282 active-descendant-changed signal.
283 (spi_atk_register_event_listeners): Add signal listener for
284 active-descendant-changed signal,
285 (spi_atk_bridge_signal_listener): Move code in function
286 spi_atk-signal_emit_event() into this function.
287 Add support for active-descendant-changed
288 Update support for child-changed signal.
289 (spi_bridge_window_event_listener): Silence warning.
291 * libspi/spi_private.[ch]:
292 (spi_init_any_object): Change second parameter from CORBA_Object to
294 Omit call to CORBA_Object_duplicate().
295 Set CORBA_any's _value to CORBA_Object*.
297 2002-12-06 Bill Haneman <bill.haneman@sun.com>
303 (AccessibleEvent_ref, AccessibleEvent_unref):
304 New methods, for persisting an event outside the emission context.
305 Must be used if the new accessor methods are to be called
306 outside of the event listener's callback.
308 * cspi/bonobo/cspi-bonobo.c:
309 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
310 as second parameter instead of NULL, so we can call
311 cspi_check_ev afterwards.
314 (cspi_object_take): New internal method,
315 converts a CORBA_Object reference to a hard ref on
316 an Accessible if possible, returning NULL if the object
317 reference is invalid or an Accessible * otherwise.
320 (AccessibleEvent_ref):
321 Increment the event's internal private refcount, and
322 add the event's internal struct to an internal cache
323 if it's not already there.
324 (AccessibleEvent_unref):
325 Decrement the event's refcount and remove it from
326 the cspi event cache if refcount==0.
327 (cspi_event_compare): New private method.
328 Compares two event structs via their ids. Used
330 (cspi_internal_event_lookup): New private method.
331 (cspi_internal_event_check): New private method,
332 a 0-order sanity check for events to make sure their
333 private data is intact.
334 (cspi_internal_event_add, cspi_internal_event_remove):
335 New private methods for managiing the event cache.
337 * cspi/bonobo/cspi-bonobo-listener.c:
339 Initialize the new private data elements (id, magic, ref_count).
341 * atk-bridge/bridge.c:
342 (spi_atk_bridge_signal_listener):
343 Fixed bug #100530, passing wrong params to emission func.
345 * registryd/deviceeventcontroller.c:
346 (spi_dec_button_update_and_emit):
347 Fixed type in mask bit operations; fix for #99799.
349 2002-12-02 Bill Haneman <bill.haneman@sun.com>
351 Removed some of the more dangerous workarounds from
352 previous commit; they are only needed by GOK, which
353 in reality should be using another method to accomplish
354 the goals. So on reconsideration some of the workarounds
357 * registryd/deviceeventcontroller.c:
358 (spi_keycodes_contain, spi_dec_init_keycode_list):
359 Removed these methods, used only by a nasty hack to try
360 and detect whether a key synthesis should be allowed
361 to reset the XKB latch state or not. This code was only
362 required to work around an interaction between GOK,
363 button events, and XKB.
364 (impl_generate_key_event):
365 Removed hack at end of key generation that tried to
366 "do the right thing" if XKB latch keys were generated
367 in the midst of button press/release pairs.
370 Added a check for HAVE_XINPUT. Not normally used yet.
372 2002-11-25 Bill Haneman <bill.haneman@sun.com>
374 Workarounds and fixes for mouse event/XKB interaction.
376 * registryd/deviceeventcontroller.c:
377 (spi_keycodes_contain, spi_dec_init_keycode_list):
378 New internal methods.
379 (spi_dec_set_unlatch_pending):
380 Split the method that tells XKB to expect an
381 unlatch (and revert it) out of the rest of the
382 event handling code. This method is called by the
383 two mouse event handlers (the poll and the filter).
384 (spi_dec_update_and_emit, spi_dec_mouse_check):
385 New methods split from spi_dec_poll_mouse_moved.
386 The second one is now called from inside the filterFn
387 when an XKB delatch event is received, to determine
388 whether to revert the delatch or not.
389 (spi_poll_mouse_moved): Refactor; also we can now
390 properly handle the case where multiple button states
391 have changed between polling cycles and we didn't get
392 notified due to another client's grab.
394 Synchronize the server while handling an XKB notification.
395 Ugly, but apparently necessary to avoid nasty races.
396 Check the mouse state on receipt of an XKB latch change,
397 to decide whether to revert the latch or not. (Latches are
398 reverted if there is an immediately preceding mouse button
399 event that a client has consumed, in which case we don't want
400 the user to see the side-effect of the event).
401 (spi_device_event_controller_forward_mouse_event):
402 Check for modifier events and fire before resetting mouse_mask_state,
403 prevents losing modifier events.
405 (impl_generate_keyboard_event):
406 If we've just generated a keyboard event for a non-shift key,
407 we don't want to revert the pending XKB latch.
408 Otherwise, check the modifier state (via a call to
409 spi_dev_mouse_check) and set the relatch mask to
410 that state before returning.
412 2002-11-24 Bill Haneman <bill.haneman@sun.com>
415 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
418 * atk-bridge/bridge.c:
419 (spi_atk_register_event_listeners):
420 Don't re-register for ATK events if the registry has died
421 and the app needs to re-register; the ATK listeners are in
422 process and doing so will cause duplicate emission.
424 * registryd/deviceeventcontroller.c:
425 (spi_poll_mouse_moved):
426 Reformat the source, detect and emit multiple button-change
427 events (i.e. if multiple buttons have changed between poll
429 Add code to detect mouse-down events even when the pointer
430 is grabbed; workaround for GOK bug 98420.
431 (spi_controller_register_with_devices):
432 Call XTestGrabControl with 'impervious' flag set to True,
433 allows us to synthesize events and query the pointer even during
434 an active grab by another client.
435 (spi_device_event_controller_forward_mouse_event):
436 Set the mouse_mask_state to the mouse_button_state from
437 the intercepted event, to synchronize the grab listener with
440 2002-11-20 Bill Haneman <bill.haneman@sun.com>
442 * cspi/spi_accessible.c:
443 (AccessibleRole_getName):
444 Added necessary strings for making this (deprecated)
445 method work with the new role types.
446 (init_role_table, role_table):
447 Added definition of SPI_ROLE_APPLICATION.
449 * libspi/spi-roletypes.h:
450 Added SPI_ROLE_APPLICATION.
452 * idl/Accessibility_Role.idl:
453 Added ROLE_APPLICATION.
455 * docs/reference/cspi/at-spi-cspi-decl.txt:
456 Added SPI_ROLE_APPLICATION to docs.
458 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
460 * cspi/spi_accessible.c
461 (cspi_init_role_table): Do not write beyond end of role_table.
462 (Accessible_getRole): Use correct type for value returned by
463 Accessibility_Accessible_getRole().
465 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
466 beyond end of role_table. (This fixes bug #98269)
468 * libspi/application.c: Add include file spi-private.h for
469 definition of spi_init_any_nil.
471 2002-11-19 Bill Haneman <bill.haneman@sun.com>
475 * libspi/spi-private.h:
476 Added DGB() macro, and extern int _dbg declaration.
478 * registryd/registry.c:
479 (definitions) storage for _dbg.
481 Get environment variable "AT_SPI_DEBUG".
482 (spi_registry_set_debug):
483 New method, to initialize _dbg value.
484 (spi_listener_struct_new, spi_registry_object_finalize):
485 (notify_listeners_cb):
486 Changed fprintfs to use DBG and g_warning().
488 * registryd/deviceeventcontroller.c:
489 (_deregister_keygrab, spi_controller_register_device_listener):
490 Changed debug/warning messages to use DBG macro.
494 Changed warning messages to use DBG macro and g_warning().
496 * atk-bridge/bridge.c:
497 (atk_bridge_init, spi_atk_bridge_get_registry):
498 (spi_atk_bridge_exit_func):
499 (spi_atk_bridge_property_event_listener):
500 Changed status, warning, and error messages to use
501 g_warning, g_message, and DBG macros.
504 Read the state of the AT_SPI_DEBUG environment variable
505 and set a local '_dbg' accordingly.
507 2002-11-19 Bill Haneman <bill.haneman@sun.com>
509 FIXES for 98836, 98842, other bugs.
512 Revved to 1.1.4, interface-age=4, binary-age=4.
514 * registryd/deviceeventcontroller.c:
516 Fixed crasher bug in last_mouse_pos initialization.
518 * registryd/registry.c:
519 (desktop_add_application, desktop_remove_application):
520 Added (and then commented out) some support for
521 object context marshalling. [TODO]
523 * atk-bridge/bridge.c:
524 (spi_atk_bridge_event_context_create):
525 Commented out object context creation until it can
526 be properly tested and debugged.
528 * registryd/registry.c:
529 (impl_registry_notify_event):
530 Fixed crasher bug, we were calling
531 spi_re_entrant_list_foreach () with an empty list.
533 2002-11-18 Bill Haneman <bill.haneman@sun.com>
535 * idl/Accessibility_Action.idl:
536 * idl/Accessibility_Component.idl:
537 * idl/Accessibility_Desktop.idl:
538 * idl/Accessibility_Event.idl:
539 * idl/Accessibility_Hyperlink.idl:
540 * idl/Accessibility_Image.idl:
541 * idl/Accessibility_Relation.idl:
542 * idl/Accessibility_Selection.idl:
543 * idl/Accessibility_State.idl:
544 * idl/Accessibility_Value.idl:
545 Updated unimplemented slot count to minimum of
546 four for all interfaces, for ABI freeze.
548 * idl/Accessibility_EditableText.idl:
549 * idl/Accessibility_Text.idl:
550 Updated unimplemented slot count to six
553 * idl/Accessibility_Registry.idl:
554 Updated unimplemented slot count to six
555 (also for DeviceEventController),
558 * idl/Accessibility_Table.idl:
559 Updated unimplemented slot count to eight,
562 * idl/Accessibility_Event.idl:
563 Added CORBA_any "any_data" member to Event struct.
565 * idl/Accessibility_Event.idl:
566 Added CORBA_any "any_data" member to Event struct.
568 * atk-bridge/bridge.c:
570 atk_signal_text_changed, atk_signal_child_changed,
571 signal ids queried from gtype system.
572 (AtkBridgeEventContextType): New enum.
573 (AtkBridgeEventContextData): New struct.
574 (AtkBridgeEventContext): New struct.
575 (atk_bridge_init_event_type_consts):
576 New method, initializes type contants for comparison
577 prior to emit_eventv.
578 (atk_bridge_event_context_init): New method,
579 initializes a CORBA_any from an AtkBridgeEventContext.
580 (atk_bridge_focus_tracker): Call spi_init_any_nil to
581 initialize the event.any_data struct.
582 (spi_atk_bridge_event_context_create): New method,
583 creates an AtkBridgeEventContext from signal/event info.
584 (spi_atk_bridge_event_context_free): New method.
585 (spi_atk_emit_eventv): Changed to take an
586 AtkBridgeEventContext parameter. We now initialize
587 the event.any_data member prior to notifying the
588 Registry, via the AtkBridgeEventContext.
589 (spi_atk_bridge_property_event_listener):
590 (spi_atk_bridge_state_event_listener):
591 Match emit_eventv signature.
592 (spi_atk_bridge_object_event_listener):
593 Match emit_eventv signature, and create an
594 event context from the event details.
595 Free the event context afterwards.
596 (spi_atk_bridge_window_event_listener):
597 Create an event context, pass it to the
601 (AccessibleEvent_getContextString):
602 (AccessibleEvent_getContextObject):
603 New methods, allow query of AccessibleEvent objects
604 for more context details (via the "any_data" member
605 of the Event struct, above).
608 Definitions for AccessibleEvent_getContextString
609 and AccessibleEvent_getContextObject.
611 * cspi/spi_listener.h:
612 (InternalEvent): New struct.
615 (AccessibleEvent_getContextString):
616 (AccessibleEvent_getContextObject):
617 Implementations of new methods, for obtaining
618 additional context information from some event types.
620 * cspi/spi_registry.c:
621 (SPI_registerGlobalEventListener):
622 Added mention of active-descendant-changed event in docs.
624 * cspi/cspi-bonobo-listener.c:
626 Marshal the any into the AccessibleEvent via
629 * libspi/spi-private.h:
630 #include <orbit/orbit.h>
632 (spi_init_any_string):
633 (spi_init_any_object):
634 New convenience function declarations.
638 (spi_init_any_string):
639 (spi_init_any_object):
640 New convenience function implementations.
642 * registryd/deviceeventcontroller.c:
643 (spi_poll_dec_mouse_moved):
644 (spi_device_event_controller_forward_mous_event):
645 Initialize any_data member of event.
646 (spi_deregister_controller_device_listener):
647 Fix incorrect param pass which was preventing deregistration.
649 * registryd/registry.c:
650 (desktop_add_application):
651 (desktop_remove_application):
652 Add object data to event's any_data before dispatch.
654 Fix for error messages from GAIL.
656 * test/event-listener-test.c:
657 Test new ContextString and "any_data" API:
658 (report_text_event): New method query and output context string.
659 (main): register a new text listener with report_text_event
662 2002-11-19 Darren Kenny <darren.kenny@sun.com>
664 Fixes for bugs 98127 and 97914.
665 * cspi/spi-roletypes.h:
666 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
668 * cspi/spi-statetypes.h:
669 Added SPI_STATE_MANAGES_DESCENDANTS
671 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
672 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
673 * cspi/spi_accessible.c:
674 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
675 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
676 Accessibility_STATE_MANAGES_DESCENDANTS
677 * libspi/accessible.c:
678 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
679 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
680 As requested by Bill, I also cleaned up the alignment.
682 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
683 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
685 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
686 Accessibility_STATE_MANAGES_DESCENDANTS
687 * docs/reference/cspi/tmpl/spi_accessible.sgml:
688 Document changes reflecting modifications to roles.
689 * docs/reference/cspi/tmpl/spi_relation.sgml:
690 Document changes reflecting modifications to relations.
691 * docs/reference/cspi/tmpl/spi_stateset.sgml:
692 Document changes reflecting modifications to states.
694 2002-11-17 Bill Haneman <bill.haneman@sun.com>
697 Revved to 1.1.3, interface-age=3, binary-age=3.
701 Removed accessx-gui from the tests, since we have a nice
702 keyboard accessibility capplet now :-)
704 * test/keysynth-demo.c:
705 (increment_scan): removed do-nothing default: case,
708 * test/visual-bell.c:
709 (main) : removed do-nothing default: case,
713 (AccessibleAction_getKeyBinding_):
714 Documented keybinding string format.
718 (AccessibleText_getAttributes):
719 Documented the text attribute string format.
720 It's changed to use semicolon delimiters also,
721 to prevent clashes with CSS attributes, but the old
722 trick of looking for ", " strings will still work
723 (as unreliably as ever). Fix for bug related to 97916.
726 Include <cspi/bonobo/cspi-bonobo-listener.h>
728 (SPI_freeAccessibleKeySet):
729 (AccessibleKeystrokeListener_addCallback):
730 (AccessibleKeystrokeListener_removeCallback):
731 Modify to use AccessibleDeviceListener API internally,
732 instead of AccessibleKeystrokeListener.
734 * idl/Accessibility_Event.idl:
735 Added two more empty slots to EventListener (for a total of four).
737 * idl/Accessibility_Accessible.idl:
738 Added four empty slots to Accessible interface.
740 2002-11-15 Bill Haneman <bill.haneman@sun.com>
742 * idl/Accessibility_Registry.idl:
743 (KeyEventType, EventType):
744 Marked KeyEventType as deprecated; it duplicates
745 functionality of EventType, which has been extended to
746 include Mouse-button events.
747 (KeyEventTypeSeq): defined in terms of EventType.
748 (registerDeviceEventListener, deregisterDeviceEventListener):
749 New methods, for managing listeners to device events,
750 which potentially may consume them.
753 Added definition for AccessibleDeviceListener.
755 * cspi/spi-listener.h:
756 (enum AccessibleDeviceEventType):
757 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
758 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
759 for backwards compat.
760 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
761 and typedef'd AccessibleKeystroke to it for back-compat.
762 (AccessibleDeviceListenerCB):
763 New function prototype typedef.
766 (AccessibleDeviceEventMask): New typedef.
767 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
768 (AccessibleKeyMaskType):
769 Set equivalent to AccessibleModifierMaskType for back-compat.
770 (SPI_createAccessibleKeystrokeListener):
771 (AccessibleKeystrokeListener_unref):
772 Deprecated in favor of equivalent (better-named) new API below..
773 keystroke listeners are like all device listeners.
774 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
775 New API names for old features :-).
776 (AccessibleDeviceListener_addCallback):
777 (AccessibleDeviceListener_removeCallback):
778 (SPI_registerDeviceEventListener):
779 (SPI_deregisterDeviceEventListener):
783 (SPI_createAccessibleKeystrokeListener):
784 Use new preferred API, cspi_device_listener_new() and
785 cspi_device_listener_add_cb().
786 (AccessibleKeystrokeListener_removeCallback):
787 Use new preferred API, cspi_device_listener_remove_cb().
788 (AccessibleKeystrokeListener_unref):
789 Use new preferred API, cspi_device_listener_unref().
790 (SPI_createAccessibleDeviceListener):
791 (AccessibleDeviceListener_addCallback):
792 (AccessibleDeviceListener_removeCallback):
793 Implementation of new API.
795 * cspi/spi_registry.c:
796 (SPI_registerDeviceEventListener):
797 (SPI_deregisterDeviceEventListener):
798 Implementation of new API. Fixed memory leak and removed need to
799 allocate EventTypeSeq (thanks Michael for catching this).
800 Squashed a wayward CORBA_exception_free that shouldn't get called.
802 * cspi/bonobo/cspi-bonobo-listener.c:
804 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
805 (cspi_key_event): renamed to cspi_device_event().
806 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
807 Extended to handle mouse button events as well as key events.
808 (CSpiKeystrokeListener):
809 Class superceded by CSpiDeviceListener.
810 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
811 These internal APIs changed to "*device_listener" from "*keystroke_listener".
813 * cspi/bonobo/cspi-bonobo-listener.h:
814 (CSpiKeystrokeListener):
815 Class superceded by CSpiDeviceListener.
816 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
817 These internal APIs changed to "*device_listener" from "*keystroke_listener".
819 * libspi/Makefile.am:
820 Replaced keystrokelistener.h and keystrokelistener.c
821 with devicelistener.h and devicelistener.c; keystrokelisener.h
822 stub retained for back-compat.
824 * libspi/keystrokelistener.c:
828 Replaced inclusion of keystrokelistener.h with devicelistener.h.
830 * registryd/deviceeventcontroller.c:
831 (DEControllerListener): Added Accessibility_EventTypeSeq member.
832 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
833 (DEControllerPrivateData): Added xkb settings data.
834 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
835 button release events (which can't be captured via XGrabButton).
836 Don't dispatch via the 'normal' event mechanism if the device event was
838 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
839 Handle the typeseq data in its new location (see above).
840 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
841 New methods, for "generic" device listeners.
842 (spi_controller_register_device_listener):
843 Now handle mouse event listeners as well as key listeners.
844 (spi_controller_notify_mouselisteners):
846 (spi_device_event_controller_forward_mouse_event):
847 Now we notify mouse device listeners as well as generating the
848 non-consumable "mouse:" events.
850 We must check and restore the XKB
851 modifier map if we consume the event, since the act of triggering
852 a mouse event will normally reset the XKB latch. This is required for
854 (spi_controller_register_with_devices):
855 Load the XKB settings when registering, and register for XKB
857 (spi_key_eventtype_seq_contains_event):
858 Renamed spi_eventtype_seq_contains_event, since it's used
859 internally for all device event types now.
860 (spi_key_event_matches_listener):
861 Uses spi_eventtype_seq_contains_event now.
862 (spi_device_event_controller_object_finalize):
863 Free the private data and the XkbKeyboard struct.
864 (impl_register_device_listener, impl_deregister_device_listener):
865 Implementation of new IDL.
866 (spi_deregister_controller_device_listener):
868 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
869 More efficient implementation, we don't have to create a new
870 XkbControls structure every time we query.
871 (spi_device_event_controller_class_init):
872 Initialize the epv entries for the new IDL. Assign the
873 "spi-dec-private" quark.
874 (spi_device_event_controller_init):
875 Initialize the private data.
876 (spi_device_event_controller_forward_key_event):
877 Removed a bogus CORBA_exception_free() call.
879 * registryd/deviceeventcontroller.h:
880 Replaced inclusion of keystrokelistener.h with
883 * test/event-listener-test.c:
884 (report_mouse_event):
887 Added mouse-event device listener.
889 * test/test-simple.c:
890 (create_test_window):
891 Fixed regression (we were instantiating a GtkRange,
892 which is now an abstract class). Also fixed to match
893 existing AtkRole names, this seems to have changed in ATK
894 awhile ago; too late now I think, and the new
895 mechanism is at least elegant and consistent with the
896 glib enum "nick" APIs.
898 2002-11-15 Darren Kenny <darren.kenny@sun.com>
900 * idl/Accessibility_Relation.idl:
901 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
902 RELATION_EMBEDS,RELATION_EMBEDDED_BY
903 * idl/Accessibility_Role.idl:
904 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
905 * idl/Accessibility_State.idl:
906 add STATE_MANAGES_DESCENDANTS
907 * test/event-listener-test.c:
908 Added a listener for active-descendant events.
910 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
912 * atk-bridge/bridge.c
913 (atk_bridge_init): If application is Bonobo component wait until top
914 level is added before registering
915 (spi_atk_bridge_do_registration): New function which contains code,
916 formerly in atk_bridge_init, to do application registration.
917 (spi_atk_bridge_toplevel_added): Signal called when top level
918 added to Bonobo component
920 This fixes bug #83134.
922 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
924 * registryd/deviceeventcontroller.c
925 Fixed compilation error caused by calling gettimeofday()
928 2002-10-18 Bill Haneman <bill.haneman@sun.com>
933 Added template for HAVE_XKB.
936 Changes to check for XKB, and to set the HAVE_XKB #define if it
940 ()impl_notify_event): Make failure to get event source name
943 * registryd/deviceeventcontroller.c:
944 (#include): include X11/XKBlib.h.
945 (DEControllerPrivateData) : New struct.
946 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
948 (dec_synth_keycode_press) (dec_synth_keycode_release):
949 New methods; split the key synthesis code into these methods.
950 They check XKB settings before determining the "time" values to
951 pass to Xtest; this fixes bug #95828.
952 (impl_generate_keyboard_event): Changed to use methods above,
953 instead of callng Xtest directly.
954 (spi_device_event_controller_init): Initialize new privae struct s
956 (spi_device_event_controllr_object_finalize):
957 Free the (new) private data.
959 * registryd/deviceeventcontroller.h:
960 Add new gpointer to end of struct data.
962 2002-10-16 Bill Haneman <bill.haneman@sun.com>
965 Incremented revision to 1.1.2, SONAME is still '.so', library
966 extensions are ".so.0.0.2".
968 * registryd/deviceeventcontroller.c:
969 FIXES FOR #93592 and #95940.
970 (statics): renamed mouse_button_state to mouse_mask_state,
971 added key_modifier_mask.
972 (spi_dec_poll_mouse_moved):
973 Added key modifier checks, and emit "keyboard:modifiers"
974 events when the key modifiers currently in use change.
975 Also generate "mouse:abs" events periodically, even if the mouse
976 is stationary (should we?).
977 Alternatively we could generate "mouse:abs" events for either all
978 mouse movements, or every 'nth' mouse movement, or at the
979 beginning and end of every "active" mouse period.
981 * test/event-listener-test.c:
982 (main): Added listener for "keyboard:modifiers" events.
984 2002-10-15 Bill Haneman <bill.haneman@sun.com>
987 Added key mask #defines for mouse buttons; e.g.
988 SPI_KEYMASK_BUTTON1, etc.
991 Incremented dependency on ATK to version 1.1.0. (This dependency
992 is probably premature but will soon be real enough).
994 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
996 * libspi/hyperlink.[ch]
997 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
998 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1001 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1006 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1008 * registryd/deviceeventcontroller.c
1009 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1010 events to be ignored.
1011 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1012 keyboard_mode so that XAllowEvents() can be called.
1016 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1018 * cspi/spi-accessible.c: Correct names of roles returned by
1019 AccessibleRole_getName(). Fixes bug #95055.
1021 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1023 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1026 * registryd/registry.c
1027 (desktop_remove_application: Write diagnostic message to stderr for
1030 (impl_accessibility_registry_deregister_global_event_listener):
1031 Correct size of lists array. This addresses bug #94555).
1033 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1035 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1038 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1040 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1043 * registryd/registry.c (impl_registry_notify_event): Remove
1044 unnecessary call to parser_event_type().
1046 * docs/reference/cspi/tmpl/spi_component.sgml:
1047 Add reference to SPI_LAYER_WINDOW.
1049 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1051 * registryd/registry.c
1052 (desktop_add_application): Remove leak.
1053 (desktop_remove_application): Remove leak.
1054 (parser_event_type): Remove leak.
1056 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1058 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1059 bogus call to CORBA_string_dup(). Also removed unnecessary
1060 g_string_dup/g_free calls.
1062 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1064 * registryd/deviceeventcontroller.c:
1065 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1067 * test/event-listener-test.c:
1068 main: commented out three redundant listeners, to reduce output
1069 noise. (They still are potentially useful for testing).
1072 2002-09-13 Michael Meeks <michael@ximian.com>
1074 * Update all the copyrights to include Ximian.
1076 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1078 * cspi/spi.h: add SPI_LAYER_WINDOW.
1080 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1081 add Accessibility_LAYER_WINDOW case.
1083 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1085 * libspi/component.c: (impl_accessibility_component_get_layer):
1086 add ATK_LAYER_WINDOW case.
1088 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1090 * configure.in: incremented micro version.
1092 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1094 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1097 Clarified and reworded our commit policy.
1100 Started an API "todo" addition list for 2.2.
1103 (impl_getSelection):
1104 Free char pointer from atk_text_get_selection, which was being leaked.
1106 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1109 Small revision to author acknowledgement.
1111 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1113 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1114 If signal has detail add it to the type of the event.
1117 2002-08-12 Michael Meeks <michael@ximian.com>
1119 * test/test-simple.c (global_listener_cb): bin bogosity.
1120 (test_keylisteners): disable, still doesn't work reliably,
1121 certainly not on my system anyway.
1123 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1124 don't leak a reference on the DEC. This round-trip
1125 fetching of the DEC per keystroke sucks, it should be
1128 * cspi/spi-private.h,
1129 * cspi/cspi-lowlevel.h,
1130 * cspi/bonobo/cspi-bonobo-listener.[ch],
1131 * cspi/bonobo/cspi-bonobo.c: get the copyright
1132 notices better - there is still a large amount of
1133 work in at-spi falsely attributed solely to Sun.
1135 * cspi/spi_main.c (cspi_object_ref): kill bogus
1136 hash lookup, just increment the ref.
1137 (SPI_freeString): make explicit the fact that we
1138 handle NULL strings just fine.
1139 (report_leaked_ref): obey coding standards.
1140 (cspi_object_hash, cspi_object_equal): kill retval.
1141 (cspi_object_release): only release if not on loan.
1142 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1143 (cspi_object_borrow, cspi_object_return): impl.
1145 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1146 use cspi_object_borrow / return.
1148 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1150 * cspi/bonobo/cspi-bonobo-listener.c:
1152 Don't call cspi_oject_new() because this is creating a new Accessible
1153 every single time that an event is fired. This causes ATs like at-poke
1154 to nolonger recognise the source of the event and thus ignore it.
1155 Re-use the object from the cache, ref it and then unref it after the
1156 listeners have been called.
1158 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1160 * test/event-listener-test.c:
1161 Added command-line options to disable mouse events (m) and
1164 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1166 * configure.in: Update required versions of ATK, GTK+ and GAIL
1168 * cspi-1.0.pc.in: Add dependency for X include files
1171 * cspi/bonobo/Makefile.am:
1172 Add $(X_CFLAGS) so that X include files
1173 are picked up even if not in standard place (bug #71686)
1175 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1177 * registryd/deviceeventcontroller.c: fix for 84261
1178 (spi_dec_mouse_moved):
1179 Added test of mouse button mask, so that we can detect mouse
1180 button release. Unfortunately we can't otherwise detect mouse
1181 button release events without consuming the mouse press event,
1182 because of the way XGrabButton works. This means that our mouse
1183 release events have a latency dependent on the polling period
1184 while the mouse button is down. At least in this case we only
1185 have to poll while the button is down, and not at other times.
1186 If the button masks don't match with what the last press event
1187 reported, we report the appropriate button release event.
1188 (spi_dec_ungrab_mouse):
1189 New method (not yet called).
1190 (spi_device_event_controller_forward_mouse_event):
1191 New method, sends mouse press event from GdkFilter.
1192 (spi_dec_init_mouse_listener):
1193 Added code to call XGrabButton, redirecting mouse button events to
1194 the root window and our Gdk event loop.
1196 Added code to filter mouse button events, and reordered.
1198 * test/event-listener-test.c:
1200 Added registration for mouse events of type "mouse:button".
1202 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1204 * registryd/deviceeventcontroller.c: partial fix for 84261
1205 (spi_dec_poll_mouse_idle):
1206 New method, a timeout which checks to see if the mouse
1208 (spi_dec_poll_mouse_moving):
1209 A timeout to be called when mouse motion is underway.
1210 (spi_dec_poll_mouse_moved):
1211 A method which fires an event if the mouse has moved, and reports
1212 whether or not it did so.
1213 (spi_dec_init_mouse_listener):
1214 A method which sets up the timeouts above.
1215 (spi_device_event_controller_new):
1216 Now calls spi_dec_init_mouse_listener.
1218 * registryd/registry.c:
1219 (spi_registry_init):
1220 Now we initialize the device event controller when the registry is
1221 initialized, instead of waiting until a client has requested a key
1222 event notification; this is because we need the event controller
1223 for mouse events, but the mouse event registration API is a
1224 "registry" call and doesn't explicitly call the
1225 deviceeventcontroller.
1226 We now report mouse motion events with a 100 ms idle latency and
1227 a 20 ms granularity when motion is in progress.
1229 * test/event-listener-test.c:
1231 We now register the "detail listener" for events of type
1232 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1233 delivered only for the first mouse event received, and thereafter
1234 "mouse:abs" events are delivered.)
1236 * cspi/spi_registry.c:
1237 DOCS: Documented the above mouse event typestrings.
1239 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1241 Happy Summer Solstice...
1243 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1244 (spi_controller_notify_keylisteners):
1245 Changes to remove a listener from the listener list, freeing its
1246 open keygrabs, if a notification to that listener fails. This
1247 means that although a dead listener can continue to hold a passive
1248 keygrab, a maximum of one dispatch to such a listener can fail
1249 before the listener is removed from the list, thus the keygrab
1250 will be released on the next occurrence.
1251 As part of this fix:
1252 (spi_notify_keylisteners):
1253 Renamed to spi_controller_notify_keylisteners, as the controller
1254 instance must now be passed as an argument.
1255 The copied 'notify' GList is now a list of DEControllerKeyListener
1256 objects, since we need more than just the CORBA reference if a
1257 notify fails and we need to deregister the listener.
1258 (impl_notify_listeners_sync):
1259 (impl_notify_listeners_async):
1260 (spi_device_event_controller_forward_key_event):
1261 Modify use of notify_keylisteners in accordance with above
1263 (spi_deregister_controller_key_listener):
1264 New method introduced by refactoring, from
1265 impl_deregister_keystroke_listener.
1266 (impl_deregister_keystroke_listener):
1267 Call spi_deregister_controller_key_listener.
1268 (spi_key_listener_clone):
1269 New method to copy a key listner without doing a 'ref' on the
1270 remote object instance; used to create a notifier list.
1271 (spi_key_listener_data_free):
1272 New method, frees data without unreffing the source.
1274 (spi_key_listener_clone_free): new method.
1275 (spi_key_listener_free):
1276 refactored to call spi_key_listener_data_free.
1278 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1280 * registryd/registry.c: [fix for bug 86048]
1281 (notify_listeners_cb):
1282 Clear CORBA system exceptions which occur when notifying
1283 listeners, before returning to the source of the original event,
1284 since the event source doesn't care if the relayed notify failed.
1285 In other words, don't complain to the atk-bridge if the registry
1286 could not notify all its listeners, that's no fault of the
1287 application and thus should not appear to be an error from the
1288 application's perspective.
1290 * cspi/spi_main.c: [fix for bug 85980]
1292 Replaced use of bonobo_object_dup_ref with call to the wrapper
1293 method, csou_dup_ref (); this silences a compiler warning and
1294 provided more portability.
1296 Ping the registry before return, and restart if necessary.
1298 * cspi/bonobo/cspi-bonobo.c:
1300 New internal method.
1302 Fixed this method to return an object reference, as it should have
1305 * cspi/cspi-lowlevel.h:
1306 Added internal definition for cspi_ping() and fixed
1307 return type of cspi_dup_ref().
1310 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1312 * atk-bridge/bridge.c: [fix for bug 85305]
1313 (spi_atk_bridge_register_application):
1314 New method where the initial application registry calls have been
1315 moved; it allows an application to re-register in response to
1316 certain error conditions (such as a registry restart, see below).
1318 Moved some initialization code to the method
1319 spi_atk_bridge_get_registry, below.
1320 (spi_atk_bridge_get_registry):
1321 New, private accessor function for the Accessibility_Registry
1322 instance. If the registry has not been started before, or has
1323 died (as detected by failure of a CORBA exception), it is
1324 restarted before return, and spi_atk_bridge_register_application
1325 is called again to register with the new bridge instance.
1326 (spi_atk_emit_eventv):
1327 Set registry_died on error; use spi_atk_bridge_get_registry () to
1328 access the registry.
1330 * registryd/registry.c:
1331 (impl_accessibility_registry_register_global_event_listener):
1332 Set listener's event_type_quark to etype.minor instead of
1333 etype.major (fix for bug 84856).
1335 * test/event-listener-test.c:
1336 (report_detail_event):
1337 Change the output string so that user/tester can tell that the
1338 'detail listener' was called instead of the 'generic listener'.
1340 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1342 Fixes for bugs 84900, 84908, 84897, 84898.
1347 Revved version to 1.1.0
1348 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1349 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1351 * idl/Accessibility_Registry.idl:
1352 (EventListener::notifyEvent):
1353 Removed 'oneway' directive after extensive consulation with
1354 ORBit2 team and others. This means also that unref() of the event
1355 source can and should be done synchronously after emission, rather
1356 than remotely in the client, after servicing the notify call on
1359 NOTE: This change speeds up listener performance considerably, but
1360 introduces new latency on the application side. We may want to
1361 add an event queue to the atk-bridge.
1363 * atk-bridge/bridge.c:
1364 (spi_atk_bridge_focus_tracker):
1365 Do a local unref() on the event source after emission.
1367 * registryd/registry.c:
1368 (desktop_remove_application):
1369 Do an unref() on the event source after emission.
1370 (desktop_add_application):
1371 Do an unref() on the event source after emission.
1372 (notify_listeners_cb):
1373 When relaying an event, don't automatically add the event source
1374 to the local object cache, just CORBA_dup it instead. Likewise,
1375 if this method reenters, release the ref rather than calling
1377 (impl_registry_notify_event):
1378 No longer call remote unref() on the event source after dispatch.
1380 * libspi/eventlistener.c:
1381 (impl_accessible_event_notify_event):
1382 Removed remote unref ()
1384 * cspi/bonobo/cspi-bonobo-listener.c:
1386 We now call cspi_object_new() instead of cspi_object_add() on
1387 receipt of an event; thus we only have an implicit object ref
1388 while the cspi_event method is being executed. If we need to keep
1389 a reference to the object, the listener must call ref() on the
1390 object. Thus also we don't need to call cspi_object_unref() after
1391 invoking the listener callbacks in this method.
1395 New internal API for creating a new cspi object, without adding it
1396 to the object cache.
1398 Now uses cspi_object_new() to create the cspi object instance.
1400 Now checks to see if the object is in the internal object cache,
1401 and adds it if necessary before incrementing its refcount (note
1402 that new objects are added with a refcount of 1).
1403 (report_leaked_ref):
1404 New method which gives some information on leaked object instances
1405 if leak detection is turned on.
1407 * test/event-listener-test.c:
1408 (timing_test_event):
1409 New method, used for testing event delivery timing for special
1410 events of type "object:test". It reports elapsed time and
1411 events/sec every 500 events.
1413 Added a new listener, 'test listener', to check timing of event
1414 receipt as noted above.
1416 Added some timing output here also, reports elapsed time every 100
1419 * test/stress-test.c:
1420 Emit events of type "object:test", for use with "event-listener-test".
1422 * test/test-simple.c:
1423 (global_listener_cb):
1424 Call Accessible_ref() on the event source before calling
1425 validate_accessible, since the validation process does pointer
1426 comparisons on the event source, meaning that the event source
1427 needs to be added to the local object cache first. Any use of
1428 such pointer comparisons between Accessible objects requires that
1429 the caller hold an explicit reference to those objects.
1430 We also must therefore call Accessible_unref() when leaving this method.
1432 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1434 * registryd/deviceeventcontroller.c:
1435 (spi_controller_update_key_grabs):
1436 Fix for #84735, subsequent keygrab listeners not informed of
1437 registration failure.
1440 (spi_base_construct):
1441 Add an assertion on construct, to make sure the GObject passed in
1442 is really a GObject.
1444 Explicitly initialize object->gobj pointer to NULL;
1446 * cspi/bonobo/cspi-bonobo-listener.c:
1447 (cspi_object_add_ref):
1448 New method, can specify whether to dup-ref a bonobo object passed
1449 in if it's newly added to the object cache.
1451 Now calls cspi_object_add_ref with second param of "FALSE". This
1452 prevents us from doing a pointless dup-ref followed by
1453 release-unref for all those cases where the object is already in
1454 our object cache (fix for #85205).
1456 * atk-bridge/bridge.c:
1457 (spi_atk_bridge_idle_init):
1458 Removed this method, we don't need to initialize in an idle
1461 Changed to call spi_atk_register_event_listeners directly, not via an
1462 idle handler. (fix for #81139)
1463 (gnome_accessibility_module_shutdown):
1464 Removed conditional around deregistration of listeners, since we
1465 don't use the idle handler and thus have always registered when
1467 (spi_init_keystroke_from_atk_key_event):
1468 Changed references to Accessibility_KEY_PRESSED to
1469 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1471 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1473 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1478 * test/stress-test.c:
1481 (may have been an incomplete commit yesterday?)
1483 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1486 Added target for new stress-test.
1488 * test/stress-test.c:
1489 New test, sends 1000 focus notifies in quick succession.
1491 * test/key-listener-test.c:
1492 Now we report whether a keylistener registration
1493 request succeeded or failed.
1495 * test/event-listener-test.c:
1496 Uncommented some listeners which are now implemented.
1499 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1501 * registryd/deviceeventcontroller.c:
1502 (spi_controller_update_key_grabs):
1503 Fix for #82509, lack of failure notification when
1504 ALL_WINDOWS keygrabs fail due to XGrabKey
1505 failure: we synchronize the server when
1506 registering a passive grab, to make sure we get the
1507 error message before the call returns.
1509 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1511 * test/test-simple.c:
1513 Removed #ifdef KEY_IMPL_WORKS guards.
1514 (test_keylisteners):
1515 Removed #ifdef KEY_IMPL_WORKS guards.
1516 Fixed bug which was causing a hang waiting for a
1517 "press" event (which was already overwritten by a "release"
1518 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1520 Added code to set globals 'key_press_received' and
1521 'key_release_received'.
1524 Added section "1.1 API Proposed Additions" which
1525 lists API additions desired for at-spi-1.1 (only one so far).
1526 Updated TODO list a little.
1528 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1530 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1533 * configure.in: Revved to 1.0.0.
1535 * idl/Accessibility_Registry.idl:
1536 (registerKeystrokeListener):
1537 Added boolean return value.
1539 * registryd/registry.c:
1540 (notify_listeners_cb): Minor fix to debug output.
1542 * registryd/Accessibility_Registry.server.in.in:
1543 Revved version number in OAFIID to 1.0.
1545 * registryd/registryd.c:
1547 Use new OAFIID version.
1549 * cspi/bonobo/cspi-bonobo.c:
1551 Use new OAFIID version.
1557 * atk-bridge/bridge.c:
1559 Use new OAFIID version.
1561 * registryd/deviceeventcontroller.c:
1562 (impl_register_keystroke_listener):
1563 Added CORBA_boolean return value.
1564 (spi_controller_register_device_listener):
1565 Added gboolean return value.
1566 (spi_controller_register_global_keygrabs):
1567 Added gboolean return value.
1568 (spi_key_set_contains_key):
1569 Added implementation for many more control keys,
1570 for instance F1-F12, arrow keys, End, Home, Page_Up,
1572 [TODO: some still not implemented].
1574 * text/screen-review-test.c:
1575 (text_chunk_pad_string):
1576 New function: it provides mapping between coordinate
1577 positions of text chunks and character positions in the
1578 screen-review-line output string.
1579 (text_chunk_to_string):
1580 New function, calls text_chunk_pad_string with various
1581 pad/delimiter characters. Pushbuttons are delimited with
1582 square brackets, Frames with vertical 'pipe' lines, and
1583 other text with double quotes.
1584 (text_chunk_list_to_string):
1585 Calls new function text_chunk_to_string.
1586 (toplevel_composite):
1587 New function to composite layers CANVAS through
1588 POPUP in each toplevel (other layers are composited
1589 across toplevels, i.e. BACKGROUND and OVERLAY).
1590 (review_buffer_composite):
1591 Revise to use new methods.
1597 2002-05-31 Laszlo Peter <laca@sun.com>
1599 * configure.in: add the Xtst libdir to the runpath on Solaris,
1600 since it's not in the default library search path.
1602 2002-05-29 jacob berkman <jacob@ximian.com>
1604 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1606 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1608 * test/screen-review-test.c:
1609 (text_chunk_pad_string):
1610 Added method, which pads the string according to the
1611 text bounds of the chunk. It also takes a 3-character
1612 string as a param which indicates the characters to be
1613 used for start, padding, and end delimitation of the chunk.
1614 (text_chunk_to_string):
1615 Changed to use text_chunk_pad_string.
1617 * configure.in: Fixed bug in AC_OUTPUT that was
1618 causing path substitution in Accessibility_Registry.server
1621 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1623 * text/screen-review-test.c:
1624 (guess_string_clip):
1625 New method which attempts a best-guess at clipping
1626 text from components (like Java labels) which don't
1627 actually implement AccessibleText. This inaccurate
1628 clip is based on the assumption that the label is
1629 justified left-and-right, and monospaced.
1630 (text_chunk_get_clipped_string):
1631 We now call guess_string_clip() for text-containing
1632 components that don't implement AccessibleText.
1634 * test/screen-review-test.c:
1635 (review_buffer_get_text_chunk):
1636 We now pull "name" from labels if they do not implement
1637 AccessibleText (i.e. for Java labels).
1638 (get_screen_review_line_at):
1639 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1642 Replaceded AC_OUTPUT target
1643 registryd/Accessibility_Registry.server with
1644 registryd/Accessibility_Registry.server.in.
1646 * registryd/Accessibility_Registry.server.in:
1647 Removed (this is now a Makefile target).
1649 * registryd/Accessibility_Registry.server.in.in:
1650 Added (source for target above). We now use $(libexecdir) as
1651 prefix for the executable at-spi-registryd.
1653 * registry/Makefile.am:
1654 Now install at-spi-registryd into $(libexecdir), and build .server
1655 file with path (see above).
1657 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1659 * test/screen-review-test.c:
1660 (text_chunk_get_clipped_string):
1661 We now check to see if words fall within clip bounds
1662 before resorting to character-by-character clip bounds testing.
1664 * TODO: Added a section for "2.2 Proposed API Additions".
1666 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1668 * test/screen-review-test.c:
1670 Added a screen review benchmarking and test program to test
1673 * cspi/spi_accessible.c:
1675 Made some of the debug strings passed to cspi_check_ev a
1676 little more specific.
1678 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1680 * test/screen-review-test.c: Fix crashes in debug statements
1682 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1684 * test/screen-review-test.c: Added this file.
1686 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1688 * atk-bridge/bridge.c: changed "object:state-change" to
1689 "object:state-changed" to match docs.
1691 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1693 * atk-bridge/bridge.c: Hooked up state-change event details.
1695 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1697 * registryd/registry.c:
1698 Fixed quarking bug in event string parsing; now events with
1699 detail parameters get matched correctly to listeners.
1702 * util/idl/Magnifier.idl: remove.
1704 * util/*.[ch]: Remove.
1705 Magnification utilities and IDL are now in module gnome-mag.
1707 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1709 * registryd/deviceeventcontroller.c:
1710 Fixed bug in grab key conversion which was causing keycode grabs
1711 to be converted to AnyKey grabs.
1714 updated NEWS file to reflect recent spin-off of gnome-mag.
1716 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1718 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1719 busted AccessibleStateSet_compare. Removed redundant casts.
1721 * cspi/spi-action.c: Removed redundant casts.
1723 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1725 * cspi/spi_component.c: Fixed typos and casting error.
1727 * cspi/spi_editabletext.c: Removed redundant casts.
1729 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1731 * cspi/spi_hypertext.c: Eliminated redundant casts.
1733 * cspi/spi_image.c: Eliminated redundant casts.
1735 * cspi/spi_registry.c: Eliminated redundant casts.
1736 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1737 * cspi/spi_selection.c: Removed redundant casts.
1738 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1739 handling. Screen geometry and text offsets were being returned as 0
1740 on error which is technically valid-- changed these to return -1.
1741 Added marshaller for text boundary types to fix bug with boundary
1742 types being passed incorrectly to atk.
1744 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1747 * cspi/spi_registry.c:
1748 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1749 which was uncovered by the recent key changes.
1751 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1753 * test/event-listener-test.c:
1755 Added new test, "event-listener-test";
1756 this code does two things; it benchmarks traversal time
1757 for the accessible hierarchy for the first running accessible
1758 app, and it connects listeners for all supported event types.
1759 It is thus useful as an example event listener and for
1760 diagnostics/debugging of event generation.
1762 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1765 Removed unnecessary dependency on libutil.
1768 Revved micro version: 0.13.1
1770 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1773 Removed util/Makefile from targets.
1776 Removed util subdir from SUBDIRS (temporarily,
1777 pending removal of magnifier-only code
1781 #ifdef-ed out magnifier dependencies, since
1782 magnifier IDL, headers, and binary now live in
1783 module gnome-mag and we don't want at-spi to depend
1784 on gnome-mag. A magnifier demo which can run alongside
1785 simple-at is forthcoming in the gnome-mag module.
1787 NOTE: Split magnifier binary, IDL, and magnification
1788 activation code from at-spi into module gnome-mag.
1790 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1792 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1793 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1795 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1798 Revved to version 0.13.0
1800 * idl/Accessibility_Registry.idl:
1801 Changed definition of KeySet from sequence of longs to sequence of
1802 KeyDefinitions, and added KeyDefinition struct.
1803 Required for fix to bug 80616.
1805 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1806 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1807 to use new definition (see above).
1809 * registryd/deviceeventcontroller.c: handle_keygrab(),
1810 spi_keyset_contains_key():
1811 Changed to make use of new struct; this allows matching based on
1812 string key-name, for instance "Tab". This also allows matching of
1813 composed characters, non-alphanumeric characters in a way that
1814 doesn't involve dependencies on X keysym codes directly, etc.
1816 * test/key-listener-test.c:
1817 Added test for Alt-Tab key using "string" specification of keyset,
1818 and modified one of the tests to use a keycode-based keyset.
1819 Thus this test both tests and demonstrates the creation and use of
1820 keysets of three forms: specified via keycode array,
1821 keysym array, and string array. (The string case only contains a
1822 single string, i.e. a string array of length 1).
1825 Turned on PRINT_TREE option by default. Also fixed a
1826 string-freeing bug in the PRINT_TREE code.
1827 Added a listener to window:minimize events.
1829 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1831 * atk-bridge/bridge.c:
1832 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1833 for window:activate and window:deactiveate
1834 (atk_bridge_property_event_listener atk_bridge_signal_listener
1835 atk_bridge_window_event_listener) Tidy debug code
1837 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1839 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1840 Fixed handling for NULL return value from ATK.
1842 * libspi/action.c libspi/component.c libspi/editabletext.
1843 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1844 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1845 Removed redundant casts.
1847 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1848 Fixed off by one bug.
1850 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1851 function not present in idl)
1853 2002-05-02 jacob berkman <jacob@ximian.com>
1855 * atk-bridge/Makefile.am: make atk-bridge a real module
1857 2002-04-26 Radek Doulik <rodo@ximian.com>
1859 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1860 atk_state_types table
1862 2002-04-22 jacob berkman <jacob@ximian.com>
1865 * libspi/Makefile.am: add deps on the built files to help
1866 automake, and don't version the ORBit typelib
1868 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1870 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1871 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1872 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1873 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1874 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1875 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1876 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1877 libspi/accessible.h libspi/accessible.h libspi/base.h
1878 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1879 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1880 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1881 libspi/spi-private.h libspi/statetset.h libspi/table.h
1882 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1883 util/mag_client.h util/mag_control.c util/mag_image.c
1884 util/mag_image.h util/magnifier.c util/magnifier.h:
1885 Add missing file headers; standardize existing ones
1887 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1889 * atk-bridge/bridge.c: Added window event support.
1891 2002-04-18 Michael Meeks <michael@ximian.com>
1893 * libspi/relation.c (impl_getNTargets): impl.
1894 (impl_getTarget): impl.
1896 * libspi/Makefile.am: fix stateset install.
1898 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1901 Started putting useful info in this file.
1903 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1905 * atk-bridge/bridge.c:
1906 Propagate state-changed notifications to ATs
1908 * cspi/spi_registry.c: update docs to reflect actual behavior of
1909 state-change events.
1911 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1914 Incremented version to 0.12.1
1916 * util/mag_client.h:
1917 Add missing declaration for magnifier_exit,
1918 used by mag_control.c - Forte compiler didn't like
1919 the implicit redeclaration of the function :-(
1922 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1925 Revved version to 0.12 due to API change (see below).
1927 * cspi/spi-roletypes.h:
1928 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1929 definition from the inline docs, and added docs
1930 for SPI_ROLE_LAST_DEFINED.
1933 * cspi/spi_streamablecontent.c:
1934 Added missing seek_type parameter to
1935 (so far unused) method,
1936 AccessibleStreamableContent_seek().
1937 [ RT approval JodyG. ]
1940 Fixed docs for SPI_createAccessibleKeystrokeListener.
1942 * cspi/spi_registry.c:
1943 Fixed docs for SPI_KEYSET_ALL_KEYS.
1945 * docs/reference/cspi/at-spi-cspi-sections.txt:
1946 Added a number of missing APIs to SECTIONS.
1948 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1950 * registryd/Makefile.am:
1952 * cspi/bonobo/Makefile.am:
1953 Add $(X_LIBS) to makefiles.
1955 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1958 Revved version to 0.11.
1960 * libspi/component.c:
1961 Added implementation for grabFocus.
1963 * idl/Accessibility_Component.idl
1964 (Accessibility_Component_grabFocus):
1965 Made this method return boolean to indicate success or failure, to
1966 be consistent with cspi and the corresponding ATK method.
1968 * idl/Accessibility_Selection.idl
1969 (Accessibility_Selection_selectAll) :
1970 Made these methods return boolean to indicate success or
1971 failure, to be consistent with cspi and the corresponding ATK methods.
1973 * idl/Accessibility_EditableText.idl
1974 (Accessibility_EditableText_setTextContents,
1975 Accessibility_EditableText_insertText,
1976 Accessibility_EditableText_cutText,
1977 Accessibility_EditableText_deleteText,
1978 Accessibility_EditableText_pasteText):
1979 Made these methods return boolean to indicate
1982 * cspi/spi_editabletext.c:
1983 Made these methods return booleans.
1985 * libspi/selection.c:
1986 * libspi/component.c:
1987 * libspi/editabletext.c:
1988 Connected the boolean returns from ATK
1989 to the server-side code referenced above.
1991 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1993 * idl/Accessibility_Table.idl: Added missing methods,
1994 Accessibility_Table_addRowSelection,
1995 Accessibility_Table_addColumnSelection,
1996 Accessibility_Table_removeRowSelection,
1997 Accessibility_Table_removeColumnSelection.
2000 Added C wrappers for above IDL:
2001 AccessibleTable_addRowSelection,
2002 AccessibleTable_addColumnSelection,
2003 AccessibleTable_removeRowSelection,
2004 AccessibleTable_removeColumnSelection.
2007 Added server-side implementation code for IDL above, connecting
2008 to pre-existing ATK api.
2010 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2012 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2014 * libspi/accessible.c: Added implementation fo
2015 Accessibility_Accessible_get_state.
2017 * libspi/libspi.h: Added stateset.h to the list of includes.
2019 * libspi/stateset.c: Fixed broken implementation.
2021 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2024 Added implementation code for Accessibility_Magnifier_exit ().
2026 * util/mag_control.c:
2027 Added test code for above method; you can
2028 now kill an existing magnifier via
2029 ./mag_control q, from the util directory.
2031 * test/key-listener-test.c:
2033 Added a new test, for our key listener API.
2035 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2037 * test/app.c, test/keysynth-demo.c:
2039 Replace use of snprintf with g_snprintf.
2040 (fix for bugzilla 78249)
2042 2002-03-27 Michael Meeks <michael@ximian.com>
2046 * util/Makefile.am (INCLUDES): fix.
2047 (DONT_DIST_SOURCE): don't distribute the
2050 * libspi/Makefile.am (dist-hook): ditto.
2052 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2054 * libspi/hypertext.c:
2055 Fix warnings when yelp is used with atk-bridge
2057 2002-03-21 Michael Meeks <michael@ximian.com>
2059 * libspi/application.c (spi_application_new):
2060 use spi_accessible_construct so we use the AtkObject
2063 2002-03-19 Michael Meeks <michael@ximian.com>
2065 * registryd/registry.c (desktop_remove_application),
2066 (desktop_add_application): clean coding style.
2068 * registryd/desktop.c (spi_desktop_remove_application),
2069 (spi_desktop_add_application): kill re-enterency hazards.
2070 (spi_desktop_dispose): remove bogus redundant cast
2071 obscuring bug; fix bug too.
2072 (spi_desktop_init): make the desktop object immortal.
2074 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2077 Added a #define-guarded tree-traversal step
2078 when enumerating the apps (diagnostic tool).
2080 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2082 * idl/Accessibility_Role.idl:
2083 Added ROLE_DRAWING_AREA which seemed to be missing from the
2086 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2088 * cspi/spi-roletypes.h cspi/spi_accessible.c
2089 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2092 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2093 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2094 AT when applications are added and removed from the desktop. This
2095 reverts the previous broken implementation using the backing
2096 AtkObject for the SpiDesktop.
2098 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2100 * registryd/desktop.c: emit the "children-changed::add" and
2101 "children-changed::remove" signals on the backing ATK object for
2102 the desktop so AT can tell when applications are started and shut
2105 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2107 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2109 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2111 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2113 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2115 * cspi/state-types.h: synched with IDL and ATK
2117 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2119 * libspi/accessible.c
2120 (impl_accessibility_accessible_get_child_at_index):
2121 Change return value for g_return_if_fail ()
2122 to CORBA_OBJECT_NIL instead of "0" (!)
2124 * registryd/Makefile.am:
2125 * registryd/Accessibility_Register.server.in:
2126 Changed name of executable, "registryd",
2127 to something more informative:
2130 2002-03-13 Michael Meeks <michael@ximian.com>
2132 * atk-bridge/bridge.c (atk_bridge_init): don't register
2133 if we're in a bonobo-component, rather than a bonobo app.
2135 2002-03-13 Michael Meeks <michael@ximian.com>
2137 * atk-bridge/bridge.c (gtk_module_init): split
2138 out body to (atk_bridge_init): here, since otherwise
2139 we get symbol conflicts and oddness when invoked
2140 from (gnome_accessibility_module_init): here (upd.)
2142 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2145 New file. Explicitly allow "build sheriff" putbacks provided
2146 they are tested on Solaris.
2148 * docs/reference/cspi/Makefile.am:
2149 Added '-' to the "cp" command for index.sgml.
2150 ("patch by thomasvs, soon coming to a GUADEC near you")
2153 Incremented version number (0.9.0) for new release.
2154 Changed macro that checks for popt, to better detect
2155 obsolete versions of popt.
2158 Added X_LIBS to AC_SUBST, for applications
2159 that call Xlib API directly.
2162 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2165 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2168 Fix regression caused by hard-coding major
2169 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2172 * test/test-simple.c (test_editable_text),
2173 (test_test): revert previous change (error was
2174 a regression in gail which is now fixed).
2176 2002-03-04 Michael Meeks <michael@ximian.com>
2178 * test/test-simple.c (test_editable_text),
2179 (test_text): pass G_MAXINT instead of '-1' for
2180 whole string - is this a good thing !?
2182 * cspi/spi_accessible.c
2183 (Accessible_getRelationSet): fix crasher bug
2184 overwriting the end of the array.
2186 * test/test-simple.c (validate_accessible): free,
2187 not g_free returned relation set.
2189 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2191 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2192 implemented stateset support
2194 * idl/Accessibility_State.idl: Made necessary changes to
2195 the IDL to support state sets.
2197 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2199 * registryd/deviceeventcontroller.c:
2200 Added implementation for generateMouseEvent.
2202 * cspi/spi_registry.c:
2203 Connected new implementation for generateMouseEvent
2206 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2209 Incremented revision (but no change in public API
2210 outside of 'utils', which are not installed public yet.)
2212 * libspi/component.c:
2213 Changed to use atk_component API for layers and
2214 mdi_zorder, instead of deprecated atk_object API.
2216 Magnification Utility Enhancements:
2219 Added implementation of createZoomRegion, clearAllZoomRegions,
2220 resizeZoomRegion. Added new commandline argument
2221 "--no-initial-region". Note that clearAllZoomRegions doesn't
2222 unmap the old '0' region as it should (yet), and the other
2223 methods only work when creating/resizing a single region,
2224 which is "region 0".
2225 (Code for multiple region support will be added later.)
2228 Now we raise the magnifier window each time it's refreshed;
2229 this will help keep it on top.
2231 * util/mag_client.h:
2232 Added simple wrappers for above, used by mag_control.
2233 For general use, it's recommended to use the bonobo magnifier
2234 control API directly instead of using these wrappers.
2237 Moved ZoomRegionData from magnifier.c to this file.
2239 * util/mag_control.c:
2240 Added some code to exercise new IDL implementations.
2242 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2244 * libspi/text.c: Provide implementation for getAttributes.
2246 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2249 Incremented revision.
2251 * test/test-simple.c:
2252 Replaced use of deprecated g_main_iteration with
2253 g_main_context_iteration.
2255 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2258 Incremented revision for desktop alpha 2.
2260 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2262 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2265 * test/simple-at.c: include netinet/in.h.
2267 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2269 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2270 use NULL, not CORBA_OBJECT_NIL.
2272 * libspi/accessible.c:
2273 (impl_accessibility_accessible_get_relation_set):
2274 allocate the sequence correctly.
2276 * libspi/remoteobject.h: kill spi_remote_object_new.
2278 * test/test-simple.c: (validate_accessible): add code
2279 to test relation sets, now all we need is to figure
2280 out how to excercise this code path :/
2282 2002-01-18 Michael Meeks <michael@ximian.com>
2284 * test/test-simple.c
2285 (key_listener_cb): consume the key.
2286 (test_keylisteners): update.
2287 (main): wait for any pending unrefs on events.
2289 * registryd/deviceeventcontroller.c
2290 (spi_controller_update_key_grabs): only re-issue the
2291 grab on a key release.
2292 (spi_device_event_controller_forward_key_event):
2293 refresh the keygrabs before we notify the listeners,
2294 to reduce the X ungrab / re-grab race.
2295 (spi_controller_register_with_devices): remove
2296 XSelectInput - we do that with the gdk_window_ call.
2297 (_spi_controller_device_error_handler): return a value.
2298 s/GDK_DISPLAY/spi_get_display/
2300 2002-01-17 Michael Meeks <michael@ximian.com>
2302 * registryd/deviceeventcontroller.c
2303 (_deregister_keygrab): don't blow out the later
2306 * test/test-simple.c (test_keylisteners): do a
2307 more intelligent validation.
2309 2002-01-14 Michael Meeks <michael@ximian.com>
2311 * atk-bridge/bridge.c
2312 (gnome_accessibility_module_init),
2313 (gnome_accessibility_module_shutdown): impl.
2314 (gtk_module_init): protect vs. double inits.
2315 (add_signal_listener): impl.
2316 (spi_atk_bridge_state_event_listener): kill
2317 (deregister_application): split out of
2318 (spi_atk_bridge_exit_func): here.
2320 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2323 Added caret tracking when using magnifier, and
2324 now use text bounds for focus tracking of text elements, rather than
2325 the component bounds - this is helpful for short text fields in long
2326 table cells, at high magnification.
2328 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2330 * registryd/deviceeventcontroller.c:
2331 Regression fix for keylistener de-registration; global keygrabs
2332 were not being released when deregisterKeystrokeListener was
2333 called in cspi, since
2334 Accessibility_DeviceEventController_deregisterKeystrokeListener
2335 was called with a zero-length keyset. That is because the cspi
2336 method, SPI_deregisterKeystrokeListener, does not take a keyset
2337 parameter but instead should remove all the key grabs held be a
2339 The code in impl_deregister_keystroke_listener was changed to copy
2340 the keylist from the listener instance previously registered with
2341 the DeviceEventController before releasing the grabs.
2343 * registryd/registry.c:
2344 * registryd/deviceeventcontroller.c:
2345 * libspi/spi-private.h:
2347 Changed spelling of "re-enterant" to "re-entrant" globally.
2349 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2351 * test/test-simple.c:
2352 Changed key listeners test - the test was slightly mis-using the
2353 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2354 It now uses '=' as the key event listened to and generated,
2355 relying on a keysym match rather than assuming that keycode 33
2356 is always equal to keysym '!'.
2358 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2361 Changed simple-at to use a specific keyset, rather than
2362 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2363 manager, desktop, etc.
2365 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2367 * registryd/deviceeventcontroller.c:
2368 Replaced standard X error handler with a special handler that
2369 is non-fatal for failed keygrabs. This works around
2370 problems with keygrab clashes sometimes observed on
2372 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2373 mouse handling code as yet).
2375 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2378 Incremented revision for desktop alpha release.
2381 Fixed a couple of the more glaring errors (still not
2384 2002-01-11 Michael Meeks <michael@ximian.com>
2386 * registryd/deviceeventcontroller.c
2387 (spi_device_event_controller_forward_key_event): kill
2388 XUngrabKey / XKeyGrab race.
2389 (spi_controller_grab_keyboard): rename to
2390 (spi_controller_update_key_grabs): this, and deal
2391 with incremental adding / removing grabs more
2393 (_register_keygrab): ensure we're not pending a remove.
2394 (spi_grab_mask_free): impl.
2395 (spi_controller_register_global_keygrabs): split out
2397 (handle_keygrab): impl.
2398 (_deregister_keygrab): impl.
2399 (spi_controller_deregister_global_keygrabs): impl.
2400 (spi_controller_update_key_grabs): re-issue the grab if
2401 we just recieved a notification.
2403 * test/test-simple.c (key_listener_cb): remove debug.
2405 * registryd/deviceeventcontroller.c
2406 (spi_controller_register_device_listener): after
2407 registering a global keygrab, actualy register it !
2408 don't wait for a timeout; doh !
2410 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2411 to make it more readable / manipulable.
2412 s/grabmask/grab_mask/ s/refcount/ref_count/
2413 s/keyval/key_val/ s/modmask/mod_mask
2415 2002-01-08 Michael Meeks <michael@ximian.com>
2417 * registryd/deviceeventcontroller.c
2418 (spi_controller_register_with_devices): use gdk calls to
2420 (global_filter_fn): implement the filter.
2421 (spi_device_event_controller_check_key_event): rename to
2422 (spi_device_event_controller_forward_key_event): this & upd.
2423 (spi_get_display): replace with GDK_DISPLAY.
2425 * registryd/deviceeventcontroller.c
2426 (spi_controller_deregister_device_listener): unroll into
2427 (impl_deregister_keystroke_listener): here to simplify.
2428 (spi_controller_register_global_keygrabs): split cut and
2429 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2430 (spi_controller_deregister_device_listener): remove.
2431 (impl_register_mouse_listener): remove, no mouse listener
2432 support in at-spi-1.0
2434 * registryd/registry.c
2435 (_device_event_controller_hook): kill.
2436 (spi_registry_init): upd.
2438 * registryd/deviceeventcontroller.c
2439 (spi_device_event_controller_class_init): upd.
2440 (spi_check_key_event): merge into.
2441 (spi_device_event_controller_check_key_event):
2442 here and kill strange static ev init, don't leak
2443 the x_event - nor dynamicaly allocate it.
2445 * registryd/registry-main.c (main): re-direct
2446 timeout to remove strange vtable mess.
2448 * registryd/deviceeventcontroller.c
2449 (remove_listener_cb): impl.
2450 (spi_controller_deregister_device_listener):
2451 fix re-enterancy hazard.
2453 2002-01-07 Michael Meeks <michael@ximian.com>
2455 * registryd/deviceeventcontroller.c
2456 (spi_device_event_controller_new): upd.
2457 (impl_notify_listeners_sync): upd. debug.
2458 (spi_notify_keylisteners): fix re-enterancy hazards,
2459 prettify, remove O(n*n) iteration.
2460 (spi_controller_grab_keyboard): fix iteration.
2461 (spi_check_key_event): re-format to suit coding style.
2462 Clean all the warnings - we're warning free.
2464 * registryd/deviceeventcontroller.h:
2465 * registryd/registry.h: make mutualy referential with
2466 typesafe forward references instead of (!) void pointer
2469 2002-01-11 Michael Meeks <michael@ximian.com>
2471 * cspi/spi_accessible.c (role_names): add a role name
2472 to sync this array with the enum; and make the regression
2475 2002-01-10 Michael Meeks <michael@ximian.com>
2477 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2478 allow expansion of enumeration & kill warning.
2480 * test/test-simple.c (key_listener_cb): impl.
2481 (test_keylisteners): impl.
2483 * cspi/spi-listener.h: make listener signatures const
2484 on the provided (const) events.
2486 * test/keysynth-demo.c: upd. to const events.
2488 * test/simple-at.c: ditto.
2490 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2493 Rev the version to 0.5 (the previous tarball was named 0.4,
2494 even though the micro number was 3), so we need to rev upwards
2495 again for beta2/"desktop-alpha"
2498 Checked in a demo script, which requires editing before use!
2499 Proceed with caution.
2502 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2504 * cspi/spi_accessible.c:
2505 Add a couple of missing enum initializations, and fix some enum
2508 * cspi/spi_registry.c:
2509 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2511 * docs/reference/cspi/at-spi-cspi-sections.txt:
2512 Remove/fix a couple of broken document references.
2515 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2516 as Alt-Control to listen for commands, since on some systems
2517 Control-Alt may already be grabbed.
2519 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2522 Update version number to 0.4 for Beta2.
2524 * libspi/accessible.c, libspi/accessible.h:
2525 Expose spi_accessible_construct, to enable libgail-gnome
2526 construction from spi_accessible subtype.
2528 * utils/magnifier.c:
2529 Workaround for bug in some non-gnome-compliant window managers
2530 which made magnifier resize improperly.
2532 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2534 * libspi/accessible.c: (spi_accessible_new) :
2535 Move the test for SPI_IS_REMOTE_OBJECT to
2536 spi_accessible_new_return, fixing a bug and compile time warning.
2538 2002-01-08 Michael Meeks <michael@ximian.com>
2540 * registryd/registry.c (parse_event_type): remove strndup.
2542 * libspi/Makefile.am (libspi_la_SOURCES): remove
2543 sources already included in the headers section.
2545 * libspi/util.c: add.
2547 * libspi/spi-private.h: add.
2549 * registryd/registry.c: update to moved list iterators.
2551 2002-01-05 Michael Meeks <michael@ximian.com>
2553 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2555 * test/test-simple.c (main): ditto.
2557 2002-01-04 Michael Meeks <michael@ximian.com>
2559 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2560 redundant construct.
2562 * registryd/registry.c
2563 (get_listener_list): impl.
2564 (impl_accessibility_registry_register_global_event_listener):
2565 re-impl. to simplify using ~, remove dodgy const cast off.
2566 (parse_event_type): constify.
2567 (impl_accessibility_registry_deregister_global_event_listener_all):
2568 re-write, more efficiency and simplicity, kill re-enterancy
2570 (compare_listener_corbaref, compare_corba_objects),
2571 (compare_listener_quarks): define out.
2572 (impl_accessibility_registry_deregister_global_event_listener):
2573 re-write for effiency, and nail re-enterancy hazard.
2574 (impl_accessibility_registry_get_desktop_list): impl.
2575 (re_enterant_list_delete_link): impl.
2576 (re_enterant_list_foreach): impl.
2577 (remove_listener_cb): impl.
2578 (_registry_notify_listeners): kill.
2579 (notify_listeners_cb): impl.
2581 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2582 (SPI_getDesktopList): impl.
2584 * test/test-simple.c (test_desktop): test the methods.
2586 2002-01-03 Michael Meeks <michael@ximian.com>
2588 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2589 keystrings since we free them
2590 (SPI_freeAccessibleKeySet): in here.
2592 * libspi/accessible.c (spi_accessible_new): kill warning,
2593 wonder what is going on with the constructor here.
2595 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2597 * libspi/accessible.c (spi_accessible_new ()) :
2598 Added check to see if AtkObject is an SpiRemoteObject before
2599 creating an SpiAccessible.
2601 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2603 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2604 Enable keygrabs using the Control modifier, now that they are
2605 working properly (they were previously disabled).
2608 Change the command keygrab for this demo to "Control+Alt", so as
2609 to conflict with fewer other key commands on the system; this
2610 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2612 Removed a pointlessly-chatty keylistener for unshifted keys
2613 (shifted keys are still reported).
2615 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2617 * libspi/remoteobject.h:
2618 * libspi/remoteobject.c:
2619 Added definitions for special AtkObject subtype, required for
2620 support of remote components (specifically, used by BonoboControl
2621 accessibility implementation).
2623 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2625 * cspi/spi.h: synched relation types with ATK
2627 * cspi/spi_accessible.c: Added implementations of
2628 AcccessibleRelation_* methods
2630 * idl/Accessibility_Relation.idl: added getRelationTypeName
2631 method. Synched known relation types with ATK. Allowed for
2632 relation type extension with the RELATION_EXTENDED type.
2634 * libspi/relation.c: Provided implementations for
2635 AccessibleRelation methods.
2637 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2639 API tweaks for today's API 'freeze'.
2642 Added placeholder functions to allow future compatible expansion
2643 of the IDL interfaces.
2645 * idl/Accessibility_Registry.idl:
2646 Changed generateKeyEvent to generateKeyboardEvent. Changed
2647 signature of this method to accept an optional keystring in
2648 parameter (for complex text input synthesis) and changed use of
2649 simple 'boolean' parameter in registerKeystrokeListener to a
2650 struct, EventListenerMode.
2652 * cspi/spi_accessible.c:
2654 * cspi/spi_streamablecontent.c:
2655 Added references to AccessibleStreamableContent interface, and
2656 definition and implementation of AccessibleStreamableContent
2659 * cspi/spi_registry.c:
2661 Changed generateKeyEvent API to generateKeyboardEvent,
2662 taking a new (optional) keystring parameter to support complex
2667 Renamed directory (to better reflect its actual purpose, bridging
2668 from at-spi to ATK). The .so module is also now named
2671 * idl/Accessibility_Hypertext.idl:
2672 * libspi/accessible.c:
2673 * libspi/hypertext.h:
2674 * libspi/hypertext.c:
2675 Changed Accessibility_Hypertext to *not* derive from
2678 * cspi/spi_registry.c:
2679 Added list of legal event type names for 'window' events, which
2680 completes the registry event API.
2682 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2684 * at-bridge/bridge.c: Added registration for separate
2685 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2686 signals. If either of the first two parameters to the generic
2687 bridge signal handler are ints, they are passed on as event
2688 details. This allows an AT to determine what text was inserted.
2690 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2692 * registryd/deviceeventcontroller.c:
2693 Fixed regressions in generateKeyEvent caused by the removal of
2694 gdk_init from registryd; we now use pure X calls to connect to the
2695 display, which makes sense because deviceeventcontroller already
2696 uses a fair bit of X API (should eventually be migrated to a
2697 'portability layer').
2699 * registryd/desktop.c:
2700 Fixed minor regression in spi_desktop_init, changed the way the
2701 desktop name is being set to work with new spi_base API
2702 (gobject-based, rather than AtkObject-based).
2704 * registryd/Makefile.am:
2705 Minor revision of makefile to use XTST_LIBS variable rather than
2706 hard-wiring the Xtst LD_ADD element.
2708 * test/keysynth-demo.c:
2709 Tweaked an output message; added initialization of the
2710 'keystrings' member of the "switch listener" key_set.
2712 * libspi/relation.c:
2713 Squashed compile-time warning.
2715 * libspi/accessible.c:
2716 Cosmetic and formatting fixes, renamed a static method.
2718 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2720 * libspi/accessible.c
2722 * libspi/application.c
2725 * libspi/component.c
2726 * libspi/editabletext.c
2727 * libspi/hyperlink.c
2728 * libspi/hypertext.c
2730 * libspi/selection.c
2734 * registryd/desktop.c:
2735 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2737 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2739 * idl/Accessibility_Registry.idl:
2740 Added boolean member 'is_text' to DeviceEvent. This is for the
2741 use of key events, and helps prevent ambiguity between composed
2742 key strings and keysym names, since both may potentially be
2743 returned in the 'event_string' member.
2745 * at-bridge/bridge.c:
2746 * registryd/deviceeventcontroller.c:
2747 Use the 'is_text' member when notifying device event listeners.
2748 Knon issue: composed characters are not dealt with correctly by
2749 the global key listener implementation yet.
2751 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2753 * at-bridge/bridge.c:
2754 Namespaced local static methods to spi_atk_bridge_* where
2755 previously named bridge_*, and spi_* elsewhere.
2757 * at-bridge/bridge.c:
2758 * cspi/bonobo/cspi-bonobo-listener.c:
2759 Added demarshalling/conversion for string member of
2760 Accessibility_DeviceEvent to AccessibleKeystroke.
2762 * registryd/deviceeventcontroller.c:
2763 Added code to fill the Accessibility_DeviceEvent key string value
2764 member for global key events (i.e. from XGrabKey), to match
2765 behavior of Accessibility_DeviceEvent from the toolkit key events
2766 from the bridge. Fixed timestamp in global key event notifications.
2769 Added printout of key event's string value to
2770 report_ordinary_key_event, for demo/debugging purposes.
2772 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2774 * idl/Accessibility_Registry.idl:
2775 Removed Accessibility_KeyStroke structure in favor of generic
2776 Accessibility_DeviceEvent structure.
2777 Changed Accessibility_ControllerEventMask from a struct to an
2780 * at-bridge/bridge.c:
2781 Changed APIs to use DeviceEvent structure as above, and removed
2782 bogus casting between these event structures.
2784 * cspi/spi-listener.h:
2785 Added keystring member of AccessibleKeystroke structure, to enable
2786 matching on event "names" rather than only hardware codes and
2790 Added keystrings member of AccessibleKeySet struct, to allow
2791 matching on event names (as above).
2792 Added declarations for SPI_createAccessibleKeySet and
2793 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2794 event modmasks directly as unsigned ints rather than structs with
2795 refcounts, in the DeviceEventController methods.
2797 * cspi/spi_registry.c:
2798 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2800 * cspi/spi-roletypes.h:
2801 Added documentation of newly added SPI Roles.
2803 * cspi/bonobo/cspi-bonobo-listener.c:
2804 Changes in support of API changes above.
2806 * libspi/accessible.c:
2807 Converted APIs to use DeviceEvent structure (see IDL changes
2810 * registryd/deviceeventcontroller.c:
2811 Added DEControllerGrabMask structure to track keygrabs not only by
2812 modmask but by keyset as well; this allows us to do "global"
2813 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2814 grabbing on AnyKey and then filtering after-the-fact.
2815 Bugfixes for event filtration mean that we don't get false matches
2816 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2818 * registryd/deviceeventcontroller.c:
2819 Namespaced a number of static methods to use spi_ prefix. Major
2820 revision to internals of global (i.e. X) key grabs.
2822 * registryd/deviceeventcontroller.h:
2823 Removed keymask_list and added keygrabs_list to
2824 SpiDeviceEventController struct.
2827 Added use of SPI_createAccessibleKeySet API when creating a
2828 listener for only one key. Attach a listener to "shift spacebar
2829 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2830 X key event names to SPI key event names, so that listeners are
2831 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2833 * test/keysynth-demo.c:
2834 Changed (incorrect) use of X key event names (KeyPressed,
2835 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2838 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2840 * libspi/accessible.c:
2841 Convert all AtkRole enumerations to Accessibility_Role enums when
2842 getting a role from an AtkObject.
2844 * cspi/spi_accessible.c:
2845 Complete the conversion of Accessibility_Role enums at runtime to
2846 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2847 role enums correctly match those given in spi-roletypes.h.
2848 Re-synchronize the local names list for AccessibleRole_getName ().
2849 AccessibleRole_getName is now deprecated, since it duplicates the
2850 more reliable Accessible_getRoleName.
2851 Added some role types from Accessibility_Role.idl.
2853 * idl/Accessibility_Role.idl:
2854 Added some role types used by AtkRole.
2856 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2859 * cspi/spi_registry.c:
2861 * cspi/cspi-bonobo-listener.c:
2862 Namespaced all methods that did not begin with an "SPI_" or
2863 "Accessible" prefix to "SPI_".
2866 Homogenized internal function namespace to "cspi_" for statics.
2869 Patched tests to use the new CSPI API.
2871 * docs/reference/cspi/at-spi-cspi-sections.txt:
2872 Updated docs to reflect namespace changes, and added a number of
2873 methods to the documentation.
2875 * registryd/registry.c:
2876 Changed use of strings and string hashes in listener event
2877 matching and parse_event_string to use GQuark, which is guaranteed
2880 * registryd/registry.h:
2881 Squashed annoying warning.
2883 * idl/Accessibility_Role.idl:
2884 Extended range of available Accessibility_Role values.
2886 * cspi/spi_accessible.c:
2887 Re-ordered role names.
2889 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2891 * idl/Accessibility_Value.idl:
2892 Revert use of union back to CORBA_double, since the double type is
2893 more efficient and can contain the other types without loss of
2896 * idl/Accessibility_Accessible.idl:
2897 Added method Accessibility:Accessible:getRoleName, to complement
2898 Accessibility:Accessible:getRole.
2900 * cspi/spi_accessible.c:
2902 Added C binding for above, Accessible_getRoleName (), and changed
2903 signature of Accessible_getRole () to return an AccessibleRole.
2905 * cspi/spi-roletypes.h:
2906 Changed AccessibleRole_getName to return a char * instead of a
2907 const char *. This method is now at least temporarily deprecated
2908 in favor of asking Accessibles for their RoleNames directly.
2911 Revert to match Accessibility_Value.idl;
2915 Change signature of AccessibleValue methods to use double rather
2919 * cspi/spi_accessible.c:
2920 Changed Accessible_getRole to return an AccessibleRole enum rather
2921 than a UTF-8 string. The UTF-8 string can still be obtained via
2922 AccessibleRole_getName ().
2924 * test/test-simple.c:
2925 Add test_action. Small fixup to match API change to Accessible_getRole.
2928 Bugfix for get_action_from_servant ().
2930 2001-12-11 Michael Meeks <michael@ximian.com>
2932 * libspi/libspi.h: remove registry.h and
2933 desktop.h, deviceeventcontroller.h
2935 * libspi/Makefile.am: remove registry.[ch],
2936 desktop.[ch], deviceeventcontroller.[ch]
2938 * registryd/Makefile.am: add registry.[ch],
2939 desktop.[ch], rename registryd.c to registry-main.c.
2940 add deviceeventcontroller.[ch]
2942 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2945 Replace setenv() call with putenv ().
2947 * libspi/component.c:
2948 Bugfix in AccessibleComponent_getExtents (),
2951 2001-12-11 Michael Meeks <michael@ximian.com>
2953 * libspi/image.c (impl_getImageExtents): impl.
2954 (spi_image_class_init): upd.
2957 (AccessibleImage_getImageDescription): fix daft bug
2960 * test/test-simple.c (global_listener_cb): update
2961 to only quit if not --poke
2962 (main): catch --poke.
2963 (validate_accessible): upd. dumping, call test_image
2966 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2969 * idl/Accessibility.idl: update all IDL includes.
2971 * idl/*.idl - rename to namespace - this sucks, blame
2972 mjs' bad decision for oafd.
2974 * test/test-simple.c (create_test_window): add more tests.
2975 (create_tree): split this out.
2976 (validate_accessible): bugfix.
2978 2001-12-11 Michael Meeks <michael@ximian.com>
2980 * cspi/bonobo/cspi-bonobo-listener.c:
2981 (cspi_kestroke_listener_unref),
2982 (cspi_event_listener_unref): impl. undoing previous
2983 homenous environment - for Bill.
2985 * cspi/spi_table.c (long_seq_to_array): use
2988 * cspi/spi_main.c: split out all bonoboish bits into
2991 * cspi/spi-impl.h: upd. typedefs.
2993 * cspi/spi_registry.c: update to lowlevel API,
2994 return booleans to indicate success in some places.
2996 * cspi/spi_event.c: update to lowlevel API.
2998 * cspi/bonobo/Makefile.am: add.
3000 * cspi/bonobo/cspi-lowlevel.h: add
3002 * cspi/bonobo/cspi-bonobo.c: add
3004 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3006 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3007 (SUBDIRS): add bonobo, link in the libs.
3009 * cspi/spi-util.c: kill this file.
3011 * TODO: merge in my bits.
3013 2001-12-11 Michael Meeks <michael@ximian.com>
3015 * test/test-simple.c (test_value, test_table, main):
3016 remove unused variables causing warnings.
3018 * configure.in: cleanup checks - require gail.
3020 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3023 Changed Value interface to use SValue (scalars) rather than
3024 assuming all values are floats. This allows floats, doubles,
3025 longs, shorts, and unsigned values to be manipulated.
3026 Introduced Accessibility:SValue union.
3029 Updated to use new API above, and to work correctly with GValues
3030 of different types in AtkValue.
3033 Updated to use new API above. cspi's API is as yet unchanged.
3036 Updated the Value revision action item.
3038 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3040 * test/test-simple.c:
3041 Added test_table (GtkTreeView widget in test window to follow).
3042 Un-commented test_value, added GtkRange widget.
3043 Added GtkTreeView widget with GtkListStore. It passes regression
3044 test but leaks one SPI object for some reason.
3047 Fixed bug in impl__set_currentValue.
3049 2001-12-10 Michael Meeks <michael@ximian.com>
3051 * cspi/spi_text.c: audit for exception handling,
3052 tolerating NULL object references safely etc.
3054 * cspi/spi_value.c: ditto.
3056 * cspi/spi_table.c (AccessibleTable_getSummary),
3057 (AccessibleTable_getAccessibleAt),
3058 (AccessibleTable_getRowHeader),
3059 (AccessibleTable_getColumnHeader),
3060 (AccessibleTable_getCaption): fix bugs hidden by
3062 (long_seq_to_array): impl.
3063 (AccessibleTable_getSelectedRows),
3064 (AccessibleTable_getSelectedColumns): use it.
3066 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3069 Added a TODO list (rough and short for now).
3071 * cspi/spi_hyperlink.c:
3072 * cspi/spi_hypertext.c:
3073 Fixed macro name typos, and remove use of obsolete macro in
3074 AccessibleHyperlink_getLink.
3076 * cspi/spi_action.c:
3077 * cspi/spi_accessible.c:
3078 * cspi/spi_application.c:
3079 * cspi/spi_component.c:
3080 * cspi/spi_selection.c:
3083 Documentation fixes (removed return values from ref/unref methods).
3085 2001-12-10 Michael Meeks <michael@ximian.com>
3087 * cspi/spi_action.c: audit for exception handling,
3088 tolerating NULL object references safely etc.
3090 * cspi/spi_accessible.c: ditto.
3092 * cspi/spi_component.c: ditto.
3094 * cspi/spi_editabletext.c: ditto.
3096 * cspi/spi_hyperlink.c: ditto.
3098 * cspi/spi_hypertext.c: ditto.
3100 * cspi/spi_image.c: ditto.
3102 * cspi/spi_selection.c: ditto.
3104 2001-12-10 Michael Meeks <michael@ximian.com>
3106 * configure.in: use cspi/libspi.pc.in instead.
3108 * Makefile.am (pkgconfig_DATA): upd. to match.
3110 * test/simple-at.c (report_focus_event): kill hacks around
3111 bad return values, use putenv not setenv
3113 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3114 fire ChildGone - I killed it.
3116 * libspi/component.c
3117 (impl_accessibility_component_get_extents): remove
3120 * idl/Accessible.idl: kill ChildGone exception.
3122 * cspi/*.[ch]: kill int return from ref / unref.
3124 * cspi/spi_main.c (cspi_object_add_check): fold into
3125 (cspi_object_add): here.
3127 * cspi/spi_component.c (AccessibleComponent_getExtents):
3128 handle exceptions elegantly.
3130 * cspi/spi-private.h (cspi_check_ev_return),
3131 (cspi_return_if_fail): impl.
3133 * cspi/spi_accessible.c: use extensively.
3134 (AccessibleStateSet_equals): add direct compare check.
3136 * cspi/spi_selection.c: tolerate NULL objs, and check
3137 exceptions before return.
3139 * cspi/spi-util.c (cspi_warn_ev): rename to
3140 (cspi_check_ev): this & don't pass ev in; no point.
3142 2001-12-10 Michael Meeks <michael@ximian.com>
3144 * test/test-simple.c: use putenv not setenv
3145 (get_environment_vars): more chatty if you're not using
3148 * test/simple-at.c: do the setenv so more people see the
3151 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3153 * libspi/registry.c:
3154 Changed check of CORBA_environment on notification to be a warning
3155 instead of an error for the moment, since we can recover from this
3156 error when caused by a queued notification from a dead app.
3159 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3160 used by all current implementors of AtkValue), and coerce to
3161 CORBA_float. (Proper general case fix may require change to Value.idl).
3163 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3167 * cspi/spi_accessible.c:
3168 Documentation fixes: added user_data params to documentation for
3169 listeners and callbacks.
3171 * cspi/spi_accessible.c:
3172 Changed AccessibleStateSet_compare to return a
3173 StateSet rather than return the difference set into a third parameter.
3176 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3179 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3180 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3184 Remove subdirectory po from SUBDIRS for now.
3186 * at-bridge/bridge.c:
3187 Beefed up a couple of debug printouts.
3188 One-line fix for signal notification name formatting.
3190 * libspi/accessible.c:
3191 Added assertion to spi_accessible_new ().
3193 * libspi/application.c:
3194 Put #ifdef qualifiers around a printf.
3197 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3199 * registryd/Makefile.am:
3201 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3202 INTLTOOL_SERVER_RULE macro.
3205 Added an event listener for several ATK signals, for
3206 testing and debugging. Removed a few g_warnings.
3207 Added test output if focussed item implements the Value interface.
3209 * test/test-simple.c:
3210 Added test_value () function (known not to pass at the moment, so
3211 not actually called yet.
3213 2001-12-08 Michael Meeks <michael@ximian.com>
3215 * at-bridge/bridge.c (bridge_focus_tracker),
3216 (emit_eventv): fix the same ref. leak.
3217 (register_atk_event_listeners): don't leak.
3219 * cspi/spi-listener-impl.c (cspi_event): more
3220 protection from client code.
3222 * test/test-simple.c (test_desktop): unref the app.
3224 * test/Makefile.am: upd. TESTS.
3226 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3228 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3230 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3232 * cspi/spi_registry.c: constify in strings.
3233 (deregisterGlobalEventListenerAll): don't release the ref.
3235 * cspi/spi.h: start removing redundant / conflicting
3236 gtkdoc comments, making the API readable at a glance :-)
3238 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3240 * test/keysynth-demo.c (keysynth_exit, main): upd.
3242 * test/simple-at.c (main, simple_at_exit): upd.
3244 * test/test-simple.c (unutterable_horror): kill.
3245 (utterable_normal_derefs): kill.
3246 (main): upd & do a setenv before gtk_init, so that we
3247 can use memprof - and to save the pain of remembering
3248 this, if we're running under memprof - don't exit.
3250 * cspi/spi_main.c (SPI_exit): return exit status
3252 (SPI_event_quit): impl.
3253 (SPI_event_main): simplify.
3254 (cspi_is_gnome_app): kill.
3255 (SPI_init): kill isGNOMEapp arg.
3257 * at-bridge/bridge.c (register_atk_event_listeners):
3258 re-instate the unref.
3259 (bridge_exit_func): don't re-activate the registry,
3260 protect vs. theoretical re-entry, use the
3261 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3262 assert a clean shutdown - for regression tests.
3264 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3266 * configure.in: Comment out dummy i18n support for now,
3267 otherwise it fails to build.
3268 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3269 EXTRA_DIST. They are missing in tarball.
3271 2001-12-07 Michael Meeks <michael@ximian.com>
3273 * util/magnifier.c: kill bonobo activation reg. race.
3275 * libspi/component.c
3276 (impl_accessibility_component_get_extents): make it match
3279 * libspi/registry.c (_registry_notify_listeners):
3280 re-remove X headers & reconcile conflicts.
3281 (spi_listener_struct_free): bad conflict resolve.
3282 (impl_accessibility_registry_register_application):
3283 more bad merging fixed.
3284 (impl_accessibility_registry_deregister_application): ditto.
3285 (spi_registry_new): ditto.
3286 (spi_registry_init): don't have an applications field.
3288 [ merge fixups2 branch to here ]
3289 2001-12-07 Michael Meeks <michael@ximian.com>
3291 * test/simple-at.c (report_focus_event),
3292 (report_focussed_accessible): remove g_warning debug.
3294 2001-12-07 Michael Meeks <michael@ximian.com>
3296 * test/test-simple.c (validate_tree): comment out some checks.
3297 (test_desktop): app now not registered idly - horay.
3299 2001-12-07 Michael Meeks <michael@ximian.com>
3301 * cspi/spi_registry.c
3302 (registerAccessibleKeystrokeListener): clean, stop it leaking
3303 great swathes of memory, and device event controller references.
3304 ensure we always pass valid sequences.
3305 (deregisterAccessibleKeystrokeListener): ditto.
3306 (generateKeyEvent): upd.
3308 * at-bridge/bridge.c (bridge_key_listener): handle
3309 registry dead exception gracefully.
3310 (bridge_focus_tracker, emit_eventv): free ev.
3312 * test/simple-at.c (report_focus_event): fix polarity.
3314 * libspi/application.c (notify_listeners): kill the ev
3315 argument, and make sure we init the ev we use.
3316 (spi_application_object_event_listener): split out a chunk
3317 (get_atk_object_ref): here & fixup.
3318 (reverse_lookup_name_for_toolkit_event): make const.
3319 (spi_application_toolkit_event_listener): fixup, kill leaks
3322 * at-bridge/bridge.c (register_atk_event_listeners):
3323 don't unref the noop object - causes grief.
3325 * libspi/registry.c: remove the X headers.
3326 turn off the debug churn.
3328 * libspi/accessible.c (spi_accessible_new_return): only
3329 release the ref if we are supposed to [doh]
3331 * test/simple-at.c (report_button_press, report_focus_event):
3332 guard vs. unexpected exit.
3334 * at-bridge/bridge.c (gtk_module_init): prune printf.
3335 (bridge_exit_func): fix app unref.
3337 * libspi/Makefile.am: don't install registry or desktop.h
3339 * libspi/*.h: update includes.
3341 * libspi/application.h: don't include ourself, or
3342 other redundant headers.
3344 2001-12-06 Michael Meeks <michael@ximian.com>
3346 * libspi/accessible.c
3347 (get_accessible_from_servant): impl.
3348 Upd. all CORBA impl.s to use it killing cut and paste.
3350 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3352 (SPI_init): register atexit cleanup handler here.
3354 2001-12-06 Michael Meeks <michael@ximian.com>
3356 * at-bridge/bridge.c (gtk_module_init): g_error on
3357 activation exception
3359 2001-12-06 Michael Meeks <michael@ximian.com>
3361 * at-bridge/bridge.c (gtk_module_init): some sort of
3362 confusing merge clash - reverted.
3363 (bridge_idle_init): ditto.
3365 * test/test-simple.c (main, utterable_normal_derefs):
3366 merge from Bill - somehow not committed.
3368 2001-12-06 Michael Meeks <michael@ximian.com>
3370 * libspi/value.c (spi_value_class_init): upd.
3371 (spi_value_finalize): kill.
3373 * libspi/table.c (spi_table_finalize): kill.
3374 (spi_table_interface_new): upd.
3375 (spi_table_class_init): upd.
3376 (get_table_from_servant): impl.
3377 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3379 * libspi/selection.c (spi_selection_finalize): kill.
3380 (spi_selection_interface_new): upd.
3381 (spi_selection_class_init): upd.
3382 (get_selection_from_servant): impl.
3383 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3385 * libspi/relation.c (spi_relation_finalize): kill.
3386 (spi_relation_class_init, spi_relation_new): upd
3388 * libspi/image.c (spi_image_finalize): kill.
3389 (spi_image_class_init): upd.
3390 (spi_image_interface_new): upd.
3391 (get_image_from_servant): impl.
3392 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3394 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3395 (spi_hyperlink_finalize): kill.
3396 (spi_hyperlink_new): upd.
3397 (get_hyperlink_from_servant): impl.
3398 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3400 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3401 (spi_hypertext_finalize): kill.
3402 (spi_hypertext_class_init): upd.
3403 (get_hypertext_from_servant): impl.
3404 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3406 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3407 (spi_editable_text_interface_new): upd.
3408 (get_editable_text_from_servant): impl.
3409 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3411 * libspi/text.c (get_text_from_servant): impl.
3412 All impls - update to use it killing more cut and paste,
3413 also fix bad string returns on duff args ( a somewhat
3414 impossible case to handle - but hey ).
3415 (spi_text_construct): impl.
3416 (spi_text_interface_new): upd.
3417 (spi_text_object_finalize): kill.
3419 * libspi/component.c
3420 (accessibility_component_object_finalize): kill.
3421 (spi_component_class_init): upd.
3422 (get_component_from_servant): impl. helper to kill cut & paste.
3423 (impl_accessibility_component_contains):
3424 (impl_accessibility_component_get_accessible_at_point):
3425 (impl_accessibility_component_get_position):
3426 (impl_accessibility_component_get_extents):
3427 (impl_accessibility_component_get_mdi_z_order):
3428 (impl_accessibility_component_get_layer):
3429 (spi_component_interface_new): upd.
3431 * libspi/action.c (spi_action_finalize): kill.
3432 (spi_action_class_init): upd. inherit from SpiObject.
3433 (spi_action_interface_new): upd.
3434 (get_action_from_servant): impl. helper to reduce cut & paste.
3435 (impl_getKeyBinding, impl_getName, impl_doAction),
3436 (impl_getDescription): Use it everywhere.
3438 * cspi/spi_main.c (get_live_refs): a pointer hash.
3439 (spi_object_hash, spi_object_equal): comment out.
3440 There are issues with CORBA object hashing that need
3443 * libspi/application.c (spi_application_init),
3444 (spi_application_new): upd.
3446 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3447 (spi_accessible_class_init): upd.
3448 s/accessible/object/ in epv methods.
3450 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3452 * at-bridge/bridge.c:
3453 Reorder the bridge initialization into the bridge gtk_module_init,
3454 an immediate call to bridge_register_app, and an idle_add for
3455 register_atk_event_listeners (the only code that *must* wait until
3456 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3457 the activation, creates the application's Accessible object, and
3458 queues the bridge_idle_init function. Restored call to
3459 Accessibility_Registry_deregisterApplication().
3460 Prior to making this call we obtain a new reference to the
3461 registry, which is a temporary hack that helps us handle apps that
3462 shut down the bonobo mainloop before we get there.
3464 * libspi/registry.c:
3465 Fix string leakage in debug block, and don't segv if a an app
3466 dies before its event notifications have been propagated.
3469 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3470 as stopgap measure until we get proper exception handling when
3471 objects die during or before interrogation.
3475 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3476 Also changed default value of is_gnome_app to TRUE.
3479 * test/keysynth-demo.c:
3480 Changed use of SPI_init and SPI_event_main to reflect API change above.
3483 Made report_focus_event check the warning value from getName
3484 before reporting on focussed accessible; simplifies handling of
3485 notifications from dead objects.
3487 * test/test-simple.c: (Changes not in this patch since source is
3490 2001-12-05 Michael Meeks <michael@ximian.com>
3492 * registryd/registryd.c (main): protect against
3493 bonobo-activation startup race condition.
3495 * cspi/spi_main.c (cspi_object_add_check): cope
3496 with the exception elegantly.
3498 * idl/Accessible.idl: decl. ChildGone
3500 * libspi/desktop.c (spi_desktop_dispose): impl.
3501 (spi_desktop_class_init): upd.
3502 (spi_desktop_add_application),
3503 (spi_desktop_remove_application),
3504 (abnormal_application_termination): impl.
3505 (impl_desktop_get_child_at_index): re-impl.
3508 (impl_accessibility_registry_deregister_application),
3509 (impl_accessibility_registry_register_application):
3510 kill excessive debug clutter.
3512 * test/test-simple.c (test_misc): test some NULL
3513 tolerance. (main): upd.
3515 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3516 implements no interfaces - so let's not crash.
3518 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3520 * libspi/accessible.c (spi_accessible_new_return): impl.
3521 helper to calm the cut and paste, to cope with
3522 NULL AtkObjects effectively and efficiently, and to kill
3523 the referencing bugs.
3525 * libspi/table.c (impl_getAccessibleAt),
3526 (impl_getRowHeader, impl_getColumnHeader): upd.
3528 * libspi/hyperlink.c (impl_getObject): upd.
3530 * libspi/accessible.c
3531 (impl_accessibility_accessible_get_child_at_index): upd.
3533 * libspi/component.c
3534 (impl_accessibility_component_get_accessible_at_point): upd.
3536 * test/test-simple.c (test_editable_text, test_text): impl.
3539 * cspi/spi_editabletext.c
3540 (AccessibleEditableText_insertText): constify.
3542 * test/test-simple.c (focus_me): make more robust.
3544 * libspi/accessible.c: remove some printfs in methods that
3545 we test and work fine, so we can get a clean tree dump.
3547 * test/test-simple.c (validate_accessible),
3548 (validate_tree): make tree dumping pretty too.
3550 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3551 it builds without debug on.
3553 * test/test-simple.c (validate_accessible): fix the most
3556 * cspi/spi_main.c (spi_object_release): leave the nicely
3557 blanked memory around if in debug mode.
3559 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3561 [committed to fixups2]
3562 2001-12-05 Michael Meeks <michael@ximian.com>
3564 * libspi/editabletext.c
3565 (spi_editable_text_class_init): g_type_class_peek_parent,
3566 not interface peek - so we finalize cleanly.
3568 * libspi/accessible.c (spi_accessible_new): kill debug.
3570 * test/test-simple.c (validate_accessible): fix ref.
3571 leak, print strings before freeing them; sigh, comment a
3572 chunk out due to strangeness.
3573 (validate_tree): unref the child after use.
3575 * cspi/spi_component.c (AccessibleComponent_getLayer):
3576 add missing break statement, switch on zlayer not the
3577 uninitialized retval.
3579 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3580 before (possibly re-entering) remote unref.
3582 * test/simple-at.c (main): unref the desktop.
3584 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3587 * cspi/spi_main.c (cspi_accessible_is_a): here to
3588 isolate bonobo API usage more.
3590 * libspi/registry.c (impl_accessibility_registry_register_application):
3591 prune bogus comment.
3593 2001-12-04 Michael Meeks <michael@ximian.com>
3595 * test/test-simple.c (validate_tree): upd.
3596 IndexInParent check to make it more lucid.
3597 (validate_accessible): dump the tree.
3599 * libspi/accessible.c (de_register_public_ref),
3600 (get_public_refs): impl.
3601 (spi_accessible_new): make more efficient & intuitive.
3602 Now IndexInParent check works.
3604 2001-12-04 Michael Meeks <michael@ximian.com>
3606 * cspi/spi-util.h: remove.
3608 * cspi/spi.h: move SPI_freeString here
3610 * libspi/component.c (impl_accessibility_component_get_layer):
3612 (impl_accessibility_component_get_mdi_z_order): ditto,
3613 return -1 on error - is this ok ?
3615 * test/test-simple.c (test_application): impl.
3617 * cspi/spi_accessible.c (Accessible_getApplication),
3618 (Accessible_isApplication): impl.
3620 * libspi/registry.c (spi_listener_struct_free): release
3621 the CORBA reference too.
3623 * libspi/accessible.c
3624 (impl_accessibility_accessible_get_parent): fix ref leak.
3626 * libspi/registry.c (spi_registry_new): make the registry
3627 immortal - we don't want it to go away ever.
3629 * libspi/application.c
3630 (spi_accessible_application_finalize): impl. cleanup.
3632 * cspi/spi_registry.c
3633 (deregisterGlobalEventListenerAll),
3634 (deregisterGlobalEventListener),
3635 (deregisterAccessibleKeystrokeListener): fix ref leak.
3637 * cspi/spi_main.c (SPI_init): remove redundant ref.
3639 * test/test-simple.c (unutterable_horror): impl. to force a
3644 (impl_accessibility_registry_deregister_application): release
3645 the application when we de-register it.
3647 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3648 until we have the infastructure to get it right.
3650 2001-12-03 Michael Meeks <michael@ximian.com>
3652 * libspi/Makefile.am: only build eventlistener.[ch]
3654 * libspi/accessible.c
3655 (impl_accessibility_accessible_get_child_at_index): don't leak.
3657 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3658 before we hit the idle handler.
3660 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3661 debugging than exit.
3663 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3665 * libspi/listener.c (impl_notify_event): check source
3666 not NIL before unref.
3668 * libspi/registry.c (impl_registry_notify_event): ditto.
3670 * libspi/eventlistener.c
3671 (impl_accessible_event_notify_event): unref the source.
3673 * libspi/accessibleeventlistener.c
3674 (impl_accessible_event_notify_event): unref the source.
3676 * idl/Event.idl: remove 'hash_id' attribute - of no
3679 * libspi/application.c (notify_listeners): upd list
3681 (spi_application_object_event_listener),
3682 (spi_application_toolkit_event_listener): upd to do correct
3686 (_registry_notify_listeners): update.
3687 (parse_event_type): this method also leaks like a sieve.
3688 (impl_accessibility_registry_deregister_global_event_listener):
3689 fix ETYPE_WINDOW case.
3691 * libspi/application.c
3692 (impl_accessibility_application_register_object_event_listener):
3695 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3697 * libspi/hypertext.c (impl_getLink): ditto.
3699 * cspi/spi_main.c (cspi_object_add): remove
3700 bogus CORBA_Object_duplicate.
3702 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3705 * cspi/spi_accessible.c
3706 (Accessible_getRelationSet): fix leak / referencing issue.
3708 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3709 (cspi_object_add, cspi_object_unref): upd.
3710 (spi_object_release, get_live_refs): impl.
3711 (cspi_cleanup): simplify.
3713 * *.[ch]: s/boolean/SpiBoolean/
3715 * cspi/spi_accessible.c (role_names): actualy order so it
3716 corresponds with the enum !
3718 * test/test-simple.c (test_roles): check some role strings
3719 vs. enums to detect offset errors.
3721 2001-12-01 Michael Meeks <michael@ximian.com>
3723 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3725 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3727 (Accessible_getChildAtIndex): use cspi_add_check so we
3728 check the ev before using a (possibly) invalid value.
3730 * libspi/accessible.c
3731 (impl_accessibility_accessible_get_parent): don't segv
3734 * at-bridge/bridge.c (gtk_module_init): upd.
3735 (bridge_property_event_listener): don't leak strings
3737 (bridge_state_event_listener),
3738 (bridge_property_event_listener): don't use a static
3739 buffer in case of recursive event emission &
3740 re-enterancy - split out the swathe of cut and paste
3742 (emit_eventv): and fix 2 ref leaks here & comply to the
3744 (bridge_register_app): rename to
3745 (bridge_idle_init): this and kill arg parsing, split
3746 various inits & bonobo-activation registration to module
3747 init time, kill referencing error.
3748 (bridge_exit_func): fix the same leak.
3749 (bridge_focus_tracker): don't leak event structures
3751 (bridge_signal_listener): more leakage and cut & paste
3753 (bridge_key_listener): return the result - FIXME is
3754 this polarity correct ?
3755 (accessibility_keystroke_from_atk_key_event): rename
3756 (accessibility_init_keystroke_from_atk_key_event): and stop
3758 (gtk_module_init): return a value - not that it is checked by
3760 (bridge_key_listener): register my horror at casting between
3761 IDL defined structs.
3762 (bridge_get_registry): kill - not used.
3764 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3766 * test/test-simple.c (test_roles): impl.
3767 (test_desktop, validate_accessible, validate_tree): impl.
3769 * cspi/spi_accessible.c (role_names): fixup bogus
3770 MAX_ROLES setup, make constants const for efficient linkage
3771 (AccessibleRole_getName): conform to coding style, make
3774 2001-11-30 Michael Meeks <michael@ximian.com>
3776 * cspi/spi.h: add missing prototype.
3778 * libspi/registry.c (spi_listener_struct_new): fix sig.
3780 * test/Makefile.am: add test-simple
3782 * test/test-simple.c: add
3784 * test/test.sh: add.
3786 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3788 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3789 do it straight - since otherwise we often get an activation race.
3791 [ work before Bill duplicated a chunk of it ... ]
3792 2001-11-30 Michael Meeks <michael@ximian.com>
3794 * libspi/keystrokelistener.c
3795 (spi_keystroke_listener_class_init): fixup arg
3798 * libspi/eventlistener.c
3799 (spi_event_listener_class_init): ditto.
3801 * tests/test.sh: add.
3803 * cspi/spi-listener-impl.h: update macros.
3805 * cspi/spi-listener-impl.c
3806 (cspi_event_listener_remove_callback): add
3807 correct pre-conditions.
3809 * cspi/spi_main.c (SPI_exit): guard vs. double
3810 exits, exit the mainloop nicely.
3811 (SPI_event_main): make more sense.
3812 (SPI_init): move the atexit evilness here so we
3813 always do it (yuck).
3814 (SPI_event_main): upd.
3816 * test/simple-at.c: update for listener changes.
3818 * registryd/registryd.c (main): prune kruft.
3820 * libspi/libspi.h: upd.
3822 * libspi/eventlistener.[ch]: rename broken macros.
3824 * libspi/accessibleeventlistener.[ch]: remove.
3826 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3828 * test/test-simple.c: Add - automated tests.
3830 * cspi/spi-listener-impl.c (cspi_event),
3831 (cspi_key_event): add user_data to invoke.
3832 (cspi_keystroke_listener_finalize): impl.
3833 (cspi_keystroke_listener_class_init): upd.
3836 (createAccessibleEventListener),
3837 (AccessibleEventListener_addCallback),
3838 (createAccessibleKeystrokeListener),
3839 (AccessibleKeystrokeListener_addCallback): upd.
3841 * libspi/deviceeventcontroller.c
3842 (spi_device_event_controller_check_key_event): add public proto.
3845 (impl_accessibility_registry_deregister_global_event_listener):
3846 always init listeners.
3847 (_registry_notify_listeners): yes it is.
3849 * cspi/spi-listener-impl.c (cspi_key_event):
3851 (cspi_event_listener_finalize): impl.
3852 (cspi_event_listener_class_init): hook up.
3853 (event_handler_new, event_handler_free),
3854 (event_list_remove_by_callback): impl.
3855 (cspi_event_listener_remove_callback),
3856 (cspi_keystroke_listener_remove_callback),
3857 (cspi_keystroke_listener_add_callback),
3858 (cspi_event_listener_add_callback): upd.
3860 * libspi/keystrokelistener.c
3861 (keystroke_listener_object_finalize): kill
3862 (spi_keystroke_listener_class_init): upd.
3863 (spi_keystroke_listener_add_callback),
3864 (spi_keystroke_listener_remove_callback): kill,
3866 (impl_key_event): prune drasticaly.
3868 * libspi/eventlistener.c
3869 (spi_event_listener_add_callback),
3870 (spi_event_listener_remove_callback): kill, use
3872 (impl_accessible_event_notify_event): upd.
3873 (spi_event_listener_object_finalize): remove.
3875 * libspi/Makefile.am: use eventlistener.[ch]
3877 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3879 * libspi/registry.c (_registry_notify_listeners):
3880 Changed listener loop iteration to use preferred convention.
3881 Got rid of string memory leaks caused be calling g_strconcat
3882 inside function calls.
3884 * libspi/registry.c (parse_event_type):
3885 Stopped g_strconcat memory leaks, free the g_strsplit return,
3886 g_strdup the split pieces when used, etc.
3888 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3891 Change method 'compare' to return a 'difference set' rather than
3892 taking a StateSet as an out parameter (more Java-friendly).
3894 * idl/Accessible.idl:
3895 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3897 * idl/Component.idl:
3899 Changed methods 'getExtents' and 'getImageExtents' in these
3900 interfaces to return a BoundingBox structure.
3901 (getPosition and getSize are redundant and possibly should be
3902 removed, rather than creating a corresponding Point struct.)
3904 * cspi/spi_component.c:
3905 Modify implementation of getExtents to reflect the above IDL
3910 Add (missing) AccessibleImage_getExtents () API.
3912 * docs/reference/cspi/at-spi-cspi-sections.txt:
3913 Added AccessibleImage_getImageExtents () to docs.
3915 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3917 * idl/Component.idl:
3918 Added two methods, getLayer () and getMDIZOrder (), to reflect
3919 the new ATK methods atk_object_get_layer and
3920 atk_object_get_mdi_z_order. (Which arguably should be part of the
3921 AtkComponent API and AtkObject). Also added an enum,
3922 ComponentLayer, for the first method's return value.
3924 * libspi/component.c:
3925 Added implementations for these methods.
3927 * cspi/spi_component.c:
3929 Added cspi binding methods for above,
3930 AccessibleComponent_getLayer() and
3931 AccessibleComponent_getMDIZOrder().
3932 Added cspi enum 'AccessibleComponentLayer'.
3934 * docs/reference/cspi/at-spi-cspi-sections.txt:
3935 Added above methods to docs.
3939 Changed typedef for 'boolean' type (and all references to it) to
3940 SPIBoolean, to avoid keyword clashes with C++.
3943 Changed usages of 'boolean' to SPIBoolean.
3945 * test/keysynth-demo.c:
3946 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3947 app), except where SPIBoolean is required by the callbacks API.
3949 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3951 * cspi/spi_registry.c:
3952 Removed obsolete X event loop for passive keygrabs (which now
3955 * registryd/registryd.c:
3956 Removed unnecessary call to gdk_init() [cruft]. This also allows
3957 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3960 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3962 * docs/reference/cspi:
3963 Included docs for SPI_freeString in generated documentation.
3966 Renamed spi_freeString to SPI_freeString, for consistency. Added
3967 documentation for this function.
3970 Renamed spi_freeString to SPI_freeString, for consistency.
3971 Removed obsolete method declaration string_from_corba_string.
3973 * test/keysynth-demo.c:
3974 Small tweak to comments.
3977 Stopped leaking the strings returned from CSPI.
3979 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3981 Merged Michael's branch (see his ChangeLog entries below).
3983 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3984 bridge is alive, release on exit.
3986 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3987 Fix type check macro.
3990 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3993 Added is_gnome_app static, and method cspi_is_gnome_app(),
3994 so we can call the appropriate shutdown routine at exit in SPI_exit.
3996 * cspi/spi_main.c (cspi_object_ref):
3997 Duplicate the corba object passed in, since we're keeping it around.
3999 * cspi/SPI_exit.c, cspi_cleanup:
4000 Moved the releasing of the live refs to its own function, so we
4001 can put it in g_atexit (). Call the appropriate shutdown API
4002 depending on whethe calling client is a gnome app or not
4003 (bonobo_main_quit or CORBA_ORB_shutdown).
4005 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4006 Unref the listener when this method is called, after
4007 deregistration. Updated the API docs to note this behavior.
4009 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4010 Bugfixes: Ref the bonobo object when returning a parent or child
4011 reference, or an AccessibleRelation. Generally made sure
4012 BonoboObject refcount is incremented whenever we return an
4015 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4016 Fixed typo/bug in signal declaration.
4018 * libspi/accessibleeventlistener.h:
4021 * libspi/application.c (spi_application_new):
4022 Fixed leak in initialization.
4025 Remembered to increment bonobo-object refcount when returning
4026 children (applications) from desktop object.
4027 Added (empty) finalize method.
4029 * libspi/deviceeventcontroller.c:
4030 Hold a ref to listeners inside DEControllerKeyListeners.
4031 Added dec_key_listener_free() method. Use prepend instead of
4032 append in key_listener list. Fixed some refcount madness and
4033 leaks in the listener registration/deregistration - deregistration
4034 now calls dec_key_listener_free() on listeners, and on the
4035 temporarily constructed dec_key_listener() used to perform the search/match.
4037 * libspi/hypertext.c (spi_hypertest_finalize):
4038 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4039 class. Also fixed spi_hypertext_interface_new() and
4040 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4042 * libspi/hypertext.h:
4043 Removed pointless and duplicate AtkObject pointer from
4046 * libspi/keystrokelistener.c:
4047 Fixed incorrect type of keystroke_listener_parent_class,
4048 renamed keystroke_listener_object_finalize to
4049 spi_keystroke_listener_object_finalize.
4050 Fixed typo in signal declaration
4051 (spi_keystroke_listener_class_init).
4053 * libspi/registry.c:
4054 Added funcsions spi_listener_struct_new() and
4055 spi_listener_struct_free() to help with memory management issues.
4056 We also now use these methods instead of gnew + poking stuff into
4057 the struct, and to decrement listener counts/free the listeners
4058 when deregistering them.
4059 Fix more refcount bugs in getDesktop() and
4060 getDeviceEventController().
4063 De-ref the desktop after enumerating the applications. Explicitly
4064 decrement the refcounts on the created listeners on exit (using
4065 _unref for keystroke listeners, and via the
4066 deregisterGlobalEventListenerAll command for other event
4069 2001-11-27 Michael Meeks <michael@ximian.com>
4071 * cspi/spi-listener.h: fixup enum.
4073 2001-11-27 Michael Meeks <michael@ximian.com>
4075 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4076 (cspi_keystroke_listener_new): Use the cspi variants.
4078 2001-11-26 Michael Meeks <michael@ximian.com>
4080 * test/keysynth-demo.c: fix 2 compile warnings, missing
4083 * test/simple-at.c (report_focussed_accessible),
4084 (report_focus_event, report_button_press),
4085 (check_property_change, is_command_key),
4086 (report_ordinary_key_event, report_command_key_event): upd.
4088 * util/mag_client.h: include pre-requisites.
4090 * libspi/accessibleeventlistener.c
4091 (spi_event_listener_object_finalize): free any lingering
4094 * libspi/keystrokelistener.c
4095 (keystroke_listener_object_finalize): ditto.
4097 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4098 callbacks, with cspi types.
4100 * cspi/spi_event.c (createAccessibleEventListener): chain to
4101 (AccessibleEventListener_addCallback): here.
4102 (createAccessibleKeystrokeListener): chain to
4103 (AccessibleKeystrokeListener_addCallback): here.
4105 * libspi/keystrokelistener.c
4106 (spi_keystroke_listener_class_init): add signal.
4107 (impl_key_event): emit the event.
4108 (boolean_handled_accumulator): impl.
4109 (marshal_BOOLEAN__POINTER): add, gack.
4111 * libspi/accessibleeventlistener.c
4112 (spi_event_listener_class_init): add signal.
4113 (impl_accessible_event_notify_event): emit the signal &
4114 make the loop efficient.
4115 (spi_event_listener_add_callback): prepend the callback.
4117 * libspi/accessibleeventlistener.h: add an 'event' signal,
4118 decl type on callback.
4120 * libspi/keystrokelistener.h: ditto.
4122 * cspi/spi-listener.h: make methods typesafe and
4123 make them use the new event typedefs.
4125 * test/simple-at.c (report_focussed_accessible):
4126 include mag_client.h
4127 Use *(void *)text_interface not the other thing.
4129 * configure.in: add gtk to registryd bits - since we use
4132 * util/magnifier.c: include libbonobo.h
4134 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4136 * test/keysynth-demo.c:
4137 Turned this into a simple scanning keyboard, to demonstrate the
4138 use of g_timeout_add () as a means of creating timers for
4139 scanning, and the use of GtkStyle for visually indicating when
4140 virtual keyboard elements are selected.
4142 keysynth-demo now listens to any keyboard keys with zero-valued
4143 keycodes (i.e. 'unused' keys) and interprets them as
4146 Reworked the shiftlatch code so that shift-down state isn't held
4147 for long periods (it's only synthesized immediately prior to
4148 the keysynth event it's modifying). Note that shiftlatch in this
4149 demo is a convenience, not intended to take the place of AccessX
4150 which is the better choice for getting 'sticky' modifier keys.
4152 * libspi/deviceeventcontroller.c:
4153 * at-bridge/bridge.c:
4154 * cspi/spi_registry.c:
4155 Removed some debug print stuff, and put other verbosity in #ifdef
4160 Implemented some more of the magnifier IDL for the simple
4161 magnifier: namely, getZoomRegionParams.
4162 Added mag_x and mag_y members to MagnifierData struct, aid of this
4164 Added GtkWindow::realize signal handler to magnifier, to keep it
4165 from receiving keyboard focus from the WM.
4167 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4169 * cspi/spi-private.h: my guess at what michael forgot
4170 before he ran off to NZ :-)
4172 2001-11-23 Michael Meeks <michael@ximian.com>
4174 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4175 comment out non existant method invoke so we link.
4177 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4178 use bonobo_exception_get_text for more friendly warnings.
4180 * cspi/spi.c (Obj_Add): move into spi_main & rename
4181 spi_object_add; kill spi.c
4183 * cspi/spi_registry.c
4184 (deregisterGlobalEventListener),
4185 (deregisterGlobalEventListenerAll),
4186 (registerGlobalEventListener): fix exception leaks.
4188 * cspi/spi_main.c (spi_exception): impl. helper, so we
4189 don't leak exceptions.
4191 * cspi/spi_selection.c
4192 (AccessibleSelection_deselectSelectedChild): return the
4195 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4196 (spi_registry): ditto.
4197 (SPI_init): guard against double inits.
4199 * cspi/*.c: use spi_ev (), and spi_registry () where
4200 appropriate - a temporary hack until we have something
4201 better. Use spi_object_add
4203 2001-11-22 Michael Meeks <michael@ximian.com>
4205 * cspi/Makefile.am: re organise, install the headers.
4207 * cspi/*.h: add G_BEGIN/END_DECLS
4209 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4212 Added non-preemptive keylistener for key events with no modifiers
4213 and shift-only modifier.
4215 * libspi/keystrokelistener.c:
4216 Removed some verbose diagnostics printout.
4218 * cspi/spi_registry.c:
4219 Fixed a bug that caused all key listeners to be registered as
4222 * libspi/deviceeventcontroller.c:
4223 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4224 for non-preemptive key masks.
4227 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4229 * docs/reference/idl/at-spi-idl-docs.sgml:
4230 * docs/reference/idl/at-spi-idl-sections.txt:
4231 * docs/reference/idl/at-spi-idl-overrides.txt:
4232 Added missing files.
4234 * docs/reference/Makefile.am:
4235 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4236 to scan the IDL files :-(
4241 Added .cvsignore files.
4243 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4245 * libspi/deviceeventcontroller.c:
4246 * libspi/keystrokelistener.c:
4248 * cspi/spi_registry.c:
4249 Added filters for KeySets, KeyEventSeq, and event types to key
4250 event dispatching, so listeners should only receive those events
4251 that they requested :-)
4253 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4258 * docs/reference:Makefile.am:
4259 * docs/reference/cspi:
4260 * docs/reference/cspi:Makefile.am:
4261 * docs/reference/cspi:tmpl:
4262 * docs/reference/cspi:tmpl:*.sgml:
4263 * docs/reference/idl:
4264 * docs/reference/idl:Makefile.am:
4265 * docs/reference/idl:at-spi-idl-sections.txt:
4266 * docs/reference/idl:at-spi-idl-docs.sgml:
4267 * docs/reference/idl:tmpl:
4268 * docs/reference/idl:tmpl:*.sgml:
4270 Restructured docs directory to allow separate 'reference' docs
4271 section, and forked idl and cspi docs. Added the sgml template
4272 files to CVS. Added the first sections/structural sgml for the
4275 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4277 * configure.in, libspi/Makefile.am: find libXtst.
4279 2001-11-21 Michael Meeks <michael@ximian.com>
4281 * test/accessx-gui.c: s/spi_value/value/ - doh.
4283 * libspi/base.[ch]: add.
4285 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4287 * idl/Accessible.idl:
4288 * idl/Application.idl:
4291 Started gtk-doc cleanup on IDL.
4293 * libspi/deviceeventcontroller.c:
4294 Added and connected non-preemptive key notification from the
4295 toolkits (in addition to the pre-emptive support from XServer
4296 which we had before, but which causes 'focus flashing'). Filters
4297 are presently limited to key modifiers and global/non-global,
4298 KeySets are presently ignored, as are KeyEvent masks.
4300 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4301 structs into the persistant structure rather than just storing
4302 pointers to things that might not persist across servant
4305 The XGrabKey call now does async keygrabs, because synchronous
4306 ones were deadlocking with GDK_event code in a very nasty way.
4308 Added boolean to internal method notify_keylisteners, to indicate
4309 whether the event came from the 'toolkit source' or the 'global
4310 (XServer) source' - this is used in the notification process to
4311 determine which listeners to send the event to.
4313 deviceeventcontroller.c is now warning-free.
4315 * libspi/registry.c:
4316 Fixed regression in application de-registration.
4317 Also fixed some really brain-dead weirdness having to do with
4318 event dispatching - event structs are now duplicated before being
4319 re-marshalled in the dispatch to listeners. This also fixes a
4320 Solaris build problem.
4323 2001-11-20 Michael Meeks <michael@ximian.com>
4326 (impl_accessibility_registry_deregister_global_event_listener):
4329 * libspi/deviceeventcontroller.c
4330 (spi_device_event_controller_check_key_event): return
4331 FALSE on no virtual method.
4333 * libspi/*..h: make includes work on a correctly pathed install.
4335 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4337 * libspi/application.h: kill unused ( and whacked out )
4338 gboolean *spi_application_set_id (AtkObject *app, long id);
4340 2001-11-20 Michael Meeks <michael@ximian.com>
4342 * libspi/*.[ch]: further convert to bonobo's type func
4343 macros, remove redundnant casts etc.
4345 * libspi/text.c s/accessibility_text/spi_text/g,
4346 re-order to de-cruft.
4348 * libspi/hypertext.c: re-order to kill a huge slew
4349 of redundant forward decls.
4351 * libspi/relation.c: ditto.
4353 * libspi/image.c: ditto.
4355 * */.cvsignore: update
4357 2001-11-20 Michael Meeks <michael@ximian.com>
4359 * libspi/deviceeventcontroller.c
4360 (_controller_register_with_devices): use g_getenv,
4361 kill stdlib.h include.
4363 * libspi/keystrokelistener.c
4364 (spi_keystroke_listener_get_type): kill
4365 (spi_keystroke_listener_class_init),
4366 (spi_keystroke_listener_init): rename to this.
4368 * libspi/text.c (impl_getAttributes): fix warning / bug.
4370 * libspi/*.[ch]: more headers, includes and over commenting.
4372 2001-11-20 Michael Meeks <michael@ximian.com>
4374 * libspi/*.[ch]: fixup headers, includes and over commenting.
4376 * libspi/image.c (impl__get_imageDescription): const
4377 correctness warning fix. remove redundant casting.
4379 * libspi/table.c (impl_getRowDescription): ditto.
4380 (impl_getColumnDescription): ditto.
4382 * libspi/libspi.h: add.
4384 2001-11-19 Michael Meeks <michael@ximian.com>
4386 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4388 * libspi/component.c (accessibility_component_get_type):
4389 rename to (spi_component_get_type): and macroify.
4390 (accessibility_component_init): rename to
4391 (spi_component_init): this
4392 (accessibility_component_class_init): rename to
4393 (spi_component_class_init): this
4395 * libspi/action.c (spi_action_get_type): kill, use the macro.
4397 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4400 * libspi/application.c (spi_application_object_event_listener),
4401 (impl_accessibility_application_register_object_event_listener):
4402 warning fixes / const understanding updates.
4404 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4407 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4409 * libspi/spi_accessible.c: Added docs and C bindings for
4410 AccessibleStateSet. (No implementations yet). Documentation
4411 coverage for C bindings now 100%. Made docs for event listeners
4416 boolean notifyListenersSync (in DeviceEventListener listener,
4417 in DeviceEvent event);
4419 oneway void notifyListenersAsync (in DeviceEventListener listener,
4420 in DeviceEvent event);
4422 Added DeviceEventListener and DeviceEvent structs (may deprecate
4423 KeyStroke and KeystrokeListener in favor of this generic
4424 event/listener framework for devices).
4426 * libspi/deviceeventcontroller.c:
4428 Changed some key listener code to take masks, etc., and paved the
4429 way for integration of toolkit/non-preemptive key events. Changed
4430 signatures of some internal methods.
4432 * at-bridge/bridge.c:
4433 Fixed regression connecting to interface signals, apparently
4434 caused by GTK+ changes.
4436 Added an internal bridge_state_listener to deal with
4437 property-change:accessible-state signals.
4439 Changed the key_listeners GList to store structs (including masks,
4440 etc.) instead of just CORBA_Objects (required for full
4441 implementation of key listener API).
4443 Connected the bridge to all currently supported Atk signals.
4444 Events now supported:
4445 object:property-change
4446 object:property-change:accessible-name
4447 object:property-change:accessible-state
4448 object:property-change:accessible-description
4449 object:property-change:accessible-parent
4450 object:property-change:accessible-value
4451 object:property-change:accessible-role
4452 object:property-change:accessible-table-caption
4453 object:property-change:accessible-table-column-description
4454 object:property-change:accessible-table-column-header
4455 object:property-change:accessible-table-row-description
4456 object:property-change:accessible-table-row-header
4457 object:property-change:accessible-table-summary
4458 object:children-changed
4459 object:visible-data-changed
4460 object:selection-changed
4461 object:text-selection-changed
4463 object:text-caret-moved
4465 object:row-reordered
4467 object:column-inserted
4468 object:column-reordered
4469 object:column-deleted
4470 object:model-changed
4472 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4474 * libspi/hyperlink.c,h:
4475 Fixed some broken stuff in hyperlink.
4477 * libspi/relation.h:
4478 * libspi/relation.c:
4479 * cspi/spi_accessible.c:
4480 Initial implementations of AccessibleRelation methods, and docs.
4482 * libspi/accessible.c:
4483 Fixed a bug that caused SEGV if an accessible
4484 object's description is NULL, and a client
4485 requests it. An empty string is now returned.
4487 * cspi/spi_editabletext.c:
4488 * cspi/spi_hypertext.c:
4490 * cspi/spi_hyperlink.c:
4494 Doc coverage now 95%.
4496 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4498 One last namespacing revision:
4499 * libspi/accessibleeventlistener.[ch]:
4500 Renamed SpiAccessibleEventListener to SpiEventListener,
4501 (no need for two namespaces ;-)
4503 And lots of documentation fixes:
4505 * docs/at-spi-docs.sgml:
4506 Fixed 'underscore vs. hyphen' bug that was preventing
4507 the gtk-doc API docs from being automatically generated.
4510 * cspi/spi-listener.h
4512 * cspi/spi_accessible.c
4514 * cspi/spi_application.c
4515 * cspi/spi_component.c
4516 * cspi/spi_editabletext.c
4518 * cspi/spi_hypertext.c
4520 * cspi/spi_registry.c
4521 * cspi/spi_selection.c
4525 * docs/at-spi-docs.sgml
4526 * docs/at-spi-sections.txt
4528 Added and fixed up gtk-doc documentation in cspi.
4530 Interfaces now (fully) documented (subject to revision and enhancement):
4532 Event Listener Support
4534 AccessibleApplication
4538 AccessibleEditableText
4545 AccessibleRelationSet
4550 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4552 * at-bridge/bridge.c:
4553 Initial work for toolkit-level key snooper connection by bridge.
4558 New typedefs and fixes to support new namespacing, and cleaner
4559 separation of cspi bindings from libspi bonobo implementation.
4560 Removed inconsistent and extraneous Spi* namespace prefix that
4561 had crept into cspi headers.
4562 Lots of comment fixes that sed had missed.
4564 * cspi/spi-roletypes.h:
4565 * cspi/spi-statetypes.h:
4566 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4567 to AccessibleRoleType.
4569 * libspi/accessibleeventlistener.h:
4570 Fixed minor namespacing weirdness.
4572 * libspi/deviceeventcontroller.c:
4573 Reordered some internal API for device listeners.
4574 Changed the key registry final boolean to 'is_system_global'
4575 rather than 'is_synchronous', which is more descriptive of its
4577 Added spi_device_event_controller_new().
4578 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4580 * libspi/keystrokelistener.[ch]:
4581 Namespaced KeystrokeListener to SpiKeystrokeListener.
4582 Changed uses of keymasks to use SPI_ prefix, and did other
4585 * libspi/keymasks.h:
4586 Namespaced keymask constants with SPI_ prefix.
4588 * libspi/registry.c:
4589 Some warning fixes, and knock-on fixes from namespace changes.
4592 Added rules for accessx-gui test program.
4594 * test/accessx-gui.c:
4595 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4596 utility. It doesn't actually use at-spi, but it's still cool and
4599 * test/keysynth-demo.c:
4603 Fixes so that these test clients work properly with the namespaced
4604 libraries. (Incompletely tested for technical reasons, fixes may follow)
4607 2001-11-13 Michael Meeks <michael@ximian.com>
4609 * libspi/application.c
4610 (impl_accessibility_application_get_version),
4611 (impl_accessibility_application_get_toolkit_name):
4613 (impl_accessibility_application_set_id),
4614 (impl_accessibility_application_get_id): remove
4615 redundant casting code.
4617 * libspi/action.c (impl_getDescription): fix warnings.
4619 * libspi/accessible.c
4620 (impl_accessibility_accessible_get_parent),
4621 (impl_accessibility_accessible_get_child_at_index),
4622 (impl_accessibility_accessible_get_state),
4623 (impl_accessibility_accessible_get_relation_set):
4624 warning fixes & include action.h
4626 2001-11-13 Michael Meeks <michael@ximian.com>
4628 * *.[ch] fix bits I screwed up:
4630 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4631 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4633 2001-11-13 Michael Meeks <michael@ximian.com>
4635 * *.[ch] Namespace libspi into spi_ and Spi.
4637 2001-13-11 Michael Meeks <michael@ximian.com>
4639 * Makefile.am: dist & install at-spi-1.0.pc
4641 * libspi/Makefile.am: install into at-spi-1.0
4643 * idl/Makefile.am (idldir): install into at-spi-1.0
4645 * at-spi-1.0.pc.in: add.
4647 * configure.in: build it.
4649 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4651 * test/keysynth-demo.c:
4652 Use a 'realize' signal-handler to set the WM properties for
4653 the virtual keyboard, rather than making it a "POPUP" type
4654 override-redirect window (thanks to anders carlsson for that
4657 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4660 * test/keysynth-demo.c:
4661 Added new test of key synthesis, which creates a simple
4662 (mouse-operated) onscreen keyboard. It inserts key events into
4663 the currently-focused window, thus it does not grab keyboard focus
4666 * cspi/spi_registry.c:
4667 Added C binding for AT-SPI generateKeyEvent.
4669 * libspi/deviceeventcontroller.c:
4670 Added call to XFilterEvent so that key listener works with XIM (we
4671 hope). Added event_synth_type to generateKeyEvent, so that we can
4672 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4673 synthesize a press/release pair for KeySyms.
4675 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4677 * libspi/Makefile.am:
4678 * registryd/Makefile.am:
4679 (temporary) hack to include libXtst in libspi and registryd.
4680 (Needed for keystroke synthesis, see below).
4683 Improved API for registerKeystrokeListener, in accordance with
4684 discussions with Gnopernicus team and X server research.
4686 * libspi/registry.c:
4687 * libspi/deviceeventcontroller.c:
4688 * libspi/accessible.c:
4689 * libspi/keystrokelistener.c:
4690 Changes and fixes to support keylisteners for potentially
4691 consumed key events (that is, 'passive grabs').
4692 Added implementation for generateKeyEvent() [untested].
4695 Changes to registerKeystrokeListener() API, as above.
4696 Added deregisterGlobalEventListenerAll(), and
4697 deregisterKeystrokeListener(), which are needed for clean exit of
4699 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4700 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4702 * cspi/spi_registry.c:
4703 Added implementations of function prototypes mentioned above.
4705 * registryd/registryd.c:
4706 Added the key listener event source as a g_timeout(), to allow
4707 receipt of key events that are not caught by GDK (since GDK
4708 doesn't support passive keygrabs, this was necessary).
4711 Changed to attach a keylistener to 'Alt' keys, and
4712 respond to the following keycommands: Alt-M (toggle magnifier);
4713 Alt-F (toggle speech); Alt-Q (quit).
4714 Added an exit routine to deregister the listeners, and a key
4715 listener that prints some key info to the console when a key
4716 matches the listener mask (and is thus received by the listener).
4718 * util/idl/Magnifier.idl:
4719 Changes to magnifier API to support multiple zoom regions,
4720 non-uniform scaling in x and y, markDirty, and a host of other
4721 features that would be useful to magnification.
4724 * util/mag_client.c:
4725 * util/mag_client.h:
4726 * util/mag_control.c:
4728 Source code changes to support the above IDL changes.
4731 As above, and also changes to use a (slower) generic conversion
4732 path for colormap conversions, since the fast RGB conversions have been
4733 reported to fail for 16-bit displays.
4735 2001-10-26 Michael Meeks <michael@ximian.com>
4737 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4739 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4741 * at-bridge/Makefile.am: fix LDFLAGS.
4743 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4745 * at-bridge/bridge.c:
4746 Re-worked listeners for toolkit events, now we have signal
4747 and property listeners. Added a private method
4748 register_atk_event_listeners(), which registers with the
4749 various atk and gtk signals we need to monitor in order to emit
4751 Added emission hook for AtkObject:property-change events, to
4752 support the 'property listeners'.
4753 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4756 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4757 which emit warnings and exit, respectively, if CORBA errors occur
4758 during remote calls, and we now use these methods to check most of
4759 our CORBA calls in the C bindings.
4761 * cspi/spi_accessible.c:
4762 Changed AccessibleSelection_refSelectedChild() to
4763 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4764 now increment refcounts.
4766 * cspi/spi_component.c:
4767 Fixed some long pointer casts (dangerous!) to pass pointers to
4768 CORBA_longs of the proper type to the CORBA stubs, and copy the
4769 data into the longs that were passed into the C bindings code.
4771 * at-bridge/bridge.c:
4773 * libspi/accessible.c:
4774 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4775 hyperlinks, AtkHyperlink is an object type.
4777 * libspi/application.c:
4778 Added various conversions to and from "generic" event types and
4779 atk-specific types; this is really part of the 'bridge'
4780 implementation but is valid for all AtkObject-based accessibility
4783 * libspi/editabletext.c:
4784 Fixed nasty bug wherein editable text's finalize method was
4785 unref'ing tha AtkObject reference that the text parent class was
4786 about to unref _again_. There was also a nasty inheritance bug
4787 that meant that the AccessibleEditableText class was corrupt.
4789 * libspi/selection.c:
4790 Provided implementations for some selection API that was broken.
4792 * idl/Application.idl:
4793 Added registerObjectEventListener () method.
4796 Fixed a number of return values that were Bonobo_Unknowns from
4797 bonobo_object_corba_objref(), which I
4798 forgot to dup before returning. Changed instances of
4799 bonobo_object_corba_objref (bonobo_object(o)) to
4800 BONOBO_OBJREF(o), for concision and clarity.
4802 2001-10-13 Louise Miller <louise.miller@sun.com>
4804 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4805 idl/Event.idl, idl/Registry.idl
4806 Changed these files to include Bonobo_Unknown.idl instead
4809 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4811 * libspi/component.c libspi/component.h:
4812 Fixed typo. Added assertions for object checks in
4813 AccessibleComponent code.
4815 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4817 * idl/Accessible.idl:
4818 Added 'isEqual (Accessible *object)'
4819 method for Accessible. (Not Yet Implemented).
4822 Changed signature of registerKeystrokeListener() to
4823 take a KeySet and KeyEventSeq so that specific keys and event
4824 types could be requested for monitoring, and added a flag
4825 is_synchronous so that either synchronous or asynchronous
4826 notification could be requested. (However this is not all
4827 implemented yet). This also meant adding two new typedefs,
4828 KeyEventSeq and KeySet.
4831 Added two new relations, RELATION_TOOLTIP_FOR and
4832 RELATION_LEAFNODE_OF.
4835 Added new state, STATE_HAS_TOOLTIP.
4837 * libspi/text.c, editabletext.c:
4838 Added new assertions to all casts of bonobo-objects from
4839 CORBA servants, to prevent Text API calls on non-text objects.
4840 Changed suspect casts of int-pointer types, so that we
4841 always send a valid CORBA_long pointer to the CORBA APIs that use
4842 in/out long parameters. We then have to copy from the CORBA_long
4843 into the regular long or int for return to the C bindings, or
4844 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4847 * libspi/deviceeventcontroller.c:
4848 Cleaned these sources up.
4850 Changed return type for getCharacterAtOffset to
4851 CORBA_unsigned_long, to allow for 32-bit characters.
4854 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4858 Fixed 'make dist' so that distro compiles...
4859 * libspi/keymasks.h:
4861 * cspi/spi-listener.c:
4862 KeystrokeListenerCB now returns a boolean.
4864 Added KeyEventType struct, and KeyStroke.
4865 Also added createKeystrokeListener(),
4866 KeystrokeListener_addCallback(),
4867 KeystrokeListener_removeCallback(), and added a keymask to
4868 registerKeystrokeListener().
4869 * cspi/spi_accessible.c:
4870 Changed numerous return types for interfaces from
4871 AccessibleComponent to Accessible<InterfaceName>; this was
4872 probably a cut-and-paste error.
4874 Implementations of new KeystrokeListener api (from spi.h,
4877 Changes to key modifier mapping.
4878 Created ControllerEventMask struct.
4879 Made DeviceEventController derive from Bonobo::Unknown.
4881 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4882 * libspi/deviceeventcontroller.c:
4883 Added a number of new internal (private) methods.
4884 * libspi/editabletext.c:
4885 * libspi/editabletext.h:
4886 Fixed a number of bugs related to the fact that
4887 editabletext inherits from text. Fixed the EditableText struct,
4888 the init() call, and use correct casts when calling Text methods
4889 from an EditableText object. Removed (duplicate) atko from the
4890 EditableText structure, we use the one in the parent Text
4891 structure via the casts mentioned above.
4892 * libspi/keystrokelistener.[ch]:
4893 * libspi/registry.c:
4894 Changes in support of keyboard handling (above).
4896 Keyboard handling, though partly functional, is still not
4897 recommended for at-spi client use as there is considerable
4898 work yet to be done.
4901 Changed some places where pointers to various int types
4902 are cast to be pointers to CORBA_long types and vice-versa:
4903 pointer casting is not safe so we pass pointers of the correct
4904 types and then cast the result before putting it into the target
4907 * libspi/text.h: minor typos corrected.
4909 We now speak not only the name of a Text element, but the
4910 first sentence of its content, when it receives focus.
4911 I also changed the text compression to 75% from 50%.
4912 * util/Accessibility_Util.server.in:
4913 Changed the default magnifier type to be a 3x vertical
4914 splitscreen magnifier (was previously a 2x horizontal one).
4916 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4918 * libspi/keystrokelistener.h:
4919 * libspi/keystrokelistener.c:
4920 Initial functional implementations of KeystrokeListener.
4923 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4925 Fixed string handling for NULL strings in libspi.
4926 Added spi_freeString to free strings returned by C bindings.
4928 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4930 * libspi/keystrokelistener.h:
4931 * libspi/keystrokelistener.c:
4932 Began (no-op) implementations of KeystrokeListener
4934 * libspi/deviceeventcontroller.c:
4935 * libspi/deviceeventcontroller.h:
4936 Began creating implementations of DeviceEventController,
4937 to handle keystroke and mouse event listening and
4939 * libspi/accessible.c:
4940 Stubbed-in the implementations for
4941 Accessibility_Accessible_getState and
4942 Accessibility_Accessible_getRelationSet.
4943 * libspi/registry.c:
4944 Improved de-registration process and fixed some bugs,
4945 deregistration now works correctly.
4947 Added initialization of applications list (to NULL).
4949 Reduced speech compression from 0.5 to 0.7, for demo.
4950 Changed call to gdk_window_set_decorations()
4951 to gtk_window_set_decorated().
4952 * at-bridge/bridge.c:
4953 Bridge now deregisters when app exits, via
4954 registration of a cleanup function
4955 with the g_atexit() call.
4956 Required making 'app' static, renamed 'this_app'.
4957 Fixed broken use of bonobo_init, passing argv wrongly.
4959 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4963 Created a new directory for
4964 accessibility-related utilities, primarily for
4965 testing and demo purposes, but with possible
4972 Onscreen magnifier utility that
4973 is implemented as a bonobo service.
4975 * util/mag_client.c:
4976 * util/mag_client.h:
4977 Client-side support (simple C bindings)
4978 for Magnification service
4980 * util/mag_control.c:
4981 Client program example for
4982 Magnification service
4984 * util/Accessibility_Magnifier.server.in:
4985 Bonobo-activation file for the
4986 Magnification service.
4989 * util/idl/Magnifier.idl:
4990 IDL defining the bonobo Magnification
4994 Modifications to use the bonobo-activated magnifier
4995 above, in place of trying to connect to an existing
4996 magnifier that uses socket-listening IPC.
4998 If env variable MAGNIFIER is set, a magnifier service
4999 will be started if one does not exist.
5001 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5003 * at-bridge/bridge.c:
5004 applied patch from Marc to build and run
5005 against new glib and gtk+ (seemed like a change
5006 to bonobo_init signature was made ?)
5008 made festival-server support turned off by default.
5009 Added support for a simple magnifier (off by default)
5010 which will be added to a 'util' directory later.
5011 * at-bridge/Makefile.am:
5012 Changed "application.h" header from a 'source'
5013 to a 'dependency' of libat-bridge.
5015 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5024 Added interface implementation c files to list of
5025 includes so they are included in libcspi.
5028 Changed prototype of AccessibleAction_doAction to return a
5030 Changed prototype of AccessibleTable_getCaption to
5031 return an Accessible.
5032 Changed prototype of AccessibleTable_getSelectedRows
5033 and AccessibleTable_getSelectedColumns to
5034 return a long (returns the number of selected rows
5035 or columns respectively).
5036 Changed name of AccessibleText_refRunAttributes to
5037 AccessibleText_getAttributes.
5038 Changed prototype of AccessibleText_getCharacterExtents to
5039 return a void rather than a boolean.
5040 Added support for a AccessibleCoordType parameter
5041 specifying what type of coordinates are desired.
5042 Added an AccessibleCordType parameter to
5043 AccessibleText_getPointAtOffset.
5045 * cspi/spi_accessible.c:
5046 Added code to return the outstanding interfaces from
5047 Accessible_queryInterface.
5049 * cspi/spi_action.c:
5051 Corrected call to getNActions to call the c binding
5054 * cspi/spi_editabletext.c:
5056 Changed name from setRunAttributes to setAttributes.
5058 * cspi/spi_hyperlink.c:
5060 Changed call to getNAnchors to correctly call the c
5061 binding for an attribute.
5063 * cspi/spi_hypertext.c:
5065 Changed getImageDescription to correctly call the
5066 binding for an attribute.
5068 * cspi/spi_selection.c:
5069 Changed getNSelectedChildren to correctly call the c
5070 binding for the attribute.
5071 Changed refSelectedChild to getSelectedChild.
5075 Changed getCaption to return an Accessible.
5076 Fixed calls which retrieve attributes.
5077 Changed refAt to getAccessibleAt.
5078 Changed getNSelectedRows and getNSelectedColumns to
5082 Changed getCharacterExtents and getPointAtOffset to accept an
5083 AccessibleCoordType.
5085 Changed calls which retrieve attributes.
5086 Changed refRunAttributes to getAttributes.
5091 * idl/Hyperlink.idl:
5092 Changed n_anchors attribute to nAnchors to keep naming
5093 convention consistent.
5096 Made Table inherit from Bonobo::Unknown.
5097 Added nSelectedColumns and nSelectedRows attributes.
5100 Made Value inherit from Bonobo::Unknown.
5102 * libspi/hyperlink.c:
5103 Change for nAnchors attributte name change.
5105 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5113 Added interface implementation c files to list of
5114 includes so they are included in libcspi.
5117 Changed prototype of AccessibleAction_doAction to return a
5119 Changed prototype of AccessibleTable_getCaption to
5120 return an Accessible.
5121 Changed prototype of AccessibleTable_getSelectedRows
5122 and AccessibleTable_getSelectedColumns to
5123 return a long (returns the number of selected rows
5124 or columns respectively).
5125 Changed name of AccessibleText_refRunAttributes to
5126 AccessibleText_getAttributes.
5127 Changed prototype of AccessibleText_getCharacterExtents to
5128 return a void rather than a boolean.
5129 Added support for a AccessibleCoordType parameter
5130 specifying what type of coordinates are desired.
5131 Added an AccessibleCordType parameter to
5132 AccessibleText_getPointAtOffset.
5134 * cspi/spi_accessible.c:
5135 Added code to return the outstanding interfaces from
5136 Accessible_queryInterface.
5138 * cspi/spi_action.c:
5140 Corrected call to getNActions to call the c binding
5143 * cspi/spi_editabletext.c:
5145 Changed name from setRunAttributes to setAttributes.
5147 * cspi/spi_hyperlink.c:
5149 Changed call to getNAnchors to correctly call the c
5150 binding for an attribute.
5152 * cspi/spi_hypertext.c:
5154 Changed getImageDescription to correctly call the
5155 binding for an attribute.
5157 * cspi/spi_selection.c:
5158 Changed getNSelectedChildren to correctly call the c
5159 binding for the attribute.
5160 Changed refSelectedChild to getSelectedChild.
5164 Changed getCaption to return an Accessible.
5165 Fixed calls which retrieve attributes.
5166 Changed refAt to getAccessibleAt.
5167 Changed getNSelectedRows and getNSelectedColumns to
5171 Changed getCharacterExtents and getPointAtOffset to accept an
5172 AccessibleCoordType.
5174 Changed calls which retrieve attributes.
5175 Changed refRunAttributes to getAttributes.
5180 * idl/Hyperlink.idl:
5181 Changed n_anchors attribute to nAnchors to keep naming
5182 convention consistent.
5185 Made Table inherit from Bonobo::Unknown.
5186 Added nSelectedColumns and nSelectedRows attributes.
5189 Made Value inherit from Bonobo::Unknown.
5191 * libspi/hyperlink.c:
5192 Change for nAnchors attributte name change.
5195 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5197 implementations-- made server implementations own AtkObject pointers
5198 rather than their respective AtkInterrface pointers to fix
5199 refcounting. AtkHyperlink is still broken.
5201 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5202 * cspi/spi_accessible.c:
5203 Added method Accessible_Role_getName(),
5204 and requisite string array (role_names).
5205 Added conversion string_from_corba_strin() call
5206 to Accessible_getName and _getDescription.
5207 * libspi/accessible.c:
5208 Added implementation for Accessible_getRole()
5210 Added festival support, used if environment variable
5213 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5215 * at-bridge/bridge.c:
5216 Now allocate Accessibility_Event using
5217 Accessibility_Event__alloc() instead of g_new0().
5218 * libspi/accessibleeventlistener.c:
5219 Initialize AccessibleEventListener->callbacks to NULL.
5220 Fixed accessible__event_listener_init() param, changed to
5221 "AccessibleEventListener *" type.
5222 Changed a bonobo_object_release_unref() call to
5223 Accessibility_Accessible_unref().
5224 * libspi/listener.c:
5225 Changed Bonobo_Unknown_unref to (equivalent)
5226 Accessibility_Accessible_unref.
5227 * libspi/registry.c:
5228 Changed bonobo_object_release_unref to
5229 Accessibility_Accessible_unref.
5231 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5234 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5235 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5236 spi-util.c spi-util.h
5237 Implementations for C bindings to remaining accessibility
5240 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5243 changed return value of Action from void to boolean to
5244 bring in line with ATK.
5247 Changed getText funcions to return "out" start and end offsets.
5248 Changed getAttributes to take and offset and return the start
5249 and end offset of the attribute run.
5250 Changed getOffsetAtPoint and getCharacterExtents to take an
5251 enum describing whether coordinates are window or screen.
5254 libspi/action.c libspi/action.h libspi/editabletext.c
5255 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5256 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5257 libspi/image.h libspi/selection.c libspi/selection.h
5258 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5259 libspi/value.c libspi/value.h
5260 Added server implementations for outstanding ATK interfaces
5261 not yet implemented.
5263 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5266 Added (missing) getName() method.
5267 Made nActions an attribute.
5268 * idl/EditableText.idl:
5269 Changed order of params in setAttributes.
5270 * idl/Hyperlink.idl:
5271 Removed getAnchor, added getURI.
5273 Changed attributes to methods, for efficiency
5274 (so that getting extents can be done in one call)
5275 * idl/Selection.idl:
5276 Changed nSelectedChildren to attribute, and re-indented.
5277 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5279 * idl/Text.idl: reformatted to match our coding style.
5280 (temporarily?) removed getRowColumnAtOffset().
5281 Changed text selection API to support multi-select and
5282 non-contiguous selections, as in ATK.
5283 * idl/Value.idl: changed some methods to attributes.
5285 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5287 * libspi/listener.c(impl_notify_event):
5288 BonoboUnkown_unref the source instead
5289 of bonobo_object_release_unref - the ORB
5290 handles the releasing.
5292 * configure.in: require ORBit-2.3.94 for
5295 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5297 Tagged CVS repository 'EA_1_0'.
5298 * README.EARLY_ACCESS:
5299 Alphabetized acknowledgements list, and
5301 Listed some known dependencies of at-spi.
5303 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5305 * docs/at-spi-docs.sgml:
5306 * docs/at-spi-sections.txt:
5307 * docs/at-spi-overrides.txt: (Added zero-length file)
5308 Documentation improvements - gtk-doc should build
5309 docs for all implemented C bindings now.
5312 * cspi/spi.c: (New file)
5313 * cspi/spi_event.c: (New file)
5314 * cspi/spi_registry.c: (New file)
5315 * cspi/spi_accessible.c: (New file)
5316 * cspi/spi_application.c: (New file)
5317 * cspi/spi_component.c: (New file)
5318 Split spi_main.c into six parts, and included them from
5319 "spi.c". This is a bit of a hack, probably temporary,
5320 but required by gtk-doc, apparently.
5322 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5325 * docs/at-spi-docs.sgml:
5326 * docs/at-spi-sections.txt:
5328 Initial checkins/modifications for gtk-doc generation.
5331 Added (missing) interface query methods to Accessible's C binding.
5333 Added GenericInterface type definition.
5335 Added query for AccessibleComponent interface to focus event handler.
5336 Added printout of bounding box for focussed component.
5337 * libspi/component.c:
5338 Added partial implementation for AccessibleComponent to C binding.
5339 * idl/Application.idl:
5340 * libspi/registry.c:
5341 * libspi/listener.c:
5342 * libspi/application.c:
5343 * libspi/application.h:
5344 Changed "ID" attribute type from string to long.
5346 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5350 Made method naming consistent: methods taking object args
5351 start with uppercase, other methods (except those using
5352 acronyms) start with lowercase. Underscores delimit between
5353 object names and method names:
5354 SPI_init() - uppercase since it starts with an acronym.
5355 getDesktopCount () - lowercase start since no object param0.
5356 Accessible_getName() - uppercase object type name, studlyCaps method
5360 Added gtk-doc documentation for all currently implemented
5361 methods in the C bindings API.
5363 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5365 * Makefile.am : changed build order to build test last.
5368 Changed "createEventListener" to "CreateEventListener".
5369 * libspi/accessibleeventlistener.c :
5370 Bugfix for addition of callbacks.
5371 * test/Makefile.am :
5372 * test/simple-at.c :
5373 Added new test that uses the C bindings API.
5375 * libspi/listener.c :
5376 * libspi/registry.c :
5377 * libspi/accessibleeventlistener.c :
5378 * at-bridge/bridge.c :
5379 Renamed member "target" of Accessibility_Event to "source",
5380 which is more descriptive.
5383 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5387 * cspi/Makefile.am :
5388 Added makefile support for at-spi/cspi directory.
5391 * cspi/spi-listener.h : (NEW FILE)
5392 Added support for/use of spi-listener.h.
5394 C bindings now build successfully, with no warnings.
5395 * libspi/accessibleeventlistener.h : (NEW FILE)
5396 * libspi/accessibleeventlistener.c : (NEW FILE)
5397 * libspi/Makefile.am :
5398 Added new object type "AccessibleEventListener"
5399 which inherits from Listener, and allows attachment
5400 of in-process callbacks (so that a client with a listening
5401 object instance can add functionality to the local
5402 implementation, dynamically).
5404 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5406 * libspi/accessible.c:
5407 Add implementation for get_index_in_parent().
5409 Added #include of "spi-roletypes.h", and
5410 added enumerated type AccessibleCoordType.
5411 Added definition for KeystrokeListener (function type).
5414 * cspi/spi-statetypes.h :
5415 * cspi/spi-roletypes.h :
5417 Added these headers, used by spi.h.
5419 Added code (NOTE: not yet built by make).
5421 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5423 * libspi/Makefile.am: generate imodule
5424 at the same time as other idl compiler
5427 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5428 * libspi/registry.c :
5429 * libspi/application.c :
5430 * idl/Application.idl :
5431 Made registration with toolkit an application method,
5432 which is required since each app has its own toolkit static
5433 environment. Thus the bridge must register for
5434 notification of toolkit events from each application in turn.
5435 Toolkit notifications are now successfully registered for, and
5436 sent to the listening at client.
5438 Changed toolkit event string to use hyphens rather than underscores.
5439 * libspi/listener.c :
5440 listner now gives more info in debug mode - it reports the
5441 name of the event received, as well as the name of the source.
5444 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5446 * libspi/registry.c :
5447 added more implementation for toolkit events.
5448 Fixed bug such that toolkit event registrations
5449 (via atk) use the whole event name string, not
5451 Removed a useless call to an ORBit_ method.
5452 * at-bridge/bridge.c :
5453 Removed unused local sbuf[] variable.
5455 We now register for Gtk:GtkWidget:button_press_event
5456 events as well as "focus:" events.
5458 Add some more API from Registry.idl that was missing,
5459 for keystroke listening, keystroke and mouse event
5460 synthesis, and enumeration of accessible desktops.
5462 2001-08-16 Michael Meeks <michael@ximian.com>
5464 * configure.in: use AM_GLIB_GNU_GETTEXT.
5466 * Makefile.am (SUBDIRS): kill intl.
5468 2001-08-15 Michael Meeks <michael@ximian.com>
5470 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5472 * configure.in: upd.
5474 * configure.in: depend on a recent bonobo-activation that
5475 will find our server files ...
5477 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5479 * libspi/accessible.c : accessible_new() :
5480 Now we add the Component interface via bonobo_object_add_interface,
5481 if the contained AtkObject implements AtkComponent.
5482 * libspi/accessible.h : now include "component.h"
5483 * libspi/component.h :
5484 * libspi/component.c : added files - implementation of
5485 bonobo wrapper object for Accessibility/Component
5486 * libspi/listener.c :
5487 Added test code to check for Accessibility/Component:1.0
5488 interface and report whether it is implemented by the
5490 * libspi/registry.c :
5491 Now we check for not only the hash of the whole event
5492 string before relaying the event, we also check the
5493 "minor" event string (without the detail string).
5494 This allows event listeners to be registered against
5495 all events of a certain major+minor type, or just
5496 against a specific major+minor+detail type.
5497 * libspi/accessible.c :
5498 Added implementations for Accessible:get_parent(),
5499 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5500 * libspi/registry.c :
5501 * libspi/listener.c :
5502 Replaced calls to Accessibility_Accessible_ref() and
5503 Accessibility_Accessible_unref() with
5504 calls to bonobo_object_dup_ref() and
5505 bonobo_object_release_unref(), so that the CORBA object
5506 is dup-ed and released when relayed, as well as the bonobo object.
5508 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5510 * libspi/Makefile.am,
5511 registryd/Makefile.am,
5512 at-bridge/Makefile.am.
5513 test/Makefile.am, configure.in:
5514 reverse previous changes.
5516 * /idl/Image.idl: fix typo.
5518 * test/Makefile.am: put DEBUG_FLAGS
5521 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5523 * test/app.c: use argv[0] instead of
5526 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5528 * libspi/Makefile.am,
5529 registryd/Makefile.am,
5530 at-bridge/Makefile.am.
5531 test/Makefile.am, configure.in:
5532 cleanup, replace individual LIBS/CFLAGS with
5533 AT_COMMON_{LIBS|CFLAGS}.
5537 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5539 * configure.in, libspi/Makefile.am:
5540 Change IDL path checking for bonobo-activation
5543 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5545 * registryd/registry.c : separated event listeners to use
5546 3 separate lists (focus, window, toolkit). Began testing
5547 event names against hashes before relaying events.
5548 * test/at.c : now register for events of type "focus:"
5549 * test/app.c : now generate events of type "focus:"
5550 * at-bridge/bridge.c : register with ATK for focus events,
5551 and we now relay those focus events to any "focus:" listeners.
5552 This now works with the bridge as a GTK_MODULE when running test/at.
5553 * libspi/registry.c :
5554 * libspi/listener.c :
5555 now we ref event sources before propagating, and unref on receipt.
5556 * libspi/registry.c :
5557 some changes to internal structs, to support event typestring hashes.
5558 * text/app.c : changed the way the appname is generated.
5559 * cspi : added directory that will hold the C bindings library for
5560 non-CORBA/bonobo-savvy clients.
5561 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5562 * idl/Component.idl : added in parameter to indicate coord system for
5563 geometry-related calls.
5564 * idl/Hyperlink.idl : added readonly n_links attribute
5565 * idl/Image.idl : changed methods to attributes.
5567 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5569 * at-bridge/Makefile.am: link against
5570 ../libspi/libspi.la instead of -lspi.
5572 * at-spi/test/app.c: include
5573 bonobo-activation.h. Use a default appname
5574 if one is not provided.
5576 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5578 * idl/Registry.idl : temporarily changed register_Application
5579 to oneway, to work around issue with initial registration
5581 * idl/Application.idl : changed attribute "id" from readonly
5582 to read-write, since it needs to be assigned by Registry.
5583 * registryd/registryd.c : added call to set application id
5585 * registryd/registry.c : changed de-registration procedure to
5586 use CORBA_Object_hash() to find matching object ref in application
5587 lists and listener lists.
5588 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5589 began distinguishing between event types (work in progress).
5591 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5594 * libspi/application.c:
5595 Added implementations for get/set id, get_toolkitName,
5597 * registryd/registryd.c :
5601 Converted from use of OAF to bonobo-activation.
5602 * libspi/desktop.h :
5603 * libspi/desktop.c :
5605 Removed references to atksimpleobject, since base atkobject
5606 implementation now provides functionality we need.
5607 * libspi/atksimpleobject.c :
5608 * libspi/atksimpleobject.h :
5613 * at-bridge/Makefile.am
5614 * at-bridge/bridge.c
5617 Added directory "bridge" and contents, and added dependencies
5618 in Makefile.am/configure.in.
5619 Initial checkin of "at-bridge".
5620 This code is a GTK_MODULE which automatically registers
5621 GTK+ apps with the accessibility registry, using an object
5622 reference to the root ATK object.
5624 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5626 * po/Makefile.in.in: Remove. Again. If this
5627 doesn't get autogenerated - you need to update
5630 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5632 * po/Makefile.in.in: Add. Again.
5634 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5636 * libspi/accessible.c : added support for 'description' property.
5637 * libspi/accessible.c
5639 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5640 (since the two are now equivalent in libbonobo)
5648 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5649 Bonobo::Unknown as does Accessibility::Accessible.
5650 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5651 interface with Bonobo::Stream, since it was redundant with it.
5652 (The Stream returned by a StreamableContext object is expected to
5653 implement only a subset of Bonobo::Stream)
5655 2001-07-28 Anders Carlsson <andersca@gnome.org>
5657 * libspi/accessible.c (accessible_object_finalize): Change
5658 g_free to g_object_unref since the AtkObject is a GObject.
5660 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5662 * idl/Accessibility.idl: add new IDL files
5665 * idl/Action.idl: Definitions of actionable UI object
5666 * idl/Component.idl: Definitions of UI component geometry, etc.
5667 * idl/Hyperlink.idl: Defs of hyperlink behavior
5668 * idl/Image.idl: Def of accessible image
5669 * idl/Selection.idl: Definition of UI object with selectable children
5670 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5671 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5672 * idl/Text.idl: Interface defs for UI elements with complex textual content
5673 * idl/Value.idl: Definition of UI element that is a value controller or display
5675 2001-07-27 Michael Meeks <michael@ximian.com>
5677 * po/Makefile.in.in: remove autogenerated file from CVS.
5679 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5682 * idl/Registry.idl: include guard.
5684 * idl/Accessibility.idl: Add, and include all the other IDL
5687 * idl/*.idl: remove mass of pragmas etc.
5689 2001-07-26 Michael Meeks <michael@ximian.com>
5691 * registryd/Makefile.am (registryd_SOURCES): remove
5694 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5696 * libspi/.cvsignore, registryd/.cvsignore,
5697 test/.cvsignore: updated.
5699 * po/Makefile.in.in: gettext update.
5701 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5703 * initial CVS checkin
5705 2001-06-29 Michael Meeks <michael@ximian.com>
5707 * configure.in: add AM_CONFIG_HEADER to gen config.h