1 2003-02-24 Bill Haneman <bill.haneman@sun.com>
4 (get_accessible_text_boundary_type):
5 Move default return value to (new) default case in switch.
6 (get_accessible_text_clip_type):
7 Move default return value to (new) default case in switch.
9 * libspi/application.c:
10 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
11 Remove unused methods.
12 (impl_accessibility_application_register_object_event_listener):
13 Remove unused methods.
16 Added #include of <math.h>.
18 * registryd/deviceeventcontroller.c:
19 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
20 we don't currently use this method.
21 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
23 (impl_generate_key_event):
24 Remove unused variables.
25 (impl_generate_mouse_event):
26 Initialize button to zero, just in case we get an invalid
27 input. Added support for mouse buttons 4 and 5.
28 (spi_device_event_controller_new):
29 Removed unused variable declaration for 'private'.
31 Added #include of <gdk/gdk.h>
33 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
35 * configure.in: Update to work when X is not installed in expected
36 location. Fixes bug #105836.
39 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
41 (spi_atk_register_event_listener): Add signal listener for
43 (spi_atk_bridge_signal_listener): Event event when link-selected
44 signal is emitted. (bug #104622)
46 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
47 on returned string. (bug #105291)
49 * test/event-listener-test.c: Add test for link-selected.
51 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
53 * atk-bridge/Makefile.am: Correct typo in previous commit.
55 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
57 * atk-bridge/Makefile.am: Allow for build directory to be different
60 * registryd/Makefile.am: Allow for build directory to be different
65 2003-01-29 Bill Haneman <bill.haneman@sun.com>
68 Fixed dependencies for libcspi so that libspi gets pulled in
69 properly. Fixes 104741.
73 Clean up inline docs a little.
75 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
77 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
78 This is done by implementing AtkComponent for SpiAtkDesktop, which is
79 the AtkObject within an SpiDesktop.
80 This addresses bug #101524.
82 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
83 Remove call to gdk_init().
85 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
86 so that Display is set when SpiDesktop is created.
88 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
90 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
91 This fixes bug #102830.
93 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
95 * test/test-simple.c: Update to take account of fact that GailButton
96 now implements AtkText.
97 (create_text_window): Set name on AtkObject for GtkEntry.
98 (validate_accessible): Check accessible name before calling test_text().
100 * libspi/Makefile.am: Fix problem with building outside of source
101 directory. Bug #98120.
103 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
104 typo in documentation comments. Bug #94275.
106 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
108 * libspi/text.c (impl_getBoundedRanges): Bug fix.
110 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
113 Add includes to avoid compiler warnings on Solaris.
114 (impl_getRangeExtents): Bug fix.
116 2002-12-17 Bill Haneman <bill.haneman@sun.com>
118 Fix for 100944, [API addition approved by Gman and murrayc].
125 * idl/Accessibility_Text.idl:
126 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
127 (Text::getRangeExtents): New method for efficient
128 bounds query of a text range.
129 (Text::getBoundedRanges): New method for efficient
130 clipping of text to bounding boxes.
131 (unImplemented7, unImplemented8):
132 Removed these padding methods to preserve bincompat.
135 (impl_getRangeExtents): implementation of new IDL.
136 (impl_getBoundedRanges): implementation of new IDL.
137 (SpiTextRect): Internal use struct.
138 (_spi_text_rect_union): internal method, calculates union of two
139 SpiTextRect bounding rects.
140 (_spi_text_range_seq_from_gslist): internal method, allows us
141 to build our sequence efficiently as a gslist then convert it
143 (_spi_bounds_contain): internal method, determines whether
144 a text character is "in" or "out" of a clip rect according to
145 values of TEXT_CLIP_TYPE.
146 (spi_text_class_init): Initialize the new methods in the epv.
149 (AccessibleTextClipType): New enum used by screen review api.
150 (AccessibleTextRange): New struct used by screen review api.
151 (AccessibleText_getRangeExtents):
152 cspi binding for Accessibility_Text_getRangeExtents.
153 (AccessibleText_getBoundedRanges):
154 cspi binding for Accessibility_Text_getBoundedRanges.
155 (AccessibleTextRange_freeRanges): convenience method.
158 (AccessibleText_getRangeExtents):
159 cspi binding for Accessibility_Text_getRangeExtents.
160 (AccessibleText_getBoundedRanges):
161 cspi binding for Accessibility_Text_getBoundedRanges.
162 (AccessibleTextRange_freeRanges): convenience method.
163 (get_accessible_text_clip_type): internal conversion method.
164 (get_accessible_text_ranges_from_range_seq): internal conversion method.
166 * registryd/deviceeventcontroller.c:
167 (spi_dec_mouse_check):
168 Improved behavior for mouse:abs events
169 [same granularity as mouse:rel events, and no
170 events when mouse is idle].
172 2002-12-16 Michael Meeks <michael@ximian.com>
174 * cspi/spi_accessible.c (spi_state_to_corba): rename.
176 * libspi/stateset.c (state_spi_to_atk): split out
177 ( fix several remote array bounds nasties )
178 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
179 (impl_remove): make safe from array bounds issues.
180 (spi_atk_state_from_spi_state): impl.
182 * libspi/stateset.h (spi_state_set_cache_is_empty):
183 add a set of wrapper defines to get layering right.
185 * cspi/spi_accessible.c: update state set stuff to
188 2002-12-14 Michael Meeks <michael@ximian.com>
190 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
191 to avoid 2 roundtrips to the registry per key event
192 (spi_atk_bridge_key_listener): upd.
193 (deregister_application): release the dec.
195 * registryd/registry.c (notify_listeners_cb):
196 bin lots of re-enterant complexity - we no longer
197 do a round-trip bonobo ref here, ensure that a single
198 listener's exception failure won't poison all other
200 (impl_registry_notify_event): bin obvious memory leak.
202 2002-12-13 Michael Meeks <michael@ximian.com>
204 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
205 init the ev so the error is meaningful.
206 (spi_atk_bridge_key_listener): ditto.
208 * cspi/spi_main.c (cspi_ev): init the ev so we start
209 with a clean slate, otherwise the first exception
212 * cspi/spi_text.c (get_accessible_text_boundary_type):
213 add a fallthrough for no warnings.
215 * cspi/spi_registry.c: prune unused warnings.
217 * cspi/spi_main.c (cspi_object_take): fix
218 mind-blowing brokenness ( by watching the compile
221 * cspi/spi_accessible.c (Accessible_getStateSet):
222 re-impl. to use an AtkStateSet.
223 (spi_state_type_from_accessible_state),
224 (init_state_table): bin these.
226 * libspi/stateset.c (spi_atk_state_set_from_sequence):
228 (atk_state_set_from_accessibility_state_set): here.
230 * cspi/spi_accessible.c (spi_state_to_atk): impl.
231 (AccessibleStateSet_contains, AccessibleStateSet_ref),
232 (AccessibleStateSet_unref, AccessibleStateSet_contains),
233 (AccessibleStateSet_add, AccessibleStateSet_remove),
234 (AccessibleStateSet_equals, AccessibleStateSet_compare),
235 (AccessibleStateSet_isEmpty): re-write to use a local
238 2002-12-13 Bill Haneman <bill.haneman@sun.com>
240 * configure.in: Revved to 1.1.7 (new keymask vals).
242 2002-12-10 Bill Haneman <bill.haneman@sun.com>
245 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
247 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
250 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
251 to compare two CORBA_TypeCodes.
252 (cspi_internal_event_add): Silence warning from FORTE compiler.
254 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
255 avoid implicit declaration of functions.
257 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
259 * atk-bridge/bridge.c:
260 (spi_atk_bridge_init_event_type_consts): Store signal id for
261 active-descendant-changed signal.
262 (spi_atk_register_event_listeners): Add signal listener for
263 active-descendant-changed signal,
264 (spi_atk_bridge_signal_listener): Move code in function
265 spi_atk-signal_emit_event() into this function.
266 Add support for active-descendant-changed
267 Update support for child-changed signal.
268 (spi_bridge_window_event_listener): Silence warning.
270 * libspi/spi_private.[ch]:
271 (spi_init_any_object): Change second parameter from CORBA_Object to
273 Omit call to CORBA_Object_duplicate().
274 Set CORBA_any's _value to CORBA_Object*.
276 2002-12-06 Bill Haneman <bill.haneman@sun.com>
282 (AccessibleEvent_ref, AccessibleEvent_unref):
283 New methods, for persisting an event outside the emission context.
284 Must be used if the new accessor methods are to be called
285 outside of the event listener's callback.
287 * cspi/bonobo/cspi-bonobo.c:
288 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
289 as second parameter instead of NULL, so we can call
290 cspi_check_ev afterwards.
293 (cspi_object_take): New internal method,
294 converts a CORBA_Object reference to a hard ref on
295 an Accessible if possible, returning NULL if the object
296 reference is invalid or an Accessible * otherwise.
299 (AccessibleEvent_ref):
300 Increment the event's internal private refcount, and
301 add the event's internal struct to an internal cache
302 if it's not already there.
303 (AccessibleEvent_unref):
304 Decrement the event's refcount and remove it from
305 the cspi event cache if refcount==0.
306 (cspi_event_compare): New private method.
307 Compares two event structs via their ids. Used
309 (cspi_internal_event_lookup): New private method.
310 (cspi_internal_event_check): New private method,
311 a 0-order sanity check for events to make sure their
312 private data is intact.
313 (cspi_internal_event_add, cspi_internal_event_remove):
314 New private methods for managiing the event cache.
316 * cspi/bonobo/cspi-bonobo-listener.c:
318 Initialize the new private data elements (id, magic, ref_count).
320 * atk-bridge/bridge.c:
321 (spi_atk_bridge_signal_listener):
322 Fixed bug #100530, passing wrong params to emission func.
324 * registryd/deviceeventcontroller.c:
325 (spi_dec_button_update_and_emit):
326 Fixed type in mask bit operations; fix for #99799.
328 2002-12-02 Bill Haneman <bill.haneman@sun.com>
330 Removed some of the more dangerous workarounds from
331 previous commit; they are only needed by GOK, which
332 in reality should be using another method to accomplish
333 the goals. So on reconsideration some of the workarounds
336 * registryd/deviceeventcontroller.c:
337 (spi_keycodes_contain, spi_dec_init_keycode_list):
338 Removed these methods, used only by a nasty hack to try
339 and detect whether a key synthesis should be allowed
340 to reset the XKB latch state or not. This code was only
341 required to work around an interaction between GOK,
342 button events, and XKB.
343 (impl_generate_key_event):
344 Removed hack at end of key generation that tried to
345 "do the right thing" if XKB latch keys were generated
346 in the midst of button press/release pairs.
349 Added a check for HAVE_XINPUT. Not normally used yet.
351 2002-11-25 Bill Haneman <bill.haneman@sun.com>
353 Workarounds and fixes for mouse event/XKB interaction.
355 * registryd/deviceeventcontroller.c:
356 (spi_keycodes_contain, spi_dec_init_keycode_list):
357 New internal methods.
358 (spi_dec_set_unlatch_pending):
359 Split the method that tells XKB to expect an
360 unlatch (and revert it) out of the rest of the
361 event handling code. This method is called by the
362 two mouse event handlers (the poll and the filter).
363 (spi_dec_update_and_emit, spi_dec_mouse_check):
364 New methods split from spi_dec_poll_mouse_moved.
365 The second one is now called from inside the filterFn
366 when an XKB delatch event is received, to determine
367 whether to revert the delatch or not.
368 (spi_poll_mouse_moved): Refactor; also we can now
369 properly handle the case where multiple button states
370 have changed between polling cycles and we didn't get
371 notified due to another client's grab.
373 Synchronize the server while handling an XKB notification.
374 Ugly, but apparently necessary to avoid nasty races.
375 Check the mouse state on receipt of an XKB latch change,
376 to decide whether to revert the latch or not. (Latches are
377 reverted if there is an immediately preceding mouse button
378 event that a client has consumed, in which case we don't want
379 the user to see the side-effect of the event).
380 (spi_device_event_controller_forward_mouse_event):
381 Check for modifier events and fire before resetting mouse_mask_state,
382 prevents losing modifier events.
384 (impl_generate_keyboard_event):
385 If we've just generated a keyboard event for a non-shift key,
386 we don't want to revert the pending XKB latch.
387 Otherwise, check the modifier state (via a call to
388 spi_dev_mouse_check) and set the relatch mask to
389 that state before returning.
391 2002-11-24 Bill Haneman <bill.haneman@sun.com>
394 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
397 * atk-bridge/bridge.c:
398 (spi_atk_register_event_listeners):
399 Don't re-register for ATK events if the registry has died
400 and the app needs to re-register; the ATK listeners are in
401 process and doing so will cause duplicate emission.
403 * registryd/deviceeventcontroller.c:
404 (spi_poll_mouse_moved):
405 Reformat the source, detect and emit multiple button-change
406 events (i.e. if multiple buttons have changed between poll
408 Add code to detect mouse-down events even when the pointer
409 is grabbed; workaround for GOK bug 98420.
410 (spi_controller_register_with_devices):
411 Call XTestGrabControl with 'impervious' flag set to True,
412 allows us to synthesize events and query the pointer even during
413 an active grab by another client.
414 (spi_device_event_controller_forward_mouse_event):
415 Set the mouse_mask_state to the mouse_button_state from
416 the intercepted event, to synchronize the grab listener with
419 2002-11-20 Bill Haneman <bill.haneman@sun.com>
421 * cspi/spi_accessible.c:
422 (AccessibleRole_getName):
423 Added necessary strings for making this (deprecated)
424 method work with the new role types.
425 (init_role_table, role_table):
426 Added definition of SPI_ROLE_APPLICATION.
428 * libspi/spi-roletypes.h:
429 Added SPI_ROLE_APPLICATION.
431 * idl/Accessibility_Role.idl:
432 Added ROLE_APPLICATION.
434 * docs/reference/cspi/at-spi-cspi-decl.txt:
435 Added SPI_ROLE_APPLICATION to docs.
437 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
439 * cspi/spi_accessible.c
440 (cspi_init_role_table): Do not write beyond end of role_table.
441 (Accessible_getRole): Use correct type for value returned by
442 Accessibility_Accessible_getRole().
444 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
445 beyond end of role_table. (This fixes bug #98269)
447 * libspi/application.c: Add include file spi-private.h for
448 definition of spi_init_any_nil.
450 2002-11-19 Bill Haneman <bill.haneman@sun.com>
454 * libspi/spi-private.h:
455 Added DGB() macro, and extern int _dbg declaration.
457 * registryd/registry.c:
458 (definitions) storage for _dbg.
460 Get environment variable "AT_SPI_DEBUG".
461 (spi_registry_set_debug):
462 New method, to initialize _dbg value.
463 (spi_listener_struct_new, spi_registry_object_finalize):
464 (notify_listeners_cb):
465 Changed fprintfs to use DBG and g_warning().
467 * registryd/deviceeventcontroller.c:
468 (_deregister_keygrab, spi_controller_register_device_listener):
469 Changed debug/warning messages to use DBG macro.
473 Changed warning messages to use DBG macro and g_warning().
475 * atk-bridge/bridge.c:
476 (atk_bridge_init, spi_atk_bridge_get_registry):
477 (spi_atk_bridge_exit_func):
478 (spi_atk_bridge_property_event_listener):
479 Changed status, warning, and error messages to use
480 g_warning, g_message, and DBG macros.
483 Read the state of the AT_SPI_DEBUG environment variable
484 and set a local '_dbg' accordingly.
486 2002-11-19 Bill Haneman <bill.haneman@sun.com>
488 FIXES for 98836, 98842, other bugs.
491 Revved to 1.1.4, interface-age=4, binary-age=4.
493 * registryd/deviceeventcontroller.c:
495 Fixed crasher bug in last_mouse_pos initialization.
497 * registryd/registry.c:
498 (desktop_add_application, desktop_remove_application):
499 Added (and then commented out) some support for
500 object context marshalling. [TODO]
502 * atk-bridge/bridge.c:
503 (spi_atk_bridge_event_context_create):
504 Commented out object context creation until it can
505 be properly tested and debugged.
507 * registryd/registry.c:
508 (impl_registry_notify_event):
509 Fixed crasher bug, we were calling
510 spi_re_entrant_list_foreach () with an empty list.
512 2002-11-18 Bill Haneman <bill.haneman@sun.com>
514 * idl/Accessibility_Action.idl:
515 * idl/Accessibility_Component.idl:
516 * idl/Accessibility_Desktop.idl:
517 * idl/Accessibility_Event.idl:
518 * idl/Accessibility_Hyperlink.idl:
519 * idl/Accessibility_Image.idl:
520 * idl/Accessibility_Relation.idl:
521 * idl/Accessibility_Selection.idl:
522 * idl/Accessibility_State.idl:
523 * idl/Accessibility_Value.idl:
524 Updated unimplemented slot count to minimum of
525 four for all interfaces, for ABI freeze.
527 * idl/Accessibility_EditableText.idl:
528 * idl/Accessibility_Text.idl:
529 Updated unimplemented slot count to six
532 * idl/Accessibility_Registry.idl:
533 Updated unimplemented slot count to six
534 (also for DeviceEventController),
537 * idl/Accessibility_Table.idl:
538 Updated unimplemented slot count to eight,
541 * idl/Accessibility_Event.idl:
542 Added CORBA_any "any_data" member to Event struct.
544 * idl/Accessibility_Event.idl:
545 Added CORBA_any "any_data" member to Event struct.
547 * atk-bridge/bridge.c:
549 atk_signal_text_changed, atk_signal_child_changed,
550 signal ids queried from gtype system.
551 (AtkBridgeEventContextType): New enum.
552 (AtkBridgeEventContextData): New struct.
553 (AtkBridgeEventContext): New struct.
554 (atk_bridge_init_event_type_consts):
555 New method, initializes type contants for comparison
556 prior to emit_eventv.
557 (atk_bridge_event_context_init): New method,
558 initializes a CORBA_any from an AtkBridgeEventContext.
559 (atk_bridge_focus_tracker): Call spi_init_any_nil to
560 initialize the event.any_data struct.
561 (spi_atk_bridge_event_context_create): New method,
562 creates an AtkBridgeEventContext from signal/event info.
563 (spi_atk_bridge_event_context_free): New method.
564 (spi_atk_emit_eventv): Changed to take an
565 AtkBridgeEventContext parameter. We now initialize
566 the event.any_data member prior to notifying the
567 Registry, via the AtkBridgeEventContext.
568 (spi_atk_bridge_property_event_listener):
569 (spi_atk_bridge_state_event_listener):
570 Match emit_eventv signature.
571 (spi_atk_bridge_object_event_listener):
572 Match emit_eventv signature, and create an
573 event context from the event details.
574 Free the event context afterwards.
575 (spi_atk_bridge_window_event_listener):
576 Create an event context, pass it to the
580 (AccessibleEvent_getContextString):
581 (AccessibleEvent_getContextObject):
582 New methods, allow query of AccessibleEvent objects
583 for more context details (via the "any_data" member
584 of the Event struct, above).
587 Definitions for AccessibleEvent_getContextString
588 and AccessibleEvent_getContextObject.
590 * cspi/spi_listener.h:
591 (InternalEvent): New struct.
594 (AccessibleEvent_getContextString):
595 (AccessibleEvent_getContextObject):
596 Implementations of new methods, for obtaining
597 additional context information from some event types.
599 * cspi/spi_registry.c:
600 (SPI_registerGlobalEventListener):
601 Added mention of active-descendant-changed event in docs.
603 * cspi/cspi-bonobo-listener.c:
605 Marshal the any into the AccessibleEvent via
608 * libspi/spi-private.h:
609 #include <orbit/orbit.h>
611 (spi_init_any_string):
612 (spi_init_any_object):
613 New convenience function declarations.
617 (spi_init_any_string):
618 (spi_init_any_object):
619 New convenience function implementations.
621 * registryd/deviceeventcontroller.c:
622 (spi_poll_dec_mouse_moved):
623 (spi_device_event_controller_forward_mous_event):
624 Initialize any_data member of event.
625 (spi_deregister_controller_device_listener):
626 Fix incorrect param pass which was preventing deregistration.
628 * registryd/registry.c:
629 (desktop_add_application):
630 (desktop_remove_application):
631 Add object data to event's any_data before dispatch.
633 Fix for error messages from GAIL.
635 * test/event-listener-test.c:
636 Test new ContextString and "any_data" API:
637 (report_text_event): New method query and output context string.
638 (main): register a new text listener with report_text_event
641 2002-11-19 Darren Kenny <darren.kenny@sun.com>
643 Fixes for bugs 98127 and 97914.
644 * cspi/spi-roletypes.h:
645 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
647 * cspi/spi-statetypes.h:
648 Added SPI_STATE_MANAGES_DESCENDANTS
650 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
651 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
652 * cspi/spi_accessible.c:
653 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
654 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
655 Accessibility_STATE_MANAGES_DESCENDANTS
656 * libspi/accessible.c:
657 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
658 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
659 As requested by Bill, I also cleaned up the alignment.
661 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
662 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
664 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
665 Accessibility_STATE_MANAGES_DESCENDANTS
666 * docs/reference/cspi/tmpl/spi_accessible.sgml:
667 Document changes reflecting modifications to roles.
668 * docs/reference/cspi/tmpl/spi_relation.sgml:
669 Document changes reflecting modifications to relations.
670 * docs/reference/cspi/tmpl/spi_stateset.sgml:
671 Document changes reflecting modifications to states.
673 2002-11-17 Bill Haneman <bill.haneman@sun.com>
676 Revved to 1.1.3, interface-age=3, binary-age=3.
680 Removed accessx-gui from the tests, since we have a nice
681 keyboard accessibility capplet now :-)
683 * test/keysynth-demo.c:
684 (increment_scan): removed do-nothing default: case,
687 * test/visual-bell.c:
688 (main) : removed do-nothing default: case,
692 (AccessibleAction_getKeyBinding_):
693 Documented keybinding string format.
697 (AccessibleText_getAttributes):
698 Documented the text attribute string format.
699 It's changed to use semicolon delimiters also,
700 to prevent clashes with CSS attributes, but the old
701 trick of looking for ", " strings will still work
702 (as unreliably as ever). Fix for bug related to 97916.
705 Include <cspi/bonobo/cspi-bonobo-listener.h>
707 (SPI_freeAccessibleKeySet):
708 (AccessibleKeystrokeListener_addCallback):
709 (AccessibleKeystrokeListener_removeCallback):
710 Modify to use AccessibleDeviceListener API internally,
711 instead of AccessibleKeystrokeListener.
713 * idl/Accessibility_Event.idl:
714 Added two more empty slots to EventListener (for a total of four).
716 * idl/Accessibility_Accessible.idl:
717 Added four empty slots to Accessible interface.
719 2002-11-15 Bill Haneman <bill.haneman@sun.com>
721 * idl/Accessibility_Registry.idl:
722 (KeyEventType, EventType):
723 Marked KeyEventType as deprecated; it duplicates
724 functionality of EventType, which has been extended to
725 include Mouse-button events.
726 (KeyEventTypeSeq): defined in terms of EventType.
727 (registerDeviceEventListener, deregisterDeviceEventListener):
728 New methods, for managing listeners to device events,
729 which potentially may consume them.
732 Added definition for AccessibleDeviceListener.
734 * cspi/spi-listener.h:
735 (enum AccessibleDeviceEventType):
736 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
737 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
738 for backwards compat.
739 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
740 and typedef'd AccessibleKeystroke to it for back-compat.
741 (AccessibleDeviceListenerCB):
742 New function prototype typedef.
745 (AccessibleDeviceEventMask): New typedef.
746 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
747 (AccessibleKeyMaskType):
748 Set equivalent to AccessibleModifierMaskType for back-compat.
749 (SPI_createAccessibleKeystrokeListener):
750 (AccessibleKeystrokeListener_unref):
751 Deprecated in favor of equivalent (better-named) new API below..
752 keystroke listeners are like all device listeners.
753 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
754 New API names for old features :-).
755 (AccessibleDeviceListener_addCallback):
756 (AccessibleDeviceListener_removeCallback):
757 (SPI_registerDeviceEventListener):
758 (SPI_deregisterDeviceEventListener):
762 (SPI_createAccessibleKeystrokeListener):
763 Use new preferred API, cspi_device_listener_new() and
764 cspi_device_listener_add_cb().
765 (AccessibleKeystrokeListener_removeCallback):
766 Use new preferred API, cspi_device_listener_remove_cb().
767 (AccessibleKeystrokeListener_unref):
768 Use new preferred API, cspi_device_listener_unref().
769 (SPI_createAccessibleDeviceListener):
770 (AccessibleDeviceListener_addCallback):
771 (AccessibleDeviceListener_removeCallback):
772 Implementation of new API.
774 * cspi/spi_registry.c:
775 (SPI_registerDeviceEventListener):
776 (SPI_deregisterDeviceEventListener):
777 Implementation of new API. Fixed memory leak and removed need to
778 allocate EventTypeSeq (thanks Michael for catching this).
779 Squashed a wayward CORBA_exception_free that shouldn't get called.
781 * cspi/bonobo/cspi-bonobo-listener.c:
783 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
784 (cspi_key_event): renamed to cspi_device_event().
785 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
786 Extended to handle mouse button events as well as key events.
787 (CSpiKeystrokeListener):
788 Class superceded by CSpiDeviceListener.
789 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
790 These internal APIs changed to "*device_listener" from "*keystroke_listener".
792 * cspi/bonobo/cspi-bonobo-listener.h:
793 (CSpiKeystrokeListener):
794 Class superceded by CSpiDeviceListener.
795 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
796 These internal APIs changed to "*device_listener" from "*keystroke_listener".
798 * libspi/Makefile.am:
799 Replaced keystrokelistener.h and keystrokelistener.c
800 with devicelistener.h and devicelistener.c; keystrokelisener.h
801 stub retained for back-compat.
803 * libspi/keystrokelistener.c:
807 Replaced inclusion of keystrokelistener.h with devicelistener.h.
809 * registryd/deviceeventcontroller.c:
810 (DEControllerListener): Added Accessibility_EventTypeSeq member.
811 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
812 (DEControllerPrivateData): Added xkb settings data.
813 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
814 button release events (which can't be captured via XGrabButton).
815 Don't dispatch via the 'normal' event mechanism if the device event was
817 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
818 Handle the typeseq data in its new location (see above).
819 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
820 New methods, for "generic" device listeners.
821 (spi_controller_register_device_listener):
822 Now handle mouse event listeners as well as key listeners.
823 (spi_controller_notify_mouselisteners):
825 (spi_device_event_controller_forward_mouse_event):
826 Now we notify mouse device listeners as well as generating the
827 non-consumable "mouse:" events.
829 We must check and restore the XKB
830 modifier map if we consume the event, since the act of triggering
831 a mouse event will normally reset the XKB latch. This is required for
833 (spi_controller_register_with_devices):
834 Load the XKB settings when registering, and register for XKB
836 (spi_key_eventtype_seq_contains_event):
837 Renamed spi_eventtype_seq_contains_event, since it's used
838 internally for all device event types now.
839 (spi_key_event_matches_listener):
840 Uses spi_eventtype_seq_contains_event now.
841 (spi_device_event_controller_object_finalize):
842 Free the private data and the XkbKeyboard struct.
843 (impl_register_device_listener, impl_deregister_device_listener):
844 Implementation of new IDL.
845 (spi_deregister_controller_device_listener):
847 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
848 More efficient implementation, we don't have to create a new
849 XkbControls structure every time we query.
850 (spi_device_event_controller_class_init):
851 Initialize the epv entries for the new IDL. Assign the
852 "spi-dec-private" quark.
853 (spi_device_event_controller_init):
854 Initialize the private data.
855 (spi_device_event_controller_forward_key_event):
856 Removed a bogus CORBA_exception_free() call.
858 * registryd/deviceeventcontroller.h:
859 Replaced inclusion of keystrokelistener.h with
862 * test/event-listener-test.c:
863 (report_mouse_event):
866 Added mouse-event device listener.
868 * test/test-simple.c:
869 (create_test_window):
870 Fixed regression (we were instantiating a GtkRange,
871 which is now an abstract class). Also fixed to match
872 existing AtkRole names, this seems to have changed in ATK
873 awhile ago; too late now I think, and the new
874 mechanism is at least elegant and consistent with the
875 glib enum "nick" APIs.
877 2002-11-15 Darren Kenny <darren.kenny@sun.com>
879 * idl/Accessibility_Relation.idl:
880 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
881 RELATION_EMBEDS,RELATION_EMBEDDED_BY
882 * idl/Accessibility_Role.idl:
883 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
884 * idl/Accessibility_State.idl:
885 add STATE_MANAGES_DESCENDANTS
886 * test/event-listener-test.c:
887 Added a listener for active-descendant events.
889 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
891 * atk-bridge/bridge.c
892 (atk_bridge_init): If application is Bonobo component wait until top
893 level is added before registering
894 (spi_atk_bridge_do_registration): New function which contains code,
895 formerly in atk_bridge_init, to do application registration.
896 (spi_atk_bridge_toplevel_added): Signal called when top level
897 added to Bonobo component
899 This fixes bug #83134.
901 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
903 * registryd/deviceeventcontroller.c
904 Fixed compilation error caused by calling gettimeofday()
907 2002-10-18 Bill Haneman <bill.haneman@sun.com>
912 Added template for HAVE_XKB.
915 Changes to check for XKB, and to set the HAVE_XKB #define if it
919 ()impl_notify_event): Make failure to get event source name
922 * registryd/deviceeventcontroller.c:
923 (#include): include X11/XKBlib.h.
924 (DEControllerPrivateData) : New struct.
925 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
927 (dec_synth_keycode_press) (dec_synth_keycode_release):
928 New methods; split the key synthesis code into these methods.
929 They check XKB settings before determining the "time" values to
930 pass to Xtest; this fixes bug #95828.
931 (impl_generate_keyboard_event): Changed to use methods above,
932 instead of callng Xtest directly.
933 (spi_device_event_controller_init): Initialize new privae struct s
935 (spi_device_event_controllr_object_finalize):
936 Free the (new) private data.
938 * registryd/deviceeventcontroller.h:
939 Add new gpointer to end of struct data.
941 2002-10-16 Bill Haneman <bill.haneman@sun.com>
944 Incremented revision to 1.1.2, SONAME is still '.so', library
945 extensions are ".so.0.0.2".
947 * registryd/deviceeventcontroller.c:
948 FIXES FOR #93592 and #95940.
949 (statics): renamed mouse_button_state to mouse_mask_state,
950 added key_modifier_mask.
951 (spi_dec_poll_mouse_moved):
952 Added key modifier checks, and emit "keyboard:modifiers"
953 events when the key modifiers currently in use change.
954 Also generate "mouse:abs" events periodically, even if the mouse
955 is stationary (should we?).
956 Alternatively we could generate "mouse:abs" events for either all
957 mouse movements, or every 'nth' mouse movement, or at the
958 beginning and end of every "active" mouse period.
960 * test/event-listener-test.c:
961 (main): Added listener for "keyboard:modifiers" events.
963 2002-10-15 Bill Haneman <bill.haneman@sun.com>
966 Added key mask #defines for mouse buttons; e.g.
967 SPI_KEYMASK_BUTTON1, etc.
970 Incremented dependency on ATK to version 1.1.0. (This dependency
971 is probably premature but will soon be real enough).
973 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
975 * libspi/hyperlink.[ch]
976 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
977 (get_hyperlink_from_servant): Check object is AtkHyperlink not
980 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
985 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/deviceeventcontroller.c
988 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
989 events to be ignored.
990 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
991 keyboard_mode so that XAllowEvents() can be called.
995 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
997 * cspi/spi-accessible.c: Correct names of roles returned by
998 AccessibleRole_getName(). Fixes bug #95055.
1000 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1002 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1005 * registryd/registry.c
1006 (desktop_remove_application: Write diagnostic message to stderr for
1009 (impl_accessibility_registry_deregister_global_event_listener):
1010 Correct size of lists array. This addresses bug #94555).
1012 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1014 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1017 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1019 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1022 * registryd/registry.c (impl_registry_notify_event): Remove
1023 unnecessary call to parser_event_type().
1025 * docs/reference/cspi/tmpl/spi_component.sgml:
1026 Add reference to SPI_LAYER_WINDOW.
1028 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1030 * registryd/registry.c
1031 (desktop_add_application): Remove leak.
1032 (desktop_remove_application): Remove leak.
1033 (parser_event_type): Remove leak.
1035 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1037 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1038 bogus call to CORBA_string_dup(). Also removed unnecessary
1039 g_string_dup/g_free calls.
1041 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1043 * registryd/deviceeventcontroller.c:
1044 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1046 * test/event-listener-test.c:
1047 main: commented out three redundant listeners, to reduce output
1048 noise. (They still are potentially useful for testing).
1051 2002-09-13 Michael Meeks <michael@ximian.com>
1053 * Update all the copyrights to include Ximian.
1055 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1057 * cspi/spi.h: add SPI_LAYER_WINDOW.
1059 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1060 add Accessibility_LAYER_WINDOW case.
1062 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1064 * libspi/component.c: (impl_accessibility_component_get_layer):
1065 add ATK_LAYER_WINDOW case.
1067 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1069 * configure.in: incremented micro version.
1071 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1073 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1076 Clarified and reworded our commit policy.
1079 Started an API "todo" addition list for 2.2.
1082 (impl_getSelection):
1083 Free char pointer from atk_text_get_selection, which was being leaked.
1085 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1088 Small revision to author acknowledgement.
1090 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1092 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1093 If signal has detail add it to the type of the event.
1096 2002-08-12 Michael Meeks <michael@ximian.com>
1098 * test/test-simple.c (global_listener_cb): bin bogosity.
1099 (test_keylisteners): disable, still doesn't work reliably,
1100 certainly not on my system anyway.
1102 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1103 don't leak a reference on the DEC. This round-trip
1104 fetching of the DEC per keystroke sucks, it should be
1107 * cspi/spi-private.h,
1108 * cspi/cspi-lowlevel.h,
1109 * cspi/bonobo/cspi-bonobo-listener.[ch],
1110 * cspi/bonobo/cspi-bonobo.c: get the copyright
1111 notices better - there is still a large amount of
1112 work in at-spi falsely attributed solely to Sun.
1114 * cspi/spi_main.c (cspi_object_ref): kill bogus
1115 hash lookup, just increment the ref.
1116 (SPI_freeString): make explicit the fact that we
1117 handle NULL strings just fine.
1118 (report_leaked_ref): obey coding standards.
1119 (cspi_object_hash, cspi_object_equal): kill retval.
1120 (cspi_object_release): only release if not on loan.
1121 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1122 (cspi_object_borrow, cspi_object_return): impl.
1124 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1125 use cspi_object_borrow / return.
1127 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1129 * cspi/bonobo/cspi-bonobo-listener.c:
1131 Don't call cspi_oject_new() because this is creating a new Accessible
1132 every single time that an event is fired. This causes ATs like at-poke
1133 to nolonger recognise the source of the event and thus ignore it.
1134 Re-use the object from the cache, ref it and then unref it after the
1135 listeners have been called.
1137 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1139 * test/event-listener-test.c:
1140 Added command-line options to disable mouse events (m) and
1143 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1145 * configure.in: Update required versions of ATK, GTK+ and GAIL
1147 * cspi-1.0.pc.in: Add dependency for X include files
1150 * cspi/bonobo/Makefile.am:
1151 Add $(X_CFLAGS) so that X include files
1152 are picked up even if not in standard place (bug #71686)
1154 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1156 * registryd/deviceeventcontroller.c: fix for 84261
1157 (spi_dec_mouse_moved):
1158 Added test of mouse button mask, so that we can detect mouse
1159 button release. Unfortunately we can't otherwise detect mouse
1160 button release events without consuming the mouse press event,
1161 because of the way XGrabButton works. This means that our mouse
1162 release events have a latency dependent on the polling period
1163 while the mouse button is down. At least in this case we only
1164 have to poll while the button is down, and not at other times.
1165 If the button masks don't match with what the last press event
1166 reported, we report the appropriate button release event.
1167 (spi_dec_ungrab_mouse):
1168 New method (not yet called).
1169 (spi_device_event_controller_forward_mouse_event):
1170 New method, sends mouse press event from GdkFilter.
1171 (spi_dec_init_mouse_listener):
1172 Added code to call XGrabButton, redirecting mouse button events to
1173 the root window and our Gdk event loop.
1175 Added code to filter mouse button events, and reordered.
1177 * test/event-listener-test.c:
1179 Added registration for mouse events of type "mouse:button".
1181 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1183 * registryd/deviceeventcontroller.c: partial fix for 84261
1184 (spi_dec_poll_mouse_idle):
1185 New method, a timeout which checks to see if the mouse
1187 (spi_dec_poll_mouse_moving):
1188 A timeout to be called when mouse motion is underway.
1189 (spi_dec_poll_mouse_moved):
1190 A method which fires an event if the mouse has moved, and reports
1191 whether or not it did so.
1192 (spi_dec_init_mouse_listener):
1193 A method which sets up the timeouts above.
1194 (spi_device_event_controller_new):
1195 Now calls spi_dec_init_mouse_listener.
1197 * registryd/registry.c:
1198 (spi_registry_init):
1199 Now we initialize the device event controller when the registry is
1200 initialized, instead of waiting until a client has requested a key
1201 event notification; this is because we need the event controller
1202 for mouse events, but the mouse event registration API is a
1203 "registry" call and doesn't explicitly call the
1204 deviceeventcontroller.
1205 We now report mouse motion events with a 100 ms idle latency and
1206 a 20 ms granularity when motion is in progress.
1208 * test/event-listener-test.c:
1210 We now register the "detail listener" for events of type
1211 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1212 delivered only for the first mouse event received, and thereafter
1213 "mouse:abs" events are delivered.)
1215 * cspi/spi_registry.c:
1216 DOCS: Documented the above mouse event typestrings.
1218 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1220 Happy Summer Solstice...
1222 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1223 (spi_controller_notify_keylisteners):
1224 Changes to remove a listener from the listener list, freeing its
1225 open keygrabs, if a notification to that listener fails. This
1226 means that although a dead listener can continue to hold a passive
1227 keygrab, a maximum of one dispatch to such a listener can fail
1228 before the listener is removed from the list, thus the keygrab
1229 will be released on the next occurrence.
1230 As part of this fix:
1231 (spi_notify_keylisteners):
1232 Renamed to spi_controller_notify_keylisteners, as the controller
1233 instance must now be passed as an argument.
1234 The copied 'notify' GList is now a list of DEControllerKeyListener
1235 objects, since we need more than just the CORBA reference if a
1236 notify fails and we need to deregister the listener.
1237 (impl_notify_listeners_sync):
1238 (impl_notify_listeners_async):
1239 (spi_device_event_controller_forward_key_event):
1240 Modify use of notify_keylisteners in accordance with above
1242 (spi_deregister_controller_key_listener):
1243 New method introduced by refactoring, from
1244 impl_deregister_keystroke_listener.
1245 (impl_deregister_keystroke_listener):
1246 Call spi_deregister_controller_key_listener.
1247 (spi_key_listener_clone):
1248 New method to copy a key listner without doing a 'ref' on the
1249 remote object instance; used to create a notifier list.
1250 (spi_key_listener_data_free):
1251 New method, frees data without unreffing the source.
1253 (spi_key_listener_clone_free): new method.
1254 (spi_key_listener_free):
1255 refactored to call spi_key_listener_data_free.
1257 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1259 * registryd/registry.c: [fix for bug 86048]
1260 (notify_listeners_cb):
1261 Clear CORBA system exceptions which occur when notifying
1262 listeners, before returning to the source of the original event,
1263 since the event source doesn't care if the relayed notify failed.
1264 In other words, don't complain to the atk-bridge if the registry
1265 could not notify all its listeners, that's no fault of the
1266 application and thus should not appear to be an error from the
1267 application's perspective.
1269 * cspi/spi_main.c: [fix for bug 85980]
1271 Replaced use of bonobo_object_dup_ref with call to the wrapper
1272 method, csou_dup_ref (); this silences a compiler warning and
1273 provided more portability.
1275 Ping the registry before return, and restart if necessary.
1277 * cspi/bonobo/cspi-bonobo.c:
1279 New internal method.
1281 Fixed this method to return an object reference, as it should have
1284 * cspi/cspi-lowlevel.h:
1285 Added internal definition for cspi_ping() and fixed
1286 return type of cspi_dup_ref().
1289 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1291 * atk-bridge/bridge.c: [fix for bug 85305]
1292 (spi_atk_bridge_register_application):
1293 New method where the initial application registry calls have been
1294 moved; it allows an application to re-register in response to
1295 certain error conditions (such as a registry restart, see below).
1297 Moved some initialization code to the method
1298 spi_atk_bridge_get_registry, below.
1299 (spi_atk_bridge_get_registry):
1300 New, private accessor function for the Accessibility_Registry
1301 instance. If the registry has not been started before, or has
1302 died (as detected by failure of a CORBA exception), it is
1303 restarted before return, and spi_atk_bridge_register_application
1304 is called again to register with the new bridge instance.
1305 (spi_atk_emit_eventv):
1306 Set registry_died on error; use spi_atk_bridge_get_registry () to
1307 access the registry.
1309 * registryd/registry.c:
1310 (impl_accessibility_registry_register_global_event_listener):
1311 Set listener's event_type_quark to etype.minor instead of
1312 etype.major (fix for bug 84856).
1314 * test/event-listener-test.c:
1315 (report_detail_event):
1316 Change the output string so that user/tester can tell that the
1317 'detail listener' was called instead of the 'generic listener'.
1319 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1321 Fixes for bugs 84900, 84908, 84897, 84898.
1326 Revved version to 1.1.0
1327 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1328 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1330 * idl/Accessibility_Registry.idl:
1331 (EventListener::notifyEvent):
1332 Removed 'oneway' directive after extensive consulation with
1333 ORBit2 team and others. This means also that unref() of the event
1334 source can and should be done synchronously after emission, rather
1335 than remotely in the client, after servicing the notify call on
1338 NOTE: This change speeds up listener performance considerably, but
1339 introduces new latency on the application side. We may want to
1340 add an event queue to the atk-bridge.
1342 * atk-bridge/bridge.c:
1343 (spi_atk_bridge_focus_tracker):
1344 Do a local unref() on the event source after emission.
1346 * registryd/registry.c:
1347 (desktop_remove_application):
1348 Do an unref() on the event source after emission.
1349 (desktop_add_application):
1350 Do an unref() on the event source after emission.
1351 (notify_listeners_cb):
1352 When relaying an event, don't automatically add the event source
1353 to the local object cache, just CORBA_dup it instead. Likewise,
1354 if this method reenters, release the ref rather than calling
1356 (impl_registry_notify_event):
1357 No longer call remote unref() on the event source after dispatch.
1359 * libspi/eventlistener.c:
1360 (impl_accessible_event_notify_event):
1361 Removed remote unref ()
1363 * cspi/bonobo/cspi-bonobo-listener.c:
1365 We now call cspi_object_new() instead of cspi_object_add() on
1366 receipt of an event; thus we only have an implicit object ref
1367 while the cspi_event method is being executed. If we need to keep
1368 a reference to the object, the listener must call ref() on the
1369 object. Thus also we don't need to call cspi_object_unref() after
1370 invoking the listener callbacks in this method.
1374 New internal API for creating a new cspi object, without adding it
1375 to the object cache.
1377 Now uses cspi_object_new() to create the cspi object instance.
1379 Now checks to see if the object is in the internal object cache,
1380 and adds it if necessary before incrementing its refcount (note
1381 that new objects are added with a refcount of 1).
1382 (report_leaked_ref):
1383 New method which gives some information on leaked object instances
1384 if leak detection is turned on.
1386 * test/event-listener-test.c:
1387 (timing_test_event):
1388 New method, used for testing event delivery timing for special
1389 events of type "object:test". It reports elapsed time and
1390 events/sec every 500 events.
1392 Added a new listener, 'test listener', to check timing of event
1393 receipt as noted above.
1395 Added some timing output here also, reports elapsed time every 100
1398 * test/stress-test.c:
1399 Emit events of type "object:test", for use with "event-listener-test".
1401 * test/test-simple.c:
1402 (global_listener_cb):
1403 Call Accessible_ref() on the event source before calling
1404 validate_accessible, since the validation process does pointer
1405 comparisons on the event source, meaning that the event source
1406 needs to be added to the local object cache first. Any use of
1407 such pointer comparisons between Accessible objects requires that
1408 the caller hold an explicit reference to those objects.
1409 We also must therefore call Accessible_unref() when leaving this method.
1411 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1413 * registryd/deviceeventcontroller.c:
1414 (spi_controller_update_key_grabs):
1415 Fix for #84735, subsequent keygrab listeners not informed of
1416 registration failure.
1419 (spi_base_construct):
1420 Add an assertion on construct, to make sure the GObject passed in
1421 is really a GObject.
1423 Explicitly initialize object->gobj pointer to NULL;
1425 * cspi/bonobo/cspi-bonobo-listener.c:
1426 (cspi_object_add_ref):
1427 New method, can specify whether to dup-ref a bonobo object passed
1428 in if it's newly added to the object cache.
1430 Now calls cspi_object_add_ref with second param of "FALSE". This
1431 prevents us from doing a pointless dup-ref followed by
1432 release-unref for all those cases where the object is already in
1433 our object cache (fix for #85205).
1435 * atk-bridge/bridge.c:
1436 (spi_atk_bridge_idle_init):
1437 Removed this method, we don't need to initialize in an idle
1440 Changed to call spi_atk_register_event_listeners directly, not via an
1441 idle handler. (fix for #81139)
1442 (gnome_accessibility_module_shutdown):
1443 Removed conditional around deregistration of listeners, since we
1444 don't use the idle handler and thus have always registered when
1446 (spi_init_keystroke_from_atk_key_event):
1447 Changed references to Accessibility_KEY_PRESSED to
1448 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1450 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1452 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1457 * test/stress-test.c:
1460 (may have been an incomplete commit yesterday?)
1462 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1465 Added target for new stress-test.
1467 * test/stress-test.c:
1468 New test, sends 1000 focus notifies in quick succession.
1470 * test/key-listener-test.c:
1471 Now we report whether a keylistener registration
1472 request succeeded or failed.
1474 * test/event-listener-test.c:
1475 Uncommented some listeners which are now implemented.
1478 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1480 * registryd/deviceeventcontroller.c:
1481 (spi_controller_update_key_grabs):
1482 Fix for #82509, lack of failure notification when
1483 ALL_WINDOWS keygrabs fail due to XGrabKey
1484 failure: we synchronize the server when
1485 registering a passive grab, to make sure we get the
1486 error message before the call returns.
1488 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1490 * test/test-simple.c:
1492 Removed #ifdef KEY_IMPL_WORKS guards.
1493 (test_keylisteners):
1494 Removed #ifdef KEY_IMPL_WORKS guards.
1495 Fixed bug which was causing a hang waiting for a
1496 "press" event (which was already overwritten by a "release"
1497 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1499 Added code to set globals 'key_press_received' and
1500 'key_release_received'.
1503 Added section "1.1 API Proposed Additions" which
1504 lists API additions desired for at-spi-1.1 (only one so far).
1505 Updated TODO list a little.
1507 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1509 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1512 * configure.in: Revved to 1.0.0.
1514 * idl/Accessibility_Registry.idl:
1515 (registerKeystrokeListener):
1516 Added boolean return value.
1518 * registryd/registry.c:
1519 (notify_listeners_cb): Minor fix to debug output.
1521 * registryd/Accessibility_Registry.server.in.in:
1522 Revved version number in OAFIID to 1.0.
1524 * registryd/registryd.c:
1526 Use new OAFIID version.
1528 * cspi/bonobo/cspi-bonobo.c:
1530 Use new OAFIID version.
1536 * atk-bridge/bridge.c:
1538 Use new OAFIID version.
1540 * registryd/deviceeventcontroller.c:
1541 (impl_register_keystroke_listener):
1542 Added CORBA_boolean return value.
1543 (spi_controller_register_device_listener):
1544 Added gboolean return value.
1545 (spi_controller_register_global_keygrabs):
1546 Added gboolean return value.
1547 (spi_key_set_contains_key):
1548 Added implementation for many more control keys,
1549 for instance F1-F12, arrow keys, End, Home, Page_Up,
1551 [TODO: some still not implemented].
1553 * text/screen-review-test.c:
1554 (text_chunk_pad_string):
1555 New function: it provides mapping between coordinate
1556 positions of text chunks and character positions in the
1557 screen-review-line output string.
1558 (text_chunk_to_string):
1559 New function, calls text_chunk_pad_string with various
1560 pad/delimiter characters. Pushbuttons are delimited with
1561 square brackets, Frames with vertical 'pipe' lines, and
1562 other text with double quotes.
1563 (text_chunk_list_to_string):
1564 Calls new function text_chunk_to_string.
1565 (toplevel_composite):
1566 New function to composite layers CANVAS through
1567 POPUP in each toplevel (other layers are composited
1568 across toplevels, i.e. BACKGROUND and OVERLAY).
1569 (review_buffer_composite):
1570 Revise to use new methods.
1576 2002-05-31 Laszlo Peter <laca@sun.com>
1578 * configure.in: add the Xtst libdir to the runpath on Solaris,
1579 since it's not in the default library search path.
1581 2002-05-29 jacob berkman <jacob@ximian.com>
1583 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1585 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1587 * test/screen-review-test.c:
1588 (text_chunk_pad_string):
1589 Added method, which pads the string according to the
1590 text bounds of the chunk. It also takes a 3-character
1591 string as a param which indicates the characters to be
1592 used for start, padding, and end delimitation of the chunk.
1593 (text_chunk_to_string):
1594 Changed to use text_chunk_pad_string.
1596 * configure.in: Fixed bug in AC_OUTPUT that was
1597 causing path substitution in Accessibility_Registry.server
1600 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1602 * text/screen-review-test.c:
1603 (guess_string_clip):
1604 New method which attempts a best-guess at clipping
1605 text from components (like Java labels) which don't
1606 actually implement AccessibleText. This inaccurate
1607 clip is based on the assumption that the label is
1608 justified left-and-right, and monospaced.
1609 (text_chunk_get_clipped_string):
1610 We now call guess_string_clip() for text-containing
1611 components that don't implement AccessibleText.
1613 * test/screen-review-test.c:
1614 (review_buffer_get_text_chunk):
1615 We now pull "name" from labels if they do not implement
1616 AccessibleText (i.e. for Java labels).
1617 (get_screen_review_line_at):
1618 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1621 Replaceded AC_OUTPUT target
1622 registryd/Accessibility_Registry.server with
1623 registryd/Accessibility_Registry.server.in.
1625 * registryd/Accessibility_Registry.server.in:
1626 Removed (this is now a Makefile target).
1628 * registryd/Accessibility_Registry.server.in.in:
1629 Added (source for target above). We now use $(libexecdir) as
1630 prefix for the executable at-spi-registryd.
1632 * registry/Makefile.am:
1633 Now install at-spi-registryd into $(libexecdir), and build .server
1634 file with path (see above).
1636 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1638 * test/screen-review-test.c:
1639 (text_chunk_get_clipped_string):
1640 We now check to see if words fall within clip bounds
1641 before resorting to character-by-character clip bounds testing.
1643 * TODO: Added a section for "2.2 Proposed API Additions".
1645 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1647 * test/screen-review-test.c:
1649 Added a screen review benchmarking and test program to test
1652 * cspi/spi_accessible.c:
1654 Made some of the debug strings passed to cspi_check_ev a
1655 little more specific.
1657 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
1659 * test/screen-review-test.c: Fix crashes in debug statements
1661 2002-05-20 Bill Haneman <bill.haneman@sun.com>
1663 * test/screen-review-test.c: Added this file.
1665 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1667 * atk-bridge/bridge.c: changed "object:state-change" to
1668 "object:state-changed" to match docs.
1670 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
1672 * atk-bridge/bridge.c: Hooked up state-change event details.
1674 2002-05-11 Bill Haneman <bill.haneman@sun.com>
1676 * registryd/registry.c:
1677 Fixed quarking bug in event string parsing; now events with
1678 detail parameters get matched correctly to listeners.
1681 * util/idl/Magnifier.idl: remove.
1683 * util/*.[ch]: Remove.
1684 Magnification utilities and IDL are now in module gnome-mag.
1686 2002-05-10 Bill Haneman <bill.haneman@sun.com>
1688 * registryd/deviceeventcontroller.c:
1689 Fixed bug in grab key conversion which was causing keycode grabs
1690 to be converted to AnyKey grabs.
1693 updated NEWS file to reflect recent spin-off of gnome-mag.
1695 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
1697 * cspi/spi_accessible.c: Added exception checks. Fixed completely
1698 busted AccessibleStateSet_compare. Removed redundant casts.
1700 * cspi/spi-action.c: Removed redundant casts.
1702 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1704 * cspi/spi_component.c: Fixed typos and casting error.
1706 * cspi/spi_editabletext.c: Removed redundant casts.
1708 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1710 * cspi/spi_hypertext.c: Eliminated redundant casts.
1712 * cspi/spi_image.c: Eliminated redundant casts.
1714 * cspi/spi_registry.c: Eliminated redundant casts.
1715 SPI_deregisterGlobalEventListenerAll () removed retval variable.
1716 * cspi/spi_selection.c: Removed redundant casts.
1717 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
1718 handling. Screen geometry and text offsets were being returned as 0
1719 on error which is technically valid-- changed these to return -1.
1720 Added marshaller for text boundary types to fix bug with boundary
1721 types being passed incorrectly to atk.
1723 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1726 * cspi/spi_registry.c:
1727 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1728 which was uncovered by the recent key changes.
1730 2002-05-09 Bill Haneman <bill.haneman@sun.com>
1732 * test/event-listener-test.c:
1734 Added new test, "event-listener-test";
1735 this code does two things; it benchmarks traversal time
1736 for the accessible hierarchy for the first running accessible
1737 app, and it connects listeners for all supported event types.
1738 It is thus useful as an example event listener and for
1739 diagnostics/debugging of event generation.
1741 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1744 Removed unnecessary dependency on libutil.
1747 Revved micro version: 0.13.1
1749 2002-05-08 Bill Haneman <bill.haneman@sun.com>
1752 Removed util/Makefile from targets.
1755 Removed util subdir from SUBDIRS (temporarily,
1756 pending removal of magnifier-only code
1760 #ifdef-ed out magnifier dependencies, since
1761 magnifier IDL, headers, and binary now live in
1762 module gnome-mag and we don't want at-spi to depend
1763 on gnome-mag. A magnifier demo which can run alongside
1764 simple-at is forthcoming in the gnome-mag module.
1766 NOTE: Split magnifier binary, IDL, and magnification
1767 activation code from at-spi into module gnome-mag.
1769 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
1771 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1772 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1774 2002-05-03 Bill Haneman <bill.haneman@sun.com>
1777 Revved to version 0.13.0
1779 * idl/Accessibility_Registry.idl:
1780 Changed definition of KeySet from sequence of longs to sequence of
1781 KeyDefinitions, and added KeyDefinition struct.
1782 Required for fix to bug 80616.
1784 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1785 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1786 to use new definition (see above).
1788 * registryd/deviceeventcontroller.c: handle_keygrab(),
1789 spi_keyset_contains_key():
1790 Changed to make use of new struct; this allows matching based on
1791 string key-name, for instance "Tab". This also allows matching of
1792 composed characters, non-alphanumeric characters in a way that
1793 doesn't involve dependencies on X keysym codes directly, etc.
1795 * test/key-listener-test.c:
1796 Added test for Alt-Tab key using "string" specification of keyset,
1797 and modified one of the tests to use a keycode-based keyset.
1798 Thus this test both tests and demonstrates the creation and use of
1799 keysets of three forms: specified via keycode array,
1800 keysym array, and string array. (The string case only contains a
1801 single string, i.e. a string array of length 1).
1804 Turned on PRINT_TREE option by default. Also fixed a
1805 string-freeing bug in the PRINT_TREE code.
1806 Added a listener to window:minimize events.
1808 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
1810 * atk-bridge/bridge.c:
1811 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1812 for window:activate and window:deactiveate
1813 (atk_bridge_property_event_listener atk_bridge_signal_listener
1814 atk_bridge_window_event_listener) Tidy debug code
1816 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
1818 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1819 Fixed handling for NULL return value from ATK.
1821 * libspi/action.c libspi/component.c libspi/editabletext.
1822 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1823 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1824 Removed redundant casts.
1826 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1827 Fixed off by one bug.
1829 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1830 function not present in idl)
1832 2002-05-02 jacob berkman <jacob@ximian.com>
1834 * atk-bridge/Makefile.am: make atk-bridge a real module
1836 2002-04-26 Radek Doulik <rodo@ximian.com>
1838 * libspi/stateset.c (spi_init_state_type_tables): fix size of
1839 atk_state_types table
1841 2002-04-22 jacob berkman <jacob@ximian.com>
1844 * libspi/Makefile.am: add deps on the built files to help
1845 automake, and don't version the ORBit typelib
1847 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
1849 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
1850 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1851 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
1852 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1853 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1854 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1855 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1856 libspi/accessible.h libspi/accessible.h libspi/base.h
1857 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
1858 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1859 libspi/relation.h libspi/remoteobject.h libspi/selection.h
1860 libspi/spi-private.h libspi/statetset.h libspi/table.h
1861 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1862 util/mag_client.h util/mag_control.c util/mag_image.c
1863 util/mag_image.h util/magnifier.c util/magnifier.h:
1864 Add missing file headers; standardize existing ones
1866 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
1868 * atk-bridge/bridge.c: Added window event support.
1870 2002-04-18 Michael Meeks <michael@ximian.com>
1872 * libspi/relation.c (impl_getNTargets): impl.
1873 (impl_getTarget): impl.
1875 * libspi/Makefile.am: fix stateset install.
1877 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1880 Started putting useful info in this file.
1882 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
1884 * atk-bridge/bridge.c:
1885 Propagate state-changed notifications to ATs
1887 * cspi/spi_registry.c: update docs to reflect actual behavior of
1888 state-change events.
1890 2002-04-17 Bill Haneman <bill.haneman@sun.com>
1893 Incremented version to 0.12.1
1895 * util/mag_client.h:
1896 Add missing declaration for magnifier_exit,
1897 used by mag_control.c - Forte compiler didn't like
1898 the implicit redeclaration of the function :-(
1901 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1904 Revved version to 0.12 due to API change (see below).
1906 * cspi/spi-roletypes.h:
1907 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1908 definition from the inline docs, and added docs
1909 for SPI_ROLE_LAST_DEFINED.
1912 * cspi/spi_streamablecontent.c:
1913 Added missing seek_type parameter to
1914 (so far unused) method,
1915 AccessibleStreamableContent_seek().
1916 [ RT approval JodyG. ]
1919 Fixed docs for SPI_createAccessibleKeystrokeListener.
1921 * cspi/spi_registry.c:
1922 Fixed docs for SPI_KEYSET_ALL_KEYS.
1924 * docs/reference/cspi/at-spi-cspi-sections.txt:
1925 Added a number of missing APIs to SECTIONS.
1927 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1929 * registryd/Makefile.am:
1931 * cspi/bonobo/Makefile.am:
1932 Add $(X_LIBS) to makefiles.
1934 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1937 Revved version to 0.11.
1939 * libspi/component.c:
1940 Added implementation for grabFocus.
1942 * idl/Accessibility_Component.idl
1943 (Accessibility_Component_grabFocus):
1944 Made this method return boolean to indicate success or failure, to
1945 be consistent with cspi and the corresponding ATK method.
1947 * idl/Accessibility_Selection.idl
1948 (Accessibility_Selection_selectAll) :
1949 Made these methods return boolean to indicate success or
1950 failure, to be consistent with cspi and the corresponding ATK methods.
1952 * idl/Accessibility_EditableText.idl
1953 (Accessibility_EditableText_setTextContents,
1954 Accessibility_EditableText_insertText,
1955 Accessibility_EditableText_cutText,
1956 Accessibility_EditableText_deleteText,
1957 Accessibility_EditableText_pasteText):
1958 Made these methods return boolean to indicate
1961 * cspi/spi_editabletext.c:
1962 Made these methods return booleans.
1964 * libspi/selection.c:
1965 * libspi/component.c:
1966 * libspi/editabletext.c:
1967 Connected the boolean returns from ATK
1968 to the server-side code referenced above.
1970 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1972 * idl/Accessibility_Table.idl: Added missing methods,
1973 Accessibility_Table_addRowSelection,
1974 Accessibility_Table_addColumnSelection,
1975 Accessibility_Table_removeRowSelection,
1976 Accessibility_Table_removeColumnSelection.
1979 Added C wrappers for above IDL:
1980 AccessibleTable_addRowSelection,
1981 AccessibleTable_addColumnSelection,
1982 AccessibleTable_removeRowSelection,
1983 AccessibleTable_removeColumnSelection.
1986 Added server-side implementation code for IDL above, connecting
1987 to pre-existing ATK api.
1989 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1991 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1993 * libspi/accessible.c: Added implementation fo
1994 Accessibility_Accessible_get_state.
1996 * libspi/libspi.h: Added stateset.h to the list of includes.
1998 * libspi/stateset.c: Fixed broken implementation.
2000 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2003 Added implementation code for Accessibility_Magnifier_exit ().
2005 * util/mag_control.c:
2006 Added test code for above method; you can
2007 now kill an existing magnifier via
2008 ./mag_control q, from the util directory.
2010 * test/key-listener-test.c:
2012 Added a new test, for our key listener API.
2014 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2016 * test/app.c, test/keysynth-demo.c:
2018 Replace use of snprintf with g_snprintf.
2019 (fix for bugzilla 78249)
2021 2002-03-27 Michael Meeks <michael@ximian.com>
2025 * util/Makefile.am (INCLUDES): fix.
2026 (DONT_DIST_SOURCE): don't distribute the
2029 * libspi/Makefile.am (dist-hook): ditto.
2031 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2033 * libspi/hypertext.c:
2034 Fix warnings when yelp is used with atk-bridge
2036 2002-03-21 Michael Meeks <michael@ximian.com>
2038 * libspi/application.c (spi_application_new):
2039 use spi_accessible_construct so we use the AtkObject
2042 2002-03-19 Michael Meeks <michael@ximian.com>
2044 * registryd/registry.c (desktop_remove_application),
2045 (desktop_add_application): clean coding style.
2047 * registryd/desktop.c (spi_desktop_remove_application),
2048 (spi_desktop_add_application): kill re-enterency hazards.
2049 (spi_desktop_dispose): remove bogus redundant cast
2050 obscuring bug; fix bug too.
2051 (spi_desktop_init): make the desktop object immortal.
2053 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2056 Added a #define-guarded tree-traversal step
2057 when enumerating the apps (diagnostic tool).
2059 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2061 * idl/Accessibility_Role.idl:
2062 Added ROLE_DRAWING_AREA which seemed to be missing from the
2065 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2067 * cspi/spi-roletypes.h cspi/spi_accessible.c
2068 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2071 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2072 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2073 AT when applications are added and removed from the desktop. This
2074 reverts the previous broken implementation using the backing
2075 AtkObject for the SpiDesktop.
2077 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2079 * registryd/desktop.c: emit the "children-changed::add" and
2080 "children-changed::remove" signals on the backing ATK object for
2081 the desktop so AT can tell when applications are started and shut
2084 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2086 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2088 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2090 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2092 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2094 * cspi/state-types.h: synched with IDL and ATK
2096 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2098 * libspi/accessible.c
2099 (impl_accessibility_accessible_get_child_at_index):
2100 Change return value for g_return_if_fail ()
2101 to CORBA_OBJECT_NIL instead of "0" (!)
2103 * registryd/Makefile.am:
2104 * registryd/Accessibility_Register.server.in:
2105 Changed name of executable, "registryd",
2106 to something more informative:
2109 2002-03-13 Michael Meeks <michael@ximian.com>
2111 * atk-bridge/bridge.c (atk_bridge_init): don't register
2112 if we're in a bonobo-component, rather than a bonobo app.
2114 2002-03-13 Michael Meeks <michael@ximian.com>
2116 * atk-bridge/bridge.c (gtk_module_init): split
2117 out body to (atk_bridge_init): here, since otherwise
2118 we get symbol conflicts and oddness when invoked
2119 from (gnome_accessibility_module_init): here (upd.)
2121 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2124 New file. Explicitly allow "build sheriff" putbacks provided
2125 they are tested on Solaris.
2127 * docs/reference/cspi/Makefile.am:
2128 Added '-' to the "cp" command for index.sgml.
2129 ("patch by thomasvs, soon coming to a GUADEC near you")
2132 Incremented version number (0.9.0) for new release.
2133 Changed macro that checks for popt, to better detect
2134 obsolete versions of popt.
2137 Added X_LIBS to AC_SUBST, for applications
2138 that call Xlib API directly.
2141 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2144 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2147 Fix regression caused by hard-coding major
2148 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2151 * test/test-simple.c (test_editable_text),
2152 (test_test): revert previous change (error was
2153 a regression in gail which is now fixed).
2155 2002-03-04 Michael Meeks <michael@ximian.com>
2157 * test/test-simple.c (test_editable_text),
2158 (test_text): pass G_MAXINT instead of '-1' for
2159 whole string - is this a good thing !?
2161 * cspi/spi_accessible.c
2162 (Accessible_getRelationSet): fix crasher bug
2163 overwriting the end of the array.
2165 * test/test-simple.c (validate_accessible): free,
2166 not g_free returned relation set.
2168 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2170 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2171 implemented stateset support
2173 * idl/Accessibility_State.idl: Made necessary changes to
2174 the IDL to support state sets.
2176 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2178 * registryd/deviceeventcontroller.c:
2179 Added implementation for generateMouseEvent.
2181 * cspi/spi_registry.c:
2182 Connected new implementation for generateMouseEvent
2185 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2188 Incremented revision (but no change in public API
2189 outside of 'utils', which are not installed public yet.)
2191 * libspi/component.c:
2192 Changed to use atk_component API for layers and
2193 mdi_zorder, instead of deprecated atk_object API.
2195 Magnification Utility Enhancements:
2198 Added implementation of createZoomRegion, clearAllZoomRegions,
2199 resizeZoomRegion. Added new commandline argument
2200 "--no-initial-region". Note that clearAllZoomRegions doesn't
2201 unmap the old '0' region as it should (yet), and the other
2202 methods only work when creating/resizing a single region,
2203 which is "region 0".
2204 (Code for multiple region support will be added later.)
2207 Now we raise the magnifier window each time it's refreshed;
2208 this will help keep it on top.
2210 * util/mag_client.h:
2211 Added simple wrappers for above, used by mag_control.
2212 For general use, it's recommended to use the bonobo magnifier
2213 control API directly instead of using these wrappers.
2216 Moved ZoomRegionData from magnifier.c to this file.
2218 * util/mag_control.c:
2219 Added some code to exercise new IDL implementations.
2221 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2223 * libspi/text.c: Provide implementation for getAttributes.
2225 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2228 Incremented revision.
2230 * test/test-simple.c:
2231 Replaced use of deprecated g_main_iteration with
2232 g_main_context_iteration.
2234 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2237 Incremented revision for desktop alpha 2.
2239 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2241 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2244 * test/simple-at.c: include netinet/in.h.
2246 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2248 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2249 use NULL, not CORBA_OBJECT_NIL.
2251 * libspi/accessible.c:
2252 (impl_accessibility_accessible_get_relation_set):
2253 allocate the sequence correctly.
2255 * libspi/remoteobject.h: kill spi_remote_object_new.
2257 * test/test-simple.c: (validate_accessible): add code
2258 to test relation sets, now all we need is to figure
2259 out how to excercise this code path :/
2261 2002-01-18 Michael Meeks <michael@ximian.com>
2263 * test/test-simple.c
2264 (key_listener_cb): consume the key.
2265 (test_keylisteners): update.
2266 (main): wait for any pending unrefs on events.
2268 * registryd/deviceeventcontroller.c
2269 (spi_controller_update_key_grabs): only re-issue the
2270 grab on a key release.
2271 (spi_device_event_controller_forward_key_event):
2272 refresh the keygrabs before we notify the listeners,
2273 to reduce the X ungrab / re-grab race.
2274 (spi_controller_register_with_devices): remove
2275 XSelectInput - we do that with the gdk_window_ call.
2276 (_spi_controller_device_error_handler): return a value.
2277 s/GDK_DISPLAY/spi_get_display/
2279 2002-01-17 Michael Meeks <michael@ximian.com>
2281 * registryd/deviceeventcontroller.c
2282 (_deregister_keygrab): don't blow out the later
2285 * test/test-simple.c (test_keylisteners): do a
2286 more intelligent validation.
2288 2002-01-14 Michael Meeks <michael@ximian.com>
2290 * atk-bridge/bridge.c
2291 (gnome_accessibility_module_init),
2292 (gnome_accessibility_module_shutdown): impl.
2293 (gtk_module_init): protect vs. double inits.
2294 (add_signal_listener): impl.
2295 (spi_atk_bridge_state_event_listener): kill
2296 (deregister_application): split out of
2297 (spi_atk_bridge_exit_func): here.
2299 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2302 Added caret tracking when using magnifier, and
2303 now use text bounds for focus tracking of text elements, rather than
2304 the component bounds - this is helpful for short text fields in long
2305 table cells, at high magnification.
2307 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2309 * registryd/deviceeventcontroller.c:
2310 Regression fix for keylistener de-registration; global keygrabs
2311 were not being released when deregisterKeystrokeListener was
2312 called in cspi, since
2313 Accessibility_DeviceEventController_deregisterKeystrokeListener
2314 was called with a zero-length keyset. That is because the cspi
2315 method, SPI_deregisterKeystrokeListener, does not take a keyset
2316 parameter but instead should remove all the key grabs held be a
2318 The code in impl_deregister_keystroke_listener was changed to copy
2319 the keylist from the listener instance previously registered with
2320 the DeviceEventController before releasing the grabs.
2322 * registryd/registry.c:
2323 * registryd/deviceeventcontroller.c:
2324 * libspi/spi-private.h:
2326 Changed spelling of "re-enterant" to "re-entrant" globally.
2328 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2330 * test/test-simple.c:
2331 Changed key listeners test - the test was slightly mis-using the
2332 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2333 It now uses '=' as the key event listened to and generated,
2334 relying on a keysym match rather than assuming that keycode 33
2335 is always equal to keysym '!'.
2337 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2340 Changed simple-at to use a specific keyset, rather than
2341 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2342 manager, desktop, etc.
2344 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2346 * registryd/deviceeventcontroller.c:
2347 Replaced standard X error handler with a special handler that
2348 is non-fatal for failed keygrabs. This works around
2349 problems with keygrab clashes sometimes observed on
2351 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2352 mouse handling code as yet).
2354 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2357 Incremented revision for desktop alpha release.
2360 Fixed a couple of the more glaring errors (still not
2363 2002-01-11 Michael Meeks <michael@ximian.com>
2365 * registryd/deviceeventcontroller.c
2366 (spi_device_event_controller_forward_key_event): kill
2367 XUngrabKey / XKeyGrab race.
2368 (spi_controller_grab_keyboard): rename to
2369 (spi_controller_update_key_grabs): this, and deal
2370 with incremental adding / removing grabs more
2372 (_register_keygrab): ensure we're not pending a remove.
2373 (spi_grab_mask_free): impl.
2374 (spi_controller_register_global_keygrabs): split out
2376 (handle_keygrab): impl.
2377 (_deregister_keygrab): impl.
2378 (spi_controller_deregister_global_keygrabs): impl.
2379 (spi_controller_update_key_grabs): re-issue the grab if
2380 we just recieved a notification.
2382 * test/test-simple.c (key_listener_cb): remove debug.
2384 * registryd/deviceeventcontroller.c
2385 (spi_controller_register_device_listener): after
2386 registering a global keygrab, actualy register it !
2387 don't wait for a timeout; doh !
2389 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2390 to make it more readable / manipulable.
2391 s/grabmask/grab_mask/ s/refcount/ref_count/
2392 s/keyval/key_val/ s/modmask/mod_mask
2394 2002-01-08 Michael Meeks <michael@ximian.com>
2396 * registryd/deviceeventcontroller.c
2397 (spi_controller_register_with_devices): use gdk calls to
2399 (global_filter_fn): implement the filter.
2400 (spi_device_event_controller_check_key_event): rename to
2401 (spi_device_event_controller_forward_key_event): this & upd.
2402 (spi_get_display): replace with GDK_DISPLAY.
2404 * registryd/deviceeventcontroller.c
2405 (spi_controller_deregister_device_listener): unroll into
2406 (impl_deregister_keystroke_listener): here to simplify.
2407 (spi_controller_register_global_keygrabs): split cut and
2408 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2409 (spi_controller_deregister_device_listener): remove.
2410 (impl_register_mouse_listener): remove, no mouse listener
2411 support in at-spi-1.0
2413 * registryd/registry.c
2414 (_device_event_controller_hook): kill.
2415 (spi_registry_init): upd.
2417 * registryd/deviceeventcontroller.c
2418 (spi_device_event_controller_class_init): upd.
2419 (spi_check_key_event): merge into.
2420 (spi_device_event_controller_check_key_event):
2421 here and kill strange static ev init, don't leak
2422 the x_event - nor dynamicaly allocate it.
2424 * registryd/registry-main.c (main): re-direct
2425 timeout to remove strange vtable mess.
2427 * registryd/deviceeventcontroller.c
2428 (remove_listener_cb): impl.
2429 (spi_controller_deregister_device_listener):
2430 fix re-enterancy hazard.
2432 2002-01-07 Michael Meeks <michael@ximian.com>
2434 * registryd/deviceeventcontroller.c
2435 (spi_device_event_controller_new): upd.
2436 (impl_notify_listeners_sync): upd. debug.
2437 (spi_notify_keylisteners): fix re-enterancy hazards,
2438 prettify, remove O(n*n) iteration.
2439 (spi_controller_grab_keyboard): fix iteration.
2440 (spi_check_key_event): re-format to suit coding style.
2441 Clean all the warnings - we're warning free.
2443 * registryd/deviceeventcontroller.h:
2444 * registryd/registry.h: make mutualy referential with
2445 typesafe forward references instead of (!) void pointer
2448 2002-01-11 Michael Meeks <michael@ximian.com>
2450 * cspi/spi_accessible.c (role_names): add a role name
2451 to sync this array with the enum; and make the regression
2454 2002-01-10 Michael Meeks <michael@ximian.com>
2456 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2457 allow expansion of enumeration & kill warning.
2459 * test/test-simple.c (key_listener_cb): impl.
2460 (test_keylisteners): impl.
2462 * cspi/spi-listener.h: make listener signatures const
2463 on the provided (const) events.
2465 * test/keysynth-demo.c: upd. to const events.
2467 * test/simple-at.c: ditto.
2469 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2472 Rev the version to 0.5 (the previous tarball was named 0.4,
2473 even though the micro number was 3), so we need to rev upwards
2474 again for beta2/"desktop-alpha"
2477 Checked in a demo script, which requires editing before use!
2478 Proceed with caution.
2481 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2483 * cspi/spi_accessible.c:
2484 Add a couple of missing enum initializations, and fix some enum
2487 * cspi/spi_registry.c:
2488 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2490 * docs/reference/cspi/at-spi-cspi-sections.txt:
2491 Remove/fix a couple of broken document references.
2494 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2495 as Alt-Control to listen for commands, since on some systems
2496 Control-Alt may already be grabbed.
2498 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2501 Update version number to 0.4 for Beta2.
2503 * libspi/accessible.c, libspi/accessible.h:
2504 Expose spi_accessible_construct, to enable libgail-gnome
2505 construction from spi_accessible subtype.
2507 * utils/magnifier.c:
2508 Workaround for bug in some non-gnome-compliant window managers
2509 which made magnifier resize improperly.
2511 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2513 * libspi/accessible.c: (spi_accessible_new) :
2514 Move the test for SPI_IS_REMOTE_OBJECT to
2515 spi_accessible_new_return, fixing a bug and compile time warning.
2517 2002-01-08 Michael Meeks <michael@ximian.com>
2519 * registryd/registry.c (parse_event_type): remove strndup.
2521 * libspi/Makefile.am (libspi_la_SOURCES): remove
2522 sources already included in the headers section.
2524 * libspi/util.c: add.
2526 * libspi/spi-private.h: add.
2528 * registryd/registry.c: update to moved list iterators.
2530 2002-01-05 Michael Meeks <michael@ximian.com>
2532 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2534 * test/test-simple.c (main): ditto.
2536 2002-01-04 Michael Meeks <michael@ximian.com>
2538 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2539 redundant construct.
2541 * registryd/registry.c
2542 (get_listener_list): impl.
2543 (impl_accessibility_registry_register_global_event_listener):
2544 re-impl. to simplify using ~, remove dodgy const cast off.
2545 (parse_event_type): constify.
2546 (impl_accessibility_registry_deregister_global_event_listener_all):
2547 re-write, more efficiency and simplicity, kill re-enterancy
2549 (compare_listener_corbaref, compare_corba_objects),
2550 (compare_listener_quarks): define out.
2551 (impl_accessibility_registry_deregister_global_event_listener):
2552 re-write for effiency, and nail re-enterancy hazard.
2553 (impl_accessibility_registry_get_desktop_list): impl.
2554 (re_enterant_list_delete_link): impl.
2555 (re_enterant_list_foreach): impl.
2556 (remove_listener_cb): impl.
2557 (_registry_notify_listeners): kill.
2558 (notify_listeners_cb): impl.
2560 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2561 (SPI_getDesktopList): impl.
2563 * test/test-simple.c (test_desktop): test the methods.
2565 2002-01-03 Michael Meeks <michael@ximian.com>
2567 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2568 keystrings since we free them
2569 (SPI_freeAccessibleKeySet): in here.
2571 * libspi/accessible.c (spi_accessible_new): kill warning,
2572 wonder what is going on with the constructor here.
2574 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2576 * libspi/accessible.c (spi_accessible_new ()) :
2577 Added check to see if AtkObject is an SpiRemoteObject before
2578 creating an SpiAccessible.
2580 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2582 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2583 Enable keygrabs using the Control modifier, now that they are
2584 working properly (they were previously disabled).
2587 Change the command keygrab for this demo to "Control+Alt", so as
2588 to conflict with fewer other key commands on the system; this
2589 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2591 Removed a pointlessly-chatty keylistener for unshifted keys
2592 (shifted keys are still reported).
2594 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2596 * libspi/remoteobject.h:
2597 * libspi/remoteobject.c:
2598 Added definitions for special AtkObject subtype, required for
2599 support of remote components (specifically, used by BonoboControl
2600 accessibility implementation).
2602 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2604 * cspi/spi.h: synched relation types with ATK
2606 * cspi/spi_accessible.c: Added implementations of
2607 AcccessibleRelation_* methods
2609 * idl/Accessibility_Relation.idl: added getRelationTypeName
2610 method. Synched known relation types with ATK. Allowed for
2611 relation type extension with the RELATION_EXTENDED type.
2613 * libspi/relation.c: Provided implementations for
2614 AccessibleRelation methods.
2616 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2618 API tweaks for today's API 'freeze'.
2621 Added placeholder functions to allow future compatible expansion
2622 of the IDL interfaces.
2624 * idl/Accessibility_Registry.idl:
2625 Changed generateKeyEvent to generateKeyboardEvent. Changed
2626 signature of this method to accept an optional keystring in
2627 parameter (for complex text input synthesis) and changed use of
2628 simple 'boolean' parameter in registerKeystrokeListener to a
2629 struct, EventListenerMode.
2631 * cspi/spi_accessible.c:
2633 * cspi/spi_streamablecontent.c:
2634 Added references to AccessibleStreamableContent interface, and
2635 definition and implementation of AccessibleStreamableContent
2638 * cspi/spi_registry.c:
2640 Changed generateKeyEvent API to generateKeyboardEvent,
2641 taking a new (optional) keystring parameter to support complex
2646 Renamed directory (to better reflect its actual purpose, bridging
2647 from at-spi to ATK). The .so module is also now named
2650 * idl/Accessibility_Hypertext.idl:
2651 * libspi/accessible.c:
2652 * libspi/hypertext.h:
2653 * libspi/hypertext.c:
2654 Changed Accessibility_Hypertext to *not* derive from
2657 * cspi/spi_registry.c:
2658 Added list of legal event type names for 'window' events, which
2659 completes the registry event API.
2661 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
2663 * at-bridge/bridge.c: Added registration for separate
2664 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2665 signals. If either of the first two parameters to the generic
2666 bridge signal handler are ints, they are passed on as event
2667 details. This allows an AT to determine what text was inserted.
2669 2001-12-21 Bill Haneman <bill.haneman@sun.com>
2671 * registryd/deviceeventcontroller.c:
2672 Fixed regressions in generateKeyEvent caused by the removal of
2673 gdk_init from registryd; we now use pure X calls to connect to the
2674 display, which makes sense because deviceeventcontroller already
2675 uses a fair bit of X API (should eventually be migrated to a
2676 'portability layer').
2678 * registryd/desktop.c:
2679 Fixed minor regression in spi_desktop_init, changed the way the
2680 desktop name is being set to work with new spi_base API
2681 (gobject-based, rather than AtkObject-based).
2683 * registryd/Makefile.am:
2684 Minor revision of makefile to use XTST_LIBS variable rather than
2685 hard-wiring the Xtst LD_ADD element.
2687 * test/keysynth-demo.c:
2688 Tweaked an output message; added initialization of the
2689 'keystrings' member of the "switch listener" key_set.
2691 * libspi/relation.c:
2692 Squashed compile-time warning.
2694 * libspi/accessible.c:
2695 Cosmetic and formatting fixes, renamed a static method.
2697 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2699 * libspi/accessible.c
2701 * libspi/application.c
2704 * libspi/component.c
2705 * libspi/editabletext.c
2706 * libspi/hyperlink.c
2707 * libspi/hypertext.c
2709 * libspi/selection.c
2713 * registryd/desktop.c:
2714 Changed SpiBase to contain a GObject pointer rather than an AtkObject
2716 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2718 * idl/Accessibility_Registry.idl:
2719 Added boolean member 'is_text' to DeviceEvent. This is for the
2720 use of key events, and helps prevent ambiguity between composed
2721 key strings and keysym names, since both may potentially be
2722 returned in the 'event_string' member.
2724 * at-bridge/bridge.c:
2725 * registryd/deviceeventcontroller.c:
2726 Use the 'is_text' member when notifying device event listeners.
2727 Knon issue: composed characters are not dealt with correctly by
2728 the global key listener implementation yet.
2730 2001-12-17 Bill Haneman <bill.haneman@sun.com>
2732 * at-bridge/bridge.c:
2733 Namespaced local static methods to spi_atk_bridge_* where
2734 previously named bridge_*, and spi_* elsewhere.
2736 * at-bridge/bridge.c:
2737 * cspi/bonobo/cspi-bonobo-listener.c:
2738 Added demarshalling/conversion for string member of
2739 Accessibility_DeviceEvent to AccessibleKeystroke.
2741 * registryd/deviceeventcontroller.c:
2742 Added code to fill the Accessibility_DeviceEvent key string value
2743 member for global key events (i.e. from XGrabKey), to match
2744 behavior of Accessibility_DeviceEvent from the toolkit key events
2745 from the bridge. Fixed timestamp in global key event notifications.
2748 Added printout of key event's string value to
2749 report_ordinary_key_event, for demo/debugging purposes.
2751 2001-12-15 Bill Haneman <bill.haneman@sun.com>
2753 * idl/Accessibility_Registry.idl:
2754 Removed Accessibility_KeyStroke structure in favor of generic
2755 Accessibility_DeviceEvent structure.
2756 Changed Accessibility_ControllerEventMask from a struct to an
2759 * at-bridge/bridge.c:
2760 Changed APIs to use DeviceEvent structure as above, and removed
2761 bogus casting between these event structures.
2763 * cspi/spi-listener.h:
2764 Added keystring member of AccessibleKeystroke structure, to enable
2765 matching on event "names" rather than only hardware codes and
2769 Added keystrings member of AccessibleKeySet struct, to allow
2770 matching on event names (as above).
2771 Added declarations for SPI_createAccessibleKeySet and
2772 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
2773 event modmasks directly as unsigned ints rather than structs with
2774 refcounts, in the DeviceEventController methods.
2776 * cspi/spi_registry.c:
2777 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2779 * cspi/spi-roletypes.h:
2780 Added documentation of newly added SPI Roles.
2782 * cspi/bonobo/cspi-bonobo-listener.c:
2783 Changes in support of API changes above.
2785 * libspi/accessible.c:
2786 Converted APIs to use DeviceEvent structure (see IDL changes
2789 * registryd/deviceeventcontroller.c:
2790 Added DEControllerGrabMask structure to track keygrabs not only by
2791 modmask but by keyset as well; this allows us to do "global"
2792 (i.e. X) keygrabs on a per-key or keyset basis rather than always
2793 grabbing on AnyKey and then filtering after-the-fact.
2794 Bugfixes for event filtration mean that we don't get false matches
2795 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2797 * registryd/deviceeventcontroller.c:
2798 Namespaced a number of static methods to use spi_ prefix. Major
2799 revision to internals of global (i.e. X) key grabs.
2801 * registryd/deviceeventcontroller.h:
2802 Removed keymask_list and added keygrabs_list to
2803 SpiDeviceEventController struct.
2806 Added use of SPI_createAccessibleKeySet API when creating a
2807 listener for only one key. Attach a listener to "shift spacebar
2808 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
2809 X key event names to SPI key event names, so that listeners are
2810 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2812 * test/keysynth-demo.c:
2813 Changed (incorrect) use of X key event names (KeyPressed,
2814 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2817 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2819 * libspi/accessible.c:
2820 Convert all AtkRole enumerations to Accessibility_Role enums when
2821 getting a role from an AtkObject.
2823 * cspi/spi_accessible.c:
2824 Complete the conversion of Accessibility_Role enums at runtime to
2825 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2826 role enums correctly match those given in spi-roletypes.h.
2827 Re-synchronize the local names list for AccessibleRole_getName ().
2828 AccessibleRole_getName is now deprecated, since it duplicates the
2829 more reliable Accessible_getRoleName.
2830 Added some role types from Accessibility_Role.idl.
2832 * idl/Accessibility_Role.idl:
2833 Added some role types used by AtkRole.
2835 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2838 * cspi/spi_registry.c:
2840 * cspi/cspi-bonobo-listener.c:
2841 Namespaced all methods that did not begin with an "SPI_" or
2842 "Accessible" prefix to "SPI_".
2845 Homogenized internal function namespace to "cspi_" for statics.
2848 Patched tests to use the new CSPI API.
2850 * docs/reference/cspi/at-spi-cspi-sections.txt:
2851 Updated docs to reflect namespace changes, and added a number of
2852 methods to the documentation.
2854 * registryd/registry.c:
2855 Changed use of strings and string hashes in listener event
2856 matching and parse_event_string to use GQuark, which is guaranteed
2859 * registryd/registry.h:
2860 Squashed annoying warning.
2862 * idl/Accessibility_Role.idl:
2863 Extended range of available Accessibility_Role values.
2865 * cspi/spi_accessible.c:
2866 Re-ordered role names.
2868 2001-12-12 Bill Haneman <bill.haneman@sun.com>
2870 * idl/Accessibility_Value.idl:
2871 Revert use of union back to CORBA_double, since the double type is
2872 more efficient and can contain the other types without loss of
2875 * idl/Accessibility_Accessible.idl:
2876 Added method Accessibility:Accessible:getRoleName, to complement
2877 Accessibility:Accessible:getRole.
2879 * cspi/spi_accessible.c:
2881 Added C binding for above, Accessible_getRoleName (), and changed
2882 signature of Accessible_getRole () to return an AccessibleRole.
2884 * cspi/spi-roletypes.h:
2885 Changed AccessibleRole_getName to return a char * instead of a
2886 const char *. This method is now at least temporarily deprecated
2887 in favor of asking Accessibles for their RoleNames directly.
2890 Revert to match Accessibility_Value.idl;
2894 Change signature of AccessibleValue methods to use double rather
2898 * cspi/spi_accessible.c:
2899 Changed Accessible_getRole to return an AccessibleRole enum rather
2900 than a UTF-8 string. The UTF-8 string can still be obtained via
2901 AccessibleRole_getName ().
2903 * test/test-simple.c:
2904 Add test_action. Small fixup to match API change to Accessible_getRole.
2907 Bugfix for get_action_from_servant ().
2909 2001-12-11 Michael Meeks <michael@ximian.com>
2911 * libspi/libspi.h: remove registry.h and
2912 desktop.h, deviceeventcontroller.h
2914 * libspi/Makefile.am: remove registry.[ch],
2915 desktop.[ch], deviceeventcontroller.[ch]
2917 * registryd/Makefile.am: add registry.[ch],
2918 desktop.[ch], rename registryd.c to registry-main.c.
2919 add deviceeventcontroller.[ch]
2921 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2924 Replace setenv() call with putenv ().
2926 * libspi/component.c:
2927 Bugfix in AccessibleComponent_getExtents (),
2930 2001-12-11 Michael Meeks <michael@ximian.com>
2932 * libspi/image.c (impl_getImageExtents): impl.
2933 (spi_image_class_init): upd.
2936 (AccessibleImage_getImageDescription): fix daft bug
2939 * test/test-simple.c (global_listener_cb): update
2940 to only quit if not --poke
2941 (main): catch --poke.
2942 (validate_accessible): upd. dumping, call test_image
2945 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2948 * idl/Accessibility.idl: update all IDL includes.
2950 * idl/*.idl - rename to namespace - this sucks, blame
2951 mjs' bad decision for oafd.
2953 * test/test-simple.c (create_test_window): add more tests.
2954 (create_tree): split this out.
2955 (validate_accessible): bugfix.
2957 2001-12-11 Michael Meeks <michael@ximian.com>
2959 * cspi/bonobo/cspi-bonobo-listener.c:
2960 (cspi_kestroke_listener_unref),
2961 (cspi_event_listener_unref): impl. undoing previous
2962 homenous environment - for Bill.
2964 * cspi/spi_table.c (long_seq_to_array): use
2967 * cspi/spi_main.c: split out all bonoboish bits into
2970 * cspi/spi-impl.h: upd. typedefs.
2972 * cspi/spi_registry.c: update to lowlevel API,
2973 return booleans to indicate success in some places.
2975 * cspi/spi_event.c: update to lowlevel API.
2977 * cspi/bonobo/Makefile.am: add.
2979 * cspi/bonobo/cspi-lowlevel.h: add
2981 * cspi/bonobo/cspi-bonobo.c: add
2983 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2985 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2986 (SUBDIRS): add bonobo, link in the libs.
2988 * cspi/spi-util.c: kill this file.
2990 * TODO: merge in my bits.
2992 2001-12-11 Michael Meeks <michael@ximian.com>
2994 * test/test-simple.c (test_value, test_table, main):
2995 remove unused variables causing warnings.
2997 * configure.in: cleanup checks - require gail.
2999 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3002 Changed Value interface to use SValue (scalars) rather than
3003 assuming all values are floats. This allows floats, doubles,
3004 longs, shorts, and unsigned values to be manipulated.
3005 Introduced Accessibility:SValue union.
3008 Updated to use new API above, and to work correctly with GValues
3009 of different types in AtkValue.
3012 Updated to use new API above. cspi's API is as yet unchanged.
3015 Updated the Value revision action item.
3017 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3019 * test/test-simple.c:
3020 Added test_table (GtkTreeView widget in test window to follow).
3021 Un-commented test_value, added GtkRange widget.
3022 Added GtkTreeView widget with GtkListStore. It passes regression
3023 test but leaks one SPI object for some reason.
3026 Fixed bug in impl__set_currentValue.
3028 2001-12-10 Michael Meeks <michael@ximian.com>
3030 * cspi/spi_text.c: audit for exception handling,
3031 tolerating NULL object references safely etc.
3033 * cspi/spi_value.c: ditto.
3035 * cspi/spi_table.c (AccessibleTable_getSummary),
3036 (AccessibleTable_getAccessibleAt),
3037 (AccessibleTable_getRowHeader),
3038 (AccessibleTable_getColumnHeader),
3039 (AccessibleTable_getCaption): fix bugs hidden by
3041 (long_seq_to_array): impl.
3042 (AccessibleTable_getSelectedRows),
3043 (AccessibleTable_getSelectedColumns): use it.
3045 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3048 Added a TODO list (rough and short for now).
3050 * cspi/spi_hyperlink.c:
3051 * cspi/spi_hypertext.c:
3052 Fixed macro name typos, and remove use of obsolete macro in
3053 AccessibleHyperlink_getLink.
3055 * cspi/spi_action.c:
3056 * cspi/spi_accessible.c:
3057 * cspi/spi_application.c:
3058 * cspi/spi_component.c:
3059 * cspi/spi_selection.c:
3062 Documentation fixes (removed return values from ref/unref methods).
3064 2001-12-10 Michael Meeks <michael@ximian.com>
3066 * cspi/spi_action.c: audit for exception handling,
3067 tolerating NULL object references safely etc.
3069 * cspi/spi_accessible.c: ditto.
3071 * cspi/spi_component.c: ditto.
3073 * cspi/spi_editabletext.c: ditto.
3075 * cspi/spi_hyperlink.c: ditto.
3077 * cspi/spi_hypertext.c: ditto.
3079 * cspi/spi_image.c: ditto.
3081 * cspi/spi_selection.c: ditto.
3083 2001-12-10 Michael Meeks <michael@ximian.com>
3085 * configure.in: use cspi/libspi.pc.in instead.
3087 * Makefile.am (pkgconfig_DATA): upd. to match.
3089 * test/simple-at.c (report_focus_event): kill hacks around
3090 bad return values, use putenv not setenv
3092 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3093 fire ChildGone - I killed it.
3095 * libspi/component.c
3096 (impl_accessibility_component_get_extents): remove
3099 * idl/Accessible.idl: kill ChildGone exception.
3101 * cspi/*.[ch]: kill int return from ref / unref.
3103 * cspi/spi_main.c (cspi_object_add_check): fold into
3104 (cspi_object_add): here.
3106 * cspi/spi_component.c (AccessibleComponent_getExtents):
3107 handle exceptions elegantly.
3109 * cspi/spi-private.h (cspi_check_ev_return),
3110 (cspi_return_if_fail): impl.
3112 * cspi/spi_accessible.c: use extensively.
3113 (AccessibleStateSet_equals): add direct compare check.
3115 * cspi/spi_selection.c: tolerate NULL objs, and check
3116 exceptions before return.
3118 * cspi/spi-util.c (cspi_warn_ev): rename to
3119 (cspi_check_ev): this & don't pass ev in; no point.
3121 2001-12-10 Michael Meeks <michael@ximian.com>
3123 * test/test-simple.c: use putenv not setenv
3124 (get_environment_vars): more chatty if you're not using
3127 * test/simple-at.c: do the setenv so more people see the
3130 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3132 * libspi/registry.c:
3133 Changed check of CORBA_environment on notification to be a warning
3134 instead of an error for the moment, since we can recover from this
3135 error when caused by a queued notification from a dead app.
3138 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3139 used by all current implementors of AtkValue), and coerce to
3140 CORBA_float. (Proper general case fix may require change to Value.idl).
3142 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3146 * cspi/spi_accessible.c:
3147 Documentation fixes: added user_data params to documentation for
3148 listeners and callbacks.
3150 * cspi/spi_accessible.c:
3151 Changed AccessibleStateSet_compare to return a
3152 StateSet rather than return the difference set into a third parameter.
3155 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3158 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3159 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3163 Remove subdirectory po from SUBDIRS for now.
3165 * at-bridge/bridge.c:
3166 Beefed up a couple of debug printouts.
3167 One-line fix for signal notification name formatting.
3169 * libspi/accessible.c:
3170 Added assertion to spi_accessible_new ().
3172 * libspi/application.c:
3173 Put #ifdef qualifiers around a printf.
3176 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3178 * registryd/Makefile.am:
3180 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3181 INTLTOOL_SERVER_RULE macro.
3184 Added an event listener for several ATK signals, for
3185 testing and debugging. Removed a few g_warnings.
3186 Added test output if focussed item implements the Value interface.
3188 * test/test-simple.c:
3189 Added test_value () function (known not to pass at the moment, so
3190 not actually called yet.
3192 2001-12-08 Michael Meeks <michael@ximian.com>
3194 * at-bridge/bridge.c (bridge_focus_tracker),
3195 (emit_eventv): fix the same ref. leak.
3196 (register_atk_event_listeners): don't leak.
3198 * cspi/spi-listener-impl.c (cspi_event): more
3199 protection from client code.
3201 * test/test-simple.c (test_desktop): unref the app.
3203 * test/Makefile.am: upd. TESTS.
3205 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3207 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3209 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3211 * cspi/spi_registry.c: constify in strings.
3212 (deregisterGlobalEventListenerAll): don't release the ref.
3214 * cspi/spi.h: start removing redundant / conflicting
3215 gtkdoc comments, making the API readable at a glance :-)
3217 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3219 * test/keysynth-demo.c (keysynth_exit, main): upd.
3221 * test/simple-at.c (main, simple_at_exit): upd.
3223 * test/test-simple.c (unutterable_horror): kill.
3224 (utterable_normal_derefs): kill.
3225 (main): upd & do a setenv before gtk_init, so that we
3226 can use memprof - and to save the pain of remembering
3227 this, if we're running under memprof - don't exit.
3229 * cspi/spi_main.c (SPI_exit): return exit status
3231 (SPI_event_quit): impl.
3232 (SPI_event_main): simplify.
3233 (cspi_is_gnome_app): kill.
3234 (SPI_init): kill isGNOMEapp arg.
3236 * at-bridge/bridge.c (register_atk_event_listeners):
3237 re-instate the unref.
3238 (bridge_exit_func): don't re-activate the registry,
3239 protect vs. theoretical re-entry, use the
3240 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3241 assert a clean shutdown - for regression tests.
3243 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3245 * configure.in: Comment out dummy i18n support for now,
3246 otherwise it fails to build.
3247 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3248 EXTRA_DIST. They are missing in tarball.
3250 2001-12-07 Michael Meeks <michael@ximian.com>
3252 * util/magnifier.c: kill bonobo activation reg. race.
3254 * libspi/component.c
3255 (impl_accessibility_component_get_extents): make it match
3258 * libspi/registry.c (_registry_notify_listeners):
3259 re-remove X headers & reconcile conflicts.
3260 (spi_listener_struct_free): bad conflict resolve.
3261 (impl_accessibility_registry_register_application):
3262 more bad merging fixed.
3263 (impl_accessibility_registry_deregister_application): ditto.
3264 (spi_registry_new): ditto.
3265 (spi_registry_init): don't have an applications field.
3267 [ merge fixups2 branch to here ]
3268 2001-12-07 Michael Meeks <michael@ximian.com>
3270 * test/simple-at.c (report_focus_event),
3271 (report_focussed_accessible): remove g_warning debug.
3273 2001-12-07 Michael Meeks <michael@ximian.com>
3275 * test/test-simple.c (validate_tree): comment out some checks.
3276 (test_desktop): app now not registered idly - horay.
3278 2001-12-07 Michael Meeks <michael@ximian.com>
3280 * cspi/spi_registry.c
3281 (registerAccessibleKeystrokeListener): clean, stop it leaking
3282 great swathes of memory, and device event controller references.
3283 ensure we always pass valid sequences.
3284 (deregisterAccessibleKeystrokeListener): ditto.
3285 (generateKeyEvent): upd.
3287 * at-bridge/bridge.c (bridge_key_listener): handle
3288 registry dead exception gracefully.
3289 (bridge_focus_tracker, emit_eventv): free ev.
3291 * test/simple-at.c (report_focus_event): fix polarity.
3293 * libspi/application.c (notify_listeners): kill the ev
3294 argument, and make sure we init the ev we use.
3295 (spi_application_object_event_listener): split out a chunk
3296 (get_atk_object_ref): here & fixup.
3297 (reverse_lookup_name_for_toolkit_event): make const.
3298 (spi_application_toolkit_event_listener): fixup, kill leaks
3301 * at-bridge/bridge.c (register_atk_event_listeners):
3302 don't unref the noop object - causes grief.
3304 * libspi/registry.c: remove the X headers.
3305 turn off the debug churn.
3307 * libspi/accessible.c (spi_accessible_new_return): only
3308 release the ref if we are supposed to [doh]
3310 * test/simple-at.c (report_button_press, report_focus_event):
3311 guard vs. unexpected exit.
3313 * at-bridge/bridge.c (gtk_module_init): prune printf.
3314 (bridge_exit_func): fix app unref.
3316 * libspi/Makefile.am: don't install registry or desktop.h
3318 * libspi/*.h: update includes.
3320 * libspi/application.h: don't include ourself, or
3321 other redundant headers.
3323 2001-12-06 Michael Meeks <michael@ximian.com>
3325 * libspi/accessible.c
3326 (get_accessible_from_servant): impl.
3327 Upd. all CORBA impl.s to use it killing cut and paste.
3329 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3331 (SPI_init): register atexit cleanup handler here.
3333 2001-12-06 Michael Meeks <michael@ximian.com>
3335 * at-bridge/bridge.c (gtk_module_init): g_error on
3336 activation exception
3338 2001-12-06 Michael Meeks <michael@ximian.com>
3340 * at-bridge/bridge.c (gtk_module_init): some sort of
3341 confusing merge clash - reverted.
3342 (bridge_idle_init): ditto.
3344 * test/test-simple.c (main, utterable_normal_derefs):
3345 merge from Bill - somehow not committed.
3347 2001-12-06 Michael Meeks <michael@ximian.com>
3349 * libspi/value.c (spi_value_class_init): upd.
3350 (spi_value_finalize): kill.
3352 * libspi/table.c (spi_table_finalize): kill.
3353 (spi_table_interface_new): upd.
3354 (spi_table_class_init): upd.
3355 (get_table_from_servant): impl.
3356 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3358 * libspi/selection.c (spi_selection_finalize): kill.
3359 (spi_selection_interface_new): upd.
3360 (spi_selection_class_init): upd.
3361 (get_selection_from_servant): impl.
3362 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3364 * libspi/relation.c (spi_relation_finalize): kill.
3365 (spi_relation_class_init, spi_relation_new): upd
3367 * libspi/image.c (spi_image_finalize): kill.
3368 (spi_image_class_init): upd.
3369 (spi_image_interface_new): upd.
3370 (get_image_from_servant): impl.
3371 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3373 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3374 (spi_hyperlink_finalize): kill.
3375 (spi_hyperlink_new): upd.
3376 (get_hyperlink_from_servant): impl.
3377 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3379 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3380 (spi_hypertext_finalize): kill.
3381 (spi_hypertext_class_init): upd.
3382 (get_hypertext_from_servant): impl.
3383 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3385 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3386 (spi_editable_text_interface_new): upd.
3387 (get_editable_text_from_servant): impl.
3388 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3390 * libspi/text.c (get_text_from_servant): impl.
3391 All impls - update to use it killing more cut and paste,
3392 also fix bad string returns on duff args ( a somewhat
3393 impossible case to handle - but hey ).
3394 (spi_text_construct): impl.
3395 (spi_text_interface_new): upd.
3396 (spi_text_object_finalize): kill.
3398 * libspi/component.c
3399 (accessibility_component_object_finalize): kill.
3400 (spi_component_class_init): upd.
3401 (get_component_from_servant): impl. helper to kill cut & paste.
3402 (impl_accessibility_component_contains):
3403 (impl_accessibility_component_get_accessible_at_point):
3404 (impl_accessibility_component_get_position):
3405 (impl_accessibility_component_get_extents):
3406 (impl_accessibility_component_get_mdi_z_order):
3407 (impl_accessibility_component_get_layer):
3408 (spi_component_interface_new): upd.
3410 * libspi/action.c (spi_action_finalize): kill.
3411 (spi_action_class_init): upd. inherit from SpiObject.
3412 (spi_action_interface_new): upd.
3413 (get_action_from_servant): impl. helper to reduce cut & paste.
3414 (impl_getKeyBinding, impl_getName, impl_doAction),
3415 (impl_getDescription): Use it everywhere.
3417 * cspi/spi_main.c (get_live_refs): a pointer hash.
3418 (spi_object_hash, spi_object_equal): comment out.
3419 There are issues with CORBA object hashing that need
3422 * libspi/application.c (spi_application_init),
3423 (spi_application_new): upd.
3425 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3426 (spi_accessible_class_init): upd.
3427 s/accessible/object/ in epv methods.
3429 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3431 * at-bridge/bridge.c:
3432 Reorder the bridge initialization into the bridge gtk_module_init,
3433 an immediate call to bridge_register_app, and an idle_add for
3434 register_atk_event_listeners (the only code that *must* wait until
3435 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3436 the activation, creates the application's Accessible object, and
3437 queues the bridge_idle_init function. Restored call to
3438 Accessibility_Registry_deregisterApplication().
3439 Prior to making this call we obtain a new reference to the
3440 registry, which is a temporary hack that helps us handle apps that
3441 shut down the bonobo mainloop before we get there.
3443 * libspi/registry.c:
3444 Fix string leakage in debug block, and don't segv if a an app
3445 dies before its event notifications have been propagated.
3448 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3449 as stopgap measure until we get proper exception handling when
3450 objects die during or before interrogation.
3454 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3455 Also changed default value of is_gnome_app to TRUE.
3458 * test/keysynth-demo.c:
3459 Changed use of SPI_init and SPI_event_main to reflect API change above.
3462 Made report_focus_event check the warning value from getName
3463 before reporting on focussed accessible; simplifies handling of
3464 notifications from dead objects.
3466 * test/test-simple.c: (Changes not in this patch since source is
3469 2001-12-05 Michael Meeks <michael@ximian.com>
3471 * registryd/registryd.c (main): protect against
3472 bonobo-activation startup race condition.
3474 * cspi/spi_main.c (cspi_object_add_check): cope
3475 with the exception elegantly.
3477 * idl/Accessible.idl: decl. ChildGone
3479 * libspi/desktop.c (spi_desktop_dispose): impl.
3480 (spi_desktop_class_init): upd.
3481 (spi_desktop_add_application),
3482 (spi_desktop_remove_application),
3483 (abnormal_application_termination): impl.
3484 (impl_desktop_get_child_at_index): re-impl.
3487 (impl_accessibility_registry_deregister_application),
3488 (impl_accessibility_registry_register_application):
3489 kill excessive debug clutter.
3491 * test/test-simple.c (test_misc): test some NULL
3492 tolerance. (main): upd.
3494 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3495 implements no interfaces - so let's not crash.
3497 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3499 * libspi/accessible.c (spi_accessible_new_return): impl.
3500 helper to calm the cut and paste, to cope with
3501 NULL AtkObjects effectively and efficiently, and to kill
3502 the referencing bugs.
3504 * libspi/table.c (impl_getAccessibleAt),
3505 (impl_getRowHeader, impl_getColumnHeader): upd.
3507 * libspi/hyperlink.c (impl_getObject): upd.
3509 * libspi/accessible.c
3510 (impl_accessibility_accessible_get_child_at_index): upd.
3512 * libspi/component.c
3513 (impl_accessibility_component_get_accessible_at_point): upd.
3515 * test/test-simple.c (test_editable_text, test_text): impl.
3518 * cspi/spi_editabletext.c
3519 (AccessibleEditableText_insertText): constify.
3521 * test/test-simple.c (focus_me): make more robust.
3523 * libspi/accessible.c: remove some printfs in methods that
3524 we test and work fine, so we can get a clean tree dump.
3526 * test/test-simple.c (validate_accessible),
3527 (validate_tree): make tree dumping pretty too.
3529 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3530 it builds without debug on.
3532 * test/test-simple.c (validate_accessible): fix the most
3535 * cspi/spi_main.c (spi_object_release): leave the nicely
3536 blanked memory around if in debug mode.
3538 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3540 [committed to fixups2]
3541 2001-12-05 Michael Meeks <michael@ximian.com>
3543 * libspi/editabletext.c
3544 (spi_editable_text_class_init): g_type_class_peek_parent,
3545 not interface peek - so we finalize cleanly.
3547 * libspi/accessible.c (spi_accessible_new): kill debug.
3549 * test/test-simple.c (validate_accessible): fix ref.
3550 leak, print strings before freeing them; sigh, comment a
3551 chunk out due to strangeness.
3552 (validate_tree): unref the child after use.
3554 * cspi/spi_component.c (AccessibleComponent_getLayer):
3555 add missing break statement, switch on zlayer not the
3556 uninitialized retval.
3558 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3559 before (possibly re-entering) remote unref.
3561 * test/simple-at.c (main): unref the desktop.
3563 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3566 * cspi/spi_main.c (cspi_accessible_is_a): here to
3567 isolate bonobo API usage more.
3569 * libspi/registry.c (impl_accessibility_registry_register_application):
3570 prune bogus comment.
3572 2001-12-04 Michael Meeks <michael@ximian.com>
3574 * test/test-simple.c (validate_tree): upd.
3575 IndexInParent check to make it more lucid.
3576 (validate_accessible): dump the tree.
3578 * libspi/accessible.c (de_register_public_ref),
3579 (get_public_refs): impl.
3580 (spi_accessible_new): make more efficient & intuitive.
3581 Now IndexInParent check works.
3583 2001-12-04 Michael Meeks <michael@ximian.com>
3585 * cspi/spi-util.h: remove.
3587 * cspi/spi.h: move SPI_freeString here
3589 * libspi/component.c (impl_accessibility_component_get_layer):
3591 (impl_accessibility_component_get_mdi_z_order): ditto,
3592 return -1 on error - is this ok ?
3594 * test/test-simple.c (test_application): impl.
3596 * cspi/spi_accessible.c (Accessible_getApplication),
3597 (Accessible_isApplication): impl.
3599 * libspi/registry.c (spi_listener_struct_free): release
3600 the CORBA reference too.
3602 * libspi/accessible.c
3603 (impl_accessibility_accessible_get_parent): fix ref leak.
3605 * libspi/registry.c (spi_registry_new): make the registry
3606 immortal - we don't want it to go away ever.
3608 * libspi/application.c
3609 (spi_accessible_application_finalize): impl. cleanup.
3611 * cspi/spi_registry.c
3612 (deregisterGlobalEventListenerAll),
3613 (deregisterGlobalEventListener),
3614 (deregisterAccessibleKeystrokeListener): fix ref leak.
3616 * cspi/spi_main.c (SPI_init): remove redundant ref.
3618 * test/test-simple.c (unutterable_horror): impl. to force a
3623 (impl_accessibility_registry_deregister_application): release
3624 the application when we de-register it.
3626 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3627 until we have the infastructure to get it right.
3629 2001-12-03 Michael Meeks <michael@ximian.com>
3631 * libspi/Makefile.am: only build eventlistener.[ch]
3633 * libspi/accessible.c
3634 (impl_accessibility_accessible_get_child_at_index): don't leak.
3636 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3637 before we hit the idle handler.
3639 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3640 debugging than exit.
3642 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3644 * libspi/listener.c (impl_notify_event): check source
3645 not NIL before unref.
3647 * libspi/registry.c (impl_registry_notify_event): ditto.
3649 * libspi/eventlistener.c
3650 (impl_accessible_event_notify_event): unref the source.
3652 * libspi/accessibleeventlistener.c
3653 (impl_accessible_event_notify_event): unref the source.
3655 * idl/Event.idl: remove 'hash_id' attribute - of no
3658 * libspi/application.c (notify_listeners): upd list
3660 (spi_application_object_event_listener),
3661 (spi_application_toolkit_event_listener): upd to do correct
3665 (_registry_notify_listeners): update.
3666 (parse_event_type): this method also leaks like a sieve.
3667 (impl_accessibility_registry_deregister_global_event_listener):
3668 fix ETYPE_WINDOW case.
3670 * libspi/application.c
3671 (impl_accessibility_application_register_object_event_listener):
3674 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3676 * libspi/hypertext.c (impl_getLink): ditto.
3678 * cspi/spi_main.c (cspi_object_add): remove
3679 bogus CORBA_Object_duplicate.
3681 * cspi/spi-listener-impl.c (cspi_event): dup/ref
3684 * cspi/spi_accessible.c
3685 (Accessible_getRelationSet): fix leak / referencing issue.
3687 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3688 (cspi_object_add, cspi_object_unref): upd.
3689 (spi_object_release, get_live_refs): impl.
3690 (cspi_cleanup): simplify.
3692 * *.[ch]: s/boolean/SpiBoolean/
3694 * cspi/spi_accessible.c (role_names): actualy order so it
3695 corresponds with the enum !
3697 * test/test-simple.c (test_roles): check some role strings
3698 vs. enums to detect offset errors.
3700 2001-12-01 Michael Meeks <michael@ximian.com>
3702 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3704 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3706 (Accessible_getChildAtIndex): use cspi_add_check so we
3707 check the ev before using a (possibly) invalid value.
3709 * libspi/accessible.c
3710 (impl_accessibility_accessible_get_parent): don't segv
3713 * at-bridge/bridge.c (gtk_module_init): upd.
3714 (bridge_property_event_listener): don't leak strings
3716 (bridge_state_event_listener),
3717 (bridge_property_event_listener): don't use a static
3718 buffer in case of recursive event emission &
3719 re-enterancy - split out the swathe of cut and paste
3721 (emit_eventv): and fix 2 ref leaks here & comply to the
3723 (bridge_register_app): rename to
3724 (bridge_idle_init): this and kill arg parsing, split
3725 various inits & bonobo-activation registration to module
3726 init time, kill referencing error.
3727 (bridge_exit_func): fix the same leak.
3728 (bridge_focus_tracker): don't leak event structures
3730 (bridge_signal_listener): more leakage and cut & paste
3732 (bridge_key_listener): return the result - FIXME is
3733 this polarity correct ?
3734 (accessibility_keystroke_from_atk_key_event): rename
3735 (accessibility_init_keystroke_from_atk_key_event): and stop
3737 (gtk_module_init): return a value - not that it is checked by
3739 (bridge_key_listener): register my horror at casting between
3740 IDL defined structs.
3741 (bridge_get_registry): kill - not used.
3743 * cspi/spi_accessible.c (Accessible_getRole): make return const.
3745 * test/test-simple.c (test_roles): impl.
3746 (test_desktop, validate_accessible, validate_tree): impl.
3748 * cspi/spi_accessible.c (role_names): fixup bogus
3749 MAX_ROLES setup, make constants const for efficient linkage
3750 (AccessibleRole_getName): conform to coding style, make
3753 2001-11-30 Michael Meeks <michael@ximian.com>
3755 * cspi/spi.h: add missing prototype.
3757 * libspi/registry.c (spi_listener_struct_new): fix sig.
3759 * test/Makefile.am: add test-simple
3761 * test/test-simple.c: add
3763 * test/test.sh: add.
3765 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3767 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3768 do it straight - since otherwise we often get an activation race.
3770 [ work before Bill duplicated a chunk of it ... ]
3771 2001-11-30 Michael Meeks <michael@ximian.com>
3773 * libspi/keystrokelistener.c
3774 (spi_keystroke_listener_class_init): fixup arg
3777 * libspi/eventlistener.c
3778 (spi_event_listener_class_init): ditto.
3780 * tests/test.sh: add.
3782 * cspi/spi-listener-impl.h: update macros.
3784 * cspi/spi-listener-impl.c
3785 (cspi_event_listener_remove_callback): add
3786 correct pre-conditions.
3788 * cspi/spi_main.c (SPI_exit): guard vs. double
3789 exits, exit the mainloop nicely.
3790 (SPI_event_main): make more sense.
3791 (SPI_init): move the atexit evilness here so we
3792 always do it (yuck).
3793 (SPI_event_main): upd.
3795 * test/simple-at.c: update for listener changes.
3797 * registryd/registryd.c (main): prune kruft.
3799 * libspi/libspi.h: upd.
3801 * libspi/eventlistener.[ch]: rename broken macros.
3803 * libspi/accessibleeventlistener.[ch]: remove.
3805 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3807 * test/test-simple.c: Add - automated tests.
3809 * cspi/spi-listener-impl.c (cspi_event),
3810 (cspi_key_event): add user_data to invoke.
3811 (cspi_keystroke_listener_finalize): impl.
3812 (cspi_keystroke_listener_class_init): upd.
3815 (createAccessibleEventListener),
3816 (AccessibleEventListener_addCallback),
3817 (createAccessibleKeystrokeListener),
3818 (AccessibleKeystrokeListener_addCallback): upd.
3820 * libspi/deviceeventcontroller.c
3821 (spi_device_event_controller_check_key_event): add public proto.
3824 (impl_accessibility_registry_deregister_global_event_listener):
3825 always init listeners.
3826 (_registry_notify_listeners): yes it is.
3828 * cspi/spi-listener-impl.c (cspi_key_event):
3830 (cspi_event_listener_finalize): impl.
3831 (cspi_event_listener_class_init): hook up.
3832 (event_handler_new, event_handler_free),
3833 (event_list_remove_by_callback): impl.
3834 (cspi_event_listener_remove_callback),
3835 (cspi_keystroke_listener_remove_callback),
3836 (cspi_keystroke_listener_add_callback),
3837 (cspi_event_listener_add_callback): upd.
3839 * libspi/keystrokelistener.c
3840 (keystroke_listener_object_finalize): kill
3841 (spi_keystroke_listener_class_init): upd.
3842 (spi_keystroke_listener_add_callback),
3843 (spi_keystroke_listener_remove_callback): kill,
3845 (impl_key_event): prune drasticaly.
3847 * libspi/eventlistener.c
3848 (spi_event_listener_add_callback),
3849 (spi_event_listener_remove_callback): kill, use
3851 (impl_accessible_event_notify_event): upd.
3852 (spi_event_listener_object_finalize): remove.
3854 * libspi/Makefile.am: use eventlistener.[ch]
3856 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3858 * libspi/registry.c (_registry_notify_listeners):
3859 Changed listener loop iteration to use preferred convention.
3860 Got rid of string memory leaks caused be calling g_strconcat
3861 inside function calls.
3863 * libspi/registry.c (parse_event_type):
3864 Stopped g_strconcat memory leaks, free the g_strsplit return,
3865 g_strdup the split pieces when used, etc.
3867 2001-12-04 Bill Haneman <bill.haneman@sun.com>
3870 Change method 'compare' to return a 'difference set' rather than
3871 taking a StateSet as an out parameter (more Java-friendly).
3873 * idl/Accessible.idl:
3874 Added CORBA struct 'BoundingBox', to faciliate API changes below:
3876 * idl/Component.idl:
3878 Changed methods 'getExtents' and 'getImageExtents' in these
3879 interfaces to return a BoundingBox structure.
3880 (getPosition and getSize are redundant and possibly should be
3881 removed, rather than creating a corresponding Point struct.)
3883 * cspi/spi_component.c:
3884 Modify implementation of getExtents to reflect the above IDL
3889 Add (missing) AccessibleImage_getExtents () API.
3891 * docs/reference/cspi/at-spi-cspi-sections.txt:
3892 Added AccessibleImage_getImageExtents () to docs.
3894 2001-12-03 Bill Haneman <bill.haneman@sun.com>
3896 * idl/Component.idl:
3897 Added two methods, getLayer () and getMDIZOrder (), to reflect
3898 the new ATK methods atk_object_get_layer and
3899 atk_object_get_mdi_z_order. (Which arguably should be part of the
3900 AtkComponent API and AtkObject). Also added an enum,
3901 ComponentLayer, for the first method's return value.
3903 * libspi/component.c:
3904 Added implementations for these methods.
3906 * cspi/spi_component.c:
3908 Added cspi binding methods for above,
3909 AccessibleComponent_getLayer() and
3910 AccessibleComponent_getMDIZOrder().
3911 Added cspi enum 'AccessibleComponentLayer'.
3913 * docs/reference/cspi/at-spi-cspi-sections.txt:
3914 Added above methods to docs.
3918 Changed typedef for 'boolean' type (and all references to it) to
3919 SPIBoolean, to avoid keyword clashes with C++.
3922 Changed usages of 'boolean' to SPIBoolean.
3924 * test/keysynth-demo.c:
3925 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3926 app), except where SPIBoolean is required by the callbacks API.
3928 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3930 * cspi/spi_registry.c:
3931 Removed obsolete X event loop for passive keygrabs (which now
3934 * registryd/registryd.c:
3935 Removed unnecessary call to gdk_init() [cruft]. This also allows
3936 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3939 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3941 * docs/reference/cspi:
3942 Included docs for SPI_freeString in generated documentation.
3945 Renamed spi_freeString to SPI_freeString, for consistency. Added
3946 documentation for this function.
3949 Renamed spi_freeString to SPI_freeString, for consistency.
3950 Removed obsolete method declaration string_from_corba_string.
3952 * test/keysynth-demo.c:
3953 Small tweak to comments.
3956 Stopped leaking the strings returned from CSPI.
3958 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3960 Merged Michael's branch (see his ChangeLog entries below).
3962 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3963 bridge is alive, release on exit.
3965 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3966 Fix type check macro.
3969 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3972 Added is_gnome_app static, and method cspi_is_gnome_app(),
3973 so we can call the appropriate shutdown routine at exit in SPI_exit.
3975 * cspi/spi_main.c (cspi_object_ref):
3976 Duplicate the corba object passed in, since we're keeping it around.
3978 * cspi/SPI_exit.c, cspi_cleanup:
3979 Moved the releasing of the live refs to its own function, so we
3980 can put it in g_atexit (). Call the appropriate shutdown API
3981 depending on whethe calling client is a gnome app or not
3982 (bonobo_main_quit or CORBA_ORB_shutdown).
3984 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3985 Unref the listener when this method is called, after
3986 deregistration. Updated the API docs to note this behavior.
3988 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3989 Bugfixes: Ref the bonobo object when returning a parent or child
3990 reference, or an AccessibleRelation. Generally made sure
3991 BonoboObject refcount is incremented whenever we return an
3994 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3995 Fixed typo/bug in signal declaration.
3997 * libspi/accessibleeventlistener.h:
4000 * libspi/application.c (spi_application_new):
4001 Fixed leak in initialization.
4004 Remembered to increment bonobo-object refcount when returning
4005 children (applications) from desktop object.
4006 Added (empty) finalize method.
4008 * libspi/deviceeventcontroller.c:
4009 Hold a ref to listeners inside DEControllerKeyListeners.
4010 Added dec_key_listener_free() method. Use prepend instead of
4011 append in key_listener list. Fixed some refcount madness and
4012 leaks in the listener registration/deregistration - deregistration
4013 now calls dec_key_listener_free() on listeners, and on the
4014 temporarily constructed dec_key_listener() used to perform the search/match.
4016 * libspi/hypertext.c (spi_hypertest_finalize):
4017 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4018 class. Also fixed spi_hypertext_interface_new() and
4019 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4021 * libspi/hypertext.h:
4022 Removed pointless and duplicate AtkObject pointer from
4025 * libspi/keystrokelistener.c:
4026 Fixed incorrect type of keystroke_listener_parent_class,
4027 renamed keystroke_listener_object_finalize to
4028 spi_keystroke_listener_object_finalize.
4029 Fixed typo in signal declaration
4030 (spi_keystroke_listener_class_init).
4032 * libspi/registry.c:
4033 Added funcsions spi_listener_struct_new() and
4034 spi_listener_struct_free() to help with memory management issues.
4035 We also now use these methods instead of gnew + poking stuff into
4036 the struct, and to decrement listener counts/free the listeners
4037 when deregistering them.
4038 Fix more refcount bugs in getDesktop() and
4039 getDeviceEventController().
4042 De-ref the desktop after enumerating the applications. Explicitly
4043 decrement the refcounts on the created listeners on exit (using
4044 _unref for keystroke listeners, and via the
4045 deregisterGlobalEventListenerAll command for other event
4048 2001-11-27 Michael Meeks <michael@ximian.com>
4050 * cspi/spi-listener.h: fixup enum.
4052 2001-11-27 Michael Meeks <michael@ximian.com>
4054 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4055 (cspi_keystroke_listener_new): Use the cspi variants.
4057 2001-11-26 Michael Meeks <michael@ximian.com>
4059 * test/keysynth-demo.c: fix 2 compile warnings, missing
4062 * test/simple-at.c (report_focussed_accessible),
4063 (report_focus_event, report_button_press),
4064 (check_property_change, is_command_key),
4065 (report_ordinary_key_event, report_command_key_event): upd.
4067 * util/mag_client.h: include pre-requisites.
4069 * libspi/accessibleeventlistener.c
4070 (spi_event_listener_object_finalize): free any lingering
4073 * libspi/keystrokelistener.c
4074 (keystroke_listener_object_finalize): ditto.
4076 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4077 callbacks, with cspi types.
4079 * cspi/spi_event.c (createAccessibleEventListener): chain to
4080 (AccessibleEventListener_addCallback): here.
4081 (createAccessibleKeystrokeListener): chain to
4082 (AccessibleKeystrokeListener_addCallback): here.
4084 * libspi/keystrokelistener.c
4085 (spi_keystroke_listener_class_init): add signal.
4086 (impl_key_event): emit the event.
4087 (boolean_handled_accumulator): impl.
4088 (marshal_BOOLEAN__POINTER): add, gack.
4090 * libspi/accessibleeventlistener.c
4091 (spi_event_listener_class_init): add signal.
4092 (impl_accessible_event_notify_event): emit the signal &
4093 make the loop efficient.
4094 (spi_event_listener_add_callback): prepend the callback.
4096 * libspi/accessibleeventlistener.h: add an 'event' signal,
4097 decl type on callback.
4099 * libspi/keystrokelistener.h: ditto.
4101 * cspi/spi-listener.h: make methods typesafe and
4102 make them use the new event typedefs.
4104 * test/simple-at.c (report_focussed_accessible):
4105 include mag_client.h
4106 Use *(void *)text_interface not the other thing.
4108 * configure.in: add gtk to registryd bits - since we use
4111 * util/magnifier.c: include libbonobo.h
4113 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4115 * test/keysynth-demo.c:
4116 Turned this into a simple scanning keyboard, to demonstrate the
4117 use of g_timeout_add () as a means of creating timers for
4118 scanning, and the use of GtkStyle for visually indicating when
4119 virtual keyboard elements are selected.
4121 keysynth-demo now listens to any keyboard keys with zero-valued
4122 keycodes (i.e. 'unused' keys) and interprets them as
4125 Reworked the shiftlatch code so that shift-down state isn't held
4126 for long periods (it's only synthesized immediately prior to
4127 the keysynth event it's modifying). Note that shiftlatch in this
4128 demo is a convenience, not intended to take the place of AccessX
4129 which is the better choice for getting 'sticky' modifier keys.
4131 * libspi/deviceeventcontroller.c:
4132 * at-bridge/bridge.c:
4133 * cspi/spi_registry.c:
4134 Removed some debug print stuff, and put other verbosity in #ifdef
4139 Implemented some more of the magnifier IDL for the simple
4140 magnifier: namely, getZoomRegionParams.
4141 Added mag_x and mag_y members to MagnifierData struct, aid of this
4143 Added GtkWindow::realize signal handler to magnifier, to keep it
4144 from receiving keyboard focus from the WM.
4146 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4148 * cspi/spi-private.h: my guess at what michael forgot
4149 before he ran off to NZ :-)
4151 2001-11-23 Michael Meeks <michael@ximian.com>
4153 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4154 comment out non existant method invoke so we link.
4156 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4157 use bonobo_exception_get_text for more friendly warnings.
4159 * cspi/spi.c (Obj_Add): move into spi_main & rename
4160 spi_object_add; kill spi.c
4162 * cspi/spi_registry.c
4163 (deregisterGlobalEventListener),
4164 (deregisterGlobalEventListenerAll),
4165 (registerGlobalEventListener): fix exception leaks.
4167 * cspi/spi_main.c (spi_exception): impl. helper, so we
4168 don't leak exceptions.
4170 * cspi/spi_selection.c
4171 (AccessibleSelection_deselectSelectedChild): return the
4174 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4175 (spi_registry): ditto.
4176 (SPI_init): guard against double inits.
4178 * cspi/*.c: use spi_ev (), and spi_registry () where
4179 appropriate - a temporary hack until we have something
4180 better. Use spi_object_add
4182 2001-11-22 Michael Meeks <michael@ximian.com>
4184 * cspi/Makefile.am: re organise, install the headers.
4186 * cspi/*.h: add G_BEGIN/END_DECLS
4188 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4191 Added non-preemptive keylistener for key events with no modifiers
4192 and shift-only modifier.
4194 * libspi/keystrokelistener.c:
4195 Removed some verbose diagnostics printout.
4197 * cspi/spi_registry.c:
4198 Fixed a bug that caused all key listeners to be registered as
4201 * libspi/deviceeventcontroller.c:
4202 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4203 for non-preemptive key masks.
4206 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4208 * docs/reference/idl/at-spi-idl-docs.sgml:
4209 * docs/reference/idl/at-spi-idl-sections.txt:
4210 * docs/reference/idl/at-spi-idl-overrides.txt:
4211 Added missing files.
4213 * docs/reference/Makefile.am:
4214 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4215 to scan the IDL files :-(
4220 Added .cvsignore files.
4222 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4224 * libspi/deviceeventcontroller.c:
4225 * libspi/keystrokelistener.c:
4227 * cspi/spi_registry.c:
4228 Added filters for KeySets, KeyEventSeq, and event types to key
4229 event dispatching, so listeners should only receive those events
4230 that they requested :-)
4232 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4237 * docs/reference:Makefile.am:
4238 * docs/reference/cspi:
4239 * docs/reference/cspi:Makefile.am:
4240 * docs/reference/cspi:tmpl:
4241 * docs/reference/cspi:tmpl:*.sgml:
4242 * docs/reference/idl:
4243 * docs/reference/idl:Makefile.am:
4244 * docs/reference/idl:at-spi-idl-sections.txt:
4245 * docs/reference/idl:at-spi-idl-docs.sgml:
4246 * docs/reference/idl:tmpl:
4247 * docs/reference/idl:tmpl:*.sgml:
4249 Restructured docs directory to allow separate 'reference' docs
4250 section, and forked idl and cspi docs. Added the sgml template
4251 files to CVS. Added the first sections/structural sgml for the
4254 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4256 * configure.in, libspi/Makefile.am: find libXtst.
4258 2001-11-21 Michael Meeks <michael@ximian.com>
4260 * test/accessx-gui.c: s/spi_value/value/ - doh.
4262 * libspi/base.[ch]: add.
4264 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4266 * idl/Accessible.idl:
4267 * idl/Application.idl:
4270 Started gtk-doc cleanup on IDL.
4272 * libspi/deviceeventcontroller.c:
4273 Added and connected non-preemptive key notification from the
4274 toolkits (in addition to the pre-emptive support from XServer
4275 which we had before, but which causes 'focus flashing'). Filters
4276 are presently limited to key modifiers and global/non-global,
4277 KeySets are presently ignored, as are KeyEvent masks.
4279 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4280 structs into the persistant structure rather than just storing
4281 pointers to things that might not persist across servant
4284 The XGrabKey call now does async keygrabs, because synchronous
4285 ones were deadlocking with GDK_event code in a very nasty way.
4287 Added boolean to internal method notify_keylisteners, to indicate
4288 whether the event came from the 'toolkit source' or the 'global
4289 (XServer) source' - this is used in the notification process to
4290 determine which listeners to send the event to.
4292 deviceeventcontroller.c is now warning-free.
4294 * libspi/registry.c:
4295 Fixed regression in application de-registration.
4296 Also fixed some really brain-dead weirdness having to do with
4297 event dispatching - event structs are now duplicated before being
4298 re-marshalled in the dispatch to listeners. This also fixes a
4299 Solaris build problem.
4302 2001-11-20 Michael Meeks <michael@ximian.com>
4305 (impl_accessibility_registry_deregister_global_event_listener):
4308 * libspi/deviceeventcontroller.c
4309 (spi_device_event_controller_check_key_event): return
4310 FALSE on no virtual method.
4312 * libspi/*..h: make includes work on a correctly pathed install.
4314 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4316 * libspi/application.h: kill unused ( and whacked out )
4317 gboolean *spi_application_set_id (AtkObject *app, long id);
4319 2001-11-20 Michael Meeks <michael@ximian.com>
4321 * libspi/*.[ch]: further convert to bonobo's type func
4322 macros, remove redundnant casts etc.
4324 * libspi/text.c s/accessibility_text/spi_text/g,
4325 re-order to de-cruft.
4327 * libspi/hypertext.c: re-order to kill a huge slew
4328 of redundant forward decls.
4330 * libspi/relation.c: ditto.
4332 * libspi/image.c: ditto.
4334 * */.cvsignore: update
4336 2001-11-20 Michael Meeks <michael@ximian.com>
4338 * libspi/deviceeventcontroller.c
4339 (_controller_register_with_devices): use g_getenv,
4340 kill stdlib.h include.
4342 * libspi/keystrokelistener.c
4343 (spi_keystroke_listener_get_type): kill
4344 (spi_keystroke_listener_class_init),
4345 (spi_keystroke_listener_init): rename to this.
4347 * libspi/text.c (impl_getAttributes): fix warning / bug.
4349 * libspi/*.[ch]: more headers, includes and over commenting.
4351 2001-11-20 Michael Meeks <michael@ximian.com>
4353 * libspi/*.[ch]: fixup headers, includes and over commenting.
4355 * libspi/image.c (impl__get_imageDescription): const
4356 correctness warning fix. remove redundant casting.
4358 * libspi/table.c (impl_getRowDescription): ditto.
4359 (impl_getColumnDescription): ditto.
4361 * libspi/libspi.h: add.
4363 2001-11-19 Michael Meeks <michael@ximian.com>
4365 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4367 * libspi/component.c (accessibility_component_get_type):
4368 rename to (spi_component_get_type): and macroify.
4369 (accessibility_component_init): rename to
4370 (spi_component_init): this
4371 (accessibility_component_class_init): rename to
4372 (spi_component_class_init): this
4374 * libspi/action.c (spi_action_get_type): kill, use the macro.
4376 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4379 * libspi/application.c (spi_application_object_event_listener),
4380 (impl_accessibility_application_register_object_event_listener):
4381 warning fixes / const understanding updates.
4383 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4386 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4388 * libspi/spi_accessible.c: Added docs and C bindings for
4389 AccessibleStateSet. (No implementations yet). Documentation
4390 coverage for C bindings now 100%. Made docs for event listeners
4395 boolean notifyListenersSync (in DeviceEventListener listener,
4396 in DeviceEvent event);
4398 oneway void notifyListenersAsync (in DeviceEventListener listener,
4399 in DeviceEvent event);
4401 Added DeviceEventListener and DeviceEvent structs (may deprecate
4402 KeyStroke and KeystrokeListener in favor of this generic
4403 event/listener framework for devices).
4405 * libspi/deviceeventcontroller.c:
4407 Changed some key listener code to take masks, etc., and paved the
4408 way for integration of toolkit/non-preemptive key events. Changed
4409 signatures of some internal methods.
4411 * at-bridge/bridge.c:
4412 Fixed regression connecting to interface signals, apparently
4413 caused by GTK+ changes.
4415 Added an internal bridge_state_listener to deal with
4416 property-change:accessible-state signals.
4418 Changed the key_listeners GList to store structs (including masks,
4419 etc.) instead of just CORBA_Objects (required for full
4420 implementation of key listener API).
4422 Connected the bridge to all currently supported Atk signals.
4423 Events now supported:
4424 object:property-change
4425 object:property-change:accessible-name
4426 object:property-change:accessible-state
4427 object:property-change:accessible-description
4428 object:property-change:accessible-parent
4429 object:property-change:accessible-value
4430 object:property-change:accessible-role
4431 object:property-change:accessible-table-caption
4432 object:property-change:accessible-table-column-description
4433 object:property-change:accessible-table-column-header
4434 object:property-change:accessible-table-row-description
4435 object:property-change:accessible-table-row-header
4436 object:property-change:accessible-table-summary
4437 object:children-changed
4438 object:visible-data-changed
4439 object:selection-changed
4440 object:text-selection-changed
4442 object:text-caret-moved
4444 object:row-reordered
4446 object:column-inserted
4447 object:column-reordered
4448 object:column-deleted
4449 object:model-changed
4451 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4453 * libspi/hyperlink.c,h:
4454 Fixed some broken stuff in hyperlink.
4456 * libspi/relation.h:
4457 * libspi/relation.c:
4458 * cspi/spi_accessible.c:
4459 Initial implementations of AccessibleRelation methods, and docs.
4461 * libspi/accessible.c:
4462 Fixed a bug that caused SEGV if an accessible
4463 object's description is NULL, and a client
4464 requests it. An empty string is now returned.
4466 * cspi/spi_editabletext.c:
4467 * cspi/spi_hypertext.c:
4469 * cspi/spi_hyperlink.c:
4473 Doc coverage now 95%.
4475 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4477 One last namespacing revision:
4478 * libspi/accessibleeventlistener.[ch]:
4479 Renamed SpiAccessibleEventListener to SpiEventListener,
4480 (no need for two namespaces ;-)
4482 And lots of documentation fixes:
4484 * docs/at-spi-docs.sgml:
4485 Fixed 'underscore vs. hyphen' bug that was preventing
4486 the gtk-doc API docs from being automatically generated.
4489 * cspi/spi-listener.h
4491 * cspi/spi_accessible.c
4493 * cspi/spi_application.c
4494 * cspi/spi_component.c
4495 * cspi/spi_editabletext.c
4497 * cspi/spi_hypertext.c
4499 * cspi/spi_registry.c
4500 * cspi/spi_selection.c
4504 * docs/at-spi-docs.sgml
4505 * docs/at-spi-sections.txt
4507 Added and fixed up gtk-doc documentation in cspi.
4509 Interfaces now (fully) documented (subject to revision and enhancement):
4511 Event Listener Support
4513 AccessibleApplication
4517 AccessibleEditableText
4524 AccessibleRelationSet
4529 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4531 * at-bridge/bridge.c:
4532 Initial work for toolkit-level key snooper connection by bridge.
4537 New typedefs and fixes to support new namespacing, and cleaner
4538 separation of cspi bindings from libspi bonobo implementation.
4539 Removed inconsistent and extraneous Spi* namespace prefix that
4540 had crept into cspi headers.
4541 Lots of comment fixes that sed had missed.
4543 * cspi/spi-roletypes.h:
4544 * cspi/spi-statetypes.h:
4545 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4546 to AccessibleRoleType.
4548 * libspi/accessibleeventlistener.h:
4549 Fixed minor namespacing weirdness.
4551 * libspi/deviceeventcontroller.c:
4552 Reordered some internal API for device listeners.
4553 Changed the key registry final boolean to 'is_system_global'
4554 rather than 'is_synchronous', which is more descriptive of its
4556 Added spi_device_event_controller_new().
4557 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4559 * libspi/keystrokelistener.[ch]:
4560 Namespaced KeystrokeListener to SpiKeystrokeListener.
4561 Changed uses of keymasks to use SPI_ prefix, and did other
4564 * libspi/keymasks.h:
4565 Namespaced keymask constants with SPI_ prefix.
4567 * libspi/registry.c:
4568 Some warning fixes, and knock-on fixes from namespace changes.
4571 Added rules for accessx-gui test program.
4573 * test/accessx-gui.c:
4574 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4575 utility. It doesn't actually use at-spi, but it's still cool and
4578 * test/keysynth-demo.c:
4582 Fixes so that these test clients work properly with the namespaced
4583 libraries. (Incompletely tested for technical reasons, fixes may follow)
4586 2001-11-13 Michael Meeks <michael@ximian.com>
4588 * libspi/application.c
4589 (impl_accessibility_application_get_version),
4590 (impl_accessibility_application_get_toolkit_name):
4592 (impl_accessibility_application_set_id),
4593 (impl_accessibility_application_get_id): remove
4594 redundant casting code.
4596 * libspi/action.c (impl_getDescription): fix warnings.
4598 * libspi/accessible.c
4599 (impl_accessibility_accessible_get_parent),
4600 (impl_accessibility_accessible_get_child_at_index),
4601 (impl_accessibility_accessible_get_state),
4602 (impl_accessibility_accessible_get_relation_set):
4603 warning fixes & include action.h
4605 2001-11-13 Michael Meeks <michael@ximian.com>
4607 * *.[ch] fix bits I screwed up:
4609 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4610 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4612 2001-11-13 Michael Meeks <michael@ximian.com>
4614 * *.[ch] Namespace libspi into spi_ and Spi.
4616 2001-13-11 Michael Meeks <michael@ximian.com>
4618 * Makefile.am: dist & install at-spi-1.0.pc
4620 * libspi/Makefile.am: install into at-spi-1.0
4622 * idl/Makefile.am (idldir): install into at-spi-1.0
4624 * at-spi-1.0.pc.in: add.
4626 * configure.in: build it.
4628 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4630 * test/keysynth-demo.c:
4631 Use a 'realize' signal-handler to set the WM properties for
4632 the virtual keyboard, rather than making it a "POPUP" type
4633 override-redirect window (thanks to anders carlsson for that
4636 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4639 * test/keysynth-demo.c:
4640 Added new test of key synthesis, which creates a simple
4641 (mouse-operated) onscreen keyboard. It inserts key events into
4642 the currently-focused window, thus it does not grab keyboard focus
4645 * cspi/spi_registry.c:
4646 Added C binding for AT-SPI generateKeyEvent.
4648 * libspi/deviceeventcontroller.c:
4649 Added call to XFilterEvent so that key listener works with XIM (we
4650 hope). Added event_synth_type to generateKeyEvent, so that we can
4651 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4652 synthesize a press/release pair for KeySyms.
4654 2001-11-09 Bill Haneman <bill.haneman@sun.com>
4656 * libspi/Makefile.am:
4657 * registryd/Makefile.am:
4658 (temporary) hack to include libXtst in libspi and registryd.
4659 (Needed for keystroke synthesis, see below).
4662 Improved API for registerKeystrokeListener, in accordance with
4663 discussions with Gnopernicus team and X server research.
4665 * libspi/registry.c:
4666 * libspi/deviceeventcontroller.c:
4667 * libspi/accessible.c:
4668 * libspi/keystrokelistener.c:
4669 Changes and fixes to support keylisteners for potentially
4670 consumed key events (that is, 'passive grabs').
4671 Added implementation for generateKeyEvent() [untested].
4674 Changes to registerKeystrokeListener() API, as above.
4675 Added deregisterGlobalEventListenerAll(), and
4676 deregisterKeystrokeListener(), which are needed for clean exit of
4678 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4679 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4681 * cspi/spi_registry.c:
4682 Added implementations of function prototypes mentioned above.
4684 * registryd/registryd.c:
4685 Added the key listener event source as a g_timeout(), to allow
4686 receipt of key events that are not caught by GDK (since GDK
4687 doesn't support passive keygrabs, this was necessary).
4690 Changed to attach a keylistener to 'Alt' keys, and
4691 respond to the following keycommands: Alt-M (toggle magnifier);
4692 Alt-F (toggle speech); Alt-Q (quit).
4693 Added an exit routine to deregister the listeners, and a key
4694 listener that prints some key info to the console when a key
4695 matches the listener mask (and is thus received by the listener).
4697 * util/idl/Magnifier.idl:
4698 Changes to magnifier API to support multiple zoom regions,
4699 non-uniform scaling in x and y, markDirty, and a host of other
4700 features that would be useful to magnification.
4703 * util/mag_client.c:
4704 * util/mag_client.h:
4705 * util/mag_control.c:
4707 Source code changes to support the above IDL changes.
4710 As above, and also changes to use a (slower) generic conversion
4711 path for colormap conversions, since the fast RGB conversions have been
4712 reported to fail for 16-bit displays.
4714 2001-10-26 Michael Meeks <michael@ximian.com>
4716 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4718 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
4720 * at-bridge/Makefile.am: fix LDFLAGS.
4722 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4724 * at-bridge/bridge.c:
4725 Re-worked listeners for toolkit events, now we have signal
4726 and property listeners. Added a private method
4727 register_atk_event_listeners(), which registers with the
4728 various atk and gtk signals we need to monitor in order to emit
4730 Added emission hook for AtkObject:property-change events, to
4731 support the 'property listeners'.
4732 Fixed some alloc()s of Accessibility_Event structs to use CORBA
4735 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4736 which emit warnings and exit, respectively, if CORBA errors occur
4737 during remote calls, and we now use these methods to check most of
4738 our CORBA calls in the C bindings.
4740 * cspi/spi_accessible.c:
4741 Changed AccessibleSelection_refSelectedChild() to
4742 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4743 now increment refcounts.
4745 * cspi/spi_component.c:
4746 Fixed some long pointer casts (dangerous!) to pass pointers to
4747 CORBA_longs of the proper type to the CORBA stubs, and copy the
4748 data into the longs that were passed into the C bindings code.
4750 * at-bridge/bridge.c:
4752 * libspi/accessible.c:
4753 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4754 hyperlinks, AtkHyperlink is an object type.
4756 * libspi/application.c:
4757 Added various conversions to and from "generic" event types and
4758 atk-specific types; this is really part of the 'bridge'
4759 implementation but is valid for all AtkObject-based accessibility
4762 * libspi/editabletext.c:
4763 Fixed nasty bug wherein editable text's finalize method was
4764 unref'ing tha AtkObject reference that the text parent class was
4765 about to unref _again_. There was also a nasty inheritance bug
4766 that meant that the AccessibleEditableText class was corrupt.
4768 * libspi/selection.c:
4769 Provided implementations for some selection API that was broken.
4771 * idl/Application.idl:
4772 Added registerObjectEventListener () method.
4775 Fixed a number of return values that were Bonobo_Unknowns from
4776 bonobo_object_corba_objref(), which I
4777 forgot to dup before returning. Changed instances of
4778 bonobo_object_corba_objref (bonobo_object(o)) to
4779 BONOBO_OBJREF(o), for concision and clarity.
4781 2001-10-13 Louise Miller <louise.miller@sun.com>
4783 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4784 idl/Event.idl, idl/Registry.idl
4785 Changed these files to include Bonobo_Unknown.idl instead
4788 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
4790 * libspi/component.c libspi/component.h:
4791 Fixed typo. Added assertions for object checks in
4792 AccessibleComponent code.
4794 2001-10-09 Bill Haneman <bill.haneman@sun.com>
4796 * idl/Accessible.idl:
4797 Added 'isEqual (Accessible *object)'
4798 method for Accessible. (Not Yet Implemented).
4801 Changed signature of registerKeystrokeListener() to
4802 take a KeySet and KeyEventSeq so that specific keys and event
4803 types could be requested for monitoring, and added a flag
4804 is_synchronous so that either synchronous or asynchronous
4805 notification could be requested. (However this is not all
4806 implemented yet). This also meant adding two new typedefs,
4807 KeyEventSeq and KeySet.
4810 Added two new relations, RELATION_TOOLTIP_FOR and
4811 RELATION_LEAFNODE_OF.
4814 Added new state, STATE_HAS_TOOLTIP.
4816 * libspi/text.c, editabletext.c:
4817 Added new assertions to all casts of bonobo-objects from
4818 CORBA servants, to prevent Text API calls on non-text objects.
4819 Changed suspect casts of int-pointer types, so that we
4820 always send a valid CORBA_long pointer to the CORBA APIs that use
4821 in/out long parameters. We then have to copy from the CORBA_long
4822 into the regular long or int for return to the C bindings, or
4823 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4826 * libspi/deviceeventcontroller.c:
4827 Cleaned these sources up.
4829 Changed return type for getCharacterAtOffset to
4830 CORBA_unsigned_long, to allow for 32-bit characters.
4833 2001-10-08 Bill Haneman <bill.haneman@sun.com>
4837 Fixed 'make dist' so that distro compiles...
4838 * libspi/keymasks.h:
4840 * cspi/spi-listener.c:
4841 KeystrokeListenerCB now returns a boolean.
4843 Added KeyEventType struct, and KeyStroke.
4844 Also added createKeystrokeListener(),
4845 KeystrokeListener_addCallback(),
4846 KeystrokeListener_removeCallback(), and added a keymask to
4847 registerKeystrokeListener().
4848 * cspi/spi_accessible.c:
4849 Changed numerous return types for interfaces from
4850 AccessibleComponent to Accessible<InterfaceName>; this was
4851 probably a cut-and-paste error.
4853 Implementations of new KeystrokeListener api (from spi.h,
4856 Changes to key modifier mapping.
4857 Created ControllerEventMask struct.
4858 Made DeviceEventController derive from Bonobo::Unknown.
4860 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4861 * libspi/deviceeventcontroller.c:
4862 Added a number of new internal (private) methods.
4863 * libspi/editabletext.c:
4864 * libspi/editabletext.h:
4865 Fixed a number of bugs related to the fact that
4866 editabletext inherits from text. Fixed the EditableText struct,
4867 the init() call, and use correct casts when calling Text methods
4868 from an EditableText object. Removed (duplicate) atko from the
4869 EditableText structure, we use the one in the parent Text
4870 structure via the casts mentioned above.
4871 * libspi/keystrokelistener.[ch]:
4872 * libspi/registry.c:
4873 Changes in support of keyboard handling (above).
4875 Keyboard handling, though partly functional, is still not
4876 recommended for at-spi client use as there is considerable
4877 work yet to be done.
4880 Changed some places where pointers to various int types
4881 are cast to be pointers to CORBA_long types and vice-versa:
4882 pointer casting is not safe so we pass pointers of the correct
4883 types and then cast the result before putting it into the target
4886 * libspi/text.h: minor typos corrected.
4888 We now speak not only the name of a Text element, but the
4889 first sentence of its content, when it receives focus.
4890 I also changed the text compression to 75% from 50%.
4891 * util/Accessibility_Util.server.in:
4892 Changed the default magnifier type to be a 3x vertical
4893 splitscreen magnifier (was previously a 2x horizontal one).
4895 2001-10-03 Bill Haneman <bill.haneman@sun.com>
4897 * libspi/keystrokelistener.h:
4898 * libspi/keystrokelistener.c:
4899 Initial functional implementations of KeystrokeListener.
4902 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
4904 Fixed string handling for NULL strings in libspi.
4905 Added spi_freeString to free strings returned by C bindings.
4907 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4909 * libspi/keystrokelistener.h:
4910 * libspi/keystrokelistener.c:
4911 Began (no-op) implementations of KeystrokeListener
4913 * libspi/deviceeventcontroller.c:
4914 * libspi/deviceeventcontroller.h:
4915 Began creating implementations of DeviceEventController,
4916 to handle keystroke and mouse event listening and
4918 * libspi/accessible.c:
4919 Stubbed-in the implementations for
4920 Accessibility_Accessible_getState and
4921 Accessibility_Accessible_getRelationSet.
4922 * libspi/registry.c:
4923 Improved de-registration process and fixed some bugs,
4924 deregistration now works correctly.
4926 Added initialization of applications list (to NULL).
4928 Reduced speech compression from 0.5 to 0.7, for demo.
4929 Changed call to gdk_window_set_decorations()
4930 to gtk_window_set_decorated().
4931 * at-bridge/bridge.c:
4932 Bridge now deregisters when app exits, via
4933 registration of a cleanup function
4934 with the g_atexit() call.
4935 Required making 'app' static, renamed 'this_app'.
4936 Fixed broken use of bonobo_init, passing argv wrongly.
4938 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4942 Created a new directory for
4943 accessibility-related utilities, primarily for
4944 testing and demo purposes, but with possible
4951 Onscreen magnifier utility that
4952 is implemented as a bonobo service.
4954 * util/mag_client.c:
4955 * util/mag_client.h:
4956 Client-side support (simple C bindings)
4957 for Magnification service
4959 * util/mag_control.c:
4960 Client program example for
4961 Magnification service
4963 * util/Accessibility_Magnifier.server.in:
4964 Bonobo-activation file for the
4965 Magnification service.
4968 * util/idl/Magnifier.idl:
4969 IDL defining the bonobo Magnification
4973 Modifications to use the bonobo-activated magnifier
4974 above, in place of trying to connect to an existing
4975 magnifier that uses socket-listening IPC.
4977 If env variable MAGNIFIER is set, a magnifier service
4978 will be started if one does not exist.
4980 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4982 * at-bridge/bridge.c:
4983 applied patch from Marc to build and run
4984 against new glib and gtk+ (seemed like a change
4985 to bonobo_init signature was made ?)
4987 made festival-server support turned off by default.
4988 Added support for a simple magnifier (off by default)
4989 which will be added to a 'util' directory later.
4990 * at-bridge/Makefile.am:
4991 Changed "application.h" header from a 'source'
4992 to a 'dependency' of libat-bridge.
4994 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5003 Added interface implementation c files to list of
5004 includes so they are included in libcspi.
5007 Changed prototype of AccessibleAction_doAction to return a
5009 Changed prototype of AccessibleTable_getCaption to
5010 return an Accessible.
5011 Changed prototype of AccessibleTable_getSelectedRows
5012 and AccessibleTable_getSelectedColumns to
5013 return a long (returns the number of selected rows
5014 or columns respectively).
5015 Changed name of AccessibleText_refRunAttributes to
5016 AccessibleText_getAttributes.
5017 Changed prototype of AccessibleText_getCharacterExtents to
5018 return a void rather than a boolean.
5019 Added support for a AccessibleCoordType parameter
5020 specifying what type of coordinates are desired.
5021 Added an AccessibleCordType parameter to
5022 AccessibleText_getPointAtOffset.
5024 * cspi/spi_accessible.c:
5025 Added code to return the outstanding interfaces from
5026 Accessible_queryInterface.
5028 * cspi/spi_action.c:
5030 Corrected call to getNActions to call the c binding
5033 * cspi/spi_editabletext.c:
5035 Changed name from setRunAttributes to setAttributes.
5037 * cspi/spi_hyperlink.c:
5039 Changed call to getNAnchors to correctly call the c
5040 binding for an attribute.
5042 * cspi/spi_hypertext.c:
5044 Changed getImageDescription to correctly call the
5045 binding for an attribute.
5047 * cspi/spi_selection.c:
5048 Changed getNSelectedChildren to correctly call the c
5049 binding for the attribute.
5050 Changed refSelectedChild to getSelectedChild.
5054 Changed getCaption to return an Accessible.
5055 Fixed calls which retrieve attributes.
5056 Changed refAt to getAccessibleAt.
5057 Changed getNSelectedRows and getNSelectedColumns to
5061 Changed getCharacterExtents and getPointAtOffset to accept an
5062 AccessibleCoordType.
5064 Changed calls which retrieve attributes.
5065 Changed refRunAttributes to getAttributes.
5070 * idl/Hyperlink.idl:
5071 Changed n_anchors attribute to nAnchors to keep naming
5072 convention consistent.
5075 Made Table inherit from Bonobo::Unknown.
5076 Added nSelectedColumns and nSelectedRows attributes.
5079 Made Value inherit from Bonobo::Unknown.
5081 * libspi/hyperlink.c:
5082 Change for nAnchors attributte name change.
5084 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5092 Added interface implementation c files to list of
5093 includes so they are included in libcspi.
5096 Changed prototype of AccessibleAction_doAction to return a
5098 Changed prototype of AccessibleTable_getCaption to
5099 return an Accessible.
5100 Changed prototype of AccessibleTable_getSelectedRows
5101 and AccessibleTable_getSelectedColumns to
5102 return a long (returns the number of selected rows
5103 or columns respectively).
5104 Changed name of AccessibleText_refRunAttributes to
5105 AccessibleText_getAttributes.
5106 Changed prototype of AccessibleText_getCharacterExtents to
5107 return a void rather than a boolean.
5108 Added support for a AccessibleCoordType parameter
5109 specifying what type of coordinates are desired.
5110 Added an AccessibleCordType parameter to
5111 AccessibleText_getPointAtOffset.
5113 * cspi/spi_accessible.c:
5114 Added code to return the outstanding interfaces from
5115 Accessible_queryInterface.
5117 * cspi/spi_action.c:
5119 Corrected call to getNActions to call the c binding
5122 * cspi/spi_editabletext.c:
5124 Changed name from setRunAttributes to setAttributes.
5126 * cspi/spi_hyperlink.c:
5128 Changed call to getNAnchors to correctly call the c
5129 binding for an attribute.
5131 * cspi/spi_hypertext.c:
5133 Changed getImageDescription to correctly call the
5134 binding for an attribute.
5136 * cspi/spi_selection.c:
5137 Changed getNSelectedChildren to correctly call the c
5138 binding for the attribute.
5139 Changed refSelectedChild to getSelectedChild.
5143 Changed getCaption to return an Accessible.
5144 Fixed calls which retrieve attributes.
5145 Changed refAt to getAccessibleAt.
5146 Changed getNSelectedRows and getNSelectedColumns to
5150 Changed getCharacterExtents and getPointAtOffset to accept an
5151 AccessibleCoordType.
5153 Changed calls which retrieve attributes.
5154 Changed refRunAttributes to getAttributes.
5159 * idl/Hyperlink.idl:
5160 Changed n_anchors attribute to nAnchors to keep naming
5161 convention consistent.
5164 Made Table inherit from Bonobo::Unknown.
5165 Added nSelectedColumns and nSelectedRows attributes.
5168 Made Value inherit from Bonobo::Unknown.
5170 * libspi/hyperlink.c:
5171 Change for nAnchors attributte name change.
5174 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5176 implementations-- made server implementations own AtkObject pointers
5177 rather than their respective AtkInterrface pointers to fix
5178 refcounting. AtkHyperlink is still broken.
5180 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5181 * cspi/spi_accessible.c:
5182 Added method Accessible_Role_getName(),
5183 and requisite string array (role_names).
5184 Added conversion string_from_corba_strin() call
5185 to Accessible_getName and _getDescription.
5186 * libspi/accessible.c:
5187 Added implementation for Accessible_getRole()
5189 Added festival support, used if environment variable
5192 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5194 * at-bridge/bridge.c:
5195 Now allocate Accessibility_Event using
5196 Accessibility_Event__alloc() instead of g_new0().
5197 * libspi/accessibleeventlistener.c:
5198 Initialize AccessibleEventListener->callbacks to NULL.
5199 Fixed accessible__event_listener_init() param, changed to
5200 "AccessibleEventListener *" type.
5201 Changed a bonobo_object_release_unref() call to
5202 Accessibility_Accessible_unref().
5203 * libspi/listener.c:
5204 Changed Bonobo_Unknown_unref to (equivalent)
5205 Accessibility_Accessible_unref.
5206 * libspi/registry.c:
5207 Changed bonobo_object_release_unref to
5208 Accessibility_Accessible_unref.
5210 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5213 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5214 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5215 spi-util.c spi-util.h
5216 Implementations for C bindings to remaining accessibility
5219 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5222 changed return value of Action from void to boolean to
5223 bring in line with ATK.
5226 Changed getText funcions to return "out" start and end offsets.
5227 Changed getAttributes to take and offset and return the start
5228 and end offset of the attribute run.
5229 Changed getOffsetAtPoint and getCharacterExtents to take an
5230 enum describing whether coordinates are window or screen.
5233 libspi/action.c libspi/action.h libspi/editabletext.c
5234 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5235 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5236 libspi/image.h libspi/selection.c libspi/selection.h
5237 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5238 libspi/value.c libspi/value.h
5239 Added server implementations for outstanding ATK interfaces
5240 not yet implemented.
5242 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5245 Added (missing) getName() method.
5246 Made nActions an attribute.
5247 * idl/EditableText.idl:
5248 Changed order of params in setAttributes.
5249 * idl/Hyperlink.idl:
5250 Removed getAnchor, added getURI.
5252 Changed attributes to methods, for efficiency
5253 (so that getting extents can be done in one call)
5254 * idl/Selection.idl:
5255 Changed nSelectedChildren to attribute, and re-indented.
5256 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5258 * idl/Text.idl: reformatted to match our coding style.
5259 (temporarily?) removed getRowColumnAtOffset().
5260 Changed text selection API to support multi-select and
5261 non-contiguous selections, as in ATK.
5262 * idl/Value.idl: changed some methods to attributes.
5264 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5266 * libspi/listener.c(impl_notify_event):
5267 BonoboUnkown_unref the source instead
5268 of bonobo_object_release_unref - the ORB
5269 handles the releasing.
5271 * configure.in: require ORBit-2.3.94 for
5274 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5276 Tagged CVS repository 'EA_1_0'.
5277 * README.EARLY_ACCESS:
5278 Alphabetized acknowledgements list, and
5280 Listed some known dependencies of at-spi.
5282 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5284 * docs/at-spi-docs.sgml:
5285 * docs/at-spi-sections.txt:
5286 * docs/at-spi-overrides.txt: (Added zero-length file)
5287 Documentation improvements - gtk-doc should build
5288 docs for all implemented C bindings now.
5291 * cspi/spi.c: (New file)
5292 * cspi/spi_event.c: (New file)
5293 * cspi/spi_registry.c: (New file)
5294 * cspi/spi_accessible.c: (New file)
5295 * cspi/spi_application.c: (New file)
5296 * cspi/spi_component.c: (New file)
5297 Split spi_main.c into six parts, and included them from
5298 "spi.c". This is a bit of a hack, probably temporary,
5299 but required by gtk-doc, apparently.
5301 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5304 * docs/at-spi-docs.sgml:
5305 * docs/at-spi-sections.txt:
5307 Initial checkins/modifications for gtk-doc generation.
5310 Added (missing) interface query methods to Accessible's C binding.
5312 Added GenericInterface type definition.
5314 Added query for AccessibleComponent interface to focus event handler.
5315 Added printout of bounding box for focussed component.
5316 * libspi/component.c:
5317 Added partial implementation for AccessibleComponent to C binding.
5318 * idl/Application.idl:
5319 * libspi/registry.c:
5320 * libspi/listener.c:
5321 * libspi/application.c:
5322 * libspi/application.h:
5323 Changed "ID" attribute type from string to long.
5325 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5329 Made method naming consistent: methods taking object args
5330 start with uppercase, other methods (except those using
5331 acronyms) start with lowercase. Underscores delimit between
5332 object names and method names:
5333 SPI_init() - uppercase since it starts with an acronym.
5334 getDesktopCount () - lowercase start since no object param0.
5335 Accessible_getName() - uppercase object type name, studlyCaps method
5339 Added gtk-doc documentation for all currently implemented
5340 methods in the C bindings API.
5342 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5344 * Makefile.am : changed build order to build test last.
5347 Changed "createEventListener" to "CreateEventListener".
5348 * libspi/accessibleeventlistener.c :
5349 Bugfix for addition of callbacks.
5350 * test/Makefile.am :
5351 * test/simple-at.c :
5352 Added new test that uses the C bindings API.
5354 * libspi/listener.c :
5355 * libspi/registry.c :
5356 * libspi/accessibleeventlistener.c :
5357 * at-bridge/bridge.c :
5358 Renamed member "target" of Accessibility_Event to "source",
5359 which is more descriptive.
5362 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5366 * cspi/Makefile.am :
5367 Added makefile support for at-spi/cspi directory.
5370 * cspi/spi-listener.h : (NEW FILE)
5371 Added support for/use of spi-listener.h.
5373 C bindings now build successfully, with no warnings.
5374 * libspi/accessibleeventlistener.h : (NEW FILE)
5375 * libspi/accessibleeventlistener.c : (NEW FILE)
5376 * libspi/Makefile.am :
5377 Added new object type "AccessibleEventListener"
5378 which inherits from Listener, and allows attachment
5379 of in-process callbacks (so that a client with a listening
5380 object instance can add functionality to the local
5381 implementation, dynamically).
5383 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5385 * libspi/accessible.c:
5386 Add implementation for get_index_in_parent().
5388 Added #include of "spi-roletypes.h", and
5389 added enumerated type AccessibleCoordType.
5390 Added definition for KeystrokeListener (function type).
5393 * cspi/spi-statetypes.h :
5394 * cspi/spi-roletypes.h :
5396 Added these headers, used by spi.h.
5398 Added code (NOTE: not yet built by make).
5400 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5402 * libspi/Makefile.am: generate imodule
5403 at the same time as other idl compiler
5406 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5407 * libspi/registry.c :
5408 * libspi/application.c :
5409 * idl/Application.idl :
5410 Made registration with toolkit an application method,
5411 which is required since each app has its own toolkit static
5412 environment. Thus the bridge must register for
5413 notification of toolkit events from each application in turn.
5414 Toolkit notifications are now successfully registered for, and
5415 sent to the listening at client.
5417 Changed toolkit event string to use hyphens rather than underscores.
5418 * libspi/listener.c :
5419 listner now gives more info in debug mode - it reports the
5420 name of the event received, as well as the name of the source.
5423 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5425 * libspi/registry.c :
5426 added more implementation for toolkit events.
5427 Fixed bug such that toolkit event registrations
5428 (via atk) use the whole event name string, not
5430 Removed a useless call to an ORBit_ method.
5431 * at-bridge/bridge.c :
5432 Removed unused local sbuf[] variable.
5434 We now register for Gtk:GtkWidget:button_press_event
5435 events as well as "focus:" events.
5437 Add some more API from Registry.idl that was missing,
5438 for keystroke listening, keystroke and mouse event
5439 synthesis, and enumeration of accessible desktops.
5441 2001-08-16 Michael Meeks <michael@ximian.com>
5443 * configure.in: use AM_GLIB_GNU_GETTEXT.
5445 * Makefile.am (SUBDIRS): kill intl.
5447 2001-08-15 Michael Meeks <michael@ximian.com>
5449 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5451 * configure.in: upd.
5453 * configure.in: depend on a recent bonobo-activation that
5454 will find our server files ...
5456 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5458 * libspi/accessible.c : accessible_new() :
5459 Now we add the Component interface via bonobo_object_add_interface,
5460 if the contained AtkObject implements AtkComponent.
5461 * libspi/accessible.h : now include "component.h"
5462 * libspi/component.h :
5463 * libspi/component.c : added files - implementation of
5464 bonobo wrapper object for Accessibility/Component
5465 * libspi/listener.c :
5466 Added test code to check for Accessibility/Component:1.0
5467 interface and report whether it is implemented by the
5469 * libspi/registry.c :
5470 Now we check for not only the hash of the whole event
5471 string before relaying the event, we also check the
5472 "minor" event string (without the detail string).
5473 This allows event listeners to be registered against
5474 all events of a certain major+minor type, or just
5475 against a specific major+minor+detail type.
5476 * libspi/accessible.c :
5477 Added implementations for Accessible:get_parent(),
5478 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5479 * libspi/registry.c :
5480 * libspi/listener.c :
5481 Replaced calls to Accessibility_Accessible_ref() and
5482 Accessibility_Accessible_unref() with
5483 calls to bonobo_object_dup_ref() and
5484 bonobo_object_release_unref(), so that the CORBA object
5485 is dup-ed and released when relayed, as well as the bonobo object.
5487 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5489 * libspi/Makefile.am,
5490 registryd/Makefile.am,
5491 at-bridge/Makefile.am.
5492 test/Makefile.am, configure.in:
5493 reverse previous changes.
5495 * /idl/Image.idl: fix typo.
5497 * test/Makefile.am: put DEBUG_FLAGS
5500 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5502 * test/app.c: use argv[0] instead of
5505 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5507 * libspi/Makefile.am,
5508 registryd/Makefile.am,
5509 at-bridge/Makefile.am.
5510 test/Makefile.am, configure.in:
5511 cleanup, replace individual LIBS/CFLAGS with
5512 AT_COMMON_{LIBS|CFLAGS}.
5516 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5518 * configure.in, libspi/Makefile.am:
5519 Change IDL path checking for bonobo-activation
5522 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5524 * registryd/registry.c : separated event listeners to use
5525 3 separate lists (focus, window, toolkit). Began testing
5526 event names against hashes before relaying events.
5527 * test/at.c : now register for events of type "focus:"
5528 * test/app.c : now generate events of type "focus:"
5529 * at-bridge/bridge.c : register with ATK for focus events,
5530 and we now relay those focus events to any "focus:" listeners.
5531 This now works with the bridge as a GTK_MODULE when running test/at.
5532 * libspi/registry.c :
5533 * libspi/listener.c :
5534 now we ref event sources before propagating, and unref on receipt.
5535 * libspi/registry.c :
5536 some changes to internal structs, to support event typestring hashes.
5537 * text/app.c : changed the way the appname is generated.
5538 * cspi : added directory that will hold the C bindings library for
5539 non-CORBA/bonobo-savvy clients.
5540 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5541 * idl/Component.idl : added in parameter to indicate coord system for
5542 geometry-related calls.
5543 * idl/Hyperlink.idl : added readonly n_links attribute
5544 * idl/Image.idl : changed methods to attributes.
5546 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5548 * at-bridge/Makefile.am: link against
5549 ../libspi/libspi.la instead of -lspi.
5551 * at-spi/test/app.c: include
5552 bonobo-activation.h. Use a default appname
5553 if one is not provided.
5555 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5557 * idl/Registry.idl : temporarily changed register_Application
5558 to oneway, to work around issue with initial registration
5560 * idl/Application.idl : changed attribute "id" from readonly
5561 to read-write, since it needs to be assigned by Registry.
5562 * registryd/registryd.c : added call to set application id
5564 * registryd/registry.c : changed de-registration procedure to
5565 use CORBA_Object_hash() to find matching object ref in application
5566 lists and listener lists.
5567 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5568 began distinguishing between event types (work in progress).
5570 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5573 * libspi/application.c:
5574 Added implementations for get/set id, get_toolkitName,
5576 * registryd/registryd.c :
5580 Converted from use of OAF to bonobo-activation.
5581 * libspi/desktop.h :
5582 * libspi/desktop.c :
5584 Removed references to atksimpleobject, since base atkobject
5585 implementation now provides functionality we need.
5586 * libspi/atksimpleobject.c :
5587 * libspi/atksimpleobject.h :
5592 * at-bridge/Makefile.am
5593 * at-bridge/bridge.c
5596 Added directory "bridge" and contents, and added dependencies
5597 in Makefile.am/configure.in.
5598 Initial checkin of "at-bridge".
5599 This code is a GTK_MODULE which automatically registers
5600 GTK+ apps with the accessibility registry, using an object
5601 reference to the root ATK object.
5603 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5605 * po/Makefile.in.in: Remove. Again. If this
5606 doesn't get autogenerated - you need to update
5609 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5611 * po/Makefile.in.in: Add. Again.
5613 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5615 * libspi/accessible.c : added support for 'description' property.
5616 * libspi/accessible.c
5618 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5619 (since the two are now equivalent in libbonobo)
5627 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5628 Bonobo::Unknown as does Accessibility::Accessible.
5629 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5630 interface with Bonobo::Stream, since it was redundant with it.
5631 (The Stream returned by a StreamableContext object is expected to
5632 implement only a subset of Bonobo::Stream)
5634 2001-07-28 Anders Carlsson <andersca@gnome.org>
5636 * libspi/accessible.c (accessible_object_finalize): Change
5637 g_free to g_object_unref since the AtkObject is a GObject.
5639 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5641 * idl/Accessibility.idl: add new IDL files
5644 * idl/Action.idl: Definitions of actionable UI object
5645 * idl/Component.idl: Definitions of UI component geometry, etc.
5646 * idl/Hyperlink.idl: Defs of hyperlink behavior
5647 * idl/Image.idl: Def of accessible image
5648 * idl/Selection.idl: Definition of UI object with selectable children
5649 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5650 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5651 * idl/Text.idl: Interface defs for UI elements with complex textual content
5652 * idl/Value.idl: Definition of UI element that is a value controller or display
5654 2001-07-27 Michael Meeks <michael@ximian.com>
5656 * po/Makefile.in.in: remove autogenerated file from CVS.
5658 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5661 * idl/Registry.idl: include guard.
5663 * idl/Accessibility.idl: Add, and include all the other IDL
5666 * idl/*.idl: remove mass of pragmas etc.
5668 2001-07-26 Michael Meeks <michael@ximian.com>
5670 * registryd/Makefile.am (registryd_SOURCES): remove
5673 2001-07-27 Mark McLoughlin <mark@skynet.ie>
5675 * libspi/.cvsignore, registryd/.cvsignore,
5676 test/.cvsignore: updated.
5678 * po/Makefile.in.in: gettext update.
5680 2001-07-25 Bill Haneman <bill.haneman@sun.com>
5682 * initial CVS checkin
5684 2001-06-29 Michael Meeks <michael@ximian.com>
5686 * configure.in: add AM_CONFIG_HEADER to gen config.h