1 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3 * cspi/spi_accessible.c:
4 (AccessibleRole_getName):
5 Added necessary strings for making this (deprecated)
6 method work with the new role types.
7 (init_role_table, role_table):
8 Added definition of SPI_ROLE_APPLICATION.
10 * libspi/spi-roletypes.h:
11 Added SPI_ROLE_APPLICATION.
13 * idl/Accessibility_Role.idl:
14 Added ROLE_APPLICATION.
16 * docs/reference/cspi/at-spi-cspi-decl.txt:
17 Added SPI_ROLE_APPLICATION to docs.
19 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
21 * cspi/spi_accessible.c
22 (cspi_init_role_table): Do not write beyond end of role_table.
23 (Accessible_getRole): Use correct type for value returned by
24 Accessibility_Accessible_getRole().
26 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
27 beyond end of role_table. (This fixes bug #98269)
29 * libspi/application.c: Add include file spi-private.h for
30 definition of spi_init_any_nil.
32 2002-11-19 Bill Haneman <bill.haneman@sun.com>
36 * libspi/spi-private.h:
37 Added DGB() macro, and extern int _dbg declaration.
39 * registryd/registry.c:
40 (definitions) storage for _dbg.
42 Get environment variable "AT_SPI_DEBUG".
43 (spi_registry_set_debug):
44 New method, to initialize _dbg value.
45 (spi_listener_struct_new, spi_registry_object_finalize):
46 (notify_listeners_cb):
47 Changed fprintfs to use DBG and g_warning().
49 * registryd/deviceeventcontroller.c:
50 (_deregister_keygrab, spi_controller_register_device_listener):
51 Changed debug/warning messages to use DBG macro.
55 Changed warning messages to use DBG macro and g_warning().
57 * atk-bridge/bridge.c:
58 (atk_bridge_init, spi_atk_bridge_get_registry):
59 (spi_atk_bridge_exit_func):
60 (spi_atk_bridge_property_event_listener):
61 Changed status, warning, and error messages to use
62 g_warning, g_message, and DBG macros.
65 Read the state of the AT_SPI_DEBUG environment variable
66 and set a local '_dbg' accordingly.
68 2002-11-19 Bill Haneman <bill.haneman@sun.com>
70 FIXES for 98836, 98842, other bugs.
73 Revved to 1.1.4, interface-age=4, binary-age=4.
75 * registryd/deviceeventcontroller.c:
77 Fixed crasher bug in last_mouse_pos initialization.
79 * registryd/registry.c:
80 (desktop_add_application, desktop_remove_application):
81 Added (and then commented out) some support for
82 object context marshalling. [TODO]
84 * atk-bridge/bridge.c:
85 (spi_atk_bridge_event_context_create):
86 Commented out object context creation until it can
87 be properly tested and debugged.
89 * registryd/registry.c:
90 (impl_registry_notify_event):
91 Fixed crasher bug, we were calling
92 spi_re_entrant_list_foreach () with an empty list.
94 2002-11-18 Bill Haneman <bill.haneman@sun.com>
96 * idl/Accessibility_Action.idl:
97 * idl/Accessibility_Component.idl:
98 * idl/Accessibility_Desktop.idl:
99 * idl/Accessibility_Event.idl:
100 * idl/Accessibility_Hyperlink.idl:
101 * idl/Accessibility_Image.idl:
102 * idl/Accessibility_Relation.idl:
103 * idl/Accessibility_Selection.idl:
104 * idl/Accessibility_State.idl:
105 * idl/Accessibility_Value.idl:
106 Updated unimplemented slot count to minimum of
107 four for all interfaces, for ABI freeze.
109 * idl/Accessibility_EditableText.idl:
110 * idl/Accessibility_Text.idl:
111 Updated unimplemented slot count to six
114 * idl/Accessibility_Registry.idl:
115 Updated unimplemented slot count to six
116 (also for DeviceEventController),
119 * idl/Accessibility_Table.idl:
120 Updated unimplemented slot count to eight,
123 * idl/Accessibility_Event.idl:
124 Added CORBA_any "any_data" member to Event struct.
126 * idl/Accessibility_Event.idl:
127 Added CORBA_any "any_data" member to Event struct.
129 * atk-bridge/bridge.c:
131 atk_signal_text_changed, atk_signal_child_changed,
132 signal ids queried from gtype system.
133 (AtkBridgeEventContextType): New enum.
134 (AtkBridgeEventContextData): New struct.
135 (AtkBridgeEventContext): New struct.
136 (atk_bridge_init_event_type_consts):
137 New method, initializes type contants for comparison
138 prior to emit_eventv.
139 (atk_bridge_event_context_init): New method,
140 initializes a CORBA_any from an AtkBridgeEventContext.
141 (atk_bridge_focus_tracker): Call spi_init_any_nil to
142 initialize the event.any_data struct.
143 (spi_atk_bridge_event_context_create): New method,
144 creates an AtkBridgeEventContext from signal/event info.
145 (spi_atk_bridge_event_context_free): New method.
146 (spi_atk_emit_eventv): Changed to take an
147 AtkBridgeEventContext parameter. We now initialize
148 the event.any_data member prior to notifying the
149 Registry, via the AtkBridgeEventContext.
150 (spi_atk_bridge_property_event_listener):
151 (spi_atk_bridge_state_event_listener):
152 Match emit_eventv signature.
153 (spi_atk_bridge_object_event_listener):
154 Match emit_eventv signature, and create an
155 event context from the event details.
156 Free the event context afterwards.
157 (spi_atk_bridge_window_event_listener):
158 Create an event context, pass it to the
162 (AccessibleEvent_getContextString):
163 (AccessibleEvent_getContextObject):
164 New methods, allow query of AccessibleEvent objects
165 for more context details (via the "any_data" member
166 of the Event struct, above).
169 Definitions for AccessibleEvent_getContextString
170 and AccessibleEvent_getContextObject.
172 * cspi/spi_listener.h:
173 (InternalEvent): New struct.
176 (AccessibleEvent_getContextString):
177 (AccessibleEvent_getContextObject):
178 Implementations of new methods, for obtaining
179 additional context information from some event types.
181 * cspi/spi_registry.c:
182 (SPI_registerGlobalEventListener):
183 Added mention of active-descendant-changed event in docs.
185 * cspi/cspi-bonobo-listener.c:
187 Marshal the any into the AccessibleEvent via
190 * libspi/spi-private.h:
191 #include <orbit/orbit.h>
193 (spi_init_any_string):
194 (spi_init_any_object):
195 New convenience function declarations.
199 (spi_init_any_string):
200 (spi_init_any_object):
201 New convenience function implementations.
203 * registryd/deviceeventcontroller.c:
204 (spi_poll_dec_mouse_moved):
205 (spi_device_event_controller_forward_mous_event):
206 Initialize any_data member of event.
207 (spi_deregister_controller_device_listener):
208 Fix incorrect param pass which was preventing deregistration.
210 * registryd/registry.c:
211 (desktop_add_application):
212 (desktop_remove_application):
213 Add object data to event's any_data before dispatch.
215 Fix for error messages from GAIL.
217 * test/event-listener-test.c:
218 Test new ContextString and "any_data" API:
219 (report_text_event): New method query and output context string.
220 (main): register a new text listener with report_text_event
223 2002-11-19 Darren Kenny <darren.kenny@sun.com>
225 Fixes for bugs 98127 and 97914.
226 * cspi/spi-roletypes.h:
227 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
229 * cspi/spi-statetypes.h:
230 Added SPI_STATE_MANAGES_DESCENDANTS
232 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
233 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
234 * cspi/spi_accessible.c:
235 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
236 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
237 Accessibility_STATE_MANAGES_DESCENDANTS
238 * libspi/accessible.c:
239 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
240 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
241 As requested by Bill, I also cleaned up the alignment.
243 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
244 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
246 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
247 Accessibility_STATE_MANAGES_DESCENDANTS
248 * docs/reference/cspi/tmpl/spi_accessible.sgml:
249 Document changes reflecting modifications to roles.
250 * docs/reference/cspi/tmpl/spi_relation.sgml:
251 Document changes reflecting modifications to relations.
252 * docs/reference/cspi/tmpl/spi_stateset.sgml:
253 Document changes reflecting modifications to states.
255 2002-11-17 Bill Haneman <bill.haneman@sun.com>
258 Revved to 1.1.3, interface-age=3, binary-age=3.
262 Removed accessx-gui from the tests, since we have a nice
263 keyboard accessibility capplet now :-)
265 * test/keysynth-demo.c:
266 (increment_scan): removed do-nothing default: case,
269 * test/visual-bell.c:
270 (main) : removed do-nothing default: case,
274 (AccessibleAction_getKeyBinding_):
275 Documented keybinding string format.
279 (AccessibleText_getAttributes):
280 Documented the text attribute string format.
281 It's changed to use semicolon delimiters also,
282 to prevent clashes with CSS attributes, but the old
283 trick of looking for ", " strings will still work
284 (as unreliably as ever). Fix for bug related to 97916.
287 Include <cspi/bonobo/cspi-bonobo-listener.h>
289 (SPI_freeAccessibleKeySet):
290 (AccessibleKeystrokeListener_addCallback):
291 (AccessibleKeystrokeListener_removeCallback):
292 Modify to use AccessibleDeviceListener API internally,
293 instead of AccessibleKeystrokeListener.
295 * idl/Accessibility_Event.idl:
296 Added two more empty slots to EventListener (for a total of four).
298 * idl/Accessibility_Accessible.idl:
299 Added four empty slots to Accessible interface.
301 2002-11-15 Bill Haneman <bill.haneman@sun.com>
303 * idl/Accessibility_Registry.idl:
304 (KeyEventType, EventType):
305 Marked KeyEventType as deprecated; it duplicates
306 functionality of EventType, which has been extended to
307 include Mouse-button events.
308 (KeyEventTypeSeq): defined in terms of EventType.
309 (registerDeviceEventListener, deregisterDeviceEventListener):
310 New methods, for managing listeners to device events,
311 which potentially may consume them.
314 Added definition for AccessibleDeviceListener.
316 * cspi/spi-listener.h:
317 (enum AccessibleDeviceEventType):
318 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
319 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
320 for backwards compat.
321 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
322 and typedef'd AccessibleKeystroke to it for back-compat.
323 (AccessibleDeviceListenerCB):
324 New function prototype typedef.
327 (AccessibleDeviceEventMask): New typedef.
328 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
329 (AccessibleKeyMaskType):
330 Set equivalent to AccessibleModifierMaskType for back-compat.
331 (SPI_createAccessibleKeystrokeListener):
332 (AccessibleKeystrokeListener_unref):
333 Deprecated in favor of equivalent (better-named) new API below..
334 keystroke listeners are like all device listeners.
335 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
336 New API names for old features :-).
337 (AccessibleDeviceListener_addCallback):
338 (AccessibleDeviceListener_removeCallback):
339 (SPI_registerDeviceEventListener):
340 (SPI_deregisterDeviceEventListener):
344 (SPI_createAccessibleKeystrokeListener):
345 Use new preferred API, cspi_device_listener_new() and
346 cspi_device_listener_add_cb().
347 (AccessibleKeystrokeListener_removeCallback):
348 Use new preferred API, cspi_device_listener_remove_cb().
349 (AccessibleKeystrokeListener_unref):
350 Use new preferred API, cspi_device_listener_unref().
351 (SPI_createAccessibleDeviceListener):
352 (AccessibleDeviceListener_addCallback):
353 (AccessibleDeviceListener_removeCallback):
354 Implementation of new API.
356 * cspi/spi_registry.c:
357 (SPI_registerDeviceEventListener):
358 (SPI_deregisterDeviceEventListener):
359 Implementation of new API. Fixed memory leak and removed need to
360 allocate EventTypeSeq (thanks Michael for catching this).
361 Squashed a wayward CORBA_exception_free that shouldn't get called.
363 * cspi/bonobo/cspi-bonobo-listener.c:
365 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
366 (cspi_key_event): renamed to cspi_device_event().
367 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
368 Extended to handle mouse button events as well as key events.
369 (CSpiKeystrokeListener):
370 Class superceded by CSpiDeviceListener.
371 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
372 These internal APIs changed to "*device_listener" from "*keystroke_listener".
374 * cspi/bonobo/cspi-bonobo-listener.h:
375 (CSpiKeystrokeListener):
376 Class superceded by CSpiDeviceListener.
377 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
378 These internal APIs changed to "*device_listener" from "*keystroke_listener".
380 * libspi/Makefile.am:
381 Replaced keystrokelistener.h and keystrokelistener.c
382 with devicelistener.h and devicelistener.c; keystrokelisener.h
383 stub retained for back-compat.
385 * libspi/keystrokelistener.c:
389 Replaced inclusion of keystrokelistener.h with devicelistener.h.
391 * registryd/deviceeventcontroller.c:
392 (DEControllerListener): Added Accessibility_EventTypeSeq member.
393 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
394 (DEControllerPrivateData): Added xkb settings data.
395 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
396 button release events (which can't be captured via XGrabButton).
397 Don't dispatch via the 'normal' event mechanism if the device event was
399 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
400 Handle the typeseq data in its new location (see above).
401 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
402 New methods, for "generic" device listeners.
403 (spi_controller_register_device_listener):
404 Now handle mouse event listeners as well as key listeners.
405 (spi_controller_notify_mouselisteners):
407 (spi_device_event_controller_forward_mouse_event):
408 Now we notify mouse device listeners as well as generating the
409 non-consumable "mouse:" events.
411 We must check and restore the XKB
412 modifier map if we consume the event, since the act of triggering
413 a mouse event will normally reset the XKB latch. This is required for
415 (spi_controller_register_with_devices):
416 Load the XKB settings when registering, and register for XKB
418 (spi_key_eventtype_seq_contains_event):
419 Renamed spi_eventtype_seq_contains_event, since it's used
420 internally for all device event types now.
421 (spi_key_event_matches_listener):
422 Uses spi_eventtype_seq_contains_event now.
423 (spi_device_event_controller_object_finalize):
424 Free the private data and the XkbKeyboard struct.
425 (impl_register_device_listener, impl_deregister_device_listener):
426 Implementation of new IDL.
427 (spi_deregister_controller_device_listener):
429 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
430 More efficient implementation, we don't have to create a new
431 XkbControls structure every time we query.
432 (spi_device_event_controller_class_init):
433 Initialize the epv entries for the new IDL. Assign the
434 "spi-dec-private" quark.
435 (spi_device_event_controller_init):
436 Initialize the private data.
437 (spi_device_event_controller_forward_key_event):
438 Removed a bogus CORBA_exception_free() call.
440 * registryd/deviceeventcontroller.h:
441 Replaced inclusion of keystrokelistener.h with
444 * test/event-listener-test.c:
445 (report_mouse_event):
448 Added mouse-event device listener.
450 * test/test-simple.c:
451 (create_test_window):
452 Fixed regression (we were instantiating a GtkRange,
453 which is now an abstract class). Also fixed to match
454 existing AtkRole names, this seems to have changed in ATK
455 awhile ago; too late now I think, and the new
456 mechanism is at least elegant and consistent with the
457 glib enum "nick" APIs.
459 2002-11-15 Darren Kenny <darren.kenny@sun.com>
461 * idl/Accessibility_Relation.idl:
462 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
463 RELATION_EMBEDS,RELATION_EMBEDDED_BY
464 * idl/Accessibility_Role.idl:
465 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
466 * idl/Accessibility_State.idl:
467 add STATE_MANAGES_DESCENDANTS
468 * test/event-listener-test.c:
469 Added a listener for active-descendant events.
471 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
473 * atk-bridge/bridge.c
474 (atk_bridge_init): If application is Bonobo component wait until top
475 level is added before registering
476 (spi_atk_bridge_do_registration): New function which contains code,
477 formerly in atk_bridge_init, to do application registration.
478 (spi_atk_bridge_toplevel_added): Signal called when top level
479 added to Bonobo component
481 This fixes bug #83134.
483 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
485 * registryd/deviceeventcontroller.c
486 Fixed compilation error caused by calling gettimeofday()
489 2002-10-18 Bill Haneman <bill.haneman@sun.com>
494 Added template for HAVE_XKB.
497 Changes to check for XKB, and to set the HAVE_XKB #define if it
501 ()impl_notify_event): Make failure to get event source name
504 * registryd/deviceeventcontroller.c:
505 (#include): include X11/XKBlib.h.
506 (DEControllerPrivateData) : New struct.
507 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
509 (dec_synth_keycode_press) (dec_synth_keycode_release):
510 New methods; split the key synthesis code into these methods.
511 They check XKB settings before determining the "time" values to
512 pass to Xtest; this fixes bug #95828.
513 (impl_generate_keyboard_event): Changed to use methods above,
514 instead of callng Xtest directly.
515 (spi_device_event_controller_init): Initialize new privae struct s
517 (spi_device_event_controllr_object_finalize):
518 Free the (new) private data.
520 * registryd/deviceeventcontroller.h:
521 Add new gpointer to end of struct data.
523 2002-10-16 Bill Haneman <bill.haneman@sun.com>
526 Incremented revision to 1.1.2, SONAME is still '.so', library
527 extensions are ".so.0.0.2".
529 * registryd/deviceeventcontroller.c:
530 FIXES FOR #93592 and #95940.
531 (statics): renamed mouse_button_state to mouse_mask_state,
532 added key_modifier_mask.
533 (spi_dec_poll_mouse_moved):
534 Added key modifier checks, and emit "keyboard:modifiers"
535 events when the key modifiers currently in use change.
536 Also generate "mouse:abs" events periodically, even if the mouse
537 is stationary (should we?).
538 Alternatively we could generate "mouse:abs" events for either all
539 mouse movements, or every 'nth' mouse movement, or at the
540 beginning and end of every "active" mouse period.
542 * test/event-listener-test.c:
543 (main): Added listener for "keyboard:modifiers" events.
545 2002-10-15 Bill Haneman <bill.haneman@sun.com>
548 Added key mask #defines for mouse buttons; e.g.
549 SPI_KEYMASK_BUTTON1, etc.
552 Incremented dependency on ATK to version 1.1.0. (This dependency
553 is probably premature but will soon be real enough).
555 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
557 * libspi/hyperlink.[ch]
558 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
559 (get_hyperlink_from_servant): Check object is AtkHyperlink not
562 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
567 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
569 * registryd/deviceeventcontroller.c
570 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
571 events to be ignored.
572 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
573 keyboard_mode so that XAllowEvents() can be called.
577 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
579 * cspi/spi-accessible.c: Correct names of roles returned by
580 AccessibleRole_getName(). Fixes bug #95055.
582 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
584 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
587 * registryd/registry.c
588 (desktop_remove_application: Write diagnostic message to stderr for
591 (impl_accessibility_registry_deregister_global_event_listener):
592 Correct size of lists array. This addresses bug #94555).
594 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
596 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
599 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
601 * registryd/Makefile: Add CLEANFILES so that .server file is removed
604 * registryd/registry.c (impl_registry_notify_event): Remove
605 unnecessary call to parser_event_type().
607 * docs/reference/cspi/tmpl/spi_component.sgml:
608 Add reference to SPI_LAYER_WINDOW.
610 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
612 * registryd/registry.c
613 (desktop_add_application): Remove leak.
614 (desktop_remove_application): Remove leak.
615 (parser_event_type): Remove leak.
617 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
619 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
620 bogus call to CORBA_string_dup(). Also removed unnecessary
621 g_string_dup/g_free calls.
623 2002-09-13 Bill Haneman <bill.haneman@sun.com>
625 * registryd/deviceeventcontroller.c:
626 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
628 * test/event-listener-test.c:
629 main: commented out three redundant listeners, to reduce output
630 noise. (They still are potentially useful for testing).
633 2002-09-13 Michael Meeks <michael@ximian.com>
635 * Update all the copyrights to include Ximian.
637 2002-09-06 Mark McLoughlin <mark@skynet.ie>
639 * cspi/spi.h: add SPI_LAYER_WINDOW.
641 * cspi/spi_component.c: (AccessibleComponent_getLayer):
642 add Accessibility_LAYER_WINDOW case.
644 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
646 * libspi/component.c: (impl_accessibility_component_get_layer):
647 add ATK_LAYER_WINDOW case.
649 2002-08-28 Bill Haneman <bill.haneman@sun.com>
651 * configure.in: incremented micro version.
653 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
655 2002-08-20 Bill Haneman <bill.haneman@sun.com>
658 Clarified and reworded our commit policy.
661 Started an API "todo" addition list for 2.2.
665 Free char pointer from atk_text_get_selection, which was being leaked.
667 2002-08-19 Bill Haneman <bill.haneman@sun.com>
670 Small revision to author acknowledgement.
672 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
674 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
675 If signal has detail add it to the type of the event.
678 2002-08-12 Michael Meeks <michael@ximian.com>
680 * test/test-simple.c (global_listener_cb): bin bogosity.
681 (test_keylisteners): disable, still doesn't work reliably,
682 certainly not on my system anyway.
684 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
685 don't leak a reference on the DEC. This round-trip
686 fetching of the DEC per keystroke sucks, it should be
689 * cspi/spi-private.h,
690 * cspi/cspi-lowlevel.h,
691 * cspi/bonobo/cspi-bonobo-listener.[ch],
692 * cspi/bonobo/cspi-bonobo.c: get the copyright
693 notices better - there is still a large amount of
694 work in at-spi falsely attributed solely to Sun.
696 * cspi/spi_main.c (cspi_object_ref): kill bogus
697 hash lookup, just increment the ref.
698 (SPI_freeString): make explicit the fact that we
699 handle NULL strings just fine.
700 (report_leaked_ref): obey coding standards.
701 (cspi_object_hash, cspi_object_equal): kill retval.
702 (cspi_object_release): only release if not on loan.
703 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
704 (cspi_object_borrow, cspi_object_return): impl.
706 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
707 use cspi_object_borrow / return.
709 2002-08-12 Darren Kenny <darren.kenny@sun.com>
711 * cspi/bonobo/cspi-bonobo-listener.c:
713 Don't call cspi_oject_new() because this is creating a new Accessible
714 every single time that an event is fired. This causes ATs like at-poke
715 to nolonger recognise the source of the event and thus ignore it.
716 Re-use the object from the cache, ref it and then unref it after the
717 listeners have been called.
719 2002-08-06 Darren Kenny <darren.kenny@sun.com>
721 * test/event-listener-test.c:
722 Added command-line options to disable mouse events (m) and
725 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
727 * configure.in: Update required versions of ATK, GTK+ and GAIL
729 * cspi-1.0.pc.in: Add dependency for X include files
732 * cspi/bonobo/Makefile.am:
733 Add $(X_CFLAGS) so that X include files
734 are picked up even if not in standard place (bug #71686)
736 2002-06-25 Bill Haneman <bill.haneman@sun.com>
738 * registryd/deviceeventcontroller.c: fix for 84261
739 (spi_dec_mouse_moved):
740 Added test of mouse button mask, so that we can detect mouse
741 button release. Unfortunately we can't otherwise detect mouse
742 button release events without consuming the mouse press event,
743 because of the way XGrabButton works. This means that our mouse
744 release events have a latency dependent on the polling period
745 while the mouse button is down. At least in this case we only
746 have to poll while the button is down, and not at other times.
747 If the button masks don't match with what the last press event
748 reported, we report the appropriate button release event.
749 (spi_dec_ungrab_mouse):
750 New method (not yet called).
751 (spi_device_event_controller_forward_mouse_event):
752 New method, sends mouse press event from GdkFilter.
753 (spi_dec_init_mouse_listener):
754 Added code to call XGrabButton, redirecting mouse button events to
755 the root window and our Gdk event loop.
757 Added code to filter mouse button events, and reordered.
759 * test/event-listener-test.c:
761 Added registration for mouse events of type "mouse:button".
763 2002-06-25 Bill Haneman <bill.haneman@sun.com>
765 * registryd/deviceeventcontroller.c: partial fix for 84261
766 (spi_dec_poll_mouse_idle):
767 New method, a timeout which checks to see if the mouse
769 (spi_dec_poll_mouse_moving):
770 A timeout to be called when mouse motion is underway.
771 (spi_dec_poll_mouse_moved):
772 A method which fires an event if the mouse has moved, and reports
773 whether or not it did so.
774 (spi_dec_init_mouse_listener):
775 A method which sets up the timeouts above.
776 (spi_device_event_controller_new):
777 Now calls spi_dec_init_mouse_listener.
779 * registryd/registry.c:
781 Now we initialize the device event controller when the registry is
782 initialized, instead of waiting until a client has requested a key
783 event notification; this is because we need the event controller
784 for mouse events, but the mouse event registration API is a
785 "registry" call and doesn't explicitly call the
786 deviceeventcontroller.
787 We now report mouse motion events with a 100 ms idle latency and
788 a 20 ms granularity when motion is in progress.
790 * test/event-listener-test.c:
792 We now register the "detail listener" for events of type
793 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
794 delivered only for the first mouse event received, and thereafter
795 "mouse:abs" events are delivered.)
797 * cspi/spi_registry.c:
798 DOCS: Documented the above mouse event typestrings.
800 2002-06-21 Bill Haneman <bill.haneman@sun.com>
802 Happy Summer Solstice...
804 * registryd/deviceeventcontroller.c: [fix for bug 84100]
805 (spi_controller_notify_keylisteners):
806 Changes to remove a listener from the listener list, freeing its
807 open keygrabs, if a notification to that listener fails. This
808 means that although a dead listener can continue to hold a passive
809 keygrab, a maximum of one dispatch to such a listener can fail
810 before the listener is removed from the list, thus the keygrab
811 will be released on the next occurrence.
813 (spi_notify_keylisteners):
814 Renamed to spi_controller_notify_keylisteners, as the controller
815 instance must now be passed as an argument.
816 The copied 'notify' GList is now a list of DEControllerKeyListener
817 objects, since we need more than just the CORBA reference if a
818 notify fails and we need to deregister the listener.
819 (impl_notify_listeners_sync):
820 (impl_notify_listeners_async):
821 (spi_device_event_controller_forward_key_event):
822 Modify use of notify_keylisteners in accordance with above
824 (spi_deregister_controller_key_listener):
825 New method introduced by refactoring, from
826 impl_deregister_keystroke_listener.
827 (impl_deregister_keystroke_listener):
828 Call spi_deregister_controller_key_listener.
829 (spi_key_listener_clone):
830 New method to copy a key listner without doing a 'ref' on the
831 remote object instance; used to create a notifier list.
832 (spi_key_listener_data_free):
833 New method, frees data without unreffing the source.
835 (spi_key_listener_clone_free): new method.
836 (spi_key_listener_free):
837 refactored to call spi_key_listener_data_free.
839 2002-06-20 Bill Haneman <bill.haneman@sun.com>
841 * registryd/registry.c: [fix for bug 86048]
842 (notify_listeners_cb):
843 Clear CORBA system exceptions which occur when notifying
844 listeners, before returning to the source of the original event,
845 since the event source doesn't care if the relayed notify failed.
846 In other words, don't complain to the atk-bridge if the registry
847 could not notify all its listeners, that's no fault of the
848 application and thus should not appear to be an error from the
849 application's perspective.
851 * cspi/spi_main.c: [fix for bug 85980]
853 Replaced use of bonobo_object_dup_ref with call to the wrapper
854 method, csou_dup_ref (); this silences a compiler warning and
855 provided more portability.
857 Ping the registry before return, and restart if necessary.
859 * cspi/bonobo/cspi-bonobo.c:
863 Fixed this method to return an object reference, as it should have
866 * cspi/cspi-lowlevel.h:
867 Added internal definition for cspi_ping() and fixed
868 return type of cspi_dup_ref().
871 2002-06-19 Bill Haneman <bill.haneman@sun.com>
873 * atk-bridge/bridge.c: [fix for bug 85305]
874 (spi_atk_bridge_register_application):
875 New method where the initial application registry calls have been
876 moved; it allows an application to re-register in response to
877 certain error conditions (such as a registry restart, see below).
879 Moved some initialization code to the method
880 spi_atk_bridge_get_registry, below.
881 (spi_atk_bridge_get_registry):
882 New, private accessor function for the Accessibility_Registry
883 instance. If the registry has not been started before, or has
884 died (as detected by failure of a CORBA exception), it is
885 restarted before return, and spi_atk_bridge_register_application
886 is called again to register with the new bridge instance.
887 (spi_atk_emit_eventv):
888 Set registry_died on error; use spi_atk_bridge_get_registry () to
891 * registryd/registry.c:
892 (impl_accessibility_registry_register_global_event_listener):
893 Set listener's event_type_quark to etype.minor instead of
894 etype.major (fix for bug 84856).
896 * test/event-listener-test.c:
897 (report_detail_event):
898 Change the output string so that user/tester can tell that the
899 'detail listener' was called instead of the 'generic listener'.
901 2002-06-18 Bill Haneman <bill.haneman@sun.com>
903 Fixes for bugs 84900, 84908, 84897, 84898.
908 Revved version to 1.1.0
909 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
910 version is going to HEAD which will be used for gnome-2-0-1 and later.)
912 * idl/Accessibility_Registry.idl:
913 (EventListener::notifyEvent):
914 Removed 'oneway' directive after extensive consulation with
915 ORBit2 team and others. This means also that unref() of the event
916 source can and should be done synchronously after emission, rather
917 than remotely in the client, after servicing the notify call on
920 NOTE: This change speeds up listener performance considerably, but
921 introduces new latency on the application side. We may want to
922 add an event queue to the atk-bridge.
924 * atk-bridge/bridge.c:
925 (spi_atk_bridge_focus_tracker):
926 Do a local unref() on the event source after emission.
928 * registryd/registry.c:
929 (desktop_remove_application):
930 Do an unref() on the event source after emission.
931 (desktop_add_application):
932 Do an unref() on the event source after emission.
933 (notify_listeners_cb):
934 When relaying an event, don't automatically add the event source
935 to the local object cache, just CORBA_dup it instead. Likewise,
936 if this method reenters, release the ref rather than calling
938 (impl_registry_notify_event):
939 No longer call remote unref() on the event source after dispatch.
941 * libspi/eventlistener.c:
942 (impl_accessible_event_notify_event):
943 Removed remote unref ()
945 * cspi/bonobo/cspi-bonobo-listener.c:
947 We now call cspi_object_new() instead of cspi_object_add() on
948 receipt of an event; thus we only have an implicit object ref
949 while the cspi_event method is being executed. If we need to keep
950 a reference to the object, the listener must call ref() on the
951 object. Thus also we don't need to call cspi_object_unref() after
952 invoking the listener callbacks in this method.
956 New internal API for creating a new cspi object, without adding it
959 Now uses cspi_object_new() to create the cspi object instance.
961 Now checks to see if the object is in the internal object cache,
962 and adds it if necessary before incrementing its refcount (note
963 that new objects are added with a refcount of 1).
965 New method which gives some information on leaked object instances
966 if leak detection is turned on.
968 * test/event-listener-test.c:
970 New method, used for testing event delivery timing for special
971 events of type "object:test". It reports elapsed time and
972 events/sec every 500 events.
974 Added a new listener, 'test listener', to check timing of event
975 receipt as noted above.
977 Added some timing output here also, reports elapsed time every 100
980 * test/stress-test.c:
981 Emit events of type "object:test", for use with "event-listener-test".
983 * test/test-simple.c:
984 (global_listener_cb):
985 Call Accessible_ref() on the event source before calling
986 validate_accessible, since the validation process does pointer
987 comparisons on the event source, meaning that the event source
988 needs to be added to the local object cache first. Any use of
989 such pointer comparisons between Accessible objects requires that
990 the caller hold an explicit reference to those objects.
991 We also must therefore call Accessible_unref() when leaving this method.
993 2002-06-13 Bill Haneman <bill.haneman@sun.com>
995 * registryd/deviceeventcontroller.c:
996 (spi_controller_update_key_grabs):
997 Fix for #84735, subsequent keygrab listeners not informed of
998 registration failure.
1001 (spi_base_construct):
1002 Add an assertion on construct, to make sure the GObject passed in
1003 is really a GObject.
1005 Explicitly initialize object->gobj pointer to NULL;
1007 * cspi/bonobo/cspi-bonobo-listener.c:
1008 (cspi_object_add_ref):
1009 New method, can specify whether to dup-ref a bonobo object passed
1010 in if it's newly added to the object cache.
1012 Now calls cspi_object_add_ref with second param of "FALSE". This
1013 prevents us from doing a pointless dup-ref followed by
1014 release-unref for all those cases where the object is already in
1015 our object cache (fix for #85205).
1017 * atk-bridge/bridge.c:
1018 (spi_atk_bridge_idle_init):
1019 Removed this method, we don't need to initialize in an idle
1022 Changed to call spi_atk_register_event_listeners directly, not via an
1023 idle handler. (fix for #81139)
1024 (gnome_accessibility_module_shutdown):
1025 Removed conditional around deregistration of listeners, since we
1026 don't use the idle handler and thus have always registered when
1028 (spi_init_keystroke_from_atk_key_event):
1029 Changed references to Accessibility_KEY_PRESSED to
1030 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1032 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1034 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1039 * test/stress-test.c:
1042 (may have been an incomplete commit yesterday?)
1044 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1047 Added target for new stress-test.
1049 * test/stress-test.c:
1050 New test, sends 1000 focus notifies in quick succession.
1052 * test/key-listener-test.c:
1053 Now we report whether a keylistener registration
1054 request succeeded or failed.
1056 * test/event-listener-test.c:
1057 Uncommented some listeners which are now implemented.
1060 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1062 * registryd/deviceeventcontroller.c:
1063 (spi_controller_update_key_grabs):
1064 Fix for #82509, lack of failure notification when
1065 ALL_WINDOWS keygrabs fail due to XGrabKey
1066 failure: we synchronize the server when
1067 registering a passive grab, to make sure we get the
1068 error message before the call returns.
1070 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1072 * test/test-simple.c:
1074 Removed #ifdef KEY_IMPL_WORKS guards.
1075 (test_keylisteners):
1076 Removed #ifdef KEY_IMPL_WORKS guards.
1077 Fixed bug which was causing a hang waiting for a
1078 "press" event (which was already overwritten by a "release"
1079 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1081 Added code to set globals 'key_press_received' and
1082 'key_release_received'.
1085 Added section "1.1 API Proposed Additions" which
1086 lists API additions desired for at-spi-1.1 (only one so far).
1087 Updated TODO list a little.
1089 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1091 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1094 * configure.in: Revved to 1.0.0.
1096 * idl/Accessibility_Registry.idl:
1097 (registerKeystrokeListener):
1098 Added boolean return value.
1100 * registryd/registry.c:
1101 (notify_listeners_cb): Minor fix to debug output.
1103 * registryd/Accessibility_Registry.server.in.in:
1104 Revved version number in OAFIID to 1.0.
1106 * registryd/registryd.c:
1108 Use new OAFIID version.
1110 * cspi/bonobo/cspi-bonobo.c:
1112 Use new OAFIID version.
1118 * atk-bridge/bridge.c:
1120 Use new OAFIID version.
1122 * registryd/deviceeventcontroller.c:
1123 (impl_register_keystroke_listener):
1124 Added CORBA_boolean return value.
1125 (spi_controller_register_device_listener):
1126 Added gboolean return value.
1127 (spi_controller_register_global_keygrabs):
1128 Added gboolean return value.
1129 (spi_key_set_contains_key):
1130 Added implementation for many more control keys,
1131 for instance F1-F12, arrow keys, End, Home, Page_Up,
1133 [TODO: some still not implemented].
1135 * text/screen-review-test.c:
1136 (text_chunk_pad_string):
1137 New function: it provides mapping between coordinate
1138 positions of text chunks and character positions in the
1139 screen-review-line output string.
1140 (text_chunk_to_string):
1141 New function, calls text_chunk_pad_string with various
1142 pad/delimiter characters. Pushbuttons are delimited with
1143 square brackets, Frames with vertical 'pipe' lines, and
1144 other text with double quotes.
1145 (text_chunk_list_to_string):
1146 Calls new function text_chunk_to_string.
1147 (toplevel_composite):
1148 New function to composite layers CANVAS through
1149 POPUP in each toplevel (other layers are composited
1150 across toplevels, i.e. BACKGROUND and OVERLAY).
1151 (review_buffer_composite):
1152 Revise to use new methods.
1158 2002-05-31 Laszlo Peter <laca@sun.com>
1160 * configure.in: add the Xtst libdir to the runpath on Solaris,
1161 since it's not in the default library search path.
1163 2002-05-29 jacob berkman <jacob@ximian.com>
1165 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1167 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1169 * test/screen-review-test.c:
1170 (text_chunk_pad_string):
1171 Added method, which pads the string according to the
1172 text bounds of the chunk. It also takes a 3-character
1173 string as a param which indicates the characters to be
1174 used for start, padding, and end delimitation of the chunk.
1175 (text_chunk_to_string):
1176 Changed to use text_chunk_pad_string.
1178 * configure.in: Fixed bug in AC_OUTPUT that was
1179 causing path substitution in Accessibility_Registry.server
1182 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1184 * text/screen-review-test.c:
1185 (guess_string_clip):
1186 New method which attempts a best-guess at clipping
1187 text from components (like Java labels) which don't
1188 actually implement AccessibleText. This inaccurate
1189 clip is based on the assumption that the label is
1190 justified left-and-right, and monospaced.
1191 (text_chunk_get_clipped_string):
1192 We now call guess_string_clip() for text-containing
1193 components that don't implement AccessibleText.
1195 * test/screen-review-test.c:
1196 (review_buffer_get_text_chunk):
1197 We now pull "name" from labels if they do not implement
1198 AccessibleText (i.e. for Java labels).
1199 (get_screen_review_line_at):
1200 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1203 Replaceded AC_OUTPUT target
1204 registryd/Accessibility_Registry.server with
1205 registryd/Accessibility_Registry.server.in.
1207 * registryd/Accessibility_Registry.server.in:
1208 Removed (this is now a Makefile target).
1210 * registryd/Accessibility_Registry.server.in.in:
1211 Added (source for target above). We now use $(libexecdir) as
1212 prefix for the executable at-spi-registryd.
1214 * registry/Makefile.am:
1215 Now install at-spi-registryd into $(libexecdir), and build .server
1216 file with path (see above).
1218 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1220 * test/screen-review-test.c:
1221 (text_chunk_get_clipped_string):
1222 We now check to see if words fall within clip bounds
1223 before resorting to character-by-character clip bounds testing.
1225 * TODO: Added a section for "2.2 Proposed API Additions".
1227 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1229 * test/screen-review-test.c:
1231 Added a screen review benchmarking and test program to test
1234 * cspi/spi_accessible.c:
1236 Made some of the debug strings passed to cspi_check_ev a
1237 little more specific.
1239 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1241 * test/screen-review-test.c: Fix crashes in debug statements
1243 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1245 * test/screen-review-test.c: Added this file.
1247 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1249 * atk-bridge/bridge.c: changed "object:state-change" to
1250 "object:state-changed" to match docs.
1252 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1254 * atk-bridge/bridge.c: Hooked up state-change event details.
1256 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1258 * registryd/registry.c:
1259 Fixed quarking bug in event string parsing; now events with
1260 detail parameters get matched correctly to listeners.
1263 * util/idl/Magnifier.idl: remove.
1265 * util/*.[ch]: Remove.
1266 Magnification utilities and IDL are now in module gnome-mag.
1268 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1270 * registryd/deviceeventcontroller.c:
1271 Fixed bug in grab key conversion which was causing keycode grabs
1272 to be converted to AnyKey grabs.
1275 updated NEWS file to reflect recent spin-off of gnome-mag.
1277 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1279 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1280 busted AccessibleStateSet_compare. Removed redundant casts.
1282 * cspi/spi-action.c: Removed redundant casts.
1284 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1286 * cspi/spi_component.c: Fixed typos and casting error.
1288 * cspi/spi_editabletext.c: Removed redundant casts.
1290 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1292 * cspi/spi_hypertext.c: Eliminated redundant casts.
1294 * cspi/spi_image.c: Eliminated redundant casts.
1296 * cspi/spi_registry.c: Eliminated redundant casts.
1297 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1298 * cspi/spi_selection.c: Removed redundant casts.
1299 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1300 handling. Screen geometry and text offsets were being returned as 0
1301 on error which is technically valid-- changed these to return -1.
1302 Added marshaller for text boundary types to fix bug with boundary
1303 types being passed incorrectly to atk.
1305 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1308 * cspi/spi_registry.c:
1309 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1310 which was uncovered by the recent key changes.
1312 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1314 * test/event-listener-test.c:
1316 Added new test, "event-listener-test";
1317 this code does two things; it benchmarks traversal time
1318 for the accessible hierarchy for the first running accessible
1319 app, and it connects listeners for all supported event types.
1320 It is thus useful as an example event listener and for
1321 diagnostics/debugging of event generation.
1323 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1326 Removed unnecessary dependency on libutil.
1329 Revved micro version: 0.13.1
1331 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1334 Removed util/Makefile from targets.
1337 Removed util subdir from SUBDIRS (temporarily,
1338 pending removal of magnifier-only code
1342 #ifdef-ed out magnifier dependencies, since
1343 magnifier IDL, headers, and binary now live in
1344 module gnome-mag and we don't want at-spi to depend
1345 on gnome-mag. A magnifier demo which can run alongside
1346 simple-at is forthcoming in the gnome-mag module.
1348 NOTE: Split magnifier binary, IDL, and magnification
1349 activation code from at-spi into module gnome-mag.
1351 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1353 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1354 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1356 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1359 Revved to version 0.13.0
1361 * idl/Accessibility_Registry.idl:
1362 Changed definition of KeySet from sequence of longs to sequence of
1363 KeyDefinitions, and added KeyDefinition struct.
1364 Required for fix to bug 80616.
1366 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1367 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1368 to use new definition (see above).
1370 * registryd/deviceeventcontroller.c: handle_keygrab(),
1371 spi_keyset_contains_key():
1372 Changed to make use of new struct; this allows matching based on
1373 string key-name, for instance "Tab". This also allows matching of
1374 composed characters, non-alphanumeric characters in a way that
1375 doesn't involve dependencies on X keysym codes directly, etc.
1377 * test/key-listener-test.c:
1378 Added test for Alt-Tab key using "string" specification of keyset,
1379 and modified one of the tests to use a keycode-based keyset.
1380 Thus this test both tests and demonstrates the creation and use of
1381 keysets of three forms: specified via keycode array,
1382 keysym array, and string array. (The string case only contains a
1383 single string, i.e. a string array of length 1).
1386 Turned on PRINT_TREE option by default. Also fixed a
1387 string-freeing bug in the PRINT_TREE code.
1388 Added a listener to window:minimize events.
1390 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1392 * atk-bridge/bridge.c:
1393 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1394 for window:activate and window:deactiveate
1395 (atk_bridge_property_event_listener atk_bridge_signal_listener
1396 atk_bridge_window_event_listener) Tidy debug code
1398 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1400 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1401 Fixed handling for NULL return value from ATK.
1403 * libspi/action.c libspi/component.c libspi/editabletext.
1404 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1405 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1406 Removed redundant casts.
1408 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1409 Fixed off by one bug.
1411 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1412 function not present in idl)
1414 2002-05-02 jacob berkman <jacob@ximian.com>
1416 * atk-bridge/Makefile.am: make atk-bridge a real module
1418 2002-04-26 Radek Doulik <rodo@ximian.com>
1420 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1421 atk_state_types table
1423 2002-04-22 jacob berkman <jacob@ximian.com>
1426 * libspi/Makefile.am: add deps on the built files to help
1427 automake, and don't version the ORBit typelib
1429 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1431 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1432 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1433 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1434 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1435 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1436 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1437 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1438 libspi/accessible.h libspi/accessible.h libspi/base.h
1439 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1440 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1441 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1442 libspi/spi-private.h libspi/statetset.h libspi/table.h
1443 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1444 util/mag_client.h util/mag_control.c util/mag_image.c
1445 util/mag_image.h util/magnifier.c util/magnifier.h:
1446 Add missing file headers; standardize existing ones
1448 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1450 * atk-bridge/bridge.c: Added window event support.
1452 2002-04-18 Michael Meeks <michael@ximian.com>
1454 * libspi/relation.c (impl_getNTargets): impl.
1455 (impl_getTarget): impl.
1457 * libspi/Makefile.am: fix stateset install.
1459 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1462 Started putting useful info in this file.
1464 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1466 * atk-bridge/bridge.c:
1467 Propagate state-changed notifications to ATs
1469 * cspi/spi_registry.c: update docs to reflect actual behavior of
1470 state-change events.
1472 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1475 Incremented version to 0.12.1
1477 * util/mag_client.h:
1478 Add missing declaration for magnifier_exit,
1479 used by mag_control.c - Forte compiler didn't like
1480 the implicit redeclaration of the function :-(
1483 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1486 Revved version to 0.12 due to API change (see below).
1488 * cspi/spi-roletypes.h:
1489 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1490 definition from the inline docs, and added docs
1491 for SPI_ROLE_LAST_DEFINED.
1494 * cspi/spi_streamablecontent.c:
1495 Added missing seek_type parameter to
1496 (so far unused) method,
1497 AccessibleStreamableContent_seek().
1498 [ RT approval JodyG. ]
1501 Fixed docs for SPI_createAccessibleKeystrokeListener.
1503 * cspi/spi_registry.c:
1504 Fixed docs for SPI_KEYSET_ALL_KEYS.
1506 * docs/reference/cspi/at-spi-cspi-sections.txt:
1507 Added a number of missing APIs to SECTIONS.
1509 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1511 * registryd/Makefile.am:
1513 * cspi/bonobo/Makefile.am:
1514 Add $(X_LIBS) to makefiles.
1516 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1519 Revved version to 0.11.
1521 * libspi/component.c:
1522 Added implementation for grabFocus.
1524 * idl/Accessibility_Component.idl
1525 (Accessibility_Component_grabFocus):
1526 Made this method return boolean to indicate success or failure, to
1527 be consistent with cspi and the corresponding ATK method.
1529 * idl/Accessibility_Selection.idl
1530 (Accessibility_Selection_selectAll) :
1531 Made these methods return boolean to indicate success or
1532 failure, to be consistent with cspi and the corresponding ATK methods.
1534 * idl/Accessibility_EditableText.idl
1535 (Accessibility_EditableText_setTextContents,
1536 Accessibility_EditableText_insertText,
1537 Accessibility_EditableText_cutText,
1538 Accessibility_EditableText_deleteText,
1539 Accessibility_EditableText_pasteText):
1540 Made these methods return boolean to indicate
1543 * cspi/spi_editabletext.c:
1544 Made these methods return booleans.
1546 * libspi/selection.c:
1547 * libspi/component.c:
1548 * libspi/editabletext.c:
1549 Connected the boolean returns from ATK
1550 to the server-side code referenced above.
1552 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1554 * idl/Accessibility_Table.idl: Added missing methods,
1555 Accessibility_Table_addRowSelection,
1556 Accessibility_Table_addColumnSelection,
1557 Accessibility_Table_removeRowSelection,
1558 Accessibility_Table_removeColumnSelection.
1561 Added C wrappers for above IDL:
1562 AccessibleTable_addRowSelection,
1563 AccessibleTable_addColumnSelection,
1564 AccessibleTable_removeRowSelection,
1565 AccessibleTable_removeColumnSelection.
1568 Added server-side implementation code for IDL above, connecting
1569 to pre-existing ATK api.
1571 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1573 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1575 * libspi/accessible.c: Added implementation fo
1576 Accessibility_Accessible_get_state.
1578 * libspi/libspi.h: Added stateset.h to the list of includes.
1580 * libspi/stateset.c: Fixed broken implementation.
1582 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1585 Added implementation code for Accessibility_Magnifier_exit ().
1587 * util/mag_control.c:
1588 Added test code for above method; you can
1589 now kill an existing magnifier via
1590 ./mag_control q, from the util directory.
1592 * test/key-listener-test.c:
1594 Added a new test, for our key listener API.
1596 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1598 * test/app.c, test/keysynth-demo.c:
1600 Replace use of snprintf with g_snprintf.
1601 (fix for bugzilla 78249)
1603 2002-03-27 Michael Meeks <michael@ximian.com>
1607 * util/Makefile.am (INCLUDES): fix.
1608 (DONT_DIST_SOURCE): don't distribute the
1611 * libspi/Makefile.am (dist-hook): ditto.
1613 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1615 * libspi/hypertext.c:
1616 Fix warnings when yelp is used with atk-bridge
1618 2002-03-21 Michael Meeks <michael@ximian.com>
1620 * libspi/application.c (spi_application_new):
1621 use spi_accessible_construct so we use the AtkObject
1624 2002-03-19 Michael Meeks <michael@ximian.com>
1626 * registryd/registry.c (desktop_remove_application),
1627 (desktop_add_application): clean coding style.
1629 * registryd/desktop.c (spi_desktop_remove_application),
1630 (spi_desktop_add_application): kill re-enterency hazards.
1631 (spi_desktop_dispose): remove bogus redundant cast
1632 obscuring bug; fix bug too.
1633 (spi_desktop_init): make the desktop object immortal.
1635 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1638 Added a #define-guarded tree-traversal step
1639 when enumerating the apps (diagnostic tool).
1641 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1643 * idl/Accessibility_Role.idl:
1644 Added ROLE_DRAWING_AREA which seemed to be missing from the
1647 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1649 * cspi/spi-roletypes.h cspi/spi_accessible.c
1650 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1653 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1654 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1655 AT when applications are added and removed from the desktop. This
1656 reverts the previous broken implementation using the backing
1657 AtkObject for the SpiDesktop.
1659 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1661 * registryd/desktop.c: emit the "children-changed::add" and
1662 "children-changed::remove" signals on the backing ATK object for
1663 the desktop so AT can tell when applications are started and shut
1666 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1668 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1670 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1672 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1674 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1676 * cspi/state-types.h: synched with IDL and ATK
1678 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1680 * libspi/accessible.c
1681 (impl_accessibility_accessible_get_child_at_index):
1682 Change return value for g_return_if_fail ()
1683 to CORBA_OBJECT_NIL instead of "0" (!)
1685 * registryd/Makefile.am:
1686 * registryd/Accessibility_Register.server.in:
1687 Changed name of executable, "registryd",
1688 to something more informative:
1691 2002-03-13 Michael Meeks <michael@ximian.com>
1693 * atk-bridge/bridge.c (atk_bridge_init): don't register
1694 if we're in a bonobo-component, rather than a bonobo app.
1696 2002-03-13 Michael Meeks <michael@ximian.com>
1698 * atk-bridge/bridge.c (gtk_module_init): split
1699 out body to (atk_bridge_init): here, since otherwise
1700 we get symbol conflicts and oddness when invoked
1701 from (gnome_accessibility_module_init): here (upd.)
1703 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1706 New file. Explicitly allow "build sheriff" putbacks provided
1707 they are tested on Solaris.
1709 * docs/reference/cspi/Makefile.am:
1710 Added '-' to the "cp" command for index.sgml.
1711 ("patch by thomasvs, soon coming to a GUADEC near you")
1714 Incremented version number (0.9.0) for new release.
1715 Changed macro that checks for popt, to better detect
1716 obsolete versions of popt.
1719 Added X_LIBS to AC_SUBST, for applications
1720 that call Xlib API directly.
1723 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1726 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1729 Fix regression caused by hard-coding major
1730 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1733 * test/test-simple.c (test_editable_text),
1734 (test_test): revert previous change (error was
1735 a regression in gail which is now fixed).
1737 2002-03-04 Michael Meeks <michael@ximian.com>
1739 * test/test-simple.c (test_editable_text),
1740 (test_text): pass G_MAXINT instead of '-1' for
1741 whole string - is this a good thing !?
1743 * cspi/spi_accessible.c
1744 (Accessible_getRelationSet): fix crasher bug
1745 overwriting the end of the array.
1747 * test/test-simple.c (validate_accessible): free,
1748 not g_free returned relation set.
1750 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1752 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1753 implemented stateset support
1755 * idl/Accessibility_State.idl: Made necessary changes to
1756 the IDL to support state sets.
1758 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1760 * registryd/deviceeventcontroller.c:
1761 Added implementation for generateMouseEvent.
1763 * cspi/spi_registry.c:
1764 Connected new implementation for generateMouseEvent
1767 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1770 Incremented revision (but no change in public API
1771 outside of 'utils', which are not installed public yet.)
1773 * libspi/component.c:
1774 Changed to use atk_component API for layers and
1775 mdi_zorder, instead of deprecated atk_object API.
1777 Magnification Utility Enhancements:
1780 Added implementation of createZoomRegion, clearAllZoomRegions,
1781 resizeZoomRegion. Added new commandline argument
1782 "--no-initial-region". Note that clearAllZoomRegions doesn't
1783 unmap the old '0' region as it should (yet), and the other
1784 methods only work when creating/resizing a single region,
1785 which is "region 0".
1786 (Code for multiple region support will be added later.)
1789 Now we raise the magnifier window each time it's refreshed;
1790 this will help keep it on top.
1792 * util/mag_client.h:
1793 Added simple wrappers for above, used by mag_control.
1794 For general use, it's recommended to use the bonobo magnifier
1795 control API directly instead of using these wrappers.
1798 Moved ZoomRegionData from magnifier.c to this file.
1800 * util/mag_control.c:
1801 Added some code to exercise new IDL implementations.
1803 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1805 * libspi/text.c: Provide implementation for getAttributes.
1807 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1810 Incremented revision.
1812 * test/test-simple.c:
1813 Replaced use of deprecated g_main_iteration with
1814 g_main_context_iteration.
1816 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1819 Incremented revision for desktop alpha 2.
1821 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1823 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1826 * test/simple-at.c: include netinet/in.h.
1828 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1830 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1831 use NULL, not CORBA_OBJECT_NIL.
1833 * libspi/accessible.c:
1834 (impl_accessibility_accessible_get_relation_set):
1835 allocate the sequence correctly.
1837 * libspi/remoteobject.h: kill spi_remote_object_new.
1839 * test/test-simple.c: (validate_accessible): add code
1840 to test relation sets, now all we need is to figure
1841 out how to excercise this code path :/
1843 2002-01-18 Michael Meeks <michael@ximian.com>
1845 * test/test-simple.c
1846 (key_listener_cb): consume the key.
1847 (test_keylisteners): update.
1848 (main): wait for any pending unrefs on events.
1850 * registryd/deviceeventcontroller.c
1851 (spi_controller_update_key_grabs): only re-issue the
1852 grab on a key release.
1853 (spi_device_event_controller_forward_key_event):
1854 refresh the keygrabs before we notify the listeners,
1855 to reduce the X ungrab / re-grab race.
1856 (spi_controller_register_with_devices): remove
1857 XSelectInput - we do that with the gdk_window_ call.
1858 (_spi_controller_device_error_handler): return a value.
1859 s/GDK_DISPLAY/spi_get_display/
1861 2002-01-17 Michael Meeks <michael@ximian.com>
1863 * registryd/deviceeventcontroller.c
1864 (_deregister_keygrab): don't blow out the later
1867 * test/test-simple.c (test_keylisteners): do a
1868 more intelligent validation.
1870 2002-01-14 Michael Meeks <michael@ximian.com>
1872 * atk-bridge/bridge.c
1873 (gnome_accessibility_module_init),
1874 (gnome_accessibility_module_shutdown): impl.
1875 (gtk_module_init): protect vs. double inits.
1876 (add_signal_listener): impl.
1877 (spi_atk_bridge_state_event_listener): kill
1878 (deregister_application): split out of
1879 (spi_atk_bridge_exit_func): here.
1881 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1884 Added caret tracking when using magnifier, and
1885 now use text bounds for focus tracking of text elements, rather than
1886 the component bounds - this is helpful for short text fields in long
1887 table cells, at high magnification.
1889 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1891 * registryd/deviceeventcontroller.c:
1892 Regression fix for keylistener de-registration; global keygrabs
1893 were not being released when deregisterKeystrokeListener was
1894 called in cspi, since
1895 Accessibility_DeviceEventController_deregisterKeystrokeListener
1896 was called with a zero-length keyset. That is because the cspi
1897 method, SPI_deregisterKeystrokeListener, does not take a keyset
1898 parameter but instead should remove all the key grabs held be a
1900 The code in impl_deregister_keystroke_listener was changed to copy
1901 the keylist from the listener instance previously registered with
1902 the DeviceEventController before releasing the grabs.
1904 * registryd/registry.c:
1905 * registryd/deviceeventcontroller.c:
1906 * libspi/spi-private.h:
1908 Changed spelling of "re-enterant" to "re-entrant" globally.
1910 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1912 * test/test-simple.c:
1913 Changed key listeners test - the test was slightly mis-using the
1914 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1915 It now uses '=' as the key event listened to and generated,
1916 relying on a keysym match rather than assuming that keycode 33
1917 is always equal to keysym '!'.
1919 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1922 Changed simple-at to use a specific keyset, rather than
1923 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1924 manager, desktop, etc.
1926 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1928 * registryd/deviceeventcontroller.c:
1929 Replaced standard X error handler with a special handler that
1930 is non-fatal for failed keygrabs. This works around
1931 problems with keygrab clashes sometimes observed on
1933 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1934 mouse handling code as yet).
1936 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1939 Incremented revision for desktop alpha release.
1942 Fixed a couple of the more glaring errors (still not
1945 2002-01-11 Michael Meeks <michael@ximian.com>
1947 * registryd/deviceeventcontroller.c
1948 (spi_device_event_controller_forward_key_event): kill
1949 XUngrabKey / XKeyGrab race.
1950 (spi_controller_grab_keyboard): rename to
1951 (spi_controller_update_key_grabs): this, and deal
1952 with incremental adding / removing grabs more
1954 (_register_keygrab): ensure we're not pending a remove.
1955 (spi_grab_mask_free): impl.
1956 (spi_controller_register_global_keygrabs): split out
1958 (handle_keygrab): impl.
1959 (_deregister_keygrab): impl.
1960 (spi_controller_deregister_global_keygrabs): impl.
1961 (spi_controller_update_key_grabs): re-issue the grab if
1962 we just recieved a notification.
1964 * test/test-simple.c (key_listener_cb): remove debug.
1966 * registryd/deviceeventcontroller.c
1967 (spi_controller_register_device_listener): after
1968 registering a global keygrab, actualy register it !
1969 don't wait for a timeout; doh !
1971 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1972 to make it more readable / manipulable.
1973 s/grabmask/grab_mask/ s/refcount/ref_count/
1974 s/keyval/key_val/ s/modmask/mod_mask
1976 2002-01-08 Michael Meeks <michael@ximian.com>
1978 * registryd/deviceeventcontroller.c
1979 (spi_controller_register_with_devices): use gdk calls to
1981 (global_filter_fn): implement the filter.
1982 (spi_device_event_controller_check_key_event): rename to
1983 (spi_device_event_controller_forward_key_event): this & upd.
1984 (spi_get_display): replace with GDK_DISPLAY.
1986 * registryd/deviceeventcontroller.c
1987 (spi_controller_deregister_device_listener): unroll into
1988 (impl_deregister_keystroke_listener): here to simplify.
1989 (spi_controller_register_global_keygrabs): split cut and
1990 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1991 (spi_controller_deregister_device_listener): remove.
1992 (impl_register_mouse_listener): remove, no mouse listener
1993 support in at-spi-1.0
1995 * registryd/registry.c
1996 (_device_event_controller_hook): kill.
1997 (spi_registry_init): upd.
1999 * registryd/deviceeventcontroller.c
2000 (spi_device_event_controller_class_init): upd.
2001 (spi_check_key_event): merge into.
2002 (spi_device_event_controller_check_key_event):
2003 here and kill strange static ev init, don't leak
2004 the x_event - nor dynamicaly allocate it.
2006 * registryd/registry-main.c (main): re-direct
2007 timeout to remove strange vtable mess.
2009 * registryd/deviceeventcontroller.c
2010 (remove_listener_cb): impl.
2011 (spi_controller_deregister_device_listener):
2012 fix re-enterancy hazard.
2014 2002-01-07 Michael Meeks <michael@ximian.com>
2016 * registryd/deviceeventcontroller.c
2017 (spi_device_event_controller_new): upd.
2018 (impl_notify_listeners_sync): upd. debug.
2019 (spi_notify_keylisteners): fix re-enterancy hazards,
2020 prettify, remove O(n*n) iteration.
2021 (spi_controller_grab_keyboard): fix iteration.
2022 (spi_check_key_event): re-format to suit coding style.
2023 Clean all the warnings - we're warning free.
2025 * registryd/deviceeventcontroller.h:
2026 * registryd/registry.h: make mutualy referential with
2027 typesafe forward references instead of (!) void pointer
2030 2002-01-11 Michael Meeks <michael@ximian.com>
2032 * cspi/spi_accessible.c (role_names): add a role name
2033 to sync this array with the enum; and make the regression
2036 2002-01-10 Michael Meeks <michael@ximian.com>
2038 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2039 allow expansion of enumeration & kill warning.
2041 * test/test-simple.c (key_listener_cb): impl.
2042 (test_keylisteners): impl.
2044 * cspi/spi-listener.h: make listener signatures const
2045 on the provided (const) events.
2047 * test/keysynth-demo.c: upd. to const events.
2049 * test/simple-at.c: ditto.
2051 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2054 Rev the version to 0.5 (the previous tarball was named 0.4,
2055 even though the micro number was 3), so we need to rev upwards
2056 again for beta2/"desktop-alpha"
2059 Checked in a demo script, which requires editing before use!
2060 Proceed with caution.
2063 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2065 * cspi/spi_accessible.c:
2066 Add a couple of missing enum initializations, and fix some enum
2069 * cspi/spi_registry.c:
2070 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2072 * docs/reference/cspi/at-spi-cspi-sections.txt:
2073 Remove/fix a couple of broken document references.
2076 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2077 as Alt-Control to listen for commands, since on some systems
2078 Control-Alt may already be grabbed.
2080 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2083 Update version number to 0.4 for Beta2.
2085 * libspi/accessible.c, libspi/accessible.h:
2086 Expose spi_accessible_construct, to enable libgail-gnome
2087 construction from spi_accessible subtype.
2089 * utils/magnifier.c:
2090 Workaround for bug in some non-gnome-compliant window managers
2091 which made magnifier resize improperly.
2093 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2095 * libspi/accessible.c: (spi_accessible_new) :
2096 Move the test for SPI_IS_REMOTE_OBJECT to
2097 spi_accessible_new_return, fixing a bug and compile time warning.
2099 2002-01-08 Michael Meeks <michael@ximian.com>
2101 * registryd/registry.c (parse_event_type): remove strndup.
2103 * libspi/Makefile.am (libspi_la_SOURCES): remove
2104 sources already included in the headers section.
2106 * libspi/util.c: add.
2108 * libspi/spi-private.h: add.
2110 * registryd/registry.c: update to moved list iterators.
2112 2002-01-05 Michael Meeks <michael@ximian.com>
2114 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2116 * test/test-simple.c (main): ditto.
2118 2002-01-04 Michael Meeks <michael@ximian.com>
2120 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2121 redundant construct.
2123 * registryd/registry.c
2124 (get_listener_list): impl.
2125 (impl_accessibility_registry_register_global_event_listener):
2126 re-impl. to simplify using ~, remove dodgy const cast off.
2127 (parse_event_type): constify.
2128 (impl_accessibility_registry_deregister_global_event_listener_all):
2129 re-write, more efficiency and simplicity, kill re-enterancy
2131 (compare_listener_corbaref, compare_corba_objects),
2132 (compare_listener_quarks): define out.
2133 (impl_accessibility_registry_deregister_global_event_listener):
2134 re-write for effiency, and nail re-enterancy hazard.
2135 (impl_accessibility_registry_get_desktop_list): impl.
2136 (re_enterant_list_delete_link): impl.
2137 (re_enterant_list_foreach): impl.
2138 (remove_listener_cb): impl.
2139 (_registry_notify_listeners): kill.
2140 (notify_listeners_cb): impl.
2142 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2143 (SPI_getDesktopList): impl.
2145 * test/test-simple.c (test_desktop): test the methods.
2147 2002-01-03 Michael Meeks <michael@ximian.com>
2149 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2150 keystrings since we free them
2151 (SPI_freeAccessibleKeySet): in here.
2153 * libspi/accessible.c (spi_accessible_new): kill warning,
2154 wonder what is going on with the constructor here.
2156 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2158 * libspi/accessible.c (spi_accessible_new ()) :
2159 Added check to see if AtkObject is an SpiRemoteObject before
2160 creating an SpiAccessible.
2162 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2164 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2165 Enable keygrabs using the Control modifier, now that they are
2166 working properly (they were previously disabled).
2169 Change the command keygrab for this demo to "Control+Alt", so as
2170 to conflict with fewer other key commands on the system; this
2171 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2173 Removed a pointlessly-chatty keylistener for unshifted keys
2174 (shifted keys are still reported).
2176 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2178 * libspi/remoteobject.h:
2179 * libspi/remoteobject.c:
2180 Added definitions for special AtkObject subtype, required for
2181 support of remote components (specifically, used by BonoboControl
2182 accessibility implementation).
2184 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2186 * cspi/spi.h: synched relation types with ATK
2188 * cspi/spi_accessible.c: Added implementations of
2189 AcccessibleRelation_* methods
2191 * idl/Accessibility_Relation.idl: added getRelationTypeName
2192 method. Synched known relation types with ATK. Allowed for
2193 relation type extension with the RELATION_EXTENDED type.
2195 * libspi/relation.c: Provided implementations for
2196 AccessibleRelation methods.
2198 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2200 API tweaks for today's API 'freeze'.
2203 Added placeholder functions to allow future compatible expansion
2204 of the IDL interfaces.
2206 * idl/Accessibility_Registry.idl:
2207 Changed generateKeyEvent to generateKeyboardEvent. Changed
2208 signature of this method to accept an optional keystring in
2209 parameter (for complex text input synthesis) and changed use of
2210 simple 'boolean' parameter in registerKeystrokeListener to a
2211 struct, EventListenerMode.
2213 * cspi/spi_accessible.c:
2215 * cspi/spi_streamablecontent.c:
2216 Added references to AccessibleStreamableContent interface, and
2217 definition and implementation of AccessibleStreamableContent
2220 * cspi/spi_registry.c:
2222 Changed generateKeyEvent API to generateKeyboardEvent,
2223 taking a new (optional) keystring parameter to support complex
2228 Renamed directory (to better reflect its actual purpose, bridging
2229 from at-spi to ATK). The .so module is also now named
2232 * idl/Accessibility_Hypertext.idl:
2233 * libspi/accessible.c:
2234 * libspi/hypertext.h:
2235 * libspi/hypertext.c:
2236 Changed Accessibility_Hypertext to *not* derive from
2239 * cspi/spi_registry.c:
2240 Added list of legal event type names for 'window' events, which
2241 completes the registry event API.
2243 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2245 * at-bridge/bridge.c: Added registration for separate
2246 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2247 signals. If either of the first two parameters to the generic
2248 bridge signal handler are ints, they are passed on as event
2249 details. This allows an AT to determine what text was inserted.
2251 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2253 * registryd/deviceeventcontroller.c:
2254 Fixed regressions in generateKeyEvent caused by the removal of
2255 gdk_init from registryd; we now use pure X calls to connect to the
2256 display, which makes sense because deviceeventcontroller already
2257 uses a fair bit of X API (should eventually be migrated to a
2258 'portability layer').
2260 * registryd/desktop.c:
2261 Fixed minor regression in spi_desktop_init, changed the way the
2262 desktop name is being set to work with new spi_base API
2263 (gobject-based, rather than AtkObject-based).
2265 * registryd/Makefile.am:
2266 Minor revision of makefile to use XTST_LIBS variable rather than
2267 hard-wiring the Xtst LD_ADD element.
2269 * test/keysynth-demo.c:
2270 Tweaked an output message; added initialization of the
2271 'keystrings' member of the "switch listener" key_set.
2273 * libspi/relation.c:
2274 Squashed compile-time warning.
2276 * libspi/accessible.c:
2277 Cosmetic and formatting fixes, renamed a static method.
2279 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2281 * libspi/accessible.c
2283 * libspi/application.c
2286 * libspi/component.c
2287 * libspi/editabletext.c
2288 * libspi/hyperlink.c
2289 * libspi/hypertext.c
2291 * libspi/selection.c
2295 * registryd/desktop.c:
2296 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2298 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2300 * idl/Accessibility_Registry.idl:
2301 Added boolean member 'is_text' to DeviceEvent. This is for the
2302 use of key events, and helps prevent ambiguity between composed
2303 key strings and keysym names, since both may potentially be
2304 returned in the 'event_string' member.
2306 * at-bridge/bridge.c:
2307 * registryd/deviceeventcontroller.c:
2308 Use the 'is_text' member when notifying device event listeners.
2309 Knon issue: composed characters are not dealt with correctly by
2310 the global key listener implementation yet.
2312 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2314 * at-bridge/bridge.c:
2315 Namespaced local static methods to spi_atk_bridge_* where
2316 previously named bridge_*, and spi_* elsewhere.
2318 * at-bridge/bridge.c:
2319 * cspi/bonobo/cspi-bonobo-listener.c:
2320 Added demarshalling/conversion for string member of
2321 Accessibility_DeviceEvent to AccessibleKeystroke.
2323 * registryd/deviceeventcontroller.c:
2324 Added code to fill the Accessibility_DeviceEvent key string value
2325 member for global key events (i.e. from XGrabKey), to match
2326 behavior of Accessibility_DeviceEvent from the toolkit key events
2327 from the bridge. Fixed timestamp in global key event notifications.
2330 Added printout of key event's string value to
2331 report_ordinary_key_event, for demo/debugging purposes.
2333 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2335 * idl/Accessibility_Registry.idl:
2336 Removed Accessibility_KeyStroke structure in favor of generic
2337 Accessibility_DeviceEvent structure.
2338 Changed Accessibility_ControllerEventMask from a struct to an
2341 * at-bridge/bridge.c:
2342 Changed APIs to use DeviceEvent structure as above, and removed
2343 bogus casting between these event structures.
2345 * cspi/spi-listener.h:
2346 Added keystring member of AccessibleKeystroke structure, to enable
2347 matching on event "names" rather than only hardware codes and
2351 Added keystrings member of AccessibleKeySet struct, to allow
2352 matching on event names (as above).
2353 Added declarations for SPI_createAccessibleKeySet and
2354 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2355 event modmasks directly as unsigned ints rather than structs with
2356 refcounts, in the DeviceEventController methods.
2358 * cspi/spi_registry.c:
2359 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2361 * cspi/spi-roletypes.h:
2362 Added documentation of newly added SPI Roles.
2364 * cspi/bonobo/cspi-bonobo-listener.c:
2365 Changes in support of API changes above.
2367 * libspi/accessible.c:
2368 Converted APIs to use DeviceEvent structure (see IDL changes
2371 * registryd/deviceeventcontroller.c:
2372 Added DEControllerGrabMask structure to track keygrabs not only by
2373 modmask but by keyset as well; this allows us to do "global"
2374 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2375 grabbing on AnyKey and then filtering after-the-fact.
2376 Bugfixes for event filtration mean that we don't get false matches
2377 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2379 * registryd/deviceeventcontroller.c:
2380 Namespaced a number of static methods to use spi_ prefix. Major
2381 revision to internals of global (i.e. X) key grabs.
2383 * registryd/deviceeventcontroller.h:
2384 Removed keymask_list and added keygrabs_list to
2385 SpiDeviceEventController struct.
2388 Added use of SPI_createAccessibleKeySet API when creating a
2389 listener for only one key. Attach a listener to "shift spacebar
2390 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2391 X key event names to SPI key event names, so that listeners are
2392 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2394 * test/keysynth-demo.c:
2395 Changed (incorrect) use of X key event names (KeyPressed,
2396 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2399 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2401 * libspi/accessible.c:
2402 Convert all AtkRole enumerations to Accessibility_Role enums when
2403 getting a role from an AtkObject.
2405 * cspi/spi_accessible.c:
2406 Complete the conversion of Accessibility_Role enums at runtime to
2407 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2408 role enums correctly match those given in spi-roletypes.h.
2409 Re-synchronize the local names list for AccessibleRole_getName ().
2410 AccessibleRole_getName is now deprecated, since it duplicates the
2411 more reliable Accessible_getRoleName.
2412 Added some role types from Accessibility_Role.idl.
2414 * idl/Accessibility_Role.idl:
2415 Added some role types used by AtkRole.
2417 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2420 * cspi/spi_registry.c:
2422 * cspi/cspi-bonobo-listener.c:
2423 Namespaced all methods that did not begin with an "SPI_" or
2424 "Accessible" prefix to "SPI_".
2427 Homogenized internal function namespace to "cspi_" for statics.
2430 Patched tests to use the new CSPI API.
2432 * docs/reference/cspi/at-spi-cspi-sections.txt:
2433 Updated docs to reflect namespace changes, and added a number of
2434 methods to the documentation.
2436 * registryd/registry.c:
2437 Changed use of strings and string hashes in listener event
2438 matching and parse_event_string to use GQuark, which is guaranteed
2441 * registryd/registry.h:
2442 Squashed annoying warning.
2444 * idl/Accessibility_Role.idl:
2445 Extended range of available Accessibility_Role values.
2447 * cspi/spi_accessible.c:
2448 Re-ordered role names.
2450 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2452 * idl/Accessibility_Value.idl:
2453 Revert use of union back to CORBA_double, since the double type is
2454 more efficient and can contain the other types without loss of
2457 * idl/Accessibility_Accessible.idl:
2458 Added method Accessibility:Accessible:getRoleName, to complement
2459 Accessibility:Accessible:getRole.
2461 * cspi/spi_accessible.c:
2463 Added C binding for above, Accessible_getRoleName (), and changed
2464 signature of Accessible_getRole () to return an AccessibleRole.
2466 * cspi/spi-roletypes.h:
2467 Changed AccessibleRole_getName to return a char * instead of a
2468 const char *. This method is now at least temporarily deprecated
2469 in favor of asking Accessibles for their RoleNames directly.
2472 Revert to match Accessibility_Value.idl;
2476 Change signature of AccessibleValue methods to use double rather
2480 * cspi/spi_accessible.c:
2481 Changed Accessible_getRole to return an AccessibleRole enum rather
2482 than a UTF-8 string. The UTF-8 string can still be obtained via
2483 AccessibleRole_getName ().
2485 * test/test-simple.c:
2486 Add test_action. Small fixup to match API change to Accessible_getRole.
2489 Bugfix for get_action_from_servant ().
2491 2001-12-11 Michael Meeks <michael@ximian.com>
2493 * libspi/libspi.h: remove registry.h and
2494 desktop.h, deviceeventcontroller.h
2496 * libspi/Makefile.am: remove registry.[ch],
2497 desktop.[ch], deviceeventcontroller.[ch]
2499 * registryd/Makefile.am: add registry.[ch],
2500 desktop.[ch], rename registryd.c to registry-main.c.
2501 add deviceeventcontroller.[ch]
2503 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2506 Replace setenv() call with putenv ().
2508 * libspi/component.c:
2509 Bugfix in AccessibleComponent_getExtents (),
2512 2001-12-11 Michael Meeks <michael@ximian.com>
2514 * libspi/image.c (impl_getImageExtents): impl.
2515 (spi_image_class_init): upd.
2518 (AccessibleImage_getImageDescription): fix daft bug
2521 * test/test-simple.c (global_listener_cb): update
2522 to only quit if not --poke
2523 (main): catch --poke.
2524 (validate_accessible): upd. dumping, call test_image
2527 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2530 * idl/Accessibility.idl: update all IDL includes.
2532 * idl/*.idl - rename to namespace - this sucks, blame
2533 mjs' bad decision for oafd.
2535 * test/test-simple.c (create_test_window): add more tests.
2536 (create_tree): split this out.
2537 (validate_accessible): bugfix.
2539 2001-12-11 Michael Meeks <michael@ximian.com>
2541 * cspi/bonobo/cspi-bonobo-listener.c:
2542 (cspi_kestroke_listener_unref),
2543 (cspi_event_listener_unref): impl. undoing previous
2544 homenous environment - for Bill.
2546 * cspi/spi_table.c (long_seq_to_array): use
2549 * cspi/spi_main.c: split out all bonoboish bits into
2552 * cspi/spi-impl.h: upd. typedefs.
2554 * cspi/spi_registry.c: update to lowlevel API,
2555 return booleans to indicate success in some places.
2557 * cspi/spi_event.c: update to lowlevel API.
2559 * cspi/bonobo/Makefile.am: add.
2561 * cspi/bonobo/cspi-lowlevel.h: add
2563 * cspi/bonobo/cspi-bonobo.c: add
2565 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2567 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2568 (SUBDIRS): add bonobo, link in the libs.
2570 * cspi/spi-util.c: kill this file.
2572 * TODO: merge in my bits.
2574 2001-12-11 Michael Meeks <michael@ximian.com>
2576 * test/test-simple.c (test_value, test_table, main):
2577 remove unused variables causing warnings.
2579 * configure.in: cleanup checks - require gail.
2581 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2584 Changed Value interface to use SValue (scalars) rather than
2585 assuming all values are floats. This allows floats, doubles,
2586 longs, shorts, and unsigned values to be manipulated.
2587 Introduced Accessibility:SValue union.
2590 Updated to use new API above, and to work correctly with GValues
2591 of different types in AtkValue.
2594 Updated to use new API above. cspi's API is as yet unchanged.
2597 Updated the Value revision action item.
2599 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2601 * test/test-simple.c:
2602 Added test_table (GtkTreeView widget in test window to follow).
2603 Un-commented test_value, added GtkRange widget.
2604 Added GtkTreeView widget with GtkListStore. It passes regression
2605 test but leaks one SPI object for some reason.
2608 Fixed bug in impl__set_currentValue.
2610 2001-12-10 Michael Meeks <michael@ximian.com>
2612 * cspi/spi_text.c: audit for exception handling,
2613 tolerating NULL object references safely etc.
2615 * cspi/spi_value.c: ditto.
2617 * cspi/spi_table.c (AccessibleTable_getSummary),
2618 (AccessibleTable_getAccessibleAt),
2619 (AccessibleTable_getRowHeader),
2620 (AccessibleTable_getColumnHeader),
2621 (AccessibleTable_getCaption): fix bugs hidden by
2623 (long_seq_to_array): impl.
2624 (AccessibleTable_getSelectedRows),
2625 (AccessibleTable_getSelectedColumns): use it.
2627 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2630 Added a TODO list (rough and short for now).
2632 * cspi/spi_hyperlink.c:
2633 * cspi/spi_hypertext.c:
2634 Fixed macro name typos, and remove use of obsolete macro in
2635 AccessibleHyperlink_getLink.
2637 * cspi/spi_action.c:
2638 * cspi/spi_accessible.c:
2639 * cspi/spi_application.c:
2640 * cspi/spi_component.c:
2641 * cspi/spi_selection.c:
2644 Documentation fixes (removed return values from ref/unref methods).
2646 2001-12-10 Michael Meeks <michael@ximian.com>
2648 * cspi/spi_action.c: audit for exception handling,
2649 tolerating NULL object references safely etc.
2651 * cspi/spi_accessible.c: ditto.
2653 * cspi/spi_component.c: ditto.
2655 * cspi/spi_editabletext.c: ditto.
2657 * cspi/spi_hyperlink.c: ditto.
2659 * cspi/spi_hypertext.c: ditto.
2661 * cspi/spi_image.c: ditto.
2663 * cspi/spi_selection.c: ditto.
2665 2001-12-10 Michael Meeks <michael@ximian.com>
2667 * configure.in: use cspi/libspi.pc.in instead.
2669 * Makefile.am (pkgconfig_DATA): upd. to match.
2671 * test/simple-at.c (report_focus_event): kill hacks around
2672 bad return values, use putenv not setenv
2674 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2675 fire ChildGone - I killed it.
2677 * libspi/component.c
2678 (impl_accessibility_component_get_extents): remove
2681 * idl/Accessible.idl: kill ChildGone exception.
2683 * cspi/*.[ch]: kill int return from ref / unref.
2685 * cspi/spi_main.c (cspi_object_add_check): fold into
2686 (cspi_object_add): here.
2688 * cspi/spi_component.c (AccessibleComponent_getExtents):
2689 handle exceptions elegantly.
2691 * cspi/spi-private.h (cspi_check_ev_return),
2692 (cspi_return_if_fail): impl.
2694 * cspi/spi_accessible.c: use extensively.
2695 (AccessibleStateSet_equals): add direct compare check.
2697 * cspi/spi_selection.c: tolerate NULL objs, and check
2698 exceptions before return.
2700 * cspi/spi-util.c (cspi_warn_ev): rename to
2701 (cspi_check_ev): this & don't pass ev in; no point.
2703 2001-12-10 Michael Meeks <michael@ximian.com>
2705 * test/test-simple.c: use putenv not setenv
2706 (get_environment_vars): more chatty if you're not using
2709 * test/simple-at.c: do the setenv so more people see the
2712 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2714 * libspi/registry.c:
2715 Changed check of CORBA_environment on notification to be a warning
2716 instead of an error for the moment, since we can recover from this
2717 error when caused by a queued notification from a dead app.
2720 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2721 used by all current implementors of AtkValue), and coerce to
2722 CORBA_float. (Proper general case fix may require change to Value.idl).
2724 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2728 * cspi/spi_accessible.c:
2729 Documentation fixes: added user_data params to documentation for
2730 listeners and callbacks.
2732 * cspi/spi_accessible.c:
2733 Changed AccessibleStateSet_compare to return a
2734 StateSet rather than return the difference set into a third parameter.
2737 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2740 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2741 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2745 Remove subdirectory po from SUBDIRS for now.
2747 * at-bridge/bridge.c:
2748 Beefed up a couple of debug printouts.
2749 One-line fix for signal notification name formatting.
2751 * libspi/accessible.c:
2752 Added assertion to spi_accessible_new ().
2754 * libspi/application.c:
2755 Put #ifdef qualifiers around a printf.
2758 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2760 * registryd/Makefile.am:
2762 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2763 INTLTOOL_SERVER_RULE macro.
2766 Added an event listener for several ATK signals, for
2767 testing and debugging. Removed a few g_warnings.
2768 Added test output if focussed item implements the Value interface.
2770 * test/test-simple.c:
2771 Added test_value () function (known not to pass at the moment, so
2772 not actually called yet.
2774 2001-12-08 Michael Meeks <michael@ximian.com>
2776 * at-bridge/bridge.c (bridge_focus_tracker),
2777 (emit_eventv): fix the same ref. leak.
2778 (register_atk_event_listeners): don't leak.
2780 * cspi/spi-listener-impl.c (cspi_event): more
2781 protection from client code.
2783 * test/test-simple.c (test_desktop): unref the app.
2785 * test/Makefile.am: upd. TESTS.
2787 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2789 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2791 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2793 * cspi/spi_registry.c: constify in strings.
2794 (deregisterGlobalEventListenerAll): don't release the ref.
2796 * cspi/spi.h: start removing redundant / conflicting
2797 gtkdoc comments, making the API readable at a glance :-)
2799 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2801 * test/keysynth-demo.c (keysynth_exit, main): upd.
2803 * test/simple-at.c (main, simple_at_exit): upd.
2805 * test/test-simple.c (unutterable_horror): kill.
2806 (utterable_normal_derefs): kill.
2807 (main): upd & do a setenv before gtk_init, so that we
2808 can use memprof - and to save the pain of remembering
2809 this, if we're running under memprof - don't exit.
2811 * cspi/spi_main.c (SPI_exit): return exit status
2813 (SPI_event_quit): impl.
2814 (SPI_event_main): simplify.
2815 (cspi_is_gnome_app): kill.
2816 (SPI_init): kill isGNOMEapp arg.
2818 * at-bridge/bridge.c (register_atk_event_listeners):
2819 re-instate the unref.
2820 (bridge_exit_func): don't re-activate the registry,
2821 protect vs. theoretical re-entry, use the
2822 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2823 assert a clean shutdown - for regression tests.
2825 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2827 * configure.in: Comment out dummy i18n support for now,
2828 otherwise it fails to build.
2829 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2830 EXTRA_DIST. They are missing in tarball.
2832 2001-12-07 Michael Meeks <michael@ximian.com>
2834 * util/magnifier.c: kill bonobo activation reg. race.
2836 * libspi/component.c
2837 (impl_accessibility_component_get_extents): make it match
2840 * libspi/registry.c (_registry_notify_listeners):
2841 re-remove X headers & reconcile conflicts.
2842 (spi_listener_struct_free): bad conflict resolve.
2843 (impl_accessibility_registry_register_application):
2844 more bad merging fixed.
2845 (impl_accessibility_registry_deregister_application): ditto.
2846 (spi_registry_new): ditto.
2847 (spi_registry_init): don't have an applications field.
2849 [ merge fixups2 branch to here ]
2850 2001-12-07 Michael Meeks <michael@ximian.com>
2852 * test/simple-at.c (report_focus_event),
2853 (report_focussed_accessible): remove g_warning debug.
2855 2001-12-07 Michael Meeks <michael@ximian.com>
2857 * test/test-simple.c (validate_tree): comment out some checks.
2858 (test_desktop): app now not registered idly - horay.
2860 2001-12-07 Michael Meeks <michael@ximian.com>
2862 * cspi/spi_registry.c
2863 (registerAccessibleKeystrokeListener): clean, stop it leaking
2864 great swathes of memory, and device event controller references.
2865 ensure we always pass valid sequences.
2866 (deregisterAccessibleKeystrokeListener): ditto.
2867 (generateKeyEvent): upd.
2869 * at-bridge/bridge.c (bridge_key_listener): handle
2870 registry dead exception gracefully.
2871 (bridge_focus_tracker, emit_eventv): free ev.
2873 * test/simple-at.c (report_focus_event): fix polarity.
2875 * libspi/application.c (notify_listeners): kill the ev
2876 argument, and make sure we init the ev we use.
2877 (spi_application_object_event_listener): split out a chunk
2878 (get_atk_object_ref): here & fixup.
2879 (reverse_lookup_name_for_toolkit_event): make const.
2880 (spi_application_toolkit_event_listener): fixup, kill leaks
2883 * at-bridge/bridge.c (register_atk_event_listeners):
2884 don't unref the noop object - causes grief.
2886 * libspi/registry.c: remove the X headers.
2887 turn off the debug churn.
2889 * libspi/accessible.c (spi_accessible_new_return): only
2890 release the ref if we are supposed to [doh]
2892 * test/simple-at.c (report_button_press, report_focus_event):
2893 guard vs. unexpected exit.
2895 * at-bridge/bridge.c (gtk_module_init): prune printf.
2896 (bridge_exit_func): fix app unref.
2898 * libspi/Makefile.am: don't install registry or desktop.h
2900 * libspi/*.h: update includes.
2902 * libspi/application.h: don't include ourself, or
2903 other redundant headers.
2905 2001-12-06 Michael Meeks <michael@ximian.com>
2907 * libspi/accessible.c
2908 (get_accessible_from_servant): impl.
2909 Upd. all CORBA impl.s to use it killing cut and paste.
2911 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2913 (SPI_init): register atexit cleanup handler here.
2915 2001-12-06 Michael Meeks <michael@ximian.com>
2917 * at-bridge/bridge.c (gtk_module_init): g_error on
2918 activation exception
2920 2001-12-06 Michael Meeks <michael@ximian.com>
2922 * at-bridge/bridge.c (gtk_module_init): some sort of
2923 confusing merge clash - reverted.
2924 (bridge_idle_init): ditto.
2926 * test/test-simple.c (main, utterable_normal_derefs):
2927 merge from Bill - somehow not committed.
2929 2001-12-06 Michael Meeks <michael@ximian.com>
2931 * libspi/value.c (spi_value_class_init): upd.
2932 (spi_value_finalize): kill.
2934 * libspi/table.c (spi_table_finalize): kill.
2935 (spi_table_interface_new): upd.
2936 (spi_table_class_init): upd.
2937 (get_table_from_servant): impl.
2938 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2940 * libspi/selection.c (spi_selection_finalize): kill.
2941 (spi_selection_interface_new): upd.
2942 (spi_selection_class_init): upd.
2943 (get_selection_from_servant): impl.
2944 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2946 * libspi/relation.c (spi_relation_finalize): kill.
2947 (spi_relation_class_init, spi_relation_new): upd
2949 * libspi/image.c (spi_image_finalize): kill.
2950 (spi_image_class_init): upd.
2951 (spi_image_interface_new): upd.
2952 (get_image_from_servant): impl.
2953 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2955 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2956 (spi_hyperlink_finalize): kill.
2957 (spi_hyperlink_new): upd.
2958 (get_hyperlink_from_servant): impl.
2959 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2961 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2962 (spi_hypertext_finalize): kill.
2963 (spi_hypertext_class_init): upd.
2964 (get_hypertext_from_servant): impl.
2965 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2967 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2968 (spi_editable_text_interface_new): upd.
2969 (get_editable_text_from_servant): impl.
2970 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2972 * libspi/text.c (get_text_from_servant): impl.
2973 All impls - update to use it killing more cut and paste,
2974 also fix bad string returns on duff args ( a somewhat
2975 impossible case to handle - but hey ).
2976 (spi_text_construct): impl.
2977 (spi_text_interface_new): upd.
2978 (spi_text_object_finalize): kill.
2980 * libspi/component.c
2981 (accessibility_component_object_finalize): kill.
2982 (spi_component_class_init): upd.
2983 (get_component_from_servant): impl. helper to kill cut & paste.
2984 (impl_accessibility_component_contains):
2985 (impl_accessibility_component_get_accessible_at_point):
2986 (impl_accessibility_component_get_position):
2987 (impl_accessibility_component_get_extents):
2988 (impl_accessibility_component_get_mdi_z_order):
2989 (impl_accessibility_component_get_layer):
2990 (spi_component_interface_new): upd.
2992 * libspi/action.c (spi_action_finalize): kill.
2993 (spi_action_class_init): upd. inherit from SpiObject.
2994 (spi_action_interface_new): upd.
2995 (get_action_from_servant): impl. helper to reduce cut & paste.
2996 (impl_getKeyBinding, impl_getName, impl_doAction),
2997 (impl_getDescription): Use it everywhere.
2999 * cspi/spi_main.c (get_live_refs): a pointer hash.
3000 (spi_object_hash, spi_object_equal): comment out.
3001 There are issues with CORBA object hashing that need
3004 * libspi/application.c (spi_application_init),
3005 (spi_application_new): upd.
3007 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3008 (spi_accessible_class_init): upd.
3009 s/accessible/object/ in epv methods.
3011 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3013 * at-bridge/bridge.c:
3014 Reorder the bridge initialization into the bridge gtk_module_init,
3015 an immediate call to bridge_register_app, and an idle_add for
3016 register_atk_event_listeners (the only code that *must* wait until
3017 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3018 the activation, creates the application's Accessible object, and
3019 queues the bridge_idle_init function. Restored call to
3020 Accessibility_Registry_deregisterApplication().
3021 Prior to making this call we obtain a new reference to the
3022 registry, which is a temporary hack that helps us handle apps that
3023 shut down the bonobo mainloop before we get there.
3025 * libspi/registry.c:
3026 Fix string leakage in debug block, and don't segv if a an app
3027 dies before its event notifications have been propagated.
3030 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3031 as stopgap measure until we get proper exception handling when
3032 objects die during or before interrogation.
3036 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3037 Also changed default value of is_gnome_app to TRUE.
3040 * test/keysynth-demo.c:
3041 Changed use of SPI_init and SPI_event_main to reflect API change above.
3044 Made report_focus_event check the warning value from getName
3045 before reporting on focussed accessible; simplifies handling of
3046 notifications from dead objects.
3048 * test/test-simple.c: (Changes not in this patch since source is
3051 2001-12-05 Michael Meeks <michael@ximian.com>
3053 * registryd/registryd.c (main): protect against
3054 bonobo-activation startup race condition.
3056 * cspi/spi_main.c (cspi_object_add_check): cope
3057 with the exception elegantly.
3059 * idl/Accessible.idl: decl. ChildGone
3061 * libspi/desktop.c (spi_desktop_dispose): impl.
3062 (spi_desktop_class_init): upd.
3063 (spi_desktop_add_application),
3064 (spi_desktop_remove_application),
3065 (abnormal_application_termination): impl.
3066 (impl_desktop_get_child_at_index): re-impl.
3069 (impl_accessibility_registry_deregister_application),
3070 (impl_accessibility_registry_register_application):
3071 kill excessive debug clutter.
3073 * test/test-simple.c (test_misc): test some NULL
3074 tolerance. (main): upd.
3076 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3077 implements no interfaces - so let's not crash.
3079 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3081 * libspi/accessible.c (spi_accessible_new_return): impl.
3082 helper to calm the cut and paste, to cope with
3083 NULL AtkObjects effectively and efficiently, and to kill
3084 the referencing bugs.
3086 * libspi/table.c (impl_getAccessibleAt),
3087 (impl_getRowHeader, impl_getColumnHeader): upd.
3089 * libspi/hyperlink.c (impl_getObject): upd.
3091 * libspi/accessible.c
3092 (impl_accessibility_accessible_get_child_at_index): upd.
3094 * libspi/component.c
3095 (impl_accessibility_component_get_accessible_at_point): upd.
3097 * test/test-simple.c (test_editable_text, test_text): impl.
3100 * cspi/spi_editabletext.c
3101 (AccessibleEditableText_insertText): constify.
3103 * test/test-simple.c (focus_me): make more robust.
3105 * libspi/accessible.c: remove some printfs in methods that
3106 we test and work fine, so we can get a clean tree dump.
3108 * test/test-simple.c (validate_accessible),
3109 (validate_tree): make tree dumping pretty too.
3111 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3112 it builds without debug on.
3114 * test/test-simple.c (validate_accessible): fix the most
3117 * cspi/spi_main.c (spi_object_release): leave the nicely
3118 blanked memory around if in debug mode.
3120 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3122 [committed to fixups2]
3123 2001-12-05 Michael Meeks <michael@ximian.com>
3125 * libspi/editabletext.c
3126 (spi_editable_text_class_init): g_type_class_peek_parent,
3127 not interface peek - so we finalize cleanly.
3129 * libspi/accessible.c (spi_accessible_new): kill debug.
3131 * test/test-simple.c (validate_accessible): fix ref.
3132 leak, print strings before freeing them; sigh, comment a
3133 chunk out due to strangeness.
3134 (validate_tree): unref the child after use.
3136 * cspi/spi_component.c (AccessibleComponent_getLayer):
3137 add missing break statement, switch on zlayer not the
3138 uninitialized retval.
3140 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3141 before (possibly re-entering) remote unref.
3143 * test/simple-at.c (main): unref the desktop.
3145 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3148 * cspi/spi_main.c (cspi_accessible_is_a): here to
3149 isolate bonobo API usage more.
3151 * libspi/registry.c (impl_accessibility_registry_register_application):
3152 prune bogus comment.
3154 2001-12-04 Michael Meeks <michael@ximian.com>
3156 * test/test-simple.c (validate_tree): upd.
3157 IndexInParent check to make it more lucid.
3158 (validate_accessible): dump the tree.
3160 * libspi/accessible.c (de_register_public_ref),
3161 (get_public_refs): impl.
3162 (spi_accessible_new): make more efficient & intuitive.
3163 Now IndexInParent check works.
3165 2001-12-04 Michael Meeks <michael@ximian.com>
3167 * cspi/spi-util.h: remove.
3169 * cspi/spi.h: move SPI_freeString here
3171 * libspi/component.c (impl_accessibility_component_get_layer):
3173 (impl_accessibility_component_get_mdi_z_order): ditto,
3174 return -1 on error - is this ok ?
3176 * test/test-simple.c (test_application): impl.
3178 * cspi/spi_accessible.c (Accessible_getApplication),
3179 (Accessible_isApplication): impl.
3181 * libspi/registry.c (spi_listener_struct_free): release
3182 the CORBA reference too.
3184 * libspi/accessible.c
3185 (impl_accessibility_accessible_get_parent): fix ref leak.
3187 * libspi/registry.c (spi_registry_new): make the registry
3188 immortal - we don't want it to go away ever.
3190 * libspi/application.c
3191 (spi_accessible_application_finalize): impl. cleanup.
3193 * cspi/spi_registry.c
3194 (deregisterGlobalEventListenerAll),
3195 (deregisterGlobalEventListener),
3196 (deregisterAccessibleKeystrokeListener): fix ref leak.
3198 * cspi/spi_main.c (SPI_init): remove redundant ref.
3200 * test/test-simple.c (unutterable_horror): impl. to force a
3205 (impl_accessibility_registry_deregister_application): release
3206 the application when we de-register it.
3208 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3209 until we have the infastructure to get it right.
3211 2001-12-03 Michael Meeks <michael@ximian.com>
3213 * libspi/Makefile.am: only build eventlistener.[ch]
3215 * libspi/accessible.c
3216 (impl_accessibility_accessible_get_child_at_index): don't leak.
3218 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3219 before we hit the idle handler.
3221 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3222 debugging than exit.
3224 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3226 * libspi/listener.c (impl_notify_event): check source
3227 not NIL before unref.
3229 * libspi/registry.c (impl_registry_notify_event): ditto.
3231 * libspi/eventlistener.c
3232 (impl_accessible_event_notify_event): unref the source.
3234 * libspi/accessibleeventlistener.c
3235 (impl_accessible_event_notify_event): unref the source.
3237 * idl/Event.idl: remove 'hash_id' attribute - of no
3240 * libspi/application.c (notify_listeners): upd list
3242 (spi_application_object_event_listener),
3243 (spi_application_toolkit_event_listener): upd to do correct
3247 (_registry_notify_listeners): update.
3248 (parse_event_type): this method also leaks like a sieve.
3249 (impl_accessibility_registry_deregister_global_event_listener):
3250 fix ETYPE_WINDOW case.
3252 * libspi/application.c
3253 (impl_accessibility_application_register_object_event_listener):
3256 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3258 * libspi/hypertext.c (impl_getLink): ditto.
3260 * cspi/spi_main.c (cspi_object_add): remove
3261 bogus CORBA_Object_duplicate.
3263 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3266 * cspi/spi_accessible.c
3267 (Accessible_getRelationSet): fix leak / referencing issue.
3269 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3270 (cspi_object_add, cspi_object_unref): upd.
3271 (spi_object_release, get_live_refs): impl.
3272 (cspi_cleanup): simplify.
3274 * *.[ch]: s/boolean/SpiBoolean/
3276 * cspi/spi_accessible.c (role_names): actualy order so it
3277 corresponds with the enum !
3279 * test/test-simple.c (test_roles): check some role strings
3280 vs. enums to detect offset errors.
3282 2001-12-01 Michael Meeks <michael@ximian.com>
3284 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3286 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3288 (Accessible_getChildAtIndex): use cspi_add_check so we
3289 check the ev before using a (possibly) invalid value.
3291 * libspi/accessible.c
3292 (impl_accessibility_accessible_get_parent): don't segv
3295 * at-bridge/bridge.c (gtk_module_init): upd.
3296 (bridge_property_event_listener): don't leak strings
3298 (bridge_state_event_listener),
3299 (bridge_property_event_listener): don't use a static
3300 buffer in case of recursive event emission &
3301 re-enterancy - split out the swathe of cut and paste
3303 (emit_eventv): and fix 2 ref leaks here & comply to the
3305 (bridge_register_app): rename to
3306 (bridge_idle_init): this and kill arg parsing, split
3307 various inits & bonobo-activation registration to module
3308 init time, kill referencing error.
3309 (bridge_exit_func): fix the same leak.
3310 (bridge_focus_tracker): don't leak event structures
3312 (bridge_signal_listener): more leakage and cut & paste
3314 (bridge_key_listener): return the result - FIXME is
3315 this polarity correct ?
3316 (accessibility_keystroke_from_atk_key_event): rename
3317 (accessibility_init_keystroke_from_atk_key_event): and stop
3319 (gtk_module_init): return a value - not that it is checked by
3321 (bridge_key_listener): register my horror at casting between
3322 IDL defined structs.
3323 (bridge_get_registry): kill - not used.
3325 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3327 * test/test-simple.c (test_roles): impl.
3328 (test_desktop, validate_accessible, validate_tree): impl.
3330 * cspi/spi_accessible.c (role_names): fixup bogus
3331 MAX_ROLES setup, make constants const for efficient linkage
3332 (AccessibleRole_getName): conform to coding style, make
3335 2001-11-30 Michael Meeks <michael@ximian.com>
3337 * cspi/spi.h: add missing prototype.
3339 * libspi/registry.c (spi_listener_struct_new): fix sig.
3341 * test/Makefile.am: add test-simple
3343 * test/test-simple.c: add
3345 * test/test.sh: add.
3347 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3349 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3350 do it straight - since otherwise we often get an activation race.
3352 [ work before Bill duplicated a chunk of it ... ]
3353 2001-11-30 Michael Meeks <michael@ximian.com>
3355 * libspi/keystrokelistener.c
3356 (spi_keystroke_listener_class_init): fixup arg
3359 * libspi/eventlistener.c
3360 (spi_event_listener_class_init): ditto.
3362 * tests/test.sh: add.
3364 * cspi/spi-listener-impl.h: update macros.
3366 * cspi/spi-listener-impl.c
3367 (cspi_event_listener_remove_callback): add
3368 correct pre-conditions.
3370 * cspi/spi_main.c (SPI_exit): guard vs. double
3371 exits, exit the mainloop nicely.
3372 (SPI_event_main): make more sense.
3373 (SPI_init): move the atexit evilness here so we
3374 always do it (yuck).
3375 (SPI_event_main): upd.
3377 * test/simple-at.c: update for listener changes.
3379 * registryd/registryd.c (main): prune kruft.
3381 * libspi/libspi.h: upd.
3383 * libspi/eventlistener.[ch]: rename broken macros.
3385 * libspi/accessibleeventlistener.[ch]: remove.
3387 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3389 * test/test-simple.c: Add - automated tests.
3391 * cspi/spi-listener-impl.c (cspi_event),
3392 (cspi_key_event): add user_data to invoke.
3393 (cspi_keystroke_listener_finalize): impl.
3394 (cspi_keystroke_listener_class_init): upd.
3397 (createAccessibleEventListener),
3398 (AccessibleEventListener_addCallback),
3399 (createAccessibleKeystrokeListener),
3400 (AccessibleKeystrokeListener_addCallback): upd.
3402 * libspi/deviceeventcontroller.c
3403 (spi_device_event_controller_check_key_event): add public proto.
3406 (impl_accessibility_registry_deregister_global_event_listener):
3407 always init listeners.
3408 (_registry_notify_listeners): yes it is.
3410 * cspi/spi-listener-impl.c (cspi_key_event):
3412 (cspi_event_listener_finalize): impl.
3413 (cspi_event_listener_class_init): hook up.
3414 (event_handler_new, event_handler_free),
3415 (event_list_remove_by_callback): impl.
3416 (cspi_event_listener_remove_callback),
3417 (cspi_keystroke_listener_remove_callback),
3418 (cspi_keystroke_listener_add_callback),
3419 (cspi_event_listener_add_callback): upd.
3421 * libspi/keystrokelistener.c
3422 (keystroke_listener_object_finalize): kill
3423 (spi_keystroke_listener_class_init): upd.
3424 (spi_keystroke_listener_add_callback),
3425 (spi_keystroke_listener_remove_callback): kill,
3427 (impl_key_event): prune drasticaly.
3429 * libspi/eventlistener.c
3430 (spi_event_listener_add_callback),
3431 (spi_event_listener_remove_callback): kill, use
3433 (impl_accessible_event_notify_event): upd.
3434 (spi_event_listener_object_finalize): remove.
3436 * libspi/Makefile.am: use eventlistener.[ch]
3438 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3440 * libspi/registry.c (_registry_notify_listeners):
3441 Changed listener loop iteration to use preferred convention.
3442 Got rid of string memory leaks caused be calling g_strconcat
3443 inside function calls.
3445 * libspi/registry.c (parse_event_type):
3446 Stopped g_strconcat memory leaks, free the g_strsplit return,
3447 g_strdup the split pieces when used, etc.
3449 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3452 Change method 'compare' to return a 'difference set' rather than
3453 taking a StateSet as an out parameter (more Java-friendly).
3455 * idl/Accessible.idl:
3456 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3458 * idl/Component.idl:
3460 Changed methods 'getExtents' and 'getImageExtents' in these
3461 interfaces to return a BoundingBox structure.
3462 (getPosition and getSize are redundant and possibly should be
3463 removed, rather than creating a corresponding Point struct.)
3465 * cspi/spi_component.c:
3466 Modify implementation of getExtents to reflect the above IDL
3471 Add (missing) AccessibleImage_getExtents () API.
3473 * docs/reference/cspi/at-spi-cspi-sections.txt:
3474 Added AccessibleImage_getImageExtents () to docs.
3476 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3478 * idl/Component.idl:
3479 Added two methods, getLayer () and getMDIZOrder (), to reflect
3480 the new ATK methods atk_object_get_layer and
3481 atk_object_get_mdi_z_order. (Which arguably should be part of the
3482 AtkComponent API and AtkObject). Also added an enum,
3483 ComponentLayer, for the first method's return value.
3485 * libspi/component.c:
3486 Added implementations for these methods.
3488 * cspi/spi_component.c:
3490 Added cspi binding methods for above,
3491 AccessibleComponent_getLayer() and
3492 AccessibleComponent_getMDIZOrder().
3493 Added cspi enum 'AccessibleComponentLayer'.
3495 * docs/reference/cspi/at-spi-cspi-sections.txt:
3496 Added above methods to docs.
3500 Changed typedef for 'boolean' type (and all references to it) to
3501 SPIBoolean, to avoid keyword clashes with C++.
3504 Changed usages of 'boolean' to SPIBoolean.
3506 * test/keysynth-demo.c:
3507 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3508 app), except where SPIBoolean is required by the callbacks API.
3510 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3512 * cspi/spi_registry.c:
3513 Removed obsolete X event loop for passive keygrabs (which now
3516 * registryd/registryd.c:
3517 Removed unnecessary call to gdk_init() [cruft]. This also allows
3518 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3521 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3523 * docs/reference/cspi:
3524 Included docs for SPI_freeString in generated documentation.
3527 Renamed spi_freeString to SPI_freeString, for consistency. Added
3528 documentation for this function.
3531 Renamed spi_freeString to SPI_freeString, for consistency.
3532 Removed obsolete method declaration string_from_corba_string.
3534 * test/keysynth-demo.c:
3535 Small tweak to comments.
3538 Stopped leaking the strings returned from CSPI.
3540 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3542 Merged Michael's branch (see his ChangeLog entries below).
3544 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3545 bridge is alive, release on exit.
3547 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3548 Fix type check macro.
3551 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3554 Added is_gnome_app static, and method cspi_is_gnome_app(),
3555 so we can call the appropriate shutdown routine at exit in SPI_exit.
3557 * cspi/spi_main.c (cspi_object_ref):
3558 Duplicate the corba object passed in, since we're keeping it around.
3560 * cspi/SPI_exit.c, cspi_cleanup:
3561 Moved the releasing of the live refs to its own function, so we
3562 can put it in g_atexit (). Call the appropriate shutdown API
3563 depending on whethe calling client is a gnome app or not
3564 (bonobo_main_quit or CORBA_ORB_shutdown).
3566 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3567 Unref the listener when this method is called, after
3568 deregistration. Updated the API docs to note this behavior.
3570 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3571 Bugfixes: Ref the bonobo object when returning a parent or child
3572 reference, or an AccessibleRelation. Generally made sure
3573 BonoboObject refcount is incremented whenever we return an
3576 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3577 Fixed typo/bug in signal declaration.
3579 * libspi/accessibleeventlistener.h:
3582 * libspi/application.c (spi_application_new):
3583 Fixed leak in initialization.
3586 Remembered to increment bonobo-object refcount when returning
3587 children (applications) from desktop object.
3588 Added (empty) finalize method.
3590 * libspi/deviceeventcontroller.c:
3591 Hold a ref to listeners inside DEControllerKeyListeners.
3592 Added dec_key_listener_free() method. Use prepend instead of
3593 append in key_listener list. Fixed some refcount madness and
3594 leaks in the listener registration/deregistration - deregistration
3595 now calls dec_key_listener_free() on listeners, and on the
3596 temporarily constructed dec_key_listener() used to perform the search/match.
3598 * libspi/hypertext.c (spi_hypertest_finalize):
3599 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3600 class. Also fixed spi_hypertext_interface_new() and
3601 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3603 * libspi/hypertext.h:
3604 Removed pointless and duplicate AtkObject pointer from
3607 * libspi/keystrokelistener.c:
3608 Fixed incorrect type of keystroke_listener_parent_class,
3609 renamed keystroke_listener_object_finalize to
3610 spi_keystroke_listener_object_finalize.
3611 Fixed typo in signal declaration
3612 (spi_keystroke_listener_class_init).
3614 * libspi/registry.c:
3615 Added funcsions spi_listener_struct_new() and
3616 spi_listener_struct_free() to help with memory management issues.
3617 We also now use these methods instead of gnew + poking stuff into
3618 the struct, and to decrement listener counts/free the listeners
3619 when deregistering them.
3620 Fix more refcount bugs in getDesktop() and
3621 getDeviceEventController().
3624 De-ref the desktop after enumerating the applications. Explicitly
3625 decrement the refcounts on the created listeners on exit (using
3626 _unref for keystroke listeners, and via the
3627 deregisterGlobalEventListenerAll command for other event
3630 2001-11-27 Michael Meeks <michael@ximian.com>
3632 * cspi/spi-listener.h: fixup enum.
3634 2001-11-27 Michael Meeks <michael@ximian.com>
3636 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3637 (cspi_keystroke_listener_new): Use the cspi variants.
3639 2001-11-26 Michael Meeks <michael@ximian.com>
3641 * test/keysynth-demo.c: fix 2 compile warnings, missing
3644 * test/simple-at.c (report_focussed_accessible),
3645 (report_focus_event, report_button_press),
3646 (check_property_change, is_command_key),
3647 (report_ordinary_key_event, report_command_key_event): upd.
3649 * util/mag_client.h: include pre-requisites.
3651 * libspi/accessibleeventlistener.c
3652 (spi_event_listener_object_finalize): free any lingering
3655 * libspi/keystrokelistener.c
3656 (keystroke_listener_object_finalize): ditto.
3658 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3659 callbacks, with cspi types.
3661 * cspi/spi_event.c (createAccessibleEventListener): chain to
3662 (AccessibleEventListener_addCallback): here.
3663 (createAccessibleKeystrokeListener): chain to
3664 (AccessibleKeystrokeListener_addCallback): here.
3666 * libspi/keystrokelistener.c
3667 (spi_keystroke_listener_class_init): add signal.
3668 (impl_key_event): emit the event.
3669 (boolean_handled_accumulator): impl.
3670 (marshal_BOOLEAN__POINTER): add, gack.
3672 * libspi/accessibleeventlistener.c
3673 (spi_event_listener_class_init): add signal.
3674 (impl_accessible_event_notify_event): emit the signal &
3675 make the loop efficient.
3676 (spi_event_listener_add_callback): prepend the callback.
3678 * libspi/accessibleeventlistener.h: add an 'event' signal,
3679 decl type on callback.
3681 * libspi/keystrokelistener.h: ditto.
3683 * cspi/spi-listener.h: make methods typesafe and
3684 make them use the new event typedefs.
3686 * test/simple-at.c (report_focussed_accessible):
3687 include mag_client.h
3688 Use *(void *)text_interface not the other thing.
3690 * configure.in: add gtk to registryd bits - since we use
3693 * util/magnifier.c: include libbonobo.h
3695 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3697 * test/keysynth-demo.c:
3698 Turned this into a simple scanning keyboard, to demonstrate the
3699 use of g_timeout_add () as a means of creating timers for
3700 scanning, and the use of GtkStyle for visually indicating when
3701 virtual keyboard elements are selected.
3703 keysynth-demo now listens to any keyboard keys with zero-valued
3704 keycodes (i.e. 'unused' keys) and interprets them as
3707 Reworked the shiftlatch code so that shift-down state isn't held
3708 for long periods (it's only synthesized immediately prior to
3709 the keysynth event it's modifying). Note that shiftlatch in this
3710 demo is a convenience, not intended to take the place of AccessX
3711 which is the better choice for getting 'sticky' modifier keys.
3713 * libspi/deviceeventcontroller.c:
3714 * at-bridge/bridge.c:
3715 * cspi/spi_registry.c:
3716 Removed some debug print stuff, and put other verbosity in #ifdef
3721 Implemented some more of the magnifier IDL for the simple
3722 magnifier: namely, getZoomRegionParams.
3723 Added mag_x and mag_y members to MagnifierData struct, aid of this
3725 Added GtkWindow::realize signal handler to magnifier, to keep it
3726 from receiving keyboard focus from the WM.
3728 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3730 * cspi/spi-private.h: my guess at what michael forgot
3731 before he ran off to NZ :-)
3733 2001-11-23 Michael Meeks <michael@ximian.com>
3735 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3736 comment out non existant method invoke so we link.
3738 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3739 use bonobo_exception_get_text for more friendly warnings.
3741 * cspi/spi.c (Obj_Add): move into spi_main & rename
3742 spi_object_add; kill spi.c
3744 * cspi/spi_registry.c
3745 (deregisterGlobalEventListener),
3746 (deregisterGlobalEventListenerAll),
3747 (registerGlobalEventListener): fix exception leaks.
3749 * cspi/spi_main.c (spi_exception): impl. helper, so we
3750 don't leak exceptions.
3752 * cspi/spi_selection.c
3753 (AccessibleSelection_deselectSelectedChild): return the
3756 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3757 (spi_registry): ditto.
3758 (SPI_init): guard against double inits.
3760 * cspi/*.c: use spi_ev (), and spi_registry () where
3761 appropriate - a temporary hack until we have something
3762 better. Use spi_object_add
3764 2001-11-22 Michael Meeks <michael@ximian.com>
3766 * cspi/Makefile.am: re organise, install the headers.
3768 * cspi/*.h: add G_BEGIN/END_DECLS
3770 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3773 Added non-preemptive keylistener for key events with no modifiers
3774 and shift-only modifier.
3776 * libspi/keystrokelistener.c:
3777 Removed some verbose diagnostics printout.
3779 * cspi/spi_registry.c:
3780 Fixed a bug that caused all key listeners to be registered as
3783 * libspi/deviceeventcontroller.c:
3784 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3785 for non-preemptive key masks.
3788 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3790 * docs/reference/idl/at-spi-idl-docs.sgml:
3791 * docs/reference/idl/at-spi-idl-sections.txt:
3792 * docs/reference/idl/at-spi-idl-overrides.txt:
3793 Added missing files.
3795 * docs/reference/Makefile.am:
3796 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3797 to scan the IDL files :-(
3802 Added .cvsignore files.
3804 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3806 * libspi/deviceeventcontroller.c:
3807 * libspi/keystrokelistener.c:
3809 * cspi/spi_registry.c:
3810 Added filters for KeySets, KeyEventSeq, and event types to key
3811 event dispatching, so listeners should only receive those events
3812 that they requested :-)
3814 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3819 * docs/reference:Makefile.am:
3820 * docs/reference/cspi:
3821 * docs/reference/cspi:Makefile.am:
3822 * docs/reference/cspi:tmpl:
3823 * docs/reference/cspi:tmpl:*.sgml:
3824 * docs/reference/idl:
3825 * docs/reference/idl:Makefile.am:
3826 * docs/reference/idl:at-spi-idl-sections.txt:
3827 * docs/reference/idl:at-spi-idl-docs.sgml:
3828 * docs/reference/idl:tmpl:
3829 * docs/reference/idl:tmpl:*.sgml:
3831 Restructured docs directory to allow separate 'reference' docs
3832 section, and forked idl and cspi docs. Added the sgml template
3833 files to CVS. Added the first sections/structural sgml for the
3836 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3838 * configure.in, libspi/Makefile.am: find libXtst.
3840 2001-11-21 Michael Meeks <michael@ximian.com>
3842 * test/accessx-gui.c: s/spi_value/value/ - doh.
3844 * libspi/base.[ch]: add.
3846 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3848 * idl/Accessible.idl:
3849 * idl/Application.idl:
3852 Started gtk-doc cleanup on IDL.
3854 * libspi/deviceeventcontroller.c:
3855 Added and connected non-preemptive key notification from the
3856 toolkits (in addition to the pre-emptive support from XServer
3857 which we had before, but which causes 'focus flashing'). Filters
3858 are presently limited to key modifiers and global/non-global,
3859 KeySets are presently ignored, as are KeyEvent masks.
3861 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3862 structs into the persistant structure rather than just storing
3863 pointers to things that might not persist across servant
3866 The XGrabKey call now does async keygrabs, because synchronous
3867 ones were deadlocking with GDK_event code in a very nasty way.
3869 Added boolean to internal method notify_keylisteners, to indicate
3870 whether the event came from the 'toolkit source' or the 'global
3871 (XServer) source' - this is used in the notification process to
3872 determine which listeners to send the event to.
3874 deviceeventcontroller.c is now warning-free.
3876 * libspi/registry.c:
3877 Fixed regression in application de-registration.
3878 Also fixed some really brain-dead weirdness having to do with
3879 event dispatching - event structs are now duplicated before being
3880 re-marshalled in the dispatch to listeners. This also fixes a
3881 Solaris build problem.
3884 2001-11-20 Michael Meeks <michael@ximian.com>
3887 (impl_accessibility_registry_deregister_global_event_listener):
3890 * libspi/deviceeventcontroller.c
3891 (spi_device_event_controller_check_key_event): return
3892 FALSE on no virtual method.
3894 * libspi/*..h: make includes work on a correctly pathed install.
3896 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3898 * libspi/application.h: kill unused ( and whacked out )
3899 gboolean *spi_application_set_id (AtkObject *app, long id);
3901 2001-11-20 Michael Meeks <michael@ximian.com>
3903 * libspi/*.[ch]: further convert to bonobo's type func
3904 macros, remove redundnant casts etc.
3906 * libspi/text.c s/accessibility_text/spi_text/g,
3907 re-order to de-cruft.
3909 * libspi/hypertext.c: re-order to kill a huge slew
3910 of redundant forward decls.
3912 * libspi/relation.c: ditto.
3914 * libspi/image.c: ditto.
3916 * */.cvsignore: update
3918 2001-11-20 Michael Meeks <michael@ximian.com>
3920 * libspi/deviceeventcontroller.c
3921 (_controller_register_with_devices): use g_getenv,
3922 kill stdlib.h include.
3924 * libspi/keystrokelistener.c
3925 (spi_keystroke_listener_get_type): kill
3926 (spi_keystroke_listener_class_init),
3927 (spi_keystroke_listener_init): rename to this.
3929 * libspi/text.c (impl_getAttributes): fix warning / bug.
3931 * libspi/*.[ch]: more headers, includes and over commenting.
3933 2001-11-20 Michael Meeks <michael@ximian.com>
3935 * libspi/*.[ch]: fixup headers, includes and over commenting.
3937 * libspi/image.c (impl__get_imageDescription): const
3938 correctness warning fix. remove redundant casting.
3940 * libspi/table.c (impl_getRowDescription): ditto.
3941 (impl_getColumnDescription): ditto.
3943 * libspi/libspi.h: add.
3945 2001-11-19 Michael Meeks <michael@ximian.com>
3947 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3949 * libspi/component.c (accessibility_component_get_type):
3950 rename to (spi_component_get_type): and macroify.
3951 (accessibility_component_init): rename to
3952 (spi_component_init): this
3953 (accessibility_component_class_init): rename to
3954 (spi_component_class_init): this
3956 * libspi/action.c (spi_action_get_type): kill, use the macro.
3958 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3961 * libspi/application.c (spi_application_object_event_listener),
3962 (impl_accessibility_application_register_object_event_listener):
3963 warning fixes / const understanding updates.
3965 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3968 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3970 * libspi/spi_accessible.c: Added docs and C bindings for
3971 AccessibleStateSet. (No implementations yet). Documentation
3972 coverage for C bindings now 100%. Made docs for event listeners
3977 boolean notifyListenersSync (in DeviceEventListener listener,
3978 in DeviceEvent event);
3980 oneway void notifyListenersAsync (in DeviceEventListener listener,
3981 in DeviceEvent event);
3983 Added DeviceEventListener and DeviceEvent structs (may deprecate
3984 KeyStroke and KeystrokeListener in favor of this generic
3985 event/listener framework for devices).
3987 * libspi/deviceeventcontroller.c:
3989 Changed some key listener code to take masks, etc., and paved the
3990 way for integration of toolkit/non-preemptive key events. Changed
3991 signatures of some internal methods.
3993 * at-bridge/bridge.c:
3994 Fixed regression connecting to interface signals, apparently
3995 caused by GTK+ changes.
3997 Added an internal bridge_state_listener to deal with
3998 property-change:accessible-state signals.
4000 Changed the key_listeners GList to store structs (including masks,
4001 etc.) instead of just CORBA_Objects (required for full
4002 implementation of key listener API).
4004 Connected the bridge to all currently supported Atk signals.
4005 Events now supported:
4006 object:property-change
4007 object:property-change:accessible-name
4008 object:property-change:accessible-state
4009 object:property-change:accessible-description
4010 object:property-change:accessible-parent
4011 object:property-change:accessible-value
4012 object:property-change:accessible-role
4013 object:property-change:accessible-table-caption
4014 object:property-change:accessible-table-column-description
4015 object:property-change:accessible-table-column-header
4016 object:property-change:accessible-table-row-description
4017 object:property-change:accessible-table-row-header
4018 object:property-change:accessible-table-summary
4019 object:children-changed
4020 object:visible-data-changed
4021 object:selection-changed
4022 object:text-selection-changed
4024 object:text-caret-moved
4026 object:row-reordered
4028 object:column-inserted
4029 object:column-reordered
4030 object:column-deleted
4031 object:model-changed
4033 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4035 * libspi/hyperlink.c,h:
4036 Fixed some broken stuff in hyperlink.
4038 * libspi/relation.h:
4039 * libspi/relation.c:
4040 * cspi/spi_accessible.c:
4041 Initial implementations of AccessibleRelation methods, and docs.
4043 * libspi/accessible.c:
4044 Fixed a bug that caused SEGV if an accessible
4045 object's description is NULL, and a client
4046 requests it. An empty string is now returned.
4048 * cspi/spi_editabletext.c:
4049 * cspi/spi_hypertext.c:
4051 * cspi/spi_hyperlink.c:
4055 Doc coverage now 95%.
4057 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4059 One last namespacing revision:
4060 * libspi/accessibleeventlistener.[ch]:
4061 Renamed SpiAccessibleEventListener to SpiEventListener,
4062 (no need for two namespaces ;-)
4064 And lots of documentation fixes:
4066 * docs/at-spi-docs.sgml:
4067 Fixed 'underscore vs. hyphen' bug that was preventing
4068 the gtk-doc API docs from being automatically generated.
4071 * cspi/spi-listener.h
4073 * cspi/spi_accessible.c
4075 * cspi/spi_application.c
4076 * cspi/spi_component.c
4077 * cspi/spi_editabletext.c
4079 * cspi/spi_hypertext.c
4081 * cspi/spi_registry.c
4082 * cspi/spi_selection.c
4086 * docs/at-spi-docs.sgml
4087 * docs/at-spi-sections.txt
4089 Added and fixed up gtk-doc documentation in cspi.
4091 Interfaces now (fully) documented (subject to revision and enhancement):
4093 Event Listener Support
4095 AccessibleApplication
4099 AccessibleEditableText
4106 AccessibleRelationSet
4111 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4113 * at-bridge/bridge.c:
4114 Initial work for toolkit-level key snooper connection by bridge.
4119 New typedefs and fixes to support new namespacing, and cleaner
4120 separation of cspi bindings from libspi bonobo implementation.
4121 Removed inconsistent and extraneous Spi* namespace prefix that
4122 had crept into cspi headers.
4123 Lots of comment fixes that sed had missed.
4125 * cspi/spi-roletypes.h:
4126 * cspi/spi-statetypes.h:
4127 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4128 to AccessibleRoleType.
4130 * libspi/accessibleeventlistener.h:
4131 Fixed minor namespacing weirdness.
4133 * libspi/deviceeventcontroller.c:
4134 Reordered some internal API for device listeners.
4135 Changed the key registry final boolean to 'is_system_global'
4136 rather than 'is_synchronous', which is more descriptive of its
4138 Added spi_device_event_controller_new().
4139 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4141 * libspi/keystrokelistener.[ch]:
4142 Namespaced KeystrokeListener to SpiKeystrokeListener.
4143 Changed uses of keymasks to use SPI_ prefix, and did other
4146 * libspi/keymasks.h:
4147 Namespaced keymask constants with SPI_ prefix.
4149 * libspi/registry.c:
4150 Some warning fixes, and knock-on fixes from namespace changes.
4153 Added rules for accessx-gui test program.
4155 * test/accessx-gui.c:
4156 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4157 utility. It doesn't actually use at-spi, but it's still cool and
4160 * test/keysynth-demo.c:
4164 Fixes so that these test clients work properly with the namespaced
4165 libraries. (Incompletely tested for technical reasons, fixes may follow)
4168 2001-11-13 Michael Meeks <michael@ximian.com>
4170 * libspi/application.c
4171 (impl_accessibility_application_get_version),
4172 (impl_accessibility_application_get_toolkit_name):
4174 (impl_accessibility_application_set_id),
4175 (impl_accessibility_application_get_id): remove
4176 redundant casting code.
4178 * libspi/action.c (impl_getDescription): fix warnings.
4180 * libspi/accessible.c
4181 (impl_accessibility_accessible_get_parent),
4182 (impl_accessibility_accessible_get_child_at_index),
4183 (impl_accessibility_accessible_get_state),
4184 (impl_accessibility_accessible_get_relation_set):
4185 warning fixes & include action.h
4187 2001-11-13 Michael Meeks <michael@ximian.com>
4189 * *.[ch] fix bits I screwed up:
4191 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4192 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4194 2001-11-13 Michael Meeks <michael@ximian.com>
4196 * *.[ch] Namespace libspi into spi_ and Spi.
4198 2001-13-11 Michael Meeks <michael@ximian.com>
4200 * Makefile.am: dist & install at-spi-1.0.pc
4202 * libspi/Makefile.am: install into at-spi-1.0
4204 * idl/Makefile.am (idldir): install into at-spi-1.0
4206 * at-spi-1.0.pc.in: add.
4208 * configure.in: build it.
4210 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4212 * test/keysynth-demo.c:
4213 Use a 'realize' signal-handler to set the WM properties for
4214 the virtual keyboard, rather than making it a "POPUP" type
4215 override-redirect window (thanks to anders carlsson for that
4218 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4221 * test/keysynth-demo.c:
4222 Added new test of key synthesis, which creates a simple
4223 (mouse-operated) onscreen keyboard. It inserts key events into
4224 the currently-focused window, thus it does not grab keyboard focus
4227 * cspi/spi_registry.c:
4228 Added C binding for AT-SPI generateKeyEvent.
4230 * libspi/deviceeventcontroller.c:
4231 Added call to XFilterEvent so that key listener works with XIM (we
4232 hope). Added event_synth_type to generateKeyEvent, so that we can
4233 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4234 synthesize a press/release pair for KeySyms.
4236 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4238 * libspi/Makefile.am:
4239 * registryd/Makefile.am:
4240 (temporary) hack to include libXtst in libspi and registryd.
4241 (Needed for keystroke synthesis, see below).
4244 Improved API for registerKeystrokeListener, in accordance with
4245 discussions with Gnopernicus team and X server research.
4247 * libspi/registry.c:
4248 * libspi/deviceeventcontroller.c:
4249 * libspi/accessible.c:
4250 * libspi/keystrokelistener.c:
4251 Changes and fixes to support keylisteners for potentially
4252 consumed key events (that is, 'passive grabs').
4253 Added implementation for generateKeyEvent() [untested].
4256 Changes to registerKeystrokeListener() API, as above.
4257 Added deregisterGlobalEventListenerAll(), and
4258 deregisterKeystrokeListener(), which are needed for clean exit of
4260 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4261 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4263 * cspi/spi_registry.c:
4264 Added implementations of function prototypes mentioned above.
4266 * registryd/registryd.c:
4267 Added the key listener event source as a g_timeout(), to allow
4268 receipt of key events that are not caught by GDK (since GDK
4269 doesn't support passive keygrabs, this was necessary).
4272 Changed to attach a keylistener to 'Alt' keys, and
4273 respond to the following keycommands: Alt-M (toggle magnifier);
4274 Alt-F (toggle speech); Alt-Q (quit).
4275 Added an exit routine to deregister the listeners, and a key
4276 listener that prints some key info to the console when a key
4277 matches the listener mask (and is thus received by the listener).
4279 * util/idl/Magnifier.idl:
4280 Changes to magnifier API to support multiple zoom regions,
4281 non-uniform scaling in x and y, markDirty, and a host of other
4282 features that would be useful to magnification.
4285 * util/mag_client.c:
4286 * util/mag_client.h:
4287 * util/mag_control.c:
4289 Source code changes to support the above IDL changes.
4292 As above, and also changes to use a (slower) generic conversion
4293 path for colormap conversions, since the fast RGB conversions have been
4294 reported to fail for 16-bit displays.
4296 2001-10-26 Michael Meeks <michael@ximian.com>
4298 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4300 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4302 * at-bridge/Makefile.am: fix LDFLAGS.
4304 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4306 * at-bridge/bridge.c:
4307 Re-worked listeners for toolkit events, now we have signal
4308 and property listeners. Added a private method
4309 register_atk_event_listeners(), which registers with the
4310 various atk and gtk signals we need to monitor in order to emit
4312 Added emission hook for AtkObject:property-change events, to
4313 support the 'property listeners'.
4314 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4317 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4318 which emit warnings and exit, respectively, if CORBA errors occur
4319 during remote calls, and we now use these methods to check most of
4320 our CORBA calls in the C bindings.
4322 * cspi/spi_accessible.c:
4323 Changed AccessibleSelection_refSelectedChild() to
4324 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4325 now increment refcounts.
4327 * cspi/spi_component.c:
4328 Fixed some long pointer casts (dangerous!) to pass pointers to
4329 CORBA_longs of the proper type to the CORBA stubs, and copy the
4330 data into the longs that were passed into the C bindings code.
4332 * at-bridge/bridge.c:
4334 * libspi/accessible.c:
4335 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4336 hyperlinks, AtkHyperlink is an object type.
4338 * libspi/application.c:
4339 Added various conversions to and from "generic" event types and
4340 atk-specific types; this is really part of the 'bridge'
4341 implementation but is valid for all AtkObject-based accessibility
4344 * libspi/editabletext.c:
4345 Fixed nasty bug wherein editable text's finalize method was
4346 unref'ing tha AtkObject reference that the text parent class was
4347 about to unref _again_. There was also a nasty inheritance bug
4348 that meant that the AccessibleEditableText class was corrupt.
4350 * libspi/selection.c:
4351 Provided implementations for some selection API that was broken.
4353 * idl/Application.idl:
4354 Added registerObjectEventListener () method.
4357 Fixed a number of return values that were Bonobo_Unknowns from
4358 bonobo_object_corba_objref(), which I
4359 forgot to dup before returning. Changed instances of
4360 bonobo_object_corba_objref (bonobo_object(o)) to
4361 BONOBO_OBJREF(o), for concision and clarity.
4363 2001-10-13 Louise Miller <louise.miller@sun.com>
4365 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4366 idl/Event.idl, idl/Registry.idl
4367 Changed these files to include Bonobo_Unknown.idl instead
4370 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4372 * libspi/component.c libspi/component.h:
4373 Fixed typo. Added assertions for object checks in
4374 AccessibleComponent code.
4376 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4378 * idl/Accessible.idl:
4379 Added 'isEqual (Accessible *object)'
4380 method for Accessible. (Not Yet Implemented).
4383 Changed signature of registerKeystrokeListener() to
4384 take a KeySet and KeyEventSeq so that specific keys and event
4385 types could be requested for monitoring, and added a flag
4386 is_synchronous so that either synchronous or asynchronous
4387 notification could be requested. (However this is not all
4388 implemented yet). This also meant adding two new typedefs,
4389 KeyEventSeq and KeySet.
4392 Added two new relations, RELATION_TOOLTIP_FOR and
4393 RELATION_LEAFNODE_OF.
4396 Added new state, STATE_HAS_TOOLTIP.
4398 * libspi/text.c, editabletext.c:
4399 Added new assertions to all casts of bonobo-objects from
4400 CORBA servants, to prevent Text API calls on non-text objects.
4401 Changed suspect casts of int-pointer types, so that we
4402 always send a valid CORBA_long pointer to the CORBA APIs that use
4403 in/out long parameters. We then have to copy from the CORBA_long
4404 into the regular long or int for return to the C bindings, or
4405 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4408 * libspi/deviceeventcontroller.c:
4409 Cleaned these sources up.
4411 Changed return type for getCharacterAtOffset to
4412 CORBA_unsigned_long, to allow for 32-bit characters.
4415 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4419 Fixed 'make dist' so that distro compiles...
4420 * libspi/keymasks.h:
4422 * cspi/spi-listener.c:
4423 KeystrokeListenerCB now returns a boolean.
4425 Added KeyEventType struct, and KeyStroke.
4426 Also added createKeystrokeListener(),
4427 KeystrokeListener_addCallback(),
4428 KeystrokeListener_removeCallback(), and added a keymask to
4429 registerKeystrokeListener().
4430 * cspi/spi_accessible.c:
4431 Changed numerous return types for interfaces from
4432 AccessibleComponent to Accessible<InterfaceName>; this was
4433 probably a cut-and-paste error.
4435 Implementations of new KeystrokeListener api (from spi.h,
4438 Changes to key modifier mapping.
4439 Created ControllerEventMask struct.
4440 Made DeviceEventController derive from Bonobo::Unknown.
4442 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4443 * libspi/deviceeventcontroller.c:
4444 Added a number of new internal (private) methods.
4445 * libspi/editabletext.c:
4446 * libspi/editabletext.h:
4447 Fixed a number of bugs related to the fact that
4448 editabletext inherits from text. Fixed the EditableText struct,
4449 the init() call, and use correct casts when calling Text methods
4450 from an EditableText object. Removed (duplicate) atko from the
4451 EditableText structure, we use the one in the parent Text
4452 structure via the casts mentioned above.
4453 * libspi/keystrokelistener.[ch]:
4454 * libspi/registry.c:
4455 Changes in support of keyboard handling (above).
4457 Keyboard handling, though partly functional, is still not
4458 recommended for at-spi client use as there is considerable
4459 work yet to be done.
4462 Changed some places where pointers to various int types
4463 are cast to be pointers to CORBA_long types and vice-versa:
4464 pointer casting is not safe so we pass pointers of the correct
4465 types and then cast the result before putting it into the target
4468 * libspi/text.h: minor typos corrected.
4470 We now speak not only the name of a Text element, but the
4471 first sentence of its content, when it receives focus.
4472 I also changed the text compression to 75% from 50%.
4473 * util/Accessibility_Util.server.in:
4474 Changed the default magnifier type to be a 3x vertical
4475 splitscreen magnifier (was previously a 2x horizontal one).
4477 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4479 * libspi/keystrokelistener.h:
4480 * libspi/keystrokelistener.c:
4481 Initial functional implementations of KeystrokeListener.
4484 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4486 Fixed string handling for NULL strings in libspi.
4487 Added spi_freeString to free strings returned by C bindings.
4489 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4491 * libspi/keystrokelistener.h:
4492 * libspi/keystrokelistener.c:
4493 Began (no-op) implementations of KeystrokeListener
4495 * libspi/deviceeventcontroller.c:
4496 * libspi/deviceeventcontroller.h:
4497 Began creating implementations of DeviceEventController,
4498 to handle keystroke and mouse event listening and
4500 * libspi/accessible.c:
4501 Stubbed-in the implementations for
4502 Accessibility_Accessible_getState and
4503 Accessibility_Accessible_getRelationSet.
4504 * libspi/registry.c:
4505 Improved de-registration process and fixed some bugs,
4506 deregistration now works correctly.
4508 Added initialization of applications list (to NULL).
4510 Reduced speech compression from 0.5 to 0.7, for demo.
4511 Changed call to gdk_window_set_decorations()
4512 to gtk_window_set_decorated().
4513 * at-bridge/bridge.c:
4514 Bridge now deregisters when app exits, via
4515 registration of a cleanup function
4516 with the g_atexit() call.
4517 Required making 'app' static, renamed 'this_app'.
4518 Fixed broken use of bonobo_init, passing argv wrongly.
4520 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4524 Created a new directory for
4525 accessibility-related utilities, primarily for
4526 testing and demo purposes, but with possible
4533 Onscreen magnifier utility that
4534 is implemented as a bonobo service.
4536 * util/mag_client.c:
4537 * util/mag_client.h:
4538 Client-side support (simple C bindings)
4539 for Magnification service
4541 * util/mag_control.c:
4542 Client program example for
4543 Magnification service
4545 * util/Accessibility_Magnifier.server.in:
4546 Bonobo-activation file for the
4547 Magnification service.
4550 * util/idl/Magnifier.idl:
4551 IDL defining the bonobo Magnification
4555 Modifications to use the bonobo-activated magnifier
4556 above, in place of trying to connect to an existing
4557 magnifier that uses socket-listening IPC.
4559 If env variable MAGNIFIER is set, a magnifier service
4560 will be started if one does not exist.
4562 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4564 * at-bridge/bridge.c:
4565 applied patch from Marc to build and run
4566 against new glib and gtk+ (seemed like a change
4567 to bonobo_init signature was made ?)
4569 made festival-server support turned off by default.
4570 Added support for a simple magnifier (off by default)
4571 which will be added to a 'util' directory later.
4572 * at-bridge/Makefile.am:
4573 Changed "application.h" header from a 'source'
4574 to a 'dependency' of libat-bridge.
4576 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4585 Added interface implementation c files to list of
4586 includes so they are included in libcspi.
4589 Changed prototype of AccessibleAction_doAction to return a
4591 Changed prototype of AccessibleTable_getCaption to
4592 return an Accessible.
4593 Changed prototype of AccessibleTable_getSelectedRows
4594 and AccessibleTable_getSelectedColumns to
4595 return a long (returns the number of selected rows
4596 or columns respectively).
4597 Changed name of AccessibleText_refRunAttributes to
4598 AccessibleText_getAttributes.
4599 Changed prototype of AccessibleText_getCharacterExtents to
4600 return a void rather than a boolean.
4601 Added support for a AccessibleCoordType parameter
4602 specifying what type of coordinates are desired.
4603 Added an AccessibleCordType parameter to
4604 AccessibleText_getPointAtOffset.
4606 * cspi/spi_accessible.c:
4607 Added code to return the outstanding interfaces from
4608 Accessible_queryInterface.
4610 * cspi/spi_action.c:
4612 Corrected call to getNActions to call the c binding
4615 * cspi/spi_editabletext.c:
4617 Changed name from setRunAttributes to setAttributes.
4619 * cspi/spi_hyperlink.c:
4621 Changed call to getNAnchors to correctly call the c
4622 binding for an attribute.
4624 * cspi/spi_hypertext.c:
4626 Changed getImageDescription to correctly call the
4627 binding for an attribute.
4629 * cspi/spi_selection.c:
4630 Changed getNSelectedChildren to correctly call the c
4631 binding for the attribute.
4632 Changed refSelectedChild to getSelectedChild.
4636 Changed getCaption to return an Accessible.
4637 Fixed calls which retrieve attributes.
4638 Changed refAt to getAccessibleAt.
4639 Changed getNSelectedRows and getNSelectedColumns to
4643 Changed getCharacterExtents and getPointAtOffset to accept an
4644 AccessibleCoordType.
4646 Changed calls which retrieve attributes.
4647 Changed refRunAttributes to getAttributes.
4652 * idl/Hyperlink.idl:
4653 Changed n_anchors attribute to nAnchors to keep naming
4654 convention consistent.
4657 Made Table inherit from Bonobo::Unknown.
4658 Added nSelectedColumns and nSelectedRows attributes.
4661 Made Value inherit from Bonobo::Unknown.
4663 * libspi/hyperlink.c:
4664 Change for nAnchors attributte name change.
4666 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4674 Added interface implementation c files to list of
4675 includes so they are included in libcspi.
4678 Changed prototype of AccessibleAction_doAction to return a
4680 Changed prototype of AccessibleTable_getCaption to
4681 return an Accessible.
4682 Changed prototype of AccessibleTable_getSelectedRows
4683 and AccessibleTable_getSelectedColumns to
4684 return a long (returns the number of selected rows
4685 or columns respectively).
4686 Changed name of AccessibleText_refRunAttributes to
4687 AccessibleText_getAttributes.
4688 Changed prototype of AccessibleText_getCharacterExtents to
4689 return a void rather than a boolean.
4690 Added support for a AccessibleCoordType parameter
4691 specifying what type of coordinates are desired.
4692 Added an AccessibleCordType parameter to
4693 AccessibleText_getPointAtOffset.
4695 * cspi/spi_accessible.c:
4696 Added code to return the outstanding interfaces from
4697 Accessible_queryInterface.
4699 * cspi/spi_action.c:
4701 Corrected call to getNActions to call the c binding
4704 * cspi/spi_editabletext.c:
4706 Changed name from setRunAttributes to setAttributes.
4708 * cspi/spi_hyperlink.c:
4710 Changed call to getNAnchors to correctly call the c
4711 binding for an attribute.
4713 * cspi/spi_hypertext.c:
4715 Changed getImageDescription to correctly call the
4716 binding for an attribute.
4718 * cspi/spi_selection.c:
4719 Changed getNSelectedChildren to correctly call the c
4720 binding for the attribute.
4721 Changed refSelectedChild to getSelectedChild.
4725 Changed getCaption to return an Accessible.
4726 Fixed calls which retrieve attributes.
4727 Changed refAt to getAccessibleAt.
4728 Changed getNSelectedRows and getNSelectedColumns to
4732 Changed getCharacterExtents and getPointAtOffset to accept an
4733 AccessibleCoordType.
4735 Changed calls which retrieve attributes.
4736 Changed refRunAttributes to getAttributes.
4741 * idl/Hyperlink.idl:
4742 Changed n_anchors attribute to nAnchors to keep naming
4743 convention consistent.
4746 Made Table inherit from Bonobo::Unknown.
4747 Added nSelectedColumns and nSelectedRows attributes.
4750 Made Value inherit from Bonobo::Unknown.
4752 * libspi/hyperlink.c:
4753 Change for nAnchors attributte name change.
4756 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4758 implementations-- made server implementations own AtkObject pointers
4759 rather than their respective AtkInterrface pointers to fix
4760 refcounting. AtkHyperlink is still broken.
4762 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4763 * cspi/spi_accessible.c:
4764 Added method Accessible_Role_getName(),
4765 and requisite string array (role_names).
4766 Added conversion string_from_corba_strin() call
4767 to Accessible_getName and _getDescription.
4768 * libspi/accessible.c:
4769 Added implementation for Accessible_getRole()
4771 Added festival support, used if environment variable
4774 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4776 * at-bridge/bridge.c:
4777 Now allocate Accessibility_Event using
4778 Accessibility_Event__alloc() instead of g_new0().
4779 * libspi/accessibleeventlistener.c:
4780 Initialize AccessibleEventListener->callbacks to NULL.
4781 Fixed accessible__event_listener_init() param, changed to
4782 "AccessibleEventListener *" type.
4783 Changed a bonobo_object_release_unref() call to
4784 Accessibility_Accessible_unref().
4785 * libspi/listener.c:
4786 Changed Bonobo_Unknown_unref to (equivalent)
4787 Accessibility_Accessible_unref.
4788 * libspi/registry.c:
4789 Changed bonobo_object_release_unref to
4790 Accessibility_Accessible_unref.
4792 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4795 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4796 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4797 spi-util.c spi-util.h
4798 Implementations for C bindings to remaining accessibility
4801 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4804 changed return value of Action from void to boolean to
4805 bring in line with ATK.
4808 Changed getText funcions to return "out" start and end offsets.
4809 Changed getAttributes to take and offset and return the start
4810 and end offset of the attribute run.
4811 Changed getOffsetAtPoint and getCharacterExtents to take an
4812 enum describing whether coordinates are window or screen.
4815 libspi/action.c libspi/action.h libspi/editabletext.c
4816 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4817 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4818 libspi/image.h libspi/selection.c libspi/selection.h
4819 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4820 libspi/value.c libspi/value.h
4821 Added server implementations for outstanding ATK interfaces
4822 not yet implemented.
4824 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4827 Added (missing) getName() method.
4828 Made nActions an attribute.
4829 * idl/EditableText.idl:
4830 Changed order of params in setAttributes.
4831 * idl/Hyperlink.idl:
4832 Removed getAnchor, added getURI.
4834 Changed attributes to methods, for efficiency
4835 (so that getting extents can be done in one call)
4836 * idl/Selection.idl:
4837 Changed nSelectedChildren to attribute, and re-indented.
4838 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4840 * idl/Text.idl: reformatted to match our coding style.
4841 (temporarily?) removed getRowColumnAtOffset().
4842 Changed text selection API to support multi-select and
4843 non-contiguous selections, as in ATK.
4844 * idl/Value.idl: changed some methods to attributes.
4846 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4848 * libspi/listener.c(impl_notify_event):
4849 BonoboUnkown_unref the source instead
4850 of bonobo_object_release_unref - the ORB
4851 handles the releasing.
4853 * configure.in: require ORBit-2.3.94 for
4856 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4858 Tagged CVS repository 'EA_1_0'.
4859 * README.EARLY_ACCESS:
4860 Alphabetized acknowledgements list, and
4862 Listed some known dependencies of at-spi.
4864 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4866 * docs/at-spi-docs.sgml:
4867 * docs/at-spi-sections.txt:
4868 * docs/at-spi-overrides.txt: (Added zero-length file)
4869 Documentation improvements - gtk-doc should build
4870 docs for all implemented C bindings now.
4873 * cspi/spi.c: (New file)
4874 * cspi/spi_event.c: (New file)
4875 * cspi/spi_registry.c: (New file)
4876 * cspi/spi_accessible.c: (New file)
4877 * cspi/spi_application.c: (New file)
4878 * cspi/spi_component.c: (New file)
4879 Split spi_main.c into six parts, and included them from
4880 "spi.c". This is a bit of a hack, probably temporary,
4881 but required by gtk-doc, apparently.
4883 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4886 * docs/at-spi-docs.sgml:
4887 * docs/at-spi-sections.txt:
4889 Initial checkins/modifications for gtk-doc generation.
4892 Added (missing) interface query methods to Accessible's C binding.
4894 Added GenericInterface type definition.
4896 Added query for AccessibleComponent interface to focus event handler.
4897 Added printout of bounding box for focussed component.
4898 * libspi/component.c:
4899 Added partial implementation for AccessibleComponent to C binding.
4900 * idl/Application.idl:
4901 * libspi/registry.c:
4902 * libspi/listener.c:
4903 * libspi/application.c:
4904 * libspi/application.h:
4905 Changed "ID" attribute type from string to long.
4907 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4911 Made method naming consistent: methods taking object args
4912 start with uppercase, other methods (except those using
4913 acronyms) start with lowercase. Underscores delimit between
4914 object names and method names:
4915 SPI_init() - uppercase since it starts with an acronym.
4916 getDesktopCount () - lowercase start since no object param0.
4917 Accessible_getName() - uppercase object type name, studlyCaps method
4921 Added gtk-doc documentation for all currently implemented
4922 methods in the C bindings API.
4924 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4926 * Makefile.am : changed build order to build test last.
4929 Changed "createEventListener" to "CreateEventListener".
4930 * libspi/accessibleeventlistener.c :
4931 Bugfix for addition of callbacks.
4932 * test/Makefile.am :
4933 * test/simple-at.c :
4934 Added new test that uses the C bindings API.
4936 * libspi/listener.c :
4937 * libspi/registry.c :
4938 * libspi/accessibleeventlistener.c :
4939 * at-bridge/bridge.c :
4940 Renamed member "target" of Accessibility_Event to "source",
4941 which is more descriptive.
4944 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4948 * cspi/Makefile.am :
4949 Added makefile support for at-spi/cspi directory.
4952 * cspi/spi-listener.h : (NEW FILE)
4953 Added support for/use of spi-listener.h.
4955 C bindings now build successfully, with no warnings.
4956 * libspi/accessibleeventlistener.h : (NEW FILE)
4957 * libspi/accessibleeventlistener.c : (NEW FILE)
4958 * libspi/Makefile.am :
4959 Added new object type "AccessibleEventListener"
4960 which inherits from Listener, and allows attachment
4961 of in-process callbacks (so that a client with a listening
4962 object instance can add functionality to the local
4963 implementation, dynamically).
4965 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4967 * libspi/accessible.c:
4968 Add implementation for get_index_in_parent().
4970 Added #include of "spi-roletypes.h", and
4971 added enumerated type AccessibleCoordType.
4972 Added definition for KeystrokeListener (function type).
4975 * cspi/spi-statetypes.h :
4976 * cspi/spi-roletypes.h :
4978 Added these headers, used by spi.h.
4980 Added code (NOTE: not yet built by make).
4982 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4984 * libspi/Makefile.am: generate imodule
4985 at the same time as other idl compiler
4988 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4989 * libspi/registry.c :
4990 * libspi/application.c :
4991 * idl/Application.idl :
4992 Made registration with toolkit an application method,
4993 which is required since each app has its own toolkit static
4994 environment. Thus the bridge must register for
4995 notification of toolkit events from each application in turn.
4996 Toolkit notifications are now successfully registered for, and
4997 sent to the listening at client.
4999 Changed toolkit event string to use hyphens rather than underscores.
5000 * libspi/listener.c :
5001 listner now gives more info in debug mode - it reports the
5002 name of the event received, as well as the name of the source.
5005 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5007 * libspi/registry.c :
5008 added more implementation for toolkit events.
5009 Fixed bug such that toolkit event registrations
5010 (via atk) use the whole event name string, not
5012 Removed a useless call to an ORBit_ method.
5013 * at-bridge/bridge.c :
5014 Removed unused local sbuf[] variable.
5016 We now register for Gtk:GtkWidget:button_press_event
5017 events as well as "focus:" events.
5019 Add some more API from Registry.idl that was missing,
5020 for keystroke listening, keystroke and mouse event
5021 synthesis, and enumeration of accessible desktops.
5023 2001-08-16 Michael Meeks <michael@ximian.com>
5025 * configure.in: use AM_GLIB_GNU_GETTEXT.
5027 * Makefile.am (SUBDIRS): kill intl.
5029 2001-08-15 Michael Meeks <michael@ximian.com>
5031 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5033 * configure.in: upd.
5035 * configure.in: depend on a recent bonobo-activation that
5036 will find our server files ...
5038 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5040 * libspi/accessible.c : accessible_new() :
5041 Now we add the Component interface via bonobo_object_add_interface,
5042 if the contained AtkObject implements AtkComponent.
5043 * libspi/accessible.h : now include "component.h"
5044 * libspi/component.h :
5045 * libspi/component.c : added files - implementation of
5046 bonobo wrapper object for Accessibility/Component
5047 * libspi/listener.c :
5048 Added test code to check for Accessibility/Component:1.0
5049 interface and report whether it is implemented by the
5051 * libspi/registry.c :
5052 Now we check for not only the hash of the whole event
5053 string before relaying the event, we also check the
5054 "minor" event string (without the detail string).
5055 This allows event listeners to be registered against
5056 all events of a certain major+minor type, or just
5057 against a specific major+minor+detail type.
5058 * libspi/accessible.c :
5059 Added implementations for Accessible:get_parent(),
5060 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5061 * libspi/registry.c :
5062 * libspi/listener.c :
5063 Replaced calls to Accessibility_Accessible_ref() and
5064 Accessibility_Accessible_unref() with
5065 calls to bonobo_object_dup_ref() and
5066 bonobo_object_release_unref(), so that the CORBA object
5067 is dup-ed and released when relayed, as well as the bonobo object.
5069 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5071 * libspi/Makefile.am,
5072 registryd/Makefile.am,
5073 at-bridge/Makefile.am.
5074 test/Makefile.am, configure.in:
5075 reverse previous changes.
5077 * /idl/Image.idl: fix typo.
5079 * test/Makefile.am: put DEBUG_FLAGS
5082 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5084 * test/app.c: use argv[0] instead of
5087 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5089 * libspi/Makefile.am,
5090 registryd/Makefile.am,
5091 at-bridge/Makefile.am.
5092 test/Makefile.am, configure.in:
5093 cleanup, replace individual LIBS/CFLAGS with
5094 AT_COMMON_{LIBS|CFLAGS}.
5098 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5100 * configure.in, libspi/Makefile.am:
5101 Change IDL path checking for bonobo-activation
5104 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5106 * registryd/registry.c : separated event listeners to use
5107 3 separate lists (focus, window, toolkit). Began testing
5108 event names against hashes before relaying events.
5109 * test/at.c : now register for events of type "focus:"
5110 * test/app.c : now generate events of type "focus:"
5111 * at-bridge/bridge.c : register with ATK for focus events,
5112 and we now relay those focus events to any "focus:" listeners.
5113 This now works with the bridge as a GTK_MODULE when running test/at.
5114 * libspi/registry.c :
5115 * libspi/listener.c :
5116 now we ref event sources before propagating, and unref on receipt.
5117 * libspi/registry.c :
5118 some changes to internal structs, to support event typestring hashes.
5119 * text/app.c : changed the way the appname is generated.
5120 * cspi : added directory that will hold the C bindings library for
5121 non-CORBA/bonobo-savvy clients.
5122 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5123 * idl/Component.idl : added in parameter to indicate coord system for
5124 geometry-related calls.
5125 * idl/Hyperlink.idl : added readonly n_links attribute
5126 * idl/Image.idl : changed methods to attributes.
5128 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5130 * at-bridge/Makefile.am: link against
5131 ../libspi/libspi.la instead of -lspi.
5133 * at-spi/test/app.c: include
5134 bonobo-activation.h. Use a default appname
5135 if one is not provided.
5137 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5139 * idl/Registry.idl : temporarily changed register_Application
5140 to oneway, to work around issue with initial registration
5142 * idl/Application.idl : changed attribute "id" from readonly
5143 to read-write, since it needs to be assigned by Registry.
5144 * registryd/registryd.c : added call to set application id
5146 * registryd/registry.c : changed de-registration procedure to
5147 use CORBA_Object_hash() to find matching object ref in application
5148 lists and listener lists.
5149 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5150 began distinguishing between event types (work in progress).
5152 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5155 * libspi/application.c:
5156 Added implementations for get/set id, get_toolkitName,
5158 * registryd/registryd.c :
5162 Converted from use of OAF to bonobo-activation.
5163 * libspi/desktop.h :
5164 * libspi/desktop.c :
5166 Removed references to atksimpleobject, since base atkobject
5167 implementation now provides functionality we need.
5168 * libspi/atksimpleobject.c :
5169 * libspi/atksimpleobject.h :
5174 * at-bridge/Makefile.am
5175 * at-bridge/bridge.c
5178 Added directory "bridge" and contents, and added dependencies
5179 in Makefile.am/configure.in.
5180 Initial checkin of "at-bridge".
5181 This code is a GTK_MODULE which automatically registers
5182 GTK+ apps with the accessibility registry, using an object
5183 reference to the root ATK object.
5185 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5187 * po/Makefile.in.in: Remove. Again. If this
5188 doesn't get autogenerated - you need to update
5191 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5193 * po/Makefile.in.in: Add. Again.
5195 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5197 * libspi/accessible.c : added support for 'description' property.
5198 * libspi/accessible.c
5200 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5201 (since the two are now equivalent in libbonobo)
5209 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5210 Bonobo::Unknown as does Accessibility::Accessible.
5211 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5212 interface with Bonobo::Stream, since it was redundant with it.
5213 (The Stream returned by a StreamableContext object is expected to
5214 implement only a subset of Bonobo::Stream)
5216 2001-07-28 Anders Carlsson <andersca@gnome.org>
5218 * libspi/accessible.c (accessible_object_finalize): Change
5219 g_free to g_object_unref since the AtkObject is a GObject.
5221 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5223 * idl/Accessibility.idl: add new IDL files
5226 * idl/Action.idl: Definitions of actionable UI object
5227 * idl/Component.idl: Definitions of UI component geometry, etc.
5228 * idl/Hyperlink.idl: Defs of hyperlink behavior
5229 * idl/Image.idl: Def of accessible image
5230 * idl/Selection.idl: Definition of UI object with selectable children
5231 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5232 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5233 * idl/Text.idl: Interface defs for UI elements with complex textual content
5234 * idl/Value.idl: Definition of UI element that is a value controller or display
5236 2001-07-27 Michael Meeks <michael@ximian.com>
5238 * po/Makefile.in.in: remove autogenerated file from CVS.
5240 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5243 * idl/Registry.idl: include guard.
5245 * idl/Accessibility.idl: Add, and include all the other IDL
5248 * idl/*.idl: remove mass of pragmas etc.
5250 2001-07-26 Michael Meeks <michael@ximian.com>
5252 * registryd/Makefile.am (registryd_SOURCES): remove
5255 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5257 * libspi/.cvsignore, registryd/.cvsignore,
5258 test/.cvsignore: updated.
5260 * po/Makefile.in.in: gettext update.
5262 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5264 * initial CVS checkin
5266 2001-06-29 Michael Meeks <michael@ximian.com>
5268 * configure.in: add AM_CONFIG_HEADER to gen config.h