1 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
3 [needed by GOK, to fix bugs 107985 and 107988]
4 * registryd/deviceeventcontroller.c:
5 (spi_dec_clear_unlatch_pending):
6 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
7 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
8 (spi_dec_init_mouse_listener):Emit warning if mouse button
10 (spi_device_event_controller_forward_mouse_event):
11 Removed unnecessary parens from a conditional.
12 (global_filter_fn):Added TODO comment.
13 (impl_generate_keyboard_event):
14 Cancel a pending relatch if a 'delatching' key was
17 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
19 * atk-bridge/bridge.c:
20 Change atk_signal_child_changed to atk_signal_children_changed.
21 Reorganize code in spi_atk_bridge_signal_listener().
23 * test/event-listener-test.c:
24 Add children_changed_listener and report_children_changed_event()
25 to test AccessibleChildEvent_getChildAccessible.
27 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
29 * cspi/spi_event.c (cspi_internal_event_get_text): Change
30 g_strdup to CORBA_String_dup (bug #105291)
32 * test/event-listener-test.c (report_text_event): Add call to
35 2003-02-28 Bill Haneman <bill.haneman@sun.com>
37 * registryd/deviceeventcontroller.c:
38 (spi_keystroke_from_x_key_event):
39 Fix string and keysym return codes to match modifier state.
42 2003-02-28 Bill Haneman <bill.haneman@sun.com>
44 * registryd/deviceeventcontroller.c:
45 (spi_keystroke_from_x_key_event):
46 Fix segv due to improper use of isprint(c). [bug #107254]
48 2003-02-24 Bill Haneman <bill.haneman@sun.com>
51 (get_accessible_text_boundary_type):
52 Move default return value to (new) default case in switch.
53 (get_accessible_text_clip_type):
54 Move default return value to (new) default case in switch.
56 * libspi/application.c:
57 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
58 Remove unused methods.
59 (impl_accessibility_application_register_object_event_listener):
60 Remove unused methods.
63 Added #include of <math.h>.
65 * registryd/deviceeventcontroller.c:
66 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
67 we don't currently use this method.
68 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
70 (impl_generate_key_event):
71 Remove unused variables.
72 (impl_generate_mouse_event):
73 Initialize button to zero, just in case we get an invalid
74 input. Added support for mouse buttons 4 and 5.
75 (spi_device_event_controller_new):
76 Removed unused variable declaration for 'private'.
78 Added #include of <gdk/gdk.h>
80 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
82 * configure.in: Update to work when X is not installed in expected
83 location. Fixes bug #105836.
86 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
88 (spi_atk_register_event_listener): Add signal listener for
90 (spi_atk_bridge_signal_listener): Event event when link-selected
91 signal is emitted. (bug #104622)
93 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
94 on returned string. (bug #105291)
96 * test/event-listener-test.c: Add test for link-selected.
98 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
100 * atk-bridge/Makefile.am: Correct typo in previous commit.
102 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
104 * atk-bridge/Makefile.am: Allow for build directory to be different
105 from source directory
107 * registryd/Makefile.am: Allow for build directory to be different
108 from source directory
112 2003-01-29 Bill Haneman <bill.haneman@sun.com>
115 Fixed dependencies for libcspi so that libspi gets pulled in
116 properly. Fixes 104741.
120 Clean up inline docs a little.
122 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
124 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
125 This is done by implementing AtkComponent for SpiAtkDesktop, which is
126 the AtkObject within an SpiDesktop.
127 This addresses bug #101524.
129 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
130 Remove call to gdk_init().
132 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
133 so that Display is set when SpiDesktop is created.
135 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
137 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
138 This fixes bug #102830.
140 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
142 * test/test-simple.c: Update to take account of fact that GailButton
143 now implements AtkText.
144 (create_text_window): Set name on AtkObject for GtkEntry.
145 (validate_accessible): Check accessible name before calling test_text().
147 * libspi/Makefile.am: Fix problem with building outside of source
148 directory. Bug #98120.
150 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
151 typo in documentation comments. Bug #94275.
153 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
155 * libspi/text.c (impl_getBoundedRanges): Bug fix.
157 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
160 Add includes to avoid compiler warnings on Solaris.
161 (impl_getRangeExtents): Bug fix.
163 2002-12-17 Bill Haneman <bill.haneman@sun.com>
165 Fix for 100944, [API addition approved by Gman and murrayc].
172 * idl/Accessibility_Text.idl:
173 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
174 (Text::getRangeExtents): New method for efficient
175 bounds query of a text range.
176 (Text::getBoundedRanges): New method for efficient
177 clipping of text to bounding boxes.
178 (unImplemented7, unImplemented8):
179 Removed these padding methods to preserve bincompat.
182 (impl_getRangeExtents): implementation of new IDL.
183 (impl_getBoundedRanges): implementation of new IDL.
184 (SpiTextRect): Internal use struct.
185 (_spi_text_rect_union): internal method, calculates union of two
186 SpiTextRect bounding rects.
187 (_spi_text_range_seq_from_gslist): internal method, allows us
188 to build our sequence efficiently as a gslist then convert it
190 (_spi_bounds_contain): internal method, determines whether
191 a text character is "in" or "out" of a clip rect according to
192 values of TEXT_CLIP_TYPE.
193 (spi_text_class_init): Initialize the new methods in the epv.
196 (AccessibleTextClipType): New enum used by screen review api.
197 (AccessibleTextRange): New struct used by screen review api.
198 (AccessibleText_getRangeExtents):
199 cspi binding for Accessibility_Text_getRangeExtents.
200 (AccessibleText_getBoundedRanges):
201 cspi binding for Accessibility_Text_getBoundedRanges.
202 (AccessibleTextRange_freeRanges): convenience method.
205 (AccessibleText_getRangeExtents):
206 cspi binding for Accessibility_Text_getRangeExtents.
207 (AccessibleText_getBoundedRanges):
208 cspi binding for Accessibility_Text_getBoundedRanges.
209 (AccessibleTextRange_freeRanges): convenience method.
210 (get_accessible_text_clip_type): internal conversion method.
211 (get_accessible_text_ranges_from_range_seq): internal conversion method.
213 * registryd/deviceeventcontroller.c:
214 (spi_dec_mouse_check):
215 Improved behavior for mouse:abs events
216 [same granularity as mouse:rel events, and no
217 events when mouse is idle].
219 2002-12-16 Michael Meeks <michael@ximian.com>
221 * cspi/spi_accessible.c (spi_state_to_corba): rename.
223 * libspi/stateset.c (state_spi_to_atk): split out
224 ( fix several remote array bounds nasties )
225 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
226 (impl_remove): make safe from array bounds issues.
227 (spi_atk_state_from_spi_state): impl.
229 * libspi/stateset.h (spi_state_set_cache_is_empty):
230 add a set of wrapper defines to get layering right.
232 * cspi/spi_accessible.c: update state set stuff to
235 2002-12-14 Michael Meeks <michael@ximian.com>
237 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
238 to avoid 2 roundtrips to the registry per key event
239 (spi_atk_bridge_key_listener): upd.
240 (deregister_application): release the dec.
242 * registryd/registry.c (notify_listeners_cb):
243 bin lots of re-enterant complexity - we no longer
244 do a round-trip bonobo ref here, ensure that a single
245 listener's exception failure won't poison all other
247 (impl_registry_notify_event): bin obvious memory leak.
249 2002-12-13 Michael Meeks <michael@ximian.com>
251 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
252 init the ev so the error is meaningful.
253 (spi_atk_bridge_key_listener): ditto.
255 * cspi/spi_main.c (cspi_ev): init the ev so we start
256 with a clean slate, otherwise the first exception
259 * cspi/spi_text.c (get_accessible_text_boundary_type):
260 add a fallthrough for no warnings.
262 * cspi/spi_registry.c: prune unused warnings.
264 * cspi/spi_main.c (cspi_object_take): fix
265 mind-blowing brokenness ( by watching the compile
268 * cspi/spi_accessible.c (Accessible_getStateSet):
269 re-impl. to use an AtkStateSet.
270 (spi_state_type_from_accessible_state),
271 (init_state_table): bin these.
273 * libspi/stateset.c (spi_atk_state_set_from_sequence):
275 (atk_state_set_from_accessibility_state_set): here.
277 * cspi/spi_accessible.c (spi_state_to_atk): impl.
278 (AccessibleStateSet_contains, AccessibleStateSet_ref),
279 (AccessibleStateSet_unref, AccessibleStateSet_contains),
280 (AccessibleStateSet_add, AccessibleStateSet_remove),
281 (AccessibleStateSet_equals, AccessibleStateSet_compare),
282 (AccessibleStateSet_isEmpty): re-write to use a local
285 2002-12-13 Bill Haneman <bill.haneman@sun.com>
287 * configure.in: Revved to 1.1.7 (new keymask vals).
289 2002-12-10 Bill Haneman <bill.haneman@sun.com>
292 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
294 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
297 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
298 to compare two CORBA_TypeCodes.
299 (cspi_internal_event_add): Silence warning from FORTE compiler.
301 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
302 avoid implicit declaration of functions.
304 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
306 * atk-bridge/bridge.c:
307 (spi_atk_bridge_init_event_type_consts): Store signal id for
308 active-descendant-changed signal.
309 (spi_atk_register_event_listeners): Add signal listener for
310 active-descendant-changed signal,
311 (spi_atk_bridge_signal_listener): Move code in function
312 spi_atk-signal_emit_event() into this function.
313 Add support for active-descendant-changed
314 Update support for child-changed signal.
315 (spi_bridge_window_event_listener): Silence warning.
317 * libspi/spi_private.[ch]:
318 (spi_init_any_object): Change second parameter from CORBA_Object to
320 Omit call to CORBA_Object_duplicate().
321 Set CORBA_any's _value to CORBA_Object*.
323 2002-12-06 Bill Haneman <bill.haneman@sun.com>
329 (AccessibleEvent_ref, AccessibleEvent_unref):
330 New methods, for persisting an event outside the emission context.
331 Must be used if the new accessor methods are to be called
332 outside of the event listener's callback.
334 * cspi/bonobo/cspi-bonobo.c:
335 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
336 as second parameter instead of NULL, so we can call
337 cspi_check_ev afterwards.
340 (cspi_object_take): New internal method,
341 converts a CORBA_Object reference to a hard ref on
342 an Accessible if possible, returning NULL if the object
343 reference is invalid or an Accessible * otherwise.
346 (AccessibleEvent_ref):
347 Increment the event's internal private refcount, and
348 add the event's internal struct to an internal cache
349 if it's not already there.
350 (AccessibleEvent_unref):
351 Decrement the event's refcount and remove it from
352 the cspi event cache if refcount==0.
353 (cspi_event_compare): New private method.
354 Compares two event structs via their ids. Used
356 (cspi_internal_event_lookup): New private method.
357 (cspi_internal_event_check): New private method,
358 a 0-order sanity check for events to make sure their
359 private data is intact.
360 (cspi_internal_event_add, cspi_internal_event_remove):
361 New private methods for managiing the event cache.
363 * cspi/bonobo/cspi-bonobo-listener.c:
365 Initialize the new private data elements (id, magic, ref_count).
367 * atk-bridge/bridge.c:
368 (spi_atk_bridge_signal_listener):
369 Fixed bug #100530, passing wrong params to emission func.
371 * registryd/deviceeventcontroller.c:
372 (spi_dec_button_update_and_emit):
373 Fixed type in mask bit operations; fix for #99799.
375 2002-12-02 Bill Haneman <bill.haneman@sun.com>
377 Removed some of the more dangerous workarounds from
378 previous commit; they are only needed by GOK, which
379 in reality should be using another method to accomplish
380 the goals. So on reconsideration some of the workarounds
383 * registryd/deviceeventcontroller.c:
384 (spi_keycodes_contain, spi_dec_init_keycode_list):
385 Removed these methods, used only by a nasty hack to try
386 and detect whether a key synthesis should be allowed
387 to reset the XKB latch state or not. This code was only
388 required to work around an interaction between GOK,
389 button events, and XKB.
390 (impl_generate_key_event):
391 Removed hack at end of key generation that tried to
392 "do the right thing" if XKB latch keys were generated
393 in the midst of button press/release pairs.
396 Added a check for HAVE_XINPUT. Not normally used yet.
398 2002-11-25 Bill Haneman <bill.haneman@sun.com>
400 Workarounds and fixes for mouse event/XKB interaction.
402 * registryd/deviceeventcontroller.c:
403 (spi_keycodes_contain, spi_dec_init_keycode_list):
404 New internal methods.
405 (spi_dec_set_unlatch_pending):
406 Split the method that tells XKB to expect an
407 unlatch (and revert it) out of the rest of the
408 event handling code. This method is called by the
409 two mouse event handlers (the poll and the filter).
410 (spi_dec_update_and_emit, spi_dec_mouse_check):
411 New methods split from spi_dec_poll_mouse_moved.
412 The second one is now called from inside the filterFn
413 when an XKB delatch event is received, to determine
414 whether to revert the delatch or not.
415 (spi_poll_mouse_moved): Refactor; also we can now
416 properly handle the case where multiple button states
417 have changed between polling cycles and we didn't get
418 notified due to another client's grab.
420 Synchronize the server while handling an XKB notification.
421 Ugly, but apparently necessary to avoid nasty races.
422 Check the mouse state on receipt of an XKB latch change,
423 to decide whether to revert the latch or not. (Latches are
424 reverted if there is an immediately preceding mouse button
425 event that a client has consumed, in which case we don't want
426 the user to see the side-effect of the event).
427 (spi_device_event_controller_forward_mouse_event):
428 Check for modifier events and fire before resetting mouse_mask_state,
429 prevents losing modifier events.
431 (impl_generate_keyboard_event):
432 If we've just generated a keyboard event for a non-shift key,
433 we don't want to revert the pending XKB latch.
434 Otherwise, check the modifier state (via a call to
435 spi_dev_mouse_check) and set the relatch mask to
436 that state before returning.
438 2002-11-24 Bill Haneman <bill.haneman@sun.com>
441 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
444 * atk-bridge/bridge.c:
445 (spi_atk_register_event_listeners):
446 Don't re-register for ATK events if the registry has died
447 and the app needs to re-register; the ATK listeners are in
448 process and doing so will cause duplicate emission.
450 * registryd/deviceeventcontroller.c:
451 (spi_poll_mouse_moved):
452 Reformat the source, detect and emit multiple button-change
453 events (i.e. if multiple buttons have changed between poll
455 Add code to detect mouse-down events even when the pointer
456 is grabbed; workaround for GOK bug 98420.
457 (spi_controller_register_with_devices):
458 Call XTestGrabControl with 'impervious' flag set to True,
459 allows us to synthesize events and query the pointer even during
460 an active grab by another client.
461 (spi_device_event_controller_forward_mouse_event):
462 Set the mouse_mask_state to the mouse_button_state from
463 the intercepted event, to synchronize the grab listener with
466 2002-11-20 Bill Haneman <bill.haneman@sun.com>
468 * cspi/spi_accessible.c:
469 (AccessibleRole_getName):
470 Added necessary strings for making this (deprecated)
471 method work with the new role types.
472 (init_role_table, role_table):
473 Added definition of SPI_ROLE_APPLICATION.
475 * libspi/spi-roletypes.h:
476 Added SPI_ROLE_APPLICATION.
478 * idl/Accessibility_Role.idl:
479 Added ROLE_APPLICATION.
481 * docs/reference/cspi/at-spi-cspi-decl.txt:
482 Added SPI_ROLE_APPLICATION to docs.
484 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
486 * cspi/spi_accessible.c
487 (cspi_init_role_table): Do not write beyond end of role_table.
488 (Accessible_getRole): Use correct type for value returned by
489 Accessibility_Accessible_getRole().
491 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
492 beyond end of role_table. (This fixes bug #98269)
494 * libspi/application.c: Add include file spi-private.h for
495 definition of spi_init_any_nil.
497 2002-11-19 Bill Haneman <bill.haneman@sun.com>
501 * libspi/spi-private.h:
502 Added DGB() macro, and extern int _dbg declaration.
504 * registryd/registry.c:
505 (definitions) storage for _dbg.
507 Get environment variable "AT_SPI_DEBUG".
508 (spi_registry_set_debug):
509 New method, to initialize _dbg value.
510 (spi_listener_struct_new, spi_registry_object_finalize):
511 (notify_listeners_cb):
512 Changed fprintfs to use DBG and g_warning().
514 * registryd/deviceeventcontroller.c:
515 (_deregister_keygrab, spi_controller_register_device_listener):
516 Changed debug/warning messages to use DBG macro.
520 Changed warning messages to use DBG macro and g_warning().
522 * atk-bridge/bridge.c:
523 (atk_bridge_init, spi_atk_bridge_get_registry):
524 (spi_atk_bridge_exit_func):
525 (spi_atk_bridge_property_event_listener):
526 Changed status, warning, and error messages to use
527 g_warning, g_message, and DBG macros.
530 Read the state of the AT_SPI_DEBUG environment variable
531 and set a local '_dbg' accordingly.
533 2002-11-19 Bill Haneman <bill.haneman@sun.com>
535 FIXES for 98836, 98842, other bugs.
538 Revved to 1.1.4, interface-age=4, binary-age=4.
540 * registryd/deviceeventcontroller.c:
542 Fixed crasher bug in last_mouse_pos initialization.
544 * registryd/registry.c:
545 (desktop_add_application, desktop_remove_application):
546 Added (and then commented out) some support for
547 object context marshalling. [TODO]
549 * atk-bridge/bridge.c:
550 (spi_atk_bridge_event_context_create):
551 Commented out object context creation until it can
552 be properly tested and debugged.
554 * registryd/registry.c:
555 (impl_registry_notify_event):
556 Fixed crasher bug, we were calling
557 spi_re_entrant_list_foreach () with an empty list.
559 2002-11-18 Bill Haneman <bill.haneman@sun.com>
561 * idl/Accessibility_Action.idl:
562 * idl/Accessibility_Component.idl:
563 * idl/Accessibility_Desktop.idl:
564 * idl/Accessibility_Event.idl:
565 * idl/Accessibility_Hyperlink.idl:
566 * idl/Accessibility_Image.idl:
567 * idl/Accessibility_Relation.idl:
568 * idl/Accessibility_Selection.idl:
569 * idl/Accessibility_State.idl:
570 * idl/Accessibility_Value.idl:
571 Updated unimplemented slot count to minimum of
572 four for all interfaces, for ABI freeze.
574 * idl/Accessibility_EditableText.idl:
575 * idl/Accessibility_Text.idl:
576 Updated unimplemented slot count to six
579 * idl/Accessibility_Registry.idl:
580 Updated unimplemented slot count to six
581 (also for DeviceEventController),
584 * idl/Accessibility_Table.idl:
585 Updated unimplemented slot count to eight,
588 * idl/Accessibility_Event.idl:
589 Added CORBA_any "any_data" member to Event struct.
591 * idl/Accessibility_Event.idl:
592 Added CORBA_any "any_data" member to Event struct.
594 * atk-bridge/bridge.c:
596 atk_signal_text_changed, atk_signal_child_changed,
597 signal ids queried from gtype system.
598 (AtkBridgeEventContextType): New enum.
599 (AtkBridgeEventContextData): New struct.
600 (AtkBridgeEventContext): New struct.
601 (atk_bridge_init_event_type_consts):
602 New method, initializes type contants for comparison
603 prior to emit_eventv.
604 (atk_bridge_event_context_init): New method,
605 initializes a CORBA_any from an AtkBridgeEventContext.
606 (atk_bridge_focus_tracker): Call spi_init_any_nil to
607 initialize the event.any_data struct.
608 (spi_atk_bridge_event_context_create): New method,
609 creates an AtkBridgeEventContext from signal/event info.
610 (spi_atk_bridge_event_context_free): New method.
611 (spi_atk_emit_eventv): Changed to take an
612 AtkBridgeEventContext parameter. We now initialize
613 the event.any_data member prior to notifying the
614 Registry, via the AtkBridgeEventContext.
615 (spi_atk_bridge_property_event_listener):
616 (spi_atk_bridge_state_event_listener):
617 Match emit_eventv signature.
618 (spi_atk_bridge_object_event_listener):
619 Match emit_eventv signature, and create an
620 event context from the event details.
621 Free the event context afterwards.
622 (spi_atk_bridge_window_event_listener):
623 Create an event context, pass it to the
627 (AccessibleEvent_getContextString):
628 (AccessibleEvent_getContextObject):
629 New methods, allow query of AccessibleEvent objects
630 for more context details (via the "any_data" member
631 of the Event struct, above).
634 Definitions for AccessibleEvent_getContextString
635 and AccessibleEvent_getContextObject.
637 * cspi/spi_listener.h:
638 (InternalEvent): New struct.
641 (AccessibleEvent_getContextString):
642 (AccessibleEvent_getContextObject):
643 Implementations of new methods, for obtaining
644 additional context information from some event types.
646 * cspi/spi_registry.c:
647 (SPI_registerGlobalEventListener):
648 Added mention of active-descendant-changed event in docs.
650 * cspi/cspi-bonobo-listener.c:
652 Marshal the any into the AccessibleEvent via
655 * libspi/spi-private.h:
656 #include <orbit/orbit.h>
658 (spi_init_any_string):
659 (spi_init_any_object):
660 New convenience function declarations.
664 (spi_init_any_string):
665 (spi_init_any_object):
666 New convenience function implementations.
668 * registryd/deviceeventcontroller.c:
669 (spi_poll_dec_mouse_moved):
670 (spi_device_event_controller_forward_mous_event):
671 Initialize any_data member of event.
672 (spi_deregister_controller_device_listener):
673 Fix incorrect param pass which was preventing deregistration.
675 * registryd/registry.c:
676 (desktop_add_application):
677 (desktop_remove_application):
678 Add object data to event's any_data before dispatch.
680 Fix for error messages from GAIL.
682 * test/event-listener-test.c:
683 Test new ContextString and "any_data" API:
684 (report_text_event): New method query and output context string.
685 (main): register a new text listener with report_text_event
688 2002-11-19 Darren Kenny <darren.kenny@sun.com>
690 Fixes for bugs 98127 and 97914.
691 * cspi/spi-roletypes.h:
692 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
694 * cspi/spi-statetypes.h:
695 Added SPI_STATE_MANAGES_DESCENDANTS
697 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
698 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
699 * cspi/spi_accessible.c:
700 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
701 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
702 Accessibility_STATE_MANAGES_DESCENDANTS
703 * libspi/accessible.c:
704 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
705 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
706 As requested by Bill, I also cleaned up the alignment.
708 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
709 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
711 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
712 Accessibility_STATE_MANAGES_DESCENDANTS
713 * docs/reference/cspi/tmpl/spi_accessible.sgml:
714 Document changes reflecting modifications to roles.
715 * docs/reference/cspi/tmpl/spi_relation.sgml:
716 Document changes reflecting modifications to relations.
717 * docs/reference/cspi/tmpl/spi_stateset.sgml:
718 Document changes reflecting modifications to states.
720 2002-11-17 Bill Haneman <bill.haneman@sun.com>
723 Revved to 1.1.3, interface-age=3, binary-age=3.
727 Removed accessx-gui from the tests, since we have a nice
728 keyboard accessibility capplet now :-)
730 * test/keysynth-demo.c:
731 (increment_scan): removed do-nothing default: case,
734 * test/visual-bell.c:
735 (main) : removed do-nothing default: case,
739 (AccessibleAction_getKeyBinding_):
740 Documented keybinding string format.
744 (AccessibleText_getAttributes):
745 Documented the text attribute string format.
746 It's changed to use semicolon delimiters also,
747 to prevent clashes with CSS attributes, but the old
748 trick of looking for ", " strings will still work
749 (as unreliably as ever). Fix for bug related to 97916.
752 Include <cspi/bonobo/cspi-bonobo-listener.h>
754 (SPI_freeAccessibleKeySet):
755 (AccessibleKeystrokeListener_addCallback):
756 (AccessibleKeystrokeListener_removeCallback):
757 Modify to use AccessibleDeviceListener API internally,
758 instead of AccessibleKeystrokeListener.
760 * idl/Accessibility_Event.idl:
761 Added two more empty slots to EventListener (for a total of four).
763 * idl/Accessibility_Accessible.idl:
764 Added four empty slots to Accessible interface.
766 2002-11-15 Bill Haneman <bill.haneman@sun.com>
768 * idl/Accessibility_Registry.idl:
769 (KeyEventType, EventType):
770 Marked KeyEventType as deprecated; it duplicates
771 functionality of EventType, which has been extended to
772 include Mouse-button events.
773 (KeyEventTypeSeq): defined in terms of EventType.
774 (registerDeviceEventListener, deregisterDeviceEventListener):
775 New methods, for managing listeners to device events,
776 which potentially may consume them.
779 Added definition for AccessibleDeviceListener.
781 * cspi/spi-listener.h:
782 (enum AccessibleDeviceEventType):
783 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
784 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
785 for backwards compat.
786 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
787 and typedef'd AccessibleKeystroke to it for back-compat.
788 (AccessibleDeviceListenerCB):
789 New function prototype typedef.
792 (AccessibleDeviceEventMask): New typedef.
793 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
794 (AccessibleKeyMaskType):
795 Set equivalent to AccessibleModifierMaskType for back-compat.
796 (SPI_createAccessibleKeystrokeListener):
797 (AccessibleKeystrokeListener_unref):
798 Deprecated in favor of equivalent (better-named) new API below..
799 keystroke listeners are like all device listeners.
800 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
801 New API names for old features :-).
802 (AccessibleDeviceListener_addCallback):
803 (AccessibleDeviceListener_removeCallback):
804 (SPI_registerDeviceEventListener):
805 (SPI_deregisterDeviceEventListener):
809 (SPI_createAccessibleKeystrokeListener):
810 Use new preferred API, cspi_device_listener_new() and
811 cspi_device_listener_add_cb().
812 (AccessibleKeystrokeListener_removeCallback):
813 Use new preferred API, cspi_device_listener_remove_cb().
814 (AccessibleKeystrokeListener_unref):
815 Use new preferred API, cspi_device_listener_unref().
816 (SPI_createAccessibleDeviceListener):
817 (AccessibleDeviceListener_addCallback):
818 (AccessibleDeviceListener_removeCallback):
819 Implementation of new API.
821 * cspi/spi_registry.c:
822 (SPI_registerDeviceEventListener):
823 (SPI_deregisterDeviceEventListener):
824 Implementation of new API. Fixed memory leak and removed need to
825 allocate EventTypeSeq (thanks Michael for catching this).
826 Squashed a wayward CORBA_exception_free that shouldn't get called.
828 * cspi/bonobo/cspi-bonobo-listener.c:
830 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
831 (cspi_key_event): renamed to cspi_device_event().
832 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
833 Extended to handle mouse button events as well as key events.
834 (CSpiKeystrokeListener):
835 Class superceded by CSpiDeviceListener.
836 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
837 These internal APIs changed to "*device_listener" from "*keystroke_listener".
839 * cspi/bonobo/cspi-bonobo-listener.h:
840 (CSpiKeystrokeListener):
841 Class superceded by CSpiDeviceListener.
842 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
843 These internal APIs changed to "*device_listener" from "*keystroke_listener".
845 * libspi/Makefile.am:
846 Replaced keystrokelistener.h and keystrokelistener.c
847 with devicelistener.h and devicelistener.c; keystrokelisener.h
848 stub retained for back-compat.
850 * libspi/keystrokelistener.c:
854 Replaced inclusion of keystrokelistener.h with devicelistener.h.
856 * registryd/deviceeventcontroller.c:
857 (DEControllerListener): Added Accessibility_EventTypeSeq member.
858 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
859 (DEControllerPrivateData): Added xkb settings data.
860 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
861 button release events (which can't be captured via XGrabButton).
862 Don't dispatch via the 'normal' event mechanism if the device event was
864 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
865 Handle the typeseq data in its new location (see above).
866 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
867 New methods, for "generic" device listeners.
868 (spi_controller_register_device_listener):
869 Now handle mouse event listeners as well as key listeners.
870 (spi_controller_notify_mouselisteners):
872 (spi_device_event_controller_forward_mouse_event):
873 Now we notify mouse device listeners as well as generating the
874 non-consumable "mouse:" events.
876 We must check and restore the XKB
877 modifier map if we consume the event, since the act of triggering
878 a mouse event will normally reset the XKB latch. This is required for
880 (spi_controller_register_with_devices):
881 Load the XKB settings when registering, and register for XKB
883 (spi_key_eventtype_seq_contains_event):
884 Renamed spi_eventtype_seq_contains_event, since it's used
885 internally for all device event types now.
886 (spi_key_event_matches_listener):
887 Uses spi_eventtype_seq_contains_event now.
888 (spi_device_event_controller_object_finalize):
889 Free the private data and the XkbKeyboard struct.
890 (impl_register_device_listener, impl_deregister_device_listener):
891 Implementation of new IDL.
892 (spi_deregister_controller_device_listener):
894 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
895 More efficient implementation, we don't have to create a new
896 XkbControls structure every time we query.
897 (spi_device_event_controller_class_init):
898 Initialize the epv entries for the new IDL. Assign the
899 "spi-dec-private" quark.
900 (spi_device_event_controller_init):
901 Initialize the private data.
902 (spi_device_event_controller_forward_key_event):
903 Removed a bogus CORBA_exception_free() call.
905 * registryd/deviceeventcontroller.h:
906 Replaced inclusion of keystrokelistener.h with
909 * test/event-listener-test.c:
910 (report_mouse_event):
913 Added mouse-event device listener.
915 * test/test-simple.c:
916 (create_test_window):
917 Fixed regression (we were instantiating a GtkRange,
918 which is now an abstract class). Also fixed to match
919 existing AtkRole names, this seems to have changed in ATK
920 awhile ago; too late now I think, and the new
921 mechanism is at least elegant and consistent with the
922 glib enum "nick" APIs.
924 2002-11-15 Darren Kenny <darren.kenny@sun.com>
926 * idl/Accessibility_Relation.idl:
927 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
928 RELATION_EMBEDS,RELATION_EMBEDDED_BY
929 * idl/Accessibility_Role.idl:
930 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
931 * idl/Accessibility_State.idl:
932 add STATE_MANAGES_DESCENDANTS
933 * test/event-listener-test.c:
934 Added a listener for active-descendant events.
936 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
938 * atk-bridge/bridge.c
939 (atk_bridge_init): If application is Bonobo component wait until top
940 level is added before registering
941 (spi_atk_bridge_do_registration): New function which contains code,
942 formerly in atk_bridge_init, to do application registration.
943 (spi_atk_bridge_toplevel_added): Signal called when top level
944 added to Bonobo component
946 This fixes bug #83134.
948 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
950 * registryd/deviceeventcontroller.c
951 Fixed compilation error caused by calling gettimeofday()
954 2002-10-18 Bill Haneman <bill.haneman@sun.com>
959 Added template for HAVE_XKB.
962 Changes to check for XKB, and to set the HAVE_XKB #define if it
966 ()impl_notify_event): Make failure to get event source name
969 * registryd/deviceeventcontroller.c:
970 (#include): include X11/XKBlib.h.
971 (DEControllerPrivateData) : New struct.
972 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
974 (dec_synth_keycode_press) (dec_synth_keycode_release):
975 New methods; split the key synthesis code into these methods.
976 They check XKB settings before determining the "time" values to
977 pass to Xtest; this fixes bug #95828.
978 (impl_generate_keyboard_event): Changed to use methods above,
979 instead of callng Xtest directly.
980 (spi_device_event_controller_init): Initialize new privae struct s
982 (spi_device_event_controllr_object_finalize):
983 Free the (new) private data.
985 * registryd/deviceeventcontroller.h:
986 Add new gpointer to end of struct data.
988 2002-10-16 Bill Haneman <bill.haneman@sun.com>
991 Incremented revision to 1.1.2, SONAME is still '.so', library
992 extensions are ".so.0.0.2".
994 * registryd/deviceeventcontroller.c:
995 FIXES FOR #93592 and #95940.
996 (statics): renamed mouse_button_state to mouse_mask_state,
997 added key_modifier_mask.
998 (spi_dec_poll_mouse_moved):
999 Added key modifier checks, and emit "keyboard:modifiers"
1000 events when the key modifiers currently in use change.
1001 Also generate "mouse:abs" events periodically, even if the mouse
1002 is stationary (should we?).
1003 Alternatively we could generate "mouse:abs" events for either all
1004 mouse movements, or every 'nth' mouse movement, or at the
1005 beginning and end of every "active" mouse period.
1007 * test/event-listener-test.c:
1008 (main): Added listener for "keyboard:modifiers" events.
1010 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1012 * libspi/keymasks.h:
1013 Added key mask #defines for mouse buttons; e.g.
1014 SPI_KEYMASK_BUTTON1, etc.
1017 Incremented dependency on ATK to version 1.1.0. (This dependency
1018 is probably premature but will soon be real enough).
1020 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1022 * libspi/hyperlink.[ch]
1023 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1024 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1027 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1032 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1034 * registryd/deviceeventcontroller.c
1035 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1036 events to be ignored.
1037 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1038 keyboard_mode so that XAllowEvents() can be called.
1042 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1044 * cspi/spi-accessible.c: Correct names of roles returned by
1045 AccessibleRole_getName(). Fixes bug #95055.
1047 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1049 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1052 * registryd/registry.c
1053 (desktop_remove_application: Write diagnostic message to stderr for
1056 (impl_accessibility_registry_deregister_global_event_listener):
1057 Correct size of lists array. This addresses bug #94555).
1059 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1061 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1064 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1066 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1069 * registryd/registry.c (impl_registry_notify_event): Remove
1070 unnecessary call to parser_event_type().
1072 * docs/reference/cspi/tmpl/spi_component.sgml:
1073 Add reference to SPI_LAYER_WINDOW.
1075 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1077 * registryd/registry.c
1078 (desktop_add_application): Remove leak.
1079 (desktop_remove_application): Remove leak.
1080 (parser_event_type): Remove leak.
1082 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1084 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1085 bogus call to CORBA_string_dup(). Also removed unnecessary
1086 g_string_dup/g_free calls.
1088 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1090 * registryd/deviceeventcontroller.c:
1091 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1093 * test/event-listener-test.c:
1094 main: commented out three redundant listeners, to reduce output
1095 noise. (They still are potentially useful for testing).
1098 2002-09-13 Michael Meeks <michael@ximian.com>
1100 * Update all the copyrights to include Ximian.
1102 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1104 * cspi/spi.h: add SPI_LAYER_WINDOW.
1106 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1107 add Accessibility_LAYER_WINDOW case.
1109 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1111 * libspi/component.c: (impl_accessibility_component_get_layer):
1112 add ATK_LAYER_WINDOW case.
1114 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1116 * configure.in: incremented micro version.
1118 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1120 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1123 Clarified and reworded our commit policy.
1126 Started an API "todo" addition list for 2.2.
1129 (impl_getSelection):
1130 Free char pointer from atk_text_get_selection, which was being leaked.
1132 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1135 Small revision to author acknowledgement.
1137 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1139 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1140 If signal has detail add it to the type of the event.
1143 2002-08-12 Michael Meeks <michael@ximian.com>
1145 * test/test-simple.c (global_listener_cb): bin bogosity.
1146 (test_keylisteners): disable, still doesn't work reliably,
1147 certainly not on my system anyway.
1149 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1150 don't leak a reference on the DEC. This round-trip
1151 fetching of the DEC per keystroke sucks, it should be
1154 * cspi/spi-private.h,
1155 * cspi/cspi-lowlevel.h,
1156 * cspi/bonobo/cspi-bonobo-listener.[ch],
1157 * cspi/bonobo/cspi-bonobo.c: get the copyright
1158 notices better - there is still a large amount of
1159 work in at-spi falsely attributed solely to Sun.
1161 * cspi/spi_main.c (cspi_object_ref): kill bogus
1162 hash lookup, just increment the ref.
1163 (SPI_freeString): make explicit the fact that we
1164 handle NULL strings just fine.
1165 (report_leaked_ref): obey coding standards.
1166 (cspi_object_hash, cspi_object_equal): kill retval.
1167 (cspi_object_release): only release if not on loan.
1168 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1169 (cspi_object_borrow, cspi_object_return): impl.
1171 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1172 use cspi_object_borrow / return.
1174 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1176 * cspi/bonobo/cspi-bonobo-listener.c:
1178 Don't call cspi_oject_new() because this is creating a new Accessible
1179 every single time that an event is fired. This causes ATs like at-poke
1180 to nolonger recognise the source of the event and thus ignore it.
1181 Re-use the object from the cache, ref it and then unref it after the
1182 listeners have been called.
1184 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1186 * test/event-listener-test.c:
1187 Added command-line options to disable mouse events (m) and
1190 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1192 * configure.in: Update required versions of ATK, GTK+ and GAIL
1194 * cspi-1.0.pc.in: Add dependency for X include files
1197 * cspi/bonobo/Makefile.am:
1198 Add $(X_CFLAGS) so that X include files
1199 are picked up even if not in standard place (bug #71686)
1201 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1203 * registryd/deviceeventcontroller.c: fix for 84261
1204 (spi_dec_mouse_moved):
1205 Added test of mouse button mask, so that we can detect mouse
1206 button release. Unfortunately we can't otherwise detect mouse
1207 button release events without consuming the mouse press event,
1208 because of the way XGrabButton works. This means that our mouse
1209 release events have a latency dependent on the polling period
1210 while the mouse button is down. At least in this case we only
1211 have to poll while the button is down, and not at other times.
1212 If the button masks don't match with what the last press event
1213 reported, we report the appropriate button release event.
1214 (spi_dec_ungrab_mouse):
1215 New method (not yet called).
1216 (spi_device_event_controller_forward_mouse_event):
1217 New method, sends mouse press event from GdkFilter.
1218 (spi_dec_init_mouse_listener):
1219 Added code to call XGrabButton, redirecting mouse button events to
1220 the root window and our Gdk event loop.
1222 Added code to filter mouse button events, and reordered.
1224 * test/event-listener-test.c:
1226 Added registration for mouse events of type "mouse:button".
1228 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1230 * registryd/deviceeventcontroller.c: partial fix for 84261
1231 (spi_dec_poll_mouse_idle):
1232 New method, a timeout which checks to see if the mouse
1234 (spi_dec_poll_mouse_moving):
1235 A timeout to be called when mouse motion is underway.
1236 (spi_dec_poll_mouse_moved):
1237 A method which fires an event if the mouse has moved, and reports
1238 whether or not it did so.
1239 (spi_dec_init_mouse_listener):
1240 A method which sets up the timeouts above.
1241 (spi_device_event_controller_new):
1242 Now calls spi_dec_init_mouse_listener.
1244 * registryd/registry.c:
1245 (spi_registry_init):
1246 Now we initialize the device event controller when the registry is
1247 initialized, instead of waiting until a client has requested a key
1248 event notification; this is because we need the event controller
1249 for mouse events, but the mouse event registration API is a
1250 "registry" call and doesn't explicitly call the
1251 deviceeventcontroller.
1252 We now report mouse motion events with a 100 ms idle latency and
1253 a 20 ms granularity when motion is in progress.
1255 * test/event-listener-test.c:
1257 We now register the "detail listener" for events of type
1258 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1259 delivered only for the first mouse event received, and thereafter
1260 "mouse:abs" events are delivered.)
1262 * cspi/spi_registry.c:
1263 DOCS: Documented the above mouse event typestrings.
1265 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1267 Happy Summer Solstice...
1269 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1270 (spi_controller_notify_keylisteners):
1271 Changes to remove a listener from the listener list, freeing its
1272 open keygrabs, if a notification to that listener fails. This
1273 means that although a dead listener can continue to hold a passive
1274 keygrab, a maximum of one dispatch to such a listener can fail
1275 before the listener is removed from the list, thus the keygrab
1276 will be released on the next occurrence.
1277 As part of this fix:
1278 (spi_notify_keylisteners):
1279 Renamed to spi_controller_notify_keylisteners, as the controller
1280 instance must now be passed as an argument.
1281 The copied 'notify' GList is now a list of DEControllerKeyListener
1282 objects, since we need more than just the CORBA reference if a
1283 notify fails and we need to deregister the listener.
1284 (impl_notify_listeners_sync):
1285 (impl_notify_listeners_async):
1286 (spi_device_event_controller_forward_key_event):
1287 Modify use of notify_keylisteners in accordance with above
1289 (spi_deregister_controller_key_listener):
1290 New method introduced by refactoring, from
1291 impl_deregister_keystroke_listener.
1292 (impl_deregister_keystroke_listener):
1293 Call spi_deregister_controller_key_listener.
1294 (spi_key_listener_clone):
1295 New method to copy a key listner without doing a 'ref' on the
1296 remote object instance; used to create a notifier list.
1297 (spi_key_listener_data_free):
1298 New method, frees data without unreffing the source.
1300 (spi_key_listener_clone_free): new method.
1301 (spi_key_listener_free):
1302 refactored to call spi_key_listener_data_free.
1304 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1306 * registryd/registry.c: [fix for bug 86048]
1307 (notify_listeners_cb):
1308 Clear CORBA system exceptions which occur when notifying
1309 listeners, before returning to the source of the original event,
1310 since the event source doesn't care if the relayed notify failed.
1311 In other words, don't complain to the atk-bridge if the registry
1312 could not notify all its listeners, that's no fault of the
1313 application and thus should not appear to be an error from the
1314 application's perspective.
1316 * cspi/spi_main.c: [fix for bug 85980]
1318 Replaced use of bonobo_object_dup_ref with call to the wrapper
1319 method, csou_dup_ref (); this silences a compiler warning and
1320 provided more portability.
1322 Ping the registry before return, and restart if necessary.
1324 * cspi/bonobo/cspi-bonobo.c:
1326 New internal method.
1328 Fixed this method to return an object reference, as it should have
1331 * cspi/cspi-lowlevel.h:
1332 Added internal definition for cspi_ping() and fixed
1333 return type of cspi_dup_ref().
1336 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1338 * atk-bridge/bridge.c: [fix for bug 85305]
1339 (spi_atk_bridge_register_application):
1340 New method where the initial application registry calls have been
1341 moved; it allows an application to re-register in response to
1342 certain error conditions (such as a registry restart, see below).
1344 Moved some initialization code to the method
1345 spi_atk_bridge_get_registry, below.
1346 (spi_atk_bridge_get_registry):
1347 New, private accessor function for the Accessibility_Registry
1348 instance. If the registry has not been started before, or has
1349 died (as detected by failure of a CORBA exception), it is
1350 restarted before return, and spi_atk_bridge_register_application
1351 is called again to register with the new bridge instance.
1352 (spi_atk_emit_eventv):
1353 Set registry_died on error; use spi_atk_bridge_get_registry () to
1354 access the registry.
1356 * registryd/registry.c:
1357 (impl_accessibility_registry_register_global_event_listener):
1358 Set listener's event_type_quark to etype.minor instead of
1359 etype.major (fix for bug 84856).
1361 * test/event-listener-test.c:
1362 (report_detail_event):
1363 Change the output string so that user/tester can tell that the
1364 'detail listener' was called instead of the 'generic listener'.
1366 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1368 Fixes for bugs 84900, 84908, 84897, 84898.
1373 Revved version to 1.1.0
1374 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1375 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1377 * idl/Accessibility_Registry.idl:
1378 (EventListener::notifyEvent):
1379 Removed 'oneway' directive after extensive consulation with
1380 ORBit2 team and others. This means also that unref() of the event
1381 source can and should be done synchronously after emission, rather
1382 than remotely in the client, after servicing the notify call on
1385 NOTE: This change speeds up listener performance considerably, but
1386 introduces new latency on the application side. We may want to
1387 add an event queue to the atk-bridge.
1389 * atk-bridge/bridge.c:
1390 (spi_atk_bridge_focus_tracker):
1391 Do a local unref() on the event source after emission.
1393 * registryd/registry.c:
1394 (desktop_remove_application):
1395 Do an unref() on the event source after emission.
1396 (desktop_add_application):
1397 Do an unref() on the event source after emission.
1398 (notify_listeners_cb):
1399 When relaying an event, don't automatically add the event source
1400 to the local object cache, just CORBA_dup it instead. Likewise,
1401 if this method reenters, release the ref rather than calling
1403 (impl_registry_notify_event):
1404 No longer call remote unref() on the event source after dispatch.
1406 * libspi/eventlistener.c:
1407 (impl_accessible_event_notify_event):
1408 Removed remote unref ()
1410 * cspi/bonobo/cspi-bonobo-listener.c:
1412 We now call cspi_object_new() instead of cspi_object_add() on
1413 receipt of an event; thus we only have an implicit object ref
1414 while the cspi_event method is being executed. If we need to keep
1415 a reference to the object, the listener must call ref() on the
1416 object. Thus also we don't need to call cspi_object_unref() after
1417 invoking the listener callbacks in this method.
1421 New internal API for creating a new cspi object, without adding it
1422 to the object cache.
1424 Now uses cspi_object_new() to create the cspi object instance.
1426 Now checks to see if the object is in the internal object cache,
1427 and adds it if necessary before incrementing its refcount (note
1428 that new objects are added with a refcount of 1).
1429 (report_leaked_ref):
1430 New method which gives some information on leaked object instances
1431 if leak detection is turned on.
1433 * test/event-listener-test.c:
1434 (timing_test_event):
1435 New method, used for testing event delivery timing for special
1436 events of type "object:test". It reports elapsed time and
1437 events/sec every 500 events.
1439 Added a new listener, 'test listener', to check timing of event
1440 receipt as noted above.
1442 Added some timing output here also, reports elapsed time every 100
1445 * test/stress-test.c:
1446 Emit events of type "object:test", for use with "event-listener-test".
1448 * test/test-simple.c:
1449 (global_listener_cb):
1450 Call Accessible_ref() on the event source before calling
1451 validate_accessible, since the validation process does pointer
1452 comparisons on the event source, meaning that the event source
1453 needs to be added to the local object cache first. Any use of
1454 such pointer comparisons between Accessible objects requires that
1455 the caller hold an explicit reference to those objects.
1456 We also must therefore call Accessible_unref() when leaving this method.
1458 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1460 * registryd/deviceeventcontroller.c:
1461 (spi_controller_update_key_grabs):
1462 Fix for #84735, subsequent keygrab listeners not informed of
1463 registration failure.
1466 (spi_base_construct):
1467 Add an assertion on construct, to make sure the GObject passed in
1468 is really a GObject.
1470 Explicitly initialize object->gobj pointer to NULL;
1472 * cspi/bonobo/cspi-bonobo-listener.c:
1473 (cspi_object_add_ref):
1474 New method, can specify whether to dup-ref a bonobo object passed
1475 in if it's newly added to the object cache.
1477 Now calls cspi_object_add_ref with second param of "FALSE". This
1478 prevents us from doing a pointless dup-ref followed by
1479 release-unref for all those cases where the object is already in
1480 our object cache (fix for #85205).
1482 * atk-bridge/bridge.c:
1483 (spi_atk_bridge_idle_init):
1484 Removed this method, we don't need to initialize in an idle
1487 Changed to call spi_atk_register_event_listeners directly, not via an
1488 idle handler. (fix for #81139)
1489 (gnome_accessibility_module_shutdown):
1490 Removed conditional around deregistration of listeners, since we
1491 don't use the idle handler and thus have always registered when
1493 (spi_init_keystroke_from_atk_key_event):
1494 Changed references to Accessibility_KEY_PRESSED to
1495 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1497 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1499 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1504 * test/stress-test.c:
1507 (may have been an incomplete commit yesterday?)
1509 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1512 Added target for new stress-test.
1514 * test/stress-test.c:
1515 New test, sends 1000 focus notifies in quick succession.
1517 * test/key-listener-test.c:
1518 Now we report whether a keylistener registration
1519 request succeeded or failed.
1521 * test/event-listener-test.c:
1522 Uncommented some listeners which are now implemented.
1525 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1527 * registryd/deviceeventcontroller.c:
1528 (spi_controller_update_key_grabs):
1529 Fix for #82509, lack of failure notification when
1530 ALL_WINDOWS keygrabs fail due to XGrabKey
1531 failure: we synchronize the server when
1532 registering a passive grab, to make sure we get the
1533 error message before the call returns.
1535 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1537 * test/test-simple.c:
1539 Removed #ifdef KEY_IMPL_WORKS guards.
1540 (test_keylisteners):
1541 Removed #ifdef KEY_IMPL_WORKS guards.
1542 Fixed bug which was causing a hang waiting for a
1543 "press" event (which was already overwritten by a "release"
1544 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1546 Added code to set globals 'key_press_received' and
1547 'key_release_received'.
1550 Added section "1.1 API Proposed Additions" which
1551 lists API additions desired for at-spi-1.1 (only one so far).
1552 Updated TODO list a little.
1554 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1556 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1559 * configure.in: Revved to 1.0.0.
1561 * idl/Accessibility_Registry.idl:
1562 (registerKeystrokeListener):
1563 Added boolean return value.
1565 * registryd/registry.c:
1566 (notify_listeners_cb): Minor fix to debug output.
1568 * registryd/Accessibility_Registry.server.in.in:
1569 Revved version number in OAFIID to 1.0.
1571 * registryd/registryd.c:
1573 Use new OAFIID version.
1575 * cspi/bonobo/cspi-bonobo.c:
1577 Use new OAFIID version.
1583 * atk-bridge/bridge.c:
1585 Use new OAFIID version.
1587 * registryd/deviceeventcontroller.c:
1588 (impl_register_keystroke_listener):
1589 Added CORBA_boolean return value.
1590 (spi_controller_register_device_listener):
1591 Added gboolean return value.
1592 (spi_controller_register_global_keygrabs):
1593 Added gboolean return value.
1594 (spi_key_set_contains_key):
1595 Added implementation for many more control keys,
1596 for instance F1-F12, arrow keys, End, Home, Page_Up,
1598 [TODO: some still not implemented].
1600 * text/screen-review-test.c:
1601 (text_chunk_pad_string):
1602 New function: it provides mapping between coordinate
1603 positions of text chunks and character positions in the
1604 screen-review-line output string.
1605 (text_chunk_to_string):
1606 New function, calls text_chunk_pad_string with various
1607 pad/delimiter characters. Pushbuttons are delimited with
1608 square brackets, Frames with vertical 'pipe' lines, and
1609 other text with double quotes.
1610 (text_chunk_list_to_string):
1611 Calls new function text_chunk_to_string.
1612 (toplevel_composite):
1613 New function to composite layers CANVAS through
1614 POPUP in each toplevel (other layers are composited
1615 across toplevels, i.e. BACKGROUND and OVERLAY).
1616 (review_buffer_composite):
1617 Revise to use new methods.
1623 2002-05-31 Laszlo Peter <laca@sun.com>
1625 * configure.in: add the Xtst libdir to the runpath on Solaris,
1626 since it's not in the default library search path.
1628 2002-05-29 jacob berkman <jacob@ximian.com>
1630 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1632 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1634 * test/screen-review-test.c:
1635 (text_chunk_pad_string):
1636 Added method, which pads the string according to the
1637 text bounds of the chunk. It also takes a 3-character
1638 string as a param which indicates the characters to be
1639 used for start, padding, and end delimitation of the chunk.
1640 (text_chunk_to_string):
1641 Changed to use text_chunk_pad_string.
1643 * configure.in: Fixed bug in AC_OUTPUT that was
1644 causing path substitution in Accessibility_Registry.server
1647 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1649 * text/screen-review-test.c:
1650 (guess_string_clip):
1651 New method which attempts a best-guess at clipping
1652 text from components (like Java labels) which don't
1653 actually implement AccessibleText. This inaccurate
1654 clip is based on the assumption that the label is
1655 justified left-and-right, and monospaced.
1656 (text_chunk_get_clipped_string):
1657 We now call guess_string_clip() for text-containing
1658 components that don't implement AccessibleText.
1660 * test/screen-review-test.c:
1661 (review_buffer_get_text_chunk):
1662 We now pull "name" from labels if they do not implement
1663 AccessibleText (i.e. for Java labels).
1664 (get_screen_review_line_at):
1665 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1668 Replaceded AC_OUTPUT target
1669 registryd/Accessibility_Registry.server with
1670 registryd/Accessibility_Registry.server.in.
1672 * registryd/Accessibility_Registry.server.in:
1673 Removed (this is now a Makefile target).
1675 * registryd/Accessibility_Registry.server.in.in:
1676 Added (source for target above). We now use $(libexecdir) as
1677 prefix for the executable at-spi-registryd.
1679 * registry/Makefile.am:
1680 Now install at-spi-registryd into $(libexecdir), and build .server
1681 file with path (see above).
1683 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1685 * test/screen-review-test.c:
1686 (text_chunk_get_clipped_string):
1687 We now check to see if words fall within clip bounds
1688 before resorting to character-by-character clip bounds testing.
1690 * TODO: Added a section for "2.2 Proposed API Additions".
1692 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1694 * test/screen-review-test.c:
1696 Added a screen review benchmarking and test program to test
1699 * cspi/spi_accessible.c:
1701 Made some of the debug strings passed to cspi_check_ev a
1702 little more specific.
1704 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1706 * test/screen-review-test.c: Fix crashes in debug statements
1708 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1710 * test/screen-review-test.c: Added this file.
1712 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1714 * atk-bridge/bridge.c: changed "object:state-change" to
1715 "object:state-changed" to match docs.
1717 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1719 * atk-bridge/bridge.c: Hooked up state-change event details.
1721 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1723 * registryd/registry.c:
1724 Fixed quarking bug in event string parsing; now events with
1725 detail parameters get matched correctly to listeners.
1728 * util/idl/Magnifier.idl: remove.
1730 * util/*.[ch]: Remove.
1731 Magnification utilities and IDL are now in module gnome-mag.
1733 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1735 * registryd/deviceeventcontroller.c:
1736 Fixed bug in grab key conversion which was causing keycode grabs
1737 to be converted to AnyKey grabs.
1740 updated NEWS file to reflect recent spin-off of gnome-mag.
1742 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1744 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1745 busted AccessibleStateSet_compare. Removed redundant casts.
1747 * cspi/spi-action.c: Removed redundant casts.
1749 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1751 * cspi/spi_component.c: Fixed typos and casting error.
1753 * cspi/spi_editabletext.c: Removed redundant casts.
1755 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1757 * cspi/spi_hypertext.c: Eliminated redundant casts.
1759 * cspi/spi_image.c: Eliminated redundant casts.
1761 * cspi/spi_registry.c: Eliminated redundant casts.
1762 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1763 * cspi/spi_selection.c: Removed redundant casts.
1764 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1765 handling. Screen geometry and text offsets were being returned as 0
1766 on error which is technically valid-- changed these to return -1.
1767 Added marshaller for text boundary types to fix bug with boundary
1768 types being passed incorrectly to atk.
1770 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1773 * cspi/spi_registry.c:
1774 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1775 which was uncovered by the recent key changes.
1777 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1779 * test/event-listener-test.c:
1781 Added new test, "event-listener-test";
1782 this code does two things; it benchmarks traversal time
1783 for the accessible hierarchy for the first running accessible
1784 app, and it connects listeners for all supported event types.
1785 It is thus useful as an example event listener and for
1786 diagnostics/debugging of event generation.
1788 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1791 Removed unnecessary dependency on libutil.
1794 Revved micro version: 0.13.1
1796 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1799 Removed util/Makefile from targets.
1802 Removed util subdir from SUBDIRS (temporarily,
1803 pending removal of magnifier-only code
1807 #ifdef-ed out magnifier dependencies, since
1808 magnifier IDL, headers, and binary now live in
1809 module gnome-mag and we don't want at-spi to depend
1810 on gnome-mag. A magnifier demo which can run alongside
1811 simple-at is forthcoming in the gnome-mag module.
1813 NOTE: Split magnifier binary, IDL, and magnification
1814 activation code from at-spi into module gnome-mag.
1816 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1818 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1819 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1821 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1824 Revved to version 0.13.0
1826 * idl/Accessibility_Registry.idl:
1827 Changed definition of KeySet from sequence of longs to sequence of
1828 KeyDefinitions, and added KeyDefinition struct.
1829 Required for fix to bug 80616.
1831 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1832 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1833 to use new definition (see above).
1835 * registryd/deviceeventcontroller.c: handle_keygrab(),
1836 spi_keyset_contains_key():
1837 Changed to make use of new struct; this allows matching based on
1838 string key-name, for instance "Tab". This also allows matching of
1839 composed characters, non-alphanumeric characters in a way that
1840 doesn't involve dependencies on X keysym codes directly, etc.
1842 * test/key-listener-test.c:
1843 Added test for Alt-Tab key using "string" specification of keyset,
1844 and modified one of the tests to use a keycode-based keyset.
1845 Thus this test both tests and demonstrates the creation and use of
1846 keysets of three forms: specified via keycode array,
1847 keysym array, and string array. (The string case only contains a
1848 single string, i.e. a string array of length 1).
1851 Turned on PRINT_TREE option by default. Also fixed a
1852 string-freeing bug in the PRINT_TREE code.
1853 Added a listener to window:minimize events.
1855 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1857 * atk-bridge/bridge.c:
1858 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1859 for window:activate and window:deactiveate
1860 (atk_bridge_property_event_listener atk_bridge_signal_listener
1861 atk_bridge_window_event_listener) Tidy debug code
1863 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1865 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1866 Fixed handling for NULL return value from ATK.
1868 * libspi/action.c libspi/component.c libspi/editabletext.
1869 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1870 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1871 Removed redundant casts.
1873 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1874 Fixed off by one bug.
1876 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1877 function not present in idl)
1879 2002-05-02 jacob berkman <jacob@ximian.com>
1881 * atk-bridge/Makefile.am: make atk-bridge a real module
1883 2002-04-26 Radek Doulik <rodo@ximian.com>
1885 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1886 atk_state_types table
1888 2002-04-22 jacob berkman <jacob@ximian.com>
1891 * libspi/Makefile.am: add deps on the built files to help
1892 automake, and don't version the ORBit typelib
1894 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1896 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1897 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1898 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1899 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1900 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1901 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1902 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1903 libspi/accessible.h libspi/accessible.h libspi/base.h
1904 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1905 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1906 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1907 libspi/spi-private.h libspi/statetset.h libspi/table.h
1908 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1909 util/mag_client.h util/mag_control.c util/mag_image.c
1910 util/mag_image.h util/magnifier.c util/magnifier.h:
1911 Add missing file headers; standardize existing ones
1913 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1915 * atk-bridge/bridge.c: Added window event support.
1917 2002-04-18 Michael Meeks <michael@ximian.com>
1919 * libspi/relation.c (impl_getNTargets): impl.
1920 (impl_getTarget): impl.
1922 * libspi/Makefile.am: fix stateset install.
1924 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1927 Started putting useful info in this file.
1929 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1931 * atk-bridge/bridge.c:
1932 Propagate state-changed notifications to ATs
1934 * cspi/spi_registry.c: update docs to reflect actual behavior of
1935 state-change events.
1937 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1940 Incremented version to 0.12.1
1942 * util/mag_client.h:
1943 Add missing declaration for magnifier_exit,
1944 used by mag_control.c - Forte compiler didn't like
1945 the implicit redeclaration of the function :-(
1948 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1951 Revved version to 0.12 due to API change (see below).
1953 * cspi/spi-roletypes.h:
1954 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1955 definition from the inline docs, and added docs
1956 for SPI_ROLE_LAST_DEFINED.
1959 * cspi/spi_streamablecontent.c:
1960 Added missing seek_type parameter to
1961 (so far unused) method,
1962 AccessibleStreamableContent_seek().
1963 [ RT approval JodyG. ]
1966 Fixed docs for SPI_createAccessibleKeystrokeListener.
1968 * cspi/spi_registry.c:
1969 Fixed docs for SPI_KEYSET_ALL_KEYS.
1971 * docs/reference/cspi/at-spi-cspi-sections.txt:
1972 Added a number of missing APIs to SECTIONS.
1974 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1976 * registryd/Makefile.am:
1978 * cspi/bonobo/Makefile.am:
1979 Add $(X_LIBS) to makefiles.
1981 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1984 Revved version to 0.11.
1986 * libspi/component.c:
1987 Added implementation for grabFocus.
1989 * idl/Accessibility_Component.idl
1990 (Accessibility_Component_grabFocus):
1991 Made this method return boolean to indicate success or failure, to
1992 be consistent with cspi and the corresponding ATK method.
1994 * idl/Accessibility_Selection.idl
1995 (Accessibility_Selection_selectAll) :
1996 Made these methods return boolean to indicate success or
1997 failure, to be consistent with cspi and the corresponding ATK methods.
1999 * idl/Accessibility_EditableText.idl
2000 (Accessibility_EditableText_setTextContents,
2001 Accessibility_EditableText_insertText,
2002 Accessibility_EditableText_cutText,
2003 Accessibility_EditableText_deleteText,
2004 Accessibility_EditableText_pasteText):
2005 Made these methods return boolean to indicate
2008 * cspi/spi_editabletext.c:
2009 Made these methods return booleans.
2011 * libspi/selection.c:
2012 * libspi/component.c:
2013 * libspi/editabletext.c:
2014 Connected the boolean returns from ATK
2015 to the server-side code referenced above.
2017 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2019 * idl/Accessibility_Table.idl: Added missing methods,
2020 Accessibility_Table_addRowSelection,
2021 Accessibility_Table_addColumnSelection,
2022 Accessibility_Table_removeRowSelection,
2023 Accessibility_Table_removeColumnSelection.
2026 Added C wrappers for above IDL:
2027 AccessibleTable_addRowSelection,
2028 AccessibleTable_addColumnSelection,
2029 AccessibleTable_removeRowSelection,
2030 AccessibleTable_removeColumnSelection.
2033 Added server-side implementation code for IDL above, connecting
2034 to pre-existing ATK api.
2036 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2038 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2040 * libspi/accessible.c: Added implementation fo
2041 Accessibility_Accessible_get_state.
2043 * libspi/libspi.h: Added stateset.h to the list of includes.
2045 * libspi/stateset.c: Fixed broken implementation.
2047 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2050 Added implementation code for Accessibility_Magnifier_exit ().
2052 * util/mag_control.c:
2053 Added test code for above method; you can
2054 now kill an existing magnifier via
2055 ./mag_control q, from the util directory.
2057 * test/key-listener-test.c:
2059 Added a new test, for our key listener API.
2061 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2063 * test/app.c, test/keysynth-demo.c:
2065 Replace use of snprintf with g_snprintf.
2066 (fix for bugzilla 78249)
2068 2002-03-27 Michael Meeks <michael@ximian.com>
2072 * util/Makefile.am (INCLUDES): fix.
2073 (DONT_DIST_SOURCE): don't distribute the
2076 * libspi/Makefile.am (dist-hook): ditto.
2078 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2080 * libspi/hypertext.c:
2081 Fix warnings when yelp is used with atk-bridge
2083 2002-03-21 Michael Meeks <michael@ximian.com>
2085 * libspi/application.c (spi_application_new):
2086 use spi_accessible_construct so we use the AtkObject
2089 2002-03-19 Michael Meeks <michael@ximian.com>
2091 * registryd/registry.c (desktop_remove_application),
2092 (desktop_add_application): clean coding style.
2094 * registryd/desktop.c (spi_desktop_remove_application),
2095 (spi_desktop_add_application): kill re-enterency hazards.
2096 (spi_desktop_dispose): remove bogus redundant cast
2097 obscuring bug; fix bug too.
2098 (spi_desktop_init): make the desktop object immortal.
2100 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2103 Added a #define-guarded tree-traversal step
2104 when enumerating the apps (diagnostic tool).
2106 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2108 * idl/Accessibility_Role.idl:
2109 Added ROLE_DRAWING_AREA which seemed to be missing from the
2112 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2114 * cspi/spi-roletypes.h cspi/spi_accessible.c
2115 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2118 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2119 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2120 AT when applications are added and removed from the desktop. This
2121 reverts the previous broken implementation using the backing
2122 AtkObject for the SpiDesktop.
2124 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2126 * registryd/desktop.c: emit the "children-changed::add" and
2127 "children-changed::remove" signals on the backing ATK object for
2128 the desktop so AT can tell when applications are started and shut
2131 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2133 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2135 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2137 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2139 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2141 * cspi/state-types.h: synched with IDL and ATK
2143 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2145 * libspi/accessible.c
2146 (impl_accessibility_accessible_get_child_at_index):
2147 Change return value for g_return_if_fail ()
2148 to CORBA_OBJECT_NIL instead of "0" (!)
2150 * registryd/Makefile.am:
2151 * registryd/Accessibility_Register.server.in:
2152 Changed name of executable, "registryd",
2153 to something more informative:
2156 2002-03-13 Michael Meeks <michael@ximian.com>
2158 * atk-bridge/bridge.c (atk_bridge_init): don't register
2159 if we're in a bonobo-component, rather than a bonobo app.
2161 2002-03-13 Michael Meeks <michael@ximian.com>
2163 * atk-bridge/bridge.c (gtk_module_init): split
2164 out body to (atk_bridge_init): here, since otherwise
2165 we get symbol conflicts and oddness when invoked
2166 from (gnome_accessibility_module_init): here (upd.)
2168 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2171 New file. Explicitly allow "build sheriff" putbacks provided
2172 they are tested on Solaris.
2174 * docs/reference/cspi/Makefile.am:
2175 Added '-' to the "cp" command for index.sgml.
2176 ("patch by thomasvs, soon coming to a GUADEC near you")
2179 Incremented version number (0.9.0) for new release.
2180 Changed macro that checks for popt, to better detect
2181 obsolete versions of popt.
2184 Added X_LIBS to AC_SUBST, for applications
2185 that call Xlib API directly.
2188 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2191 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2194 Fix regression caused by hard-coding major
2195 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2198 * test/test-simple.c (test_editable_text),
2199 (test_test): revert previous change (error was
2200 a regression in gail which is now fixed).
2202 2002-03-04 Michael Meeks <michael@ximian.com>
2204 * test/test-simple.c (test_editable_text),
2205 (test_text): pass G_MAXINT instead of '-1' for
2206 whole string - is this a good thing !?
2208 * cspi/spi_accessible.c
2209 (Accessible_getRelationSet): fix crasher bug
2210 overwriting the end of the array.
2212 * test/test-simple.c (validate_accessible): free,
2213 not g_free returned relation set.
2215 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2217 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2218 implemented stateset support
2220 * idl/Accessibility_State.idl: Made necessary changes to
2221 the IDL to support state sets.
2223 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2225 * registryd/deviceeventcontroller.c:
2226 Added implementation for generateMouseEvent.
2228 * cspi/spi_registry.c:
2229 Connected new implementation for generateMouseEvent
2232 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2235 Incremented revision (but no change in public API
2236 outside of 'utils', which are not installed public yet.)
2238 * libspi/component.c:
2239 Changed to use atk_component API for layers and
2240 mdi_zorder, instead of deprecated atk_object API.
2242 Magnification Utility Enhancements:
2245 Added implementation of createZoomRegion, clearAllZoomRegions,
2246 resizeZoomRegion. Added new commandline argument
2247 "--no-initial-region". Note that clearAllZoomRegions doesn't
2248 unmap the old '0' region as it should (yet), and the other
2249 methods only work when creating/resizing a single region,
2250 which is "region 0".
2251 (Code for multiple region support will be added later.)
2254 Now we raise the magnifier window each time it's refreshed;
2255 this will help keep it on top.
2257 * util/mag_client.h:
2258 Added simple wrappers for above, used by mag_control.
2259 For general use, it's recommended to use the bonobo magnifier
2260 control API directly instead of using these wrappers.
2263 Moved ZoomRegionData from magnifier.c to this file.
2265 * util/mag_control.c:
2266 Added some code to exercise new IDL implementations.
2268 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2270 * libspi/text.c: Provide implementation for getAttributes.
2272 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2275 Incremented revision.
2277 * test/test-simple.c:
2278 Replaced use of deprecated g_main_iteration with
2279 g_main_context_iteration.
2281 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2284 Incremented revision for desktop alpha 2.
2286 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2288 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2291 * test/simple-at.c: include netinet/in.h.
2293 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2295 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2296 use NULL, not CORBA_OBJECT_NIL.
2298 * libspi/accessible.c:
2299 (impl_accessibility_accessible_get_relation_set):
2300 allocate the sequence correctly.
2302 * libspi/remoteobject.h: kill spi_remote_object_new.
2304 * test/test-simple.c: (validate_accessible): add code
2305 to test relation sets, now all we need is to figure
2306 out how to excercise this code path :/
2308 2002-01-18 Michael Meeks <michael@ximian.com>
2310 * test/test-simple.c
2311 (key_listener_cb): consume the key.
2312 (test_keylisteners): update.
2313 (main): wait for any pending unrefs on events.
2315 * registryd/deviceeventcontroller.c
2316 (spi_controller_update_key_grabs): only re-issue the
2317 grab on a key release.
2318 (spi_device_event_controller_forward_key_event):
2319 refresh the keygrabs before we notify the listeners,
2320 to reduce the X ungrab / re-grab race.
2321 (spi_controller_register_with_devices): remove
2322 XSelectInput - we do that with the gdk_window_ call.
2323 (_spi_controller_device_error_handler): return a value.
2324 s/GDK_DISPLAY/spi_get_display/
2326 2002-01-17 Michael Meeks <michael@ximian.com>
2328 * registryd/deviceeventcontroller.c
2329 (_deregister_keygrab): don't blow out the later
2332 * test/test-simple.c (test_keylisteners): do a
2333 more intelligent validation.
2335 2002-01-14 Michael Meeks <michael@ximian.com>
2337 * atk-bridge/bridge.c
2338 (gnome_accessibility_module_init),
2339 (gnome_accessibility_module_shutdown): impl.
2340 (gtk_module_init): protect vs. double inits.
2341 (add_signal_listener): impl.
2342 (spi_atk_bridge_state_event_listener): kill
2343 (deregister_application): split out of
2344 (spi_atk_bridge_exit_func): here.
2346 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2349 Added caret tracking when using magnifier, and
2350 now use text bounds for focus tracking of text elements, rather than
2351 the component bounds - this is helpful for short text fields in long
2352 table cells, at high magnification.
2354 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2356 * registryd/deviceeventcontroller.c:
2357 Regression fix for keylistener de-registration; global keygrabs
2358 were not being released when deregisterKeystrokeListener was
2359 called in cspi, since
2360 Accessibility_DeviceEventController_deregisterKeystrokeListener
2361 was called with a zero-length keyset. That is because the cspi
2362 method, SPI_deregisterKeystrokeListener, does not take a keyset
2363 parameter but instead should remove all the key grabs held be a
2365 The code in impl_deregister_keystroke_listener was changed to copy
2366 the keylist from the listener instance previously registered with
2367 the DeviceEventController before releasing the grabs.
2369 * registryd/registry.c:
2370 * registryd/deviceeventcontroller.c:
2371 * libspi/spi-private.h:
2373 Changed spelling of "re-enterant" to "re-entrant" globally.
2375 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2377 * test/test-simple.c:
2378 Changed key listeners test - the test was slightly mis-using the
2379 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2380 It now uses '=' as the key event listened to and generated,
2381 relying on a keysym match rather than assuming that keycode 33
2382 is always equal to keysym '!'.
2384 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2387 Changed simple-at to use a specific keyset, rather than
2388 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2389 manager, desktop, etc.
2391 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2393 * registryd/deviceeventcontroller.c:
2394 Replaced standard X error handler with a special handler that
2395 is non-fatal for failed keygrabs. This works around
2396 problems with keygrab clashes sometimes observed on
2398 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2399 mouse handling code as yet).
2401 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2404 Incremented revision for desktop alpha release.
2407 Fixed a couple of the more glaring errors (still not
2410 2002-01-11 Michael Meeks <michael@ximian.com>
2412 * registryd/deviceeventcontroller.c
2413 (spi_device_event_controller_forward_key_event): kill
2414 XUngrabKey / XKeyGrab race.
2415 (spi_controller_grab_keyboard): rename to
2416 (spi_controller_update_key_grabs): this, and deal
2417 with incremental adding / removing grabs more
2419 (_register_keygrab): ensure we're not pending a remove.
2420 (spi_grab_mask_free): impl.
2421 (spi_controller_register_global_keygrabs): split out
2423 (handle_keygrab): impl.
2424 (_deregister_keygrab): impl.
2425 (spi_controller_deregister_global_keygrabs): impl.
2426 (spi_controller_update_key_grabs): re-issue the grab if
2427 we just recieved a notification.
2429 * test/test-simple.c (key_listener_cb): remove debug.
2431 * registryd/deviceeventcontroller.c
2432 (spi_controller_register_device_listener): after
2433 registering a global keygrab, actualy register it !
2434 don't wait for a timeout; doh !
2436 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2437 to make it more readable / manipulable.
2438 s/grabmask/grab_mask/ s/refcount/ref_count/
2439 s/keyval/key_val/ s/modmask/mod_mask
2441 2002-01-08 Michael Meeks <michael@ximian.com>
2443 * registryd/deviceeventcontroller.c
2444 (spi_controller_register_with_devices): use gdk calls to
2446 (global_filter_fn): implement the filter.
2447 (spi_device_event_controller_check_key_event): rename to
2448 (spi_device_event_controller_forward_key_event): this & upd.
2449 (spi_get_display): replace with GDK_DISPLAY.
2451 * registryd/deviceeventcontroller.c
2452 (spi_controller_deregister_device_listener): unroll into
2453 (impl_deregister_keystroke_listener): here to simplify.
2454 (spi_controller_register_global_keygrabs): split cut and
2455 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2456 (spi_controller_deregister_device_listener): remove.
2457 (impl_register_mouse_listener): remove, no mouse listener
2458 support in at-spi-1.0
2460 * registryd/registry.c
2461 (_device_event_controller_hook): kill.
2462 (spi_registry_init): upd.
2464 * registryd/deviceeventcontroller.c
2465 (spi_device_event_controller_class_init): upd.
2466 (spi_check_key_event): merge into.
2467 (spi_device_event_controller_check_key_event):
2468 here and kill strange static ev init, don't leak
2469 the x_event - nor dynamicaly allocate it.
2471 * registryd/registry-main.c (main): re-direct
2472 timeout to remove strange vtable mess.
2474 * registryd/deviceeventcontroller.c
2475 (remove_listener_cb): impl.
2476 (spi_controller_deregister_device_listener):
2477 fix re-enterancy hazard.
2479 2002-01-07 Michael Meeks <michael@ximian.com>
2481 * registryd/deviceeventcontroller.c
2482 (spi_device_event_controller_new): upd.
2483 (impl_notify_listeners_sync): upd. debug.
2484 (spi_notify_keylisteners): fix re-enterancy hazards,
2485 prettify, remove O(n*n) iteration.
2486 (spi_controller_grab_keyboard): fix iteration.
2487 (spi_check_key_event): re-format to suit coding style.
2488 Clean all the warnings - we're warning free.
2490 * registryd/deviceeventcontroller.h:
2491 * registryd/registry.h: make mutualy referential with
2492 typesafe forward references instead of (!) void pointer
2495 2002-01-11 Michael Meeks <michael@ximian.com>
2497 * cspi/spi_accessible.c (role_names): add a role name
2498 to sync this array with the enum; and make the regression
2501 2002-01-10 Michael Meeks <michael@ximian.com>
2503 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2504 allow expansion of enumeration & kill warning.
2506 * test/test-simple.c (key_listener_cb): impl.
2507 (test_keylisteners): impl.
2509 * cspi/spi-listener.h: make listener signatures const
2510 on the provided (const) events.
2512 * test/keysynth-demo.c: upd. to const events.
2514 * test/simple-at.c: ditto.
2516 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2519 Rev the version to 0.5 (the previous tarball was named 0.4,
2520 even though the micro number was 3), so we need to rev upwards
2521 again for beta2/"desktop-alpha"
2524 Checked in a demo script, which requires editing before use!
2525 Proceed with caution.
2528 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2530 * cspi/spi_accessible.c:
2531 Add a couple of missing enum initializations, and fix some enum
2534 * cspi/spi_registry.c:
2535 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2537 * docs/reference/cspi/at-spi-cspi-sections.txt:
2538 Remove/fix a couple of broken document references.
2541 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2542 as Alt-Control to listen for commands, since on some systems
2543 Control-Alt may already be grabbed.
2545 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2548 Update version number to 0.4 for Beta2.
2550 * libspi/accessible.c, libspi/accessible.h:
2551 Expose spi_accessible_construct, to enable libgail-gnome
2552 construction from spi_accessible subtype.
2554 * utils/magnifier.c:
2555 Workaround for bug in some non-gnome-compliant window managers
2556 which made magnifier resize improperly.
2558 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2560 * libspi/accessible.c: (spi_accessible_new) :
2561 Move the test for SPI_IS_REMOTE_OBJECT to
2562 spi_accessible_new_return, fixing a bug and compile time warning.
2564 2002-01-08 Michael Meeks <michael@ximian.com>
2566 * registryd/registry.c (parse_event_type): remove strndup.
2568 * libspi/Makefile.am (libspi_la_SOURCES): remove
2569 sources already included in the headers section.
2571 * libspi/util.c: add.
2573 * libspi/spi-private.h: add.
2575 * registryd/registry.c: update to moved list iterators.
2577 2002-01-05 Michael Meeks <michael@ximian.com>
2579 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2581 * test/test-simple.c (main): ditto.
2583 2002-01-04 Michael Meeks <michael@ximian.com>
2585 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2586 redundant construct.
2588 * registryd/registry.c
2589 (get_listener_list): impl.
2590 (impl_accessibility_registry_register_global_event_listener):
2591 re-impl. to simplify using ~, remove dodgy const cast off.
2592 (parse_event_type): constify.
2593 (impl_accessibility_registry_deregister_global_event_listener_all):
2594 re-write, more efficiency and simplicity, kill re-enterancy
2596 (compare_listener_corbaref, compare_corba_objects),
2597 (compare_listener_quarks): define out.
2598 (impl_accessibility_registry_deregister_global_event_listener):
2599 re-write for effiency, and nail re-enterancy hazard.
2600 (impl_accessibility_registry_get_desktop_list): impl.
2601 (re_enterant_list_delete_link): impl.
2602 (re_enterant_list_foreach): impl.
2603 (remove_listener_cb): impl.
2604 (_registry_notify_listeners): kill.
2605 (notify_listeners_cb): impl.
2607 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2608 (SPI_getDesktopList): impl.
2610 * test/test-simple.c (test_desktop): test the methods.
2612 2002-01-03 Michael Meeks <michael@ximian.com>
2614 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2615 keystrings since we free them
2616 (SPI_freeAccessibleKeySet): in here.
2618 * libspi/accessible.c (spi_accessible_new): kill warning,
2619 wonder what is going on with the constructor here.
2621 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2623 * libspi/accessible.c (spi_accessible_new ()) :
2624 Added check to see if AtkObject is an SpiRemoteObject before
2625 creating an SpiAccessible.
2627 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2629 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2630 Enable keygrabs using the Control modifier, now that they are
2631 working properly (they were previously disabled).
2634 Change the command keygrab for this demo to "Control+Alt", so as
2635 to conflict with fewer other key commands on the system; this
2636 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2638 Removed a pointlessly-chatty keylistener for unshifted keys
2639 (shifted keys are still reported).
2641 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2643 * libspi/remoteobject.h:
2644 * libspi/remoteobject.c:
2645 Added definitions for special AtkObject subtype, required for
2646 support of remote components (specifically, used by BonoboControl
2647 accessibility implementation).
2649 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2651 * cspi/spi.h: synched relation types with ATK
2653 * cspi/spi_accessible.c: Added implementations of
2654 AcccessibleRelation_* methods
2656 * idl/Accessibility_Relation.idl: added getRelationTypeName
2657 method. Synched known relation types with ATK. Allowed for
2658 relation type extension with the RELATION_EXTENDED type.
2660 * libspi/relation.c: Provided implementations for
2661 AccessibleRelation methods.
2663 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2665 API tweaks for today's API 'freeze'.
2668 Added placeholder functions to allow future compatible expansion
2669 of the IDL interfaces.
2671 * idl/Accessibility_Registry.idl:
2672 Changed generateKeyEvent to generateKeyboardEvent. Changed
2673 signature of this method to accept an optional keystring in
2674 parameter (for complex text input synthesis) and changed use of
2675 simple 'boolean' parameter in registerKeystrokeListener to a
2676 struct, EventListenerMode.
2678 * cspi/spi_accessible.c:
2680 * cspi/spi_streamablecontent.c:
2681 Added references to AccessibleStreamableContent interface, and
2682 definition and implementation of AccessibleStreamableContent
2685 * cspi/spi_registry.c:
2687 Changed generateKeyEvent API to generateKeyboardEvent,
2688 taking a new (optional) keystring parameter to support complex
2693 Renamed directory (to better reflect its actual purpose, bridging
2694 from at-spi to ATK). The .so module is also now named
2697 * idl/Accessibility_Hypertext.idl:
2698 * libspi/accessible.c:
2699 * libspi/hypertext.h:
2700 * libspi/hypertext.c:
2701 Changed Accessibility_Hypertext to *not* derive from
2704 * cspi/spi_registry.c:
2705 Added list of legal event type names for 'window' events, which
2706 completes the registry event API.
2708 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2710 * at-bridge/bridge.c: Added registration for separate
2711 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2712 signals. If either of the first two parameters to the generic
2713 bridge signal handler are ints, they are passed on as event
2714 details. This allows an AT to determine what text was inserted.
2716 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2718 * registryd/deviceeventcontroller.c:
2719 Fixed regressions in generateKeyEvent caused by the removal of
2720 gdk_init from registryd; we now use pure X calls to connect to the
2721 display, which makes sense because deviceeventcontroller already
2722 uses a fair bit of X API (should eventually be migrated to a
2723 'portability layer').
2725 * registryd/desktop.c:
2726 Fixed minor regression in spi_desktop_init, changed the way the
2727 desktop name is being set to work with new spi_base API
2728 (gobject-based, rather than AtkObject-based).
2730 * registryd/Makefile.am:
2731 Minor revision of makefile to use XTST_LIBS variable rather than
2732 hard-wiring the Xtst LD_ADD element.
2734 * test/keysynth-demo.c:
2735 Tweaked an output message; added initialization of the
2736 'keystrings' member of the "switch listener" key_set.
2738 * libspi/relation.c:
2739 Squashed compile-time warning.
2741 * libspi/accessible.c:
2742 Cosmetic and formatting fixes, renamed a static method.
2744 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2746 * libspi/accessible.c
2748 * libspi/application.c
2751 * libspi/component.c
2752 * libspi/editabletext.c
2753 * libspi/hyperlink.c
2754 * libspi/hypertext.c
2756 * libspi/selection.c
2760 * registryd/desktop.c:
2761 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2763 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2765 * idl/Accessibility_Registry.idl:
2766 Added boolean member 'is_text' to DeviceEvent. This is for the
2767 use of key events, and helps prevent ambiguity between composed
2768 key strings and keysym names, since both may potentially be
2769 returned in the 'event_string' member.
2771 * at-bridge/bridge.c:
2772 * registryd/deviceeventcontroller.c:
2773 Use the 'is_text' member when notifying device event listeners.
2774 Knon issue: composed characters are not dealt with correctly by
2775 the global key listener implementation yet.
2777 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2779 * at-bridge/bridge.c:
2780 Namespaced local static methods to spi_atk_bridge_* where
2781 previously named bridge_*, and spi_* elsewhere.
2783 * at-bridge/bridge.c:
2784 * cspi/bonobo/cspi-bonobo-listener.c:
2785 Added demarshalling/conversion for string member of
2786 Accessibility_DeviceEvent to AccessibleKeystroke.
2788 * registryd/deviceeventcontroller.c:
2789 Added code to fill the Accessibility_DeviceEvent key string value
2790 member for global key events (i.e. from XGrabKey), to match
2791 behavior of Accessibility_DeviceEvent from the toolkit key events
2792 from the bridge. Fixed timestamp in global key event notifications.
2795 Added printout of key event's string value to
2796 report_ordinary_key_event, for demo/debugging purposes.
2798 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2800 * idl/Accessibility_Registry.idl:
2801 Removed Accessibility_KeyStroke structure in favor of generic
2802 Accessibility_DeviceEvent structure.
2803 Changed Accessibility_ControllerEventMask from a struct to an
2806 * at-bridge/bridge.c:
2807 Changed APIs to use DeviceEvent structure as above, and removed
2808 bogus casting between these event structures.
2810 * cspi/spi-listener.h:
2811 Added keystring member of AccessibleKeystroke structure, to enable
2812 matching on event "names" rather than only hardware codes and
2816 Added keystrings member of AccessibleKeySet struct, to allow
2817 matching on event names (as above).
2818 Added declarations for SPI_createAccessibleKeySet and
2819 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2820 event modmasks directly as unsigned ints rather than structs with
2821 refcounts, in the DeviceEventController methods.
2823 * cspi/spi_registry.c:
2824 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2826 * cspi/spi-roletypes.h:
2827 Added documentation of newly added SPI Roles.
2829 * cspi/bonobo/cspi-bonobo-listener.c:
2830 Changes in support of API changes above.
2832 * libspi/accessible.c:
2833 Converted APIs to use DeviceEvent structure (see IDL changes
2836 * registryd/deviceeventcontroller.c:
2837 Added DEControllerGrabMask structure to track keygrabs not only by
2838 modmask but by keyset as well; this allows us to do "global"
2839 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2840 grabbing on AnyKey and then filtering after-the-fact.
2841 Bugfixes for event filtration mean that we don't get false matches
2842 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2844 * registryd/deviceeventcontroller.c:
2845 Namespaced a number of static methods to use spi_ prefix. Major
2846 revision to internals of global (i.e. X) key grabs.
2848 * registryd/deviceeventcontroller.h:
2849 Removed keymask_list and added keygrabs_list to
2850 SpiDeviceEventController struct.
2853 Added use of SPI_createAccessibleKeySet API when creating a
2854 listener for only one key. Attach a listener to "shift spacebar
2855 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2856 X key event names to SPI key event names, so that listeners are
2857 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2859 * test/keysynth-demo.c:
2860 Changed (incorrect) use of X key event names (KeyPressed,
2861 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2864 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2866 * libspi/accessible.c:
2867 Convert all AtkRole enumerations to Accessibility_Role enums when
2868 getting a role from an AtkObject.
2870 * cspi/spi_accessible.c:
2871 Complete the conversion of Accessibility_Role enums at runtime to
2872 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2873 role enums correctly match those given in spi-roletypes.h.
2874 Re-synchronize the local names list for AccessibleRole_getName ().
2875 AccessibleRole_getName is now deprecated, since it duplicates the
2876 more reliable Accessible_getRoleName.
2877 Added some role types from Accessibility_Role.idl.
2879 * idl/Accessibility_Role.idl:
2880 Added some role types used by AtkRole.
2882 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2885 * cspi/spi_registry.c:
2887 * cspi/cspi-bonobo-listener.c:
2888 Namespaced all methods that did not begin with an "SPI_" or
2889 "Accessible" prefix to "SPI_".
2892 Homogenized internal function namespace to "cspi_" for statics.
2895 Patched tests to use the new CSPI API.
2897 * docs/reference/cspi/at-spi-cspi-sections.txt:
2898 Updated docs to reflect namespace changes, and added a number of
2899 methods to the documentation.
2901 * registryd/registry.c:
2902 Changed use of strings and string hashes in listener event
2903 matching and parse_event_string to use GQuark, which is guaranteed
2906 * registryd/registry.h:
2907 Squashed annoying warning.
2909 * idl/Accessibility_Role.idl:
2910 Extended range of available Accessibility_Role values.
2912 * cspi/spi_accessible.c:
2913 Re-ordered role names.
2915 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2917 * idl/Accessibility_Value.idl:
2918 Revert use of union back to CORBA_double, since the double type is
2919 more efficient and can contain the other types without loss of
2922 * idl/Accessibility_Accessible.idl:
2923 Added method Accessibility:Accessible:getRoleName, to complement
2924 Accessibility:Accessible:getRole.
2926 * cspi/spi_accessible.c:
2928 Added C binding for above, Accessible_getRoleName (), and changed
2929 signature of Accessible_getRole () to return an AccessibleRole.
2931 * cspi/spi-roletypes.h:
2932 Changed AccessibleRole_getName to return a char * instead of a
2933 const char *. This method is now at least temporarily deprecated
2934 in favor of asking Accessibles for their RoleNames directly.
2937 Revert to match Accessibility_Value.idl;
2941 Change signature of AccessibleValue methods to use double rather
2945 * cspi/spi_accessible.c:
2946 Changed Accessible_getRole to return an AccessibleRole enum rather
2947 than a UTF-8 string. The UTF-8 string can still be obtained via
2948 AccessibleRole_getName ().
2950 * test/test-simple.c:
2951 Add test_action. Small fixup to match API change to Accessible_getRole.
2954 Bugfix for get_action_from_servant ().
2956 2001-12-11 Michael Meeks <michael@ximian.com>
2958 * libspi/libspi.h: remove registry.h and
2959 desktop.h, deviceeventcontroller.h
2961 * libspi/Makefile.am: remove registry.[ch],
2962 desktop.[ch], deviceeventcontroller.[ch]
2964 * registryd/Makefile.am: add registry.[ch],
2965 desktop.[ch], rename registryd.c to registry-main.c.
2966 add deviceeventcontroller.[ch]
2968 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2971 Replace setenv() call with putenv ().
2973 * libspi/component.c:
2974 Bugfix in AccessibleComponent_getExtents (),
2977 2001-12-11 Michael Meeks <michael@ximian.com>
2979 * libspi/image.c (impl_getImageExtents): impl.
2980 (spi_image_class_init): upd.
2983 (AccessibleImage_getImageDescription): fix daft bug
2986 * test/test-simple.c (global_listener_cb): update
2987 to only quit if not --poke
2988 (main): catch --poke.
2989 (validate_accessible): upd. dumping, call test_image
2992 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2995 * idl/Accessibility.idl: update all IDL includes.
2997 * idl/*.idl - rename to namespace - this sucks, blame
2998 mjs' bad decision for oafd.
3000 * test/test-simple.c (create_test_window): add more tests.
3001 (create_tree): split this out.
3002 (validate_accessible): bugfix.
3004 2001-12-11 Michael Meeks <michael@ximian.com>
3006 * cspi/bonobo/cspi-bonobo-listener.c:
3007 (cspi_kestroke_listener_unref),
3008 (cspi_event_listener_unref): impl. undoing previous
3009 homenous environment - for Bill.
3011 * cspi/spi_table.c (long_seq_to_array): use
3014 * cspi/spi_main.c: split out all bonoboish bits into
3017 * cspi/spi-impl.h: upd. typedefs.
3019 * cspi/spi_registry.c: update to lowlevel API,
3020 return booleans to indicate success in some places.
3022 * cspi/spi_event.c: update to lowlevel API.
3024 * cspi/bonobo/Makefile.am: add.
3026 * cspi/bonobo/cspi-lowlevel.h: add
3028 * cspi/bonobo/cspi-bonobo.c: add
3030 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3032 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3033 (SUBDIRS): add bonobo, link in the libs.
3035 * cspi/spi-util.c: kill this file.
3037 * TODO: merge in my bits.
3039 2001-12-11 Michael Meeks <michael@ximian.com>
3041 * test/test-simple.c (test_value, test_table, main):
3042 remove unused variables causing warnings.
3044 * configure.in: cleanup checks - require gail.
3046 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3049 Changed Value interface to use SValue (scalars) rather than
3050 assuming all values are floats. This allows floats, doubles,
3051 longs, shorts, and unsigned values to be manipulated.
3052 Introduced Accessibility:SValue union.
3055 Updated to use new API above, and to work correctly with GValues
3056 of different types in AtkValue.
3059 Updated to use new API above. cspi's API is as yet unchanged.
3062 Updated the Value revision action item.
3064 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3066 * test/test-simple.c:
3067 Added test_table (GtkTreeView widget in test window to follow).
3068 Un-commented test_value, added GtkRange widget.
3069 Added GtkTreeView widget with GtkListStore. It passes regression
3070 test but leaks one SPI object for some reason.
3073 Fixed bug in impl__set_currentValue.
3075 2001-12-10 Michael Meeks <michael@ximian.com>
3077 * cspi/spi_text.c: audit for exception handling,
3078 tolerating NULL object references safely etc.
3080 * cspi/spi_value.c: ditto.
3082 * cspi/spi_table.c (AccessibleTable_getSummary),
3083 (AccessibleTable_getAccessibleAt),
3084 (AccessibleTable_getRowHeader),
3085 (AccessibleTable_getColumnHeader),
3086 (AccessibleTable_getCaption): fix bugs hidden by
3088 (long_seq_to_array): impl.
3089 (AccessibleTable_getSelectedRows),
3090 (AccessibleTable_getSelectedColumns): use it.
3092 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3095 Added a TODO list (rough and short for now).
3097 * cspi/spi_hyperlink.c:
3098 * cspi/spi_hypertext.c:
3099 Fixed macro name typos, and remove use of obsolete macro in
3100 AccessibleHyperlink_getLink.
3102 * cspi/spi_action.c:
3103 * cspi/spi_accessible.c:
3104 * cspi/spi_application.c:
3105 * cspi/spi_component.c:
3106 * cspi/spi_selection.c:
3109 Documentation fixes (removed return values from ref/unref methods).
3111 2001-12-10 Michael Meeks <michael@ximian.com>
3113 * cspi/spi_action.c: audit for exception handling,
3114 tolerating NULL object references safely etc.
3116 * cspi/spi_accessible.c: ditto.
3118 * cspi/spi_component.c: ditto.
3120 * cspi/spi_editabletext.c: ditto.
3122 * cspi/spi_hyperlink.c: ditto.
3124 * cspi/spi_hypertext.c: ditto.
3126 * cspi/spi_image.c: ditto.
3128 * cspi/spi_selection.c: ditto.
3130 2001-12-10 Michael Meeks <michael@ximian.com>
3132 * configure.in: use cspi/libspi.pc.in instead.
3134 * Makefile.am (pkgconfig_DATA): upd. to match.
3136 * test/simple-at.c (report_focus_event): kill hacks around
3137 bad return values, use putenv not setenv
3139 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3140 fire ChildGone - I killed it.
3142 * libspi/component.c
3143 (impl_accessibility_component_get_extents): remove
3146 * idl/Accessible.idl: kill ChildGone exception.
3148 * cspi/*.[ch]: kill int return from ref / unref.
3150 * cspi/spi_main.c (cspi_object_add_check): fold into
3151 (cspi_object_add): here.
3153 * cspi/spi_component.c (AccessibleComponent_getExtents):
3154 handle exceptions elegantly.
3156 * cspi/spi-private.h (cspi_check_ev_return),
3157 (cspi_return_if_fail): impl.
3159 * cspi/spi_accessible.c: use extensively.
3160 (AccessibleStateSet_equals): add direct compare check.
3162 * cspi/spi_selection.c: tolerate NULL objs, and check
3163 exceptions before return.
3165 * cspi/spi-util.c (cspi_warn_ev): rename to
3166 (cspi_check_ev): this & don't pass ev in; no point.
3168 2001-12-10 Michael Meeks <michael@ximian.com>
3170 * test/test-simple.c: use putenv not setenv
3171 (get_environment_vars): more chatty if you're not using
3174 * test/simple-at.c: do the setenv so more people see the
3177 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3179 * libspi/registry.c:
3180 Changed check of CORBA_environment on notification to be a warning
3181 instead of an error for the moment, since we can recover from this
3182 error when caused by a queued notification from a dead app.
3185 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3186 used by all current implementors of AtkValue), and coerce to
3187 CORBA_float. (Proper general case fix may require change to Value.idl).
3189 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3193 * cspi/spi_accessible.c:
3194 Documentation fixes: added user_data params to documentation for
3195 listeners and callbacks.
3197 * cspi/spi_accessible.c:
3198 Changed AccessibleStateSet_compare to return a
3199 StateSet rather than return the difference set into a third parameter.
3202 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3205 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3206 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3210 Remove subdirectory po from SUBDIRS for now.
3212 * at-bridge/bridge.c:
3213 Beefed up a couple of debug printouts.
3214 One-line fix for signal notification name formatting.
3216 * libspi/accessible.c:
3217 Added assertion to spi_accessible_new ().
3219 * libspi/application.c:
3220 Put #ifdef qualifiers around a printf.
3223 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3225 * registryd/Makefile.am:
3227 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3228 INTLTOOL_SERVER_RULE macro.
3231 Added an event listener for several ATK signals, for
3232 testing and debugging. Removed a few g_warnings.
3233 Added test output if focussed item implements the Value interface.
3235 * test/test-simple.c:
3236 Added test_value () function (known not to pass at the moment, so
3237 not actually called yet.
3239 2001-12-08 Michael Meeks <michael@ximian.com>
3241 * at-bridge/bridge.c (bridge_focus_tracker),
3242 (emit_eventv): fix the same ref. leak.
3243 (register_atk_event_listeners): don't leak.
3245 * cspi/spi-listener-impl.c (cspi_event): more
3246 protection from client code.
3248 * test/test-simple.c (test_desktop): unref the app.
3250 * test/Makefile.am: upd. TESTS.
3252 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3254 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3256 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3258 * cspi/spi_registry.c: constify in strings.
3259 (deregisterGlobalEventListenerAll): don't release the ref.
3261 * cspi/spi.h: start removing redundant / conflicting
3262 gtkdoc comments, making the API readable at a glance :-)
3264 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3266 * test/keysynth-demo.c (keysynth_exit, main): upd.
3268 * test/simple-at.c (main, simple_at_exit): upd.
3270 * test/test-simple.c (unutterable_horror): kill.
3271 (utterable_normal_derefs): kill.
3272 (main): upd & do a setenv before gtk_init, so that we
3273 can use memprof - and to save the pain of remembering
3274 this, if we're running under memprof - don't exit.
3276 * cspi/spi_main.c (SPI_exit): return exit status
3278 (SPI_event_quit): impl.
3279 (SPI_event_main): simplify.
3280 (cspi_is_gnome_app): kill.
3281 (SPI_init): kill isGNOMEapp arg.
3283 * at-bridge/bridge.c (register_atk_event_listeners):
3284 re-instate the unref.
3285 (bridge_exit_func): don't re-activate the registry,
3286 protect vs. theoretical re-entry, use the
3287 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3288 assert a clean shutdown - for regression tests.
3290 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3292 * configure.in: Comment out dummy i18n support for now,
3293 otherwise it fails to build.
3294 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3295 EXTRA_DIST. They are missing in tarball.
3297 2001-12-07 Michael Meeks <michael@ximian.com>
3299 * util/magnifier.c: kill bonobo activation reg. race.
3301 * libspi/component.c
3302 (impl_accessibility_component_get_extents): make it match
3305 * libspi/registry.c (_registry_notify_listeners):
3306 re-remove X headers & reconcile conflicts.
3307 (spi_listener_struct_free): bad conflict resolve.
3308 (impl_accessibility_registry_register_application):
3309 more bad merging fixed.
3310 (impl_accessibility_registry_deregister_application): ditto.
3311 (spi_registry_new): ditto.
3312 (spi_registry_init): don't have an applications field.
3314 [ merge fixups2 branch to here ]
3315 2001-12-07 Michael Meeks <michael@ximian.com>
3317 * test/simple-at.c (report_focus_event),
3318 (report_focussed_accessible): remove g_warning debug.
3320 2001-12-07 Michael Meeks <michael@ximian.com>
3322 * test/test-simple.c (validate_tree): comment out some checks.
3323 (test_desktop): app now not registered idly - horay.
3325 2001-12-07 Michael Meeks <michael@ximian.com>
3327 * cspi/spi_registry.c
3328 (registerAccessibleKeystrokeListener): clean, stop it leaking
3329 great swathes of memory, and device event controller references.
3330 ensure we always pass valid sequences.
3331 (deregisterAccessibleKeystrokeListener): ditto.
3332 (generateKeyEvent): upd.
3334 * at-bridge/bridge.c (bridge_key_listener): handle
3335 registry dead exception gracefully.
3336 (bridge_focus_tracker, emit_eventv): free ev.
3338 * test/simple-at.c (report_focus_event): fix polarity.
3340 * libspi/application.c (notify_listeners): kill the ev
3341 argument, and make sure we init the ev we use.
3342 (spi_application_object_event_listener): split out a chunk
3343 (get_atk_object_ref): here & fixup.
3344 (reverse_lookup_name_for_toolkit_event): make const.
3345 (spi_application_toolkit_event_listener): fixup, kill leaks
3348 * at-bridge/bridge.c (register_atk_event_listeners):
3349 don't unref the noop object - causes grief.
3351 * libspi/registry.c: remove the X headers.
3352 turn off the debug churn.
3354 * libspi/accessible.c (spi_accessible_new_return): only
3355 release the ref if we are supposed to [doh]
3357 * test/simple-at.c (report_button_press, report_focus_event):
3358 guard vs. unexpected exit.
3360 * at-bridge/bridge.c (gtk_module_init): prune printf.
3361 (bridge_exit_func): fix app unref.
3363 * libspi/Makefile.am: don't install registry or desktop.h
3365 * libspi/*.h: update includes.
3367 * libspi/application.h: don't include ourself, or
3368 other redundant headers.
3370 2001-12-06 Michael Meeks <michael@ximian.com>
3372 * libspi/accessible.c
3373 (get_accessible_from_servant): impl.
3374 Upd. all CORBA impl.s to use it killing cut and paste.
3376 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3378 (SPI_init): register atexit cleanup handler here.
3380 2001-12-06 Michael Meeks <michael@ximian.com>
3382 * at-bridge/bridge.c (gtk_module_init): g_error on
3383 activation exception
3385 2001-12-06 Michael Meeks <michael@ximian.com>
3387 * at-bridge/bridge.c (gtk_module_init): some sort of
3388 confusing merge clash - reverted.
3389 (bridge_idle_init): ditto.
3391 * test/test-simple.c (main, utterable_normal_derefs):
3392 merge from Bill - somehow not committed.
3394 2001-12-06 Michael Meeks <michael@ximian.com>
3396 * libspi/value.c (spi_value_class_init): upd.
3397 (spi_value_finalize): kill.
3399 * libspi/table.c (spi_table_finalize): kill.
3400 (spi_table_interface_new): upd.
3401 (spi_table_class_init): upd.
3402 (get_table_from_servant): impl.
3403 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3405 * libspi/selection.c (spi_selection_finalize): kill.
3406 (spi_selection_interface_new): upd.
3407 (spi_selection_class_init): upd.
3408 (get_selection_from_servant): impl.
3409 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3411 * libspi/relation.c (spi_relation_finalize): kill.
3412 (spi_relation_class_init, spi_relation_new): upd
3414 * libspi/image.c (spi_image_finalize): kill.
3415 (spi_image_class_init): upd.
3416 (spi_image_interface_new): upd.
3417 (get_image_from_servant): impl.
3418 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3420 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3421 (spi_hyperlink_finalize): kill.
3422 (spi_hyperlink_new): upd.
3423 (get_hyperlink_from_servant): impl.
3424 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3426 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3427 (spi_hypertext_finalize): kill.
3428 (spi_hypertext_class_init): upd.
3429 (get_hypertext_from_servant): impl.
3430 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3432 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3433 (spi_editable_text_interface_new): upd.
3434 (get_editable_text_from_servant): impl.
3435 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3437 * libspi/text.c (get_text_from_servant): impl.
3438 All impls - update to use it killing more cut and paste,
3439 also fix bad string returns on duff args ( a somewhat
3440 impossible case to handle - but hey ).
3441 (spi_text_construct): impl.
3442 (spi_text_interface_new): upd.
3443 (spi_text_object_finalize): kill.
3445 * libspi/component.c
3446 (accessibility_component_object_finalize): kill.
3447 (spi_component_class_init): upd.
3448 (get_component_from_servant): impl. helper to kill cut & paste.
3449 (impl_accessibility_component_contains):
3450 (impl_accessibility_component_get_accessible_at_point):
3451 (impl_accessibility_component_get_position):
3452 (impl_accessibility_component_get_extents):
3453 (impl_accessibility_component_get_mdi_z_order):
3454 (impl_accessibility_component_get_layer):
3455 (spi_component_interface_new): upd.
3457 * libspi/action.c (spi_action_finalize): kill.
3458 (spi_action_class_init): upd. inherit from SpiObject.
3459 (spi_action_interface_new): upd.
3460 (get_action_from_servant): impl. helper to reduce cut & paste.
3461 (impl_getKeyBinding, impl_getName, impl_doAction),
3462 (impl_getDescription): Use it everywhere.
3464 * cspi/spi_main.c (get_live_refs): a pointer hash.
3465 (spi_object_hash, spi_object_equal): comment out.
3466 There are issues with CORBA object hashing that need
3469 * libspi/application.c (spi_application_init),
3470 (spi_application_new): upd.
3472 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3473 (spi_accessible_class_init): upd.
3474 s/accessible/object/ in epv methods.
3476 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3478 * at-bridge/bridge.c:
3479 Reorder the bridge initialization into the bridge gtk_module_init,
3480 an immediate call to bridge_register_app, and an idle_add for
3481 register_atk_event_listeners (the only code that *must* wait until
3482 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3483 the activation, creates the application's Accessible object, and
3484 queues the bridge_idle_init function. Restored call to
3485 Accessibility_Registry_deregisterApplication().
3486 Prior to making this call we obtain a new reference to the
3487 registry, which is a temporary hack that helps us handle apps that
3488 shut down the bonobo mainloop before we get there.
3490 * libspi/registry.c:
3491 Fix string leakage in debug block, and don't segv if a an app
3492 dies before its event notifications have been propagated.
3495 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3496 as stopgap measure until we get proper exception handling when
3497 objects die during or before interrogation.
3501 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3502 Also changed default value of is_gnome_app to TRUE.
3505 * test/keysynth-demo.c:
3506 Changed use of SPI_init and SPI_event_main to reflect API change above.
3509 Made report_focus_event check the warning value from getName
3510 before reporting on focussed accessible; simplifies handling of
3511 notifications from dead objects.
3513 * test/test-simple.c: (Changes not in this patch since source is
3516 2001-12-05 Michael Meeks <michael@ximian.com>
3518 * registryd/registryd.c (main): protect against
3519 bonobo-activation startup race condition.
3521 * cspi/spi_main.c (cspi_object_add_check): cope
3522 with the exception elegantly.
3524 * idl/Accessible.idl: decl. ChildGone
3526 * libspi/desktop.c (spi_desktop_dispose): impl.
3527 (spi_desktop_class_init): upd.
3528 (spi_desktop_add_application),
3529 (spi_desktop_remove_application),
3530 (abnormal_application_termination): impl.
3531 (impl_desktop_get_child_at_index): re-impl.
3534 (impl_accessibility_registry_deregister_application),
3535 (impl_accessibility_registry_register_application):
3536 kill excessive debug clutter.
3538 * test/test-simple.c (test_misc): test some NULL
3539 tolerance. (main): upd.
3541 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3542 implements no interfaces - so let's not crash.
3544 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3546 * libspi/accessible.c (spi_accessible_new_return): impl.
3547 helper to calm the cut and paste, to cope with
3548 NULL AtkObjects effectively and efficiently, and to kill
3549 the referencing bugs.
3551 * libspi/table.c (impl_getAccessibleAt),
3552 (impl_getRowHeader, impl_getColumnHeader): upd.
3554 * libspi/hyperlink.c (impl_getObject): upd.
3556 * libspi/accessible.c
3557 (impl_accessibility_accessible_get_child_at_index): upd.
3559 * libspi/component.c
3560 (impl_accessibility_component_get_accessible_at_point): upd.
3562 * test/test-simple.c (test_editable_text, test_text): impl.
3565 * cspi/spi_editabletext.c
3566 (AccessibleEditableText_insertText): constify.
3568 * test/test-simple.c (focus_me): make more robust.
3570 * libspi/accessible.c: remove some printfs in methods that
3571 we test and work fine, so we can get a clean tree dump.
3573 * test/test-simple.c (validate_accessible),
3574 (validate_tree): make tree dumping pretty too.
3576 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3577 it builds without debug on.
3579 * test/test-simple.c (validate_accessible): fix the most
3582 * cspi/spi_main.c (spi_object_release): leave the nicely
3583 blanked memory around if in debug mode.
3585 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3587 [committed to fixups2]
3588 2001-12-05 Michael Meeks <michael@ximian.com>
3590 * libspi/editabletext.c
3591 (spi_editable_text_class_init): g_type_class_peek_parent,
3592 not interface peek - so we finalize cleanly.
3594 * libspi/accessible.c (spi_accessible_new): kill debug.
3596 * test/test-simple.c (validate_accessible): fix ref.
3597 leak, print strings before freeing them; sigh, comment a
3598 chunk out due to strangeness.
3599 (validate_tree): unref the child after use.
3601 * cspi/spi_component.c (AccessibleComponent_getLayer):
3602 add missing break statement, switch on zlayer not the
3603 uninitialized retval.
3605 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3606 before (possibly re-entering) remote unref.
3608 * test/simple-at.c (main): unref the desktop.
3610 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3613 * cspi/spi_main.c (cspi_accessible_is_a): here to
3614 isolate bonobo API usage more.
3616 * libspi/registry.c (impl_accessibility_registry_register_application):
3617 prune bogus comment.
3619 2001-12-04 Michael Meeks <michael@ximian.com>
3621 * test/test-simple.c (validate_tree): upd.
3622 IndexInParent check to make it more lucid.
3623 (validate_accessible): dump the tree.
3625 * libspi/accessible.c (de_register_public_ref),
3626 (get_public_refs): impl.
3627 (spi_accessible_new): make more efficient & intuitive.
3628 Now IndexInParent check works.
3630 2001-12-04 Michael Meeks <michael@ximian.com>
3632 * cspi/spi-util.h: remove.
3634 * cspi/spi.h: move SPI_freeString here
3636 * libspi/component.c (impl_accessibility_component_get_layer):
3638 (impl_accessibility_component_get_mdi_z_order): ditto,
3639 return -1 on error - is this ok ?
3641 * test/test-simple.c (test_application): impl.
3643 * cspi/spi_accessible.c (Accessible_getApplication),
3644 (Accessible_isApplication): impl.
3646 * libspi/registry.c (spi_listener_struct_free): release
3647 the CORBA reference too.
3649 * libspi/accessible.c
3650 (impl_accessibility_accessible_get_parent): fix ref leak.
3652 * libspi/registry.c (spi_registry_new): make the registry
3653 immortal - we don't want it to go away ever.
3655 * libspi/application.c
3656 (spi_accessible_application_finalize): impl. cleanup.
3658 * cspi/spi_registry.c
3659 (deregisterGlobalEventListenerAll),
3660 (deregisterGlobalEventListener),
3661 (deregisterAccessibleKeystrokeListener): fix ref leak.
3663 * cspi/spi_main.c (SPI_init): remove redundant ref.
3665 * test/test-simple.c (unutterable_horror): impl. to force a
3670 (impl_accessibility_registry_deregister_application): release
3671 the application when we de-register it.
3673 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3674 until we have the infastructure to get it right.
3676 2001-12-03 Michael Meeks <michael@ximian.com>
3678 * libspi/Makefile.am: only build eventlistener.[ch]
3680 * libspi/accessible.c
3681 (impl_accessibility_accessible_get_child_at_index): don't leak.
3683 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3684 before we hit the idle handler.
3686 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3687 debugging than exit.
3689 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3691 * libspi/listener.c (impl_notify_event): check source
3692 not NIL before unref.
3694 * libspi/registry.c (impl_registry_notify_event): ditto.
3696 * libspi/eventlistener.c
3697 (impl_accessible_event_notify_event): unref the source.
3699 * libspi/accessibleeventlistener.c
3700 (impl_accessible_event_notify_event): unref the source.
3702 * idl/Event.idl: remove 'hash_id' attribute - of no
3705 * libspi/application.c (notify_listeners): upd list
3707 (spi_application_object_event_listener),
3708 (spi_application_toolkit_event_listener): upd to do correct
3712 (_registry_notify_listeners): update.
3713 (parse_event_type): this method also leaks like a sieve.
3714 (impl_accessibility_registry_deregister_global_event_listener):
3715 fix ETYPE_WINDOW case.
3717 * libspi/application.c
3718 (impl_accessibility_application_register_object_event_listener):
3721 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3723 * libspi/hypertext.c (impl_getLink): ditto.
3725 * cspi/spi_main.c (cspi_object_add): remove
3726 bogus CORBA_Object_duplicate.
3728 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3731 * cspi/spi_accessible.c
3732 (Accessible_getRelationSet): fix leak / referencing issue.
3734 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3735 (cspi_object_add, cspi_object_unref): upd.
3736 (spi_object_release, get_live_refs): impl.
3737 (cspi_cleanup): simplify.
3739 * *.[ch]: s/boolean/SpiBoolean/
3741 * cspi/spi_accessible.c (role_names): actualy order so it
3742 corresponds with the enum !
3744 * test/test-simple.c (test_roles): check some role strings
3745 vs. enums to detect offset errors.
3747 2001-12-01 Michael Meeks <michael@ximian.com>
3749 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3751 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3753 (Accessible_getChildAtIndex): use cspi_add_check so we
3754 check the ev before using a (possibly) invalid value.
3756 * libspi/accessible.c
3757 (impl_accessibility_accessible_get_parent): don't segv
3760 * at-bridge/bridge.c (gtk_module_init): upd.
3761 (bridge_property_event_listener): don't leak strings
3763 (bridge_state_event_listener),
3764 (bridge_property_event_listener): don't use a static
3765 buffer in case of recursive event emission &
3766 re-enterancy - split out the swathe of cut and paste
3768 (emit_eventv): and fix 2 ref leaks here & comply to the
3770 (bridge_register_app): rename to
3771 (bridge_idle_init): this and kill arg parsing, split
3772 various inits & bonobo-activation registration to module
3773 init time, kill referencing error.
3774 (bridge_exit_func): fix the same leak.
3775 (bridge_focus_tracker): don't leak event structures
3777 (bridge_signal_listener): more leakage and cut & paste
3779 (bridge_key_listener): return the result - FIXME is
3780 this polarity correct ?
3781 (accessibility_keystroke_from_atk_key_event): rename
3782 (accessibility_init_keystroke_from_atk_key_event): and stop
3784 (gtk_module_init): return a value - not that it is checked by
3786 (bridge_key_listener): register my horror at casting between
3787 IDL defined structs.
3788 (bridge_get_registry): kill - not used.
3790 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3792 * test/test-simple.c (test_roles): impl.
3793 (test_desktop, validate_accessible, validate_tree): impl.
3795 * cspi/spi_accessible.c (role_names): fixup bogus
3796 MAX_ROLES setup, make constants const for efficient linkage
3797 (AccessibleRole_getName): conform to coding style, make
3800 2001-11-30 Michael Meeks <michael@ximian.com>
3802 * cspi/spi.h: add missing prototype.
3804 * libspi/registry.c (spi_listener_struct_new): fix sig.
3806 * test/Makefile.am: add test-simple
3808 * test/test-simple.c: add
3810 * test/test.sh: add.
3812 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3814 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3815 do it straight - since otherwise we often get an activation race.
3817 [ work before Bill duplicated a chunk of it ... ]
3818 2001-11-30 Michael Meeks <michael@ximian.com>
3820 * libspi/keystrokelistener.c
3821 (spi_keystroke_listener_class_init): fixup arg
3824 * libspi/eventlistener.c
3825 (spi_event_listener_class_init): ditto.
3827 * tests/test.sh: add.
3829 * cspi/spi-listener-impl.h: update macros.
3831 * cspi/spi-listener-impl.c
3832 (cspi_event_listener_remove_callback): add
3833 correct pre-conditions.
3835 * cspi/spi_main.c (SPI_exit): guard vs. double
3836 exits, exit the mainloop nicely.
3837 (SPI_event_main): make more sense.
3838 (SPI_init): move the atexit evilness here so we
3839 always do it (yuck).
3840 (SPI_event_main): upd.
3842 * test/simple-at.c: update for listener changes.
3844 * registryd/registryd.c (main): prune kruft.
3846 * libspi/libspi.h: upd.
3848 * libspi/eventlistener.[ch]: rename broken macros.
3850 * libspi/accessibleeventlistener.[ch]: remove.
3852 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3854 * test/test-simple.c: Add - automated tests.
3856 * cspi/spi-listener-impl.c (cspi_event),
3857 (cspi_key_event): add user_data to invoke.
3858 (cspi_keystroke_listener_finalize): impl.
3859 (cspi_keystroke_listener_class_init): upd.
3862 (createAccessibleEventListener),
3863 (AccessibleEventListener_addCallback),
3864 (createAccessibleKeystrokeListener),
3865 (AccessibleKeystrokeListener_addCallback): upd.
3867 * libspi/deviceeventcontroller.c
3868 (spi_device_event_controller_check_key_event): add public proto.
3871 (impl_accessibility_registry_deregister_global_event_listener):
3872 always init listeners.
3873 (_registry_notify_listeners): yes it is.
3875 * cspi/spi-listener-impl.c (cspi_key_event):
3877 (cspi_event_listener_finalize): impl.
3878 (cspi_event_listener_class_init): hook up.
3879 (event_handler_new, event_handler_free),
3880 (event_list_remove_by_callback): impl.
3881 (cspi_event_listener_remove_callback),
3882 (cspi_keystroke_listener_remove_callback),
3883 (cspi_keystroke_listener_add_callback),
3884 (cspi_event_listener_add_callback): upd.
3886 * libspi/keystrokelistener.c
3887 (keystroke_listener_object_finalize): kill
3888 (spi_keystroke_listener_class_init): upd.
3889 (spi_keystroke_listener_add_callback),
3890 (spi_keystroke_listener_remove_callback): kill,
3892 (impl_key_event): prune drasticaly.
3894 * libspi/eventlistener.c
3895 (spi_event_listener_add_callback),
3896 (spi_event_listener_remove_callback): kill, use
3898 (impl_accessible_event_notify_event): upd.
3899 (spi_event_listener_object_finalize): remove.
3901 * libspi/Makefile.am: use eventlistener.[ch]
3903 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3905 * libspi/registry.c (_registry_notify_listeners):
3906 Changed listener loop iteration to use preferred convention.
3907 Got rid of string memory leaks caused be calling g_strconcat
3908 inside function calls.
3910 * libspi/registry.c (parse_event_type):
3911 Stopped g_strconcat memory leaks, free the g_strsplit return,
3912 g_strdup the split pieces when used, etc.
3914 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3917 Change method 'compare' to return a 'difference set' rather than
3918 taking a StateSet as an out parameter (more Java-friendly).
3920 * idl/Accessible.idl:
3921 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3923 * idl/Component.idl:
3925 Changed methods 'getExtents' and 'getImageExtents' in these
3926 interfaces to return a BoundingBox structure.
3927 (getPosition and getSize are redundant and possibly should be
3928 removed, rather than creating a corresponding Point struct.)
3930 * cspi/spi_component.c:
3931 Modify implementation of getExtents to reflect the above IDL
3936 Add (missing) AccessibleImage_getExtents () API.
3938 * docs/reference/cspi/at-spi-cspi-sections.txt:
3939 Added AccessibleImage_getImageExtents () to docs.
3941 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3943 * idl/Component.idl:
3944 Added two methods, getLayer () and getMDIZOrder (), to reflect
3945 the new ATK methods atk_object_get_layer and
3946 atk_object_get_mdi_z_order. (Which arguably should be part of the
3947 AtkComponent API and AtkObject). Also added an enum,
3948 ComponentLayer, for the first method's return value.
3950 * libspi/component.c:
3951 Added implementations for these methods.
3953 * cspi/spi_component.c:
3955 Added cspi binding methods for above,
3956 AccessibleComponent_getLayer() and
3957 AccessibleComponent_getMDIZOrder().
3958 Added cspi enum 'AccessibleComponentLayer'.
3960 * docs/reference/cspi/at-spi-cspi-sections.txt:
3961 Added above methods to docs.
3965 Changed typedef for 'boolean' type (and all references to it) to
3966 SPIBoolean, to avoid keyword clashes with C++.
3969 Changed usages of 'boolean' to SPIBoolean.
3971 * test/keysynth-demo.c:
3972 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3973 app), except where SPIBoolean is required by the callbacks API.
3975 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3977 * cspi/spi_registry.c:
3978 Removed obsolete X event loop for passive keygrabs (which now
3981 * registryd/registryd.c:
3982 Removed unnecessary call to gdk_init() [cruft]. This also allows
3983 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3986 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3988 * docs/reference/cspi:
3989 Included docs for SPI_freeString in generated documentation.
3992 Renamed spi_freeString to SPI_freeString, for consistency. Added
3993 documentation for this function.
3996 Renamed spi_freeString to SPI_freeString, for consistency.
3997 Removed obsolete method declaration string_from_corba_string.
3999 * test/keysynth-demo.c:
4000 Small tweak to comments.
4003 Stopped leaking the strings returned from CSPI.
4005 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4007 Merged Michael's branch (see his ChangeLog entries below).
4009 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4010 bridge is alive, release on exit.
4012 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4013 Fix type check macro.
4016 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4019 Added is_gnome_app static, and method cspi_is_gnome_app(),
4020 so we can call the appropriate shutdown routine at exit in SPI_exit.
4022 * cspi/spi_main.c (cspi_object_ref):
4023 Duplicate the corba object passed in, since we're keeping it around.
4025 * cspi/SPI_exit.c, cspi_cleanup:
4026 Moved the releasing of the live refs to its own function, so we
4027 can put it in g_atexit (). Call the appropriate shutdown API
4028 depending on whethe calling client is a gnome app or not
4029 (bonobo_main_quit or CORBA_ORB_shutdown).
4031 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4032 Unref the listener when this method is called, after
4033 deregistration. Updated the API docs to note this behavior.
4035 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4036 Bugfixes: Ref the bonobo object when returning a parent or child
4037 reference, or an AccessibleRelation. Generally made sure
4038 BonoboObject refcount is incremented whenever we return an
4041 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4042 Fixed typo/bug in signal declaration.
4044 * libspi/accessibleeventlistener.h:
4047 * libspi/application.c (spi_application_new):
4048 Fixed leak in initialization.
4051 Remembered to increment bonobo-object refcount when returning
4052 children (applications) from desktop object.
4053 Added (empty) finalize method.
4055 * libspi/deviceeventcontroller.c:
4056 Hold a ref to listeners inside DEControllerKeyListeners.
4057 Added dec_key_listener_free() method. Use prepend instead of
4058 append in key_listener list. Fixed some refcount madness and
4059 leaks in the listener registration/deregistration - deregistration
4060 now calls dec_key_listener_free() on listeners, and on the
4061 temporarily constructed dec_key_listener() used to perform the search/match.
4063 * libspi/hypertext.c (spi_hypertest_finalize):
4064 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4065 class. Also fixed spi_hypertext_interface_new() and
4066 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4068 * libspi/hypertext.h:
4069 Removed pointless and duplicate AtkObject pointer from
4072 * libspi/keystrokelistener.c:
4073 Fixed incorrect type of keystroke_listener_parent_class,
4074 renamed keystroke_listener_object_finalize to
4075 spi_keystroke_listener_object_finalize.
4076 Fixed typo in signal declaration
4077 (spi_keystroke_listener_class_init).
4079 * libspi/registry.c:
4080 Added funcsions spi_listener_struct_new() and
4081 spi_listener_struct_free() to help with memory management issues.
4082 We also now use these methods instead of gnew + poking stuff into
4083 the struct, and to decrement listener counts/free the listeners
4084 when deregistering them.
4085 Fix more refcount bugs in getDesktop() and
4086 getDeviceEventController().
4089 De-ref the desktop after enumerating the applications. Explicitly
4090 decrement the refcounts on the created listeners on exit (using
4091 _unref for keystroke listeners, and via the
4092 deregisterGlobalEventListenerAll command for other event
4095 2001-11-27 Michael Meeks <michael@ximian.com>
4097 * cspi/spi-listener.h: fixup enum.
4099 2001-11-27 Michael Meeks <michael@ximian.com>
4101 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4102 (cspi_keystroke_listener_new): Use the cspi variants.
4104 2001-11-26 Michael Meeks <michael@ximian.com>
4106 * test/keysynth-demo.c: fix 2 compile warnings, missing
4109 * test/simple-at.c (report_focussed_accessible),
4110 (report_focus_event, report_button_press),
4111 (check_property_change, is_command_key),
4112 (report_ordinary_key_event, report_command_key_event): upd.
4114 * util/mag_client.h: include pre-requisites.
4116 * libspi/accessibleeventlistener.c
4117 (spi_event_listener_object_finalize): free any lingering
4120 * libspi/keystrokelistener.c
4121 (keystroke_listener_object_finalize): ditto.
4123 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4124 callbacks, with cspi types.
4126 * cspi/spi_event.c (createAccessibleEventListener): chain to
4127 (AccessibleEventListener_addCallback): here.
4128 (createAccessibleKeystrokeListener): chain to
4129 (AccessibleKeystrokeListener_addCallback): here.
4131 * libspi/keystrokelistener.c
4132 (spi_keystroke_listener_class_init): add signal.
4133 (impl_key_event): emit the event.
4134 (boolean_handled_accumulator): impl.
4135 (marshal_BOOLEAN__POINTER): add, gack.
4137 * libspi/accessibleeventlistener.c
4138 (spi_event_listener_class_init): add signal.
4139 (impl_accessible_event_notify_event): emit the signal &
4140 make the loop efficient.
4141 (spi_event_listener_add_callback): prepend the callback.
4143 * libspi/accessibleeventlistener.h: add an 'event' signal,
4144 decl type on callback.
4146 * libspi/keystrokelistener.h: ditto.
4148 * cspi/spi-listener.h: make methods typesafe and
4149 make them use the new event typedefs.
4151 * test/simple-at.c (report_focussed_accessible):
4152 include mag_client.h
4153 Use *(void *)text_interface not the other thing.
4155 * configure.in: add gtk to registryd bits - since we use
4158 * util/magnifier.c: include libbonobo.h
4160 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4162 * test/keysynth-demo.c:
4163 Turned this into a simple scanning keyboard, to demonstrate the
4164 use of g_timeout_add () as a means of creating timers for
4165 scanning, and the use of GtkStyle for visually indicating when
4166 virtual keyboard elements are selected.
4168 keysynth-demo now listens to any keyboard keys with zero-valued
4169 keycodes (i.e. 'unused' keys) and interprets them as
4172 Reworked the shiftlatch code so that shift-down state isn't held
4173 for long periods (it's only synthesized immediately prior to
4174 the keysynth event it's modifying). Note that shiftlatch in this
4175 demo is a convenience, not intended to take the place of AccessX
4176 which is the better choice for getting 'sticky' modifier keys.
4178 * libspi/deviceeventcontroller.c:
4179 * at-bridge/bridge.c:
4180 * cspi/spi_registry.c:
4181 Removed some debug print stuff, and put other verbosity in #ifdef
4186 Implemented some more of the magnifier IDL for the simple
4187 magnifier: namely, getZoomRegionParams.
4188 Added mag_x and mag_y members to MagnifierData struct, aid of this
4190 Added GtkWindow::realize signal handler to magnifier, to keep it
4191 from receiving keyboard focus from the WM.
4193 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4195 * cspi/spi-private.h: my guess at what michael forgot
4196 before he ran off to NZ :-)
4198 2001-11-23 Michael Meeks <michael@ximian.com>
4200 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4201 comment out non existant method invoke so we link.
4203 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4204 use bonobo_exception_get_text for more friendly warnings.
4206 * cspi/spi.c (Obj_Add): move into spi_main & rename
4207 spi_object_add; kill spi.c
4209 * cspi/spi_registry.c
4210 (deregisterGlobalEventListener),
4211 (deregisterGlobalEventListenerAll),
4212 (registerGlobalEventListener): fix exception leaks.
4214 * cspi/spi_main.c (spi_exception): impl. helper, so we
4215 don't leak exceptions.
4217 * cspi/spi_selection.c
4218 (AccessibleSelection_deselectSelectedChild): return the
4221 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4222 (spi_registry): ditto.
4223 (SPI_init): guard against double inits.
4225 * cspi/*.c: use spi_ev (), and spi_registry () where
4226 appropriate - a temporary hack until we have something
4227 better. Use spi_object_add
4229 2001-11-22 Michael Meeks <michael@ximian.com>
4231 * cspi/Makefile.am: re organise, install the headers.
4233 * cspi/*.h: add G_BEGIN/END_DECLS
4235 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4238 Added non-preemptive keylistener for key events with no modifiers
4239 and shift-only modifier.
4241 * libspi/keystrokelistener.c:
4242 Removed some verbose diagnostics printout.
4244 * cspi/spi_registry.c:
4245 Fixed a bug that caused all key listeners to be registered as
4248 * libspi/deviceeventcontroller.c:
4249 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4250 for non-preemptive key masks.
4253 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4255 * docs/reference/idl/at-spi-idl-docs.sgml:
4256 * docs/reference/idl/at-spi-idl-sections.txt:
4257 * docs/reference/idl/at-spi-idl-overrides.txt:
4258 Added missing files.
4260 * docs/reference/Makefile.am:
4261 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4262 to scan the IDL files :-(
4267 Added .cvsignore files.
4269 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4271 * libspi/deviceeventcontroller.c:
4272 * libspi/keystrokelistener.c:
4274 * cspi/spi_registry.c:
4275 Added filters for KeySets, KeyEventSeq, and event types to key
4276 event dispatching, so listeners should only receive those events
4277 that they requested :-)
4279 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4284 * docs/reference:Makefile.am:
4285 * docs/reference/cspi:
4286 * docs/reference/cspi:Makefile.am:
4287 * docs/reference/cspi:tmpl:
4288 * docs/reference/cspi:tmpl:*.sgml:
4289 * docs/reference/idl:
4290 * docs/reference/idl:Makefile.am:
4291 * docs/reference/idl:at-spi-idl-sections.txt:
4292 * docs/reference/idl:at-spi-idl-docs.sgml:
4293 * docs/reference/idl:tmpl:
4294 * docs/reference/idl:tmpl:*.sgml:
4296 Restructured docs directory to allow separate 'reference' docs
4297 section, and forked idl and cspi docs. Added the sgml template
4298 files to CVS. Added the first sections/structural sgml for the
4301 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4303 * configure.in, libspi/Makefile.am: find libXtst.
4305 2001-11-21 Michael Meeks <michael@ximian.com>
4307 * test/accessx-gui.c: s/spi_value/value/ - doh.
4309 * libspi/base.[ch]: add.
4311 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4313 * idl/Accessible.idl:
4314 * idl/Application.idl:
4317 Started gtk-doc cleanup on IDL.
4319 * libspi/deviceeventcontroller.c:
4320 Added and connected non-preemptive key notification from the
4321 toolkits (in addition to the pre-emptive support from XServer
4322 which we had before, but which causes 'focus flashing'). Filters
4323 are presently limited to key modifiers and global/non-global,
4324 KeySets are presently ignored, as are KeyEvent masks.
4326 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4327 structs into the persistant structure rather than just storing
4328 pointers to things that might not persist across servant
4331 The XGrabKey call now does async keygrabs, because synchronous
4332 ones were deadlocking with GDK_event code in a very nasty way.
4334 Added boolean to internal method notify_keylisteners, to indicate
4335 whether the event came from the 'toolkit source' or the 'global
4336 (XServer) source' - this is used in the notification process to
4337 determine which listeners to send the event to.
4339 deviceeventcontroller.c is now warning-free.
4341 * libspi/registry.c:
4342 Fixed regression in application de-registration.
4343 Also fixed some really brain-dead weirdness having to do with
4344 event dispatching - event structs are now duplicated before being
4345 re-marshalled in the dispatch to listeners. This also fixes a
4346 Solaris build problem.
4349 2001-11-20 Michael Meeks <michael@ximian.com>
4352 (impl_accessibility_registry_deregister_global_event_listener):
4355 * libspi/deviceeventcontroller.c
4356 (spi_device_event_controller_check_key_event): return
4357 FALSE on no virtual method.
4359 * libspi/*..h: make includes work on a correctly pathed install.
4361 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4363 * libspi/application.h: kill unused ( and whacked out )
4364 gboolean *spi_application_set_id (AtkObject *app, long id);
4366 2001-11-20 Michael Meeks <michael@ximian.com>
4368 * libspi/*.[ch]: further convert to bonobo's type func
4369 macros, remove redundnant casts etc.
4371 * libspi/text.c s/accessibility_text/spi_text/g,
4372 re-order to de-cruft.
4374 * libspi/hypertext.c: re-order to kill a huge slew
4375 of redundant forward decls.
4377 * libspi/relation.c: ditto.
4379 * libspi/image.c: ditto.
4381 * */.cvsignore: update
4383 2001-11-20 Michael Meeks <michael@ximian.com>
4385 * libspi/deviceeventcontroller.c
4386 (_controller_register_with_devices): use g_getenv,
4387 kill stdlib.h include.
4389 * libspi/keystrokelistener.c
4390 (spi_keystroke_listener_get_type): kill
4391 (spi_keystroke_listener_class_init),
4392 (spi_keystroke_listener_init): rename to this.
4394 * libspi/text.c (impl_getAttributes): fix warning / bug.
4396 * libspi/*.[ch]: more headers, includes and over commenting.
4398 2001-11-20 Michael Meeks <michael@ximian.com>
4400 * libspi/*.[ch]: fixup headers, includes and over commenting.
4402 * libspi/image.c (impl__get_imageDescription): const
4403 correctness warning fix. remove redundant casting.
4405 * libspi/table.c (impl_getRowDescription): ditto.
4406 (impl_getColumnDescription): ditto.
4408 * libspi/libspi.h: add.
4410 2001-11-19 Michael Meeks <michael@ximian.com>
4412 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4414 * libspi/component.c (accessibility_component_get_type):
4415 rename to (spi_component_get_type): and macroify.
4416 (accessibility_component_init): rename to
4417 (spi_component_init): this
4418 (accessibility_component_class_init): rename to
4419 (spi_component_class_init): this
4421 * libspi/action.c (spi_action_get_type): kill, use the macro.
4423 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4426 * libspi/application.c (spi_application_object_event_listener),
4427 (impl_accessibility_application_register_object_event_listener):
4428 warning fixes / const understanding updates.
4430 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4433 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4435 * libspi/spi_accessible.c: Added docs and C bindings for
4436 AccessibleStateSet. (No implementations yet). Documentation
4437 coverage for C bindings now 100%. Made docs for event listeners
4442 boolean notifyListenersSync (in DeviceEventListener listener,
4443 in DeviceEvent event);
4445 oneway void notifyListenersAsync (in DeviceEventListener listener,
4446 in DeviceEvent event);
4448 Added DeviceEventListener and DeviceEvent structs (may deprecate
4449 KeyStroke and KeystrokeListener in favor of this generic
4450 event/listener framework for devices).
4452 * libspi/deviceeventcontroller.c:
4454 Changed some key listener code to take masks, etc., and paved the
4455 way for integration of toolkit/non-preemptive key events. Changed
4456 signatures of some internal methods.
4458 * at-bridge/bridge.c:
4459 Fixed regression connecting to interface signals, apparently
4460 caused by GTK+ changes.
4462 Added an internal bridge_state_listener to deal with
4463 property-change:accessible-state signals.
4465 Changed the key_listeners GList to store structs (including masks,
4466 etc.) instead of just CORBA_Objects (required for full
4467 implementation of key listener API).
4469 Connected the bridge to all currently supported Atk signals.
4470 Events now supported:
4471 object:property-change
4472 object:property-change:accessible-name
4473 object:property-change:accessible-state
4474 object:property-change:accessible-description
4475 object:property-change:accessible-parent
4476 object:property-change:accessible-value
4477 object:property-change:accessible-role
4478 object:property-change:accessible-table-caption
4479 object:property-change:accessible-table-column-description
4480 object:property-change:accessible-table-column-header
4481 object:property-change:accessible-table-row-description
4482 object:property-change:accessible-table-row-header
4483 object:property-change:accessible-table-summary
4484 object:children-changed
4485 object:visible-data-changed
4486 object:selection-changed
4487 object:text-selection-changed
4489 object:text-caret-moved
4491 object:row-reordered
4493 object:column-inserted
4494 object:column-reordered
4495 object:column-deleted
4496 object:model-changed
4498 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4500 * libspi/hyperlink.c,h:
4501 Fixed some broken stuff in hyperlink.
4503 * libspi/relation.h:
4504 * libspi/relation.c:
4505 * cspi/spi_accessible.c:
4506 Initial implementations of AccessibleRelation methods, and docs.
4508 * libspi/accessible.c:
4509 Fixed a bug that caused SEGV if an accessible
4510 object's description is NULL, and a client
4511 requests it. An empty string is now returned.
4513 * cspi/spi_editabletext.c:
4514 * cspi/spi_hypertext.c:
4516 * cspi/spi_hyperlink.c:
4520 Doc coverage now 95%.
4522 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4524 One last namespacing revision:
4525 * libspi/accessibleeventlistener.[ch]:
4526 Renamed SpiAccessibleEventListener to SpiEventListener,
4527 (no need for two namespaces ;-)
4529 And lots of documentation fixes:
4531 * docs/at-spi-docs.sgml:
4532 Fixed 'underscore vs. hyphen' bug that was preventing
4533 the gtk-doc API docs from being automatically generated.
4536 * cspi/spi-listener.h
4538 * cspi/spi_accessible.c
4540 * cspi/spi_application.c
4541 * cspi/spi_component.c
4542 * cspi/spi_editabletext.c
4544 * cspi/spi_hypertext.c
4546 * cspi/spi_registry.c
4547 * cspi/spi_selection.c
4551 * docs/at-spi-docs.sgml
4552 * docs/at-spi-sections.txt
4554 Added and fixed up gtk-doc documentation in cspi.
4556 Interfaces now (fully) documented (subject to revision and enhancement):
4558 Event Listener Support
4560 AccessibleApplication
4564 AccessibleEditableText
4571 AccessibleRelationSet
4576 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4578 * at-bridge/bridge.c:
4579 Initial work for toolkit-level key snooper connection by bridge.
4584 New typedefs and fixes to support new namespacing, and cleaner
4585 separation of cspi bindings from libspi bonobo implementation.
4586 Removed inconsistent and extraneous Spi* namespace prefix that
4587 had crept into cspi headers.
4588 Lots of comment fixes that sed had missed.
4590 * cspi/spi-roletypes.h:
4591 * cspi/spi-statetypes.h:
4592 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4593 to AccessibleRoleType.
4595 * libspi/accessibleeventlistener.h:
4596 Fixed minor namespacing weirdness.
4598 * libspi/deviceeventcontroller.c:
4599 Reordered some internal API for device listeners.
4600 Changed the key registry final boolean to 'is_system_global'
4601 rather than 'is_synchronous', which is more descriptive of its
4603 Added spi_device_event_controller_new().
4604 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4606 * libspi/keystrokelistener.[ch]:
4607 Namespaced KeystrokeListener to SpiKeystrokeListener.
4608 Changed uses of keymasks to use SPI_ prefix, and did other
4611 * libspi/keymasks.h:
4612 Namespaced keymask constants with SPI_ prefix.
4614 * libspi/registry.c:
4615 Some warning fixes, and knock-on fixes from namespace changes.
4618 Added rules for accessx-gui test program.
4620 * test/accessx-gui.c:
4621 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4622 utility. It doesn't actually use at-spi, but it's still cool and
4625 * test/keysynth-demo.c:
4629 Fixes so that these test clients work properly with the namespaced
4630 libraries. (Incompletely tested for technical reasons, fixes may follow)
4633 2001-11-13 Michael Meeks <michael@ximian.com>
4635 * libspi/application.c
4636 (impl_accessibility_application_get_version),
4637 (impl_accessibility_application_get_toolkit_name):
4639 (impl_accessibility_application_set_id),
4640 (impl_accessibility_application_get_id): remove
4641 redundant casting code.
4643 * libspi/action.c (impl_getDescription): fix warnings.
4645 * libspi/accessible.c
4646 (impl_accessibility_accessible_get_parent),
4647 (impl_accessibility_accessible_get_child_at_index),
4648 (impl_accessibility_accessible_get_state),
4649 (impl_accessibility_accessible_get_relation_set):
4650 warning fixes & include action.h
4652 2001-11-13 Michael Meeks <michael@ximian.com>
4654 * *.[ch] fix bits I screwed up:
4656 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4657 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4659 2001-11-13 Michael Meeks <michael@ximian.com>
4661 * *.[ch] Namespace libspi into spi_ and Spi.
4663 2001-13-11 Michael Meeks <michael@ximian.com>
4665 * Makefile.am: dist & install at-spi-1.0.pc
4667 * libspi/Makefile.am: install into at-spi-1.0
4669 * idl/Makefile.am (idldir): install into at-spi-1.0
4671 * at-spi-1.0.pc.in: add.
4673 * configure.in: build it.
4675 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4677 * test/keysynth-demo.c:
4678 Use a 'realize' signal-handler to set the WM properties for
4679 the virtual keyboard, rather than making it a "POPUP" type
4680 override-redirect window (thanks to anders carlsson for that
4683 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4686 * test/keysynth-demo.c:
4687 Added new test of key synthesis, which creates a simple
4688 (mouse-operated) onscreen keyboard. It inserts key events into
4689 the currently-focused window, thus it does not grab keyboard focus
4692 * cspi/spi_registry.c:
4693 Added C binding for AT-SPI generateKeyEvent.
4695 * libspi/deviceeventcontroller.c:
4696 Added call to XFilterEvent so that key listener works with XIM (we
4697 hope). Added event_synth_type to generateKeyEvent, so that we can
4698 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4699 synthesize a press/release pair for KeySyms.
4701 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4703 * libspi/Makefile.am:
4704 * registryd/Makefile.am:
4705 (temporary) hack to include libXtst in libspi and registryd.
4706 (Needed for keystroke synthesis, see below).
4709 Improved API for registerKeystrokeListener, in accordance with
4710 discussions with Gnopernicus team and X server research.
4712 * libspi/registry.c:
4713 * libspi/deviceeventcontroller.c:
4714 * libspi/accessible.c:
4715 * libspi/keystrokelistener.c:
4716 Changes and fixes to support keylisteners for potentially
4717 consumed key events (that is, 'passive grabs').
4718 Added implementation for generateKeyEvent() [untested].
4721 Changes to registerKeystrokeListener() API, as above.
4722 Added deregisterGlobalEventListenerAll(), and
4723 deregisterKeystrokeListener(), which are needed for clean exit of
4725 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4726 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4728 * cspi/spi_registry.c:
4729 Added implementations of function prototypes mentioned above.
4731 * registryd/registryd.c:
4732 Added the key listener event source as a g_timeout(), to allow
4733 receipt of key events that are not caught by GDK (since GDK
4734 doesn't support passive keygrabs, this was necessary).
4737 Changed to attach a keylistener to 'Alt' keys, and
4738 respond to the following keycommands: Alt-M (toggle magnifier);
4739 Alt-F (toggle speech); Alt-Q (quit).
4740 Added an exit routine to deregister the listeners, and a key
4741 listener that prints some key info to the console when a key
4742 matches the listener mask (and is thus received by the listener).
4744 * util/idl/Magnifier.idl:
4745 Changes to magnifier API to support multiple zoom regions,
4746 non-uniform scaling in x and y, markDirty, and a host of other
4747 features that would be useful to magnification.
4750 * util/mag_client.c:
4751 * util/mag_client.h:
4752 * util/mag_control.c:
4754 Source code changes to support the above IDL changes.
4757 As above, and also changes to use a (slower) generic conversion
4758 path for colormap conversions, since the fast RGB conversions have been
4759 reported to fail for 16-bit displays.
4761 2001-10-26 Michael Meeks <michael@ximian.com>
4763 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4765 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4767 * at-bridge/Makefile.am: fix LDFLAGS.
4769 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4771 * at-bridge/bridge.c:
4772 Re-worked listeners for toolkit events, now we have signal
4773 and property listeners. Added a private method
4774 register_atk_event_listeners(), which registers with the
4775 various atk and gtk signals we need to monitor in order to emit
4777 Added emission hook for AtkObject:property-change events, to
4778 support the 'property listeners'.
4779 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4782 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4783 which emit warnings and exit, respectively, if CORBA errors occur
4784 during remote calls, and we now use these methods to check most of
4785 our CORBA calls in the C bindings.
4787 * cspi/spi_accessible.c:
4788 Changed AccessibleSelection_refSelectedChild() to
4789 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4790 now increment refcounts.
4792 * cspi/spi_component.c:
4793 Fixed some long pointer casts (dangerous!) to pass pointers to
4794 CORBA_longs of the proper type to the CORBA stubs, and copy the
4795 data into the longs that were passed into the C bindings code.
4797 * at-bridge/bridge.c:
4799 * libspi/accessible.c:
4800 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4801 hyperlinks, AtkHyperlink is an object type.
4803 * libspi/application.c:
4804 Added various conversions to and from "generic" event types and
4805 atk-specific types; this is really part of the 'bridge'
4806 implementation but is valid for all AtkObject-based accessibility
4809 * libspi/editabletext.c:
4810 Fixed nasty bug wherein editable text's finalize method was
4811 unref'ing tha AtkObject reference that the text parent class was
4812 about to unref _again_. There was also a nasty inheritance bug
4813 that meant that the AccessibleEditableText class was corrupt.
4815 * libspi/selection.c:
4816 Provided implementations for some selection API that was broken.
4818 * idl/Application.idl:
4819 Added registerObjectEventListener () method.
4822 Fixed a number of return values that were Bonobo_Unknowns from
4823 bonobo_object_corba_objref(), which I
4824 forgot to dup before returning. Changed instances of
4825 bonobo_object_corba_objref (bonobo_object(o)) to
4826 BONOBO_OBJREF(o), for concision and clarity.
4828 2001-10-13 Louise Miller <louise.miller@sun.com>
4830 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4831 idl/Event.idl, idl/Registry.idl
4832 Changed these files to include Bonobo_Unknown.idl instead
4835 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4837 * libspi/component.c libspi/component.h:
4838 Fixed typo. Added assertions for object checks in
4839 AccessibleComponent code.
4841 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4843 * idl/Accessible.idl:
4844 Added 'isEqual (Accessible *object)'
4845 method for Accessible. (Not Yet Implemented).
4848 Changed signature of registerKeystrokeListener() to
4849 take a KeySet and KeyEventSeq so that specific keys and event
4850 types could be requested for monitoring, and added a flag
4851 is_synchronous so that either synchronous or asynchronous
4852 notification could be requested. (However this is not all
4853 implemented yet). This also meant adding two new typedefs,
4854 KeyEventSeq and KeySet.
4857 Added two new relations, RELATION_TOOLTIP_FOR and
4858 RELATION_LEAFNODE_OF.
4861 Added new state, STATE_HAS_TOOLTIP.
4863 * libspi/text.c, editabletext.c:
4864 Added new assertions to all casts of bonobo-objects from
4865 CORBA servants, to prevent Text API calls on non-text objects.
4866 Changed suspect casts of int-pointer types, so that we
4867 always send a valid CORBA_long pointer to the CORBA APIs that use
4868 in/out long parameters. We then have to copy from the CORBA_long
4869 into the regular long or int for return to the C bindings, or
4870 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4873 * libspi/deviceeventcontroller.c:
4874 Cleaned these sources up.
4876 Changed return type for getCharacterAtOffset to
4877 CORBA_unsigned_long, to allow for 32-bit characters.
4880 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4884 Fixed 'make dist' so that distro compiles...
4885 * libspi/keymasks.h:
4887 * cspi/spi-listener.c:
4888 KeystrokeListenerCB now returns a boolean.
4890 Added KeyEventType struct, and KeyStroke.
4891 Also added createKeystrokeListener(),
4892 KeystrokeListener_addCallback(),
4893 KeystrokeListener_removeCallback(), and added a keymask to
4894 registerKeystrokeListener().
4895 * cspi/spi_accessible.c:
4896 Changed numerous return types for interfaces from
4897 AccessibleComponent to Accessible<InterfaceName>; this was
4898 probably a cut-and-paste error.
4900 Implementations of new KeystrokeListener api (from spi.h,
4903 Changes to key modifier mapping.
4904 Created ControllerEventMask struct.
4905 Made DeviceEventController derive from Bonobo::Unknown.
4907 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4908 * libspi/deviceeventcontroller.c:
4909 Added a number of new internal (private) methods.
4910 * libspi/editabletext.c:
4911 * libspi/editabletext.h:
4912 Fixed a number of bugs related to the fact that
4913 editabletext inherits from text. Fixed the EditableText struct,
4914 the init() call, and use correct casts when calling Text methods
4915 from an EditableText object. Removed (duplicate) atko from the
4916 EditableText structure, we use the one in the parent Text
4917 structure via the casts mentioned above.
4918 * libspi/keystrokelistener.[ch]:
4919 * libspi/registry.c:
4920 Changes in support of keyboard handling (above).
4922 Keyboard handling, though partly functional, is still not
4923 recommended for at-spi client use as there is considerable
4924 work yet to be done.
4927 Changed some places where pointers to various int types
4928 are cast to be pointers to CORBA_long types and vice-versa:
4929 pointer casting is not safe so we pass pointers of the correct
4930 types and then cast the result before putting it into the target
4933 * libspi/text.h: minor typos corrected.
4935 We now speak not only the name of a Text element, but the
4936 first sentence of its content, when it receives focus.
4937 I also changed the text compression to 75% from 50%.
4938 * util/Accessibility_Util.server.in:
4939 Changed the default magnifier type to be a 3x vertical
4940 splitscreen magnifier (was previously a 2x horizontal one).
4942 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4944 * libspi/keystrokelistener.h:
4945 * libspi/keystrokelistener.c:
4946 Initial functional implementations of KeystrokeListener.
4949 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4951 Fixed string handling for NULL strings in libspi.
4952 Added spi_freeString to free strings returned by C bindings.
4954 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4956 * libspi/keystrokelistener.h:
4957 * libspi/keystrokelistener.c:
4958 Began (no-op) implementations of KeystrokeListener
4960 * libspi/deviceeventcontroller.c:
4961 * libspi/deviceeventcontroller.h:
4962 Began creating implementations of DeviceEventController,
4963 to handle keystroke and mouse event listening and
4965 * libspi/accessible.c:
4966 Stubbed-in the implementations for
4967 Accessibility_Accessible_getState and
4968 Accessibility_Accessible_getRelationSet.
4969 * libspi/registry.c:
4970 Improved de-registration process and fixed some bugs,
4971 deregistration now works correctly.
4973 Added initialization of applications list (to NULL).
4975 Reduced speech compression from 0.5 to 0.7, for demo.
4976 Changed call to gdk_window_set_decorations()
4977 to gtk_window_set_decorated().
4978 * at-bridge/bridge.c:
4979 Bridge now deregisters when app exits, via
4980 registration of a cleanup function
4981 with the g_atexit() call.
4982 Required making 'app' static, renamed 'this_app'.
4983 Fixed broken use of bonobo_init, passing argv wrongly.
4985 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4989 Created a new directory for
4990 accessibility-related utilities, primarily for
4991 testing and demo purposes, but with possible
4998 Onscreen magnifier utility that
4999 is implemented as a bonobo service.
5001 * util/mag_client.c:
5002 * util/mag_client.h:
5003 Client-side support (simple C bindings)
5004 for Magnification service
5006 * util/mag_control.c:
5007 Client program example for
5008 Magnification service
5010 * util/Accessibility_Magnifier.server.in:
5011 Bonobo-activation file for the
5012 Magnification service.
5015 * util/idl/Magnifier.idl:
5016 IDL defining the bonobo Magnification
5020 Modifications to use the bonobo-activated magnifier
5021 above, in place of trying to connect to an existing
5022 magnifier that uses socket-listening IPC.
5024 If env variable MAGNIFIER is set, a magnifier service
5025 will be started if one does not exist.
5027 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5029 * at-bridge/bridge.c:
5030 applied patch from Marc to build and run
5031 against new glib and gtk+ (seemed like a change
5032 to bonobo_init signature was made ?)
5034 made festival-server support turned off by default.
5035 Added support for a simple magnifier (off by default)
5036 which will be added to a 'util' directory later.
5037 * at-bridge/Makefile.am:
5038 Changed "application.h" header from a 'source'
5039 to a 'dependency' of libat-bridge.
5041 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5050 Added interface implementation c files to list of
5051 includes so they are included in libcspi.
5054 Changed prototype of AccessibleAction_doAction to return a
5056 Changed prototype of AccessibleTable_getCaption to
5057 return an Accessible.
5058 Changed prototype of AccessibleTable_getSelectedRows
5059 and AccessibleTable_getSelectedColumns to
5060 return a long (returns the number of selected rows
5061 or columns respectively).
5062 Changed name of AccessibleText_refRunAttributes to
5063 AccessibleText_getAttributes.
5064 Changed prototype of AccessibleText_getCharacterExtents to
5065 return a void rather than a boolean.
5066 Added support for a AccessibleCoordType parameter
5067 specifying what type of coordinates are desired.
5068 Added an AccessibleCordType parameter to
5069 AccessibleText_getPointAtOffset.
5071 * cspi/spi_accessible.c:
5072 Added code to return the outstanding interfaces from
5073 Accessible_queryInterface.
5075 * cspi/spi_action.c:
5077 Corrected call to getNActions to call the c binding
5080 * cspi/spi_editabletext.c:
5082 Changed name from setRunAttributes to setAttributes.
5084 * cspi/spi_hyperlink.c:
5086 Changed call to getNAnchors to correctly call the c
5087 binding for an attribute.
5089 * cspi/spi_hypertext.c:
5091 Changed getImageDescription to correctly call the
5092 binding for an attribute.
5094 * cspi/spi_selection.c:
5095 Changed getNSelectedChildren to correctly call the c
5096 binding for the attribute.
5097 Changed refSelectedChild to getSelectedChild.
5101 Changed getCaption to return an Accessible.
5102 Fixed calls which retrieve attributes.
5103 Changed refAt to getAccessibleAt.
5104 Changed getNSelectedRows and getNSelectedColumns to
5108 Changed getCharacterExtents and getPointAtOffset to accept an
5109 AccessibleCoordType.
5111 Changed calls which retrieve attributes.
5112 Changed refRunAttributes to getAttributes.
5117 * idl/Hyperlink.idl:
5118 Changed n_anchors attribute to nAnchors to keep naming
5119 convention consistent.
5122 Made Table inherit from Bonobo::Unknown.
5123 Added nSelectedColumns and nSelectedRows attributes.
5126 Made Value inherit from Bonobo::Unknown.
5128 * libspi/hyperlink.c:
5129 Change for nAnchors attributte name change.
5131 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5139 Added interface implementation c files to list of
5140 includes so they are included in libcspi.
5143 Changed prototype of AccessibleAction_doAction to return a
5145 Changed prototype of AccessibleTable_getCaption to
5146 return an Accessible.
5147 Changed prototype of AccessibleTable_getSelectedRows
5148 and AccessibleTable_getSelectedColumns to
5149 return a long (returns the number of selected rows
5150 or columns respectively).
5151 Changed name of AccessibleText_refRunAttributes to
5152 AccessibleText_getAttributes.
5153 Changed prototype of AccessibleText_getCharacterExtents to
5154 return a void rather than a boolean.
5155 Added support for a AccessibleCoordType parameter
5156 specifying what type of coordinates are desired.
5157 Added an AccessibleCordType parameter to
5158 AccessibleText_getPointAtOffset.
5160 * cspi/spi_accessible.c:
5161 Added code to return the outstanding interfaces from
5162 Accessible_queryInterface.
5164 * cspi/spi_action.c:
5166 Corrected call to getNActions to call the c binding
5169 * cspi/spi_editabletext.c:
5171 Changed name from setRunAttributes to setAttributes.
5173 * cspi/spi_hyperlink.c:
5175 Changed call to getNAnchors to correctly call the c
5176 binding for an attribute.
5178 * cspi/spi_hypertext.c:
5180 Changed getImageDescription to correctly call the
5181 binding for an attribute.
5183 * cspi/spi_selection.c:
5184 Changed getNSelectedChildren to correctly call the c
5185 binding for the attribute.
5186 Changed refSelectedChild to getSelectedChild.
5190 Changed getCaption to return an Accessible.
5191 Fixed calls which retrieve attributes.
5192 Changed refAt to getAccessibleAt.
5193 Changed getNSelectedRows and getNSelectedColumns to
5197 Changed getCharacterExtents and getPointAtOffset to accept an
5198 AccessibleCoordType.
5200 Changed calls which retrieve attributes.
5201 Changed refRunAttributes to getAttributes.
5206 * idl/Hyperlink.idl:
5207 Changed n_anchors attribute to nAnchors to keep naming
5208 convention consistent.
5211 Made Table inherit from Bonobo::Unknown.
5212 Added nSelectedColumns and nSelectedRows attributes.
5215 Made Value inherit from Bonobo::Unknown.
5217 * libspi/hyperlink.c:
5218 Change for nAnchors attributte name change.
5221 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5223 implementations-- made server implementations own AtkObject pointers
5224 rather than their respective AtkInterrface pointers to fix
5225 refcounting. AtkHyperlink is still broken.
5227 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5228 * cspi/spi_accessible.c:
5229 Added method Accessible_Role_getName(),
5230 and requisite string array (role_names).
5231 Added conversion string_from_corba_strin() call
5232 to Accessible_getName and _getDescription.
5233 * libspi/accessible.c:
5234 Added implementation for Accessible_getRole()
5236 Added festival support, used if environment variable
5239 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5241 * at-bridge/bridge.c:
5242 Now allocate Accessibility_Event using
5243 Accessibility_Event__alloc() instead of g_new0().
5244 * libspi/accessibleeventlistener.c:
5245 Initialize AccessibleEventListener->callbacks to NULL.
5246 Fixed accessible__event_listener_init() param, changed to
5247 "AccessibleEventListener *" type.
5248 Changed a bonobo_object_release_unref() call to
5249 Accessibility_Accessible_unref().
5250 * libspi/listener.c:
5251 Changed Bonobo_Unknown_unref to (equivalent)
5252 Accessibility_Accessible_unref.
5253 * libspi/registry.c:
5254 Changed bonobo_object_release_unref to
5255 Accessibility_Accessible_unref.
5257 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5260 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5261 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5262 spi-util.c spi-util.h
5263 Implementations for C bindings to remaining accessibility
5266 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5269 changed return value of Action from void to boolean to
5270 bring in line with ATK.
5273 Changed getText funcions to return "out" start and end offsets.
5274 Changed getAttributes to take and offset and return the start
5275 and end offset of the attribute run.
5276 Changed getOffsetAtPoint and getCharacterExtents to take an
5277 enum describing whether coordinates are window or screen.
5280 libspi/action.c libspi/action.h libspi/editabletext.c
5281 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5282 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5283 libspi/image.h libspi/selection.c libspi/selection.h
5284 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5285 libspi/value.c libspi/value.h
5286 Added server implementations for outstanding ATK interfaces
5287 not yet implemented.
5289 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5292 Added (missing) getName() method.
5293 Made nActions an attribute.
5294 * idl/EditableText.idl:
5295 Changed order of params in setAttributes.
5296 * idl/Hyperlink.idl:
5297 Removed getAnchor, added getURI.
5299 Changed attributes to methods, for efficiency
5300 (so that getting extents can be done in one call)
5301 * idl/Selection.idl:
5302 Changed nSelectedChildren to attribute, and re-indented.
5303 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5305 * idl/Text.idl: reformatted to match our coding style.
5306 (temporarily?) removed getRowColumnAtOffset().
5307 Changed text selection API to support multi-select and
5308 non-contiguous selections, as in ATK.
5309 * idl/Value.idl: changed some methods to attributes.
5311 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5313 * libspi/listener.c(impl_notify_event):
5314 BonoboUnkown_unref the source instead
5315 of bonobo_object_release_unref - the ORB
5316 handles the releasing.
5318 * configure.in: require ORBit-2.3.94 for
5321 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5323 Tagged CVS repository 'EA_1_0'.
5324 * README.EARLY_ACCESS:
5325 Alphabetized acknowledgements list, and
5327 Listed some known dependencies of at-spi.
5329 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5331 * docs/at-spi-docs.sgml:
5332 * docs/at-spi-sections.txt:
5333 * docs/at-spi-overrides.txt: (Added zero-length file)
5334 Documentation improvements - gtk-doc should build
5335 docs for all implemented C bindings now.
5338 * cspi/spi.c: (New file)
5339 * cspi/spi_event.c: (New file)
5340 * cspi/spi_registry.c: (New file)
5341 * cspi/spi_accessible.c: (New file)
5342 * cspi/spi_application.c: (New file)
5343 * cspi/spi_component.c: (New file)
5344 Split spi_main.c into six parts, and included them from
5345 "spi.c". This is a bit of a hack, probably temporary,
5346 but required by gtk-doc, apparently.
5348 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5351 * docs/at-spi-docs.sgml:
5352 * docs/at-spi-sections.txt:
5354 Initial checkins/modifications for gtk-doc generation.
5357 Added (missing) interface query methods to Accessible's C binding.
5359 Added GenericInterface type definition.
5361 Added query for AccessibleComponent interface to focus event handler.
5362 Added printout of bounding box for focussed component.
5363 * libspi/component.c:
5364 Added partial implementation for AccessibleComponent to C binding.
5365 * idl/Application.idl:
5366 * libspi/registry.c:
5367 * libspi/listener.c:
5368 * libspi/application.c:
5369 * libspi/application.h:
5370 Changed "ID" attribute type from string to long.
5372 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5376 Made method naming consistent: methods taking object args
5377 start with uppercase, other methods (except those using
5378 acronyms) start with lowercase. Underscores delimit between
5379 object names and method names:
5380 SPI_init() - uppercase since it starts with an acronym.
5381 getDesktopCount () - lowercase start since no object param0.
5382 Accessible_getName() - uppercase object type name, studlyCaps method
5386 Added gtk-doc documentation for all currently implemented
5387 methods in the C bindings API.
5389 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5391 * Makefile.am : changed build order to build test last.
5394 Changed "createEventListener" to "CreateEventListener".
5395 * libspi/accessibleeventlistener.c :
5396 Bugfix for addition of callbacks.
5397 * test/Makefile.am :
5398 * test/simple-at.c :
5399 Added new test that uses the C bindings API.
5401 * libspi/listener.c :
5402 * libspi/registry.c :
5403 * libspi/accessibleeventlistener.c :
5404 * at-bridge/bridge.c :
5405 Renamed member "target" of Accessibility_Event to "source",
5406 which is more descriptive.
5409 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5413 * cspi/Makefile.am :
5414 Added makefile support for at-spi/cspi directory.
5417 * cspi/spi-listener.h : (NEW FILE)
5418 Added support for/use of spi-listener.h.
5420 C bindings now build successfully, with no warnings.
5421 * libspi/accessibleeventlistener.h : (NEW FILE)
5422 * libspi/accessibleeventlistener.c : (NEW FILE)
5423 * libspi/Makefile.am :
5424 Added new object type "AccessibleEventListener"
5425 which inherits from Listener, and allows attachment
5426 of in-process callbacks (so that a client with a listening
5427 object instance can add functionality to the local
5428 implementation, dynamically).
5430 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5432 * libspi/accessible.c:
5433 Add implementation for get_index_in_parent().
5435 Added #include of "spi-roletypes.h", and
5436 added enumerated type AccessibleCoordType.
5437 Added definition for KeystrokeListener (function type).
5440 * cspi/spi-statetypes.h :
5441 * cspi/spi-roletypes.h :
5443 Added these headers, used by spi.h.
5445 Added code (NOTE: not yet built by make).
5447 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5449 * libspi/Makefile.am: generate imodule
5450 at the same time as other idl compiler
5453 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5454 * libspi/registry.c :
5455 * libspi/application.c :
5456 * idl/Application.idl :
5457 Made registration with toolkit an application method,
5458 which is required since each app has its own toolkit static
5459 environment. Thus the bridge must register for
5460 notification of toolkit events from each application in turn.
5461 Toolkit notifications are now successfully registered for, and
5462 sent to the listening at client.
5464 Changed toolkit event string to use hyphens rather than underscores.
5465 * libspi/listener.c :
5466 listner now gives more info in debug mode - it reports the
5467 name of the event received, as well as the name of the source.
5470 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5472 * libspi/registry.c :
5473 added more implementation for toolkit events.
5474 Fixed bug such that toolkit event registrations
5475 (via atk) use the whole event name string, not
5477 Removed a useless call to an ORBit_ method.
5478 * at-bridge/bridge.c :
5479 Removed unused local sbuf[] variable.
5481 We now register for Gtk:GtkWidget:button_press_event
5482 events as well as "focus:" events.
5484 Add some more API from Registry.idl that was missing,
5485 for keystroke listening, keystroke and mouse event
5486 synthesis, and enumeration of accessible desktops.
5488 2001-08-16 Michael Meeks <michael@ximian.com>
5490 * configure.in: use AM_GLIB_GNU_GETTEXT.
5492 * Makefile.am (SUBDIRS): kill intl.
5494 2001-08-15 Michael Meeks <michael@ximian.com>
5496 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5498 * configure.in: upd.
5500 * configure.in: depend on a recent bonobo-activation that
5501 will find our server files ...
5503 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5505 * libspi/accessible.c : accessible_new() :
5506 Now we add the Component interface via bonobo_object_add_interface,
5507 if the contained AtkObject implements AtkComponent.
5508 * libspi/accessible.h : now include "component.h"
5509 * libspi/component.h :
5510 * libspi/component.c : added files - implementation of
5511 bonobo wrapper object for Accessibility/Component
5512 * libspi/listener.c :
5513 Added test code to check for Accessibility/Component:1.0
5514 interface and report whether it is implemented by the
5516 * libspi/registry.c :
5517 Now we check for not only the hash of the whole event
5518 string before relaying the event, we also check the
5519 "minor" event string (without the detail string).
5520 This allows event listeners to be registered against
5521 all events of a certain major+minor type, or just
5522 against a specific major+minor+detail type.
5523 * libspi/accessible.c :
5524 Added implementations for Accessible:get_parent(),
5525 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5526 * libspi/registry.c :
5527 * libspi/listener.c :
5528 Replaced calls to Accessibility_Accessible_ref() and
5529 Accessibility_Accessible_unref() with
5530 calls to bonobo_object_dup_ref() and
5531 bonobo_object_release_unref(), so that the CORBA object
5532 is dup-ed and released when relayed, as well as the bonobo object.
5534 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5536 * libspi/Makefile.am,
5537 registryd/Makefile.am,
5538 at-bridge/Makefile.am.
5539 test/Makefile.am, configure.in:
5540 reverse previous changes.
5542 * /idl/Image.idl: fix typo.
5544 * test/Makefile.am: put DEBUG_FLAGS
5547 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5549 * test/app.c: use argv[0] instead of
5552 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5554 * libspi/Makefile.am,
5555 registryd/Makefile.am,
5556 at-bridge/Makefile.am.
5557 test/Makefile.am, configure.in:
5558 cleanup, replace individual LIBS/CFLAGS with
5559 AT_COMMON_{LIBS|CFLAGS}.
5563 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5565 * configure.in, libspi/Makefile.am:
5566 Change IDL path checking for bonobo-activation
5569 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5571 * registryd/registry.c : separated event listeners to use
5572 3 separate lists (focus, window, toolkit). Began testing
5573 event names against hashes before relaying events.
5574 * test/at.c : now register for events of type "focus:"
5575 * test/app.c : now generate events of type "focus:"
5576 * at-bridge/bridge.c : register with ATK for focus events,
5577 and we now relay those focus events to any "focus:" listeners.
5578 This now works with the bridge as a GTK_MODULE when running test/at.
5579 * libspi/registry.c :
5580 * libspi/listener.c :
5581 now we ref event sources before propagating, and unref on receipt.
5582 * libspi/registry.c :
5583 some changes to internal structs, to support event typestring hashes.
5584 * text/app.c : changed the way the appname is generated.
5585 * cspi : added directory that will hold the C bindings library for
5586 non-CORBA/bonobo-savvy clients.
5587 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5588 * idl/Component.idl : added in parameter to indicate coord system for
5589 geometry-related calls.
5590 * idl/Hyperlink.idl : added readonly n_links attribute
5591 * idl/Image.idl : changed methods to attributes.
5593 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5595 * at-bridge/Makefile.am: link against
5596 ../libspi/libspi.la instead of -lspi.
5598 * at-spi/test/app.c: include
5599 bonobo-activation.h. Use a default appname
5600 if one is not provided.
5602 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5604 * idl/Registry.idl : temporarily changed register_Application
5605 to oneway, to work around issue with initial registration
5607 * idl/Application.idl : changed attribute "id" from readonly
5608 to read-write, since it needs to be assigned by Registry.
5609 * registryd/registryd.c : added call to set application id
5611 * registryd/registry.c : changed de-registration procedure to
5612 use CORBA_Object_hash() to find matching object ref in application
5613 lists and listener lists.
5614 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5615 began distinguishing between event types (work in progress).
5617 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5620 * libspi/application.c:
5621 Added implementations for get/set id, get_toolkitName,
5623 * registryd/registryd.c :
5627 Converted from use of OAF to bonobo-activation.
5628 * libspi/desktop.h :
5629 * libspi/desktop.c :
5631 Removed references to atksimpleobject, since base atkobject
5632 implementation now provides functionality we need.
5633 * libspi/atksimpleobject.c :
5634 * libspi/atksimpleobject.h :
5639 * at-bridge/Makefile.am
5640 * at-bridge/bridge.c
5643 Added directory "bridge" and contents, and added dependencies
5644 in Makefile.am/configure.in.
5645 Initial checkin of "at-bridge".
5646 This code is a GTK_MODULE which automatically registers
5647 GTK+ apps with the accessibility registry, using an object
5648 reference to the root ATK object.
5650 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5652 * po/Makefile.in.in: Remove. Again. If this
5653 doesn't get autogenerated - you need to update
5656 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5658 * po/Makefile.in.in: Add. Again.
5660 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5662 * libspi/accessible.c : added support for 'description' property.
5663 * libspi/accessible.c
5665 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5666 (since the two are now equivalent in libbonobo)
5674 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5675 Bonobo::Unknown as does Accessibility::Accessible.
5676 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5677 interface with Bonobo::Stream, since it was redundant with it.
5678 (The Stream returned by a StreamableContext object is expected to
5679 implement only a subset of Bonobo::Stream)
5681 2001-07-28 Anders Carlsson <andersca@gnome.org>
5683 * libspi/accessible.c (accessible_object_finalize): Change
5684 g_free to g_object_unref since the AtkObject is a GObject.
5686 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5688 * idl/Accessibility.idl: add new IDL files
5691 * idl/Action.idl: Definitions of actionable UI object
5692 * idl/Component.idl: Definitions of UI component geometry, etc.
5693 * idl/Hyperlink.idl: Defs of hyperlink behavior
5694 * idl/Image.idl: Def of accessible image
5695 * idl/Selection.idl: Definition of UI object with selectable children
5696 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5697 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5698 * idl/Text.idl: Interface defs for UI elements with complex textual content
5699 * idl/Value.idl: Definition of UI element that is a value controller or display
5701 2001-07-27 Michael Meeks <michael@ximian.com>
5703 * po/Makefile.in.in: remove autogenerated file from CVS.
5705 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5708 * idl/Registry.idl: include guard.
5710 * idl/Accessibility.idl: Add, and include all the other IDL
5713 * idl/*.idl: remove mass of pragmas etc.
5715 2001-07-26 Michael Meeks <michael@ximian.com>
5717 * registryd/Makefile.am (registryd_SOURCES): remove
5720 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5722 * libspi/.cvsignore, registryd/.cvsignore,
5723 test/.cvsignore: updated.
5725 * po/Makefile.in.in: gettext update.
5727 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5729 * initial CVS checkin
5731 2001-06-29 Michael Meeks <michael@ximian.com>
5733 * configure.in: add AM_CONFIG_HEADER to gen config.h