1 2003-07-02 Christian Neumair <chris@gnome-de.org>
3 * configure.in: Added "de" (German) to ALL_LINGUAS.
5 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
7 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
9 2003-07-01 Miloslav Trmac <mitr@volny.cz>
11 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
13 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
15 * configure.in: Added "pl" to ALL_LINGUAS.
17 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
19 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
21 2003-06-30 Bill Haneman <bill.haneman@sun.com>
24 (get_action_from_servant):
25 Removed assertion that action is implemented on an AtkObject.
29 Aggregate AccessibleAction interface on the hyperlink object if
30 the object implements AtkAction. (This convention is used in
33 2003-06-30 Bill Haneman <bill.haneman@sun.com>
35 * configure.in: Revved to 1.3.5.
37 * registryd/Accessibility_Registry.server.in.in:
38 Marked up appropriate strings for translation.
40 * atk-bridge/bridge.c: Marked a couple of
41 user-visible warnings for translation. Questionable
42 whether they are really useful, but possibly so.
45 2003-06-28 Christian Rose <menthos@menthos.com>
47 * configure.in: Added "sv" to ALL_LINGUAS.
49 2003-06-26 Bill Haneman <bill.haneman@sun.com>
51 * registryd/registry.c:
52 (spi_registry_object_finalize): Unref the deviceeventcontroller.
53 (registry_defer_on_event): Defer focus: events, this is an
54 improvement to the patch for bug #108664.
56 * TODO: Update with 2.4/"Dev Complete" items.
58 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
60 * atk-bridge/bridge.c:
61 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
62 looks up signals once.
63 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
64 if doing registration.
65 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
66 when doing registration.
68 This fixes bug #115014.
70 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
72 * atk-bridge/bridge.c:
73 (atk_bridge_init): Add signal handler for children-changed:remove on
74 root when in a BonoboComponent.
75 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
76 for first toplevel only other incrememt variable toplevels.
77 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
78 application and remove listeners.
79 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
81 (spi_atk_deregister_event_listeners): New function which removes
83 (reinit_register_vars): New fuction which reinitializes variables.
85 This fixes bug #111578.
87 2003-06-13 Bill Haneman <bill.haneman@sun.com>
89 * configure.in: version 1.3.4.
91 * cspi/spi_accessible.c:
92 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
95 2003-06-13 Michael Meeks <michael@ximian.com>
97 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
99 * cspi/spi_main.c (cspi_peek_ev): impl.
101 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
103 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
105 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
107 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
108 SPI_ROLE_AUTOCOMPLETE
110 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
112 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
113 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
115 2003-06-11 Bill Haneman <bill.haneman@sun.com>
117 * libspi/streamablecontent.h:
118 * libspi/streamablecontent.c:
119 New files, provide implementation/wrappers for
120 Accessibility_StreamableContent.
122 * cspi/spi_streamablecontent.c:
123 Connected the C wrappers to the libspi C bindings.
124 (AccessibleStreamableContent_close): New method.
127 (AccessibleStreamableContent_close): New method, needed
128 since we have an "open, [seek], read, close" model in cspi.
130 2003-06-11 Bill Haneman <bill.haneman@sun.com>
132 Fix for #108664; Padraig's revision of my original patch.
134 * registryd/registry.h:
135 Added event queue list, is_queuing, and exit_notify_timeout
136 to the registry struct.
138 * registryd/registry.c:
139 (registry_init): Initialize new struct from registry.h.
140 (impl_registry_notify_event):
141 Filter events before notifying, in case some need to be
143 (registry_filter_event): New,
144 we defer certain incoming events (for instance
145 window:deactivate) because we may wish to hide
146 or reject them based on pending events. This is
147 mostly a workaround for bug #108664.
148 (registry_queue_event, registry_start_queue): New.
149 (registry_defer_on_event): Test event to see if it
151 (registry_reset_on_event): Returns TRUE if the
152 event should cause a queue reset.
153 (registry_discard_on_event): Returns TRUE if the event
154 should cause the previous queue contents to be discarded.
155 (registry_timeout_flush_queue): Flushes the pending event
156 queue if no reset/discard-triggering events have come in
157 within the timeout period.
158 (registry_emit_event): New.
159 (registry_clone_notify_context): New, used when queueing the
160 event notify contexts.
162 2003-06-10 Bill Haneman <bill.haneman@sun.com>
164 * configure.in: Version revved to 1.3.2, lt 0.9.2
165 Incremented ATK required version to 1.3.4.
167 * cspi/spi_registry.c:
168 (SPI_generateKeyEvent):
169 We now pass the keystring along if it's non-null.
171 * registryd/deviceeventcontroller.c:
172 (keysym_mod_mask): New method, returns modifier mask
173 required to generate a keysym from a given keycode.
174 (dec_synth_keysym): New method.
175 (dec_synth_keystring): New method.
176 (dec_get_modifier_state): New method.
177 (dec_lock_modifiers): New
178 (dec_unlock_modifiers): New.
179 (dec_keysym_for_unichar): New, rather brute-force
180 conversion from UCS-4 to X KeySyms. Only works for
181 Latin at the moment, with partial implementations for
182 Greek, Hebrew, and (incomplete) Katakana.
183 (impl_generate_keyboard_event): Now implement
184 "KEYSTRING" synthesis and implement "KEYSYM"
186 (keycode_from_keysym): Improved, passes a returned
187 modmask value now if the corresponding param is non-NULL.
189 Fixes bugs #92143 and #109776.
192 * test/keysynth-test.c:
193 New test program for key synthesis, to confirm fixes for
197 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
199 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
201 * cspi/spi_accessible.c (cspi_init_relation_type_table):
202 Add line for RELATION_POPUP_FOR
204 * docs/reference/cspi/tmpl/spi_relation.sgml:
205 Add relation SPI_RELATION_POPUP_FOR
207 * docs/reference/cspi/tmpl/spi_stateset.sgml:
208 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
210 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
212 * libspi/relation.c (spi_init_relation_type_table):
213 Add line for RELATION_POPUP_FOR
215 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
217 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
218 there are still windows which have not been deleted and emit
219 window:deactivate, if necessary and window:destroy events.
220 This fixes bug #114370. The change on June 5th was not correct.
222 2003-06-09 Bill Haneman <bill.haneman@sun.com>
224 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
227 (SPI_dupString): Allow dup-ing of a string such that it's safe to
229 New methods for client exception handling and interception.
230 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
231 (SPI_exceptionHandlerPop): You guessed it...
232 (SPI_getSourceType): Return the type of object which offended.
233 (SPI_getExceptionCode): Return an enum code telling, possibly,
234 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
235 (SPIAccessibleException_getSource): get the source object for
236 exceptions that come from Accessibles, if SPIExceptionSourceType is
237 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
238 (SPIException_getDescription): New, returns a string description of
239 the problem. [Not yet a stable ABI, strings are not frozen]
241 * cspi/spi-private.h:
242 Added implementation details of opaque SPIException
246 Implementations of above. Also
247 (_cspi_exception_throw): new private method that
248 dispatches exceptions to handlers, called from cspi-bonobo.c
250 * cspi/bonobo/cspi-bonobo.c:
251 (cspi_check_ev): call _cspi_exception_throw.
252 Don't print a warning message if the exception has been
253 handled by _cspi_exception_throw.
255 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
257 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
258 there are still windows which have not been deleted and emit
259 window:deactivate, if necessary and window:destroy events.
260 This fixes bug #114370.
262 2003-06-03 Bill Haneman <bill.haneman@sun.com>
265 (cspi_accessible_is_a): Make non-fatal
266 if the object reference is dead.
268 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
270 * cspi/spi_main.c: #include <stdio.h>
271 * test/simple-at.c: ditto
272 * test/event-listener-test.c: ditto
273 * test/screen-review-test.c: ditto
275 2003-05-30 Michael Meeks <michael@ximian.com>
277 * test/test-simple.c (main): use CORBA_ORB_perform_work
278 instead of an unnecessary linc_ call.
280 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
282 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
283 Add SPI_STATE_INDETERMINATE.
285 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
288 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
290 * libspi/stateset.c (init_state_type_tables): Add support for
293 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
295 * configure: Update versions of atk and gail required.
296 This fixes bug #113268.
298 2003-05-02 Bill Haneman <bill.haneman@sun.com>
300 * configure.in: Revved micro version to 1.3.1 (because of build fix).
302 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
304 * libspi/Makefile.am:
305 Ensure headers are generated before being used by c sources.
307 2003-05-01 Bill Haneman <bill.haneman@sun.com>
310 Simplified lt versioning rules.
311 Incremented version to 1.3.0, to indicate that we're on the
314 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
316 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
317 Add MKDB_OPTIONS=--outtput-format=xml
319 * docs/reference/cspi/at-spi-cspi-docs.sgml
320 docs/reference/idl/at-spi-idl-docs.sgml:
321 Convert to Docbook XML.
323 This fixes bug #111793.
325 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
327 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
328 AcccessibleKeyEventType, AccessibleKeyMaskType.
330 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
332 * cspi/state-types.h: Add documentation for AccessibleState.
334 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
335 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
336 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
337 AccessibleComponentLayer.
339 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
342 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
344 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
345 Accessible. Add description of AccessibleEvent,
346 AccessibleEventListenerCB.
348 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
351 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
352 documentation. Add description of AccessibleKeystrokeListenerCB,
353 AccessibleKeyEventMask, AccessibleModifierMaskType,
354 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
355 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
357 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
360 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
363 This fixes bug #104730.
365 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
367 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
368 Set is_text field of Accessibility_DeviceEvent data structure.
370 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
371 is-text field of AccessibleDeviceEvent data structure.
373 This addresses part of bug #108666.
375 * registryd/devcieeventcontroller.c: Unset debug option.
377 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
380 (cpi_initial_relation_type_table): New function which initializes
381 mapping between Accessibility_RelationType and AccessibleRelationType.
382 (cspi_relation_type_from_spi_relation_type): New function which
383 translates an Accessibility_RelationType into an AccessibleRelationType.
384 (AccessibleRelation_getRelationType): Use
385 cpi_relation_type_get_spi_relation_type to return correct value.
386 (spi_state_to_corba): Return correct type for default case.
388 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
389 Use Accessibility_EventType instead of Accessibility_KeyEventType.
391 * cspi/cspi-bonobo-listener.c:
392 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
395 * libspi/accessible.c, libspi/action.c, libspi/application.c,
396 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
397 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
398 libspi/image.c, libspi/listener.c, libspi/selection.c,
399 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
400 registryd/desktop.c, registryd/registry.c:
401 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
403 * libspi/eventlistener.c
404 Remove semicolon after BONOBO_TYPE_FUNC.
407 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
408 (spi_init_relation_type_table): Initialize using correct type.
410 * registryd/desktop.c:
411 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
412 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
413 of Accessibility_KeyEventType.
415 * test/key-listener-test.c (report_tab_key_event): Use fprintf
418 * tests/simple-at.c, tests/screen-review-test.c:
419 Add include for <strings.h>.
421 * tests.stress-test.c:
422 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
424 These changes fix compiler warnings when using FORTE compiler on
425 Solaris; fixes bug #107479.
428 2003-04-10 Bill Haneman <bill.haneman@sun.com>
431 * configure.in: revved to 1.1.10
434 (SPI_KEYMASK_NUMLOCK): Added.
436 * registryd/deviceeventcontroller.c:
437 (spi_key_event_matches_listener): AND with a smaller
438 bitmask (as we should).
439 (spi_dec_translate_mask):
440 New method, sets the virtual NumLock modifier bit
441 if numlock is on. Eventually it can handle other virtual
442 modifier bits if needed, or other marshalling from
443 at-spi modifier masks to platform (X) masks.
444 (spi_dec_key_listener_new):
445 Call spi_dec_translate_mask to set up virtual mod bits
446 in the 'mask' field when creating a new listener struct.
447 (spi_dec_emit_modifier_event):
448 Set the virtual (i.e. NumLock) bits before emitting event.
449 (spi_controller_register_with_devices):
450 Query for the NumLock modifier 'physical' bit if Xkb is
451 present, for use in above methods.
455 2003-04-10 Bill Haneman <bill.haneman@sun.com>
457 * registryd/deviceeventcontroller.c:
458 (spi_keystroke_from_x_key_event):
459 Instead of checking to see if the keysym is
460 printable, check the string from XLookupString
461 if available, get the first unicode character from it,
462 and call g_unichar_isprint to determine whether the
463 is_text flag should be TRUE or FALSE.
467 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
469 * atk-bridge/bridge.c: Add support for extended events
470 * cspi/spi_event.c: Add documentation and implementation for
472 * tests/event-listener-test.c: Add tests for extended events.
474 This fixes bugs #100424 and #100426.
476 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
478 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
479 of LT_CURRENT. This fixes bug #89350.
481 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
483 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
484 number of signal parameter values before accessing them. This fixes
487 2003-04-01 Bill Haneman <bill.haneman@sun.com>
489 * configure.in: Fixed duplicate inclusion of -lspi.
490 * branched for gnome-2-2/HEAD.
491 [created tag "gnome-2-2"]
493 2003-03-07 Bill Haneman <bill.haneman@sun.com>
495 * configure.in: 1.1.9 release.
498 2003-03-07 Bill Haneman <bill.haneman@sun.com>
500 [needed by GOK, to fix bugs 107985 and 107988]
501 * registryd/deviceeventcontroller.c:
502 (spi_dec_clear_unlatch_pending):
503 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
504 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
505 (spi_dec_init_mouse_listener):Emit warning if mouse button
507 (spi_device_event_controller_forward_mouse_event):
508 Removed unnecessary parens from a conditional.
509 (global_filter_fn):Added TODO comment.
510 (impl_generate_keyboard_event):
511 Cancel a pending relatch if a 'delatching' key was
514 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
516 * atk-bridge/bridge.c:
517 Change atk_signal_child_changed to atk_signal_children_changed.
518 Reorganize code in spi_atk_bridge_signal_listener().
520 * test/event-listener-test.c:
521 Add children_changed_listener and report_children_changed_event()
522 to test AccessibleChildEvent_getChildAccessible.
524 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
526 * cspi/spi_event.c (cspi_internal_event_get_text): Change
527 g_strdup to CORBA_String_dup (bug #105291)
529 * test/event-listener-test.c (report_text_event): Add call to
532 2003-02-28 Bill Haneman <bill.haneman@sun.com>
534 * registryd/deviceeventcontroller.c:
535 (spi_keystroke_from_x_key_event):
536 Fix string and keysym return codes to match modifier state.
539 2003-02-28 Bill Haneman <bill.haneman@sun.com>
541 * registryd/deviceeventcontroller.c:
542 (spi_keystroke_from_x_key_event):
543 Fix segv due to improper use of isprint(c). [bug #107254]
545 2003-02-24 Bill Haneman <bill.haneman@sun.com>
548 (get_accessible_text_boundary_type):
549 Move default return value to (new) default case in switch.
550 (get_accessible_text_clip_type):
551 Move default return value to (new) default case in switch.
553 * libspi/application.c:
554 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
555 Remove unused methods.
556 (impl_accessibility_application_register_object_event_listener):
557 Remove unused methods.
560 Added #include of <math.h>.
562 * registryd/deviceeventcontroller.c:
563 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
564 we don't currently use this method.
565 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
567 (impl_generate_key_event):
568 Remove unused variables.
569 (impl_generate_mouse_event):
570 Initialize button to zero, just in case we get an invalid
571 input. Added support for mouse buttons 4 and 5.
572 (spi_device_event_controller_new):
573 Removed unused variable declaration for 'private'.
575 Added #include of <gdk/gdk.h>
577 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
579 * configure.in: Update to work when X is not installed in expected
580 location. Fixes bug #105836.
582 * atk-bridge/bridge.c
583 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
585 (spi_atk_register_event_listener): Add signal listener for
587 (spi_atk_bridge_signal_listener): Event event when link-selected
588 signal is emitted. (bug #104622)
590 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
591 on returned string. (bug #105291)
593 * test/event-listener-test.c: Add test for link-selected.
595 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
597 * atk-bridge/Makefile.am: Correct typo in previous commit.
599 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
601 * atk-bridge/Makefile.am: Allow for build directory to be different
602 from source directory
604 * registryd/Makefile.am: Allow for build directory to be different
605 from source directory
609 2003-01-29 Bill Haneman <bill.haneman@sun.com>
612 Fixed dependencies for libcspi so that libspi gets pulled in
613 properly. Fixes 104741.
617 Clean up inline docs a little.
619 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
621 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
622 This is done by implementing AtkComponent for SpiAtkDesktop, which is
623 the AtkObject within an SpiDesktop.
624 This addresses bug #101524.
626 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
627 Remove call to gdk_init().
629 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
630 so that Display is set when SpiDesktop is created.
632 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
634 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
635 This fixes bug #102830.
637 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
639 * test/test-simple.c: Update to take account of fact that GailButton
640 now implements AtkText.
641 (create_text_window): Set name on AtkObject for GtkEntry.
642 (validate_accessible): Check accessible name before calling test_text().
644 * libspi/Makefile.am: Fix problem with building outside of source
645 directory. Bug #98120.
647 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
648 typo in documentation comments. Bug #94275.
650 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
652 * libspi/text.c (impl_getBoundedRanges): Bug fix.
654 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
657 Add includes to avoid compiler warnings on Solaris.
658 (impl_getRangeExtents): Bug fix.
660 2002-12-17 Bill Haneman <bill.haneman@sun.com>
662 Fix for 100944, [API addition approved by Gman and murrayc].
669 * idl/Accessibility_Text.idl:
670 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
671 (Text::getRangeExtents): New method for efficient
672 bounds query of a text range.
673 (Text::getBoundedRanges): New method for efficient
674 clipping of text to bounding boxes.
675 (unImplemented7, unImplemented8):
676 Removed these padding methods to preserve bincompat.
679 (impl_getRangeExtents): implementation of new IDL.
680 (impl_getBoundedRanges): implementation of new IDL.
681 (SpiTextRect): Internal use struct.
682 (_spi_text_rect_union): internal method, calculates union of two
683 SpiTextRect bounding rects.
684 (_spi_text_range_seq_from_gslist): internal method, allows us
685 to build our sequence efficiently as a gslist then convert it
687 (_spi_bounds_contain): internal method, determines whether
688 a text character is "in" or "out" of a clip rect according to
689 values of TEXT_CLIP_TYPE.
690 (spi_text_class_init): Initialize the new methods in the epv.
693 (AccessibleTextClipType): New enum used by screen review api.
694 (AccessibleTextRange): New struct used by screen review api.
695 (AccessibleText_getRangeExtents):
696 cspi binding for Accessibility_Text_getRangeExtents.
697 (AccessibleText_getBoundedRanges):
698 cspi binding for Accessibility_Text_getBoundedRanges.
699 (AccessibleTextRange_freeRanges): convenience method.
702 (AccessibleText_getRangeExtents):
703 cspi binding for Accessibility_Text_getRangeExtents.
704 (AccessibleText_getBoundedRanges):
705 cspi binding for Accessibility_Text_getBoundedRanges.
706 (AccessibleTextRange_freeRanges): convenience method.
707 (get_accessible_text_clip_type): internal conversion method.
708 (get_accessible_text_ranges_from_range_seq): internal conversion method.
710 * registryd/deviceeventcontroller.c:
711 (spi_dec_mouse_check):
712 Improved behavior for mouse:abs events
713 [same granularity as mouse:rel events, and no
714 events when mouse is idle].
716 2002-12-16 Michael Meeks <michael@ximian.com>
718 * cspi/spi_accessible.c (spi_state_to_corba): rename.
720 * libspi/stateset.c (state_spi_to_atk): split out
721 ( fix several remote array bounds nasties )
722 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
723 (impl_remove): make safe from array bounds issues.
724 (spi_atk_state_from_spi_state): impl.
726 * libspi/stateset.h (spi_state_set_cache_is_empty):
727 add a set of wrapper defines to get layering right.
729 * cspi/spi_accessible.c: update state set stuff to
732 2002-12-14 Michael Meeks <michael@ximian.com>
734 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
735 to avoid 2 roundtrips to the registry per key event
736 (spi_atk_bridge_key_listener): upd.
737 (deregister_application): release the dec.
739 * registryd/registry.c (notify_listeners_cb):
740 bin lots of re-enterant complexity - we no longer
741 do a round-trip bonobo ref here, ensure that a single
742 listener's exception failure won't poison all other
744 (impl_registry_notify_event): bin obvious memory leak.
746 2002-12-13 Michael Meeks <michael@ximian.com>
748 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
749 init the ev so the error is meaningful.
750 (spi_atk_bridge_key_listener): ditto.
752 * cspi/spi_main.c (cspi_ev): init the ev so we start
753 with a clean slate, otherwise the first exception
756 * cspi/spi_text.c (get_accessible_text_boundary_type):
757 add a fallthrough for no warnings.
759 * cspi/spi_registry.c: prune unused warnings.
761 * cspi/spi_main.c (cspi_object_take): fix
762 mind-blowing brokenness ( by watching the compile
765 * cspi/spi_accessible.c (Accessible_getStateSet):
766 re-impl. to use an AtkStateSet.
767 (spi_state_type_from_accessible_state),
768 (init_state_table): bin these.
770 * libspi/stateset.c (spi_atk_state_set_from_sequence):
772 (atk_state_set_from_accessibility_state_set): here.
774 * cspi/spi_accessible.c (spi_state_to_atk): impl.
775 (AccessibleStateSet_contains, AccessibleStateSet_ref),
776 (AccessibleStateSet_unref, AccessibleStateSet_contains),
777 (AccessibleStateSet_add, AccessibleStateSet_remove),
778 (AccessibleStateSet_equals, AccessibleStateSet_compare),
779 (AccessibleStateSet_isEmpty): re-write to use a local
782 2002-12-13 Bill Haneman <bill.haneman@sun.com>
784 * configure.in: Revved to 1.1.7 (new keymask vals).
786 2002-12-10 Bill Haneman <bill.haneman@sun.com>
789 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
791 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
794 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
795 to compare two CORBA_TypeCodes.
796 (cspi_internal_event_add): Silence warning from FORTE compiler.
798 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
799 avoid implicit declaration of functions.
801 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
803 * atk-bridge/bridge.c:
804 (spi_atk_bridge_init_event_type_consts): Store signal id for
805 active-descendant-changed signal.
806 (spi_atk_register_event_listeners): Add signal listener for
807 active-descendant-changed signal,
808 (spi_atk_bridge_signal_listener): Move code in function
809 spi_atk-signal_emit_event() into this function.
810 Add support for active-descendant-changed
811 Update support for child-changed signal.
812 (spi_bridge_window_event_listener): Silence warning.
814 * libspi/spi_private.[ch]:
815 (spi_init_any_object): Change second parameter from CORBA_Object to
817 Omit call to CORBA_Object_duplicate().
818 Set CORBA_any's _value to CORBA_Object*.
820 2002-12-06 Bill Haneman <bill.haneman@sun.com>
826 (AccessibleEvent_ref, AccessibleEvent_unref):
827 New methods, for persisting an event outside the emission context.
828 Must be used if the new accessor methods are to be called
829 outside of the event listener's callback.
831 * cspi/bonobo/cspi-bonobo.c:
832 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
833 as second parameter instead of NULL, so we can call
834 cspi_check_ev afterwards.
837 (cspi_object_take): New internal method,
838 converts a CORBA_Object reference to a hard ref on
839 an Accessible if possible, returning NULL if the object
840 reference is invalid or an Accessible * otherwise.
843 (AccessibleEvent_ref):
844 Increment the event's internal private refcount, and
845 add the event's internal struct to an internal cache
846 if it's not already there.
847 (AccessibleEvent_unref):
848 Decrement the event's refcount and remove it from
849 the cspi event cache if refcount==0.
850 (cspi_event_compare): New private method.
851 Compares two event structs via their ids. Used
853 (cspi_internal_event_lookup): New private method.
854 (cspi_internal_event_check): New private method,
855 a 0-order sanity check for events to make sure their
856 private data is intact.
857 (cspi_internal_event_add, cspi_internal_event_remove):
858 New private methods for managiing the event cache.
860 * cspi/bonobo/cspi-bonobo-listener.c:
862 Initialize the new private data elements (id, magic, ref_count).
864 * atk-bridge/bridge.c:
865 (spi_atk_bridge_signal_listener):
866 Fixed bug #100530, passing wrong params to emission func.
868 * registryd/deviceeventcontroller.c:
869 (spi_dec_button_update_and_emit):
870 Fixed type in mask bit operations; fix for #99799.
872 2002-12-02 Bill Haneman <bill.haneman@sun.com>
874 Removed some of the more dangerous workarounds from
875 previous commit; they are only needed by GOK, which
876 in reality should be using another method to accomplish
877 the goals. So on reconsideration some of the workarounds
880 * registryd/deviceeventcontroller.c:
881 (spi_keycodes_contain, spi_dec_init_keycode_list):
882 Removed these methods, used only by a nasty hack to try
883 and detect whether a key synthesis should be allowed
884 to reset the XKB latch state or not. This code was only
885 required to work around an interaction between GOK,
886 button events, and XKB.
887 (impl_generate_key_event):
888 Removed hack at end of key generation that tried to
889 "do the right thing" if XKB latch keys were generated
890 in the midst of button press/release pairs.
893 Added a check for HAVE_XINPUT. Not normally used yet.
895 2002-11-25 Bill Haneman <bill.haneman@sun.com>
897 Workarounds and fixes for mouse event/XKB interaction.
899 * registryd/deviceeventcontroller.c:
900 (spi_keycodes_contain, spi_dec_init_keycode_list):
901 New internal methods.
902 (spi_dec_set_unlatch_pending):
903 Split the method that tells XKB to expect an
904 unlatch (and revert it) out of the rest of the
905 event handling code. This method is called by the
906 two mouse event handlers (the poll and the filter).
907 (spi_dec_update_and_emit, spi_dec_mouse_check):
908 New methods split from spi_dec_poll_mouse_moved.
909 The second one is now called from inside the filterFn
910 when an XKB delatch event is received, to determine
911 whether to revert the delatch or not.
912 (spi_poll_mouse_moved): Refactor; also we can now
913 properly handle the case where multiple button states
914 have changed between polling cycles and we didn't get
915 notified due to another client's grab.
917 Synchronize the server while handling an XKB notification.
918 Ugly, but apparently necessary to avoid nasty races.
919 Check the mouse state on receipt of an XKB latch change,
920 to decide whether to revert the latch or not. (Latches are
921 reverted if there is an immediately preceding mouse button
922 event that a client has consumed, in which case we don't want
923 the user to see the side-effect of the event).
924 (spi_device_event_controller_forward_mouse_event):
925 Check for modifier events and fire before resetting mouse_mask_state,
926 prevents losing modifier events.
928 (impl_generate_keyboard_event):
929 If we've just generated a keyboard event for a non-shift key,
930 we don't want to revert the pending XKB latch.
931 Otherwise, check the modifier state (via a call to
932 spi_dev_mouse_check) and set the relatch mask to
933 that state before returning.
935 2002-11-24 Bill Haneman <bill.haneman@sun.com>
938 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
941 * atk-bridge/bridge.c:
942 (spi_atk_register_event_listeners):
943 Don't re-register for ATK events if the registry has died
944 and the app needs to re-register; the ATK listeners are in
945 process and doing so will cause duplicate emission.
947 * registryd/deviceeventcontroller.c:
948 (spi_poll_mouse_moved):
949 Reformat the source, detect and emit multiple button-change
950 events (i.e. if multiple buttons have changed between poll
952 Add code to detect mouse-down events even when the pointer
953 is grabbed; workaround for GOK bug 98420.
954 (spi_controller_register_with_devices):
955 Call XTestGrabControl with 'impervious' flag set to True,
956 allows us to synthesize events and query the pointer even during
957 an active grab by another client.
958 (spi_device_event_controller_forward_mouse_event):
959 Set the mouse_mask_state to the mouse_button_state from
960 the intercepted event, to synchronize the grab listener with
963 2002-11-20 Bill Haneman <bill.haneman@sun.com>
965 * cspi/spi_accessible.c:
966 (AccessibleRole_getName):
967 Added necessary strings for making this (deprecated)
968 method work with the new role types.
969 (init_role_table, role_table):
970 Added definition of SPI_ROLE_APPLICATION.
972 * libspi/spi-roletypes.h:
973 Added SPI_ROLE_APPLICATION.
975 * idl/Accessibility_Role.idl:
976 Added ROLE_APPLICATION.
978 * docs/reference/cspi/at-spi-cspi-decl.txt:
979 Added SPI_ROLE_APPLICATION to docs.
981 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
983 * cspi/spi_accessible.c
984 (cspi_init_role_table): Do not write beyond end of role_table.
985 (Accessible_getRole): Use correct type for value returned by
986 Accessibility_Accessible_getRole().
988 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
989 beyond end of role_table. (This fixes bug #98269)
991 * libspi/application.c: Add include file spi-private.h for
992 definition of spi_init_any_nil.
994 2002-11-19 Bill Haneman <bill.haneman@sun.com>
998 * libspi/spi-private.h:
999 Added DGB() macro, and extern int _dbg declaration.
1001 * registryd/registry.c:
1002 (definitions) storage for _dbg.
1003 (spi_registry_init):
1004 Get environment variable "AT_SPI_DEBUG".
1005 (spi_registry_set_debug):
1006 New method, to initialize _dbg value.
1007 (spi_listener_struct_new, spi_registry_object_finalize):
1008 (notify_listeners_cb):
1009 Changed fprintfs to use DBG and g_warning().
1011 * registryd/deviceeventcontroller.c:
1012 (_deregister_keygrab, spi_controller_register_device_listener):
1013 Changed debug/warning messages to use DBG macro.
1015 * libspi/listener.c:
1016 (impl_notify_event):
1017 Changed warning messages to use DBG macro and g_warning().
1019 * atk-bridge/bridge.c:
1020 (atk_bridge_init, spi_atk_bridge_get_registry):
1021 (spi_atk_bridge_exit_func):
1022 (spi_atk_bridge_property_event_listener):
1023 Changed status, warning, and error messages to use
1024 g_warning, g_message, and DBG macros.
1027 Read the state of the AT_SPI_DEBUG environment variable
1028 and set a local '_dbg' accordingly.
1030 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1032 FIXES for 98836, 98842, other bugs.
1035 Revved to 1.1.4, interface-age=4, binary-age=4.
1037 * registryd/deviceeventcontroller.c:
1039 Fixed crasher bug in last_mouse_pos initialization.
1041 * registryd/registry.c:
1042 (desktop_add_application, desktop_remove_application):
1043 Added (and then commented out) some support for
1044 object context marshalling. [TODO]
1046 * atk-bridge/bridge.c:
1047 (spi_atk_bridge_event_context_create):
1048 Commented out object context creation until it can
1049 be properly tested and debugged.
1051 * registryd/registry.c:
1052 (impl_registry_notify_event):
1053 Fixed crasher bug, we were calling
1054 spi_re_entrant_list_foreach () with an empty list.
1056 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1058 * idl/Accessibility_Action.idl:
1059 * idl/Accessibility_Component.idl:
1060 * idl/Accessibility_Desktop.idl:
1061 * idl/Accessibility_Event.idl:
1062 * idl/Accessibility_Hyperlink.idl:
1063 * idl/Accessibility_Image.idl:
1064 * idl/Accessibility_Relation.idl:
1065 * idl/Accessibility_Selection.idl:
1066 * idl/Accessibility_State.idl:
1067 * idl/Accessibility_Value.idl:
1068 Updated unimplemented slot count to minimum of
1069 four for all interfaces, for ABI freeze.
1071 * idl/Accessibility_EditableText.idl:
1072 * idl/Accessibility_Text.idl:
1073 Updated unimplemented slot count to six
1076 * idl/Accessibility_Registry.idl:
1077 Updated unimplemented slot count to six
1078 (also for DeviceEventController),
1081 * idl/Accessibility_Table.idl:
1082 Updated unimplemented slot count to eight,
1085 * idl/Accessibility_Event.idl:
1086 Added CORBA_any "any_data" member to Event struct.
1088 * idl/Accessibility_Event.idl:
1089 Added CORBA_any "any_data" member to Event struct.
1091 * atk-bridge/bridge.c:
1093 atk_signal_text_changed, atk_signal_child_changed,
1094 signal ids queried from gtype system.
1095 (AtkBridgeEventContextType): New enum.
1096 (AtkBridgeEventContextData): New struct.
1097 (AtkBridgeEventContext): New struct.
1098 (atk_bridge_init_event_type_consts):
1099 New method, initializes type contants for comparison
1100 prior to emit_eventv.
1101 (atk_bridge_event_context_init): New method,
1102 initializes a CORBA_any from an AtkBridgeEventContext.
1103 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1104 initialize the event.any_data struct.
1105 (spi_atk_bridge_event_context_create): New method,
1106 creates an AtkBridgeEventContext from signal/event info.
1107 (spi_atk_bridge_event_context_free): New method.
1108 (spi_atk_emit_eventv): Changed to take an
1109 AtkBridgeEventContext parameter. We now initialize
1110 the event.any_data member prior to notifying the
1111 Registry, via the AtkBridgeEventContext.
1112 (spi_atk_bridge_property_event_listener):
1113 (spi_atk_bridge_state_event_listener):
1114 Match emit_eventv signature.
1115 (spi_atk_bridge_object_event_listener):
1116 Match emit_eventv signature, and create an
1117 event context from the event details.
1118 Free the event context afterwards.
1119 (spi_atk_bridge_window_event_listener):
1120 Create an event context, pass it to the
1124 (AccessibleEvent_getContextString):
1125 (AccessibleEvent_getContextObject):
1126 New methods, allow query of AccessibleEvent objects
1127 for more context details (via the "any_data" member
1128 of the Event struct, above).
1131 Definitions for AccessibleEvent_getContextString
1132 and AccessibleEvent_getContextObject.
1134 * cspi/spi_listener.h:
1135 (InternalEvent): New struct.
1138 (AccessibleEvent_getContextString):
1139 (AccessibleEvent_getContextObject):
1140 Implementations of new methods, for obtaining
1141 additional context information from some event types.
1143 * cspi/spi_registry.c:
1144 (SPI_registerGlobalEventListener):
1145 Added mention of active-descendant-changed event in docs.
1147 * cspi/cspi-bonobo-listener.c:
1149 Marshal the any into the AccessibleEvent via
1152 * libspi/spi-private.h:
1153 #include <orbit/orbit.h>
1155 (spi_init_any_string):
1156 (spi_init_any_object):
1157 New convenience function declarations.
1161 (spi_init_any_string):
1162 (spi_init_any_object):
1163 New convenience function implementations.
1165 * registryd/deviceeventcontroller.c:
1166 (spi_poll_dec_mouse_moved):
1167 (spi_device_event_controller_forward_mous_event):
1168 Initialize any_data member of event.
1169 (spi_deregister_controller_device_listener):
1170 Fix incorrect param pass which was preventing deregistration.
1172 * registryd/registry.c:
1173 (desktop_add_application):
1174 (desktop_remove_application):
1175 Add object data to event's any_data before dispatch.
1177 Fix for error messages from GAIL.
1179 * test/event-listener-test.c:
1180 Test new ContextString and "any_data" API:
1181 (report_text_event): New method query and output context string.
1182 (main): register a new text listener with report_text_event
1185 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1187 Fixes for bugs 98127 and 97914.
1188 * cspi/spi-roletypes.h:
1189 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1191 * cspi/spi-statetypes.h:
1192 Added SPI_STATE_MANAGES_DESCENDANTS
1194 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1195 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1196 * cspi/spi_accessible.c:
1197 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1198 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1199 Accessibility_STATE_MANAGES_DESCENDANTS
1200 * libspi/accessible.c:
1201 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1202 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1203 As requested by Bill, I also cleaned up the alignment.
1204 * libspi/relation.c:
1205 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1206 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1207 * libspi/stateset.c:
1208 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1209 Accessibility_STATE_MANAGES_DESCENDANTS
1210 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1211 Document changes reflecting modifications to roles.
1212 * docs/reference/cspi/tmpl/spi_relation.sgml:
1213 Document changes reflecting modifications to relations.
1214 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1215 Document changes reflecting modifications to states.
1217 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1220 Revved to 1.1.3, interface-age=3, binary-age=3.
1221 Added REBUILD macro.
1224 Removed accessx-gui from the tests, since we have a nice
1225 keyboard accessibility capplet now :-)
1227 * test/keysynth-demo.c:
1228 (increment_scan): removed do-nothing default: case,
1231 * test/visual-bell.c:
1232 (main) : removed do-nothing default: case,
1235 * cspi/spi_action.c:
1236 (AccessibleAction_getKeyBinding_):
1237 Documented keybinding string format.
1241 (AccessibleText_getAttributes):
1242 Documented the text attribute string format.
1243 It's changed to use semicolon delimiters also,
1244 to prevent clashes with CSS attributes, but the old
1245 trick of looking for ", " strings will still work
1246 (as unreliably as ever). Fix for bug related to 97916.
1249 Include <cspi/bonobo/cspi-bonobo-listener.h>
1250 Fixes build warning.
1251 (SPI_freeAccessibleKeySet):
1252 (AccessibleKeystrokeListener_addCallback):
1253 (AccessibleKeystrokeListener_removeCallback):
1254 Modify to use AccessibleDeviceListener API internally,
1255 instead of AccessibleKeystrokeListener.
1257 * idl/Accessibility_Event.idl:
1258 Added two more empty slots to EventListener (for a total of four).
1260 * idl/Accessibility_Accessible.idl:
1261 Added four empty slots to Accessible interface.
1263 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1265 * idl/Accessibility_Registry.idl:
1266 (KeyEventType, EventType):
1267 Marked KeyEventType as deprecated; it duplicates
1268 functionality of EventType, which has been extended to
1269 include Mouse-button events.
1270 (KeyEventTypeSeq): defined in terms of EventType.
1271 (registerDeviceEventListener, deregisterDeviceEventListener):
1272 New methods, for managing listeners to device events,
1273 which potentially may consume them.
1276 Added definition for AccessibleDeviceListener.
1278 * cspi/spi-listener.h:
1279 (enum AccessibleDeviceEventType):
1280 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1281 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1282 for backwards compat.
1283 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1284 and typedef'd AccessibleKeystroke to it for back-compat.
1285 (AccessibleDeviceListenerCB):
1286 New function prototype typedef.
1289 (AccessibleDeviceEventMask): New typedef.
1290 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1291 (AccessibleKeyMaskType):
1292 Set equivalent to AccessibleModifierMaskType for back-compat.
1293 (SPI_createAccessibleKeystrokeListener):
1294 (AccessibleKeystrokeListener_unref):
1295 Deprecated in favor of equivalent (better-named) new API below..
1296 keystroke listeners are like all device listeners.
1297 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1298 New API names for old features :-).
1299 (AccessibleDeviceListener_addCallback):
1300 (AccessibleDeviceListener_removeCallback):
1301 (SPI_registerDeviceEventListener):
1302 (SPI_deregisterDeviceEventListener):
1306 (SPI_createAccessibleKeystrokeListener):
1307 Use new preferred API, cspi_device_listener_new() and
1308 cspi_device_listener_add_cb().
1309 (AccessibleKeystrokeListener_removeCallback):
1310 Use new preferred API, cspi_device_listener_remove_cb().
1311 (AccessibleKeystrokeListener_unref):
1312 Use new preferred API, cspi_device_listener_unref().
1313 (SPI_createAccessibleDeviceListener):
1314 (AccessibleDeviceListener_addCallback):
1315 (AccessibleDeviceListener_removeCallback):
1316 Implementation of new API.
1318 * cspi/spi_registry.c:
1319 (SPI_registerDeviceEventListener):
1320 (SPI_deregisterDeviceEventListener):
1321 Implementation of new API. Fixed memory leak and removed need to
1322 allocate EventTypeSeq (thanks Michael for catching this).
1323 Squashed a wayward CORBA_exception_free that shouldn't get called.
1325 * cspi/bonobo/cspi-bonobo-listener.c:
1327 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1328 (cspi_key_event): renamed to cspi_device_event().
1329 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1330 Extended to handle mouse button events as well as key events.
1331 (CSpiKeystrokeListener):
1332 Class superceded by CSpiDeviceListener.
1333 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1334 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1336 * cspi/bonobo/cspi-bonobo-listener.h:
1337 (CSpiKeystrokeListener):
1338 Class superceded by CSpiDeviceListener.
1339 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1340 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1342 * libspi/Makefile.am:
1343 Replaced keystrokelistener.h and keystrokelistener.c
1344 with devicelistener.h and devicelistener.c; keystrokelisener.h
1345 stub retained for back-compat.
1347 * libspi/keystrokelistener.c:
1351 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1353 * registryd/deviceeventcontroller.c:
1354 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1355 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1356 (DEControllerPrivateData): Added xkb settings data.
1357 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1358 button release events (which can't be captured via XGrabButton).
1359 Don't dispatch via the 'normal' event mechanism if the device event was
1361 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1362 Handle the typeseq data in its new location (see above).
1363 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1364 New methods, for "generic" device listeners.
1365 (spi_controller_register_device_listener):
1366 Now handle mouse event listeners as well as key listeners.
1367 (spi_controller_notify_mouselisteners):
1368 New internal method.
1369 (spi_device_event_controller_forward_mouse_event):
1370 Now we notify mouse device listeners as well as generating the
1371 non-consumable "mouse:" events.
1373 We must check and restore the XKB
1374 modifier map if we consume the event, since the act of triggering
1375 a mouse event will normally reset the XKB latch. This is required for
1377 (spi_controller_register_with_devices):
1378 Load the XKB settings when registering, and register for XKB
1379 state notify events.
1380 (spi_key_eventtype_seq_contains_event):
1381 Renamed spi_eventtype_seq_contains_event, since it's used
1382 internally for all device event types now.
1383 (spi_key_event_matches_listener):
1384 Uses spi_eventtype_seq_contains_event now.
1385 (spi_device_event_controller_object_finalize):
1386 Free the private data and the XkbKeyboard struct.
1387 (impl_register_device_listener, impl_deregister_device_listener):
1388 Implementation of new IDL.
1389 (spi_deregister_controller_device_listener):
1390 New internal method.
1391 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1392 More efficient implementation, we don't have to create a new
1393 XkbControls structure every time we query.
1394 (spi_device_event_controller_class_init):
1395 Initialize the epv entries for the new IDL. Assign the
1396 "spi-dec-private" quark.
1397 (spi_device_event_controller_init):
1398 Initialize the private data.
1399 (spi_device_event_controller_forward_key_event):
1400 Removed a bogus CORBA_exception_free() call.
1402 * registryd/deviceeventcontroller.h:
1403 Replaced inclusion of keystrokelistener.h with
1406 * test/event-listener-test.c:
1407 (report_mouse_event):
1410 Added mouse-event device listener.
1412 * test/test-simple.c:
1413 (create_test_window):
1414 Fixed regression (we were instantiating a GtkRange,
1415 which is now an abstract class). Also fixed to match
1416 existing AtkRole names, this seems to have changed in ATK
1417 awhile ago; too late now I think, and the new
1418 mechanism is at least elegant and consistent with the
1419 glib enum "nick" APIs.
1421 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1423 * idl/Accessibility_Relation.idl:
1424 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1425 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1426 * idl/Accessibility_Role.idl:
1427 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1428 * idl/Accessibility_State.idl:
1429 add STATE_MANAGES_DESCENDANTS
1430 * test/event-listener-test.c:
1431 Added a listener for active-descendant events.
1433 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1435 * atk-bridge/bridge.c
1436 (atk_bridge_init): If application is Bonobo component wait until top
1437 level is added before registering
1438 (spi_atk_bridge_do_registration): New function which contains code,
1439 formerly in atk_bridge_init, to do application registration.
1440 (spi_atk_bridge_toplevel_added): Signal called when top level
1441 added to Bonobo component
1443 This fixes bug #83134.
1445 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1447 * registryd/deviceeventcontroller.c
1448 Fixed compilation error caused by calling gettimeofday()
1451 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1456 Added template for HAVE_XKB.
1459 Changes to check for XKB, and to set the HAVE_XKB #define if it
1462 * libspi/listener.c:
1463 ()impl_notify_event): Make failure to get event source name
1466 * registryd/deviceeventcontroller.c:
1467 (#include): include X11/XKBlib.h.
1468 (DEControllerPrivateData) : New struct.
1469 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1471 (dec_synth_keycode_press) (dec_synth_keycode_release):
1472 New methods; split the key synthesis code into these methods.
1473 They check XKB settings before determining the "time" values to
1474 pass to Xtest; this fixes bug #95828.
1475 (impl_generate_keyboard_event): Changed to use methods above,
1476 instead of callng Xtest directly.
1477 (spi_device_event_controller_init): Initialize new privae struct s
1479 (spi_device_event_controllr_object_finalize):
1480 Free the (new) private data.
1482 * registryd/deviceeventcontroller.h:
1483 Add new gpointer to end of struct data.
1485 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1488 Incremented revision to 1.1.2, SONAME is still '.so', library
1489 extensions are ".so.0.0.2".
1491 * registryd/deviceeventcontroller.c:
1492 FIXES FOR #93592 and #95940.
1493 (statics): renamed mouse_button_state to mouse_mask_state,
1494 added key_modifier_mask.
1495 (spi_dec_poll_mouse_moved):
1496 Added key modifier checks, and emit "keyboard:modifiers"
1497 events when the key modifiers currently in use change.
1498 Also generate "mouse:abs" events periodically, even if the mouse
1499 is stationary (should we?).
1500 Alternatively we could generate "mouse:abs" events for either all
1501 mouse movements, or every 'nth' mouse movement, or at the
1502 beginning and end of every "active" mouse period.
1504 * test/event-listener-test.c:
1505 (main): Added listener for "keyboard:modifiers" events.
1507 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1509 * libspi/keymasks.h:
1510 Added key mask #defines for mouse buttons; e.g.
1511 SPI_KEYMASK_BUTTON1, etc.
1514 Incremented dependency on ATK to version 1.1.0. (This dependency
1515 is probably premature but will soon be real enough).
1517 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1519 * libspi/hyperlink.[ch]
1520 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1521 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1524 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1529 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1531 * registryd/deviceeventcontroller.c
1532 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1533 events to be ignored.
1534 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1535 keyboard_mode so that XAllowEvents() can be called.
1539 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1541 * cspi/spi-accessible.c: Correct names of roles returned by
1542 AccessibleRole_getName(). Fixes bug #95055.
1544 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1546 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1549 * registryd/registry.c
1550 (desktop_remove_application: Write diagnostic message to stderr for
1553 (impl_accessibility_registry_deregister_global_event_listener):
1554 Correct size of lists array. This addresses bug #94555).
1556 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1558 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1561 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1563 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1566 * registryd/registry.c (impl_registry_notify_event): Remove
1567 unnecessary call to parser_event_type().
1569 * docs/reference/cspi/tmpl/spi_component.sgml:
1570 Add reference to SPI_LAYER_WINDOW.
1572 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1574 * registryd/registry.c
1575 (desktop_add_application): Remove leak.
1576 (desktop_remove_application): Remove leak.
1577 (parser_event_type): Remove leak.
1579 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1581 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1582 bogus call to CORBA_string_dup(). Also removed unnecessary
1583 g_string_dup/g_free calls.
1585 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1587 * registryd/deviceeventcontroller.c:
1588 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1590 * test/event-listener-test.c:
1591 main: commented out three redundant listeners, to reduce output
1592 noise. (They still are potentially useful for testing).
1595 2002-09-13 Michael Meeks <michael@ximian.com>
1597 * Update all the copyrights to include Ximian.
1599 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1601 * cspi/spi.h: add SPI_LAYER_WINDOW.
1603 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1604 add Accessibility_LAYER_WINDOW case.
1606 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1608 * libspi/component.c: (impl_accessibility_component_get_layer):
1609 add ATK_LAYER_WINDOW case.
1611 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1613 * configure.in: incremented micro version.
1615 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1617 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1620 Clarified and reworded our commit policy.
1623 Started an API "todo" addition list for 2.2.
1626 (impl_getSelection):
1627 Free char pointer from atk_text_get_selection, which was being leaked.
1629 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1632 Small revision to author acknowledgement.
1634 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1636 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1637 If signal has detail add it to the type of the event.
1640 2002-08-12 Michael Meeks <michael@ximian.com>
1642 * test/test-simple.c (global_listener_cb): bin bogosity.
1643 (test_keylisteners): disable, still doesn't work reliably,
1644 certainly not on my system anyway.
1646 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1647 don't leak a reference on the DEC. This round-trip
1648 fetching of the DEC per keystroke sucks, it should be
1651 * cspi/spi-private.h,
1652 * cspi/cspi-lowlevel.h,
1653 * cspi/bonobo/cspi-bonobo-listener.[ch],
1654 * cspi/bonobo/cspi-bonobo.c: get the copyright
1655 notices better - there is still a large amount of
1656 work in at-spi falsely attributed solely to Sun.
1658 * cspi/spi_main.c (cspi_object_ref): kill bogus
1659 hash lookup, just increment the ref.
1660 (SPI_freeString): make explicit the fact that we
1661 handle NULL strings just fine.
1662 (report_leaked_ref): obey coding standards.
1663 (cspi_object_hash, cspi_object_equal): kill retval.
1664 (cspi_object_release): only release if not on loan.
1665 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1666 (cspi_object_borrow, cspi_object_return): impl.
1668 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1669 use cspi_object_borrow / return.
1671 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1673 * cspi/bonobo/cspi-bonobo-listener.c:
1675 Don't call cspi_oject_new() because this is creating a new Accessible
1676 every single time that an event is fired. This causes ATs like at-poke
1677 to nolonger recognise the source of the event and thus ignore it.
1678 Re-use the object from the cache, ref it and then unref it after the
1679 listeners have been called.
1681 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1683 * test/event-listener-test.c:
1684 Added command-line options to disable mouse events (m) and
1687 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1689 * configure.in: Update required versions of ATK, GTK+ and GAIL
1691 * cspi-1.0.pc.in: Add dependency for X include files
1694 * cspi/bonobo/Makefile.am:
1695 Add $(X_CFLAGS) so that X include files
1696 are picked up even if not in standard place (bug #71686)
1698 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1700 * registryd/deviceeventcontroller.c: fix for 84261
1701 (spi_dec_mouse_moved):
1702 Added test of mouse button mask, so that we can detect mouse
1703 button release. Unfortunately we can't otherwise detect mouse
1704 button release events without consuming the mouse press event,
1705 because of the way XGrabButton works. This means that our mouse
1706 release events have a latency dependent on the polling period
1707 while the mouse button is down. At least in this case we only
1708 have to poll while the button is down, and not at other times.
1709 If the button masks don't match with what the last press event
1710 reported, we report the appropriate button release event.
1711 (spi_dec_ungrab_mouse):
1712 New method (not yet called).
1713 (spi_device_event_controller_forward_mouse_event):
1714 New method, sends mouse press event from GdkFilter.
1715 (spi_dec_init_mouse_listener):
1716 Added code to call XGrabButton, redirecting mouse button events to
1717 the root window and our Gdk event loop.
1719 Added code to filter mouse button events, and reordered.
1721 * test/event-listener-test.c:
1723 Added registration for mouse events of type "mouse:button".
1725 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1727 * registryd/deviceeventcontroller.c: partial fix for 84261
1728 (spi_dec_poll_mouse_idle):
1729 New method, a timeout which checks to see if the mouse
1731 (spi_dec_poll_mouse_moving):
1732 A timeout to be called when mouse motion is underway.
1733 (spi_dec_poll_mouse_moved):
1734 A method which fires an event if the mouse has moved, and reports
1735 whether or not it did so.
1736 (spi_dec_init_mouse_listener):
1737 A method which sets up the timeouts above.
1738 (spi_device_event_controller_new):
1739 Now calls spi_dec_init_mouse_listener.
1741 * registryd/registry.c:
1742 (spi_registry_init):
1743 Now we initialize the device event controller when the registry is
1744 initialized, instead of waiting until a client has requested a key
1745 event notification; this is because we need the event controller
1746 for mouse events, but the mouse event registration API is a
1747 "registry" call and doesn't explicitly call the
1748 deviceeventcontroller.
1749 We now report mouse motion events with a 100 ms idle latency and
1750 a 20 ms granularity when motion is in progress.
1752 * test/event-listener-test.c:
1754 We now register the "detail listener" for events of type
1755 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1756 delivered only for the first mouse event received, and thereafter
1757 "mouse:abs" events are delivered.)
1759 * cspi/spi_registry.c:
1760 DOCS: Documented the above mouse event typestrings.
1762 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1764 Happy Summer Solstice...
1766 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1767 (spi_controller_notify_keylisteners):
1768 Changes to remove a listener from the listener list, freeing its
1769 open keygrabs, if a notification to that listener fails. This
1770 means that although a dead listener can continue to hold a passive
1771 keygrab, a maximum of one dispatch to such a listener can fail
1772 before the listener is removed from the list, thus the keygrab
1773 will be released on the next occurrence.
1774 As part of this fix:
1775 (spi_notify_keylisteners):
1776 Renamed to spi_controller_notify_keylisteners, as the controller
1777 instance must now be passed as an argument.
1778 The copied 'notify' GList is now a list of DEControllerKeyListener
1779 objects, since we need more than just the CORBA reference if a
1780 notify fails and we need to deregister the listener.
1781 (impl_notify_listeners_sync):
1782 (impl_notify_listeners_async):
1783 (spi_device_event_controller_forward_key_event):
1784 Modify use of notify_keylisteners in accordance with above
1786 (spi_deregister_controller_key_listener):
1787 New method introduced by refactoring, from
1788 impl_deregister_keystroke_listener.
1789 (impl_deregister_keystroke_listener):
1790 Call spi_deregister_controller_key_listener.
1791 (spi_key_listener_clone):
1792 New method to copy a key listner without doing a 'ref' on the
1793 remote object instance; used to create a notifier list.
1794 (spi_key_listener_data_free):
1795 New method, frees data without unreffing the source.
1797 (spi_key_listener_clone_free): new method.
1798 (spi_key_listener_free):
1799 refactored to call spi_key_listener_data_free.
1801 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1803 * registryd/registry.c: [fix for bug 86048]
1804 (notify_listeners_cb):
1805 Clear CORBA system exceptions which occur when notifying
1806 listeners, before returning to the source of the original event,
1807 since the event source doesn't care if the relayed notify failed.
1808 In other words, don't complain to the atk-bridge if the registry
1809 could not notify all its listeners, that's no fault of the
1810 application and thus should not appear to be an error from the
1811 application's perspective.
1813 * cspi/spi_main.c: [fix for bug 85980]
1815 Replaced use of bonobo_object_dup_ref with call to the wrapper
1816 method, csou_dup_ref (); this silences a compiler warning and
1817 provided more portability.
1819 Ping the registry before return, and restart if necessary.
1821 * cspi/bonobo/cspi-bonobo.c:
1823 New internal method.
1825 Fixed this method to return an object reference, as it should have
1828 * cspi/cspi-lowlevel.h:
1829 Added internal definition for cspi_ping() and fixed
1830 return type of cspi_dup_ref().
1833 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1835 * atk-bridge/bridge.c: [fix for bug 85305]
1836 (spi_atk_bridge_register_application):
1837 New method where the initial application registry calls have been
1838 moved; it allows an application to re-register in response to
1839 certain error conditions (such as a registry restart, see below).
1841 Moved some initialization code to the method
1842 spi_atk_bridge_get_registry, below.
1843 (spi_atk_bridge_get_registry):
1844 New, private accessor function for the Accessibility_Registry
1845 instance. If the registry has not been started before, or has
1846 died (as detected by failure of a CORBA exception), it is
1847 restarted before return, and spi_atk_bridge_register_application
1848 is called again to register with the new bridge instance.
1849 (spi_atk_emit_eventv):
1850 Set registry_died on error; use spi_atk_bridge_get_registry () to
1851 access the registry.
1853 * registryd/registry.c:
1854 (impl_accessibility_registry_register_global_event_listener):
1855 Set listener's event_type_quark to etype.minor instead of
1856 etype.major (fix for bug 84856).
1858 * test/event-listener-test.c:
1859 (report_detail_event):
1860 Change the output string so that user/tester can tell that the
1861 'detail listener' was called instead of the 'generic listener'.
1863 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1865 Fixes for bugs 84900, 84908, 84897, 84898.
1870 Revved version to 1.1.0
1871 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1872 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1874 * idl/Accessibility_Registry.idl:
1875 (EventListener::notifyEvent):
1876 Removed 'oneway' directive after extensive consulation with
1877 ORBit2 team and others. This means also that unref() of the event
1878 source can and should be done synchronously after emission, rather
1879 than remotely in the client, after servicing the notify call on
1882 NOTE: This change speeds up listener performance considerably, but
1883 introduces new latency on the application side. We may want to
1884 add an event queue to the atk-bridge.
1886 * atk-bridge/bridge.c:
1887 (spi_atk_bridge_focus_tracker):
1888 Do a local unref() on the event source after emission.
1890 * registryd/registry.c:
1891 (desktop_remove_application):
1892 Do an unref() on the event source after emission.
1893 (desktop_add_application):
1894 Do an unref() on the event source after emission.
1895 (notify_listeners_cb):
1896 When relaying an event, don't automatically add the event source
1897 to the local object cache, just CORBA_dup it instead. Likewise,
1898 if this method reenters, release the ref rather than calling
1900 (impl_registry_notify_event):
1901 No longer call remote unref() on the event source after dispatch.
1903 * libspi/eventlistener.c:
1904 (impl_accessible_event_notify_event):
1905 Removed remote unref ()
1907 * cspi/bonobo/cspi-bonobo-listener.c:
1909 We now call cspi_object_new() instead of cspi_object_add() on
1910 receipt of an event; thus we only have an implicit object ref
1911 while the cspi_event method is being executed. If we need to keep
1912 a reference to the object, the listener must call ref() on the
1913 object. Thus also we don't need to call cspi_object_unref() after
1914 invoking the listener callbacks in this method.
1918 New internal API for creating a new cspi object, without adding it
1919 to the object cache.
1921 Now uses cspi_object_new() to create the cspi object instance.
1923 Now checks to see if the object is in the internal object cache,
1924 and adds it if necessary before incrementing its refcount (note
1925 that new objects are added with a refcount of 1).
1926 (report_leaked_ref):
1927 New method which gives some information on leaked object instances
1928 if leak detection is turned on.
1930 * test/event-listener-test.c:
1931 (timing_test_event):
1932 New method, used for testing event delivery timing for special
1933 events of type "object:test". It reports elapsed time and
1934 events/sec every 500 events.
1936 Added a new listener, 'test listener', to check timing of event
1937 receipt as noted above.
1939 Added some timing output here also, reports elapsed time every 100
1942 * test/stress-test.c:
1943 Emit events of type "object:test", for use with "event-listener-test".
1945 * test/test-simple.c:
1946 (global_listener_cb):
1947 Call Accessible_ref() on the event source before calling
1948 validate_accessible, since the validation process does pointer
1949 comparisons on the event source, meaning that the event source
1950 needs to be added to the local object cache first. Any use of
1951 such pointer comparisons between Accessible objects requires that
1952 the caller hold an explicit reference to those objects.
1953 We also must therefore call Accessible_unref() when leaving this method.
1955 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1957 * registryd/deviceeventcontroller.c:
1958 (spi_controller_update_key_grabs):
1959 Fix for #84735, subsequent keygrab listeners not informed of
1960 registration failure.
1963 (spi_base_construct):
1964 Add an assertion on construct, to make sure the GObject passed in
1965 is really a GObject.
1967 Explicitly initialize object->gobj pointer to NULL;
1969 * cspi/bonobo/cspi-bonobo-listener.c:
1970 (cspi_object_add_ref):
1971 New method, can specify whether to dup-ref a bonobo object passed
1972 in if it's newly added to the object cache.
1974 Now calls cspi_object_add_ref with second param of "FALSE". This
1975 prevents us from doing a pointless dup-ref followed by
1976 release-unref for all those cases where the object is already in
1977 our object cache (fix for #85205).
1979 * atk-bridge/bridge.c:
1980 (spi_atk_bridge_idle_init):
1981 Removed this method, we don't need to initialize in an idle
1984 Changed to call spi_atk_register_event_listeners directly, not via an
1985 idle handler. (fix for #81139)
1986 (gnome_accessibility_module_shutdown):
1987 Removed conditional around deregistration of listeners, since we
1988 don't use the idle handler and thus have always registered when
1990 (spi_init_keystroke_from_atk_key_event):
1991 Changed references to Accessibility_KEY_PRESSED to
1992 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1994 2002-06-12 Bill Haneman <bill.haneman@sun.com>
1996 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2001 * test/stress-test.c:
2004 (may have been an incomplete commit yesterday?)
2006 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2009 Added target for new stress-test.
2011 * test/stress-test.c:
2012 New test, sends 1000 focus notifies in quick succession.
2014 * test/key-listener-test.c:
2015 Now we report whether a keylistener registration
2016 request succeeded or failed.
2018 * test/event-listener-test.c:
2019 Uncommented some listeners which are now implemented.
2022 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2024 * registryd/deviceeventcontroller.c:
2025 (spi_controller_update_key_grabs):
2026 Fix for #82509, lack of failure notification when
2027 ALL_WINDOWS keygrabs fail due to XGrabKey
2028 failure: we synchronize the server when
2029 registering a passive grab, to make sure we get the
2030 error message before the call returns.
2032 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2034 * test/test-simple.c:
2036 Removed #ifdef KEY_IMPL_WORKS guards.
2037 (test_keylisteners):
2038 Removed #ifdef KEY_IMPL_WORKS guards.
2039 Fixed bug which was causing a hang waiting for a
2040 "press" event (which was already overwritten by a "release"
2041 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2043 Added code to set globals 'key_press_received' and
2044 'key_release_received'.
2047 Added section "1.1 API Proposed Additions" which
2048 lists API additions desired for at-spi-1.1 (only one so far).
2049 Updated TODO list a little.
2051 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2053 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2056 * configure.in: Revved to 1.0.0.
2058 * idl/Accessibility_Registry.idl:
2059 (registerKeystrokeListener):
2060 Added boolean return value.
2062 * registryd/registry.c:
2063 (notify_listeners_cb): Minor fix to debug output.
2065 * registryd/Accessibility_Registry.server.in.in:
2066 Revved version number in OAFIID to 1.0.
2068 * registryd/registryd.c:
2070 Use new OAFIID version.
2072 * cspi/bonobo/cspi-bonobo.c:
2074 Use new OAFIID version.
2080 * atk-bridge/bridge.c:
2082 Use new OAFIID version.
2084 * registryd/deviceeventcontroller.c:
2085 (impl_register_keystroke_listener):
2086 Added CORBA_boolean return value.
2087 (spi_controller_register_device_listener):
2088 Added gboolean return value.
2089 (spi_controller_register_global_keygrabs):
2090 Added gboolean return value.
2091 (spi_key_set_contains_key):
2092 Added implementation for many more control keys,
2093 for instance F1-F12, arrow keys, End, Home, Page_Up,
2095 [TODO: some still not implemented].
2097 * text/screen-review-test.c:
2098 (text_chunk_pad_string):
2099 New function: it provides mapping between coordinate
2100 positions of text chunks and character positions in the
2101 screen-review-line output string.
2102 (text_chunk_to_string):
2103 New function, calls text_chunk_pad_string with various
2104 pad/delimiter characters. Pushbuttons are delimited with
2105 square brackets, Frames with vertical 'pipe' lines, and
2106 other text with double quotes.
2107 (text_chunk_list_to_string):
2108 Calls new function text_chunk_to_string.
2109 (toplevel_composite):
2110 New function to composite layers CANVAS through
2111 POPUP in each toplevel (other layers are composited
2112 across toplevels, i.e. BACKGROUND and OVERLAY).
2113 (review_buffer_composite):
2114 Revise to use new methods.
2120 2002-05-31 Laszlo Peter <laca@sun.com>
2122 * configure.in: add the Xtst libdir to the runpath on Solaris,
2123 since it's not in the default library search path.
2125 2002-05-29 jacob berkman <jacob@ximian.com>
2127 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2129 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2131 * test/screen-review-test.c:
2132 (text_chunk_pad_string):
2133 Added method, which pads the string according to the
2134 text bounds of the chunk. It also takes a 3-character
2135 string as a param which indicates the characters to be
2136 used for start, padding, and end delimitation of the chunk.
2137 (text_chunk_to_string):
2138 Changed to use text_chunk_pad_string.
2140 * configure.in: Fixed bug in AC_OUTPUT that was
2141 causing path substitution in Accessibility_Registry.server
2144 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2146 * text/screen-review-test.c:
2147 (guess_string_clip):
2148 New method which attempts a best-guess at clipping
2149 text from components (like Java labels) which don't
2150 actually implement AccessibleText. This inaccurate
2151 clip is based on the assumption that the label is
2152 justified left-and-right, and monospaced.
2153 (text_chunk_get_clipped_string):
2154 We now call guess_string_clip() for text-containing
2155 components that don't implement AccessibleText.
2157 * test/screen-review-test.c:
2158 (review_buffer_get_text_chunk):
2159 We now pull "name" from labels if they do not implement
2160 AccessibleText (i.e. for Java labels).
2161 (get_screen_review_line_at):
2162 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2165 Replaceded AC_OUTPUT target
2166 registryd/Accessibility_Registry.server with
2167 registryd/Accessibility_Registry.server.in.
2169 * registryd/Accessibility_Registry.server.in:
2170 Removed (this is now a Makefile target).
2172 * registryd/Accessibility_Registry.server.in.in:
2173 Added (source for target above). We now use $(libexecdir) as
2174 prefix for the executable at-spi-registryd.
2176 * registry/Makefile.am:
2177 Now install at-spi-registryd into $(libexecdir), and build .server
2178 file with path (see above).
2180 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2182 * test/screen-review-test.c:
2183 (text_chunk_get_clipped_string):
2184 We now check to see if words fall within clip bounds
2185 before resorting to character-by-character clip bounds testing.
2187 * TODO: Added a section for "2.2 Proposed API Additions".
2189 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2191 * test/screen-review-test.c:
2193 Added a screen review benchmarking and test program to test
2196 * cspi/spi_accessible.c:
2198 Made some of the debug strings passed to cspi_check_ev a
2199 little more specific.
2201 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2203 * test/screen-review-test.c: Fix crashes in debug statements
2205 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2207 * test/screen-review-test.c: Added this file.
2209 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2211 * atk-bridge/bridge.c: changed "object:state-change" to
2212 "object:state-changed" to match docs.
2214 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2216 * atk-bridge/bridge.c: Hooked up state-change event details.
2218 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2220 * registryd/registry.c:
2221 Fixed quarking bug in event string parsing; now events with
2222 detail parameters get matched correctly to listeners.
2225 * util/idl/Magnifier.idl: remove.
2227 * util/*.[ch]: Remove.
2228 Magnification utilities and IDL are now in module gnome-mag.
2230 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2232 * registryd/deviceeventcontroller.c:
2233 Fixed bug in grab key conversion which was causing keycode grabs
2234 to be converted to AnyKey grabs.
2237 updated NEWS file to reflect recent spin-off of gnome-mag.
2239 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2241 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2242 busted AccessibleStateSet_compare. Removed redundant casts.
2244 * cspi/spi-action.c: Removed redundant casts.
2246 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2248 * cspi/spi_component.c: Fixed typos and casting error.
2250 * cspi/spi_editabletext.c: Removed redundant casts.
2252 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2254 * cspi/spi_hypertext.c: Eliminated redundant casts.
2256 * cspi/spi_image.c: Eliminated redundant casts.
2258 * cspi/spi_registry.c: Eliminated redundant casts.
2259 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2260 * cspi/spi_selection.c: Removed redundant casts.
2261 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2262 handling. Screen geometry and text offsets were being returned as 0
2263 on error which is technically valid-- changed these to return -1.
2264 Added marshaller for text boundary types to fix bug with boundary
2265 types being passed incorrectly to atk.
2267 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2270 * cspi/spi_registry.c:
2271 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2272 which was uncovered by the recent key changes.
2274 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2276 * test/event-listener-test.c:
2278 Added new test, "event-listener-test";
2279 this code does two things; it benchmarks traversal time
2280 for the accessible hierarchy for the first running accessible
2281 app, and it connects listeners for all supported event types.
2282 It is thus useful as an example event listener and for
2283 diagnostics/debugging of event generation.
2285 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2288 Removed unnecessary dependency on libutil.
2291 Revved micro version: 0.13.1
2293 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2296 Removed util/Makefile from targets.
2299 Removed util subdir from SUBDIRS (temporarily,
2300 pending removal of magnifier-only code
2304 #ifdef-ed out magnifier dependencies, since
2305 magnifier IDL, headers, and binary now live in
2306 module gnome-mag and we don't want at-spi to depend
2307 on gnome-mag. A magnifier demo which can run alongside
2308 simple-at is forthcoming in the gnome-mag module.
2310 NOTE: Split magnifier binary, IDL, and magnification
2311 activation code from at-spi into module gnome-mag.
2313 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2315 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2316 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2318 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2321 Revved to version 0.13.0
2323 * idl/Accessibility_Registry.idl:
2324 Changed definition of KeySet from sequence of longs to sequence of
2325 KeyDefinitions, and added KeyDefinition struct.
2326 Required for fix to bug 80616.
2328 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2329 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2330 to use new definition (see above).
2332 * registryd/deviceeventcontroller.c: handle_keygrab(),
2333 spi_keyset_contains_key():
2334 Changed to make use of new struct; this allows matching based on
2335 string key-name, for instance "Tab". This also allows matching of
2336 composed characters, non-alphanumeric characters in a way that
2337 doesn't involve dependencies on X keysym codes directly, etc.
2339 * test/key-listener-test.c:
2340 Added test for Alt-Tab key using "string" specification of keyset,
2341 and modified one of the tests to use a keycode-based keyset.
2342 Thus this test both tests and demonstrates the creation and use of
2343 keysets of three forms: specified via keycode array,
2344 keysym array, and string array. (The string case only contains a
2345 single string, i.e. a string array of length 1).
2348 Turned on PRINT_TREE option by default. Also fixed a
2349 string-freeing bug in the PRINT_TREE code.
2350 Added a listener to window:minimize events.
2352 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2354 * atk-bridge/bridge.c:
2355 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2356 for window:activate and window:deactiveate
2357 (atk_bridge_property_event_listener atk_bridge_signal_listener
2358 atk_bridge_window_event_listener) Tidy debug code
2360 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2362 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2363 Fixed handling for NULL return value from ATK.
2365 * libspi/action.c libspi/component.c libspi/editabletext.
2366 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2367 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2368 Removed redundant casts.
2370 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2371 Fixed off by one bug.
2373 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2374 function not present in idl)
2376 2002-05-02 jacob berkman <jacob@ximian.com>
2378 * atk-bridge/Makefile.am: make atk-bridge a real module
2380 2002-04-26 Radek Doulik <rodo@ximian.com>
2382 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2383 atk_state_types table
2385 2002-04-22 jacob berkman <jacob@ximian.com>
2388 * libspi/Makefile.am: add deps on the built files to help
2389 automake, and don't version the ORBit typelib
2391 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2393 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2394 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2395 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2396 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2397 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2398 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2399 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2400 libspi/accessible.h libspi/accessible.h libspi/base.h
2401 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2402 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2403 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2404 libspi/spi-private.h libspi/statetset.h libspi/table.h
2405 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2406 util/mag_client.h util/mag_control.c util/mag_image.c
2407 util/mag_image.h util/magnifier.c util/magnifier.h:
2408 Add missing file headers; standardize existing ones
2410 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2412 * atk-bridge/bridge.c: Added window event support.
2414 2002-04-18 Michael Meeks <michael@ximian.com>
2416 * libspi/relation.c (impl_getNTargets): impl.
2417 (impl_getTarget): impl.
2419 * libspi/Makefile.am: fix stateset install.
2421 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2424 Started putting useful info in this file.
2426 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2428 * atk-bridge/bridge.c:
2429 Propagate state-changed notifications to ATs
2431 * cspi/spi_registry.c: update docs to reflect actual behavior of
2432 state-change events.
2434 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2437 Incremented version to 0.12.1
2439 * util/mag_client.h:
2440 Add missing declaration for magnifier_exit,
2441 used by mag_control.c - Forte compiler didn't like
2442 the implicit redeclaration of the function :-(
2445 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2448 Revved version to 0.12 due to API change (see below).
2450 * cspi/spi-roletypes.h:
2451 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2452 definition from the inline docs, and added docs
2453 for SPI_ROLE_LAST_DEFINED.
2456 * cspi/spi_streamablecontent.c:
2457 Added missing seek_type parameter to
2458 (so far unused) method,
2459 AccessibleStreamableContent_seek().
2460 [ RT approval JodyG. ]
2463 Fixed docs for SPI_createAccessibleKeystrokeListener.
2465 * cspi/spi_registry.c:
2466 Fixed docs for SPI_KEYSET_ALL_KEYS.
2468 * docs/reference/cspi/at-spi-cspi-sections.txt:
2469 Added a number of missing APIs to SECTIONS.
2471 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2473 * registryd/Makefile.am:
2475 * cspi/bonobo/Makefile.am:
2476 Add $(X_LIBS) to makefiles.
2478 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2481 Revved version to 0.11.
2483 * libspi/component.c:
2484 Added implementation for grabFocus.
2486 * idl/Accessibility_Component.idl
2487 (Accessibility_Component_grabFocus):
2488 Made this method return boolean to indicate success or failure, to
2489 be consistent with cspi and the corresponding ATK method.
2491 * idl/Accessibility_Selection.idl
2492 (Accessibility_Selection_selectAll) :
2493 Made these methods return boolean to indicate success or
2494 failure, to be consistent with cspi and the corresponding ATK methods.
2496 * idl/Accessibility_EditableText.idl
2497 (Accessibility_EditableText_setTextContents,
2498 Accessibility_EditableText_insertText,
2499 Accessibility_EditableText_cutText,
2500 Accessibility_EditableText_deleteText,
2501 Accessibility_EditableText_pasteText):
2502 Made these methods return boolean to indicate
2505 * cspi/spi_editabletext.c:
2506 Made these methods return booleans.
2508 * libspi/selection.c:
2509 * libspi/component.c:
2510 * libspi/editabletext.c:
2511 Connected the boolean returns from ATK
2512 to the server-side code referenced above.
2514 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2516 * idl/Accessibility_Table.idl: Added missing methods,
2517 Accessibility_Table_addRowSelection,
2518 Accessibility_Table_addColumnSelection,
2519 Accessibility_Table_removeRowSelection,
2520 Accessibility_Table_removeColumnSelection.
2523 Added C wrappers for above IDL:
2524 AccessibleTable_addRowSelection,
2525 AccessibleTable_addColumnSelection,
2526 AccessibleTable_removeRowSelection,
2527 AccessibleTable_removeColumnSelection.
2530 Added server-side implementation code for IDL above, connecting
2531 to pre-existing ATK api.
2533 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2535 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2537 * libspi/accessible.c: Added implementation fo
2538 Accessibility_Accessible_get_state.
2540 * libspi/libspi.h: Added stateset.h to the list of includes.
2542 * libspi/stateset.c: Fixed broken implementation.
2544 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2547 Added implementation code for Accessibility_Magnifier_exit ().
2549 * util/mag_control.c:
2550 Added test code for above method; you can
2551 now kill an existing magnifier via
2552 ./mag_control q, from the util directory.
2554 * test/key-listener-test.c:
2556 Added a new test, for our key listener API.
2558 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2560 * test/app.c, test/keysynth-demo.c:
2562 Replace use of snprintf with g_snprintf.
2563 (fix for bugzilla 78249)
2565 2002-03-27 Michael Meeks <michael@ximian.com>
2569 * util/Makefile.am (INCLUDES): fix.
2570 (DONT_DIST_SOURCE): don't distribute the
2573 * libspi/Makefile.am (dist-hook): ditto.
2575 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2577 * libspi/hypertext.c:
2578 Fix warnings when yelp is used with atk-bridge
2580 2002-03-21 Michael Meeks <michael@ximian.com>
2582 * libspi/application.c (spi_application_new):
2583 use spi_accessible_construct so we use the AtkObject
2586 2002-03-19 Michael Meeks <michael@ximian.com>
2588 * registryd/registry.c (desktop_remove_application),
2589 (desktop_add_application): clean coding style.
2591 * registryd/desktop.c (spi_desktop_remove_application),
2592 (spi_desktop_add_application): kill re-enterency hazards.
2593 (spi_desktop_dispose): remove bogus redundant cast
2594 obscuring bug; fix bug too.
2595 (spi_desktop_init): make the desktop object immortal.
2597 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2600 Added a #define-guarded tree-traversal step
2601 when enumerating the apps (diagnostic tool).
2603 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2605 * idl/Accessibility_Role.idl:
2606 Added ROLE_DRAWING_AREA which seemed to be missing from the
2609 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2611 * cspi/spi-roletypes.h cspi/spi_accessible.c
2612 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2615 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2616 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2617 AT when applications are added and removed from the desktop. This
2618 reverts the previous broken implementation using the backing
2619 AtkObject for the SpiDesktop.
2621 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2623 * registryd/desktop.c: emit the "children-changed::add" and
2624 "children-changed::remove" signals on the backing ATK object for
2625 the desktop so AT can tell when applications are started and shut
2628 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2630 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2632 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2634 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2636 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2638 * cspi/state-types.h: synched with IDL and ATK
2640 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2642 * libspi/accessible.c
2643 (impl_accessibility_accessible_get_child_at_index):
2644 Change return value for g_return_if_fail ()
2645 to CORBA_OBJECT_NIL instead of "0" (!)
2647 * registryd/Makefile.am:
2648 * registryd/Accessibility_Register.server.in:
2649 Changed name of executable, "registryd",
2650 to something more informative:
2653 2002-03-13 Michael Meeks <michael@ximian.com>
2655 * atk-bridge/bridge.c (atk_bridge_init): don't register
2656 if we're in a bonobo-component, rather than a bonobo app.
2658 2002-03-13 Michael Meeks <michael@ximian.com>
2660 * atk-bridge/bridge.c (gtk_module_init): split
2661 out body to (atk_bridge_init): here, since otherwise
2662 we get symbol conflicts and oddness when invoked
2663 from (gnome_accessibility_module_init): here (upd.)
2665 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2668 New file. Explicitly allow "build sheriff" putbacks provided
2669 they are tested on Solaris.
2671 * docs/reference/cspi/Makefile.am:
2672 Added '-' to the "cp" command for index.sgml.
2673 ("patch by thomasvs, soon coming to a GUADEC near you")
2676 Incremented version number (0.9.0) for new release.
2677 Changed macro that checks for popt, to better detect
2678 obsolete versions of popt.
2681 Added X_LIBS to AC_SUBST, for applications
2682 that call Xlib API directly.
2685 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2688 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2691 Fix regression caused by hard-coding major
2692 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2695 * test/test-simple.c (test_editable_text),
2696 (test_test): revert previous change (error was
2697 a regression in gail which is now fixed).
2699 2002-03-04 Michael Meeks <michael@ximian.com>
2701 * test/test-simple.c (test_editable_text),
2702 (test_text): pass G_MAXINT instead of '-1' for
2703 whole string - is this a good thing !?
2705 * cspi/spi_accessible.c
2706 (Accessible_getRelationSet): fix crasher bug
2707 overwriting the end of the array.
2709 * test/test-simple.c (validate_accessible): free,
2710 not g_free returned relation set.
2712 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2714 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2715 implemented stateset support
2717 * idl/Accessibility_State.idl: Made necessary changes to
2718 the IDL to support state sets.
2720 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2722 * registryd/deviceeventcontroller.c:
2723 Added implementation for generateMouseEvent.
2725 * cspi/spi_registry.c:
2726 Connected new implementation for generateMouseEvent
2729 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2732 Incremented revision (but no change in public API
2733 outside of 'utils', which are not installed public yet.)
2735 * libspi/component.c:
2736 Changed to use atk_component API for layers and
2737 mdi_zorder, instead of deprecated atk_object API.
2739 Magnification Utility Enhancements:
2742 Added implementation of createZoomRegion, clearAllZoomRegions,
2743 resizeZoomRegion. Added new commandline argument
2744 "--no-initial-region". Note that clearAllZoomRegions doesn't
2745 unmap the old '0' region as it should (yet), and the other
2746 methods only work when creating/resizing a single region,
2747 which is "region 0".
2748 (Code for multiple region support will be added later.)
2751 Now we raise the magnifier window each time it's refreshed;
2752 this will help keep it on top.
2754 * util/mag_client.h:
2755 Added simple wrappers for above, used by mag_control.
2756 For general use, it's recommended to use the bonobo magnifier
2757 control API directly instead of using these wrappers.
2760 Moved ZoomRegionData from magnifier.c to this file.
2762 * util/mag_control.c:
2763 Added some code to exercise new IDL implementations.
2765 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2767 * libspi/text.c: Provide implementation for getAttributes.
2769 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2772 Incremented revision.
2774 * test/test-simple.c:
2775 Replaced use of deprecated g_main_iteration with
2776 g_main_context_iteration.
2778 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2781 Incremented revision for desktop alpha 2.
2783 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2785 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2788 * test/simple-at.c: include netinet/in.h.
2790 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2792 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2793 use NULL, not CORBA_OBJECT_NIL.
2795 * libspi/accessible.c:
2796 (impl_accessibility_accessible_get_relation_set):
2797 allocate the sequence correctly.
2799 * libspi/remoteobject.h: kill spi_remote_object_new.
2801 * test/test-simple.c: (validate_accessible): add code
2802 to test relation sets, now all we need is to figure
2803 out how to excercise this code path :/
2805 2002-01-18 Michael Meeks <michael@ximian.com>
2807 * test/test-simple.c
2808 (key_listener_cb): consume the key.
2809 (test_keylisteners): update.
2810 (main): wait for any pending unrefs on events.
2812 * registryd/deviceeventcontroller.c
2813 (spi_controller_update_key_grabs): only re-issue the
2814 grab on a key release.
2815 (spi_device_event_controller_forward_key_event):
2816 refresh the keygrabs before we notify the listeners,
2817 to reduce the X ungrab / re-grab race.
2818 (spi_controller_register_with_devices): remove
2819 XSelectInput - we do that with the gdk_window_ call.
2820 (_spi_controller_device_error_handler): return a value.
2821 s/GDK_DISPLAY/spi_get_display/
2823 2002-01-17 Michael Meeks <michael@ximian.com>
2825 * registryd/deviceeventcontroller.c
2826 (_deregister_keygrab): don't blow out the later
2829 * test/test-simple.c (test_keylisteners): do a
2830 more intelligent validation.
2832 2002-01-14 Michael Meeks <michael@ximian.com>
2834 * atk-bridge/bridge.c
2835 (gnome_accessibility_module_init),
2836 (gnome_accessibility_module_shutdown): impl.
2837 (gtk_module_init): protect vs. double inits.
2838 (add_signal_listener): impl.
2839 (spi_atk_bridge_state_event_listener): kill
2840 (deregister_application): split out of
2841 (spi_atk_bridge_exit_func): here.
2843 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2846 Added caret tracking when using magnifier, and
2847 now use text bounds for focus tracking of text elements, rather than
2848 the component bounds - this is helpful for short text fields in long
2849 table cells, at high magnification.
2851 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2853 * registryd/deviceeventcontroller.c:
2854 Regression fix for keylistener de-registration; global keygrabs
2855 were not being released when deregisterKeystrokeListener was
2856 called in cspi, since
2857 Accessibility_DeviceEventController_deregisterKeystrokeListener
2858 was called with a zero-length keyset. That is because the cspi
2859 method, SPI_deregisterKeystrokeListener, does not take a keyset
2860 parameter but instead should remove all the key grabs held be a
2862 The code in impl_deregister_keystroke_listener was changed to copy
2863 the keylist from the listener instance previously registered with
2864 the DeviceEventController before releasing the grabs.
2866 * registryd/registry.c:
2867 * registryd/deviceeventcontroller.c:
2868 * libspi/spi-private.h:
2870 Changed spelling of "re-enterant" to "re-entrant" globally.
2872 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2874 * test/test-simple.c:
2875 Changed key listeners test - the test was slightly mis-using the
2876 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2877 It now uses '=' as the key event listened to and generated,
2878 relying on a keysym match rather than assuming that keycode 33
2879 is always equal to keysym '!'.
2881 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2884 Changed simple-at to use a specific keyset, rather than
2885 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2886 manager, desktop, etc.
2888 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2890 * registryd/deviceeventcontroller.c:
2891 Replaced standard X error handler with a special handler that
2892 is non-fatal for failed keygrabs. This works around
2893 problems with keygrab clashes sometimes observed on
2895 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2896 mouse handling code as yet).
2898 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2901 Incremented revision for desktop alpha release.
2904 Fixed a couple of the more glaring errors (still not
2907 2002-01-11 Michael Meeks <michael@ximian.com>
2909 * registryd/deviceeventcontroller.c
2910 (spi_device_event_controller_forward_key_event): kill
2911 XUngrabKey / XKeyGrab race.
2912 (spi_controller_grab_keyboard): rename to
2913 (spi_controller_update_key_grabs): this, and deal
2914 with incremental adding / removing grabs more
2916 (_register_keygrab): ensure we're not pending a remove.
2917 (spi_grab_mask_free): impl.
2918 (spi_controller_register_global_keygrabs): split out
2920 (handle_keygrab): impl.
2921 (_deregister_keygrab): impl.
2922 (spi_controller_deregister_global_keygrabs): impl.
2923 (spi_controller_update_key_grabs): re-issue the grab if
2924 we just recieved a notification.
2926 * test/test-simple.c (key_listener_cb): remove debug.
2928 * registryd/deviceeventcontroller.c
2929 (spi_controller_register_device_listener): after
2930 registering a global keygrab, actualy register it !
2931 don't wait for a timeout; doh !
2933 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2934 to make it more readable / manipulable.
2935 s/grabmask/grab_mask/ s/refcount/ref_count/
2936 s/keyval/key_val/ s/modmask/mod_mask
2938 2002-01-08 Michael Meeks <michael@ximian.com>
2940 * registryd/deviceeventcontroller.c
2941 (spi_controller_register_with_devices): use gdk calls to
2943 (global_filter_fn): implement the filter.
2944 (spi_device_event_controller_check_key_event): rename to
2945 (spi_device_event_controller_forward_key_event): this & upd.
2946 (spi_get_display): replace with GDK_DISPLAY.
2948 * registryd/deviceeventcontroller.c
2949 (spi_controller_deregister_device_listener): unroll into
2950 (impl_deregister_keystroke_listener): here to simplify.
2951 (spi_controller_register_global_keygrabs): split cut and
2952 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2953 (spi_controller_deregister_device_listener): remove.
2954 (impl_register_mouse_listener): remove, no mouse listener
2955 support in at-spi-1.0
2957 * registryd/registry.c
2958 (_device_event_controller_hook): kill.
2959 (spi_registry_init): upd.
2961 * registryd/deviceeventcontroller.c
2962 (spi_device_event_controller_class_init): upd.
2963 (spi_check_key_event): merge into.
2964 (spi_device_event_controller_check_key_event):
2965 here and kill strange static ev init, don't leak
2966 the x_event - nor dynamicaly allocate it.
2968 * registryd/registry-main.c (main): re-direct
2969 timeout to remove strange vtable mess.
2971 * registryd/deviceeventcontroller.c
2972 (remove_listener_cb): impl.
2973 (spi_controller_deregister_device_listener):
2974 fix re-enterancy hazard.
2976 2002-01-07 Michael Meeks <michael@ximian.com>
2978 * registryd/deviceeventcontroller.c
2979 (spi_device_event_controller_new): upd.
2980 (impl_notify_listeners_sync): upd. debug.
2981 (spi_notify_keylisteners): fix re-enterancy hazards,
2982 prettify, remove O(n*n) iteration.
2983 (spi_controller_grab_keyboard): fix iteration.
2984 (spi_check_key_event): re-format to suit coding style.
2985 Clean all the warnings - we're warning free.
2987 * registryd/deviceeventcontroller.h:
2988 * registryd/registry.h: make mutualy referential with
2989 typesafe forward references instead of (!) void pointer
2992 2002-01-11 Michael Meeks <michael@ximian.com>
2994 * cspi/spi_accessible.c (role_names): add a role name
2995 to sync this array with the enum; and make the regression
2998 2002-01-10 Michael Meeks <michael@ximian.com>
3000 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3001 allow expansion of enumeration & kill warning.
3003 * test/test-simple.c (key_listener_cb): impl.
3004 (test_keylisteners): impl.
3006 * cspi/spi-listener.h: make listener signatures const
3007 on the provided (const) events.
3009 * test/keysynth-demo.c: upd. to const events.
3011 * test/simple-at.c: ditto.
3013 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3016 Rev the version to 0.5 (the previous tarball was named 0.4,
3017 even though the micro number was 3), so we need to rev upwards
3018 again for beta2/"desktop-alpha"
3021 Checked in a demo script, which requires editing before use!
3022 Proceed with caution.
3025 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3027 * cspi/spi_accessible.c:
3028 Add a couple of missing enum initializations, and fix some enum
3031 * cspi/spi_registry.c:
3032 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3034 * docs/reference/cspi/at-spi-cspi-sections.txt:
3035 Remove/fix a couple of broken document references.
3038 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3039 as Alt-Control to listen for commands, since on some systems
3040 Control-Alt may already be grabbed.
3042 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3045 Update version number to 0.4 for Beta2.
3047 * libspi/accessible.c, libspi/accessible.h:
3048 Expose spi_accessible_construct, to enable libgail-gnome
3049 construction from spi_accessible subtype.
3051 * utils/magnifier.c:
3052 Workaround for bug in some non-gnome-compliant window managers
3053 which made magnifier resize improperly.
3055 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3057 * libspi/accessible.c: (spi_accessible_new) :
3058 Move the test for SPI_IS_REMOTE_OBJECT to
3059 spi_accessible_new_return, fixing a bug and compile time warning.
3061 2002-01-08 Michael Meeks <michael@ximian.com>
3063 * registryd/registry.c (parse_event_type): remove strndup.
3065 * libspi/Makefile.am (libspi_la_SOURCES): remove
3066 sources already included in the headers section.
3068 * libspi/util.c: add.
3070 * libspi/spi-private.h: add.
3072 * registryd/registry.c: update to moved list iterators.
3074 2002-01-05 Michael Meeks <michael@ximian.com>
3076 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3078 * test/test-simple.c (main): ditto.
3080 2002-01-04 Michael Meeks <michael@ximian.com>
3082 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3083 redundant construct.
3085 * registryd/registry.c
3086 (get_listener_list): impl.
3087 (impl_accessibility_registry_register_global_event_listener):
3088 re-impl. to simplify using ~, remove dodgy const cast off.
3089 (parse_event_type): constify.
3090 (impl_accessibility_registry_deregister_global_event_listener_all):
3091 re-write, more efficiency and simplicity, kill re-enterancy
3093 (compare_listener_corbaref, compare_corba_objects),
3094 (compare_listener_quarks): define out.
3095 (impl_accessibility_registry_deregister_global_event_listener):
3096 re-write for effiency, and nail re-enterancy hazard.
3097 (impl_accessibility_registry_get_desktop_list): impl.
3098 (re_enterant_list_delete_link): impl.
3099 (re_enterant_list_foreach): impl.
3100 (remove_listener_cb): impl.
3101 (_registry_notify_listeners): kill.
3102 (notify_listeners_cb): impl.
3104 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3105 (SPI_getDesktopList): impl.
3107 * test/test-simple.c (test_desktop): test the methods.
3109 2002-01-03 Michael Meeks <michael@ximian.com>
3111 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3112 keystrings since we free them
3113 (SPI_freeAccessibleKeySet): in here.
3115 * libspi/accessible.c (spi_accessible_new): kill warning,
3116 wonder what is going on with the constructor here.
3118 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3120 * libspi/accessible.c (spi_accessible_new ()) :
3121 Added check to see if AtkObject is an SpiRemoteObject before
3122 creating an SpiAccessible.
3124 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3126 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3127 Enable keygrabs using the Control modifier, now that they are
3128 working properly (they were previously disabled).
3131 Change the command keygrab for this demo to "Control+Alt", so as
3132 to conflict with fewer other key commands on the system; this
3133 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3135 Removed a pointlessly-chatty keylistener for unshifted keys
3136 (shifted keys are still reported).
3138 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3140 * libspi/remoteobject.h:
3141 * libspi/remoteobject.c:
3142 Added definitions for special AtkObject subtype, required for
3143 support of remote components (specifically, used by BonoboControl
3144 accessibility implementation).
3146 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3148 * cspi/spi.h: synched relation types with ATK
3150 * cspi/spi_accessible.c: Added implementations of
3151 AcccessibleRelation_* methods
3153 * idl/Accessibility_Relation.idl: added getRelationTypeName
3154 method. Synched known relation types with ATK. Allowed for
3155 relation type extension with the RELATION_EXTENDED type.
3157 * libspi/relation.c: Provided implementations for
3158 AccessibleRelation methods.
3160 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3162 API tweaks for today's API 'freeze'.
3165 Added placeholder functions to allow future compatible expansion
3166 of the IDL interfaces.
3168 * idl/Accessibility_Registry.idl:
3169 Changed generateKeyEvent to generateKeyboardEvent. Changed
3170 signature of this method to accept an optional keystring in
3171 parameter (for complex text input synthesis) and changed use of
3172 simple 'boolean' parameter in registerKeystrokeListener to a
3173 struct, EventListenerMode.
3175 * cspi/spi_accessible.c:
3177 * cspi/spi_streamablecontent.c:
3178 Added references to AccessibleStreamableContent interface, and
3179 definition and implementation of AccessibleStreamableContent
3182 * cspi/spi_registry.c:
3184 Changed generateKeyEvent API to generateKeyboardEvent,
3185 taking a new (optional) keystring parameter to support complex
3190 Renamed directory (to better reflect its actual purpose, bridging
3191 from at-spi to ATK). The .so module is also now named
3194 * idl/Accessibility_Hypertext.idl:
3195 * libspi/accessible.c:
3196 * libspi/hypertext.h:
3197 * libspi/hypertext.c:
3198 Changed Accessibility_Hypertext to *not* derive from
3201 * cspi/spi_registry.c:
3202 Added list of legal event type names for 'window' events, which
3203 completes the registry event API.
3205 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3207 * at-bridge/bridge.c: Added registration for separate
3208 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3209 signals. If either of the first two parameters to the generic
3210 bridge signal handler are ints, they are passed on as event
3211 details. This allows an AT to determine what text was inserted.
3213 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3215 * registryd/deviceeventcontroller.c:
3216 Fixed regressions in generateKeyEvent caused by the removal of
3217 gdk_init from registryd; we now use pure X calls to connect to the
3218 display, which makes sense because deviceeventcontroller already
3219 uses a fair bit of X API (should eventually be migrated to a
3220 'portability layer').
3222 * registryd/desktop.c:
3223 Fixed minor regression in spi_desktop_init, changed the way the
3224 desktop name is being set to work with new spi_base API
3225 (gobject-based, rather than AtkObject-based).
3227 * registryd/Makefile.am:
3228 Minor revision of makefile to use XTST_LIBS variable rather than
3229 hard-wiring the Xtst LD_ADD element.
3231 * test/keysynth-demo.c:
3232 Tweaked an output message; added initialization of the
3233 'keystrings' member of the "switch listener" key_set.
3235 * libspi/relation.c:
3236 Squashed compile-time warning.
3238 * libspi/accessible.c:
3239 Cosmetic and formatting fixes, renamed a static method.
3241 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3243 * libspi/accessible.c
3245 * libspi/application.c
3248 * libspi/component.c
3249 * libspi/editabletext.c
3250 * libspi/hyperlink.c
3251 * libspi/hypertext.c
3253 * libspi/selection.c
3257 * registryd/desktop.c:
3258 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3260 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3262 * idl/Accessibility_Registry.idl:
3263 Added boolean member 'is_text' to DeviceEvent. This is for the
3264 use of key events, and helps prevent ambiguity between composed
3265 key strings and keysym names, since both may potentially be
3266 returned in the 'event_string' member.
3268 * at-bridge/bridge.c:
3269 * registryd/deviceeventcontroller.c:
3270 Use the 'is_text' member when notifying device event listeners.
3271 Knon issue: composed characters are not dealt with correctly by
3272 the global key listener implementation yet.
3274 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3276 * at-bridge/bridge.c:
3277 Namespaced local static methods to spi_atk_bridge_* where
3278 previously named bridge_*, and spi_* elsewhere.
3280 * at-bridge/bridge.c:
3281 * cspi/bonobo/cspi-bonobo-listener.c:
3282 Added demarshalling/conversion for string member of
3283 Accessibility_DeviceEvent to AccessibleKeystroke.
3285 * registryd/deviceeventcontroller.c:
3286 Added code to fill the Accessibility_DeviceEvent key string value
3287 member for global key events (i.e. from XGrabKey), to match
3288 behavior of Accessibility_DeviceEvent from the toolkit key events
3289 from the bridge. Fixed timestamp in global key event notifications.
3292 Added printout of key event's string value to
3293 report_ordinary_key_event, for demo/debugging purposes.
3295 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3297 * idl/Accessibility_Registry.idl:
3298 Removed Accessibility_KeyStroke structure in favor of generic
3299 Accessibility_DeviceEvent structure.
3300 Changed Accessibility_ControllerEventMask from a struct to an
3303 * at-bridge/bridge.c:
3304 Changed APIs to use DeviceEvent structure as above, and removed
3305 bogus casting between these event structures.
3307 * cspi/spi-listener.h:
3308 Added keystring member of AccessibleKeystroke structure, to enable
3309 matching on event "names" rather than only hardware codes and
3313 Added keystrings member of AccessibleKeySet struct, to allow
3314 matching on event names (as above).
3315 Added declarations for SPI_createAccessibleKeySet and
3316 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3317 event modmasks directly as unsigned ints rather than structs with
3318 refcounts, in the DeviceEventController methods.
3320 * cspi/spi_registry.c:
3321 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3323 * cspi/spi-roletypes.h:
3324 Added documentation of newly added SPI Roles.
3326 * cspi/bonobo/cspi-bonobo-listener.c:
3327 Changes in support of API changes above.
3329 * libspi/accessible.c:
3330 Converted APIs to use DeviceEvent structure (see IDL changes
3333 * registryd/deviceeventcontroller.c:
3334 Added DEControllerGrabMask structure to track keygrabs not only by
3335 modmask but by keyset as well; this allows us to do "global"
3336 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3337 grabbing on AnyKey and then filtering after-the-fact.
3338 Bugfixes for event filtration mean that we don't get false matches
3339 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3341 * registryd/deviceeventcontroller.c:
3342 Namespaced a number of static methods to use spi_ prefix. Major
3343 revision to internals of global (i.e. X) key grabs.
3345 * registryd/deviceeventcontroller.h:
3346 Removed keymask_list and added keygrabs_list to
3347 SpiDeviceEventController struct.
3350 Added use of SPI_createAccessibleKeySet API when creating a
3351 listener for only one key. Attach a listener to "shift spacebar
3352 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3353 X key event names to SPI key event names, so that listeners are
3354 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3356 * test/keysynth-demo.c:
3357 Changed (incorrect) use of X key event names (KeyPressed,
3358 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3361 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3363 * libspi/accessible.c:
3364 Convert all AtkRole enumerations to Accessibility_Role enums when
3365 getting a role from an AtkObject.
3367 * cspi/spi_accessible.c:
3368 Complete the conversion of Accessibility_Role enums at runtime to
3369 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3370 role enums correctly match those given in spi-roletypes.h.
3371 Re-synchronize the local names list for AccessibleRole_getName ().
3372 AccessibleRole_getName is now deprecated, since it duplicates the
3373 more reliable Accessible_getRoleName.
3374 Added some role types from Accessibility_Role.idl.
3376 * idl/Accessibility_Role.idl:
3377 Added some role types used by AtkRole.
3379 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3382 * cspi/spi_registry.c:
3384 * cspi/cspi-bonobo-listener.c:
3385 Namespaced all methods that did not begin with an "SPI_" or
3386 "Accessible" prefix to "SPI_".
3389 Homogenized internal function namespace to "cspi_" for statics.
3392 Patched tests to use the new CSPI API.
3394 * docs/reference/cspi/at-spi-cspi-sections.txt:
3395 Updated docs to reflect namespace changes, and added a number of
3396 methods to the documentation.
3398 * registryd/registry.c:
3399 Changed use of strings and string hashes in listener event
3400 matching and parse_event_string to use GQuark, which is guaranteed
3403 * registryd/registry.h:
3404 Squashed annoying warning.
3406 * idl/Accessibility_Role.idl:
3407 Extended range of available Accessibility_Role values.
3409 * cspi/spi_accessible.c:
3410 Re-ordered role names.
3412 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3414 * idl/Accessibility_Value.idl:
3415 Revert use of union back to CORBA_double, since the double type is
3416 more efficient and can contain the other types without loss of
3419 * idl/Accessibility_Accessible.idl:
3420 Added method Accessibility:Accessible:getRoleName, to complement
3421 Accessibility:Accessible:getRole.
3423 * cspi/spi_accessible.c:
3425 Added C binding for above, Accessible_getRoleName (), and changed
3426 signature of Accessible_getRole () to return an AccessibleRole.
3428 * cspi/spi-roletypes.h:
3429 Changed AccessibleRole_getName to return a char * instead of a
3430 const char *. This method is now at least temporarily deprecated
3431 in favor of asking Accessibles for their RoleNames directly.
3434 Revert to match Accessibility_Value.idl;
3438 Change signature of AccessibleValue methods to use double rather
3442 * cspi/spi_accessible.c:
3443 Changed Accessible_getRole to return an AccessibleRole enum rather
3444 than a UTF-8 string. The UTF-8 string can still be obtained via
3445 AccessibleRole_getName ().
3447 * test/test-simple.c:
3448 Add test_action. Small fixup to match API change to Accessible_getRole.
3451 Bugfix for get_action_from_servant ().
3453 2001-12-11 Michael Meeks <michael@ximian.com>
3455 * libspi/libspi.h: remove registry.h and
3456 desktop.h, deviceeventcontroller.h
3458 * libspi/Makefile.am: remove registry.[ch],
3459 desktop.[ch], deviceeventcontroller.[ch]
3461 * registryd/Makefile.am: add registry.[ch],
3462 desktop.[ch], rename registryd.c to registry-main.c.
3463 add deviceeventcontroller.[ch]
3465 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3468 Replace setenv() call with putenv ().
3470 * libspi/component.c:
3471 Bugfix in AccessibleComponent_getExtents (),
3474 2001-12-11 Michael Meeks <michael@ximian.com>
3476 * libspi/image.c (impl_getImageExtents): impl.
3477 (spi_image_class_init): upd.
3480 (AccessibleImage_getImageDescription): fix daft bug
3483 * test/test-simple.c (global_listener_cb): update
3484 to only quit if not --poke
3485 (main): catch --poke.
3486 (validate_accessible): upd. dumping, call test_image
3489 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3492 * idl/Accessibility.idl: update all IDL includes.
3494 * idl/*.idl - rename to namespace - this sucks, blame
3495 mjs' bad decision for oafd.
3497 * test/test-simple.c (create_test_window): add more tests.
3498 (create_tree): split this out.
3499 (validate_accessible): bugfix.
3501 2001-12-11 Michael Meeks <michael@ximian.com>
3503 * cspi/bonobo/cspi-bonobo-listener.c:
3504 (cspi_kestroke_listener_unref),
3505 (cspi_event_listener_unref): impl. undoing previous
3506 homenous environment - for Bill.
3508 * cspi/spi_table.c (long_seq_to_array): use
3511 * cspi/spi_main.c: split out all bonoboish bits into
3514 * cspi/spi-impl.h: upd. typedefs.
3516 * cspi/spi_registry.c: update to lowlevel API,
3517 return booleans to indicate success in some places.
3519 * cspi/spi_event.c: update to lowlevel API.
3521 * cspi/bonobo/Makefile.am: add.
3523 * cspi/bonobo/cspi-lowlevel.h: add
3525 * cspi/bonobo/cspi-bonobo.c: add
3527 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3529 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3530 (SUBDIRS): add bonobo, link in the libs.
3532 * cspi/spi-util.c: kill this file.
3534 * TODO: merge in my bits.
3536 2001-12-11 Michael Meeks <michael@ximian.com>
3538 * test/test-simple.c (test_value, test_table, main):
3539 remove unused variables causing warnings.
3541 * configure.in: cleanup checks - require gail.
3543 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3546 Changed Value interface to use SValue (scalars) rather than
3547 assuming all values are floats. This allows floats, doubles,
3548 longs, shorts, and unsigned values to be manipulated.
3549 Introduced Accessibility:SValue union.
3552 Updated to use new API above, and to work correctly with GValues
3553 of different types in AtkValue.
3556 Updated to use new API above. cspi's API is as yet unchanged.
3559 Updated the Value revision action item.
3561 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3563 * test/test-simple.c:
3564 Added test_table (GtkTreeView widget in test window to follow).
3565 Un-commented test_value, added GtkRange widget.
3566 Added GtkTreeView widget with GtkListStore. It passes regression
3567 test but leaks one SPI object for some reason.
3570 Fixed bug in impl__set_currentValue.
3572 2001-12-10 Michael Meeks <michael@ximian.com>
3574 * cspi/spi_text.c: audit for exception handling,
3575 tolerating NULL object references safely etc.
3577 * cspi/spi_value.c: ditto.
3579 * cspi/spi_table.c (AccessibleTable_getSummary),
3580 (AccessibleTable_getAccessibleAt),
3581 (AccessibleTable_getRowHeader),
3582 (AccessibleTable_getColumnHeader),
3583 (AccessibleTable_getCaption): fix bugs hidden by
3585 (long_seq_to_array): impl.
3586 (AccessibleTable_getSelectedRows),
3587 (AccessibleTable_getSelectedColumns): use it.
3589 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3592 Added a TODO list (rough and short for now).
3594 * cspi/spi_hyperlink.c:
3595 * cspi/spi_hypertext.c:
3596 Fixed macro name typos, and remove use of obsolete macro in
3597 AccessibleHyperlink_getLink.
3599 * cspi/spi_action.c:
3600 * cspi/spi_accessible.c:
3601 * cspi/spi_application.c:
3602 * cspi/spi_component.c:
3603 * cspi/spi_selection.c:
3606 Documentation fixes (removed return values from ref/unref methods).
3608 2001-12-10 Michael Meeks <michael@ximian.com>
3610 * cspi/spi_action.c: audit for exception handling,
3611 tolerating NULL object references safely etc.
3613 * cspi/spi_accessible.c: ditto.
3615 * cspi/spi_component.c: ditto.
3617 * cspi/spi_editabletext.c: ditto.
3619 * cspi/spi_hyperlink.c: ditto.
3621 * cspi/spi_hypertext.c: ditto.
3623 * cspi/spi_image.c: ditto.
3625 * cspi/spi_selection.c: ditto.
3627 2001-12-10 Michael Meeks <michael@ximian.com>
3629 * configure.in: use cspi/libspi.pc.in instead.
3631 * Makefile.am (pkgconfig_DATA): upd. to match.
3633 * test/simple-at.c (report_focus_event): kill hacks around
3634 bad return values, use putenv not setenv
3636 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3637 fire ChildGone - I killed it.
3639 * libspi/component.c
3640 (impl_accessibility_component_get_extents): remove
3643 * idl/Accessible.idl: kill ChildGone exception.
3645 * cspi/*.[ch]: kill int return from ref / unref.
3647 * cspi/spi_main.c (cspi_object_add_check): fold into
3648 (cspi_object_add): here.
3650 * cspi/spi_component.c (AccessibleComponent_getExtents):
3651 handle exceptions elegantly.
3653 * cspi/spi-private.h (cspi_check_ev_return),
3654 (cspi_return_if_fail): impl.
3656 * cspi/spi_accessible.c: use extensively.
3657 (AccessibleStateSet_equals): add direct compare check.
3659 * cspi/spi_selection.c: tolerate NULL objs, and check
3660 exceptions before return.
3662 * cspi/spi-util.c (cspi_warn_ev): rename to
3663 (cspi_check_ev): this & don't pass ev in; no point.
3665 2001-12-10 Michael Meeks <michael@ximian.com>
3667 * test/test-simple.c: use putenv not setenv
3668 (get_environment_vars): more chatty if you're not using
3671 * test/simple-at.c: do the setenv so more people see the
3674 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3676 * libspi/registry.c:
3677 Changed check of CORBA_environment on notification to be a warning
3678 instead of an error for the moment, since we can recover from this
3679 error when caused by a queued notification from a dead app.
3682 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3683 used by all current implementors of AtkValue), and coerce to
3684 CORBA_float. (Proper general case fix may require change to Value.idl).
3686 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3690 * cspi/spi_accessible.c:
3691 Documentation fixes: added user_data params to documentation for
3692 listeners and callbacks.
3694 * cspi/spi_accessible.c:
3695 Changed AccessibleStateSet_compare to return a
3696 StateSet rather than return the difference set into a third parameter.
3699 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3702 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3703 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3707 Remove subdirectory po from SUBDIRS for now.
3709 * at-bridge/bridge.c:
3710 Beefed up a couple of debug printouts.
3711 One-line fix for signal notification name formatting.
3713 * libspi/accessible.c:
3714 Added assertion to spi_accessible_new ().
3716 * libspi/application.c:
3717 Put #ifdef qualifiers around a printf.
3720 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3722 * registryd/Makefile.am:
3724 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3725 INTLTOOL_SERVER_RULE macro.
3728 Added an event listener for several ATK signals, for
3729 testing and debugging. Removed a few g_warnings.
3730 Added test output if focussed item implements the Value interface.
3732 * test/test-simple.c:
3733 Added test_value () function (known not to pass at the moment, so
3734 not actually called yet.
3736 2001-12-08 Michael Meeks <michael@ximian.com>
3738 * at-bridge/bridge.c (bridge_focus_tracker),
3739 (emit_eventv): fix the same ref. leak.
3740 (register_atk_event_listeners): don't leak.
3742 * cspi/spi-listener-impl.c (cspi_event): more
3743 protection from client code.
3745 * test/test-simple.c (test_desktop): unref the app.
3747 * test/Makefile.am: upd. TESTS.
3749 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3751 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3753 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3755 * cspi/spi_registry.c: constify in strings.
3756 (deregisterGlobalEventListenerAll): don't release the ref.
3758 * cspi/spi.h: start removing redundant / conflicting
3759 gtkdoc comments, making the API readable at a glance :-)
3761 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3763 * test/keysynth-demo.c (keysynth_exit, main): upd.
3765 * test/simple-at.c (main, simple_at_exit): upd.
3767 * test/test-simple.c (unutterable_horror): kill.
3768 (utterable_normal_derefs): kill.
3769 (main): upd & do a setenv before gtk_init, so that we
3770 can use memprof - and to save the pain of remembering
3771 this, if we're running under memprof - don't exit.
3773 * cspi/spi_main.c (SPI_exit): return exit status
3775 (SPI_event_quit): impl.
3776 (SPI_event_main): simplify.
3777 (cspi_is_gnome_app): kill.
3778 (SPI_init): kill isGNOMEapp arg.
3780 * at-bridge/bridge.c (register_atk_event_listeners):
3781 re-instate the unref.
3782 (bridge_exit_func): don't re-activate the registry,
3783 protect vs. theoretical re-entry, use the
3784 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3785 assert a clean shutdown - for regression tests.
3787 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3789 * configure.in: Comment out dummy i18n support for now,
3790 otherwise it fails to build.
3791 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3792 EXTRA_DIST. They are missing in tarball.
3794 2001-12-07 Michael Meeks <michael@ximian.com>
3796 * util/magnifier.c: kill bonobo activation reg. race.
3798 * libspi/component.c
3799 (impl_accessibility_component_get_extents): make it match
3802 * libspi/registry.c (_registry_notify_listeners):
3803 re-remove X headers & reconcile conflicts.
3804 (spi_listener_struct_free): bad conflict resolve.
3805 (impl_accessibility_registry_register_application):
3806 more bad merging fixed.
3807 (impl_accessibility_registry_deregister_application): ditto.
3808 (spi_registry_new): ditto.
3809 (spi_registry_init): don't have an applications field.
3811 [ merge fixups2 branch to here ]
3812 2001-12-07 Michael Meeks <michael@ximian.com>
3814 * test/simple-at.c (report_focus_event),
3815 (report_focussed_accessible): remove g_warning debug.
3817 2001-12-07 Michael Meeks <michael@ximian.com>
3819 * test/test-simple.c (validate_tree): comment out some checks.
3820 (test_desktop): app now not registered idly - horay.
3822 2001-12-07 Michael Meeks <michael@ximian.com>
3824 * cspi/spi_registry.c
3825 (registerAccessibleKeystrokeListener): clean, stop it leaking
3826 great swathes of memory, and device event controller references.
3827 ensure we always pass valid sequences.
3828 (deregisterAccessibleKeystrokeListener): ditto.
3829 (generateKeyEvent): upd.
3831 * at-bridge/bridge.c (bridge_key_listener): handle
3832 registry dead exception gracefully.
3833 (bridge_focus_tracker, emit_eventv): free ev.
3835 * test/simple-at.c (report_focus_event): fix polarity.
3837 * libspi/application.c (notify_listeners): kill the ev
3838 argument, and make sure we init the ev we use.
3839 (spi_application_object_event_listener): split out a chunk
3840 (get_atk_object_ref): here & fixup.
3841 (reverse_lookup_name_for_toolkit_event): make const.
3842 (spi_application_toolkit_event_listener): fixup, kill leaks
3845 * at-bridge/bridge.c (register_atk_event_listeners):
3846 don't unref the noop object - causes grief.
3848 * libspi/registry.c: remove the X headers.
3849 turn off the debug churn.
3851 * libspi/accessible.c (spi_accessible_new_return): only
3852 release the ref if we are supposed to [doh]
3854 * test/simple-at.c (report_button_press, report_focus_event):
3855 guard vs. unexpected exit.
3857 * at-bridge/bridge.c (gtk_module_init): prune printf.
3858 (bridge_exit_func): fix app unref.
3860 * libspi/Makefile.am: don't install registry or desktop.h
3862 * libspi/*.h: update includes.
3864 * libspi/application.h: don't include ourself, or
3865 other redundant headers.
3867 2001-12-06 Michael Meeks <michael@ximian.com>
3869 * libspi/accessible.c
3870 (get_accessible_from_servant): impl.
3871 Upd. all CORBA impl.s to use it killing cut and paste.
3873 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3875 (SPI_init): register atexit cleanup handler here.
3877 2001-12-06 Michael Meeks <michael@ximian.com>
3879 * at-bridge/bridge.c (gtk_module_init): g_error on
3880 activation exception
3882 2001-12-06 Michael Meeks <michael@ximian.com>
3884 * at-bridge/bridge.c (gtk_module_init): some sort of
3885 confusing merge clash - reverted.
3886 (bridge_idle_init): ditto.
3888 * test/test-simple.c (main, utterable_normal_derefs):
3889 merge from Bill - somehow not committed.
3891 2001-12-06 Michael Meeks <michael@ximian.com>
3893 * libspi/value.c (spi_value_class_init): upd.
3894 (spi_value_finalize): kill.
3896 * libspi/table.c (spi_table_finalize): kill.
3897 (spi_table_interface_new): upd.
3898 (spi_table_class_init): upd.
3899 (get_table_from_servant): impl.
3900 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3902 * libspi/selection.c (spi_selection_finalize): kill.
3903 (spi_selection_interface_new): upd.
3904 (spi_selection_class_init): upd.
3905 (get_selection_from_servant): impl.
3906 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3908 * libspi/relation.c (spi_relation_finalize): kill.
3909 (spi_relation_class_init, spi_relation_new): upd
3911 * libspi/image.c (spi_image_finalize): kill.
3912 (spi_image_class_init): upd.
3913 (spi_image_interface_new): upd.
3914 (get_image_from_servant): impl.
3915 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3917 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3918 (spi_hyperlink_finalize): kill.
3919 (spi_hyperlink_new): upd.
3920 (get_hyperlink_from_servant): impl.
3921 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3923 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3924 (spi_hypertext_finalize): kill.
3925 (spi_hypertext_class_init): upd.
3926 (get_hypertext_from_servant): impl.
3927 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3929 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3930 (spi_editable_text_interface_new): upd.
3931 (get_editable_text_from_servant): impl.
3932 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3934 * libspi/text.c (get_text_from_servant): impl.
3935 All impls - update to use it killing more cut and paste,
3936 also fix bad string returns on duff args ( a somewhat
3937 impossible case to handle - but hey ).
3938 (spi_text_construct): impl.
3939 (spi_text_interface_new): upd.
3940 (spi_text_object_finalize): kill.
3942 * libspi/component.c
3943 (accessibility_component_object_finalize): kill.
3944 (spi_component_class_init): upd.
3945 (get_component_from_servant): impl. helper to kill cut & paste.
3946 (impl_accessibility_component_contains):
3947 (impl_accessibility_component_get_accessible_at_point):
3948 (impl_accessibility_component_get_position):
3949 (impl_accessibility_component_get_extents):
3950 (impl_accessibility_component_get_mdi_z_order):
3951 (impl_accessibility_component_get_layer):
3952 (spi_component_interface_new): upd.
3954 * libspi/action.c (spi_action_finalize): kill.
3955 (spi_action_class_init): upd. inherit from SpiObject.
3956 (spi_action_interface_new): upd.
3957 (get_action_from_servant): impl. helper to reduce cut & paste.
3958 (impl_getKeyBinding, impl_getName, impl_doAction),
3959 (impl_getDescription): Use it everywhere.
3961 * cspi/spi_main.c (get_live_refs): a pointer hash.
3962 (spi_object_hash, spi_object_equal): comment out.
3963 There are issues with CORBA object hashing that need
3966 * libspi/application.c (spi_application_init),
3967 (spi_application_new): upd.
3969 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3970 (spi_accessible_class_init): upd.
3971 s/accessible/object/ in epv methods.
3973 2001-12-05 Bill Haneman <bill.haneman@sun.com>
3975 * at-bridge/bridge.c:
3976 Reorder the bridge initialization into the bridge gtk_module_init,
3977 an immediate call to bridge_register_app, and an idle_add for
3978 register_atk_event_listeners (the only code that *must* wait until
3979 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3980 the activation, creates the application's Accessible object, and
3981 queues the bridge_idle_init function. Restored call to
3982 Accessibility_Registry_deregisterApplication().
3983 Prior to making this call we obtain a new reference to the
3984 registry, which is a temporary hack that helps us handle apps that
3985 shut down the bonobo mainloop before we get there.
3987 * libspi/registry.c:
3988 Fix string leakage in debug block, and don't segv if a an app
3989 dies before its event notifications have been propagated.
3992 Modify cspi_check_ev() to call g_warning() rather than g_error(),
3993 as stopgap measure until we get proper exception handling when
3994 objects die during or before interrogation.
3998 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3999 Also changed default value of is_gnome_app to TRUE.
4002 * test/keysynth-demo.c:
4003 Changed use of SPI_init and SPI_event_main to reflect API change above.
4006 Made report_focus_event check the warning value from getName
4007 before reporting on focussed accessible; simplifies handling of
4008 notifications from dead objects.
4010 * test/test-simple.c: (Changes not in this patch since source is
4013 2001-12-05 Michael Meeks <michael@ximian.com>
4015 * registryd/registryd.c (main): protect against
4016 bonobo-activation startup race condition.
4018 * cspi/spi_main.c (cspi_object_add_check): cope
4019 with the exception elegantly.
4021 * idl/Accessible.idl: decl. ChildGone
4023 * libspi/desktop.c (spi_desktop_dispose): impl.
4024 (spi_desktop_class_init): upd.
4025 (spi_desktop_add_application),
4026 (spi_desktop_remove_application),
4027 (abnormal_application_termination): impl.
4028 (impl_desktop_get_child_at_index): re-impl.
4031 (impl_accessibility_registry_deregister_application),
4032 (impl_accessibility_registry_register_application):
4033 kill excessive debug clutter.
4035 * test/test-simple.c (test_misc): test some NULL
4036 tolerance. (main): upd.
4038 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4039 implements no interfaces - so let's not crash.
4041 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4043 * libspi/accessible.c (spi_accessible_new_return): impl.
4044 helper to calm the cut and paste, to cope with
4045 NULL AtkObjects effectively and efficiently, and to kill
4046 the referencing bugs.
4048 * libspi/table.c (impl_getAccessibleAt),
4049 (impl_getRowHeader, impl_getColumnHeader): upd.
4051 * libspi/hyperlink.c (impl_getObject): upd.
4053 * libspi/accessible.c
4054 (impl_accessibility_accessible_get_child_at_index): upd.
4056 * libspi/component.c
4057 (impl_accessibility_component_get_accessible_at_point): upd.
4059 * test/test-simple.c (test_editable_text, test_text): impl.
4062 * cspi/spi_editabletext.c
4063 (AccessibleEditableText_insertText): constify.
4065 * test/test-simple.c (focus_me): make more robust.
4067 * libspi/accessible.c: remove some printfs in methods that
4068 we test and work fine, so we can get a clean tree dump.
4070 * test/test-simple.c (validate_accessible),
4071 (validate_tree): make tree dumping pretty too.
4073 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4074 it builds without debug on.
4076 * test/test-simple.c (validate_accessible): fix the most
4079 * cspi/spi_main.c (spi_object_release): leave the nicely
4080 blanked memory around if in debug mode.
4082 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4084 [committed to fixups2]
4085 2001-12-05 Michael Meeks <michael@ximian.com>
4087 * libspi/editabletext.c
4088 (spi_editable_text_class_init): g_type_class_peek_parent,
4089 not interface peek - so we finalize cleanly.
4091 * libspi/accessible.c (spi_accessible_new): kill debug.
4093 * test/test-simple.c (validate_accessible): fix ref.
4094 leak, print strings before freeing them; sigh, comment a
4095 chunk out due to strangeness.
4096 (validate_tree): unref the child after use.
4098 * cspi/spi_component.c (AccessibleComponent_getLayer):
4099 add missing break statement, switch on zlayer not the
4100 uninitialized retval.
4102 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4103 before (possibly re-entering) remote unref.
4105 * test/simple-at.c (main): unref the desktop.
4107 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4110 * cspi/spi_main.c (cspi_accessible_is_a): here to
4111 isolate bonobo API usage more.
4113 * libspi/registry.c (impl_accessibility_registry_register_application):
4114 prune bogus comment.
4116 2001-12-04 Michael Meeks <michael@ximian.com>
4118 * test/test-simple.c (validate_tree): upd.
4119 IndexInParent check to make it more lucid.
4120 (validate_accessible): dump the tree.
4122 * libspi/accessible.c (de_register_public_ref),
4123 (get_public_refs): impl.
4124 (spi_accessible_new): make more efficient & intuitive.
4125 Now IndexInParent check works.
4127 2001-12-04 Michael Meeks <michael@ximian.com>
4129 * cspi/spi-util.h: remove.
4131 * cspi/spi.h: move SPI_freeString here
4133 * libspi/component.c (impl_accessibility_component_get_layer):
4135 (impl_accessibility_component_get_mdi_z_order): ditto,
4136 return -1 on error - is this ok ?
4138 * test/test-simple.c (test_application): impl.
4140 * cspi/spi_accessible.c (Accessible_getApplication),
4141 (Accessible_isApplication): impl.
4143 * libspi/registry.c (spi_listener_struct_free): release
4144 the CORBA reference too.
4146 * libspi/accessible.c
4147 (impl_accessibility_accessible_get_parent): fix ref leak.
4149 * libspi/registry.c (spi_registry_new): make the registry
4150 immortal - we don't want it to go away ever.
4152 * libspi/application.c
4153 (spi_accessible_application_finalize): impl. cleanup.
4155 * cspi/spi_registry.c
4156 (deregisterGlobalEventListenerAll),
4157 (deregisterGlobalEventListener),
4158 (deregisterAccessibleKeystrokeListener): fix ref leak.
4160 * cspi/spi_main.c (SPI_init): remove redundant ref.
4162 * test/test-simple.c (unutterable_horror): impl. to force a
4167 (impl_accessibility_registry_deregister_application): release
4168 the application when we de-register it.
4170 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4171 until we have the infastructure to get it right.
4173 2001-12-03 Michael Meeks <michael@ximian.com>
4175 * libspi/Makefile.am: only build eventlistener.[ch]
4177 * libspi/accessible.c
4178 (impl_accessibility_accessible_get_child_at_index): don't leak.
4180 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4181 before we hit the idle handler.
4183 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4184 debugging than exit.
4186 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4188 * libspi/listener.c (impl_notify_event): check source
4189 not NIL before unref.
4191 * libspi/registry.c (impl_registry_notify_event): ditto.
4193 * libspi/eventlistener.c
4194 (impl_accessible_event_notify_event): unref the source.
4196 * libspi/accessibleeventlistener.c
4197 (impl_accessible_event_notify_event): unref the source.
4199 * idl/Event.idl: remove 'hash_id' attribute - of no
4202 * libspi/application.c (notify_listeners): upd list
4204 (spi_application_object_event_listener),
4205 (spi_application_toolkit_event_listener): upd to do correct
4209 (_registry_notify_listeners): update.
4210 (parse_event_type): this method also leaks like a sieve.
4211 (impl_accessibility_registry_deregister_global_event_listener):
4212 fix ETYPE_WINDOW case.
4214 * libspi/application.c
4215 (impl_accessibility_application_register_object_event_listener):
4218 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4220 * libspi/hypertext.c (impl_getLink): ditto.
4222 * cspi/spi_main.c (cspi_object_add): remove
4223 bogus CORBA_Object_duplicate.
4225 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4228 * cspi/spi_accessible.c
4229 (Accessible_getRelationSet): fix leak / referencing issue.
4231 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4232 (cspi_object_add, cspi_object_unref): upd.
4233 (spi_object_release, get_live_refs): impl.
4234 (cspi_cleanup): simplify.
4236 * *.[ch]: s/boolean/SpiBoolean/
4238 * cspi/spi_accessible.c (role_names): actualy order so it
4239 corresponds with the enum !
4241 * test/test-simple.c (test_roles): check some role strings
4242 vs. enums to detect offset errors.
4244 2001-12-01 Michael Meeks <michael@ximian.com>
4246 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4248 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4250 (Accessible_getChildAtIndex): use cspi_add_check so we
4251 check the ev before using a (possibly) invalid value.
4253 * libspi/accessible.c
4254 (impl_accessibility_accessible_get_parent): don't segv
4257 * at-bridge/bridge.c (gtk_module_init): upd.
4258 (bridge_property_event_listener): don't leak strings
4260 (bridge_state_event_listener),
4261 (bridge_property_event_listener): don't use a static
4262 buffer in case of recursive event emission &
4263 re-enterancy - split out the swathe of cut and paste
4265 (emit_eventv): and fix 2 ref leaks here & comply to the
4267 (bridge_register_app): rename to
4268 (bridge_idle_init): this and kill arg parsing, split
4269 various inits & bonobo-activation registration to module
4270 init time, kill referencing error.
4271 (bridge_exit_func): fix the same leak.
4272 (bridge_focus_tracker): don't leak event structures
4274 (bridge_signal_listener): more leakage and cut & paste
4276 (bridge_key_listener): return the result - FIXME is
4277 this polarity correct ?
4278 (accessibility_keystroke_from_atk_key_event): rename
4279 (accessibility_init_keystroke_from_atk_key_event): and stop
4281 (gtk_module_init): return a value - not that it is checked by
4283 (bridge_key_listener): register my horror at casting between
4284 IDL defined structs.
4285 (bridge_get_registry): kill - not used.
4287 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4289 * test/test-simple.c (test_roles): impl.
4290 (test_desktop, validate_accessible, validate_tree): impl.
4292 * cspi/spi_accessible.c (role_names): fixup bogus
4293 MAX_ROLES setup, make constants const for efficient linkage
4294 (AccessibleRole_getName): conform to coding style, make
4297 2001-11-30 Michael Meeks <michael@ximian.com>
4299 * cspi/spi.h: add missing prototype.
4301 * libspi/registry.c (spi_listener_struct_new): fix sig.
4303 * test/Makefile.am: add test-simple
4305 * test/test-simple.c: add
4307 * test/test.sh: add.
4309 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4311 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4312 do it straight - since otherwise we often get an activation race.
4314 [ work before Bill duplicated a chunk of it ... ]
4315 2001-11-30 Michael Meeks <michael@ximian.com>
4317 * libspi/keystrokelistener.c
4318 (spi_keystroke_listener_class_init): fixup arg
4321 * libspi/eventlistener.c
4322 (spi_event_listener_class_init): ditto.
4324 * tests/test.sh: add.
4326 * cspi/spi-listener-impl.h: update macros.
4328 * cspi/spi-listener-impl.c
4329 (cspi_event_listener_remove_callback): add
4330 correct pre-conditions.
4332 * cspi/spi_main.c (SPI_exit): guard vs. double
4333 exits, exit the mainloop nicely.
4334 (SPI_event_main): make more sense.
4335 (SPI_init): move the atexit evilness here so we
4336 always do it (yuck).
4337 (SPI_event_main): upd.
4339 * test/simple-at.c: update for listener changes.
4341 * registryd/registryd.c (main): prune kruft.
4343 * libspi/libspi.h: upd.
4345 * libspi/eventlistener.[ch]: rename broken macros.
4347 * libspi/accessibleeventlistener.[ch]: remove.
4349 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4351 * test/test-simple.c: Add - automated tests.
4353 * cspi/spi-listener-impl.c (cspi_event),
4354 (cspi_key_event): add user_data to invoke.
4355 (cspi_keystroke_listener_finalize): impl.
4356 (cspi_keystroke_listener_class_init): upd.
4359 (createAccessibleEventListener),
4360 (AccessibleEventListener_addCallback),
4361 (createAccessibleKeystrokeListener),
4362 (AccessibleKeystrokeListener_addCallback): upd.
4364 * libspi/deviceeventcontroller.c
4365 (spi_device_event_controller_check_key_event): add public proto.
4368 (impl_accessibility_registry_deregister_global_event_listener):
4369 always init listeners.
4370 (_registry_notify_listeners): yes it is.
4372 * cspi/spi-listener-impl.c (cspi_key_event):
4374 (cspi_event_listener_finalize): impl.
4375 (cspi_event_listener_class_init): hook up.
4376 (event_handler_new, event_handler_free),
4377 (event_list_remove_by_callback): impl.
4378 (cspi_event_listener_remove_callback),
4379 (cspi_keystroke_listener_remove_callback),
4380 (cspi_keystroke_listener_add_callback),
4381 (cspi_event_listener_add_callback): upd.
4383 * libspi/keystrokelistener.c
4384 (keystroke_listener_object_finalize): kill
4385 (spi_keystroke_listener_class_init): upd.
4386 (spi_keystroke_listener_add_callback),
4387 (spi_keystroke_listener_remove_callback): kill,
4389 (impl_key_event): prune drasticaly.
4391 * libspi/eventlistener.c
4392 (spi_event_listener_add_callback),
4393 (spi_event_listener_remove_callback): kill, use
4395 (impl_accessible_event_notify_event): upd.
4396 (spi_event_listener_object_finalize): remove.
4398 * libspi/Makefile.am: use eventlistener.[ch]
4400 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4402 * libspi/registry.c (_registry_notify_listeners):
4403 Changed listener loop iteration to use preferred convention.
4404 Got rid of string memory leaks caused be calling g_strconcat
4405 inside function calls.
4407 * libspi/registry.c (parse_event_type):
4408 Stopped g_strconcat memory leaks, free the g_strsplit return,
4409 g_strdup the split pieces when used, etc.
4411 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4414 Change method 'compare' to return a 'difference set' rather than
4415 taking a StateSet as an out parameter (more Java-friendly).
4417 * idl/Accessible.idl:
4418 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4420 * idl/Component.idl:
4422 Changed methods 'getExtents' and 'getImageExtents' in these
4423 interfaces to return a BoundingBox structure.
4424 (getPosition and getSize are redundant and possibly should be
4425 removed, rather than creating a corresponding Point struct.)
4427 * cspi/spi_component.c:
4428 Modify implementation of getExtents to reflect the above IDL
4433 Add (missing) AccessibleImage_getExtents () API.
4435 * docs/reference/cspi/at-spi-cspi-sections.txt:
4436 Added AccessibleImage_getImageExtents () to docs.
4438 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4440 * idl/Component.idl:
4441 Added two methods, getLayer () and getMDIZOrder (), to reflect
4442 the new ATK methods atk_object_get_layer and
4443 atk_object_get_mdi_z_order. (Which arguably should be part of the
4444 AtkComponent API and AtkObject). Also added an enum,
4445 ComponentLayer, for the first method's return value.
4447 * libspi/component.c:
4448 Added implementations for these methods.
4450 * cspi/spi_component.c:
4452 Added cspi binding methods for above,
4453 AccessibleComponent_getLayer() and
4454 AccessibleComponent_getMDIZOrder().
4455 Added cspi enum 'AccessibleComponentLayer'.
4457 * docs/reference/cspi/at-spi-cspi-sections.txt:
4458 Added above methods to docs.
4462 Changed typedef for 'boolean' type (and all references to it) to
4463 SPIBoolean, to avoid keyword clashes with C++.
4466 Changed usages of 'boolean' to SPIBoolean.
4468 * test/keysynth-demo.c:
4469 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4470 app), except where SPIBoolean is required by the callbacks API.
4472 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4474 * cspi/spi_registry.c:
4475 Removed obsolete X event loop for passive keygrabs (which now
4478 * registryd/registryd.c:
4479 Removed unnecessary call to gdk_init() [cruft]. This also allows
4480 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4483 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4485 * docs/reference/cspi:
4486 Included docs for SPI_freeString in generated documentation.
4489 Renamed spi_freeString to SPI_freeString, for consistency. Added
4490 documentation for this function.
4493 Renamed spi_freeString to SPI_freeString, for consistency.
4494 Removed obsolete method declaration string_from_corba_string.
4496 * test/keysynth-demo.c:
4497 Small tweak to comments.
4500 Stopped leaking the strings returned from CSPI.
4502 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4504 Merged Michael's branch (see his ChangeLog entries below).
4506 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4507 bridge is alive, release on exit.
4509 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4510 Fix type check macro.
4513 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4516 Added is_gnome_app static, and method cspi_is_gnome_app(),
4517 so we can call the appropriate shutdown routine at exit in SPI_exit.
4519 * cspi/spi_main.c (cspi_object_ref):
4520 Duplicate the corba object passed in, since we're keeping it around.
4522 * cspi/SPI_exit.c, cspi_cleanup:
4523 Moved the releasing of the live refs to its own function, so we
4524 can put it in g_atexit (). Call the appropriate shutdown API
4525 depending on whethe calling client is a gnome app or not
4526 (bonobo_main_quit or CORBA_ORB_shutdown).
4528 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4529 Unref the listener when this method is called, after
4530 deregistration. Updated the API docs to note this behavior.
4532 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4533 Bugfixes: Ref the bonobo object when returning a parent or child
4534 reference, or an AccessibleRelation. Generally made sure
4535 BonoboObject refcount is incremented whenever we return an
4538 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4539 Fixed typo/bug in signal declaration.
4541 * libspi/accessibleeventlistener.h:
4544 * libspi/application.c (spi_application_new):
4545 Fixed leak in initialization.
4548 Remembered to increment bonobo-object refcount when returning
4549 children (applications) from desktop object.
4550 Added (empty) finalize method.
4552 * libspi/deviceeventcontroller.c:
4553 Hold a ref to listeners inside DEControllerKeyListeners.
4554 Added dec_key_listener_free() method. Use prepend instead of
4555 append in key_listener list. Fixed some refcount madness and
4556 leaks in the listener registration/deregistration - deregistration
4557 now calls dec_key_listener_free() on listeners, and on the
4558 temporarily constructed dec_key_listener() used to perform the search/match.
4560 * libspi/hypertext.c (spi_hypertest_finalize):
4561 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4562 class. Also fixed spi_hypertext_interface_new() and
4563 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4565 * libspi/hypertext.h:
4566 Removed pointless and duplicate AtkObject pointer from
4569 * libspi/keystrokelistener.c:
4570 Fixed incorrect type of keystroke_listener_parent_class,
4571 renamed keystroke_listener_object_finalize to
4572 spi_keystroke_listener_object_finalize.
4573 Fixed typo in signal declaration
4574 (spi_keystroke_listener_class_init).
4576 * libspi/registry.c:
4577 Added funcsions spi_listener_struct_new() and
4578 spi_listener_struct_free() to help with memory management issues.
4579 We also now use these methods instead of gnew + poking stuff into
4580 the struct, and to decrement listener counts/free the listeners
4581 when deregistering them.
4582 Fix more refcount bugs in getDesktop() and
4583 getDeviceEventController().
4586 De-ref the desktop after enumerating the applications. Explicitly
4587 decrement the refcounts on the created listeners on exit (using
4588 _unref for keystroke listeners, and via the
4589 deregisterGlobalEventListenerAll command for other event
4592 2001-11-27 Michael Meeks <michael@ximian.com>
4594 * cspi/spi-listener.h: fixup enum.
4596 2001-11-27 Michael Meeks <michael@ximian.com>
4598 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4599 (cspi_keystroke_listener_new): Use the cspi variants.
4601 2001-11-26 Michael Meeks <michael@ximian.com>
4603 * test/keysynth-demo.c: fix 2 compile warnings, missing
4606 * test/simple-at.c (report_focussed_accessible),
4607 (report_focus_event, report_button_press),
4608 (check_property_change, is_command_key),
4609 (report_ordinary_key_event, report_command_key_event): upd.
4611 * util/mag_client.h: include pre-requisites.
4613 * libspi/accessibleeventlistener.c
4614 (spi_event_listener_object_finalize): free any lingering
4617 * libspi/keystrokelistener.c
4618 (keystroke_listener_object_finalize): ditto.
4620 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4621 callbacks, with cspi types.
4623 * cspi/spi_event.c (createAccessibleEventListener): chain to
4624 (AccessibleEventListener_addCallback): here.
4625 (createAccessibleKeystrokeListener): chain to
4626 (AccessibleKeystrokeListener_addCallback): here.
4628 * libspi/keystrokelistener.c
4629 (spi_keystroke_listener_class_init): add signal.
4630 (impl_key_event): emit the event.
4631 (boolean_handled_accumulator): impl.
4632 (marshal_BOOLEAN__POINTER): add, gack.
4634 * libspi/accessibleeventlistener.c
4635 (spi_event_listener_class_init): add signal.
4636 (impl_accessible_event_notify_event): emit the signal &
4637 make the loop efficient.
4638 (spi_event_listener_add_callback): prepend the callback.
4640 * libspi/accessibleeventlistener.h: add an 'event' signal,
4641 decl type on callback.
4643 * libspi/keystrokelistener.h: ditto.
4645 * cspi/spi-listener.h: make methods typesafe and
4646 make them use the new event typedefs.
4648 * test/simple-at.c (report_focussed_accessible):
4649 include mag_client.h
4650 Use *(void *)text_interface not the other thing.
4652 * configure.in: add gtk to registryd bits - since we use
4655 * util/magnifier.c: include libbonobo.h
4657 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4659 * test/keysynth-demo.c:
4660 Turned this into a simple scanning keyboard, to demonstrate the
4661 use of g_timeout_add () as a means of creating timers for
4662 scanning, and the use of GtkStyle for visually indicating when
4663 virtual keyboard elements are selected.
4665 keysynth-demo now listens to any keyboard keys with zero-valued
4666 keycodes (i.e. 'unused' keys) and interprets them as
4669 Reworked the shiftlatch code so that shift-down state isn't held
4670 for long periods (it's only synthesized immediately prior to
4671 the keysynth event it's modifying). Note that shiftlatch in this
4672 demo is a convenience, not intended to take the place of AccessX
4673 which is the better choice for getting 'sticky' modifier keys.
4675 * libspi/deviceeventcontroller.c:
4676 * at-bridge/bridge.c:
4677 * cspi/spi_registry.c:
4678 Removed some debug print stuff, and put other verbosity in #ifdef
4683 Implemented some more of the magnifier IDL for the simple
4684 magnifier: namely, getZoomRegionParams.
4685 Added mag_x and mag_y members to MagnifierData struct, aid of this
4687 Added GtkWindow::realize signal handler to magnifier, to keep it
4688 from receiving keyboard focus from the WM.
4690 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4692 * cspi/spi-private.h: my guess at what michael forgot
4693 before he ran off to NZ :-)
4695 2001-11-23 Michael Meeks <michael@ximian.com>
4697 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4698 comment out non existant method invoke so we link.
4700 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4701 use bonobo_exception_get_text for more friendly warnings.
4703 * cspi/spi.c (Obj_Add): move into spi_main & rename
4704 spi_object_add; kill spi.c
4706 * cspi/spi_registry.c
4707 (deregisterGlobalEventListener),
4708 (deregisterGlobalEventListenerAll),
4709 (registerGlobalEventListener): fix exception leaks.
4711 * cspi/spi_main.c (spi_exception): impl. helper, so we
4712 don't leak exceptions.
4714 * cspi/spi_selection.c
4715 (AccessibleSelection_deselectSelectedChild): return the
4718 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4719 (spi_registry): ditto.
4720 (SPI_init): guard against double inits.
4722 * cspi/*.c: use spi_ev (), and spi_registry () where
4723 appropriate - a temporary hack until we have something
4724 better. Use spi_object_add
4726 2001-11-22 Michael Meeks <michael@ximian.com>
4728 * cspi/Makefile.am: re organise, install the headers.
4730 * cspi/*.h: add G_BEGIN/END_DECLS
4732 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4735 Added non-preemptive keylistener for key events with no modifiers
4736 and shift-only modifier.
4738 * libspi/keystrokelistener.c:
4739 Removed some verbose diagnostics printout.
4741 * cspi/spi_registry.c:
4742 Fixed a bug that caused all key listeners to be registered as
4745 * libspi/deviceeventcontroller.c:
4746 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4747 for non-preemptive key masks.
4750 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4752 * docs/reference/idl/at-spi-idl-docs.sgml:
4753 * docs/reference/idl/at-spi-idl-sections.txt:
4754 * docs/reference/idl/at-spi-idl-overrides.txt:
4755 Added missing files.
4757 * docs/reference/Makefile.am:
4758 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4759 to scan the IDL files :-(
4764 Added .cvsignore files.
4766 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4768 * libspi/deviceeventcontroller.c:
4769 * libspi/keystrokelistener.c:
4771 * cspi/spi_registry.c:
4772 Added filters for KeySets, KeyEventSeq, and event types to key
4773 event dispatching, so listeners should only receive those events
4774 that they requested :-)
4776 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4781 * docs/reference:Makefile.am:
4782 * docs/reference/cspi:
4783 * docs/reference/cspi:Makefile.am:
4784 * docs/reference/cspi:tmpl:
4785 * docs/reference/cspi:tmpl:*.sgml:
4786 * docs/reference/idl:
4787 * docs/reference/idl:Makefile.am:
4788 * docs/reference/idl:at-spi-idl-sections.txt:
4789 * docs/reference/idl:at-spi-idl-docs.sgml:
4790 * docs/reference/idl:tmpl:
4791 * docs/reference/idl:tmpl:*.sgml:
4793 Restructured docs directory to allow separate 'reference' docs
4794 section, and forked idl and cspi docs. Added the sgml template
4795 files to CVS. Added the first sections/structural sgml for the
4798 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4800 * configure.in, libspi/Makefile.am: find libXtst.
4802 2001-11-21 Michael Meeks <michael@ximian.com>
4804 * test/accessx-gui.c: s/spi_value/value/ - doh.
4806 * libspi/base.[ch]: add.
4808 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4810 * idl/Accessible.idl:
4811 * idl/Application.idl:
4814 Started gtk-doc cleanup on IDL.
4816 * libspi/deviceeventcontroller.c:
4817 Added and connected non-preemptive key notification from the
4818 toolkits (in addition to the pre-emptive support from XServer
4819 which we had before, but which causes 'focus flashing'). Filters
4820 are presently limited to key modifiers and global/non-global,
4821 KeySets are presently ignored, as are KeyEvent masks.
4823 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4824 structs into the persistant structure rather than just storing
4825 pointers to things that might not persist across servant
4828 The XGrabKey call now does async keygrabs, because synchronous
4829 ones were deadlocking with GDK_event code in a very nasty way.
4831 Added boolean to internal method notify_keylisteners, to indicate
4832 whether the event came from the 'toolkit source' or the 'global
4833 (XServer) source' - this is used in the notification process to
4834 determine which listeners to send the event to.
4836 deviceeventcontroller.c is now warning-free.
4838 * libspi/registry.c:
4839 Fixed regression in application de-registration.
4840 Also fixed some really brain-dead weirdness having to do with
4841 event dispatching - event structs are now duplicated before being
4842 re-marshalled in the dispatch to listeners. This also fixes a
4843 Solaris build problem.
4846 2001-11-20 Michael Meeks <michael@ximian.com>
4849 (impl_accessibility_registry_deregister_global_event_listener):
4852 * libspi/deviceeventcontroller.c
4853 (spi_device_event_controller_check_key_event): return
4854 FALSE on no virtual method.
4856 * libspi/*..h: make includes work on a correctly pathed install.
4858 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4860 * libspi/application.h: kill unused ( and whacked out )
4861 gboolean *spi_application_set_id (AtkObject *app, long id);
4863 2001-11-20 Michael Meeks <michael@ximian.com>
4865 * libspi/*.[ch]: further convert to bonobo's type func
4866 macros, remove redundnant casts etc.
4868 * libspi/text.c s/accessibility_text/spi_text/g,
4869 re-order to de-cruft.
4871 * libspi/hypertext.c: re-order to kill a huge slew
4872 of redundant forward decls.
4874 * libspi/relation.c: ditto.
4876 * libspi/image.c: ditto.
4878 * */.cvsignore: update
4880 2001-11-20 Michael Meeks <michael@ximian.com>
4882 * libspi/deviceeventcontroller.c
4883 (_controller_register_with_devices): use g_getenv,
4884 kill stdlib.h include.
4886 * libspi/keystrokelistener.c
4887 (spi_keystroke_listener_get_type): kill
4888 (spi_keystroke_listener_class_init),
4889 (spi_keystroke_listener_init): rename to this.
4891 * libspi/text.c (impl_getAttributes): fix warning / bug.
4893 * libspi/*.[ch]: more headers, includes and over commenting.
4895 2001-11-20 Michael Meeks <michael@ximian.com>
4897 * libspi/*.[ch]: fixup headers, includes and over commenting.
4899 * libspi/image.c (impl__get_imageDescription): const
4900 correctness warning fix. remove redundant casting.
4902 * libspi/table.c (impl_getRowDescription): ditto.
4903 (impl_getColumnDescription): ditto.
4905 * libspi/libspi.h: add.
4907 2001-11-19 Michael Meeks <michael@ximian.com>
4909 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4911 * libspi/component.c (accessibility_component_get_type):
4912 rename to (spi_component_get_type): and macroify.
4913 (accessibility_component_init): rename to
4914 (spi_component_init): this
4915 (accessibility_component_class_init): rename to
4916 (spi_component_class_init): this
4918 * libspi/action.c (spi_action_get_type): kill, use the macro.
4920 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4923 * libspi/application.c (spi_application_object_event_listener),
4924 (impl_accessibility_application_register_object_event_listener):
4925 warning fixes / const understanding updates.
4927 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4930 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4932 * libspi/spi_accessible.c: Added docs and C bindings for
4933 AccessibleStateSet. (No implementations yet). Documentation
4934 coverage for C bindings now 100%. Made docs for event listeners
4939 boolean notifyListenersSync (in DeviceEventListener listener,
4940 in DeviceEvent event);
4942 oneway void notifyListenersAsync (in DeviceEventListener listener,
4943 in DeviceEvent event);
4945 Added DeviceEventListener and DeviceEvent structs (may deprecate
4946 KeyStroke and KeystrokeListener in favor of this generic
4947 event/listener framework for devices).
4949 * libspi/deviceeventcontroller.c:
4951 Changed some key listener code to take masks, etc., and paved the
4952 way for integration of toolkit/non-preemptive key events. Changed
4953 signatures of some internal methods.
4955 * at-bridge/bridge.c:
4956 Fixed regression connecting to interface signals, apparently
4957 caused by GTK+ changes.
4959 Added an internal bridge_state_listener to deal with
4960 property-change:accessible-state signals.
4962 Changed the key_listeners GList to store structs (including masks,
4963 etc.) instead of just CORBA_Objects (required for full
4964 implementation of key listener API).
4966 Connected the bridge to all currently supported Atk signals.
4967 Events now supported:
4968 object:property-change
4969 object:property-change:accessible-name
4970 object:property-change:accessible-state
4971 object:property-change:accessible-description
4972 object:property-change:accessible-parent
4973 object:property-change:accessible-value
4974 object:property-change:accessible-role
4975 object:property-change:accessible-table-caption
4976 object:property-change:accessible-table-column-description
4977 object:property-change:accessible-table-column-header
4978 object:property-change:accessible-table-row-description
4979 object:property-change:accessible-table-row-header
4980 object:property-change:accessible-table-summary
4981 object:children-changed
4982 object:visible-data-changed
4983 object:selection-changed
4984 object:text-selection-changed
4986 object:text-caret-moved
4988 object:row-reordered
4990 object:column-inserted
4991 object:column-reordered
4992 object:column-deleted
4993 object:model-changed
4995 2001-11-16 Bill Haneman <bill.haneman@sun.com>
4997 * libspi/hyperlink.c,h:
4998 Fixed some broken stuff in hyperlink.
5000 * libspi/relation.h:
5001 * libspi/relation.c:
5002 * cspi/spi_accessible.c:
5003 Initial implementations of AccessibleRelation methods, and docs.
5005 * libspi/accessible.c:
5006 Fixed a bug that caused SEGV if an accessible
5007 object's description is NULL, and a client
5008 requests it. An empty string is now returned.
5010 * cspi/spi_editabletext.c:
5011 * cspi/spi_hypertext.c:
5013 * cspi/spi_hyperlink.c:
5017 Doc coverage now 95%.
5019 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5021 One last namespacing revision:
5022 * libspi/accessibleeventlistener.[ch]:
5023 Renamed SpiAccessibleEventListener to SpiEventListener,
5024 (no need for two namespaces ;-)
5026 And lots of documentation fixes:
5028 * docs/at-spi-docs.sgml:
5029 Fixed 'underscore vs. hyphen' bug that was preventing
5030 the gtk-doc API docs from being automatically generated.
5033 * cspi/spi-listener.h
5035 * cspi/spi_accessible.c
5037 * cspi/spi_application.c
5038 * cspi/spi_component.c
5039 * cspi/spi_editabletext.c
5041 * cspi/spi_hypertext.c
5043 * cspi/spi_registry.c
5044 * cspi/spi_selection.c
5048 * docs/at-spi-docs.sgml
5049 * docs/at-spi-sections.txt
5051 Added and fixed up gtk-doc documentation in cspi.
5053 Interfaces now (fully) documented (subject to revision and enhancement):
5055 Event Listener Support
5057 AccessibleApplication
5061 AccessibleEditableText
5068 AccessibleRelationSet
5073 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5075 * at-bridge/bridge.c:
5076 Initial work for toolkit-level key snooper connection by bridge.
5081 New typedefs and fixes to support new namespacing, and cleaner
5082 separation of cspi bindings from libspi bonobo implementation.
5083 Removed inconsistent and extraneous Spi* namespace prefix that
5084 had crept into cspi headers.
5085 Lots of comment fixes that sed had missed.
5087 * cspi/spi-roletypes.h:
5088 * cspi/spi-statetypes.h:
5089 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5090 to AccessibleRoleType.
5092 * libspi/accessibleeventlistener.h:
5093 Fixed minor namespacing weirdness.
5095 * libspi/deviceeventcontroller.c:
5096 Reordered some internal API for device listeners.
5097 Changed the key registry final boolean to 'is_system_global'
5098 rather than 'is_synchronous', which is more descriptive of its
5100 Added spi_device_event_controller_new().
5101 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5103 * libspi/keystrokelistener.[ch]:
5104 Namespaced KeystrokeListener to SpiKeystrokeListener.
5105 Changed uses of keymasks to use SPI_ prefix, and did other
5108 * libspi/keymasks.h:
5109 Namespaced keymask constants with SPI_ prefix.
5111 * libspi/registry.c:
5112 Some warning fixes, and knock-on fixes from namespace changes.
5115 Added rules for accessx-gui test program.
5117 * test/accessx-gui.c:
5118 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5119 utility. It doesn't actually use at-spi, but it's still cool and
5122 * test/keysynth-demo.c:
5126 Fixes so that these test clients work properly with the namespaced
5127 libraries. (Incompletely tested for technical reasons, fixes may follow)
5130 2001-11-13 Michael Meeks <michael@ximian.com>
5132 * libspi/application.c
5133 (impl_accessibility_application_get_version),
5134 (impl_accessibility_application_get_toolkit_name):
5136 (impl_accessibility_application_set_id),
5137 (impl_accessibility_application_get_id): remove
5138 redundant casting code.
5140 * libspi/action.c (impl_getDescription): fix warnings.
5142 * libspi/accessible.c
5143 (impl_accessibility_accessible_get_parent),
5144 (impl_accessibility_accessible_get_child_at_index),
5145 (impl_accessibility_accessible_get_state),
5146 (impl_accessibility_accessible_get_relation_set):
5147 warning fixes & include action.h
5149 2001-11-13 Michael Meeks <michael@ximian.com>
5151 * *.[ch] fix bits I screwed up:
5153 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5154 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5156 2001-11-13 Michael Meeks <michael@ximian.com>
5158 * *.[ch] Namespace libspi into spi_ and Spi.
5160 2001-13-11 Michael Meeks <michael@ximian.com>
5162 * Makefile.am: dist & install at-spi-1.0.pc
5164 * libspi/Makefile.am: install into at-spi-1.0
5166 * idl/Makefile.am (idldir): install into at-spi-1.0
5168 * at-spi-1.0.pc.in: add.
5170 * configure.in: build it.
5172 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5174 * test/keysynth-demo.c:
5175 Use a 'realize' signal-handler to set the WM properties for
5176 the virtual keyboard, rather than making it a "POPUP" type
5177 override-redirect window (thanks to anders carlsson for that
5180 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5183 * test/keysynth-demo.c:
5184 Added new test of key synthesis, which creates a simple
5185 (mouse-operated) onscreen keyboard. It inserts key events into
5186 the currently-focused window, thus it does not grab keyboard focus
5189 * cspi/spi_registry.c:
5190 Added C binding for AT-SPI generateKeyEvent.
5192 * libspi/deviceeventcontroller.c:
5193 Added call to XFilterEvent so that key listener works with XIM (we
5194 hope). Added event_synth_type to generateKeyEvent, so that we can
5195 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5196 synthesize a press/release pair for KeySyms.
5198 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5200 * libspi/Makefile.am:
5201 * registryd/Makefile.am:
5202 (temporary) hack to include libXtst in libspi and registryd.
5203 (Needed for keystroke synthesis, see below).
5206 Improved API for registerKeystrokeListener, in accordance with
5207 discussions with Gnopernicus team and X server research.
5209 * libspi/registry.c:
5210 * libspi/deviceeventcontroller.c:
5211 * libspi/accessible.c:
5212 * libspi/keystrokelistener.c:
5213 Changes and fixes to support keylisteners for potentially
5214 consumed key events (that is, 'passive grabs').
5215 Added implementation for generateKeyEvent() [untested].
5218 Changes to registerKeystrokeListener() API, as above.
5219 Added deregisterGlobalEventListenerAll(), and
5220 deregisterKeystrokeListener(), which are needed for clean exit of
5222 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5223 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5225 * cspi/spi_registry.c:
5226 Added implementations of function prototypes mentioned above.
5228 * registryd/registryd.c:
5229 Added the key listener event source as a g_timeout(), to allow
5230 receipt of key events that are not caught by GDK (since GDK
5231 doesn't support passive keygrabs, this was necessary).
5234 Changed to attach a keylistener to 'Alt' keys, and
5235 respond to the following keycommands: Alt-M (toggle magnifier);
5236 Alt-F (toggle speech); Alt-Q (quit).
5237 Added an exit routine to deregister the listeners, and a key
5238 listener that prints some key info to the console when a key
5239 matches the listener mask (and is thus received by the listener).
5241 * util/idl/Magnifier.idl:
5242 Changes to magnifier API to support multiple zoom regions,
5243 non-uniform scaling in x and y, markDirty, and a host of other
5244 features that would be useful to magnification.
5247 * util/mag_client.c:
5248 * util/mag_client.h:
5249 * util/mag_control.c:
5251 Source code changes to support the above IDL changes.
5254 As above, and also changes to use a (slower) generic conversion
5255 path for colormap conversions, since the fast RGB conversions have been
5256 reported to fail for 16-bit displays.
5258 2001-10-26 Michael Meeks <michael@ximian.com>
5260 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5262 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5264 * at-bridge/Makefile.am: fix LDFLAGS.
5266 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5268 * at-bridge/bridge.c:
5269 Re-worked listeners for toolkit events, now we have signal
5270 and property listeners. Added a private method
5271 register_atk_event_listeners(), which registers with the
5272 various atk and gtk signals we need to monitor in order to emit
5274 Added emission hook for AtkObject:property-change events, to
5275 support the 'property listeners'.
5276 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5279 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5280 which emit warnings and exit, respectively, if CORBA errors occur
5281 during remote calls, and we now use these methods to check most of
5282 our CORBA calls in the C bindings.
5284 * cspi/spi_accessible.c:
5285 Changed AccessibleSelection_refSelectedChild() to
5286 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5287 now increment refcounts.
5289 * cspi/spi_component.c:
5290 Fixed some long pointer casts (dangerous!) to pass pointers to
5291 CORBA_longs of the proper type to the CORBA stubs, and copy the
5292 data into the longs that were passed into the C bindings code.
5294 * at-bridge/bridge.c:
5296 * libspi/accessible.c:
5297 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5298 hyperlinks, AtkHyperlink is an object type.
5300 * libspi/application.c:
5301 Added various conversions to and from "generic" event types and
5302 atk-specific types; this is really part of the 'bridge'
5303 implementation but is valid for all AtkObject-based accessibility
5306 * libspi/editabletext.c:
5307 Fixed nasty bug wherein editable text's finalize method was
5308 unref'ing tha AtkObject reference that the text parent class was
5309 about to unref _again_. There was also a nasty inheritance bug
5310 that meant that the AccessibleEditableText class was corrupt.
5312 * libspi/selection.c:
5313 Provided implementations for some selection API that was broken.
5315 * idl/Application.idl:
5316 Added registerObjectEventListener () method.
5319 Fixed a number of return values that were Bonobo_Unknowns from
5320 bonobo_object_corba_objref(), which I
5321 forgot to dup before returning. Changed instances of
5322 bonobo_object_corba_objref (bonobo_object(o)) to
5323 BONOBO_OBJREF(o), for concision and clarity.
5325 2001-10-13 Louise Miller <louise.miller@sun.com>
5327 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5328 idl/Event.idl, idl/Registry.idl
5329 Changed these files to include Bonobo_Unknown.idl instead
5332 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5334 * libspi/component.c libspi/component.h:
5335 Fixed typo. Added assertions for object checks in
5336 AccessibleComponent code.
5338 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5340 * idl/Accessible.idl:
5341 Added 'isEqual (Accessible *object)'
5342 method for Accessible. (Not Yet Implemented).
5345 Changed signature of registerKeystrokeListener() to
5346 take a KeySet and KeyEventSeq so that specific keys and event
5347 types could be requested for monitoring, and added a flag
5348 is_synchronous so that either synchronous or asynchronous
5349 notification could be requested. (However this is not all
5350 implemented yet). This also meant adding two new typedefs,
5351 KeyEventSeq and KeySet.
5354 Added two new relations, RELATION_TOOLTIP_FOR and
5355 RELATION_LEAFNODE_OF.
5358 Added new state, STATE_HAS_TOOLTIP.
5360 * libspi/text.c, editabletext.c:
5361 Added new assertions to all casts of bonobo-objects from
5362 CORBA servants, to prevent Text API calls on non-text objects.
5363 Changed suspect casts of int-pointer types, so that we
5364 always send a valid CORBA_long pointer to the CORBA APIs that use
5365 in/out long parameters. We then have to copy from the CORBA_long
5366 into the regular long or int for return to the C bindings, or
5367 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5370 * libspi/deviceeventcontroller.c:
5371 Cleaned these sources up.
5373 Changed return type for getCharacterAtOffset to
5374 CORBA_unsigned_long, to allow for 32-bit characters.
5377 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5381 Fixed 'make dist' so that distro compiles...
5382 * libspi/keymasks.h:
5384 * cspi/spi-listener.c:
5385 KeystrokeListenerCB now returns a boolean.
5387 Added KeyEventType struct, and KeyStroke.
5388 Also added createKeystrokeListener(),
5389 KeystrokeListener_addCallback(),
5390 KeystrokeListener_removeCallback(), and added a keymask to
5391 registerKeystrokeListener().
5392 * cspi/spi_accessible.c:
5393 Changed numerous return types for interfaces from
5394 AccessibleComponent to Accessible<InterfaceName>; this was
5395 probably a cut-and-paste error.
5397 Implementations of new KeystrokeListener api (from spi.h,
5400 Changes to key modifier mapping.
5401 Created ControllerEventMask struct.
5402 Made DeviceEventController derive from Bonobo::Unknown.
5404 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5405 * libspi/deviceeventcontroller.c:
5406 Added a number of new internal (private) methods.
5407 * libspi/editabletext.c:
5408 * libspi/editabletext.h:
5409 Fixed a number of bugs related to the fact that
5410 editabletext inherits from text. Fixed the EditableText struct,
5411 the init() call, and use correct casts when calling Text methods
5412 from an EditableText object. Removed (duplicate) atko from the
5413 EditableText structure, we use the one in the parent Text
5414 structure via the casts mentioned above.
5415 * libspi/keystrokelistener.[ch]:
5416 * libspi/registry.c:
5417 Changes in support of keyboard handling (above).
5419 Keyboard handling, though partly functional, is still not
5420 recommended for at-spi client use as there is considerable
5421 work yet to be done.
5424 Changed some places where pointers to various int types
5425 are cast to be pointers to CORBA_long types and vice-versa:
5426 pointer casting is not safe so we pass pointers of the correct
5427 types and then cast the result before putting it into the target
5430 * libspi/text.h: minor typos corrected.
5432 We now speak not only the name of a Text element, but the
5433 first sentence of its content, when it receives focus.
5434 I also changed the text compression to 75% from 50%.
5435 * util/Accessibility_Util.server.in:
5436 Changed the default magnifier type to be a 3x vertical
5437 splitscreen magnifier (was previously a 2x horizontal one).
5439 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5441 * libspi/keystrokelistener.h:
5442 * libspi/keystrokelistener.c:
5443 Initial functional implementations of KeystrokeListener.
5446 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5448 Fixed string handling for NULL strings in libspi.
5449 Added spi_freeString to free strings returned by C bindings.
5451 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5453 * libspi/keystrokelistener.h:
5454 * libspi/keystrokelistener.c:
5455 Began (no-op) implementations of KeystrokeListener
5457 * libspi/deviceeventcontroller.c:
5458 * libspi/deviceeventcontroller.h:
5459 Began creating implementations of DeviceEventController,
5460 to handle keystroke and mouse event listening and
5462 * libspi/accessible.c:
5463 Stubbed-in the implementations for
5464 Accessibility_Accessible_getState and
5465 Accessibility_Accessible_getRelationSet.
5466 * libspi/registry.c:
5467 Improved de-registration process and fixed some bugs,
5468 deregistration now works correctly.
5470 Added initialization of applications list (to NULL).
5472 Reduced speech compression from 0.5 to 0.7, for demo.
5473 Changed call to gdk_window_set_decorations()
5474 to gtk_window_set_decorated().
5475 * at-bridge/bridge.c:
5476 Bridge now deregisters when app exits, via
5477 registration of a cleanup function
5478 with the g_atexit() call.
5479 Required making 'app' static, renamed 'this_app'.
5480 Fixed broken use of bonobo_init, passing argv wrongly.
5482 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5486 Created a new directory for
5487 accessibility-related utilities, primarily for
5488 testing and demo purposes, but with possible
5495 Onscreen magnifier utility that
5496 is implemented as a bonobo service.
5498 * util/mag_client.c:
5499 * util/mag_client.h:
5500 Client-side support (simple C bindings)
5501 for Magnification service
5503 * util/mag_control.c:
5504 Client program example for
5505 Magnification service
5507 * util/Accessibility_Magnifier.server.in:
5508 Bonobo-activation file for the
5509 Magnification service.
5512 * util/idl/Magnifier.idl:
5513 IDL defining the bonobo Magnification
5517 Modifications to use the bonobo-activated magnifier
5518 above, in place of trying to connect to an existing
5519 magnifier that uses socket-listening IPC.
5521 If env variable MAGNIFIER is set, a magnifier service
5522 will be started if one does not exist.
5524 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5526 * at-bridge/bridge.c:
5527 applied patch from Marc to build and run
5528 against new glib and gtk+ (seemed like a change
5529 to bonobo_init signature was made ?)
5531 made festival-server support turned off by default.
5532 Added support for a simple magnifier (off by default)
5533 which will be added to a 'util' directory later.
5534 * at-bridge/Makefile.am:
5535 Changed "application.h" header from a 'source'
5536 to a 'dependency' of libat-bridge.
5538 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5547 Added interface implementation c files to list of
5548 includes so they are included in libcspi.
5551 Changed prototype of AccessibleAction_doAction to return a
5553 Changed prototype of AccessibleTable_getCaption to
5554 return an Accessible.
5555 Changed prototype of AccessibleTable_getSelectedRows
5556 and AccessibleTable_getSelectedColumns to
5557 return a long (returns the number of selected rows
5558 or columns respectively).
5559 Changed name of AccessibleText_refRunAttributes to
5560 AccessibleText_getAttributes.
5561 Changed prototype of AccessibleText_getCharacterExtents to
5562 return a void rather than a boolean.
5563 Added support for a AccessibleCoordType parameter
5564 specifying what type of coordinates are desired.
5565 Added an AccessibleCordType parameter to
5566 AccessibleText_getPointAtOffset.
5568 * cspi/spi_accessible.c:
5569 Added code to return the outstanding interfaces from
5570 Accessible_queryInterface.
5572 * cspi/spi_action.c:
5574 Corrected call to getNActions to call the c binding
5577 * cspi/spi_editabletext.c:
5579 Changed name from setRunAttributes to setAttributes.
5581 * cspi/spi_hyperlink.c:
5583 Changed call to getNAnchors to correctly call the c
5584 binding for an attribute.
5586 * cspi/spi_hypertext.c:
5588 Changed getImageDescription to correctly call the
5589 binding for an attribute.
5591 * cspi/spi_selection.c:
5592 Changed getNSelectedChildren to correctly call the c
5593 binding for the attribute.
5594 Changed refSelectedChild to getSelectedChild.
5598 Changed getCaption to return an Accessible.
5599 Fixed calls which retrieve attributes.
5600 Changed refAt to getAccessibleAt.
5601 Changed getNSelectedRows and getNSelectedColumns to
5605 Changed getCharacterExtents and getPointAtOffset to accept an
5606 AccessibleCoordType.
5608 Changed calls which retrieve attributes.
5609 Changed refRunAttributes to getAttributes.
5614 * idl/Hyperlink.idl:
5615 Changed n_anchors attribute to nAnchors to keep naming
5616 convention consistent.
5619 Made Table inherit from Bonobo::Unknown.
5620 Added nSelectedColumns and nSelectedRows attributes.
5623 Made Value inherit from Bonobo::Unknown.
5625 * libspi/hyperlink.c:
5626 Change for nAnchors attributte name change.
5628 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5636 Added interface implementation c files to list of
5637 includes so they are included in libcspi.
5640 Changed prototype of AccessibleAction_doAction to return a
5642 Changed prototype of AccessibleTable_getCaption to
5643 return an Accessible.
5644 Changed prototype of AccessibleTable_getSelectedRows
5645 and AccessibleTable_getSelectedColumns to
5646 return a long (returns the number of selected rows
5647 or columns respectively).
5648 Changed name of AccessibleText_refRunAttributes to
5649 AccessibleText_getAttributes.
5650 Changed prototype of AccessibleText_getCharacterExtents to
5651 return a void rather than a boolean.
5652 Added support for a AccessibleCoordType parameter
5653 specifying what type of coordinates are desired.
5654 Added an AccessibleCordType parameter to
5655 AccessibleText_getPointAtOffset.
5657 * cspi/spi_accessible.c:
5658 Added code to return the outstanding interfaces from
5659 Accessible_queryInterface.
5661 * cspi/spi_action.c:
5663 Corrected call to getNActions to call the c binding
5666 * cspi/spi_editabletext.c:
5668 Changed name from setRunAttributes to setAttributes.
5670 * cspi/spi_hyperlink.c:
5672 Changed call to getNAnchors to correctly call the c
5673 binding for an attribute.
5675 * cspi/spi_hypertext.c:
5677 Changed getImageDescription to correctly call the
5678 binding for an attribute.
5680 * cspi/spi_selection.c:
5681 Changed getNSelectedChildren to correctly call the c
5682 binding for the attribute.
5683 Changed refSelectedChild to getSelectedChild.
5687 Changed getCaption to return an Accessible.
5688 Fixed calls which retrieve attributes.
5689 Changed refAt to getAccessibleAt.
5690 Changed getNSelectedRows and getNSelectedColumns to
5694 Changed getCharacterExtents and getPointAtOffset to accept an
5695 AccessibleCoordType.
5697 Changed calls which retrieve attributes.
5698 Changed refRunAttributes to getAttributes.
5703 * idl/Hyperlink.idl:
5704 Changed n_anchors attribute to nAnchors to keep naming
5705 convention consistent.
5708 Made Table inherit from Bonobo::Unknown.
5709 Added nSelectedColumns and nSelectedRows attributes.
5712 Made Value inherit from Bonobo::Unknown.
5714 * libspi/hyperlink.c:
5715 Change for nAnchors attributte name change.
5718 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5720 implementations-- made server implementations own AtkObject pointers
5721 rather than their respective AtkInterrface pointers to fix
5722 refcounting. AtkHyperlink is still broken.
5724 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5725 * cspi/spi_accessible.c:
5726 Added method Accessible_Role_getName(),
5727 and requisite string array (role_names).
5728 Added conversion string_from_corba_strin() call
5729 to Accessible_getName and _getDescription.
5730 * libspi/accessible.c:
5731 Added implementation for Accessible_getRole()
5733 Added festival support, used if environment variable
5736 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5738 * at-bridge/bridge.c:
5739 Now allocate Accessibility_Event using
5740 Accessibility_Event__alloc() instead of g_new0().
5741 * libspi/accessibleeventlistener.c:
5742 Initialize AccessibleEventListener->callbacks to NULL.
5743 Fixed accessible__event_listener_init() param, changed to
5744 "AccessibleEventListener *" type.
5745 Changed a bonobo_object_release_unref() call to
5746 Accessibility_Accessible_unref().
5747 * libspi/listener.c:
5748 Changed Bonobo_Unknown_unref to (equivalent)
5749 Accessibility_Accessible_unref.
5750 * libspi/registry.c:
5751 Changed bonobo_object_release_unref to
5752 Accessibility_Accessible_unref.
5754 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5757 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5758 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5759 spi-util.c spi-util.h
5760 Implementations for C bindings to remaining accessibility
5763 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5766 changed return value of Action from void to boolean to
5767 bring in line with ATK.
5770 Changed getText funcions to return "out" start and end offsets.
5771 Changed getAttributes to take and offset and return the start
5772 and end offset of the attribute run.
5773 Changed getOffsetAtPoint and getCharacterExtents to take an
5774 enum describing whether coordinates are window or screen.
5777 libspi/action.c libspi/action.h libspi/editabletext.c
5778 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5779 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5780 libspi/image.h libspi/selection.c libspi/selection.h
5781 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5782 libspi/value.c libspi/value.h
5783 Added server implementations for outstanding ATK interfaces
5784 not yet implemented.
5786 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5789 Added (missing) getName() method.
5790 Made nActions an attribute.
5791 * idl/EditableText.idl:
5792 Changed order of params in setAttributes.
5793 * idl/Hyperlink.idl:
5794 Removed getAnchor, added getURI.
5796 Changed attributes to methods, for efficiency
5797 (so that getting extents can be done in one call)
5798 * idl/Selection.idl:
5799 Changed nSelectedChildren to attribute, and re-indented.
5800 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5802 * idl/Text.idl: reformatted to match our coding style.
5803 (temporarily?) removed getRowColumnAtOffset().
5804 Changed text selection API to support multi-select and
5805 non-contiguous selections, as in ATK.
5806 * idl/Value.idl: changed some methods to attributes.
5808 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5810 * libspi/listener.c(impl_notify_event):
5811 BonoboUnkown_unref the source instead
5812 of bonobo_object_release_unref - the ORB
5813 handles the releasing.
5815 * configure.in: require ORBit-2.3.94 for
5818 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5820 Tagged CVS repository 'EA_1_0'.
5821 * README.EARLY_ACCESS:
5822 Alphabetized acknowledgements list, and
5824 Listed some known dependencies of at-spi.
5826 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5828 * docs/at-spi-docs.sgml:
5829 * docs/at-spi-sections.txt:
5830 * docs/at-spi-overrides.txt: (Added zero-length file)
5831 Documentation improvements - gtk-doc should build
5832 docs for all implemented C bindings now.
5835 * cspi/spi.c: (New file)
5836 * cspi/spi_event.c: (New file)
5837 * cspi/spi_registry.c: (New file)
5838 * cspi/spi_accessible.c: (New file)
5839 * cspi/spi_application.c: (New file)
5840 * cspi/spi_component.c: (New file)
5841 Split spi_main.c into six parts, and included them from
5842 "spi.c". This is a bit of a hack, probably temporary,
5843 but required by gtk-doc, apparently.
5845 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5848 * docs/at-spi-docs.sgml:
5849 * docs/at-spi-sections.txt:
5851 Initial checkins/modifications for gtk-doc generation.
5854 Added (missing) interface query methods to Accessible's C binding.
5856 Added GenericInterface type definition.
5858 Added query for AccessibleComponent interface to focus event handler.
5859 Added printout of bounding box for focussed component.
5860 * libspi/component.c:
5861 Added partial implementation for AccessibleComponent to C binding.
5862 * idl/Application.idl:
5863 * libspi/registry.c:
5864 * libspi/listener.c:
5865 * libspi/application.c:
5866 * libspi/application.h:
5867 Changed "ID" attribute type from string to long.
5869 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5873 Made method naming consistent: methods taking object args
5874 start with uppercase, other methods (except those using
5875 acronyms) start with lowercase. Underscores delimit between
5876 object names and method names:
5877 SPI_init() - uppercase since it starts with an acronym.
5878 getDesktopCount () - lowercase start since no object param0.
5879 Accessible_getName() - uppercase object type name, studlyCaps method
5883 Added gtk-doc documentation for all currently implemented
5884 methods in the C bindings API.
5886 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5888 * Makefile.am : changed build order to build test last.
5891 Changed "createEventListener" to "CreateEventListener".
5892 * libspi/accessibleeventlistener.c :
5893 Bugfix for addition of callbacks.
5894 * test/Makefile.am :
5895 * test/simple-at.c :
5896 Added new test that uses the C bindings API.
5898 * libspi/listener.c :
5899 * libspi/registry.c :
5900 * libspi/accessibleeventlistener.c :
5901 * at-bridge/bridge.c :
5902 Renamed member "target" of Accessibility_Event to "source",
5903 which is more descriptive.
5906 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5910 * cspi/Makefile.am :
5911 Added makefile support for at-spi/cspi directory.
5914 * cspi/spi-listener.h : (NEW FILE)
5915 Added support for/use of spi-listener.h.
5917 C bindings now build successfully, with no warnings.
5918 * libspi/accessibleeventlistener.h : (NEW FILE)
5919 * libspi/accessibleeventlistener.c : (NEW FILE)
5920 * libspi/Makefile.am :
5921 Added new object type "AccessibleEventListener"
5922 which inherits from Listener, and allows attachment
5923 of in-process callbacks (so that a client with a listening
5924 object instance can add functionality to the local
5925 implementation, dynamically).
5927 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5929 * libspi/accessible.c:
5930 Add implementation for get_index_in_parent().
5932 Added #include of "spi-roletypes.h", and
5933 added enumerated type AccessibleCoordType.
5934 Added definition for KeystrokeListener (function type).
5937 * cspi/spi-statetypes.h :
5938 * cspi/spi-roletypes.h :
5940 Added these headers, used by spi.h.
5942 Added code (NOTE: not yet built by make).
5944 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5946 * libspi/Makefile.am: generate imodule
5947 at the same time as other idl compiler
5950 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5951 * libspi/registry.c :
5952 * libspi/application.c :
5953 * idl/Application.idl :
5954 Made registration with toolkit an application method,
5955 which is required since each app has its own toolkit static
5956 environment. Thus the bridge must register for
5957 notification of toolkit events from each application in turn.
5958 Toolkit notifications are now successfully registered for, and
5959 sent to the listening at client.
5961 Changed toolkit event string to use hyphens rather than underscores.
5962 * libspi/listener.c :
5963 listner now gives more info in debug mode - it reports the
5964 name of the event received, as well as the name of the source.
5967 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5969 * libspi/registry.c :
5970 added more implementation for toolkit events.
5971 Fixed bug such that toolkit event registrations
5972 (via atk) use the whole event name string, not
5974 Removed a useless call to an ORBit_ method.
5975 * at-bridge/bridge.c :
5976 Removed unused local sbuf[] variable.
5978 We now register for Gtk:GtkWidget:button_press_event
5979 events as well as "focus:" events.
5981 Add some more API from Registry.idl that was missing,
5982 for keystroke listening, keystroke and mouse event
5983 synthesis, and enumeration of accessible desktops.
5985 2001-08-16 Michael Meeks <michael@ximian.com>
5987 * configure.in: use AM_GLIB_GNU_GETTEXT.
5989 * Makefile.am (SUBDIRS): kill intl.
5991 2001-08-15 Michael Meeks <michael@ximian.com>
5993 * registryd/Makefile.am: s/oaf/server/ relocate info file.
5995 * configure.in: upd.
5997 * configure.in: depend on a recent bonobo-activation that
5998 will find our server files ...
6000 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6002 * libspi/accessible.c : accessible_new() :
6003 Now we add the Component interface via bonobo_object_add_interface,
6004 if the contained AtkObject implements AtkComponent.
6005 * libspi/accessible.h : now include "component.h"
6006 * libspi/component.h :
6007 * libspi/component.c : added files - implementation of
6008 bonobo wrapper object for Accessibility/Component
6009 * libspi/listener.c :
6010 Added test code to check for Accessibility/Component:1.0
6011 interface and report whether it is implemented by the
6013 * libspi/registry.c :
6014 Now we check for not only the hash of the whole event
6015 string before relaying the event, we also check the
6016 "minor" event string (without the detail string).
6017 This allows event listeners to be registered against
6018 all events of a certain major+minor type, or just
6019 against a specific major+minor+detail type.
6020 * libspi/accessible.c :
6021 Added implementations for Accessible:get_parent(),
6022 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6023 * libspi/registry.c :
6024 * libspi/listener.c :
6025 Replaced calls to Accessibility_Accessible_ref() and
6026 Accessibility_Accessible_unref() with
6027 calls to bonobo_object_dup_ref() and
6028 bonobo_object_release_unref(), so that the CORBA object
6029 is dup-ed and released when relayed, as well as the bonobo object.
6031 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6033 * libspi/Makefile.am,
6034 registryd/Makefile.am,
6035 at-bridge/Makefile.am.
6036 test/Makefile.am, configure.in:
6037 reverse previous changes.
6039 * /idl/Image.idl: fix typo.
6041 * test/Makefile.am: put DEBUG_FLAGS
6044 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6046 * test/app.c: use argv[0] instead of
6049 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6051 * libspi/Makefile.am,
6052 registryd/Makefile.am,
6053 at-bridge/Makefile.am.
6054 test/Makefile.am, configure.in:
6055 cleanup, replace individual LIBS/CFLAGS with
6056 AT_COMMON_{LIBS|CFLAGS}.
6060 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6062 * configure.in, libspi/Makefile.am:
6063 Change IDL path checking for bonobo-activation
6066 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6068 * registryd/registry.c : separated event listeners to use
6069 3 separate lists (focus, window, toolkit). Began testing
6070 event names against hashes before relaying events.
6071 * test/at.c : now register for events of type "focus:"
6072 * test/app.c : now generate events of type "focus:"
6073 * at-bridge/bridge.c : register with ATK for focus events,
6074 and we now relay those focus events to any "focus:" listeners.
6075 This now works with the bridge as a GTK_MODULE when running test/at.
6076 * libspi/registry.c :
6077 * libspi/listener.c :
6078 now we ref event sources before propagating, and unref on receipt.
6079 * libspi/registry.c :
6080 some changes to internal structs, to support event typestring hashes.
6081 * text/app.c : changed the way the appname is generated.
6082 * cspi : added directory that will hold the C bindings library for
6083 non-CORBA/bonobo-savvy clients.
6084 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6085 * idl/Component.idl : added in parameter to indicate coord system for
6086 geometry-related calls.
6087 * idl/Hyperlink.idl : added readonly n_links attribute
6088 * idl/Image.idl : changed methods to attributes.
6090 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6092 * at-bridge/Makefile.am: link against
6093 ../libspi/libspi.la instead of -lspi.
6095 * at-spi/test/app.c: include
6096 bonobo-activation.h. Use a default appname
6097 if one is not provided.
6099 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6101 * idl/Registry.idl : temporarily changed register_Application
6102 to oneway, to work around issue with initial registration
6104 * idl/Application.idl : changed attribute "id" from readonly
6105 to read-write, since it needs to be assigned by Registry.
6106 * registryd/registryd.c : added call to set application id
6108 * registryd/registry.c : changed de-registration procedure to
6109 use CORBA_Object_hash() to find matching object ref in application
6110 lists and listener lists.
6111 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6112 began distinguishing between event types (work in progress).
6114 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6117 * libspi/application.c:
6118 Added implementations for get/set id, get_toolkitName,
6120 * registryd/registryd.c :
6124 Converted from use of OAF to bonobo-activation.
6125 * libspi/desktop.h :
6126 * libspi/desktop.c :
6128 Removed references to atksimpleobject, since base atkobject
6129 implementation now provides functionality we need.
6130 * libspi/atksimpleobject.c :
6131 * libspi/atksimpleobject.h :
6136 * at-bridge/Makefile.am
6137 * at-bridge/bridge.c
6140 Added directory "bridge" and contents, and added dependencies
6141 in Makefile.am/configure.in.
6142 Initial checkin of "at-bridge".
6143 This code is a GTK_MODULE which automatically registers
6144 GTK+ apps with the accessibility registry, using an object
6145 reference to the root ATK object.
6147 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6149 * po/Makefile.in.in: Remove. Again. If this
6150 doesn't get autogenerated - you need to update
6153 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6155 * po/Makefile.in.in: Add. Again.
6157 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6159 * libspi/accessible.c : added support for 'description' property.
6160 * libspi/accessible.c
6162 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6163 (since the two are now equivalent in libbonobo)
6171 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6172 Bonobo::Unknown as does Accessibility::Accessible.
6173 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6174 interface with Bonobo::Stream, since it was redundant with it.
6175 (The Stream returned by a StreamableContext object is expected to
6176 implement only a subset of Bonobo::Stream)
6178 2001-07-28 Anders Carlsson <andersca@gnome.org>
6180 * libspi/accessible.c (accessible_object_finalize): Change
6181 g_free to g_object_unref since the AtkObject is a GObject.
6183 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6185 * idl/Accessibility.idl: add new IDL files
6188 * idl/Action.idl: Definitions of actionable UI object
6189 * idl/Component.idl: Definitions of UI component geometry, etc.
6190 * idl/Hyperlink.idl: Defs of hyperlink behavior
6191 * idl/Image.idl: Def of accessible image
6192 * idl/Selection.idl: Definition of UI object with selectable children
6193 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6194 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6195 * idl/Text.idl: Interface defs for UI elements with complex textual content
6196 * idl/Value.idl: Definition of UI element that is a value controller or display
6198 2001-07-27 Michael Meeks <michael@ximian.com>
6200 * po/Makefile.in.in: remove autogenerated file from CVS.
6202 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6205 * idl/Registry.idl: include guard.
6207 * idl/Accessibility.idl: Add, and include all the other IDL
6210 * idl/*.idl: remove mass of pragmas etc.
6212 2001-07-26 Michael Meeks <michael@ximian.com>
6214 * registryd/Makefile.am (registryd_SOURCES): remove
6217 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6219 * libspi/.cvsignore, registryd/.cvsignore,
6220 test/.cvsignore: updated.
6222 * po/Makefile.in.in: gettext update.
6224 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6226 * initial CVS checkin
6228 2001-06-29 Michael Meeks <michael@ximian.com>
6230 * configure.in: add AM_CONFIG_HEADER to gen config.h