1 2002-11-19 Bill Haneman <bill.haneman@sun.com>
5 * libspi/spi-private.h:
6 Added DGB() macro, and extern int _dbg declaration.
8 * registryd/registry.c:
9 (definitions) storage for _dbg.
11 Get environment variable "AT_SPI_DEBUG".
12 (spi_registry_set_debug):
13 New method, to initialize _dbg value.
14 (spi_listener_struct_new, spi_registry_object_finalize):
15 (notify_listeners_cb):
16 Changed fprintfs to use DBG and g_warning().
18 * registryd/deviceeventcontroller.c:
19 (_deregister_keygrab, spi_controller_register_device_listener):
20 Changed debug/warning messages to use DBG macro.
24 Changed warning messages to use DBG macro and g_warning().
26 * atk-bridge/bridge.c:
27 (atk_bridge_init, spi_atk_bridge_get_registry):
28 (spi_atk_bridge_exit_func):
29 (spi_atk_bridge_property_event_listener):
30 Changed status, warning, and error messages to use
31 g_warning, g_message, and DBG macros.
34 Read the state of the AT_SPI_DEBUG environment variable
35 and set a local '_dbg' accordingly.
37 2002-11-19 Bill Haneman <bill.haneman@sun.com>
39 FIXES for 98836, 98842, other bugs.
42 Revved to 1.1.4, interface-age=4, binary-age=4.
44 * registryd/deviceeventcontroller.c:
46 Fixed crasher bug in last_mouse_pos initialization.
48 * registryd/registry.c:
49 (desktop_add_application, desktop_remove_application):
50 Added (and then commented out) some support for
51 object context marshalling. [TODO]
53 * atk-bridge/bridge.c:
54 (spi_atk_bridge_event_context_create):
55 Commented out object context creation until it can
56 be properly tested and debugged.
58 * registryd/registry.c:
59 (impl_registry_notify_event):
60 Fixed crasher bug, we were calling
61 spi_re_entrant_list_foreach () with an empty list.
63 2002-11-18 Bill Haneman <bill.haneman@sun.com>
65 * idl/Accessibility_Action.idl:
66 * idl/Accessibility_Component.idl:
67 * idl/Accessibility_Desktop.idl:
68 * idl/Accessibility_Event.idl:
69 * idl/Accessibility_Hyperlink.idl:
70 * idl/Accessibility_Image.idl:
71 * idl/Accessibility_Relation.idl:
72 * idl/Accessibility_Selection.idl:
73 * idl/Accessibility_State.idl:
74 * idl/Accessibility_Value.idl:
75 Updated unimplemented slot count to minimum of
76 four for all interfaces, for ABI freeze.
78 * idl/Accessibility_EditableText.idl:
79 * idl/Accessibility_Text.idl:
80 Updated unimplemented slot count to six
83 * idl/Accessibility_Registry.idl:
84 Updated unimplemented slot count to six
85 (also for DeviceEventController),
88 * idl/Accessibility_Table.idl:
89 Updated unimplemented slot count to eight,
92 * idl/Accessibility_Event.idl:
93 Added CORBA_any "any_data" member to Event struct.
95 * idl/Accessibility_Event.idl:
96 Added CORBA_any "any_data" member to Event struct.
98 * atk-bridge/bridge.c:
100 atk_signal_text_changed, atk_signal_child_changed,
101 signal ids queried from gtype system.
102 (AtkBridgeEventContextType): New enum.
103 (AtkBridgeEventContextData): New struct.
104 (AtkBridgeEventContext): New struct.
105 (atk_bridge_init_event_type_consts):
106 New method, initializes type contants for comparison
107 prior to emit_eventv.
108 (atk_bridge_event_context_init): New method,
109 initializes a CORBA_any from an AtkBridgeEventContext.
110 (atk_bridge_focus_tracker): Call spi_init_any_nil to
111 initialize the event.any_data struct.
112 (spi_atk_bridge_event_context_create): New method,
113 creates an AtkBridgeEventContext from signal/event info.
114 (spi_atk_bridge_event_context_free): New method.
115 (spi_atk_emit_eventv): Changed to take an
116 AtkBridgeEventContext parameter. We now initialize
117 the event.any_data member prior to notifying the
118 Registry, via the AtkBridgeEventContext.
119 (spi_atk_bridge_property_event_listener):
120 (spi_atk_bridge_state_event_listener):
121 Match emit_eventv signature.
122 (spi_atk_bridge_object_event_listener):
123 Match emit_eventv signature, and create an
124 event context from the event details.
125 Free the event context afterwards.
126 (spi_atk_bridge_window_event_listener):
127 Create an event context, pass it to the
131 (AccessibleEvent_getContextString):
132 (AccessibleEvent_getContextObject):
133 New methods, allow query of AccessibleEvent objects
134 for more context details (via the "any_data" member
135 of the Event struct, above).
138 Definitions for AccessibleEvent_getContextString
139 and AccessibleEvent_getContextObject.
141 * cspi/spi_listener.h:
142 (InternalEvent): New struct.
145 (AccessibleEvent_getContextString):
146 (AccessibleEvent_getContextObject):
147 Implementations of new methods, for obtaining
148 additional context information from some event types.
150 * cspi/spi_registry.c:
151 (SPI_registerGlobalEventListener):
152 Added mention of active-descendant-changed event in docs.
154 * cspi/cspi-bonobo-listener.c:
156 Marshal the any into the AccessibleEvent via
159 * libspi/spi-private.h:
160 #include <orbit/orbit.h>
162 (spi_init_any_string):
163 (spi_init_any_object):
164 New convenience function declarations.
168 (spi_init_any_string):
169 (spi_init_any_object):
170 New convenience function implementations.
172 * registryd/deviceeventcontroller.c:
173 (spi_poll_dec_mouse_moved):
174 (spi_device_event_controller_forward_mous_event):
175 Initialize any_data member of event.
176 (spi_deregister_controller_device_listener):
177 Fix incorrect param pass which was preventing deregistration.
179 * registryd/registry.c:
180 (desktop_add_application):
181 (desktop_remove_application):
182 Add object data to event's any_data before dispatch.
184 Fix for error messages from GAIL.
186 * test/event-listener-test.c:
187 Test new ContextString and "any_data" API:
188 (report_text_event): New method query and output context string.
189 (main): register a new text listener with report_text_event
192 2002-11-19 Darren Kenny <darren.kenny@sun.com>
194 Fixes for bugs 98127 and 97914.
195 * cspi/spi-roletypes.h:
196 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
198 * cspi/spi-statetypes.h:
199 Added SPI_STATE_MANAGES_DESCENDANTS
201 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
202 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
203 * cspi/spi_accessible.c:
204 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
205 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
206 Accessibility_STATE_MANAGES_DESCENDANTS
207 * libspi/accessible.c:
208 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
209 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
210 As requested by Bill, I also cleaned up the alignment.
212 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
213 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
215 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
216 Accessibility_STATE_MANAGES_DESCENDANTS
217 * docs/reference/cspi/tmpl/spi_accessible.sgml:
218 Document changes reflecting modifications to roles.
219 * docs/reference/cspi/tmpl/spi_relation.sgml:
220 Document changes reflecting modifications to relations.
221 * docs/reference/cspi/tmpl/spi_stateset.sgml:
222 Document changes reflecting modifications to states.
224 2002-11-17 Bill Haneman <bill.haneman@sun.com>
227 Revved to 1.1.3, interface-age=3, binary-age=3.
231 Removed accessx-gui from the tests, since we have a nice
232 keyboard accessibility capplet now :-)
234 * test/keysynth-demo.c:
235 (increment_scan): removed do-nothing default: case,
238 * test/visual-bell.c:
239 (main) : removed do-nothing default: case,
243 (AccessibleAction_getKeyBinding_):
244 Documented keybinding string format.
248 (AccessibleText_getAttributes):
249 Documented the text attribute string format.
250 It's changed to use semicolon delimiters also,
251 to prevent clashes with CSS attributes, but the old
252 trick of looking for ", " strings will still work
253 (as unreliably as ever). Fix for bug related to 97916.
256 Include <cspi/bonobo/cspi-bonobo-listener.h>
258 (SPI_freeAccessibleKeySet):
259 (AccessibleKeystrokeListener_addCallback):
260 (AccessibleKeystrokeListener_removeCallback):
261 Modify to use AccessibleDeviceListener API internally,
262 instead of AccessibleKeystrokeListener.
264 * idl/Accessibility_Event.idl:
265 Added two more empty slots to EventListener (for a total of four).
267 * idl/Accessibility_Accessible.idl:
268 Added four empty slots to Accessible interface.
270 2002-11-15 Bill Haneman <bill.haneman@sun.com>
272 * idl/Accessibility_Registry.idl:
273 (KeyEventType, EventType):
274 Marked KeyEventType as deprecated; it duplicates
275 functionality of EventType, which has been extended to
276 include Mouse-button events.
277 (KeyEventTypeSeq): defined in terms of EventType.
278 (registerDeviceEventListener, deregisterDeviceEventListener):
279 New methods, for managing listeners to device events,
280 which potentially may consume them.
283 Added definition for AccessibleDeviceListener.
285 * cspi/spi-listener.h:
286 (enum AccessibleDeviceEventType):
287 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
288 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
289 for backwards compat.
290 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
291 and typedef'd AccessibleKeystroke to it for back-compat.
292 (AccessibleDeviceListenerCB):
293 New function prototype typedef.
296 (AccessibleDeviceEventMask): New typedef.
297 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
298 (AccessibleKeyMaskType):
299 Set equivalent to AccessibleModifierMaskType for back-compat.
300 (SPI_createAccessibleKeystrokeListener):
301 (AccessibleKeystrokeListener_unref):
302 Deprecated in favor of equivalent (better-named) new API below..
303 keystroke listeners are like all device listeners.
304 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
305 New API names for old features :-).
306 (AccessibleDeviceListener_addCallback):
307 (AccessibleDeviceListener_removeCallback):
308 (SPI_registerDeviceEventListener):
309 (SPI_deregisterDeviceEventListener):
313 (SPI_createAccessibleKeystrokeListener):
314 Use new preferred API, cspi_device_listener_new() and
315 cspi_device_listener_add_cb().
316 (AccessibleKeystrokeListener_removeCallback):
317 Use new preferred API, cspi_device_listener_remove_cb().
318 (AccessibleKeystrokeListener_unref):
319 Use new preferred API, cspi_device_listener_unref().
320 (SPI_createAccessibleDeviceListener):
321 (AccessibleDeviceListener_addCallback):
322 (AccessibleDeviceListener_removeCallback):
323 Implementation of new API.
325 * cspi/spi_registry.c:
326 (SPI_registerDeviceEventListener):
327 (SPI_deregisterDeviceEventListener):
328 Implementation of new API. Fixed memory leak and removed need to
329 allocate EventTypeSeq (thanks Michael for catching this).
330 Squashed a wayward CORBA_exception_free that shouldn't get called.
332 * cspi/bonobo/cspi-bonobo-listener.c:
334 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
335 (cspi_key_event): renamed to cspi_device_event().
336 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
337 Extended to handle mouse button events as well as key events.
338 (CSpiKeystrokeListener):
339 Class superceded by CSpiDeviceListener.
340 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
341 These internal APIs changed to "*device_listener" from "*keystroke_listener".
343 * cspi/bonobo/cspi-bonobo-listener.h:
344 (CSpiKeystrokeListener):
345 Class superceded by CSpiDeviceListener.
346 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
347 These internal APIs changed to "*device_listener" from "*keystroke_listener".
349 * libspi/Makefile.am:
350 Replaced keystrokelistener.h and keystrokelistener.c
351 with devicelistener.h and devicelistener.c; keystrokelisener.h
352 stub retained for back-compat.
354 * libspi/keystrokelistener.c:
358 Replaced inclusion of keystrokelistener.h with devicelistener.h.
360 * registryd/deviceeventcontroller.c:
361 (DEControllerListener): Added Accessibility_EventTypeSeq member.
362 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
363 (DEControllerPrivateData): Added xkb settings data.
364 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
365 button release events (which can't be captured via XGrabButton).
366 Don't dispatch via the 'normal' event mechanism if the device event was
368 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
369 Handle the typeseq data in its new location (see above).
370 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
371 New methods, for "generic" device listeners.
372 (spi_controller_register_device_listener):
373 Now handle mouse event listeners as well as key listeners.
374 (spi_controller_notify_mouselisteners):
376 (spi_device_event_controller_forward_mouse_event):
377 Now we notify mouse device listeners as well as generating the
378 non-consumable "mouse:" events.
380 We must check and restore the XKB
381 modifier map if we consume the event, since the act of triggering
382 a mouse event will normally reset the XKB latch. This is required for
384 (spi_controller_register_with_devices):
385 Load the XKB settings when registering, and register for XKB
387 (spi_key_eventtype_seq_contains_event):
388 Renamed spi_eventtype_seq_contains_event, since it's used
389 internally for all device event types now.
390 (spi_key_event_matches_listener):
391 Uses spi_eventtype_seq_contains_event now.
392 (spi_device_event_controller_object_finalize):
393 Free the private data and the XkbKeyboard struct.
394 (impl_register_device_listener, impl_deregister_device_listener):
395 Implementation of new IDL.
396 (spi_deregister_controller_device_listener):
398 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
399 More efficient implementation, we don't have to create a new
400 XkbControls structure every time we query.
401 (spi_device_event_controller_class_init):
402 Initialize the epv entries for the new IDL. Assign the
403 "spi-dec-private" quark.
404 (spi_device_event_controller_init):
405 Initialize the private data.
406 (spi_device_event_controller_forward_key_event):
407 Removed a bogus CORBA_exception_free() call.
409 * registryd/deviceeventcontroller.h:
410 Replaced inclusion of keystrokelistener.h with
413 * test/event-listener-test.c:
414 (report_mouse_event):
417 Added mouse-event device listener.
419 * test/test-simple.c:
420 (create_test_window):
421 Fixed regression (we were instantiating a GtkRange,
422 which is now an abstract class). Also fixed to match
423 existing AtkRole names, this seems to have changed in ATK
424 awhile ago; too late now I think, and the new
425 mechanism is at least elegant and consistent with the
426 glib enum "nick" APIs.
428 2002-11-15 Darren Kenny <darren.kenny@sun.com>
430 * idl/Accessibility_Relation.idl:
431 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
432 RELATION_EMBEDS,RELATION_EMBEDDED_BY
433 * idl/Accessibility_Role.idl:
434 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
435 * idl/Accessibility_State.idl:
436 add STATE_MANAGES_DESCENDANTS
437 * test/event-listener-test.c:
438 Added a listener for active-descendant events.
440 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
442 * atk-bridge/bridge.c
443 (atk_bridge_init): If application is Bonobo component wait until top
444 level is added before registering
445 (spi_atk_bridge_do_registration): New function which contains code,
446 formerly in atk_bridge_init, to do application registration.
447 (spi_atk_bridge_toplevel_added): Signal called when top level
448 added to Bonobo component
450 This fixes bug #83134.
452 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
454 * registryd/deviceeventcontroller.c
455 Fixed compilation error caused by calling gettimeofday()
458 2002-10-18 Bill Haneman <bill.haneman@sun.com>
463 Added template for HAVE_XKB.
466 Changes to check for XKB, and to set the HAVE_XKB #define if it
470 ()impl_notify_event): Make failure to get event source name
473 * registryd/deviceeventcontroller.c:
474 (#include): include X11/XKBlib.h.
475 (DEControllerPrivateData) : New struct.
476 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
478 (dec_synth_keycode_press) (dec_synth_keycode_release):
479 New methods; split the key synthesis code into these methods.
480 They check XKB settings before determining the "time" values to
481 pass to Xtest; this fixes bug #95828.
482 (impl_generate_keyboard_event): Changed to use methods above,
483 instead of callng Xtest directly.
484 (spi_device_event_controller_init): Initialize new privae struct s
486 (spi_device_event_controllr_object_finalize):
487 Free the (new) private data.
489 * registryd/deviceeventcontroller.h:
490 Add new gpointer to end of struct data.
492 2002-10-16 Bill Haneman <bill.haneman@sun.com>
495 Incremented revision to 1.1.2, SONAME is still '.so', library
496 extensions are ".so.0.0.2".
498 * registryd/deviceeventcontroller.c:
499 FIXES FOR #93592 and #95940.
500 (statics): renamed mouse_button_state to mouse_mask_state,
501 added key_modifier_mask.
502 (spi_dec_poll_mouse_moved):
503 Added key modifier checks, and emit "keyboard:modifiers"
504 events when the key modifiers currently in use change.
505 Also generate "mouse:abs" events periodically, even if the mouse
506 is stationary (should we?).
507 Alternatively we could generate "mouse:abs" events for either all
508 mouse movements, or every 'nth' mouse movement, or at the
509 beginning and end of every "active" mouse period.
511 * test/event-listener-test.c:
512 (main): Added listener for "keyboard:modifiers" events.
514 2002-10-15 Bill Haneman <bill.haneman@sun.com>
517 Added key mask #defines for mouse buttons; e.g.
518 SPI_KEYMASK_BUTTON1, etc.
521 Incremented dependency on ATK to version 1.1.0. (This dependency
522 is probably premature but will soon be real enough).
524 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
526 * libspi/hyperlink.[ch]
527 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
528 (get_hyperlink_from_servant): Check object is AtkHyperlink not
531 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
536 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
538 * registryd/deviceeventcontroller.c
539 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
540 events to be ignored.
541 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
542 keyboard_mode so that XAllowEvents() can be called.
546 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
548 * cspi/spi-accessible.c: Correct names of roles returned by
549 AccessibleRole_getName(). Fixes bug #95055.
551 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
553 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
556 * registryd/registry.c
557 (desktop_remove_application: Write diagnostic message to stderr for
560 (impl_accessibility_registry_deregister_global_event_listener):
561 Correct size of lists array. This addresses bug #94555).
563 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
565 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
568 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
570 * registryd/Makefile: Add CLEANFILES so that .server file is removed
573 * registryd/registry.c (impl_registry_notify_event): Remove
574 unnecessary call to parser_event_type().
576 * docs/reference/cspi/tmpl/spi_component.sgml:
577 Add reference to SPI_LAYER_WINDOW.
579 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
581 * registryd/registry.c
582 (desktop_add_application): Remove leak.
583 (desktop_remove_application): Remove leak.
584 (parser_event_type): Remove leak.
586 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
588 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
589 bogus call to CORBA_string_dup(). Also removed unnecessary
590 g_string_dup/g_free calls.
592 2002-09-13 Bill Haneman <bill.haneman@sun.com>
594 * registryd/deviceeventcontroller.c:
595 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
597 * test/event-listener-test.c:
598 main: commented out three redundant listeners, to reduce output
599 noise. (They still are potentially useful for testing).
602 2002-09-13 Michael Meeks <michael@ximian.com>
604 * Update all the copyrights to include Ximian.
606 2002-09-06 Mark McLoughlin <mark@skynet.ie>
608 * cspi/spi.h: add SPI_LAYER_WINDOW.
610 * cspi/spi_component.c: (AccessibleComponent_getLayer):
611 add Accessibility_LAYER_WINDOW case.
613 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
615 * libspi/component.c: (impl_accessibility_component_get_layer):
616 add ATK_LAYER_WINDOW case.
618 2002-08-28 Bill Haneman <bill.haneman@sun.com>
620 * configure.in: incremented micro version.
622 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
624 2002-08-20 Bill Haneman <bill.haneman@sun.com>
627 Clarified and reworded our commit policy.
630 Started an API "todo" addition list for 2.2.
634 Free char pointer from atk_text_get_selection, which was being leaked.
636 2002-08-19 Bill Haneman <bill.haneman@sun.com>
639 Small revision to author acknowledgement.
641 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
643 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
644 If signal has detail add it to the type of the event.
647 2002-08-12 Michael Meeks <michael@ximian.com>
649 * test/test-simple.c (global_listener_cb): bin bogosity.
650 (test_keylisteners): disable, still doesn't work reliably,
651 certainly not on my system anyway.
653 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
654 don't leak a reference on the DEC. This round-trip
655 fetching of the DEC per keystroke sucks, it should be
658 * cspi/spi-private.h,
659 * cspi/cspi-lowlevel.h,
660 * cspi/bonobo/cspi-bonobo-listener.[ch],
661 * cspi/bonobo/cspi-bonobo.c: get the copyright
662 notices better - there is still a large amount of
663 work in at-spi falsely attributed solely to Sun.
665 * cspi/spi_main.c (cspi_object_ref): kill bogus
666 hash lookup, just increment the ref.
667 (SPI_freeString): make explicit the fact that we
668 handle NULL strings just fine.
669 (report_leaked_ref): obey coding standards.
670 (cspi_object_hash, cspi_object_equal): kill retval.
671 (cspi_object_release): only release if not on loan.
672 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
673 (cspi_object_borrow, cspi_object_return): impl.
675 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
676 use cspi_object_borrow / return.
678 2002-08-12 Darren Kenny <darren.kenny@sun.com>
680 * cspi/bonobo/cspi-bonobo-listener.c:
682 Don't call cspi_oject_new() because this is creating a new Accessible
683 every single time that an event is fired. This causes ATs like at-poke
684 to nolonger recognise the source of the event and thus ignore it.
685 Re-use the object from the cache, ref it and then unref it after the
686 listeners have been called.
688 2002-08-06 Darren Kenny <darren.kenny@sun.com>
690 * test/event-listener-test.c:
691 Added command-line options to disable mouse events (m) and
694 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
696 * configure.in: Update required versions of ATK, GTK+ and GAIL
698 * cspi-1.0.pc.in: Add dependency for X include files
701 * cspi/bonobo/Makefile.am:
702 Add $(X_CFLAGS) so that X include files
703 are picked up even if not in standard place (bug #71686)
705 2002-06-25 Bill Haneman <bill.haneman@sun.com>
707 * registryd/deviceeventcontroller.c: fix for 84261
708 (spi_dec_mouse_moved):
709 Added test of mouse button mask, so that we can detect mouse
710 button release. Unfortunately we can't otherwise detect mouse
711 button release events without consuming the mouse press event,
712 because of the way XGrabButton works. This means that our mouse
713 release events have a latency dependent on the polling period
714 while the mouse button is down. At least in this case we only
715 have to poll while the button is down, and not at other times.
716 If the button masks don't match with what the last press event
717 reported, we report the appropriate button release event.
718 (spi_dec_ungrab_mouse):
719 New method (not yet called).
720 (spi_device_event_controller_forward_mouse_event):
721 New method, sends mouse press event from GdkFilter.
722 (spi_dec_init_mouse_listener):
723 Added code to call XGrabButton, redirecting mouse button events to
724 the root window and our Gdk event loop.
726 Added code to filter mouse button events, and reordered.
728 * test/event-listener-test.c:
730 Added registration for mouse events of type "mouse:button".
732 2002-06-25 Bill Haneman <bill.haneman@sun.com>
734 * registryd/deviceeventcontroller.c: partial fix for 84261
735 (spi_dec_poll_mouse_idle):
736 New method, a timeout which checks to see if the mouse
738 (spi_dec_poll_mouse_moving):
739 A timeout to be called when mouse motion is underway.
740 (spi_dec_poll_mouse_moved):
741 A method which fires an event if the mouse has moved, and reports
742 whether or not it did so.
743 (spi_dec_init_mouse_listener):
744 A method which sets up the timeouts above.
745 (spi_device_event_controller_new):
746 Now calls spi_dec_init_mouse_listener.
748 * registryd/registry.c:
750 Now we initialize the device event controller when the registry is
751 initialized, instead of waiting until a client has requested a key
752 event notification; this is because we need the event controller
753 for mouse events, but the mouse event registration API is a
754 "registry" call and doesn't explicitly call the
755 deviceeventcontroller.
756 We now report mouse motion events with a 100 ms idle latency and
757 a 20 ms granularity when motion is in progress.
759 * test/event-listener-test.c:
761 We now register the "detail listener" for events of type
762 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
763 delivered only for the first mouse event received, and thereafter
764 "mouse:abs" events are delivered.)
766 * cspi/spi_registry.c:
767 DOCS: Documented the above mouse event typestrings.
769 2002-06-21 Bill Haneman <bill.haneman@sun.com>
771 Happy Summer Solstice...
773 * registryd/deviceeventcontroller.c: [fix for bug 84100]
774 (spi_controller_notify_keylisteners):
775 Changes to remove a listener from the listener list, freeing its
776 open keygrabs, if a notification to that listener fails. This
777 means that although a dead listener can continue to hold a passive
778 keygrab, a maximum of one dispatch to such a listener can fail
779 before the listener is removed from the list, thus the keygrab
780 will be released on the next occurrence.
782 (spi_notify_keylisteners):
783 Renamed to spi_controller_notify_keylisteners, as the controller
784 instance must now be passed as an argument.
785 The copied 'notify' GList is now a list of DEControllerKeyListener
786 objects, since we need more than just the CORBA reference if a
787 notify fails and we need to deregister the listener.
788 (impl_notify_listeners_sync):
789 (impl_notify_listeners_async):
790 (spi_device_event_controller_forward_key_event):
791 Modify use of notify_keylisteners in accordance with above
793 (spi_deregister_controller_key_listener):
794 New method introduced by refactoring, from
795 impl_deregister_keystroke_listener.
796 (impl_deregister_keystroke_listener):
797 Call spi_deregister_controller_key_listener.
798 (spi_key_listener_clone):
799 New method to copy a key listner without doing a 'ref' on the
800 remote object instance; used to create a notifier list.
801 (spi_key_listener_data_free):
802 New method, frees data without unreffing the source.
804 (spi_key_listener_clone_free): new method.
805 (spi_key_listener_free):
806 refactored to call spi_key_listener_data_free.
808 2002-06-20 Bill Haneman <bill.haneman@sun.com>
810 * registryd/registry.c: [fix for bug 86048]
811 (notify_listeners_cb):
812 Clear CORBA system exceptions which occur when notifying
813 listeners, before returning to the source of the original event,
814 since the event source doesn't care if the relayed notify failed.
815 In other words, don't complain to the atk-bridge if the registry
816 could not notify all its listeners, that's no fault of the
817 application and thus should not appear to be an error from the
818 application's perspective.
820 * cspi/spi_main.c: [fix for bug 85980]
822 Replaced use of bonobo_object_dup_ref with call to the wrapper
823 method, csou_dup_ref (); this silences a compiler warning and
824 provided more portability.
826 Ping the registry before return, and restart if necessary.
828 * cspi/bonobo/cspi-bonobo.c:
832 Fixed this method to return an object reference, as it should have
835 * cspi/cspi-lowlevel.h:
836 Added internal definition for cspi_ping() and fixed
837 return type of cspi_dup_ref().
840 2002-06-19 Bill Haneman <bill.haneman@sun.com>
842 * atk-bridge/bridge.c: [fix for bug 85305]
843 (spi_atk_bridge_register_application):
844 New method where the initial application registry calls have been
845 moved; it allows an application to re-register in response to
846 certain error conditions (such as a registry restart, see below).
848 Moved some initialization code to the method
849 spi_atk_bridge_get_registry, below.
850 (spi_atk_bridge_get_registry):
851 New, private accessor function for the Accessibility_Registry
852 instance. If the registry has not been started before, or has
853 died (as detected by failure of a CORBA exception), it is
854 restarted before return, and spi_atk_bridge_register_application
855 is called again to register with the new bridge instance.
856 (spi_atk_emit_eventv):
857 Set registry_died on error; use spi_atk_bridge_get_registry () to
860 * registryd/registry.c:
861 (impl_accessibility_registry_register_global_event_listener):
862 Set listener's event_type_quark to etype.minor instead of
863 etype.major (fix for bug 84856).
865 * test/event-listener-test.c:
866 (report_detail_event):
867 Change the output string so that user/tester can tell that the
868 'detail listener' was called instead of the 'generic listener'.
870 2002-06-18 Bill Haneman <bill.haneman@sun.com>
872 Fixes for bugs 84900, 84908, 84897, 84898.
877 Revved version to 1.1.0
878 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
879 version is going to HEAD which will be used for gnome-2-0-1 and later.)
881 * idl/Accessibility_Registry.idl:
882 (EventListener::notifyEvent):
883 Removed 'oneway' directive after extensive consulation with
884 ORBit2 team and others. This means also that unref() of the event
885 source can and should be done synchronously after emission, rather
886 than remotely in the client, after servicing the notify call on
889 NOTE: This change speeds up listener performance considerably, but
890 introduces new latency on the application side. We may want to
891 add an event queue to the atk-bridge.
893 * atk-bridge/bridge.c:
894 (spi_atk_bridge_focus_tracker):
895 Do a local unref() on the event source after emission.
897 * registryd/registry.c:
898 (desktop_remove_application):
899 Do an unref() on the event source after emission.
900 (desktop_add_application):
901 Do an unref() on the event source after emission.
902 (notify_listeners_cb):
903 When relaying an event, don't automatically add the event source
904 to the local object cache, just CORBA_dup it instead. Likewise,
905 if this method reenters, release the ref rather than calling
907 (impl_registry_notify_event):
908 No longer call remote unref() on the event source after dispatch.
910 * libspi/eventlistener.c:
911 (impl_accessible_event_notify_event):
912 Removed remote unref ()
914 * cspi/bonobo/cspi-bonobo-listener.c:
916 We now call cspi_object_new() instead of cspi_object_add() on
917 receipt of an event; thus we only have an implicit object ref
918 while the cspi_event method is being executed. If we need to keep
919 a reference to the object, the listener must call ref() on the
920 object. Thus also we don't need to call cspi_object_unref() after
921 invoking the listener callbacks in this method.
925 New internal API for creating a new cspi object, without adding it
928 Now uses cspi_object_new() to create the cspi object instance.
930 Now checks to see if the object is in the internal object cache,
931 and adds it if necessary before incrementing its refcount (note
932 that new objects are added with a refcount of 1).
934 New method which gives some information on leaked object instances
935 if leak detection is turned on.
937 * test/event-listener-test.c:
939 New method, used for testing event delivery timing for special
940 events of type "object:test". It reports elapsed time and
941 events/sec every 500 events.
943 Added a new listener, 'test listener', to check timing of event
944 receipt as noted above.
946 Added some timing output here also, reports elapsed time every 100
949 * test/stress-test.c:
950 Emit events of type "object:test", for use with "event-listener-test".
952 * test/test-simple.c:
953 (global_listener_cb):
954 Call Accessible_ref() on the event source before calling
955 validate_accessible, since the validation process does pointer
956 comparisons on the event source, meaning that the event source
957 needs to be added to the local object cache first. Any use of
958 such pointer comparisons between Accessible objects requires that
959 the caller hold an explicit reference to those objects.
960 We also must therefore call Accessible_unref() when leaving this method.
962 2002-06-13 Bill Haneman <bill.haneman@sun.com>
964 * registryd/deviceeventcontroller.c:
965 (spi_controller_update_key_grabs):
966 Fix for #84735, subsequent keygrab listeners not informed of
967 registration failure.
970 (spi_base_construct):
971 Add an assertion on construct, to make sure the GObject passed in
974 Explicitly initialize object->gobj pointer to NULL;
976 * cspi/bonobo/cspi-bonobo-listener.c:
977 (cspi_object_add_ref):
978 New method, can specify whether to dup-ref a bonobo object passed
979 in if it's newly added to the object cache.
981 Now calls cspi_object_add_ref with second param of "FALSE". This
982 prevents us from doing a pointless dup-ref followed by
983 release-unref for all those cases where the object is already in
984 our object cache (fix for #85205).
986 * atk-bridge/bridge.c:
987 (spi_atk_bridge_idle_init):
988 Removed this method, we don't need to initialize in an idle
991 Changed to call spi_atk_register_event_listeners directly, not via an
992 idle handler. (fix for #81139)
993 (gnome_accessibility_module_shutdown):
994 Removed conditional around deregistration of listeners, since we
995 don't use the idle handler and thus have always registered when
997 (spi_init_keystroke_from_atk_key_event):
998 Changed references to Accessibility_KEY_PRESSED to
999 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1001 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1003 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1008 * test/stress-test.c:
1011 (may have been an incomplete commit yesterday?)
1013 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1016 Added target for new stress-test.
1018 * test/stress-test.c:
1019 New test, sends 1000 focus notifies in quick succession.
1021 * test/key-listener-test.c:
1022 Now we report whether a keylistener registration
1023 request succeeded or failed.
1025 * test/event-listener-test.c:
1026 Uncommented some listeners which are now implemented.
1029 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1031 * registryd/deviceeventcontroller.c:
1032 (spi_controller_update_key_grabs):
1033 Fix for #82509, lack of failure notification when
1034 ALL_WINDOWS keygrabs fail due to XGrabKey
1035 failure: we synchronize the server when
1036 registering a passive grab, to make sure we get the
1037 error message before the call returns.
1039 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1041 * test/test-simple.c:
1043 Removed #ifdef KEY_IMPL_WORKS guards.
1044 (test_keylisteners):
1045 Removed #ifdef KEY_IMPL_WORKS guards.
1046 Fixed bug which was causing a hang waiting for a
1047 "press" event (which was already overwritten by a "release"
1048 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1050 Added code to set globals 'key_press_received' and
1051 'key_release_received'.
1054 Added section "1.1 API Proposed Additions" which
1055 lists API additions desired for at-spi-1.1 (only one so far).
1056 Updated TODO list a little.
1058 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1060 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1063 * configure.in: Revved to 1.0.0.
1065 * idl/Accessibility_Registry.idl:
1066 (registerKeystrokeListener):
1067 Added boolean return value.
1069 * registryd/registry.c:
1070 (notify_listeners_cb): Minor fix to debug output.
1072 * registryd/Accessibility_Registry.server.in.in:
1073 Revved version number in OAFIID to 1.0.
1075 * registryd/registryd.c:
1077 Use new OAFIID version.
1079 * cspi/bonobo/cspi-bonobo.c:
1081 Use new OAFIID version.
1087 * atk-bridge/bridge.c:
1089 Use new OAFIID version.
1091 * registryd/deviceeventcontroller.c:
1092 (impl_register_keystroke_listener):
1093 Added CORBA_boolean return value.
1094 (spi_controller_register_device_listener):
1095 Added gboolean return value.
1096 (spi_controller_register_global_keygrabs):
1097 Added gboolean return value.
1098 (spi_key_set_contains_key):
1099 Added implementation for many more control keys,
1100 for instance F1-F12, arrow keys, End, Home, Page_Up,
1102 [TODO: some still not implemented].
1104 * text/screen-review-test.c:
1105 (text_chunk_pad_string):
1106 New function: it provides mapping between coordinate
1107 positions of text chunks and character positions in the
1108 screen-review-line output string.
1109 (text_chunk_to_string):
1110 New function, calls text_chunk_pad_string with various
1111 pad/delimiter characters. Pushbuttons are delimited with
1112 square brackets, Frames with vertical 'pipe' lines, and
1113 other text with double quotes.
1114 (text_chunk_list_to_string):
1115 Calls new function text_chunk_to_string.
1116 (toplevel_composite):
1117 New function to composite layers CANVAS through
1118 POPUP in each toplevel (other layers are composited
1119 across toplevels, i.e. BACKGROUND and OVERLAY).
1120 (review_buffer_composite):
1121 Revise to use new methods.
1127 2002-05-31 Laszlo Peter <laca@sun.com>
1129 * configure.in: add the Xtst libdir to the runpath on Solaris,
1130 since it's not in the default library search path.
1132 2002-05-29 jacob berkman <jacob@ximian.com>
1134 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1136 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1138 * test/screen-review-test.c:
1139 (text_chunk_pad_string):
1140 Added method, which pads the string according to the
1141 text bounds of the chunk. It also takes a 3-character
1142 string as a param which indicates the characters to be
1143 used for start, padding, and end delimitation of the chunk.
1144 (text_chunk_to_string):
1145 Changed to use text_chunk_pad_string.
1147 * configure.in: Fixed bug in AC_OUTPUT that was
1148 causing path substitution in Accessibility_Registry.server
1151 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1153 * text/screen-review-test.c:
1154 (guess_string_clip):
1155 New method which attempts a best-guess at clipping
1156 text from components (like Java labels) which don't
1157 actually implement AccessibleText. This inaccurate
1158 clip is based on the assumption that the label is
1159 justified left-and-right, and monospaced.
1160 (text_chunk_get_clipped_string):
1161 We now call guess_string_clip() for text-containing
1162 components that don't implement AccessibleText.
1164 * test/screen-review-test.c:
1165 (review_buffer_get_text_chunk):
1166 We now pull "name" from labels if they do not implement
1167 AccessibleText (i.e. for Java labels).
1168 (get_screen_review_line_at):
1169 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1172 Replaceded AC_OUTPUT target
1173 registryd/Accessibility_Registry.server with
1174 registryd/Accessibility_Registry.server.in.
1176 * registryd/Accessibility_Registry.server.in:
1177 Removed (this is now a Makefile target).
1179 * registryd/Accessibility_Registry.server.in.in:
1180 Added (source for target above). We now use $(libexecdir) as
1181 prefix for the executable at-spi-registryd.
1183 * registry/Makefile.am:
1184 Now install at-spi-registryd into $(libexecdir), and build .server
1185 file with path (see above).
1187 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1189 * test/screen-review-test.c:
1190 (text_chunk_get_clipped_string):
1191 We now check to see if words fall within clip bounds
1192 before resorting to character-by-character clip bounds testing.
1194 * TODO: Added a section for "2.2 Proposed API Additions".
1196 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1198 * test/screen-review-test.c:
1200 Added a screen review benchmarking and test program to test
1203 * cspi/spi_accessible.c:
1205 Made some of the debug strings passed to cspi_check_ev a
1206 little more specific.
1208 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1210 * test/screen-review-test.c: Fix crashes in debug statements
1212 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1214 * test/screen-review-test.c: Added this file.
1216 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1218 * atk-bridge/bridge.c: changed "object:state-change" to
1219 "object:state-changed" to match docs.
1221 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1223 * atk-bridge/bridge.c: Hooked up state-change event details.
1225 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1227 * registryd/registry.c:
1228 Fixed quarking bug in event string parsing; now events with
1229 detail parameters get matched correctly to listeners.
1232 * util/idl/Magnifier.idl: remove.
1234 * util/*.[ch]: Remove.
1235 Magnification utilities and IDL are now in module gnome-mag.
1237 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1239 * registryd/deviceeventcontroller.c:
1240 Fixed bug in grab key conversion which was causing keycode grabs
1241 to be converted to AnyKey grabs.
1244 updated NEWS file to reflect recent spin-off of gnome-mag.
1246 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1248 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1249 busted AccessibleStateSet_compare. Removed redundant casts.
1251 * cspi/spi-action.c: Removed redundant casts.
1253 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1255 * cspi/spi_component.c: Fixed typos and casting error.
1257 * cspi/spi_editabletext.c: Removed redundant casts.
1259 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1261 * cspi/spi_hypertext.c: Eliminated redundant casts.
1263 * cspi/spi_image.c: Eliminated redundant casts.
1265 * cspi/spi_registry.c: Eliminated redundant casts.
1266 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1267 * cspi/spi_selection.c: Removed redundant casts.
1268 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1269 handling. Screen geometry and text offsets were being returned as 0
1270 on error which is technically valid-- changed these to return -1.
1271 Added marshaller for text boundary types to fix bug with boundary
1272 types being passed incorrectly to atk.
1274 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1277 * cspi/spi_registry.c:
1278 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1279 which was uncovered by the recent key changes.
1281 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1283 * test/event-listener-test.c:
1285 Added new test, "event-listener-test";
1286 this code does two things; it benchmarks traversal time
1287 for the accessible hierarchy for the first running accessible
1288 app, and it connects listeners for all supported event types.
1289 It is thus useful as an example event listener and for
1290 diagnostics/debugging of event generation.
1292 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1295 Removed unnecessary dependency on libutil.
1298 Revved micro version: 0.13.1
1300 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1303 Removed util/Makefile from targets.
1306 Removed util subdir from SUBDIRS (temporarily,
1307 pending removal of magnifier-only code
1311 #ifdef-ed out magnifier dependencies, since
1312 magnifier IDL, headers, and binary now live in
1313 module gnome-mag and we don't want at-spi to depend
1314 on gnome-mag. A magnifier demo which can run alongside
1315 simple-at is forthcoming in the gnome-mag module.
1317 NOTE: Split magnifier binary, IDL, and magnification
1318 activation code from at-spi into module gnome-mag.
1320 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1322 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1323 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1325 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1328 Revved to version 0.13.0
1330 * idl/Accessibility_Registry.idl:
1331 Changed definition of KeySet from sequence of longs to sequence of
1332 KeyDefinitions, and added KeyDefinition struct.
1333 Required for fix to bug 80616.
1335 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1336 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1337 to use new definition (see above).
1339 * registryd/deviceeventcontroller.c: handle_keygrab(),
1340 spi_keyset_contains_key():
1341 Changed to make use of new struct; this allows matching based on
1342 string key-name, for instance "Tab". This also allows matching of
1343 composed characters, non-alphanumeric characters in a way that
1344 doesn't involve dependencies on X keysym codes directly, etc.
1346 * test/key-listener-test.c:
1347 Added test for Alt-Tab key using "string" specification of keyset,
1348 and modified one of the tests to use a keycode-based keyset.
1349 Thus this test both tests and demonstrates the creation and use of
1350 keysets of three forms: specified via keycode array,
1351 keysym array, and string array. (The string case only contains a
1352 single string, i.e. a string array of length 1).
1355 Turned on PRINT_TREE option by default. Also fixed a
1356 string-freeing bug in the PRINT_TREE code.
1357 Added a listener to window:minimize events.
1359 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1361 * atk-bridge/bridge.c:
1362 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1363 for window:activate and window:deactiveate
1364 (atk_bridge_property_event_listener atk_bridge_signal_listener
1365 atk_bridge_window_event_listener) Tidy debug code
1367 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1369 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1370 Fixed handling for NULL return value from ATK.
1372 * libspi/action.c libspi/component.c libspi/editabletext.
1373 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1374 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1375 Removed redundant casts.
1377 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1378 Fixed off by one bug.
1380 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1381 function not present in idl)
1383 2002-05-02 jacob berkman <jacob@ximian.com>
1385 * atk-bridge/Makefile.am: make atk-bridge a real module
1387 2002-04-26 Radek Doulik <rodo@ximian.com>
1389 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1390 atk_state_types table
1392 2002-04-22 jacob berkman <jacob@ximian.com>
1395 * libspi/Makefile.am: add deps on the built files to help
1396 automake, and don't version the ORBit typelib
1398 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1400 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1401 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1402 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1403 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1404 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1405 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1406 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1407 libspi/accessible.h libspi/accessible.h libspi/base.h
1408 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1409 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1410 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1411 libspi/spi-private.h libspi/statetset.h libspi/table.h
1412 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1413 util/mag_client.h util/mag_control.c util/mag_image.c
1414 util/mag_image.h util/magnifier.c util/magnifier.h:
1415 Add missing file headers; standardize existing ones
1417 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1419 * atk-bridge/bridge.c: Added window event support.
1421 2002-04-18 Michael Meeks <michael@ximian.com>
1423 * libspi/relation.c (impl_getNTargets): impl.
1424 (impl_getTarget): impl.
1426 * libspi/Makefile.am: fix stateset install.
1428 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1431 Started putting useful info in this file.
1433 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1435 * atk-bridge/bridge.c:
1436 Propagate state-changed notifications to ATs
1438 * cspi/spi_registry.c: update docs to reflect actual behavior of
1439 state-change events.
1441 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1444 Incremented version to 0.12.1
1446 * util/mag_client.h:
1447 Add missing declaration for magnifier_exit,
1448 used by mag_control.c - Forte compiler didn't like
1449 the implicit redeclaration of the function :-(
1452 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1455 Revved version to 0.12 due to API change (see below).
1457 * cspi/spi-roletypes.h:
1458 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1459 definition from the inline docs, and added docs
1460 for SPI_ROLE_LAST_DEFINED.
1463 * cspi/spi_streamablecontent.c:
1464 Added missing seek_type parameter to
1465 (so far unused) method,
1466 AccessibleStreamableContent_seek().
1467 [ RT approval JodyG. ]
1470 Fixed docs for SPI_createAccessibleKeystrokeListener.
1472 * cspi/spi_registry.c:
1473 Fixed docs for SPI_KEYSET_ALL_KEYS.
1475 * docs/reference/cspi/at-spi-cspi-sections.txt:
1476 Added a number of missing APIs to SECTIONS.
1478 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1480 * registryd/Makefile.am:
1482 * cspi/bonobo/Makefile.am:
1483 Add $(X_LIBS) to makefiles.
1485 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1488 Revved version to 0.11.
1490 * libspi/component.c:
1491 Added implementation for grabFocus.
1493 * idl/Accessibility_Component.idl
1494 (Accessibility_Component_grabFocus):
1495 Made this method return boolean to indicate success or failure, to
1496 be consistent with cspi and the corresponding ATK method.
1498 * idl/Accessibility_Selection.idl
1499 (Accessibility_Selection_selectAll) :
1500 Made these methods return boolean to indicate success or
1501 failure, to be consistent with cspi and the corresponding ATK methods.
1503 * idl/Accessibility_EditableText.idl
1504 (Accessibility_EditableText_setTextContents,
1505 Accessibility_EditableText_insertText,
1506 Accessibility_EditableText_cutText,
1507 Accessibility_EditableText_deleteText,
1508 Accessibility_EditableText_pasteText):
1509 Made these methods return boolean to indicate
1512 * cspi/spi_editabletext.c:
1513 Made these methods return booleans.
1515 * libspi/selection.c:
1516 * libspi/component.c:
1517 * libspi/editabletext.c:
1518 Connected the boolean returns from ATK
1519 to the server-side code referenced above.
1521 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1523 * idl/Accessibility_Table.idl: Added missing methods,
1524 Accessibility_Table_addRowSelection,
1525 Accessibility_Table_addColumnSelection,
1526 Accessibility_Table_removeRowSelection,
1527 Accessibility_Table_removeColumnSelection.
1530 Added C wrappers for above IDL:
1531 AccessibleTable_addRowSelection,
1532 AccessibleTable_addColumnSelection,
1533 AccessibleTable_removeRowSelection,
1534 AccessibleTable_removeColumnSelection.
1537 Added server-side implementation code for IDL above, connecting
1538 to pre-existing ATK api.
1540 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1542 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1544 * libspi/accessible.c: Added implementation fo
1545 Accessibility_Accessible_get_state.
1547 * libspi/libspi.h: Added stateset.h to the list of includes.
1549 * libspi/stateset.c: Fixed broken implementation.
1551 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1554 Added implementation code for Accessibility_Magnifier_exit ().
1556 * util/mag_control.c:
1557 Added test code for above method; you can
1558 now kill an existing magnifier via
1559 ./mag_control q, from the util directory.
1561 * test/key-listener-test.c:
1563 Added a new test, for our key listener API.
1565 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1567 * test/app.c, test/keysynth-demo.c:
1569 Replace use of snprintf with g_snprintf.
1570 (fix for bugzilla 78249)
1572 2002-03-27 Michael Meeks <michael@ximian.com>
1576 * util/Makefile.am (INCLUDES): fix.
1577 (DONT_DIST_SOURCE): don't distribute the
1580 * libspi/Makefile.am (dist-hook): ditto.
1582 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1584 * libspi/hypertext.c:
1585 Fix warnings when yelp is used with atk-bridge
1587 2002-03-21 Michael Meeks <michael@ximian.com>
1589 * libspi/application.c (spi_application_new):
1590 use spi_accessible_construct so we use the AtkObject
1593 2002-03-19 Michael Meeks <michael@ximian.com>
1595 * registryd/registry.c (desktop_remove_application),
1596 (desktop_add_application): clean coding style.
1598 * registryd/desktop.c (spi_desktop_remove_application),
1599 (spi_desktop_add_application): kill re-enterency hazards.
1600 (spi_desktop_dispose): remove bogus redundant cast
1601 obscuring bug; fix bug too.
1602 (spi_desktop_init): make the desktop object immortal.
1604 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1607 Added a #define-guarded tree-traversal step
1608 when enumerating the apps (diagnostic tool).
1610 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1612 * idl/Accessibility_Role.idl:
1613 Added ROLE_DRAWING_AREA which seemed to be missing from the
1616 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1618 * cspi/spi-roletypes.h cspi/spi_accessible.c
1619 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1622 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1623 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1624 AT when applications are added and removed from the desktop. This
1625 reverts the previous broken implementation using the backing
1626 AtkObject for the SpiDesktop.
1628 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1630 * registryd/desktop.c: emit the "children-changed::add" and
1631 "children-changed::remove" signals on the backing ATK object for
1632 the desktop so AT can tell when applications are started and shut
1635 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1637 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1639 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1641 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1643 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1645 * cspi/state-types.h: synched with IDL and ATK
1647 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1649 * libspi/accessible.c
1650 (impl_accessibility_accessible_get_child_at_index):
1651 Change return value for g_return_if_fail ()
1652 to CORBA_OBJECT_NIL instead of "0" (!)
1654 * registryd/Makefile.am:
1655 * registryd/Accessibility_Register.server.in:
1656 Changed name of executable, "registryd",
1657 to something more informative:
1660 2002-03-13 Michael Meeks <michael@ximian.com>
1662 * atk-bridge/bridge.c (atk_bridge_init): don't register
1663 if we're in a bonobo-component, rather than a bonobo app.
1665 2002-03-13 Michael Meeks <michael@ximian.com>
1667 * atk-bridge/bridge.c (gtk_module_init): split
1668 out body to (atk_bridge_init): here, since otherwise
1669 we get symbol conflicts and oddness when invoked
1670 from (gnome_accessibility_module_init): here (upd.)
1672 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1675 New file. Explicitly allow "build sheriff" putbacks provided
1676 they are tested on Solaris.
1678 * docs/reference/cspi/Makefile.am:
1679 Added '-' to the "cp" command for index.sgml.
1680 ("patch by thomasvs, soon coming to a GUADEC near you")
1683 Incremented version number (0.9.0) for new release.
1684 Changed macro that checks for popt, to better detect
1685 obsolete versions of popt.
1688 Added X_LIBS to AC_SUBST, for applications
1689 that call Xlib API directly.
1692 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1695 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1698 Fix regression caused by hard-coding major
1699 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1702 * test/test-simple.c (test_editable_text),
1703 (test_test): revert previous change (error was
1704 a regression in gail which is now fixed).
1706 2002-03-04 Michael Meeks <michael@ximian.com>
1708 * test/test-simple.c (test_editable_text),
1709 (test_text): pass G_MAXINT instead of '-1' for
1710 whole string - is this a good thing !?
1712 * cspi/spi_accessible.c
1713 (Accessible_getRelationSet): fix crasher bug
1714 overwriting the end of the array.
1716 * test/test-simple.c (validate_accessible): free,
1717 not g_free returned relation set.
1719 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1721 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1722 implemented stateset support
1724 * idl/Accessibility_State.idl: Made necessary changes to
1725 the IDL to support state sets.
1727 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1729 * registryd/deviceeventcontroller.c:
1730 Added implementation for generateMouseEvent.
1732 * cspi/spi_registry.c:
1733 Connected new implementation for generateMouseEvent
1736 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1739 Incremented revision (but no change in public API
1740 outside of 'utils', which are not installed public yet.)
1742 * libspi/component.c:
1743 Changed to use atk_component API for layers and
1744 mdi_zorder, instead of deprecated atk_object API.
1746 Magnification Utility Enhancements:
1749 Added implementation of createZoomRegion, clearAllZoomRegions,
1750 resizeZoomRegion. Added new commandline argument
1751 "--no-initial-region". Note that clearAllZoomRegions doesn't
1752 unmap the old '0' region as it should (yet), and the other
1753 methods only work when creating/resizing a single region,
1754 which is "region 0".
1755 (Code for multiple region support will be added later.)
1758 Now we raise the magnifier window each time it's refreshed;
1759 this will help keep it on top.
1761 * util/mag_client.h:
1762 Added simple wrappers for above, used by mag_control.
1763 For general use, it's recommended to use the bonobo magnifier
1764 control API directly instead of using these wrappers.
1767 Moved ZoomRegionData from magnifier.c to this file.
1769 * util/mag_control.c:
1770 Added some code to exercise new IDL implementations.
1772 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1774 * libspi/text.c: Provide implementation for getAttributes.
1776 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1779 Incremented revision.
1781 * test/test-simple.c:
1782 Replaced use of deprecated g_main_iteration with
1783 g_main_context_iteration.
1785 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1788 Incremented revision for desktop alpha 2.
1790 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1792 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1795 * test/simple-at.c: include netinet/in.h.
1797 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1799 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1800 use NULL, not CORBA_OBJECT_NIL.
1802 * libspi/accessible.c:
1803 (impl_accessibility_accessible_get_relation_set):
1804 allocate the sequence correctly.
1806 * libspi/remoteobject.h: kill spi_remote_object_new.
1808 * test/test-simple.c: (validate_accessible): add code
1809 to test relation sets, now all we need is to figure
1810 out how to excercise this code path :/
1812 2002-01-18 Michael Meeks <michael@ximian.com>
1814 * test/test-simple.c
1815 (key_listener_cb): consume the key.
1816 (test_keylisteners): update.
1817 (main): wait for any pending unrefs on events.
1819 * registryd/deviceeventcontroller.c
1820 (spi_controller_update_key_grabs): only re-issue the
1821 grab on a key release.
1822 (spi_device_event_controller_forward_key_event):
1823 refresh the keygrabs before we notify the listeners,
1824 to reduce the X ungrab / re-grab race.
1825 (spi_controller_register_with_devices): remove
1826 XSelectInput - we do that with the gdk_window_ call.
1827 (_spi_controller_device_error_handler): return a value.
1828 s/GDK_DISPLAY/spi_get_display/
1830 2002-01-17 Michael Meeks <michael@ximian.com>
1832 * registryd/deviceeventcontroller.c
1833 (_deregister_keygrab): don't blow out the later
1836 * test/test-simple.c (test_keylisteners): do a
1837 more intelligent validation.
1839 2002-01-14 Michael Meeks <michael@ximian.com>
1841 * atk-bridge/bridge.c
1842 (gnome_accessibility_module_init),
1843 (gnome_accessibility_module_shutdown): impl.
1844 (gtk_module_init): protect vs. double inits.
1845 (add_signal_listener): impl.
1846 (spi_atk_bridge_state_event_listener): kill
1847 (deregister_application): split out of
1848 (spi_atk_bridge_exit_func): here.
1850 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1853 Added caret tracking when using magnifier, and
1854 now use text bounds for focus tracking of text elements, rather than
1855 the component bounds - this is helpful for short text fields in long
1856 table cells, at high magnification.
1858 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1860 * registryd/deviceeventcontroller.c:
1861 Regression fix for keylistener de-registration; global keygrabs
1862 were not being released when deregisterKeystrokeListener was
1863 called in cspi, since
1864 Accessibility_DeviceEventController_deregisterKeystrokeListener
1865 was called with a zero-length keyset. That is because the cspi
1866 method, SPI_deregisterKeystrokeListener, does not take a keyset
1867 parameter but instead should remove all the key grabs held be a
1869 The code in impl_deregister_keystroke_listener was changed to copy
1870 the keylist from the listener instance previously registered with
1871 the DeviceEventController before releasing the grabs.
1873 * registryd/registry.c:
1874 * registryd/deviceeventcontroller.c:
1875 * libspi/spi-private.h:
1877 Changed spelling of "re-enterant" to "re-entrant" globally.
1879 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1881 * test/test-simple.c:
1882 Changed key listeners test - the test was slightly mis-using the
1883 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1884 It now uses '=' as the key event listened to and generated,
1885 relying on a keysym match rather than assuming that keycode 33
1886 is always equal to keysym '!'.
1888 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1891 Changed simple-at to use a specific keyset, rather than
1892 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1893 manager, desktop, etc.
1895 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1897 * registryd/deviceeventcontroller.c:
1898 Replaced standard X error handler with a special handler that
1899 is non-fatal for failed keygrabs. This works around
1900 problems with keygrab clashes sometimes observed on
1902 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1903 mouse handling code as yet).
1905 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1908 Incremented revision for desktop alpha release.
1911 Fixed a couple of the more glaring errors (still not
1914 2002-01-11 Michael Meeks <michael@ximian.com>
1916 * registryd/deviceeventcontroller.c
1917 (spi_device_event_controller_forward_key_event): kill
1918 XUngrabKey / XKeyGrab race.
1919 (spi_controller_grab_keyboard): rename to
1920 (spi_controller_update_key_grabs): this, and deal
1921 with incremental adding / removing grabs more
1923 (_register_keygrab): ensure we're not pending a remove.
1924 (spi_grab_mask_free): impl.
1925 (spi_controller_register_global_keygrabs): split out
1927 (handle_keygrab): impl.
1928 (_deregister_keygrab): impl.
1929 (spi_controller_deregister_global_keygrabs): impl.
1930 (spi_controller_update_key_grabs): re-issue the grab if
1931 we just recieved a notification.
1933 * test/test-simple.c (key_listener_cb): remove debug.
1935 * registryd/deviceeventcontroller.c
1936 (spi_controller_register_device_listener): after
1937 registering a global keygrab, actualy register it !
1938 don't wait for a timeout; doh !
1940 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1941 to make it more readable / manipulable.
1942 s/grabmask/grab_mask/ s/refcount/ref_count/
1943 s/keyval/key_val/ s/modmask/mod_mask
1945 2002-01-08 Michael Meeks <michael@ximian.com>
1947 * registryd/deviceeventcontroller.c
1948 (spi_controller_register_with_devices): use gdk calls to
1950 (global_filter_fn): implement the filter.
1951 (spi_device_event_controller_check_key_event): rename to
1952 (spi_device_event_controller_forward_key_event): this & upd.
1953 (spi_get_display): replace with GDK_DISPLAY.
1955 * registryd/deviceeventcontroller.c
1956 (spi_controller_deregister_device_listener): unroll into
1957 (impl_deregister_keystroke_listener): here to simplify.
1958 (spi_controller_register_global_keygrabs): split cut and
1959 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1960 (spi_controller_deregister_device_listener): remove.
1961 (impl_register_mouse_listener): remove, no mouse listener
1962 support in at-spi-1.0
1964 * registryd/registry.c
1965 (_device_event_controller_hook): kill.
1966 (spi_registry_init): upd.
1968 * registryd/deviceeventcontroller.c
1969 (spi_device_event_controller_class_init): upd.
1970 (spi_check_key_event): merge into.
1971 (spi_device_event_controller_check_key_event):
1972 here and kill strange static ev init, don't leak
1973 the x_event - nor dynamicaly allocate it.
1975 * registryd/registry-main.c (main): re-direct
1976 timeout to remove strange vtable mess.
1978 * registryd/deviceeventcontroller.c
1979 (remove_listener_cb): impl.
1980 (spi_controller_deregister_device_listener):
1981 fix re-enterancy hazard.
1983 2002-01-07 Michael Meeks <michael@ximian.com>
1985 * registryd/deviceeventcontroller.c
1986 (spi_device_event_controller_new): upd.
1987 (impl_notify_listeners_sync): upd. debug.
1988 (spi_notify_keylisteners): fix re-enterancy hazards,
1989 prettify, remove O(n*n) iteration.
1990 (spi_controller_grab_keyboard): fix iteration.
1991 (spi_check_key_event): re-format to suit coding style.
1992 Clean all the warnings - we're warning free.
1994 * registryd/deviceeventcontroller.h:
1995 * registryd/registry.h: make mutualy referential with
1996 typesafe forward references instead of (!) void pointer
1999 2002-01-11 Michael Meeks <michael@ximian.com>
2001 * cspi/spi_accessible.c (role_names): add a role name
2002 to sync this array with the enum; and make the regression
2005 2002-01-10 Michael Meeks <michael@ximian.com>
2007 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2008 allow expansion of enumeration & kill warning.
2010 * test/test-simple.c (key_listener_cb): impl.
2011 (test_keylisteners): impl.
2013 * cspi/spi-listener.h: make listener signatures const
2014 on the provided (const) events.
2016 * test/keysynth-demo.c: upd. to const events.
2018 * test/simple-at.c: ditto.
2020 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2023 Rev the version to 0.5 (the previous tarball was named 0.4,
2024 even though the micro number was 3), so we need to rev upwards
2025 again for beta2/"desktop-alpha"
2028 Checked in a demo script, which requires editing before use!
2029 Proceed with caution.
2032 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2034 * cspi/spi_accessible.c:
2035 Add a couple of missing enum initializations, and fix some enum
2038 * cspi/spi_registry.c:
2039 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2041 * docs/reference/cspi/at-spi-cspi-sections.txt:
2042 Remove/fix a couple of broken document references.
2045 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2046 as Alt-Control to listen for commands, since on some systems
2047 Control-Alt may already be grabbed.
2049 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2052 Update version number to 0.4 for Beta2.
2054 * libspi/accessible.c, libspi/accessible.h:
2055 Expose spi_accessible_construct, to enable libgail-gnome
2056 construction from spi_accessible subtype.
2058 * utils/magnifier.c:
2059 Workaround for bug in some non-gnome-compliant window managers
2060 which made magnifier resize improperly.
2062 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2064 * libspi/accessible.c: (spi_accessible_new) :
2065 Move the test for SPI_IS_REMOTE_OBJECT to
2066 spi_accessible_new_return, fixing a bug and compile time warning.
2068 2002-01-08 Michael Meeks <michael@ximian.com>
2070 * registryd/registry.c (parse_event_type): remove strndup.
2072 * libspi/Makefile.am (libspi_la_SOURCES): remove
2073 sources already included in the headers section.
2075 * libspi/util.c: add.
2077 * libspi/spi-private.h: add.
2079 * registryd/registry.c: update to moved list iterators.
2081 2002-01-05 Michael Meeks <michael@ximian.com>
2083 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2085 * test/test-simple.c (main): ditto.
2087 2002-01-04 Michael Meeks <michael@ximian.com>
2089 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2090 redundant construct.
2092 * registryd/registry.c
2093 (get_listener_list): impl.
2094 (impl_accessibility_registry_register_global_event_listener):
2095 re-impl. to simplify using ~, remove dodgy const cast off.
2096 (parse_event_type): constify.
2097 (impl_accessibility_registry_deregister_global_event_listener_all):
2098 re-write, more efficiency and simplicity, kill re-enterancy
2100 (compare_listener_corbaref, compare_corba_objects),
2101 (compare_listener_quarks): define out.
2102 (impl_accessibility_registry_deregister_global_event_listener):
2103 re-write for effiency, and nail re-enterancy hazard.
2104 (impl_accessibility_registry_get_desktop_list): impl.
2105 (re_enterant_list_delete_link): impl.
2106 (re_enterant_list_foreach): impl.
2107 (remove_listener_cb): impl.
2108 (_registry_notify_listeners): kill.
2109 (notify_listeners_cb): impl.
2111 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2112 (SPI_getDesktopList): impl.
2114 * test/test-simple.c (test_desktop): test the methods.
2116 2002-01-03 Michael Meeks <michael@ximian.com>
2118 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2119 keystrings since we free them
2120 (SPI_freeAccessibleKeySet): in here.
2122 * libspi/accessible.c (spi_accessible_new): kill warning,
2123 wonder what is going on with the constructor here.
2125 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2127 * libspi/accessible.c (spi_accessible_new ()) :
2128 Added check to see if AtkObject is an SpiRemoteObject before
2129 creating an SpiAccessible.
2131 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2133 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2134 Enable keygrabs using the Control modifier, now that they are
2135 working properly (they were previously disabled).
2138 Change the command keygrab for this demo to "Control+Alt", so as
2139 to conflict with fewer other key commands on the system; this
2140 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2142 Removed a pointlessly-chatty keylistener for unshifted keys
2143 (shifted keys are still reported).
2145 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2147 * libspi/remoteobject.h:
2148 * libspi/remoteobject.c:
2149 Added definitions for special AtkObject subtype, required for
2150 support of remote components (specifically, used by BonoboControl
2151 accessibility implementation).
2153 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2155 * cspi/spi.h: synched relation types with ATK
2157 * cspi/spi_accessible.c: Added implementations of
2158 AcccessibleRelation_* methods
2160 * idl/Accessibility_Relation.idl: added getRelationTypeName
2161 method. Synched known relation types with ATK. Allowed for
2162 relation type extension with the RELATION_EXTENDED type.
2164 * libspi/relation.c: Provided implementations for
2165 AccessibleRelation methods.
2167 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2169 API tweaks for today's API 'freeze'.
2172 Added placeholder functions to allow future compatible expansion
2173 of the IDL interfaces.
2175 * idl/Accessibility_Registry.idl:
2176 Changed generateKeyEvent to generateKeyboardEvent. Changed
2177 signature of this method to accept an optional keystring in
2178 parameter (for complex text input synthesis) and changed use of
2179 simple 'boolean' parameter in registerKeystrokeListener to a
2180 struct, EventListenerMode.
2182 * cspi/spi_accessible.c:
2184 * cspi/spi_streamablecontent.c:
2185 Added references to AccessibleStreamableContent interface, and
2186 definition and implementation of AccessibleStreamableContent
2189 * cspi/spi_registry.c:
2191 Changed generateKeyEvent API to generateKeyboardEvent,
2192 taking a new (optional) keystring parameter to support complex
2197 Renamed directory (to better reflect its actual purpose, bridging
2198 from at-spi to ATK). The .so module is also now named
2201 * idl/Accessibility_Hypertext.idl:
2202 * libspi/accessible.c:
2203 * libspi/hypertext.h:
2204 * libspi/hypertext.c:
2205 Changed Accessibility_Hypertext to *not* derive from
2208 * cspi/spi_registry.c:
2209 Added list of legal event type names for 'window' events, which
2210 completes the registry event API.
2212 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2214 * at-bridge/bridge.c: Added registration for separate
2215 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2216 signals. If either of the first two parameters to the generic
2217 bridge signal handler are ints, they are passed on as event
2218 details. This allows an AT to determine what text was inserted.
2220 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2222 * registryd/deviceeventcontroller.c:
2223 Fixed regressions in generateKeyEvent caused by the removal of
2224 gdk_init from registryd; we now use pure X calls to connect to the
2225 display, which makes sense because deviceeventcontroller already
2226 uses a fair bit of X API (should eventually be migrated to a
2227 'portability layer').
2229 * registryd/desktop.c:
2230 Fixed minor regression in spi_desktop_init, changed the way the
2231 desktop name is being set to work with new spi_base API
2232 (gobject-based, rather than AtkObject-based).
2234 * registryd/Makefile.am:
2235 Minor revision of makefile to use XTST_LIBS variable rather than
2236 hard-wiring the Xtst LD_ADD element.
2238 * test/keysynth-demo.c:
2239 Tweaked an output message; added initialization of the
2240 'keystrings' member of the "switch listener" key_set.
2242 * libspi/relation.c:
2243 Squashed compile-time warning.
2245 * libspi/accessible.c:
2246 Cosmetic and formatting fixes, renamed a static method.
2248 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2250 * libspi/accessible.c
2252 * libspi/application.c
2255 * libspi/component.c
2256 * libspi/editabletext.c
2257 * libspi/hyperlink.c
2258 * libspi/hypertext.c
2260 * libspi/selection.c
2264 * registryd/desktop.c:
2265 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2267 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2269 * idl/Accessibility_Registry.idl:
2270 Added boolean member 'is_text' to DeviceEvent. This is for the
2271 use of key events, and helps prevent ambiguity between composed
2272 key strings and keysym names, since both may potentially be
2273 returned in the 'event_string' member.
2275 * at-bridge/bridge.c:
2276 * registryd/deviceeventcontroller.c:
2277 Use the 'is_text' member when notifying device event listeners.
2278 Knon issue: composed characters are not dealt with correctly by
2279 the global key listener implementation yet.
2281 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2283 * at-bridge/bridge.c:
2284 Namespaced local static methods to spi_atk_bridge_* where
2285 previously named bridge_*, and spi_* elsewhere.
2287 * at-bridge/bridge.c:
2288 * cspi/bonobo/cspi-bonobo-listener.c:
2289 Added demarshalling/conversion for string member of
2290 Accessibility_DeviceEvent to AccessibleKeystroke.
2292 * registryd/deviceeventcontroller.c:
2293 Added code to fill the Accessibility_DeviceEvent key string value
2294 member for global key events (i.e. from XGrabKey), to match
2295 behavior of Accessibility_DeviceEvent from the toolkit key events
2296 from the bridge. Fixed timestamp in global key event notifications.
2299 Added printout of key event's string value to
2300 report_ordinary_key_event, for demo/debugging purposes.
2302 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2304 * idl/Accessibility_Registry.idl:
2305 Removed Accessibility_KeyStroke structure in favor of generic
2306 Accessibility_DeviceEvent structure.
2307 Changed Accessibility_ControllerEventMask from a struct to an
2310 * at-bridge/bridge.c:
2311 Changed APIs to use DeviceEvent structure as above, and removed
2312 bogus casting between these event structures.
2314 * cspi/spi-listener.h:
2315 Added keystring member of AccessibleKeystroke structure, to enable
2316 matching on event "names" rather than only hardware codes and
2320 Added keystrings member of AccessibleKeySet struct, to allow
2321 matching on event names (as above).
2322 Added declarations for SPI_createAccessibleKeySet and
2323 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2324 event modmasks directly as unsigned ints rather than structs with
2325 refcounts, in the DeviceEventController methods.
2327 * cspi/spi_registry.c:
2328 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2330 * cspi/spi-roletypes.h:
2331 Added documentation of newly added SPI Roles.
2333 * cspi/bonobo/cspi-bonobo-listener.c:
2334 Changes in support of API changes above.
2336 * libspi/accessible.c:
2337 Converted APIs to use DeviceEvent structure (see IDL changes
2340 * registryd/deviceeventcontroller.c:
2341 Added DEControllerGrabMask structure to track keygrabs not only by
2342 modmask but by keyset as well; this allows us to do "global"
2343 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2344 grabbing on AnyKey and then filtering after-the-fact.
2345 Bugfixes for event filtration mean that we don't get false matches
2346 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2348 * registryd/deviceeventcontroller.c:
2349 Namespaced a number of static methods to use spi_ prefix. Major
2350 revision to internals of global (i.e. X) key grabs.
2352 * registryd/deviceeventcontroller.h:
2353 Removed keymask_list and added keygrabs_list to
2354 SpiDeviceEventController struct.
2357 Added use of SPI_createAccessibleKeySet API when creating a
2358 listener for only one key. Attach a listener to "shift spacebar
2359 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2360 X key event names to SPI key event names, so that listeners are
2361 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2363 * test/keysynth-demo.c:
2364 Changed (incorrect) use of X key event names (KeyPressed,
2365 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2368 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2370 * libspi/accessible.c:
2371 Convert all AtkRole enumerations to Accessibility_Role enums when
2372 getting a role from an AtkObject.
2374 * cspi/spi_accessible.c:
2375 Complete the conversion of Accessibility_Role enums at runtime to
2376 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2377 role enums correctly match those given in spi-roletypes.h.
2378 Re-synchronize the local names list for AccessibleRole_getName ().
2379 AccessibleRole_getName is now deprecated, since it duplicates the
2380 more reliable Accessible_getRoleName.
2381 Added some role types from Accessibility_Role.idl.
2383 * idl/Accessibility_Role.idl:
2384 Added some role types used by AtkRole.
2386 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2389 * cspi/spi_registry.c:
2391 * cspi/cspi-bonobo-listener.c:
2392 Namespaced all methods that did not begin with an "SPI_" or
2393 "Accessible" prefix to "SPI_".
2396 Homogenized internal function namespace to "cspi_" for statics.
2399 Patched tests to use the new CSPI API.
2401 * docs/reference/cspi/at-spi-cspi-sections.txt:
2402 Updated docs to reflect namespace changes, and added a number of
2403 methods to the documentation.
2405 * registryd/registry.c:
2406 Changed use of strings and string hashes in listener event
2407 matching and parse_event_string to use GQuark, which is guaranteed
2410 * registryd/registry.h:
2411 Squashed annoying warning.
2413 * idl/Accessibility_Role.idl:
2414 Extended range of available Accessibility_Role values.
2416 * cspi/spi_accessible.c:
2417 Re-ordered role names.
2419 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2421 * idl/Accessibility_Value.idl:
2422 Revert use of union back to CORBA_double, since the double type is
2423 more efficient and can contain the other types without loss of
2426 * idl/Accessibility_Accessible.idl:
2427 Added method Accessibility:Accessible:getRoleName, to complement
2428 Accessibility:Accessible:getRole.
2430 * cspi/spi_accessible.c:
2432 Added C binding for above, Accessible_getRoleName (), and changed
2433 signature of Accessible_getRole () to return an AccessibleRole.
2435 * cspi/spi-roletypes.h:
2436 Changed AccessibleRole_getName to return a char * instead of a
2437 const char *. This method is now at least temporarily deprecated
2438 in favor of asking Accessibles for their RoleNames directly.
2441 Revert to match Accessibility_Value.idl;
2445 Change signature of AccessibleValue methods to use double rather
2449 * cspi/spi_accessible.c:
2450 Changed Accessible_getRole to return an AccessibleRole enum rather
2451 than a UTF-8 string. The UTF-8 string can still be obtained via
2452 AccessibleRole_getName ().
2454 * test/test-simple.c:
2455 Add test_action. Small fixup to match API change to Accessible_getRole.
2458 Bugfix for get_action_from_servant ().
2460 2001-12-11 Michael Meeks <michael@ximian.com>
2462 * libspi/libspi.h: remove registry.h and
2463 desktop.h, deviceeventcontroller.h
2465 * libspi/Makefile.am: remove registry.[ch],
2466 desktop.[ch], deviceeventcontroller.[ch]
2468 * registryd/Makefile.am: add registry.[ch],
2469 desktop.[ch], rename registryd.c to registry-main.c.
2470 add deviceeventcontroller.[ch]
2472 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2475 Replace setenv() call with putenv ().
2477 * libspi/component.c:
2478 Bugfix in AccessibleComponent_getExtents (),
2481 2001-12-11 Michael Meeks <michael@ximian.com>
2483 * libspi/image.c (impl_getImageExtents): impl.
2484 (spi_image_class_init): upd.
2487 (AccessibleImage_getImageDescription): fix daft bug
2490 * test/test-simple.c (global_listener_cb): update
2491 to only quit if not --poke
2492 (main): catch --poke.
2493 (validate_accessible): upd. dumping, call test_image
2496 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2499 * idl/Accessibility.idl: update all IDL includes.
2501 * idl/*.idl - rename to namespace - this sucks, blame
2502 mjs' bad decision for oafd.
2504 * test/test-simple.c (create_test_window): add more tests.
2505 (create_tree): split this out.
2506 (validate_accessible): bugfix.
2508 2001-12-11 Michael Meeks <michael@ximian.com>
2510 * cspi/bonobo/cspi-bonobo-listener.c:
2511 (cspi_kestroke_listener_unref),
2512 (cspi_event_listener_unref): impl. undoing previous
2513 homenous environment - for Bill.
2515 * cspi/spi_table.c (long_seq_to_array): use
2518 * cspi/spi_main.c: split out all bonoboish bits into
2521 * cspi/spi-impl.h: upd. typedefs.
2523 * cspi/spi_registry.c: update to lowlevel API,
2524 return booleans to indicate success in some places.
2526 * cspi/spi_event.c: update to lowlevel API.
2528 * cspi/bonobo/Makefile.am: add.
2530 * cspi/bonobo/cspi-lowlevel.h: add
2532 * cspi/bonobo/cspi-bonobo.c: add
2534 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2536 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2537 (SUBDIRS): add bonobo, link in the libs.
2539 * cspi/spi-util.c: kill this file.
2541 * TODO: merge in my bits.
2543 2001-12-11 Michael Meeks <michael@ximian.com>
2545 * test/test-simple.c (test_value, test_table, main):
2546 remove unused variables causing warnings.
2548 * configure.in: cleanup checks - require gail.
2550 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2553 Changed Value interface to use SValue (scalars) rather than
2554 assuming all values are floats. This allows floats, doubles,
2555 longs, shorts, and unsigned values to be manipulated.
2556 Introduced Accessibility:SValue union.
2559 Updated to use new API above, and to work correctly with GValues
2560 of different types in AtkValue.
2563 Updated to use new API above. cspi's API is as yet unchanged.
2566 Updated the Value revision action item.
2568 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2570 * test/test-simple.c:
2571 Added test_table (GtkTreeView widget in test window to follow).
2572 Un-commented test_value, added GtkRange widget.
2573 Added GtkTreeView widget with GtkListStore. It passes regression
2574 test but leaks one SPI object for some reason.
2577 Fixed bug in impl__set_currentValue.
2579 2001-12-10 Michael Meeks <michael@ximian.com>
2581 * cspi/spi_text.c: audit for exception handling,
2582 tolerating NULL object references safely etc.
2584 * cspi/spi_value.c: ditto.
2586 * cspi/spi_table.c (AccessibleTable_getSummary),
2587 (AccessibleTable_getAccessibleAt),
2588 (AccessibleTable_getRowHeader),
2589 (AccessibleTable_getColumnHeader),
2590 (AccessibleTable_getCaption): fix bugs hidden by
2592 (long_seq_to_array): impl.
2593 (AccessibleTable_getSelectedRows),
2594 (AccessibleTable_getSelectedColumns): use it.
2596 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2599 Added a TODO list (rough and short for now).
2601 * cspi/spi_hyperlink.c:
2602 * cspi/spi_hypertext.c:
2603 Fixed macro name typos, and remove use of obsolete macro in
2604 AccessibleHyperlink_getLink.
2606 * cspi/spi_action.c:
2607 * cspi/spi_accessible.c:
2608 * cspi/spi_application.c:
2609 * cspi/spi_component.c:
2610 * cspi/spi_selection.c:
2613 Documentation fixes (removed return values from ref/unref methods).
2615 2001-12-10 Michael Meeks <michael@ximian.com>
2617 * cspi/spi_action.c: audit for exception handling,
2618 tolerating NULL object references safely etc.
2620 * cspi/spi_accessible.c: ditto.
2622 * cspi/spi_component.c: ditto.
2624 * cspi/spi_editabletext.c: ditto.
2626 * cspi/spi_hyperlink.c: ditto.
2628 * cspi/spi_hypertext.c: ditto.
2630 * cspi/spi_image.c: ditto.
2632 * cspi/spi_selection.c: ditto.
2634 2001-12-10 Michael Meeks <michael@ximian.com>
2636 * configure.in: use cspi/libspi.pc.in instead.
2638 * Makefile.am (pkgconfig_DATA): upd. to match.
2640 * test/simple-at.c (report_focus_event): kill hacks around
2641 bad return values, use putenv not setenv
2643 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2644 fire ChildGone - I killed it.
2646 * libspi/component.c
2647 (impl_accessibility_component_get_extents): remove
2650 * idl/Accessible.idl: kill ChildGone exception.
2652 * cspi/*.[ch]: kill int return from ref / unref.
2654 * cspi/spi_main.c (cspi_object_add_check): fold into
2655 (cspi_object_add): here.
2657 * cspi/spi_component.c (AccessibleComponent_getExtents):
2658 handle exceptions elegantly.
2660 * cspi/spi-private.h (cspi_check_ev_return),
2661 (cspi_return_if_fail): impl.
2663 * cspi/spi_accessible.c: use extensively.
2664 (AccessibleStateSet_equals): add direct compare check.
2666 * cspi/spi_selection.c: tolerate NULL objs, and check
2667 exceptions before return.
2669 * cspi/spi-util.c (cspi_warn_ev): rename to
2670 (cspi_check_ev): this & don't pass ev in; no point.
2672 2001-12-10 Michael Meeks <michael@ximian.com>
2674 * test/test-simple.c: use putenv not setenv
2675 (get_environment_vars): more chatty if you're not using
2678 * test/simple-at.c: do the setenv so more people see the
2681 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2683 * libspi/registry.c:
2684 Changed check of CORBA_environment on notification to be a warning
2685 instead of an error for the moment, since we can recover from this
2686 error when caused by a queued notification from a dead app.
2689 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2690 used by all current implementors of AtkValue), and coerce to
2691 CORBA_float. (Proper general case fix may require change to Value.idl).
2693 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2697 * cspi/spi_accessible.c:
2698 Documentation fixes: added user_data params to documentation for
2699 listeners and callbacks.
2701 * cspi/spi_accessible.c:
2702 Changed AccessibleStateSet_compare to return a
2703 StateSet rather than return the difference set into a third parameter.
2706 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2709 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2710 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2714 Remove subdirectory po from SUBDIRS for now.
2716 * at-bridge/bridge.c:
2717 Beefed up a couple of debug printouts.
2718 One-line fix for signal notification name formatting.
2720 * libspi/accessible.c:
2721 Added assertion to spi_accessible_new ().
2723 * libspi/application.c:
2724 Put #ifdef qualifiers around a printf.
2727 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2729 * registryd/Makefile.am:
2731 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2732 INTLTOOL_SERVER_RULE macro.
2735 Added an event listener for several ATK signals, for
2736 testing and debugging. Removed a few g_warnings.
2737 Added test output if focussed item implements the Value interface.
2739 * test/test-simple.c:
2740 Added test_value () function (known not to pass at the moment, so
2741 not actually called yet.
2743 2001-12-08 Michael Meeks <michael@ximian.com>
2745 * at-bridge/bridge.c (bridge_focus_tracker),
2746 (emit_eventv): fix the same ref. leak.
2747 (register_atk_event_listeners): don't leak.
2749 * cspi/spi-listener-impl.c (cspi_event): more
2750 protection from client code.
2752 * test/test-simple.c (test_desktop): unref the app.
2754 * test/Makefile.am: upd. TESTS.
2756 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2758 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2760 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2762 * cspi/spi_registry.c: constify in strings.
2763 (deregisterGlobalEventListenerAll): don't release the ref.
2765 * cspi/spi.h: start removing redundant / conflicting
2766 gtkdoc comments, making the API readable at a glance :-)
2768 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2770 * test/keysynth-demo.c (keysynth_exit, main): upd.
2772 * test/simple-at.c (main, simple_at_exit): upd.
2774 * test/test-simple.c (unutterable_horror): kill.
2775 (utterable_normal_derefs): kill.
2776 (main): upd & do a setenv before gtk_init, so that we
2777 can use memprof - and to save the pain of remembering
2778 this, if we're running under memprof - don't exit.
2780 * cspi/spi_main.c (SPI_exit): return exit status
2782 (SPI_event_quit): impl.
2783 (SPI_event_main): simplify.
2784 (cspi_is_gnome_app): kill.
2785 (SPI_init): kill isGNOMEapp arg.
2787 * at-bridge/bridge.c (register_atk_event_listeners):
2788 re-instate the unref.
2789 (bridge_exit_func): don't re-activate the registry,
2790 protect vs. theoretical re-entry, use the
2791 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2792 assert a clean shutdown - for regression tests.
2794 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2796 * configure.in: Comment out dummy i18n support for now,
2797 otherwise it fails to build.
2798 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2799 EXTRA_DIST. They are missing in tarball.
2801 2001-12-07 Michael Meeks <michael@ximian.com>
2803 * util/magnifier.c: kill bonobo activation reg. race.
2805 * libspi/component.c
2806 (impl_accessibility_component_get_extents): make it match
2809 * libspi/registry.c (_registry_notify_listeners):
2810 re-remove X headers & reconcile conflicts.
2811 (spi_listener_struct_free): bad conflict resolve.
2812 (impl_accessibility_registry_register_application):
2813 more bad merging fixed.
2814 (impl_accessibility_registry_deregister_application): ditto.
2815 (spi_registry_new): ditto.
2816 (spi_registry_init): don't have an applications field.
2818 [ merge fixups2 branch to here ]
2819 2001-12-07 Michael Meeks <michael@ximian.com>
2821 * test/simple-at.c (report_focus_event),
2822 (report_focussed_accessible): remove g_warning debug.
2824 2001-12-07 Michael Meeks <michael@ximian.com>
2826 * test/test-simple.c (validate_tree): comment out some checks.
2827 (test_desktop): app now not registered idly - horay.
2829 2001-12-07 Michael Meeks <michael@ximian.com>
2831 * cspi/spi_registry.c
2832 (registerAccessibleKeystrokeListener): clean, stop it leaking
2833 great swathes of memory, and device event controller references.
2834 ensure we always pass valid sequences.
2835 (deregisterAccessibleKeystrokeListener): ditto.
2836 (generateKeyEvent): upd.
2838 * at-bridge/bridge.c (bridge_key_listener): handle
2839 registry dead exception gracefully.
2840 (bridge_focus_tracker, emit_eventv): free ev.
2842 * test/simple-at.c (report_focus_event): fix polarity.
2844 * libspi/application.c (notify_listeners): kill the ev
2845 argument, and make sure we init the ev we use.
2846 (spi_application_object_event_listener): split out a chunk
2847 (get_atk_object_ref): here & fixup.
2848 (reverse_lookup_name_for_toolkit_event): make const.
2849 (spi_application_toolkit_event_listener): fixup, kill leaks
2852 * at-bridge/bridge.c (register_atk_event_listeners):
2853 don't unref the noop object - causes grief.
2855 * libspi/registry.c: remove the X headers.
2856 turn off the debug churn.
2858 * libspi/accessible.c (spi_accessible_new_return): only
2859 release the ref if we are supposed to [doh]
2861 * test/simple-at.c (report_button_press, report_focus_event):
2862 guard vs. unexpected exit.
2864 * at-bridge/bridge.c (gtk_module_init): prune printf.
2865 (bridge_exit_func): fix app unref.
2867 * libspi/Makefile.am: don't install registry or desktop.h
2869 * libspi/*.h: update includes.
2871 * libspi/application.h: don't include ourself, or
2872 other redundant headers.
2874 2001-12-06 Michael Meeks <michael@ximian.com>
2876 * libspi/accessible.c
2877 (get_accessible_from_servant): impl.
2878 Upd. all CORBA impl.s to use it killing cut and paste.
2880 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2882 (SPI_init): register atexit cleanup handler here.
2884 2001-12-06 Michael Meeks <michael@ximian.com>
2886 * at-bridge/bridge.c (gtk_module_init): g_error on
2887 activation exception
2889 2001-12-06 Michael Meeks <michael@ximian.com>
2891 * at-bridge/bridge.c (gtk_module_init): some sort of
2892 confusing merge clash - reverted.
2893 (bridge_idle_init): ditto.
2895 * test/test-simple.c (main, utterable_normal_derefs):
2896 merge from Bill - somehow not committed.
2898 2001-12-06 Michael Meeks <michael@ximian.com>
2900 * libspi/value.c (spi_value_class_init): upd.
2901 (spi_value_finalize): kill.
2903 * libspi/table.c (spi_table_finalize): kill.
2904 (spi_table_interface_new): upd.
2905 (spi_table_class_init): upd.
2906 (get_table_from_servant): impl.
2907 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2909 * libspi/selection.c (spi_selection_finalize): kill.
2910 (spi_selection_interface_new): upd.
2911 (spi_selection_class_init): upd.
2912 (get_selection_from_servant): impl.
2913 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2915 * libspi/relation.c (spi_relation_finalize): kill.
2916 (spi_relation_class_init, spi_relation_new): upd
2918 * libspi/image.c (spi_image_finalize): kill.
2919 (spi_image_class_init): upd.
2920 (spi_image_interface_new): upd.
2921 (get_image_from_servant): impl.
2922 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2924 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2925 (spi_hyperlink_finalize): kill.
2926 (spi_hyperlink_new): upd.
2927 (get_hyperlink_from_servant): impl.
2928 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2930 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2931 (spi_hypertext_finalize): kill.
2932 (spi_hypertext_class_init): upd.
2933 (get_hypertext_from_servant): impl.
2934 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2936 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2937 (spi_editable_text_interface_new): upd.
2938 (get_editable_text_from_servant): impl.
2939 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2941 * libspi/text.c (get_text_from_servant): impl.
2942 All impls - update to use it killing more cut and paste,
2943 also fix bad string returns on duff args ( a somewhat
2944 impossible case to handle - but hey ).
2945 (spi_text_construct): impl.
2946 (spi_text_interface_new): upd.
2947 (spi_text_object_finalize): kill.
2949 * libspi/component.c
2950 (accessibility_component_object_finalize): kill.
2951 (spi_component_class_init): upd.
2952 (get_component_from_servant): impl. helper to kill cut & paste.
2953 (impl_accessibility_component_contains):
2954 (impl_accessibility_component_get_accessible_at_point):
2955 (impl_accessibility_component_get_position):
2956 (impl_accessibility_component_get_extents):
2957 (impl_accessibility_component_get_mdi_z_order):
2958 (impl_accessibility_component_get_layer):
2959 (spi_component_interface_new): upd.
2961 * libspi/action.c (spi_action_finalize): kill.
2962 (spi_action_class_init): upd. inherit from SpiObject.
2963 (spi_action_interface_new): upd.
2964 (get_action_from_servant): impl. helper to reduce cut & paste.
2965 (impl_getKeyBinding, impl_getName, impl_doAction),
2966 (impl_getDescription): Use it everywhere.
2968 * cspi/spi_main.c (get_live_refs): a pointer hash.
2969 (spi_object_hash, spi_object_equal): comment out.
2970 There are issues with CORBA object hashing that need
2973 * libspi/application.c (spi_application_init),
2974 (spi_application_new): upd.
2976 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2977 (spi_accessible_class_init): upd.
2978 s/accessible/object/ in epv methods.
2980 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2982 * at-bridge/bridge.c:
2983 Reorder the bridge initialization into the bridge gtk_module_init,
2984 an immediate call to bridge_register_app, and an idle_add for
2985 register_atk_event_listeners (the only code that *must* wait until
2986 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2987 the activation, creates the application's Accessible object, and
2988 queues the bridge_idle_init function. Restored call to
2989 Accessibility_Registry_deregisterApplication().
2990 Prior to making this call we obtain a new reference to the
2991 registry, which is a temporary hack that helps us handle apps that
2992 shut down the bonobo mainloop before we get there.
2994 * libspi/registry.c:
2995 Fix string leakage in debug block, and don't segv if a an app
2996 dies before its event notifications have been propagated.
2999 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3000 as stopgap measure until we get proper exception handling when
3001 objects die during or before interrogation.
3005 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3006 Also changed default value of is_gnome_app to TRUE.
3009 * test/keysynth-demo.c:
3010 Changed use of SPI_init and SPI_event_main to reflect API change above.
3013 Made report_focus_event check the warning value from getName
3014 before reporting on focussed accessible; simplifies handling of
3015 notifications from dead objects.
3017 * test/test-simple.c: (Changes not in this patch since source is
3020 2001-12-05 Michael Meeks <michael@ximian.com>
3022 * registryd/registryd.c (main): protect against
3023 bonobo-activation startup race condition.
3025 * cspi/spi_main.c (cspi_object_add_check): cope
3026 with the exception elegantly.
3028 * idl/Accessible.idl: decl. ChildGone
3030 * libspi/desktop.c (spi_desktop_dispose): impl.
3031 (spi_desktop_class_init): upd.
3032 (spi_desktop_add_application),
3033 (spi_desktop_remove_application),
3034 (abnormal_application_termination): impl.
3035 (impl_desktop_get_child_at_index): re-impl.
3038 (impl_accessibility_registry_deregister_application),
3039 (impl_accessibility_registry_register_application):
3040 kill excessive debug clutter.
3042 * test/test-simple.c (test_misc): test some NULL
3043 tolerance. (main): upd.
3045 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3046 implements no interfaces - so let's not crash.
3048 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3050 * libspi/accessible.c (spi_accessible_new_return): impl.
3051 helper to calm the cut and paste, to cope with
3052 NULL AtkObjects effectively and efficiently, and to kill
3053 the referencing bugs.
3055 * libspi/table.c (impl_getAccessibleAt),
3056 (impl_getRowHeader, impl_getColumnHeader): upd.
3058 * libspi/hyperlink.c (impl_getObject): upd.
3060 * libspi/accessible.c
3061 (impl_accessibility_accessible_get_child_at_index): upd.
3063 * libspi/component.c
3064 (impl_accessibility_component_get_accessible_at_point): upd.
3066 * test/test-simple.c (test_editable_text, test_text): impl.
3069 * cspi/spi_editabletext.c
3070 (AccessibleEditableText_insertText): constify.
3072 * test/test-simple.c (focus_me): make more robust.
3074 * libspi/accessible.c: remove some printfs in methods that
3075 we test and work fine, so we can get a clean tree dump.
3077 * test/test-simple.c (validate_accessible),
3078 (validate_tree): make tree dumping pretty too.
3080 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3081 it builds without debug on.
3083 * test/test-simple.c (validate_accessible): fix the most
3086 * cspi/spi_main.c (spi_object_release): leave the nicely
3087 blanked memory around if in debug mode.
3089 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3091 [committed to fixups2]
3092 2001-12-05 Michael Meeks <michael@ximian.com>
3094 * libspi/editabletext.c
3095 (spi_editable_text_class_init): g_type_class_peek_parent,
3096 not interface peek - so we finalize cleanly.
3098 * libspi/accessible.c (spi_accessible_new): kill debug.
3100 * test/test-simple.c (validate_accessible): fix ref.
3101 leak, print strings before freeing them; sigh, comment a
3102 chunk out due to strangeness.
3103 (validate_tree): unref the child after use.
3105 * cspi/spi_component.c (AccessibleComponent_getLayer):
3106 add missing break statement, switch on zlayer not the
3107 uninitialized retval.
3109 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3110 before (possibly re-entering) remote unref.
3112 * test/simple-at.c (main): unref the desktop.
3114 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3117 * cspi/spi_main.c (cspi_accessible_is_a): here to
3118 isolate bonobo API usage more.
3120 * libspi/registry.c (impl_accessibility_registry_register_application):
3121 prune bogus comment.
3123 2001-12-04 Michael Meeks <michael@ximian.com>
3125 * test/test-simple.c (validate_tree): upd.
3126 IndexInParent check to make it more lucid.
3127 (validate_accessible): dump the tree.
3129 * libspi/accessible.c (de_register_public_ref),
3130 (get_public_refs): impl.
3131 (spi_accessible_new): make more efficient & intuitive.
3132 Now IndexInParent check works.
3134 2001-12-04 Michael Meeks <michael@ximian.com>
3136 * cspi/spi-util.h: remove.
3138 * cspi/spi.h: move SPI_freeString here
3140 * libspi/component.c (impl_accessibility_component_get_layer):
3142 (impl_accessibility_component_get_mdi_z_order): ditto,
3143 return -1 on error - is this ok ?
3145 * test/test-simple.c (test_application): impl.
3147 * cspi/spi_accessible.c (Accessible_getApplication),
3148 (Accessible_isApplication): impl.
3150 * libspi/registry.c (spi_listener_struct_free): release
3151 the CORBA reference too.
3153 * libspi/accessible.c
3154 (impl_accessibility_accessible_get_parent): fix ref leak.
3156 * libspi/registry.c (spi_registry_new): make the registry
3157 immortal - we don't want it to go away ever.
3159 * libspi/application.c
3160 (spi_accessible_application_finalize): impl. cleanup.
3162 * cspi/spi_registry.c
3163 (deregisterGlobalEventListenerAll),
3164 (deregisterGlobalEventListener),
3165 (deregisterAccessibleKeystrokeListener): fix ref leak.
3167 * cspi/spi_main.c (SPI_init): remove redundant ref.
3169 * test/test-simple.c (unutterable_horror): impl. to force a
3174 (impl_accessibility_registry_deregister_application): release
3175 the application when we de-register it.
3177 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3178 until we have the infastructure to get it right.
3180 2001-12-03 Michael Meeks <michael@ximian.com>
3182 * libspi/Makefile.am: only build eventlistener.[ch]
3184 * libspi/accessible.c
3185 (impl_accessibility_accessible_get_child_at_index): don't leak.
3187 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3188 before we hit the idle handler.
3190 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3191 debugging than exit.
3193 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3195 * libspi/listener.c (impl_notify_event): check source
3196 not NIL before unref.
3198 * libspi/registry.c (impl_registry_notify_event): ditto.
3200 * libspi/eventlistener.c
3201 (impl_accessible_event_notify_event): unref the source.
3203 * libspi/accessibleeventlistener.c
3204 (impl_accessible_event_notify_event): unref the source.
3206 * idl/Event.idl: remove 'hash_id' attribute - of no
3209 * libspi/application.c (notify_listeners): upd list
3211 (spi_application_object_event_listener),
3212 (spi_application_toolkit_event_listener): upd to do correct
3216 (_registry_notify_listeners): update.
3217 (parse_event_type): this method also leaks like a sieve.
3218 (impl_accessibility_registry_deregister_global_event_listener):
3219 fix ETYPE_WINDOW case.
3221 * libspi/application.c
3222 (impl_accessibility_application_register_object_event_listener):
3225 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3227 * libspi/hypertext.c (impl_getLink): ditto.
3229 * cspi/spi_main.c (cspi_object_add): remove
3230 bogus CORBA_Object_duplicate.
3232 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3235 * cspi/spi_accessible.c
3236 (Accessible_getRelationSet): fix leak / referencing issue.
3238 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3239 (cspi_object_add, cspi_object_unref): upd.
3240 (spi_object_release, get_live_refs): impl.
3241 (cspi_cleanup): simplify.
3243 * *.[ch]: s/boolean/SpiBoolean/
3245 * cspi/spi_accessible.c (role_names): actualy order so it
3246 corresponds with the enum !
3248 * test/test-simple.c (test_roles): check some role strings
3249 vs. enums to detect offset errors.
3251 2001-12-01 Michael Meeks <michael@ximian.com>
3253 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3255 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3257 (Accessible_getChildAtIndex): use cspi_add_check so we
3258 check the ev before using a (possibly) invalid value.
3260 * libspi/accessible.c
3261 (impl_accessibility_accessible_get_parent): don't segv
3264 * at-bridge/bridge.c (gtk_module_init): upd.
3265 (bridge_property_event_listener): don't leak strings
3267 (bridge_state_event_listener),
3268 (bridge_property_event_listener): don't use a static
3269 buffer in case of recursive event emission &
3270 re-enterancy - split out the swathe of cut and paste
3272 (emit_eventv): and fix 2 ref leaks here & comply to the
3274 (bridge_register_app): rename to
3275 (bridge_idle_init): this and kill arg parsing, split
3276 various inits & bonobo-activation registration to module
3277 init time, kill referencing error.
3278 (bridge_exit_func): fix the same leak.
3279 (bridge_focus_tracker): don't leak event structures
3281 (bridge_signal_listener): more leakage and cut & paste
3283 (bridge_key_listener): return the result - FIXME is
3284 this polarity correct ?
3285 (accessibility_keystroke_from_atk_key_event): rename
3286 (accessibility_init_keystroke_from_atk_key_event): and stop
3288 (gtk_module_init): return a value - not that it is checked by
3290 (bridge_key_listener): register my horror at casting between
3291 IDL defined structs.
3292 (bridge_get_registry): kill - not used.
3294 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3296 * test/test-simple.c (test_roles): impl.
3297 (test_desktop, validate_accessible, validate_tree): impl.
3299 * cspi/spi_accessible.c (role_names): fixup bogus
3300 MAX_ROLES setup, make constants const for efficient linkage
3301 (AccessibleRole_getName): conform to coding style, make
3304 2001-11-30 Michael Meeks <michael@ximian.com>
3306 * cspi/spi.h: add missing prototype.
3308 * libspi/registry.c (spi_listener_struct_new): fix sig.
3310 * test/Makefile.am: add test-simple
3312 * test/test-simple.c: add
3314 * test/test.sh: add.
3316 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3318 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3319 do it straight - since otherwise we often get an activation race.
3321 [ work before Bill duplicated a chunk of it ... ]
3322 2001-11-30 Michael Meeks <michael@ximian.com>
3324 * libspi/keystrokelistener.c
3325 (spi_keystroke_listener_class_init): fixup arg
3328 * libspi/eventlistener.c
3329 (spi_event_listener_class_init): ditto.
3331 * tests/test.sh: add.
3333 * cspi/spi-listener-impl.h: update macros.
3335 * cspi/spi-listener-impl.c
3336 (cspi_event_listener_remove_callback): add
3337 correct pre-conditions.
3339 * cspi/spi_main.c (SPI_exit): guard vs. double
3340 exits, exit the mainloop nicely.
3341 (SPI_event_main): make more sense.
3342 (SPI_init): move the atexit evilness here so we
3343 always do it (yuck).
3344 (SPI_event_main): upd.
3346 * test/simple-at.c: update for listener changes.
3348 * registryd/registryd.c (main): prune kruft.
3350 * libspi/libspi.h: upd.
3352 * libspi/eventlistener.[ch]: rename broken macros.
3354 * libspi/accessibleeventlistener.[ch]: remove.
3356 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3358 * test/test-simple.c: Add - automated tests.
3360 * cspi/spi-listener-impl.c (cspi_event),
3361 (cspi_key_event): add user_data to invoke.
3362 (cspi_keystroke_listener_finalize): impl.
3363 (cspi_keystroke_listener_class_init): upd.
3366 (createAccessibleEventListener),
3367 (AccessibleEventListener_addCallback),
3368 (createAccessibleKeystrokeListener),
3369 (AccessibleKeystrokeListener_addCallback): upd.
3371 * libspi/deviceeventcontroller.c
3372 (spi_device_event_controller_check_key_event): add public proto.
3375 (impl_accessibility_registry_deregister_global_event_listener):
3376 always init listeners.
3377 (_registry_notify_listeners): yes it is.
3379 * cspi/spi-listener-impl.c (cspi_key_event):
3381 (cspi_event_listener_finalize): impl.
3382 (cspi_event_listener_class_init): hook up.
3383 (event_handler_new, event_handler_free),
3384 (event_list_remove_by_callback): impl.
3385 (cspi_event_listener_remove_callback),
3386 (cspi_keystroke_listener_remove_callback),
3387 (cspi_keystroke_listener_add_callback),
3388 (cspi_event_listener_add_callback): upd.
3390 * libspi/keystrokelistener.c
3391 (keystroke_listener_object_finalize): kill
3392 (spi_keystroke_listener_class_init): upd.
3393 (spi_keystroke_listener_add_callback),
3394 (spi_keystroke_listener_remove_callback): kill,
3396 (impl_key_event): prune drasticaly.
3398 * libspi/eventlistener.c
3399 (spi_event_listener_add_callback),
3400 (spi_event_listener_remove_callback): kill, use
3402 (impl_accessible_event_notify_event): upd.
3403 (spi_event_listener_object_finalize): remove.
3405 * libspi/Makefile.am: use eventlistener.[ch]
3407 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3409 * libspi/registry.c (_registry_notify_listeners):
3410 Changed listener loop iteration to use preferred convention.
3411 Got rid of string memory leaks caused be calling g_strconcat
3412 inside function calls.
3414 * libspi/registry.c (parse_event_type):
3415 Stopped g_strconcat memory leaks, free the g_strsplit return,
3416 g_strdup the split pieces when used, etc.
3418 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3421 Change method 'compare' to return a 'difference set' rather than
3422 taking a StateSet as an out parameter (more Java-friendly).
3424 * idl/Accessible.idl:
3425 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3427 * idl/Component.idl:
3429 Changed methods 'getExtents' and 'getImageExtents' in these
3430 interfaces to return a BoundingBox structure.
3431 (getPosition and getSize are redundant and possibly should be
3432 removed, rather than creating a corresponding Point struct.)
3434 * cspi/spi_component.c:
3435 Modify implementation of getExtents to reflect the above IDL
3440 Add (missing) AccessibleImage_getExtents () API.
3442 * docs/reference/cspi/at-spi-cspi-sections.txt:
3443 Added AccessibleImage_getImageExtents () to docs.
3445 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3447 * idl/Component.idl:
3448 Added two methods, getLayer () and getMDIZOrder (), to reflect
3449 the new ATK methods atk_object_get_layer and
3450 atk_object_get_mdi_z_order. (Which arguably should be part of the
3451 AtkComponent API and AtkObject). Also added an enum,
3452 ComponentLayer, for the first method's return value.
3454 * libspi/component.c:
3455 Added implementations for these methods.
3457 * cspi/spi_component.c:
3459 Added cspi binding methods for above,
3460 AccessibleComponent_getLayer() and
3461 AccessibleComponent_getMDIZOrder().
3462 Added cspi enum 'AccessibleComponentLayer'.
3464 * docs/reference/cspi/at-spi-cspi-sections.txt:
3465 Added above methods to docs.
3469 Changed typedef for 'boolean' type (and all references to it) to
3470 SPIBoolean, to avoid keyword clashes with C++.
3473 Changed usages of 'boolean' to SPIBoolean.
3475 * test/keysynth-demo.c:
3476 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3477 app), except where SPIBoolean is required by the callbacks API.
3479 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3481 * cspi/spi_registry.c:
3482 Removed obsolete X event loop for passive keygrabs (which now
3485 * registryd/registryd.c:
3486 Removed unnecessary call to gdk_init() [cruft]. This also allows
3487 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3490 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3492 * docs/reference/cspi:
3493 Included docs for SPI_freeString in generated documentation.
3496 Renamed spi_freeString to SPI_freeString, for consistency. Added
3497 documentation for this function.
3500 Renamed spi_freeString to SPI_freeString, for consistency.
3501 Removed obsolete method declaration string_from_corba_string.
3503 * test/keysynth-demo.c:
3504 Small tweak to comments.
3507 Stopped leaking the strings returned from CSPI.
3509 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3511 Merged Michael's branch (see his ChangeLog entries below).
3513 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3514 bridge is alive, release on exit.
3516 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3517 Fix type check macro.
3520 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3523 Added is_gnome_app static, and method cspi_is_gnome_app(),
3524 so we can call the appropriate shutdown routine at exit in SPI_exit.
3526 * cspi/spi_main.c (cspi_object_ref):
3527 Duplicate the corba object passed in, since we're keeping it around.
3529 * cspi/SPI_exit.c, cspi_cleanup:
3530 Moved the releasing of the live refs to its own function, so we
3531 can put it in g_atexit (). Call the appropriate shutdown API
3532 depending on whethe calling client is a gnome app or not
3533 (bonobo_main_quit or CORBA_ORB_shutdown).
3535 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3536 Unref the listener when this method is called, after
3537 deregistration. Updated the API docs to note this behavior.
3539 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3540 Bugfixes: Ref the bonobo object when returning a parent or child
3541 reference, or an AccessibleRelation. Generally made sure
3542 BonoboObject refcount is incremented whenever we return an
3545 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3546 Fixed typo/bug in signal declaration.
3548 * libspi/accessibleeventlistener.h:
3551 * libspi/application.c (spi_application_new):
3552 Fixed leak in initialization.
3555 Remembered to increment bonobo-object refcount when returning
3556 children (applications) from desktop object.
3557 Added (empty) finalize method.
3559 * libspi/deviceeventcontroller.c:
3560 Hold a ref to listeners inside DEControllerKeyListeners.
3561 Added dec_key_listener_free() method. Use prepend instead of
3562 append in key_listener list. Fixed some refcount madness and
3563 leaks in the listener registration/deregistration - deregistration
3564 now calls dec_key_listener_free() on listeners, and on the
3565 temporarily constructed dec_key_listener() used to perform the search/match.
3567 * libspi/hypertext.c (spi_hypertest_finalize):
3568 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3569 class. Also fixed spi_hypertext_interface_new() and
3570 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3572 * libspi/hypertext.h:
3573 Removed pointless and duplicate AtkObject pointer from
3576 * libspi/keystrokelistener.c:
3577 Fixed incorrect type of keystroke_listener_parent_class,
3578 renamed keystroke_listener_object_finalize to
3579 spi_keystroke_listener_object_finalize.
3580 Fixed typo in signal declaration
3581 (spi_keystroke_listener_class_init).
3583 * libspi/registry.c:
3584 Added funcsions spi_listener_struct_new() and
3585 spi_listener_struct_free() to help with memory management issues.
3586 We also now use these methods instead of gnew + poking stuff into
3587 the struct, and to decrement listener counts/free the listeners
3588 when deregistering them.
3589 Fix more refcount bugs in getDesktop() and
3590 getDeviceEventController().
3593 De-ref the desktop after enumerating the applications. Explicitly
3594 decrement the refcounts on the created listeners on exit (using
3595 _unref for keystroke listeners, and via the
3596 deregisterGlobalEventListenerAll command for other event
3599 2001-11-27 Michael Meeks <michael@ximian.com>
3601 * cspi/spi-listener.h: fixup enum.
3603 2001-11-27 Michael Meeks <michael@ximian.com>
3605 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3606 (cspi_keystroke_listener_new): Use the cspi variants.
3608 2001-11-26 Michael Meeks <michael@ximian.com>
3610 * test/keysynth-demo.c: fix 2 compile warnings, missing
3613 * test/simple-at.c (report_focussed_accessible),
3614 (report_focus_event, report_button_press),
3615 (check_property_change, is_command_key),
3616 (report_ordinary_key_event, report_command_key_event): upd.
3618 * util/mag_client.h: include pre-requisites.
3620 * libspi/accessibleeventlistener.c
3621 (spi_event_listener_object_finalize): free any lingering
3624 * libspi/keystrokelistener.c
3625 (keystroke_listener_object_finalize): ditto.
3627 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3628 callbacks, with cspi types.
3630 * cspi/spi_event.c (createAccessibleEventListener): chain to
3631 (AccessibleEventListener_addCallback): here.
3632 (createAccessibleKeystrokeListener): chain to
3633 (AccessibleKeystrokeListener_addCallback): here.
3635 * libspi/keystrokelistener.c
3636 (spi_keystroke_listener_class_init): add signal.
3637 (impl_key_event): emit the event.
3638 (boolean_handled_accumulator): impl.
3639 (marshal_BOOLEAN__POINTER): add, gack.
3641 * libspi/accessibleeventlistener.c
3642 (spi_event_listener_class_init): add signal.
3643 (impl_accessible_event_notify_event): emit the signal &
3644 make the loop efficient.
3645 (spi_event_listener_add_callback): prepend the callback.
3647 * libspi/accessibleeventlistener.h: add an 'event' signal,
3648 decl type on callback.
3650 * libspi/keystrokelistener.h: ditto.
3652 * cspi/spi-listener.h: make methods typesafe and
3653 make them use the new event typedefs.
3655 * test/simple-at.c (report_focussed_accessible):
3656 include mag_client.h
3657 Use *(void *)text_interface not the other thing.
3659 * configure.in: add gtk to registryd bits - since we use
3662 * util/magnifier.c: include libbonobo.h
3664 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3666 * test/keysynth-demo.c:
3667 Turned this into a simple scanning keyboard, to demonstrate the
3668 use of g_timeout_add () as a means of creating timers for
3669 scanning, and the use of GtkStyle for visually indicating when
3670 virtual keyboard elements are selected.
3672 keysynth-demo now listens to any keyboard keys with zero-valued
3673 keycodes (i.e. 'unused' keys) and interprets them as
3676 Reworked the shiftlatch code so that shift-down state isn't held
3677 for long periods (it's only synthesized immediately prior to
3678 the keysynth event it's modifying). Note that shiftlatch in this
3679 demo is a convenience, not intended to take the place of AccessX
3680 which is the better choice for getting 'sticky' modifier keys.
3682 * libspi/deviceeventcontroller.c:
3683 * at-bridge/bridge.c:
3684 * cspi/spi_registry.c:
3685 Removed some debug print stuff, and put other verbosity in #ifdef
3690 Implemented some more of the magnifier IDL for the simple
3691 magnifier: namely, getZoomRegionParams.
3692 Added mag_x and mag_y members to MagnifierData struct, aid of this
3694 Added GtkWindow::realize signal handler to magnifier, to keep it
3695 from receiving keyboard focus from the WM.
3697 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3699 * cspi/spi-private.h: my guess at what michael forgot
3700 before he ran off to NZ :-)
3702 2001-11-23 Michael Meeks <michael@ximian.com>
3704 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3705 comment out non existant method invoke so we link.
3707 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3708 use bonobo_exception_get_text for more friendly warnings.
3710 * cspi/spi.c (Obj_Add): move into spi_main & rename
3711 spi_object_add; kill spi.c
3713 * cspi/spi_registry.c
3714 (deregisterGlobalEventListener),
3715 (deregisterGlobalEventListenerAll),
3716 (registerGlobalEventListener): fix exception leaks.
3718 * cspi/spi_main.c (spi_exception): impl. helper, so we
3719 don't leak exceptions.
3721 * cspi/spi_selection.c
3722 (AccessibleSelection_deselectSelectedChild): return the
3725 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3726 (spi_registry): ditto.
3727 (SPI_init): guard against double inits.
3729 * cspi/*.c: use spi_ev (), and spi_registry () where
3730 appropriate - a temporary hack until we have something
3731 better. Use spi_object_add
3733 2001-11-22 Michael Meeks <michael@ximian.com>
3735 * cspi/Makefile.am: re organise, install the headers.
3737 * cspi/*.h: add G_BEGIN/END_DECLS
3739 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3742 Added non-preemptive keylistener for key events with no modifiers
3743 and shift-only modifier.
3745 * libspi/keystrokelistener.c:
3746 Removed some verbose diagnostics printout.
3748 * cspi/spi_registry.c:
3749 Fixed a bug that caused all key listeners to be registered as
3752 * libspi/deviceeventcontroller.c:
3753 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3754 for non-preemptive key masks.
3757 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3759 * docs/reference/idl/at-spi-idl-docs.sgml:
3760 * docs/reference/idl/at-spi-idl-sections.txt:
3761 * docs/reference/idl/at-spi-idl-overrides.txt:
3762 Added missing files.
3764 * docs/reference/Makefile.am:
3765 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3766 to scan the IDL files :-(
3771 Added .cvsignore files.
3773 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3775 * libspi/deviceeventcontroller.c:
3776 * libspi/keystrokelistener.c:
3778 * cspi/spi_registry.c:
3779 Added filters for KeySets, KeyEventSeq, and event types to key
3780 event dispatching, so listeners should only receive those events
3781 that they requested :-)
3783 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3788 * docs/reference:Makefile.am:
3789 * docs/reference/cspi:
3790 * docs/reference/cspi:Makefile.am:
3791 * docs/reference/cspi:tmpl:
3792 * docs/reference/cspi:tmpl:*.sgml:
3793 * docs/reference/idl:
3794 * docs/reference/idl:Makefile.am:
3795 * docs/reference/idl:at-spi-idl-sections.txt:
3796 * docs/reference/idl:at-spi-idl-docs.sgml:
3797 * docs/reference/idl:tmpl:
3798 * docs/reference/idl:tmpl:*.sgml:
3800 Restructured docs directory to allow separate 'reference' docs
3801 section, and forked idl and cspi docs. Added the sgml template
3802 files to CVS. Added the first sections/structural sgml for the
3805 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3807 * configure.in, libspi/Makefile.am: find libXtst.
3809 2001-11-21 Michael Meeks <michael@ximian.com>
3811 * test/accessx-gui.c: s/spi_value/value/ - doh.
3813 * libspi/base.[ch]: add.
3815 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3817 * idl/Accessible.idl:
3818 * idl/Application.idl:
3821 Started gtk-doc cleanup on IDL.
3823 * libspi/deviceeventcontroller.c:
3824 Added and connected non-preemptive key notification from the
3825 toolkits (in addition to the pre-emptive support from XServer
3826 which we had before, but which causes 'focus flashing'). Filters
3827 are presently limited to key modifiers and global/non-global,
3828 KeySets are presently ignored, as are KeyEvent masks.
3830 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3831 structs into the persistant structure rather than just storing
3832 pointers to things that might not persist across servant
3835 The XGrabKey call now does async keygrabs, because synchronous
3836 ones were deadlocking with GDK_event code in a very nasty way.
3838 Added boolean to internal method notify_keylisteners, to indicate
3839 whether the event came from the 'toolkit source' or the 'global
3840 (XServer) source' - this is used in the notification process to
3841 determine which listeners to send the event to.
3843 deviceeventcontroller.c is now warning-free.
3845 * libspi/registry.c:
3846 Fixed regression in application de-registration.
3847 Also fixed some really brain-dead weirdness having to do with
3848 event dispatching - event structs are now duplicated before being
3849 re-marshalled in the dispatch to listeners. This also fixes a
3850 Solaris build problem.
3853 2001-11-20 Michael Meeks <michael@ximian.com>
3856 (impl_accessibility_registry_deregister_global_event_listener):
3859 * libspi/deviceeventcontroller.c
3860 (spi_device_event_controller_check_key_event): return
3861 FALSE on no virtual method.
3863 * libspi/*..h: make includes work on a correctly pathed install.
3865 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3867 * libspi/application.h: kill unused ( and whacked out )
3868 gboolean *spi_application_set_id (AtkObject *app, long id);
3870 2001-11-20 Michael Meeks <michael@ximian.com>
3872 * libspi/*.[ch]: further convert to bonobo's type func
3873 macros, remove redundnant casts etc.
3875 * libspi/text.c s/accessibility_text/spi_text/g,
3876 re-order to de-cruft.
3878 * libspi/hypertext.c: re-order to kill a huge slew
3879 of redundant forward decls.
3881 * libspi/relation.c: ditto.
3883 * libspi/image.c: ditto.
3885 * */.cvsignore: update
3887 2001-11-20 Michael Meeks <michael@ximian.com>
3889 * libspi/deviceeventcontroller.c
3890 (_controller_register_with_devices): use g_getenv,
3891 kill stdlib.h include.
3893 * libspi/keystrokelistener.c
3894 (spi_keystroke_listener_get_type): kill
3895 (spi_keystroke_listener_class_init),
3896 (spi_keystroke_listener_init): rename to this.
3898 * libspi/text.c (impl_getAttributes): fix warning / bug.
3900 * libspi/*.[ch]: more headers, includes and over commenting.
3902 2001-11-20 Michael Meeks <michael@ximian.com>
3904 * libspi/*.[ch]: fixup headers, includes and over commenting.
3906 * libspi/image.c (impl__get_imageDescription): const
3907 correctness warning fix. remove redundant casting.
3909 * libspi/table.c (impl_getRowDescription): ditto.
3910 (impl_getColumnDescription): ditto.
3912 * libspi/libspi.h: add.
3914 2001-11-19 Michael Meeks <michael@ximian.com>
3916 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3918 * libspi/component.c (accessibility_component_get_type):
3919 rename to (spi_component_get_type): and macroify.
3920 (accessibility_component_init): rename to
3921 (spi_component_init): this
3922 (accessibility_component_class_init): rename to
3923 (spi_component_class_init): this
3925 * libspi/action.c (spi_action_get_type): kill, use the macro.
3927 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3930 * libspi/application.c (spi_application_object_event_listener),
3931 (impl_accessibility_application_register_object_event_listener):
3932 warning fixes / const understanding updates.
3934 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3937 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3939 * libspi/spi_accessible.c: Added docs and C bindings for
3940 AccessibleStateSet. (No implementations yet). Documentation
3941 coverage for C bindings now 100%. Made docs for event listeners
3946 boolean notifyListenersSync (in DeviceEventListener listener,
3947 in DeviceEvent event);
3949 oneway void notifyListenersAsync (in DeviceEventListener listener,
3950 in DeviceEvent event);
3952 Added DeviceEventListener and DeviceEvent structs (may deprecate
3953 KeyStroke and KeystrokeListener in favor of this generic
3954 event/listener framework for devices).
3956 * libspi/deviceeventcontroller.c:
3958 Changed some key listener code to take masks, etc., and paved the
3959 way for integration of toolkit/non-preemptive key events. Changed
3960 signatures of some internal methods.
3962 * at-bridge/bridge.c:
3963 Fixed regression connecting to interface signals, apparently
3964 caused by GTK+ changes.
3966 Added an internal bridge_state_listener to deal with
3967 property-change:accessible-state signals.
3969 Changed the key_listeners GList to store structs (including masks,
3970 etc.) instead of just CORBA_Objects (required for full
3971 implementation of key listener API).
3973 Connected the bridge to all currently supported Atk signals.
3974 Events now supported:
3975 object:property-change
3976 object:property-change:accessible-name
3977 object:property-change:accessible-state
3978 object:property-change:accessible-description
3979 object:property-change:accessible-parent
3980 object:property-change:accessible-value
3981 object:property-change:accessible-role
3982 object:property-change:accessible-table-caption
3983 object:property-change:accessible-table-column-description
3984 object:property-change:accessible-table-column-header
3985 object:property-change:accessible-table-row-description
3986 object:property-change:accessible-table-row-header
3987 object:property-change:accessible-table-summary
3988 object:children-changed
3989 object:visible-data-changed
3990 object:selection-changed
3991 object:text-selection-changed
3993 object:text-caret-moved
3995 object:row-reordered
3997 object:column-inserted
3998 object:column-reordered
3999 object:column-deleted
4000 object:model-changed
4002 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4004 * libspi/hyperlink.c,h:
4005 Fixed some broken stuff in hyperlink.
4007 * libspi/relation.h:
4008 * libspi/relation.c:
4009 * cspi/spi_accessible.c:
4010 Initial implementations of AccessibleRelation methods, and docs.
4012 * libspi/accessible.c:
4013 Fixed a bug that caused SEGV if an accessible
4014 object's description is NULL, and a client
4015 requests it. An empty string is now returned.
4017 * cspi/spi_editabletext.c:
4018 * cspi/spi_hypertext.c:
4020 * cspi/spi_hyperlink.c:
4024 Doc coverage now 95%.
4026 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4028 One last namespacing revision:
4029 * libspi/accessibleeventlistener.[ch]:
4030 Renamed SpiAccessibleEventListener to SpiEventListener,
4031 (no need for two namespaces ;-)
4033 And lots of documentation fixes:
4035 * docs/at-spi-docs.sgml:
4036 Fixed 'underscore vs. hyphen' bug that was preventing
4037 the gtk-doc API docs from being automatically generated.
4040 * cspi/spi-listener.h
4042 * cspi/spi_accessible.c
4044 * cspi/spi_application.c
4045 * cspi/spi_component.c
4046 * cspi/spi_editabletext.c
4048 * cspi/spi_hypertext.c
4050 * cspi/spi_registry.c
4051 * cspi/spi_selection.c
4055 * docs/at-spi-docs.sgml
4056 * docs/at-spi-sections.txt
4058 Added and fixed up gtk-doc documentation in cspi.
4060 Interfaces now (fully) documented (subject to revision and enhancement):
4062 Event Listener Support
4064 AccessibleApplication
4068 AccessibleEditableText
4075 AccessibleRelationSet
4080 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4082 * at-bridge/bridge.c:
4083 Initial work for toolkit-level key snooper connection by bridge.
4088 New typedefs and fixes to support new namespacing, and cleaner
4089 separation of cspi bindings from libspi bonobo implementation.
4090 Removed inconsistent and extraneous Spi* namespace prefix that
4091 had crept into cspi headers.
4092 Lots of comment fixes that sed had missed.
4094 * cspi/spi-roletypes.h:
4095 * cspi/spi-statetypes.h:
4096 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4097 to AccessibleRoleType.
4099 * libspi/accessibleeventlistener.h:
4100 Fixed minor namespacing weirdness.
4102 * libspi/deviceeventcontroller.c:
4103 Reordered some internal API for device listeners.
4104 Changed the key registry final boolean to 'is_system_global'
4105 rather than 'is_synchronous', which is more descriptive of its
4107 Added spi_device_event_controller_new().
4108 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4110 * libspi/keystrokelistener.[ch]:
4111 Namespaced KeystrokeListener to SpiKeystrokeListener.
4112 Changed uses of keymasks to use SPI_ prefix, and did other
4115 * libspi/keymasks.h:
4116 Namespaced keymask constants with SPI_ prefix.
4118 * libspi/registry.c:
4119 Some warning fixes, and knock-on fixes from namespace changes.
4122 Added rules for accessx-gui test program.
4124 * test/accessx-gui.c:
4125 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4126 utility. It doesn't actually use at-spi, but it's still cool and
4129 * test/keysynth-demo.c:
4133 Fixes so that these test clients work properly with the namespaced
4134 libraries. (Incompletely tested for technical reasons, fixes may follow)
4137 2001-11-13 Michael Meeks <michael@ximian.com>
4139 * libspi/application.c
4140 (impl_accessibility_application_get_version),
4141 (impl_accessibility_application_get_toolkit_name):
4143 (impl_accessibility_application_set_id),
4144 (impl_accessibility_application_get_id): remove
4145 redundant casting code.
4147 * libspi/action.c (impl_getDescription): fix warnings.
4149 * libspi/accessible.c
4150 (impl_accessibility_accessible_get_parent),
4151 (impl_accessibility_accessible_get_child_at_index),
4152 (impl_accessibility_accessible_get_state),
4153 (impl_accessibility_accessible_get_relation_set):
4154 warning fixes & include action.h
4156 2001-11-13 Michael Meeks <michael@ximian.com>
4158 * *.[ch] fix bits I screwed up:
4160 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4161 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4163 2001-11-13 Michael Meeks <michael@ximian.com>
4165 * *.[ch] Namespace libspi into spi_ and Spi.
4167 2001-13-11 Michael Meeks <michael@ximian.com>
4169 * Makefile.am: dist & install at-spi-1.0.pc
4171 * libspi/Makefile.am: install into at-spi-1.0
4173 * idl/Makefile.am (idldir): install into at-spi-1.0
4175 * at-spi-1.0.pc.in: add.
4177 * configure.in: build it.
4179 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4181 * test/keysynth-demo.c:
4182 Use a 'realize' signal-handler to set the WM properties for
4183 the virtual keyboard, rather than making it a "POPUP" type
4184 override-redirect window (thanks to anders carlsson for that
4187 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4190 * test/keysynth-demo.c:
4191 Added new test of key synthesis, which creates a simple
4192 (mouse-operated) onscreen keyboard. It inserts key events into
4193 the currently-focused window, thus it does not grab keyboard focus
4196 * cspi/spi_registry.c:
4197 Added C binding for AT-SPI generateKeyEvent.
4199 * libspi/deviceeventcontroller.c:
4200 Added call to XFilterEvent so that key listener works with XIM (we
4201 hope). Added event_synth_type to generateKeyEvent, so that we can
4202 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4203 synthesize a press/release pair for KeySyms.
4205 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4207 * libspi/Makefile.am:
4208 * registryd/Makefile.am:
4209 (temporary) hack to include libXtst in libspi and registryd.
4210 (Needed for keystroke synthesis, see below).
4213 Improved API for registerKeystrokeListener, in accordance with
4214 discussions with Gnopernicus team and X server research.
4216 * libspi/registry.c:
4217 * libspi/deviceeventcontroller.c:
4218 * libspi/accessible.c:
4219 * libspi/keystrokelistener.c:
4220 Changes and fixes to support keylisteners for potentially
4221 consumed key events (that is, 'passive grabs').
4222 Added implementation for generateKeyEvent() [untested].
4225 Changes to registerKeystrokeListener() API, as above.
4226 Added deregisterGlobalEventListenerAll(), and
4227 deregisterKeystrokeListener(), which are needed for clean exit of
4229 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4230 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4232 * cspi/spi_registry.c:
4233 Added implementations of function prototypes mentioned above.
4235 * registryd/registryd.c:
4236 Added the key listener event source as a g_timeout(), to allow
4237 receipt of key events that are not caught by GDK (since GDK
4238 doesn't support passive keygrabs, this was necessary).
4241 Changed to attach a keylistener to 'Alt' keys, and
4242 respond to the following keycommands: Alt-M (toggle magnifier);
4243 Alt-F (toggle speech); Alt-Q (quit).
4244 Added an exit routine to deregister the listeners, and a key
4245 listener that prints some key info to the console when a key
4246 matches the listener mask (and is thus received by the listener).
4248 * util/idl/Magnifier.idl:
4249 Changes to magnifier API to support multiple zoom regions,
4250 non-uniform scaling in x and y, markDirty, and a host of other
4251 features that would be useful to magnification.
4254 * util/mag_client.c:
4255 * util/mag_client.h:
4256 * util/mag_control.c:
4258 Source code changes to support the above IDL changes.
4261 As above, and also changes to use a (slower) generic conversion
4262 path for colormap conversions, since the fast RGB conversions have been
4263 reported to fail for 16-bit displays.
4265 2001-10-26 Michael Meeks <michael@ximian.com>
4267 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4269 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4271 * at-bridge/Makefile.am: fix LDFLAGS.
4273 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4275 * at-bridge/bridge.c:
4276 Re-worked listeners for toolkit events, now we have signal
4277 and property listeners. Added a private method
4278 register_atk_event_listeners(), which registers with the
4279 various atk and gtk signals we need to monitor in order to emit
4281 Added emission hook for AtkObject:property-change events, to
4282 support the 'property listeners'.
4283 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4286 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4287 which emit warnings and exit, respectively, if CORBA errors occur
4288 during remote calls, and we now use these methods to check most of
4289 our CORBA calls in the C bindings.
4291 * cspi/spi_accessible.c:
4292 Changed AccessibleSelection_refSelectedChild() to
4293 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4294 now increment refcounts.
4296 * cspi/spi_component.c:
4297 Fixed some long pointer casts (dangerous!) to pass pointers to
4298 CORBA_longs of the proper type to the CORBA stubs, and copy the
4299 data into the longs that were passed into the C bindings code.
4301 * at-bridge/bridge.c:
4303 * libspi/accessible.c:
4304 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4305 hyperlinks, AtkHyperlink is an object type.
4307 * libspi/application.c:
4308 Added various conversions to and from "generic" event types and
4309 atk-specific types; this is really part of the 'bridge'
4310 implementation but is valid for all AtkObject-based accessibility
4313 * libspi/editabletext.c:
4314 Fixed nasty bug wherein editable text's finalize method was
4315 unref'ing tha AtkObject reference that the text parent class was
4316 about to unref _again_. There was also a nasty inheritance bug
4317 that meant that the AccessibleEditableText class was corrupt.
4319 * libspi/selection.c:
4320 Provided implementations for some selection API that was broken.
4322 * idl/Application.idl:
4323 Added registerObjectEventListener () method.
4326 Fixed a number of return values that were Bonobo_Unknowns from
4327 bonobo_object_corba_objref(), which I
4328 forgot to dup before returning. Changed instances of
4329 bonobo_object_corba_objref (bonobo_object(o)) to
4330 BONOBO_OBJREF(o), for concision and clarity.
4332 2001-10-13 Louise Miller <louise.miller@sun.com>
4334 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4335 idl/Event.idl, idl/Registry.idl
4336 Changed these files to include Bonobo_Unknown.idl instead
4339 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4341 * libspi/component.c libspi/component.h:
4342 Fixed typo. Added assertions for object checks in
4343 AccessibleComponent code.
4345 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4347 * idl/Accessible.idl:
4348 Added 'isEqual (Accessible *object)'
4349 method for Accessible. (Not Yet Implemented).
4352 Changed signature of registerKeystrokeListener() to
4353 take a KeySet and KeyEventSeq so that specific keys and event
4354 types could be requested for monitoring, and added a flag
4355 is_synchronous so that either synchronous or asynchronous
4356 notification could be requested. (However this is not all
4357 implemented yet). This also meant adding two new typedefs,
4358 KeyEventSeq and KeySet.
4361 Added two new relations, RELATION_TOOLTIP_FOR and
4362 RELATION_LEAFNODE_OF.
4365 Added new state, STATE_HAS_TOOLTIP.
4367 * libspi/text.c, editabletext.c:
4368 Added new assertions to all casts of bonobo-objects from
4369 CORBA servants, to prevent Text API calls on non-text objects.
4370 Changed suspect casts of int-pointer types, so that we
4371 always send a valid CORBA_long pointer to the CORBA APIs that use
4372 in/out long parameters. We then have to copy from the CORBA_long
4373 into the regular long or int for return to the C bindings, or
4374 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4377 * libspi/deviceeventcontroller.c:
4378 Cleaned these sources up.
4380 Changed return type for getCharacterAtOffset to
4381 CORBA_unsigned_long, to allow for 32-bit characters.
4384 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4388 Fixed 'make dist' so that distro compiles...
4389 * libspi/keymasks.h:
4391 * cspi/spi-listener.c:
4392 KeystrokeListenerCB now returns a boolean.
4394 Added KeyEventType struct, and KeyStroke.
4395 Also added createKeystrokeListener(),
4396 KeystrokeListener_addCallback(),
4397 KeystrokeListener_removeCallback(), and added a keymask to
4398 registerKeystrokeListener().
4399 * cspi/spi_accessible.c:
4400 Changed numerous return types for interfaces from
4401 AccessibleComponent to Accessible<InterfaceName>; this was
4402 probably a cut-and-paste error.
4404 Implementations of new KeystrokeListener api (from spi.h,
4407 Changes to key modifier mapping.
4408 Created ControllerEventMask struct.
4409 Made DeviceEventController derive from Bonobo::Unknown.
4411 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4412 * libspi/deviceeventcontroller.c:
4413 Added a number of new internal (private) methods.
4414 * libspi/editabletext.c:
4415 * libspi/editabletext.h:
4416 Fixed a number of bugs related to the fact that
4417 editabletext inherits from text. Fixed the EditableText struct,
4418 the init() call, and use correct casts when calling Text methods
4419 from an EditableText object. Removed (duplicate) atko from the
4420 EditableText structure, we use the one in the parent Text
4421 structure via the casts mentioned above.
4422 * libspi/keystrokelistener.[ch]:
4423 * libspi/registry.c:
4424 Changes in support of keyboard handling (above).
4426 Keyboard handling, though partly functional, is still not
4427 recommended for at-spi client use as there is considerable
4428 work yet to be done.
4431 Changed some places where pointers to various int types
4432 are cast to be pointers to CORBA_long types and vice-versa:
4433 pointer casting is not safe so we pass pointers of the correct
4434 types and then cast the result before putting it into the target
4437 * libspi/text.h: minor typos corrected.
4439 We now speak not only the name of a Text element, but the
4440 first sentence of its content, when it receives focus.
4441 I also changed the text compression to 75% from 50%.
4442 * util/Accessibility_Util.server.in:
4443 Changed the default magnifier type to be a 3x vertical
4444 splitscreen magnifier (was previously a 2x horizontal one).
4446 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4448 * libspi/keystrokelistener.h:
4449 * libspi/keystrokelistener.c:
4450 Initial functional implementations of KeystrokeListener.
4453 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4455 Fixed string handling for NULL strings in libspi.
4456 Added spi_freeString to free strings returned by C bindings.
4458 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4460 * libspi/keystrokelistener.h:
4461 * libspi/keystrokelistener.c:
4462 Began (no-op) implementations of KeystrokeListener
4464 * libspi/deviceeventcontroller.c:
4465 * libspi/deviceeventcontroller.h:
4466 Began creating implementations of DeviceEventController,
4467 to handle keystroke and mouse event listening and
4469 * libspi/accessible.c:
4470 Stubbed-in the implementations for
4471 Accessibility_Accessible_getState and
4472 Accessibility_Accessible_getRelationSet.
4473 * libspi/registry.c:
4474 Improved de-registration process and fixed some bugs,
4475 deregistration now works correctly.
4477 Added initialization of applications list (to NULL).
4479 Reduced speech compression from 0.5 to 0.7, for demo.
4480 Changed call to gdk_window_set_decorations()
4481 to gtk_window_set_decorated().
4482 * at-bridge/bridge.c:
4483 Bridge now deregisters when app exits, via
4484 registration of a cleanup function
4485 with the g_atexit() call.
4486 Required making 'app' static, renamed 'this_app'.
4487 Fixed broken use of bonobo_init, passing argv wrongly.
4489 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4493 Created a new directory for
4494 accessibility-related utilities, primarily for
4495 testing and demo purposes, but with possible
4502 Onscreen magnifier utility that
4503 is implemented as a bonobo service.
4505 * util/mag_client.c:
4506 * util/mag_client.h:
4507 Client-side support (simple C bindings)
4508 for Magnification service
4510 * util/mag_control.c:
4511 Client program example for
4512 Magnification service
4514 * util/Accessibility_Magnifier.server.in:
4515 Bonobo-activation file for the
4516 Magnification service.
4519 * util/idl/Magnifier.idl:
4520 IDL defining the bonobo Magnification
4524 Modifications to use the bonobo-activated magnifier
4525 above, in place of trying to connect to an existing
4526 magnifier that uses socket-listening IPC.
4528 If env variable MAGNIFIER is set, a magnifier service
4529 will be started if one does not exist.
4531 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4533 * at-bridge/bridge.c:
4534 applied patch from Marc to build and run
4535 against new glib and gtk+ (seemed like a change
4536 to bonobo_init signature was made ?)
4538 made festival-server support turned off by default.
4539 Added support for a simple magnifier (off by default)
4540 which will be added to a 'util' directory later.
4541 * at-bridge/Makefile.am:
4542 Changed "application.h" header from a 'source'
4543 to a 'dependency' of libat-bridge.
4545 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4554 Added interface implementation c files to list of
4555 includes so they are included in libcspi.
4558 Changed prototype of AccessibleAction_doAction to return a
4560 Changed prototype of AccessibleTable_getCaption to
4561 return an Accessible.
4562 Changed prototype of AccessibleTable_getSelectedRows
4563 and AccessibleTable_getSelectedColumns to
4564 return a long (returns the number of selected rows
4565 or columns respectively).
4566 Changed name of AccessibleText_refRunAttributes to
4567 AccessibleText_getAttributes.
4568 Changed prototype of AccessibleText_getCharacterExtents to
4569 return a void rather than a boolean.
4570 Added support for a AccessibleCoordType parameter
4571 specifying what type of coordinates are desired.
4572 Added an AccessibleCordType parameter to
4573 AccessibleText_getPointAtOffset.
4575 * cspi/spi_accessible.c:
4576 Added code to return the outstanding interfaces from
4577 Accessible_queryInterface.
4579 * cspi/spi_action.c:
4581 Corrected call to getNActions to call the c binding
4584 * cspi/spi_editabletext.c:
4586 Changed name from setRunAttributes to setAttributes.
4588 * cspi/spi_hyperlink.c:
4590 Changed call to getNAnchors to correctly call the c
4591 binding for an attribute.
4593 * cspi/spi_hypertext.c:
4595 Changed getImageDescription to correctly call the
4596 binding for an attribute.
4598 * cspi/spi_selection.c:
4599 Changed getNSelectedChildren to correctly call the c
4600 binding for the attribute.
4601 Changed refSelectedChild to getSelectedChild.
4605 Changed getCaption to return an Accessible.
4606 Fixed calls which retrieve attributes.
4607 Changed refAt to getAccessibleAt.
4608 Changed getNSelectedRows and getNSelectedColumns to
4612 Changed getCharacterExtents and getPointAtOffset to accept an
4613 AccessibleCoordType.
4615 Changed calls which retrieve attributes.
4616 Changed refRunAttributes to getAttributes.
4621 * idl/Hyperlink.idl:
4622 Changed n_anchors attribute to nAnchors to keep naming
4623 convention consistent.
4626 Made Table inherit from Bonobo::Unknown.
4627 Added nSelectedColumns and nSelectedRows attributes.
4630 Made Value inherit from Bonobo::Unknown.
4632 * libspi/hyperlink.c:
4633 Change for nAnchors attributte name change.
4635 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4643 Added interface implementation c files to list of
4644 includes so they are included in libcspi.
4647 Changed prototype of AccessibleAction_doAction to return a
4649 Changed prototype of AccessibleTable_getCaption to
4650 return an Accessible.
4651 Changed prototype of AccessibleTable_getSelectedRows
4652 and AccessibleTable_getSelectedColumns to
4653 return a long (returns the number of selected rows
4654 or columns respectively).
4655 Changed name of AccessibleText_refRunAttributes to
4656 AccessibleText_getAttributes.
4657 Changed prototype of AccessibleText_getCharacterExtents to
4658 return a void rather than a boolean.
4659 Added support for a AccessibleCoordType parameter
4660 specifying what type of coordinates are desired.
4661 Added an AccessibleCordType parameter to
4662 AccessibleText_getPointAtOffset.
4664 * cspi/spi_accessible.c:
4665 Added code to return the outstanding interfaces from
4666 Accessible_queryInterface.
4668 * cspi/spi_action.c:
4670 Corrected call to getNActions to call the c binding
4673 * cspi/spi_editabletext.c:
4675 Changed name from setRunAttributes to setAttributes.
4677 * cspi/spi_hyperlink.c:
4679 Changed call to getNAnchors to correctly call the c
4680 binding for an attribute.
4682 * cspi/spi_hypertext.c:
4684 Changed getImageDescription to correctly call the
4685 binding for an attribute.
4687 * cspi/spi_selection.c:
4688 Changed getNSelectedChildren to correctly call the c
4689 binding for the attribute.
4690 Changed refSelectedChild to getSelectedChild.
4694 Changed getCaption to return an Accessible.
4695 Fixed calls which retrieve attributes.
4696 Changed refAt to getAccessibleAt.
4697 Changed getNSelectedRows and getNSelectedColumns to
4701 Changed getCharacterExtents and getPointAtOffset to accept an
4702 AccessibleCoordType.
4704 Changed calls which retrieve attributes.
4705 Changed refRunAttributes to getAttributes.
4710 * idl/Hyperlink.idl:
4711 Changed n_anchors attribute to nAnchors to keep naming
4712 convention consistent.
4715 Made Table inherit from Bonobo::Unknown.
4716 Added nSelectedColumns and nSelectedRows attributes.
4719 Made Value inherit from Bonobo::Unknown.
4721 * libspi/hyperlink.c:
4722 Change for nAnchors attributte name change.
4725 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4727 implementations-- made server implementations own AtkObject pointers
4728 rather than their respective AtkInterrface pointers to fix
4729 refcounting. AtkHyperlink is still broken.
4731 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4732 * cspi/spi_accessible.c:
4733 Added method Accessible_Role_getName(),
4734 and requisite string array (role_names).
4735 Added conversion string_from_corba_strin() call
4736 to Accessible_getName and _getDescription.
4737 * libspi/accessible.c:
4738 Added implementation for Accessible_getRole()
4740 Added festival support, used if environment variable
4743 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4745 * at-bridge/bridge.c:
4746 Now allocate Accessibility_Event using
4747 Accessibility_Event__alloc() instead of g_new0().
4748 * libspi/accessibleeventlistener.c:
4749 Initialize AccessibleEventListener->callbacks to NULL.
4750 Fixed accessible__event_listener_init() param, changed to
4751 "AccessibleEventListener *" type.
4752 Changed a bonobo_object_release_unref() call to
4753 Accessibility_Accessible_unref().
4754 * libspi/listener.c:
4755 Changed Bonobo_Unknown_unref to (equivalent)
4756 Accessibility_Accessible_unref.
4757 * libspi/registry.c:
4758 Changed bonobo_object_release_unref to
4759 Accessibility_Accessible_unref.
4761 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4764 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4765 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4766 spi-util.c spi-util.h
4767 Implementations for C bindings to remaining accessibility
4770 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4773 changed return value of Action from void to boolean to
4774 bring in line with ATK.
4777 Changed getText funcions to return "out" start and end offsets.
4778 Changed getAttributes to take and offset and return the start
4779 and end offset of the attribute run.
4780 Changed getOffsetAtPoint and getCharacterExtents to take an
4781 enum describing whether coordinates are window or screen.
4784 libspi/action.c libspi/action.h libspi/editabletext.c
4785 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4786 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4787 libspi/image.h libspi/selection.c libspi/selection.h
4788 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4789 libspi/value.c libspi/value.h
4790 Added server implementations for outstanding ATK interfaces
4791 not yet implemented.
4793 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4796 Added (missing) getName() method.
4797 Made nActions an attribute.
4798 * idl/EditableText.idl:
4799 Changed order of params in setAttributes.
4800 * idl/Hyperlink.idl:
4801 Removed getAnchor, added getURI.
4803 Changed attributes to methods, for efficiency
4804 (so that getting extents can be done in one call)
4805 * idl/Selection.idl:
4806 Changed nSelectedChildren to attribute, and re-indented.
4807 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4809 * idl/Text.idl: reformatted to match our coding style.
4810 (temporarily?) removed getRowColumnAtOffset().
4811 Changed text selection API to support multi-select and
4812 non-contiguous selections, as in ATK.
4813 * idl/Value.idl: changed some methods to attributes.
4815 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4817 * libspi/listener.c(impl_notify_event):
4818 BonoboUnkown_unref the source instead
4819 of bonobo_object_release_unref - the ORB
4820 handles the releasing.
4822 * configure.in: require ORBit-2.3.94 for
4825 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4827 Tagged CVS repository 'EA_1_0'.
4828 * README.EARLY_ACCESS:
4829 Alphabetized acknowledgements list, and
4831 Listed some known dependencies of at-spi.
4833 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4835 * docs/at-spi-docs.sgml:
4836 * docs/at-spi-sections.txt:
4837 * docs/at-spi-overrides.txt: (Added zero-length file)
4838 Documentation improvements - gtk-doc should build
4839 docs for all implemented C bindings now.
4842 * cspi/spi.c: (New file)
4843 * cspi/spi_event.c: (New file)
4844 * cspi/spi_registry.c: (New file)
4845 * cspi/spi_accessible.c: (New file)
4846 * cspi/spi_application.c: (New file)
4847 * cspi/spi_component.c: (New file)
4848 Split spi_main.c into six parts, and included them from
4849 "spi.c". This is a bit of a hack, probably temporary,
4850 but required by gtk-doc, apparently.
4852 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4855 * docs/at-spi-docs.sgml:
4856 * docs/at-spi-sections.txt:
4858 Initial checkins/modifications for gtk-doc generation.
4861 Added (missing) interface query methods to Accessible's C binding.
4863 Added GenericInterface type definition.
4865 Added query for AccessibleComponent interface to focus event handler.
4866 Added printout of bounding box for focussed component.
4867 * libspi/component.c:
4868 Added partial implementation for AccessibleComponent to C binding.
4869 * idl/Application.idl:
4870 * libspi/registry.c:
4871 * libspi/listener.c:
4872 * libspi/application.c:
4873 * libspi/application.h:
4874 Changed "ID" attribute type from string to long.
4876 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4880 Made method naming consistent: methods taking object args
4881 start with uppercase, other methods (except those using
4882 acronyms) start with lowercase. Underscores delimit between
4883 object names and method names:
4884 SPI_init() - uppercase since it starts with an acronym.
4885 getDesktopCount () - lowercase start since no object param0.
4886 Accessible_getName() - uppercase object type name, studlyCaps method
4890 Added gtk-doc documentation for all currently implemented
4891 methods in the C bindings API.
4893 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4895 * Makefile.am : changed build order to build test last.
4898 Changed "createEventListener" to "CreateEventListener".
4899 * libspi/accessibleeventlistener.c :
4900 Bugfix for addition of callbacks.
4901 * test/Makefile.am :
4902 * test/simple-at.c :
4903 Added new test that uses the C bindings API.
4905 * libspi/listener.c :
4906 * libspi/registry.c :
4907 * libspi/accessibleeventlistener.c :
4908 * at-bridge/bridge.c :
4909 Renamed member "target" of Accessibility_Event to "source",
4910 which is more descriptive.
4913 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4917 * cspi/Makefile.am :
4918 Added makefile support for at-spi/cspi directory.
4921 * cspi/spi-listener.h : (NEW FILE)
4922 Added support for/use of spi-listener.h.
4924 C bindings now build successfully, with no warnings.
4925 * libspi/accessibleeventlistener.h : (NEW FILE)
4926 * libspi/accessibleeventlistener.c : (NEW FILE)
4927 * libspi/Makefile.am :
4928 Added new object type "AccessibleEventListener"
4929 which inherits from Listener, and allows attachment
4930 of in-process callbacks (so that a client with a listening
4931 object instance can add functionality to the local
4932 implementation, dynamically).
4934 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4936 * libspi/accessible.c:
4937 Add implementation for get_index_in_parent().
4939 Added #include of "spi-roletypes.h", and
4940 added enumerated type AccessibleCoordType.
4941 Added definition for KeystrokeListener (function type).
4944 * cspi/spi-statetypes.h :
4945 * cspi/spi-roletypes.h :
4947 Added these headers, used by spi.h.
4949 Added code (NOTE: not yet built by make).
4951 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4953 * libspi/Makefile.am: generate imodule
4954 at the same time as other idl compiler
4957 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4958 * libspi/registry.c :
4959 * libspi/application.c :
4960 * idl/Application.idl :
4961 Made registration with toolkit an application method,
4962 which is required since each app has its own toolkit static
4963 environment. Thus the bridge must register for
4964 notification of toolkit events from each application in turn.
4965 Toolkit notifications are now successfully registered for, and
4966 sent to the listening at client.
4968 Changed toolkit event string to use hyphens rather than underscores.
4969 * libspi/listener.c :
4970 listner now gives more info in debug mode - it reports the
4971 name of the event received, as well as the name of the source.
4974 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4976 * libspi/registry.c :
4977 added more implementation for toolkit events.
4978 Fixed bug such that toolkit event registrations
4979 (via atk) use the whole event name string, not
4981 Removed a useless call to an ORBit_ method.
4982 * at-bridge/bridge.c :
4983 Removed unused local sbuf[] variable.
4985 We now register for Gtk:GtkWidget:button_press_event
4986 events as well as "focus:" events.
4988 Add some more API from Registry.idl that was missing,
4989 for keystroke listening, keystroke and mouse event
4990 synthesis, and enumeration of accessible desktops.
4992 2001-08-16 Michael Meeks <michael@ximian.com>
4994 * configure.in: use AM_GLIB_GNU_GETTEXT.
4996 * Makefile.am (SUBDIRS): kill intl.
4998 2001-08-15 Michael Meeks <michael@ximian.com>
5000 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5002 * configure.in: upd.
5004 * configure.in: depend on a recent bonobo-activation that
5005 will find our server files ...
5007 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5009 * libspi/accessible.c : accessible_new() :
5010 Now we add the Component interface via bonobo_object_add_interface,
5011 if the contained AtkObject implements AtkComponent.
5012 * libspi/accessible.h : now include "component.h"
5013 * libspi/component.h :
5014 * libspi/component.c : added files - implementation of
5015 bonobo wrapper object for Accessibility/Component
5016 * libspi/listener.c :
5017 Added test code to check for Accessibility/Component:1.0
5018 interface and report whether it is implemented by the
5020 * libspi/registry.c :
5021 Now we check for not only the hash of the whole event
5022 string before relaying the event, we also check the
5023 "minor" event string (without the detail string).
5024 This allows event listeners to be registered against
5025 all events of a certain major+minor type, or just
5026 against a specific major+minor+detail type.
5027 * libspi/accessible.c :
5028 Added implementations for Accessible:get_parent(),
5029 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5030 * libspi/registry.c :
5031 * libspi/listener.c :
5032 Replaced calls to Accessibility_Accessible_ref() and
5033 Accessibility_Accessible_unref() with
5034 calls to bonobo_object_dup_ref() and
5035 bonobo_object_release_unref(), so that the CORBA object
5036 is dup-ed and released when relayed, as well as the bonobo object.
5038 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5040 * libspi/Makefile.am,
5041 registryd/Makefile.am,
5042 at-bridge/Makefile.am.
5043 test/Makefile.am, configure.in:
5044 reverse previous changes.
5046 * /idl/Image.idl: fix typo.
5048 * test/Makefile.am: put DEBUG_FLAGS
5051 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5053 * test/app.c: use argv[0] instead of
5056 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5058 * libspi/Makefile.am,
5059 registryd/Makefile.am,
5060 at-bridge/Makefile.am.
5061 test/Makefile.am, configure.in:
5062 cleanup, replace individual LIBS/CFLAGS with
5063 AT_COMMON_{LIBS|CFLAGS}.
5067 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5069 * configure.in, libspi/Makefile.am:
5070 Change IDL path checking for bonobo-activation
5073 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5075 * registryd/registry.c : separated event listeners to use
5076 3 separate lists (focus, window, toolkit). Began testing
5077 event names against hashes before relaying events.
5078 * test/at.c : now register for events of type "focus:"
5079 * test/app.c : now generate events of type "focus:"
5080 * at-bridge/bridge.c : register with ATK for focus events,
5081 and we now relay those focus events to any "focus:" listeners.
5082 This now works with the bridge as a GTK_MODULE when running test/at.
5083 * libspi/registry.c :
5084 * libspi/listener.c :
5085 now we ref event sources before propagating, and unref on receipt.
5086 * libspi/registry.c :
5087 some changes to internal structs, to support event typestring hashes.
5088 * text/app.c : changed the way the appname is generated.
5089 * cspi : added directory that will hold the C bindings library for
5090 non-CORBA/bonobo-savvy clients.
5091 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5092 * idl/Component.idl : added in parameter to indicate coord system for
5093 geometry-related calls.
5094 * idl/Hyperlink.idl : added readonly n_links attribute
5095 * idl/Image.idl : changed methods to attributes.
5097 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5099 * at-bridge/Makefile.am: link against
5100 ../libspi/libspi.la instead of -lspi.
5102 * at-spi/test/app.c: include
5103 bonobo-activation.h. Use a default appname
5104 if one is not provided.
5106 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5108 * idl/Registry.idl : temporarily changed register_Application
5109 to oneway, to work around issue with initial registration
5111 * idl/Application.idl : changed attribute "id" from readonly
5112 to read-write, since it needs to be assigned by Registry.
5113 * registryd/registryd.c : added call to set application id
5115 * registryd/registry.c : changed de-registration procedure to
5116 use CORBA_Object_hash() to find matching object ref in application
5117 lists and listener lists.
5118 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5119 began distinguishing between event types (work in progress).
5121 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5124 * libspi/application.c:
5125 Added implementations for get/set id, get_toolkitName,
5127 * registryd/registryd.c :
5131 Converted from use of OAF to bonobo-activation.
5132 * libspi/desktop.h :
5133 * libspi/desktop.c :
5135 Removed references to atksimpleobject, since base atkobject
5136 implementation now provides functionality we need.
5137 * libspi/atksimpleobject.c :
5138 * libspi/atksimpleobject.h :
5143 * at-bridge/Makefile.am
5144 * at-bridge/bridge.c
5147 Added directory "bridge" and contents, and added dependencies
5148 in Makefile.am/configure.in.
5149 Initial checkin of "at-bridge".
5150 This code is a GTK_MODULE which automatically registers
5151 GTK+ apps with the accessibility registry, using an object
5152 reference to the root ATK object.
5154 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5156 * po/Makefile.in.in: Remove. Again. If this
5157 doesn't get autogenerated - you need to update
5160 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5162 * po/Makefile.in.in: Add. Again.
5164 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5166 * libspi/accessible.c : added support for 'description' property.
5167 * libspi/accessible.c
5169 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5170 (since the two are now equivalent in libbonobo)
5178 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5179 Bonobo::Unknown as does Accessibility::Accessible.
5180 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5181 interface with Bonobo::Stream, since it was redundant with it.
5182 (The Stream returned by a StreamableContext object is expected to
5183 implement only a subset of Bonobo::Stream)
5185 2001-07-28 Anders Carlsson <andersca@gnome.org>
5187 * libspi/accessible.c (accessible_object_finalize): Change
5188 g_free to g_object_unref since the AtkObject is a GObject.
5190 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5192 * idl/Accessibility.idl: add new IDL files
5195 * idl/Action.idl: Definitions of actionable UI object
5196 * idl/Component.idl: Definitions of UI component geometry, etc.
5197 * idl/Hyperlink.idl: Defs of hyperlink behavior
5198 * idl/Image.idl: Def of accessible image
5199 * idl/Selection.idl: Definition of UI object with selectable children
5200 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5201 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5202 * idl/Text.idl: Interface defs for UI elements with complex textual content
5203 * idl/Value.idl: Definition of UI element that is a value controller or display
5205 2001-07-27 Michael Meeks <michael@ximian.com>
5207 * po/Makefile.in.in: remove autogenerated file from CVS.
5209 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5212 * idl/Registry.idl: include guard.
5214 * idl/Accessibility.idl: Add, and include all the other IDL
5217 * idl/*.idl: remove mass of pragmas etc.
5219 2001-07-26 Michael Meeks <michael@ximian.com>
5221 * registryd/Makefile.am (registryd_SOURCES): remove
5224 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5226 * libspi/.cvsignore, registryd/.cvsignore,
5227 test/.cvsignore: updated.
5229 * po/Makefile.in.in: gettext update.
5231 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5233 * initial CVS checkin
5235 2001-06-29 Michael Meeks <michael@ximian.com>
5237 * configure.in: add AM_CONFIG_HEADER to gen config.h