1 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
3 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
5 2003-07-10 Joel Brich <joel.brich@laposte.net>
7 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
9 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
11 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
13 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
15 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
16 resources allocated for AccessibleEvent. See cspi_event().
18 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
19 static variable streams to NULL.
21 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
22 Update so that AcessibleEvent_ref will work.
24 This fixes bug #116624.
26 2003-07-06 Jordi Mallach <jordi@sindominio.net>
28 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
30 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
32 * configure.in: Added "fr" (French) to ALL_LINGUAS.
34 2003-07-02 Christian Neumair <chris@gnome-de.org>
36 * configure.in: Added "de" (German) to ALL_LINGUAS.
38 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
40 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
42 2003-07-01 Miloslav Trmac <mitr@volny.cz>
44 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
46 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
48 * configure.in: Added "pl" to ALL_LINGUAS.
50 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
52 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
54 2003-06-30 Bill Haneman <bill.haneman@sun.com>
57 (get_action_from_servant):
58 Removed assertion that action is implemented on an AtkObject.
62 Aggregate AccessibleAction interface on the hyperlink object if
63 the object implements AtkAction. (This convention is used in
66 2003-06-30 Bill Haneman <bill.haneman@sun.com>
68 * configure.in: Revved to 1.3.5.
70 * registryd/Accessibility_Registry.server.in.in:
71 Marked up appropriate strings for translation.
73 * atk-bridge/bridge.c: Marked a couple of
74 user-visible warnings for translation. Questionable
75 whether they are really useful, but possibly so.
78 2003-06-28 Christian Rose <menthos@menthos.com>
80 * configure.in: Added "sv" to ALL_LINGUAS.
82 2003-06-26 Bill Haneman <bill.haneman@sun.com>
84 * registryd/registry.c:
85 (spi_registry_object_finalize): Unref the deviceeventcontroller.
86 (registry_defer_on_event): Defer focus: events, this is an
87 improvement to the patch for bug #108664.
89 * TODO: Update with 2.4/"Dev Complete" items.
91 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
93 * atk-bridge/bridge.c:
94 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
95 looks up signals once.
96 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
97 if doing registration.
98 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
99 when doing registration.
101 This fixes bug #115014.
103 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
105 * atk-bridge/bridge.c:
106 (atk_bridge_init): Add signal handler for children-changed:remove on
107 root when in a BonoboComponent.
108 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
109 for first toplevel only other incrememt variable toplevels.
110 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
111 application and remove listeners.
112 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
114 (spi_atk_deregister_event_listeners): New function which removes
116 (reinit_register_vars): New fuction which reinitializes variables.
118 This fixes bug #111578.
120 2003-06-13 Bill Haneman <bill.haneman@sun.com>
122 * configure.in: version 1.3.4.
124 * cspi/spi_accessible.c:
125 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
128 2003-06-13 Michael Meeks <michael@ximian.com>
130 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
132 * cspi/spi_main.c (cspi_peek_ev): impl.
134 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
136 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
138 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
140 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
141 SPI_ROLE_AUTOCOMPLETE
143 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
145 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
146 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
148 2003-06-11 Bill Haneman <bill.haneman@sun.com>
150 * libspi/streamablecontent.h:
151 * libspi/streamablecontent.c:
152 New files, provide implementation/wrappers for
153 Accessibility_StreamableContent.
155 * cspi/spi_streamablecontent.c:
156 Connected the C wrappers to the libspi C bindings.
157 (AccessibleStreamableContent_close): New method.
160 (AccessibleStreamableContent_close): New method, needed
161 since we have an "open, [seek], read, close" model in cspi.
163 2003-06-11 Bill Haneman <bill.haneman@sun.com>
165 Fix for #108664; Padraig's revision of my original patch.
167 * registryd/registry.h:
168 Added event queue list, is_queuing, and exit_notify_timeout
169 to the registry struct.
171 * registryd/registry.c:
172 (registry_init): Initialize new struct from registry.h.
173 (impl_registry_notify_event):
174 Filter events before notifying, in case some need to be
176 (registry_filter_event): New,
177 we defer certain incoming events (for instance
178 window:deactivate) because we may wish to hide
179 or reject them based on pending events. This is
180 mostly a workaround for bug #108664.
181 (registry_queue_event, registry_start_queue): New.
182 (registry_defer_on_event): Test event to see if it
184 (registry_reset_on_event): Returns TRUE if the
185 event should cause a queue reset.
186 (registry_discard_on_event): Returns TRUE if the event
187 should cause the previous queue contents to be discarded.
188 (registry_timeout_flush_queue): Flushes the pending event
189 queue if no reset/discard-triggering events have come in
190 within the timeout period.
191 (registry_emit_event): New.
192 (registry_clone_notify_context): New, used when queueing the
193 event notify contexts.
195 2003-06-10 Bill Haneman <bill.haneman@sun.com>
197 * configure.in: Version revved to 1.3.2, lt 0.9.2
198 Incremented ATK required version to 1.3.4.
200 * cspi/spi_registry.c:
201 (SPI_generateKeyEvent):
202 We now pass the keystring along if it's non-null.
204 * registryd/deviceeventcontroller.c:
205 (keysym_mod_mask): New method, returns modifier mask
206 required to generate a keysym from a given keycode.
207 (dec_synth_keysym): New method.
208 (dec_synth_keystring): New method.
209 (dec_get_modifier_state): New method.
210 (dec_lock_modifiers): New
211 (dec_unlock_modifiers): New.
212 (dec_keysym_for_unichar): New, rather brute-force
213 conversion from UCS-4 to X KeySyms. Only works for
214 Latin at the moment, with partial implementations for
215 Greek, Hebrew, and (incomplete) Katakana.
216 (impl_generate_keyboard_event): Now implement
217 "KEYSTRING" synthesis and implement "KEYSYM"
219 (keycode_from_keysym): Improved, passes a returned
220 modmask value now if the corresponding param is non-NULL.
222 Fixes bugs #92143 and #109776.
225 * test/keysynth-test.c:
226 New test program for key synthesis, to confirm fixes for
230 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
232 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
234 * cspi/spi_accessible.c (cspi_init_relation_type_table):
235 Add line for RELATION_POPUP_FOR
237 * docs/reference/cspi/tmpl/spi_relation.sgml:
238 Add relation SPI_RELATION_POPUP_FOR
240 * docs/reference/cspi/tmpl/spi_stateset.sgml:
241 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
243 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
245 * libspi/relation.c (spi_init_relation_type_table):
246 Add line for RELATION_POPUP_FOR
248 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
250 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
251 there are still windows which have not been deleted and emit
252 window:deactivate, if necessary and window:destroy events.
253 This fixes bug #114370. The change on June 5th was not correct.
255 2003-06-09 Bill Haneman <bill.haneman@sun.com>
257 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
260 (SPI_dupString): Allow dup-ing of a string such that it's safe to
262 New methods for client exception handling and interception.
263 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
264 (SPI_exceptionHandlerPop): You guessed it...
265 (SPI_getSourceType): Return the type of object which offended.
266 (SPI_getExceptionCode): Return an enum code telling, possibly,
267 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
268 (SPIAccessibleException_getSource): get the source object for
269 exceptions that come from Accessibles, if SPIExceptionSourceType is
270 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
271 (SPIException_getDescription): New, returns a string description of
272 the problem. [Not yet a stable ABI, strings are not frozen]
274 * cspi/spi-private.h:
275 Added implementation details of opaque SPIException
279 Implementations of above. Also
280 (_cspi_exception_throw): new private method that
281 dispatches exceptions to handlers, called from cspi-bonobo.c
283 * cspi/bonobo/cspi-bonobo.c:
284 (cspi_check_ev): call _cspi_exception_throw.
285 Don't print a warning message if the exception has been
286 handled by _cspi_exception_throw.
288 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
290 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
291 there are still windows which have not been deleted and emit
292 window:deactivate, if necessary and window:destroy events.
293 This fixes bug #114370.
295 2003-06-03 Bill Haneman <bill.haneman@sun.com>
298 (cspi_accessible_is_a): Make non-fatal
299 if the object reference is dead.
301 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
303 * cspi/spi_main.c: #include <stdio.h>
304 * test/simple-at.c: ditto
305 * test/event-listener-test.c: ditto
306 * test/screen-review-test.c: ditto
308 2003-05-30 Michael Meeks <michael@ximian.com>
310 * test/test-simple.c (main): use CORBA_ORB_perform_work
311 instead of an unnecessary linc_ call.
313 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
315 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
316 Add SPI_STATE_INDETERMINATE.
318 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
321 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
323 * libspi/stateset.c (init_state_type_tables): Add support for
326 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
328 * configure: Update versions of atk and gail required.
329 This fixes bug #113268.
331 2003-05-02 Bill Haneman <bill.haneman@sun.com>
333 * configure.in: Revved micro version to 1.3.1 (because of build fix).
335 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
337 * libspi/Makefile.am:
338 Ensure headers are generated before being used by c sources.
340 2003-05-01 Bill Haneman <bill.haneman@sun.com>
343 Simplified lt versioning rules.
344 Incremented version to 1.3.0, to indicate that we're on the
347 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
349 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
350 Add MKDB_OPTIONS=--outtput-format=xml
352 * docs/reference/cspi/at-spi-cspi-docs.sgml
353 docs/reference/idl/at-spi-idl-docs.sgml:
354 Convert to Docbook XML.
356 This fixes bug #111793.
358 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
360 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
361 AcccessibleKeyEventType, AccessibleKeyMaskType.
363 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
365 * cspi/state-types.h: Add documentation for AccessibleState.
367 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
368 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
369 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
370 AccessibleComponentLayer.
372 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
375 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
377 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
378 Accessible. Add description of AccessibleEvent,
379 AccessibleEventListenerCB.
381 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
384 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
385 documentation. Add description of AccessibleKeystrokeListenerCB,
386 AccessibleKeyEventMask, AccessibleModifierMaskType,
387 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
388 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
390 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
393 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
396 This fixes bug #104730.
398 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
400 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
401 Set is_text field of Accessibility_DeviceEvent data structure.
403 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
404 is-text field of AccessibleDeviceEvent data structure.
406 This addresses part of bug #108666.
408 * registryd/devcieeventcontroller.c: Unset debug option.
410 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
413 (cpi_initial_relation_type_table): New function which initializes
414 mapping between Accessibility_RelationType and AccessibleRelationType.
415 (cspi_relation_type_from_spi_relation_type): New function which
416 translates an Accessibility_RelationType into an AccessibleRelationType.
417 (AccessibleRelation_getRelationType): Use
418 cpi_relation_type_get_spi_relation_type to return correct value.
419 (spi_state_to_corba): Return correct type for default case.
421 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
422 Use Accessibility_EventType instead of Accessibility_KeyEventType.
424 * cspi/cspi-bonobo-listener.c:
425 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
428 * libspi/accessible.c, libspi/action.c, libspi/application.c,
429 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
430 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
431 libspi/image.c, libspi/listener.c, libspi/selection.c,
432 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
433 registryd/desktop.c, registryd/registry.c:
434 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
436 * libspi/eventlistener.c
437 Remove semicolon after BONOBO_TYPE_FUNC.
440 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
441 (spi_init_relation_type_table): Initialize using correct type.
443 * registryd/desktop.c:
444 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
445 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
446 of Accessibility_KeyEventType.
448 * test/key-listener-test.c (report_tab_key_event): Use fprintf
451 * tests/simple-at.c, tests/screen-review-test.c:
452 Add include for <strings.h>.
454 * tests.stress-test.c:
455 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
457 These changes fix compiler warnings when using FORTE compiler on
458 Solaris; fixes bug #107479.
461 2003-04-10 Bill Haneman <bill.haneman@sun.com>
464 * configure.in: revved to 1.1.10
467 (SPI_KEYMASK_NUMLOCK): Added.
469 * registryd/deviceeventcontroller.c:
470 (spi_key_event_matches_listener): AND with a smaller
471 bitmask (as we should).
472 (spi_dec_translate_mask):
473 New method, sets the virtual NumLock modifier bit
474 if numlock is on. Eventually it can handle other virtual
475 modifier bits if needed, or other marshalling from
476 at-spi modifier masks to platform (X) masks.
477 (spi_dec_key_listener_new):
478 Call spi_dec_translate_mask to set up virtual mod bits
479 in the 'mask' field when creating a new listener struct.
480 (spi_dec_emit_modifier_event):
481 Set the virtual (i.e. NumLock) bits before emitting event.
482 (spi_controller_register_with_devices):
483 Query for the NumLock modifier 'physical' bit if Xkb is
484 present, for use in above methods.
488 2003-04-10 Bill Haneman <bill.haneman@sun.com>
490 * registryd/deviceeventcontroller.c:
491 (spi_keystroke_from_x_key_event):
492 Instead of checking to see if the keysym is
493 printable, check the string from XLookupString
494 if available, get the first unicode character from it,
495 and call g_unichar_isprint to determine whether the
496 is_text flag should be TRUE or FALSE.
500 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
502 * atk-bridge/bridge.c: Add support for extended events
503 * cspi/spi_event.c: Add documentation and implementation for
505 * tests/event-listener-test.c: Add tests for extended events.
507 This fixes bugs #100424 and #100426.
509 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
511 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
512 of LT_CURRENT. This fixes bug #89350.
514 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
516 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
517 number of signal parameter values before accessing them. This fixes
520 2003-04-01 Bill Haneman <bill.haneman@sun.com>
522 * configure.in: Fixed duplicate inclusion of -lspi.
523 * branched for gnome-2-2/HEAD.
524 [created tag "gnome-2-2"]
526 2003-03-07 Bill Haneman <bill.haneman@sun.com>
528 * configure.in: 1.1.9 release.
531 2003-03-07 Bill Haneman <bill.haneman@sun.com>
533 [needed by GOK, to fix bugs 107985 and 107988]
534 * registryd/deviceeventcontroller.c:
535 (spi_dec_clear_unlatch_pending):
536 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
537 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
538 (spi_dec_init_mouse_listener):Emit warning if mouse button
540 (spi_device_event_controller_forward_mouse_event):
541 Removed unnecessary parens from a conditional.
542 (global_filter_fn):Added TODO comment.
543 (impl_generate_keyboard_event):
544 Cancel a pending relatch if a 'delatching' key was
547 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
549 * atk-bridge/bridge.c:
550 Change atk_signal_child_changed to atk_signal_children_changed.
551 Reorganize code in spi_atk_bridge_signal_listener().
553 * test/event-listener-test.c:
554 Add children_changed_listener and report_children_changed_event()
555 to test AccessibleChildEvent_getChildAccessible.
557 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
559 * cspi/spi_event.c (cspi_internal_event_get_text): Change
560 g_strdup to CORBA_String_dup (bug #105291)
562 * test/event-listener-test.c (report_text_event): Add call to
565 2003-02-28 Bill Haneman <bill.haneman@sun.com>
567 * registryd/deviceeventcontroller.c:
568 (spi_keystroke_from_x_key_event):
569 Fix string and keysym return codes to match modifier state.
572 2003-02-28 Bill Haneman <bill.haneman@sun.com>
574 * registryd/deviceeventcontroller.c:
575 (spi_keystroke_from_x_key_event):
576 Fix segv due to improper use of isprint(c). [bug #107254]
578 2003-02-24 Bill Haneman <bill.haneman@sun.com>
581 (get_accessible_text_boundary_type):
582 Move default return value to (new) default case in switch.
583 (get_accessible_text_clip_type):
584 Move default return value to (new) default case in switch.
586 * libspi/application.c:
587 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
588 Remove unused methods.
589 (impl_accessibility_application_register_object_event_listener):
590 Remove unused methods.
593 Added #include of <math.h>.
595 * registryd/deviceeventcontroller.c:
596 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
597 we don't currently use this method.
598 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
600 (impl_generate_key_event):
601 Remove unused variables.
602 (impl_generate_mouse_event):
603 Initialize button to zero, just in case we get an invalid
604 input. Added support for mouse buttons 4 and 5.
605 (spi_device_event_controller_new):
606 Removed unused variable declaration for 'private'.
608 Added #include of <gdk/gdk.h>
610 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
612 * configure.in: Update to work when X is not installed in expected
613 location. Fixes bug #105836.
615 * atk-bridge/bridge.c
616 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
618 (spi_atk_register_event_listener): Add signal listener for
620 (spi_atk_bridge_signal_listener): Event event when link-selected
621 signal is emitted. (bug #104622)
623 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
624 on returned string. (bug #105291)
626 * test/event-listener-test.c: Add test for link-selected.
628 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
630 * atk-bridge/Makefile.am: Correct typo in previous commit.
632 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
634 * atk-bridge/Makefile.am: Allow for build directory to be different
635 from source directory
637 * registryd/Makefile.am: Allow for build directory to be different
638 from source directory
642 2003-01-29 Bill Haneman <bill.haneman@sun.com>
645 Fixed dependencies for libcspi so that libspi gets pulled in
646 properly. Fixes 104741.
650 Clean up inline docs a little.
652 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
654 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
655 This is done by implementing AtkComponent for SpiAtkDesktop, which is
656 the AtkObject within an SpiDesktop.
657 This addresses bug #101524.
659 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
660 Remove call to gdk_init().
662 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
663 so that Display is set when SpiDesktop is created.
665 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
667 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
668 This fixes bug #102830.
670 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
672 * test/test-simple.c: Update to take account of fact that GailButton
673 now implements AtkText.
674 (create_text_window): Set name on AtkObject for GtkEntry.
675 (validate_accessible): Check accessible name before calling test_text().
677 * libspi/Makefile.am: Fix problem with building outside of source
678 directory. Bug #98120.
680 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
681 typo in documentation comments. Bug #94275.
683 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
685 * libspi/text.c (impl_getBoundedRanges): Bug fix.
687 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
690 Add includes to avoid compiler warnings on Solaris.
691 (impl_getRangeExtents): Bug fix.
693 2002-12-17 Bill Haneman <bill.haneman@sun.com>
695 Fix for 100944, [API addition approved by Gman and murrayc].
702 * idl/Accessibility_Text.idl:
703 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
704 (Text::getRangeExtents): New method for efficient
705 bounds query of a text range.
706 (Text::getBoundedRanges): New method for efficient
707 clipping of text to bounding boxes.
708 (unImplemented7, unImplemented8):
709 Removed these padding methods to preserve bincompat.
712 (impl_getRangeExtents): implementation of new IDL.
713 (impl_getBoundedRanges): implementation of new IDL.
714 (SpiTextRect): Internal use struct.
715 (_spi_text_rect_union): internal method, calculates union of two
716 SpiTextRect bounding rects.
717 (_spi_text_range_seq_from_gslist): internal method, allows us
718 to build our sequence efficiently as a gslist then convert it
720 (_spi_bounds_contain): internal method, determines whether
721 a text character is "in" or "out" of a clip rect according to
722 values of TEXT_CLIP_TYPE.
723 (spi_text_class_init): Initialize the new methods in the epv.
726 (AccessibleTextClipType): New enum used by screen review api.
727 (AccessibleTextRange): New struct used by screen review api.
728 (AccessibleText_getRangeExtents):
729 cspi binding for Accessibility_Text_getRangeExtents.
730 (AccessibleText_getBoundedRanges):
731 cspi binding for Accessibility_Text_getBoundedRanges.
732 (AccessibleTextRange_freeRanges): convenience method.
735 (AccessibleText_getRangeExtents):
736 cspi binding for Accessibility_Text_getRangeExtents.
737 (AccessibleText_getBoundedRanges):
738 cspi binding for Accessibility_Text_getBoundedRanges.
739 (AccessibleTextRange_freeRanges): convenience method.
740 (get_accessible_text_clip_type): internal conversion method.
741 (get_accessible_text_ranges_from_range_seq): internal conversion method.
743 * registryd/deviceeventcontroller.c:
744 (spi_dec_mouse_check):
745 Improved behavior for mouse:abs events
746 [same granularity as mouse:rel events, and no
747 events when mouse is idle].
749 2002-12-16 Michael Meeks <michael@ximian.com>
751 * cspi/spi_accessible.c (spi_state_to_corba): rename.
753 * libspi/stateset.c (state_spi_to_atk): split out
754 ( fix several remote array bounds nasties )
755 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
756 (impl_remove): make safe from array bounds issues.
757 (spi_atk_state_from_spi_state): impl.
759 * libspi/stateset.h (spi_state_set_cache_is_empty):
760 add a set of wrapper defines to get layering right.
762 * cspi/spi_accessible.c: update state set stuff to
765 2002-12-14 Michael Meeks <michael@ximian.com>
767 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
768 to avoid 2 roundtrips to the registry per key event
769 (spi_atk_bridge_key_listener): upd.
770 (deregister_application): release the dec.
772 * registryd/registry.c (notify_listeners_cb):
773 bin lots of re-enterant complexity - we no longer
774 do a round-trip bonobo ref here, ensure that a single
775 listener's exception failure won't poison all other
777 (impl_registry_notify_event): bin obvious memory leak.
779 2002-12-13 Michael Meeks <michael@ximian.com>
781 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
782 init the ev so the error is meaningful.
783 (spi_atk_bridge_key_listener): ditto.
785 * cspi/spi_main.c (cspi_ev): init the ev so we start
786 with a clean slate, otherwise the first exception
789 * cspi/spi_text.c (get_accessible_text_boundary_type):
790 add a fallthrough for no warnings.
792 * cspi/spi_registry.c: prune unused warnings.
794 * cspi/spi_main.c (cspi_object_take): fix
795 mind-blowing brokenness ( by watching the compile
798 * cspi/spi_accessible.c (Accessible_getStateSet):
799 re-impl. to use an AtkStateSet.
800 (spi_state_type_from_accessible_state),
801 (init_state_table): bin these.
803 * libspi/stateset.c (spi_atk_state_set_from_sequence):
805 (atk_state_set_from_accessibility_state_set): here.
807 * cspi/spi_accessible.c (spi_state_to_atk): impl.
808 (AccessibleStateSet_contains, AccessibleStateSet_ref),
809 (AccessibleStateSet_unref, AccessibleStateSet_contains),
810 (AccessibleStateSet_add, AccessibleStateSet_remove),
811 (AccessibleStateSet_equals, AccessibleStateSet_compare),
812 (AccessibleStateSet_isEmpty): re-write to use a local
815 2002-12-13 Bill Haneman <bill.haneman@sun.com>
817 * configure.in: Revved to 1.1.7 (new keymask vals).
819 2002-12-10 Bill Haneman <bill.haneman@sun.com>
822 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
824 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
827 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
828 to compare two CORBA_TypeCodes.
829 (cspi_internal_event_add): Silence warning from FORTE compiler.
831 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
832 avoid implicit declaration of functions.
834 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
836 * atk-bridge/bridge.c:
837 (spi_atk_bridge_init_event_type_consts): Store signal id for
838 active-descendant-changed signal.
839 (spi_atk_register_event_listeners): Add signal listener for
840 active-descendant-changed signal,
841 (spi_atk_bridge_signal_listener): Move code in function
842 spi_atk-signal_emit_event() into this function.
843 Add support for active-descendant-changed
844 Update support for child-changed signal.
845 (spi_bridge_window_event_listener): Silence warning.
847 * libspi/spi_private.[ch]:
848 (spi_init_any_object): Change second parameter from CORBA_Object to
850 Omit call to CORBA_Object_duplicate().
851 Set CORBA_any's _value to CORBA_Object*.
853 2002-12-06 Bill Haneman <bill.haneman@sun.com>
859 (AccessibleEvent_ref, AccessibleEvent_unref):
860 New methods, for persisting an event outside the emission context.
861 Must be used if the new accessor methods are to be called
862 outside of the event listener's callback.
864 * cspi/bonobo/cspi-bonobo.c:
865 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
866 as second parameter instead of NULL, so we can call
867 cspi_check_ev afterwards.
870 (cspi_object_take): New internal method,
871 converts a CORBA_Object reference to a hard ref on
872 an Accessible if possible, returning NULL if the object
873 reference is invalid or an Accessible * otherwise.
876 (AccessibleEvent_ref):
877 Increment the event's internal private refcount, and
878 add the event's internal struct to an internal cache
879 if it's not already there.
880 (AccessibleEvent_unref):
881 Decrement the event's refcount and remove it from
882 the cspi event cache if refcount==0.
883 (cspi_event_compare): New private method.
884 Compares two event structs via their ids. Used
886 (cspi_internal_event_lookup): New private method.
887 (cspi_internal_event_check): New private method,
888 a 0-order sanity check for events to make sure their
889 private data is intact.
890 (cspi_internal_event_add, cspi_internal_event_remove):
891 New private methods for managiing the event cache.
893 * cspi/bonobo/cspi-bonobo-listener.c:
895 Initialize the new private data elements (id, magic, ref_count).
897 * atk-bridge/bridge.c:
898 (spi_atk_bridge_signal_listener):
899 Fixed bug #100530, passing wrong params to emission func.
901 * registryd/deviceeventcontroller.c:
902 (spi_dec_button_update_and_emit):
903 Fixed type in mask bit operations; fix for #99799.
905 2002-12-02 Bill Haneman <bill.haneman@sun.com>
907 Removed some of the more dangerous workarounds from
908 previous commit; they are only needed by GOK, which
909 in reality should be using another method to accomplish
910 the goals. So on reconsideration some of the workarounds
913 * registryd/deviceeventcontroller.c:
914 (spi_keycodes_contain, spi_dec_init_keycode_list):
915 Removed these methods, used only by a nasty hack to try
916 and detect whether a key synthesis should be allowed
917 to reset the XKB latch state or not. This code was only
918 required to work around an interaction between GOK,
919 button events, and XKB.
920 (impl_generate_key_event):
921 Removed hack at end of key generation that tried to
922 "do the right thing" if XKB latch keys were generated
923 in the midst of button press/release pairs.
926 Added a check for HAVE_XINPUT. Not normally used yet.
928 2002-11-25 Bill Haneman <bill.haneman@sun.com>
930 Workarounds and fixes for mouse event/XKB interaction.
932 * registryd/deviceeventcontroller.c:
933 (spi_keycodes_contain, spi_dec_init_keycode_list):
934 New internal methods.
935 (spi_dec_set_unlatch_pending):
936 Split the method that tells XKB to expect an
937 unlatch (and revert it) out of the rest of the
938 event handling code. This method is called by the
939 two mouse event handlers (the poll and the filter).
940 (spi_dec_update_and_emit, spi_dec_mouse_check):
941 New methods split from spi_dec_poll_mouse_moved.
942 The second one is now called from inside the filterFn
943 when an XKB delatch event is received, to determine
944 whether to revert the delatch or not.
945 (spi_poll_mouse_moved): Refactor; also we can now
946 properly handle the case where multiple button states
947 have changed between polling cycles and we didn't get
948 notified due to another client's grab.
950 Synchronize the server while handling an XKB notification.
951 Ugly, but apparently necessary to avoid nasty races.
952 Check the mouse state on receipt of an XKB latch change,
953 to decide whether to revert the latch or not. (Latches are
954 reverted if there is an immediately preceding mouse button
955 event that a client has consumed, in which case we don't want
956 the user to see the side-effect of the event).
957 (spi_device_event_controller_forward_mouse_event):
958 Check for modifier events and fire before resetting mouse_mask_state,
959 prevents losing modifier events.
961 (impl_generate_keyboard_event):
962 If we've just generated a keyboard event for a non-shift key,
963 we don't want to revert the pending XKB latch.
964 Otherwise, check the modifier state (via a call to
965 spi_dev_mouse_check) and set the relatch mask to
966 that state before returning.
968 2002-11-24 Bill Haneman <bill.haneman@sun.com>
971 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
974 * atk-bridge/bridge.c:
975 (spi_atk_register_event_listeners):
976 Don't re-register for ATK events if the registry has died
977 and the app needs to re-register; the ATK listeners are in
978 process and doing so will cause duplicate emission.
980 * registryd/deviceeventcontroller.c:
981 (spi_poll_mouse_moved):
982 Reformat the source, detect and emit multiple button-change
983 events (i.e. if multiple buttons have changed between poll
985 Add code to detect mouse-down events even when the pointer
986 is grabbed; workaround for GOK bug 98420.
987 (spi_controller_register_with_devices):
988 Call XTestGrabControl with 'impervious' flag set to True,
989 allows us to synthesize events and query the pointer even during
990 an active grab by another client.
991 (spi_device_event_controller_forward_mouse_event):
992 Set the mouse_mask_state to the mouse_button_state from
993 the intercepted event, to synchronize the grab listener with
996 2002-11-20 Bill Haneman <bill.haneman@sun.com>
998 * cspi/spi_accessible.c:
999 (AccessibleRole_getName):
1000 Added necessary strings for making this (deprecated)
1001 method work with the new role types.
1002 (init_role_table, role_table):
1003 Added definition of SPI_ROLE_APPLICATION.
1005 * libspi/spi-roletypes.h:
1006 Added SPI_ROLE_APPLICATION.
1008 * idl/Accessibility_Role.idl:
1009 Added ROLE_APPLICATION.
1011 * docs/reference/cspi/at-spi-cspi-decl.txt:
1012 Added SPI_ROLE_APPLICATION to docs.
1014 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1016 * cspi/spi_accessible.c
1017 (cspi_init_role_table): Do not write beyond end of role_table.
1018 (Accessible_getRole): Use correct type for value returned by
1019 Accessibility_Accessible_getRole().
1021 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1022 beyond end of role_table. (This fixes bug #98269)
1024 * libspi/application.c: Add include file spi-private.h for
1025 definition of spi_init_any_nil.
1027 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1031 * libspi/spi-private.h:
1032 Added DGB() macro, and extern int _dbg declaration.
1034 * registryd/registry.c:
1035 (definitions) storage for _dbg.
1036 (spi_registry_init):
1037 Get environment variable "AT_SPI_DEBUG".
1038 (spi_registry_set_debug):
1039 New method, to initialize _dbg value.
1040 (spi_listener_struct_new, spi_registry_object_finalize):
1041 (notify_listeners_cb):
1042 Changed fprintfs to use DBG and g_warning().
1044 * registryd/deviceeventcontroller.c:
1045 (_deregister_keygrab, spi_controller_register_device_listener):
1046 Changed debug/warning messages to use DBG macro.
1048 * libspi/listener.c:
1049 (impl_notify_event):
1050 Changed warning messages to use DBG macro and g_warning().
1052 * atk-bridge/bridge.c:
1053 (atk_bridge_init, spi_atk_bridge_get_registry):
1054 (spi_atk_bridge_exit_func):
1055 (spi_atk_bridge_property_event_listener):
1056 Changed status, warning, and error messages to use
1057 g_warning, g_message, and DBG macros.
1060 Read the state of the AT_SPI_DEBUG environment variable
1061 and set a local '_dbg' accordingly.
1063 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1065 FIXES for 98836, 98842, other bugs.
1068 Revved to 1.1.4, interface-age=4, binary-age=4.
1070 * registryd/deviceeventcontroller.c:
1072 Fixed crasher bug in last_mouse_pos initialization.
1074 * registryd/registry.c:
1075 (desktop_add_application, desktop_remove_application):
1076 Added (and then commented out) some support for
1077 object context marshalling. [TODO]
1079 * atk-bridge/bridge.c:
1080 (spi_atk_bridge_event_context_create):
1081 Commented out object context creation until it can
1082 be properly tested and debugged.
1084 * registryd/registry.c:
1085 (impl_registry_notify_event):
1086 Fixed crasher bug, we were calling
1087 spi_re_entrant_list_foreach () with an empty list.
1089 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1091 * idl/Accessibility_Action.idl:
1092 * idl/Accessibility_Component.idl:
1093 * idl/Accessibility_Desktop.idl:
1094 * idl/Accessibility_Event.idl:
1095 * idl/Accessibility_Hyperlink.idl:
1096 * idl/Accessibility_Image.idl:
1097 * idl/Accessibility_Relation.idl:
1098 * idl/Accessibility_Selection.idl:
1099 * idl/Accessibility_State.idl:
1100 * idl/Accessibility_Value.idl:
1101 Updated unimplemented slot count to minimum of
1102 four for all interfaces, for ABI freeze.
1104 * idl/Accessibility_EditableText.idl:
1105 * idl/Accessibility_Text.idl:
1106 Updated unimplemented slot count to six
1109 * idl/Accessibility_Registry.idl:
1110 Updated unimplemented slot count to six
1111 (also for DeviceEventController),
1114 * idl/Accessibility_Table.idl:
1115 Updated unimplemented slot count to eight,
1118 * idl/Accessibility_Event.idl:
1119 Added CORBA_any "any_data" member to Event struct.
1121 * idl/Accessibility_Event.idl:
1122 Added CORBA_any "any_data" member to Event struct.
1124 * atk-bridge/bridge.c:
1126 atk_signal_text_changed, atk_signal_child_changed,
1127 signal ids queried from gtype system.
1128 (AtkBridgeEventContextType): New enum.
1129 (AtkBridgeEventContextData): New struct.
1130 (AtkBridgeEventContext): New struct.
1131 (atk_bridge_init_event_type_consts):
1132 New method, initializes type contants for comparison
1133 prior to emit_eventv.
1134 (atk_bridge_event_context_init): New method,
1135 initializes a CORBA_any from an AtkBridgeEventContext.
1136 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1137 initialize the event.any_data struct.
1138 (spi_atk_bridge_event_context_create): New method,
1139 creates an AtkBridgeEventContext from signal/event info.
1140 (spi_atk_bridge_event_context_free): New method.
1141 (spi_atk_emit_eventv): Changed to take an
1142 AtkBridgeEventContext parameter. We now initialize
1143 the event.any_data member prior to notifying the
1144 Registry, via the AtkBridgeEventContext.
1145 (spi_atk_bridge_property_event_listener):
1146 (spi_atk_bridge_state_event_listener):
1147 Match emit_eventv signature.
1148 (spi_atk_bridge_object_event_listener):
1149 Match emit_eventv signature, and create an
1150 event context from the event details.
1151 Free the event context afterwards.
1152 (spi_atk_bridge_window_event_listener):
1153 Create an event context, pass it to the
1157 (AccessibleEvent_getContextString):
1158 (AccessibleEvent_getContextObject):
1159 New methods, allow query of AccessibleEvent objects
1160 for more context details (via the "any_data" member
1161 of the Event struct, above).
1164 Definitions for AccessibleEvent_getContextString
1165 and AccessibleEvent_getContextObject.
1167 * cspi/spi_listener.h:
1168 (InternalEvent): New struct.
1171 (AccessibleEvent_getContextString):
1172 (AccessibleEvent_getContextObject):
1173 Implementations of new methods, for obtaining
1174 additional context information from some event types.
1176 * cspi/spi_registry.c:
1177 (SPI_registerGlobalEventListener):
1178 Added mention of active-descendant-changed event in docs.
1180 * cspi/cspi-bonobo-listener.c:
1182 Marshal the any into the AccessibleEvent via
1185 * libspi/spi-private.h:
1186 #include <orbit/orbit.h>
1188 (spi_init_any_string):
1189 (spi_init_any_object):
1190 New convenience function declarations.
1194 (spi_init_any_string):
1195 (spi_init_any_object):
1196 New convenience function implementations.
1198 * registryd/deviceeventcontroller.c:
1199 (spi_poll_dec_mouse_moved):
1200 (spi_device_event_controller_forward_mous_event):
1201 Initialize any_data member of event.
1202 (spi_deregister_controller_device_listener):
1203 Fix incorrect param pass which was preventing deregistration.
1205 * registryd/registry.c:
1206 (desktop_add_application):
1207 (desktop_remove_application):
1208 Add object data to event's any_data before dispatch.
1210 Fix for error messages from GAIL.
1212 * test/event-listener-test.c:
1213 Test new ContextString and "any_data" API:
1214 (report_text_event): New method query and output context string.
1215 (main): register a new text listener with report_text_event
1218 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1220 Fixes for bugs 98127 and 97914.
1221 * cspi/spi-roletypes.h:
1222 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1224 * cspi/spi-statetypes.h:
1225 Added SPI_STATE_MANAGES_DESCENDANTS
1227 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1228 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1229 * cspi/spi_accessible.c:
1230 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1231 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1232 Accessibility_STATE_MANAGES_DESCENDANTS
1233 * libspi/accessible.c:
1234 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1235 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1236 As requested by Bill, I also cleaned up the alignment.
1237 * libspi/relation.c:
1238 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1239 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1240 * libspi/stateset.c:
1241 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1242 Accessibility_STATE_MANAGES_DESCENDANTS
1243 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1244 Document changes reflecting modifications to roles.
1245 * docs/reference/cspi/tmpl/spi_relation.sgml:
1246 Document changes reflecting modifications to relations.
1247 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1248 Document changes reflecting modifications to states.
1250 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1253 Revved to 1.1.3, interface-age=3, binary-age=3.
1254 Added REBUILD macro.
1257 Removed accessx-gui from the tests, since we have a nice
1258 keyboard accessibility capplet now :-)
1260 * test/keysynth-demo.c:
1261 (increment_scan): removed do-nothing default: case,
1264 * test/visual-bell.c:
1265 (main) : removed do-nothing default: case,
1268 * cspi/spi_action.c:
1269 (AccessibleAction_getKeyBinding_):
1270 Documented keybinding string format.
1274 (AccessibleText_getAttributes):
1275 Documented the text attribute string format.
1276 It's changed to use semicolon delimiters also,
1277 to prevent clashes with CSS attributes, but the old
1278 trick of looking for ", " strings will still work
1279 (as unreliably as ever). Fix for bug related to 97916.
1282 Include <cspi/bonobo/cspi-bonobo-listener.h>
1283 Fixes build warning.
1284 (SPI_freeAccessibleKeySet):
1285 (AccessibleKeystrokeListener_addCallback):
1286 (AccessibleKeystrokeListener_removeCallback):
1287 Modify to use AccessibleDeviceListener API internally,
1288 instead of AccessibleKeystrokeListener.
1290 * idl/Accessibility_Event.idl:
1291 Added two more empty slots to EventListener (for a total of four).
1293 * idl/Accessibility_Accessible.idl:
1294 Added four empty slots to Accessible interface.
1296 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1298 * idl/Accessibility_Registry.idl:
1299 (KeyEventType, EventType):
1300 Marked KeyEventType as deprecated; it duplicates
1301 functionality of EventType, which has been extended to
1302 include Mouse-button events.
1303 (KeyEventTypeSeq): defined in terms of EventType.
1304 (registerDeviceEventListener, deregisterDeviceEventListener):
1305 New methods, for managing listeners to device events,
1306 which potentially may consume them.
1309 Added definition for AccessibleDeviceListener.
1311 * cspi/spi-listener.h:
1312 (enum AccessibleDeviceEventType):
1313 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1314 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1315 for backwards compat.
1316 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1317 and typedef'd AccessibleKeystroke to it for back-compat.
1318 (AccessibleDeviceListenerCB):
1319 New function prototype typedef.
1322 (AccessibleDeviceEventMask): New typedef.
1323 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1324 (AccessibleKeyMaskType):
1325 Set equivalent to AccessibleModifierMaskType for back-compat.
1326 (SPI_createAccessibleKeystrokeListener):
1327 (AccessibleKeystrokeListener_unref):
1328 Deprecated in favor of equivalent (better-named) new API below..
1329 keystroke listeners are like all device listeners.
1330 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1331 New API names for old features :-).
1332 (AccessibleDeviceListener_addCallback):
1333 (AccessibleDeviceListener_removeCallback):
1334 (SPI_registerDeviceEventListener):
1335 (SPI_deregisterDeviceEventListener):
1339 (SPI_createAccessibleKeystrokeListener):
1340 Use new preferred API, cspi_device_listener_new() and
1341 cspi_device_listener_add_cb().
1342 (AccessibleKeystrokeListener_removeCallback):
1343 Use new preferred API, cspi_device_listener_remove_cb().
1344 (AccessibleKeystrokeListener_unref):
1345 Use new preferred API, cspi_device_listener_unref().
1346 (SPI_createAccessibleDeviceListener):
1347 (AccessibleDeviceListener_addCallback):
1348 (AccessibleDeviceListener_removeCallback):
1349 Implementation of new API.
1351 * cspi/spi_registry.c:
1352 (SPI_registerDeviceEventListener):
1353 (SPI_deregisterDeviceEventListener):
1354 Implementation of new API. Fixed memory leak and removed need to
1355 allocate EventTypeSeq (thanks Michael for catching this).
1356 Squashed a wayward CORBA_exception_free that shouldn't get called.
1358 * cspi/bonobo/cspi-bonobo-listener.c:
1360 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1361 (cspi_key_event): renamed to cspi_device_event().
1362 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1363 Extended to handle mouse button events as well as key events.
1364 (CSpiKeystrokeListener):
1365 Class superceded by CSpiDeviceListener.
1366 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1367 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1369 * cspi/bonobo/cspi-bonobo-listener.h:
1370 (CSpiKeystrokeListener):
1371 Class superceded by CSpiDeviceListener.
1372 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1373 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1375 * libspi/Makefile.am:
1376 Replaced keystrokelistener.h and keystrokelistener.c
1377 with devicelistener.h and devicelistener.c; keystrokelisener.h
1378 stub retained for back-compat.
1380 * libspi/keystrokelistener.c:
1384 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1386 * registryd/deviceeventcontroller.c:
1387 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1388 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1389 (DEControllerPrivateData): Added xkb settings data.
1390 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1391 button release events (which can't be captured via XGrabButton).
1392 Don't dispatch via the 'normal' event mechanism if the device event was
1394 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1395 Handle the typeseq data in its new location (see above).
1396 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1397 New methods, for "generic" device listeners.
1398 (spi_controller_register_device_listener):
1399 Now handle mouse event listeners as well as key listeners.
1400 (spi_controller_notify_mouselisteners):
1401 New internal method.
1402 (spi_device_event_controller_forward_mouse_event):
1403 Now we notify mouse device listeners as well as generating the
1404 non-consumable "mouse:" events.
1406 We must check and restore the XKB
1407 modifier map if we consume the event, since the act of triggering
1408 a mouse event will normally reset the XKB latch. This is required for
1410 (spi_controller_register_with_devices):
1411 Load the XKB settings when registering, and register for XKB
1412 state notify events.
1413 (spi_key_eventtype_seq_contains_event):
1414 Renamed spi_eventtype_seq_contains_event, since it's used
1415 internally for all device event types now.
1416 (spi_key_event_matches_listener):
1417 Uses spi_eventtype_seq_contains_event now.
1418 (spi_device_event_controller_object_finalize):
1419 Free the private data and the XkbKeyboard struct.
1420 (impl_register_device_listener, impl_deregister_device_listener):
1421 Implementation of new IDL.
1422 (spi_deregister_controller_device_listener):
1423 New internal method.
1424 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1425 More efficient implementation, we don't have to create a new
1426 XkbControls structure every time we query.
1427 (spi_device_event_controller_class_init):
1428 Initialize the epv entries for the new IDL. Assign the
1429 "spi-dec-private" quark.
1430 (spi_device_event_controller_init):
1431 Initialize the private data.
1432 (spi_device_event_controller_forward_key_event):
1433 Removed a bogus CORBA_exception_free() call.
1435 * registryd/deviceeventcontroller.h:
1436 Replaced inclusion of keystrokelistener.h with
1439 * test/event-listener-test.c:
1440 (report_mouse_event):
1443 Added mouse-event device listener.
1445 * test/test-simple.c:
1446 (create_test_window):
1447 Fixed regression (we were instantiating a GtkRange,
1448 which is now an abstract class). Also fixed to match
1449 existing AtkRole names, this seems to have changed in ATK
1450 awhile ago; too late now I think, and the new
1451 mechanism is at least elegant and consistent with the
1452 glib enum "nick" APIs.
1454 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1456 * idl/Accessibility_Relation.idl:
1457 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1458 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1459 * idl/Accessibility_Role.idl:
1460 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1461 * idl/Accessibility_State.idl:
1462 add STATE_MANAGES_DESCENDANTS
1463 * test/event-listener-test.c:
1464 Added a listener for active-descendant events.
1466 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1468 * atk-bridge/bridge.c
1469 (atk_bridge_init): If application is Bonobo component wait until top
1470 level is added before registering
1471 (spi_atk_bridge_do_registration): New function which contains code,
1472 formerly in atk_bridge_init, to do application registration.
1473 (spi_atk_bridge_toplevel_added): Signal called when top level
1474 added to Bonobo component
1476 This fixes bug #83134.
1478 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1480 * registryd/deviceeventcontroller.c
1481 Fixed compilation error caused by calling gettimeofday()
1484 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1489 Added template for HAVE_XKB.
1492 Changes to check for XKB, and to set the HAVE_XKB #define if it
1495 * libspi/listener.c:
1496 ()impl_notify_event): Make failure to get event source name
1499 * registryd/deviceeventcontroller.c:
1500 (#include): include X11/XKBlib.h.
1501 (DEControllerPrivateData) : New struct.
1502 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1504 (dec_synth_keycode_press) (dec_synth_keycode_release):
1505 New methods; split the key synthesis code into these methods.
1506 They check XKB settings before determining the "time" values to
1507 pass to Xtest; this fixes bug #95828.
1508 (impl_generate_keyboard_event): Changed to use methods above,
1509 instead of callng Xtest directly.
1510 (spi_device_event_controller_init): Initialize new privae struct s
1512 (spi_device_event_controllr_object_finalize):
1513 Free the (new) private data.
1515 * registryd/deviceeventcontroller.h:
1516 Add new gpointer to end of struct data.
1518 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1521 Incremented revision to 1.1.2, SONAME is still '.so', library
1522 extensions are ".so.0.0.2".
1524 * registryd/deviceeventcontroller.c:
1525 FIXES FOR #93592 and #95940.
1526 (statics): renamed mouse_button_state to mouse_mask_state,
1527 added key_modifier_mask.
1528 (spi_dec_poll_mouse_moved):
1529 Added key modifier checks, and emit "keyboard:modifiers"
1530 events when the key modifiers currently in use change.
1531 Also generate "mouse:abs" events periodically, even if the mouse
1532 is stationary (should we?).
1533 Alternatively we could generate "mouse:abs" events for either all
1534 mouse movements, or every 'nth' mouse movement, or at the
1535 beginning and end of every "active" mouse period.
1537 * test/event-listener-test.c:
1538 (main): Added listener for "keyboard:modifiers" events.
1540 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1542 * libspi/keymasks.h:
1543 Added key mask #defines for mouse buttons; e.g.
1544 SPI_KEYMASK_BUTTON1, etc.
1547 Incremented dependency on ATK to version 1.1.0. (This dependency
1548 is probably premature but will soon be real enough).
1550 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1552 * libspi/hyperlink.[ch]
1553 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1554 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1557 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1562 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1564 * registryd/deviceeventcontroller.c
1565 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1566 events to be ignored.
1567 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1568 keyboard_mode so that XAllowEvents() can be called.
1572 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1574 * cspi/spi-accessible.c: Correct names of roles returned by
1575 AccessibleRole_getName(). Fixes bug #95055.
1577 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1579 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1582 * registryd/registry.c
1583 (desktop_remove_application: Write diagnostic message to stderr for
1586 (impl_accessibility_registry_deregister_global_event_listener):
1587 Correct size of lists array. This addresses bug #94555).
1589 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1591 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1594 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1596 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1599 * registryd/registry.c (impl_registry_notify_event): Remove
1600 unnecessary call to parser_event_type().
1602 * docs/reference/cspi/tmpl/spi_component.sgml:
1603 Add reference to SPI_LAYER_WINDOW.
1605 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1607 * registryd/registry.c
1608 (desktop_add_application): Remove leak.
1609 (desktop_remove_application): Remove leak.
1610 (parser_event_type): Remove leak.
1612 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1614 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1615 bogus call to CORBA_string_dup(). Also removed unnecessary
1616 g_string_dup/g_free calls.
1618 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1620 * registryd/deviceeventcontroller.c:
1621 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1623 * test/event-listener-test.c:
1624 main: commented out three redundant listeners, to reduce output
1625 noise. (They still are potentially useful for testing).
1628 2002-09-13 Michael Meeks <michael@ximian.com>
1630 * Update all the copyrights to include Ximian.
1632 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1634 * cspi/spi.h: add SPI_LAYER_WINDOW.
1636 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1637 add Accessibility_LAYER_WINDOW case.
1639 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1641 * libspi/component.c: (impl_accessibility_component_get_layer):
1642 add ATK_LAYER_WINDOW case.
1644 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1646 * configure.in: incremented micro version.
1648 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1650 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1653 Clarified and reworded our commit policy.
1656 Started an API "todo" addition list for 2.2.
1659 (impl_getSelection):
1660 Free char pointer from atk_text_get_selection, which was being leaked.
1662 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1665 Small revision to author acknowledgement.
1667 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1669 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1670 If signal has detail add it to the type of the event.
1673 2002-08-12 Michael Meeks <michael@ximian.com>
1675 * test/test-simple.c (global_listener_cb): bin bogosity.
1676 (test_keylisteners): disable, still doesn't work reliably,
1677 certainly not on my system anyway.
1679 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1680 don't leak a reference on the DEC. This round-trip
1681 fetching of the DEC per keystroke sucks, it should be
1684 * cspi/spi-private.h,
1685 * cspi/cspi-lowlevel.h,
1686 * cspi/bonobo/cspi-bonobo-listener.[ch],
1687 * cspi/bonobo/cspi-bonobo.c: get the copyright
1688 notices better - there is still a large amount of
1689 work in at-spi falsely attributed solely to Sun.
1691 * cspi/spi_main.c (cspi_object_ref): kill bogus
1692 hash lookup, just increment the ref.
1693 (SPI_freeString): make explicit the fact that we
1694 handle NULL strings just fine.
1695 (report_leaked_ref): obey coding standards.
1696 (cspi_object_hash, cspi_object_equal): kill retval.
1697 (cspi_object_release): only release if not on loan.
1698 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1699 (cspi_object_borrow, cspi_object_return): impl.
1701 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1702 use cspi_object_borrow / return.
1704 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1706 * cspi/bonobo/cspi-bonobo-listener.c:
1708 Don't call cspi_oject_new() because this is creating a new Accessible
1709 every single time that an event is fired. This causes ATs like at-poke
1710 to nolonger recognise the source of the event and thus ignore it.
1711 Re-use the object from the cache, ref it and then unref it after the
1712 listeners have been called.
1714 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1716 * test/event-listener-test.c:
1717 Added command-line options to disable mouse events (m) and
1720 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1722 * configure.in: Update required versions of ATK, GTK+ and GAIL
1724 * cspi-1.0.pc.in: Add dependency for X include files
1727 * cspi/bonobo/Makefile.am:
1728 Add $(X_CFLAGS) so that X include files
1729 are picked up even if not in standard place (bug #71686)
1731 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1733 * registryd/deviceeventcontroller.c: fix for 84261
1734 (spi_dec_mouse_moved):
1735 Added test of mouse button mask, so that we can detect mouse
1736 button release. Unfortunately we can't otherwise detect mouse
1737 button release events without consuming the mouse press event,
1738 because of the way XGrabButton works. This means that our mouse
1739 release events have a latency dependent on the polling period
1740 while the mouse button is down. At least in this case we only
1741 have to poll while the button is down, and not at other times.
1742 If the button masks don't match with what the last press event
1743 reported, we report the appropriate button release event.
1744 (spi_dec_ungrab_mouse):
1745 New method (not yet called).
1746 (spi_device_event_controller_forward_mouse_event):
1747 New method, sends mouse press event from GdkFilter.
1748 (spi_dec_init_mouse_listener):
1749 Added code to call XGrabButton, redirecting mouse button events to
1750 the root window and our Gdk event loop.
1752 Added code to filter mouse button events, and reordered.
1754 * test/event-listener-test.c:
1756 Added registration for mouse events of type "mouse:button".
1758 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1760 * registryd/deviceeventcontroller.c: partial fix for 84261
1761 (spi_dec_poll_mouse_idle):
1762 New method, a timeout which checks to see if the mouse
1764 (spi_dec_poll_mouse_moving):
1765 A timeout to be called when mouse motion is underway.
1766 (spi_dec_poll_mouse_moved):
1767 A method which fires an event if the mouse has moved, and reports
1768 whether or not it did so.
1769 (spi_dec_init_mouse_listener):
1770 A method which sets up the timeouts above.
1771 (spi_device_event_controller_new):
1772 Now calls spi_dec_init_mouse_listener.
1774 * registryd/registry.c:
1775 (spi_registry_init):
1776 Now we initialize the device event controller when the registry is
1777 initialized, instead of waiting until a client has requested a key
1778 event notification; this is because we need the event controller
1779 for mouse events, but the mouse event registration API is a
1780 "registry" call and doesn't explicitly call the
1781 deviceeventcontroller.
1782 We now report mouse motion events with a 100 ms idle latency and
1783 a 20 ms granularity when motion is in progress.
1785 * test/event-listener-test.c:
1787 We now register the "detail listener" for events of type
1788 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1789 delivered only for the first mouse event received, and thereafter
1790 "mouse:abs" events are delivered.)
1792 * cspi/spi_registry.c:
1793 DOCS: Documented the above mouse event typestrings.
1795 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1797 Happy Summer Solstice...
1799 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1800 (spi_controller_notify_keylisteners):
1801 Changes to remove a listener from the listener list, freeing its
1802 open keygrabs, if a notification to that listener fails. This
1803 means that although a dead listener can continue to hold a passive
1804 keygrab, a maximum of one dispatch to such a listener can fail
1805 before the listener is removed from the list, thus the keygrab
1806 will be released on the next occurrence.
1807 As part of this fix:
1808 (spi_notify_keylisteners):
1809 Renamed to spi_controller_notify_keylisteners, as the controller
1810 instance must now be passed as an argument.
1811 The copied 'notify' GList is now a list of DEControllerKeyListener
1812 objects, since we need more than just the CORBA reference if a
1813 notify fails and we need to deregister the listener.
1814 (impl_notify_listeners_sync):
1815 (impl_notify_listeners_async):
1816 (spi_device_event_controller_forward_key_event):
1817 Modify use of notify_keylisteners in accordance with above
1819 (spi_deregister_controller_key_listener):
1820 New method introduced by refactoring, from
1821 impl_deregister_keystroke_listener.
1822 (impl_deregister_keystroke_listener):
1823 Call spi_deregister_controller_key_listener.
1824 (spi_key_listener_clone):
1825 New method to copy a key listner without doing a 'ref' on the
1826 remote object instance; used to create a notifier list.
1827 (spi_key_listener_data_free):
1828 New method, frees data without unreffing the source.
1830 (spi_key_listener_clone_free): new method.
1831 (spi_key_listener_free):
1832 refactored to call spi_key_listener_data_free.
1834 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1836 * registryd/registry.c: [fix for bug 86048]
1837 (notify_listeners_cb):
1838 Clear CORBA system exceptions which occur when notifying
1839 listeners, before returning to the source of the original event,
1840 since the event source doesn't care if the relayed notify failed.
1841 In other words, don't complain to the atk-bridge if the registry
1842 could not notify all its listeners, that's no fault of the
1843 application and thus should not appear to be an error from the
1844 application's perspective.
1846 * cspi/spi_main.c: [fix for bug 85980]
1848 Replaced use of bonobo_object_dup_ref with call to the wrapper
1849 method, csou_dup_ref (); this silences a compiler warning and
1850 provided more portability.
1852 Ping the registry before return, and restart if necessary.
1854 * cspi/bonobo/cspi-bonobo.c:
1856 New internal method.
1858 Fixed this method to return an object reference, as it should have
1861 * cspi/cspi-lowlevel.h:
1862 Added internal definition for cspi_ping() and fixed
1863 return type of cspi_dup_ref().
1866 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1868 * atk-bridge/bridge.c: [fix for bug 85305]
1869 (spi_atk_bridge_register_application):
1870 New method where the initial application registry calls have been
1871 moved; it allows an application to re-register in response to
1872 certain error conditions (such as a registry restart, see below).
1874 Moved some initialization code to the method
1875 spi_atk_bridge_get_registry, below.
1876 (spi_atk_bridge_get_registry):
1877 New, private accessor function for the Accessibility_Registry
1878 instance. If the registry has not been started before, or has
1879 died (as detected by failure of a CORBA exception), it is
1880 restarted before return, and spi_atk_bridge_register_application
1881 is called again to register with the new bridge instance.
1882 (spi_atk_emit_eventv):
1883 Set registry_died on error; use spi_atk_bridge_get_registry () to
1884 access the registry.
1886 * registryd/registry.c:
1887 (impl_accessibility_registry_register_global_event_listener):
1888 Set listener's event_type_quark to etype.minor instead of
1889 etype.major (fix for bug 84856).
1891 * test/event-listener-test.c:
1892 (report_detail_event):
1893 Change the output string so that user/tester can tell that the
1894 'detail listener' was called instead of the 'generic listener'.
1896 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1898 Fixes for bugs 84900, 84908, 84897, 84898.
1903 Revved version to 1.1.0
1904 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1905 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1907 * idl/Accessibility_Registry.idl:
1908 (EventListener::notifyEvent):
1909 Removed 'oneway' directive after extensive consulation with
1910 ORBit2 team and others. This means also that unref() of the event
1911 source can and should be done synchronously after emission, rather
1912 than remotely in the client, after servicing the notify call on
1915 NOTE: This change speeds up listener performance considerably, but
1916 introduces new latency on the application side. We may want to
1917 add an event queue to the atk-bridge.
1919 * atk-bridge/bridge.c:
1920 (spi_atk_bridge_focus_tracker):
1921 Do a local unref() on the event source after emission.
1923 * registryd/registry.c:
1924 (desktop_remove_application):
1925 Do an unref() on the event source after emission.
1926 (desktop_add_application):
1927 Do an unref() on the event source after emission.
1928 (notify_listeners_cb):
1929 When relaying an event, don't automatically add the event source
1930 to the local object cache, just CORBA_dup it instead. Likewise,
1931 if this method reenters, release the ref rather than calling
1933 (impl_registry_notify_event):
1934 No longer call remote unref() on the event source after dispatch.
1936 * libspi/eventlistener.c:
1937 (impl_accessible_event_notify_event):
1938 Removed remote unref ()
1940 * cspi/bonobo/cspi-bonobo-listener.c:
1942 We now call cspi_object_new() instead of cspi_object_add() on
1943 receipt of an event; thus we only have an implicit object ref
1944 while the cspi_event method is being executed. If we need to keep
1945 a reference to the object, the listener must call ref() on the
1946 object. Thus also we don't need to call cspi_object_unref() after
1947 invoking the listener callbacks in this method.
1951 New internal API for creating a new cspi object, without adding it
1952 to the object cache.
1954 Now uses cspi_object_new() to create the cspi object instance.
1956 Now checks to see if the object is in the internal object cache,
1957 and adds it if necessary before incrementing its refcount (note
1958 that new objects are added with a refcount of 1).
1959 (report_leaked_ref):
1960 New method which gives some information on leaked object instances
1961 if leak detection is turned on.
1963 * test/event-listener-test.c:
1964 (timing_test_event):
1965 New method, used for testing event delivery timing for special
1966 events of type "object:test". It reports elapsed time and
1967 events/sec every 500 events.
1969 Added a new listener, 'test listener', to check timing of event
1970 receipt as noted above.
1972 Added some timing output here also, reports elapsed time every 100
1975 * test/stress-test.c:
1976 Emit events of type "object:test", for use with "event-listener-test".
1978 * test/test-simple.c:
1979 (global_listener_cb):
1980 Call Accessible_ref() on the event source before calling
1981 validate_accessible, since the validation process does pointer
1982 comparisons on the event source, meaning that the event source
1983 needs to be added to the local object cache first. Any use of
1984 such pointer comparisons between Accessible objects requires that
1985 the caller hold an explicit reference to those objects.
1986 We also must therefore call Accessible_unref() when leaving this method.
1988 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1990 * registryd/deviceeventcontroller.c:
1991 (spi_controller_update_key_grabs):
1992 Fix for #84735, subsequent keygrab listeners not informed of
1993 registration failure.
1996 (spi_base_construct):
1997 Add an assertion on construct, to make sure the GObject passed in
1998 is really a GObject.
2000 Explicitly initialize object->gobj pointer to NULL;
2002 * cspi/bonobo/cspi-bonobo-listener.c:
2003 (cspi_object_add_ref):
2004 New method, can specify whether to dup-ref a bonobo object passed
2005 in if it's newly added to the object cache.
2007 Now calls cspi_object_add_ref with second param of "FALSE". This
2008 prevents us from doing a pointless dup-ref followed by
2009 release-unref for all those cases where the object is already in
2010 our object cache (fix for #85205).
2012 * atk-bridge/bridge.c:
2013 (spi_atk_bridge_idle_init):
2014 Removed this method, we don't need to initialize in an idle
2017 Changed to call spi_atk_register_event_listeners directly, not via an
2018 idle handler. (fix for #81139)
2019 (gnome_accessibility_module_shutdown):
2020 Removed conditional around deregistration of listeners, since we
2021 don't use the idle handler and thus have always registered when
2023 (spi_init_keystroke_from_atk_key_event):
2024 Changed references to Accessibility_KEY_PRESSED to
2025 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2027 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2029 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2034 * test/stress-test.c:
2037 (may have been an incomplete commit yesterday?)
2039 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2042 Added target for new stress-test.
2044 * test/stress-test.c:
2045 New test, sends 1000 focus notifies in quick succession.
2047 * test/key-listener-test.c:
2048 Now we report whether a keylistener registration
2049 request succeeded or failed.
2051 * test/event-listener-test.c:
2052 Uncommented some listeners which are now implemented.
2055 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2057 * registryd/deviceeventcontroller.c:
2058 (spi_controller_update_key_grabs):
2059 Fix for #82509, lack of failure notification when
2060 ALL_WINDOWS keygrabs fail due to XGrabKey
2061 failure: we synchronize the server when
2062 registering a passive grab, to make sure we get the
2063 error message before the call returns.
2065 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2067 * test/test-simple.c:
2069 Removed #ifdef KEY_IMPL_WORKS guards.
2070 (test_keylisteners):
2071 Removed #ifdef KEY_IMPL_WORKS guards.
2072 Fixed bug which was causing a hang waiting for a
2073 "press" event (which was already overwritten by a "release"
2074 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2076 Added code to set globals 'key_press_received' and
2077 'key_release_received'.
2080 Added section "1.1 API Proposed Additions" which
2081 lists API additions desired for at-spi-1.1 (only one so far).
2082 Updated TODO list a little.
2084 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2086 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2089 * configure.in: Revved to 1.0.0.
2091 * idl/Accessibility_Registry.idl:
2092 (registerKeystrokeListener):
2093 Added boolean return value.
2095 * registryd/registry.c:
2096 (notify_listeners_cb): Minor fix to debug output.
2098 * registryd/Accessibility_Registry.server.in.in:
2099 Revved version number in OAFIID to 1.0.
2101 * registryd/registryd.c:
2103 Use new OAFIID version.
2105 * cspi/bonobo/cspi-bonobo.c:
2107 Use new OAFIID version.
2113 * atk-bridge/bridge.c:
2115 Use new OAFIID version.
2117 * registryd/deviceeventcontroller.c:
2118 (impl_register_keystroke_listener):
2119 Added CORBA_boolean return value.
2120 (spi_controller_register_device_listener):
2121 Added gboolean return value.
2122 (spi_controller_register_global_keygrabs):
2123 Added gboolean return value.
2124 (spi_key_set_contains_key):
2125 Added implementation for many more control keys,
2126 for instance F1-F12, arrow keys, End, Home, Page_Up,
2128 [TODO: some still not implemented].
2130 * text/screen-review-test.c:
2131 (text_chunk_pad_string):
2132 New function: it provides mapping between coordinate
2133 positions of text chunks and character positions in the
2134 screen-review-line output string.
2135 (text_chunk_to_string):
2136 New function, calls text_chunk_pad_string with various
2137 pad/delimiter characters. Pushbuttons are delimited with
2138 square brackets, Frames with vertical 'pipe' lines, and
2139 other text with double quotes.
2140 (text_chunk_list_to_string):
2141 Calls new function text_chunk_to_string.
2142 (toplevel_composite):
2143 New function to composite layers CANVAS through
2144 POPUP in each toplevel (other layers are composited
2145 across toplevels, i.e. BACKGROUND and OVERLAY).
2146 (review_buffer_composite):
2147 Revise to use new methods.
2153 2002-05-31 Laszlo Peter <laca@sun.com>
2155 * configure.in: add the Xtst libdir to the runpath on Solaris,
2156 since it's not in the default library search path.
2158 2002-05-29 jacob berkman <jacob@ximian.com>
2160 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2162 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2164 * test/screen-review-test.c:
2165 (text_chunk_pad_string):
2166 Added method, which pads the string according to the
2167 text bounds of the chunk. It also takes a 3-character
2168 string as a param which indicates the characters to be
2169 used for start, padding, and end delimitation of the chunk.
2170 (text_chunk_to_string):
2171 Changed to use text_chunk_pad_string.
2173 * configure.in: Fixed bug in AC_OUTPUT that was
2174 causing path substitution in Accessibility_Registry.server
2177 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2179 * text/screen-review-test.c:
2180 (guess_string_clip):
2181 New method which attempts a best-guess at clipping
2182 text from components (like Java labels) which don't
2183 actually implement AccessibleText. This inaccurate
2184 clip is based on the assumption that the label is
2185 justified left-and-right, and monospaced.
2186 (text_chunk_get_clipped_string):
2187 We now call guess_string_clip() for text-containing
2188 components that don't implement AccessibleText.
2190 * test/screen-review-test.c:
2191 (review_buffer_get_text_chunk):
2192 We now pull "name" from labels if they do not implement
2193 AccessibleText (i.e. for Java labels).
2194 (get_screen_review_line_at):
2195 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2198 Replaceded AC_OUTPUT target
2199 registryd/Accessibility_Registry.server with
2200 registryd/Accessibility_Registry.server.in.
2202 * registryd/Accessibility_Registry.server.in:
2203 Removed (this is now a Makefile target).
2205 * registryd/Accessibility_Registry.server.in.in:
2206 Added (source for target above). We now use $(libexecdir) as
2207 prefix for the executable at-spi-registryd.
2209 * registry/Makefile.am:
2210 Now install at-spi-registryd into $(libexecdir), and build .server
2211 file with path (see above).
2213 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2215 * test/screen-review-test.c:
2216 (text_chunk_get_clipped_string):
2217 We now check to see if words fall within clip bounds
2218 before resorting to character-by-character clip bounds testing.
2220 * TODO: Added a section for "2.2 Proposed API Additions".
2222 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2224 * test/screen-review-test.c:
2226 Added a screen review benchmarking and test program to test
2229 * cspi/spi_accessible.c:
2231 Made some of the debug strings passed to cspi_check_ev a
2232 little more specific.
2234 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2236 * test/screen-review-test.c: Fix crashes in debug statements
2238 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2240 * test/screen-review-test.c: Added this file.
2242 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2244 * atk-bridge/bridge.c: changed "object:state-change" to
2245 "object:state-changed" to match docs.
2247 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2249 * atk-bridge/bridge.c: Hooked up state-change event details.
2251 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2253 * registryd/registry.c:
2254 Fixed quarking bug in event string parsing; now events with
2255 detail parameters get matched correctly to listeners.
2258 * util/idl/Magnifier.idl: remove.
2260 * util/*.[ch]: Remove.
2261 Magnification utilities and IDL are now in module gnome-mag.
2263 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2265 * registryd/deviceeventcontroller.c:
2266 Fixed bug in grab key conversion which was causing keycode grabs
2267 to be converted to AnyKey grabs.
2270 updated NEWS file to reflect recent spin-off of gnome-mag.
2272 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2274 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2275 busted AccessibleStateSet_compare. Removed redundant casts.
2277 * cspi/spi-action.c: Removed redundant casts.
2279 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2281 * cspi/spi_component.c: Fixed typos and casting error.
2283 * cspi/spi_editabletext.c: Removed redundant casts.
2285 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2287 * cspi/spi_hypertext.c: Eliminated redundant casts.
2289 * cspi/spi_image.c: Eliminated redundant casts.
2291 * cspi/spi_registry.c: Eliminated redundant casts.
2292 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2293 * cspi/spi_selection.c: Removed redundant casts.
2294 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2295 handling. Screen geometry and text offsets were being returned as 0
2296 on error which is technically valid-- changed these to return -1.
2297 Added marshaller for text boundary types to fix bug with boundary
2298 types being passed incorrectly to atk.
2300 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2303 * cspi/spi_registry.c:
2304 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2305 which was uncovered by the recent key changes.
2307 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2309 * test/event-listener-test.c:
2311 Added new test, "event-listener-test";
2312 this code does two things; it benchmarks traversal time
2313 for the accessible hierarchy for the first running accessible
2314 app, and it connects listeners for all supported event types.
2315 It is thus useful as an example event listener and for
2316 diagnostics/debugging of event generation.
2318 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2321 Removed unnecessary dependency on libutil.
2324 Revved micro version: 0.13.1
2326 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2329 Removed util/Makefile from targets.
2332 Removed util subdir from SUBDIRS (temporarily,
2333 pending removal of magnifier-only code
2337 #ifdef-ed out magnifier dependencies, since
2338 magnifier IDL, headers, and binary now live in
2339 module gnome-mag and we don't want at-spi to depend
2340 on gnome-mag. A magnifier demo which can run alongside
2341 simple-at is forthcoming in the gnome-mag module.
2343 NOTE: Split magnifier binary, IDL, and magnification
2344 activation code from at-spi into module gnome-mag.
2346 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2348 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2349 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2351 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2354 Revved to version 0.13.0
2356 * idl/Accessibility_Registry.idl:
2357 Changed definition of KeySet from sequence of longs to sequence of
2358 KeyDefinitions, and added KeyDefinition struct.
2359 Required for fix to bug 80616.
2361 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2362 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2363 to use new definition (see above).
2365 * registryd/deviceeventcontroller.c: handle_keygrab(),
2366 spi_keyset_contains_key():
2367 Changed to make use of new struct; this allows matching based on
2368 string key-name, for instance "Tab". This also allows matching of
2369 composed characters, non-alphanumeric characters in a way that
2370 doesn't involve dependencies on X keysym codes directly, etc.
2372 * test/key-listener-test.c:
2373 Added test for Alt-Tab key using "string" specification of keyset,
2374 and modified one of the tests to use a keycode-based keyset.
2375 Thus this test both tests and demonstrates the creation and use of
2376 keysets of three forms: specified via keycode array,
2377 keysym array, and string array. (The string case only contains a
2378 single string, i.e. a string array of length 1).
2381 Turned on PRINT_TREE option by default. Also fixed a
2382 string-freeing bug in the PRINT_TREE code.
2383 Added a listener to window:minimize events.
2385 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2387 * atk-bridge/bridge.c:
2388 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2389 for window:activate and window:deactiveate
2390 (atk_bridge_property_event_listener atk_bridge_signal_listener
2391 atk_bridge_window_event_listener) Tidy debug code
2393 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2395 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2396 Fixed handling for NULL return value from ATK.
2398 * libspi/action.c libspi/component.c libspi/editabletext.
2399 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2400 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2401 Removed redundant casts.
2403 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2404 Fixed off by one bug.
2406 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2407 function not present in idl)
2409 2002-05-02 jacob berkman <jacob@ximian.com>
2411 * atk-bridge/Makefile.am: make atk-bridge a real module
2413 2002-04-26 Radek Doulik <rodo@ximian.com>
2415 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2416 atk_state_types table
2418 2002-04-22 jacob berkman <jacob@ximian.com>
2421 * libspi/Makefile.am: add deps on the built files to help
2422 automake, and don't version the ORBit typelib
2424 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2426 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2427 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2428 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2429 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2430 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2431 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2432 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2433 libspi/accessible.h libspi/accessible.h libspi/base.h
2434 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2435 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2436 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2437 libspi/spi-private.h libspi/statetset.h libspi/table.h
2438 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2439 util/mag_client.h util/mag_control.c util/mag_image.c
2440 util/mag_image.h util/magnifier.c util/magnifier.h:
2441 Add missing file headers; standardize existing ones
2443 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2445 * atk-bridge/bridge.c: Added window event support.
2447 2002-04-18 Michael Meeks <michael@ximian.com>
2449 * libspi/relation.c (impl_getNTargets): impl.
2450 (impl_getTarget): impl.
2452 * libspi/Makefile.am: fix stateset install.
2454 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2457 Started putting useful info in this file.
2459 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2461 * atk-bridge/bridge.c:
2462 Propagate state-changed notifications to ATs
2464 * cspi/spi_registry.c: update docs to reflect actual behavior of
2465 state-change events.
2467 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2470 Incremented version to 0.12.1
2472 * util/mag_client.h:
2473 Add missing declaration for magnifier_exit,
2474 used by mag_control.c - Forte compiler didn't like
2475 the implicit redeclaration of the function :-(
2478 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2481 Revved version to 0.12 due to API change (see below).
2483 * cspi/spi-roletypes.h:
2484 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2485 definition from the inline docs, and added docs
2486 for SPI_ROLE_LAST_DEFINED.
2489 * cspi/spi_streamablecontent.c:
2490 Added missing seek_type parameter to
2491 (so far unused) method,
2492 AccessibleStreamableContent_seek().
2493 [ RT approval JodyG. ]
2496 Fixed docs for SPI_createAccessibleKeystrokeListener.
2498 * cspi/spi_registry.c:
2499 Fixed docs for SPI_KEYSET_ALL_KEYS.
2501 * docs/reference/cspi/at-spi-cspi-sections.txt:
2502 Added a number of missing APIs to SECTIONS.
2504 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2506 * registryd/Makefile.am:
2508 * cspi/bonobo/Makefile.am:
2509 Add $(X_LIBS) to makefiles.
2511 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2514 Revved version to 0.11.
2516 * libspi/component.c:
2517 Added implementation for grabFocus.
2519 * idl/Accessibility_Component.idl
2520 (Accessibility_Component_grabFocus):
2521 Made this method return boolean to indicate success or failure, to
2522 be consistent with cspi and the corresponding ATK method.
2524 * idl/Accessibility_Selection.idl
2525 (Accessibility_Selection_selectAll) :
2526 Made these methods return boolean to indicate success or
2527 failure, to be consistent with cspi and the corresponding ATK methods.
2529 * idl/Accessibility_EditableText.idl
2530 (Accessibility_EditableText_setTextContents,
2531 Accessibility_EditableText_insertText,
2532 Accessibility_EditableText_cutText,
2533 Accessibility_EditableText_deleteText,
2534 Accessibility_EditableText_pasteText):
2535 Made these methods return boolean to indicate
2538 * cspi/spi_editabletext.c:
2539 Made these methods return booleans.
2541 * libspi/selection.c:
2542 * libspi/component.c:
2543 * libspi/editabletext.c:
2544 Connected the boolean returns from ATK
2545 to the server-side code referenced above.
2547 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2549 * idl/Accessibility_Table.idl: Added missing methods,
2550 Accessibility_Table_addRowSelection,
2551 Accessibility_Table_addColumnSelection,
2552 Accessibility_Table_removeRowSelection,
2553 Accessibility_Table_removeColumnSelection.
2556 Added C wrappers for above IDL:
2557 AccessibleTable_addRowSelection,
2558 AccessibleTable_addColumnSelection,
2559 AccessibleTable_removeRowSelection,
2560 AccessibleTable_removeColumnSelection.
2563 Added server-side implementation code for IDL above, connecting
2564 to pre-existing ATK api.
2566 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2568 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2570 * libspi/accessible.c: Added implementation fo
2571 Accessibility_Accessible_get_state.
2573 * libspi/libspi.h: Added stateset.h to the list of includes.
2575 * libspi/stateset.c: Fixed broken implementation.
2577 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2580 Added implementation code for Accessibility_Magnifier_exit ().
2582 * util/mag_control.c:
2583 Added test code for above method; you can
2584 now kill an existing magnifier via
2585 ./mag_control q, from the util directory.
2587 * test/key-listener-test.c:
2589 Added a new test, for our key listener API.
2591 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2593 * test/app.c, test/keysynth-demo.c:
2595 Replace use of snprintf with g_snprintf.
2596 (fix for bugzilla 78249)
2598 2002-03-27 Michael Meeks <michael@ximian.com>
2602 * util/Makefile.am (INCLUDES): fix.
2603 (DONT_DIST_SOURCE): don't distribute the
2606 * libspi/Makefile.am (dist-hook): ditto.
2608 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2610 * libspi/hypertext.c:
2611 Fix warnings when yelp is used with atk-bridge
2613 2002-03-21 Michael Meeks <michael@ximian.com>
2615 * libspi/application.c (spi_application_new):
2616 use spi_accessible_construct so we use the AtkObject
2619 2002-03-19 Michael Meeks <michael@ximian.com>
2621 * registryd/registry.c (desktop_remove_application),
2622 (desktop_add_application): clean coding style.
2624 * registryd/desktop.c (spi_desktop_remove_application),
2625 (spi_desktop_add_application): kill re-enterency hazards.
2626 (spi_desktop_dispose): remove bogus redundant cast
2627 obscuring bug; fix bug too.
2628 (spi_desktop_init): make the desktop object immortal.
2630 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2633 Added a #define-guarded tree-traversal step
2634 when enumerating the apps (diagnostic tool).
2636 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2638 * idl/Accessibility_Role.idl:
2639 Added ROLE_DRAWING_AREA which seemed to be missing from the
2642 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2644 * cspi/spi-roletypes.h cspi/spi_accessible.c
2645 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2648 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2649 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2650 AT when applications are added and removed from the desktop. This
2651 reverts the previous broken implementation using the backing
2652 AtkObject for the SpiDesktop.
2654 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2656 * registryd/desktop.c: emit the "children-changed::add" and
2657 "children-changed::remove" signals on the backing ATK object for
2658 the desktop so AT can tell when applications are started and shut
2661 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2663 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2665 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2667 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2669 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2671 * cspi/state-types.h: synched with IDL and ATK
2673 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2675 * libspi/accessible.c
2676 (impl_accessibility_accessible_get_child_at_index):
2677 Change return value for g_return_if_fail ()
2678 to CORBA_OBJECT_NIL instead of "0" (!)
2680 * registryd/Makefile.am:
2681 * registryd/Accessibility_Register.server.in:
2682 Changed name of executable, "registryd",
2683 to something more informative:
2686 2002-03-13 Michael Meeks <michael@ximian.com>
2688 * atk-bridge/bridge.c (atk_bridge_init): don't register
2689 if we're in a bonobo-component, rather than a bonobo app.
2691 2002-03-13 Michael Meeks <michael@ximian.com>
2693 * atk-bridge/bridge.c (gtk_module_init): split
2694 out body to (atk_bridge_init): here, since otherwise
2695 we get symbol conflicts and oddness when invoked
2696 from (gnome_accessibility_module_init): here (upd.)
2698 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2701 New file. Explicitly allow "build sheriff" putbacks provided
2702 they are tested on Solaris.
2704 * docs/reference/cspi/Makefile.am:
2705 Added '-' to the "cp" command for index.sgml.
2706 ("patch by thomasvs, soon coming to a GUADEC near you")
2709 Incremented version number (0.9.0) for new release.
2710 Changed macro that checks for popt, to better detect
2711 obsolete versions of popt.
2714 Added X_LIBS to AC_SUBST, for applications
2715 that call Xlib API directly.
2718 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2721 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2724 Fix regression caused by hard-coding major
2725 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2728 * test/test-simple.c (test_editable_text),
2729 (test_test): revert previous change (error was
2730 a regression in gail which is now fixed).
2732 2002-03-04 Michael Meeks <michael@ximian.com>
2734 * test/test-simple.c (test_editable_text),
2735 (test_text): pass G_MAXINT instead of '-1' for
2736 whole string - is this a good thing !?
2738 * cspi/spi_accessible.c
2739 (Accessible_getRelationSet): fix crasher bug
2740 overwriting the end of the array.
2742 * test/test-simple.c (validate_accessible): free,
2743 not g_free returned relation set.
2745 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2747 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2748 implemented stateset support
2750 * idl/Accessibility_State.idl: Made necessary changes to
2751 the IDL to support state sets.
2753 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2755 * registryd/deviceeventcontroller.c:
2756 Added implementation for generateMouseEvent.
2758 * cspi/spi_registry.c:
2759 Connected new implementation for generateMouseEvent
2762 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2765 Incremented revision (but no change in public API
2766 outside of 'utils', which are not installed public yet.)
2768 * libspi/component.c:
2769 Changed to use atk_component API for layers and
2770 mdi_zorder, instead of deprecated atk_object API.
2772 Magnification Utility Enhancements:
2775 Added implementation of createZoomRegion, clearAllZoomRegions,
2776 resizeZoomRegion. Added new commandline argument
2777 "--no-initial-region". Note that clearAllZoomRegions doesn't
2778 unmap the old '0' region as it should (yet), and the other
2779 methods only work when creating/resizing a single region,
2780 which is "region 0".
2781 (Code for multiple region support will be added later.)
2784 Now we raise the magnifier window each time it's refreshed;
2785 this will help keep it on top.
2787 * util/mag_client.h:
2788 Added simple wrappers for above, used by mag_control.
2789 For general use, it's recommended to use the bonobo magnifier
2790 control API directly instead of using these wrappers.
2793 Moved ZoomRegionData from magnifier.c to this file.
2795 * util/mag_control.c:
2796 Added some code to exercise new IDL implementations.
2798 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2800 * libspi/text.c: Provide implementation for getAttributes.
2802 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2805 Incremented revision.
2807 * test/test-simple.c:
2808 Replaced use of deprecated g_main_iteration with
2809 g_main_context_iteration.
2811 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2814 Incremented revision for desktop alpha 2.
2816 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2818 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2821 * test/simple-at.c: include netinet/in.h.
2823 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2825 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2826 use NULL, not CORBA_OBJECT_NIL.
2828 * libspi/accessible.c:
2829 (impl_accessibility_accessible_get_relation_set):
2830 allocate the sequence correctly.
2832 * libspi/remoteobject.h: kill spi_remote_object_new.
2834 * test/test-simple.c: (validate_accessible): add code
2835 to test relation sets, now all we need is to figure
2836 out how to excercise this code path :/
2838 2002-01-18 Michael Meeks <michael@ximian.com>
2840 * test/test-simple.c
2841 (key_listener_cb): consume the key.
2842 (test_keylisteners): update.
2843 (main): wait for any pending unrefs on events.
2845 * registryd/deviceeventcontroller.c
2846 (spi_controller_update_key_grabs): only re-issue the
2847 grab on a key release.
2848 (spi_device_event_controller_forward_key_event):
2849 refresh the keygrabs before we notify the listeners,
2850 to reduce the X ungrab / re-grab race.
2851 (spi_controller_register_with_devices): remove
2852 XSelectInput - we do that with the gdk_window_ call.
2853 (_spi_controller_device_error_handler): return a value.
2854 s/GDK_DISPLAY/spi_get_display/
2856 2002-01-17 Michael Meeks <michael@ximian.com>
2858 * registryd/deviceeventcontroller.c
2859 (_deregister_keygrab): don't blow out the later
2862 * test/test-simple.c (test_keylisteners): do a
2863 more intelligent validation.
2865 2002-01-14 Michael Meeks <michael@ximian.com>
2867 * atk-bridge/bridge.c
2868 (gnome_accessibility_module_init),
2869 (gnome_accessibility_module_shutdown): impl.
2870 (gtk_module_init): protect vs. double inits.
2871 (add_signal_listener): impl.
2872 (spi_atk_bridge_state_event_listener): kill
2873 (deregister_application): split out of
2874 (spi_atk_bridge_exit_func): here.
2876 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2879 Added caret tracking when using magnifier, and
2880 now use text bounds for focus tracking of text elements, rather than
2881 the component bounds - this is helpful for short text fields in long
2882 table cells, at high magnification.
2884 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2886 * registryd/deviceeventcontroller.c:
2887 Regression fix for keylistener de-registration; global keygrabs
2888 were not being released when deregisterKeystrokeListener was
2889 called in cspi, since
2890 Accessibility_DeviceEventController_deregisterKeystrokeListener
2891 was called with a zero-length keyset. That is because the cspi
2892 method, SPI_deregisterKeystrokeListener, does not take a keyset
2893 parameter but instead should remove all the key grabs held be a
2895 The code in impl_deregister_keystroke_listener was changed to copy
2896 the keylist from the listener instance previously registered with
2897 the DeviceEventController before releasing the grabs.
2899 * registryd/registry.c:
2900 * registryd/deviceeventcontroller.c:
2901 * libspi/spi-private.h:
2903 Changed spelling of "re-enterant" to "re-entrant" globally.
2905 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2907 * test/test-simple.c:
2908 Changed key listeners test - the test was slightly mis-using the
2909 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2910 It now uses '=' as the key event listened to and generated,
2911 relying on a keysym match rather than assuming that keycode 33
2912 is always equal to keysym '!'.
2914 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2917 Changed simple-at to use a specific keyset, rather than
2918 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2919 manager, desktop, etc.
2921 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2923 * registryd/deviceeventcontroller.c:
2924 Replaced standard X error handler with a special handler that
2925 is non-fatal for failed keygrabs. This works around
2926 problems with keygrab clashes sometimes observed on
2928 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2929 mouse handling code as yet).
2931 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2934 Incremented revision for desktop alpha release.
2937 Fixed a couple of the more glaring errors (still not
2940 2002-01-11 Michael Meeks <michael@ximian.com>
2942 * registryd/deviceeventcontroller.c
2943 (spi_device_event_controller_forward_key_event): kill
2944 XUngrabKey / XKeyGrab race.
2945 (spi_controller_grab_keyboard): rename to
2946 (spi_controller_update_key_grabs): this, and deal
2947 with incremental adding / removing grabs more
2949 (_register_keygrab): ensure we're not pending a remove.
2950 (spi_grab_mask_free): impl.
2951 (spi_controller_register_global_keygrabs): split out
2953 (handle_keygrab): impl.
2954 (_deregister_keygrab): impl.
2955 (spi_controller_deregister_global_keygrabs): impl.
2956 (spi_controller_update_key_grabs): re-issue the grab if
2957 we just recieved a notification.
2959 * test/test-simple.c (key_listener_cb): remove debug.
2961 * registryd/deviceeventcontroller.c
2962 (spi_controller_register_device_listener): after
2963 registering a global keygrab, actualy register it !
2964 don't wait for a timeout; doh !
2966 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2967 to make it more readable / manipulable.
2968 s/grabmask/grab_mask/ s/refcount/ref_count/
2969 s/keyval/key_val/ s/modmask/mod_mask
2971 2002-01-08 Michael Meeks <michael@ximian.com>
2973 * registryd/deviceeventcontroller.c
2974 (spi_controller_register_with_devices): use gdk calls to
2976 (global_filter_fn): implement the filter.
2977 (spi_device_event_controller_check_key_event): rename to
2978 (spi_device_event_controller_forward_key_event): this & upd.
2979 (spi_get_display): replace with GDK_DISPLAY.
2981 * registryd/deviceeventcontroller.c
2982 (spi_controller_deregister_device_listener): unroll into
2983 (impl_deregister_keystroke_listener): here to simplify.
2984 (spi_controller_register_global_keygrabs): split cut and
2985 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2986 (spi_controller_deregister_device_listener): remove.
2987 (impl_register_mouse_listener): remove, no mouse listener
2988 support in at-spi-1.0
2990 * registryd/registry.c
2991 (_device_event_controller_hook): kill.
2992 (spi_registry_init): upd.
2994 * registryd/deviceeventcontroller.c
2995 (spi_device_event_controller_class_init): upd.
2996 (spi_check_key_event): merge into.
2997 (spi_device_event_controller_check_key_event):
2998 here and kill strange static ev init, don't leak
2999 the x_event - nor dynamicaly allocate it.
3001 * registryd/registry-main.c (main): re-direct
3002 timeout to remove strange vtable mess.
3004 * registryd/deviceeventcontroller.c
3005 (remove_listener_cb): impl.
3006 (spi_controller_deregister_device_listener):
3007 fix re-enterancy hazard.
3009 2002-01-07 Michael Meeks <michael@ximian.com>
3011 * registryd/deviceeventcontroller.c
3012 (spi_device_event_controller_new): upd.
3013 (impl_notify_listeners_sync): upd. debug.
3014 (spi_notify_keylisteners): fix re-enterancy hazards,
3015 prettify, remove O(n*n) iteration.
3016 (spi_controller_grab_keyboard): fix iteration.
3017 (spi_check_key_event): re-format to suit coding style.
3018 Clean all the warnings - we're warning free.
3020 * registryd/deviceeventcontroller.h:
3021 * registryd/registry.h: make mutualy referential with
3022 typesafe forward references instead of (!) void pointer
3025 2002-01-11 Michael Meeks <michael@ximian.com>
3027 * cspi/spi_accessible.c (role_names): add a role name
3028 to sync this array with the enum; and make the regression
3031 2002-01-10 Michael Meeks <michael@ximian.com>
3033 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3034 allow expansion of enumeration & kill warning.
3036 * test/test-simple.c (key_listener_cb): impl.
3037 (test_keylisteners): impl.
3039 * cspi/spi-listener.h: make listener signatures const
3040 on the provided (const) events.
3042 * test/keysynth-demo.c: upd. to const events.
3044 * test/simple-at.c: ditto.
3046 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3049 Rev the version to 0.5 (the previous tarball was named 0.4,
3050 even though the micro number was 3), so we need to rev upwards
3051 again for beta2/"desktop-alpha"
3054 Checked in a demo script, which requires editing before use!
3055 Proceed with caution.
3058 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3060 * cspi/spi_accessible.c:
3061 Add a couple of missing enum initializations, and fix some enum
3064 * cspi/spi_registry.c:
3065 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3067 * docs/reference/cspi/at-spi-cspi-sections.txt:
3068 Remove/fix a couple of broken document references.
3071 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3072 as Alt-Control to listen for commands, since on some systems
3073 Control-Alt may already be grabbed.
3075 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3078 Update version number to 0.4 for Beta2.
3080 * libspi/accessible.c, libspi/accessible.h:
3081 Expose spi_accessible_construct, to enable libgail-gnome
3082 construction from spi_accessible subtype.
3084 * utils/magnifier.c:
3085 Workaround for bug in some non-gnome-compliant window managers
3086 which made magnifier resize improperly.
3088 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3090 * libspi/accessible.c: (spi_accessible_new) :
3091 Move the test for SPI_IS_REMOTE_OBJECT to
3092 spi_accessible_new_return, fixing a bug and compile time warning.
3094 2002-01-08 Michael Meeks <michael@ximian.com>
3096 * registryd/registry.c (parse_event_type): remove strndup.
3098 * libspi/Makefile.am (libspi_la_SOURCES): remove
3099 sources already included in the headers section.
3101 * libspi/util.c: add.
3103 * libspi/spi-private.h: add.
3105 * registryd/registry.c: update to moved list iterators.
3107 2002-01-05 Michael Meeks <michael@ximian.com>
3109 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3111 * test/test-simple.c (main): ditto.
3113 2002-01-04 Michael Meeks <michael@ximian.com>
3115 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3116 redundant construct.
3118 * registryd/registry.c
3119 (get_listener_list): impl.
3120 (impl_accessibility_registry_register_global_event_listener):
3121 re-impl. to simplify using ~, remove dodgy const cast off.
3122 (parse_event_type): constify.
3123 (impl_accessibility_registry_deregister_global_event_listener_all):
3124 re-write, more efficiency and simplicity, kill re-enterancy
3126 (compare_listener_corbaref, compare_corba_objects),
3127 (compare_listener_quarks): define out.
3128 (impl_accessibility_registry_deregister_global_event_listener):
3129 re-write for effiency, and nail re-enterancy hazard.
3130 (impl_accessibility_registry_get_desktop_list): impl.
3131 (re_enterant_list_delete_link): impl.
3132 (re_enterant_list_foreach): impl.
3133 (remove_listener_cb): impl.
3134 (_registry_notify_listeners): kill.
3135 (notify_listeners_cb): impl.
3137 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3138 (SPI_getDesktopList): impl.
3140 * test/test-simple.c (test_desktop): test the methods.
3142 2002-01-03 Michael Meeks <michael@ximian.com>
3144 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3145 keystrings since we free them
3146 (SPI_freeAccessibleKeySet): in here.
3148 * libspi/accessible.c (spi_accessible_new): kill warning,
3149 wonder what is going on with the constructor here.
3151 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3153 * libspi/accessible.c (spi_accessible_new ()) :
3154 Added check to see if AtkObject is an SpiRemoteObject before
3155 creating an SpiAccessible.
3157 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3159 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3160 Enable keygrabs using the Control modifier, now that they are
3161 working properly (they were previously disabled).
3164 Change the command keygrab for this demo to "Control+Alt", so as
3165 to conflict with fewer other key commands on the system; this
3166 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3168 Removed a pointlessly-chatty keylistener for unshifted keys
3169 (shifted keys are still reported).
3171 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3173 * libspi/remoteobject.h:
3174 * libspi/remoteobject.c:
3175 Added definitions for special AtkObject subtype, required for
3176 support of remote components (specifically, used by BonoboControl
3177 accessibility implementation).
3179 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3181 * cspi/spi.h: synched relation types with ATK
3183 * cspi/spi_accessible.c: Added implementations of
3184 AcccessibleRelation_* methods
3186 * idl/Accessibility_Relation.idl: added getRelationTypeName
3187 method. Synched known relation types with ATK. Allowed for
3188 relation type extension with the RELATION_EXTENDED type.
3190 * libspi/relation.c: Provided implementations for
3191 AccessibleRelation methods.
3193 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3195 API tweaks for today's API 'freeze'.
3198 Added placeholder functions to allow future compatible expansion
3199 of the IDL interfaces.
3201 * idl/Accessibility_Registry.idl:
3202 Changed generateKeyEvent to generateKeyboardEvent. Changed
3203 signature of this method to accept an optional keystring in
3204 parameter (for complex text input synthesis) and changed use of
3205 simple 'boolean' parameter in registerKeystrokeListener to a
3206 struct, EventListenerMode.
3208 * cspi/spi_accessible.c:
3210 * cspi/spi_streamablecontent.c:
3211 Added references to AccessibleStreamableContent interface, and
3212 definition and implementation of AccessibleStreamableContent
3215 * cspi/spi_registry.c:
3217 Changed generateKeyEvent API to generateKeyboardEvent,
3218 taking a new (optional) keystring parameter to support complex
3223 Renamed directory (to better reflect its actual purpose, bridging
3224 from at-spi to ATK). The .so module is also now named
3227 * idl/Accessibility_Hypertext.idl:
3228 * libspi/accessible.c:
3229 * libspi/hypertext.h:
3230 * libspi/hypertext.c:
3231 Changed Accessibility_Hypertext to *not* derive from
3234 * cspi/spi_registry.c:
3235 Added list of legal event type names for 'window' events, which
3236 completes the registry event API.
3238 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3240 * at-bridge/bridge.c: Added registration for separate
3241 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3242 signals. If either of the first two parameters to the generic
3243 bridge signal handler are ints, they are passed on as event
3244 details. This allows an AT to determine what text was inserted.
3246 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3248 * registryd/deviceeventcontroller.c:
3249 Fixed regressions in generateKeyEvent caused by the removal of
3250 gdk_init from registryd; we now use pure X calls to connect to the
3251 display, which makes sense because deviceeventcontroller already
3252 uses a fair bit of X API (should eventually be migrated to a
3253 'portability layer').
3255 * registryd/desktop.c:
3256 Fixed minor regression in spi_desktop_init, changed the way the
3257 desktop name is being set to work with new spi_base API
3258 (gobject-based, rather than AtkObject-based).
3260 * registryd/Makefile.am:
3261 Minor revision of makefile to use XTST_LIBS variable rather than
3262 hard-wiring the Xtst LD_ADD element.
3264 * test/keysynth-demo.c:
3265 Tweaked an output message; added initialization of the
3266 'keystrings' member of the "switch listener" key_set.
3268 * libspi/relation.c:
3269 Squashed compile-time warning.
3271 * libspi/accessible.c:
3272 Cosmetic and formatting fixes, renamed a static method.
3274 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3276 * libspi/accessible.c
3278 * libspi/application.c
3281 * libspi/component.c
3282 * libspi/editabletext.c
3283 * libspi/hyperlink.c
3284 * libspi/hypertext.c
3286 * libspi/selection.c
3290 * registryd/desktop.c:
3291 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3293 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3295 * idl/Accessibility_Registry.idl:
3296 Added boolean member 'is_text' to DeviceEvent. This is for the
3297 use of key events, and helps prevent ambiguity between composed
3298 key strings and keysym names, since both may potentially be
3299 returned in the 'event_string' member.
3301 * at-bridge/bridge.c:
3302 * registryd/deviceeventcontroller.c:
3303 Use the 'is_text' member when notifying device event listeners.
3304 Knon issue: composed characters are not dealt with correctly by
3305 the global key listener implementation yet.
3307 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3309 * at-bridge/bridge.c:
3310 Namespaced local static methods to spi_atk_bridge_* where
3311 previously named bridge_*, and spi_* elsewhere.
3313 * at-bridge/bridge.c:
3314 * cspi/bonobo/cspi-bonobo-listener.c:
3315 Added demarshalling/conversion for string member of
3316 Accessibility_DeviceEvent to AccessibleKeystroke.
3318 * registryd/deviceeventcontroller.c:
3319 Added code to fill the Accessibility_DeviceEvent key string value
3320 member for global key events (i.e. from XGrabKey), to match
3321 behavior of Accessibility_DeviceEvent from the toolkit key events
3322 from the bridge. Fixed timestamp in global key event notifications.
3325 Added printout of key event's string value to
3326 report_ordinary_key_event, for demo/debugging purposes.
3328 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3330 * idl/Accessibility_Registry.idl:
3331 Removed Accessibility_KeyStroke structure in favor of generic
3332 Accessibility_DeviceEvent structure.
3333 Changed Accessibility_ControllerEventMask from a struct to an
3336 * at-bridge/bridge.c:
3337 Changed APIs to use DeviceEvent structure as above, and removed
3338 bogus casting between these event structures.
3340 * cspi/spi-listener.h:
3341 Added keystring member of AccessibleKeystroke structure, to enable
3342 matching on event "names" rather than only hardware codes and
3346 Added keystrings member of AccessibleKeySet struct, to allow
3347 matching on event names (as above).
3348 Added declarations for SPI_createAccessibleKeySet and
3349 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3350 event modmasks directly as unsigned ints rather than structs with
3351 refcounts, in the DeviceEventController methods.
3353 * cspi/spi_registry.c:
3354 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3356 * cspi/spi-roletypes.h:
3357 Added documentation of newly added SPI Roles.
3359 * cspi/bonobo/cspi-bonobo-listener.c:
3360 Changes in support of API changes above.
3362 * libspi/accessible.c:
3363 Converted APIs to use DeviceEvent structure (see IDL changes
3366 * registryd/deviceeventcontroller.c:
3367 Added DEControllerGrabMask structure to track keygrabs not only by
3368 modmask but by keyset as well; this allows us to do "global"
3369 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3370 grabbing on AnyKey and then filtering after-the-fact.
3371 Bugfixes for event filtration mean that we don't get false matches
3372 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3374 * registryd/deviceeventcontroller.c:
3375 Namespaced a number of static methods to use spi_ prefix. Major
3376 revision to internals of global (i.e. X) key grabs.
3378 * registryd/deviceeventcontroller.h:
3379 Removed keymask_list and added keygrabs_list to
3380 SpiDeviceEventController struct.
3383 Added use of SPI_createAccessibleKeySet API when creating a
3384 listener for only one key. Attach a listener to "shift spacebar
3385 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3386 X key event names to SPI key event names, so that listeners are
3387 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3389 * test/keysynth-demo.c:
3390 Changed (incorrect) use of X key event names (KeyPressed,
3391 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3394 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3396 * libspi/accessible.c:
3397 Convert all AtkRole enumerations to Accessibility_Role enums when
3398 getting a role from an AtkObject.
3400 * cspi/spi_accessible.c:
3401 Complete the conversion of Accessibility_Role enums at runtime to
3402 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3403 role enums correctly match those given in spi-roletypes.h.
3404 Re-synchronize the local names list for AccessibleRole_getName ().
3405 AccessibleRole_getName is now deprecated, since it duplicates the
3406 more reliable Accessible_getRoleName.
3407 Added some role types from Accessibility_Role.idl.
3409 * idl/Accessibility_Role.idl:
3410 Added some role types used by AtkRole.
3412 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3415 * cspi/spi_registry.c:
3417 * cspi/cspi-bonobo-listener.c:
3418 Namespaced all methods that did not begin with an "SPI_" or
3419 "Accessible" prefix to "SPI_".
3422 Homogenized internal function namespace to "cspi_" for statics.
3425 Patched tests to use the new CSPI API.
3427 * docs/reference/cspi/at-spi-cspi-sections.txt:
3428 Updated docs to reflect namespace changes, and added a number of
3429 methods to the documentation.
3431 * registryd/registry.c:
3432 Changed use of strings and string hashes in listener event
3433 matching and parse_event_string to use GQuark, which is guaranteed
3436 * registryd/registry.h:
3437 Squashed annoying warning.
3439 * idl/Accessibility_Role.idl:
3440 Extended range of available Accessibility_Role values.
3442 * cspi/spi_accessible.c:
3443 Re-ordered role names.
3445 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3447 * idl/Accessibility_Value.idl:
3448 Revert use of union back to CORBA_double, since the double type is
3449 more efficient and can contain the other types without loss of
3452 * idl/Accessibility_Accessible.idl:
3453 Added method Accessibility:Accessible:getRoleName, to complement
3454 Accessibility:Accessible:getRole.
3456 * cspi/spi_accessible.c:
3458 Added C binding for above, Accessible_getRoleName (), and changed
3459 signature of Accessible_getRole () to return an AccessibleRole.
3461 * cspi/spi-roletypes.h:
3462 Changed AccessibleRole_getName to return a char * instead of a
3463 const char *. This method is now at least temporarily deprecated
3464 in favor of asking Accessibles for their RoleNames directly.
3467 Revert to match Accessibility_Value.idl;
3471 Change signature of AccessibleValue methods to use double rather
3475 * cspi/spi_accessible.c:
3476 Changed Accessible_getRole to return an AccessibleRole enum rather
3477 than a UTF-8 string. The UTF-8 string can still be obtained via
3478 AccessibleRole_getName ().
3480 * test/test-simple.c:
3481 Add test_action. Small fixup to match API change to Accessible_getRole.
3484 Bugfix for get_action_from_servant ().
3486 2001-12-11 Michael Meeks <michael@ximian.com>
3488 * libspi/libspi.h: remove registry.h and
3489 desktop.h, deviceeventcontroller.h
3491 * libspi/Makefile.am: remove registry.[ch],
3492 desktop.[ch], deviceeventcontroller.[ch]
3494 * registryd/Makefile.am: add registry.[ch],
3495 desktop.[ch], rename registryd.c to registry-main.c.
3496 add deviceeventcontroller.[ch]
3498 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3501 Replace setenv() call with putenv ().
3503 * libspi/component.c:
3504 Bugfix in AccessibleComponent_getExtents (),
3507 2001-12-11 Michael Meeks <michael@ximian.com>
3509 * libspi/image.c (impl_getImageExtents): impl.
3510 (spi_image_class_init): upd.
3513 (AccessibleImage_getImageDescription): fix daft bug
3516 * test/test-simple.c (global_listener_cb): update
3517 to only quit if not --poke
3518 (main): catch --poke.
3519 (validate_accessible): upd. dumping, call test_image
3522 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3525 * idl/Accessibility.idl: update all IDL includes.
3527 * idl/*.idl - rename to namespace - this sucks, blame
3528 mjs' bad decision for oafd.
3530 * test/test-simple.c (create_test_window): add more tests.
3531 (create_tree): split this out.
3532 (validate_accessible): bugfix.
3534 2001-12-11 Michael Meeks <michael@ximian.com>
3536 * cspi/bonobo/cspi-bonobo-listener.c:
3537 (cspi_kestroke_listener_unref),
3538 (cspi_event_listener_unref): impl. undoing previous
3539 homenous environment - for Bill.
3541 * cspi/spi_table.c (long_seq_to_array): use
3544 * cspi/spi_main.c: split out all bonoboish bits into
3547 * cspi/spi-impl.h: upd. typedefs.
3549 * cspi/spi_registry.c: update to lowlevel API,
3550 return booleans to indicate success in some places.
3552 * cspi/spi_event.c: update to lowlevel API.
3554 * cspi/bonobo/Makefile.am: add.
3556 * cspi/bonobo/cspi-lowlevel.h: add
3558 * cspi/bonobo/cspi-bonobo.c: add
3560 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3562 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3563 (SUBDIRS): add bonobo, link in the libs.
3565 * cspi/spi-util.c: kill this file.
3567 * TODO: merge in my bits.
3569 2001-12-11 Michael Meeks <michael@ximian.com>
3571 * test/test-simple.c (test_value, test_table, main):
3572 remove unused variables causing warnings.
3574 * configure.in: cleanup checks - require gail.
3576 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3579 Changed Value interface to use SValue (scalars) rather than
3580 assuming all values are floats. This allows floats, doubles,
3581 longs, shorts, and unsigned values to be manipulated.
3582 Introduced Accessibility:SValue union.
3585 Updated to use new API above, and to work correctly with GValues
3586 of different types in AtkValue.
3589 Updated to use new API above. cspi's API is as yet unchanged.
3592 Updated the Value revision action item.
3594 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3596 * test/test-simple.c:
3597 Added test_table (GtkTreeView widget in test window to follow).
3598 Un-commented test_value, added GtkRange widget.
3599 Added GtkTreeView widget with GtkListStore. It passes regression
3600 test but leaks one SPI object for some reason.
3603 Fixed bug in impl__set_currentValue.
3605 2001-12-10 Michael Meeks <michael@ximian.com>
3607 * cspi/spi_text.c: audit for exception handling,
3608 tolerating NULL object references safely etc.
3610 * cspi/spi_value.c: ditto.
3612 * cspi/spi_table.c (AccessibleTable_getSummary),
3613 (AccessibleTable_getAccessibleAt),
3614 (AccessibleTable_getRowHeader),
3615 (AccessibleTable_getColumnHeader),
3616 (AccessibleTable_getCaption): fix bugs hidden by
3618 (long_seq_to_array): impl.
3619 (AccessibleTable_getSelectedRows),
3620 (AccessibleTable_getSelectedColumns): use it.
3622 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3625 Added a TODO list (rough and short for now).
3627 * cspi/spi_hyperlink.c:
3628 * cspi/spi_hypertext.c:
3629 Fixed macro name typos, and remove use of obsolete macro in
3630 AccessibleHyperlink_getLink.
3632 * cspi/spi_action.c:
3633 * cspi/spi_accessible.c:
3634 * cspi/spi_application.c:
3635 * cspi/spi_component.c:
3636 * cspi/spi_selection.c:
3639 Documentation fixes (removed return values from ref/unref methods).
3641 2001-12-10 Michael Meeks <michael@ximian.com>
3643 * cspi/spi_action.c: audit for exception handling,
3644 tolerating NULL object references safely etc.
3646 * cspi/spi_accessible.c: ditto.
3648 * cspi/spi_component.c: ditto.
3650 * cspi/spi_editabletext.c: ditto.
3652 * cspi/spi_hyperlink.c: ditto.
3654 * cspi/spi_hypertext.c: ditto.
3656 * cspi/spi_image.c: ditto.
3658 * cspi/spi_selection.c: ditto.
3660 2001-12-10 Michael Meeks <michael@ximian.com>
3662 * configure.in: use cspi/libspi.pc.in instead.
3664 * Makefile.am (pkgconfig_DATA): upd. to match.
3666 * test/simple-at.c (report_focus_event): kill hacks around
3667 bad return values, use putenv not setenv
3669 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3670 fire ChildGone - I killed it.
3672 * libspi/component.c
3673 (impl_accessibility_component_get_extents): remove
3676 * idl/Accessible.idl: kill ChildGone exception.
3678 * cspi/*.[ch]: kill int return from ref / unref.
3680 * cspi/spi_main.c (cspi_object_add_check): fold into
3681 (cspi_object_add): here.
3683 * cspi/spi_component.c (AccessibleComponent_getExtents):
3684 handle exceptions elegantly.
3686 * cspi/spi-private.h (cspi_check_ev_return),
3687 (cspi_return_if_fail): impl.
3689 * cspi/spi_accessible.c: use extensively.
3690 (AccessibleStateSet_equals): add direct compare check.
3692 * cspi/spi_selection.c: tolerate NULL objs, and check
3693 exceptions before return.
3695 * cspi/spi-util.c (cspi_warn_ev): rename to
3696 (cspi_check_ev): this & don't pass ev in; no point.
3698 2001-12-10 Michael Meeks <michael@ximian.com>
3700 * test/test-simple.c: use putenv not setenv
3701 (get_environment_vars): more chatty if you're not using
3704 * test/simple-at.c: do the setenv so more people see the
3707 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3709 * libspi/registry.c:
3710 Changed check of CORBA_environment on notification to be a warning
3711 instead of an error for the moment, since we can recover from this
3712 error when caused by a queued notification from a dead app.
3715 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3716 used by all current implementors of AtkValue), and coerce to
3717 CORBA_float. (Proper general case fix may require change to Value.idl).
3719 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3723 * cspi/spi_accessible.c:
3724 Documentation fixes: added user_data params to documentation for
3725 listeners and callbacks.
3727 * cspi/spi_accessible.c:
3728 Changed AccessibleStateSet_compare to return a
3729 StateSet rather than return the difference set into a third parameter.
3732 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3735 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3736 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3740 Remove subdirectory po from SUBDIRS for now.
3742 * at-bridge/bridge.c:
3743 Beefed up a couple of debug printouts.
3744 One-line fix for signal notification name formatting.
3746 * libspi/accessible.c:
3747 Added assertion to spi_accessible_new ().
3749 * libspi/application.c:
3750 Put #ifdef qualifiers around a printf.
3753 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3755 * registryd/Makefile.am:
3757 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3758 INTLTOOL_SERVER_RULE macro.
3761 Added an event listener for several ATK signals, for
3762 testing and debugging. Removed a few g_warnings.
3763 Added test output if focussed item implements the Value interface.
3765 * test/test-simple.c:
3766 Added test_value () function (known not to pass at the moment, so
3767 not actually called yet.
3769 2001-12-08 Michael Meeks <michael@ximian.com>
3771 * at-bridge/bridge.c (bridge_focus_tracker),
3772 (emit_eventv): fix the same ref. leak.
3773 (register_atk_event_listeners): don't leak.
3775 * cspi/spi-listener-impl.c (cspi_event): more
3776 protection from client code.
3778 * test/test-simple.c (test_desktop): unref the app.
3780 * test/Makefile.am: upd. TESTS.
3782 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3784 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3786 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3788 * cspi/spi_registry.c: constify in strings.
3789 (deregisterGlobalEventListenerAll): don't release the ref.
3791 * cspi/spi.h: start removing redundant / conflicting
3792 gtkdoc comments, making the API readable at a glance :-)
3794 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3796 * test/keysynth-demo.c (keysynth_exit, main): upd.
3798 * test/simple-at.c (main, simple_at_exit): upd.
3800 * test/test-simple.c (unutterable_horror): kill.
3801 (utterable_normal_derefs): kill.
3802 (main): upd & do a setenv before gtk_init, so that we
3803 can use memprof - and to save the pain of remembering
3804 this, if we're running under memprof - don't exit.
3806 * cspi/spi_main.c (SPI_exit): return exit status
3808 (SPI_event_quit): impl.
3809 (SPI_event_main): simplify.
3810 (cspi_is_gnome_app): kill.
3811 (SPI_init): kill isGNOMEapp arg.
3813 * at-bridge/bridge.c (register_atk_event_listeners):
3814 re-instate the unref.
3815 (bridge_exit_func): don't re-activate the registry,
3816 protect vs. theoretical re-entry, use the
3817 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3818 assert a clean shutdown - for regression tests.
3820 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3822 * configure.in: Comment out dummy i18n support for now,
3823 otherwise it fails to build.
3824 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3825 EXTRA_DIST. They are missing in tarball.
3827 2001-12-07 Michael Meeks <michael@ximian.com>
3829 * util/magnifier.c: kill bonobo activation reg. race.
3831 * libspi/component.c
3832 (impl_accessibility_component_get_extents): make it match
3835 * libspi/registry.c (_registry_notify_listeners):
3836 re-remove X headers & reconcile conflicts.
3837 (spi_listener_struct_free): bad conflict resolve.
3838 (impl_accessibility_registry_register_application):
3839 more bad merging fixed.
3840 (impl_accessibility_registry_deregister_application): ditto.
3841 (spi_registry_new): ditto.
3842 (spi_registry_init): don't have an applications field.
3844 [ merge fixups2 branch to here ]
3845 2001-12-07 Michael Meeks <michael@ximian.com>
3847 * test/simple-at.c (report_focus_event),
3848 (report_focussed_accessible): remove g_warning debug.
3850 2001-12-07 Michael Meeks <michael@ximian.com>
3852 * test/test-simple.c (validate_tree): comment out some checks.
3853 (test_desktop): app now not registered idly - horay.
3855 2001-12-07 Michael Meeks <michael@ximian.com>
3857 * cspi/spi_registry.c
3858 (registerAccessibleKeystrokeListener): clean, stop it leaking
3859 great swathes of memory, and device event controller references.
3860 ensure we always pass valid sequences.
3861 (deregisterAccessibleKeystrokeListener): ditto.
3862 (generateKeyEvent): upd.
3864 * at-bridge/bridge.c (bridge_key_listener): handle
3865 registry dead exception gracefully.
3866 (bridge_focus_tracker, emit_eventv): free ev.
3868 * test/simple-at.c (report_focus_event): fix polarity.
3870 * libspi/application.c (notify_listeners): kill the ev
3871 argument, and make sure we init the ev we use.
3872 (spi_application_object_event_listener): split out a chunk
3873 (get_atk_object_ref): here & fixup.
3874 (reverse_lookup_name_for_toolkit_event): make const.
3875 (spi_application_toolkit_event_listener): fixup, kill leaks
3878 * at-bridge/bridge.c (register_atk_event_listeners):
3879 don't unref the noop object - causes grief.
3881 * libspi/registry.c: remove the X headers.
3882 turn off the debug churn.
3884 * libspi/accessible.c (spi_accessible_new_return): only
3885 release the ref if we are supposed to [doh]
3887 * test/simple-at.c (report_button_press, report_focus_event):
3888 guard vs. unexpected exit.
3890 * at-bridge/bridge.c (gtk_module_init): prune printf.
3891 (bridge_exit_func): fix app unref.
3893 * libspi/Makefile.am: don't install registry or desktop.h
3895 * libspi/*.h: update includes.
3897 * libspi/application.h: don't include ourself, or
3898 other redundant headers.
3900 2001-12-06 Michael Meeks <michael@ximian.com>
3902 * libspi/accessible.c
3903 (get_accessible_from_servant): impl.
3904 Upd. all CORBA impl.s to use it killing cut and paste.
3906 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3908 (SPI_init): register atexit cleanup handler here.
3910 2001-12-06 Michael Meeks <michael@ximian.com>
3912 * at-bridge/bridge.c (gtk_module_init): g_error on
3913 activation exception
3915 2001-12-06 Michael Meeks <michael@ximian.com>
3917 * at-bridge/bridge.c (gtk_module_init): some sort of
3918 confusing merge clash - reverted.
3919 (bridge_idle_init): ditto.
3921 * test/test-simple.c (main, utterable_normal_derefs):
3922 merge from Bill - somehow not committed.
3924 2001-12-06 Michael Meeks <michael@ximian.com>
3926 * libspi/value.c (spi_value_class_init): upd.
3927 (spi_value_finalize): kill.
3929 * libspi/table.c (spi_table_finalize): kill.
3930 (spi_table_interface_new): upd.
3931 (spi_table_class_init): upd.
3932 (get_table_from_servant): impl.
3933 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3935 * libspi/selection.c (spi_selection_finalize): kill.
3936 (spi_selection_interface_new): upd.
3937 (spi_selection_class_init): upd.
3938 (get_selection_from_servant): impl.
3939 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3941 * libspi/relation.c (spi_relation_finalize): kill.
3942 (spi_relation_class_init, spi_relation_new): upd
3944 * libspi/image.c (spi_image_finalize): kill.
3945 (spi_image_class_init): upd.
3946 (spi_image_interface_new): upd.
3947 (get_image_from_servant): impl.
3948 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3950 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3951 (spi_hyperlink_finalize): kill.
3952 (spi_hyperlink_new): upd.
3953 (get_hyperlink_from_servant): impl.
3954 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3956 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3957 (spi_hypertext_finalize): kill.
3958 (spi_hypertext_class_init): upd.
3959 (get_hypertext_from_servant): impl.
3960 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3962 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3963 (spi_editable_text_interface_new): upd.
3964 (get_editable_text_from_servant): impl.
3965 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3967 * libspi/text.c (get_text_from_servant): impl.
3968 All impls - update to use it killing more cut and paste,
3969 also fix bad string returns on duff args ( a somewhat
3970 impossible case to handle - but hey ).
3971 (spi_text_construct): impl.
3972 (spi_text_interface_new): upd.
3973 (spi_text_object_finalize): kill.
3975 * libspi/component.c
3976 (accessibility_component_object_finalize): kill.
3977 (spi_component_class_init): upd.
3978 (get_component_from_servant): impl. helper to kill cut & paste.
3979 (impl_accessibility_component_contains):
3980 (impl_accessibility_component_get_accessible_at_point):
3981 (impl_accessibility_component_get_position):
3982 (impl_accessibility_component_get_extents):
3983 (impl_accessibility_component_get_mdi_z_order):
3984 (impl_accessibility_component_get_layer):
3985 (spi_component_interface_new): upd.
3987 * libspi/action.c (spi_action_finalize): kill.
3988 (spi_action_class_init): upd. inherit from SpiObject.
3989 (spi_action_interface_new): upd.
3990 (get_action_from_servant): impl. helper to reduce cut & paste.
3991 (impl_getKeyBinding, impl_getName, impl_doAction),
3992 (impl_getDescription): Use it everywhere.
3994 * cspi/spi_main.c (get_live_refs): a pointer hash.
3995 (spi_object_hash, spi_object_equal): comment out.
3996 There are issues with CORBA object hashing that need
3999 * libspi/application.c (spi_application_init),
4000 (spi_application_new): upd.
4002 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4003 (spi_accessible_class_init): upd.
4004 s/accessible/object/ in epv methods.
4006 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4008 * at-bridge/bridge.c:
4009 Reorder the bridge initialization into the bridge gtk_module_init,
4010 an immediate call to bridge_register_app, and an idle_add for
4011 register_atk_event_listeners (the only code that *must* wait until
4012 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4013 the activation, creates the application's Accessible object, and
4014 queues the bridge_idle_init function. Restored call to
4015 Accessibility_Registry_deregisterApplication().
4016 Prior to making this call we obtain a new reference to the
4017 registry, which is a temporary hack that helps us handle apps that
4018 shut down the bonobo mainloop before we get there.
4020 * libspi/registry.c:
4021 Fix string leakage in debug block, and don't segv if a an app
4022 dies before its event notifications have been propagated.
4025 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4026 as stopgap measure until we get proper exception handling when
4027 objects die during or before interrogation.
4031 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4032 Also changed default value of is_gnome_app to TRUE.
4035 * test/keysynth-demo.c:
4036 Changed use of SPI_init and SPI_event_main to reflect API change above.
4039 Made report_focus_event check the warning value from getName
4040 before reporting on focussed accessible; simplifies handling of
4041 notifications from dead objects.
4043 * test/test-simple.c: (Changes not in this patch since source is
4046 2001-12-05 Michael Meeks <michael@ximian.com>
4048 * registryd/registryd.c (main): protect against
4049 bonobo-activation startup race condition.
4051 * cspi/spi_main.c (cspi_object_add_check): cope
4052 with the exception elegantly.
4054 * idl/Accessible.idl: decl. ChildGone
4056 * libspi/desktop.c (spi_desktop_dispose): impl.
4057 (spi_desktop_class_init): upd.
4058 (spi_desktop_add_application),
4059 (spi_desktop_remove_application),
4060 (abnormal_application_termination): impl.
4061 (impl_desktop_get_child_at_index): re-impl.
4064 (impl_accessibility_registry_deregister_application),
4065 (impl_accessibility_registry_register_application):
4066 kill excessive debug clutter.
4068 * test/test-simple.c (test_misc): test some NULL
4069 tolerance. (main): upd.
4071 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4072 implements no interfaces - so let's not crash.
4074 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4076 * libspi/accessible.c (spi_accessible_new_return): impl.
4077 helper to calm the cut and paste, to cope with
4078 NULL AtkObjects effectively and efficiently, and to kill
4079 the referencing bugs.
4081 * libspi/table.c (impl_getAccessibleAt),
4082 (impl_getRowHeader, impl_getColumnHeader): upd.
4084 * libspi/hyperlink.c (impl_getObject): upd.
4086 * libspi/accessible.c
4087 (impl_accessibility_accessible_get_child_at_index): upd.
4089 * libspi/component.c
4090 (impl_accessibility_component_get_accessible_at_point): upd.
4092 * test/test-simple.c (test_editable_text, test_text): impl.
4095 * cspi/spi_editabletext.c
4096 (AccessibleEditableText_insertText): constify.
4098 * test/test-simple.c (focus_me): make more robust.
4100 * libspi/accessible.c: remove some printfs in methods that
4101 we test and work fine, so we can get a clean tree dump.
4103 * test/test-simple.c (validate_accessible),
4104 (validate_tree): make tree dumping pretty too.
4106 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4107 it builds without debug on.
4109 * test/test-simple.c (validate_accessible): fix the most
4112 * cspi/spi_main.c (spi_object_release): leave the nicely
4113 blanked memory around if in debug mode.
4115 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4117 [committed to fixups2]
4118 2001-12-05 Michael Meeks <michael@ximian.com>
4120 * libspi/editabletext.c
4121 (spi_editable_text_class_init): g_type_class_peek_parent,
4122 not interface peek - so we finalize cleanly.
4124 * libspi/accessible.c (spi_accessible_new): kill debug.
4126 * test/test-simple.c (validate_accessible): fix ref.
4127 leak, print strings before freeing them; sigh, comment a
4128 chunk out due to strangeness.
4129 (validate_tree): unref the child after use.
4131 * cspi/spi_component.c (AccessibleComponent_getLayer):
4132 add missing break statement, switch on zlayer not the
4133 uninitialized retval.
4135 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4136 before (possibly re-entering) remote unref.
4138 * test/simple-at.c (main): unref the desktop.
4140 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4143 * cspi/spi_main.c (cspi_accessible_is_a): here to
4144 isolate bonobo API usage more.
4146 * libspi/registry.c (impl_accessibility_registry_register_application):
4147 prune bogus comment.
4149 2001-12-04 Michael Meeks <michael@ximian.com>
4151 * test/test-simple.c (validate_tree): upd.
4152 IndexInParent check to make it more lucid.
4153 (validate_accessible): dump the tree.
4155 * libspi/accessible.c (de_register_public_ref),
4156 (get_public_refs): impl.
4157 (spi_accessible_new): make more efficient & intuitive.
4158 Now IndexInParent check works.
4160 2001-12-04 Michael Meeks <michael@ximian.com>
4162 * cspi/spi-util.h: remove.
4164 * cspi/spi.h: move SPI_freeString here
4166 * libspi/component.c (impl_accessibility_component_get_layer):
4168 (impl_accessibility_component_get_mdi_z_order): ditto,
4169 return -1 on error - is this ok ?
4171 * test/test-simple.c (test_application): impl.
4173 * cspi/spi_accessible.c (Accessible_getApplication),
4174 (Accessible_isApplication): impl.
4176 * libspi/registry.c (spi_listener_struct_free): release
4177 the CORBA reference too.
4179 * libspi/accessible.c
4180 (impl_accessibility_accessible_get_parent): fix ref leak.
4182 * libspi/registry.c (spi_registry_new): make the registry
4183 immortal - we don't want it to go away ever.
4185 * libspi/application.c
4186 (spi_accessible_application_finalize): impl. cleanup.
4188 * cspi/spi_registry.c
4189 (deregisterGlobalEventListenerAll),
4190 (deregisterGlobalEventListener),
4191 (deregisterAccessibleKeystrokeListener): fix ref leak.
4193 * cspi/spi_main.c (SPI_init): remove redundant ref.
4195 * test/test-simple.c (unutterable_horror): impl. to force a
4200 (impl_accessibility_registry_deregister_application): release
4201 the application when we de-register it.
4203 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4204 until we have the infastructure to get it right.
4206 2001-12-03 Michael Meeks <michael@ximian.com>
4208 * libspi/Makefile.am: only build eventlistener.[ch]
4210 * libspi/accessible.c
4211 (impl_accessibility_accessible_get_child_at_index): don't leak.
4213 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4214 before we hit the idle handler.
4216 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4217 debugging than exit.
4219 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4221 * libspi/listener.c (impl_notify_event): check source
4222 not NIL before unref.
4224 * libspi/registry.c (impl_registry_notify_event): ditto.
4226 * libspi/eventlistener.c
4227 (impl_accessible_event_notify_event): unref the source.
4229 * libspi/accessibleeventlistener.c
4230 (impl_accessible_event_notify_event): unref the source.
4232 * idl/Event.idl: remove 'hash_id' attribute - of no
4235 * libspi/application.c (notify_listeners): upd list
4237 (spi_application_object_event_listener),
4238 (spi_application_toolkit_event_listener): upd to do correct
4242 (_registry_notify_listeners): update.
4243 (parse_event_type): this method also leaks like a sieve.
4244 (impl_accessibility_registry_deregister_global_event_listener):
4245 fix ETYPE_WINDOW case.
4247 * libspi/application.c
4248 (impl_accessibility_application_register_object_event_listener):
4251 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4253 * libspi/hypertext.c (impl_getLink): ditto.
4255 * cspi/spi_main.c (cspi_object_add): remove
4256 bogus CORBA_Object_duplicate.
4258 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4261 * cspi/spi_accessible.c
4262 (Accessible_getRelationSet): fix leak / referencing issue.
4264 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4265 (cspi_object_add, cspi_object_unref): upd.
4266 (spi_object_release, get_live_refs): impl.
4267 (cspi_cleanup): simplify.
4269 * *.[ch]: s/boolean/SpiBoolean/
4271 * cspi/spi_accessible.c (role_names): actualy order so it
4272 corresponds with the enum !
4274 * test/test-simple.c (test_roles): check some role strings
4275 vs. enums to detect offset errors.
4277 2001-12-01 Michael Meeks <michael@ximian.com>
4279 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4281 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4283 (Accessible_getChildAtIndex): use cspi_add_check so we
4284 check the ev before using a (possibly) invalid value.
4286 * libspi/accessible.c
4287 (impl_accessibility_accessible_get_parent): don't segv
4290 * at-bridge/bridge.c (gtk_module_init): upd.
4291 (bridge_property_event_listener): don't leak strings
4293 (bridge_state_event_listener),
4294 (bridge_property_event_listener): don't use a static
4295 buffer in case of recursive event emission &
4296 re-enterancy - split out the swathe of cut and paste
4298 (emit_eventv): and fix 2 ref leaks here & comply to the
4300 (bridge_register_app): rename to
4301 (bridge_idle_init): this and kill arg parsing, split
4302 various inits & bonobo-activation registration to module
4303 init time, kill referencing error.
4304 (bridge_exit_func): fix the same leak.
4305 (bridge_focus_tracker): don't leak event structures
4307 (bridge_signal_listener): more leakage and cut & paste
4309 (bridge_key_listener): return the result - FIXME is
4310 this polarity correct ?
4311 (accessibility_keystroke_from_atk_key_event): rename
4312 (accessibility_init_keystroke_from_atk_key_event): and stop
4314 (gtk_module_init): return a value - not that it is checked by
4316 (bridge_key_listener): register my horror at casting between
4317 IDL defined structs.
4318 (bridge_get_registry): kill - not used.
4320 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4322 * test/test-simple.c (test_roles): impl.
4323 (test_desktop, validate_accessible, validate_tree): impl.
4325 * cspi/spi_accessible.c (role_names): fixup bogus
4326 MAX_ROLES setup, make constants const for efficient linkage
4327 (AccessibleRole_getName): conform to coding style, make
4330 2001-11-30 Michael Meeks <michael@ximian.com>
4332 * cspi/spi.h: add missing prototype.
4334 * libspi/registry.c (spi_listener_struct_new): fix sig.
4336 * test/Makefile.am: add test-simple
4338 * test/test-simple.c: add
4340 * test/test.sh: add.
4342 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4344 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4345 do it straight - since otherwise we often get an activation race.
4347 [ work before Bill duplicated a chunk of it ... ]
4348 2001-11-30 Michael Meeks <michael@ximian.com>
4350 * libspi/keystrokelistener.c
4351 (spi_keystroke_listener_class_init): fixup arg
4354 * libspi/eventlistener.c
4355 (spi_event_listener_class_init): ditto.
4357 * tests/test.sh: add.
4359 * cspi/spi-listener-impl.h: update macros.
4361 * cspi/spi-listener-impl.c
4362 (cspi_event_listener_remove_callback): add
4363 correct pre-conditions.
4365 * cspi/spi_main.c (SPI_exit): guard vs. double
4366 exits, exit the mainloop nicely.
4367 (SPI_event_main): make more sense.
4368 (SPI_init): move the atexit evilness here so we
4369 always do it (yuck).
4370 (SPI_event_main): upd.
4372 * test/simple-at.c: update for listener changes.
4374 * registryd/registryd.c (main): prune kruft.
4376 * libspi/libspi.h: upd.
4378 * libspi/eventlistener.[ch]: rename broken macros.
4380 * libspi/accessibleeventlistener.[ch]: remove.
4382 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4384 * test/test-simple.c: Add - automated tests.
4386 * cspi/spi-listener-impl.c (cspi_event),
4387 (cspi_key_event): add user_data to invoke.
4388 (cspi_keystroke_listener_finalize): impl.
4389 (cspi_keystroke_listener_class_init): upd.
4392 (createAccessibleEventListener),
4393 (AccessibleEventListener_addCallback),
4394 (createAccessibleKeystrokeListener),
4395 (AccessibleKeystrokeListener_addCallback): upd.
4397 * libspi/deviceeventcontroller.c
4398 (spi_device_event_controller_check_key_event): add public proto.
4401 (impl_accessibility_registry_deregister_global_event_listener):
4402 always init listeners.
4403 (_registry_notify_listeners): yes it is.
4405 * cspi/spi-listener-impl.c (cspi_key_event):
4407 (cspi_event_listener_finalize): impl.
4408 (cspi_event_listener_class_init): hook up.
4409 (event_handler_new, event_handler_free),
4410 (event_list_remove_by_callback): impl.
4411 (cspi_event_listener_remove_callback),
4412 (cspi_keystroke_listener_remove_callback),
4413 (cspi_keystroke_listener_add_callback),
4414 (cspi_event_listener_add_callback): upd.
4416 * libspi/keystrokelistener.c
4417 (keystroke_listener_object_finalize): kill
4418 (spi_keystroke_listener_class_init): upd.
4419 (spi_keystroke_listener_add_callback),
4420 (spi_keystroke_listener_remove_callback): kill,
4422 (impl_key_event): prune drasticaly.
4424 * libspi/eventlistener.c
4425 (spi_event_listener_add_callback),
4426 (spi_event_listener_remove_callback): kill, use
4428 (impl_accessible_event_notify_event): upd.
4429 (spi_event_listener_object_finalize): remove.
4431 * libspi/Makefile.am: use eventlistener.[ch]
4433 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4435 * libspi/registry.c (_registry_notify_listeners):
4436 Changed listener loop iteration to use preferred convention.
4437 Got rid of string memory leaks caused be calling g_strconcat
4438 inside function calls.
4440 * libspi/registry.c (parse_event_type):
4441 Stopped g_strconcat memory leaks, free the g_strsplit return,
4442 g_strdup the split pieces when used, etc.
4444 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4447 Change method 'compare' to return a 'difference set' rather than
4448 taking a StateSet as an out parameter (more Java-friendly).
4450 * idl/Accessible.idl:
4451 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4453 * idl/Component.idl:
4455 Changed methods 'getExtents' and 'getImageExtents' in these
4456 interfaces to return a BoundingBox structure.
4457 (getPosition and getSize are redundant and possibly should be
4458 removed, rather than creating a corresponding Point struct.)
4460 * cspi/spi_component.c:
4461 Modify implementation of getExtents to reflect the above IDL
4466 Add (missing) AccessibleImage_getExtents () API.
4468 * docs/reference/cspi/at-spi-cspi-sections.txt:
4469 Added AccessibleImage_getImageExtents () to docs.
4471 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4473 * idl/Component.idl:
4474 Added two methods, getLayer () and getMDIZOrder (), to reflect
4475 the new ATK methods atk_object_get_layer and
4476 atk_object_get_mdi_z_order. (Which arguably should be part of the
4477 AtkComponent API and AtkObject). Also added an enum,
4478 ComponentLayer, for the first method's return value.
4480 * libspi/component.c:
4481 Added implementations for these methods.
4483 * cspi/spi_component.c:
4485 Added cspi binding methods for above,
4486 AccessibleComponent_getLayer() and
4487 AccessibleComponent_getMDIZOrder().
4488 Added cspi enum 'AccessibleComponentLayer'.
4490 * docs/reference/cspi/at-spi-cspi-sections.txt:
4491 Added above methods to docs.
4495 Changed typedef for 'boolean' type (and all references to it) to
4496 SPIBoolean, to avoid keyword clashes with C++.
4499 Changed usages of 'boolean' to SPIBoolean.
4501 * test/keysynth-demo.c:
4502 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4503 app), except where SPIBoolean is required by the callbacks API.
4505 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4507 * cspi/spi_registry.c:
4508 Removed obsolete X event loop for passive keygrabs (which now
4511 * registryd/registryd.c:
4512 Removed unnecessary call to gdk_init() [cruft]. This also allows
4513 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4516 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4518 * docs/reference/cspi:
4519 Included docs for SPI_freeString in generated documentation.
4522 Renamed spi_freeString to SPI_freeString, for consistency. Added
4523 documentation for this function.
4526 Renamed spi_freeString to SPI_freeString, for consistency.
4527 Removed obsolete method declaration string_from_corba_string.
4529 * test/keysynth-demo.c:
4530 Small tweak to comments.
4533 Stopped leaking the strings returned from CSPI.
4535 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4537 Merged Michael's branch (see his ChangeLog entries below).
4539 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4540 bridge is alive, release on exit.
4542 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4543 Fix type check macro.
4546 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4549 Added is_gnome_app static, and method cspi_is_gnome_app(),
4550 so we can call the appropriate shutdown routine at exit in SPI_exit.
4552 * cspi/spi_main.c (cspi_object_ref):
4553 Duplicate the corba object passed in, since we're keeping it around.
4555 * cspi/SPI_exit.c, cspi_cleanup:
4556 Moved the releasing of the live refs to its own function, so we
4557 can put it in g_atexit (). Call the appropriate shutdown API
4558 depending on whethe calling client is a gnome app or not
4559 (bonobo_main_quit or CORBA_ORB_shutdown).
4561 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4562 Unref the listener when this method is called, after
4563 deregistration. Updated the API docs to note this behavior.
4565 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4566 Bugfixes: Ref the bonobo object when returning a parent or child
4567 reference, or an AccessibleRelation. Generally made sure
4568 BonoboObject refcount is incremented whenever we return an
4571 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4572 Fixed typo/bug in signal declaration.
4574 * libspi/accessibleeventlistener.h:
4577 * libspi/application.c (spi_application_new):
4578 Fixed leak in initialization.
4581 Remembered to increment bonobo-object refcount when returning
4582 children (applications) from desktop object.
4583 Added (empty) finalize method.
4585 * libspi/deviceeventcontroller.c:
4586 Hold a ref to listeners inside DEControllerKeyListeners.
4587 Added dec_key_listener_free() method. Use prepend instead of
4588 append in key_listener list. Fixed some refcount madness and
4589 leaks in the listener registration/deregistration - deregistration
4590 now calls dec_key_listener_free() on listeners, and on the
4591 temporarily constructed dec_key_listener() used to perform the search/match.
4593 * libspi/hypertext.c (spi_hypertest_finalize):
4594 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4595 class. Also fixed spi_hypertext_interface_new() and
4596 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4598 * libspi/hypertext.h:
4599 Removed pointless and duplicate AtkObject pointer from
4602 * libspi/keystrokelistener.c:
4603 Fixed incorrect type of keystroke_listener_parent_class,
4604 renamed keystroke_listener_object_finalize to
4605 spi_keystroke_listener_object_finalize.
4606 Fixed typo in signal declaration
4607 (spi_keystroke_listener_class_init).
4609 * libspi/registry.c:
4610 Added funcsions spi_listener_struct_new() and
4611 spi_listener_struct_free() to help with memory management issues.
4612 We also now use these methods instead of gnew + poking stuff into
4613 the struct, and to decrement listener counts/free the listeners
4614 when deregistering them.
4615 Fix more refcount bugs in getDesktop() and
4616 getDeviceEventController().
4619 De-ref the desktop after enumerating the applications. Explicitly
4620 decrement the refcounts on the created listeners on exit (using
4621 _unref for keystroke listeners, and via the
4622 deregisterGlobalEventListenerAll command for other event
4625 2001-11-27 Michael Meeks <michael@ximian.com>
4627 * cspi/spi-listener.h: fixup enum.
4629 2001-11-27 Michael Meeks <michael@ximian.com>
4631 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4632 (cspi_keystroke_listener_new): Use the cspi variants.
4634 2001-11-26 Michael Meeks <michael@ximian.com>
4636 * test/keysynth-demo.c: fix 2 compile warnings, missing
4639 * test/simple-at.c (report_focussed_accessible),
4640 (report_focus_event, report_button_press),
4641 (check_property_change, is_command_key),
4642 (report_ordinary_key_event, report_command_key_event): upd.
4644 * util/mag_client.h: include pre-requisites.
4646 * libspi/accessibleeventlistener.c
4647 (spi_event_listener_object_finalize): free any lingering
4650 * libspi/keystrokelistener.c
4651 (keystroke_listener_object_finalize): ditto.
4653 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4654 callbacks, with cspi types.
4656 * cspi/spi_event.c (createAccessibleEventListener): chain to
4657 (AccessibleEventListener_addCallback): here.
4658 (createAccessibleKeystrokeListener): chain to
4659 (AccessibleKeystrokeListener_addCallback): here.
4661 * libspi/keystrokelistener.c
4662 (spi_keystroke_listener_class_init): add signal.
4663 (impl_key_event): emit the event.
4664 (boolean_handled_accumulator): impl.
4665 (marshal_BOOLEAN__POINTER): add, gack.
4667 * libspi/accessibleeventlistener.c
4668 (spi_event_listener_class_init): add signal.
4669 (impl_accessible_event_notify_event): emit the signal &
4670 make the loop efficient.
4671 (spi_event_listener_add_callback): prepend the callback.
4673 * libspi/accessibleeventlistener.h: add an 'event' signal,
4674 decl type on callback.
4676 * libspi/keystrokelistener.h: ditto.
4678 * cspi/spi-listener.h: make methods typesafe and
4679 make them use the new event typedefs.
4681 * test/simple-at.c (report_focussed_accessible):
4682 include mag_client.h
4683 Use *(void *)text_interface not the other thing.
4685 * configure.in: add gtk to registryd bits - since we use
4688 * util/magnifier.c: include libbonobo.h
4690 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4692 * test/keysynth-demo.c:
4693 Turned this into a simple scanning keyboard, to demonstrate the
4694 use of g_timeout_add () as a means of creating timers for
4695 scanning, and the use of GtkStyle for visually indicating when
4696 virtual keyboard elements are selected.
4698 keysynth-demo now listens to any keyboard keys with zero-valued
4699 keycodes (i.e. 'unused' keys) and interprets them as
4702 Reworked the shiftlatch code so that shift-down state isn't held
4703 for long periods (it's only synthesized immediately prior to
4704 the keysynth event it's modifying). Note that shiftlatch in this
4705 demo is a convenience, not intended to take the place of AccessX
4706 which is the better choice for getting 'sticky' modifier keys.
4708 * libspi/deviceeventcontroller.c:
4709 * at-bridge/bridge.c:
4710 * cspi/spi_registry.c:
4711 Removed some debug print stuff, and put other verbosity in #ifdef
4716 Implemented some more of the magnifier IDL for the simple
4717 magnifier: namely, getZoomRegionParams.
4718 Added mag_x and mag_y members to MagnifierData struct, aid of this
4720 Added GtkWindow::realize signal handler to magnifier, to keep it
4721 from receiving keyboard focus from the WM.
4723 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4725 * cspi/spi-private.h: my guess at what michael forgot
4726 before he ran off to NZ :-)
4728 2001-11-23 Michael Meeks <michael@ximian.com>
4730 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4731 comment out non existant method invoke so we link.
4733 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4734 use bonobo_exception_get_text for more friendly warnings.
4736 * cspi/spi.c (Obj_Add): move into spi_main & rename
4737 spi_object_add; kill spi.c
4739 * cspi/spi_registry.c
4740 (deregisterGlobalEventListener),
4741 (deregisterGlobalEventListenerAll),
4742 (registerGlobalEventListener): fix exception leaks.
4744 * cspi/spi_main.c (spi_exception): impl. helper, so we
4745 don't leak exceptions.
4747 * cspi/spi_selection.c
4748 (AccessibleSelection_deselectSelectedChild): return the
4751 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4752 (spi_registry): ditto.
4753 (SPI_init): guard against double inits.
4755 * cspi/*.c: use spi_ev (), and spi_registry () where
4756 appropriate - a temporary hack until we have something
4757 better. Use spi_object_add
4759 2001-11-22 Michael Meeks <michael@ximian.com>
4761 * cspi/Makefile.am: re organise, install the headers.
4763 * cspi/*.h: add G_BEGIN/END_DECLS
4765 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4768 Added non-preemptive keylistener for key events with no modifiers
4769 and shift-only modifier.
4771 * libspi/keystrokelistener.c:
4772 Removed some verbose diagnostics printout.
4774 * cspi/spi_registry.c:
4775 Fixed a bug that caused all key listeners to be registered as
4778 * libspi/deviceeventcontroller.c:
4779 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4780 for non-preemptive key masks.
4783 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4785 * docs/reference/idl/at-spi-idl-docs.sgml:
4786 * docs/reference/idl/at-spi-idl-sections.txt:
4787 * docs/reference/idl/at-spi-idl-overrides.txt:
4788 Added missing files.
4790 * docs/reference/Makefile.am:
4791 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4792 to scan the IDL files :-(
4797 Added .cvsignore files.
4799 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4801 * libspi/deviceeventcontroller.c:
4802 * libspi/keystrokelistener.c:
4804 * cspi/spi_registry.c:
4805 Added filters for KeySets, KeyEventSeq, and event types to key
4806 event dispatching, so listeners should only receive those events
4807 that they requested :-)
4809 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4814 * docs/reference:Makefile.am:
4815 * docs/reference/cspi:
4816 * docs/reference/cspi:Makefile.am:
4817 * docs/reference/cspi:tmpl:
4818 * docs/reference/cspi:tmpl:*.sgml:
4819 * docs/reference/idl:
4820 * docs/reference/idl:Makefile.am:
4821 * docs/reference/idl:at-spi-idl-sections.txt:
4822 * docs/reference/idl:at-spi-idl-docs.sgml:
4823 * docs/reference/idl:tmpl:
4824 * docs/reference/idl:tmpl:*.sgml:
4826 Restructured docs directory to allow separate 'reference' docs
4827 section, and forked idl and cspi docs. Added the sgml template
4828 files to CVS. Added the first sections/structural sgml for the
4831 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4833 * configure.in, libspi/Makefile.am: find libXtst.
4835 2001-11-21 Michael Meeks <michael@ximian.com>
4837 * test/accessx-gui.c: s/spi_value/value/ - doh.
4839 * libspi/base.[ch]: add.
4841 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4843 * idl/Accessible.idl:
4844 * idl/Application.idl:
4847 Started gtk-doc cleanup on IDL.
4849 * libspi/deviceeventcontroller.c:
4850 Added and connected non-preemptive key notification from the
4851 toolkits (in addition to the pre-emptive support from XServer
4852 which we had before, but which causes 'focus flashing'). Filters
4853 are presently limited to key modifiers and global/non-global,
4854 KeySets are presently ignored, as are KeyEvent masks.
4856 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4857 structs into the persistant structure rather than just storing
4858 pointers to things that might not persist across servant
4861 The XGrabKey call now does async keygrabs, because synchronous
4862 ones were deadlocking with GDK_event code in a very nasty way.
4864 Added boolean to internal method notify_keylisteners, to indicate
4865 whether the event came from the 'toolkit source' or the 'global
4866 (XServer) source' - this is used in the notification process to
4867 determine which listeners to send the event to.
4869 deviceeventcontroller.c is now warning-free.
4871 * libspi/registry.c:
4872 Fixed regression in application de-registration.
4873 Also fixed some really brain-dead weirdness having to do with
4874 event dispatching - event structs are now duplicated before being
4875 re-marshalled in the dispatch to listeners. This also fixes a
4876 Solaris build problem.
4879 2001-11-20 Michael Meeks <michael@ximian.com>
4882 (impl_accessibility_registry_deregister_global_event_listener):
4885 * libspi/deviceeventcontroller.c
4886 (spi_device_event_controller_check_key_event): return
4887 FALSE on no virtual method.
4889 * libspi/*..h: make includes work on a correctly pathed install.
4891 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4893 * libspi/application.h: kill unused ( and whacked out )
4894 gboolean *spi_application_set_id (AtkObject *app, long id);
4896 2001-11-20 Michael Meeks <michael@ximian.com>
4898 * libspi/*.[ch]: further convert to bonobo's type func
4899 macros, remove redundnant casts etc.
4901 * libspi/text.c s/accessibility_text/spi_text/g,
4902 re-order to de-cruft.
4904 * libspi/hypertext.c: re-order to kill a huge slew
4905 of redundant forward decls.
4907 * libspi/relation.c: ditto.
4909 * libspi/image.c: ditto.
4911 * */.cvsignore: update
4913 2001-11-20 Michael Meeks <michael@ximian.com>
4915 * libspi/deviceeventcontroller.c
4916 (_controller_register_with_devices): use g_getenv,
4917 kill stdlib.h include.
4919 * libspi/keystrokelistener.c
4920 (spi_keystroke_listener_get_type): kill
4921 (spi_keystroke_listener_class_init),
4922 (spi_keystroke_listener_init): rename to this.
4924 * libspi/text.c (impl_getAttributes): fix warning / bug.
4926 * libspi/*.[ch]: more headers, includes and over commenting.
4928 2001-11-20 Michael Meeks <michael@ximian.com>
4930 * libspi/*.[ch]: fixup headers, includes and over commenting.
4932 * libspi/image.c (impl__get_imageDescription): const
4933 correctness warning fix. remove redundant casting.
4935 * libspi/table.c (impl_getRowDescription): ditto.
4936 (impl_getColumnDescription): ditto.
4938 * libspi/libspi.h: add.
4940 2001-11-19 Michael Meeks <michael@ximian.com>
4942 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4944 * libspi/component.c (accessibility_component_get_type):
4945 rename to (spi_component_get_type): and macroify.
4946 (accessibility_component_init): rename to
4947 (spi_component_init): this
4948 (accessibility_component_class_init): rename to
4949 (spi_component_class_init): this
4951 * libspi/action.c (spi_action_get_type): kill, use the macro.
4953 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4956 * libspi/application.c (spi_application_object_event_listener),
4957 (impl_accessibility_application_register_object_event_listener):
4958 warning fixes / const understanding updates.
4960 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4963 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4965 * libspi/spi_accessible.c: Added docs and C bindings for
4966 AccessibleStateSet. (No implementations yet). Documentation
4967 coverage for C bindings now 100%. Made docs for event listeners
4972 boolean notifyListenersSync (in DeviceEventListener listener,
4973 in DeviceEvent event);
4975 oneway void notifyListenersAsync (in DeviceEventListener listener,
4976 in DeviceEvent event);
4978 Added DeviceEventListener and DeviceEvent structs (may deprecate
4979 KeyStroke and KeystrokeListener in favor of this generic
4980 event/listener framework for devices).
4982 * libspi/deviceeventcontroller.c:
4984 Changed some key listener code to take masks, etc., and paved the
4985 way for integration of toolkit/non-preemptive key events. Changed
4986 signatures of some internal methods.
4988 * at-bridge/bridge.c:
4989 Fixed regression connecting to interface signals, apparently
4990 caused by GTK+ changes.
4992 Added an internal bridge_state_listener to deal with
4993 property-change:accessible-state signals.
4995 Changed the key_listeners GList to store structs (including masks,
4996 etc.) instead of just CORBA_Objects (required for full
4997 implementation of key listener API).
4999 Connected the bridge to all currently supported Atk signals.
5000 Events now supported:
5001 object:property-change
5002 object:property-change:accessible-name
5003 object:property-change:accessible-state
5004 object:property-change:accessible-description
5005 object:property-change:accessible-parent
5006 object:property-change:accessible-value
5007 object:property-change:accessible-role
5008 object:property-change:accessible-table-caption
5009 object:property-change:accessible-table-column-description
5010 object:property-change:accessible-table-column-header
5011 object:property-change:accessible-table-row-description
5012 object:property-change:accessible-table-row-header
5013 object:property-change:accessible-table-summary
5014 object:children-changed
5015 object:visible-data-changed
5016 object:selection-changed
5017 object:text-selection-changed
5019 object:text-caret-moved
5021 object:row-reordered
5023 object:column-inserted
5024 object:column-reordered
5025 object:column-deleted
5026 object:model-changed
5028 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5030 * libspi/hyperlink.c,h:
5031 Fixed some broken stuff in hyperlink.
5033 * libspi/relation.h:
5034 * libspi/relation.c:
5035 * cspi/spi_accessible.c:
5036 Initial implementations of AccessibleRelation methods, and docs.
5038 * libspi/accessible.c:
5039 Fixed a bug that caused SEGV if an accessible
5040 object's description is NULL, and a client
5041 requests it. An empty string is now returned.
5043 * cspi/spi_editabletext.c:
5044 * cspi/spi_hypertext.c:
5046 * cspi/spi_hyperlink.c:
5050 Doc coverage now 95%.
5052 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5054 One last namespacing revision:
5055 * libspi/accessibleeventlistener.[ch]:
5056 Renamed SpiAccessibleEventListener to SpiEventListener,
5057 (no need for two namespaces ;-)
5059 And lots of documentation fixes:
5061 * docs/at-spi-docs.sgml:
5062 Fixed 'underscore vs. hyphen' bug that was preventing
5063 the gtk-doc API docs from being automatically generated.
5066 * cspi/spi-listener.h
5068 * cspi/spi_accessible.c
5070 * cspi/spi_application.c
5071 * cspi/spi_component.c
5072 * cspi/spi_editabletext.c
5074 * cspi/spi_hypertext.c
5076 * cspi/spi_registry.c
5077 * cspi/spi_selection.c
5081 * docs/at-spi-docs.sgml
5082 * docs/at-spi-sections.txt
5084 Added and fixed up gtk-doc documentation in cspi.
5086 Interfaces now (fully) documented (subject to revision and enhancement):
5088 Event Listener Support
5090 AccessibleApplication
5094 AccessibleEditableText
5101 AccessibleRelationSet
5106 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5108 * at-bridge/bridge.c:
5109 Initial work for toolkit-level key snooper connection by bridge.
5114 New typedefs and fixes to support new namespacing, and cleaner
5115 separation of cspi bindings from libspi bonobo implementation.
5116 Removed inconsistent and extraneous Spi* namespace prefix that
5117 had crept into cspi headers.
5118 Lots of comment fixes that sed had missed.
5120 * cspi/spi-roletypes.h:
5121 * cspi/spi-statetypes.h:
5122 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5123 to AccessibleRoleType.
5125 * libspi/accessibleeventlistener.h:
5126 Fixed minor namespacing weirdness.
5128 * libspi/deviceeventcontroller.c:
5129 Reordered some internal API for device listeners.
5130 Changed the key registry final boolean to 'is_system_global'
5131 rather than 'is_synchronous', which is more descriptive of its
5133 Added spi_device_event_controller_new().
5134 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5136 * libspi/keystrokelistener.[ch]:
5137 Namespaced KeystrokeListener to SpiKeystrokeListener.
5138 Changed uses of keymasks to use SPI_ prefix, and did other
5141 * libspi/keymasks.h:
5142 Namespaced keymask constants with SPI_ prefix.
5144 * libspi/registry.c:
5145 Some warning fixes, and knock-on fixes from namespace changes.
5148 Added rules for accessx-gui test program.
5150 * test/accessx-gui.c:
5151 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5152 utility. It doesn't actually use at-spi, but it's still cool and
5155 * test/keysynth-demo.c:
5159 Fixes so that these test clients work properly with the namespaced
5160 libraries. (Incompletely tested for technical reasons, fixes may follow)
5163 2001-11-13 Michael Meeks <michael@ximian.com>
5165 * libspi/application.c
5166 (impl_accessibility_application_get_version),
5167 (impl_accessibility_application_get_toolkit_name):
5169 (impl_accessibility_application_set_id),
5170 (impl_accessibility_application_get_id): remove
5171 redundant casting code.
5173 * libspi/action.c (impl_getDescription): fix warnings.
5175 * libspi/accessible.c
5176 (impl_accessibility_accessible_get_parent),
5177 (impl_accessibility_accessible_get_child_at_index),
5178 (impl_accessibility_accessible_get_state),
5179 (impl_accessibility_accessible_get_relation_set):
5180 warning fixes & include action.h
5182 2001-11-13 Michael Meeks <michael@ximian.com>
5184 * *.[ch] fix bits I screwed up:
5186 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5187 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5189 2001-11-13 Michael Meeks <michael@ximian.com>
5191 * *.[ch] Namespace libspi into spi_ and Spi.
5193 2001-13-11 Michael Meeks <michael@ximian.com>
5195 * Makefile.am: dist & install at-spi-1.0.pc
5197 * libspi/Makefile.am: install into at-spi-1.0
5199 * idl/Makefile.am (idldir): install into at-spi-1.0
5201 * at-spi-1.0.pc.in: add.
5203 * configure.in: build it.
5205 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5207 * test/keysynth-demo.c:
5208 Use a 'realize' signal-handler to set the WM properties for
5209 the virtual keyboard, rather than making it a "POPUP" type
5210 override-redirect window (thanks to anders carlsson for that
5213 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5216 * test/keysynth-demo.c:
5217 Added new test of key synthesis, which creates a simple
5218 (mouse-operated) onscreen keyboard. It inserts key events into
5219 the currently-focused window, thus it does not grab keyboard focus
5222 * cspi/spi_registry.c:
5223 Added C binding for AT-SPI generateKeyEvent.
5225 * libspi/deviceeventcontroller.c:
5226 Added call to XFilterEvent so that key listener works with XIM (we
5227 hope). Added event_synth_type to generateKeyEvent, so that we can
5228 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5229 synthesize a press/release pair for KeySyms.
5231 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5233 * libspi/Makefile.am:
5234 * registryd/Makefile.am:
5235 (temporary) hack to include libXtst in libspi and registryd.
5236 (Needed for keystroke synthesis, see below).
5239 Improved API for registerKeystrokeListener, in accordance with
5240 discussions with Gnopernicus team and X server research.
5242 * libspi/registry.c:
5243 * libspi/deviceeventcontroller.c:
5244 * libspi/accessible.c:
5245 * libspi/keystrokelistener.c:
5246 Changes and fixes to support keylisteners for potentially
5247 consumed key events (that is, 'passive grabs').
5248 Added implementation for generateKeyEvent() [untested].
5251 Changes to registerKeystrokeListener() API, as above.
5252 Added deregisterGlobalEventListenerAll(), and
5253 deregisterKeystrokeListener(), which are needed for clean exit of
5255 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5256 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5258 * cspi/spi_registry.c:
5259 Added implementations of function prototypes mentioned above.
5261 * registryd/registryd.c:
5262 Added the key listener event source as a g_timeout(), to allow
5263 receipt of key events that are not caught by GDK (since GDK
5264 doesn't support passive keygrabs, this was necessary).
5267 Changed to attach a keylistener to 'Alt' keys, and
5268 respond to the following keycommands: Alt-M (toggle magnifier);
5269 Alt-F (toggle speech); Alt-Q (quit).
5270 Added an exit routine to deregister the listeners, and a key
5271 listener that prints some key info to the console when a key
5272 matches the listener mask (and is thus received by the listener).
5274 * util/idl/Magnifier.idl:
5275 Changes to magnifier API to support multiple zoom regions,
5276 non-uniform scaling in x and y, markDirty, and a host of other
5277 features that would be useful to magnification.
5280 * util/mag_client.c:
5281 * util/mag_client.h:
5282 * util/mag_control.c:
5284 Source code changes to support the above IDL changes.
5287 As above, and also changes to use a (slower) generic conversion
5288 path for colormap conversions, since the fast RGB conversions have been
5289 reported to fail for 16-bit displays.
5291 2001-10-26 Michael Meeks <michael@ximian.com>
5293 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5295 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5297 * at-bridge/Makefile.am: fix LDFLAGS.
5299 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5301 * at-bridge/bridge.c:
5302 Re-worked listeners for toolkit events, now we have signal
5303 and property listeners. Added a private method
5304 register_atk_event_listeners(), which registers with the
5305 various atk and gtk signals we need to monitor in order to emit
5307 Added emission hook for AtkObject:property-change events, to
5308 support the 'property listeners'.
5309 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5312 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5313 which emit warnings and exit, respectively, if CORBA errors occur
5314 during remote calls, and we now use these methods to check most of
5315 our CORBA calls in the C bindings.
5317 * cspi/spi_accessible.c:
5318 Changed AccessibleSelection_refSelectedChild() to
5319 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5320 now increment refcounts.
5322 * cspi/spi_component.c:
5323 Fixed some long pointer casts (dangerous!) to pass pointers to
5324 CORBA_longs of the proper type to the CORBA stubs, and copy the
5325 data into the longs that were passed into the C bindings code.
5327 * at-bridge/bridge.c:
5329 * libspi/accessible.c:
5330 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5331 hyperlinks, AtkHyperlink is an object type.
5333 * libspi/application.c:
5334 Added various conversions to and from "generic" event types and
5335 atk-specific types; this is really part of the 'bridge'
5336 implementation but is valid for all AtkObject-based accessibility
5339 * libspi/editabletext.c:
5340 Fixed nasty bug wherein editable text's finalize method was
5341 unref'ing tha AtkObject reference that the text parent class was
5342 about to unref _again_. There was also a nasty inheritance bug
5343 that meant that the AccessibleEditableText class was corrupt.
5345 * libspi/selection.c:
5346 Provided implementations for some selection API that was broken.
5348 * idl/Application.idl:
5349 Added registerObjectEventListener () method.
5352 Fixed a number of return values that were Bonobo_Unknowns from
5353 bonobo_object_corba_objref(), which I
5354 forgot to dup before returning. Changed instances of
5355 bonobo_object_corba_objref (bonobo_object(o)) to
5356 BONOBO_OBJREF(o), for concision and clarity.
5358 2001-10-13 Louise Miller <louise.miller@sun.com>
5360 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5361 idl/Event.idl, idl/Registry.idl
5362 Changed these files to include Bonobo_Unknown.idl instead
5365 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5367 * libspi/component.c libspi/component.h:
5368 Fixed typo. Added assertions for object checks in
5369 AccessibleComponent code.
5371 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5373 * idl/Accessible.idl:
5374 Added 'isEqual (Accessible *object)'
5375 method for Accessible. (Not Yet Implemented).
5378 Changed signature of registerKeystrokeListener() to
5379 take a KeySet and KeyEventSeq so that specific keys and event
5380 types could be requested for monitoring, and added a flag
5381 is_synchronous so that either synchronous or asynchronous
5382 notification could be requested. (However this is not all
5383 implemented yet). This also meant adding two new typedefs,
5384 KeyEventSeq and KeySet.
5387 Added two new relations, RELATION_TOOLTIP_FOR and
5388 RELATION_LEAFNODE_OF.
5391 Added new state, STATE_HAS_TOOLTIP.
5393 * libspi/text.c, editabletext.c:
5394 Added new assertions to all casts of bonobo-objects from
5395 CORBA servants, to prevent Text API calls on non-text objects.
5396 Changed suspect casts of int-pointer types, so that we
5397 always send a valid CORBA_long pointer to the CORBA APIs that use
5398 in/out long parameters. We then have to copy from the CORBA_long
5399 into the regular long or int for return to the C bindings, or
5400 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5403 * libspi/deviceeventcontroller.c:
5404 Cleaned these sources up.
5406 Changed return type for getCharacterAtOffset to
5407 CORBA_unsigned_long, to allow for 32-bit characters.
5410 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5414 Fixed 'make dist' so that distro compiles...
5415 * libspi/keymasks.h:
5417 * cspi/spi-listener.c:
5418 KeystrokeListenerCB now returns a boolean.
5420 Added KeyEventType struct, and KeyStroke.
5421 Also added createKeystrokeListener(),
5422 KeystrokeListener_addCallback(),
5423 KeystrokeListener_removeCallback(), and added a keymask to
5424 registerKeystrokeListener().
5425 * cspi/spi_accessible.c:
5426 Changed numerous return types for interfaces from
5427 AccessibleComponent to Accessible<InterfaceName>; this was
5428 probably a cut-and-paste error.
5430 Implementations of new KeystrokeListener api (from spi.h,
5433 Changes to key modifier mapping.
5434 Created ControllerEventMask struct.
5435 Made DeviceEventController derive from Bonobo::Unknown.
5437 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5438 * libspi/deviceeventcontroller.c:
5439 Added a number of new internal (private) methods.
5440 * libspi/editabletext.c:
5441 * libspi/editabletext.h:
5442 Fixed a number of bugs related to the fact that
5443 editabletext inherits from text. Fixed the EditableText struct,
5444 the init() call, and use correct casts when calling Text methods
5445 from an EditableText object. Removed (duplicate) atko from the
5446 EditableText structure, we use the one in the parent Text
5447 structure via the casts mentioned above.
5448 * libspi/keystrokelistener.[ch]:
5449 * libspi/registry.c:
5450 Changes in support of keyboard handling (above).
5452 Keyboard handling, though partly functional, is still not
5453 recommended for at-spi client use as there is considerable
5454 work yet to be done.
5457 Changed some places where pointers to various int types
5458 are cast to be pointers to CORBA_long types and vice-versa:
5459 pointer casting is not safe so we pass pointers of the correct
5460 types and then cast the result before putting it into the target
5463 * libspi/text.h: minor typos corrected.
5465 We now speak not only the name of a Text element, but the
5466 first sentence of its content, when it receives focus.
5467 I also changed the text compression to 75% from 50%.
5468 * util/Accessibility_Util.server.in:
5469 Changed the default magnifier type to be a 3x vertical
5470 splitscreen magnifier (was previously a 2x horizontal one).
5472 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5474 * libspi/keystrokelistener.h:
5475 * libspi/keystrokelistener.c:
5476 Initial functional implementations of KeystrokeListener.
5479 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5481 Fixed string handling for NULL strings in libspi.
5482 Added spi_freeString to free strings returned by C bindings.
5484 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5486 * libspi/keystrokelistener.h:
5487 * libspi/keystrokelistener.c:
5488 Began (no-op) implementations of KeystrokeListener
5490 * libspi/deviceeventcontroller.c:
5491 * libspi/deviceeventcontroller.h:
5492 Began creating implementations of DeviceEventController,
5493 to handle keystroke and mouse event listening and
5495 * libspi/accessible.c:
5496 Stubbed-in the implementations for
5497 Accessibility_Accessible_getState and
5498 Accessibility_Accessible_getRelationSet.
5499 * libspi/registry.c:
5500 Improved de-registration process and fixed some bugs,
5501 deregistration now works correctly.
5503 Added initialization of applications list (to NULL).
5505 Reduced speech compression from 0.5 to 0.7, for demo.
5506 Changed call to gdk_window_set_decorations()
5507 to gtk_window_set_decorated().
5508 * at-bridge/bridge.c:
5509 Bridge now deregisters when app exits, via
5510 registration of a cleanup function
5511 with the g_atexit() call.
5512 Required making 'app' static, renamed 'this_app'.
5513 Fixed broken use of bonobo_init, passing argv wrongly.
5515 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5519 Created a new directory for
5520 accessibility-related utilities, primarily for
5521 testing and demo purposes, but with possible
5528 Onscreen magnifier utility that
5529 is implemented as a bonobo service.
5531 * util/mag_client.c:
5532 * util/mag_client.h:
5533 Client-side support (simple C bindings)
5534 for Magnification service
5536 * util/mag_control.c:
5537 Client program example for
5538 Magnification service
5540 * util/Accessibility_Magnifier.server.in:
5541 Bonobo-activation file for the
5542 Magnification service.
5545 * util/idl/Magnifier.idl:
5546 IDL defining the bonobo Magnification
5550 Modifications to use the bonobo-activated magnifier
5551 above, in place of trying to connect to an existing
5552 magnifier that uses socket-listening IPC.
5554 If env variable MAGNIFIER is set, a magnifier service
5555 will be started if one does not exist.
5557 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5559 * at-bridge/bridge.c:
5560 applied patch from Marc to build and run
5561 against new glib and gtk+ (seemed like a change
5562 to bonobo_init signature was made ?)
5564 made festival-server support turned off by default.
5565 Added support for a simple magnifier (off by default)
5566 which will be added to a 'util' directory later.
5567 * at-bridge/Makefile.am:
5568 Changed "application.h" header from a 'source'
5569 to a 'dependency' of libat-bridge.
5571 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5580 Added interface implementation c files to list of
5581 includes so they are included in libcspi.
5584 Changed prototype of AccessibleAction_doAction to return a
5586 Changed prototype of AccessibleTable_getCaption to
5587 return an Accessible.
5588 Changed prototype of AccessibleTable_getSelectedRows
5589 and AccessibleTable_getSelectedColumns to
5590 return a long (returns the number of selected rows
5591 or columns respectively).
5592 Changed name of AccessibleText_refRunAttributes to
5593 AccessibleText_getAttributes.
5594 Changed prototype of AccessibleText_getCharacterExtents to
5595 return a void rather than a boolean.
5596 Added support for a AccessibleCoordType parameter
5597 specifying what type of coordinates are desired.
5598 Added an AccessibleCordType parameter to
5599 AccessibleText_getPointAtOffset.
5601 * cspi/spi_accessible.c:
5602 Added code to return the outstanding interfaces from
5603 Accessible_queryInterface.
5605 * cspi/spi_action.c:
5607 Corrected call to getNActions to call the c binding
5610 * cspi/spi_editabletext.c:
5612 Changed name from setRunAttributes to setAttributes.
5614 * cspi/spi_hyperlink.c:
5616 Changed call to getNAnchors to correctly call the c
5617 binding for an attribute.
5619 * cspi/spi_hypertext.c:
5621 Changed getImageDescription to correctly call the
5622 binding for an attribute.
5624 * cspi/spi_selection.c:
5625 Changed getNSelectedChildren to correctly call the c
5626 binding for the attribute.
5627 Changed refSelectedChild to getSelectedChild.
5631 Changed getCaption to return an Accessible.
5632 Fixed calls which retrieve attributes.
5633 Changed refAt to getAccessibleAt.
5634 Changed getNSelectedRows and getNSelectedColumns to
5638 Changed getCharacterExtents and getPointAtOffset to accept an
5639 AccessibleCoordType.
5641 Changed calls which retrieve attributes.
5642 Changed refRunAttributes to getAttributes.
5647 * idl/Hyperlink.idl:
5648 Changed n_anchors attribute to nAnchors to keep naming
5649 convention consistent.
5652 Made Table inherit from Bonobo::Unknown.
5653 Added nSelectedColumns and nSelectedRows attributes.
5656 Made Value inherit from Bonobo::Unknown.
5658 * libspi/hyperlink.c:
5659 Change for nAnchors attributte name change.
5661 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5669 Added interface implementation c files to list of
5670 includes so they are included in libcspi.
5673 Changed prototype of AccessibleAction_doAction to return a
5675 Changed prototype of AccessibleTable_getCaption to
5676 return an Accessible.
5677 Changed prototype of AccessibleTable_getSelectedRows
5678 and AccessibleTable_getSelectedColumns to
5679 return a long (returns the number of selected rows
5680 or columns respectively).
5681 Changed name of AccessibleText_refRunAttributes to
5682 AccessibleText_getAttributes.
5683 Changed prototype of AccessibleText_getCharacterExtents to
5684 return a void rather than a boolean.
5685 Added support for a AccessibleCoordType parameter
5686 specifying what type of coordinates are desired.
5687 Added an AccessibleCordType parameter to
5688 AccessibleText_getPointAtOffset.
5690 * cspi/spi_accessible.c:
5691 Added code to return the outstanding interfaces from
5692 Accessible_queryInterface.
5694 * cspi/spi_action.c:
5696 Corrected call to getNActions to call the c binding
5699 * cspi/spi_editabletext.c:
5701 Changed name from setRunAttributes to setAttributes.
5703 * cspi/spi_hyperlink.c:
5705 Changed call to getNAnchors to correctly call the c
5706 binding for an attribute.
5708 * cspi/spi_hypertext.c:
5710 Changed getImageDescription to correctly call the
5711 binding for an attribute.
5713 * cspi/spi_selection.c:
5714 Changed getNSelectedChildren to correctly call the c
5715 binding for the attribute.
5716 Changed refSelectedChild to getSelectedChild.
5720 Changed getCaption to return an Accessible.
5721 Fixed calls which retrieve attributes.
5722 Changed refAt to getAccessibleAt.
5723 Changed getNSelectedRows and getNSelectedColumns to
5727 Changed getCharacterExtents and getPointAtOffset to accept an
5728 AccessibleCoordType.
5730 Changed calls which retrieve attributes.
5731 Changed refRunAttributes to getAttributes.
5736 * idl/Hyperlink.idl:
5737 Changed n_anchors attribute to nAnchors to keep naming
5738 convention consistent.
5741 Made Table inherit from Bonobo::Unknown.
5742 Added nSelectedColumns and nSelectedRows attributes.
5745 Made Value inherit from Bonobo::Unknown.
5747 * libspi/hyperlink.c:
5748 Change for nAnchors attributte name change.
5751 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5753 implementations-- made server implementations own AtkObject pointers
5754 rather than their respective AtkInterrface pointers to fix
5755 refcounting. AtkHyperlink is still broken.
5757 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5758 * cspi/spi_accessible.c:
5759 Added method Accessible_Role_getName(),
5760 and requisite string array (role_names).
5761 Added conversion string_from_corba_strin() call
5762 to Accessible_getName and _getDescription.
5763 * libspi/accessible.c:
5764 Added implementation for Accessible_getRole()
5766 Added festival support, used if environment variable
5769 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5771 * at-bridge/bridge.c:
5772 Now allocate Accessibility_Event using
5773 Accessibility_Event__alloc() instead of g_new0().
5774 * libspi/accessibleeventlistener.c:
5775 Initialize AccessibleEventListener->callbacks to NULL.
5776 Fixed accessible__event_listener_init() param, changed to
5777 "AccessibleEventListener *" type.
5778 Changed a bonobo_object_release_unref() call to
5779 Accessibility_Accessible_unref().
5780 * libspi/listener.c:
5781 Changed Bonobo_Unknown_unref to (equivalent)
5782 Accessibility_Accessible_unref.
5783 * libspi/registry.c:
5784 Changed bonobo_object_release_unref to
5785 Accessibility_Accessible_unref.
5787 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5790 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5791 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5792 spi-util.c spi-util.h
5793 Implementations for C bindings to remaining accessibility
5796 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5799 changed return value of Action from void to boolean to
5800 bring in line with ATK.
5803 Changed getText funcions to return "out" start and end offsets.
5804 Changed getAttributes to take and offset and return the start
5805 and end offset of the attribute run.
5806 Changed getOffsetAtPoint and getCharacterExtents to take an
5807 enum describing whether coordinates are window or screen.
5810 libspi/action.c libspi/action.h libspi/editabletext.c
5811 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5812 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5813 libspi/image.h libspi/selection.c libspi/selection.h
5814 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5815 libspi/value.c libspi/value.h
5816 Added server implementations for outstanding ATK interfaces
5817 not yet implemented.
5819 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5822 Added (missing) getName() method.
5823 Made nActions an attribute.
5824 * idl/EditableText.idl:
5825 Changed order of params in setAttributes.
5826 * idl/Hyperlink.idl:
5827 Removed getAnchor, added getURI.
5829 Changed attributes to methods, for efficiency
5830 (so that getting extents can be done in one call)
5831 * idl/Selection.idl:
5832 Changed nSelectedChildren to attribute, and re-indented.
5833 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5835 * idl/Text.idl: reformatted to match our coding style.
5836 (temporarily?) removed getRowColumnAtOffset().
5837 Changed text selection API to support multi-select and
5838 non-contiguous selections, as in ATK.
5839 * idl/Value.idl: changed some methods to attributes.
5841 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5843 * libspi/listener.c(impl_notify_event):
5844 BonoboUnkown_unref the source instead
5845 of bonobo_object_release_unref - the ORB
5846 handles the releasing.
5848 * configure.in: require ORBit-2.3.94 for
5851 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5853 Tagged CVS repository 'EA_1_0'.
5854 * README.EARLY_ACCESS:
5855 Alphabetized acknowledgements list, and
5857 Listed some known dependencies of at-spi.
5859 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5861 * docs/at-spi-docs.sgml:
5862 * docs/at-spi-sections.txt:
5863 * docs/at-spi-overrides.txt: (Added zero-length file)
5864 Documentation improvements - gtk-doc should build
5865 docs for all implemented C bindings now.
5868 * cspi/spi.c: (New file)
5869 * cspi/spi_event.c: (New file)
5870 * cspi/spi_registry.c: (New file)
5871 * cspi/spi_accessible.c: (New file)
5872 * cspi/spi_application.c: (New file)
5873 * cspi/spi_component.c: (New file)
5874 Split spi_main.c into six parts, and included them from
5875 "spi.c". This is a bit of a hack, probably temporary,
5876 but required by gtk-doc, apparently.
5878 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5881 * docs/at-spi-docs.sgml:
5882 * docs/at-spi-sections.txt:
5884 Initial checkins/modifications for gtk-doc generation.
5887 Added (missing) interface query methods to Accessible's C binding.
5889 Added GenericInterface type definition.
5891 Added query for AccessibleComponent interface to focus event handler.
5892 Added printout of bounding box for focussed component.
5893 * libspi/component.c:
5894 Added partial implementation for AccessibleComponent to C binding.
5895 * idl/Application.idl:
5896 * libspi/registry.c:
5897 * libspi/listener.c:
5898 * libspi/application.c:
5899 * libspi/application.h:
5900 Changed "ID" attribute type from string to long.
5902 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5906 Made method naming consistent: methods taking object args
5907 start with uppercase, other methods (except those using
5908 acronyms) start with lowercase. Underscores delimit between
5909 object names and method names:
5910 SPI_init() - uppercase since it starts with an acronym.
5911 getDesktopCount () - lowercase start since no object param0.
5912 Accessible_getName() - uppercase object type name, studlyCaps method
5916 Added gtk-doc documentation for all currently implemented
5917 methods in the C bindings API.
5919 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5921 * Makefile.am : changed build order to build test last.
5924 Changed "createEventListener" to "CreateEventListener".
5925 * libspi/accessibleeventlistener.c :
5926 Bugfix for addition of callbacks.
5927 * test/Makefile.am :
5928 * test/simple-at.c :
5929 Added new test that uses the C bindings API.
5931 * libspi/listener.c :
5932 * libspi/registry.c :
5933 * libspi/accessibleeventlistener.c :
5934 * at-bridge/bridge.c :
5935 Renamed member "target" of Accessibility_Event to "source",
5936 which is more descriptive.
5939 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5943 * cspi/Makefile.am :
5944 Added makefile support for at-spi/cspi directory.
5947 * cspi/spi-listener.h : (NEW FILE)
5948 Added support for/use of spi-listener.h.
5950 C bindings now build successfully, with no warnings.
5951 * libspi/accessibleeventlistener.h : (NEW FILE)
5952 * libspi/accessibleeventlistener.c : (NEW FILE)
5953 * libspi/Makefile.am :
5954 Added new object type "AccessibleEventListener"
5955 which inherits from Listener, and allows attachment
5956 of in-process callbacks (so that a client with a listening
5957 object instance can add functionality to the local
5958 implementation, dynamically).
5960 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5962 * libspi/accessible.c:
5963 Add implementation for get_index_in_parent().
5965 Added #include of "spi-roletypes.h", and
5966 added enumerated type AccessibleCoordType.
5967 Added definition for KeystrokeListener (function type).
5970 * cspi/spi-statetypes.h :
5971 * cspi/spi-roletypes.h :
5973 Added these headers, used by spi.h.
5975 Added code (NOTE: not yet built by make).
5977 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5979 * libspi/Makefile.am: generate imodule
5980 at the same time as other idl compiler
5983 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5984 * libspi/registry.c :
5985 * libspi/application.c :
5986 * idl/Application.idl :
5987 Made registration with toolkit an application method,
5988 which is required since each app has its own toolkit static
5989 environment. Thus the bridge must register for
5990 notification of toolkit events from each application in turn.
5991 Toolkit notifications are now successfully registered for, and
5992 sent to the listening at client.
5994 Changed toolkit event string to use hyphens rather than underscores.
5995 * libspi/listener.c :
5996 listner now gives more info in debug mode - it reports the
5997 name of the event received, as well as the name of the source.
6000 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6002 * libspi/registry.c :
6003 added more implementation for toolkit events.
6004 Fixed bug such that toolkit event registrations
6005 (via atk) use the whole event name string, not
6007 Removed a useless call to an ORBit_ method.
6008 * at-bridge/bridge.c :
6009 Removed unused local sbuf[] variable.
6011 We now register for Gtk:GtkWidget:button_press_event
6012 events as well as "focus:" events.
6014 Add some more API from Registry.idl that was missing,
6015 for keystroke listening, keystroke and mouse event
6016 synthesis, and enumeration of accessible desktops.
6018 2001-08-16 Michael Meeks <michael@ximian.com>
6020 * configure.in: use AM_GLIB_GNU_GETTEXT.
6022 * Makefile.am (SUBDIRS): kill intl.
6024 2001-08-15 Michael Meeks <michael@ximian.com>
6026 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6028 * configure.in: upd.
6030 * configure.in: depend on a recent bonobo-activation that
6031 will find our server files ...
6033 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6035 * libspi/accessible.c : accessible_new() :
6036 Now we add the Component interface via bonobo_object_add_interface,
6037 if the contained AtkObject implements AtkComponent.
6038 * libspi/accessible.h : now include "component.h"
6039 * libspi/component.h :
6040 * libspi/component.c : added files - implementation of
6041 bonobo wrapper object for Accessibility/Component
6042 * libspi/listener.c :
6043 Added test code to check for Accessibility/Component:1.0
6044 interface and report whether it is implemented by the
6046 * libspi/registry.c :
6047 Now we check for not only the hash of the whole event
6048 string before relaying the event, we also check the
6049 "minor" event string (without the detail string).
6050 This allows event listeners to be registered against
6051 all events of a certain major+minor type, or just
6052 against a specific major+minor+detail type.
6053 * libspi/accessible.c :
6054 Added implementations for Accessible:get_parent(),
6055 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6056 * libspi/registry.c :
6057 * libspi/listener.c :
6058 Replaced calls to Accessibility_Accessible_ref() and
6059 Accessibility_Accessible_unref() with
6060 calls to bonobo_object_dup_ref() and
6061 bonobo_object_release_unref(), so that the CORBA object
6062 is dup-ed and released when relayed, as well as the bonobo object.
6064 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6066 * libspi/Makefile.am,
6067 registryd/Makefile.am,
6068 at-bridge/Makefile.am.
6069 test/Makefile.am, configure.in:
6070 reverse previous changes.
6072 * /idl/Image.idl: fix typo.
6074 * test/Makefile.am: put DEBUG_FLAGS
6077 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6079 * test/app.c: use argv[0] instead of
6082 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6084 * libspi/Makefile.am,
6085 registryd/Makefile.am,
6086 at-bridge/Makefile.am.
6087 test/Makefile.am, configure.in:
6088 cleanup, replace individual LIBS/CFLAGS with
6089 AT_COMMON_{LIBS|CFLAGS}.
6093 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6095 * configure.in, libspi/Makefile.am:
6096 Change IDL path checking for bonobo-activation
6099 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6101 * registryd/registry.c : separated event listeners to use
6102 3 separate lists (focus, window, toolkit). Began testing
6103 event names against hashes before relaying events.
6104 * test/at.c : now register for events of type "focus:"
6105 * test/app.c : now generate events of type "focus:"
6106 * at-bridge/bridge.c : register with ATK for focus events,
6107 and we now relay those focus events to any "focus:" listeners.
6108 This now works with the bridge as a GTK_MODULE when running test/at.
6109 * libspi/registry.c :
6110 * libspi/listener.c :
6111 now we ref event sources before propagating, and unref on receipt.
6112 * libspi/registry.c :
6113 some changes to internal structs, to support event typestring hashes.
6114 * text/app.c : changed the way the appname is generated.
6115 * cspi : added directory that will hold the C bindings library for
6116 non-CORBA/bonobo-savvy clients.
6117 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6118 * idl/Component.idl : added in parameter to indicate coord system for
6119 geometry-related calls.
6120 * idl/Hyperlink.idl : added readonly n_links attribute
6121 * idl/Image.idl : changed methods to attributes.
6123 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6125 * at-bridge/Makefile.am: link against
6126 ../libspi/libspi.la instead of -lspi.
6128 * at-spi/test/app.c: include
6129 bonobo-activation.h. Use a default appname
6130 if one is not provided.
6132 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6134 * idl/Registry.idl : temporarily changed register_Application
6135 to oneway, to work around issue with initial registration
6137 * idl/Application.idl : changed attribute "id" from readonly
6138 to read-write, since it needs to be assigned by Registry.
6139 * registryd/registryd.c : added call to set application id
6141 * registryd/registry.c : changed de-registration procedure to
6142 use CORBA_Object_hash() to find matching object ref in application
6143 lists and listener lists.
6144 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6145 began distinguishing between event types (work in progress).
6147 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6150 * libspi/application.c:
6151 Added implementations for get/set id, get_toolkitName,
6153 * registryd/registryd.c :
6157 Converted from use of OAF to bonobo-activation.
6158 * libspi/desktop.h :
6159 * libspi/desktop.c :
6161 Removed references to atksimpleobject, since base atkobject
6162 implementation now provides functionality we need.
6163 * libspi/atksimpleobject.c :
6164 * libspi/atksimpleobject.h :
6169 * at-bridge/Makefile.am
6170 * at-bridge/bridge.c
6173 Added directory "bridge" and contents, and added dependencies
6174 in Makefile.am/configure.in.
6175 Initial checkin of "at-bridge".
6176 This code is a GTK_MODULE which automatically registers
6177 GTK+ apps with the accessibility registry, using an object
6178 reference to the root ATK object.
6180 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6182 * po/Makefile.in.in: Remove. Again. If this
6183 doesn't get autogenerated - you need to update
6186 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6188 * po/Makefile.in.in: Add. Again.
6190 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6192 * libspi/accessible.c : added support for 'description' property.
6193 * libspi/accessible.c
6195 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6196 (since the two are now equivalent in libbonobo)
6204 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6205 Bonobo::Unknown as does Accessibility::Accessible.
6206 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6207 interface with Bonobo::Stream, since it was redundant with it.
6208 (The Stream returned by a StreamableContext object is expected to
6209 implement only a subset of Bonobo::Stream)
6211 2001-07-28 Anders Carlsson <andersca@gnome.org>
6213 * libspi/accessible.c (accessible_object_finalize): Change
6214 g_free to g_object_unref since the AtkObject is a GObject.
6216 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6218 * idl/Accessibility.idl: add new IDL files
6221 * idl/Action.idl: Definitions of actionable UI object
6222 * idl/Component.idl: Definitions of UI component geometry, etc.
6223 * idl/Hyperlink.idl: Defs of hyperlink behavior
6224 * idl/Image.idl: Def of accessible image
6225 * idl/Selection.idl: Definition of UI object with selectable children
6226 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6227 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6228 * idl/Text.idl: Interface defs for UI elements with complex textual content
6229 * idl/Value.idl: Definition of UI element that is a value controller or display
6231 2001-07-27 Michael Meeks <michael@ximian.com>
6233 * po/Makefile.in.in: remove autogenerated file from CVS.
6235 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6238 * idl/Registry.idl: include guard.
6240 * idl/Accessibility.idl: Add, and include all the other IDL
6243 * idl/*.idl: remove mass of pragmas etc.
6245 2001-07-26 Michael Meeks <michael@ximian.com>
6247 * registryd/Makefile.am (registryd_SOURCES): remove
6250 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6252 * libspi/.cvsignore, registryd/.cvsignore,
6253 test/.cvsignore: updated.
6255 * po/Makefile.in.in: gettext update.
6257 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6259 * initial CVS checkin
6261 2001-06-29 Michael Meeks <michael@ximian.com>
6263 * configure.in: add AM_CONFIG_HEADER to gen config.h