1 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
3 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
5 * cspi/spi_accessible.c (cspi_init_relation_type_table):
6 Add line for RELATION_POPUP_FOR
8 * docs/reference/cspi/tmpl/spi_relation.sgml:
9 Add relation SPI_RELATION_POPUP_FOR
11 * docs/reference/cspi/tmpl/spi_stateset.sgml:
12 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
14 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
16 * libspi/relation.c (spi_init_relation_type_table):
17 Add line for RELATION_POPUP_FOR
19 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
21 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
22 there are still windows which have not been deleted and emit
23 window:deactivate, if necessary and window:destroy events.
24 This fixes bug #114370. The change on June 5th was not correct.
26 2003-06-09 Bill Haneman <bill.haneman@sun.com>
28 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
31 (SPI_dupString): Allow dup-ing of a string such that it's safe to
33 New methods for client exception handling and interception.
34 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
35 (SPI_exceptionHandlerPop): You guessed it...
36 (SPI_getSourceType): Return the type of object which offended.
37 (SPI_getExceptionCode): Return an enum code telling, possibly,
38 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
39 (SPIAccessibleException_getSource): get the source object for
40 exceptions that come from Accessibles, if SPIExceptionSourceType is
41 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
42 (SPIException_getDescription): New, returns a string description of
43 the problem. [Not yet a stable ABI, strings are not frozen]
46 Added implementation details of opaque SPIException
50 Implementations of above. Also
51 (_cspi_exception_throw): new private method that
52 dispatches exceptions to handlers, called from cspi-bonobo.c
54 * cspi/bonobo/cspi-bonobo.c:
55 (cspi_check_ev): call _cspi_exception_throw.
56 Don't print a warning message if the exception has been
57 handled by _cspi_exception_throw.
59 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
61 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
62 there are still windows which have not been deleted and emit
63 window:deactivate, if necessary and window:destroy events.
64 This fixes bug #114370.
66 2003-06-03 Bill Haneman <bill.haneman@sun.com>
69 (cspi_accessible_is_a): Make non-fatal
70 if the object reference is dead.
72 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
74 * cspi/spi_main.c: #include <stdio.h>
75 * test/simple-at.c: ditto
76 * test/event-listener-test.c: ditto
77 * test/screen-review-test.c: ditto
79 2003-05-30 Michael Meeks <michael@ximian.com>
81 * test/test-simple.c (main): use CORBA_ORB_perform_work
82 instead of an unnecessary linc_ call.
84 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
86 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
87 Add SPI_STATE_INDETERMINATE.
89 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
92 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
94 * libspi/stateset.c (init_state_type_tables): Add support for
97 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
99 * configure: Update versions of atk and gail required.
100 This fixes bug #113268.
102 2003-05-02 Bill Haneman <bill.haneman@sun.com>
104 * configure.in: Revved micro version to 1.3.1 (because of build fix).
106 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
108 * libspi/Makefile.am:
109 Ensure headers are generated before being used by c sources.
111 2003-05-01 Bill Haneman <bill.haneman@sun.com>
114 Simplified lt versioning rules.
115 Incremented version to 1.3.0, to indicate that we're on the
118 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
120 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
121 Add MKDB_OPTIONS=--outtput-format=xml
123 * docs/reference/cspi/at-spi-cspi-docs.sgml
124 docs/reference/idl/at-spi-idl-docs.sgml:
125 Convert to Docbook XML.
127 This fixes bug #111793.
129 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
131 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
132 AcccessibleKeyEventType, AccessibleKeyMaskType.
134 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
136 * cspi/state-types.h: Add documentation for AccessibleState.
138 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
139 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
140 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
141 AccessibleComponentLayer.
143 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
146 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
148 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
149 Accessible. Add description of AccessibleEvent,
150 AccessibleEventListenerCB.
152 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
155 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
156 documentation. Add description of AccessibleKeystrokeListenerCB,
157 AccessibleKeyEventMask, AccessibleModifierMaskType,
158 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
159 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
161 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
164 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
167 This fixes bug #104730.
169 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
171 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
172 Set is_text field of Accessibility_DeviceEvent data structure.
174 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
175 is-text field of AccessibleDeviceEvent data structure.
177 This addresses part of bug #108666.
179 * registryd/devcieeventcontroller.c: Unset debug option.
181 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
184 (cpi_initial_relation_type_table): New function which initializes
185 mapping between Accessibility_RelationType and AccessibleRelationType.
186 (cspi_relation_type_from_spi_relation_type): New function which
187 translates an Accessibility_RelationType into an AccessibleRelationType.
188 (AccessibleRelation_getRelationType): Use
189 cpi_relation_type_get_spi_relation_type to return correct value.
190 (spi_state_to_corba): Return correct type for default case.
192 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
193 Use Accessibility_EventType instead of Accessibility_KeyEventType.
195 * cspi/cspi-bonobo-listener.c:
196 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
199 * libspi/accessible.c, libspi/action.c, libspi/application.c,
200 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
201 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
202 libspi/image.c, libspi/listener.c, libspi/selection.c,
203 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
204 registryd/desktop.c, registryd/registry.c:
205 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
207 * libspi/eventlistener.c
208 Remove semicolon after BONOBO_TYPE_FUNC.
211 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
212 (spi_init_relation_type_table): Initialize using correct type.
214 * registryd/desktop.c:
215 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
216 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
217 of Accessibility_KeyEventType.
219 * test/key-listener-test.c (report_tab_key_event): Use fprintf
222 * tests/simple-at.c, tests/screen-review-test.c:
223 Add include for <strings.h>.
225 * tests.stress-test.c:
226 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
228 These changes fix compiler warnings when using FORTE compiler on
229 Solaris; fixes bug #107479.
232 2003-04-10 Bill Haneman <bill.haneman@sun.com>
235 * configure.in: revved to 1.1.10
238 (SPI_KEYMASK_NUMLOCK): Added.
240 * registryd/deviceeventcontroller.c:
241 (spi_key_event_matches_listener): AND with a smaller
242 bitmask (as we should).
243 (spi_dec_translate_mask):
244 New method, sets the virtual NumLock modifier bit
245 if numlock is on. Eventually it can handle other virtual
246 modifier bits if needed, or other marshalling from
247 at-spi modifier masks to platform (X) masks.
248 (spi_dec_key_listener_new):
249 Call spi_dec_translate_mask to set up virtual mod bits
250 in the 'mask' field when creating a new listener struct.
251 (spi_dec_emit_modifier_event):
252 Set the virtual (i.e. NumLock) bits before emitting event.
253 (spi_controller_register_with_devices):
254 Query for the NumLock modifier 'physical' bit if Xkb is
255 present, for use in above methods.
259 2003-04-10 Bill Haneman <bill.haneman@sun.com>
261 * registryd/deviceeventcontroller.c:
262 (spi_keystroke_from_x_key_event):
263 Instead of checking to see if the keysym is
264 printable, check the string from XLookupString
265 if available, get the first unicode character from it,
266 and call g_unichar_isprint to determine whether the
267 is_text flag should be TRUE or FALSE.
271 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
273 * atk-bridge/bridge.c: Add support for extended events
274 * cspi/spi_event.c: Add documentation and implementation for
276 * tests/event-listener-test.c: Add tests for extended events.
278 This fixes bugs #100424 and #100426.
280 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
282 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
283 of LT_CURRENT. This fixes bug #89350.
285 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
287 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
288 number of signal parameter values before accessing them. This fixes
291 2003-04-01 Bill Haneman <bill.haneman@sun.com>
293 * configure.in: Fixed duplicate inclusion of -lspi.
294 * branched for gnome-2-2/HEAD.
295 [created tag "gnome-2-2"]
297 2003-03-07 Bill Haneman <bill.haneman@sun.com>
299 * configure.in: 1.1.9 release.
302 2003-03-07 Bill Haneman <bill.haneman@sun.com>
304 [needed by GOK, to fix bugs 107985 and 107988]
305 * registryd/deviceeventcontroller.c:
306 (spi_dec_clear_unlatch_pending):
307 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
308 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
309 (spi_dec_init_mouse_listener):Emit warning if mouse button
311 (spi_device_event_controller_forward_mouse_event):
312 Removed unnecessary parens from a conditional.
313 (global_filter_fn):Added TODO comment.
314 (impl_generate_keyboard_event):
315 Cancel a pending relatch if a 'delatching' key was
318 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
320 * atk-bridge/bridge.c:
321 Change atk_signal_child_changed to atk_signal_children_changed.
322 Reorganize code in spi_atk_bridge_signal_listener().
324 * test/event-listener-test.c:
325 Add children_changed_listener and report_children_changed_event()
326 to test AccessibleChildEvent_getChildAccessible.
328 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
330 * cspi/spi_event.c (cspi_internal_event_get_text): Change
331 g_strdup to CORBA_String_dup (bug #105291)
333 * test/event-listener-test.c (report_text_event): Add call to
336 2003-02-28 Bill Haneman <bill.haneman@sun.com>
338 * registryd/deviceeventcontroller.c:
339 (spi_keystroke_from_x_key_event):
340 Fix string and keysym return codes to match modifier state.
343 2003-02-28 Bill Haneman <bill.haneman@sun.com>
345 * registryd/deviceeventcontroller.c:
346 (spi_keystroke_from_x_key_event):
347 Fix segv due to improper use of isprint(c). [bug #107254]
349 2003-02-24 Bill Haneman <bill.haneman@sun.com>
352 (get_accessible_text_boundary_type):
353 Move default return value to (new) default case in switch.
354 (get_accessible_text_clip_type):
355 Move default return value to (new) default case in switch.
357 * libspi/application.c:
358 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
359 Remove unused methods.
360 (impl_accessibility_application_register_object_event_listener):
361 Remove unused methods.
364 Added #include of <math.h>.
366 * registryd/deviceeventcontroller.c:
367 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
368 we don't currently use this method.
369 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
371 (impl_generate_key_event):
372 Remove unused variables.
373 (impl_generate_mouse_event):
374 Initialize button to zero, just in case we get an invalid
375 input. Added support for mouse buttons 4 and 5.
376 (spi_device_event_controller_new):
377 Removed unused variable declaration for 'private'.
379 Added #include of <gdk/gdk.h>
381 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
383 * configure.in: Update to work when X is not installed in expected
384 location. Fixes bug #105836.
386 * atk-bridge/bridge.c
387 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
389 (spi_atk_register_event_listener): Add signal listener for
391 (spi_atk_bridge_signal_listener): Event event when link-selected
392 signal is emitted. (bug #104622)
394 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
395 on returned string. (bug #105291)
397 * test/event-listener-test.c: Add test for link-selected.
399 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
401 * atk-bridge/Makefile.am: Correct typo in previous commit.
403 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
405 * atk-bridge/Makefile.am: Allow for build directory to be different
406 from source directory
408 * registryd/Makefile.am: Allow for build directory to be different
409 from source directory
413 2003-01-29 Bill Haneman <bill.haneman@sun.com>
416 Fixed dependencies for libcspi so that libspi gets pulled in
417 properly. Fixes 104741.
421 Clean up inline docs a little.
423 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
425 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
426 This is done by implementing AtkComponent for SpiAtkDesktop, which is
427 the AtkObject within an SpiDesktop.
428 This addresses bug #101524.
430 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
431 Remove call to gdk_init().
433 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
434 so that Display is set when SpiDesktop is created.
436 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
438 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
439 This fixes bug #102830.
441 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
443 * test/test-simple.c: Update to take account of fact that GailButton
444 now implements AtkText.
445 (create_text_window): Set name on AtkObject for GtkEntry.
446 (validate_accessible): Check accessible name before calling test_text().
448 * libspi/Makefile.am: Fix problem with building outside of source
449 directory. Bug #98120.
451 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
452 typo in documentation comments. Bug #94275.
454 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
456 * libspi/text.c (impl_getBoundedRanges): Bug fix.
458 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
461 Add includes to avoid compiler warnings on Solaris.
462 (impl_getRangeExtents): Bug fix.
464 2002-12-17 Bill Haneman <bill.haneman@sun.com>
466 Fix for 100944, [API addition approved by Gman and murrayc].
473 * idl/Accessibility_Text.idl:
474 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
475 (Text::getRangeExtents): New method for efficient
476 bounds query of a text range.
477 (Text::getBoundedRanges): New method for efficient
478 clipping of text to bounding boxes.
479 (unImplemented7, unImplemented8):
480 Removed these padding methods to preserve bincompat.
483 (impl_getRangeExtents): implementation of new IDL.
484 (impl_getBoundedRanges): implementation of new IDL.
485 (SpiTextRect): Internal use struct.
486 (_spi_text_rect_union): internal method, calculates union of two
487 SpiTextRect bounding rects.
488 (_spi_text_range_seq_from_gslist): internal method, allows us
489 to build our sequence efficiently as a gslist then convert it
491 (_spi_bounds_contain): internal method, determines whether
492 a text character is "in" or "out" of a clip rect according to
493 values of TEXT_CLIP_TYPE.
494 (spi_text_class_init): Initialize the new methods in the epv.
497 (AccessibleTextClipType): New enum used by screen review api.
498 (AccessibleTextRange): New struct used by screen review api.
499 (AccessibleText_getRangeExtents):
500 cspi binding for Accessibility_Text_getRangeExtents.
501 (AccessibleText_getBoundedRanges):
502 cspi binding for Accessibility_Text_getBoundedRanges.
503 (AccessibleTextRange_freeRanges): convenience method.
506 (AccessibleText_getRangeExtents):
507 cspi binding for Accessibility_Text_getRangeExtents.
508 (AccessibleText_getBoundedRanges):
509 cspi binding for Accessibility_Text_getBoundedRanges.
510 (AccessibleTextRange_freeRanges): convenience method.
511 (get_accessible_text_clip_type): internal conversion method.
512 (get_accessible_text_ranges_from_range_seq): internal conversion method.
514 * registryd/deviceeventcontroller.c:
515 (spi_dec_mouse_check):
516 Improved behavior for mouse:abs events
517 [same granularity as mouse:rel events, and no
518 events when mouse is idle].
520 2002-12-16 Michael Meeks <michael@ximian.com>
522 * cspi/spi_accessible.c (spi_state_to_corba): rename.
524 * libspi/stateset.c (state_spi_to_atk): split out
525 ( fix several remote array bounds nasties )
526 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
527 (impl_remove): make safe from array bounds issues.
528 (spi_atk_state_from_spi_state): impl.
530 * libspi/stateset.h (spi_state_set_cache_is_empty):
531 add a set of wrapper defines to get layering right.
533 * cspi/spi_accessible.c: update state set stuff to
536 2002-12-14 Michael Meeks <michael@ximian.com>
538 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
539 to avoid 2 roundtrips to the registry per key event
540 (spi_atk_bridge_key_listener): upd.
541 (deregister_application): release the dec.
543 * registryd/registry.c (notify_listeners_cb):
544 bin lots of re-enterant complexity - we no longer
545 do a round-trip bonobo ref here, ensure that a single
546 listener's exception failure won't poison all other
548 (impl_registry_notify_event): bin obvious memory leak.
550 2002-12-13 Michael Meeks <michael@ximian.com>
552 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
553 init the ev so the error is meaningful.
554 (spi_atk_bridge_key_listener): ditto.
556 * cspi/spi_main.c (cspi_ev): init the ev so we start
557 with a clean slate, otherwise the first exception
560 * cspi/spi_text.c (get_accessible_text_boundary_type):
561 add a fallthrough for no warnings.
563 * cspi/spi_registry.c: prune unused warnings.
565 * cspi/spi_main.c (cspi_object_take): fix
566 mind-blowing brokenness ( by watching the compile
569 * cspi/spi_accessible.c (Accessible_getStateSet):
570 re-impl. to use an AtkStateSet.
571 (spi_state_type_from_accessible_state),
572 (init_state_table): bin these.
574 * libspi/stateset.c (spi_atk_state_set_from_sequence):
576 (atk_state_set_from_accessibility_state_set): here.
578 * cspi/spi_accessible.c (spi_state_to_atk): impl.
579 (AccessibleStateSet_contains, AccessibleStateSet_ref),
580 (AccessibleStateSet_unref, AccessibleStateSet_contains),
581 (AccessibleStateSet_add, AccessibleStateSet_remove),
582 (AccessibleStateSet_equals, AccessibleStateSet_compare),
583 (AccessibleStateSet_isEmpty): re-write to use a local
586 2002-12-13 Bill Haneman <bill.haneman@sun.com>
588 * configure.in: Revved to 1.1.7 (new keymask vals).
590 2002-12-10 Bill Haneman <bill.haneman@sun.com>
593 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
595 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
598 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
599 to compare two CORBA_TypeCodes.
600 (cspi_internal_event_add): Silence warning from FORTE compiler.
602 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
603 avoid implicit declaration of functions.
605 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
607 * atk-bridge/bridge.c:
608 (spi_atk_bridge_init_event_type_consts): Store signal id for
609 active-descendant-changed signal.
610 (spi_atk_register_event_listeners): Add signal listener for
611 active-descendant-changed signal,
612 (spi_atk_bridge_signal_listener): Move code in function
613 spi_atk-signal_emit_event() into this function.
614 Add support for active-descendant-changed
615 Update support for child-changed signal.
616 (spi_bridge_window_event_listener): Silence warning.
618 * libspi/spi_private.[ch]:
619 (spi_init_any_object): Change second parameter from CORBA_Object to
621 Omit call to CORBA_Object_duplicate().
622 Set CORBA_any's _value to CORBA_Object*.
624 2002-12-06 Bill Haneman <bill.haneman@sun.com>
630 (AccessibleEvent_ref, AccessibleEvent_unref):
631 New methods, for persisting an event outside the emission context.
632 Must be used if the new accessor methods are to be called
633 outside of the event listener's callback.
635 * cspi/bonobo/cspi-bonobo.c:
636 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
637 as second parameter instead of NULL, so we can call
638 cspi_check_ev afterwards.
641 (cspi_object_take): New internal method,
642 converts a CORBA_Object reference to a hard ref on
643 an Accessible if possible, returning NULL if the object
644 reference is invalid or an Accessible * otherwise.
647 (AccessibleEvent_ref):
648 Increment the event's internal private refcount, and
649 add the event's internal struct to an internal cache
650 if it's not already there.
651 (AccessibleEvent_unref):
652 Decrement the event's refcount and remove it from
653 the cspi event cache if refcount==0.
654 (cspi_event_compare): New private method.
655 Compares two event structs via their ids. Used
657 (cspi_internal_event_lookup): New private method.
658 (cspi_internal_event_check): New private method,
659 a 0-order sanity check for events to make sure their
660 private data is intact.
661 (cspi_internal_event_add, cspi_internal_event_remove):
662 New private methods for managiing the event cache.
664 * cspi/bonobo/cspi-bonobo-listener.c:
666 Initialize the new private data elements (id, magic, ref_count).
668 * atk-bridge/bridge.c:
669 (spi_atk_bridge_signal_listener):
670 Fixed bug #100530, passing wrong params to emission func.
672 * registryd/deviceeventcontroller.c:
673 (spi_dec_button_update_and_emit):
674 Fixed type in mask bit operations; fix for #99799.
676 2002-12-02 Bill Haneman <bill.haneman@sun.com>
678 Removed some of the more dangerous workarounds from
679 previous commit; they are only needed by GOK, which
680 in reality should be using another method to accomplish
681 the goals. So on reconsideration some of the workarounds
684 * registryd/deviceeventcontroller.c:
685 (spi_keycodes_contain, spi_dec_init_keycode_list):
686 Removed these methods, used only by a nasty hack to try
687 and detect whether a key synthesis should be allowed
688 to reset the XKB latch state or not. This code was only
689 required to work around an interaction between GOK,
690 button events, and XKB.
691 (impl_generate_key_event):
692 Removed hack at end of key generation that tried to
693 "do the right thing" if XKB latch keys were generated
694 in the midst of button press/release pairs.
697 Added a check for HAVE_XINPUT. Not normally used yet.
699 2002-11-25 Bill Haneman <bill.haneman@sun.com>
701 Workarounds and fixes for mouse event/XKB interaction.
703 * registryd/deviceeventcontroller.c:
704 (spi_keycodes_contain, spi_dec_init_keycode_list):
705 New internal methods.
706 (spi_dec_set_unlatch_pending):
707 Split the method that tells XKB to expect an
708 unlatch (and revert it) out of the rest of the
709 event handling code. This method is called by the
710 two mouse event handlers (the poll and the filter).
711 (spi_dec_update_and_emit, spi_dec_mouse_check):
712 New methods split from spi_dec_poll_mouse_moved.
713 The second one is now called from inside the filterFn
714 when an XKB delatch event is received, to determine
715 whether to revert the delatch or not.
716 (spi_poll_mouse_moved): Refactor; also we can now
717 properly handle the case where multiple button states
718 have changed between polling cycles and we didn't get
719 notified due to another client's grab.
721 Synchronize the server while handling an XKB notification.
722 Ugly, but apparently necessary to avoid nasty races.
723 Check the mouse state on receipt of an XKB latch change,
724 to decide whether to revert the latch or not. (Latches are
725 reverted if there is an immediately preceding mouse button
726 event that a client has consumed, in which case we don't want
727 the user to see the side-effect of the event).
728 (spi_device_event_controller_forward_mouse_event):
729 Check for modifier events and fire before resetting mouse_mask_state,
730 prevents losing modifier events.
732 (impl_generate_keyboard_event):
733 If we've just generated a keyboard event for a non-shift key,
734 we don't want to revert the pending XKB latch.
735 Otherwise, check the modifier state (via a call to
736 spi_dev_mouse_check) and set the relatch mask to
737 that state before returning.
739 2002-11-24 Bill Haneman <bill.haneman@sun.com>
742 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
745 * atk-bridge/bridge.c:
746 (spi_atk_register_event_listeners):
747 Don't re-register for ATK events if the registry has died
748 and the app needs to re-register; the ATK listeners are in
749 process and doing so will cause duplicate emission.
751 * registryd/deviceeventcontroller.c:
752 (spi_poll_mouse_moved):
753 Reformat the source, detect and emit multiple button-change
754 events (i.e. if multiple buttons have changed between poll
756 Add code to detect mouse-down events even when the pointer
757 is grabbed; workaround for GOK bug 98420.
758 (spi_controller_register_with_devices):
759 Call XTestGrabControl with 'impervious' flag set to True,
760 allows us to synthesize events and query the pointer even during
761 an active grab by another client.
762 (spi_device_event_controller_forward_mouse_event):
763 Set the mouse_mask_state to the mouse_button_state from
764 the intercepted event, to synchronize the grab listener with
767 2002-11-20 Bill Haneman <bill.haneman@sun.com>
769 * cspi/spi_accessible.c:
770 (AccessibleRole_getName):
771 Added necessary strings for making this (deprecated)
772 method work with the new role types.
773 (init_role_table, role_table):
774 Added definition of SPI_ROLE_APPLICATION.
776 * libspi/spi-roletypes.h:
777 Added SPI_ROLE_APPLICATION.
779 * idl/Accessibility_Role.idl:
780 Added ROLE_APPLICATION.
782 * docs/reference/cspi/at-spi-cspi-decl.txt:
783 Added SPI_ROLE_APPLICATION to docs.
785 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
787 * cspi/spi_accessible.c
788 (cspi_init_role_table): Do not write beyond end of role_table.
789 (Accessible_getRole): Use correct type for value returned by
790 Accessibility_Accessible_getRole().
792 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
793 beyond end of role_table. (This fixes bug #98269)
795 * libspi/application.c: Add include file spi-private.h for
796 definition of spi_init_any_nil.
798 2002-11-19 Bill Haneman <bill.haneman@sun.com>
802 * libspi/spi-private.h:
803 Added DGB() macro, and extern int _dbg declaration.
805 * registryd/registry.c:
806 (definitions) storage for _dbg.
808 Get environment variable "AT_SPI_DEBUG".
809 (spi_registry_set_debug):
810 New method, to initialize _dbg value.
811 (spi_listener_struct_new, spi_registry_object_finalize):
812 (notify_listeners_cb):
813 Changed fprintfs to use DBG and g_warning().
815 * registryd/deviceeventcontroller.c:
816 (_deregister_keygrab, spi_controller_register_device_listener):
817 Changed debug/warning messages to use DBG macro.
821 Changed warning messages to use DBG macro and g_warning().
823 * atk-bridge/bridge.c:
824 (atk_bridge_init, spi_atk_bridge_get_registry):
825 (spi_atk_bridge_exit_func):
826 (spi_atk_bridge_property_event_listener):
827 Changed status, warning, and error messages to use
828 g_warning, g_message, and DBG macros.
831 Read the state of the AT_SPI_DEBUG environment variable
832 and set a local '_dbg' accordingly.
834 2002-11-19 Bill Haneman <bill.haneman@sun.com>
836 FIXES for 98836, 98842, other bugs.
839 Revved to 1.1.4, interface-age=4, binary-age=4.
841 * registryd/deviceeventcontroller.c:
843 Fixed crasher bug in last_mouse_pos initialization.
845 * registryd/registry.c:
846 (desktop_add_application, desktop_remove_application):
847 Added (and then commented out) some support for
848 object context marshalling. [TODO]
850 * atk-bridge/bridge.c:
851 (spi_atk_bridge_event_context_create):
852 Commented out object context creation until it can
853 be properly tested and debugged.
855 * registryd/registry.c:
856 (impl_registry_notify_event):
857 Fixed crasher bug, we were calling
858 spi_re_entrant_list_foreach () with an empty list.
860 2002-11-18 Bill Haneman <bill.haneman@sun.com>
862 * idl/Accessibility_Action.idl:
863 * idl/Accessibility_Component.idl:
864 * idl/Accessibility_Desktop.idl:
865 * idl/Accessibility_Event.idl:
866 * idl/Accessibility_Hyperlink.idl:
867 * idl/Accessibility_Image.idl:
868 * idl/Accessibility_Relation.idl:
869 * idl/Accessibility_Selection.idl:
870 * idl/Accessibility_State.idl:
871 * idl/Accessibility_Value.idl:
872 Updated unimplemented slot count to minimum of
873 four for all interfaces, for ABI freeze.
875 * idl/Accessibility_EditableText.idl:
876 * idl/Accessibility_Text.idl:
877 Updated unimplemented slot count to six
880 * idl/Accessibility_Registry.idl:
881 Updated unimplemented slot count to six
882 (also for DeviceEventController),
885 * idl/Accessibility_Table.idl:
886 Updated unimplemented slot count to eight,
889 * idl/Accessibility_Event.idl:
890 Added CORBA_any "any_data" member to Event struct.
892 * idl/Accessibility_Event.idl:
893 Added CORBA_any "any_data" member to Event struct.
895 * atk-bridge/bridge.c:
897 atk_signal_text_changed, atk_signal_child_changed,
898 signal ids queried from gtype system.
899 (AtkBridgeEventContextType): New enum.
900 (AtkBridgeEventContextData): New struct.
901 (AtkBridgeEventContext): New struct.
902 (atk_bridge_init_event_type_consts):
903 New method, initializes type contants for comparison
904 prior to emit_eventv.
905 (atk_bridge_event_context_init): New method,
906 initializes a CORBA_any from an AtkBridgeEventContext.
907 (atk_bridge_focus_tracker): Call spi_init_any_nil to
908 initialize the event.any_data struct.
909 (spi_atk_bridge_event_context_create): New method,
910 creates an AtkBridgeEventContext from signal/event info.
911 (spi_atk_bridge_event_context_free): New method.
912 (spi_atk_emit_eventv): Changed to take an
913 AtkBridgeEventContext parameter. We now initialize
914 the event.any_data member prior to notifying the
915 Registry, via the AtkBridgeEventContext.
916 (spi_atk_bridge_property_event_listener):
917 (spi_atk_bridge_state_event_listener):
918 Match emit_eventv signature.
919 (spi_atk_bridge_object_event_listener):
920 Match emit_eventv signature, and create an
921 event context from the event details.
922 Free the event context afterwards.
923 (spi_atk_bridge_window_event_listener):
924 Create an event context, pass it to the
928 (AccessibleEvent_getContextString):
929 (AccessibleEvent_getContextObject):
930 New methods, allow query of AccessibleEvent objects
931 for more context details (via the "any_data" member
932 of the Event struct, above).
935 Definitions for AccessibleEvent_getContextString
936 and AccessibleEvent_getContextObject.
938 * cspi/spi_listener.h:
939 (InternalEvent): New struct.
942 (AccessibleEvent_getContextString):
943 (AccessibleEvent_getContextObject):
944 Implementations of new methods, for obtaining
945 additional context information from some event types.
947 * cspi/spi_registry.c:
948 (SPI_registerGlobalEventListener):
949 Added mention of active-descendant-changed event in docs.
951 * cspi/cspi-bonobo-listener.c:
953 Marshal the any into the AccessibleEvent via
956 * libspi/spi-private.h:
957 #include <orbit/orbit.h>
959 (spi_init_any_string):
960 (spi_init_any_object):
961 New convenience function declarations.
965 (spi_init_any_string):
966 (spi_init_any_object):
967 New convenience function implementations.
969 * registryd/deviceeventcontroller.c:
970 (spi_poll_dec_mouse_moved):
971 (spi_device_event_controller_forward_mous_event):
972 Initialize any_data member of event.
973 (spi_deregister_controller_device_listener):
974 Fix incorrect param pass which was preventing deregistration.
976 * registryd/registry.c:
977 (desktop_add_application):
978 (desktop_remove_application):
979 Add object data to event's any_data before dispatch.
981 Fix for error messages from GAIL.
983 * test/event-listener-test.c:
984 Test new ContextString and "any_data" API:
985 (report_text_event): New method query and output context string.
986 (main): register a new text listener with report_text_event
989 2002-11-19 Darren Kenny <darren.kenny@sun.com>
991 Fixes for bugs 98127 and 97914.
992 * cspi/spi-roletypes.h:
993 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
995 * cspi/spi-statetypes.h:
996 Added SPI_STATE_MANAGES_DESCENDANTS
998 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
999 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1000 * cspi/spi_accessible.c:
1001 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1002 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1003 Accessibility_STATE_MANAGES_DESCENDANTS
1004 * libspi/accessible.c:
1005 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1006 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1007 As requested by Bill, I also cleaned up the alignment.
1008 * libspi/relation.c:
1009 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1010 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1011 * libspi/stateset.c:
1012 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1013 Accessibility_STATE_MANAGES_DESCENDANTS
1014 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1015 Document changes reflecting modifications to roles.
1016 * docs/reference/cspi/tmpl/spi_relation.sgml:
1017 Document changes reflecting modifications to relations.
1018 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1019 Document changes reflecting modifications to states.
1021 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1024 Revved to 1.1.3, interface-age=3, binary-age=3.
1025 Added REBUILD macro.
1028 Removed accessx-gui from the tests, since we have a nice
1029 keyboard accessibility capplet now :-)
1031 * test/keysynth-demo.c:
1032 (increment_scan): removed do-nothing default: case,
1035 * test/visual-bell.c:
1036 (main) : removed do-nothing default: case,
1039 * cspi/spi_action.c:
1040 (AccessibleAction_getKeyBinding_):
1041 Documented keybinding string format.
1045 (AccessibleText_getAttributes):
1046 Documented the text attribute string format.
1047 It's changed to use semicolon delimiters also,
1048 to prevent clashes with CSS attributes, but the old
1049 trick of looking for ", " strings will still work
1050 (as unreliably as ever). Fix for bug related to 97916.
1053 Include <cspi/bonobo/cspi-bonobo-listener.h>
1054 Fixes build warning.
1055 (SPI_freeAccessibleKeySet):
1056 (AccessibleKeystrokeListener_addCallback):
1057 (AccessibleKeystrokeListener_removeCallback):
1058 Modify to use AccessibleDeviceListener API internally,
1059 instead of AccessibleKeystrokeListener.
1061 * idl/Accessibility_Event.idl:
1062 Added two more empty slots to EventListener (for a total of four).
1064 * idl/Accessibility_Accessible.idl:
1065 Added four empty slots to Accessible interface.
1067 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1069 * idl/Accessibility_Registry.idl:
1070 (KeyEventType, EventType):
1071 Marked KeyEventType as deprecated; it duplicates
1072 functionality of EventType, which has been extended to
1073 include Mouse-button events.
1074 (KeyEventTypeSeq): defined in terms of EventType.
1075 (registerDeviceEventListener, deregisterDeviceEventListener):
1076 New methods, for managing listeners to device events,
1077 which potentially may consume them.
1080 Added definition for AccessibleDeviceListener.
1082 * cspi/spi-listener.h:
1083 (enum AccessibleDeviceEventType):
1084 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1085 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1086 for backwards compat.
1087 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1088 and typedef'd AccessibleKeystroke to it for back-compat.
1089 (AccessibleDeviceListenerCB):
1090 New function prototype typedef.
1093 (AccessibleDeviceEventMask): New typedef.
1094 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1095 (AccessibleKeyMaskType):
1096 Set equivalent to AccessibleModifierMaskType for back-compat.
1097 (SPI_createAccessibleKeystrokeListener):
1098 (AccessibleKeystrokeListener_unref):
1099 Deprecated in favor of equivalent (better-named) new API below..
1100 keystroke listeners are like all device listeners.
1101 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1102 New API names for old features :-).
1103 (AccessibleDeviceListener_addCallback):
1104 (AccessibleDeviceListener_removeCallback):
1105 (SPI_registerDeviceEventListener):
1106 (SPI_deregisterDeviceEventListener):
1110 (SPI_createAccessibleKeystrokeListener):
1111 Use new preferred API, cspi_device_listener_new() and
1112 cspi_device_listener_add_cb().
1113 (AccessibleKeystrokeListener_removeCallback):
1114 Use new preferred API, cspi_device_listener_remove_cb().
1115 (AccessibleKeystrokeListener_unref):
1116 Use new preferred API, cspi_device_listener_unref().
1117 (SPI_createAccessibleDeviceListener):
1118 (AccessibleDeviceListener_addCallback):
1119 (AccessibleDeviceListener_removeCallback):
1120 Implementation of new API.
1122 * cspi/spi_registry.c:
1123 (SPI_registerDeviceEventListener):
1124 (SPI_deregisterDeviceEventListener):
1125 Implementation of new API. Fixed memory leak and removed need to
1126 allocate EventTypeSeq (thanks Michael for catching this).
1127 Squashed a wayward CORBA_exception_free that shouldn't get called.
1129 * cspi/bonobo/cspi-bonobo-listener.c:
1131 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1132 (cspi_key_event): renamed to cspi_device_event().
1133 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1134 Extended to handle mouse button events as well as key events.
1135 (CSpiKeystrokeListener):
1136 Class superceded by CSpiDeviceListener.
1137 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1138 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1140 * cspi/bonobo/cspi-bonobo-listener.h:
1141 (CSpiKeystrokeListener):
1142 Class superceded by CSpiDeviceListener.
1143 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1144 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1146 * libspi/Makefile.am:
1147 Replaced keystrokelistener.h and keystrokelistener.c
1148 with devicelistener.h and devicelistener.c; keystrokelisener.h
1149 stub retained for back-compat.
1151 * libspi/keystrokelistener.c:
1155 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1157 * registryd/deviceeventcontroller.c:
1158 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1159 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1160 (DEControllerPrivateData): Added xkb settings data.
1161 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1162 button release events (which can't be captured via XGrabButton).
1163 Don't dispatch via the 'normal' event mechanism if the device event was
1165 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1166 Handle the typeseq data in its new location (see above).
1167 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1168 New methods, for "generic" device listeners.
1169 (spi_controller_register_device_listener):
1170 Now handle mouse event listeners as well as key listeners.
1171 (spi_controller_notify_mouselisteners):
1172 New internal method.
1173 (spi_device_event_controller_forward_mouse_event):
1174 Now we notify mouse device listeners as well as generating the
1175 non-consumable "mouse:" events.
1177 We must check and restore the XKB
1178 modifier map if we consume the event, since the act of triggering
1179 a mouse event will normally reset the XKB latch. This is required for
1181 (spi_controller_register_with_devices):
1182 Load the XKB settings when registering, and register for XKB
1183 state notify events.
1184 (spi_key_eventtype_seq_contains_event):
1185 Renamed spi_eventtype_seq_contains_event, since it's used
1186 internally for all device event types now.
1187 (spi_key_event_matches_listener):
1188 Uses spi_eventtype_seq_contains_event now.
1189 (spi_device_event_controller_object_finalize):
1190 Free the private data and the XkbKeyboard struct.
1191 (impl_register_device_listener, impl_deregister_device_listener):
1192 Implementation of new IDL.
1193 (spi_deregister_controller_device_listener):
1194 New internal method.
1195 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1196 More efficient implementation, we don't have to create a new
1197 XkbControls structure every time we query.
1198 (spi_device_event_controller_class_init):
1199 Initialize the epv entries for the new IDL. Assign the
1200 "spi-dec-private" quark.
1201 (spi_device_event_controller_init):
1202 Initialize the private data.
1203 (spi_device_event_controller_forward_key_event):
1204 Removed a bogus CORBA_exception_free() call.
1206 * registryd/deviceeventcontroller.h:
1207 Replaced inclusion of keystrokelistener.h with
1210 * test/event-listener-test.c:
1211 (report_mouse_event):
1214 Added mouse-event device listener.
1216 * test/test-simple.c:
1217 (create_test_window):
1218 Fixed regression (we were instantiating a GtkRange,
1219 which is now an abstract class). Also fixed to match
1220 existing AtkRole names, this seems to have changed in ATK
1221 awhile ago; too late now I think, and the new
1222 mechanism is at least elegant and consistent with the
1223 glib enum "nick" APIs.
1225 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1227 * idl/Accessibility_Relation.idl:
1228 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1229 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1230 * idl/Accessibility_Role.idl:
1231 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1232 * idl/Accessibility_State.idl:
1233 add STATE_MANAGES_DESCENDANTS
1234 * test/event-listener-test.c:
1235 Added a listener for active-descendant events.
1237 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1239 * atk-bridge/bridge.c
1240 (atk_bridge_init): If application is Bonobo component wait until top
1241 level is added before registering
1242 (spi_atk_bridge_do_registration): New function which contains code,
1243 formerly in atk_bridge_init, to do application registration.
1244 (spi_atk_bridge_toplevel_added): Signal called when top level
1245 added to Bonobo component
1247 This fixes bug #83134.
1249 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1251 * registryd/deviceeventcontroller.c
1252 Fixed compilation error caused by calling gettimeofday()
1255 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1260 Added template for HAVE_XKB.
1263 Changes to check for XKB, and to set the HAVE_XKB #define if it
1266 * libspi/listener.c:
1267 ()impl_notify_event): Make failure to get event source name
1270 * registryd/deviceeventcontroller.c:
1271 (#include): include X11/XKBlib.h.
1272 (DEControllerPrivateData) : New struct.
1273 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1275 (dec_synth_keycode_press) (dec_synth_keycode_release):
1276 New methods; split the key synthesis code into these methods.
1277 They check XKB settings before determining the "time" values to
1278 pass to Xtest; this fixes bug #95828.
1279 (impl_generate_keyboard_event): Changed to use methods above,
1280 instead of callng Xtest directly.
1281 (spi_device_event_controller_init): Initialize new privae struct s
1283 (spi_device_event_controllr_object_finalize):
1284 Free the (new) private data.
1286 * registryd/deviceeventcontroller.h:
1287 Add new gpointer to end of struct data.
1289 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1292 Incremented revision to 1.1.2, SONAME is still '.so', library
1293 extensions are ".so.0.0.2".
1295 * registryd/deviceeventcontroller.c:
1296 FIXES FOR #93592 and #95940.
1297 (statics): renamed mouse_button_state to mouse_mask_state,
1298 added key_modifier_mask.
1299 (spi_dec_poll_mouse_moved):
1300 Added key modifier checks, and emit "keyboard:modifiers"
1301 events when the key modifiers currently in use change.
1302 Also generate "mouse:abs" events periodically, even if the mouse
1303 is stationary (should we?).
1304 Alternatively we could generate "mouse:abs" events for either all
1305 mouse movements, or every 'nth' mouse movement, or at the
1306 beginning and end of every "active" mouse period.
1308 * test/event-listener-test.c:
1309 (main): Added listener for "keyboard:modifiers" events.
1311 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1313 * libspi/keymasks.h:
1314 Added key mask #defines for mouse buttons; e.g.
1315 SPI_KEYMASK_BUTTON1, etc.
1318 Incremented dependency on ATK to version 1.1.0. (This dependency
1319 is probably premature but will soon be real enough).
1321 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1323 * libspi/hyperlink.[ch]
1324 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1325 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1328 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1333 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1335 * registryd/deviceeventcontroller.c
1336 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1337 events to be ignored.
1338 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1339 keyboard_mode so that XAllowEvents() can be called.
1343 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1345 * cspi/spi-accessible.c: Correct names of roles returned by
1346 AccessibleRole_getName(). Fixes bug #95055.
1348 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1350 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1353 * registryd/registry.c
1354 (desktop_remove_application: Write diagnostic message to stderr for
1357 (impl_accessibility_registry_deregister_global_event_listener):
1358 Correct size of lists array. This addresses bug #94555).
1360 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1362 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1365 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1367 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1370 * registryd/registry.c (impl_registry_notify_event): Remove
1371 unnecessary call to parser_event_type().
1373 * docs/reference/cspi/tmpl/spi_component.sgml:
1374 Add reference to SPI_LAYER_WINDOW.
1376 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1378 * registryd/registry.c
1379 (desktop_add_application): Remove leak.
1380 (desktop_remove_application): Remove leak.
1381 (parser_event_type): Remove leak.
1383 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1385 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1386 bogus call to CORBA_string_dup(). Also removed unnecessary
1387 g_string_dup/g_free calls.
1389 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1391 * registryd/deviceeventcontroller.c:
1392 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1394 * test/event-listener-test.c:
1395 main: commented out three redundant listeners, to reduce output
1396 noise. (They still are potentially useful for testing).
1399 2002-09-13 Michael Meeks <michael@ximian.com>
1401 * Update all the copyrights to include Ximian.
1403 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1405 * cspi/spi.h: add SPI_LAYER_WINDOW.
1407 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1408 add Accessibility_LAYER_WINDOW case.
1410 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1412 * libspi/component.c: (impl_accessibility_component_get_layer):
1413 add ATK_LAYER_WINDOW case.
1415 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1417 * configure.in: incremented micro version.
1419 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1421 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1424 Clarified and reworded our commit policy.
1427 Started an API "todo" addition list for 2.2.
1430 (impl_getSelection):
1431 Free char pointer from atk_text_get_selection, which was being leaked.
1433 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1436 Small revision to author acknowledgement.
1438 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1440 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1441 If signal has detail add it to the type of the event.
1444 2002-08-12 Michael Meeks <michael@ximian.com>
1446 * test/test-simple.c (global_listener_cb): bin bogosity.
1447 (test_keylisteners): disable, still doesn't work reliably,
1448 certainly not on my system anyway.
1450 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1451 don't leak a reference on the DEC. This round-trip
1452 fetching of the DEC per keystroke sucks, it should be
1455 * cspi/spi-private.h,
1456 * cspi/cspi-lowlevel.h,
1457 * cspi/bonobo/cspi-bonobo-listener.[ch],
1458 * cspi/bonobo/cspi-bonobo.c: get the copyright
1459 notices better - there is still a large amount of
1460 work in at-spi falsely attributed solely to Sun.
1462 * cspi/spi_main.c (cspi_object_ref): kill bogus
1463 hash lookup, just increment the ref.
1464 (SPI_freeString): make explicit the fact that we
1465 handle NULL strings just fine.
1466 (report_leaked_ref): obey coding standards.
1467 (cspi_object_hash, cspi_object_equal): kill retval.
1468 (cspi_object_release): only release if not on loan.
1469 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1470 (cspi_object_borrow, cspi_object_return): impl.
1472 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1473 use cspi_object_borrow / return.
1475 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1477 * cspi/bonobo/cspi-bonobo-listener.c:
1479 Don't call cspi_oject_new() because this is creating a new Accessible
1480 every single time that an event is fired. This causes ATs like at-poke
1481 to nolonger recognise the source of the event and thus ignore it.
1482 Re-use the object from the cache, ref it and then unref it after the
1483 listeners have been called.
1485 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1487 * test/event-listener-test.c:
1488 Added command-line options to disable mouse events (m) and
1491 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1493 * configure.in: Update required versions of ATK, GTK+ and GAIL
1495 * cspi-1.0.pc.in: Add dependency for X include files
1498 * cspi/bonobo/Makefile.am:
1499 Add $(X_CFLAGS) so that X include files
1500 are picked up even if not in standard place (bug #71686)
1502 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1504 * registryd/deviceeventcontroller.c: fix for 84261
1505 (spi_dec_mouse_moved):
1506 Added test of mouse button mask, so that we can detect mouse
1507 button release. Unfortunately we can't otherwise detect mouse
1508 button release events without consuming the mouse press event,
1509 because of the way XGrabButton works. This means that our mouse
1510 release events have a latency dependent on the polling period
1511 while the mouse button is down. At least in this case we only
1512 have to poll while the button is down, and not at other times.
1513 If the button masks don't match with what the last press event
1514 reported, we report the appropriate button release event.
1515 (spi_dec_ungrab_mouse):
1516 New method (not yet called).
1517 (spi_device_event_controller_forward_mouse_event):
1518 New method, sends mouse press event from GdkFilter.
1519 (spi_dec_init_mouse_listener):
1520 Added code to call XGrabButton, redirecting mouse button events to
1521 the root window and our Gdk event loop.
1523 Added code to filter mouse button events, and reordered.
1525 * test/event-listener-test.c:
1527 Added registration for mouse events of type "mouse:button".
1529 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1531 * registryd/deviceeventcontroller.c: partial fix for 84261
1532 (spi_dec_poll_mouse_idle):
1533 New method, a timeout which checks to see if the mouse
1535 (spi_dec_poll_mouse_moving):
1536 A timeout to be called when mouse motion is underway.
1537 (spi_dec_poll_mouse_moved):
1538 A method which fires an event if the mouse has moved, and reports
1539 whether or not it did so.
1540 (spi_dec_init_mouse_listener):
1541 A method which sets up the timeouts above.
1542 (spi_device_event_controller_new):
1543 Now calls spi_dec_init_mouse_listener.
1545 * registryd/registry.c:
1546 (spi_registry_init):
1547 Now we initialize the device event controller when the registry is
1548 initialized, instead of waiting until a client has requested a key
1549 event notification; this is because we need the event controller
1550 for mouse events, but the mouse event registration API is a
1551 "registry" call and doesn't explicitly call the
1552 deviceeventcontroller.
1553 We now report mouse motion events with a 100 ms idle latency and
1554 a 20 ms granularity when motion is in progress.
1556 * test/event-listener-test.c:
1558 We now register the "detail listener" for events of type
1559 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1560 delivered only for the first mouse event received, and thereafter
1561 "mouse:abs" events are delivered.)
1563 * cspi/spi_registry.c:
1564 DOCS: Documented the above mouse event typestrings.
1566 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1568 Happy Summer Solstice...
1570 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1571 (spi_controller_notify_keylisteners):
1572 Changes to remove a listener from the listener list, freeing its
1573 open keygrabs, if a notification to that listener fails. This
1574 means that although a dead listener can continue to hold a passive
1575 keygrab, a maximum of one dispatch to such a listener can fail
1576 before the listener is removed from the list, thus the keygrab
1577 will be released on the next occurrence.
1578 As part of this fix:
1579 (spi_notify_keylisteners):
1580 Renamed to spi_controller_notify_keylisteners, as the controller
1581 instance must now be passed as an argument.
1582 The copied 'notify' GList is now a list of DEControllerKeyListener
1583 objects, since we need more than just the CORBA reference if a
1584 notify fails and we need to deregister the listener.
1585 (impl_notify_listeners_sync):
1586 (impl_notify_listeners_async):
1587 (spi_device_event_controller_forward_key_event):
1588 Modify use of notify_keylisteners in accordance with above
1590 (spi_deregister_controller_key_listener):
1591 New method introduced by refactoring, from
1592 impl_deregister_keystroke_listener.
1593 (impl_deregister_keystroke_listener):
1594 Call spi_deregister_controller_key_listener.
1595 (spi_key_listener_clone):
1596 New method to copy a key listner without doing a 'ref' on the
1597 remote object instance; used to create a notifier list.
1598 (spi_key_listener_data_free):
1599 New method, frees data without unreffing the source.
1601 (spi_key_listener_clone_free): new method.
1602 (spi_key_listener_free):
1603 refactored to call spi_key_listener_data_free.
1605 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1607 * registryd/registry.c: [fix for bug 86048]
1608 (notify_listeners_cb):
1609 Clear CORBA system exceptions which occur when notifying
1610 listeners, before returning to the source of the original event,
1611 since the event source doesn't care if the relayed notify failed.
1612 In other words, don't complain to the atk-bridge if the registry
1613 could not notify all its listeners, that's no fault of the
1614 application and thus should not appear to be an error from the
1615 application's perspective.
1617 * cspi/spi_main.c: [fix for bug 85980]
1619 Replaced use of bonobo_object_dup_ref with call to the wrapper
1620 method, csou_dup_ref (); this silences a compiler warning and
1621 provided more portability.
1623 Ping the registry before return, and restart if necessary.
1625 * cspi/bonobo/cspi-bonobo.c:
1627 New internal method.
1629 Fixed this method to return an object reference, as it should have
1632 * cspi/cspi-lowlevel.h:
1633 Added internal definition for cspi_ping() and fixed
1634 return type of cspi_dup_ref().
1637 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1639 * atk-bridge/bridge.c: [fix for bug 85305]
1640 (spi_atk_bridge_register_application):
1641 New method where the initial application registry calls have been
1642 moved; it allows an application to re-register in response to
1643 certain error conditions (such as a registry restart, see below).
1645 Moved some initialization code to the method
1646 spi_atk_bridge_get_registry, below.
1647 (spi_atk_bridge_get_registry):
1648 New, private accessor function for the Accessibility_Registry
1649 instance. If the registry has not been started before, or has
1650 died (as detected by failure of a CORBA exception), it is
1651 restarted before return, and spi_atk_bridge_register_application
1652 is called again to register with the new bridge instance.
1653 (spi_atk_emit_eventv):
1654 Set registry_died on error; use spi_atk_bridge_get_registry () to
1655 access the registry.
1657 * registryd/registry.c:
1658 (impl_accessibility_registry_register_global_event_listener):
1659 Set listener's event_type_quark to etype.minor instead of
1660 etype.major (fix for bug 84856).
1662 * test/event-listener-test.c:
1663 (report_detail_event):
1664 Change the output string so that user/tester can tell that the
1665 'detail listener' was called instead of the 'generic listener'.
1667 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1669 Fixes for bugs 84900, 84908, 84897, 84898.
1674 Revved version to 1.1.0
1675 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1676 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1678 * idl/Accessibility_Registry.idl:
1679 (EventListener::notifyEvent):
1680 Removed 'oneway' directive after extensive consulation with
1681 ORBit2 team and others. This means also that unref() of the event
1682 source can and should be done synchronously after emission, rather
1683 than remotely in the client, after servicing the notify call on
1686 NOTE: This change speeds up listener performance considerably, but
1687 introduces new latency on the application side. We may want to
1688 add an event queue to the atk-bridge.
1690 * atk-bridge/bridge.c:
1691 (spi_atk_bridge_focus_tracker):
1692 Do a local unref() on the event source after emission.
1694 * registryd/registry.c:
1695 (desktop_remove_application):
1696 Do an unref() on the event source after emission.
1697 (desktop_add_application):
1698 Do an unref() on the event source after emission.
1699 (notify_listeners_cb):
1700 When relaying an event, don't automatically add the event source
1701 to the local object cache, just CORBA_dup it instead. Likewise,
1702 if this method reenters, release the ref rather than calling
1704 (impl_registry_notify_event):
1705 No longer call remote unref() on the event source after dispatch.
1707 * libspi/eventlistener.c:
1708 (impl_accessible_event_notify_event):
1709 Removed remote unref ()
1711 * cspi/bonobo/cspi-bonobo-listener.c:
1713 We now call cspi_object_new() instead of cspi_object_add() on
1714 receipt of an event; thus we only have an implicit object ref
1715 while the cspi_event method is being executed. If we need to keep
1716 a reference to the object, the listener must call ref() on the
1717 object. Thus also we don't need to call cspi_object_unref() after
1718 invoking the listener callbacks in this method.
1722 New internal API for creating a new cspi object, without adding it
1723 to the object cache.
1725 Now uses cspi_object_new() to create the cspi object instance.
1727 Now checks to see if the object is in the internal object cache,
1728 and adds it if necessary before incrementing its refcount (note
1729 that new objects are added with a refcount of 1).
1730 (report_leaked_ref):
1731 New method which gives some information on leaked object instances
1732 if leak detection is turned on.
1734 * test/event-listener-test.c:
1735 (timing_test_event):
1736 New method, used for testing event delivery timing for special
1737 events of type "object:test". It reports elapsed time and
1738 events/sec every 500 events.
1740 Added a new listener, 'test listener', to check timing of event
1741 receipt as noted above.
1743 Added some timing output here also, reports elapsed time every 100
1746 * test/stress-test.c:
1747 Emit events of type "object:test", for use with "event-listener-test".
1749 * test/test-simple.c:
1750 (global_listener_cb):
1751 Call Accessible_ref() on the event source before calling
1752 validate_accessible, since the validation process does pointer
1753 comparisons on the event source, meaning that the event source
1754 needs to be added to the local object cache first. Any use of
1755 such pointer comparisons between Accessible objects requires that
1756 the caller hold an explicit reference to those objects.
1757 We also must therefore call Accessible_unref() when leaving this method.
1759 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1761 * registryd/deviceeventcontroller.c:
1762 (spi_controller_update_key_grabs):
1763 Fix for #84735, subsequent keygrab listeners not informed of
1764 registration failure.
1767 (spi_base_construct):
1768 Add an assertion on construct, to make sure the GObject passed in
1769 is really a GObject.
1771 Explicitly initialize object->gobj pointer to NULL;
1773 * cspi/bonobo/cspi-bonobo-listener.c:
1774 (cspi_object_add_ref):
1775 New method, can specify whether to dup-ref a bonobo object passed
1776 in if it's newly added to the object cache.
1778 Now calls cspi_object_add_ref with second param of "FALSE". This
1779 prevents us from doing a pointless dup-ref followed by
1780 release-unref for all those cases where the object is already in
1781 our object cache (fix for #85205).
1783 * atk-bridge/bridge.c:
1784 (spi_atk_bridge_idle_init):
1785 Removed this method, we don't need to initialize in an idle
1788 Changed to call spi_atk_register_event_listeners directly, not via an
1789 idle handler. (fix for #81139)
1790 (gnome_accessibility_module_shutdown):
1791 Removed conditional around deregistration of listeners, since we
1792 don't use the idle handler and thus have always registered when
1794 (spi_init_keystroke_from_atk_key_event):
1795 Changed references to Accessibility_KEY_PRESSED to
1796 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1798 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1800 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1805 * test/stress-test.c:
1808 (may have been an incomplete commit yesterday?)
1810 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1813 Added target for new stress-test.
1815 * test/stress-test.c:
1816 New test, sends 1000 focus notifies in quick succession.
1818 * test/key-listener-test.c:
1819 Now we report whether a keylistener registration
1820 request succeeded or failed.
1822 * test/event-listener-test.c:
1823 Uncommented some listeners which are now implemented.
1826 2002-06-06 Bill Haneman <bill.haneman@sun.com>
1828 * registryd/deviceeventcontroller.c:
1829 (spi_controller_update_key_grabs):
1830 Fix for #82509, lack of failure notification when
1831 ALL_WINDOWS keygrabs fail due to XGrabKey
1832 failure: we synchronize the server when
1833 registering a passive grab, to make sure we get the
1834 error message before the call returns.
1836 2002-06-03 Bill Haneman <bill.haneman@sun.com>
1838 * test/test-simple.c:
1840 Removed #ifdef KEY_IMPL_WORKS guards.
1841 (test_keylisteners):
1842 Removed #ifdef KEY_IMPL_WORKS guards.
1843 Fixed bug which was causing a hang waiting for a
1844 "press" event (which was already overwritten by a "release"
1845 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1847 Added code to set globals 'key_press_received' and
1848 'key_release_received'.
1851 Added section "1.1 API Proposed Additions" which
1852 lists API additions desired for at-spi-1.1 (only one so far).
1853 Updated TODO list a little.
1855 2002-06-02 Bill Haneman <bill.haneman@sun.com>
1857 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1860 * configure.in: Revved to 1.0.0.
1862 * idl/Accessibility_Registry.idl:
1863 (registerKeystrokeListener):
1864 Added boolean return value.
1866 * registryd/registry.c:
1867 (notify_listeners_cb): Minor fix to debug output.
1869 * registryd/Accessibility_Registry.server.in.in:
1870 Revved version number in OAFIID to 1.0.
1872 * registryd/registryd.c:
1874 Use new OAFIID version.
1876 * cspi/bonobo/cspi-bonobo.c:
1878 Use new OAFIID version.
1884 * atk-bridge/bridge.c:
1886 Use new OAFIID version.
1888 * registryd/deviceeventcontroller.c:
1889 (impl_register_keystroke_listener):
1890 Added CORBA_boolean return value.
1891 (spi_controller_register_device_listener):
1892 Added gboolean return value.
1893 (spi_controller_register_global_keygrabs):
1894 Added gboolean return value.
1895 (spi_key_set_contains_key):
1896 Added implementation for many more control keys,
1897 for instance F1-F12, arrow keys, End, Home, Page_Up,
1899 [TODO: some still not implemented].
1901 * text/screen-review-test.c:
1902 (text_chunk_pad_string):
1903 New function: it provides mapping between coordinate
1904 positions of text chunks and character positions in the
1905 screen-review-line output string.
1906 (text_chunk_to_string):
1907 New function, calls text_chunk_pad_string with various
1908 pad/delimiter characters. Pushbuttons are delimited with
1909 square brackets, Frames with vertical 'pipe' lines, and
1910 other text with double quotes.
1911 (text_chunk_list_to_string):
1912 Calls new function text_chunk_to_string.
1913 (toplevel_composite):
1914 New function to composite layers CANVAS through
1915 POPUP in each toplevel (other layers are composited
1916 across toplevels, i.e. BACKGROUND and OVERLAY).
1917 (review_buffer_composite):
1918 Revise to use new methods.
1924 2002-05-31 Laszlo Peter <laca@sun.com>
1926 * configure.in: add the Xtst libdir to the runpath on Solaris,
1927 since it's not in the default library search path.
1929 2002-05-29 jacob berkman <jacob@ximian.com>
1931 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1933 2002-05-29 Bill Haneman <bill.haneman@sun.com>
1935 * test/screen-review-test.c:
1936 (text_chunk_pad_string):
1937 Added method, which pads the string according to the
1938 text bounds of the chunk. It also takes a 3-character
1939 string as a param which indicates the characters to be
1940 used for start, padding, and end delimitation of the chunk.
1941 (text_chunk_to_string):
1942 Changed to use text_chunk_pad_string.
1944 * configure.in: Fixed bug in AC_OUTPUT that was
1945 causing path substitution in Accessibility_Registry.server
1948 2002-05-23 Bill Haneman <bill.haneman@sun.com>
1950 * text/screen-review-test.c:
1951 (guess_string_clip):
1952 New method which attempts a best-guess at clipping
1953 text from components (like Java labels) which don't
1954 actually implement AccessibleText. This inaccurate
1955 clip is based on the assumption that the label is
1956 justified left-and-right, and monospaced.
1957 (text_chunk_get_clipped_string):
1958 We now call guess_string_clip() for text-containing
1959 components that don't implement AccessibleText.
1961 * test/screen-review-test.c:
1962 (review_buffer_get_text_chunk):
1963 We now pull "name" from labels if they do not implement
1964 AccessibleText (i.e. for Java labels).
1965 (get_screen_review_line_at):
1966 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1969 Replaceded AC_OUTPUT target
1970 registryd/Accessibility_Registry.server with
1971 registryd/Accessibility_Registry.server.in.
1973 * registryd/Accessibility_Registry.server.in:
1974 Removed (this is now a Makefile target).
1976 * registryd/Accessibility_Registry.server.in.in:
1977 Added (source for target above). We now use $(libexecdir) as
1978 prefix for the executable at-spi-registryd.
1980 * registry/Makefile.am:
1981 Now install at-spi-registryd into $(libexecdir), and build .server
1982 file with path (see above).
1984 2002-05-22 Bill Haneman <bill.haneman@sun.com>
1986 * test/screen-review-test.c:
1987 (text_chunk_get_clipped_string):
1988 We now check to see if words fall within clip bounds
1989 before resorting to character-by-character clip bounds testing.
1991 * TODO: Added a section for "2.2 Proposed API Additions".
1993 2002-05-21 Bill Haneman <bill.haneman@sun.com>
1995 * test/screen-review-test.c:
1997 Added a screen review benchmarking and test program to test
2000 * cspi/spi_accessible.c:
2002 Made some of the debug strings passed to cspi_check_ev a
2003 little more specific.
2005 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2007 * test/screen-review-test.c: Fix crashes in debug statements
2009 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2011 * test/screen-review-test.c: Added this file.
2013 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2015 * atk-bridge/bridge.c: changed "object:state-change" to
2016 "object:state-changed" to match docs.
2018 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2020 * atk-bridge/bridge.c: Hooked up state-change event details.
2022 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2024 * registryd/registry.c:
2025 Fixed quarking bug in event string parsing; now events with
2026 detail parameters get matched correctly to listeners.
2029 * util/idl/Magnifier.idl: remove.
2031 * util/*.[ch]: Remove.
2032 Magnification utilities and IDL are now in module gnome-mag.
2034 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2036 * registryd/deviceeventcontroller.c:
2037 Fixed bug in grab key conversion which was causing keycode grabs
2038 to be converted to AnyKey grabs.
2041 updated NEWS file to reflect recent spin-off of gnome-mag.
2043 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2045 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2046 busted AccessibleStateSet_compare. Removed redundant casts.
2048 * cspi/spi-action.c: Removed redundant casts.
2050 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2052 * cspi/spi_component.c: Fixed typos and casting error.
2054 * cspi/spi_editabletext.c: Removed redundant casts.
2056 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2058 * cspi/spi_hypertext.c: Eliminated redundant casts.
2060 * cspi/spi_image.c: Eliminated redundant casts.
2062 * cspi/spi_registry.c: Eliminated redundant casts.
2063 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2064 * cspi/spi_selection.c: Removed redundant casts.
2065 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2066 handling. Screen geometry and text offsets were being returned as 0
2067 on error which is technically valid-- changed these to return -1.
2068 Added marshaller for text boundary types to fix bug with boundary
2069 types being passed incorrectly to atk.
2071 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2074 * cspi/spi_registry.c:
2075 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2076 which was uncovered by the recent key changes.
2078 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2080 * test/event-listener-test.c:
2082 Added new test, "event-listener-test";
2083 this code does two things; it benchmarks traversal time
2084 for the accessible hierarchy for the first running accessible
2085 app, and it connects listeners for all supported event types.
2086 It is thus useful as an example event listener and for
2087 diagnostics/debugging of event generation.
2089 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2092 Removed unnecessary dependency on libutil.
2095 Revved micro version: 0.13.1
2097 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2100 Removed util/Makefile from targets.
2103 Removed util subdir from SUBDIRS (temporarily,
2104 pending removal of magnifier-only code
2108 #ifdef-ed out magnifier dependencies, since
2109 magnifier IDL, headers, and binary now live in
2110 module gnome-mag and we don't want at-spi to depend
2111 on gnome-mag. A magnifier demo which can run alongside
2112 simple-at is forthcoming in the gnome-mag module.
2114 NOTE: Split magnifier binary, IDL, and magnification
2115 activation code from at-spi into module gnome-mag.
2117 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2119 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2120 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2122 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2125 Revved to version 0.13.0
2127 * idl/Accessibility_Registry.idl:
2128 Changed definition of KeySet from sequence of longs to sequence of
2129 KeyDefinitions, and added KeyDefinition struct.
2130 Required for fix to bug 80616.
2132 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2133 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2134 to use new definition (see above).
2136 * registryd/deviceeventcontroller.c: handle_keygrab(),
2137 spi_keyset_contains_key():
2138 Changed to make use of new struct; this allows matching based on
2139 string key-name, for instance "Tab". This also allows matching of
2140 composed characters, non-alphanumeric characters in a way that
2141 doesn't involve dependencies on X keysym codes directly, etc.
2143 * test/key-listener-test.c:
2144 Added test for Alt-Tab key using "string" specification of keyset,
2145 and modified one of the tests to use a keycode-based keyset.
2146 Thus this test both tests and demonstrates the creation and use of
2147 keysets of three forms: specified via keycode array,
2148 keysym array, and string array. (The string case only contains a
2149 single string, i.e. a string array of length 1).
2152 Turned on PRINT_TREE option by default. Also fixed a
2153 string-freeing bug in the PRINT_TREE code.
2154 Added a listener to window:minimize events.
2156 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2158 * atk-bridge/bridge.c:
2159 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2160 for window:activate and window:deactiveate
2161 (atk_bridge_property_event_listener atk_bridge_signal_listener
2162 atk_bridge_window_event_listener) Tidy debug code
2164 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2166 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2167 Fixed handling for NULL return value from ATK.
2169 * libspi/action.c libspi/component.c libspi/editabletext.
2170 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2171 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2172 Removed redundant casts.
2174 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2175 Fixed off by one bug.
2177 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2178 function not present in idl)
2180 2002-05-02 jacob berkman <jacob@ximian.com>
2182 * atk-bridge/Makefile.am: make atk-bridge a real module
2184 2002-04-26 Radek Doulik <rodo@ximian.com>
2186 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2187 atk_state_types table
2189 2002-04-22 jacob berkman <jacob@ximian.com>
2192 * libspi/Makefile.am: add deps on the built files to help
2193 automake, and don't version the ORBit typelib
2195 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2197 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2198 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2199 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2200 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2201 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2202 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2203 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2204 libspi/accessible.h libspi/accessible.h libspi/base.h
2205 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2206 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2207 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2208 libspi/spi-private.h libspi/statetset.h libspi/table.h
2209 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2210 util/mag_client.h util/mag_control.c util/mag_image.c
2211 util/mag_image.h util/magnifier.c util/magnifier.h:
2212 Add missing file headers; standardize existing ones
2214 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2216 * atk-bridge/bridge.c: Added window event support.
2218 2002-04-18 Michael Meeks <michael@ximian.com>
2220 * libspi/relation.c (impl_getNTargets): impl.
2221 (impl_getTarget): impl.
2223 * libspi/Makefile.am: fix stateset install.
2225 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2228 Started putting useful info in this file.
2230 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2232 * atk-bridge/bridge.c:
2233 Propagate state-changed notifications to ATs
2235 * cspi/spi_registry.c: update docs to reflect actual behavior of
2236 state-change events.
2238 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2241 Incremented version to 0.12.1
2243 * util/mag_client.h:
2244 Add missing declaration for magnifier_exit,
2245 used by mag_control.c - Forte compiler didn't like
2246 the implicit redeclaration of the function :-(
2249 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2252 Revved version to 0.12 due to API change (see below).
2254 * cspi/spi-roletypes.h:
2255 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2256 definition from the inline docs, and added docs
2257 for SPI_ROLE_LAST_DEFINED.
2260 * cspi/spi_streamablecontent.c:
2261 Added missing seek_type parameter to
2262 (so far unused) method,
2263 AccessibleStreamableContent_seek().
2264 [ RT approval JodyG. ]
2267 Fixed docs for SPI_createAccessibleKeystrokeListener.
2269 * cspi/spi_registry.c:
2270 Fixed docs for SPI_KEYSET_ALL_KEYS.
2272 * docs/reference/cspi/at-spi-cspi-sections.txt:
2273 Added a number of missing APIs to SECTIONS.
2275 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2277 * registryd/Makefile.am:
2279 * cspi/bonobo/Makefile.am:
2280 Add $(X_LIBS) to makefiles.
2282 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2285 Revved version to 0.11.
2287 * libspi/component.c:
2288 Added implementation for grabFocus.
2290 * idl/Accessibility_Component.idl
2291 (Accessibility_Component_grabFocus):
2292 Made this method return boolean to indicate success or failure, to
2293 be consistent with cspi and the corresponding ATK method.
2295 * idl/Accessibility_Selection.idl
2296 (Accessibility_Selection_selectAll) :
2297 Made these methods return boolean to indicate success or
2298 failure, to be consistent with cspi and the corresponding ATK methods.
2300 * idl/Accessibility_EditableText.idl
2301 (Accessibility_EditableText_setTextContents,
2302 Accessibility_EditableText_insertText,
2303 Accessibility_EditableText_cutText,
2304 Accessibility_EditableText_deleteText,
2305 Accessibility_EditableText_pasteText):
2306 Made these methods return boolean to indicate
2309 * cspi/spi_editabletext.c:
2310 Made these methods return booleans.
2312 * libspi/selection.c:
2313 * libspi/component.c:
2314 * libspi/editabletext.c:
2315 Connected the boolean returns from ATK
2316 to the server-side code referenced above.
2318 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2320 * idl/Accessibility_Table.idl: Added missing methods,
2321 Accessibility_Table_addRowSelection,
2322 Accessibility_Table_addColumnSelection,
2323 Accessibility_Table_removeRowSelection,
2324 Accessibility_Table_removeColumnSelection.
2327 Added C wrappers for above IDL:
2328 AccessibleTable_addRowSelection,
2329 AccessibleTable_addColumnSelection,
2330 AccessibleTable_removeRowSelection,
2331 AccessibleTable_removeColumnSelection.
2334 Added server-side implementation code for IDL above, connecting
2335 to pre-existing ATK api.
2337 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2339 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2341 * libspi/accessible.c: Added implementation fo
2342 Accessibility_Accessible_get_state.
2344 * libspi/libspi.h: Added stateset.h to the list of includes.
2346 * libspi/stateset.c: Fixed broken implementation.
2348 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2351 Added implementation code for Accessibility_Magnifier_exit ().
2353 * util/mag_control.c:
2354 Added test code for above method; you can
2355 now kill an existing magnifier via
2356 ./mag_control q, from the util directory.
2358 * test/key-listener-test.c:
2360 Added a new test, for our key listener API.
2362 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2364 * test/app.c, test/keysynth-demo.c:
2366 Replace use of snprintf with g_snprintf.
2367 (fix for bugzilla 78249)
2369 2002-03-27 Michael Meeks <michael@ximian.com>
2373 * util/Makefile.am (INCLUDES): fix.
2374 (DONT_DIST_SOURCE): don't distribute the
2377 * libspi/Makefile.am (dist-hook): ditto.
2379 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2381 * libspi/hypertext.c:
2382 Fix warnings when yelp is used with atk-bridge
2384 2002-03-21 Michael Meeks <michael@ximian.com>
2386 * libspi/application.c (spi_application_new):
2387 use spi_accessible_construct so we use the AtkObject
2390 2002-03-19 Michael Meeks <michael@ximian.com>
2392 * registryd/registry.c (desktop_remove_application),
2393 (desktop_add_application): clean coding style.
2395 * registryd/desktop.c (spi_desktop_remove_application),
2396 (spi_desktop_add_application): kill re-enterency hazards.
2397 (spi_desktop_dispose): remove bogus redundant cast
2398 obscuring bug; fix bug too.
2399 (spi_desktop_init): make the desktop object immortal.
2401 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2404 Added a #define-guarded tree-traversal step
2405 when enumerating the apps (diagnostic tool).
2407 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2409 * idl/Accessibility_Role.idl:
2410 Added ROLE_DRAWING_AREA which seemed to be missing from the
2413 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2415 * cspi/spi-roletypes.h cspi/spi_accessible.c
2416 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2419 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2420 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2421 AT when applications are added and removed from the desktop. This
2422 reverts the previous broken implementation using the backing
2423 AtkObject for the SpiDesktop.
2425 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2427 * registryd/desktop.c: emit the "children-changed::add" and
2428 "children-changed::remove" signals on the backing ATK object for
2429 the desktop so AT can tell when applications are started and shut
2432 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2434 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2436 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2438 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2440 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2442 * cspi/state-types.h: synched with IDL and ATK
2444 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2446 * libspi/accessible.c
2447 (impl_accessibility_accessible_get_child_at_index):
2448 Change return value for g_return_if_fail ()
2449 to CORBA_OBJECT_NIL instead of "0" (!)
2451 * registryd/Makefile.am:
2452 * registryd/Accessibility_Register.server.in:
2453 Changed name of executable, "registryd",
2454 to something more informative:
2457 2002-03-13 Michael Meeks <michael@ximian.com>
2459 * atk-bridge/bridge.c (atk_bridge_init): don't register
2460 if we're in a bonobo-component, rather than a bonobo app.
2462 2002-03-13 Michael Meeks <michael@ximian.com>
2464 * atk-bridge/bridge.c (gtk_module_init): split
2465 out body to (atk_bridge_init): here, since otherwise
2466 we get symbol conflicts and oddness when invoked
2467 from (gnome_accessibility_module_init): here (upd.)
2469 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2472 New file. Explicitly allow "build sheriff" putbacks provided
2473 they are tested on Solaris.
2475 * docs/reference/cspi/Makefile.am:
2476 Added '-' to the "cp" command for index.sgml.
2477 ("patch by thomasvs, soon coming to a GUADEC near you")
2480 Incremented version number (0.9.0) for new release.
2481 Changed macro that checks for popt, to better detect
2482 obsolete versions of popt.
2485 Added X_LIBS to AC_SUBST, for applications
2486 that call Xlib API directly.
2489 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2492 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2495 Fix regression caused by hard-coding major
2496 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2499 * test/test-simple.c (test_editable_text),
2500 (test_test): revert previous change (error was
2501 a regression in gail which is now fixed).
2503 2002-03-04 Michael Meeks <michael@ximian.com>
2505 * test/test-simple.c (test_editable_text),
2506 (test_text): pass G_MAXINT instead of '-1' for
2507 whole string - is this a good thing !?
2509 * cspi/spi_accessible.c
2510 (Accessible_getRelationSet): fix crasher bug
2511 overwriting the end of the array.
2513 * test/test-simple.c (validate_accessible): free,
2514 not g_free returned relation set.
2516 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2518 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2519 implemented stateset support
2521 * idl/Accessibility_State.idl: Made necessary changes to
2522 the IDL to support state sets.
2524 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2526 * registryd/deviceeventcontroller.c:
2527 Added implementation for generateMouseEvent.
2529 * cspi/spi_registry.c:
2530 Connected new implementation for generateMouseEvent
2533 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2536 Incremented revision (but no change in public API
2537 outside of 'utils', which are not installed public yet.)
2539 * libspi/component.c:
2540 Changed to use atk_component API for layers and
2541 mdi_zorder, instead of deprecated atk_object API.
2543 Magnification Utility Enhancements:
2546 Added implementation of createZoomRegion, clearAllZoomRegions,
2547 resizeZoomRegion. Added new commandline argument
2548 "--no-initial-region". Note that clearAllZoomRegions doesn't
2549 unmap the old '0' region as it should (yet), and the other
2550 methods only work when creating/resizing a single region,
2551 which is "region 0".
2552 (Code for multiple region support will be added later.)
2555 Now we raise the magnifier window each time it's refreshed;
2556 this will help keep it on top.
2558 * util/mag_client.h:
2559 Added simple wrappers for above, used by mag_control.
2560 For general use, it's recommended to use the bonobo magnifier
2561 control API directly instead of using these wrappers.
2564 Moved ZoomRegionData from magnifier.c to this file.
2566 * util/mag_control.c:
2567 Added some code to exercise new IDL implementations.
2569 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2571 * libspi/text.c: Provide implementation for getAttributes.
2573 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2576 Incremented revision.
2578 * test/test-simple.c:
2579 Replaced use of deprecated g_main_iteration with
2580 g_main_context_iteration.
2582 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2585 Incremented revision for desktop alpha 2.
2587 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2589 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2592 * test/simple-at.c: include netinet/in.h.
2594 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2596 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2597 use NULL, not CORBA_OBJECT_NIL.
2599 * libspi/accessible.c:
2600 (impl_accessibility_accessible_get_relation_set):
2601 allocate the sequence correctly.
2603 * libspi/remoteobject.h: kill spi_remote_object_new.
2605 * test/test-simple.c: (validate_accessible): add code
2606 to test relation sets, now all we need is to figure
2607 out how to excercise this code path :/
2609 2002-01-18 Michael Meeks <michael@ximian.com>
2611 * test/test-simple.c
2612 (key_listener_cb): consume the key.
2613 (test_keylisteners): update.
2614 (main): wait for any pending unrefs on events.
2616 * registryd/deviceeventcontroller.c
2617 (spi_controller_update_key_grabs): only re-issue the
2618 grab on a key release.
2619 (spi_device_event_controller_forward_key_event):
2620 refresh the keygrabs before we notify the listeners,
2621 to reduce the X ungrab / re-grab race.
2622 (spi_controller_register_with_devices): remove
2623 XSelectInput - we do that with the gdk_window_ call.
2624 (_spi_controller_device_error_handler): return a value.
2625 s/GDK_DISPLAY/spi_get_display/
2627 2002-01-17 Michael Meeks <michael@ximian.com>
2629 * registryd/deviceeventcontroller.c
2630 (_deregister_keygrab): don't blow out the later
2633 * test/test-simple.c (test_keylisteners): do a
2634 more intelligent validation.
2636 2002-01-14 Michael Meeks <michael@ximian.com>
2638 * atk-bridge/bridge.c
2639 (gnome_accessibility_module_init),
2640 (gnome_accessibility_module_shutdown): impl.
2641 (gtk_module_init): protect vs. double inits.
2642 (add_signal_listener): impl.
2643 (spi_atk_bridge_state_event_listener): kill
2644 (deregister_application): split out of
2645 (spi_atk_bridge_exit_func): here.
2647 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2650 Added caret tracking when using magnifier, and
2651 now use text bounds for focus tracking of text elements, rather than
2652 the component bounds - this is helpful for short text fields in long
2653 table cells, at high magnification.
2655 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2657 * registryd/deviceeventcontroller.c:
2658 Regression fix for keylistener de-registration; global keygrabs
2659 were not being released when deregisterKeystrokeListener was
2660 called in cspi, since
2661 Accessibility_DeviceEventController_deregisterKeystrokeListener
2662 was called with a zero-length keyset. That is because the cspi
2663 method, SPI_deregisterKeystrokeListener, does not take a keyset
2664 parameter but instead should remove all the key grabs held be a
2666 The code in impl_deregister_keystroke_listener was changed to copy
2667 the keylist from the listener instance previously registered with
2668 the DeviceEventController before releasing the grabs.
2670 * registryd/registry.c:
2671 * registryd/deviceeventcontroller.c:
2672 * libspi/spi-private.h:
2674 Changed spelling of "re-enterant" to "re-entrant" globally.
2676 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2678 * test/test-simple.c:
2679 Changed key listeners test - the test was slightly mis-using the
2680 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2681 It now uses '=' as the key event listened to and generated,
2682 relying on a keysym match rather than assuming that keycode 33
2683 is always equal to keysym '!'.
2685 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2688 Changed simple-at to use a specific keyset, rather than
2689 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2690 manager, desktop, etc.
2692 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2694 * registryd/deviceeventcontroller.c:
2695 Replaced standard X error handler with a special handler that
2696 is non-fatal for failed keygrabs. This works around
2697 problems with keygrab clashes sometimes observed on
2699 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2700 mouse handling code as yet).
2702 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2705 Incremented revision for desktop alpha release.
2708 Fixed a couple of the more glaring errors (still not
2711 2002-01-11 Michael Meeks <michael@ximian.com>
2713 * registryd/deviceeventcontroller.c
2714 (spi_device_event_controller_forward_key_event): kill
2715 XUngrabKey / XKeyGrab race.
2716 (spi_controller_grab_keyboard): rename to
2717 (spi_controller_update_key_grabs): this, and deal
2718 with incremental adding / removing grabs more
2720 (_register_keygrab): ensure we're not pending a remove.
2721 (spi_grab_mask_free): impl.
2722 (spi_controller_register_global_keygrabs): split out
2724 (handle_keygrab): impl.
2725 (_deregister_keygrab): impl.
2726 (spi_controller_deregister_global_keygrabs): impl.
2727 (spi_controller_update_key_grabs): re-issue the grab if
2728 we just recieved a notification.
2730 * test/test-simple.c (key_listener_cb): remove debug.
2732 * registryd/deviceeventcontroller.c
2733 (spi_controller_register_device_listener): after
2734 registering a global keygrab, actualy register it !
2735 don't wait for a timeout; doh !
2737 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2738 to make it more readable / manipulable.
2739 s/grabmask/grab_mask/ s/refcount/ref_count/
2740 s/keyval/key_val/ s/modmask/mod_mask
2742 2002-01-08 Michael Meeks <michael@ximian.com>
2744 * registryd/deviceeventcontroller.c
2745 (spi_controller_register_with_devices): use gdk calls to
2747 (global_filter_fn): implement the filter.
2748 (spi_device_event_controller_check_key_event): rename to
2749 (spi_device_event_controller_forward_key_event): this & upd.
2750 (spi_get_display): replace with GDK_DISPLAY.
2752 * registryd/deviceeventcontroller.c
2753 (spi_controller_deregister_device_listener): unroll into
2754 (impl_deregister_keystroke_listener): here to simplify.
2755 (spi_controller_register_global_keygrabs): split cut and
2756 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2757 (spi_controller_deregister_device_listener): remove.
2758 (impl_register_mouse_listener): remove, no mouse listener
2759 support in at-spi-1.0
2761 * registryd/registry.c
2762 (_device_event_controller_hook): kill.
2763 (spi_registry_init): upd.
2765 * registryd/deviceeventcontroller.c
2766 (spi_device_event_controller_class_init): upd.
2767 (spi_check_key_event): merge into.
2768 (spi_device_event_controller_check_key_event):
2769 here and kill strange static ev init, don't leak
2770 the x_event - nor dynamicaly allocate it.
2772 * registryd/registry-main.c (main): re-direct
2773 timeout to remove strange vtable mess.
2775 * registryd/deviceeventcontroller.c
2776 (remove_listener_cb): impl.
2777 (spi_controller_deregister_device_listener):
2778 fix re-enterancy hazard.
2780 2002-01-07 Michael Meeks <michael@ximian.com>
2782 * registryd/deviceeventcontroller.c
2783 (spi_device_event_controller_new): upd.
2784 (impl_notify_listeners_sync): upd. debug.
2785 (spi_notify_keylisteners): fix re-enterancy hazards,
2786 prettify, remove O(n*n) iteration.
2787 (spi_controller_grab_keyboard): fix iteration.
2788 (spi_check_key_event): re-format to suit coding style.
2789 Clean all the warnings - we're warning free.
2791 * registryd/deviceeventcontroller.h:
2792 * registryd/registry.h: make mutualy referential with
2793 typesafe forward references instead of (!) void pointer
2796 2002-01-11 Michael Meeks <michael@ximian.com>
2798 * cspi/spi_accessible.c (role_names): add a role name
2799 to sync this array with the enum; and make the regression
2802 2002-01-10 Michael Meeks <michael@ximian.com>
2804 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
2805 allow expansion of enumeration & kill warning.
2807 * test/test-simple.c (key_listener_cb): impl.
2808 (test_keylisteners): impl.
2810 * cspi/spi-listener.h: make listener signatures const
2811 on the provided (const) events.
2813 * test/keysynth-demo.c: upd. to const events.
2815 * test/simple-at.c: ditto.
2817 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2820 Rev the version to 0.5 (the previous tarball was named 0.4,
2821 even though the micro number was 3), so we need to rev upwards
2822 again for beta2/"desktop-alpha"
2825 Checked in a demo script, which requires editing before use!
2826 Proceed with caution.
2829 Fixed typo in header which was redefining SPI_ACTION_CLASS.
2831 * cspi/spi_accessible.c:
2832 Add a couple of missing enum initializations, and fix some enum
2835 * cspi/spi_registry.c:
2836 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2838 * docs/reference/cspi/at-spi-cspi-sections.txt:
2839 Remove/fix a couple of broken document references.
2842 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
2843 as Alt-Control to listen for commands, since on some systems
2844 Control-Alt may already be grabbed.
2846 2002-01-10 Bill Haneman <bill.haneman@sun.com>
2849 Update version number to 0.4 for Beta2.
2851 * libspi/accessible.c, libspi/accessible.h:
2852 Expose spi_accessible_construct, to enable libgail-gnome
2853 construction from spi_accessible subtype.
2855 * utils/magnifier.c:
2856 Workaround for bug in some non-gnome-compliant window managers
2857 which made magnifier resize improperly.
2859 2002-01-09 Bill Haneman <bill.haneman@sun.com>
2861 * libspi/accessible.c: (spi_accessible_new) :
2862 Move the test for SPI_IS_REMOTE_OBJECT to
2863 spi_accessible_new_return, fixing a bug and compile time warning.
2865 2002-01-08 Michael Meeks <michael@ximian.com>
2867 * registryd/registry.c (parse_event_type): remove strndup.
2869 * libspi/Makefile.am (libspi_la_SOURCES): remove
2870 sources already included in the headers section.
2872 * libspi/util.c: add.
2874 * libspi/spi-private.h: add.
2876 * registryd/registry.c: update to moved list iterators.
2878 2002-01-05 Michael Meeks <michael@ximian.com>
2880 * test/simple-at.c (main): upd. auto-module set to atk-bridge
2882 * test/test-simple.c (main): ditto.
2884 2002-01-04 Michael Meeks <michael@ximian.com>
2886 * libspi/accessible.c (spi_accessible_new): remove 2nd,
2887 redundant construct.
2889 * registryd/registry.c
2890 (get_listener_list): impl.
2891 (impl_accessibility_registry_register_global_event_listener):
2892 re-impl. to simplify using ~, remove dodgy const cast off.
2893 (parse_event_type): constify.
2894 (impl_accessibility_registry_deregister_global_event_listener_all):
2895 re-write, more efficiency and simplicity, kill re-enterancy
2897 (compare_listener_corbaref, compare_corba_objects),
2898 (compare_listener_quarks): define out.
2899 (impl_accessibility_registry_deregister_global_event_listener):
2900 re-write for effiency, and nail re-enterancy hazard.
2901 (impl_accessibility_registry_get_desktop_list): impl.
2902 (re_enterant_list_delete_link): impl.
2903 (re_enterant_list_foreach): impl.
2904 (remove_listener_cb): impl.
2905 (_registry_notify_listeners): kill.
2906 (notify_listeners_cb): impl.
2908 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2909 (SPI_getDesktopList): impl.
2911 * test/test-simple.c (test_desktop): test the methods.
2913 2002-01-03 Michael Meeks <michael@ximian.com>
2915 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2916 keystrings since we free them
2917 (SPI_freeAccessibleKeySet): in here.
2919 * libspi/accessible.c (spi_accessible_new): kill warning,
2920 wonder what is going on with the constructor here.
2922 2002-03-01 Bill Haneman <bill.haneman@sun.com>
2924 * libspi/accessible.c (spi_accessible_new ()) :
2925 Added check to see if AtkObject is an SpiRemoteObject before
2926 creating an SpiAccessible.
2928 2002-05-01 Bill Haneman <bill.haneman@sun.com>
2930 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2931 Enable keygrabs using the Control modifier, now that they are
2932 working properly (they were previously disabled).
2935 Change the command keygrab for this demo to "Control+Alt", so as
2936 to conflict with fewer other key commands on the system; this
2937 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2939 Removed a pointlessly-chatty keylistener for unshifted keys
2940 (shifted keys are still reported).
2942 2002-02-01 Bill Haneman <bill.haneman@sun.com>
2944 * libspi/remoteobject.h:
2945 * libspi/remoteobject.c:
2946 Added definitions for special AtkObject subtype, required for
2947 support of remote components (specifically, used by BonoboControl
2948 accessibility implementation).
2950 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
2952 * cspi/spi.h: synched relation types with ATK
2954 * cspi/spi_accessible.c: Added implementations of
2955 AcccessibleRelation_* methods
2957 * idl/Accessibility_Relation.idl: added getRelationTypeName
2958 method. Synched known relation types with ATK. Allowed for
2959 relation type extension with the RELATION_EXTENDED type.
2961 * libspi/relation.c: Provided implementations for
2962 AccessibleRelation methods.
2964 2002-01-01 Bill Haneman <bill.haneman@sun.com>
2966 API tweaks for today's API 'freeze'.
2969 Added placeholder functions to allow future compatible expansion
2970 of the IDL interfaces.
2972 * idl/Accessibility_Registry.idl:
2973 Changed generateKeyEvent to generateKeyboardEvent. Changed
2974 signature of this method to accept an optional keystring in
2975 parameter (for complex text input synthesis) and changed use of
2976 simple 'boolean' parameter in registerKeystrokeListener to a
2977 struct, EventListenerMode.
2979 * cspi/spi_accessible.c:
2981 * cspi/spi_streamablecontent.c:
2982 Added references to AccessibleStreamableContent interface, and
2983 definition and implementation of AccessibleStreamableContent
2986 * cspi/spi_registry.c:
2988 Changed generateKeyEvent API to generateKeyboardEvent,
2989 taking a new (optional) keystring parameter to support complex
2994 Renamed directory (to better reflect its actual purpose, bridging
2995 from at-spi to ATK). The .so module is also now named
2998 * idl/Accessibility_Hypertext.idl:
2999 * libspi/accessible.c:
3000 * libspi/hypertext.h:
3001 * libspi/hypertext.c:
3002 Changed Accessibility_Hypertext to *not* derive from
3005 * cspi/spi_registry.c:
3006 Added list of legal event type names for 'window' events, which
3007 completes the registry event API.
3009 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3011 * at-bridge/bridge.c: Added registration for separate
3012 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3013 signals. If either of the first two parameters to the generic
3014 bridge signal handler are ints, they are passed on as event
3015 details. This allows an AT to determine what text was inserted.
3017 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3019 * registryd/deviceeventcontroller.c:
3020 Fixed regressions in generateKeyEvent caused by the removal of
3021 gdk_init from registryd; we now use pure X calls to connect to the
3022 display, which makes sense because deviceeventcontroller already
3023 uses a fair bit of X API (should eventually be migrated to a
3024 'portability layer').
3026 * registryd/desktop.c:
3027 Fixed minor regression in spi_desktop_init, changed the way the
3028 desktop name is being set to work with new spi_base API
3029 (gobject-based, rather than AtkObject-based).
3031 * registryd/Makefile.am:
3032 Minor revision of makefile to use XTST_LIBS variable rather than
3033 hard-wiring the Xtst LD_ADD element.
3035 * test/keysynth-demo.c:
3036 Tweaked an output message; added initialization of the
3037 'keystrings' member of the "switch listener" key_set.
3039 * libspi/relation.c:
3040 Squashed compile-time warning.
3042 * libspi/accessible.c:
3043 Cosmetic and formatting fixes, renamed a static method.
3045 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3047 * libspi/accessible.c
3049 * libspi/application.c
3052 * libspi/component.c
3053 * libspi/editabletext.c
3054 * libspi/hyperlink.c
3055 * libspi/hypertext.c
3057 * libspi/selection.c
3061 * registryd/desktop.c:
3062 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3064 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3066 * idl/Accessibility_Registry.idl:
3067 Added boolean member 'is_text' to DeviceEvent. This is for the
3068 use of key events, and helps prevent ambiguity between composed
3069 key strings and keysym names, since both may potentially be
3070 returned in the 'event_string' member.
3072 * at-bridge/bridge.c:
3073 * registryd/deviceeventcontroller.c:
3074 Use the 'is_text' member when notifying device event listeners.
3075 Knon issue: composed characters are not dealt with correctly by
3076 the global key listener implementation yet.
3078 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3080 * at-bridge/bridge.c:
3081 Namespaced local static methods to spi_atk_bridge_* where
3082 previously named bridge_*, and spi_* elsewhere.
3084 * at-bridge/bridge.c:
3085 * cspi/bonobo/cspi-bonobo-listener.c:
3086 Added demarshalling/conversion for string member of
3087 Accessibility_DeviceEvent to AccessibleKeystroke.
3089 * registryd/deviceeventcontroller.c:
3090 Added code to fill the Accessibility_DeviceEvent key string value
3091 member for global key events (i.e. from XGrabKey), to match
3092 behavior of Accessibility_DeviceEvent from the toolkit key events
3093 from the bridge. Fixed timestamp in global key event notifications.
3096 Added printout of key event's string value to
3097 report_ordinary_key_event, for demo/debugging purposes.
3099 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3101 * idl/Accessibility_Registry.idl:
3102 Removed Accessibility_KeyStroke structure in favor of generic
3103 Accessibility_DeviceEvent structure.
3104 Changed Accessibility_ControllerEventMask from a struct to an
3107 * at-bridge/bridge.c:
3108 Changed APIs to use DeviceEvent structure as above, and removed
3109 bogus casting between these event structures.
3111 * cspi/spi-listener.h:
3112 Added keystring member of AccessibleKeystroke structure, to enable
3113 matching on event "names" rather than only hardware codes and
3117 Added keystrings member of AccessibleKeySet struct, to allow
3118 matching on event names (as above).
3119 Added declarations for SPI_createAccessibleKeySet and
3120 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3121 event modmasks directly as unsigned ints rather than structs with
3122 refcounts, in the DeviceEventController methods.
3124 * cspi/spi_registry.c:
3125 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3127 * cspi/spi-roletypes.h:
3128 Added documentation of newly added SPI Roles.
3130 * cspi/bonobo/cspi-bonobo-listener.c:
3131 Changes in support of API changes above.
3133 * libspi/accessible.c:
3134 Converted APIs to use DeviceEvent structure (see IDL changes
3137 * registryd/deviceeventcontroller.c:
3138 Added DEControllerGrabMask structure to track keygrabs not only by
3139 modmask but by keyset as well; this allows us to do "global"
3140 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3141 grabbing on AnyKey and then filtering after-the-fact.
3142 Bugfixes for event filtration mean that we don't get false matches
3143 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3145 * registryd/deviceeventcontroller.c:
3146 Namespaced a number of static methods to use spi_ prefix. Major
3147 revision to internals of global (i.e. X) key grabs.
3149 * registryd/deviceeventcontroller.h:
3150 Removed keymask_list and added keygrabs_list to
3151 SpiDeviceEventController struct.
3154 Added use of SPI_createAccessibleKeySet API when creating a
3155 listener for only one key. Attach a listener to "shift spacebar
3156 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3157 X key event names to SPI key event names, so that listeners are
3158 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3160 * test/keysynth-demo.c:
3161 Changed (incorrect) use of X key event names (KeyPressed,
3162 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3165 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3167 * libspi/accessible.c:
3168 Convert all AtkRole enumerations to Accessibility_Role enums when
3169 getting a role from an AtkObject.
3171 * cspi/spi_accessible.c:
3172 Complete the conversion of Accessibility_Role enums at runtime to
3173 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3174 role enums correctly match those given in spi-roletypes.h.
3175 Re-synchronize the local names list for AccessibleRole_getName ().
3176 AccessibleRole_getName is now deprecated, since it duplicates the
3177 more reliable Accessible_getRoleName.
3178 Added some role types from Accessibility_Role.idl.
3180 * idl/Accessibility_Role.idl:
3181 Added some role types used by AtkRole.
3183 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3186 * cspi/spi_registry.c:
3188 * cspi/cspi-bonobo-listener.c:
3189 Namespaced all methods that did not begin with an "SPI_" or
3190 "Accessible" prefix to "SPI_".
3193 Homogenized internal function namespace to "cspi_" for statics.
3196 Patched tests to use the new CSPI API.
3198 * docs/reference/cspi/at-spi-cspi-sections.txt:
3199 Updated docs to reflect namespace changes, and added a number of
3200 methods to the documentation.
3202 * registryd/registry.c:
3203 Changed use of strings and string hashes in listener event
3204 matching and parse_event_string to use GQuark, which is guaranteed
3207 * registryd/registry.h:
3208 Squashed annoying warning.
3210 * idl/Accessibility_Role.idl:
3211 Extended range of available Accessibility_Role values.
3213 * cspi/spi_accessible.c:
3214 Re-ordered role names.
3216 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3218 * idl/Accessibility_Value.idl:
3219 Revert use of union back to CORBA_double, since the double type is
3220 more efficient and can contain the other types without loss of
3223 * idl/Accessibility_Accessible.idl:
3224 Added method Accessibility:Accessible:getRoleName, to complement
3225 Accessibility:Accessible:getRole.
3227 * cspi/spi_accessible.c:
3229 Added C binding for above, Accessible_getRoleName (), and changed
3230 signature of Accessible_getRole () to return an AccessibleRole.
3232 * cspi/spi-roletypes.h:
3233 Changed AccessibleRole_getName to return a char * instead of a
3234 const char *. This method is now at least temporarily deprecated
3235 in favor of asking Accessibles for their RoleNames directly.
3238 Revert to match Accessibility_Value.idl;
3242 Change signature of AccessibleValue methods to use double rather
3246 * cspi/spi_accessible.c:
3247 Changed Accessible_getRole to return an AccessibleRole enum rather
3248 than a UTF-8 string. The UTF-8 string can still be obtained via
3249 AccessibleRole_getName ().
3251 * test/test-simple.c:
3252 Add test_action. Small fixup to match API change to Accessible_getRole.
3255 Bugfix for get_action_from_servant ().
3257 2001-12-11 Michael Meeks <michael@ximian.com>
3259 * libspi/libspi.h: remove registry.h and
3260 desktop.h, deviceeventcontroller.h
3262 * libspi/Makefile.am: remove registry.[ch],
3263 desktop.[ch], deviceeventcontroller.[ch]
3265 * registryd/Makefile.am: add registry.[ch],
3266 desktop.[ch], rename registryd.c to registry-main.c.
3267 add deviceeventcontroller.[ch]
3269 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3272 Replace setenv() call with putenv ().
3274 * libspi/component.c:
3275 Bugfix in AccessibleComponent_getExtents (),
3278 2001-12-11 Michael Meeks <michael@ximian.com>
3280 * libspi/image.c (impl_getImageExtents): impl.
3281 (spi_image_class_init): upd.
3284 (AccessibleImage_getImageDescription): fix daft bug
3287 * test/test-simple.c (global_listener_cb): update
3288 to only quit if not --poke
3289 (main): catch --poke.
3290 (validate_accessible): upd. dumping, call test_image
3293 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3296 * idl/Accessibility.idl: update all IDL includes.
3298 * idl/*.idl - rename to namespace - this sucks, blame
3299 mjs' bad decision for oafd.
3301 * test/test-simple.c (create_test_window): add more tests.
3302 (create_tree): split this out.
3303 (validate_accessible): bugfix.
3305 2001-12-11 Michael Meeks <michael@ximian.com>
3307 * cspi/bonobo/cspi-bonobo-listener.c:
3308 (cspi_kestroke_listener_unref),
3309 (cspi_event_listener_unref): impl. undoing previous
3310 homenous environment - for Bill.
3312 * cspi/spi_table.c (long_seq_to_array): use
3315 * cspi/spi_main.c: split out all bonoboish bits into
3318 * cspi/spi-impl.h: upd. typedefs.
3320 * cspi/spi_registry.c: update to lowlevel API,
3321 return booleans to indicate success in some places.
3323 * cspi/spi_event.c: update to lowlevel API.
3325 * cspi/bonobo/Makefile.am: add.
3327 * cspi/bonobo/cspi-lowlevel.h: add
3329 * cspi/bonobo/cspi-bonobo.c: add
3331 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3333 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3334 (SUBDIRS): add bonobo, link in the libs.
3336 * cspi/spi-util.c: kill this file.
3338 * TODO: merge in my bits.
3340 2001-12-11 Michael Meeks <michael@ximian.com>
3342 * test/test-simple.c (test_value, test_table, main):
3343 remove unused variables causing warnings.
3345 * configure.in: cleanup checks - require gail.
3347 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3350 Changed Value interface to use SValue (scalars) rather than
3351 assuming all values are floats. This allows floats, doubles,
3352 longs, shorts, and unsigned values to be manipulated.
3353 Introduced Accessibility:SValue union.
3356 Updated to use new API above, and to work correctly with GValues
3357 of different types in AtkValue.
3360 Updated to use new API above. cspi's API is as yet unchanged.
3363 Updated the Value revision action item.
3365 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3367 * test/test-simple.c:
3368 Added test_table (GtkTreeView widget in test window to follow).
3369 Un-commented test_value, added GtkRange widget.
3370 Added GtkTreeView widget with GtkListStore. It passes regression
3371 test but leaks one SPI object for some reason.
3374 Fixed bug in impl__set_currentValue.
3376 2001-12-10 Michael Meeks <michael@ximian.com>
3378 * cspi/spi_text.c: audit for exception handling,
3379 tolerating NULL object references safely etc.
3381 * cspi/spi_value.c: ditto.
3383 * cspi/spi_table.c (AccessibleTable_getSummary),
3384 (AccessibleTable_getAccessibleAt),
3385 (AccessibleTable_getRowHeader),
3386 (AccessibleTable_getColumnHeader),
3387 (AccessibleTable_getCaption): fix bugs hidden by
3389 (long_seq_to_array): impl.
3390 (AccessibleTable_getSelectedRows),
3391 (AccessibleTable_getSelectedColumns): use it.
3393 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3396 Added a TODO list (rough and short for now).
3398 * cspi/spi_hyperlink.c:
3399 * cspi/spi_hypertext.c:
3400 Fixed macro name typos, and remove use of obsolete macro in
3401 AccessibleHyperlink_getLink.
3403 * cspi/spi_action.c:
3404 * cspi/spi_accessible.c:
3405 * cspi/spi_application.c:
3406 * cspi/spi_component.c:
3407 * cspi/spi_selection.c:
3410 Documentation fixes (removed return values from ref/unref methods).
3412 2001-12-10 Michael Meeks <michael@ximian.com>
3414 * cspi/spi_action.c: audit for exception handling,
3415 tolerating NULL object references safely etc.
3417 * cspi/spi_accessible.c: ditto.
3419 * cspi/spi_component.c: ditto.
3421 * cspi/spi_editabletext.c: ditto.
3423 * cspi/spi_hyperlink.c: ditto.
3425 * cspi/spi_hypertext.c: ditto.
3427 * cspi/spi_image.c: ditto.
3429 * cspi/spi_selection.c: ditto.
3431 2001-12-10 Michael Meeks <michael@ximian.com>
3433 * configure.in: use cspi/libspi.pc.in instead.
3435 * Makefile.am (pkgconfig_DATA): upd. to match.
3437 * test/simple-at.c (report_focus_event): kill hacks around
3438 bad return values, use putenv not setenv
3440 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3441 fire ChildGone - I killed it.
3443 * libspi/component.c
3444 (impl_accessibility_component_get_extents): remove
3447 * idl/Accessible.idl: kill ChildGone exception.
3449 * cspi/*.[ch]: kill int return from ref / unref.
3451 * cspi/spi_main.c (cspi_object_add_check): fold into
3452 (cspi_object_add): here.
3454 * cspi/spi_component.c (AccessibleComponent_getExtents):
3455 handle exceptions elegantly.
3457 * cspi/spi-private.h (cspi_check_ev_return),
3458 (cspi_return_if_fail): impl.
3460 * cspi/spi_accessible.c: use extensively.
3461 (AccessibleStateSet_equals): add direct compare check.
3463 * cspi/spi_selection.c: tolerate NULL objs, and check
3464 exceptions before return.
3466 * cspi/spi-util.c (cspi_warn_ev): rename to
3467 (cspi_check_ev): this & don't pass ev in; no point.
3469 2001-12-10 Michael Meeks <michael@ximian.com>
3471 * test/test-simple.c: use putenv not setenv
3472 (get_environment_vars): more chatty if you're not using
3475 * test/simple-at.c: do the setenv so more people see the
3478 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3480 * libspi/registry.c:
3481 Changed check of CORBA_environment on notification to be a warning
3482 instead of an error for the moment, since we can recover from this
3483 error when caused by a queued notification from a dead app.
3486 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3487 used by all current implementors of AtkValue), and coerce to
3488 CORBA_float. (Proper general case fix may require change to Value.idl).
3490 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3494 * cspi/spi_accessible.c:
3495 Documentation fixes: added user_data params to documentation for
3496 listeners and callbacks.
3498 * cspi/spi_accessible.c:
3499 Changed AccessibleStateSet_compare to return a
3500 StateSet rather than return the difference set into a third parameter.
3503 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3506 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3507 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3511 Remove subdirectory po from SUBDIRS for now.
3513 * at-bridge/bridge.c:
3514 Beefed up a couple of debug printouts.
3515 One-line fix for signal notification name formatting.
3517 * libspi/accessible.c:
3518 Added assertion to spi_accessible_new ().
3520 * libspi/application.c:
3521 Put #ifdef qualifiers around a printf.
3524 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3526 * registryd/Makefile.am:
3528 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3529 INTLTOOL_SERVER_RULE macro.
3532 Added an event listener for several ATK signals, for
3533 testing and debugging. Removed a few g_warnings.
3534 Added test output if focussed item implements the Value interface.
3536 * test/test-simple.c:
3537 Added test_value () function (known not to pass at the moment, so
3538 not actually called yet.
3540 2001-12-08 Michael Meeks <michael@ximian.com>
3542 * at-bridge/bridge.c (bridge_focus_tracker),
3543 (emit_eventv): fix the same ref. leak.
3544 (register_atk_event_listeners): don't leak.
3546 * cspi/spi-listener-impl.c (cspi_event): more
3547 protection from client code.
3549 * test/test-simple.c (test_desktop): unref the app.
3551 * test/Makefile.am: upd. TESTS.
3553 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3555 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3557 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3559 * cspi/spi_registry.c: constify in strings.
3560 (deregisterGlobalEventListenerAll): don't release the ref.
3562 * cspi/spi.h: start removing redundant / conflicting
3563 gtkdoc comments, making the API readable at a glance :-)
3565 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3567 * test/keysynth-demo.c (keysynth_exit, main): upd.
3569 * test/simple-at.c (main, simple_at_exit): upd.
3571 * test/test-simple.c (unutterable_horror): kill.
3572 (utterable_normal_derefs): kill.
3573 (main): upd & do a setenv before gtk_init, so that we
3574 can use memprof - and to save the pain of remembering
3575 this, if we're running under memprof - don't exit.
3577 * cspi/spi_main.c (SPI_exit): return exit status
3579 (SPI_event_quit): impl.
3580 (SPI_event_main): simplify.
3581 (cspi_is_gnome_app): kill.
3582 (SPI_init): kill isGNOMEapp arg.
3584 * at-bridge/bridge.c (register_atk_event_listeners):
3585 re-instate the unref.
3586 (bridge_exit_func): don't re-activate the registry,
3587 protect vs. theoretical re-entry, use the
3588 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3589 assert a clean shutdown - for regression tests.
3591 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3593 * configure.in: Comment out dummy i18n support for now,
3594 otherwise it fails to build.
3595 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3596 EXTRA_DIST. They are missing in tarball.
3598 2001-12-07 Michael Meeks <michael@ximian.com>
3600 * util/magnifier.c: kill bonobo activation reg. race.
3602 * libspi/component.c
3603 (impl_accessibility_component_get_extents): make it match
3606 * libspi/registry.c (_registry_notify_listeners):
3607 re-remove X headers & reconcile conflicts.
3608 (spi_listener_struct_free): bad conflict resolve.
3609 (impl_accessibility_registry_register_application):
3610 more bad merging fixed.
3611 (impl_accessibility_registry_deregister_application): ditto.
3612 (spi_registry_new): ditto.
3613 (spi_registry_init): don't have an applications field.
3615 [ merge fixups2 branch to here ]
3616 2001-12-07 Michael Meeks <michael@ximian.com>
3618 * test/simple-at.c (report_focus_event),
3619 (report_focussed_accessible): remove g_warning debug.
3621 2001-12-07 Michael Meeks <michael@ximian.com>
3623 * test/test-simple.c (validate_tree): comment out some checks.
3624 (test_desktop): app now not registered idly - horay.
3626 2001-12-07 Michael Meeks <michael@ximian.com>
3628 * cspi/spi_registry.c
3629 (registerAccessibleKeystrokeListener): clean, stop it leaking
3630 great swathes of memory, and device event controller references.
3631 ensure we always pass valid sequences.
3632 (deregisterAccessibleKeystrokeListener): ditto.
3633 (generateKeyEvent): upd.
3635 * at-bridge/bridge.c (bridge_key_listener): handle
3636 registry dead exception gracefully.
3637 (bridge_focus_tracker, emit_eventv): free ev.
3639 * test/simple-at.c (report_focus_event): fix polarity.
3641 * libspi/application.c (notify_listeners): kill the ev
3642 argument, and make sure we init the ev we use.
3643 (spi_application_object_event_listener): split out a chunk
3644 (get_atk_object_ref): here & fixup.
3645 (reverse_lookup_name_for_toolkit_event): make const.
3646 (spi_application_toolkit_event_listener): fixup, kill leaks
3649 * at-bridge/bridge.c (register_atk_event_listeners):
3650 don't unref the noop object - causes grief.
3652 * libspi/registry.c: remove the X headers.
3653 turn off the debug churn.
3655 * libspi/accessible.c (spi_accessible_new_return): only
3656 release the ref if we are supposed to [doh]
3658 * test/simple-at.c (report_button_press, report_focus_event):
3659 guard vs. unexpected exit.
3661 * at-bridge/bridge.c (gtk_module_init): prune printf.
3662 (bridge_exit_func): fix app unref.
3664 * libspi/Makefile.am: don't install registry or desktop.h
3666 * libspi/*.h: update includes.
3668 * libspi/application.h: don't include ourself, or
3669 other redundant headers.
3671 2001-12-06 Michael Meeks <michael@ximian.com>
3673 * libspi/accessible.c
3674 (get_accessible_from_servant): impl.
3675 Upd. all CORBA impl.s to use it killing cut and paste.
3677 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3679 (SPI_init): register atexit cleanup handler here.
3681 2001-12-06 Michael Meeks <michael@ximian.com>
3683 * at-bridge/bridge.c (gtk_module_init): g_error on
3684 activation exception
3686 2001-12-06 Michael Meeks <michael@ximian.com>
3688 * at-bridge/bridge.c (gtk_module_init): some sort of
3689 confusing merge clash - reverted.
3690 (bridge_idle_init): ditto.
3692 * test/test-simple.c (main, utterable_normal_derefs):
3693 merge from Bill - somehow not committed.
3695 2001-12-06 Michael Meeks <michael@ximian.com>
3697 * libspi/value.c (spi_value_class_init): upd.
3698 (spi_value_finalize): kill.
3700 * libspi/table.c (spi_table_finalize): kill.
3701 (spi_table_interface_new): upd.
3702 (spi_table_class_init): upd.
3703 (get_table_from_servant): impl.
3704 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3706 * libspi/selection.c (spi_selection_finalize): kill.
3707 (spi_selection_interface_new): upd.
3708 (spi_selection_class_init): upd.
3709 (get_selection_from_servant): impl.
3710 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3712 * libspi/relation.c (spi_relation_finalize): kill.
3713 (spi_relation_class_init, spi_relation_new): upd
3715 * libspi/image.c (spi_image_finalize): kill.
3716 (spi_image_class_init): upd.
3717 (spi_image_interface_new): upd.
3718 (get_image_from_servant): impl.
3719 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3721 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3722 (spi_hyperlink_finalize): kill.
3723 (spi_hyperlink_new): upd.
3724 (get_hyperlink_from_servant): impl.
3725 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3727 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3728 (spi_hypertext_finalize): kill.
3729 (spi_hypertext_class_init): upd.
3730 (get_hypertext_from_servant): impl.
3731 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3733 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3734 (spi_editable_text_interface_new): upd.
3735 (get_editable_text_from_servant): impl.
3736 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3738 * libspi/text.c (get_text_from_servant): impl.
3739 All impls - update to use it killing more cut and paste,
3740 also fix bad string returns on duff args ( a somewhat
3741 impossible case to handle - but hey ).
3742 (spi_text_construct): impl.
3743 (spi_text_interface_new): upd.
3744 (spi_text_object_finalize): kill.
3746 * libspi/component.c
3747 (accessibility_component_object_finalize): kill.
3748 (spi_component_class_init): upd.
3749 (get_component_from_servant): impl. helper to kill cut & paste.
3750 (impl_accessibility_component_contains):
3751 (impl_accessibility_component_get_accessible_at_point):
3752 (impl_accessibility_component_get_position):
3753 (impl_accessibility_component_get_extents):
3754 (impl_accessibility_component_get_mdi_z_order):
3755 (impl_accessibility_component_get_layer):
3756 (spi_component_interface_new): upd.
3758 * libspi/action.c (spi_action_finalize): kill.
3759 (spi_action_class_init): upd. inherit from SpiObject.
3760 (spi_action_interface_new): upd.
3761 (get_action_from_servant): impl. helper to reduce cut & paste.
3762 (impl_getKeyBinding, impl_getName, impl_doAction),
3763 (impl_getDescription): Use it everywhere.
3765 * cspi/spi_main.c (get_live_refs): a pointer hash.
3766 (spi_object_hash, spi_object_equal): comment out.
3767 There are issues with CORBA object hashing that need
3770 * libspi/application.c (spi_application_init),
3771 (spi_application_new): upd.
3773 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3774 (spi_accessible_class_init): upd.
3775 s/accessible/object/ in epv methods.
3777 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3779 * at-bridge/bridge.c:
3780 Reorder the bridge initialization into the bridge gtk_module_init,
3781 an immediate call to bridge_register_app, and an idle_add for
3782 register_atk_event_listeners (the only code that *must* wait until
3783 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3784 the activation, creates the application's Accessible object, and
3785 queues the bridge_idle_init function. Restored call to
3786 Accessibility_Registry_deregisterApplication().
3787 Prior to making this call we obtain a new reference to the
3788 registry, which is a temporary hack that helps us handle apps that
3789 shut down the bonobo mainloop before we get there.
3791 * libspi/registry.c:
3792 Fix string leakage in debug block, and don't segv if a an app
3793 dies before its event notifications have been propagated.
3796 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3797 as stopgap measure until we get proper exception handling when
3798 objects die during or before interrogation.
3802 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3803 Also changed default value of is_gnome_app to TRUE.
3806 * test/keysynth-demo.c:
3807 Changed use of SPI_init and SPI_event_main to reflect API change above.
3810 Made report_focus_event check the warning value from getName
3811 before reporting on focussed accessible; simplifies handling of
3812 notifications from dead objects.
3814 * test/test-simple.c: (Changes not in this patch since source is
3817 2001-12-05 Michael Meeks <michael@ximian.com>
3819 * registryd/registryd.c (main): protect against
3820 bonobo-activation startup race condition.
3822 * cspi/spi_main.c (cspi_object_add_check): cope
3823 with the exception elegantly.
3825 * idl/Accessible.idl: decl. ChildGone
3827 * libspi/desktop.c (spi_desktop_dispose): impl.
3828 (spi_desktop_class_init): upd.
3829 (spi_desktop_add_application),
3830 (spi_desktop_remove_application),
3831 (abnormal_application_termination): impl.
3832 (impl_desktop_get_child_at_index): re-impl.
3835 (impl_accessibility_registry_deregister_application),
3836 (impl_accessibility_registry_register_application):
3837 kill excessive debug clutter.
3839 * test/test-simple.c (test_misc): test some NULL
3840 tolerance. (main): upd.
3842 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3843 implements no interfaces - so let's not crash.
3845 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3847 * libspi/accessible.c (spi_accessible_new_return): impl.
3848 helper to calm the cut and paste, to cope with
3849 NULL AtkObjects effectively and efficiently, and to kill
3850 the referencing bugs.
3852 * libspi/table.c (impl_getAccessibleAt),
3853 (impl_getRowHeader, impl_getColumnHeader): upd.
3855 * libspi/hyperlink.c (impl_getObject): upd.
3857 * libspi/accessible.c
3858 (impl_accessibility_accessible_get_child_at_index): upd.
3860 * libspi/component.c
3861 (impl_accessibility_component_get_accessible_at_point): upd.
3863 * test/test-simple.c (test_editable_text, test_text): impl.
3866 * cspi/spi_editabletext.c
3867 (AccessibleEditableText_insertText): constify.
3869 * test/test-simple.c (focus_me): make more robust.
3871 * libspi/accessible.c: remove some printfs in methods that
3872 we test and work fine, so we can get a clean tree dump.
3874 * test/test-simple.c (validate_accessible),
3875 (validate_tree): make tree dumping pretty too.
3877 * at-bridge/bridge.c (bridge_signal_listener): upd. so
3878 it builds without debug on.
3880 * test/test-simple.c (validate_accessible): fix the most
3883 * cspi/spi_main.c (spi_object_release): leave the nicely
3884 blanked memory around if in debug mode.
3886 * cspi/spi-listener-impl.c (cspi_event): use add_check.
3888 [committed to fixups2]
3889 2001-12-05 Michael Meeks <michael@ximian.com>
3891 * libspi/editabletext.c
3892 (spi_editable_text_class_init): g_type_class_peek_parent,
3893 not interface peek - so we finalize cleanly.
3895 * libspi/accessible.c (spi_accessible_new): kill debug.
3897 * test/test-simple.c (validate_accessible): fix ref.
3898 leak, print strings before freeing them; sigh, comment a
3899 chunk out due to strangeness.
3900 (validate_tree): unref the child after use.
3902 * cspi/spi_component.c (AccessibleComponent_getLayer):
3903 add missing break statement, switch on zlayer not the
3904 uninitialized retval.
3906 * cspi/spi_main.c (cspi_object_add): add assert, local ref
3907 before (possibly re-entering) remote unref.
3909 * test/simple-at.c (main): unref the desktop.
3911 * cspi/spi_accessible.c (cspi_accessible_is_a): move
3914 * cspi/spi_main.c (cspi_accessible_is_a): here to
3915 isolate bonobo API usage more.
3917 * libspi/registry.c (impl_accessibility_registry_register_application):
3918 prune bogus comment.
3920 2001-12-04 Michael Meeks <michael@ximian.com>
3922 * test/test-simple.c (validate_tree): upd.
3923 IndexInParent check to make it more lucid.
3924 (validate_accessible): dump the tree.
3926 * libspi/accessible.c (de_register_public_ref),
3927 (get_public_refs): impl.
3928 (spi_accessible_new): make more efficient & intuitive.
3929 Now IndexInParent check works.
3931 2001-12-04 Michael Meeks <michael@ximian.com>
3933 * cspi/spi-util.h: remove.
3935 * cspi/spi.h: move SPI_freeString here
3937 * libspi/component.c (impl_accessibility_component_get_layer):
3939 (impl_accessibility_component_get_mdi_z_order): ditto,
3940 return -1 on error - is this ok ?
3942 * test/test-simple.c (test_application): impl.
3944 * cspi/spi_accessible.c (Accessible_getApplication),
3945 (Accessible_isApplication): impl.
3947 * libspi/registry.c (spi_listener_struct_free): release
3948 the CORBA reference too.
3950 * libspi/accessible.c
3951 (impl_accessibility_accessible_get_parent): fix ref leak.
3953 * libspi/registry.c (spi_registry_new): make the registry
3954 immortal - we don't want it to go away ever.
3956 * libspi/application.c
3957 (spi_accessible_application_finalize): impl. cleanup.
3959 * cspi/spi_registry.c
3960 (deregisterGlobalEventListenerAll),
3961 (deregisterGlobalEventListener),
3962 (deregisterAccessibleKeystrokeListener): fix ref leak.
3964 * cspi/spi_main.c (SPI_init): remove redundant ref.
3966 * test/test-simple.c (unutterable_horror): impl. to force a
3971 (impl_accessibility_registry_deregister_application): release
3972 the application when we de-register it.
3974 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3975 until we have the infastructure to get it right.
3977 2001-12-03 Michael Meeks <michael@ximian.com>
3979 * libspi/Makefile.am: only build eventlistener.[ch]
3981 * libspi/accessible.c
3982 (impl_accessibility_accessible_get_child_at_index): don't leak.
3984 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3985 before we hit the idle handler.
3987 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3988 debugging than exit.
3990 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3992 * libspi/listener.c (impl_notify_event): check source
3993 not NIL before unref.
3995 * libspi/registry.c (impl_registry_notify_event): ditto.
3997 * libspi/eventlistener.c
3998 (impl_accessible_event_notify_event): unref the source.
4000 * libspi/accessibleeventlistener.c
4001 (impl_accessible_event_notify_event): unref the source.
4003 * idl/Event.idl: remove 'hash_id' attribute - of no
4006 * libspi/application.c (notify_listeners): upd list
4008 (spi_application_object_event_listener),
4009 (spi_application_toolkit_event_listener): upd to do correct
4013 (_registry_notify_listeners): update.
4014 (parse_event_type): this method also leaks like a sieve.
4015 (impl_accessibility_registry_deregister_global_event_listener):
4016 fix ETYPE_WINDOW case.
4018 * libspi/application.c
4019 (impl_accessibility_application_register_object_event_listener):
4022 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4024 * libspi/hypertext.c (impl_getLink): ditto.
4026 * cspi/spi_main.c (cspi_object_add): remove
4027 bogus CORBA_Object_duplicate.
4029 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4032 * cspi/spi_accessible.c
4033 (Accessible_getRelationSet): fix leak / referencing issue.
4035 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4036 (cspi_object_add, cspi_object_unref): upd.
4037 (spi_object_release, get_live_refs): impl.
4038 (cspi_cleanup): simplify.
4040 * *.[ch]: s/boolean/SpiBoolean/
4042 * cspi/spi_accessible.c (role_names): actualy order so it
4043 corresponds with the enum !
4045 * test/test-simple.c (test_roles): check some role strings
4046 vs. enums to detect offset errors.
4048 2001-12-01 Michael Meeks <michael@ximian.com>
4050 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4052 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4054 (Accessible_getChildAtIndex): use cspi_add_check so we
4055 check the ev before using a (possibly) invalid value.
4057 * libspi/accessible.c
4058 (impl_accessibility_accessible_get_parent): don't segv
4061 * at-bridge/bridge.c (gtk_module_init): upd.
4062 (bridge_property_event_listener): don't leak strings
4064 (bridge_state_event_listener),
4065 (bridge_property_event_listener): don't use a static
4066 buffer in case of recursive event emission &
4067 re-enterancy - split out the swathe of cut and paste
4069 (emit_eventv): and fix 2 ref leaks here & comply to the
4071 (bridge_register_app): rename to
4072 (bridge_idle_init): this and kill arg parsing, split
4073 various inits & bonobo-activation registration to module
4074 init time, kill referencing error.
4075 (bridge_exit_func): fix the same leak.
4076 (bridge_focus_tracker): don't leak event structures
4078 (bridge_signal_listener): more leakage and cut & paste
4080 (bridge_key_listener): return the result - FIXME is
4081 this polarity correct ?
4082 (accessibility_keystroke_from_atk_key_event): rename
4083 (accessibility_init_keystroke_from_atk_key_event): and stop
4085 (gtk_module_init): return a value - not that it is checked by
4087 (bridge_key_listener): register my horror at casting between
4088 IDL defined structs.
4089 (bridge_get_registry): kill - not used.
4091 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4093 * test/test-simple.c (test_roles): impl.
4094 (test_desktop, validate_accessible, validate_tree): impl.
4096 * cspi/spi_accessible.c (role_names): fixup bogus
4097 MAX_ROLES setup, make constants const for efficient linkage
4098 (AccessibleRole_getName): conform to coding style, make
4101 2001-11-30 Michael Meeks <michael@ximian.com>
4103 * cspi/spi.h: add missing prototype.
4105 * libspi/registry.c (spi_listener_struct_new): fix sig.
4107 * test/Makefile.am: add test-simple
4109 * test/test-simple.c: add
4111 * test/test.sh: add.
4113 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4115 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4116 do it straight - since otherwise we often get an activation race.
4118 [ work before Bill duplicated a chunk of it ... ]
4119 2001-11-30 Michael Meeks <michael@ximian.com>
4121 * libspi/keystrokelistener.c
4122 (spi_keystroke_listener_class_init): fixup arg
4125 * libspi/eventlistener.c
4126 (spi_event_listener_class_init): ditto.
4128 * tests/test.sh: add.
4130 * cspi/spi-listener-impl.h: update macros.
4132 * cspi/spi-listener-impl.c
4133 (cspi_event_listener_remove_callback): add
4134 correct pre-conditions.
4136 * cspi/spi_main.c (SPI_exit): guard vs. double
4137 exits, exit the mainloop nicely.
4138 (SPI_event_main): make more sense.
4139 (SPI_init): move the atexit evilness here so we
4140 always do it (yuck).
4141 (SPI_event_main): upd.
4143 * test/simple-at.c: update for listener changes.
4145 * registryd/registryd.c (main): prune kruft.
4147 * libspi/libspi.h: upd.
4149 * libspi/eventlistener.[ch]: rename broken macros.
4151 * libspi/accessibleeventlistener.[ch]: remove.
4153 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4155 * test/test-simple.c: Add - automated tests.
4157 * cspi/spi-listener-impl.c (cspi_event),
4158 (cspi_key_event): add user_data to invoke.
4159 (cspi_keystroke_listener_finalize): impl.
4160 (cspi_keystroke_listener_class_init): upd.
4163 (createAccessibleEventListener),
4164 (AccessibleEventListener_addCallback),
4165 (createAccessibleKeystrokeListener),
4166 (AccessibleKeystrokeListener_addCallback): upd.
4168 * libspi/deviceeventcontroller.c
4169 (spi_device_event_controller_check_key_event): add public proto.
4172 (impl_accessibility_registry_deregister_global_event_listener):
4173 always init listeners.
4174 (_registry_notify_listeners): yes it is.
4176 * cspi/spi-listener-impl.c (cspi_key_event):
4178 (cspi_event_listener_finalize): impl.
4179 (cspi_event_listener_class_init): hook up.
4180 (event_handler_new, event_handler_free),
4181 (event_list_remove_by_callback): impl.
4182 (cspi_event_listener_remove_callback),
4183 (cspi_keystroke_listener_remove_callback),
4184 (cspi_keystroke_listener_add_callback),
4185 (cspi_event_listener_add_callback): upd.
4187 * libspi/keystrokelistener.c
4188 (keystroke_listener_object_finalize): kill
4189 (spi_keystroke_listener_class_init): upd.
4190 (spi_keystroke_listener_add_callback),
4191 (spi_keystroke_listener_remove_callback): kill,
4193 (impl_key_event): prune drasticaly.
4195 * libspi/eventlistener.c
4196 (spi_event_listener_add_callback),
4197 (spi_event_listener_remove_callback): kill, use
4199 (impl_accessible_event_notify_event): upd.
4200 (spi_event_listener_object_finalize): remove.
4202 * libspi/Makefile.am: use eventlistener.[ch]
4204 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4206 * libspi/registry.c (_registry_notify_listeners):
4207 Changed listener loop iteration to use preferred convention.
4208 Got rid of string memory leaks caused be calling g_strconcat
4209 inside function calls.
4211 * libspi/registry.c (parse_event_type):
4212 Stopped g_strconcat memory leaks, free the g_strsplit return,
4213 g_strdup the split pieces when used, etc.
4215 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4218 Change method 'compare' to return a 'difference set' rather than
4219 taking a StateSet as an out parameter (more Java-friendly).
4221 * idl/Accessible.idl:
4222 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4224 * idl/Component.idl:
4226 Changed methods 'getExtents' and 'getImageExtents' in these
4227 interfaces to return a BoundingBox structure.
4228 (getPosition and getSize are redundant and possibly should be
4229 removed, rather than creating a corresponding Point struct.)
4231 * cspi/spi_component.c:
4232 Modify implementation of getExtents to reflect the above IDL
4237 Add (missing) AccessibleImage_getExtents () API.
4239 * docs/reference/cspi/at-spi-cspi-sections.txt:
4240 Added AccessibleImage_getImageExtents () to docs.
4242 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4244 * idl/Component.idl:
4245 Added two methods, getLayer () and getMDIZOrder (), to reflect
4246 the new ATK methods atk_object_get_layer and
4247 atk_object_get_mdi_z_order. (Which arguably should be part of the
4248 AtkComponent API and AtkObject). Also added an enum,
4249 ComponentLayer, for the first method's return value.
4251 * libspi/component.c:
4252 Added implementations for these methods.
4254 * cspi/spi_component.c:
4256 Added cspi binding methods for above,
4257 AccessibleComponent_getLayer() and
4258 AccessibleComponent_getMDIZOrder().
4259 Added cspi enum 'AccessibleComponentLayer'.
4261 * docs/reference/cspi/at-spi-cspi-sections.txt:
4262 Added above methods to docs.
4266 Changed typedef for 'boolean' type (and all references to it) to
4267 SPIBoolean, to avoid keyword clashes with C++.
4270 Changed usages of 'boolean' to SPIBoolean.
4272 * test/keysynth-demo.c:
4273 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4274 app), except where SPIBoolean is required by the callbacks API.
4276 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4278 * cspi/spi_registry.c:
4279 Removed obsolete X event loop for passive keygrabs (which now
4282 * registryd/registryd.c:
4283 Removed unnecessary call to gdk_init() [cruft]. This also allows
4284 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4287 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4289 * docs/reference/cspi:
4290 Included docs for SPI_freeString in generated documentation.
4293 Renamed spi_freeString to SPI_freeString, for consistency. Added
4294 documentation for this function.
4297 Renamed spi_freeString to SPI_freeString, for consistency.
4298 Removed obsolete method declaration string_from_corba_string.
4300 * test/keysynth-demo.c:
4301 Small tweak to comments.
4304 Stopped leaking the strings returned from CSPI.
4306 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4308 Merged Michael's branch (see his ChangeLog entries below).
4310 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4311 bridge is alive, release on exit.
4313 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4314 Fix type check macro.
4317 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4320 Added is_gnome_app static, and method cspi_is_gnome_app(),
4321 so we can call the appropriate shutdown routine at exit in SPI_exit.
4323 * cspi/spi_main.c (cspi_object_ref):
4324 Duplicate the corba object passed in, since we're keeping it around.
4326 * cspi/SPI_exit.c, cspi_cleanup:
4327 Moved the releasing of the live refs to its own function, so we
4328 can put it in g_atexit (). Call the appropriate shutdown API
4329 depending on whethe calling client is a gnome app or not
4330 (bonobo_main_quit or CORBA_ORB_shutdown).
4332 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4333 Unref the listener when this method is called, after
4334 deregistration. Updated the API docs to note this behavior.
4336 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4337 Bugfixes: Ref the bonobo object when returning a parent or child
4338 reference, or an AccessibleRelation. Generally made sure
4339 BonoboObject refcount is incremented whenever we return an
4342 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4343 Fixed typo/bug in signal declaration.
4345 * libspi/accessibleeventlistener.h:
4348 * libspi/application.c (spi_application_new):
4349 Fixed leak in initialization.
4352 Remembered to increment bonobo-object refcount when returning
4353 children (applications) from desktop object.
4354 Added (empty) finalize method.
4356 * libspi/deviceeventcontroller.c:
4357 Hold a ref to listeners inside DEControllerKeyListeners.
4358 Added dec_key_listener_free() method. Use prepend instead of
4359 append in key_listener list. Fixed some refcount madness and
4360 leaks in the listener registration/deregistration - deregistration
4361 now calls dec_key_listener_free() on listeners, and on the
4362 temporarily constructed dec_key_listener() used to perform the search/match.
4364 * libspi/hypertext.c (spi_hypertest_finalize):
4365 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4366 class. Also fixed spi_hypertext_interface_new() and
4367 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4369 * libspi/hypertext.h:
4370 Removed pointless and duplicate AtkObject pointer from
4373 * libspi/keystrokelistener.c:
4374 Fixed incorrect type of keystroke_listener_parent_class,
4375 renamed keystroke_listener_object_finalize to
4376 spi_keystroke_listener_object_finalize.
4377 Fixed typo in signal declaration
4378 (spi_keystroke_listener_class_init).
4380 * libspi/registry.c:
4381 Added funcsions spi_listener_struct_new() and
4382 spi_listener_struct_free() to help with memory management issues.
4383 We also now use these methods instead of gnew + poking stuff into
4384 the struct, and to decrement listener counts/free the listeners
4385 when deregistering them.
4386 Fix more refcount bugs in getDesktop() and
4387 getDeviceEventController().
4390 De-ref the desktop after enumerating the applications. Explicitly
4391 decrement the refcounts on the created listeners on exit (using
4392 _unref for keystroke listeners, and via the
4393 deregisterGlobalEventListenerAll command for other event
4396 2001-11-27 Michael Meeks <michael@ximian.com>
4398 * cspi/spi-listener.h: fixup enum.
4400 2001-11-27 Michael Meeks <michael@ximian.com>
4402 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4403 (cspi_keystroke_listener_new): Use the cspi variants.
4405 2001-11-26 Michael Meeks <michael@ximian.com>
4407 * test/keysynth-demo.c: fix 2 compile warnings, missing
4410 * test/simple-at.c (report_focussed_accessible),
4411 (report_focus_event, report_button_press),
4412 (check_property_change, is_command_key),
4413 (report_ordinary_key_event, report_command_key_event): upd.
4415 * util/mag_client.h: include pre-requisites.
4417 * libspi/accessibleeventlistener.c
4418 (spi_event_listener_object_finalize): free any lingering
4421 * libspi/keystrokelistener.c
4422 (keystroke_listener_object_finalize): ditto.
4424 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4425 callbacks, with cspi types.
4427 * cspi/spi_event.c (createAccessibleEventListener): chain to
4428 (AccessibleEventListener_addCallback): here.
4429 (createAccessibleKeystrokeListener): chain to
4430 (AccessibleKeystrokeListener_addCallback): here.
4432 * libspi/keystrokelistener.c
4433 (spi_keystroke_listener_class_init): add signal.
4434 (impl_key_event): emit the event.
4435 (boolean_handled_accumulator): impl.
4436 (marshal_BOOLEAN__POINTER): add, gack.
4438 * libspi/accessibleeventlistener.c
4439 (spi_event_listener_class_init): add signal.
4440 (impl_accessible_event_notify_event): emit the signal &
4441 make the loop efficient.
4442 (spi_event_listener_add_callback): prepend the callback.
4444 * libspi/accessibleeventlistener.h: add an 'event' signal,
4445 decl type on callback.
4447 * libspi/keystrokelistener.h: ditto.
4449 * cspi/spi-listener.h: make methods typesafe and
4450 make them use the new event typedefs.
4452 * test/simple-at.c (report_focussed_accessible):
4453 include mag_client.h
4454 Use *(void *)text_interface not the other thing.
4456 * configure.in: add gtk to registryd bits - since we use
4459 * util/magnifier.c: include libbonobo.h
4461 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4463 * test/keysynth-demo.c:
4464 Turned this into a simple scanning keyboard, to demonstrate the
4465 use of g_timeout_add () as a means of creating timers for
4466 scanning, and the use of GtkStyle for visually indicating when
4467 virtual keyboard elements are selected.
4469 keysynth-demo now listens to any keyboard keys with zero-valued
4470 keycodes (i.e. 'unused' keys) and interprets them as
4473 Reworked the shiftlatch code so that shift-down state isn't held
4474 for long periods (it's only synthesized immediately prior to
4475 the keysynth event it's modifying). Note that shiftlatch in this
4476 demo is a convenience, not intended to take the place of AccessX
4477 which is the better choice for getting 'sticky' modifier keys.
4479 * libspi/deviceeventcontroller.c:
4480 * at-bridge/bridge.c:
4481 * cspi/spi_registry.c:
4482 Removed some debug print stuff, and put other verbosity in #ifdef
4487 Implemented some more of the magnifier IDL for the simple
4488 magnifier: namely, getZoomRegionParams.
4489 Added mag_x and mag_y members to MagnifierData struct, aid of this
4491 Added GtkWindow::realize signal handler to magnifier, to keep it
4492 from receiving keyboard focus from the WM.
4494 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4496 * cspi/spi-private.h: my guess at what michael forgot
4497 before he ran off to NZ :-)
4499 2001-11-23 Michael Meeks <michael@ximian.com>
4501 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4502 comment out non existant method invoke so we link.
4504 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4505 use bonobo_exception_get_text for more friendly warnings.
4507 * cspi/spi.c (Obj_Add): move into spi_main & rename
4508 spi_object_add; kill spi.c
4510 * cspi/spi_registry.c
4511 (deregisterGlobalEventListener),
4512 (deregisterGlobalEventListenerAll),
4513 (registerGlobalEventListener): fix exception leaks.
4515 * cspi/spi_main.c (spi_exception): impl. helper, so we
4516 don't leak exceptions.
4518 * cspi/spi_selection.c
4519 (AccessibleSelection_deselectSelectedChild): return the
4522 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4523 (spi_registry): ditto.
4524 (SPI_init): guard against double inits.
4526 * cspi/*.c: use spi_ev (), and spi_registry () where
4527 appropriate - a temporary hack until we have something
4528 better. Use spi_object_add
4530 2001-11-22 Michael Meeks <michael@ximian.com>
4532 * cspi/Makefile.am: re organise, install the headers.
4534 * cspi/*.h: add G_BEGIN/END_DECLS
4536 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4539 Added non-preemptive keylistener for key events with no modifiers
4540 and shift-only modifier.
4542 * libspi/keystrokelistener.c:
4543 Removed some verbose diagnostics printout.
4545 * cspi/spi_registry.c:
4546 Fixed a bug that caused all key listeners to be registered as
4549 * libspi/deviceeventcontroller.c:
4550 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4551 for non-preemptive key masks.
4554 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4556 * docs/reference/idl/at-spi-idl-docs.sgml:
4557 * docs/reference/idl/at-spi-idl-sections.txt:
4558 * docs/reference/idl/at-spi-idl-overrides.txt:
4559 Added missing files.
4561 * docs/reference/Makefile.am:
4562 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4563 to scan the IDL files :-(
4568 Added .cvsignore files.
4570 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4572 * libspi/deviceeventcontroller.c:
4573 * libspi/keystrokelistener.c:
4575 * cspi/spi_registry.c:
4576 Added filters for KeySets, KeyEventSeq, and event types to key
4577 event dispatching, so listeners should only receive those events
4578 that they requested :-)
4580 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4585 * docs/reference:Makefile.am:
4586 * docs/reference/cspi:
4587 * docs/reference/cspi:Makefile.am:
4588 * docs/reference/cspi:tmpl:
4589 * docs/reference/cspi:tmpl:*.sgml:
4590 * docs/reference/idl:
4591 * docs/reference/idl:Makefile.am:
4592 * docs/reference/idl:at-spi-idl-sections.txt:
4593 * docs/reference/idl:at-spi-idl-docs.sgml:
4594 * docs/reference/idl:tmpl:
4595 * docs/reference/idl:tmpl:*.sgml:
4597 Restructured docs directory to allow separate 'reference' docs
4598 section, and forked idl and cspi docs. Added the sgml template
4599 files to CVS. Added the first sections/structural sgml for the
4602 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4604 * configure.in, libspi/Makefile.am: find libXtst.
4606 2001-11-21 Michael Meeks <michael@ximian.com>
4608 * test/accessx-gui.c: s/spi_value/value/ - doh.
4610 * libspi/base.[ch]: add.
4612 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4614 * idl/Accessible.idl:
4615 * idl/Application.idl:
4618 Started gtk-doc cleanup on IDL.
4620 * libspi/deviceeventcontroller.c:
4621 Added and connected non-preemptive key notification from the
4622 toolkits (in addition to the pre-emptive support from XServer
4623 which we had before, but which causes 'focus flashing'). Filters
4624 are presently limited to key modifiers and global/non-global,
4625 KeySets are presently ignored, as are KeyEvent masks.
4627 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4628 structs into the persistant structure rather than just storing
4629 pointers to things that might not persist across servant
4632 The XGrabKey call now does async keygrabs, because synchronous
4633 ones were deadlocking with GDK_event code in a very nasty way.
4635 Added boolean to internal method notify_keylisteners, to indicate
4636 whether the event came from the 'toolkit source' or the 'global
4637 (XServer) source' - this is used in the notification process to
4638 determine which listeners to send the event to.
4640 deviceeventcontroller.c is now warning-free.
4642 * libspi/registry.c:
4643 Fixed regression in application de-registration.
4644 Also fixed some really brain-dead weirdness having to do with
4645 event dispatching - event structs are now duplicated before being
4646 re-marshalled in the dispatch to listeners. This also fixes a
4647 Solaris build problem.
4650 2001-11-20 Michael Meeks <michael@ximian.com>
4653 (impl_accessibility_registry_deregister_global_event_listener):
4656 * libspi/deviceeventcontroller.c
4657 (spi_device_event_controller_check_key_event): return
4658 FALSE on no virtual method.
4660 * libspi/*..h: make includes work on a correctly pathed install.
4662 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4664 * libspi/application.h: kill unused ( and whacked out )
4665 gboolean *spi_application_set_id (AtkObject *app, long id);
4667 2001-11-20 Michael Meeks <michael@ximian.com>
4669 * libspi/*.[ch]: further convert to bonobo's type func
4670 macros, remove redundnant casts etc.
4672 * libspi/text.c s/accessibility_text/spi_text/g,
4673 re-order to de-cruft.
4675 * libspi/hypertext.c: re-order to kill a huge slew
4676 of redundant forward decls.
4678 * libspi/relation.c: ditto.
4680 * libspi/image.c: ditto.
4682 * */.cvsignore: update
4684 2001-11-20 Michael Meeks <michael@ximian.com>
4686 * libspi/deviceeventcontroller.c
4687 (_controller_register_with_devices): use g_getenv,
4688 kill stdlib.h include.
4690 * libspi/keystrokelistener.c
4691 (spi_keystroke_listener_get_type): kill
4692 (spi_keystroke_listener_class_init),
4693 (spi_keystroke_listener_init): rename to this.
4695 * libspi/text.c (impl_getAttributes): fix warning / bug.
4697 * libspi/*.[ch]: more headers, includes and over commenting.
4699 2001-11-20 Michael Meeks <michael@ximian.com>
4701 * libspi/*.[ch]: fixup headers, includes and over commenting.
4703 * libspi/image.c (impl__get_imageDescription): const
4704 correctness warning fix. remove redundant casting.
4706 * libspi/table.c (impl_getRowDescription): ditto.
4707 (impl_getColumnDescription): ditto.
4709 * libspi/libspi.h: add.
4711 2001-11-19 Michael Meeks <michael@ximian.com>
4713 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4715 * libspi/component.c (accessibility_component_get_type):
4716 rename to (spi_component_get_type): and macroify.
4717 (accessibility_component_init): rename to
4718 (spi_component_init): this
4719 (accessibility_component_class_init): rename to
4720 (spi_component_class_init): this
4722 * libspi/action.c (spi_action_get_type): kill, use the macro.
4724 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4727 * libspi/application.c (spi_application_object_event_listener),
4728 (impl_accessibility_application_register_object_event_listener):
4729 warning fixes / const understanding updates.
4731 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4734 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4736 * libspi/spi_accessible.c: Added docs and C bindings for
4737 AccessibleStateSet. (No implementations yet). Documentation
4738 coverage for C bindings now 100%. Made docs for event listeners
4743 boolean notifyListenersSync (in DeviceEventListener listener,
4744 in DeviceEvent event);
4746 oneway void notifyListenersAsync (in DeviceEventListener listener,
4747 in DeviceEvent event);
4749 Added DeviceEventListener and DeviceEvent structs (may deprecate
4750 KeyStroke and KeystrokeListener in favor of this generic
4751 event/listener framework for devices).
4753 * libspi/deviceeventcontroller.c:
4755 Changed some key listener code to take masks, etc., and paved the
4756 way for integration of toolkit/non-preemptive key events. Changed
4757 signatures of some internal methods.
4759 * at-bridge/bridge.c:
4760 Fixed regression connecting to interface signals, apparently
4761 caused by GTK+ changes.
4763 Added an internal bridge_state_listener to deal with
4764 property-change:accessible-state signals.
4766 Changed the key_listeners GList to store structs (including masks,
4767 etc.) instead of just CORBA_Objects (required for full
4768 implementation of key listener API).
4770 Connected the bridge to all currently supported Atk signals.
4771 Events now supported:
4772 object:property-change
4773 object:property-change:accessible-name
4774 object:property-change:accessible-state
4775 object:property-change:accessible-description
4776 object:property-change:accessible-parent
4777 object:property-change:accessible-value
4778 object:property-change:accessible-role
4779 object:property-change:accessible-table-caption
4780 object:property-change:accessible-table-column-description
4781 object:property-change:accessible-table-column-header
4782 object:property-change:accessible-table-row-description
4783 object:property-change:accessible-table-row-header
4784 object:property-change:accessible-table-summary
4785 object:children-changed
4786 object:visible-data-changed
4787 object:selection-changed
4788 object:text-selection-changed
4790 object:text-caret-moved
4792 object:row-reordered
4794 object:column-inserted
4795 object:column-reordered
4796 object:column-deleted
4797 object:model-changed
4799 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4801 * libspi/hyperlink.c,h:
4802 Fixed some broken stuff in hyperlink.
4804 * libspi/relation.h:
4805 * libspi/relation.c:
4806 * cspi/spi_accessible.c:
4807 Initial implementations of AccessibleRelation methods, and docs.
4809 * libspi/accessible.c:
4810 Fixed a bug that caused SEGV if an accessible
4811 object's description is NULL, and a client
4812 requests it. An empty string is now returned.
4814 * cspi/spi_editabletext.c:
4815 * cspi/spi_hypertext.c:
4817 * cspi/spi_hyperlink.c:
4821 Doc coverage now 95%.
4823 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4825 One last namespacing revision:
4826 * libspi/accessibleeventlistener.[ch]:
4827 Renamed SpiAccessibleEventListener to SpiEventListener,
4828 (no need for two namespaces ;-)
4830 And lots of documentation fixes:
4832 * docs/at-spi-docs.sgml:
4833 Fixed 'underscore vs. hyphen' bug that was preventing
4834 the gtk-doc API docs from being automatically generated.
4837 * cspi/spi-listener.h
4839 * cspi/spi_accessible.c
4841 * cspi/spi_application.c
4842 * cspi/spi_component.c
4843 * cspi/spi_editabletext.c
4845 * cspi/spi_hypertext.c
4847 * cspi/spi_registry.c
4848 * cspi/spi_selection.c
4852 * docs/at-spi-docs.sgml
4853 * docs/at-spi-sections.txt
4855 Added and fixed up gtk-doc documentation in cspi.
4857 Interfaces now (fully) documented (subject to revision and enhancement):
4859 Event Listener Support
4861 AccessibleApplication
4865 AccessibleEditableText
4872 AccessibleRelationSet
4877 2001-11-14 Bill Haneman <bill.haneman@sun.com>
4879 * at-bridge/bridge.c:
4880 Initial work for toolkit-level key snooper connection by bridge.
4885 New typedefs and fixes to support new namespacing, and cleaner
4886 separation of cspi bindings from libspi bonobo implementation.
4887 Removed inconsistent and extraneous Spi* namespace prefix that
4888 had crept into cspi headers.
4889 Lots of comment fixes that sed had missed.
4891 * cspi/spi-roletypes.h:
4892 * cspi/spi-statetypes.h:
4893 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4894 to AccessibleRoleType.
4896 * libspi/accessibleeventlistener.h:
4897 Fixed minor namespacing weirdness.
4899 * libspi/deviceeventcontroller.c:
4900 Reordered some internal API for device listeners.
4901 Changed the key registry final boolean to 'is_system_global'
4902 rather than 'is_synchronous', which is more descriptive of its
4904 Added spi_device_event_controller_new().
4905 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
4907 * libspi/keystrokelistener.[ch]:
4908 Namespaced KeystrokeListener to SpiKeystrokeListener.
4909 Changed uses of keymasks to use SPI_ prefix, and did other
4912 * libspi/keymasks.h:
4913 Namespaced keymask constants with SPI_ prefix.
4915 * libspi/registry.c:
4916 Some warning fixes, and knock-on fixes from namespace changes.
4919 Added rules for accessx-gui test program.
4921 * test/accessx-gui.c:
4922 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4923 utility. It doesn't actually use at-spi, but it's still cool and
4926 * test/keysynth-demo.c:
4930 Fixes so that these test clients work properly with the namespaced
4931 libraries. (Incompletely tested for technical reasons, fixes may follow)
4934 2001-11-13 Michael Meeks <michael@ximian.com>
4936 * libspi/application.c
4937 (impl_accessibility_application_get_version),
4938 (impl_accessibility_application_get_toolkit_name):
4940 (impl_accessibility_application_set_id),
4941 (impl_accessibility_application_get_id): remove
4942 redundant casting code.
4944 * libspi/action.c (impl_getDescription): fix warnings.
4946 * libspi/accessible.c
4947 (impl_accessibility_accessible_get_parent),
4948 (impl_accessibility_accessible_get_child_at_index),
4949 (impl_accessibility_accessible_get_state),
4950 (impl_accessibility_accessible_get_relation_set):
4951 warning fixes & include action.h
4953 2001-11-13 Michael Meeks <michael@ximian.com>
4955 * *.[ch] fix bits I screwed up:
4957 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4958 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4960 2001-11-13 Michael Meeks <michael@ximian.com>
4962 * *.[ch] Namespace libspi into spi_ and Spi.
4964 2001-13-11 Michael Meeks <michael@ximian.com>
4966 * Makefile.am: dist & install at-spi-1.0.pc
4968 * libspi/Makefile.am: install into at-spi-1.0
4970 * idl/Makefile.am (idldir): install into at-spi-1.0
4972 * at-spi-1.0.pc.in: add.
4974 * configure.in: build it.
4976 2001-11-12 Bill Haneman <bill.haneman@sun.com>
4978 * test/keysynth-demo.c:
4979 Use a 'realize' signal-handler to set the WM properties for
4980 the virtual keyboard, rather than making it a "POPUP" type
4981 override-redirect window (thanks to anders carlsson for that
4984 2001-11-11 Bill Haneman <bill.haneman@sun.com>
4987 * test/keysynth-demo.c:
4988 Added new test of key synthesis, which creates a simple
4989 (mouse-operated) onscreen keyboard. It inserts key events into
4990 the currently-focused window, thus it does not grab keyboard focus
4993 * cspi/spi_registry.c:
4994 Added C binding for AT-SPI generateKeyEvent.
4996 * libspi/deviceeventcontroller.c:
4997 Added call to XFilterEvent so that key listener works with XIM (we
4998 hope). Added event_synth_type to generateKeyEvent, so that we can
4999 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5000 synthesize a press/release pair for KeySyms.
5002 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5004 * libspi/Makefile.am:
5005 * registryd/Makefile.am:
5006 (temporary) hack to include libXtst in libspi and registryd.
5007 (Needed for keystroke synthesis, see below).
5010 Improved API for registerKeystrokeListener, in accordance with
5011 discussions with Gnopernicus team and X server research.
5013 * libspi/registry.c:
5014 * libspi/deviceeventcontroller.c:
5015 * libspi/accessible.c:
5016 * libspi/keystrokelistener.c:
5017 Changes and fixes to support keylisteners for potentially
5018 consumed key events (that is, 'passive grabs').
5019 Added implementation for generateKeyEvent() [untested].
5022 Changes to registerKeystrokeListener() API, as above.
5023 Added deregisterGlobalEventListenerAll(), and
5024 deregisterKeystrokeListener(), which are needed for clean exit of
5026 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5027 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5029 * cspi/spi_registry.c:
5030 Added implementations of function prototypes mentioned above.
5032 * registryd/registryd.c:
5033 Added the key listener event source as a g_timeout(), to allow
5034 receipt of key events that are not caught by GDK (since GDK
5035 doesn't support passive keygrabs, this was necessary).
5038 Changed to attach a keylistener to 'Alt' keys, and
5039 respond to the following keycommands: Alt-M (toggle magnifier);
5040 Alt-F (toggle speech); Alt-Q (quit).
5041 Added an exit routine to deregister the listeners, and a key
5042 listener that prints some key info to the console when a key
5043 matches the listener mask (and is thus received by the listener).
5045 * util/idl/Magnifier.idl:
5046 Changes to magnifier API to support multiple zoom regions,
5047 non-uniform scaling in x and y, markDirty, and a host of other
5048 features that would be useful to magnification.
5051 * util/mag_client.c:
5052 * util/mag_client.h:
5053 * util/mag_control.c:
5055 Source code changes to support the above IDL changes.
5058 As above, and also changes to use a (slower) generic conversion
5059 path for colormap conversions, since the fast RGB conversions have been
5060 reported to fail for 16-bit displays.
5062 2001-10-26 Michael Meeks <michael@ximian.com>
5064 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5066 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5068 * at-bridge/Makefile.am: fix LDFLAGS.
5070 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5072 * at-bridge/bridge.c:
5073 Re-worked listeners for toolkit events, now we have signal
5074 and property listeners. Added a private method
5075 register_atk_event_listeners(), which registers with the
5076 various atk and gtk signals we need to monitor in order to emit
5078 Added emission hook for AtkObject:property-change events, to
5079 support the 'property listeners'.
5080 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5083 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5084 which emit warnings and exit, respectively, if CORBA errors occur
5085 during remote calls, and we now use these methods to check most of
5086 our CORBA calls in the C bindings.
5088 * cspi/spi_accessible.c:
5089 Changed AccessibleSelection_refSelectedChild() to
5090 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5091 now increment refcounts.
5093 * cspi/spi_component.c:
5094 Fixed some long pointer casts (dangerous!) to pass pointers to
5095 CORBA_longs of the proper type to the CORBA stubs, and copy the
5096 data into the longs that were passed into the C bindings code.
5098 * at-bridge/bridge.c:
5100 * libspi/accessible.c:
5101 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5102 hyperlinks, AtkHyperlink is an object type.
5104 * libspi/application.c:
5105 Added various conversions to and from "generic" event types and
5106 atk-specific types; this is really part of the 'bridge'
5107 implementation but is valid for all AtkObject-based accessibility
5110 * libspi/editabletext.c:
5111 Fixed nasty bug wherein editable text's finalize method was
5112 unref'ing tha AtkObject reference that the text parent class was
5113 about to unref _again_. There was also a nasty inheritance bug
5114 that meant that the AccessibleEditableText class was corrupt.
5116 * libspi/selection.c:
5117 Provided implementations for some selection API that was broken.
5119 * idl/Application.idl:
5120 Added registerObjectEventListener () method.
5123 Fixed a number of return values that were Bonobo_Unknowns from
5124 bonobo_object_corba_objref(), which I
5125 forgot to dup before returning. Changed instances of
5126 bonobo_object_corba_objref (bonobo_object(o)) to
5127 BONOBO_OBJREF(o), for concision and clarity.
5129 2001-10-13 Louise Miller <louise.miller@sun.com>
5131 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5132 idl/Event.idl, idl/Registry.idl
5133 Changed these files to include Bonobo_Unknown.idl instead
5136 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5138 * libspi/component.c libspi/component.h:
5139 Fixed typo. Added assertions for object checks in
5140 AccessibleComponent code.
5142 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5144 * idl/Accessible.idl:
5145 Added 'isEqual (Accessible *object)'
5146 method for Accessible. (Not Yet Implemented).
5149 Changed signature of registerKeystrokeListener() to
5150 take a KeySet and KeyEventSeq so that specific keys and event
5151 types could be requested for monitoring, and added a flag
5152 is_synchronous so that either synchronous or asynchronous
5153 notification could be requested. (However this is not all
5154 implemented yet). This also meant adding two new typedefs,
5155 KeyEventSeq and KeySet.
5158 Added two new relations, RELATION_TOOLTIP_FOR and
5159 RELATION_LEAFNODE_OF.
5162 Added new state, STATE_HAS_TOOLTIP.
5164 * libspi/text.c, editabletext.c:
5165 Added new assertions to all casts of bonobo-objects from
5166 CORBA servants, to prevent Text API calls on non-text objects.
5167 Changed suspect casts of int-pointer types, so that we
5168 always send a valid CORBA_long pointer to the CORBA APIs that use
5169 in/out long parameters. We then have to copy from the CORBA_long
5170 into the regular long or int for return to the C bindings, or
5171 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5174 * libspi/deviceeventcontroller.c:
5175 Cleaned these sources up.
5177 Changed return type for getCharacterAtOffset to
5178 CORBA_unsigned_long, to allow for 32-bit characters.
5181 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5185 Fixed 'make dist' so that distro compiles...
5186 * libspi/keymasks.h:
5188 * cspi/spi-listener.c:
5189 KeystrokeListenerCB now returns a boolean.
5191 Added KeyEventType struct, and KeyStroke.
5192 Also added createKeystrokeListener(),
5193 KeystrokeListener_addCallback(),
5194 KeystrokeListener_removeCallback(), and added a keymask to
5195 registerKeystrokeListener().
5196 * cspi/spi_accessible.c:
5197 Changed numerous return types for interfaces from
5198 AccessibleComponent to Accessible<InterfaceName>; this was
5199 probably a cut-and-paste error.
5201 Implementations of new KeystrokeListener api (from spi.h,
5204 Changes to key modifier mapping.
5205 Created ControllerEventMask struct.
5206 Made DeviceEventController derive from Bonobo::Unknown.
5208 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5209 * libspi/deviceeventcontroller.c:
5210 Added a number of new internal (private) methods.
5211 * libspi/editabletext.c:
5212 * libspi/editabletext.h:
5213 Fixed a number of bugs related to the fact that
5214 editabletext inherits from text. Fixed the EditableText struct,
5215 the init() call, and use correct casts when calling Text methods
5216 from an EditableText object. Removed (duplicate) atko from the
5217 EditableText structure, we use the one in the parent Text
5218 structure via the casts mentioned above.
5219 * libspi/keystrokelistener.[ch]:
5220 * libspi/registry.c:
5221 Changes in support of keyboard handling (above).
5223 Keyboard handling, though partly functional, is still not
5224 recommended for at-spi client use as there is considerable
5225 work yet to be done.
5228 Changed some places where pointers to various int types
5229 are cast to be pointers to CORBA_long types and vice-versa:
5230 pointer casting is not safe so we pass pointers of the correct
5231 types and then cast the result before putting it into the target
5234 * libspi/text.h: minor typos corrected.
5236 We now speak not only the name of a Text element, but the
5237 first sentence of its content, when it receives focus.
5238 I also changed the text compression to 75% from 50%.
5239 * util/Accessibility_Util.server.in:
5240 Changed the default magnifier type to be a 3x vertical
5241 splitscreen magnifier (was previously a 2x horizontal one).
5243 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5245 * libspi/keystrokelistener.h:
5246 * libspi/keystrokelistener.c:
5247 Initial functional implementations of KeystrokeListener.
5250 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5252 Fixed string handling for NULL strings in libspi.
5253 Added spi_freeString to free strings returned by C bindings.
5255 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5257 * libspi/keystrokelistener.h:
5258 * libspi/keystrokelistener.c:
5259 Began (no-op) implementations of KeystrokeListener
5261 * libspi/deviceeventcontroller.c:
5262 * libspi/deviceeventcontroller.h:
5263 Began creating implementations of DeviceEventController,
5264 to handle keystroke and mouse event listening and
5266 * libspi/accessible.c:
5267 Stubbed-in the implementations for
5268 Accessibility_Accessible_getState and
5269 Accessibility_Accessible_getRelationSet.
5270 * libspi/registry.c:
5271 Improved de-registration process and fixed some bugs,
5272 deregistration now works correctly.
5274 Added initialization of applications list (to NULL).
5276 Reduced speech compression from 0.5 to 0.7, for demo.
5277 Changed call to gdk_window_set_decorations()
5278 to gtk_window_set_decorated().
5279 * at-bridge/bridge.c:
5280 Bridge now deregisters when app exits, via
5281 registration of a cleanup function
5282 with the g_atexit() call.
5283 Required making 'app' static, renamed 'this_app'.
5284 Fixed broken use of bonobo_init, passing argv wrongly.
5286 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5290 Created a new directory for
5291 accessibility-related utilities, primarily for
5292 testing and demo purposes, but with possible
5299 Onscreen magnifier utility that
5300 is implemented as a bonobo service.
5302 * util/mag_client.c:
5303 * util/mag_client.h:
5304 Client-side support (simple C bindings)
5305 for Magnification service
5307 * util/mag_control.c:
5308 Client program example for
5309 Magnification service
5311 * util/Accessibility_Magnifier.server.in:
5312 Bonobo-activation file for the
5313 Magnification service.
5316 * util/idl/Magnifier.idl:
5317 IDL defining the bonobo Magnification
5321 Modifications to use the bonobo-activated magnifier
5322 above, in place of trying to connect to an existing
5323 magnifier that uses socket-listening IPC.
5325 If env variable MAGNIFIER is set, a magnifier service
5326 will be started if one does not exist.
5328 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5330 * at-bridge/bridge.c:
5331 applied patch from Marc to build and run
5332 against new glib and gtk+ (seemed like a change
5333 to bonobo_init signature was made ?)
5335 made festival-server support turned off by default.
5336 Added support for a simple magnifier (off by default)
5337 which will be added to a 'util' directory later.
5338 * at-bridge/Makefile.am:
5339 Changed "application.h" header from a 'source'
5340 to a 'dependency' of libat-bridge.
5342 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5351 Added interface implementation c files to list of
5352 includes so they are included in libcspi.
5355 Changed prototype of AccessibleAction_doAction to return a
5357 Changed prototype of AccessibleTable_getCaption to
5358 return an Accessible.
5359 Changed prototype of AccessibleTable_getSelectedRows
5360 and AccessibleTable_getSelectedColumns to
5361 return a long (returns the number of selected rows
5362 or columns respectively).
5363 Changed name of AccessibleText_refRunAttributes to
5364 AccessibleText_getAttributes.
5365 Changed prototype of AccessibleText_getCharacterExtents to
5366 return a void rather than a boolean.
5367 Added support for a AccessibleCoordType parameter
5368 specifying what type of coordinates are desired.
5369 Added an AccessibleCordType parameter to
5370 AccessibleText_getPointAtOffset.
5372 * cspi/spi_accessible.c:
5373 Added code to return the outstanding interfaces from
5374 Accessible_queryInterface.
5376 * cspi/spi_action.c:
5378 Corrected call to getNActions to call the c binding
5381 * cspi/spi_editabletext.c:
5383 Changed name from setRunAttributes to setAttributes.
5385 * cspi/spi_hyperlink.c:
5387 Changed call to getNAnchors to correctly call the c
5388 binding for an attribute.
5390 * cspi/spi_hypertext.c:
5392 Changed getImageDescription to correctly call the
5393 binding for an attribute.
5395 * cspi/spi_selection.c:
5396 Changed getNSelectedChildren to correctly call the c
5397 binding for the attribute.
5398 Changed refSelectedChild to getSelectedChild.
5402 Changed getCaption to return an Accessible.
5403 Fixed calls which retrieve attributes.
5404 Changed refAt to getAccessibleAt.
5405 Changed getNSelectedRows and getNSelectedColumns to
5409 Changed getCharacterExtents and getPointAtOffset to accept an
5410 AccessibleCoordType.
5412 Changed calls which retrieve attributes.
5413 Changed refRunAttributes to getAttributes.
5418 * idl/Hyperlink.idl:
5419 Changed n_anchors attribute to nAnchors to keep naming
5420 convention consistent.
5423 Made Table inherit from Bonobo::Unknown.
5424 Added nSelectedColumns and nSelectedRows attributes.
5427 Made Value inherit from Bonobo::Unknown.
5429 * libspi/hyperlink.c:
5430 Change for nAnchors attributte name change.
5432 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5440 Added interface implementation c files to list of
5441 includes so they are included in libcspi.
5444 Changed prototype of AccessibleAction_doAction to return a
5446 Changed prototype of AccessibleTable_getCaption to
5447 return an Accessible.
5448 Changed prototype of AccessibleTable_getSelectedRows
5449 and AccessibleTable_getSelectedColumns to
5450 return a long (returns the number of selected rows
5451 or columns respectively).
5452 Changed name of AccessibleText_refRunAttributes to
5453 AccessibleText_getAttributes.
5454 Changed prototype of AccessibleText_getCharacterExtents to
5455 return a void rather than a boolean.
5456 Added support for a AccessibleCoordType parameter
5457 specifying what type of coordinates are desired.
5458 Added an AccessibleCordType parameter to
5459 AccessibleText_getPointAtOffset.
5461 * cspi/spi_accessible.c:
5462 Added code to return the outstanding interfaces from
5463 Accessible_queryInterface.
5465 * cspi/spi_action.c:
5467 Corrected call to getNActions to call the c binding
5470 * cspi/spi_editabletext.c:
5472 Changed name from setRunAttributes to setAttributes.
5474 * cspi/spi_hyperlink.c:
5476 Changed call to getNAnchors to correctly call the c
5477 binding for an attribute.
5479 * cspi/spi_hypertext.c:
5481 Changed getImageDescription to correctly call the
5482 binding for an attribute.
5484 * cspi/spi_selection.c:
5485 Changed getNSelectedChildren to correctly call the c
5486 binding for the attribute.
5487 Changed refSelectedChild to getSelectedChild.
5491 Changed getCaption to return an Accessible.
5492 Fixed calls which retrieve attributes.
5493 Changed refAt to getAccessibleAt.
5494 Changed getNSelectedRows and getNSelectedColumns to
5498 Changed getCharacterExtents and getPointAtOffset to accept an
5499 AccessibleCoordType.
5501 Changed calls which retrieve attributes.
5502 Changed refRunAttributes to getAttributes.
5507 * idl/Hyperlink.idl:
5508 Changed n_anchors attribute to nAnchors to keep naming
5509 convention consistent.
5512 Made Table inherit from Bonobo::Unknown.
5513 Added nSelectedColumns and nSelectedRows attributes.
5516 Made Value inherit from Bonobo::Unknown.
5518 * libspi/hyperlink.c:
5519 Change for nAnchors attributte name change.
5522 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5524 implementations-- made server implementations own AtkObject pointers
5525 rather than their respective AtkInterrface pointers to fix
5526 refcounting. AtkHyperlink is still broken.
5528 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5529 * cspi/spi_accessible.c:
5530 Added method Accessible_Role_getName(),
5531 and requisite string array (role_names).
5532 Added conversion string_from_corba_strin() call
5533 to Accessible_getName and _getDescription.
5534 * libspi/accessible.c:
5535 Added implementation for Accessible_getRole()
5537 Added festival support, used if environment variable
5540 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5542 * at-bridge/bridge.c:
5543 Now allocate Accessibility_Event using
5544 Accessibility_Event__alloc() instead of g_new0().
5545 * libspi/accessibleeventlistener.c:
5546 Initialize AccessibleEventListener->callbacks to NULL.
5547 Fixed accessible__event_listener_init() param, changed to
5548 "AccessibleEventListener *" type.
5549 Changed a bonobo_object_release_unref() call to
5550 Accessibility_Accessible_unref().
5551 * libspi/listener.c:
5552 Changed Bonobo_Unknown_unref to (equivalent)
5553 Accessibility_Accessible_unref.
5554 * libspi/registry.c:
5555 Changed bonobo_object_release_unref to
5556 Accessibility_Accessible_unref.
5558 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5561 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5562 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5563 spi-util.c spi-util.h
5564 Implementations for C bindings to remaining accessibility
5567 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5570 changed return value of Action from void to boolean to
5571 bring in line with ATK.
5574 Changed getText funcions to return "out" start and end offsets.
5575 Changed getAttributes to take and offset and return the start
5576 and end offset of the attribute run.
5577 Changed getOffsetAtPoint and getCharacterExtents to take an
5578 enum describing whether coordinates are window or screen.
5581 libspi/action.c libspi/action.h libspi/editabletext.c
5582 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5583 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5584 libspi/image.h libspi/selection.c libspi/selection.h
5585 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5586 libspi/value.c libspi/value.h
5587 Added server implementations for outstanding ATK interfaces
5588 not yet implemented.
5590 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5593 Added (missing) getName() method.
5594 Made nActions an attribute.
5595 * idl/EditableText.idl:
5596 Changed order of params in setAttributes.
5597 * idl/Hyperlink.idl:
5598 Removed getAnchor, added getURI.
5600 Changed attributes to methods, for efficiency
5601 (so that getting extents can be done in one call)
5602 * idl/Selection.idl:
5603 Changed nSelectedChildren to attribute, and re-indented.
5604 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5606 * idl/Text.idl: reformatted to match our coding style.
5607 (temporarily?) removed getRowColumnAtOffset().
5608 Changed text selection API to support multi-select and
5609 non-contiguous selections, as in ATK.
5610 * idl/Value.idl: changed some methods to attributes.
5612 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5614 * libspi/listener.c(impl_notify_event):
5615 BonoboUnkown_unref the source instead
5616 of bonobo_object_release_unref - the ORB
5617 handles the releasing.
5619 * configure.in: require ORBit-2.3.94 for
5622 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5624 Tagged CVS repository 'EA_1_0'.
5625 * README.EARLY_ACCESS:
5626 Alphabetized acknowledgements list, and
5628 Listed some known dependencies of at-spi.
5630 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5632 * docs/at-spi-docs.sgml:
5633 * docs/at-spi-sections.txt:
5634 * docs/at-spi-overrides.txt: (Added zero-length file)
5635 Documentation improvements - gtk-doc should build
5636 docs for all implemented C bindings now.
5639 * cspi/spi.c: (New file)
5640 * cspi/spi_event.c: (New file)
5641 * cspi/spi_registry.c: (New file)
5642 * cspi/spi_accessible.c: (New file)
5643 * cspi/spi_application.c: (New file)
5644 * cspi/spi_component.c: (New file)
5645 Split spi_main.c into six parts, and included them from
5646 "spi.c". This is a bit of a hack, probably temporary,
5647 but required by gtk-doc, apparently.
5649 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5652 * docs/at-spi-docs.sgml:
5653 * docs/at-spi-sections.txt:
5655 Initial checkins/modifications for gtk-doc generation.
5658 Added (missing) interface query methods to Accessible's C binding.
5660 Added GenericInterface type definition.
5662 Added query for AccessibleComponent interface to focus event handler.
5663 Added printout of bounding box for focussed component.
5664 * libspi/component.c:
5665 Added partial implementation for AccessibleComponent to C binding.
5666 * idl/Application.idl:
5667 * libspi/registry.c:
5668 * libspi/listener.c:
5669 * libspi/application.c:
5670 * libspi/application.h:
5671 Changed "ID" attribute type from string to long.
5673 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5677 Made method naming consistent: methods taking object args
5678 start with uppercase, other methods (except those using
5679 acronyms) start with lowercase. Underscores delimit between
5680 object names and method names:
5681 SPI_init() - uppercase since it starts with an acronym.
5682 getDesktopCount () - lowercase start since no object param0.
5683 Accessible_getName() - uppercase object type name, studlyCaps method
5687 Added gtk-doc documentation for all currently implemented
5688 methods in the C bindings API.
5690 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5692 * Makefile.am : changed build order to build test last.
5695 Changed "createEventListener" to "CreateEventListener".
5696 * libspi/accessibleeventlistener.c :
5697 Bugfix for addition of callbacks.
5698 * test/Makefile.am :
5699 * test/simple-at.c :
5700 Added new test that uses the C bindings API.
5702 * libspi/listener.c :
5703 * libspi/registry.c :
5704 * libspi/accessibleeventlistener.c :
5705 * at-bridge/bridge.c :
5706 Renamed member "target" of Accessibility_Event to "source",
5707 which is more descriptive.
5710 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5714 * cspi/Makefile.am :
5715 Added makefile support for at-spi/cspi directory.
5718 * cspi/spi-listener.h : (NEW FILE)
5719 Added support for/use of spi-listener.h.
5721 C bindings now build successfully, with no warnings.
5722 * libspi/accessibleeventlistener.h : (NEW FILE)
5723 * libspi/accessibleeventlistener.c : (NEW FILE)
5724 * libspi/Makefile.am :
5725 Added new object type "AccessibleEventListener"
5726 which inherits from Listener, and allows attachment
5727 of in-process callbacks (so that a client with a listening
5728 object instance can add functionality to the local
5729 implementation, dynamically).
5731 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5733 * libspi/accessible.c:
5734 Add implementation for get_index_in_parent().
5736 Added #include of "spi-roletypes.h", and
5737 added enumerated type AccessibleCoordType.
5738 Added definition for KeystrokeListener (function type).
5741 * cspi/spi-statetypes.h :
5742 * cspi/spi-roletypes.h :
5744 Added these headers, used by spi.h.
5746 Added code (NOTE: not yet built by make).
5748 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5750 * libspi/Makefile.am: generate imodule
5751 at the same time as other idl compiler
5754 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5755 * libspi/registry.c :
5756 * libspi/application.c :
5757 * idl/Application.idl :
5758 Made registration with toolkit an application method,
5759 which is required since each app has its own toolkit static
5760 environment. Thus the bridge must register for
5761 notification of toolkit events from each application in turn.
5762 Toolkit notifications are now successfully registered for, and
5763 sent to the listening at client.
5765 Changed toolkit event string to use hyphens rather than underscores.
5766 * libspi/listener.c :
5767 listner now gives more info in debug mode - it reports the
5768 name of the event received, as well as the name of the source.
5771 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5773 * libspi/registry.c :
5774 added more implementation for toolkit events.
5775 Fixed bug such that toolkit event registrations
5776 (via atk) use the whole event name string, not
5778 Removed a useless call to an ORBit_ method.
5779 * at-bridge/bridge.c :
5780 Removed unused local sbuf[] variable.
5782 We now register for Gtk:GtkWidget:button_press_event
5783 events as well as "focus:" events.
5785 Add some more API from Registry.idl that was missing,
5786 for keystroke listening, keystroke and mouse event
5787 synthesis, and enumeration of accessible desktops.
5789 2001-08-16 Michael Meeks <michael@ximian.com>
5791 * configure.in: use AM_GLIB_GNU_GETTEXT.
5793 * Makefile.am (SUBDIRS): kill intl.
5795 2001-08-15 Michael Meeks <michael@ximian.com>
5797 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5799 * configure.in: upd.
5801 * configure.in: depend on a recent bonobo-activation that
5802 will find our server files ...
5804 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5806 * libspi/accessible.c : accessible_new() :
5807 Now we add the Component interface via bonobo_object_add_interface,
5808 if the contained AtkObject implements AtkComponent.
5809 * libspi/accessible.h : now include "component.h"
5810 * libspi/component.h :
5811 * libspi/component.c : added files - implementation of
5812 bonobo wrapper object for Accessibility/Component
5813 * libspi/listener.c :
5814 Added test code to check for Accessibility/Component:1.0
5815 interface and report whether it is implemented by the
5817 * libspi/registry.c :
5818 Now we check for not only the hash of the whole event
5819 string before relaying the event, we also check the
5820 "minor" event string (without the detail string).
5821 This allows event listeners to be registered against
5822 all events of a certain major+minor type, or just
5823 against a specific major+minor+detail type.
5824 * libspi/accessible.c :
5825 Added implementations for Accessible:get_parent(),
5826 Accessible:getChildCount(), and Accessible:getChildAtIndex().
5827 * libspi/registry.c :
5828 * libspi/listener.c :
5829 Replaced calls to Accessibility_Accessible_ref() and
5830 Accessibility_Accessible_unref() with
5831 calls to bonobo_object_dup_ref() and
5832 bonobo_object_release_unref(), so that the CORBA object
5833 is dup-ed and released when relayed, as well as the bonobo object.
5835 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5837 * libspi/Makefile.am,
5838 registryd/Makefile.am,
5839 at-bridge/Makefile.am.
5840 test/Makefile.am, configure.in:
5841 reverse previous changes.
5843 * /idl/Image.idl: fix typo.
5845 * test/Makefile.am: put DEBUG_FLAGS
5848 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5850 * test/app.c: use argv[0] instead of
5853 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5855 * libspi/Makefile.am,
5856 registryd/Makefile.am,
5857 at-bridge/Makefile.am.
5858 test/Makefile.am, configure.in:
5859 cleanup, replace individual LIBS/CFLAGS with
5860 AT_COMMON_{LIBS|CFLAGS}.
5864 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5866 * configure.in, libspi/Makefile.am:
5867 Change IDL path checking for bonobo-activation
5870 2001-08-15 Bill Haneman <bill.haneman@sun.com>
5872 * registryd/registry.c : separated event listeners to use
5873 3 separate lists (focus, window, toolkit). Began testing
5874 event names against hashes before relaying events.
5875 * test/at.c : now register for events of type "focus:"
5876 * test/app.c : now generate events of type "focus:"
5877 * at-bridge/bridge.c : register with ATK for focus events,
5878 and we now relay those focus events to any "focus:" listeners.
5879 This now works with the bridge as a GTK_MODULE when running test/at.
5880 * libspi/registry.c :
5881 * libspi/listener.c :
5882 now we ref event sources before propagating, and unref on receipt.
5883 * libspi/registry.c :
5884 some changes to internal structs, to support event typestring hashes.
5885 * text/app.c : changed the way the appname is generated.
5886 * cspi : added directory that will hold the C bindings library for
5887 non-CORBA/bonobo-savvy clients.
5888 * cspi/spi.h : header file that contains the function prototypes for the C binding.
5889 * idl/Component.idl : added in parameter to indicate coord system for
5890 geometry-related calls.
5891 * idl/Hyperlink.idl : added readonly n_links attribute
5892 * idl/Image.idl : changed methods to attributes.
5894 2001-08-15 Mark McLoughlin <mark@skynet.ie>
5896 * at-bridge/Makefile.am: link against
5897 ../libspi/libspi.la instead of -lspi.
5899 * at-spi/test/app.c: include
5900 bonobo-activation.h. Use a default appname
5901 if one is not provided.
5903 2001-08-14 Bill Haneman <bill.haneman@sun.com>
5905 * idl/Registry.idl : temporarily changed register_Application
5906 to oneway, to work around issue with initial registration
5908 * idl/Application.idl : changed attribute "id" from readonly
5909 to read-write, since it needs to be assigned by Registry.
5910 * registryd/registryd.c : added call to set application id
5912 * registryd/registry.c : changed de-registration procedure to
5913 use CORBA_Object_hash() to find matching object ref in application
5914 lists and listener lists.
5915 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5916 began distinguishing between event types (work in progress).
5918 2001-08-13 Bill Haneman <bill.haneman@sun.com>
5921 * libspi/application.c:
5922 Added implementations for get/set id, get_toolkitName,
5924 * registryd/registryd.c :
5928 Converted from use of OAF to bonobo-activation.
5929 * libspi/desktop.h :
5930 * libspi/desktop.c :
5932 Removed references to atksimpleobject, since base atkobject
5933 implementation now provides functionality we need.
5934 * libspi/atksimpleobject.c :
5935 * libspi/atksimpleobject.h :
5940 * at-bridge/Makefile.am
5941 * at-bridge/bridge.c
5944 Added directory "bridge" and contents, and added dependencies
5945 in Makefile.am/configure.in.
5946 Initial checkin of "at-bridge".
5947 This code is a GTK_MODULE which automatically registers
5948 GTK+ apps with the accessibility registry, using an object
5949 reference to the root ATK object.
5951 2001-08-10 Mark McLoughlin <mark@skynet.ie>
5953 * po/Makefile.in.in: Remove. Again. If this
5954 doesn't get autogenerated - you need to update
5957 2001-08-07 Mark McLoughlin <mark@skynet.ie>
5959 * po/Makefile.in.in: Add. Again.
5961 2001-07-31 Bill Haneman <bill.haneman@sun.com>
5963 * libspi/accessible.c : added support for 'description' property.
5964 * libspi/accessible.c
5966 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5967 (since the two are now equivalent in libbonobo)
5975 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5976 Bonobo::Unknown as does Accessibility::Accessible.
5977 * idl/StreamableContent.idl : as above, and replaced internal InputStream
5978 interface with Bonobo::Stream, since it was redundant with it.
5979 (The Stream returned by a StreamableContext object is expected to
5980 implement only a subset of Bonobo::Stream)
5982 2001-07-28 Anders Carlsson <andersca@gnome.org>
5984 * libspi/accessible.c (accessible_object_finalize): Change
5985 g_free to g_object_unref since the AtkObject is a GObject.
5987 2001-07-30 Bill Haneman <bill.haneman@sun.com>
5989 * idl/Accessibility.idl: add new IDL files
5992 * idl/Action.idl: Definitions of actionable UI object
5993 * idl/Component.idl: Definitions of UI component geometry, etc.
5994 * idl/Hyperlink.idl: Defs of hyperlink behavior
5995 * idl/Image.idl: Def of accessible image
5996 * idl/Selection.idl: Definition of UI object with selectable children
5997 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5998 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5999 * idl/Text.idl: Interface defs for UI elements with complex textual content
6000 * idl/Value.idl: Definition of UI element that is a value controller or display
6002 2001-07-27 Michael Meeks <michael@ximian.com>
6004 * po/Makefile.in.in: remove autogenerated file from CVS.
6006 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6009 * idl/Registry.idl: include guard.
6011 * idl/Accessibility.idl: Add, and include all the other IDL
6014 * idl/*.idl: remove mass of pragmas etc.
6016 2001-07-26 Michael Meeks <michael@ximian.com>
6018 * registryd/Makefile.am (registryd_SOURCES): remove
6021 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6023 * libspi/.cvsignore, registryd/.cvsignore,
6024 test/.cvsignore: updated.
6026 * po/Makefile.in.in: gettext update.
6028 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6030 * initial CVS checkin
6032 2001-06-29 Michael Meeks <michael@ximian.com>
6034 * configure.in: add AM_CONFIG_HEADER to gen config.h